code stringlengths 1 1.72M | language stringclasses 1 value |
|---|---|
"""
Forms and validation code for user registration.
"""
from django.contrib.auth.models import User
from django import forms
from django.utils.translation import ugettext_lazy as _
from registration.models import RegistrationProfile
# I put this on all required fields, because it's easier to pick up
# on them with CSS or JavaScript if they have a class of "required"
# in the HTML. Your mileage may vary. If/when Django ticket #3515
# lands in trunk, this will no longer be necessary.
attrs_dict = { 'class': 'required' }
class RegistrationForm(forms.Form):
"""
Form for registering a new user account.
Validates that the requested username is not already in use, and
requires the password to be entered twice to catch typos.
Subclasses should feel free to add any additional validation they
need, but should either preserve the base ``save()`` or implement
a ``save()`` method which returns a ``User``.
"""
username = forms.RegexField(regex=r'^\w+$',
max_length=30,
widget=forms.TextInput(attrs=attrs_dict),
label=_(u'username'))
email = forms.EmailField(widget=forms.TextInput(attrs=dict(attrs_dict,
maxlength=75)),
label=_(u'email address'))
password1 = forms.CharField(widget=forms.PasswordInput(attrs=attrs_dict, render_value=False),
label=_(u'password'))
password2 = forms.CharField(widget=forms.PasswordInput(attrs=attrs_dict, render_value=False),
label=_(u'password (again)'))
def clean_username(self):
"""
Validate that the username is alphanumeric and is not already
in use.
"""
user = User.get_by_key_name("key_"+self.cleaned_data['username'].lower())
if user:
raise forms.ValidationError(_(u'This username is already taken. Please choose another.'))
return self.cleaned_data['username']
def clean(self):
"""
Verifiy that the values entered into the two password fields
match. Note that an error here will end up in
``non_field_errors()`` because it doesn't apply to a single
field.
"""
if 'password1' in self.cleaned_data and 'password2' in self.cleaned_data:
if self.cleaned_data['password1'] != self.cleaned_data['password2']:
raise forms.ValidationError(_(u'You must type the same password each time'))
return self.cleaned_data
def save(self, domain_override=""):
"""
Create the new ``User`` and ``RegistrationProfile``, and
returns the ``User`` (by calling
``RegistrationProfile.objects.create_inactive_user()``).
"""
new_user = RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'],
password=self.cleaned_data['password1'],
email=self.cleaned_data['email'],
domain_override=domain_override,
)
return new_user
class RegistrationFormTermsOfService(RegistrationForm):
"""
Subclass of ``RegistrationForm`` which adds a required checkbox
for agreeing to a site's Terms of Service.
"""
tos = forms.BooleanField(widget=forms.CheckboxInput(attrs=attrs_dict),
label=_(u'I have read and agree to the Terms of Service'),
error_messages={ 'required': u"You must agree to the terms to register" })
class RegistrationFormUniqueEmail(RegistrationForm):
"""
Subclass of ``RegistrationForm`` which enforces uniqueness of
email addresses.
"""
def clean_email(self):
"""
Validate that the supplied email address is unique for the
site.
"""
email = self.cleaned_data['email'].lower()
if User.all().filter('email =', email).count(1):
raise forms.ValidationError(_(u'This email address is already in use. Please supply a different email address.'))
return email
class RegistrationFormNoFreeEmail(RegistrationForm):
"""
Subclass of ``RegistrationForm`` which disallows registration with
email addresses from popular free webmail services; moderately
useful for preventing automated spam registrations.
To change the list of banned domains, subclass this form and
override the attribute ``bad_domains``.
"""
bad_domains = ['aim.com', 'aol.com', 'email.com', 'gmail.com',
'googlemail.com', 'hotmail.com', 'hushmail.com',
'msn.com', 'mail.ru', 'mailinator.com', 'live.com']
def clean_email(self):
"""
Check the supplied email address against a list of known free
webmail domains.
"""
email_domain = self.cleaned_data['email'].split('@')[1]
if email_domain in self.bad_domains:
raise forms.ValidationError(_(u'Registration using free email addresses is prohibited. Please supply a different email address.'))
return self.cleaned_data['email']
| Python |
"""
Unit tests for django-registration.
These tests assume that you've completed all the prerequisites for
getting django-registration running in the default setup, to wit:
1. You have ``registration`` in your ``INSTALLED_APPS`` setting.
2. You have created all of the templates mentioned in this
application's documentation.
3. You have added the setting ``ACCOUNT_ACTIVATION_DAYS`` to your
settings file.
4. You have URL patterns pointing to the registration and activation
views, with the names ``registration_register`` and
``registration_activate``, respectively, and a URL pattern named
'registration_complete'.
"""
import datetime
import sha
from django.conf import settings
from django.contrib.auth.models import User
from django.core import mail
from django.core import management
from django.core.urlresolvers import reverse
from django.test import TestCase
from google.appengine.ext import db
from registration import forms
from registration.models import RegistrationProfile
from registration import signals
class RegistrationTestCase(TestCase):
"""
Base class for the test cases; this sets up two users -- one
expired, one not -- which are used to exercise various parts of
the application.
"""
def setUp(self):
self.sample_user = RegistrationProfile.objects.create_inactive_user(username='alice',
password='secret',
email='alice@example.com')
self.expired_user = RegistrationProfile.objects.create_inactive_user(username='bob',
password='swordfish',
email='bob@example.com')
self.expired_user.date_joined -= datetime.timedelta(days=settings.ACCOUNT_ACTIVATION_DAYS + 1)
self.expired_user.save()
class RegistrationModelTests(RegistrationTestCase):
"""
Tests for the model-oriented functionality of django-registration,
including ``RegistrationProfile`` and its custom manager.
"""
def test_new_user_is_inactive(self):
"""
Test that a newly-created user is inactive.
"""
self.failIf(self.sample_user.is_active)
def test_registration_profile_created(self):
"""
Test that a ``RegistrationProfile`` is created for a new user.
"""
self.assertEqual(RegistrationProfile.all().count(), 2)
def test_activation_email(self):
"""
Test that user signup sends an activation email.
"""
self.assertEqual(len(mail.outbox), 2)
def test_activation_email_disable(self):
"""
Test that activation email can be disabled.
"""
RegistrationProfile.objects.create_inactive_user(username='noemail',
password='foo',
email='nobody@example.com',
send_email=False)
self.assertEqual(len(mail.outbox), 2)
def test_activation(self):
"""
Test that user activation actually activates the user and
properly resets the activation key, and fails for an
already-active or expired user, or an invalid key.
"""
# Activating a valid user returns the user.
self.failUnlessEqual(RegistrationProfile.objects.activate_user(RegistrationProfile.all().filter('user =', self.sample_user).get().activation_key).key(),
self.sample_user.key())
# The activated user must now be active.
self.failUnless(User.get(self.sample_user.key()).is_active)
# The activation key must now be reset to the "already activated" constant.
self.failUnlessEqual(RegistrationProfile.all().filter('user =', self.sample_user).get().activation_key,
RegistrationProfile.ACTIVATED)
# Activating an expired user returns False.
self.failIf(RegistrationProfile.objects.activate_user(RegistrationProfile.all().filter('user =', self.expired_user).get().activation_key))
# Activating from a key that isn't a SHA1 hash returns False.
self.failIf(RegistrationProfile.objects.activate_user('foo'))
# Activating from a key that doesn't exist returns False.
self.failIf(RegistrationProfile.objects.activate_user(sha.new('foo').hexdigest()))
def test_account_expiration_condition(self):
"""
Test that ``RegistrationProfile.activation_key_expired()``
returns ``True`` for expired users and for active users, and
``False`` otherwise.
"""
# Unexpired user returns False.
self.failIf(RegistrationProfile.all().filter('user =', self.sample_user).get().activation_key_expired())
# Expired user returns True.
self.failUnless(RegistrationProfile.all().filter('user =', self.expired_user).get().activation_key_expired())
# Activated user returns True.
RegistrationProfile.objects.activate_user(RegistrationProfile.all().filter('user =', self.sample_user).get().activation_key)
self.failUnless(RegistrationProfile.all().filter('user =', self.sample_user).get().activation_key_expired())
def test_expired_user_deletion(self):
"""
Test that
``RegistrationProfile.objects.delete_expired_users()`` deletes
only inactive users whose activation window has expired.
"""
RegistrationProfile.objects.delete_expired_users()
self.assertEqual(RegistrationProfile.all().count(), 1)
def test_management_command(self):
"""
Test that ``manage.py cleanupregistration`` functions
correctly.
"""
management.call_command('cleanupregistration')
self.assertEqual(RegistrationProfile.all().count(), 1)
def test_signals(self):
"""
Test that the ``user_registered`` and ``user_activated``
signals are sent, and that they send the ``User`` as an
argument.
"""
def receiver(sender, **kwargs):
self.assert_('user' in kwargs)
self.assertEqual(kwargs['user'].username, u'signal_test')
received_signals.append(kwargs.get('signal'))
received_signals = []
expected_signals = [signals.user_registered, signals.user_activated]
for signal in expected_signals:
signal.connect(receiver)
RegistrationProfile.objects.create_inactive_user(username='signal_test',
password='foo',
email='nobody@example.com',
send_email=False)
RegistrationProfile.objects.activate_user(RegistrationProfile.all().filter('user =', db.Key.from_path(User.kind(), 'key_signal_test')).get().activation_key)
self.assertEqual(received_signals, expected_signals)
class RegistrationFormTests(RegistrationTestCase):
"""
Tests for the forms and custom validation logic included in
django-registration.
"""
def test_registration_form(self):
"""
Test that ``RegistrationForm`` enforces username constraints
and matching passwords.
"""
invalid_data_dicts = [
# Non-alphanumeric username.
{
'data':
{ 'username': 'foo/bar',
'email': 'foo@example.com',
'password1': 'foo',
'password2': 'foo' },
'error':
('username', [u"Enter a valid value."])
},
# Already-existing username.
{
'data':
{ 'username': 'alice',
'email': 'alice@example.com',
'password1': 'secret',
'password2': 'secret' },
'error':
('username', [u"This username is already taken. Please choose another."])
},
# Mismatched passwords.
{
'data':
{ 'username': 'foo',
'email': 'foo@example.com',
'password1': 'foo',
'password2': 'bar' },
'error':
('__all__', [u"You must type the same password each time"])
},
]
for invalid_dict in invalid_data_dicts:
form = forms.RegistrationForm(data=invalid_dict['data'])
self.failIf(form.is_valid())
self.assertEqual(form.errors[invalid_dict['error'][0]], invalid_dict['error'][1])
form = forms.RegistrationForm(data={ 'username': 'foo',
'email': 'foo@example.com',
'password1': 'foo',
'password2': 'foo' })
self.failUnless(form.is_valid())
def test_registration_form_tos(self):
"""
Test that ``RegistrationFormTermsOfService`` requires
agreement to the terms of service.
"""
form = forms.RegistrationFormTermsOfService(data={ 'username': 'foo',
'email': 'foo@example.com',
'password1': 'foo',
'password2': 'foo' })
self.failIf(form.is_valid())
self.assertEqual(form.errors['tos'], [u"You must agree to the terms to register"])
form = forms.RegistrationFormTermsOfService(data={ 'username': 'foo',
'email': 'foo@example.com',
'password1': 'foo',
'password2': 'foo',
'tos': 'on' })
self.failUnless(form.is_valid())
def test_registration_form_unique_email(self):
"""
Test that ``RegistrationFormUniqueEmail`` validates uniqueness
of email addresses.
"""
form = forms.RegistrationFormUniqueEmail(data={ 'username': 'foo',
'email': 'alice@example.com',
'password1': 'foo',
'password2': 'foo' })
self.failIf(form.is_valid())
self.assertEqual(form.errors['email'], [u"This email address is already in use. Please supply a different email address."])
form = forms.RegistrationFormUniqueEmail(data={ 'username': 'foo',
'email': 'foo@example.com',
'password1': 'foo',
'password2': 'foo' })
self.failUnless(form.is_valid())
def test_registration_form_no_free_email(self):
"""
Test that ``RegistrationFormNoFreeEmail`` disallows
registration with free email addresses.
"""
base_data = { 'username': 'foo',
'password1': 'foo',
'password2': 'foo' }
for domain in ('aim.com', 'aol.com', 'email.com', 'gmail.com',
'googlemail.com', 'hotmail.com', 'hushmail.com',
'msn.com', 'mail.ru', 'mailinator.com', 'live.com'):
invalid_data = base_data.copy()
invalid_data['email'] = u"foo@%s" % domain
form = forms.RegistrationFormNoFreeEmail(data=invalid_data)
self.failIf(form.is_valid())
self.assertEqual(form.errors['email'], [u"Registration using free email addresses is prohibited. Please supply a different email address."])
base_data['email'] = 'foo@example.com'
form = forms.RegistrationFormNoFreeEmail(data=base_data)
self.failUnless(form.is_valid())
class RegistrationViewTests(RegistrationTestCase):
"""
Tests for the views included in django-registration.
"""
def test_registration_view(self):
"""
Test that the registration view rejects invalid submissions,
and creates a new user and redirects after a valid submission.
"""
# Invalid data fails.
alice = User.all().filter('username =', 'alice').get()
alice.is_active = True
alice.put()
response = self.client.post(reverse('registration_register'),
data={ 'username': 'alice', # Will fail on username uniqueness.
'email': 'foo@example.com',
'password1': 'foo',
'password2': 'foo' })
self.assertEqual(response.status_code, 200)
self.failUnless(response.context[0]['form'])
self.failUnless(response.context[0]['form'].errors)
response = self.client.post(reverse('registration_register'),
data={ 'username': 'foo',
'email': 'foo@example.com',
'password1': 'foo',
'password2': 'foo' })
self.assertEqual(response.status_code, 302)
self.assertEqual(response['Location'], 'http://testserver%s' % reverse('registration_complete'))
self.assertEqual(RegistrationProfile.all().count(), 3)
def test_activation_view(self):
"""
Test that the activation view activates the user from a valid
key and fails if the key is invalid or has expired.
"""
# Valid user puts the user account into the context.
response = self.client.get(reverse('registration_activate',
kwargs={ 'activation_key': RegistrationProfile.all().filter('user =', self.sample_user).get().activation_key }))
self.assertEqual(response.status_code, 200)
self.assertEqual(response.context[0]['account'].key(), self.sample_user.key())
# Expired user sets the account to False.
response = self.client.get(reverse('registration_activate',
kwargs={ 'activation_key': RegistrationProfile.all().filter('user =', self.expired_user).get().activation_key }))
self.failIf(response.context[0]['account'])
# Invalid key gets to the view, but sets account to False.
response = self.client.get(reverse('registration_activate',
kwargs={ 'activation_key': 'foo' }))
self.failIf(response.context[0]['account'])
# Nonexistent key sets the account to False.
response = self.client.get(reverse('registration_activate',
kwargs={ 'activation_key': sha.new('foo').hexdigest() }))
self.failIf(response.context[0]['account'])
| Python |
"""
URLConf for Django user registration and authentication.
If the default behavior of the registration views is acceptable to
you, simply use a line like this in your root URLConf to set up the
default URLs for registration::
(r'^accounts/', include('registration.urls')),
This will also automatically set up the views in
``django.contrib.auth`` at sensible default locations.
But if you'd like to customize the behavior (e.g., by passing extra
arguments to the various views) or split up the URLs, feel free to set
up your own URL patterns for these views instead. If you do, it's a
good idea to use the names ``registration_activate``,
``registration_complete`` and ``registration_register`` for the
various steps of the user-signup process.
"""
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from django.contrib.auth import views as auth_views
from registration.views import *
urlpatterns = patterns('',
# Activation keys get matched by \w+ instead of the more specific
# [a-fA-F0-9]{40} because a bad activation key should still get to the view;
# that way it can return a sensible "invalid key" message instead of a
# confusing 404.
url(r'^activate/(?P<activation_key>\w+)/$',
activate,
name='registration_activate'),
url(r'^login/$',
auth_views.login,
{'template_name': 'registration/login.html'},
name='auth_login'),
url(r'^logout/$',
auth_views.logout,
name='auth_logout'),
url(r'^password/change/$',
auth_views.password_change,
name='auth_password_change'),
url(r'^password/change/done/$',
auth_views.password_change_done,
name='auth_password_change_done'),
url(r'^password/reset/$',
auth_views.password_reset,
name='auth_password_reset'),
url(r'^password/reset/confirm/(?P<uidb36>.+)/(?P<token>.+)/$',
auth_views.password_reset_confirm,
name='auth_password_reset_confirm'),
url(r'^password/reset/complete/$',
auth_views.password_reset_complete,
name='auth_password_reset_complete'),
url(r'^password/reset/done/$',
auth_views.password_reset_done,
name='auth_password_reset_done'),
url(r'^register/$',
register,
name='registration_register'),
url(r'^register/complete/$',
direct_to_template,
{'template': 'registration/registration_complete.html'},
name='registration_complete'),
url(r'^config/$',
config,
name='config'),
url(r'^config/complete/$',
direct_to_template,
{'template': 'registration/config_complete.html'},
name='config_complete'),
)
| Python |
"""
A management command which deletes expired accounts (e.g.,
accounts which signed up but never activated) from the database.
Calls ``RegistrationProfile.objects.delete_expired_users()``, which
contains the actual logic for determining which accounts are deleted.
"""
from django.core.management.base import NoArgsCommand
from registration.models import RegistrationProfile
class Command(NoArgsCommand):
help = "Delete expired user registrations from the database"
def handle_noargs(self, **options):
RegistrationProfile.objects.delete_expired_users()
| Python |
"""
Views which allow users to create and activate accounts.
"""
from django.contrib.auth.decorators import login_required
from django.conf import settings
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response
from django.template import RequestContext
from django.views.generic.simple import direct_to_template
from registration.forms import RegistrationForm
from haco.models import *
from haco.forms import *
from registration.models import RegistrationProfile
from django.http import *
def activate(request, activation_key,
template_name='registration/activate.html',
extra_context=None):
"""
Activate a ``User``'s account from an activation key, if their key
is valid and hasn't expired.
By default, use the template ``registration/activate.html``; to
change this, pass the name of a template as the keyword argument
``template_name``.
**Required arguments**
``activation_key``
The activation key to validate and use for activating the
``User``.
**Optional arguments**
``extra_context``
A dictionary of variables to add to the template context. Any
callable object in this dictionary will be called to produce
the end result which appears in the context.
``template_name``
A custom template to use.
**Context:**
``account``
The ``User`` object corresponding to the account, if the
activation was successful. ``False`` if the activation was not
successful.
``expiration_days``
The number of days for which activation keys stay valid after
registration.
Any extra variables supplied in the ``extra_context`` argument
(see above).
**Template:**
registration/activate.html or ``template_name`` keyword argument.
"""
activation_key = activation_key.lower() # Normalize before trying anything with it.
account = RegistrationProfile.objects.activate_user(activation_key)
if extra_context is None:
extra_context = {}
context = RequestContext(request)
for key, value in extra_context.items():
context[key] = callable(value) and value() or value
return render_to_response(template_name,
{ 'account': account,
'expiration_days': settings.ACCOUNT_ACTIVATION_DAYS },
context_instance=context)
def register(request, success_url=None,
form_class=RegistrationForm,
template_name='registration/registration_form.html',
extra_context=None):
"""
Allow a new user to register an account.
Following successful registration, issue a redirect; by default,
this will be whatever URL corresponds to the named URL pattern
``registration_complete``, which will be
``/accounts/register/complete/`` if using the included URLConf. To
change this, point that named pattern at another URL, or pass your
preferred URL as the keyword argument ``success_url``.
By default, ``registration.forms.RegistrationForm`` will be used
as the registration form; to change this, pass a different form
class as the ``form_class`` keyword argument. The form class you
specify must have a method ``save`` which will create and return
the new ``User``.
By default, use the template
``registration/registration_form.html``; to change this, pass the
name of a template as the keyword argument ``template_name``.
**Required arguments**
None.
**Optional arguments**
``form_class``
The form class to use for registration.
``extra_context``
A dictionary of variables to add to the template context. Any
callable object in this dictionary will be called to produce
the end result which appears in the context.
``success_url``
The URL to redirect to on successful registration.
``template_name``
A custom template to use.
**Context:**
``form``
The registration form.
Any extra variables supplied in the ``extra_context`` argument
(see above).
**Template:**
registration/registration_form.html or ``template_name`` keyword
argument.
"""
if request.method == 'POST':
form = form_class(data=request.POST, files=request.FILES)
domain_override = request.get_host()
if form.is_valid():
new_user = form.save(domain_override)
# success_url needs to be dynamically generated here; setting a
# a default value using reverse() will cause circular-import
# problems with the default URLConf for this application, which
# imports this file.
return HttpResponseRedirect(success_url or reverse('registration_complete'))
else:
form = form_class()
if extra_context is None:
extra_context = {}
context = RequestContext(request)
for key, value in extra_context.items():
context[key] = callable(value) and value() or value
return render_to_response(template_name,
{ 'form': form },
context_instance=context)
@login_required
def config( request, success_url=None,
form_class=UserConfigForm,
template_name='config.html',
extra_context=None):
u_name = request.user.username
u_query =db.GqlQuery("SELECT * FROM auth_user Where username = :1",u_name )
for data in u_query:
key =data.key()
if request.method == 'POST':
form = form_class(data=request.POST, files=request.FILES)
if form.is_valid():
form.save(key)
return HttpResponseRedirect(success_url or reverse('config_complete'))
else:
form = form_class()
if extra_context is None:
extra_context = {}
context = RequestContext(request)
for key, value in extra_context.items():
context[key] = callable(value) and value() or value
return render_to_response(template_name,
{ 'form': form },
context_instance=context)
| Python |
from django.contrib import admin
from registration.models import RegistrationProfile
class RegistrationAdmin(admin.ModelAdmin):
list_display = ('__unicode__', 'activation_key_expired')
search_fields = ('user__username', 'user__first_name')
admin.site.register(RegistrationProfile, RegistrationAdmin)
| Python |
from django.dispatch import Signal
# A new user has registered.
user_registered = Signal(providing_args=["user"])
# A user has activated his or her account.
user_activated = Signal(providing_args=["user"])
| Python |
"""Implementation of JSONDecoder
"""
import re
import sys
import struct
from simplejson.scanner import make_scanner
try:
from simplejson._speedups import scanstring as c_scanstring
except ImportError:
c_scanstring = None
__all__ = ['JSONDecoder']
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
def _floatconstants():
_BYTES = '7FF80000000000007FF0000000000000'.decode('hex')
if sys.byteorder != 'big':
_BYTES = _BYTES[:8][::-1] + _BYTES[8:][::-1]
nan, inf = struct.unpack('dd', _BYTES)
return nan, inf, -inf
NaN, PosInf, NegInf = _floatconstants()
def linecol(doc, pos):
lineno = doc.count('\n', 0, pos) + 1
if lineno == 1:
colno = pos
else:
colno = pos - doc.rindex('\n', 0, pos)
return lineno, colno
def errmsg(msg, doc, pos, end=None):
# Note that this function is called from _speedups
lineno, colno = linecol(doc, pos)
if end is None:
return '%s: line %d column %d (char %d)' % (msg, lineno, colno, pos)
endlineno, endcolno = linecol(doc, end)
return '%s: line %d column %d - line %d column %d (char %d - %d)' % (
msg, lineno, colno, endlineno, endcolno, pos, end)
_CONSTANTS = {
'-Infinity': NegInf,
'Infinity': PosInf,
'NaN': NaN,
}
STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
BACKSLASH = {
'"': u'"', '\\': u'\\', '/': u'/',
'b': u'\b', 'f': u'\f', 'n': u'\n', 'r': u'\r', 't': u'\t',
}
DEFAULT_ENCODING = "utf-8"
def py_scanstring(s, end, encoding=None, strict=True, _b=BACKSLASH, _m=STRINGCHUNK.match):
"""Scan the string s for a JSON string. End is the index of the
character in s after the quote that started the JSON string.
Unescapes all valid JSON string escape sequences and raises ValueError
on attempt to decode an invalid string. If strict is False then literal
control characters are allowed in the string.
Returns a tuple of the decoded string and the index of the character in s
after the end quote."""
if encoding is None:
encoding = DEFAULT_ENCODING
chunks = []
_append = chunks.append
begin = end - 1
while 1:
chunk = _m(s, end)
if chunk is None:
raise ValueError(
errmsg("Unterminated string starting at", s, begin))
end = chunk.end()
content, terminator = chunk.groups()
# Content is contains zero or more unescaped string characters
if content:
if not isinstance(content, unicode):
content = unicode(content, encoding)
_append(content)
# Terminator is the end of string, a literal control character,
# or a backslash denoting that an escape sequence follows
if terminator == '"':
break
elif terminator != '\\':
if strict:
msg = "Invalid control character %r at" % (terminator,)
raise ValueError(msg, s, end)
else:
_append(terminator)
continue
try:
esc = s[end]
except IndexError:
raise ValueError(
errmsg("Unterminated string starting at", s, begin))
# If not a unicode escape sequence, must be in the lookup table
if esc != 'u':
try:
char = _b[esc]
except KeyError:
raise ValueError(
errmsg("Invalid \\escape: %r" % (esc,), s, end))
end += 1
else:
# Unicode escape sequence
esc = s[end + 1:end + 5]
next_end = end + 5
if len(esc) != 4:
msg = "Invalid \\uXXXX escape"
raise ValueError(errmsg(msg, s, end))
uni = int(esc, 16)
# Check for surrogate pair on UCS-4 systems
if 0xd800 <= uni <= 0xdbff and sys.maxunicode > 65535:
msg = "Invalid \\uXXXX\\uXXXX surrogate pair"
if not s[end + 5:end + 7] == '\\u':
raise ValueError(errmsg(msg, s, end))
esc2 = s[end + 7:end + 11]
if len(esc2) != 4:
raise ValueError(errmsg(msg, s, end))
uni2 = int(esc2, 16)
uni = 0x10000 + (((uni - 0xd800) << 10) | (uni2 - 0xdc00))
next_end += 6
char = unichr(uni)
end = next_end
# Append the unescaped character
_append(char)
return u''.join(chunks), end
# Use speedup if available
scanstring = c_scanstring or py_scanstring
WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
WHITESPACE_STR = ' \t\n\r'
def JSONObject((s, end), encoding, strict, scan_once, object_hook, _w=WHITESPACE.match, _ws=WHITESPACE_STR):
pairs = {}
# Use a slice to prevent IndexError from being raised, the following
# check will raise a more specific ValueError if the string is empty
nextchar = s[end:end + 1]
# Normally we expect nextchar == '"'
if nextchar != '"':
if nextchar in _ws:
end = _w(s, end).end()
nextchar = s[end:end + 1]
# Trivial empty object
if nextchar == '}':
return pairs, end + 1
elif nextchar != '"':
raise ValueError(errmsg("Expecting property name", s, end))
end += 1
while True:
key, end = scanstring(s, end, encoding, strict)
# To skip some function call overhead we optimize the fast paths where
# the JSON key separator is ": " or just ":".
if s[end:end + 1] != ':':
end = _w(s, end).end()
if s[end:end + 1] != ':':
raise ValueError(errmsg("Expecting : delimiter", s, end))
end += 1
try:
if s[end] in _ws:
end += 1
if s[end] in _ws:
end = _w(s, end + 1).end()
except IndexError:
pass
try:
value, end = scan_once(s, end)
except StopIteration:
raise ValueError(errmsg("Expecting object", s, end))
pairs[key] = value
try:
nextchar = s[end]
if nextchar in _ws:
end = _w(s, end + 1).end()
nextchar = s[end]
except IndexError:
nextchar = ''
end += 1
if nextchar == '}':
break
elif nextchar != ',':
raise ValueError(errmsg("Expecting , delimiter", s, end - 1))
try:
nextchar = s[end]
if nextchar in _ws:
end += 1
nextchar = s[end]
if nextchar in _ws:
end = _w(s, end + 1).end()
nextchar = s[end]
except IndexError:
nextchar = ''
end += 1
if nextchar != '"':
raise ValueError(errmsg("Expecting property name", s, end - 1))
if object_hook is not None:
pairs = object_hook(pairs)
return pairs, end
def JSONArray((s, end), scan_once, _w=WHITESPACE.match, _ws=WHITESPACE_STR):
values = []
nextchar = s[end:end + 1]
if nextchar in _ws:
end = _w(s, end + 1).end()
nextchar = s[end:end + 1]
# Look-ahead for trivial empty array
if nextchar == ']':
return values, end + 1
_append = values.append
while True:
try:
value, end = scan_once(s, end)
except StopIteration:
raise ValueError(errmsg("Expecting object", s, end))
_append(value)
nextchar = s[end:end + 1]
if nextchar in _ws:
end = _w(s, end + 1).end()
nextchar = s[end:end + 1]
end += 1
if nextchar == ']':
break
elif nextchar != ',':
raise ValueError(errmsg("Expecting , delimiter", s, end))
try:
if s[end] in _ws:
end += 1
if s[end] in _ws:
end = _w(s, end + 1).end()
except IndexError:
pass
return values, end
class JSONDecoder(object):
"""Simple JSON <http://json.org> decoder
Performs the following translations in decoding by default:
+---------------+-------------------+
| JSON | Python |
+===============+===================+
| object | dict |
+---------------+-------------------+
| array | list |
+---------------+-------------------+
| string | unicode |
+---------------+-------------------+
| number (int) | int, long |
+---------------+-------------------+
| number (real) | float |
+---------------+-------------------+
| true | True |
+---------------+-------------------+
| false | False |
+---------------+-------------------+
| null | None |
+---------------+-------------------+
It also understands ``NaN``, ``Infinity``, and ``-Infinity`` as
their corresponding ``float`` values, which is outside the JSON spec.
"""
def __init__(self, encoding=None, object_hook=None, parse_float=None,
parse_int=None, parse_constant=None, strict=True):
"""``encoding`` determines the encoding used to interpret any ``str``
objects decoded by this instance (utf-8 by default). It has no
effect when decoding ``unicode`` objects.
Note that currently only encodings that are a superset of ASCII work,
strings of other encodings should be passed in as ``unicode``.
``object_hook``, if specified, will be called with the result
of every JSON object decoded and its return value will be used in
place of the given ``dict``. This can be used to provide custom
deserializations (e.g. to support JSON-RPC class hinting).
``parse_float``, if specified, will be called with the string
of every JSON float to be decoded. By default this is equivalent to
float(num_str). This can be used to use another datatype or parser
for JSON floats (e.g. decimal.Decimal).
``parse_int``, if specified, will be called with the string
of every JSON int to be decoded. By default this is equivalent to
int(num_str). This can be used to use another datatype or parser
for JSON integers (e.g. float).
``parse_constant``, if specified, will be called with one of the
following strings: -Infinity, Infinity, NaN.
This can be used to raise an exception if invalid JSON numbers
are encountered.
"""
self.encoding = encoding
self.object_hook = object_hook
self.parse_float = parse_float or float
self.parse_int = parse_int or int
self.parse_constant = parse_constant or _CONSTANTS.__getitem__
self.strict = strict
self.parse_object = JSONObject
self.parse_array = JSONArray
self.parse_string = scanstring
self.scan_once = make_scanner(self)
def decode(self, s, _w=WHITESPACE.match):
"""Return the Python representation of ``s`` (a ``str`` or ``unicode``
instance containing a JSON document)
"""
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
end = _w(s, end).end()
if end != len(s):
raise ValueError(errmsg("Extra data", s, end, len(s)))
return obj
def raw_decode(self, s, idx=0):
"""Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning
with a JSON document) and return a 2-tuple of the Python
representation and the index in ``s`` where the document ended.
This can be used to decode a JSON document from a string that may
have extraneous data at the end.
"""
try:
obj, end = self.scan_once(s, idx)
except StopIteration:
raise ValueError("No JSON object could be decoded")
return obj, end
| Python |
"""JSON token scanner
"""
import re
try:
from simplejson._speedups import make_scanner as c_make_scanner
except ImportError:
c_make_scanner = None
__all__ = ['make_scanner']
NUMBER_RE = re.compile(
r'(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?',
(re.VERBOSE | re.MULTILINE | re.DOTALL))
def py_make_scanner(context):
parse_object = context.parse_object
parse_array = context.parse_array
parse_string = context.parse_string
match_number = NUMBER_RE.match
encoding = context.encoding
strict = context.strict
parse_float = context.parse_float
parse_int = context.parse_int
parse_constant = context.parse_constant
object_hook = context.object_hook
def _scan_once(string, idx):
try:
nextchar = string[idx]
except IndexError:
raise StopIteration
if nextchar == '"':
return parse_string(string, idx + 1, encoding, strict)
elif nextchar == '{':
return parse_object((string, idx + 1), encoding, strict, _scan_once, object_hook)
elif nextchar == '[':
return parse_array((string, idx + 1), _scan_once)
elif nextchar == 'n' and string[idx:idx + 4] == 'null':
return None, idx + 4
elif nextchar == 't' and string[idx:idx + 4] == 'true':
return True, idx + 4
elif nextchar == 'f' and string[idx:idx + 5] == 'false':
return False, idx + 5
m = match_number(string, idx)
if m is not None:
integer, frac, exp = m.groups()
if frac or exp:
res = parse_float(integer + (frac or '') + (exp or ''))
else:
res = parse_int(integer)
return res, m.end()
elif nextchar == 'N' and string[idx:idx + 3] == 'NaN':
return parse_constant('NaN'), idx + 3
elif nextchar == 'I' and string[idx:idx + 8] == 'Infinity':
return parse_constant('Infinity'), idx + 8
elif nextchar == '-' and string[idx:idx + 9] == '-Infinity':
return parse_constant('-Infinity'), idx + 9
else:
raise StopIteration
return _scan_once
make_scanner = c_make_scanner or py_make_scanner
| Python |
"""Implementation of JSONEncoder
"""
import re
try:
from simplejson._speedups import encode_basestring_ascii as c_encode_basestring_ascii
except ImportError:
c_encode_basestring_ascii = None
try:
from simplejson._speedups import make_encoder as c_make_encoder
except ImportError:
c_make_encoder = None
ESCAPE = re.compile(r'[\x00-\x1f\\"\b\f\n\r\t]')
ESCAPE_ASCII = re.compile(r'([\\"]|[^\ -~])')
HAS_UTF8 = re.compile(r'[\x80-\xff]')
ESCAPE_DCT = {
'\\': '\\\\',
'"': '\\"',
'\b': '\\b',
'\f': '\\f',
'\n': '\\n',
'\r': '\\r',
'\t': '\\t',
}
for i in range(0x20):
ESCAPE_DCT.setdefault(chr(i), '\\u%04x' % (i,))
# Assume this produces an infinity on all machines (probably not guaranteed)
INFINITY = float('1e66666')
FLOAT_REPR = repr
def encode_basestring(s):
"""Return a JSON representation of a Python string
"""
def replace(match):
return ESCAPE_DCT[match.group(0)]
return '"' + ESCAPE.sub(replace, s) + '"'
def py_encode_basestring_ascii(s):
"""Return an ASCII-only JSON representation of a Python string
"""
if isinstance(s, str) and HAS_UTF8.search(s) is not None:
s = s.decode('utf-8')
def replace(match):
s = match.group(0)
try:
return ESCAPE_DCT[s]
except KeyError:
n = ord(s)
if n < 0x10000:
return '\\u%04x' % (n,)
else:
# surrogate pair
n -= 0x10000
s1 = 0xd800 | ((n >> 10) & 0x3ff)
s2 = 0xdc00 | (n & 0x3ff)
return '\\u%04x\\u%04x' % (s1, s2)
return '"' + str(ESCAPE_ASCII.sub(replace, s)) + '"'
encode_basestring_ascii = c_encode_basestring_ascii or py_encode_basestring_ascii
class JSONEncoder(object):
"""Extensible JSON <http://json.org> encoder for Python data structures.
Supports the following objects and types by default:
+-------------------+---------------+
| Python | JSON |
+===================+===============+
| dict | object |
+-------------------+---------------+
| list, tuple | array |
+-------------------+---------------+
| str, unicode | string |
+-------------------+---------------+
| int, long, float | number |
+-------------------+---------------+
| True | true |
+-------------------+---------------+
| False | false |
+-------------------+---------------+
| None | null |
+-------------------+---------------+
To extend this to recognize other objects, subclass and implement a
``.default()`` method with another method that returns a serializable
object for ``o`` if possible, otherwise it should call the superclass
implementation (to raise ``TypeError``).
"""
item_separator = ', '
key_separator = ': '
def __init__(self, skipkeys=False, ensure_ascii=True,
check_circular=True, allow_nan=True, sort_keys=False,
indent=None, separators=None, encoding='utf-8', default=None):
"""Constructor for JSONEncoder, with sensible defaults.
If skipkeys is False, then it is a TypeError to attempt
encoding of keys that are not str, int, long, float or None. If
skipkeys is True, such items are simply skipped.
If ensure_ascii is True, the output is guaranteed to be str
objects with all incoming unicode characters escaped. If
ensure_ascii is false, the output will be unicode object.
If check_circular is True, then lists, dicts, and custom encoded
objects will be checked for circular references during encoding to
prevent an infinite recursion (which would cause an OverflowError).
Otherwise, no such check takes place.
If allow_nan is True, then NaN, Infinity, and -Infinity will be
encoded as such. This behavior is not JSON specification compliant,
but is consistent with most JavaScript based encoders and decoders.
Otherwise, it will be a ValueError to encode such floats.
If sort_keys is True, then the output of dictionaries will be
sorted by key; this is useful for regression tests to ensure
that JSON serializations can be compared on a day-to-day basis.
If indent is a non-negative integer, then JSON array
elements and object members will be pretty-printed with that
indent level. An indent level of 0 will only insert newlines.
None is the most compact representation.
If specified, separators should be a (item_separator, key_separator)
tuple. The default is (', ', ': '). To get the most compact JSON
representation you should specify (',', ':') to eliminate whitespace.
If specified, default is a function that gets called for objects
that can't otherwise be serialized. It should return a JSON encodable
version of the object or raise a ``TypeError``.
If encoding is not None, then all input strings will be
transformed into unicode using that encoding prior to JSON-encoding.
The default is UTF-8.
"""
self.skipkeys = skipkeys
self.ensure_ascii = ensure_ascii
self.check_circular = check_circular
self.allow_nan = allow_nan
self.sort_keys = sort_keys
self.indent = indent
if separators is not None:
self.item_separator, self.key_separator = separators
if default is not None:
self.default = default
self.encoding = encoding
def default(self, o):
"""Implement this method in a subclass such that it returns
a serializable object for ``o``, or calls the base implementation
(to raise a ``TypeError``).
For example, to support arbitrary iterators, you could
implement default like this::
def default(self, o):
try:
iterable = iter(o)
except TypeError:
pass
else:
return list(iterable)
return JSONEncoder.default(self, o)
"""
raise TypeError("%r is not JSON serializable" % (o,))
def encode(self, o):
"""Return a JSON string representation of a Python data structure.
>>> JSONEncoder().encode({"foo": ["bar", "baz"]})
'{"foo": ["bar", "baz"]}'
"""
# This is for extremely simple cases and benchmarks.
if isinstance(o, basestring):
if isinstance(o, str):
_encoding = self.encoding
if (_encoding is not None
and not (_encoding == 'utf-8')):
o = o.decode(_encoding)
if self.ensure_ascii:
return encode_basestring_ascii(o)
else:
return encode_basestring(o)
# This doesn't pass the iterator directly to ''.join() because the
# exceptions aren't as detailed. The list call should be roughly
# equivalent to the PySequence_Fast that ''.join() would do.
chunks = self.iterencode(o, _one_shot=True)
if not isinstance(chunks, (list, tuple)):
chunks = list(chunks)
return ''.join(chunks)
def iterencode(self, o, _one_shot=False):
"""Encode the given object and yield each string
representation as available.
For example::
for chunk in JSONEncoder().iterencode(bigobject):
mysocket.write(chunk)
"""
if self.check_circular:
markers = {}
else:
markers = None
if self.ensure_ascii:
_encoder = encode_basestring_ascii
else:
_encoder = encode_basestring
if self.encoding != 'utf-8':
def _encoder(o, _orig_encoder=_encoder, _encoding=self.encoding):
if isinstance(o, str):
o = o.decode(_encoding)
return _orig_encoder(o)
def floatstr(o, allow_nan=self.allow_nan, _repr=FLOAT_REPR, _inf=INFINITY, _neginf=-INFINITY):
# Check for specials. Note that this type of test is processor- and/or
# platform-specific, so do tests which don't depend on the internals.
if o != o:
text = 'NaN'
elif o == _inf:
text = 'Infinity'
elif o == _neginf:
text = '-Infinity'
else:
return _repr(o)
if not allow_nan:
raise ValueError("Out of range float values are not JSON compliant: %r"
% (o,))
return text
if _one_shot and c_make_encoder is not None and not self.indent and not self.sort_keys:
_iterencode = c_make_encoder(
markers, self.default, _encoder, self.indent,
self.key_separator, self.item_separator, self.sort_keys,
self.skipkeys, self.allow_nan)
else:
_iterencode = _make_iterencode(
markers, self.default, _encoder, self.indent, floatstr,
self.key_separator, self.item_separator, self.sort_keys,
self.skipkeys, _one_shot)
return _iterencode(o, 0)
def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, _key_separator, _item_separator, _sort_keys, _skipkeys, _one_shot,
## HACK: hand-optimized bytecode; turn globals into locals
False=False,
True=True,
ValueError=ValueError,
basestring=basestring,
dict=dict,
float=float,
id=id,
int=int,
isinstance=isinstance,
list=list,
long=long,
str=str,
tuple=tuple,
):
def _iterencode_list(lst, _current_indent_level):
if not lst:
yield '[]'
return
if markers is not None:
markerid = id(lst)
if markerid in markers:
raise ValueError("Circular reference detected")
markers[markerid] = lst
buf = '['
if _indent is not None:
_current_indent_level += 1
newline_indent = '\n' + (' ' * (_indent * _current_indent_level))
separator = _item_separator + newline_indent
buf += newline_indent
else:
newline_indent = None
separator = _item_separator
first = True
for value in lst:
if first:
first = False
else:
buf = separator
if isinstance(value, basestring):
yield buf + _encoder(value)
elif value is None:
yield buf + 'null'
elif value is True:
yield buf + 'true'
elif value is False:
yield buf + 'false'
elif isinstance(value, (int, long)):
yield buf + str(value)
elif isinstance(value, float):
yield buf + _floatstr(value)
else:
yield buf
if isinstance(value, (list, tuple)):
chunks = _iterencode_list(value, _current_indent_level)
elif isinstance(value, dict):
chunks = _iterencode_dict(value, _current_indent_level)
else:
chunks = _iterencode(value, _current_indent_level)
for chunk in chunks:
yield chunk
if newline_indent is not None:
_current_indent_level -= 1
yield '\n' + (' ' * (_indent * _current_indent_level))
yield ']'
if markers is not None:
del markers[markerid]
def _iterencode_dict(dct, _current_indent_level):
if not dct:
yield '{}'
return
if markers is not None:
markerid = id(dct)
if markerid in markers:
raise ValueError("Circular reference detected")
markers[markerid] = dct
yield '{'
if _indent is not None:
_current_indent_level += 1
newline_indent = '\n' + (' ' * (_indent * _current_indent_level))
item_separator = _item_separator + newline_indent
yield newline_indent
else:
newline_indent = None
item_separator = _item_separator
first = True
if _sort_keys:
items = dct.items()
items.sort(key=lambda kv: kv[0])
else:
items = dct.iteritems()
for key, value in items:
if isinstance(key, basestring):
pass
# JavaScript is weakly typed for these, so it makes sense to
# also allow them. Many encoders seem to do something like this.
elif isinstance(key, float):
key = _floatstr(key)
elif isinstance(key, (int, long)):
key = str(key)
elif key is True:
key = 'true'
elif key is False:
key = 'false'
elif key is None:
key = 'null'
elif _skipkeys:
continue
else:
raise TypeError("key %r is not a string" % (key,))
if first:
first = False
else:
yield item_separator
yield _encoder(key)
yield _key_separator
if isinstance(value, basestring):
yield _encoder(value)
elif value is None:
yield 'null'
elif value is True:
yield 'true'
elif value is False:
yield 'false'
elif isinstance(value, (int, long)):
yield str(value)
elif isinstance(value, float):
yield _floatstr(value)
else:
if isinstance(value, (list, tuple)):
chunks = _iterencode_list(value, _current_indent_level)
elif isinstance(value, dict):
chunks = _iterencode_dict(value, _current_indent_level)
else:
chunks = _iterencode(value, _current_indent_level)
for chunk in chunks:
yield chunk
if newline_indent is not None:
_current_indent_level -= 1
yield '\n' + (' ' * (_indent * _current_indent_level))
yield '}'
if markers is not None:
del markers[markerid]
def _iterencode(o, _current_indent_level):
if isinstance(o, basestring):
yield _encoder(o)
elif o is None:
yield 'null'
elif o is True:
yield 'true'
elif o is False:
yield 'false'
elif isinstance(o, (int, long)):
yield str(o)
elif isinstance(o, float):
yield _floatstr(o)
elif isinstance(o, (list, tuple)):
for chunk in _iterencode_list(o, _current_indent_level):
yield chunk
elif isinstance(o, dict):
for chunk in _iterencode_dict(o, _current_indent_level):
yield chunk
else:
if markers is not None:
markerid = id(o)
if markerid in markers:
raise ValueError("Circular reference detected")
markers[markerid] = o
o = _default(o)
for chunk in _iterencode(o, _current_indent_level):
yield chunk
if markers is not None:
del markers[markerid]
return _iterencode
| Python |
r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of
JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data
interchange format.
:mod:`simplejson` exposes an API familiar to users of the standard library
:mod:`marshal` and :mod:`pickle` modules. It is the externally maintained
version of the :mod:`json` library contained in Python 2.6, but maintains
compatibility with Python 2.4 and Python 2.5 and (currently) has
significant performance advantages, even without using the optional C
extension for speedups.
Encoding basic Python object hierarchies::
>>> import simplejson as json
>>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
'["foo", {"bar": ["baz", null, 1.0, 2]}]'
>>> print json.dumps("\"foo\bar")
"\"foo\bar"
>>> print json.dumps(u'\u1234')
"\u1234"
>>> print json.dumps('\\')
"\\"
>>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True)
{"a": 0, "b": 0, "c": 0}
>>> from StringIO import StringIO
>>> io = StringIO()
>>> json.dump(['streaming API'], io)
>>> io.getvalue()
'["streaming API"]'
Compact encoding::
>>> import simplejson as json
>>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',',':'))
'[1,2,3,{"4":5,"6":7}]'
Pretty printing::
>>> import simplejson as json
>>> s = json.dumps({'4': 5, '6': 7}, sort_keys=True, indent=4)
>>> print '\n'.join([l.rstrip() for l in s.splitlines()])
{
"4": 5,
"6": 7
}
Decoding JSON::
>>> import simplejson as json
>>> obj = [u'foo', {u'bar': [u'baz', None, 1.0, 2]}]
>>> json.loads('["foo", {"bar":["baz", null, 1.0, 2]}]') == obj
True
>>> json.loads('"\\"foo\\bar"') == u'"foo\x08ar'
True
>>> from StringIO import StringIO
>>> io = StringIO('["streaming API"]')
>>> json.load(io)[0] == 'streaming API'
True
Specializing JSON object decoding::
>>> import simplejson as json
>>> def as_complex(dct):
... if '__complex__' in dct:
... return complex(dct['real'], dct['imag'])
... return dct
...
>>> json.loads('{"__complex__": true, "real": 1, "imag": 2}',
... object_hook=as_complex)
(1+2j)
>>> import decimal
>>> json.loads('1.1', parse_float=decimal.Decimal) == decimal.Decimal('1.1')
True
Specializing JSON object encoding::
>>> import simplejson as json
>>> def encode_complex(obj):
... if isinstance(obj, complex):
... return [obj.real, obj.imag]
... raise TypeError("%r is not JSON serializable" % (o,))
...
>>> json.dumps(2 + 1j, default=encode_complex)
'[2.0, 1.0]'
>>> json.JSONEncoder(default=encode_complex).encode(2 + 1j)
'[2.0, 1.0]'
>>> ''.join(json.JSONEncoder(default=encode_complex).iterencode(2 + 1j))
'[2.0, 1.0]'
Using simplejson.tool from the shell to validate and pretty-print::
$ echo '{"json":"obj"}' | python -msimplejson.tool
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -msimplejson.tool
Expecting property name: line 1 column 2 (char 2)
"""
__version__ = '2.0.7'
__all__ = [
'dump', 'dumps', 'load', 'loads',
'JSONDecoder', 'JSONEncoder',
]
from decoder import JSONDecoder
from encoder import JSONEncoder
_default_encoder = JSONEncoder(
skipkeys=False,
ensure_ascii=True,
check_circular=True,
allow_nan=True,
indent=None,
separators=None,
encoding='utf-8',
default=None,
)
def dump(obj, fp, skipkeys=False, ensure_ascii=True, check_circular=True,
allow_nan=True, cls=None, indent=None, separators=None,
encoding='utf-8', default=None, **kw):
"""Serialize ``obj`` as a JSON formatted stream to ``fp`` (a
``.write()``-supporting file-like object).
If ``skipkeys`` is ``True`` then ``dict`` keys that are not basic types
(``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``)
will be skipped instead of raising a ``TypeError``.
If ``ensure_ascii`` is ``False``, then the some chunks written to ``fp``
may be ``unicode`` instances, subject to normal Python ``str`` to
``unicode`` coercion rules. Unless ``fp.write()`` explicitly
understands ``unicode`` (as in ``codecs.getwriter()``) this is likely
to cause an error.
If ``check_circular`` is ``False``, then the circular reference check
for container types will be skipped and a circular reference will
result in an ``OverflowError`` (or worse).
If ``allow_nan`` is ``False``, then it will be a ``ValueError`` to
serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``)
in strict compliance of the JSON specification, instead of using the
JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``).
If ``indent`` is a non-negative integer, then JSON array elements and object
members will be pretty-printed with that indent level. An indent level
of 0 will only insert newlines. ``None`` is the most compact representation.
If ``separators`` is an ``(item_separator, dict_separator)`` tuple
then it will be used instead of the default ``(', ', ': ')`` separators.
``(',', ':')`` is the most compact JSON representation.
``encoding`` is the character encoding for str instances, default is UTF-8.
``default(obj)`` is a function that should return a serializable version
of obj or raise TypeError. The default simply raises TypeError.
To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the
``.default()`` method to serialize additional types), specify it with
the ``cls`` kwarg.
"""
# cached encoder
if (skipkeys is False and ensure_ascii is True and
check_circular is True and allow_nan is True and
cls is None and indent is None and separators is None and
encoding == 'utf-8' and default is None and not kw):
iterable = _default_encoder.iterencode(obj)
else:
if cls is None:
cls = JSONEncoder
iterable = cls(skipkeys=skipkeys, ensure_ascii=ensure_ascii,
check_circular=check_circular, allow_nan=allow_nan, indent=indent,
separators=separators, encoding=encoding,
default=default, **kw).iterencode(obj)
# could accelerate with writelines in some versions of Python, at
# a debuggability cost
for chunk in iterable:
fp.write(chunk)
def dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True,
allow_nan=True, cls=None, indent=None, separators=None,
encoding='utf-8', default=None, **kw):
"""Serialize ``obj`` to a JSON formatted ``str``.
If ``skipkeys`` is ``True`` then ``dict`` keys that are not basic types
(``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``)
will be skipped instead of raising a ``TypeError``.
If ``ensure_ascii`` is ``False``, then the return value will be a
``unicode`` instance subject to normal Python ``str`` to ``unicode``
coercion rules instead of being escaped to an ASCII ``str``.
If ``check_circular`` is ``False``, then the circular reference check
for container types will be skipped and a circular reference will
result in an ``OverflowError`` (or worse).
If ``allow_nan`` is ``False``, then it will be a ``ValueError`` to
serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in
strict compliance of the JSON specification, instead of using the
JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``).
If ``indent`` is a non-negative integer, then JSON array elements and
object members will be pretty-printed with that indent level. An indent
level of 0 will only insert newlines. ``None`` is the most compact
representation.
If ``separators`` is an ``(item_separator, dict_separator)`` tuple
then it will be used instead of the default ``(', ', ': ')`` separators.
``(',', ':')`` is the most compact JSON representation.
``encoding`` is the character encoding for str instances, default is UTF-8.
``default(obj)`` is a function that should return a serializable version
of obj or raise TypeError. The default simply raises TypeError.
To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the
``.default()`` method to serialize additional types), specify it with
the ``cls`` kwarg.
"""
# cached encoder
if (skipkeys is False and ensure_ascii is True and
check_circular is True and allow_nan is True and
cls is None and indent is None and separators is None and
encoding == 'utf-8' and default is None and not kw):
return _default_encoder.encode(obj)
if cls is None:
cls = JSONEncoder
return cls(
skipkeys=skipkeys, ensure_ascii=ensure_ascii,
check_circular=check_circular, allow_nan=allow_nan, indent=indent,
separators=separators, encoding=encoding, default=default,
**kw).encode(obj)
_default_decoder = JSONDecoder(encoding=None, object_hook=None)
def load(fp, encoding=None, cls=None, object_hook=None, parse_float=None,
parse_int=None, parse_constant=None, **kw):
"""Deserialize ``fp`` (a ``.read()``-supporting file-like object containing
a JSON document) to a Python object.
If the contents of ``fp`` is encoded with an ASCII based encoding other
than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must
be specified. Encodings that are not ASCII based (such as UCS-2) are
not allowed, and should be wrapped with
``codecs.getreader(fp)(encoding)``, or simply decoded to a ``unicode``
object and passed to ``loads()``
``object_hook`` is an optional function that will be called with the
result of any object literal decode (a ``dict``). The return value of
``object_hook`` will be used instead of the ``dict``. This feature
can be used to implement custom decoders (e.g. JSON-RPC class hinting).
To use a custom ``JSONDecoder`` subclass, specify it with the ``cls``
kwarg.
"""
return loads(fp.read(),
encoding=encoding, cls=cls, object_hook=object_hook,
parse_float=parse_float, parse_int=parse_int,
parse_constant=parse_constant, **kw)
def loads(s, encoding=None, cls=None, object_hook=None, parse_float=None,
parse_int=None, parse_constant=None, **kw):
"""Deserialize ``s`` (a ``str`` or ``unicode`` instance containing a JSON
document) to a Python object.
If ``s`` is a ``str`` instance and is encoded with an ASCII based encoding
other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
must be specified. Encodings that are not ASCII based (such as UCS-2)
are not allowed and should be decoded to ``unicode`` first.
``object_hook`` is an optional function that will be called with the
result of any object literal decode (a ``dict``). The return value of
``object_hook`` will be used instead of the ``dict``. This feature
can be used to implement custom decoders (e.g. JSON-RPC class hinting).
``parse_float``, if specified, will be called with the string
of every JSON float to be decoded. By default this is equivalent to
float(num_str). This can be used to use another datatype or parser
for JSON floats (e.g. decimal.Decimal).
``parse_int``, if specified, will be called with the string
of every JSON int to be decoded. By default this is equivalent to
int(num_str). This can be used to use another datatype or parser
for JSON integers (e.g. float).
``parse_constant``, if specified, will be called with one of the
following strings: -Infinity, Infinity, NaN, null, true, false.
This can be used to raise an exception if invalid JSON numbers
are encountered.
To use a custom ``JSONDecoder`` subclass, specify it with the ``cls``
kwarg.
"""
if (cls is None and encoding is None and object_hook is None and
parse_int is None and parse_float is None and
parse_constant is None and not kw):
return _default_decoder.decode(s)
if cls is None:
cls = JSONDecoder
if object_hook is not None:
kw['object_hook'] = object_hook
if parse_float is not None:
kw['parse_float'] = parse_float
if parse_int is not None:
kw['parse_int'] = parse_int
if parse_constant is not None:
kw['parse_constant'] = parse_constant
return cls(encoding=encoding, **kw).decode(s)
| Python |
r"""Using simplejson from the shell to validate and
pretty-print::
$ echo '{"json":"obj"}' | python -msimplejson.tool
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -msimplejson.tool
Expecting property name: line 1 column 2 (char 2)
"""
import simplejson
def main():
import sys
if len(sys.argv) == 1:
infile = sys.stdin
outfile = sys.stdout
elif len(sys.argv) == 2:
infile = open(sys.argv[1], 'rb')
outfile = sys.stdout
elif len(sys.argv) == 3:
infile = open(sys.argv[1], 'rb')
outfile = open(sys.argv[2], 'wb')
else:
raise SystemExit("%s [infile [outfile]]" % (sys.argv[0],))
try:
obj = simplejson.load(infile)
except ValueError, e:
raise SystemExit(e)
simplejson.dump(obj, outfile, sort_keys=True, indent=4)
outfile.write('\n')
if __name__ == '__main__':
main()
| Python |
# -*- coding: utf-8 -*-
import os, sys
COMMON_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
PROJECT_DIR = os.path.dirname(COMMON_DIR)
ZIP_PACKAGES_DIRS = (os.path.join(PROJECT_DIR, 'zip-packages'),
os.path.join(COMMON_DIR, 'zip-packages'))
# Overrides for os.environ
env_ext = {'DJANGO_SETTINGS_MODULE': 'settings'}
def setup_env(manage_py_env=False):
"""Configures app engine environment for command-line apps."""
# Try to import the appengine code from the system path.
try:
from google.appengine.api import apiproxy_stub_map
except ImportError, e:
for k in [k for k in sys.modules if k.startswith('google')]:
del sys.modules[k]
# Not on the system path. Build a list of alternative paths where it
# may be. First look within the project for a local copy, then look for
# where the Mac OS SDK installs it.
paths = [os.path.join(COMMON_DIR, '.google_appengine'),
'/usr/local/google_appengine',
'/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine']
for path in os.environ.get('PATH', '').replace(';', ':').split(':'):
path = path.rstrip(os.sep)
if path.endswith('google_appengine'):
paths.append(path)
if os.name in ('nt', 'dos'):
prefix = '%(PROGRAMFILES)s' % os.environ
paths.append(prefix + r'\Google\google_appengine')
# Loop through all possible paths and look for the SDK dir.
SDK_PATH = None
for sdk_path in paths:
sdk_path = os.path.realpath(sdk_path)
if os.path.exists(sdk_path):
SDK_PATH = sdk_path
break
if SDK_PATH is None:
# The SDK could not be found in any known location.
sys.stderr.write('The Google App Engine SDK could not be found!\n'
'Visit http://code.google.com/p/app-engine-patch/'
' for installation instructions.\n')
sys.exit(1)
# Add the SDK and the libraries within it to the system path.
EXTRA_PATHS = [SDK_PATH]
lib = os.path.join(SDK_PATH, 'lib')
# Automatically add all packages in the SDK's lib folder:
for dir in os.listdir(lib):
path = os.path.join(lib, dir)
# Package can be under 'lib/<pkg>/<pkg>/' or 'lib/<pkg>/lib/<pkg>/'
detect = (os.path.join(path, dir), os.path.join(path, 'lib', dir))
for path in detect:
if os.path.isdir(path):
EXTRA_PATHS.append(os.path.dirname(path))
break
sys.path = EXTRA_PATHS + sys.path
from google.appengine.api import apiproxy_stub_map
# Add this folder to sys.path
sys.path = [os.path.abspath(os.path.dirname(__file__))] + sys.path
setup_project()
from appenginepatcher.patch import patch_all
patch_all()
if not manage_py_env:
return
print >> sys.stderr, 'Running on app-engine-patch 1.0.2.2'
def setup_project():
from appenginepatcher import on_production_server
if on_production_server:
# This fixes a pwd import bug for os.path.expanduser()
global env_ext
env_ext['HOME'] = PROJECT_DIR
os.environ.update(env_ext)
# Add the two parent folders and appenginepatcher's lib folder to sys.path.
# The current folder has to be added in main.py or setup_env(). This
# suggests a folder structure where you separate reusable code from project
# code:
# project -> common -> appenginepatch
# You can put a custom Django version into the "common" folder, for example.
EXTRA_PATHS = [
PROJECT_DIR,
COMMON_DIR,
]
this_folder = os.path.abspath(os.path.dirname(__file__))
EXTRA_PATHS.append(os.path.join(this_folder, 'appenginepatcher', 'lib'))
# We support zipped packages in the common and project folders.
# The files must be in the packages folder.
for packages_dir in ZIP_PACKAGES_DIRS:
if os.path.isdir(packages_dir):
for zip_package in os.listdir(packages_dir):
EXTRA_PATHS.append(os.path.join(packages_dir, zip_package))
# App Engine causes main.py to be reloaded if an exception gets raised
# on the first request of a main.py instance, so don't call setup_project()
# multiple times. We ensure this indirectly by checking if we've already
# modified sys.path.
if len(sys.path) < len(EXTRA_PATHS) or \
sys.path[:len(EXTRA_PATHS)] != EXTRA_PATHS:
# Remove the standard version of Django
for k in [k for k in sys.modules if k.startswith('django')]:
del sys.modules[k]
sys.path = EXTRA_PATHS + sys.path
| Python |
#!/usr/bin/env python
if __name__ == '__main__':
from common.appenginepatch.aecmd import setup_env
setup_env(manage_py_env=True)
# Recompile translation files
from mediautils.compilemessages import updatemessages
updatemessages()
# Generate compressed media files for manage.py update
import sys
from mediautils.generatemedia import updatemedia
if len(sys.argv) >= 2 and sys.argv[1] == 'update':
updatemedia(True)
import settings
from django.core.management import execute_manager
execute_manager(settings)
| Python |
# -*- coding: utf-8 -*-
import os, sys
# Add current folder to sys.path, so we can import aecmd.
# App Engine causes main.py to be reloaded if an exception gets raised
# on the first request of a main.py instance, so don't add current_dir multiple
# times.
current_dir = os.path.abspath(os.path.dirname(__file__))
if current_dir not in sys.path:
sys.path = [current_dir] + sys.path
import aecmd
aecmd.setup_project()
from appenginepatcher.patch import patch_all, setup_logging
patch_all()
import django.core.handlers.wsgi
from google.appengine.ext.webapp import util
from django.conf import settings
def real_main():
# Reset path and environment variables
global path_backup
try:
sys.path = path_backup[:]
except:
path_backup = sys.path[:]
os.environ.update(aecmd.env_ext)
setup_logging()
# Create a Django application for WSGI.
application = django.core.handlers.wsgi.WSGIHandler()
# Run the WSGI CGI handler with that application.
util.run_wsgi_app(application)
def profile_main():
import logging, cProfile, pstats, random, StringIO
only_forced_profile = getattr(settings, 'ONLY_FORCED_PROFILE', False)
profile_percentage = getattr(settings, 'PROFILE_PERCENTAGE', None)
if (only_forced_profile and
'profile=forced' not in os.environ.get('QUERY_STRING')) or \
(not only_forced_profile and profile_percentage and
float(profile_percentage) / 100.0 <= random.random()):
return real_main()
prof = cProfile.Profile()
prof = prof.runctx('real_main()', globals(), locals())
stream = StringIO.StringIO()
stats = pstats.Stats(prof, stream=stream)
sort_by = getattr(settings, 'SORT_PROFILE_RESULTS_BY', 'time')
if not isinstance(sort_by, (list, tuple)):
sort_by = (sort_by,)
stats.sort_stats(*sort_by)
restrictions = []
profile_pattern = getattr(settings, 'PROFILE_PATTERN', None)
if profile_pattern:
restrictions.append(profile_pattern)
max_results = getattr(settings, 'MAX_PROFILE_RESULTS', 80)
if max_results and max_results != 'all':
restrictions.append(max_results)
stats.print_stats(*restrictions)
extra_output = getattr(settings, 'EXTRA_PROFILE_OUTPUT', None) or ()
if not isinstance(sort_by, (list, tuple)):
extra_output = (extra_output,)
if 'callees' in extra_output:
stats.print_callees()
if 'callers' in extra_output:
stats.print_callers()
logging.info('Profile data:\n%s', stream.getvalue())
main = getattr(settings, 'ENABLE_PROFILER', False) and profile_main or real_main
if __name__ == '__main__':
main()
| Python |
# Empty file neeed to make this a Django app.
| Python |
#!/usr/bin/python2.4
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""This file acts as a very minimal replacement for the 'imp' module.
It contains only what Django expects to use and does not actually implement the
same functionality as the real 'imp' module.
"""
def find_module(name, path=None):
"""Django needs imp.find_module, but it works fine if nothing is found."""
raise ImportError
| Python |
# -*- coding: utf-8 -*-
from django.utils.translation import ugettext_lazy as _
from google.appengine.ext import db
| Python |
# -*- coding: utf-8 -*-
from django.http import HttpResponseRedirect
from django.utils.translation import ugettext as _
from ragendja.template import render_to_response
| Python |
#!/usr/bin/python2.4
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""This file acts as a very minimal replacement for the 'imp' module.
It contains only what Django expects to use and does not actually implement the
same functionality as the real 'imp' module.
"""
def find_module(name, path=None):
"""Django needs imp.find_module, but it works fine if nothing is found."""
raise ImportError
| Python |
# -*- coding: utf-8 -*-
from django.db.models import signals
from django.test import TestCase
from ragendja.dbutils import cleanup_relations
from ragendja.testutils import ModelTestCase
from google.appengine.ext import db
from google.appengine.ext.db.polymodel import PolyModel
from datetime import datetime
# Test class Meta
class TestA(db.Model):
class Meta:
abstract = True
verbose_name = 'aaa'
class TestB(TestA):
class Meta:
verbose_name = 'bbb'
class TestC(TestA):
pass
class TestModelRel(db.Model):
modelrel = db.ReferenceProperty(db.Model)
class PolyA(PolyModel):
class Meta:
verbose_name = 'polyb'
class PolyB(PolyA):
pass
class ModelMetaTest(TestCase):
def test_class_meta(self):
self.assertEqual(TestA._meta.verbose_name_plural, 'aaas')
self.assertTrue(TestA._meta.abstract)
self.assertEqual(TestB._meta.verbose_name_plural, 'bbbs')
self.assertFalse(TestB._meta.abstract)
self.assertEqual(TestC._meta.verbose_name_plural, 'test cs')
self.assertFalse(TestC._meta.abstract)
self.assertFalse(PolyA._meta.abstract)
self.assertFalse(PolyB._meta.abstract)
# Test signals
class SignalTest(TestCase):
def test_signals(self):
global received_pre_delete
global received_post_save
received_pre_delete = False
received_post_save = False
def handle_pre_delete(**kwargs):
global received_pre_delete
received_pre_delete = True
signals.pre_delete.connect(handle_pre_delete, sender=TestC)
def handle_post_save(**kwargs):
global received_post_save
received_post_save = True
signals.post_save.connect(handle_post_save, sender=TestC)
a = TestC()
a.put()
a.delete()
self.assertTrue(received_pre_delete)
self.assertTrue(received_post_save)
def test_batch_signals(self):
global received_pre_delete
global received_post_save
received_pre_delete = False
received_post_save = False
def handle_pre_delete(**kwargs):
global received_pre_delete
received_pre_delete = True
signals.pre_delete.connect(handle_pre_delete, sender=TestC)
def handle_post_save(**kwargs):
global received_post_save
received_post_save = True
signals.post_save.connect(handle_post_save, sender=TestC)
a = TestC()
db.put([a])
db.delete([a])
self.assertTrue(received_pre_delete)
self.assertTrue(received_post_save)
# Test serialization
class SerializeModel(db.Model):
name = db.StringProperty()
count = db.IntegerProperty()
created = db.DateTimeProperty()
class SerializerTest(ModelTestCase):
model = SerializeModel
def test_serializer(self, format='json'):
from django.core import serializers
created = datetime.now()
x = SerializeModel(key_name='blue_key', name='blue', count=4)
x.put()
SerializeModel(name='green', count=1, created=created).put()
data = serializers.serialize(format, SerializeModel.all())
db.delete(SerializeModel.all().fetch(100))
for obj in serializers.deserialize(format, data):
obj.save()
self.validate_state(
('key.name', 'name', 'count', 'created'),
(None, 'green', 1, created),
('blue_key', 'blue', 4, None),
)
def test_xml_serializer(self):
self.test_serializer(format='xml')
def test_python_serializer(self):
self.test_serializer(format='python')
def test_yaml_serializer(self):
self.test_serializer(format='yaml')
# Test ragendja cleanup handler
class SigChild(db.Model):
CLEANUP_REFERENCES = 'rel'
owner = db.ReferenceProperty(TestC)
rel = db.ReferenceProperty(TestC, collection_name='sigchildrel_set')
class RelationsCleanupTest(TestCase):
def test_cleanup(self):
signals.pre_delete.connect(cleanup_relations, sender=TestC)
c1 = TestC()
c2 = TestC()
db.put((c1, c2))
TestModelRel(modelrel=c1).put()
child = SigChild(owner=c1, rel=c2)
child.put()
self.assertEqual(TestC.all().count(), 2)
self.assertEqual(SigChild.all().count(), 1)
self.assertEqual(TestModelRel.all().count(), 1)
c1.delete()
signals.pre_delete.disconnect(cleanup_relations, sender=TestC)
self.assertEqual(SigChild.all().count(), 0)
self.assertEqual(TestC.all().count(), 0)
self.assertEqual(TestModelRel.all().count(), 0)
from ragendja.dbutils import FakeModel, FakeModelProperty, \
FakeModelListProperty
class FM(db.Model):
data = FakeModelProperty(FakeModel, indexed=False)
class FML(db.Model):
data = FakeModelListProperty(FakeModel, indexed=False)
# Test FakeModel, FakeModelProperty, FakeModelListProperty
class RelationsCleanupTest(TestCase):
def test_fake_model_property(self):
value = {'bla': [1, 2, {'blub': 'bla'*1000}]}
FM(data=FakeModel(value=value)).put()
self.assertEqual(FM.all()[0].data.value, value)
def test_fake_model_list_property(self):
value = {'bla': [1, 2, {'blub': 'bla'*1000}]}
FML(data=[FakeModel(value=value)]).put()
self.assertEqual(FML.all()[0].data[0].value, value)
| Python |
# -*- coding: utf-8 -*-
# Unfortunately, we have to fix a few App Engine bugs here because otherwise
# not all of our features will work. Still, we should keep the number of bug
# fixes to a minimum and report everything to Google, please:
# http://code.google.com/p/googleappengine/issues/list
from google.appengine.ext import db
from google.appengine.ext.db import polymodel
import logging, os, re, sys
base_path = os.path.abspath(os.path.dirname(__file__))
get_verbose_name = lambda class_name: re.sub('(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))', ' \\1', class_name).lower().strip()
DEFAULT_NAMES = ('verbose_name', 'ordering', 'permissions', 'app_label',
'abstract', 'db_table', 'db_tablespace')
# Add checkpoints to patching procedure, so we don't apply certain patches
# multiple times. This can happen if an exeception gets raised on the first
# request of an instance. In that case, main.py gets reloaded and patch_all()
# gets executed yet another time.
done_patch_all = False
def patch_all():
global done_patch_all
if done_patch_all:
return
patch_python()
patch_app_engine()
# Add signals: post_save_committed, post_delete_committed
from appenginepatcher import transactions
setup_logging()
done_patch_all = True
def patch_python():
# Remove modules that we want to override. Don't remove modules that we've
# already overridden.
for module in ('memcache',):
if module in sys.modules and \
not sys.modules[module].__file__.startswith(base_path):
del sys.modules[module]
# For some reason the imp module can't be replaced via sys.path
from appenginepatcher import have_appserver
if have_appserver:
from appenginepatcher import imp
sys.modules['imp'] = imp
if have_appserver:
def unlink(_):
raise NotImplementedError('App Engine does not support FS writes!')
os.unlink = unlink
def patch_app_engine():
# This allows for using Paginator on a Query object. We limit the number
# of results to 301, so there won't be any timeouts (301, so you can say
# "more than 300 results").
def __len__(self):
return self.count()
db.Query.__len__ = __len__
old_count = db.Query.count
def count(self, limit=301):
return old_count(self, limit)
db.Query.count = count
# Add "model" property to Query (needed by generic views)
class ModelProperty(object):
def __get__(self, query, unused):
try:
return query._Query__model_class
except:
return query._model_class
db.Query.model = ModelProperty()
db.GqlQuery.model = ModelProperty()
# Add a few Model methods that are needed for serialization and ModelForm
def _get_pk_val(self):
if self.has_key():
return unicode(self.key())
else:
return None
db.Model._get_pk_val = _get_pk_val
def __eq__(self, other):
if not isinstance(other, self.__class__):
return False
return self._get_pk_val() == other._get_pk_val()
db.Model.__eq__ = __eq__
def __ne__(self, other):
return not self.__eq__(other)
db.Model.__ne__ = __ne__
def pk(self):
return self._get_pk_val()
db.Model.id = db.Model.pk = property(pk)
def serializable_value(self, field_name):
"""
Returns the value of the field name for this instance. If the field is
a foreign key, returns the id value, instead of the object. If there's
no Field object with this name on the model, the model attribute's
value is returned directly.
Used to serialize a field's value (in the serializer, or form output,
for example). Normally, you would just access the attribute directly
and not use this method.
"""
from django.db.models.fields import FieldDoesNotExist
try:
field = self._meta.get_field(field_name)
except FieldDoesNotExist:
return getattr(self, field_name)
return getattr(self, field.attname)
db.Model.serializable_value = serializable_value
# Make Property more Django-like (needed for serialization and ModelForm)
db.Property.serialize = True
db.Property.editable = True
db.Property.help_text = ''
def blank(self):
return not self.required
db.Property.blank = property(blank)
def _get_verbose_name(self):
if not getattr(self, '_verbose_name', None):
self._verbose_name = self.name.replace('_', ' ')
return self._verbose_name
def _set_verbose_name(self, verbose_name):
self._verbose_name = verbose_name
db.Property.verbose_name = property(_get_verbose_name, _set_verbose_name)
def attname(self):
return self.name
db.Property.attname = property(attname)
class Rel(object):
def __init__(self, property):
self.field_name = 'key'
self.property = property
self.to = property.reference_class
self.multiple = True
self.parent_link = False
self.related_name = getattr(property, 'collection_name', None)
self.through = None
class RelProperty(object):
def __get__(self, property, cls):
if property is None:
return self
if not hasattr(property, 'reference_class'):
return None
if not hasattr(property, '_rel_cache'):
property._rel_cache = Rel(property)
return property._rel_cache
db.Property.rel = RelProperty()
def formfield(self, **kwargs):
return self.get_form_field(**kwargs)
db.Property.formfield = formfield
# Add repr to make debugging a little bit easier
def __repr__(self):
data = []
if self.has_key():
if self.key().name():
data.append('key_name='+repr(self.key().name()))
else:
data.append('key_id='+repr(self.key().id()))
for field in self._meta.fields:
try:
data.append(field.name+'='+repr(getattr(self, field.name)))
except:
data.append(field.name+'='+repr(field.get_value_for_datastore(self)))
return u'%s(%s)' % (self.__class__.__name__, ', '.join(data))
db.Model.__repr__ = __repr__
# Add default __str__ and __unicode__ methods
def __str__(self):
return unicode(self).encode('utf-8')
db.Model.__str__ = __str__
def __unicode__(self):
return unicode(repr(self))
db.Model.__unicode__ = __unicode__
# Replace save() method with one that calls put(), so a monkey-patched
# put() will also work if someone uses save()
def save(self):
self.put()
db.Model.save = save
# Add _meta to Model, so porting code becomes easier (generic views,
# xheaders, and serialization depend on it).
from django.conf import settings
from django.utils.encoding import force_unicode, smart_str
from django.utils.translation import string_concat, get_language, \
activate, deactivate_all
class _meta(object):
many_to_many = ()
class pk:
name = 'key'
attname = 'pk'
def __init__(self, model, bases):
try:
self.app_label = model.__module__.split('.')[-2]
except IndexError:
raise ValueError('Django expects models (here: %s.%s) to be defined in their own apps!' % (model.__module__, model.__name__))
self.parents = [b for b in bases if issubclass(b, db.Model)]
self.object_name = model.__name__
self.module_name = self.object_name.lower()
self.verbose_name = get_verbose_name(self.object_name)
self.ordering = ()
self.abstract = model is db.Model
self.model = model
self.unique_together = ()
self.installed = model.__module__.rsplit('.', 1)[0] in \
settings.INSTALLED_APPS
self.permissions = []
meta = model.__dict__.get('Meta')
if meta:
meta_attrs = meta.__dict__.copy()
for name in meta.__dict__:
# Ignore any private attributes that Django doesn't care about.
# NOTE: We can't modify a dictionary's contents while looping
# over it, so we loop over the *original* dictionary instead.
if name.startswith('_'):
del meta_attrs[name]
for attr_name in DEFAULT_NAMES:
if attr_name in meta_attrs:
setattr(self, attr_name, meta_attrs.pop(attr_name))
elif hasattr(meta, attr_name):
setattr(self, attr_name, getattr(meta, attr_name))
# verbose_name_plural is a special case because it uses a 's'
# by default.
setattr(self, 'verbose_name_plural', meta_attrs.pop('verbose_name_plural', string_concat(self.verbose_name, 's')))
# Any leftover attributes must be invalid.
if meta_attrs != {}:
raise TypeError, "'class Meta' got invalid attribute(s): %s" % ','.join(meta_attrs.keys())
else:
self.verbose_name_plural = self.verbose_name + 's'
if not isinstance(self.permissions, list):
self.permissions = list(self.permissions)
if not self.abstract:
self.permissions.extend([
('add_%s' % self.object_name.lower(),
string_concat('Can add ', self.verbose_name)),
('change_%s' % self.object_name.lower(),
string_concat('Can change ', self.verbose_name)),
('delete_%s' % self.object_name.lower(),
string_concat('Can delete ', self.verbose_name)),
])
def __repr__(self):
return '<Options for %s>' % self.object_name
def __str__(self):
return "%s.%s" % (smart_str(self.app_label), smart_str(self.module_name))
def _set_db_table(self, db_table):
self._db_table = db_table
def _get_db_table(self):
if getattr(settings, 'DJANGO_STYLE_MODEL_KIND', True):
if hasattr(self, '_db_table'):
return self._db_table
return '%s_%s' % (self.app_label, self.module_name)
return self.object_name
db_table = property(_get_db_table, _set_db_table)
def _set_db_tablespace(self, db_tablespace):
self._db_tablespace = db_tablespace
def _get_db_tablespace(self):
if hasattr(self, '_db_tablespace'):
return self._db_tablespace
return settings.DEFAULT_TABLESPACE
db_tablespace = property(_get_db_tablespace, _set_db_tablespace)
@property
def verbose_name_raw(self):
"""
There are a few places where the untranslated verbose name is needed
(so that we get the same value regardless of currently active
locale).
"""
lang = get_language()
deactivate_all()
raw = force_unicode(self.verbose_name)
activate(lang)
return raw
@property
def local_fields(self):
return tuple(sorted([p for p in self.model.properties().values()
if not isinstance(p, db.ListProperty)],
key=lambda prop: prop.creation_counter))
@property
def local_many_to_many(self):
return tuple(sorted([p for p in self.model.properties().values()
if isinstance(p, db.ListProperty) and
not (issubclass(self.model,
polymodel.PolyModel)
and p.name == 'class')],
key=lambda prop: prop.creation_counter))
@property
def fields(self):
return self.local_fields + self.local_many_to_many
def get_field(self, name, many_to_many=True):
"""
Returns the requested field by name. Raises FieldDoesNotExist on error.
"""
for f in self.fields:
if f.name == name:
return f
from django.db.models.fields import FieldDoesNotExist
raise FieldDoesNotExist, '%s has no field named %r' % (self.object_name, name)
def get_all_related_objects(self, local_only=False):
try:
self._related_objects_cache
except AttributeError:
self._fill_related_objects_cache()
if local_only:
return [k for k, v in self._related_objects_cache.items() if not v]
return self._related_objects_cache.keys()
def get_all_related_objects_with_model(self):
"""
Returns a list of (related-object, model) pairs. Similar to
get_fields_with_model().
"""
try:
self._related_objects_cache
except AttributeError:
self._fill_related_objects_cache()
return self._related_objects_cache.items()
def _fill_related_objects_cache(self):
from django.db.models.loading import get_models
from django.db.models.related import RelatedObject
from django.utils.datastructures import SortedDict
cache = SortedDict()
parent_list = self.get_parent_list()
for parent in self.parents:
for obj, model in parent._meta.get_all_related_objects_with_model():
if (obj.field.creation_counter < 0 or obj.field.rel.parent_link) and obj.model not in parent_list:
continue
if not model:
cache[obj] = parent
else:
cache[obj] = model
for klass in get_models():
for f in klass._meta.local_fields:
if f.rel and not isinstance(f.rel.to, str) and self == f.rel.to._meta:
cache[RelatedObject(f.rel.to, klass, f)] = None
self._related_objects_cache = cache
def get_all_related_many_to_many_objects(self, local_only=False):
try:
cache = self._related_many_to_many_cache
except AttributeError:
cache = self._fill_related_many_to_many_cache()
if local_only:
return [k for k, v in cache.items() if not v]
return cache.keys()
def get_all_related_m2m_objects_with_model(self):
"""
Returns a list of (related-m2m-object, model) pairs. Similar to
get_fields_with_model().
"""
try:
cache = self._related_many_to_many_cache
except AttributeError:
cache = self._fill_related_many_to_many_cache()
return cache.items()
def _fill_related_many_to_many_cache(self):
from django.db.models.loading import get_models, app_cache_ready
from django.db.models.related import RelatedObject
from django.utils.datastructures import SortedDict
cache = SortedDict()
parent_list = self.get_parent_list()
for parent in self.parents:
for obj, model in parent._meta.get_all_related_m2m_objects_with_model():
if obj.field.creation_counter < 0 and obj.model not in parent_list:
continue
if not model:
cache[obj] = parent
else:
cache[obj] = model
for klass in get_models():
for f in klass._meta.local_many_to_many:
if f.rel and not isinstance(f.rel.to, str) and self == f.rel.to._meta:
cache[RelatedObject(f.rel.to, klass, f)] = None
if app_cache_ready():
self._related_many_to_many_cache = cache
return cache
def get_add_permission(self):
return 'add_%s' % self.object_name.lower()
def get_change_permission(self):
return 'change_%s' % self.object_name.lower()
def get_delete_permission(self):
return 'delete_%s' % self.object_name.lower()
def get_ordered_objects(self):
return []
def get_parent_list(self):
"""
Returns a list of all the ancestor of this model as a list. Useful for
determining if something is an ancestor, regardless of lineage.
"""
result = set()
for parent in self.parents:
result.add(parent)
result.update(parent._meta.get_parent_list())
return result
# Required to support reference properties to db.Model
db.Model._meta = _meta(db.Model, ())
def _initialize_model(cls, bases):
cls._meta = _meta(cls, bases)
cls._default_manager = cls
if not cls._meta.abstract:
from django.db.models.loading import register_models
register_models(cls._meta.app_label, cls)
# Register models with Django
from django.db.models import signals
if not hasattr(db.PropertiedClass.__init__, 'patched'):
old_propertied_class_init = db.PropertiedClass.__init__
def __init__(cls, name, bases, attrs, map_kind=True):
"""Creates a combined appengine and Django model.
The resulting model will be known to both the appengine libraries
and Django.
"""
_initialize_model(cls, bases)
old_propertied_class_init(cls, name, bases, attrs,
not cls._meta.abstract)
signals.class_prepared.send(sender=cls)
__init__.patched = True
db.PropertiedClass.__init__ = __init__
if not hasattr(polymodel.PolymorphicClass.__init__, 'patched'):
old_poly_init = polymodel.PolymorphicClass.__init__
def __init__(cls, name, bases, attrs):
if polymodel.PolyModel not in bases:
_initialize_model(cls, bases)
old_poly_init(cls, name, bases, attrs)
if polymodel.PolyModel not in bases:
signals.class_prepared.send(sender=cls)
__init__.patched = True
polymodel.PolymorphicClass.__init__ = __init__
@classmethod
def kind(cls):
return cls._meta.db_table
db.Model.kind = kind
# Add model signals
if not hasattr(db.Model.__init__, 'patched'):
old_model_init = db.Model.__init__
def __init__(self, *args, **kwargs):
signals.pre_init.send(sender=self.__class__, args=args,
kwargs=kwargs)
old_model_init(self, *args, **kwargs)
signals.post_init.send(sender=self.__class__, instance=self)
__init__.patched = True
db.Model.__init__ = __init__
if not hasattr(db.Model.put, 'patched'):
old_put = db.Model.put
def put(self, *args, **kwargs):
signals.pre_save.send(sender=self.__class__, instance=self,
raw=False)
created = not self.is_saved()
result = old_put(self, *args, **kwargs)
signals.post_save.send(sender=self.__class__, instance=self,
created=created, raw=False)
return result
put.patched = True
db.Model.put = put
if not hasattr(db.put, 'patched'):
old_db_put = db.put
def put(models, *args, **kwargs):
if not isinstance(models, (list, tuple)):
items = (models,)
else:
items = models
items_created = []
for item in items:
if not isinstance(item, db.Model):
continue
signals.pre_save.send(sender=item.__class__, instance=item,
raw=False)
items_created.append(not item.is_saved())
result = old_db_put(models, *args, **kwargs)
for item, created in zip(items, items_created):
if not isinstance(item, db.Model):
continue
signals.post_save.send(sender=item.__class__, instance=item,
created=created, raw=False)
return result
put.patched = True
db.put = put
if not hasattr(db.Model.delete, 'patched'):
old_delete = db.Model.delete
def delete(self, *args, **kwargs):
signals.pre_delete.send(sender=self.__class__, instance=self)
result = old_delete(self, *args, **kwargs)
signals.post_delete.send(sender=self.__class__, instance=self)
return result
delete.patched = True
db.Model.delete = delete
if not hasattr(db.delete, 'patched'):
old_db_delete = db.delete
def delete(models, *args, **kwargs):
if not isinstance(models, (list, tuple)):
items = (models,)
else:
items = models
for item in items:
if not isinstance(item, db.Model):
continue
signals.pre_delete.send(sender=item.__class__, instance=item)
result = old_db_delete(models, *args, **kwargs)
for item in items:
if not isinstance(item, db.Model):
continue
signals.post_delete.send(sender=item.__class__, instance=item)
return result
delete.patched = True
db.delete = delete
# This has to come last because we load Django here
from django.db.models.fields import BLANK_CHOICE_DASH
def get_choices(self, include_blank=True, blank_choice=BLANK_CHOICE_DASH):
first_choice = include_blank and blank_choice or []
if self.choices:
return first_choice + list(self.choices)
if self.rel:
return first_choice + [(obj.pk, unicode(obj))
for obj in self.rel.to.all().fetch(301)]
return first_choice
db.Property.get_choices = get_choices
fix_app_engine_bugs()
def fix_app_engine_bugs():
# Fix handling of verbose_name. Google resolves lazy translation objects
# immedately which of course breaks translation support.
# http://code.google.com/p/googleappengine/issues/detail?id=583
from django import forms
from django.utils.text import capfirst
# This import is needed, so the djangoforms patch can do its work, first
from google.appengine.ext.db import djangoforms
def get_form_field(self, form_class=forms.CharField, **kwargs):
defaults = {'required': self.required}
defaults['label'] = capfirst(self.verbose_name)
if self.choices:
choices = []
if not self.required or (self.default is None and
'initial' not in kwargs):
choices.append(('', '---------'))
for choice in self.choices:
choices.append((unicode(choice), unicode(choice)))
defaults['widget'] = forms.Select(choices=choices)
if self.default is not None:
defaults['initial'] = self.default
defaults.update(kwargs)
return form_class(**defaults)
db.Property.get_form_field = get_form_field
# Extend ModelForm with support for EmailProperty
# http://code.google.com/p/googleappengine/issues/detail?id=880
def get_form_field(self, **kwargs):
"""Return a Django form field appropriate for an email property."""
defaults = {'form_class': forms.EmailField}
defaults.update(kwargs)
return super(db.EmailProperty, self).get_form_field(**defaults)
db.EmailProperty.get_form_field = get_form_field
# Fix DateTimeProperty, so it returns a property even for auto_now and
# auto_now_add.
# http://code.google.com/p/googleappengine/issues/detail?id=994
def get_form_field(self, **kwargs):
defaults = {'form_class': forms.DateTimeField}
defaults.update(kwargs)
return super(db.DateTimeProperty, self).get_form_field(**defaults)
db.DateTimeProperty.get_form_field = get_form_field
def get_form_field(self, **kwargs):
defaults = {'form_class': forms.DateField}
defaults.update(kwargs)
return super(db.DateProperty, self).get_form_field(**defaults)
db.DateProperty.get_form_field = get_form_field
def get_form_field(self, **kwargs):
defaults = {'form_class': forms.TimeField}
defaults.update(kwargs)
return super(db.TimeProperty, self).get_form_field(**defaults)
db.TimeProperty.get_form_field = get_form_field
# Improve handing of StringListProperty
def get_form_field(self, **kwargs):
defaults = {'widget': forms.Textarea,
'initial': ''}
defaults.update(kwargs)
defaults['required'] = False
return super(db.StringListProperty, self).get_form_field(**defaults)
db.StringListProperty.get_form_field = get_form_field
# Fix file uploads via BlobProperty
def get_form_field(self, **kwargs):
defaults = {'form_class': forms.FileField}
defaults.update(kwargs)
return super(db.BlobProperty, self).get_form_field(**defaults)
db.BlobProperty.get_form_field = get_form_field
def get_value_for_form(self, instance):
return getattr(instance, self.name)
db.BlobProperty.get_value_for_form = get_value_for_form
from django.core.files.uploadedfile import UploadedFile
def make_value_from_form(self, value):
if isinstance(value, UploadedFile):
return db.Blob(value.read())
return super(db.BlobProperty, self).make_value_from_form(value)
db.BlobProperty.make_value_from_form = make_value_from_form
# Optimize ReferenceProperty, so it returns the key directly
# http://code.google.com/p/googleappengine/issues/detail?id=993
def get_value_for_form(self, instance):
return self.get_value_for_datastore(instance)
db.ReferenceProperty.get_value_for_form = get_value_for_form
# Use our ModelChoiceField instead of Google's
def get_form_field(self, **kwargs):
defaults = {'form_class': forms.ModelChoiceField,
'queryset': self.reference_class.all()}
defaults.update(kwargs)
return super(db.ReferenceProperty, self).get_form_field(**defaults)
db.ReferenceProperty.get_form_field = get_form_field
def setup_logging():
from django.conf import settings
if settings.DEBUG:
logging.getLogger().setLevel(logging.DEBUG)
else:
logging.getLogger().setLevel(logging.INFO)
| Python |
from google.appengine.api import apiproxy_stub_map
from google.appengine.ext import db
from django.dispatch import Signal
from django.db.models import signals
from django.utils._threading_local import local
from functools import wraps
# Add signals which can be run after a transaction has been committed
signals.post_save_committed = Signal()
signals.post_delete_committed = Signal()
local = local()
# Patch transaction handlers, so we can support post_xxx_committed signals
run_in_transaction = db.run_in_transaction
if not hasattr(run_in_transaction, 'patched'):
@wraps(run_in_transaction)
def handle_signals(*args, **kwargs):
try:
if not getattr(local, 'in_transaction', False):
local.in_transaction = True
local.notify = []
result = run_in_transaction(*args, **kwargs)
except:
local.in_transaction = False
local.notify = []
raise
else:
commit()
return result
handle_signals.patched = True
db.run_in_transaction = handle_signals
run_in_transaction_custom_retries = db.run_in_transaction_custom_retries
if not hasattr(run_in_transaction_custom_retries, 'patched'):
@wraps(run_in_transaction_custom_retries)
def handle_signals(*args, **kwargs):
try:
result = run_in_transaction_custom_retries(*args, **kwargs)
except:
local.in_transaction = False
local.notify = []
raise
else:
commit()
return result
handle_signals.patched = True
db.run_in_transaction_custom_retries = handle_signals
def hook(service, call, request, response):
if call == 'Rollback':
# This stores a list of tuples (action, sender, kwargs)
# Possible actions: 'delete', 'save'
local.in_transaction = True
local.notify = []
apiproxy_stub_map.apiproxy.GetPostCallHooks().Append('tx_signals', hook)
def commit():
local.in_transaction = False
for action, sender, kwds in local.notify:
signal = getattr(signals, 'post_%s_committed' % action)
signal.send(sender=sender, **kwds)
def entity_saved(sender, **kwargs):
if 'signal' in kwargs:
del kwargs['signal']
if getattr(local, 'in_transaction', False):
local.notify.append(('save', sender, kwargs))
else:
signals.post_save_committed.send(sender=sender, **kwargs)
signals.post_save.connect(entity_saved)
def entity_deleted(sender, **kwargs):
if 'signal' in kwargs:
del kwargs['signal']
if getattr(local, 'in_transaction', False):
local.notify.append(('delete', sender, kwargs))
else:
signals.post_delete_committed.send(sender=sender, **kwargs)
signals.post_delete.connect(entity_deleted)
| Python |
from google.appengine.api import apiproxy_stub_map
import os, sys
have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3'))
if have_appserver:
appid = os.environ.get('APPLICATION_ID')
else:
try:
from google.appengine.tools import dev_appserver
from aecmd import PROJECT_DIR
appconfig, unused = dev_appserver.LoadAppConfig(PROJECT_DIR, {})
appid = appconfig.application
except ImportError:
appid = None
on_production_server = have_appserver and \
not os.environ.get('SERVER_SOFTWARE', '').lower().startswith('devel')
| Python |
from google.appengine.api.memcache import *
| Python |
from ragendja.settings_post import settings
from appenginepatcher import have_appserver, on_production_server
if have_appserver and not on_production_server and \
settings.MEDIA_URL.startswith('/'):
if settings.ADMIN_MEDIA_PREFIX.startswith(settings.MEDIA_URL):
settings.ADMIN_MEDIA_PREFIX = '/generated_media' + \
settings.ADMIN_MEDIA_PREFIX
settings.MEDIA_URL = '/generated_media' + settings.MEDIA_URL
settings.MIDDLEWARE_CLASSES = (
'mediautils.middleware.MediaMiddleware',
) + settings.MIDDLEWARE_CLASSES
| Python |
# -*- coding: utf-8 -*-
from django.conf import settings
from django.utils.simplejson import dumps
from os.path import getmtime
import os, codecs, shutil, logging, re
path_re = re.compile(r'/[^/]+/\.\./')
MEDIA_VERSION = unicode(settings.MEDIA_VERSION)
COMPRESSOR = os.path.join(os.path.dirname(__file__), '.yuicompressor.jar')
PROJECT_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(os.path.dirname(
os.path.dirname(__file__)))))
GENERATED_MEDIA = os.path.join(PROJECT_ROOT, '_generated_media')
MEDIA_ROOT = os.path.join(GENERATED_MEDIA, MEDIA_VERSION)
DYNAMIC_MEDIA = os.path.join(PROJECT_ROOT, '.dynamic_media')
# A list of file types that have to be combined
MUST_COMBINE = ['.js', '.css']
# Detect language codes
if not settings.USE_I18N:
LANGUAGES = (settings.LANGUAGE_CODE,)
else:
LANGUAGES = [code for code, _ in settings.LANGUAGES]
# Dynamic source handlers
def site_data(**kwargs):
"""Provide site_data variable with settings (currently only MEDIA_URL)."""
content = 'window.site_data = {};'
content += 'window.site_data.settings = %s;' % dumps({
'MEDIA_URL': settings.MEDIA_URL
})
return content
def lang_data(LANGUAGE_CODE, **kwargs):
# These are needed for i18n
from django.http import HttpRequest
from django.views.i18n import javascript_catalog
LANGUAGE_BIDI = LANGUAGE_CODE.split('-')[0] in \
settings.LANGUAGES_BIDI
request = HttpRequest()
request.GET['language'] = LANGUAGE_CODE
# Add some JavaScript data
content = 'var LANGUAGE_CODE = "%s";\n' % LANGUAGE_CODE
content += 'var LANGUAGE_BIDI = ' + \
(LANGUAGE_BIDI and 'true' or 'false') + ';\n'
content += javascript_catalog(request,
packages=settings.INSTALLED_APPS).content
# The hgettext() function just calls gettext() internally, but
# it won't get indexed by makemessages.
content += '\nwindow.hgettext = function(text) { return gettext(text); };\n'
# Add a similar hngettext() function
content += 'window.hngettext = function(singular, plural, count) { return ngettext(singular, plural, count); };\n'
return content
lang_data.name = 'lang-%(LANGUAGE_CODE)s.js'
def generatemedia(compressed):
if os.path.exists(MEDIA_ROOT):
shutil.rmtree(MEDIA_ROOT)
updatemedia(compressed)
def copy_file(path, generated):
dirpath = os.path.dirname(generated)
if not os.path.exists(dirpath):
os.makedirs(dirpath)
shutil.copyfile(path, generated)
def compress_file(path):
if not path.endswith(('.css', '.js')):
return
from subprocess import Popen
print ' Running yuicompressor...',
try:
cmd = Popen(['java', '-jar', COMPRESSOR, '--charset', 'UTF-8',
path, '-o', path])
if cmd.wait() == 0:
print '%d bytes' % os.path.getsize(path)
else:
print 'Failed!'
except:
raise Exception("Failed to execute Java VM. "
"Please make sure that you have installed Java "
"and that it's in your PATH.")
def get_file_path(handler, target, media_dirs, **kwargs):
if isinstance(handler, basestring):
path = handler % dict(kwargs, target=target)
app, filepath = path.replace('/', os.sep).split(os.sep, 1)
return os.path.abspath(os.path.join(media_dirs[app], filepath))
ext = os.path.splitext(target)[1]
owner = ''
for app in settings.INSTALLED_APPS:
if handler.__module__.startswith(app + '.') and len(app) > len(owner):
owner = app
owner = owner or handler.__module__
name = getattr(handler, 'name', handler.__name__ + ext) % dict(kwargs,
target=target)
assert '/' not in name
return os.path.join(DYNAMIC_MEDIA, '%s-%s' % (owner, name))
def get_css_content(handler, content, **kwargs):
# Add $MEDIA_URL variable to CSS files
content = content.replace('$MEDIA_URL/', settings.MEDIA_URL)
# Remove @charset rules
content = re.sub(r'@charset(.*?);', '', content)
if not isinstance(handler, basestring):
return content
def fixurls(path):
# Resolve ../ paths
path = '%s%s/%s' % (settings.MEDIA_URL,
os.path.dirname(handler % dict(kwargs)),
path.group(1))
while path_re.search(path):
path = path_re.sub('/', path, 1)
return 'url("%s")' % path
# Make relative paths work with MEDIA_URL
content = re.sub(r'url\s*\(["\']?([\w\.][^:]*?)["\']?\)',
fixurls, content)
return content
def get_file_content(handler, cache, **kwargs):
path = get_file_path(handler, **kwargs)
if path not in cache:
if isinstance(handler, basestring):
try:
file = codecs.open(path, 'r', 'utf-8')
cache[path] = file.read().lstrip(codecs.BOM_UTF8.decode('utf-8')
).replace('\r\n', '\n').replace('\r', '\n')
except:
logging.error('Error in %s' % path)
raise
file.close()
elif callable(handler):
cache[path] = handler(**kwargs)
else:
raise ValueError('Media generator source "%r" not valid!' % handler)
# Rewrite url() paths in CSS files
ext = os.path.splitext(path)[1]
if ext == '.css':
cache[path] = get_css_content(handler, cache[path], **kwargs)
return cache[path]
def update_dynamic_file(handler, cache, **kwargs):
assert callable(handler)
path = get_file_path(handler, **kwargs)
content = get_file_content(handler, cache, **kwargs)
needs_update = not os.path.exists(path)
if not needs_update:
file = codecs.open(path, 'r', 'utf-8')
if content != file.read():
needs_update = True
file.close()
if needs_update:
file = codecs.open(path, 'w', 'utf-8')
file.write(content)
file.close()
return needs_update
def get_target_content(group, cache, **kwargs):
content = ''
for handler in group:
content += get_file_content(handler, cache, **kwargs)
content += '\n'
return content
def get_targets(combine_media=settings.COMBINE_MEDIA, **kwargs):
"""Returns all files that must be combined."""
targets = []
for target in sorted(combine_media.keys()):
group = combine_media[target]
if '.site_data.js' in group:
# site_data must always come first because other modules might
# depend on it
group.remove('.site_data.js')
group.insert(0, site_data)
if '%(LANGUAGE_CODE)s' in target:
# This file uses i18n, so generate a separate file per language.
# The language data is always added before all other files.
for LANGUAGE_CODE in LANGUAGES:
data = kwargs.copy()
data['LANGUAGE_CODE'] = LANGUAGE_CODE
filename = target % data
data['target'] = filename
group.insert(0, lang_data)
targets.append((filename, data, group))
elif '%(LANGUAGE_DIR)s' in target:
# Generate CSS files for both text directions
for LANGUAGE_DIR in ('ltr', 'rtl'):
data = kwargs.copy()
data['LANGUAGE_DIR'] = LANGUAGE_DIR
filename = target % data
data['target'] = filename
targets.append((filename, data, group))
else:
data = kwargs.copy()
filename = target % data
data['target'] = filename
targets.append((filename, data, group))
return targets
def get_copy_targets(media_dirs, **kwargs):
"""Returns paths of files that must be copied directly."""
# Some files types (MUST_COMBINE) never get copied.
# They must always be combined.
targets = {}
for app, media_dir in media_dirs.items():
for root, dirs, files in os.walk(media_dir):
for name in dirs[:]:
if name.startswith('.'):
dirs.remove(name)
for file in files:
if file.startswith('.') or file.endswith(tuple(MUST_COMBINE)):
continue
path = os.path.abspath(os.path.join(root, file))
base = app + path[len(media_dir):]
targets[base.replace(os.sep, '/')] = path
return targets
def cleanup_dir(dir, paths):
# Remove old generated files
keep = []
dir = os.path.abspath(dir)
for path in paths:
if not os.path.isabs(path):
path = os.path.join(dir, path)
path = os.path.abspath(path)
while path not in keep and path != dir:
keep.append(path)
path = os.path.dirname(path)
for root, dirs, files in os.walk(dir):
for name in dirs[:]:
path = os.path.abspath(os.path.join(root, name))
if path not in keep:
shutil.rmtree(path)
dirs.remove(name)
for file in files:
path = os.path.abspath(os.path.join(root, file))
if path not in keep:
os.remove(path)
def get_media_dirs():
from ragendja.apputils import get_app_dirs
media_dirs = get_app_dirs('media')
media_dirs['global'] = os.path.join(PROJECT_ROOT, 'media')
return media_dirs
def updatemedia(compressed=None):
if 'mediautils' not in settings.INSTALLED_APPS:
return
# Remove unused media versions
if os.path.exists(GENERATED_MEDIA):
entries = os.listdir(GENERATED_MEDIA)
if len(entries) != 1 or MEDIA_VERSION not in entries:
shutil.rmtree(GENERATED_MEDIA)
from ragendja.apputils import get_app_dirs
# Remove old media if settings got modified (too much work to check
# if COMBINE_MEDIA was changed)
mtime = getmtime(os.path.join(PROJECT_ROOT, 'settings.py'))
for app_path in get_app_dirs().values():
path = os.path.join(app_path, 'settings.py')
if os.path.exists(path) and os.path.getmtime(path) > mtime:
mtime = os.path.getmtime(path)
if os.path.exists(MEDIA_ROOT) and getmtime(MEDIA_ROOT) <= mtime:
shutil.rmtree(MEDIA_ROOT)
if not os.path.exists(MEDIA_ROOT):
os.makedirs(MEDIA_ROOT)
if not os.path.exists(DYNAMIC_MEDIA):
os.makedirs(DYNAMIC_MEDIA)
if compressed is None:
compressed = not getattr(settings, 'FORCE_UNCOMPRESSED_MEDIA', False)
media_dirs = get_media_dirs()
data = {'media_dirs': media_dirs}
targets = get_targets(**data)
copy_targets = get_copy_targets(**data)
target_names = [target[0] for target in targets]
# Remove unneeded files
cleanup_dir(MEDIA_ROOT, target_names + copy_targets.keys())
dynamic_files = []
for target, kwargs, group in targets:
for handler in group:
if callable(handler):
dynamic_files.append(get_file_path(handler, **kwargs))
cleanup_dir(DYNAMIC_MEDIA, dynamic_files)
# Copy files
for target in sorted(copy_targets.keys()):
# Only overwrite files if they've been modified. Also, only
# copy files that won't get combined.
path = copy_targets[target]
generated = os.path.join(MEDIA_ROOT, target.replace('/', os.sep))
if os.path.exists(generated) and \
getmtime(generated) >= getmtime(path):
continue
print 'Copying %s...' % target
copy_file(path, generated)
# Update dynamic files
cache = {}
for target, kwargs, group in targets:
for handler in group:
if callable(handler):
update_dynamic_file(handler, cache, **kwargs)
# Combine media files
for target, kwargs, group in targets:
files = [get_file_path(handler, **kwargs) for handler in group]
path = os.path.join(MEDIA_ROOT, target.replace('/', os.sep))
# Only overwrite files if they've been modified
if os.path.exists(path):
target_mtime = getmtime(path)
if not [1 for name in files if os.path.exists(name) and
getmtime(name) >= target_mtime]:
continue
print 'Combining %s...' % target
dirpath = os.path.dirname(path)
if not os.path.exists(dirpath):
os.makedirs(dirpath)
file = codecs.open(path, 'w', 'utf-8')
file.write(get_target_content(group, cache, **kwargs))
file.close()
if compressed:
compress_file(path)
| Python |
# -*- coding: utf-8 -*-
from os.path import getmtime
import codecs, os
def updatemessages():
from django.conf import settings
if not settings.USE_I18N:
return
from django.core.management.commands.compilemessages import compile_messages
if any([needs_update(path) for path in settings.LOCALE_PATHS]):
compile_messages()
LOCALE_PATHS = settings.LOCALE_PATHS
settings.LOCALE_PATHS = ()
cwd = os.getcwdu()
for app in settings.INSTALLED_APPS:
path = os.path.dirname(__import__(app, {}, {}, ['']).__file__)
locale = os.path.join(path, 'locale')
if os.path.isdir(locale):
# Copy Python translations into JavaScript translations
update_js_translations(locale)
if needs_update(locale):
os.chdir(path)
compile_messages()
settings.LOCALE_PATHS = LOCALE_PATHS
os.chdir(cwd)
def needs_update(locale):
for root, dirs, files in os.walk(locale):
po_files = [os.path.join(root, file)
for file in files if file.endswith('.po')]
for po_file in po_files:
mo_file = po_file[:-2] + 'mo'
if not os.path.exists(mo_file) or \
getmtime(po_file) > getmtime(mo_file):
return True
return False
def update_js_translations(locale):
for lang in os.listdir(locale):
base_path = os.path.join(locale, lang, 'LC_MESSAGES')
py_file = os.path.join(base_path, 'django.po')
js_file = os.path.join(base_path, 'djangojs.po')
modified = False
if os.path.exists(py_file) and os.path.exists(js_file):
py_lines, py_mapping = load_translations(py_file)
js_lines, js_mapping = load_translations(js_file)
for msgid in js_mapping:
if msgid in py_mapping:
py_index = py_mapping[msgid]
js_index = js_mapping[msgid]
if py_lines[py_index] != js_lines[js_index]:
modified = True
# Copy comment to JS, too
if js_index >= 2 and py_index >= 2:
if js_lines[js_index - 2].startswith('#') and \
py_lines[py_index - 2].startswith('#'):
js_lines[js_index - 2] = py_lines[py_index - 2]
js_lines[js_index] = py_lines[py_index]
if modified:
print 'Updating JS locale for %s' % os.path.join(locale, lang)
file = codecs.open(js_file, 'w', 'utf-8')
file.write(''.join(js_lines))
file.close()
def load_translations(path):
"""Loads translations grouped into logical sections."""
file = codecs.open(path, 'r', 'utf-8')
lines = file.readlines()
file.close()
mapping = {}
msgid = None
start = -1
resultlines = []
for index, line in enumerate(lines):
# Group comments
if line.startswith('#'):
if resultlines and resultlines[-1].startswith('#'):
resultlines[-1] = resultlines[-1] + lines[index]
else:
resultlines.append(lines[index])
continue
if msgid is not None and (not line.strip() or line.startswith('msgid ')):
mapping[msgid] = len(resultlines)
resultlines.append(''.join(lines[start:index]))
msgid = None
start = -1
if line.startswith('msgid '):
line = line[len('msgid'):].strip()
start = -1
msgid = ''
if start < 0 and line.startswith('"'):
msgid += line.strip()[1:-1]
resultlines.append(lines[index])
continue
if line.startswith('msgstr') and start < 0:
start = index
if start < 0:
if resultlines and not resultlines[-1].startswith('msgstr'):
resultlines[-1] = resultlines[-1] + lines[index]
else:
resultlines.append(lines[index])
if msgid and start:
mapping[msgid] = len(resultlines)
resultlines.append(''.join(lines[start:]))
return resultlines, mapping
| Python |
# -*- coding: utf-8 -*-
"""
This app combines media files specified in the COMBINE_MEDIA setting into one
single file. It's a dictionary mapping the combined name to a tuple of files
that should be combined:
COMBINE_MEDIA = {
'global/js/combined.js': (
'global/js/main.js',
'app/js/other.js',
),
'global/css/main.css': (
'global/css/base.css',
'app/css/app.css',
)
}
The files will automatically be combined if you use manage.py runserver.
Files that shouldn't be combined are simply copied. Also, all css and js files
get compressed with yuicompressor. The result is written in a folder named
_generated_media.
If the target is a JavaScript file whose name contains the string
'%(LANGUAGE_CODE)s' it'll automatically be internationalized and multiple
files will be generated (one for each language code).
"""
from django.core.management.base import NoArgsCommand
from optparse import make_option
from mediautils.generatemedia import generatemedia, updatemedia, MEDIA_ROOT
import os, shutil
class Command(NoArgsCommand):
help = 'Combines and compresses your media files and saves them in _generated_media.'
option_list = NoArgsCommand.option_list + (
make_option('--uncompressed', action='store_true', dest='uncompressed',
help='Do not run yuicompressor on generated media.'),
make_option('--update', action='store_true', dest='update',
help='Only update changed files instead of regenerating everything.'),
)
requires_model_validation = False
def handle_noargs(self, **options):
compressed = None
if options.get('uncompressed'):
compressed = False
if options.get('update'):
updatemedia(compressed)
else:
generatemedia(compressed)
| Python |
# -*- coding: utf-8 -*-
from django.core.management.base import NoArgsCommand, CommandError
from optparse import make_option
import os, cStringIO, gzip, mimetypes
class Command(NoArgsCommand):
help = 'Uploads your _generated_media folder to Amazon S3.'
option_list = NoArgsCommand.option_list + (
make_option('--production', action='store_true', dest='production',
help='Does a real upload instead of a simulation.'),
)
requires_model_validation = False
def handle_noargs(self, **options):
s3uploadmedia(options.get('production', False))
def submit_cb(bytes_so_far, total_bytes):
print ' %d bytes transferred / %d bytes total\r' % (bytes_so_far,
total_bytes),
def s3uploadmedia(production):
from django.conf import settings
from ragendja.apputils import get_app_dirs
try:
from boto.s3.connection import S3Connection
except ImportError:
raise CommandError('This command requires boto.')
bucket_name = settings.MEDIA_BUCKET
if production:
connection = S3Connection()
bucket = connection.get_bucket(bucket_name)
print 'Uploading to %s' % bucket_name
print '\nDeleting old files...'
if production:
for key in bucket:
key.delete()
print '\nUploading new files...'
base = os.path.abspath('_generated_media')
for root, dirs, files in os.walk(base):
for file in files:
path = os.path.join(root, file)
key_name = path[len(base)+1:].replace(os.sep, '/')
print 'Copying %s (%d bytes)' % (key_name,
os.path.getsize(path))
if production:
key = bucket.new_key(key_name)
fp = open(path, 'rb')
headers = {}
# Text files should be compressed to speed up site loading
if file.split('.')[-1] in ('css', 'ht', 'js'):
print ' GZipping...',
gzbuf = cStringIO.StringIO()
zfile = gzip.GzipFile(mode='wb', fileobj=gzbuf)
zfile.write(fp.read())
zfile.close()
fp.close()
print '%d bytes' % gzbuf.tell()
gzbuf.seek(0)
fp = gzbuf
headers['Content-Encoding'] = 'gzip'
headers['Content-Type'] = mimetypes.guess_type(file)[0]
if production:
key.set_contents_from_file(fp, headers=headers,
cb=submit_cb, num_cb=10, policy='public-read')
fp.close()
if not production:
print '=============================================='
print 'This was just a simulation.'
print 'Please use --production to enforce the update.'
print 'Warning: This will change the production site!'
print '=============================================='
| Python |
# -*- coding: utf-8 -*-
from django.http import HttpResponse, Http404
from django.views.decorators.cache import cache_control
from mediautils.generatemedia import get_targets, get_copy_targets, \
get_target_content, get_media_dirs
from mimetypes import guess_type
from ragendja.template import render_to_response
@cache_control(public=True, max_age=3600*24*60*60)
def get_file(request, path):
media_dirs = get_media_dirs()
data = {'media_dirs': media_dirs}
targets = get_targets(**data)
copy_targets = get_copy_targets(**data)
target_names = [target[0] for target in targets]
name = path.rsplit('/', 1)[-1]
cache = {}
if path in target_names:
target, kwargs, group = targets[target_names.index(path)]
content = get_target_content(group, cache, **kwargs)
elif path in copy_targets:
fp = open(copy_targets[path], 'rb')
content = fp.read()
fp.close()
else:
raise Http404('Media file not found: %s' % path)
return HttpResponse(content,
content_type=guess_type(name)[0] or 'application/octet-stream')
| Python |
# -*- coding: utf-8 -*-
from django.conf import settings
from mediautils.views import get_file
class MediaMiddleware(object):
"""Returns media files.
This is a middleware, so it can handle the request as early as possible
and thus with minimum overhead."""
def process_request(self, request):
if request.path.startswith(settings.MEDIA_URL):
path = request.path[len(settings.MEDIA_URL):]
return get_file(request, path)
return None
| Python |
from django.conf import settings
from django.core.cache import cache
from django.contrib.sites.models import Site
from ragendja.dbutils import db_create
from ragendja.pyutils import make_tls_property
_default_site_id = getattr(settings, 'SITE_ID', None)
SITE_ID = settings.__class__.SITE_ID = make_tls_property()
class DynamicSiteIDMiddleware(object):
"""Sets settings.SIDE_ID based on request's domain"""
def process_request(self, request):
# Ignore port if it's 80 or 443
if ':' in request.get_host():
domain, port = request.get_host().split(':')
if int(port) not in (80, 443):
domain = request.get_host()
else:
domain = request.get_host().split(':')[0]
# We cache the SITE_ID
cache_key = 'Site:domain:%s' % domain
site = cache.get(cache_key)
if site:
SITE_ID.value = site
else:
site = Site.all().filter('domain =', domain).get()
if not site:
# Fall back to with/without 'www.'
if domain.startswith('www.'):
fallback_domain = domain[4:]
else:
fallback_domain = 'www.' + domain
site = Site.all().filter('domain =', fallback_domain).get()
# Add site if it doesn't exist
if not site and getattr(settings, 'CREATE_SITES_AUTOMATICALLY',
True):
site = db_create(Site, domain=domain, name=domain)
site.put()
# Set SITE_ID for this thread/request
if site:
SITE_ID.value = str(site.key())
else:
SITE_ID.value = _default_site_id
cache.set(cache_key, SITE_ID.value, 5*60)
| Python |
# -*- coding: utf-8 -*-
"""
Imports urlpatterns from apps, so we can have nice plug-n-play installation. :)
"""
from django.conf.urls.defaults import *
from django.conf import settings
IGNORE_APP_URLSAUTO = getattr(settings, 'IGNORE_APP_URLSAUTO', ())
check_app_imports = getattr(settings, 'check_app_imports', None)
urlpatterns = patterns('')
for app in settings.INSTALLED_APPS:
if app == 'ragendja' or app.startswith('django.') or \
app in IGNORE_APP_URLSAUTO:
continue
appname = app.rsplit('.', 1)[-1]
try:
if check_app_imports:
check_app_imports(app)
module = __import__(app + '.urlsauto', {}, {}, [''])
except ImportError:
pass
else:
if hasattr(module, 'urlpatterns'):
urlpatterns += patterns('', (r'^%s/' % appname,
include(app + '.urlsauto')),)
if hasattr(module, 'rootpatterns'):
urlpatterns += module.rootpatterns
| Python |
from django.conf import settings
import os
def import_module(module_name):
return __import__(module_name, {}, {}, [''])
def import_package(package_name):
package = [import_module(package_name)]
if package[0].__file__.rstrip('.pyc').rstrip('.py').endswith('__init__'):
package.extend([import_module(package_name + '.' + name)
for name in list_modules(package[0])])
return package
def list_modules(package):
dir = os.path.normpath(os.path.dirname(package.__file__))
try:
return set([name.rsplit('.', 1)[0] for name in os.listdir(dir)
if not name.startswith('_') and name.endswith(('.py', '.pyc'))])
except OSError:
return []
def get_app_modules(module_name=None):
app_map = {}
for app in settings.INSTALLED_APPS:
appname = app.rsplit('.', 1)[-1]
try:
if module_name:
app_map[appname] = import_package(app + '.' + module_name)
else:
app_map[appname] = [import_module(app)]
except ImportError:
if module_name in list_modules(import_module(app)):
raise
return app_map
def get_app_dirs(subdir=None):
app_map = {}
for appname, module in get_app_modules().items():
dir = os.path.abspath(os.path.dirname(module[0].__file__))
if subdir:
dir = os.path.join(dir, subdir)
if os.path.isdir(dir):
app_map[appname] = dir
return app_map
| Python |
# -*- coding: utf-8 -*-
from django.utils._threading_local import local
def make_tls_property(default=None):
"""Creates a class-wide instance property with a thread-specific value."""
class TLSProperty(object):
def __init__(self):
self.local = local()
def __get__(self, instance, cls):
if not instance:
return self
return self.value
def __set__(self, instance, value):
self.value = value
def _get_value(self):
return getattr(self.local, 'value', default)
def _set_value(self, value):
self.local.value = value
value = property(_get_value, _set_value)
return TLSProperty()
def getattr_by_path(obj, attr, *default):
"""Like getattr(), but can go down a hierarchy like 'attr.subattr'"""
value = obj
for part in attr.split('.'):
if not hasattr(value, part) and len(default):
return default[0]
value = getattr(value, part)
if callable(value):
value = value()
return value
def subdict(data, *attrs):
"""Returns a subset of the keys of a dictionary."""
result = {}
result.update([(key, data[key]) for key in attrs])
return result
def equal_lists(left, right):
"""
Compares two lists and returs True if they contain the same elements, but
doesn't require that they have the same order.
"""
right = list(right)
if len(left) != len(right):
return False
for item in left:
if item in right:
del right[right.index(item)]
else:
return False
return True
def object_list_to_table(headings, dict_list):
"""
Converts objects to table-style list of rows with heading:
Example:
x.a = 1
x.b = 2
x.c = 3
y.a = 11
y.b = 12
y.c = 13
object_list_to_table(('a', 'b', 'c'), [x, y])
results in the following (dict keys reordered for better readability):
[
('a', 'b', 'c'),
(1, 2, 3),
(11, 12, 13),
]
"""
return [headings] + [tuple([getattr_by_path(row, heading, None)
for heading in headings])
for row in dict_list]
def dict_list_to_table(headings, dict_list):
"""
Converts dict to table-style list of rows with heading:
Example:
dict_list_to_table(('a', 'b', 'c'),
[{'a': 1, 'b': 2, 'c': 3}, {'a': 11, 'b': 12, 'c': 13}])
results in the following (dict keys reordered for better readability):
[
('a', 'b', 'c'),
(1, 2, 3),
(11, 12, 13),
]
"""
return [headings] + [tuple([row[heading] for heading in headings])
for row in dict_list]
| Python |
# -*- coding: utf-8 -*-
from django.test import TestCase
from google.appengine.ext import db
from pyutils import object_list_to_table, equal_lists
import os
class ModelTestCase(TestCase):
"""
A test case for models that provides an easy way to validate the DB
contents against a given list of row-values.
You have to specify the model to validate using the 'model' attribute:
class MyTestCase(ModelTestCase):
model = MyModel
"""
def validate_state(self, columns, *state_table):
"""
Validates that the DB contains exactly the values given in the state
table. The list of columns is given in the columns tuple.
Example:
self.validate_state(
('a', 'b', 'c'),
(1, 2, 3),
(11, 12, 13),
)
validates that the table contains exactly two rows and that their
'a', 'b', and 'c' attributes are 1, 2, 3 for one row and 11, 12, 13
for the other row. The order of the rows doesn't matter.
"""
current_state = object_list_to_table(columns,
self.model.all())[1:]
if not equal_lists(current_state, state_table):
print 'DB state not valid:'
print 'Current state:'
print columns
for state in current_state:
print state
print 'Should be:'
for state in state_table:
print state
self.fail('DB state not valid')
| Python |
from copy import deepcopy
import re
from django import forms
from django.utils.datastructures import SortedDict, MultiValueDict
from django.utils.html import conditional_escape
from django.utils.encoding import StrAndUnicode, smart_unicode, force_unicode
from django.utils.safestring import mark_safe
from django.forms.widgets import flatatt
from google.appengine.ext import db
class FakeModelIterator(object):
def __init__(self, fake_model):
self.fake_model = fake_model
def __iter__(self):
for item in self.fake_model.all():
yield (item.get_value_for_datastore(), unicode(item))
class FakeModelChoiceField(forms.ChoiceField):
def __init__(self, fake_model, *args, **kwargs):
self.fake_model = fake_model
kwargs['choices'] = ()
super(FakeModelChoiceField, self).__init__(*args, **kwargs)
def _get_choices(self):
return self._choices
def _set_choices(self, choices):
self._choices = self.widget.choices = FakeModelIterator(self.fake_model)
choices = property(_get_choices, _set_choices)
def clean(self, value):
value = super(FakeModelChoiceField, self).clean(value)
return self.fake_model.make_value_from_datastore(value)
class FakeModelMultipleChoiceField(forms.MultipleChoiceField):
def __init__(self, fake_model, *args, **kwargs):
self.fake_model = fake_model
kwargs['choices'] = ()
super(FakeModelMultipleChoiceField, self).__init__(*args, **kwargs)
def _get_choices(self):
return self._choices
def _set_choices(self, choices):
self._choices = self.widget.choices = FakeModelIterator(self.fake_model)
choices = property(_get_choices, _set_choices)
def clean(self, value):
value = super(FakeModelMultipleChoiceField, self).clean(value)
return [self.fake_model.make_value_from_datastore(item)
for item in value]
class FormWithSets(object):
def __init__(self, form, formsets=()):
self.form = form
setattr(self, '__module__', form.__module__)
setattr(self, '__name__', form.__name__ + 'WithSets')
setattr(self, '__doc__', form.__doc__)
self._meta = form._meta
fields = [(name, field) for name, field in form.base_fields.iteritems() if isinstance(field, FormSetField)]
formset_dict = dict(formsets)
newformsets = []
for name, field in fields:
if formset_dict.has_key(name):
continue
newformsets.append((name, {'formset':field.make_formset(form._meta.model)}))
self.formsets = formsets + tuple(newformsets)
def __call__(self, *args, **kwargs):
prefix = kwargs['prefix'] + '-' if 'prefix' in kwargs else ''
form = self.form(*args, **kwargs)
if 'initial' in kwargs:
del kwargs['initial']
formsets = []
for name, formset in self.formsets:
kwargs['prefix'] = prefix + name
instance = formset['formset'](*args, **kwargs)
if form.base_fields.has_key(name):
field = form.base_fields[name]
else:
field = FormSetField(formset['formset'].model, **formset)
formsets.append(BoundFormSet(field, instance, name, formset))
return type(self.__name__ + 'Instance', (FormWithSetsInstance, ), {})(self, form, formsets)
def pretty_name(name):
"Converts 'first_name' to 'First name'"
name = name[0].upper() + name[1:]
return name.replace('_', ' ')
table_sections_re = re.compile(r'^(.*?)(<tr>.*</tr>)(.*?)$', re.DOTALL)
table_row_re = re.compile(r'(<tr>(<th><label.*?</label></th>)(<td>.*?</td>)</tr>)', re.DOTALL)
ul_sections_re = re.compile(r'^(.*?)(<li>.*</li>)(.*?)$', re.DOTALL)
ul_row_re = re.compile(r'(<li>(<label.*?</label>)(.*?)</li>)', re.DOTALL)
p_sections_re = re.compile(r'^(.*?)(<p>.*</p>)(.*?)$', re.DOTALL)
p_row_re = re.compile(r'(<p>(<label.*?</label>)(.*?)</p>)', re.DOTALL)
label_re = re.compile(r'^(.*)<label for="id_(.*?)">(.*)</label>(.*)$')
hidden_re = re.compile(r'(<input type="hidden".* />)', re.DOTALL)
class BoundFormSet(StrAndUnicode):
def __init__(self, field, formset, name, args):
self.field = field
self.formset = formset
self.name = name
self.args = args
if self.field.label is None:
self.label = pretty_name(name)
else:
self.label = self.field.label
self.auto_id = self.formset.auto_id % self.formset.prefix
if args.has_key('attrs'):
self.attrs = args['attrs'].copy()
else:
self.attrs = {}
def __unicode__(self):
"""Renders this field as an HTML widget."""
return self.as_widget()
def as_widget(self, attrs=None):
"""
Renders the field by rendering the passed widget, adding any HTML
attributes passed as attrs. If no widget is specified, then the
field's default widget will be used.
"""
attrs = attrs or {}
auto_id = self.auto_id
if auto_id and 'id' not in attrs and not self.args.has_key('id'):
attrs['id'] = auto_id
try:
data = self.formset.as_table()
name = self.name
return self.render(name, data, attrs=attrs)
except Exception, e:
import traceback
return traceback.format_exc()
def render(self, name, value, attrs=None):
table_sections = table_sections_re.search(value).groups()
output = []
heads = []
current_row = []
first_row = True
first_head_id = None
prefix = 'id_%s-%%s-' % self.formset.prefix
for row, head, item in table_row_re.findall(table_sections[1]):
if first_row:
head_groups = label_re.search(head).groups()
if first_head_id == head_groups[1]:
first_row = False
output.append(current_row)
current_row = []
else:
heads.append('%s%s%s' % (head_groups[0], head_groups[2], head_groups[3]))
if first_head_id is None:
first_head_id = head_groups[1].replace('-0-','-1-')
current_row.append(item)
if not first_row and len(current_row) >= len(heads):
output.append(current_row)
current_row = []
if len(current_row) != 0:
raise Exception('Unbalanced render')
return mark_safe(u'%s<table%s><tr>%s</tr><tr>%s</tr></table>%s'%(
table_sections[0],
flatatt(attrs),
u''.join(heads),
u'</tr><tr>'.join((u''.join(x) for x in output)),
table_sections[2]))
class CachedQuerySet(object):
def __init__(self, get_queryset):
self.queryset_results = (x for x in get_queryset())
def __call__(self):
return self.queryset_results
class FormWithSetsInstance(object):
def __init__(self, master, form, formsets):
self.master = master
self.form = form
self.formsets = formsets
self.instance = form.instance
def __unicode__(self):
return self.as_table()
def is_valid(self):
result = self.form.is_valid()
for bf in self.formsets:
result = bf.formset.is_valid() and result
return result
def save(self, *args, **kwargs):
def save_forms(forms, obj=None):
for form in forms:
if not instance and form != self.form:
for row in form.forms:
row.cleaned_data[form.rel_name] = obj
form_obj = form.save(*args, **kwargs)
if form == self.form:
obj = form_obj
return obj
instance = self.form.instance
grouped = []
ungrouped = []
# cache the result of get_queryset so that it doesn't run inside the transaction
for bf in self.formsets:
if bf.formset.rel_name == 'parent':
grouped.append(bf.formset)
else:
ungrouped.append(bf.formset)
bf.formset_get_queryset = bf.formset.get_queryset
bf.formset.get_queryset = CachedQuerySet(bf.formset_get_queryset)
if grouped:
grouped.insert(0, self.form)
else:
ungrouped.insert(0, self.form)
obj = None
if grouped:
obj = db.run_in_transaction(save_forms, grouped)
obj = save_forms(ungrouped, obj)
for bf in self.formsets:
bf.formset.get_queryset = bf.formset_get_queryset
del bf.formset_get_queryset
return obj
def _html_output(self, form_as, normal_row, help_text_html, sections_re, row_re):
formsets = SortedDict()
for bf in self.formsets:
if bf.label:
label = conditional_escape(force_unicode(bf.label))
# Only add the suffix if the label does not end in
# punctuation.
if self.form.label_suffix:
if label[-1] not in ':?.!':
label += self.form.label_suffix
label = label or ''
else:
label = ''
if bf.field.help_text:
help_text = help_text_html % force_unicode(bf.field.help_text)
else:
help_text = u''
formsets[bf.name] = {'label': force_unicode(label), 'field': unicode(bf), 'help_text': help_text}
try:
output = []
data = form_as()
section_search = sections_re.search(data)
if formsets:
hidden = u''.join(hidden_re.findall(data))
last_formset_name, last_formset = formsets.items()[-1]
last_formset['field'] = last_formset['field'] + hidden
formsets[last_formset_name] = normal_row % last_formset
for name, formset in formsets.items()[:-1]:
formsets[name] = normal_row % formset
if not section_search:
output.append(data)
else:
section_groups = section_search.groups()
for row, head, item in row_re.findall(section_groups[1]):
head_search = label_re.search(head)
if head_search:
id = head_search.groups()[1]
if formsets.has_key(id):
row = formsets[id]
del formsets[id]
output.append(row)
for name, row in formsets.items():
if name in self.form.fields.keyOrder:
output.append(row)
return mark_safe(u'\n'.join(output))
except Exception,e:
import traceback
return traceback.format_exc()
def as_table(self):
"Returns this form rendered as HTML <tr>s -- excluding the <table></table>."
return self._html_output(self.form.as_table, u'<tr><th>%(label)s</th><td>%(help_text)s%(field)s</td></tr>', u'<br />%s', table_sections_re, table_row_re)
def as_ul(self):
"Returns this form rendered as HTML <li>s -- excluding the <ul></ul>."
return self._html_output(self.form.as_ul, u'<li>%(label)s %(help_text)s%(field)s</li>', u' %s', ul_sections_re, ul_row_re)
def as_p(self):
"Returns this form rendered as HTML <p>s."
return self._html_output(self.form.as_p, u'<p>%(label)s %(help_text)s</p>%(field)s', u' %s', p_sections_re, p_row_re)
def full_clean(self):
self.form.full_clean()
for bf in self.formsets:
bf.formset.full_clean()
def has_changed(self):
result = self.form.has_changed()
for bf in self.formsets:
result = bf.formset.has_changed() or result
return result
def is_multipart(self):
result = self.form.is_multipart()
for bf in self.formsets:
result = bf.formset.is_multipart() or result
return result
@property
def media(self):
return mark_safe(unicode(self.form.media) + u'\n'.join([unicode(f.formset.media) for f in self.formsets]))
from django.forms.fields import Field
from django.forms.widgets import Widget
from django.forms.models import inlineformset_factory
class FormSetWidget(Widget):
def __init__(self, field, attrs=None):
super(FormSetWidget, self).__init__(attrs)
self.field = field
def render(self, name, value, attrs=None):
if value is None: value = 'FormWithSets decorator required to render %s FormSet' % self.field.model.__name__
value = force_unicode(value)
final_attrs = self.build_attrs(attrs, name=name)
return mark_safe(conditional_escape(value))
class FormSetField(Field):
def __init__(self, model, widget=FormSetWidget, label=None, initial=None,
help_text=None, error_messages=None, show_hidden_initial=False,
formset_factory=inlineformset_factory, *args, **kwargs):
widget = widget(self)
super(FormSetField, self).__init__(required=False, widget=widget, label=label, initial=initial, help_text=help_text, error_messages=error_messages, show_hidden_initial=show_hidden_initial)
self.model = model
self.formset_factory = formset_factory
self.args = args
self.kwargs = kwargs
def make_formset(self, parent_model):
return self.formset_factory(parent_model, self.model, *self.args, **self.kwargs)
| Python |
# -*- coding: utf-8 -*-
from copy import deepcopy
from django.forms.forms import NON_FIELD_ERRORS
from django.template import Library
from django.utils.datastructures import SortedDict
from django.utils.safestring import mark_safe
from django.utils.translation import ugettext as _
from ragendja.dbutils import prefetch_references
register = Library()
register.filter('prefetch_references', prefetch_references)
_js_escapes = {
'>': r'\x3E',
'<': r'\x3C',
'&': r'\x26',
'=': r'\x3D',
'-': r'\x2D',
';': r'\x3B',
}
@register.filter
def encodejs(value):
from django.utils import simplejson
from ragendja.json import LazyEncoder
value = simplejson.dumps(value, cls=LazyEncoder)
for bad, good in _js_escapes.items():
value = value.replace(bad, good)
return mark_safe(value)
@register.filter
def urlquerybase(url):
"""
Appends '?' or '&' to an url, so you can easily add extra GET parameters.
"""
if url:
if '?' in url:
url += '&'
else:
url += '?'
return url
@register.simple_tag
def htrans(value):
"""
Creates a "hidden" translation.
Translates a string, but doesn't add it to django.po. This is useful
if you use the same string in multiple apps and don't want to translate
it in each of them (the translations will get overriden by the last app,
anyway).
"""
return _(value)
@register.simple_tag
def exclude_form_fields(form=None, fields=None, as_choice='as_table',
global_errors=True):
fields=fields.replace(' ', '').split(',')
if not global_errors:
form.errors[NON_FIELD_ERRORS] = form.error_class()
fields_backup = deepcopy(form.fields)
for field in fields:
if field in form.fields:
del form.fields[field]
resulting_text = getattr(form, as_choice)()
form.fields = fields_backup
return resulting_text
@register.simple_tag
def include_form_fields(form=None, fields=None, as_choice='as_table',
global_errors=True):
fields=fields.replace(' ', '').split(',')
if not global_errors:
form.errors[NON_FIELD_ERRORS] = form.error_class()
fields_backup = deepcopy(form.fields)
form.fields = SortedDict()
for field in fields:
if field in fields_backup:
form.fields[field] = fields_backup[field]
resulting_text = getattr(form, as_choice)()
form.fields = fields_backup
return resulting_text
@register.simple_tag
def ordered_form(form=None, fields=None, as_choice='as_table'):
resulting_text = ''
if len(form.non_field_errors()) != 0:
fields_backup = deepcopy(form.fields)
form.fields = {}
resulting_text = getattr(form, as_choice)()
form.fields = fields_backup
resulting_text = resulting_text + include_form_fields(form, fields,
as_choice, False) + exclude_form_fields(form, fields, as_choice, False)
return resulting_text
| Python |
# -*- coding: utf-8 -*-
from django.conf import settings
from django.template import Library
from django.utils.html import escape
from google.appengine.api import users
register = Library()
@register.simple_tag
def google_login_url(redirect=settings.LOGIN_REDIRECT_URL):
return escape(users.create_login_url(redirect))
@register.simple_tag
def google_logout_url(redirect='/'):
prefixes = getattr(settings, 'LOGIN_REQUIRED_PREFIXES', ())
if any(redirect.startswith(prefix) for prefix in prefixes):
redirect = '/'
return escape(users.create_logout_url(redirect))
| Python |
from django.contrib.auth.models import *
from django.contrib.auth.models import DjangoCompatibleUser as User
| Python |
# -*- coding: utf-8 -*-
"""
Provides basic set of auth urls.
"""
from django.conf.urls.defaults import *
from django.conf import settings
urlpatterns = patterns('')
LOGIN = '^%s$' % settings.LOGIN_URL.lstrip('/')
LOGOUT = '^%s$' % settings.LOGOUT_URL.lstrip('/')
# If user set a LOGOUT_REDIRECT_URL we do a redirect.
# Otherwise we display the default template.
LOGOUT_DATA = {'next_page': getattr(settings, 'LOGOUT_REDIRECT_URL', None)}
# register auth urls depending on whether we use google or hybrid auth
if 'ragendja.auth.middleware.GoogleAuthenticationMiddleware' in \
settings.MIDDLEWARE_CLASSES:
urlpatterns += patterns('',
url(LOGIN, 'ragendja.auth.views.google_login',
name='django.contrib.auth.views.login'),
url(LOGOUT, 'ragendja.auth.views.google_logout', LOGOUT_DATA,
name='django.contrib.auth.views.logout'),
)
elif 'ragendja.auth.middleware.HybridAuthenticationMiddleware' in \
settings.MIDDLEWARE_CLASSES:
urlpatterns += patterns('',
url(LOGIN, 'ragendja.auth.views.hybrid_login',
name='django.contrib.auth.views.login'),
url(LOGOUT, 'ragendja.auth.views.hybrid_logout', LOGOUT_DATA,
name='django.contrib.auth.views.logout'),
)
# When faking a real function we always have to add the real function, too.
urlpatterns += patterns('',
url(LOGIN, 'django.contrib.auth.views.login'),
url(LOGOUT, 'django.contrib.auth.views.logout', LOGOUT_DATA,),
)
| Python |
# -*- coding: utf-8 -*-
from google.appengine.api import users
def google_user(request):
return {'google_user': users.get_current_user()}
| Python |
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from google.appengine.api import users
from google.appengine.ext import db
from ragendja.auth.models import EmailUserTraits
class GoogleUserTraits(EmailUserTraits):
@classmethod
def get_djangouser_for_user(cls, user):
django_user = cls.all().filter('user =', user).get()
if django_user:
if getattr(settings, 'AUTH_ADMIN_USER_AS_SUPERUSER', True):
is_admin = users.is_current_user_admin()
if django_user.is_staff != is_admin or \
django_user.is_superuser != is_admin:
django_user.is_superuser = django_user.is_staff = is_admin
django_user.put()
else:
django_user = cls.create_djangouser_for_user(user)
django_user.is_active = True
if getattr(settings, 'AUTH_ADMIN_USER_AS_SUPERUSER', True) and \
users.is_current_user_admin():
django_user.is_staff = True
django_user.is_superuser = True
django_user.put()
return django_user
class Meta:
abstract = True
class User(GoogleUserTraits):
"""Extended User class that provides support for Google Accounts."""
user = db.UserProperty(required=True)
class Meta:
verbose_name = _('user')
verbose_name_plural = _('users')
@property
def username(self):
return self.user.nickname()
@property
def email(self):
return self.user.email()
@classmethod
def create_djangouser_for_user(cls, user):
return cls(user=user)
| Python |
# -*- coding: utf-8 -*-
from django.contrib.auth.decorators import login_required
from functools import wraps
from ragendja.auth.views import google_redirect_to_login
from ragendja.template import render_to_response
def staff_only(view):
"""
Decorator that requires user.is_staff. Otherwise renders no_access.html.
"""
@login_required
def wrapped(request, *args, **kwargs):
if request.user.is_active and request.user.is_staff:
return view(request, *args, **kwargs)
return render_to_response(request, 'no_access.html')
return wraps(view)(wrapped)
def google_login_required(function):
def login_required_wrapper(request, *args, **kw):
if request.user.is_authenticated():
return function(request, *args, **kw)
return google_redirect_to_login(request.get_full_path())
return wraps(function)(login_required_wrapper)
| Python |
# -*- coding: utf-8 -*-
from django.conf import settings
from django.contrib.auth import REDIRECT_FIELD_NAME
from django.contrib.auth.views import login, logout
from django.http import HttpResponseRedirect
from django.utils.translation import ugettext as _
from google.appengine.api import users
from ragendja.template import render_to_response
def get_redirect_to(request, redirect_field_name):
redirect_to = request.REQUEST.get(redirect_field_name)
# Light security check -- make sure redirect_to isn't garbage.
if not redirect_to or '//' in redirect_to or ' ' in redirect_to:
redirect_to = settings.LOGIN_REDIRECT_URL
return redirect_to
def google_login(request, template_name=None,
redirect_field_name=REDIRECT_FIELD_NAME):
redirect_to = get_redirect_to(request, redirect_field_name)
return HttpResponseRedirect(users.create_login_url(redirect_to))
def hybrid_login(request, template_name='registration/login.html',
redirect_field_name=REDIRECT_FIELD_NAME):
# Don't login using both authentication systems at the same time
if request.user.is_authenticated():
redirect_to = get_redirect_to(request, redirect_field_name)
return HttpResponseRedirect(redirect_to)
return login(request, template_name, redirect_field_name)
def google_logout(request, next_page=None,
template_name='registration/logged_out.html'):
if users.get_current_user():
# Redirect to this page until the session has been cleared.
logout_url = users.create_logout_url(next_page or request.path)
return HttpResponseRedirect(logout_url)
if not next_page:
return render_to_response(request, template_name,
{'title': _('Logged out')})
return HttpResponseRedirect(next_page)
def hybrid_logout(request, next_page=None,
template_name='registration/logged_out.html'):
if users.get_current_user():
return google_logout(request, next_page)
return logout(request, next_page, template_name)
def google_logout_then_login(request, login_url=None):
if not login_url:
login_url = settings.LOGIN_URL
return google_logout(request, login_url)
def hybrid_logout_then_login(request, login_url=None):
if not login_url:
login_url = settings.LOGIN_URL
return hybrid_logout(request, login_url)
def google_redirect_to_login(next, login_url=None, redirect_field_name=None):
return HttpResponseRedirect(users.create_login_url(next))
| Python |
from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
class UserAdmin(admin.ModelAdmin):
fieldsets = (
(_('Personal info'), {'fields': ('user',)}),
(_('Permissions'), {'fields': ('is_active', 'is_staff', 'is_superuser', 'user_permissions')}),
(_('Important dates'), {'fields': ('date_joined',)}),
(_('Groups'), {'fields': ('groups',)}),
)
list_display = ('email', 'username', 'is_staff')
list_filter = ('is_staff', 'is_superuser', 'is_active')
search_fields = ('user',)
filter_horizontal = ('user_permissions',)
| Python |
# Parts of this code are taken from Google's django-helper (license: Apache 2)
class LazyGoogleUser(object):
def __init__(self, middleware_class):
self._middleware_class = middleware_class
def __get__(self, request, obj_type=None):
if not hasattr(request, '_cached_user'):
from django.contrib.auth import get_user
from django.contrib.auth.models import AnonymousUser, User
from google.appengine.api import users
if self._middleware_class is HybridAuthenticationMiddleware:
request._cached_user = get_user(request)
else:
request._cached_user = AnonymousUser()
if request._cached_user.is_anonymous():
user = users.get_current_user()
if user:
request._cached_user = User.get_djangouser_for_user(user)
return request._cached_user
class GoogleAuthenticationMiddleware(object):
def process_request(self, request):
request.__class__.user = LazyGoogleUser(self.__class__)
class HybridAuthenticationMiddleware(GoogleAuthenticationMiddleware):
pass
| Python |
from django.utils.translation import ugettext_lazy as _
from google.appengine.ext import db
from ragendja.auth.google_models import GoogleUserTraits
class User(GoogleUserTraits):
"""User class that provides support for Django and Google Accounts."""
user = db.UserProperty()
username = db.StringProperty(required=True, verbose_name=_('username'))
email = db.EmailProperty(verbose_name=_('e-mail address'))
first_name = db.StringProperty(verbose_name=_('first name'))
last_name = db.StringProperty(verbose_name=_('last name'))
class Meta:
verbose_name = _('user')
verbose_name_plural = _('users')
@classmethod
def create_djangouser_for_user(cls, user):
return cls(user=user, email=user.email(), username=user.email())
| Python |
# -*- coding: utf-8 -*-
"""
This is a set of utilities for faster development with Django templates.
render_to_response() and render_to_string() use RequestContext internally.
The app_prefixed_loader is a template loader that loads directly from the app's
'templates' folder when you specify an app prefix ('app/template.html').
The JSONResponse() function automatically converts a given Python object into
JSON and returns it as an HttpResponse.
"""
from django.conf import settings
from django.http import HttpResponse
from django.template import RequestContext, loader, \
TemplateDoesNotExist, Library, Node, Variable, generic_tag_compiler
from django.utils.functional import curry
from inspect import getargspec
from ragendja.apputils import get_app_dirs
import os
class Library(Library):
def context_tag(self, func):
params, xx, xxx, defaults = getargspec(func)
class ContextNode(Node):
def __init__(self, vars_to_resolve):
self.vars_to_resolve = map(Variable, vars_to_resolve)
def render(self, context):
resolved_vars = [var.resolve(context) for var in self.vars_to_resolve]
return func(context, *resolved_vars)
params = params[1:]
compile_func = curry(generic_tag_compiler, params, defaults, getattr(func, "_decorated_function", func).__name__, ContextNode)
compile_func.__doc__ = func.__doc__
self.tag(getattr(func, "_decorated_function", func).__name__, compile_func)
return func
# The following defines a template loader that loads templates from a specific
# app based on the prefix of the template path:
# get_template("app/template.html") => app/templates/template.html
# This keeps the code DRY and prevents name clashes.
def app_prefixed_loader(template_name, template_dirs=None):
packed = template_name.split('/', 1)
if len(packed) == 2 and packed[0] in app_template_dirs:
path = os.path.join(app_template_dirs[packed[0]], packed[1])
try:
return (open(path).read().decode(settings.FILE_CHARSET), path)
except IOError:
pass
raise TemplateDoesNotExist, template_name
app_prefixed_loader.is_usable = True
def render_to_string(request, template_name, data=None):
return loader.render_to_string(template_name, data,
context_instance=RequestContext(request))
def render_to_response(request, template_name, data=None, mimetype=None):
if mimetype is None:
mimetype = settings.DEFAULT_CONTENT_TYPE
original_mimetype = mimetype
if mimetype == 'application/xhtml+xml':
# Internet Explorer only understands XHTML if it's served as text/html
if request.META.get('HTTP_ACCEPT').find(mimetype) == -1:
mimetype = 'text/html'
response = HttpResponse(render_to_string(request, template_name, data),
content_type='%s; charset=%s' % (mimetype, settings.DEFAULT_CHARSET))
if original_mimetype == 'application/xhtml+xml':
# Since XHTML is served with two different MIME types, depending on the
# browser, we need to tell proxies to serve different versions.
from django.utils.cache import patch_vary_headers
patch_vary_headers(response, ['User-Agent'])
return response
def JSONResponse(pyobj):
from ragendja.json import JSONResponse as real_class
global JSONResponse
JSONResponse = real_class
return JSONResponse(pyobj)
def TextResponse(string=''):
return HttpResponse(string,
content_type='text/plain; charset=%s' % settings.DEFAULT_CHARSET)
# This is needed by app_prefixed_loader.
app_template_dirs = get_app_dirs('templates')
| Python |
# -*- coding: utf-8 -*-
from django.conf import settings
from django.core.serializers.json import DjangoJSONEncoder
from django.http import HttpResponse
from django.utils import simplejson
from django.utils.encoding import force_unicode
from django.utils.functional import Promise
class LazyEncoder(DjangoJSONEncoder):
def default(self, obj):
if isinstance(obj, Promise):
return force_unicode(obj)
return super(LazyEncoder, self).default(obj)
class JSONResponse(HttpResponse):
def __init__(self, pyobj, **kwargs):
super(JSONResponse, self).__init__(
simplejson.dumps(pyobj, cls=LazyEncoder),
content_type='application/json; charset=%s' %
settings.DEFAULT_CHARSET,
**kwargs)
| Python |
# -*- coding: utf-8 -*-
from django.http import HttpRequest
class RegisterVars(dict):
"""
This class provides a simplified mechanism to build context processors
that only add variables or functions without processing a request.
Your module should have a global instance of this class called 'register'.
You can then add the 'register' variable as a context processor in your
settings.py.
How to use:
>>> register = RegisterVars()
>>> def func():
... pass
>>> register(func) # doctest:+ELLIPSIS
<function func at ...>
>>> @register
... def otherfunc():
... pass
>>> register['otherfunc'] is otherfunc
True
Alternatively you can specify the name of the function with either of:
def func(...): ...
register(func, 'new_name')
@register('new_name')
def ...
You can even pass a dict or RegisterVars instance:
register(othermodule.register)
register({'myvar': myvar})
"""
def __call__(self, item=None, name=None):
# Allow for using a RegisterVars instance as a context processor
if isinstance(item, HttpRequest):
return self
if name is None and isinstance(item, basestring):
# @register('as_name') # first param (item) contains the name
name, item = item, name
elif name is None and isinstance(item, dict):
# register(somedict) or register(othermodule.register)
return self.update(item)
if item is None and isinstance(name, basestring):
# @register(name='as_name')
return lambda func: self(func, name)
self[name or item.__name__] = item
return item
| Python |
# -*- coding: utf-8 -*-
from appenginepatcher import on_production_server, have_appserver
import os
DEBUG = not on_production_server
# The MEDIA_VERSION will get integrated via %d
MEDIA_URL = '/media/%d/'
# The MEDIA_URL will get integrated via %s
ADMIN_MEDIA_PREFIX = '%sadmin_media/'
ADMINS = ()
DATABASE_ENGINE = 'appengine'
DATABASE_SUPPORTS_TRANSACTIONS = False
# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
USE_I18N = True
EMAIL_HOST = 'localhost'
EMAIL_PORT = 25
EMAIL_HOST_USER = 'user'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'user@localhost'
SERVER_EMAIL = 'user@localhost'
LOGIN_REQUIRED_PREFIXES = ()
NO_LOGIN_REQUIRED_PREFIXES = ()
ROOT_URLCONF = 'urls'
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
'ragendja.template.app_prefixed_loader',
'django.template.loaders.app_directories.load_template_source',
)
PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(
os.path.dirname(__file__))))
COMMON_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
MAIN_DIRS = (PROJECT_DIR, COMMON_DIR)
TEMPLATE_DIRS = tuple([os.path.join(dir, 'templates') for dir in MAIN_DIRS])
LOCALE_PATHS = (
os.path.join(PROJECT_DIR, 'media', 'locale'),
) + tuple([os.path.join(dir, 'locale') for dir in TEMPLATE_DIRS])
FILE_UPLOAD_HANDLERS = (
'django.core.files.uploadhandler.MemoryFileUploadHandler',
)
CACHE_BACKEND = 'memcached://?timeout=0'
COMBINE_MEDIA = {}
if not on_production_server:
INTERNAL_IPS = ('127.0.0.1',)
IGNORE_APP_SETTINGS = ()
| Python |
from django.conf import settings
from django.http import HttpResponseServerError
from ragendja.template import render_to_string
def server_error(request, *args, **kwargs):
debugkey = request.REQUEST.get('debugkey')
if debugkey and debugkey == getattr(settings, 'DEBUGKEY', None):
import sys
from django.views import debug
return debug.technical_500_response(request, *sys.exc_info())
return HttpResponseServerError(render_to_string(request, '500.html'))
def maintenance(request, *args, **kwargs):
return HttpResponseServerError(render_to_string(request,
'maintenance.html'))
| Python |
# -*- coding: utf-8 -*-
from django.conf import settings
from django.utils.cache import patch_cache_control
from google.appengine.runtime.apiproxy_errors import CapabilityDisabledError
from google.appengine.ext import db
from ragendja.template import render_to_response
from ragendja.views import server_error, maintenance
LOGIN_REQUIRED_PREFIXES = getattr(settings, 'LOGIN_REQUIRED_PREFIXES', ())
NO_LOGIN_REQUIRED_PREFIXES = getattr(settings, 'NO_LOGIN_REQUIRED_PREFIXES', ())
class LoginRequiredMiddleware(object):
"""
Redirects to login page if request path begins with a
LOGIN_REQURED_PREFIXES prefix. You can also specify
NO_LOGIN_REQUIRED_PREFIXES which take precedence.
"""
def process_request(self, request):
for prefix in NO_LOGIN_REQUIRED_PREFIXES:
if request.path.startswith(prefix):
return None
for prefix in LOGIN_REQUIRED_PREFIXES:
if request.path.startswith(prefix) and \
not request.user.is_authenticated():
from django.contrib.auth.views import redirect_to_login
return redirect_to_login(request.get_full_path())
return None
class NoHistoryCacheMiddleware(object):
"""
If user is authenticated we disable browser caching of pages in history.
"""
def process_response(self, request, response):
if 'Expires' not in response and \
'Cache-Control' not in response and \
hasattr(request, 'session') and \
request.user.is_authenticated():
patch_cache_control(response,
no_store=True, no_cache=True, must_revalidate=True, max_age=0)
return response
class ErrorMiddleware(object):
"""Displays a default template on CapabilityDisabledError."""
def process_exception(self, request, exception):
if isinstance(exception, CapabilityDisabledError):
return maintenance(request)
elif isinstance(exception, db.Timeout):
return server_error(request)
| Python |
# -*- coding: utf-8 -*-
from settings import *
import sys
if '%d' in MEDIA_URL:
MEDIA_URL = MEDIA_URL % MEDIA_VERSION
if '%s' in ADMIN_MEDIA_PREFIX:
ADMIN_MEDIA_PREFIX = ADMIN_MEDIA_PREFIX % MEDIA_URL
TEMPLATE_DEBUG = DEBUG
MANAGERS = ADMINS
# You can override Django's or some apps' locales with these folders:
if os.path.exists(os.path.join(COMMON_DIR, 'locale_overrides_common')):
INSTALLED_APPS += ('locale_overrides_common',)
if os.path.exists(os.path.join(PROJECT_DIR, 'locale_overrides')):
INSTALLED_APPS += ('locale_overrides',)
# Add admin interface media files if necessary
if 'django.contrib.admin' in INSTALLED_APPS:
INSTALLED_APPS += ('django_aep_export.admin_media',)
# Always add Django templates (exported from zip)
INSTALLED_APPS += (
'django_aep_export.django_templates',
)
# Convert all COMBINE_MEDIA to lists
for key, value in COMBINE_MEDIA.items():
if not isinstance(value, list):
COMBINE_MEDIA[key] = list(value)
# Add start markers, so apps can insert JS/CSS at correct position
def add_app_media(combine, *appmedia):
if on_production_server:
return
COMBINE_MEDIA.setdefault(combine, [])
if '!START!' not in COMBINE_MEDIA[combine]:
COMBINE_MEDIA[combine].insert(0, '!START!')
index = COMBINE_MEDIA[combine].index('!START!')
COMBINE_MEDIA[combine][index:index] = appmedia
def add_uncombined_app_media(app):
"""Copy all media files directly"""
if on_production_server:
return
path = os.path.join(
os.path.dirname(__import__(app, {}, {}, ['']).__file__), 'media')
app = app.rsplit('.', 1)[-1]
for root, dirs, files in os.walk(path):
for file in files:
if file.endswith(('.css', '.js')):
base = os.path.join(root, file)[len(path):].replace(os.sep,
'/').lstrip('/')
target = '%s/%s' % (app, base)
add_app_media(target, target)
if have_appserver or on_production_server:
check_app_imports = None
else:
def check_app_imports(app):
before = sys.modules.keys()
__import__(app, {}, {}, [''])
after = sys.modules.keys()
added = [key[len(app)+1:] for key in after if key not in before and
key.startswith(app + '.') and key[len(app)+1:]]
if added:
import logging
logging.warn('The app "%(app)s" contains imports in '
'its __init__.py (at least %(added)s). This can cause '
'strange bugs due to recursive imports! You should '
'either do the import lazily (within functions) or '
'ignore the app settings/urlsauto with '
'IGNORE_APP_SETTINGS and IGNORE_APP_URLSAUTO in '
'your settings.py.'
% {'app': app, 'added': ', '.join(added)})
# Import app-specific settings
_globals = globals()
class _Module(object):
def __setattr__(self, key, value):
_globals[key] = value
def __getattribute__(self, key):
return _globals[key]
def __hasattr__(self, key):
return key in _globals
settings = _Module()
for app in INSTALLED_APPS:
# This is an optimization. Django's apps don't have special settings.
# Also, allow for ignoring some apps' settings.
if app.startswith('django.') or app.endswith('.*') or \
app == 'appenginepatcher' or app in IGNORE_APP_SETTINGS:
continue
try:
# First we check if __init__.py doesn't import anything
if check_app_imports:
check_app_imports(app)
__import__(app + '.settings', {}, {}, [''])
except ImportError:
pass
# Remove start markers
for key, value in COMBINE_MEDIA.items():
if '!START!' in value:
value.remove('!START!')
try:
from settings_overrides import *
except ImportError:
pass
| Python |
# -*- coding: utf-8 -*-
from django.db.models import signals
from django.http import Http404
from django.utils import simplejson
from google.appengine.ext import db
from ragendja.pyutils import getattr_by_path
from random import choice
from string import ascii_letters, digits
def get_filters(*filters):
"""Helper method for get_filtered."""
if len(filters) % 2 == 1:
raise ValueError('You must supply an even number of arguments!')
return zip(filters[::2], filters[1::2])
def get_filtered(data, *filters):
"""Helper method for get_xxx_or_404."""
for filter in get_filters(*filters):
data.filter(*filter)
return data
def get_object(model, *filters_or_key, **kwargs):
if kwargs.get('key_name'):
item = model.get_by_key_name(kwargs.get('key_name'),
parent=kwargs.get('parent'))
elif kwargs.get('id'):
item = model.get_by_id(kwargs.get('id'),
parent=kwargs.get('parent'))
elif len(filters_or_key) > 1:
item = get_filtered(model.all(), *filters_or_key).get()
else:
error = None
if isinstance(filters_or_key[0], (tuple, list)):
error = [None for index in range(len(filters_or_key[0]))]
try:
item = model.get(filters_or_key[0])
except (db.BadKeyError, db.KindError):
return error
return item
def get_object_or_404(model, *filters_or_key, **kwargs):
item = get_object(model, *filters_or_key, **kwargs)
if not item:
raise Http404('Object does not exist!')
return item
def get_object_list(model, *filters):
return get_filtered(model.all(), *filters)
def get_list_or_404(model, *filters):
data = get_object_list(model, *filters)
if not data.count(1):
raise Http404('No objects found!')
return data
KEY_NAME_PREFIX = 'k'
def generate_key_name(*values):
"""
Escapes a string such that it can be used safely as a key_name.
You can pass multiple values in order to build a path.
"""
return KEY_NAME_PREFIX + '/'.join(
[value.replace('%', '%1').replace('/', '%2') for value in values])
def transaction(func):
"""Decorator that always runs the given function in a transaction."""
def _transaction(*args, **kwargs):
return db.run_in_transaction(func, *args, **kwargs)
# In case you need to run it without a transaction you can call
# <func>.non_transactional(...)
_transaction.non_transactional = func
return _transaction
@transaction
def db_add(model, key_name, parent=None, **kwargs):
"""
This function creates an object transactionally if it does not exist in
the datastore. Otherwise it returns None.
"""
existing = model.get_by_key_name(key_name, parent=parent)
if not existing:
new_entity = model(parent=parent, key_name=key_name, **kwargs)
new_entity.put()
return new_entity
return None
def db_create(model, parent=None, key_name_format=u'%s',
non_transactional=False, **kwargs):
"""
Creates a new model instance with a random key_name and puts it into the
datastore.
"""
func = non_transactional and db_add.non_transactional or db_add
charset = ascii_letters + digits
while True:
# The key_name is 16 chars long. Make sure that the first char doesn't
# begin with a digit.
key_name = key_name_format % (choice(ascii_letters) +
''.join([choice(charset) for i in range(15)]))
result = func(model, key_name, parent=parent, **kwargs)
if result:
return result
def prefetch_references(object_list, references, cache=None):
"""
Dereferences the given (Key)ReferenceProperty fields of a list of objects
in as few get() calls as possible.
"""
if object_list and references:
if not isinstance(references, (list, tuple)):
references = (references,)
model = object_list[0].__class__
targets = {}
# Collect models and keys of all reference properties.
# Storage format of targets: models -> keys -> instance, property
for name in set(references):
property = getattr(model, name)
is_key_reference = isinstance(property, KeyReferenceProperty)
if is_key_reference:
target_model = property.target_model
else:
target_model = property.reference_class
prefetch = targets.setdefault(target_model.kind(),
(target_model, {}))[1]
for item in object_list:
if is_key_reference:
# Check if we already dereferenced the property
if hasattr(item, '_ref_cache_for_' + property.target_name):
continue
key = getattr(item, property.target_name)
if property.use_key_name and key:
key = db.Key.from_path(target_model.kind(), key)
else:
if ReferenceProperty.is_resolved(property, item):
continue
key = property.get_value_for_datastore(item)
if key:
# Check if we already have a matching item in cache
if cache:
found_cached = None
for cached_item in cache:
if cached_item.key() == key:
found_cached = cached_item
if found_cached:
setattr(item, name, found_cached)
continue
# No item found in cache. Retrieve it.
key = str(key)
prefetch[key] = prefetch.get(key, ()) + ((item, name),)
for target_model, prefetch in targets.values():
prefetched_items = target_model.get(prefetch.keys())
for prefetched, group in zip(prefetched_items, prefetch.values()):
for item, reference in group:
# If prefetched is None we only update the cache
if not prefetched:
property = getattr(model, reference)
if isinstance(property, KeyReferenceProperty):
setattr(item,
'_ref_cache_for_' + property.target_name, None)
else:
continue
setattr(item, reference, prefetched)
return object_list
# Deprecated due to uglyness! :)
class KeyReferenceProperty(object):
"""
Creates a cached accessor for a model referenced by a string property
that stores a str(key) or key_name. This is useful if you need to work with
the key of a referenced object, but mustn't get() it from the datastore.
You can also integrate properties of the referenced model into the
referencing model, so you don't need to dereference the model within a
transaction. Note that if the referenced model's properties change you
won't be notified, automatically.
"""
def __init__(self, property, model, use_key_name=True, integrate={}):
if isinstance(property, basestring):
self.target_name = property
else:
# Monkey-patch the target property, so we can monkey-patch the
# model class, so we can detect when the user wants to set our
# KeyReferenceProperty via the model constructor.
# What an ugly hack; but this is the simplest implementation. :(
# One alternative would be to implement a proxy model that
# provides direct access to the key, but this won't work with
# isinstance(). Maybe that's an option for Python 3000.
# Yet another alternative would be to force the user to choose
# either .key_name or .reference manually. That's rather ugly, too.
self.target_name = None
myself = self
old_config = property.__property_config__
def __property_config__(model_class, property_name):
myself.target_name = property_name
my_name = None
for key, value in model_class.__dict__.items():
if value is myself:
my_name = key
break
old_init = model_class.__init__
def __init__(self, *args, **kwargs):
if my_name in kwargs:
setattr(self, my_name, kwargs[my_name])
kwargs[property_name] = getattr(self, property_name)
for destination, source in myself.integrate.items():
integrate_value = None
if kwargs[my_name]:
try:
property = getattr(self.__class__, source)
except:
property = None
if property and isinstance(property, db.ReferenceProperty):
integrate_value = property.get_value_for_datastore(self)
else:
integrate_value = getattr_by_path(
kwargs[my_name], source)
kwargs[destination] = integrate_value
old_init(self, *args, **kwargs)
model_class.__init__ = __init__
old_config(model_class, property_name)
property.__property_config__ = __property_config__
self.target_model = model
self.use_key_name = use_key_name
self.integrate = integrate
def __get__(self, instance, unused):
if instance is None:
return self
attr = getattr(instance, self.target_name)
cache = getattr(instance, '_ref_cache_for_' + self.target_name, None)
if not cache:
cache_key = cache
elif self.use_key_name:
cache_key = cache.key().name()
else:
cache_key = str(cache.key())
if attr != cache_key:
if self.use_key_name:
cache = self.target_model.get_by_key_name(attr)
else:
cache = self.target_model.get(attr)
setattr(instance, '_ref_cache_for_' + self.target_name, cache)
return cache
def __set__(self, instance, value):
if value and not isinstance(value, db.Model):
raise ValueError('You must supply a Model instance.')
if not value:
key = None
elif self.use_key_name:
key = value.key().name()
else:
key = str(value.key())
setattr(instance, '_ref_cache_for_' + self.target_name, value)
setattr(instance, self.target_name, key)
for destination, source in self.integrate.items():
integrate_value = None
if value:
try:
property = getattr(value.__class__, source)
except:
property = None
if property and isinstance(property, db.ReferenceProperty):
integrate_value = property.get_value_for_datastore(value)
else:
integrate_value = getattr_by_path(value, source)
setattr(instance, destination, integrate_value)
# Don't use this, yet. It's not part of the official API!
class ReferenceProperty(db.ReferenceProperty):
def __init__(self, reference_class, integrate={}, **kwargs):
self.integrate = integrate
super(ReferenceProperty, self).__init__(reference_class, **kwargs)
@classmethod
def is_resolved(cls, property, instance):
try:
if not hasattr(instance, property.__id_attr_name()) or \
not getattr(instance, property.__id_attr_name()):
return True
return bool(getattr(instance, property.__resolved_attr_name()))
except:
import logging
logging.exception('ReferenceProperty implementation changed! '
'Update ragendja.dbutils.ReferenceProperty.'
'is_resolved! Exception was:')
return False
def __set__(self, instance, value):
super(ReferenceProperty, self).__set__(instance, value)
for destination, source in self.integrate.items():
integrate_value = None
if value:
try:
property = getattr(value.__class__, source)
except:
property = None
if property and isinstance(property, db.ReferenceProperty):
integrate_value = property.get_value_for_datastore(value)
else:
integrate_value = getattr_by_path(value, source)
setattr(instance, destination, integrate_value)
def to_json_data(model_instance, property_list):
"""
Converts a models into dicts for use with JSONResponse.
You can either pass a single model instance and get a single dict
or a list of models and get a list of dicts.
For security reasons only the properties in the property_list will get
added. If the value of the property has a json_data function its result
will be added, instead.
"""
if hasattr(model_instance, '__iter__'):
return [to_json_data(item, property_list) for item in model_instance]
json_data = {}
for property in property_list:
property_instance = None
try:
property_instance = getattr(model_instance.__class__,
property.split('.', 1)[0])
except:
pass
key_access = property[len(property.split('.', 1)[0]):]
if isinstance(property_instance, db.ReferenceProperty) and \
key_access in ('.key', '.key.name'):
key = property_instance.get_value_for_datastore(model_instance)
if key_access == '.key':
json_data[property] = str(key)
else:
json_data[property] = key.name()
continue
value = getattr_by_path(model_instance, property, None)
value = getattr_by_path(value, 'json_data', value)
json_data[property] = value
return json_data
def _get_included_cleanup_entities(entities, rels_seen, to_delete, to_put):
# Models can define a CLEANUP_REFERENCES attribute if they have
# reference properties that must get geleted with the model.
include_references = getattr(entities[0], 'CLEANUP_REFERENCES', None)
if include_references:
if not isinstance(include_references, (list, tuple)):
include_references = (include_references,)
prefetch_references(entities, include_references)
for entity in entities:
for name in include_references:
subentity = getattr(entity, name)
to_delete.append(subentity)
get_cleanup_entities(subentity, rels_seen=rels_seen,
to_delete=to_delete, to_put=to_put)
def get_cleanup_entities(instance, rels_seen=None, to_delete=None, to_put=None):
if not instance or getattr(instance, '__handling_delete', False):
return [], [], []
if to_delete is None:
to_delete = []
if to_put is None:
to_put = []
if rels_seen is None:
rels_seen = []
# Delete many-to-one relations
for related in instance._meta.get_all_related_objects():
# Check if we already have fetched some of the entities
seen = (instance.key(), related.opts, related.field.name)
if seen in rels_seen:
continue
rels_seen.append(seen)
entities = getattr(instance, related.get_accessor_name(),
related.model.all().filter(related.field.name + ' =', instance))
entities = entities.fetch(501)
for entity in entities[:]:
# Check if we might already have fetched this entity
for item in to_delete:
if item.key() == entity.key():
entities.remove(entity)
break
for item in to_put:
if item.key() == entity.key():
to_put.remove(item)
break
to_delete.extend(entities)
if len(to_delete) > 200:
raise Exception("Can't delete so many entities at once!")
if not entities:
continue
for entity in entities:
get_cleanup_entities(entity, rels_seen=rels_seen,
to_delete=to_delete, to_put=to_put)
_get_included_cleanup_entities(entities, rels_seen, to_delete, to_put)
# Clean up many-to-many relations
for related in instance._meta.get_all_related_many_to_many_objects():
seen = (instance.key(), related.opts, related.field.name)
if seen in rels_seen:
continue
rels_seen.append(seen)
entities = getattr(instance, related.get_accessor_name(),
related.model.all().filter(related.field.name + ' =', instance))
entities = entities.fetch(501)
for entity in entities[:]:
# Check if we might already have fetched this entity
for item in to_put + to_delete:
if item.key() == entity.key():
entities.remove(entity)
entity = item
break
# We assume that data is a list. Remove instance from the list.
data = getattr(entity, related.field.name)
data = [item for item in data
if (isinstance(item, db.Key) and
item != instance.key()) or
item.key() != instance.key()]
setattr(entity, related.field.name, data)
to_put.extend(entities)
if len(to_put) > 200:
raise Exception("Can't change so many entities at once!")
return rels_seen, to_delete, to_put
def cleanup_relations(instance, **kwargs):
if getattr(instance, '__handling_delete', False):
return
rels_seen, to_delete, to_put = get_cleanup_entities(instance)
_get_included_cleanup_entities((instance,), rels_seen, to_delete, to_put)
for entity in [instance] + to_delete:
entity.__handling_delete = True
if to_delete:
db.delete(to_delete)
for entity in [instance] + to_delete:
del entity.__handling_delete
if to_put:
db.put(to_put)
class FakeModel(object):
"""A fake model class which is stored as a string.
This can be useful if you need to emulate some model whose entities
get generated by syncdb and are never modified afterwards.
For example: ContentType and Permission.
Use this with FakeModelProperty and FakeModelListProperty (the latter
simulates a many-to-many relation).
"""
# Important: If you want to change your fields at a later point you have
# to write a converter which upgrades your datastore schema.
fields = ('value',)
def __init__(self, **kwargs):
if sorted(kwargs.keys()) != sorted(self.fields):
raise ValueError('You have to pass the following values to '
'the constructor: %s' % ', '.join(self.fields))
for key, value in kwargs.items():
setattr(self, key, value)
class _meta(object):
installed = True
def get_value_for_datastore(self):
return simplejson.dumps([getattr(self, field) for field in self.fields])
@property
def pk(self):
return self.get_value_for_datastore()
@property
def id(self):
return self.pk
@classmethod
def load(cls, value):
return simplejson.loads(value)
@classmethod
def make_value_from_datastore(cls, value):
return cls(**dict(zip(cls.fields, cls.load(value))))
def __repr__(self):
return '<%s: %s>' % (self.__class__.__name__,
' | '.join([unicode(getattr(self, field))
for field in self.fields]))
class FakeModelProperty(db.Property):
data_type = basestring
def __init__(self, model, raw=False, *args, **kwargs):
self.raw = raw
self.model = model
super(FakeModelProperty, self).__init__(*args, **kwargs)
def validate(self, value):
if isinstance(value, basestring):
value = self.make_value_from_datastore(value)
if not isinstance(value, self.model):
raise db.BadValueError('Value must be of type %s' %
self.model.__name__)
if self.validator is not None:
self.validator(value)
return value
def get_value_for_datastore(self, model_instance):
fake_model = getattr(model_instance, self.name)
if not fake_model:
return None
if not self.indexed:
return db.Text(fake_model.get_value_for_datastore())
return fake_model.get_value_for_datastore()
def make_value_from_datastore(self, value):
if not value:
return None
return self.model.make_value_from_datastore(unicode(value))
def get_value_for_form(self, instance):
return self.get_value_for_datastore(instance)
def make_value_from_form(self, value):
return value
def __set__(self, model_instance, value):
if isinstance(value, basestring):
value = self.make_value_from_datastore(value)
super(FakeModelProperty, self).__set__(model_instance, value)
@classmethod
def get_fake_defaults(self, fake_model, multiple=False, **kwargs):
from ragendja import forms
form = multiple and forms.FakeModelMultipleChoiceField or \
forms.FakeModelChoiceField
defaults = {'form_class': form, 'fake_model': fake_model}
defaults.update(kwargs)
return defaults
def get_form_field(self, **kwargs):
if self.raw:
from django import forms
defaults = kwargs
defaults['widget'] = forms.TextInput(attrs={'size': 80})
else:
defaults = FakeModelProperty.get_fake_defaults(self.model, **kwargs)
return super(FakeModelProperty, self).get_form_field(**defaults)
class FakeModelListProperty(db.ListProperty):
fake_item_type = basestring
def __init__(self, model, *args, **kwargs):
self.model = model
if not kwargs.get('indexed', True):
self.fake_item_type = db.Text
super(FakeModelListProperty, self).__init__(
self.__class__.fake_item_type, *args, **kwargs)
def validate(self, value):
new_value = []
for item in value:
if isinstance(item, basestring):
item = self.make_value_from_datastore([item])[0]
if not isinstance(item, self.model):
raise db.BadValueError('Value must be of type %s' %
self.model.__name__)
new_value.append(item)
if self.validator is not None:
self.validator(new_value)
return new_value
def get_value_for_datastore(self, model_instance):
fake_models = getattr(model_instance, self.name)
if not self.indexed:
return [db.Text(fake_model.get_value_for_datastore())
for fake_model in fake_models]
return [fake_model.get_value_for_datastore()
for fake_model in fake_models]
def make_value_from_datastore(self, value):
return [self.model.make_value_from_datastore(unicode(item))
for item in value]
def get_value_for_form(self, instance):
return self.get_value_for_datastore(instance)
def make_value_from_form(self, value):
return value
def get_form_field(self, **kwargs):
defaults = FakeModelProperty.get_fake_defaults(self.model,
multiple=True, **kwargs)
defaults['required'] = False
return super(FakeModelListProperty, self).get_form_field(**defaults)
class KeyListProperty(db.ListProperty):
"""Simulates a many-to-many relation using a list property.
On the model level you interact with keys, but when used in a ModelForm
you get a ModelMultipleChoiceField (as if it were a ManyToManyField)."""
def __init__(self, reference_class, *args, **kwargs):
self._reference_class = reference_class
super(KeyListProperty, self).__init__(db.Key, *args, **kwargs)
@property
def reference_class(self):
if isinstance(self._reference_class, basestring):
from django.db import models
self._reference_class = models.get_model(
*self._reference_class.split('.', 1))
return self._reference_class
def validate(self, value):
new_value = []
for item in value:
if isinstance(item, basestring):
item = db.Key(item)
if isinstance(item, self.reference_class):
item = item.key()
if not isinstance(item, db.Key):
raise db.BadValueError('Value must be a key or of type %s' %
self.reference_class.__name__)
new_value.append(item)
return super(KeyListProperty, self).validate(new_value)
def get_form_field(self, **kwargs):
from django import forms
defaults = {'form_class': forms.ModelMultipleChoiceField,
'queryset': self.reference_class.all(),
'required': False}
defaults.update(kwargs)
return super(KeyListProperty, self).get_form_field(**defaults)
| Python |
#!/usr/bin/env python
if __name__ == '__main__':
from common.appenginepatch.aecmd import setup_env
setup_env(manage_py_env=True)
# Recompile translation files
from mediautils.compilemessages import updatemessages
updatemessages()
# Generate compressed media files for manage.py update
import sys
from mediautils.generatemedia import updatemedia
if len(sys.argv) >= 2 and sys.argv[1] == 'update':
updatemedia(True)
import settings
from django.core.management import execute_manager
execute_manager(settings)
| Python |
from ragendja.settings_post import settings
settings.add_app_media('combined-%(LANGUAGE_CODE)s.js',
'jquery/jquery.js',
'jquery/jquery.fixes.js',
'jquery/jquery.ajax-queue.js',
'jquery/jquery.bgiframe.js',
'jquery/jquery.livequery.js',
'jquery/jquery.form.js',
)
| Python |
#!/usr/bin/env python
if __name__ == '__main__':
from common.appenginepatch.aecmd import setup_env
setup_env(manage_py_env=True)
# Recompile translation files
from mediautils.compilemessages import updatemessages
updatemessages()
# Generate compressed media files for manage.py update
import sys
from mediautils.generatemedia import updatemedia
if len(sys.argv) >= 2 and sys.argv[1] == 'update':
updatemedia(True)
import settings
from django.core.management import execute_manager
execute_manager(settings)
| Python |
#!/usr/bin/env python
# -*- Python -*-
import sys
import time
sys.path.append(".")
# Import RTM module
import OpenRTM_aist
import RTC
import socket
import httplib
from time import sleep
# Import Service implementation class
# <rtc-template block="service_impl">
# </rtc-template>
# Import Service stub modules
# <rtc-template block="global_idl">
# </rtc-template>
# This module's spesification
# <rtc-template block="module_spec">
proxy_spec = ["implementation_id", "Proxy",
"type_name", "Proxy",
"description", "RTC-Lite for Arduino",
"version", "1.0.0",
"vendor", "AIST",
"category", "Proxy",
"activity_type", "STATIC",
"max_instance", "1",
"language", "Python",
"lang_type", "SCRIPT",
""]
# </rtc-template>
class Proxy(OpenRTM_aist.DataFlowComponentBase):
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
# DataPorts initialization
# <rtc-template block="data_ports">
self._d_Watt =RTC.TimedShort(RTC.Time(0,0),0)
self._d_Light =RTC.TimedShort(RTC.Time(0,0),0)
self._d_Temp =RTC.TimedShort(RTC.Time(0,0),0)
self._WattOut =OpenRTM_aist.OutPort("Watt", self._d_Watt, OpenRTM_aist.RingBuffer(8))
self._LightOut =OpenRTM_aist.OutPort("Light", self._d_Light, OpenRTM_aist.RingBuffer(8))
self._TempOut =OpenRTM_aist.OutPort("Temp", self._d_Temp, OpenRTM_aist.RingBuffer(8))
# Set OutPort buffer
self.registerOutPort("Watt",self._WattOut)
self.registerOutPort("Light",self._LightOut)
self.registerOutPort("Temp",self._TempOut)
self._remoteIP=""
# </rtc-template>
# DataPorts initialization
# <rtc-template block="service_ports">
# </rtc-template>
# initialize of configuration-data.
# <rtc-template block="configurations">
# </rtc-template>
def onInitialize(self):
# Bind variables and configuration variable
# <rtc-template block="bind_config">
# </rtc-template>
return RTC.RTC_OK
#def onFinalize(self):
# return RTC.RTC_OK
#def onStartup(self, ec_id):
# return RTC.RTC_OK
#def onShutdown(self, ec_id):
# return RTC.RTC_OK
def onActivated(self, ec_id):
print "onActivated"
host =''
port =80
address ="255.255.255.255"
recv_port =1300
recv_timeout =5
s =socket.socket( socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt( socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
s.setsockopt( socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.bind( ( host, port))
r =socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
r.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
r.bind((host, recv_port))
r.settimeout( recv_timeout)
max =5
count =0
while count <5:
print "try: ", count
s.sendto( str(count), ( address, port))
try:
message, ip_and_port = r.recvfrom(8192)
if len( message) >0:
print "message:", message, "from", ip_and_port
self._remoteIP =ip_and_port[0]
s.close()
r.close()
return RTC.RTC_OK
except:
count +=1
s.close()
r.close()
return RTC.RTC_ERROR
def onDeactivated(self, ec_id):
print "onDeactivated!"
return RTC.RTC_OK
def onExecute(self, ec_id):
print "onExecute!"
conn =httplib.HTTPConnection( self._remoteIP)
conn.request( "GET", "/EXE")
r =conn.getresponse()
conn.close()
print r.status, r.reason
data =r.read()
token =data.split( '\r\n')
self._d_Watt.data =int(token[0])
self._d_Light.data =int(token[1])
self._d_Temp.data =int(token[2])
print self._d_Watt.data
print self._d_Light.data
print self._d_Temp.data
self._WattOut.write()
self._LightOut.write()
self._TempOut.write()
time.sleep( 1)
return RTC.RTC_OK
#def onAborting(self, ec_id):
# return RTC.RTC_OK
def onError(self, ec_id):
print "onError!"
return RTC.RTC_OK
#def onReset(self, ec_id):
# return RTC.RTC_OK
#def onStateUpdate(self, ec_id):
# return RTC.RTC_OK
#def onRateChanged(self, ec_id):
# return RTC.RTC_OK
def MyModuleInit(manager):
profile = OpenRTM_aist.Properties(defaults_str=proxy_spec)
manager.registerFactory(profile,
Proxy,
OpenRTM_aist.Delete)
# Create a component
comp = manager.createComponent("Proxy")
def main():
mgr = OpenRTM_aist.Manager.init(len(sys.argv), sys.argv)
mgr.setModuleInitProc(MyModuleInit)
mgr.activateManager()
mgr.runManager()
if __name__ == "__main__":
main()
| Python |
#!/usr/bin/env python
# -*- Python -*-
import sys
import time
sys.path.append(".")
# Import RTM module
import OpenRTM_aist
import RTC
import socket
import httplib
from time import sleep
# Import Service implementation class
# <rtc-template block="service_impl">
# </rtc-template>
# Import Service stub modules
# <rtc-template block="global_idl">
# </rtc-template>
# This module's spesification
# <rtc-template block="module_spec">
proxy_spec = ["implementation_id", "Proxy",
"type_name", "Proxy",
"description", "RTC-Lite for Arduino",
"version", "1.0.0",
"vendor", "AIST",
"category", "Proxy",
"activity_type", "STATIC",
"max_instance", "1",
"language", "Python",
"lang_type", "SCRIPT",
""]
# </rtc-template>
class Proxy(OpenRTM_aist.DataFlowComponentBase):
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
# DataPorts initialization
# <rtc-template block="data_ports">
self._d_Watt =RTC.TimedShort(RTC.Time(0,0),0)
self._d_Light =RTC.TimedShort(RTC.Time(0,0),0)
self._d_Temp =RTC.TimedShort(RTC.Time(0,0),0)
self._WattOut =OpenRTM_aist.OutPort("Watt", self._d_Watt, OpenRTM_aist.RingBuffer(8))
self._LightOut =OpenRTM_aist.OutPort("Light", self._d_Light, OpenRTM_aist.RingBuffer(8))
self._TempOut =OpenRTM_aist.OutPort("Temp", self._d_Temp, OpenRTM_aist.RingBuffer(8))
# Set OutPort buffer
self.registerOutPort("Watt",self._WattOut)
self.registerOutPort("Light",self._LightOut)
self.registerOutPort("Temp",self._TempOut)
self._remoteIP=""
# </rtc-template>
# DataPorts initialization
# <rtc-template block="service_ports">
# </rtc-template>
# initialize of configuration-data.
# <rtc-template block="configurations">
# </rtc-template>
def onInitialize(self):
# Bind variables and configuration variable
# <rtc-template block="bind_config">
# </rtc-template>
return RTC.RTC_OK
#def onFinalize(self):
# return RTC.RTC_OK
#def onStartup(self, ec_id):
# return RTC.RTC_OK
#def onShutdown(self, ec_id):
# return RTC.RTC_OK
def onActivated(self, ec_id):
print "onActivated"
host =''
port =80
address ="255.255.255.255"
recv_port =1300
recv_timeout =5
s =socket.socket( socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt( socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
s.setsockopt( socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.bind( ( host, port))
r =socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
r.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
r.bind((host, recv_port))
r.settimeout( recv_timeout)
max =5
count =0
while count <5:
print "try: ", count
s.sendto( str(count), ( address, port))
try:
message, ip_and_port = r.recvfrom(8192)
if len( message) >0:
print "message:", message, "from", ip_and_port
self._remoteIP =ip_and_port[0]
s.close()
r.close()
return RTC.RTC_OK
except:
count +=1
s.close()
r.close()
return RTC.RTC_ERROR
def onDeactivated(self, ec_id):
print "onDeactivated!"
return RTC.RTC_OK
def onExecute(self, ec_id):
print "onExecute!"
conn =httplib.HTTPConnection( self._remoteIP)
conn.request( "GET", "/EXE")
r =conn.getresponse()
conn.close()
print r.status, r.reason
data =r.read()
token =data.split( '\r\n')
self._d_Watt.data =int(token[0])
self._d_Light.data =int(token[1])
self._d_Temp.data =int(token[2])
print self._d_Watt.data
print self._d_Light.data
print self._d_Temp.data
self._WattOut.write()
self._LightOut.write()
self._TempOut.write()
time.sleep( 1)
return RTC.RTC_OK
#def onAborting(self, ec_id):
# return RTC.RTC_OK
def onError(self, ec_id):
print "onError!"
return RTC.RTC_OK
#def onReset(self, ec_id):
# return RTC.RTC_OK
#def onStateUpdate(self, ec_id):
# return RTC.RTC_OK
#def onRateChanged(self, ec_id):
# return RTC.RTC_OK
def MyModuleInit(manager):
profile = OpenRTM_aist.Properties(defaults_str=proxy_spec)
manager.registerFactory(profile,
Proxy,
OpenRTM_aist.Delete)
# Create a component
comp = manager.createComponent("Proxy")
def main():
mgr = OpenRTM_aist.Manager.init(len(sys.argv), sys.argv)
mgr.setModuleInitProc(MyModuleInit)
mgr.activateManager()
mgr.runManager()
if __name__ == "__main__":
main()
| Python |
# -*- coding: utf-8 -*-
#!/bin/env python
import socket
import urllib
import urllib2
#########################################################################
##-backup_csvスクリプトの使用方法について-
##
##以下で実行されます。
##>backup("ID","PASS", min, max )
## 各パラメータについて
## ID,PASS
## 100uhacoプロジェクトに使用しているもの
## min,max
## "今日"から"四日前"のデータを保存したい場合は
## min=0,max=-4のように指定。
##
##出力先はスクリプト実行ディレクトリとなり、以下の形式で保存されます。
##"ID"-backup.csv (ex:pot-backup.csv)
##
#########################################################################
def backup(ID, passwd,min ,max):
if max > min:
print "Invalid"
elif min > 0:
print "Invalid"
else:
socket.setdefaulttimeout(31)
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor())
urllib2.install_opener(opener)
params = urllib.urlencode(dict(username= ID, password= passwd))
try:
f = opener.open('http://100uhaco.appspot.com/account/login/?next=/haco/csv/', params)
data = f.read()
if not data.count("Login"):
f.close()
for delta in range(max, min + 1):
load(ID, passwd, opener, delta)
else:
f.close()
print "Auth Error"
except Exception , e:
print e
def load(ID, passwd, opener, delta):
print("processing day "+str(delta)+" data")
URL = "http://100uhaco.appspot.com/haco/csv/?delta=" + str(delta)
try:
f = opener.open(URL)
data = f.read()
f.close()
w_file(ID, data)
except urllib2.HTTPError,e :
print " Failed:" + str(e)
def w_file(ID, data):
title = ID +"-backup.csv"
file = open(title, "a")
print >> file ,data
| Python |
# -*- coding: utf-8 -*-
#!/bin/env python
import socket
import urllib
import urllib2
import xml.dom.minidom
#########################################################################
##-backupスクリプトの使用方法について-
##
##以下で実行されます。
##>backup("ID","PASS", min, max )
## 各パラメータについて
## ID,PASS
## 100uhacoプロジェクトに使用しているもの
## min,max
## "今日"から"四日前"のデータを保存したい場合は
## min=0,max=-4のように指定。
##
##出力先はスクリプト実行ディレクトリとなり、以下の形式で保存されます。
##"ID"-"指定した日付".xml (ex:pot-2010-03-26.xml)
##
#########################################################################
def backup(ID, passwd,min ,max):
if max > min:
print "Invalid"
elif min > 0:
print "Invalid"
else:
socket.setdefaulttimeout(31)
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor())
urllib2.install_opener(opener)
params = urllib.urlencode(dict(username= ID, password= passwd))
try:
f = opener.open('http://100uhaco.appspot.com/account/login/?next=/haco/csv/', params)
data = f.read()
if not data.count("Login"):
f.close()
for delta in range(max, min + 1):
load(ID, passwd, opener, delta)
else:
f.close()
print "Auth Error"
except Exception , e:
print e
def load(ID, passwd, opener, delta):
URL = "http://100uhaco.appspot.com/haco/feed/?delta=" + str(delta)
try:
f = opener.open(URL)
data = f.read()
f.close()
title = naming(data)
w_file( data, title)
except urllib2.HTTPError,e :
print " Failed:" + str(e)
def w_file( data , title):
file = open(title,"a")
print >> file ,data
def naming( data):
dom = xml.dom.minidom.parseString(data)
dates = dom.getElementsByTagName("date")
usernames = dom.getElementsByTagName("username")
date = elements( dates)
username = elements( usernames)
dom.unlink()
print "genarating file:" +username +"-"+ date+".xml"
return username +"-"+ date+".xml"
def elements( nodes):
for node in nodes:
return node.childNodes[0].data
| Python |
'''
Module which prompts the user for translations and saves them.
TODO: implement
@author: Rodrigo Damazio
'''
class Translator(object):
'''
classdocs
'''
def __init__(self, language):
'''
Constructor
'''
self._language = language
def Translate(self, string_names):
print string_names | Python |
'''
Module which brings history information about files from Mercurial.
@author: Rodrigo Damazio
'''
import re
import subprocess
REVISION_REGEX = re.compile(r'(?P<hash>[0-9a-f]{12}):.*')
def _GetOutputLines(args):
'''
Runs an external process and returns its output as a list of lines.
@param args: the arguments to run
'''
process = subprocess.Popen(args,
stdout=subprocess.PIPE,
universal_newlines = True,
shell = False)
output = process.communicate()[0]
return output.splitlines()
def FillMercurialRevisions(filename, parsed_file):
'''
Fills the revs attribute of all strings in the given parsed file with
a list of revisions that touched the lines corresponding to that string.
@param filename: the name of the file to get history for
@param parsed_file: the parsed file to modify
'''
# Take output of hg annotate to get revision of each line
output_lines = _GetOutputLines(['hg', 'annotate', '-c', filename])
# Create a map of line -> revision (key is list index, line 0 doesn't exist)
line_revs = ['dummy']
for line in output_lines:
rev_match = REVISION_REGEX.match(line)
if not rev_match:
raise 'Unexpected line of output from hg: %s' % line
rev_hash = rev_match.group('hash')
line_revs.append(rev_hash)
for str in parsed_file.itervalues():
# Get the lines that correspond to each string
start_line = str['startLine']
end_line = str['endLine']
# Get the revisions that touched those lines
revs = []
for line_number in range(start_line, end_line + 1):
revs.append(line_revs[line_number])
# Merge with any revisions that were already there
# (for explict revision specification)
if 'revs' in str:
revs += str['revs']
# Assign the revisions to the string
str['revs'] = frozenset(revs)
def DoesRevisionSuperceed(filename, rev1, rev2):
'''
Tells whether a revision superceeds another.
This essentially means that the older revision is an ancestor of the newer
one.
This also returns True if the two revisions are the same.
@param rev1: the revision that may be superceeding the other
@param rev2: the revision that may be superceeded
@return: True if rev1 superceeds rev2 or they're the same
'''
if rev1 == rev2:
return True
# TODO: Add filename
args = ['hg', 'log', '-r', 'ancestors(%s)' % rev1, '--template', '{node|short}\n', filename]
output_lines = _GetOutputLines(args)
return rev2 in output_lines
def NewestRevision(filename, rev1, rev2):
'''
Returns which of two revisions is closest to the head of the repository.
If none of them is the ancestor of the other, then we return either one.
@param rev1: the first revision
@param rev2: the second revision
'''
if DoesRevisionSuperceed(filename, rev1, rev2):
return rev1
return rev2 | Python |
'''
Module which parses a string XML file.
@author: Rodrigo Damazio
'''
from xml.parsers.expat import ParserCreate
import re
#import xml.etree.ElementTree as ET
class StringsParser(object):
'''
Parser for string XML files.
This object is not thread-safe and should be used for parsing a single file at
a time, only.
'''
def Parse(self, file):
'''
Parses the given file and returns a dictionary mapping keys to an object
with attributes for that key, such as the value, start/end line and explicit
revisions.
In addition to the standard XML format of the strings file, this parser
supports an annotation inside comments, in one of these formats:
<!-- KEEP_PARENT name="bla" -->
<!-- KEEP_PARENT name="bla" rev="123456789012" -->
Such an annotation indicates that we're explicitly inheriting form the
master file (and the optional revision says that this decision is compatible
with the master file up to that revision).
@param file: the name of the file to parse
'''
self._Reset()
# Unfortunately expat is the only parser that will give us line numbers
self._xml_parser = ParserCreate()
self._xml_parser.StartElementHandler = self._StartElementHandler
self._xml_parser.EndElementHandler = self._EndElementHandler
self._xml_parser.CharacterDataHandler = self._CharacterDataHandler
self._xml_parser.CommentHandler = self._CommentHandler
file_obj = open(file)
self._xml_parser.ParseFile(file_obj)
file_obj.close()
return self._all_strings
def _Reset(self):
self._currentString = None
self._currentStringName = None
self._currentStringValue = None
self._all_strings = {}
def _StartElementHandler(self, name, attrs):
if name != 'string':
return
if 'name' not in attrs:
return
assert not self._currentString
assert not self._currentStringName
self._currentString = {
'startLine' : self._xml_parser.CurrentLineNumber,
}
if 'rev' in attrs:
self._currentString['revs'] = [attrs['rev']]
self._currentStringName = attrs['name']
self._currentStringValue = ''
def _EndElementHandler(self, name):
if name != 'string':
return
assert self._currentString
assert self._currentStringName
self._currentString['value'] = self._currentStringValue
self._currentString['endLine'] = self._xml_parser.CurrentLineNumber
self._all_strings[self._currentStringName] = self._currentString
self._currentString = None
self._currentStringName = None
self._currentStringValue = None
def _CharacterDataHandler(self, data):
if not self._currentString:
return
self._currentStringValue += data
_KEEP_PARENT_REGEX = re.compile(r'\s*KEEP_PARENT\s+'
r'name\s*=\s*[\'"]?(?P<name>[a-z0-9_]+)[\'"]?'
r'(?:\s+rev=[\'"]?(?P<rev>[0-9a-f]{12})[\'"]?)?\s*',
re.MULTILINE | re.DOTALL)
def _CommentHandler(self, data):
keep_parent_match = self._KEEP_PARENT_REGEX.match(data)
if not keep_parent_match:
return
name = keep_parent_match.group('name')
self._all_strings[name] = {
'keepParent' : True,
'startLine' : self._xml_parser.CurrentLineNumber,
'endLine' : self._xml_parser.CurrentLineNumber
}
rev = keep_parent_match.group('rev')
if rev:
self._all_strings[name]['revs'] = [rev] | Python |
#!/usr/bin/python
'''
Entry point for My Tracks i18n tool.
@author: Rodrigo Damazio
'''
import mytracks.files
import mytracks.translate
import mytracks.validate
import sys
def Usage():
print 'Usage: %s <command> [<language> ...]\n' % sys.argv[0]
print 'Commands are:'
print ' cleanup'
print ' translate'
print ' validate'
sys.exit(1)
def Translate(languages):
'''
Asks the user to interactively translate any missing or oudated strings from
the files for the given languages.
@param languages: the languages to translate
'''
validator = mytracks.validate.Validator(languages)
validator.Validate()
missing = validator.missing_in_lang()
outdated = validator.outdated_in_lang()
for lang in languages:
untranslated = missing[lang] + outdated[lang]
if len(untranslated) == 0:
continue
translator = mytracks.translate.Translator(lang)
translator.Translate(untranslated)
def Validate(languages):
'''
Computes and displays errors in the string files for the given languages.
@param languages: the languages to compute for
'''
validator = mytracks.validate.Validator(languages)
validator.Validate()
error_count = 0
if (validator.valid()):
print 'All files OK'
else:
for lang, missing in validator.missing_in_master().iteritems():
print 'Missing in master, present in %s: %s:' % (lang, str(missing))
error_count = error_count + len(missing)
for lang, missing in validator.missing_in_lang().iteritems():
print 'Missing in %s, present in master: %s:' % (lang, str(missing))
error_count = error_count + len(missing)
for lang, outdated in validator.outdated_in_lang().iteritems():
print 'Outdated in %s: %s:' % (lang, str(outdated))
error_count = error_count + len(outdated)
return error_count
if __name__ == '__main__':
argv = sys.argv
argc = len(argv)
if argc < 2:
Usage()
languages = mytracks.files.GetAllLanguageFiles()
if argc == 3:
langs = set(argv[2:])
if not langs.issubset(languages):
raise 'Language(s) not found'
# Filter just to the languages specified
languages = dict((lang, lang_file)
for lang, lang_file in languages.iteritems()
if lang in langs or lang == 'en' )
cmd = argv[1]
if cmd == 'translate':
Translate(languages)
elif cmd == 'validate':
error_count = Validate(languages)
else:
Usage()
error_count = 0
print '%d errors found.' % error_count
| Python |
'''
Module which compares languague files to the master file and detects
issues.
@author: Rodrigo Damazio
'''
import os
from mytracks.parser import StringsParser
import mytracks.history
class Validator(object):
def __init__(self, languages):
'''
Builds a strings file validator.
Params:
@param languages: a dictionary mapping each language to its corresponding directory
'''
self._langs = {}
self._master = None
self._language_paths = languages
parser = StringsParser()
for lang, lang_dir in languages.iteritems():
filename = os.path.join(lang_dir, 'strings.xml')
parsed_file = parser.Parse(filename)
mytracks.history.FillMercurialRevisions(filename, parsed_file)
if lang == 'en':
self._master = parsed_file
else:
self._langs[lang] = parsed_file
self._Reset()
def Validate(self):
'''
Computes whether all the data in the files for the given languages is valid.
'''
self._Reset()
self._ValidateMissingKeys()
self._ValidateOutdatedKeys()
def valid(self):
return (len(self._missing_in_master) == 0 and
len(self._missing_in_lang) == 0 and
len(self._outdated_in_lang) == 0)
def missing_in_master(self):
return self._missing_in_master
def missing_in_lang(self):
return self._missing_in_lang
def outdated_in_lang(self):
return self._outdated_in_lang
def _Reset(self):
# These are maps from language to string name list
self._missing_in_master = {}
self._missing_in_lang = {}
self._outdated_in_lang = {}
def _ValidateMissingKeys(self):
'''
Computes whether there are missing keys on either side.
'''
master_keys = frozenset(self._master.iterkeys())
for lang, file in self._langs.iteritems():
keys = frozenset(file.iterkeys())
missing_in_master = keys - master_keys
missing_in_lang = master_keys - keys
if len(missing_in_master) > 0:
self._missing_in_master[lang] = missing_in_master
if len(missing_in_lang) > 0:
self._missing_in_lang[lang] = missing_in_lang
def _ValidateOutdatedKeys(self):
'''
Computers whether any of the language keys are outdated with relation to the
master keys.
'''
for lang, file in self._langs.iteritems():
outdated = []
for key, str in file.iteritems():
# Get all revisions that touched master and language files for this
# string.
master_str = self._master[key]
master_revs = master_str['revs']
lang_revs = str['revs']
if not master_revs or not lang_revs:
print 'WARNING: No revision for %s in %s' % (key, lang)
continue
master_file = os.path.join(self._language_paths['en'], 'strings.xml')
lang_file = os.path.join(self._language_paths[lang], 'strings.xml')
# Assume that the repository has a single head (TODO: check that),
# and as such there is always one revision which superceeds all others.
master_rev = reduce(
lambda r1, r2: mytracks.history.NewestRevision(master_file, r1, r2),
master_revs)
lang_rev = reduce(
lambda r1, r2: mytracks.history.NewestRevision(lang_file, r1, r2),
lang_revs)
# If the master version is newer than the lang version
if mytracks.history.DoesRevisionSuperceed(lang_file, master_rev, lang_rev):
outdated.append(key)
if len(outdated) > 0:
self._outdated_in_lang[lang] = outdated
| Python |
'''
Module for dealing with resource files (but not their contents).
@author: Rodrigo Damazio
'''
import os.path
from glob import glob
import re
MYTRACKS_RES_DIR = 'MyTracks/res'
ANDROID_MASTER_VALUES = 'values'
ANDROID_VALUES_MASK = 'values-*'
def GetMyTracksDir():
'''
Returns the directory in which the MyTracks directory is located.
'''
path = os.getcwd()
while not os.path.isdir(os.path.join(path, MYTRACKS_RES_DIR)):
if path == '/':
raise 'Not in My Tracks project'
# Go up one level
path = os.path.split(path)[0]
return path
def GetAllLanguageFiles():
'''
Returns a mapping from all found languages to their respective directories.
'''
mytracks_path = GetMyTracksDir()
res_dir = os.path.join(mytracks_path, MYTRACKS_RES_DIR, ANDROID_VALUES_MASK)
language_dirs = glob(res_dir)
master_dir = os.path.join(mytracks_path, MYTRACKS_RES_DIR, ANDROID_MASTER_VALUES)
if len(language_dirs) == 0:
raise 'No languages found!'
if not os.path.isdir(master_dir):
raise 'Couldn\'t find master file'
language_tuples = [(re.findall(r'.*values-([A-Za-z-]+)', dir)[0],dir) for dir in language_dirs]
language_tuples.append(('en', master_dir))
return dict(language_tuples)
| Python |
#!/usr/bin/python2.4
#
# Copyright 2007 The Python-Twitter Developers
#
# 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.
import os
import sys
# parse_qsl moved to urlparse module in v2.6
try:
from urlparse import parse_qsl
except:
from cgi import parse_qsl
import oauth2 as oauth
REQUEST_TOKEN_URL = 'https://api.twitter.com/oauth/request_token'
ACCESS_TOKEN_URL = 'https://api.twitter.com/oauth/access_token'
AUTHORIZATION_URL = 'https://api.twitter.com/oauth/authorize'
SIGNIN_URL = 'https://api.twitter.com/oauth/authenticate'
consumer_key = None
consumer_secret = None
if consumer_key is None or consumer_secret is None:
print 'You need to edit this script and provide values for the'
print 'consumer_key and also consumer_secret.'
print ''
print 'The values you need come from Twitter - you need to register'
print 'as a developer your "application". This is needed only until'
print 'Twitter finishes the idea they have of a way to allow open-source'
print 'based libraries to have a token that can be used to generate a'
print 'one-time use key that will allow the library to make the request'
print 'on your behalf.'
print ''
sys.exit(1)
signature_method_hmac_sha1 = oauth.SignatureMethod_HMAC_SHA1()
oauth_consumer = oauth.Consumer(key=consumer_key, secret=consumer_secret)
oauth_client = oauth.Client(oauth_consumer)
print 'Requesting temp token from Twitter'
resp, content = oauth_client.request(REQUEST_TOKEN_URL, 'GET')
if resp['status'] != '200':
print 'Invalid respond from Twitter requesting temp token: %s' % resp['status']
else:
request_token = dict(parse_qsl(content))
print ''
print 'Please visit this Twitter page and retrieve the pincode to be used'
print 'in the next step to obtaining an Authentication Token:'
print ''
print '%s?oauth_token=%s' % (AUTHORIZATION_URL, request_token['oauth_token'])
print ''
pincode = raw_input('Pincode? ')
token = oauth.Token(request_token['oauth_token'], request_token['oauth_token_secret'])
token.set_verifier(pincode)
print ''
print 'Generating and signing request for an access token'
print ''
oauth_client = oauth.Client(oauth_consumer, token)
resp, content = oauth_client.request(ACCESS_TOKEN_URL, method='POST', body='oauth_callback=oob&oauth_verifier=%s' % pincode)
access_token = dict(parse_qsl(content))
if resp['status'] != '200':
print 'The request for a Token did not succeed: %s' % resp['status']
print access_token
else:
print 'Your Twitter Access Token key: %s' % access_token['oauth_token']
print ' Access Token secret: %s' % access_token['oauth_token_secret']
print ''
| Python |
#!/usr/bin/python2.4
# -*- coding: utf-8 -*-#
#
# Copyright 2007 The Python-Twitter Developers
#
# 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.
'''Unit tests for the twitter.py library'''
__author__ = 'python-twitter@googlegroups.com'
import os
import simplejson
import time
import calendar
import unittest
import urllib
import twitter
class StatusTest(unittest.TestCase):
SAMPLE_JSON = '''{"created_at": "Fri Jan 26 23:17:14 +0000 2007", "id": 4391023, "text": "A l\u00e9gp\u00e1rn\u00e1s haj\u00f3m tele van angoln\u00e1kkal.", "user": {"description": "Canvas. JC Penny. Three ninety-eight.", "id": 718443, "location": "Okinawa, Japan", "name": "Kesuke Miyagi", "profile_image_url": "https://twitter.com/system/user/profile_image/718443/normal/kesuke.png", "screen_name": "kesuke", "url": "https://twitter.com/kesuke"}}'''
def _GetSampleUser(self):
return twitter.User(id=718443,
name='Kesuke Miyagi',
screen_name='kesuke',
description=u'Canvas. JC Penny. Three ninety-eight.',
location='Okinawa, Japan',
url='https://twitter.com/kesuke',
profile_image_url='https://twitter.com/system/user/pro'
'file_image/718443/normal/kesuke.pn'
'g')
def _GetSampleStatus(self):
return twitter.Status(created_at='Fri Jan 26 23:17:14 +0000 2007',
id=4391023,
text=u'A légpárnás hajóm tele van angolnákkal.',
user=self._GetSampleUser())
def testInit(self):
'''Test the twitter.Status constructor'''
status = twitter.Status(created_at='Fri Jan 26 23:17:14 +0000 2007',
id=4391023,
text=u'A légpárnás hajóm tele van angolnákkal.',
user=self._GetSampleUser())
def testGettersAndSetters(self):
'''Test all of the twitter.Status getters and setters'''
status = twitter.Status()
status.SetId(4391023)
self.assertEqual(4391023, status.GetId())
created_at = calendar.timegm((2007, 1, 26, 23, 17, 14, -1, -1, -1))
status.SetCreatedAt('Fri Jan 26 23:17:14 +0000 2007')
self.assertEqual('Fri Jan 26 23:17:14 +0000 2007', status.GetCreatedAt())
self.assertEqual(created_at, status.GetCreatedAtInSeconds())
status.SetNow(created_at + 10)
self.assertEqual("about 10 seconds ago", status.GetRelativeCreatedAt())
status.SetText(u'A légpárnás hajóm tele van angolnákkal.')
self.assertEqual(u'A légpárnás hajóm tele van angolnákkal.',
status.GetText())
status.SetUser(self._GetSampleUser())
self.assertEqual(718443, status.GetUser().id)
def testProperties(self):
'''Test all of the twitter.Status properties'''
status = twitter.Status()
status.id = 1
self.assertEqual(1, status.id)
created_at = calendar.timegm((2007, 1, 26, 23, 17, 14, -1, -1, -1))
status.created_at = 'Fri Jan 26 23:17:14 +0000 2007'
self.assertEqual('Fri Jan 26 23:17:14 +0000 2007', status.created_at)
self.assertEqual(created_at, status.created_at_in_seconds)
status.now = created_at + 10
self.assertEqual('about 10 seconds ago', status.relative_created_at)
status.user = self._GetSampleUser()
self.assertEqual(718443, status.user.id)
def _ParseDate(self, string):
return calendar.timegm(time.strptime(string, '%b %d %H:%M:%S %Y'))
def testRelativeCreatedAt(self):
'''Test various permutations of Status relative_created_at'''
status = twitter.Status(created_at='Fri Jan 01 12:00:00 +0000 2007')
status.now = self._ParseDate('Jan 01 12:00:00 2007')
self.assertEqual('about a second ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 12:00:01 2007')
self.assertEqual('about a second ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 12:00:02 2007')
self.assertEqual('about 2 seconds ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 12:00:05 2007')
self.assertEqual('about 5 seconds ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 12:00:50 2007')
self.assertEqual('about a minute ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 12:01:00 2007')
self.assertEqual('about a minute ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 12:01:10 2007')
self.assertEqual('about a minute ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 12:02:00 2007')
self.assertEqual('about 2 minutes ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 12:31:50 2007')
self.assertEqual('about 31 minutes ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 12:50:00 2007')
self.assertEqual('about an hour ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 13:00:00 2007')
self.assertEqual('about an hour ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 13:10:00 2007')
self.assertEqual('about an hour ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 14:00:00 2007')
self.assertEqual('about 2 hours ago', status.relative_created_at)
status.now = self._ParseDate('Jan 01 19:00:00 2007')
self.assertEqual('about 7 hours ago', status.relative_created_at)
status.now = self._ParseDate('Jan 02 11:30:00 2007')
self.assertEqual('about a day ago', status.relative_created_at)
status.now = self._ParseDate('Jan 04 12:00:00 2007')
self.assertEqual('about 3 days ago', status.relative_created_at)
status.now = self._ParseDate('Feb 04 12:00:00 2007')
self.assertEqual('about 34 days ago', status.relative_created_at)
def testAsJsonString(self):
'''Test the twitter.Status AsJsonString method'''
self.assertEqual(StatusTest.SAMPLE_JSON,
self._GetSampleStatus().AsJsonString())
def testAsDict(self):
'''Test the twitter.Status AsDict method'''
status = self._GetSampleStatus()
data = status.AsDict()
self.assertEqual(4391023, data['id'])
self.assertEqual('Fri Jan 26 23:17:14 +0000 2007', data['created_at'])
self.assertEqual(u'A légpárnás hajóm tele van angolnákkal.', data['text'])
self.assertEqual(718443, data['user']['id'])
def testEq(self):
'''Test the twitter.Status __eq__ method'''
status = twitter.Status()
status.created_at = 'Fri Jan 26 23:17:14 +0000 2007'
status.id = 4391023
status.text = u'A légpárnás hajóm tele van angolnákkal.'
status.user = self._GetSampleUser()
self.assertEqual(status, self._GetSampleStatus())
def testNewFromJsonDict(self):
'''Test the twitter.Status NewFromJsonDict method'''
data = simplejson.loads(StatusTest.SAMPLE_JSON)
status = twitter.Status.NewFromJsonDict(data)
self.assertEqual(self._GetSampleStatus(), status)
class UserTest(unittest.TestCase):
SAMPLE_JSON = '''{"description": "Indeterminate things", "id": 673483, "location": "San Francisco, CA", "name": "DeWitt", "profile_image_url": "https://twitter.com/system/user/profile_image/673483/normal/me.jpg", "screen_name": "dewitt", "status": {"created_at": "Fri Jan 26 17:28:19 +0000 2007", "id": 4212713, "text": "\\"Select all\\" and archive your Gmail inbox. The page loads so much faster!"}, "url": "http://unto.net/"}'''
def _GetSampleStatus(self):
return twitter.Status(created_at='Fri Jan 26 17:28:19 +0000 2007',
id=4212713,
text='"Select all" and archive your Gmail inbox. '
' The page loads so much faster!')
def _GetSampleUser(self):
return twitter.User(id=673483,
name='DeWitt',
screen_name='dewitt',
description=u'Indeterminate things',
location='San Francisco, CA',
url='http://unto.net/',
profile_image_url='https://twitter.com/system/user/prof'
'ile_image/673483/normal/me.jpg',
status=self._GetSampleStatus())
def testInit(self):
'''Test the twitter.User constructor'''
user = twitter.User(id=673483,
name='DeWitt',
screen_name='dewitt',
description=u'Indeterminate things',
url='https://twitter.com/dewitt',
profile_image_url='https://twitter.com/system/user/prof'
'ile_image/673483/normal/me.jpg',
status=self._GetSampleStatus())
def testGettersAndSetters(self):
'''Test all of the twitter.User getters and setters'''
user = twitter.User()
user.SetId(673483)
self.assertEqual(673483, user.GetId())
user.SetName('DeWitt')
self.assertEqual('DeWitt', user.GetName())
user.SetScreenName('dewitt')
self.assertEqual('dewitt', user.GetScreenName())
user.SetDescription('Indeterminate things')
self.assertEqual('Indeterminate things', user.GetDescription())
user.SetLocation('San Francisco, CA')
self.assertEqual('San Francisco, CA', user.GetLocation())
user.SetProfileImageUrl('https://twitter.com/system/user/profile_im'
'age/673483/normal/me.jpg')
self.assertEqual('https://twitter.com/system/user/profile_image/673'
'483/normal/me.jpg', user.GetProfileImageUrl())
user.SetStatus(self._GetSampleStatus())
self.assertEqual(4212713, user.GetStatus().id)
def testProperties(self):
'''Test all of the twitter.User properties'''
user = twitter.User()
user.id = 673483
self.assertEqual(673483, user.id)
user.name = 'DeWitt'
self.assertEqual('DeWitt', user.name)
user.screen_name = 'dewitt'
self.assertEqual('dewitt', user.screen_name)
user.description = 'Indeterminate things'
self.assertEqual('Indeterminate things', user.description)
user.location = 'San Francisco, CA'
self.assertEqual('San Francisco, CA', user.location)
user.profile_image_url = 'https://twitter.com/system/user/profile_i' \
'mage/673483/normal/me.jpg'
self.assertEqual('https://twitter.com/system/user/profile_image/6734'
'83/normal/me.jpg', user.profile_image_url)
self.status = self._GetSampleStatus()
self.assertEqual(4212713, self.status.id)
def testAsJsonString(self):
'''Test the twitter.User AsJsonString method'''
self.assertEqual(UserTest.SAMPLE_JSON,
self._GetSampleUser().AsJsonString())
def testAsDict(self):
'''Test the twitter.User AsDict method'''
user = self._GetSampleUser()
data = user.AsDict()
self.assertEqual(673483, data['id'])
self.assertEqual('DeWitt', data['name'])
self.assertEqual('dewitt', data['screen_name'])
self.assertEqual('Indeterminate things', data['description'])
self.assertEqual('San Francisco, CA', data['location'])
self.assertEqual('https://twitter.com/system/user/profile_image/6734'
'83/normal/me.jpg', data['profile_image_url'])
self.assertEqual('http://unto.net/', data['url'])
self.assertEqual(4212713, data['status']['id'])
def testEq(self):
'''Test the twitter.User __eq__ method'''
user = twitter.User()
user.id = 673483
user.name = 'DeWitt'
user.screen_name = 'dewitt'
user.description = 'Indeterminate things'
user.location = 'San Francisco, CA'
user.profile_image_url = 'https://twitter.com/system/user/profile_image/67' \
'3483/normal/me.jpg'
user.url = 'http://unto.net/'
user.status = self._GetSampleStatus()
self.assertEqual(user, self._GetSampleUser())
def testNewFromJsonDict(self):
'''Test the twitter.User NewFromJsonDict method'''
data = simplejson.loads(UserTest.SAMPLE_JSON)
user = twitter.User.NewFromJsonDict(data)
self.assertEqual(self._GetSampleUser(), user)
class TrendTest(unittest.TestCase):
SAMPLE_JSON = '''{"name": "Kesuke Miyagi", "query": "Kesuke Miyagi"}'''
def _GetSampleTrend(self):
return twitter.Trend(name='Kesuke Miyagi',
query='Kesuke Miyagi',
timestamp='Fri Jan 26 23:17:14 +0000 2007')
def testInit(self):
'''Test the twitter.Trend constructor'''
trend = twitter.Trend(name='Kesuke Miyagi',
query='Kesuke Miyagi',
timestamp='Fri Jan 26 23:17:14 +0000 2007')
def testProperties(self):
'''Test all of the twitter.Trend properties'''
trend = twitter.Trend()
trend.name = 'Kesuke Miyagi'
self.assertEqual('Kesuke Miyagi', trend.name)
trend.query = 'Kesuke Miyagi'
self.assertEqual('Kesuke Miyagi', trend.query)
trend.timestamp = 'Fri Jan 26 23:17:14 +0000 2007'
self.assertEqual('Fri Jan 26 23:17:14 +0000 2007', trend.timestamp)
def testNewFromJsonDict(self):
'''Test the twitter.Trend NewFromJsonDict method'''
data = simplejson.loads(TrendTest.SAMPLE_JSON)
trend = twitter.Trend.NewFromJsonDict(data, timestamp='Fri Jan 26 23:17:14 +0000 2007')
self.assertEqual(self._GetSampleTrend(), trend)
def testEq(self):
'''Test the twitter.Trend __eq__ method'''
trend = twitter.Trend()
trend.name = 'Kesuke Miyagi'
trend.query = 'Kesuke Miyagi'
trend.timestamp = 'Fri Jan 26 23:17:14 +0000 2007'
self.assertEqual(trend, self._GetSampleTrend())
class FileCacheTest(unittest.TestCase):
def testInit(self):
"""Test the twitter._FileCache constructor"""
cache = twitter._FileCache()
self.assert_(cache is not None, 'cache is None')
def testSet(self):
"""Test the twitter._FileCache.Set method"""
cache = twitter._FileCache()
cache.Set("foo",'Hello World!')
cache.Remove("foo")
def testRemove(self):
"""Test the twitter._FileCache.Remove method"""
cache = twitter._FileCache()
cache.Set("foo",'Hello World!')
cache.Remove("foo")
data = cache.Get("foo")
self.assertEqual(data, None, 'data is not None')
def testGet(self):
"""Test the twitter._FileCache.Get method"""
cache = twitter._FileCache()
cache.Set("foo",'Hello World!')
data = cache.Get("foo")
self.assertEqual('Hello World!', data)
cache.Remove("foo")
def testGetCachedTime(self):
"""Test the twitter._FileCache.GetCachedTime method"""
now = time.time()
cache = twitter._FileCache()
cache.Set("foo",'Hello World!')
cached_time = cache.GetCachedTime("foo")
delta = cached_time - now
self.assert_(delta <= 1,
'Cached time differs from clock time by more than 1 second.')
cache.Remove("foo")
class ApiTest(unittest.TestCase):
def setUp(self):
self._urllib = MockUrllib()
api = twitter.Api(consumer_key='CONSUMER_KEY',
consumer_secret='CONSUMER_SECRET',
access_token_key='OAUTH_TOKEN',
access_token_secret='OAUTH_SECRET',
cache=None)
api.SetUrllib(self._urllib)
self._api = api
def testTwitterError(self):
'''Test that twitter responses containing an error message are wrapped.'''
self._AddHandler('https://api.twitter.com/1/statuses/user_timeline.json',
curry(self._OpenTestData, 'public_timeline_error.json'))
# Manually try/catch so we can check the exception's value
try:
statuses = self._api.GetUserTimeline()
except twitter.TwitterError, error:
# If the error message matches, the test passes
self.assertEqual('test error', error.message)
else:
self.fail('TwitterError expected')
def testGetUserTimeline(self):
'''Test the twitter.Api GetUserTimeline method'''
self._AddHandler('https://api.twitter.com/1/statuses/user_timeline/kesuke.json?count=1',
curry(self._OpenTestData, 'user_timeline-kesuke.json'))
statuses = self._api.GetUserTimeline('kesuke', count=1)
# This is rather arbitrary, but spot checking is better than nothing
self.assertEqual(89512102, statuses[0].id)
self.assertEqual(718443, statuses[0].user.id)
def testGetFriendsTimeline(self):
'''Test the twitter.Api GetFriendsTimeline method'''
self._AddHandler('https://api.twitter.com/1/statuses/friends_timeline/kesuke.json',
curry(self._OpenTestData, 'friends_timeline-kesuke.json'))
statuses = self._api.GetFriendsTimeline('kesuke')
# This is rather arbitrary, but spot checking is better than nothing
self.assertEqual(20, len(statuses))
self.assertEqual(718443, statuses[0].user.id)
def testGetStatus(self):
'''Test the twitter.Api GetStatus method'''
self._AddHandler('https://api.twitter.com/1/statuses/show/89512102.json',
curry(self._OpenTestData, 'show-89512102.json'))
status = self._api.GetStatus(89512102)
self.assertEqual(89512102, status.id)
self.assertEqual(718443, status.user.id)
def testDestroyStatus(self):
'''Test the twitter.Api DestroyStatus method'''
self._AddHandler('https://api.twitter.com/1/statuses/destroy/103208352.json',
curry(self._OpenTestData, 'status-destroy.json'))
status = self._api.DestroyStatus(103208352)
self.assertEqual(103208352, status.id)
def testPostUpdate(self):
'''Test the twitter.Api PostUpdate method'''
self._AddHandler('https://api.twitter.com/1/statuses/update.json',
curry(self._OpenTestData, 'update.json'))
status = self._api.PostUpdate(u'Моё судно на воздушной подушке полно угрей'.encode('utf8'))
# This is rather arbitrary, but spot checking is better than nothing
self.assertEqual(u'Моё судно на воздушной подушке полно угрей', status.text)
def testPostUpdateLatLon(self):
'''Test the twitter.Api PostUpdate method, when used in conjunction with latitude and longitude'''
self._AddHandler('https://api.twitter.com/1/statuses/update.json',
curry(self._OpenTestData, 'update_latlong.json'))
#test another update with geo parameters, again test somewhat arbitrary
status = self._api.PostUpdate(u'Моё судно на воздушной подушке полно угрей'.encode('utf8'), latitude=54.2, longitude=-2)
self.assertEqual(u'Моё судно на воздушной подушке полно угрей', status.text)
self.assertEqual(u'Point',status.GetGeo()['type'])
self.assertEqual(26.2,status.GetGeo()['coordinates'][0])
self.assertEqual(127.5,status.GetGeo()['coordinates'][1])
def testGetReplies(self):
'''Test the twitter.Api GetReplies method'''
self._AddHandler('https://api.twitter.com/1/statuses/replies.json?page=1',
curry(self._OpenTestData, 'replies.json'))
statuses = self._api.GetReplies(page=1)
self.assertEqual(36657062, statuses[0].id)
def testGetRetweetsOfMe(self):
'''Test the twitter.API GetRetweetsOfMe method'''
self._AddHandler('https://api.twitter.com/1/statuses/retweets_of_me.json',
curry(self._OpenTestData, 'retweets_of_me.json'))
retweets = self._api.GetRetweetsOfMe()
self.assertEqual(253650670274637824, retweets[0].id)
def testGetFriends(self):
'''Test the twitter.Api GetFriends method'''
self._AddHandler('https://api.twitter.com/1/statuses/friends.json?cursor=123',
curry(self._OpenTestData, 'friends.json'))
users = self._api.GetFriends(cursor=123)
buzz = [u.status for u in users if u.screen_name == 'buzz']
self.assertEqual(89543882, buzz[0].id)
def testGetFollowers(self):
'''Test the twitter.Api GetFollowers method'''
self._AddHandler('https://api.twitter.com/1/statuses/followers.json?cursor=-1',
curry(self._OpenTestData, 'followers.json'))
users = self._api.GetFollowers()
# This is rather arbitrary, but spot checking is better than nothing
alexkingorg = [u.status for u in users if u.screen_name == 'alexkingorg']
self.assertEqual(89554432, alexkingorg[0].id)
def testGetFeatured(self):
'''Test the twitter.Api GetFeatured method'''
self._AddHandler('https://api.twitter.com/1/statuses/featured.json',
curry(self._OpenTestData, 'featured.json'))
users = self._api.GetFeatured()
# This is rather arbitrary, but spot checking is better than nothing
stevenwright = [u.status for u in users if u.screen_name == 'stevenwright']
self.assertEqual(86991742, stevenwright[0].id)
def testGetDirectMessages(self):
'''Test the twitter.Api GetDirectMessages method'''
self._AddHandler('https://api.twitter.com/1/direct_messages.json?page=1',
curry(self._OpenTestData, 'direct_messages.json'))
statuses = self._api.GetDirectMessages(page=1)
self.assertEqual(u'A légpárnás hajóm tele van angolnákkal.', statuses[0].text)
def testPostDirectMessage(self):
'''Test the twitter.Api PostDirectMessage method'''
self._AddHandler('https://api.twitter.com/1/direct_messages/new.json',
curry(self._OpenTestData, 'direct_messages-new.json'))
status = self._api.PostDirectMessage('test', u'Моё судно на воздушной подушке полно угрей'.encode('utf8'))
# This is rather arbitrary, but spot checking is better than nothing
self.assertEqual(u'Моё судно на воздушной подушке полно угрей', status.text)
def testDestroyDirectMessage(self):
'''Test the twitter.Api DestroyDirectMessage method'''
self._AddHandler('https://api.twitter.com/1/direct_messages/destroy/3496342.json',
curry(self._OpenTestData, 'direct_message-destroy.json'))
status = self._api.DestroyDirectMessage(3496342)
# This is rather arbitrary, but spot checking is better than nothing
self.assertEqual(673483, status.sender_id)
def testCreateFriendship(self):
'''Test the twitter.Api CreateFriendship method'''
self._AddHandler('https://api.twitter.com/1/friendships/create/dewitt.json',
curry(self._OpenTestData, 'friendship-create.json'))
user = self._api.CreateFriendship('dewitt')
# This is rather arbitrary, but spot checking is better than nothing
self.assertEqual(673483, user.id)
def testDestroyFriendship(self):
'''Test the twitter.Api DestroyFriendship method'''
self._AddHandler('https://api.twitter.com/1/friendships/destroy/dewitt.json',
curry(self._OpenTestData, 'friendship-destroy.json'))
user = self._api.DestroyFriendship('dewitt')
# This is rather arbitrary, but spot checking is better than nothing
self.assertEqual(673483, user.id)
def testGetUser(self):
'''Test the twitter.Api GetUser method'''
self._AddHandler('https://api.twitter.com/1/users/show/dewitt.json',
curry(self._OpenTestData, 'show-dewitt.json'))
user = self._api.GetUser('dewitt')
self.assertEqual('dewitt', user.screen_name)
self.assertEqual(89586072, user.status.id)
def _AddHandler(self, url, callback):
self._urllib.AddHandler(url, callback)
def _GetTestDataPath(self, filename):
directory = os.path.dirname(os.path.abspath(__file__))
test_data_dir = os.path.join(directory, 'testdata')
return os.path.join(test_data_dir, filename)
def _OpenTestData(self, filename):
f = open(self._GetTestDataPath(filename))
# make sure that the returned object contains an .info() method:
# headers are set to {}
return urllib.addinfo(f, {})
class MockUrllib(object):
'''A mock replacement for urllib that hardcodes specific responses.'''
def __init__(self):
self._handlers = {}
self.HTTPBasicAuthHandler = MockHTTPBasicAuthHandler
def AddHandler(self, url, callback):
self._handlers[url] = callback
def build_opener(self, *handlers):
return MockOpener(self._handlers)
def HTTPHandler(self, *args, **kwargs):
return None
def HTTPSHandler(self, *args, **kwargs):
return None
def OpenerDirector(self):
return self.build_opener()
def ProxyHandler(self,*args,**kwargs):
return None
class MockOpener(object):
'''A mock opener for urllib'''
def __init__(self, handlers):
self._handlers = handlers
self._opened = False
def open(self, url, data=None):
if self._opened:
raise Exception('MockOpener already opened.')
# Remove parameters from URL - they're only added by oauth and we
# don't want to test oauth
if '?' in url:
# We split using & and filter on the beginning of each key
# This is crude but we have to keep the ordering for now
(url, qs) = url.split('?')
tokens = [token for token in qs.split('&')
if not token.startswith('oauth')]
if len(tokens) > 0:
url = "%s?%s"%(url, '&'.join(tokens))
if url in self._handlers:
self._opened = True
return self._handlers[url]()
else:
raise Exception('Unexpected URL %s (Checked: %s)' % (url, self._handlers))
def add_handler(self, *args, **kwargs):
pass
def close(self):
if not self._opened:
raise Exception('MockOpener closed before it was opened.')
self._opened = False
class MockHTTPBasicAuthHandler(object):
'''A mock replacement for HTTPBasicAuthHandler'''
def add_password(self, realm, uri, user, passwd):
# TODO(dewitt): Add verification that the proper args are passed
pass
class curry:
# http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52549
def __init__(self, fun, *args, **kwargs):
self.fun = fun
self.pending = args[:]
self.kwargs = kwargs.copy()
def __call__(self, *args, **kwargs):
if kwargs and self.kwargs:
kw = self.kwargs.copy()
kw.update(kwargs)
else:
kw = kwargs or self.kwargs
return self.fun(*(self.pending + args), **kw)
def suite():
suite = unittest.TestSuite()
suite.addTests(unittest.makeSuite(FileCacheTest))
suite.addTests(unittest.makeSuite(StatusTest))
suite.addTests(unittest.makeSuite(UserTest))
suite.addTests(unittest.makeSuite(ApiTest))
return suite
if __name__ == '__main__':
unittest.main()
| Python |
#!/usr/bin/python2.4
'''Load the latest update for a Twitter user and leave it in an XHTML fragment'''
__author__ = 'dewitt@google.com'
import codecs
import getopt
import sys
import twitter
TEMPLATE = """
<div class="twitter">
<span class="twitter-user"><a href="http://twitter.com/%s">Twitter</a>: </span>
<span class="twitter-text">%s</span>
<span class="twitter-relative-created-at"><a href="http://twitter.com/%s/statuses/%s">Posted %s</a></span>
</div>
"""
def Usage():
print 'Usage: %s [options] twitterid' % __file__
print
print ' This script fetches a users latest twitter update and stores'
print ' the result in a file as an XHTML fragment'
print
print ' Options:'
print ' --help -h : print this help'
print ' --output : the output file [default: stdout]'
def FetchTwitter(user, output):
assert user
statuses = twitter.Api().GetUserTimeline(user=user, count=1)
s = statuses[0]
xhtml = TEMPLATE % (s.user.screen_name, s.text, s.user.screen_name, s.id, s.relative_created_at)
if output:
Save(xhtml, output)
else:
print xhtml
def Save(xhtml, output):
out = codecs.open(output, mode='w', encoding='ascii',
errors='xmlcharrefreplace')
out.write(xhtml)
out.close()
def main():
try:
opts, args = getopt.gnu_getopt(sys.argv[1:], 'ho', ['help', 'output='])
except getopt.GetoptError:
Usage()
sys.exit(2)
try:
user = args[0]
except:
Usage()
sys.exit(2)
output = None
for o, a in opts:
if o in ("-h", "--help"):
Usage()
sys.exit(2)
if o in ("-o", "--output"):
output = a
FetchTwitter(user, output)
if __name__ == "__main__":
main()
| Python |
#!/usr/bin/python2.4
'''Post a message to twitter'''
__author__ = 'dewitt@google.com'
import ConfigParser
import getopt
import os
import sys
import twitter
USAGE = '''Usage: tweet [options] message
This script posts a message to Twitter.
Options:
-h --help : print this help
--consumer-key : the twitter consumer key
--consumer-secret : the twitter consumer secret
--access-key : the twitter access token key
--access-secret : the twitter access token secret
--encoding : the character set encoding used in input strings, e.g. "utf-8". [optional]
Documentation:
If either of the command line flags are not present, the environment
variables TWEETUSERNAME and TWEETPASSWORD will then be checked for your
consumer_key or consumer_secret, respectively.
If neither the command line flags nor the enviroment variables are
present, the .tweetrc file, if it exists, can be used to set the
default consumer_key and consumer_secret. The file should contain the
following three lines, replacing *consumer_key* with your consumer key, and
*consumer_secret* with your consumer secret:
A skeletal .tweetrc file:
[Tweet]
consumer_key: *consumer_key*
consumer_secret: *consumer_password*
access_key: *access_key*
access_secret: *access_password*
'''
def PrintUsageAndExit():
print USAGE
sys.exit(2)
def GetConsumerKeyEnv():
return os.environ.get("TWEETUSERNAME", None)
def GetConsumerSecretEnv():
return os.environ.get("TWEETPASSWORD", None)
def GetAccessKeyEnv():
return os.environ.get("TWEETACCESSKEY", None)
def GetAccessSecretEnv():
return os.environ.get("TWEETACCESSSECRET", None)
class TweetRc(object):
def __init__(self):
self._config = None
def GetConsumerKey(self):
return self._GetOption('consumer_key')
def GetConsumerSecret(self):
return self._GetOption('consumer_secret')
def GetAccessKey(self):
return self._GetOption('access_key')
def GetAccessSecret(self):
return self._GetOption('access_secret')
def _GetOption(self, option):
try:
return self._GetConfig().get('Tweet', option)
except:
return None
def _GetConfig(self):
if not self._config:
self._config = ConfigParser.ConfigParser()
self._config.read(os.path.expanduser('~/.tweetrc'))
return self._config
def main():
try:
shortflags = 'h'
longflags = ['help', 'consumer-key=', 'consumer-secret=',
'access-key=', 'access-secret=', 'encoding=']
opts, args = getopt.gnu_getopt(sys.argv[1:], shortflags, longflags)
except getopt.GetoptError:
PrintUsageAndExit()
consumer_keyflag = None
consumer_secretflag = None
access_keyflag = None
access_secretflag = None
encoding = None
for o, a in opts:
if o in ("-h", "--help"):
PrintUsageAndExit()
if o in ("--consumer-key"):
consumer_keyflag = a
if o in ("--consumer-secret"):
consumer_secretflag = a
if o in ("--access-key"):
access_keyflag = a
if o in ("--access-secret"):
access_secretflag = a
if o in ("--encoding"):
encoding = a
message = ' '.join(args)
if not message:
PrintUsageAndExit()
rc = TweetRc()
consumer_key = consumer_keyflag or GetConsumerKeyEnv() or rc.GetConsumerKey()
consumer_secret = consumer_secretflag or GetConsumerSecretEnv() or rc.GetConsumerSecret()
access_key = access_keyflag or GetAccessKeyEnv() or rc.GetAccessKey()
access_secret = access_secretflag or GetAccessSecretEnv() or rc.GetAccessSecret()
if not consumer_key or not consumer_secret or not access_key or not access_secret:
PrintUsageAndExit()
api = twitter.Api(consumer_key=consumer_key, consumer_secret=consumer_secret,
access_token_key=access_key, access_token_secret=access_secret,
input_encoding=encoding)
try:
status = api.PostUpdate(message)
except UnicodeDecodeError:
print "Your message could not be encoded. Perhaps it contains non-ASCII characters? "
print "Try explicitly specifying the encoding with the --encoding flag"
sys.exit(2)
print "%s just posted: %s" % (status.user.name, status.text)
if __name__ == "__main__":
main()
| Python |
#!/usr/bin/python2.4
#
# Copyright 2007 The Python-Twitter Developers
#
# 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.
'''A class that defines the default URL Shortener.
TinyURL is provided as the default and as an example.
'''
import urllib
# Change History
#
# 2010-05-16
# TinyURL example and the idea for this comes from a bug filed by
# acolorado with patch provided by ghills. Class implementation
# was done by bear.
#
# Issue 19 http://code.google.com/p/python-twitter/issues/detail?id=19
#
class ShortenURL(object):
'''Helper class to make URL Shortener calls if/when required'''
def __init__(self,
userid=None,
password=None):
'''Instantiate a new ShortenURL object
Args:
userid: userid for any required authorization call [optional]
password: password for any required authorization call [optional]
'''
self.userid = userid
self.password = password
def Shorten(self,
longURL):
'''Call TinyURL API and returned shortened URL result
Args:
longURL: URL string to shorten
Returns:
The shortened URL as a string
Note:
longURL is required and no checks are made to ensure completeness
'''
result = None
f = urllib.urlopen("http://tinyurl.com/api-create.php?url=%s" % longURL)
try:
result = f.read()
finally:
f.close()
return result
| Python |
#!/usr/bin/python2.4
#
# Copyright 2007 The Python-Twitter Developers
#
# 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.
'''The setup and build script for the python-twitter library.'''
__author__ = 'python-twitter@googlegroups.com'
__version__ = '0.8.5'
# The base package metadata to be used by both distutils and setuptools
METADATA = dict(
name = "python-twitter",
version = __version__,
py_modules = ['twitter'],
author='The Python-Twitter Developers',
author_email='python-twitter@googlegroups.com',
description='A python wrapper around the Twitter API',
license='Apache License 2.0',
url='https://github.com/bear/python-twitter',
keywords='twitter api',
)
# Extra package metadata to be used only if setuptools is installed
SETUPTOOLS_METADATA = dict(
install_requires = ['setuptools', 'simplejson', 'oauth2'],
include_package_data = True,
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Communications :: Chat',
'Topic :: Internet',
],
test_suite = 'twitter_test.suite',
)
def Read(file):
return open(file).read()
def BuildLongDescription():
return '\n'.join([Read('README.md'), Read('CHANGES')])
def Main():
# Build the long_description from the README and CHANGES
METADATA['long_description'] = BuildLongDescription()
# Use setuptools if available, otherwise fallback and use distutils
try:
import setuptools
METADATA.update(SETUPTOOLS_METADATA)
setuptools.setup(**METADATA)
except ImportError:
import distutils.core
distutils.core.setup(**METADATA)
if __name__ == '__main__':
Main()
| Python |
"""Implementation of JSONDecoder
"""
import re
import sys
import struct
from simplejson.scanner import make_scanner
try:
from simplejson._speedups import scanstring as c_scanstring
except ImportError:
c_scanstring = None
__all__ = ['JSONDecoder']
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
def _floatconstants():
_BYTES = '7FF80000000000007FF0000000000000'.decode('hex')
if sys.byteorder != 'big':
_BYTES = _BYTES[:8][::-1] + _BYTES[8:][::-1]
nan, inf = struct.unpack('dd', _BYTES)
return nan, inf, -inf
NaN, PosInf, NegInf = _floatconstants()
def linecol(doc, pos):
lineno = doc.count('\n', 0, pos) + 1
if lineno == 1:
colno = pos
else:
colno = pos - doc.rindex('\n', 0, pos)
return lineno, colno
def errmsg(msg, doc, pos, end=None):
# Note that this function is called from _speedups
lineno, colno = linecol(doc, pos)
if end is None:
return '%s: line %d column %d (char %d)' % (msg, lineno, colno, pos)
endlineno, endcolno = linecol(doc, end)
return '%s: line %d column %d - line %d column %d (char %d - %d)' % (
msg, lineno, colno, endlineno, endcolno, pos, end)
_CONSTANTS = {
'-Infinity': NegInf,
'Infinity': PosInf,
'NaN': NaN,
}
STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
BACKSLASH = {
'"': u'"', '\\': u'\\', '/': u'/',
'b': u'\b', 'f': u'\f', 'n': u'\n', 'r': u'\r', 't': u'\t',
}
DEFAULT_ENCODING = "utf-8"
def py_scanstring(s, end, encoding=None, strict=True, _b=BACKSLASH, _m=STRINGCHUNK.match):
"""Scan the string s for a JSON string. End is the index of the
character in s after the quote that started the JSON string.
Unescapes all valid JSON string escape sequences and raises ValueError
on attempt to decode an invalid string. If strict is False then literal
control characters are allowed in the string.
Returns a tuple of the decoded string and the index of the character in s
after the end quote."""
if encoding is None:
encoding = DEFAULT_ENCODING
chunks = []
_append = chunks.append
begin = end - 1
while 1:
chunk = _m(s, end)
if chunk is None:
raise ValueError(
errmsg("Unterminated string starting at", s, begin))
end = chunk.end()
content, terminator = chunk.groups()
# Content is contains zero or more unescaped string characters
if content:
if not isinstance(content, unicode):
content = unicode(content, encoding)
_append(content)
# Terminator is the end of string, a literal control character,
# or a backslash denoting that an escape sequence follows
if terminator == '"':
break
elif terminator != '\\':
if strict:
msg = "Invalid control character %r at" % (terminator,)
raise ValueError(msg, s, end)
else:
_append(terminator)
continue
try:
esc = s[end]
except IndexError:
raise ValueError(
errmsg("Unterminated string starting at", s, begin))
# If not a unicode escape sequence, must be in the lookup table
if esc != 'u':
try:
char = _b[esc]
except KeyError:
raise ValueError(
errmsg("Invalid \\escape: %r" % (esc,), s, end))
end += 1
else:
# Unicode escape sequence
esc = s[end + 1:end + 5]
next_end = end + 5
if len(esc) != 4:
msg = "Invalid \\uXXXX escape"
raise ValueError(errmsg(msg, s, end))
uni = int(esc, 16)
# Check for surrogate pair on UCS-4 systems
if 0xd800 <= uni <= 0xdbff and sys.maxunicode > 65535:
msg = "Invalid \\uXXXX\\uXXXX surrogate pair"
if not s[end + 5:end + 7] == '\\u':
raise ValueError(errmsg(msg, s, end))
esc2 = s[end + 7:end + 11]
if len(esc2) != 4:
raise ValueError(errmsg(msg, s, end))
uni2 = int(esc2, 16)
uni = 0x10000 + (((uni - 0xd800) << 10) | (uni2 - 0xdc00))
next_end += 6
char = unichr(uni)
end = next_end
# Append the unescaped character
_append(char)
return u''.join(chunks), end
# Use speedup if available
scanstring = c_scanstring or py_scanstring
WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
WHITESPACE_STR = ' \t\n\r'
def JSONObject((s, end), encoding, strict, scan_once, object_hook, _w=WHITESPACE.match, _ws=WHITESPACE_STR):
pairs = {}
# Use a slice to prevent IndexError from being raised, the following
# check will raise a more specific ValueError if the string is empty
nextchar = s[end:end + 1]
# Normally we expect nextchar == '"'
if nextchar != '"':
if nextchar in _ws:
end = _w(s, end).end()
nextchar = s[end:end + 1]
# Trivial empty object
if nextchar == '}':
return pairs, end + 1
elif nextchar != '"':
raise ValueError(errmsg("Expecting property name", s, end))
end += 1
while True:
key, end = scanstring(s, end, encoding, strict)
# To skip some function call overhead we optimize the fast paths where
# the JSON key separator is ": " or just ":".
if s[end:end + 1] != ':':
end = _w(s, end).end()
if s[end:end + 1] != ':':
raise ValueError(errmsg("Expecting : delimiter", s, end))
end += 1
try:
if s[end] in _ws:
end += 1
if s[end] in _ws:
end = _w(s, end + 1).end()
except IndexError:
pass
try:
value, end = scan_once(s, end)
except StopIteration:
raise ValueError(errmsg("Expecting object", s, end))
pairs[key] = value
try:
nextchar = s[end]
if nextchar in _ws:
end = _w(s, end + 1).end()
nextchar = s[end]
except IndexError:
nextchar = ''
end += 1
if nextchar == '}':
break
elif nextchar != ',':
raise ValueError(errmsg("Expecting , delimiter", s, end - 1))
try:
nextchar = s[end]
if nextchar in _ws:
end += 1
nextchar = s[end]
if nextchar in _ws:
end = _w(s, end + 1).end()
nextchar = s[end]
except IndexError:
nextchar = ''
end += 1
if nextchar != '"':
raise ValueError(errmsg("Expecting property name", s, end - 1))
if object_hook is not None:
pairs = object_hook(pairs)
return pairs, end
def JSONArray((s, end), scan_once, _w=WHITESPACE.match, _ws=WHITESPACE_STR):
values = []
nextchar = s[end:end + 1]
if nextchar in _ws:
end = _w(s, end + 1).end()
nextchar = s[end:end + 1]
# Look-ahead for trivial empty array
if nextchar == ']':
return values, end + 1
_append = values.append
while True:
try:
value, end = scan_once(s, end)
except StopIteration:
raise ValueError(errmsg("Expecting object", s, end))
_append(value)
nextchar = s[end:end + 1]
if nextchar in _ws:
end = _w(s, end + 1).end()
nextchar = s[end:end + 1]
end += 1
if nextchar == ']':
break
elif nextchar != ',':
raise ValueError(errmsg("Expecting , delimiter", s, end))
try:
if s[end] in _ws:
end += 1
if s[end] in _ws:
end = _w(s, end + 1).end()
except IndexError:
pass
return values, end
class JSONDecoder(object):
"""Simple JSON <http://json.org> decoder
Performs the following translations in decoding by default:
+---------------+-------------------+
| JSON | Python |
+===============+===================+
| object | dict |
+---------------+-------------------+
| array | list |
+---------------+-------------------+
| string | unicode |
+---------------+-------------------+
| number (int) | int, long |
+---------------+-------------------+
| number (real) | float |
+---------------+-------------------+
| true | True |
+---------------+-------------------+
| false | False |
+---------------+-------------------+
| null | None |
+---------------+-------------------+
It also understands ``NaN``, ``Infinity``, and ``-Infinity`` as
their corresponding ``float`` values, which is outside the JSON spec.
"""
def __init__(self, encoding=None, object_hook=None, parse_float=None,
parse_int=None, parse_constant=None, strict=True):
"""``encoding`` determines the encoding used to interpret any ``str``
objects decoded by this instance (utf-8 by default). It has no
effect when decoding ``unicode`` objects.
Note that currently only encodings that are a superset of ASCII work,
strings of other encodings should be passed in as ``unicode``.
``object_hook``, if specified, will be called with the result
of every JSON object decoded and its return value will be used in
place of the given ``dict``. This can be used to provide custom
deserializations (e.g. to support JSON-RPC class hinting).
``parse_float``, if specified, will be called with the string
of every JSON float to be decoded. By default this is equivalent to
float(num_str). This can be used to use another datatype or parser
for JSON floats (e.g. decimal.Decimal).
``parse_int``, if specified, will be called with the string
of every JSON int to be decoded. By default this is equivalent to
int(num_str). This can be used to use another datatype or parser
for JSON integers (e.g. float).
``parse_constant``, if specified, will be called with one of the
following strings: -Infinity, Infinity, NaN.
This can be used to raise an exception if invalid JSON numbers
are encountered.
"""
self.encoding = encoding
self.object_hook = object_hook
self.parse_float = parse_float or float
self.parse_int = parse_int or int
self.parse_constant = parse_constant or _CONSTANTS.__getitem__
self.strict = strict
self.parse_object = JSONObject
self.parse_array = JSONArray
self.parse_string = scanstring
self.scan_once = make_scanner(self)
def decode(self, s, _w=WHITESPACE.match):
"""Return the Python representation of ``s`` (a ``str`` or ``unicode``
instance containing a JSON document)
"""
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
end = _w(s, end).end()
if end != len(s):
raise ValueError(errmsg("Extra data", s, end, len(s)))
return obj
def raw_decode(self, s, idx=0):
"""Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning
with a JSON document) and return a 2-tuple of the Python
representation and the index in ``s`` where the document ended.
This can be used to decode a JSON document from a string that may
have extraneous data at the end.
"""
try:
obj, end = self.scan_once(s, idx)
except StopIteration:
raise ValueError("No JSON object could be decoded")
return obj, end
| Python |
"""JSON token scanner
"""
import re
try:
from simplejson._speedups import make_scanner as c_make_scanner
except ImportError:
c_make_scanner = None
__all__ = ['make_scanner']
NUMBER_RE = re.compile(
r'(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?',
(re.VERBOSE | re.MULTILINE | re.DOTALL))
def py_make_scanner(context):
parse_object = context.parse_object
parse_array = context.parse_array
parse_string = context.parse_string
match_number = NUMBER_RE.match
encoding = context.encoding
strict = context.strict
parse_float = context.parse_float
parse_int = context.parse_int
parse_constant = context.parse_constant
object_hook = context.object_hook
def _scan_once(string, idx):
try:
nextchar = string[idx]
except IndexError:
raise StopIteration
if nextchar == '"':
return parse_string(string, idx + 1, encoding, strict)
elif nextchar == '{':
return parse_object((string, idx + 1), encoding, strict, _scan_once, object_hook)
elif nextchar == '[':
return parse_array((string, idx + 1), _scan_once)
elif nextchar == 'n' and string[idx:idx + 4] == 'null':
return None, idx + 4
elif nextchar == 't' and string[idx:idx + 4] == 'true':
return True, idx + 4
elif nextchar == 'f' and string[idx:idx + 5] == 'false':
return False, idx + 5
m = match_number(string, idx)
if m is not None:
integer, frac, exp = m.groups()
if frac or exp:
res = parse_float(integer + (frac or '') + (exp or ''))
else:
res = parse_int(integer)
return res, m.end()
elif nextchar == 'N' and string[idx:idx + 3] == 'NaN':
return parse_constant('NaN'), idx + 3
elif nextchar == 'I' and string[idx:idx + 8] == 'Infinity':
return parse_constant('Infinity'), idx + 8
elif nextchar == '-' and string[idx:idx + 9] == '-Infinity':
return parse_constant('-Infinity'), idx + 9
else:
raise StopIteration
return _scan_once
make_scanner = c_make_scanner or py_make_scanner
| Python |
"""Implementation of JSONEncoder
"""
import re
try:
from simplejson._speedups import encode_basestring_ascii as c_encode_basestring_ascii
except ImportError:
c_encode_basestring_ascii = None
try:
from simplejson._speedups import make_encoder as c_make_encoder
except ImportError:
c_make_encoder = None
ESCAPE = re.compile(r'[\x00-\x1f\\"\b\f\n\r\t]')
ESCAPE_ASCII = re.compile(r'([\\"]|[^\ -~])')
HAS_UTF8 = re.compile(r'[\x80-\xff]')
ESCAPE_DCT = {
'\\': '\\\\',
'"': '\\"',
'\b': '\\b',
'\f': '\\f',
'\n': '\\n',
'\r': '\\r',
'\t': '\\t',
}
for i in range(0x20):
ESCAPE_DCT.setdefault(chr(i), '\\u%04x' % (i,))
# Assume this produces an infinity on all machines (probably not guaranteed)
INFINITY = float('1e66666')
FLOAT_REPR = repr
def encode_basestring(s):
"""Return a JSON representation of a Python string
"""
def replace(match):
return ESCAPE_DCT[match.group(0)]
return '"' + ESCAPE.sub(replace, s) + '"'
def py_encode_basestring_ascii(s):
"""Return an ASCII-only JSON representation of a Python string
"""
if isinstance(s, str) and HAS_UTF8.search(s) is not None:
s = s.decode('utf-8')
def replace(match):
s = match.group(0)
try:
return ESCAPE_DCT[s]
except KeyError:
n = ord(s)
if n < 0x10000:
return '\\u%04x' % (n,)
else:
# surrogate pair
n -= 0x10000
s1 = 0xd800 | ((n >> 10) & 0x3ff)
s2 = 0xdc00 | (n & 0x3ff)
return '\\u%04x\\u%04x' % (s1, s2)
return '"' + str(ESCAPE_ASCII.sub(replace, s)) + '"'
encode_basestring_ascii = c_encode_basestring_ascii or py_encode_basestring_ascii
class JSONEncoder(object):
"""Extensible JSON <http://json.org> encoder for Python data structures.
Supports the following objects and types by default:
+-------------------+---------------+
| Python | JSON |
+===================+===============+
| dict | object |
+-------------------+---------------+
| list, tuple | array |
+-------------------+---------------+
| str, unicode | string |
+-------------------+---------------+
| int, long, float | number |
+-------------------+---------------+
| True | true |
+-------------------+---------------+
| False | false |
+-------------------+---------------+
| None | null |
+-------------------+---------------+
To extend this to recognize other objects, subclass and implement a
``.default()`` method with another method that returns a serializable
object for ``o`` if possible, otherwise it should call the superclass
implementation (to raise ``TypeError``).
"""
item_separator = ', '
key_separator = ': '
def __init__(self, skipkeys=False, ensure_ascii=True,
check_circular=True, allow_nan=True, sort_keys=False,
indent=None, separators=None, encoding='utf-8', default=None):
"""Constructor for JSONEncoder, with sensible defaults.
If skipkeys is False, then it is a TypeError to attempt
encoding of keys that are not str, int, long, float or None. If
skipkeys is True, such items are simply skipped.
If ensure_ascii is True, the output is guaranteed to be str
objects with all incoming unicode characters escaped. If
ensure_ascii is false, the output will be unicode object.
If check_circular is True, then lists, dicts, and custom encoded
objects will be checked for circular references during encoding to
prevent an infinite recursion (which would cause an OverflowError).
Otherwise, no such check takes place.
If allow_nan is True, then NaN, Infinity, and -Infinity will be
encoded as such. This behavior is not JSON specification compliant,
but is consistent with most JavaScript based encoders and decoders.
Otherwise, it will be a ValueError to encode such floats.
If sort_keys is True, then the output of dictionaries will be
sorted by key; this is useful for regression tests to ensure
that JSON serializations can be compared on a day-to-day basis.
If indent is a non-negative integer, then JSON array
elements and object members will be pretty-printed with that
indent level. An indent level of 0 will only insert newlines.
None is the most compact representation.
If specified, separators should be a (item_separator, key_separator)
tuple. The default is (', ', ': '). To get the most compact JSON
representation you should specify (',', ':') to eliminate whitespace.
If specified, default is a function that gets called for objects
that can't otherwise be serialized. It should return a JSON encodable
version of the object or raise a ``TypeError``.
If encoding is not None, then all input strings will be
transformed into unicode using that encoding prior to JSON-encoding.
The default is UTF-8.
"""
self.skipkeys = skipkeys
self.ensure_ascii = ensure_ascii
self.check_circular = check_circular
self.allow_nan = allow_nan
self.sort_keys = sort_keys
self.indent = indent
if separators is not None:
self.item_separator, self.key_separator = separators
if default is not None:
self.default = default
self.encoding = encoding
def default(self, o):
"""Implement this method in a subclass such that it returns
a serializable object for ``o``, or calls the base implementation
(to raise a ``TypeError``).
For example, to support arbitrary iterators, you could
implement default like this::
def default(self, o):
try:
iterable = iter(o)
except TypeError:
pass
else:
return list(iterable)
return JSONEncoder.default(self, o)
"""
raise TypeError("%r is not JSON serializable" % (o,))
def encode(self, o):
"""Return a JSON string representation of a Python data structure.
>>> JSONEncoder().encode({"foo": ["bar", "baz"]})
'{"foo": ["bar", "baz"]}'
"""
# This is for extremely simple cases and benchmarks.
if isinstance(o, basestring):
if isinstance(o, str):
_encoding = self.encoding
if (_encoding is not None
and not (_encoding == 'utf-8')):
o = o.decode(_encoding)
if self.ensure_ascii:
return encode_basestring_ascii(o)
else:
return encode_basestring(o)
# This doesn't pass the iterator directly to ''.join() because the
# exceptions aren't as detailed. The list call should be roughly
# equivalent to the PySequence_Fast that ''.join() would do.
chunks = self.iterencode(o, _one_shot=True)
if not isinstance(chunks, (list, tuple)):
chunks = list(chunks)
return ''.join(chunks)
def iterencode(self, o, _one_shot=False):
"""Encode the given object and yield each string
representation as available.
For example::
for chunk in JSONEncoder().iterencode(bigobject):
mysocket.write(chunk)
"""
if self.check_circular:
markers = {}
else:
markers = None
if self.ensure_ascii:
_encoder = encode_basestring_ascii
else:
_encoder = encode_basestring
if self.encoding != 'utf-8':
def _encoder(o, _orig_encoder=_encoder, _encoding=self.encoding):
if isinstance(o, str):
o = o.decode(_encoding)
return _orig_encoder(o)
def floatstr(o, allow_nan=self.allow_nan, _repr=FLOAT_REPR, _inf=INFINITY, _neginf=-INFINITY):
# Check for specials. Note that this type of test is processor- and/or
# platform-specific, so do tests which don't depend on the internals.
if o != o:
text = 'NaN'
elif o == _inf:
text = 'Infinity'
elif o == _neginf:
text = '-Infinity'
else:
return _repr(o)
if not allow_nan:
raise ValueError("Out of range float values are not JSON compliant: %r"
% (o,))
return text
if _one_shot and c_make_encoder is not None and not self.indent and not self.sort_keys:
_iterencode = c_make_encoder(
markers, self.default, _encoder, self.indent,
self.key_separator, self.item_separator, self.sort_keys,
self.skipkeys, self.allow_nan)
else:
_iterencode = _make_iterencode(
markers, self.default, _encoder, self.indent, floatstr,
self.key_separator, self.item_separator, self.sort_keys,
self.skipkeys, _one_shot)
return _iterencode(o, 0)
def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, _key_separator, _item_separator, _sort_keys, _skipkeys, _one_shot,
## HACK: hand-optimized bytecode; turn globals into locals
False=False,
True=True,
ValueError=ValueError,
basestring=basestring,
dict=dict,
float=float,
id=id,
int=int,
isinstance=isinstance,
list=list,
long=long,
str=str,
tuple=tuple,
):
def _iterencode_list(lst, _current_indent_level):
if not lst:
yield '[]'
return
if markers is not None:
markerid = id(lst)
if markerid in markers:
raise ValueError("Circular reference detected")
markers[markerid] = lst
buf = '['
if _indent is not None:
_current_indent_level += 1
newline_indent = '\n' + (' ' * (_indent * _current_indent_level))
separator = _item_separator + newline_indent
buf += newline_indent
else:
newline_indent = None
separator = _item_separator
first = True
for value in lst:
if first:
first = False
else:
buf = separator
if isinstance(value, basestring):
yield buf + _encoder(value)
elif value is None:
yield buf + 'null'
elif value is True:
yield buf + 'true'
elif value is False:
yield buf + 'false'
elif isinstance(value, (int, long)):
yield buf + str(value)
elif isinstance(value, float):
yield buf + _floatstr(value)
else:
yield buf
if isinstance(value, (list, tuple)):
chunks = _iterencode_list(value, _current_indent_level)
elif isinstance(value, dict):
chunks = _iterencode_dict(value, _current_indent_level)
else:
chunks = _iterencode(value, _current_indent_level)
for chunk in chunks:
yield chunk
if newline_indent is not None:
_current_indent_level -= 1
yield '\n' + (' ' * (_indent * _current_indent_level))
yield ']'
if markers is not None:
del markers[markerid]
def _iterencode_dict(dct, _current_indent_level):
if not dct:
yield '{}'
return
if markers is not None:
markerid = id(dct)
if markerid in markers:
raise ValueError("Circular reference detected")
markers[markerid] = dct
yield '{'
if _indent is not None:
_current_indent_level += 1
newline_indent = '\n' + (' ' * (_indent * _current_indent_level))
item_separator = _item_separator + newline_indent
yield newline_indent
else:
newline_indent = None
item_separator = _item_separator
first = True
if _sort_keys:
items = dct.items()
items.sort(key=lambda kv: kv[0])
else:
items = dct.iteritems()
for key, value in items:
if isinstance(key, basestring):
pass
# JavaScript is weakly typed for these, so it makes sense to
# also allow them. Many encoders seem to do something like this.
elif isinstance(key, float):
key = _floatstr(key)
elif isinstance(key, (int, long)):
key = str(key)
elif key is True:
key = 'true'
elif key is False:
key = 'false'
elif key is None:
key = 'null'
elif _skipkeys:
continue
else:
raise TypeError("key %r is not a string" % (key,))
if first:
first = False
else:
yield item_separator
yield _encoder(key)
yield _key_separator
if isinstance(value, basestring):
yield _encoder(value)
elif value is None:
yield 'null'
elif value is True:
yield 'true'
elif value is False:
yield 'false'
elif isinstance(value, (int, long)):
yield str(value)
elif isinstance(value, float):
yield _floatstr(value)
else:
if isinstance(value, (list, tuple)):
chunks = _iterencode_list(value, _current_indent_level)
elif isinstance(value, dict):
chunks = _iterencode_dict(value, _current_indent_level)
else:
chunks = _iterencode(value, _current_indent_level)
for chunk in chunks:
yield chunk
if newline_indent is not None:
_current_indent_level -= 1
yield '\n' + (' ' * (_indent * _current_indent_level))
yield '}'
if markers is not None:
del markers[markerid]
def _iterencode(o, _current_indent_level):
if isinstance(o, basestring):
yield _encoder(o)
elif o is None:
yield 'null'
elif o is True:
yield 'true'
elif o is False:
yield 'false'
elif isinstance(o, (int, long)):
yield str(o)
elif isinstance(o, float):
yield _floatstr(o)
elif isinstance(o, (list, tuple)):
for chunk in _iterencode_list(o, _current_indent_level):
yield chunk
elif isinstance(o, dict):
for chunk in _iterencode_dict(o, _current_indent_level):
yield chunk
else:
if markers is not None:
markerid = id(o)
if markerid in markers:
raise ValueError("Circular reference detected")
markers[markerid] = o
o = _default(o)
for chunk in _iterencode(o, _current_indent_level):
yield chunk
if markers is not None:
del markers[markerid]
return _iterencode
| Python |
r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of
JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data
interchange format.
:mod:`simplejson` exposes an API familiar to users of the standard library
:mod:`marshal` and :mod:`pickle` modules. It is the externally maintained
version of the :mod:`json` library contained in Python 2.6, but maintains
compatibility with Python 2.4 and Python 2.5 and (currently) has
significant performance advantages, even without using the optional C
extension for speedups.
Encoding basic Python object hierarchies::
>>> import simplejson as json
>>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
'["foo", {"bar": ["baz", null, 1.0, 2]}]'
>>> print json.dumps("\"foo\bar")
"\"foo\bar"
>>> print json.dumps(u'\u1234')
"\u1234"
>>> print json.dumps('\\')
"\\"
>>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True)
{"a": 0, "b": 0, "c": 0}
>>> from StringIO import StringIO
>>> io = StringIO()
>>> json.dump(['streaming API'], io)
>>> io.getvalue()
'["streaming API"]'
Compact encoding::
>>> import simplejson as json
>>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',',':'))
'[1,2,3,{"4":5,"6":7}]'
Pretty printing::
>>> import simplejson as json
>>> s = json.dumps({'4': 5, '6': 7}, sort_keys=True, indent=4)
>>> print '\n'.join([l.rstrip() for l in s.splitlines()])
{
"4": 5,
"6": 7
}
Decoding JSON::
>>> import simplejson as json
>>> obj = [u'foo', {u'bar': [u'baz', None, 1.0, 2]}]
>>> json.loads('["foo", {"bar":["baz", null, 1.0, 2]}]') == obj
True
>>> json.loads('"\\"foo\\bar"') == u'"foo\x08ar'
True
>>> from StringIO import StringIO
>>> io = StringIO('["streaming API"]')
>>> json.load(io)[0] == 'streaming API'
True
Specializing JSON object decoding::
>>> import simplejson as json
>>> def as_complex(dct):
... if '__complex__' in dct:
... return complex(dct['real'], dct['imag'])
... return dct
...
>>> json.loads('{"__complex__": true, "real": 1, "imag": 2}',
... object_hook=as_complex)
(1+2j)
>>> import decimal
>>> json.loads('1.1', parse_float=decimal.Decimal) == decimal.Decimal('1.1')
True
Specializing JSON object encoding::
>>> import simplejson as json
>>> def encode_complex(obj):
... if isinstance(obj, complex):
... return [obj.real, obj.imag]
... raise TypeError("%r is not JSON serializable" % (o,))
...
>>> json.dumps(2 + 1j, default=encode_complex)
'[2.0, 1.0]'
>>> json.JSONEncoder(default=encode_complex).encode(2 + 1j)
'[2.0, 1.0]'
>>> ''.join(json.JSONEncoder(default=encode_complex).iterencode(2 + 1j))
'[2.0, 1.0]'
Using simplejson.tool from the shell to validate and pretty-print::
$ echo '{"json":"obj"}' | python -msimplejson.tool
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -msimplejson.tool
Expecting property name: line 1 column 2 (char 2)
"""
__version__ = '2.0.7'
__all__ = [
'dump', 'dumps', 'load', 'loads',
'JSONDecoder', 'JSONEncoder',
]
from decoder import JSONDecoder
from encoder import JSONEncoder
_default_encoder = JSONEncoder(
skipkeys=False,
ensure_ascii=True,
check_circular=True,
allow_nan=True,
indent=None,
separators=None,
encoding='utf-8',
default=None,
)
def dump(obj, fp, skipkeys=False, ensure_ascii=True, check_circular=True,
allow_nan=True, cls=None, indent=None, separators=None,
encoding='utf-8', default=None, **kw):
"""Serialize ``obj`` as a JSON formatted stream to ``fp`` (a
``.write()``-supporting file-like object).
If ``skipkeys`` is ``True`` then ``dict`` keys that are not basic types
(``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``)
will be skipped instead of raising a ``TypeError``.
If ``ensure_ascii`` is ``False``, then the some chunks written to ``fp``
may be ``unicode`` instances, subject to normal Python ``str`` to
``unicode`` coercion rules. Unless ``fp.write()`` explicitly
understands ``unicode`` (as in ``codecs.getwriter()``) this is likely
to cause an error.
If ``check_circular`` is ``False``, then the circular reference check
for container types will be skipped and a circular reference will
result in an ``OverflowError`` (or worse).
If ``allow_nan`` is ``False``, then it will be a ``ValueError`` to
serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``)
in strict compliance of the JSON specification, instead of using the
JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``).
If ``indent`` is a non-negative integer, then JSON array elements and object
members will be pretty-printed with that indent level. An indent level
of 0 will only insert newlines. ``None`` is the most compact representation.
If ``separators`` is an ``(item_separator, dict_separator)`` tuple
then it will be used instead of the default ``(', ', ': ')`` separators.
``(',', ':')`` is the most compact JSON representation.
``encoding`` is the character encoding for str instances, default is UTF-8.
``default(obj)`` is a function that should return a serializable version
of obj or raise TypeError. The default simply raises TypeError.
To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the
``.default()`` method to serialize additional types), specify it with
the ``cls`` kwarg.
"""
# cached encoder
if (skipkeys is False and ensure_ascii is True and
check_circular is True and allow_nan is True and
cls is None and indent is None and separators is None and
encoding == 'utf-8' and default is None and not kw):
iterable = _default_encoder.iterencode(obj)
else:
if cls is None:
cls = JSONEncoder
iterable = cls(skipkeys=skipkeys, ensure_ascii=ensure_ascii,
check_circular=check_circular, allow_nan=allow_nan, indent=indent,
separators=separators, encoding=encoding,
default=default, **kw).iterencode(obj)
# could accelerate with writelines in some versions of Python, at
# a debuggability cost
for chunk in iterable:
fp.write(chunk)
def dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True,
allow_nan=True, cls=None, indent=None, separators=None,
encoding='utf-8', default=None, **kw):
"""Serialize ``obj`` to a JSON formatted ``str``.
If ``skipkeys`` is ``True`` then ``dict`` keys that are not basic types
(``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``)
will be skipped instead of raising a ``TypeError``.
If ``ensure_ascii`` is ``False``, then the return value will be a
``unicode`` instance subject to normal Python ``str`` to ``unicode``
coercion rules instead of being escaped to an ASCII ``str``.
If ``check_circular`` is ``False``, then the circular reference check
for container types will be skipped and a circular reference will
result in an ``OverflowError`` (or worse).
If ``allow_nan`` is ``False``, then it will be a ``ValueError`` to
serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in
strict compliance of the JSON specification, instead of using the
JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``).
If ``indent`` is a non-negative integer, then JSON array elements and
object members will be pretty-printed with that indent level. An indent
level of 0 will only insert newlines. ``None`` is the most compact
representation.
If ``separators`` is an ``(item_separator, dict_separator)`` tuple
then it will be used instead of the default ``(', ', ': ')`` separators.
``(',', ':')`` is the most compact JSON representation.
``encoding`` is the character encoding for str instances, default is UTF-8.
``default(obj)`` is a function that should return a serializable version
of obj or raise TypeError. The default simply raises TypeError.
To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the
``.default()`` method to serialize additional types), specify it with
the ``cls`` kwarg.
"""
# cached encoder
if (skipkeys is False and ensure_ascii is True and
check_circular is True and allow_nan is True and
cls is None and indent is None and separators is None and
encoding == 'utf-8' and default is None and not kw):
return _default_encoder.encode(obj)
if cls is None:
cls = JSONEncoder
return cls(
skipkeys=skipkeys, ensure_ascii=ensure_ascii,
check_circular=check_circular, allow_nan=allow_nan, indent=indent,
separators=separators, encoding=encoding, default=default,
**kw).encode(obj)
_default_decoder = JSONDecoder(encoding=None, object_hook=None)
def load(fp, encoding=None, cls=None, object_hook=None, parse_float=None,
parse_int=None, parse_constant=None, **kw):
"""Deserialize ``fp`` (a ``.read()``-supporting file-like object containing
a JSON document) to a Python object.
If the contents of ``fp`` is encoded with an ASCII based encoding other
than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must
be specified. Encodings that are not ASCII based (such as UCS-2) are
not allowed, and should be wrapped with
``codecs.getreader(fp)(encoding)``, or simply decoded to a ``unicode``
object and passed to ``loads()``
``object_hook`` is an optional function that will be called with the
result of any object literal decode (a ``dict``). The return value of
``object_hook`` will be used instead of the ``dict``. This feature
can be used to implement custom decoders (e.g. JSON-RPC class hinting).
To use a custom ``JSONDecoder`` subclass, specify it with the ``cls``
kwarg.
"""
return loads(fp.read(),
encoding=encoding, cls=cls, object_hook=object_hook,
parse_float=parse_float, parse_int=parse_int,
parse_constant=parse_constant, **kw)
def loads(s, encoding=None, cls=None, object_hook=None, parse_float=None,
parse_int=None, parse_constant=None, **kw):
"""Deserialize ``s`` (a ``str`` or ``unicode`` instance containing a JSON
document) to a Python object.
If ``s`` is a ``str`` instance and is encoded with an ASCII based encoding
other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
must be specified. Encodings that are not ASCII based (such as UCS-2)
are not allowed and should be decoded to ``unicode`` first.
``object_hook`` is an optional function that will be called with the
result of any object literal decode (a ``dict``). The return value of
``object_hook`` will be used instead of the ``dict``. This feature
can be used to implement custom decoders (e.g. JSON-RPC class hinting).
``parse_float``, if specified, will be called with the string
of every JSON float to be decoded. By default this is equivalent to
float(num_str). This can be used to use another datatype or parser
for JSON floats (e.g. decimal.Decimal).
``parse_int``, if specified, will be called with the string
of every JSON int to be decoded. By default this is equivalent to
int(num_str). This can be used to use another datatype or parser
for JSON integers (e.g. float).
``parse_constant``, if specified, will be called with one of the
following strings: -Infinity, Infinity, NaN, null, true, false.
This can be used to raise an exception if invalid JSON numbers
are encountered.
To use a custom ``JSONDecoder`` subclass, specify it with the ``cls``
kwarg.
"""
if (cls is None and encoding is None and object_hook is None and
parse_int is None and parse_float is None and
parse_constant is None and not kw):
return _default_decoder.decode(s)
if cls is None:
cls = JSONDecoder
if object_hook is not None:
kw['object_hook'] = object_hook
if parse_float is not None:
kw['parse_float'] = parse_float
if parse_int is not None:
kw['parse_int'] = parse_int
if parse_constant is not None:
kw['parse_constant'] = parse_constant
return cls(encoding=encoding, **kw).decode(s)
| Python |
r"""Using simplejson from the shell to validate and
pretty-print::
$ echo '{"json":"obj"}' | python -msimplejson.tool
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -msimplejson.tool
Expecting property name: line 1 column 2 (char 2)
"""
import simplejson
def main():
import sys
if len(sys.argv) == 1:
infile = sys.stdin
outfile = sys.stdout
elif len(sys.argv) == 2:
infile = open(sys.argv[1], 'rb')
outfile = sys.stdout
elif len(sys.argv) == 3:
infile = open(sys.argv[1], 'rb')
outfile = open(sys.argv[2], 'wb')
else:
raise SystemExit("%s [infile [outfile]]" % (sys.argv[0],))
try:
obj = simplejson.load(infile)
except ValueError, e:
raise SystemExit(e)
simplejson.dump(obj, outfile, sort_keys=True, indent=4)
outfile.write('\n')
if __name__ == '__main__':
main()
| Python |
#!/usr/bin/python2.4
#
# Copyright 2007 The Python-Twitter Developers
#
# 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.
'''A library that provides a Python interface to the Twitter API'''
__author__ = 'python-twitter@googlegroups.com'
__version__ = '0.8.5'
import calendar
import datetime
import httplib
import os
import rfc822
import sys
import tempfile
import textwrap
import time
import urllib
import urllib2
import urlparse
import gzip
import StringIO
try:
# Python >= 2.6
import json as simplejson
except ImportError:
try:
# Python < 2.6
import simplejson
except ImportError:
try:
# Google App Engine
from django.utils import simplejson
except ImportError:
raise ImportError, "Unable to load a json library"
# parse_qsl moved to urlparse module in v2.6
try:
from urlparse import parse_qsl, parse_qs
except ImportError:
from cgi import parse_qsl, parse_qs
try:
from hashlib import md5
except ImportError:
from md5 import md5
import oauth2 as oauth
CHARACTER_LIMIT = 140
# A singleton representing a lazily instantiated FileCache.
DEFAULT_CACHE = object()
REQUEST_TOKEN_URL = 'https://api.twitter.com/oauth/request_token'
ACCESS_TOKEN_URL = 'https://api.twitter.com/oauth/access_token'
AUTHORIZATION_URL = 'https://api.twitter.com/oauth/authorize'
SIGNIN_URL = 'https://api.twitter.com/oauth/authenticate'
class TwitterError(Exception):
'''Base class for Twitter errors'''
@property
def message(self):
'''Returns the first argument used to construct this error.'''
return self.args[0]
class Status(object):
'''A class representing the Status structure used by the twitter API.
The Status structure exposes the following properties:
status.created_at
status.created_at_in_seconds # read only
status.favorited
status.in_reply_to_screen_name
status.in_reply_to_user_id
status.in_reply_to_status_id
status.truncated
status.source
status.id
status.text
status.location
status.relative_created_at # read only
status.user
status.urls
status.user_mentions
status.hashtags
status.geo
status.place
status.coordinates
status.contributors
'''
def __init__(self,
created_at=None,
favorited=None,
id=None,
text=None,
location=None,
user=None,
in_reply_to_screen_name=None,
in_reply_to_user_id=None,
in_reply_to_status_id=None,
truncated=None,
source=None,
now=None,
urls=None,
user_mentions=None,
hashtags=None,
media=None,
geo=None,
place=None,
coordinates=None,
contributors=None,
retweeted=None,
retweeted_status=None,
retweet_count=None):
'''An object to hold a Twitter status message.
This class is normally instantiated by the twitter.Api class and
returned in a sequence.
Note: Dates are posted in the form "Sat Jan 27 04:17:38 +0000 2007"
Args:
created_at:
The time this status message was posted. [Optional]
favorited:
Whether this is a favorite of the authenticated user. [Optional]
id:
The unique id of this status message. [Optional]
text:
The text of this status message. [Optional]
location:
the geolocation string associated with this message. [Optional]
relative_created_at:
A human readable string representing the posting time. [Optional]
user:
A twitter.User instance representing the person posting the
message. [Optional]
now:
The current time, if the client chooses to set it.
Defaults to the wall clock time. [Optional]
urls:
user_mentions:
hashtags:
geo:
place:
coordinates:
contributors:
retweeted:
retweeted_status:
retweet_count:
'''
self.created_at = created_at
self.favorited = favorited
self.id = id
self.text = text
self.location = location
self.user = user
self.now = now
self.in_reply_to_screen_name = in_reply_to_screen_name
self.in_reply_to_user_id = in_reply_to_user_id
self.in_reply_to_status_id = in_reply_to_status_id
self.truncated = truncated
self.retweeted = retweeted
self.source = source
self.urls = urls
self.user_mentions = user_mentions
self.hashtags = hashtags
self.media = media
self.geo = geo
self.place = place
self.coordinates = coordinates
self.contributors = contributors
self.retweeted_status = retweeted_status
self.retweet_count = retweet_count
def GetCreatedAt(self):
'''Get the time this status message was posted.
Returns:
The time this status message was posted
'''
return self._created_at
def SetCreatedAt(self, created_at):
'''Set the time this status message was posted.
Args:
created_at:
The time this status message was created
'''
self._created_at = created_at
created_at = property(GetCreatedAt, SetCreatedAt,
doc='The time this status message was posted.')
def GetCreatedAtInSeconds(self):
'''Get the time this status message was posted, in seconds since the epoch.
Returns:
The time this status message was posted, in seconds since the epoch.
'''
return calendar.timegm(rfc822.parsedate(self.created_at))
created_at_in_seconds = property(GetCreatedAtInSeconds,
doc="The time this status message was "
"posted, in seconds since the epoch")
def GetFavorited(self):
'''Get the favorited setting of this status message.
Returns:
True if this status message is favorited; False otherwise
'''
return self._favorited
def SetFavorited(self, favorited):
'''Set the favorited state of this status message.
Args:
favorited:
boolean True/False favorited state of this status message
'''
self._favorited = favorited
favorited = property(GetFavorited, SetFavorited,
doc='The favorited state of this status message.')
def GetId(self):
'''Get the unique id of this status message.
Returns:
The unique id of this status message
'''
return self._id
def SetId(self, id):
'''Set the unique id of this status message.
Args:
id:
The unique id of this status message
'''
self._id = id
id = property(GetId, SetId,
doc='The unique id of this status message.')
def GetInReplyToScreenName(self):
return self._in_reply_to_screen_name
def SetInReplyToScreenName(self, in_reply_to_screen_name):
self._in_reply_to_screen_name = in_reply_to_screen_name
in_reply_to_screen_name = property(GetInReplyToScreenName, SetInReplyToScreenName,
doc='')
def GetInReplyToUserId(self):
return self._in_reply_to_user_id
def SetInReplyToUserId(self, in_reply_to_user_id):
self._in_reply_to_user_id = in_reply_to_user_id
in_reply_to_user_id = property(GetInReplyToUserId, SetInReplyToUserId,
doc='')
def GetInReplyToStatusId(self):
return self._in_reply_to_status_id
def SetInReplyToStatusId(self, in_reply_to_status_id):
self._in_reply_to_status_id = in_reply_to_status_id
in_reply_to_status_id = property(GetInReplyToStatusId, SetInReplyToStatusId,
doc='')
def GetTruncated(self):
return self._truncated
def SetTruncated(self, truncated):
self._truncated = truncated
truncated = property(GetTruncated, SetTruncated,
doc='')
def GetRetweeted(self):
return self._retweeted
def SetRetweeted(self, retweeted):
self._retweeted = retweeted
retweeted = property(GetRetweeted, SetRetweeted,
doc='')
def GetSource(self):
return self._source
def SetSource(self, source):
self._source = source
source = property(GetSource, SetSource,
doc='')
def GetText(self):
'''Get the text of this status message.
Returns:
The text of this status message.
'''
return self._text
def SetText(self, text):
'''Set the text of this status message.
Args:
text:
The text of this status message
'''
self._text = text
text = property(GetText, SetText,
doc='The text of this status message')
def GetLocation(self):
'''Get the geolocation associated with this status message
Returns:
The geolocation string of this status message.
'''
return self._location
def SetLocation(self, location):
'''Set the geolocation associated with this status message
Args:
location:
The geolocation string of this status message
'''
self._location = location
location = property(GetLocation, SetLocation,
doc='The geolocation string of this status message')
def GetRelativeCreatedAt(self):
'''Get a human readable string representing the posting time
Returns:
A human readable string representing the posting time
'''
fudge = 1.25
delta = long(self.now) - long(self.created_at_in_seconds)
if delta < (1 * fudge):
return 'about a second ago'
elif delta < (60 * (1/fudge)):
return 'about %d seconds ago' % (delta)
elif delta < (60 * fudge):
return 'about a minute ago'
elif delta < (60 * 60 * (1/fudge)):
return 'about %d minutes ago' % (delta / 60)
elif delta < (60 * 60 * fudge) or delta / (60 * 60) == 1:
return 'about an hour ago'
elif delta < (60 * 60 * 24 * (1/fudge)):
return 'about %d hours ago' % (delta / (60 * 60))
elif delta < (60 * 60 * 24 * fudge) or delta / (60 * 60 * 24) == 1:
return 'about a day ago'
else:
return 'about %d days ago' % (delta / (60 * 60 * 24))
relative_created_at = property(GetRelativeCreatedAt,
doc='Get a human readable string representing '
'the posting time')
def GetUser(self):
'''Get a twitter.User representing the entity posting this status message.
Returns:
A twitter.User representing the entity posting this status message
'''
return self._user
def SetUser(self, user):
'''Set a twitter.User representing the entity posting this status message.
Args:
user:
A twitter.User representing the entity posting this status message
'''
self._user = user
user = property(GetUser, SetUser,
doc='A twitter.User representing the entity posting this '
'status message')
def GetNow(self):
'''Get the wallclock time for this status message.
Used to calculate relative_created_at. Defaults to the time
the object was instantiated.
Returns:
Whatever the status instance believes the current time to be,
in seconds since the epoch.
'''
if self._now is None:
self._now = time.time()
return self._now
def SetNow(self, now):
'''Set the wallclock time for this status message.
Used to calculate relative_created_at. Defaults to the time
the object was instantiated.
Args:
now:
The wallclock time for this instance.
'''
self._now = now
now = property(GetNow, SetNow,
doc='The wallclock time for this status instance.')
def GetGeo(self):
return self._geo
def SetGeo(self, geo):
self._geo = geo
geo = property(GetGeo, SetGeo,
doc='')
def GetPlace(self):
return self._place
def SetPlace(self, place):
self._place = place
place = property(GetPlace, SetPlace,
doc='')
def GetCoordinates(self):
return self._coordinates
def SetCoordinates(self, coordinates):
self._coordinates = coordinates
coordinates = property(GetCoordinates, SetCoordinates,
doc='')
def GetContributors(self):
return self._contributors
def SetContributors(self, contributors):
self._contributors = contributors
contributors = property(GetContributors, SetContributors,
doc='')
def GetRetweeted_status(self):
return self._retweeted_status
def SetRetweeted_status(self, retweeted_status):
self._retweeted_status = retweeted_status
retweeted_status = property(GetRetweeted_status, SetRetweeted_status,
doc='')
def GetRetweetCount(self):
return self._retweet_count
def SetRetweetCount(self, retweet_count):
self._retweet_count = retweet_count
retweet_count = property(GetRetweetCount, SetRetweetCount,
doc='')
def __ne__(self, other):
return not self.__eq__(other)
def __eq__(self, other):
try:
return other and \
self.created_at == other.created_at and \
self.id == other.id and \
self.text == other.text and \
self.location == other.location and \
self.user == other.user and \
self.in_reply_to_screen_name == other.in_reply_to_screen_name and \
self.in_reply_to_user_id == other.in_reply_to_user_id and \
self.in_reply_to_status_id == other.in_reply_to_status_id and \
self.truncated == other.truncated and \
self.retweeted == other.retweeted and \
self.favorited == other.favorited and \
self.source == other.source and \
self.geo == other.geo and \
self.place == other.place and \
self.coordinates == other.coordinates and \
self.contributors == other.contributors and \
self.retweeted_status == other.retweeted_status and \
self.retweet_count == other.retweet_count
except AttributeError:
return False
def __str__(self):
'''A string representation of this twitter.Status instance.
The return value is the same as the JSON string representation.
Returns:
A string representation of this twitter.Status instance.
'''
return self.AsJsonString()
def AsJsonString(self):
'''A JSON string representation of this twitter.Status instance.
Returns:
A JSON string representation of this twitter.Status instance
'''
return simplejson.dumps(self.AsDict(), sort_keys=True)
def AsDict(self):
'''A dict representation of this twitter.Status instance.
The return value uses the same key names as the JSON representation.
Return:
A dict representing this twitter.Status instance
'''
data = {}
if self.created_at:
data['created_at'] = self.created_at
if self.favorited:
data['favorited'] = self.favorited
if self.id:
data['id'] = self.id
if self.text:
data['text'] = self.text
if self.location:
data['location'] = self.location
if self.user:
data['user'] = self.user.AsDict()
if self.in_reply_to_screen_name:
data['in_reply_to_screen_name'] = self.in_reply_to_screen_name
if self.in_reply_to_user_id:
data['in_reply_to_user_id'] = self.in_reply_to_user_id
if self.in_reply_to_status_id:
data['in_reply_to_status_id'] = self.in_reply_to_status_id
if self.truncated is not None:
data['truncated'] = self.truncated
if self.retweeted is not None:
data['retweeted'] = self.retweeted
if self.favorited is not None:
data['favorited'] = self.favorited
if self.source:
data['source'] = self.source
if self.geo:
data['geo'] = self.geo
if self.place:
data['place'] = self.place
if self.coordinates:
data['coordinates'] = self.coordinates
if self.contributors:
data['contributors'] = self.contributors
if self.hashtags:
data['hashtags'] = [h.text for h in self.hashtags]
if self.retweeted_status:
data['retweeted_status'] = self.retweeted_status.AsDict()
if self.retweet_count:
data['retweet_count'] = self.retweet_count
if self.urls:
data['urls'] = dict([(url.url, url.expanded_url) for url in self.urls])
if self.user_mentions:
data['user_mentions'] = [um.AsDict() for um in self.user_mentions]
return data
@staticmethod
def NewFromJsonDict(data):
'''Create a new instance based on a JSON dict.
Args:
data: A JSON dict, as converted from the JSON in the twitter API
Returns:
A twitter.Status instance
'''
if 'user' in data:
user = User.NewFromJsonDict(data['user'])
else:
user = None
if 'retweeted_status' in data:
retweeted_status = Status.NewFromJsonDict(data['retweeted_status'])
else:
retweeted_status = None
urls = None
user_mentions = None
hashtags = None
media = None
if 'entities' in data:
if 'urls' in data['entities']:
urls = [Url.NewFromJsonDict(u) for u in data['entities']['urls']]
if 'user_mentions' in data['entities']:
user_mentions = [User.NewFromJsonDict(u) for u in data['entities']['user_mentions']]
if 'hashtags' in data['entities']:
hashtags = [Hashtag.NewFromJsonDict(h) for h in data['entities']['hashtags']]
if 'media' in data['entities']:
media = data['entities']['media']
else:
media = []
return Status(created_at=data.get('created_at', None),
favorited=data.get('favorited', None),
id=data.get('id', None),
text=data.get('text', None),
location=data.get('location', None),
in_reply_to_screen_name=data.get('in_reply_to_screen_name', None),
in_reply_to_user_id=data.get('in_reply_to_user_id', None),
in_reply_to_status_id=data.get('in_reply_to_status_id', None),
truncated=data.get('truncated', None),
retweeted=data.get('retweeted', None),
source=data.get('source', None),
user=user,
urls=urls,
user_mentions=user_mentions,
hashtags=hashtags,
media=media,
geo=data.get('geo', None),
place=data.get('place', None),
coordinates=data.get('coordinates', None),
contributors=data.get('contributors', None),
retweeted_status=retweeted_status,
retweet_count=data.get('retweet_count', None))
class User(object):
'''A class representing the User structure used by the twitter API.
The User structure exposes the following properties:
user.id
user.name
user.screen_name
user.location
user.description
user.profile_image_url
user.profile_background_tile
user.profile_background_image_url
user.profile_sidebar_fill_color
user.profile_background_color
user.profile_link_color
user.profile_text_color
user.protected
user.utc_offset
user.time_zone
user.url
user.status
user.statuses_count
user.followers_count
user.friends_count
user.favourites_count
user.geo_enabled
user.verified
user.lang
user.notifications
user.contributors_enabled
user.created_at
user.listed_count
'''
def __init__(self,
id=None,
name=None,
screen_name=None,
location=None,
description=None,
profile_image_url=None,
profile_background_tile=None,
profile_background_image_url=None,
profile_sidebar_fill_color=None,
profile_background_color=None,
profile_link_color=None,
profile_text_color=None,
protected=None,
utc_offset=None,
time_zone=None,
followers_count=None,
friends_count=None,
statuses_count=None,
favourites_count=None,
url=None,
status=None,
geo_enabled=None,
verified=None,
lang=None,
notifications=None,
contributors_enabled=None,
created_at=None,
listed_count=None):
self.id = id
self.name = name
self.screen_name = screen_name
self.location = location
self.description = description
self.profile_image_url = profile_image_url
self.profile_background_tile = profile_background_tile
self.profile_background_image_url = profile_background_image_url
self.profile_sidebar_fill_color = profile_sidebar_fill_color
self.profile_background_color = profile_background_color
self.profile_link_color = profile_link_color
self.profile_text_color = profile_text_color
self.protected = protected
self.utc_offset = utc_offset
self.time_zone = time_zone
self.followers_count = followers_count
self.friends_count = friends_count
self.statuses_count = statuses_count
self.favourites_count = favourites_count
self.url = url
self.status = status
self.geo_enabled = geo_enabled
self.verified = verified
self.lang = lang
self.notifications = notifications
self.contributors_enabled = contributors_enabled
self.created_at = created_at
self.listed_count = listed_count
def GetId(self):
'''Get the unique id of this user.
Returns:
The unique id of this user
'''
return self._id
def SetId(self, id):
'''Set the unique id of this user.
Args:
id: The unique id of this user.
'''
self._id = id
id = property(GetId, SetId,
doc='The unique id of this user.')
def GetName(self):
'''Get the real name of this user.
Returns:
The real name of this user
'''
return self._name
def SetName(self, name):
'''Set the real name of this user.
Args:
name: The real name of this user
'''
self._name = name
name = property(GetName, SetName,
doc='The real name of this user.')
def GetScreenName(self):
'''Get the short twitter name of this user.
Returns:
The short twitter name of this user
'''
return self._screen_name
def SetScreenName(self, screen_name):
'''Set the short twitter name of this user.
Args:
screen_name: the short twitter name of this user
'''
self._screen_name = screen_name
screen_name = property(GetScreenName, SetScreenName,
doc='The short twitter name of this user.')
def GetLocation(self):
'''Get the geographic location of this user.
Returns:
The geographic location of this user
'''
return self._location
def SetLocation(self, location):
'''Set the geographic location of this user.
Args:
location: The geographic location of this user
'''
self._location = location
location = property(GetLocation, SetLocation,
doc='The geographic location of this user.')
def GetDescription(self):
'''Get the short text description of this user.
Returns:
The short text description of this user
'''
return self._description
def SetDescription(self, description):
'''Set the short text description of this user.
Args:
description: The short text description of this user
'''
self._description = description
description = property(GetDescription, SetDescription,
doc='The short text description of this user.')
def GetUrl(self):
'''Get the homepage url of this user.
Returns:
The homepage url of this user
'''
return self._url
def SetUrl(self, url):
'''Set the homepage url of this user.
Args:
url: The homepage url of this user
'''
self._url = url
url = property(GetUrl, SetUrl,
doc='The homepage url of this user.')
def GetProfileImageUrl(self):
'''Get the url of the thumbnail of this user.
Returns:
The url of the thumbnail of this user
'''
return self._profile_image_url
def SetProfileImageUrl(self, profile_image_url):
'''Set the url of the thumbnail of this user.
Args:
profile_image_url: The url of the thumbnail of this user
'''
self._profile_image_url = profile_image_url
profile_image_url= property(GetProfileImageUrl, SetProfileImageUrl,
doc='The url of the thumbnail of this user.')
def GetProfileBackgroundTile(self):
'''Boolean for whether to tile the profile background image.
Returns:
True if the background is to be tiled, False if not, None if unset.
'''
return self._profile_background_tile
def SetProfileBackgroundTile(self, profile_background_tile):
'''Set the boolean flag for whether to tile the profile background image.
Args:
profile_background_tile: Boolean flag for whether to tile or not.
'''
self._profile_background_tile = profile_background_tile
profile_background_tile = property(GetProfileBackgroundTile, SetProfileBackgroundTile,
doc='Boolean for whether to tile the background image.')
def GetProfileBackgroundImageUrl(self):
return self._profile_background_image_url
def SetProfileBackgroundImageUrl(self, profile_background_image_url):
self._profile_background_image_url = profile_background_image_url
profile_background_image_url = property(GetProfileBackgroundImageUrl, SetProfileBackgroundImageUrl,
doc='The url of the profile background of this user.')
def GetProfileSidebarFillColor(self):
return self._profile_sidebar_fill_color
def SetProfileSidebarFillColor(self, profile_sidebar_fill_color):
self._profile_sidebar_fill_color = profile_sidebar_fill_color
profile_sidebar_fill_color = property(GetProfileSidebarFillColor, SetProfileSidebarFillColor)
def GetProfileBackgroundColor(self):
return self._profile_background_color
def SetProfileBackgroundColor(self, profile_background_color):
self._profile_background_color = profile_background_color
profile_background_color = property(GetProfileBackgroundColor, SetProfileBackgroundColor)
def GetProfileLinkColor(self):
return self._profile_link_color
def SetProfileLinkColor(self, profile_link_color):
self._profile_link_color = profile_link_color
profile_link_color = property(GetProfileLinkColor, SetProfileLinkColor)
def GetProfileTextColor(self):
return self._profile_text_color
def SetProfileTextColor(self, profile_text_color):
self._profile_text_color = profile_text_color
profile_text_color = property(GetProfileTextColor, SetProfileTextColor)
def GetProtected(self):
return self._protected
def SetProtected(self, protected):
self._protected = protected
protected = property(GetProtected, SetProtected)
def GetUtcOffset(self):
return self._utc_offset
def SetUtcOffset(self, utc_offset):
self._utc_offset = utc_offset
utc_offset = property(GetUtcOffset, SetUtcOffset)
def GetTimeZone(self):
'''Returns the current time zone string for the user.
Returns:
The descriptive time zone string for the user.
'''
return self._time_zone
def SetTimeZone(self, time_zone):
'''Sets the user's time zone string.
Args:
time_zone:
The descriptive time zone to assign for the user.
'''
self._time_zone = time_zone
time_zone = property(GetTimeZone, SetTimeZone)
def GetStatus(self):
'''Get the latest twitter.Status of this user.
Returns:
The latest twitter.Status of this user
'''
return self._status
def SetStatus(self, status):
'''Set the latest twitter.Status of this user.
Args:
status:
The latest twitter.Status of this user
'''
self._status = status
status = property(GetStatus, SetStatus,
doc='The latest twitter.Status of this user.')
def GetFriendsCount(self):
'''Get the friend count for this user.
Returns:
The number of users this user has befriended.
'''
return self._friends_count
def SetFriendsCount(self, count):
'''Set the friend count for this user.
Args:
count:
The number of users this user has befriended.
'''
self._friends_count = count
friends_count = property(GetFriendsCount, SetFriendsCount,
doc='The number of friends for this user.')
def GetListedCount(self):
'''Get the listed count for this user.
Returns:
The number of lists this user belongs to.
'''
return self._listed_count
def SetListedCount(self, count):
'''Set the listed count for this user.
Args:
count:
The number of lists this user belongs to.
'''
self._listed_count = count
listed_count = property(GetListedCount, SetListedCount,
doc='The number of lists this user belongs to.')
def GetFollowersCount(self):
'''Get the follower count for this user.
Returns:
The number of users following this user.
'''
return self._followers_count
def SetFollowersCount(self, count):
'''Set the follower count for this user.
Args:
count:
The number of users following this user.
'''
self._followers_count = count
followers_count = property(GetFollowersCount, SetFollowersCount,
doc='The number of users following this user.')
def GetStatusesCount(self):
'''Get the number of status updates for this user.
Returns:
The number of status updates for this user.
'''
return self._statuses_count
def SetStatusesCount(self, count):
'''Set the status update count for this user.
Args:
count:
The number of updates for this user.
'''
self._statuses_count = count
statuses_count = property(GetStatusesCount, SetStatusesCount,
doc='The number of updates for this user.')
def GetFavouritesCount(self):
'''Get the number of favourites for this user.
Returns:
The number of favourites for this user.
'''
return self._favourites_count
def SetFavouritesCount(self, count):
'''Set the favourite count for this user.
Args:
count:
The number of favourites for this user.
'''
self._favourites_count = count
favourites_count = property(GetFavouritesCount, SetFavouritesCount,
doc='The number of favourites for this user.')
def GetGeoEnabled(self):
'''Get the setting of geo_enabled for this user.
Returns:
True/False if Geo tagging is enabled
'''
return self._geo_enabled
def SetGeoEnabled(self, geo_enabled):
'''Set the latest twitter.geo_enabled of this user.
Args:
geo_enabled:
True/False if Geo tagging is to be enabled
'''
self._geo_enabled = geo_enabled
geo_enabled = property(GetGeoEnabled, SetGeoEnabled,
doc='The value of twitter.geo_enabled for this user.')
def GetVerified(self):
'''Get the setting of verified for this user.
Returns:
True/False if user is a verified account
'''
return self._verified
def SetVerified(self, verified):
'''Set twitter.verified for this user.
Args:
verified:
True/False if user is a verified account
'''
self._verified = verified
verified = property(GetVerified, SetVerified,
doc='The value of twitter.verified for this user.')
def GetLang(self):
'''Get the setting of lang for this user.
Returns:
language code of the user
'''
return self._lang
def SetLang(self, lang):
'''Set twitter.lang for this user.
Args:
lang:
language code for the user
'''
self._lang = lang
lang = property(GetLang, SetLang,
doc='The value of twitter.lang for this user.')
def GetNotifications(self):
'''Get the setting of notifications for this user.
Returns:
True/False for the notifications setting of the user
'''
return self._notifications
def SetNotifications(self, notifications):
'''Set twitter.notifications for this user.
Args:
notifications:
True/False notifications setting for the user
'''
self._notifications = notifications
notifications = property(GetNotifications, SetNotifications,
doc='The value of twitter.notifications for this user.')
def GetContributorsEnabled(self):
'''Get the setting of contributors_enabled for this user.
Returns:
True/False contributors_enabled of the user
'''
return self._contributors_enabled
def SetContributorsEnabled(self, contributors_enabled):
'''Set twitter.contributors_enabled for this user.
Args:
contributors_enabled:
True/False contributors_enabled setting for the user
'''
self._contributors_enabled = contributors_enabled
contributors_enabled = property(GetContributorsEnabled, SetContributorsEnabled,
doc='The value of twitter.contributors_enabled for this user.')
def GetCreatedAt(self):
'''Get the setting of created_at for this user.
Returns:
created_at value of the user
'''
return self._created_at
def SetCreatedAt(self, created_at):
'''Set twitter.created_at for this user.
Args:
created_at:
created_at value for the user
'''
self._created_at = created_at
created_at = property(GetCreatedAt, SetCreatedAt,
doc='The value of twitter.created_at for this user.')
def __ne__(self, other):
return not self.__eq__(other)
def __eq__(self, other):
try:
return other and \
self.id == other.id and \
self.name == other.name and \
self.screen_name == other.screen_name and \
self.location == other.location and \
self.description == other.description and \
self.profile_image_url == other.profile_image_url and \
self.profile_background_tile == other.profile_background_tile and \
self.profile_background_image_url == other.profile_background_image_url and \
self.profile_sidebar_fill_color == other.profile_sidebar_fill_color and \
self.profile_background_color == other.profile_background_color and \
self.profile_link_color == other.profile_link_color and \
self.profile_text_color == other.profile_text_color and \
self.protected == other.protected and \
self.utc_offset == other.utc_offset and \
self.time_zone == other.time_zone and \
self.url == other.url and \
self.statuses_count == other.statuses_count and \
self.followers_count == other.followers_count and \
self.favourites_count == other.favourites_count and \
self.friends_count == other.friends_count and \
self.status == other.status and \
self.geo_enabled == other.geo_enabled and \
self.verified == other.verified and \
self.lang == other.lang and \
self.notifications == other.notifications and \
self.contributors_enabled == other.contributors_enabled and \
self.created_at == other.created_at and \
self.listed_count == other.listed_count
except AttributeError:
return False
def __str__(self):
'''A string representation of this twitter.User instance.
The return value is the same as the JSON string representation.
Returns:
A string representation of this twitter.User instance.
'''
return self.AsJsonString()
def AsJsonString(self):
'''A JSON string representation of this twitter.User instance.
Returns:
A JSON string representation of this twitter.User instance
'''
return simplejson.dumps(self.AsDict(), sort_keys=True)
def AsDict(self):
'''A dict representation of this twitter.User instance.
The return value uses the same key names as the JSON representation.
Return:
A dict representing this twitter.User instance
'''
data = {}
if self.id:
data['id'] = self.id
if self.name:
data['name'] = self.name
if self.screen_name:
data['screen_name'] = self.screen_name
if self.location:
data['location'] = self.location
if self.description:
data['description'] = self.description
if self.profile_image_url:
data['profile_image_url'] = self.profile_image_url
if self.profile_background_tile is not None:
data['profile_background_tile'] = self.profile_background_tile
if self.profile_background_image_url:
data['profile_sidebar_fill_color'] = self.profile_background_image_url
if self.profile_background_color:
data['profile_background_color'] = self.profile_background_color
if self.profile_link_color:
data['profile_link_color'] = self.profile_link_color
if self.profile_text_color:
data['profile_text_color'] = self.profile_text_color
if self.protected is not None:
data['protected'] = self.protected
if self.utc_offset:
data['utc_offset'] = self.utc_offset
if self.time_zone:
data['time_zone'] = self.time_zone
if self.url:
data['url'] = self.url
if self.status:
data['status'] = self.status.AsDict()
if self.friends_count:
data['friends_count'] = self.friends_count
if self.followers_count:
data['followers_count'] = self.followers_count
if self.statuses_count:
data['statuses_count'] = self.statuses_count
if self.favourites_count:
data['favourites_count'] = self.favourites_count
if self.geo_enabled:
data['geo_enabled'] = self.geo_enabled
if self.verified:
data['verified'] = self.verified
if self.lang:
data['lang'] = self.lang
if self.notifications:
data['notifications'] = self.notifications
if self.contributors_enabled:
data['contributors_enabled'] = self.contributors_enabled
if self.created_at:
data['created_at'] = self.created_at
if self.listed_count:
data['listed_count'] = self.listed_count
return data
@staticmethod
def NewFromJsonDict(data):
'''Create a new instance based on a JSON dict.
Args:
data:
A JSON dict, as converted from the JSON in the twitter API
Returns:
A twitter.User instance
'''
if 'status' in data:
status = Status.NewFromJsonDict(data['status'])
else:
status = None
return User(id=data.get('id', None),
name=data.get('name', None),
screen_name=data.get('screen_name', None),
location=data.get('location', None),
description=data.get('description', None),
statuses_count=data.get('statuses_count', None),
followers_count=data.get('followers_count', None),
favourites_count=data.get('favourites_count', None),
friends_count=data.get('friends_count', None),
profile_image_url=data.get('profile_image_url', None),
profile_background_tile = data.get('profile_background_tile', None),
profile_background_image_url = data.get('profile_background_image_url', None),
profile_sidebar_fill_color = data.get('profile_sidebar_fill_color', None),
profile_background_color = data.get('profile_background_color', None),
profile_link_color = data.get('profile_link_color', None),
profile_text_color = data.get('profile_text_color', None),
protected = data.get('protected', None),
utc_offset = data.get('utc_offset', None),
time_zone = data.get('time_zone', None),
url=data.get('url', None),
status=status,
geo_enabled=data.get('geo_enabled', None),
verified=data.get('verified', None),
lang=data.get('lang', None),
notifications=data.get('notifications', None),
contributors_enabled=data.get('contributors_enabled', None),
created_at=data.get('created_at', None),
listed_count=data.get('listed_count', None))
class List(object):
'''A class representing the List structure used by the twitter API.
The List structure exposes the following properties:
list.id
list.name
list.slug
list.description
list.full_name
list.mode
list.uri
list.member_count
list.subscriber_count
list.following
'''
def __init__(self,
id=None,
name=None,
slug=None,
description=None,
full_name=None,
mode=None,
uri=None,
member_count=None,
subscriber_count=None,
following=None,
user=None):
self.id = id
self.name = name
self.slug = slug
self.description = description
self.full_name = full_name
self.mode = mode
self.uri = uri
self.member_count = member_count
self.subscriber_count = subscriber_count
self.following = following
self.user = user
def GetId(self):
'''Get the unique id of this list.
Returns:
The unique id of this list
'''
return self._id
def SetId(self, id):
'''Set the unique id of this list.
Args:
id:
The unique id of this list.
'''
self._id = id
id = property(GetId, SetId,
doc='The unique id of this list.')
def GetName(self):
'''Get the real name of this list.
Returns:
The real name of this list
'''
return self._name
def SetName(self, name):
'''Set the real name of this list.
Args:
name:
The real name of this list
'''
self._name = name
name = property(GetName, SetName,
doc='The real name of this list.')
def GetSlug(self):
'''Get the slug of this list.
Returns:
The slug of this list
'''
return self._slug
def SetSlug(self, slug):
'''Set the slug of this list.
Args:
slug:
The slug of this list.
'''
self._slug = slug
slug = property(GetSlug, SetSlug,
doc='The slug of this list.')
def GetDescription(self):
'''Get the description of this list.
Returns:
The description of this list
'''
return self._description
def SetDescription(self, description):
'''Set the description of this list.
Args:
description:
The description of this list.
'''
self._description = description
description = property(GetDescription, SetDescription,
doc='The description of this list.')
def GetFull_name(self):
'''Get the full_name of this list.
Returns:
The full_name of this list
'''
return self._full_name
def SetFull_name(self, full_name):
'''Set the full_name of this list.
Args:
full_name:
The full_name of this list.
'''
self._full_name = full_name
full_name = property(GetFull_name, SetFull_name,
doc='The full_name of this list.')
def GetMode(self):
'''Get the mode of this list.
Returns:
The mode of this list
'''
return self._mode
def SetMode(self, mode):
'''Set the mode of this list.
Args:
mode:
The mode of this list.
'''
self._mode = mode
mode = property(GetMode, SetMode,
doc='The mode of this list.')
def GetUri(self):
'''Get the uri of this list.
Returns:
The uri of this list
'''
return self._uri
def SetUri(self, uri):
'''Set the uri of this list.
Args:
uri:
The uri of this list.
'''
self._uri = uri
uri = property(GetUri, SetUri,
doc='The uri of this list.')
def GetMember_count(self):
'''Get the member_count of this list.
Returns:
The member_count of this list
'''
return self._member_count
def SetMember_count(self, member_count):
'''Set the member_count of this list.
Args:
member_count:
The member_count of this list.
'''
self._member_count = member_count
member_count = property(GetMember_count, SetMember_count,
doc='The member_count of this list.')
def GetSubscriber_count(self):
'''Get the subscriber_count of this list.
Returns:
The subscriber_count of this list
'''
return self._subscriber_count
def SetSubscriber_count(self, subscriber_count):
'''Set the subscriber_count of this list.
Args:
subscriber_count:
The subscriber_count of this list.
'''
self._subscriber_count = subscriber_count
subscriber_count = property(GetSubscriber_count, SetSubscriber_count,
doc='The subscriber_count of this list.')
def GetFollowing(self):
'''Get the following status of this list.
Returns:
The following status of this list
'''
return self._following
def SetFollowing(self, following):
'''Set the following status of this list.
Args:
following:
The following of this list.
'''
self._following = following
following = property(GetFollowing, SetFollowing,
doc='The following status of this list.')
def GetUser(self):
'''Get the user of this list.
Returns:
The owner of this list
'''
return self._user
def SetUser(self, user):
'''Set the user of this list.
Args:
user:
The owner of this list.
'''
self._user = user
user = property(GetUser, SetUser,
doc='The owner of this list.')
def __ne__(self, other):
return not self.__eq__(other)
def __eq__(self, other):
try:
return other and \
self.id == other.id and \
self.name == other.name and \
self.slug == other.slug and \
self.description == other.description and \
self.full_name == other.full_name and \
self.mode == other.mode and \
self.uri == other.uri and \
self.member_count == other.member_count and \
self.subscriber_count == other.subscriber_count and \
self.following == other.following and \
self.user == other.user
except AttributeError:
return False
def __str__(self):
'''A string representation of this twitter.List instance.
The return value is the same as the JSON string representation.
Returns:
A string representation of this twitter.List instance.
'''
return self.AsJsonString()
def AsJsonString(self):
'''A JSON string representation of this twitter.List instance.
Returns:
A JSON string representation of this twitter.List instance
'''
return simplejson.dumps(self.AsDict(), sort_keys=True)
def AsDict(self):
'''A dict representation of this twitter.List instance.
The return value uses the same key names as the JSON representation.
Return:
A dict representing this twitter.List instance
'''
data = {}
if self.id:
data['id'] = self.id
if self.name:
data['name'] = self.name
if self.slug:
data['slug'] = self.slug
if self.description:
data['description'] = self.description
if self.full_name:
data['full_name'] = self.full_name
if self.mode:
data['mode'] = self.mode
if self.uri:
data['uri'] = self.uri
if self.member_count is not None:
data['member_count'] = self.member_count
if self.subscriber_count is not None:
data['subscriber_count'] = self.subscriber_count
if self.following is not None:
data['following'] = self.following
if self.user is not None:
data['user'] = self.user
return data
@staticmethod
def NewFromJsonDict(data):
'''Create a new instance based on a JSON dict.
Args:
data:
A JSON dict, as converted from the JSON in the twitter API
Returns:
A twitter.List instance
'''
if 'user' in data:
user = User.NewFromJsonDict(data['user'])
else:
user = None
return List(id=data.get('id', None),
name=data.get('name', None),
slug=data.get('slug', None),
description=data.get('description', None),
full_name=data.get('full_name', None),
mode=data.get('mode', None),
uri=data.get('uri', None),
member_count=data.get('member_count', None),
subscriber_count=data.get('subscriber_count', None),
following=data.get('following', None),
user=user)
class DirectMessage(object):
'''A class representing the DirectMessage structure used by the twitter API.
The DirectMessage structure exposes the following properties:
direct_message.id
direct_message.created_at
direct_message.created_at_in_seconds # read only
direct_message.sender_id
direct_message.sender_screen_name
direct_message.recipient_id
direct_message.recipient_screen_name
direct_message.text
'''
def __init__(self,
id=None,
created_at=None,
sender_id=None,
sender_screen_name=None,
recipient_id=None,
recipient_screen_name=None,
text=None):
'''An object to hold a Twitter direct message.
This class is normally instantiated by the twitter.Api class and
returned in a sequence.
Note: Dates are posted in the form "Sat Jan 27 04:17:38 +0000 2007"
Args:
id:
The unique id of this direct message. [Optional]
created_at:
The time this direct message was posted. [Optional]
sender_id:
The id of the twitter user that sent this message. [Optional]
sender_screen_name:
The name of the twitter user that sent this message. [Optional]
recipient_id:
The id of the twitter that received this message. [Optional]
recipient_screen_name:
The name of the twitter that received this message. [Optional]
text:
The text of this direct message. [Optional]
'''
self.id = id
self.created_at = created_at
self.sender_id = sender_id
self.sender_screen_name = sender_screen_name
self.recipient_id = recipient_id
self.recipient_screen_name = recipient_screen_name
self.text = text
def GetId(self):
'''Get the unique id of this direct message.
Returns:
The unique id of this direct message
'''
return self._id
def SetId(self, id):
'''Set the unique id of this direct message.
Args:
id:
The unique id of this direct message
'''
self._id = id
id = property(GetId, SetId,
doc='The unique id of this direct message.')
def GetCreatedAt(self):
'''Get the time this direct message was posted.
Returns:
The time this direct message was posted
'''
return self._created_at
def SetCreatedAt(self, created_at):
'''Set the time this direct message was posted.
Args:
created_at:
The time this direct message was created
'''
self._created_at = created_at
created_at = property(GetCreatedAt, SetCreatedAt,
doc='The time this direct message was posted.')
def GetCreatedAtInSeconds(self):
'''Get the time this direct message was posted, in seconds since the epoch.
Returns:
The time this direct message was posted, in seconds since the epoch.
'''
return calendar.timegm(rfc822.parsedate(self.created_at))
created_at_in_seconds = property(GetCreatedAtInSeconds,
doc="The time this direct message was "
"posted, in seconds since the epoch")
def GetSenderId(self):
'''Get the unique sender id of this direct message.
Returns:
The unique sender id of this direct message
'''
return self._sender_id
def SetSenderId(self, sender_id):
'''Set the unique sender id of this direct message.
Args:
sender_id:
The unique sender id of this direct message
'''
self._sender_id = sender_id
sender_id = property(GetSenderId, SetSenderId,
doc='The unique sender id of this direct message.')
def GetSenderScreenName(self):
'''Get the unique sender screen name of this direct message.
Returns:
The unique sender screen name of this direct message
'''
return self._sender_screen_name
def SetSenderScreenName(self, sender_screen_name):
'''Set the unique sender screen name of this direct message.
Args:
sender_screen_name:
The unique sender screen name of this direct message
'''
self._sender_screen_name = sender_screen_name
sender_screen_name = property(GetSenderScreenName, SetSenderScreenName,
doc='The unique sender screen name of this direct message.')
def GetRecipientId(self):
'''Get the unique recipient id of this direct message.
Returns:
The unique recipient id of this direct message
'''
return self._recipient_id
def SetRecipientId(self, recipient_id):
'''Set the unique recipient id of this direct message.
Args:
recipient_id:
The unique recipient id of this direct message
'''
self._recipient_id = recipient_id
recipient_id = property(GetRecipientId, SetRecipientId,
doc='The unique recipient id of this direct message.')
def GetRecipientScreenName(self):
'''Get the unique recipient screen name of this direct message.
Returns:
The unique recipient screen name of this direct message
'''
return self._recipient_screen_name
def SetRecipientScreenName(self, recipient_screen_name):
'''Set the unique recipient screen name of this direct message.
Args:
recipient_screen_name:
The unique recipient screen name of this direct message
'''
self._recipient_screen_name = recipient_screen_name
recipient_screen_name = property(GetRecipientScreenName, SetRecipientScreenName,
doc='The unique recipient screen name of this direct message.')
def GetText(self):
'''Get the text of this direct message.
Returns:
The text of this direct message.
'''
return self._text
def SetText(self, text):
'''Set the text of this direct message.
Args:
text:
The text of this direct message
'''
self._text = text
text = property(GetText, SetText,
doc='The text of this direct message')
def __ne__(self, other):
return not self.__eq__(other)
def __eq__(self, other):
try:
return other and \
self.id == other.id and \
self.created_at == other.created_at and \
self.sender_id == other.sender_id and \
self.sender_screen_name == other.sender_screen_name and \
self.recipient_id == other.recipient_id and \
self.recipient_screen_name == other.recipient_screen_name and \
self.text == other.text
except AttributeError:
return False
def __str__(self):
'''A string representation of this twitter.DirectMessage instance.
The return value is the same as the JSON string representation.
Returns:
A string representation of this twitter.DirectMessage instance.
'''
return self.AsJsonString()
def AsJsonString(self):
'''A JSON string representation of this twitter.DirectMessage instance.
Returns:
A JSON string representation of this twitter.DirectMessage instance
'''
return simplejson.dumps(self.AsDict(), sort_keys=True)
def AsDict(self):
'''A dict representation of this twitter.DirectMessage instance.
The return value uses the same key names as the JSON representation.
Return:
A dict representing this twitter.DirectMessage instance
'''
data = {}
if self.id:
data['id'] = self.id
if self.created_at:
data['created_at'] = self.created_at
if self.sender_id:
data['sender_id'] = self.sender_id
if self.sender_screen_name:
data['sender_screen_name'] = self.sender_screen_name
if self.recipient_id:
data['recipient_id'] = self.recipient_id
if self.recipient_screen_name:
data['recipient_screen_name'] = self.recipient_screen_name
if self.text:
data['text'] = self.text
return data
@staticmethod
def NewFromJsonDict(data):
'''Create a new instance based on a JSON dict.
Args:
data:
A JSON dict, as converted from the JSON in the twitter API
Returns:
A twitter.DirectMessage instance
'''
return DirectMessage(created_at=data.get('created_at', None),
recipient_id=data.get('recipient_id', None),
sender_id=data.get('sender_id', None),
text=data.get('text', None),
sender_screen_name=data.get('sender_screen_name', None),
id=data.get('id', None),
recipient_screen_name=data.get('recipient_screen_name', None))
class Hashtag(object):
''' A class representing a twitter hashtag
'''
def __init__(self,
text=None):
self.text = text
@staticmethod
def NewFromJsonDict(data):
'''Create a new instance based on a JSON dict.
Args:
data:
A JSON dict, as converted from the JSON in the twitter API
Returns:
A twitter.Hashtag instance
'''
return Hashtag(text = data.get('text', None))
class Trend(object):
''' A class representing a trending topic
'''
def __init__(self, name=None, query=None, timestamp=None):
self.name = name
self.query = query
self.timestamp = timestamp
def __str__(self):
return 'Name: %s\nQuery: %s\nTimestamp: %s\n' % (self.name, self.query, self.timestamp)
def __ne__(self, other):
return not self.__eq__(other)
def __eq__(self, other):
try:
return other and \
self.name == other.name and \
self.query == other.query and \
self.timestamp == other.timestamp
except AttributeError:
return False
@staticmethod
def NewFromJsonDict(data, timestamp = None):
'''Create a new instance based on a JSON dict
Args:
data:
A JSON dict
timestamp:
Gets set as the timestamp property of the new object
Returns:
A twitter.Trend object
'''
return Trend(name=data.get('name', None),
query=data.get('query', None),
timestamp=timestamp)
class Url(object):
'''A class representing an URL contained in a tweet'''
def __init__(self,
url=None,
expanded_url=None):
self.url = url
self.expanded_url = expanded_url
@staticmethod
def NewFromJsonDict(data):
'''Create a new instance based on a JSON dict.
Args:
data:
A JSON dict, as converted from the JSON in the twitter API
Returns:
A twitter.Url instance
'''
return Url(url=data.get('url', None),
expanded_url=data.get('expanded_url', None))
class Api(object):
'''A python interface into the Twitter API
By default, the Api caches results for 1 minute.
Example usage:
To create an instance of the twitter.Api class, with no authentication:
>>> import twitter
>>> api = twitter.Api()
To fetch the most recently posted public twitter status messages:
>>> statuses = api.GetPublicTimeline()
>>> print [s.user.name for s in statuses]
[u'DeWitt', u'Kesuke Miyagi', u'ev', u'Buzz Andersen', u'Biz Stone'] #...
To fetch a single user's public status messages, where "user" is either
a Twitter "short name" or their user id.
>>> statuses = api.GetUserTimeline(user)
>>> print [s.text for s in statuses]
To use authentication, instantiate the twitter.Api class with a
consumer key and secret; and the oAuth key and secret:
>>> api = twitter.Api(consumer_key='twitter consumer key',
consumer_secret='twitter consumer secret',
access_token_key='the_key_given',
access_token_secret='the_key_secret')
To fetch your friends (after being authenticated):
>>> users = api.GetFriends()
>>> print [u.name for u in users]
To post a twitter status message (after being authenticated):
>>> status = api.PostUpdate('I love python-twitter!')
>>> print status.text
I love python-twitter!
There are many other methods, including:
>>> api.PostUpdates(status)
>>> api.PostDirectMessage(user, text)
>>> api.GetUser(user)
>>> api.GetReplies()
>>> api.GetUserTimeline(user)
>>> api.GetStatus(id)
>>> api.DestroyStatus(id)
>>> api.GetFriendsTimeline(user)
>>> api.GetFriends(user)
>>> api.GetFollowers()
>>> api.GetFeatured()
>>> api.GetDirectMessages()
>>> api.GetSentDirectMessages()
>>> api.PostDirectMessage(user, text)
>>> api.DestroyDirectMessage(id)
>>> api.DestroyFriendship(user)
>>> api.CreateFriendship(user)
>>> api.GetUserByEmail(email)
>>> api.VerifyCredentials()
'''
DEFAULT_CACHE_TIMEOUT = 60 # cache for 1 minute
_API_REALM = 'Twitter API'
def __init__(self,
consumer_key=None,
consumer_secret=None,
access_token_key=None,
access_token_secret=None,
input_encoding=None,
request_headers=None,
cache=DEFAULT_CACHE,
shortner=None,
base_url=None,
use_gzip_compression=False,
debugHTTP=False):
'''Instantiate a new twitter.Api object.
Args:
consumer_key:
Your Twitter user's consumer_key.
consumer_secret:
Your Twitter user's consumer_secret.
access_token_key:
The oAuth access token key value you retrieved
from running get_access_token.py.
access_token_secret:
The oAuth access token's secret, also retrieved
from the get_access_token.py run.
input_encoding:
The encoding used to encode input strings. [Optional]
request_header:
A dictionary of additional HTTP request headers. [Optional]
cache:
The cache instance to use. Defaults to DEFAULT_CACHE.
Use None to disable caching. [Optional]
shortner:
The shortner instance to use. Defaults to None.
See shorten_url.py for an example shortner. [Optional]
base_url:
The base URL to use to contact the Twitter API.
Defaults to https://api.twitter.com. [Optional]
use_gzip_compression:
Set to True to tell enable gzip compression for any call
made to Twitter. Defaults to False. [Optional]
debugHTTP:
Set to True to enable debug output from urllib2 when performing
any HTTP requests. Defaults to False. [Optional]
'''
self.SetCache(cache)
self._urllib = urllib2
self._cache_timeout = Api.DEFAULT_CACHE_TIMEOUT
self._input_encoding = input_encoding
self._use_gzip = use_gzip_compression
self._debugHTTP = debugHTTP
self._oauth_consumer = None
self._shortlink_size = 19
self._InitializeRequestHeaders(request_headers)
self._InitializeUserAgent()
self._InitializeDefaultParameters()
if base_url is None:
self.base_url = 'https://api.twitter.com/1'
else:
self.base_url = base_url
if consumer_key is not None and (access_token_key is None or
access_token_secret is None):
print >> sys.stderr, 'Twitter now requires an oAuth Access Token for API calls.'
print >> sys.stderr, 'If your using this library from a command line utility, please'
print >> sys.stderr, 'run the the included get_access_token.py tool to generate one.'
raise TwitterError('Twitter requires oAuth Access Token for all API access')
self.SetCredentials(consumer_key, consumer_secret, access_token_key, access_token_secret)
def SetCredentials(self,
consumer_key,
consumer_secret,
access_token_key=None,
access_token_secret=None):
'''Set the consumer_key and consumer_secret for this instance
Args:
consumer_key:
The consumer_key of the twitter account.
consumer_secret:
The consumer_secret for the twitter account.
access_token_key:
The oAuth access token key value you retrieved
from running get_access_token.py.
access_token_secret:
The oAuth access token's secret, also retrieved
from the get_access_token.py run.
'''
self._consumer_key = consumer_key
self._consumer_secret = consumer_secret
self._access_token_key = access_token_key
self._access_token_secret = access_token_secret
self._oauth_consumer = None
if consumer_key is not None and consumer_secret is not None and \
access_token_key is not None and access_token_secret is not None:
self._signature_method_plaintext = oauth.SignatureMethod_PLAINTEXT()
self._signature_method_hmac_sha1 = oauth.SignatureMethod_HMAC_SHA1()
self._oauth_token = oauth.Token(key=access_token_key, secret=access_token_secret)
self._oauth_consumer = oauth.Consumer(key=consumer_key, secret=consumer_secret)
def ClearCredentials(self):
'''Clear the any credentials for this instance
'''
self._consumer_key = None
self._consumer_secret = None
self._access_token_key = None
self._access_token_secret = None
self._oauth_consumer = None
def GetSearch(self,
term=None,
geocode=None,
since_id=None,
max_id=None,
until=None,
per_page=15,
page=1,
lang=None,
show_user="true",
result_type="mixed",
include_entities=None,
query_users=False):
'''Return twitter search results for a given term.
Args:
term:
term to search by. Optional if you include geocode.
since_id:
Returns results with an ID greater than (that is, more recent
than) the specified ID. There are limits to the number of
Tweets which can be accessed through the API. If the limit of
Tweets has occurred since the since_id, the since_id will be
forced to the oldest ID available. [Optional]
max_id:
Returns only statuses with an ID less than (that is, older
than) or equal to the specified ID. [Optional]
until:
Returns tweets generated before the given date. Date should be
formatted as YYYY-MM-DD. [Optional]
geocode:
geolocation information in the form (latitude, longitude, radius)
[Optional]
per_page:
number of results to return. Default is 15 [Optional]
page:
Specifies the page of results to retrieve.
Note: there are pagination limits. [Optional]
lang:
language for results as ISO 639-1 code. Default is None (all languages)
[Optional]
show_user:
prefixes screen name in status
result_type:
Type of result which should be returned. Default is "mixed". Other
valid options are "recent" and "popular". [Optional]
include_entities:
If True, each tweet will include a node called "entities,".
This node offers a variety of metadata about the tweet in a
discreet structure, including: user_mentions, urls, and
hashtags. [Optional]
query_users:
If set to False, then all users only have screen_name and
profile_image_url available.
If set to True, all information of users are available,
but it uses lots of request quota, one per status.
Returns:
A sequence of twitter.Status instances, one for each message containing
the term
'''
# Build request parameters
parameters = {}
if since_id:
try:
parameters['since_id'] = long(since_id)
except:
raise TwitterError("since_id must be an integer")
if max_id:
try:
parameters['max_id'] = long(max_id)
except:
raise TwitterError("max_id must be an integer")
if until:
parameters['until'] = until
if lang:
parameters['lang'] = lang
if term is None and geocode is None:
return []
if term is not None:
parameters['q'] = term
if geocode is not None:
parameters['geocode'] = ','.join(map(str, geocode))
if include_entities:
parameters['include_entities'] = 1
parameters['show_user'] = show_user
parameters['rpp'] = per_page
parameters['page'] = page
if result_type in ["mixed", "popular", "recent"]:
parameters['result_type'] = result_type
# Make and send requests
url = 'http://search.twitter.com/search.json'
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
results = []
for x in data['results']:
temp = Status.NewFromJsonDict(x)
if query_users:
# Build user object with new request
temp.user = self.GetUser(urllib.quote(x['from_user']))
else:
temp.user = User(screen_name=x['from_user'], profile_image_url=x['profile_image_url'])
results.append(temp)
# Return built list of statuses
return results # [Status.NewFromJsonDict(x) for x in data['results']]
def GetTrendsCurrent(self, exclude=None):
'''Get the current top trending topics
Args:
exclude:
Appends the exclude parameter as a request parameter.
Currently only exclude=hashtags is supported. [Optional]
Returns:
A list with 10 entries. Each entry contains the twitter.
'''
parameters = {}
if exclude:
parameters['exclude'] = exclude
url = '%s/trends/current.json' % self.base_url
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
trends = []
for t in data['trends']:
for item in data['trends'][t]:
trends.append(Trend.NewFromJsonDict(item, timestamp = t))
return trends
def GetTrendsWoeid(self, woeid, exclude=None):
'''Return the top 10 trending topics for a specific WOEID, if trending
information is available for it.
Args:
woeid:
the Yahoo! Where On Earth ID for a location.
exclude:
Appends the exclude parameter as a request parameter.
Currently only exclude=hashtags is supported. [Optional]
Returns:
A list with 10 entries. Each entry contains a Trend.
'''
parameters = {}
if exclude:
parameters['exclude'] = exclude
url = '%s/trends/%s.json' % (self.base_url, woeid)
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
trends = []
timestamp = data[0]['as_of']
for trend in data[0]['trends']:
trends.append(Trend.NewFromJsonDict(trend, timestamp = timestamp))
return trends
def GetTrendsDaily(self, exclude=None, startdate=None):
'''Get the current top trending topics for each hour in a given day
Args:
startdate:
The start date for the report.
Should be in the format YYYY-MM-DD. [Optional]
exclude:
Appends the exclude parameter as a request parameter.
Currently only exclude=hashtags is supported. [Optional]
Returns:
A list with 24 entries. Each entry contains the twitter.
Trend elements that were trending at the corresponding hour of the day.
'''
parameters = {}
if exclude:
parameters['exclude'] = exclude
if not startdate:
startdate = time.strftime('%Y-%m-%d', time.gmtime())
parameters['date'] = startdate
url = '%s/trends/daily.json' % self.base_url
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
trends = []
for i in xrange(24):
trends.append(None)
for t in data['trends']:
idx = int(time.strftime('%H', time.strptime(t, '%Y-%m-%d %H:%M')))
trends[idx] = [Trend.NewFromJsonDict(x, timestamp = t)
for x in data['trends'][t]]
return trends
def GetTrendsWeekly(self, exclude=None, startdate=None):
'''Get the top 30 trending topics for each day in a given week.
Args:
startdate:
The start date for the report.
Should be in the format YYYY-MM-DD. [Optional]
exclude:
Appends the exclude parameter as a request parameter.
Currently only exclude=hashtags is supported. [Optional]
Returns:
A list with each entry contains the twitter.
Trend elements of trending topics for the corresponding day of the week
'''
parameters = {}
if exclude:
parameters['exclude'] = exclude
if not startdate:
startdate = time.strftime('%Y-%m-%d', time.gmtime())
parameters['date'] = startdate
url = '%s/trends/weekly.json' % self.base_url
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
trends = []
for i in xrange(7):
trends.append(None)
# use the epochs of the dates as keys for a dictionary
times = dict([(calendar.timegm(time.strptime(t, '%Y-%m-%d')),t)
for t in data['trends']])
cnt = 0
# create the resulting structure ordered by the epochs of the dates
for e in sorted(times.keys()):
trends[cnt] = [Trend.NewFromJsonDict(x, timestamp = times[e])
for x in data['trends'][times[e]]]
cnt +=1
return trends
def GetFriendsTimeline(self,
user=None,
count=None,
page=None,
since_id=None,
retweets=None,
include_entities=None):
'''Fetch the sequence of twitter.Status messages for a user's friends
The twitter.Api instance must be authenticated if the user is private.
Args:
user:
Specifies the ID or screen name of the user for whom to return
the friends_timeline. If not specified then the authenticated
user set in the twitter.Api instance will be used. [Optional]
count:
Specifies the number of statuses to retrieve. May not be
greater than 100. [Optional]
page:
Specifies the page of results to retrieve.
Note: there are pagination limits. [Optional]
since_id:
Returns results with an ID greater than (that is, more recent
than) the specified ID. There are limits to the number of
Tweets which can be accessed through the API. If the limit of
Tweets has occurred since the since_id, the since_id will be
forced to the oldest ID available. [Optional]
retweets:
If True, the timeline will contain native retweets. [Optional]
include_entities:
If True, each tweet will include a node called "entities,".
This node offers a variety of metadata about the tweet in a
discreet structure, including: user_mentions, urls, and
hashtags. [Optional]
Returns:
A sequence of twitter.Status instances, one for each message
'''
if not user and not self._oauth_consumer:
raise TwitterError("User must be specified if API is not authenticated.")
url = '%s/statuses/friends_timeline' % self.base_url
if user:
url = '%s/%s.json' % (url, user)
else:
url = '%s.json' % url
parameters = {}
if count is not None:
try:
if int(count) > 100:
raise TwitterError("'count' may not be greater than 100")
except ValueError:
raise TwitterError("'count' must be an integer")
parameters['count'] = count
if page is not None:
try:
parameters['page'] = int(page)
except ValueError:
raise TwitterError("'page' must be an integer")
if since_id:
parameters['since_id'] = since_id
if retweets:
parameters['include_rts'] = True
if include_entities:
parameters['include_entities'] = 1
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [Status.NewFromJsonDict(x) for x in data]
def GetUserTimeline(self,
id=None,
user_id=None,
screen_name=None,
since_id=None,
max_id=None,
count=None,
page=None,
include_rts=None,
trim_user=None,
include_entities=None,
exclude_replies=None):
'''Fetch the sequence of public Status messages for a single user.
The twitter.Api instance must be authenticated if the user is private.
Args:
id:
Specifies the ID or screen name of the user for whom to return
the user_timeline. [Optional]
user_id:
Specifies the ID of the user for whom to return the
user_timeline. Helpful for disambiguating when a valid user ID
is also a valid screen name. [Optional]
screen_name:
Specifies the screen name of the user for whom to return the
user_timeline. Helpful for disambiguating when a valid screen
name is also a user ID. [Optional]
since_id:
Returns results with an ID greater than (that is, more recent
than) the specified ID. There are limits to the number of
Tweets which can be accessed through the API. If the limit of
Tweets has occurred since the since_id, the since_id will be
forced to the oldest ID available. [Optional]
max_id:
Returns only statuses with an ID less than (that is, older
than) or equal to the specified ID. [Optional]
count:
Specifies the number of statuses to retrieve. May not be
greater than 200. [Optional]
page:
Specifies the page of results to retrieve.
Note: there are pagination limits. [Optional]
include_rts:
If True, the timeline will contain native retweets (if they
exist) in addition to the standard stream of tweets. [Optional]
trim_user:
If True, statuses will only contain the numerical user ID only.
Otherwise a full user object will be returned for each status.
[Optional]
include_entities:
If True, each tweet will include a node called "entities,".
This node offers a variety of metadata about the tweet in a
discreet structure, including: user_mentions, urls, and
hashtags. [Optional]
exclude_replies:
If True, this will prevent replies from appearing in the returned
timeline. Using exclude_replies with the count parameter will mean you
will receive up-to count tweets - this is because the count parameter
retrieves that many tweets before filtering out retweets and replies.
This parameter is only supported for JSON and XML responses. [Optional]
Returns:
A sequence of Status instances, one for each message up to count
'''
parameters = {}
if id:
url = '%s/statuses/user_timeline/%s.json' % (self.base_url, id)
elif user_id:
url = '%s/statuses/user_timeline.json?user_id=%d' % (self.base_url, user_id)
elif screen_name:
url = ('%s/statuses/user_timeline.json?screen_name=%s' % (self.base_url,
screen_name))
elif not self._oauth_consumer:
raise TwitterError("User must be specified if API is not authenticated.")
else:
url = '%s/statuses/user_timeline.json' % self.base_url
if since_id:
try:
parameters['since_id'] = long(since_id)
except:
raise TwitterError("since_id must be an integer")
if max_id:
try:
parameters['max_id'] = long(max_id)
except:
raise TwitterError("max_id must be an integer")
if count:
try:
parameters['count'] = int(count)
except:
raise TwitterError("count must be an integer")
if page:
try:
parameters['page'] = int(page)
except:
raise TwitterError("page must be an integer")
if include_rts:
parameters['include_rts'] = 1
if include_entities:
parameters['include_entities'] = 1
if trim_user:
parameters['trim_user'] = 1
if exclude_replies:
parameters['exclude_replies'] = 1
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [Status.NewFromJsonDict(x) for x in data]
def GetStatus(self, id, include_entities=None):
'''Returns a single status message.
The twitter.Api instance must be authenticated if the
status message is private.
Args:
id:
The numeric ID of the status you are trying to retrieve.
include_entities:
If True, each tweet will include a node called "entities".
This node offers a variety of metadata about the tweet in a
discreet structure, including: user_mentions, urls, and
hashtags. [Optional]
Returns:
A twitter.Status instance representing that status message
'''
try:
if id:
long(id)
except:
raise TwitterError("id must be an long integer")
parameters = {}
if include_entities:
parameters['include_entities'] = 1
url = '%s/statuses/show/%s.json' % (self.base_url, id)
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return Status.NewFromJsonDict(data)
def DestroyStatus(self, id):
'''Destroys the status specified by the required ID parameter.
The twitter.Api instance must be authenticated and the
authenticating user must be the author of the specified status.
Args:
id:
The numerical ID of the status you're trying to destroy.
Returns:
A twitter.Status instance representing the destroyed status message
'''
try:
if id:
long(id)
except:
raise TwitterError("id must be an integer")
url = '%s/statuses/destroy/%s.json' % (self.base_url, id)
json = self._FetchUrl(url, post_data={'id': id})
data = self._ParseAndCheckTwitter(json)
return Status.NewFromJsonDict(data)
@classmethod
def _calculate_status_length(cls, status, linksize=19):
dummy_link_replacement = 'https://-%d-chars%s/' % (linksize, '-'*(linksize - 18))
shortened = ' '.join([x if not (x.startswith('http://') or
x.startswith('https://'))
else
dummy_link_replacement
for x in status.split(' ')])
return len(shortened)
def PostUpdate(self, status, in_reply_to_status_id=None, latitude=None, longitude=None):
'''Post a twitter status message from the authenticated user.
The twitter.Api instance must be authenticated.
Args:
status:
The message text to be posted.
Must be less than or equal to 140 characters.
in_reply_to_status_id:
The ID of an existing status that the status to be posted is
in reply to. This implicitly sets the in_reply_to_user_id
attribute of the resulting status to the user ID of the
message being replied to. Invalid/missing status IDs will be
ignored. [Optional]
latitude:
Latitude coordinate of the tweet in degrees. Will only work
in conjunction with longitude argument. Both longitude and
latitude will be ignored by twitter if the user has a false
geo_enabled setting. [Optional]
longitude:
Longitude coordinate of the tweet in degrees. Will only work
in conjunction with latitude argument. Both longitude and
latitude will be ignored by twitter if the user has a false
geo_enabled setting. [Optional]
Returns:
A twitter.Status instance representing the message posted.
'''
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instance must be authenticated.")
url = '%s/statuses/update.json' % self.base_url
if isinstance(status, unicode) or self._input_encoding is None:
u_status = status
else:
u_status = unicode(status, self._input_encoding)
if self._calculate_status_length(u_status, self._shortlink_size) > CHARACTER_LIMIT:
raise TwitterError("Text must be less than or equal to %d characters. "
"Consider using PostUpdates." % CHARACTER_LIMIT)
data = {'status': status}
if in_reply_to_status_id:
data['in_reply_to_status_id'] = in_reply_to_status_id
if latitude != None and longitude != None:
data['lat'] = str(latitude)
data['long'] = str(longitude)
json = self._FetchUrl(url, post_data=data)
data = self._ParseAndCheckTwitter(json)
return Status.NewFromJsonDict(data)
def PostUpdates(self, status, continuation=None, **kwargs):
'''Post one or more twitter status messages from the authenticated user.
Unlike api.PostUpdate, this method will post multiple status updates
if the message is longer than 140 characters.
The twitter.Api instance must be authenticated.
Args:
status:
The message text to be posted.
May be longer than 140 characters.
continuation:
The character string, if any, to be appended to all but the
last message. Note that Twitter strips trailing '...' strings
from messages. Consider using the unicode \u2026 character
(horizontal ellipsis) instead. [Defaults to None]
**kwargs:
See api.PostUpdate for a list of accepted parameters.
Returns:
A of list twitter.Status instance representing the messages posted.
'''
results = list()
if continuation is None:
continuation = ''
line_length = CHARACTER_LIMIT - len(continuation)
lines = textwrap.wrap(status, line_length)
for line in lines[0:-1]:
results.append(self.PostUpdate(line + continuation, **kwargs))
results.append(self.PostUpdate(lines[-1], **kwargs))
return results
def GetUserRetweets(self, count=None, since_id=None, max_id=None, include_entities=False):
'''Fetch the sequence of retweets made by a single user.
The twitter.Api instance must be authenticated.
Args:
count:
The number of status messages to retrieve. [Optional]
since_id:
Returns results with an ID greater than (that is, more recent
than) the specified ID. There are limits to the number of
Tweets which can be accessed through the API. If the limit of
Tweets has occurred since the since_id, the since_id will be
forced to the oldest ID available. [Optional]
max_id:
Returns results with an ID less than (that is, older than) or
equal to the specified ID. [Optional]
include_entities:
If True, each tweet will include a node called "entities,".
This node offers a variety of metadata about the tweet in a
discreet structure, including: user_mentions, urls, and
hashtags. [Optional]
Returns:
A sequence of twitter.Status instances, one for each message up to count
'''
url = '%s/statuses/retweeted_by_me.json' % self.base_url
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instance must be authenticated.")
parameters = {}
if count is not None:
try:
if int(count) > 100:
raise TwitterError("'count' may not be greater than 100")
except ValueError:
raise TwitterError("'count' must be an integer")
if count:
parameters['count'] = count
if since_id:
parameters['since_id'] = since_id
if include_entities:
parameters['include_entities'] = True
if max_id:
try:
parameters['max_id'] = long(max_id)
except:
raise TwitterError("max_id must be an integer")
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [Status.NewFromJsonDict(x) for x in data]
def GetReplies(self, since=None, since_id=None, page=None):
'''Get a sequence of status messages representing the 20 most
recent replies (status updates prefixed with @twitterID) to the
authenticating user.
Args:
since_id:
Returns results with an ID greater than (that is, more recent
than) the specified ID. There are limits to the number of
Tweets which can be accessed through the API. If the limit of
Tweets has occurred since the since_id, the since_id will be
forced to the oldest ID available. [Optional]
page:
Specifies the page of results to retrieve.
Note: there are pagination limits. [Optional]
since:
Returns:
A sequence of twitter.Status instances, one for each reply to the user.
'''
url = '%s/statuses/replies.json' % self.base_url
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instance must be authenticated.")
parameters = {}
if since:
parameters['since'] = since
if since_id:
parameters['since_id'] = since_id
if page:
parameters['page'] = page
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [Status.NewFromJsonDict(x) for x in data]
def GetRetweets(self, statusid):
'''Returns up to 100 of the first retweets of the tweet identified
by statusid
Args:
statusid:
The ID of the tweet for which retweets should be searched for
Returns:
A list of twitter.Status instances, which are retweets of statusid
'''
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instsance must be authenticated.")
url = '%s/statuses/retweets/%s.json?include_entities=true&include_rts=true' % (self.base_url, statusid)
parameters = {}
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [Status.NewFromJsonDict(s) for s in data]
def GetRetweetsOfMe(self,
count=None,
since_id=None,
max_id=None,
trim_user=False,
include_entities=True,
include_user_entities=True):
'''Returns up to 100 of the most recent tweets of the user that have been
retweeted by others.
Args:
count:
The number of retweets to retrieve, up to 100. If omitted, 20 is
assumed.
since_id:
Returns results with an ID greater than (newer than) this ID.
max_id:
Returns results with an ID less than or equal to this ID.
trim_user:
When True, the user object for each tweet will only be an ID.
include_entities:
When True, the tweet entities will be included.
include_user_entities:
When True, the user entities will be included.
'''
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instance must be authenticated.")
url = '%s/statuses/retweets_of_me.json' % self.base_url
parameters = {}
if count is not None:
try:
if int(count) > 100:
raise TwitterError("'count' may not be greater than 100")
except ValueError:
raise TwitterError("'count' must be an integer")
if count:
parameters['count'] = count
if since_id:
parameters['since_id'] = since_id
if max_id:
parameters['max_id'] = max_id
if trim_user:
parameters['trim_user'] = trim_user
if not include_entities:
parameters['include_entities'] = include_entities
if not include_user_entities:
parameters['include_user_entities'] = include_user_entities
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [Status.NewFromJsonDict(s) for s in data]
def GetFriends(self, user=None, cursor=-1):
'''Fetch the sequence of twitter.User instances, one for each friend.
The twitter.Api instance must be authenticated.
Args:
user:
The twitter name or id of the user whose friends you are fetching.
If not specified, defaults to the authenticated user. [Optional]
Returns:
A sequence of twitter.User instances, one for each friend
'''
if not user and not self._oauth_consumer:
raise TwitterError("twitter.Api instance must be authenticated")
if user:
url = '%s/statuses/friends/%s.json' % (self.base_url, user)
else:
url = '%s/statuses/friends.json' % self.base_url
result = []
parameters = {}
while True:
parameters['cursor'] = cursor
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
result += [User.NewFromJsonDict(x) for x in data['users']]
if 'next_cursor' in data:
if data['next_cursor'] == 0 or data['next_cursor'] == data['previous_cursor']:
break
else:
cursor = data['next_cursor']
else:
break
return result
def GetFriendIDs(self, user=None, cursor=-1):
'''Returns a list of twitter user id's for every person
the specified user is following.
Args:
user:
The id or screen_name of the user to retrieve the id list for
[Optional]
Returns:
A list of integers, one for each user id.
'''
if not user and not self._oauth_consumer:
raise TwitterError("twitter.Api instance must be authenticated")
if user:
url = '%s/friends/ids/%s.json' % (self.base_url, user)
else:
url = '%s/friends/ids.json' % self.base_url
parameters = {}
parameters['cursor'] = cursor
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return data
def GetFollowerIDs(self, user=None, cursor=-1):
'''Returns a list of twitter user id's for every person
that is following the specified user.
Args:
user:
The id or screen_name of the user to retrieve the id list for
[Optional]
Returns:
A list of integers, one for each user id.
'''
if not user and not self._oauth_consumer:
raise TwitterError("twitter.Api instance must be authenticated")
if user:
url = '%s/followers/ids/%s.json' % (self.base_url, user)
else:
url = '%s/followers/ids.json' % self.base_url
parameters = {}
parameters['cursor'] = cursor
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return data
def GetFollowers(self, user=None, cursor=-1):
'''Fetch the sequence of twitter.User instances, one for each follower
The twitter.Api instance must be authenticated.
Args:
cursor:
Specifies the Twitter API Cursor location to start at. [Optional]
Note: there are pagination limits.
Returns:
A sequence of twitter.User instances, one for each follower
'''
if not self._oauth_consumer:
raise TwitterError("twitter.Api instance must be authenticated")
if user:
url = '%s/statuses/followers/%s.json' % (self.base_url, user.GetId())
else:
url = '%s/statuses/followers.json' % self.base_url
result = []
parameters = {}
while True:
parameters = { 'cursor': cursor }
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
result += [User.NewFromJsonDict(x) for x in data['users']]
if 'next_cursor' in data:
if data['next_cursor'] == 0 or data['next_cursor'] == data['previous_cursor']:
break
else:
cursor = data['next_cursor']
else:
break
return result
def GetFeatured(self):
'''Fetch the sequence of twitter.User instances featured on twitter.com
The twitter.Api instance must be authenticated.
Returns:
A sequence of twitter.User instances
'''
url = '%s/statuses/featured.json' % self.base_url
json = self._FetchUrl(url)
data = self._ParseAndCheckTwitter(json)
return [User.NewFromJsonDict(x) for x in data]
def UsersLookup(self, user_id=None, screen_name=None, users=None):
'''Fetch extended information for the specified users.
Users may be specified either as lists of either user_ids,
screen_names, or twitter.User objects. The list of users that
are queried is the union of all specified parameters.
The twitter.Api instance must be authenticated.
Args:
user_id:
A list of user_ids to retrieve extended information.
[Optional]
screen_name:
A list of screen_names to retrieve extended information.
[Optional]
users:
A list of twitter.User objects to retrieve extended information.
[Optional]
Returns:
A list of twitter.User objects for the requested users
'''
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instance must be authenticated.")
if not user_id and not screen_name and not users:
raise TwitterError("Specify at least one of user_id, screen_name, or users.")
url = '%s/users/lookup.json' % self.base_url
parameters = {}
uids = list()
if user_id:
uids.extend(user_id)
if users:
uids.extend([u.id for u in users])
if len(uids):
parameters['user_id'] = ','.join(["%s" % u for u in uids])
if screen_name:
parameters['screen_name'] = ','.join(screen_name)
json = self._FetchUrl(url, parameters=parameters)
try:
data = self._ParseAndCheckTwitter(json)
except TwitterError as e:
t = e.args[0]
if len(t) == 1 and ('code' in t[0]) and (t[0]['code'] == 34):
data = []
else:
raise
return [User.NewFromJsonDict(u) for u in data]
def GetUser(self, user):
'''Returns a single user.
The twitter.Api instance must be authenticated.
Args:
user: The twitter name or id of the user to retrieve.
Returns:
A twitter.User instance representing that user
'''
url = '%s/users/show/%s.json' % (self.base_url, user)
json = self._FetchUrl(url)
data = self._ParseAndCheckTwitter(json)
return User.NewFromJsonDict(data)
def GetDirectMessages(self, since=None, since_id=None, page=None):
'''Returns a list of the direct messages sent to the authenticating user.
The twitter.Api instance must be authenticated.
Args:
since:
Narrows the returned results to just those statuses created
after the specified HTTP-formatted date. [Optional]
since_id:
Returns results with an ID greater than (that is, more recent
than) the specified ID. There are limits to the number of
Tweets which can be accessed through the API. If the limit of
Tweets has occurred since the since_id, the since_id will be
forced to the oldest ID available. [Optional]
page:
Specifies the page of results to retrieve.
Note: there are pagination limits. [Optional]
Returns:
A sequence of twitter.DirectMessage instances
'''
url = '%s/direct_messages.json' % self.base_url
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instance must be authenticated.")
parameters = {}
if since:
parameters['since'] = since
if since_id:
parameters['since_id'] = since_id
if page:
parameters['page'] = page
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [DirectMessage.NewFromJsonDict(x) for x in data]
def GetSentDirectMessages(self, since=None, since_id=None, page=None):
'''Returns a list of the direct messages sent by the authenticating user.
The twitter.Api instance must be authenticated.
Args:
since:
Narrows the returned results to just those statuses created
after the specified HTTP-formatted date. [Optional]
since_id:
Returns results with an ID greater than (that is, more recent
than) the specified ID. There are limits to the number of
Tweets which can be accessed through the API. If the limit of
Tweets has occured since the since_id, the since_id will be
forced to the oldest ID available. [Optional]
page:
Specifies the page of results to retrieve.
Note: there are pagination limits. [Optional]
Returns:
A sequence of twitter.DirectMessage instances
'''
url = '%s/direct_messages/sent.json' % self.base_url
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instance must be authenticated.")
parameters = {}
if since:
parameters['since'] = since
if since_id:
parameters['since_id'] = since_id
if page:
parameters['page'] = page
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [DirectMessage.NewFromJsonDict(x) for x in data]
def PostDirectMessage(self, user, text):
'''Post a twitter direct message from the authenticated user
The twitter.Api instance must be authenticated.
Args:
user: The ID or screen name of the recipient user.
text: The message text to be posted. Must be less than 140 characters.
Returns:
A twitter.DirectMessage instance representing the message posted
'''
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instance must be authenticated.")
url = '%s/direct_messages/new.json' % self.base_url
data = {'text': text, 'user': user}
json = self._FetchUrl(url, post_data=data)
data = self._ParseAndCheckTwitter(json)
return DirectMessage.NewFromJsonDict(data)
def DestroyDirectMessage(self, id):
'''Destroys the direct message specified in the required ID parameter.
The twitter.Api instance must be authenticated, and the
authenticating user must be the recipient of the specified direct
message.
Args:
id: The id of the direct message to be destroyed
Returns:
A twitter.DirectMessage instance representing the message destroyed
'''
url = '%s/direct_messages/destroy/%s.json' % (self.base_url, id)
json = self._FetchUrl(url, post_data={'id': id})
data = self._ParseAndCheckTwitter(json)
return DirectMessage.NewFromJsonDict(data)
def CreateFriendship(self, user):
'''Befriends the user specified in the user parameter as the authenticating user.
The twitter.Api instance must be authenticated.
Args:
The ID or screen name of the user to befriend.
Returns:
A twitter.User instance representing the befriended user.
'''
url = '%s/friendships/create/%s.json' % (self.base_url, user)
json = self._FetchUrl(url, post_data={'user': user})
data = self._ParseAndCheckTwitter(json)
return User.NewFromJsonDict(data)
def DestroyFriendship(self, user):
'''Discontinues friendship with the user specified in the user parameter.
The twitter.Api instance must be authenticated.
Args:
The ID or screen name of the user with whom to discontinue friendship.
Returns:
A twitter.User instance representing the discontinued friend.
'''
url = '%s/friendships/destroy/%s.json' % (self.base_url, user)
json = self._FetchUrl(url, post_data={'user': user})
data = self._ParseAndCheckTwitter(json)
return User.NewFromJsonDict(data)
def CreateFavorite(self, status):
'''Favorites the status specified in the status parameter as the authenticating user.
Returns the favorite status when successful.
The twitter.Api instance must be authenticated.
Args:
The twitter.Status instance to mark as a favorite.
Returns:
A twitter.Status instance representing the newly-marked favorite.
'''
url = '%s/favorites/create/%s.json' % (self.base_url, status.id)
json = self._FetchUrl(url, post_data={'id': status.id})
data = self._ParseAndCheckTwitter(json)
return Status.NewFromJsonDict(data)
def DestroyFavorite(self, status):
'''Un-favorites the status specified in the ID parameter as the authenticating user.
Returns the un-favorited status in the requested format when successful.
The twitter.Api instance must be authenticated.
Args:
The twitter.Status to unmark as a favorite.
Returns:
A twitter.Status instance representing the newly-unmarked favorite.
'''
url = '%s/favorites/destroy/%s.json' % (self.base_url, status.id)
json = self._FetchUrl(url, post_data={'id': status.id})
data = self._ParseAndCheckTwitter(json)
return Status.NewFromJsonDict(data)
def GetFavorites(self,
user=None,
page=None):
'''Return a list of Status objects representing favorited tweets.
By default, returns the (up to) 20 most recent tweets for the
authenticated user.
Args:
user:
The twitter name or id of the user whose favorites you are fetching.
If not specified, defaults to the authenticated user. [Optional]
page:
Specifies the page of results to retrieve.
Note: there are pagination limits. [Optional]
'''
parameters = {}
if page:
parameters['page'] = page
if user:
url = '%s/favorites/%s.json' % (self.base_url, user)
elif not user and not self._oauth_consumer:
raise TwitterError("User must be specified if API is not authenticated.")
else:
url = '%s/favorites.json' % self.base_url
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [Status.NewFromJsonDict(x) for x in data]
def GetMentions(self,
since_id=None,
max_id=None,
page=None):
'''Returns the 20 most recent mentions (status containing @twitterID)
for the authenticating user.
Args:
since_id:
Returns results with an ID greater than (that is, more recent
than) the specified ID. There are limits to the number of
Tweets which can be accessed through the API. If the limit of
Tweets has occurred since the since_id, the since_id will be
forced to the oldest ID available. [Optional]
max_id:
Returns only statuses with an ID less than
(that is, older than) the specified ID. [Optional]
page:
Specifies the page of results to retrieve.
Note: there are pagination limits. [Optional]
Returns:
A sequence of twitter.Status instances, one for each mention of the user.
'''
url = '%s/statuses/mentions.json' % self.base_url
if not self._oauth_consumer:
raise TwitterError("The twitter.Api instance must be authenticated.")
parameters = {}
if since_id:
parameters['since_id'] = since_id
if max_id:
try:
parameters['max_id'] = long(max_id)
except:
raise TwitterError("max_id must be an integer")
if page:
parameters['page'] = page
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [Status.NewFromJsonDict(x) for x in data]
def CreateList(self, user, name, mode=None, description=None):
'''Creates a new list with the give name
The twitter.Api instance must be authenticated.
Args:
user:
Twitter name to create the list for
name:
New name for the list
mode:
'public' or 'private'.
Defaults to 'public'. [Optional]
description:
Description of the list. [Optional]
Returns:
A twitter.List instance representing the new list
'''
url = '%s/%s/lists.json' % (self.base_url, user)
parameters = {'name': name}
if mode is not None:
parameters['mode'] = mode
if description is not None:
parameters['description'] = description
json = self._FetchUrl(url, post_data=parameters)
data = self._ParseAndCheckTwitter(json)
return List.NewFromJsonDict(data)
def DestroyList(self, user, id):
'''Destroys the list from the given user
The twitter.Api instance must be authenticated.
Args:
user:
The user to remove the list from.
id:
The slug or id of the list to remove.
Returns:
A twitter.List instance representing the removed list.
'''
url = '%s/%s/lists/%s.json' % (self.base_url, user, id)
json = self._FetchUrl(url, post_data={'_method': 'DELETE'})
data = self._ParseAndCheckTwitter(json)
return List.NewFromJsonDict(data)
def CreateSubscription(self, owner, list):
'''Creates a subscription to a list by the authenticated user
The twitter.Api instance must be authenticated.
Args:
owner:
User name or id of the owner of the list being subscribed to.
list:
The slug or list id to subscribe the user to
Returns:
A twitter.List instance representing the list subscribed to
'''
url = '%s/%s/%s/subscribers.json' % (self.base_url, owner, list)
json = self._FetchUrl(url, post_data={'list_id': list})
data = self._ParseAndCheckTwitter(json)
return List.NewFromJsonDict(data)
def DestroySubscription(self, owner, list):
'''Destroys the subscription to a list for the authenticated user
The twitter.Api instance must be authenticated.
Args:
owner:
The user id or screen name of the user that owns the
list that is to be unsubscribed from
list:
The slug or list id of the list to unsubscribe from
Returns:
A twitter.List instance representing the removed list.
'''
url = '%s/%s/%s/subscribers.json' % (self.base_url, owner, list)
json = self._FetchUrl(url, post_data={'_method': 'DELETE', 'list_id': list})
data = self._ParseAndCheckTwitter(json)
return List.NewFromJsonDict(data)
def GetSubscriptions(self, user, cursor=-1):
'''Fetch the sequence of Lists that the given user is subscribed to
The twitter.Api instance must be authenticated.
Args:
user:
The twitter name or id of the user
cursor:
"page" value that Twitter will use to start building the
list sequence from. -1 to start at the beginning.
Twitter will return in the result the values for next_cursor
and previous_cursor. [Optional]
Returns:
A sequence of twitter.List instances, one for each list
'''
if not self._oauth_consumer:
raise TwitterError("twitter.Api instance must be authenticated")
url = '%s/%s/lists/subscriptions.json' % (self.base_url, user)
parameters = {}
parameters['cursor'] = cursor
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [List.NewFromJsonDict(x) for x in data['lists']]
def GetLists(self, user, cursor=-1):
'''Fetch the sequence of lists for a user.
The twitter.Api instance must be authenticated.
Args:
user:
The twitter name or id of the user whose friends you are fetching.
If the passed in user is the same as the authenticated user
then you will also receive private list data.
cursor:
"page" value that Twitter will use to start building the
list sequence from. -1 to start at the beginning.
Twitter will return in the result the values for next_cursor
and previous_cursor. [Optional]
Returns:
A sequence of twitter.List instances, one for each list
'''
if not self._oauth_consumer:
raise TwitterError("twitter.Api instance must be authenticated")
url = '%s/%s/lists.json' % (self.base_url, user)
parameters = {}
parameters['cursor'] = cursor
json = self._FetchUrl(url, parameters=parameters)
data = self._ParseAndCheckTwitter(json)
return [List.NewFromJsonDict(x) for x in data['lists']]
def GetUserByEmail(self, email):
'''Returns a single user by email address.
Args:
email:
The email of the user to retrieve.
Returns:
A twitter.User instance representing that user
'''
url = '%s/users/show.json?email=%s' % (self.base_url, email)
json = self._FetchUrl(url)
data = self._ParseAndCheckTwitter(json)
return User.NewFromJsonDict(data)
def VerifyCredentials(self):
'''Returns a twitter.User instance if the authenticating user is valid.
Returns:
A twitter.User instance representing that user if the
credentials are valid, None otherwise.
'''
if not self._oauth_consumer:
raise TwitterError("Api instance must first be given user credentials.")
url = '%s/account/verify_credentials.json' % self.base_url
try:
json = self._FetchUrl(url, no_cache=True)
except urllib2.HTTPError, http_error:
if http_error.code == httplib.UNAUTHORIZED:
return None
else:
raise http_error
data = self._ParseAndCheckTwitter(json)
return User.NewFromJsonDict(data)
def SetCache(self, cache):
'''Override the default cache. Set to None to prevent caching.
Args:
cache:
An instance that supports the same API as the twitter._FileCache
'''
if cache == DEFAULT_CACHE:
self._cache = _FileCache()
else:
self._cache = cache
def SetUrllib(self, urllib):
'''Override the default urllib implementation.
Args:
urllib:
An instance that supports the same API as the urllib2 module
'''
self._urllib = urllib
def SetCacheTimeout(self, cache_timeout):
'''Override the default cache timeout.
Args:
cache_timeout:
Time, in seconds, that responses should be reused.
'''
self._cache_timeout = cache_timeout
def SetUserAgent(self, user_agent):
'''Override the default user agent
Args:
user_agent:
A string that should be send to the server as the User-agent
'''
self._request_headers['User-Agent'] = user_agent
def SetXTwitterHeaders(self, client, url, version):
'''Set the X-Twitter HTTP headers that will be sent to the server.
Args:
client:
The client name as a string. Will be sent to the server as
the 'X-Twitter-Client' header.
url:
The URL of the meta.xml as a string. Will be sent to the server
as the 'X-Twitter-Client-URL' header.
version:
The client version as a string. Will be sent to the server
as the 'X-Twitter-Client-Version' header.
'''
self._request_headers['X-Twitter-Client'] = client
self._request_headers['X-Twitter-Client-URL'] = url
self._request_headers['X-Twitter-Client-Version'] = version
def SetSource(self, source):
'''Suggest the "from source" value to be displayed on the Twitter web site.
The value of the 'source' parameter must be first recognized by
the Twitter server. New source values are authorized on a case by
case basis by the Twitter development team.
Args:
source:
The source name as a string. Will be sent to the server as
the 'source' parameter.
'''
self._default_params['source'] = source
def GetRateLimitStatus(self):
'''Fetch the rate limit status for the currently authorized user.
Returns:
A dictionary containing the time the limit will reset (reset_time),
the number of remaining hits allowed before the reset (remaining_hits),
the number of hits allowed in a 60-minute period (hourly_limit), and
the time of the reset in seconds since The Epoch (reset_time_in_seconds).
'''
url = '%s/account/rate_limit_status.json' % self.base_url
json = self._FetchUrl(url, no_cache=True)
data = self._ParseAndCheckTwitter(json)
return data
def MaximumHitFrequency(self):
'''Determines the minimum number of seconds that a program must wait
before hitting the server again without exceeding the rate_limit
imposed for the currently authenticated user.
Returns:
The minimum second interval that a program must use so as to not
exceed the rate_limit imposed for the user.
'''
rate_status = self.GetRateLimitStatus()
reset_time = rate_status.get('reset_time', None)
limit = rate_status.get('remaining_hits', None)
if reset_time:
# put the reset time into a datetime object
reset = datetime.datetime(*rfc822.parsedate(reset_time)[:7])
# find the difference in time between now and the reset time + 1 hour
delta = reset + datetime.timedelta(hours=1) - datetime.datetime.utcnow()
if not limit:
return int(delta.seconds)
# determine the minimum number of seconds allowed as a regular interval
max_frequency = int(delta.seconds / limit) + 1
# return the number of seconds
return max_frequency
return 60
def _BuildUrl(self, url, path_elements=None, extra_params=None):
# Break url into constituent parts
(scheme, netloc, path, params, query, fragment) = urlparse.urlparse(url)
# Add any additional path elements to the path
if path_elements:
# Filter out the path elements that have a value of None
p = [i for i in path_elements if i]
if not path.endswith('/'):
path += '/'
path += '/'.join(p)
# Add any additional query parameters to the query string
if extra_params and len(extra_params) > 0:
extra_query = self._EncodeParameters(extra_params)
# Add it to the existing query
if query:
query += '&' + extra_query
else:
query = extra_query
# Return the rebuilt URL
return urlparse.urlunparse((scheme, netloc, path, params, query, fragment))
def _InitializeRequestHeaders(self, request_headers):
if request_headers:
self._request_headers = request_headers
else:
self._request_headers = {}
def _InitializeUserAgent(self):
user_agent = 'Python-urllib/%s (python-twitter/%s)' % \
(self._urllib.__version__, __version__)
self.SetUserAgent(user_agent)
def _InitializeDefaultParameters(self):
self._default_params = {}
def _DecompressGzippedResponse(self, response):
raw_data = response.read()
if response.headers.get('content-encoding', None) == 'gzip':
url_data = gzip.GzipFile(fileobj=StringIO.StringIO(raw_data)).read()
else:
url_data = raw_data
return url_data
def _Encode(self, s):
if self._input_encoding:
return unicode(s, self._input_encoding).encode('utf-8')
else:
return unicode(s).encode('utf-8')
def _EncodeParameters(self, parameters):
'''Return a string in key=value&key=value form
Values of None are not included in the output string.
Args:
parameters:
A dict of (key, value) tuples, where value is encoded as
specified by self._encoding
Returns:
A URL-encoded string in "key=value&key=value" form
'''
if parameters is None:
return None
else:
return urllib.urlencode(dict([(k, self._Encode(v)) for k, v in parameters.items() if v is not None]))
def _EncodePostData(self, post_data):
'''Return a string in key=value&key=value form
Values are assumed to be encoded in the format specified by self._encoding,
and are subsequently URL encoded.
Args:
post_data:
A dict of (key, value) tuples, where value is encoded as
specified by self._encoding
Returns:
A URL-encoded string in "key=value&key=value" form
'''
if post_data is None:
return None
else:
return urllib.urlencode(dict([(k, self._Encode(v)) for k, v in post_data.items()]))
def _ParseAndCheckTwitter(self, json):
"""Try and parse the JSON returned from Twitter and return
an empty dictionary if there is any error. This is a purely
defensive check because during some Twitter network outages
it will return an HTML failwhale page."""
try:
data = simplejson.loads(json)
self._CheckForTwitterError(data)
except ValueError:
if "<title>Twitter / Over capacity</title>" in json:
raise TwitterError("Capacity Error")
if "<title>Twitter / Error</title>" in json:
raise TwitterError("Technical Error")
raise TwitterError("json decoding")
return data
def _CheckForTwitterError(self, data):
"""Raises a TwitterError if twitter returns an error message.
Args:
data:
A python dict created from the Twitter json response
Raises:
TwitterError wrapping the twitter error message if one exists.
"""
# Twitter errors are relatively unlikely, so it is faster
# to check first, rather than try and catch the exception
if 'error' in data:
raise TwitterError(data['error'])
if 'errors' in data:
raise TwitterError(data['errors'])
def _FetchUrl(self,
url,
post_data=None,
parameters=None,
no_cache=None,
use_gzip_compression=None):
'''Fetch a URL, optionally caching for a specified time.
Args:
url:
The URL to retrieve
post_data:
A dict of (str, unicode) key/value pairs.
If set, POST will be used.
parameters:
A dict whose key/value pairs should encoded and added
to the query string. [Optional]
no_cache:
If true, overrides the cache on the current request
use_gzip_compression:
If True, tells the server to gzip-compress the response.
It does not apply to POST requests.
Defaults to None, which will get the value to use from
the instance variable self._use_gzip [Optional]
Returns:
A string containing the body of the response.
'''
# Build the extra parameters dict
extra_params = {}
if self._default_params:
extra_params.update(self._default_params)
if parameters:
extra_params.update(parameters)
if post_data:
http_method = "POST"
else:
http_method = "GET"
if self._debugHTTP:
_debug = 1
else:
_debug = 0
http_handler = self._urllib.HTTPHandler(debuglevel=_debug)
https_handler = self._urllib.HTTPSHandler(debuglevel=_debug)
http_proxy = os.environ.get('http_proxy')
https_proxy = os.environ.get('https_proxy')
if http_proxy is None or https_proxy is None :
proxy_status = False
else :
proxy_status = True
opener = self._urllib.OpenerDirector()
opener.add_handler(http_handler)
opener.add_handler(https_handler)
if proxy_status is True :
proxy_handler = self._urllib.ProxyHandler({'http':str(http_proxy),'https': str(https_proxy)})
opener.add_handler(proxy_handler)
if use_gzip_compression is None:
use_gzip = self._use_gzip
else:
use_gzip = use_gzip_compression
# Set up compression
if use_gzip and not post_data:
opener.addheaders.append(('Accept-Encoding', 'gzip'))
if self._oauth_consumer is not None:
if post_data and http_method == "POST":
parameters = post_data.copy()
req = oauth.Request.from_consumer_and_token(self._oauth_consumer,
token=self._oauth_token,
http_method=http_method,
http_url=url, parameters=parameters)
req.sign_request(self._signature_method_hmac_sha1, self._oauth_consumer, self._oauth_token)
headers = req.to_header()
if http_method == "POST":
encoded_post_data = req.to_postdata()
else:
encoded_post_data = None
url = req.to_url()
else:
url = self._BuildUrl(url, extra_params=extra_params)
encoded_post_data = self._EncodePostData(post_data)
# Open and return the URL immediately if we're not going to cache
if encoded_post_data or no_cache or not self._cache or not self._cache_timeout:
response = opener.open(url, encoded_post_data)
url_data = self._DecompressGzippedResponse(response)
opener.close()
else:
# Unique keys are a combination of the url and the oAuth Consumer Key
if self._consumer_key:
key = self._consumer_key + ':' + url
else:
key = url
# See if it has been cached before
last_cached = self._cache.GetCachedTime(key)
# If the cached version is outdated then fetch another and store it
if not last_cached or time.time() >= last_cached + self._cache_timeout:
try:
response = opener.open(url, encoded_post_data)
url_data = self._DecompressGzippedResponse(response)
self._cache.Set(key, url_data)
except urllib2.HTTPError, e:
print e
opener.close()
else:
url_data = self._cache.Get(key)
# Always return the latest version
return url_data
class _FileCacheError(Exception):
'''Base exception class for FileCache related errors'''
class _FileCache(object):
DEPTH = 3
def __init__(self,root_directory=None):
self._InitializeRootDirectory(root_directory)
def Get(self,key):
path = self._GetPath(key)
if os.path.exists(path):
return open(path).read()
else:
return None
def Set(self,key,data):
path = self._GetPath(key)
directory = os.path.dirname(path)
if not os.path.exists(directory):
os.makedirs(directory)
if not os.path.isdir(directory):
raise _FileCacheError('%s exists but is not a directory' % directory)
temp_fd, temp_path = tempfile.mkstemp()
temp_fp = os.fdopen(temp_fd, 'w')
temp_fp.write(data)
temp_fp.close()
if not path.startswith(self._root_directory):
raise _FileCacheError('%s does not appear to live under %s' %
(path, self._root_directory))
if os.path.exists(path):
os.remove(path)
os.rename(temp_path, path)
def Remove(self,key):
path = self._GetPath(key)
if not path.startswith(self._root_directory):
raise _FileCacheError('%s does not appear to live under %s' %
(path, self._root_directory ))
if os.path.exists(path):
os.remove(path)
def GetCachedTime(self,key):
path = self._GetPath(key)
if os.path.exists(path):
return os.path.getmtime(path)
else:
return None
def _GetUsername(self):
'''Attempt to find the username in a cross-platform fashion.'''
try:
return os.getenv('USER') or \
os.getenv('LOGNAME') or \
os.getenv('USERNAME') or \
os.getlogin() or \
'nobody'
except (AttributeError, IOError, OSError), e:
return 'nobody'
def _GetTmpCachePath(self):
username = self._GetUsername()
cache_directory = 'python.cache_' + username
return os.path.join(tempfile.gettempdir(), cache_directory)
def _InitializeRootDirectory(self, root_directory):
if not root_directory:
root_directory = self._GetTmpCachePath()
root_directory = os.path.abspath(root_directory)
if not os.path.exists(root_directory):
os.mkdir(root_directory)
if not os.path.isdir(root_directory):
raise _FileCacheError('%s exists but is not a directory' %
root_directory)
self._root_directory = root_directory
def _GetPath(self,key):
try:
hashed_key = md5(key).hexdigest()
except TypeError:
hashed_key = md5.new(key).hexdigest()
return os.path.join(self._root_directory,
self._GetPrefix(hashed_key),
hashed_key)
def _GetPrefix(self,hashed_key):
return os.path.sep.join(hashed_key[0:_FileCache.DEPTH])
| Python |
#lots to do here
##[Unit11213]
##Name=NONE
##Direction=2
##NumAtoms=11
##NumCells=11
##UnitNumber=11213
##UnitType=3
##NumberBlocks=1
##
##[Unit11213_Block1]
##Name=SRS_LIKE26_s_at
##BlockNumber=1
##NumAtoms=11
##NumCells=11
##StartPosition=0
##StopPosition=10
##CellHeader=X Y PROBE FEAT QUAL EXPOS POS CBASE PBASE TBASE ATOM INDEX CODONIND CODON REGIONTYPE REGION
##Cell1=403 355 N control SRS_LIKE26_s_at 0 13 C G C 0 170093 -1 -1 99
##Cell2=185 69 N control SRS_LIKE26_s_at 1 13 A T A 1 33167 -1 -1 99
##Cell3=27 62 N control SRS_LIKE26_s_at 2 13 C G C 2 29663 -1 -1 99
##Cell4=420 10 N control SRS_LIKE26_s_at 3 13 T A T 3 5200 -1 -1 99
##Cell5=155 29 N
##
##X - The X coordinate of the cell.
##Y - The Y coordinate of the cell.
##PROBE - The probe sequence of the cell. Typically set to "N".
##FEAT - Unused string.
##QUAL - The same as the block name.
##EXPOS - Ranges from 0 to the number of atoms - 1 for expression arrays. For CustomSeq it provides some positional information for the probe.
##POS - An index to the base position within the probe where the mismatch occurs.
##CBASE - Not used.
##PBASE - The probe base at the substitution position.
##TBASE - The base of the target where the probe interrogates at the substitution position.
##ATOM - An index used to group probe pairs or quartets.
##INDEX - An index used to look up the corresponding cell data in the CEL file.
##CODONIND - Always set to -1. Only available in version 2 and above.
##CODON -Always set to -1. Only available in version 2 and above.
##REGIONTYPE - Always set to 99. Only available in version 2 and above.
##REGION - Always set to a blank character. Only available in version 2 and above.
##Celli This con
class affycdf():
read_tag = dict(inttype = int(rowpartition[2].strip()),
stringtype = str(rowpartition[2].strip()),
tupletype = tuple(row[1:])
)
header_data_types =dict(X=int,
Y=int,
PROBE=str,
FEAT=str,
QUAL=str,
EXPOS=int,
POS=int,
CBASE=str,
PBASE=str,
TBASE=str,
ATOM=int,
INDEX=int,
CODONIND=str,
CODON=str,
REGIONTYPE=str,
REGION=str,
Celli=tuple,
PROB=str,
PLEN=int,
INDEX=int,
MATCH=bool,
BG=bool,
CYCLES=tuple,
)
# some of he data elements appear in multiple section of the file. The definition for each is listed.
## If there is a different method needed to parse the two different occurances it is specified
alltags=dict()
#Version The version number. Should always be set to "GC1.0", "GC2.0" or "GC3.0". This document only describes GC3.0 version CDF files.
alltags[Version] = read_tag['stringtype']
#Type Defines the type of QC probe set. The defined types are:
alltags['Type'] = read_tag['inttype']
#NumCells The number of cells in the block.
alltags['NumberCells'] = read_tag['inttype']
# [QC], CellHeader Defines the data contained in the subsequent lines, separated by tabs. The value depends on the type of unit. The possible values are:
# [Unit] CellHeader Defines the data contained in the subsequent lines, separated by tabs. The values are:
alltags['CellHeader'] = header_reader
alltags['Cell'] = read_data_row # Data rows start with "CELL" the number of colums is set by the header, Parsing is the same, /t seperated values
# [CHIP], Name This item is not used by the software.
# [UNIT], Name The name of the unit or "NONE" for expression units.
# [Unit_Block],Name The name of the block. For expression units this is the name of the probe set.
alltags['name'] = read_tag['stringtype']
# Direction Defines if the probes are interrogating a sense target or anti-sense target (1 - sense, 2 - anti-sense).
# Direction Defines if the probes are interrogating a sense target or anti-sense target (0 - no direction, 1 - sense, 2 - anti-sense).
##This value is available in version 3 and above.
alltags['Direction'] = read_tag['inttype']
#1, NumAtoms The number of atoms (probe pairs for expression and genotyping and probe quartets for CustomSeq) in the entire probe set.
##This TAG name contain two values after the equal sign. The first is the number of atoms and the second (if found) is the number of cells in each atom.
##It is assumed that there are 2 cells per atom for expression probe sets and 4 for CustomSeq probe sets.
#2, NumAtoms The number of atoms (probe pairs for expression and genotyping and probe quartets for CustomSeq) in the block.
alltags['NumAtoms'] = read_tag['inttype']
#NumCells The number of cells in the entire probe set.
alltags['NumCells'] = read_tag['inttype']
#StartPosition The position of the first atom.
alltags['StartPosition'] = read_tag['inttype']
#StopPosition The position of the last atom.
alltags['StopPosition'] = read_tag['inttype']
#UnitNumber An arbitrary index value for the probe set.
alltags['UnitNumber'] = read_tag['inttype']
#UnitType Defines the type of unit (1 - CustomSeq, 2 - genotyping, 3 - expression, 7 - tag/GenFlex).
alltags['UnitType'] = read_tag['inttype']
#NumberBlocks The number of blocks or groups in the probe set.
alltags['NumberBlocks'] = read_tag['inttype']
#MutationType Used for CYP450 arrays only in defining the type of polymorphism (0 - substitution, 1 - insertion, 2 - deletion).
##This value is available in version 2 and above and only if the UnitType=2.
alltags['MutationType'] = read_tag['inttype']
#BlockNumber An index to the block.
alltags['BlockNumber'] = read_tag['inttype']
#Rows The number of rows of cells on the array.
alltags['Rows'] = read_tag['inttype']
#Cols The number of columns of cells on the array.
alltags['Cols'] = read_tag['inttype']
#NumberOfUnits The number of units in the array not including QC units. The term unit is an internal term which means probe set.
alltags['NumberOfUnits'] = read_tag['inttype']
#MaxUnit Each unit is given a unique number. This value is the maximum of the unit numbers of all the units in the array (not including QC units).
alltags['MaxUnit'] = read_tag['inttype']
#NumQCUnits The number of QC units. QC units are defined in version 2 and above.
alltags['NumQCUnits'] = read_tag['inttype']
#ChipReference Used for CustomSeq, HIV and P53 arrays only. This is the reference sequence displayed by the Affymetrix software.
##The sequence may contain spaces. This value is defined for version 2 and above.
alltags['ChipReference'] = read_tag['tupletype']
#The CDF file describes the layout for an Affymetrix GeneChip array. There are two formats of this file --
##the first is an ASCII text format used by the MAS and GCOS 1.0 software and the second is a binary format used by later versions of GCOS - this format is also referred to as the XDA format.
alltags['CDF']= section_reader(row, '[CDF]')
#The "Chip" section
alltags['Chip']= section_reader(row, '[Chip]')
#"QC" defines the QC units or probe sets in the array. There are NumQCUnits (from the Chip section) QC sections.
##Each section name is a combination of "QC" and an index ranging from 1 to NumQCUnits-1. QC units are defined for version 2 and above.
alltags['QC'] = section_reader(row, 'QC')
#"Unit" defines the probes that are a member of the unit (probe set).
##Each probe set is divided into subsections termed "Blocks" which are referred to as "groups" in the Files SDK documentation.
##A group will list the probes as its members. For expression probe sets there is 1 and only 1 group per probe set.
##Each section name is a combination of "Unit" and an index. There is no meaning to the index value.
##Immediately following the "Unit" section there will be the "Block" sections for that unit before the next unit is defined.
alltags['Unit'] = section_reader(row, '[Unit]')
#There are as many "Unit_Block" sections as defined in the "Unit" section.
##Removed becuase it is inclueded in reading in the "Unit" data
##alltags['Unit_Block'] = section_reader(row, '[Unit_Block]')
def section_reader(row, section):
if section == 'CDF':
row = reader.next()
#self.alltags[str(row)] == alltags[str(row)](row)
elif sectionn == 'Chip':
elif section == 'QC'
elif section == 'Unit'
def read_cdf(self, file):
reader = csv.reader(open(filename, "U"),delimiter='\t')
self.filename = os.path.split(filename)[1]
for row in reader:
if row: #skip blank rows
alltags[row[0].partition('=').strip(' []1234567890] ')[0]](row) #Looks up the correct way to read the line based on the tag. This work for all line, ie if there is no "=" no error is raised
rows =[]
for row in range(NumCells):
rows.append(tuple(row))
celldata = np.array(rows, [(col,row_data_type[str(col)] for col in CellHeader)])
| Python |
import csv, os, glob
import sys
import numpy
class affycel:
def _int_(self, filename, version, header, intensityCells, intensity, maskscells, masks, outlierCells, outliers, modifiedCells, modified):
self.filename = filename
self.version = version
self.header = {}
self.intensityCells = intensityCells
self.intensity = intensity
self.masksCells = maskscells
self.masks = masks
self.outliersCells = outlierCells
self.outliers = outliers
self.modifiedCells = modifiedCells
self.modified = modified
self.custom = {} # plan to allow a custom section to be added to the CEL file
def read_cel(self, filename):
reader = csv.reader(open(filename, "U"),delimiter='\t')
self.filename = os.path.split(filename)[1]
def read_selector(areader):
for row in areader:
if row:
if any(("[CEL]" in row, "[HEADER]" in row, "[INTENSITY]" in row, "[MASKS]" in row, "[OUTLIERS]" in row, "[MODIFIED]" in row)):
rsel[row[0]](row, areader)
else: print '*****something went wrong*******'
def Rcel(row, areader):
if '[CEL]' in row: #row passed in should contain '[CEL]'
for row in areader: #Skips '[CEL]' row that was passed in
if row: # skips blank rows
#print 'cell', row
if not any(("[HEADER]" in row, "[INTENSITY]" in row, "[MASKS]" in row, "[OUTLIERS]" in row, "[MODIFIED]" in row)):
self.version = int(row[0].partition('=')[2])
#print self.version
#self.version = row
else:
rsel[row[0]](row, areader) # Go to correct section
def Rheader(row, areader):
if '[HEADER]' in row: #row passed in should contain '[HEADER]'
self.header = {} #self.header is a dictionary
for row in reader: # skips the section heading row
if row: #skips blank rows
if not any(("[CEL]" in row, "[INTENSITY]" in row, "[MASKS]" in row, "[OUTLIERS]" in row, "[MODIFIED]" in row)):
self.header[str(row[0].partition('=')[0])] = str(row[0].partition('=')[2])
else:
rsel[row[0]](row, areader) # Go to correct section
def Rintensity(row, areader):
#print 'start intencity', row
data = []
if "[INTENSITY]" in row: #row passed in should contain '[INTENSITY]'
row = areader.next() # moves to the row after "[INTENSITY]"
self.intensityCells = int(row[0].partition('=')[2]) #gets the number of intensities
areader.next() #skips the colmn headings
for row in reader:
if row:
if not any(("[CEL]" in row, "[HEADER]" in row, "[MASKS]" in row, "[OUTLIERS]" in row, "[MODIFIED]" in row)):
data.append(tuple(row))
else:
self.intensity = numpy.array(data, [('x',numpy.int),('y',numpy.int),('mean',numpy.float64),('stdv',numpy.float64),('npixcels',numpy.int)])
rsel[row[0]](row, areader)
def Rmasks(row, areader):
data = []
maskstype = [('x', int), ('y', int)]
if "[MASKS]" in row:
row = areader.next() # moves to the row after "[INTENSITY]"
self.masksCells = int(row[0].partition('=')[2]) #gets the number of intensities
areader.next() #skips the colmn headings
for row in reader:
if row:
if not any(("[CEL]" in row, "[HEADER]" in row, "[INTESITY]" in row, "[OUTLIERS]" in row, "[MODIFIED]" in row)):
data.append(tuple(row))
else:
self.masks = numpy.array(data, [('x',numpy.int),('y',numpy.int)])
rsel[row[0]](row, areader)
def Routliers(row, areader):
data = []
if "[OUTLIERS]" in row:
row = areader.next() # moves to the row after "[INTENSITY]"
self.outliersCells = int(row[0].partition('=')[2]) #gets the number of intensities
areader.next() #skips the colmn headings
for row in reader:
if row:
if not any(("[CEL]" in row, "[HEADER]" in row, "[INTESITY]" in row, "[MASKS]" in row, "[MODIFIED]" in row)):
data.append(tuple(row))
else:
self.outliers = numpy.array(data, [('x', numpy.int), ('y', numpy.int)])
rsel[row[0]](row, areader)
def Rmodified(row, areader):
data = []
if "[MODIFIED]" in row:
row = areader.next() # moves to the row after "[INTENSITY]"
self.modifiedCells = int(row[0].partition('=')[2]) #gets the number of intensities
areader.next() #skips the colmn headings
for row in reader:
if row:
if not any(("[CEL]" in row, "[HEADER]" in row, "[INTESITY]" in row, "[MASKS]" in row, "[OUTLIERS]" in row)):
print 'modified1'
data.append(tuple(row))
#else, there is no else statment when there are now more rows continue on to convert data to array
self.modified = numpy.array(data, [('x', numpy.int), ('y', numpy.int), ('origmean', numpy.float64)] )
#rsel[row[0]](row, areader) This should be the last item in the file
rsel = {}
rsel['[CEL]'] = Rcel
rsel['[HEADER]']= Rheader
rsel['[INTENSITY]']= Rintensity
rsel['[MASKS]']= Rmasks
rsel['[OUTLIERS]']= Routliers
rsel['[MODIFIED]']= Rmodified
read_selector(reader)
def simple_normilize(self):
"""empty"""
def cmean(self):
return numpy.mean(self.intensity['mean'])
def csum(self):
return numpy.sum(self.intensity['mean'])
def csumDobs(self):
return self.csum()/len(self.intensity['mean'])
if __name__ == "__main__":
a = affycel()
a.read_cel('example.CEL')
print a.cmean()
print a.csum()
print a.csumDobs()
testlist = (a.filename, a.version, a.header.items(), a.intensityCells, a.intensity[:5], a.masksCells, a.masks, a.outliersCells, a.outliers[:5], a.modifiedCells, a.modified[:5])
for test in testlist:
print 'Test', test
| Python |
#!/usr/bin/env python
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
import os
from StringIO import StringIO
from PIL import Image
import datauri
RGBA_BLACK = (0, 0, 0, 255)
sign_ = lambda n: -1 if n < 0 else (1 if n > 0 else 0)
def find_black_region_(im, sx, sy, ex, ey):
dx = sign_(ex - sx)
dy = sign_(ey - sy)
if abs(dx) == abs(dy):
raise 'findRegion_ can\'t look both horizontally and vertically at once.'
pixel_changes = []
pixel_on = False
x = sx
y = sy
while True:
if not pixel_on and im.getpixel((x, y)) == RGBA_BLACK:
pixel_changes.append((x, y))
pixel_on = True
elif pixel_on and im.getpixel((x, y)) != RGBA_BLACK:
pixel_changes.append((x, y))
pixel_on = False
x += dx
y += dy
if x == ex and y == ey:
break
return (pixel_changes[0][0 if dx else 1] - (sx if dx else sy),
pixel_changes[1][0 if dx else 1] - (sx if dx else sy))
def image_to_data_uri_(im):
f = StringIO()
im.save(f, 'PNG')
uri = datauri.to_data_uri(f.getvalue(), 'foo.png')
f.close()
return uri
def main():
src_im = Image.open(sys.argv[1])
# read and parse 9-patch stretch and padding regions
stretch_l, stretch_r = find_black_region_(src_im, 0, 0, src_im.size[0], 0)
stretch_t, stretch_b = find_black_region_(src_im, 0, 0, 0, src_im.size[1])
pad_l, pad_r = find_black_region_(src_im, 0, src_im.size[1] - 1, src_im.size[0], src_im.size[1] - 1)
pad_t, pad_b = find_black_region_(src_im, src_im.size[0] - 1, 0, src_im.size[0] - 1, src_im.size[1])
#padding_box = {}
template_params = {}
template_params['id'] = sys.argv[1]
template_params['icon_uri'] = image_to_data_uri_(src_im)
template_params['dim_constraint_attributes'] = '' # p:lockHeight="true"
template_params['image_uri'] = image_to_data_uri_(src_im.crop((1, 1, src_im.size[0] - 1, src_im.size[1] - 1)))
template_params['width_l'] = stretch_l - 1
template_params['width_r'] = src_im.size[0] - stretch_r - 1
template_params['height_t'] = stretch_t - 1
template_params['height_b'] = src_im.size[1] - stretch_b - 1
template_params['pad_l'] = pad_l - 1
template_params['pad_t'] = pad_t - 1
template_params['pad_r'] = src_im.size[0] - pad_r - 1
template_params['pad_b'] = src_im.size[1] - pad_b - 1
print open('res/shape_9patch_template.xml').read() % template_params
if __name__ == '__main__':
main() | Python |
#!/usr/bin/env python
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
import os
from StringIO import StringIO
from PIL import Image
import datauri
def image_to_data_uri_(im):
f = StringIO()
im.save(f, 'PNG')
uri = datauri.to_data_uri(f.getvalue(), 'foo.png')
f.close()
return uri
def main():
src_im = Image.open(sys.argv[1])
template_params = {}
template_params['id'] = sys.argv[1]
template_params['image_uri'] = image_to_data_uri_(src_im)
template_params['icon_uri'] = image_to_data_uri_(src_im)
template_params['width'] = src_im.size[0]
template_params['height'] = src_im.size[1]
print open('res/shape_png_template.xml').read() % template_params
if __name__ == '__main__':
main() | Python |
#!/usr/bin/env python
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
import os
import os.path
import shutil
import zipfile
def main():
params = {}
params['id'] = sys.argv[1]
params['displayname'] = sys.argv[2]
params['description'] = sys.argv[3]
zip_file = zipfile.ZipFile('dist/stencil-%s.zip' % params['id'], 'w',
zipfile.ZIP_DEFLATED)
# save stencil XML
shapes_xml = ''
shapes_folder = 'res/sets/%s/shapes' % params['id']
for shape_file in os.listdir(shapes_folder):
if not shape_file.endswith('.xml'):
continue
shape_xml = open(os.path.join(shapes_folder, shape_file)).read()
shapes_xml += shape_xml
params['shapes'] = shapes_xml
final_xml = open('res/stencil_template.xml').read() % params
zip_file.writestr('Definition.xml', final_xml)
# save icons
icons_folder = 'res/sets/%s/icons' % params['id']
for icon_file in os.listdir(icons_folder):
if not icon_file.endswith('.png'):
continue
zip_file.writestr(
'icons/%s' % icon_file,
open(os.path.join(icons_folder, icon_file), 'rb').read())
zip_file.close()
if __name__ == '__main__':
main() | Python |
#!/usr/bin/env python
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import base64
import sys
import mimetypes
def to_data_uri(data, file_name):
'''Takes a file object and returns its data: string.'''
mime_type = mimetypes.guess_type(file_name)
return 'data:%(mimetype)s;base64,%(data)s' % dict(mimetype=mime_type[0],
data=base64.b64encode(data))
def main():
print to_data_uri(open(sys.argv[1], 'rb').read(), sys.argv[1])
if __name__ == '__main__':
main() | Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Ivan Fontarensky
@license: GNU General Public License 3.0
@contact: ivan.fontarensky_at_gmail.com
"""
import os, sys
import platform
import subprocess
from distutils.core import setup
from distutils.cmd import Command
from distutils.log import info, warn
class Uninstall(Command):
description = "Attempt an uninstall from an install --record file"
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def get_command_name(self):
return 'uninstall'
def run(self):
try:
f = open("uninstall.list")
files = [file.strip() for file in f]
f.close()
except:
raise DistutilsFileError("Unable to open uninstall.list. Did you try an uninstall without install before ?\nPlease do a 'python setup.py install' and then restart me.")
for file in files:
if os.path.isfile(file) or os.path.islink(file):
info("removing %s" % repr(file))
if not self.dry_run:
try:
os.unlink(file)
except OSError, e:
warn("could not delete: %s: %s" % (repr(file), e))
elif not os.path.isdir(file):
info("skipping %s" % repr(file))
dirs = set()
for file in reversed(sorted(files)):
dir = os.path.dirname(file)
if dir not in dirs and os.path.isdir(dir) and len(os.listdir(dir)) == 0:
dirs.add(dir)
if dir.find("site-packages/") > 0:
info("removing %s" % repr(dir))
if not self.dry_run:
try:
os.rmdir(dir)
except OSError, e:
warn("could not remove directory: %s" % str(e))
else:
info("skipping empty directory %s" % repr(dir))
def extract_version():
if not os.path.exists("VERSION"):
subprocess.call(["make", "version"])
if os.path.exists("VERSION"):
f = open("VERSION")
version = f.read()[0:-3]
f.close()
return version
else:
print "ERROR: Unable to read the VERSION file."
if len(sys.argv) > 1 and sys.argv[1] == "install" and not "--record" in sys.argv:
sys.argv.append("--record")
sys.argv.append("uninstall.list")
man_dir = 'man' if platform.system() == 'FreeBSD' else 'share/man'
config_dir = '$HOME/.yara' if platform.system() == 'FreeBSD' else '$HOME/.yara'
data_files = [
(os.path.join(man_dir, 'fr/man8'), ['man/fr/yara-editor.8']),
(os.path.join(man_dir, 'man8'), ['man/fr/yara-editor.8']),
(os.path.join(man_dir, 'en/man8'), ['man/en/yara-editor.8']),
(os.path.join(config_dir, 'yaraeditor/yara-editor'), ['config/yara-editor.cfg'])
]
setup(
name = 'yara-editor',
version = '0.1.5',
packages=['yaraeditor','yaraeditor/ui','yaraeditor/core/'],
scripts = ['bin/yara-editor'],
data_files=data_files,
# Metadata
author = 'Ivan Fontarensky',
author_email = 'ivan.fontarensky_at_gmail.com',
description = 'yara-editor is a free editor for yara in python.',
license = 'GPLv3',
# requires=["somepackage (>1.0, !=1.5)"],
# keywords = '',
cmdclass={'uninstall': Uninstall},
)
# vim:ts=4:expandtab:sw=4
| Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Ivan Fontarensky
@license: GNU General Public License 3.0
@contact: ivan.fontarensky_at_gmail.com
"""
import string
import pickle
import logging
import sys, os, traceback
from yaraeditor.constante import *
from PyQt4 import *
from PyQt4 import QtCore, QtGui
from PyQt4.QtCore import (QObject, Qt, QDir, SIGNAL, SLOT)
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
try:
from PyQt4.QtCore import QString
except ImportError:
QString = str
class CodeEditor(QtGui.QPlainTextEdit):
index=-1
def __init__(self, parent):
super(CodeEditor, self).__init__(parent)
self.lineNumberArea = LineNumberArea(self)
self.completer = None
QtCore.QObject.connect(self, QtCore.SIGNAL(_fromUtf8("blockCountChanged(int)")), self.updateLineNumberAreaWidth)
QtCore.QObject.connect(self, QtCore.SIGNAL(_fromUtf8("updateRequest(QRect,int)")), self.updateLineNumberArea)
QtCore.QObject.connect(self, QtCore.SIGNAL(_fromUtf8("cursorPositionChanged()")), self.highlightCurrentLine)
self.updateLineNumberAreaWidth(0)
self.highlightCurrentLine()
self.setAcceptDrops(True)
allStrings = ["all","and","any","ascii","at",
"condition","contains","entrypoint","false",
"filesize","fullword","for","global",
"in","include","index","indexes","int8",
"int16","int32","matches","meta","nocase",
"not","or","of","private","rule","rva",
"section","strings","them","true","uint8",
"uint16","uint32","wide"]
completer = QtGui.QCompleter(allStrings)
completer.setCaseSensitivity(Qt.CaseInsensitive)
completer.setWrapAround(False)
self.setCompleter(completer)
def dragEnterEvent(self, event):
if event.mimeData().hasFormat("text/plain"):
event.accept()
else:
event.reject()
def dragLeaveEvent(self, event):
event.accept()
def dropEvent(self, event):
data = event.mimeData().data("text/plain")
tc = self.textCursor()
tc.movePosition(QtGui.QTextCursor.Left)
tc.movePosition(QtGui.QTextCursor.EndOfWord)
self.setTextCursor(tc)
QtGui.QPlainTextEdit.dropEvent(self,event);
def lineNumberAreaWidth(self):
digits = 1
max = self.qMax(1, self.blockCount())
while (max >= 10):
max /= 10
++digits
space = 3 + self.fontMetrics().width('9') * digits+15;
return space;
def qMax(self, a1, a2):
if a1 <= a2:
return a2
else:
return a1
def updateLineNumberAreaWidth(self,value):
self.setViewportMargins(self.lineNumberAreaWidth(), 0, 0, 0)
def updateLineNumberArea(self,rect, dy):
if (dy):
self.lineNumberArea.scroll(0, dy);
else:
self.lineNumberArea.update(0, rect.y(), self.lineNumberArea.width(), rect.height());
if (rect.contains(self.viewport().rect())):
self.updateLineNumberAreaWidth(0);
def resizeEvent(self, event):
QtGui.QPlainTextEdit.resizeEvent(self,event);
cr = self.contentsRect();
self.lineNumberArea.setGeometry(QtCore.QRect(cr.left(), cr.top(), self.lineNumberAreaWidth(), cr.height()))
def highlightCurrentLine(self):
extraSelections = list()
if (not self.isReadOnly()):
selection = QtGui.QTextEdit.ExtraSelection()
lineColor = QtGui.QColor(Qt.yellow).lighter(160)
selection.format.setBackground(lineColor)
selection.format.setProperty(QtGui.QTextFormat.FullWidthSelection, True)
selection.cursor = self.textCursor()
selection.cursor.clearSelection()
extraSelections.append(selection)
self.setExtraSelections(extraSelections);
def lineNumberAreaPaintEvent(self,event):
painter= QtGui.QPainter(self.lineNumberArea)
painter.fillRect(event.rect(), Qt.lightGray)
block = self.firstVisibleBlock()
blockNumber = block.blockNumber()
top = self.blockBoundingGeometry(block).translated(self.contentOffset()).top()
bottom = top + self.blockBoundingRect(block).height()
# print block.isValid(),blockNumber,top,event.rect().bottom()
while (block.isValid() and top <= event.rect().bottom()):
if (block.isVisible() and bottom >= event.rect().top()):
number = str(blockNumber + 1)
painter.setPen(Qt.black)
painter.drawText(0, top, self.lineNumberArea.width(), self.fontMetrics().height(), Qt.AlignRight, number)
block = block.next()
top = bottom
bottom = top + self.blockBoundingRect(block).height()
blockNumber+=1
def setCompleter(self, completer):
if self.completer:
self.disconnect(self.completer, 0, self, 0)
if not completer:
return
completer.setWidget(self)
completer.setCompletionMode(QtGui.QCompleter.PopupCompletion)
completer.setCaseSensitivity(QtCore.Qt.CaseInsensitive)
self.completer = completer
self.connect(self.completer,
QtCore.SIGNAL("activated(const QString&)"), self.insertCompletion)
def completer(self):
return self.completer
def insertCompletion(self, completion):
tc = self.textCursor()
extra = (len(completion) - len(self.completer.completionPrefix()))
tc.movePosition(QtGui.QTextCursor.Left)
tc.movePosition(QtGui.QTextCursor.EndOfWord)
tc.insertText(completion[-extra:])
self.setTextCursor(tc)
def textUnderCursor(self):
tc = self.textCursor()
tc.select(QtGui.QTextCursor.WordUnderCursor)
return tc.selectedText()
def focusInEvent(self,e):
if (self.completer):
self.completer.setWidget(self)
QtGui.QPlainTextEdit.focusInEvent(self,e)
def keyPressEvent(self, event):
if self.completer and self.completer.popup().isVisible():
if event.key() in (
QtCore.Qt.Key_Enter,
QtCore.Qt.Key_Return,
QtCore.Qt.Key_Escape,
QtCore.Qt.Key_Tab,
QtCore.Qt.Key_Backtab):
event.ignore()
return
## has ctrl-E been pressed??
isShortcut = (event.modifiers() == QtCore.Qt.ControlModifier and
event.key() == QtCore.Qt.Key_E)
if (not self.completer or not isShortcut):
QtGui.QPlainTextEdit.keyPressEvent(self, event)
## ctrl or shift key on it's own??
ctrlOrShift = event.modifiers() in (QtCore.Qt.ControlModifier ,
QtCore.Qt.ShiftModifier)
if ctrlOrShift and len(event.text())==0:
# ctrl or shift key on it's own
return
eow = "~!@#$%^&*()_+{}|:\"<>?,./;'[]\\-="
hasModifier = ((event.modifiers() != QtCore.Qt.NoModifier) and
not ctrlOrShift)
completionPrefix = self.textUnderCursor()
if (not isShortcut and (hasModifier or len(event.text())==0 or
len(completionPrefix) < 3 or
event.text()[-1] in eow )):
self.completer.popup().hide()
return
if (completionPrefix != self.completer.completionPrefix()):
self.completer.setCompletionPrefix(completionPrefix)
popup = self.completer.popup()
popup.setCurrentIndex(
self.completer.completionModel().index(0,0))
cr = self.cursorRect()
cr.setWidth(self.completer.popup().sizeHintForColumn(0)
+ self.completer.popup().verticalScrollBar().sizeHint().width())
self.completer.complete(cr) ## popup it up!
class LineNumberArea(QtGui.QWidget):
def __init__(self, parent):
super(LineNumberArea, self).__init__(parent)
self.codeEditor = parent
def sizeHint(self):
return QtCore.QSize(self.codeEditor.lineNumberAreaWidth(), 0)
def paintEvent(self, event):
self.codeEditor.lineNumberAreaPaintEvent(event);
# vim:ts=4:expandtab:sw=4
| Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Ivan Fontarensky
@license: GNU General Public License 3.0
@contact: ivan.fontarensky_at_gmail.com
"""
from PyQt4 import QtGui
from PyQt4 import QtCore
from PyQt4.QtCore import (QObject, Qt, SIGNAL, SLOT)
class YaraHighlighter(QtGui.QSyntaxHighlighter):
def __init__(self, parent=None):
super(YaraHighlighter, self).__init__(parent)
keywordFormat = QtGui.QTextCharFormat()
keywordFormat.setForeground(QtCore.Qt.darkBlue)
keywordFormat.setFontWeight(QtGui.QFont.Bold)
keywordPatterns = ["\\ball\\b","\\band\\b","\\bany\\b","\\bascii\\b","\\bat\\b",
"\\bcondition\\b","\\bcontains\\b","\\bentrypoint\\b","\\bfalse\\b",
"\\bfilesize\\b","\\bfullword\\b","\\bfor\\b","\\bglobal\\b",
"\\bin\\b","\\binclude\\b","\\bindex\\b","\\bindexes\\b","\\bint8\\b",
"\\bint16\\b","\\bint32\\b","\\bmatches\\b","\\bmeta\\b","\\bnocase\\b",
"\\bnot\\b","\\bor\\b","\\bof\\b","\\bprivate\\b","\\brule\\b","\\brva\\b",
"\\bsection\\b","\\bstrings\\b","\\bthem\\b","\\btrue\\b","\\buint8\\b",
"\\buint16\\b","\\buint32\\b","\\bwide\\b"]
self.highlightingRules = [(QtCore.QRegExp(pattern), keywordFormat)
for pattern in keywordPatterns]
classFormat = QtGui.QTextCharFormat()
classFormat.setFontWeight(QtGui.QFont.Bold)
classFormat.setForeground(QtCore.Qt.darkMagenta)
self.highlightingRules.append((QtCore.QRegExp("\\b\$[A-Za-z]+\\b"),
classFormat))
singleLineCommentFormat = QtGui.QTextCharFormat()
singleLineCommentFormat.setForeground(QtCore.Qt.red)
self.highlightingRules.append((QtCore.QRegExp("//[^\n]*"),
singleLineCommentFormat))
self.multiLineCommentFormat = QtGui.QTextCharFormat()
self.multiLineCommentFormat.setForeground(QtCore.Qt.red)
quotationFormat = QtGui.QTextCharFormat()
quotationFormat.setForeground(QtCore.Qt.darkGreen)
self.highlightingRules.append((QtCore.QRegExp("\".*\""),
quotationFormat))
functionFormat = QtGui.QTextCharFormat()
functionFormat.setFontItalic(True)
functionFormat.setForeground(QtCore.Qt.blue)
self.highlightingRules.append((QtCore.QRegExp("\\b[A-Za-z0-9_]+(?=\\()"),
functionFormat))
self.commentStartExpression = QtCore.QRegExp("/\\*")
self.commentEndExpression = QtCore.QRegExp("\\*/")
def highlightBlock(self, text):
for pattern, format in self.highlightingRules:
expression = QtCore.QRegExp(pattern)
index = expression.indexIn(text)
while index >= 0:
length = expression.matchedLength()
self.setFormat(index, length, format)
index = expression.indexIn(text, index + length)
self.setCurrentBlockState(0)
startIndex = 0
if self.previousBlockState() != 1:
startIndex = self.commentStartExpression.indexIn(text)
while startIndex >= 0:
endIndex = self.commentEndExpression.indexIn(text, startIndex)
if endIndex == -1:
self.setCurrentBlockState(1)
commentLength = len(text) - startIndex
else:
commentLength = endIndex - startIndex + self.commentEndExpression.matchedLength()
self.setFormat(startIndex, commentLength,
self.multiLineCommentFormat)
startIndex = self.commentStartExpression.indexIn(text,
startIndex + commentLength);
class OutputHighlighter(QtGui.QSyntaxHighlighter):
def __init__(self, parent=None):
super(OutputHighlighter, self).__init__(parent)
keywordFormatError = QtGui.QTextCharFormat()
keywordFormatError.setForeground(QtCore.Qt.red)
keywordFormatGood = QtGui.QTextCharFormat()
keywordFormatGood.setForeground(QtCore.Qt.green)
keywordFormatError.setFontWeight(QtGui.QFont.Bold)
keywordFormatGood.setFontWeight(QtGui.QFont.Bold)
keywordError = ["\\Error\\b","\\Warning\\b","\\UnboundLocalError\\b","\\SyntaxError\\b",
"\\UnicodeEncodeError\\b"]
keywordGood = ["\\Signature match\\b"]
self.highlightingError = [(QtCore.QRegExp(pattern), keywordFormatError) for pattern in keywordError]
self.highlightingGood = [(QtCore.QRegExp(pattern), keywordFormatGood) for pattern in keywordGood]
def highlightBlock(self, text):
for pattern, format in self.highlightingError:
expression = QtCore.QRegExp(pattern)
index = expression.indexIn(text)
while index >= 0:
length = expression.matchedLength()
self.setFormat(index, length, format)
index = expression.indexIn(text, index + length)
for pattern, format in self.highlightingGood:
expression = QtCore.QRegExp(pattern)
index = expression.indexIn(text)
while index >= 0:
length = expression.matchedLength()
self.setFormat(index, length, format)
index = expression.indexIn(text, index + length)
self.setCurrentBlockState(0)
# vim:ts=4:expandtab:sw=4 | Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Ivan Fontarensky
@license: GNU General Public License 3.0
@contact: ivan.fontarensky_at_gmail.com
"""
import string
import pickle
import logging
import sys, os, traceback
from yaraeditor.constante import *
from PyQt4 import *
from PyQt4 import QtCore, QtGui
from PyQt4.QtCore import (QObject, Qt, QDir, SIGNAL, SLOT)
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
try:
from PyQt4.QtCore import QString
except ImportError:
QString = str
class YTreeWidget(QtGui.QTreeWidget):
index=-1
def __init__(self, parent):
super(YTreeWidget, self).__init__(parent)
self.setDragEnabled(True)
def dragEnterEvent(self, event):
if event.mimeData().hasFormat("application/pubmedrecord"):
event.setDropAction(Qt.MoveAction)
event.accept()
else:
event.ignore()
def startDrag(self, event):
text = self.selectedItems()[0].text(0)
value = "\t$str=\"%s\""%text
mimeData = QtCore.QMimeData()
mimeData.setData("text/plain", value)
drag = QtGui.QDrag(self)
drag.setMimeData(mimeData)
result = drag.start(Qt.MoveAction)
def mouseMoveEvent(self, event):
self.startDrag(event)
# vim:ts=4:expandtab:sw=4
| Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Ivan Fontarensky
@license: GNU General Public License 3.0
@contact: ivan.fontarensky_at_gmail.com
"""
__all__ = []
# vim:ts=4:expandtab:sw=4
| Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Ivan Fontarensky
@license: GNU General Public License 3.0
@contact: ivan.fontarensky_at_gmail.com
"""
import string
import pickle
import logging
import sys, os, re, traceback
from yaraeditor.constante import *
from yaraeditor.core.highlighter import *
from yaraeditor.core.codeeditor import *
from yaraeditor.core.ytreewidget import *
from PyQt4 import *
from PyQt4.QtCore import (QObject, Qt, QDir, SIGNAL, SLOT)
# Set the log configuration
logging.basicConfig( \
filename=LOG_FILE, \
level=logging.DEBUG, \
format='%(asctime)s %(levelname)s - %(message)s', \
datefmt='%d/%m/%Y %H:%M:%S', \
)
logger = logging.getLogger(NAME)
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
if sys.platform.startswith('darwin'):
rsrcPath = ":/images/mac"
else:
rsrcPath = ":/images/win"
class Controlleur:
index=-1
def __init__(self,application,ui,mainwindow,fileName=None,config=None):
self.app = application
self.ui_yaraeditor = ui
self.mainwindow = mainwindow
self.config = config
mainwindow.setToolButtonStyle(QtCore.Qt.ToolButtonFollowStyle)
self.setupFileActions()
self.setupEditActions()
self.setupViewActions()
self.setupYaraActions()
self.setupHelpActions()
self.setupEditorActions()
self.setupPropertiesActions()
self.yaraTree = self.ui_yaraeditor.yaraTree
self.malwareTree = self.ui_yaraeditor.malwareTree
self.outputEdit = self.ui_yaraeditor.outputEdit
self.pathYaraEdit = self.ui_yaraeditor.pathYara
self.pathMalwareEdit = self.ui_yaraeditor.pathMalware
self.treeMalwareProperties = self.ui_yaraeditor.treeMalwareProperties
self.treeMalwareStrings = self.ui_yaraeditor.treeMalwareStrings
highlighter = OutputHighlighter(self.outputEdit.document())
self.path_yara=config.get(CONF_PREFERENCE, CONF_PATH_YARA)
self.path_malware=config.get(CONF_PREFERENCE, CONF_PATH_MALWARE)
self.pathYaraEdit.setText(self.path_yara)
self.pathMalwareEdit.setText(self.path_malware)
self.modelYara = QtGui.QDirModel()
self.yaraTree.setModel(self.modelYara)
self.yaraTree.setAnimated(False)
self.yaraTree.setIndentation(20)
self.yaraTree.setSortingEnabled(True)
self.yaraTree.setColumnHidden(1,True)
self.yaraTree.setColumnHidden(2,True)
self.yaraTree.setColumnHidden(3,True)
self.yaraTree.setRootIndex( self.modelYara.index(self.path_yara) );
self.mainwindow.connect(self.yaraTree, SIGNAL('itemDoubleClicked'), self.treeOpenFile)
self.modelMalware = QtGui.QDirModel()
self.malwareTree.setModel(self.modelMalware)
self.malwareTree.setAnimated(False)
self.malwareTree.setIndentation(20)
self.malwareTree.setSortingEnabled(True)
self.malwareTree.setColumnHidden(1,True)
self.malwareTree.setColumnHidden(2,True)
self.malwareTree.setColumnHidden(3,True)
self.malwareTree.setRootIndex( self.modelMalware.index(self.path_malware) );
#self.malwareTree.setSelectionMode( QtGui.QAbstractItemView.MultiSelection )
#self.treeMalwareStrings.setDragDropMode(self.treeMalwareStrings.DragDrop)
self.treeMalwareStrings.setDragEnabled(True)
#self.treeMalwareStrings.setDropIndicatorShown(True)
self.malwareTree.setContextMenuPolicy(Qt.CustomContextMenu);
self.malwareTree.customContextMenuRequested.connect(self.menuContextTree)
QtCore.QObject.connect(self.yaraTree, QtCore.SIGNAL(_fromUtf8("doubleClicked(QModelIndex)")),self.treeOpenFile)
QtCore.QObject.connect(self.pathYaraEdit, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), self.changeYaraPath)
QtCore.QObject.connect(self.pathMalwareEdit, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), self.changeMalwarePath)
if not self.load(fileName):
self.fileNew()
def setupFileActions(self):
tb = QtGui.QToolBar(self.mainwindow)
tb.setWindowTitle("File Actions")
self.mainwindow.addToolBar(tb)
menu = QtGui.QMenu("&File", self.mainwindow)
self.mainwindow.menuBar().addMenu(menu)
self.actionNew = QtGui.QAction(
QtGui.QIcon.fromTheme('document-new',
QtGui.QIcon(rsrcPath + '/filenew.png')),
"&New", self.mainwindow, priority=QtGui.QAction.LowPriority,
shortcut=QtGui.QKeySequence.New, triggered=self.fileNew)
tb.addAction(self.actionNew)
menu.addAction(self.actionNew)
self.actionOpen = QtGui.QAction(
QtGui.QIcon.fromTheme('document-open',
QtGui.QIcon(rsrcPath + '/fileopen.png')),
"&Open...", self.mainwindow, shortcut=QtGui.QKeySequence.Open,
triggered=self.fileOpen)
tb.addAction(self.actionOpen)
menu.addAction(self.actionOpen)
menu.addSeparator()
self.actionSave = QtGui.QAction(
QtGui.QIcon.fromTheme('document-save',
QtGui.QIcon(rsrcPath + '/filesave.png')),
"&Save", self.mainwindow, shortcut=QtGui.QKeySequence.Save,
triggered=self.fileSave, enabled=False)
tb.addAction(self.actionSave)
menu.addAction(self.actionSave)
self.actionSaveAs = QtGui.QAction("Save &As...", self.mainwindow,
priority=QtGui.QAction.LowPriority,
shortcut=QtCore.Qt.CTRL + QtCore.Qt.SHIFT + QtCore.Qt.Key_S,
triggered=self.fileSaveAs)
menu.addAction(self.actionSaveAs)
menu.addSeparator()
self.actionPrint = QtGui.QAction(
QtGui.QIcon.fromTheme('document-print',
QtGui.QIcon(rsrcPath + '/fileprint.png')),
"&Print...", self.mainwindow, priority=QtGui.QAction.LowPriority,
shortcut=QtGui.QKeySequence.Print, triggered=self.filePrint)
tb.addAction(self.actionPrint)
menu.addAction(self.actionPrint)
self.actionPrintPreview = QtGui.QAction(
QtGui.QIcon.fromTheme('fileprint',
QtGui.QIcon(rsrcPath + '/fileprint.png')),
"Print Preview...", self.mainwindow,
shortcut=QtCore.Qt.CTRL + QtCore.Qt.SHIFT + QtCore.Qt.Key_P,
triggered=self.filePrintPreview)
menu.addAction(self.actionPrintPreview)
self.actionPrintPdf = QtGui.QAction(
QtGui.QIcon.fromTheme('exportpdf',
QtGui.QIcon(rsrcPath + '/exportpdf.png')),
"&Export PDF...", self.mainwindow, priority=QtGui.QAction.LowPriority,
shortcut=QtCore.Qt.CTRL + QtCore.Qt.Key_D,
triggered=self.filePrintPdf)
tb.addAction(self.actionPrintPdf)
menu.addAction(self.actionPrintPdf)
menu.addSeparator()
self.actionQuit = QtGui.QAction("&Quit", self.mainwindow,
shortcut=QtGui.QKeySequence.Quit, triggered=self.mainwindow.close)
menu.addAction(self.actionQuit)
def setupEditActions(self):
tb = QtGui.QToolBar(self.mainwindow)
tb.setWindowTitle("Edit Actions")
self.mainwindow.addToolBar(tb)
menu = QtGui.QMenu("&Edit", self.mainwindow)
self.mainwindow.menuBar().addMenu(menu)
self.actionUndo = QtGui.QAction(
QtGui.QIcon.fromTheme('edit-undo',
QtGui.QIcon(rsrcPath + '/editundo.png')),
"&Undo", self.mainwindow, shortcut=QtGui.QKeySequence.Undo)
tb.addAction(self.actionUndo)
menu.addAction(self.actionUndo)
self.actionRedo = QtGui.QAction(
QtGui.QIcon.fromTheme('edit-redo',
QtGui.QIcon(rsrcPath + '/editredo.png')),
"&Redo", self.mainwindow, priority=QtGui.QAction.LowPriority,
shortcut=QtGui.QKeySequence.Redo)
tb.addAction(self.actionRedo)
menu.addAction(self.actionRedo)
menu.addSeparator()
self.actionCut = QtGui.QAction(
QtGui.QIcon.fromTheme('edit-cut',
QtGui.QIcon(rsrcPath + '/editcut.png')),
"Cu&t", self.mainwindow, priority=QtGui.QAction.LowPriority,
shortcut=QtGui.QKeySequence.Cut)
tb.addAction(self.actionCut)
menu.addAction(self.actionCut)
self.actionCopy = QtGui.QAction(
QtGui.QIcon.fromTheme('edit-copy',
QtGui.QIcon(rsrcPath + '/editcopy.png')),
"&Copy", self.mainwindow, priority=QtGui.QAction.LowPriority,
shortcut=QtGui.QKeySequence.Copy)
tb.addAction(self.actionCopy)
menu.addAction(self.actionCopy)
self.actionPaste = QtGui.QAction(
QtGui.QIcon.fromTheme('edit-paste',
QtGui.QIcon(rsrcPath + '/editpaste.png')),
"&Paste", self.mainwindow, priority=QtGui.QAction.LowPriority,
shortcut=QtGui.QKeySequence.Paste,
enabled=(len(QtGui.QApplication.clipboard().text()) != 0))
tb.addAction(self.actionPaste)
menu.addAction(self.actionPaste)
def setupViewActions(self):
menu = QtGui.QMenu("&View", self.mainwindow)
self.mainwindow.menuBar().addMenu(menu)
self.actionYaraBrowser = QtGui.QAction(
"&Yara Browser", self.mainwindow, toggled=self.ui_yaraeditor.dockWidgetYara.setVisible)
self.actionYaraBrowser.setCheckable(True)
self.actionYaraBrowser.setChecked(True)
menu.addAction(self.actionYaraBrowser)
self.actionMalwareBrowser = QtGui.QAction(
"&Malware Browser", self.mainwindow, toggled=self.ui_yaraeditor.dockWidgetMalware.setVisible)
self.actionMalwareBrowser.setCheckable(True)
self.actionMalwareBrowser.setChecked(True)
menu.addAction(self.actionMalwareBrowser)
self.actionInspector = QtGui.QAction(
"&Inspector", self.mainwindow, toggled=self.ui_yaraeditor.dockWidgetInspector.setVisible)
self.actionInspector.setCheckable(True)
self.actionInspector.setChecked(True)
menu.addAction(self.actionInspector)
def setupYaraActions(self):
tb = QtGui.QToolBar(self.mainwindow)
tb.setWindowTitle("Yara Actions")
self.mainwindow.addToolBar(tb)
menu = QtGui.QMenu("&Yara", self.mainwindow)
self.mainwindow.menuBar().addMenu(menu)
iconExec = QtGui.QIcon()
iconExec.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/images/win/exec.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionExecuteYara = QtGui.QAction(
QtGui.QIcon.fromTheme('yara-execute',iconExec),
"&Execute", self.mainwindow, shortcut=QtGui.QKeySequence(Qt.Key_F5),
triggered=self.yaraExecute)
tb.addAction(self.actionExecuteYara)
menu.addAction(self.actionExecuteYara)
self.actionGenerateRules = QtGui.QAction(
"&Generate Rules", self.mainwindow, triggered=self.yaraRulesGenerator)
menu.addAction(self.actionGenerateRules)
def setupHelpActions(self):
helpMenu = QtGui.QMenu("Help", self.mainwindow)
self.mainwindow.menuBar().addMenu(helpMenu)
helpMenu.addAction("About", self.about)
helpMenu.addAction("About &Qt", QtGui.qApp.aboutQt)
def setupEditorActions(self):
self.ui_yaraeditor.horizontalLayout = QtGui.QHBoxLayout(self.ui_yaraeditor.widgetEditor)
self.ui_yaraeditor.horizontalLayout.setMargin(0)
self.ui_yaraeditor.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.ui_yaraeditor.yaraEdit = CodeEditor(self.ui_yaraeditor.widgetEditor)
self.ui_yaraeditor.yaraEdit.setObjectName(_fromUtf8("yaraEdit"))
self.ui_yaraeditor.horizontalLayout.addWidget(self.ui_yaraeditor.yaraEdit)
self.ui_yaraeditor.widgetEditor.setAcceptDrops(True)
#Create our YaraHighlighter derived from QSyntaxHighlighter
self.yaraEdit = self.ui_yaraeditor.yaraEdit
highlighter = YaraHighlighter(self.yaraEdit.document())
self.yaraEdit.document().modificationChanged.connect(
self.actionSave.setEnabled)
self.yaraEdit.document().modificationChanged.connect(
self.mainwindow.setWindowModified)
self.yaraEdit.document().undoAvailable.connect(
self.actionUndo.setEnabled)
self.yaraEdit.document().redoAvailable.connect(
self.actionRedo.setEnabled)
self.mainwindow.setWindowModified(self.yaraEdit.document().isModified())
self.actionSave.setEnabled(self.yaraEdit.document().isModified())
self.actionUndo.setEnabled(self.yaraEdit.document().isUndoAvailable())
self.actionRedo.setEnabled(self.yaraEdit.document().isRedoAvailable())
self.actionUndo.triggered.connect(self.yaraEdit.undo)
self.actionRedo.triggered.connect(self.yaraEdit.redo)
self.actionCut.setEnabled(False)
self.actionCopy.setEnabled(False)
self.actionCut.triggered.connect(self.yaraEdit.cut)
self.actionCopy.triggered.connect(self.yaraEdit.copy)
self.actionPaste.triggered.connect(self.yaraEdit.paste)
self.yaraEdit.copyAvailable.connect(self.actionCut.setEnabled)
self.yaraEdit.copyAvailable.connect(self.actionCopy.setEnabled)
QtGui.QApplication.clipboard().dataChanged.connect(
self.clipboardDataChanged)
def setupPropertiesActions(self):
#self.ui_yaraeditor.verticalLayout_7 = QtGui.QVBoxLayout(self.ui_yaraeditor.tab_strings)
#self.ui_yaraeditor.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
self.ui_yaraeditor.treeMalwareStrings = YTreeWidget(self.ui_yaraeditor.tab_strings)
self.ui_yaraeditor.treeMalwareStrings.setHeaderHidden(False)
self.ui_yaraeditor.treeMalwareStrings.setObjectName(_fromUtf8("treeMalwareStrings"))
self.ui_yaraeditor.treeMalwareStrings.setColumnCount(2)
self.ui_yaraeditor.treeMalwareStrings.headerItem().setText(0, QtGui.QApplication.translate("YaraEditor", "Value", None, QtGui.QApplication.UnicodeUTF8))
self.ui_yaraeditor.treeMalwareStrings.headerItem().setText(1, QtGui.QApplication.translate("YaraEditor", "Type", None, QtGui.QApplication.UnicodeUTF8))
self.ui_yaraeditor.verticalLayout_7.addWidget(self.ui_yaraeditor.treeMalwareStrings)
def about(self):
QtGui.QMessageBox.about(self.mainwindow, "About",
"""
Yara-Editor Version (%s)
Editor for Yara rules
%s
""" % (VERSION,AUTHOR))
def clipboardDataChanged(self):
self.actionPaste.setEnabled(
len(QtGui.QApplication.clipboard().text()) != 0)
def menuContextTree(self, point):
# On définie le menu contextuel.
menu=QtGui.QMenu()
action_inspect_malware=menu.addAction("Inspect")
QtCore.QObject.connect(action_inspect_malware, QtCore.SIGNAL("triggered()"), self.inspect_malware)
action_generate_rules=menu.addAction("Generate Rules")
QtCore.QObject.connect(action_generate_rules, QtCore.SIGNAL("triggered()"), self.yaraRulesGenerator)
# Il reste à lier chaque clic sur le menu à une action réelle via un SLOT.
menu.exec_(QtGui.QCursor.pos())
def inspect_malware(self):
logger.debug('inspect_malware() :')
self.treeMalwareProperties.clear()
self.treeMalwareStrings.clear()
for index in self.malwareTree.selectedIndexes():
fileInfo = self.modelMalware.fileInfo(index)
self.add_element(self.treeMalwareProperties,"Name",fileInfo.fileName())
self.add_element(self.treeMalwareProperties,"Path",fileInfo.filePath())
self.add_element(self.treeMalwareProperties,"Size",str(fileInfo.size()))
fi = open(str(fileInfo.filePath()),'rb')
data = fi.read()
fi.close()
sha1 = QtCore.QCryptographicHash.hash(data,QtCore.QCryptographicHash.Sha1).toHex()
md5 = QtCore.QCryptographicHash.hash(data,QtCore.QCryptographicHash.Md5).toHex()
self.add_element(self.treeMalwareProperties,"MD5",str(md5))
self.add_element(self.treeMalwareProperties,"SHA1",str(sha1))
for s,t in self.get_strings(data):
self.add_element(self.treeMalwareStrings,str(s),t)
def add_element(self,tree,name,value="",typeValue=""):
item = QtGui.QTreeWidgetItem(tree)
item.setText(0,name)
if value!="":
item.setText(1,value)
if typeValue!="":
item.setText(1,typeValue)
def remove_element(self,tree,name):
findings = tree.findItems(name,Qt.MatchCaseSensitive)
for f in findings:
index = tree.indexOfTopLevelItem(f)
tree.takeTopLevelItem(index)
def get_ascii(self,data,length_min=7):
strings = set()
for m in re.finditer("([\x21-\x7e]{4,})", data):
if len(m.group(1))> length_min:
strings.add(m.group(1))
return strings
def get_unicode(self,data,length_min=7):
strings = set()
for m in re.finditer("([\x20-\x7e]{4,})", data):
if len(m.group(1))> length_min:
strings.add(m.group(1))
return strings
def get_strings(self,data,length_min=7):
strings_ascii = self.get_ascii(data,length_min)
strings_unicode = self.get_unicode(data,length_min)
strings = set()
for sa in strings_ascii:
strings.add((sa,"ascii"))
for su in strings_unicode:
if su in strings:
continue
strings.add((su,"unicode"))
return strings
def maybeSave(self):
if not self.yaraEdit.document().isModified():
return True
ret = QtGui.QMessageBox.warning(self.mainwindow, "Application",
"The document has been modified.\n"
"Do you want to save your changes?",
QtGui.QMessageBox.Save | QtGui.QMessageBox.Discard |
QtGui.QMessageBox.Cancel)
if ret == QtGui.QMessageBox.Save:
return self.fileSave()
if ret == QtGui.QMessageBox.Cancel:
return False
return True
def setCurrentFileName(self, fileName=''):
self.fileName = fileName
self.yaraEdit.document().setModified(False)
if not fileName:
shownName = 'untitled.yara'
else:
shownName = QtCore.QFileInfo(fileName).fileName()
self.mainwindow.setWindowTitle(self.mainwindow.tr("%s[*] - %s" % (shownName, "Rich Text")))
self.mainwindow.setWindowModified(False)
def fileNew(self):
if self.maybeSave():
self.yaraEdit.clear()
self.setCurrentFileName()
def fileOpen(self):
fn = QtGui.QFileDialog.getOpenFileName(self.mainwindow, "Open File...", "",
"Yara files (*.yara);;All Files (*)")
if fn:
self.load(fn)
def fileSave(self):
if not self.fileName:
return self.fileSaveAs()
f = open(self.fileName, 'w')
f.write(str(self.yaraEdit.document().toPlainText()))
f.close()
self.yaraEdit.document().setModified(False)
self.modelYara.refresh()
self.yaraTree.setRootIndex( self.modelYara.index(self.path_yara) );
return True
def fileSaveAs(self):
fn = QtGui.QFileDialog.getSaveFileName(self.mainwindow, "Save as...", self.path_yara,
"Yara files (*.yara);;HTML-Files (*.htm *.html);;All Files (*)")
if not fn:
return False
lfn = fn.lower()
if not lfn.endswith(('.yara', '.htm', '.html')):
# The default.
fn += '.yara'
self.setCurrentFileName(fn)
return self.fileSave()
def filePrint(self):
printer = QtGui.QPrinter(QtGui.QPrinter.HighResolution)
dlg = QtGui.QPrintDialog(printer, self.mainwindow)
if self.yaraEdit.textCursor().hasSelection():
dlg.addEnabledOption(QtGui.QAbstractPrintDialog.PrintSelection)
dlg.setWindowTitle("Print Document")
if dlg.exec_() == QtGui.QDialog.Accepted:
self.yaraEdit.print_(printer)
del dlg
def filePrintPreview(self):
printer = QtGui.QPrinter(QtGui.QPrinter.HighResolution)
preview = QtGui.QPrintPreviewDialog(printer, self.mainwindow)
preview.paintRequested.connect(self.printPreview)
preview.exec_()
def printPreview(self, printer):
self.yaraEdit.print_(printer)
def filePrintPdf(self):
fn = QtGui.QFileDialog.getSaveFileName(self.mainwindow, "Export PDF", None,
"PDF files (*.pdf);;All Files (*)")
if fn:
if QtCore.QFileInfo(fn).suffix().isEmpty():
fn += '.pdf'
printer = QtGui.QPrinter(QtGui.QPrinter.HighResolution)
printer.setOutputFormat(QtGui.QPrinter.PdfFormat)
printer.setOutputFileName(fileName)
self.yaraEdit.document().print_(printer)
def load(self, f):
if not QtCore.QFile.exists(f):
return False
fh = QtCore.QFile(f)
if not fh.open(QtCore.QFile.ReadOnly):
return False
data = fh.readAll()
codec = QtCore.QTextCodec.codecForHtml(data)
unistr = codec.toUnicode(data)
if QtCore.Qt.mightBeRichText(unistr):
doc = QtGui.QTextDocument()
doc.setHtml(unistr)
text = doc.toPlainText()
unistr = text
self.yaraEdit.setPlainText(unistr)
self.setCurrentFileName(f)
return True
def treeOpenFile(self,index):
self.load( self.modelYara.filePath(index) )
def changeYaraPath(self,path):
if QDir(path).exists():
self.path_yara = path
self.yaraTree.setRootIndex( self.modelYara.index(self.path_yara) );
self.config.set(CONF_PREFERENCE, CONF_PATH_YARA,self.path_yara)
self.save_config()
def changeMalwarePath(self,path):
if QDir(path).exists():
self.path_malware = path
self.malwareTree.setRootIndex( self.modelMalware.index(self.path_malware) );
self.config.set(CONF_PREFERENCE, CONF_PATH_MALWARE,self.path_malware)
self.save_config()
def save_config(self):
config_path = os.path.join(CONF_PATH,CONF_FILE)
config_file = open(config_path, 'w')
self.config.write(config_file)
config_file.close()
def yaraExecute(self):
import yara
self.outputEdit.clear()
report = set()
ret = ""
self.add_message_output("Compilation...")
yara_script = str(self.yaraEdit.document().toPlainText())
modelIndexList = self.malwareTree.selectionModel().selectedIndexes();
try:
rules = yara.compile(source=yara_script)
except yara.SyntaxError, e:
report = "Error : Exception occured in : \n%s" % (str(e))
self.add_message_output(report)
return
pathes = set()
[pathes.add(str(self.modelMalware.filePath(index))) for index in modelIndexList]
self.add_message_output("Execution...")
found=0
for path_malware in pathes:
try:
if os.path.isdir(path_malware):
for root, dirs, files in os.walk(path_malware):
set_report = set()
for i in files:
n = os.path.join(root, i)
matches = self.check_yara(rules,n)
if len(matches)>0:
for m in matches:
report = "Signature match : %s : %s" % (m,n)
self.add_message_output(report)
found+=1
else:
matches = self.check_yara(rules,path_malware)
if len(matches)>0:
for m in matches:
report = "Signature match : %s : %s" % (m,path_malware)
found+=1
self.add_message_output(report)
except Exception, e:
report = "Error : Exception occured in : \n%s\n%s" % (str(e),traceback.format_exc())
logging.error("Exception occured in yaraExecute(): %s" % (str(e)))
logging.debug(traceback.format_exc())
self.add_message_output(report)
self.add_message_output("Finish : %d matches" % found)
def check_yara(self,rules,path):
try:
matches = rules.match(path)
return matches
except Exception, e:
logging.error("Exception occured when using yara: %s\n%s" % (str(e),traceback.format_exc()))
return []
def add_message_output(self, message):
import datetime
cursor = self.outputEdit.textCursor()
codec = QtCore.QTextCodec.codecForHtml(message)
unistr = codec.toUnicode(message)
cursor.movePosition(QtGui.QTextCursor.Start, QtGui.QTextCursor.MoveAnchor)
self.outputEdit.setTextCursor(cursor)
timestamp = str(datetime.datetime.now())
self.outputEdit.insertPlainText("["+timestamp+"] "+message+"\n")
def yaraRulesGenerator(self):
from yaraeditor.ui.rules_generator import *
self.dialog_generator = QtGui.QDialog()
self.ui_generator=Ui_DialogGenerator()
self.ui_generator.setupUi(self.dialog_generator)
self.app.connect(self.ui_generator.btnBrowseNewFile,SIGNAL("clicked()"),self.generator_add_file)
self.app.connect(self.ui_generator.btnBrowseNewFamily,SIGNAL("clicked()"),self.generator_add_family)
self.app.connect(self.ui_generator.listFiles, QtCore.SIGNAL("customContextMenuRequested(const QPoint &)"), self.generator_menuContextTree)
self.ui_generator.listFiles.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
if self.dialog_generator.exec_():
rules = self.generator_generate_rules()
self.yaraEdit.setPlainText(rules)
def generator_generate_rules(self):
count = self.ui_generator.treeWidget.topLevelItemCount()
set_strings = set()
set_condition = set()
for i in range(0,count):
item = self.ui_generator.treeWidget.topLevelItem(i)
condition = "$str%d" % i
value = "\t%s=\"%s\""%(condition,item.text(0))
set_strings.add(value)
set_condition.add(condition)
rules = TEMPLATE_YARA
rules = rules.replace("###STRINGS###","\n".join(set_strings))
#rules = rules.replace("###CONDITION###","\t(%s)" % " and ".join(set_condition))
rules = rules.replace("###CONDITION###","\tall of them")
return rules
def generator_add_file(self,path=""):
if path == "":
pathes = QtGui.QFileDialog.getOpenFileNames(self.mainwindow, "Open File","","All (*)")
if pathes == None:
return
for path in pathes:
item = QtGui.QListWidgetItem(path)
self.ui_generator.listFiles.addItem(item)
self.generator_update()
def generator_remove_file(self,path=""):
items = self.ui_generator.listFiles.selectedItems()
for item in items:
index = self.ui_generator.listFiles.row(item)
self.ui_generator.listFiles.takeItem(index)
self.generator_update()
def generator_add_family(self,path=None):
if path == None:
pathes = QtGui.QFileDialog.getOpenFileNames(self.mainwindow, "Open File","","All (*)")
else:
pathes = path
if pathes == None:
return
for path in pathes:
item = QtGui.QListWidgetItem(path)
self.ui_generator.listFilesFamily.addItem(item)
self.generator_update()
def generator_update(self):
self.set_string = dict()
countFamily = self.ui_generator.listFilesFamily.count()
for index in range(0,countFamily):
item = self.ui_generator.listFilesFamily.item(index)
self.generator_add_string(item.text())
count = self.ui_generator.listFiles.count()
for index in range(0,count):
item = self.ui_generator.listFiles.item(index)
self.generator_remove_string(item.text())
self.ui_generator.treeWidget.clear()
good = False
while not good:
for s,v in self.set_string.iteritems():
print s,v
if v>=countFamily:
self.add_element(self.ui_generator.treeWidget,str(s))
good = True
countFamily -=1
def generator_add_string(self,malware):
f = open(malware,'rb')
data = f.read()
f.close()
strings_in_file = set()
for s,t in self.get_strings(data):
strings_in_file.add(s)
for s in strings_in_file:
if '"' not in s and '\\' not in s and not len(s)>40:
if self.set_string.has_key(str(s)):
self.set_string[str(s)] += 1
else:
self.set_string[str(s)] = 1
def generator_remove_string(self,malware):
f = open(malware,'rb')
data = f.read()
f.close()
for s,t in self.get_strings(data):
if self.set_string.has_key(str(s)):
self.set_string[str(s)] = 0
def generator_menuContextTree(self, point):
# On définie le menu contextuel.
menu=QtGui.QMenu()
action_delete=menu.addAction("Remove")
QtCore.QObject.connect(action_delete, QtCore.SIGNAL("triggered()"), self.generator_remove_file)
# Il reste à lier chaque clic sur le menu à une action réelle via un SLOT.
menu.exec_(QtGui.QCursor.pos())
# vim:ts=4:expandtab:sw=4
| Python |
# -*- coding: utf-8 -*-
# Resource object code
#
# Created: Sat Nov 24 16:28:52 2012
# by: The Resource Compiler for PyQt (Qt v4.8.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x00\x04\x8b\
\xff\
\xd8\xff\xe0\x00\x10\x4a\x46\x49\x46\x00\x01\x01\x00\x00\x01\x00\
\x01\x00\x00\xff\xdb\x00\x84\x00\x09\x06\x06\x13\x06\x05\x09\x14\
\x10\x08\x0a\x09\x09\x0a\x0d\x16\x0e\x0d\x0c\x18\x17\x1a\x13\x14\
\x19\x16\x1f\x1c\x21\x20\x1f\x1c\x1e\x1e\x22\x27\x32\x26\x23\x25\
\x2f\x20\x1e\x1f\x2b\x3b\x24\x2f\x2c\x35\x2d\x38\x38\x21\x23\x31\
\x35\x3c\x2a\x35\x2f\x30\x34\x2a\x01\x09\x0a\x0a\x0d\x0b\x0d\x19\
\x0e\x0e\x19\x35\x24\x1e\x24\x35\x35\x35\x35\x35\x35\x35\x35\x35\
\x35\x35\x35\x35\x35\x33\x35\x2b\x34\x35\x35\x35\x33\x35\x35\x35\
\x34\x35\x34\x35\x35\x2c\x2f\x35\x2d\x29\x29\x35\x34\x35\x35\x35\
\x34\x2c\x2c\x34\x2c\x34\x2e\x34\x34\xff\xc0\x00\x11\x08\x00\x37\
\x00\x32\x03\x01\x22\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1b\
\x00\x00\x02\x02\x03\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x06\x05\x07\x01\x03\x04\x02\xff\xc4\x00\x33\x10\x00\x02\
\x01\x03\x03\x02\x02\x08\x04\x07\x00\x00\x00\x00\x00\x00\x01\x02\
\x03\x00\x04\x11\x05\x12\x21\x06\x31\x07\x13\x14\x22\x41\x51\x61\
\x71\x91\xb1\x15\x36\x74\x81\x16\x23\x26\x42\x73\x82\xa1\xff\xc4\
\x00\x19\x01\x00\x02\x03\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x00\x03\x01\x04\x05\x02\xff\xc4\x00\x25\x11\x00\x01\
\x04\x02\x01\x04\x01\x05\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\
\x02\x03\x11\x04\x31\x12\x21\x41\x51\x71\xb1\x05\x13\x22\x32\x33\
\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00\x3f\x00\xbc\x6b\
\x4d\xdd\xda\xd8\xd9\xcd\x24\x8f\xb2\x18\x50\xbb\xb7\xb8\x01\x93\
\x5b\xaa\x13\xad\x3f\x26\x6a\xbf\xa6\x7f\xb5\x43\x8d\x02\x53\x22\
\x60\x7c\x8d\x69\xee\x52\xb3\xf8\xcb\x00\x73\x8d\x3a\xe9\x97\x3c\
\x1d\xca\x0f\xd2\x9e\xf4\xeb\xe5\xd4\xb4\xdb\x79\x54\x32\xc7\x71\
\x12\xca\xa0\xf0\x70\x46\x79\xa4\xdf\x0d\x34\x88\x2f\x3a\x3a\x26\
\x92\xc2\xd6\x69\x0c\xb2\x0d\xed\x1a\xb3\x77\xf7\x91\x5c\x1a\xf4\
\x9a\xdc\x3a\xcd\xdf\xa3\xab\x2d\x8a\x39\xf2\x02\xac\x5b\x7c\xb1\
\xdb\xbf\x3d\xaa\xbb\x5e\xe0\xde\x4e\xeb\x7e\x16\xb4\xd8\xd0\x49\
\x29\x86\x1a\x61\x6e\xcb\x8e\xd5\x95\x45\x28\xf8\x71\xd4\xf2\xf5\
\x26\x8b\x31\x9c\xab\x5c\x5b\xc8\x10\xc8\x00\x1b\x81\x19\x19\x03\
\x8c\xf7\xff\x00\x94\xdd\x4f\x6b\x83\x85\x85\x97\x3c\x2e\x82\x43\
\x1b\xf6\x11\x45\x14\x57\x49\x2b\x07\xb7\xc6\xa9\xee\xa4\xd6\x35\
\x79\x34\xcb\xb5\xb8\xb4\x96\x0b\x36\xf5\x65\x22\x21\xb4\x2e\x7b\
\x6e\xf7\x7c\x6a\xe2\xa8\x4e\xb4\x1f\xd1\x9a\xaf\xe9\x9f\xed\x4a\
\x95\xbc\x9b\xb5\xa1\x81\x38\x8a\x50\x0b\x01\xb2\x37\xdb\xd2\xe2\
\xf0\xd9\x11\x3a\x16\xc7\x63\x97\xdd\xbc\xb9\x3c\x1d\xfb\x8e\x47\
\xed\x4c\x77\x0b\x9b\x79\x38\xc9\x2a\x7e\xd4\xa9\xe1\x67\xe4\x98\
\x7f\xcd\x27\xde\x9b\xa4\x7d\x91\xb1\xf6\x28\xcd\x4c\x7f\xa0\x4b\
\xcc\x15\x94\xff\x00\x67\xe5\x56\xde\x0e\x5c\xac\x7a\x7e\xa2\xa6\
\x54\x57\xf3\x51\xb6\x92\x01\xc6\xd2\x2a\xca\x56\xdc\xa0\x82\x08\
\x3d\x8d\x51\xfd\x33\xd1\x8d\xd7\x13\x5f\xca\x2e\xa3\xb1\x45\x97\
\x3b\x02\x6e\x19\x6c\x9c\x01\x91\x80\x2a\xdc\xe9\x9d\x0f\xf8\x77\
\x40\xb7\x83\xd2\x1a\xe3\xc9\xdd\xfc\xc2\x31\xdc\x93\xc0\xf6\x0e\
\x69\x50\x17\x71\xaa\xe8\xaf\x7d\x5a\x38\x84\xce\x78\x7f\xe4\x6a\
\xc5\x6b\xa7\x95\x2b\x45\x14\x55\x95\x8a\x8a\xe6\xd4\xac\x17\x54\
\xd3\x6e\x22\x7c\xf9\x77\x11\xb4\x6d\x8e\xf8\x23\x1c\x51\x7f\x78\
\x2c\x6d\x19\xb6\x19\x1b\x21\x51\x07\x76\x66\x20\x28\xfd\xc9\x15\
\x12\xfd\x65\x0a\xe8\xb2\x5c\x08\x6e\x8d\xb4\x37\x42\xda\x66\x28\
\x53\x67\xae\x15\xa4\x3b\xbf\xb1\x73\x92\xde\xe0\x68\xda\x90\x4b\
\x4d\x84\x94\x7c\x1e\x99\x18\xed\xd5\xe3\xd9\x9e\x3d\x56\x07\xef\
\x53\xef\xd7\x56\x9a\x0d\xa7\xa3\x49\x7b\x3d\xc5\xc5\x9c\x62\xde\
\x49\x36\x13\x96\x51\x83\xcf\xce\xbd\xdf\xf8\x9b\x0e\x9f\xa4\xda\
\x4a\xd6\x37\x81\x2e\xa1\xb8\xb8\x54\x3b\x55\xbc\xa8\x58\x29\x6e\
\x4f\x3b\x81\x05\x40\xee\x0f\xb2\xa3\x2f\xbf\x0c\xd4\x3a\xea\x48\
\x24\xd1\x64\x92\xee\x6b\x84\x89\xe6\xdd\xb4\x17\x78\x7c\xed\xdb\
\x43\x03\x8d\xa3\x04\xe3\xbf\xd6\x91\xf6\xb8\x7f\x35\xa8\x33\x86\
\x41\xac\xc2\x48\x1a\xaa\xda\xc7\x83\x2a\x7f\x08\xd4\x0e\x0e\x0c\
\xea\x33\xfe\xb5\x63\x52\x4f\x4a\x75\xa5\x9b\xdb\xdc\x45\x6d\xa7\
\xcf\x69\x6f\x6b\x6e\xd7\x61\x42\x86\x25\x04\x8d\x19\xe1\x49\x6d\
\xdb\x97\xb1\xe7\x18\xf9\x54\xfe\x99\xd4\x89\xab\x8b\x23\x14\x53\
\x95\xba\x89\xa6\xf5\x97\xcb\x28\x83\x80\x58\x1e\x79\x6e\x00\xf6\
\xe0\x9e\xc2\x99\x1b\x78\x34\x35\x54\xcc\x9c\x64\x4e\xe9\x40\xa0\
\x54\xbd\x14\x51\x5d\xaa\xab\x5c\xb6\xeb\x3b\xc4\x59\x03\x18\x9f\
\x7a\x7c\x1b\x04\x67\xe8\x4d\x79\xbb\xb4\x4b\xfb\x29\xa3\x92\x31\
\x2c\x13\xc6\xd1\xc8\x87\xb1\x56\x18\x20\xfc\xc1\xac\xd1\x42\x17\
\x15\xdf\x4e\xdb\xdf\x42\x8b\x25\x9c\x72\x24\x76\xcf\x6a\xa0\xe7\
\x88\x9c\x00\xc9\xdf\xb1\xda\xbf\x4a\x0f\x4e\xdb\x9b\xef\x33\xd0\
\xa2\xf3\xfc\xe4\xb8\xdf\xce\x7c\xc4\x43\x1a\xb7\xcc\x21\x22\x8a\
\x28\x42\x34\xde\x9b\xb6\xd2\x26\x56\x82\xca\x2b\x79\x12\x13\x02\
\xb0\xce\x42\x17\x2f\xb7\xe5\xbd\x89\xfd\xeb\xb2\x3b\x55\x8a\xe2\
\x57\x08\x04\xb3\x05\x0e\xde\xd2\x17\xb0\xf9\x0c\x9e\x3e\x26\xb3\
\x45\x08\x5b\x68\xa2\x8a\x10\xbf\xff\xd9\
\x00\x00\x06\xd8\
\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\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x06\x6a\x49\x44\x41\x54\x58\xc3\xed\
\x55\x69\x4c\x94\x57\x14\x55\xd4\x56\x5b\x63\xb4\xd5\x68\x13\xb5\
\x5a\xb5\x5a\x71\xa9\x25\x75\x50\x91\xd2\x0a\x54\x65\x13\x10\x14\
\x64\x19\xd1\x6a\x2b\x8b\x53\x34\x38\x2c\x65\x11\x37\x16\x51\x60\
\x40\xa8\xe2\x52\x59\x44\xa4\x54\x2d\x8e\xe0\x82\x36\x2e\x35\x2e\
\xa3\x18\xc6\x9a\x6a\x27\x85\xa9\x86\x88\x31\x19\xa5\xc9\x24\x24\
\xa7\xe7\x8d\x6f\x5a\x4b\x45\xb1\xb5\xb1\x3f\x3a\xc9\xc9\x97\x6f\
\x79\xf7\x9e\x7b\xee\xb9\x77\xba\x00\xe8\xf2\x22\xd1\xe5\x7f\x02\
\xff\x29\x02\x1f\x06\xa6\x78\x10\x49\x44\xa1\x44\x26\xb1\x84\xb0\
\xfb\x57\x09\x30\x81\x0f\x51\xaa\x5a\xad\x35\x24\x64\xea\x5b\x12\
\x33\x8d\xa6\xc4\x2c\xa3\x29\x35\xe7\xe6\xbd\xf8\xcc\xb3\xb7\x16\
\xab\x4b\xaf\xf3\x7d\x9d\x24\x67\xfb\x5c\x09\x30\xe0\x50\xb7\xb0\
\x0c\xdd\x9a\x9c\x3b\xad\xa1\xd1\xc0\xac\x50\x60\x46\x30\xe0\xaa\
\x04\x3c\x3e\x05\x16\xac\x04\x22\x53\x81\x35\xf9\xe6\xb6\x75\x5b\
\xf4\x2d\xc1\xd1\x45\x7a\xa9\x8e\xcb\xf3\x22\x10\x1d\x9f\xa1\x6b\
\xf6\x5f\x06\x4c\x98\x0d\x8c\x72\x25\xdc\x80\xb1\xde\xc0\x78\x7f\
\xc0\x2e\x08\x70\x08\x23\xb1\x70\x20\x38\x16\x88\xdd\x04\x64\x6e\
\x35\x9a\x3e\x89\xb5\xa8\xf2\x8f\x89\x08\x02\x75\xb1\x69\xe6\xb6\
\xa9\x7e\xc0\x9b\x0c\x35\xdc\x1d\x18\x13\x00\x4c\x5c\x08\x28\x48\
\x4a\x11\x01\x4c\x66\x72\x7b\xaa\x31\x8d\x70\x89\x04\x02\xe3\x48\
\x64\x33\x90\xb5\xc3\x68\x0a\x5e\x61\x51\x44\x2d\x94\xfc\x5b\x04\
\x84\xfc\xcb\x29\xf1\xfb\xf3\x80\x91\x5e\xc0\xb8\x10\x56\xac\x02\
\x3c\x57\x33\x11\xab\x55\xe6\x02\x41\xbc\x7a\x6f\x60\x5b\x12\x00\
\xc7\x15\xc4\x72\x2a\xf2\x39\xdf\x25\x01\xa9\x85\xc0\xda\x7c\x5d\
\xb3\xdb\xa2\x0c\x1d\x49\x84\x3f\x33\x01\x21\xa5\x6a\x3d\x30\x85\
\xbd\xb7\x65\xef\xa7\x31\xb0\x7f\x06\xb0\xaa\x14\xc8\x3b\x02\xec\
\x3c\x05\x6c\x3d\x09\xa4\x7d\x0b\xac\x28\x26\x19\x12\x9a\xbd\x06\
\xf8\x68\x15\xbd\x42\x32\x73\xd4\x40\x04\xc9\xe5\x94\x98\xdb\xa2\
\x56\x57\xdd\x78\x56\x35\x44\x0b\x2e\x24\xe4\x00\xce\x94\xd6\x9e\
\xfc\x3d\xd7\x02\xea\x32\x60\xef\x05\x60\x73\xe9\xd9\x5b\x91\xa9\
\xa5\xd7\xd3\x77\xd6\x35\x56\x9e\x32\x9a\xf6\x5f\x65\xa2\xe3\xc0\
\xca\x3d\x34\x67\x1e\x89\xf0\x5b\x67\xfa\x62\x16\xc9\x04\xa5\xd0\
\xa8\x5f\x02\xeb\x0b\x7e\x57\xc3\xa7\xd3\x1e\xc8\x2a\x36\xb7\xf9\
\x25\xb2\xbf\xec\xad\x32\x1f\xc8\x3f\xc6\xca\x0f\xe9\x5b\xe4\xd8\
\xd9\x11\x81\xc2\x70\xf3\x55\x9a\xfa\xaa\xb3\x46\x53\xe5\x15\x20\
\xbd\x16\x08\xa7\x22\xfe\xd9\x24\x40\x45\x3e\x66\x7b\x44\x8c\x15\
\xf4\x86\xa6\xe4\x4e\xab\x5f\xb8\xa6\xbe\x33\x2d\x11\x04\x92\x36\
\xee\xd4\xb7\xa8\x34\x0c\x96\x0e\x44\x7d\x05\x94\x9f\xa7\x0a\x59\
\x16\x39\x9d\xda\x2d\x2a\x17\x41\x44\xbd\xa9\xea\x46\xf5\x15\x93\
\x79\xfb\xf7\x40\xc2\x41\x60\xe1\x76\x7a\x64\x23\x30\x93\xbe\xf1\
\x26\x89\xcf\x18\x47\x53\x66\x6e\x5b\x12\x6f\x99\x14\x75\xfb\xa4\
\x62\x97\x58\x77\x8a\xe5\xc6\x2f\x42\x53\xaf\xd9\xcf\x8a\x28\xa1\
\x7a\x2f\x50\xa9\x23\x91\x35\x96\xc3\x8f\xdd\x80\x7c\x1e\xe2\xb1\
\x24\x43\x57\xf1\xdd\xcd\x7b\x55\x0d\x1c\xcb\x3a\xee\x8a\x72\x20\
\x60\x0b\xe0\x46\x3f\x78\xb1\x1d\x61\xbc\x66\x95\x00\x31\x69\x5a\
\xc3\xa3\xbe\xb0\x26\x2f\x28\x7e\xa8\xb0\x35\xa0\x3a\x73\x97\xae\
\x39\xfd\x1b\x20\x85\x44\xca\xd9\xff\x8c\x5d\x75\x8d\x42\xfa\x8e\
\xa4\xe3\x3b\x7b\xb1\xaa\x53\x0b\xb5\x86\x9a\x6b\xe6\xb6\x82\x73\
\x24\x4f\xa3\x2a\x77\x50\x85\x4d\x0f\xbd\xa4\x24\x89\x75\x3b\x69\
\xe0\xad\xba\x66\x6b\xc5\xe2\x9a\x4b\xc5\x4f\x9e\x01\x84\xff\xac\
\xc1\x86\xba\x2f\xce\xd0\x95\xd6\x99\xcc\xb9\x74\x7e\x31\x83\xed\
\x3d\x71\xf3\x9e\x48\xf0\xb4\x1e\x8a\x3e\x2f\x4e\x28\xd2\xd7\xea\
\x4d\xe6\xdd\x54\x2e\x99\xde\x58\xca\x09\xf2\x67\x4b\xbd\xd3\xb8\
\xbc\x88\x38\x8e\x6a\x42\xb6\xa5\xe2\x03\xaa\x54\x7d\x4b\x26\x95\
\xd6\xd6\x3d\x42\xc0\x2a\xab\x72\x55\x91\xbe\xf2\x9c\xb9\x6d\x0f\
\x3d\x70\xda\x00\x08\xd3\x75\x66\xf7\x5b\x5b\x52\x73\xf5\x4e\x6b\
\x05\x5b\x92\x76\x02\x58\x56\xc1\x49\x61\x62\xdf\x2c\x60\x1e\x95\
\x08\x5e\x47\x52\x6a\x93\xd9\x87\x3b\x64\x59\x32\xdb\xac\x6d\x47\
\xc0\x5a\x4d\x62\xae\xd6\x70\xec\x1a\x70\xf2\x47\xa0\xec\xc8\xc3\
\x3e\x75\x66\x9c\xc4\xd8\x79\x92\x44\xf1\x51\x7d\x4b\xd5\x75\xfa\
\x82\xfb\x63\x79\x15\x10\x42\x83\xfa\x70\x32\x66\xd3\xa0\x4e\xfc\
\xaf\x71\xe4\x76\x0d\x63\xc4\x7d\x35\x8f\x21\x60\xf5\x43\xb2\x46\
\x6b\xb8\xf4\x33\xd0\x70\x1b\x58\x14\x67\x59\xb5\x3e\x9d\x24\x61\
\xe9\x71\x09\x49\x7c\x4d\x12\x69\xa7\x01\x15\x3d\x15\xb2\x8b\x24\
\x38\xae\xce\xc9\x0f\x17\xd8\x52\x4e\x49\xd5\x71\x49\xe0\x71\x3f\
\x0b\x89\x3c\xad\xa1\xe1\x16\x70\x82\xb2\x8a\xbf\x6a\x7b\x8f\xa8\
\x01\x7c\xd5\x4d\xa2\x7b\x07\xe8\xe6\xe8\x1f\x37\xde\x29\x20\x29\
\x25\xb3\xfc\xec\xad\xa2\x7a\x7a\x82\xed\x88\x20\x09\x25\x77\x86\
\x2f\x7d\xe1\xc5\xe4\x2a\xb6\xe6\xe0\xe9\xc7\x13\xe8\x4a\xd8\x88\
\x40\x4e\x01\x89\xf1\x61\xb1\xdb\xf4\x17\x0d\xe6\x36\x4d\xf9\x99\
\xdb\xd3\xfd\xe3\xc3\xf9\xbc\x17\xf1\x0a\xf1\x6a\x07\x10\xef\x7a\
\xd9\x7b\xaa\xde\xfb\x60\x7e\xe2\xb6\xec\xe3\x46\x53\x1a\x0d\x9d\
\xc0\x6a\x97\x73\x42\x16\x73\xc3\x86\x16\xf1\x9e\x23\x7b\xf8\xe2\
\x5f\x09\xd8\xc8\x2a\x5e\x22\x7a\x12\xbd\x1d\xe6\xaa\x57\xfa\x47\
\xe5\x34\x1c\xbf\x7c\xe7\xd7\xe4\xbc\xea\x46\x85\x7b\xc4\x02\x3e\
\x1f\x48\x0c\x92\x78\x43\xc2\x7a\x3f\x70\x8c\xfd\x9c\x49\x0e\xbe\
\xab\xd2\x8b\x6a\x1b\xee\x56\xdc\x04\x0a\xb8\xbe\x37\x71\xac\xd7\
\xd3\x13\x5f\x70\x42\xe2\xb8\xb8\x72\xb9\x69\x4f\x5d\xfb\x33\x01\
\x91\xbc\x87\xac\xb0\x0f\xf1\xba\x0c\x38\xc4\x6e\xe6\x92\xa5\xd3\
\xe7\xaa\x0f\x64\x97\x9e\x6a\x56\xc6\x14\xde\x78\x6b\xa2\xf3\x2c\
\x3e\x1f\x4b\xd8\x12\xe3\x24\x6c\xe5\xb3\x77\x26\xbb\x45\x6c\xd8\
\x55\x7d\xa1\xa5\xfe\x2e\x50\xf7\x0b\x70\x88\x5e\x3a\xf0\x13\x7b\
\x4e\x53\x97\x73\x42\xca\xb9\xc6\x8f\xfe\x00\xd4\x37\xfe\x41\xa0\
\xab\xac\x5c\x24\xef\x2b\x2b\x1a\x2e\x82\x11\x13\x08\xbb\x7e\x03\
\x87\xbb\xbc\x3b\x43\x99\x36\x78\xb4\x22\x90\xf7\x8e\x84\x93\xb0\
\x4a\x3b\x38\x0d\x7e\x5b\xb1\x40\x19\xb3\xc5\x70\x44\xd7\xd8\x7a\
\xf4\x72\x63\x6b\x2d\xaf\xb5\x97\x9b\x1e\xd4\xea\x9a\x1e\xd4\x5c\
\x6a\x7a\x70\xf8\x52\xd3\x7d\xed\x85\xa6\xfb\x87\xcf\x1b\xef\x1f\
\x3a\x67\x34\x89\xb5\x6e\xad\xfe\x65\x59\xb9\xa8\x7a\x24\x31\x91\
\x98\x22\x13\xb9\x12\xb3\x09\x77\xc2\x8b\xf0\x26\x7c\x89\xb9\xed\
\x20\x9e\x79\x8f\x98\xe4\x9a\xa8\x70\x8b\xd0\x5a\xe0\x1e\x59\xad\
\xf0\x88\x3a\x38\xc5\x53\x55\x35\x75\x4e\xf4\x3e\x07\x9f\x98\xb2\
\xe9\x7e\x71\xbb\x1d\xe7\x25\xec\xa0\xc7\xb6\xd1\xac\x22\xb6\xc5\
\xd5\xa2\xe7\xfd\x84\xe4\x52\x4a\x7b\x62\x06\xe1\x26\x13\xfa\x11\
\xf3\x09\xa1\x40\x10\x11\x42\x84\xb6\x43\x88\x7c\x17\x28\xbf\xf5\
\x93\x67\xdd\x64\x2c\x7b\x19\x7b\x88\xcc\xd5\x53\xe6\x7e\xf1\x04\
\x9e\x6b\x0b\xe4\x37\xee\xf2\x8c\xab\x8c\x31\x45\xc6\x1c\x29\x73\
\xf4\x91\x39\x6d\x3a\x65\x42\x42\x41\x4c\x25\x1c\x9e\x64\x42\xf9\
\xce\x41\x7e\xab\x90\x67\x27\xc8\x58\xc3\x65\xec\xbe\x32\x57\x77\
\x99\xfb\xc9\x63\x48\x0c\x23\x46\x10\xa3\x88\xd1\x32\x58\x87\x63\
\x28\xbf\x19\x25\xcf\x0c\x93\x31\x06\xc9\x98\x7d\x64\x8e\x1e\xd6\
\xea\x9f\xb8\x88\xe4\x01\xd1\xaf\xd7\x88\xfe\xc4\x80\xa7\x2d\x22\
\xf9\x4d\x7f\x79\xa6\x9f\x8c\xd1\x5b\xc6\x7c\x49\xe6\xb0\xb1\xfe\
\x7f\xfc\x06\xb3\xa4\x19\x9e\x6b\xe3\x34\xfa\x00\x00\x00\x00\x49\
\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x05\xe8\
\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\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x05\x7a\x49\x44\x41\x54\x58\xc3\xc5\
\x96\x0d\x4c\xd4\x75\x18\xc7\x1f\x2e\x01\xb1\xc0\x38\x1c\x6f\x81\
\x61\x9a\x24\x18\x57\x20\x21\xa9\xbc\x1b\xd4\x28\x96\x2d\x93\x36\
\x27\x45\xb9\xca\x88\x4a\xd9\x60\x33\x29\x50\x47\x80\xbc\xb8\xb0\
\x40\x40\x4e\x8e\x57\x89\xe0\x70\x8a\x32\x72\x91\x81\xd3\x39\x60\
\x97\x20\x06\x2c\x25\x85\x89\x16\x2f\xcd\xdd\xb9\xe0\xe9\x79\xce\
\xdf\x7f\xfb\xeb\x4c\x8e\x08\xba\xed\x33\x8e\xdf\xff\x7f\xff\xe7\
\xfb\xbc\xff\x01\x11\xe1\xff\xc4\xb4\x9b\x00\x1c\x89\x08\x62\x23\
\x11\x44\xb8\xce\x99\x00\xfa\xb8\x3d\x09\xb0\x27\x09\xe0\xec\x1e\
\x80\xde\x4f\x00\x5a\x82\x01\x0e\x08\x31\xee\x73\x21\x20\x2a\x19\
\x40\x97\x4f\xb7\xca\x61\x31\x8b\x00\x76\xd2\x75\xcb\xd9\x16\xb0\
\x9d\x0d\xb2\x08\xfe\xce\x46\x39\x1a\x7c\xf6\x16\x40\x1d\x9d\xf9\
\xcc\xb6\x80\x8d\xec\xed\x07\x00\x27\xe8\xfb\xf3\x5c\x0f\x2c\x42\
\x26\x2a\x6a\xd6\x04\x70\x8e\x57\x01\xec\xcb\x03\xb8\x95\xea\xe4\
\xd4\xce\x85\x28\xce\x37\x7f\xe5\xe2\x32\xc4\xc2\x58\xe0\x6c\x0a\
\x30\x7a\xcf\xde\x6a\xfc\xfc\xf4\x22\xe7\xdc\x0d\x9b\x0b\xbc\xbc\
\xae\xcf\x85\x00\x77\xae\x78\xae\x7c\xb5\xa7\xa7\xbe\x22\x34\xd4\
\xc0\x91\x60\x6a\x37\x6c\x40\x29\x2d\x26\x1b\x03\x58\xc6\x29\x13\
\xad\x6c\x6b\x6a\x0d\xb8\xf2\x0f\x42\x15\x8a\xaf\xd9\xa8\x76\xeb\
\x56\x23\xdf\x45\x47\x9b\x5c\x03\xf4\xf1\x0d\x0b\x0b\x4b\x3c\xdf\
\xd8\xf8\x8b\x7e\x74\xf4\xaf\xa1\xee\xee\x3f\xf9\x99\x26\x0f\x22\
\xf1\x90\x30\x8e\x44\xb1\x9d\x1d\x1e\x72\x72\xc2\x83\x16\x16\xc8\
\xb5\x41\xe7\x1f\x3e\xc8\x70\x48\x48\x48\xe2\x39\xad\xb6\x5f\xaf\
\xd7\x23\x33\x36\x34\x84\x27\x93\x92\xae\x49\xc2\xa7\x23\xc0\x96\
\x6b\x20\x07\xe0\xa6\x7c\x1e\xbc\x0c\x70\x88\x43\x2b\xbb\xcf\x92\
\x0d\x07\x05\x05\x25\xfe\x54\x53\xd3\x3f\x32\x32\x82\xcc\x28\xd1\
\xd3\xd8\x78\xfb\x1d\x95\xaa\x54\xa4\xc1\x6d\x5a\x02\x24\x8f\xb8\
\x26\xd8\xf0\xa9\x98\x18\x1c\xed\xef\xc7\xac\x80\x80\x56\xd1\x9e\
\x0b\x88\xb5\x61\xbe\xbe\x99\xa7\xca\xcb\xfb\x07\x07\x07\x51\xe2\
\x4a\x4f\x0f\x7e\x9b\x90\xd0\x27\x8a\xd8\x77\xda\xbb\xe0\xde\x54\
\xb4\x16\x16\xfe\x66\x30\x18\x90\x39\x97\x9b\xcb\xf9\xdc\x1c\xe2\
\xe3\x9d\x79\x22\x3f\xff\x6a\x5f\x6f\x2f\xf6\xca\x38\x5b\x55\xa5\
\x8f\x59\xb9\x92\xbd\x0e\x93\x0a\x6f\xa6\x02\x6c\x83\x83\x83\x13\
\xc7\xc7\xc7\x91\xb9\x79\xf5\x2a\x96\xa4\xa6\xde\xa8\xae\xae\xc6\
\xd6\xd6\x56\xec\xec\xec\x34\x72\xfe\xf4\x69\x2c\x89\x8b\xbb\xc8\
\xe2\x08\xaf\x19\x6d\xc3\x7b\x05\xb0\x37\xa7\x6b\x6a\xae\x0d\x0f\
\x0f\xa3\x5a\xad\xc6\xe4\xe4\x64\xac\xad\xad\xc5\xe2\xe2\x62\xd4\
\x6a\xb5\x78\xbc\x20\xff\xd6\x6b\x1e\x1e\x07\x85\xd7\x0b\x66\xbc\
\x8e\x65\xed\x18\xb1\xc2\xc1\x61\xf7\x81\x84\x84\xeb\x65\x65\x65\
\xc6\x10\xfb\xfb\xfb\xa3\x8d\x8d\x0d\x0e\x0c\x0c\xe0\xf1\x86\x06\
\x4c\x89\x8e\xee\x9e\xce\xa6\x9c\xca\xa8\x8d\x28\xb0\x77\xb9\xf8\
\x76\x3b\x3b\xff\x7c\x24\x37\x77\xb2\xa2\xa2\x02\xb3\xb3\xb3\x31\
\x2f\x2f\x0f\x2b\x2b\x2b\xb1\xbe\xbe\x1e\x2f\x5d\xba\x64\xe4\xb2\
\x4e\x67\x08\x50\xa9\xd2\x1f\x14\xf6\x29\x05\xd0\xc7\x93\xbd\xe0\
\xf7\x00\x9e\x76\xfb\x01\xc6\x8c\x6d\x67\x66\x86\x05\x56\x56\xa8\
\x49\x4b\xc3\xc3\xf9\xf9\x93\xbb\x62\x63\x7b\x93\xe3\xe2\x86\x4a\
\xd3\xd3\x7f\xa7\x9c\x4f\x76\x74\x74\xa0\x4e\xa7\xc3\x3f\x86\x87\
\x27\xd3\xb6\x6d\xab\xe7\xae\x30\x59\x80\xd4\x46\x3c\x58\x36\x01\
\x54\xee\x05\xe8\x67\xa3\xdf\x00\x4c\xf0\x5f\x7a\x03\x31\x94\x2c\
\x5e\x6c\xec\xfd\x02\x47\x47\xf4\x51\x2a\x33\xc5\xfd\x2c\x36\x68\
\xb5\x83\xc3\xbe\x86\x9c\x9c\xd1\xb6\xd6\x36\x6c\x6b\x6b\xc3\x6b\
\x57\x06\xb0\x49\xa3\xb9\x38\x55\x1d\x48\xc6\xbd\xb8\x47\xd9\x5b\
\x32\xa4\x97\x86\x0c\x7f\x4f\x00\x68\xa2\x61\xb3\x85\xd3\x50\xe4\
\xea\x6a\x28\xb4\xb6\x36\x5e\x7b\x1d\x60\x07\x9d\x3d\x24\xe3\x09\
\xe2\xd5\x9d\x51\x51\xdf\x37\x69\xb5\x93\xcd\xcd\xcd\xd8\xd5\xd5\
\x85\xdd\x67\xce\x8c\x89\x05\xe6\xf8\x0f\xd1\x06\x77\x36\x9e\x05\
\x70\x5d\x32\x9c\x0b\x30\xf2\x11\x40\xa1\x2f\x09\xa3\xeb\x66\xc4\
\xfa\xf7\x01\x4e\x56\x05\x06\x62\x81\xb9\x39\xee\x02\xa8\x15\x13\
\x6f\xfe\x7d\x08\x59\x6e\x6f\x9f\x56\x96\x92\x32\x76\xf4\xe8\x51\
\x6c\x69\x69\xc1\x5f\x2f\x5c\x30\xac\xf1\xf0\xc8\xa0\x6b\xaa\xfb\
\x09\xd8\xf8\x25\xc0\x80\x31\xb4\x36\x36\xb7\xdf\xa3\xfd\x2f\xa9\
\xa5\x8f\x92\x08\xa7\x92\xae\x2e\x75\x77\xc7\x32\x95\x0a\xbf\x00\
\x68\xa6\xb3\x85\xc4\xa3\xa2\x25\x95\x32\x6c\xc5\xf9\xd3\xc4\xa6\
\x4f\xc3\xc3\x7f\xa8\x3e\xac\x9e\xac\xab\xab\xc3\xcb\x3d\x3d\x13\
\xd1\x91\x91\x64\x06\xd6\xdd\x25\x80\x0b\x8d\x8d\x97\xfb\xf8\xe0\
\x8b\x00\x7b\x65\xc6\x9f\x22\xa2\x3f\x06\xf8\x51\xed\xe6\x86\x47\
\x22\x22\x90\x92\x3e\xc0\x5e\x10\x8f\x89\xb6\x7c\x9c\x67\xba\x0c\
\xfe\x7f\x31\xe1\x42\x38\x13\xaf\x2c\xb5\xb3\xcb\xca\x8b\x8f\xbf\
\xa1\xd1\x68\x50\xd7\xde\x8e\xc9\xb1\xb1\x0d\xf2\x16\x05\xe9\xf5\
\x8a\x57\x2d\xbf\xeb\xad\xba\x13\x81\x1d\x24\x6c\xef\x6e\x80\x3e\
\xf6\x9c\xaf\xe5\x29\x14\x7a\x6f\x80\xb7\x85\x30\x0f\xe1\x25\x8b\
\x79\x46\x86\x4a\x9c\x73\x61\xae\x20\x96\x13\xcf\x11\x6f\x6e\xf1\
\xf3\x3b\x56\x98\x91\x31\x71\x4c\xad\x36\xd0\xff\x6f\xc8\x53\xb0\
\x96\xf3\xaf\xf1\xf2\xc2\x9a\xc8\x48\x64\x83\xbc\x6a\x19\xce\xb9\
\x64\x9c\xe6\x00\x6d\x63\x78\x56\x3c\x70\x35\xb1\x86\xc3\x49\x04\
\xc8\x58\x27\xce\xfd\x09\x3f\x7e\x61\x15\x82\xc8\x1f\x78\x69\xa9\
\x52\x99\x11\xe5\xe9\x59\xc6\x4e\xdc\xd5\x05\x24\x75\x0d\xd5\x41\
\x57\x81\x42\x81\xbc\xef\x4b\x9c\x9d\x8d\x14\xd1\x84\xe3\x9d\x1f\
\x02\x10\x4f\x3f\xf2\x16\x0f\x66\x43\xa4\x07\x42\xb9\x38\x89\x17\
\x64\xac\x17\x6d\x47\x3f\x81\x40\x21\xc6\x57\x44\x84\xd3\xe3\x24\
\xd2\xa3\xb8\xef\x20\x8a\x21\xc5\xdb\x01\x3e\xff\x0c\xa0\x88\xf6\
\x66\x31\xb9\x9c\xb2\xee\x4e\xc8\xdd\xff\x23\x01\x4a\xd1\x29\x8a\
\xa9\x26\xa1\x82\x98\x47\x3c\x4c\xd8\x13\x4b\x44\xde\x67\x92\x02\
\x67\x31\xda\x2d\x4c\x11\x60\x26\x86\xcb\x7c\xd1\x72\x0e\xa2\xba\
\x97\xfd\x8b\x22\x5c\x22\x8c\xdb\x8a\x69\xcb\x8e\x99\x4d\xb9\x8c\
\x84\x88\x79\x42\x84\xb5\x08\x9f\xbd\xc8\xa3\xa9\x6d\xc8\xc2\x17\
\x09\x27\xd8\xb8\xb9\xdc\x7b\x53\xb6\xa1\x24\x82\xc3\x66\x25\x52\
\x62\x6d\xc2\x20\x5a\x28\xc2\xfd\x88\x30\x6c\x29\x9e\xa3\x90\x7b\
\xcf\xfc\x0d\xe3\x58\x91\xad\x93\x78\x02\x2d\x00\x00\x00\x00\x49\
\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x04\xb6\
\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\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x04\x48\x49\x44\x41\x54\x58\xc3\xe5\
\x57\xcf\x6f\x1b\x45\x14\xfe\x66\x77\xed\xf5\x6e\xb6\x24\xb1\x1b\
\x24\xa0\x6d\x44\x10\x3f\x0a\x14\x81\xa0\x34\x42\xe4\x50\x10\x48\
\x88\xbf\x82\x53\xfe\x01\x8e\x48\xa8\xe2\xc0\x85\x7f\x20\x5c\xb8\
\x72\xe1\x08\x87\x22\x81\x25\x40\x21\x04\x50\x91\x9d\xa4\x2d\x4e\
\x4b\x4c\xda\xca\x8d\x08\x75\x12\xd7\xf6\x7a\xd7\xc3\x7b\x33\xbb\
\x9b\xd4\x3f\xd3\xd6\xd0\x03\x23\xbd\xcc\x6c\xe6\xf9\xbd\x6f\xbe\
\xf7\xe6\xcd\x8c\x90\x52\xe2\x41\x36\x03\x0f\xb8\x59\xf1\x60\x7e\
\x7e\xfe\x5d\xea\x4e\xff\x47\x7e\x97\x17\x16\x16\xbe\xbc\x03\x00\
\x3b\x7f\xe4\xb1\x13\x1f\xce\xcc\x3c\x0e\xd3\x34\xb1\xfa\x93\x8f\
\xb5\xe5\x3a\xf6\xaa\xe1\x7d\x79\xf2\xc6\x4d\x9c\x3c\xed\xe0\xd9\
\x57\xd3\x08\xc3\x10\x57\xae\x5c\xc5\x8d\x6b\xe5\x73\x34\xd5\x05\
\x00\xdf\x7c\x9b\x47\x61\x65\x0d\xd9\xec\x51\xdc\xdc\xb0\xf0\xde\
\xfb\xaf\x8f\x64\xb9\x9f\x7d\xfa\x3d\x6e\x36\x02\x2c\xfe\x90\x47\
\x36\x37\x85\x93\x4f\xcd\x74\x87\x80\x5b\xca\x4a\x61\x62\x22\x8b\
\xdc\xd1\x29\x38\xa6\x83\x4c\x26\x33\x12\x00\xd3\x4f\x3c\x0a\x77\
\xbc\xae\x16\xc6\x3e\x7a\xe6\x00\xb7\xb4\x9d\x81\xe3\xb8\x70\x5d\
\x0f\xb6\x39\x86\x4b\x97\xd6\x49\x83\x54\x52\x69\xc0\xb6\x01\x06\
\x44\x3a\xaa\x4f\xd3\x77\x3a\xad\xe7\x83\x00\xf0\x7d\x92\x26\xd0\
\x68\x00\xcd\x46\xd4\xd3\x77\xcb\xc7\x64\xee\x21\x98\xb6\x89\x17\
\x5e\x7c\x05\xeb\xa5\xcb\xfd\x01\x18\xa6\x41\x62\x91\x98\xfc\x81\
\x33\x67\x5e\x1e\xb2\xb6\x50\x0b\x5b\xb1\xe8\x37\xae\x4b\x03\xb7\
\x4b\xeb\xfc\xf9\x35\x65\x53\xdb\x16\xfd\x01\xb4\xc3\x36\x49\x88\
\x30\x20\x69\x07\x3a\x04\xac\x2f\x05\x75\x52\x8d\x25\x8f\x55\x2f\
\x75\xcf\x3f\xe4\x29\x35\xa6\xb9\xa8\xac\x90\x1a\xb4\x2b\x89\x80\
\x6c\x99\x64\xb7\xad\x44\x0e\x00\x40\x46\xc3\x76\xa8\x85\x40\x14\
\x8b\x7f\x68\x8a\x6d\x8a\x9b\x4d\x74\x3b\x24\x19\x3b\x12\x1a\xa7\
\x53\x9c\x38\x44\x33\x87\xa0\x45\x94\x53\x18\xea\x1c\x06\x92\xba\
\xaf\xbf\x9b\x2d\x65\x0b\x96\xb6\xdb\x96\x03\x00\xc8\xb6\x44\x5b\
\x09\x31\x21\xdb\x98\x9b\x7b\x69\x78\x86\xb1\x41\xa6\x5f\x85\x80\
\x18\x9b\xec\x56\x59\x29\x94\x21\xd8\x26\xd9\x66\x1f\x7d\x01\x68\
\x42\xa5\x36\x4a\x62\x73\xe2\x45\x4d\x45\x82\xff\x0a\x45\x34\x92\
\x12\x2e\xa2\x9f\xed\x0f\xf4\x3c\xc7\x42\xea\x71\x6c\x2f\xb1\xdf\
\x1f\x80\xd0\x22\xb4\xfc\x52\x2c\x43\x5a\x06\x44\xda\xd2\x74\x33\
\xf5\x71\x38\x6c\xde\x1d\x1c\x02\x5a\x39\x51\x2c\x29\x0c\xa2\xa1\
\x29\x57\x42\x63\x49\x61\x11\x7e\x90\xd8\x4b\xec\xf7\x03\x20\x12\
\xdf\x02\xde\x44\x0a\x67\x5f\x7b\xfe\x70\x1b\x9d\x77\x0d\x83\xf2\
\xdc\x9e\xd3\x17\x96\x7f\xa5\x5d\x29\xf6\x71\xf4\x65\x40\x08\xe5\
\x5c\x08\x03\xc7\x8f\x4f\xd1\x02\x53\x23\x29\x44\x6c\xab\x54\xda\
\x55\x76\x3b\x11\x74\x30\x20\x60\xd0\xfe\x37\x0c\x01\xd7\x71\xf0\
\xf3\x85\x55\x8c\x1f\xf1\x54\x7d\xb8\x97\xc6\xdb\xba\xba\xbb\xa7\
\x6c\x19\x86\xa1\x44\x0c\x02\x60\xf0\xea\x0d\xa1\x14\xaf\x5d\xaf\
\x60\xeb\xaf\x6a\x12\x1a\xc8\xfd\xf4\x39\xf8\x2d\xa2\x1c\x43\x57\
\x74\xf7\xd3\xba\x49\x95\xd1\x64\xe7\x6c\x7b\x20\x03\x4a\xc1\x88\
\xd0\x9a\xea\x54\x1c\x45\x33\xc9\x96\x60\x66\x85\x06\x31\x24\x04\
\x86\x72\xbc\x71\xb5\x84\xcd\xcd\x32\xea\xf5\xda\x7d\x39\x77\x9c\
\x31\x1c\x3b\x76\x02\xb9\xa9\x87\x0f\x13\x02\xbd\x7a\xa6\x8b\x2b\
\xd6\xc7\x1f\x7d\x80\x9d\x9d\x1d\xd4\x6a\x35\xb4\x5a\xad\x04\xa0\
\x45\xd5\x31\x16\x4e\x54\xee\x19\x34\xcf\xa9\xd8\x53\xd1\xf1\xe9\
\x70\x8a\xe5\xf3\x2f\xbe\x52\x36\x59\xd8\xc7\x10\x06\x38\x0f\x0c\
\x4c\x66\x73\xc9\xff\x17\x17\x17\xb1\xb4\xb4\xa4\x1c\x70\x01\x9a\
\x9d\x9d\xa5\x2a\x39\x77\x68\x16\xd8\x96\x88\x72\xa0\x93\x01\xa3\
\x13\x40\x9c\x84\x0e\x65\x6e\xdc\x8a\xc5\x22\x9d\xe5\x74\x4f\xc8\
\xe5\x94\x14\x0a\x85\x21\xd5\x59\x76\x84\xc1\x49\x16\x26\xc4\x90\
\x42\xa4\xc3\x20\xd4\xa9\x17\x37\x97\x8e\x59\x3e\x19\x63\x8a\xe3\
\xbe\x5f\xeb\x5a\xa5\xd2\x97\x3d\x77\xc9\x9d\x0c\x20\x42\xc8\x20\
\x0e\x18\x39\x98\x3c\xdc\xdf\xf5\xee\x88\xb6\xac\x8c\x0e\xb9\x01\
\x95\xf0\x40\xd9\xee\x89\xf7\xde\x1a\xdf\x2d\xf8\x2e\xe0\xd3\x8d\
\x89\xa5\x2f\x03\x41\xe0\x53\xd1\x68\xd2\x8d\xaa\xa1\x32\x7b\x64\
\x8d\x96\xbf\xbb\xb7\x8b\x4a\xe5\x06\x6e\xfd\xbd\xdd\x1f\xc0\xed\
\xbd\xdb\xd8\xa9\x56\x95\x92\x21\x46\xf8\x62\x92\x21\x36\xd6\x4b\
\x28\x5d\xbe\x48\x87\xa9\x95\xe7\x77\x41\xcf\x10\xd4\x9b\x75\x6c\
\x6d\x55\xe8\x74\x0d\x70\xc4\x1b\x43\xfe\xbb\x1f\xe1\x79\x1e\xce\
\xbe\xf9\x4e\xd7\x39\x5e\xde\xac\x0c\x4a\x43\xd2\xa6\xdb\x15\xd9\
\xd9\xde\xbe\xc5\xef\x00\xac\xac\xfc\x46\x97\xa8\x54\xfe\x99\xa7\
\x9f\xfc\x84\x14\xf2\x3d\x01\x5c\xdf\xfc\x13\xbf\x5f\x5c\x55\x49\
\xf7\x35\x85\xa0\x33\x9b\xef\x7a\xe1\x52\xdf\xae\x42\xba\x35\x4f\
\x4f\x4f\xe7\x4f\x9d\x7a\x4e\x39\xa7\x57\x51\xad\x17\x80\xe5\xb7\
\xdf\x7a\xe3\xdc\xbf\xf9\x1c\xeb\x74\xae\xb8\xfa\xdf\xbf\x8e\xff\
\x01\x8c\xae\xac\x22\x42\x7f\x21\xa9\x00\x00\x00\x00\x49\x45\x4e\
\x44\xae\x42\x60\x82\
\x00\x00\x08\x78\
\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\x3f\x49\x44\x41\x54\x58\xc3\xad\x57\x0d\x50\x93\xf7\
\x1d\xae\xda\x6d\xb6\xb7\xeb\x6d\x5d\xb7\xdb\xe7\x79\xfb\xba\xb5\
\xdb\xda\xab\xb6\xda\xde\x76\xe7\x7a\x37\xbb\x8f\xb3\x6e\xd3\xde\
\xa9\xd4\x8f\xad\xdb\xea\xb4\xee\xe6\x67\xd5\xda\x22\x88\x42\x2c\
\x08\xd1\xc8\x97\x08\xd1\x02\x22\x8a\x84\x40\x02\x24\x81\x40\x04\
\x02\xf9\x00\x92\x90\x90\x90\x40\x42\xc2\x57\xc2\x37\x28\x88\xa5\
\x67\x9e\xfd\xfe\xaf\x7f\x1c\x28\xda\x76\xe7\x7b\xf7\x5c\x72\xc7\
\xcb\xff\xf9\xfd\x9e\xe7\xf9\xfd\xde\x37\x8f\x01\x78\xec\x51\x82\
\xae\x6f\x10\x56\x13\xa2\x09\x1b\x09\x3f\x7e\xe8\xfd\x8f\x90\xf8\
\x71\xc2\x6f\x97\x2d\x5f\x21\x36\x7b\x3a\xfb\xec\xd7\x01\x57\x68\
\xe4\x3a\x2f\xe2\xab\xec\x6f\x84\x43\xfc\xf3\x91\x5f\xbf\x26\xec\
\xd6\xd4\x9b\x5c\xd6\xb1\x70\x58\x17\xfa\x14\x4a\x47\x2f\x1c\xc1\
\x31\x56\x59\xf4\x92\x25\x4b\xc4\x31\x31\xc7\xfd\x9a\xca\xca\x30\
\x2f\xe2\x91\x5d\xbf\x20\xfc\xed\x64\x72\x9a\xca\x31\xf6\xe9\x6d\
\xfd\x10\x50\x64\xef\x41\x89\xc9\x09\x95\xc5\x03\x5b\xef\x08\xf6\
\xec\xd9\xd7\x9c\x9d\x7b\x31\x1c\xea\x1f\xc4\xe8\xe8\xd8\x34\xdd\
\xbf\xfd\x51\x10\x0b\x3e\x6f\xdc\xb2\x55\xda\x3a\x78\x63\xca\x30\
\x0c\x28\xdc\xc3\x28\x31\xb7\xa1\xc4\xe8\x40\x81\xce\x8c\x84\xcc\
\x1c\x64\x65\xe7\x82\x11\x5f\x9f\xb8\x29\xc0\xed\xf6\xf4\xd1\xff\
\xfd\xe1\x8b\x10\x3d\x4b\x78\x95\xfb\x3b\xc7\x67\x13\xf9\x6c\x1e\
\x05\xd4\x5d\x93\x90\x99\xda\xa0\xa4\xae\xaf\xd6\x34\x21\x35\xbf\
\x18\xa2\xa4\xd3\xb0\xb6\xd8\xef\x12\xcf\x20\x3f\x3f\xbf\x96\x9f\
\xf9\xf9\xa4\x95\xe6\x17\xd4\x32\x5f\x99\xbf\x84\xd7\x66\xfb\x5c\
\x1d\x9c\x86\xac\xb9\x13\xa5\x66\x17\x64\x75\x16\x64\x15\x6b\x10\
\x93\x20\x81\xa6\x52\x3b\x87\x74\xfc\xc6\x24\xc6\xae\x4f\x60\x74\
\xfc\x06\x56\xac\x58\x21\xa6\x33\x16\x3f\x8c\xf8\x7b\x84\xbf\x30\
\x4f\xed\x24\xad\x71\x04\xd0\x05\xc6\xd1\x32\x30\x71\x5b\x67\x75\
\xfa\xed\xa3\x73\x7d\x96\xd7\xdb\x90\x57\x51\x8f\x23\xf1\x62\x5c\
\x2e\x90\xdd\x47\xcc\x48\x87\x47\xc7\xd1\x3f\x38\x8c\xee\xde\xbe\
\x29\x3a\x7b\xc7\x3d\xd3\x30\xa3\xec\x9d\x31\x61\x9e\x5a\x02\xc1\
\x61\x13\x11\x97\x75\x8c\x42\x69\xf3\x43\xd7\xd6\x83\x5a\x4f\x1f\
\xf4\xbe\x41\x94\xbb\x42\x77\x7c\x36\xd8\x71\xb9\xda\x88\xb8\x34\
\x29\xd2\x33\xb3\xe6\xf8\x3c\x87\x78\x60\x88\x88\x83\xe8\xf0\xf9\
\x51\xab\xd7\x77\xb1\x02\x74\x06\x93\x2b\x74\x2b\x1c\xbe\x66\x10\
\x94\x5d\x3d\x53\xc0\xea\x3a\x9b\xd3\x6f\x19\x0d\x87\x2b\x7b\xa6\
\x50\x6c\x0b\x08\xc4\x0c\x55\xce\x2e\x54\xb5\x06\xa0\xb6\x76\x40\
\x61\x6a\xc5\xd5\x6b\x8d\x48\xb9\x24\x47\x8c\x28\x1e\x5e\x3a\x78\
\x76\xd7\x4c\xea\x91\xb1\xeb\xbc\xe3\x20\xdc\xed\x5e\x58\x6c\x2d\
\x28\x92\x97\xa0\xb8\x4c\xe5\x1f\x9a\xb8\x35\xdd\x73\x13\x70\xd3\
\x8e\xb0\x8e\x4c\x83\x2f\x2b\xe1\x8a\xb6\x8d\x03\x85\x96\x00\x2a\
\x1c\x81\xbb\xc4\xda\x56\x3f\x34\x36\xef\x5d\x9f\x33\xe5\x6a\x7c\
\x18\x17\x0f\x7d\x83\x61\x5e\xb9\x07\x87\x47\xd1\x1b\x0c\x09\x1d\
\xb3\x10\x96\xab\x34\x48\x3a\x7d\x06\x5a\x5d\x0d\x7c\x93\x40\x68\
\x0a\x30\xd2\xc4\x28\xbd\x63\x50\x9b\xad\xfe\xd9\x0a\x44\x37\x52\
\xa2\xf3\xaa\x4c\xa8\x76\x75\x0b\x1d\x57\xb4\xf8\x50\xd6\xd4\x86\
\x22\xbd\x55\xf0\xf9\xfd\x63\x22\x28\xcb\x55\xf3\x12\x0f\x8d\x8c\
\x09\x36\xf8\xbb\x7a\xe0\x68\x75\x51\x81\x46\x24\x24\x26\x22\xaf\
\xb0\x08\xde\xe1\x49\xf8\x26\x80\x06\x96\x1d\xef\x24\xa4\xa6\x4e\
\xd4\xf9\x87\xd8\x3e\x38\xc2\xad\xff\x5f\x01\x17\xb5\x06\x54\x3a\
\xfc\x50\x59\xdb\xef\xf8\x5c\x65\x40\x74\x52\x0a\x72\xf2\xf2\xe7\
\xf8\x3c\x23\xf7\x8c\xcf\x5d\x3d\x7d\x70\xb9\xdb\x61\x6a\x6c\x42\
\x6e\xde\x25\xc4\xc6\x9f\x84\xad\xab\x1f\xed\x37\x80\x4e\x22\x57\
\x04\x3e\xc1\x65\xd7\x28\xd2\xf5\x74\xae\xb3\x2f\xbc\xf7\x70\x64\
\x01\x71\xae\x9f\x9d\xfe\x68\xd3\xf0\x6d\x64\x6b\xf4\x28\x6d\x74\
\xa1\xb0\xb6\x19\xd9\x65\x3a\x88\xc4\x92\xfb\x7c\x9e\xe9\x7a\x60\
\x68\x44\x90\xbb\xdd\xdb\x89\x66\xab\x0d\xa5\xa5\xe5\x38\x76\x3c\
\x16\xf5\x56\x07\xda\xc8\x63\x0b\x05\x59\x1d\x04\xa4\x8d\x3d\x48\
\xac\xb0\xe3\x42\x73\x1f\x2e\x18\xbd\x50\xd4\x34\xb0\xf0\xed\xba\
\x77\xfc\xa2\x1b\xfa\x3f\x41\x96\xb2\x1a\x57\xaa\x4d\xc8\x92\x6b\
\xb0\xf7\xa8\x08\x0d\x06\xd3\xbc\x72\x07\xfb\x07\xe0\xf3\x77\xc1\
\xee\x70\xa2\x8a\xfc\x15\x9f\x96\x20\xef\x4a\x01\x06\x6f\x01\x0e\
\xca\x92\x36\x44\x79\xa2\xf6\x33\x0c\x7e\x9c\xae\x76\x21\xbd\xde\
\x87\x0c\xea\xbe\xce\x17\x62\xa3\xf8\x01\xe1\x3b\xf7\x16\x70\xb4\
\xb6\x77\x02\x29\x05\xa5\x38\x27\x53\x41\x94\x7e\x01\x6b\x23\xb6\
\xcc\x2b\x77\xa0\xbb\x17\xce\x36\x0f\x0c\xa6\x46\xa4\x67\x9c\x43\
\x6a\x96\x14\xee\x9e\x7e\xb8\xa8\xeb\x46\x0a\x98\xdc\x77\x13\xe7\
\x8c\x01\xa4\xd4\xb6\x23\x4d\xef\xc5\x99\x6b\x6e\xa4\xd6\x7a\xa0\
\x20\xe9\xdf\x7c\x6b\xb3\x94\xb8\xd6\xcc\xb7\x80\x8e\x69\xbd\x43\
\x48\x38\x7f\x05\xf1\xe7\x72\xb1\x2b\xf2\x38\x0e\x7e\x10\x79\x77\
\xac\x98\xdc\x3d\x7d\x21\x78\x3a\x7c\x68\xb2\x58\x51\x28\x93\x23\
\x3e\x21\x11\x26\x9b\x03\x01\x4a\x37\x6d\x63\xa8\xfa\xc2\x38\xdb\
\xd0\x29\x74\xcb\x88\xc5\xda\x56\x9c\xaa\x72\x22\xb9\xc6\x8d\xac\
\x7a\x37\x2e\x2a\x54\xcd\xc4\xf3\xef\x07\x6d\xc0\xd8\xb2\xd6\x6e\
\xc4\x24\x4b\xf1\xfe\x89\x53\x78\x6b\xdb\x4e\xa4\x9d\xcd\x10\xc6\
\x6a\x46\xee\x16\x7b\x2b\xb4\x55\x3a\x81\xb8\x50\x51\x8a\xf1\x69\
\x20\x40\x01\xab\x1d\x00\x8a\x3b\xa7\x04\x8f\x33\x4d\x5d\x77\xbb\
\x8e\x55\x98\x05\xef\xa5\x46\x1f\x8d\xb4\x9f\xbd\x17\x1c\x26\x3c\
\xf5\xa0\x02\x44\xb2\x46\x0f\x0e\x7d\x24\xc1\x8e\x83\x91\x78\xf5\
\x37\xab\xd0\xd4\x6c\x15\xd2\xcd\xe4\x6e\x30\x9a\x21\x39\x93\x0c\
\x69\xce\x45\x1a\xab\x09\xa1\xeb\xa6\x91\x3b\x72\x5f\x6a\x1d\xc6\
\x49\x4d\x8b\x20\x3b\x23\x4d\x50\xdb\x70\xb4\xa8\x41\x40\x92\xc6\
\x8a\xb2\xb6\xbe\xf0\xd2\x97\x97\x8b\xf9\xea\x5d\xf0\xa0\x02\xe2\
\xf3\x6a\xad\xd8\x15\x25\xc2\x96\xed\xff\xc1\xca\x55\xaf\x0b\x5d\
\xb3\x65\x22\x2b\xa2\xa7\x9b\xe8\x04\x6c\x1e\x1f\x7a\x69\x8b\xf9\
\xf9\x58\xe5\x39\x86\xf0\xb1\x25\x28\xa4\x9c\x05\x2d\x4e\xd9\x28\
\xc8\xce\xba\x4f\x28\x6f\xc6\xd9\x1a\x27\x34\xae\xee\xe9\x9d\xfb\
\x0f\x5d\xa5\xf3\x77\xf2\xbd\xbf\xe8\x41\x45\x24\x4a\x35\xf5\xd8\
\xb6\xff\x43\xac\xdb\xfc\x36\x76\xef\x7d\x0f\x8d\xcd\x16\x14\x2b\
\x94\xf8\xc7\x3b\xdb\x68\x43\x7a\xe1\xa1\x99\xbe\xd6\x0f\xe4\xb6\
\x0c\x40\xa2\x6b\x43\xb6\x35\x24\x78\x2e\x10\x52\xd7\xd1\xb2\x7a\
\xc4\x96\x18\x71\x4e\xef\x81\xdc\xde\x1d\xce\xd7\xe8\xda\xe8\xdc\
\x18\x9e\xfa\x6f\x71\xf9\x9f\xe0\x85\xdc\x57\xc4\xa9\xd4\xa2\x0a\
\x6c\xdd\xb9\x17\xaf\xaf\x59\x27\x8c\x95\xa2\xb4\x0c\x3b\xde\x7d\
\x17\xe2\x7c\x05\xe2\x8a\x1b\x84\x70\xb1\x6e\xd9\x27\xf3\xfa\x78\
\x89\x49\x28\x84\x15\x11\x5f\x6e\x11\xe4\x3e\x4f\x61\x2b\x33\xdb\
\x83\x2f\x2c\x5d\x96\xc2\x82\xcd\xe7\xfd\x25\xc2\x0f\xf9\x93\xf6\
\xeb\x84\xaf\x10\x16\xde\x5b\x40\x72\x52\x5e\x31\xd6\xff\x7d\x07\
\x9e\x7f\xe9\x15\x21\xe5\x47\x8e\x44\xe1\xbd\xe8\x58\x24\x96\x9b\
\x11\x43\x7e\x32\xa2\xd4\xba\x0e\x41\x66\x16\x2e\xe6\x7b\x12\xfb\
\x54\x59\x90\xac\xb5\xa1\xae\x23\x38\xb5\x73\xff\x41\x39\xcb\x13\
\x27\x67\x9b\xee\x65\xc2\x2b\x84\x65\x84\x9f\x12\x9e\xe1\xef\x03\
\xf7\x15\x90\x1e\x97\x75\x09\x7f\xde\xf4\x36\x5e\x5b\xf5\x7b\xa4\
\xa4\xa6\x61\xfd\xa6\xcd\x38\xa3\x36\xe1\x40\x8e\x46\x08\x18\x5b\
\x2a\xac\xf3\x8f\xa8\xdb\xa8\x42\x3d\xe2\x14\xa4\x40\xa5\x0d\xc5\
\x2d\xfe\xdb\x59\x57\x4b\xac\x74\xc6\x09\x96\x25\xc2\x3b\x3c\x70\
\xbf\xe3\xaf\x5f\xec\xfb\x72\xc2\x8f\xb8\x02\x5f\x9e\xcf\x82\xcc\
\xa8\x94\xf3\x78\x63\xfd\x66\x44\x6c\xda\x82\x0d\x1b\x23\x90\x4c\
\x96\x1c\xcc\x51\x0b\x84\xac\x80\xe4\x1a\x8f\xa0\x82\x88\xc2\x96\
\x5e\xe7\x26\xb9\xdb\x50\xda\xd0\x14\x78\xfe\xc5\xa5\x69\x9c\xf8\
\x00\x7b\x99\xe1\x4f\xb8\xb5\xfc\x3b\x2b\xe0\x57\x84\x9f\xf1\x1c\
\x3c\xc1\x83\x78\xdf\x25\x8d\x94\x64\x62\x4d\xc4\x56\x6c\xd8\xb0\
\x11\xc7\x92\x33\x10\x27\xd7\x63\x7f\xb6\x5a\xe8\xfa\x44\x59\x33\
\x24\x94\x74\x49\x95\x03\x17\x9b\xfc\xd0\xba\xba\xa6\xd6\x6e\x88\
\xf8\x98\xcb\x1d\x45\xd8\xc4\xc9\x18\xf1\x9b\x84\x3f\x11\x56\xf1\
\xce\x7f\x42\xf8\x26\xe1\xc9\x87\x4d\x81\x34\x26\x3d\x5b\xc8\xc0\
\xf6\x43\x51\x10\xc9\x74\xd8\x23\x2d\x15\x36\x19\xf3\xfd\xa4\xda\
\x8a\x4c\xbd\x1b\x15\xed\xc1\xdb\x51\x09\x62\x35\x5b\xdd\xdc\xe7\
\x08\xfe\xae\xf8\x47\x4e\xfa\x06\x27\x66\x2f\xb2\x3f\x27\x7c\x9f\
\xf0\x35\xee\xfb\xa2\x87\xed\x81\x0c\x71\x9e\x1c\xff\x3a\x10\x89\
\x33\x65\x7a\x6c\x93\x5c\xc6\xe1\x7c\x1d\x75\xed\x84\x44\x6b\x47\
\xae\xd1\x13\x2e\x37\x5a\xfc\xbc\x5b\x36\x56\x7f\xe5\x04\x2f\x12\
\x56\x72\x9f\x57\xf2\x8e\x9f\xe5\xc4\x4f\xf3\xae\xbf\x34\x5f\xe8\
\xee\xbd\xf6\xe5\x16\x97\x4e\x66\x57\xd6\x63\xdf\x79\x25\xb6\xc4\
\x67\xe3\x84\xd2\x84\x1c\xb3\x17\x1a\xab\x67\x78\x5d\xc4\x26\x29\
\x5f\xa5\x3b\xf8\x48\x3d\xc5\x49\x9e\x23\xbc\x40\xf8\x25\x97\xfa\
\xbb\x3c\x68\xb3\x89\x17\x7c\x9e\xd7\x70\x16\x14\x89\x54\xef\xc4\
\x3f\x4f\x5f\xc2\x79\x43\x07\xb4\xee\xbe\xe9\x63\x49\x12\x15\xef\
\x78\x37\xbf\x67\x01\x5f\x24\x4f\xf2\x1f\x27\xdf\xe6\x78\x66\xd6\
\xa2\xf9\x42\xc4\x33\x17\x3b\xf0\x60\x86\xac\xdc\xad\x6c\xed\x0e\
\x17\x55\xeb\x5d\xfc\x95\xe9\x10\x0f\xd7\xec\x87\xc8\x42\x4e\xb2\
\x98\x13\x2e\xe6\xa3\xb5\xe8\xff\x21\x9e\x7d\x3d\xce\x65\x8e\xe2\
\x9f\x5b\x09\x3f\x78\xc0\xbd\x0b\x38\xd9\xc2\xcf\x22\xfd\xac\x5f\
\xd5\xff\x05\x42\x5a\xb5\xfc\x4a\x39\x80\xc8\x00\x00\x00\x00\x49\
\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x06\xa0\
\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\x06\x67\x49\x44\x41\x54\x58\xc3\xc5\x57\x09\x50\x95\x55\
\x14\xfe\x1f\xfc\xef\xe1\x56\x84\x58\x6e\x28\xa0\xa8\x94\xca\x66\
\x88\x20\x62\xa8\xb8\x01\x06\x83\x4b\xb2\xa8\xa5\x0c\xa8\xe1\x14\
\x68\x5a\x2a\xc6\x96\x92\x28\x8b\x0a\x18\xc8\x22\x04\xc8\x22\x02\
\xa9\x91\x0b\x33\xc0\x10\x20\x88\x20\x88\x38\xb8\x0e\xe5\x30\xd3\
\xd4\xb8\xa0\xa3\xa3\xef\x74\x3e\xba\x14\x33\x99\x3d\x2c\xeb\xcd\
\x7c\x73\x38\xe7\x7c\xe7\xdc\x73\xcf\x5d\xfe\x8b\x44\x44\xd2\xff\
\x89\xe7\x3b\x25\x49\xc1\x18\xcb\x70\x64\x78\x32\x3e\x64\x6c\x16\
\xd2\x53\xd8\xe1\x57\xfc\xab\x05\x88\x81\xc7\x30\x16\x2d\x59\xb2\
\x24\x31\x21\x21\xe1\x2c\xff\xda\x5b\x5b\x5b\xef\x76\x74\x74\xa8\
\x21\xa1\xc3\x0e\x3f\x78\x82\xaf\xf8\xc7\x05\xf0\x4f\x8b\x61\xe5\
\xe0\xe0\x10\x9c\x94\x94\x54\xd9\xd2\xd2\x72\x8f\x41\xc7\x8f\x1f\
\xa7\xe0\xe0\x60\x0a\x08\x08\xe8\x96\xd0\x61\x87\x1f\x3c\xf0\x11\
\x87\xf8\x17\x2e\x40\x0c\x3e\xc5\xcd\xcd\x2d\xb6\xb8\xb8\xb8\xad\
\xb9\xb9\x99\x52\x52\x52\xe8\x3d\x9f\x55\x57\xad\xe6\x2f\x2d\x1b\
\xe5\xbc\x36\x7f\x90\xfb\x8e\xc3\x90\xd0\x61\x87\x1f\x3c\xf0\x11\
\x87\xf8\xbe\x14\xf1\xa7\xf5\xb6\xb3\xb3\x0b\x29\x2c\x2c\x6c\x6b\
\x68\x68\xa0\x1d\x21\xa1\x9d\xd3\x17\xaf\x39\xa5\xef\x1d\x95\xa6\
\xe7\x97\x1e\x3f\xee\x93\xfc\xaf\x26\x6e\x2d\x4a\x82\x84\x0e\x3b\
\xfc\xe0\x81\x8f\x38\xc4\xf7\x65\x5f\xf4\x2e\x40\x66\x78\xc4\xc6\
\xc6\x56\x35\x35\x35\x51\x4c\xdc\xbe\x4e\x9b\x55\x5b\xf3\xa4\x95\
\x29\x31\x43\x36\x9d\xdc\x3b\xf3\x40\x43\xfc\xc6\x92\x6b\x39\xe1\
\x67\x3a\x8e\x42\x42\x87\x1d\x7e\xf0\xc0\x47\x1c\xe2\x91\x07\xf9\
\x34\x2e\x40\xcc\xde\xd4\xd5\xd5\xf5\x50\x55\x55\xd5\xfd\x92\x92\
\x12\x5a\x1e\x18\xf6\x9d\xf4\x41\xe6\x5e\x69\x53\x45\xd8\xac\x8c\
\x5b\xd1\xa9\x8d\x77\x4f\xbc\xbb\x2e\x8e\x7c\x77\x64\x13\x24\x74\
\xd8\xe1\x07\x0f\x7c\xc4\x21\x1e\x79\x90\x4f\x93\x2e\xf4\x14\xa0\
\xcd\x98\x1f\x1e\x1e\x5e\x51\x5f\x5f\x4f\x7b\xe2\xe2\xaf\x8e\x5c\
\x97\x92\xfc\xfa\x8e\xaa\x48\xab\xb4\xce\x9d\xc9\x2d\x8f\x8f\x5d\
\xfe\x45\x7d\xd9\x27\xb2\x96\x7c\xe2\x6e\x12\x24\x74\xd8\xe1\x07\
\x0f\x7c\xc4\x21\x1e\x79\x90\x0f\x79\x35\x2d\x40\xc5\x58\x9d\x95\
\x95\x75\xbd\xba\xba\x9a\x02\x23\x13\xce\xa0\xbd\x73\x33\x3b\x62\
\x42\x6b\x1e\xa5\x37\xff\x4c\xcd\x9d\x0f\xe8\xb6\xcb\x17\xd7\xc8\
\x65\x3f\x11\x24\x74\xd8\xe1\x07\x0f\x7c\xc4\x21\x1e\x79\x90\x0f\
\x79\x35\x2d\xa0\x3f\x63\x4b\x69\x69\xe9\xbd\xf2\xf2\x72\x5a\xb8\
\x2d\x25\x7b\x52\x54\x5d\xf4\xf6\x8a\x3b\x19\x92\xe9\x1a\x1a\xef\
\x12\x41\xf6\x6b\x0b\x68\xda\xf6\x0e\xb2\xd9\x49\xdd\x12\x3a\xec\
\xf0\x83\x07\x3e\xe2\x10\x8f\x3c\xc8\x87\xbc\x9a\x16\x30\x80\x11\
\x7e\xfa\xf4\x69\x75\x65\x65\x25\x8d\x0d\x3a\x72\xd0\x3a\xbe\x35\
\x3a\xfa\xfc\xc3\x5c\xc9\x29\x9f\x54\xcb\x1a\x49\x7f\xcd\x75\x32\
\x08\xea\xa2\x31\x9f\x51\xb7\x84\x0e\x3b\xfc\xe0\x81\x8f\x38\xc4\
\x23\x0f\xf2\x21\xaf\xa6\x05\x0c\x64\x6c\xe5\xd6\xdd\xab\xab\xab\
\x23\xcf\x98\x6f\x32\x2c\x12\xda\xbf\x0c\xad\x7d\x9c\x2e\x79\x5c\
\x20\xc9\x97\x49\xab\x19\xef\xf7\x02\x74\xd8\xd9\x0f\x1e\xf8\x88\
\x43\x3c\xf2\x20\x1f\xf2\xf6\xa5\x03\xeb\xa3\xa2\xa2\x6e\x62\x13\
\xc5\xe6\x9e\xfa\x76\xe8\xae\xe6\x08\xe7\xa2\x07\xbb\x23\xce\x53\
\x5a\xe2\x45\xaa\xc9\x6c\xa3\x0e\x69\xf9\x7d\x92\x7c\x38\x80\x25\
\x74\xd8\xe1\x07\x0f\x7c\xc4\x21\x1e\x79\x90\xaf\x2f\x1d\xc0\x1e\
\xf0\xf0\xf7\xf7\xff\x9e\x8f\x11\x95\x55\x56\x5f\x99\xb0\xab\x26\
\x7a\x78\xe2\x4f\xc1\x36\x47\xd5\x21\xb3\xf3\xa8\x74\x63\x05\x35\
\x4b\x8b\xda\x49\xf2\xe4\x00\x96\xd0\x61\x87\x1f\x3c\xf0\x11\x87\
\x78\xe4\x11\x77\x41\xff\xbe\x9c\x82\xb7\xad\xad\xad\xb3\x92\x93\
\x93\xbb\x1a\x1b\x1b\x29\xb6\xb0\xb2\x48\x0a\xbf\xba\x55\x3a\xf0\
\x70\xa3\x49\x2a\x25\xcf\xc9\xa3\x4a\x69\x1e\x2f\xc7\x32\x0e\x60\
\x09\x1d\x76\xf8\xc1\x03\x1f\x71\x88\x47\x1e\xe4\xeb\xcb\x29\xc0\
\x3d\xf0\x1a\xc3\xd7\xcb\xcb\xab\x9e\xef\x75\xaa\x3b\x7f\xe1\x76\
\x60\xf6\xb9\x24\x29\xf2\x87\x4f\x87\x27\x3f\x0c\xb5\xce\x52\xa7\
\xbb\x1e\xa3\xb3\x0b\x8f\xd2\x39\x48\xe8\xb0\xc3\x0f\x1e\xf8\x88\
\xf3\xf4\xf4\x6c\x40\x1e\x91\x4f\xbb\x2f\x37\x21\x96\xc1\xc6\xd8\
\xd8\x38\x8e\x5b\x78\xbd\xac\xac\x8c\x1a\x2f\x36\xff\x98\x7c\xa6\
\xa9\x60\x52\xe2\xb5\x48\xb4\xd9\xfa\xc8\x83\x30\x87\xc2\xc7\x11\
\x90\xd0\x61\x87\xff\x42\xd3\xc5\xdb\xe0\xfb\xf9\xf9\x75\x19\x19\
\x19\xd5\x70\x9e\x15\x8c\x91\x1a\xdf\x84\xbd\xbe\x05\xba\x0c\x67\
\x53\x53\xd3\x0c\x6f\x6f\xef\xeb\xb9\xb9\xb9\x74\xe9\xd2\x25\x6a\
\x68\x69\x6b\xcd\xa9\x6c\x2d\x0a\x28\xb8\x9c\x68\x1e\x7f\x25\x12\
\x12\x3a\xec\xf0\x83\xc7\xfc\x2e\x77\x77\x77\xf2\xf1\xf1\xb9\xa3\
\xab\xab\x9b\x65\x36\x4c\xeb\x30\x1e\x2c\x7d\xfd\x1a\x62\x2f\xe8\
\x33\x5c\x0c\x0c\x0c\x0e\xd8\xdb\xdb\x37\x70\x37\xba\xf8\x58\x11\
\x3e\x34\xed\xed\xed\x74\xe3\xc6\x8d\x6e\x09\x1d\x76\xf8\x99\xd7\
\xc8\xfc\x5a\x0c\xce\x3a\x6d\x98\x37\xe1\x51\xba\x9b\xce\xd3\xc5\
\x13\xe5\x92\xbf\x2b\xe2\x59\xef\x01\x1d\x51\x84\x03\x23\xc0\xd0\
\xd0\xb0\xc0\xcc\xcc\xac\xd6\xd6\xd6\xf6\x96\xa3\xa3\xe3\x7d\x27\
\x27\x27\x35\x24\x74\xd8\xe1\x07\x8f\xb1\x86\x67\x9e\xb3\x6a\xc6\
\xf8\x47\x91\x33\x95\x94\xb0\x40\x45\x99\xee\x3a\x4f\xbd\xcd\xe5\
\xaf\x9f\x57\xc4\x5f\xbd\x88\x54\x62\x39\x0c\x18\x73\xc4\xbd\x8e\
\x8b\x65\x37\x63\x3f\x23\x8a\xb1\x4d\x6c\xb6\xb9\x8c\xd1\x0c\x93\
\x61\xfd\x15\x99\x01\x93\x65\xf5\xb6\xa9\x4a\xda\xfd\x8e\x92\x0e\
\x2e\x54\x51\x96\x87\xce\x93\x15\x16\x32\x96\x63\xd6\xb3\xf6\xc4\
\xf3\xde\x84\xb2\xd8\x98\xd8\xcd\x43\xc5\x20\x78\x68\x8c\x13\x18\
\x23\x0a\x7c\x43\x70\x06\x31\x16\x98\xe9\x29\x4e\x7c\xc4\x45\x04\
\xdb\x28\x69\x8f\xa3\x92\x92\x9c\x55\x94\xcd\x45\xf8\x58\xc8\x19\
\x62\x32\x5a\x22\xbf\x42\xd3\x57\xb1\xb6\xe8\x08\x6e\xcb\x57\x19\
\x7a\x62\x89\x86\x08\x39\x58\xd8\xf4\xc4\xdf\x6e\x56\xfa\x8a\xbc\
\x40\x33\x59\xfd\xf9\x34\x25\xed\x9d\xa5\xea\x2e\x22\x67\xb1\xce\
\x93\x95\x96\x72\xa6\xf8\x4c\xcb\xbf\x17\xa2\xd1\xab\xe5\x8f\x8e\
\xf4\x63\xbc\x22\x06\xc2\xcc\x87\x8b\xe3\x36\x8a\x61\xc8\x30\x12\
\xf0\xb2\x1a\xac\x28\x08\x32\x97\xd5\x21\xb6\x4a\x8a\x9e\xad\xa2\
\x43\x2e\x2a\xca\x5d\xaa\xf3\x94\x97\x03\x97\xd4\x02\x86\xb2\xbb\
\x08\x0d\x07\xd7\x16\x83\xeb\xf6\x5a\x0e\x13\xf1\xea\x79\x8b\x31\
\x99\x61\xce\xb0\xe8\x05\x5f\x8b\xc1\x8a\xe2\x20\x0b\x59\x1d\x66\
\xa7\xa4\xd8\x39\x2a\x4a\x75\x55\x51\xfe\x32\x1d\xf5\x0a\x4b\x39\
\x5b\x14\x21\x6b\x52\x80\x96\x98\xfd\x40\x31\x6b\x63\x31\xa8\x25\
\x63\x2a\x63\x1a\x63\x3a\x63\x86\x38\x39\x3d\x80\xbe\xc1\x52\x5f\
\x71\x62\x93\xa5\xac\x0e\x9f\xae\xa4\x7d\x4e\x2a\x4a\x5b\xa4\x43\
\x47\xb9\x08\x1b\x03\x2d\xbc\xa0\x87\x69\x5a\x80\x52\xac\xff\x08\
\xc6\x04\xf1\xfe\xb7\x15\x03\xe1\xbf\xa3\xd9\x0c\x27\x71\x22\x7a\
\xe0\x24\x36\x5d\x10\x17\x51\xba\xd9\x4a\x56\x47\xd8\xff\x56\xc4\
\x7a\x6b\x65\x39\xf6\x4a\x77\x57\xff\x83\x02\x70\xfc\x3e\xe6\x22\
\x4e\x6e\x99\x22\xab\x97\x99\x6a\xe3\xd5\xec\x25\x4e\x50\xbf\x97\
\xbd\x04\xd3\x45\xa1\x36\x0c\xff\x51\x03\x15\xa9\xe2\x3b\x61\x22\
\x26\xa4\x7a\x99\x9b\xd0\x5c\xd8\x27\x32\xde\x64\x8c\x17\x9d\x1b\
\x21\x8e\xec\x00\x8d\x36\xe1\x0b\x1e\x43\x23\xa1\x8f\x16\xad\x1e\
\x21\x0a\x1f\x22\x26\x31\xa0\xe7\x18\xfe\x0a\xd1\xfb\x82\xfe\x41\
\x1a\xc9\x6e\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x08\x27\
\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\x07\xee\x49\x44\x41\x54\x58\xc3\xa5\x57\xdb\x6f\x1c\x67\
\x15\x3f\xdf\x37\x33\x3b\xbb\xf6\xde\xf1\xae\xd7\x4d\x4c\xec\xc4\
\xbd\xd8\xc6\x4d\x2f\x69\xac\x06\xa9\xa1\x69\x65\x1a\x55\x20\xa1\
\x08\x81\x84\x90\x5a\xfe\x86\x3e\xf5\x91\x8a\x17\xf2\xc8\x1b\x54\
\x15\x2f\x51\x2a\x11\xc2\x25\xbc\x24\xa0\x2a\x42\x7d\x08\x22\x02\
\x29\x50\xb5\x6a\x9c\xae\x6f\x2a\x8e\xd7\x97\xb5\xd7\x7b\x9d\xcb\
\xd7\xdf\x39\x33\xeb\x26\x24\xb5\x70\x98\xf5\xfa\x9b\xf9\x76\xe6\
\x3b\xe7\xfc\xce\xef\xfc\xce\x37\x8a\xf6\x39\xe6\xe6\xe6\x66\xdf\
\x79\xe7\xa7\x3f\xaf\xd5\xd6\x15\x0e\xa3\x14\xcf\xca\x3f\xd2\xf8\
\xf0\x1f\x5f\xaa\x78\xce\xec\xfd\x8a\x73\x63\x54\xa5\x52\xd1\x17\
\x2e\x5c\x78\xf7\xfc\xf9\xf3\xbf\xfe\x2a\x1b\xf6\x7e\x0e\xb8\xae\
\x5b\x9a\x99\x79\xfa\xa5\x20\x08\x28\x0c\x43\xd2\x5a\x13\x1c\x89\
\x46\xa3\xc8\x68\x43\x5a\x69\x18\xe3\x39\x18\x8f\x1d\xe4\x7b\xe0\
\x00\x59\x96\x45\xd9\x6c\xf6\xaf\xfb\xd9\xd8\xd7\x01\x2c\xd2\xee\
\x76\xbb\xb4\xb1\xb1\x21\x0b\xf6\x1d\x60\x83\x2a\x36\xae\x30\x6f\
\x30\xaf\x79\xc4\xb5\xd6\x91\x71\xad\x0c\x7d\x6d\xa8\x4c\xed\x76\
\xbb\xb9\x9f\x0d\xbd\x1f\x00\x2f\x9c\x98\x7d\xd3\xb2\x2d\xb2\x6d\
\x1b\x0b\x5b\x12\xa5\x46\x54\x96\xa5\xc8\xd2\x98\xe3\x68\xf9\x9a\
\x1d\xc3\x88\x5b\x31\x2a\x89\xdc\xe0\x77\x1b\x13\xcf\x3c\xf3\xec\
\xf7\x2a\x95\xb1\xb1\x03\x3b\x30\x36\x36\x96\xaa\x8c\x8c\x7c\xdb\
\x84\x8c\x44\x18\xc1\x1b\xe2\xf6\xd0\xc8\xef\x21\x3e\xca\x8a\x6f\
\x8e\xb0\xa7\x80\x2c\xfe\x17\x4d\x21\x65\xdd\xae\x47\x13\x13\x4f\
\x3c\x3f\x3e\x3e\x72\xe4\xc0\x0e\xec\xec\xec\x84\xad\x56\xbb\x19\
\xe5\xde\x12\x58\xe5\x6e\xbd\x47\x33\xfc\xc5\x8f\x07\x91\x55\x8b\
\xad\xf7\x9d\x12\x94\x88\x76\x77\x77\x03\xcf\x33\xfe\xa3\xa4\x00\
\x06\x38\x9f\xc1\x7d\x51\x72\x64\x7b\x55\xd0\x3f\x2c\x2b\x76\xc9\
\x62\x68\x62\xa7\x34\x85\x78\x26\xba\xdd\x7f\x14\x0e\x14\xc9\x47\
\x64\x12\x39\x1b\xe7\x28\x31\x06\xf7\xdc\x11\xf4\xaf\x8c\xf9\x12\
\x95\xfe\xc2\x56\x20\xe9\x0a\x43\x9f\x94\xaf\xcc\x81\x1d\xd8\xdc\
\x9c\x6f\x60\xc1\x5e\x88\x45\x24\xfd\x80\xd4\xc0\x09\x39\x17\x24\
\xe8\xcb\x68\xef\x2f\x9d\x68\x08\xac\x3e\x68\x61\xcf\xf4\xb6\xf7\
\x2d\xc3\x81\x81\x81\xc7\x86\x86\x86\xa6\xfb\x4b\xa2\xd4\xc2\x91\
\x91\x91\x74\x22\x61\x0f\x16\x0a\x05\xc2\x6f\xf4\xa8\x47\x36\x9b\
\xd3\x85\xc2\xd0\xb7\x8e\x1d\x3b\x56\x46\x75\xe8\x28\x63\x96\x46\
\x79\x2e\x2f\x2c\x2c\x7c\x22\x3e\x9e\x3c\x79\xf2\x67\x47\x8f\x1e\
\x7d\x1b\x82\x13\xa0\x74\x8c\x6d\x3b\x1c\x88\xbe\x7e\xfd\xba\x7e\
\x6a\xf2\x49\x44\xab\xc8\x67\x32\x5a\x26\xe6\x45\xac\x01\xd0\x02\
\xf6\x58\x33\x19\xd5\xbd\x20\x44\x38\x25\x12\x09\xaa\x56\x97\xe9\
\xc9\xa7\x26\x4c\xb9\x54\xf2\x71\x28\x46\x51\xa3\xae\xb7\xb7\xb7\
\xff\x7c\xe9\xd2\xa5\xd7\x04\x81\xd1\x43\xa3\x4f\xa7\xd3\x69\xea\
\xf5\x7a\x64\x27\x5c\x55\xc8\x65\x45\x4a\x57\x56\x96\x89\xbf\xff\
\xef\x31\x3e\x3e\xaa\x86\x87\x87\xf5\xca\xd2\x12\xf5\xc0\x09\xdd\
\x0b\x29\x9f\xcf\x4f\x65\x32\x99\xa2\x0d\x78\x33\x2f\xbd\x7c\x7a\
\xf2\xf5\xb3\x67\x29\xe1\xba\x1a\xd2\x49\xb9\x5c\x8e\x96\x97\x97\
\x59\xc5\xe8\xf8\xf1\x19\x4a\x26\x07\x38\x4d\x94\x4a\xa5\x58\x9e\
\xc9\xc5\xe8\x58\x56\x2c\xcb\xcc\x74\x23\x52\x8d\x08\x25\x08\x7e\
\xae\xdd\xee\x40\x07\x3a\x74\xeb\xd6\xbf\xe8\xec\xd9\xd7\xcc\x99\
\x33\x67\x94\xe7\x79\x54\xaf\xd7\xc1\xaf\x4d\x9a\x9f\x9f\x2f\x7f\
\xf8\xe1\xdf\x1e\xb7\xf1\x60\x7e\xbd\xb6\x36\xf4\x9b\x4b\xbf\xa5\
\xd4\x40\x4a\x65\x06\x07\x69\x7a\x6a\x8a\x3e\xfa\xf4\x53\xfa\xe0\
\x83\xbf\x00\xc2\x05\x40\xe9\x90\x03\x35\xb4\x00\x69\x82\x15\xd0\
\xd6\x7b\xb2\xac\x44\x0f\x43\x0a\x90\x16\xdf\x67\x47\x3c\x8c\x01\
\x79\x5e\x47\x9c\xba\x75\xeb\xdf\x74\xe8\xd0\x63\x6a\x76\x76\x56\
\x55\xab\x55\xea\x74\x7a\x28\xa8\x0e\xa5\x06\x07\x1d\xa5\xfc\x8a\
\x0d\x42\xb8\xff\xf9\x7c\xd5\x76\x12\x96\xe4\xcc\x76\x5c\xda\xaa\
\x6f\xd2\xc7\x1f\x7f\x42\xb5\xbb\x9b\x20\x4c\x15\xc6\x6c\x31\x66\
\xb3\x41\x9b\xcf\xb5\x30\x9c\xb9\xa0\x58\x98\x4c\x3f\xf7\x81\xd4\
\xbd\xef\x7b\x18\xa3\x06\xc5\x11\x5f\xbb\x76\x8d\xa6\xa7\xa7\xe9\
\xc6\x8d\x1b\x34\x3a\x7a\x98\x56\x57\xef\x12\x93\x1b\xcf\xa7\x6c\
\xf0\xce\x6d\xb5\x5b\x56\x6f\xbb\x47\xc9\x44\x92\x12\xc9\x04\xb5\
\x9a\x4d\x2a\x95\x2a\xf4\xa3\x1f\xff\x10\x91\x84\xa2\xe9\x71\x73\
\x12\x55\x74\x1c\x2d\xba\xc7\xfa\xa3\x94\x25\xda\xcf\x5f\x25\x6a\
\x19\x21\x23\xd5\x04\xe7\xbc\x8e\x47\x83\xd9\x41\xba\x78\xf1\x22\
\xab\x2b\xdd\xb9\x33\x4f\x4d\xa4\xe7\x9b\x2f\xbe\xc8\x28\x26\x19\
\x01\x67\x6b\x6b\x4b\xe3\x0b\x0e\x00\x62\x3b\x41\x0e\x90\x28\x14\
\xb6\x69\x7d\x7d\x83\x9a\xad\x06\x9a\x8c\x13\x35\x98\xb8\x23\x72\
\xce\x6d\x8e\x1c\xe7\x96\x62\x2e\xa0\x13\xb2\xf4\xca\x39\xa7\xc7\
\x08\x12\xdc\xc6\xf9\xfe\xb1\xaf\x8f\x51\xbb\xd3\xa6\x2c\xc8\x0d\
\x57\xa9\x98\x4f\xd2\xc6\xe6\x3a\x07\xe7\xd8\x80\xc2\x01\xe9\xf8\
\x19\xb2\xe1\x00\xe7\xd7\x45\x19\xb2\x91\x84\x63\x93\x5b\x2c\x89\
\xb1\x30\x36\x4e\x6c\x00\x0a\x68\xa8\x1f\xa9\xa1\x28\x70\x2d\x8e\
\xb0\x61\x15\xb7\x65\x9e\x63\x27\xba\x5e\x97\x4a\x43\xa5\x58\xd1\
\x91\x4a\x09\x82\xe8\xc8\x91\xc3\x09\x29\x43\x07\x51\x5b\x29\x10\
\x2d\x8e\x94\x11\xe0\xf1\xf3\xd5\x26\x34\xc0\x48\x83\x91\x5a\xa7\
\xa8\xee\x59\x62\xf9\x23\x68\x50\x5f\xbe\x1e\x94\xc5\x7e\x65\xa4\
\x06\x53\x84\x1a\xc2\x63\xdc\xaa\x81\x1a\x02\x4c\xb9\x49\xe9\xa8\
\xe2\x40\xa7\xdb\x22\x03\x06\x6b\x27\xea\xeb\x5c\x8a\x4c\x98\xdb\
\xb7\x6f\x53\x3a\x9d\x89\x34\x5e\x7f\x85\xf4\xc6\x7d\x8a\x49\xf7\
\xdf\x37\x70\xb4\xe8\xa8\xb4\x50\xfd\x8c\xde\x78\xf3\x27\x52\x9e\
\xbc\xb7\xb0\x11\xb7\x74\x59\x7c\x98\x84\xa1\xe7\xf9\x66\x67\xa7\
\x81\x12\xe9\xc4\xdb\x2d\x43\x50\xaa\x18\x42\x2e\x1b\xc4\xcb\x98\
\xe1\xda\xc4\xdd\x90\x11\x62\x78\x2d\xee\x78\x7d\xf5\x93\x6d\x62\
\x18\x2b\x61\xb4\x3d\xe3\xdc\x36\x5b\x1d\x59\x8f\x75\x80\x2b\xcd\
\xf1\x1c\x51\x52\x68\x46\x68\x43\x14\x3c\xb8\x1a\xa6\xd3\x29\x61\
\xb6\x83\xbc\x33\x21\x5f\x9d\x9b\xa3\x7f\xde\xfc\x07\x3d\x7f\xe2\
\x39\x6a\x34\x1a\x91\x31\xc7\x11\xe7\xa4\x41\xa9\x28\x5e\x01\x06\
\xe7\x5d\x44\xca\x24\xe5\x2f\x0b\x16\x8f\x0e\xee\x5f\x82\xfa\x4d\
\x4e\x4e\x23\xb8\x16\x41\xf9\xe2\xbd\xa2\x23\x82\xb6\xba\xba\xda\
\xe3\x2a\xe8\x16\x0b\xc5\x80\x17\x14\x82\x00\xa2\xc6\x6e\x83\x26\
\xc6\x8f\xd1\xd2\x42\x95\xa0\x60\x92\x0a\x46\x83\xf3\x99\x48\xb8\
\x22\x36\x26\xee\x09\xd1\xce\xc0\x50\xbe\x58\x10\x27\x79\x0d\xbe\
\x8f\xa3\x4d\x0f\xa6\x45\x41\x27\x26\x26\x68\x79\xb1\x4a\x59\xd4\
\xbe\x8a\xd1\x73\x41\x78\xce\x3e\xa7\xa0\x9d\x4c\xba\x5e\x32\x99\
\x24\xdf\xc3\xc6\x01\x24\x71\xa1\x56\xdb\x3b\x75\x3a\x71\xe2\x05\
\x3a\x77\xee\x9c\x20\xc0\x9b\x53\x96\x59\x8e\x8a\x9d\xe1\xf3\x24\
\x88\xc4\x7b\x02\xde\x1d\x6a\x10\xab\xd9\xde\x15\x22\x37\x00\x77\
\x11\x1d\x94\x25\xfd\xef\x37\x6f\xd2\x95\x3f\x5c\xa1\x16\xd6\xd4\
\x8d\x6d\x04\x98\x90\x72\x65\x27\x11\x40\x93\x1d\xd8\x45\xd4\x2d\
\x5c\xe4\xba\x7e\x17\xcd\x3b\x14\xad\x1e\x1e\x2e\xd3\xf1\x67\x9f\
\x8b\xd8\xec\x83\xaf\xd8\x17\xa2\x45\xd3\x0e\x94\x8d\x89\xca\xcd\
\x8b\xa3\x74\x8c\x4d\x1d\x8c\x0a\x5c\xc9\x0c\x64\x44\x05\xf3\xc5\
\xa2\x18\xe7\xe3\x1b\x33\x33\x74\xe5\x8f\x7f\x42\x2a\xee\x08\x7a\
\x4a\xd9\xb2\xc7\x2c\x97\xcb\x0c\xdf\xba\x0d\x75\xda\x86\x03\xd5\
\x53\xa7\x4e\x8d\x6c\xd5\xb7\x40\x0e\x9b\x76\x1a\x75\x0a\xe0\x61\
\x2e\x97\x91\x45\x3a\xbd\x8e\x30\xb8\x66\x6a\x28\x21\x9b\x02\x90\
\x95\x11\x60\x54\x38\x65\xec\x08\xc3\xaa\x81\x6a\x13\x73\xdc\xa8\
\xf8\x77\x26\x1c\x6f\xd7\x0b\x85\x22\x9d\x3e\x7d\x46\xd0\x63\xf6\
\xbb\xae\x43\x8b\x8b\xcb\xcd\x95\x95\x95\x05\x2e\xc3\xe0\xf2\xe5\
\xcb\xbf\xb8\x7a\xf5\xea\x47\x41\xb4\xb9\x34\x5e\xe0\x85\xaf\xbc\
\xfc\xea\x2b\xdf\x79\xfd\xbb\x8f\xf3\x04\x47\x53\x2a\x95\x61\xb0\
\x05\x07\xb0\x68\xfc\xe2\xc1\x0b\x1a\x13\x75\x42\x2b\xde\x17\x0e\
\xc0\x39\x17\xe9\xdc\xdb\x2e\xc2\xc1\x64\x32\xb1\xf5\xde\x7b\xbf\
\xfa\x5d\xab\xd5\xf2\x94\x1c\x96\xee\xf5\x5a\xb7\x11\x54\x4d\x74\
\x00\x3b\x93\xf7\x31\xbc\x7f\x6f\x0d\x7f\xff\xdc\x0f\x7e\x8f\x8e\
\x25\x0e\x2c\x2e\x2e\x51\xb1\x98\xa3\xf5\xb5\x4d\xc9\x7f\x06\xc8\
\x14\x01\x73\xe0\x05\x54\x07\x57\x98\xd1\x4c\x36\x18\x10\xa6\xd7\
\x37\xeb\x48\x43\x5e\xd6\x69\x34\x77\x01\x77\xa5\x0e\xa4\xdf\x42\
\x45\x6c\xfd\xaf\x6f\x46\x4e\xad\xb6\x96\xab\x54\xca\xf1\xae\xdb\
\x17\xd2\xb0\x61\x8e\x96\x91\x5a\x44\x79\xd9\x0c\x3b\x1c\x62\xce\
\x64\xf3\x79\x70\xc5\xa7\xb5\xb5\x35\x51\xc9\xbe\x03\xf9\x6c\x0e\
\x4d\xa8\x31\x80\x68\xdd\x83\xbc\x9a\xd9\x3b\x8d\x5d\x8f\x21\xe6\
\x63\x6a\x6a\x92\xee\xdb\x73\x1d\xe0\x88\xd4\xb0\xd9\xa9\xd5\x6a\
\xe6\x20\x0e\x74\xd6\x6b\x77\xdf\x5d\xa8\x2e\x3c\x11\x84\x41\x4a\
\x47\xdb\x9e\xfb\x84\x56\xdd\xfb\xaa\xfc\xe0\x3b\xa5\x8a\x34\x82\
\x42\xa4\xa7\x57\xad\xce\xff\x12\xe7\xb5\x87\x3a\xb8\x8f\xf3\x16\
\xf6\x6d\x87\xc1\xe6\xe2\xc3\x1c\x85\x01\xcd\x9b\xcc\x07\x22\xb2\
\x6d\x45\x7b\x2f\xee\xe4\xa3\x12\x6a\x90\x61\xde\x58\xf6\x1e\x66\
\xe4\x0b\x0e\xbc\xe6\xb9\xc1\xb6\x6c\x63\x00\x00\x00\x00\x49\x45\
\x4e\x44\xae\x42\x60\x82\
\x00\x00\x2b\x93\
\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\x2b\x5a\x49\x44\x41\x54\x78\xda\xed\x9d\x07\x78\x15\x45\
\xd7\xc7\xe7\x55\x44\xc5\x8a\x4a\x55\x8a\x80\x88\x60\xa3\x0b\x0a\
\x48\x57\x04\xe5\xa5\x77\x11\x50\x04\x41\x8a\x02\x0a\xf2\xd1\x5b\
\x50\x7a\x91\x1a\x7a\x28\xa9\x84\x14\x08\x21\x90\x40\x28\x01\x02\
\x84\x24\x90\x9e\xd0\x6b\x48\xa3\x09\x9e\xef\x9c\xd9\xd9\xbd\xbb\
\x77\xf7\xe6\xde\x9b\xdc\x24\xc0\x9b\xfb\x3c\xbf\x07\x08\x7b\x37\
\x3b\xf3\xff\xcf\x99\x33\xb3\xb3\xb3\x8c\x15\x7e\x0a\x3f\x85\x9f\
\xc2\x4f\xe1\xc7\xda\x67\x36\xfb\x1c\xe9\x8b\x0c\x2f\xac\x8c\x27\
\x57\xe4\x57\x85\xd0\xc3\x91\xb9\x48\x10\x92\x88\x40\xe9\x65\x2f\
\x72\x9e\x99\xf3\x1f\x60\x33\xd9\x7a\x3c\xba\x48\x61\x85\x3d\xbe\
\x42\x7f\x8c\xb4\x47\x26\x22\xce\x42\x68\x20\xde\x5e\x55\x1c\x6a\
\x6e\x2a\x03\xcd\x3c\xde\x86\x7e\xfb\x6a\xc1\xe0\xd0\x7a\x30\x25\
\xa2\x19\xa7\x47\xe0\x07\xd0\xc2\xe7\x25\x78\x65\xd1\xd3\xc0\xa6\
\xb0\x2d\x78\xa6\x67\x0a\x2b\xf3\xf1\x08\xdb\x13\x85\xc8\xe1\x24\
\x72\xf1\x45\xcf\x71\xa1\x1b\x6e\x2b\x07\x6d\x76\x54\x85\xfe\xc1\
\xb5\x60\x5c\x78\x13\x98\x7a\xba\x79\xb6\xb4\xde\x5e\x09\xbe\x0e\
\x78\x05\xbe\xf4\x7f\x59\x32\xc1\x64\xb6\xb5\xd0\x04\x8f\xa6\xf0\
\x1e\x24\x74\x99\x65\x2f\x41\xf5\x75\x25\xa0\xb9\x67\x25\xe8\xb8\
\xb3\x06\x0c\x08\xae\x0d\xd3\x4e\xb7\xb0\x99\xd9\x51\xed\x60\x65\
\xdc\x8f\xfc\x4f\xfa\x77\x23\xf7\x32\xdc\x00\x85\x26\x78\xf4\x0d\
\x90\x3a\xf4\xe0\x27\x30\x3d\xb2\xa5\x21\xf3\xcf\x74\x81\x55\x28\
\x2c\xe1\x7d\x7e\x36\x78\x5f\x98\x0d\x41\x57\x56\x41\xd8\x0d\x0f\
\x4e\x5c\xc6\x11\x48\xc9\x8a\xe0\x9c\x43\xe6\x9f\xed\xca\xbf\xd7\
\x62\x7b\x69\xc5\x00\x39\x36\x81\xd4\xe5\x84\xf3\x7c\xa3\xf0\x93\
\x67\x89\x1c\xcc\x88\x6c\xc5\xf1\xbe\xe0\x04\x87\xaf\xbb\x72\x92\
\x32\xc3\x05\x27\x14\x92\x33\x4f\x9a\xc8\x32\x91\x92\x75\x4a\x41\
\x3e\xd7\xfb\x9b\x9e\xd3\x18\xc0\x6e\x13\xa0\xf8\x14\x95\x6a\xbb\
\x94\xa5\x44\x32\x02\x3b\xa7\x52\xf8\xd3\xff\x14\x8a\xe6\xc8\xcf\
\x2c\xd6\xb4\x2c\x56\xf2\xcc\xa8\xd6\x9c\xd3\xb7\x02\x21\x31\xf3\
\xb8\x82\xc9\x04\xe1\x1a\x43\x24\xcb\x18\x98\x80\xce\x33\xe6\x68\
\x63\xf8\xd4\xe3\x05\x9d\x01\x88\x26\xdb\xc5\xe8\x20\x3b\x13\xa0\
\xf8\x74\x5d\x13\x4f\x36\xe7\xe7\xab\xed\xf2\x26\xb0\x19\x2c\x8a\
\xf5\x66\xa5\x0b\x4d\xe0\xc8\xcf\x4c\xd6\xaf\xc6\xba\x52\x30\x2b\
\xea\x0b\x4e\x62\xe6\x31\x1d\x49\xdc\x08\x32\xe1\xba\xc8\x20\x19\
\x41\xe6\x24\x3f\xcf\xc0\x90\x7a\xbc\xb5\x1b\x19\x40\x63\x82\x3f\
\x70\xf8\x68\x6e\x02\x2e\xfe\xcb\x30\xe9\x64\x0b\xe5\xba\x88\x3a\
\x64\x82\xe9\x2c\xba\xd0\x04\x8e\xfc\xcc\x60\x53\x5b\x7a\xbd\x03\
\x4e\xd1\x5f\x82\x73\xc2\x60\x48\xc8\x3c\xaa\xa0\x37\x83\x1c\x15\
\x8c\x0d\x91\x8c\x9c\x4c\xf5\xe5\xe7\xa2\xd1\x82\x25\xf1\x75\x26\
\x18\xcd\x46\x28\xf3\x04\x42\xfc\xc9\xa7\x5a\xf2\xf3\x98\x53\xc7\
\xe5\xad\x42\x13\x38\xb8\x0b\x08\xee\x1b\x54\x1b\xfe\x8c\x6e\x03\
\x5b\x53\xc6\xa2\xf0\x61\x2a\x64\x23\x1c\x35\x8c\x0c\x46\x66\x08\
\xbb\xe1\xce\xcf\xf5\xc5\x8e\x8a\x56\x0d\xa0\x31\xc1\x58\xf6\x33\
\x73\x62\x6b\x48\xfc\x29\xa7\x5a\xf1\x73\x10\xc1\x57\xd7\x70\xe4\
\x7f\x13\x75\x36\x17\x9a\xc0\x71\x1f\x27\x96\x3c\xf2\x70\x23\xf8\
\xeb\x4c\x5b\xf0\xc1\xec\x3e\x1e\x33\xfa\xf8\xcc\x23\x66\x46\x30\
\x37\xc3\x51\x8b\x91\x21\xec\x86\x1b\x3f\x57\xbd\x2d\x65\x2d\xe6\
\x00\x96\x4c\x40\xe2\x4f\x8d\x68\xcd\xbf\x4f\x90\xf0\xe7\xc4\xc8\
\x82\xfe\x2e\xff\x9c\xa8\x5b\x68\x02\x87\x8d\x02\x60\xce\x99\x76\
\x9c\xc3\xd7\xb7\xa2\x01\x0e\x4b\x26\x50\x8c\x60\x6c\x86\x44\x1d\
\x92\x19\x42\xaf\x6d\x54\xce\x47\xfc\x76\xac\x09\x8c\x0d\x6f\x00\
\x83\x0f\x55\x87\x1e\x7b\xdf\xb4\x68\x82\xce\x81\x65\x61\x5a\xc4\
\x17\xfc\x3b\x0b\x63\x3a\xc3\xb1\x9b\x9e\x3c\xa1\x3c\xa7\x10\x01\
\x21\x68\x02\xf5\xb9\xeb\x6e\x2e\x57\x68\x82\xdc\xce\xfc\xbd\xb6\
\xb8\x18\xcc\x3d\xfb\x35\x27\xe2\xd6\x4e\x61\x00\x15\x99\x6a\x23\
\x58\x8f\x0c\x7e\x17\xff\x52\xce\x67\x04\x0d\x0f\x7f\x3e\x5c\x13\
\xda\xfa\x97\x56\x92\xc4\x66\xdb\x4b\xc2\xf4\xd3\x5f\xf2\xff\x5f\
\x14\xd3\x05\x4e\xdd\xf2\x47\xf1\x4f\xaa\x30\x0d\x31\xc9\x04\xea\
\xf3\xd5\xfb\x9f\x34\x81\x34\x76\xf7\xe0\xd3\xb6\xb9\x0b\xff\x93\
\xaa\x38\xbf\x01\xf3\xce\x7e\xc3\x89\xcb\x38\xa4\x10\xaf\xa0\x37\
\x43\x76\x91\x21\xec\x86\x2b\xb8\x9d\xfb\x3f\x4c\x28\x7f\x50\xce\
\x6b\x89\x51\x47\x3e\x87\x0e\xfe\xef\xc1\x8c\xd3\x6d\xf8\xbf\x17\
\xc7\x76\x45\xf1\xfd\x54\x23\x8a\x13\x28\xfa\x09\x33\x33\x9c\x84\
\x90\x6b\x6b\x34\xe7\xa9\xb7\xb9\xfc\xff\x90\x09\x24\xf1\xc3\x3f\
\xd8\x50\x06\x9e\x9f\xf7\x0c\x8d\xa5\x07\xe2\x4f\x9f\xb6\xf3\xfb\
\x34\xd7\x9f\xfa\xe6\xf2\x57\x60\x74\x58\x53\x98\x1f\xd3\x1e\x36\
\x24\xfd\x8c\xc2\x1f\x34\xc3\xcc\x10\x99\x87\x35\x24\x58\x88\x0c\
\x89\x9c\xa3\x10\x93\xbe\x1f\xfb\xee\x55\xb0\x25\x65\x0c\x2c\x89\
\xed\xc6\x7f\x8f\x25\xe8\xff\x25\xf1\xc3\x55\xa8\x4d\xa0\x35\xc3\
\x7e\x34\x81\xfa\xfb\xf5\xb6\xfc\x2f\x98\x40\x88\x5f\x1f\x0b\xbb\
\x20\xe6\xbf\x30\x26\xac\x99\x64\x82\x71\x6c\xa8\x55\x13\xa8\x84\
\xa7\xef\xff\x1c\xda\x88\x9f\x43\xc6\xef\xd2\x6c\x14\x3a\x54\xa0\
\x37\x42\xbc\x39\x8a\x09\x64\x8e\xe8\x48\x54\xcc\x20\x19\xe2\xe0\
\xf5\x8d\xe0\x71\x7e\x82\xe6\xf7\x12\x4b\xe3\xba\xf3\xe1\x63\x52\
\xd6\x71\x14\x5c\x26\x5c\x47\x8a\x99\x19\xf6\x5f\x5b\xab\x39\x4f\
\xfd\x27\xda\x04\x8a\xf8\x15\x60\x61\x6c\x07\x85\xdf\x8e\x36\xcf\
\xde\x04\x1a\xe1\x2b\xc0\xa4\x93\x5f\x68\xbe\xef\x7e\x7e\x3c\x6f\
\x79\xb1\x19\x07\x04\xa1\x1c\x63\x23\x1c\x44\xf1\x0f\x0a\x03\xc8\
\x1c\xb6\x62\x06\xf3\xc8\x10\xc6\x23\x43\xc8\xd5\xd5\xb0\x36\x71\
\x10\xac\x43\xe8\xf7\x26\x65\x1d\xd3\x91\x6c\xd1\x10\xa6\xc8\x40\
\x26\x50\x97\x87\xca\xf8\xe4\x99\x40\x88\xff\x09\x16\x6e\x51\x6c\
\x47\x1d\xbf\x5b\x32\x81\x74\x0f\x3f\xf1\x1d\xe7\x12\x30\xec\x60\
\x63\xcd\x77\x36\x25\x0f\x83\x93\xb7\x7c\x21\x26\x63\x3f\x27\x96\
\x73\xc0\x82\x11\x42\x75\xd1\x41\x1b\x0d\xf4\x86\xb0\x1c\x15\xf4\
\x91\x41\x26\x49\x8d\xc6\x0c\xc7\xcd\xa2\x83\xd6\x10\x64\x02\x75\
\xd9\xa8\x9e\xd8\x2c\x96\xfe\x64\x98\x40\x11\xbf\x22\x2c\x89\xeb\
\xa4\x40\x02\x06\x5c\x9e\xa7\xfc\x7b\xec\xb1\x16\x26\x13\x4c\x60\
\x95\xe9\x7e\xfe\xeb\x8b\x5f\x80\x81\x21\x0d\x35\xdf\x5b\x9d\xd8\
\x0f\x0e\xdf\x70\x41\xd1\x43\xcc\x90\x4d\x60\x6e\x84\x03\x28\xf8\
\x01\x43\x13\x28\x64\xa2\x21\x38\x5a\x23\x24\x18\x62\xa9\x8b\xd0\
\x1a\x22\x29\xeb\xa8\x85\xa8\xa0\x8f\x0c\x07\xae\xaf\x55\xca\xf7\
\x67\xf4\x37\xd0\xc0\xb5\x04\x94\x5b\x55\x54\x8a\x04\xdd\x59\x99\
\xc7\xd7\x04\x42\xfc\x06\x28\xfe\xd2\xb8\xce\x0a\xeb\x93\x06\x41\
\x44\x9a\x3f\x44\xa7\x07\x41\xd0\xd5\xa5\xca\xcf\xc7\x1e\x6b\x29\
\x99\xc0\x89\xdd\x6a\xe6\xfe\x0e\xfc\x15\xdd\x5e\xf9\xbf\x15\xf1\
\xbd\xc0\x1f\xfb\xf9\xb3\xe9\xc1\x9c\x98\x0c\x19\xad\x09\xb4\x46\
\xd8\x6f\xc5\x08\xe6\x51\x41\x90\xa9\x8d\x0a\x09\x1c\x7b\xf2\x85\
\x30\x6d\x54\xc8\x32\x36\x04\x19\x80\xc4\x97\xcb\x48\xe5\x6d\xe0\
\x5a\x52\x99\x5b\x50\x4c\xf0\x58\x46\x02\x59\xfc\xad\x15\xe1\xef\
\xf8\x2e\x0a\x1b\x92\x07\xa3\xf8\x7e\x28\xfe\x1e\x05\x32\x81\xfc\
\xff\xd3\x22\xda\x72\xd4\xdf\x71\x3d\x37\x06\x93\x2c\x6f\x14\x7e\
\x9f\x44\x06\x11\xcc\x31\x36\x42\x08\x0a\x1e\x62\x66\x04\x23\x33\
\xa8\x0c\x91\x19\xaa\x8a\x04\x6a\xcc\xcd\x60\x39\x2a\x24\x1a\x76\
\x11\x48\x16\xa1\x37\x02\x89\x2f\x97\x71\xce\x99\xff\x42\x43\x95\
\xf8\x8f\xb7\x09\x14\xf1\xdf\x86\x65\xf1\x5d\x15\x24\xf1\x7d\x51\
\xf4\x40\x81\xc9\x04\x7b\xd1\x04\xea\x63\x89\x55\x09\x7d\xb0\x7f\
\x74\x46\xd1\xf7\x9a\xb1\x4f\x8b\xc6\x08\x5a\x43\xc4\x5a\x34\xc3\
\x7e\x63\x23\x08\x33\xc4\x73\xac\x99\xe1\x90\xa1\x19\x12\x75\xa8\
\xcd\x20\x99\xe0\xc0\xf5\x35\x4a\x39\xe7\x9e\xe9\x60\x28\xfe\xe3\
\x69\x02\x21\x7e\x43\x14\x7f\x79\x42\x77\x85\x8d\x29\x3f\x09\xf1\
\x77\xab\x0c\xa0\x35\xc2\xde\xab\x7f\x2b\xc7\xfb\x5c\x9a\x06\xa7\
\xd3\x76\xc2\x19\xec\x26\x88\xb3\x1c\x95\x09\x32\xf6\xe9\x88\xe1\
\x68\x8d\x10\xab\x31\x81\xb1\x19\xe2\x34\x46\x38\x20\xa2\x81\x6c\
\x02\xcb\x66\x48\xd0\x60\x32\x41\xa2\x82\x30\x40\x96\x8c\x14\x0d\
\x48\x7c\xb9\x9c\xf3\xce\x76\xcc\x56\xfc\xc7\xcb\x04\x8a\xf8\x95\
\x60\x45\x42\x0f\x85\x4d\x29\x43\x70\xa8\xe6\x03\x51\xe9\x01\xc8\
\x6e\x61\x82\xdd\x86\x66\xd8\x77\xed\x6f\x38\x74\x63\x23\x8a\xbe\
\x47\x85\xda\x04\x41\xfa\x88\xa0\x33\x81\x91\x11\xac\x9b\x21\x2e\
\x1b\x33\xc4\x65\x63\x86\x04\x9d\x19\xf4\x91\x41\x36\x43\x28\x8a\
\x2f\xd7\xcb\xfc\xb3\x9d\xa0\xa1\x5b\x49\x9b\x6e\x38\x11\x7c\x25\
\xd2\x23\x6b\x02\x21\xfe\xa7\xdb\x2a\xc1\xca\xc4\x9e\x0a\x2e\x24\
\x7e\xda\x0e\x21\xbe\x89\x68\x4e\xf6\x66\xd0\x9a\x40\x42\x31\x41\
\x86\xcc\x5e\x33\xd4\x26\xd8\x07\x61\x37\x37\x43\xc8\xf5\x15\xb0\
\xfb\xca\x5c\x8e\xeb\xf9\x51\x0a\xf2\xcf\xf6\x5f\x5f\x09\xe1\xa9\
\x9e\x26\x13\x64\xca\x1c\xd0\x11\x6f\x21\x32\x24\x28\x58\x36\x03\
\x89\x2f\xd7\xcb\x82\x98\xce\xf0\xa9\x5b\x29\x9b\xc5\xd7\x2c\x47\
\x9b\xc0\xdc\xb1\xc6\x9f\x7f\x74\x4c\xa0\x12\x7f\x55\x62\x2f\x85\
\xb5\x49\xdf\x61\xcb\x47\xf1\xd3\x76\x49\xa4\xef\xb2\x60\x84\x00\
\x8b\x46\x38\xa3\x41\x6d\x04\x95\x19\xd2\x4d\x66\x38\x78\x63\x2d\
\xf8\x5f\x9e\x09\x5b\xce\x0d\xd3\x5c\xcb\xe8\x23\x2d\x61\xc8\x81\
\x26\xf0\x8d\xcf\x87\x86\xd0\xff\x4d\x0c\x6f\x03\x5e\x17\xfe\x40\
\x43\xac\xe2\xbf\x23\x4e\x63\x08\x73\x23\x18\x9b\x21\xc1\x82\x19\
\x42\xaf\x3b\x2b\xd7\xb2\x30\xa6\x8b\xdd\xe2\xeb\x4c\x30\x91\xb9\
\x61\xcd\x17\x7d\x64\xc4\xff\x6c\x5b\x65\x70\x4e\xea\xad\xb0\x2e\
\xb9\x1f\x84\xa5\xba\xa0\xc8\x3b\x05\xbb\x0c\xc8\xce\x04\x26\x33\
\x18\x9a\x20\x03\x0d\x20\x08\xbb\xb9\x09\x73\x86\xc9\xf8\x3b\xfb\
\x2b\xbf\x7f\x4c\x58\x2b\x68\xe9\x59\x0d\xaa\xad\x29\xc5\x1f\x00\
\xa1\xbb\x86\x74\xe3\xa8\xf5\xf6\x77\xa1\x95\x57\x55\xa0\x55\x44\
\x2d\x3c\xab\x40\x73\xcf\xca\xd0\xcc\xb3\x12\x7f\x6e\xe0\xd5\x45\
\xcf\x41\xb1\x79\x45\xa1\xe6\xa6\x72\x30\xe2\x60\x2b\xf0\xbd\x3c\
\x15\x4e\xa7\xfb\x59\x8c\x08\xf1\x16\x8d\x10\xaa\x31\x42\xe8\x0d\
\x67\x4d\xdd\x74\xda\xf9\x51\xb6\xcb\xcd\x6c\x36\x41\x81\x2f\x51\
\x57\x89\xbf\x26\xa9\x8f\xc2\x7a\x14\x22\xec\xa6\x0b\x44\xe2\x58\
\x3f\x32\x9d\xd8\x69\xc5\x08\xbb\x54\x26\xd0\x1b\xe2\x0c\x27\x50\
\x47\xc8\xb5\xe5\xd8\xc5\x0c\x56\x7e\xef\xe4\x13\x6d\x81\xae\x85\
\x44\xa4\x49\xa4\x66\x1e\xef\xc0\x0f\xc1\x0d\xc1\x29\xaa\x1d\xbf\
\xe1\x42\xb7\x5f\x69\x31\xc6\xec\xe8\x36\x7c\x8d\xde\x8c\xc8\xd6\
\x30\xed\x74\x4b\x98\x12\xd1\x1c\x26\x9d\x6a\x0a\x13\x4e\x35\x81\
\x9f\x0f\xd5\x85\x96\xdb\xdf\xc6\x0a\x7e\x16\xde\x58\xf2\x22\x0c\
\xdc\xd7\x14\xf6\x5c\x9d\xaf\x32\x81\xbe\x8b\xc8\xce\x08\xa7\x6e\
\x79\x6b\xea\x86\xf8\x33\xb2\x03\x14\x9b\xff\xd4\x63\x6e\x02\x45\
\xfc\x2a\xb0\x36\xf9\x5b\x85\x0d\x29\x03\x78\xcb\x8f\xc4\x96\x23\
\x89\x6f\x22\x4a\x63\x04\xbd\x21\x8c\x4d\x10\x20\x0c\x80\x64\x48\
\x84\x5c\x5f\x0e\x9b\xcf\xfd\xa4\xfc\xce\x01\xfb\x3e\x85\xf2\x2b\
\x5e\xe3\xc2\xb7\xf0\x78\x17\xfe\x38\xde\x1a\x96\xe2\xd8\x7a\x71\
\x5c\x27\x3e\xbf\x6e\xab\xf8\xe3\x4f\x36\x82\x71\x27\x3e\x85\xdf\
\xc3\x1b\xc0\x98\xe3\xf5\xa1\x5b\x60\x35\x28\xb9\xb4\x18\x3f\xf7\
\x9c\xd3\x7d\x79\x99\xe2\x32\x43\x04\x5a\x33\xc4\x6b\x8c\xa0\x35\
\xc3\xc6\x94\xef\x35\x75\x44\x54\x5b\x5b\x1a\x6a\x6e\x79\x3e\xc7\
\x06\x20\x68\xd9\x3a\x9b\xc9\x32\x51\x8d\xf2\xf9\x6b\x02\xe9\x59\
\xbb\xf0\x46\x28\xfe\xba\xe4\xbe\x0a\x54\x50\xa9\xe5\xfb\x69\x49\
\x37\x8a\x04\x5a\x13\x44\x1b\xa2\x8d\x06\x47\x6e\x6e\xc4\xbe\x7d\
\x88\xf2\xfb\xbe\xdf\xf7\x19\x6f\xa5\x44\xbf\xbd\x0d\x78\x66\xbd\
\x2c\xbe\x1b\x2c\x8d\xb3\x26\x7e\x2b\xab\xe2\x8f\x3a\x56\x17\x7e\
\x39\x5a\x1b\x46\x84\xd5\x84\x4f\xb6\x95\xe6\xe6\x1a\x14\xdc\x0c\
\x4e\xde\xf2\xcc\xc6\x04\x32\x5a\x23\xf8\x5f\x9e\xae\xa9\x27\xf9\
\xda\xa9\x05\xe7\x54\x7c\x5a\x86\xc6\x9f\x6f\xfc\x94\x2d\x45\x45\
\x5a\x22\xaf\xe5\xa7\xf8\xa9\x8d\x5c\xab\xc0\xfa\x94\xef\x14\x36\
\x9d\xfb\x01\x5b\xfe\x26\xde\x67\x46\x1a\x42\x11\xc0\x08\xeb\x46\
\x38\x9d\xe6\x03\xde\x97\xc6\x2b\xbf\x6b\xec\xd1\x2f\x79\xab\x24\
\xe1\xfb\xef\x6d\xc8\x13\xab\xbc\x12\x7f\xd8\x91\x8f\x60\xe8\xe1\
\x0f\xa0\xfd\xce\x8a\xf0\xec\xdc\xa7\x61\x50\x48\x73\x38\x99\xa6\
\x36\x81\x75\x23\x50\x8e\xa2\xae\x2b\x62\x59\x7c\x4f\x2e\x60\x4e\
\xba\x01\x65\x21\x6a\x1b\xe6\x8b\x8a\x4c\x40\x3a\x20\xa5\xf2\x43\
\xfc\x8a\x24\x7e\x63\xd7\x77\x30\xd4\xf7\x53\x70\x39\x37\x90\x17\
\x32\x32\xcd\xd7\x44\xba\x8c\xd6\x08\xd6\x4d\xb0\x13\x45\x97\xd9\
\x85\x59\xbd\x33\x9e\xff\x47\xfe\x7b\x96\xc7\xf7\x82\xda\x9b\x2a\
\xf0\xd6\xd8\x23\xa0\x1e\x26\x54\x7d\xf2\x45\xfc\x9f\x0e\xd5\x80\
\x41\x87\xde\x83\x4e\x01\x15\xa1\xe8\xdc\xa7\x60\xc2\xb1\xf6\xc2\
\x04\xc1\x66\x46\x30\x19\x22\x5e\x05\x8d\x50\xd4\xf5\x25\xf3\xde\
\xda\x32\x50\xcf\xb5\x58\x6e\xc4\x9f\x86\x0c\x42\xea\x21\x2f\xe6\
\xbd\x01\x66\xb0\xb7\xe9\x46\xcd\xc0\xe0\xc6\xb0\xf1\x5c\x7f\x85\
\x1d\x97\xc7\x63\xcb\xf7\xe1\x44\x72\x7c\x0d\x50\x9b\x40\x8d\xde\
\x08\xb2\x01\x02\xae\xce\x52\x7e\xc7\xc8\x43\x2d\x30\x71\x2a\x8a\
\x06\x28\x8f\x42\xf7\xc8\xa1\xf8\x2d\x72\x26\xfe\xc1\xf7\x60\xe0\
\xc1\x6a\xf0\x7d\x68\x55\x68\xec\x51\x92\x5f\xc7\xea\xc4\xfe\x28\
\xec\x6e\x61\x02\x35\x26\x23\xa8\x4d\xe0\x79\x71\x94\xa6\xce\x88\
\x8e\x7e\xb5\xa0\xd2\x9a\x67\xed\x4a\xfc\x28\x79\x64\xfd\xd8\x51\
\x21\xfe\x10\xa4\x11\xf2\x3a\xf2\x54\x7e\x74\x00\x4f\xb3\x1e\xe8\
\xbd\x99\x2c\xeb\xc7\xe0\x26\x18\xf6\x07\x28\xf8\x5f\x9e\xcc\x43\
\xb5\xc9\x04\x6a\x6c\x37\x41\x34\x72\x3a\xcd\x1b\x43\xfe\xef\xca\
\xb9\x1b\xbb\x56\xe5\xad\x7e\xf8\xc1\xe6\x3c\x81\x2a\x28\xf1\xfb\
\x1f\xa8\x02\xdf\xed\xaf\x04\xe5\x57\x15\xe3\xd7\xe4\x77\x79\x92\
\x81\x01\xcc\x4d\x20\xb1\xe7\xea\x1c\x4d\x7d\x11\xe3\x8f\x7d\x05\
\x6f\x2c\x2d\x62\x93\xf8\xca\x3e\x05\x83\x58\x04\xea\x30\x1d\x19\
\x86\x7c\x8e\x94\xb0\x6b\x49\x5d\xae\x0d\xc0\xb0\x1b\xf8\x84\xfd\
\x86\xd1\xe0\xce\x8f\x21\x4d\xc0\xe5\xfc\xf7\x0a\xfe\x57\xa6\x18\
\x88\xaf\x8f\x0a\x51\x1c\x3f\x03\xfc\x21\x22\xdd\x1b\x3c\x2f\x8d\
\xe2\xe7\x5b\x70\xb6\x3b\x54\x58\xf9\x3a\x0f\x95\xcb\xe2\x7a\x3e\
\x12\xe2\x7f\x1b\x52\x11\x3a\x04\x94\x85\xa2\x73\x9e\xe2\xd7\x17\
\x96\xba\x01\x85\xde\xa7\xc2\xd8\x0c\x47\x31\x3f\x52\xd7\x95\x5c\
\x3e\xca\x03\xcc\x43\x3c\x75\x0b\xef\xae\x7f\x8e\x8f\x12\x28\x42\
\xf0\x56\x4f\x09\xdf\x74\x76\x17\xc7\x5e\xf4\x28\xda\x2f\x48\x6b\
\xa4\x74\x7e\x8a\xcf\xc4\xd4\xe3\x4b\x48\x2d\x56\x87\x4d\x24\x13\
\x0c\x0a\xf9\x1c\xb6\x9c\x1f\xa8\xb0\xf3\xca\x54\x14\x79\x87\x40\
\x6f\x82\x28\x43\x24\x03\x1c\x4f\xdd\x0c\xdb\x2e\x0c\xe1\xe7\x99\
\x15\xd1\x11\x5e\xc0\x50\x4b\xf9\x06\x25\x4d\xb9\x13\xbf\x99\x24\
\xfe\x49\x7b\xc5\x7f\x57\x27\x7e\xef\xe0\xf2\xd0\x73\xdf\x5b\x50\
\xc9\xb9\x18\x34\xc1\x28\xe0\x71\x71\xa4\x99\x01\xb4\x26\x88\x17\
\x50\xf9\xd4\xf5\x24\x43\xc2\x52\x14\x90\x45\x2e\xb1\xe4\x25\xa8\
\xbe\xb6\x2c\x74\xf6\xaf\x03\xdf\x06\x36\x84\x09\xc7\xdb\xc1\xea\
\x84\xbe\xfc\x77\xf1\xbe\x7f\x0c\x4b\xc0\xfa\xff\x1a\x29\xc7\x0a\
\x68\xdb\x1a\xea\x6b\x5e\x56\x9b\x60\x70\x48\x53\xd8\x7a\xe1\x47\
\x85\x5d\x57\xd5\x26\xd0\x9b\x41\x67\x80\x0c\x5f\x38\x7e\x6b\x33\
\xb8\x5e\x1c\xca\xbf\x4f\xe7\x23\xf1\x29\xd7\x30\x89\xdf\x5b\x2f\
\x7e\x6c\xc1\x88\xdf\x7d\x6f\x59\x68\xbb\xb3\x04\xbf\x46\xba\xde\
\xc3\x37\x9d\x51\xec\xbd\x02\x63\x33\x90\x09\xd4\x75\x24\x43\x65\
\x1d\x75\xb8\x35\x4c\x08\xff\xda\xf0\xff\x65\xaa\xaf\x2b\xcb\x23\
\x03\xef\x06\x46\xf3\xed\x6a\x5e\x64\x05\xf8\xd1\x99\xe0\x27\x2c\
\xc8\xb6\x0b\x83\x14\x02\xaf\x39\x19\x98\x60\x87\xca\x04\x32\xbe\
\x10\x91\xe6\x85\x7d\xfe\x18\xfe\x3d\x3a\x4f\xb1\x02\x14\xbf\xd7\
\xde\x2a\xf0\xb5\x7f\x79\xbe\x2c\xab\xd6\xe6\xd7\xa0\xe6\xe6\xe2\
\xf0\xb1\xcb\xab\x50\x77\x6b\x71\x68\xb9\xa3\x04\x74\x0a\x2c\x0d\
\x5d\x83\x4a\x43\xe7\x3d\x25\xe1\xd5\xc5\x45\x60\x22\x0a\xb7\xe3\
\xf2\xef\x2a\x03\x58\x32\xc2\x3e\xf0\xbb\x32\x41\x53\x47\xf6\xf0\
\xc2\xfc\x67\x79\x1e\x40\xf0\x48\xf0\x2b\xef\x06\x8a\x3c\x1a\x26\
\x18\xc0\xbc\x4a\x62\xe8\x72\xbd\x38\x58\xe1\xd0\xcd\x55\x26\xd1\
\x33\x76\x60\x2b\xf7\x31\x24\x22\xdd\x13\x2b\xf0\x37\xfe\x9d\x9f\
\xf6\x37\xe3\xe2\x4f\x3f\xd5\x3e\xdf\xc4\xef\x17\x5c\x1d\x1a\xbb\
\x97\x85\x4a\xab\x5f\xe6\xe3\x7c\xde\xcf\x8e\x66\x29\x3c\xd9\xea\
\xc1\x0e\x28\x50\xe6\x4d\x3f\xc7\x30\x4d\xc2\xd7\xd9\xf6\x12\x54\
\x58\xfd\x2c\x74\xd9\x59\x97\x5f\x3b\x99\x39\x2e\x33\xc8\x64\x80\
\x2c\x35\xfb\x38\xfb\x6e\xcc\x03\xff\xab\x13\x39\x01\xd7\xa6\xc1\
\xfe\x9b\x4b\x38\x47\x52\xd7\xe2\xb0\xd2\x95\x13\x9d\xe1\x0f\x09\
\x59\x21\x18\x11\x5d\x94\xba\x5c\x9b\xd4\x5f\x93\x2b\x50\x24\xe0\
\x33\x80\x03\x58\xf3\xfc\xce\x01\xf4\x26\x68\x87\x7d\xd1\x2c\x96\
\x3e\xf9\x44\x7b\x70\xbb\xf8\x13\xc7\xef\xca\x78\x45\xfc\x28\x73\
\xcc\x0c\xe0\x77\x75\x3c\xff\xce\x90\xfd\xcd\x2d\x88\xdf\x33\x87\
\xe2\x7f\x9e\xad\xf8\xad\xbd\x2b\xc0\x5b\x2b\xc4\x6c\xda\x70\x16\
\xc3\xc7\xd5\xe5\xd8\x32\x46\xcf\x1b\xd3\x80\x97\xb1\xc9\xc8\x78\
\x64\x2c\xf2\xbb\xe0\x0f\xfe\xf3\xcf\x99\x9b\x6c\x86\x1a\xeb\xde\
\xe4\xd7\x7f\x24\xd5\x59\x18\x20\x48\x1f\x0d\xd0\x04\xf1\x9c\x7d\
\x06\x04\x2b\x24\x70\x42\x38\xa1\x37\x97\x2a\xf5\x39\x39\xbc\xbd\
\x6e\xb4\x40\x49\x22\x9b\x8a\xd7\xdd\x0a\x93\xf2\x7c\x1a\x02\x5a\
\x7a\x3c\xcb\xb3\xa9\x7b\x35\x70\xbf\x34\x44\x21\xec\xd6\x5a\x6c\
\xf5\xde\x0a\x51\x3c\x02\xa8\x91\xc4\x0f\xbc\x3e\x83\x1f\xff\x57\
\x54\x37\x1e\xe2\x46\x1c\x6c\x91\xa7\xe2\xff\x7c\xb8\x16\x34\x74\
\x2d\x2b\xb5\xf4\x3f\xd8\x15\x2e\xfa\x2b\x6c\xbe\x10\x9c\x66\xd4\
\x46\x89\xb1\x75\x3f\xa4\x2b\xd2\x4e\x64\xdb\x34\xd5\xda\x0a\xf9\
\x4a\xfc\xfc\x07\x9e\x89\xb7\x65\x9e\xef\xa3\x01\xa8\x0c\x41\xd7\
\x67\xa3\xd0\x41\x66\xec\xd5\x61\xd9\x08\xfb\x34\x46\x08\xbc\x36\
\x43\xa9\xcf\x7e\x41\x8d\xf8\x8a\x20\xf3\xa1\x61\xe9\xe5\xcf\xd0\
\x6d\xe1\x3d\x78\x2d\x2f\x14\xcc\xda\x80\xd9\xec\x73\x12\x6e\x43\
\xca\x0f\xe0\x71\x69\x28\x27\xe0\xda\x64\x6c\xf9\xdb\x11\x12\xde\
\x08\xc9\x04\x87\x52\x97\xf3\xe3\xe7\x08\xf1\xf5\x7d\xbe\xe3\xc4\
\x1f\x7e\xa4\x36\x7c\xea\xfa\xa6\x24\x3c\xb5\xdc\xba\xcc\x85\xd1\
\xde\x22\x8c\x4d\x12\xa2\xff\x20\xa6\x53\x69\x52\xe5\x7d\xe4\x6d\
\xa4\xac\x18\x63\xd3\x1c\x7b\x71\xc1\x1b\xe2\xe7\xef\x20\x0d\xd9\
\x7b\xec\x27\x8a\x02\x54\x8e\x5d\xd7\x68\x4e\x60\x8f\x8a\x20\x43\
\x43\xc4\x6b\x30\x36\x01\x19\xc0\x1f\x23\xa3\x5c\xa7\xed\xbc\x3f\
\xe6\x2d\xde\xe2\x1d\xc1\xdf\xd9\xc2\x82\x59\x1b\x30\x9b\x25\xf6\
\x0f\x6a\x0c\x9e\x97\x7f\x56\x38\x91\xbe\x15\x5b\xfd\x76\x81\x1c\
\x01\xb4\x84\xa7\xb9\x80\xf7\x95\x91\xb0\x31\x65\x20\xbc\xbd\xb2\
\x04\x7c\xe1\x55\xc3\x81\xe2\x37\xd6\x88\xff\x95\x4f\x65\x23\xe1\
\x27\x88\x89\x94\x6e\x48\x63\xa4\x9a\x18\x53\xbf\x24\xee\xaa\x59\
\x6b\x4d\x4f\x8b\x56\x57\x81\x0c\x40\xe5\xf6\xbd\xfa\x1b\x0a\xbc\
\xc7\x0c\xbd\x09\xe2\x75\x26\xd0\x9a\x21\x81\x13\xac\xa9\xd3\xf7\
\xd7\xbd\x65\x71\xca\x58\x99\x1a\x1e\x86\x19\x41\xbe\x26\x85\xb3\
\x59\xdf\x92\x4b\x5f\x86\xed\x97\x87\x29\x04\x5d\x9f\xc9\x85\x8f\
\xd2\xa1\x35\x80\xff\xd5\x3f\xf8\xf1\xcd\xdc\xab\xf3\x49\x1e\xbd\
\xf8\xdd\x73\x2e\xfe\x09\x49\xfc\xc1\xa1\xb5\xa0\xfc\xca\x97\x01\
\xdb\xf8\x2d\xec\xb3\x3d\x54\xc2\xff\x8c\x74\x12\xf3\xe7\xe5\x45\
\x22\x5b\x24\x87\x21\xf4\x19\x32\x80\x5c\xfe\xb8\xac\x40\x81\xde\
\x04\xf1\x3a\x2c\x1b\x21\x32\xc3\x4b\x53\xaf\x14\x21\x49\x68\x4b\
\xb3\x84\x3c\x29\x9c\xc5\x32\xd8\xf7\xac\x59\xfe\x25\x85\xd8\xfa\
\xa7\x9f\xea\x84\x2d\x79\xb8\xc2\xc9\xf4\x2d\x06\xe2\x6b\x0d\x10\
\x7c\x63\x0e\x3f\x76\x58\x68\x2b\x3e\xbd\x6b\x9a\xe1\x73\x9c\xf8\
\x2d\xbd\x2a\xc2\x73\x73\x8b\x48\x73\xe6\xaf\xb0\x79\x22\xa1\x1b\
\xae\x12\xfe\x2d\xa4\x58\xae\x93\xa7\x29\xd8\x2d\xa0\x01\xe4\xf2\
\x9b\x0c\x10\x68\x18\x0d\x6c\x35\xc1\x89\xb4\xcd\x9a\x7a\x35\x9f\
\x2d\x34\x82\x66\x0c\x79\x52\xf8\x05\x46\xa5\x3c\x4f\x0a\x67\xb3\
\xe1\x1f\xac\x7f\x0b\x76\x5c\x19\xa1\xb0\xfb\xfa\x24\x14\xd8\x4b\
\xb0\xdd\x90\x63\x69\xeb\xf8\xb1\xab\xe2\xfb\x73\x57\xd3\x6d\x5d\
\xc7\x89\xff\x19\xfc\x1a\x56\x1f\xaa\xae\x79\x4d\x6a\xf5\x52\xb8\
\xa7\x39\xf3\xdf\x90\xde\xbc\xcf\x96\x66\xcf\x8a\x39\xac\x82\x66\
\xb1\xa6\x95\x56\x95\x50\xea\x40\x6b\x00\xbd\x11\xe2\x35\x58\x36\
\xc2\xa1\xd4\x65\xca\x39\x67\x9c\xea\x6c\xf3\xba\x01\x1a\x29\xe0\
\xb8\xc5\x2b\xef\x93\x42\x27\x96\x34\xf3\x54\x17\xf0\xb9\x3a\x52\
\xe1\x78\xda\x5a\x14\xd9\x53\x65\x02\xbd\x11\x02\xae\xff\x1f\x3f\
\xf6\x83\xf5\xe5\xa0\xb5\x57\x75\x03\xf1\xbb\x9a\xc4\x8f\xb1\x4f\
\xfc\x01\x21\x1f\x43\xa9\xbf\x5f\x90\x86\x74\x52\xab\x9f\x24\x32\
\xfa\x2f\x91\xaa\x22\xd4\x3b\x36\x3c\xce\x60\xcd\xa8\x2c\x54\xa6\
\x5d\xd7\xc6\xa1\xc8\xbb\x2d\x98\x20\xd0\xc0\x00\x7b\xf4\x11\xe1\
\x76\x10\x24\x20\xc1\x37\x9d\x94\x7a\x1d\x11\xda\x9a\x67\xfb\x76\
\xdd\x2d\x1c\xc5\xef\x14\x16\xcd\xb3\xbe\xbf\xd2\xaa\x92\x98\xf4\
\xfc\xaa\xb0\xe7\xc6\x14\x03\xf1\xb5\x26\x38\x94\xba\x94\x1f\x3b\
\xfe\xe8\x37\x7c\x21\xc7\xd2\xd8\xee\x0e\x13\xbf\x77\xd0\xfb\x52\
\xc8\xa7\x09\x1b\x69\x48\x37\x56\xb4\xfa\xfa\x62\xa1\xc4\x33\x79\
\xd2\x22\x66\xb2\x29\xed\x7d\x6a\xf3\x72\x05\xdd\x98\x2e\x0c\xb0\
\xdb\xd0\x08\xf1\x9c\xec\x4d\x90\x20\x08\xbc\x3e\x59\xa9\xdb\x9e\
\x01\x0d\x0d\x47\x00\x56\xd7\x0b\x0c\xe6\xdd\x5d\x11\x47\x8b\x4f\
\xab\x81\x12\x47\x1e\xfc\x12\xfc\xae\x8d\x52\x38\x9a\xb6\x0a\xa2\
\x32\x3d\x05\x5e\x1a\xa2\x91\xc8\x0c\x77\xd8\x79\xfd\x37\x7e\x6c\
\xa9\xa5\xaf\xf0\x35\x7c\x8e\x12\xbf\x9d\xef\x3b\xd2\xec\x9d\xb4\
\x40\x62\xba\xb8\x53\xd6\x5e\x64\xf6\x2f\xe6\x69\x7f\x38\x8b\x6d\
\x1f\xb8\xaf\x19\x2f\xd7\xc1\xd4\x85\x28\x74\x80\x99\x09\x76\xa3\
\xb0\xbb\x85\xf8\xc8\x6d\x62\x8f\x05\xa4\xd6\x4f\xa8\xeb\xf6\x43\
\x8c\x30\xf6\x2e\x1a\xe1\x6b\x05\x27\xb2\x70\x31\x6c\x7d\xca\x5e\
\x91\x5f\x35\xd8\x76\x9d\xbf\x44\x81\xc4\x6b\xb8\xe5\x1d\xf0\xbf\
\x36\x5a\x61\xf7\xf5\xf1\xd8\xc2\x3d\x24\x14\x13\x78\x72\xe1\x65\
\x0e\xdd\x5a\xc8\x8f\xed\x15\xf0\x29\x54\x5b\x53\xda\x40\xfc\xce\
\xb9\x13\xbf\x3a\x73\xc6\x2b\x9f\x8a\x0c\x15\x93\x36\xe5\x44\x08\
\xcc\xdb\xc9\x11\x27\x96\xbc\xe4\x6c\x5f\x5e\x36\x6a\x04\x92\x01\
\x02\x0c\x0c\x60\x66\x04\x33\x33\x24\xa8\xa0\xfa\x52\xd7\x2f\xd5\
\xb9\xad\xdb\xd5\xc9\xd0\x6d\x64\xec\x06\x4e\xe0\x15\xd6\x16\x39\
\x8f\x55\xd1\xdb\x0b\xa1\x53\x49\xe8\x8f\xd6\x97\xe7\x42\xf7\xde\
\xfd\x19\x4c\x38\xde\x01\x66\x9f\xee\x8e\x2d\x78\x8c\x21\x61\x69\
\xcb\x51\x70\x73\xf1\x65\xb0\xf5\x67\xba\x41\xc0\x8d\xb1\xe0\x7e\
\x71\x18\xbc\x88\x89\x1f\xad\xd7\xcf\x03\xf1\x27\x89\xc9\x9c\x46\
\x22\xe4\x17\xc9\x87\x51\xd0\xc7\x54\x1e\xb9\x1e\xa2\x32\xdd\x21\
\xee\x76\x80\x86\xf8\xdb\xbb\x2d\x10\xa8\x90\xa0\x20\x19\x20\x22\
\x63\xb3\xa6\x7e\x6d\x19\x01\x18\x8e\x08\xfa\xf0\x19\xc2\xb6\x62\
\x32\xcb\xfa\x74\x6e\x07\xdf\xba\xfc\xb9\xfd\x5d\x18\xaa\x6d\x65\
\xf7\x8d\x71\x70\x3a\xd3\x55\x18\xc0\x43\x25\xbc\x89\xc3\xb7\x16\
\xf1\x63\x07\x05\x37\x87\x77\xd7\x94\xca\x2b\xf1\x69\xea\xb6\x8e\
\x98\xad\xcb\x9f\x71\xb0\x13\x1b\xd1\xca\xf3\x03\x51\x0f\x7f\xf0\
\x96\x1f\x7f\x5b\x66\xb7\x0d\x18\x99\x20\x10\x23\xc9\x0a\xa5\x7e\
\x97\xc6\x7c\xc7\x93\x3a\x7b\x0d\xc0\x47\x03\xcd\xd9\x26\xd1\x15\
\x96\xb4\xa5\x2f\x0b\xfe\x2b\xb2\x27\x16\xe4\x77\x85\xe0\xd4\xe9\
\xb0\x3f\x75\x16\x1c\x4e\x5b\xa8\x70\x14\x5b\xfb\x89\xf4\xb5\x0a\
\xd1\x5c\x74\x73\x4c\xe2\x47\x61\xeb\x0f\xc4\xca\xa1\xf3\x51\x28\
\xa3\xc7\xaf\xb4\xe2\x77\x74\x94\xf8\xb5\x44\x96\x9f\x7f\x37\x45\
\x9c\xd8\x89\x51\x87\xda\xf2\xb2\x1d\xba\x35\x5f\x25\xbe\x65\x23\
\x24\xe8\x08\xd4\x11\x7a\x6b\x8e\xa2\xc1\xa4\xe3\x1d\x6d\x5e\x32\
\xa6\x86\xdf\xe0\xaa\x88\x57\x28\x75\x87\xc5\x6d\x09\x67\xe0\x75\
\x69\x24\x04\xde\x1c\xcb\xd9\x7b\x73\x22\x17\x4f\x21\x8b\x70\xe7\
\x44\xeb\xf0\xb0\x80\x27\x1c\x4b\x5f\xc9\xcf\x37\x39\xbc\x13\x7f\
\x52\x27\xb7\xe2\xf7\xda\xf3\xfe\xa3\x21\xfe\x6c\x56\xf1\xc5\xf9\
\xcf\x29\x75\x16\x91\xb1\x09\x05\xde\x95\xad\x09\x0c\xc5\xbf\xa3\
\x27\x04\x1b\x9e\xac\x43\x9f\xdd\x8d\xec\x1a\x01\xc8\x6b\x07\x79\
\x1d\x31\x36\x12\xf9\x44\xcc\x09\x58\x2f\xcc\x9e\x9b\xe3\x14\x0e\
\xa2\x0b\xd5\x06\x88\x96\x31\x34\x80\xde\x04\x67\x04\x21\xa9\xd3\
\xf8\xf9\x3e\xdd\x5a\x15\xba\xee\xaa\xa5\x17\xff\xac\x7d\xe3\x7c\
\x3e\xd4\x6b\xc3\x7c\x0a\x54\x7c\xa9\xce\xe6\xb6\xf6\xfc\x90\x97\
\x2d\x38\x75\x8a\x10\x5f\x6f\x80\x04\x05\x49\xf4\x33\x59\x14\x15\
\x5d\xb1\xdb\xdc\x0c\xc7\xb1\x71\x10\x87\xd2\xe6\x61\xab\xff\x13\
\xf6\xdf\x9a\xa1\xd1\x40\xae\x37\x7b\x9f\x1e\xe2\xd3\xc2\xa3\x59\
\x32\x5e\xe5\x4f\x48\x0d\xeb\x4f\x0c\xcd\x62\x4d\x3f\xde\x50\x01\
\x82\x52\xff\x50\x38\x9e\xbe\x1c\x85\x74\x45\xdc\x2c\xa0\x35\xc0\
\x19\x8e\x87\x86\xc8\xcc\x2d\xfc\x5c\xde\x97\x7f\xe5\x21\x69\x7a\
\x44\xdb\x1c\x8b\xff\x4b\x58\x7d\x69\x92\x47\x1a\xe7\x4f\x15\x09\
\x5f\x9d\x02\x12\x9f\x46\x49\xa9\x2b\xe2\xbe\x17\x75\xb5\x02\xe2\
\xef\xec\x32\x03\x45\x47\x4e\x67\xba\xc0\xc1\xb4\x3f\x35\x75\x6b\
\x0f\x55\x56\x97\xb2\x7b\x04\xc0\xd7\x09\xf4\x64\x21\xa2\x81\xbc\
\x6d\x7d\x24\x34\x8b\x4d\xee\xe4\x57\x1f\xf6\xa6\x8e\x57\x38\x9d\
\xb9\x49\x18\xc0\xd5\xa2\x11\xce\x28\xc2\x9b\x23\x19\xe0\x78\xfa\
\x32\x7e\xae\xa9\x27\xba\xc0\x5b\xcb\x5f\x55\x89\xff\x5f\xbb\xc4\
\x1f\x17\xde\x10\x3e\xdc\x58\x42\x9a\xe1\x93\xc6\xf9\x43\x45\xb6\
\x5f\xbc\x40\x16\x42\xe0\xd0\x98\x1a\x8c\x5c\x57\x67\xb3\xb6\xab\
\x22\xc0\x2e\x14\xde\xc4\x21\x14\x5f\x5d\xaf\xd6\x58\x19\xf7\x03\
\xaf\xaf\xef\xf7\x36\x81\x5e\x81\xb5\xf9\x1a\x00\x7b\x9f\x1c\xe2\
\x09\x60\x33\xbe\x66\xb0\x33\x52\xc6\x96\xd9\xac\xf5\xdf\x05\x36\
\x81\x7d\xb7\xfe\x8f\xb3\xff\xd6\x54\x43\xe1\xcf\x28\xa8\xc4\xbe\
\xad\xc6\x43\xc3\xc1\x34\x27\x7e\xbe\x2f\xbc\x3e\x82\xaf\x76\x54\
\xcf\xb1\xf8\x6d\x7d\x2b\x9b\x2f\x87\x6e\x29\x86\x7a\x4f\x17\x80\
\xf8\xbc\xf5\xcf\x8f\xfa\x96\x97\xed\x68\xfa\x22\x6c\xed\x3b\x39\
\x6a\xe1\x89\x98\xdb\xde\x4a\x9d\x9a\x43\xdf\xff\xfd\xc8\x37\x30\
\x2c\xb4\x19\xb4\xf0\xac\x0c\x5f\xf9\x56\xe0\xa1\xde\xde\xd6\x6e\
\x04\x9f\x05\x94\x12\xc0\x56\xb6\x25\x80\x33\x59\xc8\x82\xe8\x6f\
\x21\xf8\xd6\x04\xce\x91\xf4\x79\x28\xae\xab\x0a\x37\x0b\xb8\xeb\
\xcc\x70\x96\xe3\xc1\x91\xcf\x57\xfa\xef\x57\xf9\x26\x8f\x39\x11\
\x7f\x70\x68\x4d\xa9\xdf\x97\x6e\xec\x8c\x13\xc3\x9a\x02\x5b\x0e\
\x4d\xad\xbf\xe6\x86\x8a\x4a\xd9\x62\x6f\x6f\x47\xb1\x77\xaa\x30\
\x19\xe0\x58\xc6\x62\xe5\x38\x35\x5f\x7a\x7d\xec\x10\xa1\x2d\x26\
\x80\x34\x02\xb0\x39\x01\x14\x23\x80\x6d\xe7\x87\x43\x48\xda\x44\
\xce\x89\xcc\x15\x28\xa6\xab\x01\x6e\x3a\xce\x72\xdc\x75\x9c\xce\
\x5c\xcf\xcf\xe5\x77\xf5\x37\x7e\x41\x92\xf8\xdf\xd8\x25\xfe\xef\
\xe1\x9f\x48\xf7\xf3\xa5\xc7\xa0\xe8\x76\xee\xb7\xc8\x7b\xac\xa0\
\x76\xc5\x10\xcf\x45\x3a\x27\xfc\xc8\xcb\x16\x9e\xb1\xcc\x4c\x7c\
\x13\xf1\x77\x7c\xe1\x40\xda\x54\xa5\x4e\x65\xe4\xfa\x20\xa1\xf2\
\xc2\x00\x22\x01\x4c\x11\x37\xc1\xde\xb7\x9e\x00\x8a\x57\xae\x1d\
\x48\x9b\xac\x10\x95\xb5\x89\x0b\x7e\x56\x83\x9b\x05\xf4\xe2\xc7\
\x60\xeb\x3f\x95\xb9\x9a\x9f\x6b\xe1\x99\xef\x80\x76\xf4\xb6\x5b\
\xfc\xe3\x9f\x40\x87\x9d\x55\xe5\xd0\x3f\x47\x14\xe8\x13\xb1\x62\
\xe7\x3f\x05\x64\x00\x8f\x2e\xfe\x0d\x78\xb9\x42\xd3\xa6\x41\xdc\
\x1d\x1f\x14\xdb\x5f\x27\x7e\x22\x72\x2a\x73\x95\xa6\x4e\x65\xfa\
\xed\x69\x6a\xb8\xb6\xcf\x51\xf0\x04\xb0\x1f\x0b\xc3\xab\xa5\xd5\
\x41\x95\x6c\x49\x00\x9b\xd6\xdc\xf8\x36\x84\xa6\x4f\xe1\x1c\x4a\
\x9f\x69\x26\xbc\x35\x13\x90\xe0\x2a\xee\x48\x9c\xc8\x5c\xc6\xcf\
\x37\x2e\xac\x03\xdf\x96\xc5\x5e\xf1\xc7\x1c\xaf\x07\xaf\x2c\x7c\
\x56\x1e\xf2\xd1\x6a\xdc\x36\xa2\xdf\x7f\xaa\x80\xc4\x6f\x4f\x43\
\xe5\x9d\xd7\xc6\xf2\x72\x45\x64\xad\x85\x84\xbb\xfe\x9c\x44\x85\
\x9d\x0a\x87\xd3\x67\x29\x75\x2a\x43\xdf\xa5\x73\xe4\x55\xf8\x57\
\x12\xc0\xaf\xf8\x7a\x80\xae\x62\xed\xa2\xd5\x19\xc0\x91\x5f\x6d\
\xaf\x09\x07\xd3\xa7\x72\x8e\x65\x2e\xb4\x2a\x7e\x8c\x21\x5a\x23\
\x1c\xcb\x98\xcf\xcf\xd7\x3f\xa8\x19\xdf\x93\xc7\x5e\xf1\x9b\x79\
\x96\x97\x43\x19\x0d\xf9\xfa\x8a\x3b\x7b\xcf\x14\x90\xf8\x3c\xf1\
\x9b\x75\xaa\x27\x2f\xd3\x51\x2c\x5b\x76\xe2\x47\xdd\xde\xa8\xd4\
\xa7\x1a\xaa\x8b\x9c\xcc\xea\xd9\x03\x5f\x0b\xf0\x01\x5b\x24\xd6\
\x40\xbc\x6e\xcb\x82\x86\x85\x03\xf0\xc2\x0e\x65\x4c\xe3\x44\x64\
\xad\x82\xb3\x77\x5c\x15\x62\x34\xb8\x19\x60\x6a\xf5\xb1\x2a\x8e\
\x65\xce\xe5\xe7\xa3\x73\xd3\x86\x4c\xf6\x88\x4f\xaf\x63\xe1\x8b\
\x38\xeb\xf2\xb9\xec\x91\x62\xd1\xe6\x2b\x05\x18\xfa\x83\xbe\xda\
\x5e\x8b\x97\xe7\x70\xc6\x4c\x0c\xfd\x5e\x2a\xe1\xf5\x26\x08\xcb\
\x98\xad\xd4\xa7\x4c\xc0\xf5\x3f\xf2\xbc\xf5\xd3\x70\x51\x24\x80\
\xbf\x22\x9f\xd9\xf6\xe8\x18\x8e\x00\x96\x9e\x1d\x80\x05\x9b\xce\
\x39\x73\x67\x13\x8a\xb9\xcd\x4c\x78\x63\x13\xc4\x6a\x30\x37\xc0\
\x3c\x7e\xbe\x01\x41\xcd\xf9\x6e\x5c\xb6\x8a\x3f\xea\x58\x1d\xfe\
\xba\x36\xd1\xfa\x27\x88\xb1\x6c\xf9\x02\x7b\xfa\x05\xb3\xfe\xaa\
\xce\x65\x60\xf7\x8d\xf1\xbc\x3c\xd1\xb7\x37\xa0\xc8\x7e\x02\xbd\
\x09\xa2\xb1\xf5\xcb\x75\xa9\x86\x0c\x94\x97\x7d\x3f\x41\xe6\x12\
\xf5\x46\x8b\x5e\x3f\xb2\x2d\x59\x76\x62\xb7\xe8\x55\x2b\x47\x32\
\x67\xc0\xd1\xcc\xd9\x16\xc5\x8f\xe5\xb8\x19\x73\xd7\x5d\xc7\xf1\
\xac\xf9\xfc\x9c\xdf\xa3\x01\x68\x2b\x36\x5b\xc5\xff\xe5\x68\x2d\
\x78\x79\x61\x51\xb9\xef\xff\x59\x2c\xe0\x2c\x56\x40\xe2\xf7\x7d\
\x69\xc1\x73\x20\xd7\xcf\xa9\xac\x65\x2a\xf1\xfd\x20\x89\xe3\x6f\
\xe2\x9e\x3f\x1a\xff\x2f\x7e\xac\x9a\x0d\x49\x43\xf3\x34\xf3\x37\
\x48\x00\xbf\x47\x2a\xdb\x96\x2f\xe1\x85\x85\x65\xce\xe4\x9c\xcc\
\x5a\x2c\x0c\xb0\x0d\x85\xdd\x26\x44\x37\x42\x6b\x80\x38\x8e\xbb\
\xc4\x5d\x89\x13\x59\x8b\xf8\x39\x7f\xd8\xdb\x82\xef\xc3\x67\xab\
\xf8\x9d\x03\xaa\x48\x0b\x3a\x19\x9b\x88\x74\x11\x63\xfe\x82\x98\
\xed\xe3\xfb\x20\xfd\x1d\xf3\x03\x2f\x47\x78\x16\xf5\xfb\x3b\x84\
\xe8\x06\xe2\xf3\xd6\xbf\x5e\xa9\x4b\x35\xb5\x37\x56\xb2\xfb\x86\
\x4e\x4e\xe0\x4f\x09\xd9\x95\x00\xce\x66\x9f\x57\x75\x2e\x0b\x47\
\xb3\x66\x71\xa2\xee\xac\xc6\xd6\x8b\xc2\xdf\x75\x35\xc0\x8d\x13\
\xa7\xc3\xdd\x90\xd3\xb7\x57\xf2\x73\x4e\x3c\xd6\x05\xde\x5b\x57\
\xc2\x26\xf1\x47\x84\x7d\x0c\xd5\xd7\xbf\x26\xbb\x98\xfa\xfe\x4f\
\x59\x41\x3c\x02\x2d\xc4\xa7\x6b\xa7\x32\x1c\xcb\xfa\x13\x12\xef\
\xa1\xf8\xf7\xfc\x0c\xf0\x57\x38\x8e\xc7\xc9\x75\x29\xf3\x4b\x68\
\xbb\x5c\xef\x07\x68\x6d\xfd\x1f\x85\x7e\x32\x18\x4f\x00\x1b\xb0\
\x95\xb6\x27\x80\xb3\xd8\x77\x9f\xbb\xd6\xc0\x02\x3a\x71\xa2\xee\
\x38\x63\x0e\xb0\x5e\xc5\x5a\x88\xbc\xb3\xc2\x8c\x95\xf8\xf3\x0d\
\x56\x8d\x10\x8d\xdf\xa5\x73\x2e\x8f\xfd\x11\x4a\x2f\x7b\xd1\x26\
\xf1\x87\x1d\xf9\x50\x4a\xfe\x6a\xb0\x15\x62\xd2\xa7\x72\xbe\xf7\
\xfd\x2a\xf1\xe9\xfa\x8f\x67\xfd\xc5\xcb\x63\x2c\xbe\x1f\x24\x73\
\xfc\x39\x31\x77\x5d\x94\xba\x24\xe8\x91\xf1\x97\x16\x38\x66\x7a\
\x97\xce\x41\x53\xc5\x24\x34\xb5\x74\xfe\x38\x98\xbc\x63\x08\xf5\
\xfb\x34\x59\xd6\x81\x05\x32\xe9\x31\xb7\x46\x62\xbe\xc4\xea\x08\
\x60\xea\xc0\xbd\xad\x20\xfc\xf6\x6c\xbb\x88\xbc\xb3\x1c\xe2\xef\
\xb9\x09\xdc\x0d\x89\xbd\xbb\x95\x1f\x4b\xb7\x4a\xe9\x42\xc7\x1c\
\x6b\x68\x55\xfc\x0e\xbb\x2a\xc9\xe1\x9f\x56\xf4\x7e\xc1\xf2\x6d\
\xdf\x3b\xad\xf8\x5f\x7b\xd7\xe1\xd7\x7e\xe2\xf6\x1c\x88\x47\xf1\
\x93\xef\xf9\x0a\xa1\xcd\xf1\xd7\x11\x8d\x8d\x48\xae\xa7\x49\xc7\
\xbb\xe6\xba\xf5\xf3\xc5\x9d\x24\x34\x3d\xc8\x4a\x42\xd3\xdd\x50\
\x5a\xfc\x2a\x4d\x8d\x3b\x31\xd3\x93\xcc\x93\xc4\x54\xf9\x77\x62\
\x06\xf0\x39\x9b\x56\x01\xcd\x8d\xec\x8b\x05\xfd\xd3\x2e\x4e\xde\
\x9e\xa7\x32\x80\x64\x82\x04\x03\x4e\xde\x9e\xcf\x8f\x7f\x17\xbb\
\x99\x2e\x01\xef\x99\xc4\x3f\xa6\x17\x9f\x36\x67\xa8\xb7\xb5\xa4\
\x1c\xfe\xe9\x6e\x5f\x4d\xdb\x0a\xe1\x58\xf1\x27\x1f\xef\x26\xca\
\x38\x17\xfb\x7c\x59\x7c\x5f\x9d\x09\x52\x34\xf8\x6b\xa0\x06\x22\
\xd7\xd5\xd7\xde\x75\xf9\xcd\x99\xec\x1e\xeb\xb2\x3a\xae\x37\x3d\
\xcf\x38\x4d\xe4\x46\x63\xc5\x50\x8f\x9e\x6d\xfc\x51\x88\xde\x45\
\x4c\x96\xd5\xb1\x7d\x25\xb0\x13\x4b\x5e\x15\x37\x18\x4e\xde\xf9\
\x4b\x03\xfd\x8c\x2a\xe2\xc7\x7d\xad\xa1\xce\xa6\xca\x5c\xc0\xb9\
\x91\xdf\x69\x8e\x89\xbb\xb7\x05\x45\x76\x33\x14\x5e\xc2\x03\xa2\
\xef\xae\xe6\xc7\x8e\x3a\xd4\x1e\x3e\xdc\x58\x52\x11\xff\x57\x03\
\xf1\x69\x67\x8e\xb2\xcb\x8b\x01\x6b\xca\xb6\x89\xf5\xfc\x15\xf2\
\x2d\xf9\x93\x56\x3f\xa7\x4e\xc1\x32\xd3\xf5\x9e\xba\x33\x8f\x97\
\x21\xf9\xbe\x2f\x27\x85\xe3\x67\x05\x7f\x85\xe4\xfb\x3e\x70\xfa\
\xce\x62\xa5\xae\xbe\xde\x91\x33\x13\xf0\x95\xbd\x52\x44\xa4\xc9\
\xb0\x11\xa2\x5b\xec\xc8\xa4\xc7\xd5\x3f\x13\x8d\xa4\xaa\xa8\xab\
\x32\xa2\xdf\x7f\xd1\xf6\x1b\x65\x18\x5a\x06\xa1\xc8\xbd\x76\x35\
\x46\xa1\xab\xf0\xfe\x8a\x7e\x46\x3b\x70\xd6\xda\x54\x8e\x6f\xa1\
\xfe\xd3\x81\xc6\x40\x6f\xfe\xa0\xe3\x4e\xdd\x99\xab\x70\xf6\xee\
\x1a\x45\xec\x44\x1d\x1e\x9c\xf8\x7b\xdb\xf8\xb1\xf4\x98\x33\x9d\
\x77\xe0\x81\x8f\xb8\xf8\x23\x51\xfc\xe1\x28\xfe\xcf\x28\xfe\x90\
\xc3\xef\x2b\x7b\xf2\xf0\xfe\x5f\x9a\xc5\x6a\x63\x5b\x12\xe3\x98\
\x71\x3e\x95\x7b\x5e\x64\x3f\x7e\xad\xa7\xef\x2c\xe4\x65\x48\x51\
\x84\xb7\x5d\xfc\x73\x2a\x92\xef\x7b\x43\xc4\x9d\xf9\x4a\x7d\x7d\
\xb3\xa3\x9e\xdd\x26\xe0\xad\x5f\x1a\x0e\x53\x42\xdc\x4c\x2c\xee\
\x28\x2d\xba\xc6\x97\x44\x84\xcc\x45\x23\x71\x62\x69\xb4\x23\x55\
\x27\xff\xda\x7c\xbf\xba\x79\xd1\x5d\x60\x5d\xca\x77\xb0\x26\xf9\
\x5b\x58\x9d\xd4\x9b\xbf\xd4\x80\x5e\x69\xf2\xed\x9e\x7a\xd0\xcc\
\xed\x03\x88\xb8\x3b\x4f\xe1\xf4\x5d\xac\xa8\xfb\xee\xd9\xe0\xc1\
\x89\xbe\xb7\x82\x1f\x4f\x15\x50\x63\xc3\xeb\x3a\xf1\x07\xa3\xf8\
\x3f\xa2\xf8\x3f\x84\xbe\x2b\xcf\x62\xd1\xfd\xfe\x86\xb6\xdd\xc6\
\xcc\xf5\xf4\x6e\x50\x35\xe7\x37\x61\xdb\xb9\x51\xfc\x1a\xa3\xef\
\x2e\xe3\xc2\x69\xc5\xd7\x9a\xe0\x9c\x0e\x21\xfa\x3f\x7a\x92\xee\
\x7b\x62\x3d\x2d\x50\xea\xcc\x1e\x13\xa8\x5a\x3f\xdd\x05\xed\x91\
\x37\x11\x51\x6c\xf8\x48\x1b\x1e\xd2\xb6\xa5\x46\xe2\xff\x1d\xdf\
\x95\xbf\xca\xed\xcd\x65\xaf\x61\x61\xe6\x6b\x88\xbf\xbf\x59\x23\
\x7a\x92\x82\x87\x42\xe2\x7d\x37\x88\xc4\x4a\xd8\x75\x75\x02\x8f\
\x30\x9d\x70\x9c\x6f\x24\x7e\xb7\x3d\x15\x65\x03\x50\xff\xff\x61\
\x9e\xde\xf2\x95\x9e\x81\x48\x6d\x8f\x82\x1c\x4c\x9b\xc9\xcb\x12\
\x73\x6f\x0d\x0a\xec\x83\x62\xfa\x1a\xe0\x67\x05\x7f\x1d\xe7\xff\
\x91\x48\xb8\xbf\x55\x53\x67\xed\x6d\x34\x81\xaa\xf5\xff\x22\xb2\
\xfa\x97\xf3\xa2\x2a\xca\xb2\x52\x98\x76\x8d\x67\x97\x68\xfb\xd5\
\x25\xb1\xdd\x75\xe2\x2f\x89\xeb\xcc\xdf\x64\x49\xe2\x04\x5c\x9b\
\x00\x91\xf7\x16\x28\x9c\xbd\xbf\x12\x92\xfe\x71\x37\xc3\x43\x47\
\xfc\xfd\x4d\xfc\xf8\xdf\x0e\x77\xe0\xb3\x7c\x3f\x1c\xa8\x8e\xe2\
\x57\x57\xc4\x1f\x70\xe0\x1d\x68\xe3\x5b\x56\x9e\xc6\xa4\x7d\x6f\
\xdf\xc9\x93\xfe\x5f\xbc\xb1\x9c\x8c\xb8\x30\x7a\x00\xbf\xa6\xe8\
\x7b\x4b\xd0\xa8\xae\xd8\x62\x7d\x54\xf8\x1a\xe0\x67\xc8\x79\x8e\
\x7f\xb6\xc4\xde\x5f\xa3\xa9\xb7\xba\x2e\x55\xb2\xbd\x29\x64\xd6\
\xfa\x7b\x8a\xd0\x9f\x27\xc3\x61\x0a\xb3\x1f\xb3\x12\x58\xe9\x63\
\x58\x62\xf9\x15\xc5\x61\x61\x4c\x67\x9d\xf8\xf4\x52\x63\xba\xa5\
\x3b\xfd\x44\x2f\x88\xba\xb7\x50\x21\xfa\xde\x62\x14\xd8\x8d\x0b\
\x9f\x8c\x42\x67\x47\xec\x7d\x67\xfe\x9d\xf6\x3b\xea\xc3\x1b\x4b\
\x9e\x83\x7e\x21\x55\x15\xf1\xfb\xed\xaf\x0c\x5f\xf8\x94\x91\x86\
\x3a\x8c\xf5\x67\x8c\x6f\x7a\xe4\x68\xf1\x87\x53\xab\x6f\xee\xf6\
\x21\x1c\x4e\x77\xe2\xd7\x12\x77\x7f\x1d\xa4\xfc\xe3\x6d\x28\xfc\
\x79\x0d\x7e\x56\xb0\x24\xfe\x4e\x8c\x80\xdb\x34\x75\x46\x75\x98\
\x5d\x04\xa0\x21\x23\x5f\xd2\x25\x65\xfe\x79\xda\xfa\x99\x68\x65\
\x2f\x8a\xa5\xc3\xdd\xd8\x10\x76\x8c\xd6\xee\xd3\xcb\x16\xd4\xe2\
\xd3\xfb\xed\xdb\xfb\xbd\x0f\xcd\xdd\x3f\x84\x33\xf7\x17\x69\x88\
\xbf\xbf\x1e\x05\xc6\xa4\x89\xe3\x61\x01\x4f\x4e\xec\xfd\xd5\xfc\
\x3b\xff\xf5\xf9\x04\x5e\x5f\xf2\x2c\xf4\x09\xae\xc4\xc5\xef\x1b\
\xf2\x36\xfe\xbd\x82\xdc\x05\x90\xe3\xdf\x72\x70\x86\x9f\xf8\xde\
\x9a\xb7\x60\x5d\xc2\x30\xfe\xfb\x63\x31\x72\x25\xa3\x71\xcf\x3f\
\xf0\x51\xe1\x6b\x91\x0b\x1c\x3f\x0b\xf8\x5b\x60\x27\x36\x8c\x6d\
\x9a\xba\xea\x13\xd0\xd4\x6a\xf8\xe7\x8f\x74\x49\x8b\x5f\x69\x5c\
\xdf\x5d\x34\x86\x3c\x9d\x0c\xa3\x5b\xac\xcf\x8b\xe1\x44\x07\x1c\
\x68\x04\xd0\xab\x5b\xe9\x8d\xde\xb2\xf8\x73\xce\xb4\x83\x71\xc7\
\x9b\xc1\xcb\x18\x3a\xe9\x56\xe7\xd9\xfb\x8b\x15\x62\xee\xff\x6d\
\x55\xfc\x73\x2a\xe2\x30\x12\xd0\xf7\xc8\x04\xb4\xed\x7a\xb3\xed\
\xa5\xb8\xf8\xbd\x82\xcb\x49\x06\x28\xc9\x06\x8a\xf9\xff\xdc\x86\
\x7a\x6a\xf1\x89\x6f\x2e\x7b\x1d\x66\x9e\xe8\x2d\xae\x75\x19\x8a\
\xb2\xc5\x4c\x78\x89\x0b\x1c\x5f\x0b\xd8\x26\xfe\x45\x15\xf1\xff\
\xac\xd3\xd4\x13\x95\xd7\x9a\xf8\xfc\x6e\x1e\xcd\xec\x95\x63\x4b\
\xc4\x8d\xb0\xfa\x79\x9e\x0c\xab\x4c\xf0\xac\x70\xdb\x57\x98\x22\
\xb9\x90\x09\x7a\xec\xae\xc5\xc5\xff\x33\xfa\x2b\x70\x8a\xfe\x12\
\x2a\xad\x7e\x0d\x66\x9e\xec\x03\x31\xff\x2c\xd1\x90\xfc\x60\x2b\
\x9c\x7b\xe0\x61\x86\xa7\x45\x12\x1f\x6c\xe4\xdf\x5b\x72\x66\x20\
\x90\x40\xa5\x96\x3d\x0b\x2d\xbc\xdf\x80\x92\x7f\x17\xa5\x9b\x19\
\x8b\x6d\x5b\xca\x64\x31\xb9\x73\x26\x23\xd5\x77\xa9\x0a\xeb\x13\
\x47\xf0\xdf\x13\xf7\x0f\xe6\x2a\x0f\xb6\x08\x91\x8d\xb0\x5d\xf8\
\x8b\x1a\xfc\x0d\x49\xf8\x67\xbd\xa6\x7e\x6c\x11\x5f\x79\x27\xa0\
\x34\x9d\x4b\x7b\x11\x7e\x23\xc6\xf6\xf9\x7a\x23\xec\x19\x11\x7e\
\x5b\xb2\x2f\xd8\x0a\xda\xfe\xb5\x5b\xc0\x47\x5c\xfc\x99\x51\xad\
\xa1\xd3\xce\x1a\x40\xa1\x34\xf6\x9f\xa5\x0a\x49\x0f\x36\x19\x88\
\x6f\x32\xc1\x79\x43\xbc\x20\xe5\x81\x2b\xb6\x92\xd5\x70\x2c\x73\
\x0e\xfc\x1c\xd2\x96\x1b\x81\x47\x80\xb1\x18\xfe\xfa\xf0\x09\x8f\
\x22\x36\x08\xfe\xb9\x68\xe9\x1e\xd4\xbf\xd3\xb5\x8d\x3b\xd2\x19\
\xf6\xde\x98\xca\xaf\x2d\x11\x5b\x61\xca\x03\x37\x14\x6e\x47\xb6\
\xe2\x5f\xcc\x16\x3f\x0b\x18\x8b\x9f\x88\xe2\xab\xeb\xa7\x83\x4f\
\x03\x9b\xc4\xe7\xad\x9f\xca\xff\x2a\xfb\x53\xac\xe7\xb3\x71\x3a\
\xd7\xf1\x9f\x22\x62\xed\x5d\x13\x56\x0b\x03\x12\x9a\xa0\xb6\xcb\
\x9b\x30\x3d\xb2\x25\xd4\xda\x54\x16\xbb\x81\x62\x10\xf7\xe0\x6f\
\x4e\xe2\x83\x75\x70\xfe\xa1\x87\x05\x3c\x2d\xe0\xa5\x21\xe5\xe1\
\x36\x48\x78\xb0\x9a\x9f\x6f\xe9\xd9\x41\xd0\x77\x77\x73\x34\x99\
\xe8\x0e\xa4\x3d\x09\x82\x0c\xe0\x8f\xb0\xd3\x71\x1d\xb1\x82\x9d\
\x4e\x7d\x0b\x7b\x6f\x4e\x13\xd7\xb4\x16\xcf\xb9\x15\x2e\x3c\xdc\
\x0e\x17\x1f\xee\x10\xf8\x58\xc1\xd7\x02\x7e\x1a\x2e\x29\xf8\x1b\
\x92\xf4\x60\x83\x52\x37\x84\xad\xe2\x6b\x5e\x0d\x3b\x9e\x5d\xc4\
\x26\xd8\x5e\x4c\xf6\x14\xd8\x4b\x21\x9f\x16\xf3\xc9\x0d\x70\x40\
\xf6\x1b\x0d\x13\x8b\x2f\x7a\x9e\x8b\xbf\xe3\xd2\x78\x88\x7f\x80\
\x7d\x29\x56\xb4\x25\xe1\x2f\xe8\xf0\xb2\xca\xf9\x87\x98\x47\x3c\
\x74\x41\x01\x9d\xf9\xf9\x09\xfa\x5d\x9b\x92\x7e\xd1\xb1\xef\xe6\
\x74\xe5\x98\xc4\x07\x6b\xb0\x0b\xda\x08\xe7\xd0\x48\xf6\x89\x2e\
\x09\x7f\xc9\x10\x3f\x2b\xe8\xc5\xa7\x6b\x90\xaf\x89\xe8\x68\xa7\
\xf8\x1a\x13\xd0\x4e\x5f\x1d\xd8\x9b\xac\x80\xdf\x0a\x4a\x26\x78\
\x95\xd1\x0e\x13\x23\x58\x08\x89\xef\x73\x79\x3c\x24\x3c\x5c\x0e\
\x49\x0f\x57\x63\x65\x7b\x98\xe1\x69\x01\x93\xc8\x17\x2d\xb2\x5d\
\xc7\x05\x34\xc4\xf9\x87\x38\x3e\xc7\xd6\x4c\xc6\x90\x39\xff\xd0\
\x8d\x73\xf1\x5f\x3c\xee\xdf\x1d\x0a\x97\x74\xf8\x58\xc1\xd7\x02\
\x7e\x3a\x2e\x6b\xf0\xd7\x40\xdf\x49\x79\xb8\x89\xd7\x8b\x4c\x47\
\xdf\x86\xbc\x3f\xcf\xe9\x0d\xa0\x47\xe9\x25\xd1\x4f\x61\x17\xb0\
\xa1\x3a\x86\xda\x93\xb7\x17\x40\xe2\xc3\x15\x28\xbe\x33\x17\xe7\
\x22\x8a\x6e\xc2\xd3\x02\x5e\x36\xa0\x17\xff\xd2\x43\x6f\x1b\xd8\
\xa1\xc5\x0e\x13\x5c\x46\xd1\xb2\xc7\xcf\x02\xfe\x66\xf8\x42\xf2\
\xc3\xb5\xbc\x5e\x64\x3a\x09\xf1\x73\xbb\x00\xe4\xd1\x30\x01\x66\
\xd4\xd5\xd7\x96\x83\x53\x77\x16\x42\xd2\xbf\xab\x20\xf9\x5f\x6c\
\xf9\xff\xba\x62\x8b\x43\xd1\xff\xf5\x34\xc0\xcb\x90\x4b\x1a\xb6\
\x5b\xc0\xdb\x0a\xc6\x22\x5f\xd6\xe0\x63\x81\xec\x05\xa7\x6b\x3f\
\xff\x2f\x46\x9a\x7f\xd7\x73\xa4\xb2\xae\xc1\x9f\x6d\x86\x2b\x28\
\xb4\x31\xd8\xf2\xff\x5d\xc7\x8f\x95\xe9\xe4\xfb\xa9\x43\xc4\x7f\
\x34\x4c\xc0\xc5\x2f\x0f\x11\x77\x16\x61\x41\x57\x23\xce\x58\x51\
\xae\x58\xe9\x9e\x86\x5c\x46\x71\xad\xb3\xdd\x02\xde\x56\x30\x89\
\x7c\xc5\x22\x3e\x16\xf0\x35\xe4\x12\x9a\xf8\xfc\xbf\x1b\x79\xb9\
\xa4\xf2\x19\x73\xe1\x5f\x17\xb8\x8a\x82\xab\xb9\x82\xd1\xe0\x1c\
\x37\x8b\xe9\x38\x47\x8b\xaf\x59\xe7\x37\x95\x1d\x66\xf9\xfa\xa6\
\x70\x14\xbf\x06\x8a\x7f\xfa\xee\x62\x38\x07\xce\x9c\x8b\xb0\x05\
\x2e\x83\xa7\x05\xbc\x6c\x60\x3b\xe7\x8a\x06\x6f\x1b\xd8\x61\x03\
\x3e\x3a\xae\x82\xaf\x0e\x3a\xdf\x45\xd8\x8a\xe5\x59\xa3\x94\xcb\
\x9c\x95\xb1\x43\xa1\xc1\xe6\x6a\xe0\x7f\x65\x92\xf2\xb3\x0b\xb0\
\x49\x9c\x03\x0d\x00\x7e\x70\x1e\xd6\x6b\xbe\xd3\xd9\x2f\x6f\xc4\
\x57\xf6\xfb\xeb\xce\x27\x86\xaa\x8a\xb9\x9a\xfc\x11\x3f\xd2\x66\
\xf1\x73\x66\x04\xfb\xcd\x90\x33\x23\x48\x60\x6e\x01\x9b\x2d\x8a\
\x4e\x1c\x4c\x9b\x0d\xad\x3d\x6a\xf1\x0a\xaf\xbb\xa2\x0e\x94\x58\
\x50\x52\x63\x82\xf3\xb0\x81\x9f\x8b\xfe\xd4\x8a\xff\x59\x9e\x88\
\xcf\x6f\x08\xd1\x50\x58\xba\x23\x38\x4a\xac\x07\x78\x35\xaf\xc5\
\x1f\xfe\xd6\xf2\x37\x34\xe2\x4b\x06\x70\x41\xc1\x3c\x0c\xb0\xdd\
\x14\x97\xc0\x9d\xe3\x38\x43\x58\x37\x05\x5d\xe3\x05\xd8\x98\xad\
\xf0\xc4\xc8\x03\xed\xf9\x10\x57\xb3\x19\xc3\xea\xae\x50\x79\xe1\
\x07\x1a\x13\x98\x93\x0f\xe2\xcb\x6f\x06\x1d\x2c\xa6\x85\xf3\x78\
\x85\xf4\x14\x1c\xf2\x39\xb1\xb4\x39\xa7\xfb\xeb\x0a\x7b\x01\x9d\
\x7f\x09\xdc\xb0\x52\xdd\x05\x1e\x36\x9b\xe2\x12\xb8\x2a\x61\xf7\
\x3c\xac\xc5\x73\xb9\xa0\xa9\xb6\x65\x13\x35\x72\x1f\x25\xa4\x50\
\x9f\xbd\xf0\x54\x4e\x32\x3c\xdd\x9a\x35\x5a\xb9\xdb\x63\xd5\x50\
\xa8\xb4\xe0\x7d\x43\x13\xe4\xa3\xf8\x43\xc4\xa3\x71\xf9\xf2\x72\
\xc8\xe7\x59\x5b\xd6\x0d\x87\x7e\xb7\xa9\x55\x98\x17\xfa\x3c\xac\
\xe3\xc2\x99\x5a\xb3\xbb\x55\x43\x50\xf7\x91\x9d\x08\x74\x4e\xc9\
\x10\x5b\x2d\x44\x88\x9c\x19\x82\xce\x69\x4d\x78\x5a\x74\x61\x6d\
\x03\xa6\xee\x2b\x87\xc0\x47\xf3\x9b\x6b\x4c\xf0\xa4\x8a\xcf\x44\
\x92\x51\x8d\xd5\x63\x7f\xd0\x14\x30\x15\x54\x5f\x81\x6b\x14\xb1\
\x8c\x50\x9b\x82\x92\x27\x6b\xad\xd0\xb2\x29\x36\xe2\xf9\x3c\x72\
\x9c\x4b\x5c\x30\xeb\xab\xa9\x5b\x9b\x78\xb4\xbb\xcd\xc2\xab\xe9\
\xb3\x62\x34\xd4\x9d\xdf\x8e\x9b\xe0\x49\x16\x5f\x5e\x1f\xa0\x79\
\x17\xa0\xb1\x09\x9c\x79\x0b\xa3\x2e\x41\x8b\xc9\x08\xb6\xf4\xbd\
\xd6\x90\x0c\x95\xb3\x91\x06\x75\x35\xea\x04\xef\xdd\xb5\xd2\xb3\
\xf3\xf6\x6e\xba\x2c\xd3\x7b\xf9\x28\x68\x30\xa3\xff\x13\x2d\x7e\
\x0e\x4c\xb0\x81\xf7\xef\x5a\x13\xb8\xf2\x16\xac\x3e\x6e\xc0\xde\
\xc6\x50\x63\x7d\x29\x1e\x7a\xcd\x13\xcc\xec\xc8\xcd\x88\x43\x7d\
\x9e\xad\x29\x63\x1c\x22\x5a\xdf\x39\x0b\xa0\xe7\xdf\xbf\x38\x5e\
\x7c\x5a\x03\x20\xad\x00\x2a\x70\xf1\xed\x36\x01\xb5\xb4\x4b\x3c\
\x2f\x70\xe5\x7f\x1a\x89\x4f\x95\x4f\xf0\xdd\x2b\xd0\xe9\x34\xdc\
\x22\x33\x50\xcb\xcc\xae\x1b\xc8\xf9\x88\xc3\x43\x97\xe5\x3b\x42\
\xac\x6f\xfc\xca\x40\x9f\x3f\xe7\x41\xf7\xa5\x23\x1d\x2b\xbe\xb4\
\xeb\xe9\x64\xb1\x1e\xb2\x51\x41\x8b\x6f\xb7\x09\xa4\xbc\xc0\x45\
\x37\xc1\x22\x8b\x6f\xbe\x8b\x15\x3d\xee\xc4\x67\xb8\xd0\x0c\xd4\
\x27\x93\x21\x48\x24\xf5\xe8\x83\x26\x5b\x72\x32\xe2\x30\x8d\x3a\
\x4c\xd7\x31\xe6\xc8\x97\x0e\x6b\xb1\x64\x82\x5e\xb3\xe7\x40\xb7\
\xc5\xc3\x1d\x29\xfe\x24\xb1\x06\xa0\xbe\x78\x1e\xa2\xc0\xc5\x37\
\x36\xc1\x64\x96\x6a\xd9\x04\xda\x84\xab\xed\xf6\xda\x36\x3d\x0f\
\x4f\xb3\x5d\xf2\x43\x8f\x94\x9c\x51\xb8\x96\x67\xdf\xb2\x4b\x30\
\xb3\x33\x84\xf9\x10\xb0\xcb\xae\x0f\x1c\x1a\xb6\xc9\x04\x3d\x66\
\xfd\x05\x5d\x17\x0d\x73\x94\xf8\xfd\x98\xb4\xaf\xff\x2b\xac\x40\
\xdf\x00\x6a\xcd\x04\x25\xd8\x4f\xb4\x36\x20\x3b\x13\x90\xf8\x1f\
\x6d\xa8\x90\xa3\x5b\xa1\x94\x60\x99\x0c\xe0\x62\x31\xc1\xb4\x66\
\x88\x8b\x66\x43\x40\x7a\xe9\xb3\xa3\x1f\xcb\x26\x13\xb4\x73\x1a\
\x0d\x55\x16\x55\xb6\x2b\xbf\xb0\x20\x7e\xc1\xec\x77\x9c\x03\x13\
\x7c\xcc\x17\x6d\x8e\x67\x17\x8d\x4c\x90\x1b\xf1\xe5\x2d\xce\xd5\
\xd3\xcf\xfa\x51\x46\xf6\x86\xb8\x64\x30\xfc\xa4\x6b\xca\x8b\x7d\
\x79\x28\x62\xf1\x79\xfa\x3f\xd8\x15\x5b\x47\x06\x8f\xab\xf8\x6a\
\x13\xd0\x0a\xd5\xea\xe2\x61\x12\x8d\x09\x72\x2b\xbe\xb9\x01\x2e\
\xf1\xb9\x06\x57\x15\x6e\x36\x20\x99\x40\x7d\xb3\x86\x22\x8a\x23\
\xb7\x66\x21\x33\xf1\xc5\x9b\xf4\x0c\x83\xfc\xd4\xee\x20\x76\xca\
\x9a\x09\x1e\x77\xf1\xcd\x97\x90\x57\x53\x9b\x80\xc4\xa7\x1b\x48\
\x39\x1d\x63\x1b\x1b\x60\x9b\x0a\x57\x03\x64\xd1\xb7\xf1\x3e\x9f\
\x5a\x3d\x09\xaf\x1e\xff\x13\x34\xf9\xe3\xa8\x2d\x58\xf9\x28\x86\
\x44\x94\x56\xee\xd2\xe3\xda\x13\x99\xfc\x88\xf6\x10\x76\xd4\x92\
\x09\x9e\x14\xf1\x2d\x9a\x80\x6e\xa4\xd8\xbb\xa7\x7d\x76\x06\x20\
\x11\x2f\x6a\x0c\x20\xb3\x95\xdf\xd5\x93\xc4\x5e\x97\xed\x6d\x5d\
\x47\x8d\x00\x48\x78\xb1\x30\xe3\x2e\xdf\x9c\x41\x7a\x1f\x21\x3d\
\xae\xfd\x2b\x93\xde\x3b\x5c\x5f\x3c\xcb\xd8\x8e\x0d\x65\x61\xe6\
\xeb\x00\x9f\x34\xf1\x2d\x9a\x20\x37\x6b\xe0\x64\xaa\xae\x29\xa9\
\x9a\x0a\x96\x85\xde\x60\xb3\xd8\x6a\x68\xda\x96\xee\xed\xd7\xdd\
\x52\x26\xc7\xa1\x9e\x0f\x55\x49\x3c\xd3\xeb\x67\x69\xa2\x86\xde\
\x42\x4a\x1b\x32\x7c\x2e\x9e\xa3\x78\x41\x4c\xa1\x97\xe7\xcf\x54\
\xa8\x4c\xf0\xa4\x8a\xaf\x37\x01\xed\x4a\xd5\x07\xc3\x22\xb6\xe0\
\xdc\xec\x86\xd5\x76\xc7\xfb\x76\x89\x4c\x5d\x0f\xf5\xf1\x34\x7f\
\x40\xf3\x08\xb4\x90\x83\xe6\x15\xe8\x3a\x68\x48\x99\xd3\xa9\x5f\
\x25\xd4\x9b\x5a\x3c\x09\xff\xbb\x10\x90\xb6\xaa\x7f\x57\xdc\x9b\
\x2f\x62\xf6\x4c\x85\xc6\x04\x4f\xb2\xf8\xe6\x26\xa0\x0a\xe9\xc8\
\x3e\x62\x73\x31\x39\xba\x9c\xd3\x68\x60\xc9\x00\x34\x63\x48\x42\
\x93\xc8\x94\x73\x90\xd0\xd4\xed\x90\xd0\x24\x16\xb5\x54\x32\x1e\
\x89\x9d\xdb\x28\x44\xdf\x17\x4f\xe6\xce\x52\xb5\x78\x7a\x60\x95\
\x76\xe5\x78\x4f\xac\xd7\xb7\xf4\x16\x52\x93\x09\xba\x31\x2f\x56\
\x83\xad\x7a\x92\xc5\x57\x9b\x80\x9e\x60\xa9\x20\x5a\xc7\x20\xd6\
\x9b\xed\xa5\x16\x40\x33\x7e\xf6\x54\x7e\x63\xb7\x4a\x3c\x6c\x93\
\xd0\x34\x3b\x48\x89\x25\x89\x4c\xe7\x22\xa1\xe9\xc1\x49\x12\x9a\
\xc2\x73\x1e\x6f\xb7\x4e\xef\xdb\xf9\x3f\x31\x3b\xd7\x42\x44\xb9\
\xd7\x99\x6d\xaf\x9f\x95\x4d\xd0\x46\x4c\xed\xf6\x79\x92\xc5\x37\
\x7f\xa2\xe8\x0d\x51\xd8\xae\x3c\x1a\x60\x4b\x22\xe1\xac\x89\x45\
\x99\xb3\xb2\xed\x99\xe8\x46\x1c\xf5\xf6\x8c\x1c\xed\xb6\x29\xbd\
\x6f\x67\xa0\x28\x4b\x71\x66\xff\x7b\x87\xe9\x78\x7a\xb0\xa3\xa6\
\x30\xcf\x13\x2f\xbe\x7a\xae\xa0\x98\x48\x8e\x5a\x62\x9b\xf9\x05\
\x83\xe7\xa1\xec\xa2\x01\x85\x5c\x2e\xfe\x20\x16\x81\x69\x95\x07\
\x99\xc6\x11\x09\x65\xae\x56\xe1\x76\x62\xfe\x78\xfd\xf4\xe2\xe5\
\xd2\xb9\x6c\x10\xcf\x8b\x04\xf1\x7f\x42\x7c\xa3\x68\x40\x5b\x96\
\xf5\x64\x0d\xd9\x72\x39\x1a\xa8\xc7\xc9\xca\xaa\x57\xe9\x8d\x20\
\x33\x44\xd8\x1d\xcb\x7a\xb1\x7d\x94\x40\x51\xc8\xcf\xab\x1d\x36\
\xb3\x4d\x00\x1b\xf0\x8d\x2a\xf3\x7f\x9f\xc2\x27\x30\x1a\xd0\x10\
\x89\xb6\x7b\xf9\x12\xa3\xc1\x28\x39\x1a\x50\x3f\x6b\xb6\x08\x42\
\x7e\xe3\xb7\xbc\x05\x5a\x4f\xf6\x36\x1a\x62\x34\x4b\xa2\x6c\x3e\
\xb7\x13\x4c\x76\xbf\x71\xb3\x38\x37\x62\x63\x96\x87\x3b\x73\xfc\
\xaf\x7c\xfe\x23\xfa\xc3\x52\x62\xc2\xa4\x17\x76\x0c\xeb\xe8\xd6\
\xb2\xd9\x22\x88\x61\x42\xf8\x0a\xa2\xd5\x55\x16\xc9\xd7\xf7\xfc\
\xfd\xb7\x78\xac\x2d\xb9\x84\x43\x5e\xb8\x24\xbd\x71\x73\xb8\xb8\
\x3b\xf7\x7c\xa1\x84\x8e\x8b\x06\x2f\x8a\x68\xd0\x06\xa3\xc1\x68\
\x94\x7a\x81\x6a\x11\x44\x13\xd1\xdf\x16\x51\x75\x21\xaf\x89\x19\
\xb6\x0e\xf8\xb7\xb1\x18\x3d\x0e\x53\xf4\xc8\xcb\x5d\xb7\xc5\x7e\
\xfb\x34\x02\x18\x2c\x92\xb7\xa7\x0b\xa5\x73\x7c\x34\x20\xa1\x69\
\x1f\xc0\x1e\x02\x4b\x8b\x20\xe4\xe1\x25\x6d\x58\x41\xbb\x62\x7e\
\x8b\x76\x58\x40\xf3\x0c\xd4\x2d\xe4\xd5\x1d\x3e\x34\xda\x11\x31\
\xd3\x57\x91\x15\xf0\x93\xb9\x4f\xea\xe7\x69\xd1\xb7\x56\x10\x58\
\x1b\x22\xc9\xc7\xbf\xcb\xa4\x6d\xd0\x07\xf3\x2c\x1d\x43\x75\x4e\
\xde\xaa\x99\xdd\x04\x10\x1f\x01\xf4\x66\x7b\x99\xb4\xef\x6e\x99\
\x42\xa9\xf2\x36\x1a\x3c\x25\xc4\xfd\x8f\x1d\xd1\xa3\xa4\xe8\x9b\
\xbb\x62\xb7\x30\x9e\x8d\x60\x67\xa8\x5b\xb0\xe7\x46\x14\x09\x4d\
\x49\xa5\x6e\xdb\x75\x9a\xfd\xa3\x7d\x0a\x2b\xf2\x2d\x5a\xbe\x12\
\xa3\x98\xc2\xcf\x23\x3a\xcf\x50\x41\xdc\x8c\xe9\xc7\x5f\x90\x20\
\x86\x98\xea\xb9\x03\x4a\xe8\x0c\x85\x56\xef\xaf\xaf\xdf\x76\x9d\
\x46\x23\xb4\x29\x73\x9e\xee\xcd\x57\xf8\x71\xcc\x3c\x03\xdd\x8c\
\xa9\x8e\x7c\x8d\x19\xc4\x18\x1e\xba\xc5\xbd\x01\xc3\x17\x29\x90\
\xd0\xaf\xb0\xf9\x4c\xbf\xbf\xfe\x28\x31\x0a\x19\xc8\xa4\xdd\xb8\
\xa9\x9b\xa1\x5d\xca\x8a\x16\x56\xf3\xa3\xdf\x8d\x14\x15\x7d\xf5\
\x27\x62\xee\x60\x26\xa6\x94\x1b\x2c\x08\x3d\x5a\x0c\xef\x06\x33\
\xd3\xfe\xfa\x5f\x8a\xd6\x5e\x53\x8c\x50\x68\x0e\xbf\x84\x48\x3e\
\x0b\x13\xc0\xc7\x6c\x88\x59\x85\x49\x6f\xcb\xa6\x3b\x77\x43\xcd\
\x84\x6e\x23\x86\x9a\xb5\xc5\xf0\xae\x22\x33\xed\xaf\xef\x80\x6d\
\xd7\x0b\x3f\x8f\xca\x10\x93\x04\xad\x2a\xe6\x0f\xcc\x85\x7e\x59\
\x4c\xec\x3c\x5d\xd8\xba\x9f\x6c\x23\x14\x11\x5d\x43\xa1\xd0\x85\
\x9f\xc2\x4f\xe1\xa7\xf0\x53\xf8\x29\xfc\x68\x3f\xff\x0f\x1d\xf6\
\x57\xee\x7c\x6e\x76\x4b\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\
\x60\x82\
\x00\x00\x07\x72\
\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\x07\x39\x49\x44\x41\x54\x78\x5e\xa5\x97\x6b\x6c\x14\xd7\
\x19\x86\x9f\x33\x33\x7b\xf1\xda\xbb\x5e\xdb\xf1\x05\x1a\xb0\x21\
\xb8\x01\x43\x02\x85\xa6\x51\x29\x14\x2b\xa2\x49\x14\x89\x5f\x6d\
\x41\x55\xc9\x45\x28\x42\x02\xa7\x28\x4d\xaa\xfe\xea\x45\xe2\x47\
\xfe\x94\x44\x51\x4a\x93\x8a\xaa\x45\x4d\xa3\x46\x8a\x5a\x95\x48\
\x16\x69\x68\x43\x21\xad\x02\x82\x16\x62\x2e\x36\x36\xc6\x57\xf0\
\x8d\xb5\xbd\x17\xef\xee\xec\xce\xe5\x74\x38\x5a\x65\xd5\xf5\x62\
\x0b\xfa\x4a\xaf\xce\x68\xce\x1c\x7d\xcf\xf9\xbe\x6f\xce\xce\x0a\
\x29\x25\xe5\x24\x84\xd8\x0e\xac\x67\x71\x75\x49\x29\xff\xce\x7d\
\x4a\x01\x94\x04\x5e\xab\x69\x5a\xd4\x03\xfb\x9e\xe3\x38\x1d\x2c\
\x22\xef\xd9\x3f\x00\x9d\x05\x90\x5e\xee\x51\x5a\xe9\xae\x0f\x3c\
\xbd\xe9\xa7\xaf\xef\xdb\xf9\xf3\x27\x36\xae\x79\xf2\xe2\xc5\x8b\
\x0c\x0e\x0d\x31\x34\xe8\x79\xa8\xe0\xc1\x41\x35\x7a\xf7\xf1\xe6\
\xd9\xfd\xe4\xe6\x67\x3e\x78\x75\xe7\x6b\x6b\x9b\xc2\xcf\x79\xf0\
\x11\xee\x51\x46\x09\xc0\x86\xf6\x68\x76\x57\x55\x65\x8e\xab\x21\
\x49\x4f\x4f\x0f\xe1\x70\x98\xbb\x29\x95\x4a\x61\x4c\x0d\xd4\x39\
\xdd\x03\x75\x4b\xb4\x74\xcd\x55\xa8\x06\x92\xff\x0f\x80\xb8\x39\
\xd8\x47\xc5\x48\x1f\xb3\xb7\x5c\xfe\x71\xf2\x24\x19\x33\x8b\x63\
\xd9\x48\xc0\x34\x4d\x72\xb9\x1c\xf9\x7c\x1e\xdb\xb6\xa9\xad\xad\
\xa5\x22\x3e\x45\xa2\x42\xc3\x76\xb9\x2f\x19\x25\xf5\x14\x48\x70\
\x81\xc6\xa0\xe0\xc2\xbf\xfe\x86\x99\x99\x43\xc3\x45\x02\x02\x88\
\xe8\x2e\xba\x26\xf0\x09\x81\x71\x5b\xb2\x2c\x62\x20\x70\xc1\xa8\
\x08\x3c\xf5\xc2\xcf\xbe\xfe\xd2\x2f\xbb\x1e\x02\x36\x00\x51\xa0\
\x19\x68\x41\x89\xcf\x81\x77\x0e\xff\x60\x7d\x5f\x59\x80\x23\x47\
\x8e\x08\x5d\xd7\x35\xa9\x39\x0a\x60\xd5\xaa\x15\xf8\x32\x3a\x92\
\x10\x52\x4a\xcf\x20\x04\xd4\x87\x83\x04\x0c\x9d\x80\x4f\x63\x3c\
\x2b\xb8\x3e\x31\xc9\xbf\x27\xc7\x08\x6e\xda\xb9\x67\xeb\xb6\x6d\
\x7b\x2a\xc2\x21\x96\xd6\x06\x08\x05\x74\xaa\x2b\x75\xea\xc2\x7e\
\xa2\x55\x7e\x7a\x46\x92\xed\xc7\x3e\x9b\x0a\x00\xfb\x4b\x00\xe6\
\x77\xa5\x10\x78\x8b\x03\xac\x89\x56\x92\xb5\x1c\x2c\xdb\xc5\x95\
\x12\x4d\x08\xfc\x86\x46\xd0\xa7\x93\x75\x04\x89\x68\x0b\x6f\xbc\
\xf9\x3e\x8d\x4b\x1f\x04\x50\xa0\x85\x51\xd9\x2b\x93\x2a\x57\x75\
\xb5\x9f\xc6\xda\x06\x46\x26\xe7\xf6\xbd\xf4\xd6\xe7\x1c\x3e\xb0\
\x61\xff\x5d\x01\xd0\x41\x68\xa0\xeb\x02\xd7\xb3\xe1\x0a\x24\x02\
\x57\x0a\x34\xa1\xee\x2b\xdf\x4a\x39\x7c\xf5\xe9\xcd\x44\xeb\xea\
\x55\x6f\x94\x91\xea\x97\x64\x32\x49\x30\x18\x54\xcd\xfc\xfd\xed\
\xcd\xd8\xf6\x8d\x22\x44\x11\x00\xf6\xee\xdd\x2b\x3b\x3a\x3a\x5c\
\x43\x08\x7c\x1a\xf8\x75\x0d\xc3\xd0\xd1\x10\xd8\xba\x8b\x2b\x51\
\x00\x86\xa6\x11\x30\x34\xf5\x8c\x99\xcd\xaa\x20\x3e\x9f\x8f\x72\
\xb2\x2c\x8b\x44\x22\x41\x4d\x4d\x8d\x02\x08\x04\x02\xec\x6a\xff\
\x12\xee\xa9\x9b\xfb\x3a\xde\xbc\x70\xfe\x57\x2f\x6f\x3c\x6a\x50\
\x14\xae\xeb\x4a\xa1\xeb\x18\x06\xaa\xc6\x04\xee\x5c\x6b\xcc\xe5\
\x6c\xe2\xe9\x1c\xd9\xbc\x8d\xe5\x48\x42\x7e\x9d\xd9\x2c\xd4\x9a\
\x26\x0b\xc9\x71\x1c\x32\x99\x8c\x2a\x03\xc5\x46\x67\x63\x4b\x80\
\x4b\x03\xd9\xe7\x81\xa3\x1a\x45\x21\x3d\xe9\x1a\x18\x3a\xf8\x7d\
\x02\x5b\x4a\x06\x62\x29\xae\x26\x0d\x8c\x55\x5b\x78\xb0\xfd\x59\
\xbe\xbc\xe3\x65\xea\xb7\x3c\x4b\xcd\xc3\x5b\xb9\xd6\x3f\xc2\xe9\
\xd3\xa7\x89\xc5\x62\xaa\xe6\xa7\x4e\x9d\xe2\xf0\xe1\xc3\x6a\x2c\
\x9e\xb0\x70\xfc\xf8\x71\x0e\x1d\x3a\xc4\xc1\x83\x07\xe9\xec\xec\
\xa4\xff\xc6\x20\xb6\x9d\xd7\x84\xa7\xf9\x00\xba\x02\x60\x68\x36\
\xcb\xb9\x49\x87\xd6\x1d\x1d\x6c\xfb\xe1\x51\x2a\xb7\xbe\xc2\xf8\
\x03\x3b\xb8\xec\x3c\xc6\x65\xf9\x04\x99\xe5\x7b\x68\x79\x7c\x3f\
\x96\xa8\xe3\xd8\x87\x9d\xea\x54\x1c\x1e\x9d\xe4\x9b\x4f\xed\xe5\
\xca\x95\x2b\x0a\x40\xd7\x75\x42\xa1\x10\x95\x95\x95\xea\x3a\x12\
\x89\x60\x18\x06\xae\x6a\x52\xf7\x2e\x6f\x81\x10\x4c\x66\x25\xf1\
\xa5\xad\x7c\xe7\xc0\x2f\x48\xe9\xf5\x24\x52\x39\x84\x6e\x81\x26\
\x48\xe7\x5c\x62\x71\x93\x54\x2a\x4f\x77\xde\xe5\x72\x55\x80\x8d\
\xad\x5b\xb8\xd2\xdb\xc7\x58\xb6\x8d\x99\xb3\x13\x18\x2a\x80\xfc\
\x22\x68\x4b\x4b\x8b\x3a\xb4\x84\x10\x54\x55\x55\x31\x91\x04\x6f\
\x4e\x96\x05\x10\x1a\x0c\xa7\x24\xbb\x5e\xfc\x31\xe1\x25\xcb\x18\
\xe9\x7c\x97\xa9\xfe\xcb\x18\x81\x0a\x5a\x5b\x36\xb0\x7c\xd5\xa3\
\xf4\x4e\x84\xb9\x31\x9c\x22\x36\x63\x32\x3a\x95\x61\xcc\xb3\x21\
\x1a\x99\x8a\x25\x68\x7f\x2c\x48\x43\x11\x40\xed\xde\xdb\x35\x75\
\x75\x75\x00\x0a\x2a\xe5\xa4\xbd\xd1\x96\x77\x34\x3f\x03\x1a\xb4\
\x44\x05\x9f\xbc\xfb\x06\x12\x8d\x8a\xc4\x20\x0d\x91\x20\x8e\xeb\
\x72\xb3\xe7\x24\x31\xb7\x8a\x75\xdf\x7a\x9e\x68\xdb\x37\xb8\xd8\
\x13\x67\xcc\xce\x90\x4a\xe6\x49\xa7\x2d\xcf\x36\x08\x40\x16\xcf\
\x04\xef\x0d\x51\x00\x85\xa3\x5e\x81\xf9\x8c\x3c\x42\x97\x77\xcf\
\xc0\xb2\x88\x20\x6f\x0f\xe0\xaf\x8c\x50\xb7\xb2\x96\x82\x58\xd1\
\x50\x45\x3c\x63\xd1\x7f\xea\x6d\x92\xf5\xff\xe1\xa1\x87\x5f\x20\
\x99\xf6\x61\x59\x0e\xb6\xe3\x2a\x1b\x3e\x0d\x69\xaa\x0c\x50\x22\
\x05\xa5\x4c\x71\xae\x5c\x06\x94\x1b\x22\x3e\x7c\xa1\x00\xa5\xaa\
\xad\xf4\xf1\x40\xd8\xcf\xd9\x2b\x67\x59\xff\xc8\x6e\x42\x41\x83\
\xac\x67\xdb\x96\x9e\x5d\x0c\x5d\x03\x50\x8d\x26\x28\x0a\x09\x08\
\x89\x2c\x66\x87\xbb\x66\x40\x59\xa8\x71\x9e\xce\x0f\xcc\x30\x38\
\x6b\xb1\xa3\xe3\x2d\x7a\x66\xa3\xe8\x81\x14\xc1\xa0\xae\x82\xdb\
\x96\x81\xcf\xd0\x50\xbb\x74\x5d\x24\x25\x92\x14\xe6\x16\x01\xd0\
\x34\x81\x50\x66\x9e\xfa\xa7\x52\xbc\xfa\x5e\x17\xfd\xb7\xd2\x88\
\x6a\x93\xe6\xfa\x0a\xb2\xa6\x43\xce\xb4\x31\xbd\x71\xd3\xea\x1a\
\xce\x9c\x28\x5f\x02\x60\xf1\x12\x08\xf1\xbf\x59\x28\x55\x6b\x53\
\x98\xd7\x77\xaf\x67\x28\x61\xa3\x37\xac\x66\xcd\xba\xaf\xa8\xce\
\x2e\x88\x33\x23\xd0\xd6\xd6\xb6\x30\x80\x5c\xac\x07\x16\x28\xc1\
\xe3\xad\xb5\x7c\x6d\x65\x84\x4f\x7b\x27\xf1\x3f\xb2\x8e\x1d\xbb\
\x5e\x54\x5d\x5e\xa2\x45\x00\x58\x30\x03\xca\x9a\x00\x41\x51\xae\
\x65\x92\x4f\x4d\x63\xcd\xcd\x60\x67\xe2\xe4\x66\x24\x86\x95\x29\
\xd9\xd1\xe2\x52\x60\x0b\x37\xa1\x50\x96\xd2\xc1\x31\x93\xe4\xe7\
\xbc\xa0\xa9\x69\x05\xa0\x40\x24\xc4\x73\x30\x38\x2b\x59\x3a\xe7\
\xde\x17\x80\x44\x02\x62\xe1\x0c\x64\xc6\xba\x01\x8a\x41\x4d\xc9\
\x68\x42\x72\x2d\xe6\x32\x96\x92\xe6\x60\xbe\x2e\xf1\xed\xaa\x15\
\x8d\xf7\x0a\xe0\x38\x8e\x32\x18\x0b\xbf\x86\x96\x03\x33\x59\x49\
\xff\x8c\xe7\x69\x97\x89\x39\x69\x4e\xa5\x65\xff\x6c\x56\xf6\x0f\
\xc7\x65\xcf\xba\x2d\xed\xeb\xab\x9b\x5a\x9f\x29\x02\x2c\x1e\x78\
\x7a\x7a\x9a\xd1\xd1\x51\x26\xd2\x41\x60\x59\xbc\x2c\xc0\xe4\x9c\
\xe4\xe2\xb8\x8b\x17\x84\x9b\x49\x19\xbf\x3d\x27\xfb\xc6\xe7\x64\
\xcf\xed\xb4\x9c\x00\xc6\x0a\x1e\x6f\x58\xde\xd6\xa4\x1b\x7e\x16\
\x03\x48\xa7\xd3\xea\x7f\x44\x57\x57\x17\x37\x06\x47\xd1\xaa\x57\
\x12\x69\xde\x0c\x1a\xef\x94\x03\x18\xfd\x74\xd8\xb9\xd1\x3d\x25\
\xc7\xc7\x53\xb2\xcb\x83\x19\x02\x26\x81\x71\x20\x0d\xf8\x00\x1d\
\x08\x5a\x79\xd3\x70\x1d\xa7\x1c\x80\xfa\x00\x99\x98\x98\x50\x3f\
\xcb\xdd\xdd\xdd\xc4\xd2\x3a\x81\x86\xb5\x54\xad\xde\x86\xe6\x0f\
\xfd\xde\xd2\x8c\xb7\xbd\xaf\xe3\x73\xe5\x00\xba\xfe\xd8\xe5\xfc\
\x04\x88\x01\x03\x80\x09\x84\x81\x4a\x20\xc0\x3c\x49\x0a\x00\x2a\
\xc5\x33\x33\x33\x5c\xbf\x7e\x9d\x4b\x97\x2e\x31\x3a\x3e\x4d\xde\
\xd7\x44\x45\xc3\x66\xfc\x75\x91\xb3\xae\x74\xde\x1b\xbe\x76\xee\
\x4f\x7f\xfd\xdd\x8f\x6e\x7b\xc0\x6e\xd9\xb7\xc0\x9b\xe8\x15\x42\
\x5c\x07\x34\x20\x50\x08\x9c\x07\x74\x40\x02\x4e\x61\x4e\xf7\xf9\
\x83\xb6\x44\x30\x33\x3b\xcb\xc4\xf8\xb8\x0a\x3a\x30\x34\x4a\xca\
\xae\x42\xaf\x6e\x41\x34\x3d\x3a\x66\xa5\x13\x1f\x0e\x9c\xfb\xe8\
\x83\x4b\xa7\xdf\xef\x03\xe6\x00\x93\x12\x19\xcc\x97\x2c\x06\x23\
\x07\x08\xc0\x29\x80\x18\x5f\x00\x04\x42\xb1\x91\x5b\x53\x5c\xfd\
\xec\x2f\x4c\x67\x03\xf8\xa3\xcd\x18\x8d\xdb\x11\x66\xf6\xd8\xd4\
\xad\xde\x63\xff\xfc\xf3\x2b\x67\x00\x0b\xc8\x01\x59\xc0\x06\x5c\
\x40\x2e\x08\x20\x3d\x09\x21\xdc\xc2\x02\x0a\x8b\xac\x02\xac\x5e\
\x00\xd0\xce\x7f\xf4\xeb\xdf\x44\x9f\x7b\x6d\x49\xa0\xf9\xbb\xbb\
\x2b\x73\x99\x13\x99\xe4\xf4\x89\x0b\x1f\xff\xf6\xe3\x81\xae\x4f\
\xe2\x85\x35\x4e\xc1\x56\xd1\xb8\xb2\xa4\x61\xfe\x0b\xaa\xd3\xe9\
\xaf\x70\x35\x30\x23\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\
\x82\
\x00\x00\x05\xbc\
\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\x05\x83\x49\x44\x41\x54\x78\x5e\xb5\x57\x4b\x6c\x54\xd5\
\x1f\xfe\xee\x9d\x3b\x8f\x5b\x68\xe9\x50\x86\x3a\xd8\x48\xb5\x04\
\x4a\x78\x88\x0a\x21\xd4\x47\x5c\x28\x44\x43\x02\xc4\x05\x89\x1b\
\x16\xba\x91\x90\xb8\x71\xe5\x23\x3e\x12\x37\x24\xae\xdc\xb8\xd2\
\xb0\xd0\x95\x09\xff\xe4\xbf\x20\x04\x2b\x2a\x68\x95\x4a\xa0\xb4\
\x4c\xe9\x93\x96\x4e\x3b\xd3\xce\xab\xf3\xb8\xcf\x73\xef\x1d\xe7\
\x77\x72\x4f\x32\xc9\x64\x8a\x93\x8c\xbf\xe4\xcb\x79\x4c\xe6\x7c\
\xdf\xef\x71\x7e\x67\x46\xaa\x56\xab\x68\xc5\x9e\x3b\xfd\xe9\x4b\
\x00\x0e\x01\x08\xe3\xf1\x36\x06\xe0\xf6\x9d\xff\x7d\x5e\x40\x13\
\x53\x5a\x24\x0f\xc7\xb7\x47\x5f\xfd\xfe\xab\x0b\x1f\xaa\x11\x45\
\x05\x00\x49\x02\x37\x7f\x40\x40\x06\x84\x4f\xa3\xe3\xf3\x37\xce\
\x7f\x76\xe9\x0b\x00\x3f\xa1\x89\xc9\x68\xcd\xb6\x1f\x39\x38\xb0\
\xc3\x45\x40\xb5\x1d\xc0\x64\x80\xeb\x01\x8e\x0b\xb0\x1a\x3c\x0f\
\x60\x4e\x0d\xcc\x41\x49\x63\x38\x34\xf8\xd4\xcb\x1f\xbc\xf3\xe6\
\xbb\x35\xe1\xaf\xb5\x4b\x00\x1c\xc6\xc0\x4c\x8d\x7b\x1e\x52\x7c\
\xaf\x25\x0e\x61\xa8\x54\x2a\x28\x19\x0e\xf2\xc5\x0a\xde\x3a\x7e\
\xf8\xec\xeb\x2f\xee\x7f\x83\x52\xd7\x52\x0a\xde\xfe\xe8\xf2\xa1\
\xba\x25\x9f\xf7\xf5\xf5\x47\x97\x52\xeb\x83\xd7\xfe\x9c\x05\xf3\
\xb8\x76\x44\x42\x0a\x9e\x1f\x8c\xe3\xe9\x27\xa3\x10\x56\x2c\x95\
\x60\x4b\x1d\xe8\xea\xde\x86\xc2\x7a\x0e\x9f\x9c\x3f\xfd\x5e\x26\
\x5f\x36\x6b\x22\xee\xd5\xea\xa1\xd4\x4c\x80\x20\xa6\x93\xce\xbd\
\xb0\x37\x7e\x4e\xec\xed\x1f\x88\x75\xd3\xc8\x6c\xa6\xe8\xba\xb6\
\x65\x60\xe7\x76\x44\xbb\x54\x04\xe4\x2a\x6c\xe6\xe1\xc7\x9f\x13\
\x38\x31\xb4\x1b\xfb\x9e\x89\x81\x8c\x31\x06\xcb\x33\x41\x66\x07\
\xb6\x40\xd7\x75\xf5\xec\xc9\xa1\xc3\x77\x27\x17\xf7\x03\xf8\xe3\
\x71\x11\x38\x75\xee\xe4\xc1\xf7\x4f\x1c\x1b\xe8\xc7\x06\x66\x59\
\x16\x8a\xc5\x22\xfa\x7a\x7b\x70\xe6\x95\x7e\x8c\xdc\x5f\x46\x4f\
\x57\x04\xbd\x3d\x9d\x90\x24\x09\xa6\x61\x80\x2c\x10\x50\x90\xcd\
\x56\x90\xc9\x64\xe4\x7f\x5d\x03\x9a\xa6\x71\x2f\x36\x32\xc7\x71\
\xe8\xd0\x1a\x41\x00\xbb\x76\xf6\x62\x4f\xdf\x66\xdc\x4a\xac\x20\
\x95\x2d\x43\x8d\xa8\x98\x9f\xba\x83\xaf\x2f\x7e\x8c\x4b\xdf\x5c\
\x44\x72\x71\x9a\x6a\x47\xda\xa0\x06\x5a\x07\xf5\x0f\xc3\xf7\x52\
\x51\x14\x3c\xbb\x27\x8e\xc0\xdc\x1a\x6e\x4f\xae\xe0\xf8\xd1\x7e\
\x1c\x39\x3a\x84\xc1\xbd\xfb\xe0\x55\x65\x74\x76\x76\x62\xb5\xb2\
\x50\x6d\xab\x00\x21\x42\xd8\xa6\x4d\x9b\x70\x60\x57\x2f\xee\x4c\
\x4d\x60\x39\x67\xe2\x89\xde\x3e\xc4\x6a\xa0\xdb\x62\xdb\x0c\xa1\
\x50\xca\x6b\xab\x00\x59\x96\x79\x1a\x86\x87\x87\xa9\x16\xf8\xba\
\xa3\xa3\x03\xa6\xae\x08\x61\x9c\xdc\xb0\xa9\x5e\xa8\x57\xb4\xa9\
\x0f\x08\x84\x42\x21\xc4\xe3\x71\x9e\x86\x72\xb9\x4c\x35\xc3\x53\
\xe1\x54\x25\xe8\x26\x60\x3b\x1c\x30\x18\x40\x7a\x98\x0b\xb4\x35\
\x02\x54\x7c\x24\x80\xf2\x4b\x91\xa0\xb5\x6d\xdb\x98\x48\x27\xe1\
\x56\x79\x87\x84\xe9\x70\x72\x98\x5c\x44\x9b\x23\x40\x57\x2d\x1c\
\x0e\x63\xeb\xd6\xad\x88\xc5\x62\x88\x46\xa3\x3c\x05\x90\x02\x30\
\x98\xc4\x05\x04\xea\x4e\x37\xec\xb6\x0a\x68\x2c\x42\xaf\xea\xc1\
\xf3\x3c\x30\x62\x06\x50\x34\x78\x0a\xb8\x6d\x0e\x53\xdb\x6e\xb3\
\x00\x22\x17\xa3\xeb\xba\x90\x20\xf1\xb9\xc7\xf9\x29\xfc\x7e\x1a\
\x18\xf0\xa8\x00\x68\x36\xf0\x9f\x5c\x43\x02\x79\x2e\xd6\xb2\x2c\
\x41\xb3\x80\x80\xcd\x23\xc0\xbd\xf7\x78\x4d\xb4\x31\x02\xc2\x7b\
\x22\x16\x23\xed\xf1\x37\xc0\xf6\x38\xa1\xc5\x80\xbc\xc6\x53\xc1\
\xe7\x26\x6b\x73\x04\x28\xec\x44\x2c\x0a\x92\xe6\x74\x0d\x5d\x57\
\x46\x41\x03\x5c\x05\xe8\xd9\xcc\x3d\x47\x38\xd8\xc6\x6b\x28\xc2\
\x4e\xa4\x34\xd2\xa3\x24\x04\xf1\x74\x54\x5d\x44\x82\x40\xbc\x1b\
\xdc\xd2\x45\xa0\x33\x44\x51\xaa\xd2\x17\x1a\x05\xb4\x1a\x76\x41\
\x26\x42\x4e\xf7\x9f\x44\x04\x83\x41\x7a\xc4\xf8\x35\xac\x58\xc0\
\xec\x1a\x10\xed\x20\x72\x17\x77\x67\x73\x60\x96\x26\x79\x1e\x0b\
\xd4\x84\xcb\x74\x9c\x7f\x66\x55\x69\x35\xe7\x22\x02\xd4\x7c\x68\
\x4d\x22\x28\x1a\x14\x7e\xea\x8e\x24\x8e\x3a\x63\x39\xb7\x88\x5f\
\xc6\xc7\x90\x79\x94\x00\x24\xd9\xb4\xe4\xee\x05\xa3\xb4\x96\x06\
\x10\x24\x1f\xe8\x38\xfe\xbd\x56\x88\x69\xa4\x9e\x4f\x73\xd3\x34\
\x89\x94\x04\x50\x43\xa2\x91\xef\xcd\x8e\x5d\xc3\xc8\x95\x87\xc8\
\x96\xf4\x45\x25\xa4\x4e\x31\x44\x16\x59\x35\xb8\xc8\xcc\xd4\xf8\
\xcc\x8d\xef\x0a\x00\x22\x00\x98\x0f\x57\xd9\xa8\xc8\x88\x8c\x4c\
\xe4\x5c\xb4\x5c\xea\xff\xba\xae\x43\x55\x55\x12\xc4\x3f\x33\x74\
\x9d\xb7\x62\xe6\x38\xc5\xe5\x8a\xfa\x7f\xdb\xb2\xc7\xad\x7c\x7a\
\x41\xcb\x2f\xa5\x0a\xc9\x89\xac\xef\x75\x27\x00\x0b\x80\x21\x7c\
\x54\x9a\x79\x2e\x44\x08\xaf\xe9\x70\x91\x6b\x12\x42\xcf\x6f\xa9\
\x54\x12\x62\xc9\x7b\x1a\xa9\x35\xaf\x9b\xb7\x7e\xbb\xfe\xf0\xde\
\xf5\x19\x00\x9e\x8f\x2e\x00\x0e\x00\x5b\xd4\x9d\x2f\xc8\x91\xd1\
\x68\x44\x2a\x72\xcc\x51\x28\x14\x88\x80\x3c\xa6\x5f\xbc\x24\x90\
\xf6\xa8\xf7\x93\xf7\x24\x8e\xa3\x5c\x2e\x81\x31\xd3\x75\x99\x15\
\xf2\x43\xad\xfa\x88\xd4\x81\x3e\x0b\xfa\x42\x64\xa1\xa6\xa9\x08\
\xf2\x9a\x22\x10\x89\x44\xa8\xca\xc9\x73\xda\xe3\x8f\x4f\x32\x99\
\xe4\x7b\x73\x73\x73\x18\x1b\x1b\x83\x27\x29\xf6\x6a\x46\xb2\x2b\
\x85\xd5\x02\x1a\xac\x85\x3e\x20\x88\x2d\xd3\x44\x30\x14\xaa\x17\
\xc4\x09\x13\xf7\x13\x98\x7c\x30\x89\xf9\xf9\x79\xa4\x32\x45\xc3\
\xf2\x42\x65\x2b\x10\xcd\x9b\x0e\x56\xca\xf9\x95\x9b\xf9\xf4\x5c\
\xca\xbf\x6a\x9e\x80\x48\x81\x0f\xe6\xaf\xbd\x26\x11\x90\x28\xdc\
\x3c\xa7\x8c\x31\x1e\xf2\x44\x22\x81\xd1\xd1\x51\x4e\x9a\xce\x95\
\x35\x37\x18\xcb\xba\xe1\xf8\x3a\x0b\xef\x98\x35\xb4\xc2\x54\x6a\
\xf6\xee\xc8\xfc\xd8\x70\x12\xc2\x1a\x05\xb8\x44\x2c\x8a\x70\x43\
\x01\xba\xae\x61\x69\x69\x09\x0b\x0b\x0b\x9c\x78\x7a\x7a\x1a\xf9\
\x32\xab\x78\x6a\x7c\x15\x1d\x07\xf2\x88\x87\x1f\x58\xe5\xdc\xaf\
\xcb\x53\x7f\xfd\x9d\x18\xb9\x9c\x05\x20\xfb\x90\xea\x05\x10\xea\
\x05\xf8\x60\x02\x4d\x05\xcc\xcc\xcc\xe0\xf7\x2b\x97\xb0\x96\xd7\
\x2b\x91\x6d\xbb\xd3\xc1\xee\x63\xd9\xe0\xb6\xae\x09\x87\xd9\xd7\
\x4a\xb9\xe5\x91\xab\xdf\x5e\x10\xa4\x02\x92\x40\x83\x80\xe6\x42\
\x68\x5e\x15\x7f\xcf\x1b\xfe\x19\x01\x38\x05\x60\x16\xc0\x55\x00\
\x37\x7f\xf8\xf2\x4c\x5a\xaa\x99\x20\xf2\x89\xd1\x84\xbc\x5e\x04\
\x1a\x84\xd4\xb5\xe2\x7f\x00\x12\xab\x82\xc2\x52\x64\x01\xcd\x00\
\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x06\xd2\
\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\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x06\x64\x49\x44\x41\x54\x58\xc3\xed\
\x56\x0b\x4c\x95\x65\x18\x46\xb4\x92\x72\x2e\x53\x67\x6e\xea\x32\
\x4d\x52\xcc\x4b\x4e\x41\x42\xa4\x04\x34\x38\x20\x77\xe1\x98\x5c\
\x04\x01\x15\x11\x31\xe0\x80\x5c\xbd\x00\x02\xde\x41\x44\x40\x49\
\x11\x6f\x04\x89\x01\x79\x03\x0b\x02\x2f\x28\x6a\x71\x92\x05\x23\
\xe1\x44\x63\xd0\xdc\x8e\xd2\x76\x36\xb6\xa7\xe7\x3f\x7c\x78\x41\
\x45\x72\x36\xb7\xd6\xd9\x9e\x71\xce\xff\xff\xef\xf7\x3e\xef\xf3\
\x3e\xef\xfb\xa3\x03\x40\xe7\x55\x42\xe7\x7f\x02\xff\x59\x02\x9f\
\xca\xe3\x66\x11\xbe\x44\x0a\x91\x21\x10\x43\xd8\xfc\x6b\x04\x78\
\xb8\x81\x48\x52\xee\x15\x9a\x57\x1f\x9a\x58\xdd\x1a\xb5\xad\xf1\
\x6e\x74\x8a\x4a\xbd\x71\xa7\x4a\x1d\x9f\xa6\xec\x08\x4d\x28\x6d\
\xe2\xfd\x3c\xc2\xe1\xa5\x11\xe0\x61\x16\x52\x85\xf2\xb5\xd9\x4a\
\x45\x92\xb2\x63\x7d\x82\xa6\xcb\x53\x01\x38\x04\x00\x8b\x7c\x00\
\x73\x77\x60\xa1\x27\xe0\xb2\x1a\x88\x4a\x01\x72\x0b\xda\x3b\xad\
\xbd\x93\x6b\x19\x33\xee\xa5\x24\xf6\x0c\xc9\xab\x0f\x4b\x52\xa9\
\x7d\xa2\x00\x1b\x26\x9d\xef\x0d\xcc\x5e\x06\x4c\x77\x03\xa6\x3a\
\x03\x93\xed\x81\x49\xd6\xfc\x2e\x03\x2c\x3d\x80\x2d\x7b\x80\x1d\
\xd9\xb5\x6d\x8c\x0d\x7e\xd1\xc4\xe3\x08\x85\x54\x71\x18\xe5\xf5\
\x8a\x04\xac\xd6\x00\x9f\xac\x60\x62\x26\x9f\xe3\x47\xac\x22\x48\
\x66\xb6\x3f\x30\x8d\xd5\xeb\xbb\x02\x13\x6d\x81\x19\x8e\x80\x37\
\xd5\xc9\x2f\xd1\x74\x49\xad\x7a\x91\xe4\xab\xad\x96\x27\xd7\x06\
\xc7\xd7\xb6\xf9\x6f\x04\x64\x6b\x01\xd3\x95\x80\x31\xe5\x35\x5d\
\x4f\x22\x31\x94\x9a\x32\x7b\xec\x02\xdc\x77\x03\x4e\xc9\x94\x9f\
\xca\x18\x91\xe0\x54\xb6\x62\x06\x89\xc8\x43\x80\x63\xdf\x02\x52\
\x1b\xfe\x71\xd5\xbe\x11\x85\x0d\xeb\x93\x35\x5d\x4e\x3c\xe4\x33\
\x1e\x6a\x12\xc8\xbf\xac\xc8\x2e\x11\xf0\xcb\x04\x62\xbf\x06\xd2\
\xce\x03\x5f\x55\x02\x99\xdf\x03\xf1\x45\x80\x2f\xaf\x5b\x91\xac\
\x21\x9f\x9f\x43\x95\x96\x46\x90\x40\x09\xe0\x1f\x99\x57\xdf\xdf\
\xe4\x0e\xd6\x52\xd5\x09\xb5\x6d\x2b\xe2\x68\xac\x75\xec\x73\x50\
\x77\xe2\xc5\x4c\xec\x9b\x05\x6c\x66\xa2\x23\x97\x81\x1f\x1a\x80\
\xd3\x97\x54\xea\xe4\x9c\xf2\xe6\x80\x4d\x79\xf5\xf1\x39\xd5\xad\
\xc9\x67\x81\xe5\xfb\x80\x05\xd1\x8c\x09\x66\xe2\xad\xc0\xa9\x72\
\x80\xe7\xd6\xf4\x4b\x72\x87\x95\xa9\xb7\xc2\xb6\xb5\x77\xba\x92\
\xb9\x39\x0f\x30\x0b\x63\x45\x5b\x28\x73\x3a\x10\xce\x8a\x0f\x54\
\x01\x15\x8d\x40\xe9\x55\x95\xda\x2d\x28\xf5\x96\x98\x79\xb9\xd8\
\x05\x31\xc9\x27\x38\x7e\xc7\x01\xc7\x6d\x80\xfd\x26\x4e\x02\x09\
\x9f\xf9\x51\x78\xe0\x91\xd9\x35\x78\x4a\x72\x85\x07\x1d\x1e\x94\
\xa4\xe9\xb2\x0b\x65\x72\xca\x6e\x11\x0b\x38\xef\x00\x02\x8e\x00\
\xdb\x2f\x00\xc5\x75\x40\x65\xbd\x5a\x13\xbe\xb3\xb0\x41\x24\xb6\
\xe8\x75\x86\x59\x50\x52\x61\xc3\x16\x4a\xee\x99\xc1\xea\xf7\x92\
\x30\xbf\x67\xe6\x2b\x3b\xa4\xbc\xd2\x03\x31\xfb\x72\xbb\x7f\xf4\
\x90\xe8\xe9\xf7\xca\xe8\xd2\xa6\x55\x94\x58\xc6\x8a\xcd\xc3\x69\
\x9a\x04\x56\xcd\x7e\x6e\x38\x05\xe4\x5c\x01\xaa\xee\x00\x45\x55\
\x8d\x77\x6d\x7c\xb5\x33\xed\xfe\xac\x8d\xe8\x1f\x97\x57\x9f\x72\
\x0e\x58\x97\xc7\x11\xcc\x07\xca\x6a\x69\xd4\x35\x5a\xa5\x0c\xa4\
\x07\x6a\xca\x68\x98\x3d\x39\x0f\x49\x48\x7f\x43\x92\xd9\xef\x78\
\x26\x67\x62\x0b\x3a\xdb\x9e\x55\xfb\xe5\x02\x89\x34\x58\x01\xab\
\xbe\x7a\x47\xd3\xb5\x79\xbf\x76\xab\x49\xab\xd6\xa8\x8f\x16\xca\
\x63\x33\xcb\x9b\x77\x96\x01\x09\x74\x7e\xc1\x25\x60\xef\x31\xed\
\x0e\x50\x68\x37\xa1\x44\x20\xfd\x10\xb0\x91\x63\x13\x9a\xa8\x25\
\x51\x14\x18\xaf\xec\xf0\x64\x8f\xad\xa5\xf9\xde\x0c\xb8\xa6\x01\
\x6b\x4f\x02\xbb\x2a\xd8\xbb\x5f\x81\x4b\x8d\x6a\x8d\x4f\x64\xb6\
\x52\xf2\x47\x3f\x3c\x94\x92\x5e\xdc\x78\x37\x83\xb1\xc7\x98\xfc\
\xfc\x35\xb5\x46\xe6\xd3\xbd\x05\x1f\x10\x88\x92\xcc\xc1\xa3\x16\
\x73\x4c\x5c\x14\x6a\x8d\x23\x2b\x96\xd1\xed\xb6\x49\xc0\x32\x4a\
\x1e\x42\xc9\xf7\x4b\x0e\xa7\xe4\x95\xb7\xdb\x3b\xfb\x92\xbc\xf7\
\xbb\x61\x09\x4d\x79\xea\x67\x56\x4e\xd9\x2b\x94\x9a\x2e\xaf\x30\
\x2d\xf1\x07\xb1\x5a\x02\x21\x5c\x16\x66\x3e\xdd\x5b\xcc\x8c\x2e\
\x5f\x18\xdb\x2d\xb9\x57\x0e\x10\x41\xc3\x1c\xbc\x06\x54\xab\x80\
\x93\xe5\xca\x0e\xdb\xee\xe4\x0e\xfd\x1c\xdf\x98\x83\xa5\xca\x8e\
\x0b\xb7\xd9\xb2\xdf\x80\x98\x54\x6d\xcb\x1e\x53\x4d\x4b\x40\xc1\
\xdd\x6c\xce\xb9\x36\x22\xcc\x99\xdc\x81\xed\xf0\x3a\xcc\xe4\xa5\
\x40\xd6\x75\x4a\xfe\x3b\x57\xe7\xc5\xc7\x8d\xda\x9f\xdd\xe1\x1d\
\x91\xad\xbc\xc9\xd8\x9b\x24\x1f\x9b\xa6\x4d\xae\x78\xe2\xff\x01\
\x89\x40\xec\x01\x6e\x32\x4a\x6e\xc9\x7e\x3b\xa6\x32\x39\xcd\xb6\
\x8e\x86\xd9\x5e\xcd\x31\xe3\x7c\xef\x2b\xa8\x6e\x35\x73\x8b\x89\
\x33\x75\x89\xf8\x48\x47\x47\x67\x20\x31\xe8\x19\x90\xee\x0d\x34\
\xb2\x09\x1c\x29\xbd\x72\x2f\xfe\xd4\xde\x59\xd7\xfa\x30\xb9\xce\
\xd3\x3e\x12\x81\x44\x1a\x6c\x19\xe7\xd3\x85\x8b\xc5\xe7\x28\x0d\
\xc7\xe4\xb1\x5c\xa3\xe9\xec\x5b\x6e\x95\x4a\x3d\xdf\x35\x3a\xcb\
\xc8\x36\xe8\x63\x3e\xae\x47\xbc\x49\xbc\xf5\x0c\x48\xf7\xf4\xe6\
\xb9\x6c\x58\x9d\x7a\xbc\xea\x8f\x6b\x4d\x9a\xae\xe5\xe1\x59\x4a\
\x33\xb7\xe8\x0d\x82\x9c\x2e\x31\xe0\x09\x02\xd9\x17\xba\x37\x5a\
\x70\x21\xb7\x14\xd7\x66\x02\xc7\x72\x37\xa5\x3f\xf4\x0b\x67\x96\
\xf2\x9d\x28\xaf\xfb\xd3\xc4\x31\x2c\xe9\x43\x23\xbb\x99\x0c\x19\
\x45\xbc\x2b\x30\x5a\xa0\xe7\xf7\x28\x43\x59\xc0\xd2\xd8\xb4\xe2\
\xe6\xb2\x1b\xed\x7f\xb9\x04\xee\xae\x33\x71\x52\x7c\xc9\xeb\x43\
\x88\xc1\xc4\xeb\x42\x29\xdd\xc7\x08\x54\xd4\x73\x44\x6a\x98\x90\
\x49\x8f\x73\xc6\xbf\xe1\xa8\x9d\x6e\x02\xce\xb5\x00\x57\xda\x80\
\x26\x35\x5f\x2e\xc5\x35\x1d\x73\xac\x03\x12\x19\x32\x99\x98\x42\
\x18\x10\x53\x05\xa4\xef\x53\xde\x9f\x6e\xfe\xb9\x67\x68\x46\xc3\
\xae\xbc\xca\xb6\x79\x4e\x8a\xa2\x59\x8b\x7c\xfd\x78\x7d\xac\x20\
\x37\x9c\x18\x2a\x54\x7c\xed\x01\x09\x69\x7d\x96\x5c\x56\xa9\x89\
\x7b\x25\x57\x5b\xee\x7d\x77\xbd\xe5\xde\x99\xeb\x2d\xf7\xcf\xd6\
\x12\x37\x5a\xee\x9f\xbf\xd1\xdc\x29\xe1\x5c\x6d\x73\xa7\x67\x68\
\x7a\xd3\x98\x49\x86\x4b\x19\x66\x26\x85\xf6\x82\x74\xcd\x74\x8c\
\xbe\xa1\x7c\xc6\x02\xcf\xad\xc3\x46\x8d\xb7\xe0\xef\x59\xc4\x34\
\x41\x7a\xbc\x50\xeb\x6d\x41\x62\x90\xb6\x1d\x34\x97\x25\x7b\x94\
\x65\xba\x24\xf2\xe0\x3c\xe7\x88\xc3\x26\x0e\xa1\x47\x8d\xed\x82\
\xf3\xe7\xda\x06\x15\x1a\xda\x04\x9e\x36\x94\xad\x29\x36\xb4\x0e\
\x28\x95\x30\x61\xa6\x65\x34\x83\xec\x09\x47\xc2\xa9\x17\x1c\xc5\
\xbd\xc5\x84\x8c\xb0\x22\x2c\x05\xb1\xb9\xc4\x74\x62\xa2\x50\x43\
\x52\xe2\x8d\x1e\x15\x06\x8a\xfe\x0c\x13\x72\x49\xf2\x1a\x11\x0b\
\x08\x6b\x71\xa8\x33\xe1\x4a\xc8\x89\x2f\x08\x77\xc2\xa3\x17\xdc\
\xc5\x3d\xb9\x78\xd6\x59\xc4\x5a\x8b\xb3\x8c\xc4\xd9\x63\x45\xae\
\xc1\x22\xf7\xab\x27\xa0\x2b\xe4\x18\x2a\xe4\x99\x28\xe4\x9a\x2b\
\xe4\xb3\x14\x72\xca\x84\xbc\x2f\xbd\x05\x03\x84\x21\xf4\x84\x41\
\x46\x0b\xc3\x4c\x16\x06\x92\x8c\x64\x48\x18\x13\x26\x92\xd1\xfa\
\x32\xa1\x78\xc6\x58\xc4\x3c\xdf\x84\xe2\xa3\x2b\x46\x43\x4f\xb0\
\x1b\x2e\x98\x4a\x72\xbd\x47\x4c\x20\x3e\x20\xf4\xfb\x1a\x43\x71\
\x4f\x5f\x3c\x3b\x41\xc4\xf6\x3d\x86\x8f\x7c\x74\x05\xab\xd7\x45\
\x7f\x86\x88\x00\xa9\x5f\xef\x10\x23\x88\x91\xcf\x5b\x44\xe2\x99\
\x11\x22\x66\x98\x38\xe3\x89\x45\xd4\xf3\x2e\xf8\x1b\x95\x0d\x18\
\x5b\x26\xd0\x37\x16\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\
\x82\
\x00\x00\x04\xbf\
\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\x04\x86\x49\x44\x41\x54\x78\x5e\xed\x97\x4b\x68\x5c\x55\
\x1c\xc6\x7f\xe7\x3e\xe6\xce\x9d\x4c\xdb\x74\xa6\x51\x62\x1f\x31\
\xb5\x3e\xaa\x56\x14\x6d\x4b\xc5\xa0\x45\x5c\x88\x42\xd7\x45\x44\
\x5d\x98\x4d\x57\xd2\xba\x13\x44\x5c\x88\xa5\xd2\x45\x49\x17\x51\
\x5a\xdc\xb9\x11\x8a\x62\x17\x15\x74\x40\x25\x62\x6c\xa8\x24\xe9\
\xcb\x3c\x6c\x4c\x5b\xd3\x47\xd2\xc9\x64\x3a\xaf\x7b\xef\xf1\xe4\
\xdc\x99\x0c\x32\x99\x6b\x4b\x07\x5d\xe8\x07\x3f\xce\xdc\x33\x7f\
\xbe\xf3\xdd\x73\xce\x7d\xf1\x9f\x97\xa0\xaa\xde\xde\xde\x97\x80\
\xad\xfc\x33\x1a\xec\xef\xef\xff\x0a\xc0\xa2\xae\xad\x9d\x6b\x37\
\xbc\xbb\x71\x63\x37\xa6\x69\x72\xfa\xa7\x32\x67\x06\x0b\x2c\x64\
\x7d\xee\x44\xc9\x55\x26\x9b\xb7\xba\x3c\xbc\x2d\x86\xef\xfb\x4c\
\x4c\x4c\x72\xf9\xe2\xd4\x7b\x40\x43\x00\xbe\xf9\x36\xc3\xf0\xe8\
\x19\x52\xa9\x35\x5c\xb9\x60\xf1\xc6\xbe\x67\x68\x85\x8e\xf6\x7f\
\xcf\x95\xa2\xc7\xc0\x0f\x19\x52\xe9\x0e\x36\x3f\xb0\x11\x80\x86\
\x00\xb6\x65\xd3\xde\x9e\x22\xbd\xa6\x03\xd7\x74\x89\xc7\xe3\xb4\
\x42\x5d\xf7\xdd\x43\x62\x55\x41\x9f\x98\x1a\x03\x60\xf9\x00\x31\
\x27\x8e\xeb\x26\x48\x24\x92\x38\x66\x1b\xe7\xce\x8d\x83\x65\x81\
\x1d\x03\xc7\x41\x25\x02\x55\xa3\xdb\x98\xa3\x88\x85\xff\x7b\x1e\
\x94\xcb\x8a\x12\x14\x8b\x50\x52\xe8\xb6\x04\x95\x32\xab\xd3\x2b\
\x31\x1d\x93\xc7\x1e\x7f\x8a\xf1\xb1\xf3\xcd\x03\x18\xa6\xa1\xb0\
\x14\x26\xea\x80\xed\xdb\x9f\xc4\xda\xb5\x0b\xb9\x76\x2d\x48\x89\
\xc8\xe5\x08\x76\xec\x20\xd8\xb3\xa7\xde\xef\xfb\x3a\x9c\xbf\x77\
\x2f\x74\x75\xa9\xfe\xdd\x61\x3f\x84\xfd\x07\x0f\x72\xe2\xc4\x19\
\xed\x19\x7a\x8b\xe6\x01\x02\x3f\x50\xf8\xf8\x9e\x22\xf0\xf4\x12\
\xf8\xed\xed\x58\x47\x8e\x22\x90\xc8\xb9\x59\xfc\x37\x7b\x71\xf6\
\xed\xc3\x53\xfd\xf6\xd1\x23\x48\x40\x9e\x1c\xc2\xfc\xe8\x00\xc6\
\xc7\x9f\xe8\x7a\x5b\xd5\x4b\x01\x02\x00\x89\xa7\xbc\x4c\xe5\x1b\
\x68\x64\x44\x00\x29\xf1\x03\x3f\xc4\xf3\x19\x19\xf9\x8d\x4d\xd7\
\x66\xc9\xbf\xf2\x2a\xc2\x10\x04\x2a\xd0\xf5\xb7\xde\xe6\x66\x60\
\xd0\x2d\x04\x93\xc9\x95\x60\x5b\xf0\xec\x73\x74\xef\xdf\xcf\xa4\
\x34\xd8\x74\x23\x4b\xfe\xb5\xd7\x21\x08\xc8\x6d\xdb\xc1\xdc\x0b\
\x2f\x6b\x2f\xac\xd0\x37\x90\x11\x01\x64\x20\x09\x34\x01\x81\x0c\
\xe8\xe9\x79\x82\xb9\xbb\x3b\xe8\x3c\xfe\x25\x35\xdd\x4b\xa8\x39\
\xc3\xa0\xc7\x32\x41\x4a\x2a\x43\x27\x29\x74\x77\xd3\xb3\x7a\x25\
\x73\xe9\x14\x9d\x5f\x1c\xa3\x2e\x18\x1d\x9e\x42\x04\x81\xf6\x96\
\x41\x44\x00\x90\x21\x32\xc4\x71\x1c\x84\x10\x61\x0b\x48\x04\x08\
\x89\x40\x40\x36\xcb\xfc\xee\xdd\xba\xce\x48\xa7\x49\x7d\xb8\x1f\
\xb3\x5a\x1f\x77\xe2\x48\x21\x41\xa2\x6b\x6b\x7e\xa0\x89\x0a\x20\
\x42\x44\xc8\xc9\x91\x29\x64\xdf\xa7\x4c\x4f\xfc\x01\x31\x1b\xe5\
\x0c\x8e\xad\x88\xc1\xd0\x29\xb0\x6d\x85\x09\x9e\x8f\xac\x78\x88\
\x62\x19\x8e\x1d\x67\xfa\x5a\x0e\xd4\x6f\x59\xae\x20\xca\xde\x92\
\x1f\x68\x9a\x07\x10\xa2\x86\x20\xd9\x6e\xb3\xf3\xe9\x47\xb9\x25\
\x99\x66\x18\x2a\x99\x60\x39\x9d\x1a\x1c\xa2\x58\x14\x35\xff\xe6\
\x01\x10\x02\xa1\x31\x58\xbf\xbe\x03\xdb\xb6\x69\x81\xb4\xd7\xd8\
\x58\x4e\xfb\x22\x22\x67\x40\x60\x18\xa6\x42\x90\x70\x5d\x7e\x3e\
\x75\x9a\x55\x2b\x92\xfa\xfe\x70\xfb\x0a\x2f\xeb\x6c\x6e\x41\x7b\
\x19\x86\xa1\x11\x51\x01\x0c\x21\x10\x86\xd0\x85\x17\x2f\xcd\x70\
\xf5\x7a\xb6\x1a\x0c\x90\x20\xa1\xe1\x58\x84\x7b\x4c\x4b\xd0\x28\
\x09\x94\x4a\x45\x4c\xc3\x08\xbd\xa3\x02\x84\x05\x3a\xa9\xc2\xd4\
\x4f\xc5\x56\xc8\x54\x5e\x42\xa1\xbc\x55\xfb\xb7\x4b\x60\xe8\x81\
\x2f\x4c\x8e\x31\x3d\x3d\x45\xa1\x90\xe7\x4e\xe4\xba\x6d\xac\x5b\
\xb7\x81\x74\xc7\x5d\xb7\xb2\x04\x46\x18\x40\x11\x48\xc9\x07\xef\
\xbf\xc3\xfc\xfc\x3c\xf9\x7c\x9e\x4a\xa5\xb2\x14\xd0\xb2\xac\x25\
\x6c\xdb\xd6\xad\x0a\xad\xc3\x03\xfa\x46\x56\x2e\x97\x97\xf8\xec\
\xf3\xe3\xda\x53\xa1\xc7\xa8\x0b\x8c\xc6\x19\x10\x08\x55\xb8\x3a\
\x95\xa6\xa6\x81\x81\x01\xfa\xfa\xfa\x38\x7c\xf8\x30\x87\x0e\x1d\
\xd2\xc7\xb7\x21\xed\xa5\x3c\x15\xfa\x2a\x8b\x0a\x50\xdf\x84\xae\
\xeb\x52\xd3\xc8\xc8\x08\xa9\x54\x8a\x74\x3a\xad\x19\x1e\x1e\x26\
\x4a\x52\x4a\xea\x42\x7b\xd5\x4e\x4c\x44\x5f\x86\xb5\x65\x10\x48\
\x59\x2f\x4c\x24\x12\xfa\xc9\x58\x9d\x62\xdd\x46\xa8\x61\x90\xb0\
\x5e\x52\xed\x8d\x98\x01\xaa\x09\x17\x43\xd4\x4d\xea\x9b\x27\x34\
\xbf\xfd\xab\x43\x82\x44\x11\x3e\xe4\xa2\xee\x84\x20\xaa\x80\xa0\
\x55\xf2\x03\x4f\xbf\x0b\x94\xcb\x25\x4d\xd3\x19\xf0\xbc\x32\xa5\
\x52\x89\x52\xb1\xa8\x77\x76\xcb\x24\x21\xb7\x90\x63\x66\xe6\x32\
\x37\xe6\x66\x9b\xcf\xc0\xcd\x85\x9b\xcc\x67\xb3\x38\x4e\x9c\x15\
\xc9\xb6\x16\x06\xf0\xb9\x30\x3e\xc6\xd8\xf9\xb3\xb4\x25\xdc\x0c\
\x30\xb8\x6c\x80\x42\xa9\xc0\xd5\xab\x33\x78\xbe\xa7\x03\x64\xbe\
\xfb\x91\x64\x32\xc9\xce\xe7\x5f\x6c\x78\x8e\x4f\x4d\xcf\xd0\x5c\
\x02\x89\xc4\x57\x3e\xb3\xb3\x37\x50\xdf\x01\x8c\x8e\xfe\x42\x3c\
\x66\x67\x1e\x7a\xf0\xfe\x03\x40\x66\xd9\x00\x97\xa6\x7f\xe7\xd7\
\xb3\xa7\xf5\xa6\xfb\xda\xb2\xf4\x86\xbb\x13\x49\x19\xbe\x5d\xf9\
\x9e\x47\x57\x57\x57\x66\xcb\x96\x47\xf4\xe0\xea\xab\x28\xff\x6f\
\x7c\x9a\x0d\xd6\x07\xaf\xeb\x7f\xfd\x09\x8d\xfd\xd4\x8a\xd6\x19\
\x48\x3f\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x06\x7e\
\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\x06\x45\x49\x44\x41\x54\x58\xc3\xc5\x57\x79\x50\xd5\x55\
\x14\xfe\x3d\x78\x8b\x5b\x91\xcb\xa4\x19\x0a\xa8\x21\xe6\x08\x82\
\x21\xb2\x48\xa1\x52\x9a\xe2\x40\xb8\xc5\x26\x25\x0a\xa5\xe8\x28\
\x28\x35\x28\x04\x62\x46\xac\xef\xb9\xa0\x82\x90\xca\xa2\x20\xc3\
\x08\x6a\x21\x20\x13\x30\x88\x06\x21\xbb\x3a\x98\xd8\x60\x8e\xd3\
\x1f\x2d\xc8\xa8\x85\xef\x74\xbe\xdf\x5c\x8c\x99\xca\x1e\x96\xf5\
\x66\xbe\xb9\x9c\x73\xbe\x73\xee\x77\xd7\xdf\x45\x22\x22\xe9\xff\
\xc4\xe3\x83\x92\xa4\x60\x4c\x66\xb8\x31\x7c\x18\x1b\x18\x11\xa2\
\xf5\x11\x7e\xc4\x15\xff\xaa\x00\xd1\xf1\x24\xc6\xd2\xe5\xcb\x97\
\x1f\x48\x4b\x4b\x3b\xcf\xbf\xce\x8e\x8e\x8e\x9f\xbb\xbb\xbb\xf5\
\x68\x61\xc3\x8f\x38\x78\x82\xaf\xf8\xc7\x02\xf8\x67\xc4\xb0\x73\
\x75\x75\x8d\x4a\x4f\x4f\xaf\x69\x6b\x6b\xeb\x61\xd0\x99\x33\x67\
\x28\x2a\x2a\x8a\x42\x43\x43\xe5\x16\x36\xfc\x88\x83\x07\x3e\xf2\
\x90\xff\xc4\x02\x44\xe7\xb3\x3c\x3d\x3d\xb5\xc5\xc5\xc5\x57\x5b\
\x5b\x5b\x29\x33\x33\x93\x56\xf9\x07\x5e\xb7\x5b\xb8\xa2\x72\xc2\
\xe2\xf7\x4e\x8e\xf0\x8a\x3e\x8a\x16\x36\xfc\x88\x83\x07\x3e\xf2\
\x90\x3f\x18\x11\x7f\x58\x6f\x27\x27\xa7\x98\xa2\xa2\xa2\xab\x8d\
\x8d\x8d\x14\x1d\x13\x7b\xc7\x79\x59\x50\x99\x89\x4f\x42\x96\xe4\
\x9f\xa1\x95\xd6\xe4\x24\x4b\xeb\xf2\x13\xe5\x96\x6d\xf8\x11\x07\
\x0f\x7c\xe4\x21\x7f\x30\xfb\x62\xa0\x00\x25\xc3\x5b\xab\xd5\xd6\
\x36\x37\x37\x53\xaa\x6e\xcf\x1d\x87\xc0\xc8\x02\x69\x75\x66\xaa\
\xb4\xe1\xf4\x27\x52\xc4\x85\x58\x29\xba\x25\x4a\x8a\xbd\xb2\x43\
\x6e\x61\xc3\xcf\x71\xf0\xc0\x47\x1e\xf2\x51\x07\xf5\x0c\x16\x20\
\x46\x6f\xe5\xe1\xe1\x71\xb8\xb6\xb6\xf6\x6e\x49\x49\x09\xbd\xbd\
\x65\xe7\x39\xe9\xdd\xec\x64\x69\x6b\xf5\xce\xb1\xa9\x5d\x31\x2b\
\x8b\x7f\xd0\x45\x5d\xb8\x77\x64\x7f\xf3\xaf\x05\x68\x61\xc3\x8f\
\x38\x78\xe0\x23\x0f\xf9\xa8\x83\x7a\x86\xcc\x42\xbf\x00\x63\xc6\
\xc2\xb8\xb8\xb8\xea\x86\x86\x06\x4a\xd2\xed\xbf\x3e\x36\xe4\xf0\
\x21\xb9\x78\xfc\xad\x0f\x03\xca\xee\xeb\x74\x2d\xfa\xbc\xd4\x16\
\xca\xe9\x07\x6c\xf8\x11\x97\x45\x32\x1f\x79\xc8\x47\x1d\xd4\x43\
\x5d\x43\x05\xa8\x19\x6b\x72\x73\x73\x6f\xd4\xd5\xd5\xd1\x96\xf8\
\xb4\x0a\x4c\xef\xb4\xb4\x9b\xbb\xc3\xaa\xef\xa7\x9f\xbf\x45\x55\
\x95\xb7\xa8\xba\xa2\x9b\xbe\xec\x07\x6c\xf8\x11\x07\x0f\x7c\xe4\
\x21\x1f\x75\x50\x0f\x75\x0d\x15\x30\x94\xf1\x41\x69\x69\x69\x4f\
\x55\x55\x15\xbd\xb9\x3d\x33\x0f\x6b\xbc\xa9\xfc\xc7\xc3\x92\x55\
\x10\x59\x2e\xd9\x45\x2e\x01\x3a\x9a\xe3\x9b\x42\x0e\x3e\x29\x72\
\x0b\x1b\x7e\xc4\x65\x1e\xf3\x91\x87\x7c\xd4\x41\x3d\xd4\x35\x54\
\xc0\x30\x46\x5c\x79\x79\xb9\xbe\xa6\xa6\x86\x26\x87\x9d\x38\x88\
\x8d\x96\xd4\x70\xef\x84\xe4\x7e\x92\xd4\x2b\x9b\x68\x74\x60\x2b\
\x99\xae\x6b\xa3\x49\xef\xb7\xcb\x2d\x6c\xf8\x11\x97\x79\xcc\x47\
\x1e\xf2\x51\x07\xf5\x50\xd7\x50\x01\xc3\x19\x91\x3c\x75\x3d\xf5\
\xf5\xf5\xe4\x93\x7a\xfa\x18\x76\x7b\x78\xcd\x2f\x87\x24\xef\xcb\
\x24\xad\x65\xd2\x1a\xc6\x3b\x03\x00\x1b\x7e\x8e\xcb\x3c\xe6\x23\
\x0f\xf9\xa8\x83\x7a\xa8\x3b\x98\x19\x58\x9f\x98\x98\x78\x13\x9b\
\x48\x9b\x5f\xf6\x05\x46\x34\x23\xfb\x6e\xec\xb6\x3a\x3a\x18\x56\
\x4d\xa7\x83\xca\xa8\x7c\x5d\x05\x9d\x0b\x66\xa0\x85\x0d\x3f\xe2\
\xe0\x81\x8f\x3c\xe4\xa3\x0e\xea\x0d\x66\x06\xb0\x07\xbc\x43\x42\
\x42\x2e\xf0\x31\xa2\xca\x9a\xba\x6b\x93\x3f\xbe\x98\x24\x25\x7f\
\x1f\x21\xa5\xf5\x85\x49\x09\x94\x29\x23\x91\x32\x1e\xa1\xdf\x87\
\x38\xf3\xc0\x47\x1e\xf2\x51\x47\xdc\x05\x43\x07\x73\x0a\x5e\xb1\
\xb7\xb7\xcf\xcd\xc8\xc8\xe8\x6d\x6a\x6a\x22\x6d\x51\xcd\x29\x29\
\xee\x7a\xa4\xb4\xef\x5e\xb8\x94\x42\xa9\x52\x3c\xe5\x49\x9f\x52\
\xce\x23\xc0\x86\x1f\x71\xe6\x81\x8f\x3c\xe4\xa3\x0e\xea\x0d\xe6\
\x14\xe0\x1e\x78\x8e\xb1\xd6\xd7\xd7\xb7\x81\xef\x75\xaa\xff\xfa\
\xf2\xed\x2d\x79\x5f\xa5\xcb\xe7\x5c\x77\x2f\x52\x4a\xd6\x27\xf3\
\x88\xb3\xb8\xe3\x7c\xb9\x85\x0d\x3f\xc7\xc1\x03\x1f\x79\x3e\x3e\
\x3e\x8d\xa8\x23\xea\x19\x0f\xe6\x26\xc4\x32\x38\x58\x58\x58\xe8\
\x78\x0a\x6f\x54\x56\x56\x52\x53\x4b\xeb\x77\x19\x15\xcd\x85\x96\
\x7b\xbf\xd9\x2d\x2f\x87\xae\x67\xab\xb4\xef\x7e\xb8\xdc\xb2\x0d\
\x3f\xe2\x97\x9b\x5b\x6e\x83\x1f\x1c\x1c\xdc\x6b\x6e\x6e\x7e\x91\
\xeb\x04\x30\x5e\x34\xf8\x26\x1c\xf0\x2d\x30\x61\x2c\xb6\xb2\xb2\
\x3a\xe6\xe7\xe7\x77\x23\x3f\x3f\x9f\xda\xdb\xdb\xa9\xb1\xed\x6a\
\xc7\xf1\x9a\x8e\x53\xa1\x85\x57\x0e\xd8\xec\xbf\x16\x8f\x16\x36\
\xfc\x88\x83\xc7\xfc\x5e\x2f\x2f\x2f\xf2\xf7\xf7\xff\xc9\xc4\xc4\
\x24\xd7\x7a\x9c\xd1\x51\x3c\x58\x06\xfb\x35\xc4\x5e\x18\xcd\x58\
\x62\x6a\x6a\xba\xcf\xc5\xc5\xa5\x91\x67\xa3\x97\x8f\x15\xe1\x43\
\xd3\xd9\xd9\x49\x5d\x5d\x5d\x72\x0b\x1b\x7e\xc4\x99\xd7\xc4\xfc\
\x4b\xe8\x9c\x6d\xda\xf8\xc6\xd4\x07\x47\xbc\x34\x0f\x97\x4d\x57\
\x96\xfc\x9d\x88\x3f\x7b\x0f\x68\x84\x08\x57\x46\xa8\x99\x99\x59\
\xa1\xb5\xb5\xf5\x25\x47\x47\xc7\x6f\xdd\xdc\xdc\xee\xba\xbb\xbb\
\xeb\xd1\xc2\x86\x1f\x71\xf0\x18\x41\x3c\xf2\xe3\x81\x73\x2d\x1f\
\xc4\xbf\xaa\xa2\x03\x8b\xd4\x94\xcd\x22\xfc\x6c\x94\x39\x8f\x13\
\xf1\x57\x2f\x22\xb5\x58\x0e\x53\xc6\x02\x71\xaf\xe3\x62\x49\x60\
\xec\x65\x24\x32\xb6\x8b\xcd\xf6\x3a\x63\x22\x63\xca\xb8\xa1\x8a\
\xec\xd0\x19\x4a\xfd\x8e\xd9\x2a\x4a\x78\x4d\x45\x07\x59\x44\xce\
\x5b\x9a\xbe\x80\x99\x4a\x2c\xc7\xbc\x3f\xdb\x13\x8f\x7b\x13\x2a\
\xc5\xc6\xc4\x6e\x1e\x2b\x3a\xc1\x43\xe3\x25\x81\x49\x42\xe0\xf3\
\x82\x33\x82\xb1\xc8\x7a\xa4\xe2\xec\x26\x6b\xa5\x3e\xda\x41\x45\
\x49\x6e\x2a\x4a\x5f\xac\xa6\x3c\x6f\x4d\x9f\xff\x4c\xe5\x31\x31\
\x18\x23\x51\x5f\x61\xe8\xab\xd8\x58\xcc\x08\x6e\xcb\x67\x19\x23\
\xc5\x12\x8d\x11\xed\x28\xe1\x1b\x29\xfe\xf6\xb4\x1b\xa5\x28\xd8\
\xcc\x22\x3e\x9a\xa3\xa2\xe4\x79\x2a\xca\x58\xa2\xa6\x13\xcb\x34\
\x7d\xab\x6d\x95\xd9\xe2\x33\xad\x7c\x24\xc4\xa0\x57\xcb\xef\x33\
\x32\x84\xf1\x8c\xe8\x08\x23\x7f\x41\x1c\xb7\x09\x0c\x33\x86\xb9\
\x80\x2f\x8b\x28\x0c\xb3\x51\xea\x63\x1c\x55\x94\x32\x5f\x4d\x99\
\x1e\x6a\x2a\x58\xa1\x79\xc8\xcb\x81\x4b\x6a\x11\x43\x25\x8b\x30\
\xb0\x73\x63\xd1\xb9\xc9\x80\xe5\x98\x22\x5e\x3d\x2f\x33\x66\x30\
\x6c\x18\x33\x07\x60\xad\xed\x28\x45\x71\xb8\xad\x52\xbf\xd3\x49\
\x45\xda\x05\x6a\xca\x62\x11\x27\x57\x68\xf4\xfe\xb6\xca\x3c\x21\
\x42\x69\x88\x00\x23\x31\xfa\xe1\x62\xd4\x16\xa2\x53\x5b\xc6\x6c\
\xc6\x1c\x86\x33\x63\xae\x38\x39\xfd\x80\xbd\xd1\x76\xb4\xe2\xec\
\x36\x16\xb1\xcb\x59\x45\x7b\xdc\xd5\xf4\xd9\x52\x0d\x15\xae\xd4\
\xe8\x1d\x4c\x8d\xf0\x82\x1e\x67\xa8\x00\x95\x58\xff\xf1\x8c\xa9\
\xe2\xfd\xef\x28\x3a\xc2\x7f\x47\xf3\x19\xee\xe2\x44\xf4\xc3\x5d\
\x6c\xba\x30\x16\x51\x1a\x61\xc7\x22\x5c\x54\xb4\x97\x45\xac\xb7\
\x57\x55\x61\xaf\xc8\xb3\xfa\x1f\x08\xc0\xf1\xdb\xcc\x22\x3e\x8f\
\x98\xa5\xd4\xaf\x9a\x6a\x8c\x57\xb3\xaf\x38\x41\x43\x9e\xf6\x12\
\x38\x0b\xa1\x0e\x8c\x90\x09\xc3\x15\x59\xe2\x3b\x31\x45\x0c\x48\
\xfd\x34\x37\xa1\x8d\xf0\x4f\x67\x4c\x63\x58\x8a\x99\x1b\x2f\x8e\
\xec\x30\x83\x36\xe1\x13\x1e\x43\x73\x61\x4f\x14\x53\x3d\x5e\x08\
\x1f\x23\x06\x31\xac\xff\x18\xfe\x06\xa3\xbf\x6b\x5c\x6e\x71\x2e\
\x0b\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x04\x94\
\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\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x04\x26\x49\x44\x41\x54\x58\x85\xc5\
\x96\x6d\x4c\x53\x57\x18\xc7\x3b\xc5\xa9\x73\x4e\x21\xc6\x45\x65\
\xbe\xc4\xf8\xc2\xc8\xc4\x84\x2d\x43\x08\x74\x33\x6a\xf4\x83\x73\
\xcb\x14\x4c\x8c\x89\xc9\x8c\xc9\xa2\x26\x66\x89\x19\x59\x50\xdc\
\xa7\xc5\x84\x7d\x33\xc6\x97\xf8\x61\x5b\xf4\x83\x13\xfc\x60\x8c\
\x41\x37\xd4\x11\xa7\x20\x82\x88\xa0\x85\xad\xa5\xb5\x40\x5b\x4a\
\x69\x7b\x5b\x5a\x28\xf2\xec\xf9\xf7\x9c\xb3\x7b\x21\x8a\x55\xae\
\x91\xe4\x97\x73\xee\xe9\xbd\xe7\xff\x7b\x9e\x7b\x7b\x8b\x85\x88\
\x2c\x6f\x92\x37\x1a\x9e\xb2\xc0\x67\xdb\x8f\xe4\x1a\xd8\x33\x86\
\x72\xe6\xa4\xa4\x82\xc9\x33\x55\x80\x37\x2c\x2d\x3d\x7a\xd6\xa6\
\x38\x7f\xf9\x76\xb7\x91\x9b\x75\x6d\xfe\xd6\x76\x57\xb8\xdd\xee\
\x8e\x34\xb7\x39\xc2\x5f\xec\x3e\xda\xc4\xd7\xac\x37\x53\xa0\x81\
\x47\x1a\x19\x21\x52\xa3\x9a\xab\xbf\x58\x2c\x4e\x1e\x8f\x97\x86\
\x87\x87\xa9\xb9\xb5\x23\x6a\x2d\x3e\x7c\x8a\xaf\xcb\x36\x4d\x40\
\x85\x3e\x0f\x4d\x8b\x50\x4b\xcb\xc3\xa4\x4c\x22\x91\xa0\xea\x1b\
\x0d\x01\x6b\xc9\xe1\x23\xa9\x48\xa4\x24\xf0\xf4\x29\x71\x75\x3a\
\x63\x8f\x83\x41\x8d\xea\xeb\xef\xfe\xdf\x91\x48\x24\x42\xd7\x6a\
\x1b\x93\x12\xa6\x09\x0c\x25\x9e\x4f\xa0\x5f\xa3\xdb\x77\xea\x47\
\xdd\x96\x48\x34\x4a\x85\x5b\x7f\x68\x34\x45\x20\x31\x3c\x3a\x70\
\x70\x68\x34\xc1\x50\x94\x6e\xfe\xf5\x37\x5d\xbd\xfa\x07\x5d\xa8\
\xac\xa4\xaa\xaa\x8b\xf4\x67\xcd\x75\xda\xb8\xa3\xec\xa1\xc5\x62\
\x79\x6b\xc2\x02\x08\x1d\x88\x0b\x62\x83\x02\x04\x63\xc4\x9a\x16\
\x4d\xd0\x23\x9b\x83\x2a\x2f\x5e\xa2\xd3\x67\x7e\xa1\xb3\xe7\x7e\
\xa7\xda\x5b\x77\x28\xff\xcb\x83\xf7\x4d\x11\x88\x4b\x81\x48\x5c\
\x17\x31\x12\x8d\x8d\x50\x5f\x28\x4e\xae\x6e\x3f\x75\xba\x3c\xe4\
\xe6\xb1\x8f\x6f\x0b\x3f\x03\xf7\x4c\x11\x88\x71\xb5\xa1\x01\x6e\
\x75\x54\x48\x18\xe7\x18\x81\x16\x13\xeb\x18\x93\x62\x7c\x8d\xfc\
\x0a\x4f\xfc\x19\x88\x0e\x8a\x8d\x55\x90\x31\x10\xf3\x40\x44\x5f\
\xc3\x1c\xeb\x90\x33\x4d\x40\x93\x55\xf7\x69\x22\x00\x8c\x9d\xab\
\x4e\xa8\x75\x48\x9b\x26\x10\xe6\xca\x7a\xc3\x62\x63\x8c\xbe\x90\
\x08\xf2\x04\xf5\x40\xac\xe1\x58\x8d\xb8\xc6\x34\x81\x20\x57\xdf\
\xd3\xaf\x87\x63\x04\xc6\x40\x88\xe0\x9c\xd7\x22\x10\xe0\xd6\xba\
\xfb\x88\xba\x02\x22\x04\x01\x4a\x06\x6b\x00\x6b\x6a\xee\xf2\xf3\
\xed\x18\x30\x59\x00\x9b\x22\x1c\x38\x7b\xc5\x31\xa4\x30\xfe\xe3\
\xd5\xe7\x10\x80\x18\xae\x31\x55\x00\xa1\xd8\x1c\x63\x87\x47\x88\
\x20\xd0\xd1\xab\x77\x07\x73\x25\xe7\xd7\x4c\x14\xf0\x86\xc5\xc6\
\x08\x40\xb5\x10\x30\x0a\x19\x3b\x82\x35\x5b\x8f\xc9\x02\x5d\x41\
\xbd\x3a\xbb\x8f\xe8\x71\xb7\x10\x41\x28\x64\x94\x18\x3e\xc3\x1c\
\x02\x3d\x21\x21\x80\x37\xe1\x78\x6f\xc3\x94\x04\x50\x0d\x42\x11\
\xd6\xd6\x25\xc2\x70\xac\x50\xc7\x10\x50\x1d\x72\xf7\x43\xa0\x1c\
\xaf\xe2\x29\x4c\x1a\x33\xe9\x59\x32\x29\x09\xf4\xb2\x40\xab\x5b\
\x60\x0c\x57\x32\x00\x55\xe3\x58\x75\x01\x1d\xe0\xdf\x82\x26\x0e\
\x7c\x97\x79\x87\x99\x6a\x14\x49\x49\x00\x27\xa2\x0a\xdc\x02\x04\
\x22\x44\x85\xb7\x3c\x11\x42\x08\x55\xe1\x4e\xd9\xfe\xfb\x4e\x7e\
\x16\xf8\x9a\xa2\xe2\x43\xcd\xbc\xc7\xfb\xcc\x1c\x66\x96\x14\x41\
\x47\x26\xbd\x50\x40\xb6\x6b\xb2\xb5\xa4\xbc\x11\xed\x6c\xea\x24\
\x7a\xe0\x12\x41\x08\x86\x00\xc0\x31\x3e\xfb\x97\xbb\xe0\xe4\x87\
\xb0\xc3\x2b\xaa\x77\x7a\x82\x43\x05\x5f\x97\xd6\xf0\x1e\xcb\x99\
\x25\xcc\x7c\x26\x5d\x4a\xa4\xa9\x2e\x8c\x27\x80\x56\xa5\x41\xc0\
\xe1\xd7\xab\x6e\xb0\xeb\xed\x6f\x76\x8a\x96\x23\x34\x29\xd9\xee\
\x8d\x9f\xbf\x52\x17\xf8\xe6\xfb\xe3\x8e\x82\xaf\x0e\xd6\xe6\x7c\
\xbe\xf3\x47\xde\x23\x97\xf9\x88\x59\x26\x25\xde\x63\xde\x56\x5d\
\x78\x91\xc0\x14\xdc\xc7\x27\xfd\x7a\xbb\xdb\xb9\xc5\x75\x76\x11\
\x8a\xf5\x7b\x36\x6f\xfc\xd8\xaf\xd5\xbe\x92\xbd\x15\x8e\xbc\xcd\
\x07\x6a\x56\xaf\xdd\x75\x62\xfe\xd2\xdc\x5d\x7c\xed\x5a\xc6\xca\
\x14\x30\x9f\x30\xd9\xcc\x22\x26\x83\x99\xf6\x52\x02\xa8\xee\x11\
\x57\xdd\xc9\x9d\x70\xf1\xf7\xbc\x11\xa1\xbf\x55\xfb\x8a\xf7\x56\
\xd8\x11\x9a\x9d\xbf\xed\xa7\x8c\x79\xcb\xb6\xf3\xf9\x1b\x98\xf5\
\xcc\x3a\xb3\x04\x92\xb7\x20\xc4\x3f\xad\x0d\x36\x5f\xec\xf8\xb9\
\x6b\x3d\x25\xfb\x7e\xee\xc8\xdf\xf2\x5d\xf5\x2a\xeb\x8e\x43\x73\
\x32\xb3\xb6\xf0\x39\x85\x4c\x91\x81\x42\x19\xba\x86\xf9\x74\x22\
\xb7\x20\xf9\x10\x16\x6d\x2b\x2b\x43\x17\xf8\x3f\xdc\xaa\x8f\x37\
\x7d\xbb\x3f\x73\x45\x1e\x36\x5e\xc9\x7c\x28\x37\xce\x61\x56\x1b\
\xc8\x91\xeb\xa8\x38\xeb\x95\x1f\x42\x83\x44\x9a\x6c\xd9\x4c\xd9\
\xbe\xb9\xcc\x3c\x66\x01\xf3\x81\x6c\xeb\x62\x03\x38\x5e\xc8\x64\
\xca\xd0\x57\xfb\x1a\x3e\x43\x02\x6d\x9b\xce\xcc\x90\x32\xd8\x70\
\xb6\xac\x2a\xc3\x40\xba\x5c\x9f\x25\xdb\x3d\xee\x8b\xe8\x3f\x61\
\x3e\xe0\x61\x6f\x4e\x8f\x30\x00\x00\x00\x00\x49\x45\x4e\x44\xae\
\x42\x60\x82\
\x00\x00\x06\xfb\
\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\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x06\x8d\x49\x44\x41\x54\x58\xc3\xed\
\x57\x79\x54\x8d\x69\x1c\xbe\x46\xe6\x18\x63\x16\x63\x3b\x0d\x33\
\xd9\xc2\xd1\x62\x89\x44\x1b\x52\x88\x5b\x42\x8b\xf6\xb2\x84\xb4\
\x58\xba\x2a\x57\x8b\xa5\xba\x15\xe9\xa6\x28\x7b\x22\xd7\x70\x42\
\xf6\x90\xce\xb1\x4b\x24\x0d\x47\x0d\x31\xb2\x9e\x28\xe4\x4a\xcb\
\x33\xcf\xc7\xe5\xcc\x41\xca\x31\x73\x66\xfe\xf0\x9d\xf3\x9c\x7b\
\xce\xfd\xbe\xf7\xf7\x3e\xdf\xf3\x3c\xbf\xdf\x7b\xaf\x08\x80\xe8\
\xbf\x84\xe8\x0b\x81\xff\x15\x01\x53\x87\x10\x6b\x13\xdb\xe0\x08\
\x63\xdb\xe0\x54\xe3\x09\x81\x69\x86\xe3\x24\xc9\x83\xac\xfc\x03\
\xf4\x46\x4c\x19\x2a\x12\x89\xbe\x21\xbe\xfa\xe4\x0d\x1a\x73\x99\
\xda\x4b\x6d\x4d\x1d\x16\xfc\xe6\x13\x9a\x79\x3b\x58\x76\xa9\x42\
\x2a\x2b\x51\x4a\x63\x4a\x94\x61\x71\x57\x2b\x25\x91\xd9\x8f\xdd\
\x66\xaf\x2b\x35\x1a\x3f\x2f\x8f\x64\xe4\xba\x43\x9c\x8c\xb9\xa4\
\x05\xd1\x44\xf4\x4f\x5c\xa6\xf6\x0b\x34\x2c\xdd\xa3\x0a\x16\xc5\
\xdf\x57\xba\xcd\x06\x46\xb9\x01\x66\x2e\x80\x85\x3b\x20\x9e\x06\
\x38\xcd\x05\x7c\x16\x01\x8b\x12\x95\x75\xe1\xf2\xbc\x4a\x7b\xef\
\x84\xdb\x24\xb2\xb3\xaf\x99\x87\x33\x97\x7f\x47\x34\xfd\x4c\x02\
\x52\x49\x90\x2c\xb7\xcc\x6e\x06\xa0\x6b\x09\x68\x5a\x10\xa3\x81\
\x5e\x36\x80\x8e\x1d\xa0\xe7\x0c\x18\x79\x92\x98\x37\xe0\x12\x04\
\x04\xc5\x01\x51\x2b\xaf\x57\xb9\xcd\x5a\x73\xcf\x40\xec\x9b\xd9\
\x67\x98\x9b\xeb\x67\x11\xa1\xf4\xc7\x83\xa2\x5e\xd4\x0e\xb6\x05\
\x34\xcc\x81\xce\x63\x80\x9e\x13\x81\xde\x1e\xc0\x40\x92\x1a\x38\
\x13\xd0\xe7\xe6\x06\x54\xc3\x90\x30\xf7\x01\x1c\x83\x49\x64\x39\
\x10\xbd\xfa\x7a\x95\xdd\x8c\xf8\xbb\x7a\x16\x53\x52\xba\xf6\xb5\
\x18\xc8\x72\xcd\x3f\xd9\x9a\x51\x6e\x91\x85\x7e\x94\x78\x80\x3d\
\xd0\xcd\x1a\xd0\x76\xe5\x1b\xfb\x03\x56\x0b\xb9\x11\xdf\xd6\x3d\
\x01\x70\xe6\xa7\x4d\x14\x6d\x91\x02\x26\x73\x08\x3f\x2a\x32\x8b\
\xf7\x42\x69\x4d\x32\x10\x1a\x77\xa2\xd2\xdc\x39\xbc\x84\x44\x64\
\x2c\xd9\x8e\x50\x6b\x34\x01\x4f\xc9\xc6\x1b\xfe\x91\xc0\x20\x7a\
\xaf\x45\xef\x0d\x59\xd8\x2e\x06\x98\xb7\x05\x48\xcc\x02\x36\x1c\
\x07\x56\xe7\x00\xb2\x3d\xc0\x9c\x34\x92\x21\x21\xcb\xc5\xc0\xb0\
\x79\xcc\x0a\xc9\x8c\x0d\x04\x66\x92\x5c\x7c\x9a\xb2\x6e\x6a\xd0\
\xa6\xb2\x3e\x66\xee\xa9\x9d\x75\x87\x19\x36\x5a\x0d\x13\x3b\xe9\
\x65\xa9\x1c\x18\x4e\x69\x0d\x28\xb5\xd5\x12\x20\x30\x1d\xd8\x96\
\x0b\x2c\x49\x39\x50\xe5\x31\x37\xa1\x32\x44\x9e\xa1\x4c\x3f\x52\
\x5c\xbd\xab\x00\x90\x1f\x05\xe6\x6e\x65\x38\x13\x49\x84\xcf\x0e\
\x67\x2e\x46\x91\x8c\x73\x38\xb0\x38\x05\x08\x8f\xa7\x1a\x4e\x61\
\x37\x75\x4d\x9d\x02\x58\xbe\x75\x83\x6a\xb0\xef\xcf\x2c\xdd\xf4\
\xa2\xd6\x36\x84\xfe\xd2\x5b\xf7\x24\x20\xe9\x08\xb0\x72\xfb\xd9\
\x97\xdd\x07\x8c\xbe\xd6\xfa\x67\xcd\xcc\x4e\xda\xa6\x07\x7a\x0f\
\x75\x29\x14\x7b\x2e\x7c\xac\x38\x56\x5c\xbd\x23\x9f\xfe\x1f\x02\
\xbc\xa9\x88\x5d\x3c\x09\x50\x91\x11\xb4\x47\xa8\x31\x87\xd9\x88\
\xdf\x58\x5a\x2d\xf6\x88\xbc\xcb\x35\x89\xdc\xa2\xc3\xdf\x49\x70\
\xd6\x68\xf3\xa5\x17\xf7\x33\x9f\x64\xf0\xaa\x9d\x07\x59\xcf\x5e\
\x2e\x5b\x7d\xe1\x99\xff\x0a\x16\x8b\x06\x7c\x53\x01\xc5\x39\x16\
\x0f\x5d\xf3\xbc\x9d\x86\xce\x41\x3e\xe4\x4b\x58\x12\x56\x1a\x5a\
\xc6\x72\xa6\xfe\xa2\xcf\xc2\xf5\x4f\x77\xe7\x3d\xaa\x5d\x77\x1a\
\x90\x66\x02\x1e\xeb\x98\x91\xa5\xc0\x48\xe6\xc6\x86\x24\xa6\xb3\
\x8e\x7c\xb3\xb2\xce\xc5\x6f\x55\x19\x9f\xdf\xc4\xb5\x1a\x44\xb3\
\x57\x9b\x73\xd0\x25\xa5\x16\x3c\xd6\x1b\x31\x75\x03\xbf\xd3\x12\
\x09\x83\xc5\x7a\x72\xf4\xad\x15\xbb\xb8\x29\x25\x0c\xdc\x06\xec\
\xb8\xc0\xa2\x01\x09\x95\x6d\x3a\xf6\x48\x17\x72\x4a\xb4\x27\x7e\
\x22\xba\x10\x43\xbb\x0f\x18\xb3\x61\xb8\xe3\xfc\x07\x69\x87\x0a\
\x5e\x66\x14\x02\xb1\xd9\x9c\x15\x0a\x60\xe2\x4a\x60\x34\xf3\x60\
\x4d\x3b\x3c\xf9\x19\xbd\x91\x35\x17\x28\x2a\xf4\x2d\xbd\x8f\xf5\
\x1e\xe6\xea\xc5\xc9\x1a\x13\xbf\xb6\xa0\x3c\xe7\x24\x30\x78\xec\
\xec\x3b\xac\x65\x2f\xa8\xd2\xa2\xff\x48\xaf\xa4\x88\x94\x93\xcf\
\xa2\x77\xd2\x43\x12\x51\xd0\xff\xd0\x84\x0c\x65\x27\xed\x21\xfb\
\x84\x0d\x89\x96\x2a\x05\x9b\xaa\x7a\xbe\x1b\xd5\x90\xe8\x0e\x71\
\x3e\x11\x18\xbb\xf5\xe9\x81\x42\x65\xdd\xaa\x33\x24\xcf\xa0\xba\
\xaf\xa7\x0a\xec\x1a\x31\x6d\x71\x89\x60\x98\x99\x95\x85\x89\x7f\
\xbe\x34\xb0\xf2\xbf\xe2\x1d\x9a\xff\x24\x96\x2f\xb9\x9f\x84\x0d\
\xc4\x7e\x8f\x58\x67\x8e\x50\xb4\x89\xa6\xde\xa8\x01\x16\x2e\xe1\
\x25\x9b\x0e\x3f\xaa\x4d\x60\xf2\xd3\x58\x2c\x75\x7f\x41\xb5\xb6\
\xb1\xfd\x45\xde\x17\x13\xad\xde\x89\x8e\x9a\x4a\x95\xc1\xbd\x06\
\x8f\xdf\xe2\xe8\xbf\xac\x6c\x7f\xc1\xa3\xda\x54\x2a\x17\xc6\x6c\
\x4c\xdd\x4c\x3b\x69\xa9\x15\xbb\x6b\x3c\x89\x4c\x24\x26\x48\x9e\
\xd6\x8d\xf5\x05\x66\x84\x51\xe1\xfd\x9c\x2f\x62\xdf\x72\xae\x97\
\xbe\x29\xd8\x9c\xed\x13\xe2\xe0\x13\xf7\x60\xfb\x29\x65\xdd\x56\
\x66\xe0\xc4\x0d\xbe\x05\x43\xd7\xee\x57\xed\x50\x95\x87\xef\xb6\
\xd4\x57\xc4\xb7\x82\x1a\x24\x21\x37\x77\x92\xde\xcf\x3c\x5f\x5a\
\xa3\xa0\x25\x11\xec\x94\x69\xb4\xd2\x69\xf5\x6b\x35\x46\xd2\x12\
\x63\xb6\xb7\xd1\x74\x5a\xcb\xd9\xb1\xfd\xe0\xfb\x04\x84\xe2\x6d\
\x29\xe9\xca\x00\xd9\xb6\xf2\x23\x57\x80\x9c\x22\x60\xdd\xae\x73\
\x55\x5a\x86\xb6\x39\xbc\x37\x48\x75\x00\x7d\xe8\x12\xd4\xe8\xd8\
\x73\xa0\x75\x84\x85\x93\xf4\x5e\x32\xd7\xa4\x93\xc4\x12\xce\x0e\
\x5f\x5a\xea\xca\x1c\xd8\xb0\x53\xcc\xc2\x5e\xcf\x0e\x2f\x06\x34\
\xe3\xe8\xfb\x04\xde\x16\x12\x52\x2b\x91\x29\x2a\xf2\x6e\x02\x85\
\x77\x01\x07\x9f\xd8\xf2\x6e\xfd\x46\xca\x55\x2a\xa8\x7d\x84\x84\
\x7a\x07\x4d\x7d\x2f\xe6\x29\x5f\x71\xa6\xb4\x3a\xf9\x22\x10\x42\
\xaf\x67\x32\x53\xee\x6c\xd7\xf1\xb4\xc4\x9a\x9b\xfb\x73\x72\x66\
\x9e\xf8\x30\x81\x37\x85\x34\xd8\xbf\x5b\x24\xd1\x8a\x8a\xc2\x3b\
\x40\x16\x65\xed\x67\x31\xf9\xf7\xef\xdb\x74\x1c\xc7\x7b\x3f\x7e\
\x64\xba\x09\x6b\xdb\x6a\x19\xd9\xcd\x27\x89\x0b\xf1\xd9\xa5\xd5\
\x51\x6c\xd3\xf9\x7c\x5b\x3f\x86\x73\x32\x87\x9b\xdb\x5a\xb6\x2d\
\xbb\xe5\xc0\xf9\xfa\x09\x08\x57\x33\xa2\x93\x40\xc2\xc1\x67\x59\
\xd9\xb9\x3f\x94\x75\x31\xeb\x0f\x3d\xef\xa1\x6f\xa5\x78\xd5\xb7\
\x22\xd1\xd7\xf5\x0d\x35\xc3\x71\x01\x9d\x0d\x6d\xe6\x2e\x4d\xde\
\x97\xff\x44\x51\x0c\xac\xe2\xe4\x8c\x63\x47\x45\x72\x9c\x2f\x60\
\x38\x83\x39\x33\x12\x38\xe4\x8e\x5f\xf9\x38\x81\xb7\x24\x74\x4c\
\x26\xae\xb1\x9a\xb4\xf8\xe1\xa1\xb3\xa5\x35\x81\x4b\x15\x15\xec\
\x96\x28\xc1\xa6\xfa\x8e\x5e\xe1\x68\xdf\xb0\x37\xb7\xec\x52\x19\
\x90\x5d\x0a\xec\xa3\x8d\xbb\xaf\xd3\x73\xe6\x49\x08\xa7\x82\x13\
\xf4\xf0\x55\xe0\xd2\xad\x86\x09\xbc\x21\xa1\xd1\x43\x5f\x2c\xe3\
\x4f\xb2\xcb\xd1\x6b\xb3\x2a\x1d\xfd\xe2\x1e\xaa\x77\xe9\x3b\x99\
\xdf\xb7\x79\xd7\x0a\x1e\xeb\x3d\x3c\x83\x53\xae\x65\xe5\x95\x3c\
\x3f\x98\x7b\xbd\x6a\xef\xd9\xe2\xea\x3d\x67\x8a\x6a\xf6\x9c\x2e\
\xaa\xc9\x3c\x55\x54\xb3\x9b\xd8\x75\x9c\x9f\x44\x46\x4e\x51\x8d\
\xb6\xb1\x43\x09\x97\x49\x1a\x3a\xab\x04\x5f\x3b\xfc\xd0\xe6\x97\
\xb1\x4c\x79\x7a\xab\xf6\x9d\x85\x30\x3a\x09\xea\x7c\x40\x85\xa6\
\xbd\x87\xba\xba\x71\xc4\xe6\x08\xe7\x86\x8e\xa9\x63\x91\x8e\x89\
\x63\x71\x7d\x50\xef\xda\x6f\x0f\xd7\xb8\x37\xe6\xc4\x56\x53\x85\
\x4f\xf0\x7f\x08\xd1\xb7\x9e\x30\x36\x51\x9d\x7e\x46\x84\x0b\xe1\
\xd5\x00\x1c\x89\xfe\x8d\xfd\xd9\xd0\x44\x15\xbe\x96\x0d\x9c\xf3\
\x6f\x46\xb5\xba\x2a\x2b\x1f\x83\xba\xea\xd9\x7f\xf7\xfa\xf2\xcf\
\xe8\x0b\x81\x86\xf0\x17\xce\x95\x4e\x3d\xa5\x4e\x62\x58\x00\x00\
\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x07\x68\
\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\x07\x2f\x49\x44\x41\x54\x58\xc3\xcd\x97\x09\x54\x54\x65\
\x14\xc7\x9f\x80\x88\x20\x04\x0d\x28\x9b\x6c\x02\xb2\x0c\x33\x2c\
\x6e\xa0\xc0\x11\xe8\xc4\xa8\x84\x6c\xb9\xa0\x64\x66\xb9\xe6\x12\
\x5a\x96\x29\x89\x5a\x4a\x08\xa7\x52\x3a\x99\x51\x83\x10\x03\xea\
\x00\x03\x1a\x10\x20\x8c\xc0\x40\x12\x01\xa3\x43\xc0\x60\x25\x21\
\xab\x02\x31\x0c\xdb\xcc\xbb\xdd\x37\x3d\x3b\xed\x82\xc9\xa9\x77\
\xce\xef\x0c\xe7\xfb\xee\x7b\xf7\x7e\xf7\xfb\xbe\xff\xbd\x10\x00\
\x40\xfc\x97\x4c\xc8\xc8\xdd\xdd\x9d\xe9\xe6\xe6\x76\xdc\xd5\xd5\
\x95\xeb\xe2\xe2\xf2\xd6\xfc\xf9\xf3\xfd\x09\x82\xd0\x46\xd4\x1e\
\xea\xe0\xdf\x3e\xe8\xd8\x2b\x24\x24\xe4\x56\x61\x41\x7e\x7f\x7d\
\x5d\xad\xfc\x62\x66\xe6\xc0\xf6\xed\xdb\xda\x99\x4c\x66\xb6\xbd\
\xbd\xfd\x06\x34\xd1\x45\xd4\x89\xa9\x7a\x30\x80\xf7\x44\xa5\xe9\
\x32\x68\xdd\x08\xd0\xe8\x03\xf0\xfd\x2e\x80\xfe\x02\xa8\xad\x11\
\x8d\x7a\x7b\x7b\xdf\xd1\xd6\xd6\x0e\x40\x33\x83\x29\x0b\x00\xd3\
\x5f\x0f\xcd\x2b\xa1\x86\x4b\xc0\x86\x15\x04\xbc\x14\x4a\x80\xf0\
\x1c\x66\xb7\x71\x19\x24\xc4\x1d\x1e\x32\x37\x37\xbf\x80\x66\xce\
\xc8\xf4\x29\x09\x80\xcd\x66\x7f\x2e\xe1\x11\xc0\x4b\x60\x2a\x4c\
\x4c\x4c\xc4\x16\xa6\x3a\x85\x6b\x38\x86\xa3\x50\x45\x40\x45\xce\
\x66\x85\x8d\x8d\xcd\x37\x68\xc6\x41\x9e\x98\x8a\xd5\x3f\x1d\xb5\
\x61\x8d\x74\xe8\xc6\x22\xb2\x98\x17\xa9\xb0\xb4\xb4\x14\xe3\xf0\
\xab\xae\x2c\xfb\xda\xd6\x5c\x53\x10\x0b\x96\x90\xb6\xb6\xb6\xcd\
\x38\x16\x85\x18\x4f\xc5\xfe\x27\x37\x5c\x4f\x18\x86\x6a\x5d\xe8\
\xaa\xdd\x0d\x5e\x9e\x4b\xee\xa3\xc3\x2b\x78\x00\xcb\x5a\x0a\x9f\
\x22\x6f\xf2\x9d\xc9\x79\xf3\xe6\xb5\xa2\xe9\x56\xc4\xfc\xb1\x07\
\xe0\xe4\xe4\x14\x7e\x64\x9b\xd1\x48\x7e\x02\x01\xf7\x84\x1e\xd0\
\x71\xbb\x98\xcc\xcf\xf9\x68\xa4\x40\x70\x4e\xde\xfd\xf5\x76\xc8\
\x88\xb3\x54\x9a\x9a\x9a\xde\x40\xd3\x17\x10\xd3\x09\x2c\xc8\x8f\
\x3a\xd4\x2c\x16\xeb\x88\xb5\xb5\x35\x0b\x87\x66\x3c\xec\x1d\xdd\
\xdd\xeb\xf5\x12\xa2\xa3\x74\xee\x1c\xdb\x3e\x83\xec\xae\x5a\x0f\
\x77\xeb\xe2\x54\x74\x55\xae\x83\xca\x0c\x8e\x12\x3f\x24\x41\xbb\
\x8d\xc8\x9c\x7f\x70\xfc\x7c\x58\x58\x58\x69\xdd\x37\x55\xb2\xf1\
\xb1\x11\xb2\xef\x7e\x97\xc2\xce\xce\xee\x13\x9c\xb2\x7f\x58\x00\
\xd4\xfd\x36\x43\x56\x72\x7c\xe6\xdc\xc8\x8f\x27\x60\xac\x8c\x01\
\x23\x65\x26\xa0\x2c\xd5\x04\x59\xc5\x62\xc0\x2c\x75\xe1\xfc\x96\
\xbf\xca\x00\xe5\x38\x34\x34\xb4\xb4\xae\xb6\x62\x68\x64\x64\x04\
\x54\x0c\xcb\xa0\x49\xfc\xa5\x02\xb7\xae\x06\x4d\x82\x26\xb2\x13\
\x1a\xc8\x93\x46\x46\x46\x2b\x22\x02\x67\x0f\x76\x67\xe1\x15\x2c\
\xa1\x29\xd3\x81\x7d\x3b\x23\x64\x38\xf7\x11\xda\x38\x50\x01\x7b\
\x78\x78\xe8\x52\x8e\x51\xbc\xca\x6e\x54\x97\x0c\xf5\xf7\xf7\xc3\
\x2f\x0c\xc0\xbd\x6e\x29\xf9\xda\x2b\x91\x72\x9f\xc5\x73\xee\xea\
\xeb\xeb\x67\xa1\x7d\xc4\x64\x8e\x84\xf6\x42\x37\xab\xb8\xb7\x5e\
\x9a\xa9\x84\x22\x74\x7e\x6b\x13\x90\xf2\xdb\x20\xf8\x6c\xdb\x38\
\x6a\x41\xe1\xac\x59\xb3\x82\xf0\xca\x1e\x58\xbf\x36\xac\xa9\x42\
\x98\x3f\xd4\xd1\xd1\x01\x0f\xe8\xea\xb8\x03\xd7\x8b\x2e\x28\x7c\
\x97\xba\xc8\xd8\x4e\x86\xd4\x4d\x3a\x8b\x6c\xa3\x2e\xda\x64\x02\
\x98\x46\xed\x73\xb0\xbf\x49\x91\x54\x14\x0f\xa3\xa3\xa3\x2a\x7a\
\x6f\xe7\x92\x28\xc9\xad\xe1\x61\xab\xda\x45\xd7\x05\x23\x52\xa9\
\x14\x28\x5a\xa5\xad\xaa\xdf\x16\x49\x05\xb9\x7f\x77\xf8\x30\xcb\
\xc9\x44\x3a\xd7\x58\x4b\x80\xdf\x88\x45\xc2\x91\xf9\xb4\x8c\x4f\
\xea\xd1\x30\x36\x36\xf6\xe5\x70\x38\x8d\x83\x83\x83\xa0\x62\xa0\
\x1b\x2e\xf3\x92\x94\x99\x99\x99\x50\x59\x59\x09\xf5\xf5\xf5\x2a\
\x6e\x36\xd4\x40\xee\xa5\xc4\x71\x67\x47\x9b\x4e\x57\xa7\x27\x6b\
\xf1\xdd\x44\xfa\xac\x78\x22\x26\x8f\xac\x9c\xb8\x5a\x07\x47\x47\
\xc7\x0f\xbf\xaa\xbc\x3a\xde\xd3\xd3\x03\x5c\x2e\x17\x62\x62\x62\
\x80\xcf\xe7\x43\x72\x72\x32\x08\x72\x04\x20\x12\xf2\xc9\x17\x37\
\x05\xca\xed\xe7\x99\x36\x6b\x6a\x6a\x52\x52\xfd\x2a\x75\x90\x11\
\x1b\xba\x8a\x4e\x7b\x14\x51\x5a\x48\x95\xe4\x15\x81\xbe\x8d\xe9\
\xdc\xb8\xb1\xb4\xb4\x34\x55\x8a\x3d\x3d\x3d\x41\x4f\x4f\x0f\xda\
\xda\xda\xa0\xa0\xe0\x2a\xbc\x1f\xbf\x6f\x1c\xe5\xb9\xcd\xda\xc2\
\xa0\x1c\x5f\x7b\x17\xa1\x2a\x26\x1b\x61\xd0\x07\x7a\x52\x4e\xcd\
\x90\x1d\x48\xfe\xae\x2d\x3e\xb7\x0b\x52\x9f\x1d\xcc\xbb\x9c\x04\
\xe9\xe9\xe9\x90\x98\x98\x08\x67\xcf\x9e\x05\x1e\x8f\x07\x39\xd9\
\x39\xd0\xdc\xdc\xac\xa2\xb3\xbd\x89\x0c\x5a\xe9\xf7\x13\x6e\x55\
\x0e\x7d\xca\x6d\x68\xc1\x99\xf8\xaa\xb1\x06\x04\xa3\xd3\x4f\x57\
\xaf\x5c\xdc\x98\x92\x10\xd0\xd3\x79\x6d\x99\x02\x84\x96\x30\x96\
\xa3\x09\x82\xd3\xda\x90\xce\x3d\x09\xbc\xcf\x93\xe1\x9d\xd8\x97\
\x15\x27\x8e\xee\x57\x66\x65\x9c\x51\x36\xd4\x57\xe1\xde\xd7\x81\
\xf8\xa6\x18\x7e\x1a\xb8\x07\x27\x8f\xed\x1d\xc4\xbb\x9e\x8c\x9f\
\xb3\x9c\xd0\xca\xb1\xdb\x61\xa0\xe3\xdd\x48\xf9\xc9\x83\x4b\x7f\
\x6c\xc8\xf5\x91\x83\xc8\x01\x3a\xd3\x66\x02\xff\x4d\x02\x4e\xef\
\x50\x27\xfb\x2e\x59\xc0\xdd\x14\x02\x72\x12\xcc\xc0\xdf\xd7\x4d\
\x86\x32\xdc\x80\x1a\x70\x6d\xee\xdc\xb9\xd5\x21\xab\xbc\xfa\x2b\
\x8a\x3e\x21\x45\x22\x11\x50\x74\x75\xfe\x08\x5f\x5e\xbd\x30\x8a\
\x8a\x97\xc6\x60\x30\xdc\xfe\x31\x0b\xb8\xda\x08\x3f\x5f\x0f\x71\
\x4a\xfc\xa2\x1e\x59\x39\x93\x84\xe2\xd9\x50\x83\xfa\x1f\xbb\x59\
\x9d\x0c\x7d\x4a\x7f\xc8\xcb\x9d\xd1\x84\x6d\xd8\xdd\xb6\x3c\x77\
\x52\x91\xa5\x0b\xe7\xf6\x10\xe0\xb7\xc4\xf0\x0e\xbe\xfa\x01\x7d\
\xb2\x43\x9c\xec\x18\xf1\x58\xa8\xaa\x4e\x1d\x8d\x1a\x2e\x2b\xb9\
\x02\xc5\xc5\xc5\x20\x91\x48\xa0\xa5\xb1\x5a\x89\x41\xf0\x31\xc8\
\x55\x68\xa7\xf3\xa7\x20\xa8\x92\xeb\xe7\xeb\x2e\x6e\xcd\x73\x18\
\x85\xab\xb3\x40\xf8\x0e\x01\x3b\xc3\xa7\x2b\x23\x02\x0d\x7a\x2d\
\xcc\xf4\xae\xa3\xc9\x39\x2b\x2b\xab\x92\xf3\x6f\xb3\x06\xfb\x4a\
\x56\xc0\xc7\x7b\xa7\xc3\xce\xb5\x3a\x7d\x38\x9e\x82\x6c\x46\xec\
\xe8\x8e\xc8\x02\xf1\xc1\xda\x90\x1e\xb0\x7c\x51\x6f\x7e\xd6\xbb\
\xca\xbc\xbc\x3c\x10\x0a\x85\xd0\xfe\x83\x84\x5c\x1d\xe4\xdf\x8e\
\x5b\x72\x10\x6d\x8c\x7e\xb7\x25\xaa\x92\x9b\x61\x33\x0c\x97\xd5\
\xe0\xfc\x01\x03\x32\x24\xc0\xa0\x13\x55\xad\x10\xa7\xce\xe0\xef\
\x71\x2a\x85\x27\xa2\x99\x5d\xf2\x4a\x2f\x28\x4f\x62\xc3\xde\x0d\
\xda\x03\x38\x97\x81\xec\x43\x98\xbf\xa9\x68\xea\xb4\xb0\xd8\xe1\
\x01\x3c\x88\xd9\x10\x1d\x3f\x14\x26\xcf\xbe\x7c\x01\xb2\xb3\xb3\
\xa1\xbd\xad\x19\x9e\x8b\x0a\xef\xc5\xf1\x24\xba\x74\xff\x12\xc4\
\x6a\x0e\xbb\x11\xb2\xa7\x43\x4b\xaa\x07\x2c\x5b\x68\xd6\x8b\x4e\
\xaf\xe0\xf0\xeb\x98\xb2\x37\xb0\x03\xe6\xf3\xdf\xb7\xbd\x3f\x5c\
\xce\x86\xa6\x8c\x40\xd8\xb5\x76\xc6\x18\xce\x17\xe1\xfc\x1b\xc8\
\x02\x64\xe6\xdf\xd4\x0e\x4a\x68\x96\x51\xd9\xf0\xf7\x5d\xd0\x9b\
\xf9\xe9\x7e\x65\x6a\x6a\x2a\x48\x6e\xd5\x41\xec\xe1\x2d\x83\x28\
\xdd\x31\x74\x91\x53\x27\x96\x7b\xb3\x25\x43\xd8\xef\x75\x17\x46\
\x40\xee\x19\xf3\xb1\x35\x41\x0e\xf7\x51\xd3\xbf\x7b\xe6\x69\x66\
\x6b\xfd\x25\x33\xb9\xbc\x84\x0d\xdf\x5e\x0c\x85\x17\x83\x35\x48\
\x96\xa3\x81\x98\xbe\xdb\x7e\x0f\x91\x51\x35\x7a\xbf\x6d\x0d\x0d\
\x0d\xf7\xa0\x2e\x94\x46\xef\x08\x18\x4a\xe3\x9e\x06\x61\x51\x0a\
\x25\xdd\x54\x1b\xb7\x5c\xf5\x0d\x67\x67\xe7\x98\xfd\xeb\x66\x8c\
\xb7\x70\x59\xd0\xfb\x45\x10\xc8\x85\x2e\xa0\xfc\x4a\x1f\x94\xd5\
\x06\xd0\x97\xbf\xfc\x57\xe7\x5e\xee\x4f\x34\xe2\x0b\x49\xf4\xdd\
\x36\x99\xe0\xbd\xd6\xa0\xfb\x84\x25\xd8\xce\x9d\xc7\xb3\xd6\xb3\
\x39\x72\xa9\x0c\x6f\xc5\x17\x38\xf6\x2c\x62\x48\x19\x31\xdc\x98\
\x66\x89\x5b\x23\x66\xca\x0f\x45\xaa\x01\xef\x10\x03\x04\xb1\xa6\
\x2a\x92\xa3\xf5\xe0\x40\x94\x9a\x92\x76\xfe\x21\x12\x89\x58\x4d\
\x52\xd1\xa6\xd1\xf2\x6b\xad\xa5\xa5\x15\x81\xaa\x19\x87\x7f\x47\
\x23\xde\x0f\xb2\xa8\x41\x9f\xe0\xe0\xc5\x2c\x9d\xcf\x9e\x0b\xd6\
\x95\xec\x5a\xa7\xd3\x8e\x74\x6c\x0a\xd6\x91\x1a\x33\x88\x8b\x38\
\x77\x8a\x8e\xd8\x9a\x78\xf4\xf6\x5b\x83\x96\x63\xaa\x6f\x70\xa2\
\x57\xaf\xfe\xc7\x49\xea\x54\x73\xe8\x1e\x6f\x2f\xb2\x87\xd6\x72\
\x4f\x3a\x95\x8f\xa3\xf7\x57\xa7\xfd\x4d\xfb\xbb\x49\x5d\x7a\x8f\
\xad\x68\x19\x9d\x8d\x68\x3d\x52\x05\xfb\x3f\x3c\x8f\xe5\xbf\xe3\
\xa9\xe4\x67\x2f\x79\x73\x70\x22\x76\x00\x17\x00\x00\x00\x00\x49\
\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x04\xb5\
\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\x7c\x49\x44\x41\x54\x78\x5e\xb5\x94\xdd\x6b\x1c\xd5\
\x1f\xc6\x3f\xe7\x65\x66\x67\x5f\xf2\x6e\xd2\xb4\x69\xc1\x37\xea\
\x0b\xe2\x4d\xf4\xce\x4b\xa1\x88\x82\x48\x41\xe8\x95\x7a\x21\xbd\
\xf4\xc7\xef\x0f\xf0\x46\xf4\x52\xf0\xd2\x4b\x11\x5b\x14\x2d\x8a\
\x8a\x42\xac\x28\xc1\x68\x6d\xda\x9b\x94\x26\x6d\x9a\xb6\x49\x37\
\x4d\x9a\xee\x6e\x76\x67\x77\x67\x77\x66\x67\xe6\x38\x3d\x84\xb0\
\xa1\x90\x80\xe0\x03\xcf\xce\x7e\x99\x99\xe7\xf3\x3d\xdf\x39\x33\
\xc2\x18\xc3\x7f\x29\xcd\x8e\xa6\xa7\x4f\xbf\x02\xe6\x0d\x30\x47\
\x8d\x41\xf2\xef\x24\x8d\x49\x56\xe2\xb8\xfb\xcb\x95\x2b\x67\x7f\
\x04\x22\xcd\xae\xcc\x9b\xef\x7d\xf4\xbf\x93\x7a\xf8\x91\xfc\xc5\
\xb9\x59\xb9\xf0\xd7\x8c\xe8\x76\x9a\x42\x22\x11\x02\x84\xfd\x01\
\x29\x44\xdf\x7f\x89\x76\x5d\xa6\x9e\x78\x96\x27\x5f\x3c\xc1\xf8\
\xe4\x61\xe6\x67\xe7\x5e\x9a\xfb\xec\x8b\xe3\xc0\x25\xe0\x5e\x1f\
\x80\xe3\xce\xf0\x98\xf7\x6b\x59\xe9\xaf\xbf\x3c\xc7\x07\xef\xbe\
\xca\xe3\x47\x27\x91\x52\x62\x00\x23\x52\x24\xc2\xd6\x02\x01\x18\
\xa4\x52\xd8\xda\x29\x70\xe6\xd2\x26\xdf\x2e\x6b\xf4\x1f\x3f\x68\
\xe0\x08\x30\x05\x34\x76\x01\xc6\x98\x66\xa5\xea\xa7\x37\x36\xf3\
\xd4\xb7\x7d\x06\x3d\x45\xc1\x15\xf4\xe2\x08\x00\x89\x44\x6b\x9d\
\x59\xd9\x15\xf4\x7a\x11\x69\x9a\x20\x52\x81\xe7\x2a\xa2\xc5\x9f\
\xf1\x07\x5e\x63\x20\x8c\x93\x24\xe9\x45\x40\x01\x50\x9a\x3e\x49\
\x09\x45\x47\xda\x80\xd2\xe0\x10\x85\x62\x91\x38\x8e\xc9\xee\xb0\
\xa1\x4a\xd9\x70\xeb\x9d\xee\xf1\x3c\x8f\x52\x69\x80\xe9\x97\x4f\
\x72\xfd\x5a\x1e\x29\x15\x20\x00\x0c\x40\x3f\xc0\x86\x68\x47\xa2\
\xa4\x60\x28\x03\x0c\x0f\x0f\x13\x86\x21\xbd\x5e\x6f\x17\xb2\x23\
\x5b\x67\xa6\xdd\x6e\x13\x85\x21\xc5\xe1\x49\xf2\xf9\x88\x68\xf7\
\x9a\x87\x01\x68\x21\xc8\x69\x89\x56\x92\x7a\xbd\xce\x60\xc1\xf2\
\x6d\xe7\xae\xeb\xda\x11\x29\xdb\xb9\x5d\xa5\xad\x9d\xcc\xf9\x42\
\x9e\xdb\xab\x0a\xcf\xa9\xd3\x13\x86\x7e\xed\x1d\x91\x10\xb8\x8e\
\x44\x1a\xc3\xc4\xe4\x04\x47\xa6\x0e\x13\xf7\x7a\x76\x4c\x3b\xb2\
\xe1\x80\x5d\x55\xa7\xd3\x21\x30\x86\x7a\x7d\x9b\x38\x1c\xa3\xe0\
\x28\xda\x42\xec\x03\x90\x90\xd7\x12\xc7\x73\x09\x3b\x1d\x3a\x41\
\x60\x3b\xf4\xbc\x1c\x8e\xe3\xe2\x68\x85\xd2\x1a\x21\xec\x18\x11\
\x52\x61\x57\xe7\x68\x5a\xb7\x23\xf2\x2b\x15\x84\xdc\x07\xa0\xa5\
\x24\xa7\x05\x03\x87\x9f\xe6\xa9\x67\x9e\xe3\xd8\xc4\x10\x08\x30\
\x69\x4a\x6a\xc8\x6c\x48\x52\xe8\x25\x86\x4e\x02\x61\x04\x51\x22\
\x41\xc0\x76\xd7\x90\x77\x25\x12\xf6\x01\x08\x70\x94\xe1\xd1\x17\
\x4e\x30\x73\x4b\xf0\x58\x60\xb2\x5a\xd2\x89\x15\x9d\x28\xa5\x19\
\x26\x04\x9d\x88\x7a\xab\x8b\xdf\x6c\x53\x6f\x36\x69\x36\x7c\x8c\
\x72\xd0\x03\x87\xc8\xe5\x73\x28\x79\xc0\x88\x72\x0a\x26\x8e\x4c\
\xf1\xe9\xf7\xf3\xe4\x13\x1f\x11\xb5\xe9\x76\x03\xa2\x4e\x40\x1a\
\x77\x51\x26\xc6\x73\x04\x43\xc5\x1c\x23\x25\x8f\xb1\x91\x12\x13\
\x13\x87\xa8\xb9\x63\x24\xba\x80\x14\xfb\xac\x40\x09\x41\x21\xe7\
\xd2\xb8\x35\xcf\xf3\x4e\x8d\x63\x53\xc3\x94\xbc\x7c\x16\x36\x42\
\x31\x27\x19\x1d\x2c\x32\x92\xb9\x54\x2c\xe0\xe5\x5c\x94\x94\x44\
\x71\x4c\xd0\x6a\x72\xd9\x77\xb9\x19\x68\x84\xdc\x6f\x44\x4a\x90\
\x73\x35\x7e\xf9\x1a\xa7\xff\xff\x3a\xbf\xcd\xfc\xc4\xd6\x5a\x85\
\xbb\x71\xc2\xa9\x53\xa7\x30\xc6\x90\xcb\x39\x28\x25\x31\x40\x62\
\xc0\xa4\x86\x14\x41\xc9\x53\x14\x13\xbd\xff\x33\x10\x02\x3c\x47\
\xe2\x3a\x8e\xdd\x2d\x8b\x4b\x4b\xf6\x65\x1b\x1f\x1f\x27\x4d\x53\
\x80\xec\x68\x76\x2d\xa5\xc1\x60\x65\x77\x58\xde\xd3\x64\x70\x91\
\x69\x97\xb3\x07\xa8\xa4\xc8\x00\x1a\x2f\xe7\xd0\x09\x7b\x94\x4a\
\x25\xc6\xc6\xc6\x18\x1d\x1d\xb5\x80\xfd\x94\x73\x14\x3d\x7f\x83\
\x34\x0a\x30\x26\x8d\x01\xf1\x10\x40\x4b\x81\xa3\x1e\x58\xee\x7c\
\x96\xad\x39\x50\x42\xa2\xe2\x36\xcb\xb3\xdf\x98\xca\x7a\x54\xad\
\xd7\x6f\xfd\x0e\x74\x81\x64\x0f\x40\x0a\x70\x1d\x81\x94\x80\x31\
\x1c\x20\x0b\xd7\x5a\xd9\xe7\x12\x6c\x5d\x63\xe5\xf2\xed\xee\x8d\
\xeb\x17\x3e\x5f\x5f\xff\xfb\x3c\xb0\x05\x74\xf7\xee\x22\xad\x18\
\x2a\x91\x8d\x65\x14\x37\xe7\xda\x0f\x5d\x16\x62\xdf\x64\xa5\x04\
\xae\xab\xb3\x30\x3b\x67\x82\x20\x34\xf5\x7a\xc0\xfd\xfb\x0d\x6a\
\xb5\x16\xeb\xeb\x95\xf6\xca\xd2\xc2\xb9\x6a\x75\xe9\x22\x70\x13\
\xd8\x00\xc2\x7e\x80\x74\x5d\x21\xb7\xca\xcb\x24\xfe\x1a\x5a\x4d\
\xf3\xf6\x3b\x6f\xd1\x6a\x76\x4d\xbb\xdd\xe3\xea\xd5\x4d\x1a\x8d\
\xae\xa9\x56\x5b\x61\xa5\x52\xf3\x6b\xb5\xda\xa6\xef\xd7\xd6\x7d\
\xff\xde\x6a\xb5\x5a\x5e\x5d\x5c\xbc\x7c\xc7\x98\xb4\x01\xdc\x01\
\xca\x40\xcb\x64\xea\x03\x98\xd6\xfc\x85\x2b\xcd\xb9\xf3\x33\xc5\
\xf2\xea\xa6\xf9\xb0\x7c\x36\x2a\x16\xf2\x61\x1c\x87\xd5\x56\xab\
\xb1\xe1\xfb\x95\x72\xa5\xb2\xbe\x56\x2e\x5f\x5f\xab\x56\xef\xd6\
\x80\x2e\xd0\x01\x82\x3e\xb7\x80\x26\x10\x98\x4c\x7b\xb6\x69\x1c\
\x77\xbe\xfa\xe4\xfd\x8f\x37\x21\x74\xc3\xde\x76\x65\xf9\xea\xec\
\xc6\xf6\xf6\xea\x5d\x63\xd2\x10\xe8\xf4\x39\xb0\xb5\x05\xd0\xeb\
\x73\x4c\x66\x1b\xbc\xab\x3e\xc0\xc2\xc2\x99\xef\x80\x3f\x81\x11\
\x40\x00\x36\x78\xe7\x18\x01\x71\x7f\x98\xc9\xc8\x1c\x2c\xfe\x01\
\xd1\x4f\x0f\x88\x96\x78\xff\x51\x00\x00\x00\x00\x49\x45\x4e\x44\
\xae\x42\x60\x82\
\x00\x00\x06\x7e\
\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\x45\x49\x44\x41\x54\x48\x89\x9d\x95\x7b\x6c\x95\x77\
\x19\xc7\x3f\xbf\x73\xde\x73\xeb\xe5\x9c\x5e\xe0\x40\x69\xbb\xb2\
\x5e\x28\xe5\x0e\x45\x1c\x63\x83\x11\xc9\x14\xc7\x60\x5b\x34\x38\
\x63\x66\x22\x53\x11\x63\x44\x37\x35\x26\xc6\x7f\x66\x48\x34\x26\
\x6a\x36\x5d\x30\x64\x71\x19\xc8\x28\x0e\xc4\xae\x60\x69\x59\xa1\
\xe1\x3a\x2a\xd4\xf5\xc2\xb5\xd0\xd3\x3b\xbd\x9d\x9e\xeb\x7b\xf9\
\xbd\xef\xfb\xf3\x1f\x34\xa8\x98\xcc\x3d\xc9\xf3\xef\xe7\xf3\xe4\
\xfb\xc7\xf3\x15\x4a\x29\x3e\xc9\xbc\xfd\x43\x51\x5c\x51\x1a\xda\
\x3e\xbb\x6c\xc9\xf7\x95\xeb\xe8\x23\xb1\xce\x57\x8f\xb6\xbb\x6d\
\x5f\xdd\xc4\xd2\xb4\xc5\xe0\xa6\x57\xd5\x38\x80\xf6\xff\x82\xff\
\xf0\x23\x11\x2a\x29\x60\xeb\xb2\xfa\xb5\xdf\xa9\xa8\x7b\x6e\x5d\
\x51\x71\x2d\xae\x27\x48\x76\xf2\xd9\x9f\x6f\x79\xb2\xb8\x2f\x53\
\xf0\xe4\x0b\xc1\x64\xe3\x7e\x21\xc4\xd7\x94\x52\xf2\x63\x0b\x84\
\x10\xe2\xf8\x1e\xd6\xd5\x56\x45\x5f\x99\xbf\x62\xc7\x33\xd1\x79\
\x6b\x7c\x22\x79\x8d\xcc\xdd\xc3\xa8\xbc\xc5\x8c\xfb\xbf\xb8\x3c\
\xbf\xfe\xc5\xe5\x95\xb5\x9f\xe6\xc6\xe1\x13\xf3\x40\x86\x80\x87\
\x0b\x3a\xde\x14\x1a\x8a\xc0\xea\x5d\x2a\x03\xd0\xf8\x9a\xa8\x3c\
\xf3\x46\xf1\x37\xcb\x17\x6e\xfa\x56\xd9\x82\x17\xf3\xbd\xd9\x3e\
\xec\xe1\x26\x46\xc6\xa7\xe9\x9f\x09\x23\x8b\xca\x59\xf5\xec\x2e\
\xc2\x91\x08\x72\xea\x12\x77\x86\xad\x2e\xc0\xfb\x5f\x11\xfd\xe4\
\x2b\xc2\xf7\xc4\x22\x9e\x88\xce\x5f\xbe\x53\xf3\x87\x0b\x9a\x7e\
\x26\xf6\xf9\x7c\x62\x56\xcd\xaa\xad\xaf\x94\xd5\x6c\xa9\xca\xf5\
\xf9\xb1\xee\xb5\x12\x9f\x99\xe4\xc6\x10\xa4\x73\xd6\x32\x6f\xc5\
\xe7\xa8\x5e\xb0\x08\x5c\x89\x02\xe2\x77\x0e\xd9\xad\x97\x9c\x0f\
\x00\x09\x20\x94\x52\x08\x21\xc4\xb1\xd7\x58\x38\x2b\x3a\x7b\x77\
\xc5\xb2\x1d\x2f\xcd\x9e\xb7\x3a\x28\xac\x19\xe2\x89\x61\xdd\x17\
\x88\x68\x91\x48\x89\x4f\x4d\x5f\x65\x66\xa2\x8f\xc1\x29\x41\x5f\
\xba\x8a\xea\x95\x2f\x50\x5a\xb5\x84\x70\xae\x1f\x5d\xd7\x51\xca\
\x8b\x2b\xbc\x74\xbf\xbb\x66\x7c\xf8\xef\x9d\x57\xfd\xc2\x17\xd0\
\xa2\xf2\x07\xa2\xf5\x97\x62\xa5\xc7\x17\x5e\x5b\x51\xf7\xf4\x9e\
\x92\x05\xdb\x23\x41\x6b\x18\x95\xba\x89\x47\xd3\x20\x10\x45\xd9\
\x3a\xfa\xcc\x00\x77\x46\x52\x0c\x66\x4a\x09\x94\x6d\x66\x79\xfd\
\x06\x42\xb9\x21\x5c\xdb\x42\x4a\x89\xeb\x7a\x49\x26\x27\x18\xe9\
\xda\x8f\xd1\x7b\x50\x2e\x5c\xbf\x43\xcb\x8f\x56\x88\x0b\xef\xec\
\x8a\x69\x91\xa2\x92\xd7\xa3\x8f\x6e\xae\x7f\x64\xc1\xb6\xa0\x1a\
\x6f\x45\x39\x3a\x1e\x6f\x00\x29\x25\xb6\x11\x63\x62\x32\xc9\xb5\
\xd1\x20\x9e\x39\xdb\xa8\x7b\x6c\x33\x25\x25\x51\xa4\x65\x60\x19\
\x59\xa4\xed\x60\x18\x16\x77\x7b\x9a\xe9\xee\x38\x46\x6d\xc5\x1c\
\xd6\xef\xd8\xeb\xf3\x05\xe3\xa4\xa7\x53\x28\x22\xb3\x34\x8f\xd7\
\x57\xe5\xf7\x79\x82\xe9\xa1\x76\x42\x9e\x14\xc2\x9b\x8b\x61\x5a\
\x24\xd2\x3a\xd7\x06\x1d\xd2\x39\x8f\x51\xbd\xfe\x19\xca\xca\x2b\
\xf1\x0a\x07\x23\x9b\xc6\x51\x02\xcb\xb4\x18\x1d\xe8\xa2\xe3\xf4\
\xef\x40\xf9\xf8\xcc\xd3\x5b\xa9\xae\x8a\x20\x93\xed\x4c\x8f\x19\
\xdc\xbc\xf0\x11\xbd\x03\x37\x0f\x69\xca\x75\x3d\x42\xd9\x38\x2e\
\x58\xca\x83\x2d\x2d\xee\x8c\x18\xf4\xa7\xca\xa9\x58\xf1\x05\x56\
\xd6\x2c\x21\xe0\xf7\x22\x2d\x13\x43\x4a\x6c\x57\x23\x3e\xd5\xcf\
\xd5\xd3\xfb\x18\x1f\xe9\x61\xe9\x8a\xc7\xd9\xb0\xbe\x1e\xd7\x9a\
\x22\x11\x6b\x24\x9e\x01\x3d\x91\xc3\xb5\xcb\x2d\x83\xef\x5f\xe1\
\x3d\x0d\xc0\x55\x60\x49\x85\x61\x59\x0c\x8c\x26\xb9\xeb\x3e\xc5\
\xc6\xe7\x76\x92\x17\xd2\x90\xb6\xc4\xd0\x4d\x2c\xdb\xc1\x34\x2c\
\xae\x77\xbc\xc3\x8d\x8f\x5a\x29\x2d\xab\xe1\xa5\x97\xbf\x4d\x24\
\x34\xc4\xcc\xd0\x71\x46\x46\x06\x11\xde\x10\xc1\xf0\x62\xae\xb4\
\x1d\x4c\xef\x6b\xcb\xfc\xea\xf2\x2d\xba\x35\x57\x81\x6d\x3b\x18\
\x52\x92\x8c\x67\x68\xbb\x3c\xca\x86\x2f\x7f\x8a\x82\x70\x90\x6c\
\x26\x83\xe3\x80\x61\x5a\x0c\xf5\x5d\xe0\xea\xd9\x03\xf8\x7d\x41\
\x3e\xbb\x79\x0b\xd5\xb5\xc5\xe8\x63\xe7\xe8\xbf\x13\xc3\xb4\x6c\
\x14\x5e\xfc\x79\x95\x4c\x75\x7f\xc8\xdf\x7a\x6e\xb4\x5d\xbe\xc5\
\x49\x60\x52\xb3\x6d\x17\x4b\xda\x24\x93\x26\x7d\xfd\x53\x64\xc4\
\x5c\xf2\x0b\xa2\x98\xa6\xc4\xb2\x3d\x4c\x0c\x75\xd1\x79\xb1\x81\
\xf8\xf8\x5d\x56\x3f\xbe\x99\x35\xf5\x95\x08\xd9\xc7\x48\x77\x03\
\x99\xac\xc4\xb4\x24\x8e\x23\x09\x86\xcb\x48\xde\x4b\xd0\xf0\x97\
\xb6\x9e\xbd\x2d\xfc\x02\x18\x05\x74\x4d\x3a\x0a\xc3\xb4\x89\xa7\
\x4c\x7a\x6f\xdf\x43\x9b\xb3\x84\x70\x64\x16\x89\xf8\x04\x9d\xe7\
\xff\x48\xec\xfa\x39\x1e\xa9\x78\x84\xcf\x7f\x7d\x37\x05\xc1\x61\
\x12\x03\x87\x89\xc7\x13\x64\x75\x13\xdb\x96\x64\x32\x29\xfc\xa1\
\x42\x84\x98\xcb\xd0\x95\xb7\xf5\xbd\x27\xf5\xdf\x98\x92\xbb\x40\
\x52\x29\xa5\x34\x69\x29\x0c\x43\x12\x4f\x1a\xc4\xee\x19\x2c\x5d\
\x54\x81\x50\x16\xef\x1f\xf8\x31\x01\x9f\x60\xdb\xf6\x97\x29\x2d\
\xcf\x41\x1f\x6e\x62\x2c\x36\x42\x3a\x63\x91\x48\x26\x40\xb9\x68\
\xbe\x20\xbe\xdc\x72\x72\x72\x4b\xe9\x3f\x77\x82\x33\x57\x63\x47\
\x93\x3a\xed\xc0\x94\x52\xca\x06\xd0\x4c\xe9\x92\xd1\x25\x93\xd3\
\x12\x6f\xa0\x90\x39\xa5\x35\x9c\x6a\xda\xc7\x9d\xbe\x5e\x76\x7f\
\xf7\x1b\x94\xe4\xf5\x30\xd4\xd9\x4d\x36\x9b\x41\x08\x0d\xdb\x96\
\x58\x86\x81\x37\x27\x4a\x7e\xfe\xa3\x88\x89\x31\x9a\xdf\xfb\x7d\
\xe6\x50\xfb\xf4\xc9\x8b\xb7\xf9\x35\x70\x0f\x30\xff\xf9\x7e\x34\
\xdd\x52\x08\x5d\x32\x35\x63\x61\x11\xc6\x36\xa6\xe9\xb8\xf4\x01\
\x9b\x9e\x5a\xc5\xe8\xad\x23\x64\xc3\xf9\x48\xdb\xc1\x34\x4d\x5c\
\x57\xc7\xa3\xe5\x90\x17\x5d\x8e\x13\xcf\xd2\xd3\xd6\xe8\xec\x3f\
\xd6\xdb\xfb\xd7\x1e\x0e\x65\x4d\x5a\x80\x7e\x20\xa5\x1e\x28\x19\
\xcd\x30\x5c\x54\x56\x92\xd2\x5d\x24\x7e\xae\x9c\x6f\x60\x41\x75\
\x31\xb3\x82\x23\x44\xc2\x61\x10\x1e\x92\xc9\x38\xae\xf2\x10\x0c\
\x97\xe3\x15\x05\x8c\x76\x7e\xa8\xda\xda\x2f\x8d\xbe\xd9\x6c\x1d\
\x9d\xc9\xd2\x0c\xdc\x06\xc6\xee\xc3\x9d\x07\x1f\xa8\x66\x58\x0a\
\xd7\x90\x38\xca\x4f\x2a\x99\xa0\xb6\x6a\x2e\x0b\x2b\x04\x79\x41\
\x17\xc7\xb1\x71\x1c\x45\x30\x52\x8e\x10\x85\x98\xa3\x03\x9c\x69\
\x69\x48\xfd\xb6\x39\x75\xea\xd6\x18\x7f\x02\x7a\xef\x83\x67\x00\
\x43\x3d\xa4\x1e\x35\x47\x81\xab\x04\xca\x4c\x53\x56\x68\xb1\xac\
\xae\x80\x90\x88\xe1\x0f\x14\x92\x36\x20\xaf\xa8\x0e\x73\x74\x94\
\xc1\xae\x46\xf7\x8d\xc3\xb7\x3a\x4e\xdf\xa4\xc1\x92\x5c\x04\x86\
\x80\x29\x40\xff\xcf\xab\xff\x4d\x10\xf0\x7b\xc9\xc9\xd1\x28\x0c\
\x1a\x2c\x5d\x59\x8d\x9b\xee\x21\x2f\x5a\x8e\xed\x99\x47\x20\x10\
\x22\x76\xb6\x85\x23\xcd\x57\x06\x0e\x9c\x75\x8e\xa6\x4c\x8e\x03\
\x31\x60\x1c\x48\x2b\xa5\xe4\xff\x02\xff\x4b\x10\x9f\x9c\xec\x96\
\xd9\xee\x95\x75\xab\x9f\x2f\x34\xac\xeb\x44\x8a\x4a\x08\xe6\xd4\
\x92\x88\xf5\xd2\x72\xe2\xd4\xf4\xbb\xe7\xb3\xad\xdd\x03\x1c\x05\
\xae\xdd\x8f\x23\x01\x98\x0f\x8b\xe3\xa1\x82\xb7\x9a\xdc\x3f\x57\
\x17\x8f\x8b\x9d\x8b\xed\x8d\x73\x2b\x37\x10\x4e\x0f\xd2\xd1\x74\
\xd0\x7a\xfd\xc8\xc0\xb9\xce\x01\x9a\x4c\xc9\x59\x60\x04\x98\xbe\
\x1f\x87\xfb\x71\xc0\x0f\xce\xfc\xb9\x45\x3c\xff\xd6\xf7\xf2\xae\
\x37\xfe\x74\x91\xfa\xd2\xba\x60\x57\xae\x9f\x3d\xc0\x46\xa0\x06\
\x28\x00\x34\xa5\x14\x9f\x64\xff\x01\x38\xa4\x6e\x5f\x55\x49\x82\
\xf9\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x04\xb8\
\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\x00\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x04\x4a\x49\x44\x41\x54\x48\xc7\xc5\
\x56\x61\x4c\x5b\x65\x14\xfd\x6c\x32\xd3\x69\x20\x0e\x65\x24\x4b\
\x37\x56\x5a\x8a\xb3\xd2\x4e\xa5\x42\x71\x43\xc0\xb5\x94\x10\xe6\
\x02\x42\x13\xaa\x63\xa3\x63\x63\xd9\x18\x59\xb7\xa6\x01\xa3\x08\
\x88\x61\x0b\x29\xb2\xcd\x29\x66\xba\x81\x84\xda\x8a\x89\xd4\x00\
\x29\x43\x33\x1c\x20\xa5\x50\xd7\x6a\x57\x4a\x23\xc4\x6c\x51\x59\
\x94\x31\xbb\xf8\xc3\x6e\xbb\xde\xbb\xbc\x45\xd4\x15\x12\x33\xb5\
\xc9\xc9\x4b\x5f\xdf\xbd\xe7\xfb\xce\x3d\xe7\x7d\x65\x00\xc0\xfe\
\x4d\xb0\xff\x8d\x00\x3f\x31\x08\x85\x4a\xa5\x32\x28\x14\x8a\x23\
\x3c\x1e\xef\x65\xfc\xbe\x1f\x51\x8c\x50\x22\xe2\x10\xbc\x7f\x44\
\x80\x9f\x8d\x52\xa9\xb4\xb2\xae\xae\xee\xe3\xfe\xfe\xfe\x4b\x1e\
\x8f\xe7\x46\x30\x18\xbc\x35\x3e\x3e\x7e\xd5\x66\xb3\xf9\x4c\x26\
\x93\x5d\x22\x91\x18\x39\xa2\xfb\x97\x22\xba\x5b\xf3\xf4\xb2\xb2\
\xb2\x77\x1d\x0e\x87\x3f\x10\x08\x80\xd3\xe9\x84\xb6\xb6\x36\x30\
\x9b\xcd\xd0\xd1\xd1\x01\x13\x13\x13\xe0\xf5\x7a\xc1\x62\xb1\x04\
\x0b\x0b\x0b\x3b\xf1\xf9\x1c\xc4\xca\x48\x24\x7f\x5b\x39\x35\x1f\
\x19\x1d\xfd\xde\xed\x76\x83\xe9\x95\xda\xdf\xf2\xf7\x1b\xaf\x15\
\x34\x1c\x0b\x6b\xdf\xb6\xc2\xd6\xba\x37\x43\xbb\x1b\xcd\x3f\x77\
\x5a\x3f\x0a\xe3\x6e\xc0\x6a\xb3\x5d\xd1\x68\x34\x16\xac\xcb\x8c\
\x44\xf2\x27\xcd\x49\x16\x5a\x39\x35\x2f\x3d\x5c\x73\xf5\xe9\x43\
\xaf\x4f\xa5\x34\x77\x06\x59\x4c\x1a\xb0\xd8\xcd\xc0\x56\x67\x82\
\xac\xd9\x32\xf3\xc2\x89\xae\xe9\xf6\xbe\xb3\x0b\x93\x93\x93\x50\
\x5f\x5f\x3f\x23\x10\x08\xea\xb0\x5e\x4c\x72\x2d\x45\xa0\x20\xcd\
\x49\x16\x5a\x39\x35\x97\x1f\xfd\xc0\xa9\x3e\xd5\xe7\x79\x76\x5b\
\x25\x3c\x5f\x56\x0b\xcf\x14\x18\x20\xf3\xcc\xe0\xcc\xa3\x6d\x03\
\x5f\x96\x7f\x78\xd6\x37\x3c\x3e\x11\xee\xee\xee\x86\xdc\xdc\xdc\
\x41\xac\xcf\x47\x44\xfd\x75\x17\x8b\x09\x0a\xec\x76\xbb\x97\x34\
\xd7\x54\x1c\xfc\x51\xd4\xf0\xfe\x68\x71\xa7\xe3\x2b\xe3\x39\x9f\
\xf7\xc5\x7d\x47\x60\xbb\xa1\x15\x4a\x4d\x27\xe1\xc0\xc8\xcc\x45\
\x79\x8f\xff\xb3\x64\xab\x7b\xe0\xd4\xb9\xf1\x1f\x48\xaa\x92\x92\
\x92\x20\xd6\x57\x21\x62\x11\x2b\x22\x11\xec\x45\x69\xe6\x69\xa0\
\x4a\x43\xfd\x34\x8b\x51\xc2\xc6\xac\x72\x78\xae\xa8\x1a\xb6\xe8\
\x5e\x83\xac\x97\x1a\x21\xa7\xbc\x19\x32\x74\x0d\xc0\xe2\x0b\x81\
\xad\xc9\x83\xc3\x03\x6e\xaf\xcf\xe7\x83\x8a\x8a\x8a\x6b\x58\xff\
\x06\x42\x80\xe0\x47\x22\x30\xa1\x15\x6f\x92\x5b\xe4\xb5\x6f\xb9\
\x59\x6c\x06\xac\x4c\x2a\x86\x98\x94\xdd\xb0\x3e\xdb\x00\xa2\x1c\
\x13\xac\xdb\x62\x84\x28\xc5\x5e\x60\x49\xdb\x81\x25\xea\x60\x6b\
\xef\xd7\xe7\xa7\xa6\xa6\x88\xe0\x26\xd6\x1f\x47\x08\x11\x0f\x44\
\x22\xd8\xe7\x72\xb9\xe6\xc9\x8a\xaa\x57\xcd\xd3\x34\x50\x96\x50\
\x04\x6c\xc3\x4e\x84\xfe\x0f\x3c\x86\x90\xd2\x75\x27\xd4\x8c\x04\
\x2f\xf8\xfd\x7e\xd0\x6a\xb5\xb4\x83\xa3\x88\x04\xc4\x83\x91\x08\
\x8a\x29\x44\xe4\xf3\x8a\xa6\xd6\xb9\xa4\x63\x3d\x43\xc2\xf7\xbe\
\x19\x13\xda\x7e\x1a\x63\x22\x5c\xb1\x04\x89\x24\x7a\x10\xdb\x43\
\xc3\x8a\xb1\x5f\x7a\x9e\x1a\x9a\xfb\xd4\xea\xf9\xf6\x32\x39\x09\
\xd3\x4e\x33\xa8\x5e\x6e\x07\x4a\x4a\x28\x85\x88\x7c\x5e\x7c\xd2\
\x7a\x31\xfe\x84\xcb\xb5\xf6\xf4\xe5\x49\xb6\x06\x35\x17\x92\x2c\
\x7a\x10\x7d\x12\x1a\x4d\x19\x99\xb7\x1b\xc7\x66\xdd\x9e\xa9\x40\
\xb8\xa5\xa5\x05\x64\x32\xd9\x10\xd6\xef\x58\x6e\x06\x71\x14\x7f\
\x4a\x28\x39\xa3\xbd\x6f\x70\x41\xdf\xf5\xb9\x3f\xb1\xfd\xc2\x17\
\x2c\x2e\x0f\xd8\x7a\xdd\xed\x5d\x24\x3b\xe6\x1c\xd4\xbc\xd7\xed\
\xfb\x75\x78\x78\x18\xd4\x6a\xf5\x42\x74\x74\xf4\x19\xac\xdf\xbc\
\x9c\x8b\x78\xb4\x0b\x8a\x3f\x25\x94\xb6\x4e\x3e\x27\x2b\x92\x5b\
\x68\xa0\xa4\x39\xc9\xe2\xf1\x07\xc2\xd4\x5c\xbf\x6b\xd7\xad\xf4\
\xf4\xf4\xeb\x58\xd7\x8b\xa0\xb0\xc9\x23\xe6\x80\x23\xa1\x17\x57\
\x0e\xc5\x9f\x12\x4a\x21\xa2\xdd\x90\x15\xc9\x2d\x34\x50\x22\x26\
\x59\xf0\x99\x05\xa5\x52\x19\x4a\x4d\x4d\x85\xfc\x34\xe1\xf5\x83\
\xdb\x36\x5c\xc1\xda\x03\x94\xe8\xa5\x08\x78\xdc\x3b\x25\x93\xe2\
\x4f\x09\xa5\x10\x91\xcf\xc9\x8a\xe4\x16\x1a\x28\x69\x8e\xb2\x9c\
\xe6\xf3\xf9\xce\xac\xc7\xe3\x6f\xd4\xe4\x25\xc2\x3b\x7b\x52\xa0\
\x56\x27\xbb\x44\x6e\x5c\x4c\x72\xb7\xb7\xe9\x1d\x12\x31\x17\xff\
\x2a\x2e\x44\xc7\x39\x2b\x56\x73\x03\xcd\xb8\x8f\xb1\xd1\x4d\x6b\
\x57\x85\x2a\x37\xad\x83\xa6\x22\x29\x74\x54\xa5\x41\xe3\x8e\x27\
\x66\x17\x93\x44\x3a\x0f\x78\x9c\x5c\x51\xdc\xe0\x04\x9c\x05\x13\
\xb8\xab\x80\xbb\x2f\x47\x92\xf3\xd9\xa2\x47\x42\xc6\x6c\x21\x98\
\x4b\x92\xa1\xeb\x50\x3a\x34\xe9\x9f\xbc\x4d\xb2\xec\x91\xc9\x11\
\xad\x20\xeb\x91\xbf\x29\x44\xdc\x95\xcf\xdd\xa7\xdf\xc5\x48\xd2\
\xaf\x12\xae\xfa\xae\x5a\x2d\x82\xd6\x52\x39\xec\xd1\x88\x7d\x78\
\x5f\x7b\xcf\xce\x64\x8e\xa4\x5b\x23\x7e\x78\x36\x2f\x79\x35\x35\
\x2f\x47\x3c\x74\x4f\x0f\x7d\x6e\x66\xa4\xbd\xf6\x4e\xf3\xff\xe4\
\x5f\xc5\xef\x49\x57\xd6\xb7\x03\x79\xba\xe9\x00\x00\x00\x00\x49\
\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x05\xb0\
\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\x77\x49\x44\x41\x54\x48\xc7\x95\x55\x7b\x4c\x53\x77\
\x14\xfe\x0a\x2d\x7d\xf0\x1c\x94\x67\x79\xad\x16\x61\x20\x0c\x21\
\x19\xf1\x31\xdc\x26\x81\xe1\x24\x4e\xc4\x2d\x19\x8b\xd1\x18\x47\
\x32\x97\x98\x2d\x66\xce\x18\x97\x91\x68\xd8\xf6\xc7\xfe\x71\x4c\
\xb7\xb8\x64\x13\x1d\x99\x64\x66\x59\x8c\xc9\x04\x8c\x03\xff\x90\
\x81\x0a\x4c\x10\xf7\xc0\x29\xe3\xfd\xa8\xb4\xb4\xbd\x6d\x6f\x7b\
\x77\xce\x0f\x0a\x3a\x75\x73\x27\x3d\xf9\xdd\x7b\x7b\xef\xf7\x9d\
\xf3\x9d\xef\x77\xaf\x4a\x51\x14\x94\x96\xed\x85\x5f\xf6\x69\xb2\
\x73\x0a\x3e\x8e\x7a\x42\x1d\x91\x9f\x9b\x7c\x57\xf2\xf8\x8b\x64\
\xd9\x27\x5b\xcc\x89\x06\xaf\xec\x5b\xa1\x09\xd1\xea\xbd\x6e\xd5\
\xd4\xd6\xaa\x97\x0b\x26\x67\xfa\x86\xf0\xb8\xc1\x04\x1b\x36\xec\
\x47\x59\xd9\xbb\xd8\x52\xb5\xff\xa4\xf2\x1f\xf1\xd5\x89\x16\x85\
\x1e\x4b\xfd\x5f\x04\x80\x9a\x52\xc5\xa7\xaa\xfa\x63\x97\x05\x90\
\x83\x72\xda\xb5\x94\x56\xf7\x3c\x81\x97\xd2\x64\x5a\xf9\xcd\xe3\
\xe2\x07\xcd\x2f\x4c\xa0\x11\x7c\x0d\x5f\x7f\x51\x77\x6b\x06\x70\
\xd3\x89\x4d\x5a\xca\xbb\x4e\x60\x4c\x9a\xbf\x73\x53\xd5\xeb\x95\
\xb4\xa4\x3f\x36\x41\x72\xc2\x53\x30\x25\x64\x23\xde\xb8\x02\x7d\
\xd7\x5a\xbf\xff\xfd\xd7\x39\xb8\x7c\x80\xcb\x0b\x38\x3c\x4b\x69\
\x9d\x03\xe8\x87\xc2\x55\xeb\xb4\xb4\x14\xff\x13\x2c\x29\x29\x09\
\xd1\xd1\xd1\x0f\x12\x78\x65\x2f\x64\xaf\x17\x3e\x1f\xa1\xaa\x54\
\x3f\x77\xb4\x5f\xb6\xce\xd1\xa1\x83\xd4\x73\x78\x97\x72\x8e\x48\
\x26\xfc\x40\x56\x41\x21\x3d\xa5\x7d\x4e\xaf\x8b\x81\x5e\x1f\x8b\
\xca\xca\x4a\x1c\x3e\x7c\x18\xb2\x2c\x2f\x48\xbe\x14\xdc\x31\x9e\
\x59\xbb\x51\xfc\xe1\x27\x02\x99\xc8\x9a\xcf\x7e\xdb\xb1\xf1\xad\
\x92\x17\x5d\x32\x20\xfb\x02\xe3\x61\x6e\x3a\x9f\x05\x24\xaa\x3f\
\x3c\xfc\xc9\x82\x30\xfd\x38\xd2\xcc\x19\xf0\x52\x71\x0c\xee\xf7\
\xfb\x1f\x20\x10\x1d\x84\xea\x06\xa1\x56\xf5\x63\xeb\x16\x8b\x48\
\xaf\xa4\x34\xdd\xf8\x8d\x74\xa7\x6a\x27\xed\xc0\xf0\x14\x70\x6b\
\x0c\x18\xf8\x13\x18\x1a\x99\x2f\xeb\xfd\xda\x0f\x9e\x96\x24\x69\
\xb7\xc7\xe3\x79\x24\xf8\x62\x07\x7c\xdd\xef\x57\x81\x15\x92\x65\
\x7f\xf9\xae\x9a\xf5\x5f\xaa\x46\x25\x58\x87\x75\x88\x30\x00\xe6\
\x44\xc0\x40\x55\xeb\x82\x9c\x54\x91\x0b\x6a\xba\xf1\x85\xb7\x5f\
\x85\x2c\xfd\xf1\xe9\x89\x86\x93\x31\x44\xf2\x19\xc9\x3b\xc5\x04\
\x0f\x95\x28\x70\xad\xa5\xe5\x22\x91\x78\x93\x4e\x9f\x66\x17\x86\
\xc0\x35\x67\x43\xcf\xb5\x2e\x48\x23\x5e\xd8\x65\x37\x82\x78\x26\
\x92\x84\xa0\x20\x2d\x6e\xdd\x8e\x80\xc5\x92\x81\xe3\xc7\x8f\xd7\
\x4e\x4f\x4f\xd7\xb6\xb5\xb5\xdd\x24\xa2\xd5\xf4\xe0\xcc\x43\x08\
\x14\x1e\x30\x15\xe6\x3b\x90\x90\x90\x54\xd9\xdc\xfc\x13\x22\xc3\
\x43\x41\x12\xa0\xb3\xb3\x13\x92\xdb\x0d\x63\x6c\x3c\x22\xc2\xc2\
\xa0\xd1\x6a\x60\x30\x68\xe0\x71\xfb\xb1\x6a\xf5\x6a\xe1\x9c\xf1\
\xf1\x71\x64\x64\x64\x64\x46\x44\x44\x4c\x1f\x3a\x74\xa8\x80\x20\
\xaf\xdd\x47\x40\xc0\x45\xd9\xd9\xd9\x5f\xed\xda\xf5\x46\x96\xcb\
\xe5\x84\xc3\xe1\x80\xe4\xf1\xa2\xbb\xf7\x3a\x2c\x99\x59\x28\x24\
\xd7\xb0\xce\xa1\xa1\xa1\x88\x89\x89\xa1\x0e\xe6\xb7\x8f\xcd\x66\
\x07\x55\x4f\xc3\x57\x61\x64\x64\x04\xdb\xb6\x6d\x63\xb2\xce\xfa\
\xfa\xfa\xb8\x40\x27\x82\xc0\x60\x30\x7c\x58\x5d\x5d\x9d\x95\x91\
\x61\xc1\xf0\xf0\x30\x34\x1a\x0d\x74\x3a\x1d\x72\x72\x72\xd0\xdf\
\xdf\x8f\xf8\xf8\x78\x71\x8d\x63\x72\x72\x12\x56\xab\x55\x74\x37\
\x3b\x3b\x0b\xa7\xd3\x49\x8e\x0a\x87\xd9\x6c\x46\x5a\x5a\x1a\xca\
\xcb\xcb\x83\x9b\x9a\x9a\x3e\x9f\x98\x98\xd8\xba\x48\x40\x0e\x30\
\x04\x00\xb8\x1a\x3e\x66\x10\xde\x17\x99\x99\x99\x68\x6d\x6d\x85\
\xd1\x68\x14\x76\x54\xab\xd5\xc2\x31\x54\x14\xcb\x22\x8e\x9d\x4e\
\x17\x24\xa7\x1b\xd7\x7b\xae\xe3\xce\xed\x3b\xfc\x7c\x3e\x41\x19\
\xb9\x0b\x41\x30\x36\x36\xa6\xd0\xb0\x40\x5d\x20\x35\x35\x15\x51\
\x51\x51\x08\x09\x09\x11\xed\xeb\xf5\x7a\x14\x16\x16\x92\x1c\x36\
\x41\x4c\x3a\x83\xad\x39\x3a\x3a\x8a\xde\xde\x5e\xd8\xed\x76\x3a\
\x1e\xc3\xf0\xd0\x10\xa6\xac\x33\x88\x8b\x89\x43\x30\xd4\xb4\x83\
\xa0\xe3\x7a\x05\x01\x81\xfc\x95\x97\x97\x57\xc4\x72\x9c\x39\x73\
\x46\x00\x66\x65\x65\x21\x25\x25\x45\x00\x30\x19\x77\xc3\x3a\x0f\
\x11\x10\x13\xb3\x34\x81\xd5\x9c\x66\x41\xee\xca\x5c\x5c\x8c\x3c\
\x06\x7b\xb7\x0f\x3e\xb7\x10\x83\xb7\xa8\x5f\x10\xb8\xdd\xee\x1b\
\xc9\xc9\xc9\x28\x29\x29\x11\x1a\x33\x09\xbb\x87\x35\x2d\x2e\x2e\
\x46\x57\x57\x17\x06\x06\x06\xc4\xf0\x59\x26\xad\x56\x8b\x30\x72\
\x54\x6e\x6e\x2e\x96\x2f\x5f\x8e\xe8\xc8\x68\x38\x3d\x0e\xa8\x9c\
\xaf\xc1\x99\xac\x42\x93\x72\xee\x7e\x9b\x06\x07\x07\x47\xb2\x14\
\x1c\xb1\xb1\xb1\xa8\xa9\xa9\xc1\xe0\xe0\x20\xba\xbb\xbb\xd1\xd0\
\xd0\x20\x2a\x8f\x8b\x8b\x13\x69\x32\x99\xc0\xc5\x30\x01\xeb\xcf\
\x5d\xf4\xf4\xfc\x82\x53\x0d\xa7\xf0\x52\x49\x05\xe2\x92\x8d\xb0\
\x4b\x36\xff\x42\x07\x8a\x20\x20\x19\x26\xce\x9f\x3f\x8f\x35\x6b\
\xd6\x2c\x32\xa7\xa7\xa7\x0b\x20\xbe\xd6\xdc\xdc\x42\x32\x69\x10\
\x19\x19\x29\xe6\x30\x3d\x3d\x89\xab\x57\xaf\x0a\xb9\xdc\xbc\x47\
\xc8\x00\x55\xaf\x54\x22\x31\x31\x51\xb8\x6f\xd9\x32\x8b\x91\xe6\
\x13\x22\x4c\xc3\x9b\x8c\x7d\x4d\xeb\x3a\xd2\xbc\xb1\xae\xae\x2e\
\x91\x87\x1d\xd8\x80\x6c\xc7\x0b\x17\x2e\x08\x69\x74\xba\x10\x1c\
\x39\xf2\x09\x0d\xdc\x25\x86\x9d\x92\x92\x8a\x84\x84\x44\xe4\xe7\
\xe7\xa3\xa2\xa2\x82\x95\x80\x5f\xf1\x23\x2f\x37\xcf\xde\xd7\xd7\
\xf7\x3c\x41\xdc\x14\x20\x3c\xc4\x7b\x24\xab\x2d\x2a\x2a\x52\x5a\
\x5a\x5a\x16\x3f\x93\x34\x0f\xa5\xbd\xfd\xa2\xd2\xd6\x76\x45\xd9\
\xb3\xe7\x88\xb2\x73\xe7\x6e\x65\xdf\xbe\xbd\xca\xb9\x73\x67\x17\
\xef\xb9\x74\xe9\x92\x52\x5a\x5a\xca\xe3\xed\xa2\xfc\x88\x3f\x0f\
\x02\x8f\x09\xb8\x2d\xf6\xff\x3d\x91\x40\xf9\xc3\xe6\xcd\x9b\x15\
\xb2\xa3\xd2\xd1\xd1\xa1\x1c\x3c\x78\x40\x59\xbb\xf6\x59\x65\xc7\
\x8e\x5a\xe5\xe8\xd1\x2b\x8a\xcd\x36\x0f\xdc\xd8\xd8\xa8\x90\x19\
\xe8\x7b\x87\x1f\x29\xdf\xa1\x34\xdf\xf7\xb6\x0b\x10\x04\xb6\x7f\
\x20\xd8\x29\x14\xeb\xe9\xd5\x70\x83\x36\x1b\xbf\x0e\xad\x94\xdf\
\x51\xbe\x67\x32\xa5\xb7\x6f\xdf\xfe\xa6\x42\x3b\x98\x5f\x07\x8d\
\x94\xd5\x0b\x15\x3f\x18\x8f\x22\x60\x97\xdc\x13\x9b\x28\x4b\xb0\
\xf0\xe1\x5e\x88\xb2\x85\xd4\xe2\x5f\xe2\x6f\x80\x26\xfe\x87\xb0\
\x39\x3e\x91\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x2b\x93\
\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\x2b\x5a\x49\x44\x41\x54\x78\xda\xed\x9d\x07\x78\x15\x45\
\xd7\xc7\xe7\x55\x44\xc5\x8a\x4a\x55\x8a\x80\x88\x60\xa3\x0b\x0a\
\x48\x57\x04\xe5\xa5\x77\x11\x50\x04\x41\x8a\x02\x0a\xf2\xd1\x5b\
\x50\x7a\x91\x1a\x7a\x28\xa9\x84\x14\x08\x21\x90\x40\x28\x01\x02\
\x84\x24\x90\x9e\xd0\x6b\x48\xa3\x09\x9e\xef\x9c\xd9\xd9\xbd\xbb\
\x77\xf7\xe6\xde\x9b\xdc\x24\xc0\x9b\xfb\x3c\xbf\x07\x08\x7b\x37\
\x3b\xf3\xff\xcf\x99\x33\xb3\xb3\xb3\x8c\x15\x7e\x0a\x3f\x85\x9f\
\xc2\x4f\xe1\xc7\xda\x67\x36\xfb\x1c\xe9\x8b\x0c\x2f\xac\x8c\x27\
\x57\xe4\x57\x85\xd0\xc3\x91\xb9\x48\x10\x92\x88\x40\xe9\x65\x2f\
\x72\x9e\x99\xf3\x1f\x60\x33\xd9\x7a\x3c\xba\x48\x61\x85\x3d\xbe\
\x42\x7f\x8c\xb4\x47\x26\x22\xce\x42\x68\x20\xde\x5e\x55\x1c\x6a\
\x6e\x2a\x03\xcd\x3c\xde\x86\x7e\xfb\x6a\xc1\xe0\xd0\x7a\x30\x25\
\xa2\x19\xa7\x47\xe0\x07\xd0\xc2\xe7\x25\x78\x65\xd1\xd3\xc0\xa6\
\xb0\x2d\x78\xa6\x67\x0a\x2b\xf3\xf1\x08\xdb\x13\x85\xc8\xe1\x24\
\x72\xf1\x45\xcf\x71\xa1\x1b\x6e\x2b\x07\x6d\x76\x54\x85\xfe\xc1\
\xb5\x60\x5c\x78\x13\x98\x7a\xba\x79\xb6\xb4\xde\x5e\x09\xbe\x0e\
\x78\x05\xbe\xf4\x7f\x59\x32\xc1\x64\xb6\xb5\xd0\x04\x8f\xa6\xf0\
\x1e\x24\x74\x99\x65\x2f\x41\xf5\x75\x25\xa0\xb9\x67\x25\xe8\xb8\
\xb3\x06\x0c\x08\xae\x0d\xd3\x4e\xb7\xb0\x99\xd9\x51\xed\x60\x65\
\xdc\x8f\xfc\x4f\xfa\x77\x23\xf7\x32\xdc\x00\x85\x26\x78\xf4\x0d\
\x90\x3a\xf4\xe0\x27\x30\x3d\xb2\xa5\x21\xf3\xcf\x74\x81\x55\x28\
\x2c\xe1\x7d\x7e\x36\x78\x5f\x98\x0d\x41\x57\x56\x41\xd8\x0d\x0f\
\x4e\x5c\xc6\x11\x48\xc9\x8a\xe0\x9c\x43\xe6\x9f\xed\xca\xbf\xd7\
\x62\x7b\x69\xc5\x00\x39\x36\x81\xd4\xe5\x84\xf3\x7c\xa3\xf0\x93\
\x67\x89\x1c\xcc\x88\x6c\xc5\xf1\xbe\xe0\x04\x87\xaf\xbb\x72\x92\
\x32\xc3\x05\x27\x14\x92\x33\x4f\x9a\xc8\x32\x91\x92\x75\x4a\x41\
\x3e\xd7\xfb\x9b\x9e\xd3\x18\xc0\x6e\x13\xa0\xf8\x14\x95\x6a\xbb\
\x94\xa5\x44\x32\x02\x3b\xa7\x52\xf8\xd3\xff\x14\x8a\xe6\xc8\xcf\
\x2c\xd6\xb4\x2c\x56\xf2\xcc\xa8\xd6\x9c\xd3\xb7\x02\x21\x31\xf3\
\xb8\x82\xc9\x04\xe1\x1a\x43\x24\xcb\x18\x98\x80\xce\x33\xe6\x68\
\x63\xf8\xd4\xe3\x05\x9d\x01\x88\x26\xdb\xc5\xe8\x20\x3b\x13\xa0\
\xf8\x74\x5d\x13\x4f\x36\xe7\xe7\xab\xed\xf2\x26\xb0\x19\x2c\x8a\
\xf5\x66\xa5\x0b\x4d\xe0\xc8\xcf\x4c\xd6\xaf\xc6\xba\x52\x30\x2b\
\xea\x0b\x4e\x62\xe6\x31\x1d\x49\xdc\x08\x32\xe1\xba\xc8\x20\x19\
\x41\xe6\x24\x3f\xcf\xc0\x90\x7a\xbc\xb5\x1b\x19\x40\x63\x82\x3f\
\x70\xf8\x68\x6e\x02\x2e\xfe\xcb\x30\xe9\x64\x0b\xe5\xba\x88\x3a\
\x64\x82\xe9\x2c\xba\xd0\x04\x8e\xfc\xcc\x60\x53\x5b\x7a\xbd\x03\
\x4e\xd1\x5f\x82\x73\xc2\x60\x48\xc8\x3c\xaa\xa0\x37\x83\x1c\x15\
\x8c\x0d\x91\x8c\x9c\x4c\xf5\xe5\xe7\xa2\xd1\x82\x25\xf1\x75\x26\
\x18\xcd\x46\x28\xf3\x04\x42\xfc\xc9\xa7\x5a\xf2\xf3\x98\x53\xc7\
\xe5\xad\x42\x13\x38\xb8\x0b\x08\xee\x1b\x54\x1b\xfe\x8c\x6e\x03\
\x5b\x53\xc6\xa2\xf0\x61\x2a\x64\x23\x1c\x35\x8c\x0c\x46\x66\x08\
\xbb\xe1\xce\xcf\xf5\xc5\x8e\x8a\x56\x0d\xa0\x31\xc1\x58\xf6\x33\
\x73\x62\x6b\x48\xfc\x29\xa7\x5a\xf1\x73\x10\xc1\x57\xd7\x70\xe4\
\x7f\x13\x75\x36\x17\x9a\xc0\x71\x1f\x27\x96\x3c\xf2\x70\x23\xf8\
\xeb\x4c\x5b\xf0\xc1\xec\x3e\x1e\x33\xfa\xf8\xcc\x23\x66\x46\x30\
\x37\xc3\x51\x8b\x91\x21\xec\x86\x1b\x3f\x57\xbd\x2d\x65\x2d\xe6\
\x00\x96\x4c\x40\xe2\x4f\x8d\x68\xcd\xbf\x4f\x90\xf0\xe7\xc4\xc8\
\x82\xfe\x2e\xff\x9c\xa8\x5b\x68\x02\x87\x8d\x02\x60\xce\x99\x76\
\x9c\xc3\xd7\xb7\xa2\x01\x0e\x4b\x26\x50\x8c\x60\x6c\x86\x44\x1d\
\x92\x19\x42\xaf\x6d\x54\xce\x47\xfc\x76\xac\x09\x8c\x0d\x6f\x00\
\x83\x0f\x55\x87\x1e\x7b\xdf\xb4\x68\x82\xce\x81\x65\x61\x5a\xc4\
\x17\xfc\x3b\x0b\x63\x3a\xc3\xb1\x9b\x9e\x3c\xa1\x3c\xa7\x10\x01\
\x21\x68\x02\xf5\xb9\xeb\x6e\x2e\x57\x68\x82\xdc\xce\xfc\xbd\xb6\
\xb8\x18\xcc\x3d\xfb\x35\x27\xe2\xd6\x4e\x61\x00\x15\x99\x6a\x23\
\x58\x8f\x0c\x7e\x17\xff\x52\xce\x67\x04\x0d\x0f\x7f\x3e\x5c\x13\
\xda\xfa\x97\x56\x92\xc4\x66\xdb\x4b\xc2\xf4\xd3\x5f\xf2\xff\x5f\
\x14\xd3\x05\x4e\xdd\xf2\x47\xf1\x4f\xaa\x30\x0d\x31\xc9\x04\xea\
\xf3\xd5\xfb\x9f\x34\x81\x34\x76\xf7\xe0\xd3\xb6\xb9\x0b\xff\x93\
\xaa\x38\xbf\x01\xf3\xce\x7e\xc3\x89\xcb\x38\xa4\x10\xaf\xa0\x37\
\x43\x76\x91\x21\xec\x86\x2b\xb8\x9d\xfb\x3f\x4c\x28\x7f\x50\xce\
\x6b\x89\x51\x47\x3e\x87\x0e\xfe\xef\xc1\x8c\xd3\x6d\xf8\xbf\x17\
\xc7\x76\x45\xf1\xfd\x54\x23\x8a\x13\x28\xfa\x09\x33\x33\x9c\x84\
\x90\x6b\x6b\x34\xe7\xa9\xb7\xb9\xfc\xff\x90\x09\x24\xf1\xc3\x3f\
\xd8\x50\x06\x9e\x9f\xf7\x0c\x8d\xa5\x07\xe2\x4f\x9f\xb6\xf3\xfb\
\x34\xd7\x9f\xfa\xe6\xf2\x57\x60\x74\x58\x53\x98\x1f\xd3\x1e\x36\
\x24\xfd\x8c\xc2\x1f\x34\xc3\xcc\x10\x99\x87\x35\x24\x58\x88\x0c\
\x89\x9c\xa3\x10\x93\xbe\x1f\xfb\xee\x55\xb0\x25\x65\x0c\x2c\x89\
\xed\xc6\x7f\x8f\x25\xe8\xff\x25\xf1\xc3\x55\xa8\x4d\xa0\x35\xc3\
\x7e\x34\x81\xfa\xfb\xf5\xb6\xfc\x2f\x98\x40\x88\x5f\x1f\x0b\xbb\
\x20\xe6\xbf\x30\x26\xac\x99\x64\x82\x71\x6c\xa8\x55\x13\xa8\x84\
\xa7\xef\xff\x1c\xda\x88\x9f\x43\xc6\xef\xd2\x6c\x14\x3a\x54\xa0\
\x37\x42\xbc\x39\x8a\x09\x64\x8e\xe8\x48\x54\xcc\x20\x19\xe2\xe0\
\xf5\x8d\xe0\x71\x7e\x82\xe6\xf7\x12\x4b\xe3\xba\xf3\xe1\x63\x52\
\xd6\x71\x14\x5c\x26\x5c\x47\x8a\x99\x19\xf6\x5f\x5b\xab\x39\x4f\
\xfd\x27\xda\x04\x8a\xf8\x15\x60\x61\x6c\x07\x85\xdf\x8e\x36\xcf\
\xde\x04\x1a\xe1\x2b\xc0\xa4\x93\x5f\x68\xbe\xef\x7e\x7e\x3c\x6f\
\x79\xb1\x19\x07\x04\xa1\x1c\x63\x23\x1c\x44\xf1\x0f\x0a\x03\xc8\
\x1c\xb6\x62\x06\xf3\xc8\x10\xc6\x23\x43\xc8\xd5\xd5\xb0\x36\x71\
\x10\xac\x43\xe8\xf7\x26\x65\x1d\xd3\x91\x6c\xd1\x10\xa6\xc8\x40\
\x26\x50\x97\x87\xca\xf8\xe4\x99\x40\x88\xff\x09\x16\x6e\x51\x6c\
\x47\x1d\xbf\x5b\x32\x81\x74\x0f\x3f\xf1\x1d\xe7\x12\x30\xec\x60\
\x63\xcd\x77\x36\x25\x0f\x83\x93\xb7\x7c\x21\x26\x63\x3f\x27\x96\
\x73\xc0\x82\x11\x42\x75\xd1\x41\x1b\x0d\xf4\x86\xb0\x1c\x15\xf4\
\x91\x41\x26\x49\x8d\xc6\x0c\xc7\xcd\xa2\x83\xd6\x10\x64\x02\x75\
\xd9\xa8\x9e\xd8\x2c\x96\xfe\x64\x98\x40\x11\xbf\x22\x2c\x89\xeb\
\xa4\x40\x02\x06\x5c\x9e\xa7\xfc\x7b\xec\xb1\x16\x26\x13\x4c\x60\
\x95\xe9\x7e\xfe\xeb\x8b\x5f\x80\x81\x21\x0d\x35\xdf\x5b\x9d\xd8\
\x0f\x0e\xdf\x70\x41\xd1\x43\xcc\x90\x4d\x60\x6e\x84\x03\x28\xf8\
\x01\x43\x13\x28\x64\xa2\x21\x38\x5a\x23\x24\x18\x62\xa9\x8b\xd0\
\x1a\x22\x29\xeb\xa8\x85\xa8\xa0\x8f\x0c\x07\xae\xaf\x55\xca\xf7\
\x67\xf4\x37\xd0\xc0\xb5\x04\x94\x5b\x55\x54\x8a\x04\xdd\x59\x99\
\xc7\xd7\x04\x42\xfc\x06\x28\xfe\xd2\xb8\xce\x0a\xeb\x93\x06\x41\
\x44\x9a\x3f\x44\xa7\x07\x41\xd0\xd5\xa5\xca\xcf\xc7\x1e\x6b\x29\
\x99\xc0\x89\xdd\x6a\xe6\xfe\x0e\xfc\x15\xdd\x5e\xf9\xbf\x15\xf1\
\xbd\xc0\x1f\xfb\xf9\xb3\xe9\xc1\x9c\x98\x0c\x19\xad\x09\xb4\x46\
\xd8\x6f\xc5\x08\xe6\x51\x41\x90\xa9\x8d\x0a\x09\x1c\x7b\xf2\x85\
\x30\x6d\x54\xc8\x32\x36\x04\x19\x80\xc4\x97\xcb\x48\xe5\x6d\xe0\
\x5a\x52\x99\x5b\x50\x4c\xf0\x58\x46\x02\x59\xfc\xad\x15\xe1\xef\
\xf8\x2e\x0a\x1b\x92\x07\xa3\xf8\x7e\x28\xfe\x1e\x05\x32\x81\xfc\
\xff\xd3\x22\xda\x72\xd4\xdf\x71\x3d\x37\x06\x93\x2c\x6f\x14\x7e\
\x9f\x44\x06\x11\xcc\x31\x36\x42\x08\x0a\x1e\x62\x66\x04\x23\x33\
\xa8\x0c\x91\x19\xaa\x8a\x04\x6a\xcc\xcd\x60\x39\x2a\x24\x1a\x76\
\x11\x48\x16\xa1\x37\x02\x89\x2f\x97\x71\xce\x99\xff\x42\x43\x95\
\xf8\x8f\xb7\x09\x14\xf1\xdf\x86\x65\xf1\x5d\x15\x24\xf1\x7d\x51\
\xf4\x40\x81\xc9\x04\x7b\xd1\x04\xea\x63\x89\x55\x09\x7d\xb0\x7f\
\x74\x46\xd1\xf7\x9a\xb1\x4f\x8b\xc6\x08\x5a\x43\xc4\x5a\x34\xc3\
\x7e\x63\x23\x08\x33\xc4\x73\xac\x99\xe1\x90\xa1\x19\x12\x75\xa8\
\xcd\x20\x99\xe0\xc0\xf5\x35\x4a\x39\xe7\x9e\xe9\x60\x28\xfe\xe3\
\x69\x02\x21\x7e\x43\x14\x7f\x79\x42\x77\x85\x8d\x29\x3f\x09\xf1\
\x77\xab\x0c\xa0\x35\xc2\xde\xab\x7f\x2b\xc7\xfb\x5c\x9a\x06\xa7\
\xd3\x76\xc2\x19\xec\x26\x88\xb3\x1c\x95\x09\x32\xf6\xe9\x88\xe1\
\x68\x8d\x10\xab\x31\x81\xb1\x19\xe2\x34\x46\x38\x20\xa2\x81\x6c\
\x02\xcb\x66\x48\xd0\x60\x32\x41\xa2\x82\x30\x40\x96\x8c\x14\x0d\
\x48\x7c\xb9\x9c\xf3\xce\x76\xcc\x56\xfc\xc7\xcb\x04\x8a\xf8\x95\
\x60\x45\x42\x0f\x85\x4d\x29\x43\x70\xa8\xe6\x03\x51\xe9\x01\xc8\
\x6e\x61\x82\xdd\x86\x66\xd8\x77\xed\x6f\x38\x74\x63\x23\x8a\xbe\
\x47\x85\xda\x04\x41\xfa\x88\xa0\x33\x81\x91\x11\xac\x9b\x21\x2e\
\x1b\x33\xc4\x65\x63\x86\x04\x9d\x19\xf4\x91\x41\x36\x43\x28\x8a\
\x2f\xd7\xcb\xfc\xb3\x9d\xa0\xa1\x5b\x49\x9b\x6e\x38\x11\x7c\x25\
\xd2\x23\x6b\x02\x21\xfe\xa7\xdb\x2a\xc1\xca\xc4\x9e\x0a\x2e\x24\
\x7e\xda\x0e\x21\xbe\x89\x68\x4e\xf6\x66\xd0\x9a\x40\x42\x31\x41\
\x86\xcc\x5e\x33\xd4\x26\xd8\x07\x61\x37\x37\x43\xc8\xf5\x15\xb0\
\xfb\xca\x5c\x8e\xeb\xf9\x51\x0a\xf2\xcf\xf6\x5f\x5f\x09\xe1\xa9\
\x9e\x26\x13\x64\xca\x1c\xd0\x11\x6f\x21\x32\x24\x28\x58\x36\x03\
\x89\x2f\xd7\xcb\x82\x98\xce\xf0\xa9\x5b\x29\x9b\xc5\xd7\x2c\x47\
\x9b\xc0\xdc\xb1\xc6\x9f\x7f\x74\x4c\xa0\x12\x7f\x55\x62\x2f\x85\
\xb5\x49\xdf\x61\xcb\x47\xf1\xd3\x76\x49\xa4\xef\xb2\x60\x84\x00\
\x8b\x46\x38\xa3\x41\x6d\x04\x95\x19\xd2\x4d\x66\x38\x78\x63\x2d\
\xf8\x5f\x9e\x09\x5b\xce\x0d\xd3\x5c\xcb\xe8\x23\x2d\x61\xc8\x81\
\x26\xf0\x8d\xcf\x87\x86\xd0\xff\x4d\x0c\x6f\x03\x5e\x17\xfe\x40\
\x43\xac\xe2\xbf\x23\x4e\x63\x08\x73\x23\x18\x9b\x21\xc1\x82\x19\
\x42\xaf\x3b\x2b\xd7\xb2\x30\xa6\x8b\xdd\xe2\xeb\x4c\x30\x91\xb9\
\x61\xcd\x17\x7d\x64\xc4\xff\x6c\x5b\x65\x70\x4e\xea\xad\xb0\x2e\
\xb9\x1f\x84\xa5\xba\xa0\xc8\x3b\x05\xbb\x0c\xc8\xce\x04\x26\x33\
\x18\x9a\x20\x03\x0d\x20\x08\xbb\xb9\x09\x73\x86\xc9\xf8\x3b\xfb\
\x2b\xbf\x7f\x4c\x58\x2b\x68\xe9\x59\x0d\xaa\xad\x29\xc5\x1f\x00\
\xa1\xbb\x86\x74\xe3\xa8\xf5\xf6\x77\xa1\x95\x57\x55\xa0\x55\x44\
\x2d\x3c\xab\x40\x73\xcf\xca\xd0\xcc\xb3\x12\x7f\x6e\xe0\xd5\x45\
\xcf\x41\xb1\x79\x45\xa1\xe6\xa6\x72\x30\xe2\x60\x2b\xf0\xbd\x3c\
\x15\x4e\xa7\xfb\x59\x8c\x08\xf1\x16\x8d\x10\xaa\x31\x42\xe8\x0d\
\x67\x4d\xdd\x74\xda\xf9\x51\xb6\xcb\xcd\x6c\x36\x41\x81\x2f\x51\
\x57\x89\xbf\x26\xa9\x8f\xc2\x7a\x14\x22\xec\xa6\x0b\x44\xe2\x58\
\x3f\x32\x9d\xd8\x69\xc5\x08\xbb\x54\x26\xd0\x1b\xe2\x0c\x27\x50\
\x47\xc8\xb5\xe5\xd8\xc5\x0c\x56\x7e\xef\xe4\x13\x6d\x81\xae\x85\
\x44\xa4\x49\xa4\x66\x1e\xef\xc0\x0f\xc1\x0d\xc1\x29\xaa\x1d\xbf\
\xe1\x42\xb7\x5f\x69\x31\xc6\xec\xe8\x36\x7c\x8d\xde\x8c\xc8\xd6\
\x30\xed\x74\x4b\x98\x12\xd1\x1c\x26\x9d\x6a\x0a\x13\x4e\x35\x81\
\x9f\x0f\xd5\x85\x96\xdb\xdf\xc6\x0a\x7e\x16\xde\x58\xf2\x22\x0c\
\xdc\xd7\x14\xf6\x5c\x9d\xaf\x32\x81\xbe\x8b\xc8\xce\x08\xa7\x6e\
\x79\x6b\xea\x86\xf8\x33\xb2\x03\x14\x9b\xff\xd4\x63\x6e\x02\x45\
\xfc\x2a\xb0\x36\xf9\x5b\x85\x0d\x29\x03\x78\xcb\x8f\xc4\x96\x23\
\x89\x6f\x22\x4a\x63\x04\xbd\x21\x8c\x4d\x10\x20\x0c\x80\x64\x48\
\x84\x5c\x5f\x0e\x9b\xcf\xfd\xa4\xfc\xce\x01\xfb\x3e\x85\xf2\x2b\
\x5e\xe3\xc2\xb7\xf0\x78\x17\xfe\x38\xde\x1a\x96\xe2\xd8\x7a\x71\
\x5c\x27\x3e\xbf\x6e\xab\xf8\xe3\x4f\x36\x82\x71\x27\x3e\x85\xdf\
\xc3\x1b\xc0\x98\xe3\xf5\xa1\x5b\x60\x35\x28\xb9\xb4\x18\x3f\xf7\
\x9c\xd3\x7d\x79\x99\xe2\x32\x43\x04\x5a\x33\xc4\x6b\x8c\xa0\x35\
\xc3\xc6\x94\xef\x35\x75\x44\x54\x5b\x5b\x1a\x6a\x6e\x79\x3e\xc7\
\x06\x20\x68\xd9\x3a\x9b\xc9\x32\x51\x8d\xf2\xf9\x6b\x02\xe9\x59\
\xbb\xf0\x46\x28\xfe\xba\xe4\xbe\x0a\x54\x50\xa9\xe5\xfb\x69\x49\
\x37\x8a\x04\x5a\x13\x44\x1b\xa2\x8d\x06\x47\x6e\x6e\xc4\xbe\x7d\
\x88\xf2\xfb\xbe\xdf\xf7\x19\x6f\xa5\x44\xbf\xbd\x0d\x78\x66\xbd\
\x2c\xbe\x1b\x2c\x8d\xb3\x26\x7e\x2b\xab\xe2\x8f\x3a\x56\x17\x7e\
\x39\x5a\x1b\x46\x84\xd5\x84\x4f\xb6\x95\xe6\xe6\x1a\x14\xdc\x0c\
\x4e\xde\xf2\xcc\xc6\x04\x32\x5a\x23\xf8\x5f\x9e\xae\xa9\x27\xf9\
\xda\xa9\x05\xe7\x54\x7c\x5a\x86\xc6\x9f\x6f\xfc\x94\x2d\x45\x45\
\x5a\x22\xaf\xe5\xa7\xf8\xa9\x8d\x5c\xab\xc0\xfa\x94\xef\x14\x36\
\x9d\xfb\x01\x5b\xfe\x26\xde\x67\x46\x1a\x42\x11\xc0\x08\xeb\x46\
\x38\x9d\xe6\x03\xde\x97\xc6\x2b\xbf\x6b\xec\xd1\x2f\x79\xab\x24\
\xe1\xfb\xef\x6d\xc8\x13\xab\xbc\x12\x7f\xd8\x91\x8f\x60\xe8\xe1\
\x0f\xa0\xfd\xce\x8a\xf0\xec\xdc\xa7\x61\x50\x48\x73\x38\x99\xa6\
\x36\x81\x75\x23\x50\x8e\xa2\xae\x2b\x62\x59\x7c\x4f\x2e\x60\x4e\
\xba\x01\x65\x21\x6a\x1b\xe6\x8b\x8a\x4c\x40\x3a\x20\xa5\xf2\x43\
\xfc\x8a\x24\x7e\x63\xd7\x77\x30\xd4\xf7\x53\x70\x39\x37\x90\x17\
\x32\x32\xcd\xd7\x44\xba\x8c\xd6\x08\xd6\x4d\xb0\x13\x45\x97\xd9\
\x85\x59\xbd\x33\x9e\xff\x47\xfe\x7b\x96\xc7\xf7\x82\xda\x9b\x2a\
\xf0\xd6\xd8\x23\xa0\x1e\x26\x54\x7d\xf2\x45\xfc\x9f\x0e\xd5\x80\
\x41\x87\xde\x83\x4e\x01\x15\xa1\xe8\xdc\xa7\x60\xc2\xb1\xf6\xc2\
\x04\xc1\x66\x46\x30\x19\x22\x5e\x05\x8d\x50\xd4\xf5\x25\xf3\xde\
\xda\x32\x50\xcf\xb5\x58\x6e\xc4\x9f\x86\x0c\x42\xea\x21\x2f\xe6\
\xbd\x01\x66\xb0\xb7\xe9\x46\xcd\xc0\xe0\xc6\xb0\xf1\x5c\x7f\x85\
\x1d\x97\xc7\x63\xcb\xf7\xe1\x44\x72\x7c\x0d\x50\x9b\x40\x8d\xde\
\x08\xb2\x01\x02\xae\xce\x52\x7e\xc7\xc8\x43\x2d\x30\x71\x2a\x8a\
\x06\x28\x8f\x42\xf7\xc8\xa1\xf8\x2d\x72\x26\xfe\xc1\xf7\x60\xe0\
\xc1\x6a\xf0\x7d\x68\x55\x68\xec\x51\x92\x5f\xc7\xea\xc4\xfe\x28\
\xec\x6e\x61\x02\x35\x26\x23\xa8\x4d\xe0\x79\x71\x94\xa6\xce\x88\
\x8e\x7e\xb5\xa0\xd2\x9a\x67\xed\x4a\xfc\x28\x79\x64\xfd\xd8\x51\
\x21\xfe\x10\xa4\x11\xf2\x3a\xf2\x54\x7e\x74\x00\x4f\xb3\x1e\xe8\
\xbd\x99\x2c\xeb\xc7\xe0\x26\x18\xf6\x07\x28\xf8\x5f\x9e\xcc\x43\
\xb5\xc9\x04\x6a\x6c\x37\x41\x34\x72\x3a\xcd\x1b\x43\xfe\xef\xca\
\xb9\x1b\xbb\x56\xe5\xad\x7e\xf8\xc1\xe6\x3c\x81\x2a\x28\xf1\xfb\
\x1f\xa8\x02\xdf\xed\xaf\x04\xe5\x57\x15\xe3\xd7\xe4\x77\x79\x92\
\x81\x01\xcc\x4d\x20\xb1\xe7\xea\x1c\x4d\x7d\x11\xe3\x8f\x7d\x05\
\x6f\x2c\x2d\x62\x93\xf8\xca\x3e\x05\x83\x58\x04\xea\x30\x1d\x19\
\x86\x7c\x8e\x94\xb0\x6b\x49\x5d\xae\x0d\xc0\xb0\x1b\xf8\x84\xfd\
\x86\xd1\xe0\xce\x8f\x21\x4d\xc0\xe5\xfc\xf7\x0a\xfe\x57\xa6\x18\
\x88\xaf\x8f\x0a\x51\x1c\x3f\x03\xfc\x21\x22\xdd\x1b\x3c\x2f\x8d\
\xe2\xe7\x5b\x70\xb6\x3b\x54\x58\xf9\x3a\x0f\x95\xcb\xe2\x7a\x3e\
\x12\xe2\x7f\x1b\x52\x11\x3a\x04\x94\x85\xa2\x73\x9e\xe2\xd7\x17\
\x96\xba\x01\x85\xde\xa7\xc2\xd8\x0c\x47\x31\x3f\x52\xd7\x95\x5c\
\x3e\xca\x03\xcc\x43\x3c\x75\x0b\xef\xae\x7f\x8e\x8f\x12\x28\x42\
\xf0\x56\x4f\x09\xdf\x74\x76\x17\xc7\x5e\xf4\x28\xda\x2f\x48\x6b\
\xa4\x74\x7e\x8a\xcf\xc4\xd4\xe3\x4b\x48\x2d\x56\x87\x4d\x24\x13\
\x0c\x0a\xf9\x1c\xb6\x9c\x1f\xa8\xb0\xf3\xca\x54\x14\x79\x87\x40\
\x6f\x82\x28\x43\x24\x03\x1c\x4f\xdd\x0c\xdb\x2e\x0c\xe1\xe7\x99\
\x15\xd1\x11\x5e\xc0\x50\x4b\xf9\x06\x25\x4d\xb9\x13\xbf\x99\x24\
\xfe\x49\x7b\xc5\x7f\x57\x27\x7e\xef\xe0\xf2\xd0\x73\xdf\x5b\x50\
\xc9\xb9\x18\x34\xc1\x28\xe0\x71\x71\xa4\x99\x01\xb4\x26\x88\x17\
\x50\xf9\xd4\xf5\x24\x43\xc2\x52\x14\x90\x45\x2e\xb1\xe4\x25\xa8\
\xbe\xb6\x2c\x74\xf6\xaf\x03\xdf\x06\x36\x84\x09\xc7\xdb\xc1\xea\
\x84\xbe\xfc\x77\xf1\xbe\x7f\x0c\x4b\xc0\xfa\xff\x1a\x29\xc7\x0a\
\x68\xdb\x1a\xea\x6b\x5e\x56\x9b\x60\x70\x48\x53\xd8\x7a\xe1\x47\
\x85\x5d\x57\xd5\x26\xd0\x9b\x41\x67\x80\x0c\x5f\x38\x7e\x6b\x33\
\xb8\x5e\x1c\xca\xbf\x4f\xe7\x23\xf1\x29\xd7\x30\x89\xdf\x5b\x2f\
\x7e\x6c\xc1\x88\xdf\x7d\x6f\x59\x68\xbb\xb3\x04\xbf\x46\xba\xde\
\xc3\x37\x9d\x51\xec\xbd\x02\x63\x33\x90\x09\xd4\x75\x24\x43\x65\
\x1d\x75\xb8\x35\x4c\x08\xff\xda\xf0\xff\x65\xaa\xaf\x2b\xcb\x23\
\x03\xef\x06\x46\xf3\xed\x6a\x5e\x64\x05\xf8\xd1\x99\xe0\x27\x2c\
\xc8\xb6\x0b\x83\x14\x02\xaf\x39\x19\x98\x60\x87\xca\x04\x32\xbe\
\x10\x91\xe6\x85\x7d\xfe\x18\xfe\x3d\x3a\x4f\xb1\x02\x14\xbf\xd7\
\xde\x2a\xf0\xb5\x7f\x79\xbe\x2c\xab\xd6\xe6\xd7\xa0\xe6\xe6\xe2\
\xf0\xb1\xcb\xab\x50\x77\x6b\x71\x68\xb9\xa3\x04\x74\x0a\x2c\x0d\
\x5d\x83\x4a\x43\xe7\x3d\x25\xe1\xd5\xc5\x45\x60\x22\x0a\xb7\xe3\
\xf2\xef\x2a\x03\x58\x32\xc2\x3e\xf0\xbb\x32\x41\x53\x47\xf6\xf0\
\xc2\xfc\x67\x79\x1e\x40\xf0\x48\xf0\x2b\xef\x06\x8a\x3c\x1a\x26\
\x18\xc0\xbc\x4a\x62\xe8\x72\xbd\x38\x58\xe1\xd0\xcd\x55\x26\xd1\
\x33\x76\x60\x2b\xf7\x31\x24\x22\xdd\x13\x2b\xf0\x37\xfe\x9d\x9f\
\xf6\x37\xe3\xe2\x4f\x3f\xd5\x3e\xdf\xc4\xef\x17\x5c\x1d\x1a\xbb\
\x97\x85\x4a\xab\x5f\xe6\xe3\x7c\xde\xcf\x8e\x66\x29\x3c\xd9\xea\
\xc1\x0e\x28\x50\xe6\x4d\x3f\xc7\x30\x4d\xc2\xd7\xd9\xf6\x12\x54\
\x58\xfd\x2c\x74\xd9\x59\x97\x5f\x3b\x99\x39\x2e\x33\xc8\x64\x80\
\x2c\x35\xfb\x38\xfb\x6e\xcc\x03\xff\xab\x13\x39\x01\xd7\xa6\xc1\
\xfe\x9b\x4b\x38\x47\x52\xd7\xe2\xb0\xd2\x95\x13\x9d\xe1\x0f\x09\
\x59\x21\x18\x11\x5d\x94\xba\x5c\x9b\xd4\x5f\x93\x2b\x50\x24\xe0\
\x33\x80\x03\x58\xf3\xfc\xce\x01\xf4\x26\x68\x87\x7d\xd1\x2c\x96\
\x3e\xf9\x44\x7b\x70\xbb\xf8\x13\xc7\xef\xca\x78\x45\xfc\x28\x73\
\xcc\x0c\xe0\x77\x75\x3c\xff\xce\x90\xfd\xcd\x2d\x88\xdf\x33\x87\
\xe2\x7f\x9e\xad\xf8\xad\xbd\x2b\xc0\x5b\x2b\xc4\x6c\xda\x70\x16\
\xc3\xc7\xd5\xe5\xd8\x32\x46\xcf\x1b\xd3\x80\x97\xb1\xc9\xc8\x78\
\x64\x2c\xf2\xbb\xe0\x0f\xfe\xf3\xcf\x99\x9b\x6c\x86\x1a\xeb\xde\
\xe4\xd7\x7f\x24\xd5\x59\x18\x20\x48\x1f\x0d\xd0\x04\xf1\x9c\x7d\
\x06\x04\x2b\x24\x70\x42\x38\xa1\x37\x97\x2a\xf5\x39\x39\xbc\xbd\
\x6e\xb4\x40\x49\x22\x9b\x8a\xd7\xdd\x0a\x93\xf2\x7c\x1a\x02\x5a\
\x7a\x3c\xcb\xb3\xa9\x7b\x35\x70\xbf\x34\x44\x21\xec\xd6\x5a\x6c\
\xf5\xde\x0a\x51\x3c\x02\xa8\x91\xc4\x0f\xbc\x3e\x83\x1f\xff\x57\
\x54\x37\x1e\xe2\x46\x1c\x6c\x91\xa7\xe2\xff\x7c\xb8\x16\x34\x74\
\x2d\x2b\xb5\xf4\x3f\xd8\x15\x2e\xfa\x2b\x6c\xbe\x10\x9c\x66\xd4\
\x46\x89\xb1\x75\x3f\xa4\x2b\xd2\x4e\x64\xdb\x34\xd5\xda\x0a\xf9\
\x4a\xfc\xfc\x07\x9e\x89\xb7\x65\x9e\xef\xa3\x01\xa8\x0c\x41\xd7\
\x67\xa3\xd0\x41\x66\xec\xd5\x61\xd9\x08\xfb\x34\x46\x08\xbc\x36\
\x43\xa9\xcf\x7e\x41\x8d\xf8\x8a\x20\xf3\xa1\x61\xe9\xe5\xcf\xd0\
\x6d\xe1\x3d\x78\x2d\x2f\x14\xcc\xda\x80\xd9\xec\x73\x12\x6e\x43\
\xca\x0f\xe0\x71\x69\x28\x27\xe0\xda\x64\x6c\xf9\xdb\x11\x12\xde\
\x08\xc9\x04\x87\x52\x97\xf3\xe3\xe7\x08\xf1\xf5\x7d\xbe\xe3\xc4\
\x1f\x7e\xa4\x36\x7c\xea\xfa\xa6\x24\x3c\xb5\xdc\xba\xcc\x85\xd1\
\xde\x22\x8c\x4d\x12\xa2\xff\x20\xa6\x53\x69\x52\xe5\x7d\xe4\x6d\
\xa4\xac\x18\x63\xd3\x1c\x7b\x71\xc1\x1b\xe2\xe7\xef\x20\x0d\xd9\
\x7b\xec\x27\x8a\x02\x54\x8e\x5d\xd7\x68\x4e\x60\x8f\x8a\x20\x43\
\x43\xc4\x6b\x30\x36\x01\x19\xc0\x1f\x23\xa3\x5c\xa7\xed\xbc\x3f\
\xe6\x2d\xde\xe2\x1d\xc1\xdf\xd9\xc2\x82\x59\x1b\x30\x9b\x25\xf6\
\x0f\x6a\x0c\x9e\x97\x7f\x56\x38\x91\xbe\x15\x5b\xfd\x76\x81\x1c\
\x01\xb4\x84\xa7\xb9\x80\xf7\x95\x91\xb0\x31\x65\x20\xbc\xbd\xb2\
\x04\x7c\xe1\x55\xc3\x81\xe2\x37\xd6\x88\xff\x95\x4f\x65\x23\xe1\
\x27\x88\x89\x94\x6e\x48\x63\xa4\x9a\x18\x53\xbf\x24\xee\xaa\x59\
\x6b\x4d\x4f\x8b\x56\x57\x81\x0c\x40\xe5\xf6\xbd\xfa\x1b\x0a\xbc\
\xc7\x0c\xbd\x09\xe2\x75\x26\xd0\x9a\x21\x81\x13\xac\xa9\xd3\xf7\
\xd7\xbd\x65\x71\xca\x58\x99\x1a\x1e\x86\x19\x41\xbe\x26\x85\xb3\
\x59\xdf\x92\x4b\x5f\x86\xed\x97\x87\x29\x04\x5d\x9f\xc9\x85\x8f\
\xd2\xa1\x35\x80\xff\xd5\x3f\xf8\xf1\xcd\xdc\xab\xf3\x49\x1e\xbd\
\xf8\xdd\x73\x2e\xfe\x09\x49\xfc\xc1\xa1\xb5\xa0\xfc\xca\x97\x01\
\xdb\xf8\x2d\xec\xb3\x3d\x54\xc2\xff\x8c\x74\x12\xf3\xe7\xe5\x45\
\x22\x5b\x24\x87\x21\xf4\x19\x32\x80\x5c\xfe\xb8\xac\x40\x81\xde\
\x04\xf1\x3a\x2c\x1b\x21\x32\xc3\x4b\x53\xaf\x14\x21\x49\x68\x4b\
\xb3\x84\x3c\x29\x9c\xc5\x32\xd8\xf7\xac\x59\xfe\x25\x85\xd8\xfa\
\xa7\x9f\xea\x84\x2d\x79\xb8\xc2\xc9\xf4\x2d\x06\xe2\x6b\x0d\x10\
\x7c\x63\x0e\x3f\x76\x58\x68\x2b\x3e\xbd\x6b\x9a\xe1\x73\x9c\xf8\
\x2d\xbd\x2a\xc2\x73\x73\x8b\x48\x73\xe6\xaf\xb0\x79\x22\xa1\x1b\
\xae\x12\xfe\x2d\xa4\x58\xae\x93\xa7\x29\xd8\x2d\xa0\x01\xe4\xf2\
\x9b\x0c\x10\x68\x18\x0d\x6c\x35\xc1\x89\xb4\xcd\x9a\x7a\x35\x9f\
\x2d\x34\x82\x66\x0c\x79\x52\xf8\x05\x46\xa5\x3c\x4f\x0a\x67\xb3\
\xe1\x1f\xac\x7f\x0b\x76\x5c\x19\xa1\xb0\xfb\xfa\x24\x14\xd8\x4b\
\xb0\xdd\x90\x63\x69\xeb\xf8\xb1\xab\xe2\xfb\x73\x57\xd3\x6d\x5d\
\xc7\x89\xff\x19\xfc\x1a\x56\x1f\xaa\xae\x79\x4d\x6a\xf5\x52\xb8\
\xa7\x39\xf3\xdf\x90\xde\xbc\xcf\x96\x66\xcf\x8a\x39\xac\x82\x66\
\xb1\xa6\x95\x56\x95\x50\xea\x40\x6b\x00\xbd\x11\xe2\x35\x58\x36\
\xc2\xa1\xd4\x65\xca\x39\x67\x9c\xea\x6c\xf3\xba\x01\x1a\x29\xe0\
\xb8\xc5\x2b\xef\x93\x42\x27\x96\x34\xf3\x54\x17\xf0\xb9\x3a\x52\
\xe1\x78\xda\x5a\x14\xd9\x53\x65\x02\xbd\x11\x02\xae\xff\x1f\x3f\
\xf6\x83\xf5\xe5\xa0\xb5\x57\x75\x03\xf1\xbb\x9a\xc4\x8f\xb1\x4f\
\xfc\x01\x21\x1f\x43\xa9\xbf\x5f\x90\x86\x74\x52\xab\x9f\x24\x32\
\xfa\x2f\x91\xaa\x22\xd4\x3b\x36\x3c\xce\x60\xcd\xa8\x2c\x54\xa6\
\x5d\xd7\xc6\xa1\xc8\xbb\x2d\x98\x20\xd0\xc0\x00\x7b\xf4\x11\xe1\
\x76\x10\x24\x20\xc1\x37\x9d\x94\x7a\x1d\x11\xda\x9a\x67\xfb\x76\
\xdd\x2d\x1c\xc5\xef\x14\x16\xcd\xb3\xbe\xbf\xd2\xaa\x92\x98\xf4\
\xfc\xaa\xb0\xe7\xc6\x14\x03\xf1\xb5\x26\x38\x94\xba\x94\x1f\x3b\
\xfe\xe8\x37\x7c\x21\xc7\xd2\xd8\xee\x0e\x13\xbf\x77\xd0\xfb\x52\
\xc8\xa7\x09\x1b\x69\x48\x37\x56\xb4\xfa\xfa\x62\xa1\xc4\x33\x79\
\xd2\x22\x66\xb2\x29\xed\x7d\x6a\xf3\x72\x05\xdd\x98\x2e\x0c\xb0\
\xdb\xd0\x08\xf1\x9c\xec\x4d\x90\x20\x08\xbc\x3e\x59\xa9\xdb\x9e\
\x01\x0d\x0d\x47\x00\x56\xd7\x0b\x0c\xe6\xdd\x5d\x11\x47\x8b\x4f\
\xab\x81\x12\x47\x1e\xfc\x12\xfc\xae\x8d\x52\x38\x9a\xb6\x0a\xa2\
\x32\x3d\x05\x5e\x1a\xa2\x91\xc8\x0c\x77\xd8\x79\xfd\x37\x7e\x6c\
\xa9\xa5\xaf\xf0\x35\x7c\x8e\x12\xbf\x9d\xef\x3b\xd2\xec\x9d\xb4\
\x40\x62\xba\xb8\x53\xd6\x5e\x64\xf6\x2f\xe6\x69\x7f\x38\x8b\x6d\
\x1f\xb8\xaf\x19\x2f\xd7\xc1\xd4\x85\x28\x74\x80\x99\x09\x76\xa3\
\xb0\xbb\x85\xf8\xc8\x6d\x62\x8f\x05\xa4\xd6\x4f\xa8\xeb\xf6\x43\
\x8c\x30\xf6\x2e\x1a\xe1\x6b\x05\x27\xb2\x70\x31\x6c\x7d\xca\x5e\
\x91\x5f\x35\xd8\x76\x9d\xbf\x44\x81\xc4\x6b\xb8\xe5\x1d\xf0\xbf\
\x36\x5a\x61\xf7\xf5\xf1\xd8\xc2\x3d\x24\x14\x13\x78\x72\xe1\x65\
\x0e\xdd\x5a\xc8\x8f\xed\x15\xf0\x29\x54\x5b\x53\xda\x40\xfc\xce\
\xb9\x13\xbf\x3a\x73\xc6\x2b\x9f\x8a\x0c\x15\x93\x36\xe5\x44\x08\
\xcc\xdb\xc9\x11\x27\x96\xbc\xe4\x6c\x5f\x5e\x36\x6a\x04\x92\x01\
\x02\x0c\x0c\x60\x66\x04\x33\x33\x24\xa8\xa0\xfa\x52\xd7\x2f\xd5\
\xb9\xad\xdb\xd5\xc9\xd0\x6d\x64\xec\x06\x4e\xe0\x15\xd6\x16\x39\
\x8f\x55\xd1\xdb\x0b\xa1\x53\x49\xe8\x8f\xd6\x97\xe7\x42\xf7\xde\
\xfd\x19\x4c\x38\xde\x01\x66\x9f\xee\x8e\x2d\x78\x8c\x21\x61\x69\
\xcb\x51\x70\x73\xf1\x65\xb0\xf5\x67\xba\x41\xc0\x8d\xb1\xe0\x7e\
\x71\x18\xbc\x88\x89\x1f\xad\xd7\xcf\x03\xf1\x27\x89\xc9\x9c\x46\
\x22\xe4\x17\xc9\x87\x51\xd0\xc7\x54\x1e\xb9\x1e\xa2\x32\xdd\x21\
\xee\x76\x80\x86\xf8\xdb\xbb\x2d\x10\xa8\x90\xa0\x20\x19\x20\x22\
\x63\xb3\xa6\x7e\x6d\x19\x01\x18\x8e\x08\xfa\xf0\x19\xc2\xb6\x62\
\x32\xcb\xfa\x74\x6e\x07\xdf\xba\xfc\xb9\xfd\x5d\x18\xaa\x6d\x65\
\xf7\x8d\x71\x70\x3a\xd3\x55\x18\xc0\x43\x25\xbc\x89\xc3\xb7\x16\
\xf1\x63\x07\x05\x37\x87\x77\xd7\x94\xca\x2b\xf1\x69\xea\xb6\x8e\
\x98\xad\xcb\x9f\x71\xb0\x13\x1b\xd1\xca\xf3\x03\x51\x0f\x7f\xf0\
\x96\x1f\x7f\x5b\x66\xb7\x0d\x18\x99\x20\x10\x23\xc9\x0a\xa5\x7e\
\x97\xc6\x7c\xc7\x93\x3a\x7b\x0d\xc0\x47\x03\xcd\xd9\x26\xd1\x15\
\x96\xb4\xa5\x2f\x0b\xfe\x2b\xb2\x27\x16\xe4\x77\x85\xe0\xd4\xe9\
\xb0\x3f\x75\x16\x1c\x4e\x5b\xa8\x70\x14\x5b\xfb\x89\xf4\xb5\x0a\
\xd1\x5c\x74\x73\x4c\xe2\x47\x61\xeb\x0f\xc4\xca\xa1\xf3\x51\x28\
\xa3\xc7\xaf\xb4\xe2\x77\x74\x94\xf8\xb5\x44\x96\x9f\x7f\x37\x45\
\x9c\xd8\x89\x51\x87\xda\xf2\xb2\x1d\xba\x35\x5f\x25\xbe\x65\x23\
\x24\xe8\x08\xd4\x11\x7a\x6b\x8e\xa2\xc1\xa4\xe3\x1d\x6d\x5e\x32\
\xa6\x86\xdf\xe0\xaa\x88\x57\x28\x75\x87\xc5\x6d\x09\x67\xe0\x75\
\x69\x24\x04\xde\x1c\xcb\xd9\x7b\x73\x22\x17\x4f\x21\x8b\x70\xe7\
\x44\xeb\xf0\xb0\x80\x27\x1c\x4b\x5f\xc9\xcf\x37\x39\xbc\x13\x7f\
\x52\x27\xb7\xe2\xf7\xda\xf3\xfe\xa3\x21\xfe\x6c\x56\xf1\xc5\xf9\
\xcf\x29\x75\x16\x91\xb1\x09\x05\xde\x95\xad\x09\x0c\xc5\xbf\xa3\
\x27\x04\x1b\x9e\xac\x43\x9f\xdd\x8d\xec\x1a\x01\xc8\x6b\x07\x79\
\x1d\x31\x36\x12\xf9\x44\xcc\x09\x58\x2f\xcc\x9e\x9b\xe3\x14\x0e\
\xa2\x0b\xd5\x06\x88\x96\x31\x34\x80\xde\x04\x67\x04\x21\xa9\xd3\
\xf8\xf9\x3e\xdd\x5a\x15\xba\xee\xaa\xa5\x17\xff\xac\x7d\xe3\x7c\
\x3e\xd4\x6b\xc3\x7c\x0a\x54\x7c\xa9\xce\xe6\xb6\xf6\xfc\x90\x97\
\x2d\x38\x75\x8a\x10\x5f\x6f\x80\x04\x05\x49\xf4\x33\x59\x14\x15\
\x5d\xb1\xdb\xdc\x0c\xc7\xb1\x71\x10\x87\xd2\xe6\x61\xab\xff\x13\
\xf6\xdf\x9a\xa1\xd1\x40\xae\x37\x7b\x9f\x1e\xe2\xd3\xc2\xa3\x59\
\x32\x5e\xe5\x4f\x48\x0d\xeb\x4f\x0c\xcd\x62\x4d\x3f\xde\x50\x01\
\x82\x52\xff\x50\x38\x9e\xbe\x1c\x85\x74\x45\xdc\x2c\xa0\x35\xc0\
\x19\x8e\x87\x86\xc8\xcc\x2d\xfc\x5c\xde\x97\x7f\xe5\x21\x69\x7a\
\x44\xdb\x1c\x8b\xff\x4b\x58\x7d\x69\x92\x47\x1a\xe7\x4f\x15\x09\
\x5f\x9d\x02\x12\x9f\x46\x49\xa9\x2b\xe2\xbe\x17\x75\xb5\x02\xe2\
\xef\xec\x32\x03\x45\x47\x4e\x67\xba\xc0\xc1\xb4\x3f\x35\x75\x6b\
\x0f\x55\x56\x97\xb2\x7b\x04\xc0\xd7\x09\xf4\x64\x21\xa2\x81\xbc\
\x6d\x7d\x24\x34\x8b\x4d\xee\xe4\x57\x1f\xf6\xa6\x8e\x57\x38\x9d\
\xb9\x49\x18\xc0\xd5\xa2\x11\xce\x28\xc2\x9b\x23\x19\xe0\x78\xfa\
\x32\x7e\xae\xa9\x27\xba\xc0\x5b\xcb\x5f\x55\x89\xff\x5f\xbb\xc4\
\x1f\x17\xde\x10\x3e\xdc\x58\x42\x9a\xe1\x93\xc6\xf9\x43\x45\xb6\
\x5f\xbc\x40\x16\x42\xe0\xd0\x98\x1a\x8c\x5c\x57\x67\xb3\xb6\xab\
\x22\xc0\x2e\x14\xde\xc4\x21\x14\x5f\x5d\xaf\xd6\x58\x19\xf7\x03\
\xaf\xaf\xef\xf7\x36\x81\x5e\x81\xb5\xf9\x1a\x00\x7b\x9f\x1c\xe2\
\x09\x60\x33\xbe\x66\xb0\x33\x52\xc6\x96\xd9\xac\xf5\xdf\x05\x36\
\x81\x7d\xb7\xfe\x8f\xb3\xff\xd6\x54\x43\xe1\xcf\x28\xa8\xc4\xbe\
\xad\xc6\x43\xc3\xc1\x34\x27\x7e\xbe\x2f\xbc\x3e\x82\xaf\x76\x54\
\xcf\xb1\xf8\x6d\x7d\x2b\x9b\x2f\x87\x6e\x29\x86\x7a\x4f\x17\x80\
\xf8\xbc\xf5\xcf\x8f\xfa\x96\x97\xed\x68\xfa\x22\x6c\xed\x3b\x39\
\x6a\xe1\x89\x98\xdb\xde\x4a\x9d\x9a\x43\xdf\xff\xfd\xc8\x37\x30\
\x2c\xb4\x19\xb4\xf0\xac\x0c\x5f\xf9\x56\xe0\xa1\xde\xde\xd6\x6e\
\x04\x9f\x05\x94\x12\xc0\x56\xb6\x25\x80\x33\x59\xc8\x82\xe8\x6f\
\x21\xf8\xd6\x04\xce\x91\xf4\x79\x28\xae\xab\x0a\x37\x0b\xb8\xeb\
\xcc\x70\x96\xe3\xc1\x91\xcf\x57\xfa\xef\x57\xf9\x26\x8f\x39\x11\
\x7f\x70\x68\x4d\xa9\xdf\x97\x6e\xec\x8c\x13\xc3\x9a\x02\x5b\x0e\
\x4d\xad\xbf\xe6\x86\x8a\x4a\xd9\x62\x6f\x6f\x47\xb1\x77\xaa\x30\
\x19\xe0\x58\xc6\x62\xe5\x38\x35\x5f\x7a\x7d\xec\x10\xa1\x2d\x26\
\x80\x34\x02\xb0\x39\x01\x14\x23\x80\x6d\xe7\x87\x43\x48\xda\x44\
\xce\x89\xcc\x15\x28\xa6\xab\x01\x6e\x3a\xce\x72\xdc\x75\x9c\xce\
\x5c\xcf\xcf\xe5\x77\xf5\x37\x7e\x41\x92\xf8\xdf\xd8\x25\xfe\xef\
\xe1\x9f\x48\xf7\xf3\xa5\xc7\xa0\xe8\x76\xee\xb7\xc8\x7b\xac\xa0\
\x76\xc5\x10\xcf\x45\x3a\x27\xfc\xc8\xcb\x16\x9e\xb1\xcc\x4c\x7c\
\x13\xf1\x77\x7c\xe1\x40\xda\x54\xa5\x4e\x65\xe4\xfa\x20\xa1\xf2\
\xc2\x00\x22\x01\x4c\x11\x37\xc1\xde\xb7\x9e\x00\x8a\x57\xae\x1d\
\x48\x9b\xac\x10\x95\xb5\x89\x0b\x7e\x56\x83\x9b\x05\xf4\xe2\xc7\
\x60\xeb\x3f\x95\xb9\x9a\x9f\x6b\xe1\x99\xef\x80\x76\xf4\xb6\x5b\
\xfc\xe3\x9f\x40\x87\x9d\x55\xe5\xd0\x3f\x47\x14\xe8\x13\xb1\x62\
\xe7\x3f\x05\x64\x00\x8f\x2e\xfe\x0d\x78\xb9\x42\xd3\xa6\x41\xdc\
\x1d\x1f\x14\xdb\x5f\x27\x7e\x22\x72\x2a\x73\x95\xa6\x4e\x65\xfa\
\xed\x69\x6a\xb8\xb6\xcf\x51\xf0\x04\xb0\x1f\x0b\xc3\xab\xa5\xd5\
\x41\x95\x6c\x49\x00\x9b\xd6\xdc\xf8\x36\x84\xa6\x4f\xe1\x1c\x4a\
\x9f\x69\x26\xbc\x35\x13\x90\xe0\x2a\xee\x48\x9c\xc8\x5c\xc6\xcf\
\x37\x2e\xac\x03\xdf\x96\xc5\x5e\xf1\xc7\x1c\xaf\x07\xaf\x2c\x7c\
\x56\x1e\xf2\xd1\x6a\xdc\x36\xa2\xdf\x7f\xaa\x80\xc4\x6f\x4f\x43\
\xe5\x9d\xd7\xc6\xf2\x72\x45\x64\xad\x85\x84\xbb\xfe\x9c\x44\x85\
\x9d\x0a\x87\xd3\x67\x29\x75\x2a\x43\xdf\xa5\x73\xe4\x55\xf8\x57\
\x12\xc0\xaf\xf8\x7a\x80\xae\x62\xed\xa2\xd5\x19\xc0\x91\x5f\x6d\
\xaf\x09\x07\xd3\xa7\x72\x8e\x65\x2e\xb4\x2a\x7e\x8c\x21\x5a\x23\
\x1c\xcb\x98\xcf\xcf\xd7\x3f\xa8\x19\xdf\x93\xc7\x5e\xf1\x9b\x79\
\x96\x97\x43\x19\x0d\xf9\xfa\x8a\x3b\x7b\xcf\x14\x90\xf8\x3c\xf1\
\x9b\x75\xaa\x27\x2f\xd3\x51\x2c\x5b\x76\xe2\x47\xdd\xde\xa8\xd4\
\xa7\x1a\xaa\x8b\x9c\xcc\xea\xd9\x03\x5f\x0b\xf0\x01\x5b\x24\xd6\
\x40\xbc\x6e\xcb\x82\x86\x85\x03\xf0\xc2\x0e\x65\x4c\xe3\x44\x64\
\xad\x82\xb3\x77\x5c\x15\x62\x34\xb8\x19\x60\x6a\xf5\xb1\x2a\x8e\
\x65\xce\xe5\xe7\xa3\x73\xd3\x86\x4c\xf6\x88\x4f\xaf\x63\xe1\x8b\
\x38\xeb\xf2\xb9\xec\x91\x62\xd1\xe6\x2b\x05\x18\xfa\x83\xbe\xda\
\x5e\x8b\x97\xe7\x70\xc6\x4c\x0c\xfd\x5e\x2a\xe1\xf5\x26\x08\xcb\
\x98\xad\xd4\xa7\x4c\xc0\xf5\x3f\xf2\xbc\xf5\xd3\x70\x51\x24\x80\
\xbf\x22\x9f\xd9\xf6\xe8\x18\x8e\x00\x96\x9e\x1d\x80\x05\x9b\xce\
\x39\x73\x67\x13\x8a\xb9\xcd\x4c\x78\x63\x13\xc4\x6a\x30\x37\xc0\
\x3c\x7e\xbe\x01\x41\xcd\xf9\x6e\x5c\xb6\x8a\x3f\xea\x58\x1d\xfe\
\xba\x36\xd1\xfa\x27\x88\xb1\x6c\xf9\x02\x7b\xfa\x05\xb3\xfe\xaa\
\xce\x65\x60\xf7\x8d\xf1\xbc\x3c\xd1\xb7\x37\xa0\xc8\x7e\x02\xbd\
\x09\xa2\xb1\xf5\xcb\x75\xa9\x86\x0c\x94\x97\x7d\x3f\x41\xe6\x12\
\xf5\x46\x8b\x5e\x3f\xb2\x2d\x59\x76\x62\xb7\xe8\x55\x2b\x47\x32\
\x67\xc0\xd1\xcc\xd9\x16\xc5\x8f\xe5\xb8\x19\x73\xd7\x5d\xc7\xf1\
\xac\xf9\xfc\x9c\xdf\xa3\x01\x68\x2b\x36\x5b\xc5\xff\xe5\x68\x2d\
\x78\x79\x61\x51\xb9\xef\xff\x59\x2c\xe0\x2c\x56\x40\xe2\xf7\x7d\
\x69\xc1\x73\x20\xd7\xcf\xa9\xac\x65\x2a\xf1\xfd\x20\x89\xe3\x6f\
\xe2\x9e\x3f\x1a\xff\x2f\x7e\xac\x9a\x0d\x49\x43\xf3\x34\xf3\x37\
\x48\x00\xbf\x47\x2a\xdb\x96\x2f\xe1\x85\x85\x65\xce\xe4\x9c\xcc\
\x5a\x2c\x0c\xb0\x0d\x85\xdd\x26\x44\x37\x42\x6b\x80\x38\x8e\xbb\
\xc4\x5d\x89\x13\x59\x8b\xf8\x39\x7f\xd8\xdb\x82\xef\xc3\x67\xab\
\xf8\x9d\x03\xaa\x48\x0b\x3a\x19\x9b\x88\x74\x11\x63\xfe\x82\x98\
\xed\xe3\xfb\x20\xfd\x1d\xf3\x03\x2f\x47\x78\x16\xf5\xfb\x3b\x84\
\xe8\x06\xe2\xf3\xd6\xbf\x5e\xa9\x4b\x35\xb5\x37\x56\xb2\xfb\x86\
\x4e\x4e\xe0\x4f\x09\xd9\x95\x00\xce\x66\x9f\x57\x75\x2e\x0b\x47\
\xb3\x66\x71\xa2\xee\xac\xc6\xd6\x8b\xc2\xdf\x75\x35\xc0\x8d\x13\
\xa7\xc3\xdd\x90\xd3\xb7\x57\xf2\x73\x4e\x3c\xd6\x05\xde\x5b\x57\
\xc2\x26\xf1\x47\x84\x7d\x0c\xd5\xd7\xbf\x26\xbb\x98\xfa\xfe\x4f\
\x59\x41\x3c\x02\x2d\xc4\xa7\x6b\xa7\x32\x1c\xcb\xfa\x13\x12\xef\
\xa1\xf8\xf7\xfc\x0c\xf0\x57\x38\x8e\xc7\xc9\x75\x29\xf3\x4b\x68\
\xbb\x5c\xef\x07\x68\x6d\xfd\x1f\x85\x7e\x32\x18\x4f\x00\x1b\xb0\
\x95\xb6\x27\x80\xb3\xd8\x77\x9f\xbb\xd6\xc0\x02\x3a\x71\xa2\xee\
\x38\x63\x0e\xb0\x5e\xc5\x5a\x88\xbc\xb3\xc2\x8c\x95\xf8\xf3\x0d\
\x56\x8d\x10\x8d\xdf\xa5\x73\x2e\x8f\xfd\x11\x4a\x2f\x7b\xd1\x26\
\xf1\x87\x1d\xf9\x50\x4a\xfe\x6a\xb0\x15\x62\xd2\xa7\x72\xbe\xf7\
\xfd\x2a\xf1\xe9\xfa\x8f\x67\xfd\xc5\xcb\x63\x2c\xbe\x1f\x24\x73\
\xfc\x39\x31\x77\x5d\x94\xba\x24\xe8\x91\xf1\x97\x16\x38\x66\x7a\
\x97\xce\x41\x53\xc5\x24\x34\xb5\x74\xfe\x38\x98\xbc\x63\x08\xf5\
\xfb\x34\x59\xd6\x81\x05\x32\xe9\x31\xb7\x46\x62\xbe\xc4\xea\x08\
\x60\xea\xc0\xbd\xad\x20\xfc\xf6\x6c\xbb\x88\xbc\xb3\x1c\xe2\xef\
\xb9\x09\xdc\x0d\x89\xbd\xbb\x95\x1f\x4b\xb7\x4a\xe9\x42\xc7\x1c\
\x6b\x68\x55\xfc\x0e\xbb\x2a\xc9\xe1\x9f\x56\xf4\x7e\xc1\xf2\x6d\
\xdf\x3b\xad\xf8\x5f\x7b\xd7\xe1\xd7\x7e\xe2\xf6\x1c\x88\x47\xf1\
\x93\xef\xf9\x0a\xa1\xcd\xf1\xd7\x11\x8d\x8d\x48\xae\xa7\x49\xc7\
\xbb\xe6\xba\xf5\xf3\xc5\x9d\x24\x34\x3d\xc8\x4a\x42\xd3\xdd\x50\
\x5a\xfc\x2a\x4d\x8d\x3b\x31\xd3\x93\xcc\x93\xc4\x54\xf9\x77\x62\
\x06\xf0\x39\x9b\x56\x01\xcd\x8d\xec\x8b\x05\xfd\xd3\x2e\x4e\xde\
\x9e\xa7\x32\x80\x64\x82\x04\x03\x4e\xde\x9e\xcf\x8f\x7f\x17\xbb\
\x99\x2e\x01\xef\x99\xc4\x3f\xa6\x17\x9f\x36\x67\xa8\xb7\xb5\xa4\
\x1c\xfe\xe9\x6e\x5f\x4d\xdb\x0a\xe1\x58\xf1\x27\x1f\xef\x26\xca\
\x38\x17\xfb\x7c\x59\x7c\x5f\x9d\x09\x52\x34\xf8\x6b\xa0\x06\x22\
\xd7\xd5\xd7\xde\x75\xf9\xcd\x99\xec\x1e\xeb\xb2\x3a\xae\x37\x3d\
\xcf\x38\x4d\xe4\x46\x63\xc5\x50\x8f\x9e\x6d\xfc\x51\x88\xde\x45\
\x4c\x96\xd5\xb1\x7d\x25\xb0\x13\x4b\x5e\x15\x37\x18\x4e\xde\xf9\
\x4b\x03\xfd\x8c\x2a\xe2\xc7\x7d\xad\xa1\xce\xa6\xca\x5c\xc0\xb9\
\x91\xdf\x69\x8e\x89\xbb\xb7\x05\x45\x76\x33\x14\x5e\xc2\x03\xa2\
\xef\xae\xe6\xc7\x8e\x3a\xd4\x1e\x3e\xdc\x58\x52\x11\xff\x57\x03\
\xf1\x69\x67\x8e\xb2\xcb\x8b\x01\x6b\xca\xb6\x89\xf5\xfc\x15\xf2\
\x2d\xf9\x93\x56\x3f\xa7\x4e\xc1\x32\xd3\xf5\x9e\xba\x33\x8f\x97\
\x21\xf9\xbe\x2f\x27\x85\xe3\x67\x05\x7f\x85\xe4\xfb\x3e\x70\xfa\
\xce\x62\xa5\xae\xbe\xde\x91\x33\x13\xf0\x95\xbd\x52\x44\xa4\xc9\
\xb0\x11\xa2\x5b\xec\xc8\xa4\xc7\xd5\x3f\x13\x8d\xa4\xaa\xa8\xab\
\x32\xa2\xdf\x7f\xd1\xf6\x1b\x65\x18\x5a\x06\xa1\xc8\xbd\x76\x35\
\x46\xa1\xab\xf0\xfe\x8a\x7e\x46\x3b\x70\xd6\xda\x54\x8e\x6f\xa1\
\xfe\xd3\x81\xc6\x40\x6f\xfe\xa0\xe3\x4e\xdd\x99\xab\x70\xf6\xee\
\x1a\x45\xec\x44\x1d\x1e\x9c\xf8\x7b\xdb\xf8\xb1\xf4\x98\x33\x9d\
\x77\xe0\x81\x8f\xb8\xf8\x23\x51\xfc\xe1\x28\xfe\xcf\x28\xfe\x90\
\xc3\xef\x2b\x7b\xf2\xf0\xfe\x5f\x9a\xc5\x6a\x63\x5b\x12\xe3\x98\
\x71\x3e\x95\x7b\x5e\x64\x3f\x7e\xad\xa7\xef\x2c\xe4\x65\x48\x51\
\x84\xb7\x5d\xfc\x73\x2a\x92\xef\x7b\x43\xc4\x9d\xf9\x4a\x7d\x7d\
\xb3\xa3\x9e\xdd\x26\xe0\xad\x5f\x1a\x0e\x53\x42\xdc\x4c\x2c\xee\
\x28\x2d\xba\xc6\x97\x44\x84\xcc\x45\x23\x71\x62\x69\xb4\x23\x55\
\x27\xff\xda\x7c\xbf\xba\x79\xd1\x5d\x60\x5d\xca\x77\xb0\x26\xf9\
\x5b\x58\x9d\xd4\x9b\xbf\xd4\x80\x5e\x69\xf2\xed\x9e\x7a\xd0\xcc\
\xed\x03\x88\xb8\x3b\x4f\xe1\xf4\x5d\xac\xa8\xfb\xee\xd9\xe0\xc1\
\x89\xbe\xb7\x82\x1f\x4f\x15\x50\x63\xc3\xeb\x3a\xf1\x07\xa3\xf8\
\x3f\xa2\xf8\x3f\x84\xbe\x2b\xcf\x62\xd1\xfd\xfe\x86\xb6\xdd\xc6\
\xcc\xf5\xf4\x6e\x50\x35\xe7\x37\x61\xdb\xb9\x51\xfc\x1a\xa3\xef\
\x2e\xe3\xc2\x69\xc5\xd7\x9a\xe0\x9c\x0e\x21\xfa\x3f\x7a\x92\xee\
\x7b\x62\x3d\x2d\x50\xea\xcc\x1e\x13\xa8\x5a\x3f\xdd\x05\xed\x91\
\x37\x11\x51\x6c\xf8\x48\x1b\x1e\xd2\xb6\xa5\x46\xe2\xff\x1d\xdf\
\x95\xbf\xca\xed\xcd\x65\xaf\x61\x61\xe6\x6b\x88\xbf\xbf\x59\x23\
\x7a\x92\x82\x87\x42\xe2\x7d\x37\x88\xc4\x4a\xd8\x75\x75\x02\x8f\
\x30\x9d\x70\x9c\x6f\x24\x7e\xb7\x3d\x15\x65\x03\x50\xff\xff\x61\
\x9e\xde\xf2\x95\x9e\x81\x48\x6d\x8f\x82\x1c\x4c\x9b\xc9\xcb\x12\
\x73\x6f\x0d\x0a\xec\x83\x62\xfa\x1a\xe0\x67\x05\x7f\x1d\xe7\xff\
\x91\x48\xb8\xbf\x55\x53\x67\xed\x6d\x34\x81\xaa\xf5\xff\x22\xb2\
\xfa\x97\xf3\xa2\x2a\xca\xb2\x52\x98\x76\x8d\x67\x97\x68\xfb\xd5\
\x25\xb1\xdd\x75\xe2\x2f\x89\xeb\xcc\xdf\x64\x49\xe2\x04\x5c\x9b\
\x00\x91\xf7\x16\x28\x9c\xbd\xbf\x12\x92\xfe\x71\x37\xc3\x43\x47\
\xfc\xfd\x4d\xfc\xf8\xdf\x0e\x77\xe0\xb3\x7c\x3f\x1c\xa8\x8e\xe2\
\x57\x57\xc4\x1f\x70\xe0\x1d\x68\xe3\x5b\x56\x9e\xc6\xa4\x7d\x6f\
\xdf\xc9\x93\xfe\x5f\xbc\xb1\x9c\x8c\xb8\x30\x7a\x00\xbf\xa6\xe8\
\x7b\x4b\xd0\xa8\xae\xd8\x62\x7d\x54\xf8\x1a\xe0\x67\xc8\x79\x8e\
\x7f\xb6\xc4\xde\x5f\xa3\xa9\xb7\xba\x2e\x55\xb2\xbd\x29\x64\xd6\
\xfa\x7b\x8a\xd0\x9f\x27\xc3\x61\x0a\xb3\x1f\xb3\x12\x58\xe9\x63\
\x58\x62\xf9\x15\xc5\x61\x61\x4c\x67\x9d\xf8\xf4\x52\x63\xba\xa5\
\x3b\xfd\x44\x2f\x88\xba\xb7\x50\x21\xfa\xde\x62\x14\xd8\x8d\x0b\
\x9f\x8c\x42\x67\x47\xec\x7d\x67\xfe\x9d\xf6\x3b\xea\xc3\x1b\x4b\
\x9e\x83\x7e\x21\x55\x15\xf1\xfb\xed\xaf\x0c\x5f\xf8\x94\x91\x86\
\x3a\x8c\xf5\x67\x8c\x6f\x7a\xe4\x68\xf1\x87\x53\xab\x6f\xee\xf6\
\x21\x1c\x4e\x77\xe2\xd7\x12\x77\x7f\x1d\xa4\xfc\xe3\x6d\x28\xfc\
\x79\x0d\x7e\x56\xb0\x24\xfe\x4e\x8c\x80\xdb\x34\x75\x46\x75\x98\
\x5d\x04\xa0\x21\x23\x5f\xd2\x25\x65\xfe\x79\xda\xfa\x99\x68\x65\
\x2f\x8a\xa5\xc3\xdd\xd8\x10\x76\x8c\xd6\xee\xd3\xcb\x16\xd4\xe2\
\xd3\xfb\xed\xdb\xfb\xbd\x0f\xcd\xdd\x3f\x84\x33\xf7\x17\x69\x88\
\xbf\xbf\x1e\x05\xc6\xa4\x89\xe3\x61\x01\x4f\x4e\xec\xfd\xd5\xfc\
\x3b\xff\xf5\xf9\x04\x5e\x5f\xf2\x2c\xf4\x09\xae\xc4\xc5\xef\x1b\
\xf2\x36\xfe\xbd\x82\xdc\x05\x90\xe3\xdf\x72\x70\x86\x9f\xf8\xde\
\x9a\xb7\x60\x5d\xc2\x30\xfe\xfb\x63\x31\x72\x25\xa3\x71\xcf\x3f\
\xf0\x51\xe1\x6b\x91\x0b\x1c\x3f\x0b\xf8\x5b\x60\x27\x36\x8c\x6d\
\x9a\xba\xea\x13\xd0\xd4\x6a\xf8\xe7\x8f\x74\x49\x8b\x5f\x69\x5c\
\xdf\x5d\x34\x86\x3c\x9d\x0c\xa3\x5b\xac\xcf\x8b\xe1\x44\x07\x1c\
\x68\x04\xd0\xab\x5b\xe9\x8d\xde\xb2\xf8\x73\xce\xb4\x83\x71\xc7\
\x9b\xc1\xcb\x18\x3a\xe9\x56\xe7\xd9\xfb\x8b\x15\x62\xee\xff\x6d\
\x55\xfc\x73\x2a\xe2\x30\x12\xd0\xf7\xc8\x04\xb4\xed\x7a\xb3\xed\
\xa5\xb8\xf8\xbd\x82\xcb\x49\x06\x28\xc9\x06\x8a\xf9\xff\xdc\x86\
\x7a\x6a\xf1\x89\x6f\x2e\x7b\x1d\x66\x9e\xe8\x2d\xae\x75\x19\x8a\
\xb2\xc5\x4c\x78\x89\x0b\x1c\x5f\x0b\xd8\x26\xfe\x45\x15\xf1\xff\
\xac\xd3\xd4\x13\x95\xd7\x9a\xf8\xfc\x6e\x1e\xcd\xec\x95\x63\x4b\
\xc4\x8d\xb0\xfa\x79\x9e\x0c\xab\x4c\xf0\xac\x70\xdb\x57\x98\x22\
\xb9\x90\x09\x7a\xec\xae\xc5\xc5\xff\x33\xfa\x2b\x70\x8a\xfe\x12\
\x2a\xad\x7e\x0d\x66\x9e\xec\x03\x31\xff\x2c\xd1\x90\xfc\x60\x2b\
\x9c\x7b\xe0\x61\x86\xa7\x45\x12\x1f\x6c\xe4\xdf\x5b\x72\x66\x20\
\x90\x40\xa5\x96\x3d\x0b\x2d\xbc\xdf\x80\x92\x7f\x17\xa5\x9b\x19\
\x8b\x6d\x5b\xca\x64\x31\xb9\x73\x26\x23\xd5\x77\xa9\x0a\xeb\x13\
\x47\xf0\xdf\x13\xf7\x0f\xe6\x2a\x0f\xb6\x08\x91\x8d\xb0\x5d\xf8\
\x8b\x1a\xfc\x0d\x49\xf8\x67\xbd\xa6\x7e\x6c\x11\x5f\x79\x27\xa0\
\x34\x9d\x4b\x7b\x11\x7e\x23\xc6\xf6\xf9\x7a\x23\xec\x19\x11\x7e\
\x5b\xb2\x2f\xd8\x0a\xda\xfe\xb5\x5b\xc0\x47\x5c\xfc\x99\x51\xad\
\xa1\xd3\xce\x1a\x40\xa1\x34\xf6\x9f\xa5\x0a\x49\x0f\x36\x19\x88\
\x6f\x32\xc1\x79\x43\xbc\x20\xe5\x81\x2b\xb6\x92\xd5\x70\x2c\x73\
\x0e\xfc\x1c\xd2\x96\x1b\x81\x47\x80\xb1\x18\xfe\xfa\xf0\x09\x8f\
\x22\x36\x08\xfe\xb9\x68\xe9\x1e\xd4\xbf\xd3\xb5\x8d\x3b\xd2\x19\
\xf6\xde\x98\xca\xaf\x2d\x11\x5b\x61\xca\x03\x37\x14\x6e\x47\xb6\
\xe2\x5f\xcc\x16\x3f\x0b\x18\x8b\x9f\x88\xe2\xab\xeb\xa7\x83\x4f\
\x03\x9b\xc4\xe7\xad\x9f\xca\xff\x2a\xfb\x53\xac\xe7\xb3\x71\x3a\
\xd7\xf1\x9f\x22\x62\xed\x5d\x13\x56\x0b\x03\x12\x9a\xa0\xb6\xcb\
\x9b\x30\x3d\xb2\x25\xd4\xda\x54\x16\xbb\x81\x62\x10\xf7\xe0\x6f\
\x4e\xe2\x83\x75\x70\xfe\xa1\x87\x05\x3c\x2d\xe0\xa5\x21\xe5\xe1\
\x36\x48\x78\xb0\x9a\x9f\x6f\xe9\xd9\x41\xd0\x77\x77\x73\x34\x99\
\xe8\x0e\xa4\x3d\x09\x82\x0c\xe0\x8f\xb0\xd3\x71\x1d\xb1\x82\x9d\
\x4e\x7d\x0b\x7b\x6f\x4e\x13\xd7\xb4\x16\xcf\xb9\x15\x2e\x3c\xdc\
\x0e\x17\x1f\xee\x10\xf8\x58\xc1\xd7\x02\x7e\x1a\x2e\x29\xf8\x1b\
\x92\xf4\x60\x83\x52\x37\x84\xad\xe2\x6b\x5e\x0d\x3b\x9e\x5d\xc4\
\x26\xd8\x5e\x4c\xf6\x14\xd8\x4b\x21\x9f\x16\xf3\xc9\x0d\x70\x40\
\xf6\x1b\x0d\x13\x8b\x2f\x7a\x9e\x8b\xbf\xe3\xd2\x78\x88\x7f\x80\
\x7d\x29\x56\xb4\x25\xe1\x2f\xe8\xf0\xb2\xca\xf9\x87\x98\x47\x3c\
\x74\x41\x01\x9d\xf9\xf9\x09\xfa\x5d\x9b\x92\x7e\xd1\xb1\xef\xe6\
\x74\xe5\x98\xc4\x07\x6b\xb0\x0b\xda\x08\xe7\xd0\x48\xf6\x89\x2e\
\x09\x7f\xc9\x10\x3f\x2b\xe8\xc5\xa7\x6b\x90\xaf\x89\xe8\x68\xa7\
\xf8\x1a\x13\xd0\x4e\x5f\x1d\xd8\x9b\xac\x80\xdf\x0a\x4a\x26\x78\
\x95\xd1\x0e\x13\x23\x58\x08\x89\xef\x73\x79\x3c\x24\x3c\x5c\x0e\
\x49\x0f\x57\x63\x65\x7b\x98\xe1\x69\x01\x93\xc8\x17\x2d\xb2\x5d\
\xc7\x05\x34\xc4\xf9\x87\x38\x3e\xc7\xd6\x4c\xc6\x90\x39\xff\xd0\
\x8d\x73\xf1\x5f\x3c\xee\xdf\x1d\x0a\x97\x74\xf8\x58\xc1\xd7\x02\
\x7e\x3a\x2e\x6b\xf0\xd7\x40\xdf\x49\x79\xb8\x89\xd7\x8b\x4c\x47\
\xdf\x86\xbc\x3f\xcf\xe9\x0d\xa0\x47\xe9\x25\xd1\x4f\x61\x17\xb0\
\xa1\x3a\x86\xda\x93\xb7\x17\x40\xe2\xc3\x15\x28\xbe\x33\x17\xe7\
\x22\x8a\x6e\xc2\xd3\x02\x5e\x36\xa0\x17\xff\xd2\x43\x6f\x1b\xd8\
\xa1\xc5\x0e\x13\x5c\x46\xd1\xb2\xc7\xcf\x02\xfe\x66\xf8\x42\xf2\
\xc3\xb5\xbc\x5e\x64\x3a\x09\xf1\x73\xbb\x00\xe4\xd1\x30\x01\x66\
\xd4\xd5\xd7\x96\x83\x53\x77\x16\x42\xd2\xbf\xab\x20\xf9\x5f\x6c\
\xf9\xff\xba\x62\x8b\x43\xd1\xff\xf5\x34\xc0\xcb\x90\x4b\x1a\xb6\
\x5b\xc0\xdb\x0a\xc6\x22\x5f\xd6\xe0\x63\x81\xec\x05\xa7\x6b\x3f\
\xff\x2f\x46\x9a\x7f\xd7\x73\xa4\xb2\xae\xc1\x9f\x6d\x86\x2b\x28\
\xb4\x31\xd8\xf2\xff\x5d\xc7\x8f\x95\xe9\xe4\xfb\xa9\x43\xc4\x7f\
\x34\x4c\xc0\xc5\x2f\x0f\x11\x77\x16\x61\x41\x57\x23\xce\x58\x51\
\xae\x58\xe9\x9e\x86\x5c\x46\x71\xad\xb3\xdd\x02\xde\x56\x30\x89\
\x7c\xc5\x22\x3e\x16\xf0\x35\xe4\x12\x9a\xf8\xfc\xbf\x1b\x79\xb9\
\xa4\xf2\x19\x73\xe1\x5f\x17\xb8\x8a\x82\xab\xb9\x82\xd1\xe0\x1c\
\x37\x8b\xe9\x38\x47\x8b\xaf\x59\xe7\x37\x95\x1d\x66\xf9\xfa\xa6\
\x70\x14\xbf\x06\x8a\x7f\xfa\xee\x62\x38\x07\xce\x9c\x8b\xb0\x05\
\x2e\x83\xa7\x05\xbc\x6c\x60\x3b\xe7\x8a\x06\x6f\x1b\xd8\x61\x03\
\x3e\x3a\xae\x82\xaf\x0e\x3a\xdf\x45\xd8\x8a\xe5\x59\xa3\x94\xcb\
\x9c\x95\xb1\x43\xa1\xc1\xe6\x6a\xe0\x7f\x65\x92\xf2\xb3\x0b\xb0\
\x49\x9c\x03\x0d\x00\x7e\x70\x1e\xd6\x6b\xbe\xd3\xd9\x2f\x6f\xc4\
\x57\xf6\xfb\xeb\xce\x27\x86\xaa\x8a\xb9\x9a\xfc\x11\x3f\xd2\x66\
\xf1\x73\x66\x04\xfb\xcd\x90\x33\x23\x48\x60\x6e\x01\x9b\x2d\x8a\
\x4e\x1c\x4c\x9b\x0d\xad\x3d\x6a\xf1\x0a\xaf\xbb\xa2\x0e\x94\x58\
\x50\x52\x63\x82\xf3\xb0\x81\x9f\x8b\xfe\xd4\x8a\xff\x59\x9e\x88\
\xcf\x6f\x08\xd1\x50\x58\xba\x23\x38\x4a\xac\x07\x78\x35\xaf\xc5\
\x1f\xfe\xd6\xf2\x37\x34\xe2\x4b\x06\x70\x41\xc1\x3c\x0c\xb0\xdd\
\x14\x97\xc0\x9d\xe3\x38\x43\x58\x37\x05\x5d\xe3\x05\xd8\x98\xad\
\xf0\xc4\xc8\x03\xed\xf9\x10\x57\xb3\x19\xc3\xea\xae\x50\x79\xe1\
\x07\x1a\x13\x98\x93\x0f\xe2\xcb\x6f\x06\x1d\x2c\xa6\x85\xf3\x78\
\x85\xf4\x14\x1c\xf2\x39\xb1\xb4\x39\xa7\xfb\xeb\x0a\x7b\x01\x9d\
\x7f\x09\xdc\xb0\x52\xdd\x05\x1e\x36\x9b\xe2\x12\xb8\x2a\x61\xf7\
\x3c\xac\xc5\x73\xb9\xa0\xa9\xb6\x65\x13\x35\x72\x1f\x25\xa4\x50\
\x9f\xbd\xf0\x54\x4e\x32\x3c\xdd\x9a\x35\x5a\xb9\xdb\x63\xd5\x50\
\xa8\xb4\xe0\x7d\x43\x13\xe4\xa3\xf8\x43\xc4\xa3\x71\xf9\xf2\x72\
\xc8\xe7\x59\x5b\xd6\x0d\x87\x7e\xb7\xa9\x55\x98\x17\xfa\x3c\xac\
\xe3\xc2\x99\x5a\xb3\xbb\x55\x43\x50\xf7\x91\x9d\x08\x74\x4e\xc9\
\x10\x5b\x2d\x44\x88\x9c\x19\x82\xce\x69\x4d\x78\x5a\x74\x61\x6d\
\x03\xa6\xee\x2b\x87\xc0\x47\xf3\x9b\x6b\x4c\xf0\xa4\x8a\xcf\x44\
\x92\x51\x8d\xd5\x63\x7f\xd0\x14\x30\x15\x54\x5f\x81\x6b\x14\xb1\
\x8c\x50\x9b\x82\x92\x27\x6b\xad\xd0\xb2\x29\x36\xe2\xf9\x3c\x72\
\x9c\x4b\x5c\x30\xeb\xab\xa9\x5b\x9b\x78\xb4\xbb\xcd\xc2\xab\xe9\
\xb3\x62\x34\xd4\x9d\xdf\x8e\x9b\xe0\x49\x16\x5f\x5e\x1f\xa0\x79\
\x17\xa0\xb1\x09\x9c\x79\x0b\xa3\x2e\x41\x8b\xc9\x08\xb6\xf4\xbd\
\xd6\x90\x0c\x95\xb3\x91\x06\x75\x35\xea\x04\xef\xdd\xb5\xd2\xb3\
\xf3\xf6\x6e\xba\x2c\xd3\x7b\xf9\x28\x68\x30\xa3\xff\x13\x2d\x7e\
\x0e\x4c\xb0\x81\xf7\xef\x5a\x13\xb8\xf2\x16\xac\x3e\x6e\xc0\xde\
\xc6\x50\x63\x7d\x29\x1e\x7a\xcd\x13\xcc\xec\xc8\xcd\x88\x43\x7d\
\x9e\xad\x29\x63\x1c\x22\x5a\xdf\x39\x0b\xa0\xe7\xdf\xbf\x38\x5e\
\x7c\x5a\x03\x20\xad\x00\x2a\x70\xf1\xed\x36\x01\xb5\xb4\x4b\x3c\
\x2f\x70\xe5\x7f\x1a\x89\x4f\x95\x4f\xf0\xdd\x2b\xd0\xe9\x34\xdc\
\x22\x33\x50\xcb\xcc\xae\x1b\xc8\xf9\x88\xc3\x43\x97\xe5\x3b\x42\
\xac\x6f\xfc\xca\x40\x9f\x3f\xe7\x41\xf7\xa5\x23\x1d\x2b\xbe\xb4\
\xeb\xe9\x64\xb1\x1e\xb2\x51\x41\x8b\x6f\xb7\x09\xa4\xbc\xc0\x45\
\x37\xc1\x22\x8b\x6f\xbe\x8b\x15\x3d\xee\xc4\x67\xb8\xd0\x0c\xd4\
\x27\x93\x21\x48\x24\xf5\xe8\x83\x26\x5b\x72\x32\xe2\x30\x8d\x3a\
\x4c\xd7\x31\xe6\xc8\x97\x0e\x6b\xb1\x64\x82\x5e\xb3\xe7\x40\xb7\
\xc5\xc3\x1d\x29\xfe\x24\xb1\x06\xa0\xbe\x78\x1e\xa2\xc0\xc5\x37\
\x36\xc1\x64\x96\x6a\xd9\x04\xda\x84\xab\xed\xf6\xda\x36\x3d\x0f\
\x4f\xb3\x5d\xf2\x43\x8f\x94\x9c\x51\xb8\x96\x67\xdf\xb2\x4b\x30\
\xb3\x33\x84\xf9\x10\xb0\xcb\xae\x0f\x1c\x1a\xb6\xc9\x04\x3d\x66\
\xfd\x05\x5d\x17\x0d\x73\x94\xf8\xfd\x98\xb4\xaf\xff\x2b\xac\x40\
\xdf\x00\x6a\xcd\x04\x25\xd8\x4f\xb4\x36\x20\x3b\x13\x90\xf8\x1f\
\x6d\xa8\x90\xa3\x5b\xa1\x94\x60\x99\x0c\xe0\x62\x31\xc1\xb4\x66\
\x88\x8b\x66\x43\x40\x7a\xe9\xb3\xa3\x1f\xcb\x26\x13\xb4\x73\x1a\
\x0d\x55\x16\x55\xb6\x2b\xbf\xb0\x20\x7e\xc1\xec\x77\x9c\x03\x13\
\x7c\xcc\x17\x6d\x8e\x67\x17\x8d\x4c\x90\x1b\xf1\xe5\x2d\xce\xd5\
\xd3\xcf\xfa\x51\x46\xf6\x86\xb8\x64\x30\xfc\xa4\x6b\xca\x8b\x7d\
\x79\x28\x62\xf1\x79\xfa\x3f\xd8\x15\x5b\x47\x06\x8f\xab\xf8\x6a\
\x13\xd0\x0a\xd5\xea\xe2\x61\x12\x8d\x09\x72\x2b\xbe\xb9\x01\x2e\
\xf1\xb9\x06\x57\x15\x6e\x36\x20\x99\x40\x7d\xb3\x86\x22\x8a\x23\
\xb7\x66\x21\x33\xf1\xc5\x9b\xf4\x0c\x83\xfc\xd4\xee\x20\x76\xca\
\x9a\x09\x1e\x77\xf1\xcd\x97\x90\x57\x53\x9b\x80\xc4\xa7\x1b\x48\
\x39\x1d\x63\x1b\x1b\x60\x9b\x0a\x57\x03\x64\xd1\xb7\xf1\x3e\x9f\
\x5a\x3d\x09\xaf\x1e\xff\x13\x34\xf9\xe3\xa8\x2d\x58\xf9\x28\x86\
\x44\x94\x56\xee\xd2\xe3\xda\x13\x99\xfc\x88\xf6\x10\x76\xd4\x92\
\x09\x9e\x14\xf1\x2d\x9a\x80\x6e\xa4\xd8\xbb\xa7\x7d\x76\x06\x20\
\x11\x2f\x6a\x0c\x20\xb3\x95\xdf\xd5\x93\xc4\x5e\x97\xed\x6d\x5d\
\x47\x8d\x00\x48\x78\xb1\x30\xe3\x2e\xdf\x9c\x41\x7a\x1f\x21\x3d\
\xae\xfd\x2b\x93\xde\x3b\x5c\x5f\x3c\xcb\xd8\x8e\x0d\x65\x61\xe6\
\xeb\x00\x9f\x34\xf1\x2d\x9a\x20\x37\x6b\xe0\x64\xaa\xae\x29\xa9\
\x9a\x0a\x96\x85\xde\x60\xb3\xd8\x6a\x68\xda\x96\xee\xed\xd7\xdd\
\x52\x26\xc7\xa1\x9e\x0f\x55\x49\x3c\xd3\xeb\x67\x69\xa2\x86\xde\
\x42\x4a\x1b\x32\x7c\x2e\x9e\xa3\x78\x41\x4c\xa1\x97\xe7\xcf\x54\
\xa8\x4c\xf0\xa4\x8a\xaf\x37\x01\xed\x4a\xd5\x07\xc3\x22\xb6\xe0\
\xdc\xec\x86\xd5\x76\xc7\xfb\x76\x89\x4c\x5d\x0f\xf5\xf1\x34\x7f\
\x40\xf3\x08\xb4\x90\x83\xe6\x15\xe8\x3a\x68\x48\x99\xd3\xa9\x5f\
\x25\xd4\x9b\x5a\x3c\x09\xff\xbb\x10\x90\xb6\xaa\x7f\x57\xdc\x9b\
\x2f\x62\xf6\x4c\x85\xc6\x04\x4f\xb2\xf8\xe6\x26\xa0\x0a\xe9\xc8\
\x3e\x62\x73\x31\x39\xba\x9c\xd3\x68\x60\xc9\x00\x34\x63\x48\x42\
\x93\xc8\x94\x73\x90\xd0\xd4\xed\x90\xd0\x24\x16\xb5\x54\x32\x1e\
\x89\x9d\xdb\x28\x44\xdf\x17\x4f\xe6\xce\x52\xb5\x78\x7a\x60\x95\
\x76\xe5\x78\x4f\xac\xd7\xb7\xf4\x16\x52\x93\x09\xba\x31\x2f\x56\
\x83\xad\x7a\x92\xc5\x57\x9b\x80\x9e\x60\xa9\x20\x5a\xc7\x20\xd6\
\x9b\xed\xa5\x16\x40\x33\x7e\xf6\x54\x7e\x63\xb7\x4a\x3c\x6c\x93\
\xd0\x34\x3b\x48\x89\x25\x89\x4c\xe7\x22\xa1\xe9\xc1\x49\x12\x9a\
\xc2\x73\x1e\x6f\xb7\x4e\xef\xdb\xf9\x3f\x31\x3b\xd7\x42\x44\xb9\
\xd7\x99\x6d\xaf\x9f\x95\x4d\xd0\x46\x4c\xed\xf6\x79\x92\xc5\x37\
\x7f\xa2\xe8\x0d\x51\xd8\xae\x3c\x1a\x60\x4b\x22\xe1\xac\x89\x45\
\x99\xb3\xb2\xed\x99\xe8\x46\x1c\xf5\xf6\x8c\x1c\xed\xb6\x29\xbd\
\x6f\x67\xa0\x28\x4b\x71\x66\xff\x7b\x87\xe9\x78\x7a\xb0\xa3\xa6\
\x30\xcf\x13\x2f\xbe\x7a\xae\xa0\x98\x48\x8e\x5a\x62\x9b\xf9\x05\
\x83\xe7\xa1\xec\xa2\x01\x85\x5c\x2e\xfe\x20\x16\x81\x69\x95\x07\
\x99\xc6\x11\x09\x65\xae\x56\xe1\x76\x62\xfe\x78\xfd\xf4\xe2\xe5\
\xd2\xb9\x6c\x10\xcf\x8b\x04\xf1\x7f\x42\x7c\xa3\x68\x40\x5b\x96\
\xf5\x64\x0d\xd9\x72\x39\x1a\xa8\xc7\xc9\xca\xaa\x57\xe9\x8d\x20\
\x33\x44\xd8\x1d\xcb\x7a\xb1\x7d\x94\x40\x51\xc8\xcf\xab\x1d\x36\
\xb3\x4d\x00\x1b\xf0\x8d\x2a\xf3\x7f\x9f\xc2\x27\x30\x1a\xd0\x10\
\x89\xb6\x7b\xf9\x12\xa3\xc1\x28\x39\x1a\x50\x3f\x6b\xb6\x08\x42\
\x7e\xe3\xb7\xbc\x05\x5a\x4f\xf6\x36\x1a\x62\x34\x4b\xa2\x6c\x3e\
\xb7\x13\x4c\x76\xbf\x71\xb3\x38\x37\x62\x63\x96\x87\x3b\x73\xfc\
\xaf\x7c\xfe\x23\xfa\xc3\x52\x62\xc2\xa4\x17\x76\x0c\xeb\xe8\xd6\
\xb2\xd9\x22\x88\x61\x42\xf8\x0a\xa2\xd5\x55\x16\xc9\xd7\xf7\xfc\
\xfd\xb7\x78\xac\x2d\xb9\x84\x43\x5e\xb8\x24\xbd\x71\x73\xb8\xb8\
\x3b\xf7\x7c\xa1\x84\x8e\x8b\x06\x2f\x8a\x68\xd0\x06\xa3\xc1\x68\
\x94\x7a\x81\x6a\x11\x44\x13\xd1\xdf\x16\x51\x75\x21\xaf\x89\x19\
\xb6\x0e\xf8\xb7\xb1\x18\x3d\x0e\x53\xf4\xc8\xcb\x5d\xb7\xc5\x7e\
\xfb\x34\x02\x18\x2c\x92\xb7\xa7\x0b\xa5\x73\x7c\x34\x20\xa1\x69\
\x1f\xc0\x1e\x02\x4b\x8b\x20\xe4\xe1\x25\x6d\x58\x41\xbb\x62\x7e\
\x8b\x76\x58\x40\xf3\x0c\xd4\x2d\xe4\xd5\x1d\x3e\x34\xda\x11\x31\
\xd3\x57\x91\x15\xf0\x93\xb9\x4f\xea\xe7\x69\xd1\xb7\x56\x10\x58\
\x1b\x22\xc9\xc7\xbf\xcb\xa4\x6d\xd0\x07\xf3\x2c\x1d\x43\x75\x4e\
\xde\xaa\x99\xdd\x04\x10\x1f\x01\xf4\x66\x7b\x99\xb4\xef\x6e\x99\
\x42\xa9\xf2\x36\x1a\x3c\x25\xc4\xfd\x8f\x1d\xd1\xa3\xa4\xe8\x9b\
\xbb\x62\xb7\x30\x9e\x8d\x60\x67\xa8\x5b\xb0\xe7\x46\x14\x09\x4d\
\x49\xa5\x6e\xdb\x75\x9a\xfd\xa3\x7d\x0a\x2b\xf2\x2d\x5a\xbe\x12\
\xa3\x98\xc2\xcf\x23\x3a\xcf\x50\x41\xdc\x8c\xe9\xc7\x5f\x90\x20\
\x86\x98\xea\xb9\x03\x4a\xe8\x0c\x85\x56\xef\xaf\xaf\xdf\x76\x9d\
\x46\x23\xb4\x29\x73\x9e\xee\xcd\x57\xf8\x71\xcc\x3c\x03\xdd\x8c\
\xa9\x8e\x7c\x8d\x19\xc4\x18\x1e\xba\xc5\xbd\x01\xc3\x17\x29\x90\
\xd0\xaf\xb0\xf9\x4c\xbf\xbf\xfe\x28\x31\x0a\x19\xc8\xa4\xdd\xb8\
\xa9\x9b\xa1\x5d\xca\x8a\x16\x56\xf3\xa3\xdf\x8d\x14\x15\x7d\xf5\
\x27\x62\xee\x60\x26\xa6\x94\x1b\x2c\x08\x3d\x5a\x0c\xef\x06\x33\
\xd3\xfe\xfa\x5f\x8a\xd6\x5e\x53\x8c\x50\x68\x0e\xbf\x84\x48\x3e\
\x0b\x13\xc0\xc7\x6c\x88\x59\x85\x49\x6f\xcb\xa6\x3b\x77\x43\xcd\
\x84\x6e\x23\x86\x9a\xb5\xc5\xf0\xae\x22\x33\xed\xaf\xef\x80\x6d\
\xd7\x0b\x3f\x8f\xca\x10\x93\x04\xad\x2a\xe6\x0f\xcc\x85\x7e\x59\
\x4c\xec\x3c\x5d\xd8\xba\x9f\x6c\x23\x14\x11\x5d\x43\xa1\xd0\x85\
\x9f\xc2\x4f\xe1\xa7\xf0\x53\xf8\x29\xfc\x68\x3f\xff\x0f\x1d\xf6\
\x57\xee\x7c\x6e\x76\x4b\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\
\x60\x82\
\x00\x00\x05\xca\
\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\x91\x49\x44\x41\x54\x78\x5e\x8d\x95\x0b\x6c\x54\xc7\
\x15\x86\xbf\x99\xfb\xd8\xf5\x9a\xf5\xda\x06\xf3\x30\x8e\x1d\x13\
\x48\xf3\xb0\xdc\xd0\x84\xf4\x21\x4a\xd4\x9a\x10\x48\x1c\xea\xa4\
\x69\xe2\x84\x20\x28\x88\x47\x53\x09\x0a\x69\x52\x29\xa9\x2a\x48\
\x48\xab\x4a\x81\x54\x51\xc5\x2b\x85\xd0\x16\xb7\x29\xb8\x51\x12\
\x90\x5c\x2b\x34\xcd\x8b\x50\x4a\x95\xb5\xe5\x26\xc6\x50\x82\xed\
\xae\xb7\x36\xf5\xf3\x81\xbd\x8f\xbb\x73\xba\x8a\x56\xb8\x1b\x5a\
\xe8\x2f\xfd\x73\x74\x66\xa4\xf3\xcf\x3f\x47\xa3\xa3\x44\x84\x0c\
\xd8\xb7\x4e\x2d\xfd\x43\x98\x79\x6d\x11\x66\x8e\xc7\xf1\x23\x28\
\x40\x50\x08\xa0\xf2\x72\x29\xbc\xa9\x94\xf8\xd7\x6e\x66\x27\x9a\
\xe6\x55\xbb\xa4\x9b\xab\x41\x44\x3e\xe5\xee\xd5\x3c\xd2\x52\x77\
\xdb\xd0\xa6\x07\x27\x27\xe4\x7f\x20\xe6\x89\x3c\xfd\xed\x42\xf9\
\xdb\x1e\xf5\xaf\x23\x4f\x13\xdd\xfa\x00\x65\x22\xc2\x95\x68\x93\
\x81\xf1\x58\x59\x71\xfb\xbc\xbc\xe2\x93\xed\x74\x75\x75\x60\x3b\
\x01\x3c\x2f\x89\xa0\xd0\xca\x22\x85\xe2\xa7\x5b\x36\x53\x22\xfd\
\x9c\xe9\x20\x77\x74\x90\x84\x5f\xb3\x65\xe7\x0a\xd5\xa5\xe1\x5a\
\x81\x5c\xdb\x66\xff\x9a\x7d\x72\x84\x09\xa0\xc9\x40\x0c\x53\xb1\
\x87\xc0\xeb\xa5\xb3\xa3\x9d\xa6\x70\x33\xe1\x70\x13\xcd\x69\x7e\
\x18\x0e\xf3\xde\xe1\x2d\xcc\xcd\x0f\x53\x3e\xeb\x56\x42\xe5\xdf\
\xf2\xcd\xbe\x63\x63\xa8\xfa\xb1\xdd\x0f\xdd\xfb\x64\xc3\xa6\x65\
\xcf\x9f\xad\x5d\xbb\x3f\x51\x73\x73\xd5\xda\x03\x3b\x96\xa9\xef\
\xfe\xd7\x27\xfa\xf9\x23\x34\xc9\xe9\x6f\xca\x73\x1b\x02\xf2\xe2\
\x8b\x2f\xc8\xea\xd5\xdf\x91\xda\x87\x97\xc9\x3d\xd5\x35\xb2\x70\
\xd1\xbd\xf2\x54\x8d\x92\xc4\xd8\x90\x5c\x8e\xb8\x24\x92\x63\x97\
\xb2\x86\x9f\x2d\x8a\xee\x78\x94\x8d\x99\xba\x13\x0e\x8c\x42\xa5\
\x8c\x61\x4e\x65\x25\xc7\x8e\xd5\xf3\x51\xcb\x31\x22\x1d\x27\x19\
\xe8\x6d\x21\xe0\x6f\xc3\xe7\x0a\x82\x07\x24\x41\x06\xc0\xf4\x83\
\xe9\x25\x3e\x36\x40\xff\x85\x4e\xbc\x94\x07\xc0\xe2\x8d\x8d\x33\
\x5c\x8b\xe5\x4a\x29\x07\x98\xe8\x81\x32\x08\x28\xe6\x55\xe4\x31\
\x9a\xd0\x8c\x8c\xd8\xd8\xb6\x85\x42\x51\x5e\x1e\xe2\xc2\xf1\x0e\
\x14\x49\x60\x0c\x52\x17\x41\x04\x94\x22\x11\x1b\x66\xa0\xaf\x1b\
\x74\x80\xbc\xfc\xa9\x38\x8e\x8f\x50\xf1\x75\x45\x70\x6e\x1a\x10\
\xb9\x24\x20\x1a\x2c\x5b\x31\xa5\xc8\xc7\xdd\x8b\x4b\x89\x5d\x4c\
\x90\xf0\x52\x68\xad\xc8\xc9\xb1\x39\xd1\xec\x64\xec\xa6\x80\x18\
\x68\x0b\xc4\x43\x29\x43\xd2\x8b\xd3\xdc\xf4\x5e\x3a\x5a\x14\x4e\
\x2e\x21\xda\x71\x2e\x09\xe4\x65\x3b\x50\x08\x8e\xc6\xef\x6a\xb4\
\xed\x10\xf0\x6b\x40\xb0\x2d\x85\xdf\x67\xa5\x73\x0b\xcb\xd1\x80\
\x02\xdb\x01\x49\x81\xd1\xd8\x96\xa4\xcf\x40\x52\xe3\xc4\x63\x1e\
\x29\xaf\x88\xd8\x38\x06\xb0\xb2\x04\x04\x40\x2b\x6c\x5b\x61\x05\
\x1c\x94\xd2\x1c\x79\xe3\x0c\xaf\x1d\x6d\x65\x6c\x2c\x46\x57\xeb\
\x10\xbf\x09\xaf\x40\x69\x43\x61\x41\x90\xfb\x6b\xee\x64\xc1\xc2\
\xaf\x60\xeb\x04\xf9\xa1\x00\xe5\xa5\x93\x89\x7b\x3e\x82\xa1\xe9\
\x04\x5c\x3c\xc0\x7c\xd6\x01\x68\xf5\x29\x95\xa3\x89\xb4\x0f\x70\
\xf0\xe8\x38\x0f\x6f\xfe\x0b\xa7\x3a\x83\xcc\x1c\x18\xc6\x32\x2e\
\xae\x11\xe6\x96\x5e\xe0\xd5\xd7\x7f\xc0\x82\x45\x5f\xc4\x76\x85\
\xe0\x24\x07\x9f\x5b\x80\x51\x41\x7c\x39\xd3\xf0\xbb\x18\x20\x99\
\x25\x60\x5b\x08\xd6\xc4\xcf\xc8\x0d\x38\x78\xf1\x51\xfa\x47\x87\
\x69\xe8\x2a\xe4\xa3\xd6\xc9\x24\xfa\xc0\x17\x87\x4d\x4b\x82\x74\
\x76\x9e\x07\x46\x41\x3c\x5c\x3b\x85\x63\x81\x4a\x2f\xb8\xb9\xe9\
\x1c\x03\x98\xac\x8f\xe6\xda\x80\x23\x60\x03\x16\x14\x5c\x13\xe4\
\x89\x75\x33\x78\xfd\x99\x5b\xb8\x2d\xe7\x14\x3a\x07\xd0\x10\x57\
\xe0\x79\x43\x04\x73\x73\xc0\x18\x90\x4c\x10\x00\x05\x80\x12\x00\
\xc8\x72\xb0\xb5\x9e\xca\xfe\xa2\x30\x0f\xdc\x57\xcc\xb4\xb2\x11\
\xa2\xd1\x21\xce\xb6\xf5\x30\xbb\x62\x01\x3d\x6e\x11\xe2\x07\x72\
\x40\x01\x96\x0d\x22\x99\xca\x69\x8a\x08\x00\x64\x22\x64\x0b\xa0\
\x94\x7a\x70\xeb\x81\xdd\xd6\x94\xd9\x9f\xe3\xb9\xfd\x3f\x61\xb8\
\xe7\x38\x45\x25\xb3\x28\xbb\x7d\x2d\xd1\xfb\x56\xf2\xe6\x19\xf0\
\x5c\xc8\x9b\x0a\xf6\x18\xe0\x68\x8c\x11\x10\xc1\xa4\x0c\xc6\x98\
\xcc\xcd\x0d\x1a\xb9\x5c\x00\xe8\xee\x6d\xff\x3b\xd7\x57\xd7\x52\
\xb2\xbd\x91\x9e\x9e\x24\xed\x9e\x43\x63\x2f\x44\xbb\xc1\xe7\x87\
\xbb\x3e\x0f\x37\xfc\xf3\x4f\x78\xbe\x59\xcc\x29\x2f\xa3\xf5\x62\
\x02\x8c\x60\xc4\x20\x69\x02\x99\x98\x0d\x0d\x20\x22\xef\xc6\xde\
\x7c\xbe\xf3\x77\xcb\x2b\x09\x1e\xd9\x85\x52\x31\x86\x05\xf2\x7c\
\xf0\xd5\xc2\x38\x8f\x15\x9f\xe1\xa6\x77\x96\xf3\xf1\x6f\x1f\x67\
\xe0\xed\x27\x88\x45\x1a\x99\xff\xe5\x4a\xc4\x4b\x61\x52\x29\x44\
\x24\xe3\x48\x01\xf6\xa5\x56\x64\x35\xf9\x4b\x37\xd0\x77\x78\xcf\
\x17\x78\xeb\xc0\x8f\x71\x5f\xda\x4c\xcd\x89\xed\xac\x6b\xdf\x47\
\xd5\xc7\xcf\xd2\x73\x68\x25\x47\xeb\x0e\xd2\xd0\x70\x88\x6d\x4f\
\xad\xe0\xb5\x5f\x3d\xc3\xd2\xea\xf9\x24\x93\x1e\x06\x0d\xca\x45\
\xd9\x41\x2c\x77\x0a\xe0\x60\x69\x34\xa0\xb2\x9a\x1c\xf7\x50\xf6\
\x94\x20\x47\xf7\x46\xf8\xf3\x07\xbf\xe0\x83\x0f\xa1\x25\x02\x17\
\xc7\x41\x83\xb7\xe6\x4e\x48\xe1\xd8\xa5\xe5\x25\xd4\xa5\x2f\x50\
\x50\x90\x8f\x88\x83\xe5\x4c\x42\xdb\x79\x58\x6e\x88\xe4\x68\xdc\
\x74\xb7\xbd\x3c\x7a\xea\x3c\x9f\x00\x5e\x96\x03\x01\x0b\xaf\x8d\
\x37\x1a\xe1\x9d\x26\xe8\x1f\x24\x31\x33\x48\xdf\xad\x33\xe8\x9c\
\x3f\x9d\x56\xe3\x31\x60\x8c\x83\x31\x2e\x05\x85\x25\x68\x67\x3a\
\x6e\x70\x0e\xda\x2e\x26\x7a\xba\x69\xe8\xc4\xc1\xc7\xff\xf1\xfb\
\x1f\x95\x9f\xdd\xb2\x79\xd5\x5b\x0d\xcd\xd4\x03\x83\xd9\x23\x73\
\x15\x07\xce\xfd\x11\xd9\xba\x8a\xc1\x9d\xeb\xf9\xa4\x6e\x03\xa7\
\xd7\x57\x51\x7f\xf7\x2d\x6c\xcb\xf7\xb3\x64\x7b\x2d\xef\x4b\x2a\
\x2e\x22\xa3\x22\xa6\x4f\x06\x23\x27\xc7\xff\x5a\xbf\x21\xf2\xea\
\x0f\x4b\xda\x7e\xbd\x9e\xd6\xaa\x1b\xd9\x9e\x6b\xf3\x0d\xe0\x46\
\xa0\x00\xd0\x22\x32\x21\xb0\x6f\x1d\x5f\xdf\xbb\x86\x43\xdf\xbf\
\x87\x5d\xf3\x66\xf1\x64\x51\x90\x25\xc0\x6c\x20\x5f\x44\x78\x79\
\x2d\xbf\x4c\x8c\x74\x49\xdf\xf9\xe3\xb1\xb7\xf7\x2c\xed\x78\xe5\
\x7b\x56\xdb\xe2\x0a\x5e\x2a\x2b\x60\x25\x30\x17\x98\x0e\xe4\x7c\
\x76\x26\x73\xd9\x06\x84\x80\x7c\xc0\xf9\xcf\xfd\x57\x36\xb0\x70\
\xef\x6a\xea\x9f\xbd\x9f\xc3\xf3\xe7\xb0\x2d\xe0\x50\x0d\x5c\x07\
\x4c\xba\xd2\xd0\x57\x99\xa2\xff\x37\x94\x52\x21\xc0\x01\x46\x44\
\x24\xce\x55\xf0\x6f\x03\xe2\xf6\xe2\xcc\x69\x65\x93\x00\x00\x00\
\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x05\x2d\
\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\xf4\x49\x44\x41\x54\x78\x5e\xa5\x96\x4b\x6c\x5c\x57\
\x1d\xc6\x7f\xe7\xdc\xc7\x78\x66\xfc\x9a\xc4\xaf\x3c\x5a\x16\xa1\
\x20\x12\xa8\xda\x80\x84\x28\xdb\x2e\x4a\xbb\x0e\x2c\x50\x14\x60\
\xd7\x05\x48\x48\x25\x8b\xb2\x41\x95\x80\x45\x5a\x09\x51\xd4\x76\
\x55\x44\x53\x15\xd5\x55\x9b\x84\x2a\x02\x16\x55\xa8\x68\x4b\xb1\
\x23\x53\x5c\xda\x18\xbf\x82\xe3\x57\xec\xf1\x8c\x3d\x1e\xcf\xcc\
\x7d\x9c\x73\xfe\x8d\xee\x5c\x09\x5b\x42\x10\x95\xdf\xe6\x7f\x75\
\x75\xf5\xff\xf4\x7d\xdf\xb9\xba\x57\x89\x08\x77\xc3\xa5\x9f\x9e\
\x7e\xd8\x99\xf4\xbc\x73\xe6\x7e\x11\x69\x23\xe2\xf8\x37\xea\x0e\
\xbd\x9e\xef\xbf\x5e\x2a\x86\x4f\x3f\xf2\xa3\xa9\x45\x72\x7c\x72\
\x5e\xf8\x9e\x7a\xd4\x39\xfa\x10\x12\x81\x2f\x20\x00\x08\xc2\x31\
\x11\x06\x0b\x25\xbe\xf1\xf5\x6f\xff\xfc\xd0\xe7\x1f\x3a\x43\xda\
\xde\xc1\x3a\x4b\x86\x73\xa0\x35\x41\xa1\x8f\xcd\xc5\xc9\xc7\xa7\
\xdf\xbc\xf0\x38\xa0\x0e\x08\x3c\xff\x5d\x75\xee\x81\x47\x7f\xf8\
\x6c\xa1\x54\x71\x36\x8d\xd2\xa1\x7b\x4f\x17\x51\x28\x40\x4a\x83\
\xf7\x04\xa5\xca\xbd\x7e\x1a\xb5\xf4\x9f\x5f\x3e\x47\x6a\x22\xee\
\xfb\xf2\xc3\x28\x4c\x66\x42\x10\x6c\x2a\x68\x7f\x80\xd2\xe1\xa3\
\x04\xe5\x43\xfc\xf2\xfb\x9f\x3d\xfb\x83\x67\xe7\x2f\x02\x20\x22\
\xfc\xea\x2c\xd7\xac\x4d\xe4\x3f\x11\x27\x56\x36\x36\xb7\xc4\x8a\
\x48\x75\x63\x55\x5e\xf9\xf1\x09\xb9\x76\xf1\x5b\xb2\x36\xfb\x92\
\xd4\x56\xdf\x90\xea\xd2\x6b\x32\x37\xfd\xa2\xb4\x5b\xdb\x52\xbd\
\xfd\x91\xac\xdd\x78\x55\xde\x7b\xe9\x8c\xbc\xf1\xd4\x17\x9f\x10\
\x11\x34\x80\x38\x8c\x4b\x3b\x80\x80\x44\x20\x06\x30\xd9\x75\xdc\
\xaa\xb2\xb6\xb2\x48\x1c\x25\x0c\x8d\x1c\xe5\xa1\xef\x5c\xa2\x32\
\xfc\x20\xff\x78\xe7\x77\xb4\xdb\x71\xe6\x62\x7b\xbb\xc1\xd6\xd6\
\x16\x43\xa3\x27\x91\xde\x13\x3c\xf0\xd8\x13\x28\xe4\x49\x00\x0d\
\xe4\x46\x0c\x10\x83\x8d\xc0\xc5\x60\x9a\xe0\xa2\x6c\x41\xa7\xbd\
\x47\x75\x63\x1d\x11\x38\xf2\x99\x53\x8c\xdd\xff\x4d\x56\x3f\x7a\
\x9b\xad\x5a\x83\xd4\x18\xb4\xd6\x5c\x1e\xbf\xc0\xcf\x7e\x72\x8e\
\xd9\x8f\xff\x42\x9c\x46\x58\x6b\x07\x94\x52\x15\x4d\x0e\x08\x60\
\xbb\x0e\x5c\xa3\x3b\xb1\x04\xbe\x41\x2b\xc3\x07\x7f\xbf\xce\xd5\
\xab\x6f\xf2\xde\xbb\x7f\xa2\x5e\xdf\x20\x8a\xcd\x9d\xb9\x8b\xb3\
\x8e\x81\xfe\x32\x5f\x39\xfd\x39\xbe\xf6\xd5\x93\x8c\x8e\x0c\x22\
\x62\xb0\x4e\x00\x0a\x3e\x39\x48\x0c\xa8\x3c\x1e\x47\x86\x33\x04\
\x9e\x61\x74\xb8\x4c\xad\x7a\x8b\xcd\xf5\x3a\xde\x91\xa3\x14\x8e\
\xde\x87\xb3\x42\x14\xc5\x24\x69\x82\xd6\x30\x32\x3c\x90\x39\x09\
\x7b\x8a\x94\xfa\x0e\xd3\x57\xf4\x35\xe0\xed\x13\xb0\x60\x5b\x60\
\x77\x41\x97\x40\x12\x70\x6d\x7c\xe0\xd8\xd8\x00\x95\xbe\x53\xa4\
\x56\x51\x28\xf4\xa2\x7d\x0d\x1a\xac\x75\x58\x6b\x33\x17\xce\x39\
\x40\x10\x55\xc8\xee\x81\x70\x50\x40\x59\x90\x0e\xb8\x0e\x5d\x14\
\xa8\x02\x88\x21\xf0\x2d\x03\x7d\x09\xe8\x5e\x08\x0b\x98\xc8\x22\
\xd6\x92\x24\x31\xc6\x18\xac\xb1\x58\x6b\x10\x11\x3c\xdf\x60\x5d\
\x0a\xa8\x83\x2f\x5a\xb6\xd8\xc6\x80\xce\x45\x52\x20\x00\x0c\x48\
\x00\x84\x20\x0a\xcc\x1e\x22\x3e\xa2\xc8\x0a\x8e\xa3\x98\x34\x4d\
\xbb\xcb\x3d\x0f\xb4\x26\xde\xab\xd3\xec\x58\x01\xd0\xe4\xa0\x7d\
\xd0\x01\xd8\x2d\x70\xbb\x40\x01\x70\xdd\xc8\xb0\x5d\x51\xb3\x05\
\x28\xc4\x39\xc4\x48\xb6\x38\x8a\x22\x80\x2c\xa2\x24\x49\x48\x93\
\x04\x71\xa0\xc8\xb0\xfb\x3a\x30\x60\xb6\xbb\xb1\x28\x1f\xcc\x3a\
\xd8\x36\x19\xfe\xa1\xac\x0f\x4c\x13\x82\x10\xa4\x17\x41\x50\x0a\
\x4c\x16\x55\x92\x39\xe8\x29\x16\xb1\x22\x88\x22\x57\xc0\x1d\x3c\
\x45\x4a\x83\x6b\x81\x2e\xe6\x91\xd5\xc0\xab\x40\x34\x0f\xde\x20\
\x78\x7d\xf9\x73\x3e\x22\x8a\x38\x4e\xf1\xfd\x00\xfc\x1e\xd0\x8a\
\x62\xb9\x9f\xca\xd0\x11\x7a\xfb\x07\xf0\xb4\x56\x79\x2e\x39\x08\
\x90\x80\xb9\x05\xce\x81\x3f\x02\x5e\x3f\x60\xc9\x48\x97\xbb\xe2\
\xe1\x29\x04\x85\xf6\x34\x85\x62\x99\xde\xc1\x11\x8a\x77\xa6\xe7\
\x07\x48\xd4\xc0\xd6\x16\x59\x9a\x5f\x66\x72\xa6\x79\x0d\x10\x1f\
\x72\x3b\xb2\x07\xc9\x2c\xe0\xe7\x2e\x7a\xba\x91\xc4\x73\xa0\xca\
\xe0\x95\xba\x51\x89\x41\xab\x90\x20\xec\x61\x74\xe4\x38\x65\x95\
\xd0\xbc\xf9\x21\x8d\xd5\x7f\x92\xb6\xeb\x4c\x7e\xb8\x36\x53\xdb\
\xb5\x33\x17\xc6\x57\x7e\x01\x34\x7d\x0e\x50\x02\xb7\x03\xe1\x18\
\xb4\x26\x41\x85\x79\x37\x4b\x20\x15\x08\x8f\x81\x12\xb4\x36\x48\
\xdc\x64\xe5\xfd\xdf\xe2\x1d\x36\xbc\x7e\x6d\xf9\xf2\x8d\xa5\xf6\
\xbb\xb7\x36\xa2\xe9\x85\xf5\x78\x1e\x68\x02\x2d\x11\x69\xef\xeb\
\xa0\x03\xd2\xca\x4f\x8a\x0f\xa4\xe0\x0f\x01\x7d\x60\x02\x08\x4a\
\xa0\x77\xa1\x38\x84\x17\xa7\xec\xd4\x3b\xcd\xe7\x2f\x5d\x7f\xa6\
\xd5\xb1\xbf\xaf\xef\xd9\x15\xa0\x01\x74\xe4\xe0\x87\x88\x83\x02\
\x66\x07\x82\x31\x88\x17\x21\x1c\x05\xb5\x07\xc5\x13\x10\x7e\x09\
\x3c\x8f\x76\x75\x27\x59\x9b\xba\xd2\xd9\xab\xad\xf0\xc1\x12\x6f\
\x2d\x57\x93\x71\x11\xb9\xc1\x7f\xc1\x27\x07\xd5\x03\xe1\x30\xa4\
\x0d\x28\xdf\x03\x85\x61\x08\xfb\xe9\x54\x37\xd3\xb9\x89\x2b\xb5\
\xb5\x99\xa9\x56\x63\x63\xce\xfc\x71\x22\x99\x6e\xa7\xac\x8f\x4f\
\x32\x0e\xac\x00\xfc\x4f\x01\xa5\x08\x7c\xcf\x41\x78\x18\xda\xbd\
\xec\x35\xe3\x78\xf9\xfa\xdb\x8d\xd9\x77\xae\xee\x34\x6e\x2f\x9b\
\xcb\x93\x4c\x2e\x6c\xf2\xb7\xb5\x6d\x3e\xde\x6a\x71\x33\x8f\xa3\
\x05\x74\xee\x4a\x40\x7b\xac\xc7\xad\x1a\x3d\xc1\x71\xe6\xa7\xae\
\xd4\xe7\xff\xfa\x87\xc6\xee\xed\x59\x73\xfe\xa2\x7b\x6e\xa9\xc6\
\x04\xb0\x0e\xd4\xf3\xe2\x2c\x77\x4d\x2e\x10\x86\xfc\xe6\xd7\xe7\
\xcf\xf6\x20\x1c\x9f\x58\x60\x61\xea\x5f\x4c\xdc\xdc\xe4\xfd\x66\
\xc2\x1c\x50\xcf\x8a\xfb\x94\x1c\xf8\x6d\x51\x4a\x55\x80\x12\xd0\
\x06\x1a\xd9\xe2\xff\x93\x4f\x00\xc2\x30\xec\x24\xf5\x72\x95\x25\
\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x06\xe8\
\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\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x06\x7a\x49\x44\x41\x54\x58\xc3\xed\
\x57\x09\x4c\x54\x57\x14\x1d\x6a\xed\xa6\x4d\x69\x69\xb5\x2e\x15\
\xf7\x1d\xb1\x20\x8a\x0a\x28\x2a\xb2\xa9\x88\xc0\x20\x28\x22\xae\
\xe0\x30\x08\x6e\x6c\x23\x42\x01\xc5\x71\x41\x76\x71\xa1\x0a\x28\
\xe2\x5a\xc0\x0a\x5a\x91\x60\xc0\x15\xad\x88\x68\xcd\x18\xd4\xaa\
\xd4\x5a\xb1\x2e\xe8\x8c\x0a\x9e\x9e\x0f\x3f\x8d\x52\x29\x9a\x9a\
\x36\x69\x9c\xe4\x64\x32\x33\xff\xdd\x73\xef\x39\xf7\xde\xff\x47\
\x02\x40\xf2\x5f\x42\xf2\x36\x81\xff\x65\x02\x66\x52\x85\x91\x99\
\x34\x58\x66\xea\x14\x14\x6f\xea\x18\x98\x66\xea\x18\x90\x3e\xd4\
\x7e\xc1\xaa\x81\xb6\xde\x93\x25\x12\xc9\xc7\x44\x33\xc9\x9b\x7e\
\x0d\x9b\x18\xd2\x97\xc4\x11\xc3\x9c\x17\x17\x7b\x2c\xdc\x7c\x39\
\x60\xf9\xe1\xdb\xa1\xd1\x17\xab\x15\x2b\xae\xa8\x15\xcb\xaf\xa8\
\x03\xa3\xce\x3c\x90\x29\x76\xdf\x1a\x6c\xe7\x97\x6f\x60\x31\x5d\
\xc6\x23\x9f\x10\xef\xbe\x01\xe2\xc5\x96\x24\x4d\x99\x34\x37\x59\
\x15\x91\x50\x76\x37\x3c\x41\x53\x2b\x0f\x07\x26\x2d\x00\xc6\x7a\
\x02\xa3\xa7\x02\x23\xdd\x00\x6b\x77\xc0\x7d\x1e\x10\x16\x5d\xf9\
\xc4\xc2\x75\xc9\xb5\xd6\xba\x7a\x52\x1e\xd7\xf9\xc7\xc4\xd3\x17\
\xa5\x56\x28\x93\xaf\x3e\x0c\x8c\x06\xdc\x02\x49\x24\x03\x4c\xa6\
\x01\x86\x93\x01\x3d\x29\xd0\xdb\x1e\xe8\x66\x4b\x8c\x06\xfa\xd9\
\x00\xd2\x39\xc0\x82\xf0\x22\x75\xaf\xc1\x13\x72\x18\xc6\xe0\xf5\
\x89\x9d\x17\xeb\x12\x8a\x49\xbe\xc9\xaa\x95\x1b\x49\xbc\x06\x70\
\x0d\x02\x2c\xe4\xc0\x50\x56\x6c\x4c\x0c\x64\x12\x83\xbc\x09\x92\
\xe9\x7b\x00\x3d\x5d\x80\x4e\x63\x00\x5d\x0b\x60\x88\x13\x10\x10\
\xa5\x7e\x36\xd0\x56\x56\xc9\x70\x4e\xaf\x45\x3e\x7c\x62\x88\xdc\
\xc6\x23\xaa\x2c\x3c\xbe\xa4\x2a\x3c\x19\x98\xba\x84\x15\xfb\x01\
\x66\x73\x89\xf9\x94\x5b\x01\xd8\x47\x01\x93\xa9\xc6\xd4\x38\x26\
\xc6\xf7\x71\xdf\x50\x11\x5f\xa0\xef\x14\xa0\xab\x1d\x60\xe4\x0c\
\xcc\xa5\x45\xe6\x4e\x01\x77\x19\xd2\xf7\xb5\xaa\x96\x2d\xd9\x71\
\x35\x26\x5d\x53\xeb\x4d\x92\xf1\x01\xf4\x96\xa4\x23\xfc\x01\x9b\
\x08\x92\x92\x70\x7e\x3a\xb0\x7c\x2f\xb0\xbe\x10\xd8\x54\x04\x24\
\xfc\x00\xf8\x6f\xa5\xec\x2b\xa8\x0e\x13\xed\xc3\x5e\x18\xcc\x5e\
\xf0\x5d\xc6\xe4\xbc\xe3\xab\x19\x5a\xf1\x0a\xe4\x0a\x27\xa1\xea\
\xc8\xc4\x92\xaa\x88\x75\x24\x0a\x63\xd5\x24\x1d\x45\xbf\x6d\x22\
\xd9\x6c\x09\xf4\x74\x1b\x10\x7b\x08\xc8\x2a\x03\xb6\x1e\x54\xd5\
\x84\xc4\xee\x51\x7b\x2c\x88\x7b\x18\xb9\x2e\x4f\xb3\xbd\x84\x92\
\x67\x50\x09\x5e\x6b\x4c\x6b\x46\xd1\x2a\x45\x2c\xed\x19\x23\xbf\
\xc7\xf0\x4b\xfe\x1c\x1f\x8e\x86\x31\xbf\xf8\x88\xd0\x7a\x5e\x72\
\x07\xcf\x98\x0b\xb1\x69\x37\x35\xf3\xe9\xb5\x53\x08\x60\x49\x99\
\xad\x59\xb1\x34\x06\x90\xb1\x62\xe5\x01\x60\x57\x29\xb0\xad\x40\
\x55\x33\xc6\x23\xf4\x41\x5f\xd3\x89\x57\x3b\xf4\x1a\x5a\xac\xd3\
\xae\xfb\x4e\x36\xda\xb1\xb5\xbb\x4a\x34\x89\xf9\xb4\x24\x91\x7d\
\x12\x54\x1f\x63\x55\x9a\xfa\x99\x91\xb5\xe7\xed\x3a\x05\x04\xf2\
\xc4\xd4\xb2\xdf\x0d\x2d\x67\x6d\xea\xd2\xdf\x62\xbc\xb8\x28\xb4\
\x98\x58\xf0\x0c\xff\xd4\x8a\xd8\x2d\x9a\x5a\x2f\x25\xbd\xe5\x41\
\x2b\xfa\x69\xbf\x0a\xf0\x48\x61\x15\x39\x40\xca\x31\x20\xfb\xf4\
\x9d\x5a\x59\xe8\x86\x47\x02\xf1\x97\x9d\xf4\xf3\x79\x76\x39\xe1\
\x45\x8c\x63\x3c\x7f\xdf\xc8\xf4\xdf\x32\x4f\x02\x3e\xa9\x4c\x9a\
\x71\x7c\xe3\x81\xc8\xa4\x13\x4f\xba\x1b\x8d\x39\xcf\x6b\xfc\x04\
\x05\x4a\x0b\x8f\x30\xab\x75\xa7\x1f\xe9\x9b\xbb\x65\xe9\x99\xb9\
\xc8\xb9\xc1\xb6\xf9\x45\xe4\x5c\x57\x6e\x06\xa6\xd1\x6f\x3b\xca\
\x6e\xcb\x77\x97\x24\x40\x9e\x09\xac\x2c\x00\xf6\x94\x03\x69\xfb\
\xcb\x9e\x8e\x70\xf6\xbf\xdf\xa1\xb7\x49\x09\x83\xad\x21\x3c\x09\
\x73\xa2\x33\xf1\x59\xff\x11\xee\x16\x5e\x21\x29\xd7\x77\xfd\x48\
\x1b\xb6\x53\x31\x5a\x18\x9f\x45\x05\xdd\x42\x1f\x68\xb7\xea\xb8\
\x9b\xd7\xb8\x08\x0d\x56\x96\xcb\x80\x2b\xf9\xa3\x97\xe2\x94\xda\
\x78\x9c\xef\x85\xf0\xa4\xeb\x1a\x7f\x7a\xeb\xb6\x94\xcb\x84\x72\
\xdb\x0b\x5d\xfd\x2d\x83\xb0\xc1\xd6\x1e\x07\xf2\xca\xd5\xcf\x16\
\x29\xb7\x70\x96\xed\x2b\x3e\x6f\xdf\x63\x5f\x9d\x97\x12\x89\x1d\
\xd1\xf5\xf9\x55\x6b\xe2\xb0\x68\xda\xb2\x0d\xfb\x7f\xcd\x64\x1f\
\x84\x91\x58\xf9\x1d\x10\x9e\x74\xf8\x71\x57\x03\x2b\xa1\xfa\x30\
\xc2\x58\xb0\xe0\xdc\xae\x5c\x60\x4e\x28\x3b\xdb\x07\x70\x5c\x54\
\x5d\xeb\x42\x52\x07\x62\x1c\xbb\x55\x4a\xc9\x66\x6d\x01\x42\xe9\
\x75\x2a\x2b\xc9\x2d\xbb\x53\x3b\x51\xae\xac\xee\xd4\x6f\x44\x29\
\x03\xc4\x10\x33\x89\x21\x44\xeb\x86\xab\x55\xb8\x17\x64\x1c\xbc\
\x58\x9d\xce\xa4\xe3\x38\x11\x69\x07\xef\xd4\x9a\x3b\xf9\xdf\x6f\
\xa1\xdd\x3a\x93\x3f\xbb\x12\x6d\xeb\x12\xd8\xb9\x9f\xbe\x72\xa6\
\x4d\xbc\x00\x53\x8e\x8b\x55\x58\x7d\xd5\x93\xd6\x03\x9e\x94\x6e\
\x29\x3b\x3c\x93\x92\xe7\x9c\xba\x51\x23\x4a\x7e\x92\x87\x95\x84\
\x83\x58\x75\x0b\xe2\x9d\x86\xf7\x06\xa9\x3c\xe6\x42\xf1\x65\x36\
\x28\x7b\x60\xe7\x51\xf5\x33\x47\x2f\x65\xb5\x78\x36\x98\x30\x24\
\x3e\xa8\x4b\x60\x0f\x09\x66\x2b\xeb\x67\x7a\x24\x95\xb0\x67\x87\
\x4f\xa1\xff\x3e\x94\x2c\x92\x33\x9d\x41\xf2\xb5\x59\x27\x9e\x8c\
\x24\x79\xbb\x6e\x03\x8f\xf0\x60\x24\x31\x96\x68\xdf\xd8\x0d\x45\
\x68\xee\xf4\xbc\xb2\xbb\x85\x2a\x20\xff\x02\x30\x2f\x72\x8b\x5a\
\x54\x4d\x48\xdc\x96\xf8\xa2\x6e\xe2\x84\x04\x72\x8a\xd9\x9d\xdc\
\x6c\x76\x4c\xc2\x81\x92\x4f\xe5\x78\x79\xd3\xb3\x10\xf6\x46\xf2\
\x19\x56\x70\xec\x46\x0d\x1b\xb4\x52\xbb\x95\x6e\x8e\xb8\x3c\xac\
\x88\x36\x8d\x91\x0b\xbb\xc3\xc3\x3f\x59\x55\xfe\x0b\x70\xfa\x2a\
\xf7\xc4\xd2\xad\x8f\x44\xdf\x57\x13\x13\x5e\x48\x5c\x48\x20\xef\
\x14\xc7\x8a\xdd\xed\xbe\x11\x98\xc1\xa5\x31\x97\xcd\x16\x4c\x55\
\xa2\x38\x66\x6b\x0a\xea\xc9\xdb\x77\x1f\x54\xc8\xcb\x17\x0a\xd6\
\x8a\xd9\xbf\xbc\x72\xa7\x20\x1d\x26\xb0\xf3\x50\xe9\x4d\x4d\x79\
\x25\xc9\xa3\xb6\x3e\x14\xc9\x85\x7e\x11\xee\x80\xba\x2f\x9c\x15\
\x12\x28\xa2\x44\x71\x5c\x16\x41\x9c\xed\xc5\x6c\xb6\x65\x5c\xa3\
\xd1\xec\xdc\xb5\xdc\x6c\x99\x97\xb8\x52\xb3\x4e\x3e\xee\x3d\x64\
\xc2\x51\x9d\xb6\xdd\x3c\xc5\xec\x1b\x7d\xa0\x60\xbc\x39\x71\x19\
\x45\xb7\x4a\x2a\x34\xb5\xce\xb2\x15\xf7\xba\x19\x5a\x97\x8b\x23\
\xea\x4c\x74\x24\x9a\x37\x3c\x70\xee\xec\xcf\xc0\xc1\x9f\x48\x56\
\x5a\xdf\x6c\x7b\xe8\x5b\x76\x05\xb0\x8f\xf2\x15\xdc\x00\xce\x56\
\x01\xeb\x76\x17\xa9\xfb\x98\x48\x77\xf0\x48\x1f\xe2\xfd\x46\x1e\
\x4a\xec\x42\x13\xf7\x5e\xcb\x3f\x7d\x53\x33\x76\x7a\xc4\xed\xce\
\xfa\xa3\x84\xfd\xb0\x52\xbc\xeb\xfd\x95\x5c\x9c\xd5\x8c\xec\xa2\
\xcb\x9a\xec\xe2\x4b\x4f\xb3\x8a\x54\x35\xd9\x47\x55\x35\x39\xc4\
\xde\x63\xc4\x71\x55\xcd\xf7\x44\xee\x09\x01\x97\x9e\xba\xfa\xae\
\xae\x6a\xa5\xab\xe7\x23\xfa\xaf\xd5\xe0\xf9\xa0\x87\x47\xc0\xfa\
\x8b\xab\xd3\x0a\xab\x0c\x2d\x67\x9e\xfb\xaa\xe7\xe0\x03\xfc\x3a\
\x82\xb0\x17\x65\x6f\xfe\x52\xc9\x0c\x46\xcf\x70\x19\x60\x35\xbb\
\xa0\xdf\xf0\xc9\xe7\xf5\xcc\x5c\x2f\x35\x8a\x61\xae\xaa\x36\x5d\
\x0c\x72\xc4\xb9\xef\xf2\x12\x1b\x9a\x75\x37\xb2\x35\xef\x3d\xd4\
\x71\xe3\x87\x2d\x3f\x8d\xe2\x67\x39\x31\x92\x68\xd7\xd4\xa3\x97\
\xb0\xb9\x06\x88\x8b\x61\x76\x13\x70\x13\x44\x13\x1f\xa5\xb4\x1a\
\xc4\x11\x3e\x6b\x13\x5f\x0b\xf7\x31\xd1\x2a\xed\x57\x79\xee\x6b\
\x26\x26\xd1\x46\x6c\xb0\xbf\x43\x9b\x26\x9e\x6a\xb5\xea\x96\x8b\
\x44\xd2\x92\x78\xef\x25\x49\xfe\xfb\xaf\xb7\xff\x8c\xde\x26\xd0\
\x14\xfe\x00\xc6\x8f\x6d\x5f\x51\xaa\x96\x24\x00\x00\x00\x00\x49\
\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x04\x23\
\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\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\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\x03\xb5\x49\x44\x41\x54\x48\xc7\xb5\
\x96\x4d\x4c\x5c\x55\x14\xc7\x7f\x6f\xbe\x87\x19\xa6\x83\x0c\xb4\
\x60\x1b\x09\x25\x4e\x44\x0c\x56\xa3\x4d\xb4\x8d\x35\x52\x8d\xc6\
\x60\xfd\x58\x10\x83\x2c\x48\x8c\x31\x76\xe1\xae\x6e\x4d\x77\x2e\
\xba\x6b\xba\xa8\xc4\x98\x36\xb3\x6e\x58\xd8\x26\x65\x23\xa6\xb8\
\x80\xa8\x69\x1b\x2d\xa5\x15\xaa\x7c\x07\xda\x0e\xf3\xc1\x9b\xf7\
\xee\xbd\xc7\xc5\x1b\x06\x86\x40\x03\x89\xdc\xc5\x7b\xf7\xde\x97\
\x7b\x7e\xf7\x9c\xff\x39\xf7\x3e\x4b\x44\xd8\xcb\xe6\x63\x8f\x5b\
\x60\xad\xf3\xe2\xa7\xe7\xfb\xf6\xa7\xf6\x7d\x5d\x13\x0e\x44\x98\
\x7d\xf0\x74\xb2\x94\xdd\x99\x05\xf1\x1e\x4b\x89\x03\xca\x57\xdf\
\x38\x5f\x2c\xda\x85\x7f\xa6\x17\x3f\x1b\x1f\x3c\x33\x5e\x05\x38\
\xd0\x90\x38\xf3\xcd\xe7\x6f\xb7\xdf\x99\xce\x92\xbb\x3a\xc5\xcb\
\x77\x7f\xdf\xd5\x4e\x7f\x69\xff\x84\xba\x57\x3b\x9f\xaa\x0d\xfb\
\x19\x1a\xfe\xe3\x7b\xe0\x78\x15\x20\x1a\x0e\x84\xff\x9c\x5e\xe1\
\xee\xcc\x0a\xcb\xbf\xde\xa4\x79\xf4\xda\xae\x00\xbf\x59\x2f\xd0\
\xd8\x90\xc6\x68\x4d\x3c\x12\x4a\xfd\xff\x1a\x08\x18\xad\xd1\xda\
\x20\x5b\x69\xb0\xb9\xc5\x5a\x5a\x78\x77\x6c\x8c\xe2\xec\x2c\x13\
\x17\x2e\x50\xd7\xd9\x49\xc3\xb1\x63\x68\xdb\xe6\xe7\xee\x6e\x5e\
\xcf\x64\xf0\x47\xa3\xe4\x27\x27\xb9\xd1\xd3\x83\x88\xa0\xb5\x41\
\x6b\xbd\x26\xcc\x93\x01\x00\x73\x43\x43\x8c\x9d\x3e\xcd\x6b\x97\
\x2f\x53\x98\x9a\x62\xa4\xb7\x97\x78\x5b\x1b\x87\xfb\xfb\x01\x18\
\xe9\xeb\xa3\xb4\xb4\x54\x76\x40\x30\x46\x7b\x00\xd9\x61\x9a\x36\
\x75\x75\xf1\xc6\xe0\x20\xf7\x2e\x5e\xac\xcc\x15\xa7\xa7\x09\xd7\
\xd7\x03\xd0\x79\xf6\x2c\x87\x4e\x9d\xaa\x84\x48\x29\x8d\x52\x7a\
\xeb\x34\xdd\xce\x83\x1b\x3d\x3d\x1e\xec\xe4\x49\x12\xe9\x34\xf5\
\x47\x8f\xf2\xe8\xd6\x2d\xea\x8e\x1c\x61\xa4\xaf\x0f\x63\xdb\x9e\
\x7d\x91\x0a\x40\x82\x3b\x08\x91\x9b\xcb\x31\x7f\xfd\x7a\x65\xbc\
\x38\x3c\x4c\xe3\x89\x13\xe4\x26\x26\x98\xbc\x74\x89\x50\x32\x89\
\x28\xb5\xae\xb1\x08\x5a\x69\xb4\xd2\x55\x56\xb7\x05\x38\xcb\xcb\
\xdc\x1f\x18\xa8\x8c\xa7\x32\x19\xa6\x32\x99\xca\xf8\xce\xb9\x73\
\xd5\x49\x54\x09\x91\x02\xac\xed\x01\x96\xcf\xc7\xe3\x78\x0a\xc7\
\x1f\xc2\x27\x66\x47\x19\xba\x1a\xaa\xc1\x0e\xd7\x60\x55\x34\x08\
\x3c\x01\x00\xa4\xde\xe9\xe6\x4a\x6b\x1a\xad\x3d\x80\x18\x83\x08\
\x88\xac\xbf\x8d\x08\x62\x04\x63\x04\xf1\xfb\x09\x36\x1d\x44\x29\
\xe5\x01\xc4\xbf\x35\x40\xc4\x5b\x10\x4d\xc4\x89\x3e\xd3\x4a\x2e\
\x57\x44\x8b\x29\x03\xbc\x6f\xc6\x18\x44\x0c\x5a\x7b\x42\x06\x83\
\x01\xc4\x08\x58\x82\x72\x0d\x4a\x29\x84\xd0\x16\x80\x0d\x3b\xba\
\x7d\x73\x9c\xda\x90\xe6\xa3\xe3\x07\xf1\x59\x82\x11\x83\x31\x06\
\xa5\x34\x46\x6b\x94\xd6\x28\x57\x31\xff\x68\x95\xdb\x73\x16\xb5\
\xa9\x7a\x1e\xfc\x3d\x43\x24\x1a\xc6\x75\xd5\xd6\x95\x2c\xe5\x62\
\xd1\xda\xa5\x26\x16\xa5\x39\x29\xbc\x94\xae\xe3\x87\x81\x1f\xb9\
\xfa\xd3\x35\x44\xe0\xcb\xaf\xbe\xe0\xf9\x8e\x76\x1c\xc7\xc1\x29\
\x29\x9a\x12\x7e\xc6\x17\x0c\x87\x0e\x35\x33\xf3\xef\x02\xae\xab\
\x70\x5d\x55\x55\x68\x81\xcd\x99\x60\x8c\x78\xe7\x8a\x31\xd8\x76\
\x89\xb9\xb9\x79\xee\x4d\xdc\x07\xe0\xe1\xf2\x43\x0a\xf9\x3c\x8e\
\xe3\x50\x2a\x95\xb0\xed\x12\x5a\x47\x2b\xe1\xf5\x00\xee\xf6\x85\
\x26\xc6\x60\xb4\xf1\xca\x5e\x1b\x6c\xdb\x2e\xa7\x5d\x39\x5b\xec\
\x55\xf2\xf9\x3c\xb6\x5d\xc2\xb6\x6d\x6c\xdb\xc6\xe8\x70\x79\xad\
\x54\x3c\xd8\x78\x4b\x06\xd6\x17\xbb\x56\x34\xec\x43\x1b\xaf\xd4\
\xb5\xd1\x14\x0b\x05\x0e\xb7\xb5\xf2\x56\xd7\x9b\x18\x63\x88\xc5\
\x62\x64\xb3\x2b\x15\xe3\xab\xab\x36\xda\xa4\xd6\x2b\xd9\x75\x51\
\xae\xaa\xf6\xc0\xb2\x2c\x0b\xb0\x3a\x3e\xf8\xae\x7f\x74\xf4\xaf\
\xc1\xfd\x4d\xa9\x44\x21\x16\x20\x12\x34\x2c\x3c\x76\x79\xb6\xe3\
\x15\x5a\xd2\x9d\xb8\x8e\x8b\xe3\xb8\x64\x6d\x07\xc7\x09\x52\x72\
\x0c\x8e\x82\x64\x3c\x4c\x50\x1c\x52\xc9\x08\xd1\x80\x66\x5f\x2c\
\xa4\x6a\x22\xc1\x49\xcb\xb2\xfc\x80\xb1\x80\x08\xd0\x0c\xc4\x1a\
\x9e\x7b\xaf\xe3\xfd\x0f\x3f\xee\x0d\x05\x03\xc1\x35\xa5\x84\xf5\
\xd3\x57\x36\x8a\xc5\xe6\x39\x6f\xda\x6f\xdc\xb9\x2b\x03\xdf\x9e\
\x5f\x5c\x9c\xc9\x02\xf3\x56\xf9\x44\x8d\x03\x21\xc0\xbf\xa1\xce\
\xad\xdd\x5f\x39\x55\x7d\x07\xc8\x59\x7b\xfd\xdb\xf2\x1f\x88\xe0\
\x23\xf6\xca\xd4\xed\xc7\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\
\x60\x82\
\x00\x00\x04\xca\
\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\x00\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x04\x5c\x49\x44\x41\x54\x48\xc7\xc5\
\x56\x0b\x4c\x5b\x05\x14\xad\x4d\x66\x98\x06\xe2\xe6\x67\x31\x96\
\xb1\xd2\x82\x9b\x08\x1d\x4a\x65\x6d\xdc\x84\x39\x4a\xc9\x02\x59\
\x40\xa8\xa9\x33\x5b\xda\xe1\x30\x8e\xb1\x8d\x35\x08\xc6\x91\x82\
\x43\x9c\x13\xdc\x4f\xc5\xec\x47\x45\xa0\x15\x32\xa9\x02\x29\x43\
\x03\xa3\xed\xa0\xa5\x6f\xb4\xae\x2b\xa5\x19\x6c\xb2\xa8\x2c\xc2\
\x8a\x25\xc6\xd8\x8d\xeb\xbd\xe6\x2d\xa2\xae\x90\x98\xa9\x4d\x4e\
\x5e\xfa\xfa\xee\x3d\xef\x9e\x7b\xce\x7b\xe5\x00\x00\xe7\xdf\x04\
\xe7\x7f\x23\xc0\xcf\x52\x84\x38\x2d\x2d\x6d\x8f\x58\x2c\x7e\x87\
\xcb\xe5\xbe\x81\xdf\x77\x20\xf2\x10\x12\xc4\x32\x04\xf7\x1f\x11\
\xe0\x67\x75\x5c\x5c\x5c\xa1\x56\xab\x6d\xed\xec\xec\x1c\x77\x3a\
\x9d\x37\x7d\x3e\xdf\xac\xcd\x66\xbb\x61\x30\x18\xdc\x25\x25\x25\
\xc6\xd8\xd8\x58\x0d\x4b\x74\xef\x7c\x44\x77\x6a\x2e\x55\xa9\x54\
\x1f\x9b\x4c\x26\x8f\xd7\xeb\x85\x81\x81\x01\xa8\xab\xab\x83\x9a\
\x9a\x1a\xd0\xe9\x74\x30\x38\x38\x08\x2e\x97\x0b\x9a\x9a\x9a\x7c\
\x39\x39\x39\x0d\x78\x7d\x3a\x62\x71\x28\x92\xbf\xdd\x39\x35\xb7\
\x58\xad\xdf\x31\x0c\x03\x25\x6f\x96\xff\x9a\xb9\x43\x33\x9d\x5d\
\x79\x38\xa8\xf8\x50\x0f\x59\xda\xf7\x03\xaf\xec\xaf\x99\x6c\xd0\
\x7f\x16\xc4\x69\x40\x6f\x30\x5c\x97\xcb\xe5\x4d\x58\x97\x12\x8a\
\xe4\x4f\x9a\x93\x2c\x74\xe7\xd4\x7c\xcb\xde\xb2\x1b\xcf\x14\xbf\
\x35\x9c\x74\xb0\xc1\xb7\xa9\xde\xf4\xcb\xe6\x56\x33\x28\x5b\x2d\
\xb3\x09\x07\x9b\x46\x5f\x38\xda\x38\x52\xdf\x71\xd6\xef\x70\x38\
\xa0\xa2\xa2\x62\x94\xc7\xe3\x69\xb1\x5e\x48\x72\xcd\x47\x20\x26\
\xcd\x49\x16\xba\x73\x6a\x2e\x3a\xf0\xc9\x80\xec\x78\x87\x53\x63\
\x72\x4c\x54\x9e\xbb\x38\x53\xd8\xe9\x98\x4e\x39\xdd\x3d\xba\xb2\
\xae\xeb\x7c\x7e\xf3\x59\xb7\xd9\x36\x18\x6c\x69\x69\x81\x8c\x8c\
\x8c\x6e\xac\xcf\x44\x84\xff\x75\x8a\xb9\x04\xd9\x46\xa3\xd1\x45\
\x9a\xcb\x0b\x76\xff\x20\xa8\x3c\x69\xcd\x6b\x30\x5d\xd0\xf4\xb8\
\x5d\x6f\x33\xe3\x9e\x2a\xe6\xdb\xcb\x55\x8e\xab\x57\x76\x5a\x46\
\x2f\x89\xda\x3c\x5f\xc5\xeb\x99\xae\xe3\x3d\xb6\xef\x49\x2a\xa5\
\x52\xe9\xc3\xfa\x22\xc4\xc3\x88\x45\xa1\x08\x5e\x45\x69\xa6\x68\
\xa1\x92\x3d\x15\x23\x31\xef\x36\xf7\xad\x7e\x4e\x05\xcf\xe7\x96\
\xc2\x86\x17\xf7\x41\x6a\x6e\x19\xa4\x2b\xcb\x61\x5d\xf6\xeb\xc0\
\x79\x2c\x0b\x12\x4d\x57\x3a\xf6\x76\x31\x2e\xb7\xdb\x0d\x05\x05\
\x05\xd3\x58\x5f\x85\xe0\x21\xc2\x42\x11\x94\xa0\x15\x6f\x91\x5b\
\x44\xe5\xc7\x98\xc7\x0f\xb7\xf5\x2e\x5e\x91\x09\x4b\x13\x55\xb0\
\x22\x75\x37\x08\x36\x14\xc3\xf2\x94\x5d\x10\x9e\x98\x0f\x9c\xd8\
\x97\xe1\xe9\xde\x89\x2f\xb2\xda\xbf\xe9\x1b\x1e\x1e\x26\x82\x5b\
\x58\x7f\x04\xc1\x47\xdc\x17\x8a\xe0\x35\xbb\xdd\x3e\x45\x56\x4c\
\xdb\x57\x33\xb2\xf2\xd8\x97\x3d\x9c\x47\xe5\xc0\x11\x6e\x06\xce\
\x2a\xf5\x1f\x78\x02\x11\xa7\x86\x24\xf3\xa4\xb1\xcc\xe2\x1b\xf2\
\x78\x3c\xa0\x50\x28\x68\x82\x03\x88\x68\xc4\xfd\xa1\x08\xf2\x28\
\x44\xe4\xf3\x82\xea\x43\x13\x34\x01\xff\xc4\xc5\x7e\xbe\xe1\xc7\
\x7e\xc1\x99\x80\x55\xd0\x16\xb0\x44\x9f\x09\x9c\x17\x1a\x03\x66\
\x71\xff\x4f\x6d\x34\x81\xde\x79\xf9\x1a\x39\x09\xd3\x4e\x3b\x28\
\x5d\x68\x02\x09\x25\x94\x42\x44\x3e\xcf\xfb\x40\x7f\x29\xea\xa8\
\xdd\x1e\x79\xea\x9a\x83\xf7\xa9\x7f\x88\xd7\x3c\xc3\x20\x2e\x08\
\x3e\x0f\x58\x93\x2c\x53\x46\x4d\xff\x18\xe3\x1c\xf6\x06\x6b\x6b\
\x6b\x21\x21\x21\xa1\x17\xeb\xb7\x2e\xb4\x83\x65\x14\x7f\x4a\x28\
\x39\xa3\xbe\xa3\xdb\xaf\x6e\xfc\xda\x13\x53\x3f\x74\x2e\x4a\x37\
\x6e\x8b\x6c\x98\x74\x08\x5a\xa7\xac\xf1\xa6\x09\x13\x35\x6f\x67\
\xdc\x3f\x9b\xcd\x66\x90\xc9\x64\xfe\x88\x88\x88\xd3\x58\xbf\x76\
\x21\x17\x71\x69\x0a\x8a\x3f\x25\x94\x46\x27\x9f\x93\x15\xc9\x2d\
\xb4\x50\xd2\x9c\x64\x71\x7a\xbc\x41\x6a\xae\xde\xb6\x6d\x56\x2a\
\x95\xce\x60\x5d\x3b\x82\xc2\x26\x0a\x99\x03\x96\x84\x1e\x5c\xe9\
\x14\x7f\x4a\x28\x85\x88\xa6\x21\x2b\x92\x5b\x68\xa1\x44\x4c\xb2\
\xe0\x35\x7e\x89\x44\x12\x48\x4e\x4e\x86\xcc\x35\xfc\x99\x5d\x9b\
\x56\x5d\xc7\xda\x9d\x94\xe8\xf9\x08\xb8\xec\x33\x25\x85\xe2\x4f\
\x09\xa5\x10\x91\xcf\xc9\x8a\xe4\x16\x5a\x28\x69\x8e\xb2\x9c\x0a\
\x0b\x0b\x1b\x48\x7d\x32\xea\x66\xd9\xc6\x18\xf8\x68\x7b\x12\x94\
\xbf\x94\x30\x4e\x6e\x9c\x4b\x72\xa7\xa7\xe9\x6d\x12\x21\x1b\xff\
\x22\x36\x44\x47\x58\x2b\x96\xb2\x0b\x5d\x77\x0f\x87\x63\x5d\x1b\
\xb9\x24\x50\xf8\xec\x72\xa8\xce\x8d\x03\x5d\xd1\x1a\xd8\xbf\x35\
\x71\x6c\x2e\x49\xa8\xf7\x01\x97\x95\x2b\x9c\x5d\x1c\x8f\xb5\x60\
\x34\x7b\xe4\xb1\xe7\x45\x48\xd2\xb7\x3e\xfa\xa1\x80\x66\x3d\x1f\
\xde\x53\xc6\x43\x63\xb1\x14\xaa\xd5\x4f\xfd\x4e\xb2\xe0\x2b\x93\
\x25\x5a\x44\xd6\x23\x7f\x53\x88\xd8\x63\x18\x7b\x9e\x7e\x17\x22\
\x49\x67\x1a\x7f\xc9\xd5\x52\x99\x00\x0e\x6d\x11\xc1\x76\xb9\xd0\
\x8d\xe7\x15\x77\xed\x9d\xcc\x92\xb4\xc8\x85\x0f\x8e\x6d\x8c\x7f\
\x84\x9a\xe7\x23\x1e\xb8\xab\x2f\x7d\x76\x67\xa4\xbd\xe2\x76\xf3\
\xff\xe4\x5f\xc5\x6f\x26\x4d\xee\x1d\xf0\xc3\x08\x75\x00\x00\x00\
\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x03\x00\
\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\x00\x04\x67\x41\x4d\x41\x00\x00\xd6\xd8\xd4\x4f\x58\x32\
\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\x92\x49\x44\x41\x54\x48\xc7\xb5\
\x96\x4d\x4b\x54\x51\x1c\xc6\x7f\xe7\xde\x99\x3b\xbe\x0c\x86\x12\
\x96\xa6\x34\x44\x8a\x94\x42\x90\xd9\x62\x10\xfb\x0e\x6d\x6c\x97\
\x50\xab\x56\x2d\xdc\xf6\x2d\xa2\x45\x50\x14\xb8\xa8\x90\x12\x37\
\x51\x1b\xb5\x30\x2b\x2a\xad\xc1\x34\x4c\x57\xa1\xf9\x92\xa2\xce\
\x78\xe7\xde\x7b\xee\x69\x31\x67\x5e\x1a\xbd\xea\x38\x74\xe0\x70\
\x0f\x33\xdc\xe7\x77\xfe\xcf\xff\x65\x46\x28\xa5\xf8\x9f\x2b\x14\
\xf4\xc5\xdd\x3e\x61\x6d\x6e\x12\x4f\xed\xe0\xd4\xd4\xd1\xe9\xd8\
\x18\x4a\x21\xab\x22\xc4\x22\x95\x46\x53\xb5\x25\xe4\xab\x8f\xf2\
\xde\xf0\x67\xc6\x7c\x20\xa5\xef\x59\x7c\xe1\x40\x80\x30\xe9\x6f\
\xe9\xec\xbe\xb1\xb3\xb5\xb6\xde\xd4\xd6\x73\xca\xf3\x95\x81\x74\
\xbd\xda\x93\xad\xb5\xc7\xea\xcf\x44\x2c\x53\xb2\xb8\xd6\xdb\x3c\
\xf8\x89\xab\x02\x7e\x07\x86\xa0\x94\xda\x73\x3f\xb9\x73\x5e\x05\
\xad\xb4\x7e\x2e\xcd\xbe\x54\xbd\xed\x3c\x07\xaa\x82\xf4\x02\x01\
\x8f\xfa\x63\xa9\x20\x40\x62\x3a\xa1\x1c\x99\x39\x7f\x7f\xfb\x50\
\xdd\xea\xe1\x41\x10\xc0\x08\x8a\xcc\xf7\x3d\x2f\x73\xf2\x50\xa4\
\x80\x24\x60\x03\x2e\xd2\xdd\xc6\xd9\x49\x01\xd0\x16\xbf\x4e\xbc\
\xfb\x5c\x1f\x10\x87\xdd\x7a\xa1\x83\xeb\x20\x8d\xc0\x03\x14\xe0\
\x01\x16\xd1\x68\x05\x43\x43\x4f\x59\x59\xd9\xe6\xc2\xe5\x2b\xac\
\x27\x7d\x80\x76\x60\x8e\xa2\x7c\x18\x07\x03\x5c\x14\x2e\xe4\xb6\
\x4d\xf3\xe9\x13\xb4\x9c\x6d\xa0\xb5\xb5\x8e\x8e\x8e\x18\x21\xec\
\xec\x65\xcd\x12\x22\x50\x05\x11\x48\x40\xa1\x10\x08\x14\x61\x33\
\xc4\xa5\xae\x8b\x80\x05\x44\x39\x16\xb5\xd0\x74\x79\x24\x8b\x14\
\x3e\xe2\x1f\xa8\x0b\x08\x20\x0d\xd4\x90\xcd\x56\x49\x8d\x96\x5f\
\x36\x02\x85\xd2\x92\x99\x28\xd0\xd0\xac\xc3\xf2\x28\x80\xbc\x45\
\x00\x42\x23\x44\xb6\x11\xcb\x1d\x15\xf9\xfc\xdb\x45\xd2\x59\xbc\
\x2a\xf8\x44\x94\x63\x51\x5a\x5b\x91\x95\xcc\x98\x94\x91\xf4\xcb\
\x01\x88\x82\x24\x0b\x04\x46\xce\x26\x95\xcb\x84\x2c\xc7\x22\x00\
\x47\x77\xaf\x99\xcb\x42\x7e\x49\x9d\x27\xb7\x20\x5f\x25\x27\xd9\
\xd5\x10\xb3\x28\x2a\x89\xc2\xd0\x1d\xee\x80\x71\x24\x8b\x8c\x1c\
\x40\x10\xce\x95\xa5\x42\xea\x58\x0c\x20\x0c\x54\x53\x11\xae\xc8\
\xbe\x60\x94\x18\x81\xa3\xab\x48\x22\xf0\x01\x1f\x41\x15\x10\x03\
\x8e\xeb\x01\x38\xc7\xea\xea\x46\xe9\x00\x21\x30\xd0\x16\x08\x4c\
\x2d\xd8\x06\x78\x6c\x2d\x8c\x31\xfb\x61\x82\xd1\x91\xf7\xfe\xb3\
\xc1\xaf\xf3\x3f\x37\x99\xd1\x83\x2e\x79\x68\x40\xc4\xaa\x8c\x40\
\xa3\x1e\x92\x0d\xa4\x96\x12\x8c\xbf\xb8\xcd\x9b\xd1\x71\x7f\xe8\
\xf5\xf2\xb7\xa9\x35\x26\x81\x19\xe0\x0b\xf0\x03\x58\xd4\x15\x71\
\x38\x40\x63\x9d\x50\xb0\xc4\xc8\xc0\x63\x86\x07\xee\x3b\xe3\x93\
\x72\x61\x62\x91\x77\x5a\x30\x01\x4c\x03\xcb\x05\xcd\xb0\xb7\x13\
\x41\xff\x2a\xba\x9a\xc5\xb5\xe4\x06\x37\xe7\xb7\xf9\x63\xc3\x28\
\x30\x05\xcc\x03\xbf\xf6\xab\xcb\x5d\x7a\x41\x3f\x99\x3d\x2d\x00\
\x44\x81\xfa\xbd\xe6\xfc\x7e\x80\xc2\xfd\x17\xfb\xc6\x93\x82\x32\
\x2c\x7f\xcc\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\x04\
\x00\x07\x35\xdf\
\x00\x6c\
\x00\x6f\x00\x67\x00\x6f\
\x00\x06\
\x07\x03\x7d\xc3\
\x00\x69\
\x00\x6d\x00\x61\x00\x67\x00\x65\x00\x73\
\x00\x08\
\x05\xe2\x5f\x07\
\x00\x6c\
\x00\x6f\x00\x67\x00\x6f\x00\x2e\x00\x6a\x00\x70\x00\x67\
\x00\x03\
\x00\x00\x7d\xfe\
\x00\x77\
\x00\x69\x00\x6e\
\x00\x03\
\x00\x00\x73\x73\
\x00\x6d\
\x00\x61\x00\x63\
\x00\x0c\
\x06\xc8\x40\x47\
\x00\x65\
\x00\x64\x00\x69\x00\x74\x00\x72\x00\x65\x00\x64\x00\x6f\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0b\
\x0a\x10\x36\x07\
\x00\x65\
\x00\x64\x00\x69\x00\x74\x00\x63\x00\x75\x00\x74\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0c\
\x05\x68\x0e\x67\
\x00\x66\
\x00\x69\x00\x6c\x00\x65\x00\x73\x00\x61\x00\x76\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0c\
\x0b\x21\x0f\x87\
\x00\x66\
\x00\x69\x00\x6c\x00\x65\x00\x6f\x00\x70\x00\x65\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0a\
\x04\x11\x7b\x87\
\x00\x7a\
\x00\x6f\x00\x6f\x00\x6d\x00\x69\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0d\
\x06\x52\xd9\xe7\
\x00\x66\
\x00\x69\x00\x6c\x00\x65\x00\x70\x00\x72\x00\x69\x00\x6e\x00\x74\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x08\
\x0e\xb6\x5a\xc7\
\x00\x65\
\x00\x78\x00\x65\x00\x63\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0d\
\x0d\xc9\x3b\xe7\
\x00\x65\
\x00\x64\x00\x69\x00\x74\x00\x70\x00\x61\x00\x73\x00\x74\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0c\
\x0b\x0e\x42\x07\
\x00\x65\
\x00\x64\x00\x69\x00\x74\x00\x63\x00\x6f\x00\x70\x00\x79\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0c\
\x09\xc8\x40\xc7\
\x00\x65\
\x00\x64\x00\x69\x00\x74\x00\x75\x00\x6e\x00\x64\x00\x6f\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0d\
\x0f\x47\x85\x87\
\x00\x65\
\x00\x78\x00\x70\x00\x6f\x00\x72\x00\x74\x00\x70\x00\x64\x00\x66\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0b\
\x07\xc5\x9b\xc7\
\x00\x7a\
\x00\x6f\x00\x6f\x00\x6d\x00\x6f\x00\x75\x00\x74\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0b\
\x04\x14\x52\xc7\
\x00\x66\
\x00\x69\x00\x6c\x00\x65\x00\x6e\x00\x65\x00\x77\x00\x2e\x00\x70\x00\x6e\x00\x67\
"
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\x01\x00\x00\x00\x05\
\x00\x00\x00\x0e\x00\x02\x00\x00\x00\x01\x00\x00\x00\x03\
\x00\x00\x00\x1c\x00\x02\x00\x00\x00\x01\x00\x00\x00\x04\
\x00\x00\x00\x2e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x00\x1c\x00\x02\x00\x00\x00\x02\x00\x00\x00\x06\
\x00\x00\x00\x50\x00\x02\x00\x00\x00\x0d\x00\x00\x00\x15\
\x00\x00\x00\x44\x00\x02\x00\x00\x00\x0d\x00\x00\x00\x08\
\x00\x00\x00\xd2\x00\x00\x00\x00\x00\x01\x00\x00\x96\x82\
\x00\x00\x01\xba\x00\x00\x00\x00\x00\x01\x00\x00\xe7\x69\
\x00\x00\x00\x96\x00\x00\x00\x00\x00\x01\x00\x00\x8b\x47\
\x00\x00\x00\xec\x00\x00\x00\x00\x00\x01\x00\x00\x9b\x3e\
\x00\x00\x00\x5c\x00\x00\x00\x00\x00\x01\x00\x00\x7c\xdc\
\x00\x00\x01\x9e\x00\x00\x00\x00\x00\x01\x00\x00\xe2\x9b\
\x00\x00\x01\x60\x00\x00\x00\x00\x00\x01\x00\x00\xd7\x88\
\x00\x00\x00\x7a\x00\x00\x00\x00\x00\x01\x00\x00\x83\xdb\
\x00\x00\x01\x42\x00\x00\x00\x00\x00\x01\x00\x00\xd2\x57\
\x00\x00\x00\xb4\x00\x00\x00\x00\x00\x01\x00\x00\x90\x00\
\x00\x00\x01\x22\x00\x00\x00\x00\x00\x01\x00\x00\xcc\x89\
\x00\x00\x01\x0c\x00\x00\x00\x00\x00\x01\x00\x00\xa0\xf2\
\x00\x00\x01\x7e\x00\x00\x00\x00\x00\x01\x00\x00\xde\x74\
\x00\x00\x00\xd2\x00\x00\x00\x00\x00\x01\x00\x00\x1e\x8d\
\x00\x00\x01\xba\x00\x00\x00\x00\x00\x01\x00\x00\x78\x44\
\x00\x00\x00\x96\x00\x00\x00\x00\x00\x01\x00\x00\x11\x57\
\x00\x00\x00\xec\x00\x00\x00\x00\x00\x01\x00\x00\x25\x31\
\x00\x00\x00\x5c\x00\x00\x00\x00\x00\x01\x00\x00\x04\x8f\
\x00\x00\x01\x9e\x00\x00\x00\x00\x00\x01\x00\x00\x71\xc2\
\x00\x00\x01\x60\x00\x00\x00\x00\x00\x01\x00\x00\x66\x29\
\x00\x00\x00\x7a\x00\x00\x00\x00\x00\x01\x00\x00\x0b\x6b\
\x00\x00\x01\x42\x00\x00\x00\x00\x00\x01\x00\x00\x60\x69\
\x00\x00\x00\xb4\x00\x00\x00\x00\x00\x01\x00\x00\x16\x11\
\x00\x00\x01\x22\x00\x00\x00\x00\x00\x01\x00\x00\x58\xf3\
\x00\x00\x01\x0c\x00\x00\x00\x00\x00\x01\x00\x00\x2d\x5c\
\x00\x00\x01\x7e\x00\x00\x00\x00\x00\x01\x00\x00\x6c\xff\
"
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()
| Python |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'yaraeditor.ui'
#
# Created: Tue Feb 26 07:52:45 2013
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_YaraEditor(object):
def setupUi(self, YaraEditor):
YaraEditor.setObjectName(_fromUtf8("YaraEditor"))
YaraEditor.resize(1117, 609)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/logo/images/logo.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
YaraEditor.setWindowIcon(icon)
YaraEditor.setUnifiedTitleAndToolBarOnMac(True)
self.centralwidget = QtGui.QWidget(YaraEditor)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.MainWidget = QtGui.QWidget(self.centralwidget)
self.MainWidget.setObjectName(_fromUtf8("MainWidget"))
self.horizontalLayout = QtGui.QHBoxLayout(self.MainWidget)
self.horizontalLayout.setMargin(0)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.widgetEditor = QtGui.QWidget(self.MainWidget)
self.widgetEditor.setObjectName(_fromUtf8("widgetEditor"))
self.horizontalLayout.addWidget(self.widgetEditor)
self.verticalLayout.addWidget(self.MainWidget)
YaraEditor.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(YaraEditor)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1117, 25))
self.menubar.setObjectName(_fromUtf8("menubar"))
YaraEditor.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(YaraEditor)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
YaraEditor.setStatusBar(self.statusbar)
self.dockWidgetYara = QtGui.QDockWidget(YaraEditor)
self.dockWidgetYara.setMinimumSize(QtCore.QSize(300, 208))
self.dockWidgetYara.setObjectName(_fromUtf8("dockWidgetYara"))
self.dockWidgetContents = QtGui.QWidget()
self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents"))
self.verticalLayout_5 = QtGui.QVBoxLayout(self.dockWidgetContents)
self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
self.widgetYara = QtGui.QWidget(self.dockWidgetContents)
self.widgetYara.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.widgetYara.setObjectName(_fromUtf8("widgetYara"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.widgetYara)
self.verticalLayout_2.setMargin(0)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.label_3 = QtGui.QLabel(self.widgetYara)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.verticalLayout_2.addWidget(self.label_3)
self.pathYara = QtGui.QLineEdit(self.widgetYara)
self.pathYara.setMaximumSize(QtCore.QSize(300, 16777215))
self.pathYara.setReadOnly(False)
self.pathYara.setObjectName(_fromUtf8("pathYara"))
self.verticalLayout_2.addWidget(self.pathYara)
self.yaraTree = QtGui.QTreeView(self.widgetYara)
self.yaraTree.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.yaraTree.setObjectName(_fromUtf8("yaraTree"))
self.verticalLayout_2.addWidget(self.yaraTree)
self.verticalLayout_5.addWidget(self.widgetYara)
self.dockWidgetYara.setWidget(self.dockWidgetContents)
YaraEditor.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidgetYara)
self.dockWidgetMalware = QtGui.QDockWidget(YaraEditor)
self.dockWidgetMalware.setMinimumSize(QtCore.QSize(310, 231))
self.dockWidgetMalware.setObjectName(_fromUtf8("dockWidgetMalware"))
self.dockWidgetContents_2 = QtGui.QWidget()
self.dockWidgetContents_2.setObjectName(_fromUtf8("dockWidgetContents_2"))
self.verticalLayout_4 = QtGui.QVBoxLayout(self.dockWidgetContents_2)
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
self.widgetMalware = QtGui.QWidget(self.dockWidgetContents_2)
self.widgetMalware.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.widgetMalware.setObjectName(_fromUtf8("widgetMalware"))
self.verticalLayout_3 = QtGui.QVBoxLayout(self.widgetMalware)
self.verticalLayout_3.setMargin(0)
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
self.pathMalware = QtGui.QLineEdit(self.widgetMalware)
self.pathMalware.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.pathMalware.setReadOnly(False)
self.pathMalware.setObjectName(_fromUtf8("pathMalware"))
self.verticalLayout_3.addWidget(self.pathMalware)
self.malwareTree = QtGui.QTreeView(self.widgetMalware)
self.malwareTree.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.malwareTree.setObjectName(_fromUtf8("malwareTree"))
self.verticalLayout_3.addWidget(self.malwareTree)
self.verticalLayout_4.addWidget(self.widgetMalware)
self.dockWidgetMalware.setWidget(self.dockWidgetContents_2)
YaraEditor.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.dockWidgetMalware)
self.dockWidgetInspector = QtGui.QDockWidget(YaraEditor)
self.dockWidgetInspector.setObjectName(_fromUtf8("dockWidgetInspector"))
self.dockWidgetContents_4 = QtGui.QWidget()
self.dockWidgetContents_4.setObjectName(_fromUtf8("dockWidgetContents_4"))
self.verticalLayout_6 = QtGui.QVBoxLayout(self.dockWidgetContents_4)
self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
self.tabWidget = QtGui.QTabWidget(self.dockWidgetContents_4)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.tab_properties = QtGui.QWidget()
self.tab_properties.setObjectName(_fromUtf8("tab_properties"))
self.verticalLayout_8 = QtGui.QVBoxLayout(self.tab_properties)
self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
self.treeMalwareProperties = QtGui.QTreeWidget(self.tab_properties)
self.treeMalwareProperties.setObjectName(_fromUtf8("treeMalwareProperties"))
self.verticalLayout_8.addWidget(self.treeMalwareProperties)
self.tabWidget.addTab(self.tab_properties, _fromUtf8(""))
self.tab_strings = QtGui.QWidget()
self.tab_strings.setObjectName(_fromUtf8("tab_strings"))
self.verticalLayout_7 = QtGui.QVBoxLayout(self.tab_strings)
self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
self.tabWidget.addTab(self.tab_strings, _fromUtf8(""))
self.verticalLayout_6.addWidget(self.tabWidget)
self.dockWidgetInspector.setWidget(self.dockWidgetContents_4)
YaraEditor.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.dockWidgetInspector)
self.dockWidget = QtGui.QDockWidget(YaraEditor)
self.dockWidget.setObjectName(_fromUtf8("dockWidget"))
self.dockWidgetContents_3 = QtGui.QWidget()
self.dockWidgetContents_3.setObjectName(_fromUtf8("dockWidgetContents_3"))
self.verticalLayout_9 = QtGui.QVBoxLayout(self.dockWidgetContents_3)
self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
self.outputEdit = QtGui.QTextEdit(self.dockWidgetContents_3)
self.outputEdit.setMinimumSize(QtCore.QSize(0, 100))
self.outputEdit.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.outputEdit.setReadOnly(True)
self.outputEdit.setObjectName(_fromUtf8("outputEdit"))
self.verticalLayout_9.addWidget(self.outputEdit)
self.dockWidget.setWidget(self.dockWidgetContents_3)
YaraEditor.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidget)
self.actionNouveau = QtGui.QAction(YaraEditor)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/images/win/filenew.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
self.actionNouveau.setIcon(icon1)
self.actionNouveau.setObjectName(_fromUtf8("actionNouveau"))
self.actionExit = QtGui.QAction(YaraEditor)
self.actionExit.setObjectName(_fromUtf8("actionExit"))
self.actionEnregistrer = QtGui.QAction(YaraEditor)
self.actionEnregistrer.setObjectName(_fromUtf8("actionEnregistrer"))
self.retranslateUi(YaraEditor)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(YaraEditor)
def retranslateUi(self, YaraEditor):
YaraEditor.setWindowTitle(QtGui.QApplication.translate("YaraEditor", "Yara-Editor", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("YaraEditor", "Yara Browser", None, QtGui.QApplication.UnicodeUTF8))
self.dockWidgetMalware.setWindowTitle(QtGui.QApplication.translate("YaraEditor", "Malware Browser", None, QtGui.QApplication.UnicodeUTF8))
self.dockWidgetInspector.setWindowTitle(QtGui.QApplication.translate("YaraEditor", "Inspector", None, QtGui.QApplication.UnicodeUTF8))
self.treeMalwareProperties.headerItem().setText(0, QtGui.QApplication.translate("YaraEditor", "Name", None, QtGui.QApplication.UnicodeUTF8))
self.treeMalwareProperties.headerItem().setText(1, QtGui.QApplication.translate("YaraEditor", "Value", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_properties), QtGui.QApplication.translate("YaraEditor", "Tab Properties", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_strings), QtGui.QApplication.translate("YaraEditor", "Strings", None, QtGui.QApplication.UnicodeUTF8))
self.actionNouveau.setText(QtGui.QApplication.translate("YaraEditor", "New", None, QtGui.QApplication.UnicodeUTF8))
self.actionNouveau.setShortcut(QtGui.QApplication.translate("YaraEditor", "Ctrl+N", None, QtGui.QApplication.UnicodeUTF8))
self.actionExit.setText(QtGui.QApplication.translate("YaraEditor", "Exit", None, QtGui.QApplication.UnicodeUTF8))
self.actionExit.setShortcut(QtGui.QApplication.translate("YaraEditor", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
self.actionEnregistrer.setText(QtGui.QApplication.translate("YaraEditor", "Save", None, QtGui.QApplication.UnicodeUTF8))
self.actionEnregistrer.setShortcut(QtGui.QApplication.translate("YaraEditor", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
import yaraeditor_rc
| Python |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'rules_generator.ui'
#
# Created: Tue Feb 26 07:52:45 2013
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_DialogGenerator(object):
def setupUi(self, DialogGenerator):
DialogGenerator.setObjectName(_fromUtf8("DialogGenerator"))
DialogGenerator.resize(728, 610)
self.verticalLayout = QtGui.QVBoxLayout(DialogGenerator)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.label = QtGui.QLabel(DialogGenerator)
self.label.setObjectName(_fromUtf8("label"))
self.verticalLayout.addWidget(self.label)
self.label_4 = QtGui.QLabel(DialogGenerator)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.verticalLayout.addWidget(self.label_4)
self.label_5 = QtGui.QLabel(DialogGenerator)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.verticalLayout.addWidget(self.label_5)
self.widget = QtGui.QWidget(DialogGenerator)
self.widget.setObjectName(_fromUtf8("widget"))
self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
self.horizontalLayout.setMargin(0)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.widget_3 = QtGui.QWidget(self.widget)
self.widget_3.setObjectName(_fromUtf8("widget_3"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.widget_3)
self.verticalLayout_2.setMargin(0)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.widget_4 = QtGui.QWidget(self.widget_3)
self.widget_4.setObjectName(_fromUtf8("widget_4"))
self.horizontalLayout_3 = QtGui.QHBoxLayout(self.widget_4)
self.horizontalLayout_3.setMargin(0)
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
self.label_2 = QtGui.QLabel(self.widget_4)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.horizontalLayout_3.addWidget(self.label_2)
self.btnBrowseNewFile = QtGui.QToolButton(self.widget_4)
self.btnBrowseNewFile.setObjectName(_fromUtf8("btnBrowseNewFile"))
self.horizontalLayout_3.addWidget(self.btnBrowseNewFile)
self.verticalLayout_2.addWidget(self.widget_4)
self.listFiles = QtGui.QListWidget(self.widget_3)
self.listFiles.setObjectName(_fromUtf8("listFiles"))
self.verticalLayout_2.addWidget(self.listFiles)
self.horizontalLayout.addWidget(self.widget_3)
self.treeWidget = QtGui.QTreeWidget(self.widget)
self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
self.treeWidget.headerItem().setText(0, _fromUtf8("1"))
self.treeWidget.header().setVisible(False)
self.horizontalLayout.addWidget(self.treeWidget)
self.widget_5 = QtGui.QWidget(self.widget)
self.widget_5.setObjectName(_fromUtf8("widget_5"))
self.verticalLayout_3 = QtGui.QVBoxLayout(self.widget_5)
self.verticalLayout_3.setMargin(0)
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
self.widget_6 = QtGui.QWidget(self.widget_5)
self.widget_6.setObjectName(_fromUtf8("widget_6"))
self.horizontalLayout_4 = QtGui.QHBoxLayout(self.widget_6)
self.horizontalLayout_4.setMargin(0)
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
self.label_3 = QtGui.QLabel(self.widget_6)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.horizontalLayout_4.addWidget(self.label_3)
self.btnBrowseNewFamily = QtGui.QToolButton(self.widget_6)
self.btnBrowseNewFamily.setObjectName(_fromUtf8("btnBrowseNewFamily"))
self.horizontalLayout_4.addWidget(self.btnBrowseNewFamily)
self.verticalLayout_3.addWidget(self.widget_6)
self.listFilesFamily = QtGui.QListWidget(self.widget_5)
self.listFilesFamily.setObjectName(_fromUtf8("listFilesFamily"))
self.verticalLayout_3.addWidget(self.listFilesFamily)
self.horizontalLayout.addWidget(self.widget_5)
self.verticalLayout.addWidget(self.widget)
self.buttonBox = QtGui.QDialogButtonBox(DialogGenerator)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(DialogGenerator)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DialogGenerator.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DialogGenerator.reject)
QtCore.QMetaObject.connectSlotsByName(DialogGenerator)
def retranslateUi(self, DialogGenerator):
DialogGenerator.setWindowTitle(QtGui.QApplication.translate("DialogGenerator", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("DialogGenerator", "1 - Adding elements in the \"Same Family\", the strings will be retained only those that are found in each element.", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setText(QtGui.QApplication.translate("DialogGenerator", "2 - Adding elements in the \"Other Malware\", the strings in these files will not be selected to build the rule.", None, QtGui.QApplication.UnicodeUTF8))
self.label_5.setText(QtGui.QApplication.translate("DialogGenerator", "3 - In the middle part, you can see only the strings used for the detection.", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("DialogGenerator", "Other Malware (False positive)", None, QtGui.QApplication.UnicodeUTF8))
self.btnBrowseNewFile.setText(QtGui.QApplication.translate("DialogGenerator", "...", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("DialogGenerator", "Same Family", None, QtGui.QApplication.UnicodeUTF8))
self.btnBrowseNewFamily.setText(QtGui.QApplication.translate("DialogGenerator", "...", None, QtGui.QApplication.UnicodeUTF8))
| Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Ivan Fontarensky
@license: GNU General Public License 3.0
@contact: ivan.fontarensky_at_gmail.com
"""
__all__ = []
# vim:ts=4:expandtab:sw=4
| Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Ivan Fontarensky
@license: GNU General Public License 3.0
@contact: ivan.fontarensky_at_gmail.com
"""
__all__ = []
# vim:ts=4:expandtab:sw=4
| Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Ivan Fontarensky
@license: GNU General Public License 3.0
@contact: ivan.fontarensky_at_gmail.com
"""
import os
VERSION = "0.1.5"
DEBUG = 1
AUTHOR = "Ivan Fontarensky"
NAME = "yara-editor"
LOG_FILE = "./%s.log" % (NAME)
CONF_PATH = "%s/.yara/%s" % (os.path.expanduser('~'),NAME)
CONF_FILE = "conf"
CONF_LANG = "lang"
CONF_LANG_PATH = "%s/i18n/i18n_en.qm" % (CONF_PATH)
CONF_PREFERENCE = "preference"
CONF_PATH_YARA = "path_yara_rules"
CONF_PATH_MALWARE = "path_malwares"
ERROR_LOADING_CONTROLLEUR = 1
#
# Message in log file
#
MSG_LAUNCH_APPLICATION = "Application start..."
MSG_INFO_READ_CONFIG_FILE = "Reading Configuration"
MSG_ITEM_DELETE = "Item deleted"
MSG_TRY_ITEM_DELETE = "Trying to delete"
MSG_COMPRESSION = "Compressed data with password 'infected'"
MSG_ERROR_WRITTING_CONFIG_FILE = "Error when writing configuration file"
MSG_ERROR_READING_CONFIG_FILE = "Error when reading configuration file"
MSG_ERROR_STOP_APPLICATION = "Error unknow, application stop now "
MSG_INFO_MALWARE_IDENTIFIED = "File identified"
MSG_TRY_ITEM_ADD = "Trying to add"
MSG_ITEM_ADD = "Item added "
MSG_ITEM_SET = "Item setted "
MSG_ORPHELIN = "Orphan detected "
MSG_ERROR_RUN_MODULE_FAILED = "Error during execution of the function run"
MSG_ERROR_REPORT = "Can't read report for this file"
MSG_WARNING_DELETE = "Are you really really sure you want to delete that project ? y@m be careful."
MSG_WARNING_DELETE_CLEAN = "Are you really really sure you want to delete that object ?"
TEMPLATE_YARA="""
rule Generated_Rules
{
meta:
author="Generated by Yara-Editor"
comment="Yara Editor"
strings:
###STRINGS###
condition:
###CONDITION###
}
"""
# vim:ts=4:expandtab:sw=4 | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.