Flask-0.10.1/0000755000076700000240000000000012156555065014004 5ustar mitsuhikostaff00000000000000Flask-0.10.1/artwork/0000755000076700000240000000000012156555065015475 5ustar mitsuhikostaff00000000000000Flask-0.10.1/artwork/.DS_Store0000644000076700000240000001400412051177057017152 0ustar mitsuhikostaff00000000000000Bud1‡NSEIlocblLICENSEIlocblobF(ÿÿÿÿÿÿ logo-full.svgIlocblobÌ(ÿÿ  @€ @€ @€ @ E‡DSDB ` @€ @€ @Flask-0.10.1/artwork/LICENSE0000644000076700000240000000144312156311351016470 0ustar mitsuhikostaff00000000000000Copyright (c) 2010 by Armin Ronacher. Some rights reserved. This logo or a modified version may be used by anyone to refer to the Flask project, but does not indicate endorsement by the project. Redistribution and use in source (the SVG file) and binary forms (rendered PNG files etc.) of the image, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice and this list of conditions. * The names of the contributors to the Flask software (see AUTHORS) may not be used to endorse or promote products derived from this software without specific prior written permission. Note: we would appreciate that you make the image a link to http://flask.pocoo.org/ if you use it on a web page. Flask-0.10.1/artwork/logo-full.svg0000644000076700000240000023115712156311351020113 0ustar mitsuhikostaff00000000000000 image/svg+xml Flask-0.10.1/AUTHORS0000644000076700000240000000106712156553273015057 0ustar mitsuhikostaff00000000000000Flask is written and maintained by Armin Ronacher and various contributors: Development Lead ```````````````` - Armin Ronacher Patches and Suggestions ``````````````````````` - Adam Zapletal - Ali Afshar - Chris Edgemon - Chris Grindstaff - Christopher Grebs - Daniel Neuhäuser - Florent Xicluna - Georg Brandl - Justin Quick - Kenneth Reitz - Marian Sigler - Matt Campell - Matthew Frazier - Michael van Tellingen - Ron DuPlain - Sebastien Estienne - Simon Sapin - Stephane Wirtel - Thomas Schranz - Zhao Xiaohong - Edmond Burnett Flask-0.10.1/CHANGES0000644000076700000240000005202112156555011014766 0ustar mitsuhikostaff00000000000000Flask Changelog =============== Here you can see the full list of changes between each Flask release. Version 0.10.1 -------------- (bugfix release, released on June 14th 2013) - Fixed an issue where ``|tojson`` was not quoting single quotes which made the filter not work properly in HTML attributes. Now it's possible to use that filter in single quoted attributes. This should make using that filter with angular.js easier. - Added support for byte strings back to the session system. This broke compatibility with the common case of people putting binary data for token verification into the session. - Fixed an issue were registering the same method twice for the same endpoint would trigger an exception incorrectly. Version 0.10 ------------ Released on June 13nd 2013, codename Limoncello. - Changed default cookie serialization format from pickle to JSON to limit the impact an attacker can do if the secret key leaks. See :ref:`upgrading-to-010` for more information. - Added ``template_test`` methods in addition to the already existing ``template_filter`` method family. - Added ``template_global`` methods in addition to the already existing ``template_filter`` method family. - Set the content-length header for x-sendfile. - ``tojson`` filter now does not escape script blocks in HTML5 parsers. - ``tojson`` used in templates is now safe by default due. This was allowed due to the different escaping behavior. - Flask will now raise an error if you attempt to register a new function on an already used endpoint. - Added wrapper module around simplejson and added default serialization of datetime objects. This allows much easier customization of how JSON is handled by Flask or any Flask extension. - Removed deprecated internal ``flask.session`` module alias. Use ``flask.sessions`` instead to get the session module. This is not to be confused with ``flask.session`` the session proxy. - Templates can now be rendered without request context. The behavior is slightly different as the ``request``, ``session`` and ``g`` objects will not be available and blueprint's context processors are not called. - The config object is now available to the template as a real global and not through a context processor which makes it available even in imported templates by default. - Added an option to generate non-ascii encoded JSON which should result in less bytes being transmitted over the network. It's disabled by default to not cause confusion with existing libraries that might expect ``flask.json.dumps`` to return bytestrings by default. - ``flask.g`` is now stored on the app context instead of the request context. - ``flask.g`` now gained a ``get()`` method for not erroring out on non existing items. - ``flask.g`` now can be used with the ``in`` operator to see what's defined and it now is iterable and will yield all attributes stored. - ``flask.Flask.request_globals_class`` got renamed to ``flask.Flask.app_ctx_globals_class`` which is a better name to what it does since 0.10. - `request`, `session` and `g` are now also added as proxies to the template context which makes them available in imported templates. One has to be very careful with those though because usage outside of macros might cause caching. - Flask will no longer invoke the wrong error handlers if a proxy exception is passed through. - Added a workaround for chrome's cookies in localhost not working as intended with domain names. - Changed logic for picking defaults for cookie values from sessions to work better with Google Chrome. - Added `message_flashed` signal that simplifies flashing testing. - Added support for copying of request contexts for better working with greenlets. - Removed custom JSON HTTP exception subclasses. If you were relying on them you can reintroduce them again yourself trivially. Using them however is strongly discouraged as the interface was flawed. - Python requirements changed: requiring Python 2.6 or 2.7 now to prepare for Python 3.3 port. - Changed how the teardown system is informed about exceptions. This is now more reliable in case something handles an exception halfway through the error handling process. - Request context preservation in debug mode now keeps the exception information around which means that teardown handlers are able to distinguish error from success cases. - Added the ``JSONIFY_PRETTYPRINT_REGULAR`` configuration variable. - Flask now orders JSON keys by default to not trash HTTP caches due to different hash seeds between different workers. - Added `appcontext_pushed` and `appcontext_popped` signals. - The builtin run method now takes the ``SERVER_NAME`` into account when picking the default port to run on. - Added `flask.request.get_json()` as a replacement for the old `flask.request.json` property. Version 0.9 ----------- Released on July 1st 2012, codename Campari. - The :func:`flask.Request.on_json_loading_failed` now returns a JSON formatted response by default. - The :func:`flask.url_for` function now can generate anchors to the generated links. - The :func:`flask.url_for` function now can also explicitly generate URL rules specific to a given HTTP method. - Logger now only returns the debug log setting if it was not set explicitly. - Unregister a circular dependency between the WSGI environment and the request object when shutting down the request. This means that environ ``werkzeug.request`` will be `None` after the response was returned to the WSGI server but has the advantage that the garbage collector is not needed on CPython to tear down the request unless the user created circular dependencies themselves. - Session is now stored after callbacks so that if the session payload is stored in the session you can still modify it in an after request callback. - The :class:`flask.Flask` class will avoid importing the provided import name if it can (the required first parameter), to benefit tools which build Flask instances programmatically. The Flask class will fall back to using import on systems with custom module hooks, e.g. Google App Engine, or when the import name is inside a zip archive (usually a .egg) prior to Python 2.7. - Blueprints now have a decorator to add custom template filters application wide, :meth:`flask.Blueprint.app_template_filter`. - The Flask and Blueprint classes now have a non-decorator method for adding custom template filters application wide, :meth:`flask.Flask.add_template_filter` and :meth:`flask.Blueprint.add_app_template_filter`. - The :func:`flask.get_flashed_messages` function now allows rendering flashed message categories in separate blocks, through a ``category_filter`` argument. - The :meth:`flask.Flask.run` method now accepts `None` for `host` and `port` arguments, using default values when `None`. This allows for calling run using configuration values, e.g. ``app.run(app.config.get('MYHOST'), app.config.get('MYPORT'))``, with proper behavior whether or not a config file is provided. - The :meth:`flask.render_template` method now accepts a either an iterable of template names or a single template name. Previously, it only accepted a single template name. On an iterable, the first template found is rendered. - Added :meth:`flask.Flask.app_context` which works very similar to the request context but only provides access to the current application. This also adds support for URL generation without an active request context. - View functions can now return a tuple with the first instance being an instance of :class:`flask.Response`. This allows for returning ``jsonify(error="error msg"), 400`` from a view function. - :class:`~flask.Flask` and :class:`~flask.Blueprint` now provide a :meth:`~flask.Flask.get_send_file_max_age` hook for subclasses to override behavior of serving static files from Flask when using :meth:`flask.Flask.send_static_file` (used for the default static file handler) and :func:`~flask.helpers.send_file`. This hook is provided a filename, which for example allows changing cache controls by file extension. The default max-age for `send_file` and static files can be configured through a new ``SEND_FILE_MAX_AGE_DEFAULT`` configuration variable, which is used in the default `get_send_file_max_age` implementation. - Fixed an assumption in sessions implementation which could break message flashing on sessions implementations which use external storage. - Changed the behavior of tuple return values from functions. They are no longer arguments to the response object, they now have a defined meaning. - Added :attr:`flask.Flask.request_globals_class` to allow a specific class to be used on creation of the :data:`~flask.g` instance of each request. - Added `required_methods` attribute to view functions to force-add methods on registration. - Added :func:`flask.after_this_request`. - Added :func:`flask.stream_with_context` and the ability to push contexts multiple times without producing unexpected behavior. Version 0.8.1 ------------- Bugfix release, released on July 1st 2012 - Fixed an issue with the undocumented `flask.session` module to not work properly on Python 2.5. It should not be used but did cause some problems for package managers. Version 0.8 ----------- Released on September 29th 2011, codename Rakija - Refactored session support into a session interface so that the implementation of the sessions can be changed without having to override the Flask class. - Empty session cookies are now deleted properly automatically. - View functions can now opt out of getting the automatic OPTIONS implementation. - HTTP exceptions and Bad Request errors can now be trapped so that they show up normally in the traceback. - Flask in debug mode is now detecting some common problems and tries to warn you about them. - Flask in debug mode will now complain with an assertion error if a view was attached after the first request was handled. This gives earlier feedback when users forget to import view code ahead of time. - Added the ability to register callbacks that are only triggered once at the beginning of the first request. (:meth:`Flask.before_first_request`) - Malformed JSON data will now trigger a bad request HTTP exception instead of a value error which usually would result in a 500 internal server error if not handled. This is a backwards incompatible change. - Applications now not only have a root path where the resources and modules are located but also an instance path which is the designated place to drop files that are modified at runtime (uploads etc.). Also this is conceptionally only instance depending and outside version control so it's the perfect place to put configuration files etc. For more information see :ref:`instance-folders`. - Added the ``APPLICATION_ROOT`` configuration variable. - Implemented :meth:`~flask.testing.TestClient.session_transaction` to easily modify sessions from the test environment. - Refactored test client internally. The ``APPLICATION_ROOT`` configuration variable as well as ``SERVER_NAME`` are now properly used by the test client as defaults. - Added :attr:`flask.views.View.decorators` to support simpler decorating of pluggable (class-based) views. - Fixed an issue where the test client if used with the "with" statement did not trigger the execution of the teardown handlers. - Added finer control over the session cookie parameters. - HEAD requests to a method view now automatically dispatch to the `get` method if no handler was implemented. - Implemented the virtual :mod:`flask.ext` package to import extensions from. - The context preservation on exceptions is now an integral component of Flask itself and no longer of the test client. This cleaned up some internal logic and lowers the odds of runaway request contexts in unittests. Version 0.7.3 ------------- Bugfix release, release date to be decided - Fixed the Jinja2 environment's list_templates method not returning the correct names when blueprints or modules were involved. Version 0.7.2 ------------- Bugfix release, released on July 6th 2011 - Fixed an issue with URL processors not properly working on blueprints. Version 0.7.1 ------------- Bugfix release, released on June 29th 2011 - Added missing future import that broke 2.5 compatibility. - Fixed an infinite redirect issue with blueprints. Version 0.7 ----------- Released on June 28th 2011, codename Grappa - Added :meth:`~flask.Flask.make_default_options_response` which can be used by subclasses to alter the default behavior for `OPTIONS` responses. - Unbound locals now raise a proper :exc:`RuntimeError` instead of an :exc:`AttributeError`. - Mimetype guessing and etag support based on file objects is now deprecated for :func:`flask.send_file` because it was unreliable. Pass filenames instead or attach your own etags and provide a proper mimetype by hand. - Static file handling for modules now requires the name of the static folder to be supplied explicitly. The previous autodetection was not reliable and caused issues on Google's App Engine. Until 1.0 the old behavior will continue to work but issue dependency warnings. - fixed a problem for Flask to run on jython. - added a `PROPAGATE_EXCEPTIONS` configuration variable that can be used to flip the setting of exception propagation which previously was linked to `DEBUG` alone and is now linked to either `DEBUG` or `TESTING`. - Flask no longer internally depends on rules being added through the `add_url_rule` function and can now also accept regular werkzeug rules added to the url map. - Added an `endpoint` method to the flask application object which allows one to register a callback to an arbitrary endpoint with a decorator. - Use Last-Modified for static file sending instead of Date which was incorrectly introduced in 0.6. - Added `create_jinja_loader` to override the loader creation process. - Implemented a silent flag for `config.from_pyfile`. - Added `teardown_request` decorator, for functions that should run at the end of a request regardless of whether an exception occurred. Also the behavior for `after_request` was changed. It's now no longer executed when an exception is raised. See :ref:`upgrading-to-new-teardown-handling` - Implemented :func:`flask.has_request_context` - Deprecated `init_jinja_globals`. Override the :meth:`~flask.Flask.create_jinja_environment` method instead to achieve the same functionality. - Added :func:`flask.safe_join` - The automatic JSON request data unpacking now looks at the charset mimetype parameter. - Don't modify the session on :func:`flask.get_flashed_messages` if there are no messages in the session. - `before_request` handlers are now able to abort requests with errors. - it is not possible to define user exception handlers. That way you can provide custom error messages from a central hub for certain errors that might occur during request processing (for instance database connection errors, timeouts from remote resources etc.). - Blueprints can provide blueprint specific error handlers. - Implemented generic :ref:`views` (class-based views). Version 0.6.1 ------------- Bugfix release, released on December 31st 2010 - Fixed an issue where the default `OPTIONS` response was not exposing all valid methods in the `Allow` header. - Jinja2 template loading syntax now allows "./" in front of a template load path. Previously this caused issues with module setups. - Fixed an issue where the subdomain setting for modules was ignored for the static folder. - Fixed a security problem that allowed clients to download arbitrary files if the host server was a windows based operating system and the client uses backslashes to escape the directory the files where exposed from. Version 0.6 ----------- Released on July 27th 2010, codename Whisky - after request functions are now called in reverse order of registration. - OPTIONS is now automatically implemented by Flask unless the application explicitly adds 'OPTIONS' as method to the URL rule. In this case no automatic OPTIONS handling kicks in. - static rules are now even in place if there is no static folder for the module. This was implemented to aid GAE which will remove the static folder if it's part of a mapping in the .yml file. - the :attr:`~flask.Flask.config` is now available in the templates as `config`. - context processors will no longer override values passed directly to the render function. - added the ability to limit the incoming request data with the new ``MAX_CONTENT_LENGTH`` configuration value. - the endpoint for the :meth:`flask.Module.add_url_rule` method is now optional to be consistent with the function of the same name on the application object. - added a :func:`flask.make_response` function that simplifies creating response object instances in views. - added signalling support based on blinker. This feature is currently optional and supposed to be used by extensions and applications. If you want to use it, make sure to have `blinker`_ installed. - refactored the way URL adapters are created. This process is now fully customizable with the :meth:`~flask.Flask.create_url_adapter` method. - modules can now register for a subdomain instead of just an URL prefix. This makes it possible to bind a whole module to a configurable subdomain. .. _blinker: http://pypi.python.org/pypi/blinker Version 0.5.2 ------------- Bugfix Release, released on July 15th 2010 - fixed another issue with loading templates from directories when modules were used. Version 0.5.1 ------------- Bugfix Release, released on July 6th 2010 - fixes an issue with template loading from directories when modules where used. Version 0.5 ----------- Released on July 6th 2010, codename Calvados - fixed a bug with subdomains that was caused by the inability to specify the server name. The server name can now be set with the `SERVER_NAME` config key. This key is now also used to set the session cookie cross-subdomain wide. - autoescaping is no longer active for all templates. Instead it is only active for ``.html``, ``.htm``, ``.xml`` and ``.xhtml``. Inside templates this behavior can be changed with the ``autoescape`` tag. - refactored Flask internally. It now consists of more than a single file. - :func:`flask.send_file` now emits etags and has the ability to do conditional responses builtin. - (temporarily) dropped support for zipped applications. This was a rarely used feature and led to some confusing behavior. - added support for per-package template and static-file directories. - removed support for `create_jinja_loader` which is no longer used in 0.5 due to the improved module support. - added a helper function to expose files from any directory. Version 0.4 ----------- Released on June 18th 2010, codename Rakia - added the ability to register application wide error handlers from modules. - :meth:`~flask.Flask.after_request` handlers are now also invoked if the request dies with an exception and an error handling page kicks in. - test client has not the ability to preserve the request context for a little longer. This can also be used to trigger custom requests that do not pop the request stack for testing. - because the Python standard library caches loggers, the name of the logger is configurable now to better support unittests. - added `TESTING` switch that can activate unittesting helpers. - the logger switches to `DEBUG` mode now if debug is enabled. Version 0.3.1 ------------- Bugfix release, released on May 28th 2010 - fixed a error reporting bug with :meth:`flask.Config.from_envvar` - removed some unused code from flask - release does no longer include development leftover files (.git folder for themes, built documentation in zip and pdf file and some .pyc files) Version 0.3 ----------- Released on May 28th 2010, codename Schnaps - added support for categories for flashed messages. - the application now configures a :class:`logging.Handler` and will log request handling exceptions to that logger when not in debug mode. This makes it possible to receive mails on server errors for example. - added support for context binding that does not require the use of the with statement for playing in the console. - the request context is now available within the with statement making it possible to further push the request context or pop it. - added support for configurations. Version 0.2 ----------- Released on May 12th 2010, codename Jägermeister - various bugfixes - integrated JSON support - added :func:`~flask.get_template_attribute` helper function. - :meth:`~flask.Flask.add_url_rule` can now also register a view function. - refactored internal request dispatching. - server listens on 127.0.0.1 by default now to fix issues with chrome. - added external URL support. - added support for :func:`~flask.send_file` - module support and internal request handling refactoring to better support pluggable applications. - sessions can be set to be permanent now on a per-session basis. - better error reporting on missing secret keys. - added support for Google Appengine. Version 0.1 ----------- First public preview release. Flask-0.10.1/docs/0000755000076700000240000000000012156555065014734 5ustar mitsuhikostaff00000000000000Flask-0.10.1/docs/.gitignore0000644000076700000240000000000712156311351016705 0ustar mitsuhikostaff00000000000000_build Flask-0.10.1/docs/_static/0000755000076700000240000000000012156555065016362 5ustar mitsuhikostaff00000000000000Flask-0.10.1/docs/_static/debugger.png0000644000076700000240000036123112156311351020646 0ustar mitsuhikostaff00000000000000‰PNG  IHDR:eÌóhIiCCPICC ProfilexÕYgXK³îÙKNKÎ9É9GÉX–œsA‚¨€I Š$EQA”$" "fAÉIQD2ÜAç|÷~÷ûwÿÜyžíy·ªººwª»¦ßZ˜ !!jƒ"¬ ´¹¸° `H1ÀÝ0rÿ?Þÿ‚ ÷¿}Þãß¿î ¬ë@ˆýõåÿ² ˆ„Ÿ×¯‹nɃÌbƒ‡?ó]øÎöB~Å ¶X<ƒl­aÙ r73ÿ «{…é[Áî Y„Dh`ø™A^!6Éâ|tÌ`LËó<Ãõþø¹ìG0>ˆ%,o ‹´²…1Œ;ã¬õ` ¯(h:ÎÇÆþ/›žºÉ/_}£ß6Zߣƒ±èá˜óø›Ì !L@ð‘ nƒ€88 t€î_­8ðXëÂ?˜…q Ü#î c®¿ìtþM¢ÿ«Ÿ7Üï¿{äDØ6òï1Æùǧ/ð€ñ9ã@w0»pWßäÆücqàï×l¤ê¤¤vþÌ %€’AÉ¡´Qj(u”àBáQ,@%‹RDi¡4P*°N èƒiس÷Ÿ9ølôŠ* ŽU¶óµ¿ÝýØý²öýûû¿Íø,6/þ™ž1ð>@'8$6Ì×Û'‚K Þ¹žb\FAD 1.)i©õÿ›ë gýžìªÕ¯\á_ü##l Ô烷ÿÈC¨ßƒ· Ý?2Axß«pK‡õÛêà†8@¯PfÀxüœe€I'ÉÉ^É=)9©©+R#Ò´ÒÆÒÉÒ÷¥¿ËˆÈeJd^¢8¤(ñнCßdEe=eKeßÉÑəʒë’Û•W“¿!¿ À§à¦pQá­"½¢…b¦bŸZI[)Q©UiSY^9B¹Qù«Š¸Š¿J­Ê¼ª ª§êÕ)55‚Z¹Ú¸:—º›úeõq n ‚F…Ƥ&¯¦‡f•朖°–ŸV½Ö²¶”v˜ö]íueã:ºH]ÝtÝ=Z=[½b½Oú<úÞúuú+rÇ : ц&†9†o؈F5F+Æ ÆÇ»MÈM¬MŠM&‹;|ßajlzÞtÔŒß,ȬÙ˜™Ÿ7ÿh!hjñÀciaYb9k%moÕkMgíj]kýÓFÛ&ËfÄVÈ6Ò¶ËŽÊÎÙ®ÆnÝ^×>×~ÜAÒá¸Ã3GG_Ç{NX';§*§µ#zGòÌ8Ë9§9¿9*x4æè——6W*W‚ëm7´›½[­ÛÁœPAXs7r¿è¾BÔ!¿xhzäy,xªyæzÎy©yåzÍ{«yŸ÷^ðÑð¹à³è«ã[ìûÍÏЯÌoÝßÜÿšÿ~€}@C I [`KmPw0GpLðPˆhHZÈx¨rh~èJ˜IXU8~4ü^=|8ìŠ<9¥Uµm};†&&(¦?V$öLì\œ~ÜÕc¨cÄc]ñÜñIñÇµŽ—'@ î ]‰¼‰©‰3' NT'á’ü“ž'K%ç&ÿH±O¹ŸÊžz"uê¤Áɺ4Ê´°´·§TN•Fö==pæÐ™¢3{ééO3¤2.dìd3Ÿž•>[xvÿœ×¹,ù¬ÒlLvPö›œê\šÜ¸Ü©ó¦ç›ò¸òÒó~仿?¹ {¡¬WY0^x¸ð^_QvÑN±Oñëí’†‹lÏ\\¿äqi¸T³ôF{YFÙÖeßËïÊ Ê›**.Tb*£*g¯Ø]齪xµ¦Š¥*£j÷Zеñj«êî…ššZ¶Ú¬:D]dÝB½sýàuÝë÷nˆß(oÀ7dÜ7#o~¾åvëM£Ic×mÅÛ7îðß¹x—înzÔÛ´ÒìÓ<~ÏñÞP‹qK×}•ûwH<¸ÖÊÝZÒÆÐ–ÕŽkOmßïˆëXë é\|èýpªËµkä‘ãWÝ–ÝM÷õè÷<êÕêíèSëk}¢ü¤å©âÓægòÏšúåúï>—{~w@~ é…‹{ƒJƒ÷‡T‡Ú‡5†¾Ô}ÙóÊèÕ³×f¯‡Þؾy÷Öùíø;wóïÞûõa{äÄ(z4ý#õÇ ŸØ>UŒ 5ŒË·MèNôOZOŽL§¾L‡Oï̤ÎRÌ^˜ãœ«™—™o]Ð_ü|äóÌ—/Û‹iK4K—…–ï|ÕüÚ¿â°2ó-ìÛþ÷ÌUæÕk?dt­Y¬}úøs{=}ƒy£zSq³wË~kn;z»S¸+¼{Ïdot?p?„Føu@Â-ÂË €ï×`ás‡Ap¿9Å/ ˜®@° Œ‘ðy>„‚° )@g YÄÄò4JÍŽ‘Ãú’<Ãy“ËSŠQíÑ Óå2h㧘B˜§XMØ*Ø—9…¸Ü¸Ïó<ä]áç0Œ*îù&Æ(®! Y Õ+½HEö˜\‹üª"¿’•r¼ÊeÕ.µ1õMF-ym[(ݽúÓ†+FÆ»‡Áá}Ó}³} ÈmEiÍb#mklçcÚ¡Ú±ÏiâȪóÎÑ—U× ·O„-"‡‡¡g¤×Uï·¾ä~ZþáσF‚;BòC#Â\­"Ì"­£ŽFûÅÄÆ¦Æe+¯?~7áAbë‰{IÉõ)U©å'ËÓÊàRr&/==ãDfÔÙÀs¾Y¾Ù9á¹QçÃòó‰ì å‹‹YKh/’_B]Z++ë½\WžYáWitEä*ÕÕŸU“×>U×L×~®ûZ¿r}ñÆhÃã›·r n_½Ót÷yÓdóz î>óþVî6TÛPûÕŽÔ΀‡®]Nœº»ô¸öû<ž¸>µ{fØ/÷œs€d`åÅ»ÁŽ¡ËÃ'^:¿R|M÷zùÍÀÛ›ï ߟøà1¢3Ê9ºþqèSõXê8qÂ`RbŠvêûtÿLÅløœÎ<ÝüÔBóç¬/!‹æKìK¯–¿‚¯i+,+cßV¿¯­æÿúѳæû“ùç—õÕM·í®ýý_ñ'‡Y˜°É  ü€4¡ølv IŽlFC;a±)ð 0 ¡È ² a§] /Ç23³T³.±srˆp*p©sñå çËâ¯x"øE˜^DUÔG,[¼]â‹“´ŽLÀ¡ ²rÓ 8E %ceo•Õlµ õ[šÏµÞhëLéÎéÍëÏÂë`Ähȸפíp£i•Y±y¦E¢e¤U¬uŠM¦mžÝEû ‡*Çj§Ú#µÎµGë]®»6¸Ý!´¸wŸ{|ð\ðÚñAúløÎø ù·Ô– N õWƒC„u¤e”E´UŒ}¬kœ×±€x¿ãv ê‰B'è“0I›ÉË)s©'GÓ^Ÿ8ýäLwúýŒÆÌª³…çÎdEe‡çøçzž?šgopA©@¸_„(Z„s`ëÅòKi¥~e‡/K–3Và*É®P\¥®¢½F_M_CWK[G[OsúeÅM²[¸F’Û$wPw6îÎ4 5wÝ»ÝRuÿ⃂Öü¶üöÂŽ²Îê‡ ]mz»_?žéYìí}òò)œnúß?ÿ40ûbipuhmxõåÒ«é×/ßt¼­x—þ>ÿÑÞÑ?ú1¶1¾=±>¹456=0Ó2[1—1º`ÿYÿ‹î¢Æ’Ä2óòî×É•‡ß®|O_ ÿá¹æù3fýÊÆÚÖùÙ_ñGÀÕ˜oÉS˜æ‚68 CP3|:OE¢‘ ¨´Æ²3%Ë"ï§DPñQ«ÓèÓÐiÒb`aØÅO0¶3å1{±È³âXÇÙZØó9Â8-¸$¹)¸?ó<æ-ç‹á7`˜lŠÖ!½$ ®&A-1#Ù,•*m"C%óâP¦¬¡ì¾\³|°‚”b¹QY\yGePõšZ¢ºƒ†¸Æžæ­sÚf:(gºzÉúž&†2F¬Æhã%“—‡›LóÍ|ÌÉÌoZØ[’ZvZ%ZëÛPÛ|²­³‹±×w`vXtlsÊ…˜*ryò[ÚÜ©ÉÓãgÆÓÇ3Æ2Gξ:ב•™­=ŸSžëq^:•7šß|!· ¤Ð¶H¹˜½x·däbÓ¥ÜÒÐ2‹Ë‡Ê™Ê÷+f+û¯4^-ªJ½YíWãUë]çWïÝÿF`Cè͸[Wn÷ÜYn¢o–»gÙâu?úAZkA[M{GLJÎý.‰G„îÂǃ½È>é'öOßìÿ:pðÞðæëÒwOFßOj-E#%åy˜á$SíS§Þ¥I ´I0[I¢‡èO0†d<ŸÉÈÄXäÍ4ɜ΢ÆòšÕ—u‡í;7ûmCŽÎ.,W9·÷Gž¼f|Šü,ü?zó…\„„—EšEOŠÙŠó‰ÿ”x.Y#•!!ã~ÈZV_NE^BO‘U‰I™E…GU\MEÝHÃFÓEË[;Hç¸n¾Þ-ý7†ÀHÚØÓ¤ððSÓ-sa OËk`ãdÛj/àí¸uÄ͹DžÁÕÅí*a‘(ïqÊsÌÛħÏÏÙÿU XPBð`([XPxg$>*"úM¬^ÜH|KBÆ ½¤å”´“ø´ŠÓRg:3l2gÎ¥d‹æŒ/Ë(P/b(^¹ø¢ôáåæŠWU½¨®}YÿôF÷ÍWKw›uZ¢\n{ØñþáF·`O_ë3Þç™/¶†]_Ýóó½ë¨òXçTӬ߼Åg÷¥'ßÂ~Ü]wÞ ß¦Ù!ìŠïnì¥ïcöS~å  ŽÂÕ­³pô›ÁSð΢x Y¸&`ù•€,è Ìÿ¡˜ós"Ô.pìko‘˜Åû#K‘Ã(,JG~æ¯Èc¨1æ˜lÌ0uÆVb¿È“¤ ‘r“F’>Åñàp#dªd¥är?òW0çm¤ä¥,¦¢£Ê¦¦¦Î£a¡© • }@gJ7NÉ€bÈÆsâo1ê1Ž0E2Ó17²Ø²l±–³Á̱ŒÃ”c‹ó—-7šû6‘—‡÷;_©@´ ¹0Ìè¦D:EËÄÄ]$Ô$9$÷¥Æ¤;d*–•KÏT(P¬PªQ¾­ÒªúHí¹ú/š»Ú”:"ºzz>úÙ­†_©MÔ{›š=·ÀYYåX´•²K³Ÿv4tºáÌrô¬Ë®›/á.íaçŸ;ß;þ уuCn…q†çD"£â¢WbýãVã³d’RHS+Ó”NõŸqI_ÊŒ;‡Í*Êáν“§?PàSÄ^üñbY©åetys¥ßU–ªçÕiµzõÔ×§ºn5Þ¾~·£¹§%ì@ëHû¥Nb—B7óã½ÞO6ûÉø͆½ºùf齨ˆòG½±¨‰Æiô¬óüã/|K _‡¿£~0þÄ­moíàw1»÷.Áµƒóƒ\Iʃ÷ý ø ÇïxÈІÎÃ5Ÿah Á†ÐG„#*ïÔHcääsÊUƒZCë Ï£g0ʘ\ÌÖ{ÞÛ§H6IƒIpž¸I27²1r7ò9ŠJJÊz*Kª]êë4ZÚ§t±ôôC xqü$c)“'³ Ëë56ovAöyŽ:Î`.%n,÷(Ï=Þ9~YAC!KaQ?±ñd‰ÉkR=ÒK‡˜dõäÂåKž+eu•Õuv ÍF­-CÝ*}œA´á¼±“I¯©”Y|M¶¦²©µ³v@86q9ŠtIvÝ"¹Oxñõ÷åô› ð¶ i /ŽÄE¥Ä@±™Ç¼Ž_MìLjO¹ròø)Ë3‚é[™ç2² ¹Zy"ð… èsÉ‹K7ËòËW\u¼¦]ÃU»^ß}#ó¦M#ßíõ»}Í-„ì­ƒí±l»…<è™ï»ó4½ßc@y~hîeÓëØ·’ïÆ?dª|\+›82Å7½9;9?öYçKübùRËr×׎•êoßmW™V~D­q®5üTúÙ½®¹Þ°Á¹qncuÓx³bssËbëÊÖô6ß¶çöÕíÙ¯œ¶ù]º]]¿Ýü݇»‹{L{†{‰{M{‹û¼ûNû9û}ñ÷:$sðö¹6\~ü´¿¿*6€ÝœýýíŠýýÝJ˜dÀÿtüþ¿âÀ×Ü/ú .¸,ÿ?®ÿ ¢¸\;CW pHYs  šœ IDATxì}€•ÅÕö³»w{‡…]XzïJDAc¬` ‰DÅ–ˆšOóG¢ñ³äKŒF%ÑQcņŠ(Š•*–¶Ôíý?gî=wçÎm»° èxï´3gfž÷½÷}öL‹©¯¯ÇæÍ›®««»0&&æ\Š÷„:E@PE@PEà ^¹‚Š¿;³mÛ¶‹bˆp¬¬¬|°¢¢btuu5ˆ|€z-ª(Š€" (Š€" D6¤¤¤oôTUU]PRR2º¶¶VñQE@PE@Pš6d’a555'ÐHú…žòòòó(Ò,ÊU‰" (Š€" (Š€"`#À<“Èç¹úèÁó:Õ)Š€" (Š€" (æ›±:‡ó`@«:E@PE@P曞hVNÎ÷™EQ\T„uo¿‡K—£¦¼Üè‰KLFNÿÞè|êÉHÏÉM…Çã­X’z‚|[gÅŽ(yu6ª/ElE™‘­KJABÿ¾Hw ’Zµj²Î¢};ðÁªÙX±m)*kËÀõ%xRÑ'·/Nì~ r2§3¨áš (Š€" (Š€"°_Ä,X° âØ:¯h§yŸ(˜÷)–Ïxi©Èi“‡ÌömZè¾·`3vl݆Òâô¾ì´y,’““Íj¥p-Åó>Bù“ÿBJn&²:ä#¹]G"«±(Û´{7nBéÖ=HþÅÏ>rT£u~¾ö<»hR³ÒЪMk´ÎÊEm}-¶íÚ‚¢­ÛQº¯^†a]Ž‹ª3\û5]PE@PE iÄMž<ùw‘ŠÐVJ(øøS|÷è tô$aH^{ÆO1ôÊ_ ÷ñ#Юªéë QS\†µŸ-@B^+¤·ËGBBBXµ¬³xþǨùÇ_‘×1݆ä¢ý'¡ÝÅ—!wÔ±h‘UŒšÔWìAÉÜù¨mÝñùí¢êü|õÇxæËÇ‘Ò6{´ÅýOÇχÿC; A­§ Eñ[P^S/W|ŽVÉ­Ñ6+²Î°Ð E@PE@P&!ux½dçN¬›ñzV{0pk=ÚÄ–"}éĵþ‚,õh±l5úl,Gö¦z$·ôÙ–}{!%%%lC*v¡ö¹ÇжG=:ö®ARnj¶ fëRÔ#žêBdåU!ñè:Ä'Öc+ÉVôîQçÎ}Exá«§ álÑ% )±ØU·+v/FEM9öÆ!=39]“±›l»,Û#/²Î°Ð E@PE@P&!•t¾ÿ²Ë«1lgÚ ékw"¶ì`ç> ¶ÉŸ­CâŽ]H@ HfoB5¸L«Ÿ_¶!•¾Ió?kÑmh:2RàÉâê ³m>QN"µë›]O›Š¦£[ZJç—¢ŒÊÔ_rUXŸ|÷âb‘? )©‰ˆI"²³µ%U¨©¯¡ví@bvZ¦f!5%›wî—Ÿû³°:5CPE@PE yˆJ:“‡;=hK6È ÄR­d&ܺx¥Âׂr“š Z®¥1ÛQKíJŽ‹%2›á]•RƒÚ>ñ(ر.¢Îpí§ õ±uëVìÞ½ñ) HÌ#R•Lä23È +“Âiä3é,«¤%ì¥À>Úîh_’ÊKŸñ ÷ú¤DÄ‘…3>;q´ÉD8©‘YvµÕ@eâc™Ö£¬®eDŠ+ëjQW‹ò¤Z¤Æ×FÔiÚb}°U“_¶guÚµkgr˜ðµ?Î%îKžuèæjx'*©NÂì‡p®~W$T}¶ ?,î‘<ö÷ǹí Õí¿ÜlBø{¾ÿ|ø¬áÇ£M›6xçwЯ_?>Swn¿–QE@ø‘!ÕD—Ч *—oZ·$ g]4³]™é^¨Jˆlî¦ù|í)AåŽ$vËcmvTÇÒœÍt"œ©´à(™Èf"]ñÔæ/dåDÎ8â(Z—.ÉågæÓÞ¡ûêI@2YSãîI¤aõó®N©©Ä¾ØJ"žU(§9ž(E›¬Èí´ëã³é.\ˆ1cÆÂi“!;l—iLØ.+añC–·8ˆŸ|ÚiV!—ı^Ic1©G|Éc¿1Nʉߘ2®Œ]VÂ⻲&n÷UÂâ;Üþ°^IcQ©G|ÉÓþG¿ÿ;vÄI'„O>ù}úôAý‘§NPE@ˆ„@ÔáuÏÀ>Ø^°=s³€–Ö•F”É 7#™,4÷’‡Þ·—!îè¾þz¨Ê«ÛÆîÒÈO 2ÆÊI„3/æÀ¤3†H¡!>4Ü\UK\–†ÇÛƒ˜Å®-zcaÑGH¬GJ\"Τy’ éä6ÄÅÄѶ¢ü2EmU%JwT`HËc"¶“ˉ۴i“RïÙ³§ßò×T’"º–ï’*®G•ÔiÇT^û8B0þ¾ü½ŸÜnûùpã®þnݺ™¹ÍüÝèÐ!ò…ß&Z¯" (ŠÀáƒ@TÒ™<|(*—®BAb,Ú·nAVN"ž™déd %;&‹lå 9”›ÊŠQÛµ’‡¦ãaÌOT$®÷I¨ø|¶l­DÛ²˜Ò¼M¯•“ôp1¶x²O[2mÙ²µñ¦Lm}saUÉص¡-{¦"!–¦Ä$мN¶tÖS¸Ž†ÚkQ]S‡õëw"5!}Z zÉR­AŽí¤­£N9å#/–0÷%Ì+ïÿòÈ_‘¤Ã$‘žxÑ…ÆÚÆq·|èBOuI`4ýÍ-Ïýg¬Ùg'aöÙ5µ>S¨ MÕßÜò?Æþ8Ï=÷rssƒíܵ Û·o§¯1"ÑDSC»Wx.ña™™™HM¥‘uŠ€" (G,QIg U'ž~2 ?ýI4¿³UšoHœæekd,-þ¡¹’;èË-déL>%ƒ VÓ\Ëú`˦Wái‘ŠÖ]h~¨H½Éí[ʱuS ªº_€*Igl],F埋Ϸ¿„Ýi¥Hm—ˆÚ:“M"G뇸™ØEúöí(ÉíÎClm,êI&šÛ²e  `ö uç72±ÇäŠ çäË/“¤ö»ïãéÿ«±Ã®ZÉŸI„p¤QäÄwõ ¹ßäû§-®¼Û>7®ý´¬2Ž‚Éþà+÷Aüý¹ÿLù»±qãÆk'OGÙ¾m ½÷¦y ôGj·‰çPïÃÞ={±¹°ÐÌÍoÛ–È(NPEàHC êB"~yÄwéˆZœ³îë%(!‹CKZè“\Ës¸b脟*쪮BYëF E]‡öæ\öHs¼ŒÎ¼^¨¤EB—½ƒÒrÚd¾M:’ÓÈâIÖÀŠÒjì*,FÑúbTå˜ÜÒÙ&¹=Žm}¼‰šÒZ´¤¹§))´g'½ÀŠË+ÈZYŒm;Ëp|ÞùÈKlgŽ÷ŒÔN¾™L2wÐùð'Ÿ|²¹·ò¢7çC^Þœ¼w_qÈyn“ñs<þ¸d[<™z¹;—Ý¢GûìÜ…=.I0FæÀ^qSÆþpõÛy&lÚà òæ˜vH%¹íqË»ú]yé+ûì´ÿ?ŒûߣG,Z´m-BÈÏB-}wi û‡š÷îGÿä]!²³[˜«#é[¶l6 CûöÑ «„" (ŠÀa‡@TK'>{=™ÈdjçÎØºà+­Ù‰¶xR^YY)jh¨=uìé(%S"Ë Ù×[¿N"“ñíz¡`ÅØZ°i´xˆOqiª<‘yÔh²vÔ5Ignr;Œíz¾-ü ›6¬Elü^CìꪒÐ"¡Îé>ÕeÞó䣵“ÛÏÃê<_-##Ãÿò4d,\ç|éLfyx0”cK¨—xz-ž~V¹ ãižé¬P…úÝMŸ]ƒ,&±(Šï7*úI] eÌV[²ôä »ÚNÂýŸlÆ5Ge¤Ùé·øvž„#åq‹ùþz}/áârÒ%¹ì{Ó-y’f2éCú-~Sú/:šâKßÄU6Rž·ß‡wÿ×­]‹öô¼ó~œâØâ¸‰È^ç.]L’ÛÇ4šßÍ»9ðw%'Ç;µ„ïa*JVHÊ´è(šû÷þ rÉEÄY/Xbr»wß>dÐ*zuŠ€" (G¼r'¢"Àç¥Wó6DƘa®8²B°K¦½û8oOYØ‚ÉNHƒ‰„øÐYM:{ 3ͧsï~ë¬Æ€VÃIçhÿš¼Ç ·³loãÛÉMg+ç‰'ž@8ÃõÏ~3át­¨;wïžÁ ’N+÷ÿôÈ£¸þÚ«ýxÕ%tÇßiQFu}<Å_a|Ÿ[qã²·0œÞ¯tX(h6­ßÊJ¸>Á’ã–öI{Bùõõ´ÕúáeÒlF é§ R½Ã ¶eJʆÒÏi¶sÛÃyvy ‹ï¶×µäºå]y·¾Pù¶©Wü˜ÚU˜5?ù¼—÷M ²$Ûe9ìêç4Û¹íá<©ËKš«Ïîÿ /¼€Ç{ ï¿ÿ¾¿ WÞ­/T~¨zùCþ>ðöG¢ƒåÖ¬^E´Cú5kpü 'âÉó™?þðC좃Øu¢?<¹×ñž|ðŸtr>o"ÏߟÆN–¿é†ØÃƒ?l|÷ƒëÍ£¹£Û‹Š”tºàh\P#X~ÑE»¸,ý{÷šÅlÁà‹ p籌ÈþtVVV‚_º¼'!¿œ…,HØõy¸[œ±tÒôXë=úØ˲uHôðæû©4}!‹ö0MkÅÇÈÌÎB:½¼³kaBÚ¼·•ÎW2m)ÆóSÎÀô¹…Xùü­˜òè+xæ–á†H¤M¸_ÓÖU,‡šüãúá`kTú±·â‹´ªßu¢¾e!-+‹êÌBý±òù[Œ®'§¤“ü£ØS±·ž1¯¼ò¨Ññð×{P_]ˆ™wL0qÖ{ËÓŸÐ6TD€QŠ—¯Ÿ€‡_ySx?LJ!¦â\˜v!{ͯ¦M¾úëë˱àù{ýzÒ/zŤ§à½‡q,•gR”~ì|J}fÂñÝLjÛcoáåéÞºÓ/zß½%„ÅExôÝwqïEéFß„{ß5º¸ªêÂ/pÇéÔÒ—–v:ž™_@©xå¦AƪHZ8ßn‡ÃÉåÒIHüÇcEeEX™pe5=úo½b¤é3 ÏÀÁ|bíG¤°ýRpå"å¹²v§?N9 ¿}Î{hõÆ÷pù“ÀIƒòP]²ONˆ‚ábݺ¯p×¾?àø[_'ëe ÞýMoLIþ-vÑøìº 8éW/Ý7 ý¿{1}ú˜þ÷Lzå¾õFׯç`í›—"«¦ ë?zï݆yËVârÚà½ÿ×—/†¯ wa˲YXÍO1õfÒÎmÔÆ‰ÓqÜG_ã­+z¡.® ¦¼<ù!ö/|÷œtùÝxôý¥D¬ˆ<ÿñTÚòªž6Çàï+·9Z‡?¶xxs…Á½ª˜Úv󅘕qÖ®ý×Íú-^ZæµÀ•lŸ…›Ï9™Wƒ•Ÿý³þð[,'Y_¿èqüd¶ïƲwÎÄ5?íƒ7 <8å×/‘­øõK_âÍ?œ ÚÌ/:ŒõóŽx{éFl/\‹Çv ÐW¸o—_ßé®êÂê\xæ;¸êëµøìé_à·ã_ÁR¸å½ßyû:g=W[úúÄw…Ø·o­éëÓO?m,„W\q…iÆçŸŽÖôÜÜyçæôŸÿÐ0ô„ pß}÷™|&޼ˆçã?6d´=Ço¿ýÖàÅ«½y/Í¡C‡šgp Kó³È‹ø9‹¥üÀðúˆ‘#ýÄóí·Þ2” çqtúçÛϧ„Ùç?²ºuïf¾37yD”yQá–B—tñŸ¥UïrIšø’Ï.=-Õ,.²Ó5ìÅ\qPôÐgàp~¢Îé4¿ò?Ò]´åˈ#^´‘ —8ËðË]âáæv²?â$l|_º7-¨i;õ7¸á¬¿aí”!ØùäDàÚ×1”˜ÒÒŠ½è{çû¸eÜQFÕ%7\‹ßž[ˆ’Ç6âÝG(iÔ;øÃï¾@ùŠYÀÃŒU’n¼‘íK§Ë Ì"ëgJ{ÄqZ%mòÿë×qǸ!&¿¾¢”‚×_¿G·¢9¢Õkð:é¼kÎeè’F»¤Ÿ€[î‰QO†?žq:°žŠÏš… 显ÅĴƱcZ‘þ!0*}Xôú_IOcüÐöæÕ¼vLû€¼>CQ¶`6ž|e#Ös™JŸu–ÛvÝËxâš(±ÝûÒ!X4õ1ª_Gp¼ô®Õ†²öb$²Yª7~…ˆZι⤒\Úˆ‰x¸ïT¼ôéœvV:’L뜶ÈJKòß ƒyͼgšw-F´ç‰ @›ôÒ÷ž__õ)ݧïåÏÖ⌱1«™+ÿŽÑÔŒòòžTЦYEwák÷uH;__iN4¹†¾n0}Í#+×Ïs$Ù"*s+çÌ™ƒîÝ»ã‰'ž0$S,䬃å/»ì2Xå™\ò±•bÙ´§¿p~>M_MI¯®ïz&Þyûm“Ç2—vøDCzüÚo¼aÎeLÚ^móæÍ òeHÝΰÓB µ·¢y£ë7lDË–t`…:E@P#%aná1qlÕª•ÿÅÌ!~ ³/Î~iKZsùD¥Œ*©/ç¸s0 Cðô¿GcÅÀß¿>ÆäJ–ÈÛNy‰ƒ  ××Ñ‚)J;ãŒ3qÑȔՌÃÄßåòE\’spòé£Ð/¾aZ—íKCün$RÈRiúOÖÓRÊL Ý ¸ï|yg÷VÒ\ÔzðÀnfF¢?õFBrØgçmg¼¯¼I¢=ø÷Ep ~ƒ·w6r·õÅbj,×mÚ–+DƒŽ4õaýΣ=_9,½©§}^khgš]€eÚAù4k%•”N£ËL¨C;ZG|X–8nCƒ¾:ÒÇ}£gÁ§ÏÛÏ‘h“ÆuQÿ ÆÞz¹´­—ØûúÐ×ߟƒ¼í}±H";žw)ŽëeݧvF’%’à ´ÿ,WB.1Ñ‹·à+å>˜ó’èà†ÁƒhßÜjÚ<Œõ&\ŽÃì8,÷ƒãó§s>ÇÙÒÉ–•²Rž}vL9ŸÛ.GcrÛ8mûömô]jílâ§ôSеh™ƒÕk×™avÖ¯NPEàÈ@ ê–IGF7š¿•E´XGDzɺµÚ/Ç8Ú,?œã!Q~‹³ËIšo2+ð'ÁÓ“î;£®¹ù0þÚÙ;fíIÌÀÒ'fá» =Ñ#«óf’‰îÚÿ"“v8óZà¼6â+Æ ;UYBG•6¸õ(ÚQ‚ ßB¢¸D¯õóým’ê}í¨ëŒsÆy ¿Y%Ki.é<ŒÿûŸ ™õê®ö’¢õõÅXµt ÚöìAG”2!ëZ"†šÆÝ…W®Šq}³PDdeoì7¸ùqlà©K±k˜Ð膖‡yå £C:&¢~9y} ¿ /ŠW¾‰æaÿsW:Ak º‘¢}t¨[’¹Ï|¿Mß©ŸÞæ=‰Kоi5 æ¡_ßR£¯då[~}õõß™f1ùæ6ùA2†ùúúÚ•Ç`lßÌà¾v÷ö}Ï0õw¡•âl¡”ûÀǯ~Hó,ÇgÚ(VKöyÞ1;‘eŸ‰aqI1úè¶P^AD(µÌ …ÛÄѦÖ3Þ<ð¦î<¤ÎN&œç¹2Ä.ò®ÏØñwfݺuÈÏÏ÷g§‘ÅvíÙÙ’È¢í¸<ô?I,œ®u3T[ÓhÇŒ=4W”­žêE@PŽ Â3£#£ý­•<´Þ¹sgó"ç—£ýB—Jí4‚&!|&œ¥e V,ÑÁ¢fß‹~ùuþU QeÜ4å§f5{à ù\Ö±%ÜÒW,¹ _Ü>†tÄaÌí‹ñPê èÕ2Óœê’éó֜ΥÛ+­iEÞcñü¿:®Þï¤ ¼¦]¬ó´çã¶Â+Б,¢™ù#°ø¦â¾ó;‘Y@Éêg3…Í×âå2b¾)÷Zë8Mú׿ä;ðÚïûâg#ºRÛZ¢ë•¯¡"©+&Ývþz^/J;+;^ˆ¥Ô—§––€N65ŽûÌ7ÕXÉO¤zÚè½Þz:á®/þ‰Â+Fxû?ô üú_óqöú¸öç¸ûԞȠ…=LÇE/êsû"Ü×éŒè˜‹Ì–ù¸òÅ5”ß Xð¯}7ýs>ÎïD­¡jÍú®žûÏt³¸Ï¹cn7}8¢Kľ>ðÀ( í‰Ž=öXR 4È,$ºí¶ÛÌá_|1&Mš„;î¸Ãä3Ñc«';i»ø:uÂW_}… ˜áñÝ´@ˆ-™b%µÉ*—ÙL;'ád‚™L[±ŸM‹Ìxqç‹n·>“NÝå:ya¡íx{£’’Ò )ç¿àÿeËGËã|(¦9ªêE@PŽbÞzë-zU¨³(£­š¶nÝŠ‰'šm øÅÞX7óŗÞHTA+y+yX—\fF:îùãÿ⢠ÎC‹ÌÔ¼¤Áoi£¸„íúK¾y íNXˆ/ŠG÷8¯eîëÇÎÂu¸Ÿ\Ý“V>—Ój÷tgÈš¦9Ò°-ÙWiµuˆ=¦öÆÕï5žWgél°ÚÚù ×Tµµ†Vî§z‡b™À°î"+¼°¨”VQ'Ñ o·–Œ¸. Ûx5´¡†ˆO<…X‰¾Jª¿†òÓxy¿ß…×ç ¾Ú÷ûJ š¾2™æiì¸~;ÎigÇ2é¿Èp;.¾aýz´%+%Ïá”þóJL8;ÑaqÏ>û¬YÍžB¤UoêžÓ²ÍUm/IþsÏ?°eÒ„ / Èù‚È4o/¤;”Œ¦)Š€" >èðzˆ{Á„󨣼‹r²™ž3ÿôÑtª4ÃÅ’ I¢ùg|ÙŽ‰_ìä%Ï>;! ’Ï‹g^ý·¢ïïß5„SdP¹‹•‘|œÙn‰A-J¤•Ì^Ë`ä¿1ê2MüpúÏ:“ˆe5„Œñ°>ñÍ€þ'á”þ›3·Cô‰•ÙuKXüÀÊâ|gw3Þ9ÞyÞÄPe™ðÐ&É©ÞÇÁU¨> &}µëa¹Q|ßíh,#äR”ØÏ§Ùz$,¾”±ãvØ-ÏñŽ:±à˜€ÂЪ;ÌóÏÇb~óÍ7èdéâ-¹¶lÙJ Úš~Tà‹ØÃêB®CÉIšbß³'`oPÉS_PEàðC@9÷Dö1ìÒ¹‹w³{zÑÚ[!ÙlŽ ç `U»vl5LGmÈhr|œI·‰€æL;^_ŸˆsŸ-ÀDR8ëeÿ¨kßCY ]g˸y—òþö;¤ÂôhUSúªžpi¡ÚÇi¶³ã®|Pûí‚vålí¿ïùiîûß¹sgÌŸ?ßì*$ðéD{ˆ¼.§£,{ÓÉB®»à¼ó’ìûaEZЙ›he¼®b·@Ñ " (‡11¯¿þzà[þ0nì¡hÚ–-[èÔ“<Œ=5t¬gS,™Ò>Žä=ãdh½1²M•qIYTF½ë×%aöD§ý÷þQ"¤òPÞÿy´ ‰ñÁ âØzÉÛ'q{òiq6M+R*2Mñ7nØ€"š{Ý‘ŽíT§(Š€"pø# –N뱕“W­ŸrÊ)þ¹sÆââí²œ¹¤FTñÊôPdÒ}é‡+/zšê»úMÛI‰ø\¿øÙgçÊ›4›`’˜)ÛÄþå!>Üú´ÿ¤0PŒ–W IDATdMJrñ5÷Ž4ˆ(ï?OO™9s¦Yð#Ä’ëo›ßÖl쾞ãªÕkh±•wŽj“:êNˆO@:¡Hú·?:´Œ" (ŠÀ¡C@I§…õz<Ø )[Ò˜lŸ¡Ï%IîKÞR2h¬¦<,NÿØ™òl]t†”CnDb~"¶¥Vê?jÄÀ©ý7èGÅ+Ê= º?¾gAîG”âQ³ƒô÷Ÿ7¶?ú裱bÅ têÔÉßvn#Ïï䫹\sá×\íQ=Š€" (¡PÒéÃ…ñ‚¶ÐÈKŒ}!,f§sœólË!§Er2ÿSæHšòΜP»¼[¿´…}㘠rÐG ëc(ÀÿÙçd&³”/ívËKºøþ2¦´·œ”±óDžó´ÿ –cla½Ûýïß¿?ø9>¦“çT§(Š€"ðãF æå—_ö2”)¼Ï2ZÜÀûþ]@ûòŠä+ç„‹DöÙ19”´#¨ûÝTé«öÿð¹ÿ¼/è‹/¾höîìÔ©“oý¾ÅZPPEàF æþûïÿQ“N^ô3lØ03Èd%"ád¤ø}îCÌ]hã’÷¹pI`4y·|´x4ýÑò£é7ýÖþëýoâóÏß)fÿòË/ýs¥£>k* (Š€"ðƒC †Î98¼Ó%U.é9Ôhêöêú¢áy¨Ûs¨ëÓþGFàPßC]_äÞ{§ÃÈoËJXÿô÷?Ú³³?ùúü.”<Øß·h÷èPßC]ß‘Òÿ˜íÛ·‡ýÅ‘E(ì³s-{Ñ:y¤çkÿéGƒþéý×ç_¿ÿúû'¿ìÿœþþëï¿<óúû×|¿f!3rª3P~\Äà0}Dcòn¾”ßýËÇý’û‡²½Í ²L4U¿Ô+¾[Þmô[|.g‡£•wó¥^ñÝú´ÿ?rzÿÍçÒÁAçûÙÔçKž;ñÝò®~yÖÅçrv8Zy7_êß­OŸ}þùùâçÀ8ö˜ßêï¿#èûBïmI3·ä±ʹßOW^¾ëâ³;­¼›ï¶Á­O¿ÿ?Žï màú‰tŸæˆËˆÔèü¨UÑTù ‡YBSûÓTùì»AÍijš*Táa–ÐÔþ4Uþ0ënPsšÚŸ¦ÊUx˜%4µ?M•?̺Ôœ¦ö§©òAf MíOSå³î5§©ýiª|P…‡YBSûÓTùì»AÍñõ'â–Iî_*î_&®ÒFÉsÅâ$ìóƒÊûþê•¿®Ü¿„¢µGªÙ_?¨=Ž¥ÉÕÛ(yé3–°öß@„ŸÞcõÑçßûÑï %DÿîîA¿GúûïÝtß}o^òÎãÖ÷£Œßôýp`·û#ÆÛð±ìG\Õm ;°Þïñ`9>!(!!ùùùÝãþójvîsUUÕAYi¶-²ç¥`!m9øø#uŠ€" (Š€"ðÃA€¹ÇÁt|ò\||¼Ÿg1Ÿb'¾üQâá¿6ü–kŽŸ5kÖ cÇŽÈÎÎ6Dé`5˜7ÎÌÌô[udN·K¬\·4š}v.I6‰!>˜´íÞ½«V­B—.]ÀÇç±sõ³>é3cÉ6·ã¶ìر«W¯FçÎê0}忦éŸÿ„‹ƒ‹?÷1)) ½zõjîîª>E@PE@øX¸p!† rP[ŠÛáäŠ%ì‘Óq¤5’±iÓ&ÃXsss bK§Kú¤Œø\Vd8MÂáH¢äKÑNlq-Tu„-¤^Ê\”ɵ“J³ ±kݺ5˜éóÉCíÚµóç áæ»ÏÜ&»Ïœ/í•þpšíÓþk€1e_Ú"úìþl*ð⟗kn÷ÝÕïí7ÿ5¹ÿÒÆàò’¿U—/T§(Š€" (?\>ãöÌå7._póÝò̯òòò ·áÑâ:ø9 ËŠ¾@{«×Ê&@3¼œ““cÈ K!ñ9ͽ$ÏÓ‡]·˷-}vXêqõ›†eÜ>o{Ä—2¶Ÿ‘‘ŠŠ ©>Èç!ué3“Ë„ Ûi®;OÂâ‹>;î–Ÿ7oFŽéÏb¦ÏnïÞ½þ´P©G|–qÃv<”;­¬¬ ‹-ÂÎ;‘••eŽödë®8ž¯ÚµkW‰¿bm¾ùn+6mÛ‡Òòj¤&ÓâÜ ì•‡žsH·VE@PêêêñÏW¾Æ¾ÒJ,Z¾7ÿâ8Ć1°5”ò†˜G4…K¸å÷'.õ‰Ï:8Ë¡.à<¶vÊœBñ%]ü^x½{÷ÆÕW_R_¨:Âé %+õ°Ï¦Ûÿþ÷¿xüñDZvíÚF×N¯¤Û}¶ë‹Ôÿ{î¹gžy&Ø—2¬‡èæ‡Òª¼àåÊâºë®3‹¾N?ýtLœ8gu–Y45yòd3wôé§ŸÆ]wݱM¦ÑQ>Jʪð÷ÿ.Ä{ŸíЗ}4¦ÒÃÏ~7Š¿ûé“Ïrs5X½p®ÞÝ8ñý”*)\ŒyŸ­F¯|1Ç?_ãï§Z-¦(Š€" t6î1„s`ï<ì+©Ä†Í{]g4*?ßÙHùÜ0‘sý°ûtŠ +–ahé!ç‰RögΜ‰k®¹ÆTòŸÿü·ß~»™Pj„èƒåm_ô‰|4ŸW¯_¿Þˆ½úê«;v¬!X‘êaa©G|£Àúàt¾Óg.6}útüñ4î»ï>ãßzë­hß¾=x "©‡}é+ûìì<“à|„Ëçt[¯J›0a‚Yï¨0äœïÍ;ï¼c¬®ãÆ ¨×n‹Ôçê°ã%e•xlæ—Ò/' éhú$ùI‰´ÌJÁà>mðá—Hn®?i)‰"ƯÀƒGá†û>EýÔáad÷Üs~ÂÉ2?ýéOÍêl./òæ|‹n;,yâKñY;ö[µjå'µgâÉCÇ’oôáÖãÆYNÒÂ…9_dì6Ø„“˲câÉéo¼ñ†!ž,/åí²¢O|o醶Øe8ÌeE—èát¶pŽ?ÞN^ íµ×â£>2X|ðÁ¸êª«ÌðgÏÓŽJb6¢Ï®Cêæ?ÿÎ2 îÛy-SñÁëññ¢(Ú]ŠÍÛ÷ù‹òÃ×*;ýºµË7Æ%ŽF'z·±jŒüþÈÄg´úg@6ÁŠÏ¤ø€LlT»?ŠƒÊÔ`ñk3ðì¼ A9 µØôõ2¬.ß¾ªŠ+iL­_dÇ|/áìvúdL|:¶}ý"îxÊK@PÙbüñ"œ™£qÓm×â,Ãã·?ŒuD^•ïc¯vÇb¼¹zr[*á´`Ñ " (‡ü¾^F¿Ñ».ÎwÛ'ùRžÉåý÷ßo'ûÃbùœ5k–I“>sD¢Ÿë ×ÉY©À–¿ûî»QTTd¶(`ò?fÌ£e €%K–H1ã¯\¹2¨o¢Oü€VdõÆ](¦¹$' 턯—o59uµuXL~zrÚä¤Ó–T¼…U=*ªj•‘„ïÖï—ãa÷ÃÝѼgÐüçfp5˜?n®þÓW¸xdLjú²~ò Üvn÷2û0çu"˜Ý&à†³"qû„õ¸ó¹—±xü1èOܰà£×± ÝpÓ´ñèNÆÑî7MÄ·?ÙßìÀUÇ´ŠšoWZøÕ'd)‰ž¶Õа" (ŠÀ!A€çl¾ñáJó¾• kkëÍÐ:sØõ%Ÿ­<ò×°p:=5gœÐäÛŽßËr¹é·ó™wüãÿ0Óyôö²Ë.£÷#mëNzÂ9É=Â%…ÿq:‡Í–Iõ4A•/vâÛŠE‰É÷UŠp>óÌ3fÅ»ÈsÃ9̾–|[Ÿ—Ï:رÏ0ñäý7Ùq&žëÖ­óƒ+zÄ9S€ËX}ö‡}ý³eíò‘§èeâÉXØ}¶Ã¶>‹“°øv8l÷¿¸¸/½ô’)zå•W‚ ¿¬Ìçò\ÿõ×_ð´lÙ2 îï³uÿÂ߬؊aýÛ™‰ËeÞíjè‹•–ˆ=s áäb5DD[e§Ò°zY;[Ë5ÕíXø"&ÒÃÉ(_7Θ{£«‹_ÄU'5äÇL|ÅTIáç3pöQ éïz gŠ’±s•9ŠêˆÁÙò˜7ã6bb&âÅ…;ü]©(œ‡ÛÎ>ÊŸ?qÆb“·xÆ\Í¡)“ŒÞŸ]T®ÃÿÝx þïýuþò&nW‰²Íøš¦ëô9¶N¯kÝcö`Ù†2òËðõgD;#_~[ZŸd_Ï[†Ú¨ù>¥Æ+ {Â@¨ÓÆEÊ€" z>ýºÀJ~÷Å{蔺xúZ÷Ž-У½´Èõ$Ÿãœ.2,ÏD”Ë»N8…øœòýß@GŒ %eÒy 'àÃ? ä>îÂ:Ý‹ ۜǜHÄûsçóY sgìÆ²®ØisæÌAÛ¶m} ‚=^Ýýì³ÏHIæ$ –°ËKX|Î///7L{ûöí é¸mâ¸,ÏsÏ=7`xÉê%ÄÔSßüÞ6…ê3ëf2ÎÂé¯Ã0r„ãÍSo6ûor2×C”Èë;í–òvÿ9,qöå>p˜­˜²çèùçŸï?¦”óxq¯ó\WÛ 2Ô«Oî/·‡úOM2m²eÝðæíÅ8nP“Ì„’ëiÕ"Õ<ô ñB`¾-³’±që^dg&céš"WUÄxÅŠgÑzð%8qÚ¿±ü—£Qöå3Ý …³Q“Æá´ Êqq¯¤uæ\ÁÃàOo}„N+Ǹ)ãð*É_Fò ÿoFMyw¾ú.’‚¹¹ n/ßGúÒ±à¿ÄôW‡ã³õï!gç Æç™::x)&ãq|vÃx|Bo¤´§z<%h׳7ÞÐŽjbÑ{æ>ˆiË»¡ïð‘8ý'Ç …ƲÍˉ^C³½» °â¸m‘Kþš Û€Þ¹¨æaôˆb<Т­(%/Z~É·ï;Ì£ÊÎ>Ê{o%Y}E@PC@û<ï¯see Î>½Ÿ1⸭HLðÐâÝþä4Ímæ›Þ‘M)ïÏô˜d®Ãï~ç3§à9 ›|“øñÝwß#OŸ|àŒ}’ 1?ב:˜oÐ?iUÎ.@ÈGLHÎOH¸aì˜)&,XH•I>“ I\ä#ù¬kùòåæ4Ÿ 9/¾þúM|àYî+÷Q|Îck(ùL8ÿ÷ÿ7He¤„ûÿ÷~S×Ô›§úÔ“.r‚9×eãèö_ò¸O¦œó°º8!û,Ï::wîŒ'žx"$nl åþ°3ú}}”º¼9ÁŸ¥åUf[$Îá¿¶–Ò$æ¼–idq<_€ó ‰ VUÕ?—kŠ[6ûï$>OÜs1ºrÁ±SñÙ}ocø”¿aÅä¿¡Ì䟈þ{Fš9Ô]½r$Úëü©èE~Y[Œ<ˆü••SJÙ£ˆÏ±môD¼ºþMŒíHù£Sqâ”g°å+Vá!"œîû¿;ÈÈ_|Ïøpú«øûìUD:¡ºü[Jo‰5÷á(úƒÊ´•RÒ;ű'’µó` Öß”¥Tœ{õõ¾0{)8‰æßö()Ƕ•ŸÓœä§ðÉ«‹pÛÃWÁZG„jó÷;o¸xo ¥0ý¤^¥Øýª@ñQäÆûç©FËg»V|AVäcЧMÜ®NPEàÐ#Чkk³Ì‹³—á‘g¿À™£{b­¥ç¾\ZˆYs¿ƒ—ˆMP¯5Ô•ÞaÞÿÂqHÈÿî÷Ò·X@œ%óÔ=žï)|Ã_Þ’ä4s1™ò9®Ÿ]ÀB"I4#&;¼a¹ñ)Ì„…Ã_|qHBãÓÒ5júöíkôù$ ó‘)i¼äó1J|ddSÅÔ§OŸE\ý,$i&ÌtÚbú,ýöùS§N ¹BœWymذ컎‰!—}¢›}»^)'i’Ï>ãmÇ%ÌgËãã;EN|¾W¼A«{‰N‘ŸÓ#¹Tš·Éûq²K¡‰Ì½iBóê‚](§¡v·l§ü,äµJ£3îc‰¨6eP1¾ó0îXx'Mx[”’IÖBšÁ¸·šòP>ŽBÛ§ušáu"ÝÉ´7éè+oÓÂðnqÎñ8… §Ïù­¾xçÌTÉ"?ÇŽ#ãèœoÍPþ¨›¿Åã>À%£º!9æ(üßïB6²1»–Ç‹•¥ ت{ x Nÿ+ÇÈðGÅ¦í¾º8–„þªTVû·Š–OKˆ°xÞ×H:nZ± uŠ€" (ß;LuÉ0tj›…—ß[ŽÞY²MÏS:ç³ˇ#œ\XÞõìÛaáÌS¢¹ÓN; ?ûÙÏüSùì)}¢Gø€Ë'Y7§œHdWh+à°±6/á†qÅ<òHÀû‰'žÞ 2)©á%nëãNJítûé«G⠸袋ü7ÀKåÊ+ÊñòË/›}(YNRfËŸ´Y|ν⇳,J>—aÇq¾¸~×ñVQ<¿”}^Øc;Ù•ßNsÃF¯o¨]ÂRŸí þ|Ó8ܯo?$&&š•Ï<¿¶±ª¹5¼Èè•W^ÁþðtëÖ-X )ù¹éXOû‚É)i4Q¹{‡x|ý‘Áâ $$Äa@÷\dÐOžcÒ§K+|öÍ&ä·ÁÃÖ—ŽÞ#ÈLxË7´‰Û½®ºr3ò‘Oùý)ß ˆ ’]E€Å*ãÚá“°¬“ÕSG’µoÎŽ¡!m¿Ý…·“)bƒÔKù¼2lÝ'+ÁMÒ6|ó*-x¿¯··]ÙýñÛWêqÃŽxêÊÞ˜2æ×8¾ü ò=þ;íI¨^•a?Sr[˜¼ÒbÏ@b‡žhO¡oWlùÝ;›¼ÊmˉvƒÛ°¬yü‡ïÚ­DÅ•KgÒq4‰œ6bŠœï+S»Ÿ¬FŽ;­èR_PEàûD€§±ýœö¿¾ïï£ÌgðqÛSF#‰é©^9Ã\+ÎLdl®!i–hP°gÏžf/rž&)„•u°ß.dÒ(Ûðo’°e%¢H|Q Ù&ÌdêœsÎ1ÄSÌs/½ôRìÛ·Ïœ)ÎçŠÛ—0Öã^vÃ¥>©ŸÛÃdÕXîjkü~iY©™ïÉ˳cÂÉ¢wìØÑß—HõpÖ-¾W®¶®áo Ò×ËeyE½ë8ÝÕ对Œ¤IØÖÃy’Î7MÂIÉI๜ìž|òI¼ÿþûþ~s½R÷»ï¾‹_ÿú×f0ÏÅ•ºØ‘7ÊÂ|Õ3Ÿ/&‹ª¯=,G/ÎÃé_.ÝŒU´Z˱üQtBQS\“Ç“øÃx˜í®¨À†…ÏbÒ”€i“П]Ÿ±WPþ~í±pÃìØ°o¿½†ˆ}–ÅÊÝØ¾c^ûãÝ Žˆ½{¼íiJÔ×ß9Ðb gn ¹³;0ïoÔ&Rr9­ $†‹y4ÅdÞŠBÄgç¢GŸ”–î›_t2Ì~{ËÓX¸£<*^» ó_ óWI[j±£ »hßÓÊÊøð¿o’б½—|"®3Î:. ÛÞü'æo¡…CeëðÂãï;ã:óÄÍ8 >ótjÆ\<ýþ*ŠÓ 3Á:{ ·%Z>‰+[»DovñZV½©ú©(Š€"p8 °}g)Šé •¾´(—¿Wù4@yójöâÒ*°\$À#|ïl~ﳓ÷¿ÈØzødCÞ’ù݈#ÌÈ)s1›;ØœB¬ÃÏWLÈÇ](ìáÂB%,ßn„4Œ+>ûì³ ‰ùå/iü¹sç‚OÀ™1c†]$j˜ë‘Ær[¤· ä±<¯Üæí’8/>ˆ '·‹ãìDís˜Ë³c9‹¼´CòP”H²‘òX-·EÚ&qn‹´Qnn¸&üÏÿüfÏžm†ýþóŸ›m ˜ˆ¶iÓÆìáÉ[Jñ½àvð4¶»m’úÅWo{ÄÛ1|¸`=N<Æk}cY¶lî¥Ó¼Ž& Çz±g9–oêvIÙƒ®ÂòW÷¢7-zx’W+/*Ú~çI&’Þëb¬ÿ¨cGÑ" gnñ Œ{ ûN€ëï»cn‡üÛi„~ÚŸpç¥Ïàö1øÕ.œ–”ÁS0\¢§J!çÒ>é·ïáßåãqÉàN&•?î{u9®ÆI‹Qðá%¸äåÍ„w½R~òËÇ€g¨}­Æ}ŸíÂÔ£·á7ߥ‘ïÞщe)æÐ VsýÅ“hcø©8ÕšÐÙÿÒ›qú¶»ðô¿ÆÓF®õo<|´‰ÏÂmŠpÏsâš½ŠFO¾'øæfFËçk>ŸGÛ2Á/yê§" (ŠÀ÷†oÏt¦w×Vôž­ aöeX·i·ÙþŸö5é¯ÌYa6ŠÏp»p ·#ö{ŸÃ…ؘ6iÒ$3w“õf.â:)+¾ÏiÌ5„Ïpž„chSu/µKPxõêÕfÂ(9ɱ…‡¸õ«_ù Ô‚ š4“79ç ߣ9i4¯fç!cŽsýB8CuÞÕÉý 7Äܘ>ó²V&§gêÆÈÖT£¸¼&d­fÂnš®îÚÊ}ØKã÷µd•Ì ù¹‰aˆß>ZHWJ2-Z‘LˆÖ–íÂö½µHmÑ !ÂçïÀß®!v>éN³¯gÕš¤(Š€"ð="ðÏ|fÖEŒØÿ}—¶Ã«­Ç°íðù·›ˆûÄ༟ôÁüE´Þ¢ ×_:²/Žg½÷Þ{¸÷Þ{ͼMÙF‰óãããÁG_ÞqÇÈÎÎö[mý¢'Tšä‰ÏGZ^=~(ž{k í¶ Ãjo&0—UTüëh¥ÿ£tüeRb¼‘ã9)ûí>!.'ýá0_v[$}v"Ï2L>yýÑG-ªÏíyÉr싳둴H>K%—‘Òì4»W$ù]»vÑÞ–s¹-ìØç¶ðöSìD/“x³/ÛW‰/rⳜ„M ćQöE>„˜&)Š€" (ŠÀŠ€p »ùöûß‹Œpöíp¸|‘n#u²o‡Í8±›ÈJy1oIÄ‹u˜¹² %'é⋌]‰Ý`;,2¡ÊÚz†ÙvÊòý3z(,NôsûwïÞmH4o'$NòE¿Ýg{nƒ-®¬è_䨷ûÌzù¦0–¶HÛÏËË3›Þ³lXü½¼Òôž¸·qŒ…8Ö'ŽÃÒNã°›/²ê+Š€" (ŠÀûýoóîÍ8*ŸeìË-ÇyÌm\žåê6åh› úPœÉì—7_çac&>BTÜF±,;Ö#2—°È»ù,ÉE+-_t³©—­Š¼u¯èŽÔ·Ï¢ƒ}·>;Ãnÿ\yÎças¶b2Áå9˜‘c¾uëVƒ¿ Ç‹N.'aöÙ¹õ›Dë#’7ßíŸ+ïæ»åÝx´òÑò›ªÏ•wãn}n¾Û?WÞÍwË»ñhå£å7UŸ+ïÆÝúÜ|·®¼›ï–wãÑÊGËoª>WÞ»õ¹ùnÿ\y7ß-ïÆ£•–ßT}®¼wësóÝþ¹òn¾[ÞG+-¿©ú\y7îÖçæ»ýsåÝ|·¼V>Z~Sõ¹ònÜ­ÏÍg>ÃüŠ fvåýýç}:9ÂÎr•65™ôîú\|÷ö6wû´ÿ47¾‡»¾ÀÞÿt ¿/ÚÿÈÔ»øG‹77žn}Í­ÿp×§ýDàp¿_ÍݾÀÞëï_8|ch#PßÀ¬ Yp<œ~™ìŸc²ËeeXÂÓ×üí‰Ü‹æ¯Oû¯÷_žy~ö$¬Ïäo¢7·ù¿‘kmþúôûßðÌ3öúü{ß…úýüMôæ6ÿ÷1r­Í_ßóûïa Ź–d–³å%,¾èišo×Ïúé§Ç÷ U¿­»1íµå£…£ÏŦ?t¾ö_páû®÷_Ÿýþ{¿úûhÙ•ß ñó{-²ñ£Ïþ­—°ø©#XFÿýýÿq¼ÿbÖ­[öÏ*÷GÏýRÊÃÒ\>/‚1«Ò}–O ³ÿ}8íà¾Þÿ†ÝÆó¨Ï¿~ÿå7Ÿ/ ëïŸþþŒß›h:õý§ï?yç›ß#ú«@ž‰hÏN¤ü°ûtJ%¶ï†¥ìÇ¿ ”ß 7ü1ç•ó}J‡Ø7Α—•Øâ»òAõhg‹QdÜò®¼´K|Vo‡Ýò¦ßÒ–°öŸÑr.Þ.^rßÅwåƒðwjpålÿˆõ°så9.é&à“‘pPýúü7<ó ’>ÿÞßBýþËW&Àw¿oîó"ß{ñ]ù ï_€öàﳓ­ßúÝL ³/qÛwÃAøëï_Ãoƒ¥¿!ÿÑ1òF‘?Œ´'Š€" (Š€" (ˆ“HÞÓ;??ßì=䬬ÌPÞ‹œÉ¦}qï^^^®¤ó±×⊀" (Š€" üh`ÒÉDÒ&˜)))())1ä“-œÇrr±¥“ÃjéüÑ<&ÚQE@PE@P !•<¤ÎN•1Ñ´‡Öù$HŽs>çñÉŠJ: {-­(Š€" (ŠÀ:/--5[39.ƒ"ä”ÃJ:uŠ€" (Š€" (Qàmµdk­ªª*ÂÉÙºÉi<§355ÕN‹SÒ)H¨¯(Š€" (Š€"*gÇ«Ñ7mÚ„¥K—bÛ¶mØ»w¯™×É«Ø[´hÎ;㨣ŽBëÖ­Í0;U%¡ÕLE@PE@PA€‡ÎyaÐòåË1çýŘ¿8KJÚa{âѨO‹EVÒNäoߌ^+>ÅÊ•+1zôhtïÞÝX=•t Šê+Š€" (Š€" DD€-–<¤þöëkðÚW-±¸¶-Њ†Ð[$lOiE´ ÷}‡}¢úÝw¾Ž;ª¥3"²š©(Š€" (Š€"€À7‹6ãÝÏÓ°¸¦5ÐÆG83ÉψG»Ôxä$Æ"%ç(”ÆaéÖ‘³h‘rWKgŒQE@PE@‡Ïå\ôY<¾Ý×h—HNºÒ™p&¡[fÚ¦$ =™ÅÇ"&{8Ên¢¹Ÿ(,,TKg8P5]PE@PE ^¾t³m1ò”ä…sc ¹WÅ mj"Z¦'!‹ˆg]q´•çîöPüÝ2ìÞ½[Ig ”SE@PE@‡/"Z[ž†‘gæ`lÿ "–±ØYUw6Ô!#-YÉÈN#k'Gãé‰=ûaçÂR³•’wÝ{8Íš®(Š€" (Š€" Xl§½7vLAfR,ãc•@$3!™‰qÈ0ÈÒ d¦Ò£Öif{%Ý2ÉPƒŠ€" (Š€" (‘à}:cêb‘Lg«“•“‚ˆõÄÀGç­Ó‘—<¤Î'dÆÓbvMõ¬«¤‹¶Y2ÇdFV9·z[adÍUE@PE@8¬ˆÏ¥mŽÀyèõ˜zR@W-oú^KÄ“†Ý«#ÒÉYä{âˆpÒ%ç³ðêõ .¸À[‰~*Š€" (Š€" Ö¼ð Ü>¶t²«#fÉÖÎ* ×’OTÔX>ë)»Ži5“Ré<`K§©Q?E@PE@P~4TezàIŒ1Cæl×äCi4ÄžAûs¦ÑJ)I'?‘üJŸ”ÁÑ…D?šGD;ª(Š€" (Š@ó S[ÏvMš¯Y a§£1ëPSÃ…«*ò9Ý ÃS•<Ä~ÀÃëÍÓtÕ¢(Š€" (Š€"p¤ Àä’m—f(BÕ4¼^McêÕ4—“³ˆo¢šFŽ"ä”tzqÐOE@PE@PF"POó9yN'<ÍjöêšZÔéd²YKD³ŠÈg]fU‘O§¯7\SE@PE@ð"+M2uVÐÂ"Y7”ö‰7au§ÁwJãŸSK§ ¡¾" (Š€" (Š@£ˆa2IW -Q¯# g±Î [çùœ5L<‰t²Å³’ââÔÒ)H¨¯(Š€" (Š€"Ð(ØjYIcë<§“ f%£×ÒÏJ"œ•DFy>'ûL@Å)é$ÔWE@PE@hu4nN[p¢Š–¨ó—¼5R%Y;«y;M6pò¢"^Å.N‡× õE@PE@P…@‡YÚŽ5´GgJ\-è Ì:“¶ð4G`&Ñ1˜FÀ§QIg£ U!E@PE@P?D,ãéâ½8‰gÒÉDõH"Ó'íox&“Qåq\œ”$õE@PE@PxˆBÒÿ²r²KLð –Òøt¢ºÈjÂ,&N-‚„úŠ€" (Š€" (B€1Ÿ4ä’%Ðñtqš‡,ž 4´Î|ÔZG¤›Ã7 YRE@PE@h@€-™«#šÉÖLj÷Ð8;û<ÜNž!Ÿµ,äsjé$ÔWE@PE@h´§¤SP_PE@PE qиz ÌX²dÆÒX»'.ñÄ8=Ä,c‰m'}°Œ8‹J’úŠ€" (Š€" (Š@xh N:{ÝûÁÄ’%Ð6Jl錣tžÏI<Ô¤‹%‚„úŠ€" (Š€" (B M™Ä<ëø$"bŸ5´#|•7‰N&2Y¨¥@u æ!^ß½mŠ­ÝéÕ³BÉY9h•jŒ¸¤Žô¬ZìØV„ò¦âæIDÛÜ,]-v¤ß~m¿" (Š€"p˜!CG`Æå¬#âY_G“N"¢‰jˆ«ðùë|QYÏ»iÇ¢yxìÓB$ùôU§üì\ kY……¾'f~‰™E¼)€× êÖ·]~:Nê×bÍ¢ùxò…ùxtu‰'?£ûõÀ%§qCó›°ÒœÚÀã¦Îš"üwÆûXF3=“¸Ü÷vÔ÷±½Q±y9žx~žút+Ös^»Øðài†ìGÂäó·ßÆ#¯}ƒY>Lî½}&÷Ka ®¦Ÿ¿÷1fÌ&ì65`ÇròpΘcðóS‡¢C«ì·¡¡5RE@PD ŽÆÍyï Šz"žL4™x’µ³šW±×Ó¢"Ê‹#ÒiÏ‚<ÌHçþ P‰Wç. ´Žb rŒÉ½òãS_øÉ»¸iîwþÊ:î›}±‚Å_⡹OsG÷Çòþ…›Vû‹ø W/ÁùÓ–à²K'áÁ±]üéÒ¸ÿî'0=Dyº˜»d‰¹®ìwÖÜ~bxKp€ÒýˆTîÆ£³¬ÚeàÔ6ëqÂýóZd?&ß&·:}ª4»s5¨*\ô~6}Žsò×mÅC3_3×´«®ÄÍc:4dZ¡iƒ¥FƒŠ€" (Š€"Ð ÔÑFðõt*Û¾jh'ø:3v†O £1icxÙ“ØhÇùB¢fèg ŠL"ŒƒÓ(öØ[ ¤20sþ;ÓÎKÀôñý"ñ Áºnšpú Q`Æ3Oá7n³“¼á½Ëñ³Iá§#¾dÆüu‘“.JílêŸ $ÏÓܦùÁ„“Œ)Ô+—pè¥ÈâמB¿„Ó•Ÿþ·'pò_®›·¿mpõh\PE@Pš"–|Þz,Y9‰gÒIDõH"Óg"…™gòå¡<Ž‹³‚’t¤ùqqÆ F¯ÿt>W%£xŧ¸£ÈJüŒiiÅÃ;ùÓƒI©d=úÈ»Ø(ã—á?÷=‹Yii×oÝ? ¦‚ÑNÞú¹³0g§“2º ëÖ™Mã iãx÷jÔü¡ ÁÞÚvU‡$vS:…(_á›0\³aNxf­-î çôÄkÓ‰%ý ÷ö ÆráÜ×0}¾}ƒ‚UØ)‘Ú`ËiXPE@PšQHúÃç]’K¤-,c)ÃŒ¡‹Œ &Ìbâšj+“r‡•ŸÞo®Í• hÕV<÷UúȱR«0ûùùVxd ¨ÃNTb=Zà‰Û'b\¿x*iNè}ã¦%óï0sÁÜ<4ËÔQ±æ\ç ?ó\Éïh®¤™oÚq$žŸ^ƒÖÓæXmªÂ ŸlÄIcC37VáÊÛÿÔuBÓ¦MÅÍ£Ì3åMúSˆø•q?Úã‰igà¤(ߺÕÙ‡ù;Q‰õTþÌSNÁçÖžJ¬Z¹y}¸NêÃßf“ï¸vC©ïc}sms1ùö[Ðæ¡‡ðóOí9®ÀC¿Ÿht"õáÛàÔ­QE@PE@h6h§$³Ù»!—´ˆ(¶ƒ§‹9¦‡,ž¼4†ù¨µŽÈä5[¾?E¹8ïÌà]絘YnÛ7¸{‰o7 gv ¶¶Y&¸žÙ[O܈ó˜prJb..»}2Ý`÷Îò¾ÄZ|øâgA7žlÀ'O×!ø½Í‹©Ä̹KAë—È™yÑÀ„3g ¾~v2ÎH; ¤¦£m×îÖËi”£k=ŧÝðKü‹lum™ŽôÌ ÚmÙžN8ßï’mJ~bÊ}çETgM>£)/À•-Á«K¢[µž …mC€B(Š€" (Š@³"À–LRGTÒCÌ“‡Ú=4ÎÎ>·“gÈg, ùœeô”¤#Ó0fHpÃWùÖPõǯÏ!‹eƒûýÄáÚŠiÚ´‹0,³¡œ7šè¢Dhn%6ls-¡´P>¹Å{÷`ÇNïU¼w7h”¼Ù sGWÜ>t.:4Ñæ=~ü$Ü<"7¤úâE8¡”ÕÑzò¤dj\bNî²µÑA‰ÔQ¯¾" (Š€" 4?´bˆYò¢ÚFÉX>)çs5éRsHÚ$™GšßáØáM¤s®Ýð²¥øhÍÑXûR•Ú¿8.òœEK¸iÁ¬$$s‰ÔVø)U±Ð%ž)-pfÛHóH«È>Ûí£r.ºJL›Öôæ’ÎëØ–Tîuºo×Þ&©ßÖKg“ª°" (Š€" 4 lÊ$æYÇ'û¬¡£‡xR!“Q6KŸ5–aéE:A{vNêÚhzëw´Ê{ÚSþÎ?]›¡çë—® ÐË‘Ñ:ú,z)È´öºÁ{{&wD:EòÈõÓs3‚¿pIM;rE|uUðÜWZc¤NPE@PSbèÌ¢–uÄ.ëëãPË'щD5dãó×ù$¢²xÒö~gMïô§Á8VÃFï¡;Ò7œÚ!tV˜ÔD^ûäÊðé'óH• ;{ÐÒ»sR@ÉÇèÈÈærÖÍ¥²YôÄLJ`ÛEk°4¤±sÞŸhåFœØ3üœÑfi¤*QE@PýF€É%ošTk¬šÕäW“ųšH(g1׬¦€=‹ïF:ìþC0žqãr2E8ã;T±¿ž£¸{Ñ{¸u“+€Icºø0ê´`¼þÓ×pÿü'YªjøÓ¨.)Q‡à£*9(I]ûãÆ ãwáÁ–Õ·{ɧ˜´;R ìÐÈ…PA5APE@P6õõd夫–®2wVÓZfg²YKd³ŠÈ'P³w’¯1Í0È|°»ÕDýž¸ì”4Ì´WªûU$àæsúûc Ìšõ<­ß„^uŽÆL$맇ìUIl³²ŒI‡él|_#J~üø0Öh‘—v±†0‘Lv‰éèÚ5:Aò ‡ûŒC«Ü|ºÂåÿpÓÓ[æ¢?]âºJ@}E@PE@8² bÉg¬“‘Óœ½Gr&‘Ý,‘ÆÐ™gòå¡<Ž‹³‚’tdûk>Àع3 ¯™t\޼<²û¯­WE@PEà #à! Iÿcø¼Kr‰ ÄR‡CAM˜ÅÄýÀ,Eøó]s¤o>Ÿ¼l°®9™UE@PE@h"¼€ˆù¤!—´ˆ(v茧‹ÓxÙG ­3µÖE]CÒÄ&|¿â‹ÿ;3h£ñ3ǟФÕÐ!dü~»¥µ+Š€" (Š€"px!À–LjQÑL¶fòP»‡æs²OžÙžÉg- ùÜÈÒYŒ•é\õ~í!•VdÒ‘—]¤¯òsºuÅ™ÝR‘ê;ɱ”v^ï‘mÍ‚m”RE@PEà‡‹íb—´~ÈLC6É®Ik‰¼”&¯#ª#*îD:y{žëpžôl?ý#Æâ_#ö³°SE@PEàÇ€«ÇÁŒ%Kf,µ{âh7bœžÿÏÞ·VQœm?Ü€r—;$" 6¨AˇðR4¶b´A[ÖÊ¥µ6øa)ü–¢-¥…ØVÒVÒjÐBZEäòqQr Á &!DrBNrþçÝ=—䜓. :'»;;×ggfŸ}ç}gÈ,›m*'ÿH˹ñOËK5€F@# Ðh4¾àœÜ{Ýø#ÄR ˆB¹Œ’H:›Ò_ô9ÉC•¿•Š&ú¨Ðh4€F@#¡"Ê$󬕈È>í\þ¢áʼnÔ-ÔðÄ~-oƒPMu €F@¯ IDAT# Ðh4¯ nDÊY[[£Öꬑˆ¸#‘;Éþ벑¬áÉå;îk¤Ó鬓>Ñh4€F@# ¸Š¹¤ö¦Ú{]¦Ú«ƒšpÛK‡ÚúRn ×”ý×m*/è4é4pÐ5€F@# ÐhDÀá ”“? <DSöj{šf²YC¢y‘L´©°QmH ¢:˜F@# Ðh4@=šP*‰&-×m$œYWô"Y§œsÖ]T>ID]Qµ¤Ó……>Óh4€F@#  !“üÙ«Ôëtp½¶jJ>©ÏI›"Pð©$žUÚ(4u€F@# Ðh4¯ˆÔ²Šs벦Ì*±b§Žg gɨèsÊQ¨åô’Iú¨Ðh4€F@#µœ7—U“.ÒDÝÁ_•OJ;«ÅŠDSœ|*+v+A=½n!¡€F@# Ðh4!PË…àÜ•H6 ·s%øæÜ3”+ÇrkÌ0J?ƒ¹+Q¸ìƒé¶“¸–t­¤øú `+܆%/-DöÎÂ+V©«‘f …+Üž‰W27Áæ#ðWU.ŹƼÏbMÆ+HÏÜ l+Ü„W^ÊÄq_ ¡ô}€FàúE€ÄRö[oB©&y&w"r œ¢Ï0ž Ï”_0ïɵåÜN-¯kìhۋǸ¿RÛ/66Öã:hx:Î_íbÛvÖ+‡*Sâ—÷Õ®›Nÿ…€½h;&?7ÿóþ‰+Vï«‘f …+Ú>SÝ…J=ËuÉX’ˆMg=#œß›¡üw^õÄÈwoz¢çVwLc·_í²ØŠ°lÂLš·Ý'~ž(Õ¿ª.Ú…)ÏÍC‘›¡@ÝP¶ƒ™ª®é_¸u  ¯5«ƒ@0)$ÿÉ~—ta¡ÁhB?Ù3ˆ? AÕ¹³Üµ?½Þ.]‚ø*V(, åyë0eîH˜:ǶGUoDÞ‘à~).a*–>K…Y:æÖé.4ûR2þeb?ŽŒ¹¿Gù·¦â™áݯۊ‰”gö¯Vã_¾€aÿœz\ì‚›·SeMÚ«Á2ZÇÆ¤Ù`¦væsÁáºåªRDn%îþŸå¨L®§&=º¼9_^ÐnKÆÂ% %Ç4j˜0e.06 KûrlῪÐñjjá=pßXàË©vˆÈ2nð?þ^ÁzÚ/ïéèØ@ ˆ‘ðIE.iDÊåàCø¿`JéD;ŒLIuØ~Št~ï‰g2ÀõÊpä„ËèËlPx°÷êÛm¼^ïE&﫱ß{))ÉE‡ñ‰@9þöÂï…]פŸçbîksÑ15Í édSÍÈ{ó Mƒ7ÀNµí`¶mß …÷€1¼Ö"6à·Ž®<•¦+Ú%žÙÕ6kÁì¿!hé7ºåФÜkIxå‰3øù·¼¯Ö±î˜Òù·ðÌfnö½XGÒyþG.kl©›‡g]¼·Ç*Θ‘å¸ñWfS²që‘ð:/¼÷xŒ÷š¦ÿ2{‰`{ôS{i4W‘d2ÍZÒL‘fÊT{0çÙå(Óí<(òY#L'„ôºr•ÕJƈªjׄšíÈr$rzê¥5Ç=ê²3#±‰¯ 3{F"ç,Ǧì—‚fü OMÇq·í™ä+zÚð „4kFÐb‘¾É3=#qïóH2…4|ø lڹƘ†}¥Î|3ñÁò9jŠiøK;U2ö³;1ç1—šÀðÔ—°·ÔU|ïé—Ï@L ÖìÓ•âƒôiˆuSI˜–y¡íØ»übåRWxì¥l—j‚í f Ž—²·cÍ+©Îé¿9Ë÷:s²ÊµóËŸh¦›Š5G”É Wê?(ö1dn7õ%1XÏë§L f±˜±\ÊæËùª‹„÷“Ü >ìø¦L<æ†IPj¦ÂÄ~v;f$wâ”8;Ï Fp3I¢cJ\³ê3Ž• §ªk‰¿dÉÇÊçS3ÊáüëJ õêâºç5U”†ësfÝl£,¬ã’•««³–8fÏ[I¤ä1ñ¹°ŒËV¯s¬^šf„›h´—ê39Ž…SÇ*¿˜‰óX,Ç1`¥76m™c㺥ªÍH»´Z«{;ñŽŸŸgä;ó²Ö9V.1Êš¼ô€Iß'góä³Ýg­cÜ¥ Ͷ"Ê{Ýëàjë¾s0îø©— íÙ8ÏxÉóë6®f6ú(Æ.QÏ«¡Xí,ûæêÙFÛ»p›ŠfÔ)Áaug^cÓ«·ms,›-ýŽýŸã‰1"xŽ)ÉiSÌö¶ÎlÏ )Vͱ%aaŽåc”)Çë’—îqú—l[¨Ê±Pú’;f1ÉŽ…Îþ ÇìFj΄½ž¸Ú•¯>æÞb&Îv,±ú6’X–›õpŽÙ àb•YÆ÷>Yâ£=V[©0IH[ªÚÅÒy³«›–×ziOÀ7án—Êû$ÞêÕ«¾Ù1sU‘céŽRÇ_>.s,ÚzÎñÝ”8&­¾àx~‹ÃñòA‡cñ ‡#ƒCÕk'ŽÇ{ÌñöÛo;p9_3¤“í'g¡A–™ƒÍg«¯q]îXªHg²c0åÊË’MBE†q`™ñRYmñŸjƒdŽ]b¾ÜxEÊ "µÑäkÖà›¼p£™¾¬|cËö˜ékåµÄzÃѯÄ|¡&/3ˆ‚÷ô$Mÿ®òð2ãÅœ0Ïñ™ÿ |imS„Ñù20_~B@ä&Îz,=`”ß*WBZ–ù¢¯4°MX¢ˆUõá,çËÙHù > Æ.5âð#AÈíØ%{œA¼ø«K@ù4Xƒq‚Ñ‘uØü¸ðVåWéX(ä̬§xUXªêºÄúR`í„Ô»“Ì3ëŒv¸Úüxi¿zÙ×}F^°«>f`î"™ÕϤ^šîÖÇY²ùlÜïñ¼~ÙªÍ,϶^'bC—uëÀ³R}8f¶G»^7›Ä“ÏÄÕ»üel<Ÿ„…lwÕæG)ŸýJv”êBð,ÒiÊ©ŽÎfQÍ9!¹ ŽªoX}Žyò!)Žiʇ©E­~îsL1b)òèÏòv°¦³e¬qÖ¹Ò³L ,Ì&.u}l—lt$HÕ×n®¼êŸÒǬ¶–åúÀùÌü›g_+Œ5ÎøÇÅ,³>éµ=òãP}ì70žÔ¯¡öÑ|3¸R¤óy’ο|LÒ¹½Ôñ‡mçe•8žù_›ã…­Ç| *p8þ~ÎáøK‘‹tº =Ùo¯_3ö Uø?¿½›Çóø÷KTÌOXˆz»é}&܇»º[בt©éªÍÙ ÚË4#§½Câ°’÷ÊϹ¦Ó%HLZŽù ÇŽãï3 Ž´Rc¦Mæîaœ'<…ï p¬>/)Åàh—_Ôàûé|V|Á-¾ôÜBÔ;­¾¨¼’ƒÎõnÒÃVˆMËÓ1í1ªŒJÃ/aÆ>õî4•¼"ÛµW!Ê/ØÝB&`nÚC0JïÂGÔ+/T¨pO>4О C¥rùÆô¤ý‚×éDWóÌO]ÊÇLÆg}lŸbõzâóù¯ÞÞ” í8²=/ÍHEâðQ˜"`q®Ö éTõ¸`ªzXé홂6ætkûûØéö¸¦¥øÂOö÷Œ¼`g/70cÂ-æy&HãýÜPEQiúú~ M£œý hÉv?#} L £^é\BÛôW/3]ßÏêÖIbz£³ @»ö=YO7€NÙfƒ`Þ:R:ö€±Ïeâ3÷…ää92¯˜ÙßÁÍÖÃæSöý'~=vå—ºrIX‚É–1§Éű‰(Șbõq茤¥£ö¼@5ö¿Ò-˜÷¼4É£oGÍwÓEÝŠï‘u¢¼ ö€Û£Ùóx‹Gþûfgä6»ªó-» œ~î'~q±Êì£Ozk‘Ñ àG-ÖOŠ¡:ËcÈøàˆ{vú\# ¸J„ ÔéäNDÜÓÎá…p=xîLdybªÎ!U]]Ç‚»'€Sè˜ôÜJì| “H&¦®[GA¾J­oÑN‹.ÉÑ2©˜½l%Gp}Úa…¢¡={y Ò³{?toç•Îá$1+˜^.<†(G½~OçÆó–·«j O×\ÌÆêºó;‘Ú2¯!³—ÎÃ÷»!½°.Ïfà®[f&W7%'^uoxÉÕdO¥ÚËåáÿÌ_]“ÏúX•³X‚GqlX3ãN<0—¤$m ž™û=D§­ÇÜzÈ-’•^ÌTdÍû/„^4>¤öì幯ÏòøŒÜrUmZ®9½ˆŸßÝV¶ˆèÀÊ ÁùëíÈòW,˜9 s'=€¹œc93ÑݳY¸giœK}mëÖË÷³2ôcº¶ñh­>q¬_Úz>‡?‹e_À£¯=Š)üpÒEó9î9Ybš1ƒ›;Íê¥åîQ·‰44¦¸Ç­{~óè ì­oàoÙÓe))ru< +>?8Ñ]ñ\g~±õèËåP}µN[ˆ ó›¼âRmU¯}ÒU6³ðH/?†o/ý=æLù=&¬+–ä`Eê `úB# ¸²q Ì RÌZ²L‡£)jd'"îHD{VµÿúEC9Áå;®¡×Š3൉ïLJä•sGÁ åxlDw¿ÅÎßý† ×\ÆFó}Ò{Ð(Œt‰7üÆ¿¼›ù8Iá× SØi;–ÃW åŸ Ô åÒ¾’p‘]1œcÈÊm…ª©Z\ê“Õoò~ úv`ÌFlÄðþ÷JŒ)íîÂs,Ö£Ï݇8ÉeêJ µº•3W7rgË7¤÷;£Ùå¶Ç@ú²Y‹ßÊeõ9£“ Üü[çà—`ß}Ò-™zí1²;zfz*ÓBnÁïßÜŒR’ÎzP¹¥¡O5ËC@È¥,š$K'‰t³:¨ ·½t¨­/å–pMÙ‹Z8Ý×fz]jÔùÞG¬×§Æ&`õ¶°ª»~›‘‰ƒÇ ±Öäc¹jOÌ쉕—<ø´šÞ~ô–œžÙ‹ãÇ`ûšÌzS5+7¯ÆšÖ`Íã—½f;ÜŒ“­œœGoœÆ=ÃW%hÉ´v?Rˆã{×`Ê-'?}x€3®·“Ãk^ÂØÔ…8ìÃz=¼÷8dÉ\ÓÊI;#;Äöì ¤g»,Ä·¬ý_ìÜù­Ïc” Áòw6ÓÞÞ2 ÀϽŽá7õ™}2^Y³g "cÚÌe:S§Ž4¨­E Þü6<ŽR÷é–Ÿ¿º”[ZÞO£ðŸ§ñÖzÜw*wè9ˆƒÄå•9é8RÓ7Ê5+ñÁÎÈ~e‚9e}Ÿžõ?o×&a›²ñ÷ÿ‘)Û¹¸1qŽªÛñ#{‘‘ŽülÙ⎟UNŸÏÈ vN럂ÔW²Y–ãªîÖÖVÊuŽÜ|aFê do—6Ïßç{T7£®]u¬¿‘—>ëÕP:Á½1n6™àú)˜0'›6-Ç4®Ó;A¾ÔäcàR]Ô0,\)m@œ¥Ñ£g²QMbW¼8~¶;9^Üý‰iòsøVgùrâ2½ê¯ï?Ž)¾S;áøöÄyÎ KKðô ý]?%Y­8Q(}-ígªO/yú¿óÒÚ£•Yà}l=†ÄOÚ½G8–eã©!S˜ÄTŒŽqûj±åÑ?.~ú¤[·soçiÕ>mb'Ç’#{òP,yµlé“[öúT# ¸B8”ròWÃ_ÅÕö5Í.d³†Dó"™¨ì½®ÖN²ò¼^ ‰–¸渫oœgX¥ZEÆ=Ké?Æ1Ö´¤fý1SÝð°òØFÇT·ûÆi9J¥ýdƒ¸ žn¿Ç6Z1Êò´òö°h`¾b¬dи´dO–aÙl¥EëÓ•Lë†óž­×aÞc9çÝ«{Zý™c©i™n•UÕ£ú˜c¡2ž2ÊŸ¦e±Y¿´e9NK)nÎ2Ó‚÷g[VKuë!×¾ê"÷Ê'€úH2{², vë¹NtÈê9K]eäܵcéëzžaβ¹ê£Ú¤w`ås,Ùö¹cÑ–Ço6”:îYzÆñÈŠ ÇÓ:3w8/å9¯žr8q éä@qI®út!’’’.)îÕ‰TŠôám0 QòÁ3nS+Üþ.±%&`)*W¤ º´”“¥ÁˆŠòþ%~Þ¼ß,2Òï"Û—_JK+e1ä'—Ÿª•‚í|)*ùµÑ,2Ê£R?z"R-âl”¡YÃX¯ÐÑFƒ©jÖ!QÌ«~¢v–ï¼=‘| ÕÝW]$Õ†ò©Ÿ³Ûy”¬ààfˆt+¬UF«­”ž=‹`âi`g¤£Ú ãE¹Å£JÏW3=ºáúÕ-QCÏÈ*W]ì jé:ŸoÝ”½_+ 9WR§­X¡½ÖѺوcCõ $©ó¥g9]Žví¼÷ß@Ò8ŒÙ.¨çó 8# Â­üRÆ{áÄÝøb–ÀßÇßìÊÙ¶‰Í8é¾ôV¤ôÁùRJj}=÷Ël¾û˜kÑyi{¥”FF¶óKì3™.óÄñ='¼ýââ£O õÛ£]Õß߸îNŸi¾Ùdee!¤ƒÛ”à ¿p¼‰Y?Âa£~ÍJ4W®FçÖÍѱu$ZsùßHÚÇ4çÏF´ý/>ŽÄÄÄßõ d}mÝ.ÝþwDœ 5£ÏË•&V –?ÙÀ}qw`Q^ØXãñ:\„—»žõ»zeÒî%ËKÈ›ÿ'a…ä$£ºHˆ†òq¥âç,<ÞEÝ2FµsWü4ÒóÄÓÌ#øòpõL³~ZuËeÕÌ—¿uß×±! =Ëã+•†ý=Ó©_¯†Sà@ÕîJi 7œvÑpDÏžõö¼çÿÊŽ÷=g=àF8%’©HY^~Žòñæ§7]f{ôÝ>¸û•ÙÉ¥í¹¾Î#3õ)ÊÕ“X¾ÜÚ«~ùü–Ùöõã5PÁK;€FàŠ" ¢*9¸Z gÖ©rD+vêxVQ”YEN™“iÔît ˜œ¯‡“’Ó\^}êB¤Ö3 Aô÷Ò0µêÖ¬y¯‡šê2j4ß JQÒl8Ò–Œ«o@Ò Ã§NDØÀŽ× ÍÐuP[üùÄç7LIJm¿ô4Ô»K¬‹¤Ð4ZZ«ËªI6‰§M!ž´^¯+vŠx¯)I§X±[îkE:{yéc¬ª¹Ã1,õ׿î¥Ï5À5@;ŒŸ¹À{)Ã{ã™éÞï}å¾\×4u>HýÊ ¢  Ð\%j›Ðr½IZüÇ„æMkÊ=0C¹5f-Úƒi‘.V©æŠRŒ¯é¼J¸êd5€F@# ÐhÜ ±”=ÖEÊIžÉ=×§è3ŒçÂ3åÌ{rm9·SËK5€F@# Ðh4~&…äÿ J9Å……£ ýšRœÄ… ê\‚YNK:-$ôQ# Ðh4€F dQxᓊ\Òˆ(”+·…ð'~Á”xÊÆˆÂGÝìˆôôz@Èê@€F@# Ðh4.D’É«ZÒL‘fÊT{0çÙå(Óí<(òY#L§%ú¨Ðh4€F@#µd•Ad—´R$S‘MÊ5iKdP2L±#ªѧé4é´ÐG€F@# Ðh4Àà¼:—èDJ2›p®=¸iS„qʦ(MÈ6•€“$ŒåÜø§å¥€F@# Ðh4ßp Nî½nüb)D¡\FI$Mé/úœä¡ÊßJE“N }Ôh4€F@# Pe’yÖÊNDdŸvn=tÑðâÎDêjxb7wO“D5é´Óh4€F@#  nDÊY[[£Öꬑˆ¸#‘;ÕhÊND²†'—ït:­Óé„BŸh4€F@# Ð‚€K‘]ÊÒI2Õ^Ä­/)ñ¬æ…Ü®YÍ› Ç :M: ô_€F@# Ðh4p8(åäOÑ”½Ú^£¦Ù…lÖh^$ù”½×ÕÚIfšzz=@pu0€F@# Ðh4&–D“¢NI'gÖ½HÖ)çœuWPκ;–t:¡Ð'€F@# Ðh4 $d’?{µƒzN£×ÂÆ¹uÑç¤M(øTÏ*mHœ:ŒF@# Ðh4€7DjYŹuÑé‚Y%VìÔñ¬"á¬"}N9 µœž^·ÐG€F@# Ðh4€¨å¼¹¬št‘&êþª„xRÚY-Vì$š"à£"±b·œž^·ÐG€F@# Ðh4€¨åBðîJÆÐv®ßœûa†reøPnFég0w% —}0%€é4é´ÐG€F@# Ðh4À ±”ýÖe-NòLîDä@8EŸa<ž)¿`Þ“k˹Z^ú¨Ðh4€F@# ðƒ@0)$ÿÉ~—ta¡ÁhB?Ù3ˆ? AÕ¹³œ–tZHè£F@# Ðh4@@ˆ‘ðIE.iDÊåàCø¿`JM§I§…„>j4€F@# Ð†çÕƒH0›P’Ù„síÁM›"„Œ3˜Ì² Ù¦pò„±œÿ´¼ôQ# Ðh4€F@#à.Áɽ×?B,Å€(”Ë(‰¤³)ýEŸ“—[GÓh4¯‡ƒRNþjø ªåžëö5Í.d³†Dó"™¨ì½®ÖN2 ûÕK:ÛÄ¡?ŽC»€Ð+ëOý¿,(ðUÔ2¢5Úµj­òéÑIHgÅUϳõ mÕª974mK§¹1ó©xtÀI4»ê%Ö|Ù4kÙáÍÂбM8³®B³6-Ñ’×ÍÚ°Ý4àêÆm ø¥ßn…10‡å›ùvÁ¥§£cj4ÀW‚@Jb:h¹nãúIœY'%ÙäOÎ9ë.*Ÿ$¢®â]’ÎfWc`.¡,Éë.”¨çîR)îF‡¦µØ™¹ ŸZ‰}ÅÇ[ãà'ÆcL÷¯þ;èJBÕ©'&~ïLŒ¿áJ&Û@Z®6¢šSu|}¤X(‘½z{ÃàäöõØz²Q1÷bâ-_¯gîí©Ðh¾f ™äÏ^í ^g-§Ñù£hSô9iS >•ijÊÍè«í‹·à»Ó¢¥ù0Êmí°`A2ÈÌ`Õ T¾®?iS'aRllE{ðûõMñ‹F$Ê>ýU”~ÞÞíe š(È"¥¥ŸÅŸ÷7Ìõx«µÁü©âÁ;º!2¸†ÖVbû‡7ü w¥ïS™M{b<ž¾ÿD™(?ý)~?ïoXà‘ŽQ®êæ·bõâá¸óI‡yß…Ͼƒ7ÕU(ÒR,WŸX:qÝ[›{”²l_aÁ³K0·ŽZ5½žòÄã˜9ìFÛ>Ã/'ÿ *OïFÝÓ7ªñÉÚ\g€ûÀèþ!øäß»Ð⮡ˆî$à×¢4of.;‚G…¡½[©ð¶³ùÈX´BFqñwàÁ{nBËPCp^]QŒÿÙ„e\²Ø›bnÃã£ú#ª™)\¿XŠw_ýV—’ÿNq]‡Á¼x**ÜŠ9+|O»ª2ß‚½ë¡ÝÝ·£kD¼÷/ÌÛ\¨îý0ùáèa¤ùÅ©ÃxkÉVäÅ5þ¶íŠiß¿=Ú57°¥¯íì!ü~ÑGŠü4”FêIþdÜM(ÙýȱõÁèa]ÔÎ 5•ÅØð×Õxç a¦Žê¤ò é2óž* ðçE[ýJ˜ã ½ˆ•Q~™›8½ æ¼[ãâðÝøhË©rÕÒøIY°g;æ­Èw¯Ý•;§îïO¾ÛÝ;E!ÜhÚPx.%žUV6Áóà}Hèßž ~‚e:±¬ô‡Aù!l?r+†÷î‰}¶]SAVÍôQ# Ðh¼#PËw“ ù6š¨‹•z•OJ;«ÅŠÝA£"Þ㤪²b·R¸¦×­¢x9šd¯îpêƒE¶hŽv½‡àEE8%D$yj|ç¾[Й„3¸ê"u ަˆºñ&<;g<9êŠ K§!å.!œâÙT‘ÓààPÜܧ 5÷…ŸcæH“p …§‹ìpf¾4 )êÊóÏ 1ßvN¹Õ} /cæX¹z ƒ3¿‡;„SRbÙZtD/jBé$ÎK#oBñøìãÍ~ 'ºâ&J9Qy[ŽKÚ†kÞ²9BB[aðƒ÷*Âi;wA}­Dõ½‹^xDÎêŠ lHüri×ã¿×ÕŠŠ¡ÿý&|»Ÿ"œ¥'O¢àÔ„D´ÅÐï?‰3iqXOLxpIÉø©S sÕMCÐÌ`;S üD•¹Y+ u 'iôÅ*\Þ)Ï?q‡"œ¥ÇOâô¹j´èÔ¦Ü(+y†ùíOîEo!œ5Pxü ŠÏU!¤Y3CÇ5€4šÝÐ-BCÐuð½HÂÉümv7mÖÓ‡^²Ö=‚ç¨~ŠpVŸ+EÁÉb|QÓ&ãë?8¨«Y~ê ïC qì:0OÅxi V}/ãxÓ­}ѯ ‘«`YˆÓl‚ç#õt¦wÿ}C©°<…Ó%–Î~N>:d|Iõ‰sµ)?Áõ-€F@# ¸F¨åBðîJÆ_07_oNÊÊ•áC¹5f†&Ýç/TäX¦óAë¬Û×ê‘o>§;²7ãth0¶—”àìšMø÷G[0wŸ!eûÃË3ñHw²›Ý‘ÔE¤ªÀäÀf_ÅóÏ.ÅââPüw\_Ü„B n4ž¼5R°߆ÎϾ‹÷ŽÃGO $°7b¸6ÈxÇS:+RÒíoÿ Ù_ôÂÏlœáÙ¡kðÈÖü»ÁruÄŸ'6¥›@á®Õx|îìlÞ“ã;£ nv\« ý°bšçü¾Õ¸ëõ£NT¼žD67Œ¸E€[p Z­_e‡mxàÑ1º/¥ÅüL9òÞ,àÔðMñ÷cÊ·;!”×p1jp[žÖ"7ûmü1Ǧ¼‡Žü/<:´=ú}{0nÍYÏzu4Ô'ÎÅLJëº÷W¬FH #¿cÿ›ßn7Ò©Îûõ9|°d%‹"~0i Ò¶¤žlöøÉ³ _›HhûÞ)ÆaPyK³ÞS*iŒm( rÓQ)Ïû//;„Ò°>øõŒ¡hqzà rðbvæŒéÛ±xîo‡¥ˆ~\Wܯð$9ÏÝŠ™oÖÿ«×bÑiì3¥Œc~ô}Œè‚È–B:ƒ›Ÿb¸Ýútçv,;dÃÖSfÚ}ø!òX?„DµaÏG)ÃÞØÁø¸(ÎY‡_¯)s‹ÍÓ†00?èB[\ƈgŽúJ# Ðh¾ H,e¿u‘r’gr'"‡š ã¹p ùóž\[î:%VñÏ#cÆK˜îþn~}-zÜz+þÚšãæë¾Ì"ðÀmB”ÄÕàß‹„pÊùEü'gŸœàÞqíäO`›Ÿ<a­Z9ýzÜv3ðÎÖús0ûOxàÍ"^îCëAýñì­BÌš¢s'‘œanCåêBÂkaû ÌÂ)‰_(Áâµu§ÜhƒE¯>Œn<³ŸÞ…Ìö,„¨ç.^T»4=Sè1=n…+xï=E8åzïáb’În(þø}E8ÅïÓƒ…°‘tZ.ê–.™¬,Ä{&á”{[×ì@£йY;ô'Ôû>;K:Ôá­úà·O·À®÷bÙöÓV2êhMË6 iy*\¿ÑI8®&ÐÚhÝ­z ÀÄLšß'‘Ê~. ½n&9ÚŒ6­Œ0‡VÕ™rW% $ gÙkÎæb §rUE8[ ZŠ7GGùf!1l˯?å‚Eêîß žJ[SŒU^§Ä>yü4§ÿÃ1ô–Nhײn¹Ÿ‘WÓ•—a+U nêÞ·tD0õ«…o‡´ŠÂ< éüì4•˜ùÒvèH̼á(¶nÞƒ÷»°? N~Z„/Ð-nèȾC~Õ®f5uÚ€F@#ÐHäýÆÿA²ß%_ aþ5¡Ÿl‡Ä êÜá&¤¹¾Iç'‘íN8IÄþñr*þ«»%‰ó`(š;k]ƒÏ=¹Šp«k§pN“§t÷L§Yˆ3çê †!‘x=J{«ÐAËP®’ó8ÏàÂUÎÞoê‚Zñ½[tÀÍIõrÛ»­ÿy#¤y„"7B<«^ͤ%ÑU”}á rÑ0[ô©-§˜å¼¦¬¸Y¨B¥ÀÁétÕÖÊãëoDrB7NÏwÂPê9½ûV¤¿÷Ih.ÇÕ«ÓšIØ•N‰\´ìÝ1u¦¢}FÊZ3….bä H®ÐÕå.êòõ„º{û=o{ƒù@/^€úòúžûŒé|/÷®†—è¶>ýÈíü€3ɳ3“áÔÊ弿‰ÍýÛÜ=úöC"÷äå`þ²\EJQ¼„†m¨²Âg½EÓ~€F@#ðÕ"À•’SPä’FD¡\>„?y[ˆœ…hjÿu ;ÎÅ2œ^×щX ¹¹{ÇuÎÂ}Ûð‡Ì Jý”éu:õŠs#ÝÁZ·~ßYüÄœ^?p=~þÖ1´‰tI”*Ï~V'ÓtqNôêêÔ$Ã%§”«M¤"œ’pd»ŽJTI:ëådz|ñö–µÃJrƒ; Ä_^(B @D §”ÊWò–¿AÔ¬+Ïce¥AÚšF¶R:Œ'·ƒ©Óa\X¨å|¸9[[cLB,îJòÑ £¿÷ÿä2h’ò…Ô8ç!a*_.õ÷·ñzÝJ‚òðËíüÓš_câÑ-Z3n±ø¹»@Òp ïž½›÷¥œV–›Ÿë‚µô’@TŸ8$QTÖƒý8{#þšó9ÆP b„¨A\”Gî áNïúÿ\MI$Uæýt(Z¸k¸°<}ý_Xש+F=01Ý[!ªož¼óU%¼“r«¸7õî Ô!l*&¨V$}Ôh4¯‘d²µ¤™"ô”©ö`γËQ¦ÛyP䳯äRàºâ ñ»nKByk_‹Ó’9ÂbZœíT©s-½³P|—ú÷:k{Û†âØ©sNŸÈž½Ñ«ì(o=dü>=ΠÖsû˜âÐæýðhCT¦ì÷í/B@å¢Î‹ÿÜ0‹žèçÊ£m„›”å]ŽiÓþ%¨ÊEÝú6|¯£uÓû±ø4Î*rìÖ¼‡ È÷ä¾Ï¨WJÑßrͺ£KÜ­è*°×œÇ %² 6È_U²×lÀÏ^Ï•Yo„´ïÀ)UÛÓÏ—W² ”TÒTŽÍºÏ$gUv”Z?NC²Ë0çŒ0±c{1ø $ ³Ð*íÆ'N8‰yCîäž“F›¶Ç¨ÿî\/x‹VT ³ß«§œGF_M5ÕÞ¤¶â2\ËŽhGÂ)“èï¯ áÑfT„’–Ë0ãìaó>yª¯½ž¸þ¦¸¦æŒ@ œ+ô%ÛUIé?€F@#p!ÀõàDvIÛ!E2Ù¤¤S®å«AO!nLó Êi®–t¬±)º$”Í‘2&¾oE¸³†ÍñäË“P.K-ý)ƒ]Âoˆw2ûáì¹DÞ@²xä=tN{ÿÓô&s ë†gçÏÁOÎGuxsDR”fg˜7Ó6z¯ó]ãp¦ÿpT¶hmZÄs"÷øÿáÇû(éìkINý—ëW+âoöRéÞ<2g†•¡”uhGküƒÿüîzGtFMG)oKjf>þgJ 8@yxpþ°®ÊÓ æy,C‰xW®9òÎìk@ å×ËUU>¶å R’¶a?ú.nØrçH@oh0ÐÓíÄVF»)þ^ µÅé#Çq¢ð":ÆÜ¤¾ŽlÎiùã'Hô»·G‡oݧ"N èÈa¼ã¶ä’—ܽxÙñú[{=é6´ì; ¦ôÀÞýÔŸhÕ=oê€3ï­Â«9xýß{0à‰Û¨—Ø¿øÅ È=xam:¢Û çñ——×”†—Ì=¼¬6ìÔYlsf|OôO!ûÃR½¼¿«I£Ðað}øu§8v¶m{uA«â]øÍdž8=¼ûí˜ùhG\ŒêŒ®íŒÞ|ã·†bÌçSÝÄ¿dÑ£ ]”—¢‚_-›FáÁ§ïÇíå!èÓ»­zvm‹QwvÀkÔÍ÷è8 ooуŸ¡ÄÁŒÚ_4%á¾1Ç·¿%’Û Ø¿ãó†J£ïk4Àµ„çÕ¹D'šPZÔ„síÁ4R!ã”Iè&| (!ÿH˹ñOËë«?ÊñÊYG_EªsÿÃ5ïcóikž[çyl^· gÍøÁ-Ú¡†øï7ýìqÁ\~‰„Sn/7ä7?N›‡W7œpÚ‡·âô·1w‹ÂÓ¢}éî.àà‘Óæ–˜ÆLLçøÇxâÙT @ËõŸ7—bòß>ÆY³^Á$°B8Åæ€<œfçÚ·ðê.KrÛLyØ‹TÔóýŸ(éd„8§”Q‰ä¢xWxYTz˵ì©j¹ìe+ñA.¥TMI6†Åa( '—žÇ±­bÎ>ºÊòrâ‚Ô³<,][…pMÌ|üÃÍX&çý8"H.Ý=xî‰ïfeáýh¬^™OíÅ‹¯çà4%ž!m:aаÛ0(¦›ZÔYJ ÷ÏOP*6‹BôÀ~èÍ)á®y©ôH£Röø¢«1­¯Õ…óOµ¡Ó*×ÔgýpÈX› st? NˆVª ΠuN6¬øÞÝuFáܲK7Ä ìÉ%ÀBp‘Ѝ¥örõi³Ä²oONàÐÖ\³b!­º`uf•3ŸO•©ïZ)k]Ñy/«ºåúã÷s¬ßrR•Etqû‘p–9„Ü“D©isÄŒº ·2f9—Ø—¯ê=0ƒwC ®xP¸k3XÆe>0ès;¢)¶ÙÇU\EÐg€F@#pí# oÁZQØä!–¢Êe””ä“þb_Dê¡6ô¯ ›Ýu<UËêÓ…HJJjTœ6ÏlTøK <¨×£ ¯Æ§ûŠ ð¶i ‚âÓ§ñŸ“žä­G—ޏ³u¾°U£°áMêÊ7ÿ}kZH}QV}'+pÌuÓã¬ó¹³#é½­oz‘85¦\÷²È‚¿°}}‡K|æéQ€/n½÷~LJè„Ò=›¹ïu~€±Ö2·¶”/óº»L—¶­A¨©KëéRéßÔ‰:—4ö)+©€p›Ëq7uºë‡r–ý bXì}úÙÈOÂTàS¥óé™c ixÆð~źßȺûʧ^¬0âÙFÄôõ±;Ðæè(qV*¼Êë‚"â~™˜Õ+‡x°,qÃP^ú91pÄõiª3ç°Ï‰Y0×€Pª³e%ÞËáAU{Ì|î>t ùв٫•D\RÖN# Ðh‡@É[s!++ !:7*Ž{àð çñÀË‘øÕs}Ð¥u•­‚PIÙÆÇkбM ´mÊà¸| _|7UÑ\aóŒÇ‘˜˜è\È=½ëþ|çáƒlZ5).B†Iʱ“E8vÒ èíXÿ˜k~z»ëîwŒùó‘„kL¹>d®–Û÷áûXÛ(1}q+I'5.ßÑŠ{_–è'‹½“Q÷Ì?=eImÝ}/íüÓS OÙ6”_ iRºRÖ]Ä@K˜*âyÊ{`…£{;cÚ[ݯ½G»t_–%ç¸û´½juI¼ aéŽÁMñСi6-Ñ„óÒŒŽ©Ðh¾:‚¸f)'·]çZMQ#;qP&Ùdÿõ‹<†R¬Éå;ND)Ú}È~óm dêÓo`Ýu•¿z>ýøÿ°dOÃ*_}Iu 4€FÀ†w%â4ºLµWqëKNµWóB4µ„kŠÖžM.L§I§…Ä7ðøé)wéÕ7]寑ä^ U€¯®F:g€F@#ðBÀá ”“? <DSöjÚ8Ôt ÙÛ‹$Ÿ²÷ºZ;ÉDæš4$úF=5]Y€F@# Ðh4×M,‰&E6’N±¯z‘?9¯¥ž§pNκ;–t:¡Ð'€F@# Ðh4 $d’?{µƒzN£×ÂÆ¹uÑç´ ñ$é‰g•±t³JRK:AV‡Ñh4€F@# p" RË*Š6E§SfçÑk¸<` gɨèsÊQ¨å4é´ÐG€F@# Ðh4€¨å¼9—áät:‰'UB<)í¬+vMpŠQ‘X±[îKŸ^ï¹D+o}Ôh4€F@# ¸¨åBðîJƲ۹|ó¦5åÊð¡Ü3ŒÒÏ`®M.ksKÓ}é¤SòíÕ«—•¿>j4€F@# Ð\G½„XW( ‰¥ì±N!§Ú{½)ä §è3ŒsèÂ3åÌ{rm9·SËK5€F@# Ðh4~&…äÿ Ùï’.,4Mè'ÛañG!¨:—`–ûJ$Væú¨Ðh4€F@#pý! DÂ'¹¤Q(Wè áOü‚)ñ åÔºðQ7;¢¯ç6˜×ߣÓ%Öh4€F@#p! ’L·–4S¤™2ÕL}N9ò Ö„òY#L§%ú¨Ðh4€F@#\Ad—´R$S‘MÊ5iKdP2L±#ªѧé4é´ÐG€F@# Ðh4Àà¼z fJ2›p®=¸iS„q“Y6!ÛTNþ‘0–s㟖—>j4€F@# Ðh|#À%8¹÷ºñGˆ¥…r%‘t6¥¿ès’‡*+M:-$ôQ# Ðh4€F BE”IæY+;‘}Ú¹"üEË;©[¨á‰]oƒž:F@# Ðh4€‚¸f)gmmZ«³Fv"âŽDvî@$û¯ËND²†'—ït:­Óé„BŸh4€F@# Ð‚€Kjoª½×eª½:¨ ·½t¨­/å–pMÙݦÂñ‚N“NýW# Ðh4€F @J9ù£ÀA4e¯¶×¨iv!›5$šÉD› Õ†D"ªƒi4€F@# ÐÔC  ¥’hÒrÝFÒÉ™uE@/’uÊ9gÝEå“DÔUK:]Xè3€F@# Ðh42ÉŸ½ÚA½N§Ñka«¦ä“úœ´)ŸJâY¥ ‰@SÑh4€F@# ðŠ€H-«8·.Ûa Á¬+vêxV‘pV‘ŒŠ>§…€ZN/™d!¡€F@# Ðh4!PËysY5é"MÔüU ñ¤´³Z¬ØI4EÀIÁ§²b·ÔÓëú¨Ðh4€F@#µ\ÞÁ]‰ÂÚΕà›s?ÌP® Ê­1Ã(ý æ®DᲦ0&ú¨Ðh4€F@#$–²ßº¬ÅIžÉˆ§è3ŒçÂ3åÌ{rm9·SËK5€F@# Ðh4~&…äÿ Ùï’.,4Mè'ÛañG!¨:—`–Ó’N }Ôh4€F@# 1 >©È%ˆB¹|âL‰g(§Ö…ºÙéÅáBVÒh4€F@# p! ’L^Õ’fŠ4S¦Úƒ9Ï.G™nçA‘Ï d:-é´ÐG€F@# Ðh4€àzð"»¤ý"™ŠlR®I["ƒ€’aŠQ­ˆ>Mçvjy}ö2ìÞºùen„6òvlEnA1 rw`G^Q£SÐF  w+väŠmÅx® —éËÑ8 ¾ìÒ]ùüÊòw#;3™Ë× }ôÊÔÿòÚ†g™®ÄøAëϲ|lݸÅ—3 ¿½¢ÀÈÇV†Ü€Æ=;òwoÅîü²R×A4o œW"ÁlBIfž7mŠ2Î`Ñç$ÛTNþ‘0–û“Î ¬yy:R§OÇtó—ššŒ—³ó¸û|^~t²ó* l‡ñãÑ£ñïÃæµ…Nc޶CxrÄh¼w «RG`Ä›ùõbïȘŽç—çšyæã«s–óÓÙY–y®Ç/㹚9Uäe#55Š!ãyiW©ô“ÏŸ™k¶âê¿–ÂÀ,ðuzðÄ(Úú zÅ% 埫°xâx¬?~¤6XÅÓ6<ú-“¯[¦u[³¯H;ÛÿæŒN|g®2é,Û™Á|f"÷ÐFijl(l¨¯Ú°6a4þ}Ø·îøä—ÊV´¯Lƒ6mÚ¿a©®±EÊÁ>hïª?ÎɆGo/ËEº3þ0dìtd­ÀêÙ“0[Þ׉+ÎÏEn®ñ+ªðlDþî]'ÕÓżàœÜ{Ýø#ÄR ˆB¹Œ’H:›Ò_ô9ÉC•¿Uü¯1éäËaS²N:©_—.ÝѲé·½›V¿…Ï­~ÉŤº‘0‘_¢³Øý…ú†`9Ñüx¦T´#¦g``\/åo;‘ƒYY«€vmÜÂÙ±ÿ?iXű=ÜÍ÷Ë<Í[ñÿX®>¸£oÄ%ekû¼Y›¶QR;r×d scÁ%¥U/Rq²é™ö_±õn)Ûì_¼ ío40-Ø»…Þ£pOïÖÞÃì[†eO¦ wÐte§²}‚é‹3p¸Y :ƒúDáÌÆ¹xzühôJͼºÄ³! ®ÓW°¡öà‰3øéõÖèYÀä,”d¿M%%H½ñ´ÿ6`µnuú­·2¬þ„¹^n;+îwÙqRFß«Üù?;ð1ôCt­>Ær§àžúzh<o uÇÏ1ol°âè€Y‡µÛr°ymÒîîƒNjl*­ÇÜŒ,|Ñ“³Oü IDAT, QQòk‹.í[; ìÅ[‘Ü+igFc}Îf¼6- ÓG<܆8¶YТµoaí±ÊÆû+ _µ3ãoüÞ:èN½ýÝûŠŠ«³ýZ JB)Û`ÖÊNDdŸv®ÑðâÎDêjxbwÛ“¯Ð¯·‹7ϦD׫d6_`îî¼ûÅ%œŸ:¸£ò(t©ÜUH ¹Ù/%©—çC=7ʉ=Bˆ8@ÜÒÖ-·Sز˜¯¯E·Ã¢|Eù8˜_„êæèØ£z¶µÞHvåíG^Ñ9´êƒØž.bUVT[D'´µŸÂ'{N¢eÌ`ôm ßi™E°íÆÏ&faÖڣ証l(È?‹¨ž]Éàó°7ÿs´ê2Ñ]#8X€O䣺yO Žíêèƒ{ŒDÞ‰d´°£8o~1~:6OÎÀ°¾ÍЮc[ƒLÛŠ‘»ïSœ«A«Ž=ÝÓÀÀ^V„‚óáèÙÕ¬‹½¥ˆìÔ­YíâÜí$öñx)&‚iïÆ§EÕèsº²nâl¶6˜”{];J|ö~˜Aˆç£· fq9[Ù =Íü$ŽH>-*æÎ m34.å®áŠ7þ iû“°íIƒìïçK›nÊOžÁ}PH}ö'ÈLí…§³#çWÓßìZ2…¹ïŠ/= ¡ƒõö}Z€¢ÛWÊê§=˜ézàlã³?ô!²x/©+—¡mÛÖ(SmÀ­þÒFŽžÀéÏϱ-vÄÀØžlÞÛ|`mCÊìÑo½–)¼^;“ç{âøI|~¡šýåö÷VEõöÛ“ŸóY5¿=úõ…êÒÇñþfRÀ0û’ Eù§PÙ]ÛZ£ó¨6ä빪öU têÙÑ……³}Ea[Úf¤dý•û^æ˜4 =ͦêJ½³ˆXÔ?ˆÑøÛ»1uÄtôŸ–…M3ï3ã÷DôíÖ9pdÛ»ìß‹ð‡Ç;ÇWFexã‰ÑXÕòÞHeïú=8X0ú¢cëcêŠ+g˜°¹<=¯á«Œ£ã)çÍÖ å÷®á*é¢]óq Ì RÎZO‡£) &w"âŽDv ôdÿõ‹<†RâÉå;îk-éTµtßiÞª¶-3øE˜™[aùÔ9V`cútç”Nò+ë<§lê„–Ëž£¢ðñèØ÷aþ}Ýr[Þ[HÉèwŸµLö¼—ô¿7¹½ìEû±€iº½›$‰Ý©è‡œ="SÞ>ªüQ‘‡W’Û#zH‘@éi¦¥*`ÏÇìèXDwkö½b1"q4§„ƒ}§e¤¨þîxíilæ þÄíF¡*vÿ±q±èÆ©­nÑC0šåˆôÌ—´G'btB,þbáȼÚ7}_ÿ„bˆOðÄ$ð= ,NAlôw±pÛ8M=¬s_ÄSaô舳$ƒv¬z.q±o:%…eŸ¼®òÿ”!šøtû&&¶s¿Ó}Y÷щ#û?:U>z•'úUIž$ÜŠsŽ»Cø¼ì9¬C,^Ýú™ÜeùòžÚ}ãâYŽD$ŽŽG¯a/#ßÈÊ£þ`Aâ\¤dþùL)Þ"Oiܸ¯[cØw§ñH‰÷I£]ï^κöRuMäsˆí6 qèoIˆ‹ž|vHÃÙ±æç½—R¶_ñ$lîv‘õŽâq<+ÎÍÆ˜öÝ—0‚x$bÄh$§o• Ê}ô'Á¤Ûr7 a)G\¯Ÿc·Ùôå~œÜÖ±ñLct¢8és˜§µ¥}ÅGOqI‡ü´=W{†Î}¥Ý²mé‹åyÕG{°Ê "ãŽsÅ!>û„‰DÈzz¢ûþMõAúÛóʺlj7úHB~˜aª¯0žÏþÓPÛ0 U·ßz-“™Ö¨qU;«ØŽÎ½¢ÖFéeÔ_¥IÕ•1íY^¶]ö¥ C°å¬Ñ*NìâÇ*pïÀžüK5‘ÔΈŽ{û}| û{®ª}Å%©þfTÅŽus¥}-ÀY–ò……xé¾®ˆN~…¿²Æ$#d@댟y˟ǘç—S?4ÃÌiðä—×8û1~£ÇÓ¼ì?ª÷—~K}Òغu7÷ åôë>]¼aÊ[uÜç‡7ã£ÏÍyAÎï'‘MJÂî;2°öÝ×0jóÌ~[>‹®¬Ë[þs I|{ÛÃø}´-.0Ç8r×nB³A£0ëÅY¸ƒãÉøø©®Â+[ šF AJ9ù«á/ˆâÎj{šf²YÃwÆE’O! jí$3µ¯5é mI± …Ò³X~åÇ!nüÛ J,Á¯ø?¦Qæô} h‚6Ý!Ú™omj8® ªû¡xëŸ0S³¿ùÃÙŽîQÄðþÁ=,/)Aû@æÖïA/áXädˆÌúç,ߘ{x„"µ¹Æ<¢€]Ù˱<ó-oˆj¿”íýã±"/wsÊ]½`|¤%á GIÛ¯ù¢¢îœ5ý/Ò‰ÞáÀŸô ÓSÔ´ðé=1x ¶™¡œ'¶>¬$QÝÛƒ¸‘÷( TóÙ ·GÖ§ŸLåŠ9ëXqЇýYøSæ:Ù‚!•åS{Iî€ÑCº«kyéo·ÉÔ%çÓ•®hJFÒSî&±ãØNÞu;„£Ë}áWcî4T) önW鬸ÝH˜ž‹×6EêÝ•ŸÂEK{÷E 5§ÛÞGÔêèõ²-ÌLuƒ É“ØT3Pœ“Ä@järر!ƒ—ÓПDbkæo6-ªŽaùr>§÷wó^‹YÝg!§p>b]|IÅsþiๆ·âÀÇÖwà3ùRàÌG?xÒV %Úè§Ît®ØÉL)Y»ßCê}C1òOñ 8/dûÆS[þfEÎÑ2Öç…êc‰…«ö›"zNñ¿EÒ~”j6Yó'cÕâ§±`m¾Y£b|œÍ†?:Öª_ˆ·9«gñx7zE<tm¬LGj™òÚf¼ñÌÜ>t$†Y÷®ä‘xýnbâù¼²_L¥¤s<^LŸ C Í/¦ŽÇ=w݇‰¿’þUøè¨‰É•,‡NK#M,‰&W‰·qý$ά“€’lò'çµÔçäDÔ•Ø×št^ä;/~îz%UPÒÂM©N)š ‚úg-Ä+ëiN;FS÷'A‘¡þʳ~Xÿ>EX<šS³¿@´Á­Tð;Þã1ƒëès*ÎI¥‚F܆ßdðe±9‡ aÎ:›ÔcúH^NñHÀéãw·`ËŽcè“4OÝ%dÂÒU‡Amyi9iY·mù+”¤mÅ´û,/2Œ#†ŽÙè8S/LH óNáÈoy—á ’åÊû~C‡’ÒÜ÷ÈYGºÍ¥WFêC ³Ò?æ>„èÎÓÓ¼»„$ŽÂËèÇvçìoð S—/ñ.™~¤3¥ÅVú–®ãJב8lߨ‚­«¦”çñP´ë ~Ba˜‚±] ï]OD6s¾¥°ãµT¬¢Nè·»Âí]\`ØmBî\Ξÿ¥Säè‹DW’“%_JüÚÚ‚÷¶lÁžÒöH™“‘UäJ³~ü8LÕoã~¿N|<׈η*ÒWuá,v¤Oaûâ‡âOʕ¼”v¾¥f$Œt…öZ®…œ4b<µ—W¨¨ó¥!ÖÔa·>–Üû§öÖm»â¾äp>…sÇ>WñPñ>"Ž£º¶5I=½íGñ.¿ûÏúnãuXT• _t7óŠ¨Â¬¯´£€@¾ËGä%e;v/Ÿ£Ô¾Ú·oC#«$õa˜º€—ä´—Fà22ÉŸ½ÚA½ÎZN£óGѦèsÒ¦|*‰§»–£ë {™™¢ÁÊôŸ¶‚ ì—7Pd¿D©Ø4äŽ1‰’ ’ý¢äЭ܈hÅn. CßÌá½ÌPÁˆó, ód$÷Åôµ‡QA…zCžy?^xQ¦ë8êTnÏàø?ßÐ/sÝõž–¿ÿœ2‘ƒñZÜíâ&°tÌ2˜äªâ°")?ìgäÅÈb5yŠ1ÍLÝ6÷¼mGwprŒSÆ·[õ1JÑó>ÌßT‚IÙÏcHÊbN󾀨Ûѵw3úÙýÎ_ |ª¿‘ÿ§ut-iñ¢ÛŒ—€Ç})Ëâý$€ïâÑâ¹Hœ5¯$åᙡFO‰ôŽº«JBªŠÅ%a2„âÌÂËŒS×JÝ`Û÷êìB¦>gnSâ7£N¢º`J /’0e%­4‚P/½ù?Å‹)}Í@n‡ÖmÕj ÿüuh)Šœ¿~µñ"´^–>âmuÇ âÞ—ë“Ö´?Ó/û$Œ£æP’Y#|bœÏµ+i(†¤ ÜA¿]îé1zQžêþ¸Ó$3–Žñ¬»zÐßXäðÞö*r Dg{á«SÔúϬTH|µQC¨3Ë’»“9ºÊ"ù»?ãüì_“lFaEîÜÍg‘—1«†¹=m¾¶!ùøê·õÊäÑæËþãDdš£o¤°o–¡Óâ lºß ì’.‚;bü‹Ù÷Ã5øvÜx¼ÿÉI&kõÓöê¶»©†4ø&¦É¶Y¯=(_8ÓbC6Œq–ÅóW`ß3xšWŸÂJ†ˆÕHÿ0õªõ×j2ì½ßÖ/“•–êoæGYÿ~mp¾ —XGa=¬©(ò×eÐ… ¿³Ï=š§$T–z»ØÛ1Mt‹Iâç¬1Ç›b¤‹á ÜŒ^ÞÐseôðÞ¸GÔ©ÅMÎÄSn’zÃÓý/ fžƒaÓ—_’ú{J^Ï/a<•/ããŸßØÁ‘jk^ÆhöÿiYTóáYD7Ç‘ -üóÖá§ñÓ集ÇLõDÜHÂÊö䢘a ¶¦#ޏ£æ¯ÇHõ±x•ë,Å¿TÑßç³[ô3,ß‘‡"ö£uÙk”¾ª­ü´Jµ}ófTSÚ—i`ÇVo:Yí Ÿ«}¢±pšëÙðºX 9þîYñõQ#Ðxj9oÞ”Ñ.:H<ù«âIig5ý…hRà©t:ÅŠÝrßXÒIBCŒáMÀp¿ŽM]‚sS07…Êëݺ¡/§ËFgȸÛý×_ «ÿ|üÈ”®¹Çìÿà ˜ÌAqîøxtnO«á„ñœ¥~ ¹/QSÑö’<¤¥G\ß^´ Sæ#gæHõB~ø·X”ÒŸe¾½zÑv–åïÔ!Ñ”)j—„À_Zò"ÿÓˆYTÛœSGªRODÇŒy˜v(ܵ‰iÓÐA‘@ óŽRÞpsš¹nÞáÔ…%7ÃÓ#bñÀ_ÉNm…Ø”–†DZW÷¢U}Ê‚N4ÔšgæAËqŽ´ûP§3[{ÌUøàü+N+½Õ´xJ•³á XbQ_TI+ëÜw–En÷Å êEž…ÔW7ªØÑþiñûUÙºIYæ¶ ”É% µSÝ ‰ :k†¹™)úIjÝÑmž‹j=¼$=½ i‹VÐèæ Œ±¤¤”s=ú7Qþ2žeîEkæøÑ³pJz rQ¸±»œ¤ ýYwiºŸxuê~ÊLX¿ýWÍB¼ÙN6ž‹mGÓ ‰©÷Ÿ4Škr‚^qxzq4²¶ÀHù¨—^¯uI&¥t'wЇkzØwÛ«ß^*Nò™³X*$õÚïúÄ™ôçÀÇœ,Ÿï2´ó(oîyJ ¢cõµgo g­Ù~fá?4Ë÷׿j¾ûmý29Ó’þÑã’¤ s¥†Øxìï0‚rZöñ¤_*C‚ïÐ%AõÙø¤Y˜¶h-žRcƒv qû“È¢+Ç[²"¥ß›ä£sp?´ãÁÒÓõù\% Ýyù®e \ŸV§ ‹wW²w3öf^pîãep¨9â_¦×ÃÌñµ±ãixô÷ÓG s›ÎˆŸM#À̤ޏ‚¯rU„htëL ®qjò\®Msû¸o‹Ç-"wŸˆ¾ ;:Ãëz¼‘"c†»”:»×IRQß`fzWîÀå–lc»9މ#† š«†$¥ü 2‡÷¥4Ÿ =-1Žï¤ØÝž Ž.Rpææ$?£ÝB,ÕÁäû|1ß]±¼Îúnm >÷¦ÜÌä¯â`$t²)y ¦hûFmXë.Ÿ„SbŒ@nîÓQ1I<ª£ Kûi¼ÆU¿ü) K¸²Ù$~&àÛü´®O¯-`M²éC+­Ì¥2ûb §d1‚i4C€ GÒå¥(ø« ÓfpxÉGÇfɱ„ôf’=÷Üä¡%pYr!ö®'²pÓöãæÓyë_»uz÷rã)SÚ‡€›/yn–8¸ÅÑd½rzÀ#$œ²ëÄã~N~bÇ«YÈþ°ñq·t[ä6ÀòûìY·]ºôh2K{ðàoÞZ¹ÌÖîs»ǹ5UCcåTk=夫»°:|YO?\ð8&êSš,ÆÖV "9j‘w å³AöÔã÷ j79…ArÞ%GòÂÃ,¦‡Ä Ú}½s”zžï>—ª¬±)™Úpð¥J¯yéôÀüM'›ô*Ñ:[œ~Å—°÷²‘ý®sr¼¼Št9â|%´Û¦êÕ^UƒÄW²ñ«)Søéâ‰ÀÌÕ'1Ó¯WŸV.3GO®éÞo`·1E;[»0XÏò$¶.Tÿ406j…:p(ò’™+%Ÿ— •P P¹)œÓA.¹ˆ(ŒÛÁ‡ò'vj§< uNW¤3P”•…À€@ìØ)ˆ½ò©²MÕ«¥G<¦k É‹WùnA,½1sþüŒ°•¢ºRòÙJÅWѶ¢Éd4u¤™¢ô å³…ó9åÊ‹¶'¼ÏZñ¤E: $ÔU! P( …€BÀ/¸<‚È.C¸j]H¦F6©×äZ"%Ãå}¨>usÕ’Î;veTW…€B@! P(WIII\É•‘—»á¤Mnщ`j2ƒ9Ön A(§,n&ÛÔœü'~ sÕ’N)à³JÞ¨ uU( …€B@!p À}ßyöºã_™¥, ã6J¢é ¡½Ìç$Õìâ¸)= +uU( …€B@! PøF LT™džurÙ§;Â_pXñd"Í üU‰é IDATµ¼áé®N£H§ u£P( …€B@!àA<3ˆ”³®®–'qÁœDĉd]9]N"û Ñ†êæª^7 ©® …€B@! P(-‡€KÎÞäÙë­fMP0½¬×޾'áš5¼ÑN¯4Št:pPÿ …€B@! P(üD ¾žZNþ¨ðD—²×Økµav!›µ$›8ô"?Ý©áu?ÁUÞ …€B@! P(“PjMª:­$Y×è²N¹ç¨»Lù$u!¦H§ uç†À©cÅ(.vüNœ“)Á^ŒíŠ÷ŠO÷ïGñ1žáö]™Ú3ÌÇAœàù®—‹Ù¿áذÿ`r–ýr©•OlåyÈÌ|—@*=VO …ÀU‰@Iþì5õœ×YÇatþj¨ùä|N®)ŸšÆÓ¦µvý×âÓ k°óȹÖN¨•â?‡ÜfaÖ,Çoëá³Ó9³OÞ6 ³RïÇý©©˜õøÿâ»*í¹’-ÌÇlÌÿóþÆùülŽíÎDê³k/IÊ—[Ù/tk´•Öˆ3ð’]n!jù&Ø›ý4\³÷rËšÊB@!p" ó3m[—9B0m²Šsòówcá@æßËÌßâk±3°n·øãï¿g!ò;*jdï<5ÿ1ürRÌw”·dOíÅãéÙ˜ºt=f éäæÐ:·—UÙ›UÄÖh+­g³ wYŠì5«³æãЪ4l8xæ²Ê›ÊŒB@!på!PÇqsa9¸D½ž?›Oj;kd;‰¦(8©øÔV±¥óB' §ïûÕ†Ýkþˆšñ3™¿/®Ø‹÷Þƒùó¦ « l+Ç;ÿo-²wîC‡#‘rϽ; y¯?-‡Î£Xà[¹Ç®iƒóߜǤ‹1¶k9Ö,ÍÆàÅèèpÆq ¯/}µgøNÏ~kžßøƒññ«¯!·¬-~œ–†ä±;þ›UÕ¹cxgíëØœ»§éoÀÄ4,ž3LÝG<‰’ì¹åÍX@íçÀñèïÓ<Dzýeñ÷bÖÈhgt¶c»±tuæ.™…^ÄÂW>kODÎÚ7ñöÞb ¸a$:EXam?ι ­YŠ·wBL‡öèâ~À«3o7µ(Þƒ·ÞÝ‹}Åeè9 ?¾'…õDzÛ\X¼ùv·ÅÔ9i¸{âs7=™ýïdâæãOSúy&ìU^<ÓkX·¥;×ू^x*} Úk±Qƒ·î9’ýIX8k(1õUvsÙ­=UL<_ÓðÙMþÉÿÅÄ!]=Ê×0/õùäUoÁ?ÌÚJ/‹ï:â÷´÷¶9Åoš´¿^šÔ{Ö‹óÉWœfí]o+^ËÇ6f&KL·Ùõà+=)‹/9ÓËÙ~ÈOðÜŒñÄì·0&XëÊ( f!PÇàëy*‘ô¬vîÉó0ø3|ÏÄ §öÓÂS‰"äL·®Wi:}B]‹Êül<1k&~¸géQ¼v1^|÷CœÁ†GîÀÓ«€9ééßf/Òg=ˆ½§,ˆx n»mHQÐóúa¸å¦›póøÛЭ-ù}­ù[7àÐi}òam5>p>›¥gÅV!möÃ8=2 É g±"}¾hr<Û†¿OÂÓ¹Hf>ç§¥`p÷vz‰}•Awöq9²-#þ}2žÍ=ÙóæaÞ¿À³ïh4ÛG(à4‰ûÛÿ<­¹Ÿ;ãȸíD¶n­FÛ³|–cí¤ÙXñ¯¾H_”޾ßd#;{:ÄFSŽ-è{&Ýԇ׮¡j'uÚPœ»ƒÇc~ú|Äc-ëo)еà.¬¿è;™X/>1 ÛŽ‰£™kaû‹‡pïKS¡Ó3¬]q6¬ÛÎÝÃð~öb| ¥Í¨Î}Õ+6]£ù`VvY"znÒ,¬ØÛsæ§a(ã©S•¯a^ô‚4ãâ«n›h+$–¾ëÈWùŽ™·?ÓÜûŠóC™ÕŸ¯òIb®ºm$KÍ®³ôÌò)ùŽ„»òš¯›ì?´êŸB@! ðމ¥œ·L­¦œ½ 9#¨¡ç½ðLùYè&φQšN o×¶´÷¶>?KÓ„þ}Ö¯¦‚ò „s-]ÿ(&ö#¬7-CÙ†™x÷åX8q"úqVùמŅñ‰˜8Àâëœ(ÌHKW9Ÿ}¤gŒoÏàíBÑ ÙúaûÚÙ(*;‡!Ô®ú6µ8}”®={âÚ놢_û‘­{¶ûÀGŽaäÄ^>£ì0h^J¯Þ=nÀœû&!Òž‚ˆèk|†Þ¯?‡Ê¾Eí¹O1ö‡÷ã©Ç %qD"Ów>qî4_À½³S0rH$nzx!V½ÿwüè¶~ZzƒÆNÁ oÿOªÄ”…Ïc cÓnê÷ÉïÃø¼ôô֢Ō§Öaáòé0åkßÇ»—bJ¢‰[/úµW£ˆ^Æw•ŠtS¬IjÅx­Û!“p/^Äk+Ä”»‡¡<;±‡_ŒvÔiÙ}ÈÒ©Ï?ÄRÍWW/Ä0QŸŽ~¶­w`cn ¦Ü©eÅ{^LåÌÎûßuÛo´I[¡Ìø¬#©¯å;~SÌâôžC§­×8ÍÚ»´•Î>Û˜¯7Yº¥÷{ͬ~À]d›ïG xûžÁAº‘WuU(~#`!›ä_œwɱôð0 ‚i'ÇañG%¨v_/ã캡µ2>àòˆÉ#œCPŸùã9„k+j,žy»wÚª?Ù´£ .ÈÌÚ&Œ=ñ‘ìe0#tsÆ&á.8vfuÚ5¾‰Äí-ÅöY‹1ó‡+8>K=ˆ)C¢©tu¨9|—¡qlbÓ©ß0ŒîD—®g|ƒ0r¤ö5ãݷ˶mÏXའ*7&8Ü_ˆmÛbà­I/|çáQ`H¬Ý° ãÚ Á?V>˧yèà1ÞëÀ[âõÏÔâà¶U˜½x­‡wO ëë{ênm!tzŸþdæV{ò8Iá@ÜwÛ‡Ã5…µïºÆŽÃÚgw¡üîëŸMö½ƒ<¾3|”‘z“ÝC9/kD?ÎÉ5:£Ï8 ×½|Ë™ØëŤn5ÿ¾ÚŠY±ÛòQ>G|Åé5ƒ.Kqš·wóòiuëE–¾þ§ãƒ+ðzhñmšmÇ£ßq! î …€ßÈ"rN¹ä"¢0nÊŸØYØÏ„qh]ø(•N£H§ 7rޓӄh‡×Ã~A³ynãnŒïÌ÷½X4$]d#Œ>¾9ï–: sxæpé·(sÆ­ßxMOws#™ò2óÇ´0«ò'áÄ‘/°3;‹SO ßîUèãGøB!"¹õ²’È®Ñ`g‘<³Âm|JKO#*º7:ét ¶ùïáM–xÜŒ©([ñ;<ÍÙ7<·@ ë+ŸƒBªµ-^Æá^~ò=tMx ë';? ûΧgÆô§k„óÞÌu˜sÛ„ŸÝy?Lõê•jehTz1¼zº…tîF Ò!üókFvrc†¦XrDæ£nL˜<›†Ízb'yÊS¿j$®_MÊî‘g‡ìFtìÊz8„ ÝK‹Á†³"„š_½;ð‘‡÷SØ_ø5~0t:yÍÕë?Ÿu«Cäµ­øSG^ÊgdÀkœ†£ÙÕ[œ¦õø,_#|\òr1õà+=ÿÚ4 Ï]›ýí?Ì Rn …À÷Ñd‚:ÒLQzÊP»…ãìr•áv^4òé¾ÜB©2&8f!zzˆì3„ƒœÀš·v¢TgíY/+ƒ=Üí-ÓÚ¹7¶ øÄ ã~—å²×%uÎ|åãÓϿĉòOñì¤4ROã-=O<Áþ½ŸâHùI„w‹Á7LÕ 6/ƒ 'ŽCyy NÒo忎¢œÏ§ôéMå xãÜ9óNüjÃA§×Ènב½­ù=ñð/ÄD–\ÊÓ—¬sæ|åÓVzˆ gèoØxÜ—~fŒ»«ñÊl^>mg+µ|]Ó&çŽïÇš§S©¡tѕř3'·.«ø|ÏÄš37„wд²þ%¨¹Œ9Ö.^ï: ÅÒÀªgWàЈùHéšiºìÞd©÷ðI ¥kv¢üÔ níõ2V°"’oÑã5¿ÿ%©÷ÏÆÒ·‹Í=:]}×­Ó‹—¶ÒTIXoå3‹Óéfrã-Nóú3/Ÿ/yi~=øNÏ<Ÿ®BŸ;ºŸò>7öqª»]ŽêN! Pø‰÷ƒGÙeˆN25²I½¦ní³k;k—9hzÊs‘žPíG>]Y0îÂûMÄs)›ñDZ¤vDó ÖH[]-ðd/v”™cÑxêÕ­-[tûtÓ"ï†1÷Dگ㾿/„“šÉ £mX—žÏá¸eê|`ËHIþ¡k’ͬŽ,ZC÷&»!]Çb}æ|ÌLw›¦™˜!s6Y>Ï´?÷—¬ÈÇY #¯ÿMePBøj+æudÖV|ÇiN²|ÆiZ&mÌT^šY&m0iÓZ›¼Ï`Ûï)õ3žÃ@§Ø+£P(D€“6ƒH0ƒù æX»%$¡dœò* f‡ª©áøOü&è/ï纷ö~]k¾.Crr²_~ OŸ|ò bbüÓªašsݱcÇ%IÇfõŸáîZNg†ka³ÙYáŽayݾÖvŽGG…ûã Üb7µÌ£h7-á̇—XÍËà%€Vg8Ó ÄxËç‘mObæb`ýGÏ Ÿ–ùSøãˆIX;#-ëµ<þ¦éµlñèm³Ÿõ.î"$Å 137#QÝOÙ¼•øï9# [çµ5°vFÐ »cEFº—°‰jqbÿLM}šœe#Í9>š¤9{«[Ïp­ÑV¼Çé™n`O¾êÏkùü‘Yp=pp¥™mºœÜÁ}dŸ{ç#LŒv“íÀ`P¾ VD`èС¨®öoiìáÇ1|øð€r“““ƒÐîÆº…€‚jž#85pêòvXôØÄtå{¾Ž{uÔcWi-zRóÖ±}8:vÚEqË$¾F/œç’ŽÇïFRR’—Éz§ÿ½aN¬B¼Ëð@^ôoˆ²iÄl^ÃW`׿Äé-Ÿ{ fÂ+ðKz`üàkPvàmMë:oÒõ¾É÷ü\÷Ç·ðÒkãøéè{çhû¤z­΂(cŠñ2 ºa fn<ჰ8ë1LJMCfì;Hm¸h׿àâA‹=„ ’„3S¼îç˜E-çÔy™øE„SÒðV·ži·F[q‹ÓO™ðÌSã'_õçµ|þÈ e,Ðz\yMÏ-»ÞòyæàpÊN Špº¥n f!&¯IÎ:9‰¨®vî/+^h¥-aÑ®ìí5®è½Œ»ÕBà»F ýYØúF_ìùìÊ¿ù]§àÕû0¬_'ßY#aìØ¥ ç#ÈrOsÛ”¶3“zÎ˼g>‡Æ»Ë@scæææµó¼þ¥Ž8ÑÛÇü7¿WÒmÿ;3±ûÎpDzÕê_æ%¹™hnÑü”—æFh¸¶ÝãðÔÒ,L“m×”Q(‰@À "Åä±ë<‘(„[ò$"žH$kQåüu™…Ʊtnßé4f¯_§'u£ø.è:h4fðç· ‰æ¾–wûíÝã–sm½3·þûž‚~ ì®ôGÑ ¦½ŒJ|12ÑÜb /ÍM"p!áÙœV…€B@!Ð86:á©Dœ³)ZÍš `{Y¯}I¾©m•$ç¯[åA7ŠtH¨«B@! P( …€_Ô×SËÉžâRöîM.Ãì¢ØäÎl¸@&"lÔm!‘ÛBv¿ÒPž …€B@! P(¾ç“PjMª:­$Y×è²N¹¯ã|Náœuw¥étB¡n …€B@! P(üA HÈ$öšzÎë¬ç0z¬5Ô|r>'×Ae§íû²H¶PF! P( …€B e­¥cëõ܈S¦MV±ót" §d4B§Ro×ÍU«é¼ýöÛýÞçÊC] …€B@! P(šF Žãæ²k’µžÄSˆ¦Oj;kd;÷í§Ìét?Käª%MÃ¥|( …€B@! P4º`®\ç©Dr ŒÝ„ÈZ„ñD¢0ÎÅCžJ!G½¹£HgsVa …€B@! P|Ÿ ±”3ÖEËIžÉ3×ëAÕg8ï…gÊÏB7y6ŒÛ­a¥® …€B@! P( ,¤ü ¢–SLx˜Á´ ¡:3ˆ?*Aµ{ñf¥é4PW…€B@! P( ¿Má…Ojä’‹ˆÂ¸Cg(b''I‡qh]ø¨Û:"uöº_È*O …€B@! P(.D“ɧ:ÒLÑfÊP»…ãìr•áv^4òY+žt£4êªP( …€B@!àÜAd—\?¤‘LlR¯ÉµDJ†)ëˆêDõ©E: $ÔU! P( …€BÀ?8®Î-:LMf0ÇÚ-!!%ã´Y“mj Nþ?†q㟆•º* …€B@! P(|#À-8yöºãŸKY@Æm”DÓB{™ÏIªÙ±(Òi ¡® …€B@! P(~!&ªL2Ï:9‰ˆìÓΣ‡.8¬x2‘æ„ZÞØÝŽÁT¤Ó/h•'…€B@! P(  DÊYWW«íÕY+'ñD";¿”ó×å$"ÙÓÛw:"…½ yy(©"BÍ6Våç¡°´¥…ùÈ/ªhvL* oJ ó_è/¶Õ-P¯¾óò]¹†Áw•ËË=Ý«S6.wÔ›Ÿ?U_ÍÇ®y!«K WPŠêªRäå é×£%y((©j^‚*Ô‡€KÎÞäÙëÁ¢ðD ¯5ÔxÖðAœ„kÖðÆêF­®bÒYmËÓ17=éúoîÜÙX¾©ˆaùOçaSQ5!¡±ã牉x§XvØößú%ˆÿ):‚-s'còŸK…ÏÏJÇ¢õ…{k ^4òãæ³"o5f§g£ÒÍî’ÞÚK™¯¹.lLÜZ² s§§cg©5Àþx¯Àº„DL~ó€Ï•È^4ϬgÓØ™— R¯_]D½ê)UmÂܹ«Qª5ž d-¹šK;ùñ~ÑrdoËCëw·Ma gø ½xâÜz…hIÙh½\^š˜‹6=ƒÙ‹6¡9­DÕ—g]*<ŒT[¯¿µb[Æ$þé#ìÛ’ÄÄ×pÊHÔçÕŠí1áb‡†ïYŸáZÎÁ^‘‡gfÏÅêÝžŠ‰Êößc:£sgþÆ<ƒÂFÂ^‰«9ÜÅÏljüoœÓjlýÍ<üFxÅ÷ÐÔ×SËÉ_-AuCúÊ,·ŒÑ£Gã¦p|÷2<”’ˆ˜¹Ù­K<›ÂÀï2}›’Oœ[3‡-'­™ËK·‡?Ú‹3aÍØ´YÕ—g ]:<Œt=û[ö%®'ð_O ~:§óy“‘Œþìûš2a @‚ñ"møžm*ðźWæ!5./lÉAx×û«dÛ3ˆŠ¶÷mć¹9H=ðݧZ¤ºÏtŽErÆWÈÚœK?»ðÊ’¸¶o;¿rT±ý-l?rÞ/¿W›§`C£É•ëVîŸÄ‘uP’Mþ䞣îš”£îNã‡9ý^‘7 3Áã©qò¾éäI»o=ž(?ø>[Û4ô:[Œ_{6;6ý.HËÁÌþ:yôs!D H¸¾‹[båø`%iÒË#`4™êŠ,©@Mh$zô»ý»tÔŽŠ¢(ª8½‡"¾¿‹XUU”Â.ör|öù1´:±-ð—žk{ K¶FÍÊŠÒ’èÔ¿7|ö•|ƒ½n@\ï(ÎH(Åg_” &²?FÆ÷v¾°,ý¦ èèlt‰²£²è}ü*%¹iYÛ]{tqik% ÷ÂéšPtèÑqýØ«*Púmú÷ÖËb¯Fié)´‹îŽ,veáG$ö øÝÐ(Æ]€C5è5ôFôfÙÄX­1¯ð0z÷ðVì{/‹gâZÌjârâ|ô×Ó“0•%…Œ§5è‚¡£ãàBQ\¦r÷«È8ŒïsÝÊ{5‡Gž‰ 0÷ñ‡‘=7å¬Ä'OßE{½iY«XÖ/PyèÓh:XYÎr+Ë©åSO„Sª±{uºSÕ>ûÅM=õŸö”mHAØ»PVöG§ðJ„Ö¢·š5›Ÿ¨ÇoÅçïfƒoÇ@WßO Ú ?Içˆ>š¿‚¬¹è7“9Dœ8yùŸÃŽðÕExqv7Äš€¤¤$L ö4Û˜*`/ÁoØ`âútC·˜xLNJä°>ãrĨýÏå!ä&¼ŒŸpdªºà5ÄG5ô‰Å!–D$ħ`uörG܉IHœÿ4pdÚÆÆ!ö¿>ã»ã3ülT2r%æ•©ˆ»û«‹MÓ3 œŠ˜8 à ͠[žˆÃðø?;5…UŸý—–þv²b}´‡ÿs±ìŽžˆeÙ“&#þŽ?9§"|ü NÜK¨Ï$Üçœq³Fàe±qy)ï_âÊüaõÜΈžÀ|$!)11c–£Ä‘”Ãö¿/$-Cjöb½N©þ@jiܸŸ;bÌ x¥Æû JSY°žeÑÊšÄzˆïó DçûåëÉ÷”šv¾¶ý2Çgá;=_á$ÎÂD×;ã]eá&LïÖÃ'L&I˜<*³Wç‰WÍ|üª`CYîƒQô#ùóK8²q.îcz">q$N@Üœg°ú¦1Ü!_ q ÐÀÅDö\ò2=cEn)›£b±¾ˆ}ȃ‘Owœ5Œâ_×eÁŽÏ>qØ®Wµ0 ±ñÃñÁ)‚hš§õîÖÍ!3 ¶³c4—oþ ñññ~k÷W1»VäqšŒ”OðNš< w-ßÍÓ´ ;êÖ!ÿIÄ:¶'e™ieKãðÓ¸pö¯]V¬FϘ8­þm8ÆQ'LO⊋‹Ã¦ÃŽ vÅí¥=ò×üú2“ïj¶­Ï¹âê«ùxøî›­Ú{Èñ`_›žìOâ‡?­ºÜû[ºÑÜß}ø.Ðû¹©Ï줤VãÏl?qOü•­‡/¤œ Ï*¢nÄ»GË0ºKo,(+Ãú;Áðê×µÁ{¶hý"L_´…yÙ£aÏ^¾ÍÙßS~ïjùÂ3…K²±1“Ê„qè£óèüìô’ŒGïr)žmõ4ä³Ò^úßÍTäæÌCçÒBÎ]ÍCQ¥-zóÕØ”>éÎis…X4f6²vîÄòÙúpþôg_éììÍ£»Â\…£Ûjë9§ÓA0m²Šs IDATJJx­Ô_5Ø_Xˆo/¦`õ<$e#+·»²pf 5—›„.˜KŠ "<4UXwßCHXö2FÓ~ä°m$ßÊïN—©< ¤*7J‹¡Öqyz¿Ð>ÄIjeO–Å[÷IéBVÊ(,ù*b²´]¹í ‘½t²´»dlüä0 pÆEùŠKóèøWÉáÿ%ðÊf8µ¬G?ý‡Ã-9GO¢pó>ç"ã¡rl.8в‚ :Ž’6‹…ÌqƒØiÀð‹Rʳëðqœ<¾ #¢¬øëó©80x ky?Ž£Gph9—ô#ÁdÙ(§¶ñ«Ov0|†÷–¤{÷hÑ&9|ò8¶/K Ç;‚“ZQÈgŒÓ´´wßÚM#Ü£R_À²…üÚg\ÄpÞ(v4ÉØ\X¦á[´}ãZ†w4bA/º)Ù´+‰ð/§PÛ«j£…s¦ÝŠhÝÆ¸œ?yJ»íίl~aß9áôÍÜ®Åt³ÔÒ 8ÀI¡ÝoœÎûbœÑû¶ª¼?!% xåÃÇÑÛ$œ`ðÑ2ÎÝȸE+£–FB*N¥½‚¢ã" DZ1#[2þ¨“Ê |&•&ƒsŽ?ŽO²…gáýƒB è."G“öÈ.Y’ Ýò6cã<Ž]ZžÅ9­©˜ËžS^ø±Á:?¼‹˜Ò|#õ*š³ö¯!Ρí;±2Ûkt{ Ç8 ¦üŒd¤¯$¤³®7czo«i{8ú©NÀS_A!_¢e»æ"Bo#ÞeˆŸ»ÇYvÁ3÷•4-Ý„Œ¤ñÅ[²i!Ó³XW¹ÙEÌÝô…㣴)f™8ଯ£È^ €O탌ÎAKÎôŸg?Û¥¥û|¨ËyYn¦÷7çÂwôS€4ŒŽq¼¥q{«C·\5»¾Ú|ì³]HôWj}5®_úèç¡ÉZRF2²õwÀá]HR9‡ÕåÑߊ}cô €ÍŸQ¦‹ðr*»¹Þ«í¤{.¯Ö߉Àî壨3¤á“Œ±tà{,Ê!–ˆçHVƒ$šxô|ÏÊBîʸ³s6#{Y2¶,KÁù(¥iÖ{·º@#œ9iÙØ5<ÿgfܨ¿ÃJð—%|g,¸ËM dEñçÔ‡&ô{Øù-íeÉ£tD"FÅö¤BJúGÿÌ7Źøø]•ǽ*lAzr2 nÎÂöͯ`Zî øÍÿ°ß¾ MÇÍCX® \¢^ÏŸšMµ5²ŠDSP‘9²ŠÝ0BT¯ZÖ^X*† I3xï™ë$5Ëÿùuö§ eò˸¡s(BkúBfg®|k~3=ÅIÈ„òùX™÷*Ò94›{O¼Óõðç1\2²ŸÓŽ]üoÖi/k ªkp†®[֭¤^$ÁcCxÕ…há^ À§›Öã£ê2Èk£SûP-®Ò}ïiŽ‹Vc¬Áh}Ä¥ÐþQÓö,¿݆ÿå«óã dɯ lõLmø°àóéÛ5 Q•_L½з3I#íi¦g[ùEKYžëô¡\ÑU—Ó㼚=ÿwÆDôІFYúò}$wÀ²Q}%*š*|Èù5H{P›GÉñtm®hjÖ'ȜޟîVùݧÍr|Õês§ß"Ä\òò‘vÝøüϰ%ç^É=Œ™qŽ»†!³–±ù·­w4\ õœ×KYx2U¦9HžÄÈi"NicbtÄÕÈ?‹. 0˜?ó^\¡ag;‚õë ú‹º% C; ¢ºtå}.‡pIp"Šð›Ä%HX²3c#Là Â!3ô2æñ+þI}î“3ÑÅBæ¨Ç„ —k]ÃŒ”±¹vƒ%æZñè(§Žé‚–S›'P¡¹aA6=9‘÷v”(¶›¬bsÙÓå…õ}ø­U|.œ€¡woòàHÞpÖ, ÷Ö#©œ¶V¾€ð6rí•XB¢–ûðhæ)Û¤=¸Ép¦C†%ÚÙp$kÑNÔ…2;™LAt©ÍJÍ¢—Á¨>øW¬ÿüJD‘¨kJ†ó²ÿР¾"je%ܧá«ERU„ì×·áÛðpíÑñφðS:1–neò³]FpÊE·Ò"äqqʼn/>g¬“¾R'ë—e’¹Êθ}Ö¡ø¡¹ˆúÊ{eºÏváL_úœ+¥¾.Øó½öó¢ù_#²–šS¤Þi"Bq–—Ô[oÐúã’}ïñÉèoyÛÀýñö£™üàw8Þ8T˜¦M…oç}úç(ãsŸ‚,$±c[¶ëq¿ænj‘üOrŸ€œ‚·0Q ·EB>澕 ëáÀß»œ‹™Þgrø®>üÛ)°Tåa›SânZάEyÚ;%ãöxWN©ðy/‹-8ã:"ÀwŒ¼ãh–m&yMÅ?ú§Ç&aÝŽb¤ÄÐÜüù×ÙðÄv¤ÕÑ+Ο)ï¢jŒáÿ͆ûUv­ãFðõ<•Hz+;w‚äy˜aÜ>ŒGc†SûÉå2"¶|Ḡ~Uk:/ð—°l—¦iÒ´…MN—¶rÍyˆÃŽqˆ‹Ÿ  î`ÍÒœwX™¸Œ}ú¯çøhԂ͗׌l0ŸSãœÓFhŠ oüGµc¹Yx i&hC"À??æK‚aSoàáæðAþ HN÷ ™0æ1ÎÀMá”}Ä%Nb¬%5MÛÆB4tSýOìàû45q¸#? ”ÔdÄh/(êê>¦ä Y®´owÌ¡dã~—íyÚ´õðofþ¹À²‡’×3Ý9Ì[ú©Äie,ú±~sެ‘;c.cÒ­B8itm±¿á~‹6ב8|´[ó¶EV5¥.rN±<ªa˜ŠsT¹oi ÐŽ¤Æ0ù¯ÌÅÎ ýÙ—¿Š2s£§žÓ^ò7Îç”o•CojâöJºÔuùò¼ûÁøüT7¤¦%js%£:÷Ö4Ä'ÏW!ÿO÷A´ xP:8ópžeÔýò+Þ%[v&¡gîЋ/§ÿ®üýü}º'àúttº‹ïA;NïЩÎNÚ¡Õœ<\#‘¦²gÈË]£õ:~D½¿Œ½»>…Ä«<8’õ†³æÒ7 '8üûPn2V/ø7‡fù›9 ÏXYÏhåö+ON–XÍeÑ#+v.Ÿ®ÎYbµF8²pöÁ‘<Ÿ¿Ç¶÷A>ÊÛ¦bAšsöV_¥6Ÿ8Ìù!l=uùŽpà¨ë÷åœ7™gg™äãÌw»´—îÆ\eÆÄBÎÿnD*5gL×kœSoããop|@qûªC-@óëË\¾—M¼¼ëKrØ|<ØGß,²&áK8ªeôHÖÃk#I·—¾Çèëõþ–6žÆå>H'œò!¿G>2’'iŠ KT79Ëùù%X>!]yæÆ;>Ì=ãj©'y!ÏÀmÚÈ•#Nê…œ¦­ÜðÞÝÉQ†,=LŒ ×Ç$j}xÆäX¬æü!»ý‚¸â†^®2U}¶K “öcª’ª¿‚ žÉˆ‰F8ÅsÇ Wc1”ÜhXJ\×Ç*\´W«!±”óÖƒ©Õ$ÏäIDõˆ!|¼ž)? ÝäÙ0†<ÏêJ¤¼`#ö<)à Í7¥›~Ç—Ôjš9W<ö ’B{tp#¢Õ[´N&û‡1ºG â¦?NÂ|/²fÇ"}{1ª©}’àvüú·ó/*=‰X >Êb»ÎFzçn¼ÇåhŠÕX÷ÈLM›S3Ê ÕG?Õ&egÝ “«êb¦Î¹Nï+ñ‰«´Gd€óäÜÓ¶Î×:ÈWFåqä'ªÿDdî9‰y›aTêJóþñ#"°ï=yûºýlxMë@ìHÿPƒ¹Œ†¶øåÛÃ]ò²’:À—7ã§•Ë´$/&a¾®í+íç®ó~¤ßžE‚„%˜l,ã¯6ÝàÃYnXó93p£±PHŠÅ9…/<’Ê›d<2ƒ_·òùø)tæ£ømª®¥†éØEÛ-aÝóœC›s™»¶:´ Õÿ2 —çŽAõì4î3†ýyÕ^ü‰0NËœ¬ifþ“1ÔÉ9+ð6Š!9 7ÓîS÷ø¼¢Hõ`Ü¢“TcŽñ’[ûÑ^´#b¼Ë^uay¡¶U¦! ^2R›BâKD³ÐgÉØø:Úòâ…Oe ®‹c©_:ç¥1Rg› ,OÌ~²!/æõ‹îÀ”Ÿe› ù2Ò ¹­q¼Äf<ú;¤Æ6ì:å%o"ÜӪÕ×l×ÇJѶõZ›wi÷©è?™«§Ð^M`í² ÿùó$äLˤö9•ýE¢WfaÏí’Ü0®†Ï¢1w¯C-CS_M´‹Æ2Ä/óúºXù•Ñ oý¼E;×…o‰Hý%açVi 1D*† ióÙ×ëb#¸eI_p«³ÿ²—ì@»ì4E@ϸ¡ôœŽ„ùPME®sÍGk\N1ënñ A3L ïÝø9"÷§vÇû¨M ¶=2=x6¯˜…¤/”˜ÝÕh«ÕØøû öË0MÜ«)Çýà# \s¯‘Ò—'\ë´kÖ©{ÍŠërd!›ä_œwɱôð0 ‚i'ÇañG%¨v_/ã캡we<ˆˆÃƒË¦qX>‰{zrCÜêjTÊÐT^‘GcñãíCPKS³8´™æšÕýÕØ¤©mÁæ÷ ¹¨«E ¶aÞ6úO2c¯ÌÇêÕÛPRYÅć SP0¶¯£ó“H–àÕMù¨¬ªB)ÉîüR±ÔæøÈ×qâ0Wƒ1‹~«òÿ‹Ã“Ó°ú…ÓýxïSqƒþUZõÏO48~˜Nrªa3I1Ì,ó‡ÜÓ¶Ÿw„ gN ZÛ–û¦®^ÝE¨âÊ÷ƒû2n"Ô׊“żœ*Å>®JÏJïŒ e±sX€ë¢¥Ã¨@®û\FÚý\´ÅœÿÃΣ»‘—›n†±®`)ˆXâ"çb˜ènüôÌ]‰ ÄM6>Þ´|ަ¥\²9EŸcË…+¬ÚJâ·Ëèó9üç`'Uuî3 ˈaÖ‡Ï;´ŽQ}A-¶¤?mÜȾŠ+‡ óv¢ Â1w O÷\n™%7©ñRÓp 0ˆê¥ ÛlÙ± …šœäaÑò¥ŸŒ…3e8‰s`7±‚(+µr–pÓdµÎ^<™/ñÉôŽ÷ÉÞX_®­Ò§F~€ÎZMd¯¡¼ØõiÉ#2NÊf#yÐl}à t¿^Ê f~92guõZ™/ÿÌզȓÄf.•ÈâB8§-ÛˆiýkPTT„¢’ J( agÝðÚ[\lÀ¶É%vï̃c@2,õ%2‘1‹–/GúôΕ"µ‘ìÒîK›0 q6m—ú‡âàë:ã[.’È&™–Ç î¥¥Ò0®†Ï ëPè‚÷vág}™Ê7Ûtƒ>G2yy××ÅáaÖ7[,š`#ýW ±|ù"ŒéNñgŸ4}Ø%¸}}a¶c᫱8Öpß²ãmö;”Õ¢øùð´¶´±9Žh×Ù1'ŸÑ.Ù¼ÐmÄDoh¸`fÑtŒI_opµ†.î¹ïÝ.ýcµEp±‘Œíß¶\’ì‰Ë@˜‹Eþçâ­¿ò=Ë#¶-OA:ߥYÿyCaÕ×ÑGξk«­¨*ÙGb“|34åC+—ùâ»,BË"!‘¹ä"¢0nÊŸØYBx{(¯B<Ýrû½%²WX¨‡qŽŸ» —¥bYêÄôéÃÕ¥\¹•¯½x ÿM] ^ûrgâ~]»æîð¿ýi|-KI@Ïn\5<¼q’ ™¯IØ’§!uÐ'f8Z‡œbŠ|H4НÅÛåäÐLJ1ýC,ô¡X>û–½ÆòR}L¯k I#y «OœéÖ±ËøŸmd{ƒ6~˜Í2H:ÝÉ“Äg&Ö¢íŽ;ýmÉHâªÿxŒ5 £†¿J!E©÷ÎvÉà÷ÊC\lÀ¶É%’Ö~I‰¹ f}=œ½iÓ:aßžô›“eÉ Fvk®‘‰iŒ³i»Œê‡LCæµÇÇ'à@÷ÉÉX–ü?ÀÆÕð™"Ò /¾¾Lä›T¦aŸ#@\Îõu±x˜õͱ)”µ%ìÍ‹±§ çpA ñH›=3< g3²P¤Ï•–<6§Ìîe’8ŸrwP†fZÈuUì@ žg^ª‘=½VÞ¾{æ{jL€Þùõ\ÅÒJ™ô• þÅ@8;e´º±ŒVæ-Glâ&l>¼£#ª(Ç”·zð/Þ}${îQxÈCKâL‚H{pÏS3îí,‡hï#Øö|˜ÛÉ (TNNB»÷ (Œ»çˆsßbêòvx2ýZôïÚÚ œ¯Þ-©A·Ž‘èÒ>¹=@Û|ÿ·áŠvR™Ü…wk[<º¤Ú=Fuï@€/·}sýF¥hûF~’fã.Ÿ„S¢Š@nîÓQ1I<ªcGŸA9x«ùS‡UŠZ‡pJ&¼à§½üeÐaá…ˆúðÚÖ$›^0´rAÐÊ\j ³/–pJ#˜†ñUH–Ç—‰—b à¯¢ÝÍà&ð’nÇfɱ¯${ÉCËâ,6´÷<5ã^>B}U«/.øÓ$LXÒ icQ¼ /P =8- Z•pJá<å\û€nF™[¶¾ïfäµaÖ¨¯ÃÃkß\ЧzÆcå´TdÄwBÁ¦°…K6øA8Yz.ÚÛœÅAŠeƒ5­¨·¢25Iì®*ô‹pÊôŽW9•ýaãµ ¿Øg“öxÔó÷,#Œàâ!·³Ü’¸„evKõŠº¥v3ˆZMÑds¬Ý‚P®^EX0‡Ö5'ÿ‰Ã(M§„º*®"ŠvoÃáÐë0etÿ«¨TWnQ*¹}Ëö>Ç¿Np>wxWÜrûŒsÌ­»rKuõæü»­¯jìþ>ýìNØlhÿƒ0aòxáç,íÜø1ºŒçá>”æoÃG•Ñø?SâÄôê­Ê«¾dߥ¦sÑcÓ5\;•ÈZŒ]¥µèI-gÇöáÚ·N;hFp¾Á…óÀ{+MçU/Œª€ß_bÇNAì÷·ø—]ɻĎæT›Ñ—]¾T†¼#ðÝÖWâÇNçÏ{Þš´µôÀÄ™ÓM½õ1¥õF¸LSVŽWa¢Ê¬“?žDÄc0íÜþ‚Ê'iNz§òݹžAÆ^”i1äïãdôb:÷‰un|.Ïfn⮌B@! P( + DÊYGâY_B‚É“ˆx"‘ÝÎ3×I4å$¢0®âöNÃõEÊ´ ÕØþ¤¬hvüÞ:è¾ÊÏÌ­eRW±( …€B@! ¸T¹äìMž½, OÔðZC§})NÂ5eËRm×DÞ‹Q¤ÓC üBÊrþõQdr;$}'m=^3·HZE¡P( …€Bà"P_O-'µüQÝYc¯Õ†Ù…lÖ’l^ ùªí¤çK ¯{­ ;Šv¿…×ÞÜ‚}åg}à ,~:•{FÚQ¸í?±æ/{°·ð+ô›ŒÙ¤aб›¶—ÍkœK37“`ÊI! P( …Àeƒ@°¡ÑäÊuk]8²NJ²ÉŸÜ×q>§pNŽº;Òt:¡pÝ­ÿ%F%=„}]Æ`ΜYèRYŠ“ÜgJ¶(ܾmnš†%¿]‚›yÈeJÂ/œ'ݸbPw …€B@! P(®^‚„Lòg¯©ç¼Î:£óGÕ¦Ìçäš"Pñ©i<0y”ŽA2rËx‚Cìtd¥­CjÒpžj LKMæÿ´ %ŒÖ/ñØð Øb –:+y¿d×aÌ¿î+ßnñ—îÌh#kêªP( …€BࢠvS6Þ ²yr,=<Ì‚`Ú…ñG¨v_¯5sT,æ®Þƒûþ`å§DDÜ< Ó» ÇŸ¬¦}„Ã>sµY<Þ8yÒGÄMÜ|QÖ …€B@! P(.S¸S’¶Ù»F.¹ˆ(ŒÛÁ‡ò'ŠM‹ µsh]ø¨Û:"¯/Óâ-k V?³Ç#"²VVqÒ«»6^mn=üpÁã˜ØÛÎÂðÝtÈåÕÞÝ_÷-”O¿ÒRž …€B@! P´¢Éd\u¤™¢ô”¡v ÇÙå*Ãí¼hä³V<鯧2ܮܫłkºw§®×möª^[»0Xφ¢C—¶Êgët 3¿dæJÉç%D%¤P( …À•€÷ƒGÙeW­ ÉÔÈ&õš\Kä  d˜B©êDõ©›«”töÆÌùó2^¾WË’ÏËA•3…€B@! P(¾ 8®Î-:LMf0ÇÚ-!!%ã¤> Ád›š‚“ÿÄaÜø§a¥® …€B@! P( ßp Nž½îø'ÄR…q%Ñt†Ð^æs’‡jöF,W§¦“¥Û±c‡QFuU( …€B@!pE ””„êj/{…_f¹U&™gœDDöiçÑCV<™HsB-oxæŽÓ\µ¤SJã,¨ºQ( …€B@! h‚xf)']ç‰D!$˜<‰ˆ'É1árþºœDF'·ïtš«št:K©n …€B@! P(Z !—²i’l$Cí5A<ú’Ï>ˆ“pM9%ܪùã"Ô…€B@! P( ?¨¯§–“?*<Ä¥ì5öZm˜]Èf-‰æ’O9{]Û;IS-$ò\åM! P( …€BÀ@°¡Ñ¤ªÓJÒÉ‘u€^ ë”û:ÎçÎÉQw§QšN'êF! P( …€BÀ‚„Lòg¯©ç¼Îz£×Áʱu™ÏÉ5E âSÓxÚÜ)M§?È*? …€B@! P(NDkiãØºÌé‚i“Uìœãi#á´‘ŒÊ|N¹ 5Œ"êêÀ©cÅ(.vüNœ£4y3¶S(Þÿ)jõÚ IDAT>Ý¿ÅÇx†èwlöoø#6ì¿ù¨=ÃrÄ Ûw\`•üe€­<™™ïàHåe…Ê B@!pu!PÇqsÙ5éB=‰'6!žÔvÖÈ*vMQpÊ¢"YÅnE: $ZôZ‹O7¬ÁÎ#çZ4ÖKÙ9ä¾0 ³f9~[Ÿmœô™ýxò¶I˜•z?îOMŬÇÿßeiíÎDê³kç³lΕla¹gcþŸ÷·Bì—"ÊÖÏÖˆóR`ѺiÔrœioöÓxpÍÞÖMHÅ®P(.1uܾž§…ógááë‘d aÜ>Œgb†Sûiá©Dü…¹H®Hg«T’_>» ÿ²Ë7À•h"qÇóùÈÏß…™/3‹w¬ÅVÌÀºÝâ¿ÿž…È直§öâñôlL]º3†tjõ\DöNÀSóÃ/'Å´zZ­“@kÈgkÄÙ:¥¿”±Fö‹ÕYóqhU6pèiÌž7óþ}ž}G£Ù>B‰µ Ź{1x<æ§ÏG<Ö³¥(Ö p•“Y>àÅ'faÛ1q4s£sí1lñî}i*t:"‰Ñ˜•ÏgC<;wÃûÙ‹ñ–6£9÷V¯ØtæƒÝboä›úáðÚU8T­×£$ÇéÓ>å…Dè¹I³°boÌ™Ÿ† \¥NmT¾†yÑ¢mÖ?_õÞ„|šÖ‘¯ò3—yÓüûŠóC™ÕŸ¯òIb®ºm$KÍ®³ôÌò)ùŽ„»òš¯›l³ZõO! P\öÈ"Qbjä’‹ˆÂ¸|(bg¡Ö$ŒCëÚùën%!RÆ'mé2î1l}~–¦ýû ¬9^MåAçZºþQLìGMÎMËP¶a&ÞýG9Nœˆ~$ ç^{Æ'bâ7MÎQÂŒuU–óÙGzBvÄÌàðñBÑæÙúaûÚÙ(*;‡!Ô®ú6µ8}”®={âÚ놢_û‘­{¶ûÀGŽaäÄ^>£ì0h^J¯Þ=nÀœû&!Òž‚ˆèk|†q8DbÊÂç1…rëMý^ÂÖ­ãóÒsÐÛácÆSë°ð¡ëcP¾ö}¼ûq)¦$š¸õ¢_{5Šèe|WÏeLËGR+Æ+žC&á^¼ˆ×þVˆ)wCyþvR…qøÅh&ƒÆNÁ ½~Œë£þN}þ!6j¾ºz!†‰útô;°m½sK0åN-+ÞóbZ·ŽpÞÿû®÷~£Mä“$|Ö‘T‹×òG¿)fqzÏ¡ÓÖkœfmLä³³O¹6âõ&K·ô~¯™õŸé™Ê™[; ïG xûžÁAº‘WuU(W$¢ÉdÆëH3Eé)Cí޳ËU†ÛyÑȧû  ƒÍ\‘¥½™æòˆÉ#œÃaŸù㉞­Dh°xæmXì–q§­ú“M;ôþ‚ì!Єñ J>Òƒý  fcä€nÎØ$ÜÇTN»Æ7‘¸ý±¥Ø>k1fþp‡Ã§bé¢1eH4•®•‹ï24ŽMl:õ†Ñý€èÒõŒoFŽt Õ{÷îf[‹ƒÛVaöbÏÅ>F´ò]ßS÷ßBa÷éOfnµ'“Ä}׸‘{†kª|¾ñŒÆŽÃÚgw¡üîëŸ Ü»ƒ<¸½£~õì¹.ŒÔ›¼Êy™‰ˆsrÎè3Èu/_ÀuëJ¶ñïzwøõ%ŸfuÄ®ÂGùÌãlœ;qš·1óòiuëE–¾þ'¿›Uí/¾±göhë ¨…€B@!på!ÀýàDvBª#$S#›Ôt†Ð^# |mPÙ‰:ºF‘N _W÷µþäô!Bëí4ßÏmÜñù.¶“ÍkHºˆh/¿9Ow£sÐ0‡gÝ~‹2ww¹÷šžîÉdÊ‹ÕÓ~À¬ÊŸ„G¾ÀÎìT,N=~»W¡eo)Ç/+‰ì –Ae/†[ •–žFTtot2 9ñ±F8ïÍ\‡9· @øÙý˜÷ÃT/ÅÊM‹è…áÕÓ-¤s7jáŸ_Û0²“34-ß!Gd>ð0aðl6oè‰ä)Oýj¨‘¸~õ‹·ú‹èØ•#«‡p‚¡úRÎJÅkåÓ› ¼h rkªý…_ãC¡“®×3âóâ«Þ òìU>ý©#:ÑÛƒž ¯qúÌ¡›ƒ·8MëðY¾Fø¸äåbêÁWzþµ#–•gÂùÛfÝQ· …€BàòE€ãêA$˜Áìwƒ9Ön!A %ãŠL¶©uÇü'~ ãÆ? +uuGà´ûƒ~Ùg\5oíD©0ÎÚ³8^V{¸Û¯°ö-(>qǸße¹ìuÉÙµ¤øôó/q¢üS<;)tÉÓxKÏÓG Og°ï§8R~áÝbpã SµÀB…ÍË`ÉcÇP^^‚“ô[ù¯£(çó)÷)Œ&Ù(Þ¸wμ¿ÚpÐéËv¶R»¿¦MÎß5O§RCé2¢*+>Š3gN o]&Vñùž‰5fnï€Xú:ð/ɩ˘—ÏåÏë]§¡X:Xõì 1 2…B3Mãâ­þzŸÄÐÙXºf'ÊOàvZ/c+>ùÖ=^óKñ_2zÿl,}»ØÜ£ÓÕw½;½x‘ϦêHÂz+ŸYœN7“oqš×Ÿyù|ÉKóëÁwzæùtúÜÑý”÷q¸±SÝírTw …€Bà D ŽyæADÚ?!–²€(ŒÛ(‰¦3„öÚ|NÒ"±7ŒÛ­a¥®$êèÉÕXLä,~c)2fsØ:Ûp‡7v?öš²Í5ü7ëýš‡ÇÞøf êŸ,œÁý$ïçjh`j ™MöšOŸéѯ¼H aÃg±kdleX›v?Þws˜÷Ü:\¯åѤ !%ø¤Ù®pOÌ&eæ³ w;ç£1$.ÞLT!S»Ñ·S„Ó9¼ßD<—²O¤%A7CðV´Õµ¾’¥ìÅŽt8Ч^݊ѲM‰®O7-önsï@¤=ñ:îûûB8ù¡Y1Ú†øy>‡ã–©ó /"%ù‡®J63\,Ú0‚7y é:ë3çcfú¸CØ4Ôà ™³Éòy¦Ýø¹ÿ¸`E>ÎzhñxýoZï—|š×‘™|úŽÓœdùŒÓ´þLäÚT^šY¶£ÍkGZ;¼Ï`Ûï)õ3žÃ@§Ø+£P(®\ÂDÏFæY''‘}Ú¹#¼Œ •QPíÊ{ tô—÷s…§6ËÔ|]†äää€Â~òÉ'ˆ‰ñOÃPÄ <ïØ±ã’¤c³‰úÏ‚pw-§3/µ°ÙìT5‡;†åuûZÛ9Ø9Ò{g໩eE»i g>¼Äj^/ü°’8Ù^Cãµì¶ƒxô¶ÙˆÏzw’â–K37#rÝOÙ¼•øï9# [çµ5ÊçŒ< .0;G\"#ÝKØD µ8± ¦¦>Mβ‘ Õz5áßåÜT½K·Ðòòé=NW®¿óU^Ëç¼ÈB°€ëh5³•óà‚;¸ìsï|„‰Ñn²8*„B@!ð=@`èС¨®n´TÕkÉ>ŒáÇ{uóe™““ƒÐîÆ _¾|ÛGpjàÔåíð›Ç®E¯k´S‡¬u!ØQRƒîÚ¢Kû6èH¥T[n–ÅWz çíYt7’’’¼LÖóŽrñ‚€7båòâ•X†„B:\±5÷.ÄÙ4â3/ƒá+°«¯8½–_BeŒ>^öXhHÇÌÜŒ,…Ââ¬Ç0)5 ™±ï }l´á¢]}åÅÃÓ%yA$ g ¦xÝÏ1‹ZΩó2ñ‹§¤ÑT½ ÖÞ>|¼Ö‘ß™v‹“ûЮûã[øÆËLJcê£ïãØ¯¶‰¸}ÕŸ×òù#/,w õàžÞòyæàpÊN Šp6QÑÊY! ¸¢p,Eà©DN­fMP0 h½FBEÑ%M9Ý*ºñ2vl8©«Bà!Ày™÷ÌçÐxwhn`ÌÜܼv2 ë_ꈽ}Œù»ù½’nûß™‰Ýw†#Ò«&ý2/ ?":véÂy!a2z_ÀíZ£÷ñS^e¨•,ÚvÃSK³0M¶:SF! P\EÔ××qNgjÉ.ƒ¸”½†;öÈ0»M®Ä2Ña£$¥†in߈[]þ!Í=19¿Õ›1skà¿ßè)è×ÀîJ­c`ºÑ˨ÄZÝÝ}i3€¼\ŠŒ…t„;dsZe …ÀU†@0 ¥¦Ñ¤ªÓJÒiç³Ð üÉ}Gžx!u\‘NêN! P( …€BÀ‚„Lòg¯©G5œV2Mk 5Ÿ\8Ä5E­ÊEãis[HìG¼Ê‹B@! P( …€BÀ‰€h-mTmÊœN!˜6YÅÎÓ‰l$œ6’Q™Ï)W! †Q¤Ó@B] …€B@! P(üB Žãæ²ü÷B=‰'6!žÔvÖÐ^ˆ¦(8©øô83åª^—m”Q( …€B@! hYê¸|=O%’ÍíÜ >’ça†qgø0ž‰Ní§…1GÈfÌn»'^µ¤óöÛo÷{Ÿ«–­›B@! P( «K9cJNíìõ zDPõÎ1tá™ò³ÐMž ãvkX©«B@! P( …€BÀ )$ÿ‚ä¼KšpžàL;9ö2ˆ?*Aµ{ñf˜«VÓiP] …€B@! P(ZY@$|R#—\DÆ:Cù;9ë%ŒCëÂGÝÖ©‰Z¶ Tl …€B@! P(¾ˆ&“Ŭ#Ím¦ µ[8ŸS®¼h{ ù¬OºQšN uU( …€B@! ð î ²K®ÒH¦F6©×äZ"%ÔuDu¢úÔ"êªP( …€B@!àW"Á ¦&3˜cí–„’qZÈ,ƒÉ65'ÿ‰øñOÃJ] …€B@! P(¾àœ<{ÝñOˆ¥, ã6J¢é ¡½Ìç$ÕìXé4PW…€B@! P( ¿U&™gœDDöiçŽðV<™HsB-oìêL¿ðTž …€B@! P(¼ Ä#0ƒH9ëêjµ½:kå$"žHdçñ—rþú^eOnßé4jN§ u£P( …€B@!àB.9{S;{]†Úk‚‚yìe½vô¥8 ×”ó×­š?>Ð(ÒéÀAýW( …€B@! ðúzj9ù£ÂA\Ê^c¯Õ†Ù…lÖ’h^  6ª5@Ô^…‚¼<”T¹Ññ^š~´¢(?…¥•(-ÌG~QEÓA”€(-ÌC~¡¿ØV·@½œÅV­žVO ª¤›²³‘½~ŠØF[¦ü'žyj‰þƒóžªJ·»•Ó ùQöêRG:Ö*úÕïÙQR‡‚’*?bW^ ïןC8û*+‡ÑÏòw†“9ÛêQy¾§x/Ïßê×Ó¼æ*^HTmËÓ17=éúoîÜÙX¾©ˆ(aùOçaSQµk1~ž˜ˆwŠõg@®Ö/qßäDüOÑl™;“ÿ\Ò(t~V:­/ÔÓ,Á‹F~Ü|Vä­ÆìôlTºÙ]Ò[{)ó5×…M€‰[K¶aîôtì,µÒïX—ˆÉoðá¹Ù‹fã™õ¬c;ó2Aêõ«‹¨W=¥ê¢M˜;w5J5BP¬E"Wsi'?Þ/ZŽìmyhý×rSè¾B/ž8y/"fø¤®Û‚•¤`×WÿlBü+x ²áÑn}Ã<íÌÛÔ"rvàÏ 1i9Ž·2é¬úGÓy…_îFÛÇûeMµU+¶OHÄ„wŠà6ì?ýƒ¼Y¾¬x1}::wîìø™ëÖ·ÈH>?HVcÑì1HÏÖûV”*±sõ"WxÆó̦Æ}³Gí¡[3¿‘÷Ååf¨$)Ì/@ESÕv¹å[åçªBÀRI­¦¨2ë8‡“s9m\1ôí…Zœç¡³6;ΓˆÚlŽy翤“/‡=YÈ)>‹èèhí׫W_´oËÍ£ìç±gë[øÆèÜ-¡èKq—]L›i¬Gà¦ajl(öeþÛ ž1UìÄäô, £Ù[~‚%9[€®ÝüÙqà¯ØÂ¾=ÂÍöRÞm\Ê| ÀͱQÍJÖúMrr.¤vnËBöîÒfÅÕ(Pe6Ñ2ãGñœ4 ëqX¹Ý~àÀ´tß´ž†q×vôîßoÛ*¼y_* o…Þœb¯ø é+³PÜf0F›tÂñÝËðPJ"bæf·.ñl ¿Ëô]xlJ*‹ˆ8âî4â¯Ð«Û$Ìx§Æ5*ä&¾ÀÜÍ·î͸/?ø>{åièuþ¶ ¿öèÈíØô»díå9³¿ãrôs!D H¸¾‹[jåø`%__/€Aùª+Jp°¤5¡‘èÑï:ôïb¼‘ì¨(:€¢ŠÓèÐ{(âÿ?{ïWe‘ï¿»¡¢‘ÿIIüCŠ%ZXÕ¸¿XÖõt½,·N›+âš^ÙÜ]²Zʌݵp·,ÂÚí´?/× ×ui!¯éšÈª)f¨œ \ EE=é!÷~ß3ÏópÎáZf3¼8çyæÏgfÞó™™Ï|æ3sF¶VM µp A ³Ÿì=оc' ¬¿¼ÓÒ‹à(ӳ󑹡 ƒ¥—µÕÇ1`d%ø ì«>~Cï@xH·kñɧոÐg$&D†¸ÉoÄ4TÔ¤ 0À‰ÆŠ-øEr:JÒ¬ˆ ëAƒ5aÚÑÛþC8}¡ú ð‘ΦÔžõÇȽ.N;jkOáÆ!!èÏj7Ú>¢`oÂoÆv5\Àб㺠çp Ä[B‹ôìûÐJˆ³q‹¦¸?ß#õüDšÆjé4â1vb8ZP¡šk,~åfìx\vË9iÓ-xb>¦h@!uÑÈK żüì~îaúë]Klaîÿ瀑wM¡ƒƒõ¬w°ž²œZÕµg1($"©‡t"¦†A–†»ñ qª.?€†ÓçÐcpƇ酒dpœy…°<e"΄F˜¹ÊâO­Ñ~=Ý#ïŒÄ`7·µmµ§v7Â…‡Ëyã½~ñk¬ÆþCµèñpD†‰²úàn+œlûƒ"Ÿaæˆ~hhlB``4Ip«¿à‘ª|~â4yq0îŒÙjÁæ™ç;Ǣ̭ú­Ç2ù·ã3Ѿ5GŽâĹ ì/·±¿¸sµsì·GO°­ú|#Æ„Aviûl,¡8ë½/9ÐP] 7BH 1¸@ò·v•üu 2rp .þ€%°ä¿†óû—qLÊÄHU[¨wð‰¶ãg)ºl/ÃÆ¥#ba>¶>3EO?áãgzŒ—åhØ´áæƒ¸³ÕâÒ‚gMXN¡zDZl„éu ÷²`mW‘ZˆE›Áyȱ 2üûØOÜ¦Ž ãJuJˆƒ)ÊÐ :QôópDEþÉ¥)lúä2ÿõÚ>Ò¡¶’X ² F랇ȇ^w™"ì|•Nø«hyRà–2çô»¥_Q°„uˆÄ«Ûÿ)BY¾ ä¦DX”‰åHBR‚ ¡1ËP­e¥Å‘ŸµXž”KÞÓz›R½M´ÒB¸Év|ï˜ï/ä75ÞG5ni,[ú†Êº&±"‡-A-cü£QáÏ£ÚдS¸Yÿ³PDEYqŠ“£·tL ÛGB×›)Çñ©ÑV€Ä aˆŠ#Iˆ‹GJîvUºo LBÉËÃÍ8¢Q¡?C™ÎÐ"ƒs×;çÄC.ÒiÎ%òJI]‚õ¶F-©0•H_†â2Ö+5‘á)x¥@ïC¾Â:—±Šu" „ÇÞ7ü/öÕžã!"žVwò5šç¨Ù<Ç#íç©Þ<Ï#ë ›ç¸µ~긽{÷F=®}¡óÔ±#Ô Õ¢ººšßœÞ…»€ý6Ί³ü\Yî$eTÂZR†²ÍVœÉ¤æ²@ˆ >œŸ?üåàíAÜ„Õσ)k&¦³Û¨Â1™ï¥~­Å5– ¡ÊŒqèU¢ÖqYz>Ì+và$µ²'ëjðîãBcÛkr42d LøŸ´!ƒ¾9ëHBÎÚ}°Ê'3Öí®¢\‡ÉÞhɈÚG#·ÿ3˱òwÓåä)âÜ‘1Yji ¹7H ÜÑ–åÈZgCvr$iÃ9ÑœÌ(´ÕI|+6d‘VÞÛßÄðW]ðrˆðϦQÛ+µÑÌi÷bˆîc|?yJ>†ÝDÍTc1¾O¡ixöI¿¦P´Òr”Ó(ô¦q‰|®Ä}–iÚþ:’­ÀÊ‹â#Àà£,Ša÷hšh×dÁ©´•¨8&xáÖe˜P”ñš.T6à!£ÒeÐæ¡æØ1ì΂±[ˆz2\°]Ú‚Í8&xI4hÑrbiÃfÙ†_p ±|óž‹_L\l°Í«6Sº¢¢ùA˶8DÎE~šÊ€MÔíØ|òE›ú#?Ýac¹[úÁ™æsQ¯ýG$ZñÌZrQ×¶ýj¹ž IDATÖS™tZSï¼E&ô»);tžª+É–~'Îk ]»þ d’…ól¢¼'QWSƒxa¯AW³SðúBÜ1€‚iL5æö›­˜6²½–S¶›v½ywUèÎqЮ©ì÷0“g³Kž—ZMM›ê³d´.|´?öF”ä̦}hRò ‘—eFQV2ŠÄbƒ®ëãiÖ¯#I>ÂôC¡±Ët›jIVû0 šÐo„”oú‹|Ì2Gë ËD‡ûÖýÛˆïéûDe vžÐ•¼Ýº±¼éf3Êî¶bCáJÄ—,ÇóË¢öî$M»V}zRØ›´ž£ãcþÜè'´°Q˜·¡7f-]ŠÌÅi¸ëæ~:.¾Âb‘qd–._ŠQÇr“cÅ€;B¨µöÃ;@Ò½£qpyʤ}öm|°mØŠÞwÅ#si&îæ8”lúO}!yžãc’bY¯QÓy.È´˜°F®¾}…µÉB½~«Ûä!ÁT•œÀ¦g±÷s>¬ýM_^@³ã<ÎqÌ;îΞý_°>RŽþýûKÁóšÖtöìK9b¹…Ú³H®ò£•üç5–à*þõ êÌ3qÇÀè1p8„u¦õÝ­§õÀvÛßD:·fõh¤+ÔQµW †S'Œpù‰­¼ò¿‹½õÉ2¹3üÊ_ýÖWÀé …Z»Ÿ½{ Ö`MÞ»rÀ¾=øI}ѾùiºŠ\Lâ–»œ`¼Ðñ5GMÛ‹œ¨h;glÿ íÄεøÍ+Q—k‘ÛŸïÝÉèÚvÕDî;>¯”š¨áµ‰QË;žÛ\âÝvâÈúŒ[¹âÇXYG{=¿ÊóñfÞ&Âû! @T–!õû(Ü ÑÃ廘ôw·´iGÉýti+j±îF®e'Ìðøñ2ºópâ=š)Eí¾$u/ÿ±é6¬,©Bê¤ÁÒObÈ¢e.ÅD}Û8ðÖ(¢ÖÆ®—¼ðŒE˜<¦ y"5Í 8³XaÚÄ-ü¤³£t‹•O AAb{ÞK›šcÍ¶ÓÆ2†™ÐïFÖ9pŸKPŠ_ÔÖ=Ÿ SæÌ 1Ÿ¯tF3ô:jqÍÈ}f¼,Ñà›…(|†Ë*:çČ ,šÎm{NZ¡šp$ÍótLæÛ°tFdK}¸¥YðL¢¤ÙXK "b0ŠMê›÷t~‰_ª‚ùg›;¨u;J¬¶<ñƒ($'œ©íû˜ A!š–Úånzõ‡_„ÒŒ¯œZ¬âõ•íÇð›$IoýGúâ -1¡óÐoéÛ®L­yž¶Ø4oºPÃÓáÅØ°u/ɱþÃEýó'å÷ªWsQÊ“àþ:æÄn#qÆ.<ó`$2‡gbw]6"µd2M«ÚÕ¿>rß§ÿB'w>b¹àÉXK¸ÖO[Ѻ,/_Š ùe uÊDL{t.ßxrUÛÝOÕ%R8GD6Wh‹B¹X⢰¨\WÑëå6-ã†àØ!Æ.º¬Â2)àŸ¬X'Ë´zc¥ôïìÇ@#"yPÔÒ²²«æ'büÄiˆ1ÂÚ}`wNÊkNÃiߎa¡ÃG!îØAŽÔ¦›)<:qRcø0Ü:önL™–ŒÔ䉚)„ý¤Ïþ$ “ÆOÂÂgÅÂ%?˜Æo?DN›3R0U,;í0#{–¦&cò½S0û9¡,(ÂΪ,-+X¯EXžy‰#°n‹¾«Æg_a.‚ŠxM! ¶ÊÇŽùôiøëi{¿õ$¶U|góÿâ4ãÉ¡Ó_œÇÙ3vœ<}–óû§Fß¾}¯mMç—œóLY›µAGhC¶¦º´h¾8à˜?ێጕÂP„ôô•ÊSXr¸5kýÂ5ÙJFª)ý€ß&LhcÏ)eN Q2jÀ8üÊÊɢĊÙIш]²‰CðÙN19™`¹ƒÛÇ…Û°­ô0F™Ó0÷^!L¶jÓqW _ ç…–ì¨^'5mëN1¼(a|¦Ù˜%Diå‘B ó¶Ä!T 8ÔÕm+d|MÈjÉ[ßæ¢6÷ƒ|—ñãôô‚4¿ßåÃQެyf„§»¶yk÷!1ц]–ã4™3BN̆-cÒ½bû‘N×ôð{¤­#qø¨XF+§š,‹1#¼e¯‘Zð½;[@jÜ·™b pco½r|.]™Š"Ú„þh|K¼†ra‹ ÄŒÂ]‹sVÿÚ)Êè+~€ '»D¾Ôø܆¶mÃÞSA°¤%H[É€!RC|ò|J_œ 4ünîxó®uõ¸ vã-'ª(гtJùÂtKùköna¸ ·ÝÜß>9RÆAó©Hj,4­n„9JöŸ¼gðËÃõ>ÆEÔj: ü áç gª• ô¤‰¦ÑZ$~ºê#Û˜[Ðé1ŽyÖ|¬[µŠbVDK»xåyß¼¡eæ¹ß¶/“Ñß4žwÖ#•ÛË¡‘ÑÈÿ yVB€ÛtÖ {ø9¬H£&:'q4‰y¥¸Aˎ؉õ™Xˆð< 2òtÓo-¼Í§ /í|»°šÏGiîòŠOLjCår¾Šv:î“;]!öîñÐ…ñÔɉJ¸ìˆÔmØÅ’{ÿq ¡ß5nOÚÇŠM‘ˆŒB¤NÔw(úÆ(f†Ï]t¬%Æ„s¥êer=¶{¸q8UûŽ¢ü£2lõ†=8O-H¥Åþ%ýj%LEˆæªi Oä¯)­Õhø÷•JŽåÖÿâÕp¥xýùtúGb`˰ÄwšµØüt¢lÍi.4‡³ÌrAܬïPÉz3êÀý±lÕœ¯°Nf®¢]ƒ\ÏT¿ï»=0öf.ÅÎRÅ!þÏSBá©õÏylý„ãKœ9çÀ©³gqú³Ývý ž¥)µ­XùĦ[U+Úˆ…ëhÀ~iumÁo¨[[¢.(é¥q~)rè‹~n‚¨½ŒWÂÐ7ï»Úév±ª O\Dù1XS¾¡vÔkúÌ©xv©ØnlãhSù‘•ãvë­&o´´ôv¬^0Ô´Mj‘M`ؘYïÐ…+{¥-³ÆH!PH»…`•¶@Ûfæ6—{ÞŽªRñgåx£>ZYFNA6WEs #Ú’ÃmÞg9^Æ`íÝý”­}G s#´üµ±e4´Å+ôÁ²U¸(KN9ÀBü°‘[G™ÉxÅ\ùµ Ö ímW¥†T‹WÂp‹‰Ó=âŒ`ܺ–æ;fºÌ „¦V³çÌÀ8©~Óê$ìC—/°ðŌөiå!ˆâ³Š¥¡¡hãúÊÛV¿LZª"³7¿¯æ°ÿÓgºíîØc£ÈãqcÛŸy4íÂë„1>;NjfµøfŒuµkþʃb0[q7ýö¸Ócò† !PGà]˜1lŒ3ïAøä=»M³Itñ t5s‚4!ñÆ ¡=Î,‹ícæØR‘¿{W¼HasÖÙŽaۢškQŒ[»xî?ý;à ‘·~Û®L­x¾ ¹?IB~|6ªVYØ7›0$ÇŠ­S5]Ð…ß`$/-ÀôYëñ@T26~ró©}}Môëæ (£ÝmfÂó˜JM§ûBU¦×?4¼·+=dŸÌLЙþpÅOăZ{N9.g-£Ëã©äâqwWNºÛóW1:.äD·A“9üÐJ†_1-Q$¿ù;®gGE)…o`E¬Xœ_‚ób’Õ–â€aâJŠð:Ž ÞbÆ‘ŒŸaE½ Ö%2jÿð<•Ä>÷ þúFfÇÕctM"ýÎpde•ð1žO-ĸ,”üöñ–™Ú½øÝ¬ÄÒË×GÃÄÎæL”W‚ESÃáo/E"#yvMàôt‚®lWaž©)ßkaÓ9lDÌœvç·òÎãsì´½iÐÉ;:Ïõ¸ˆ î¡ü¿Á ³Uˆò«Å½#1bÄîl\ÛšÎn5·8æfÅs[>‰wzÒxÝnGcm ѹÅÝ‚ÜVzÁbåÖfZ›ƒ&Í¢ë¡ðCŠ'~ËÖcŽØcüû9:K‘›»Õ<±ÛX}{…dÒpMøé) ‘‰7 JÑØÔÄ“°¥(ÖWÉb«I Í º}™ˆé“ÛJÿÀíúxäÎ/¢»œfcfÁºö¢‰«Š˜<è  9M‡PH¡ÇØfn›·ó¼vâË3Ça—¶e4®ÏÍE1/ÍoâÉ÷eûHÍŒ©· Ñסm7ªÅ>žJ·¦Dì<«ü1fˆÃPânËHŸš½B[Lû×P1Û´7Êr׸;1iîKÔó±„Å®Ã0C‚Lœr°–¸ÙY–‚e³¤–2³0Y·±åÁ ¶?O!©Õ$§Ûs2ùQÚÛleØÄCU‡E#‹Zw¼¬ ÃÁN™û¢¾ 45Ø„2ãb=ÿˆdx ¯Ì‹K¤>cúL׺Ž*·÷Š6®‡MòÉv,~(mdÆSÜ*˜ì*`‘WÖÉzòàÂb³Ôæ=GíszB Þ²œñ©Ö…ÔzyJŸùQº‡ÞkË/NÝ Á“㔸ÓTpà‚ïq€¢ó&#¨o%B臂îß÷ÄDœÀ˜ë£Ïù/àÏíô3µ¸ål¿s ß‹âÎ^Do D¯^Úý­MÜÔÖ³‡6¼ Üß#SßÀ:<‹$K¬ì€ ó ÔL sÓzI_¯eïüùÔzèÚ5÷ˆ?xi«â•lrÑ_¸¶ŒD¹í8YŒŒyü×REX²±û™irB ø%¬(=‚yÜæƒƒpfÚãL¢ÌXPØ Š-j]ˆá›Ó-1‘¿—ɱxw­ŠŸ3 ]ú9ÔíÙJj<è …@±ƒuP\ ômæ¶yûÓ–²æÅE"‡&[í­¬8”£93jýZÏ7€'Ç9Kf-§Mçr˜3³Á¸“îÕò·.íœ2LÔ"JçÀq‹©­lî*‹ô óœÈ­qH}õ‡ØºhÂøѲlœŠèX–ÍHŒÔ„+'Í Ì”Þó+4ÌeñÑt”Vwt%Yˆ3è›±b{x’nW)"ôÇÿ˜y‚8ÙÄrJ<Ú¼iº§¸Y˜®–[Ëò´8éÚÔ\Ê<¶y byH­(S’ˆ°daÇ{©óªn÷g2Ç#m.c˜‘¿ã}L ‰vôì¨Ü@¹M×LŠèG?)®íaï¼×ž_ìGÅÛbBÒŽR#yy¿œ)þ|º‹›å™¿i9hת¼˜<—–g<È™“%ܵFNI&þVö#Ììí½ÿÔ}Ä oxï·íËäâ3ÑßF`:e‡ô弩²{Z&ÍN(fd™‰„º\4~¼éY<…,€¥[¸bæÊ±Á ;úûùÜ6g%ãÝGküOl‹NËqŰÓõÚ®"ÝÙ3Ⓡø2Úð°ðnãNî+aI§·ñõýê>^úõÒ.²VzéãkWÇSÿð™Ä`-Ìéq\€ Ò<¸›6Ùú‚×~³y³‚Kp²ÎC´•¢úî:$J»„¤mÈÆr^¹5,S@|†‹´ñU¼w§Îîu4äL7ð-g¶FKôÙ…6íÊ7šäz cå¾Ý‚gxØ =ò¯,ä‘×Ê]àµIbûý†† _¿~0`úôé#ýþ—É_÷—-%Ô‰vÏ]ø¼fžæëŠÛ½{7BC[o¹v%ýW—6QKçÇC<­N¤wP nÆ„%!mG’[iÊÜÓ9¨A=Žó\-܈þòrF·pj@í\¥ó´Ç¼íÔ˜8iÌÀp~ùv^hÕ®OGdrož‚_ªk|“ér¨ÄóqãÀÇ[{×ë~¬/GØ6ÎA­²“'j»„uureO Ák];ò‡!gêlOIþ’µ,M¬­¨“~`ªs于÷T6ÙÛóhãöeK(@!O@Oôo"“WÜÚ¡såð«K¼çN¢?\:΂—œ~Fÿý…¼fàì…çÝ‹Óî¹Sý¶]*7§üx€}ÒÉú:¸Œ4øY¼ ­¿î–°ÓiWGÅGÏÆBÞÖðŒ~xÎWM¥Ë׋7Bx0Ùñ•°«a²ýÛóª72¼uä|ÞïK IW†_ƒž¸¯ô87\nÐ~|ýÊêlÆÃ·““´“þ~Æm|®X“ 6ïÍÕ¯hk”Ü/§àXvÇ Ù¸¼ÿ‘ûZß®Â[R‚cq÷šÉ«òÜ&_a.ªêáëF ªŠ[Ø<(Ý—ŸŸ7ñf7]ßuèÙ³§Ô\Jí%çQq¸H^þ®?‹wG| 'N'¯Srã°næ~-'£@'.%磌ذNnk=ìUàýÈ‹À½:!¨øÈ<€×tÚy¤Õ€¿¼nE&O6û(E§³ðÑ~rÂõYÈ×íQ/Q/ƒ7…M:x (§„ȼK8Eý™G7¨+é(ty¨Êþ&4±¼^”£·øX¤ôäºÄ{îÜøárà,x©Å Á¾å3¹ÏþãÓõع~ëŠîá¡5OÉŪ[,ñÞ-vp£Ña»Ò<`Z¸•¼¨§Ø²Ýø&wòv´·wË÷²ÇÇNÈŸ‡‡ZÝËïJóÖÙ•gûwaÓ q3ðäO†"á® Ô|¼Jj33’ÆyŸ¬Õ¼W÷-£ðÚÖ9Nß]¸Hînþk7áSê=ÂDwK­g›P_am3RïßZ §0 !Sš†*Â/ò'2…Ð)œÒt~kYEUüZF ¢x=ªzŒÁ´‰­±]Ëuþ6Ô­£vuò·Ê‹JêqÇ´iðxÅç·¤oxxQûúå¨=Æ_› ºx¸l¢ñkžêÆ;Ž×¼þœ ½\['~ûúÞ‡ÅøV¿(æK¦Ý„ÑÉ)¼) ­Ð)èz s#¡¿^¾nM§¸ô]h;Å¿:…­§8Å»ñó˜BèZNñ¯„ί—_Tî …€B@! P(º…À7MèäÁvå …€B@! P(W6úô+›ÙWI}ãÆ_ev*/…€B@! P(—Œ@RRFòdä5è®Y¡S´Õ7æ”ü5ÈXªJ …€B@! P(ÜPÛëîh¨g…€B@! P( +‚€:¯¬Š¨B@! P( …€;JètGC=+ …€B@! P\”ÐyE`UD …€B@! P(ÜPB§;êY! P( …€BàŠ  „Î+ëÕCôÔÑJTVjÿÇÏ]ô\°æS¨Ü¿{öïGåQþnZ—Ü9>P‰Süå —»x†ô฻Ÿ+ðjxðPæ«¡X_Cö¯} k÷·´ysývdg¿‡Ÿ¯¡P*K…€B@! ¸&PBç5Ù¬F¥Î¡dùLÌœ©ý¿_õ…Ðò}f?ž¹ïÌ´ü?¶X0sÑÿà\KhÇO窑2ï:ãŠ{®ºˆôR0ÿOû]~Wîá"ö¬} ›w¡ÔÊ|åÊ÷uQî—£ÅÙ°¼øv«^¼x»òžÃÜ·vµòW/ …€B@! ¸T”Ðy©^Õéûà¡—KQZZŒ§F³ ne­Üø6ÞÇt¬.ñøÿß3ѧ+uêå`ÆïéF»Oˆ ¿œÿ$~ö@hW(u3®_|ÿt^ßùô×û¡Ÿ(³ûß*î<‘«=f¸œÚ…Eéyxð…5˜~ûWeú „\ë|z# k´,$\ÔƒB@! P(º‰€›¨ÐM ×l²f¿õ.Ü?}J×â•—vaÔcbþœiøâ÷ðjÙPü2}úÊúS«´ú×ÞÀS3'\DÎÅ{oÿ…%ûpš9Œš’†§gM‚›šëñÞÿÿ6ò6íC¿Qüèc˜4ªEúÒK©ü@íçèû1²+’&óÛô—µ(úppÃil!m­Ö³ð×cÚ¯//¶½Õ¡ù0Þzy#"§G ì¿ÞÁ¦Êðà¬4<2e)_Deq>Þý`öUÖ!x” ß{4™õëƒí|E‡Î£RÔ-çýNoœ?q,|“† d.âð®"¬-øÇ¿À °8Ì]0Crÿ«önÀ[ïÊü¾7ÿ ˜'Ž@›3–»ó΃DB_í 0ûÓ£h[XÜÜÛÈG~Š)ƒêñÖ yˆ˜ûSLÂ27Å_ø#F»Þ}´­G<ïÁÇâì/‡0¯Oá^AùÜ÷öï§¿‚Ÿ§¼‹˜ÒYÔ.†òP( …@×PšN¯˜]Dci~>sžø+ðè ßCåÛOã•càM=±%ïil;ª-žû¹/­¥0!Äî\=öïÙƒý´4þ÷ðýè/¶–.RÍØôÛ$ë%¾Í¨,Ùÿˆû1?}>"ñ6ë÷*›ý0dô=¸ï¾;!DÓàÛîÄ=wÝ…»ï¿A7hk©ÃëiÏ¡bÀ˜Í pª§õ" {í‹ÏáXD’M_à¥'~…O;Ü¡÷΀¯vÐ1{åxôq<ä­]‹ãŸ‹”¾¿‡Œ‚]´c›ëÝMoxvŒ .ņWá±WD륉ÑÚ½`zø)¾”âó11Ò¨o…€B@! PøF@i:}á#Ôa“ŸÄû/ϔڞÿx o³£ï´ð^Á;·aÚ#w¢¾t§çÉøÏ‰C}QCó±RX~ü\»8O­*ÆÐ¾¾Tqº†É‚ƒq˘±Ñw&êTšnƒ_XC­ÙjÊîÊBÝÚøà㣘0Å{yúÝ‹WÓ'âȧñÒÚ;0ëñÐÇ™ ÿ!ßiW>ws•›ñÒ¡ÑÈùàeLËÅAøà¥<=Êõ¸uÒ4ÜJ ã¹w^Dë_Žõ^ƒþô_®ÆS 2õooÁ;k1mè(L{êeLYQ6¿kÄ«xÿý'°·¶Ó'NÁ=¯/ïOÀ”QB»©»æJüþéµ?'oÌÒã)SŒ0H»ÕéÜZ~JhúšG ðíTÔÃíÔ út^x¢ùè¯í0ö–:fK4ÌîЂ™®Zíidêöî»mz剾pù8í ¾÷•ñìz‡ƒKì¯9ƒÛoÕôùžc*_…€B@! Pt%túÂé `|Üx×öâ”%á~}Ëø_ŸšŒ·_ÜŒúGÆ 4B×c9¸µy¥×ˆxüýï“ÛåèwC ie9õɰaæÓ˜ñÝ—¸þ ^X<ÓnBE™¦ŠzzÆ}xÚòäÓ··öFÜ î&cHíÒ»&j,ÝD¶ö ZùôÃFdg«ý¥ÙÃv¾÷:ˆD„n ÖÓß!úróžî"¬)O·>ðò¥ÓÈXËëKgmñE'Ž3õý÷GH*m?d~£‚\ÞBüj¡éònÿà…'š«…xj….¸ÌDÍ¢ ï¶õ'%iÙípaOã"i4ÿŽÑˆFÎnß~r¸ùªG…€B@! Pt%tvÝ—†p#"^ëuMԨؙÀ‹i(\ŒMÔ4þòc;¢„sòñÝ mÜëß1ëvßÚ¤¾£¦áÒpüð§Ø”gÁÓ–ãQü†9¿”Ô~½®÷¤ðÆâúÉVu(®‡Ð¤}éá$‘SŠ{B´óàxõQmíi ÁƒœÌïøé84×WºÙt4<çç­·ê´ŒÔB`’ZRýñRà|,{5fÝ7 ½¾Ø9ßµ´D哨ۉóîíÔ|‚¶œð¦½t ®šÐÛ’ªƒ'O<á«jÈ gO˜éÀ÷Ô*س¨3²÷E“q¼â©¯a¼árýÀ j1á³Ï›©yõ²à¡¤,så …€B@!p¹P6 yÚ[ø€±xa:ðÆ‹/áÐøù0‰­í\Ÿ[ÍøGq1þñ´üÿÝæ[àö‚ûwíÁáú“èŠqw<(sIoo IDATbVŸa·scxëÝM¨çÅ/p¬®Î^BÂiÆñ£GQ__“|küg êùÞêNMú{s•ë2ñýßÇ/ÖpEéÕOh#·àJ ¾² f<í óŸ÷:B«VWYƒ3gŽcûêl¼Á÷G§ŒFó"ßéísÇöã­ç,ÔÒµq<Šþöª"T?Ž£¼“´^ÜGÚgÌÛ´Õ\¿ÿ0Ž?Œí›ŠQïnfÚ†Lg_=ñ„¯vÐ0+ÅÚÂ=­0B!x’~¿öì=ˆãõ{ðâi5狦/žÐ“CÑo‡‹ìÕaü*ÿ§à Ïî\Í~â<ã†uÄ›žÓ+_…€B@! P´E@i:Û"âöÞƒÏÁîw¹…qæÆ=Îçi”Wlþ®—­ðåzôêãE³Ô6ªû{sÞNû±Ô(Þs~½·IR·ãéU/ð®Ln½ç¡“±ªøeô½¾¿JJiI÷óˆ(óWý¸ìô(î‰ûƒ<¸€ÀPúcøWèõCîÛO>ˆ“–Øð~lþœ~å Ü 4uÍ>òé£EUòžÖÊG£üòÍ÷1Q 4¿N.ÄÏÓ’ðãLž.î÷µüø$R¦3·ˆÀ“¬ßLÖï¡%kðEVµÂ3¤?ð Vÿc’|B®K»Èç¶ïz‚v_^y¢÷v¸ÕÀìÅc-)>öä|œ~éÍ¡×HüÛSÓy_æY+–0™+™¼µZÙ|Ðì{½§_t5+uh>€ŸÞ—‚HëxDš´Ûo‡Ì‚¾÷º]Ds³“¦ĦMr-ÏË‹K[<Üß½µƒ¨C3…ä>~•øé=31AŽEÚŽêç¦ož†qÑ1¯ãA«ÿÖZu¨ç¥ññÏ_¿÷¦ i¦I}+ …ÀA`ìØ±°Û[Åõ–QUU¢¢¢¼{ôÏÏÏG›Œ3£øô ò»={ö”²Aï޽巄_=8ûq¾×]wü¿ÈSÀN𳉥éô íÕx½aÓ(¥'áÐëî·7š×÷êãQðí(uànxFJCQÏBNÇùQ‹ìEö˜§§‚òŽÌÕ¯½‹„ìfî©O|l–v—¦§´n~¾0“ŠÃsNY_wÓÐŽêç¦çHKq¼àÒëVÿ®aðõ•óråÜT]†‚¼<ä­Y öÑËSÿKãÖeºã‡†ª±½¸ —2 ut§½VËÇÑ[§Æ='ªË¶£¬º©ÔU…€B@!àkXè´cý²t¤¦§#]ÿOMMÁ²‚ ÀQe?œƒ‚ »†Œ£?IHÀ{•ú»w¼¼‡8âñ¸ü¹â0ŠRã÷§êvqK­éX¼Æ¦çYWŒò¸ÅlØž‹”ô<4ºù}¥ÎZ–+µ›.fî¨^ÔÄtlªut1eg¢7`µ)qÿUî%r#ò§`ɶ1“e‰ízäÚUÏÉ^Q€ÔÔ\ÔJ ÖÅ‚¯Ré'þù¼xòÖoÇ•Ÿ–;Â@/ð7ô«5Î@ÃöW Ëê"äÌNÆæ#ŸuÀ«xWx£U¿%ù¶eÚ´½à²ðYùŸ !iŽ]a¡³éc+óy¶ƒÅ0±l©ë¨¯:°!6±ïUjà¶?;y×c‰|ØÇŒñ[ö·%0z³Ý¶)b þ“²¥­$v6½²¸õÒٱɎ÷ŸŸƒçÅ|qYœe64ºCMe‡­´ î~—%¯ËEÄC™/iEç[‹À5,trrØjE~å2dˆü:t8úÞЃÒÈyl}ÿ]œ0w¿NèÅ î:GM9ÊÃz`+e¢ìÜÑšTÃ&Ä¥[qgT¨ôwÔìFf~0h [<'Êÿ–"Žíþn¾_åcźX®Q¸;, [Ù:N4 ¿ jà„m½yŵݢÕ.Qc è™ñ¯‘키‡ãÊsŠt³†ií¾môŽÇä[ú{Žßiß&ü×ãØîŠFˆkÕð Òs¬¨ì‰'â®Qp¬8 ó’ššweÏŽ0èt¾ŽˆñCkœÁ¥×» ™@Z>N¬ÂÖ“'‘zóç¾y “Õê4o´é·žÊ4íÂ'ÌõRù¬ { Ùq,#ì wþ~º 0ÏBÈ…Ã,·“;Ñ×{š“1@¶?;‰yW£ÙnF–5_ô€Ä †õ» tÇkNàîù(Ù±…ÖL”-Çós[:kP˜™ƒü/zcˆL?ÃÇ dPçnØð.6>ßÕb{Žo?€ÇcMÈÛß²,µWü ¦¸X˜W–zNsY}Øn]Ö5e‚‡2_Ö"]ĺËUQîon!ŒþûÍ­A%7M_€E–ðv± 8¹»³î/Ýx®?°…£r<†ž/GÌx¶Õ@îDÁoÌròœ1Rðjö ÈÓmn¹Õc[§¯ãaˆ|ö†j¨nÀ…}0xÄŒ 4L'*ÊQÑpýBÆ"rd‹`ÕÔP GÀ:ëñÉÞ£è;vÂúûÁ;-½Ž2<9;™ª0Xz9P[}F†P‚¯À¾êè7ô„‡p+°Ÿ|Z }FbBdˆk"ð1 5) p¢±b ~‘œŽ’4+bÂzcÐà@M˜v4¶ÿN_è~ƒG |¤†³©µgý12D¯‹ÓŽÚÚS¸qHú³Ú¶(؛𛱤]†C 0tì8„°nÂ91ÇV…Á"½û>´âlÜ¢ƒi'.ÇÏ÷ÆH=?‘¦±ÚF:¸€@ŒŽE¨æ‹ßDF¹;×„ÝÆrNÚt ž˜)PH]ôòRC1/?»Ÿ{˜þz×[˜û?Eã9`ä]Aèà`=묧,§–‡0ñ¨®=‹A!!I=¤15 "°4ÜoˆSuù4œ>‡ƒÃ0>L/”$Ó€ãÌ+„å©(q. „ü0ÒÀÌUn[ïÇÑÓ=0òÎH xs[ÛV{aw#\x¸œ7Þká¿Æjì?T‹ß Gd˜(«~Ðé¶ÂÙÁ¶?ø!òfŽè‡†Æ&öG“ä·ú ©ªÁç'N“ãÎÈ‘­lžy¾s¼!Êܪßz,“;>í[sä(Nœ»Àþrû‹;WÑ<€ýöè ¶UŸï`Ę0È.m?‚%gÝ¡÷%ªëqáÆA 4FWHòÖ®’¿NCFnÁÂÅ_°#£–ü×p~ÿ2ŽI™©³j õž"Ñvüì E·‚?ÛQÈþ»¯-Mv/î„FNKÅ|ÃcØŽ À¨} 8j÷Šþz)&º7+†¯‡í¡qX‘Éqáû·v…R7ã:±7= Í%Ot>=•1»W÷¾ßùäߌ˜ÝÀå›Q±«¶”×´¦S¢Þ|¡=øž2qÕi³·“>v离¶mR^ÙäÚÒñ’#ㇺµÉö0êê^C˜Û@î¨x+¿ESôäìýÀ DLÅh·ÁÐÙPŽåŒ?~˜ŒWfMŰð(Äq ,+â®ÒÒÛ+ðJJ£c‘””„XjOó Sg5žDø° …F".)[Â~ðJK£(?KWÎC ù× e/{‘Q‘Æí«aáÑH`9L‘ÉÈÍ[¦ÑNHBBl$~oàȼް?|Ø?Á¢Íà< äXþ}ì'ÜnSLJq…Ï:%ÄÁeh(úy8¢"ÿäÒ6}ò™ÿÆzmÿéÐG[I¬Y#ŒuOHŠCäC¯»Lv¾J'üU4ˆ<)pK™súÝR€¯(XÂ:DâÕíÿ¡,_rS",ÊÄr$!)Á„Иe¨Ö²ÒâÈÏZ,OÊ‚%ïi½M©Þ&Zi!Üd;¾÷GÌ÷ò›ï£_5–­a]Ce]“Ø‘Ö@è|þÑŒ¨ðçQíä‹tN¬ÿY(¢¢¬8E¾ñ–NDµ}$t½‰rŸmH †¨Ø8â‘„¸èp¤änQ¥Ûù¦À$”¼< ÑŒ#Êú3”é¬/£DxL0"M¤‘‹ðYK»„yp[[ð—)|l.>x¯…_b&ø–¼†5Lì…Œr‚ȸãl?ȶM4üyqû£ìƒ­êï¬@*ëmÒúHlfYuó¦óÊóñ†^¨¶ýÖc™tZñÓï”|f/ËEph¸ÄZë/¡Zý%Mš®$±¼ä]ö¥¸Øhl;®1½f«ÀýwŽä'ÍDRƒõʽ¬†}µ«ä¯(³ìoZUœØ”%øk9޳”ÖÕá7SBžòêž3Æ$-f§>ÛŒŸk#qñÚ‡æ!FßêNY¶ÞÕÙø]OÁÔRó;a ìNWGñ\< Ôë—Åqd°`NœÀOsõr§#}¸0麳£ =é.s(ǤÀºi–¥è[ú‰m·óÛäâ¨EAî¤$&"Å’*ÛW‹á`yS‘òÔ[øìôœãøÜÊÙ«‘·$‰11ˆá*±”ÝOš,Cq˚Ȱ¼R`ð»ØEÈE:M¶Dš”Ô%Xok$Yab@3³ÔXÅ·üHs…Ô”T¬w vNTça1Ó&²¬©‹­º Døƒ;׺òËÝTÁ¥XGNÔo1 lØ”»˜<Á:,Yƒ#!qÉ£é›(gbêb½œ:MM"$f [LÓ¸QNQwš1¹Ì¶Â<ÍýÝMxv—Žê©Â»ƒÀ5/tž:v„¤ZTWWó»Qï0°ßfÃÙ F/h ]Yî$eTÂZR†²ÍVœÉ¤æ²@ˆ >œŸ?üåØáíAÜ„Õσ)kEËj›Û>Û¨Â1™ï¥~­Å5–oå‹ã†qeI­ã²ô|˜WìÀIjeOÖÕàÝDžƶ ÖähdÉ@™ð?iC}sÖ„œµû¸ºÎŒu»«(×ar€7Z2¢öÑÈíÿÌr¬üÝt9y Ïš=kaæl”Õœ„­0“ï%ȘW²Ô•åS@§ã(òš©ìÉ\¹ŒÇ¯²ãùfÆæªc8yl3Æ8ð·—-(ÈD•,û1ÔÔÌÖ´‹´%ýH`’íÒ6Ù½‘éÓ"VÚ Øµµ„ßÔà<¾ŽéaC–‰2Þaœ”#r>¢,‘1Yji ¹7H Ñ–åÈZgCvr$)Ã9ÑÈÈ7£ÐV'ñ­ØEZYxÏmûKäU]ðrˆðϦQÛ+µÑBæL»CtãëüÉSò1ì&j¦‹ñ} Mó7Hú5…¢•–£œF¡7Käs%ÎÈr³4Û_G²X¹cB|¤|”E1,ãM-âš,8•¶Ç/ú Š2^Ó…Ê|"dTº Ú<Ô;†ÝyB0¶bË&~3\°]Ú‚Í8&xI4(·) 1‹4a³lÃ/81ŠX¾yÏÅ/&.6ØæU›‰)Ý QQü ƒåG[œ"ç"?MeÀ&êvl>ù¢Mý„Ÿî°±Ü-ýàLó9¨×þÃõˆÞG<ó†–\Ôµm¿õT¦ÖÔ;o‘ ýnŠÅ§êJ²¥ß‰óZC×®™dá<›(ïIÔÕÔ ^ØkÐÕì¼¾w  `F¹…ýf+¦l¯å”íæ£]ožÀ]ºsÙhh*û=ÌäÙì’ç¥VÓßß_ÓºÆ,½ ­ÇO§½%9³išƒ”üBäe™Q”•Œ"±Ø ëÖxJÍïZÑÝ—'#4()‹óÐÖL\ØÚÆPHŠäå Qv,ÛÍ4ÁÝ…VÈGlØ0.ª( TwMøŠ…|ÌÅ–Ä,³I žDÒ]œ×¬VÔ |„IG¾åÚ`Ï÷3Øèz÷EÓžã"J¤ÜåG@ãºËO÷ª Ø³/åˆåp¯¹ˆ,TmMu 5 ÉUüëÔ9˜WàŽ=ÐãÂpëÌœw·âùÄd—@æ1­ÏÆío"[³%FºBUbۇƄ.?ö"”ÿ]î­#TÈXö 8ï¢Õoà¡‚'…É­2»ŸŒ)oí)XƒìurÀ¾=øI}ѾùiºŠ\L2$Z/´D|ÍQÓö"'*ÚÎÛÿB;±s-¥@óJÔåÎy—íÝÉèìƒ;9§©´Rj¢†Ô&F-ïxÜ)÷³9n'Žñ+0FßÊ«n{=I”çãͼüÇô),÷’Yûú}ha]+\v·´¹ÒŽ’ûéÒVÔbÝìD¡ÍpàðÇ Ÿ !£‹p1'Þ#†VÃGò{ÝË?BQþ)¬,©ÂŒp]ƒ+0dÑ2 ¹í¦oÞ%·ç ³5™˜¼ðŒE˜ThBžð¤™`§4 „ÀÍÙQºÅÊ÷…ˆ  ±ý•—$6á͇±fÍaØ?-c˜ ý8Ðâs êO‘þx>!¦Ì ˜Ac>_éŒ:fèuÜž'ò o=3²0~|³…¹-ËO‰çČ ,š¨1ƒ_¨&Ézê˜.Ìg=¥@ƒHÅ*ä£à™)|p¢¬–@±ßŒbûæ=_ØÞU«’ekØ+8Ø„±£îžøÞÂy™ÐÇdˆ Ñ´ МaϪ×~ýÜ€ržÀ>}z¯lÿIÃoÒâRHðÔD /ÞÐ:ýVLŠmËÔšçi‹Mó† Ú ž§Yç{IŽõ®ñÝù“rfŪWs8ëß0ÞeCì6g–ø™—£hx&v0º%ŽQ¤–oÑn>ÚÕ¿>rƧÿtr ¨Åó±\ðd¬ƒ%\ë§-„.×Ó$dB~Ù»˜"ˆ÷õ)#g…°í¨êÞxÊ-üw)”;§°ûooÀLÁ'螉zß×Ê}Ófdþ'¶‘å—ç/Çêm,šd,ý‘ô»L{Ù‰º}ÙÇfü`,j ,]ÑE--+K=CŒ1vÄð³Ðoóm·ý&9‡Wiã°s„b„ΑÓf ’ýËþ»tɧš¿øtâd%¿†ícï¦YÔ$ˆžèî,+X†dQ†i¨]^„u[8¶ ÇŒìU˜A_¡¾/,ù\Tï¬rÀ2…»z^Í 3‘.Lݱï½<ÛÊöZ‡‚Eš`L9^sl>­Î;Xç0¶åh¬^‹ý5vŒïˆ— ÆgÁ¶*UŽ=?ÈÀ²º3pTï•ó×Ê/"Q/ßû{ÔX£±n[5î¾u‹Ž™>wMlÁLzéE3_ñî¨Þè•æ¤ÄA^ñ ó…‹‘ú¾ì\ÓšÎ/9똲6K­‚Ôv$pêðŠÕ÷ô¸íŽðÈX) EHÏ®â߀œnÍZ÷~^Sú ™0¡=§”9ãÇkvXãð++'‹+f'E#vÉ&Àg;Åäd‚ånnöÒÃeNÃÜ{…0aتMÇ]†ÀI_x¡%‚„sT¯“š¶u ݆7ûgšYB”n&„@æm‰C¨>TnC®&dµä=U³¡¤6÷ƒ|Ž;ñãôô"§Ìø]>,åÈšgFxpºk›·vãmúq”9c"äøbØ2&Ý«oŸéÚbƒ¾~´u$‹ )p–°Ì‹]§ð«‘Zð½;[@jÜ·™b pco½r|.]É-1Ú„þh|K¼†ra‹ ÄŒÂ]‹sVÿÚ)±VùB(œìùRãxp>ض {OÁ’– m%†H ñÉóM(}ýq.@Òð»¹ãIÌwºÖuÔã.|Ø·œ¨¢@ÏÒa(å WüÑ-å¯Ù»…á&ÜvsWøäÈÁZEhÞ!©S’¦Õ0GI!Ò'ïüòðD}QÇEÔª3 ü eë gª•ÀÔH4Ö"ñÓUÙÆÜ‚NAаp̳æcݪU³"ZÚÅ+Ïûæ -3Ïý¶}™Œþ¦ñ¼³¶©Ü^ŒFþÿPÈ˰êܦɜ{ø9¬H£&:'q4‰y…‚©tÄN¬ÏÄB¤¨ÈüÉ#ÞNÆráà¥]‚og Í玣4wù‹ Å'Ü5m"¯ËéÄ@;÷É ®9 wƒxèÆxê€þ!˜’ò(—VÜ8| )¿C¨µ›Báí™ß-‘õÝúéç­ÂýüÐai># YŽ¡­"uᅵĘða®½È>Ýô3ä;1x·s–¨­ @Ò¯VÂT”èÐ`jhS±¦´ÖI–aœQ†êúÅRE8.×,‘&aAAn–‹Þf×nž–WË»LÄd¸DÍ=îÒ=ZiuvyŠvmGÃêöÀ„¦©1®Åzb.wM8Æ9ÏÛe¤ÙѬ›0ÅŠ–ó뱓祰Li»ÌZò0xÌM1çøÂSÌ[¢ :U§–¬ÕÓ% Ð2Ã^‘k-é¬PÄÂuØúÌ¥ Ôµ¿¡Vl!lR3ׂ’óK‘Cß–ÎÅ7{¯„áwÞwCõˆ~O\Dù1XS¾¡vjŸzÈЩxv©ØnlãhSù‘•=[³/k õLKKoÇê³AM›K3Ê„†™õ]¸²WJ!Ð2kŒ¾ÈlÄn!X¥-ж™iÛæž·£ªTnµ¯oÔG+MÀÈ)ÈÞzs #Ú’ÃmÞg9^Æ`íÝý”­}G s#´üµ±e4´Å+ô¸U¸(Ku€+ ñÃFnGe&ãsæëÚ¾z¡½£íªÔÊbñJn[qºGœqŒ[×ÒÜ`ÇL7͈aÏ™q.õ›‹ÚÏ>˜±`:5ö2ì,§ýS,µPCÐÖõ”‡ V¿LZª¬²7¿¯æ°ÿÓgºíîØc£ÈãqC³ÃLšváuŸ'{-¾c]2gþʃb0[q7ýö¸Ócò† !PGà]˜1lŒ3ïAøä=»M³Itñ §2a†‘9Ašxãa†Ðg–Åö1sl)‹Èß½« ^¤°9ëlÇ0‰mQaM„µ(Æ­]¼ð|¼!òñÖoÛ•©Ï7!÷'IÈϦ¦×¾ل!9Vlª ì‚.ü#yi¦ÏZ¢’±ñ“£˜?i°ìkb©`ݼe´»ÍLxSë²Ý2µëCÃÁ{»ÂÑCöÉÌmñ¹ánÛÎ.2—÷á”{ZœV w©ã©|)ðÉ7Ô Ùú»©Ìá7bHë`¶(ö–!n à¶q:ùîâ:ˆAˆ2}ÑCŸa56iÓ)´£-νøÒ¬¨†ÿð<¨•Äþø þúFfÇÕctM"ÛÍÖMàç¶ v6g›¼,š{)yPÉ݉¼Živ2îÞòùX=…AoÚK·:»·k;"m=Z§ðƒŸ(¿Ä…¼¾›¦%ƒ8T’i¤¿h™Ï¶2sð„™Î\½ @í§q„±%ž¾h2ŽW<¹0Î.Z õy9¸¦5ÝÊ?s³â¹-ŸÄ;=ËÐd·£Ql—m[ŽÜ¶xÁbåÖfškµg„^h]·…ÚàpòÄoÙzÌ[`Œ?'Pgc)rs×£š'v«a¯Ð‚L® ?=•L¼YPŠÆ¦&ž„-E±¾¶jBpMÐíËDLŸ´ÞTúnMÄ#wöxÝå43 îеMŸí–BàýwêBNÓ!Rè1¶™Û™î¨† IDATæí<¯€øòÌqØ¥mïMÍÍEqEšxòý@Ù>æeÆÔÛ…èëж@NÕbO¥[Ó"vžUHþ3DŒ@ (q·e¤OÍ^¡-¦ýk¨9Z‡e¹kܘ4÷%êyˆXÂb×a˜!A&*•r°–¸ÙY–‚e³¤–2³0Y·±åÁ ¶?O!©Õý5º='“¥M°ÍV†M5ò£t¼×–_œº‚yÂhÒ$¶ãéëglØRÀ‰®²´nc;¶¼eeøès¡¥ÔðD ›“ˆ^r¾òÅóñ†Øê÷ÜoÛ—É %û›¾(‹3gkmÄú!‰uLÄPQQTo²ò /~gŸ­ªªZ¨©FÈ0v‘ã±PØà ӒõºG;7qp…‡Ü4}WGíÊäþ·ÐfO’fÍÃ\7M½îëöÅ3‹y(%} 7Œ¯€ëÆx*.É/ã8awðÅ&üԔ΂eà?(  W»}=Šmì» o¬&ßÓÎR\W771L†‹› le»iÎCZyéÈqqå‚ï…»Âufþ…™Pþ¼¡Œ·B¬ÇÃѳEƺ7TófŽƒ<Ø|λgkù®ÝáÉÝâí¨àùÿà[=Þ,ÓP¬”NˆÕ5¶Ïä˜"énYð½8ÎhZÞ >½iÂTŠe<|ÇÑÚ  Âk‚­¡Õ¿j…Äp f’W–ÓVsMiØo7¬og?ÛšPçÞÄB ­ ¸%Š-,{«U"ò¶ÍNžƒÐ0+Á;«··ÂL…àIz¡~ؾsj·#=,Iö!䋦0Óò…§H/Žè·ÃE¨+À·V輑hö4VM|vL}ë²,ȲÄ"tØ0„q»,ÁZJѨó®ì_ ?"?Öµkî)#~ð,Ò(td%›ÄSñÉÜ¥^ Ûoå è6fÌC?瀺=bʃRä°}ä Ô¾«o3·Í[ ”Í0/.¾CáÇAÛÓŒ $ñtu(OÕ[–áA­_ëùðä8‡¢òåHàÉÞí#²$>˜t¯–¿ýsi·ša 'Eá8 NbÅOÖ´•mÂ]eªL¿0<+'ò|¤¾Z,S‡ÿð%d˜ÊeÙ†‰²dÝ@-S‹&ÔIs3¥÷ü§4Ìe"ñÑt»ÄwIâxûÉÄ;öæmEÆŠu‰•æ,9"ßó61ì~Ë&¢#9npÍN†õW§-70‡œÙœ—8¦˜3ê±¢Ð&¯g󣦟 #)ŠóUʂȌt2?ùÔ²Íl¢ÙXǯ¢ÏD› ùäÓ#Ô¨F#œ·”˜-6£h§×vdÚb I{øØ oe ¯GâÂßn^‰9óÍ[3ByÛI´éEáäj`fMçM³¬L‰Y³Hê†g[ϰðÈ|‘f‘eÙ|ÐìOQcû½5.’¼ú¸\÷—-%ÿ×]º>¯ƒ™«Ì®¸Ý»w³Ã„v%É×—÷ò5QK'mƒ¸ë´ã–a Wbi;êÜJSæN«ôÚã8ߣn Dý@+5 v®Ô!ì’<äm§ÆÄÉ}‰†kÛ®”í¼Ðª]ŸŽÈäÞ<¿”vˆWÀIüØ­û³Œ:y‡½‰"£ëkh-ù:¨UvòD­§ú¶Äº\ONj 8è¼Öe±#/qr¦nÀÖùã/13ó`mE4Kçv!5MÔ´åÑÆíË–P€Bž€žèßD>&¯¸µCçÊá9V—xÏD+~¸tœ/9ýŒþ!ú yÍÀÙ Ï»§Ýs§úm»TnOùÓŽPtY'ëëà2Òàgñ.´þF¸[ÂN?v¦]kLÍÚBÞÖðŒ®ô•ASé2„ÆõâLv|%ìj˜lÿö¼ÚŽ ÛNh„ÅOc#uÀ‚–‚ïÉ×m[î2œüèážÓ¯ªÎ¢ÍzÂÛ¹Õ»“Z\VŸõÓo¡¼‘!%8wó`ã|y­1ª¶$•ù‘çZß ÒN®äá,âÆ1©í¼¡åÙöö÷´—÷ÙÁ:²†íʪõök?R¸+³¹ ©‘bGLëSìAíÒÈ@~x§éO#‘üöŽK«hWáKUU¯C‹êRÉòóóÑã¦[Ý.%fä ¿ëгgOôêÕ ½{÷–ßâYøõ LãGæºþúëqÝu×Éÿ‹/²?;å{®íjî×r|hâRò®ºŠ ëä¶ÖÃ^NAѼܫ‚ŠÌúkÐkz÷´ð—×­ÈäÉf¥p§ÒõgøÉ × %qpà«s6=`èà œj ó.Uà5ñgÝ` ®¤ã„æ¡(û›ØxËà%ð¢ý»ÅÇ"¥'×%Þs'àÆ—gÁK-Nö-oœ­}ö·˜®ÇÎõ[Wt­yJ.Üb‰÷n±ƒÛ•æ ÄV.oXÔ “Ó46¾É…¼ímÄÝò½,­?Û.0p°,Å*ÐÍÖº}Tßá_]E›wg’m%lÕ£*ìï–;tž©vœ_{!Ï ï1O#Ðý›wdæ.y Ç(·u¼lß]¸H»Å m`›wqu—'çê7¼uEÖ×µC$„pßxz§é&¼{ÊÔƒðë1šò¼dW Þ‹é›'¾Úº_Ä'9Oã¹÷Q8<„³Í½»;!窑2ï:ÓÔ­ÒtïX;ùãЇÆÎÂçðÜsyø¼¹Uvòåhq6,/¾Ý*àT=TgðöŒ Ô‰§£õ0’ú kE¤Ó/è¦Õ¹ˆ/^À®¼ç0÷­]K b) n  4Ý­ã$N|ñ |¹ú?:ŽzUÆèƒ‡^.ÅC#×þû$Ø=pI寷ñ>¦cuñSÕçòT¢Oˆ ¿œ } ôòì€Ê•¨ƒ÷,}óÄW]wQÎ'Ó~Š™£.U顯½üLïžøÆClŸ^ÝÃÅ;Ö½†LDúSqñðh¼?£íŠxj¥çáÁÖ´h9/FöC3P™<‡õ:ôÿØ;°(®lÿ[A$ nD WPQq¸• D$ $ Ã|Ñ(Æè“˜qP“h\$3ÆÄ5O4Ï †8¸Æ%D%®ƒ *¢P@Am±Ñæå[UÝtCwÓ FÅs¿¯»–»û»·ªN»þ±ø=$ÇïCô–#Ü<Û¼_« æP‹e-ó¬üú+ [3{v­ceÌT¼†xàß¹QÍ$Ì©0&À T¸çø=å»%Ø¿æ Üê»äx,:†öãÞÄÔIÞrw\I.¶|½±{O¡qû>~s“öuhýl¿pé‚Þò¸ü\ܽ~#¦ÏÁàf¹X³ ®“ßÃÑYrë¬GéæóÓfbÍ’=pówÅÑÕë”ÓcÂÂ8¸=*}¬_Æ–µë±-éŠH¤öÃÂ0gü`Hª†É2w®Ý3Ó T ëg‡¡hg¥Â™¹w >Oi½!?Îȵq1)®#0+¨;•}þs­ œ7‚Ci¹R™”Ó†âü9nãÔ§•^Ê’Ëû±`e&Î BërÉè);&ËPB¬ÍÕQSª?‹õPŠÌcÛŸð#Òòï YG/LžæƒÌYh­E½›/{éÍtÄ­]‡ÿK—ÚYàÁ°®Í¨íTÒ&,Õ»Rþ{Za«+§tšdMm¢²ü(ÞÞïⱬ§hX„}”r‘A¼”­ÃÞô†9> c‡µ¾0[>²#šåb¦ñõÐG-]­ËÊZ¢¥q&Üé-ѤVNÅ—ÞNe¾u0ÿÈfD÷óC¬8Ÿƒå;Ž Ô/oÞÏr›ï…ôýqøf÷1œJÏc{Œy3˜î!•\¢ìæÚ§tO1u_RÒ¬¤M4êúû/ÅÌo0(y<¨•±cL€ Ô(î^7‹³ɱ˜€wÿ¼¹` Ò×ÎÁÒÝ™ãâ§Æ¼Àøðp mp áA“qì¦ ­:ôÃÀ=!©Ž]z¢_¯^è;t š7$ý¾Tƒäñ4–Né˜+Uã þØR~œ_°wQÔÇw…³•ög—`ï?ü0/É$çÔ°`¸¶xF)±¹2(Þf6™;£ÑûO“±(¸0!“&aÒŸzcÑIÍ6 hÚ¢>öÅÎÁÁËJÙ‹ÏbeT<ÐL(Œ*4ï8#z9áÒÚ¸ VÂH©™—³ˆ^þs±H U|K†Q’Ÿ†;ÔhhAá´X‹ud¹2w.F@Ø<¤5éƒÀ@4¹™‹¢’JÚ„¥²“‚±xD¢Ž5Àø©aèM*ÏÌБØ)1´$‹¥z7[Eäaž5`)¿›Ø:3£.ahð›ÑGR7•ŒÊâ}Á‹Ú.°tf\‹å³Ô&ÊÒ4¾*cm©ìäWz»–^À¸ÏGk$Kç"R8ùSÐ»ÖÆÙ‡òiX‚?Ëm¾éIÇ`ë:Sç ké²é†Mß”¸Û§¥ú³¦MØÀãõY”k2®Vzo1%ŸcL€ X&À–NK|’çر$Hzë¯÷SÖ\S“ò„ε`Ó{æDÖ“^‘ȉÀîŸs1kØ08¡ÅëáÞP 3ì¾T(õuy*Š‘þØL~B)Οºüf L‰v­ AZN1ºZìÛ.EQEttÄ‹ºÃ©Q  ‘+¹|ÐL.£Ï02¿™q;{âóðøuw¢â»aü[#`§ †m«çÌÄO7ê:ã°ë~H…÷ØžÈMÞE¶!øïr^{£³ÂÍð‹³æå¼×‡öÆ…œÛ(->Á/OÀG›B· ª˜Þ>åíwF²Y,CÝ«RX}”¯#ò5YmrðÕœxôž´+ÆËJ5Ù °Ð&(„¹²ß<¹”"V¯œ…žÂ<<` JvŒÆæ¤ x¿&'mRzã1Wïr,ÓÿæYS› eQ8Sù9#Q:`ùî%è#Œj¥Í°;J² Jq¤xmĬÑ$!wí>ì>š~m~4_¾ Îf¹è­(K ü+a­‹kr«U#<†6¢«Ûã6mAs'ǧÁŸ†Î´È½ ;ÉÒiÞϦ™å6ï=k ¼)›RÒ]{9}N/Kïâdv1Ú[º¦Ë·Gƒc‹õ7¬©UmÂÆÑ…ZÜ"œÎº…®ÜÅnÐx— 0š ÀJ§%ŠwHñê­ïf6ÿ†R×oI†x4sbŽAü!EÊtoê¼Gçïi+Ÿ aôx3“´çDg6ú´o®ÏMÄ»§ÕêMïØaøŒØ4/G‘‰f$Ìž ï®­Èè*›2Ì—ÁtŠMœzb€Ð*{¥×dÕ*ë´4G>Û ¯Ì‚µ‹‘;¶’cI)·ºçen†©X’³¡cGàÇ<\Hš5hA*:4lˆ/u€Q²† Ò¾Å2”ÈJ§aÃ:2[¥ZäS¤¡C] £ìWÖ&*–ýêEYvѯkжC€$%U³²Ðsõn P…]K¬E`³ùIw‘ÆxF×Ê5K)^G%¿†¯'Ô ÊÊ'G¨ÈEœ7+‹©2ÖrÊåÿKo\£¡xë9]At!ꢕS+:(ApÌ£1•·‰SkÅÓ’Ÿ¥6_Šs;W dŽñ„¥Ê¯iLe[]û´\æïe)Ñ)±ºôŒÎó`L °ÒYÄ{†Oк¨+, Z¡R‹7ïÇЦô¤ *‰dÙÃJXÊ®ß5ŒK'´¾(¾-Í„iéÉü_%SdL€ TJ€ÇtV‚H1hÈ®mWêÖ|³ÙBã,½ƒk99ÐÚ(O]¼1°vÃv¤ççãrz:r‹éiQW%YMOœ<üÜX4"L÷(×g`*?½g•wnáô±È̽›æÎèÑm¤”‚P…-—¡ù—/#777(lÁ•,äÒñÍÊÆ›)ò¥ož‹×^ÃßâÏ)g”M“îXà¬X… ½§ÂC Mœùü,Éi×¼) û°#Ùïþ÷d #šB5r~ު묨#“IÛµ…5еïþ;Og"??‡öîG®!3Sm‚”0s¬Û¸ ¬b±`Í^äÞ̧e¸–Q76ø’³IÊNš¯÷²0÷,±®ºìŒMcaÅ܇ï“Î!7}?¦Ì)ó¤=a9ËIÏ­[ù8´1+èøÍa`¹|æ¹%nîÀ$ks•ó6Ñ‘vÏ\­¾†œ™6_r§@Ê๶(¾vkæ…’•Uç,”ÝBû´\Öµ‰â¬Ó$Çôh«7¯ë„â-`Là °¥ÓB±|´£©u_ìºbΆ´!u[Çê‚ û— ‘d )ëÊ Ú%˜±áun‡7fùÓ€hÖ602˜4°ØxZZF®³ùQXñàÖ… –?ç*¸’¬ › Yt~“oDIF e¨›¿û…”Å›"ÍÚJe«çEЃݔ³wJÑ~¼ÐĶœ· úœJ³—"8ðå²É%–ò³ §MI‰ï<Nv­ÐƬˆºƒ+t–Ch¢ 6–ë¨<÷²cZæfþ&܉Œ kr€’ÃHlüi°²o¦M´Ë±Àz06EOE@øLŒš9QþbÌ)³eyË~úã’, õ.‡5ùo©]+Ý®¦Ú`ÝV±zÆHL v":‹ÇM„¢¥+ÐPi×¢¹ÅΑÛ XÁG«w`€4ÒRùΙçÒÎBÙ¥‚™a­o»&KO'›cи›¹oý4 úw"sÁ­:oºÍÛ8 Ãâàm˜æq‡–zÐ]Abfñz°Ð>-ÖŸ¥{® ·°ó$ÿbtîºó¼eL€ Ô :ßíKú­ºIÝ¿šC³t«ýøñãpv®ÌRS¥$MÞ³gÏï’OI‰0e©`chåÔKTŠ’-u½ÛÈÝòÊùÒ’bhi$¤é8úÈ5¶SJ2 ë¦Ê†ä0‘ªå2˜ˆ`Å)‘¦ åW“îaÈiN¾©#™wÕÚ„99äó41­˜xÚÙ™¬?sqÍ×{16Òú«˜ÿ“Ùu:«ÃZb¦²ƒÑ¥Prï [ÌnŒí*¬g¦Z`õÊg®ÜeçM_¿4s úÑ:h¨‰ÑEÞšö¿Ê„°²ôj~¯ºí¬²xæêÏ|›riQüÑ´FébZtXµ×­yFœ"xÚtïÞjµá”Zó.]ºwwwóLøÄÅÅ¡^ Ý8{*9Õ\Uõë×—žñ 4¶ây/ÎÕ£¯½©ÈàP—Æ"Ö©SGú•ÒlI- ‡?¶tV·2oËŠU]ªŒŠÙº6US*“¡2ÿºf”M]<ËeÐ…ªÚö‘¦IëŸnüâ\7¡ô–Ðø…ãÆËë¤Z(ÒƒÔ‘eÞ¦Û„QÈ«.ìHᬪ³,µn Ô-mà:&Z§_ú3ÉŒF•ˆa¨nҀϊׂ\¦ê•¯rY—äÃ×ñ)¸uI˜Ž{K/cFéØtÆœ˜A‹¤GwÜ‚ðÁ­Œ¼kúÀ$3+2©,ž¹ú3×&n‹—N±"+œVTaL ZXé¬6ŽôX çY ¦“»{´Lé3O}«¯‹®oÎÂŒÂ{¸w¦‰I³ãŒ9ÕØ“|s*uU·ÿÞ©T `ÿL}Ø÷¡òl S#1št ¦ϟE~3ãG}1j\‚†-\ðÑ‚Œòvªñ´9A&À˜€ŽÀSÿøÕàm-"P·­:¶¨¦‹bƒ®ÞþèZÓÉšJOª »ü˜¸ºÍº"hlå%wàMëí>=®n“Î- eǘxˆþðÓæ¤™`L€ 0&À˜€D€•NnL€ 0&À˜`+1gÀ˜`L€ 0&P«ÇtŠeØ1&À˜`L€ |¸Õë\=új` ˜`L€ 0&P» p÷zí®_.`L€ 0&À ¬t>ÕÀB0&À˜`L v`¥³v×/—Ž 0&À˜`V:‹j`!˜`L€ 0&P» °ÒY»ë—Kǘ`L€ 0Ç‚+E5°L€ 0&À˜¨ÝXé¬ÝõË¥cL€ 0&À˜ÀcA€•ÎÇ¢X&À˜`L€ Ôn¬tÖîúåÒ1&À˜`Là± ÀJçcQ ,`L€ 0&Àj7V:Eýj ‘rè2 µPÛ¤%Bjv²S“‘œ–÷iqTs²S!9ÕZ¶ê¨Ws’<ºóUcðè䬩œ 3R‹ØM;‘F×hÍ”¿v¶ CæêìJɆº0‡¥ òÛ›)‡’Qh˜ ï3&ÀjŒ@-V:ÕØùi8&†‡#\ùMœ‚OÒM>ýó$$¤©ešt¼ããƒ-éÊquðjÎã-/|›–‰í½àõïŒ ©$Ç„cö¦T%Ï ,ÕÉc2ïÐJ„„Ç¢ÀàÜﺫÍ&¹&–±©b暌˜èŽ½Ùš*Æ´&x6zøÀë_gÌ.@ììÌßDuLNK²xŠzýõêUÉI–€‰W"[z/ÉCÌlÑ®&Ò9ñ£ýÙŸ"vç!<üÇue ŸÐ1g ïÐR8»{"tãv,;‰¿^¬¤ XW𪴠£ëÖºäƒPìŒð„Ï—Gpj{||Öáf¥Ri°ËÓž[ÒååƯ~€‚Ô˜íÛM›Ê¿ù±É°Î ÆŽ'ácq_G†‡ÔääUû¶¥FZJ* ªUIlí IDATÿA„ç¸LàÉ!P‹•Nz`ˆA\ú´jÕJúµný5¬GÚÈ]Øñ ®ëîjªzxê̆¼ªë4Ygp£0²c= (úÝŒ“ÊÛ ¯ðôtw–Îk²ŽcnÜv YSƒpZœÙítÏ·58û{î¦m^@rµGߎöÕÊVs=qI€CQ-RwÆ vvµÒª© t2â· ^Ò Í5œY¾ÍŸ—™fŸ:H§GaȋϚoõÙBüë­P¤öê6**UÞ/_ƒô®0`zµo‚kû#1%ØÎc®âY«Ëô(VÖŒ9ƒ^½¾ñ™ „ÅáF¸qŸ¿j¹ XY,«ÛF¹ëôR–°2Éyº›‡•šV˜º+cv>¤Ì|œ¥ÛËô?wGQ2íD¢µÝÊ\}ÀCw#,Ÿ¬,r5ý5i›ÐÑ#w}bqøxVM…Ϧ|Œ_¬|WÌÛõ veÞ­fîr4uÚ¿ááå‰ÀUÉÕKG}oyz öôÃí¬ž€‹ <¬¸ =‚VW ÿix?Ô¥Bôz€ºÛ†ÕØÏ=·îÖ£ÐúîlG >4RÚ´Hø$Pzx´“Õɬ“B!ò€GƒÜrqp9©IËzC§ò©ó2p.#÷ëÙ¡¥S'´sЩ£Zä¥AZ^·é·veŠUa^64ö­à ÍÅ/'/£Q÷>èø¬ æÓRDФ`ÆÛq˜»ëZJ§4ÈÎÈG“vmHƒOéŒëhܺ\ÚØÓˆ„lür6÷íÚ¡[è’ÊÉiY!p°×¢ mþޤ° êØÍZ:ÈÊ´¦©§/ è~=4né—v2ma²oÛ¢]¥,Z5²³oâ™Vmð,» õ)öø¤»=¥‚ y÷Ѻ{´¡² §Ñ4ŤÔKhÓRÄ×àÔ1„8/*0ÕÄ%ÿn´Sòq 2R)܇ºpAEá+»‚ý«q&‡ß’•Ý‚3Ç$iïNÅ0&¾ÿ.b':cJÜrŸ÷:WˆhÈ‚rú, Šv½€ÐACåÌÕP9%9•LÈÒ’‘}ÍÚ´½ˆj"ž)3pÅBƒvCœ2ΜC^Q1êµìˆÞ¡¤dòOyµ!yÒRD˜ûhCí¡Ž™^[ê¶>ËEõЮ§Z ÞÔ­š]‡Ž}á"Nè¹¶WÖ^T8}!õžs[G!«…ö ¤kÄYCuþGÄ‘_ kcäÂÁáYJmÀ ü¢\ÊÂÕëEÔ[¢§[;£6ÓmÞº¶!d6ºnµ¤î‰AhÄgˆhß­áªC©º¨¼'R³%úöîX© Zuö¬ DDL ºéA/ŸtÍ(mFÏÐ_Ë kùTŠ©ö¢vJW ³é:¦ZŠ‹CqRÛº­B»&W±‹Î}âÒI~ kº‹.ˆõ[{7”¿OZÙÚd]]ñ6à‰E½%n ÜšSäæx®¬X³Ç¸¤g!„5^öÎ^X6—®Ñ×:[¼b[»6\TL”Ï0ÚG V[:¥ê*¹_±Ö4©˜åAo¥©êŠ~Ò5ö¯ ×wõ„,Ý s!u ´õOäÄ£eÇב“ó:žp?+çSÔ­-Ú—‡Ë4¤ê¸Xh{eíe;ŠvKm³GlJ£ÈfÚƒNNCÎêóT÷žoM nŠ\:®—®A£òkÓ0‘ÊîÖßC¾F<Ý1>&UŸ¤Ù6_YÛPR(Ýfï™`Q÷@d \ÞÞN¯6¢a3¢¼‚¿ŸW¼þé~R egZ56ŒtÁÛ1"L|Ü]ðÙ‘9‚á¿áµÜ–®e¥Žœ¿—ÒWãßnîp™¹•$Pu‡Ïr¦ú ì{`wV8´ÁôœLV®i]P«¶åî“i›fÃwö&¤ŠÅ ¥<äÓúë•*¹Ê÷MÊÞ° ™WÏlÀÖÔB¨iHŒ[h æn›e•eVä™î‹pý°¥TÌ‚˜½{ñiˆÒ]ï;ɺ)_r†ðéD„ÌZƒ‹E·PL÷J½à Â?Åþ”½˜â‹A”îÊ©úº…FX½ç#Ä×!¡ÉØ`àÈ/–†w 4¾gcgª\¿y‡bŽÊH–ó•á!˜“l™w™@í%Pë•Λ×~% R6222h[ Ü0îãtj*nß7}#JY9 ~éˆIJAJb nÍ%Ëe‚P,8•-l¥û• ¶òŽ¸ßšÈe S0µY8H&À—ÈnQæ Î¥*=ÚÒ+>Y? Cà²Ã¸AVÙ9Yøæ-a±-DLpÌý5)âüTDÐÙå;ÏI i³O!FÚ Äæã—HÎÁ{siIå¿êþŸ{«þ鯷²føYö ŒFJÖ ¤n›KÇIˆ˜’‹m)YÈI‰ƒ«¡py ËTô²Ø÷Æß£GÑQ /]Ãk‰èm¯ÁÖ%¡8ã:—$Ù¯!+ëmÙºH7ß#‚Id½µñ×ã{(~ÜÛR%TX´zk3Å¿†]‘âa•‰ÒS7GHp"YiuƾÔ\R¸û‡~†ÈÍ©ˆv£´ˆá¤þˆˆ ĶÔ‰oÚ®HJ+[Êue$,Àr"üWo²öJެÑBï{ ­”3ºÍÝ7¥ÝŽ-ÈœY°¯‘ÒôBô.)ý¬m¢–>ÃÚ¢‡/í§ã–¢-úÁ1ÀªÃx‚Á‘HRÃ"úÉ–hÖ#7ÃV!íšh ×°9ÂÛ#¾P”Ê<ü"tTr4æ!ëÚ5Šq ö+¤-ù‹&G.lZ"®‰¶$*tûg؆ñ”æ5$Jux‡Æ"”å¶§o/ô²Au~)‘˜’». j²=HÞÒ_yÎön“&¼"*Êvm*µ‹rå'kØ{‡SIî²ëàVI±œ¨Ùë‡ÞG”kÄtÛ£‹²–¿nÛxÏÂ\Á',Y"Ï„`ä'Ì‚ ›YuXnG‰Ô&“ÎJ ²ùkØ!±1RFs·¥Jõ¶Pg2×eO[œ@(¶OõkiXJÍô³opF£Â3âòÊUë• ýŸö§š ÃñˆÁäA÷!{qÝО­-UÇß'µê$->Ë· ±‘ØŒí⥂\µî›$™û>û ÞöpF[÷`ÆÇÔ†wF)y³×Ó“pôºb\ÐÞGÁ™í DJßìÚ¶ £’>ÃÇߊ×SN…VÝFÀï¥8ÿY$Îè.J)è]ºwDÂÏ37¥1û·ü7¥Û¿+G¸‘Õûà Æ)à ( 3tÎAË=ÈÕHÞC¦Ã•~Š’Ø4,ÉĦMTO{RÈÏŸ¡2;4£ý$ä •¬uûÌ…ÇÜ]èhk1ž®ŒJå<±òƒ8¼$QËç…*|‹† ÌèY±- ï£.YªƒVÎ/ yü²Âtz\*¸••gz>ð•Ò,È&P®ƒÐžªØrÛSÚ˨e¸”0.T粉2wo/Þ¶Lµ! 9SœÉ~ý35WR¢id€(š¾Žuå‡êY8;Rs¢•'öïüTÿÝ^h!R4{ý/KmCø g꺅:{ˆgØ WåÅ,Bc(´+Ôç¶R=Çb—h“:gáºÃC›>]D›”*OK¿Õ]O»²èz£!!*•ztš&P$è1œö“N"‡Ž5)1𣆙ø¾•B)™*þÝ¡ðˆKÙ‰ÃÀûÍÉtܾKJg5ï›…©›0š5}.ÂDbäR·Ò÷^Èg*ÿoª B(…”¡«’°aª/zðÆ ŸÉ­ nÞÁpñBaÂ…®:Œè‰}>•7 §³Ôt-l¥!7®tŸÝ€`ïaxëÏ4z\všŒ=Ò=zÕáEð<?ùŠ^Î`óÁ Ðï·™Òù d!õš›DVÝÿÁ`©‘›ÈœO1ZF V+÷è™ç™(Yš$ká‰z+š¥zl(<ã¦P·£ \Ü<%eÈU:i)–)¿<,÷¡®Ù˜¿ÁE6:H²’wÓV

x'o6Gh˜4VÒ¾iÉB|ãn!Y:Þ’¬SÿœÜ›RµϸŒJØé¯´--.‘BOÒ¡5)‰úðÊäÏ:Ic©ýtyþY½ÿ7Y ï ©ÃÝ(Œp²U×5Ð]ºn,¶=]{y}€rÑKÔ>2õ膘lr.¦8“¹ ÂNêëÑADÿúòHuL+„Bó¶.˜‡Í6Ðcݵ¬^̶yËmCÎÌôu[xî¸ÔF¹Êu¯I= ½€xöÁÉéZ<˜ŒÜ†¡˜&ó]ܦ®añò% ÑбїÐpGw-GgùŽ< q ž®ÁÀÒ‹©Ê¾9»Cã«3ð©g8]Šq˜èVÖÎ S«™}qCõÇ@©çAN‘Þëõ®¡Ø«Ê}S‚)o£Iä6lø`*Ò ôè@ñNº™j}²UÞ!)ÑÉ¥­>ž¢ÌêO˜ÜÑ ÄÄy9-z³Qœ(o‰¾‡¬ ëîëZ]ªÝ»²ðo÷w”‡h5ï/=C®Ý¸+rŒ¨hœI¢{D`l•¬ºe¹ðx2 ”=aŸLùŠÔâMÙuúføÀ°Ë¤êYe'|B¥éHõU%% í=‘C£²©ShIÚÆ¾ì¬„RÁÅ÷}R˜Ç!&¤#Âw¥CýÁ0²p7.Ýå;CÏ…èžú.r9„é´äøjlœö6\ÉÒ6¸L7:ë„4F)¦›¢\©Ó%%0t|'Å.S€ãB± ›&w3Ó89ü5—’¥®öU½uå‘%±o7 Ñn`RÂlô]Nݼ­·-NýH¥7˜ô“¿NzÀOVðÊeÔY‹—õ.FþB–ågH܆?P÷ØÜ`, LÓßÜs…õŽÆ®JRI,šÌ@ÝhÀ\xé&€Q×µ4ÜàpKEY .߆– çøÙ´PŠˆiþdi¥‡éÑ3¤BG¿‡…¡¥Œþžu&l\BchɸC¶N©¯XŒwÈbuõ–®ÛŸr(<†/ ã¨h/É2+‡§‰*úzÍÃh¢õ_¢/;a˜EÏK µ+ú)JªnŒñÜ—œè¼°® gºí©S˵Â:·4„Ä\{Ã*r&YR¦¼Êd9ÖqFÂ"R6›`sê5ÉJ”ã‹˜íƒ êÅL›¯¤mˆ|Ì]·¿ßF¾ÓÑC,a@N{ÿž´õï„v4u+5#ƒžñð)1ÝŸr=Š~Ißþ´dA‹ KnúféEÎÑ¥;…‡‡³xÑE’~̸.‘‡°%ë¼~%õÆèr©ê}3ÚßvzJ|s€’„¼_ CxÜ)]’ÕßêCk“PÁ†‚–˜²:¤%”PÉÝ*j#ÔSª]“•*Ý/%«ªäG½cdz0ªÝ˜ÔÑ£{ý¦±¢ë¤î*J"îKìœ3Þмœÿ3ÚI V[:«Ue¶.˜9ŠºåýhMOZPY­FAv-®L]ÜUIº›„ÆP×fXY׬ÿ~‰¸umǶS¡¡±Ù);1É3‚ž1JÊŒ¶ +WîDÍØ-ȸ€“¤#að òç¾Hd.V'$£ °ÙiÉØŸœ-NJcÀ„âêÓSX=eg1- R˜ü?Ô4 +ßî­‹"m³Žî¡m(º)7˲•ghOEÉ)¼€m¤X…)ÝÌbü™aÞÚ»·¥tîÝʇZ#ÈѺ©+WbZ iæû¹ñ` Äð®BõÕàF:mnfãu;Æ„7…甡ù£S+qWÏC’áXF:“uRX‹iü«³0ûëdéÕ£'OŽ¢R1ŸÙúÉ0­š{y9≛X8;áÓñ’•rî¶`eŒ­{©þiöü¨Ë»Ì)ã9)úeœšš‚½4©ªiÛþˆ$†1‡—ÈVGû@=°Ø¾„&ˆòæÑPƒ½HÑ-hÛnäŸDKf‰—›P7Qrã—ö­¥nÃí{v"Uj'‡0{´)ê˜E]å‚ɱª j+›¥rfЦ’õ0vŽ=þÊ¥'¬oû¨–âë&ÆçJ³ôÉ"ß^ÑZ-´½òíE« CìÓÒÖŸòíA:k†³iû(€¯^ã:Vcßšòï»û¹HÞ4ýÅCÜÕFR,µùÊÚ†è&6}ݪqB˜Þ]mqƒx‹&mÛT¶ǯûi¢h¥‰ý{©k˜ü,ÉõUœ'éÏœÉDžšº¦Éi/ï€/MÎùóJÑí^v-oßój7”vÚ^¼ãþ6åOÝÐÊ0ÛgšJs^L¼1ìMçŒM¸™M“aÂ7Ñ•ø\5î›wïK-vßOiÊ}0oÓ]„^d{H—ÄC–Y A÷ÏÎ>|:¾JëÀfÓqeëmÚÒ°+qÿvW ­ú°¯÷§ºQœý‹îRWû§kpIhœ´ÂBNV ‘÷256M–O¦DŠj´G‚ÝæC«K‚·L Öxj•Îg¨Jëë^SißðØmâ lŽ Ed¨'œÛ¶EG7š¹M³ åǃum!eÝßç &Ä»þñC„‘ÒìÇæ4kØ3˜Ì«ú‰¯ô.¬½‘†ˆˆ`¸wt¦Ä>8ãxKT—×£°,Ô•dóBGggš¹ë…¥ÉôÜóâ%º¨%†Ž,¥%䫽æÒ°ÍùåXjü²‡4]ÊC1ê çÄJm:ºIJ Ý:=/Y"_Vº™Ëç-nʤ›aŠ—F®#åG“ƒð£ÙÕÎ4«>ô³V4Qk±’¯=ͧQg>£1ž8ä)ñÁà—äüé!-rð +¢ä48'fbÑxQÉZYÎ_/‹ðTućb’Ù]'~¾_Šíòç(JëŒ$[[!KdCÄ$–YBµ4Ü ž}q³dæržô_xÇÄAR$¼hõZ×oÊD,ÛL“n6ÀWg%%ôŸ×Ó$0Ê3˜dv¦Å>s‘+ ´ 4ÁóÒÐÕP¬|ßКn!^¹2Ò”ŒK\×ísá¡´“ý}"qøÒJ¸ˆêWÆszŽB8ÕA[gwLYÃY²U¥Bzj¤ï:l™R^þYœðAÙ$óm¯b{Q_ oÙ’ í|Ír¦óÙcÔY>×£l¢‘¼ö2y:¥°^4^ûヶòxÀ3s±•¦å[jó•µ ó×­=^O3›h²™à½•>~ jãM£_"èýe ú‹: •&üÖ’:Iº…%¤10îmZeâsiübÁùÓÒõÔ£K ò(wêq+ž´º@GZ "7lMlœªg¢jÖ^²˜‹—£É&î3RB7N%áLzÕTNÃû¢ª~+ƒÔä]ÑÝl£ÜG«zßl÷òxL§›ÄÜÀþÊ}0­æÆ mÞ0é^'r¨ŽÌ†2‰4¤w%±cÊÑG=fÐx7F%Þk—Ó=ߎcÏJ¡Ë§¥;VµŽm4‘ê3žÖí37BzxF° IsÿH\…&¢]PÝ9ÓŠý=áWz€d$DBt6D'~ˆŽö-iì©ß¹ýçï¬ÒóÅTQøxÔùn_ÒoÕôþÕÒ,Áª¸ãÇÓCع*Q]XZ+°L*šÄc/½¥Z) uêè‡0šÑld)3Œ¯! j>îÖ«‡gìðlù5úȪV3y«ÉÊ©¥>{ò—»n Ó.·o&­ìáp n@³àÒ8ćà$~t~–dT’רÉJDGÏÚ—)ƺœ5dUÖÒ*Ub­‹\å-­sXH`‚g,‹±¾m±|ø.˜Ú»Ê©GÐPTZQ&e”±¿¹£*Ä#+J!YSÊ·Ñ‚CŸ¢£O¶]:€¶…ÔŽ©­Ôƒ¹œ­9_¥¶g˜ Q{xp΢-iUºkS\/ÔÖtœÍ´yCq*ì[qÝjèºÓP}>«Ë‡ÑR¹„5ß–®E£•+,Ê ·¿òõ&ˤ¡e€š¾ 94C^KyB”³Ü="ye¼"€]Yheˆ ¥©p¢0ùS8{ÙÐÊ&†æTý'ªtß$´N®¸'ØÒ°ƒ%G%~7™«Y\Q÷¢ š{)›&jhBÐò$²@Æ>¨Â)¤%åÄBš/OâÑÏD1²UXw#hx‘˳ÕjÇæä«RÛ3LÄ =ÔgÑ–ÊœPìËŽH ·xý„ÔïZsÝÚìòíW(Ž&«Ù¢ ¦ÛŸ$ MºÚCFæHW9/\¼’Îí4w(Õ*…S aÙ³šzbW ®'PC;æx˜Lž8´liÒçw•ÙŒ•uoé!*Vaǘ@¶t–±à=&Pk¤í߉Kõ:Á{€ñ$¶ZSÀÚ\mön> ‡¡ôñýÈŒ œ¼G ZáUo· J°qH>bL 6`Kgm®].xBtìŽOˆ¬,f9ª–à[î¤ña›ÞÞ¯‡Â8+>bL€ Ô§v"Q䄘`L€ 0&À*%`i8J¥‘ç{öìyœÅcÙ˜`L€ 0&P€ŸŸMŒ¤™‘µÐÕZ¥SÔÕ3K¾6,.`L€ 0&À p÷º! ÞgL€ 0&À˜x(Xé|(X9Q&À˜`L€ 0C¬tÒà}&À˜`L€ 0‡B€•·‚•eL€ 0&À˜0$ÀJ§! ÞgL€ 0&À˜x(jõìõ‡BìIL´ô2/\CöíÐÌ®î—àæåt\Ÿ&רÑ8MK~rŒjþ×pª)GcL€ 0&ÀªI€-Õg9Z)NįÁÞÌbËÁ~'ßâ Û„ïès,É=„5롤ìŒ$sü±\ýÓ;ÅHú,AAòoÇ¥²4K~¦S³ö¬©2X—Ã1&À˜`ž+¥´8¿h®hܪXâÙµí wJ¨^½²ÔJ‹.`ÅÒ Jg)2âV îlQY “{v½$ÉÉû1«0²•[ò3™˜Õ'M•ÁêÈ 0&À˜xäŒT†G.Íc%@ ö¯ù÷‡úÃ.9K£Ž¡ý¸71u’7š ]²$[¾^‹Ø½§Ð¸}¿9ƒÛÛáÐú%Ø~á.ÒEY–/ÀåçàîõÅ0Qw IDAT»1}7ËÅš±pü´²¡4.cý‚õè Ã|~ÚL¬Y²nþ®8ºz’rbLX·‡Uj-jXž­ª¾tƨ4¦îrù´™ò51JåžÑ‘ñ)¿Ò›éˆ[»ÿ9–.1 |ã/Öµ™qDsG¦Ê`.¬áù’t,øzmú ÞNv†>¦÷K,±.Eúþ8|³ûN¥çÀ±½ƼLõÞ¹‡Ö#þW{؜م_;ÃÿùL|²&ÁÍÁèÎÄÍd{1æiZ >˘`L v`K§Ùz,EAr,fàÝÿo.ƒôµs°tw&Ÿ…øi£1o0><CCxÐd»©B«ý0p`O´§PŽ]z¢_¯^è;t š7$õ®Tƒäñ¸P¤tj—ªqPl)? ÎÆ¯@XÈ»(êã‡@;ˆ ÂYk{ïm:#:9êܨ\iÕ(*.Añ­b”A]¤ó6W>5¶¤Ì-„¨c 0~jzƒØ†ŽÄÎËeüS5[‹±$Ï,\@¡¶òprK¬Kžt ¶®C15|*ܰ–ê}Ò©wrS°6j’›tCúÒpL˜™‚>Žû{ô %ûxZ[ǘ`Là1!`dèzLdz|ÄæÁ!3°cI„=®ÞOQXsMMÊsX” ,Øô†9‘ŲW$râ°ûç\Ì6 N(EñºE¸7ÔÃÚ“¿Î)ú•Θ¨3SêÍä§ëÃö_° ³¼Èjæ„]kC–SŒ®d]­ž¹®ÀèÁ¤9¸!´_rù ™ò]FŸa­ B[¿{óäÄ“ª¹zå,ôºï€-(Ù1›“2àÔÙú„¬ Yr3¹E¥Pi~•bä¤_B®­=Jë6EëVå•šcí=k ¼)xi)U»ÓçØ±ã]œÌ.Fw‘D‡øäþø4v-ÆløæI/"ƒgE‰ù `L€ 0Ç›+–ê‡æÈôöê-)œ"ذùG0´´.J2Ò¤XsbŽAü!EÊ”n))º—ïiI3©Äu{›ÉÚs /ôiß\ŸšˆwOkµùN¯lGH8 ›F£R-T6·°é-?¤³¥Ù„j¾|e©X»wõ"ié½}à¢×÷š¢-i¸IÖ&PÅpßÏCH婸ä9¡d[%×{ö¯ !:[ó¬Kqnç „ÌYkKÔƒöÞtÓl´È'åº7Y•µ¿ˆ”O#ø€ 0&À˜À@€•ÎÊ*éž¡bWuÅ J­“ù) ”LY)¹ªÇöhÚÈNQÀT°§1’³¢| 3­(ã=ã™DJýlŸm$_ … h-…*ÁQx£ò*Ñk`Ó9h’ƒ(¡âÓ˜48/ÅìÆØ®UCiŠuþQIá½ã¶‡ÍJûåÐ2iåf!‹÷ ýÅeϲdx 0&À˜@m$Àc:+©Uý0Gƒpvm»BtC¯ùf/²…ÆYz×rr µ1˜ÖC ÜÚ Û‘žŸËééÈ-&-¤®J²šž8yù¹'°hD64v¦ò3ñð,—¯ù—/#777H”‚+YÈ¥ã›ÒÐó~mÜGPèX,X³¹7óiy¦eˆ¢Â¾äü ¤‚ÄTeP7Õ̱äNó¹¶(¾vk慢̖j>QË<ÍÇc&À˜`µ‰€ÞS› USe+ 9Ö7È®+ælX€ˆ9ˆÕå6ö/ÉÙaøŒØ4Aû¢¤36ü€ ÎíðÆ,„.š€tvd°?éañÐY>ÍæGaEwº.œH°ü±8We×Á8F=)Q:g©|u3ðw¿ìÓE"u[O¥òm—cÞ¯ó`lŠžŠ€ð™­ #´x#ü«=&U'@%[›Æxsê ´n! g+ÏVwlã4 ‹ƒ·af˜D­ñIÿ;Ð,×ÒbŠ¥SŸS}Úç,ñ´ÔÏo¸Š 0&À˜ÀA Îwû’~«®¤÷¯æ 00°JÑ?gç‡mÝöìÙó»äSR"L|*ØZ9õDJQRBã%U6r·¼r¾´¤Zؘ‰£üXìX._uD¤IV4cÞÆÎN7ª:‰<Ò8R5Ïó‘¢àÌ™`L † tïÞjµÚªT/]ºww±·õ...õZ8Z¡\Èæª:¨_¿>é06hР´ûâ\=Z\E†˜º4±N:Ò¯”fÞjÅÜú™0ã•K- Í»º&˺6OŽÂe¹|æKnÞ§.ìHá|’݃Ô_Íó|’I²ìL€ 0&ð4à1OSmsY™`L€ 0&ðˆ°ÒùˆÀs¶L€ 0&À˜xš°Òù4Õ6—• 0&À˜`ˆ+ú:` ˜`L€ 0&Pë ÔêÙëækOƒ[7ãÔ{()\^yÛÚšþˆ|ò/žÆÕ»ræM:ÃÑþI¨.5ΟÈDÓ.]Ѭ¤ÚüˆÝœ ØØP!›bxð«p|ŠøˆÚg˘`LàI&ð”Z:µøé£±Ÿp˜¤“¸yWûÖ¡;föB¯^òïSo?†2šIŠà~½°þäMžÆ§´wóqòÄyüðõxŒÿO\Öûó`L€ 0&P{<Õv¥è¹Ñ˜ÒµsÜ#«k{ŒÝtc¡Æj÷¦¸Uï‘ RµŒmíÐŽbØX!¯m[/D}éíùîˆíö5¬ˆR5Y84`L€ 0&ðØxJ-2ÿ’ûJßµQuhq>q=f„`Ĉ±YŠ!T›Ëf„ÂÝÝ#Bg þhŽSs '/Dâ‰]ø `ù`ÙÖÓÐÛOÕ±þƒÉAñDÜÐ…[¡3ê™MÓ@&PÑi²°~ád½,[OçW SáŒ[’ܧÏcײp¯O²|°9:Aͦ©Åé­Ë0™˜ùB?€Q~/~Ù ^Ao"AÉ÷|üBÌØˆ2›'Y˜)ßÉË$ÓÜ7YB£0|À˜`L€ <Ùžj¥ÓTÕß8Ý^‡¡ û  ²p]hˆ¤XN}¾Âí0;r†b)‚<œ°ñ¢ð,Ɖ5óðJ¿Wq}è[˜4ªáþÓñ³Zä Aü_»`üv;„EE!rÞ4ônÓDxT’¦ÄôÿM¬Ýãç³)Í1v‰ðïåÄJõN-r$¹{uëk÷×éÅc1kÓyÊÆRšœÞþ#ìzû"2*°˜ò ÃiIsÎDzí~¾ÓÞGÀPO½ÈÍ[7FÂÒ±øþ¼¢b«OanøRÀ±­> ï0&À˜`O§º{½BkN#rì ùè{ìž-+Oþþr¨üÄM $îù…Îè•Ml{|µã,‚ÆËaƯ?…/ƒ:‘2Ù ß,L5úv®_ ÿvNpí1šxÂKŽüCÒœÒS Uq£¹ø=ÞÙ¬? ÿN4<`P,2×tCÜ‹ðô±bÃ3éÀ7™›¦À‘vëï ÇÂ+EÐ\ó#0ä/pWŒ”@stðn(!‹hëÒõyåº]Éýûôo€ÏÖcHB8ºµh„úî¡Øx4K WYšúÄÊíhïÊ“ŠÆv£ôê×G}»ndw®]75\ \dtÈ+C%…SøøÇãÈ´¾°œ¦'6~ åegWœ^Å)Š+—O¤ÒÏ6[rº®zéÀ!k‚yëp‘,¾‡W-¦NC/{É“ÿ˜`L€ 0§ˆ[:MTöÕœ[@WcÍÈÎÊ}'%¥T¶ÓÝÅ­ Š<@(–ÊIÉ”J¨Î5é„Ý÷sþgÄÿÓc=® Óݰœ¦.¶ bA¡]â´2rãÙðmÜ&êI"X9)ªDȬs*¨D+°”fÎè7v1fÆÿŒÙÞ]a{û(F´ðâ5F=¥%i~=-éª$ßiôtƒ'bV÷Æá úÈ@p£Sàð† 0&À˜ÀJà·ß~ƒøýßÿýŸ~«Ûç…Ó…ÑmÙÒiXÙöð²^.~u*Y#Ï#'‡&ÜÄoE I|qp…\ŠI ã‘•ŸƒŸVϦne`Ò+.†)˜Ø¿‰£‰?á|Ö54xÞû“åœPû,§©AÎÅ‹ÈÊ:‹k67ã²è8Ÿd±ïÐ$&.ÇÅ[”’ö®dfâ¾­uêœÎ:KIè¥45·ó¤p-6À휣X8ÁƒºÉegûœí$àßÛO ëôVŒî6VñQ6MÜ1o*1}'œâÌ„oO½©Ø81&À˜`O ")6T2uЧ8/öuN„±NKÑŨõ[Z¦(ænM &kd7¥´ÁøùÖ«hëH]Êñ‘èæ„öód¯6þŒ Â"JŠ èN·‘Í’§þXsŸ¼â©ŸÑ-#Í+¡¹%6ôeÁzdˆ?Ù¿:uêHèR-ÍD~ª-áQ QÔÆ}B§ÁëEcmÇ´r(ø©`O gUùôªŸ¦ˆ)*½¦¹4U¶æíŠ~$.›ƒEk—b C˜¶‚©ÉJÄ’Õqó¬0‘†ÔtY8=&À˜`L æ‹æþð½õR§TŠsBÑÔ)›ºc^(œO±Ò©Bß÷¿@tA }{¦èèfÁÔ\pJ‚€M+ ·³FŒ„g'±ž’±S©¢ñ³¶h<”êâ•çвæõgã ùˆ 0&À˜x ¢k](’:eS·Õ)™BéatʧðÊ•N[ô š€¾„#[&` Ï ïѼuóNåØSÞãZ0Oˆ}˜`L€ <^tJ¥P<Å~yeS(œºŸð¿O+û¥S¸§º{ýñªF–† 0&À˜`71YHžûIéÔY:u–MCK¨(‰P:oß¾æÍ›ƒ—Lz¼ëö¥;ºú¬>Zé÷18s h²vaÆŒõxt˜“ŒÏ3&À˜`U% & ¥³¸¸÷îÝ“”J±?1dQlïÞ½+…¹uë®_¿.)§Ï<ó +U…]½ðZZ×s!âÏ[7­zyTŒuqë x¼#2ztN{ÿ—އ÷ÂÄG'ç̘`L€ ÔaÙVK¡X¢¨¨HR@…*Î «æÍ›7‘ŸŸk×®Iç宸‘à KD«ÎBÖM£ï5êKP]?}&wè3’ïÌCÆýßq4C~"^÷_Š`úü„¾'ñ˜ó!œ´ñUìIŠÄ©y¯`õ‰›!N’ 0&À˜ø½ˆîóÆÃÉÉIR6…b)LaѼzõª¤hŠí•+W¤±]ºtAÓ¦´L%¹§²{}ç_Û£}‹‘Øz±¢å±º~¦+[ƒ]KtÖR€Ø¹“0y2„RÞœ_ˆ€Q¦Š‘EtÙ L^FVAÍy,œ¼‰'vaaèZ‡+KâO—e£ÉÂú…“¥õ¹F„ÎÀÖÓÆØG×Ï ï£GâÓ NqÊÒü @NsÙÖÓÊçÒµ8½u&‡Hi„~ O3k×|°lµ$Gè’­ø)~‰$ÏúJž•ÈÒ¤ï;Ø8x§ß—È)“†÷˜`L€ 0'Œ€nâP»víгgO4iÒDêR/((ÀåË—%åSŒûìÔ©^zé%É*ª+âS©t¾ú嬟zþ]šbIb–Ž…´­®ŸQ"ú^è6ÞÞéûã@»ž1|ð`¼ìëç©Ð¼uc$,‹ïÏ‹ÞÉ©Oan8}bÈQ|·§'ÖÌÃ+ý^ʼn¯cÒ( "¨6’² RSWnñ´¼åì¨(Œ±K„/ú2NïÔ^Ä7§0sëŸ`lã,Kóúз(Í"„ûOÇÏ’î­Áéí?®·/"£"1€¾/äß+ §)»[¿Ââðwð£CœŠð§¯‚g»üó‡ŒÊe¡â«D£&AÛq¹¢ž/…à?&À˜`Làñ' º×…µSŒíÝæ]»vE=0hÐ ¼úꫤóxKû;w–7,ÑïØßk˜í£Þo† ¨#pîþ7x¼Ò§¾HÄŠ I5®º~¦Ê¤B'/t"[âíOßAɘ¿À¿«Áb”Íüékäá»é‚f{"ç`<}Ÿ|z½H‰¿æg|9¶+íû kq6ý?œÆ;û€õ§¢á߉Ò‹Ì5Ýwà"<ý).}‹=…bŒql$¥Qþoçôå&Q`±²ÁàN[û*¥«I%×-ß,éKcÜ‘ÕI ¾'æ×ƒæâ÷–eQ2·uêM%{G/ÜD_þþºB…7L€ 0&Àž,b–ºn¦ºP<¤nö;wîHÑù™*ÕSié”AÐñcg#šL±ïxb³ÎÚ(yV×ÏbqNƒú/¹_~©#BÖÐwÌç­ÃE sxMú™:Mú.»ˆUD?—^Nb—\#´ qN{÷¶8±ÝÉŸ ²ë&}—ýÚõ»Òyíµ+¤¼vƒk WòQÒìú¼r$3¾„–3 TqbãRzvvõÑȉ¾ Og…ßý’"t7Mlïã ©ŽCIiÔÞ’T.‹HüÑëø=;&À˜`L öÝí 64úZ£¡b*¬¢:÷ô*š‹XÐᧆ`ãÏW$,†:W]?]|[:WX,”;c×iôRc³z –'ÑhfñÔ»’ÂIZ -z%TX`ãÙ(¾qƒîÞÀ ÚÆü©³t^ÕüyR OáÌe¥Û^:kð')™ò±¬:Ò~Îè7v1}®ògÜ*¦¥®&QNÎR:a¤;W"‹>í}Y~ý ÞaL€ 0&ÀžDå­™Bñß_N(™ºŸ86 ûT*ꋉmÔ SqäÊnêòn"¸H®º~ºøf·4qkñgÿÂéœ\<}YjÅêÙÄó¦’ß;ádœ _ƒ®gaÌ<}–ÈÁ®epâ}ÿn°ïо´¿py<.Þ"%”ºÓ¯dfâ¾­2ZÂö9¸‘rÆUú·ÎinçI[4l€Û9G±p‚ÉS¹«T% õ…£”ž/v(c]yê‚ 0&À˜xœ…RŒë,ïêׯS§D©ìtЧn+Î>•J籘ˆõý™ÅQèi<ÓÕõS›ÙØ#à³õ’Ž^NNèÒ«.È]äb’ÍÐ×#¥x¾_¼1…HçìigéØ~hÑ ¯†_ÁšÄLx9’bißˬGSZÿ²›S ´xÞ ÝzÍE¦Þ°éŸ™d? Z£Q”žPdmêÕÓe¡?¶íäS‡ ü•.x¾½N4§nr(l=ùåE:Öw‘Û({•Ê"¢ÝÄÿþ5Œn¢Pì˜`L€ 0ZEà×_ÅêÕ«‘IF0¡hêf¹vµ×ùn_RYg{‹ÿj«ëøñãpvv®RœêÞ³güüüªõ!ÆÑÒ ýZšñeK?]6Z$.‰WÈŒ™tu7úê šhÔ’®à=é¤>‚.¢´•?E¥‚­ÎÊ©óUâg|ô=ŽÓ$%kV£¦Ñ¶Ó³"s²dÑ"õíiÍÐéÅðokºV$ÏA˜`L€ <Ôjë–z¹té’´ÌaU ÄÅÅ¡^ ǪD1 Û¢ÞðÜsÏ¡uëÖÒ vR¹xñb¤¤¤àÅ_Äûï¿;;;Ô#Õð–Q±püSié4¢÷»åP§pjHkrŽp·#…“:ÖãW”)œB&ê} ¡žPÒÌ+j"½ §ˆgÛË“¢¥EÙglÍg¬r*[{ÓéYÛ”,7O¬–N1cžN+ r&À˜`1aÁ?CwäÈœ?^:•‘‘äädÉÚ)NŽé4¯Í¦Æû‡€M+ ·³FŒ„g§rýü4.óýÈ/Щõ3ÕλYß)8µÕ9/Ò€ÒGäžiÝkÖ'!Øp‘úG$ g˘`L€ <Ã1š"%ÑËùí·ßê•LqN÷îÝ[?¹HœŽ•N™Ã#ø·…ç„÷`¶ã[ÕAïMx`¹:yÑ:¡Î©šõÄX±ø';&À˜`L V0´^þðÃ_#2tâûëÛ¶mCpp0[: Áð>`L€ 0&À˜@õŒ5 >>>(--¥ÕvnJë}‹Eãuã9 S5î”7ôáýǃ@é-¤Ÿ½ˆ«Å¥‡<¿§OsÙOΜ`L€ 0ßw¯W€\Š£ßþ/ zùcT;» ¾¿÷‰;i{¾ä |¦~ˆ‰ÝåÏZjrcõ7'ñ¢—FuÓÝKHæ8¤·Žà¾-k\Ä+G·`Ýñhó^˜ðG7åó¡5ž-L•½æsá™`L€ 0߃[:K y­Ø€µ©;Áem]ƒsn·á ®ô5x€ô=½+-ü»OŸÁŠå»q]:[Šô}¿`ëyùH°FwH€{…غÿ(¶f/Ò=¶3Uv‘§öN®Üz -¿8§Ï˜`Là!xº-·ÎcÑ{«q¸ÁüïR/$½Û~½‡Ëøú/p¹Q}hnÝÈ·ßA»óqXz¦%æO®|Cœ,¢¿ÂV¸ãã×ðùÒèõjüüí÷8t­>†úâíá/ÊUW’‡¸ ›ð]J.ìš¿€7ÞÄk¿ÌCºo{«JÑ@ïÅ–“#ÚÑW<í¤å•H)»q¾þv]¼.åçïKVÛîdýU/çáXZ¿³¨>¼þˆ!/Ê3ÊÌÈù|ßÑ˜Õ—Š¢½ˆ aËÑì›î ¯Ÿ¾gÃÃãbªì$Fâ—Qø<­Þý–œjSŽÌœÿ™`L€ 0ÇŠÀSk鼓±ÁBálÒÑ‘£ÑÔ®ç»a {´¦*rpê€þ];£OŸîhÙP…fÍíè“”;ñc†òò;éXµ7¶ Ð\Hû‹£ãp¡UO¼ÚØúïåøO¶{±DáëÃ@Hˆ?ÿ»"K™œE®/‘œ÷(þ¿pêŽHÕ 9Kµ6á{Ú{’âï¡r1UvÊsÄû³ñV×|þñ‡XuTþ|§^ ÞaL€ 0&Àëׯ#;;©©©8vì~úé'ìß¿À¡C‡pðàAi+ÖêÜì…QŠ5Oª¹¦ƒ1ñÕ§1æ-w\ýå ®¡Þ TTyAÔ£Ã𱯰n@î„¿cïÑËx…–xßxxkÖ#JÖÁ^´nfØçøþçË8\Ä­†öi†ùÆÆ·àûìÞ¨/q=å~!¹æ,˜‚¾BOø"îMˆÂ–Ÿ21æ59¯þïâã‘/å³ ~øy5Îæ£‹í‘jÉÙ¸û£àÒc¦}Œ¶ _á£ÕQHÏþ >~ˆcK«QC… 0&À˜@­$ ¾FäààGGG£/™š½ncc#-™$üĉžºîuíµ#˜E 'à„¿½©S8 ÛE „ïž¶ü˜AŒíˆ}[ö!ó­®4îó Ðõ5tkHÉ ),€½º´R²Ãs´w–~¥š»Ò¹¯ÍÆWНØ8 +踻ÅhÜÆi¹_Åï jX? NIDATÇ«ŠÒ™CŸÄB“¾PæQMЖæW²’äl_¶½èœe­¾œŠK]ôôýü÷ÌCüίñ}¯Î#”zvL€ 0&À˜ÀcIà©S:UÍûaýb{ê‚^‹ð°hÌY8 }›ÓàA'æÈ\¿[^éÚû-_ÓJûÛp–zuýƒ»›ÑÚK¨³šÜ}ú–¥è '7éÃáEºCɪ¤ì\A*… F¿„¯£ÒØRRd©[¿=p3 ¢ÓÙ‰~¤RâNm„,:i j¡„Jîä|$\J.cÕ‚`ëÝF˜ô×é²YWÞ2&À˜`§rL§ª©+>^>þ-s°`öLÄ4^I_LÊÙ÷Ýnœ»F3Û/\Ä¡) ר3ÆÑ8Ê};E׺+Ft)ûD¥°æ¤g£èVöm\‹Ýtü——Û£aÛN’ò·¬‘™"m1rsr¡µ1VtEòÕq »x¿AYL'÷~t†_íÕ´”Ò:Ä“±õÕþíÊ™Ø{ 9g.w²ã¯SHáÌ눅‹?¤aeõ`¢h|Š 0&À˜x Jò« j>Ñ!W¾a Âo‘òñFÍ6'µ˜zô…r\_6µJ~úã†ÖÉ©¯”DÞü¾\~Ùs-‡`õG£ÑâA•˜`L€ 0‡I Îwû’~«n÷¯æ 00°JÑ?ggç*Å©Nà={öÀÏϯ:Q•8¥Ð”h©+܆Êê’)ÅO_-ÄâÃÀ¼%¢§nByÉyL²]ß·¥Á”¦­˜š1ŽSÛ²rê¤2½¥ QwJ`ÓÐNשn:˜‰³U—óIâb¢À|Š 0&À˜ÀcD@­V[%Í%šÇáîînUX] ¸¸8Ôká¨;¬ò¶eýºF‰vìØAÿÅo¿ý†Òsþð‡?H¿‘#GJß^ÇOíD"ëéÖ5PKðÓÆuX{0 ר«zHÈ—)œ"A.)uÐKëdÊ çýÒßP|ÿÿpƒ>_©ÑþF“uþOɺl¹!ëe©nÈ:@‘<‘©ê)X#ç}œIÜ…©—QXÒnüÿöîî§­2Žø·í)íp¥K‰ò²-¼…%qAHXDg‚Þ˜l™Ê‹áB³]àÅ.LtÃd.ñÒDo¶l‰†˜¹?`ƒmÁ 3Œ»,Õ„l`,. 6ÀvJõùz‡B¥=0Üz¾OrÒsú<çÐóiÉóÍsÞÞ…û¯Gÿ+qî÷¡4–D8²Ùö6«Ï}¸(@ P [Í ¿æB¨Ð£î{í†×£úP– $`¥¥¥˜žž6ÞB ПÇîr­54ÇðÌ–œÙXÀ»^y/75¡¹J=i)¾ Þ;ô:ªKä೺fGÎÙX.$YXÑçUþÌò‚?Üû°ç…<_^†½A?nMY®ÊO>ƒÚ—^ƒwŽöý<”à.Q€ ÀÓ- r¦ œÊ”4}žÁsýw*AÒ&ý~?Z[[ÑÓÓc6–å]»v食ֶ &ÑÍøÐÜÚæLMÔù¡Gß?bÖʧ„Ͱ `wg—0¿˜—‰3µ¿JýðýŒº ~&7 R3jÔ7´±‹˜J«á"(@ PàI(ò¹Q*PVqÁ¯RhгñérOÚçÞÉÏ“L&!“µ4©¹7n £ªª f0µŽŠ2tZÕ¶i^©Ë(§N)C¿àȯnÓÖ¹ P€ ¶[`:š@T Iß]²[ÿ ~†Îœ­£—F}gg§:ÛÚÚàQaÝhc¼J;†NCk_åN9¼.#œeE<óS¨/Ûú}9·ñ#rS (@ XFgܰ„©ù„Þ‡Çæ¦-­8›I ¢¢]]]¨¬¬Ô§Œ†Ê(§1Éz ™ô¶ð¾\4dœÃù¬zn»{îw(7ïq´…-sU P€ —ÀÂRRÒ‡¯^ü¸þZ~mWÂe]]2­SöÒžŽ¼9|"AdNžÐ³¾Ø­[¿%¾C P€ òK =P{—H$ÖN ›F{yudèüé\7ºO|‚'£†•ùj·ÎÜg(@ P€ @ž H´#XÆb1sDSîËiL6É‘¡³åÌytÖ?ÂÅÓâÒ͈ÕvëÖl„  (@ P $L!ryy6ïß¿‡BF;e’z#tʲ1ïÐs:‹qøÔ7Øå¾ºÐ;“ãLG#R—úØ­ËÃ_w‰ (@ X$@NLL`nnñx\™r…ºÏçƒ×ëUOqÔôWc^®d—uäiE ¢§áÀ;]x«ÿ¾ï;‹¾Ãáã s»u–o…³ (@ P Ïä Dv‹#¯ëX‹“¸ô© œ±b|ðù×–À©jíÖÙý¸(@ P€ÈsGŽtF'oâËÓ0†z|vþêŠW¿e»u«[à(@ P€ @º€#Cço½1¶÷(Î~ÑçÒìÖ¥Ãr™ (@ PCMM3Ïé<øÑ·8˜áW`·.Ãæø6(@ P€p¬€ÎÞÞ^œ\úrûÖÀY\œºx†¡Ó¾gÆ5ýš ¡B E>7¢‹ê©Ee¸5µ˜±=+(@ P€ø$pJŸ-}·ôáÒ—³ØÁµk×ôN œŽ>§Óaök… =( h¨ àîì*^lįSñì7À– (@ 츀N黥—¾œ%wááa\¿~LJ8yNgîŽY¯Q¨ÆåËõ`{Jvk˜%°œÌzu6¤(@ P`‡二pJÿ]ª&éËYrHœ·o߯իWyNgnŒ¹µözR‡×ýê[ä_A<áÅR‚©37E¶¦(@ 윀œÃ™:=.8¥/gÉ^`£À)#ž²%žÓ™½gN-åÇôxôsx>'86¦(@ Pà©B¿0e„Ó8e¹¶¶Vf¡(@ P€ €  ”›N  R:ms P€ (àtF4ÓG8e±r]øùo»hË÷"hooÏiõÁÁATWWç´S€ (@ ¬GCCÃÚ77Yº|ù2¼%å›´Ê\ýö¡æÌ•›Ôü Ô&†æfSIEND®B`‚Flask-0.10.1/docs/_static/flask.png0000644000076700000240000002330512156311351020157 0ustar mitsuhikostaff00000000000000‰PNG  IHDR´¡nÖ•sBIT|dˆ pHYs u§¶tEXtSoftwarewww.inkscape.org›î< IDATxœíwœeÕÇ¿gSHB%HÀл†P)&Å ¨ *¨¯ðŠ‚ˆ*XñµRDT¤ª€”¡E4!ô E !•$¤g÷¼üžáÎÎνwîÝÙ½»›ù}>çsïò<ÏÜ9sæ<§=æîä3Ûø$p0°!0 Ü\íî͹uV @ ,/†6³aÀ}ÀfÀ‰î~Gؾp-°ø°»ÿ7— HASŽmýØ83bfw8Ø83Çþ hƒ<%ôSˆ¡‡ºûÜÄ>«€Ü}e.(@ïÛLö3³#¾ÀZ@` °°,Çþ hƒ<ú'ÀEÀ8à¤2ÇL*¤sŽDž:ôO‘„ÞXQæ˜sì¯@6È¡ƒIît`W¤j¤aj^ý(†<%4îþàX`I™C†æÙ_IäÊÐî~ °707e÷y÷W @¹34€»OîIÙõ%3;ßÌÖN;ÏÌz™Y‡Œ©ÀšŽdž–”m½€oKÌlž™½df3Íì3[ ¬šÙ=f¶MŽ­@EnŽ•Vší L,lúðþ”C1~¯”}Ý}ŸÜW G#w mfû·PbæÚN†»{°°8¥©!y­@ÏGžŽÌì4àJ Ols XŠc=àr3ÛتLsSò[5¹0´™õ~|*ã)ï T óÚ5¨k$Ú­C›ÙfÀ_€]rOß¾îîiÌÚ ] LlÏ[ÖÙÄÀH)‡W€_^òŽ˜Åè1h/CfPÞÕ] ›³GG L—rX < <èŸîþR}èÈCåø R êÁÆîþF¬­ÞÀ)ÀyÀèŒm<ÜÜæî×9Ž=y0ôæÀô:Oÿž»Ÿ—Òfà~`¯Ûûª»ÿ Î±èÈűbfo#2ÚŒT…€#aÀî>+ÑÞuÈÜw"%{vVlZä-®¹È˱²¨Â¾)ÀeÀ¡À`wßÍÝÏöG¦¹ÛÌlýÄ9ýP’@­Ì °}çè!h·:L Ǥìú pb°ñÀá@³™-BÀj`)r‰ßkf‡Å$u%¦™tWy„„Lóû‡Ý½HûZƒ‡ýeàò”]KP^aŸ”}iX ÜŒ˜ùÓÈ]þ2í=ƒ¬)3P¼õ¯3¶¹¸8ßÝÓÜëzÚk¶;¸‰ü\è »¿w&³ÇCŸ÷£øZððEwÿKû‡X +£.†–ó©ß 2¹=‚$ñ$àér^A3ŒìÐS­ëìïoÀîþjçèâÈÄÐÁ>ü>4‘;œôPÐ,˜ÜQÜú\™ô]ý(`" G­÷AZ \ \ïî¯ÕÙF.Šª mf[vª£ý%À?)1ñL$]·Búõ ¤3Or÷eföÁpÜùîþÄ8z#fünh÷²:Æ“ÄóÀ]À_B…§ÝÚ̆ÏQ[lò<àö@ï"é¾ ²;§a%p p=z8ÈÝï‹e4¹¹_FeË `>ŠÉnA’rß— Iéµî>;Ó•èzp÷²ü1WVú;pKccÿ;°V…ó¶¾<•rÝ×#}R£odA"s÷È­<é†Y±š’Ív °‡»?™v`pŸq÷GÍlS‹1,0Å!î~W ýf‚™@±'û…Ï÷”9ôÃîþ׌mŽAjÆX`8²—?Œ¼‹iÅ) t2"†¾øF…ã"&Œ¢â&¡ϱ±cV#øO˜ÚÌl-d-éƒÊŒDŽŽ¥Àî^)ã%Û…ÈMÿJ \®"SCÝ}N{û/Ð5`ÈÆ<3|ÆÑ‚ôÄ+PæG+ûž™½l”8çyତ´2³sQPHG?Èëá4³A¨ÆtU+¦þp)R>ŽL{3Ü=kvyn€Þ(®9ÉÌÏÇG*„™­ef}½uÖÇS´eè»S$‰¾HWJ€ýÕÌvH>$¡¯=‘ô‹ôÞf¤šl Îx]+‘éïå@O¿u÷¥f6éÑÏ^”½@7Çí´žèL^ÛàGµ›Û7Y3’¥»uËL°¶CR߃cÛû!sÝ)íe¡(Rî`S2XL€_¢JL ŸÈ”$UÄë!H´}›”“{EºõêX;_®ÒéXd&lºõDæ9šô¯ãÂOÞnô ((_"H·ˆAþÛqNlû244…\Vu‚ IáQlH- <Eç­¾C³[…1ìÚèÝè›PP~ÔDë²µñ:qñ •q¡šQ*‚ÙoPx8v7³3̬™ÌÌ62³Ÿ ,•³ªQ >ãîû¢·Ç8à\d'¾5X9jAdrÜ Æó taôFV‡MÂïøÍÝ6ö}ð=3ûªñÁÌND†dÑš£—Íl;$¹?„b§ûVÓ2¤›@Éúè¡»Êݧ¸V£},P½¥¿¢…‹6@=½£êŸ ëB„dñ˜s€áfv¦·\‹ô LÇi¼q™¾›·i+!û£l“}Ýý 3³äƒT+ÌÌ€Ýý†°)bèbé‹„&ݶ:üef{„ïiËŸ ¼bf›Ùf6¹»Ópå™dN+W!i-b‹w¶—™N®Œ ­%tž‚À+×RšxME’;2É­>A[ó^GÑ `\žä@šÜþHõù|èïÔFOd Ê"Uá§1ß8;0È]ýUäÉ «Ña)ÒÃ@V’Gsì 4ØøšìîMiUÛBB÷ ôp÷ÇÍl%½ù»HzEÈsÌäT¹ßÌF!é9ËÝ—çØGQ"ïýÀ!(å›a[¡C÷ Ä's×Ǿ÷"ç%ßbxÍÝïp÷WÝýw_nf‚[º#°gøœ„Ì“;‡m…„îAˆ3ôïi-•ÛƒW39pkäÍ;¹¶71³M’'¸ûä1ì4‡Ï±h²9’Ò[Hè„wÚÝ_F®ä<0 ­[x'’Žÿp÷+€3‘ôOµŒ¸{sÚöEöâQ£‰0 Ý£´_ŸzTy,Cúö!( %މèõ~7Ð/x/ ûN ™Öm`fƒãÜ„o†˜êz™_Dñ×£ÔË)TŽ…$Cÿ ™é²¢p³«Q2¾yoT˜üx$ß ¤Ë¥¼”žœcø¨&Æ!5Œ+‰ë€/‡»ËŽçº'!iÇC Ï×b7^<¾¯FªÆ?Ëûtìû” *~ˆ\ò ¿{ó¶Y¢2-¥z ¥¹¬“µßnAá£åÐIãWsŒ£|¢ucßG¢¼¼4¬V§½×Ì®ðÒ´R0™ ³&èâHcèxÆÉ|”îŸ%*îô ß™òɶ›Æ¾_޲JÒprƒ²i’«deBHέ„á³Ð£{Ú0´»Ï@ÒTÖÀÈf“¾šê˜H•¸¸ÐÃ{?e QvËå([»^ëGµ:ÏÑ2Ì…ÝCPnÂHJïCóï¡ÊŸƒÝ}Œ»‘¦B˜Ùþföy3Ûéµç Éã‡ëéØÝšÙÚ‰ºÐ=Õº¢%%V8æ w?ÏÝŸ)w€™cfw"ûð]À¾À¿Íì `Ž»_[îÜ Ø£Â¾BB÷0”cèûÉæ5t”J5e§-r™¥ËTþvÒÅÿ€TŽû€óÍì²vØ¡ç˜Y¹…„îi(gþ@qYMw §ÉÊØ¶«PPªI 1ì/­ÂïcÄL—²·QÄßà<Í;hn°*ôwY£ÍMåC•Öú¾/ñûvJ–‡8& Iã×h½jì/ÝýÛžâÎ6³^îþ4²W?ef7"I~p#Ra¾üÙÌú¹û*—Ã%O¬O‘WØãP‰¡“ËœÝ<~qÌDµáöD…dâH¡‰ÃÍì T£ãH:OÞr÷‘}úHdϾ;,º™7Ö§ôÐ:tAÙ þ!‹:ý6¥1M¤µãäMTçnJŒðZ¸gU¢Ý£QÔ`´ÀýoPuþï"Wú>îþTìøAÀB¯¾¤DÍ0³uPõ¤©î>¶Úñº*é#´­ÜLIÏõ°ÿËÈ4—¦[ÿ 9F> ìÚŽ2GNBÌìȪbh’VsјöZ)`~£u¿‚ò¡jk¬üøL•gb>R=¶-³¿…’jó ᜉ¤ôÀÀÈ#Ü}Vè·É;@"§ÁÌžE1Ûº{Që®›£’ mõè4 ¦53''Q1›+PMŽ Õä#”²Í63³ÃC]ç“Íl³ }¿ 3[ÇÌšÛ,帤=*TùÞZú+Ð5QC¿^åœä2l‹QáÙ(|ô5àBd9IðùÈ%þwwŸ‰&kÇÀ»U™²`8’´„ó¿J9no3ëofãÃdsdØ^-î£@7@E†v÷éH=ˆcm­qlû¾YAþÚ›‡¤ó TÐñFÄPïu÷ù®eÜýMw*"íž!È$íãæ·O'˜Y¯ÄqÛ‡qCqÖÑþBB÷T“Ð § ÈÑò(éBJLå°8ÎÝHl ©»¸û[ÑË¡/ øßÞÌÊÆt¸’mŒmÚ…¡î—P3þ†jã=¬5Q¦MÁÐ=Õf¨Ú}¼?•߇¬•¼‡ÿ QÙM§‡ý‹û6 ŸÃÛ‡¢ºÃк‰çf™í¢U¸¢±ü-±o´”V²z¢Ñ3ô‚ÚOY$ôÝ)z¡WôéÀ¡(½jq…óQÝ:1Öf¶™Ýìef›£µÄß…kú×Ñq·›Ù1ÆÇz‰ß3B» ‡t$°eÚ$²@÷BU†v™Ò¦†ŸG¹ûC¨Pø"ÄÔ•°70ÅÌ¢B/3)YA"æ9 Y<^Cy‰wG'›Ù)f6¹ÅÏ@ê‚טY¼Üo5´ šr÷wBò푳¨ ©'•¼›º²HhPH'À¡f¶Z#ekZ—+‡aÀ-f6Ü×11lŠAöŸ¯¹{³»O‰»ðÄ´! öŸ‹˜ï¶ Qt §O„´Äß]QêC‘· KG·GV†Žò ›P¦ÉóÀF®ì–¤$B ’às‘õኰý3¨ØKTú+b¦wKôšY/3;éá?p•Õ„Üã‘ÙpSàf3+Woú–Ø÷Í,™eþ!luð“°­˜vsdeèGP¼À±f¶= 0ZUC*×öÇPŒG ªCËx/vþöûÖx-×û£ø“gC{ÿiôM*¨†{˜K#%)}2Ã-ËÈÔ•hnhwíX?hfÚ‚L~És¿ŽÜ×K€ýj¸ŽCönTª!jo÷Fߨ‚2ÞÃ\)Ié·ÑÄí'90tD3Ñ*°}C_Gg|úP Úß«ÆkY‡Ö™3×5úF”ñþåÖ|5ÜükP9€å92µ#áwP‰¯,džj|8ʇܩ†k™”hk9A_/¨kSÝvè$ÌlÊ¢‚êqìIi±ú4<eç\ ¼Üðc~þa¥|íæ)KdÄaf£QRAW¹û9޵@ ½f»wáîKP2¬!óÝåTüß•ëúkÆ.^G±•ò5¤žœ‚ÂQ/A”-~J†~ÖBo‰‰íŸ5³¢ÊWGžâ¥c½…˜è (‹;¹ @’ž¬²%Ò‰¯ } ŽCá¥o”9gF™í×Ôp-|+qþTŠ$Ú.Mù7ç„›¿€RÍæJ9‡ÍGêArû,ds>ŽÛ2Ê8I–>(G߬á:ö Ÿw%Ú(r»0åß ²Ã§…›[Øö‘ ̶d¼0¶íÈý¼^™¾6 ÇW+¥°*HôÌë·PÊj‰,%_GfÂ%À{}ã *sß:¤Qé¯3})}ìJ©ºR5úJ­ZçõÄõê-‘cè´qÔêH•—šñ¹ÀLë"KÃMhi‹·jhêó(àéöd‘s× [÷¥žÕÇÞ2³Ia ŒZðE3Û5ôû"rÜìCåUÁ t&:ã©AÅi")yfض1šðe‘¬óP\Æ`R¢çU%kÔ8Í¡†lr`7`rì÷ZÀ‹ÄTª‚KÓ‰1J£Zl¶ïôÛ¬ øe"çPMºzÂVW ÜĬ×20ñû X;{6ú†®éÔy•²·­PÕ“»¡&¼7±SŽëë«Ê´÷_Bxj×vchg±š}u>u^GŠ˜c¢o¢Øé½ë`èˆîvõ±Ebÿƒ¨¶Ç§P™±»Ð‚¡imVãõlû>‚Òêý}c×TêÜÎäFŽT·(å>Õ¦n¡ƒ½u’I=y|ègGJi_+å%:nZ×2:ñûÈX[×6úÆ®©Ôùª(c´¬Ä¥aÛ™í`舖 è¸hmׂLv»£7ÅgÂ1ñ¢8oÖy=[ľÇó)ÏnôÍ]©1*ΑwsT°±Ö ÝlàŸ(¨?¾ýuàÑ ç=Š"÷ «ßêQ×x}PœÃï¾ÈóéÈ{Ys›µ“·Ò©!bº?‡m¨À„åè®úl™ýÓ û¡”}¯¢E=k\J\Ëï‘÷s`ø½¥ïùÀ˜Fßä5‰×±*óG©C€±dsc¿«"PŠÊ‹TŽï!wx\jߎÂW÷!=j1Jê]çuŒAQׯ¶ ¥”Øð:E¸içñUC;×ú*Ž2OÖGné¤ Q‰ /á¿(%̯püô M3Z}vç:®ã,dÛ6’’.?ƒÂœ×9<Õðh½p~~ ª@–,”ãbíXúG!÷zãÞOëpÓ¤úÜ‹|›Ã¶›šj¸Žo¼ ±m»RÊ~Ÿ kôÿÝÓ©ñûxr¸é‡$öý½ CßO™….{š¤EV•çm‘Wñ¦°í!º²YGEÛ›Q%¥Ìª /bØÏÀyŠ(\PìÿnôÂMßÙ„ßǶoEyï^D÷‘R6,ÑþT…i9J§:!l?”Ò:‰³QÝ‘åå(˜jð êTÐzåññþ›vND ªð7z±-½ü@\êRZÏ¥­’öDRŠ=†vк–Þ·Ñ2Í€ÃQzÕœ Íg‡·Æí”ÌpË‘¹¦ÐS¤µÄú}M ëGPn…fò€™}éÏ7¢ÕfÝÌú Õb¯ŒÍÌF9…/£Õõí>㘅&‚Ï¡˜êñ¨üB%,¾åî?Ì8Ìì"¤cߊÜïW£7ÒÉîžµ.I,hô•f½P&ˆ—ĶEEd²Z?j¡Õd/§ß‘1 ‰°îbJ-h½rkôßS¨áH¹ùƒ)UýllûºH¯ý•cFK+—ËŠ¹“ÒZâŽtôÓPµÑ+jdî‰ÀŒ×µ.Z7&­›uýß÷jøÊÜüí‘®Ù üObß!™­¥Æ}÷ RaÇQ¾"S=CƼB4Ùœ;÷"JRÏPc‘ö‚º C‡›¥5 ÿ Ûlåò¦JÈ`PÆëZ›RÏÛ”J§9Jv¸ˆvÄf¯éÔðT¹ùGSr¤Î|–R¬C-ãt@ŒHf^@Î9ýɃ)5ÕJÏQ=æ:zVrÂ,EŽ ±(ÿ±Ž”–¨ÎÞô*c~•v•SŸ‡¢¨ÁdIä¸ 9¸¡¼ÐhfÌñ÷¾_åÏE¡¨yIïJô2p5×_6IDATðÞ¾æõ(eÞDUÚXZмàÀfuöIæR¾a®5¸×h†Žýñ'’½éä 7'+­@Iº¿E¥ÎâÞÅfàW(cæs¨òÿpÍBÙ5·dókÈ~~:°u Ì\©Í+}ïÝ»™:+ÌlGÄH»¥ìv4É…$Ú(ašTvTíìùhEÛ—“;Ìl°¾»ß~¿Y6F"[÷dw»\ÃfÖéΣ‘5d6š4ß¼§Â˜æ¢PØMõ`G6³Ã‘³o…ó_@êŠ ÇtýDu ¤nN¥µ™kò2ÎGúî&H'Œ¯x:mÜÌ›ž áG¶Ü;PZØ1Èi“vîtTÖìLÄüÕþ‡©½vöBð²…ü:§{6ÙµÛ$gn£ÑŒ× Œ=-ÕY>& ‚43yn ZŸürd!h!ÛB¡í¥k(9¶N¥T›¯RòÂ2Eé-Ao¢]ªü[£àr¦ò GÃX®BžÛ³éi”Iÿ¿(^¦\ÎçV”¬U¯'£äé¦ÄqM(tH¸·­²þÎpÈØ;Q* 6yGù‡7„›>*0Z=kÀÔCO¢Ò åö¿ƒ&}«‘¾¿U¸–³SŽ} ø8UJùÆ9…»vÖuÆiJ>þzȾ„2vÊ™Z— wú|ÒãkŠ}ØpFëd¦6àc”VÞº½’C¯øQÝŽí“·wÂXM¢¤&ݾÿXÐ?Š>tô6¹Å{D%‰ç"kOÕz"HÊÚ˜›2–UHêî‡ÂÖ(ëf#$=>jü½ýf´ã{޶ÞÇZ肆3Yƒ{ R1V!)õáFí˜ü(FzD¸YñšÓïPßÒõÒ/RÆÿ~4Ø5üþlÊy-Éo ×:ž ™0À‡SÚøqÿoS`ú‹cmÍCeŒ+]ëc´¶­ßœ„–ýؽA‡¢ÈË#?ÂðF´rd…™mƒnöÁˆîFúöTôq1ªnº ¹Ù¿€8y”˜‡*Žtñþ¨ˆåþ¤G(ÎFÖ•…H%è*ÇRf£²ÙH*7ê‹Vf8YŒ"¼jfE ò,GÂe8Zõ¡w™ãŸn¸´ì „&+7SòÎ@•–F‘˜p!Sà¯(Åx¸¡õ”Bø\¬r5­ãÞÉÑ:qbøhÓEH]Jêåÿ%ßp€®J·6œ™º!ñJ®ðeH7|_ʱ3ÐÄnJ Ø…x~IÉy|o¤ôPÌGÒô4WX‚ò¯C:ò©”j÷õ4Z |±áLÔ Iæ‹i=Ay¹ŽÛXÐòt×  Üïj­òõ´àç%¨Êi¹™zžôuô–‰¬/¢Wu¥(ÃîJ/ ·éP÷ê)Ì ffˆYOF:ôH þ©(x,3#$|9gÖAIÈä6ÝÝÝÌF¡„Ü“i¿7ÒCû»W9n:ROölg„#Uêß(+þiàw%~PÁÐjì„âÆ#/ã<4¿¸ÇÝ—ÇŽß1öGÐ$iòNCzñöèa)P £f"0É+¸ý# ]'Ìl{TÅi<’|Ë‘õc2rÖLF’q°3ŠÉØ2F›#‹Ášˆ4÷xéÿë"Õìƒèá_ü¸ÐÝç×ÒpÁÐ9 äÖˆüCÈÄš MA.çˆÁgZlFk&ßå ¤T5µ_hk>òˆ½h>27nߑז#&£º%¸ûÂäf¶>p𨻿PO'C猠wï„ì»ÛÆ(YÊw6%æžžø|Óà ªN“—‰d ‘…{ ˜” ‘t[…fý«Ðƒ³<|.CÉãP"BÜ&Ü‚ÂJG!;s˜Œ"õþìîÓsj³" †î$˜ÙFˆ±·¡ÄäÛЖÑA ø2é ÿ²»/«s  PÔ‘(¥,Ê&ˆ÷ïBÖ˜¬Xˆâ,V‡ßï Uâ à¾Îbâ8 †n0£oŒ\ºi´aì3ò­@6楱ϥ‰mËþ1ð*Ç4§a Jãz9íÓÝÔØ^‡£`èn‚ Ê ¢2ÓÇi=$é+1~òû"¤vD ;§s®.?ü?žm@Y:_CIEND®B`‚Flask-0.10.1/docs/_static/flaskr.png0000644000076700000240000015050312156311351020342 0ustar mitsuhikostaff00000000000000‰PNG  IHDRŸ\ŸGIiCCPICC ProfilexÕYgXK³îÙKNKÎ9É9GÉX–œsA‚¨€I Š$EQA”$" "fAÉIQD2ÜAç|÷~÷ûwÿÜyžíy·ªººwª»¦ßZ˜ !!jƒ"¬ ´¹¸° `H1ÀÝ0rÿ?Þÿ‚ ÷¿}Þãß¿î ¬ë@ˆýõåÿ² ˆ„Ÿ×¯‹nɃÌbƒ‡?ó]øÎöB~Å ¶X<ƒl­aÙ r73ÿ «{…é[Áî Y„Dh`ø™A^!6Éâ|tÌ`LËó<Ãõþø¹ìG0>ˆ%,o ‹´²…1Œ;ã¬õ` ¯(h:ÎÇÆþ/›žºÉ/_}£ß6Zߣƒ±èá˜óø›Ì !L@ð‘ nƒ€88 t€î_­8ðXëÂ?˜…q Ü#î c®¿ìtþM¢ÿ«Ÿ7Üï¿{äDØ6òï1Æùǧ/ð€ñ9ã@w0»pWßäÆücqàï×l¤ê¤¤vþÌ %€’AÉ¡´Qj(u”àBáQ,@%‹RDi¡4P*°N èƒiس÷Ÿ9ølôŠ* ŽU¶óµ¿ÝýØý²öýûû¿Íø,6/þ™ž1ð>@'8$6Ì×Û'‚K Þ¹žb\FAD 1.)i©õÿ›ë gýžìªÕ¯\á_ü##l Ô烷ÿÈC¨ßƒ· Ý?2Axß«pK‡õÛêà†8@¯PfÀxüœe€I'ÉÉ^É=)9©©+R#Ò´ÒÆÒÉÒ÷¥¿ËˆÈeJd^¢8¤(ñнCßdEe=eKeßÉÑəʒë’Û•W“¿!¿ À§à¦pQá­"½¢…b¦bŸZI[)Q©UiSY^9B¹Qù«Š¸Š¿J­Ê¼ª ª§êÕ)55‚Z¹Ú¸:—º›úeõq n ‚F…Ƥ&¯¦‡f•朖°–ŸV½Ö²¶”v˜ö]íueã:ºH]ÝtÝ=Z=[½b½Oú<úÞúuú+rÇ : ц&†9†o؈F5F+Æ ÆÇ»MÈM¬MŠM&‹;|ßajlzÞtÔŒß,ȬÙ˜™Ÿ7ÿh!hjñÀciaYb9k%moÕkMgíj]kýÓFÛ&ËfÄVÈ6Ò¶ËŽÊÎÙ®ÆnÝ^×>×~ÜAÒá¸Ã3GG_Ç{NX';§*§µ#zGòÌ8Ë9§9¿9*x4æè——6W*W‚ëm7´›½[­ÛÁœPAXs7r¿è¾BÔ!¿xhzäy,xªyæzÎy©yåzÍ{«yŸ÷^ðÑð¹à³è«ã[ìûÍÏЯÌoÝßÜÿšÿ~€}@C I [`KmPw0GpLðPˆhHZÈx¨rh~èJ˜IXU8~4ü^=|8ìŠ<9¥Uµm};†&&(¦?V$öLì\œ~ÜÕc¨cÄc]ñÜñIñÇµŽ—'@ î ]‰¼‰©‰3' NT'á’ü“ž'K%ç&ÿH±O¹ŸÊžz"uê¤Áɺ4Ê´°´·§TN•Fö==pæÐ™¢3{ééO3¤2.dìd3Ÿž•>[xvÿœ×¹,ù¬ÒlLvPö›œê\šÜ¸Ü©ó¦ç›ò¸òÒó~仿?¹ {¡¬WY0^x¸ð^_QvÑN±Oñëí’†‹lÏ\\¿äqi¸T³ôF{YFÙÖeßËïÊ Ê›**.Tb*£*g¯Ø]齪xµ¦Š¥*£j÷Zеñj«êî…ššZ¶Ú¬:D]dÝB½sýàuÝë÷nˆß(oÀ7dÜ7#o~¾åvëM£Ic×mÅÛ7îðß¹x—înzÔÛ´ÒìÓ<~ÏñÞP‹qK×}•ûwH<¸ÖÊÝZÒÆÐ–ÕŽkOmßïˆëXë é\|èýpªËµkä‘ãWÝ–ÝM÷õè÷<êÕêíèSëk}¢ü¤å©âÓægòÏšúåúï>—{~w@~ é…‹{ƒJƒ÷‡T‡Ú‡5†¾Ô}ÙóÊèÕ³×f¯‡Þؾy÷Öùíø;wóïÞûõa{äÄ(z4ý#õÇ ŸØ>UŒ 5ŒË·MèNôOZOŽL§¾L‡Oï̤ÎRÌ^˜ãœ«™—™o]Ð_ü|äóÌ—/Û‹iK4K—…–ï|ÕüÚ¿â°2ó-ìÛþ÷ÌUæÕk?dt­Y¬}úøs{=}ƒy£zSq³wË~kn;z»S¸+¼{Ïdot?p?„Føu@Â-ÂË €ï×`ás‡Ap¿9Å/ ˜®@° Œ‘ðy>„‚° )@g YÄÄò4JÍŽ‘Ãú’<Ãy“ËSŠQíÑ Óå2h㧘B˜§XMØ*Ø—9…¸Ü¸Ïó<ä]áç0Œ*îù&Æ(®! Y Õ+½HEö˜\‹üª"¿’•r¼ÊeÕ.µ1õMF-ym[(ݽúÓ†+FÆ»‡Áá}Ó}³} ÈmEiÍb#mklçcÚ¡Ú±ÏiâȪóÎÑ—U× ·O„-"‡‡¡g¤×Uï·¾ä~ZþáσF‚;BòC#Â\­"Ì"­£ŽFûÅÄÆ¦Æe+¯?~7áAbë‰{IÉõ)U©å'ËÓÊàRr&/==ãDfÔÙÀs¾Y¾Ù9á¹QçÃòó‰ì å‹‹YKh/’_B]Z++ë½\WžYáWitEä*ÕÕŸU“×>U×L×~®ûZ¿r}ñÆhÃã›·r n_½Ót÷yÓdóz î>óþVî6TÛPûÕŽÔ΀‡®]Nœº»ô¸öû<ž¸>µ{fØ/÷œs€d`åÅ»ÁŽ¡ËÃ'^:¿R|M÷zùÍÀÛ›ï ߟøà1¢3Ê9ºþqèSõXê8qÂ`RbŠvêûtÿLÅløœÎ<ÝüÔBóç¬/!‹æKìK¯–¿‚¯i+,+cßV¿¯­æÿúѳæû“ùç—õÕM·í®ýý_ñ'‡Y˜°É  ü€4¡ølv IŽlFC;a±)ð 0 ¡È ² a§] /Ç23³T³.±srˆp*p©sñå çËâ¯x"øE˜^DUÔG,[¼]â‹“´ŽLÀ¡ ²rÓ 8E %ceo•Õlµ õ[šÏµÞhëLéÎéÍëÏÂë`Ähȸפíp£i•Y±y¦E¢e¤U¬uŠM¦mžÝEû ‡*Çj§Ú#µÎµGë]®»6¸Ý!´¸wŸ{|ð\ðÚñAúløÎø ù·Ô– N õWƒC„u¤e”E´UŒ}¬kœ×±€x¿ãv ê‰B'è“0I›ÉË)s©'GÓ^Ÿ8ýäLwúýŒÆÌª³…çÎdEe‡çøçzž?šgopA©@¸_„(Z„s`ëÅòKi¥~e‡/K–3Và*É®P\¥®¢½F_M_CWK[G[OsúeÅM²[¸F’Û$wPw6îÎ4 5wÝ»ÝRuÿ⃂Öü¶üöÂŽ²Îê‡ ]mz»_?žéYìí}òò)œnúß?ÿ40ûbipuhmxõåÒ«é×/ßt¼­x—þ>ÿÑÞÑ?ú1¶1¾=±>¹456=0Ó2[1—1º`ÿYÿ‹î¢Æ’Ä2óòî×É•‡ß®|O_ ÿá¹æù3fýÊÆÚÖùÙ_ñGÀÕ˜oÉS˜æ‚68 CP3|:OE¢‘ ¨´Æ²3%Ë"ï§DPñQ«ÓèÓÐiÒb`aØÅO0¶3å1{±È³âXÇÙZØó9Â8-¸$¹)¸?ó<æ-ç‹á7`˜lŠÖ!½$ ®&A-1#Ù,•*m"C%óâP¦¬¡ì¾\³|°‚”b¹QY\yGePõšZ¢ºƒ†¸Æžæ­sÚf:(gºzÉúž&†2F¬Æhã%“—‡›LóÍ|ÌÉÌoZØ[’ZvZ%ZëÛPÛ|²­³‹±×w`vXtlsÊ…˜*ryò[ÚÜ©ÉÓãgÆÓÇ3Æ2Gξ:ב•™­=ŸSžëq^:•7šß|!· ¤Ð¶H¹˜½x·däbÓ¥ÜÒÐ2‹Ë‡Ê™Ê÷+f+û¯4^-ªJ½YíWãUë]çWïÝÿF`Cè͸[Wn÷ÜYn¢o–»gÙâu?úAZkA[M{GLJÎý.‰G„îÂǃ½È>é'öOßìÿ:pðÞðæëÒwOFßOj-E#%åy˜á$SíS§Þ¥I ´I0[I¢‡èO0†d<ŸÉÈÄXäÍ4ɜ΢ÆòšÕ—u‡í;7ûmCŽÎ.,W9·÷Gž¼f|Šü,ü?zó…\„„—EšEOŠÙŠó‰ÿ”x.Y#•!!ã~ÈZV_NE^BO‘U‰I™E…GU\MEÝHÃFÓEË[;Hç¸n¾Þ-ý7†ÀHÚØÓ¤ððSÓ-sa OËk`ãdÛj/àí¸uÄ͹DžÁÕÅí*a‘(ïqÊsÌÛħÏÏÙÿU XPBð`([XPxg$>*"úM¬^ÜH|KBÆ ½¤å”´“ø´ŠÓRg:3l2gÎ¥d‹æŒ/Ë(P/b(^¹ø¢ôáåæŠWU½¨®}YÿôF÷ÍWKw›uZ¢\n{ØñþáF·`O_ë3Þç™/¶†]_Ýóó½ë¨òXçTӬ߼Åg÷¥'ßÂ~Ü]wÞ ß¦Ù!ìŠïnì¥ïcöS~å  ŽÂÕ­³pô›ÁSð΢x Y¸&`ù•€,è Ìÿ¡˜ós"Ô.pìko‘˜Åû#K‘Ã(,JG~æ¯Èc¨1æ˜lÌ0uÆVb¿È“¤ ‘r“F’>Åñàp#dªd¥är?òW0çm¤ä¥,¦¢£Ê¦¦¦Î£a¡© • }@gJ7NÉ€bÈÆsâo1ê1Ž0E2Ó17²Ø²l±–³Á̱ŒÃ”c‹ó—-7šû6‘—‡÷;_©@´ ¹0Ìè¦D:EËÄÄ]$Ô$9$÷¥Æ¤;d*–•KÏT(P¬PªQ¾­ÒªúHí¹ú/š»Ú”:"ºzz>úÙ­†_©MÔ{›š=·ÀYYåX´•²K³Ÿv4tºáÌrô¬Ë®›/á.íaçŸ;ß;þ уuCn…q†çD"£â¢WbýãVã³d’RHS+Ó”NõŸqI_ÊŒ;‡Í*Êáν“§?PàSÄ^üñbY©åetys¥ßU–ªçÕiµzõÔ×§ºn5Þ¾~·£¹§%ì@ëHû¥Nb—B7óã½ÞO6ûÉø͆½ºùf齨ˆòG½±¨‰Æiô¬óüã/|K _‡¿£~0þÄ­moíàw1»÷.Áµƒóƒ\Iʃ÷ý ø ÇïxÈІÎÃ5Ÿah Á†ÐG„#*ïÔHcääsÊUƒZCë Ï£g0ʘ\ÌÖ{ÞÛ§H6IƒIpž¸I27²1r7ò9ŠJJÊz*Kª]êë4ZÚ§t±ôôC xqü$c)“'³ Ëë56ovAöyŽ:Î`.%n,÷(Ï=Þ9~YAC!KaQ?±ñd‰ÉkR=ÒK‡˜dõäÂåKž+eu•Õuv ÍF­-CÝ*}œA´á¼±“I¯©”Y|M¶¦²©µ³v@86q9ŠtIvÝ"¹Oxñõ÷åô› ð¶ i /ŽÄE¥Ä@±™Ç¼Ž_MìLjO¹ròø)Ë3‚é[™ç2² ¹Zy"ð… èsÉ‹K7ËòËW\u¼¦]ÃU»^ß}#ó¦M#ßíõ»}Í-„ì­ƒí±l»…<è™ï»ó4½ßc@y~hîeÓëØ·’ïÆ?dª|\+›82Å7½9;9?öYçKübùRËr×׎•êoßmW™V~D­q®5üTúÙ½®¹Þ°Á¹qncuÓx³bssËbëÊÖô6ß¶çöÕíÙ¯œ¶ù]º]]¿Ýü݇»‹{L{†{‰{M{‹û¼ûNû9û}ñ÷:$sðö¹6\~ü´¿¿*6€ÝœýýíŠýýÝJ˜dÀÿtüþ¿âÀ×Ü/ú .¸,ÿ?®ÿ ¢¸\;CW pHYs  šœ IDATxì`\ÅÕ¶_õnK®rï½7\À LJ `BIü1å£0$-!”„ ”cpèºÁ Œ¶Á6îUî²%Y½ZÿœÙ=«»W[$# •wìÝigÎÌÁšÚòÐWHdf<ÓcÖfF'% *ÁÌyFíµú+[EEl D%Æ 2!]˜*¯ ©3£h;: lƒ6í[˜ J±fƒQb¢ÊQq¦] Q‘ƨmáÙ<•XŽŠ1ÈÈÜRg°ö›ƒù±ÿ~dggCÖ¯†Û´LÓI 1M„ò„Š´´4¤§§‡\Ó˜úŶ’ Ô/°ÆgJFÒËcŒámZf^ñ1@šy%šp¤ÙÑ^œšCêsÊТ¢ÜÈ–!{×áYrlžYšŠ˜¶b|&#30#Œh,XD”G#º4’n¾ìRò+‘¿9e!Î#-Œ/DûN©h•bfSc¢ktŘÍK1QQ¦-GQv4Ö”?ŠR3[[WŽòN‘8˜[²†¢  6lÀ€0iÒ$¤˜údw]8ùrCVO Ðð÷eܺÛãîc]·Ï]_]ëw·?\ÜÝ·|]·Ï]_]ëw·?\ÜÝ9õÂ< ë֭Ú5k0hÐ {E8=Ì'  'èpç|Æ$Æ".ÝW ÆÈl™´0¯–&œl|1> KÌ–÷ ד”[Œø¢|ĤD†|F|e|¢ÌŒgLZ ¢Ìîy$Ã3ÎÔmŒZqe@I,¢¢K%‰¨ìRTÆ…Ô™“€$³Ë>ÅÓ‰xct&FšçˆFŠaX‰Â£å(4ÆqÉÑ ”FU (¾I1!uÚ¶8Þd–S¾tÏ:ë,tîÜÙæˆ ¯cqnãÂýe/:ýtK5r‚•V§añ8·~·H úœ2rmˆL°kDóÄ?çn_ ö°ÿ:؆ð÷<þ2>òckܸqèС>úè# _|ñˆ(ócŽH€H€jB ìm÷èq0cúµOZ;^ÉÆ#Å܆F‚™ù0k3å–üÁüCˆ>È÷Ũe]F!»`9:Åš2vÖÓž±ò[ØèŒ0Æ¡5€ÌmèÒ cÓšÛæ]N@DˆÆ^­`å¡…ˆ«ŒAbTœ1Ææiµt•æ´ Ï'yhEË–-‘”dî”Б 4zaÏRs ;îŒiØûåRÄ›õŸm“½·ÊͺM;;i6 ™µ”™æÑ˜ûÌÌgÂdcXÊã5CŠef-feß °o÷Ûˆn•„v=ÍúQ{ƒ]yzf(î+ÂþÝù(ísÊM™P:#FbR§ó°ôàÈN.@Rç8TD˜GƒÊc˜Œ3ûŒ¤™È2úr3 1µóùˆ¬ˆD¥‘ çöíÛ‡¡C‡ÚsFÝëÅÀS'F–ž3®ü…&ùùò)^|ù¿¸ô¢ |éÎò¾Ä pÆ’êR_Ô8Ãnµš§¾Ob(3UN}·~52Õ·ù^ÃÓ)¬¼»}î8ûï?Ó*•ɱðÕqPÿXÆ_ CùlìÚµËoöS–©ÇÇÏCúI@FþÍHsä… Z}¦ó_?ö'»óoBšáÈ©¼øâDNÓɇKÓ²5ÕW[yÖš@myŠü¶­[ÑŬߔó\98Å¿íÙ«pc—‰èñÑ&Ü<*wœ÷$ÆÏ€K/½ ÷/ÊÀÍ#‚Ï«j¿Õ÷6ÙçIÿ%O9hØ)((M”Ú¾zû/q«Ï\_ÁäEÆéj+ï,(¬õªï–iìýïlngïܾ²QH αãÇcé—_Zó•1$;9ζu÷]6••–¡¤¤Ä­’Ÿ`Îÿ”x®ù›‘\Ë™Ê`CÚ›'+í2»ë‹KŠÍ^Gs$ @£#vÃQ ûòÙPytiZ¨r¡ò´| ?T¹PyªKfmäh%Y{&_†áŒ!çF1<Ý#:´k§ªý|m‹ê—í¯Ï~ÉSŒñÛ §\tR줪g DeeÆ\þ öýk0Ê–ý]Où+.¿x†g/°†ç››²1--‡Êã«ÆÃ¡Ñå¸Ãž[îÿžÐGóVaçÂçð·Ã·báºèÓ.Õ×Oi ´KÛ$q ‹/ίýW_äì&¯¼-äxs—¤_ë 䇓w–qTë ꘪ¡cÛëg-«uH\ÃâÊ×~«oõÉ®FÒ¹Õ>aâD|±p¡58?üà;Æbxžhžæå¼ïî¿üØêݧ·é”kÖ™~Ëf£½ûö¢Or_Ošãýå9žIš¤Ÿñg›ôê~:}º­Ÿb–üÈ&$ç-~?FH€H€4c2>tê°qYfh„ U\ÝN#C OË-ø`N¿p%_ÃöÖ¸Ù„³¶¤ÄZþÅ£;à„Eøxֳؙ¹SJ¢´Ì˜<©½p¹‰ýøÇWã÷ß„Ÿœ:Ø«ÓÜv_û®;û¬»õXxãxOºY9qÄÈ¿ûî=n—êyêÒvH¥Î°ÄC9é¯Èk¿5J‡3OÃê»õ¹ëV9õÝùîò"§i*ë,«aõEÆÖ2Á|Õ-¾8)«iÁÊ8õkX}-«úÜ:TN}w¾»¼ÈišÊ:ËJX ÌÌŒ>úðC_û%.éáœüP{ï½÷ìsßU¶¥9–mÏž=­æë­vg†3-Ð-ø¶f]鎻à¼cà,Ï0 @Ã&@ã3ÈøÈúP1 ÛšÍ úíž)“¢šDÍ1%Ëm÷ó/»?hvê[ƒî(òíRÏ’†üoŸGÇñ7á×ÿùç jAX# 1‡ü÷Å6à¬7^ÄoÏkn}Y÷LCåÑb£1 ­Í”êÚe+±«ÌÜv7†§ÇDšˆÄ>±&ýwòаújøˆ_ç®OÊiš”½ªSâVý•æœXé¤õE^V¼Úÿæ-€¼M ñ¦u‹¯Nû(®yê»Û§e‚ùîú¤¼¦I™ãÑYj²lÉ?Ý—™O¹ mÐ6kß$.Æ ä˦C}äf\œç>xð€ù,žùW]Á|g"ÓªulÙ¶Ý®áýt$@$@‹@×|6®n}÷ÖÊ.wÙDêËÖ]‹óK2ʺÌÉæ'ù"Wç,'Æ‘¸’²"óg›`6©Û¹ú¼?;gåV»ÌxŠá©k@õÖ»“™3,ìä3³Ý¬íÔ©êѵ²Þó€9ó³µ1Nx?ö§?ù’tÆÓ=Ûé4öU8Ùœ°‘cÖ’Ê,( @ã"Pe5®v÷ÖÊ-wÙå._j̨a"¾8·±¢mB5N Ï‚Â"sç¨ÕíÓg²æ36ZÎQ­ª2R=–TŸ“.ÇDüý[>†A^‹éƒ™u¡/aëc•sÂÿÙròö‡wEKÓþüh)WlÜoƒ¬Bñäü³vØúÜH[—éˆü·®Z{ÆhMú/Ær0[ÔlX|uNã/¬>oÝÊ[gýÔ‘tMýîñÐ:ÕTŸ–S™æÜÿ=f#šºÆS~ ‰Á©»Ý%¿[÷îÖ@WnÊTâ2îÝMþêÕ«ýŒOÙ™¾CÎ63ÆÎuÐÓ/¨:jlΫžS tœyšæôåŽÄŽ;i|:¡0L$@„o»¨BsÄ“œk*·åø(5~Ô0Q_Šú…uÚ2€NI*6;KJä,S§:¬7³¼ÇÚH\ó’^9mI¬Ä.Óðî¡ýæàüJ³¡#•ewâQ³¹(%!ÙÙ¢  ÄÏïýi‘,e¿ð–îÛ¿ÈÁíÞ&¼”ó®dXµR—Ÿ1À¸“bÚ¦jaoÿ¦3,òN§z‚ù"«yZÎWÃ3˜1ªeÔײêkºú’Þœû/G" ƒŽfÖR _ P5<…•“Ÿ_ØŒ«V­ì-÷‚sp¢ç¼bÄÆšÛã{÷îAçΈ=ªK}—@¾Ì¢nݶÝî¦å®÷@Œ˜F$@ •o»™ýû÷cذaÕsdvP&=u–Ðì­eM¨^Â/%Þ|ËËéœ_ºjø8]Ms–±á¨8$'{ èd$CÓó¥mž-V§|™W+6!äÿwì¸Êµ¯5ê¿W™³½V?\}òC–mý—™M·“ÍFÝ{ôð\÷5¸þåq›_ýµU]©©©Ø·o¿9¶¬£ïÇœæ©ï¼Ý®?(4/oo½çäp×{ 8L# L€3Ÿ®Á‘™Î¼¼<ôìÑÓsh¾18ä¸ Ÿstb$¹ÊÊ܇þø¨Oç½6ýw×*¨}ÎþJYgÜ-_­ý®ÊÜò®ìêüØ¿WÇ:þ=Œ¡ºxñbÈAM2³ 9ƈ]o‘9`à@÷Pà‚óÏ÷KsŽ»_†#ÒʋӰøÑ±ÿµ;úJ¯õºÿEfã’l2òùi. ™Í”c—d\:™çÀ§™k_Óc¹¾ví܉Cfj7ó8P:  ÆC€3ŸŽ±’YOÙåþƒüÀ~QJ–ñN,º7·q£ªd[ £²¦åUOm}·~Ûvíƒñ¥½ºNRt»åmšÓÐ4ý¶:jÙÑÈ¹ë Æ/PÙš¤¹õÛ¶›‚ê³ÿõ7þ²leŽ9D^6©)ü;vêhˆßa ÇÍ[¶š­hŽ» 5d‡Œ<ᨃy⑎¯#‹A  L€Æ§cpvš/ÄQ£FAÖ§ésêm¶wâÏm,¹‡ª€A;³$·ÎufÑ®«/Ïjú½³˜:s©õ¨¶?:áÉþÛñ Ë+à¨W%VŸ&<þ)f‡ûðáñaÃtïÞÝAÈçK^uåôz®+}ÔC$@$p| Ðøôò•MFr`µÌØè—™øjpˆ˜3]â’çœI”´PNׇêJ[þ;<~ÑNRʬ¤×8¬Œ0ù/¾$›ö‹«íÖ¾ˆïËW9›R%«ùZFãNß¶ßÜJU}^A=öß까ÿ!C ?èvíÚ….æ¹ñt$@$@$ "Þ|óM¥ÒLyÈ‘0ßšMr{ðsî`RR’ÿ¬g#⢆¢ƒnã¹u嘚Êþ×nç1A®e!ybÒk¯½†#æ@x™•Ï @ó&ñÈ#4kãS6;ÖÞ"ãÅïv»ûÚRΙF×mm·ñS­¸k&5œ¼»|¸¸ÛØtë—Nµ™Vöß\žMZÂÎÍÛÍó;ów+tÅÃé—ïRW=zŒ×¿|¦äöûŠ+|k©«+g @s!a6ؘï¤ãcº¿ŒÝ_~õ ¹¾ÛSßõ…ãYßí©ïúØÿÐê{<껾н¯þãàxÿ=bÿÖL|}G}×Çë?4úú®/tïÞß¿ˆƒµ|3+Ž5dbmݺݺuCZZš5˜ê¢atÈ!Ô-[¶ôÍòèš]ÿ¨}¢Çm,Ò-ib¼eggcÓ¦MèÙ³'ä±|âÜúEŸöY)ëÚI[233±yófôèÑï;³#¿®Í?ÿ®†«ãË_úþýû×uw©H€H€H X¹r%F}\[¢6Ζ-[ül5BÕÖ§­hk4c÷îÝÖrmß¾½5„dæÓm¹jõ¥¬ÊHš†Å,_ë ÷÷Ì ìĨ4O_œT#F¶·:›&obD¶k×ÎÎzÊ“ŒdT¶wöYÚäì³ä»û#iN¬ÎþË/a*¾¶EóýÏØááŸÞÞr“¾»õ{ú-¿*B÷_ÛX½¼æÀ7Ë+E¤#  hz‚ÝÅvÛ7n{Áï&£ò2³ª6ŽÜEîÚµ«Õ|ñÅù߃ö¤É” ½íܦMk”¨°Ó—°û% UÆV9gš3¬ùΙ?gXóe$lêó=í‘4•wû-Z´@qq±-èMnµkŸÅØ':ÔiØ­Wãáäù2Ó+õišèpöY~=8Ûâ¬Ûò”ô¥áû/ªÇ[ -1›¸ IDAT @3 êû_óÄw†‹3Meœ¾È©Œ„ÅÆ;&˜ó;jÉ9ó&ë eÆP°` ê"]ì¬_õ ¬6ó(åÔ! ‹ÈÉÚO±úµ>·|}öÙÙm¯³ÿõÙa¥Lqc @à °ÿP>¾ÙtCû¶Gz›äZ5ª¾¾ëÅÆ;FësûvÑ&JÜag¼V=¬…°Ô¡õ¨¨¸æ©/2ÂÎ4·gž†ÕW}θ»| ø¢E‹0qâD_–XüâäyÖ¡œÖ£¾ÈºÃÎx(]’WXXˆU«VáðáÃHMMµ •Ù^u²žµW¯^ýNþ†m‡ðõÆýØ} EeHJ0 ŒÛ·Àˆþéè×£ÍwÒÍÂ$@$@$@Õ =Z‰¿µ¹%Xµ~n»âDD™ps—{¢66…»ü±Äõ9ÑÚ·/•hšÌ~êšCõ%OÃâ¿úê«0`®¾új_9-Ì×òn]áäe*÷õ×_ÇÓO?mÛ¶Õ¸¾`z5ÝÙgw›´­êkþC=„ýèG_Ót€To8_tª^õÝmQÝꫜø{÷îÅÿýßÿÙÍagœq.»ì2œuÖYvsÕŒ3ìÚÒ_|÷ßHVÚîP~~a)þõúJÌ]b Ù®­ð‹s‡ãvsñ‹ßÛÄ?ùr«Í¹š¹rlY¹+·d×Lü¥ò÷®Á¢%[Pî-Ÿ'ñ¥[}ñcTËb$@$@$Povîͱ†çˆéÈÍ/ÁÎ=95®;œ-âÌwÚΰÊ8ÓœaÍ_œ3î =çS…D©ÞžÖ:•JÚœ9spÍ5רJ^~ùeÜ}÷ÝHOOWq›îÔ¡aõUŸ¯@˜€ìß±c‡•zûí·qöÙg[CKô¨NÉÔ°øâ´õm¢ãMÒåU“>K±ßÿþ÷øãÿh5<üðÃÖ¿ãŽ;Ð¥KÈÑEZøÇÒQ¨:¬roÜ©Ov¯]tÑEv½Ê¨/FºŒÍG}dgaÏ9çŸ>Õ!²v×£:œ~~a þ9gFî„É£»Ù>i~|\4Z§&bÔÀX°b§‘[Ž«§FrbœŠñ‹ñÞ¨I¸éá/Qyû¸ 2ß=yÓ¬K0iæ¥Èª¼iFÝæY—šø%¾øw¯¡6J°lÎÓ˜»»J§¤8ñ²ë0¹‹¦˜6~ú<m™UÜ~øOpËU§ jÛÌtg,Æ¿ˆ YÆœ:3n¹#ÚFù.ß'ˆ,¼ûØ?sÞMøaĪd†H€H€µ["&:gNꋵ›Bâ=:Ë·ZÍœØ7êÙ%’vï½÷Bv«ÿæ7¿±§à¨œ”sÚ V?P¾3OëßÎ|:4ì, a§u«áW^yÅgxJÙÓN;Íît’2*£aÉ—°ês†5O}-£¾¿mÛ¶>ãVâb€Ê-eq*§zÔwÖ勌8IW§a§¬êßixj1@%ý½÷Þ³¨ÈiygY§n-+¾3]ÂZ^|gXeeÆsúôéÖð”Ýó×^{-.\hYÌ›7W]u•5srr¬îcá8õjØÙ†Páÿ~ô-F êˆôÖI˜·l>_µ ‡² °ç`®¯˜\¤mÓ1¸w;ˆ|M\Ü`Jœçø«šÈ‹LL‹ÖÀÐóbZšøÐ–ð;èöXW+SŽ5ï¼€Ù‹vVË©J¨ÀîÕß"cË!Șȫ4¯Ä¬©ð‰d.öž½Ï˜Ûgœ«_Ã=Ï{ Q+T¸|Èž-§à–__‹ð-ž¾û l7Flò½bâUd®Áû[2Ѿ5 OI€H AïìoÍßjYÚ–c}‰KzMȪ¼Ú%Î4 ÿûßÿ¶vÌI'„Ûn» YYY~6ˆÚ$êkyµS$î K\œúöûî• µpµ°(p:gáÿþ÷¿öv¯¦|òÉxþùçm¥RFtIyñÅiØ­SâªÃ :Þ¥‹¡uþùçãµ×^ƒy<¨-ûÎ;ïØÐ=zÕ%jéÓê$O^îöi¾–#ó‘Gq&ûÂ:ú¿ÿýϦiŸ%¢aÕ¯õù ;š§²š%éê|ðA:tÈÛ$?N9åÛ~‘:t(Ö®]«¢Ö—sNƒésêõ+älÙ•…<³Ædò˜îX½~¿M=ZqkÌ…Ÿ’‹mRÌQVrôU%ŠKË‘Ú"w†”“Ûñ Ý™uÑ0ë£ëÀ•cñ9—ãê?…‹'v ©/õÔ+ðëóúÉÅgïC³÷E¸é¬ˆÂÜ}ÑÜ÷Ê›X3ý 16bÆÂwq½qËÓÑÇL–ö¹å2,»ûE|üu&®:¡mØ|g¥{¿úÂÌœND?ç´ªS€a  z% k:ß[°É~ïjÅ•ö–»Lîˆd|™ý”;’QQU­S’âpæä¾ha|§“ïgçw½;¬öŸÚ â?ûì³v™£ÜÕýÅ/~a¾'Qª.õU—Ú’®iÒ&{ÔR¥YÀ*/qêÛˆ÷M ©Bõž³fͲ;äU^.añaÍ·õ™|uª;X¾è'¾TÎï'eÄݾ}» «§¯r¶€”qôÙÓžP†§êTX8ûì k›ªµÇ[·ä«s†ýÏËËÃo¼aÅ~ùË_B ÝÉ/e¤þn¸Á7n"غuk¿¸¯ÏŽñ×zÝþ×öcìó„(óC¢°Øs|B¹ù ¤&Çah¿öÖð”2åÆ m›–dn·ÇšÙ϶rµu™+_Ãe¦¹Påuó ‹à< +sÍk¸êäªüˆËf#ÏT²wé 8wXUúe÷¿ƒ+IÍäçfSf˜©#&&çúÉcÑ ¿öµ!"â2¼¶2Óו⽋ðës‡ùò/{aÍ[ó¸ZB7^nõÞ<{P²¹ùüåÓí¾ò6ìŠÂ=Xm–ñ ßמ׮ïPÈÁ·; _ˆÕK2ŒÁØôoKÛá85X½è[T„Í÷*µ^!–/È@ûÉ#ÀyO'†I€Hàû#ðåê kXÊw`L´yjyÉò¶>ÝZ¡owóåe\?ãK\ÒUFäÅ •ònç´'}ÿkšèp:¹{*ÆçäÉ“±`Á›¥ºÄôrÚ+ì¿'ùN5òÚ>¢P IC´"©Ufõdƒ‹3í³Ï>CÇŽíõ ËnðÙ³gHñr"¥Ís–×°ú"PTTd-îƒúérFœ¤¬ çwžßAò>yµé´¦•¦oÞöˆœèÔgI£2ØŒ§¯oÀÊ™zn»ý6{~§Õ-õ™RŸ»ÝZÞÙ k\| ˬ¦žYú“ŸüÄ÷øSÉ“MXrÛ]ÖÂ:ݘÑc<ú\ý7M²mrʺÃ{æáÄ‘]m²–ROÛVIö¢QÉèo> ­S°kÿ¤µLÀº­‡ÜªBÆ‹7ÌF»Q—`ê/aýuSP¸bF3 _ç~…Ïn ›?ô|úÍ•è†CØœ™ˆ£uOÆAL˜ù)›Ò{?þ&]~N¿ ÷Pg'`ÞÕ5n(þüÁBtßô4ιñ¼mäaäWþå"LºñmÜ÷öW¸rt"æ?y.Õ/­Ï5úR°üÙëðû·ÇaÉŽ¹hsxöƤÛ:ºO½3ð4–Üt3ž¾h»˜z¢óÑ¹ß ¥ªeƚΙÿ8î\߃ÆMħž€V^Œ…{Ö3“æ95AGµêˆöÆßºó0 =Êäözß~cŒ¢‡ö£Àxáò[ër7b‘©ìÜaž±Õdú$@$@ß.éž¿Ò%%å8÷ŒÁvRÇÝš¸Øh³Ùw„/9Ó,ƒ›ó¾çާ–÷ezj`Z;Dì¯maŒOØ›æ.'ñ7ÚI?Y^ùØcù&ÿÉŠ­#N}_}R‘qÑ’ •‹óFRÈk Øy#*'F¤†mÁ¼ÉqDb09Jjô+¡V±Wj˜Éc7es‘Æý ‰ˆ®õë×Û§Uñ°ðÕoû ]õö_šeÃêKžÌŽ_ ÏG}´šÊP <úˆ­ëöÛn·bÚoe.uùê6îþkžôIœÆ%,·ÛÕ©Ñ/ù¢£Gxæ™gr³O7PÒooºU¯Ó/(*µÇ)IšüêZg9§·N63ÐþÏ)ü½ÆP--­°SþR®6îÛÿeÄgà™‡.F/)xöíXòð‡wãSØ0ã)Úü©XøúC˜h×X÷òÈÑþ?¹ý_lf…[Mü1†#ðPa‘I©2úLÄëd®t*ÞÞñ>Îîfò§$aê³+òÅ›ñ'cx}x!~{öH+ñCaÁï߯¿>ÞlŒÏ‘(+úƤ·ÆÖ]¹f~XÙ¶š””nc0~ª™Qí1 cDZeM*λúoX¼DœlÖçöÍ/ÂMKÍšåçñÅÛ«ðë'®‚c¿Êd-€ÏyÂyGòMŠ˜¡¦W‰Î~ã±KÑ>Æ·–&\¾èÈÚ°ÌÌ*Ÿ€ª~@H: À÷G``¯vö™×>þ›½ ?šÒ£Íž‹`nź½øßüð¤ÃÍŒ¨gvÔ-ï³C¼v|÷[ÛÁ6Ϙáœlb2dn¿ýv?»Ä]NuKº¯^1´ŒóÛpäÌ”°=rð¹õMX  _|ñÅ «1ÈÛ¤I“0hÐ «Oäô¥˜ÄÕ—°<–IÓT'v8p`À"nýZ— KŸEÆöYûíõ²Ân'»ÁvîÜiw…¹óÄ@”rªOu‹¯mq–Ñ4Í_x;ã–gÏ«“Ç‚ªœú2VrÀ«û¥:UN}Iå’̺N9ÏS\¢Yè<À,xÞ’‘…"s Þ]¶{§T¤·MFlL¤1Xk³‘(ß|68g<<‹)<-JlifÍ Ç#e&¹ÉÇ0t ðP{ÛÝß ælÓ)¿œ 1ƒ»\c{NÇÄðô:ßl 7Þ£e’f¿ÆŸc&K?ûÆÞâŸtÛ7¸ïœy¸dRo$D Ã_>ólx3sŽðìùñ°r(ð ¶í3#Fœ€N¿Ýbc5l2m2.*Ús<&Þ±¶Æ»©c—6VFÞŠwôÖ%±x´‘JI™ïø¨pùf«Ö,ZøG£­¨ # h0Ä€¼þ’±èÞ1oÎ]W?Z°mÿ5é’/r"Ìð”Âò¯ßûê[»ÀØ:ê¬Ä‘xúé§ÛõŸÎ¥~RÖù»Gœµ«¼§„Õù=áHÅw*‘°}4åD¡Tü·¿ýÍïÖûÔ©S!gIÆÇW}™;õI'µ¡Ît­K}ý“xll,~úÓŸú ]¿™Y“_T\„7ß|Óžc)òbxÊ­f™ Ô6«/ùvúZ—í[€|+ìM·zdšÐåäˆ)Y*¾lr:çéþÎtgØÝ>m“¤;_¶¦ù2x;Ìybú4…d³¹O׬ÞhŒÂ¼b3VQÚ§=Z˜5 rë}`϶XòõntjÀJ ZS L0Ó†3¿6‡ÿÈ|¡Ç••ì1NHŒ1ùCL>¾Æ!3AÙKD¬x ®w9rÍleÙíÍìßœanuûæEÈå‹©X5/ê1ý<22/š«;ÇmÒ|ý¶Ù ÿðO»Ò†à·oUâ¦Ì xþ—pã)·â¤¢·0Ò{ùv.Rõ¨ úžØ¾•Í+È“æ-×µº˜Ð7à¼>=l^ÉõÆüFuÙh¤Ëàmûù¨®ÀÎ|ÆŸh™›œBç{ËTìÂ[€‰gë¼­ê¢O$@$ÐÈ2·Ÿ›s´þ×ç(ôN¹ÛUhî0¦$yäÔžqËh\l1•qÚšÊïׯŸ=Ó\–Q: ×`eD¿Ú›ÖvÑÙUSÀÞ3%ªH}Uf ›ˆøjÉŠQõãÿØ Ú Ycx饗"77×>³\ž[î|©!&zÜ/©ËYÖ-¾´GŒV;“WQîó ìzPyp½81<å`õnݺùúª)#ºÕw†ƒ•«8ZõUo š7©WÊÊ|·“t·.w\Êhš†z$OÓeð4ŸYë)î¹çžÃ§Ÿ~êë·Ô«uòÉ'¸õÖ[í"aY««u‰¯2*o•yÖ/KטVo{D,*Ê\>Þ¸Üf_±n6›ÝíâDN䇙'ÕÆõ6݈?'Ì&£ìâbì\9—ß8¸ór 1†ÝÀ³ÿŸÉŸ‡q×þ+wf"sç|øáJsëØ;ÓX’ƒ™;ñ΄±q$ÇÓžÚ´ñCpÃ}C1Ïlš½r§Y[›‰EO™6%Wš„ÆÒÅ"³ôdц½ˆIk¾‡š´ïúˤ˜‰Úof¾ˆ•™y(–»åYXüîX¼YÛRÌŒ d™sSKJ2±àõ÷Э‹ÇETœub*¼ÿo,Þg6nÇ«Ob¬ä)8±‡,ìŒÂ¨aš1/~ºÙÄÍ“.æü ËLèÜS¤-áòˆq…ÛV!ع#zzfZ=©|' hH.@žypË ³‰Wœ|¿ÊSõûXv¿ç”BäB9§=!ßûâôûßi¸uÈåI±ó&L˜`ŸÙî,ç´+œaÑ#v‹ÏvñÚ0’- Ô€Ô°*U_ÕiãÅ<÷Üs­1sÝu×Yþüù'ê¼ð *^#_êÑK[´waÍyÙé-Ç,Iš¼ä)CbxJ»$.Nõ8} Kyq"'a•×vh¾ óJ6Tž¨•¶hÛ4.mÑ6J_BéøÕ¯~…?þØ.øùÏn§ÁÅ íСƒ}ê‘E%c!:dù‚Ì"»õiýêë®—$Ç7,X¾SOðÌÆ‰¬Ìt1OYð¸DGzØ‹œÈ×ö˜¥´‘WaýÛG0Àl2zârVÙ|tð¾“m$¥ÿÅØ±0gO2›…fÍôœó3{™’G5V¶¼8yEåóÌ®'d›¥Áê®(ÉÅs_¿ÂÌR¶0ëwã‚€¹fq‘iÕÖÈhaEa©@R«¶h@ x~&žºÆXé—ßgÏ  šI$@$@ €À_f-±û'&Œè‚×?1ÇéUTbìÐÎXúÍncEàüSbñª ³/£7\:.h‹e²JƒÎÉ‘’rjÎÌ™3Ñ·o_ktÖľrë eã}¼¦*qVÈøKXnÁ‹xß}÷AÖÈ,›”sË;ÓD¿æ;ër¦iX|qbAKXΫ”݇¶«Ëã,5OëPN_û¢¾3Ï–¯ípʆ ;Û£a§~M=–¯}Ô_RF6qÍ;øÃìºN=~Iòbbb Ô¼çž{––æ›vê9qÒ<9Uïò¨Ì«§Á+¬5çˆÀ¸a]ìçÂâRËÿ¨9à汚ñq1VNÖª³‹Ž7m¼~Øê ’/F¢Vj WÓíïäüô¹4EÇý¾Ê\™¡òŒh”™y5öbX×Âü(óÌÈJl…!îšÍ/ÜÃæ–ûYƒkЈÀU3•H€Hà8(/?ŠævzË”rÌz÷Èþ‹é?lg=fpGÌùp­Mo™bîBÚ'åÉ9èfI\W“ïú;ï¼ÓÚZbkè¤Ûs«½*#yn{É`J©J¥;ªaõUR(³²ÙGòd}§8•S_n÷WFÈ›§¤†%_eÔXÞ«S7Iç¤n-ãö=µø¿«ŒjULòƒÉJw‚UZ)!Û·À´q½Ð¿gÕŽìÚè¦l=H‚_ÿcH=VȪH€H€jK@ ÉñÃ:Cî0NÝÍ|Çö4“}ã²uj"®º`4æ.Ù†åköX¹p†§ÓžÖµœùZN}gž†yVßÚž7+tæS ÈK (‘V«ÖmÑJžn(R+ïÝÙdåž’ L1¶Œ^MÓzD^ÓÅäT·øjtjZ8yÉW½ê»ËHº¼œ}vÊH]r¬‘¿âDV6U©Ó<Õ_Zbò<“¶FØHIØ,75µh–]ü⤜öGÂòr¶EóÄwÊ‹Œ¡²ë~øðá6Oߤ}*¯iÎz4ÍY¦…òÅÀ¤‘ŠóH€H€Hà»3>åȉ!zÚ‰½í+P¾;­¶ßõZÞmhz ßÚÆ®_ͱ{œõ±3Ÿjœ81°Äp±…½Ú5¬¾»RÑ#S}²;^ÓDÖ•ä2°4_uªoå>‰«>é„ WÙn¾Ž’ײªS d5Éê³È©=%%º¹FS«|å¥íµõë1gÿ¥-"'/mŸhÒ°³->}ÞïO(&NcÖÉßÖVzBš§¾;Ÿq   ¦C@¾ïå%NmŸ}áµµ4ßÝkMWßïÖWZVj—cª}âÎ7êö?¢PÃâË’Gޱú%O+T_24¬ùnß)ã ’“|©W}gØ&š7í„øò϶×ë’w¦IXžO*ý’°¼¤êKØÙg©SÒÔw†mb€|‘q¾´l ù¬¬,{Ž©æ‰/mQ_Ú"ÇV‰SbÌKX|=öJ}•S_ä4lÞôø*@ŒI$@$@$@œ€ÚÒ ç÷¿3¬]T›@|g8X¾Ê©Ÿmm©SëU_tØûÇ2eÓe$›zt{} 9Q¢ 5_}Ís6ÜÖr*§åjìË\¢tÌûÏê1auª_Ú/ Ę–cˆÔi¾Öçì³s̓S.XYÕ¡¾Ê‰ïì³èÃS am‹–qúéééöð|‘ Êßc_ÚÞÜ:a¡Nô©“°¶CÒ$ìÎWYú$@$@$@M‹€ÚN[@zè´$(_dÜ/wYÉGì-§#rnaŽªtW¬Bb Ë!îr;Y 5XÜ SyÑ£2’¦a•wçk¹`~¸òáòU¯ìÄ—§%É‘C²\~mõ¹åÝqw}î|wÿÜòî|wyw<\ùpùµÕç–wÇÝõ¹óÝýsË»óÝåÝñpåÃå×VŸ[Þw×çÎw÷Ï-ïÎw—wÇÕ—_[}nywÜ]Ÿ;ßÝ?·¼;ß]ÞW>\~mõ¹åÝqw}î|wÿÜòî|wyw<\ùpùµÕç–wÇÝõ¹óµb×ÔÄÞ²ç|J!qá”»+ ×ÆÔ•þ†®ÏÍ£¡··®ÛÇþû¨k¾ ]Ÿï«ÿú®_ØÿÐ?îÝüÃÅëš§»¾ºÖßÐõ±ÿþúxÕuûü{Ï¿áøF˜ƒD½7lÝèªÇÃ)«^"\нR½ÞÖpÍšT÷í ÝÞº¯ýçøë5/מ†yý‡þ$zrëþóºÖº¯Ÿÿªk^Øóú÷|òóú“èÉ­ûÏcèZë¾¾æýù êÜ3nØ"ç”×°úª§v¾³~Ñoþy?{êwê®I{òáÂ5Ñç쫆Õ§?p>û¯\dÜ9þ¼þùù÷|"ø÷ϦWÿN¨_“¿×*[¿&úœë5¬~Mê¨.ÿÿÊ„ÿ›×÷_ÄöíÛƒþÌrÿñs8õ¢©+_6ËØ]ìÞ™P ‹ÿ}8ößÿ?Ç¿êt„ãq=òúçç_ÿæÉõ¥aþýãßÿãñ÷&œN~ÿñûO¿óíß#óë@¯‰p×NMòƒžó©•9}wX"¾uò7B‚ú·BÃU?î‘ IDATH€êÏzCÍŠH€H€H€H€h|ò    ¨74>ë 5+"    ñÉk€H€H€H€H ÞÐø¬7Ô¬ˆH€H€H€H€Æ'¯    z#@ã³ÞP³"    Ÿ¼H€H€H€H€êÏzCÍŠH€H€H€H€h|ò    ¨74>ë 5+"    ñÉk€H€H€H€H ÞÐø¬7Ô¬ˆH€H€H€H€Æ'¯    z#@ã³ÞP³"    Ÿ¼H€H€H€H€êÏzCÍŠH€H€H€H€h|ò    ¨74>ë 5+"    ñÉk€H€H€H€H ÞÐø¬7Ô¬ˆH€H€H€H€Æ'¯    z#@ã³ÞP³"    Ÿ¼H€H€H€H€êÏzCÍŠH€H€H€H€h|ò    ¨74>ë 5+"    ñÉk€H€H€H€H ÞD×[Mµ¬hÛ¶mµ,Aq    !гgÏ ‚3Ÿ vhØ0   hzh|6½1eH€H€H€H Á ñÙ`‡† #   ¦G€ÆgÓSöˆH€H€H€,»á(±Q£FJf 4[_}õU£ê;g>Õp±±$@$@$@$и ÐølÜãÇÖ“ @£"@ã³Q K$@$@$@›ÏÆ=~l= 4*4>Õp±±$@$@$@$и ÐølÜãÇÖ“ @£"@ã³Q K$@$@$@›ÏÆ=~l= 4*4>Õp±±$@$@$@$и ÐølÜãÇÖ“ @£"@ã³Q K$@$@$@›ÏÆ=~l= 4*4>Õp±±$@$@$@$и ÐølÜãÇÖ“ @£"@ã³Q K$@$@$@›@tãn~ý¶¾¼0«·AAy) ‹Ë_\Šü¢RäU ¤°û”bÚ§âôN1õÛ°0µ…owNÿñ$Lk`íÓ-f“ 4B4>k1hÅ;×âº9{C–è[Xfò–ñYÓvOk`í š™$@$@$@’@Ó6>Kã©Y_!Qu28EÅGñ‹É}‘¹fÞË*¯õ¡$¹Û`ü霶øfÃf<¿±°>ªd$@$@$@$@Ó6>Ë 0w[¶1>ëÎõ=õDüöÔaÿÊ{¸km#1äÓ0~Œ¼ú£ÿ+ïbfciwÝ 5‘ 4MÛøLìŠg¦b×îý˜óÁ𠳕q¸gÆÉ“È s å%GQTR€¯—­Ãcks U$FJ¡7¬Ÿéh#lw€A` @#$дO3 ñ)-Ðw@ ü¶W<¾¹ï˳ QèÞmbÝ£×}{vŨEóqñGÜ™ˆNJ6iÕÓ« 6°„è–-M‹5°V±9$@$@$@Í…@ó9j)¶ &V30½ÃbùfωSððà¸ær=°Ÿ$@$@$@$p\ 4ãÓl:j-“•Çà&Ÿ7#¡‹ øhò·Ýý»[‹Xi.,Í@RÏÝ)7Ö}]„þißñ¥ÒdìÏÆî¹8hÎ µ.: ©É‰èÐ*];µ@| ›™sè Ögä 'ÿ(`F2&:mZ§¢szk´‰ËÅÜňéÔ “{ÖÖê>ŠâÒŠ ­ˆŽŠi²Ï•WEy…Y+[^fÊEY‰éWb2:¤xXåçƆ}H0m,ŠJÁðžiÒ\:   fH€6@AÏߺ3?Ê@êˆ|x~Wô8/L "\ƒäü»ðÒ{_ãùmávÈÇáâÓÆàÚ‰‚hë×ቷ×â‹üðw‘ZkãsÝ;ïáÊe!Ú™Ü ÿ{WšƒT”#'@3ºœ0¯ž‡çŸ[€§¶•øK¤÷›×FÿTÆH€H€H€šŸù(>]è9 )=Æ1ÅP6|â:³iéJצ¥Ôž½ð‡i=P´õ[Üü©óàúÌþèsl(> ?µS5å+Þy×¹ Ãþ=»ãÒ1íÍ>¢˜õélð+å]õK iÑ¥FnÙ•Y.£Ñ‹Æ´iˆ*Ï2±À†§ˆelY‡[ï;„/Jm!ÿ·ý[ñè¼xljkÿtÆH€H€H€š<Ÿf~1ƵŸhÓ¢…ø½Çöüî@ÞÜë2óÕ¥¢ÖÏ2†§_‚d×<“@ãÓŸ c$@$@$Ðô ÐøD.ž{u)úšã/K ‹°aǬ¬Áíìš^ùû8Þ Ø˜)·µñi\ÿþé€Ëø4­Á7û ñiæu;6Ô`•ŸèÞŸŒs.;¥O¾…Çö±Ø¨ ·ï«”¸CùxéÉ*ÃóÌSÆã¶©]«¯Ems¦Á›÷™™Z· ŸvÊd<0)·Þ3¯º!ÓŒöº`Ã$  h®h˜‘ÿbí<¿lf¯­[ÃS.ªäôöèàêJJpÞξ¹§ªh v©ŠùB—âþOvàßíí8\pÑH¾Ùä®I Ï?ùþj ×4¹!c/ä¬@jzüáÒqZÃÉí#{ð—?,Ål‡¼òÓEX0â\L®Í‚Qm¯¯™‘öé˜;){ Ì‘Pf’·kW]7ªÂôI€H€H€š Ÿb̉¡äX:™Üu(è·wmôYPup=ƒsͼ½x^ÏqŒQˆšM‰‘‹?ÇÊ2š•³?W?š‹ÏùnãY[ªyüç__ ¹3Ÿ[o]³ÙÓ4)95 }ňUôI€H€H€šN‹5‰¾ÖªãÆu¶òûËj²3´ê}ëWá‚»ÞÂÏæ¬õ3¼j,™Ûâåå×rª¬Ç?Šœœ\§÷Å ¿;LîˆþŽÙZYg¬³ïs& O›< —ë2T—Äæöû¾ƒëÒÇ( @ó%@ã3ØØG%c´9ërP›cÛpãQ[†Þß †D\wz¯é!’ wã¢G?Àÿ±åQ-0íÔ‰xáî ðáõSñÀ)Ý1²¶OÐtUÕ«__\uÅØ€;óe]ÂïžZ‚ð&¬K)£$@$@$@$à"@ãÓ¤N£¥‡±DŽ,r»äèï8Ÿ(Úù t·¬ÆLO ï_‹7듇"‘Ú¾9X~,þ~Çt¼ùóAŒGUÜ/-)6Ïcœd¦·4w¾¿'¸æ @ 4#ã³{;¹«ØT è–uFÃyNg•¶Ø(GzyWeU…òwc‰ã4§ 3«ò¡X{ü‘#Á|êß °:Àž¥}†âÁ -ªhâ=öÈä3tµÝÆœˆ[»TSa6˜ÍN¯îq?®ÓÑ_g±šÔNy†I€H€H€šfb|ŶUf³OÀ¥•%xü­uØWX»5»öxÃt]&sæo©::)±%F\—Y‚»žxOÍ[…Gž|W/ÈviñDߟ¿Þ´«,ÀáJÙ¸ú¡°à€Î€jñ2¬¯¶“>?Qu¦æÖ †îÚ ¼õÄà‚éÁn¿ýcVäT Å™‡±M«wøVlÀº²C„A   fH "++«²!ö{Û¶ê&ͨQ£j×ÔÒƒ¸ëñE˜›_Ó#“âpëŒÓqA×àë<·}¹3?É@F@C¶ªygž6¿ØÛ}Œ‹? l\VI‡ ¥áÙ;áo¨~ÌÒÈ~½pÞèhƒ,\ø-fgø¤—O?W Iƶ/™vï ÓîhœÚDÜfÚ½iÞÇøÙ§!ÚƒŽ1G±7Ì´qjrN™<·¯2€Ãõ–ù$@$@$@5'ðÕW_UîÙÓ.Ö«–Þšø9ŸeȪ±á)ÃQ‚Ò0vjQþ‘0œgX·æyf{Nœ†'‹çẎû쎑?ñ„øíÙ}Q¾f1~4'ÑãÆÆ"¦¢ž›óѸxB¬\œaŸ§¾rãVÈËíú÷쎛Ήám<·Ü‹²ókÐîrl/öÌ÷:çÃ9ðl±©­¼ {ð’6åä—`]víf•Ý}aœH€H€H éhÚ3Ÿ hœÊó²±zK&r¬Á…ÔÔôîÖ©ÎÛò¥…Ø´ó våÈ´j’’ãѹCtI•™Ø2sÔR‘Ù鞀6v çQ:”û#ÓÜ/•G™“òÛµIE£·Mb3YQрƘM!  ïƒg>¿ê Îè”4stS˜' Å&¢oŸîè°?1Æ`­Ú8D¢M›ÖöPœ‰$@$@$@$Ð pz¬ ›D$@$@$@M•Ϧ:²ì 4@4>à °I$@$@$@$ÐT Ðølª#Ë~‘ @$@ã³ ›D$@$@$@M•@“>ç3;;Ä!éMuDÙ/   FM --Ìé8ºwr^ Ô&=󙜜\OY @Mpæ³&”(C$@$@$@$P'h|Ö F*!   ¨ Ÿ5¡D    :!@ã³N0R @MÐø¬ %Ê 4zå‡wâ¡g—bSiÃèJyi9ÊFSêµ4>ë7+#  ø¾ggâƒÝ™È­ø¾Z਷t/.ûý;øç–"GbóÒølãÌ^’ DyÌžX‰â:š¬•ž¨($™v¤DŸZÓô£MúœÏ¦?|ì! À±8´e=îxi=6ZQ˜þà ¸nl[“¼ß½º«Í-úñÃz£O‘yjâÀaøå°ÔjÕÓS¼w®{ù f^úˆÅ[‘…'ÿ¶ Îޝ/¶õnüχHþÙ©8¿G\5½M53ŸMudÙ/    Š÷®Çṿo_Fg<+Žz N§ï&(gRSÓølê#Ìþ‘ T#лo; ;þþÅ^W”cóW_á ³§èô»£OÖft;7y9yYxùÙùøÌhðÍZ:´…ÒÓ2.ÞH–b΢ÝÈ)ÊÁËÿ^†ÝZÖ{ÜÓî]‡‘ï kVS÷}ËšzGÙ?   æM :ZÌÏ4d›acðPÆ<üzî³ÎÓÃeø¨¸eT Äã$<™ó9®3y˜¼–í[›õ™‡Ñ©­¹-ïr¡õôÇoúîÀƒŸ/ÃgŸWé±*Òp¶Ycú÷ùKŒþÓqKÿ—æ¦ÈÊʪlˆÝÛ¶m[µf5ªZZ¨„²²æ·Ž"æ‘ ø(ÎËÅ¡¢£ˆŽMFzªgN.gïN,ʈÁÔ±=kB+2qý‹Ðï’Óq]ïÀFb =ZS~NÊ£¢‘šâ>Né(òMÝñ Ñæ}•‹‰©Ýî÷¯Ì¬­ÛõìÙÓÔ`âξ6˜F±!$@$@$@$P×&þîZ©üã‡þâ«_úsü“ê,¶èžóêLWCWD㳡ÛG$@$@$P'jnà•ãÛ¥kðÏwaµYÙ²}ƒ€a2 @ÝhÒ·Ýk»[¬îñR# €“g>4&   8®h|W¼TN$@$@$@$à$@ãÓIƒa    ãJ€ÆçqÅKå$@$@$@$@N4>4&   8®h|W¼TN$@$@$@$à$@ãÓIƒa    ãJ€ÆçqÅKå$@$@$@$@N4>4&   8®h|W¼TN$@$@$@$à$@ãÓIƒa    ãJ I?ÛýÕÇ•“ @]¸`t—ºVÙ ô5iãSH÷îØºAgcH€H€H€H -{Ëj2é¼íÞd†’!   †O€ÆgÃ#¶H€H€H€š ŸMf(Ù   høh|6ü1b I€H€H€H É ñÙd†’!   †O€ÆgÃ#¶H€H€H€š ŸMf(Ù   høh|6ü1b I€H€H€H É ñÙd†’i²Êó‘{$%åM¶‡ì @3"@ãùxçú$Œì”„ÇÞÛXmèK¶¼h󜳮Z^cH(<’‰ÌÃù¡©lc¹k^Äôní1e`'ü盜®¤’u¸Ë\Ë7¿¸Ú“ᎻÄR´®®Õ-/N7ŸÙ+±¾¸!õŽm! P4> ‰²Ž—fÜ„UGǯ(/µÃùeþ"–·ÏïŽÓ†þ¹¢½l¤?b,›u56›Ä3®'uKöÏ+ƒ\Î%šéŽkzCóëúZÍGyECë#ÛC$@$ h|1¾ka!®|è-ø¾·}é5¤®¦íR×X»ÐÌÛ]˜).Âÿ»ãZ hÝ„iÔýµÚ”i5á ]#hh|úy¦ 0‘Y—à•¥öß—(°cþ³¸eÚX{K~ú×ãõùëà™hÉĸwýá-ßlcÉŽOðàõWâÉ{e€Â-oáÁ+®ÄÜ-Áo‰¯Ã´¨xþ=óJ¼üñb,ŸsfLó,˜1óY쓵åxýÞ«ðÒG&¼x6î¿þ,ßµ/K™ù˱üÅ™žå¿¹wÝûwO_G÷™²WâÁ?½…B_šޱoÅû0÷Ù™¾6N¿`:ž™3ßÇG4îYŒ'¯?ݶI–@̘ù'l9|‘cHùâø÷õÓñï·‰j¯+Æò¿›qùÓ{Ž>å`±i—Ôg_\‰×¿Øè# \>rŒLÍ!Û2ß´÷Ù{p¯ŒÖâ_3Íøm[SÃ~I™@.sÿdÔx¼ŠËñŒ©{ÁÊÕøàOWzYÅc/Îwp”ºòí55]YN›n®MýLxÚ”E kuçžy8¾:FÓÍgqú´ÓñäœO°'/Pß™F$@$ÐPÐøÔ‘8ïrÜöÏçmìÏç=ŠŒàvÖ<;ç]ræ¯o…K®¿-?z^rn{v¹)Ÿ€²MÏáý¿>…‡=Ê÷-}¯¿ñ ž»ãmìõÖ·õã§ðúG¯ &!Þ›âï…®ÃÈVäbó¬WðÈå§âª[\dç³nÀ™7ÿ×ÌÞ–!kÝZ{ËXˆÍë7àH~.–K™K¦àª;ž´Ææýï?s¯¯2‚K6ÌŃϘ6Ir͘KßòñÁm½qûÝObE×+pͯ ¯ÅÿÃ?n9¿²¼L3/ÆM'œŠçÞXˆó¯¿ W\: +fÝ… ÞŒÆ!œ|E¾~ãø"ùؠ»æ™qY¼•9f­o'\gÚ… ¦]×_aŒôWðà…#ñß•²¶2\>Â\5èWÈ~”ãЦùF‰Çmžµ ‡ŽäÕ _Z"ŸŒ˜#†AÇ(9¸ÿ˜õ(n>ëDüæÑµ¸â7w™ël-^ºãLœtï{^CÝŒñõíí5µÙ°¼QdÖÿÏ\›'àš¿/ö4$d_\«f•KØÏ€1x?ðŽáfóYìc~<>w˹¸ùÁÿ™:k²D!#¦‘ o4>•ðþ<´ê}!žº~°Iy÷?-†duWqà=üünóåvÚ#xoç¸õއñôÖ•¸b0ÿîG±¦ c.ºÎ\ˆo·È j1Ö¯|Å«h>6îÓ'+¡…`h§ê7Ã×aTD™Y5«uþ¸`žþë³xüËp‰¤­ßƒÜèžøå« pïi&>á/øÏÜ9˜Ö3‰¶Ì`ÜøÒJ,ßS€ÿûå_lÊç®°¾¼}ûÙlþÍE㥇;†¾¬Ç oç=/Ÿû+~y³áµg%Î7I+>\ng?K²wCj?ãé øÍw⺇?ÀcÏáK‡Ql¬ +ïßh-†˜ ÆAˆg¯|÷J»Ì8~úªi×ÅçŸþSðÈ;ËÃæ×dŒÂµ3t>púÃ:~3ðŸ=àôžÑ³t¼9ûåHŒÆ˜ók3ÞFEŒ.ؘ„'—}뮽Ó\g+=×Ù3bÞŽbä®ü~cXöùåó˜oXþ\d6-ÃÆ\ñ੘kf1Cöus»j×êÔ„OÃ|΀Ü5žzqÚ_ð‘ù,>ð×0ÿâíyÕ© ˜D$@$ð= ñé€/·ÍÇÜôÎ0þЧ`îcª¸lÃíóÅb1†ÒÔ1ˆ?²ûöd ³ FN˜dRÿ‡µÛrÐaØ4ûøÅW;LÚ^|1Ëx$-¾^g Ò‚Íx=0ú§S‘fRÝ®&uh™>¿š‰i½S=Ñønè#Ææú%Øo7Q•›ùOÓu¬Ö`=ïV\:¥Ÿ5,‡Lµ†ÄæG?ðÎönÃgÿ„þÉÞÒU^­û–4Ï»Ý5¹{¶aËšåXüæûøÆªô‚åžû¤ïÿéWø÷œ÷°~Ë>´;ÿOX¹ç.R½ µ•¯j}Uhÿª%6rÛÍ?óAbÿ ðÿÙ»¸¨ª¼à? ÐAQÑ”L5ÍRjµ,íEí75Kq7r¶Ý'µ­Ì¶Ü}´ruÛ'ñq}„žV·ÔgK+±m3--Ó J¬¤|%Œ!dŒçœ{çÎ;Ì ‚\f~·Ì{Ï=ç¾gŒ?ç¾°fÍ,»k ¼í÷eŒ¼Åém¿¸vÂmüì=hÚš¿ã­µrÍçãzí¥ð+ðÀÏ(»ÊLfù‘²>-õ.DitŒ”ßÉ_ įZ'Í𷯾ø–~¥¶»xÞ¯cýw•pzð*- ¾R€ €\R+Fx¡C Œ™¯=…wïyÏ}ï<©L—Ù¢m§Î>½ûÄ(¼û„m³må¬Ìöz\ñbÖ'k[ŽßÚïŠM^¼'ÿÉÿS»íWN‡ÿqD?ÛqŽ+>µa= ¶›5ñt¬@¬k«ÝL¥½—ÅFýb€ÃŒf_Ü:ÿ¬§Ÿ?;ð,z…~‚5²Ìü_¢§,ìºøÝ73¾ÛøgµÕ®˜GPñ“¸¤$Üþ¿”ã{Ôë=ÏTŠ›‡,ýê«/ÿŽ}'‚ûŧ-è§ÍÊŠ-¦Ó%â»s²,6p¡(@ð´»ÇÇ8q3Å5bßïÉSÐö¥Û@u6§¦* 1±}Ñ;Ný:ºþQLûXŸ?âq¸±æyq½çÝw §ø™7\̪íûþçÅíâú¸±èmÿ9mo@¬ùÚ†ÓA^Þ4p¤rÔÅq#0ózyÍêí"QÉçõÅ/~˜»VíOßJ÷‹ë ÄòØ‚¹¸iØ`ôìƒÐÓyÊe0´Sf`÷ýóNqõ0Xb—0 ãfü'rþ)ç_ÒÓ•Ê«ã7¯å­Ïw,>uÆvXuá[ø«š )ÛB;vW^÷|#ëR¼)wÞ‚_¯þ Þöû2FÞâô¶_ ËöêC¿leYñw¼eUï¾÷±ÃÓ ÌødåcJ íÂBÚNþõ5>ÍûAÙ¦~;ƒ‚ÅgW¡WŽð§¯ò³ê‹¯¡£Úî_9´kþ ¯*—8„ÂU P€Е“φ†£ë(<½ì·½1æ(×H¾ûÄ<»|ö~Ž×ÿ2¿ÿïíâæ•t\ÑU=$²ß/”›jä»ñ¿ªÜ5“põfàÆQCN};7ãkÎG©ïl±Öur‚jg^|iŽVZ³·c0zª½¯ïÛ輑?}ë~¥¸þ@,—|´[^ïù¦þbšzþŸ¡àHb‡Ü*J|¿™ƒ{¿Ã‘½ïãŸK³•ãŒW^ª¼:~óZþâ0åÆªýÏߎg_z_ŠÇbÍ“©V!NõË[¾ân¡\Û»&=çùò“Wð”ˆK.M¼Öë~_ÆÈ[œÞöËX´ñ”ëð¡_J9¯ßüo¥º÷ƃ~ {÷îáú¥rƒ‘¼‘íq]pÜ™% ­IS-øJ”¹O½¡+u.n¿ÈøÔW‡ÏªyÐ$¯ÿÎâÆf*¿ *cøÊûâÆ¾÷ñ·é#”Ë\dÌrœ¹P€ €þ˜{Ó_ -‘ó¥Js½9½õüõ= ²£õŠ4qù¬‚ÌQXóì4¼þ¬5²ÛžÁÿ=Þ´…ÆãqãÃë/~_\ÛG-ÔU\ *f³vÞC<^Q©–ó± åªÃvÖö•—PDÆÈ•ŽˆP¦:;"éþß‹äsþ1o ƒ?Pïvw:F=¾÷ȉâù?Ä]çw`ü }Õ }÷£oQƒD¢’úO<+×óÞóJãÿ¸÷”®sú2Þüòg§añ£»ðøóËðû±Ël­Žÿã<8ÊÝ)j¨·ò=ñ‡·V`ÿ™x}Þ=x]ÔØ?UÌL—=¯\Ϫ|è;\'?ÙŒ˜€5âñ<ê<«¸â¿>ÄÝ ÅÞöwöþ9ðg{xëG";ˆP´3Üâzd¯ýWNÊCìÏÈr}/w~·zö¿ø0~ý¢õ¸ŒbÍÿZ?ï⦲?ôþ|Ó=N–ýSW`Ù³”_²¼œ?«CнûvºÏ°Ž™&ýdCñȱ‰·‰Ç„½×ÝúoÀ/_(@ P@7!åååõº‰Æ!C‡®îHJJr(á}uÝGѯWWï›T‚ŠâPU†pC4bºÊS€Í½4Oµ?U‰ç1ŠÄÔvm£‡8O¿)Æ ØÿàkøüÏ·78+ëáHŸ6Už<ŠÅ5±£cÝ)\cAåé „vˆF¤õ:ÁÚÓGq¼LÜ/²Ã1}£”k¸z¯å*Ãñ3„†3*N–‰b…¢C§ž÷Ƹ,Þö{#oqzÛïxZ‚/ýr;Êyƒã]]ønó0Æÿ×gâÚÛ>8~D\óa@wqù„û¥Ub1jÅ”ãņèÝC&ñ΋·¾ºV½ûÂrÇ•Ãî±=íy·sÓ|G P M(9É×ôö+Ö¼¼<·ò}ûz™Hr;âÂmàÌg“­C-®ùôô¨¤&Wév`ó´Ñ¾C#‰±¹ GŽ•¢`õSÊ©ð?§ŽñT¸æ÷†¨½í³ÂÊÑ¡ˆêªLÓÚêjßµ7âüø]Ákù1è©LÚšð°Žh[Ë·ýÞÇÈ[œÞö»ÅæS¿ÜŽR74q¼««äÑ3®‘Ï’²ßåæ0—0¼õÕý³êÝ¡E\KÓ|K P€:`ò©“h­0ª¿ý_Ü}ç3jó©kp[?·©¿Ö í¶€€ßã]W«DQ\ëtõi DÆ*)@ P X˜|ËH7ÐÏÈ+îÇ?߸Nœ²ŒÁCó”eN²ÙßñŽ4o|pÚ÷Œöƒ ZY€Ég+@«7ß¡'†¹ßÔÓêq1€–ðw¼Å)í¸<¥Ý2ƒÁZ)@ §ÀEÁÙmöš (@ P 5˜|¶†:Û¤(@ P€A*Àä3HžÝ¦(@ P€­!Àä³5ÔÙ&(@ P€R&ŸA:ðì6(@ P€h &Ÿ­¡Î6)@ P€ @ 0ù Òg·)@ P€ @küs>åßHåB P€ ( €N>'_ÓØßìÖÇ0 P€ (L<íL£Í¾R€ (@V`òÙÊÀæ)@ P€ @0 0ù ¦Ñf_)@ P€ @+ 0ùlå`ó (@ P ˜˜|Óh³¯ (@ P •˜|¶ò°y P€ (LL>ƒi´ÙW P€ (ÐÊL>[yØ<(@ P€&&ŸÁ4Úì+(@ P€he&Ÿ­<lž (@ ““Ï`mö• (@ ´²“ÏV6O P€ ‚I€Ég06ûJ P€ ZY€Ég+›§(@ P€Á$Àä3˜F›}¥(@ P€­,ÚÊí·`ónÝ‚ïÏí<µrö,¢߈a}j°ùµã.Áí÷ŒEŒ'Kv¼û)*ÚõÀ7C´§2žÚà6 P€ (@'N£jðïÙã0³À©¿NoŒówaÏ,`δ4ÀˆíwŠäÓ`ÂÚÙ)˜¶5 ë^ý& jáO))؆dìªÜŠa§jø† (@ PÀGN>¸IéH‰n‘ÕØ³$G$rIFú¬DàÔ)Ä_Û  ÅìEóqñ¸,BîÀÙâ¤HZO×É÷b C¬²…0å•ß(@ P€ š"Àɧw=»3VÉg.²" Ù v+óAÔž©AM„8?o.Áúå˰᰺;sæ\ô_¹£{Ø‹kkæ’ÝXúŸ 1'GTj í¤ßàÉǦ¢˜(•‹©(Ÿì+E»èþ9, ­v˜ß)@ P€ €ArÑ6…)DjÖ%PÝØ´p!ÎÛ€5'°|ÎBäj§ê·-Á'jÜËv`|ìp5ñ”{ ¶!gÞ4Ä [Œkéý¹bܸq“þLî5p (@ P€J I>[q]»„3,|(¶Ö—bEŠZ~Ñöb<>,Úíàüÿû›z ?% GêêQwä(‡ÌÁúü ¥|d·þÊ«qx7Îzº r(@ P€Á*À³Án#ŽöÖmá´´Ô± [Å©v¹äÎÄS¿û‘8 ëlýø0S³Q/¾¸P€ (@ ؘ|Ú-<¬Y: c&Oô´i8Y§N&ï§äGŽƒái¹¼áÈÁ˜« (@ ·@Ð%Ÿ†¨†žÔi°>Ã3ýÇZï8*XÂSާÞÕ2ÑCƾÜEâ±ôbþ37«•ˆ&cå®bÜÕGM>âÔ'ƒâò(Îz÷¿1öž (@òòòz‡÷ºY=tè[,IIInÛZjƒÅlBM]" á 'JJËQ'Êu‰í¯ m©á`½ (@ 4 ——ç¶§oß¾nÛô²éR#n€È;_B èÕËv÷Qãe¹— (@ PAwÚcN P€ (ÐzL>[Ïž-S€ (@ `òtCÎS€ (@Öà5Ÿ­gokù¡‡BTTºßV”+Ð…@]]*++±|ùr]Äà (@ P í0ùÔÁX 2}úôAd$ÿ:’†ƒ!ø P]]¢¢"J²(@ PÀY€É§³G«¼4hЩS§ViŸRÀ_ü‘¿,ù‹Æò ( ðšO~(@ P€ .˜“Ï F͆(@ P€ ˜|ìgÀ‚üõk±£ÈÜv{h)ÁÆUëáO,¥ùXµvšÒkK™<ƒAK¶Ûðà­qØ:÷üûñ][ã{ P€ ÎS€Éçy^ØÃ-¨ª-†ÛÓ;@$Lâ4r¥Ê®H-‘rŒ¬«&„¡ßÂ=¸òÖ[‘<Üž•Žœ±È]ŽìµË0O¤d7û9Ó§LKnÃWÅZš œüîÀ(ãNÍFqÁ& øþ»G`£rŽ_FšŠ_Þw&MÊ@^^f\i€¥FÞÐÔUü™Qy¤÷EžvŸò@:¦Þ?22î‚ë„­io6ºôÞŽWâÖ›Gˆ´V!–ðÈ®)ƦÙðÂ8#"žÜl=/3Xº‰)Õ‚]_Ø/GPâ7 P€ šC€Égs(^°:Â1"%3³¡^¦hÂÛË2E—ŠAcq¸7gæ²·Pf±ààÖdX¯ù4Æ\`Væ Ü80 Ç¿-ÀiëÉìÐøqX‘¼ ™Óæ!9+=å®õÏЉbÿ¦>·Î²Vàó÷s`œq­Hã,(*,DDÂX<ýâj¤ˆr…'Lˆ¿þv±¶ߟ銡C‡b¨1‘p†Ç&ˆ2bvö½°X*°uùÓ^ó)ê§ç‡sôGò6‰]s1cÒèZw‚CY,E(¿†„û‘—¥lÁ’ÉÃ1nžL<yABÌPñwÑK±BÝEÛ‹ñø05ÍŒìÖ_)gÞ aÊ¿Q€ (@ yòiBÁVqª].¹3ñÔï2ð»ç–º[?Vϧ}x9Õbò{ò¢íȪÍe†£½uWxƒ­ÐÀ©Ù«}OöTt´må (@ P€n 9íÞÈ ÛòE#L'Oƒ¸!i–rCÒ¥Ý"­Ðér±j½s>ªS‡*´4°›)@ P€ ¤@'Ÿ¸¤›œÒ,€qî ØðÜh±nÂÖõoáD?*N¼®}™Út¨xŸ›™„µ7Õ`ªËc•Ú‡E(åå7SÑ^|u° í:Ç#ihŸ`‡¶¹p… (@àòÓî¡6}†ò (X8‰20}tÆLž†iiÓp².–¢¸{ZŽR&}E.²RÕÌ´)E‘õ³S[©®d¦>ˆMÊ›ýâ4þÈ1c0<-W¤³\(@ P€ ¤@Ð%Ÿ†(çÛ¢‡>Œ}¹‹ Ìææ`µr?Q2Vî*Æ]},xí©õl»q.žÌ¸ ýqúÉ)˜‡§VŠõôk½ã¨`5 O©§ÞâbÕr—Gñ†#U‚ß)@ P€ BÊËËëõèpèÐ!·°’’’ܶ5Û‹ %¥å¨« C—Ø^0øyA‚ÅlB86ÂÎSìÍ6(¬ˆ (@oyyynEúöíë¶M/üL±ôv Äj@¯^¶»ün 4Ü‘wr¡(@ P€hD èN»7bÁ] (@ P€-,Àä³…Y=(@ P€ €]€É§Ý‚k (@ P€-,Àk>[Ø—ê}ôQ_б (@]<ÿü󺈃AP€mS€É§ÆmÀ€HOO×A$  @ã99ês/Ž ài÷†m¸‡ (@ P ™˜|63(«£(@ P€hX€ÉgÃ6ÜC P€ (ÐÌL>›T7ÕYJ°qÕz™uñ&`³ÜÆÌ‚üõk±COƒÙ`¬Þ:Éý (ìL>õú 0"#$‰ v4-š£HI›Œu7ï‚QÔ½£Êþ6²©*1BB£¢…âm±úÍùHö+özÀ7ÿ ŒY‰EtÊiŒj°eò4|x¢¦i½uª«iU¸å«ÛNn (@ 4,Àä³a›VÝSòáË÷”ÌËA¾ÛL˜¡ED"Yüçq ¿ ¯åíÃUòÏZ 1A$CÙ{›ÒˆÇÚ/ÈÆŽRQPp/äDµ®‰è4gëoîUŠ kë<üVÚ£ÄÊâ8FbC¸h¦îòû»c]Í5ÞŽ±6PKŒM#Íq(@ ´&Ÿº¤ ¬Ÿ³)óç#«ñÊ¿‹lQ®Œ¥±~Á‘p… dÂbšÔÝæ’ÈHÛÄöÑ“R± Q𘯘áå?dã˜ÅŒõ¿„\qx¦1‰ka­ÊÚ^ŒNÄ*ke;–"$ñITòT ¶>9‹wÅÖÅÓÕXd»ÙPfîD ¦Â˜n'dÂ*—º­Mˆ—¢ÙH”} IÄ„ £Ejf‘TŽžn?®pU¦gïU4ŸøO-ûf‘LýnP𨖠cD2V©ûKluÊm»í9®‰ÙåÙ£gcãÖµJ.Ýo<è\¿µ|Én{™éÈ—P–"dg$ª}OœÝerʲ™Û9Ö§>-_8„LXŠe—;²Å{«ßªÝeŽ¨ë¶º¼·(.ú´xºµO¢ÎŒìð¥W%»ÅX)1ˆq¦;J椱q[(@ P ˜˜|êp´Í…¹˜YŒsŸÆæ±äé\Ûéå:ÓaäÌLAn§‡QZZ€Y¹s°î[yò¹ócGbÿŒí¨©«Áò&‰m•ð0¿&¶WãÓ¿ÂO–pÜñä&ˆI5ÌÝ´>·2“(ÞZ—X$ö/À ¿ï-ø(g¦˜Š]ˆGD:bÙ‡gæâš1ˆ¹î÷(®©G}ù. 'ë÷)™>É©óèM¨«¯Gù‹)ˆÐªu|-ÛŒ¸‘™˜¶ýêê¶à$`Û®SJ‰ºêJl[-ç Õ¥ºr? ~T{d©,ÃÆ‘h…ē̌ÈÝWŠçï$(6"VÔ¦œ3÷ IDAT¹àH ê+óP6«ÔŒY«J}­«ÆámK2f>PŠ‚u阓òºbm«_–”õ Ÿ†+w¡¼¦¥Å‹Ð?‚ÍÅ!3rÒ¿‚Ù‡1üÁ×Ð|óÇÚÙC‰úÆÙHJÛí/>„^2´Ís12³+ÔÕ£²`6Ò†?‚B·lQ«ËÛx˶Âp]újTÊ1Û•%†óo(ðÖ©’ÍÂ' c?8 ,*±}ÂaŒŒ‹"Occï×(@ P HøyüΗÅL^Ê t3“‘#¦ófbSa:¦çÉkE26k^yx´ˆÜŒ"süQLoZJ¾ÀB‘€íJ»ábTŽŸ NºoóÚ»ðÝq¹(uI÷XDäyxÇ%×¥ÎEÁÈPöÛHä®NƬÔmØðѤToÀ¶ä•x7&áѰûݵX䘘kKÌ~Bw­xpþ´qHë²gÞ‹Ǫ­ë%yExðÆ>âàÖÉSDkÕ½.Ó¶NoÞôˆé.ÊwÅ¥q1]8¸Sí÷;Ùó± §ÅÜ10à”¸^2Þ¥¢™Úæ¿‚Ñ"“3WVÚUþQ8Ôpç;b{:¿¢e‰^¢°å Þ["Ö“ßÁ¼'w¡æ[1œ{=äU™.­È#Î{ißxõ…‡03§›ŠópcŒŒÒŒ/ÞT‚ÀKóžNË8 ðcÍ+pù-ÂÖ~ãã-Š…öÂuWÕàÝUÙ8RzX9N¹B ‘N}ñ¦('Æpt¼2†7¦ÏCòÌ$|rp!îv[ \¡(@ à̧ކ޴KŠ r—#6"wÏ^£ÌL.zy§©œ÷3ö”É–\ê`MÓ`©‘7°tE˜CÒ¤ñöMThŸ[t/suŠHb×`Åÿ,CÁ¬§ðäãY"´—±ì…yHŸ•ŒpS>¦‡uÁÂ="»ýf\)ªÐ&ÊNÍFqÁ& øþ»G`c‘Û”jÊÅ,§1\IZdëJâ熱½í]ù´mÝqŦ NŠŠ]Õâ+¿¼ï>L𔼼̸R^êiIÆ¥Ö]¶Ã=C¤KluJ+)~‰_Ý7 Óçå¡`_jC9ŸÇýÝÙMR€Ï ì—aœ••¤LÁ¤_‰¾f¬×ÁîÕ§˜­­yoÓÞl„ué‡=¯Ä­7Ÿ½Æ>j–*émCkK8+Úrm/_)@ P X˜|êlä¾µL\½˜…òú=¨§>÷ìÙƒM›ÄìãÂ¥êu† Ä› ®݆ì7öÂb©ÀÖåO7|ͧcÐ_¼ÿñ'yªÜÃb¸¿I-À¼99˜v÷µˆ”Œqê}ž˜} ¹Lû?Vf33§"!ê'|+«P²8 Š ‘0O¿¸ZÄžpo#6á‘OÍÄ[{Ë`1Äò'2EkM8e=c…¨këR$Í)ÀåÚ œÒ†l ˆP’²Ó8cV“Ûøëo[Wãû3]1tèP 5ÆÁÐHRîP•RŸòÍa£Zßd¯¶b§©¬D\¿Ú¿œ%~GØZ„¨A¢ ÑN\5‹µ”æcÅâÈ×.~µ×ÚäµZ‘wÎXˆòí‹0o\?,Ø,Ðp\¯± ?EõWb×Ãóu¾ZË^ÆûHÞ&Qr.fLº]ëN‹T×ûÒg„]9†Já·³Åg/Ãû…»˜¢ÇÆYXŸ¯^±ê½v– (@@`ò©«-ÃëÓV‹³ê“ÔÓ»ÖØzú•8雋ì÷"Ì>¨ìµ½ OÀ‚uó‘3Í(f?»à™ošéS+UNËÕÐ>H]”‚y#cÅM,ö›{ÔRò»ÃRD–%’‰q׊:CûãžTñ6ý!$Š·c %㺋MnÎÁå©FÌ×ÿå›k°í‰Aè"oB‰×c¦faJ’rÒZVj[ÂîÁº¹É˜f쎰¨~øÜ ¯@UÕ·b®q5’º„!î™X4ËaN&“ j¹ÐøQÈJ)À˜îa˜ oHêuŽ|…™²O²ý°(¬üVžw_lÚ.­y‡úµúN¶¢¾¨îáÛšPŒ]x+ ™ˆ mÈí×*§ÝÍ'?Ãoçü;NhsÀZåê«l³}SÔŽñ8®ËÓîæêDßø8Žlš/Ð8d‹›‹z]ˆíY=Ä5–J aQi"6çöä;[]^Æ{Pr¦˜é^ˆXÑŸ›—"Õ¸ ÃS<}.ìu†ö™„}â³7ÍØE‰aÐäýXW°Å4¶ÛØXNà¥ßÎÂßwœp’[(@ P (BÊËËëõØÓC‡¹…•””ä¶-6äää =]\Ù‹Ù„Šº0×o6^¹Ù,¥Pqý¦ÛyïÆS÷Z`2ÕÀ` ¯\·ˆuuŠÒ"â©ñhïªÍlª@]D4Âd#bP­¸áåaë)lQ_E "¢ .§½Ýk2›ÌíÚº ®™5ÕÔ!,ÂÐÄ~¹´a­/BôÓÖ†(b6™Äd¯÷>ºÔÖ¬oUg1 ì[C4:ÞJ?Å/r -&˜,âZZÇ7Pk>²´ÛØ4P7ë_ Yÿ¥ÿî2B ´ ¼¼<·8ûöíë¶M/|ø‰¢—P‡OáD«yŸOŵBááM8H;X¤bjâ)7ÈuûÇ*TÄcÍCm¥=­„¢•uLÕ?*»ÕèrUÔ'O_–p׆D2í-éõ¥^[™ê  ßùèÙê?_µ&o¥ŸÖ’¡büìéîùµYØml<×À­ (¾þX  vQ†¡ ²RÌœê!Æ@ P€ @³ 0ùlvRVx~Î3§çW¦(@ P@o¼áHo#Âx(@ P€ @ 0ù àÁe×(@ P€ €Þ˜|êmD(@ P€`&Ÿ<¸ì(@ P€Л“O½ã¡(@ P€,Àä3€—]£(@ P€z`ò©·a< (@ P €˜|ðà²k (@ P@oL>õ6"Œ‡ (@ °“Ï\v (@ èM€É§ÞF„ñP€ (@`òÀƒË®Q€ (@½ 0ùÔÛˆ0 P€ (ÀL>xpÙ5 P€ ( 7&ŸzÆC P€ X€Ég.»F P€ ô&ÀäSo#Âx(@ P€ @ 0ù àÁe×(@ P€ €Þ˜|êmD(@ P€`&Ÿ<¸ì(@ P€Л“O½ã¡(@ P€,Àä3€—]£(@ P€z`ò©·a< (@ P €˜|ðà²k (@ P@oL>õ6"Œ‡ (@ °“Ï\v (@ èM€É§ÞF„ñP€ (@`òÀƒË®Q€ (@½ 0ùÔÛˆ0 P€ (ÀL>xpÙ5 P€ ( 7&ŸzÆC P€ X€Ég.»F P€ ô&ÀäSo#Âx(@ P€ @ 0ù àÁe×(@ P€ €Þ˜|êmD(@ P€`&Ÿ<¸ì(@ P€Л“O½ã¡(@ P€,Àä3€—]£(@ P€z`ò©·a< (@ P €˜|ðà²k (@ P@oL>õ6"Œ‡ (@ °“Ï\v (@ èM€É§ÞF„ñP€ (@`òÀƒË®Q€ (@½ 0ùÔÛˆ0 P€:ÈÈÈÐaT ‰h‹L>Ûâ¨1f P€P@&žÙÙÙ°E6E ²“Ï@]ö Ày 0ñ/Œs£­¤§§7ºŸ;)@ P€ @ ð´{ Œ$ûA P€ Ú€“Ï60H ‘ (@ Š“Ï@Iöƒ (@ ´&Ÿm`"(@ P€&Ÿ2’ì(@ P€h¼Û]§ƒT__ùuîÜ9å«5¼øâ‹!¿BBB”¯ÖˆmR€ (XL>u6ž?ÿü3Μ9ƒ÷ß8uêjjj.xò'߈ˆtëÖ F£·Ür :w.âd¹Î>2 ‡ (Ц˜|êh¸êêê°eËlÞ¼C† Á½÷Þ‹ØØXtìØQ™l(Ô±£¾¡Û}-'‘3®?UUáè±cÈËËßþô'Œ?7ß|3ÂÂÂjå*(@ P€ð]€É§ïV-VRÎ2ž={¯½öŠŠŠðÈ# gÏžNíÉdðB/DÒ;pà@\qÅ5j^yå”––*Iq»ví.ølì…î?Û£(@ P ùxµùMý®QÎxÊÓì%%%øÍo~ƒ˜˜ÛµžÚ5Ÿ­ùúó¹ŸÑ£G̘1ÅÅÅJ¬2f. (@ PÀ_&ŸþŠ5syyç‰'”SÛò´¶<¥­Þlô³õU½ñHn3‰YÇÒÒ ÔÔ©ÛêJ¿Ä˯~†±O=¦e^®ÿ2N9Û9nü8|þùçJÌr P€ (à“O´Z ¬ÙlÆŽ;®]» Nœ^?[[+’½z%á“ ^}õAüה臸¸Xtí4ù•?£úèVd¦í@µ(#˵䗼,@ÎvvëÚ ýû÷ÇöíÛ!cçB P€ üà5Ÿþh5sY9[Y%nê9&nê‘×TÊ„³^$x5 ΊW9 *utüÓUxúí‡ðå‰çw± ß}]„î×Ár‘¾\,Ê6v\<)I)'Ûklq}¤’,/Z™xÊW¹È22ùüðÕØåñr P€ (à‹g>}Qj¡2Zò)OgwíÚUyŒ‘L6µÇYDZ+fA+ËN‰JqüäO8ûs;\~et¨¯ ª¸ éÊj|ôæ_Ð¥Kñ5oï¯Pf(k¿‡ôä¶.ˆŽ¾ÿ»ãe»éÛW15}9Þ|i–Øw'vUÔÁtôcÌe£££qýÃÿD±hS¶«ÍvÊäRƤ%§2V³Lœ½%´-DÇj)@ P€h£L>[qàälâO?ý„N:!<<\™å”Ižc¢'¾¾·þsnXñ‰±xìÿÒŸÕ2…„ßÎÇ}ë;á³}{ñ_mÆ¯ÞØ¯ÿs»^øõÿìEYY6?‚ÇžxÕ¢îŸÏý„ÍëŸÂߊGáË}«U‚çïBÄÜÏDÙýÈ,›‰Gß*vv ÁÏ"ù UŽyo>‚nb³åØÇȯ7lùžËÀw›€M‰UnÏ•3œÚ,§Œ[Æìx:^TÁ… (@ xà̧W¢–+ ÍöíÛ+ÁHÞ¼£r—Ûµ/û¶( ™0‡ßÇ=ø'Ö}Y,ʈk-÷@”µü9yíeˆzlá¿~‹øk–à¢A#1vä/qz½RNÓ‘Öc~>§~î¸û^LJIÁãâZÎÝ¿dk_‹C;õ.ã‘qIÆ+c—û¹P€ (@_˜9ø*ÕådâÖ¡CTVV¢ººZIädrgO8ÕD²üÀ^8©î—Çü$b‰Žî€‹Î‰DòõzL%IoÕ䳟/ xhî1çJ¿“;”™O×c"ã“ð±wG¡Å_U2$—D©³§JÖ$544Ô—ŒõÇTb—e¸P€ (@_˜9ø*Õåäl¢üÓ™òFŸòòrå4¶–ðÉTKøNí\ŒkÆ*×Yvê3¦GWã¡a=pq{1|W© ª,ß^Ì„†ˆ™Ï‹/î„Ûžy X>QÓ/îÃUßÌÁïVí³£%¹_‡¹ûÞA9cÅ#œ:)姯ݯ$šZûŽÉ°|ÜREE…³ŒÝéò€0b• (@ –@ˆHzþN+õ÷СCn-'%%¹mkëä)쯾ú ï½÷~õ«_)IH&{2©“×XjÉ]] U¦ €NÚÛº­í·m+Úµ™sÌ舎⾤sâæ KxG„;\å«•SµˆˆjÐpQÞ¡CÅòºTùç5ÿùÏâ¶ÛnÃÕW_ ù¨%. (@ ´ž@^^ž[ã}ûöuÛ¦— ž³ ½DqÈë&åD>d~ýúõxàйsg·k)CC£EÞí—H»v]©!nfj|i'nxŠtJxey- –‰ª|´Òºuë”XeÌ2v. (@ PÀžv÷G«ÊÊÓìòYœ×]w ^xáA>ãS.2ù“eì§ÉÕkB[ê½ë©vƒœñ”1ÉØdŒ2V3¯÷”:\(@ P€ðG€3ŸþhµPYù—Œ.»ì2ÜrË-صk–/_®$wÇÇW\ž={*Ég 5ï±Z™p?~ß}÷“¼&uˆ¸!IÆ$c•1s¡(@ P€þ 0ùôW¬…ÊËg|öéÓG™Yìׯ¾ùæ|ôÑGظq£2 ê|}f áP­œq•³ òaò2®1cÆàòË/W’b&žP\¥(@ PÀ/&Ÿ~qµla™ÔÅÄÄ **J¹®R^c)k$Ÿ©)g"/ä"OëË¿d©Ü‘/ïlçs=/ä°- P€ @` 0ùÔÙ¸Êë(åä2ñëÖ­›’tÊ¿(Ô3ŸÚµ¦’ÈÓ]õ:£c8 (@ ´&Ÿ:$-Ù“§¾¹P€ (@@àÝî2’ì(@ P€hL>ÛÀ 1D P€ ((L>e$Ù P€ (И|¶Abˆ (@ P P˜|ÊH² (@ P  0ùlƒÄ)@ P€ @ 0ù ”‘d?(@ P€ @`òÙ‰!R€ (@@`ò(#É~P€ (@6 Àä³ C¤(@ P€"Àä3PF’ý (@ P€m@€Ég$†H P€ E€Ég Œ$ûA P€ Ú€@hˆ±É!æåå5ùXH P€ ZC ))©5š½`mtòèƒwÁ>%lˆ (@ 4“O»7$«¡(@ P€ð.ÀäÓ»KP€ (@ 4““Ïf‚d5 (@ P€Þ˜|z7b P€ (@f`òÙL¬† (@ PÀ»“OïF,A P€ (ÐLL>› ’ÕP€ (@ x`òé݈%(@ P€ šI€Ég3A² P€ (@ïL>½±(@ P€ @3 0ùl&HVC P€ (à]€É§w#– (@ P€h&&ŸÍÉj(@ P€ ¼ „z/Â> œ=ìÕy8* —WŸCõÙZVðÒc0ìkçSíS¨1§,}¾ϯBΡ¼®VØž¶‘xéÑ[182phØ P€ @0tòyôË/°ä³Ñ9òb—±<‡3a±xöÞ(‰Í’½5èæRgQyž˜8]wyzñEhWW-Gkö^Œ‹xÛ¾‘} $\•x]=ú¥è× õ!OM€pk-ߺ/ï«"/Á£÷FgeûÏøôÝíXçDÿc}ï¿×(­sjÀ"¢c"êŽcË [_Ûd9 P€ t#ÐÉgh¨H::ƒwŽÊ Ðai‰‰×…Cv>4¼jJà‘9-£01I-ã´½¡7G#-c†l| ™ŸUÛJ)Àí³•lúJhh;œ>&úpÖµŽ(L£¥r_6¿[”r§X<“ceÖ}k‡ˆêR¼ãà §¹Öz^ï›`Ñsψ¯ûÞÝ„;+mÍô‡×ÖK®P€ K  ¯ùì™0{d"]ÕÞaÔ"±ìÑ;ñØ-jb%Ë,bþã‡"ˆÄŠGÆ)eS7Ç ­÷»ªgC»Ðؾòa‡ìêy0·¯s:6qÊMx8ù2Û¬§åä1¬uHPßÉ;n­= ×Ýr=žùý8¤)³¡˜ûÛ»±|b¼íXÂð«HS,â: ’_í±0(@ P€úèäS#îå˜|ŠÙNm‡íµ=®îe{§¬¸L–:ïÔã»ö¸ý¶þN½¾ó0»qèÛœö~vH¹FÕ¶ñÜø^&§½âveFÔ¶§UW´>„º\«ÆÅÆ)@ P€ð_ (œkÉŒ_\¦R¬û÷^¼öÍ)µÎv§æÇŒôí³‹~ÕéZØtZiãoN¢P›¡l×#\Šé7'âênn¦:Õ‡‰íöáuíØ£?àëêÁ¸Z¹)§Ÿ|YáT8‰-‡j‘ÖWMÎ«ŠŠñ‰(1ñ}œtŸâªÃGïîÂöÓâZѺ³¨©®Å↫?þ&û·ä᥯+pí‘!fcÓ¢]âpk9s/½ñ9V²^ .•ûå îGp (@ P€mA (f>]Âß4sq!&/Ú†¿})Ïh,zà:L휩ªÄÚ÷>ŨÂìÚˆŸï«~øcmm¨‰gZÊMxyÊôwÍòõAd.y+åB.Q¸EÍ4­¥*ñþwÖcÎÇ«åÀí¿èÞu¼úÙ1ۻ¯‹ÄºH¨Ûo±ò'®v–¼óLh+ðɉj­:)â}ROÙL-²ßü^$¡/²Í;žÿÈ–x¼"s¯1ØòÆç^ P€ t,„Ég52翎±._p¸‘Åy¼*ðßÿ³Çvzzê´pSßË~gœ½Ø¡=x«¸ÎþÞßµs§ñ—œ¯mIYï!×!ãÚK0@\Ëùìû,aöšøÊËäßUI}Zý³"åÔûÑ}GDýQ˜2öjŒ·ç–8#ÛïÅýF@%¶}&î&ï+´»ÎýŠK\7z×­Ø<Í1µ^5ÿáx-ª¨»Ñ™g—6qÉ,›~ RÆÂK7Ù-œ:É7 (@ ´ L>W]Š)W_Š_Z¿¦\s)Ftñ|BÕ¡ƒxÝa8 OTàø©J<¥ÛVw–W7=ù¬:t[Ú¸ÙØÃöî²>bŠÕ¶Tb}ÞiÛ;O+¡±½1UKeqêýй:äç×r^†âôõMÓ¸ l;$b?S¢ôsêu—ÚN¹7%®ÐöŽGbÖd#nÒÝjçØhëãl›œV\ÛœzSÛ£®âãcœÊò (@ P€mOÀsÆÕöúáGÄQx`ò0 vyôç÷aåxç#ûc|´ K‹ÔV•×ü>Æ/?pÚtÞoJŽ9·¡<úÈZkhT”’¬i§ªUx;Á…1×Da­m&·›w~Bñ ÏÛ'ª³’}‡Ä£÷_ØfsßÌ;Œb-Fcl¼ý©íÍ—EL¦vr#¶\^ÒÚ0\Ö££-¹õWrÌùÒ‚žì7‹Yä#¡¸P€ (Ц‚0ù´@ü‘ñuçq«k`â²ÆìœðLr;¾2æsÛ/¾¡âáéM^9-“Oy"=ßʯHº ØùµíˆµïÉõ(,»ÂzGçK1¡Ëøoq ¨\Î|ý%fˆ"¯¸FÌŒªÛ”ïÍ—öëØ9Ú6ƒéЂÛjÅyF.¿$¸À  (@ ´)óȘÚT?›lì¥HŠZ~4ÿ ˆD3¼]˜í+´¶U.9“? v¿´“Kq{Æe.+uJ<# ßñ.+ íÑSÃ.‰ÅU¶„»=Fßh?µ¯5>e¸ó3J›;.­Æ^c],Ž—Û+ÐÙÆŽç> P€ ô-œÉ§ýL®mt*+åt¨¶„"ÌZ¦ó¥½œî'÷s|eÒʉWS1æ<÷ƾU¬nt˜•OÕêQv6°¯sÏNm|ºßþH¤Šëô¤RA(¦8\?©6èé{GŒM²ÎrZwßœÔÛéñ=÷.r\º‰©lÙ©²£)q)UÊ¡Ú'O}´XûÑwâï2©KÅ釚Å*³Qg¾£(@ ´‹çÌ™óg=ÆYQaOÀ´øzõꥭúôj>SïöÂß7ÅqÛu(9õ3zDE —¸žP–ùzÿ~ü}Û ˆ[r¬K-NW‡ GD8.éè­ˆ1dIDATÞƒCJ°ñ°v­e5Þþä;¯ªÅ¡¯¿Åo׊k'#ñ½C]]†uï ¯RÌŽ*K-ÎÕwÄàÞñs…xNhû";tÆu§°nÿOÊQ§ŽV`°1=ÏÀ__Ú‡CÖÚFÜt#ÒƒdÝìñ¥k§sX¿ë¤õPíñwAoǤ;Ì€öû¿…v™kï«aìì\W¸q™M•øx×÷ØZ¬YÕáPE®¼¤#ºFÚgl«N5fÑ}«ã]íéU§±ñÛSøéÐ÷xbG™C|uØs´†Ðö¸¼GçoQ\¥(@ 8~ÜžåhÑÑŽ7k[õñR^^^¯Pœ£8tHK¹ìÛ“’’ìo|XûæÝ·ÄßoàÙDíâ°eÞ0y)³Y”‘)Ù¡/¿Àü·º=k²wï8üyª¸ÉP‹•Ù€lmšÎ!¾©¿¾ †×ßk`ßx¸¿:ãx|_¬Û‡|×Søí¢ð¿Ži><œÝÞl5²ÿòVÊxº À–G†¸]syfïNŒ}õ¨rHÆl›·×¡®ù×W7ˆ¿kï8ƒl­IXkŽòYŸ ;iuøôÝ혽ÓþëÄêo¿Ê‡âË¥³xø¾¡Ý9˜¢ûc}†Ñ­oÖ–ùB P€x¼¼<·>öí+~hêt èä³ùÍÆ™3U(ÿI^‡x¢¢:¢›×`úGÕ™J”*m:¢ggÇ)Kßk³ˆÔWÕžChûHtt¼‘ÈVÅϨˆ’§Æ;Gzo£¹â²5ïeÅR]…*ä/áè~I:ŠKaÍg×ÚržÓ wS€ @ ´µä“WÍùõá¼;‹G¹œö«  wmtl†6BÅì`gI§ÄEèèCÒ©•n®¸´ú¼½†FvD_ñå¸0ñtÔà:(@ P í p ©í#¦(@ P€mV€Ég›:N P€ Úž“϶7fŒ˜ (@ ´Y&ŸmvèÚHàäc³Ì >ð³ôƒaR€ (Ð,L>}b4aÕ„„„xùš¾ &s>&ˆr²ó®Ù¼ÓE™””iøhqË÷yßXÝ͸¯"âХKüuç'ç×gk\¦Š2””9>å¿v¨ªÙÛi¦1sŠëB|Ö`ÂÚéÚÛ2ŸIÑ?ùïD©ßalZ|µ™ÆÊß8Í…«”ÿÇ,ÍwƱ­®VŠÍÖ>W(@ 4ƒïv÷±ãå)HN‘!ÝT w[8Òˆ””Ë­5T½»@{”ºÓLrk£¢4/ãvÆó=Þ¡ª[5ãƒì4H¥Ô¹Y¸ýòvøB¬7½Ï2PVŽêŽ™Y(¯-÷øÜ–h§9ÆÌs\›ž»&k®o4&£kW9ËéÓèÝQ~ê«Ïó3íP§Ãªlº²Òþ'Vvµàêù›5%¸º:ÏÈu«¨ubs ƒ(@ œ‡“OŸð ˜ôÂLÒÊZÄÌc˜«S¿6d8ýÙJˆÙei¯¥¡ÚA¯áC‘[Ïö?ßãBiÉÕª“²öTüñ¹‡•?åy^}V@”Ìõ»F!ByßRßZ f³âjÉÏš VŸ›‚•»7`hxæÚç¾Ýmjs³ŒUÓ{Ü>¬e?ÝMŒGR€hžvoŠc}&Æå¯Ûk+ý³g#Ñzª~ôìU(Ñ®{4ÀŠÙÈÚ|ÀVÞT´ONm;µ?:c1öVhØŠ©+ç}üA,ΘŽÅëw`³câh,XŸŠ’|±o‚5ŽÑÈÞQ"Ú¬Àú˜>{)ŠœB*AöìéÈX°^ÌI:.fl]:i¹r[žÍx[¿ÿƹϖƒX*bXºy7¶Šä% Ù{MhÐÁR$ÚJà ²Îm/ãÁé¢Î"íÏx:¶ nÎÆ„ÄD¥ÎÄ ÈÞ¼Wy¾Rʬö}éÆغêIŒNTO)ÎÈVû橃ߺŚñûüð-»Ž™·8œ»xŠëëLYK~Öã°ì·6¼n.Áú¥³mƉ£'`Áª­âÓd_o{§µ¢­ÙÈŸ›é 6Šëˆ=†œ°:ûþYG»Ž•Ra6‹¾Ø.½=Ù[ ÕÏUƒq˜”϶öÿ€Ä XºÑá³è¨ýMéwŠÏºöo0³—nv2³—ÔÖ|iGÄŸ-?ï‰HÿÖŸã°[ü;yrÁZûÿ—´êøJ P ¥äŸ×Ôã×_|QïúU¯—¥&¯>¨mÖWºÆ¤í“ûÅWJzz}ŠQ]GêºúYÞ”W—Ø7jIžztéöúdkùô¹óëç¦'+Çéõûê\h†ã+óêÅÖ6DŒ©)¶u³¸œ >%E‹õk˜êsg©åWäÙ{\S°R=nÖ¦zç0+ëפ­uëH®_óévç>»Ä Û]ùáæ†jÔÏOÖêD½Ñ˜R¿î€¢é´+KëKrý¬¹³lõ¥díRˉv•±³ö?95Õa|ÖÔ×ÔyhgÏN'/ëÌT<<Œ™·8œz%ÞxŠë›N}i‘Ïšø„¯L‘}M©ßez×èêëÅçÞé3-Ž[c5BJzýüùö±HÖÆÂÛç^Ô)?§ÉYê¿“¹ó­Ÿ©ÔúíÅbì=}† \‚t)ãý³.êuý÷Y_^¿RëK²èËÜtk¨ÏÚUÞ@%öþ‹c-šoû %/Úîî'¶T¬°Õ+?c©³fÙŽAºõÿ97ØŽCüâßMzªýß¶×qõ)7R€zpÍ—ä{=ævZLÐVôöê R7ƒ­%˜&ŸÉõ¹¬?Eâ0W& ÆEõŲ.?@jö­Q~褮;bë⾕ê¸,‡d϶³ŽW“Ï£šÀ•n_¤þà3Ϊ×~~X7KÙ–•W.~Ϋ?ó?°…±}‘úCl…v€m\©Q“–äjÂí³4P“@cý¢Mû”äÕ»ƒKNí‰ü¬8WíCJVý-®ÙW?7Ù!yíª}O®_·O$r©)¨Ÿ%“Qm|<Äî«ßúï=5<ûw—þÛ [ð³fK>¥¡ûWŠ51týL×Wî¿tˆò©"¡·u`_}ºÜ–œ%Ò9Áîíso«Ô5õ6i‰gz½Ì÷”ÅÖûgȺÇþb­C&Y¾~Ö]ûRºËúoC|®J­5W:üâåé³\¾+Kñ2ÎZ£ôU9¬²@ýÿ€0XwÄ®¢kO>EK­`ñK×"åó+ Ljþ8&ù¾´ã)þâ]Z¢›Rïé1ZL|¥Ú†€§œIoyc<<í.~¢6÷"OAçÿ'îŠ7'É%´;Èk vâ¨óùiew]ºqõ‚™X¼j#ò K›úwˆt  µÖ¡”ôü­©ÇýAĨ^ÄÞ¹“RyÊŒéH°6Ù½¯v3`z3D‚†‚yoá E=ˆ7æl¯s1V;@n¶-uÐnŸhèҥשsðÈØ{ïGãuîû÷:¥õÔqÃYQ‚¢¢"”˜¢02YÌ+#»÷WØ¢3Î “ZoY C¢ÈíããÞŽk¬þ{ØšvZi<§¢âç¸.Ôg-9%©©ö/1;Ž+»5pm³a>./Eñ¢[P^t{ówcóÚØ¥t©½ã->w¢üêiFô7O9rSy6†9Üiæ:.J!ßüù¬»~t÷NeSÖ¼4ÄXwîEÞ¦uØtï e‹k‡woU¶ÏθÛ~cœ!3æˆô[,%'úW!Îw¬{Ãb¬—ã‡ÇcÊ,ù/8õ£û1¾´£Å¿îoÙâï5ì×3Ó\(@ ´Š“Ïb¿¼{5{úQmH˜ŠM‹ÄO‚‚\ÌIKAÒ XD……‰k)7x¹ÖKm¢©Ç_ÞÉsŒ¶ÀÃÔ[MÔ÷ñ¸7KfhK°eŸ–ÂbMÌ'eMBÛÎ+ÚÑÝÕ–rƒšxÊ#}éGcu†µ‹TX9Ý»Ç"..±âuÜ<™$‹Kù®Y¼¼{ge›ë7m|<µã+࿇k[ò½·8\ñ×…ù¬¥àù½‚W^±mذÏMMp ÑúÞŒ¯^{±±Ý×Ƥá7mŽòôñÈeñe¼]+ß¾»ÈuœÇÅm·²Á¿Ïºsê?ƒ ëïø‹`8†Ž„±ÃìŸ~Ç8´cŒqÎwhÅ& U*ï֩ᛊ†^ÑÝ)€Þ;¾ñ¥­LßXljáHÃìÓÑ’ë À…`òÙBÖ?þÆ¥QKÆ>þ ê*K±/ï¬Éš‹dqÎ2gÞd<²ªÐ¥°‡·M<Þ¯E³I·«?¬6mÛŽO?Ú ’*.h=ŸÅ)†&öCk¿úÔIe5}Í.9€¬_û —W€´Dû”™S»Z^^]i×:½„àq·_uœ‡qCòî1‡»s02Süz’<¹Û p¤¸55G°H~\äsÆäâC,ÊŒbJ Ä/frþzḙØaŸÀVªñ¥ÿ¾”Q*kð[.Ž–:ÞàfÆÁÝ;°»°Ìv„{‡Qj²ØöË•#y+ï=Íbj —k«ÊkyÉQ§÷îo|i§RœYp<ÒŒ½¬vÜÀu P€L€Éç£n¸¡üå·Š»hñ©%‡ŽÆÔ‡ŸÃÖê)äâÒ>кç|÷Ú€µ@hüMן!wæ‘XäŠÄ" cú8ΦøZ“çrþôC›¡t¬é’«’”·Õ¦0ôêøxõkÿË3‘”” q3½ß‹§v´JZÚCkÇÓkcqy*¯móÇX;F{õ§Ícû¾QËÊš‡»nL@Ÿ^1=ù9ÖÈ¿FµWž‡ëk,)ã’‘p²Ä]?òò‰‘O¬…c¨Å×R¯a†JÕŸ|Ylo¢èmô>óóìÛÖÂÚËYÒ¼÷©ãLmv) Ÿq—8΢:(V—,É…=¥5ã‹·Ö+⺺ã[;ò¸møÇ[ö_dÍ߯ÿºäžSÊÄ_#sN—cã; P€Í!À䳉Šþæ1ÚõN“Ö¶/6V¬`äÄÙØœ_ˆÂüÍXüÜreïpco¯žïñ^°ˆÁÄߨ׬ÉMéÝn¿žÍVƾ¢õÙ¾¥ñ5_úQ+gͶ-Çü¥ëqÐåQT½FNU®K]™„ŒÅë‘¿w7²Ÿœ€q ÅiwñLÖ!Ú{ÂÐbÕÆÇ¹sŽ›üóh §Í®q8ío|‰«±:|1vkÓºA³qÝïéý¥ÆÁÊæ™OÏÇÆòzÏÅHŠ›¬žv?ü)v4Á×X*kÕ–îóåÌiÎ4üuk‰§f[dÛÀ;3ÄÓjER8¹f¯ÚŒ[Waºè‹\²¦S^]¿ œø{(©¤¨Çæ‹Ç'MDšLøÒŸÆøÆ~iÛ67g,ÅŽüâ˜ñHY"2öÔ5¸ÕÃ1¾´“pOº2kœ3m2–®ÅæõK1¾ßd‘Žª‹ªkÂK)]нËDäùû?7×Îó=(@/Í7m奡ÀÚu.D»ϹwÊü„Ë.uòÄ€HëôQ”<ÄZ&z؃X7'&Ï[‚qIâT¥uI]´ óÆöÒÞ:½žïñ®1†…©³*†(Çù-5@Ç®Äß2Eü Ë?¸R:&Þ)&×7Y¥vŠU¬:Æ 1÷åƒ/7=4K$ŸK°pædtVŽÇï> Ç_KÅ--S†cÉœÉÈ™c(eö½’aK”]ÛUbQTœÚ¹úc·Xµ¾úãáÜõfí3 Ö'LœâÐZÑ^]ãÚæ1.×:ÛõÅXkM{UÆQ´äøÉÐöÙ_ÜÆ7Ú8 +Ò_BfÎB¤ä.TŠ¥.Z‰‡Ž¿ŒÌ%9³öÔ?íåso>¡kûLöÁ¬Õ+1Ϙ†ycþŠ©¦<öß“ºæ:Þ¾|ÖÍÄÝvX~`Ä]OX’&¾¬ Ì]¹ éCÅ¥æcîqˆ®VîËEÚ §cŒé+±éï“”®\ãÔâÌÂ᜙™c-‘š…#/Nµþ1 ggøÒNôøwñvÌ{h¤øw3Müë'-RÓa\ƒcz+@âó+Û‹õ2ÎÖ˜øB Pà<Bä­ïçq|‹zèÐ!·º“’ÔÓªn;dƒ¹¬Gä]°â§|T8ôŠv¾YÁ[7Ï÷xoõ+ûË6#±û8ÌÊEÝ wyü!êS=òÖ³ø{u2y54äcA™¸Ó½ÒŠˆ¨.ècýéÚH›žvyoGu<\có).׃\Þ{3v)Þä·%E(é¨.=£|ž-¨(«@¨!†põwß K“;a;ÐŒ²’“≊°K/øöÏÓ„¢ƒÅ—",ªâ{Ù¯;¶UëiÅ\¢“åò å’OEœ·5ÜŽ¥â >ýú⯆^fñpþp„‡›‘=!™•+P¹5CMž+ä; P  äåå¹EÛ·o_·mzÙÀäS/#¡÷8Ìe(÷³ÈžQ€ (m-ù䣖‚àCÉ.R€ (@½0ùÔËH0 P€ (L>ƒ`ÙE P€ ( &Ÿz ÆA P€ ‚@€Ég 2»H P€ ô"ÀäS/#Á8(@ P€ @0ù ‚Af)@ P€ €^˜|êe$(@ P€&ŸA0Èì"(@ P€Ћ“O½Œã (@ P€A Àä3™]¤(@ P€z`ò©—‘` (@ P ˜|Á ³‹ (@ P@/L>õ2Œƒ (@ “Ï dv‘ (@ èE€É§^F‚qP€ (@ `òƒÌ.R€ (@½0ùÔËH0 P€ (L>ƒ`ÙE P€ ( &Ÿz ÆA P€ ‚@€Ég 2»H P€ ô"ÀäS/#Á8(@ P€ @0ù ‚Af)@ P€ €^Bõˆ/qäååùRŒe(@ P€ t*À™O â(@ P€(Àä3G•}¢(@ P€:`ò©ÓaX (@ P ˜|⨲O (@ P@§!åååõ:aQ€ (@ ˜g>l@Ù P€ ( g&ŸzÆF P€ L€Ég€ (»C P€ ô,ÀäSÏ£ÃØ(@ P€ @€ 0ù °ew(@ P€ €ž˜|êyt(@ P€0&Ÿ6 ì(@ P€г“O=c£(@ P€&Àä3À”Ý¡(@ P€z`ò©çÑal (@ P À˜|Ø€²; (@ P@ÏL>õ<:Œ (@ ˜“ÏPv‡ (@ èY€É§žG‡±Q€ (@`ò`ÊîP€ (@= 0ùÔóè06 P€ (`L>l@Ù P€ ( g&ŸzÆF P€ L€Ég€ (»C P€ ô,ÀäSÏ£ÃØ(@ P€ @€ 0ù °ew(@ P€ €ž˜|êyt(@ P€0&Ÿ6 ì(@ P€г“O=c£(@ P€&Àä3À”Ý¡(@ P€z`ò©çÑal (@ P À˜|Ø€²; (@ P@ÏL>õ<:Œ (@ ˆÀáÇ•ž0ù e7(@ P€ €^dâ¹iÓ&%¼P½ɸ(@ üûv"!C´fë)õ–Šxõ^¡›Š3Óû®Às'n’—Í'U @€üû¾—¾ïKÛ¶g36Ÿùgª @€@•ÏàÙ4ÍY£ðYå¨E€È-°®ë½ñŒàéÎgîyªž P­À²,e†ó¨ý žî|V;.… @€ò DðDZt]W"xnÛvÑèʱ{ÞÙªœ P•À§àyýläÎgU£R  @ ·À<Ïÿ6ž<ŸÐèÐæ3÷œUO€øº@­OÓô+hþ žñðùõq)€ W ‚ç§ ùÜx^ߣ˟ã8^yÛU9 @€@&7:¯5ˆSsÈÏIEND®B`‚Flask-0.10.1/docs/_static/logo-full.png0000644000076700000240000005050612156311351020762 0ustar mitsuhikostaff00000000000000‰PNG  IHDR£¤:çAøsBIT|dˆ pHYs œ œ“–štEXtSoftwarewww.inkscape.org›î< IDATxœíw¸UÕÆ+! „@舡Kï½I‘^¥HSQ:"UPAQ:*Eš "MzïРХ$„„´õýñîÉ™;wÎ93§Þ›;ïóìgΙ]gfï½ö^{sw (P @v¢W»P @ Ĩ@ ´1*P @mGAŒ (P @Û1C;*5³ÞÀÏ€-€E·À]À)î>¡í*P @íAËwFf6pp>ð%°¢»ÿØØxÕÌou» (P @ûÐ6ÝO»û^î>ÀÝß~ Ìü_ÚU @Ú„v£¹ÂõÖd„»¿ ¼ìjf[Úª è0³^f6,gô´ƒEuö1³§Íl„™½nfï›Ù(à{€ãÛжj‚™Ímf§˜Ù©f6´Ýí)Ð=af[/o¯˜Ù¢AeèF;¢7€EPÜSî¾JÊéòhË™‘ ¤óyѶ‰ÿ7">ýH 7é«„7ßÂéã™þ À»Y QÀ~ ¬»Øõ\,Ncô 3£vJ™ßdH¾0­íAJâ™Æµ®Ç`ð—v7¢x=gúçX÷Ä–U ÁÝ_þÕ â bÔ ˜Ù’ÀST–«Ï‹CÍlÆêÉ DpáWÀÀGínO‘‹¹ûiÀ.ˆ…Y/z ¯¿@g¸ûîÀª¤ØàÌ[TšÓ-Ð2bdfkÃa5d¯4°/òu´=’¾+§p8 x ±ö¢ð¦»C˜ÙüÀeH¬¾LîDx_“(~$Ž?cŽO?˜­†6­ïîÔø<˜Y_d?ñ„²ÏåîŸÕZwéARó.äH4+v÷ušÔ¤.…V£ €»É¿›êîÓΊ‚k‰íüRòF[å;Üý›œõ÷˜ÙLÀÍ@-Fjÿæî6¸IÀ4é¤Ùɾ»^¤bÿfv,Ú=æÁœîþy½u˜¾`fk¡ÛL³<äîõªt ´ŒMçî÷¡J^ô2³iºHî>ÆÝ/~ì“!ÿ ÄÊ»øÜÌ©¡ =îþ-:Ï^Cö«Üœip÷©îþ¸»ÿémœ—1ë˜ÕÿGÊ›®*‡ą̂@'¸û#ÀÏódiV[ºZ-M—g’›Œ„&6³¤(òľ»+G™ý€3ƒ¹ö)éIJ¶DÄÞÝÇ»û~h‡Tm Žm`ÕgæL_°† ”à d—¶,ˆQ“ðn…¸ïõ?¢ó¡Ù‚²×Žht|"ý7ÀÑ!m°VÎ<= ·!sK]î~pN…$Ýý»Ö÷:ZeE±3* w<ž1yYÔ´š­žrïèx ¤ýþ=`/àT3ûsÈópœ™M[±¡„ZWã{˜Ùf¶hù§k¸ûšÈvk Ž¢¼Ä\CXt ü'GÚ‚¨„'2¦ë1;£–Ù¦3³YH·÷5ØÙ«†cÌlkàBÔöEÑÊa8ð ðv÷SÞ_ÒâÀ_C»ÞCgg¸{¡¨X»ín@5¸ûx3; ¸%%ºÄèÍi{ÌŠ¶@M(çX4‰‚5fÖIi¥™MÏës)à÷H"eàö¤Ô’™­‚ij`AdÒ}O3; Zè&ʰî~«™ ³Uäf£<¢ÚÅΨ@%|•1]YÔ4•™Yo¤·r,µë¯€Vé…ð80"Ís°Ä01åµ½¶8p¯™]üºÐéÄ(à$à߉{Í F£r¤í1“Hš0:cº³3jø™‘™ 4³­Ìì¯ÀÀ=ä'D£ë€}‘®ÈÂî¾›»ÿÍÝŸ–1³M“™Ü}2vù2rP v^3³ƒÍlî˘uåÖp5ðVâÞ×M¨'31*­ TAw_-AC‰‘™í…VÔ7Y'ó‰ÀÈxê*hgsÐX#xIŒŸÿlÜÈ’˜‚à•äc«Ä1ýØÌ^0³SÌlùË*Ðd‹ýé¸i”+ˆx=™w[)ª Ä‘ÕÇVéG cÓ™ÙO€KrdƒDˆoF«„u€M€Ã€ÙËÔñ ðwäýuà*3[>ÁR[˜ø'0.C;FŸRrÈ]ã¿WV ÌÀ•y&¦͇»ßef; C§ï“¯/6Fb±(P/fÈÌ>†fLþ:GZø0GÎê^Cæ4ž6r÷/ƒÙ˜çè|˜= IÙ½ÂÜÀ}À­îž™õbf¿~‡ˆÜÕÀ?Ü=«¾@·‚™-¼š#ËPwÿ¤Yíé*0³¬f†°c+P Ìl=$ñ[ w»{^]Ên‰†#3›tQE^žFÊ«Yí1eÁJ_C;¦µ‘1ÖG€{ñy'x0³e€g À&îþh¸??òŸô‘»_™Vap%üXâöËÀ?€ËÝýˆ=]›Q£tä F}ò¸;/гƒÝãî?¬ž¬û£!gFaŽë`ŒŽ@MŸ×F"èhùv*R–½˜ÝÝ7r÷?»û-î>21),‰œôÍLÐà7³¡À©hõ@…:§Ü[ 8 øÈÌ.2³¬"å¦oô^¦¢Çô£FŠv¯‡,'ôE„gjó]”_ !…;Ñ6öƒyãD,r ¼¿»ïœ!ïáâú?¶3³ã€s 6MF™D 4=¦5„…ƒý€Õ¤[š{ðz0éÝŽ £>‹>ÒêÀúA{.$øð(pƒ»§j8»ûfvshkäfºªh3[±«a6à·ÀOÍl?w¯Åvî3‰(ÐÔMŒÂÌß5ëoN|Ü|Ýáî£C}}†Ñ™Ð+À¦ÀÒˆ`½‰Ømeáî×ÇþX)½™­HvŸö#ѹÕPdmüw¿#cÞÓZm÷±Àô‰³¨©‹™ÙÑÈ f#vX#sO ¡Ã“l.3[IÞ½¬èî‘‹€ã̬w3ØbAdý´Û{y1„ˆ_†!ý ÛÍìw¾LúÓ'zÌ$R ©è1ý¨&"Ørgõ8ª{±Üžžp÷÷Sê™ ï%‘¿ù‚sªg’iIˆ‚ÂHðbsä®b‹¸Ýº „»°uH3K¬ˆHÏi²Bq°Q£ÚW [ ÇL"šŠÓjÝÑüÚ ÑIÀùîþn2ÂÌævp÷³‚{‡À'fvŽ»ŸQÃaf}‘[ë ¢ó¤8›e¯¤UwÿYy¸ÒÌú!¿JÛ#O©‘Òî¿‘ùx3›ßÝ»´  E™D 4=¦åÖ3 ^R :Oü[àI$æ½mìþ“À~ÁÆ\¥zú¢É|[d¡áîÞãA9v´³Ù9Û+'zîÀ wÏdëÌÌf@„m¤\ûpc°›×mPè¥#‡žÑÀ¹@È¡gô»§¹Þ™îkgØs‘Nˆ&"ã¤"A‚Ü}²™íNGb´ ð´™ýÍÝJ”?/pr5q¢»ï§}eÚ܉p/‚ÎsÖDb賕Éò%Óž9ü%+!:M†P ç¢Ç¬h 4=¦åeÓmLgÝ¡‰À)ÀßʬŒÓLý<—rÿDJRyWšÙw?»\cÌl ÚáD„%Nx¢0”lt4R|ýK(ç@$µWqW ù0³ï¡³¹ÁÀm‘ÕŒ.Ž3‰h*zL?ÊŦ3³k€ønåtÆólðäºò¾úp¯»?cf€§€Åbù&Ǹûé‰ògDÎöŽö@¬¾yãFICy{?Gmy?Ö§Hpbdh>Ž%‚ø¸#!‹Ü}§œut{t%6™Ý‰Böu÷ó›QW†¶d0ƒÜ½pP 9Øtº{šw‚éywFËÅ~O¶q÷Aúìqd’çC´SzÀÝÇšÙ&h—±r Ñ8ÍÌt÷ƒ£ùʫÀÞfvjȳ6p«™-„QÜŠB¼…ôŠn¯ækÆÝ'˜Ùýˆ¸hÌlU:"«·-Ä( =£@Ùe&Fá¼hØ­‹Ü}Døý[Dˆ~çîÅóºû{ˆÀ‹ÜD¬‹^òååês÷W€Ìl93»;eà“ÑT=Òݯ˘7Žç•‡íCšÅâO[ÞŠüè1“H@žÑ t$ÏÅ~Ç'Œ²>„‚¥ƒ‹‹qK3< €™­ŒÎ•¶ÌÑFÐÏZH¢m­.6³]€‚HvVŒ¯ÔÆ-Aš$Q'´.ˆnCŒ[zvt¾;Z̽•ǽJW‚™-,‹ži`ý€Ï‘ÃÍÏ×Þπϻ¸ ÉnÓêEfbäî“ÌìmJl«o`šbê"±¤Ç™Ù-îþM² 3;ø>ÚaÍô3³³Ýý?™öù1ÚAåÅdàwÄÏåöBÖµûç,¯?ù}-hÂ$™¶3-ˆQca ´X[1„a¤´×ÌÆ"÷›èŒõßîþRëZ› f6ØÍ+y,çO5³/aú)Ôß <æ‘v#w? ç÷  ÁX`ltôЕ‘÷Ìè%JÄh¤´$wLK˜ÙXöD+”8ƛىÈÀêrdù_· ë³¢ÕÏÓi«¹pFôb–BÍl˜5ˆþˆ`Î’F\ 4«®ÿõ^«Rº1 Æ„Ьé/”1Û4&£³â£Íì^àW](™ÙšÈ3ô”ØòyÑ q?£¹k}àÿ€ïÌìrÄM™Ø€æÖŠ\ýÈÌŽBRɽ÷¿#¦Æ$þEŒIHx+ S«ü~ a¦ÎÜ=s@=j̇HaÍDã£ð%:Kò®‡v.ii+…Ç‘ÎNZÜ( _žg¨ò|k"öDôÿèPÏBª£»`ñœßiî&´á˜2u hã{Éú>æêßÐÐná::O2õ„oŸµñ¹†—ÒqrlV¸ Iϰ^Æú‡ç,÷ý¼“d8¼ï$¯ÄÏ­ÈJ6À<À‘h{á]ä–{<2&zv‚™-øâÿë9¯z'\_îp÷_„{ÅΨë KéïT@ÓÚ|}Ý‚$V³âW.³\YqZeÁ"Õ“ÔŒ¨|¶ýª×i)ÂÝ_CR»O–I2pjêîGaž<—êóýýÀrî~ Wñ7× Ôc̱¬]¹2x ±ãD,¹ƒÑÔÈÀêÇ”Ì ÍGùUÑçHŒ<‚Àá9ÛÇ5h'¶M´zt™/úš‚eÁTÄWþi~W4FÛÐL¢¹]¹TÂmî~Iž \ÇÏȘ¼i;#IJ¯„gQI h[SÞîa»vGuõ£ aùWdi£>vu÷ \6AÛ‚šuÜýI3IöAq ’îX4Ô Aì„V%«ÅÒ>OIëû(3»Ô–¶Ýý33Û5XuÞßÝo7³‡ëx.L‰z‚M—kºûñÁ{ÿX˜©ÂÿUP_¨Ä»‡bg.ÉŠqÀþ5Ös>pB†tÍÜU“zkØŽÅÝ?1³]—&¹P_éY¶5÷#3›‡¥©Íœ üÞ»€î^½ŠpwÒ‘ýIY”ÃRHIv,=|³Lº¸uðaH„p3å.oÛº{&3i­@½>Wî ×/©Dˆ"<‡ìÄ @Ê¥i˜=ö{o/¯ÜzÒ8îMGK™afKUI2bgÔâõKt€ÚÝÑLbô$òL\ ‡ºûuÖ•E£¿Y,Ù¡TŸ£f7³J,¨ZpaŽð]ßÖ4Ç}Ã)Oˆ†«w%Bõ£tS#…›ÛTˆ‡Î•®Aâ²r Ýý¿h°CÐðÏ‹jÚÃC€ÍlæÊ.]z(%’$ºËΨiÎõ‚ºÃ¾h×™†€MÜý¬T×Nb”Õ8ñ•fV½›î>ÕÝŠÄÉç Rew5ªüœÈk(u¤°?{™$7ë×+ôÑ ÔŦs÷¯ÍìÄï¯!„ˉi©ÞèlaĺÉÝjfk#‡ÿå©ÔÝÇ›ÙìA? ‘9úÁTðÕT qp¹+ùé ‘îBŒšÚNw¿ÚÌAž£áhÕûdÕ²£¦ˆÛ»ûWfö•uŒ@¬ü«Ìl{o u}wï :m™úQ`ižŽ¸Eåp6Ú-wIá¢F¬ÞîÍ‘î?”??8ÂÝÿ]E_àD`" ¿&ÿ1³K€/Ü=!ŠaÕ¸˜xs†kÁªk-® üî¨; éDÓÝ?r÷ÝýÐ Ž{¶»o°^?8ÍœÜ^Θncà3;r:ãbTíGf6‰ú—#DSÑÙá!]•Ak‰ÑRH¹unôâ’x--“™ TDÙçGöðîF¶êÖþlnf;ÕȪ{‚”ÕWpR}-Ä»[ˆ0hÒúI±3j-²\m¦"rQãÁHY÷]3;b:!Jû‘™}Y Ø´L’ ÀNî~f£Öh4‚=ЏæF¾Ÿ6Ý?û¤#´#yÄÌöE‡¶› ÝÕšÀ£fv:𮻟êîWײ*t÷ÑîþAJTÜcdAŒZ;ª'é²èIĨ+ìŒâ œŒvJ‡O'D©Ìl$ÌRIü}Ow¿®EMª u#wŸ<»5ùJvÐ bëT:ÔÏÜýÕ4ö\ÐSù YB8±è¾@R"{!§aטY^—âY'F›®õx€Î î2Éw—vVC»‰ÑÍÈ?Z-˜-vß1³ÿ3³4¯Á]©ýÈÌ~†¤™«ÍKÏ5¼EMB£$~⬺¾è 5ir}$~äk–5ÜD}÷G/|C$!2XÉÝÿéî;ó¢ÝÙ¾õ<@|Š,"C±3j9‚Hÿ¥‰Û¯¶¡)µ Û£Àò΢ÔÞ46»‚LÙÔƒ9‘ÕêîH”:ô#3ë¸A’MŠù¸¦´ªh„éod=!nnü%äS$i‚Ü«-~*°UJ™û#B³!I»—ÓiÀ@ÿF´=ó m¼´õu•@p;Ú1 3<ü™º™¯±=YßÇÒíþ† xÖ=2>ëëMnÇlHÑ·ñðpíu_¿^ƶ~˳2ZxçyÖÉÀbíîKY‚…‡¬ Á¸éHA´þÄD÷NØYe¸mÏ/D¦F¡Ô³îÞh·ª0³)È}šûóéf¶8ùv!C]«Øéf–uÀ,ã]L©0+Ìl9ÄÿÕ­/€Œ•æqVWK›EçÍyŒÃVÃhäÇìl—-¾–!(¦ÞŸ1ùþèŒ|WjÛq_éî»Ö¯¥h10³›-R˜p2 sðÃpo<ò.9‡»nf?hö€çVèxaÕÄ(9ˆÑrîþBSÓ vÜÒÈvänä×|Ùݳ¸'¨ f¶p%÷/4™¡:Ó;ûOk r£z1mtéó£Fj‰ß—r¯/9Í^ÖµÈÇÑžh{ðSJ‡p†TWÿbf åi¤™­’ø¿fJšÂunJ„s˜Y9­æ’è²gF&üÀÌ2³ë€QH8è/Ô¦ÀÞS.¿:kRòZÚ( ~ƒÎ”ön`¹]½€wu©ÂF£4}£Jn&Lü¿ ØÍÝǸûeÈPábˆmжÓ{ºœëÝòEÐ7³¬+³i†ÍlaàöÀfŒc Û´7¥]ä3Û_ g£Ë£@|–6³ÍìZtf2‚k¼^IÑ–)Rºû$w?Í åÜ=ÔŠÀÅfö_3›Þ¸ ‹£ïÝeÑHbô"ZaAiû9ívªáq`;wŸ»w"RnÝÂÝ?si™_ÏäB$ú{ˆ™ 0³%ªÔCßuÀ¤EÞ¯i¡u¨]‹fx– ÍÄ( õÍìr4i¿ˆXQÛÓxÉЖkõ»lÅ-ƒ ˜N¬’rÊçÀ3´÷¨X=Ï$âæý^"¤¹ªÝâ­ tÑî®r¼•ZÜ®¹Gω9Úø5:—=©gôI”Ù?Œ©jå<ÑîïÚ» "JyÞAµð°vÚº^ my›t5˜]r–3<ù­»Bhô {àE_wm$¥“åÍÊéƒV[ޤØ@¢áÝ*Àò±z7A6ë¦"7密´»Tioœ O‰ï ¬ƒt›‰–·ý£µ¤cĨÜ{Éú>VnQ{fAÖI¾ÉØ®‰Hub w†ò«-$x´Ýß%Ñæ…€Ð8¢ô> Öo#?1zR¡¼ÿæ,ïäv§dh¨ÏwIÉ…Ã/Ýý`w¿¹¯„U€‡Ìl »O¢Ä"ˆL Eë3wÒƒ˜bp­{ÚVßü:kFVûôH³¾bulþ ²¢élºàTîyÄ ¯&)5-ªv÷½ÃÊÂ^Ëâ6¥KY‚v÷wÝ}´ >Ÿò~Ÿ²b~šcá%+Ös÷JD÷>ÏQæáfVÎy[Ð `‘ˆ÷~f6ø"œñTrNõ<²²°’šY_pJƒá`”‡e€™Íˆ„¶G„êh5œÎv>Óº_E6éåsÿl#‘í€fîŒ@ÒmƒÑ¥’øå0tNt9ÒíÀÝO¦Dí?"˜ .†oBgE˜Ùνw'‚‘^Þ©ÔÑh…99”ÇE”D'Ÿ×¥*¨B{§¢q™wv=~+"R Ä©H £@jh812³aè`> þäîç5 Ún˦+wãßQßYÐt“Gõ"®ýsf;ÑÌ6kF{ò Y|í b¿÷F섃©¼;ºø9ð12÷q¢K¡õ´Œxã{R:ŠcVàb¤]¾>:?Z 9òëdò'wÜÝ–r¼§{î>9úZ§RY 4cgtÙÜL töZ/’ÖIÒÐ-vFq¸ûw?Ø)G¶$¿Èò½;ÀݯE^òÔq™­›·®F¢YÄèß”ø²³;»û+À*äÙØ‘ÒÎã(3ÛÊÝoE •ÝSCüJR2‡ëFÀ:îþ¾»ïçî_ºû½Ôá14°#< 5³ï×Z^7Â,ín@7GC‰QœÙ=còîžG²ªÚ²32³íÍì 3»ÃÌšæØÒݯGçoYÐb”å\0 ¢…yVôn®"}ÜT4…¹û7ˆ Eˆ¶ÿª­â_ÆñA¡¼ÿ"_Fý‘e ðgÀï) ŒB;«d{ê12ÖÌV ¿ ×¶® Z„v ¼é Þ­HöUršâZÑ®3£³ÑBvd !‹ÇÙZqÙ$íjõ8[rïŒÂb$¯8úà3KšGk š)~z~ì÷ÊÁ:ö}¤‹ XßÌæp÷Ñ9јgHdõoHóz°»q÷7êny A#²£žÀªë2"ŸÝYØ[yE„;B#¿]bÔè]àÌHz-ª4ÑÈgX¬>›!i^±øJ¨äû-ŽšˆLÛõ]™3ÛìÀÝá|²¥h1r÷g) 2ü9Lìy^NoÄ¢‹Ê|E«˜y‘$Ü‚ÞD?$îþR¸~вY—};”chÂ; ADñ#Qý’’Öy³Ÿé•P׊ͮ« …äµlü2ÂÙöö7ñ½œ“óÜÐÀº{ÇúxÖð°+`ë˜)¤½†ïŸ%<ŸãyÇe(ïb`æ:ßë``d•z&Ó@— ”ÜÜd # ªûu|¿K€Ùš6¾šUpâ<f#Īs¤s4%ãKX1QÞ ˆtpp¸wkH{^"íMxž³C]'µâýµ2?¢vÓû˶ûšô^澨ᜠÌÚ 6ü³ÆïòR(ßífDRS‹#5…_#CÆ꘨²„/^ŸõãŒeŽFgÓkÔð>×@–UªÕqZûQïð=ò¾»ÿ4¨þ>ÈÞg­ßðCä ·o#ÚÓ¡m-È{„ù/Z}ý/üÏ:é= ÌP¥ŽcH!”YÑ„8_ϳU¨ëm2®:»C@ì¹o0é”íÀ¥!m'VZ-•¸——íœ~?꺱Uï°ÁßcS´JËûƧ´ûTx7ƒ‘ÀL#ÝW— #€9r´màæ&¶gp.±É -VjÐoæ­áÜ݆~·³ÔÙz!ög«Ú|qÎöýúåBnϸ­àÑîè;´â<;ãC G¢ÛñÁr> «ç÷h€oŒÄO âøÿa`³v/rl-‘Ï¥ñ±z Ò[õô-fA¢Âíìé¢;$J‹šV…ßål_OÞG, ÔÅ2-“§¼‘ÀNu|ƒm‘²f«ûågÀOÔöjqÛ§’Sˆˆ’ÓF†‰ÔpNÚêA}œ“Ë«^¶Ð=$Øwˆð<šH·Z¡Å_ÖZè@÷ Žg¸/\"–‹#sý-}—u~‡‘e«z#«Œ.CŒ~‡ìÄœnf "µ{ÆüÛ"#ˆKÑùüèC`m$ÒËO™ÙRÓo„¬KD8 Xìof¿ÈYwµâ+$)›6Ô"u #ËÔ‘Åû®l÷JïJm.ÐÐ¥ˆQ¤;4ü\bfæî7"KÜY0 ­~ÇÌŽ b×Qù#ï†q«ÅS‘ÿitr?å&Äõ‹Ü}42ñðW3[+ÓS(PÜ}²»Ÿ†l;6³ž‰î~pg¸Õ,¢W7Üý`d…ºp[{"º1p÷kY €õ€ãË-¯0Ã씈ґÁï ȇLÜèêÈÑÞ6È’Âä‹o™Ñˆ*0Í î~ýî\ÌÊ(Ð ü¯Eõ|®]z‚¶w¤K·µ§¡Ë£€½(™ûù9²ÐpÙLú$1;pðZÐûé ¼‹_IòÍïî[!íO†¸ÏéH¸ÊQï¤ %awäÒxpCÐ*P Ùˆ\šÔjóqzDÄ )ÞIB—$FA÷h´r 9]VG± !‘íÛã€kbqý€sÌì´KÚØ ?½K—Ùš»àîL,yïŽ&‡aךˆuɱÞfĨ„ã[]n—í îþðÛð÷° ÑöœÅLEnpo¢¤4»bÅ-Ÿ’~ä·þ$±Ú¥ý¹¡>b±¸-B?Ÿl“(óÐo.Vÿ'…>ö½DÚ¿ÆúÙèЖ›D©£IsöŒÏ2(L˜ï¿A:}ç#Ë÷ÑóíœÈ3±ºßD6×B¬rGÊíQºÞáy¢rÎúÄâ-´Û±ê‹[q>îADk§0¦§&õD›¢9a±”¸Ýa½Ø!?Ò ¬K» REñðnÇ Ÿïd¯XžEÐ9Š{(|›‘ˆèEsÛ¤|ïˆSs'"þQ¾¥´}ïÿÒжýÂwþX:–n+¤»éh®»?Ô÷ :«êx8Qþ∫ä¡üX»!c¥Ýƒ5ã X?¼¬ÀØ­(³£Ñˆ5vDøHO%>jZ˜Z!î`‹œí:௃ëÊPæx`Ãv¿ç"4­ÿöЇ$â ÷ÿ›¸?g˜X~›¸¿Z=߸M(çe`¶Øý³Ãý{¾±ûKSš0/Êð †vwSH/4ÁŽ"îÿ0voáØx:8vJ„â—)m¸Ï8‘š ºq‰û„rÆ# !.ªcñÄýuÑä|oâ~JtD¢žcϲw¢]W„ûc€9cq›P"o Åâæ¥´Px!7k¬ÿN´ñ{ˆè<š¸ÿþ­¨ hð§X»ÿ q½AŽâ†%ÊÛ5ÊÓðqÒîš¹¡¢À\þ÷B+Ëøj*-3û/ÚÝ üXÊÝ7s÷Q±ô•½o ×93ޝ®OWIÇ2¡þÏ#Ììt¾0±ø†ºû¥ñ îþ Úå-„u„ýÑyE¢Ž¥ÃuŠ™ýqO.E“ý:Àîþl™öM{æà~f±ð÷–dBwÍ ?ˆG…k'Scá;¼þ&Í1Eß(MB÷¡pMÓƒz,\“ª!Ñ{bfW#5’ß óÆeÝ}]—š¨mãk×Ý=ÍjÆ}á:SJ\SÐmˆ‘»OE«ËÏ€ó#ÅÑð"«I¹bf1³5“’6îþ¹»Ÿçî›!öÁ«ˆ_}9"K Á±=:X¼¿}Ðvû^àN3»£F#‘ Æ~îˆÄÁ L?p-+#éÉ£ÁÙí˜×GÃOÌl>tæ1 :¬Ob®p]íìq÷µÝýw%%}Y‰ª0YN^ í«„È`p…í¨­CÐn?$ˆ±—»_—Bh#ŽvAÇ™Ù,f6KÈû'ïlIp¸.…vCk¹û’î~¤»?œ’>Žøü7Oì÷eÒG“ù×ÊL"R 7Gž‰ášÖö‰)÷ ô–E»ãEÝ}5w?ÑeR-/"+5-£݆¸ÌùìŒ:Ëm‘©w¿ŽzCi8Iâ½af›Ù²fÖÏÌf3³…‚ß¡m)uÊ€‘âíhu8ñaïA‡Š' ÕÃ&È'Ò f–ÇXäo(­¸F"¶Âýf¶OŽ2 t¸ûhw¿<²è~2pB˜,þ‰X+Ç ~~Ú®J+íÞîþ/—N^%DÄhp2",èú’ÍdPDèÖ7³y*¦,áÕØïgÝý±°¨¬wYàŸù";±!Óô £:fþåîogltÜ5¾IÉ®ÞJš @ª sç¬X±÷žÏ‘'B Ñ{è‹XhŸÕP_ÊшT~ æûµ"P:œ¼‡ÀïDái² 5ä (‰x~™!ý$`ßϳâ-G‡ÄQ9'…Ÿ[„îô[tFôV¬ÿ.ú#¶Ö,eòïë›&âfF‹¨åc÷. üÙéßÐj¿ª4ÚåÄϥ⒡ýccoØýÞaÜ8ð±³²¿eÄ”Ãxþ_xOßÛ•I·XŸŽ;‰ú×'!­ŠØ¥¬–¸]¬­3$â~â.HÜ_.܆˜„_ì›:pfJ»/qž é4:phJ\TæˆÄýè,§S™áûlCBÄí²¾+ó^Ï e횸¿F¸ÿd…¾òtFµI¹4©ùš=øšbƒìÒØ½yëà‰‹n'ÃÛhR‰˜Äÿˆ‚ó»s’°ÂóìX¦Œ‡€!í~ßEhhß½ºÌ@¿$Ü?ªJþHÄy2Z ŒXvß"A\''SÑBççÀ‘žÑÇ$ôuªÔ»¬_¾Žvp§„±61ÜÿФ³V¢$ö!2Íu<"Rc+MX”„î¯Ò®Ãbíz)©ÿ±ô_¢ãÁýòˆÀyH307wh¿#®ÈFˆØý-îú'ê^.V÷ƒèünCäÎæ1´ëœ)‘§7%‘ð‹H,8)é†]ò¬;ž}R0"pSÐøÁ¡¯}úÉL±´q‰Æ4ݰûCÜ?é¨rÐ wGºXë"a°EBüÌ”„ÂFæí˜u è>”dÞO‰¿°é“{ž )-îJ«À(Ü…äìW £ÞHµp; ‘Ü~”o KwÄÆ[±Ýï¼ ë»ÃФ™ì³Ã´fê®(–®7š€_D»‚§ÂİWç3!ɼ{‘ÀD$žüW2ê%ÊÛ‡’÷WH=aýØ$ù6°S"Ï÷Ñ"ñ“Ч¯Eóg¨ïaR”ySÒE“ÿ7hÇy:ç%–f@ˆ‹±/è(>=8 ±ñˆ=@Ll;QoDŒF#؈ð¾$€“;¬>HÀbj(ÿKDØW ñK´ï)‚îRiù"¼÷¯BÞÓce²ŸùBèÏ#vçÆñv E{$Å;- î&,œ‘äDJÒƒïÓ_CúW‘Dâ§èŒ=®÷‰O&‡RuÛfƒzRns´Zœ5WMä»Öð6¥m~Öp ÙmhŽCƒêDJDñ;äï©o3ÞeZÞwû•¹¿pÎr¬™é+”³@²O«V+¿†ö¦¾§ZËGÄ “µ€,m¥DŒî ÿ{Óó*÷LåÊùg¨÷;UÊÊŸ íbª½¯^åæ®rÏžïyàéhÅu¾»ïïîk bt%%C•;…2ªÂÝ_G’{ùûÆ¢—3³3Ílæ´ü (Ð.½ËÐâ<3º=1p÷w‘‚Û+ˆç{­™íâ—’GÜ3Âè,j:¼‰}o‡x¨«ÒQ!l!$á|ä#þŽ÷5³ãÉwŸäîÇ Ýѵhk¡W¨ëE3Û8û#(P @ó`fK!Á-=Ÿ˜}÷gÓÅafƒ‘ Áòèðl{w¿)hW/‹É>tÖ^NÃTJ†#‚ò Úí<‡$lvIäƒ$y.GzÇ#B¶p"ÝÙÀ¯<ÇË7³ú9RˆŒãàpw-ky ¨Áagdñ`wÿ´ÍMj+‚ÓÐÙ\:¡ùòNOĦ™õ¸ïŽÁ½±øï¡]Î’MlƇHÂä6tŽ5Úá|…´Ý¿ªµàð|?E„u5JJ“‘ïï½£9˜¶"X˜ w¥T ëÂÌ6B‹£sݽáŽÖº‚µ{$h Þ‡DökñJÝ£1Ý#˜æTê´K‡DMo‹ÅD†7kAsÆ!Ü‘hë¨XxßÝGÖZ°™Íža $ö9+Úý ø‹»O¨¯éµ#LVÇ ±_âÛHøâËvµ«@}0³¹‘pd í0w?£MjÌla$¶þ],|íîï´µaÝõˆ“ü`«IDATvõ€lÙ}‹äõ¡£àÞè\(M{RÊK*¿Fa,%]‹zÂOôœó ÁOÄÊ~ÙB›§Åï¼/ò •|Ö¿³Þ\„î.Ë/(ùa:¸Ým*B‡ï³,2Ê›êX°+‡éB€¡Üý äxëHgç}3;ÞÌ~à2 xb™¬ç!¥Ùrî‹_D–Ÿ ÿ¿A<ã<¸ÖÝÿU=Yu¸ûG.ÖÜH¤ògôÌ·šÙöfÖ·l! @0hyÒüNâàA/o³@7€  Τ[.Ð>üeïÛî†äÅtMŒ\n&VB:Gs¿F˜Ù§ÈDFŽ«PìêÈŒG¤Ãt?#?,C“¾@;®Ìlµ é3Ã%=¸)òŒ¡7ÒN¿øÐÌÎ FaŠ`Hò$fŸ†)t”6,нñI¸VÕ›+ÐR܉,¶œÕî†äÅtOŒ`Ú$½1?Ð$ži¦ùãØiW"` ¶ÙÅÖˆ05.1÷ˆø&1y}ÞÌž1³Ílözë „è7ÈÜL9êµ™²/P K é~¦+¶ÁÝÿèî ºû]­jS£Ð#ˆ€Ë¡Þ¡È®R¥ƒýÏ×8²JÞÍV%þ$´kÙ‰—÷ÉXn.¸Ä*7Bæƒ"3ôIsô+ C®™ÙUf¶mˆÈ…@ˆîD†^—.“ìoîžæ›§@n`iáã Û®6ì…Ž¦KôbÁÝ/ÖBçHiBÉ«%H·¨^¼…Ød÷P:[‚”V/1³Íl3;Á̆•-%\žpO@Dçt:{ÈŒÐY‡ø/0ÊÌ^2³sÍl3›·RA*ñ.ô¾¾‡œ%qÚ¨¼°VËß7H˜¶¬fÖ¯ÞúRÊdfå<õ–måž/ø'»q²rS*Õ•û[˜Ùîèh Ú‚·âwJ‹«´ÛÊ{Îlfµû9j·E»’>ûéRn“ÑùÇëH$yJ">‹O£ZÃû¤¸Œ@Â?#HÇ!'›"ɦŸ!{xe±")¨Õ‘!Öí‘é÷Õ(™Ì/ÞB® ~ |?VÞ@´ƒ¬”w4òìÙöïÝU²WøÛпÞDÿD®¡Ó¾ù>ÈîáBÈ+ðˆÀ ýóçêÚY螈¬+ÿX,g{û"åí7Â8ø-оßxßDú!ý‡H¿n)äRâÕ”´†\‹_‡Xá/ E[ÒÏ,H¨h\{³¡sÐ Bÿ|>Ô1GÎg› ØIŸ}†ØÌgÒÑeÂ@:JÎ~¼ÂŽ9êZ9S|Yë¾ ¹‰Ï’w]:ÎAo†ú_&&-‹8-{„w½dJ¿;yœ)âŸÊ™Œ¬Ê¾ÉzH¹ÿPß(¤.’j`™>» IX~žmËÜc£Ýƒ³Ý!¼øczT¸Ÿ#?s!SðcCü˜ðò_§:a©5A„ãTäýur¸ÿ1ÿDUžmr91 Mà›"=8'æt/Ô}x¬î3»ü wê:4|ã[q¾4”uaÆüs!âàèœù·¡ ÇÒ,ÞIÔÎÆâf }.Š{6ôŸ‘ÈÿU|q-:^®J”ùë”¶mʺ-ˆ·A ‘)Àf¹ÆG»hWhzHl <ŠÎ[F ‰w)ÄVûK\ñ‰ Yá¬0£Aýbµ•Ó}r4I=û?9D+«ÛƒVI¿B~c’;ÀF„OCûoF+¦gaÿ Î3Ëöþ)më‹ÜºGeÝì€,£÷A+ÛÁHŒ=ò5µ"˜¹VÉ-ècs ]èX&ÚÙzø¶+Ä&ïkéXÜœ”üy]œ(o«pÿœÄýá”úwU× ”8ó'îÏE‰ %w;ëP"H#Ñäô#Dp i,ô‰N„-"Ï­•iÿ:ú)Z”ÒØ=§Ús…<û…ï±nìÞI¡ŒcRÒG~Š2ûç ùfC‹‚“ ; ´ t¤ôžµœÕBžÊÄ÷¥ä”Ï ñÃ(ÛO€%bqbqo‹Æâf äõõ™D™ƒƒÆO÷éGÇûlÕglÕ`ìœKÐ*æ+J«×å_:t¤ËhÎÄ ïÒqeé±êh²:×fáæHÉ3mÉ+:)C¢ïû¡‰b\ŽvN u~´yÃxäpîfàâ0°>©±,G«å›‰9ksß:-´ë’”8£´r=9wF¸xJ¾Èóêý‰û÷„û»„ÿƒî×”ð­Î'…ø'ÊX2”ñj™øh‚Ú7%î_!î7eònâß"ÅŸN¬ìá‰ûWU¨ó¨JíÍø~ÊømJ\Dìr£2õô ýóƒy"¿ITI9Í[?%¶Ã‰Õ/N‰['Ä}š¸¿O¸Møß NE¬ÿ§aYŸ±Ç 0T‚»æî{#þî›hR<m‹ÏA&†NEË2!¾™&w¤£û€GÂõ3´øh¼=<Ãh+?±jCl¿_Ï™Ùf¶g‚ëwÿÄÝÏu÷!–ËÆˆ-“¦Ð{+Ú…ôq÷^îÞÏÝgq÷h·²"’< ‚ë{ Mœýä«ie4Qíˆâ\!¾’$ÞxĸĽCYª·•X#\oKF¸Fòƒáïb‰è1á:)¥ÌûÃ5iø7$YÍÌ@‹š ‘"ä¼îþKw_¥½‘O-<ß„ë[eâ£wqGxö$¢çJ¾‹(í»)y×Eò |˜Ù,A@à¤p«iºSf¶*b×õ¦³„k# f¥•ÙÄL{¾h^Iû‘tqR(%ÒWœÉÌ®D\ÑYÞòî¾’ç0wÖv¹ù®wÂÌVA²ÿ„X_·"B4ñá ø#âsÿ­Rç¥Ä~ڈίØ0\‡ 6Õ¼À7f6ÐÝǘYÔÙ6DlËÑî.ª!\jf#6ÐÀuîþf”ÈÝ¿î6³‘ˆ ²e¬ŒqÀ.¦NˆÄgÓâÍìć'Ô=ÚÚW{fÐÖÿP4a}…f‡¢]ÝPd+ì`Jî=¶53+3鵑dâ\eâ#Eå<ºgJ˜ˆ…¿‹ Ô}žßNaÔwÌ™/ šñ."kÙoeùÖfÖ ÁþíoA6÷v%}B®f¶$”Øí\nGgTÍ FS׬ˆ;ò¹û¤2ô}Îp]¡_yVË bT.¬˜ÙµH¡ó—Àæˆr.b)í†&Ç3Рßu¸×ÐZ¤Îf<‚ÄÐËák´‹ø5pŸ™…¤‘æAR@÷ Âñ-šœÿ…Î]®BÄthë'™Ù›HÚç%4a¬‰v_Éž83ðŽ™M åÏBD¬?…o[¢Wˆ_yå°8• tÔó„X©Ÿ#–dµÝý]€ú͈÷Ÿætl½p}ªžJÜÝÍì5´jà1Á9)z¯jf‹¹>6 QÙ+™Ù îž4)->ò¼‹•Â5«ä+€“Ü}˜¦Ç³+•'ò~äà†˜Ù&Àˆå¼¬Ëé'fv:µ£¬¢ÓµºÿB!îéÄýcÃý)tñŠØu Tiï,ˆìˆM3G,®?%á‰CSò^âv/Söb”Î>÷I‰=ô×ä{Š*vKÉs>g føsÇúÇ|±û‘ ÉïSò¼â:‰àW©ë†ï±{½Ñ˜Ë#À0WÈóy•tw…ú6I‰‹úÒa)qÛ†¸óSâ,ÄMÜ_Ž’@Õoqý‘ Í2?cž[„iƒô04¡GúA¤8Ú'‘væÐÁŸDⓇ¢•ýÂätNèµúW#LgÐY'ê|D”Æ£ó 7žËʈÇßnâÑÈð8°E»ûL¬?\Ú5*ô‹•Ђá%$ÅÔIòíté#Í•ˆ‹&ÓYê±7í†ÞÇTà„ŒíÝ!ö.?@bèg!êñáþhD|æ yS:옄$^¬ìƒ±œŒT'VGg”7"¢²sJžˆM@ ÁŸQ²4òUZž ÏöR(ë*$ž|ÚÉGÏô°V,ýCÜ=Hk `ë õò½‹$~ŒXþÑ{œž±Í‘4ሳ¥/gAªŽ¿s$ò?âfMÄûf3$âVµw‹Dܱ±¸á[^‹Î eþ&í Ý5 –ÓHþ?"&¡ÝÓ¼)é—GRBŸ¢Ii‚š<–A»˜G©<Áæ /§Ü{‚ŽÄï$lð~ëmWø†0¸É¨P؆~³:›øMz†œ&Ú­d'"¶äÀ¦!netX=&<÷Xà¸Dÿ<2¼È(ðaä_ÙoGi‘ò "‰…ë€Þ±vmŠvd£…÷IÀÉ©c8]:×k5‚dÚ¶è iC´­} ­Nþ뱃þàfaWt5 u §‘ÔÒ3HT{+$8Q¯7Ú Tç1O@WÝæbZŒqhÒx €ÀÛ>uèÐW&{$ÆÚ2+0&þ~ƒõ÷­zçfö´³ØÀÝï/sÞ”·ÌÞ.w2MI_o¾2eÕýÜ]1j0‚ì‘¶ú&ˆ×û<²ýv'¼BÚ•¬þêH ,)¢[ 3^A’xw6jp舣õÝý67§@ƒQ£&"ˆÙ®€ÓfH¤ÚÑ„턞EÛé±H‚mXßý^„ìR4ÝÐîð‘žEl‡ˆPï„X(.(ˆPÏDAŒ¦oĨ…HìšÖC¢¾¾@‡Øo…ëÛ±ÿ!q텑Ĭ±0ñ±?@BÑu(bnˆD·ÓÜC8"ãC˜ƒÖ½ÏÐnñàwŸØ¢z tSÄhúFAŒÚˆà‚aÉ–Š]çO$ˆã„jÚowÿ† ;´y‘ôÒDtð;ø.qÐ Z¬tªÖC;”“‘¾ÑV5?¬ßÈ~Þ5ÀC.]®ª"ôáçþÔÙÈEÒ=ïÆ®ïQ2Ï3x©Ñ,P Ììh:švú)¬žÞ¦&h0 bÔ V‰³Ñ‘@%ܱ߳ÓÙŠB5LAD+"b_ "ó. Ï{^ÝÎYuÁÌ"[yßQ²œÿ¡»Û¾Vh$ bÔ<9¦DœfC»•oË…‚R @V¢ F (P í(\H(P @¶£ F (P íø±›¸Çw€5LIEND®B`‚Flask-0.10.1/docs/_static/no.png0000644000076700000240000000047512156311351017476 0ustar mitsuhikostaff00000000000000‰PNG  IHDRóÿatEXtSoftwareAdobe ImageReadyqÉe<ßIDATxÚœS ƒ ´ÄXÁŽ@G°#è:ŽPF°#è$u„ºBWp…>ɑРö“ Dþž¿{¼Xk D…õSœì_„7Aý[`&H„õtð„”1ƒëò¤`{i:An ·‘CWdA*rþ€L'y7´„ù¡`t¹=÷ Œ Rz‰æÜ?’ ÝIh3Ÿ½ïbÍ™Bª‹Ÿø 0ðƒ._]ÒðIEND®B`‚Flask-0.10.1/docs/_static/touch-icon.png0000644000076700000240000000705012156311351021126 0ustar mitsuhikostaff00000000000000‰PNG  IHDR@@ªiqÞsBIT|dˆ pHYs±±õƒíItEXtSoftwarewww.inkscape.org›î< ¥IDATxœí›{LS÷ûÇß½RËMÀR)6`æ* •"rÙØ  Ža$ qØ8§¸è?ÛÄ1ÝÌ’Ý‚3‘\€)D’Mç¼0/@¼@2‚0AZ&C¡-÷^žïûzò­\…¶ì—ß^I“öœóyÎó¼?Ïç|ÎçRþÞmf›˜mf›˜ì£ÑˆK—.áÖ­[±…O6eRöìÙ‰D‚û÷ïãàÁƒ¶ðɦL*@DD¢££‘––[ødS&`ýúõØ´i@«ÕZÝ![3¥‡ ›ÍÆœ9s°ÿ~¼öÚkðõõ…L&Cww·µý³>4z½žrrró™?>óýöíÛÿ?Á„œ9sÆ,x´téR:|ø0y{{—Ë¥¤¤$ÊËË£êêj2™L¶òÛbL(@cc#¸D"¡wÞy‡I­VÓ™3gˆÃᘉsòäI[ùm1XDㆠ‘™™ @€€€477C @(B©TB¯×cîܹؽ{7ÀÁÁéééP*•xõÕW­Øp-ÈXªTWWS\\œY톄„PFF}ñÅÔÕÕEׯ_'"¢ÒÒRrttÕT¢¢¢èôéÓd4mXŸ/Ψ P«ÕJ¥0™Làp8€¨¨(¨Õj466‚ˆàêê ™L†””\¹r:Ðh4HNNÆÈÈüüüÀårqøðaaëÖ­ðõõµiåN‰ç¡M›6Qxxø¨6€x<EFFÒÞ½{éÈ‘#ÔØØÈ”ÍÏϧ7nP[[™L&Z¼x1 ‹EÙÙÙôäÉÕíÔ0àÁƒ´lÙ²QAÓ®]»èìÙ³¤ÓéÈ`0PMM ýøãÔÙÙ9¦áªª*Z·n¥¦¦Rxx8ñx<’ÉdôÉ'Ÿ^¯·IpS §§‡ùùùQFFñx<ÊÊÊb.nll¤¼¼¼1 ©Õjúé§Ÿh×®]´hÑ"@Ÿ~ú)sþéÓ§TRRB§N"FcÅ^ æP\\ŒmÛ¶áèÑ£`±XHIIAbb"îÞ½‹[·nÁÞÞ~ø!rrr ×ëQXXˆ‡¢½½---àñx EXXär9þúë/ØÙÙaãÆ³Ò´§ ÷Ù—{÷î!11===¸|ù2222pá”””àþýûˆŒŒDdd$²³³qíÚ5Æ@ll,âãã¡P(ÃïëëCqq±m£™ŒkÖ¬AEEüýýqéÒ%(•J,\¸ï½÷ÜÝÝ188NÇ\½z5ŠŠŠàåågf´ªª ÎÎÎxòä‰í"™&LÐëõ‰DprrÂààà˜6›C‡ÁÙÙ6l€««ë˜Fßÿ}Fp¹\|ýõ×Ö`†0£A‡øøxttt0Áóù|888ÀÓÓåå刋‹CVV²³³áìì 0™L£Œj4¸ºº¢··×FaÌ€ÿ}"ž>>`³Ù8vìÎ;‡—^z ååå8vìRRR0<<@¡P`ÇŽ`±X ÿŽ“‰×_7nÜ@pp0–/_''§q ›L&,]ºOž<›››õ"˜!£2à•W^T*ÅòåËÁfÿ}šÍfcûöíHHH@ll,6oÞ .—‹®®.ôôô˜•?~ü8 ­­ mmmøã?¬Å sRtÕªUظq#ÂÃÃB¡¨­­EGG:;;ÑÛÛ‹ÁÁAdff¢²²’)[XXˆS§NA*•bõêÕhnn¶M$ÓdL¢¢¢ðàÁfV§¿¿J¥+W®D@@.^¼­V‹úúz…B¼ýöÛhmmÄÇÇ£©© ÝÝÝ ¢|Œ9#ôèÑ#š7oþÎ {{{«Wætwaäƒ>À±cǰmÛ6`z„¢¢"$&&‚ÍfC$!$$d\ãB¡r¹—.]²°Û–c\-Z„ÔÔT<~üجöT*‘±XŒ¢¢¢ o°fÍœ;wÎr[š‰ÚGee%mÞ¼ÙìÕ˜ÏçS]]uwwSvv6õõõQÿ(´bÅ êëë³|¶® ÆÆÆÂd2aùòåÌ1¡Pˆ%K– %%>D\\–,Y‚„„¼õÖ[8qâÓ\€¿ß ¾ùæ+Uá ™L¡¢¢"Ú·oq¹ÜQ“¥(,,Œx< oooJMM¥ÜÜ\¦üðð0yxx‹‹ 3Jü'1©ÃÃôjÕ*Ú¹sç¨à¥R)SEEÉårrqq!‹E!!!f6Î;G€>úè#«2]&]çóùسgL&,X`v.""›6mBdd$::: Õjƒ«W¯š]ƒï¾ûÃÃÃèìì´DâZŽ©*µeË:pà€Ùb‰³³3ýöÛo¤Ñh())‰9®P(èâÅ‹£V‹u:íÞ½›yIú'0ezzz(::šJJJÌšÁ›o¾IÔÒÒBfçRSSÍl´µµQ}}=effZ<éÂÉÍÍÍJ¦ˆÅbÔÔÔ€Íf£½½ÐÔÔ„#GŽÀd2!00*• [¶lN§CUUbbbàíí pvv†““pçά\¹ÒÂùüâ¼Ð>ÁØØXètºQ޳Ùlœ›ÍŸÏ‡´Z-‚ƒƒ±lÙ2F´¶¶âĉ¨««ƒF£ŸÏGOO:;;QVVf¶fi• xž«W¯¢²²"‘aaaP«ÕhiiA{{;x<JKKÇÜMÂãñÀf³áåå©TŠ›7oN¸;R©IIIˆ‹‹ƒB¡€@ `#ž100€ÚÚZ477ƒË墡¡0ÐëõÐh4°³³ŸÏ—ËÅÝ»w™—9sæ@¯×Ã`0LxÄÆÆ""":*• ÉÉÉP(fY÷ › ðAbout Flask

Flask is a micro webdevelopment framework for Python. You are currently looking at the documentation of the development version.

Other Formats

You can download the documentation in other formats as well:

Useful Links

Flask-0.10.1/docs/_templates/sidebarlogo.html0000644000076700000240000000021112156311351022227 0ustar mitsuhikostaff00000000000000 Flask-0.10.1/docs/_themes/0000755000076700000240000000000012156555065016360 5ustar mitsuhikostaff00000000000000Flask-0.10.1/docs/_themes/.git0000644000076700000240000000010511774031723017133 0ustar mitsuhikostaff00000000000000gitdir: /Users/mitsuhiko/Development/flask/.git/modules/docs/_themes Flask-0.10.1/docs/_themes/.gitignore0000644000076700000240000000002611774031724020342 0ustar mitsuhikostaff00000000000000*.pyc *.pyo .DS_Store Flask-0.10.1/docs/_themes/flask/0000755000076700000240000000000012156555065017460 5ustar mitsuhikostaff00000000000000Flask-0.10.1/docs/_themes/flask/layout.html0000644000076700000240000000110611774031724021655 0ustar mitsuhikostaff00000000000000{%- extends "basic/layout.html" %} {%- block extrahead %} {{ super() }} {% if theme_touch_icon %} {% endif %} {% endblock %} {%- block relbar2 %}{% endblock %} {%- block footer %} {%- endblock %} Flask-0.10.1/docs/_themes/flask/relations.html0000644000076700000240000000111611774031724022341 0ustar mitsuhikostaff00000000000000

Related Topics

Flask-0.10.1/docs/_themes/flask/static/0000755000076700000240000000000012156555065020747 5ustar mitsuhikostaff00000000000000Flask-0.10.1/docs/_themes/flask/static/flasky.css_t0000644000076700000240000001413111774031724023271 0ustar mitsuhikostaff00000000000000/* * flasky.css_t * ~~~~~~~~~~~~ * * :copyright: Copyright 2010 by Armin Ronacher. * :license: Flask Design License, see LICENSE for details. */ {% set page_width = '940px' %} {% set sidebar_width = '220px' %} @import url("basic.css"); /* -- page layout ----------------------------------------------------------- */ body { font-family: 'Georgia', serif; font-size: 17px; background-color: white; color: #000; margin: 0; padding: 0; } div.document { width: {{ page_width }}; margin: 30px auto 0 auto; } div.documentwrapper { float: left; width: 100%; } div.bodywrapper { margin: 0 0 0 {{ sidebar_width }}; } div.sphinxsidebar { width: {{ sidebar_width }}; } hr { border: 1px solid #B1B4B6; } div.body { background-color: #ffffff; color: #3E4349; padding: 0 30px 0 30px; } img.floatingflask { padding: 0 0 10px 10px; float: right; } div.footer { width: {{ page_width }}; margin: 20px auto 30px auto; font-size: 14px; color: #888; text-align: right; } div.footer a { color: #888; } div.related { display: none; } div.sphinxsidebar a { color: #444; text-decoration: none; border-bottom: 1px dotted #999; } div.sphinxsidebar a:hover { border-bottom: 1px solid #999; } div.sphinxsidebar { font-size: 14px; line-height: 1.5; } div.sphinxsidebarwrapper { padding: 18px 10px; } div.sphinxsidebarwrapper p.logo { padding: 0 0 20px 0; margin: 0; text-align: center; } div.sphinxsidebar h3, div.sphinxsidebar h4 { font-family: 'Garamond', 'Georgia', serif; color: #444; font-size: 24px; font-weight: normal; margin: 0 0 5px 0; padding: 0; } div.sphinxsidebar h4 { font-size: 20px; } div.sphinxsidebar h3 a { color: #444; } div.sphinxsidebar p.logo a, div.sphinxsidebar h3 a, div.sphinxsidebar p.logo a:hover, div.sphinxsidebar h3 a:hover { border: none; } div.sphinxsidebar p { color: #555; margin: 10px 0; } div.sphinxsidebar ul { margin: 10px 0; padding: 0; color: #000; } div.sphinxsidebar input { border: 1px solid #ccc; font-family: 'Georgia', serif; font-size: 1em; } /* -- body styles ----------------------------------------------------------- */ a { color: #004B6B; text-decoration: underline; } a:hover { color: #6D4100; text-decoration: underline; } div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 { font-family: 'Garamond', 'Georgia', serif; font-weight: normal; margin: 30px 0px 10px 0px; padding: 0; } div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; } div.body h2 { font-size: 180%; } div.body h3 { font-size: 150%; } div.body h4 { font-size: 130%; } div.body h5 { font-size: 100%; } div.body h6 { font-size: 100%; } a.headerlink { color: #ddd; padding: 0 4px; text-decoration: none; } a.headerlink:hover { color: #444; background: #eaeaea; } div.body p, div.body dd, div.body li { line-height: 1.4em; } div.admonition { background: #fafafa; margin: 20px -30px; padding: 10px 30px; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; } div.admonition tt.xref, div.admonition a tt { border-bottom: 1px solid #fafafa; } dd div.admonition { margin-left: -60px; padding-left: 60px; } div.admonition p.admonition-title { font-family: 'Garamond', 'Georgia', serif; font-weight: normal; font-size: 24px; margin: 0 0 10px 0; padding: 0; line-height: 1; } div.admonition p.last { margin-bottom: 0; } div.highlight { background-color: white; } dt:target, .highlight { background: #FAF3E8; } div.note { background-color: #eee; border: 1px solid #ccc; } div.seealso { background-color: #ffc; border: 1px solid #ff6; } div.topic { background-color: #eee; } p.admonition-title { display: inline; } p.admonition-title:after { content: ":"; } pre, tt { font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.9em; } img.screenshot { } tt.descname, tt.descclassname { font-size: 0.95em; } tt.descname { padding-right: 0.08em; } img.screenshot { -moz-box-shadow: 2px 2px 4px #eee; -webkit-box-shadow: 2px 2px 4px #eee; box-shadow: 2px 2px 4px #eee; } table.docutils { border: 1px solid #888; -moz-box-shadow: 2px 2px 4px #eee; -webkit-box-shadow: 2px 2px 4px #eee; box-shadow: 2px 2px 4px #eee; } table.docutils td, table.docutils th { border: 1px solid #888; padding: 0.25em 0.7em; } table.field-list, table.footnote { border: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; } table.footnote { margin: 15px 0; width: 100%; border: 1px solid #eee; background: #fdfdfd; font-size: 0.9em; } table.footnote + table.footnote { margin-top: -15px; border-top: none; } table.field-list th { padding: 0 0.8em 0 0; } table.field-list td { padding: 0; } table.footnote td.label { width: 0px; padding: 0.3em 0 0.3em 0.5em; } table.footnote td { padding: 0.3em 0.5em; } dl { margin: 0; padding: 0; } dl dd { margin-left: 30px; } blockquote { margin: 0 0 0 30px; padding: 0; } ul, ol { margin: 10px 0 10px 30px; padding: 0; } pre { background: #eee; padding: 7px 30px; margin: 15px -30px; line-height: 1.3em; } dl pre, blockquote pre, li pre { margin-left: -60px; padding-left: 60px; } dl dl pre { margin-left: -90px; padding-left: 90px; } tt { background-color: #ecf0f3; color: #222; /* padding: 1px 2px; */ } tt.xref, a tt { background-color: #FBFBFB; border-bottom: 1px solid white; } a.reference { text-decoration: none; border-bottom: 1px dotted #004B6B; } a.reference:hover { border-bottom: 1px solid #6D4100; } a.footnote-reference { text-decoration: none; font-size: 0.7em; vertical-align: top; border-bottom: 1px dotted #004B6B; } a.footnote-reference:hover { border-bottom: 1px solid #6D4100; } a:hover tt { background: #EEE; } Flask-0.10.1/docs/_themes/flask/static/small_flask.css0000644000076700000240000000172011774031724023745 0ustar mitsuhikostaff00000000000000/* * small_flask.css_t * ~~~~~~~~~~~~~~~~~ * * :copyright: Copyright 2010 by Armin Ronacher. * :license: Flask Design License, see LICENSE for details. */ body { margin: 0; padding: 20px 30px; } div.documentwrapper { float: none; background: white; } div.sphinxsidebar { display: block; float: none; width: 102.5%; margin: 50px -30px -20px -30px; padding: 10px 20px; background: #333; color: white; } div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p, div.sphinxsidebar h3 a { color: white; } div.sphinxsidebar a { color: #aaa; } div.sphinxsidebar p.logo { display: none; } div.document { width: 100%; margin: 0; } div.related { display: block; margin: 0; padding: 10px 0 20px 0; } div.related ul, div.related ul li { margin: 0; padding: 0; } div.footer { display: none; } div.bodywrapper { margin: 0; } div.body { min-height: 0; padding: 0; } Flask-0.10.1/docs/_themes/flask/theme.conf0000644000076700000240000000017211774031724021425 0ustar mitsuhikostaff00000000000000[theme] inherit = basic stylesheet = flasky.css pygments_style = flask_theme_support.FlaskyStyle [options] touch_icon = Flask-0.10.1/docs/_themes/flask_small/0000755000076700000240000000000012156555065020650 5ustar mitsuhikostaff00000000000000Flask-0.10.1/docs/_themes/flask_small/layout.html0000644000076700000240000000125311774031724023050 0ustar mitsuhikostaff00000000000000{% extends "basic/layout.html" %} {% block header %} {{ super() }} {% if pagename == 'index' %}
{% endif %} {% endblock %} {% block footer %} {% if pagename == 'index' %}
{% endif %} {% endblock %} {# do not display relbars #} {% block relbar1 %}{% endblock %} {% block relbar2 %} {% if theme_github_fork %} Fork me on GitHub {% endif %} {% endblock %} {% block sidebar1 %}{% endblock %} {% block sidebar2 %}{% endblock %} Flask-0.10.1/docs/_themes/flask_small/static/0000755000076700000240000000000012156555065022137 5ustar mitsuhikostaff00000000000000Flask-0.10.1/docs/_themes/flask_small/static/flasky.css_t0000644000076700000240000001100111774031724024452 0ustar mitsuhikostaff00000000000000/* * flasky.css_t * ~~~~~~~~~~~~ * * Sphinx stylesheet -- flasky theme based on nature theme. * * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @import url("basic.css"); /* -- page layout ----------------------------------------------------------- */ body { font-family: 'Georgia', serif; font-size: 17px; color: #000; background: white; margin: 0; padding: 0; } div.documentwrapper { float: left; width: 100%; } div.bodywrapper { margin: 40px auto 0 auto; width: 700px; } hr { border: 1px solid #B1B4B6; } div.body { background-color: #ffffff; color: #3E4349; padding: 0 30px 30px 30px; } img.floatingflask { padding: 0 0 10px 10px; float: right; } div.footer { text-align: right; color: #888; padding: 10px; font-size: 14px; width: 650px; margin: 0 auto 40px auto; } div.footer a { color: #888; text-decoration: underline; } div.related { line-height: 32px; color: #888; } div.related ul { padding: 0 0 0 10px; } div.related a { color: #444; } /* -- body styles ----------------------------------------------------------- */ a { color: #004B6B; text-decoration: underline; } a:hover { color: #6D4100; text-decoration: underline; } div.body { padding-bottom: 40px; /* saved for footer */ } div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 { font-family: 'Garamond', 'Georgia', serif; font-weight: normal; margin: 30px 0px 10px 0px; padding: 0; } {% if theme_index_logo %} div.indexwrapper h1 { text-indent: -999999px; background: url({{ theme_index_logo }}) no-repeat center center; height: {{ theme_index_logo_height }}; } {% endif %} div.body h2 { font-size: 180%; } div.body h3 { font-size: 150%; } div.body h4 { font-size: 130%; } div.body h5 { font-size: 100%; } div.body h6 { font-size: 100%; } a.headerlink { color: white; padding: 0 4px; text-decoration: none; } a.headerlink:hover { color: #444; background: #eaeaea; } div.body p, div.body dd, div.body li { line-height: 1.4em; } div.admonition { background: #fafafa; margin: 20px -30px; padding: 10px 30px; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; } div.admonition p.admonition-title { font-family: 'Garamond', 'Georgia', serif; font-weight: normal; font-size: 24px; margin: 0 0 10px 0; padding: 0; line-height: 1; } div.admonition p.last { margin-bottom: 0; } div.highlight{ background-color: white; } dt:target, .highlight { background: #FAF3E8; } div.note { background-color: #eee; border: 1px solid #ccc; } div.seealso { background-color: #ffc; border: 1px solid #ff6; } div.topic { background-color: #eee; } div.warning { background-color: #ffe4e4; border: 1px solid #f66; } p.admonition-title { display: inline; } p.admonition-title:after { content: ":"; } pre, tt { font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.85em; } img.screenshot { } tt.descname, tt.descclassname { font-size: 0.95em; } tt.descname { padding-right: 0.08em; } img.screenshot { -moz-box-shadow: 2px 2px 4px #eee; -webkit-box-shadow: 2px 2px 4px #eee; box-shadow: 2px 2px 4px #eee; } table.docutils { border: 1px solid #888; -moz-box-shadow: 2px 2px 4px #eee; -webkit-box-shadow: 2px 2px 4px #eee; box-shadow: 2px 2px 4px #eee; } table.docutils td, table.docutils th { border: 1px solid #888; padding: 0.25em 0.7em; } table.field-list, table.footnote { border: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; } table.footnote { margin: 15px 0; width: 100%; border: 1px solid #eee; } table.field-list th { padding: 0 0.8em 0 0; } table.field-list td { padding: 0; } table.footnote td { padding: 0.5em; } dl { margin: 0; padding: 0; } dl dd { margin-left: 30px; } pre { padding: 0; margin: 15px -30px; padding: 8px; line-height: 1.3em; padding: 7px 30px; background: #eee; border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; } dl pre { margin-left: -60px; padding-left: 60px; } tt { background-color: #ecf0f3; color: #222; /* padding: 1px 2px; */ } tt.xref, a tt { background-color: #FBFBFB; } a:hover tt { background: #EEE; } Flask-0.10.1/docs/_themes/flask_small/theme.conf0000644000076700000240000000027011774031724022614 0ustar mitsuhikostaff00000000000000[theme] inherit = basic stylesheet = flasky.css nosidebar = true pygments_style = flask_theme_support.FlaskyStyle [options] index_logo = '' index_logo_height = 120px github_fork = '' Flask-0.10.1/docs/_themes/flask_theme_support.py0000644000076700000240000001141311774031724023004 0ustar mitsuhikostaff00000000000000# flasky extensions. flasky pygments style based on tango style from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, \ Number, Operator, Generic, Whitespace, Punctuation, Other, Literal class FlaskyStyle(Style): background_color = "#f8f8f8" default_style = "" styles = { # No corresponding class for the following: #Text: "", # class: '' Whitespace: "underline #f8f8f8", # class: 'w' Error: "#a40000 border:#ef2929", # class: 'err' Other: "#000000", # class 'x' Comment: "italic #8f5902", # class: 'c' Comment.Preproc: "noitalic", # class: 'cp' Keyword: "bold #004461", # class: 'k' Keyword.Constant: "bold #004461", # class: 'kc' Keyword.Declaration: "bold #004461", # class: 'kd' Keyword.Namespace: "bold #004461", # class: 'kn' Keyword.Pseudo: "bold #004461", # class: 'kp' Keyword.Reserved: "bold #004461", # class: 'kr' Keyword.Type: "bold #004461", # class: 'kt' Operator: "#582800", # class: 'o' Operator.Word: "bold #004461", # class: 'ow' - like keywords Punctuation: "bold #000000", # class: 'p' # because special names such as Name.Class, Name.Function, etc. # are not recognized as such later in the parsing, we choose them # to look the same as ordinary variables. Name: "#000000", # class: 'n' Name.Attribute: "#c4a000", # class: 'na' - to be revised Name.Builtin: "#004461", # class: 'nb' Name.Builtin.Pseudo: "#3465a4", # class: 'bp' Name.Class: "#000000", # class: 'nc' - to be revised Name.Constant: "#000000", # class: 'no' - to be revised Name.Decorator: "#888", # class: 'nd' - to be revised Name.Entity: "#ce5c00", # class: 'ni' Name.Exception: "bold #cc0000", # class: 'ne' Name.Function: "#000000", # class: 'nf' Name.Property: "#000000", # class: 'py' Name.Label: "#f57900", # class: 'nl' Name.Namespace: "#000000", # class: 'nn' - to be revised Name.Other: "#000000", # class: 'nx' Name.Tag: "bold #004461", # class: 'nt' - like a keyword Name.Variable: "#000000", # class: 'nv' - to be revised Name.Variable.Class: "#000000", # class: 'vc' - to be revised Name.Variable.Global: "#000000", # class: 'vg' - to be revised Name.Variable.Instance: "#000000", # class: 'vi' - to be revised Number: "#990000", # class: 'm' Literal: "#000000", # class: 'l' Literal.Date: "#000000", # class: 'ld' String: "#4e9a06", # class: 's' String.Backtick: "#4e9a06", # class: 'sb' String.Char: "#4e9a06", # class: 'sc' String.Doc: "italic #8f5902", # class: 'sd' - like a comment String.Double: "#4e9a06", # class: 's2' String.Escape: "#4e9a06", # class: 'se' String.Heredoc: "#4e9a06", # class: 'sh' String.Interpol: "#4e9a06", # class: 'si' String.Other: "#4e9a06", # class: 'sx' String.Regex: "#4e9a06", # class: 'sr' String.Single: "#4e9a06", # class: 's1' String.Symbol: "#4e9a06", # class: 'ss' Generic: "#000000", # class: 'g' Generic.Deleted: "#a40000", # class: 'gd' Generic.Emph: "italic #000000", # class: 'ge' Generic.Error: "#ef2929", # class: 'gr' Generic.Heading: "bold #000080", # class: 'gh' Generic.Inserted: "#00A000", # class: 'gi' Generic.Output: "#888", # class: 'go' Generic.Prompt: "#745334", # class: 'gp' Generic.Strong: "bold #000000", # class: 'gs' Generic.Subheading: "bold #800080", # class: 'gu' Generic.Traceback: "bold #a40000", # class: 'gt' } Flask-0.10.1/docs/_themes/LICENSE0000644000076700000240000000337511774031724017371 0ustar mitsuhikostaff00000000000000Copyright (c) 2010 by Armin Ronacher. Some rights reserved. Redistribution and use in source and binary forms of the theme, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The names of the contributors may not be used to endorse or promote products derived from this software without specific prior written permission. We kindly ask you to only use these themes in an unmodified manner just for Flask and Flask-related products, not for unrelated projects. If you like the visual style and want to use it for your own projects, please consider making some larger changes to the themes (such as changing font faces, sizes, colors or margins). THIS THEME IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS THEME, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Flask-0.10.1/docs/_themes/README0000644000076700000240000000210511774031724017232 0ustar mitsuhikostaff00000000000000Flask Sphinx Styles =================== This repository contains sphinx styles for Flask and Flask related projects. To use this style in your Sphinx documentation, follow this guide: 1. put this folder as _themes into your docs folder. Alternatively you can also use git submodules to check out the contents there. 2. add this to your conf.py: sys.path.append(os.path.abspath('_themes')) html_theme_path = ['_themes'] html_theme = 'flask' The following themes exist: - 'flask' - the standard flask documentation theme for large projects - 'flask_small' - small one-page theme. Intended to be used by very small addon libraries for flask. The following options exist for the flask_small theme: [options] index_logo = '' filename of a picture in _static to be used as replacement for the h1 in the index.rst file. index_logo_height = 120px height of the index logo github_fork = '' repository name on github for the "fork me" badge Flask-0.10.1/docs/advanced_foreword.rst0000644000076700000240000000656212156444477021157 0ustar mitsuhikostaff00000000000000.. _advanced_foreword: Foreword for Experienced Programmers ==================================== Thread-Locals in Flask ---------------------- One of the design decisions in Flask was that simple tasks should be simple; they should not take a lot of code and yet they should not limit you. Because of that, Flask has few design choices that some people might find surprising or unorthodox. For example, Flask uses thread-local objects internally so that you don’t have to pass objects around from function to function within a request in order to stay threadsafe. This approach is convenient, but requires a valid request context for dependency injection or when attempting to reuse code which uses a value pegged to the request. The Flask project is honest about thread-locals, does not hide them, and calls out in the code and documentation where they are used. Develop for the Web with Caution -------------------------------- Always keep security in mind when building web applications. If you write a web application, you are probably allowing users to register and leave their data on your server. The users are entrusting you with data. And even if you are the only user that might leave data in your application, you still want that data to be stored securely. Unfortunately, there are many ways the security of a web application can be compromised. Flask protects you against one of the most common security problems of modern web applications: cross-site scripting (XSS). Unless you deliberately mark insecure HTML as secure, Flask and the underlying Jinja2 template engine have you covered. But there are many more ways to cause security problems. The documentation will warn you about aspects of web development that require attention to security. Some of these security concerns are far more complex than one might think, and we all sometimes underestimate the likelihood that a vulnerability will be exploited - until a clever attacker figures out a way to exploit our applications. And don't think that your application is not important enough to attract an attacker. Depending on the kind of attack, chances are that automated bots are probing for ways to fill your database with spam, links to malicious software, and the like. Flask is no different from any other framework in that you the developer must build with caution, watching for exploits when building to your requirements. The Status of Python 3 ---------------------- Currently the Python community is in the process of improving libraries to support the new iteration of the Python programming language. While the situation is greatly improving there are still some issues that make it hard for users to switch over to Python 3 just now. These problems are partially caused by changes in the language that went unreviewed for too long, partially also because we have not quite worked out how the lower- level API should change to account for the Unicode differences in Python 3. We strongly recommend using Python 2.6 and 2.7 with activated Python 3 warnings during development. If you plan on upgrading to Python 3 in the near future we strongly recommend that you read `How to write forwards compatible Python code `_. If you do want to dive into Python 3 already have a look at the :ref:`python3_support` page. Continue to :ref:`installation` or the :ref:`quickstart`. Flask-0.10.1/docs/api.rst0000644000076700000240000005466412156444477016262 0ustar mitsuhikostaff00000000000000.. _api: API === .. module:: flask This part of the documentation covers all the interfaces of Flask. For parts where Flask depends on external libraries, we document the most important right here and provide links to the canonical documentation. Application Object ------------------ .. autoclass:: Flask :members: :inherited-members: Blueprint Objects ----------------- .. autoclass:: Blueprint :members: :inherited-members: Incoming Request Data --------------------- .. autoclass:: Request :members: .. attribute:: form A :class:`~werkzeug.datastructures.MultiDict` with the parsed form data from `POST` or `PUT` requests. Please keep in mind that file uploads will not end up here, but instead in the :attr:`files` attribute. .. attribute:: args A :class:`~werkzeug.datastructures.MultiDict` with the parsed contents of the query string. (The part in the URL after the question mark). .. attribute:: values A :class:`~werkzeug.datastructures.CombinedMultiDict` with the contents of both :attr:`form` and :attr:`args`. .. attribute:: cookies A :class:`dict` with the contents of all cookies transmitted with the request. .. attribute:: stream If the incoming form data was not encoded with a known mimetype the data is stored unmodified in this stream for consumption. Most of the time it is a better idea to use :attr:`data` which will give you that data as a string. The stream only returns the data once. .. attribute:: headers The incoming request headers as a dictionary like object. .. attribute:: data Contains the incoming request data as string in case it came with a mimetype Flask does not handle. .. attribute:: files A :class:`~werkzeug.datastructures.MultiDict` with files uploaded as part of a `POST` or `PUT` request. Each file is stored as :class:`~werkzeug.datastructures.FileStorage` object. It basically behaves like a standard file object you know from Python, with the difference that it also has a :meth:`~werkzeug.datastructures.FileStorage.save` function that can store the file on the filesystem. .. attribute:: environ The underlying WSGI environment. .. attribute:: method The current request method (``POST``, ``GET`` etc.) .. attribute:: path .. attribute:: script_root .. attribute:: url .. attribute:: base_url .. attribute:: url_root Provides different ways to look at the current URL. Imagine your application is listening on the following URL:: http://www.example.com/myapplication And a user requests the following URL:: http://www.example.com/myapplication/page.html?x=y In this case the values of the above mentioned attributes would be the following: ============= ====================================================== `path` ``/page.html`` `script_root` ``/myapplication`` `base_url` ``http://www.example.com/myapplication/page.html`` `url` ``http://www.example.com/myapplication/page.html?x=y`` `url_root` ``http://www.example.com/myapplication/`` ============= ====================================================== .. attribute:: is_xhr `True` if the request was triggered via a JavaScript `XMLHttpRequest`. This only works with libraries that support the ``X-Requested-With`` header and set it to `XMLHttpRequest`. Libraries that do that are prototype, jQuery and Mochikit and probably some more. .. class:: request To access incoming request data, you can use the global `request` object. Flask parses incoming request data for you and gives you access to it through that global object. Internally Flask makes sure that you always get the correct data for the active thread if you are in a multithreaded environment. This is a proxy. See :ref:`notes-on-proxies` for more information. The request object is an instance of a :class:`~werkzeug.wrappers.Request` subclass and provides all of the attributes Werkzeug defines. This just shows a quick overview of the most important ones. Response Objects ---------------- .. autoclass:: flask.Response :members: set_cookie, data, mimetype .. attribute:: headers A :class:`Headers` object representing the response headers. .. attribute:: status A string with a response status. .. attribute:: status_code The response status as integer. Sessions -------- If you have the :attr:`Flask.secret_key` set you can use sessions in Flask applications. A session basically makes it possible to remember information from one request to another. The way Flask does this is by using a signed cookie. So the user can look at the session contents, but not modify it unless they know the secret key, so make sure to set that to something complex and unguessable. To access the current session you can use the :class:`session` object: .. class:: session The session object works pretty much like an ordinary dict, with the difference that it keeps track on modifications. This is a proxy. See :ref:`notes-on-proxies` for more information. The following attributes are interesting: .. attribute:: new `True` if the session is new, `False` otherwise. .. attribute:: modified `True` if the session object detected a modification. Be advised that modifications on mutable structures are not picked up automatically, in that situation you have to explicitly set the attribute to `True` yourself. Here an example:: # this change is not picked up because a mutable object (here # a list) is changed. session['objects'].append(42) # so mark it as modified yourself session.modified = True .. attribute:: permanent If set to `True` the session lives for :attr:`~flask.Flask.permanent_session_lifetime` seconds. The default is 31 days. If set to `False` (which is the default) the session will be deleted when the user closes the browser. Session Interface ----------------- .. versionadded:: 0.8 The session interface provides a simple way to replace the session implementation that Flask is using. .. currentmodule:: flask.sessions .. autoclass:: SessionInterface :members: .. autoclass:: SecureCookieSessionInterface :members: .. autoclass:: SecureCookieSession :members: .. autoclass:: NullSession :members: .. autoclass:: SessionMixin :members: .. autodata:: session_json_serializer This object provides dumping and loading methods similar to simplejson but it also tags certain builtin Python objects that commonly appear in sessions. Currently the following extended values are supported in the JSON it dumps: - :class:`~markupsafe.Markup` objects - :class:`~uuid.UUID` objects - :class:`~datetime.datetime` objects - :class:`tuple`\s .. admonition:: Notice The ``PERMANENT_SESSION_LIFETIME`` config key can also be an integer starting with Flask 0.8. Either catch this down yourself or use the :attr:`~flask.Flask.permanent_session_lifetime` attribute on the app which converts the result to an integer automatically. Test Client ----------- .. currentmodule:: flask.testing .. autoclass:: FlaskClient :members: Application Globals ------------------- .. currentmodule:: flask To share data that is valid for one request only from one function to another, a global variable is not good enough because it would break in threaded environments. Flask provides you with a special object that ensures it is only valid for the active request and that will return different values for each request. In a nutshell: it does the right thing, like it does for :class:`request` and :class:`session`. .. data:: g Just store on this whatever you want. For example a database connection or the user that is currently logged in. Starting with Flask 0.10 this is stored on the application context and no longer on the request context which means it becomes available if only the application context is bound and not yet a request. This is especially useful when combined with the :ref:`faking-resources` pattern for testing. Additionally as of 0.10 you can use the :meth:`get` method to get an attribute or `None` (or the second argument) if it's not set. These two usages are now equivalent:: user = getattr(flask.g, 'user', None) user = flask.g.get('user', None) It's now also possible to use the ``in`` operator on it to see if an attribute is defined and it yields all keys on iteration. This is a proxy. See :ref:`notes-on-proxies` for more information. Useful Functions and Classes ---------------------------- .. data:: current_app Points to the application handling the request. This is useful for extensions that want to support multiple applications running side by side. This is powered by the application context and not by the request context, so you can change the value of this proxy by using the :meth:`~flask.Flask.app_context` method. This is a proxy. See :ref:`notes-on-proxies` for more information. .. autofunction:: has_request_context .. autofunction:: copy_current_request_context .. autofunction:: has_app_context .. autofunction:: url_for .. function:: abort(code) Raises an :exc:`~werkzeug.exceptions.HTTPException` for the given status code. For example to abort request handling with a page not found exception, you would call ``abort(404)``. :param code: the HTTP error code. .. autofunction:: redirect .. autofunction:: make_response .. autofunction:: after_this_request .. autofunction:: send_file .. autofunction:: send_from_directory .. autofunction:: safe_join .. autofunction:: escape .. autoclass:: Markup :members: escape, unescape, striptags Message Flashing ---------------- .. autofunction:: flash .. autofunction:: get_flashed_messages JSON Support ------------ .. module:: flask.json Flask uses ``simplejson`` for the JSON implementation. Since simplejson is provided both by the standard library as well as extension Flask will try simplejson first and then fall back to the stdlib json module. On top of that it will delegate access to the current application's JSOn encoders and decoders for easier customization. So for starters instead of doing:: try: import simplejson as json except ImportError: import json You can instead just do this:: from flask import json For usage examples, read the :mod:`json` documentation in the standard lirbary. The following extensions are by default applied to the stdlib's JSON module: 1. ``datetime`` objects are serialized as :rfc:`822` strings. 2. Any object with an ``__html__`` method (like :class:`~flask.Markup`) will ahve that method called and then the return value is serialized as string. The :func:`~htmlsafe_dumps` function of this json module is also available as filter called ``|tojson`` in Jinja2. Note that inside `script` tags no escaping must take place, so make sure to disable escaping with ``|safe`` if you intend to use it inside `script` tags unless you are using Flask 0.10 which implies that: .. sourcecode:: html+jinja .. autofunction:: jsonify .. autofunction:: dumps .. autofunction:: dump .. autofunction:: loads .. autofunction:: load .. autoclass:: JSONEncoder :members: .. autoclass:: JSONDecoder :members: Template Rendering ------------------ .. currentmodule:: flask .. autofunction:: render_template .. autofunction:: render_template_string .. autofunction:: get_template_attribute Configuration ------------- .. autoclass:: Config :members: Extensions ---------- .. data:: flask.ext This module acts as redirect import module to Flask extensions. It was added in 0.8 as the canonical way to import Flask extensions and makes it possible for us to have more flexibility in how we distribute extensions. If you want to use an extension named “Flask-Foo†you would import it from :data:`~flask.ext` as follows:: from flask.ext import foo .. versionadded:: 0.8 Stream Helpers -------------- .. autofunction:: stream_with_context Useful Internals ---------------- .. autoclass:: flask.ctx.RequestContext :members: .. data:: _request_ctx_stack The internal :class:`~werkzeug.local.LocalStack` that is used to implement all the context local objects used in Flask. This is a documented instance and can be used by extensions and application code but the use is discouraged in general. The following attributes are always present on each layer of the stack: `app` the active Flask application. `url_adapter` the URL adapter that was used to match the request. `request` the current request object. `session` the active session object. `g` an object with all the attributes of the :data:`flask.g` object. `flashes` an internal cache for the flashed messages. Example usage:: from flask import _request_ctx_stack def get_session(): ctx = _request_ctx_stack.top if ctx is not None: return ctx.session .. autoclass:: flask.ctx.AppContext :members: .. data:: _app_ctx_stack Works similar to the request context but only binds the application. This is mainly there for extensions to store data. .. versionadded:: 0.9 .. autoclass:: flask.blueprints.BlueprintSetupState :members: Signals ------- .. when modifying this list, also update the one in signals.rst .. versionadded:: 0.6 .. data:: signals_available `True` if the signalling system is available. This is the case when `blinker`_ is installed. .. data:: template_rendered This signal is sent when a template was successfully rendered. The signal is invoked with the instance of the template as `template` and the context as dictionary (named `context`). .. data:: request_started This signal is sent before any request processing started but when the request context was set up. Because the request context is already bound, the subscriber can access the request with the standard global proxies such as :class:`~flask.request`. .. data:: request_finished This signal is sent right before the response is sent to the client. It is passed the response to be sent named `response`. .. data:: got_request_exception This signal is sent when an exception happens during request processing. It is sent *before* the standard exception handling kicks in and even in debug mode, where no exception handling happens. The exception itself is passed to the subscriber as `exception`. .. data:: request_tearing_down This signal is sent when the application is tearing down the request. This is always called, even if an error happened. An `exc` keyword argument is passed with the exception that caused the teardown. .. versionchanged:: 0.9 The `exc` parameter was added. .. data:: appcontext_tearing_down This signal is sent when the application is tearing down the application context. This is always called, even if an error happened. An `exc` keyword argument is passed with the exception that caused the teardown. The sender is the application. .. data:: appcontext_pushed This signal is sent when an application context is pushed. The sender is the application. .. versionadded:: 0.10 .. data:: appcontext_popped This signal is sent when an application context is popped. The sender is the application. This usually falls in line with the :data:`appcontext_tearing_down` signal. .. versionadded:: 0.10 .. data:: message_flashed This signal is sent when the application is flashing a message. The messages is sent as `message` keyword argument and the category as `category`. .. versionadded:: 0.10 .. currentmodule:: None .. class:: flask.signals.Namespace An alias for :class:`blinker.base.Namespace` if blinker is available, otherwise a dummy class that creates fake signals. This class is available for Flask extensions that want to provide the same fallback system as Flask itself. .. method:: signal(name, doc=None) Creates a new signal for this namespace if blinker is available, otherwise returns a fake signal that has a send method that will do nothing but will fail with a :exc:`RuntimeError` for all other operations, including connecting. .. _blinker: http://pypi.python.org/pypi/blinker Class-Based Views ----------------- .. versionadded:: 0.7 .. currentmodule:: None .. autoclass:: flask.views.View :members: .. autoclass:: flask.views.MethodView :members: .. _url-route-registrations: URL Route Registrations ----------------------- Generally there are three ways to define rules for the routing system: 1. You can use the :meth:`flask.Flask.route` decorator. 2. You can use the :meth:`flask.Flask.add_url_rule` function. 3. You can directly access the underlying Werkzeug routing system which is exposed as :attr:`flask.Flask.url_map`. Variable parts in the route can be specified with angular brackets (``/user/``). By default a variable part in the URL accepts any string without a slash however a different converter can be specified as well by using ````. Variable parts are passed to the view function as keyword arguments. The following converters are available: =========== =============================================== `string` accepts any text without a slash (the default) `int` accepts integers `float` like `int` but for floating point values `path` like the default but also accepts slashes =========== =============================================== Here are some examples:: @app.route('/') def index(): pass @app.route('/') def show_user(username): pass @app.route('/post/') def show_post(post_id): pass An important detail to keep in mind is how Flask deals with trailing slashes. The idea is to keep each URL unique so the following rules apply: 1. If a rule ends with a slash and is requested without a slash by the user, the user is automatically redirected to the same page with a trailing slash attached. 2. If a rule does not end with a trailing slash and the user requests the page with a trailing slash, a 404 not found is raised. This is consistent with how web servers deal with static files. This also makes it possible to use relative link targets safely. You can also define multiple rules for the same function. They have to be unique however. Defaults can also be specified. Here for example is a definition for a URL that accepts an optional page:: @app.route('/users/', defaults={'page': 1}) @app.route('/users/page/') def show_users(page): pass This specifies that ``/users/`` will be the URL for page one and ``/users/page/N`` will be the URL for page `N`. Here are the parameters that :meth:`~flask.Flask.route` and :meth:`~flask.Flask.add_url_rule` accept. The only difference is that with the route parameter the view function is defined with the decorator instead of the `view_func` parameter. =============== ========================================================== `rule` the URL rule as string `endpoint` the endpoint for the registered URL rule. Flask itself assumes that the name of the view function is the name of the endpoint if not explicitly stated. `view_func` the function to call when serving a request to the provided endpoint. If this is not provided one can specify the function later by storing it in the :attr:`~flask.Flask.view_functions` dictionary with the endpoint as key. `defaults` A dictionary with defaults for this rule. See the example above for how defaults work. `subdomain` specifies the rule for the subdomain in case subdomain matching is in use. If not specified the default subdomain is assumed. `**options` the options to be forwarded to the underlying :class:`~werkzeug.routing.Rule` object. A change to Werkzeug is handling of method options. methods is a list of methods this rule should be limited to (`GET`, `POST` etc.). By default a rule just listens for `GET` (and implicitly `HEAD`). Starting with Flask 0.6, `OPTIONS` is implicitly added and handled by the standard request handling. They have to be specified as keyword arguments. =============== ========================================================== .. _view-func-options: View Function Options --------------------- For internal usage the view functions can have some attributes attached to customize behavior the view function would normally not have control over. The following attributes can be provided optionally to either override some defaults to :meth:`~flask.Flask.add_url_rule` or general behavior: - `__name__`: The name of a function is by default used as endpoint. If endpoint is provided explicitly this value is used. Additionally this will be prefixed with the name of the blueprint by default which cannot be customized from the function itself. - `methods`: If methods are not provided when the URL rule is added, Flask will look on the view function object itself is an `methods` attribute exists. If it does, it will pull the information for the methods from there. - `provide_automatic_options`: if this attribute is set Flask will either force enable or disable the automatic implementation of the HTTP `OPTIONS` response. This can be useful when working with decorators that want to customize the `OPTIONS` response on a per-view basis. - `required_methods`: if this attribute is set, Flask will always add these methods when registering a URL rule even if the methods were explicitly overriden in the ``route()`` call. Full example:: def index(): if request.method == 'OPTIONS': # custom options handling here ... return 'Hello World!' index.provide_automatic_options = False index.methods = ['GET', 'OPTIONS'] app.add_url_rule('/', index) .. versionadded:: 0.8 The `provide_automatic_options` functionality was added. Flask-0.10.1/docs/appcontext.rst0000644000076700000240000001226112156444477017661 0ustar mitsuhikostaff00000000000000.. _app-context: The Application Context ======================= .. versionadded:: 0.9 One of the design ideas behind Flask is that there are two different “states†in which code is executed. The application setup state in which the application implicitly is on the module level. It starts when the :class:`Flask` object is instantiated, and it implicitly ends when the first request comes in. While the application is in this state a few assumptions are true: - the programmer can modify the application object safely. - no request handling happened so far - you have to have a reference to the application object in order to modify it, there is no magic proxy that can give you a reference to the application object you're currently creating or modifying. In contrast, during request handling, a couple of other rules exist: - while a request is active, the context local objects (:data:`flask.request` and others) point to the current request. - any code can get hold of these objects at any time. There is a third state which is sitting in between a little bit. Sometimes you are dealing with an application in a way that is similar to how you interact with applications during request handling just that there is no request active. Consider for instance that you're sitting in an interactive Python shell and interacting with the application, or a command line application. The application context is what powers the :data:`~flask.current_app` context local. Purpose of the Application Context ---------------------------------- The main reason for the application's context existence is that in the past a bunch of functionality was attached to the request context in lack of a better solution. Since one of the pillar's of Flask's design is that you can have more than one application in the same Python process. So how does the code find the “right†application? In the past we recommended passing applications around explicitly, but that caused issues with libraries that were not designed with that in mind. A common workaround for that problem was to use the :data:`~flask.current_app` proxy later on, which was bound to the current request's application reference. Since however creating such a request context is an unnecessarily expensive operation in case there is no request around, the application context was introduced. Creating an Application Context ------------------------------- To make an application context there are two ways. The first one is the implicit one: whenever a request context is pushed, an application context will be created alongside if this is necessary. As a result of that, you can ignore the existence of the application context unless you need it. The second way is the explicit way using the :meth:`~flask.Flask.app_context` method:: from flask import Flask, current_app app = Flask(__name__) with app.app_context(): # within this block, current_app points to app. print current_app.name The application context is also used by the :func:`~flask.url_for` function in case a ``SERVER_NAME`` was configured. This allows you to generate URLs even in the absence of a request. Locality of the Context ----------------------- The application context is created and destroyed as necessary. It never moves between threads and it will not be shared between requests. As such it is the perfect place to store database connection information and other things. The internal stack object is called :data:`flask._app_ctx_stack`. Extensions are free to store additional information on the topmost level, assuming they pick a sufficiently unique name and should put there information there, instead on the :data:`flask.g` object which is reserved for user code. For more information about that, see :ref:`extension-dev`. Context Usage ------------- The context is typically used to cache resources on there that need to be created on a per-request or usage case. For instance database connects are destined to go there. When storing things on the application context unique names should be chosen as this is a place that is shared between Flask applications and extensions. The most common usage is to split resource management into two parts: 1. an implicit resource caching on the context. 2. a context teardown based resource deallocation. Generally there would be a ``get_X()`` function that creates resource ``X`` if it does not exist yet and otherwise returns the same resource, and a ``teardown_X()`` function that is registered as teardown handler. This is an example that connects to a database:: import sqlite3 from flask import g def get_db(): db = getattr(g, '_database', None) if db is None: db = g._database = connect_to_database() return db @app.teardown_appcontext def teardown_db(exception): db = getattr(g, '_database', None) if db is not None: db.close() The first time ``get_db()`` is called the connection will be established. To make this implicit a :class:`~werkzeug.local.LocalProxy` can be used:: from werkzeug.local import LocalProxy db = LocalProxy(get_db) That way a user can directly access ``db`` which internally calls ``get_db()``. Flask-0.10.1/docs/becomingbig.rst0000644000076700000240000001102212156444477017733 0ustar mitsuhikostaff00000000000000.. _becomingbig: Becoming Big ============ Here are your options when growing your codebase or scaling your application. Read the Source. ---------------- Flask started in part to demonstrate how to build your own framework on top of existing well-used tools Werkzeug (WSGI) and Jinja (templating), and as it developed, it became useful to a wide audience. As you grow your codebase, don't just use Flask -- understand it. Read the source. Flask's code is written to be read; it's documentation published so you can use its internal APIs. Flask sticks to documented APIs in upstream libraries, and documents its internal utilities so that you can find the hook points needed for your project. Hook. Extend. ------------- The :ref:`api` docs are full of available overrides, hook points, and :ref:`signals`. You can provide custom classes for things like the request and response objects. Dig deeper on the APIs you use, and look for the customizations which are available out of the box in a Flask release. Look for ways in which your project can be refactored into a collection of utilities and Flask extensions. Explore the many `extensions `_ in the community, and look for patterns to build your own extensions if you do not find the tools you need. Subclass. --------- The :class:`~flask.Flask` class has many methods designed for subclassing. You can quickly add or customize behavior by subclassing :class:`~flask.Flask` (see the linked method docs) and using that subclass wherever you instantiate an application class. This works well with :ref:`app-factories`. Wrap with middleware. --------------------- The :ref:`app-dispatch` chapter shows in detail how to apply middleware. You can introduce WSGI middleware to wrap your Flask instances and introduce fixes and changes at the layer between your Flask application and your HTTP server. Werkzeug includes several `middlewares `_. Fork. ----- If none of the above options work, fork Flask. The majority of code of Flask is within Werkzeug and Jinja2. These libraries do the majority of the work. Flask is just the paste that glues those together. For every project there is the point where the underlying framework gets in the way (due to assumptions the original developers had). This is natural because if this would not be the case, the framework would be a very complex system to begin with which causes a steep learning curve and a lot of user frustration. This is not unique to Flask. Many people use patched and modified versions of their framework to counter shortcomings. This idea is also reflected in the license of Flask. You don't have to contribute any changes back if you decide to modify the framework. The downside of forking is of course that Flask extensions will most likely break because the new framework has a different import name. Furthermore integrating upstream changes can be a complex process, depending on the number of changes. Because of that, forking should be the very last resort. Scale like a pro. ----------------- For many web applications the complexity of the code is less an issue than the scaling for the number of users or data entries expected. Flask by itself is only limited in terms of scaling by your application code, the data store you want to use and the Python implementation and webserver you are running on. Scaling well means for example that if you double the amount of servers you get about twice the performance. Scaling bad means that if you add a new server the application won't perform any better or would not even support a second server. There is only one limiting factor regarding scaling in Flask which are the context local proxies. They depend on context which in Flask is defined as being either a thread, process or greenlet. If your server uses some kind of concurrency that is not based on threads or greenlets, Flask will no longer be able to support these global proxies. However the majority of servers are using either threads, greenlets or separate processes to achieve concurrency which are all methods well supported by the underlying Werkzeug library. Discuss with the community. --------------------------- The Flask developers keep the framework accessible to users with codebases big and small. If you find an obstacle in your way, caused by Flask, don't hesitate to contact the developers on the mailinglist or IRC channel. The best way for the Flask and Flask extension developers to improve the tools for larger applications is getting feedback from users. Flask-0.10.1/docs/blueprints.rst0000644000076700000240000002012412156311351017640 0ustar mitsuhikostaff00000000000000.. _blueprints: Modular Applications with Blueprints ==================================== .. versionadded:: 0.7 Flask uses a concept of *blueprints* for making application components and supporting common patterns within an application or across applications. Blueprints can greatly simplify how large applications work and provide a central means for Flask extensions to register operations on applications. A :class:`Blueprint` object works similarly to a :class:`Flask` application object, but it is not actually an application. Rather it is a *blueprint* of how to construct or extend an application. Why Blueprints? --------------- Blueprints in Flask are intended for these cases: * Factor an application into a set of blueprints. This is ideal for larger applications; a project could instantiate an application object, initialize several extensions, and register a collection of blueprints. * Register a blueprint on an application at a URL prefix and/or subdomain. Parameters in the URL prefix/subdomain become common view arguments (with defaults) across all view functions in the blueprint. * Register a blueprint multiple times on an application with different URL rules. * Provide template filters, static files, templates, and other utilities through blueprints. A blueprint does not have to implement applications or view functions. * Register a blueprint on an application for any of these cases when initializing a Flask extension. A blueprint in Flask is not a pluggable app because it is not actually an application -- it's a set of operations which can be registered on an application, even multiple times. Why not have multiple application objects? You can do that (see :ref:`app-dispatch`), but your applications will have separate configs and will be managed at the WSGI layer. Blueprints instead provide separation at the Flask level, share application config, and can change an application object as necessary with being registered. The downside is that you cannot unregister a blueprint once an application was created without having to destroy the whole application object. The Concept of Blueprints ------------------------- The basic concept of blueprints is that they record operations to execute when registered on an application. Flask associates view functions with blueprints when dispatching requests and generating URLs from one endpoint to another. My First Blueprint ------------------ This is what a very basic blueprint looks like. In this case we want to implement a blueprint that does simple rendering of static templates:: from flask import Blueprint, render_template, abort from jinja2 import TemplateNotFound simple_page = Blueprint('simple_page', __name__, template_folder='templates') @simple_page.route('/', defaults={'page': 'index'}) @simple_page.route('/') def show(page): try: return render_template('pages/%s.html' % page) except TemplateNotFound: abort(404) When you bind a function with the help of the ``@simple_page.route`` decorator the blueprint will record the intention of registering the function `show` on the application when it's later registered. Additionally it will prefix the endpoint of the function with the name of the blueprint which was given to the :class:`Blueprint` constructor (in this case also ``simple_page``). Registering Blueprints ---------------------- So how do you register that blueprint? Like this:: from flask import Flask from yourapplication.simple_page import simple_page app = Flask(__name__) app.register_blueprint(simple_page) If you check the rules registered on the application, you will find these:: [' (HEAD, OPTIONS, GET) -> static>, ' (HEAD, OPTIONS, GET) -> simple_page.show>, simple_page.show>] The first one is obviously from the application ifself for the static files. The other two are for the `show` function of the ``simple_page`` blueprint. As you can see, they are also prefixed with the name of the blueprint and separated by a dot (``.``). Blueprints however can also be mounted at different locations:: app.register_blueprint(simple_page, url_prefix='/pages') And sure enough, these are the generated rules:: [' (HEAD, OPTIONS, GET) -> static>, ' (HEAD, OPTIONS, GET) -> simple_page.show>, simple_page.show>] On top of that you can register blueprints multiple times though not every blueprint might respond properly to that. In fact it depends on how the blueprint is implemented if it can be mounted more than once. Blueprint Resources ------------------- Blueprints can provide resources as well. Sometimes you might want to introduce a blueprint only for the resources it provides. Blueprint Resource Folder ````````````````````````` Like for regular applications, blueprints are considered to be contained in a folder. While multiple blueprints can originate from the same folder, it does not have to be the case and it's usually not recommended. The folder is inferred from the second argument to :class:`Blueprint` which is usually `__name__`. This argument specifies what logical Python module or package corresponds to the blueprint. If it points to an actual Python package that package (which is a folder on the filesystem) is the resource folder. If it's a module, the package the module is contained in will be the resource folder. You can access the :attr:`Blueprint.root_path` property to see what the resource folder is:: >>> simple_page.root_path '/Users/username/TestProject/yourapplication' To quickly open sources from this folder you can use the :meth:`~Blueprint.open_resource` function:: with simple_page.open_resource('static/style.css') as f: code = f.read() Static Files ```````````` A blueprint can expose a folder with static files by providing a path to a folder on the filesystem via the `static_folder` keyword argument. It can either be an absolute path or one relative to the folder of the blueprint:: admin = Blueprint('admin', __name__, static_folder='static') By default the rightmost part of the path is where it is exposed on the web. Because the folder is called ``static`` here it will be available at the location of the blueprint + ``/static``. Say the blueprint is registered for ``/admin`` the static folder will be at ``/admin/static``. The endpoint is named `blueprint_name.static` so you can generate URLs to it like you would do to the static folder of the application:: url_for('admin.static', filename='style.css') Templates ````````` If you want the blueprint to expose templates you can do that by providing the `template_folder` parameter to the :class:`Blueprint` constructor:: admin = Blueprint('admin', __name__, template_folder='templates') As for static files, the path can be absolute or relative to the blueprint resource folder. The template folder is added to the searchpath of templates but with a lower priority than the actual application's template folder. That way you can easily override templates that a blueprint provides in the actual application. So if you have a blueprint in the folder ``yourapplication/admin`` and you want to render the template ``'admin/index.html'`` and you have provided ``templates`` as a `template_folder` you will have to create a file like this: ``yourapplication/admin/templates/admin/index.html``. Building URLs ------------- If you want to link from one page to another you can use the :func:`url_for` function just like you normally would do just that you prefix the URL endpoint with the name of the blueprint and a dot (``.``):: url_for('admin.index') Additionally if you are in a view function of a blueprint or a rendered template and you want to link to another endpoint of the same blueprint, you can use relative redirects by prefixing the endpoint with a dot only:: url_for('.index') This will link to ``admin.index`` for instance in case the current request was dispatched to any other admin blueprint endpoint. Flask-0.10.1/docs/changelog.rst0000644000076700000240000000003012156311351017372 0ustar mitsuhikostaff00000000000000.. include:: ../CHANGES Flask-0.10.1/docs/conf.py0000644000076700000240000002131212156444477016236 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- # # Flask documentation build configuration file, created by # sphinx-quickstart on Tue Apr 6 15:24:58 2010. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import sys, os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.append(os.path.abspath('_themes')) sys.path.append(os.path.abspath('.')) # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. #needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'flaskdocext'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # The suffix of source filenames. source_suffix = '.rst' # The encoding of source files. #source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'Flask' copyright = u'2013, Armin Ronacher' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. import pkg_resources try: release = pkg_resources.get_distribution('Flask').version except pkg_resources.DistributionNotFound: print 'To build the documentation, The distribution information of Flask' print 'Has to be available. Either install the package into your' print 'development environment or run "setup.py develop" to setup the' print 'metadata. A virtualenv is recommended!' sys.exit(1) del pkg_resources if 'dev' in release: release = release.split('dev')[0] + 'dev' version = '.'.join(release.split('.')[:2]) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ['_build'] # The reST default role (used for this markup: `text`) to use for all documents. #default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. #add_function_parentheses = True # If true, the current module name will be prepended to all description # unit titles (such as .. function::). #add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. #show_authors = False # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] # -- Options for HTML output --------------------------------------------------- # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. html_theme = 'flask' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. html_theme_options = { 'touch_icon': 'touch-icon.png' } # Add any paths that contain custom themes here, relative to this directory. html_theme_path = ['_themes'] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". #html_title = None # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. Do not set, template magic! #html_logo = None # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. #html_favicon = None # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. html_sidebars = { 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'], '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'] } # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. html_use_modindex = False # If false, no index is generated. #html_use_index = True # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. html_show_sphinx = False # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. #html_show_copyright = True # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = '' # Output file base name for HTML help builder. htmlhelp_basename = 'Flaskdoc' # -- Options for LaTeX output -------------------------------------------------- # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('latexindex', 'Flask.tex', u'Flask Documentation', u'Armin Ronacher', 'manual'), ] # Documents to append as an appendix to all manuals. #latex_appendices = [] # If false, no module index is generated. latex_use_modindex = False latex_elements = { 'fontpkg': r'\usepackage{mathpazo}', 'papersize': 'a4paper', 'pointsize': '12pt', 'preamble': r'\usepackage{flaskstyle}' } latex_use_parts = True latex_additional_files = ['flaskstyle.sty', 'logo.pdf'] # -- Options for Epub output --------------------------------------------------- # Bibliographic Dublin Core info. #epub_title = '' #epub_author = '' #epub_publisher = '' #epub_copyright = '' # The language of the text. It defaults to the language option # or en if the language is not set. #epub_language = '' # The scheme of the identifier. Typical schemes are ISBN or URL. #epub_scheme = '' # The unique identifier of the text. This can be a ISBN number # or the project homepage. #epub_identifier = '' # A unique identification for the text. #epub_uid = '' # HTML files that should be inserted before the pages created by sphinx. # The format is a list of tuples containing the path and title. #epub_pre_files = [] # HTML files shat should be inserted after the pages created by sphinx. # The format is a list of tuples containing the path and title. #epub_post_files = [] # A list of files that should not be packed into the epub file. #epub_exclude_files = [] # The depth of the table of contents in toc.ncx. #epub_tocdepth = 3 intersphinx_mapping = { 'http://docs.python.org/dev': None, 'http://werkzeug.pocoo.org/docs/': None, 'http://www.sqlalchemy.org/docs/': None, 'http://wtforms.simplecodes.com/docs/0.5/': None, 'http://discorporate.us/projects/Blinker/docs/1.1/': None } pygments_style = 'flask_theme_support.FlaskyStyle' # fall back if theme is not there try: __import__('flask_theme_support') except ImportError, e: print '-' * 74 print 'Warning: Flask themes unavailable. Building with default theme' print 'If you want the Flask themes, run this command and build again:' print print ' git submodule update --init' print '-' * 74 pygments_style = 'tango' html_theme = 'default' html_theme_options = {} Flask-0.10.1/docs/config.rst0000644000076700000240000004613612156444477016751 0ustar mitsuhikostaff00000000000000.. _config: Configuration Handling ====================== .. versionadded:: 0.3 Applications need some kind of configuration. There are different settings you might want to change depending on the application environment like toggling the debug mode, setting the secret key, and other such environment-specific things. The way Flask is designed usually requires the configuration to be available when the application starts up. You can hardcode the configuration in the code, which for many small applications is not actually that bad, but there are better ways. Independent of how you load your config, there is a config object available which holds the loaded configuration values: The :attr:`~flask.Flask.config` attribute of the :class:`~flask.Flask` object. This is the place where Flask itself puts certain configuration values and also where extensions can put their configuration values. But this is also where you can have your own configuration. Configuration Basics -------------------- The :attr:`~flask.Flask.config` is actually a subclass of a dictionary and can be modified just like any dictionary:: app = Flask(__name__) app.config['DEBUG'] = True Certain configuration values are also forwarded to the :attr:`~flask.Flask` object so you can read and write them from there:: app.debug = True To update multiple keys at once you can use the :meth:`dict.update` method:: app.config.update( DEBUG=True, SECRET_KEY='...' ) Builtin Configuration Values ---------------------------- The following configuration values are used internally by Flask: .. tabularcolumns:: |p{6.5cm}|p{8.5cm}| ================================= ========================================= ``DEBUG`` enable/disable debug mode ``TESTING`` enable/disable testing mode ``PROPAGATE_EXCEPTIONS`` explicitly enable or disable the propagation of exceptions. If not set or explicitly set to `None` this is implicitly true if either `TESTING` or `DEBUG` is true. ``PRESERVE_CONTEXT_ON_EXCEPTION`` By default if the application is in debug mode the request context is not popped on exceptions to enable debuggers to introspect the data. This can be disabled by this key. You can also use this setting to force-enable it for non debug execution which might be useful to debug production applications (but also very risky). ``SECRET_KEY`` the secret key ``SESSION_COOKIE_NAME`` the name of the session cookie ``SESSION_COOKIE_DOMAIN`` the domain for the session cookie. If this is not set, the cookie will be valid for all subdomains of ``SERVER_NAME``. ``SESSION_COOKIE_PATH`` the path for the session cookie. If this is not set the cookie will be valid for all of ``APPLICATION_ROOT`` or if that is not set for ``'/'``. ``SESSION_COOKIE_HTTPONLY`` controls if the cookie should be set with the httponly flag. Defaults to `True`. ``SESSION_COOKIE_SECURE`` controls if the cookie should be set with the secure flag. Defaults to `False`. ``PERMANENT_SESSION_LIFETIME`` the lifetime of a permanent session as :class:`datetime.timedelta` object. Starting with Flask 0.8 this can also be an integer representing seconds. ``USE_X_SENDFILE`` enable/disable x-sendfile ``LOGGER_NAME`` the name of the logger ``SERVER_NAME`` the name and port number of the server. Required for subdomain support (e.g.: ``'myapp.dev:5000'``) Note that localhost does not support subdomains so setting this to “localhost†does not help. Setting a ``SERVER_NAME`` also by default enables URL generation without a request context but with an application context. ``APPLICATION_ROOT`` If the application does not occupy a whole domain or subdomain this can be set to the path where the application is configured to live. This is for session cookie as path value. If domains are used, this should be ``None``. ``MAX_CONTENT_LENGTH`` If set to a value in bytes, Flask will reject incoming requests with a content length greater than this by returning a 413 status code. ``SEND_FILE_MAX_AGE_DEFAULT``: Default cache control max age to use with :meth:`~flask.Flask.send_static_file` (the default static file handler) and :func:`~flask.send_file`, in seconds. Override this value on a per-file basis using the :meth:`~flask.Flask.get_send_file_max_age` hook on :class:`~flask.Flask` or :class:`~flask.Blueprint`, respectively. Defaults to 43200 (12 hours). ``TRAP_HTTP_EXCEPTIONS`` If this is set to ``True`` Flask will not execute the error handlers of HTTP exceptions but instead treat the exception like any other and bubble it through the exception stack. This is helpful for hairy debugging situations where you have to find out where an HTTP exception is coming from. ``TRAP_BAD_REQUEST_ERRORS`` Werkzeug's internal data structures that deal with request specific data will raise special key errors that are also bad request exceptions. Likewise many operations can implicitly fail with a BadRequest exception for consistency. Since it's nice for debugging to know why exactly it failed this flag can be used to debug those situations. If this config is set to ``True`` you will get a regular traceback instead. ``PREFERRED_URL_SCHEME`` The URL scheme that should be used for URL generation if no URL scheme is available. This defaults to ``http``. ``JSON_AS_ASCII`` By default Flask serialize object to ascii-encoded JSON. If this is set to ``False`` Flask will not encode to ASCII and output strings as-is and return unicode strings. ``jsonfiy`` will automatically encode it in ``utf-8`` then for transport for instance. ``JSON_SORT_KEYS`` By default Flask will serialize JSON objects in a way that the keys are ordered. This is done in order to ensure that independent of the hash seed of the dictionary the return value will be consistent to not trash external HTTP caches. You can override the default behavior by changing this variable. This is not recommended but might give you a performance improvement on the cost of cachability. ``JSONIFY_PRETTYPRINT_REGULAR`` If this is set to ``True`` (the default) jsonify responses will be pretty printed if they are not requested by an XMLHttpRequest object (controlled by the ``X-Requested-With`` header) ================================= ========================================= .. admonition:: More on ``SERVER_NAME`` The ``SERVER_NAME`` key is used for the subdomain support. Because Flask cannot guess the subdomain part without the knowledge of the actual server name, this is required if you want to work with subdomains. This is also used for the session cookie. Please keep in mind that not only Flask has the problem of not knowing what subdomains are, your web browser does as well. Most modern web browsers will not allow cross-subdomain cookies to be set on a server name without dots in it. So if your server name is ``'localhost'`` you will not be able to set a cookie for ``'localhost'`` and every subdomain of it. Please chose a different server name in that case, like ``'myapplication.local'`` and add this name + the subdomains you want to use into your host config or setup a local `bind`_. .. _bind: https://www.isc.org/software/bind .. versionadded:: 0.4 ``LOGGER_NAME`` .. versionadded:: 0.5 ``SERVER_NAME`` .. versionadded:: 0.6 ``MAX_CONTENT_LENGTH`` .. versionadded:: 0.7 ``PROPAGATE_EXCEPTIONS``, ``PRESERVE_CONTEXT_ON_EXCEPTION`` .. versionadded:: 0.8 ``TRAP_BAD_REQUEST_ERRORS``, ``TRAP_HTTP_EXCEPTIONS``, ``APPLICATION_ROOT``, ``SESSION_COOKIE_DOMAIN``, ``SESSION_COOKIE_PATH``, ``SESSION_COOKIE_HTTPONLY``, ``SESSION_COOKIE_SECURE`` .. versionadded:: 0.9 ``PREFERRED_URL_SCHEME`` .. versionadded:: 0.10 ``JSON_AS_ASCII``, ``JSON_SORT_KEYS``, ``JSONIFY_PRETTYPRINT_REGULAR`` Configuring from Files ---------------------- Configuration becomes more useful if you can store it in a separate file, ideally located outside the actual application package. This makes packaging and distributing your application possible via various package handling tools (:ref:`distribute-deployment`) and finally modifying the configuration file afterwards. So a common pattern is this:: app = Flask(__name__) app.config.from_object('yourapplication.default_settings') app.config.from_envvar('YOURAPPLICATION_SETTINGS') This first loads the configuration from the `yourapplication.default_settings` module and then overrides the values with the contents of the file the :envvar:`YOURAPPLICATION_SETTINGS` environment variable points to. This environment variable can be set on Linux or OS X with the export command in the shell before starting the server:: $ export YOURAPPLICATION_SETTINGS=/path/to/settings.cfg $ python run-app.py * Running on http://127.0.0.1:5000/ * Restarting with reloader... On Windows systems use the `set` builtin instead:: >set YOURAPPLICATION_SETTINGS=\path\to\settings.cfg The configuration files themselves are actual Python files. Only values in uppercase are actually stored in the config object later on. So make sure to use uppercase letters for your config keys. Here is an example of a configuration file:: # Example configuration DEBUG = False SECRET_KEY = '?\xbf,\xb4\x8d\xa3"<\x9c\xb0@\x0f5\xab,w\xee\x8d$0\x13\x8b83' Make sure to load the configuration very early on, so that extensions have the ability to access the configuration when starting up. There are other methods on the config object as well to load from individual files. For a complete reference, read the :class:`~flask.Config` object's documentation. Configuration Best Practices ---------------------------- The downside with the approach mentioned earlier is that it makes testing a little harder. There is no single 100% solution for this problem in general, but there are a couple of things you can keep in mind to improve that experience: 1. create your application in a function and register blueprints on it. That way you can create multiple instances of your application with different configurations attached which makes unittesting a lot easier. You can use this to pass in configuration as needed. 2. Do not write code that needs the configuration at import time. If you limit yourself to request-only accesses to the configuration you can reconfigure the object later on as needed. Development / Production ------------------------ Most applications need more than one configuration. There should be at least separate configurations for the production server and the one used during development. The easiest way to handle this is to use a default configuration that is always loaded and part of the version control, and a separate configuration that overrides the values as necessary as mentioned in the example above:: app = Flask(__name__) app.config.from_object('yourapplication.default_settings') app.config.from_envvar('YOURAPPLICATION_SETTINGS') Then you just have to add a separate `config.py` file and export ``YOURAPPLICATION_SETTINGS=/path/to/config.py`` and you are done. However there are alternative ways as well. For example you could use imports or subclassing. What is very popular in the Django world is to make the import explicit in the config file by adding an ``from yourapplication.default_settings import *`` to the top of the file and then overriding the changes by hand. You could also inspect an environment variable like ``YOURAPPLICATION_MODE`` and set that to `production`, `development` etc and import different hardcoded files based on that. An interesting pattern is also to use classes and inheritance for configuration:: class Config(object): DEBUG = False TESTING = False DATABASE_URI = 'sqlite://:memory:' class ProductionConfig(Config): DATABASE_URI = 'mysql://user@localhost/foo' class DevelopmentConfig(Config): DEBUG = True class TestingConfig(Config): TESTING = True To enable such a config you just have to call into :meth:`~flask.Config.from_object`:: app.config.from_object('configmodule.ProductionConfig') There are many different ways and it's up to you how you want to manage your configuration files. However here a list of good recommendations: - keep a default configuration in version control. Either populate the config with this default configuration or import it in your own configuration files before overriding values. - use an environment variable to switch between the configurations. This can be done from outside the Python interpreter and makes development and deployment much easier because you can quickly and easily switch between different configs without having to touch the code at all. If you are working often on different projects you can even create your own script for sourcing that activates a virtualenv and exports the development configuration for you. - Use a tool like `fabric`_ in production to push code and configurations separately to the production server(s). For some details about how to do that, head over to the :ref:`fabric-deployment` pattern. .. _fabric: http://fabfile.org/ .. _instance-folders: Instance Folders ---------------- .. versionadded:: 0.8 Flask 0.8 introduces instance folders. Flask for a long time made it possible to refer to paths relative to the application's folder directly (via :attr:`Flask.root_path`). This was also how many developers loaded configurations stored next to the application. Unfortunately however this only works well if applications are not packages in which case the root path refers to the contents of the package. With Flask 0.8 a new attribute was introduced: :attr:`Flask.instance_path`. It refers to a new concept called the “instance folderâ€. The instance folder is designed to not be under version control and be deployment specific. It's the perfect place to drop things that either change at runtime or configuration files. You can either explicitly provide the path of the instance folder when creating the Flask application or you can let Flask autodetect the instance folder. For explicit configuration use the `instance_path` parameter:: app = Flask(__name__, instance_path='/path/to/instance/folder') Please keep in mind that this path *must* be absolute when provided. If the `instance_path` parameter is not provided the following default locations are used: - Uninstalled module:: /myapp.py /instance - Uninstalled package:: /myapp /__init__.py /instance - Installed module or package:: $PREFIX/lib/python2.X/site-packages/myapp $PREFIX/var/myapp-instance ``$PREFIX`` is the prefix of your Python installation. This can be ``/usr`` or the path to your virtualenv. You can print the value of ``sys.prefix`` to see what the prefix is set to. Since the config object provided loading of configuration files from relative filenames we made it possible to change the loading via filenames to be relative to the instance path if wanted. The behavior of relative paths in config files can be flipped between “relative to the application root†(the default) to “relative to instance folder†via the `instance_relative_config` switch to the application constructor:: app = Flask(__name__, instance_relative_config=True) Here is a full example of how to configure Flask to preload the config from a module and then override the config from a file in the config folder if it exists:: app = Flask(__name__, instance_relative_config=True) app.config.from_object('yourapplication.default_settings') app.config.from_pyfile('application.cfg', silent=True) The path to the instance folder can be found via the :attr:`Flask.instance_path`. Flask also provides a shortcut to open a file from the instance folder with :meth:`Flask.open_instance_resource`. Example usage for both:: filename = os.path.join(app.instance_path, 'application.cfg') with open(filename) as f: config = f.read() # or via open_instance_resource: with app.open_instance_resource('application.cfg') as f: config = f.read() Flask-0.10.1/docs/contents.rst.inc0000644000076700000240000000170112156444477020076 0ustar mitsuhikostaff00000000000000User's Guide ------------ This part of the documentation, which is mostly prose, begins with some background information about Flask, then focuses on step-by-step instructions for web development with Flask. .. toctree:: :maxdepth: 2 foreword advanced_foreword installation quickstart tutorial/index templating testing errorhandling config signals views appcontext reqcontext blueprints extensions shell patterns/index deploying/index becomingbig API Reference ------------- If you are looking for information on a specific function, class or method, this part of the documentation is for you. .. toctree:: :maxdepth: 2 api Additional Notes ---------------- Design notes, legal information and changelog are here for the interested. .. toctree:: :maxdepth: 2 design htmlfaq security unicode extensiondev styleguide python3 upgrading changelog license Flask-0.10.1/docs/deploying/0000755000076700000240000000000012156555065016726 5ustar mitsuhikostaff00000000000000Flask-0.10.1/docs/deploying/cgi.rst0000644000076700000240000000403612156444477020231 0ustar mitsuhikostaff00000000000000CGI === If all other deployment methods do not work, CGI will work for sure. CGI is supported by all major servers but usually has a sub-optimal performance. This is also the way you can use a Flask application on Google's `App Engine`_, where execution happens in a CGI-like environment. .. admonition:: Watch Out Please make sure in advance that any ``app.run()`` calls you might have in your application file are inside an ``if __name__ == '__main__':`` block or moved to a separate file. Just make sure it's not called because this will always start a local WSGI server which we do not want if we deploy that application to CGI / app engine. With CGI, you will also have to make sure that your code does not contain any ``print`` statements, or that ``sys.stdout`` is overridden by something that doesn't write into the HTTP response. Creating a `.cgi` file ---------------------- First you need to create the CGI application file. Let's call it `yourapplication.cgi`:: #!/usr/bin/python from wsgiref.handlers import CGIHandler from yourapplication import app CGIHandler().run(app) Server Setup ------------ Usually there are two ways to configure the server. Either just copy the `.cgi` into a `cgi-bin` (and use `mod_rewrite` or something similar to rewrite the URL) or let the server point to the file directly. In Apache for example you can put something like this into the config: .. sourcecode:: apache ScriptAlias /app /path/to/the/application.cgi On shared webhosting, though, you might not have access to your Apache config. In this case, a file called `.htaccess`, sitting in the public directory you want your app to be available, works too but the `ScriptAlias` directive won't work in that case: .. sourcecode:: apache RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f # Don't interfere with static files RewriteRule ^(.*)$ /path/to/the/application.cgi/$1 [L] For more information consult the documentation of your webserver. .. _App Engine: http://code.google.com/appengine/ Flask-0.10.1/docs/deploying/fastcgi.rst0000644000076700000240000001672412156444477021116 0ustar mitsuhikostaff00000000000000.. _deploying-fastcgi: FastCGI ======= FastCGI is a deployment option on servers like `nginx`_, `lighttpd`_, and `cherokee`_; see :ref:`deploying-uwsgi` and :ref:`deploying-wsgi-standalone` for other options. To use your WSGI application with any of them you will need a FastCGI server first. The most popular one is `flup`_ which we will use for this guide. Make sure to have it installed to follow along. .. admonition:: Watch Out Please make sure in advance that any ``app.run()`` calls you might have in your application file are inside an ``if __name__ == '__main__':`` block or moved to a separate file. Just make sure it's not called because this will always start a local WSGI server which we do not want if we deploy that application to FastCGI. Creating a `.fcgi` file ----------------------- First you need to create the FastCGI server file. Let's call it `yourapplication.fcgi`:: #!/usr/bin/python from flup.server.fcgi import WSGIServer from yourapplication import app if __name__ == '__main__': WSGIServer(app).run() This is enough for Apache to work, however nginx and older versions of lighttpd need a socket to be explicitly passed to communicate with the FastCGI server. For that to work you need to pass the path to the socket to the :class:`~flup.server.fcgi.WSGIServer`:: WSGIServer(application, bindAddress='/path/to/fcgi.sock').run() The path has to be the exact same path you define in the server config. Save the `yourapplication.fcgi` file somewhere you will find it again. It makes sense to have that in `/var/www/yourapplication` or something similar. Make sure to set the executable bit on that file so that the servers can execute it: .. sourcecode:: text # chmod +x /var/www/yourapplication/yourapplication.fcgi Configuring Apache ------------------ The example above is good enough for a basic Apache deployment but your `.fcgi` file will appear in your application URL e.g. example.com/yourapplication.fcgi/news/. There are few ways to configure your application so that yourapplication.fcgi does not appear in the URL. A preferable way is to use the ScriptAlias configuration directive:: ServerName example.com ScriptAlias / /path/to/yourapplication.fcgi/ If you cannot set ScriptAlias, for example on an shared web host, you can use WSGI middleware to remove yourapplication.fcgi from the URLs. Set .htaccess:: AddHandler fcgid-script .fcgi SetHandler fcgid-script Options +FollowSymLinks +ExecCGI Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ yourapplication.fcgi/$1 [QSA,L] Set yourapplication.fcgi:: #!/usr/bin/python #: optional path to your local python site-packages folder import sys sys.path.insert(0, '/lib/python2.6/site-packages') from flup.server.fcgi import WSGIServer from yourapplication import app class ScriptNameStripper(object): def __init__(self, app): self.app = app def __call__(self, environ, start_response): environ['SCRIPT_NAME'] = '' return self.app(environ, start_response) app = ScriptNameStripper(app) if __name__ == '__main__': WSGIServer(app).run() Configuring lighttpd -------------------- A basic FastCGI configuration for lighttpd looks like that:: fastcgi.server = ("/yourapplication.fcgi" => (( "socket" => "/tmp/yourapplication-fcgi.sock", "bin-path" => "/var/www/yourapplication/yourapplication.fcgi", "check-local" => "disable", "max-procs" => 1 )) ) alias.url = ( "/static/" => "/path/to/your/static" ) url.rewrite-once = ( "^(/static($|/.*))$" => "$1", "^(/.*)$" => "/yourapplication.fcgi$1" Remember to enable the FastCGI, alias and rewrite modules. This configuration binds the application to `/yourapplication`. If you want the application to work in the URL root you have to work around a lighttpd bug with the :class:`~werkzeug.contrib.fixers.LighttpdCGIRootFix` middleware. Make sure to apply it only if you are mounting the application the URL root. Also, see the Lighty docs for more information on `FastCGI and Python `_ (note that explicitly passing a socket to run() is no longer necessary). Configuring nginx ----------------- Installing FastCGI applications on nginx is a bit different because by default no FastCGI parameters are forwarded. A basic flask FastCGI configuration for nginx looks like this:: location = /yourapplication { rewrite ^ /yourapplication/ last; } location /yourapplication { try_files $uri @yourapplication; } location @yourapplication { include fastcgi_params; fastcgi_split_path_info ^(/yourapplication)(.*)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_pass unix:/tmp/yourapplication-fcgi.sock; } This configuration binds the application to `/yourapplication`. If you want to have it in the URL root it's a bit simpler because you don't have to figure out how to calculate `PATH_INFO` and `SCRIPT_NAME`:: location / { try_files $uri @yourapplication; } location @yourapplication { include fastcgi_params; fastcgi_param PATH_INFO $fastcgi_script_name; fastcgi_param SCRIPT_NAME ""; fastcgi_pass unix:/tmp/yourapplication-fcgi.sock; } Running FastCGI Processes ------------------------- Since Nginx and others do not load FastCGI apps, you have to do it by yourself. `Supervisor can manage FastCGI processes. `_ You can look around for other FastCGI process managers or write a script to run your `.fcgi` file at boot, e.g. using a SysV ``init.d`` script. For a temporary solution, you can always run the ``.fcgi`` script inside GNU screen. See ``man screen`` for details, and note that this is a manual solution which does not persist across system restart:: $ screen $ /var/www/yourapplication/yourapplication.fcgi Debugging --------- FastCGI deployments tend to be hard to debug on most webservers. Very often the only thing the server log tells you is something along the lines of "premature end of headers". In order to debug the application the only thing that can really give you ideas why it breaks is switching to the correct user and executing the application by hand. This example assumes your application is called `application.fcgi` and that your webserver user is `www-data`:: $ su www-data $ cd /var/www/yourapplication $ python application.fcgi Traceback (most recent call last): File "yourapplication.fcgi", line 4, in ImportError: No module named yourapplication In this case the error seems to be "yourapplication" not being on the python path. Common problems are: - Relative paths being used. Don't rely on the current working directory - The code depending on environment variables that are not set by the web server. - Different python interpreters being used. .. _nginx: http://nginx.org/ .. _lighttpd: http://www.lighttpd.net/ .. _cherokee: http://www.cherokee-project.com/ .. _flup: http://trac.saddi.com/flup Flask-0.10.1/docs/deploying/index.rst0000644000076700000240000000140212156311351020550 0ustar mitsuhikostaff00000000000000.. _deployment: Deployment Options ================== Depending on what you have available there are multiple ways to run Flask applications. You can use the builtin server during development, but you should use a full deployment option for production applications. (Do not use the builtin development server in production.) Several options are available and documented here. If you have a different WSGI server look up the server documentation about how to use a WSGI app with it. Just remember that your :class:`Flask` application object is the actual WSGI application. For hosted options to get up and running quickly, see :ref:`quickstart_deployment` in the Quickstart. .. toctree:: :maxdepth: 2 mod_wsgi wsgi-standalone uwsgi fastcgi cgi Flask-0.10.1/docs/deploying/mod_wsgi.rst0000644000076700000240000001461312156444477021301 0ustar mitsuhikostaff00000000000000.. _mod_wsgi-deployment: mod_wsgi (Apache) ================= If you are using the `Apache`_ webserver, consider using `mod_wsgi`_. .. admonition:: Watch Out Please make sure in advance that any ``app.run()`` calls you might have in your application file are inside an ``if __name__ == '__main__':`` block or moved to a separate file. Just make sure it's not called because this will always start a local WSGI server which we do not want if we deploy that application to mod_wsgi. .. _Apache: http://httpd.apache.org/ Installing `mod_wsgi` --------------------- If you don't have `mod_wsgi` installed yet you have to either install it using a package manager or compile it yourself. The mod_wsgi `installation instructions`_ cover source installations on UNIX systems. If you are using Ubuntu/Debian you can apt-get it and activate it as follows: .. sourcecode:: text # apt-get install libapache2-mod-wsgi On FreeBSD install `mod_wsgi` by compiling the `www/mod_wsgi` port or by using pkg_add: .. sourcecode:: text # pkg_add -r mod_wsgi If you are using pkgsrc you can install `mod_wsgi` by compiling the `www/ap2-wsgi` package. If you encounter segfaulting child processes after the first apache reload you can safely ignore them. Just restart the server. Creating a `.wsgi` file ----------------------- To run your application you need a `yourapplication.wsgi` file. This file contains the code `mod_wsgi` is executing on startup to get the application object. The object called `application` in that file is then used as application. For most applications the following file should be sufficient:: from yourapplication import app as application If you don't have a factory function for application creation but a singleton instance you can directly import that one as `application`. Store that file somewhere that you will find it again (e.g.: `/var/www/yourapplication`) and make sure that `yourapplication` and all the libraries that are in use are on the python load path. If you don't want to install it system wide consider using a `virtual python`_ instance. Keep in mind that you will have to actually install your application into the virtualenv as well. Alternatively there is the option to just patch the path in the `.wsgi` file before the import:: import sys sys.path.insert(0, '/path/to/the/application') Configuring Apache ------------------ The last thing you have to do is to create an Apache configuration file for your application. In this example we are telling `mod_wsgi` to execute the application under a different user for security reasons: .. sourcecode:: apache ServerName example.com WSGIDaemonProcess yourapplication user=user1 group=group1 threads=5 WSGIScriptAlias / /var/www/yourapplication/yourapplication.wsgi WSGIProcessGroup yourapplication WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all Note: WSGIDaemonProcess isn't implemented in Windows and Apache will refuse to run with the above configuration. On a Windows system, eliminate those lines: .. sourcecode:: apache ServerName example.com WSGIScriptAlias / C:\yourdir\yourapp.wsgi Order deny,allow Allow from all For more information consult the `mod_wsgi wiki`_. .. _mod_wsgi: http://code.google.com/p/modwsgi/ .. _installation instructions: http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide .. _virtual python: http://pypi.python.org/pypi/virtualenv .. _mod_wsgi wiki: http://code.google.com/p/modwsgi/wiki/ Troubleshooting --------------- If your application does not run, follow this guide to troubleshoot: **Problem:** application does not run, errorlog shows SystemExit ignored You have a ``app.run()`` call in your application file that is not guarded by an ``if __name__ == '__main__':`` condition. Either remove that :meth:`~flask.Flask.run` call from the file and move it into a separate `run.py` file or put it into such an if block. **Problem:** application gives permission errors Probably caused by your application running as the wrong user. Make sure the folders the application needs access to have the proper privileges set and the application runs as the correct user (``user`` and ``group`` parameter to the `WSGIDaemonProcess` directive) **Problem:** application dies with an error on print Keep in mind that mod_wsgi disallows doing anything with :data:`sys.stdout` and :data:`sys.stderr`. You can disable this protection from the config by setting the `WSGIRestrictStdout` to ``off``: .. sourcecode:: apache WSGIRestrictStdout Off Alternatively you can also replace the standard out in the .wsgi file with a different stream:: import sys sys.stdout = sys.stderr **Problem:** accessing resources gives IO errors Your application probably is a single .py file you symlinked into the site-packages folder. Please be aware that this does not work, instead you either have to put the folder into the pythonpath the file is stored in, or convert your application into a package. The reason for this is that for non-installed packages, the module filename is used to locate the resources and for symlinks the wrong filename is picked up. Support for Automatic Reloading ------------------------------- To help deployment tools you can activate support for automatic reloading. Whenever something changes the `.wsgi` file, `mod_wsgi` will reload all the daemon processes for us. For that, just add the following directive to your `Directory` section: .. sourcecode:: apache WSGIScriptReloading On Working with Virtual Environments --------------------------------- Virtual environments have the advantage that they never install the required dependencies system wide so you have a better control over what is used where. If you want to use a virtual environment with mod_wsgi you have to modify your `.wsgi` file slightly. Add the following lines to the top of your `.wsgi` file:: activate_this = '/path/to/env/bin/activate_this.py' execfile(activate_this, dict(__file__=activate_this)) This sets up the load paths according to the settings of the virtual environment. Keep in mind that the path has to be absolute. Flask-0.10.1/docs/deploying/uwsgi.rst0000644000076700000240000000427312156311351020610 0ustar mitsuhikostaff00000000000000.. _deploying-uwsgi: uWSGI ===== uWSGI is a deployment option on servers like `nginx`_, `lighttpd`_, and `cherokee`_; see :ref:`deploying-fastcgi` and :ref:`deploying-wsgi-standalone` for other options. To use your WSGI application with uWSGI protocol you will need a uWSGI server first. uWSGI is both a protocol and an application server; the application server can serve uWSGI, FastCGI, and HTTP protocols. The most popular uWSGI server is `uwsgi`_, which we will use for this guide. Make sure to have it installed to follow along. .. admonition:: Watch Out Please make sure in advance that any ``app.run()`` calls you might have in your application file are inside an ``if __name__ == '__main__':`` block or moved to a separate file. Just make sure it's not called because this will always start a local WSGI server which we do not want if we deploy that application to uWSGI. Starting your app with uwsgi ---------------------------- `uwsgi` is designed to operate on WSGI callables found in python modules. Given a flask application in myapp.py, use the following command: .. sourcecode:: text $ uwsgi -s /tmp/uwsgi.sock --module myapp --callable app Or, if you prefer: .. sourcecode:: text $ uwsgi -s /tmp/uwsgi.sock -w myapp:app Configuring nginx ----------------- A basic flask uWSGI configuration for nginx looks like this:: location = /yourapplication { rewrite ^ /yourapplication/; } location /yourapplication { try_files $uri @yourapplication; } location @yourapplication { include uwsgi_params; uwsgi_param SCRIPT_NAME /yourapplication; uwsgi_modifier1 30; uwsgi_pass unix:/tmp/uwsgi.sock; } This configuration binds the application to `/yourapplication`. If you want to have it in the URL root it's a bit simpler because you don't have to tell it the WSGI `SCRIPT_NAME` or set the uwsgi modifier to make use of it:: location / { try_files $uri @yourapplication; } location @yourapplication { include uwsgi_params; uwsgi_pass unix:/tmp/uwsgi.sock; } .. _nginx: http://nginx.org/ .. _lighttpd: http://www.lighttpd.net/ .. _cherokee: http://www.cherokee-project.com/ .. _uwsgi: http://projects.unbit.it/uwsgi/ Flask-0.10.1/docs/deploying/wsgi-standalone.rst0000644000076700000240000001176612156444477022576 0ustar mitsuhikostaff00000000000000.. _deploying-wsgi-standalone: Standalone WSGI Containers ========================== There are popular servers written in Python that contain WSGI applications and serve HTTP. These servers stand alone when they run; you can proxy to them from your web server. Note the section on :ref:`deploying-proxy-setups` if you run into issues. Gunicorn -------- `Gunicorn`_ 'Green Unicorn' is a WSGI HTTP Server for UNIX. It's a pre-fork worker model ported from Ruby's Unicorn project. It supports both `eventlet`_ and `greenlet`_. Running a Flask application on this server is quite simple:: gunicorn myproject:app `Gunicorn`_ provides many command-line options -- see ``gunicorn -h``. For example, to run a Flask application with 4 worker processes (``-w 4``) binding to localhost port 4000 (``-b 127.0.0.1:4000``):: gunicorn -w 4 -b 127.0.0.1:4000 myproject:app .. _Gunicorn: http://gunicorn.org/ .. _eventlet: http://eventlet.net/ .. _greenlet: http://codespeak.net/py/0.9.2/greenlet.html Tornado -------- `Tornado`_ is an open source version of the scalable, non-blocking web server and tools that power `FriendFeed`_. Because it is non-blocking and uses epoll, it can handle thousands of simultaneous standing connections, which means it is ideal for real-time web services. Integrating this service with Flask is straightforward:: from tornado.wsgi import WSGIContainer from tornado.httpserver import HTTPServer from tornado.ioloop import IOLoop from yourapplication import app http_server = HTTPServer(WSGIContainer(app)) http_server.listen(5000) IOLoop.instance().start() .. _Tornado: http://www.tornadoweb.org/ .. _FriendFeed: http://friendfeed.com/ Gevent ------- `Gevent`_ is a coroutine-based Python networking library that uses `greenlet`_ to provide a high-level synchronous API on top of `libevent`_ event loop:: from gevent.wsgi import WSGIServer from yourapplication import app http_server = WSGIServer(('', 5000), app) http_server.serve_forever() .. _Gevent: http://www.gevent.org/ .. _greenlet: http://codespeak.net/py/0.9.2/greenlet.html .. _libevent: http://monkey.org/~provos/libevent/ Twisted Web ----------- `Twisted Web`_ is the web server shipped with `Twisted`_, a mature, non-blocking event-driven networking library. Twisted Web comes with a standard WSGI container which can be controlled from the command line using the ``twistd`` utility:: twistd web --wsgi myproject.app This example will run a Flask application called ``app`` from a module named ``myproject``. Twisted Web supports many flags and options, and the ``twistd`` utility does as well; see ``twistd -h`` and ``twistd web -h`` for more information. For example, to run a Twisted Web server in the foreground, on port 8080, with an application from ``myproject``:: twistd -n web --port 8080 --wsgi myproject.app .. _Twisted: https://twistedmatrix.com/ .. _Twisted Web: https://twistedmatrix.com/trac/wiki/TwistedWeb .. _deploying-proxy-setups: Proxy Setups ------------ If you deploy your application using one of these servers behind an HTTP proxy you will need to rewrite a few headers in order for the application to work. The two problematic values in the WSGI environment usually are `REMOTE_ADDR` and `HTTP_HOST`. You can configure your httpd to pass these headers, or you can fix them in middleware. Werkzeug ships a fixer that will solve some common setups, but you might want to write your own WSGI middleware for specific setups. Here's a simple nginx configuration which proxies to an application served on localhost at port 8000, setting appropriate headers: .. sourcecode:: nginx server { listen 80; server_name _; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; location / { proxy_pass http://127.0.0.1:8000/; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } If your httpd is not providing these headers, the most common setup invokes the host being set from `X-Forwarded-Host` and the remote address from `X-Forwarded-For`:: from werkzeug.contrib.fixers import ProxyFix app.wsgi_app = ProxyFix(app.wsgi_app) .. admonition:: Trusting Headers Please keep in mind that it is a security issue to use such a middleware in a non-proxy setup because it will blindly trust the incoming headers which might be forged by malicious clients. If you want to rewrite the headers from another header, you might want to use a fixer like this:: class CustomProxyFix(object): def __init__(self, app): self.app = app def __call__(self, environ, start_response): host = environ.get('HTTP_X_FHOST', '') if host: environ['HTTP_HOST'] = host return self.app(environ, start_response) app.wsgi_app = CustomProxyFix(app.wsgi_app) Flask-0.10.1/docs/design.rst0000644000076700000240000002142412156444477016746 0ustar mitsuhikostaff00000000000000.. _design: Design Decisions in Flask ========================= If you are curious why Flask does certain things the way it does and not differently, this section is for you. This should give you an idea about some of the design decisions that may appear arbitrary and surprising at first, especially in direct comparison with other frameworks. The Explicit Application Object ------------------------------- A Python web application based on WSGI has to have one central callable object that implements the actual application. In Flask this is an instance of the :class:`~flask.Flask` class. Each Flask application has to create an instance of this class itself and pass it the name of the module, but why can't Flask do that itself? Without such an explicit application object the following code:: from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'Hello World!' Would look like this instead:: from hypothetical_flask import route @route('/') def index(): return 'Hello World!' There are three major reasons for this. The most important one is that implicit application objects require that there may only be one instance at the time. There are ways to fake multiple applications with a single application object, like maintaining a stack of applications, but this causes some problems I won't outline here in detail. Now the question is: when does a microframework need more than one application at the same time? A good example for this is unittesting. When you want to test something it can be very helpful to create a minimal application to test specific behavior. When the application object is deleted everything it allocated will be freed again. Another thing that becomes possible when you have an explicit object lying around in your code is that you can subclass the base class (:class:`~flask.Flask`) to alter specific behavior. This would not be possible without hacks if the object were created ahead of time for you based on a class that is not exposed to you. But there is another very important reason why Flask depends on an explicit instantiation of that class: the package name. Whenever you create a Flask instance you usually pass it `__name__` as package name. Flask depends on that information to properly load resources relative to your module. With Python's outstanding support for reflection it can then access the package to figure out where the templates and static files are stored (see :meth:`~flask.Flask.open_resource`). Now obviously there are frameworks around that do not need any configuration and will still be able to load templates relative to your application module. But they have to use the current working directory for that, which is a very unreliable way to determine where the application is. The current working directory is process-wide and if you are running multiple applications in one process (which could happen in a webserver without you knowing) the paths will be off. Worse: many webservers do not set the working directory to the directory of your application but to the document root which does not have to be the same folder. The third reason is "explicit is better than implicit". That object is your WSGI application, you don't have to remember anything else. If you want to apply a WSGI middleware, just wrap it and you're done (though there are better ways to do that so that you do not lose the reference to the application object :meth:`~flask.Flask.wsgi_app`). Furthermore this design makes it possible to use a factory function to create the application which is very helpful for unittesting and similar things (:ref:`app-factories`). The Routing System ------------------ Flask uses the Werkzeug routing system which was designed to automatically order routes by complexity. This means that you can declare routes in arbitrary order and they will still work as expected. This is a requirement if you want to properly implement decorator based routing since decorators could be fired in undefined order when the application is split into multiple modules. Another design decision with the Werkzeug routing system is that routes in Werkzeug try to ensure that URLs are unique. Werkzeug will go quite far with that in that it will automatically redirect to a canonical URL if a route is ambiguous. One Template Engine ------------------- Flask decides on one template engine: Jinja2. Why doesn't Flask have a pluggable template engine interface? You can obviously use a different template engine, but Flask will still configure Jinja2 for you. While that limitation that Jinja2 is *always* configured will probably go away, the decision to bundle one template engine and use that will not. Template engines are like programming languages and each of those engines has a certain understanding about how things work. On the surface they all work the same: you tell the engine to evaluate a template with a set of variables and take the return value as string. But that's about where similarities end. Jinja2 for example has an extensive filter system, a certain way to do template inheritance, support for reusable blocks (macros) that can be used from inside templates and also from Python code, uses Unicode for all operations, supports iterative template rendering, configurable syntax and more. On the other hand an engine like Genshi is based on XML stream evaluation, template inheritance by taking the availability of XPath into account and more. Mako on the other hand treats templates similar to Python modules. When it comes to connecting a template engine with an application or framework there is more than just rendering templates. For instance, Flask uses Jinja2's extensive autoescaping support. Also it provides ways to access macros from Jinja2 templates. A template abstraction layer that would not take the unique features of the template engines away is a science on its own and a too large undertaking for a microframework like Flask. Furthermore extensions can then easily depend on one template language being present. You can easily use your own templating language, but an extension could still depend on Jinja itself. Micro with Dependencies ----------------------- Why does Flask call itself a microframework and yet it depends on two libraries (namely Werkzeug and Jinja2). Why shouldn't it? If we look over to the Ruby side of web development there we have a protocol very similar to WSGI. Just that it's called Rack there, but besides that it looks very much like a WSGI rendition for Ruby. But nearly all applications in Ruby land do not work with Rack directly, but on top of a library with the same name. This Rack library has two equivalents in Python: WebOb (formerly Paste) and Werkzeug. Paste is still around but from my understanding it's sort of deprecated in favour of WebOb. The development of WebOb and Werkzeug started side by side with similar ideas in mind: be a good implementation of WSGI for other applications to take advantage. Flask is a framework that takes advantage of the work already done by Werkzeug to properly interface WSGI (which can be a complex task at times). Thanks to recent developments in the Python package infrastructure, packages with dependencies are no longer an issue and there are very few reasons against having libraries that depend on others. Thread Locals ------------- Flask uses thread local objects (context local objects in fact, they support greenlet contexts as well) for request, session and an extra object you can put your own things on (:data:`~flask.g`). Why is that and isn't that a bad idea? Yes it is usually not such a bright idea to use thread locals. They cause troubles for servers that are not based on the concept of threads and make large applications harder to maintain. However Flask is just not designed for large applications or asynchronous servers. Flask wants to make it quick and easy to write a traditional web application. Also see the :ref:`becomingbig` section of the documentation for some inspiration for larger applications based on Flask. What Flask is, What Flask is Not -------------------------------- Flask will never have a database layer. It will not have a form library or anything else in that direction. Flask itself just bridges to Werkzeug to implement a proper WSGI application and to Jinja2 to handle templating. It also binds to a few common standard library packages such as logging. Everything else is up for extensions. Why is this the case? Because people have different preferences and requirements and Flask could not meet those if it would force any of this into the core. The majority of web applications will need a template engine in some sort. However not every application needs a SQL database. The idea of Flask is to build a good foundation for all applications. Everything else is up to you or extensions. Flask-0.10.1/docs/errorhandling.rst0000644000076700000240000003036612156311351020320 0ustar mitsuhikostaff00000000000000.. _application-errors: Logging Application Errors ========================== .. versionadded:: 0.3 Applications fail, servers fail. Sooner or later you will see an exception in production. Even if your code is 100% correct, you will still see exceptions from time to time. Why? Because everything else involved will fail. Here some situations where perfectly fine code can lead to server errors: - the client terminated the request early and the application was still reading from the incoming data. - the database server was overloaded and could not handle the query. - a filesystem is full - a harddrive crashed - a backend server overloaded - a programming error in a library you are using - network connection of the server to another system failed. And that's just a small sample of issues you could be facing. So how do we deal with that sort of problem? By default if your application runs in production mode, Flask will display a very simple page for you and log the exception to the :attr:`~flask.Flask.logger`. But there is more you can do, and we will cover some better setups to deal with errors. Error Mails ----------- If the application runs in production mode (which it will do on your server) you won't see any log messages by default. Why is that? Flask tries to be a zero-configuration framework. Where should it drop the logs for you if there is no configuration? Guessing is not a good idea because chances are, the place it guessed is not the place where the user has permission to create a logfile. Also, for most small applications nobody will look at the logs anyways. In fact, I promise you right now that if you configure a logfile for the application errors you will never look at it except for debugging an issue when a user reported it for you. What you want instead is a mail the second the exception happened. Then you get an alert and you can do something about it. Flask uses the Python builtin logging system, and it can actually send you mails for errors which is probably what you want. Here is how you can configure the Flask logger to send you mails for exceptions:: ADMINS = ['yourname@example.com'] if not app.debug: import logging from logging.handlers import SMTPHandler mail_handler = SMTPHandler('127.0.0.1', 'server-error@example.com', ADMINS, 'YourApplication Failed') mail_handler.setLevel(logging.ERROR) app.logger.addHandler(mail_handler) So what just happened? We created a new :class:`~logging.handlers.SMTPHandler` that will send mails with the mail server listening on ``127.0.0.1`` to all the `ADMINS` from the address *server-error@example.com* with the subject "YourApplication Failed". If your mail server requires credentials, these can also be provided. For that check out the documentation for the :class:`~logging.handlers.SMTPHandler`. We also tell the handler to only send errors and more critical messages. Because we certainly don't want to get a mail for warnings or other useless logs that might happen during request handling. Before you run that in production, please also look at :ref:`logformat` to put more information into that error mail. That will save you from a lot of frustration. Logging to a File ----------------- Even if you get mails, you probably also want to log warnings. It's a good idea to keep as much information around that might be required to debug a problem. Please note that Flask itself will not issue any warnings in the core system, so it's your responsibility to warn in the code if something seems odd. There are a couple of handlers provided by the logging system out of the box but not all of them are useful for basic error logging. The most interesting are probably the following: - :class:`~logging.FileHandler` - logs messages to a file on the filesystem. - :class:`~logging.handlers.RotatingFileHandler` - logs messages to a file on the filesystem and will rotate after a certain number of messages. - :class:`~logging.handlers.NTEventLogHandler` - will log to the system event log of a Windows system. If you are deploying on a Windows box, this is what you want to use. - :class:`~logging.handlers.SysLogHandler` - sends logs to a UNIX syslog. Once you picked your log handler, do like you did with the SMTP handler above, just make sure to use a lower setting (I would recommend `WARNING`):: if not app.debug: import logging from themodule import TheHandlerYouWant file_handler = TheHandlerYouWant(...) file_handler.setLevel(logging.WARNING) app.logger.addHandler(file_handler) .. _logformat: Controlling the Log Format -------------------------- By default a handler will only write the message string into a file or send you that message as mail. A log record stores more information, and it makes a lot of sense to configure your logger to also contain that information so that you have a better idea of why that error happened, and more importantly, where it did. A formatter can be instantiated with a format string. Note that tracebacks are appended to the log entry automatically. You don't have to do that in the log formatter format string. Here some example setups: Email ````` :: from logging import Formatter mail_handler.setFormatter(Formatter(''' Message type: %(levelname)s Location: %(pathname)s:%(lineno)d Module: %(module)s Function: %(funcName)s Time: %(asctime)s Message: %(message)s ''')) File logging ```````````` :: from logging import Formatter file_handler.setFormatter(Formatter( '%(asctime)s %(levelname)s: %(message)s ' '[in %(pathname)s:%(lineno)d]' )) Complex Log Formatting `````````````````````` Here is a list of useful formatting variables for the format string. Note that this list is not complete, consult the official documentation of the :mod:`logging` package for a full list. .. tabularcolumns:: |p{3cm}|p{12cm}| +------------------+----------------------------------------------------+ | Format | Description | +==================+====================================================+ | ``%(levelname)s``| Text logging level for the message | | | (``'DEBUG'``, ``'INFO'``, ``'WARNING'``, | | | ``'ERROR'``, ``'CRITICAL'``). | +------------------+----------------------------------------------------+ | ``%(pathname)s`` | Full pathname of the source file where the | | | logging call was issued (if available). | +------------------+----------------------------------------------------+ | ``%(filename)s`` | Filename portion of pathname. | +------------------+----------------------------------------------------+ | ``%(module)s`` | Module (name portion of filename). | +------------------+----------------------------------------------------+ | ``%(funcName)s`` | Name of function containing the logging call. | +------------------+----------------------------------------------------+ | ``%(lineno)d`` | Source line number where the logging call was | | | issued (if available). | +------------------+----------------------------------------------------+ | ``%(asctime)s`` | Human-readable time when the LogRecord` was | | | created. By default this is of the form | | | ``"2003-07-08 16:49:45,896"`` (the numbers after | | | the comma are millisecond portion of the time). | | | This can be changed by subclassing the formatter | | | and overriding the | | | :meth:`~logging.Formatter.formatTime` method. | +------------------+----------------------------------------------------+ | ``%(message)s`` | The logged message, computed as ``msg % args`` | +------------------+----------------------------------------------------+ If you want to further customize the formatting, you can subclass the formatter. The formatter has three interesting methods: :meth:`~logging.Formatter.format`: handles the actual formatting. It is passed a :class:`~logging.LogRecord` object and has to return the formatted string. :meth:`~logging.Formatter.formatTime`: called for `asctime` formatting. If you want a different time format you can override this method. :meth:`~logging.Formatter.formatException` called for exception formatting. It is passed an :attr:`~sys.exc_info` tuple and has to return a string. The default is usually fine, you don't have to override it. For more information, head over to the official documentation. Other Libraries --------------- So far we only configured the logger your application created itself. Other libraries might log themselves as well. For example, SQLAlchemy uses logging heavily in its core. While there is a method to configure all loggers at once in the :mod:`logging` package, I would not recommend using it. There might be a situation in which you want to have multiple separate applications running side by side in the same Python interpreter and then it becomes impossible to have different logging setups for those. Instead, I would recommend figuring out which loggers you are interested in, getting the loggers with the :func:`~logging.getLogger` function and iterating over them to attach handlers:: from logging import getLogger loggers = [app.logger, getLogger('sqlalchemy'), getLogger('otherlibrary')] for logger in loggers: logger.addHandler(mail_handler) logger.addHandler(file_handler) Debugging Application Errors ============================ For production applications, configure your application with logging and notifications as described in :ref:`application-errors`. This section provides pointers when debugging deployment configuration and digging deeper with a full-featured Python debugger. When in Doubt, Run Manually --------------------------- Having problems getting your application configured for production? If you have shell access to your host, verify that you can run your application manually from the shell in the deployment environment. Be sure to run under the same user account as the configured deployment to troubleshoot permission issues. You can use Flask's builtin development server with `debug=True` on your production host, which is helpful in catching configuration issues, but **be sure to do this temporarily in a controlled environment.** Do not run in production with `debug=True`. .. _working-with-debuggers: Working with Debuggers ---------------------- To dig deeper, possibly to trace code execution, Flask provides a debugger out of the box (see :ref:`debug-mode`). If you would like to use another Python debugger, note that debuggers interfere with each other. You have to set some options in order to use your favorite debugger: * ``debug`` - whether to enable debug mode and catch exceptinos * ``use_debugger`` - whether to use the internal Flask debugger * ``use_reloader`` - whether to reload and fork the process on exception ``debug`` must be True (i.e., exceptions must be caught) in order for the other two options to have any value. If you're using Aptana/Eclipse for debugging you'll need to set both ``use_debugger`` and ``use_reloader`` to False. A possible useful pattern for configuration is to set the following in your config.yaml (change the block as appropriate for your application, of course):: FLASK: DEBUG: True DEBUG_WITH_APTANA: True Then in your application's entry-point (main.py), you could have something like:: if __name__ == "__main__": # To allow aptana to receive errors, set use_debugger=False app = create_app(config="config.yaml") if app.debug: use_debugger = True try: # Disable Flask's debugger if external debugger is requested use_debugger = not(app.config.get('DEBUG_WITH_APTANA')) except: pass app.run(use_debugger=use_debugger, debug=app.debug, use_reloader=use_debugger, host='0.0.0.0') Flask-0.10.1/docs/extensiondev.rst0000644000076700000240000004037212156444477020213 0ustar mitsuhikostaff00000000000000.. _extension-dev: Flask Extension Development =========================== Flask, being a microframework, often requires some repetitive steps to get a third party library working. Because very often these steps could be abstracted to support multiple projects the `Flask Extension Registry`_ was created. If you want to create your own Flask extension for something that does not exist yet, this guide to extension development will help you get your extension running in no time and to feel like users would expect your extension to behave. .. _Flask Extension Registry: http://flask.pocoo.org/extensions/ Anatomy of an Extension ----------------------- Extensions are all located in a package called ``flask_something`` where "something" is the name of the library you want to bridge. So for example if you plan to add support for a library named `simplexml` to Flask, you would name your extension's package ``flask_simplexml``. The name of the actual extension (the human readable name) however would be something like "Flask-SimpleXML". Make sure to include the name "Flask" somewhere in that name and that you check the capitalization. This is how users can then register dependencies to your extension in their `setup.py` files. Flask sets up a redirect package called :data:`flask.ext` where users should import the extensions from. If you for instance have a package called ``flask_something`` users would import it as ``flask.ext.something``. This is done to transition from the old namespace packages. See :ref:`ext-import-transition` for more details. But how do extensions look like themselves? An extension has to ensure that it works with multiple Flask application instances at once. This is a requirement because many people will use patterns like the :ref:`app-factories` pattern to create their application as needed to aid unittests and to support multiple configurations. Because of that it is crucial that your application supports that kind of behavior. Most importantly the extension must be shipped with a `setup.py` file and registered on PyPI. Also the development checkout link should work so that people can easily install the development version into their virtualenv without having to download the library by hand. Flask extensions must be licensed under a BSD, MIT or more liberal license to be able to be enlisted in the Flask Extension Registry. Keep in mind that the Flask Extension Registry is a moderated place and libraries will be reviewed upfront if they behave as required. "Hello Flaskext!" ----------------- So let's get started with creating such a Flask extension. The extension we want to create here will provide very basic support for SQLite3. First we create the following folder structure:: flask-sqlite3/ flask_sqlite3.py LICENSE README Here's the contents of the most important files: setup.py ```````` The next file that is absolutely required is the `setup.py` file which is used to install your Flask extension. The following contents are something you can work with:: """ Flask-SQLite3 ------------- This is the description for that library """ from setuptools import setup setup( name='Flask-SQLite3', version='1.0', url='http://example.com/flask-sqlite3/', license='BSD', author='Your Name', author_email='your-email@example.com', description='Very short description', long_description=__doc__, py_modules=['flask_sqlite3'], # if you would be using a package instead use packages instead # of py_modules: # packages=['flask_sqlite3'], zip_safe=False, include_package_data=True, platforms='any', install_requires=[ 'Flask' ], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ] ) That's a lot of code but you can really just copy/paste that from existing extensions and adapt. flask_sqlite3.py ```````````````` Now this is where your extension code goes. But how exactly should such an extension look like? What are the best practices? Continue reading for some insight. Initializing Extensions ----------------------- Many extensions will need some kind of initialization step. For example, consider an application that's currently connecting to SQLite like the documentation suggests (:ref:`sqlite3`). So how does the extension know the name of the application object? Quite simple: you pass it to it. There are two recommended ways for an extension to initialize: initialization functions: If your extension is called `helloworld` you might have a function called ``init_helloworld(app[, extra_args])`` that initializes the extension for that application. It could attach before / after handlers etc. classes: Classes work mostly like initialization functions but can later be used to further change the behavior. For an example look at how the `OAuth extension`_ works: there is an `OAuth` object that provides some helper functions like `OAuth.remote_app` to create a reference to a remote application that uses OAuth. What to use depends on what you have in mind. For the SQLite 3 extension we will use the class-based approach because it will provide users with an object that handles opening and closing database connections. What's important about classes is that they encourage to be shared around on module level. In that case, the object itself must not under any circumstances store any application specific state and must be shareable between different application. The Extension Code ------------------ Here's the contents of the `flask_sqlite3.py` for copy/paste:: import sqlite3 from flask import current_app # Find the stack on which we want to store the database connection. # Starting with Flask 0.9, the _app_ctx_stack is the correct one, # before that we need to use the _request_ctx_stack. try: from flask import _app_ctx_stack as stack except ImportError: from flask import _request_ctx_stack as stack class SQLite3(object): def __init__(self, app=None): self.app = app if app is not None: self.init_app(app) def init_app(self, app): app.config.setdefault('SQLITE3_DATABASE', ':memory:') # Use the newstyle teardown_appcontext if it's available, # otherwise fall back to the request context if hasattr(app, 'teardown_appcontext'): app.teardown_appcontext(self.teardown) else: app.teardown_request(self.teardown) def connect(self): return sqlite3.connect(current_app.config['SQLITE3_DATABASE']) def teardown(self, exception): ctx = stack.top if hasattr(ctx, 'sqlite3_db'): ctx.sqlite3_db.close() @property def connection(self): ctx = stack.top if ctx is not None: if not hasattr(ctx, 'sqlite3_db'): ctx.sqlite3_db = self.connect() return ctx.sqlite3_db So here's what these lines of code do: 1. The ``__init__`` method takes an optional app object and, if supplied, will call ``init_app``. 2. The ``init_app`` method exists so that the ``SQLite3`` object can be instantiated without requiring an app object. This method supports the factory pattern for creating applications. The ``init_app`` will set the configuration for the database, defaulting to an in memory database if no configuration is supplied. In addition, the ``init_app`` method attaches the ``teardown`` handler. It will try to use the newstyle app context handler and if it does not exist, falls back to the request context one. 3. Next, we define a ``connect`` method that opens a database connection. 4. Finally, we add a ``connection`` property that on first access opens the database connection and stores it on the context. This is also the recommended way to handling resources: fetch resources lazily the first time they are used. Note here that we're attaching our database connection to the top application context via ``_app_ctx_stack.top``. Extensions should use the top context for storing their own information with a sufficiently complex name. Note that we're falling back to the ``_request_ctx_stack.top`` if the application is using an older version of Flask that does not support it. So why did we decide on a class-based approach here? Because using our extension looks something like this:: from flask import Flask from flask_sqlite3 import SQLite3 app = Flask(__name__) app.config.from_pyfile('the-config.cfg') db = SQLite3(app) You can then use the database from views like this:: @app.route('/') def show_all(): cur = db.connection.cursor() cur.execute(...) Likewise if you are outside of a request but you are using Flask 0.9 or later with the app context support, you can use the database in the same way:: with app.app_context(): cur = db.connection.cursor() cur.execute(...) At the end of the `with` block the teardown handles will be executed automatically. Additionally, the ``init_app`` method is used to support the factory pattern for creating apps:: db = Sqlite3() # Then later on. app = create_app('the-config.cfg') db.init_app(app) Keep in mind that supporting this factory pattern for creating apps is required for approved flask extensions (described below). .. admonition:: Note on ``init_app`` As you noticed, ``init_app`` does not assign ``app`` to ``self``. This is intentional! Class based Flask extensions must only store the application on the object when the application was passed to the constructor. This tells the extension: I am not interested in using multiple applications. When the extension needs to find the current application and it does not have a reference to it, it must either use the :data:`~flask.current_app` context local or change the API in a way that you can pass the application explicitly. Using _app_ctx_stack -------------------- In the example above, before every request, a ``sqlite3_db`` variable is assigned to ``_app_ctx_stack.top``. In a view function, this variable is accessible using the ``connection`` property of ``SQLite3``. During the teardown of a request, the ``sqlite3_db`` connection is closed. By using this pattern, the *same* connection to the sqlite3 database is accessible to anything that needs it for the duration of the request. If the :data:`~flask._app_ctx_stack` does not exist because the user uses an old version of Flask, it is recommended to fall back to :data:`~flask._request_ctx_stack` which is bound to a request. Teardown Behavior ----------------- *This is only relevant if you want to support Flask 0.6 and older* Due to the change in Flask 0.7 regarding functions that are run at the end of the request your extension will have to be extra careful there if it wants to continue to support older versions of Flask. The following pattern is a good way to support both:: def close_connection(response): ctx = _request_ctx_stack.top ctx.sqlite3_db.close() return response if hasattr(app, 'teardown_request'): app.teardown_request(close_connection) else: app.after_request(close_connection) Strictly speaking the above code is wrong, because teardown functions are passed the exception and typically don't return anything. However because the return value is discarded this will just work assuming that the code in between does not touch the passed parameter. Learn from Others ----------------- This documentation only touches the bare minimum for extension development. If you want to learn more, it's a very good idea to check out existing extensions on the `Flask Extension Registry`_. If you feel lost there is still the `mailinglist`_ and the `IRC channel`_ to get some ideas for nice looking APIs. Especially if you do something nobody before you did, it might be a very good idea to get some more input. This not only to get an idea about what people might want to have from an extension, but also to avoid having multiple developers working on pretty much the same side by side. Remember: good API design is hard, so introduce your project on the mailinglist, and let other developers give you a helping hand with designing the API. The best Flask extensions are extensions that share common idioms for the API. And this can only work if collaboration happens early. Approved Extensions ------------------- Flask also has the concept of approved extensions. Approved extensions are tested as part of Flask itself to ensure extensions do not break on new releases. These approved extensions are listed on the `Flask Extension Registry`_ and marked appropriately. If you want your own extension to be approved you have to follow these guidelines: 0. An approved Flask extension requires a maintainer. In the event an extension author would like to move beyond the project, the project should find a new maintainer including full source hosting transition and PyPI access. If no maintainer is available, give access to the Flask core team. 1. An approved Flask extension must provide exactly one package or module named ``flask_extensionname``. They might also reside inside a ``flaskext`` namespace packages though this is discouraged now. 2. It must ship a testing suite that can either be invoked with ``make test`` or ``python setup.py test``. For test suites invoked with ``make test`` the extension has to ensure that all dependencies for the test are installed automatically. If tests are invoked with ``python setup.py test``, test dependencies can be specified in the `setup.py` file. The test suite also has to be part of the distribution. 3. APIs of approved extensions will be checked for the following characteristics: - an approved extension has to support multiple applications running in the same Python process. - it must be possible to use the factory pattern for creating applications. 4. The license must be BSD/MIT/WTFPL licensed. 5. The naming scheme for official extensions is *Flask-ExtensionName* or *ExtensionName-Flask*. 6. Approved extensions must define all their dependencies in the `setup.py` file unless a dependency cannot be met because it is not available on PyPI. 7. The extension must have documentation that uses one of the two Flask themes for Sphinx documentation. 8. The setup.py description (and thus the PyPI description) has to link to the documentation, website (if there is one) and there must be a link to automatically install the development version (``PackageName==dev``). 9. The ``zip_safe`` flag in the setup script must be set to ``False``, even if the extension would be safe for zipping. 10. An extension currently has to support Python 2.6 as well as Python 2.7 .. _ext-import-transition: Extension Import Transition --------------------------- For a while we recommended using namespace packages for Flask extensions. This turned out to be problematic in practice because many different competing namespace package systems exist and pip would automatically switch between different systems and this caused a lot of problems for users. Instead we now recommend naming packages ``flask_foo`` instead of the now deprecated ``flaskext.foo``. Flask 0.8 introduces a redirect import system that lets uses import from ``flask.ext.foo`` and it will try ``flask_foo`` first and if that fails ``flaskext.foo``. Flask extensions should urge users to import from ``flask.ext.foo`` instead of ``flask_foo`` or ``flaskext_foo`` so that extensions can transition to the new package name without affecting users. .. _OAuth extension: http://packages.python.org/Flask-OAuth/ .. _mailinglist: http://flask.pocoo.org/mailinglist/ .. _IRC channel: http://flask.pocoo.org/community/irc/ Flask-0.10.1/docs/extensions.rst0000644000076700000240000000345112156311351017654 0ustar mitsuhikostaff00000000000000Flask Extensions ================ Flask extensions extend the functionality of Flask in various different ways. For instance they add support for databases and other common tasks. Finding Extensions ------------------ Flask extensions are listed on the `Flask Extension Registry`_ and can be downloaded with ``easy_install`` or ``pip``. If you add a Flask extension as dependency to your ``requirements.rst`` or ``setup.py`` file they are usually installed with a simple command or when your application installs. Using Extensions ---------------- Extensions typically have documentation that goes along that shows how to use it. There are no general rules in how extensions are supposed to behave but they are imported from common locations. If you have an extension called ``Flask-Foo`` or ``Foo-Flask`` it will be always importable from ``flask.ext.foo``:: from flask.ext import foo Flask Before 0.8 ---------------- If you are using Flask 0.7 or earlier the :data:`flask.ext` package will not exist, instead you have to import from ``flaskext.foo`` or ``flask_foo`` depending on how the extension is distributed. If you want to develop an application that supports Flask 0.7 or earlier you should still import from the :data:`flask.ext` package. We provide you with a compatibility module that provides this package for older versions of Flask. You can download it from github: `flaskext_compat.py`_ And here is how you can use it:: import flaskext_compat flaskext_compat.activate() from flask.ext import foo Once the ``flaskext_compat`` module is activated the :data:`flask.ext` will exist and you can start importing from there. .. _Flask Extension Registry: http://flask.pocoo.org/extensions/ .. _flaskext_compat.py: https://github.com/mitsuhiko/flask/raw/master/scripts/flaskext_compat.py Flask-0.10.1/docs/flaskdocext.py0000644000076700000240000000053112156311351017600 0ustar mitsuhikostaff00000000000000import re import inspect _internal_mark_re = re.compile(r'^\s*:internal:\s*$(?m)') def skip_member(app, what, name, obj, skip, options): docstring = inspect.getdoc(obj) if skip: return True return _internal_mark_re.search(docstring or '') is not None def setup(app): app.connect('autodoc-skip-member', skip_member) Flask-0.10.1/docs/flaskext.py0000644000076700000240000001141312156311351017113 0ustar mitsuhikostaff00000000000000# flasky extensions. flasky pygments style based on tango style from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, \ Number, Operator, Generic, Whitespace, Punctuation, Other, Literal class FlaskyStyle(Style): background_color = "#f8f8f8" default_style = "" styles = { # No corresponding class for the following: #Text: "", # class: '' Whitespace: "underline #f8f8f8", # class: 'w' Error: "#a40000 border:#ef2929", # class: 'err' Other: "#000000", # class 'x' Comment: "italic #8f5902", # class: 'c' Comment.Preproc: "noitalic", # class: 'cp' Keyword: "bold #004461", # class: 'k' Keyword.Constant: "bold #004461", # class: 'kc' Keyword.Declaration: "bold #004461", # class: 'kd' Keyword.Namespace: "bold #004461", # class: 'kn' Keyword.Pseudo: "bold #004461", # class: 'kp' Keyword.Reserved: "bold #004461", # class: 'kr' Keyword.Type: "bold #004461", # class: 'kt' Operator: "#582800", # class: 'o' Operator.Word: "bold #004461", # class: 'ow' - like keywords Punctuation: "bold #000000", # class: 'p' # because special names such as Name.Class, Name.Function, etc. # are not recognized as such later in the parsing, we choose them # to look the same as ordinary variables. Name: "#000000", # class: 'n' Name.Attribute: "#c4a000", # class: 'na' - to be revised Name.Builtin: "#004461", # class: 'nb' Name.Builtin.Pseudo: "#3465a4", # class: 'bp' Name.Class: "#000000", # class: 'nc' - to be revised Name.Constant: "#000000", # class: 'no' - to be revised Name.Decorator: "#888", # class: 'nd' - to be revised Name.Entity: "#ce5c00", # class: 'ni' Name.Exception: "bold #cc0000", # class: 'ne' Name.Function: "#000000", # class: 'nf' Name.Property: "#000000", # class: 'py' Name.Label: "#f57900", # class: 'nl' Name.Namespace: "#000000", # class: 'nn' - to be revised Name.Other: "#000000", # class: 'nx' Name.Tag: "bold #004461", # class: 'nt' - like a keyword Name.Variable: "#000000", # class: 'nv' - to be revised Name.Variable.Class: "#000000", # class: 'vc' - to be revised Name.Variable.Global: "#000000", # class: 'vg' - to be revised Name.Variable.Instance: "#000000", # class: 'vi' - to be revised Number: "#990000", # class: 'm' Literal: "#000000", # class: 'l' Literal.Date: "#000000", # class: 'ld' String: "#4e9a06", # class: 's' String.Backtick: "#4e9a06", # class: 'sb' String.Char: "#4e9a06", # class: 'sc' String.Doc: "italic #8f5902", # class: 'sd' - like a comment String.Double: "#4e9a06", # class: 's2' String.Escape: "#4e9a06", # class: 'se' String.Heredoc: "#4e9a06", # class: 'sh' String.Interpol: "#4e9a06", # class: 'si' String.Other: "#4e9a06", # class: 'sx' String.Regex: "#4e9a06", # class: 'sr' String.Single: "#4e9a06", # class: 's1' String.Symbol: "#4e9a06", # class: 'ss' Generic: "#000000", # class: 'g' Generic.Deleted: "#a40000", # class: 'gd' Generic.Emph: "italic #000000", # class: 'ge' Generic.Error: "#ef2929", # class: 'gr' Generic.Heading: "bold #000080", # class: 'gh' Generic.Inserted: "#00A000", # class: 'gi' Generic.Output: "#888", # class: 'go' Generic.Prompt: "#745334", # class: 'gp' Generic.Strong: "bold #000000", # class: 'gs' Generic.Subheading: "bold #800080", # class: 'gu' Generic.Traceback: "bold #a40000", # class: 'gt' } Flask-0.10.1/docs/flaskstyle.sty0000644000076700000240000000604212156311351017644 0ustar mitsuhikostaff00000000000000\definecolor{TitleColor}{rgb}{0,0,0} \definecolor{InnerLinkColor}{rgb}{0,0,0} \renewcommand{\maketitle}{% \begin{titlepage}% \let\footnotesize\small \let\footnoterule\relax \ifsphinxpdfoutput \begingroup % This \def is required to deal with multi-line authors; it % changes \\ to ', ' (comma-space), making it pass muster for % generating document info in the PDF file. \def\\{, } \pdfinfo{ /Author (\@author) /Title (\@title) } \endgroup \fi \begin{flushright}% %\sphinxlogo% {\center \vspace*{3cm} \includegraphics{logo.pdf} \vspace{3cm} \par {\rm\Huge \@title \par}% {\em\LARGE \py@release\releaseinfo \par} {\large \@date \par \py@authoraddress \par }}% \end{flushright}%\par \@thanks \end{titlepage}% \cleardoublepage% \setcounter{footnote}{0}% \let\thanks\relax\let\maketitle\relax %\gdef\@thanks{}\gdef\@author{}\gdef\@title{} } \fancypagestyle{normal}{ \fancyhf{} \fancyfoot[LE,RO]{{\thepage}} \fancyfoot[LO]{{\nouppercase{\rightmark}}} \fancyfoot[RE]{{\nouppercase{\leftmark}}} \fancyhead[LE,RO]{{ \@title, \py@release}} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} } \fancypagestyle{plain}{ \fancyhf{} \fancyfoot[LE,RO]{{\thepage}} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.4pt} } \titleformat{\section}{\Large}% {\py@TitleColor\thesection}{0.5em}{\py@TitleColor}{\py@NormalColor} \titleformat{\subsection}{\large}% {\py@TitleColor\thesubsection}{0.5em}{\py@TitleColor}{\py@NormalColor} \titleformat{\subsubsection}{}% {\py@TitleColor\thesubsubsection}{0.5em}{\py@TitleColor}{\py@NormalColor} \titleformat{\paragraph}{\large}% {\py@TitleColor}{0em}{\py@TitleColor}{\py@NormalColor} \ChNameVar{\raggedleft\normalsize} \ChNumVar{\raggedleft \bfseries\Large} \ChTitleVar{\raggedleft \rm\Huge} \renewcommand\thepart{\@Roman\c@part} \renewcommand\part{% \pagestyle{plain} \if@noskipsec \leavevmode \fi \cleardoublepage \vspace*{6cm}% \@afterindentfalse \secdef\@part\@spart} \def\@part[#1]#2{% \ifnum \c@secnumdepth >\m@ne \refstepcounter{part}% \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% \else \addcontentsline{toc}{part}{#1}% \fi {\parindent \z@ %\center \interlinepenalty \@M \normalfont \ifnum \c@secnumdepth >\m@ne \rm\Large \partname~\thepart \par\nobreak \fi \MakeUppercase{\rm\Huge #2}% \markboth{}{}\par}% \nobreak \vskip 8ex \@afterheading} \def\@spart#1{% {\parindent \z@ %\center \interlinepenalty \@M \normalfont \huge \bfseries #1\par}% \nobreak \vskip 3ex \@afterheading} % use inconsolata font \usepackage{inconsolata} % fix single quotes, for inconsolata. (does not work) %%\usepackage{textcomp} %%\begingroup %% \catcode`'=\active %% \g@addto@macro\@noligs{\let'\textsinglequote} %% \endgroup %%\endinput Flask-0.10.1/docs/foreword.rst0000644000076700000240000000535012156311351017304 0ustar mitsuhikostaff00000000000000Foreword ======== Read this before you get started with Flask. This hopefully answers some questions about the purpose and goals of the project, and when you should or should not be using it. What does "micro" mean? ----------------------- “Micro†does not mean that your whole web application has to fit into a single Python file, although it certainly can. Nor does it mean that Flask is lacking in functionality. The "micro" in microframework means Flask aims to keep the core simple but extensible. Flask won't make many decisions for you, such as what database to use. Those decisions that it does make, such as what templating engine to use, are easy to change. Everything else is up to you, so that Flask can be everything you need and nothing you don't. By default, Flask does not include a database abstraction layer, form validation or anything else where different libraries already exist that can handle that. Instead, Flask supports extensions to add such functionality to your application as if it was implemented in Flask itself. Numerous extensions provide database integration, form validation, upload handling, various open authentication technologies, and more. Flask may be "micro", but it's ready for production use on a variety of needs. Configuration and Conventions ----------------------------- Flask has many configuration values, with sensible defaults, and a few conventions when getting started. By convention templates and static files are stored in subdirectories within the application's Python source tree, with the names `templates` and `static` respectively. While this can be changed you usually don't have to, especially when getting started. Growing with Flask ------------------ Once you have Flask up and running, you'll find a variety of extensions available in the community to integrate your project for production. The Flask core team reviews extensions and ensures approved extensions do not break with future releases. As your codebase grows, you are free to make the design decisions appropriate for your project. Flask will continue to provide a very simple glue layer to the best that Python has to offer. You can implement advanced patterns in SQLAlchemy or another database tool, introduce non-relational data persistence as appropriate, and take advantage of framework-agnostic tools built for WSGI, the Python web interface. Flask includes many hooks to customize its behavior. Should you need more customization, the Flask class is built for subclassing. If you are interested in that, check out the :ref:`becomingbig` chapter. If you are curious about the Flask design principles, head over to the section about :ref:`design`. Continue to :ref:`installation`, the :ref:`quickstart`, or the :ref:`advanced_foreword`. Flask-0.10.1/docs/htmlfaq.rst0000644000076700000240000002271012156311351017110 0ustar mitsuhikostaff00000000000000HTML/XHTML FAQ ============== The Flask documentation and example applications are using HTML5. You may notice that in many situations, when end tags are optional they are not used, so that the HTML is cleaner and faster to load. Because there is much confusion about HTML and XHTML among developers, this document tries to answer some of the major questions. History of XHTML ---------------- For a while, it appeared that HTML was about to be replaced by XHTML. However, barely any websites on the Internet are actual XHTML (which is HTML processed using XML rules). There are a couple of major reasons why this is the case. One of them is Internet Explorer's lack of proper XHTML support. The XHTML spec states that XHTML must be served with the MIME type `application/xhtml+xml`, but Internet Explorer refuses to read files with that MIME type. While it is relatively easy to configure Web servers to serve XHTML properly, few people do. This is likely because properly using XHTML can be quite painful. One of the most important causes of pain is XML's draconian (strict and ruthless) error handling. When an XML parsing error is encountered, the browser is supposed to show the user an ugly error message, instead of attempting to recover from the error and display what it can. Most of the (X)HTML generation on the web is based on non-XML template engines (such as Jinja, the one used in Flask) which do not protect you from accidentally creating invalid XHTML. There are XML based template engines, such as Kid and the popular Genshi, but they often come with a larger runtime overhead and, are not as straightforward to use because they have to obey XML rules. The majority of users, however, assumed they were properly using XHTML. They wrote an XHTML doctype at the top of the document and self-closed all the necessary tags (``
`` becomes ``
`` or ``

`` in XHTML). However, even if the document properly validates as XHTML, what really determines XHTML/HTML processing in browsers is the MIME type, which as said before is often not set properly. So the valid XHTML was being treated as invalid HTML. XHTML also changed the way JavaScript is used. To properly work with XHTML, programmers have to use the namespaced DOM interface with the XHTML namespace to query for HTML elements. History of HTML5 ---------------- Development of the HTML5 specification was started in 2004 under the name "Web Applications 1.0" by the Web Hypertext Application Technology Working Group, or WHATWG (which was formed by the major browser vendors Apple, Mozilla, and Opera) with the goal of writing a new and improved HTML specification, based on existing browser behavior instead of unrealistic and backwards-incompatible specifications. For example, in HTML4 ``Hello``. However, since people were using XHTML-like tags along the lines of ````, browser vendors implemented the XHTML syntax over the syntax defined by the specification. In 2007, the specification was adopted as the basis of a new HTML specification under the umbrella of the W3C, known as HTML5. Currently, it appears that XHTML is losing traction, as the XHTML 2 working group has been disbanded and HTML5 is being implemented by all major browser vendors. HTML versus XHTML ----------------- The following table gives you a quick overview of features available in HTML 4.01, XHTML 1.1 and HTML5. (XHTML 1.0 is not included, as it was superseded by XHTML 1.1 and the barely-used XHTML5.) .. tabularcolumns:: |p{9cm}|p{2cm}|p{2cm}|p{2cm}| +-----------------------------------------+----------+----------+----------+ | | HTML4.01 | XHTML1.1 | HTML5 | +=========================================+==========+==========+==========+ | ``value`` | |Y| [1]_ | |N| | |N| | +-----------------------------------------+----------+----------+----------+ | ``
`` supported | |N| | |Y| | |Y| [2]_ | +-----------------------------------------+----------+----------+----------+ | `` Another method is using Google's `AJAX Libraries API `_ to load jQuery: .. sourcecode:: html In this case you have to put jQuery into your static folder as a fallback, but it will first try to load it directly from Google. This has the advantage that your website will probably load faster for users if they went to at least one other website before using the same jQuery version from Google because it will already be in the browser cache. Where is My Site? ----------------- Do you know where your application is? If you are developing the answer is quite simple: it's on localhost port something and directly on the root of that server. But what if you later decide to move your application to a different location? For example to ``http://example.com/myapp``? On the server side this never was a problem because we were using the handy :func:`~flask.url_for` function that could answer that question for us, but if we are using jQuery we should not hardcode the path to the application but make that dynamic, so how can we do that? A simple method would be to add a script tag to our page that sets a global variable to the prefix to the root of the application. Something like this: .. sourcecode:: html+jinja The ``|safe`` is necessary in Flask before 0.10 so that Jinja does not escape the JSON encoded string with HTML rules. Usually this would be necessary, but we are inside a `script` block here where different rules apply. .. admonition:: Information for Pros In HTML the `script` tag is declared `CDATA` which means that entities will not be parsed. Everything until ```` is handled as script. This also means that there must never be any ``"|tojson|safe }}`` is rendered as ``"<\/script>"``). In Flask 0.10 it goes a step further and escapes all HTML tags with unicode escapes. This makes it possible for Flask to automatically mark the result as HTML safe. JSON View Functions ------------------- Now let's create a server side function that accepts two URL arguments of numbers which should be added together and then sent back to the application in a JSON object. This is a really ridiculous example and is something you usually would do on the client side alone, but a simple example that shows how you would use jQuery and Flask nonetheless:: from flask import Flask, jsonify, render_template, request app = Flask(__name__) @app.route('/_add_numbers') def add_numbers(): a = request.args.get('a', 0, type=int) b = request.args.get('b', 0, type=int) return jsonify(result=a + b) @app.route('/') def index(): return render_template('index.html') As you can see I also added an `index` method here that renders a template. This template will load jQuery as above and have a little form we can add two numbers and a link to trigger the function on the server side. Note that we are using the :meth:`~werkzeug.datastructures.MultiDict.get` method here which will never fail. If the key is missing a default value (here ``0``) is returned. Furthermore it can convert values to a specific type (like in our case `int`). This is especially handy for code that is triggered by a script (APIs, JavaScript etc.) because you don't need special error reporting in that case. The HTML -------- Your index.html template either has to extend a `layout.html` template with jQuery loaded and the `$SCRIPT_ROOT` variable set, or do that on the top. Here's the HTML code needed for our little application (`index.html`). Notice that we also drop the script directly into the HTML here. It is usually a better idea to have that in a separate script file: .. sourcecode:: html

jQuery Example

+ = ?

calculate server side I won't got into detail here about how jQuery works, just a very quick explanation of the little bit of code above: 1. ``$(function() { ... })`` specifies code that should run once the browser is done loading the basic parts of the page. 2. ``$('selector')`` selects an element and lets you operate on it. 3. ``element.bind('event', func)`` specifies a function that should run when the user clicked on the element. If that function returns `false`, the default behavior will not kick in (in this case, navigate to the `#` URL). 4. ``$.getJSON(url, data, func)`` sends a `GET` request to `url` and will send the contents of the `data` object as query parameters. Once the data arrived, it will call the given function with the return value as argument. Note that we can use the `$SCRIPT_ROOT` variable here that we set earlier. If you don't get the whole picture, download the `sourcecode for this example `_ from github. Flask-0.10.1/docs/patterns/lazyloading.rst0000644000076700000240000000707612156311351021641 0ustar mitsuhikostaff00000000000000Lazily Loading Views ==================== Flask is usually used with the decorators. Decorators are simple and you have the URL right next to the function that is called for that specific URL. However there is a downside to this approach: it means all your code that uses decorators has to be imported upfront or Flask will never actually find your function. This can be a problem if your application has to import quick. It might have to do that on systems like Google's App Engine or other systems. So if you suddenly notice that your application outgrows this approach you can fall back to a centralized URL mapping. The system that enables having a central URL map is the :meth:`~flask.Flask.add_url_rule` function. Instead of using decorators, you have a file that sets up the application with all URLs. Converting to Centralized URL Map --------------------------------- Imagine the current application looks somewhat like this:: from flask import Flask app = Flask(__name__) @app.route('/') def index(): pass @app.route('/user/') def user(username): pass Then the centralized approach you would have one file with the views (`views.py`) but without any decorator:: def index(): pass def user(username): pass And then a file that sets up an application which maps the functions to URLs:: from flask import Flask from yourapplication import views app = Flask(__name__) app.add_url_rule('/', view_func=views.index) app.add_url_rule('/user/', view_func=views.user) Loading Late ------------ So far we only split up the views and the routing, but the module is still loaded upfront. The trick to actually load the view function as needed. This can be accomplished with a helper class that behaves just like a function but internally imports the real function on first use:: from werkzeug import import_string, cached_property class LazyView(object): def __init__(self, import_name): self.__module__, self.__name__ = import_name.rsplit('.', 1) self.import_name = import_name @cached_property def view(self): return import_string(self.import_name) def __call__(self, *args, **kwargs): return self.view(*args, **kwargs) What's important here is is that `__module__` and `__name__` are properly set. This is used by Flask internally to figure out how to name the URL rules in case you don't provide a name for the rule yourself. Then you can define your central place to combine the views like this:: from flask import Flask from yourapplication.helpers import LazyView app = Flask(__name__) app.add_url_rule('/', view_func=LazyView('yourapplication.views.index')) app.add_url_rule('/user/', view_func=LazyView('yourapplication.views.user')) You can further optimize this in terms of amount of keystrokes needed to write this by having a function that calls into :meth:`~flask.Flask.add_url_rule` by prefixing a string with the project name and a dot, and by wrapping `view_func` in a `LazyView` as needed:: def url(url_rule, import_name, **options): view = LazyView('yourapplication.' + import_name) app.add_url_rule(url_rule, view_func=view, **options) url('/', 'views.index') url('/user/', 'views.user') One thing to keep in mind is that before and after request handlers have to be in a file that is imported upfront to work properly on the first request. The same goes for any kind of remaining decorator. Flask-0.10.1/docs/patterns/methodoverrides.rst0000644000076700000240000000273612156444477022545 0ustar mitsuhikostaff00000000000000Adding HTTP Method Overrides ============================ Some HTTP proxies do not support arbitrary HTTP methods or newer HTTP methods (such as PATCH). In that case it's possible to “proxy†HTTP methods through another HTTP method in total violation of the protocol. The way this works is by letting the client do an HTTP POST request and set the ``X-HTTP-Method-Override`` header and set the value to the intended HTTP method (such as ``PATCH``). This can easily be accomplished with an HTTP middleware:: class HTTPMethodOverrideMiddleware(object): allowed_methods = frozenset([ 'GET', 'HEAD', 'POST', 'DELETE', 'PUT', 'PATCH', 'OPTIONS' ]) bodyless_methods = frozenset(['GET', 'HEAD', 'OPTIONS', 'DELETE']) def __init__(self, app): self.app = app def __call__(self, environ, start_response): method = environ.get('HTTP_X_HTTP_METHOD_OVERRIDE', '').upper() if method in self.allowed_methods: method = method.encode('ascii', 'replace') environ['REQUEST_METHOD'] = method if method in self.bodyless_methods: environ['CONTENT_LENGTH'] = '0' return self.app(environ, start_response) To use this with Flask this is all that is necessary:: from flask import Flask app = Flask(__name__) app.wsgi_app = HTTPMethodOverrideMiddleware(app.wsgi_app) Flask-0.10.1/docs/patterns/mongokit.rst0000644000076700000240000001101412156311351021136 0ustar mitsuhikostaff00000000000000.. mongokit-pattern: MongoKit in Flask ================= Using a document database rather than a full DBMS gets more common these days. This pattern shows how to use MongoKit, a document mapper library, to integrate with MongoDB. This pattern requires a running MongoDB server and the MongoKit library installed. There are two very common ways to use MongoKit. I will outline each of them here: Declarative ----------- The default behavior of MongoKit is the declarative one that is based on common ideas from Django or the SQLAlchemy declarative extension. Here an example `app.py` module for your application:: from flask import Flask from mongokit import Connection, Document # configuration MONGODB_HOST = 'localhost' MONGODB_PORT = 27017 # create the little application object app = Flask(__name__) app.config.from_object(__name__) # connect to the database connection = Connection(app.config['MONGODB_HOST'], app.config['MONGODB_PORT']) To define your models, just subclass the `Document` class that is imported from MongoKit. If you've seen the SQLAlchemy pattern you may wonder why we do not have a session and even do not define a `init_db` function here. On the one hand, MongoKit does not have something like a session. This sometimes makes it more to type but also makes it blazingly fast. On the other hand, MongoDB is schemaless. This means you can modify the data structure from one insert query to the next without any problem. MongoKit is just schemaless too, but implements some validation to ensure data integrity. Here is an example document (put this also into `app.py`, e.g.):: def max_length(length): def validate(value): if len(value) <= length: return True raise Exception('%s must be at most %s characters long' % length) return validate class User(Document): structure = { 'name': unicode, 'email': unicode, } validators = { 'name': max_length(50), 'email': max_length(120) } use_dot_notation = True def __repr__(self): return '' % (self.name) # register the User document with our current connection connection.register([User]) This example shows you how to define your schema (named structure), a validator for the maximum character length and uses a special MongoKit feature called `use_dot_notation`. Per default MongoKit behaves like a python dictionary but with `use_dot_notation` set to `True` you can use your documents like you use models in nearly any other ORM by using dots to separate between attributes. You can insert entries into the database like this: >>> from yourapplication.database import connection >>> from yourapplication.models import User >>> collection = connection['test'].users >>> user = collection.User() >>> user['name'] = u'admin' >>> user['email'] = u'admin@localhost' >>> user.save() Note that MongoKit is kinda strict with used column types, you must not use a common `str` type for either `name` or `email` but unicode. Querying is simple as well: >>> list(collection.User.find()) [] >>> collection.User.find_one({'name': u'admin'}) .. _MongoKit: http://bytebucket.org/namlook/mongokit/ PyMongo Compatibility Layer --------------------------- If you just want to use PyMongo, you can do that with MongoKit as well. You may use this process if you need the best performance to get. Note that this example does not show how to couple it with Flask, see the above MongoKit code for examples:: from MongoKit import Connection connection = Connection() To insert data you can use the `insert` method. We have to get a collection first, this is somewhat the same as a table in the SQL world. >>> collection = connection['test'].users >>> user = {'name': u'admin', 'email': u'admin@localhost'} >>> collection.insert(user) MongoKit will automatically commit for us. To query your database, you use the collection directly: >>> list(collection.find()) [{u'_id': ObjectId('4c271729e13823182f000000'), u'name': u'admin', u'email': u'admin@localhost'}] >>> collection.find_one({'name': u'admin'}) {u'_id': ObjectId('4c271729e13823182f000000'), u'name': u'admin', u'email': u'admin@localhost'} These results are also dict-like objects: >>> r = collection.find_one({'name': u'admin'}) >>> r['email'] u'admin@localhost' For more information about MongoKit, head over to the `website `_. Flask-0.10.1/docs/patterns/packages.rst0000644000076700000240000000712712156311351021077 0ustar mitsuhikostaff00000000000000.. _larger-applications: Larger Applications =================== For larger applications it's a good idea to use a package instead of a module. That is quite simple. Imagine a small application looks like this:: /yourapplication /yourapplication.py /static /style.css /templates layout.html index.html login.html ... Simple Packages --------------- To convert that into a larger one, just create a new folder `yourapplication` inside the existing one and move everything below it. Then rename `yourapplication.py` to `__init__.py`. (Make sure to delete all `.pyc` files first, otherwise things would most likely break) You should then end up with something like that:: /yourapplication /yourapplication /__init__.py /static /style.css /templates layout.html index.html login.html ... But how do you run your application now? The naive ``python yourapplication/__init__.py`` will not work. Let's just say that Python does not want modules in packages to be the startup file. But that is not a big problem, just add a new file called `runserver.py` next to the inner `yourapplication` folder with the following contents:: from yourapplication import app app.run(debug=True) What did we gain from this? Now we can restructure the application a bit into multiple modules. The only thing you have to remember is the following quick checklist: 1. the `Flask` application object creation has to be in the `__init__.py` file. That way each module can import it safely and the `__name__` variable will resolve to the correct package. 2. all the view functions (the ones with a :meth:`~flask.Flask.route` decorator on top) have to be imported in the `__init__.py` file. Not the object itself, but the module it is in. Import the view module **after the application object is created**. Here's an example `__init__.py`:: from flask import Flask app = Flask(__name__) import yourapplication.views And this is what `views.py` would look like:: from yourapplication import app @app.route('/') def index(): return 'Hello World!' You should then end up with something like that:: /yourapplication /runserver.py /yourapplication /__init__.py /views.py /static /style.css /templates layout.html index.html login.html ... .. admonition:: Circular Imports Every Python programmer hates them, and yet we just added some: circular imports (That's when two modules depend on each other. In this case `views.py` depends on `__init__.py`). Be advised that this is a bad idea in general but here it is actually fine. The reason for this is that we are not actually using the views in `__init__.py` and just ensuring the module is imported and we are doing that at the bottom of the file. There are still some problems with that approach but if you want to use decorators there is no way around that. Check out the :ref:`becomingbig` section for some inspiration how to deal with that. .. _working-with-modules: Working with Blueprints ----------------------- If you have larger applications it's recommended to divide them into smaller groups where each group is implemented with the help of a blueprint. For a gentle introduction into this topic refer to the :ref:`blueprints` chapter of the documentation. Flask-0.10.1/docs/patterns/requestchecksum.rst0000644000076700000240000000350712156444477022552 0ustar mitsuhikostaff00000000000000Request Content Checksums ========================= Various pieces of code can consume the request data and preprocess it. For instance JSON data ends up on the request object already read and processed, form data ends up there as well but goes through a different code path. This seems inconvenient when you want to calculate the checksum of the incoming request data. This is necessary sometimes for some APIs. Fortunately this is however very simple to change by wrapping the input stream. The following example calculates the SHA1 checksum of the incoming data as it gets read and stores it in the WSGI environment:: import hashlib class ChecksumCalcStream(object): def __init__(self, stream): self._stream = stream self._hash = hashlib.sha1() def read(self, bytes): rv = self._stream.read(bytes) self._hash.update(rv) return rv def readline(self, size_hint): rv = self._stream.readline(size_hint) self._hash.update(rv) return rv def generate_checksum(request): env = request.environ stream = ChecksumCalcStream(env['wsgi.input']) env['wsgi.input'] = stream return stream._hash To use this, all you need to do is to hook the calculating stream in before the request starts consuming data. (Eg: be careful accessing ``request.form`` or anything of that nature. ``before_request_handlers`` for instance should be careful not to access it). Example usage:: @app.route('/special-api', methods=['POST']) def special_api(): hash = generate_checksum(request) # Accessing this parses the input stream files = request.files # At this point the hash is fully constructed. checksum = hash.hexdigest() return 'Hash was: %s' % checksum Flask-0.10.1/docs/patterns/sqlalchemy.rst0000644000076700000240000001632112156444477021477 0ustar mitsuhikostaff00000000000000.. _sqlalchemy-pattern: SQLAlchemy in Flask =================== Many people prefer `SQLAlchemy`_ for database access. In this case it's encouraged to use a package instead of a module for your flask application and drop the models into a separate module (:ref:`larger-applications`). While that is not necessary, it makes a lot of sense. There are four very common ways to use SQLAlchemy. I will outline each of them here: Flask-SQLAlchemy Extension -------------------------- Because SQLAlchemy is a common database abstraction layer and object relational mapper that requires a little bit of configuration effort, there is a Flask extension that handles that for you. This is recommended if you want to get started quickly. You can download `Flask-SQLAlchemy`_ from `PyPI `_. .. _Flask-SQLAlchemy: http://packages.python.org/Flask-SQLAlchemy/ Declarative ----------- The declarative extension in SQLAlchemy is the most recent method of using SQLAlchemy. It allows you to define tables and models in one go, similar to how Django works. In addition to the following text I recommend the official documentation on the `declarative`_ extension. Here the example `database.py` module for your application:: from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy.ext.declarative import declarative_base engine = create_engine('sqlite:////tmp/test.db', convert_unicode=True) db_session = scoped_session(sessionmaker(autocommit=False, autoflush=False, bind=engine)) Base = declarative_base() Base.query = db_session.query_property() def init_db(): # import all modules here that might define models so that # they will be registered properly on the metadata. Otherwise # you will have to import them first before calling init_db() import yourapplication.models Base.metadata.create_all(bind=engine) To define your models, just subclass the `Base` class that was created by the code above. If you are wondering why we don't have to care about threads here (like we did in the SQLite3 example above with the :data:`~flask.g` object): that's because SQLAlchemy does that for us already with the :class:`~sqlalchemy.orm.scoped_session`. To use SQLAlchemy in a declarative way with your application, you just have to put the following code into your application module. Flask will automatically remove database sessions at the end of the request or when the application shuts down:: from yourapplication.database import db_session @app.teardown_appcontext def shutdown_session(exception=None): db_session.remove() Here is an example model (put this into `models.py`, e.g.):: from sqlalchemy import Column, Integer, String from yourapplication.database import Base class User(Base): __tablename__ = 'users' id = Column(Integer, primary_key=True) name = Column(String(50), unique=True) email = Column(String(120), unique=True) def __init__(self, name=None, email=None): self.name = name self.email = email def __repr__(self): return '' % (self.name) To create the database you can use the `init_db` function: >>> from yourapplication.database import init_db >>> init_db() You can insert entries into the database like this: >>> from yourapplication.database import db_session >>> from yourapplication.models import User >>> u = User('admin', 'admin@localhost') >>> db_session.add(u) >>> db_session.commit() Querying is simple as well: >>> User.query.all() [] >>> User.query.filter(User.name == 'admin').first() .. _SQLAlchemy: http://www.sqlalchemy.org/ .. _declarative: http://www.sqlalchemy.org/docs/orm/extensions/declarative.html Manual Object Relational Mapping -------------------------------- Manual object relational mapping has a few upsides and a few downsides versus the declarative approach from above. The main difference is that you define tables and classes separately and map them together. It's more flexible but a little more to type. In general it works like the declarative approach, so make sure to also split up your application into multiple modules in a package. Here is an example `database.py` module for your application:: from sqlalchemy import create_engine, MetaData from sqlalchemy.orm import scoped_session, sessionmaker engine = create_engine('sqlite:////tmp/test.db', convert_unicode=True) metadata = MetaData() db_session = scoped_session(sessionmaker(autocommit=False, autoflush=False, bind=engine)) def init_db(): metadata.create_all(bind=engine) As for the declarative approach you need to close the session after each request or application context shutdown. Put this into your application module:: from yourapplication.database import db_session @app.teardown_appcontext def shutdown_session(exception=None): db_session.remove() Here is an example table and model (put this into `models.py`):: from sqlalchemy import Table, Column, Integer, String from sqlalchemy.orm import mapper from yourapplication.database import metadata, db_session class User(object): query = db_session.query_property() def __init__(self, name=None, email=None): self.name = name self.email = email def __repr__(self): return '' % (self.name) users = Table('users', metadata, Column('id', Integer, primary_key=True), Column('name', String(50), unique=True), Column('email', String(120), unique=True) ) mapper(User, users) Querying and inserting works exactly the same as in the example above. SQL Abstraction Layer --------------------- If you just want to use the database system (and SQL) abstraction layer you basically only need the engine:: from sqlalchemy import create_engine, MetaData engine = create_engine('sqlite:////tmp/test.db', convert_unicode=True) metadata = MetaData(bind=engine) Then you can either declare the tables in your code like in the examples above, or automatically load them:: users = Table('users', metadata, autoload=True) To insert data you can use the `insert` method. We have to get a connection first so that we can use a transaction: >>> con = engine.connect() >>> con.execute(users.insert(), name='admin', email='admin@localhost') SQLAlchemy will automatically commit for us. To query your database, you use the engine directly or use a connection: >>> users.select(users.c.id == 1).execute().first() (1, u'admin', u'admin@localhost') These results are also dict-like tuples: >>> r = users.select(users.c.id == 1).execute().first() >>> r['name'] u'admin' You can also pass strings of SQL statements to the :meth:`~sqlalchemy.engine.base.Connection.execute` method: >>> engine.execute('select * from users where id = :1', [1]).first() (1, u'admin', u'admin@localhost') For more information about SQLAlchemy, head over to the `website `_. Flask-0.10.1/docs/patterns/sqlite3.rst0000644000076700000240000001046712156444477020726 0ustar mitsuhikostaff00000000000000.. _sqlite3: Using SQLite 3 with Flask ========================= In Flask you can implement the opening of database connections on demand and closing it when the context dies (usually at the end of the request) easily. Here is a simple example of how you can use SQLite 3 with Flask:: import sqlite3 from flask import g DATABASE = '/path/to/database.db' def get_db(): db = getattr(g, '_database', None) if db is None: db = g._database = connect_to_database() return db @app.teardown_appcontext def close_connection(exception): db = getattr(g, '_database', None) if db is not None: db.close() All the application needs to do in order to now use the database is having an active application context (which is always true if there is an request in flight) or to create an application context itself. At that point the ``get_db`` function can be used to get the current database connection. Whenever the context is destroyed the database connection will be terminated. Note: if you use Flask 0.9 or older you need to use ``flask._app_ctx_stack.top`` instead of ``g`` as the :data:`flask.g` object was bound to the request and not application context. Example:: @app.route('/') def index(): cur = get_db().cursor() ... .. note:: Please keep in mind that the teardown request and appcontext functions are always executed, even if a before-request handler failed or was never executed. Because of this we have to make sure here that the database is there before we close it. Connect on Demand ----------------- The upside of this approach (connecting on first use) is that this will only opening the connection if truly necessary. If you want to use this code outside a request context you can use it in a Python shell by opening the application context by hand:: with app.app_context(): # now you can use get_db() .. _easy-querying: Easy Querying ------------- Now in each request handling function you can access `g.db` to get the current open database connection. To simplify working with SQLite, a row factory function is useful. It is executed for every result returned from the database to convert the result. For instance in order to get dictionaries instead of tuples this can be used:: def make_dicts(cursor, row): return dict((cur.description[idx][0], value) for idx, value in enumerate(row)) db.row_factory = make_dicts Or even simpler:: db.row_factory = sqlite3.Row Additionally it is a good idea to provide a query function that combines getting the cursor, executing and fetching the results:: def query_db(query, args=(), one=False): cur = get_db().execute(query, args) rv = cur.fetchall() cur.close() return (rv[0] if rv else None) if one else rv This handy little function in combination with a row factory makes working with the database much more pleasant than it is by just using the raw cursor and connection objects. Here is how you can use it:: for user in query_db('select * from users'): print user['username'], 'has the id', user['user_id'] Or if you just want a single result:: user = query_db('select * from users where username = ?', [the_username], one=True) if user is None: print 'No such user' else: print the_username, 'has the id', user['user_id'] To pass variable parts to the SQL statement, use a question mark in the statement and pass in the arguments as a list. Never directly add them to the SQL statement with string formatting because this makes it possible to attack the application using `SQL Injections `_. Initial Schemas --------------- Relational databases need schemas, so applications often ship a `schema.sql` file that creates the database. It's a good idea to provide a function that creates the database based on that schema. This function can do that for you:: def init_db(): with app.app_context(): db = get_db() with app.open_resource('schema.sql', mode='r') as f: db.cursor().executescript(f.read()) db.commit() You can then create such a database from the python shell: >>> from yourapplication import init_db >>> init_db() Flask-0.10.1/docs/patterns/streaming.rst0000644000076700000240000000613412156444477021327 0ustar mitsuhikostaff00000000000000Streaming Contents ================== Sometimes you want to send an enormous amount of data to the client, much more than you want to keep in memory. When you are generating the data on the fly though, how do you send that back to the client without the roundtrip to the filesystem? The answer is by using generators and direct responses. Basic Usage ----------- This is a basic view function that generates a lot of CSV data on the fly. The trick is to have an inner function that uses a generator to generate data and to then invoke that function and pass it to a response object:: from flask import Response @app.route('/large.csv') def generate_large_csv(): def generate(): for row in iter_all_rows(): yield ','.join(row) + '\n' return Response(generate(), mimetype='text/csv') Each ``yield`` expression is directly sent to the browser. Note though that some WSGI middlewares might break streaming, so be careful there in debug environments with profilers and other things you might have enabled. Streaming from Templates ------------------------ The Jinja2 template engine also supports rendering templates piece by piece. This functionality is not directly exposed by Flask because it is quite uncommon, but you can easily do it yourself:: from flask import Response def stream_template(template_name, **context): app.update_template_context(context) t = app.jinja_env.get_template(template_name) rv = t.stream(context) rv.enable_buffering(5) return rv @app.route('/my-large-page.html') def render_large_template(): rows = iter_all_rows() return Response(stream_template('the_template.html', rows=rows)) The trick here is to get the template object from the Jinja2 environment on the application and to call :meth:`~jinja2.Template.stream` instead of :meth:`~jinja2.Template.render` which returns a stream object instead of a string. Since we're bypassing the Flask template render functions and using the template object itself we have to make sure to update the render context ourselves by calling :meth:`~flask.Flask.update_template_context`. The template is then evaluated as the stream is iterated over. Since each time you do a yield the server will flush the content to the client you might want to buffer up a few items in the template which you can do with ``rv.enable_buffering(size)``. ``5`` is a sane default. Streaming with Context ---------------------- .. versionadded:: 0.9 Note that when you stream data, the request context is already gone the moment the function executes. Flask 0.9 provides you with a helper that can keep the request context around during the execution of the generator:: from flask import stream_with_context, request, Response @app.route('/stream') def streamed_response(): def generate(): yield 'Hello ' yield request.args['name'] yield '!' return Response(stream_with_context(generate())) Without the :func:`~flask.stream_with_context` function you would get a :class:`RuntimeError` at that point. Flask-0.10.1/docs/patterns/templateinheritance.rst0000644000076700000240000000425412156444477023364 0ustar mitsuhikostaff00000000000000.. _template-inheritance: Template Inheritance ==================== The most powerful part of Jinja is template inheritance. Template inheritance allows you to build a base "skeleton" template that contains all the common elements of your site and defines **blocks** that child templates can override. Sounds complicated but is very basic. It's easiest to understand it by starting with an example. Base Template ------------- This template, which we'll call ``layout.html``, defines a simple HTML skeleton document that you might use for a simple two-column page. It's the job of "child" templates to fill the empty blocks with content: .. sourcecode:: html+jinja {% block head %} {% block title %}{% endblock %} - My Webpage {% endblock %}

{% block content %}{% endblock %}
In this example, the ``{% block %}`` tags define four blocks that child templates can fill in. All the `block` tag does is tell the template engine that a child template may override those portions of the template. Child Template -------------- A child template might look like this: .. sourcecode:: html+jinja {% extends "layout.html" %} {% block title %}Index{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block content %}

Index

Welcome on my awesome homepage. {% endblock %} The ``{% extends %}`` tag is the key here. It tells the template engine that this template "extends" another template. When the template system evaluates this template, first it locates the parent. The extends tag must be the first tag in the template. To render the contents of a block defined in the parent template, use ``{{ super() }}``. Flask-0.10.1/docs/patterns/urlprocessors.rst0000644000076700000240000001034112156444477022256 0ustar mitsuhikostaff00000000000000Using URL Processors ==================== .. versionadded:: 0.7 Flask 0.7 introduces the concept of URL processors. The idea is that you might have a bunch of resources with common parts in the URL that you don't always explicitly want to provide. For instance you might have a bunch of URLs that have the language code in it but you don't want to have to handle it in every single function yourself. URL processors are especially helpful when combined with blueprints. We will handle both application specific URL processors here as well as blueprint specifics. Internationalized Application URLs ---------------------------------- Consider an application like this:: from flask import Flask, g app = Flask(__name__) @app.route('//') def index(lang_code): g.lang_code = lang_code ... @app.route('//about') def about(lang_code): g.lang_code = lang_code ... This is an awful lot of repetition as you have to handle the language code setting on the :data:`~flask.g` object yourself in every single function. Sure, a decorator could be used to simplify this, but if you want to generate URLs from one function to another you would have to still provide the language code explicitly which can be annoying. For the latter, this is where :func:`~flask.Flask.url_defaults` functions come in. They can automatically inject values into a call for :func:`~flask.url_for` automatically. The code below checks if the language code is not yet in the dictionary of URL values and if the endpoint wants a value named ``'lang_code'``:: @app.url_defaults def add_language_code(endpoint, values): if 'lang_code' in values or not g.lang_code: return if app.url_map.is_endpoint_expecting(endpoint, 'lang_code'): values['lang_code'] = g.lang_code The method :meth:`~werkzeug.routing.Map.is_endpoint_expecting` of the URL map can be used to figure out if it would make sense to provide a language code for the given endpoint. The reverse of that function are :meth:`~flask.Flask.url_value_preprocessor`\s. They are executed right after the request was matched and can execute code based on the URL values. The idea is that they pull information out of the values dictionary and put it somewhere else:: @app.url_value_preprocessor def pull_lang_code(endpoint, values): g.lang_code = values.pop('lang_code', None) That way you no longer have to do the `lang_code` assignment to :data:`~flask.g` in every function. You can further improve that by writing your own decorator that prefixes URLs with the language code, but the more beautiful solution is using a blueprint. Once the ``'lang_code'`` is popped from the values dictionary and it will no longer be forwarded to the view function reducing the code to this:: from flask import Flask, g app = Flask(__name__) @app.url_defaults def add_language_code(endpoint, values): if 'lang_code' in values or not g.lang_code: return if app.url_map.is_endpoint_expecting(endpoint, 'lang_code'): values['lang_code'] = g.lang_code @app.url_value_preprocessor def pull_lang_code(endpoint, values): g.lang_code = values.pop('lang_code', None) @app.route('//') def index(): ... @app.route('//about') def about(): ... Internationalized Blueprint URLs -------------------------------- Because blueprints can automatically prefix all URLs with a common string it's easy to automatically do that for every function. Furthermore blueprints can have per-blueprint URL processors which removes a whole lot of logic from the :meth:`~flask.Flask.url_defaults` function because it no longer has to check if the URL is really interested in a ``'lang_code'`` parameter:: from flask import Blueprint, g bp = Blueprint('frontend', __name__, url_prefix='/') @bp.url_defaults def add_language_code(endpoint, values): values.setdefault('lang_code', g.lang_code) @bp.url_value_preprocessor def pull_lang_code(endpoint, values): g.lang_code = values.pop('lang_code') @bp.route('/') def index(): ... @bp.route('/about') def about(): ... Flask-0.10.1/docs/patterns/viewdecorators.rst0000644000076700000240000001427312156311351022361 0ustar mitsuhikostaff00000000000000View Decorators =============== Python has a really interesting feature called function decorators. This allow some really neat things for web applications. Because each view in Flask is a function decorators can be used to inject additional functionality to one or more functions. The :meth:`~flask.Flask.route` decorator is the one you probably used already. But there are use cases for implementing your own decorator. For instance, imagine you have a view that should only be used by people that are logged in to. If a user goes to the site and is not logged in, they should be redirected to the login page. This is a good example of a use case where a decorator is an excellent solution. Login Required Decorator ------------------------ So let's implement such a decorator. A decorator is a function that returns a function. Pretty simple actually. The only thing you have to keep in mind when implementing something like this is to update the `__name__`, `__module__` and some other attributes of a function. This is often forgotten, but you don't have to do that by hand, there is a function for that that is used like a decorator (:func:`functools.wraps`). This example assumes that the login page is called ``'login'`` and that the current user is stored as `g.user` and `None` if there is no-one logged in:: from functools import wraps from flask import g, request, redirect, url_for def login_required(f): @wraps(f) def decorated_function(*args, **kwargs): if g.user is None: return redirect(url_for('login', next=request.url)) return f(*args, **kwargs) return decorated_function So how would you use that decorator now? Apply it as innermost decorator to a view function. When applying further decorators, always remember that the :meth:`~flask.Flask.route` decorator is the outermost:: @app.route('/secret_page') @login_required def secret_page(): pass Caching Decorator ----------------- Imagine you have a view function that does an expensive calculation and because of that you would like to cache the generated results for a certain amount of time. A decorator would be nice for that. We're assuming you have set up a cache like mentioned in :ref:`caching-pattern`. Here an example cache function. It generates the cache key from a specific prefix (actually a format string) and the current path of the request. Notice that we are using a function that first creates the decorator that then decorates the function. Sounds awful? Unfortunately it is a little bit more complex, but the code should still be straightforward to read. The decorated function will then work as follows 1. get the unique cache key for the current request base on the current path. 2. get the value for that key from the cache. If the cache returned something we will return that value. 3. otherwise the original function is called and the return value is stored in the cache for the timeout provided (by default 5 minutes). Here the code:: from functools import wraps from flask import request def cached(timeout=5 * 60, key='view/%s'): def decorator(f): @wraps(f) def decorated_function(*args, **kwargs): cache_key = key % request.path rv = cache.get(cache_key) if rv is not None: return rv rv = f(*args, **kwargs) cache.set(cache_key, rv, timeout=timeout) return rv return decorated_function return decorator Notice that this assumes an instantiated `cache` object is available, see :ref:`caching-pattern` for more information. Templating Decorator -------------------- A common pattern invented by the TurboGears guys a while back is a templating decorator. The idea of that decorator is that you return a dictionary with the values passed to the template from the view function and the template is automatically rendered. With that, the following three examples do exactly the same:: @app.route('/') def index(): return render_template('index.html', value=42) @app.route('/') @templated('index.html') def index(): return dict(value=42) @app.route('/') @templated() def index(): return dict(value=42) As you can see, if no template name is provided it will use the endpoint of the URL map with dots converted to slashes + ``'.html'``. Otherwise the provided template name is used. When the decorated function returns, the dictionary returned is passed to the template rendering function. If `None` is returned, an empty dictionary is assumed, if something else than a dictionary is returned we return it from the function unchanged. That way you can still use the redirect function or return simple strings. Here the code for that decorator:: from functools import wraps from flask import request def templated(template=None): def decorator(f): @wraps(f) def decorated_function(*args, **kwargs): template_name = template if template_name is None: template_name = request.endpoint \ .replace('.', '/') + '.html' ctx = f(*args, **kwargs) if ctx is None: ctx = {} elif not isinstance(ctx, dict): return ctx return render_template(template_name, **ctx) return decorated_function return decorator Endpoint Decorator ------------------ When you want to use the werkzeug routing system for more flexibility you need to map the endpoint as defined in the :class:`~werkzeug.routing.Rule` to a view function. This is possible with this decorator. For example:: from flask import Flask from werkzeug.routing import Rule app = Flask(__name__) app.url_map.add(Rule('/', endpoint='index')) @app.endpoint('index') def my_index(): return "Hello world" Flask-0.10.1/docs/patterns/wtforms.rst0000644000076700000240000001114712156311351021017 0ustar mitsuhikostaff00000000000000Form Validation with WTForms ============================ When you have to work with form data submitted by a browser view code quickly becomes very hard to read. There are libraries out there designed to make this process easier to manage. One of them is `WTForms`_ which we will handle here. If you find yourself in the situation of having many forms, you might want to give it a try. When you are working with WTForms you have to define your forms as classes first. I recommend breaking up the application into multiple modules (:ref:`larger-applications`) for that and adding a separate module for the forms. .. admonition:: Getting most of WTForms with an Extension The `Flask-WTF`_ extension expands on this pattern and adds a few handful little helpers that make working with forms and Flask more fun. You can get it from `PyPI `_. .. _Flask-WTF: http://packages.python.org/Flask-WTF/ The Forms --------- This is an example form for a typical registration page:: from wtforms import Form, BooleanField, TextField, PasswordField, validators class RegistrationForm(Form): username = TextField('Username', [validators.Length(min=4, max=25)]) email = TextField('Email Address', [validators.Length(min=6, max=35)]) password = PasswordField('New Password', [ validators.Required(), validators.EqualTo('confirm', message='Passwords must match') ]) confirm = PasswordField('Repeat Password') accept_tos = BooleanField('I accept the TOS', [validators.Required()]) In the View ----------- In the view function, the usage of this form looks like this:: @app.route('/register', methods=['GET', 'POST']) def register(): form = RegistrationForm(request.form) if request.method == 'POST' and form.validate(): user = User(form.username.data, form.email.data, form.password.data) db_session.add(user) flash('Thanks for registering') return redirect(url_for('login')) return render_template('register.html', form=form) Notice that we are implying that the view is using SQLAlchemy here (:ref:`sqlalchemy-pattern`) but this is no requirement of course. Adapt the code as necessary. Things to remember: 1. create the form from the request :attr:`~flask.request.form` value if the data is submitted via the HTTP `POST` method and :attr:`~flask.request.args` if the data is submitted as `GET`. 2. to validate the data, call the :func:`~wtforms.form.Form.validate` method which will return `True` if the data validates, `False` otherwise. 3. to access individual values from the form, access `form..data`. Forms in Templates ------------------ Now to the template side. When you pass the form to the templates you can easily render them there. Look at the following example template to see how easy this is. WTForms does half the form generation for us already. To make it even nicer, we can write a macro that renders a field with label and a list of errors if there are any. Here's an example `_formhelpers.html` template with such a macro: .. sourcecode:: html+jinja {% macro render_field(field) %}

{{ field.label }}
{{ field(**kwargs)|safe }} {% if field.errors %}
    {% for error in field.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{% endmacro %} This macro accepts a couple of keyword arguments that are forwarded to WTForm's field function that renders the field for us. The keyword arguments will be inserted as HTML attributes. So for example you can call ``render_field(form.username, class='username')`` to add a class to the input element. Note that WTForms returns standard Python unicode strings, so we have to tell Jinja2 that this data is already HTML escaped with the `|safe` filter. Here the `register.html` template for the function we used above which takes advantage of the `_formhelpers.html` template: .. sourcecode:: html+jinja {% from "_formhelpers.html" import render_field %}
{{ render_field(form.username) }} {{ render_field(form.email) }} {{ render_field(form.password) }} {{ render_field(form.confirm) }} {{ render_field(form.accept_tos) }}

For more information about WTForms, head over to the `WTForms website`_. .. _WTForms: http://wtforms.simplecodes.com/ .. _WTForms website: http://wtforms.simplecodes.com/ Flask-0.10.1/docs/python3.rst0000644000076700000240000000445312156553273017077 0ustar mitsuhikostaff00000000000000.. _python3-support: Python 3 Support ================ Flask and all of its dependencies support Python 3 so you can in theory start working on it already. There are however a few things you should be aware of before you start using Python 3 for your next project. Requirements ------------ If you want to use Flask with Python 3 you will need to use Python 3.3 or higher. 3.2 and older are *not* supported. In addition to that you need to use the latest and greatest versions of `itsdangerous`, `Jinja2` and `Werkzeug`. API Stability ------------- Some of the decisions made in regards to unicode and byte untilization on Python 3 make it hard to write low level code. This mainly affects WSGI middlewares and interacting with the WSGI provided information. Werkzeug wraps all that information in high-level helpers but some of those were specifically added for the Python 3 support and are quite new. A lot of the documentation out there on using WSGI leaves out those details as it was written before WSGI was updated to Python 3. While the API for Werkzeug and Flask on Python 2.x should not change much we cannot guarantee that this won't happen on Python 3. Few Users --------- Python 3 currently has less than 1% of the users of Python 2 going by PyPI download stats. As a result many of the problems you will encounter are probably hard to search for on the internet if they are Python 3 specific. Small Ecosystem --------------- The majority of the Flask extensions, all of the documentation and the vast majority of the PyPI provided libraries do not support Python 3 yet. Even if you start your project with knowing that all you will need is supported by Python 3 you don't know what happens six months from now. If you are adventurous you can start porting libraries on your own, but that is nothing for the faint of heart. Recommendations --------------- Unless you are already familiar with the differences in the versions we recommend sticking to current versions of Python until the ecosystem caught up. The majority of the upgrade pain is in the lower-level libararies like Flask and Werkzeug and not in the actual high-level application code. For instance all of the Flask examples that are in the Flask repository work out of the box on both 2.x and 3.x and did not require a single line of code changed. Flask-0.10.1/docs/quickstart.rst0000644000076700000240000007632712156444477017703 0ustar mitsuhikostaff00000000000000.. _quickstart: Quickstart ========== Eager to get started? This page gives a good introduction to Flask. It assumes you already have Flask installed. If you do not, head over to the :ref:`installation` section. A Minimal Application --------------------- A minimal Flask application looks something like this:: from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello World!' if __name__ == '__main__': app.run() Just save it as `hello.py` (or something similar) and run it with your Python interpreter. Make sure to not call your application `flask.py` because this would conflict with Flask itself. :: $ python hello.py * Running on http://127.0.0.1:5000/ Now head over to `http://127.0.0.1:5000/ `_, and you should see your hello world greeting. So what did that code do? 1. First we imported the :class:`~flask.Flask` class. An instance of this class will be our WSGI application. 2. Next we create an instance of this class. The first argument is the name of the application's module or package. If you are using a single module (as in this example), you should use `__name__` because depending on if it's started as application or imported as module the name will be different (``'__main__'`` versus the actual import name). This is needed so that Flask knows where to look for templates, static files, and so on. For more information have a look at the :class:`~flask.Flask` documentation. 3. We then use the :meth:`~flask.Flask.route` decorator to tell Flask what URL should trigger our function. 4. The function is given a name which is also used to generate URLs for that particular function, and returns the message we want to display in the user's browser. 5. Finally we use the :meth:`~flask.Flask.run` function to run the local server with our application. The ``if __name__ == '__main__':`` makes sure the server only runs if the script is executed directly from the Python interpreter and not used as an imported module. To stop the server, hit control-C. .. _public-server: .. admonition:: Externally Visible Server If you run the server you will notice that the server is only accessible from your own computer, not from any other in the network. This is the default because in debugging mode a user of the application can execute arbitrary Python code on your computer. If you have `debug` disabled or trust the users on your network, you can make the server publicly available simply by changing the call of the :meth:`~flask.Flask.run` method to look like this:: app.run(host='0.0.0.0') This tells your operating system to listen on all public IPs. .. _debug-mode: Debug Mode ---------- The :meth:`~flask.Flask.run` method is nice to start a local development server, but you would have to restart it manually after each change to your code. That is not very nice and Flask can do better. If you enable debug support the server will reload itself on code changes, and it will also provide you with a helpful debugger if things go wrong. There are two ways to enable debugging. Either set that flag on the application object:: app.debug = True app.run() Or pass it as a parameter to run:: app.run(debug=True) Both methods have the exact same effect. .. admonition:: Attention Even though the interactive debugger does not work in forking environments (which makes it nearly impossible to use on production servers), it still allows the execution of arbitrary code. This makes it a major security risk and therefore it **must never be used on production machines**. Screenshot of the debugger in action: .. image:: _static/debugger.png :align: center :class: screenshot :alt: screenshot of debugger in action Have another debugger in mind? See :ref:`working-with-debuggers`. Routing ------- Modern web applications have beautiful URLs. This helps people remember the URLs, which is especially handy for applications that are used from mobile devices with slower network connections. If the user can directly go to the desired page without having to hit the index page it is more likely they will like the page and come back next time. As you have seen above, the :meth:`~flask.Flask.route` decorator is used to bind a function to a URL. Here are some basic examples:: @app.route('/') def index(): return 'Index Page' @app.route('/hello') def hello(): return 'Hello World' But there is more to it! You can make certain parts of the URL dynamic and attach multiple rules to a function. Variable Rules `````````````` To add variable parts to a URL you can mark these special sections as ````. Such a part is then passed as a keyword argument to your function. Optionally a converter can be used by specifying a rule with ````. Here are some nice examples:: @app.route('/user/') def show_user_profile(username): # show the user profile for that user return 'User %s' % username @app.route('/post/') def show_post(post_id): # show the post with the given id, the id is an integer return 'Post %d' % post_id The following converters exist: =========== =========================================== `int` accepts integers `float` like `int` but for floating point values `path` like the default but also accepts slashes =========== =========================================== .. admonition:: Unique URLs / Redirection Behavior Flask's URL rules are based on Werkzeug's routing module. The idea behind that module is to ensure beautiful and unique URLs based on precedents laid down by Apache and earlier HTTP servers. Take these two rules:: @app.route('/projects/') def projects(): return 'The project page' @app.route('/about') def about(): return 'The about page' Though they look rather similar, they differ in their use of the trailing slash in the URL *definition*. In the first case, the canonical URL for the `projects` endpoint has a trailing slash. In that sense, it is similar to a folder on a file system. Accessing it without a trailing slash will cause Flask to redirect to the canonical URL with the trailing slash. In the second case, however, the URL is defined without a trailing slash, rather like the pathname of a file on UNIX-like systems. Accessing the URL with a trailing slash will produce a 404 "Not Found" error. This behavior allows relative URLs to continue working even if the trailing slash is ommited, consistent with how Apache and other servers work. Also, the URLs will stay unique, which helps search engines avoid indexing the same page twice. .. _url-building: URL Building ```````````` If it can match URLs, can Flask also generate them? Of course it can. To build a URL to a specific function you can use the :func:`~flask.url_for` function. It accepts the name of the function as first argument and a number of keyword arguments, each corresponding to the variable part of the URL rule. Unknown variable parts are appended to the URL as query parameters. Here are some examples: >>> from flask import Flask, url_for >>> app = Flask(__name__) >>> @app.route('/') ... def index(): pass ... >>> @app.route('/login') ... def login(): pass ... >>> @app.route('/user/') ... def profile(username): pass ... >>> with app.test_request_context(): ... print url_for('index') ... print url_for('login') ... print url_for('login', next='/') ... print url_for('profile', username='John Doe') ... / /login /login?next=/ /user/John%20Doe (This also uses the :meth:`~flask.Flask.test_request_context` method, explained below. It tells Flask to behave as though it is handling a request, even though we are interacting with it through a Python shell. Have a look at the explanation below. :ref:`context-locals`). Why would you want to build URLs instead of hard-coding them into your templates? There are three good reasons for this: 1. Reversing is often more descriptive than hard-coding the URLs. More importantly, it allows you to change URLs in one go, without having to remember to change URLs all over the place. 2. URL building will handle escaping of special characters and Unicode data transparently for you, so you don't have to deal with them. 3. If your application is placed outside the URL root (say, in ``/myapplication`` instead of ``/``), :func:`~flask.url_for` will handle that properly for you. HTTP Methods ```````````` HTTP (the protocol web applications are speaking) knows different methods for accessing URLs. By default, a route only answers to `GET` requests, but that can be changed by providing the `methods` argument to the :meth:`~flask.Flask.route` decorator. Here are some examples:: @app.route('/login', methods=['GET', 'POST']) def login(): if request.method == 'POST': do_the_login() else: show_the_login_form() If `GET` is present, `HEAD` will be added automatically for you. You don't have to deal with that. It will also make sure that `HEAD` requests are handled as the `HTTP RFC`_ (the document describing the HTTP protocol) demands, so you can completely ignore that part of the HTTP specification. Likewise, as of Flask 0.6, `OPTIONS` is implemented for you automatically as well. You have no idea what an HTTP method is? Worry not, here is a quick introduction to HTTP methods and why they matter: The HTTP method (also often called "the verb") tells the server what the clients wants to *do* with the requested page. The following methods are very common: `GET` The browser tells the server to just *get* the information stored on that page and send it. This is probably the most common method. `HEAD` The browser tells the server to get the information, but it is only interested in the *headers*, not the content of the page. An application is supposed to handle that as if a `GET` request was received but to not deliver the actual content. In Flask you don't have to deal with that at all, the underlying Werkzeug library handles that for you. `POST` The browser tells the server that it wants to *post* some new information to that URL and that the server must ensure the data is stored and only stored once. This is how HTML forms usually transmit data to the server. `PUT` Similar to `POST` but the server might trigger the store procedure multiple times by overwriting the old values more than once. Now you might be asking why this is useful, but there are some good reasons to do it this way. Consider that the connection is lost during transmission: in this situation a system between the browser and the server might receive the request safely a second time without breaking things. With `POST` that would not be possible because it must only be triggered once. `DELETE` Remove the information at the given location. `OPTIONS` Provides a quick way for a client to figure out which methods are supported by this URL. Starting with Flask 0.6, this is implemented for you automatically. Now the interesting part is that in HTML4 and XHTML1, the only methods a form can submit to the server are `GET` and `POST`. But with JavaScript and future HTML standards you can use the other methods as well. Furthermore HTTP has become quite popular lately and browsers are no longer the only clients that are using HTTP. For instance, many revision control system use it. .. _HTTP RFC: http://www.ietf.org/rfc/rfc2068.txt Static Files ------------ Dynamic web applications also need static files. That's usually where the CSS and JavaScript files are coming from. Ideally your web server is configured to serve them for you, but during development Flask can do that as well. Just create a folder called `static` in your package or next to your module and it will be available at `/static` on the application. To generate URLs for static files, use the special ``'static'`` endpoint name:: url_for('static', filename='style.css') The file has to be stored on the filesystem as ``static/style.css``. Rendering Templates ------------------- Generating HTML from within Python is not fun, and actually pretty cumbersome because you have to do the HTML escaping on your own to keep the application secure. Because of that Flask configures the `Jinja2 `_ template engine for you automatically. To render a template you can use the :func:`~flask.render_template` method. All you have to do is provide the name of the template and the variables you want to pass to the template engine as keyword arguments. Here's a simple example of how to render a template:: from flask import render_template @app.route('/hello/') @app.route('/hello/') def hello(name=None): return render_template('hello.html', name=name) Flask will look for templates in the `templates` folder. So if your application is a module, this folder is next to that module, if it's a package it's actually inside your package: **Case 1**: a module:: /application.py /templates /hello.html **Case 2**: a package:: /application /__init__.py /templates /hello.html For templates you can use the full power of Jinja2 templates. Head over to the official `Jinja2 Template Documentation `_ for more information. Here is an example template: .. sourcecode:: html+jinja Hello from Flask {% if name %}

Hello {{ name }}!

{% else %}

Hello World!

{% endif %} Inside templates you also have access to the :class:`~flask.request`, :class:`~flask.session` and :class:`~flask.g` [#]_ objects as well as the :func:`~flask.get_flashed_messages` function. Templates are especially useful if inheritance is used. If you want to know how that works, head over to the :ref:`template-inheritance` pattern documentation. Basically template inheritance makes it possible to keep certain elements on each page (like header, navigation and footer). Automatic escaping is enabled, so if `name` contains HTML it will be escaped automatically. If you can trust a variable and you know that it will be safe HTML (for example because it came from a module that converts wiki markup to HTML) you can mark it as safe by using the :class:`~jinja2.Markup` class or by using the ``|safe`` filter in the template. Head over to the Jinja 2 documentation for more examples. Here is a basic introduction to how the :class:`~jinja2.Markup` class works: >>> from flask import Markup >>> Markup('Hello %s!') % 'hacker' Markup(u'Hello <blink>hacker</blink>!') >>> Markup.escape('hacker') Markup(u'<blink>hacker</blink>') >>> Markup('Marked up » HTML').striptags() u'Marked up \xbb HTML' .. versionchanged:: 0.5 Autoescaping is no longer enabled for all templates. The following extensions for templates trigger autoescaping: ``.html``, ``.htm``, ``.xml``, ``.xhtml``. Templates loaded from a string will have autoescaping disabled. .. [#] Unsure what that :class:`~flask.g` object is? It's something in which you can store information for your own needs, check the documentation of that object (:class:`~flask.g`) and the :ref:`sqlite3` for more information. Accessing Request Data ---------------------- For web applications it's crucial to react to the data a client sent to the server. In Flask this information is provided by the global :class:`~flask.request` object. If you have some experience with Python you might be wondering how that object can be global and how Flask manages to still be threadsafe. The answer is context locals: .. _context-locals: Context Locals `````````````` .. admonition:: Insider Information If you want to understand how that works and how you can implement tests with context locals, read this section, otherwise just skip it. Certain objects in Flask are global objects, but not of the usual kind. These objects are actually proxies to objects that are local to a specific context. What a mouthful. But that is actually quite easy to understand. Imagine the context being the handling thread. A request comes in and the web server decides to spawn a new thread (or something else, the underlying object is capable of dealing with concurrency systems other than threads). When Flask starts its internal request handling it figures out that the current thread is the active context and binds the current application and the WSGI environments to that context (thread). It does that in an intelligent way so that one application can invoke another application without breaking. So what does this mean to you? Basically you can completely ignore that this is the case unless you are doing something like unit testing. You will notice that code which depends on a request object will suddenly break because there is no request object. The solution is creating a request object yourself and binding it to the context. The easiest solution for unit testing is to use the :meth:`~flask.Flask.test_request_context` context manager. In combination with the `with` statement it will bind a test request so that you can interact with it. Here is an example:: from flask import request with app.test_request_context('/hello', method='POST'): # now you can do something with the request until the # end of the with block, such as basic assertions: assert request.path == '/hello' assert request.method == 'POST' The other possibility is passing a whole WSGI environment to the :meth:`~flask.Flask.request_context` method:: from flask import request with app.request_context(environ): assert request.method == 'POST' The Request Object `````````````````` The request object is documented in the API section and we will not cover it here in detail (see :class:`~flask.request`). Here is a broad overview of some of the most common operations. First of all you have to import it from the `flask` module:: from flask import request The current request method is available by using the :attr:`~flask.request.method` attribute. To access form data (data transmitted in a `POST` or `PUT` request) you can use the :attr:`~flask.request.form` attribute. Here is a full example of the two attributes mentioned above:: @app.route('/login', methods=['POST', 'GET']) def login(): error = None if request.method == 'POST': if valid_login(request.form['username'], request.form['password']): return log_the_user_in(request.form['username']) else: error = 'Invalid username/password' # the code below is executed if the request method # was GET or the credentials were invalid return render_template('login.html', error=error) What happens if the key does not exist in the `form` attribute? In that case a special :exc:`KeyError` is raised. You can catch it like a standard :exc:`KeyError` but if you don't do that, a HTTP 400 Bad Request error page is shown instead. So for many situations you don't have to deal with that problem. To access parameters submitted in the URL (``?key=value``) you can use the :attr:`~flask.request.args` attribute:: searchword = request.args.get('key', '') We recommend accessing URL parameters with `get` or by catching the `KeyError` because users might change the URL and presenting them a 400 bad request page in that case is not user friendly. For a full list of methods and attributes of the request object, head over to the :class:`~flask.request` documentation. File Uploads ```````````` You can handle uploaded files with Flask easily. Just make sure not to forget to set the ``enctype="multipart/form-data"`` attribute on your HTML form, otherwise the browser will not transmit your files at all. Uploaded files are stored in memory or at a temporary location on the filesystem. You can access those files by looking at the :attr:`~flask.request.files` attribute on the request object. Each uploaded file is stored in that dictionary. It behaves just like a standard Python :class:`file` object, but it also has a :meth:`~werkzeug.datastructures.FileStorage.save` method that allows you to store that file on the filesystem of the server. Here is a simple example showing how that works:: from flask import request @app.route('/upload', methods=['GET', 'POST']) def upload_file(): if request.method == 'POST': f = request.files['the_file'] f.save('/var/www/uploads/uploaded_file.txt') ... If you want to know how the file was named on the client before it was uploaded to your application, you can access the :attr:`~werkzeug.datastructures.FileStorage.filename` attribute. However please keep in mind that this value can be forged so never ever trust that value. If you want to use the filename of the client to store the file on the server, pass it through the :func:`~werkzeug.utils.secure_filename` function that Werkzeug provides for you:: from flask import request from werkzeug import secure_filename @app.route('/upload', methods=['GET', 'POST']) def upload_file(): if request.method == 'POST': f = request.files['the_file'] f.save('/var/www/uploads/' + secure_filename(f.filename)) ... For some better examples, checkout the :ref:`uploading-files` pattern. Cookies ``````` To access cookies you can use the :attr:`~flask.Request.cookies` attribute. To set cookies you can use the :attr:`~flask.Response.set_cookie` method of response objects. The :attr:`~flask.Request.cookies` attribute of request objects is a dictionary with all the cookies the client transmits. If you want to use sessions, do not use the cookies directly but instead use the :ref:`sessions` in Flask that add some security on top of cookies for you. Reading cookies:: from flask import request @app.route('/') def index(): username = request.cookies.get('username') # use cookies.get(key) instead of cookies[key] to not get a # KeyError if the cookie is missing. Storing cookies:: from flask import make_response @app.route('/') def index(): resp = make_response(render_template(...)) resp.set_cookie('username', 'the username') return resp Note that cookies are set on response objects. Since you normally just return strings from the view functions Flask will convert them into response objects for you. If you explicitly want to do that you can use the :meth:`~flask.make_response` function and then modify it. Sometimes you might want to set a cookie at a point where the response object does not exist yet. This is possible by utilizing the :ref:`deferred-callbacks` pattern. For this also see :ref:`about-responses`. Redirects and Errors -------------------- To redirect a user to another endpoint, use the :func:`~flask.redirect` function; to abort a request early with an error code, use the :func:`~flask.abort` function:: from flask import abort, redirect, url_for @app.route('/') def index(): return redirect(url_for('login')) @app.route('/login') def login(): abort(401) this_is_never_executed() This is a rather pointless example because a user will be redirected from the index to a page they cannot access (401 means access denied) but it shows how that works. By default a black and white error page is shown for each error code. If you want to customize the error page, you can use the :meth:`~flask.Flask.errorhandler` decorator:: from flask import render_template @app.errorhandler(404) def page_not_found(error): return render_template('page_not_found.html'), 404 Note the ``404`` after the :func:`~flask.render_template` call. This tells Flask that the status code of that page should be 404 which means not found. By default 200 is assumed which translates to: all went well. .. _about-responses: About Responses --------------- The return value from a view function is automatically converted into a response object for you. If the return value is a string it's converted into a response object with the string as response body, an ``200 OK`` error code and a ``text/html`` mimetype. The logic that Flask applies to converting return values into response objects is as follows: 1. If a response object of the correct type is returned it's directly returned from the view. 2. If it's a string, a response object is created with that data and the default parameters. 3. If a tuple is returned the items in the tuple can provide extra information. Such tuples have to be in the form ``(response, status, headers)`` where at least one item has to be in the tuple. The `status` value will override the status code and `headers` can be a list or dictionary of additional header values. 4. If none of that works, Flask will assume the return value is a valid WSGI application and convert that into a response object. If you want to get hold of the resulting response object inside the view you can use the :func:`~flask.make_response` function. Imagine you have a view like this: .. sourcecode:: python @app.errorhandler(404) def not_found(error): return render_template('error.html'), 404 You just need to wrap the return expression with :func:`~flask.make_response` and get the response object to modify it, then return it: .. sourcecode:: python @app.errorhandler(404) def not_found(error): resp = make_response(render_template('error.html'), 404) resp.headers['X-Something'] = 'A value' return resp .. _sessions: Sessions -------- In addition to the request object there is also a second object called :class:`~flask.session` which allows you to store information specific to a user from one request to the next. This is implemented on top of cookies for you and signs the cookies cryptographically. What this means is that the user could look at the contents of your cookie but not modify it, unless they know the secret key used for signing. In order to use sessions you have to set a secret key. Here is how sessions work:: from flask import Flask, session, redirect, url_for, escape, request app = Flask(__name__) @app.route('/') def index(): if 'username' in session: return 'Logged in as %s' % escape(session['username']) return 'You are not logged in' @app.route('/login', methods=['GET', 'POST']) def login(): if request.method == 'POST': session['username'] = request.form['username'] return redirect(url_for('index')) return '''

''' @app.route('/logout') def logout(): # remove the username from the session if it's there session.pop('username', None) return redirect(url_for('index')) # set the secret key. keep this really secret: app.secret_key = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT' The :func:`~flask.escape` mentioned here does escaping for you if you are not using the template engine (as in this example). .. admonition:: How to generate good secret keys The problem with random is that it's hard to judge what is truly random. And a secret key should be as random as possible. Your operating system has ways to generate pretty random stuff based on a cryptographic random generator which can be used to get such a key: >>> import os >>> os.urandom(24) '\xfd{H\xe5<\x95\xf9\xe3\x96.5\xd1\x01O`_ for more information. Hooking in WSGI Middlewares --------------------------- If you want to add a WSGI middleware to your application you can wrap the internal WSGI application. For example if you want to use one of the middlewares from the Werkzeug package to work around bugs in lighttpd, you can do it like this:: from werkzeug.contrib.fixers import LighttpdCGIRootFix app.wsgi_app = LighttpdCGIRootFix(app.wsgi_app) .. _quickstart_deployment: Deploying to a Web Server ------------------------- Ready to deploy your new Flask app? To wrap up the quickstart, you can immediately deploy to a hosted platform, all of which offer a free plan for small projects: - `Deploying Flask on Heroku `_ - `Deploying WSGI on dotCloud `_ with `Flask-specific notes `_ Other places where you can host your Flask app: - `Deploying Flask on Webfaction `_ - `Deploying Flask on Google App Engine `_ - `Sharing your Localhost Server with Localtunnel `_ If you manage your own hosts and would like to host yourself, see the chapter on :ref:`deployment`. Flask-0.10.1/docs/reqcontext.rst0000644000076700000240000002174712156311351017661 0ustar mitsuhikostaff00000000000000.. _request-context: The Request Context =================== This document describes the behavior in Flask 0.7 which is mostly in line with the old behavior but has some small, subtle differences. It is recommended that you read the :ref:`app-context` chapter first. Diving into Context Locals -------------------------- Say you have a utility function that returns the URL the user should be redirected to. Imagine it would always redirect to the URL's ``next`` parameter or the HTTP referrer or the index page:: from flask import request, url_for def redirect_url(): return request.args.get('next') or \ request.referrer or \ url_for('index') As you can see, it accesses the request object. If you try to run this from a plain Python shell, this is the exception you will see: >>> redirect_url() Traceback (most recent call last): File "", line 1, in AttributeError: 'NoneType' object has no attribute 'request' That makes a lot of sense because we currently do not have a request we could access. So we have to make a request and bind it to the current context. The :attr:`~flask.Flask.test_request_context` method can create us a :class:`~flask.ctx.RequestContext`: >>> ctx = app.test_request_context('/?next=http://example.com/') This context can be used in two ways. Either with the `with` statement or by calling the :meth:`~flask.ctx.RequestContext.push` and :meth:`~flask.ctx.RequestContext.pop` methods: >>> ctx.push() From that point onwards you can work with the request object: >>> redirect_url() u'http://example.com/' Until you call `pop`: >>> ctx.pop() Because the request context is internally maintained as a stack you can push and pop multiple times. This is very handy to implement things like internal redirects. For more information of how to utilize the request context from the interactive Python shell, head over to the :ref:`shell` chapter. How the Context Works --------------------- If you look into how the Flask WSGI application internally works, you will find a piece of code that looks very much like this:: def wsgi_app(self, environ): with self.request_context(environ): try: response = self.full_dispatch_request() except Exception, e: response = self.make_response(self.handle_exception(e)) return response(environ, start_response) The method :meth:`~Flask.request_context` returns a new :class:`~flask.ctx.RequestContext` object and uses it in combination with the `with` statement to bind the context. Everything that is called from the same thread from this point onwards until the end of the `with` statement will have access to the request globals (:data:`flask.request` and others). The request context internally works like a stack: The topmost level on the stack is the current active request. :meth:`~flask.ctx.RequestContext.push` adds the context to the stack on the very top, :meth:`~flask.ctx.RequestContext.pop` removes it from the stack again. On popping the application's :func:`~flask.Flask.teardown_request` functions are also executed. Another thing of note is that the request context will automatically also create an :ref:`application context ` when it's pushed and there is no application context for that application so far. .. _callbacks-and-errors: Callbacks and Errors -------------------- What happens if an error occurs in Flask during request processing? This particular behavior changed in 0.7 because we wanted to make it easier to understand what is actually happening. The new behavior is quite simple: 1. Before each request, :meth:`~flask.Flask.before_request` functions are executed. If one of these functions return a response, the other functions are no longer called. In any case however the return value is treated as a replacement for the view's return value. 2. If the :meth:`~flask.Flask.before_request` functions did not return a response, the regular request handling kicks in and the view function that was matched has the chance to return a response. 3. The return value of the view is then converted into an actual response object and handed over to the :meth:`~flask.Flask.after_request` functions which have the chance to replace it or modify it in place. 4. At the end of the request the :meth:`~flask.Flask.teardown_request` functions are executed. This always happens, even in case of an unhandled exception down the road or if a before-request handler was not executed yet or at all (for example in test environments sometimes you might want to not execute before-request callbacks). Now what happens on errors? In production mode if an exception is not caught, the 500 internal server handler is called. In development mode however the exception is not further processed and bubbles up to the WSGI server. That way things like the interactive debugger can provide helpful debug information. An important change in 0.7 is that the internal server error is now no longer post processed by the after request callbacks and after request callbacks are no longer guaranteed to be executed. This way the internal dispatching code looks cleaner and is easier to customize and understand. The new teardown functions are supposed to be used as a replacement for things that absolutely need to happen at the end of request. Teardown Callbacks ------------------ The teardown callbacks are special callbacks in that they are executed at at different point. Strictly speaking they are independent of the actual request handling as they are bound to the lifecycle of the :class:`~flask.ctx.RequestContext` object. When the request context is popped, the :meth:`~flask.Flask.teardown_request` functions are called. This is important to know if the life of the request context is prolonged by using the test client in a with statement or when using the request context from the command line:: with app.test_client() as client: resp = client.get('/foo') # the teardown functions are still not called at that point # even though the response ended and you have the response # object in your hand # only when the code reaches this point the teardown functions # are called. Alternatively the same thing happens if another # request was triggered from the test client It's easy to see the behavior from the command line: >>> app = Flask(__name__) >>> @app.teardown_request ... def teardown_request(exception=None): ... print 'this runs after request' ... >>> ctx = app.test_request_context() >>> ctx.push() >>> ctx.pop() this runs after request >>> Keep in mind that teardown callbacks are always executed, even if before-request callbacks were not executed yet but an exception happened. Certain parts of the test system might also temporarily create a request context without calling the before-request handlers. Make sure to write your teardown-request handlers in a way that they will never fail. .. _notes-on-proxies: Notes On Proxies ---------------- Some of the objects provided by Flask are proxies to other objects. The reason behind this is that these proxies are shared between threads and they have to dispatch to the actual object bound to a thread behind the scenes as necessary. Most of the time you don't have to care about that, but there are some exceptions where it is good to know that this object is an actual proxy: - The proxy objects do not fake their inherited types, so if you want to perform actual instance checks, you have to do that on the instance that is being proxied (see `_get_current_object` below). - if the object reference is important (so for example for sending :ref:`signals`) If you need to get access to the underlying object that is proxied, you can use the :meth:`~werkzeug.local.LocalProxy._get_current_object` method:: app = current_app._get_current_object() my_signal.send(app) Context Preservation on Error ----------------------------- If an error occurs or not, at the end of the request the request context is popped and all data associated with it is destroyed. During development however that can be problematic as you might want to have the information around for a longer time in case an exception occurred. In Flask 0.6 and earlier in debug mode, if an exception occurred, the request context was not popped so that the interactive debugger can still provide you with important information. Starting with Flask 0.7 you have finer control over that behavior by setting the ``PRESERVE_CONTEXT_ON_EXCEPTION`` configuration variable. By default it's linked to the setting of ``DEBUG``. If the application is in debug mode the context is preserved, in production mode it's not. Do not force activate ``PRESERVE_CONTEXT_ON_EXCEPTION`` in production mode as it will cause your application to leak memory on exceptions. However it can be useful during development to get the same error preserving behavior as in development mode when attempting to debug an error that only occurs under production settings. Flask-0.10.1/docs/security.rst0000644000076700000240000001652412156311351017331 0ustar mitsuhikostaff00000000000000Security Considerations ======================= Web applications usually face all kinds of security problems and it's very hard to get everything right. Flask tries to solve a few of these things for you, but there are a couple more you have to take care of yourself. .. _xss: Cross-Site Scripting (XSS) -------------------------- Cross site scripting is the concept of injecting arbitrary HTML (and with it JavaScript) into the context of a website. To remedy this, developers have to properly escape text so that it cannot include arbitrary HTML tags. For more information on that have a look at the Wikipedia article on `Cross-Site Scripting `_. Flask configures Jinja2 to automatically escape all values unless explicitly told otherwise. This should rule out all XSS problems caused in templates, but there are still other places where you have to be careful: - generating HTML without the help of Jinja2 - calling :class:`~flask.Markup` on data submitted by users - sending out HTML from uploaded files, never do that, use the `Content-Disposition: attachment` header to prevent that problem. - sending out textfiles from uploaded files. Some browsers are using content-type guessing based on the first few bytes so users could trick a browser to execute HTML. Another thing that is very important are unquoted attributes. While Jinja2 can protect you from XSS issues by escaping HTML, there is one thing it cannot protect you from: XSS by attribute injection. To counter this possible attack vector, be sure to always quote your attributes with either double or single quotes when using Jinja expressions in them: .. sourcecode:: html+jinja the text Why is this necessary? Because if you would not be doing that, an attacker could easily inject custom JavaScript handlers. For example an attacker could inject this piece of HTML+JavaScript: .. sourcecode:: html onmouseover=alert(document.cookie) When the user would then move with the mouse over the link, the cookie would be presented to the user in an alert window. But instead of showing the cookie to the user, a good attacker might also execute any other JavaScript code. In combination with CSS injections the attacker might even make the element fill out the entire page so that the user would just have to have the mouse anywhere on the page to trigger the attack. Cross-Site Request Forgery (CSRF) --------------------------------- Another big problem is CSRF. This is a very complex topic and I won't outline it here in detail just mention what it is and how to theoretically prevent it. If your authentication information is stored in cookies, you have implicit state management. The state of "being logged in" is controlled by a cookie, and that cookie is sent with each request to a page. Unfortunately that includes requests triggered by 3rd party sites. If you don't keep that in mind, some people might be able to trick your application's users with social engineering to do stupid things without them knowing. Say you have a specific URL that, when you sent `POST` requests to will delete a user's profile (say `http://example.com/user/delete`). If an attacker now creates a page that sends a post request to that page with some JavaScript they just has to trick some users to load that page and their profiles will end up being deleted. Imagine you were to run Facebook with millions of concurrent users and someone would send out links to images of little kittens. When users would go to that page, their profiles would get deleted while they are looking at images of fluffy cats. How can you prevent that? Basically for each request that modifies content on the server you would have to either use a one-time token and store that in the cookie **and** also transmit it with the form data. After receiving the data on the server again, you would then have to compare the two tokens and ensure they are equal. Why does Flask not do that for you? The ideal place for this to happen is the form validation framework, which does not exist in Flask. .. _json-security: JSON Security ------------- .. admonition:: ECMAScript 5 Changes Starting with ECMAScript 5 the behavior of literals changed. Now they are not constructed with the constructor of ``Array`` and others, but with the builtin constructor of ``Array`` which closes this particular attack vector. JSON itself is a high-level serialization format, so there is barely anything that could cause security problems, right? You can't declare recursive structures that could cause problems and the only thing that could possibly break are very large responses that can cause some kind of denial of service at the receiver's side. However there is a catch. Due to how browsers work the CSRF issue comes up with JSON unfortunately. Fortunately there is also a weird part of the JavaScript specification that can be used to solve that problem easily and Flask is kinda doing that for you by preventing you from doing dangerous stuff. Unfortunately that protection is only there for :func:`~flask.jsonify` so you are still at risk when using other ways to generate JSON. So what is the issue and how to avoid it? The problem are arrays at top-level in JSON. Imagine you send the following data out in a JSON request. Say that's exporting the names and email addresses of all your friends for a part of the user interface that is written in JavaScript. Not very uncommon: .. sourcecode:: javascript [ {"username": "admin", "email": "admin@localhost"} ] And it is doing that of course only as long as you are logged in and only for you. And it is doing that for all `GET` requests to a certain URL, say the URL for that request is ``http://example.com/api/get_friends.json``. So now what happens if a clever hacker is embedding this to his website and social engineers a victim to visiting his site: .. sourcecode:: html If you know a bit of JavaScript internals you might know that it's possible to patch constructors and register callbacks for setters. An attacker can use this (like above) to get all the data you exported in your JSON file. The browser will totally ignore the ``application/json`` mimetype if ``text/javascript`` is defined as content type in the script tag and evaluate that as JavaScript. Because top-level array elements are allowed (albeit useless) and we hooked in our own constructor, after that page loaded the data from the JSON response is in the `captured` array. Because it is a syntax error in JavaScript to have an object literal (``{...}``) toplevel an attacker could not just do a request to an external URL with the script tag to load up the data. So what Flask does is to only allow objects as toplevel elements when using :func:`~flask.jsonify`. Make sure to do the same when using an ordinary JSON generate function. Flask-0.10.1/docs/shell.rst0000644000076700000240000000645412156311351016572 0ustar mitsuhikostaff00000000000000.. _shell: Working with the Shell ====================== .. versionadded:: 0.3 One of the reasons everybody loves Python is the interactive shell. It basically allows you to execute Python commands in real time and immediately get results back. Flask itself does not come with an interactive shell, because it does not require any specific setup upfront, just import your application and start playing around. There are however some handy helpers to make playing around in the shell a more pleasant experience. The main issue with interactive console sessions is that you're not triggering a request like a browser does which means that :data:`~flask.g`, :data:`~flask.request` and others are not available. But the code you want to test might depend on them, so what can you do? This is where some helper functions come in handy. Keep in mind however that these functions are not only there for interactive shell usage, but also for unittesting and other situations that require a faked request context. Generally it's recommended that you read the :ref:`request-context` chapter of the documentation first. Creating a Request Context -------------------------- The easiest way to create a proper request context from the shell is by using the :attr:`~flask.Flask.test_request_context` method which creates us a :class:`~flask.ctx.RequestContext`: >>> ctx = app.test_request_context() Normally you would use the `with` statement to make this request object active, but in the shell it's easier to use the :meth:`~flask.ctx.RequestContext.push` and :meth:`~flask.ctx.RequestContext.pop` methods by hand: >>> ctx.push() From that point onwards you can work with the request object until you call `pop`: >>> ctx.pop() Firing Before/After Request --------------------------- By just creating a request context, you still don't have run the code that is normally run before a request. This might result in your database being unavailable if you are connecting to the database in a before-request callback or the current user not being stored on the :data:`~flask.g` object etc. This however can easily be done yourself. Just call :meth:`~flask.Flask.preprocess_request`: >>> ctx = app.test_request_context() >>> ctx.push() >>> app.preprocess_request() Keep in mind that the :meth:`~flask.Flask.preprocess_request` function might return a response object, in that case just ignore it. To shutdown a request, you need to trick a bit before the after request functions (triggered by :meth:`~flask.Flask.process_response`) operate on a response object: >>> app.process_response(app.response_class()) >>> ctx.pop() The functions registered as :meth:`~flask.Flask.teardown_request` are automatically called when the context is popped. So this is the perfect place to automatically tear down resources that were needed by the request context (such as database connections). Further Improving the Shell Experience -------------------------------------- If you like the idea of experimenting in a shell, create yourself a module with stuff you want to star import into your interactive session. There you could also define some more helper methods for common things such as initializing the database, dropping tables etc. Just put them into a module (like `shelltools` and import from there): >>> from shelltools import * Flask-0.10.1/docs/signals.rst0000644000076700000240000003001412156444477017130 0ustar mitsuhikostaff00000000000000.. _signals: Signals ======= .. versionadded:: 0.6 Starting with Flask 0.6, there is integrated support for signalling in Flask. This support is provided by the excellent `blinker`_ library and will gracefully fall back if it is not available. What are signals? Signals help you decouple applications by sending notifications when actions occur elsewhere in the core framework or another Flask extensions. In short, signals allow certain senders to notify subscribers that something happened. Flask comes with a couple of signals and other extensions might provide more. Also keep in mind that signals are intended to notify subscribers and should not encourage subscribers to modify data. You will notice that there are signals that appear to do the same thing like some of the builtin decorators do (eg: :data:`~flask.request_started` is very similar to :meth:`~flask.Flask.before_request`). There are however difference in how they work. The core :meth:`~flask.Flask.before_request` handler for example is executed in a specific order and is able to abort the request early by returning a response. In contrast all signal handlers are executed in undefined order and do not modify any data. The big advantage of signals over handlers is that you can safely subscribe to them for the split of a second. These temporary subscriptions are helpful for unittesting for example. Say you want to know what templates were rendered as part of a request: signals allow you to do exactly that. Subscribing to Signals ---------------------- To subscribe to a signal, you can use the :meth:`~blinker.base.Signal.connect` method of a signal. The first argument is the function that should be called when the signal is emitted, the optional second argument specifies a sender. To unsubscribe from a signal, you can use the :meth:`~blinker.base.Signal.disconnect` method. For all core Flask signals, the sender is the application that issued the signal. When you subscribe to a signal, be sure to also provide a sender unless you really want to listen for signals of all applications. This is especially true if you are developing an extension. Here for example a helper context manager that can be used to figure out in a unittest which templates were rendered and what variables were passed to the template:: from flask import template_rendered from contextlib import contextmanager @contextmanager def captured_templates(app): recorded = [] def record(sender, template, context, **extra): recorded.append((template, context)) template_rendered.connect(record, app) try: yield recorded finally: template_rendered.disconnect(record, app) This can now easily be paired with a test client:: with captured_templates(app) as templates: rv = app.test_client().get('/') assert rv.status_code == 200 assert len(templates) == 1 template, context = templates[0] assert template.name == 'index.html' assert len(context['items']) == 10 Make sure to subscribe with an extra ``**extra`` argument so that your calls don't fail if Flask introduces new arguments to the signals. All the template rendering in the code issued by the application `app` in the body of the `with` block will now be recorded in the `templates` variable. Whenever a template is rendered, the template object as well as context are appended to it. Additionally there is a convenient helper method (:meth:`~blinker.base.Signal.connected_to`). that allows you to temporarily subscribe a function to a signal with a context manager on its own. Because the return value of the context manager cannot be specified that way one has to pass the list in as argument:: from flask import template_rendered def captured_templates(app, recorded, **extra): def record(sender, template, context): recorded.append((template, context)) return template_rendered.connected_to(record, app) The example above would then look like this:: templates = [] with captured_templates(app, templates, **extra): ... template, context = templates[0] .. admonition:: Blinker API Changes The :meth:`~blinker.base.Signal.connected_to` method arrived in Blinker with version 1.1. Creating Signals ---------------- If you want to use signals in your own application, you can use the blinker library directly. The most common use case are named signals in a custom :class:`~blinker.base.Namespace`.. This is what is recommended most of the time:: from blinker import Namespace my_signals = Namespace() Now you can create new signals like this:: model_saved = my_signals.signal('model-saved') The name for the signal here makes it unique and also simplifies debugging. You can access the name of the signal with the :attr:`~blinker.base.NamedSignal.name` attribute. .. admonition:: For Extension Developers If you are writing a Flask extension and you want to gracefully degrade for missing blinker installations, you can do so by using the :class:`flask.signals.Namespace` class. .. _signals-sending: Sending Signals --------------- If you want to emit a signal, you can do so by calling the :meth:`~blinker.base.Signal.send` method. It accepts a sender as first argument and optionally some keyword arguments that are forwarded to the signal subscribers:: class Model(object): ... def save(self): model_saved.send(self) Try to always pick a good sender. If you have a class that is emitting a signal, pass `self` as sender. If you emitting a signal from a random function, you can pass ``current_app._get_current_object()`` as sender. .. admonition:: Passing Proxies as Senders Never pass :data:`~flask.current_app` as sender to a signal. Use ``current_app._get_current_object()`` instead. The reason for this is that :data:`~flask.current_app` is a proxy and not the real application object. Signals and Flask's Request Context ----------------------------------- Signals fully support :ref:`request-context` when receiving signals. Context-local variables are consistently available between :data:`~flask.request_started` and :data:`~flask.request_finished`, so you can rely on :class:`flask.g` and others as needed. Note the limitations described in :ref:`signals-sending` and the :data:`~flask.request_tearing_down` signal. Decorator Based Signal Subscriptions ------------------------------------ With Blinker 1.1 you can also easily subscribe to signals by using the new :meth:`~blinker.base.NamedSignal.connect_via` decorator:: from flask import template_rendered @template_rendered.connect_via(app) def when_template_rendered(sender, template, context, **extra): print 'Template %s is rendered with %s' % (template.name, context) Core Signals ------------ .. when modifying this list, also update the one in api.rst The following signals exist in Flask: .. data:: flask.template_rendered :noindex: This signal is sent when a template was successfully rendered. The signal is invoked with the instance of the template as `template` and the context as dictionary (named `context`). Example subscriber:: def log_template_renders(sender, template, context, **extra): sender.logger.debug('Rendering template "%s" with context %s', template.name or 'string template', context) from flask import template_rendered template_rendered.connect(log_template_renders, app) .. data:: flask.request_started :noindex: This signal is sent before any request processing started but when the request context was set up. Because the request context is already bound, the subscriber can access the request with the standard global proxies such as :class:`~flask.request`. Example subscriber:: def log_request(sender, **extra): sender.logger.debug('Request context is set up') from flask import request_started request_started.connect(log_request, app) .. data:: flask.request_finished :noindex: This signal is sent right before the response is sent to the client. It is passed the response to be sent named `response`. Example subscriber:: def log_response(sender, response, **extra): sender.logger.debug('Request context is about to close down. ' 'Response: %s', response) from flask import request_finished request_finished.connect(log_response, app) .. data:: flask.got_request_exception :noindex: This signal is sent when an exception happens during request processing. It is sent *before* the standard exception handling kicks in and even in debug mode, where no exception handling happens. The exception itself is passed to the subscriber as `exception`. Example subscriber:: def log_exception(sender, exception, **extra): sender.logger.debug('Got exception during processing: %s', exception) from flask import got_request_exception got_request_exception.connect(log_exception, app) .. data:: flask.request_tearing_down :noindex: This signal is sent when the request is tearing down. This is always called, even if an exception is caused. Currently functions listening to this signal are called after the regular teardown handlers, but this is not something you can rely on. Example subscriber:: def close_db_connection(sender, **extra): session.close() from flask import request_tearing_down request_tearing_down.connect(close_db_connection, app) As of Flask 0.9, this will also be passed an `exc` keyword argument that has a reference to the exception that caused the teardown if there was one. .. data:: flask.appcontext_tearing_down :noindex: This signal is sent when the app context is tearing down. This is always called, even if an exception is caused. Currently functions listening to this signal are called after the regular teardown handlers, but this is not something you can rely on. Example subscriber:: def close_db_connection(sender, **extra): session.close() from flask import appcontext_tearing_down appcontext_tearing_down.connect(close_db_connection, app) This will also be passed an `exc` keyword argument that has a reference to the exception that caused the teardown if there was one. .. data:: flask.appcontext_pushed :noindex: This signal is sent when an application context is pushed. The sender is the application. This is usually useful for unittests in order to temporarily hook in information. For instance it can be used to set a resource early onto the `g` object. Example usage:: from contextlib import contextmanager from flask import appcontext_pushed @contextmanager def user_set(app, user): def handler(sender, **kwargs): g.user = user with appcontext_pushed.connected_to(handler, app): yield And in the testcode:: def test_user_me(self): with user_set(app, 'john'): c = app.test_client() resp = c.get('/users/me') assert resp.data == 'username=john' .. versionadded:: 0.10 .. data:: appcontext_popped This signal is sent when an application context is popped. The sender is the application. This usually falls in line with the :data:`appcontext_tearing_down` signal. .. versionadded:: 0.10 .. data:: flask.message_flashed :noindex: This signal is sent when the application is flashing a message. The messages is sent as `message` keyword argument and the category as `category`. Example subscriber:: recorded = [] def record(sender, message, category, **extra): recorded.append((message, category)) from flask import message_flashed message_flashed.connect(record, app) .. versionadded:: 0.10 .. _blinker: http://pypi.python.org/pypi/blinker Flask-0.10.1/docs/styleguide.rst0000644000076700000240000001340512156311351017633 0ustar mitsuhikostaff00000000000000Pocoo Styleguide ================ The Pocoo styleguide is the styleguide for all Pocoo Projects, including Flask. This styleguide is a requirement for Patches to Flask and a recommendation for Flask extensions. In general the Pocoo Styleguide closely follows :pep:`8` with some small differences and extensions. General Layout -------------- Indentation: 4 real spaces. No tabs, no exceptions. Maximum line length: 79 characters with a soft limit for 84 if absolutely necessary. Try to avoid too nested code by cleverly placing `break`, `continue` and `return` statements. Continuing long statements: To continue a statement you can use backslashes in which case you should align the next line with the last dot or equal sign, or indent four spaces:: this_is_a_very_long(function_call, 'with many parameters') \ .that_returns_an_object_with_an_attribute MyModel.query.filter(MyModel.scalar > 120) \ .order_by(MyModel.name.desc()) \ .limit(10) If you break in a statement with parentheses or braces, align to the braces:: this_is_a_very_long(function_call, 'with many parameters', 23, 42, 'and even more') For lists or tuples with many items, break immediately after the opening brace:: items = [ 'this is the first', 'set of items', 'with more items', 'to come in this line', 'like this' ] Blank lines: Top level functions and classes are separated by two lines, everything else by one. Do not use too many blank lines to separate logical segments in code. Example:: def hello(name): print 'Hello %s!' % name def goodbye(name): print 'See you %s.' % name class MyClass(object): """This is a simple docstring""" def __init__(self, name): self.name = name def get_annoying_name(self): return self.name.upper() + '!!!!111' Expressions and Statements -------------------------- General whitespace rules: - No whitespace for unary operators that are not words (e.g.: ``-``, ``~`` etc.) as well on the inner side of parentheses. - Whitespace is placed between binary operators. Good:: exp = -1.05 value = (item_value / item_count) * offset / exp value = my_list[index] value = my_dict['key'] Bad:: exp = - 1.05 value = ( item_value / item_count ) * offset / exp value = (item_value/item_count)*offset/exp value=( item_value/item_count ) * offset/exp value = my_list[ index ] value = my_dict ['key'] Yoda statements are a no-go: Never compare constant with variable, always variable with constant: Good:: if method == 'md5': pass Bad:: if 'md5' == method: pass Comparisons: - against arbitrary types: ``==`` and ``!=`` - against singletons with ``is`` and ``is not`` (eg: ``foo is not None``) - never compare something with `True` or `False` (for example never do ``foo == False``, do ``not foo`` instead) Negated containment checks: use ``foo not in bar`` instead of ``not foo in bar`` Instance checks: ``isinstance(a, C)`` instead of ``type(A) is C``, but try to avoid instance checks in general. Check for features. Naming Conventions ------------------ - Class names: ``CamelCase``, with acronyms kept uppercase (``HTTPWriter`` and not ``HttpWriter``) - Variable names: ``lowercase_with_underscores`` - Method and function names: ``lowercase_with_underscores`` - Constants: ``UPPERCASE_WITH_UNDERSCORES`` - precompiled regular expressions: ``name_re`` Protected members are prefixed with a single underscore. Double underscores are reserved for mixin classes. On classes with keywords, trailing underscores are appended. Clashes with builtins are allowed and **must not** be resolved by appending an underline to the variable name. If the function needs to access a shadowed builtin, rebind the builtin to a different name instead. Function and method arguments: - class methods: ``cls`` as first parameter - instance methods: ``self`` as first parameter - lambdas for properties might have the first parameter replaced with ``x`` like in ``display_name = property(lambda x: x.real_name or x.username)`` Docstrings ---------- Docstring conventions: All docstrings are formatted with reStructuredText as understood by Sphinx. Depending on the number of lines in the docstring, they are laid out differently. If it's just one line, the closing triple quote is on the same line as the opening, otherwise the text is on the same line as the opening quote and the triple quote that closes the string on its own line:: def foo(): """This is a simple docstring""" def bar(): """This is a longer docstring with so much information in there that it spans three lines. In this case the closing triple quote is on its own line. """ Module header: The module header consists of an utf-8 encoding declaration (if non ASCII letters are used, but it is recommended all the time) and a standard docstring:: # -*- coding: utf-8 -*- """ package.module ~~~~~~~~~~~~~~ A brief description goes here. :copyright: (c) YEAR by AUTHOR. :license: LICENSE_NAME, see LICENSE_FILE for more details. """ Please keep in mind that proper copyrights and license files are a requirement for approved Flask extensions. Comments -------- Rules for comments are similar to docstrings. Both are formatted with reStructuredText. If a comment is used to document an attribute, put a colon after the opening pound sign (``#``):: class User(object): #: the name of the user as unicode string name = Column(String) #: the sha1 hash of the password + inline salt pw_hash = Column(String) Flask-0.10.1/docs/templating.rst0000644000076700000240000001635112156444477017644 0ustar mitsuhikostaff00000000000000Templates ========= Flask leverages Jinja2 as template engine. You are obviously free to use a different template engine, but you still have to install Jinja2 to run Flask itself. This requirement is necessary to enable rich extensions. An extension can depend on Jinja2 being present. This section only gives a very quick introduction into how Jinja2 is integrated into Flask. If you want information on the template engine's syntax itself, head over to the official `Jinja2 Template Documentation `_ for more information. Jinja Setup ----------- Unless customized, Jinja2 is configured by Flask as follows: - autoescaping is enabled for all templates ending in ``.html``, ``.htm``, ``.xml`` as well as ``.xhtml`` - a template has the ability to opt in/out autoescaping with the ``{% autoescape %}`` tag. - Flask inserts a couple of global functions and helpers into the Jinja2 context, additionally to the values that are present by default. Standard Context ---------------- The following global variables are available within Jinja2 templates by default: .. data:: config :noindex: The current configuration object (:data:`flask.config`) .. versionadded:: 0.6 .. versionchanged:: 0.10 This is now always available, even in imported templates. .. data:: request :noindex: The current request object (:class:`flask.request`). This variable is unavailable if the template was rendered without an active request context. .. data:: session :noindex: The current session object (:class:`flask.session`). This variable is unavailable if the template was rendered without an active request context. .. data:: g :noindex: The request-bound object for global variables (:data:`flask.g`). This variable is unavailable if the template was rendered without an active request context. .. function:: url_for :noindex: The :func:`flask.url_for` function. .. function:: get_flashed_messages :noindex: The :func:`flask.get_flashed_messages` function. .. admonition:: The Jinja Context Behavior These variables are added to the context of variables, they are not global variables. The difference is that by default these will not show up in the context of imported templates. This is partially caused by performance considerations, partially to keep things explicit. What does this mean for you? If you have a macro you want to import, that needs to access the request object you have two possibilities: 1. you explicitly pass the request to the macro as parameter, or the attribute of the request object you are interested in. 2. you import the macro "with context". Importing with context looks like this: .. sourcecode:: jinja {% from '_helpers.html' import my_macro with context %} Standard Filters ---------------- These filters are available in Jinja2 additionally to the filters provided by Jinja2 itself: .. function:: tojson :noindex: This function converts the given object into JSON representation. This is for example very helpful if you try to generate JavaScript on the fly. Note that inside `script` tags no escaping must take place, so make sure to disable escaping with ``|safe`` before Flask 0.10 if you intend to use it inside `script` tags: .. sourcecode:: html+jinja Controlling Autoescaping ------------------------ Autoescaping is the concept of automatically escaping special characters of you. Special characters in the sense of HTML (or XML, and thus XHTML) are ``&``, ``>``, ``<``, ``"`` as well as ``'``. Because these characters carry specific meanings in documents on their own you have to replace them by so called "entities" if you want to use them for text. Not doing so would not only cause user frustration by the inability to use these characters in text, but can also lead to security problems. (see :ref:`xss`) Sometimes however you will need to disable autoescaping in templates. This can be the case if you want to explicitly inject HTML into pages, for example if they come from a system that generate secure HTML like a markdown to HTML converter. There are three ways to accomplish that: - In the Python code, wrap the HTML string in a :class:`~flask.Markup` object before passing it to the template. This is in general the recommended way. - Inside the template, use the ``|safe`` filter to explicitly mark a string as safe HTML (``{{ myvariable|safe }}``) - Temporarily disable the autoescape system altogether. To disable the autoescape system in templates, you can use the ``{% autoescape %}`` block: .. sourcecode:: html+jinja {% autoescape false %}

autoescaping is disabled here

{{ will_not_be_escaped }} {% endautoescape %} Whenever you do this, please be very cautious about the variables you are using in this block. .. _registering-filters: Registering Filters ------------------- If you want to register your own filters in Jinja2 you have two ways to do that. You can either put them by hand into the :attr:`~flask.Flask.jinja_env` of the application or use the :meth:`~flask.Flask.template_filter` decorator. The two following examples work the same and both reverse an object:: @app.template_filter('reverse') def reverse_filter(s): return s[::-1] def reverse_filter(s): return s[::-1] app.jinja_env.filters['reverse'] = reverse_filter In case of the decorator the argument is optional if you want to use the function name as name of the filter. Once registered, you can use the filter in your templates in the same way as Jinja2's builtin filters, for example if you have a Python list in context called `mylist`:: {% for x in mylist | reverse %} {% endfor %} Context Processors ------------------ To inject new variables automatically into the context of a template, context processors exist in Flask. Context processors run before the template is rendered and have the ability to inject new values into the template context. A context processor is a function that returns a dictionary. The keys and values of this dictionary are then merged with the template context, for all templates in the app:: @app.context_processor def inject_user(): return dict(user=g.user) The context processor above makes a variable called `user` available in the template with the value of `g.user`. This example is not very interesting because `g` is available in templates anyways, but it gives an idea how this works. Variables are not limited to values; a context processor can also make functions available to templates (since Python allows passing around functions):: @app.context_processor def utility_processor(): def format_price(amount, currency=u'€'): return u'{0:.2f}{1}'.format(amount, currency) return dict(format_price=format_price) The context processor above makes the `format_price` function available to all templates:: {{ format_price(0.33) }} You could also build `format_price` as a template filter (see :ref:`registering-filters`), but this demonstrates how to pass functions in a context processor. Flask-0.10.1/docs/testing.rst0000644000076700000240000003036012156444477017151 0ustar mitsuhikostaff00000000000000.. _testing: Testing Flask Applications ========================== **Something that is untested is broken.** The origin of this quote is unknown and while it is not entirely correct, it is also not far from the truth. Untested applications make it hard to improve existing code and developers of untested applications tend to become pretty paranoid. If an application has automated tests, you can safely make changes and instantly know if anything breaks. Flask provides a way to test your application by exposing the Werkzeug test :class:`~werkzeug.test.Client` and handling the context locals for you. You can then use that with your favourite testing solution. In this documentation we will use the :mod:`unittest` package that comes pre-installed with Python. The Application --------------- First, we need an application to test; we will use the application from the :ref:`tutorial`. If you don't have that application yet, get the sources from `the examples`_. .. _the examples: http://github.com/mitsuhiko/flask/tree/master/examples/flaskr/ The Testing Skeleton -------------------- In order to test the application, we add a second module (`flaskr_tests.py`) and create a unittest skeleton there:: import os import flaskr import unittest import tempfile class FlaskrTestCase(unittest.TestCase): def setUp(self): self.db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp() flaskr.app.config['TESTING'] = True self.app = flaskr.app.test_client() flaskr.init_db() def tearDown(self): os.close(self.db_fd) os.unlink(flaskr.app.config['DATABASE']) if __name__ == '__main__': unittest.main() The code in the :meth:`~unittest.TestCase.setUp` method creates a new test client and initializes a new database. This function is called before each individual test function is run. To delete the database after the test, we close the file and remove it from the filesystem in the :meth:`~unittest.TestCase.tearDown` method. Additionally during setup the ``TESTING`` config flag is activated. What it does is disabling the error catching during request handling so that you get better error reports when performing test requests against the application. This test client will give us a simple interface to the application. We can trigger test requests to the application, and the client will also keep track of cookies for us. Because SQLite3 is filesystem-based we can easily use the tempfile module to create a temporary database and initialize it. The :func:`~tempfile.mkstemp` function does two things for us: it returns a low-level file handle and a random file name, the latter we use as database name. We just have to keep the `db_fd` around so that we can use the :func:`os.close` function to close the file. If we now run the test suite, we should see the following output:: $ python flaskr_tests.py ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK Even though it did not run any actual tests, we already know that our flaskr application is syntactically valid, otherwise the import would have died with an exception. The First Test -------------- Now it's time to start testing the functionality of the application. Let's check that the application shows "No entries here so far" if we access the root of the application (``/``). To do this, we add a new test method to our class, like this:: class FlaskrTestCase(unittest.TestCase): def setUp(self): self.db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp() self.app = flaskr.app.test_client() flaskr.init_db() def tearDown(self): os.close(self.db_fd) os.unlink(flaskr.app.config['DATABASE']) def test_empty_db(self): rv = self.app.get('/') assert 'No entries here so far' in rv.data Notice that our test functions begin with the word `test`; this allows :mod:`unittest` to automatically identify the method as a test to run. By using `self.app.get` we can send an HTTP `GET` request to the application with the given path. The return value will be a :class:`~flask.Flask.response_class` object. We can now use the :attr:`~werkzeug.wrappers.BaseResponse.data` attribute to inspect the return value (as string) from the application. In this case, we ensure that ``'No entries here so far'`` is part of the output. Run it again and you should see one passing test:: $ python flaskr_tests.py . ---------------------------------------------------------------------- Ran 1 test in 0.034s OK Logging In and Out ------------------ The majority of the functionality of our application is only available for the administrative user, so we need a way to log our test client in and out of the application. To do this, we fire some requests to the login and logout pages with the required form data (username and password). And because the login and logout pages redirect, we tell the client to `follow_redirects`. Add the following two methods to your `FlaskrTestCase` class:: def login(self, username, password): return self.app.post('/login', data=dict( username=username, password=password ), follow_redirects=True) def logout(self): return self.app.get('/logout', follow_redirects=True) Now we can easily test that logging in and out works and that it fails with invalid credentials. Add this new test to the class:: def test_login_logout(self): rv = self.login('admin', 'default') assert 'You were logged in' in rv.data rv = self.logout() assert 'You were logged out' in rv.data rv = self.login('adminx', 'default') assert 'Invalid username' in rv.data rv = self.login('admin', 'defaultx') assert 'Invalid password' in rv.data Test Adding Messages -------------------- We should also test that adding messages works. Add a new test method like this:: def test_messages(self): self.login('admin', 'default') rv = self.app.post('/add', data=dict( title='', text='HTML allowed here' ), follow_redirects=True) assert 'No entries here so far' not in rv.data assert '<Hello>' in rv.data assert 'HTML allowed here' in rv.data Here we check that HTML is allowed in the text but not in the title, which is the intended behavior. Running that should now give us three passing tests:: $ python flaskr_tests.py ... ---------------------------------------------------------------------- Ran 3 tests in 0.332s OK For more complex tests with headers and status codes, check out the `MiniTwit Example`_ from the sources which contains a larger test suite. .. _MiniTwit Example: http://github.com/mitsuhiko/flask/tree/master/examples/minitwit/ Other Testing Tricks -------------------- Besides using the test client as shown above, there is also the :meth:`~flask.Flask.test_request_context` method that can be used in combination with the `with` statement to activate a request context temporarily. With this you can access the :class:`~flask.request`, :class:`~flask.g` and :class:`~flask.session` objects like in view functions. Here is a full example that demonstrates this approach:: app = flask.Flask(__name__) with app.test_request_context('/?name=Peter'): assert flask.request.path == '/' assert flask.request.args['name'] == 'Peter' All the other objects that are context bound can be used in the same way. If you want to test your application with different configurations and there does not seem to be a good way to do that, consider switching to application factories (see :ref:`app-factories`). Note however that if you are using a test request context, the :meth:`~flask.Flask.before_request` functions are not automatically called same for :meth:`~flask.Flask.after_request` functions. However :meth:`~flask.Flask.teardown_request` functions are indeed executed when the test request context leaves the `with` block. If you do want the :meth:`~flask.Flask.before_request` functions to be called as well, you need to call :meth:`~flask.Flask.preprocess_request` yourself:: app = flask.Flask(__name__) with app.test_request_context('/?name=Peter'): app.preprocess_request() ... This can be necessary to open database connections or something similar depending on how your application was designed. If you want to call the :meth:`~flask.Flask.after_request` functions you need to call into :meth:`~flask.Flask.process_response` which however requires that you pass it a response object:: app = flask.Flask(__name__) with app.test_request_context('/?name=Peter'): resp = Response('...') resp = app.process_response(resp) ... This in general is less useful because at that point you can directly start using the test client. .. _faking-resources: Faking Resources and Context ---------------------------- .. versionadded:: 0.10 A very common pattern is to store user authorization information and database connections on the application context or the :attr:`flask.g` object. The general pattern for this is to put the object on there on first usage and then to remove it on a teardown. Imagine for instance this code to get the current user:: def get_user(): user = getattr(g, 'user', None) if user is None: user = fetch_current_user_from_database() g.user = user return user For a test it would be nice to override this user from the outside without having to change some code. This can trivially be accomplished with hooking the :data:`flask.appcontext_pushed` signal:: from contextlib import contextmanager from flask import appcontext_pushed @contextmanager def user_set(app, user): def handler(sender, **kwargs): g.user = user with appcontext_pushed.connected_to(handler, app): yield And then to use it:: from flask import json, jsonify @app.route('/users/me') def users_me(): return jsonify(username=g.user.username) with user_set(app, my_user): with app.test_client() as c: resp = c.get('/users/me') data = json.loads(resp.data) self.assert_equal(data['username'], my_user.username) Keeping the Context Around -------------------------- .. versionadded:: 0.4 Sometimes it is helpful to trigger a regular request but still keep the context around for a little longer so that additional introspection can happen. With Flask 0.4 this is possible by using the :meth:`~flask.Flask.test_client` with a `with` block:: app = flask.Flask(__name__) with app.test_client() as c: rv = c.get('/?tequila=42') assert request.args['tequila'] == '42' If you were to use just the :meth:`~flask.Flask.test_client` without the `with` block, the `assert` would fail with an error because `request` is no longer available (because you are trying to use it outside of the actual request). Accessing and Modifying Sessions -------------------------------- .. versionadded:: 0.8 Sometimes it can be very helpful to access or modify the sessions from the test client. Generally there are two ways for this. If you just want to ensure that a session has certain keys set to certain values you can just keep the context around and access :data:`flask.session`:: with app.test_client() as c: rv = c.get('/') assert flask.session['foo'] == 42 This however does not make it possible to also modify the session or to access the session before a request was fired. Starting with Flask 0.8 we provide a so called “session transaction†which simulates the appropriate calls to open a session in the context of the test client and to modify it. At the end of the transaction the session is stored. This works independently of the session backend used:: with app.test_client() as c: with c.session_transaction() as sess: sess['a_key'] = 'a value' # once this is reached the session was stored Note that in this case you have to use the ``sess`` object instead of the :data:`flask.session` proxy. The object however itself will provide the same interface. Flask-0.10.1/docs/tutorial/0000755000076700000240000000000012156555065016577 5ustar mitsuhikostaff00000000000000Flask-0.10.1/docs/tutorial/css.rst0000644000076700000240000000237612156444477020135 0ustar mitsuhikostaff00000000000000.. _tutorial-css: Step 7: Adding Style ==================== Now that everything else works, it's time to add some style to the application. Just create a stylesheet called `style.css` in the `static` folder we created before: .. sourcecode:: css body { font-family: sans-serif; background: #eee; } a, h1, h2 { color: #377ba8; } h1, h2 { font-family: 'Georgia', serif; margin: 0; } h1 { border-bottom: 2px solid #eee; } h2 { font-size: 1.2em; } .page { margin: 2em auto; width: 35em; border: 5px solid #ccc; padding: 0.8em; background: white; } .entries { list-style: none; margin: 0; padding: 0; } .entries li { margin: 0.8em 1.2em; } .entries li h2 { margin-left: -1em; } .add-entry { font-size: 0.9em; border-bottom: 1px solid #ccc; } .add-entry dl { font-weight: bold; } .metanav { text-align: right; font-size: 0.8em; padding: 0.3em; margin-bottom: 1em; background: #fafafa; } .flash { background: #cee5F5; padding: 0.5em; border: 1px solid #aacbe2; } .error { background: #f0d6d6; padding: 0.5em; } Continue with :ref:`tutorial-testing`. Flask-0.10.1/docs/tutorial/dbcon.rst0000644000076700000240000000537512156444477020434 0ustar mitsuhikostaff00000000000000.. _tutorial-dbcon: Step 4: Request Database Connections ------------------------------------ Now we know how we can open database connections and use them for scripts, but how can we elegantly do that for requests? We will need the database connection in all our functions so it makes sense to initialize them before each request and shut them down afterwards. Flask allows us to do that with the :meth:`~flask.Flask.before_request`, :meth:`~flask.Flask.after_request` and :meth:`~flask.Flask.teardown_request` decorators:: @app.before_request def before_request(): g.db = connect_db() @app.teardown_request def teardown_request(exception): db = getattr(g, 'db', None) if db is not None: db.close() Functions marked with :meth:`~flask.Flask.before_request` are called before a request and passed no arguments. Functions marked with :meth:`~flask.Flask.after_request` are called after a request and passed the response that will be sent to the client. They have to return that response object or a different one. They are however not guaranteed to be executed if an exception is raised, this is where functions marked with :meth:`~flask.Flask.teardown_request` come in. They get called after the response has been constructed. They are not allowed to modify the request, and their return values are ignored. If an exception occurred while the request was being processed, it is passed to each function; otherwise, `None` is passed in. We store our current database connection on the special :data:`~flask.g` object that Flask provides for us. This object stores information for one request only and is available from within each function. Never store such things on other objects because this would not work with threaded environments. That special :data:`~flask.g` object does some magic behind the scenes to ensure it does the right thing. For an even better way to handle such resources see the :ref:`sqlite3` documentation. Continue to :ref:`tutorial-views`. .. hint:: Where do I put this code? If you've been following along in this tutorial, you might be wondering where to put the code from this step and the next. A logical place is to group these module-level functions together, and put your new ``before_request`` and ``teardown_request`` functions below your existing ``init_db`` function (following the tutorial line-by-line). If you need a moment to find your bearings, take a look at how the `example source`_ is organized. In Flask, you can put all of your application code into a single Python module. You don't have to, and if your app :ref:`grows larger `, it's a good idea not to. .. _example source: http://github.com/mitsuhiko/flask/tree/master/examples/flaskr/ Flask-0.10.1/docs/tutorial/dbinit.rst0000644000076700000240000000520312156444477020606 0ustar mitsuhikostaff00000000000000.. _tutorial-dbinit: Step 3: Creating The Database ============================= Flaskr is a database powered application as outlined earlier, and more precisely, an application powered by a relational database system. Such systems need a schema that tells them how to store that information. So before starting the server for the first time it's important to create that schema. Such a schema can be created by piping the `schema.sql` file into the `sqlite3` command as follows:: sqlite3 /tmp/flaskr.db < schema.sql The downside of this is that it requires the sqlite3 command to be installed which is not necessarily the case on every system. Also one has to provide the path to the database there which leaves some place for errors. It's a good idea to add a function that initializes the database for you to the application. If you want to do that, you first have to import the :func:`contextlib.closing` function from the contextlib package. Accordingly, add the following lines to your existing imports in `flaskr.py`:: from contextlib import closing Next we can create a function called `init_db` that initializes the database. For this we can use the `connect_db` function we defined earlier. Just add that function below the `connect_db` function in `flaskr.py`:: def init_db(): with closing(connect_db()) as db: with app.open_resource('schema.sql', mode='r') as f: db.cursor().executescript(f.read()) db.commit() The :func:`~contextlib.closing` helper function allows us to keep a connection open for the duration of the `with` block. The :func:`~flask.Flask.open_resource` method of the application object supports that functionality out of the box, so it can be used in the `with` block directly. This function opens a file from the resource location (your `flaskr` folder) and allows you to read from it. We are using this here to execute a script on the database connection. When we connect to a database we get a connection object (here called `db`) that can give us a cursor. On that cursor there is a method to execute a complete script. Finally we only have to commit the changes. SQLite 3 and other transactional databases will not commit unless you explicitly tell it to. Now it is possible to create a database by starting up a Python shell and importing and calling that function:: >>> from flaskr import init_db >>> init_db() .. admonition:: Troubleshooting If you get an exception later that a table cannot be found check that you did call the `init_db` function and that your table names are correct (singular vs. plural for example). Continue with :ref:`tutorial-dbcon` Flask-0.10.1/docs/tutorial/folders.rst0000644000076700000240000000141312156311351020752 0ustar mitsuhikostaff00000000000000.. _tutorial-folders: Step 0: Creating The Folders ============================ Before we get started, let's create the folders needed for this application:: /flaskr /static /templates The `flaskr` folder is not a python package, but just something where we drop our files. Directly into this folder we will then put our database schema as well as main module in the following steps. The files inside the `static` folder are available to users of the application via `HTTP`. This is the place where css and javascript files go. Inside the `templates` folder Flask will look for `Jinja2`_ templates. The templates you create later in the tutorial will go in this directory. Continue with :ref:`tutorial-schema`. .. _Jinja2: http://jinja.pocoo.org/2/ Flask-0.10.1/docs/tutorial/index.rst0000644000076700000240000000144012156311351020423 0ustar mitsuhikostaff00000000000000.. _tutorial: Tutorial ======== You want to develop an application with Python and Flask? Here you have the chance to learn that by example. In this tutorial we will create a simple microblog application. It only supports one user that can create text-only entries and there are no feeds or comments, but it still features everything you need to get started. We will use Flask and SQLite as database which comes out of the box with Python, so there is nothing else you need. If you want the full sourcecode in advance or for comparison, check out the `example source`_. .. _example source: http://github.com/mitsuhiko/flask/tree/master/examples/flaskr/ .. toctree:: :maxdepth: 2 introduction folders schema setup dbinit dbcon views templates css testing Flask-0.10.1/docs/tutorial/introduction.rst0000644000076700000240000000246212156444477022062 0ustar mitsuhikostaff00000000000000.. _tutorial-introduction: Introducing Flaskr ================== We will call our blogging application flaskr here, feel free to choose a less web-2.0-ish name ;) Basically we want it to do the following things: 1. let the user sign in and out with credentials specified in the configuration. Only one user is supported. 2. when the user is logged in they can add new entries to the page consisting of a text-only title and some HTML for the text. This HTML is not sanitized because we trust the user here. 3. the page shows all entries so far in reverse order (newest on top) and the user can add new ones from there if logged in. We will be using SQLite3 directly for that application because it's good enough for an application of that size. For larger applications however it makes a lot of sense to use `SQLAlchemy`_ that handles database connections in a more intelligent way, allows you to target different relational databases at once and more. You might also want to consider one of the popular NoSQL databases if your data is more suited for those. Here a screenshot from the final application: .. image:: ../_static/flaskr.png :align: center :class: screenshot :alt: screenshot of the final application Continue with :ref:`tutorial-folders`. .. _SQLAlchemy: http://www.sqlalchemy.org/ Flask-0.10.1/docs/tutorial/schema.rst0000644000076700000240000000142712156444477020601 0ustar mitsuhikostaff00000000000000.. _tutorial-schema: Step 1: Database Schema ======================= First we want to create the database schema. For this application only a single table is needed and we only want to support SQLite so that is quite easy. Just put the following contents into a file named `schema.sql` in the just created `flaskr` folder: .. sourcecode:: sql drop table if exists entries; create table entries ( id integer primary key autoincrement, title text not null, text text not null ); This schema consists of a single table called `entries` and each row in this table has an `id`, a `title` and a `text`. The `id` is an automatically incrementing integer and a primary key, the other two are strings that must not be null. Continue with :ref:`tutorial-setup`. Flask-0.10.1/docs/tutorial/setup.rst0000644000076700000240000000644512156311351020466 0ustar mitsuhikostaff00000000000000.. _tutorial-setup: Step 2: Application Setup Code ============================== Now that we have the schema in place we can create the application module. Let's call it `flaskr.py` inside the `flaskr` folder. For starters we will add the imports we will need as well as the config section. For small applications it's a possibility to drop the configuration directly into the module which we will be doing here. However a cleaner solution would be to create a separate `.ini` or `.py` file and load that or import the values from there. In `flaskr.py`:: # all the imports import sqlite3 from flask import Flask, request, session, g, redirect, url_for, \ abort, render_template, flash # configuration DATABASE = '/tmp/flaskr.db' DEBUG = True SECRET_KEY = 'development key' USERNAME = 'admin' PASSWORD = 'default' Next we can create our actual application and initialize it with the config from the same file, in `flaskr.py`:: # create our little application :) app = Flask(__name__) app.config.from_object(__name__) :meth:`~flask.Config.from_object` will look at the given object (if it's a string it will import it) and then look for all uppercase variables defined there. In our case, the configuration we just wrote a few lines of code above. You can also move that into a separate file. Usually, it is a good idea to load a configuration from a configurable file. This is what :meth:`~flask.Config.from_envvar` can do, replacing the :meth:`~flask.Config.from_object` line above:: app.config.from_envvar('FLASKR_SETTINGS', silent=True) That way someone can set an environment variable called :envvar:`FLASKR_SETTINGS` to specify a config file to be loaded which will then override the default values. The silent switch just tells Flask to not complain if no such environment key is set. The `secret_key` is needed to keep the client-side sessions secure. Choose that key wisely and as hard to guess and complex as possible. The debug flag enables or disables the interactive debugger. *Never leave debug mode activated in a production system*, because it will allow users to execute code on the server! We also add a method to easily connect to the database specified. That can be used to open a connection on request and also from the interactive Python shell or a script. This will come in handy later. :: def connect_db(): return sqlite3.connect(app.config['DATABASE']) Finally we just add a line to the bottom of the file that fires up the server if we want to run that file as a standalone application:: if __name__ == '__main__': app.run() With that out of the way you should be able to start up the application without problems. Do this with the following command:: python flaskr.py You will see a message telling you that server has started along with the address at which you can access it. When you head over to the server in your browser you will get an 404 page not found error because we don't have any views yet. But we will focus on that a little later. First we should get the database working. .. admonition:: Externally Visible Server Want your server to be publicly available? Check out the :ref:`externally visible server ` section for more information. Continue with :ref:`tutorial-dbinit`. Flask-0.10.1/docs/tutorial/templates.rst0000644000076700000240000000712212156311351021315 0ustar mitsuhikostaff00000000000000.. _tutorial-templates: Step 6: The Templates ===================== Now we should start working on the templates. If we request the URLs now we would only get an exception that Flask cannot find the templates. The templates are using `Jinja2`_ syntax and have autoescaping enabled by default. This means that unless you mark a value in the code with :class:`~flask.Markup` or with the ``|safe`` filter in the template, Jinja2 will ensure that special characters such as ``<`` or ``>`` are escaped with their XML equivalents. We are also using template inheritance which makes it possible to reuse the layout of the website in all pages. Put the following templates into the `templates` folder: .. _Jinja2: http://jinja.pocoo.org/2/documentation/templates layout.html ----------- This template contains the HTML skeleton, the header and a link to log in (or log out if the user was already logged in). It also displays the flashed messages if there are any. The ``{% block body %}`` block can be replaced by a block of the same name (``body``) in a child template. The :class:`~flask.session` dict is available in the template as well and you can use that to check if the user is logged in or not. Note that in Jinja you can access missing attributes and items of objects / dicts which makes the following code work, even if there is no ``'logged_in'`` key in the session: .. sourcecode:: html+jinja Flaskr

Flaskr

{% if not session.logged_in %} log in {% else %} log out {% endif %}
{% for message in get_flashed_messages() %}
{{ message }}
{% endfor %} {% block body %}{% endblock %}
show_entries.html ----------------- This template extends the `layout.html` template from above to display the messages. Note that the `for` loop iterates over the messages we passed in with the :func:`~flask.render_template` function. We also tell the form to submit to your `add_entry` function and use `POST` as `HTTP` method: .. sourcecode:: html+jinja {% extends "layout.html" %} {% block body %} {% if session.logged_in %}
Title:
Text:
{% endif %}
    {% for entry in entries %}
  • {{ entry.title }}

    {{ entry.text|safe }} {% else %}
  • Unbelievable. No entries here so far {% endfor %}
{% endblock %} login.html ---------- Finally the login template which basically just displays a form to allow the user to login: .. sourcecode:: html+jinja {% extends "layout.html" %} {% block body %}

Login

{% if error %}

Error: {{ error }}{% endif %}

Username:
Password:
{% endblock %} Continue with :ref:`tutorial-css`. Flask-0.10.1/docs/tutorial/testing.rst0000644000076700000240000000070012156311351020767 0ustar mitsuhikostaff00000000000000.. _tutorial-testing: Bonus: Testing the Application ============================== Now that you have finished the application and everything works as expected, it's probably not a bad idea to add automated tests to simplify modifications in the future. The application above is used as a basic example of how to perform unittesting in the :ref:`testing` section of the documentation. Go there to see how easy it is to test Flask applications. Flask-0.10.1/docs/tutorial/views.rst0000644000076700000240000000754512156311351020465 0ustar mitsuhikostaff00000000000000.. _tutorial-views: Step 5: The View Functions ========================== Now that the database connections are working we can start writing the view functions. We will need four of them: Show Entries ------------ This view shows all the entries stored in the database. It listens on the root of the application and will select title and text from the database. The one with the highest id (the newest entry) will be on top. The rows returned from the cursor are tuples with the columns ordered like specified in the select statement. This is good enough for small applications like here, but you might want to convert them into a dict. If you are interested in how to do that, check out the :ref:`easy-querying` example. The view function will pass the entries as dicts to the `show_entries.html` template and return the rendered one:: @app.route('/') def show_entries(): cur = g.db.execute('select title, text from entries order by id desc') entries = [dict(title=row[0], text=row[1]) for row in cur.fetchall()] return render_template('show_entries.html', entries=entries) Add New Entry ------------- This view lets the user add new entries if they are logged in. This only responds to `POST` requests, the actual form is shown on the `show_entries` page. If everything worked out well we will :func:`~flask.flash` an information message to the next request and redirect back to the `show_entries` page:: @app.route('/add', methods=['POST']) def add_entry(): if not session.get('logged_in'): abort(401) g.db.execute('insert into entries (title, text) values (?, ?)', [request.form['title'], request.form['text']]) g.db.commit() flash('New entry was successfully posted') return redirect(url_for('show_entries')) Note that we check that the user is logged in here (the `logged_in` key is present in the session and `True`). .. admonition:: Security Note Be sure to use question marks when building SQL statements, as done in the example above. Otherwise, your app will be vulnerable to SQL injection when you use string formatting to build SQL statements. See :ref:`sqlite3` for more. Login and Logout ---------------- These functions are used to sign the user in and out. Login checks the username and password against the ones from the configuration and sets the `logged_in` key in the session. If the user logged in successfully, that key is set to `True`, and the user is redirected back to the `show_entries` page. In addition, a message is flashed that informs the user that he or she was logged in successfully. If an error occurred, the template is notified about that, and the user is asked again:: @app.route('/login', methods=['GET', 'POST']) def login(): error = None if request.method == 'POST': if request.form['username'] != app.config['USERNAME']: error = 'Invalid username' elif request.form['password'] != app.config['PASSWORD']: error = 'Invalid password' else: session['logged_in'] = True flash('You were logged in') return redirect(url_for('show_entries')) return render_template('login.html', error=error) The logout function, on the other hand, removes that key from the session again. We use a neat trick here: if you use the :meth:`~dict.pop` method of the dict and pass a second parameter to it (the default), the method will delete the key from the dictionary if present or do nothing when that key is not in there. This is helpful because now we don't have to check if the user was logged in. :: @app.route('/logout') def logout(): session.pop('logged_in', None) flash('You were logged out') return redirect(url_for('show_entries')) Continue with :ref:`tutorial-templates`. Flask-0.10.1/docs/unicode.rst0000644000076700000240000001101512156311351017076 0ustar mitsuhikostaff00000000000000Unicode in Flask ================ Flask like Jinja2 and Werkzeug is totally Unicode based when it comes to text. Not only these libraries, also the majority of web related Python libraries that deal with text. If you don't know Unicode so far, you should probably read `The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets `_. This part of the documentation just tries to cover the very basics so that you have a pleasant experience with Unicode related things. Automatic Conversion -------------------- Flask has a few assumptions about your application (which you can change of course) that give you basic and painless Unicode support: - the encoding for text on your website is UTF-8 - internally you will always use Unicode exclusively for text except for literal strings with only ASCII character points. - encoding and decoding happens whenever you are talking over a protocol that requires bytes to be transmitted. So what does this mean to you? HTTP is based on bytes. Not only the protocol, also the system used to address documents on servers (so called URIs or URLs). However HTML which is usually transmitted on top of HTTP supports a large variety of character sets and which ones are used, are transmitted in an HTTP header. To not make this too complex Flask just assumes that if you are sending Unicode out you want it to be UTF-8 encoded. Flask will do the encoding and setting of the appropriate headers for you. The same is true if you are talking to databases with the help of SQLAlchemy or a similar ORM system. Some databases have a protocol that already transmits Unicode and if they do not, SQLAlchemy or your other ORM should take care of that. The Golden Rule --------------- So the rule of thumb: if you are not dealing with binary data, work with Unicode. What does working with Unicode in Python 2.x mean? - as long as you are using ASCII charpoints only (basically numbers, some special characters of latin letters without umlauts or anything fancy) you can use regular string literals (``'Hello World'``). - if you need anything else than ASCII in a string you have to mark this string as Unicode string by prefixing it with a lowercase `u`. (like ``u'Hänsel und Gretel'``) - if you are using non-Unicode characters in your Python files you have to tell Python which encoding your file uses. Again, I recommend UTF-8 for this purpose. To tell the interpreter your encoding you can put the ``# -*- coding: utf-8 -*-`` into the first or second line of your Python source file. - Jinja is configured to decode the template files from UTF-8. So make sure to tell your editor to save the file as UTF-8 there as well. Encoding and Decoding Yourself ------------------------------ If you are talking with a filesystem or something that is not really based on Unicode you will have to ensure that you decode properly when working with Unicode interface. So for example if you want to load a file on the filesystem and embed it into a Jinja2 template you will have to decode it from the encoding of that file. Here the old problem that text files do not specify their encoding comes into play. So do yourself a favour and limit yourself to UTF-8 for text files as well. Anyways. To load such a file with Unicode you can use the built-in :meth:`str.decode` method:: def read_file(filename, charset='utf-8'): with open(filename, 'r') as f: return f.read().decode(charset) To go from Unicode into a specific charset such as UTF-8 you can use the :meth:`unicode.encode` method:: def write_file(filename, contents, charset='utf-8'): with open(filename, 'w') as f: f.write(contents.encode(charset)) Configuring Editors ------------------- Most editors save as UTF-8 by default nowadays but in case your editor is not configured to do this you have to change it. Here some common ways to set your editor to store as UTF-8: - Vim: put ``set enc=utf-8`` to your ``.vimrc`` file. - Emacs: either use an encoding cookie or put this into your ``.emacs`` file:: (prefer-coding-system 'utf-8) (setq default-buffer-file-coding-system 'utf-8) - Notepad++: 1. Go to *Settings -> Preferences ...* 2. Select the "New Document/Default Directory" tab 3. Select "UTF-8 without BOM" as encoding It is also recommended to use the Unix newline format, you can select it in the same panel but this is not a requirement. Flask-0.10.1/docs/upgrading.rst0000644000076700000240000003712212156444477017457 0ustar mitsuhikostaff00000000000000Upgrading to Newer Releases =========================== Flask itself is changing like any software is changing over time. Most of the changes are the nice kind, the kind where you don't have to change anything in your code to profit from a new release. However every once in a while there are changes that do require some changes in your code or there are changes that make it possible for you to improve your own code quality by taking advantage of new features in Flask. This section of the documentation enumerates all the changes in Flask from release to release and how you can change your code to have a painless updating experience. If you want to use the `easy_install` command to upgrade your Flask installation, make sure to pass it the ``-U`` parameter:: $ easy_install -U Flask .. _upgrading-to-010: Version 0.10 ------------ The biggest change going from 0.9 to 0.10 is that the cookie serialization format changed from pickle to a specialized JSON format. This change has been done in order to avoid the damage an attacker can do if the secret key is leaked. When you upgrade you will notice two major changes: all sessions that were issued before the upgrade are invalidated and you can only store a limited amount of types in the session. The new sessions are by design much more restricted to only allow JSON with a few small extensions for tuples and strings with HTML markup. In order to not break people's sessions it is possible to continue using the old session system by using the `Flask-OldSessions`_ extension. Flask also started storing the :data:`flask.g` object on the application context instead of the request context. This change should be transparent for you but it means that you now can store things on the ``g`` object when there is no request context yet but an application context. The old ``flask.Flask.request_globals_class`` attribute was renamed to :attr:`flask.Flask.app_ctx_globals_class`. .. _Flask-OldSessions: http://packages.python.org/Flask-OldSessions/ Version 0.9 ----------- The behavior of returning tuples from a function was simplified. If you return a tuple it no longer defines the arguments for the response object you're creating, it's now always a tuple in the form ``(response, status, headers)`` where at least one item has to be provided. If you depend on the old behavior, you can add it easily by subclassing Flask:: class TraditionalFlask(Flask): def make_response(self, rv): if isinstance(rv, tuple): return self.response_class(*rv) return Flask.make_response(self, rv) If you maintain an extension that was using :data:`~flask._request_ctx_stack` before, please consider changing to :data:`~flask._app_ctx_stack` if it makes sense for your extension. For instance, the app context stack makes sense for extensions which connect to databases. Using the app context stack instead of the request stack will make extensions more readily handle use cases outside of requests. Version 0.8 ----------- Flask introduced a new session interface system. We also noticed that there was a naming collision between `flask.session` the module that implements sessions and :data:`flask.session` which is the global session object. With that introduction we moved the implementation details for the session system into a new module called :mod:`flask.sessions`. If you used the previously undocumented session support we urge you to upgrade. If invalid JSON data was submitted Flask will now raise a :exc:`~werkzeug.exceptions.BadRequest` exception instead of letting the default :exc:`ValueError` bubble up. This has the advantage that you no longer have to handle that error to avoid an internal server error showing up for the user. If you were catching this down explicitly in the past as `ValueError` you will need to change this. Due to a bug in the test client Flask 0.7 did not trigger teardown handlers when the test client was used in a with statement. This was since fixed but might require some changes in your testsuites if you relied on this behavior. Version 0.7 ----------- In Flask 0.7 we cleaned up the code base internally a lot and did some backwards incompatible changes that make it easier to implement larger applications with Flask. Because we want to make upgrading as easy as possible we tried to counter the problems arising from these changes by providing a script that can ease the transition. The script scans your whole application and generates an unified diff with changes it assumes are safe to apply. However as this is an automated tool it won't be able to find all use cases and it might miss some. We internally spread a lot of deprecation warnings all over the place to make it easy to find pieces of code that it was unable to upgrade. We strongly recommend that you hand review the generated patchfile and only apply the chunks that look good. If you are using git as version control system for your project we recommend applying the patch with ``path -p1 < patchfile.diff`` and then using the interactive commit feature to only apply the chunks that look good. To apply the upgrade script do the following: 1. Download the script: `flask-07-upgrade.py `_ 2. Run it in the directory of your application:: python flask-07-upgrade.py > patchfile.diff 3. Review the generated patchfile. 4. Apply the patch:: patch -p1 < patchfile.diff 5. If you were using per-module template folders you need to move some templates around. Previously if you had a folder named ``templates`` next to a blueprint named ``admin`` the implicit template path automatically was ``admin/index.html`` for a template file called ``templates/index.html``. This no longer is the case. Now you need to name the template ``templates/admin/index.html``. The tool will not detect this so you will have to do that on your own. Please note that deprecation warnings are disabled by default starting with Python 2.7. In order to see the deprecation warnings that might be emitted you have to enabled them with the :mod:`warnings` module. If you are working with windows and you lack the `patch` command line utility you can get it as part of various Unix runtime environments for windows including cygwin, msysgit or ming32. Also source control systems like svn, hg or git have builtin support for applying unified diffs as generated by the tool. Check the manual of your version control system for more information. Bug in Request Locals ````````````````````` Due to a bug in earlier implementations the request local proxies now raise a :exc:`RuntimeError` instead of an :exc:`AttributeError` when they are unbound. If you caught these exceptions with :exc:`AttributeError` before, you should catch them with :exc:`RuntimeError` now. Additionally the :func:`~flask.send_file` function is now issuing deprecation warnings if you depend on functionality that will be removed in Flask 1.0. Previously it was possible to use etags and mimetypes when file objects were passed. This was unreliable and caused issues for a few setups. If you get a deprecation warning, make sure to update your application to work with either filenames there or disable etag attaching and attach them yourself. Old code:: return send_file(my_file_object) return send_file(my_file_object) New code:: return send_file(my_file_object, add_etags=False) .. _upgrading-to-new-teardown-handling: Upgrading to new Teardown Handling `````````````````````````````````` We streamlined the behavior of the callbacks for request handling. For things that modify the response the :meth:`~flask.Flask.after_request` decorators continue to work as expected, but for things that absolutely must happen at the end of request we introduced the new :meth:`~flask.Flask.teardown_request` decorator. Unfortunately that change also made after-request work differently under error conditions. It's not consistently skipped if exceptions happen whereas previously it might have been called twice to ensure it is executed at the end of the request. If you have database connection code that looks like this:: @app.after_request def after_request(response): g.db.close() return response You are now encouraged to use this instead:: @app.teardown_request def after_request(exception): if hasattr(g, 'db'): g.db.close() On the upside this change greatly improves the internal code flow and makes it easier to customize the dispatching and error handling. This makes it now a lot easier to write unit tests as you can prevent closing down of database connections for a while. You can take advantage of the fact that the teardown callbacks are called when the response context is removed from the stack so a test can query the database after request handling:: with app.test_client() as client: resp = client.get('/') # g.db is still bound if there is such a thing # and here it's gone Manual Error Handler Attaching `````````````````````````````` While it is still possible to attach error handlers to :attr:`Flask.error_handlers` it's discouraged to do so and in fact deprecated. In general we no longer recommend custom error handler attaching via assignments to the underlying dictionary due to the more complex internal handling to support arbitrary exception classes and blueprints. See :meth:`Flask.errorhandler` for more information. The proper upgrade is to change this:: app.error_handlers[403] = handle_error Into this:: app.register_error_handler(403, handle_error) Alternatively you should just attach the function with a decorator:: @app.errorhandler(403) def handle_error(e): ... (Note that :meth:`register_error_handler` is new in Flask 0.7) Blueprint Support ````````````````` Blueprints replace the previous concept of “Modules†in Flask. They provide better semantics for various features and work better with large applications. The update script provided should be able to upgrade your applications automatically, but there might be some cases where it fails to upgrade. What changed? - Blueprints need explicit names. Modules had an automatic name guesssing scheme where the shortname for the module was taken from the last part of the import module. The upgrade script tries to guess that name but it might fail as this information could change at runtime. - Blueprints have an inverse behavior for :meth:`url_for`. Previously ``.foo`` told :meth:`url_for` that it should look for the endpoint `foo` on the application. Now it means “relative to current moduleâ€. The script will inverse all calls to :meth:`url_for` automatically for you. It will do this in a very eager way so you might end up with some unnecessary leading dots in your code if you're not using modules. - Blueprints do not automatically provide static folders. They will also no longer automatically export templates from a folder called `templates` next to their location however but it can be enabled from the constructor. Same with static files: if you want to continue serving static files you need to tell the constructor explicitly the path to the static folder (which can be relative to the blueprint's module path). - Rendering templates was simplified. Now the blueprints can provide template folders which are added to a general template searchpath. This means that you need to add another subfolder with the blueprint's name into that folder if you want ``blueprintname/template.html`` as the template name. If you continue to use the `Module` object which is deprecated, Flask will restore the previous behavior as good as possible. However we strongly recommend upgrading to the new blueprints as they provide a lot of useful improvement such as the ability to attach a blueprint multiple times, blueprint specific error handlers and a lot more. Version 0.6 ----------- Flask 0.6 comes with a backwards incompatible change which affects the order of after-request handlers. Previously they were called in the order of the registration, now they are called in reverse order. This change was made so that Flask behaves more like people expected it to work and how other systems handle request pre- and postprocessing. If you depend on the order of execution of post-request functions, be sure to change the order. Another change that breaks backwards compatibility is that context processors will no longer override values passed directly to the template rendering function. If for example `request` is as variable passed directly to the template, the default context processor will not override it with the current request object. This makes it easier to extend context processors later to inject additional variables without breaking existing template not expecting them. Version 0.5 ----------- Flask 0.5 is the first release that comes as a Python package instead of a single module. There were a couple of internal refactoring so if you depend on undocumented internal details you probably have to adapt the imports. The following changes may be relevant to your application: - autoescaping no longer happens for all templates. Instead it is configured to only happen on files ending with ``.html``, ``.htm``, ``.xml`` and ``.xhtml``. If you have templates with different extensions you should override the :meth:`~flask.Flask.select_jinja_autoescape` method. - Flask no longer supports zipped applications in this release. This functionality might come back in future releases if there is demand for this feature. Removing support for this makes the Flask internal code easier to understand and fixes a couple of small issues that make debugging harder than necessary. - The `create_jinja_loader` function is gone. If you want to customize the Jinja loader now, use the :meth:`~flask.Flask.create_jinja_environment` method instead. Version 0.4 ----------- For application developers there are no changes that require changes in your code. In case you are developing on a Flask extension however, and that extension has a unittest-mode you might want to link the activation of that mode to the new ``TESTING`` flag. Version 0.3 ----------- Flask 0.3 introduces configuration support and logging as well as categories for flashing messages. All these are features that are 100% backwards compatible but you might want to take advantage of them. Configuration Support ````````````````````` The configuration support makes it easier to write any kind of application that requires some sort of configuration. (Which most likely is the case for any application out there). If you previously had code like this:: app.debug = DEBUG app.secret_key = SECRET_KEY You no longer have to do that, instead you can just load a configuration into the config object. How this works is outlined in :ref:`config`. Logging Integration ``````````````````` Flask now configures a logger for you with some basic and useful defaults. If you run your application in production and want to profit from automatic error logging, you might be interested in attaching a proper log handler. Also you can start logging warnings and errors into the logger when appropriately. For more information on that, read :ref:`application-errors`. Categories for Flash Messages ````````````````````````````` Flash messages can now have categories attached. This makes it possible to render errors, warnings or regular messages differently for example. This is an opt-in feature because it requires some rethinking in the code. Read all about that in the :ref:`message-flashing-pattern` pattern. Flask-0.10.1/docs/views.rst0000644000076700000240000002017212156444477016631 0ustar mitsuhikostaff00000000000000.. _views: Pluggable Views =============== .. versionadded:: 0.7 Flask 0.7 introduces pluggable views inspired by the generic views from Django which are based on classes instead of functions. The main intention is that you can replace parts of the implementations and this way have customizable pluggable views. Basic Principle --------------- Consider you have a function that loads a list of objects from the database and renders into a template:: @app.route('/users/') def show_users(page): users = User.query.all() return render_template('users.html', users=users) This is simple and flexible, but if you want to provide this view in a generic fashion that can be adapted to other models and templates as well you might want more flexibility. This is where pluggable class-based views come into place. As the first step to convert this into a class based view you would do this:: from flask.views import View class ShowUsers(View): def dispatch_request(self): users = User.query.all() return render_template('users.html', objects=users) app.add_url_rule('/users/', view_func=ShowUsers.as_view('show_users')) As you can see what you have to do is to create a subclass of :class:`flask.views.View` and implement :meth:`~flask.views.View.dispatch_request`. Then we have to convert that class into an actual view function by using the :meth:`~flask.views.View.as_view` class method. The string you pass to that function is the name of the endpoint that view will then have. But this by itself is not helpful, so let's refactor the code a bit:: from flask.views import View class ListView(View): def get_template_name(self): raise NotImplementedError() def render_template(self, context): return render_template(self.get_template_name(), **context) def dispatch_request(self): context = {'objects': self.get_objects()} return self.render_template(context) class UserView(ListView): def get_template_name(self): return 'users.html' def get_objects(self): return User.query.all() This of course is not that helpful for such a small example, but it's good enough to explain the basic principle. When you have a class-based view the question comes up what `self` points to. The way this works is that whenever the request is dispatched a new instance of the class is created and the :meth:`~flask.views.View.dispatch_request` method is called with the parameters from the URL rule. The class itself is instantiated with the parameters passed to the :meth:`~flask.views.View.as_view` function. For instance you can write a class like this:: class RenderTemplateView(View): def __init__(self, template_name): self.template_name = template_name def dispatch_request(self): return render_template(self.template_name) And then you can register it like this:: app.add_url_rule('/about', view_func=RenderTemplateView.as_view( 'about_page', template_name='about.html')) Method Hints ------------ Pluggable views are attached to the application like a regular function by either using :func:`~flask.Flask.route` or better :meth:`~flask.Flask.add_url_rule`. That however also means that you would have to provide the names of the HTTP methods the view supports when you attach this. In order to move that information to the class you can provide a :attr:`~flask.views.View.methods` attribute that has this information:: class MyView(View): methods = ['GET', 'POST'] def dispatch_request(self): if request.method == 'POST': ... ... app.add_url_rule('/myview', view_func=MyView.as_view('myview')) Method Based Dispatching ------------------------ For RESTful APIs it's especially helpful to execute a different function for each HTTP method. With the :class:`flask.views.MethodView` you can easily do that. Each HTTP method maps to a function with the same name (just in lowercase):: from flask.views import MethodView class UserAPI(MethodView): def get(self): users = User.query.all() ... def post(self): user = User.from_form_data(request.form) ... app.add_url_rule('/users/', view_func=UserAPI.as_view('users')) That way you also don't have to provide the :attr:`~flask.views.View.methods` attribute. It's automatically set based on the methods defined in the class. Decorating Views ---------------- Since the view class itself is not the view function that is added to the routing system it does not make much sense to decorate the class itself. Instead you either have to decorate the return value of :meth:`~flask.views.View.as_view` by hand:: def user_required(f): """Checks whether user is logged in or raises error 401.""" def decorator(*args, **kwargs): if not g.user: abort(401) return f(*args, **kwargs) return decorator view = user_required(UserAPI.as_view('users')) app.add_url_rule('/users/', view_func=view) Starting with Flask 0.8 there is also an alternative way where you can specify a list of decorators to apply in the class declaration:: class UserAPI(MethodView): decorators = [user_required] Due to the implicit self from the caller's perspective you cannot use regular view decorators on the individual methods of the view however, keep this in mind. Method Views for APIs --------------------- Web APIs are often working very closely with HTTP verbs so it makes a lot of sense to implement such an API based on the :class:`~flask.views.MethodView`. That said, you will notice that the API will require different URL rules that go to the same method view most of the time. For instance consider that you are exposing a user object on the web: =============== =============== ====================================== URL Method Description --------------- --------------- -------------------------------------- ``/users/`` ``GET`` Gives a list of all users ``/users/`` ``POST`` Creates a new user ``/users/`` ``GET`` Shows a single user ``/users/`` ``PUT`` Updates a single user ``/users/`` ``DELETE`` Deletes a single user =============== =============== ====================================== So how would you go about doing that with the :class:`~flask.views.MethodView`? The trick is to take advantage of the fact that you can provide multiple rules to the same view. Let's assume for the moment the view would look like this:: class UserAPI(MethodView): def get(self, user_id): if user_id is None: # return a list of users pass else: # expose a single user pass def post(self): # create a new user pass def delete(self, user_id): # delete a single user pass def put(self, user_id): # update a single user pass So how do we hook this up with the routing system? By adding two rules and explicitly mentioning the methods for each:: user_view = UserAPI.as_view('user_api') app.add_url_rule('/users/', defaults={'user_id': None}, view_func=user_view, methods=['GET',]) app.add_url_rule('/users/', view_func=user_view, methods=['POST',]) app.add_url_rule('/users/', view_func=user_view, methods=['GET', 'PUT', 'DELETE']) If you have a lot of APIs that look similar you can refactor that registration code:: def register_api(view, endpoint, url, pk='id', pk_type='int'): view_func = view.as_view(endpoint) app.add_url_rule(url, defaults={pk: None}, view_func=view_func, methods=['GET',]) app.add_url_rule(url, view_func=view_func, methods=['POST',]) app.add_url_rule('%s<%s:%s>' % (url, pk_type, pk), view_func=view_func, methods=['GET', 'PUT', 'DELETE']) register_api(UserAPI, 'user_api', '/users/', pk='user_id') Flask-0.10.1/examples/0000755000076700000240000000000012156555065015622 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/.DS_Store0000644000076700000240000001400412154744257017305 0ustar mitsuhikostaff00000000000000Bud1 printeblueprintexampleIlocblobF(ÿÿÿÿÿÿflaskrIlocblobÌ(ÿÿÿÿÿÿ jqueryexampleIlocblobR(ÿÿÿÿÿÿminitwitIlocblobØ(ÿÿÿÿÿÿpersonaIlocblob^(ÿÿÿÿÿÿpersonabwspblob¯bplist00Ö  \WindowBounds[ShowSidebar]ShowStatusBar[ShowPathbar[ShowToolbar\SidebarWidth_{{86, 105}, {1162, 727}}  Š".') def show(page): try: return render_template('pages/%s.html' % page) except TemplateNotFound: abort(404) Flask-0.10.1/examples/blueprintexample/simple_page/templates/0000755000076700000240000000000012156555065025465 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/blueprintexample/simple_page/templates/pages/0000755000076700000240000000000012156555065026564 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/blueprintexample/simple_page/templates/pages/hello.html0000644000076700000240000000011312156444477030554 0ustar mitsuhikostaff00000000000000{% extends "pages/layout.html" %} {% block body %} Hello {% endblock %} Flask-0.10.1/examples/blueprintexample/simple_page/templates/pages/index.html0000644000076700000240000000013412156444477030563 0ustar mitsuhikostaff00000000000000{% extends "pages/layout.html" %} {% block body %} Blueprint example page {% endblock %} Flask-0.10.1/examples/blueprintexample/simple_page/templates/pages/layout.html0000644000076700000240000000113412156444477030772 0ustar mitsuhikostaff00000000000000 Simple Page Blueprint

This is blueprint example

A simple page blueprint is registered under / and /pages you can access it using this urls:

Also you can register the same blueprint under another path

{% block body %}{% endblock %}
Flask-0.10.1/examples/blueprintexample/simple_page/templates/pages/world.html0000644000076700000240000000011212156444477030577 0ustar mitsuhikostaff00000000000000{% extends "pages/layout.html" %} {% block body %} World {% endblock %} Flask-0.10.1/examples/flaskr/0000755000076700000240000000000012156555065017104 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/flaskr/flaskr.py0000644000076700000240000000535612156444477020755 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ Flaskr ~~~~~~ A microblog example application written as Flask tutorial with Flask and sqlite3. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from sqlite3 import dbapi2 as sqlite3 from flask import Flask, request, session, g, redirect, url_for, abort, \ render_template, flash, _app_ctx_stack # configuration DATABASE = '/tmp/flaskr.db' DEBUG = True SECRET_KEY = 'development key' USERNAME = 'admin' PASSWORD = 'default' # create our little application :) app = Flask(__name__) app.config.from_object(__name__) app.config.from_envvar('FLASKR_SETTINGS', silent=True) def init_db(): """Creates the database tables.""" with app.app_context(): db = get_db() with app.open_resource('schema.sql', mode='r') as f: db.cursor().executescript(f.read()) db.commit() def get_db(): """Opens a new database connection if there is none yet for the current application context. """ top = _app_ctx_stack.top if not hasattr(top, 'sqlite_db'): sqlite_db = sqlite3.connect(app.config['DATABASE']) sqlite_db.row_factory = sqlite3.Row top.sqlite_db = sqlite_db return top.sqlite_db @app.teardown_appcontext def close_db_connection(exception): """Closes the database again at the end of the request.""" top = _app_ctx_stack.top if hasattr(top, 'sqlite_db'): top.sqlite_db.close() @app.route('/') def show_entries(): db = get_db() cur = db.execute('select title, text from entries order by id desc') entries = cur.fetchall() return render_template('show_entries.html', entries=entries) @app.route('/add', methods=['POST']) def add_entry(): if not session.get('logged_in'): abort(401) db = get_db() db.execute('insert into entries (title, text) values (?, ?)', [request.form['title'], request.form['text']]) db.commit() flash('New entry was successfully posted') return redirect(url_for('show_entries')) @app.route('/login', methods=['GET', 'POST']) def login(): error = None if request.method == 'POST': if request.form['username'] != app.config['USERNAME']: error = 'Invalid username' elif request.form['password'] != app.config['PASSWORD']: error = 'Invalid password' else: session['logged_in'] = True flash('You were logged in') return redirect(url_for('show_entries')) return render_template('login.html', error=error) @app.route('/logout') def logout(): session.pop('logged_in', None) flash('You were logged out') return redirect(url_for('show_entries')) if __name__ == '__main__': init_db() app.run() Flask-0.10.1/examples/flaskr/flaskr_tests.py0000644000076700000240000000446312156444477022175 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ Flaskr Tests ~~~~~~~~~~~~ Tests the Flaskr application. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import os import flaskr import unittest import tempfile class FlaskrTestCase(unittest.TestCase): def setUp(self): """Before each test, set up a blank database""" self.db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp() flaskr.app.config['TESTING'] = True self.app = flaskr.app.test_client() flaskr.init_db() def tearDown(self): """Get rid of the database again after each test.""" os.close(self.db_fd) os.unlink(flaskr.app.config['DATABASE']) def login(self, username, password): return self.app.post('/login', data=dict( username=username, password=password ), follow_redirects=True) def logout(self): return self.app.get('/logout', follow_redirects=True) # testing functions def test_empty_db(self): """Start with a blank database.""" rv = self.app.get('/') assert b'No entries here so far' in rv.data def test_login_logout(self): """Make sure login and logout works""" rv = self.login(flaskr.app.config['USERNAME'], flaskr.app.config['PASSWORD']) assert b'You were logged in' in rv.data rv = self.logout() assert b'You were logged out' in rv.data rv = self.login(flaskr.app.config['USERNAME'] + 'x', flaskr.app.config['PASSWORD']) assert b'Invalid username' in rv.data rv = self.login(flaskr.app.config['USERNAME'], flaskr.app.config['PASSWORD'] + 'x') assert b'Invalid password' in rv.data def test_messages(self): """Test that messages work""" self.login(flaskr.app.config['USERNAME'], flaskr.app.config['PASSWORD']) rv = self.app.post('/add', data=dict( title='', text='HTML allowed here' ), follow_redirects=True) assert b'No entries here so far' not in rv.data assert b'<Hello>' in rv.data assert b'HTML allowed here' in rv.data if __name__ == '__main__': unittest.main() Flask-0.10.1/examples/flaskr/README0000644000076700000240000000111612156444477017767 0ustar mitsuhikostaff00000000000000 / Flaskr / a minimal blog application ~ What is Flaskr? A sqlite powered thumble blog application ~ How do I use it? 1. edit the configuration in the flaskr.py file or export an FLASKR_SETTINGS environment variable pointing to a configuration file. 2. now you can run the flaskr.py file with your python interpreter and the application will greet you on http://localhost:5000/ ~ Is it tested? You betcha. Run the `flaskr_tests.py` file to see the tests pass. Flask-0.10.1/examples/flaskr/schema.sql0000644000076700000240000000021412156444477021066 0ustar mitsuhikostaff00000000000000drop table if exists entries; create table entries ( id integer primary key autoincrement, title text not null, text text not null ); Flask-0.10.1/examples/flaskr/static/0000755000076700000240000000000012156555065020373 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/flaskr/static/style.css0000644000076700000240000000162712156311351022237 0ustar mitsuhikostaff00000000000000body { font-family: sans-serif; background: #eee; } a, h1, h2 { color: #377BA8; } h1, h2 { font-family: 'Georgia', serif; margin: 0; } h1 { border-bottom: 2px solid #eee; } h2 { font-size: 1.2em; } .page { margin: 2em auto; width: 35em; border: 5px solid #ccc; padding: 0.8em; background: white; } .entries { list-style: none; margin: 0; padding: 0; } .entries li { margin: 0.8em 1.2em; } .entries li h2 { margin-left: -1em; } .add-entry { font-size: 0.9em; border-bottom: 1px solid #ccc; } .add-entry dl { font-weight: bold; } .metanav { text-align: right; font-size: 0.8em; padding: 0.3em; margin-bottom: 1em; background: #fafafa; } .flash { background: #CEE5F5; padding: 0.5em; border: 1px solid #AACBE2; } .error { background: #F0D6D6; padding: 0.5em; } Flask-0.10.1/examples/flaskr/templates/0000755000076700000240000000000012156555065021102 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/flaskr/templates/layout.html0000644000076700000240000000075512156311351023300 0ustar mitsuhikostaff00000000000000 Flaskr

Flaskr

{% if not session.logged_in %} log in {% else %} log out {% endif %}
{% for message in get_flashed_messages() %}
{{ message }}
{% endfor %} {% block body %}{% endblock %}
Flask-0.10.1/examples/flaskr/templates/login.html0000644000076700000240000000062712156311351023071 0ustar mitsuhikostaff00000000000000{% extends "layout.html" %} {% block body %}

Login

{% if error %}

Error: {{ error }}{% endif %}

Username:
Password:
{% endblock %} Flask-0.10.1/examples/flaskr/templates/show_entries.html0000644000076700000240000000112712156311351024466 0ustar mitsuhikostaff00000000000000{% extends "layout.html" %} {% block body %} {% if session.logged_in %}
Title:
Text:
{% endif %}
    {% for entry in entries %}
  • {{ entry.title }}

    {{ entry.text|safe }} {% else %}
  • Unbelievable. No entries here so far {% endfor %}
{% endblock %} Flask-0.10.1/examples/jqueryexample/0000755000076700000240000000000012156555065020515 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/jqueryexample/jqueryexample.py0000644000076700000240000000122312156311351023744 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ jQuery Example ~~~~~~~~~~~~~~ A simple application that shows how Flask and jQuery get along. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from flask import Flask, jsonify, render_template, request app = Flask(__name__) @app.route('/_add_numbers') def add_numbers(): """Add two numbers server side, ridiculous but well...""" a = request.args.get('a', 0, type=int) b = request.args.get('b', 0, type=int) return jsonify(result=a + b) @app.route('/') def index(): return render_template('index.html') if __name__ == '__main__': app.run() Flask-0.10.1/examples/jqueryexample/templates/0000755000076700000240000000000012156555065022513 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/jqueryexample/templates/index.html0000644000076700000240000000146612156444477024523 0ustar mitsuhikostaff00000000000000{% extends "layout.html" %} {% block body %}

jQuery Example

+ = ?

calculate server side {% endblock %} Flask-0.10.1/examples/jqueryexample/templates/layout.html0000644000076700000240000000044012156311351024700 0ustar mitsuhikostaff00000000000000 jQuery Example {% block body %}{% endblock %} Flask-0.10.1/examples/minitwit/0000755000076700000240000000000012156555065017466 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/minitwit/minitwit.py0000644000076700000240000002040612156444477021712 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ MiniTwit ~~~~~~~~ A microblogging application written with Flask and sqlite3. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import time from sqlite3 import dbapi2 as sqlite3 from hashlib import md5 from datetime import datetime from flask import Flask, request, session, url_for, redirect, \ render_template, abort, g, flash, _app_ctx_stack from werkzeug import check_password_hash, generate_password_hash # configuration DATABASE = '/tmp/minitwit.db' PER_PAGE = 30 DEBUG = True SECRET_KEY = 'development key' # create our little application :) app = Flask(__name__) app.config.from_object(__name__) app.config.from_envvar('MINITWIT_SETTINGS', silent=True) def get_db(): """Opens a new database connection if there is none yet for the current application context. """ top = _app_ctx_stack.top if not hasattr(top, 'sqlite_db'): top.sqlite_db = sqlite3.connect(app.config['DATABASE']) top.sqlite_db.row_factory = sqlite3.Row return top.sqlite_db @app.teardown_appcontext def close_database(exception): """Closes the database again at the end of the request.""" top = _app_ctx_stack.top if hasattr(top, 'sqlite_db'): top.sqlite_db.close() def init_db(): """Creates the database tables.""" with app.app_context(): db = get_db() with app.open_resource('schema.sql', mode='r') as f: db.cursor().executescript(f.read()) db.commit() def query_db(query, args=(), one=False): """Queries the database and returns a list of dictionaries.""" cur = get_db().execute(query, args) rv = cur.fetchall() return (rv[0] if rv else None) if one else rv def get_user_id(username): """Convenience method to look up the id for a username.""" rv = query_db('select user_id from user where username = ?', [username], one=True) return rv[0] if rv else None def format_datetime(timestamp): """Format a timestamp for display.""" return datetime.utcfromtimestamp(timestamp).strftime('%Y-%m-%d @ %H:%M') def gravatar_url(email, size=80): """Return the gravatar image for the given email address.""" return 'http://www.gravatar.com/avatar/%s?d=identicon&s=%d' % \ (md5(email.strip().lower().encode('utf-8')).hexdigest(), size) @app.before_request def before_request(): g.user = None if 'user_id' in session: g.user = query_db('select * from user where user_id = ?', [session['user_id']], one=True) @app.route('/') def timeline(): """Shows a users timeline or if no user is logged in it will redirect to the public timeline. This timeline shows the user's messages as well as all the messages of followed users. """ if not g.user: return redirect(url_for('public_timeline')) return render_template('timeline.html', messages=query_db(''' select message.*, user.* from message, user where message.author_id = user.user_id and ( user.user_id = ? or user.user_id in (select whom_id from follower where who_id = ?)) order by message.pub_date desc limit ?''', [session['user_id'], session['user_id'], PER_PAGE])) @app.route('/public') def public_timeline(): """Displays the latest messages of all users.""" return render_template('timeline.html', messages=query_db(''' select message.*, user.* from message, user where message.author_id = user.user_id order by message.pub_date desc limit ?''', [PER_PAGE])) @app.route('/') def user_timeline(username): """Display's a users tweets.""" profile_user = query_db('select * from user where username = ?', [username], one=True) if profile_user is None: abort(404) followed = False if g.user: followed = query_db('''select 1 from follower where follower.who_id = ? and follower.whom_id = ?''', [session['user_id'], profile_user['user_id']], one=True) is not None return render_template('timeline.html', messages=query_db(''' select message.*, user.* from message, user where user.user_id = message.author_id and user.user_id = ? order by message.pub_date desc limit ?''', [profile_user['user_id'], PER_PAGE]), followed=followed, profile_user=profile_user) @app.route('//follow') def follow_user(username): """Adds the current user as follower of the given user.""" if not g.user: abort(401) whom_id = get_user_id(username) if whom_id is None: abort(404) db = get_db() db.execute('insert into follower (who_id, whom_id) values (?, ?)', [session['user_id'], whom_id]) db.commit() flash('You are now following "%s"' % username) return redirect(url_for('user_timeline', username=username)) @app.route('//unfollow') def unfollow_user(username): """Removes the current user as follower of the given user.""" if not g.user: abort(401) whom_id = get_user_id(username) if whom_id is None: abort(404) db = get_db() db.execute('delete from follower where who_id=? and whom_id=?', [session['user_id'], whom_id]) db.commit() flash('You are no longer following "%s"' % username) return redirect(url_for('user_timeline', username=username)) @app.route('/add_message', methods=['POST']) def add_message(): """Registers a new message for the user.""" if 'user_id' not in session: abort(401) if request.form['text']: db = get_db() db.execute('''insert into message (author_id, text, pub_date) values (?, ?, ?)''', (session['user_id'], request.form['text'], int(time.time()))) db.commit() flash('Your message was recorded') return redirect(url_for('timeline')) @app.route('/login', methods=['GET', 'POST']) def login(): """Logs the user in.""" if g.user: return redirect(url_for('timeline')) error = None if request.method == 'POST': user = query_db('''select * from user where username = ?''', [request.form['username']], one=True) if user is None: error = 'Invalid username' elif not check_password_hash(user['pw_hash'], request.form['password']): error = 'Invalid password' else: flash('You were logged in') session['user_id'] = user['user_id'] return redirect(url_for('timeline')) return render_template('login.html', error=error) @app.route('/register', methods=['GET', 'POST']) def register(): """Registers the user.""" if g.user: return redirect(url_for('timeline')) error = None if request.method == 'POST': if not request.form['username']: error = 'You have to enter a username' elif not request.form['email'] or \ '@' not in request.form['email']: error = 'You have to enter a valid email address' elif not request.form['password']: error = 'You have to enter a password' elif request.form['password'] != request.form['password2']: error = 'The two passwords do not match' elif get_user_id(request.form['username']) is not None: error = 'The username is already taken' else: db = get_db() db.execute('''insert into user ( username, email, pw_hash) values (?, ?, ?)''', [request.form['username'], request.form['email'], generate_password_hash(request.form['password'])]) db.commit() flash('You were successfully registered and can login now') return redirect(url_for('login')) return render_template('register.html', error=error) @app.route('/logout') def logout(): """Logs the user out.""" flash('You were logged out') session.pop('user_id', None) return redirect(url_for('public_timeline')) # add some filters to jinja app.jinja_env.filters['datetimeformat'] = format_datetime app.jinja_env.filters['gravatar'] = gravatar_url if __name__ == '__main__': init_db() app.run() Flask-0.10.1/examples/minitwit/minitwit_tests.py0000644000076700000240000001222212156444477023131 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ MiniTwit Tests ~~~~~~~~~~~~~~ Tests the MiniTwit application. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import os import minitwit import unittest import tempfile class MiniTwitTestCase(unittest.TestCase): def setUp(self): """Before each test, set up a blank database""" self.db_fd, minitwit.app.config['DATABASE'] = tempfile.mkstemp() self.app = minitwit.app.test_client() minitwit.init_db() def tearDown(self): """Get rid of the database again after each test.""" os.close(self.db_fd) os.unlink(minitwit.app.config['DATABASE']) # helper functions def register(self, username, password, password2=None, email=None): """Helper function to register a user""" if password2 is None: password2 = password if email is None: email = username + '@example.com' return self.app.post('/register', data={ 'username': username, 'password': password, 'password2': password2, 'email': email, }, follow_redirects=True) def login(self, username, password): """Helper function to login""" return self.app.post('/login', data={ 'username': username, 'password': password }, follow_redirects=True) def register_and_login(self, username, password): """Registers and logs in in one go""" self.register(username, password) return self.login(username, password) def logout(self): """Helper function to logout""" return self.app.get('/logout', follow_redirects=True) def add_message(self, text): """Records a message""" rv = self.app.post('/add_message', data={'text': text}, follow_redirects=True) if text: assert b'Your message was recorded' in rv.data return rv # testing functions def test_register(self): """Make sure registering works""" rv = self.register('user1', 'default') assert b'You were successfully registered ' \ b'and can login now' in rv.data rv = self.register('user1', 'default') assert b'The username is already taken' in rv.data rv = self.register('', 'default') assert b'You have to enter a username' in rv.data rv = self.register('meh', '') assert b'You have to enter a password' in rv.data rv = self.register('meh', 'x', 'y') assert b'The two passwords do not match' in rv.data rv = self.register('meh', 'foo', email='broken') assert b'You have to enter a valid email address' in rv.data def test_login_logout(self): """Make sure logging in and logging out works""" rv = self.register_and_login('user1', 'default') assert b'You were logged in' in rv.data rv = self.logout() assert b'You were logged out' in rv.data rv = self.login('user1', 'wrongpassword') assert b'Invalid password' in rv.data rv = self.login('user2', 'wrongpassword') assert b'Invalid username' in rv.data def test_message_recording(self): """Check if adding messages works""" self.register_and_login('foo', 'default') self.add_message('test message 1') self.add_message('') rv = self.app.get('/') assert b'test message 1' in rv.data assert b'<test message 2>' in rv.data def test_timelines(self): """Make sure that timelines work""" self.register_and_login('foo', 'default') self.add_message('the message by foo') self.logout() self.register_and_login('bar', 'default') self.add_message('the message by bar') rv = self.app.get('/public') assert b'the message by foo' in rv.data assert b'the message by bar' in rv.data # bar's timeline should just show bar's message rv = self.app.get('/') assert b'the message by foo' not in rv.data assert b'the message by bar' in rv.data # now let's follow foo rv = self.app.get('/foo/follow', follow_redirects=True) assert b'You are now following "foo"' in rv.data # we should now see foo's message rv = self.app.get('/') assert b'the message by foo' in rv.data assert b'the message by bar' in rv.data # but on the user's page we only want the user's message rv = self.app.get('/bar') assert b'the message by foo' not in rv.data assert b'the message by bar' in rv.data rv = self.app.get('/foo') assert b'the message by foo' in rv.data assert b'the message by bar' not in rv.data # now unfollow and check if that worked rv = self.app.get('/foo/unfollow', follow_redirects=True) assert b'You are no longer following "foo"' in rv.data rv = self.app.get('/') assert b'the message by foo' not in rv.data assert b'the message by bar' in rv.data if __name__ == '__main__': unittest.main() Flask-0.10.1/examples/minitwit/README0000644000076700000240000000130312156311351020327 0ustar mitsuhikostaff00000000000000 / MiniTwit / because writing todo lists is not fun ~ What is MiniTwit? A SQLite and Flask powered twitter clone ~ How do I use it? 1. edit the configuration in the minitwit.py file or export an MINITWIT_SETTINGS environment variable pointing to a configuration file. 2. fire up a python shell and run this: >>> from minitwit import init_db; init_db() 3. now you can run the minitwit.py file with your python interpreter and the application will greet you on http://localhost:5000/ ~ Is it tested? You betcha. Run the `minitwit_tests.py` file to see the tests pass. Flask-0.10.1/examples/minitwit/schema.sql0000644000076700000240000000066712156444477021464 0ustar mitsuhikostaff00000000000000drop table if exists user; create table user ( user_id integer primary key autoincrement, username text not null, email text not null, pw_hash text not null ); drop table if exists follower; create table follower ( who_id integer, whom_id integer ); drop table if exists message; create table message ( message_id integer primary key autoincrement, author_id integer not null, text text not null, pub_date integer ); Flask-0.10.1/examples/minitwit/static/0000755000076700000240000000000012156555065020755 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/minitwit/static/style.css0000644000076700000240000000601012156311351022610 0ustar mitsuhikostaff00000000000000body { background: #CAECE9; font-family: 'Trebuchet MS', sans-serif; font-size: 14px; } a { color: #26776F; } a:hover { color: #333; } input[type="text"], input[type="password"] { background: white; border: 1px solid #BFE6E2; padding: 2px; font-family: 'Trebuchet MS', sans-serif; font-size: 14px; -moz-border-radius: 2px; -webkit-border-radius: 2px; color: #105751; } input[type="submit"] { background: #105751; border: 1px solid #073B36; padding: 1px 3px; font-family: 'Trebuchet MS', sans-serif; font-size: 14px; font-weight: bold; -moz-border-radius: 2px; -webkit-border-radius: 2px; color: white; } div.page { background: white; border: 1px solid #6ECCC4; width: 700px; margin: 30px auto; } div.page h1 { background: #6ECCC4; margin: 0; padding: 10px 14px; color: white; letter-spacing: 1px; text-shadow: 0 0 3px #24776F; font-weight: normal; } div.page div.navigation { background: #DEE9E8; padding: 4px 10px; border-top: 1px solid #ccc; border-bottom: 1px solid #eee; color: #888; font-size: 12px; letter-spacing: 0.5px; } div.page div.navigation a { color: #444; font-weight: bold; } div.page h2 { margin: 0 0 15px 0; color: #105751; text-shadow: 0 1px 2px #ccc; } div.page div.body { padding: 10px; } div.page div.footer { background: #eee; color: #888; padding: 5px 10px; font-size: 12px; } div.page div.followstatus { border: 1px solid #ccc; background: #E3EBEA; -moz-border-radius: 2px; -webkit-border-radius: 2px; padding: 3px; font-size: 13px; } div.page ul.messages { list-style: none; margin: 0; padding: 0; } div.page ul.messages li { margin: 10px 0; padding: 5px; background: #F0FAF9; border: 1px solid #DBF3F1; -moz-border-radius: 5px; -webkit-border-radius: 5px; min-height: 48px; } div.page ul.messages p { margin: 0; } div.page ul.messages li img { float: left; padding: 0 10px 0 0; } div.page ul.messages li small { font-size: 0.9em; color: #888; } div.page div.twitbox { margin: 10px 0; padding: 5px; background: #F0FAF9; border: 1px solid #94E2DA; -moz-border-radius: 5px; -webkit-border-radius: 5px; } div.page div.twitbox h3 { margin: 0; font-size: 1em; color: #2C7E76; } div.page div.twitbox p { margin: 0; } div.page div.twitbox input[type="text"] { width: 585px; } div.page div.twitbox input[type="submit"] { width: 70px; margin-left: 5px; } ul.flashes { list-style: none; margin: 10px 10px 0 10px; padding: 0; } ul.flashes li { background: #B9F3ED; border: 1px solid #81CEC6; -moz-border-radius: 2px; -webkit-border-radius: 2px; padding: 4px; font-size: 13px; } div.error { margin: 10px 0; background: #FAE4E4; border: 1px solid #DD6F6F; -moz-border-radius: 2px; -webkit-border-radius: 2px; padding: 4px; font-size: 13px; } Flask-0.10.1/examples/minitwit/templates/0000755000076700000240000000000012156555065021464 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/minitwit/templates/layout.html0000644000076700000240000000176712156311351023666 0ustar mitsuhikostaff00000000000000 {% block title %}Welcome{% endblock %} | MiniTwit

MiniTwit

{% with flashes = get_flashed_messages() %} {% if flashes %}
    {% for message in flashes %}
  • {{ message }} {% endfor %}
{% endif %} {% endwith %}
{% block body %}{% endblock %}
Flask-0.10.1/examples/minitwit/templates/login.html0000644000076700000240000000077612156311351023460 0ustar mitsuhikostaff00000000000000{% extends "layout.html" %} {% block title %}Sign In{% endblock %} {% block body %}

Sign In

{% if error %}
Error: {{ error }}
{% endif %}
Username:
Password:
{% endblock %} Flask-0.10.1/examples/minitwit/templates/register.html0000644000076700000240000000130212156311351024156 0ustar mitsuhikostaff00000000000000{% extends "layout.html" %} {% block title %}Sign Up{% endblock %} {% block body %}

Sign Up

{% if error %}
Error: {{ error }}
{% endif %}
Username:
E-Mail:
Password:
Password (repeat):
{% endblock %} Flask-0.10.1/examples/minitwit/templates/timeline.html0000644000076700000240000000321512156311351024145 0ustar mitsuhikostaff00000000000000{% extends "layout.html" %} {% block title %} {% if request.endpoint == 'public_timeline' %} Public Timeline {% elif request.endpoint == 'user_timeline' %} {{ profile_user.username }}'s Timeline {% else %} My Timeline {% endif %} {% endblock %} {% block body %}

{{ self.title() }}

{% if g.user %} {% if request.endpoint == 'user_timeline' %}
{% if g.user.user_id == profile_user.user_id %} This is you! {% elif followed %} You are currently following this user. Unfollow user. {% else %} You are not yet following this user. . {% endif %}
{% elif request.endpoint == 'timeline' %}

What's on your mind {{ g.user.username }}?

{% endif %} {% endif %}
    {% for message in messages %}
  • {{ message.username }} {{ message.text }} — {{ message.pub_date|datetimeformat }} {% else %}

  • There's no message so far. {% endfor %}
{% endblock %} Flask-0.10.1/examples/persona/0000755000076700000240000000000012156555065017271 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/persona/.DS_Store0000644000076700000240000001400412154744257020754 0ustar mitsuhikostaff00000000000000Bud1 ona.py persona.pyIlocblobF(ÿÿÿÿÿÿstaticIlocblobÌ(ÿÿstaticbwspblob¯bplist00Ö  \WindowBounds[ShowSidebar]ShowStatusBar[ShowPathbar[ShowToolbar\SidebarWidth_{{86, 105}, {1162, 727}}  Š".') .hide() .text('Please wait ...') .appendTo('body') .fadeIn('fast'); $.ajax({ type: 'POST', url: $URL_ROOT + '_auth/login', data: {assertion: assertion}, success: function(res, status, xhr) { window.location.reload(); }, error: function(xhr, status, err) { box.remove(); navigator.id.logout(); alert('Login failure: ' + err); } }); }, onlogout: function() { $.ajax({ type: 'POST', url: $URL_ROOT + '_auth/logout', success: function(res, status, xhr) { window.location.reload(); }, error: function(xhr, status, err) { alert('Logout failure: ' + err); } }); } }); }); Flask-0.10.1/examples/persona/static/spinner.png0000644000076700000240000007474112156444477022765 0ustar mitsuhikostaff00000000000000‰PNG  IHDR@@ªiqÞ9tEXtSoftwareAnimated PNG Creator v1.6.2 (www.phpclasses.org)tÍÈJ:tEXtTechnical informations5.3.23; bundled (2.0.34 compatible)ÜM%acTL L½-fcTL@@xèÿ„Õ« âIDATxœí›ŒTÕÇ?wwß² ³0†hB÷™¥VŠ‘–†Øä=5ÆõCCKLµmªR"eZc %Ô‡T-k«VÓb-5bÔ1-iÔͼèب­€¢q(1¦qÈDQÁpwööûfwvæÍû5#ô¿Éþ±ïžwî¹çÝ{îù5‚Œ×æÎ½p#H¦}çСã'Jžž5Ñÿ+º¦€ŠmϬØöUÝâ%åR%å@7xu¬€Šm÷Tl{%ð.ðtŶçw.V{()-ài`¿’rY§ü:R@Ŷ-`ðpÐÜÓ©Pí ¤ì¶ÿ»””/+)få™IÛž[±í¿%àÛM×WlûʬÅà‡@ób/þ©¤|PIyFZ†©P±m€¿ß ©ØvZÞQPRζ¶înþ’–ojäJ%€1dÃÀÍiyÇàNô1‹Bœ\-Ètr¥ÒSÀ qÂTl;õ– ƒ’røi ÙNa¯¤å݉\ ŒEŒŸlé€#F€¨#õ°> ãÌ È•JoÇÝP±íÌ@Iy gT· Ãø0 ÿNý€;€jÄx°=0œ©¡¤ìcòÚk‡ƒÀÝ™& CäJ¥*°)†Ì®Í8ÅÍ@œcµNÆI˜))[ž…* æ8÷×瑚ãÌIÀ÷wÀ¾š{*¶ÊuURoÕ}aO%à5¤¤Üü²y¬E5ÇY€¾SWïÔçg5Çik€r¥Ò°:F†!àö8A›°ŒWI9CI¹Ø ,Ö+)Ïl¤ Û÷¡Ï.@ÝùØ[sœkÚM”+•^žØP±í3chê‚ÏVÅ=, ã6¼xøpj04ØÖH;E5ÇY \Âs(Öçùšã´;“뀨8¾eòŒ0ùÂð1mއ’r1ð*ðg Lá+””Ôÿ™P@°Íã¼x³æ8ÛkŽ3e{æJ¥÷€{cÞ_1mÚ´Èkqáž=×þ±IÆG””s””;Ћ¿ üµ Œ¢þ¤æ8y஘QE»§õ‹c sè°¸­øé§Ÿ>S­V_o7¾hÿþ¯Ñß¿2bÞ·ó„aŒy}%ÏH!ÿõÂ0mT@ }e¥Å>`uo±ø"@ŶoþB÷/`M®Tz)Ž¡’òtX=2¼DÆî€îÚ€n(ƒÜO Ãø^£êÕf`v†ÏëªÕêûèm¸8x~˜`§äJ¥ñ¤Ì””ýL~Ù™ÁãÝÂ0–() ¤‹3Èù!Ú^=. còÔQsœÓÑæV¢ QŽ…O>ùäåZ­ö4ÚGØ”+•>Î ( Ï6úJ¼¸¸}C¤•í(ð`«0Œ£õ‡- ¨£æ8ß@_‰—§œàjµº9W*eòÏÃÜß÷K3¼þ°^Æ¡æ¶ ¨£æ8W¢ñõ„“Îé-?H%b©¯=$ÿúo«…aøíbcÞbq7ðMô¹I²•·~‹Ÿ¸à#àF`QÔâ!ÁhDÍqÎ@É•„…ƒÀ¹½Åb¢à$ ‚á]ÂÝäãÀ(ÚO8’„_*ÔQsœ…hoí¦¡å½ÅâYx¦’ÒEËFü HÃ+“ê¨9Î2´÷8ø€Ý[,vÂ2‚<Á›èPy°VÆsYx µjÕ ÒyPS…PŸþcÑÛûûž;G³òI=¯”›Ñ™¢GˆNÍE¢íþÎÍÊ@ôô N; à»èów¢pº&Ñ\—H…¯Š£'[€“¯p²8ÙøJ'[€ÌPª+² µjÕ¢ËNÑèé`úô[èë[@oï·„ç%Žù³B•Ë3âßL›öƒƒ §'³Б'¨òù¥èŒÌÙÁ£ŸÏ{ ž‰æ-—71™ã X#LóÅ,¼2)@åó бÀ%MCU`žð¼¨rYGPåò:ÏjÓÐ3À:ašï§á—ê©|~¶Êçï^§uñ #´Ô5ú”ØFëâA'Jöªry«*—»ö‰v€ÊçûÐuºDWk@ûåç Ï‹+—¥†*—-t[Nþ l¦i“bw€Êç/EG^#Ä/t|1’€.T¹ÜØ ‡9ÀàUU.GÖÚî•Ï£cî,½‡ÜHÿÂu;¾”ï÷30p;³fm`2Cœ„i¶ä([ òù™èT´Kúëq eöìÿÐ×wA-@¸îK©E®ËãûW¡?Ä0ýý?"—³HïÃ|†Ž|ï¦9‘±šP€Êç{Ðmhw¡·PZüXËœ9 SV<žÖ ×=˜”™òýùè…_Öðxp>gµ0ËRÈ9¬¦ù$LÕâRtE'íâW Ï»BxÞÛèÝÓÌc°W [T¡fÁ' |PùþÚî\Ö4<¸U˜æk€ üH›€vµeì!y‚áº;dTxÞqU( £ïèöG§¿ÿfÍj;>8ø§œrvÛq™ž',ë0€*—OE[üÛ ¿ð[˜æhØ »&ÁËãèÔô<áy÷Ö`qÝ\Ó§?ˆ.[‡ÿ;¶ƒøî³Ír›æQašsÑ8ŒÑÐQ6ÅÏó/ûÀ"áy7 Ï›Zž..!¾j³è-{ìX’î³UÊ÷§”Ù…i¦¹}4B'Œ ÓœðQÂ,étu§‡€åÂóláy-ÌU¡Ðín®$ÝgÍiq„iúÀ"ta䣦áÃ4yª- ž÷“=¹GƒÎžµ½n"¾›k½pÝDaYU¶y\¬|?´ûL˜æ¸0͇yè¦ú1½S˜æ”‚I»ÛÝ@Ø(¤-T¡0˜@X}¦Á(ú+F)öåû»…e…*6Xì:U.?Ü<ÔLªáy_ßùUG¢n.áFýL(DËS¾¿x>‚l¸ øu$/Ó<@ßQVE Iº¹þ$\7Ê(µ…°¬€Ý1d?W¾Ÿ¨û, ¦•’tsÝÑákè^÷Y 2+@ íZê±Y¸n³%NaYï¿![¡|q M(2)@ IZêÞ£{¥²Í´^iÍØ®|?õz²î€ÛïàjÄáº]ù¤°¬#hÿ$ ‹ÑÁ\*¤V€*–Ä='\7Îx¥Å£D{xW¤ešZÁuvážèkomZ¾±óZÖ8í¯fí©ZÖò´|3áºãÂuÃ<-€Qáº]ÏËò™ðLzª–•©3¥£kP¸îáºë€óÐ-*I\ØNQUG/üWí<Á$HÛl Ẁ«U¡p¦pÝ/­& ,ë òýy²ºÒƒØÕÚ pÝ®5FFÎÓ¥Åüklå,IÓtfcTL@@xèd÷? ëfdATxœí›ŒTÕÇ?wwßBݸ‰yÙG VJ#)¢ (!Ö¨ˆšW i)yÚT±<Š[c %Ô UX[ CZ­UGtLK5ÃF“:Mi#T­úèhL#dc6f%ܹýãÎìÎμy¿f„þÁ7Ù?æÝóÎ=÷¼{Ï=¿VpqfÉ’Ý€B2©÷øñóJžŽ 5Ñÿ+Ú¦€’mO/Ùöííↂi®,˜æävðjY%Ûî(Ùö:àßÀá’mÏk]¬æ(˜æbà0ð¯‚i®j•_K (Ùöbà-à0èkU¨f(˜f°¯ò³x¡`š¯LsAZž©P²m³dÛÏÇoÔ ßR²íÛÒ ïõ‹½ø[Á4LsFR†‰P²m€?ß!ÛS²íÃP0ÍéÀÎ&ÃÀ=À’òM¬€Î|`kÙàÞ¤¼#ð0ú˜…!J®¤:ùüKÀkQ”l;ñ– BÁ4ç?Œ {¦¿X|#)ïVŒàF`4dü2`G ük±;RŸ›Ó0N­€Î|þm A¶¶dÛ©-4@Á4—QFuW±øIþ­úC!ã]À¾ŠáLŒ‚iv1~í5ÃiàÑTТ:óù!`[ÙbàΔSÜ D9V›ú‹Åsq˜))ž*@¹îÊu)׃﯀S4•l;‘ëZ0Í¢­ú`±øR/%eŸ’òàgõc P®;}§®ÞU®ûcåºM Pg>? Ü!Cð@” uØô„ŒGΫ¤œª¤ÜœV›•”³ji‚vÀnôÙ¨:'•ëÞÑl¢Î|þ(ðr˜0À–’mÏŠ  `šó7‚,Û_,žPR¢¤\¼ ü˜Rš 쪥 åº+›xÎòÊu_U®ÛìLnÂâø†ÉC°‡ñ„Ïhr<””‹€7ßA _­¤¼®úCŒ½¨·ùIôbÃ0 ì¶Šlv P²íG€Ã^>6::º´ÙøG}tW¹\~6B†ýÅb¦ö’r&z·®!Ú¸ÿ¸^F¹VË?"zñ ¿Ìz`µr݇ƒ"›­:D mGS°»»û³ÑÑѦƭ\.3bþw€ê%ådt†é!ô.‹ƒEhE=U»Ž£¯¬¤8Ü/²Ù£%Û^ ü6€îŸÀ†Î|þXÂiÞ«ƒ>Èòþbñ€’òÎ ]_ ¹_†ñ­ZT#ªíÀ)¾ l*Ÿ9ó!ú .ª•„‚iÎZøÁO+S¼þ<°YF±~ ©ªP®{Z_‰9ÙpµÈf?N$b () Spq¿þ à~aƒÍ"c‘;†>7q¶òÎ/cñÂ0N| Ü , [<ÄØµP®;m$×üN׈l6Vp’JÊt:ÈM>¾"· ÃŽÃ/‘Æ„pÝho톺!Gd³Ï§á™h~)=ô±¬ÅŸ€MÂ0ÞKÂ+•ÆqÝUh÷¶–ˆlœÚ””]À?Сò)`£0ŒWÒðêÁW߃jD¹<™‘‘ïÓÑñk±wï@ô í’r;:StˆðÔ\(ºÐî«™Z’Ž˜:àzj\Ô €ëÐ5‰úºD"\*Ž^l.6.)àb p±qI[€ÐÙ»€å„—ÂÑÙ9™iÓk¾Êd:„çÅŽùÓBI9˜Ž ~C ~@kž`&³‘™]yôáyû[ák^)·1žãØ ãh^ébLf>:XV74ÌžV.k JÊ>tòvJÝÐѱÀ‡Iø%:G*“¹Be2O§qñ #´Ä5ú„ØEãâA'JN*)wVŽH,ÄÚ*“éB×é¶^­}¯žU.K %åbt[Nþ lž†j“"w€ÊdnBG^{ˆ^à`=M „ç#ºó«ŠXÝ\Âqb²«È`Y£Ê÷7¯†õ¡;[~ÊKW‹ |KY•ËÅéæúpœ0£Ô²^ŽDýDù~¬î³ ´šVŠÓÍõP‹sl }Ýg H­•Ë5k©«Åvá8õ–8„e½ì [­|QM R)@årÝDký}ÚW*ÛNã•V}Ê÷¯'íˆÓR·A8N[þRXÖ0Ú? Ã"t0—‰ r9Йä0¼"'Êx%ÅS„{x·&ešX•ëìF‚=-Ð×ÞÆ¤|#絬2ͯfí©ZV²»–”G@8NY8N§0 §íù@aYƒL xÆ=UËJÕ™ÒÒ5(gX8Î&àëè•8.l«¨Æ*Ï¡þófž`$m6 „pœ÷€*—›%çK« Ë:­|®°¬¶ô ¶µ6(§m‘¡ó´iñÿO~ïö.ÖfcTL@@xè‰aì– êfdATxœí›ŒTÕÇ?wwߺÙèÆ¬®L^6d©•Òhʆ`òžb‚?ˆ¡y•hkÉæ ]éºåµ„º¡ R~lYZ ƒ­Öª£F‹i7£™Mê4¥P¥ÆÀʆÙ1ü0<ØÛ?î ;̼ß3Bÿà›l²óîyçž{î½çž{Îy‚‹Œs÷Ý·x<„äŠÖ½{Ï\,yZ.VGÿ¯hš¤mwIÛ¾»YüÂP2ÍE%Óìh¯† m»EÚöRà?À«Ò¶g6.V0J¦i¯ÿ.™æâFù5¤iÛð>°¸h67*TJ¦Ùl/ÿì^*™æ;%Ó¼9-ÏT ¶­KÛ~Èߨi¾SÚö‚´Eà;@í`oþ^2Í]%Ó¼.)ÃÄ ¶ ðàÛ!d#Ò¶Û“òCÉ4»€Í-À#À“òM¬‘ͬ ëMÊ;kPÛ, QrÕ!ÕÙì+À›QÂHÛN¼$ýP2Í>à‡dÏõäóï&å݈\ œ i¿XßÿjŒa[ê0”†qjˆlö Aö°´íÔ dšó(£º©'Ÿÿ, ÿFý€ÕÀÑö6`{Ùp&FÉ4Û˜<ö‚px2U4¨‘ÍÖEÀý)»xˆr¬{òù/â0+èzÝ3_HÇÙ!gtœ©1øþ8A³YÚv"×µdšÝD[u·'Ÿ%ŠWA×{ ºþð³Ú¶:HÇ™…:S—IÇù±tœ@$²Ù³ÀŠz'¢­Áz ;¤=²ß‚®_YÐõõÀ~`10TÐõiÕ4~+`+jïTœýÒqî êHd³o¯… ¬’¶=-‚€’i΢ G¶'Ÿßç×PÐu ºþ ððS ³Üt%°©šöHÇYÜîóØ+ç é8A{r»Ç×u‚&'ÁÇ Ø]Ÿ¼üðSø’‚®Ï­ü•ÊË|?j°a8 ìÖŠLæ‚@ÚöÀ {yâøñ·ñ¼yAíÇŽ{@Jù|„ +{òùmÕ º>µZ$Ú¸ÿ ¸¥¿Xœ¨Öòˆ<¨™Y,‘޳Ø-2™ŠC´e;=@qÅÇ¥ç7)å7#úÿ­ü(èz*´µÊâ`JQÏT¯€<êÈJŠÀ ‘ɼ mûaàw>tÿD6ûvÃ’iÞ‹ºVûMÈž|~   ë÷—ézSÈýr±ø­jTnTÃÀµ)¾ 2>þ jÎ)?G]dv‹lv".³’i¶39³]åÇc=ùü‚®ÏB9HóRÈùÊ^½Ð_,NÚ€ ¤ã\20Ë 7D~8lãØ±w8wîU”°Nd³ÇS @É4§¢ŽÄOž¬ì/_OÃKÈmÛ–߃ªÇÄD'N|ŸÖÖ߈իG£_hŽ<õÔ°wôè‚)Ë–íiíì Í…¢ å¾ÖG ⢥ººn¡ÊEý²ÑóÐCsQ9‰Ú¼D"\NŽ^j.5.+àR p©qY—Z€ÐÙÛ€…„§ÂÑÚÚAW×c´¶Î’¹\‹°¬Øwþ´žw%0u/ø-á)ºP4æ ær‹P™éåG?–µ³ž±úõ¼uLÆø?„¦½•†Wº»@.7 u˜_Ót˜!,+,]Ö¤çõ¢‚·5M…¦}’„_¢}$s¹ke.·øõƒuCKœ£OˆMÔT d¿ô¼å- ±V€ÌåÚPyºµ„gk@íÇ›„eE¥ËCzž*ˉÂUÀ³BÓBmRä ¹Üí¨›×уeXGbÐ%‚ô¼ê©(LžÞ“ž77Œ08&˜Ëõ¡îÜijÿƹ暵ttì†Ñð© =¯•[\Åd„8 žV M«‹QÖG…s¹.T(úq’gQ¦L9L[ÛV*¹Ãx;±Èy<ïnÔDôßLàa’û'P7ß-BÓÎG¬&ó¹\ ª mj %Å_•\ý§¨U5—!a‡â2“ž75ð;ªnB•Êm%]"ç0$4íe¸P‹‹P¤ƒ?Ü#,ë.aY¢VO-ÅÀ~éºë¥ëúYðóž×-=oewî¨iž ,šV@­„€¤Ø^ॲA­[ï?Àð9ª:dTXÖéº}¨3:xë´·¿KOOo`{w÷tvNlW‘éBÓÆ¤çu¢lÃø~š¶ªV@Ù…ˆñòÊ!,kKeðel"ªšëª«v¡ÒÖþ§O?MtõÙðy¹5í”дµÀ¨HÎRUQv!–åÏ…¼ì³…e-–u¤ºAºî|¢³6›èè_²§OÇ©>³¥ç]P}&4­(4ÍBm ߉2F…¦÷Qü,é*Tv§EÀ–e ˪c.]·ÙÕ\qªÏjÃâMsÙ¨ÄÈ‘šæqj<Õ:Ëú”ÉšÜSån–¶¼!ºškHF¬„‰Ð´£T-óÌ“žç[}&4mBhZ˜la²reд &A9¶'`cY!®ÛCXu&Á(jûYzÞXõ¹^ò`¥çív×Òø*@XÖDW~U«šKÉŽl¡ig¥ç o„õ¢*[~Áë ¾±&\7N5×ï…a„¥@M{‹ û‰ô¼XÕg~h4¬§škuƒ} мê³:¤V€tÝ ’ºj èµÄ‰ 4ícàWdK¤ç͉ ñEºOf\·h­LóReÃÔiµØ^¾2'BÚ§¤n@FS>€,[óUdsP—¹DHþÍ낊$‡áuaQÆ+)ž!Üø+)Óäß ©ãì6ü=-PÇÞʤ|#ûU¡­ £YyªÊN„tß Æ„0 ?O `TFÓãpÞÍ­öH'=UMKU™Ò؆ñ¹0ŒAà먕8.l£¨ÜU^@ üçAž`$-6ô…0ŒƒÀ=Òu§ ÃøÒrBÓIÏ›áßKƒ¦æ…a4­02´Ÿ& àõÙéÁÓ=Ç7fcTL@@xèd«žì àfdATxœí›¬ÕÇ?—ÝÁCÀmÌZ(‰¤¦D“%Ä륱ÓR‚¶A,K™–XBe)U†ŠõG!­Új"]mI£Öhv¢¦¶)ýе%ÄöõŸ*Ü·Üþqwyûvgç×®Ð?ü&“ìÎ=sî¹gî=÷ÜsÎÎ0ÔâÅ›BÉ9bÛ¶“gJž1gª£ÿWtMÊuÇ+×½©[ü¢PuœyUÇé鯎 \wŒrÝEÀ?]Êu§w.V{TÇvïTg~§ü:R€r] xØLòÀ ÕUÇÕ¨åï?xÐof)°@yÞýÀã¢P¨;Dж£½xÎ9G‘²½qSêË1ý¿ l­ÿ©Øv:´=Ë’`ZQO6΀2zËJ‹}À=¢Px@¹îBàç!t–‰bñµ8†Uǹ}¬{!ss¥Òn€ŠmßR£ëË ÷ÎÞrù« ¨Ÿ¨Öçg`ø°‚Ç?@¯ÁYµûýèƒÌã¢X<•”YÕqÆ2òfÇ×nïΕJs+¶=í ÍÎ ç‡h{õëÞryÄÔ¡<ï<´YJ´! ÃIÀ£¿ÿu†‡w¡}„µ¢X<šAPªŽ3½%ÞqâĉkŽ;ö ô‘V¶ãÀ½åòñúÍÔ¡<ïóè-ñúÔRã>¼N‹™üó0Tç‡yXÙ[.lnh«€:”ç݈VÄ¥ ;;\& …C©DL€ŠmÏD‡à’¾ý=À=½å²ßŽ ö, …ÝÀÐë&ÉTÞøi  ·\ÞCü àp'pEÔà!Á h„ò¼Ih#¹ˆð·p˜& …D‡“,¨ØöDt:ÌM>‰Þ"×ö–˃Iø¥R@Êóf¢½µ«›šn…ÂsYx¦AŶ èeÙˆß+zËå÷Òðʤ€:”çÍG»·}€Ø¢•õê*¶þŠ>*ï–÷–Ë/eá%Ô³Ï. ¹ÕŠjµ‡¡¡o‘Ï?"-Úÿ@wðîôéër¹ÜƒƒƒÛ•RQ¡¹HäÑîëÅ™%Éå`€«hpQ?m ]‰ÎI4ç%Rá³äèÙàlã3œmÎ6>SÀÙ tEö<0—è´S4r¹&L¸›|~†òý1²Ÿù³BI9Ž?¾ä¿o½µmÿ}÷ý¬:8˜ÙèLߟ§|ÿ_Ê÷UíúöéWʵJJU»þ®¤œ“•W¶³€ïÏ@Ÿš;¦ ËŠJ—u%e:x{nSÓo€Â0>HÃ/Õ:R¾¾òý‡¿Ð:xÐ'´Ô9ú”ØDëàAJö*)7*)»ö‰f€òý<:O·†èl è°ùå²âÒe©¡¤´Ðe9q8 ¬~) #Ò&ÅÎåû×¢O^[ˆk‹ î@'FŽ45÷Óä©¶(@XÖ!Fjr׸LXVÔôº‹x_a¥0ÍD a4Ló6˜­¤ ­>†qJÆ6`*ð #•+÷ Õ0 u…•ï÷ ×óÆšBÚBAT¦¦30Mj'·?DÐÞ* ãy%ecì¿Ó÷õP¥¼¸XÞìw”PAðu ¾$LsOM˜D ¨Ñ^‹öD£°ZÆSˆ< }0Iª¹~Q|ZÃxØCö½vnntê«'©æZÝaËè^õY 2+@A»’ºF¬¦Ùl‰SAÆûÀObÈ()gÅЄ"Û'3A0–x­¿O÷ReëhÝÒšñPíÈœ Yg@’’ºeÂ4»òdmëZC6 }˜K…ôß èHr^¦g¼ÒâI¢=<€Ò2MÿÍi\C¸§zÛ[ž–ol¿zÿnW­=Uí §B¶o†Ló”0Í0O `«0Í®Çá´›Û葎xª†ñ©W¦´… ‚KU¼¨‚à?5ϰ=­”sbúaWäÇJÊ>%å1%å3JÊÏuw$BA¬CÒ©j<2;>ÍèjnP˜f× ##û1Œ®õó?Ä`r¹Ä~èifcTL@@xè‰=M ÓfdATxœí›¬ÕÇ?÷í}1 !†3yS+%‘Ö ÑÔ5(êC³JLkÍhS«e)R©F !D)Uç¬b×´j«%ÒÕ–4jŒÆMÊšÚV¨RãЉ‘F”°øúî[nÿ¸»¼eÌ™] øM^òvî¹çž{æÜsϽçŒà$C­YóPŠ!ùЏÿþ±“%ÏÀÉèÿ}S€òýÉÊ÷¯ê¿Ø±È<&J¥£I™)Ï›ÄÄ›\¼C”ËKj®; ]’AÎÑþêw¹JeÂ8¦ ÌmÄ;¢N|öïññíèa(•fTËãyÓÑ[â jtôbuøðwÐ;DZÙŽ?6æ*•#‡m 86p| ½%.N-5<ʾ}ëE©”)>ï(çÍ8ºÿÃÀÒ ÝŸVç*•¨µ¡«Ž W¢1;á`G€sD±øQ* æºóÐWpIßþ;Àí¹Je¤ñ, ŠÅÀ×Ñë&‰)o<“ÈU*ï`>|Ü œ7yH`ÍPAp&ÚIÞDç·°8W‹‰'YPsÝ©èèNaòz‹\—«T%á—J ¨ ˜‡ŽÖ.ji*ŠbñÙ,<Ó æº%ô²lÆ€U¹JeO^™Ѐ ‚eèðvŠb±–‰PsÝ<ðWôQy7°2W©¼”…—P##ËIAu¦6ÈáÃß#ŸD,^¼ÅÜ¡?8|Ùeë…W~ñÅ5‹<:|µ3K’ËÁ”)Ò¢žhŒŽŽ^€ÎI´æ%RáËäè©àTãKœjN5¾TÀ© ôEv¡FFæŸvŠG.7Ègü€|~.–õ á8‰ÏüYQµíÓ…|eÚ´i¿Èô †áRôÌWë¾/çÑ^x&AÕ¶×1qÇÿ.°¢E¯fá•í,†sÑgE-M€YÂqâÒe=¡jÛCèËÛÓZš~¬*Dчiø¥ZG* §©0|ø í“}BK£O‰M´OôEÉ®ªmo¬ÚvâÐ>‘¨0Ì£ótk‰ÏÖ€ŽËÏŽcJ—¥FÕ¶ ËrLø7p'ð›BÅú$£¨0¼}òÆòHyúòcæá;¿»çºë7’>ø}ò}°EÇn¬&òa8€.C»mBiñ'`%gõúʪ™Ç6`µ°¬½I™))ç '~yÓãÝÀyoŸ}ö¼z[–DÎ^`u!жÁñZ\ŠÎè¤üàjá8WÇym=­<–»””””<ø1()§*)‡Ñ~çò–æ9Àm…(ª ë´°CÀsu‡Úf;I~Áp]²E8ÎX]ø™è=:né¼I|*k”øµ~˜%,ëS€ªmŸ†öøwÐy{ì„…(ZMPaW$è|}5=K8΃É×± s5×VtÚºÛߘ«ÏÖ7~¢èH!ŠÖç¢ &ŒÓTQvœ#Ž3<Óy8_8ÎÍÂq>inPR.œµÙ„Ùd“TŸyJÊãªÏ Q¢¨ˆ^ 'êØRˆ¢c1J'Oz':»ÓŒ( ÇY(§¹’²ßÕ\IªÏZ¯Å(DÑp>:1òIKó§´Dªm Žó5¹GêÎŽg^·`ŽV ËJ”0–u€&3ï‚K””«Ï Qt´Ee`ð •+÷¢Èœ0Qa8¨Âp³ óŒ´Úk¦¤T1o()ô‹ ´×ÖéòJÊ]ÚPIi¬>«Úöìªm×£ÉþBIùˆAHÙ¼^“* N{©V))ïêEþÞ>˜ÐÁŠ©šëײâœRWËzØa û‰’2QõY'ôjIª¹îîqŒô¯ú¬ ™ ¤ìVR׌õ²Z=q*Ëúø¹l¹’r¾¦#²}2#å$ÌZÿ€þ¥ÊÖÓ¾¥µbs–ÓgV HRR·BXV_>€–uŸÄa>ú0— é¿ÒÛÙÙK²LÎ+-ž$>¸"-Óôß YÀÅtŽ´@ÇÚ+ÓòM0îQºGëHÕ²N|qB3””“•”()ÿÛ´/w Q›ú$Žºôšhÿ£¤¼7I0tB¡¤œ­¤|±ÆÞöACõ‰?£¤4Fª&¤-6ìaY{€«•”3êqü ƒ°¬½JÊY²úRƒØ×ظ_BÌqþQ¬pŒ_ÝfcTL @@xèdN|Y ãfdAT xœí›mŒUÇg»§Ý@Ó4 —4|6¤©YHîi€Å¦Áš‘JÉ€òRÛº¬Œi°©MåÖ ´R¤À ¨H 3—ˆ†"":¡¼ì–Ò”fÓì,{üpîîÞ½wî¼ÝKëþÉýpçœóœçsâÏä ¨MóÝèÁ&a Ølåò´@yÞ-€“ØúãŸgtôÜ–åCC—1>þPŠëE¥²}Zß¶=ýÆ/'ݹ¿ œ%\w¼ÞÊ?$}ð ßÌ Àj7÷ˆry‚Ý‚ö­`OÏFG[;·ññóSúØ9ñGÙvzIm@ϲ,XŠ6Ôýõ3ÀGoYyñ°F”ËÏ(Ï»øuL½k…e=Ÿ&P9Î ô±:î…,•Ê €²íKkõz èý˜pÝoÖ`âDµ8®€À§€~öî}½—ÖžïCdî–5žU˜rœ™L½Ù9µÇƒ¢RY®l{1š [@Ï÷Ñþêaằ»À\´ƒ¹dG‡Q`;}ôccO 9Â&aY (ªõqœùè-ñr>‡C‡¾Øt~l®;2ñ°É“Á—€Û sk »Ø»w³°¬Bün~WòýDŸ”Š¢óÐÓ=Ïí¯g…”iáí\6Í.àUšï%áe´ø[« -—€Š¢*Šþ0lšqY¢˜¨pÍA‡¢×‘{CŸÿ‹Xè\€”Ïç”3‰ªa\R“µ`Ö¬Yß?¾ \I~p}ò½­äû“«©¼€~[WÔ*eI‹7â/èk3ï¡CVõ2„”{² «Æ"ôÀ/¨{üpú‰'ž¸¤VV$ú²(ùþc0ÝŠ+Ѽƒ øºò"!å›èÙÓ(c°[EÑEq|UØW5ŒèˆÏ Å‹€J¾_Là2´Áó x´æP›fÀ+d0DßÙ)¤­ÉX€Þ£“–΋$¤²Â5k&­õÀ¾0Ü0lšÇ =þÄoq,ùþr¨›5 »6Cãqthz¡ò¶‰Á×°ôÛ\w£ÓÖ±¿ÙçŸÿ[ÒoŸmžøSòý‘’ïoNE'@Ò0FݲiŽDH&4€3„”W )‡ê T-#=k³”);oÅŠ,·ÏìªaLÛK¾–|ßB/×Úî,ùþ$G‰ó¤7¡³;õKHi )›„׈R'ose¹}Ö äûp:12ÔP¼¦Úd!å{LÝÉ©58EH™4½®!+ )3%LúÂp?uÓ¼έFìí³’ï—|ß·1usåæ’ïOK˜Ä2AE=è麵f–PQ””©™€ÎH9±TþšP÷BÊÇ«†Qûo…=À©}a˜hØaÓ<¸XßHÛ:¨(º ø~B•1àkK'«ª†qš‰&aC_þ,‡ÊÓÐÞQ´«OÂoâüFô…á³À`JµW #–æfA»\=Ëm® mö±–ÎÝ>kBaÔ¢AqWêê±¹q»Ì‹¾0|øeJµÕUÃXšR'Å>™‰¢™¤[ým:—*ÛLó–Öˆ;ª†‘{èhnPHÙ±‹‘Iè ÃŽõó?9U8‘{4_fcTL @@xè‰Ø¯° ïfdAT xœí›ŒTÕÇ?wg/% D7Œ1üavš¥VJ#–„`2O±ÆßC fë†XjÔ¦ËÐuËk‰%J¨ƒT}TlÑjÚb«U¨ôYK¥}/Zµ¦Ö Ujú(Q \ÍHöíîíwvwvæÍû5ƒô¿Éþ±sî;÷Üóî=çÜsÎ|ÊPO!ÃJQ,Z“æ6Í3Ñ»u ÑÆýà|Q*Öjù»D/ô›Yô)Ï»xHärcÑ]hÛÑ<œ6íCCÍÛèèW#æ Ø4ö2Í©è Ójô.‹ƒhEm©ÝÚe%Å^àV‘ËíP®»øEÀ¸7€"ŸßÅPYÖ5èkuÐ ¹R‹;”i^[×Bîm¢Tº®v«\| 8’ÑàÏÊólåy=ÀôÑ*ßóâ,@‹O_Vƒ5¤¢XÜ¡Ls®2Í¿¿#ùâß®®ƒ0åy§¡ Ìr Q†‹C‡žgxx;:F¸CäóÇò™Ç²ÎD»Ä%|òÉ…|øá×Ñ"©làÇÀzQ*UÆ~lPÀøÄž÷E´K¼,±Ô°™÷Þ[+òùTñy <–5‹ƒ¥xüI`@”Jê M0>±ç]VÄbNVιܻ‰DŒešóÐ)¸¸oÿuàVQ*5½ŒDÞD.·}ûÑþ7 ëOÄâD©ô:Ñ7P€ÃÀÍÀü°ÅCŒP åygkÑ®.è-ìι\¬ËI(ÓìBg ƒÂä!´‹¼C”Jƒô$RÀ¸ž7­]PGê¹Ü“ix&šß4‹ècY‹g€~Q*íKÂ+•Æñ¼Åèð¶pCär­°Œ7¯ivÿ@»à½ÀJQ*=›†—P¾ßGüª##Sü&?]]›¢hÔòåké踂JåÂSs¡èD‡¯g¥–$“ÓO8Ÿšõ„ãøñ…èšD}]">+ŽžlN6>SÀÉàdã3œlZ@[dÊ÷ç^vŠÂTàÛÀ\àñ×ÛµIÑ!ß¿½Ý“tíRF¥·a¤Pè^£±G( ¯ íÃ_› hz”ï÷(ßÿðÉ0Oùþ2åûmqUeØòÑG™LÛ¸X¼4R(<:R(–å³Â¾?]d(’Ü=£o„ÿE',t-@ÊÝ ùŒ£lWUyõtvv~cÆŒ°”äqÀÇè›ï½ÛÏXMFôÛº¡:(NY¼B·Í¼‹NYÕòØ )÷ÇeV6Œ9è…_Zóó^àÜ®®®yUZšBÎ~` cÛÛ`²¡+:I¿¸ZHy¹ò-ôî©ç±Ø£|òý >޲at• c#:ãsiy°}úô°³~ ˜uœ##…Â4´Å¿`÷„Û¾jv@5„]ãáQtjz¶òÞ±ÅW±ˆn®ý›7?ˆ.[þU*•_Ý}¶v쟌mW2¶½8]‰Â05e“ ‰Ò yØæ )oR®%(ß¿˜èªÍ†Á^ݲ•J%N÷ÙMeØä3¶} cÛ½è£Ø8QŦŒmÇ(A–tººS‹@¯ÒR60¯JíìæŠÓ}VŸ cÛ.0]9\G>B]¤Ú !å»LôäVªœ-¤ Û^·+ )cL²Žs”šmÞ• #°û,cÛ£Û~˜ ÜËDçÊíÛžT0iæKïFûó³…”w† ®|¿+†°.Ú&Á&btŸ• £i÷Yƶ3¶Ý|ø ðPý˜À"cuÁQ_cˆÕÍ%¤ŒÉN#ë8ÃeÃXŽD›¡ÝÙò£0^ÛÞGßÚ¾§›ë—Av#²Ž³Ø1ìûeÈÕ}„Vcõ8Ý\«[œcíë>k@jT³AA-uµX[ï.“"ë8ï Ïoúʆ± ÿtŸÌøþ¢µþí+•­¥Ñ¥Õãþ²a$^OÚ§¥nE]”˜YÇDÇ'aX€¾Ì%Bòo†|àʈaÏ )£ŒWRl!<¸<)Óäß iwv!Á‘h··2)ß(dg”æ®ùЛuœÞ¤|Ó}3$å¨2(Ò};l{> ë8.“/<ã‘jÖqRu¦´öÁ„”ƒBʱHëtü¶Š±»ÊoÑ ¿3ë8©{’’6BH¹¸Zùþ¬YÈ:Îþ²aÌÎ:N[zÛZR¶­12 íZ<Àÿ.5 4zç—fcTL @@xèdÝÊ ìfdATxœí›ŒTÕÇ?w‡Ç¯l”j¼ìÔ¥VJ#Ö ÁD5Š?1˜)Ä´ÖŒ4µX†â[c‰jªº¶ji«­ö©Õ>kI£ÔbÜh£Cj[ JM}!¢H]í\foÿ¸³ËìÌ›÷kè~“ýcÞ¹ïÜsÏ»÷œsÏ9+8ÉPCC÷åˆ!“ĂՓ%OÏÉšèÿ]S€òýÓ”ï_Õ-~‘s¹î库»Á«c(ßïQ¾#ð/àåû³;+b>×]<üS¹îÒNùu¤åû €×­À™ÀàžN…j;Ÿëö÷×öO*×}I¹îܬ<3)@ù¾©|ÿqàeàKMäË•ï/Î*P ¾ 4/öB`§r݇”ëž™–aj(ßøð•ˆa[”ïOLË;r^×= ØÔ†Ü¬~–ojˆ|`]̰~àæ´¼cpú˜E!N®d:"ŸØ'ŒòýÔ[2 ÊuûoÇ {L‹¯¤å݉\ ‹ O6vÀ¿[€¨#õ!0…qfˆ|~àÄ »Aù~f  \÷ ΨnÅâ;YøwÜŽ Oî¯ÎÔP®;ãn¯öwgš€ òùÃÀ1Ã×fœâf .°Z#ŠÅO’0S¶Ýò,TJÊ””[•”3ðý °'fÌ=Ê÷S…®Êu§oÕ‡D±øt,/ÛîS¶ý$ðƒfZ‹””sÐ>õFà-%åw•”m Èç·ÄÈÐÜ'h6Ó#è±ó*ÛîU¶½Ø ,”mÏl¶îCŸ]€Ñàc·’òšv‰|þEàÙ(a€µÊ÷gƌт»îl 3ÌÅâ¡ïÛ6ʶ¯Þ¾L­“zÍcÇ)@I¹¸4„g?à))_PR¶;“k€¨{|ËäØÂñ†#´9ʶç¯a _®l{þè1ö¢Þæ»Ñ‹Â1àA`0Œq@ùþ]Àm‘o¿ÿþªÕ‹ÚÒXÆÈÈã12¬Åâ8‹¦l{z·^O¼q ¸@”Ë#Zþñ‹ýeVË•”w à ˆîBÛŽöà”)G¨VÛ·‘‘/ÇÌÿ&08úCÙödt†évô.K‚yhE=Ò¸^F»¬´ØÜ" ãEåû7?÷w`•ÈçwÄ1T®{ úZöA®Åâ6eÛ×ÖÇõeû)Q._׸Uߥd4ø“’ÒSRö ·Ø(Õùž—dñ¢X|ø°8Ú@Ú&ŠÅmʶç(Ûþ3ð[Ò/þ`p4Ø€Q()§¡ ÌJ¢ Qª€Í{d”Ï c„;E>$%Ÿãò¸î ´K¼ž?^Ä‘#_C{ˆ´² ?6‰ryxôa‹Æ&–òóh—xyj©áAöïß òùLñy¨<®;“–dxý `@”ËA3¡­Æ&–r1ZŸK8Ù0p¶0Œý©DLeÛsÑ)¸¤_ÿ àQ.µ{†± }× ýo6ˆÅˆrù âo ›€ó£ v@#””gЮ.ì+ìΆ‘èr’ʶ§£3Ðaarí"ïåòÑz R)`L)碣µ ›HEaOdá™j~Û.£e#žÖˆryo^™0&ˆ”KÑám0,†Ñ ËdóÚöàoh¼X-Êåç³ðJÊå$ Â0øðSaƒqƒ»µ~ýzzóÑG[Q**5‰ èðÕì‚LТžp ÏG×$šë©ðiqôT pªñ©Nµ§Ÿ*àT к"»¨g;©äN¾ÌΆ1Ò Á¢ J¥^„ø†±ÞÞŸÑÓ“=†±+³ :‰zðÙú£è|á‰ÆJõQ­–8|x>°J8΋Ye½ ÌAß.i"f5'K» U*õ¡“·S›H¿ÖÇùw~©Î‘’ò3JÊ€¿ÒºxÐ7´Ô5ú”ØLëâA'Jv«Ri“*•‡ö‰v€’rºN·Žèj è´ù¹Â0âÊe©¡J¥è¶œ8¼‹Î'þJ8N¤MJ’º½ÝÓtm†—ÞNU*õ;iíŠÂkhûð—vÚ%e¿’ò÷À ¤[<(5÷ÝeËn®˜fW\UͲ&Ž|ðÁm7¶I1xU•JªR)´,–> ]d(“Þ=w]|ñþ÷Q¯‚`GJ>c¨YÖUèäG?†ñõžiÓ7>ø}ó½W8ÎXƪ±0ÒƒnC» HRoÆÕ;Ï:k?:eÕÈã)` û’2«YÖlôÂ/kx¼8·çŒ3æÖiY 9û€á8OÁx-.AWtÒ.~/pµ0Œ+„a¼‰Þ=Í<–»+¦¹±bša| 5Ëš^³¬-èŒÏeMäÙÀJá8`!ºÀ‘6Û]3|’ò†¬Åà+@íb?üEùþåûSÒ2L­%%À€/E ()'¤å9¯ïwë ·K€GÓòM­a«bÈzÛÓòŽÁJô1‹Bœ\uÈt„a<ìFI™zK†Aù~/ð²_‹bñ…´¼›1‚ËS㓵Mð¯Æu¤Þú³0άaÿœ²ÅJÊÌ@ùþÕ@œQ]/ŠÅ·³ðo6¸81ÞlªÎÔP¾ßÎi·×‡û2M@“ †q XCVdœâv .°êÅâ‡I˜)×­{ª%åƒJÊmJÊ© ø>ˆ¡¹_I™*tU¾ßE¼U÷E±øx,/×íQ®»øaíX””3Ñ>õ6àU%å÷¢|º0ŒSÀÒz€»â­ÁZ +bö+)on4‘0ŒgÝQÂ+””Ý14ZpߟX1dŽ(÷…¾ïº(×½xøp^eè|`}5í8()çsCxöO*)ŸŽ¸ìôQ÷øºÉ#0Àé†÷hp<”ëÎ^~„)|‘rÝ9£?ÆPÙæqÎ^VRnRRŽÛžÂ0^6ļ¿ˆ‰£Ýâ;ï, ü#Tcµ(T?P®;U¹îvôâç„¿6†åºm0^ËßEé8´w‹””+­;p/Úv4Ž'Mz'·‘‘kbæØ<úC¹n:Ãt7z—%ÁlàV`‡c$¥‡vYiqXZ±()¿¡û°LÆsq •ïߌ¾V‡}y¢XÜ \wA…®'ƒÜ»D©tKµ ¸ øp4%£À3JÊ'•”½ÀàÏUãG+|¯H²xQ,î> ¬ŽW íÅâåº3•ëþ ø-éÿ6ðeàQ;ª¤œŒ60wmˆÂpxxµyX- ã½”|NËãûSÑ.ñV†‡¯âÝw¿Šöie~¬¥ÒðèÃ:ŒM,å'Ð.ñºÔRÃÃÀa™âóPy|¿›·Þz˜ŸáõÇ€~Q*µ 06±Îîl>žp²a`º0Œ7S‰˜Êug¡SpI¿þ>`©(•üF±wa{Ðç±íã°îL,@”Jûˆ¿¾\µxH°ªQIp¬A»º°¯p¸LF¢ËI(×íBg ÃÂä“h¹Z”JÇCÆëJcBè;þ:!Y’0ŒÇ²ðL5¿ëÞ‰>–Õø=Ð'J¥ƒixeRÀ˜ R.DG=€˜•œá…rÝvàe´ >,¥ÒSYx %å"’GPaè¾üLÆæ8âVAmݺ†¶¶øàƒm(•š‹D;:|Í·@¦ÏR¢žq ÏA×$jë©p®8z¶8Û8§€³-ÀÙÆ9´Œ“R-c•p¾–È.*YàÌ•Üo¼Ññö=÷|ûc‡Ízýõ+ A0Ò Á¢ ÊåóâïL˜°— /ü9mmÙã€J‰+óùùèŒÌ¥•GKÐWá3~”êáÄ ‹#GæË„m?›…Q¦Px0ŸŸ‰¾ \]3t ˜V‚¨rYSPår:Ï^ÍÐï€>aÛÿNÃ/Õ9Ìç/ÌçþJýâAßÐR×èSb=õ‹(Ù¯Êåuª\NÚ'Úƒù|;ºN·Šèj èŠÍå… ˆ+—¥†*—‹è¶œ8üO|DØv¤MŠÝƒùü\ôÍk€øÅƒ¾_ $ KU.W7HÅa*°xQ•Ë‘5‚†;`0ŸïEß¹³ôþ2eʪI“&=œó¼¦½‚²¬ L˜p+Ð庴xX!l».GY§€Á|¾]d¸“ôîñ°¹»»û?†al¤R ÈyÞs©E®@YÖèÑK{ûט<Ù“>†y}óÝ l{,c5¦€Á|¾ ݆v/z ¥Åå_|ñ›è”U5]@Îó'e¦,kzá×V=>\ÎEͪŒe)äú…mï‚ñZœ®è¤]üAà¦B\_‚Wл§–ÇB`ÿi®2Í0 >eY]ʲÐvçÚšáÀ¶]àH›€ívV jÝx‰ä †ãèîÍ… 8 0dš½hÝðè´··¿ÐÙÙÙÓh\\pÁ‡¢£ãÒFãèÌô4á8GT¹|ÚâßE¸{ ÃaÛó jTBØe ^A§¦§‚`Ãèâ+XOL7WGGÇtÙ:ôO<¹øî³5£?„m Û^\†.€ÄáUeaFðQ`Qƒ—}`i!ê†Lójà™˜ÉWuuuù1t_lË宾As øŒpœ:9*[{õ-µ£x@ØöòÑa–tººS(‚Àl°øVws%é>«M‹ lÛ®DFŽÔ ¥&R­S@!ÞätOîpå…é… ˆÚ^KˆïæêÏy^¢‚‰pœcTmóø‚²¬Ðî3aÛ#¶`ºicô˜®¶=®`ÒÈ—Þ‡ÎðN/Á AÐPð!ÓìJ ¬v…i°™$Ýg–Õ°ûLØöqaÛ}À§€Ÿ[kiB‹Œ•Çu~"Q7WÎKŸ†pœSʲ–OGõ ;[~É˶ÒÀÀ7•U2Í$Ý\¿Ìy^h7W„ãìöÄ}_YV¢î³04›VJÒÍuw“s,£uÝguȬ€!ÓlÔRW59Ï«µÄ© ç5ôùÂ"eY³³ðϤ€!ÓLÒR÷­+•­¡Þ¥Õb“²¬Ôëɺ’´Ô-Ëy^KþR8Îqt|…ÙèË\*¤VÀiÌ‹!{*çyqÆ+-v [^¢p}Z¦©PqgWiv{ËCž7á8#4vÍPŽSJË7ÓÈyÞHÎóÂ"-€Í9Ïky>@8ŽÏø ÏX¤*'SgJÚ^»qÈyÞq oÈ4· ëŸ#>*l+ÐiºÝ@¿pœ¦²šRÀ(ržw¸iÈ4»sžwÆjÂq+Ëš&§%=ˆ--Žæ<¯e‘QhÕâþÉÏ-n˜¦ÌfcTL@@xèe…¹3 ðfdATxœíšŒTÕÇ?wg+¬Ž!ü±Ý1K­£VkH3Sc¿‡X -5ÕK[+òpÙòZc %Ô‡T™-`ÕjZ­Úø£ê3–4ŠVón4©4ÕV¨RÓ‡$•%hÙ—åö;»Ìμy¿fþá7™?æûÎ=÷¼{Ï9÷œŸ2´R´R:â7éÓ”§ãÓœìÿmS€VªK+uE»øEÎ tLi¯– •êÐJÝüxF+5·u±"æ ‚"ð ð/ [å×’´REà àAàT ¸«U¡šÎÀÆêß^àI¯ê 8;+ÏL ÐJõh¥þøÀ—êÈ—h¥.Ë*P ¾Ô/ö«ÀßtܧƒàÔ´ S+@+ð'à›ÃÛmÍutëš;€%À£iù¦V€°,€U1Ãú€›ÒòŽÁí˜c…8¹éËzØ'ŒV*õ– ƒ‚>à–˜a‰Báµ´¼[1‚Ë#ôÀÚø×bˆ:R,Œ3+@XÖÛÀ1î×Je¶Ð:.âŒêzQ(ìÉ¿Õ8à6`½ØX5œ©¡ƒ “cn¯vwfš€ ,k?°:fX¸:ã7qU¿(>IÂLKÙð,TZ©ÍZ©µR³ð½Ø3æ.­TªÐUA7ñV]ŠBáéX^Röj)Ÿ~VOkP€VjƧ޼«•úq”O–uX#C/°"NÐ:¬º#è±ój)§i)×Û…À€–rv혰°svÆ‚íZ©«šM$,ëeà¹(a€•Z©Ù1cŒàA0¸1fØ¢Px3ô})ÑR^ ¼ ü˜Z%MÖ׎ ­Ô࢞}€§•z1â²Óޏaò rì#„ácš-åùÀëÀï0…/ÖRÎû3®€ê6ð"à-­ÔF­Ô„í),ë=àî˜÷ÓËOÄž=Wþj±Z {kh)gi)Â,~~økãÔRvˆqJ9À1/Öb?&<½¿jÐJua®ÅQà³Àß›RwïþÆþ4Ã;À™¢P0sJ9°1.yZ ù¯Åâõ ð1.+-vK«v­ÔõÀoCÆýX&,ë•8†:®Â\«ûBÈ—‹Ba €–òêê¸Þ r?%ŠÅkjmÀÀ})Í^ÒJyZ©>àaà¯5ô}U¾ç$Y<€(ž¾¬Ô¶ˆBa‹–rž–ò/ÀI¿ø=À·€k æŒA+5c`n&Ú…á0P^ÅdmîV Ëú8%ŸcòÁ,ŒK¼–‘‘ øè£ë0"­l#À/u¢X{Ø €ñ‰•úÆ%^’Zj¸X#,+S|*OÌæƒ6 2¼þ0 ŠÅ¡zBSŒOl²;€Ï'œl8]XÖîT"&€–òlL .é×X*ŠÅÆ¸ŠØ»€°¬-˜óØñ¿qXw< ŠÅ7‰¿ì¾œµxH°jQMp¬Á¸©°¯° 8CXV¢ËIh)»1®6,L> lV‹bñ@½©0.„¹ãb’µX$,ë‰,SÀ‰ 3´n‹ìb[OÏ<¢ËN‘ÈårSº»»dYÖ<˲ÎÉûþÑv]©LCˆ2iÒVfÌø ™ã€Îó††ÞÎúòp©´“‘9­úh æ*|¼1€Ö½:t#~8X&lûå,Œ2…ÂÃ¥Ò<Ì]àÂ:Ò~`NÞ÷£Êe-AW*½˜<ÿÔ:Ò³@¿°íÿ¤á—ê —J§ —J›1IÍúѹ¡¥®Ñ§Äz&Q²]W*ët¥’8´O´†K¥NLnÑÕ0›³ò¾W.K ]©1m9qø/&Ÿøˆ°íH›»†K¥‹07¯Aâ&O0˜`\*èJ¥¶A*³€‡€×u¥Y#hº†K¥>Ì;Kïß¾éÓ§¯²,ëÞœçµì´ãLbòäÌœ¹S®K‹G€•¶r” .•º0E›ôîñ°é¤“Nz?—Ëm Z ÈyÞ+©E®B;Θчe}—“O.ד>†9ˆ)üÜ-l{ŠIMÏÉûþÝc‹¯b=1Ý\bêÔû0eëðß¡Cß}¶fì°íaÛ«€308¡¦£,Ì>Š)c‡AKó¾ßИ0Z._¼3ùªŽSN‘1ã¾A>ÿuàcŽ_®Û Guko¤y¾"l{ùØŸ0KºSݩŰ(ïû¥&‹ow7W’î³ú´8¶%p.¦0²·Ž¼ºHµAyßßͱžÜ‘ê §ç}?j{-!¾›k çy‰ &Âu÷S³Í›àkÚqB»Ï„m¶ý0Ó´1vLo¶=¡`ÒÌ—Þ‰©°œž÷ýŸç}¿©à£årwa%ƦÁ&’tŸ9NÓî3aÛ„m÷g¿î¯Zd¬.8®ók ‰º¹rž—pÝ#Úq–/F ën~É˶wÒÄÀ·”U-—“tsý.çy¡Ý\q®»Ø3ì'ÚquŸ…¡Õ´R’n®ÛZœcíë>k@fŒ–ËÍZêj±&çyõ–8„뾇9¿QX¬çü,ü3)`´\NÒR÷Ƶkhtiõب'õz²î€[ ïàªÅ²œçEmÝÄ®{ŸDá|Ìe.R+`´\¸kª€’m?P²m¿dÛ3bð}Øm ¹7iꪤìÁìÕ‡*9šWöª0|øiýZƒJ¶=SoÞ.ÙöJ¶ÝÒ Ë–dèn3 Z‡5@Oĺq_†§¨0\ì–ƒ* gÖÒ4³€ûÑï.@5ùØU²í«Zm$,kð|”0ÀJ%åL\ß'n4=*,ëõ¦Ï‡!* ¯Þ~tW–NÖÕÒŠÚJ¶½}Ñh…­À@_¹Ü`ò•X½‹èpõð!àFÐLDgšEÐ| Ì–õaƒax:lžñüy"—ûÔ( bæ»ÐY\F‡€U}åò¸ ¤¼¸ÝðüvàˆõoOx,–åÛ; g ­õZÌÎýïh%­UÀíÀ݆k1ŒNOé+—GáX¾þÑ)ësÀΈõÏ¡ýO+¼œQñ=¨0œ„¶¨;Ð&׉\îñZì@‡¬¤Ø ,ë+—·()¯~Ó„îÀ€°¬í&†JÊ«€{in— ËÚ Âðê ]o ¹7‰\îšZSY|ØŸÑ<॒m%Ûž<Ž6±*öWøžç𲞾¬Ö,m–µE…á|†~Gòÿ~Í®:'P²í)èø{ ŸFƒ¸8xs_xáåî¹s7£s„»„e}œÏ1()g CⵌŒ,dxø:t„H*Ûð `­ÈåFª6( Š’m/I,5®@Ç_ÖÈ\îuÌ7PйÆw€³£1, %Û>XS;…½Àܾr9Öå$ Tö Cm³4ù°¸Kär›¬7 ‘ª(Ùöt¶uAÝ’ÓW.?“†g¨0tѯe-^Vˆ\nO^©PEɶ— së^`èï+7ø™ŽC…að:ï–‹\îÅ4¼ÄGýýKI–AÃØØØ¤|·««ëWŸãiù$…Ú¹s5™Ìe:ä£TTi.]èô×NË ›ÍÒÓÓpúý;1øä“sÑ=‰ú¾D"|Ö=Ùœl|¦€“-ÀÉÆg 8Ù¤†R‘]|Ôß?Ÿè:^$2™Ì¤îîîd³ÙùÙlö¬lí„`QPÅâ)ñO&NÜÊÔ©¿&“IŸLß±ãÍ´åó‹Ñ™Ó+Ý„®o ¢T/‡ßÈœ ÇÙ–†QªTx,ŸŸ¾ ,ª[fgƒ ª]ÖT±Ø‹.Þv×-=¬Žóï$ü½Gcùü´±|þtQ³þð oh‰{ô ±ŽÆÃƒ.”ìRÅâZU,ÆNícYÀX>ß…îÓ­"º[ºl~f6Lí²ÄPÅâùè±þ‹®'>!'Ò'-`,Ÿ¿}óZùð ïëcÐ%‚*3˜;ÅUÌþªŠÅ¨Ik Ëçg¡ïÜifÿö‹É“W‰ ¾ßvTPž7‰o£§g%º]—O+…ã4Ô(0–ÏOF7\’‡ÇQ`£˜:õ?"›½Ÿj/À÷·'¹åyW ¿ˆYXÖ·™6­¸žä9Ì!ôÍ÷>á8Ç*VÇ0–ÏgÐchw£M()þ,ÏL›¶]²ªå± ¾¿7.3åyóп¸æãÝÀ™œvÚ‚ÊZšFÎ^`P8Î&¯ÅÅèŽNÒÃï®ÌÁ¥Ù x m=õ<–»T¡°F Í<ø1(ÏëQž·íw.®[žÜ"§ô£I °½À³‡Ú`¯¿Àp=²1GT¡`î[Ö+L™ÒÛr}Ê”ÃLštzËu]™ž-\w?€*»Ñÿ6š‡ÇfØ"çr¨±€J ;ãá£èÒôìlÜW=|ë0Msuw? Ìlùwøðc˜§ÏVWÿŽ3"g0Ý1a”š‰²fNðI`i‹‡‡€eÙ hLP…Â"à%Ãæ«˜>}È@÷ufÌøð½šQà+ÂuåЦ½Æ‘Ú*<á8Ë«ÿ4ó¤+ÑÝZ”'ý-ßéi®8Ógõeq„ã g£#õû©ËT ‚}|:“;Ry`N6¢Ìë&ÌÓ\ƒÂ÷c5L„ëScæ-p¡ò¼¦ÓgÂqŽ Çy˜ ܇n˜Ü)g\äU,½]á“ ‚Ÿeƒ ¥àªPè‰!ì:&ÁFâLŸy^Ëé3á8…ã¬Î~ fcTL@@xèeÙ  ØfdATxœíšŒTÕÇ?wÙ·¢RŵCVH^7dJ1Òº%´yOB¿C(æUb*u¬m­pÙ2­±„"õ!U\ÁV,/­VÛŒZvÓøƒjf"IFm„*š&†ƒJwÃíwf™y¿g„þÁ7™?æûÎ=÷¼{Ï9÷œ§JÊJJòë:•òtœÊÉþÑ6”Ló¼’i^×.~aPR.PRŽo¯–P2ÍŽ’iÞ |<_2Í™­‹ %¥<ü[I¹¨U~-) dšð&à“€NàV… ‚’²ØTýÛ <£¤|]I9;-ÏT (™¦Y2Í?à+ ä«J¦yMZ"ð q±—ÿTRnQRNJÊ0±J¦ ðWàÛ!ÆJ¦ÙVk®¤<X@înžJÊ7±úËe€ÕÃú€;’òŽÀ=èc†(¹šêô—ËϯD S2ÍÄ[ÒJÊ>àÇÃþ( 㤼[1‚+€‘úD`] üë1„©O€Á4ŒS+ ¿\~Ø1lIÉ4S[h%å< ʨn†±? ÿV〻Ã!ôN`SÕp&†’²““n/{€ûSM@‹ è/—k"†YÀ”SÜDVÂ0ŽÅa¦¤lzæ«€Šm?R±m¯bÛ=1øþØ1æ’i& ]•”ÝD[õ¢0ŒçbðêUR>ü¼‘Ö¤€ŠmÏBûÔ[÷+¶ý“Šm þryX!C/°2JЬºCè‘ó*)'()×;EÀ ’rrý¿°}vjÁÇΊmß4Q¹¼Ø& °ªdš“#ÆÔŸ Ü1l«0Œ·ÞGIy3ð>ð3àœ*i°¡~ìTl{0߇gðbŶ_®ØvЙއÜ4y†8ùüðÇCI9ØüðSøb%åÜÚŸQT·y”€ów*¶½©bÛc¶g¹ü!ð`Äû‹Gvìˆr‹ ñÿõX# ã`ý%e’òqôâçú¿6Š¡êÅ Q{R±íp_Ä‹õ8ŒOË # sèkq`8妛^è¹÷Þ·Bø~m‚ðp‰0Œ€j^`9Ú%OH ÿ-Â0ž¨W@í²’b°4S(l(™æàw>ãþ,ë/—_‹b¨¤¼}­îó!_+ c¸:nau\o ¹Ÿ†qc½ ¸ø!p(!£™À«Û~±bÛ}ÀÀ?ê自|¿gñÂ0¶_VGêHÃÂ0†•”³””þLòÅïnn„º#PCŶ'¢ Ì„"?Ú¿ÿëRÊçÑ1šþrù£„|F¡¤ìA»Ä›Ñé´‡H*ÛQàWÀzaGk›PCŶ¿ˆv‰W%œàѽ{÷®í/—SÅç~¨úïG€)^†Qn$* †Šm_ƒVÄô˜“fd …}‰DŒjêëMâý·¥Â0ŠA"ï™Ba}Ðþ7 ë?‹ÅTŸ¨(ÀAà{Àea‹‡; Ûž¬E»)¿¯°¸8S(ĺœ¤AõŽðþaòq`3:N8âCoB"ÔP±íÙèhíò’“)žNÃ3 ””ËÑDzAß w'á•J5Tl{:z슀)Za Õ<Á;h¼ X! ã¥4¼DŶ“,‚jÄxàûÀo2…Âæø$‚:xp-ãÆ]ÃÇ{(–š E':üM—²‹¯¡Ïß©Á§ŸÎE×$ë‰p¦8zº8Ý8£€Ó-ÀéÆœnRC©¶ÈÞ \KxÙ)ã?7iÒ Ã˜¥¦Oïžw¢‚…A‹8p`*gµ• .ø-éã€L¡ðnjA²ÙèŒÌÔê£ÛGÓòK€A”ê娱Û8p`.°LXÖö4ŒR…Â*›…¾ Ìk ¦ Ï +—µU,ö¢óüç4^„eý' ¿DçHe³ŸWÙì#À[4/ô -q>!6мxЉ’ªX\¯ŠÅØ¡}¬ ²ÙNtn5áÕЛK…çE•ËC‹º-' ÿE矖j“"w€Êfç£o^CD/´aŠ1.T±Xß …àq`‡*Ck;@e³}è;wšÞ¿Cœþjºº®Û²WPù|ãǯä W¡ËuIñ$°JXVS޲I*›=]dXNr÷8l¦»{/ãÆm¤Z ®ûZb‘kòäóס?D]]ß%“±%$a>Aß|–5š±U€Êf;Ðmh÷¡·PRü XA&³²ªçñ,0(\wO\f*ŸŸ‰^ø•uw—2eÊì*-M!g0(,ëY«ÅèŠNÒÅﮞwµð¼÷л§‘Ç"`§ÊåÖ©\ÎÏ‚BåóÝ*ŸBÛ+È3;…e•]àHš€íž©Ô¦ð&ñ GÐÝ!›…çP¹\ÚG®®7èîî ¤OœxŒ³ÏžH×™éiÂq¨bñ´Å_‰¿{ôð°¬k¡nTCØe1^>NMOž÷`mñUl ª›ëÜs· ËÖþ¿cÇ'ºûlí¨Ü–uTXÖjàbt$ #Ôu”ùÁ§€Å/¥ÂóšT.7x5bòÕôô#Æ}‹‹.ú&ðƒ1#ÀW…ã4Ë¡·ö&š[jkxHXÖŠÚ?Kº ]Ý©Gp„çÙ‹ow7Wœî³Æ´8²ŠÀeèÂÈÁò!"Õ&ÏÛÇɞܣÕfÏ Û^·ÝÍ5(\7VÁD8Îaê¶y¾¡òyßî3aY'„em¦¡›6jÇôaYc &A¾ô~t†w†ð¼_Ï \årÝ1„-¢]al&F÷™Êç»Ï„e–5\< <Ö8Æ·ÈX]pTçW ±º¹„ëÆdW•ÁqFT>¿ x9dX/pðËP^–µ›ßRVEårqº¹~/\×·›+ Âq^†#†ýTåó±ºÏüÐjZ)N7×Ý-αŒöuŸ5!µT.ÔRWµÂu-q"Çù}~ðXåósÒðO¥•ËÅi©ûö•ÊÖÒìÒ±Iåó‰×“vÜ…W=– × Ûº±!ç:> Ãôe.+@år 3ÉaxI¸n”ñJŠ'Ð-/a¸:)ÓÄ ¨º³+ð´@»½>Ï[‚pœ»f©:Ž“”oª# \÷„p]¿H `³pݶç„ã{á9©:NªÎ”¤½vcrÝ#À€Êå¶ ë_':*l«ÐiºmÀ pœ–²ZR@ Âuw׫\n²pÝϬ& gÊç§ ÇiKb[kƒÂuÛÖ:O›ð?Mnˆn‚™nIEND®B`‚Flask-0.10.1/examples/persona/static/style.css0000644000076700000240000000112112156444477022431 0ustar mitsuhikostaff00000000000000html { background: #eee; } body { font-family: 'Verdana', sans-serif; font-size: 15px; margin: 30px auto; width: 720px; background: white; padding: 30px; } h1 { margin: 0; } h1, h2, a { color: #d00; } div.authbar { background: #eee; padding: 0 15px; margin: 10px -15px; line-height: 25px; height: 25px; vertical-align: middle; } div.signinprogress { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.8) url(spinner.png) center center no-repeat; font-size: 0; } Flask-0.10.1/examples/persona/templates/0000755000076700000240000000000012156555065021267 5ustar mitsuhikostaff00000000000000Flask-0.10.1/examples/persona/templates/index.html0000644000076700000240000000142412156444477023271 0ustar mitsuhikostaff00000000000000{% extends "layout.html" %} {% block title %}Welcome{% endblock %} {% block body %}

Welcome

This is a small example application that shows how to integrate Mozilla's persona signin service into a Flask application.

The advantage of persona over your own login system is that the password is managed outside of your application and you get a verified mail address as primary identifier for your user.

In this example nothing is actually stored on the server, it just takes over the email address from the persona verifier and stores it in a session. {% if g.user %}

You are now logged in as {{ g.user }} {% else %}

To sign in click the sign in button above. {% endif %} {% endblock %} Flask-0.10.1/examples/persona/templates/layout.html0000644000076700000240000000176312156444477023505 0ustar mitsuhikostaff00000000000000 {% block title %}{% endblock %} | Flask Persona Example

Mozilla Persona Example

{% if g.user %} Signed in as {{ g.user }} (Sign out) {% else %} Not signed in. {% endif %}
{% block body %}{% endblock %} Flask-0.10.1/flask/0000755000076700000240000000000012156555065015104 5ustar mitsuhikostaff00000000000000Flask-0.10.1/flask/__init__.py0000644000076700000240000000321212156555057017214 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask ~~~~~ A microframework based on Werkzeug. It's extensively documented and follows best practice patterns. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ __version__ = '0.10.1' # utilities we import from Werkzeug and Jinja2 that are unused # in the module but are exported as public interface. from werkzeug.exceptions import abort from werkzeug.utils import redirect from jinja2 import Markup, escape from .app import Flask, Request, Response from .config import Config from .helpers import url_for, flash, send_file, send_from_directory, \ get_flashed_messages, get_template_attribute, make_response, safe_join, \ stream_with_context from .globals import current_app, g, request, session, _request_ctx_stack, \ _app_ctx_stack from .ctx import has_request_context, has_app_context, \ after_this_request, copy_current_request_context from .module import Module from .blueprints import Blueprint from .templating import render_template, render_template_string # the signals from .signals import signals_available, template_rendered, request_started, \ request_finished, got_request_exception, request_tearing_down, \ appcontext_tearing_down, appcontext_pushed, \ appcontext_popped, message_flashed # We're not exposing the actual json module but a convenient wrapper around # it. from . import json # This was the only thing that flask used to export at one point and it had # a more generic name. jsonify = json.jsonify # backwards compat, goes away in 1.0 from .sessions import SecureCookieSession as Session json_available = True Flask-0.10.1/flask/_compat.py0000644000076700000240000000416412156444477017111 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask._compat ~~~~~~~~~~~~~ Some py2/py3 compatibility support based on a stripped down version of six so we don't have to depend on a specific version of it. :copyright: (c) 2013 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import sys PY2 = sys.version_info[0] == 2 _identity = lambda x: x if not PY2: text_type = str string_types = (str,) integer_types = (int, ) iterkeys = lambda d: iter(d.keys()) itervalues = lambda d: iter(d.values()) iteritems = lambda d: iter(d.items()) from io import StringIO def reraise(tp, value, tb=None): if value.__traceback__ is not tb: raise value.with_traceback(tb) raise value implements_to_string = _identity else: text_type = unicode string_types = (str, unicode) integer_types = (int, long) iterkeys = lambda d: d.iterkeys() itervalues = lambda d: d.itervalues() iteritems = lambda d: d.iteritems() from cStringIO import StringIO exec('def reraise(tp, value, tb=None):\n raise tp, value, tb') def implements_to_string(cls): cls.__unicode__ = cls.__str__ cls.__str__ = lambda x: x.__unicode__().encode('utf-8') return cls def with_metaclass(meta, *bases): # This requires a bit of explanation: the basic idea is to make a # dummy metaclass for one level of class instantiation that replaces # itself with the actual metaclass. Because of internal type checks # we also need to make sure that we downgrade the custom metaclass # for one level to something closer to type (that's why __call__ and # __init__ comes back from type etc.). # # This has the advantage over six.with_metaclass in that it does not # introduce dummy classes into the final MRO. class metaclass(meta): __call__ = type.__call__ __init__ = type.__init__ def __new__(cls, name, this_bases, d): if this_bases is None: return type.__new__(cls, name, (), d) return meta(name, bases, d) return metaclass('temporary_class', None, {}) Flask-0.10.1/flask/app.py0000644000076700000240000022575612156553475016262 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.app ~~~~~~~~~ This module implements the central WSGI application object. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import os import sys from threading import Lock from datetime import timedelta from itertools import chain from functools import update_wrapper from werkzeug.datastructures import ImmutableDict from werkzeug.routing import Map, Rule, RequestRedirect, BuildError from werkzeug.exceptions import HTTPException, InternalServerError, \ MethodNotAllowed, BadRequest from .helpers import _PackageBoundObject, url_for, get_flashed_messages, \ locked_cached_property, _endpoint_from_view_func, find_package from . import json from .wrappers import Request, Response from .config import ConfigAttribute, Config from .ctx import RequestContext, AppContext, _AppCtxGlobals from .globals import _request_ctx_stack, request, session, g from .sessions import SecureCookieSessionInterface from .module import blueprint_is_module from .templating import DispatchingJinjaLoader, Environment, \ _default_template_ctx_processor from .signals import request_started, request_finished, got_request_exception, \ request_tearing_down, appcontext_tearing_down from ._compat import reraise, string_types, text_type, integer_types # a lock used for logger initialization _logger_lock = Lock() def _make_timedelta(value): if not isinstance(value, timedelta): return timedelta(seconds=value) return value def setupmethod(f): """Wraps a method so that it performs a check in debug mode if the first request was already handled. """ def wrapper_func(self, *args, **kwargs): if self.debug and self._got_first_request: raise AssertionError('A setup function was called after the ' 'first request was handled. This usually indicates a bug ' 'in the application where a module was not imported ' 'and decorators or other functionality was called too late.\n' 'To fix this make sure to import all your view modules, ' 'database models and everything related at a central place ' 'before the application starts serving requests.') return f(self, *args, **kwargs) return update_wrapper(wrapper_func, f) class Flask(_PackageBoundObject): """The flask object implements a WSGI application and acts as the central object. It is passed the name of the module or package of the application. Once it is created it will act as a central registry for the view functions, the URL rules, template configuration and much more. The name of the package is used to resolve resources from inside the package or the folder the module is contained in depending on if the package parameter resolves to an actual python package (a folder with an `__init__.py` file inside) or a standard module (just a `.py` file). For more information about resource loading, see :func:`open_resource`. Usually you create a :class:`Flask` instance in your main module or in the `__init__.py` file of your package like this:: from flask import Flask app = Flask(__name__) .. admonition:: About the First Parameter The idea of the first parameter is to give Flask an idea what belongs to your application. This name is used to find resources on the file system, can be used by extensions to improve debugging information and a lot more. So it's important what you provide there. If you are using a single module, `__name__` is always the correct value. If you however are using a package, it's usually recommended to hardcode the name of your package there. For example if your application is defined in `yourapplication/app.py` you should create it with one of the two versions below:: app = Flask('yourapplication') app = Flask(__name__.split('.')[0]) Why is that? The application will work even with `__name__`, thanks to how resources are looked up. However it will make debugging more painful. Certain extensions can make assumptions based on the import name of your application. For example the Flask-SQLAlchemy extension will look for the code in your application that triggered an SQL query in debug mode. If the import name is not properly set up, that debugging information is lost. (For example it would only pick up SQL queries in `yourapplication.app` and not `yourapplication.views.frontend`) .. versionadded:: 0.7 The `static_url_path`, `static_folder`, and `template_folder` parameters were added. .. versionadded:: 0.8 The `instance_path` and `instance_relative_config` parameters were added. :param import_name: the name of the application package :param static_url_path: can be used to specify a different path for the static files on the web. Defaults to the name of the `static_folder` folder. :param static_folder: the folder with static files that should be served at `static_url_path`. Defaults to the ``'static'`` folder in the root path of the application. :param template_folder: the folder that contains the templates that should be used by the application. Defaults to ``'templates'`` folder in the root path of the application. :param instance_path: An alternative instance path for the application. By default the folder ``'instance'`` next to the package or module is assumed to be the instance path. :param instance_relative_config: if set to `True` relative filenames for loading the config are assumed to be relative to the instance path instead of the application root. """ #: The class that is used for request objects. See :class:`~flask.Request` #: for more information. request_class = Request #: The class that is used for response objects. See #: :class:`~flask.Response` for more information. response_class = Response #: The class that is used for the :data:`~flask.g` instance. #: #: Example use cases for a custom class: #: #: 1. Store arbitrary attributes on flask.g. #: 2. Add a property for lazy per-request database connectors. #: 3. Return None instead of AttributeError on expected attributes. #: 4. Raise exception if an unexpected attr is set, a "controlled" flask.g. #: #: In Flask 0.9 this property was called `request_globals_class` but it #: was changed in 0.10 to :attr:`app_ctx_globals_class` because the #: flask.g object is not application context scoped. #: #: .. versionadded:: 0.10 app_ctx_globals_class = _AppCtxGlobals # Backwards compatibility support def _get_request_globals_class(self): return self.app_ctx_globals_class def _set_request_globals_class(self, value): from warnings import warn warn(DeprecationWarning('request_globals_class attribute is now ' 'called app_ctx_globals_class')) self.app_ctx_globals_class = value request_globals_class = property(_get_request_globals_class, _set_request_globals_class) del _get_request_globals_class, _set_request_globals_class #: The debug flag. Set this to `True` to enable debugging of the #: application. In debug mode the debugger will kick in when an unhandled #: exception occurs and the integrated server will automatically reload #: the application if changes in the code are detected. #: #: This attribute can also be configured from the config with the `DEBUG` #: configuration key. Defaults to `False`. debug = ConfigAttribute('DEBUG') #: The testing flag. Set this to `True` to enable the test mode of #: Flask extensions (and in the future probably also Flask itself). #: For example this might activate unittest helpers that have an #: additional runtime cost which should not be enabled by default. #: #: If this is enabled and PROPAGATE_EXCEPTIONS is not changed from the #: default it's implicitly enabled. #: #: This attribute can also be configured from the config with the #: `TESTING` configuration key. Defaults to `False`. testing = ConfigAttribute('TESTING') #: If a secret key is set, cryptographic components can use this to #: sign cookies and other things. Set this to a complex random value #: when you want to use the secure cookie for instance. #: #: This attribute can also be configured from the config with the #: `SECRET_KEY` configuration key. Defaults to `None`. secret_key = ConfigAttribute('SECRET_KEY') #: The secure cookie uses this for the name of the session cookie. #: #: This attribute can also be configured from the config with the #: `SESSION_COOKIE_NAME` configuration key. Defaults to ``'session'`` session_cookie_name = ConfigAttribute('SESSION_COOKIE_NAME') #: A :class:`~datetime.timedelta` which is used to set the expiration #: date of a permanent session. The default is 31 days which makes a #: permanent session survive for roughly one month. #: #: This attribute can also be configured from the config with the #: `PERMANENT_SESSION_LIFETIME` configuration key. Defaults to #: ``timedelta(days=31)`` permanent_session_lifetime = ConfigAttribute('PERMANENT_SESSION_LIFETIME', get_converter=_make_timedelta) #: Enable this if you want to use the X-Sendfile feature. Keep in #: mind that the server has to support this. This only affects files #: sent with the :func:`send_file` method. #: #: .. versionadded:: 0.2 #: #: This attribute can also be configured from the config with the #: `USE_X_SENDFILE` configuration key. Defaults to `False`. use_x_sendfile = ConfigAttribute('USE_X_SENDFILE') #: The name of the logger to use. By default the logger name is the #: package name passed to the constructor. #: #: .. versionadded:: 0.4 logger_name = ConfigAttribute('LOGGER_NAME') #: Enable the deprecated module support? This is active by default #: in 0.7 but will be changed to False in 0.8. With Flask 1.0 modules #: will be removed in favor of Blueprints enable_modules = True #: The logging format used for the debug logger. This is only used when #: the application is in debug mode, otherwise the attached logging #: handler does the formatting. #: #: .. versionadded:: 0.3 debug_log_format = ( '-' * 80 + '\n' + '%(levelname)s in %(module)s [%(pathname)s:%(lineno)d]:\n' + '%(message)s\n' + '-' * 80 ) #: The JSON encoder class to use. Defaults to :class:`~flask.json.JSONEncoder`. #: #: .. versionadded:: 0.10 json_encoder = json.JSONEncoder #: The JSON decoder class to use. Defaults to :class:`~flask.json.JSONDecoder`. #: #: .. versionadded:: 0.10 json_decoder = json.JSONDecoder #: Options that are passed directly to the Jinja2 environment. jinja_options = ImmutableDict( extensions=['jinja2.ext.autoescape', 'jinja2.ext.with_'] ) #: Default configuration parameters. default_config = ImmutableDict({ 'DEBUG': False, 'TESTING': False, 'PROPAGATE_EXCEPTIONS': None, 'PRESERVE_CONTEXT_ON_EXCEPTION': None, 'SECRET_KEY': None, 'PERMANENT_SESSION_LIFETIME': timedelta(days=31), 'USE_X_SENDFILE': False, 'LOGGER_NAME': None, 'SERVER_NAME': None, 'APPLICATION_ROOT': None, 'SESSION_COOKIE_NAME': 'session', 'SESSION_COOKIE_DOMAIN': None, 'SESSION_COOKIE_PATH': None, 'SESSION_COOKIE_HTTPONLY': True, 'SESSION_COOKIE_SECURE': False, 'MAX_CONTENT_LENGTH': None, 'SEND_FILE_MAX_AGE_DEFAULT': 12 * 60 * 60, # 12 hours 'TRAP_BAD_REQUEST_ERRORS': False, 'TRAP_HTTP_EXCEPTIONS': False, 'PREFERRED_URL_SCHEME': 'http', 'JSON_AS_ASCII': True, 'JSON_SORT_KEYS': True, 'JSONIFY_PRETTYPRINT_REGULAR': True, }) #: The rule object to use for URL rules created. This is used by #: :meth:`add_url_rule`. Defaults to :class:`werkzeug.routing.Rule`. #: #: .. versionadded:: 0.7 url_rule_class = Rule #: the test client that is used with when `test_client` is used. #: #: .. versionadded:: 0.7 test_client_class = None #: the session interface to use. By default an instance of #: :class:`~flask.sessions.SecureCookieSessionInterface` is used here. #: #: .. versionadded:: 0.8 session_interface = SecureCookieSessionInterface() def __init__(self, import_name, static_path=None, static_url_path=None, static_folder='static', template_folder='templates', instance_path=None, instance_relative_config=False): _PackageBoundObject.__init__(self, import_name, template_folder=template_folder) if static_path is not None: from warnings import warn warn(DeprecationWarning('static_path is now called ' 'static_url_path'), stacklevel=2) static_url_path = static_path if static_url_path is not None: self.static_url_path = static_url_path if static_folder is not None: self.static_folder = static_folder if instance_path is None: instance_path = self.auto_find_instance_path() elif not os.path.isabs(instance_path): raise ValueError('If an instance path is provided it must be ' 'absolute. A relative path was given instead.') #: Holds the path to the instance folder. #: #: .. versionadded:: 0.8 self.instance_path = instance_path #: The configuration dictionary as :class:`Config`. This behaves #: exactly like a regular dictionary but supports additional methods #: to load a config from files. self.config = self.make_config(instance_relative_config) # Prepare the deferred setup of the logger. self._logger = None self.logger_name = self.import_name #: A dictionary of all view functions registered. The keys will #: be function names which are also used to generate URLs and #: the values are the function objects themselves. #: To register a view function, use the :meth:`route` decorator. self.view_functions = {} # support for the now deprecated `error_handlers` attribute. The # :attr:`error_handler_spec` shall be used now. self._error_handlers = {} #: A dictionary of all registered error handlers. The key is `None` #: for error handlers active on the application, otherwise the key is #: the name of the blueprint. Each key points to another dictionary #: where they key is the status code of the http exception. The #: special key `None` points to a list of tuples where the first item #: is the class for the instance check and the second the error handler #: function. #: #: To register a error handler, use the :meth:`errorhandler` #: decorator. self.error_handler_spec = {None: self._error_handlers} #: A list of functions that are called when :meth:`url_for` raises a #: :exc:`~werkzeug.routing.BuildError`. Each function registered here #: is called with `error`, `endpoint` and `values`. If a function #: returns `None` or raises a `BuildError` the next function is #: tried. #: #: .. versionadded:: 0.9 self.url_build_error_handlers = [] #: A dictionary with lists of functions that should be called at the #: beginning of the request. The key of the dictionary is the name of #: the blueprint this function is active for, `None` for all requests. #: This can for example be used to open database connections or #: getting hold of the currently logged in user. To register a #: function here, use the :meth:`before_request` decorator. self.before_request_funcs = {} #: A lists of functions that should be called at the beginning of the #: first request to this instance. To register a function here, use #: the :meth:`before_first_request` decorator. #: #: .. versionadded:: 0.8 self.before_first_request_funcs = [] #: A dictionary with lists of functions that should be called after #: each request. The key of the dictionary is the name of the blueprint #: this function is active for, `None` for all requests. This can for #: example be used to open database connections or getting hold of the #: currently logged in user. To register a function here, use the #: :meth:`after_request` decorator. self.after_request_funcs = {} #: A dictionary with lists of functions that are called after #: each request, even if an exception has occurred. The key of the #: dictionary is the name of the blueprint this function is active for, #: `None` for all requests. These functions are not allowed to modify #: the request, and their return values are ignored. If an exception #: occurred while processing the request, it gets passed to each #: teardown_request function. To register a function here, use the #: :meth:`teardown_request` decorator. #: #: .. versionadded:: 0.7 self.teardown_request_funcs = {} #: A list of functions that are called when the application context #: is destroyed. Since the application context is also torn down #: if the request ends this is the place to store code that disconnects #: from databases. #: #: .. versionadded:: 0.9 self.teardown_appcontext_funcs = [] #: A dictionary with lists of functions that can be used as URL #: value processor functions. Whenever a URL is built these functions #: are called to modify the dictionary of values in place. The key #: `None` here is used for application wide #: callbacks, otherwise the key is the name of the blueprint. #: Each of these functions has the chance to modify the dictionary #: #: .. versionadded:: 0.7 self.url_value_preprocessors = {} #: A dictionary with lists of functions that can be used as URL value #: preprocessors. The key `None` here is used for application wide #: callbacks, otherwise the key is the name of the blueprint. #: Each of these functions has the chance to modify the dictionary #: of URL values before they are used as the keyword arguments of the #: view function. For each function registered this one should also #: provide a :meth:`url_defaults` function that adds the parameters #: automatically again that were removed that way. #: #: .. versionadded:: 0.7 self.url_default_functions = {} #: A dictionary with list of functions that are called without argument #: to populate the template context. The key of the dictionary is the #: name of the blueprint this function is active for, `None` for all #: requests. Each returns a dictionary that the template context is #: updated with. To register a function here, use the #: :meth:`context_processor` decorator. self.template_context_processors = { None: [_default_template_ctx_processor] } #: all the attached blueprints in a dictionary by name. Blueprints #: can be attached multiple times so this dictionary does not tell #: you how often they got attached. #: #: .. versionadded:: 0.7 self.blueprints = {} #: a place where extensions can store application specific state. For #: example this is where an extension could store database engines and #: similar things. For backwards compatibility extensions should register #: themselves like this:: #: #: if not hasattr(app, 'extensions'): #: app.extensions = {} #: app.extensions['extensionname'] = SomeObject() #: #: The key must match the name of the `flaskext` module. For example in #: case of a "Flask-Foo" extension in `flaskext.foo`, the key would be #: ``'foo'``. #: #: .. versionadded:: 0.7 self.extensions = {} #: The :class:`~werkzeug.routing.Map` for this instance. You can use #: this to change the routing converters after the class was created #: but before any routes are connected. Example:: #: #: from werkzeug.routing import BaseConverter #: #: class ListConverter(BaseConverter): #: def to_python(self, value): #: return value.split(',') #: def to_url(self, values): #: return ','.join(BaseConverter.to_url(value) #: for value in values) #: #: app = Flask(__name__) #: app.url_map.converters['list'] = ListConverter self.url_map = Map() # tracks internally if the application already handled at least one # request. self._got_first_request = False self._before_request_lock = Lock() # register the static folder for the application. Do that even # if the folder does not exist. First of all it might be created # while the server is running (usually happens during development) # but also because google appengine stores static files somewhere # else when mapped with the .yml file. if self.has_static_folder: self.add_url_rule(self.static_url_path + '/', endpoint='static', view_func=self.send_static_file) def _get_error_handlers(self): from warnings import warn warn(DeprecationWarning('error_handlers is deprecated, use the ' 'new error_handler_spec attribute instead.'), stacklevel=1) return self._error_handlers def _set_error_handlers(self, value): self._error_handlers = value self.error_handler_spec[None] = value error_handlers = property(_get_error_handlers, _set_error_handlers) del _get_error_handlers, _set_error_handlers @locked_cached_property def name(self): """The name of the application. This is usually the import name with the difference that it's guessed from the run file if the import name is main. This name is used as a display name when Flask needs the name of the application. It can be set and overridden to change the value. .. versionadded:: 0.8 """ if self.import_name == '__main__': fn = getattr(sys.modules['__main__'], '__file__', None) if fn is None: return '__main__' return os.path.splitext(os.path.basename(fn))[0] return self.import_name @property def propagate_exceptions(self): """Returns the value of the `PROPAGATE_EXCEPTIONS` configuration value in case it's set, otherwise a sensible default is returned. .. versionadded:: 0.7 """ rv = self.config['PROPAGATE_EXCEPTIONS'] if rv is not None: return rv return self.testing or self.debug @property def preserve_context_on_exception(self): """Returns the value of the `PRESERVE_CONTEXT_ON_EXCEPTION` configuration value in case it's set, otherwise a sensible default is returned. .. versionadded:: 0.7 """ rv = self.config['PRESERVE_CONTEXT_ON_EXCEPTION'] if rv is not None: return rv return self.debug @property def logger(self): """A :class:`logging.Logger` object for this application. The default configuration is to log to stderr if the application is in debug mode. This logger can be used to (surprise) log messages. Here some examples:: app.logger.debug('A value for debugging') app.logger.warning('A warning occurred (%d apples)', 42) app.logger.error('An error occurred') .. versionadded:: 0.3 """ if self._logger and self._logger.name == self.logger_name: return self._logger with _logger_lock: if self._logger and self._logger.name == self.logger_name: return self._logger from flask.logging import create_logger self._logger = rv = create_logger(self) return rv @locked_cached_property def jinja_env(self): """The Jinja2 environment used to load templates.""" return self.create_jinja_environment() @property def got_first_request(self): """This attribute is set to `True` if the application started handling the first request. .. versionadded:: 0.8 """ return self._got_first_request def make_config(self, instance_relative=False): """Used to create the config attribute by the Flask constructor. The `instance_relative` parameter is passed in from the constructor of Flask (there named `instance_relative_config`) and indicates if the config should be relative to the instance path or the root path of the application. .. versionadded:: 0.8 """ root_path = self.root_path if instance_relative: root_path = self.instance_path return Config(root_path, self.default_config) def auto_find_instance_path(self): """Tries to locate the instance path if it was not provided to the constructor of the application class. It will basically calculate the path to a folder named ``instance`` next to your main file or the package. .. versionadded:: 0.8 """ prefix, package_path = find_package(self.import_name) if prefix is None: return os.path.join(package_path, 'instance') return os.path.join(prefix, 'var', self.name + '-instance') def open_instance_resource(self, resource, mode='rb'): """Opens a resource from the application's instance folder (:attr:`instance_path`). Otherwise works like :meth:`open_resource`. Instance resources can also be opened for writing. :param resource: the name of the resource. To access resources within subfolders use forward slashes as separator. :param mode: resource file opening mode, default is 'rb'. """ return open(os.path.join(self.instance_path, resource), mode) def create_jinja_environment(self): """Creates the Jinja2 environment based on :attr:`jinja_options` and :meth:`select_jinja_autoescape`. Since 0.7 this also adds the Jinja2 globals and filters after initialization. Override this function to customize the behavior. .. versionadded:: 0.5 """ options = dict(self.jinja_options) if 'autoescape' not in options: options['autoescape'] = self.select_jinja_autoescape rv = Environment(self, **options) rv.globals.update( url_for=url_for, get_flashed_messages=get_flashed_messages, config=self.config, # request, session and g are normally added with the # context processor for efficiency reasons but for imported # templates we also want the proxies in there. request=request, session=session, g=g ) rv.filters['tojson'] = json.tojson_filter return rv def create_global_jinja_loader(self): """Creates the loader for the Jinja2 environment. Can be used to override just the loader and keeping the rest unchanged. It's discouraged to override this function. Instead one should override the :meth:`jinja_loader` function instead. The global loader dispatches between the loaders of the application and the individual blueprints. .. versionadded:: 0.7 """ return DispatchingJinjaLoader(self) def init_jinja_globals(self): """Deprecated. Used to initialize the Jinja2 globals. .. versionadded:: 0.5 .. versionchanged:: 0.7 This method is deprecated with 0.7. Override :meth:`create_jinja_environment` instead. """ def select_jinja_autoescape(self, filename): """Returns `True` if autoescaping should be active for the given template name. .. versionadded:: 0.5 """ if filename is None: return False return filename.endswith(('.html', '.htm', '.xml', '.xhtml')) def update_template_context(self, context): """Update the template context with some commonly used variables. This injects request, session, config and g into the template context as well as everything template context processors want to inject. Note that the as of Flask 0.6, the original values in the context will not be overridden if a context processor decides to return a value with the same key. :param context: the context as a dictionary that is updated in place to add extra variables. """ funcs = self.template_context_processors[None] reqctx = _request_ctx_stack.top if reqctx is not None: bp = reqctx.request.blueprint if bp is not None and bp in self.template_context_processors: funcs = chain(funcs, self.template_context_processors[bp]) orig_ctx = context.copy() for func in funcs: context.update(func()) # make sure the original values win. This makes it possible to # easier add new variables in context processors without breaking # existing views. context.update(orig_ctx) def run(self, host=None, port=None, debug=None, **options): """Runs the application on a local development server. If the :attr:`debug` flag is set the server will automatically reload for code changes and show a debugger in case an exception happened. If you want to run the application in debug mode, but disable the code execution on the interactive debugger, you can pass ``use_evalex=False`` as parameter. This will keep the debugger's traceback screen active, but disable code execution. .. admonition:: Keep in Mind Flask will suppress any server error with a generic error page unless it is in debug mode. As such to enable just the interactive debugger without the code reloading, you have to invoke :meth:`run` with ``debug=True`` and ``use_reloader=False``. Setting ``use_debugger`` to `True` without being in debug mode won't catch any exceptions because there won't be any to catch. .. versionchanged:: 0.10 The default port is now picked from the ``SERVER_NAME`` variable. :param host: the hostname to listen on. Set this to ``'0.0.0.0'`` to have the server available externally as well. Defaults to ``'127.0.0.1'``. :param port: the port of the webserver. Defaults to ``5000`` or the port defined in the ``SERVER_NAME`` config variable if present. :param debug: if given, enable or disable debug mode. See :attr:`debug`. :param options: the options to be forwarded to the underlying Werkzeug server. See :func:`werkzeug.serving.run_simple` for more information. """ from werkzeug.serving import run_simple if host is None: host = '127.0.0.1' if port is None: server_name = self.config['SERVER_NAME'] if server_name and ':' in server_name: port = int(server_name.rsplit(':', 1)[1]) else: port = 5000 if debug is not None: self.debug = bool(debug) options.setdefault('use_reloader', self.debug) options.setdefault('use_debugger', self.debug) try: run_simple(host, port, self, **options) finally: # reset the first request information if the development server # resetted normally. This makes it possible to restart the server # without reloader and that stuff from an interactive shell. self._got_first_request = False def test_client(self, use_cookies=True): """Creates a test client for this application. For information about unit testing head over to :ref:`testing`. Note that if you are testing for assertions or exceptions in your application code, you must set ``app.testing = True`` in order for the exceptions to propagate to the test client. Otherwise, the exception will be handled by the application (not visible to the test client) and the only indication of an AssertionError or other exception will be a 500 status code response to the test client. See the :attr:`testing` attribute. For example:: app.testing = True client = app.test_client() The test client can be used in a `with` block to defer the closing down of the context until the end of the `with` block. This is useful if you want to access the context locals for testing:: with app.test_client() as c: rv = c.get('/?vodka=42') assert request.args['vodka'] == '42' See :class:`~flask.testing.FlaskClient` for more information. .. versionchanged:: 0.4 added support for `with` block usage for the client. .. versionadded:: 0.7 The `use_cookies` parameter was added as well as the ability to override the client to be used by setting the :attr:`test_client_class` attribute. """ cls = self.test_client_class if cls is None: from flask.testing import FlaskClient as cls return cls(self, self.response_class, use_cookies=use_cookies) def open_session(self, request): """Creates or opens a new session. Default implementation stores all session data in a signed cookie. This requires that the :attr:`secret_key` is set. Instead of overriding this method we recommend replacing the :class:`session_interface`. :param request: an instance of :attr:`request_class`. """ return self.session_interface.open_session(self, request) def save_session(self, session, response): """Saves the session if it needs updates. For the default implementation, check :meth:`open_session`. Instead of overriding this method we recommend replacing the :class:`session_interface`. :param session: the session to be saved (a :class:`~werkzeug.contrib.securecookie.SecureCookie` object) :param response: an instance of :attr:`response_class` """ return self.session_interface.save_session(self, session, response) def make_null_session(self): """Creates a new instance of a missing session. Instead of overriding this method we recommend replacing the :class:`session_interface`. .. versionadded:: 0.7 """ return self.session_interface.make_null_session(self) def register_module(self, module, **options): """Registers a module with this application. The keyword argument of this function are the same as the ones for the constructor of the :class:`Module` class and will override the values of the module if provided. .. versionchanged:: 0.7 The module system was deprecated in favor for the blueprint system. """ assert blueprint_is_module(module), 'register_module requires ' \ 'actual module objects. Please upgrade to blueprints though.' if not self.enable_modules: raise RuntimeError('Module support was disabled but code ' 'attempted to register a module named %r' % module) else: from warnings import warn warn(DeprecationWarning('Modules are deprecated. Upgrade to ' 'using blueprints. Have a look into the documentation for ' 'more information. If this module was registered by a ' 'Flask-Extension upgrade the extension or contact the author ' 'of that extension instead. (Registered %r)' % module), stacklevel=2) self.register_blueprint(module, **options) @setupmethod def register_blueprint(self, blueprint, **options): """Registers a blueprint on the application. .. versionadded:: 0.7 """ first_registration = False if blueprint.name in self.blueprints: assert self.blueprints[blueprint.name] is blueprint, \ 'A blueprint\'s name collision occurred between %r and ' \ '%r. Both share the same name "%s". Blueprints that ' \ 'are created on the fly need unique names.' % \ (blueprint, self.blueprints[blueprint.name], blueprint.name) else: self.blueprints[blueprint.name] = blueprint first_registration = True blueprint.register(self, options, first_registration) @setupmethod def add_url_rule(self, rule, endpoint=None, view_func=None, **options): """Connects a URL rule. Works exactly like the :meth:`route` decorator. If a view_func is provided it will be registered with the endpoint. Basically this example:: @app.route('/') def index(): pass Is equivalent to the following:: def index(): pass app.add_url_rule('/', 'index', index) If the view_func is not provided you will need to connect the endpoint to a view function like so:: app.view_functions['index'] = index Internally :meth:`route` invokes :meth:`add_url_rule` so if you want to customize the behavior via subclassing you only need to change this method. For more information refer to :ref:`url-route-registrations`. .. versionchanged:: 0.2 `view_func` parameter added. .. versionchanged:: 0.6 `OPTIONS` is added automatically as method. :param rule: the URL rule as string :param endpoint: the endpoint for the registered URL rule. Flask itself assumes the name of the view function as endpoint :param view_func: the function to call when serving a request to the provided endpoint :param options: the options to be forwarded to the underlying :class:`~werkzeug.routing.Rule` object. A change to Werkzeug is handling of method options. methods is a list of methods this rule should be limited to (`GET`, `POST` etc.). By default a rule just listens for `GET` (and implicitly `HEAD`). Starting with Flask 0.6, `OPTIONS` is implicitly added and handled by the standard request handling. """ if endpoint is None: endpoint = _endpoint_from_view_func(view_func) options['endpoint'] = endpoint methods = options.pop('methods', None) # if the methods are not given and the view_func object knows its # methods we can use that instead. If neither exists, we go with # a tuple of only `GET` as default. if methods is None: methods = getattr(view_func, 'methods', None) or ('GET',) methods = set(methods) # Methods that should always be added required_methods = set(getattr(view_func, 'required_methods', ())) # starting with Flask 0.8 the view_func object can disable and # force-enable the automatic options handling. provide_automatic_options = getattr(view_func, 'provide_automatic_options', None) if provide_automatic_options is None: if 'OPTIONS' not in methods: provide_automatic_options = True required_methods.add('OPTIONS') else: provide_automatic_options = False # Add the required methods now. methods |= required_methods # due to a werkzeug bug we need to make sure that the defaults are # None if they are an empty dictionary. This should not be necessary # with Werkzeug 0.7 options['defaults'] = options.get('defaults') or None rule = self.url_rule_class(rule, methods=methods, **options) rule.provide_automatic_options = provide_automatic_options self.url_map.add(rule) if view_func is not None: old_func = self.view_functions.get(endpoint) if old_func is not None and old_func != view_func: raise AssertionError('View function mapping is overwriting an ' 'existing endpoint function: %s' % endpoint) self.view_functions[endpoint] = view_func def route(self, rule, **options): """A decorator that is used to register a view function for a given URL rule. This does the same thing as :meth:`add_url_rule` but is intended for decorator usage:: @app.route('/') def index(): return 'Hello World' For more information refer to :ref:`url-route-registrations`. :param rule: the URL rule as string :param endpoint: the endpoint for the registered URL rule. Flask itself assumes the name of the view function as endpoint :param options: the options to be forwarded to the underlying :class:`~werkzeug.routing.Rule` object. A change to Werkzeug is handling of method options. methods is a list of methods this rule should be limited to (`GET`, `POST` etc.). By default a rule just listens for `GET` (and implicitly `HEAD`). Starting with Flask 0.6, `OPTIONS` is implicitly added and handled by the standard request handling. """ def decorator(f): endpoint = options.pop('endpoint', None) self.add_url_rule(rule, endpoint, f, **options) return f return decorator @setupmethod def endpoint(self, endpoint): """A decorator to register a function as an endpoint. Example:: @app.endpoint('example.endpoint') def example(): return "example" :param endpoint: the name of the endpoint """ def decorator(f): self.view_functions[endpoint] = f return f return decorator @setupmethod def errorhandler(self, code_or_exception): """A decorator that is used to register a function give a given error code. Example:: @app.errorhandler(404) def page_not_found(error): return 'This page does not exist', 404 You can also register handlers for arbitrary exceptions:: @app.errorhandler(DatabaseError) def special_exception_handler(error): return 'Database connection failed', 500 You can also register a function as error handler without using the :meth:`errorhandler` decorator. The following example is equivalent to the one above:: def page_not_found(error): return 'This page does not exist', 404 app.error_handler_spec[None][404] = page_not_found Setting error handlers via assignments to :attr:`error_handler_spec` however is discouraged as it requires fiddling with nested dictionaries and the special case for arbitrary exception types. The first `None` refers to the active blueprint. If the error handler should be application wide `None` shall be used. .. versionadded:: 0.7 One can now additionally also register custom exception types that do not necessarily have to be a subclass of the :class:`~werkzeug.exceptions.HTTPException` class. :param code: the code as integer for the handler """ def decorator(f): self._register_error_handler(None, code_or_exception, f) return f return decorator def register_error_handler(self, code_or_exception, f): """Alternative error attach function to the :meth:`errorhandler` decorator that is more straightforward to use for non decorator usage. .. versionadded:: 0.7 """ self._register_error_handler(None, code_or_exception, f) @setupmethod def _register_error_handler(self, key, code_or_exception, f): if isinstance(code_or_exception, HTTPException): code_or_exception = code_or_exception.code if isinstance(code_or_exception, integer_types): assert code_or_exception != 500 or key is None, \ 'It is currently not possible to register a 500 internal ' \ 'server error on a per-blueprint level.' self.error_handler_spec.setdefault(key, {})[code_or_exception] = f else: self.error_handler_spec.setdefault(key, {}).setdefault(None, []) \ .append((code_or_exception, f)) @setupmethod def template_filter(self, name=None): """A decorator that is used to register custom template filter. You can specify a name for the filter, otherwise the function name will be used. Example:: @app.template_filter() def reverse(s): return s[::-1] :param name: the optional name of the filter, otherwise the function name will be used. """ def decorator(f): self.add_template_filter(f, name=name) return f return decorator @setupmethod def add_template_filter(self, f, name=None): """Register a custom template filter. Works exactly like the :meth:`template_filter` decorator. :param name: the optional name of the filter, otherwise the function name will be used. """ self.jinja_env.filters[name or f.__name__] = f @setupmethod def template_test(self, name=None): """A decorator that is used to register custom template test. You can specify a name for the test, otherwise the function name will be used. Example:: @app.template_test() def is_prime(n): if n == 2: return True for i in range(2, int(math.ceil(math.sqrt(n))) + 1): if n % i == 0: return False return True .. versionadded:: 0.10 :param name: the optional name of the test, otherwise the function name will be used. """ def decorator(f): self.add_template_test(f, name=name) return f return decorator @setupmethod def add_template_test(self, f, name=None): """Register a custom template test. Works exactly like the :meth:`template_test` decorator. .. versionadded:: 0.10 :param name: the optional name of the test, otherwise the function name will be used. """ self.jinja_env.tests[name or f.__name__] = f @setupmethod def template_global(self, name=None): """A decorator that is used to register a custom template global function. You can specify a name for the global function, otherwise the function name will be used. Example:: @app.template_global() def double(n): return 2 * n .. versionadded:: 0.10 :param name: the optional name of the global function, otherwise the function name will be used. """ def decorator(f): self.add_template_global(f, name=name) return f return decorator @setupmethod def add_template_global(self, f, name=None): """Register a custom template global function. Works exactly like the :meth:`template_global` decorator. .. versionadded:: 0.10 :param name: the optional name of the global function, otherwise the function name will be used. """ self.jinja_env.globals[name or f.__name__] = f @setupmethod def before_request(self, f): """Registers a function to run before each request.""" self.before_request_funcs.setdefault(None, []).append(f) return f @setupmethod def before_first_request(self, f): """Registers a function to be run before the first request to this instance of the application. .. versionadded:: 0.8 """ self.before_first_request_funcs.append(f) @setupmethod def after_request(self, f): """Register a function to be run after each request. Your function must take one parameter, a :attr:`response_class` object and return a new response object or the same (see :meth:`process_response`). As of Flask 0.7 this function might not be executed at the end of the request in case an unhandled exception occurred. """ self.after_request_funcs.setdefault(None, []).append(f) return f @setupmethod def teardown_request(self, f): """Register a function to be run at the end of each request, regardless of whether there was an exception or not. These functions are executed when the request context is popped, even if not an actual request was performed. Example:: ctx = app.test_request_context() ctx.push() ... ctx.pop() When ``ctx.pop()`` is executed in the above example, the teardown functions are called just before the request context moves from the stack of active contexts. This becomes relevant if you are using such constructs in tests. Generally teardown functions must take every necessary step to avoid that they will fail. If they do execute code that might fail they will have to surround the execution of these code by try/except statements and log occurring errors. When a teardown function was called because of a exception it will be passed an error object. .. admonition:: Debug Note In debug mode Flask will not tear down a request on an exception immediately. Instead if will keep it alive so that the interactive debugger can still access it. This behavior can be controlled by the ``PRESERVE_CONTEXT_ON_EXCEPTION`` configuration variable. """ self.teardown_request_funcs.setdefault(None, []).append(f) return f @setupmethod def teardown_appcontext(self, f): """Registers a function to be called when the application context ends. These functions are typically also called when the request context is popped. Example:: ctx = app.app_context() ctx.push() ... ctx.pop() When ``ctx.pop()`` is executed in the above example, the teardown functions are called just before the app context moves from the stack of active contexts. This becomes relevant if you are using such constructs in tests. Since a request context typically also manages an application context it would also be called when you pop a request context. When a teardown function was called because of an exception it will be passed an error object. .. versionadded:: 0.9 """ self.teardown_appcontext_funcs.append(f) return f @setupmethod def context_processor(self, f): """Registers a template context processor function.""" self.template_context_processors[None].append(f) return f @setupmethod def url_value_preprocessor(self, f): """Registers a function as URL value preprocessor for all view functions of the application. It's called before the view functions are called and can modify the url values provided. """ self.url_value_preprocessors.setdefault(None, []).append(f) return f @setupmethod def url_defaults(self, f): """Callback function for URL defaults for all view functions of the application. It's called with the endpoint and values and should update the values passed in place. """ self.url_default_functions.setdefault(None, []).append(f) return f def handle_http_exception(self, e): """Handles an HTTP exception. By default this will invoke the registered error handlers and fall back to returning the exception as response. .. versionadded:: 0.3 """ handlers = self.error_handler_spec.get(request.blueprint) # Proxy exceptions don't have error codes. We want to always return # those unchanged as errors if e.code is None: return e if handlers and e.code in handlers: handler = handlers[e.code] else: handler = self.error_handler_spec[None].get(e.code) if handler is None: return e return handler(e) def trap_http_exception(self, e): """Checks if an HTTP exception should be trapped or not. By default this will return `False` for all exceptions except for a bad request key error if ``TRAP_BAD_REQUEST_ERRORS`` is set to `True`. It also returns `True` if ``TRAP_HTTP_EXCEPTIONS`` is set to `True`. This is called for all HTTP exceptions raised by a view function. If it returns `True` for any exception the error handler for this exception is not called and it shows up as regular exception in the traceback. This is helpful for debugging implicitly raised HTTP exceptions. .. versionadded:: 0.8 """ if self.config['TRAP_HTTP_EXCEPTIONS']: return True if self.config['TRAP_BAD_REQUEST_ERRORS']: return isinstance(e, BadRequest) return False def handle_user_exception(self, e): """This method is called whenever an exception occurs that should be handled. A special case are :class:`~werkzeug.exception.HTTPException`\s which are forwarded by this function to the :meth:`handle_http_exception` method. This function will either return a response value or reraise the exception with the same traceback. .. versionadded:: 0.7 """ exc_type, exc_value, tb = sys.exc_info() assert exc_value is e # ensure not to trash sys.exc_info() at that point in case someone # wants the traceback preserved in handle_http_exception. Of course # we cannot prevent users from trashing it themselves in a custom # trap_http_exception method so that's their fault then. if isinstance(e, HTTPException) and not self.trap_http_exception(e): return self.handle_http_exception(e) blueprint_handlers = () handlers = self.error_handler_spec.get(request.blueprint) if handlers is not None: blueprint_handlers = handlers.get(None, ()) app_handlers = self.error_handler_spec[None].get(None, ()) for typecheck, handler in chain(blueprint_handlers, app_handlers): if isinstance(e, typecheck): return handler(e) reraise(exc_type, exc_value, tb) def handle_exception(self, e): """Default exception handling that kicks in when an exception occurs that is not caught. In debug mode the exception will be re-raised immediately, otherwise it is logged and the handler for a 500 internal server error is used. If no such handler exists, a default 500 internal server error message is displayed. .. versionadded:: 0.3 """ exc_type, exc_value, tb = sys.exc_info() got_request_exception.send(self, exception=e) handler = self.error_handler_spec[None].get(500) if self.propagate_exceptions: # if we want to repropagate the exception, we can attempt to # raise it with the whole traceback in case we can do that # (the function was actually called from the except part) # otherwise, we just raise the error again if exc_value is e: reraise(exc_type, exc_value, tb) else: raise e self.log_exception((exc_type, exc_value, tb)) if handler is None: return InternalServerError() return handler(e) def log_exception(self, exc_info): """Logs an exception. This is called by :meth:`handle_exception` if debugging is disabled and right before the handler is called. The default implementation logs the exception as error on the :attr:`logger`. .. versionadded:: 0.8 """ self.logger.error('Exception on %s [%s]' % ( request.path, request.method ), exc_info=exc_info) def raise_routing_exception(self, request): """Exceptions that are recording during routing are reraised with this method. During debug we are not reraising redirect requests for non ``GET``, ``HEAD``, or ``OPTIONS`` requests and we're raising a different error instead to help debug situations. :internal: """ if not self.debug \ or not isinstance(request.routing_exception, RequestRedirect) \ or request.method in ('GET', 'HEAD', 'OPTIONS'): raise request.routing_exception from .debughelpers import FormDataRoutingRedirect raise FormDataRoutingRedirect(request) def dispatch_request(self): """Does the request dispatching. Matches the URL and returns the return value of the view or error handler. This does not have to be a response object. In order to convert the return value to a proper response object, call :func:`make_response`. .. versionchanged:: 0.7 This no longer does the exception handling, this code was moved to the new :meth:`full_dispatch_request`. """ req = _request_ctx_stack.top.request if req.routing_exception is not None: self.raise_routing_exception(req) rule = req.url_rule # if we provide automatic options for this URL and the # request came with the OPTIONS method, reply automatically if getattr(rule, 'provide_automatic_options', False) \ and req.method == 'OPTIONS': return self.make_default_options_response() # otherwise dispatch to the handler for that endpoint return self.view_functions[rule.endpoint](**req.view_args) def full_dispatch_request(self): """Dispatches the request and on top of that performs request pre and postprocessing as well as HTTP exception catching and error handling. .. versionadded:: 0.7 """ self.try_trigger_before_first_request_functions() try: request_started.send(self) rv = self.preprocess_request() if rv is None: rv = self.dispatch_request() except Exception as e: rv = self.handle_user_exception(e) response = self.make_response(rv) response = self.process_response(response) request_finished.send(self, response=response) return response def try_trigger_before_first_request_functions(self): """Called before each request and will ensure that it triggers the :attr:`before_first_request_funcs` and only exactly once per application instance (which means process usually). :internal: """ if self._got_first_request: return with self._before_request_lock: if self._got_first_request: return self._got_first_request = True for func in self.before_first_request_funcs: func() def make_default_options_response(self): """This method is called to create the default `OPTIONS` response. This can be changed through subclassing to change the default behavior of `OPTIONS` responses. .. versionadded:: 0.7 """ adapter = _request_ctx_stack.top.url_adapter if hasattr(adapter, 'allowed_methods'): methods = adapter.allowed_methods() else: # fallback for Werkzeug < 0.7 methods = [] try: adapter.match(method='--') except MethodNotAllowed as e: methods = e.valid_methods except HTTPException as e: pass rv = self.response_class() rv.allow.update(methods) return rv def should_ignore_error(self, error): """This is called to figure out if an error should be ignored or not as far as the teardown system is concerned. If this function returns `True` then the teardown handlers will not be passed the error. .. versionadded:: 0.10 """ return False def make_response(self, rv): """Converts the return value from a view function to a real response object that is an instance of :attr:`response_class`. The following types are allowed for `rv`: .. tabularcolumns:: |p{3.5cm}|p{9.5cm}| ======================= =========================================== :attr:`response_class` the object is returned unchanged :class:`str` a response object is created with the string as body :class:`unicode` a response object is created with the string encoded to utf-8 as body a WSGI function the function is called as WSGI application and buffered as response object :class:`tuple` A tuple in the form ``(response, status, headers)`` where `response` is any of the types defined here, `status` is a string or an integer and `headers` is a list of a dictionary with header values. ======================= =========================================== :param rv: the return value from the view function .. versionchanged:: 0.9 Previously a tuple was interpreted as the arguments for the response object. """ status = headers = None if isinstance(rv, tuple): rv, status, headers = rv + (None,) * (3 - len(rv)) if rv is None: raise ValueError('View function did not return a response') if not isinstance(rv, self.response_class): # When we create a response object directly, we let the constructor # set the headers and status. We do this because there can be # some extra logic involved when creating these objects with # specific values (like default content type selection). if isinstance(rv, (text_type, bytes, bytearray)): rv = self.response_class(rv, headers=headers, status=status) headers = status = None else: rv = self.response_class.force_type(rv, request.environ) if status is not None: if isinstance(status, string_types): rv.status = status else: rv.status_code = status if headers: rv.headers.extend(headers) return rv def create_url_adapter(self, request): """Creates a URL adapter for the given request. The URL adapter is created at a point where the request context is not yet set up so the request is passed explicitly. .. versionadded:: 0.6 .. versionchanged:: 0.9 This can now also be called without a request object when the URL adapter is created for the application context. """ if request is not None: return self.url_map.bind_to_environ(request.environ, server_name=self.config['SERVER_NAME']) # We need at the very least the server name to be set for this # to work. if self.config['SERVER_NAME'] is not None: return self.url_map.bind( self.config['SERVER_NAME'], script_name=self.config['APPLICATION_ROOT'] or '/', url_scheme=self.config['PREFERRED_URL_SCHEME']) def inject_url_defaults(self, endpoint, values): """Injects the URL defaults for the given endpoint directly into the values dictionary passed. This is used internally and automatically called on URL building. .. versionadded:: 0.7 """ funcs = self.url_default_functions.get(None, ()) if '.' in endpoint: bp = endpoint.rsplit('.', 1)[0] funcs = chain(funcs, self.url_default_functions.get(bp, ())) for func in funcs: func(endpoint, values) def handle_url_build_error(self, error, endpoint, values): """Handle :class:`~werkzeug.routing.BuildError` on :meth:`url_for`. """ exc_type, exc_value, tb = sys.exc_info() for handler in self.url_build_error_handlers: try: rv = handler(error, endpoint, values) if rv is not None: return rv except BuildError as error: pass # At this point we want to reraise the exception. If the error is # still the same one we can reraise it with the original traceback, # otherwise we raise it from here. if error is exc_value: reraise(exc_type, exc_value, tb) raise error def preprocess_request(self): """Called before the actual request dispatching and will call every as :meth:`before_request` decorated function. If any of these function returns a value it's handled as if it was the return value from the view and further request handling is stopped. This also triggers the :meth:`url_value_processor` functions before the actual :meth:`before_request` functions are called. """ bp = _request_ctx_stack.top.request.blueprint funcs = self.url_value_preprocessors.get(None, ()) if bp is not None and bp in self.url_value_preprocessors: funcs = chain(funcs, self.url_value_preprocessors[bp]) for func in funcs: func(request.endpoint, request.view_args) funcs = self.before_request_funcs.get(None, ()) if bp is not None and bp in self.before_request_funcs: funcs = chain(funcs, self.before_request_funcs[bp]) for func in funcs: rv = func() if rv is not None: return rv def process_response(self, response): """Can be overridden in order to modify the response object before it's sent to the WSGI server. By default this will call all the :meth:`after_request` decorated functions. .. versionchanged:: 0.5 As of Flask 0.5 the functions registered for after request execution are called in reverse order of registration. :param response: a :attr:`response_class` object. :return: a new response object or the same, has to be an instance of :attr:`response_class`. """ ctx = _request_ctx_stack.top bp = ctx.request.blueprint funcs = ctx._after_request_functions if bp is not None and bp in self.after_request_funcs: funcs = chain(funcs, reversed(self.after_request_funcs[bp])) if None in self.after_request_funcs: funcs = chain(funcs, reversed(self.after_request_funcs[None])) for handler in funcs: response = handler(response) if not self.session_interface.is_null_session(ctx.session): self.save_session(ctx.session, response) return response def do_teardown_request(self, exc=None): """Called after the actual request dispatching and will call every as :meth:`teardown_request` decorated function. This is not actually called by the :class:`Flask` object itself but is always triggered when the request context is popped. That way we have a tighter control over certain resources under testing environments. .. versionchanged:: 0.9 Added the `exc` argument. Previously this was always using the current exception information. """ if exc is None: exc = sys.exc_info()[1] funcs = reversed(self.teardown_request_funcs.get(None, ())) bp = _request_ctx_stack.top.request.blueprint if bp is not None and bp in self.teardown_request_funcs: funcs = chain(funcs, reversed(self.teardown_request_funcs[bp])) for func in funcs: rv = func(exc) request_tearing_down.send(self, exc=exc) def do_teardown_appcontext(self, exc=None): """Called when an application context is popped. This works pretty much the same as :meth:`do_teardown_request` but for the application context. .. versionadded:: 0.9 """ if exc is None: exc = sys.exc_info()[1] for func in reversed(self.teardown_appcontext_funcs): func(exc) appcontext_tearing_down.send(self, exc=exc) def app_context(self): """Binds the application only. For as long as the application is bound to the current context the :data:`flask.current_app` points to that application. An application context is automatically created when a request context is pushed if necessary. Example usage:: with app.app_context(): ... .. versionadded:: 0.9 """ return AppContext(self) def request_context(self, environ): """Creates a :class:`~flask.ctx.RequestContext` from the given environment and binds it to the current context. This must be used in combination with the `with` statement because the request is only bound to the current context for the duration of the `with` block. Example usage:: with app.request_context(environ): do_something_with(request) The object returned can also be used without the `with` statement which is useful for working in the shell. The example above is doing exactly the same as this code:: ctx = app.request_context(environ) ctx.push() try: do_something_with(request) finally: ctx.pop() .. versionchanged:: 0.3 Added support for non-with statement usage and `with` statement is now passed the ctx object. :param environ: a WSGI environment """ return RequestContext(self, environ) def test_request_context(self, *args, **kwargs): """Creates a WSGI environment from the given values (see :func:`werkzeug.test.EnvironBuilder` for more information, this function accepts the same arguments). """ from flask.testing import make_test_environ_builder builder = make_test_environ_builder(self, *args, **kwargs) try: return self.request_context(builder.get_environ()) finally: builder.close() def wsgi_app(self, environ, start_response): """The actual WSGI application. This is not implemented in `__call__` so that middlewares can be applied without losing a reference to the class. So instead of doing this:: app = MyMiddleware(app) It's a better idea to do this instead:: app.wsgi_app = MyMiddleware(app.wsgi_app) Then you still have the original application object around and can continue to call methods on it. .. versionchanged:: 0.7 The behavior of the before and after request callbacks was changed under error conditions and a new callback was added that will always execute at the end of the request, independent on if an error occurred or not. See :ref:`callbacks-and-errors`. :param environ: a WSGI environment :param start_response: a callable accepting a status code, a list of headers and an optional exception context to start the response """ ctx = self.request_context(environ) ctx.push() error = None try: try: response = self.full_dispatch_request() except Exception as e: error = e response = self.make_response(self.handle_exception(e)) return response(environ, start_response) finally: if self.should_ignore_error(error): error = None ctx.auto_pop(error) @property def modules(self): from warnings import warn warn(DeprecationWarning('Flask.modules is deprecated, use ' 'Flask.blueprints instead'), stacklevel=2) return self.blueprints def __call__(self, environ, start_response): """Shortcut for :attr:`wsgi_app`.""" return self.wsgi_app(environ, start_response) def __repr__(self): return '<%s %r>' % ( self.__class__.__name__, self.name, ) Flask-0.10.1/flask/blueprints.py0000644000076700000240000003770012156444477017660 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.blueprints ~~~~~~~~~~~~~~~~ Blueprints are the recommended way to implement larger or more pluggable applications in Flask 0.7 and later. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from functools import update_wrapper from .helpers import _PackageBoundObject, _endpoint_from_view_func class BlueprintSetupState(object): """Temporary holder object for registering a blueprint with the application. An instance of this class is created by the :meth:`~flask.Blueprint.make_setup_state` method and later passed to all register callback functions. """ def __init__(self, blueprint, app, options, first_registration): #: a reference to the current application self.app = app #: a reference to the blueprint that created this setup state. self.blueprint = blueprint #: a dictionary with all options that were passed to the #: :meth:`~flask.Flask.register_blueprint` method. self.options = options #: as blueprints can be registered multiple times with the #: application and not everything wants to be registered #: multiple times on it, this attribute can be used to figure #: out if the blueprint was registered in the past already. self.first_registration = first_registration subdomain = self.options.get('subdomain') if subdomain is None: subdomain = self.blueprint.subdomain #: The subdomain that the blueprint should be active for, `None` #: otherwise. self.subdomain = subdomain url_prefix = self.options.get('url_prefix') if url_prefix is None: url_prefix = self.blueprint.url_prefix #: The prefix that should be used for all URLs defined on the #: blueprint. self.url_prefix = url_prefix #: A dictionary with URL defaults that is added to each and every #: URL that was defined with the blueprint. self.url_defaults = dict(self.blueprint.url_values_defaults) self.url_defaults.update(self.options.get('url_defaults', ())) def add_url_rule(self, rule, endpoint=None, view_func=None, **options): """A helper method to register a rule (and optionally a view function) to the application. The endpoint is automatically prefixed with the blueprint's name. """ if self.url_prefix: rule = self.url_prefix + rule options.setdefault('subdomain', self.subdomain) if endpoint is None: endpoint = _endpoint_from_view_func(view_func) defaults = self.url_defaults if 'defaults' in options: defaults = dict(defaults, **options.pop('defaults')) self.app.add_url_rule(rule, '%s.%s' % (self.blueprint.name, endpoint), view_func, defaults=defaults, **options) class Blueprint(_PackageBoundObject): """Represents a blueprint. A blueprint is an object that records functions that will be called with the :class:`~flask.blueprint.BlueprintSetupState` later to register functions or other things on the main application. See :ref:`blueprints` for more information. .. versionadded:: 0.7 """ warn_on_modifications = False _got_registered_once = False def __init__(self, name, import_name, static_folder=None, static_url_path=None, template_folder=None, url_prefix=None, subdomain=None, url_defaults=None): _PackageBoundObject.__init__(self, import_name, template_folder) self.name = name self.url_prefix = url_prefix self.subdomain = subdomain self.static_folder = static_folder self.static_url_path = static_url_path self.deferred_functions = [] self.view_functions = {} if url_defaults is None: url_defaults = {} self.url_values_defaults = url_defaults def record(self, func): """Registers a function that is called when the blueprint is registered on the application. This function is called with the state as argument as returned by the :meth:`make_setup_state` method. """ if self._got_registered_once and self.warn_on_modifications: from warnings import warn warn(Warning('The blueprint was already registered once ' 'but is getting modified now. These changes ' 'will not show up.')) self.deferred_functions.append(func) def record_once(self, func): """Works like :meth:`record` but wraps the function in another function that will ensure the function is only called once. If the blueprint is registered a second time on the application, the function passed is not called. """ def wrapper(state): if state.first_registration: func(state) return self.record(update_wrapper(wrapper, func)) def make_setup_state(self, app, options, first_registration=False): """Creates an instance of :meth:`~flask.blueprints.BlueprintSetupState` object that is later passed to the register callback functions. Subclasses can override this to return a subclass of the setup state. """ return BlueprintSetupState(self, app, options, first_registration) def register(self, app, options, first_registration=False): """Called by :meth:`Flask.register_blueprint` to register a blueprint on the application. This can be overridden to customize the register behavior. Keyword arguments from :func:`~flask.Flask.register_blueprint` are directly forwarded to this method in the `options` dictionary. """ self._got_registered_once = True state = self.make_setup_state(app, options, first_registration) if self.has_static_folder: state.add_url_rule(self.static_url_path + '/', view_func=self.send_static_file, endpoint='static') for deferred in self.deferred_functions: deferred(state) def route(self, rule, **options): """Like :meth:`Flask.route` but for a blueprint. The endpoint for the :func:`url_for` function is prefixed with the name of the blueprint. """ def decorator(f): endpoint = options.pop("endpoint", f.__name__) self.add_url_rule(rule, endpoint, f, **options) return f return decorator def add_url_rule(self, rule, endpoint=None, view_func=None, **options): """Like :meth:`Flask.add_url_rule` but for a blueprint. The endpoint for the :func:`url_for` function is prefixed with the name of the blueprint. """ if endpoint: assert '.' not in endpoint, "Blueprint endpoint's should not contain dot's" self.record(lambda s: s.add_url_rule(rule, endpoint, view_func, **options)) def endpoint(self, endpoint): """Like :meth:`Flask.endpoint` but for a blueprint. This does not prefix the endpoint with the blueprint name, this has to be done explicitly by the user of this method. If the endpoint is prefixed with a `.` it will be registered to the current blueprint, otherwise it's an application independent endpoint. """ def decorator(f): def register_endpoint(state): state.app.view_functions[endpoint] = f self.record_once(register_endpoint) return f return decorator def app_template_filter(self, name=None): """Register a custom template filter, available application wide. Like :meth:`Flask.template_filter` but for a blueprint. :param name: the optional name of the filter, otherwise the function name will be used. """ def decorator(f): self.add_app_template_filter(f, name=name) return f return decorator def add_app_template_filter(self, f, name=None): """Register a custom template filter, available application wide. Like :meth:`Flask.add_template_filter` but for a blueprint. Works exactly like the :meth:`app_template_filter` decorator. :param name: the optional name of the filter, otherwise the function name will be used. """ def register_template(state): state.app.jinja_env.filters[name or f.__name__] = f self.record_once(register_template) def app_template_test(self, name=None): """Register a custom template test, available application wide. Like :meth:`Flask.template_test` but for a blueprint. .. versionadded:: 0.10 :param name: the optional name of the test, otherwise the function name will be used. """ def decorator(f): self.add_app_template_test(f, name=name) return f return decorator def add_app_template_test(self, f, name=None): """Register a custom template test, available application wide. Like :meth:`Flask.add_template_test` but for a blueprint. Works exactly like the :meth:`app_template_test` decorator. .. versionadded:: 0.10 :param name: the optional name of the test, otherwise the function name will be used. """ def register_template(state): state.app.jinja_env.tests[name or f.__name__] = f self.record_once(register_template) def app_template_global(self, name=None): """Register a custom template global, available application wide. Like :meth:`Flask.template_global` but for a blueprint. .. versionadded:: 0.10 :param name: the optional name of the global, otherwise the function name will be used. """ def decorator(f): self.add_app_template_global(f, name=name) return f return decorator def add_app_template_global(self, f, name=None): """Register a custom template global, available application wide. Like :meth:`Flask.add_template_global` but for a blueprint. Works exactly like the :meth:`app_template_global` decorator. .. versionadded:: 0.10 :param name: the optional name of the global, otherwise the function name will be used. """ def register_template(state): state.app.jinja_env.globals[name or f.__name__] = f self.record_once(register_template) def before_request(self, f): """Like :meth:`Flask.before_request` but for a blueprint. This function is only executed before each request that is handled by a function of that blueprint. """ self.record_once(lambda s: s.app.before_request_funcs .setdefault(self.name, []).append(f)) return f def before_app_request(self, f): """Like :meth:`Flask.before_request`. Such a function is executed before each request, even if outside of a blueprint. """ self.record_once(lambda s: s.app.before_request_funcs .setdefault(None, []).append(f)) return f def before_app_first_request(self, f): """Like :meth:`Flask.before_first_request`. Such a function is executed before the first request to the application. """ self.record_once(lambda s: s.app.before_first_request_funcs.append(f)) return f def after_request(self, f): """Like :meth:`Flask.after_request` but for a blueprint. This function is only executed after each request that is handled by a function of that blueprint. """ self.record_once(lambda s: s.app.after_request_funcs .setdefault(self.name, []).append(f)) return f def after_app_request(self, f): """Like :meth:`Flask.after_request` but for a blueprint. Such a function is executed after each request, even if outside of the blueprint. """ self.record_once(lambda s: s.app.after_request_funcs .setdefault(None, []).append(f)) return f def teardown_request(self, f): """Like :meth:`Flask.teardown_request` but for a blueprint. This function is only executed when tearing down requests handled by a function of that blueprint. Teardown request functions are executed when the request context is popped, even when no actual request was performed. """ self.record_once(lambda s: s.app.teardown_request_funcs .setdefault(self.name, []).append(f)) return f def teardown_app_request(self, f): """Like :meth:`Flask.teardown_request` but for a blueprint. Such a function is executed when tearing down each request, even if outside of the blueprint. """ self.record_once(lambda s: s.app.teardown_request_funcs .setdefault(None, []).append(f)) return f def context_processor(self, f): """Like :meth:`Flask.context_processor` but for a blueprint. This function is only executed for requests handled by a blueprint. """ self.record_once(lambda s: s.app.template_context_processors .setdefault(self.name, []).append(f)) return f def app_context_processor(self, f): """Like :meth:`Flask.context_processor` but for a blueprint. Such a function is executed each request, even if outside of the blueprint. """ self.record_once(lambda s: s.app.template_context_processors .setdefault(None, []).append(f)) return f def app_errorhandler(self, code): """Like :meth:`Flask.errorhandler` but for a blueprint. This handler is used for all requests, even if outside of the blueprint. """ def decorator(f): self.record_once(lambda s: s.app.errorhandler(code)(f)) return f return decorator def url_value_preprocessor(self, f): """Registers a function as URL value preprocessor for this blueprint. It's called before the view functions are called and can modify the url values provided. """ self.record_once(lambda s: s.app.url_value_preprocessors .setdefault(self.name, []).append(f)) return f def url_defaults(self, f): """Callback function for URL defaults for this blueprint. It's called with the endpoint and values and should update the values passed in place. """ self.record_once(lambda s: s.app.url_default_functions .setdefault(self.name, []).append(f)) return f def app_url_value_preprocessor(self, f): """Same as :meth:`url_value_preprocessor` but application wide. """ self.record_once(lambda s: s.app.url_value_preprocessors .setdefault(None, []).append(f)) return f def app_url_defaults(self, f): """Same as :meth:`url_defaults` but application wide. """ self.record_once(lambda s: s.app.url_default_functions .setdefault(None, []).append(f)) return f def errorhandler(self, code_or_exception): """Registers an error handler that becomes active for this blueprint only. Please be aware that routing does not happen local to a blueprint so an error handler for 404 usually is not handled by a blueprint unless it is caused inside a view function. Another special case is the 500 internal server error which is always looked up from the application. Otherwise works as the :meth:`~flask.Flask.errorhandler` decorator of the :class:`~flask.Flask` object. """ def decorator(f): self.record_once(lambda s: s.app._register_error_handler( self.name, code_or_exception, f)) return f return decorator Flask-0.10.1/flask/config.py0000644000076700000240000001413212156444477016730 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.config ~~~~~~~~~~~~ Implements the configuration related objects. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import imp import os import errno from werkzeug.utils import import_string from ._compat import string_types class ConfigAttribute(object): """Makes an attribute forward to the config""" def __init__(self, name, get_converter=None): self.__name__ = name self.get_converter = get_converter def __get__(self, obj, type=None): if obj is None: return self rv = obj.config[self.__name__] if self.get_converter is not None: rv = self.get_converter(rv) return rv def __set__(self, obj, value): obj.config[self.__name__] = value class Config(dict): """Works exactly like a dict but provides ways to fill it from files or special dictionaries. There are two common patterns to populate the config. Either you can fill the config from a config file:: app.config.from_pyfile('yourconfig.cfg') Or alternatively you can define the configuration options in the module that calls :meth:`from_object` or provide an import path to a module that should be loaded. It is also possible to tell it to use the same module and with that provide the configuration values just before the call:: DEBUG = True SECRET_KEY = 'development key' app.config.from_object(__name__) In both cases (loading from any Python file or loading from modules), only uppercase keys are added to the config. This makes it possible to use lowercase values in the config file for temporary values that are not added to the config or to define the config keys in the same file that implements the application. Probably the most interesting way to load configurations is from an environment variable pointing to a file:: app.config.from_envvar('YOURAPPLICATION_SETTINGS') In this case before launching the application you have to set this environment variable to the file you want to use. On Linux and OS X use the export statement:: export YOURAPPLICATION_SETTINGS='/path/to/config/file' On windows use `set` instead. :param root_path: path to which files are read relative from. When the config object is created by the application, this is the application's :attr:`~flask.Flask.root_path`. :param defaults: an optional dictionary of default values """ def __init__(self, root_path, defaults=None): dict.__init__(self, defaults or {}) self.root_path = root_path def from_envvar(self, variable_name, silent=False): """Loads a configuration from an environment variable pointing to a configuration file. This is basically just a shortcut with nicer error messages for this line of code:: app.config.from_pyfile(os.environ['YOURAPPLICATION_SETTINGS']) :param variable_name: name of the environment variable :param silent: set to `True` if you want silent failure for missing files. :return: bool. `True` if able to load config, `False` otherwise. """ rv = os.environ.get(variable_name) if not rv: if silent: return False raise RuntimeError('The environment variable %r is not set ' 'and as such configuration could not be ' 'loaded. Set this variable and make it ' 'point to a configuration file' % variable_name) return self.from_pyfile(rv, silent=silent) def from_pyfile(self, filename, silent=False): """Updates the values in the config from a Python file. This function behaves as if the file was imported as module with the :meth:`from_object` function. :param filename: the filename of the config. This can either be an absolute filename or a filename relative to the root path. :param silent: set to `True` if you want silent failure for missing files. .. versionadded:: 0.7 `silent` parameter. """ filename = os.path.join(self.root_path, filename) d = imp.new_module('config') d.__file__ = filename try: with open(filename) as config_file: exec(compile(config_file.read(), filename, 'exec'), d.__dict__) except IOError as e: if silent and e.errno in (errno.ENOENT, errno.EISDIR): return False e.strerror = 'Unable to load configuration file (%s)' % e.strerror raise self.from_object(d) return True def from_object(self, obj): """Updates the values from the given object. An object can be of one of the following two types: - a string: in this case the object with that name will be imported - an actual object reference: that object is used directly Objects are usually either modules or classes. Just the uppercase variables in that object are stored in the config. Example usage:: app.config.from_object('yourapplication.default_config') from yourapplication import default_config app.config.from_object(default_config) You should not use this function to load the actual configuration but rather configuration defaults. The actual config should be loaded with :meth:`from_pyfile` and ideally from a location not within the package because the package might be installed system wide. :param obj: an import name or object """ if isinstance(obj, string_types): obj = import_string(obj) for key in dir(obj): if key.isupper(): self[key] = getattr(obj, key) def __repr__(self): return '<%s %s>' % (self.__class__.__name__, dict.__repr__(self)) Flask-0.10.1/flask/ctx.py0000644000076700000240000003367212156444477016273 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.ctx ~~~~~~~~~ Implements the objects required to keep the context. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from __future__ import with_statement import sys from functools import update_wrapper from werkzeug.exceptions import HTTPException from .globals import _request_ctx_stack, _app_ctx_stack from .module import blueprint_is_module from .signals import appcontext_pushed, appcontext_popped class _AppCtxGlobals(object): """A plain object.""" def get(self, name, default=None): return self.__dict__.get(name, default) def __contains__(self, item): return item in self.__dict__ def __iter__(self): return iter(self.__dict__) def __repr__(self): top = _app_ctx_stack.top if top is not None: return '' % top.app.name return object.__repr__(self) def after_this_request(f): """Executes a function after this request. This is useful to modify response objects. The function is passed the response object and has to return the same or a new one. Example:: @app.route('/') def index(): @after_this_request def add_header(response): response.headers['X-Foo'] = 'Parachute' return response return 'Hello World!' This is more useful if a function other than the view function wants to modify a response. For instance think of a decorator that wants to add some headers without converting the return value into a response object. .. versionadded:: 0.9 """ _request_ctx_stack.top._after_request_functions.append(f) return f def copy_current_request_context(f): """A helper function that decorates a function to retain the current request context. This is useful when working with greenlets. The moment the function is decorated a copy of the request context is created and then pushed when the function is called. Example:: import gevent from flask import copy_current_request_context @app.route('/') def index(): @copy_current_request_context def do_some_work(): # do some work here, it can access flask.request like you # would otherwise in the view function. ... gevent.spawn(do_some_work) return 'Regular response' .. versionadded:: 0.10 """ top = _request_ctx_stack.top if top is None: raise RuntimeError('This decorator can only be used at local scopes ' 'when a request context is on the stack. For instance within ' 'view functions.') reqctx = top.copy() def wrapper(*args, **kwargs): with reqctx: return f(*args, **kwargs) return update_wrapper(wrapper, f) def has_request_context(): """If you have code that wants to test if a request context is there or not this function can be used. For instance, you may want to take advantage of request information if the request object is available, but fail silently if it is unavailable. :: class User(db.Model): def __init__(self, username, remote_addr=None): self.username = username if remote_addr is None and has_request_context(): remote_addr = request.remote_addr self.remote_addr = remote_addr Alternatively you can also just test any of the context bound objects (such as :class:`request` or :class:`g` for truthness):: class User(db.Model): def __init__(self, username, remote_addr=None): self.username = username if remote_addr is None and request: remote_addr = request.remote_addr self.remote_addr = remote_addr .. versionadded:: 0.7 """ return _request_ctx_stack.top is not None def has_app_context(): """Works like :func:`has_request_context` but for the application context. You can also just do a boolean check on the :data:`current_app` object instead. .. versionadded:: 0.9 """ return _app_ctx_stack.top is not None class AppContext(object): """The application context binds an application object implicitly to the current thread or greenlet, similar to how the :class:`RequestContext` binds request information. The application context is also implicitly created if a request context is created but the application is not on top of the individual application context. """ def __init__(self, app): self.app = app self.url_adapter = app.create_url_adapter(None) self.g = app.app_ctx_globals_class() # Like request context, app contexts can be pushed multiple times # but there a basic "refcount" is enough to track them. self._refcnt = 0 def push(self): """Binds the app context to the current context.""" self._refcnt += 1 _app_ctx_stack.push(self) appcontext_pushed.send(self.app) def pop(self, exc=None): """Pops the app context.""" self._refcnt -= 1 if self._refcnt <= 0: if exc is None: exc = sys.exc_info()[1] self.app.do_teardown_appcontext(exc) rv = _app_ctx_stack.pop() assert rv is self, 'Popped wrong app context. (%r instead of %r)' \ % (rv, self) appcontext_popped.send(self.app) def __enter__(self): self.push() return self def __exit__(self, exc_type, exc_value, tb): self.pop(exc_value) class RequestContext(object): """The request context contains all request relevant information. It is created at the beginning of the request and pushed to the `_request_ctx_stack` and removed at the end of it. It will create the URL adapter and request object for the WSGI environment provided. Do not attempt to use this class directly, instead use :meth:`~flask.Flask.test_request_context` and :meth:`~flask.Flask.request_context` to create this object. When the request context is popped, it will evaluate all the functions registered on the application for teardown execution (:meth:`~flask.Flask.teardown_request`). The request context is automatically popped at the end of the request for you. In debug mode the request context is kept around if exceptions happen so that interactive debuggers have a chance to introspect the data. With 0.4 this can also be forced for requests that did not fail and outside of `DEBUG` mode. By setting ``'flask._preserve_context'`` to `True` on the WSGI environment the context will not pop itself at the end of the request. This is used by the :meth:`~flask.Flask.test_client` for example to implement the deferred cleanup functionality. You might find this helpful for unittests where you need the information from the context local around for a little longer. Make sure to properly :meth:`~werkzeug.LocalStack.pop` the stack yourself in that situation, otherwise your unittests will leak memory. """ def __init__(self, app, environ, request=None): self.app = app if request is None: request = app.request_class(environ) self.request = request self.url_adapter = app.create_url_adapter(self.request) self.flashes = None self.session = None # Request contexts can be pushed multiple times and interleaved with # other request contexts. Now only if the last level is popped we # get rid of them. Additionally if an application context is missing # one is created implicitly so for each level we add this information self._implicit_app_ctx_stack = [] # indicator if the context was preserved. Next time another context # is pushed the preserved context is popped. self.preserved = False # remembers the exception for pop if there is one in case the context # preservation kicks in. self._preserved_exc = None # Functions that should be executed after the request on the response # object. These will be called before the regular "after_request" # functions. self._after_request_functions = [] self.match_request() # XXX: Support for deprecated functionality. This is going away with # Flask 1.0 blueprint = self.request.blueprint if blueprint is not None: # better safe than sorry, we don't want to break code that # already worked bp = app.blueprints.get(blueprint) if bp is not None and blueprint_is_module(bp): self.request._is_old_module = True def _get_g(self): return _app_ctx_stack.top.g def _set_g(self, value): _app_ctx_stack.top.g = value g = property(_get_g, _set_g) del _get_g, _set_g def copy(self): """Creates a copy of this request context with the same request object. This can be used to move a request context to a different greenlet. Because the actual request object is the same this cannot be used to move a request context to a different thread unless access to the request object is locked. .. versionadded:: 0.10 """ return self.__class__(self.app, environ=self.request.environ, request=self.request ) def match_request(self): """Can be overridden by a subclass to hook into the matching of the request. """ try: url_rule, self.request.view_args = \ self.url_adapter.match(return_rule=True) self.request.url_rule = url_rule except HTTPException as e: self.request.routing_exception = e def push(self): """Binds the request context to the current context.""" # If an exception occurs in debug mode or if context preservation is # activated under exception situations exactly one context stays # on the stack. The rationale is that you want to access that # information under debug situations. However if someone forgets to # pop that context again we want to make sure that on the next push # it's invalidated, otherwise we run at risk that something leaks # memory. This is usually only a problem in testsuite since this # functionality is not active in production environments. top = _request_ctx_stack.top if top is not None and top.preserved: top.pop(top._preserved_exc) # Before we push the request context we have to ensure that there # is an application context. app_ctx = _app_ctx_stack.top if app_ctx is None or app_ctx.app != self.app: app_ctx = self.app.app_context() app_ctx.push() self._implicit_app_ctx_stack.append(app_ctx) else: self._implicit_app_ctx_stack.append(None) _request_ctx_stack.push(self) # Open the session at the moment that the request context is # available. This allows a custom open_session method to use the # request context (e.g. code that access database information # stored on `g` instead of the appcontext). self.session = self.app.open_session(self.request) if self.session is None: self.session = self.app.make_null_session() def pop(self, exc=None): """Pops the request context and unbinds it by doing that. This will also trigger the execution of functions registered by the :meth:`~flask.Flask.teardown_request` decorator. .. versionchanged:: 0.9 Added the `exc` argument. """ app_ctx = self._implicit_app_ctx_stack.pop() clear_request = False if not self._implicit_app_ctx_stack: self.preserved = False self._preserved_exc = None if exc is None: exc = sys.exc_info()[1] self.app.do_teardown_request(exc) # If this interpreter supports clearing the exception information # we do that now. This will only go into effect on Python 2.x, # on 3.x it disappears automatically at the end of the exception # stack. if hasattr(sys, 'exc_clear'): sys.exc_clear() request_close = getattr(self.request, 'close', None) if request_close is not None: request_close() clear_request = True rv = _request_ctx_stack.pop() assert rv is self, 'Popped wrong request context. (%r instead of %r)' \ % (rv, self) # get rid of circular dependencies at the end of the request # so that we don't require the GC to be active. if clear_request: rv.request.environ['werkzeug.request'] = None # Get rid of the app as well if necessary. if app_ctx is not None: app_ctx.pop(exc) def auto_pop(self, exc): if self.request.environ.get('flask._preserve_context') or \ (exc is not None and self.app.preserve_context_on_exception): self.preserved = True self._preserved_exc = exc else: self.pop(exc) def __enter__(self): self.push() return self def __exit__(self, exc_type, exc_value, tb): # do not pop the request stack if we are in debug mode and an # exception happened. This will allow the debugger to still # access the request object in the interactive shell. Furthermore # the context can be force kept alive for the test client. # See flask.testing for how this works. self.auto_pop(exc_value) def __repr__(self): return '<%s \'%s\' [%s] of %s>' % ( self.__class__.__name__, self.request.url, self.request.method, self.app.name, ) Flask-0.10.1/flask/debughelpers.py0000644000076700000240000000666412156444477020147 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.debughelpers ~~~~~~~~~~~~~~~~~~ Various helpers to make the development experience better. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from ._compat import implements_to_string class UnexpectedUnicodeError(AssertionError, UnicodeError): """Raised in places where we want some better error reporting for unexpected unicode or binary data. """ @implements_to_string class DebugFilesKeyError(KeyError, AssertionError): """Raised from request.files during debugging. The idea is that it can provide a better error message than just a generic KeyError/BadRequest. """ def __init__(self, request, key): form_matches = request.form.getlist(key) buf = ['You tried to access the file "%s" in the request.files ' 'dictionary but it does not exist. The mimetype for the request ' 'is "%s" instead of "multipart/form-data" which means that no ' 'file contents were transmitted. To fix this error you should ' 'provide enctype="multipart/form-data" in your form.' % (key, request.mimetype)] if form_matches: buf.append('\n\nThe browser instead transmitted some file names. ' 'This was submitted: %s' % ', '.join('"%s"' % x for x in form_matches)) self.msg = ''.join(buf) def __str__(self): return self.msg class FormDataRoutingRedirect(AssertionError): """This exception is raised by Flask in debug mode if it detects a redirect caused by the routing system when the request method is not GET, HEAD or OPTIONS. Reasoning: form data will be dropped. """ def __init__(self, request): exc = request.routing_exception buf = ['A request was sent to this URL (%s) but a redirect was ' 'issued automatically by the routing system to "%s".' % (request.url, exc.new_url)] # In case just a slash was appended we can be extra helpful if request.base_url + '/' == exc.new_url.split('?')[0]: buf.append(' The URL was defined with a trailing slash so ' 'Flask will automatically redirect to the URL ' 'with the trailing slash if it was accessed ' 'without one.') buf.append(' Make sure to directly send your %s-request to this URL ' 'since we can\'t make browsers or HTTP clients redirect ' 'with form data reliably or without user interaction.' % request.method) buf.append('\n\nNote: this exception is only raised in debug mode') AssertionError.__init__(self, ''.join(buf).encode('utf-8')) def attach_enctype_error_multidict(request): """Since Flask 0.8 we're monkeypatching the files object in case a request is detected that does not use multipart form data but the files object is accessed. """ oldcls = request.files.__class__ class newcls(oldcls): def __getitem__(self, key): try: return oldcls.__getitem__(self, key) except KeyError as e: if key not in request.form: raise raise DebugFilesKeyError(request, key) newcls.__name__ = oldcls.__name__ newcls.__module__ = oldcls.__module__ request.files.__class__ = newcls Flask-0.10.1/flask/ext/0000755000076700000240000000000012156555065015704 5ustar mitsuhikostaff00000000000000Flask-0.10.1/flask/ext/__init__.py0000644000076700000240000000151212156311351020000 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.ext ~~~~~~~~~ Redirect imports for extensions. This module basically makes it possible for us to transition from flaskext.foo to flask_foo without having to force all extensions to upgrade at the same time. When a user does ``from flask.ext.foo import bar`` it will attempt to import ``from flask_foo import bar`` first and when that fails it will try to import ``from flaskext.foo import bar``. We're switching from namespace packages because it was just too painful for everybody involved. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ def setup(): from ..exthook import ExtensionImporter importer = ExtensionImporter(['flask_%s', 'flaskext.%s'], __name__) importer.install() setup() del setup Flask-0.10.1/flask/exthook.py0000644000076700000240000001173712156444477017154 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.exthook ~~~~~~~~~~~~~ Redirect imports for extensions. This module basically makes it possible for us to transition from flaskext.foo to flask_foo without having to force all extensions to upgrade at the same time. When a user does ``from flask.ext.foo import bar`` it will attempt to import ``from flask_foo import bar`` first and when that fails it will try to import ``from flaskext.foo import bar``. We're switching from namespace packages because it was just too painful for everybody involved. This is used by `flask.ext`. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import sys import os from ._compat import reraise class ExtensionImporter(object): """This importer redirects imports from this submodule to other locations. This makes it possible to transition from the old flaskext.name to the newer flask_name without people having a hard time. """ def __init__(self, module_choices, wrapper_module): self.module_choices = module_choices self.wrapper_module = wrapper_module self.prefix = wrapper_module + '.' self.prefix_cutoff = wrapper_module.count('.') + 1 def __eq__(self, other): return self.__class__.__module__ == other.__class__.__module__ and \ self.__class__.__name__ == other.__class__.__name__ and \ self.wrapper_module == other.wrapper_module and \ self.module_choices == other.module_choices def __ne__(self, other): return not self.__eq__(other) def install(self): sys.meta_path[:] = [x for x in sys.meta_path if self != x] + [self] def find_module(self, fullname, path=None): if fullname.startswith(self.prefix): return self def load_module(self, fullname): if fullname in sys.modules: return sys.modules[fullname] modname = fullname.split('.', self.prefix_cutoff)[self.prefix_cutoff] for path in self.module_choices: realname = path % modname try: __import__(realname) except ImportError: exc_type, exc_value, tb = sys.exc_info() # since we only establish the entry in sys.modules at the # very this seems to be redundant, but if recursive imports # happen we will call into the move import a second time. # On the second invocation we still don't have an entry for # fullname in sys.modules, but we will end up with the same # fake module name and that import will succeed since this # one already has a temporary entry in the modules dict. # Since this one "succeeded" temporarily that second # invocation now will have created a fullname entry in # sys.modules which we have to kill. sys.modules.pop(fullname, None) # If it's an important traceback we reraise it, otherwise # we swallow it and try the next choice. The skipped frame # is the one from __import__ above which we don't care about if self.is_important_traceback(realname, tb): reraise(exc_type, exc_value, tb.tb_next) continue module = sys.modules[fullname] = sys.modules[realname] if '.' not in modname: setattr(sys.modules[self.wrapper_module], modname, module) return module raise ImportError('No module named %s' % fullname) def is_important_traceback(self, important_module, tb): """Walks a traceback's frames and checks if any of the frames originated in the given important module. If that is the case then we were able to import the module itself but apparently something went wrong when the module was imported. (Eg: import of an import failed). """ while tb is not None: if self.is_important_frame(important_module, tb): return True tb = tb.tb_next return False def is_important_frame(self, important_module, tb): """Checks a single frame if it's important.""" g = tb.tb_frame.f_globals if '__name__' not in g: return False module_name = g['__name__'] # Python 2.7 Behavior. Modules are cleaned up late so the # name shows up properly here. Success! if module_name == important_module: return True # Some python versions will will clean up modules so early that the # module name at that point is no longer set. Try guessing from # the filename then. filename = os.path.abspath(tb.tb_frame.f_code.co_filename) test_string = os.path.sep + important_module.replace('.', os.path.sep) return test_string + '.py' in filename or \ test_string + os.path.sep + '__init__.py' in filename Flask-0.10.1/flask/globals.py0000644000076700000240000000216112156444477017105 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.globals ~~~~~~~~~~~~~ Defines all the global objects that are proxies to the current active context. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from functools import partial from werkzeug.local import LocalStack, LocalProxy def _lookup_req_object(name): top = _request_ctx_stack.top if top is None: raise RuntimeError('working outside of request context') return getattr(top, name) def _lookup_app_object(name): top = _app_ctx_stack.top if top is None: raise RuntimeError('working outside of application context') return getattr(top, name) def _find_app(): top = _app_ctx_stack.top if top is None: raise RuntimeError('working outside of application context') return top.app # context locals _request_ctx_stack = LocalStack() _app_ctx_stack = LocalStack() current_app = LocalProxy(_find_app) request = LocalProxy(partial(_lookup_req_object, 'request')) session = LocalProxy(partial(_lookup_req_object, 'session')) g = LocalProxy(partial(_lookup_app_object, 'g')) Flask-0.10.1/flask/helpers.py0000644000076700000240000010200112156444477017116 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.helpers ~~~~~~~~~~~~~ Implements various helpers. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import os import sys import pkgutil import posixpath import mimetypes from time import time from zlib import adler32 from threading import RLock from werkzeug.routing import BuildError from functools import update_wrapper try: from werkzeug.urls import url_quote except ImportError: from urlparse import quote as url_quote from werkzeug.datastructures import Headers from werkzeug.exceptions import NotFound # this was moved in 0.7 try: from werkzeug.wsgi import wrap_file except ImportError: from werkzeug.utils import wrap_file from jinja2 import FileSystemLoader from .signals import message_flashed from .globals import session, _request_ctx_stack, _app_ctx_stack, \ current_app, request from ._compat import string_types, text_type # sentinel _missing = object() # what separators does this operating system provide that are not a slash? # this is used by the send_from_directory function to ensure that nobody is # able to access files from outside the filesystem. _os_alt_seps = list(sep for sep in [os.path.sep, os.path.altsep] if sep not in (None, '/')) def _endpoint_from_view_func(view_func): """Internal helper that returns the default endpoint for a given function. This always is the function name. """ assert view_func is not None, 'expected view func if endpoint ' \ 'is not provided.' return view_func.__name__ def stream_with_context(generator_or_function): """Request contexts disappear when the response is started on the server. This is done for efficiency reasons and to make it less likely to encounter memory leaks with badly written WSGI middlewares. The downside is that if you are using streamed responses, the generator cannot access request bound information any more. This function however can help you keep the context around for longer:: from flask import stream_with_context, request, Response @app.route('/stream') def streamed_response(): @stream_with_context def generate(): yield 'Hello ' yield request.args['name'] yield '!' return Response(generate()) Alternatively it can also be used around a specific generator:: from flask import stream_with_context, request, Response @app.route('/stream') def streamed_response(): def generate(): yield 'Hello ' yield request.args['name'] yield '!' return Response(stream_with_context(generate())) .. versionadded:: 0.9 """ try: gen = iter(generator_or_function) except TypeError: def decorator(*args, **kwargs): gen = generator_or_function() return stream_with_context(gen) return update_wrapper(decorator, generator_or_function) def generator(): ctx = _request_ctx_stack.top if ctx is None: raise RuntimeError('Attempted to stream with context but ' 'there was no context in the first place to keep around.') with ctx: # Dummy sentinel. Has to be inside the context block or we're # not actually keeping the context around. yield None # The try/finally is here so that if someone passes a WSGI level # iterator in we're still running the cleanup logic. Generators # don't need that because they are closed on their destruction # automatically. try: for item in gen: yield item finally: if hasattr(gen, 'close'): gen.close() # The trick is to start the generator. Then the code execution runs until # the first dummy None is yielded at which point the context was already # pushed. This item is discarded. Then when the iteration continues the # real generator is executed. wrapped_g = generator() next(wrapped_g) return wrapped_g def make_response(*args): """Sometimes it is necessary to set additional headers in a view. Because views do not have to return response objects but can return a value that is converted into a response object by Flask itself, it becomes tricky to add headers to it. This function can be called instead of using a return and you will get a response object which you can use to attach headers. If view looked like this and you want to add a new header:: def index(): return render_template('index.html', foo=42) You can now do something like this:: def index(): response = make_response(render_template('index.html', foo=42)) response.headers['X-Parachutes'] = 'parachutes are cool' return response This function accepts the very same arguments you can return from a view function. This for example creates a response with a 404 error code:: response = make_response(render_template('not_found.html'), 404) The other use case of this function is to force the return value of a view function into a response which is helpful with view decorators:: response = make_response(view_function()) response.headers['X-Parachutes'] = 'parachutes are cool' Internally this function does the following things: - if no arguments are passed, it creates a new response argument - if one argument is passed, :meth:`flask.Flask.make_response` is invoked with it. - if more than one argument is passed, the arguments are passed to the :meth:`flask.Flask.make_response` function as tuple. .. versionadded:: 0.6 """ if not args: return current_app.response_class() if len(args) == 1: args = args[0] return current_app.make_response(args) def url_for(endpoint, **values): """Generates a URL to the given endpoint with the method provided. Variable arguments that are unknown to the target endpoint are appended to the generated URL as query arguments. If the value of a query argument is `None`, the whole pair is skipped. In case blueprints are active you can shortcut references to the same blueprint by prefixing the local endpoint with a dot (``.``). This will reference the index function local to the current blueprint:: url_for('.index') For more information, head over to the :ref:`Quickstart `. To integrate applications, :class:`Flask` has a hook to intercept URL build errors through :attr:`Flask.build_error_handler`. The `url_for` function results in a :exc:`~werkzeug.routing.BuildError` when the current app does not have a URL for the given endpoint and values. When it does, the :data:`~flask.current_app` calls its :attr:`~Flask.build_error_handler` if it is not `None`, which can return a string to use as the result of `url_for` (instead of `url_for`'s default to raise the :exc:`~werkzeug.routing.BuildError` exception) or re-raise the exception. An example:: def external_url_handler(error, endpoint, **values): "Looks up an external URL when `url_for` cannot build a URL." # This is an example of hooking the build_error_handler. # Here, lookup_url is some utility function you've built # which looks up the endpoint in some external URL registry. url = lookup_url(endpoint, **values) if url is None: # External lookup did not have a URL. # Re-raise the BuildError, in context of original traceback. exc_type, exc_value, tb = sys.exc_info() if exc_value is error: raise exc_type, exc_value, tb else: raise error # url_for will use this result, instead of raising BuildError. return url app.build_error_handler = external_url_handler Here, `error` is the instance of :exc:`~werkzeug.routing.BuildError`, and `endpoint` and `**values` are the arguments passed into `url_for`. Note that this is for building URLs outside the current application, and not for handling 404 NotFound errors. .. versionadded:: 0.10 The `_scheme` parameter was added. .. versionadded:: 0.9 The `_anchor` and `_method` parameters were added. .. versionadded:: 0.9 Calls :meth:`Flask.handle_build_error` on :exc:`~werkzeug.routing.BuildError`. :param endpoint: the endpoint of the URL (name of the function) :param values: the variable arguments of the URL rule :param _external: if set to `True`, an absolute URL is generated. Server address can be changed via `SERVER_NAME` configuration variable which defaults to `localhost`. :param _scheme: a string specifying the desired URL scheme. The `_external` parameter must be set to `True` or a `ValueError` is raised. :param _anchor: if provided this is added as anchor to the URL. :param _method: if provided this explicitly specifies an HTTP method. """ appctx = _app_ctx_stack.top reqctx = _request_ctx_stack.top if appctx is None: raise RuntimeError('Attempted to generate a URL without the ' 'application context being pushed. This has to be ' 'executed when application context is available.') # If request specific information is available we have some extra # features that support "relative" urls. if reqctx is not None: url_adapter = reqctx.url_adapter blueprint_name = request.blueprint if not reqctx.request._is_old_module: if endpoint[:1] == '.': if blueprint_name is not None: endpoint = blueprint_name + endpoint else: endpoint = endpoint[1:] else: # TODO: get rid of this deprecated functionality in 1.0 if '.' not in endpoint: if blueprint_name is not None: endpoint = blueprint_name + '.' + endpoint elif endpoint.startswith('.'): endpoint = endpoint[1:] external = values.pop('_external', False) # Otherwise go with the url adapter from the appctx and make # the urls external by default. else: url_adapter = appctx.url_adapter if url_adapter is None: raise RuntimeError('Application was not able to create a URL ' 'adapter for request independent URL generation. ' 'You might be able to fix this by setting ' 'the SERVER_NAME config variable.') external = values.pop('_external', True) anchor = values.pop('_anchor', None) method = values.pop('_method', None) scheme = values.pop('_scheme', None) appctx.app.inject_url_defaults(endpoint, values) if scheme is not None: if not external: raise ValueError('When specifying _scheme, _external must be True') url_adapter.url_scheme = scheme try: rv = url_adapter.build(endpoint, values, method=method, force_external=external) except BuildError as error: # We need to inject the values again so that the app callback can # deal with that sort of stuff. values['_external'] = external values['_anchor'] = anchor values['_method'] = method return appctx.app.handle_url_build_error(error, endpoint, values) if anchor is not None: rv += '#' + url_quote(anchor) return rv def get_template_attribute(template_name, attribute): """Loads a macro (or variable) a template exports. This can be used to invoke a macro from within Python code. If you for example have a template named `_cider.html` with the following contents: .. sourcecode:: html+jinja {% macro hello(name) %}Hello {{ name }}!{% endmacro %} You can access this from Python code like this:: hello = get_template_attribute('_cider.html', 'hello') return hello('World') .. versionadded:: 0.2 :param template_name: the name of the template :param attribute: the name of the variable of macro to access """ return getattr(current_app.jinja_env.get_template(template_name).module, attribute) def flash(message, category='message'): """Flashes a message to the next request. In order to remove the flashed message from the session and to display it to the user, the template has to call :func:`get_flashed_messages`. .. versionchanged:: 0.3 `category` parameter added. :param message: the message to be flashed. :param category: the category for the message. The following values are recommended: ``'message'`` for any kind of message, ``'error'`` for errors, ``'info'`` for information messages and ``'warning'`` for warnings. However any kind of string can be used as category. """ # Original implementation: # # session.setdefault('_flashes', []).append((category, message)) # # This assumed that changes made to mutable structures in the session are # are always in sync with the sess on object, which is not true for session # implementations that use external storage for keeping their keys/values. flashes = session.get('_flashes', []) flashes.append((category, message)) session['_flashes'] = flashes message_flashed.send(current_app._get_current_object(), message=message, category=category) def get_flashed_messages(with_categories=False, category_filter=[]): """Pulls all flashed messages from the session and returns them. Further calls in the same request to the function will return the same messages. By default just the messages are returned, but when `with_categories` is set to `True`, the return value will be a list of tuples in the form ``(category, message)`` instead. Filter the flashed messages to one or more categories by providing those categories in `category_filter`. This allows rendering categories in separate html blocks. The `with_categories` and `category_filter` arguments are distinct: * `with_categories` controls whether categories are returned with message text (`True` gives a tuple, where `False` gives just the message text). * `category_filter` filters the messages down to only those matching the provided categories. See :ref:`message-flashing-pattern` for examples. .. versionchanged:: 0.3 `with_categories` parameter added. .. versionchanged:: 0.9 `category_filter` parameter added. :param with_categories: set to `True` to also receive categories. :param category_filter: whitelist of categories to limit return values """ flashes = _request_ctx_stack.top.flashes if flashes is None: _request_ctx_stack.top.flashes = flashes = session.pop('_flashes') \ if '_flashes' in session else [] if category_filter: flashes = list(filter(lambda f: f[0] in category_filter, flashes)) if not with_categories: return [x[1] for x in flashes] return flashes def send_file(filename_or_fp, mimetype=None, as_attachment=False, attachment_filename=None, add_etags=True, cache_timeout=None, conditional=False): """Sends the contents of a file to the client. This will use the most efficient method available and configured. By default it will try to use the WSGI server's file_wrapper support. Alternatively you can set the application's :attr:`~Flask.use_x_sendfile` attribute to ``True`` to directly emit an `X-Sendfile` header. This however requires support of the underlying webserver for `X-Sendfile`. By default it will try to guess the mimetype for you, but you can also explicitly provide one. For extra security you probably want to send certain files as attachment (HTML for instance). The mimetype guessing requires a `filename` or an `attachment_filename` to be provided. Please never pass filenames to this function from user sources without checking them first. Something like this is usually sufficient to avoid security problems:: if '..' in filename or filename.startswith('/'): abort(404) .. versionadded:: 0.2 .. versionadded:: 0.5 The `add_etags`, `cache_timeout` and `conditional` parameters were added. The default behavior is now to attach etags. .. versionchanged:: 0.7 mimetype guessing and etag support for file objects was deprecated because it was unreliable. Pass a filename if you are able to, otherwise attach an etag yourself. This functionality will be removed in Flask 1.0 .. versionchanged:: 0.9 cache_timeout pulls its default from application config, when None. :param filename_or_fp: the filename of the file to send. This is relative to the :attr:`~Flask.root_path` if a relative path is specified. Alternatively a file object might be provided in which case `X-Sendfile` might not work and fall back to the traditional method. Make sure that the file pointer is positioned at the start of data to send before calling :func:`send_file`. :param mimetype: the mimetype of the file if provided, otherwise auto detection happens. :param as_attachment: set to `True` if you want to send this file with a ``Content-Disposition: attachment`` header. :param attachment_filename: the filename for the attachment if it differs from the file's filename. :param add_etags: set to `False` to disable attaching of etags. :param conditional: set to `True` to enable conditional responses. :param cache_timeout: the timeout in seconds for the headers. When `None` (default), this value is set by :meth:`~Flask.get_send_file_max_age` of :data:`~flask.current_app`. """ mtime = None if isinstance(filename_or_fp, string_types): filename = filename_or_fp file = None else: from warnings import warn file = filename_or_fp filename = getattr(file, 'name', None) # XXX: this behavior is now deprecated because it was unreliable. # removed in Flask 1.0 if not attachment_filename and not mimetype \ and isinstance(filename, string_types): warn(DeprecationWarning('The filename support for file objects ' 'passed to send_file is now deprecated. Pass an ' 'attach_filename if you want mimetypes to be guessed.'), stacklevel=2) if add_etags: warn(DeprecationWarning('In future flask releases etags will no ' 'longer be generated for file objects passed to the send_file ' 'function because this behavior was unreliable. Pass ' 'filenames instead if possible, otherwise attach an etag ' 'yourself based on another value'), stacklevel=2) if filename is not None: if not os.path.isabs(filename): filename = os.path.join(current_app.root_path, filename) if mimetype is None and (filename or attachment_filename): mimetype = mimetypes.guess_type(filename or attachment_filename)[0] if mimetype is None: mimetype = 'application/octet-stream' headers = Headers() if as_attachment: if attachment_filename is None: if filename is None: raise TypeError('filename unavailable, required for ' 'sending as attachment') attachment_filename = os.path.basename(filename) headers.add('Content-Disposition', 'attachment', filename=attachment_filename) if current_app.use_x_sendfile and filename: if file is not None: file.close() headers['X-Sendfile'] = filename headers['Content-Length'] = os.path.getsize(filename) data = None else: if file is None: file = open(filename, 'rb') mtime = os.path.getmtime(filename) headers['Content-Length'] = os.path.getsize(filename) data = wrap_file(request.environ, file) rv = current_app.response_class(data, mimetype=mimetype, headers=headers, direct_passthrough=True) # if we know the file modification date, we can store it as the # the time of the last modification. if mtime is not None: rv.last_modified = int(mtime) rv.cache_control.public = True if cache_timeout is None: cache_timeout = current_app.get_send_file_max_age(filename) if cache_timeout is not None: rv.cache_control.max_age = cache_timeout rv.expires = int(time() + cache_timeout) if add_etags and filename is not None: rv.set_etag('flask-%s-%s-%s' % ( os.path.getmtime(filename), os.path.getsize(filename), adler32( filename.encode('utf-8') if isinstance(filename, text_type) else filename ) & 0xffffffff )) if conditional: rv = rv.make_conditional(request) # make sure we don't send x-sendfile for servers that # ignore the 304 status code for x-sendfile. if rv.status_code == 304: rv.headers.pop('x-sendfile', None) return rv def safe_join(directory, filename): """Safely join `directory` and `filename`. Example usage:: @app.route('/wiki/') def wiki_page(filename): filename = safe_join(app.config['WIKI_FOLDER'], filename) with open(filename, 'rb') as fd: content = fd.read() # Read and process the file content... :param directory: the base directory. :param filename: the untrusted filename relative to that directory. :raises: :class:`~werkzeug.exceptions.NotFound` if the resulting path would fall out of `directory`. """ filename = posixpath.normpath(filename) for sep in _os_alt_seps: if sep in filename: raise NotFound() if os.path.isabs(filename) or \ filename == '..' or \ filename.startswith('../'): raise NotFound() return os.path.join(directory, filename) def send_from_directory(directory, filename, **options): """Send a file from a given directory with :func:`send_file`. This is a secure way to quickly expose static files from an upload folder or something similar. Example usage:: @app.route('/uploads/') def download_file(filename): return send_from_directory(app.config['UPLOAD_FOLDER'], filename, as_attachment=True) .. admonition:: Sending files and Performance It is strongly recommended to activate either `X-Sendfile` support in your webserver or (if no authentication happens) to tell the webserver to serve files for the given path on its own without calling into the web application for improved performance. .. versionadded:: 0.5 :param directory: the directory where all the files are stored. :param filename: the filename relative to that directory to download. :param options: optional keyword arguments that are directly forwarded to :func:`send_file`. """ filename = safe_join(directory, filename) if not os.path.isfile(filename): raise NotFound() options.setdefault('conditional', True) return send_file(filename, **options) def get_root_path(import_name): """Returns the path to a package or cwd if that cannot be found. This returns the path of a package or the folder that contains a module. Not to be confused with the package path returned by :func:`find_package`. """ # Module already imported and has a file attribute. Use that first. mod = sys.modules.get(import_name) if mod is not None and hasattr(mod, '__file__'): return os.path.dirname(os.path.abspath(mod.__file__)) # Next attempt: check the loader. loader = pkgutil.get_loader(import_name) # Loader does not exist or we're referring to an unloaded main module # or a main module without path (interactive sessions), go with the # current working directory. if loader is None or import_name == '__main__': return os.getcwd() # For .egg, zipimporter does not have get_filename until Python 2.7. # Some other loaders might exhibit the same behavior. if hasattr(loader, 'get_filename'): filepath = loader.get_filename(import_name) else: # Fall back to imports. __import__(import_name) filepath = sys.modules[import_name].__file__ # filepath is import_name.py for a module, or __init__.py for a package. return os.path.dirname(os.path.abspath(filepath)) def find_package(import_name): """Finds a package and returns the prefix (or None if the package is not installed) as well as the folder that contains the package or module as a tuple. The package path returned is the module that would have to be added to the pythonpath in order to make it possible to import the module. The prefix is the path below which a UNIX like folder structure exists (lib, share etc.). """ root_mod_name = import_name.split('.')[0] loader = pkgutil.get_loader(root_mod_name) if loader is None or import_name == '__main__': # import name is not found, or interactive/main module package_path = os.getcwd() else: # For .egg, zipimporter does not have get_filename until Python 2.7. if hasattr(loader, 'get_filename'): filename = loader.get_filename(root_mod_name) elif hasattr(loader, 'archive'): # zipimporter's loader.archive points to the .egg or .zip # archive filename is dropped in call to dirname below. filename = loader.archive else: # At least one loader is missing both get_filename and archive: # Google App Engine's HardenedModulesHook # # Fall back to imports. __import__(import_name) filename = sys.modules[import_name].__file__ package_path = os.path.abspath(os.path.dirname(filename)) # package_path ends with __init__.py for a package if loader.is_package(root_mod_name): package_path = os.path.dirname(package_path) site_parent, site_folder = os.path.split(package_path) py_prefix = os.path.abspath(sys.prefix) if package_path.startswith(py_prefix): return py_prefix, package_path elif site_folder.lower() == 'site-packages': parent, folder = os.path.split(site_parent) # Windows like installations if folder.lower() == 'lib': base_dir = parent # UNIX like installations elif os.path.basename(parent).lower() == 'lib': base_dir = os.path.dirname(parent) else: base_dir = site_parent return base_dir, package_path return None, package_path class locked_cached_property(object): """A decorator that converts a function into a lazy property. The function wrapped is called the first time to retrieve the result and then that calculated result is used the next time you access the value. Works like the one in Werkzeug but has a lock for thread safety. """ def __init__(self, func, name=None, doc=None): self.__name__ = name or func.__name__ self.__module__ = func.__module__ self.__doc__ = doc or func.__doc__ self.func = func self.lock = RLock() def __get__(self, obj, type=None): if obj is None: return self with self.lock: value = obj.__dict__.get(self.__name__, _missing) if value is _missing: value = self.func(obj) obj.__dict__[self.__name__] = value return value class _PackageBoundObject(object): def __init__(self, import_name, template_folder=None): #: The name of the package or module. Do not change this once #: it was set by the constructor. self.import_name = import_name #: location of the templates. `None` if templates should not be #: exposed. self.template_folder = template_folder #: Where is the app root located? self.root_path = get_root_path(self.import_name) self._static_folder = None self._static_url_path = None def _get_static_folder(self): if self._static_folder is not None: return os.path.join(self.root_path, self._static_folder) def _set_static_folder(self, value): self._static_folder = value static_folder = property(_get_static_folder, _set_static_folder) del _get_static_folder, _set_static_folder def _get_static_url_path(self): if self._static_url_path is None: if self.static_folder is None: return None return '/' + os.path.basename(self.static_folder) return self._static_url_path def _set_static_url_path(self, value): self._static_url_path = value static_url_path = property(_get_static_url_path, _set_static_url_path) del _get_static_url_path, _set_static_url_path @property def has_static_folder(self): """This is `True` if the package bound object's container has a folder named ``'static'``. .. versionadded:: 0.5 """ return self.static_folder is not None @locked_cached_property def jinja_loader(self): """The Jinja loader for this package bound object. .. versionadded:: 0.5 """ if self.template_folder is not None: return FileSystemLoader(os.path.join(self.root_path, self.template_folder)) def get_send_file_max_age(self, filename): """Provides default cache_timeout for the :func:`send_file` functions. By default, this function returns ``SEND_FILE_MAX_AGE_DEFAULT`` from the configuration of :data:`~flask.current_app`. Static file functions such as :func:`send_from_directory` use this function, and :func:`send_file` calls this function on :data:`~flask.current_app` when the given cache_timeout is `None`. If a cache_timeout is given in :func:`send_file`, that timeout is used; otherwise, this method is called. This allows subclasses to change the behavior when sending files based on the filename. For example, to set the cache timeout for .js files to 60 seconds:: class MyFlask(flask.Flask): def get_send_file_max_age(self, name): if name.lower().endswith('.js'): return 60 return flask.Flask.get_send_file_max_age(self, name) .. versionadded:: 0.9 """ return current_app.config['SEND_FILE_MAX_AGE_DEFAULT'] def send_static_file(self, filename): """Function used internally to send static files from the static folder to the browser. .. versionadded:: 0.5 """ if not self.has_static_folder: raise RuntimeError('No static folder for this object') # Ensure get_send_file_max_age is called in all cases. # Here, we ensure get_send_file_max_age is called for Blueprints. cache_timeout = self.get_send_file_max_age(filename) return send_from_directory(self.static_folder, filename, cache_timeout=cache_timeout) def open_resource(self, resource, mode='rb'): """Opens a resource from the application's resource folder. To see how this works, consider the following folder structure:: /myapplication.py /schema.sql /static /style.css /templates /layout.html /index.html If you want to open the `schema.sql` file you would do the following:: with app.open_resource('schema.sql') as f: contents = f.read() do_something_with(contents) :param resource: the name of the resource. To access resources within subfolders use forward slashes as separator. :param mode: resource file opening mode, default is 'rb'. """ if mode not in ('r', 'rb'): raise ValueError('Resources can only be opened for reading') return open(os.path.join(self.root_path, resource), mode) Flask-0.10.1/flask/json.py0000644000076700000240000001766112156450123016427 0ustar mitsuhikostaff00000000000000# -*- coding: utf-8 -*- """ flask.jsonimpl ~~~~~~~~~~~~~~ Implementation helpers for the JSON support in Flask. :copyright: (c) 2012 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import io import uuid from datetime import datetime from .globals import current_app, request from ._compat import text_type, PY2 from werkzeug.http import http_date from jinja2 import Markup # Use the same json implementation as itsdangerous on which we # depend anyways. try: from itsdangerous import simplejson as _json except ImportError: from itsdangerous import json as _json # figure out if simplejson escapes slashes. This behavior was changed # from one version to another without reason. _slash_escape = '\\/' not in _json.dumps('/') __all__ = ['dump', 'dumps', 'load', 'loads', 'htmlsafe_dump', 'htmlsafe_dumps', 'JSONDecoder', 'JSONEncoder', 'jsonify'] def _wrap_reader_for_text(fp, encoding): if isinstance(fp.read(0), bytes): fp = io.TextIOWrapper(io.BufferedReader(fp), encoding) return fp def _wrap_writer_for_text(fp, encoding): try: fp.write('') except TypeError: fp = io.TextIOWrapper(fp, encoding) return fp class JSONEncoder(_json.JSONEncoder): """The default Flask JSON encoder. This one extends the default simplejson encoder by also supporting ``datetime`` objects, ``UUID`` as well as ``Markup`` objects which are serialized as RFC 822 datetime strings (same as the HTTP date format). In order to support more data types override the :meth:`default` method. """ 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) """ if isinstance(o, datetime): return http_date(o) if isinstance(o, uuid.UUID): return str(o) if hasattr(o, '__html__'): return text_type(o.__html__()) return _json.JSONEncoder.default(self, o) class JSONDecoder(_json.JSONDecoder): """The default JSON decoder. This one does not change the behavior from the default simplejson encoder. Consult the :mod:`json` documentation for more information. This decoder is not only used for the load functions of this module but also :attr:`~flask.Request`. """ def _dump_arg_defaults(kwargs): """Inject default arguments for dump functions.""" if current_app: kwargs.setdefault('cls', current_app.json_encoder) if not current_app.config['JSON_AS_ASCII']: kwargs.setdefault('ensure_ascii', False) kwargs.setdefault('sort_keys', current_app.config['JSON_SORT_KEYS']) else: kwargs.setdefault('sort_keys', True) kwargs.setdefault('cls', JSONEncoder) def _load_arg_defaults(kwargs): """Inject default arguments for load functions.""" if current_app: kwargs.setdefault('cls', current_app.json_decoder) else: kwargs.setdefault('cls', JSONDecoder) def dumps(obj, **kwargs): """Serialize ``obj`` to a JSON formatted ``str`` by using the application's configured encoder (:attr:`~flask.Flask.json_encoder`) if there is an application on the stack. This function can return ``unicode`` strings or ascii-only bytestrings by default which coerce into unicode strings automatically. That behavior by default is controlled by the ``JSON_AS_ASCII`` configuration variable and can be overriden by the simplejson ``ensure_ascii`` parameter. """ _dump_arg_defaults(kwargs) encoding = kwargs.pop('encoding', None) rv = _json.dumps(obj, **kwargs) if encoding is not None and isinstance(rv, text_type): rv = rv.encode(encoding) return rv def dump(obj, fp, **kwargs): """Like :func:`dumps` but writes into a file object.""" _dump_arg_defaults(kwargs) encoding = kwargs.pop('encoding', None) if encoding is not None: fp = _wrap_writer_for_text(fp, encoding) _json.dump(obj, fp, **kwargs) def loads(s, **kwargs): """Unserialize a JSON object from a string ``s`` by using the application's configured decoder (:attr:`~flask.Flask.json_decoder`) if there is an application on the stack. """ _load_arg_defaults(kwargs) if isinstance(s, bytes): s = s.decode(kwargs.pop('encoding', None) or 'utf-8') return _json.loads(s, **kwargs) def load(fp, **kwargs): """Like :func:`loads` but reads from a file object. """ _load_arg_defaults(kwargs) if not PY2: fp = _wrap_reader_for_text(fp, kwargs.pop('encoding', None) or 'utf-8') return _json.load(fp, **kwargs) def htmlsafe_dumps(obj, **kwargs): """Works exactly like :func:`dumps` but is safe for use in ``') self.assert_equal(rv, u'"\\u003c/script\\u003e"') self.assert_equal(type(rv), text_type) rv = render('{{ ""|tojson }}') self.assert_equal(rv, '"\\u003c/script\\u003e"') rv = render('{{ "<\0/script>"|tojson }}') self.assert_equal(rv, '"\\u003c\\u0000/script\\u003e"') rv = render('{{ "