gimp/plug-ins/common/struc.c

1522 lines
84 KiB
C
Raw Normal View History

/*
* This is the Struc plug-in for the GIMP 0.99
* Version 1.01
*
1997-11-25 06:05:25 +08:00
* Copyright (C) 1997 Karl-Johan Andersson (t96kja@student.tdb.uu.se)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
1997-11-25 06:05:25 +08:00
*/
/* Don't ask me why its called "Struc". The first .c-file
* just happend to be called struc.c
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
*
* Some code for the dialog was taken from Motion Blur plug-in for
* GIMP 0.99 by Daniel Skarda (0rfelyus@atrey.karlin.mff.cuni.cz)
*
* Please send any comments or suggestions to me,
* Karl-Johan Andersson (t96kja@student.tdb.uu.se)
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
*
*/
#include "config.h"
#include <string.h>
#include <libgimp/gimp.h>
#include <libgimp/gimpui.h>
#include "libgimp/stdplugins-intl.h"
#define PLUG_IN_PROC "plug-in-apply-canvas"
#define PLUG_IN_BINARY "struc"
static const gchar sdata[] =
1997-11-25 06:05:25 +08:00
{
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
0, 5, -3, -13, 13, 10, -11, 6, -11, -14, 29, 43, -18, -40, 24, 4,
-32, 26, 39, -34, -16, 25, -22, 12, 2, -40, 9, 46, -13, -47, 17, 19,
-21, 3, 51, -22, -46, 15, 0, -15, 5, 8, 0, 27, -5, -30, 3, -5,
-4, 24, 0, -20, 15, 8, -18, 5, 51, -13, -51, 16, 23, -21, -3, 29,
-18, -22, 16, 16, -3, 8, -2, -31, 7, 27, -16, -13, 30, -9, -32, 27,
21, 3, 27, -11, -30, 18, 8, -38, -8, 6, -7, -7, -3, 8, -2, 19,
19, -30, -12, 42, -16, -32, 9, -10, -10, 10, 13, 2, -5, -8, -4, 27,
2, -29, 10, 12, -13, -8, 0, 41, 0, -43, 5, 3, 6, 4, -8, 0,
-10, -5, -24, -47, -9, -7, -39, -3, -17, -32, 24, 41, -25, -66, -12, -17,
-47, 13, 29, -48, -31, 24, -28, 2, 3, -58, -7, 46, -13, -49, 6, -13,
-52, -19, 29, -30, -53, -11, -43, -50, -8, -11, -27, 21, -16, -51, -15, -42,
-41, 12, -22, -56, -8, -18, -53, -29, 40, -8, -61, 6, 27, -11, 2, 41,
-20, -50, 8, 17, 11, 19, -20, -47, -3, 17, -32, -22, 20, -18, -22, 9,
-8, -19, 24, 7, -19, 27, 29, -20, -8, 6, -12, -14, -10, -15, -28, 13,
8, -48, -21, 27, -28, -38, 1, -31, -24, 2, -5, -13, -9, -22, -30, 16,
-19, -68, -8, 4, -43, -40, -29, 5, -24, -51, -3, -17, -8, 11, -17, -38,
-4, 11, 13, -11, 12, 13, -30, 14, 2, -32, 16, 42, 11, -6, 18, -1,
-40, 17, 68, 5, -14, 43, 11, 14, 29, -32, -5, 38, -17, -39, 32, 18,
-38, -22, 11, -16, -16, 16, -10, -45, -3, 9, -42, 19, 15, -30, 24, 4,
-30, 35, 24, -39, 11, 28, -13, -18, 43, 12, -58, -8, 15, -36, -32, 45,
16, -39, 4, -8, -11, 39, -6, -30, 11, 10, -32, -6, 29, -26, -4, 30,
4, 2, 47, 16, -22, 30, 35, -27, -23, 6, -32, -30, -4, -17, -29, 27,
19, -27, 4, 21, -21, -13, 20, -24, -21, 15, -8, -9, 24, -2, -54, 18,
35, -52, -11, 26, -35, -41, -19, -2, -27, -37, 12, -19, -28, 16, 2, -32,
-28, -20, -24, -18, 19, -8, -45, 4, -11, -30, 13, 12, -19, 5, 30, 0,
-40, -13, 42, -2, -29, 6, -3, 13, 24, -26, 1, 49, -10, -29, 38, 37,
7, 29, 16, -21, 13, 37, 16, -27, -8, 30, -1, 29, 28, -19, 18, 6,
-33, 22, 46, -6, 16, 38, 11, 6, 45, 29, -22, 0, 24, -13, -30, 26,
19, -16, 26, 26, 8, 54, -6, -46, 29, 32, -8, 15, 43, -3, -5, 43,
22, -15, 35, 2, -51, 0, 32, -7, -12, 43, 2, -33, 12, 14, -3, 41,
24, -21, 23, 38, -6, 3, 37, -3, -19, 27, 11, -11, 24, 30, -22, 8,
50, -30, -16, 64, 35, 16, 48, 47, -16, -27, 36, 13, 0, 46, 51, 35,
22, 25, -3, -5, 41, 8, -24, 16, -23, -35, 35, 39, -41, -20, 38, 8,
-46, -32, 27, -16, -35, -4, -24, -4, 4, -50, -35, 22, -19, -49, 13, 9,
-20, 32, 23, -53, -17, 27, 0, -33, -35, -35, -27, 19, 6, -38, 3, 5,
-47, -8, 16, -38, -11, 5, -45, -24, 10, -22, -30, 0, 0, -22, -16, -4,
-38, -60, -30, -21, -30, 13, -16, -65, -22, -19, -47, -20, -8, -29, -51, -33,
-30, -37, 22, -11, -67, -38, -16, -37, -54, -13, -2, -32, -28, -30, -31, -9,
-19, -44, -30, 6, -29, -32, 4, -22, -38, -10, -24, -19, 13, -8, -41, -8,
48, -19, -53, 0, -8, -14, 30, 48, -22, -51, -11, -38, -35, 19, 7, -1,
33, 38, 21, 16, 51, 38, 20, 59, 29, -15, 28, 68, -13, -30, 56, 67,
11, -1, 45, 24, 10, 34, 17, 28, 43, 4, -3, 27, -7, -28, 30, 31,
-9, 28, 51, -35, -25, 45, 42, 30, 31, -30, -54, 23, 19, -27, 13, 48,
5, 12, 30, -48, -20, 35, -35, -12, 43, -2, -9, 32, 15, -48, -22, 27,
10, -23, -8, -10, -19, 27, 30, 5, 14, 3, -33, -7, 4, 4, 13, -4,
-25, -6, 40, 10, -25, -1, 14, -13, -20, 10, 14, 9, 0, -30, -6, 25,
18, -3, -20, 27, 10, -5, 31, 5, -11, 20, -2, 0, 48, 19, -51, -28,
58, 16, -14, 12, -26, -36, 13, 36, -19, -51, -27, -39, -29, 30, -3, -25,
-16, -11, -44, -48, -7, -5, -13, 16, -3, -46, -35, 18, -23, -51, -2, -4,
-30, -20, -11, -35, -21, 8, -1, 13, 17, -14, 14, 53, -7, -38, -3, -13,
-21, 6, 17, -38, -27, 21, 5, 20, 67, 7, -51, 27, 23, -29, -10, 14,
-5, 0, 54, -8, -21, 56, 7, -3, 46, 5, -16, 38, 43, -6, -2, 43,
38, 8, 38, 40, 21, 48, 36, 29, 54, 52, 20, 43, 51, 19, 49, 56,
9, 9, 56, 36, -3, 32, 73, 36, 0, 36, 34, 35, 65, 24, 6, 39,
40, 16, 5, 34, 31, 20, 44, 6, -13, 32, 24, -12, 24, 62, -16, -33,
39, -3, -10, 41, 0, -22, 28, 62, 36, 24, 7, -20, -5, 47, 38, 32,
-15, 17, -19, -33, -6, -19, -29, 12, 0, -22, -15, 15, -16, -23, 6, -27,
-53, -12, 1, -54, -52, -8, -32, -11, 20, -53, -33, 43, -8, -50, -19, -49,
-37, 21, 5, -57, -44, -1, -48, -38, 37, -3, -70, -5, 0, -48, -25, -19,
-36, -24, 25, -18, -30, 28, -5, -19, 22, -26, -64, 17, 22, -31, -26, 14,
-8, -48, -12, -21, -33, -9, -38, -38, -9, -20, -27, 0, 29, -22, -27, 9,
-23, -45, 17, 20, -44, -24, 16, 3, -49, -29, -21, -34, 14, -3, -48, -16,
-16, -53, -26, -3, -27, -17, 20, -29, -43, 1, 0, -43, -26, 35, -27, -37,
26, -26, -55, -19, -43, -55, 5, 31, 10, 40, 30, -46, -32, 2, -17, 11,
10, 43, -2, -7, 30, -1, -18, 32, 24, 16, 37, 46, 4, 9, 40, 8,
-20, 13, 62, 19, -15, 19, -1, -1, 55, 8, -19, 48, 27, -6, 44, 1,
-22, 51, 34, -29, -13, 35, -27, -30, 56, 40, -17, 19, 14, -34, -2, 12,
0, 12, 42, -25, -41, 8, -38, -43, 43, 25, -40, 28, 43, -35, -47, 27,
26, -15, 16, -12, -19, 23, -19, -19, 10, -35, -49, -24, 32, -1, -40, 11,
6, -27, 24, 28, -30, -8, 16, 21, -16, -8, 2, -25, 17, 16, -20, 24,
13, -61, -30, 20, -24, -16, 43, -13, -36, 21, 29, -25, -12, 34, -25, -16,
35, 9, 9, 21, -24, -67, -11, 18, -39, -13, 49, 0, -7, 18, -35, -9,
-1, 24, -30, -33, 35, -13, -32, 21, -5, -41, -7, 10, -37, -15, 45, 28,
-35, -27, 23, -3, -16, -4, -14, -16, -8, -19, -41, 25, 27, -19, 49, 13,
-51, 27, 26, -30, 5, 52, -19, -62, -4, 6, 0, 46, 14, -30, 21, 25,
-2, 11, 53, -12, -34, 45, 10, -37, 25, 37, -23, 8, 41, 2, -17, 31,
40, 16, 45, 24, -5, 38, 13, 6, 54, 6, -25, -2, 42, 21, -32, 20,
40, -13, 22, 37, -8, 13, 25, 24, 13, 22, 9, -14, 25, 13, -8, 46,
32, -38, -35, 19, 3, 1, 38, -19, -58, 13, 43, -8, 13, 41, -27, -10,
42, 17, 31, 59, 16, -51, 0, 40, -22, -29, 8, 0, 16, 49, -3, -10,
8, 38, 10, -15, 50, 17, -15, 38, 46, -12, 2, 32, -6, -16, 33, 44,
-27, -27, 24, 0, 7, 8, -24, 7, 13, -23, -49, 11, 4, -54, 31, 33,
-49, 16, 32, -48, -16, 45, 11, -37, -16, -32, -57, 23, 26, -32, 1, -9,
-47, -14, 27, -17, -28, 33, 10, -25, 15, 13, -36, -11, 19, -27, -34, 5,
-6, -43, -18, -9, -43, -11, -21, -29, 45, 8, -55, -16, 10, -3, -40, -14,
17, -27, -13, -3, -35, -20, -20, -46, -21, 20, -25, -40, 14, -21, -34, 43,
29, -24, -31, -13, -30, -37, 4, -8, -42, 1, 19, -24, 17, 37, -34, -30,
14, -19, -42, -2, -5, -47, 5, 30, -38, -17, -1, -43, -19, 35, -3, -15,
-5, 8, -13, -25, 25, 18, -20, 6, 15, -18, -7, 30, 9, -24, 26, 54,
-3, -13, 31, 11, 10, 45, 16, 22, 61, 15, -16, 46, 32, -26, 32, 65,
-7, 17, 46, -27, -9, 49, 55, 18, 37, 47, -16, 21, 40, -24, 9, 30,
-11, 16, 19, -29, -14, 29, -16, -37, 29, 29, -18, 5, 43, -26, -47, 16,
11, -24, 5, 19, -3, 26, 17, -14, 35, 35, -30, 5, 41, 25, -1, 9,
34, 16, 31, 29, 9, 27, 38, -8, -9, 51, 27, -4, 32, 10, -12, 37,
30, 7, 15, 29, -5, -26, 24, 24, -5, 24, 32, -10, 26, 36, -17, -16,
27, 26, 5, 31, 23, -19, 24, 62, -7, 7, 56, 5, -12, 47, 30, 31,
-16, -3, -28, -53, -17, -11, -56, -27, -25, -49, -49, -14, -25, -57, -19, -3,
-32, -39, 2, -21, -61, -34, -32, -30, 21, -16, -45, 22, 13, -33, -22, 0,
-22, 1, 22, -41, -43, -1, 19, 3, 0, 13, -19, -5, 16, -32, -8, 31,
-6, 31, 28, -38, -12, 45, 0, -44, 20, 29, -24, -5, 43, -6, -30, 40,
36, 8, 34, 31, 11, 33, 32, 6, 12, 22, -14, -9, 35, 15, -22, -4,
8, -11, 20, 23, -7, 24, 43, 4, -7, 23, 5, 2, 22, 13, 10, 24,
-3, -24, 8, 48, 16, -11, 25, -15, -37, 10, 9, -16, 7, -1, -41, -17,
26, 21, 12, 37, 10, -39, -15, 29, -6, -34, 2, -6, -15, 14, -8, -2,
25, 44, 29, -9, 16, 40, 4, 22, 48, 30, 8, 29, 17, 4, 8, -10,
-14, -11, 36, 35, -8, -8, -10, -8, 34, -10, -48, 5, -8, -27, -10, -20,
-51, -17, 8, -32, -40, -35, -46, -15, 2, -38, -54, -18, 8, -35, -27, 13,
-28, -22, -6, -54, -44, -6, -26, -61, -10, 11, -48, -18, 15, -40, -48, 19,
0, -41, -10, -23, -50, -22, -28, -16, -5, -24, -40, -56, -9, -14, -59, -50,
-36, -58, -13, -3, -67, -32, -11, -54, -43, -5, -43, -61, -43, -53, -28, 29,
-4, -60, -25, 13, -26, -43, 11, -29, -51, -3, -24, -30, 8, 7, -37, -27,
-1, -43, -48, 9, -7, -64, -52, -27, -33, -44, -22, -40, -30, -1, -37, -15,
-14, 7, -6, -22, 10, 10, -13, 3, 30, 11, 3, 16, -11, 5, 40, 24,
-6, -22, 16, 38, 19, 34, 40, 25, 57, 16, -23, 37, 35, 14, 48, 56,
10, 22, 38, 3, 21, 43, -22, -21, 39, 10, -22, 18, 40, -6, -4, 47,
42, 24, 16, -26, -14, 21, 3, -36, 0, 43, -1, 20, 41, -17, -52, 12,
13, -41, 7, 15, -27, 8, -18, -11, 37, 11, 7, -8, 31, 53, 17, 16,
17, -12, 30, 53, -19, 8, 41, -8, -18, 38, 32, -9, -19, -48, -53, 30,
32, -22, 11, 27, 5, 0, 48, 19, -10, 33, 25, 22, 38, 47, 19, 24,
50, 12, -8, 35, 51, 16, 21, 35, 17, 9, 43, 10, -5, 40, 17, 32,
-47, -23, -34, -48, -5, -19, -65, -54, -3, -27, -46, -25, -48, -51, -21, -14,
-40, -51, -39, -24, -44, -32, -16, -27, 6, -17, -54, -5, 9, -33, -30, 0,
-12, 0, 35, -12, -20, 24, -10, -38, 29, 27, -30, 5, 16, -24, -20, 21,
35, 48, 54, -10, -7, 62, 46, -1, 12, 16, -23, 15, 54, 22, -14, 22,
17, -49, -8, 27, -3, 33, 10, -21, 42, 39, 0, -13, 21, 35, 6, 5,
-2, -30, -1, 14, -22, -4, 22, -8, -18, 23, 34, 42, 59, 7, -57, -16,
2, -14, 25, 34, 11, -9, 8, -6, -24, 21, 27, 7, 0, 6, 0, 21,
36, 1, 0, 5, 0, -8, 3, 35, 3, -12, 32, 16, -29, -26, -24, -19,
32, 37, 28, 4, 38, 42, -11, -15, 42, 52, 29, 32, 3, -16, 14, 33,
0, -1, 16, 5, -21, -11, -17, -43, -10, 7, -18, -6, 17, -9, -14, 4,
-17, -33, 21, -5, -45, -5, -8, -47, 1, 16, -49, -16, -6, -43, -47, -14,
-19, -11, 35, -24, -58, 19, 6, -30, 16, 2, -59, -24, 22, -18, -30, 26,
16, -51, -31, -14, -51, -31, -20, -55, -19, 29, -26, -51, -2, -1, -26, -7,
-3, -34, -28, -31, -41, -16, -4, -46, -53, -16, -36, -29, 31, 13, -33, -22,
-24, -40, -29, 5, -6, -46, -32, -25, -43, -11, 8, -35, -55, -45, -48, -24,
6, -32, -8, 13, -27, -46, -48, -5, -37, -55, -1, 3, -29, -46, -42, -42,
24, 20, 25, 27, 48, 44, -16, -9, 24, 43, 56, 65, 32, 9, 43, 75,
38, 21, 59, 46, 12, 32, 44, 14, 19, 43, 36, 34, 42, 19, 24, 48,
41, 13, 45, 28, -4, 52, 43, -10, 27, 30, -32, 10, 38, 13, -11, 5,
12, 12, 56, 2, -48, 27, 17, -25, 40, 43, -30, -13, 47, -5, -35, 41,
59, 9, 7, 9, -7, -5, 6, -17, -19, 46, 16, -20, 38, 23, -9, 29,
46, 35, 41, 11, -13, 29, 61, 18, -5, 35, 17, 2, 43, 46, 29, 27,
18, 5, -18, 25, 43, 14, 30, 24, -7, -4, 37, 36, 14, 14, 0, 1,
43, 22, 25, 65, 44, 16, 8, 43, 0, -31, 30, 43, 19, 28, 43, 34,
-16, -14, -51, -43, -1, 19, -43, -32, -18, -50, -36, -12, -28, -29, 5, 20,
-4, -16, -9, -22, -8, 19, 26, 11, -4, -20, -20, 16, 14, -24, -18, -19,
-14, 8, 53, 40, -13, 18, 11, -12, 35, 33, -33, -10, 9, -12, 0, 14,
8, 10, 61, 8, -44, 13, -3, -25, 34, 26, -38, -18, 49, 23, -22, 22,
31, 22, 43, 35, 43, 49, 21, -2, 5, 42, 16, -32, 20, 24, -27, -12,
2, 11, 50, 31, -20, 1, 51, 33, -1, 22, 21, 3, 36, 36, 22, 32,
13, -13, -27, 15, 34, 22, 39, -3, -24, -2, 14, 27, 19, 0, -19, -11,
11, 3, 10, 35, 13, -19, 3, 55, 15, -27, 32, 45, 6, 14, 31, 11,
2, 27, -31, -49, -2, 42, -3, 1, 12, -27, -14, -1, -51, -61, 3, 15,
-28, -7, 9, -49, -27, 18, -20, -21, 0, -39, -45, 7, 2, -19, 20, -15,
-67, -34, 24, 22, -27, -30, -51, -59, -4, 26, -35, -23, -1, -59, -54, -32,
-50, -34, 47, 1, -46, 15, -28, -70, 0, 3, -58, -30, 13, -16, -52, -16,
-25, -40, 17, -2, -19, 13, -26, -59, -24, -7, -16, -38, -11, 13, -23, -35,
-45, -52, -13, 3, -55, -45, -4, -17, -51, -25, -19, -56, -13, -11, -45, -19,
-19, -49, -53, -33, -41, -39, 20, -14, -67, -41, -38, -43, -35, -34, -59, -58,
-45, -64, -33, 8, -22, -71, -31, 25, -13, -61, -10, 1, -33, -21, -19, -43,
-19, 28, 22, -24, -3, 19, -14, 19, 30, -4, 28, 47, -18, -65, -8, 24,
-15, 12, 63, -19, -39, 34, 11, 10, 49, 14, -1, 19, -8, -11, 51, 43,
-38, -38, 19, 34, 16, 25, 10, -18, 8, 38, -13, 6, 57, -8, -19, 14,
-10, -18, 52, 29, -20, 50, 51, -12, 21, 36, -43, -21, 37, -1, -32, 19,
12, -48, 1, -5, -39, 23, 19, -28, 1, 27, 18, 8, 18, 23, 9, 19,
16, -2, 18, 30, -28, -16, 28, 15, -13, 21, 39, -12, 19, 40, 8, 21,
21, -10, 4, 19, -17, -29, 41, 56, 2, -2, 11, 16, 24, 48, 14, -17,
8, -16, -6, 53, 34, -39, -12, 47, 17, -32, 11, 22, -3, 22, 20, 14,
10, 21, 48, -13, -11, 1, -41, 21, 46, -22, -2, 48, 2, -58, -41, -24,
-57, -24, 50, -8, -62, -5, -10, -27, -4, -25, -5, 24, -27, -43, 19, 40,
-30, -50, 14, 22, -1, 27, 17, -16, 18, 39, -20, -6, 48, -3, -7, 35,
-2, -24, 27, 14, -26, 18, 41, 13, 29, 49, -30, -25, 61, 11, -32, 30,
24, -29, 27, 26, -29, 9, 9, -35, -24, 24, 11, -15, 30, 19, -16, 26,
41, 18, 31, 30, -27, -22, 20, 2, -19, 15, 34, -9, -6, 30, 25, 53,
40, -31, -24, 30, 22, -11, 8, 20, 16, 37, 34, 13, 16, 56, 35, -18,
13, 5, -12, 49, 43, -27, -31, 27, 25, -25, 11, 14, 5, 38, 12, 8,
26, 8, 35, 22, 23, 43, 0, 19, 53, 8, 3, 56, 51, 7, 6, 24,
-29, -32, 49, 38, -30, -2, 16, 0, 2, -27, -15, 33, 0, -46, 5, 36,
-15, -42, 17, 4, -43, 10, -3, -65, -13, 21, -40, -14, 26, -33, -43, 13,
-26, -53, 13, -6, -56, -12, -6, -37, 0, 24, -35, -40, 48, 8, -56, 11,
1, -55, 9, 26, -29, 2, 15, -15, -29, 1, -20, -64, 21, 34, -39, -19,
0, -22, 3, 6, -24, -28, -19, -46, -57, -27, -16, -43, -51, -21, -34, 8,
30, -19, -35, -15, -3, -29, -17, -27, -59, -6, 10, -51, -34, 43, 36, -37,
-35, -20, -43, 10, 26, -22, -30, 15, 11, -51, -9, -6, -16, 38, 8, -13,
0, -7, -9, -22, -28, -9, -24, -29, -16, -14, -26, 3, 46, 32, 35, 54,
20, -15, 27, 22, -18, 10, 17, 19, 27, -5, -27, 24, 47, 5, 26, 49,
14, -9, 24, 3, -49, 21, 38, -45, 2, 47, -8, 22, 50, -22, -30, 51,
26, -28, 32, 43, -15, 18, 32, -4, 32, 46, -16, -35, 42, 49, -13, 29,
25, -48, 5, 39, -13, 13, 55, 39, 19, 42, 29, -30, 11, 45, -1, 6,
26, 8, 31, 38, 31, 42, 51, 17, -3, 24, 34, 13, 0, 5, -27, 14,
56, 27, 12, 11, 19, -10, 19, 46, -11, 11, 43, -34, -38, 38, 62, 33,
5, 19, -8, 9, 49, 3, -5, 48, 45, -17, 12, 24, 2, 49, 52, 33,
-8, -8, 0, -32, -42, -27, -27, -27, -37, -32, -38, -29, -8, -37, -16, -8,
-32, -43, 1, -16, -46, -11, -37, -39, -13, -30, -45, -10, -5, -33, -17, 10,
-24, -13, 40, 10, -59, 0, 37, -45, -5, 40, -14, 7, 42, -34, -48, 26,
22, -12, 2, 2, -19, 3, 14, -8, 17, 35, -15, -32, 6, 12, -19, 24,
32, -41, -3, 40, -26, -40, -6, -30, -11, 25, 18, -16, -5, 0, -30, -4,
8, -24, 2, 14, -16, 10, 48, 14, -18, 25, 27, 2, 27, 32, -33, -18,
34, -10, -33, 10, 47, -3, 0, 24, -6, 24, 55, 4, -38, -17, 7, 24,
15, 15, -12, -8, 29, -18, -37, 20, 30, -23, -14, -8, -24, 10, 21, 3,
-8, -3, 45, 10, 11, 24, 18, 36, 37, 27, 8, 19, 28, -17, 12, 29,
-6, -29, 24, 8, -22, 38, 29, 17, 46, 0, -35, 11, -2, -36, -33, 11,
-23, -37, 52, 49, -27, 18, 40, -47, -26, 12, -42, -16, 51, -23, -53, -16,
-36, -31, -5, -32, -59, -38, -35, -51, -15, 21, -29, -25, -3, -35, -54, -11,
7, -50, -18, 35, -20, -34, 2, -51, -43, -3, -26, -49, -7, 3, -48, -26,
-11, -56, -20, 19, -51, -56, -6, -23, -67, -18, -11, -63, 0, 39, -38, -45,
17, -19, -50, -9, 17, -36, -23, -19, -58, -21, -4, -12, -38, -39, -32, -46,
-34, -18, -25, -15, -16, -48, -59, -31, -11, -38, -21, -24, -61, -21, -13, -36,
-33, -38, 8, -24, -3, 13, -32, 2, 37, 10, -19, 6, 11, -30, -7, 40,
22, -7, 35, -1, -38, 17, 23, 19, 54, -2, -55, 8, 31, 22, 10, 46,
34, -22, 32, 51, -16, 22, 49, -38, -12, 29, -27, -10, 69, 15, -24, 19,
-5, -1, 46, 47, 15, 23, 29, -8, 2, 39, -24, -11, 54, 19, 4, 28,
32, -8, 8, 54, 17, 12, 56, 3, -23, 25, 29, -8, 19, 46, 9, 21,
36, -5, 0, 42, -17, -39, 19, 31, -15, 17, 28, -49, 0, 56, -3, -10,
51, 8, -21, 16, 5, -32, 18, 25, -25, -2, 16, 19, -5, 8, 22, -24,
-15, 8, 16, 46, 43, 21, 13, 11, 0, -15, 26, 40, -11, 17, 39, 26,
19, 10, 23, -16, 0, 43, -9, -21, 2, -17, -25, 12, -1, -46, -33, 0,
-27, -30, 38, 14, -38, -32, -32, -40, -5, -12, -49, -22, -5, -21, -25, -2,
-12, -41, -5, 20, -42, -6, 50, -33, -3, 40, -35, -30, 39, 6, -32, 17,
1, -13, 14, 5, 3, 34, 46, 0, -19, 16, -37, -35, 39, 8, -3, 27,
6, -31, -16, 23, 1, -2, 23, -11, -11, 27, 16, -17, -10, 10, -6, 6,
21, 0, 6, 27, -13, -29, 25, 30, -7, 31, 35, -43, -10, 41, 7, -12,
13, -27, -25, 44, 5, -48, 9, 30, -19, 8, 57, 38, -2, 20, 33, -13,
-17, -3, -5, 23, 24, -5, 11, 52, 19, -41, -5, 37, 3, -6, 4, 11,
27, 29, 59, 18, -7, 10, -11, 3, 8, -25, -21, 40, 49, -4, 13, 29,
-11, -11, 42, 51, 29, 17, 16, 2, 12, 35, 14, 8, 24, -16, -24, 14,
-7, -39, -7, 25, -37, -14, 59, 3, 8, 46, -35, -37, 35, 8, -42, 1,
-11, -36, 6, -23, -43, -5, 22, -19, -19, 33, -20, -55, 6, -14, -49, -2,
-12, -56, -46, -8, -37, -19, 16, -41, -32, 11, -24, -51, -29, -14, -45, -37,
1, -5, 19, 43, 7, -27, 13, 0, -51, 12, 32, -37, -22, 4, -17, 0,
20, -37, -33, 54, 35, -53, -15, 40, -20, -26, 34, 0, -37, 24, 35, -6,
-29, -20, -25, -5, 0, -43, -36, 25, 42, -31, -43, 9, 3, -18, -41, -35,
-23, -42, 0, -23, -22, -29, -61, -24, 6, -35, -62, 3, 34, -16, 18, 20,
-35, -48, -7, 6, -1, 24, 43, 27, 14, 23, 10, 14, 55, 26, -3, 46,
35, -17, 19, 56, -2, -5, 39, 0, 0, 56, 3, -11, 53, 29, -22, 22,
32, 2, 43, 16, -31, 4, 58, 13, -3, 64, 45, -3, 37, 32, -24, 31,
64, 13, -22, 19, 16, 13, 53, 9, -5, 51, 30, -12, 19, 54, 18, 0,
30, 21, 29, 32, -10, -30, 32, 30, -34, 18, 49, -12, -4, 37, 13, 29,
65, 8, -21, 39, 68, 11, 4, 47, 5, -16, 45, 30, -21, 34, 46, 21,
19, 19, 8, 37, 39, -23, -28, 11, 34, -10, -25, 26, 43, 49, 24, 27,
19, 0, 34, 7, 28, 49, 14, 0, 38, 40, -16, 5, 13, -35, 18, 43,
-17, -57, -3, -3, -46, -19, -8, -29, -42, -43, -62, -32, 16, -11, -54, 0,
18, -52, -24, 23, -24, -30, 5, -35, -29, 19, -24, -35, 33, 16, -38, 0,
-6, -26, 27, 5, -59, -29, 43, 2, -42, 6, 17, 6, 34, 37, -15, -6,
29, 32, -1, -6, 21, 18, 8, -10, -22, 31, 40, -24, -4, 40, 0, -35,
-12, -8, 18, 21, -39, -43, 29, 22, -35, 2, 31, -24, -17, 26, 0, -20,
-6, -27, -34, 4, 3, -19, -8, 11, -24, -48, 5, 17, -14, 16, 6, -35,
-13, -14, -36, 22, 49, -30, -55, 9, 10, -49, -38, -9, -3, 32, 7, -12,
16, 17, 51, 18, 17, 43, 17, -16, -4, 15, 2, 32, 19, -47, -6, 67,
25, -27, 31, 28, -11, 19, 29, 16, 18, 26, -15, -8, 38, 16, -48, -9,
49, -24, -33, 21, -14, -17, 31, -11, -9, 8, -49, -67, 14, 16, -50, 6,
-3, -51, 11, 19, -51, -38, 30, 0, -51, -41, -59, -35, 8, -6, -27, -14,
-8, -10, 7, -22, -42, 4, -5, -36, -33, 16, 33, -41, -43, 14, -16, -67,
-42, -39, -4, 49, 0, -18, 26, 2, -50, -8, 16, -45, -30, 5, -8, -4,
-9, -53, -48, 13, -11, -50, -12, 24, -7, -35, -2, -20, -41, 8, 9, -43,
-14, 7, -37, 3, 65, 16, -38, 35, 57, -21, -16, 0, -26, 19, 19, -29,
-26, -32, 14, -27, -27, 22, -8, -42, -51, -63, -51, 24, 24, -56, -51, 26,
-6, -46, 8, -9, -42, 2, 30, 18, 19, 17, -11, -15, 26, 37, -21, -8,
42, -14, -18, 37, 13, 10, 37, 2, 23, 65, 9, -45, 19, 46, -35, -1,
35, -15, 26, 57, 4, 2, 49, 50, 28, 28, -21, -21, 31, 8, -38, -5,
32, -25, 3, 35, -18, 19, 51, 6, -10, 32, 59, 8, -11, 37, 23, -14,
18, -8, -16, 22, -15, -6, 51, 12, -42, 17, 45, -38, -33, 19, 12, 30,
47, -4, -23, 39, 22, -26, 4, 53, 32, 7, 44, 10, -19, 34, 42, -5,
11, 40, -2, -2, 50, 29, -28, 16, 43, -5, 8, 29, -17, 2, 50, 12,
2, -26, 34, -10, -22, 51, 41, 17, 22, -12, -51, 16, 39, -16, -18, 30,
-13, -31, 16, 2, -27, -11, -5, -33, -14, -16, -38, -50, -10, 11, -33, 3,
24, -46, -28, 6, -37, -25, -10, -43, -32, 42, 25, -46, -16, 17, -35, -30,
10, -25, 4, 20, -30, -24, 20, 29, 37, 45, -11, -43, 16, 38, -39, -39,
19, -35, -40, -3, -37, -32, -8, -34, -55, -25, 0, -17, -2, 27, -13, -30,
31, 5, -19, 9, -52, -53, 45, 18, -57, 8, 43, -32, -48, -15, -27, -14,
7, -25, -43, 16, 5, -51, -21, 5, -30, -34, 29, 3, -35, 4, 0, -43,
-30, -16, -52, -49, 11, 7, -58, -24, -6, -54, -28, 3, -37, -43, -2, -14,
29, 6, 53, 27, -8, 24, 14, 6, 49, 39, -17, 27, 55, 25, 28, 59,
-4, -13, 50, 30, 0, 22, 40, 9, 30, 51, 43, 8, 23, 15, -36, 24,
56, -9, -2, 27, -35, -14, 31, 2, -28, 24, 28, -33, 0, 29, -15, -7,
24, -23, 0, 13, -39, -37, 0, -21, -37, -7, -10, -32, 4, 30, -37, -40,
11, -5, -15, -20, -44, -26, -14, -29, -31, -19, -28, -67, -9, 51, -7, -37,
21, -3, -11, 46, -7, -47, 31, 29, -62, -3, 59, 23, 16, 24, -23, -20,
24, 2, -31, 19, 35, -40, -24, 11, -32, -38, 3, -17, -36, 5, 14, -17,
0, 9, -43, -52, 16, 36, -30, -14, 23, -36, -18, 32, -10, -5, 27, 5,
-45, -47, -22, -27, -11, 16, -31, -43, 19, 17, -37, -26, -13, -29, -12, 39,
-11, -54, 9, 11, -45, -29, 9, -7, -3, 14, 29, 24, 35, 0, -35, 0,
13, 2, 24, 56, -2, -2, 46, 27, 8, 44, 56, 11, 34, 51, 8, 12,
25, 0, 32, 38, -12, -16, 29, 32, 6, 21, 16, -10, 35, 68, 4, -4,
30, 25, 53, 46, 5, 35, 47, 16, 14, 50, 53, -9, 5, 61, 6, -20,
42, 24, 11, 48, 5, -27, 39, 56, -18, 0, 37, 5, 13, 65, 35, -4,
43, 35, -16, -7, 44, 23, 15, 51, 8, 6, 47, 24, 15, 43, 34, 2,
25, 65, 18, -17, 35, 47, 10, 20, 57, 19, 9, 65, 16, 10, 70, 45,
-11, -15, -2, -34, -5, 61, 14, -22, 27, 27, -22, -27, -25, -40, -15, 29,
2, -51, -10, 19, -45, -44, -16, -32, -35, -46, -58, -8, 25, -28, -46, -33,
-59, -64, -22, 17, -24, -31, 8, -34, -41, 4, 6, -4, 16, -4, -35, -4,
-25, -54, 0, 7, -47, -43, -7, 13, 17, 33, -3, -49, -3, 42, 0, -4,
6, -37, 15, 49, 3, 23, 32, -21, -48, -13, 6, -33, -30, 36, -4, -56,
0, -4, -13, 20, -22, -67, 0, 36, -13, -6, 0, -48, -41, 14, 16, -13,
16, 9, -35, -46, -10, 2, -8, 6, -37, -32, 25, -2, -21, 9, -13, -49,
-24, 38, 13, -35, 15, 5, -30, -1, 13, -11, -28, 22, -6, -30, 18, -9,
8, -3, 40, 26, 3, 31, 2, -29, 17, 49, 19, 26, 36, 5, 24, 57,
41, 3, 31, 61, 8, 8, 32, 18, 25, 14, -40, 2, 54, 19, 12, 28,
6, -30, -26, 7, -18, -21, 35, -17, -47, -3, -37, -40, 29, 20, -24, 23,
22, -24, 8, 23, -27, -22, -4, -35, -43, 21, 12, -39, -11, 5, -24, 3,
19, -53, -24, 9, -32, 5, 35, -1, -17, -8, -14, -43, -41, 38, 21, -51,
-16, -16, -12, 14, -16, -60, -20, 12, -38, 3, 43, -29, -24, 3, -40, -32,
32, 29, -13, -22, -25, -43, -30, 0, -35, -55, 3, -14, -43, 16, 15, -44,
-36, 7, -15, -47, -6, -12, -65, -26, 2, -25, -24, 1, -27, -17, 19, -22,
-31, -61, -19, -8, -40, -32, -43, -57, -16, 13, -22, -8, 1, -39, -27, -5,
-19, -19, 11, 18, -13, -2, 11, -8, 27, 48, -18, -37, 24, 34, 14, 35,
39, 11, 9, 28, 2, -8, 54, 34, -2, 40, 13, -19, 28, 33, 0, 29,
51, 24, 33, 36, -14, -1, 36, 9, -21, 32, 26, -19, 28, 29, -30, 8,
62, 3, 2, 10, -47, -3, 51, 26, 30, 56, 49, 5, -17, 43, 29, -31,
1, -2, 24, 60, 24, -14, 9, 43, -10, 13, 72, 10, 5, 50, -15, -39,
33, 24, -19, 13, 13, -15, 16, 58, 14, -25, 38, 34, -12, 42, 65, -22,
-29, 20, -5, 0, 33, 19, -31, 6, 54, 23, 26, 40, -4, -6, 42, 27,
25, -19, 13, 29, 7, 20, 22, -6, 13, 27, -23, -13, 0, -26, -10, -3,
-54, -46, 2, -14, -40, -5, 3, -55, -29, 25, -2, -45, -8, -5, -44, -16,
0, -30, -27, 13, -24, -40, 2, -13, -34, 0, -1, -38, -3, -12, -58, -38,
-10, -27, -24, -1, -38, -42, -6, -17, -25, 17, -1, -46, 3, 22, -39, -25,
13, -27, -2, 26, -41, -41, -8, -30, -42, -1, 25, -27, -36, 24, 6, -38,
-26, -45, -12, 30, -13, -45, -5, 29, -27, -21, 32, -5, -22, 27, -7, -32,
33, 8, -51, 11, 35, -23, -14, 27, -12, -51, 9, 12, -36, -2, 41, -26,
-42, 11, -18, -14, 42, 19, -43, -14, 32, -7, -9, 19, -2, -11, 9, -9,
31, -8, 17, 42, 38, 37, 19, -5, 30, 51, 27, 35, 44, 13, 25, 70,
12, -20, 40, 33, -15, 16, 56, -8, -20, 32, 16, -10, 40, 43, 5, 26,
43, -6, -48, 14, -1, -45, -13, -19, -61, -29, 10, -46, -6, 35, -14, -23,
13, 11, 3, 29, 15, 1, 22, -18, -30, 32, 16, -40, -2, 30, -26, -12,
9, -40, -21, 29, -6, -24, -5, -14, -36, -10, 16, -48, -33, 40, 24, -12,
-14, -38, -7, 24, -25, -54, -9, 26, -45, -43, 22, -7, -35, 12, -13, -24,
49, 40, -14, 13, 46, -13, -19, 23, -9, -59, -27, -4, -36, -5, 38, 0,
-24, 19, -2, -26, 31, 28, -32, -29, 21, -19, -40, 4, -14, -10, 15, -30,
-10, -25, 5, -16, -43, -21, -28, -63, -14, -1, -20, 0, 29, -20, -43, 29,
10, -26, 26, 19, -42, -35, 32, 24, 8, 30, -16, -30, 31, 35, 12, 26,
64, 44, -13, 29, 48, 13, 37, 52, -5, 0, 56, 4, 1, 37, 14, 13,
43, 30, 20, 51, 30, 1, 41, 27, -16, 42, 34, -11, 34, 48, -12, 8,
62, 32, 15, 49, 32, 7, 45, 35, -8, 30, 64, -5, -10, 55, 43, 19,
33, 11, 30, 68, 11, -31, 18, 62, 8, -17, 45, 29, -10, 38, 24, -3,
43, 31, -6, 1, 43, 23, 13, 56, 43, 5, 12, 31, 11, 9, 34, 15,
-5, 38, 25, -2, 35, 29, -12, -3, 53, 27, -16, 32, 16, 14, 60, 38,
5, -20, 32, 26, -19, 8, 23, -41, -19, 6, -54, -44, 35, 0, -45, 10,
-17, -55, 9, 32, -30, -43, -5, -19, -13, 22, -27, -39, -1, -29, -56, -27,
27, 6, -25, -2, -5, -4, 21, 8, -19, 0, 15, -22, -6, -11, -46, -16,
9, -36, -44, -2, -21, -46, -6, 5, -44, 1, -8, -46, 9, 15, -40, -29,
12, 0, -2, 12, -10, -46, 5, 10, -45, 4, 35, -20, -29, 33, 13, -17,
-2, -27, -3, 57, -2, -63, -12, 8, -30, -30, 17, -5, -37, -10, -27, -43,
-8, -22, -42, -27, -6, -19, -48, 5, 18, -16, 7, 7, -16, -25, -3, -19,
-38, -5, -30, -39, 13, -9, -66, -35, 7, -11, -46, -13, -11, -8, 36, 11,
-12, -43, 11, 27, 0, 24, 45, 3, 13, 43, -32, -43, 50, 27, -19, 40,
13, -38, 20, 62, -2, -12, 36, 5, 0, 36, -3, -15, 28, -1, -53, -26,
40, 8, -11, 26, -13, -16, 35, -3, -36, 18, 23, -24, 19, 22, -30, 10,
35, -33, -39, 17, -10, -19, 9, 2, -22, 15, -11, -59, -12, -1, -41, -23,
7, -33, -11, 17, -12, -38, 12, 11, -44, -4, 1, -54, -40, 22, -15, -36,
-12, -58, -37, 53, 14, -51, 0, 8, -50, -37, 25, 5, -11, 3, -34, -33,
7, -6, -26, 6, 16, -4, -38, 3, 16, -45, -11, -1, -21, 1, 38, 16,
-4, 13, -24, -23, 38, 34, -40, -16, 18, -16, -53, -13, -22, -40, 21, -22,
-19, -45, 8, 0, -50, -16, -13, -29, 21, 58, -23, -63, 24, 20, -39, 28,
18, -36, 0, 19, -37, -54, -5, -8, -15, 0, -29, -35, 40, 31, -35, -29,
7, -5, -13, 32, 8, -18, 41, 21, -29, 16, 16, -24, 22, 27, -16, 27,
67, -2, -14, 55, 15, -3, 40, 30, 21, 54, 42, 7, 33, 40, 2, 10,
40, 0, 19, 59, 0, -24, 45, 38, -14, 31, 52, -14, -8, 53, 16, -11,
34, -9, -40, 48, 25, -40, 21, 53, -11, -19, 27, -6, 0, 54, 34, 26,
55, 38, -8, 16, 51, 43, 13, 23, 24, -24, 10, 30, -3, 5, 17, -5,
19, 54, 13, -4, 41, 52, -7, 0, 58, 43, -9, 27, 6, -36, 30, 14,
35, -2, 37, 43, -22, 2, 6, -28, 14, 71, 31, -39, 17, 39, -20, 25,
14, -43, 6, 16, -25, -22, -5, -22, -29, -8, -19, -34, 27, 17, -33, -9,
-15, -32, -38, 0, -14, -56, 5, 8, -43, 6, 0, -59, -13, -12, -54, -8,
51, -7, -28, 27, -9, -35, 6, -3, -30, 9, 13, -5, 29, 22, -25, -14,
5, -35, -19, 25, -30, -69, -6, 3, -40, 0, 49, -13, -25, 35, 24, -27,
12, 9, -51, 3, -1, -62, -11, 38, -27, -32, 6, -40, -48, 11, 0, -20,
19, 11, -35, -38, 2, -5, -27, -16, -19, -29, 10, 19, -36, -41, -28, -59,
-51, 11, -3, -43, -8, 3, -33, -51, -3, 4, -26, 1, -19, -52, -8, -5,
10, -10, 11, 40, 10, 12, 14, -22, -5, 40, 45, -2, 13, 15, -25, 26,
48, 0, 40, 49, -7, 18, 59, 40, 25, 34, 14, -10, 35, 43, 10, 42,
38, 11, -5, 29, 26, -24, 5, 21, -14, 33, 41, -42, -25, -7, -43, -11,
50, -13, -32, 28, -11, -45, 3, -6, -48, 2, -15, -47, 5, 14, -45, -22,
24, -9, -11, 14, -14, -51, -6, 19, -30, -22, 30, -17, -43, 8, 20, -18,
6, 35, 6, 19, 15, -26, -4, 49, -16, -12, 53, 3, -48, -1, -11, -59,
0, 10, -24, -35, -8, 11, 9, 25, 19, 10, 37, 40, -9, 2, 37, -4,
-59, -5, 5, -45, 2, 28, 13, -13, 8, -7, -40, -14, -15, -21, 14, 8,
-40, -46, -38, -28, -34, -24, -28, -55, -32, -21, -30, -48, -9, -16, -74, -31,
3, -23, 11, 34, -38, -33, 16, -10, 3, 11, -24, -25, 5, 8, -27, 3,
16, -21, -15, 30, 27, 7, 10, -11, -14, 26, 38, 12, 8, -6, -44, -27,
42, 11, -5, 51, -1, -47, 32, 24, -20, 45, 9, -32, 27, 57, -4, -14,
43, 23, 24, 61, 42, 5, 19, 29, 6, -7, 13, -22, -24, 39, 32, 0,
-13, 11, 48, 61, 30, -2, 15, 64, 2, -17, 68, 45, -7, 38, 49, -16,
24, 55, 27, 18, 17, 35, 44, 48, 16, -9, 32, 63, 32, 20, 54, 22,
-25, 32, 29, -20, 25, 40, 19, 16, 49, 55, 30, 24, -13, -21, 29, 28,
11, 6, 21, 16, -14, 6, 5, -28, 13, 24, 6, -24, 18, 32, -43, -43,
-24, -45, -13, 28, -39, -35, 22, -35, -12, 21, -36, -25, 7, -16, -61, -28,
16, -38, -45, 3, -24, -13, 31, -37, -38, 10, -14, 14, 47, 1, -43, -35,
-5, -26, -14, 41, -10, -57, 23, 3, -56, 22, -11, -57, -10, 19, -21, -35,
12, -27, -29, 15, -13, -21, 8, -19, -16, 26, 14, -44, -49, 6, -13, -21,
-35, -62, -26, 18, -14, -46, -9, 35, -21, -53, 16, -1, -24, 5, 11, -14,
1, 2, -32, -6, 2, -29, -40, -2, -27, -69, -21, -3, -25, -33, 9, -13,
-52, 3, -10, -42, 11, 5, -53, -41, 7, 14, 11, 41, -6, -53, -10, -3,
25, 19, 45, 53, 12, 32, 16, -38, 16, 54, 36, 5, 41, 56, 3, 10,
37, 10, 14, 59, -15, -27, 56, -12, -10, 59, -11, -22, 50, 28, -15, 7,
59, 25, -15, 19, -3, -5, 57, 6, -6, 50, -2, -5, 35, 20, -2, -14,
-6, -30, -15, 40, -6, -31, 41, 29, -33, 25, 8, -52, -2, 31, -24, -28,
29, -23, -32, 3, -37, -38, 27, 6, -33, 41, 51, -31, -51, 11, 3, -13,
14, -29, -57, 6, 2, -51, -8, 27, -18, -24, 28, -24, -50, 5, -12, -46,
-8, -6, -51, -19, 21, -4, -38, 21, 27, -32, -5, -12, -30, -4, 36, 14,
-18, 12, -27, -49, 28, 42, -40, -50, 11, 0, -48, 16, 37, -26, -34, -41,
-24, -42, 6, 5, -22, 13, -7, -58, -32, 8, -24, -55, 11, 33, -18, 0,
29, -11, -6, 51, -11, -51, 27, -19, -37, 35, -16, -30, 56, 16, -30, -2,
4, 1, 8, 10, -16, -5, 29, -6, -20, 27, -1, 8, 27, -11, -11, -13,
22, 16, 7, 30, -35, -54, 11, 32, 8, 44, 52, -9, 10, 51, 19, 14,
59, 0, -11, 56, 21, -18, 32, 26, -44, 13, 67, 10, -19, 38, 27, -24,
31, 51, -2, 29, 43, -6, 11, 34, -4, -10, 43, 2, -45, 29, 26, -33,
20, 48, -7, -16, 8, 23, 5, 29, 37, -11, 39, 35, -22, 4, 31, 14,
19, 57, -5, -41, 29, 43, -13, -30, 40, 49, -29, -10, 40, 31, 20, 12,
12, -23, 14, 11, 3, 36, 24, -10, -3, 24, -3, -29, 24, 40, -43, -40,
16, -35, -32, 38, -8, -31, 21, -16, -22, 27, -16, -27, 44, -5, -50, -1,
-17, -36, 7, 3, -55, -19, 19, -19, -37, 6, -26, -16, 32, -3, -19, -19,
19, -3, 5, 35, -32, -51, -17, -25, -32, 10, 15, -27, -19, 9, -16, -22,
24, -13, -37, 15, -18, -44, 14, 16, -54, -16, 45, -8, -27, 27, 10, -54,
-19, 21, -21, -28, -21, -25, -14, 2, -29, -30, 17, -14, -64, -2, 14, -37,
-10, -6, -32, -32, -41, -32, -33, -29, -14, -54, -2, 24, -55, -29, 1, -41,
-45, 16, -17, -46, 6, -1, -33, -57, 8, 35, -37, -35, -13, -16, 0, 0,
-14, -20, -29, -37, -19, 19, 16, -22, 11, 37, -8, -16, 27, 40, -26, -29,
45, 3, -13, 41, -13, -2, 53, 10, 11, 40, -7, -11, 56, 7, -36, 25,
29, -5, 13, 43, -8, -15, 37, 26, -1, 40, 21, -5, 46, 53, 3, -25,
32, -3, 0, 65, 15, -12, 27, -10, -41, 16, 21, -30, -14, 26, -24, -40,
17, 8, -15, -5, -39, -48, 19, 26, -49, -22, 37, -30, -42, 38, 27, -53,
-31, 11, -19, -18, -6, -24, -15, 20, -24, -6, 54, 26, -20, 18, 19, -26,
3, 7, 1, 19, 16, -1, -5, -13, -16, -35, -1, 41, -25, -2, 39, -14,
-24, 22, -14, -29, 35, 24, 1, -29, 11, 38, -24, -26, -19, -54, -30, -17,
-16, 7, -3, -27, -41, -25, -2, -46, -8, 26, -39, -52, 13, 27, -23, -21,
7, -29, -36, 1, -43, -56, -18, -36, -21, 0, -48, -35, 35, -7, -54, -3,
9, -22, -17, 9, -17, -45, -21, -16, -21, 18, 10, -24, -3, 9, -19, -26,
29, -9, -38, 38, 9, -43, 14, 13, -30, 24, 42, -17, -6, 57, 27, 2,
37, 38, 43, 47, -8, -30, 41, 59, -3, 8, 69, 24, -14, 51, 62, -11,
3, 59, 45, 36, 46, -3, -3, 61, 17, 10, 59, 54, 18, 37, 34, -8,
27, 42, 4, 5, 48, 48, 56, 57, 27, 13, 24, 54, 0, 9, 66, 29,
22, 51, 14, -5, 50, 45, 11, 0, 20, 22, 11, 38, 57, 0, 5, 42,
35, 41, 54, 40, 13, 9, 43, 4, 12, 52, 16, -21, 30, 48, -10, 13,
27, -2, 3, 18, -2, -20, -19, -49, -17, 35, -16, -10, 36, 4, -45, -11,
27, -14, -13, 13, -9, -27, -9, -20, -30, -3, -17, -40, -22, -23, -55, -18,
34, -14, -49, 16, 9, -49, -17, -13, -56, -3, 13, -52, -21, 35, -4, -33,
-24, -33, -8, 23, -15, -61, -11, 6, -22, -3, 32, 0, -43, 10, 27, -34,
-26, -3, -2, 14, 8, -38, -27, 19, -20, -44, -9, -1, -40, -10, 8, -25,
3, 12, -50, -51, 3, -8, -1, 33, 5, -9, -5, 0, -32, -27, 29, -4,
-17, 3, -8, -17, 13, 5, -54, -47, 8, -11, -27, 17, 58, -6, -46, -9,
-24, -29, 13, 8, -24, 0, 18, -24, -29, 26, 26, -32, -21, 0, -22, 16,
30, 10, 40, 44, 21, 27, 53, -6, -22, 43, 12, 15, 54, 29, -35, -13,
55, 23, 14, 52, 30, -3, 32, 24, -5, 26, 14, -3, 36, 48, -10, 11,
71, 31, -6, 45, 54, 11, 21, 29, -13, 23, 39, -49, -24, 25, -27, -19,
8, -21, -16, 20, 11, -43, -12, -13, -59, -17, 10, -27, -53, -14, 0, -52,
-25, -13, -19, 21, 0, -39, -10, 17, -19, -45, -16, -5, -30, 4, -3, -27,
32, 45, -32, -34, 9, -27, -39, 11, -18, -27, 22, 19, -19, -36, 2, -19,
-19, -14, -42, -32, 21, 33, -32, -52, 16, 14, -51, -23, 25, -15, -57, -48,
-8, -38, 9, 22, -48, -19, 24, -23, -67, -18, 13, -27, -25, -29, -54, -27,
-16, -52, -10, 12, -31, -27, 37, 1, -53, -20, -41, -37, 18, 19, -49, -41,
1, -24, -33, 24, 16, -50, -22, -14, -38, 12, 25, -21, 5, 22, -27, -31,
13, -9, -32, 1, 5, -17, -18, -10, -12, 27, 41, -38, -18, 40, -19, 7,
54, 29, 22, 51, 37, -27, 15, 24, -48, 2, 44, -8, -10, 33, 50, -1,
0, 8, -2, 49, 32, -9, 21, 54, 30, 9, 38, 20, -1, 46, 22, -11,
40, 43, -40, -24, 53, 22, -10, 38, 19, -18, 8, 21, 1, -5, 29, -2,
15, 39, -3, -16, 30, 61, 10, -25, 25, 51, -18, -3, 41, 13, 15, 17,
32, -6, 24, 56, 11, 8, 65, 29, -29, 19, 38, 17, 41, 43, 14, 20,
24, -39, -6, 49, 12, -25, 24, 26, -3, 13, -18, -20, 24, 35, -25, -21,
3, -13, -29, 20, 40, -25, -14, 12, -13, 3, 27, -34, -24, 14, -26, -28,
-6, -35, -43, -14, -19, -25, -14, -41, -50, -3, 12, -39, -30, 27, -33, -32,
5, -32, -45, 11, 17, -54, -21, 2, -59, -17, 45, -21, -37, 25, 32, -22,
-25, -16, -39, 10, 8, -35, -3, 24, -16, -17, 30, -15, -48, 9, -3, -32,
32, 40, -36, -27, 25, -13, -27, 16, 1, -6, -2, -25, -51, -19, 38, -14,
-11, 44, 7, -37, 7, 41, -15, -35, 13, 33, -29, -13, 28, -12, 22, 30,
4, -12, -10, -20, -25, -19, 44, 11, -46, 21, 25, -9, 20, 28, 13, 41,
58, 0, 5, 35, 17, -13, 11, 28, 34, 51, 4, -5, 43, 48, 11, 28,
40, 6, -7, 22, 51, 40, 33, 35, 24, 27, 55, 9, 2, 49, 23, 30,
56, 36, 27, 48, 31, 11, 49, 20, -5, 34, 45, 14, 2, 45, -6, -7,
41, 0, -45, 8, 38, -21, 10, 46, 5, 2, 46, -1, -51, 9, 30, -9,
1, 33, -8, -1, 0, -56, -19, 37, -5, -15, 37, -4, -41, 11, 3, -33,
35, 53, -12, -8, 28, -29, -48, 14, 3, 13, 55, 34, -38, -33, 33, -12,
-29, 29, 20, -31, 7, 59, 5, -35, 8, 32, -25, 2, 47, -8, 8, 4,
-11, -8, 14, -35, -56, -37, 31, -1, -47, 1, -8, -56, -16, -5, -58, -16,
13, -34, -16, -6, -35, -51, -47, -40, -29, 12, -22, -61, -17, -14, -35, -8,
30, -23, -39, -13, -29, -16, -11, -34, -46, -33, 3, -1, 0, 8, -35, -30,
-1, 7, 11, 27, -3, -27, 28, 12, -8, 35, 38, 19, 19, 56, 28, 14,
62, 53, 5, 30, 64, 19, 18, 22, 7, 23, 61, 30, -38, 7, 39, -5,
-25, 8, 21, 39, 37, -43, -29, 43, 11, -5, 51, 7, -48, 12, 30, -6,
26, 15, -46, -19, 62, 29, -24, 22, 7, -5, 20, 21, -19, -25, 18, -20,
-24, 31, 31, -11, 5, 36, 2, -40, 13, 49, -7, -14, 3, -5, 22, 5,
8, 6, 64, 48, 5, 0, 45, -5, -38, 22, 27, -21, 11, 53, -15, -5,
11, -57, -13, 44, 13, -1, 2, -13, -37, 13, 27, -40, -35, -17, -37, -42,
27, 14, -22, -6, -42, -40, -9, -13, -35, -37, -37, -56, -12, 11, -44, -48,
-40, -48, -36, -6, -37, -54, 3, -16, -58, -11, -16, -54, -36, -18, -30, -45,
-19, -11, -15, -5, -7, -29, -7, -21, -61, -21, 16, 5, -49, -31, 8, -22,
-59, -65, -41, 20, 33, -51, -49, 10, -30, -46, 15, -8, -57, -24, -23, -49,
8, 14, -59, -45, 16, -3, -46, -27, -45, -12, 24, -7, -38, -27, 13, -39,
-63, -19, -25, -48, -19, 11, -17, -56, -8, 8, -27, -32, -62, -58, 1, -24,
-13, -25, 27, 38, -13, -18, 43, -4, -64, -7, 31, 6, 5, 33, 4, 21,
54, -22, -17, 45, 23, 13, 46, 43, 4, 26, 59, 34, 29, 28, 8, -8,
27, 48, 35, 44, 37, 27, 43, 58, 35, 21, 19, -31, 3, 68, 26, 22,
37, -4, -2, 46, -2, -32, 27, 8, -53, 5, 28, -38, -40, -21, -31, -26,
-3, -30, -16, 5, -24, -41, 15, 29, -36, -10, 5, -5, -15, 5, 44, 18,
5, -13, -61, 3, 47, -40, -32, 27, -24, -33, 35, 16, -27, 12, 14, -26,
27, 44, -27, -8, 27, -8, -17, 19, -10, 9, 65, 43, 3, 0, 40, -5,
-40, 2, -14, -32, 2, 47, 18, -41, 7, 23, 0, 30, 0, -32, 26, 8,
-13, -42, 0, 32, 3, -10, 25, 13, -19, -8, -21, -35, -6, 3, -36, -5,
41, -19, -24, 24, 0, -47, -8, -2, -37, 0, 5, -2, 38, 26, -28, -32,
-6, 2, 13, 9, -10, -8, 13, 15, -5, -5, 29, -13, -22, 36, -3, -3,
65, 19, -21, 29, -8, -47, 21, 32, -32, 0, 43, 19, 20, 39, 31, 32,
53, 11, 13, 56, 18, -35, -2, 11, -40, 13, 49, 13, -18, 10, 66, 6,
0, 46, -30, -5, 60, -23, -14, 57, -3, -27, 41, 11, -48, 4, 19, -11,
40, 40, -22, 13, 59, 10, -8, 41, 16, 10, 48, 33, 5, 12, 51, 16,
-13, 43, 11, -27, 7, 48, 17, -35, 24, 51, 3, 25, 37, -7, 19, 22,
37, -4, 12, 32, 21, 34, 39, -8, -2, 47, 18, -36, 3, 48, -21, -21,
41, 1, -6, 39, 37, -11, 19, 8, -39, 21, 13, -27, 3, 35, -20, -45,
8, 3, 8, 12, -42, -67, -5, 22, 0, 3, 35, -3, -36, 16, -17, -37,
48, 19, -27, 17, 3, -35, 5, 24, -25, -2, 6, -11, 22, 16, -27, -16,
16, -16, -34, 34, 24, -49, -24, -3, -49, -21, 21, -6, -54, -30, 33, -21,
-30, 46, -2, -29, 19, -33, -27, 57, 3, -38, 20, 4, -34, 4, -16, -50,
9, 0, -45, -3, 47, -11, -57, -8, -24, -30, 24, 4, -46, -15, 43, 2,
-48, 10, 11, -56, -32, 36, 9, -32, 13, 29, -39, -35, 22, -20, -40, -18,
-12, -28, -16, -27, -56, 6, 50, -30, -43, 15, 9, -43, -22, 44, -6, -48,
-2, -14, -25, 5, -5, -24, 16, -1, -40, 18, 10, -8, 5, 35, 25, -12,
19, -2, 13, 69, 47, -37, -17, 33, -3, 0, 51, 33, 1, 29, -6, -46,
27, 41, 21, 48, 29, 5, 31, 43, 8, 35, 22, -33, 11, 40, -34, -43,
18, -3, -43, 24, 50, -6, 15, 46, 8, 0, 33, 19, -39, -8, 46, 5,
-7, 42, 38, 17, 30, -27, -40, 49, 24, -5, 48, 5, -16, 51, 35, -5,
32, 13, -55, -19, 57, 26, -18, 20, -10, -38, 27, 29, -43, -16, 52, 35,
-3, 15, 46, -2, -15, 46, 20, -32, 10, 54, -4, -30, 32, 18, -18, 2,
-4, -9, 16, 12, -36, -2, 36, -28, -24, 21, 0, -34, -11, 32, 10, -29,
-37, -51, -34, 5, -37, -57, -16, -34, -70, -9, -16, -45, -8, -10, -29, -41,
-19, -50, -41, 13, 22, -22, -42, -3, -44, -41, 5, -15, -8, 8, -29, -70,
-23, 3, -9, 19, -16, -35, 8, 16, -11, 19, 19, -38, -24, 41, 16, -42,
14, 22, -22, 24, 45, 8, 18, 31, -10, -7, 54, 49, -16, 6, 40, -12,
-32, 1, 3, 19, 51, -17, -48, 27, 23, -13, 43, -3, -51, 18, 25, -13,
16, 38, -38, -32, 24, 1, -13, 27, -5, -40, 16, 28, -39, -38, 9, -7,
-4, -3, 2, -2, -3, 20, -8, -54, -28, 25, -10, -26, 18, 2, -8, 6,
9, 5, 38, 48, 3, 22, 46, -2, 8, 56, 26, -19, 16, 47, 35, 43,
31, -8, 6, 59, 43, 12, 34, 27, -23, 17, 30, -29, 0, 13, -16, -20,
14, 0, -7, 18, 0, -14, -3, 34, 0, -4, 19, -30, -1, 53, 27, -29,
-10, -14, -38, 27, -6, -58, -11, -10, -57, -9, 17, -37, -56, -17, 5, -45,
-22, -11, -52, -27, -16, -46, -37, -15, -54, -47, 0, -8, -24, 2, 20, -32,
-51, 3, -32, -38, 25, -23, -53, 0, -3, -47, 11, 2, -69, -21, 4, -43,
-15, 35, -31, -20, 8, -33, -43, 9, -5, -33, 8, 8, -35, -45, -17, -46,
-24, 10, -22, -42, -7, 26, -3, -34, -18, 3, -45, -32, 8, -45, -49, -35,
-38, -46, -15, 3, -34, 5, 16, -32, -32, 15, -2, -52, -14, 2, -27, 16,
24, -21, -8, 25, 29, 13, 34, 30, -3, 23, 34, 0, 18, 49, 29, 16,
30, 13, 21, 66, 32, -5, 19, 30, 6, 20, 58, 4, -6, 51, 32, -13,
35, 21, -34, 39, 46, -12, 21, 44, -16, 10, 58, 13, -2, 31, 43, 2,
11, 36, 15, 10, 3, -6, 14, 39, -26, -21, 33, -21, -48, 2, 59, 25,
-8, 40, 16, -10, 42, -4, -41, 24, 11, -27, 32, 29, -33, 11, 38, -22,
3, 33, -34, -2, 51, 19, -16, 23, 26, 3, 44, 45, 22, 24, 39, 10,
-16, 27, 37, -19, 0, 50, 27, 3, 30, 52, -16, -8, 56, 19, 8, 13,
18, -8, -1, 11, -50, -9, 24, -27, -31, 0, -13, -58, -32, -14, -61, -22,
-2, -59, -40, -6, -24, -56, -17, -21, -40, -6, -15, -41, -31, 15, -19, -30,
-15, -50, -45, 31, 13, -43, -21, -33, -54, -40, 11, -19, -43, -2, -28, -61,
11, 11, -51, -5, 10, -33, -6, 21, -21, 1, 42, -8, -17, 40, 45, 10,
13, 16, 19, 34, 14, 10, 27, 46, -22, -30, 46, 2, -60, -24, 25, -11,
-20, 8, 4, 5, 32, -14, -59, 19, 1, -30, 18, -8, -46, 15, 43, -21,
6, 16, -52, -35, 10, -7, -30, 3, 1, -35, 13, 36, -1, 15, 17, -7,
-46, -42, 27, -16, -23, 20, -21, -43, 3, 46, -16, -17, 38, 8, 3, 29,
22, 5, 12, 48, -7, 10, 61, 22, 21, 47, 35, 19, 32, 44, -13, 5,
54, 12, 2, 30, 14, -36, 6, 21, 5, 21, 2, -21, -14, 28, -29, -27,
24, -13, -40, 19, 32, -9, 14, 1, -32, -46, -5, -10, -2, 29, -18, -44,
15, 10, -51, -9, -1, -49, -18, -1, -51, -4, 37, -32, -72, -8, -3, -38,
-3, -31, -43, -2, -28, -49, -21, 6, -33, -33, 25, 2, -52, -17, 16, -41,
-39, -1, -27, -17, 23, -15, -53, -5, -24, -28, 22, -13, -54, -2, 22, -27,
22, 27, -35, -21, -3, -37, -55, -2, 5, -62, -31, 18, -44, -26, 18, 0,
-25, -53, 17, 3, -18, 21, -22, -53, -8, 32, -37, -44, 10, -22, -43, -10,
-41, -43, -43, -10, -26, -14, 11, -21, -16, 34, 27, 10, 26, 55, -3, -16,
19, 6, 16, 46, 30, -34, -19, -4, 14, 51, 40, 10, 18, 57, -6, -9,
47, 35, -2, -3, 24, 28, 46, 59, 43, 22, 34, 8, 14, 40, -6, -13,
50, 48, -6, 30, 54, 6, 29, 52, -2, 21, 59, 5, -62, -15, 24, -8,
27, 24, 8, 44, 30, -16, 16, 47, -17, -11, 55, 16, -29, 20, 59, 20,
1, 40, 23, 10, 56, 23, -5, 37, 21, 16, 61, 44, -1, 25, 36, -9,
38, 59, 16, 38, 64, 12, -20, 40, 69, 5, 2, 59, 15, 6, 64, 55,
19, -11, 33, 36, 21, 48, 26, -5, 20, 64, 12, -8, 43, 29, 3, 12,
-11, -8, -38, -42, -57, -51, 0, -2, -53, -24, 9, -32, -56, 14, -11, -41,
-12, -39, -35, 24, 20, -45, -51, -45, -41, 0, 21, -30, -39, 26, 7, -32,
-14, 3, -16, -61, -54, -36, -37, -15, -13, -22, 8, -8, -21, -1, -44, -56,
9, 21, -17, 14, 30, -21, -24, 3, -16, -13, 38, 48, -20, -45, 6, 24,
15, 3, -9, 19, 57, 8, -5, 54, -5, -40, 24, 0, -43, -8, 19, -8,
-30, -3, 13, 7, 57, 28, -34, -3, 7, -16, 10, 11, -30, -3, 8, -27,
-3, 27, -13, -17, 39, 31, -10, 10, 30, 0, -16, 8, -11, -32, -3, 11,
-11, -16, 14, 8, 10, 19, -18, -27, 6, 27, -1, -6, 4, -19, -18, -21,
-3, 18, -8, 10, 13, -22, 4, 46, -11, -28, 43, 43, -18, 24, 30, -4,
37, 21, -23, 25, 64, 37, 21, 26, -10, -16, 38, 13, -38, -3, 28, -26,
-30, 22, 25, 0, -2, -3, -26, -16, -14, -39, 8, 32, 16, 33, 2, -50,
-9, 10, -49, -19, 25, -11, -37, -24, -24, -50, -8, 51, 19, -51, -37, 0,
-13, 0, -21, -30, 32, 22, -46, -1, 23, -16, 1, 16, -9, -29, -19, -35,
-56, -40, -19, -29, 28, 42, -34, -54, -39, -55, -19, 18, -37, -42, -16, -38,
-49, 5, -8, -64, -49, -9, -14, -45, -20, -15, -38, -27, -25, -48, -35, -8,
-48, -62, -11, -21, -29, 8, -30, -62, -9, -2, -52, -22, -3, -51, -43, -35,
-9, 13, -18, -10, 6, -24, -25, 25, 8, -47, -11, 17, -9, 17, 29, -21,
12, 33, -15, 0, 42, 21, 10, 31, -4, -29, 32, 55, -6, -21, 30, -19,
-27, 40, 37, 32, 56, 51, 18, 31, 41, 11, 36, 49, 15, 39, 56, 5,
5, 42, -27, -33, 45, 40, 8, 25, 52, -17, -25, 46, 50, 2, 5, 19,
-8, 29, 30, -14, 15, 56, 10, -3, 44, 30, -6, 23, 35, 14, 30, 45,
24, 12, 21, -2, 23, 62, 46, 30, 30, -4, 0, 59, 41, 8, 32, 32,
-8, 33, 62, 16, -18, 5, 32, -22, -2, 51, 30, 33, 51, 2, -6, 43,
4, -46, 6, 30, 5, 48, 27, -40, 11, 48, -24, 1, 61, 26, 17, 32,
40, 48, 21, 6, 16, -3, -9, 19, 6, -51, -38, -18, -43, -7, 21, -51,
-33, 24, -23, -36, 16, -24, -50, -10, -35, -64, -16, 30, -15, -33, 18, -26,
-62, -12, -8, -16, 16, 8, -36, -35, -32, -34, 11, 10, -49, -32, 20, 10,
-24, -3, -30, -57, 10, 20, -27, -6, 48, -19, -48, 25, 21, -15, 6, 7,
-38, -21, 16, -22, -19, 21, 5, -2, 10, -14, -35, 10, 14, -21, 2, 35,
11, -4, 1, -31, -32, 12, 18, 24, 29, -20, -40, 16, 35, -4, -6, 4,
-14, 5, 46, 29, -9, -2, 29, -21, -43, 19, 33, 22, 57, 16, -10, 48,
27, -29, -2, 32, -3, 13, 11, -38, 6, 55, -9, -27, 34, 29, 16, 35,
42, 50, 45, 38, 53, 32, 17, 44, 53, 18, 18, 27, -11, 8, 58, -8,
-25, 43, 15, -18, 45, 22, -10, 38, 27, -21, -8, 43, 19, 5, 52, 42,
-15, -22, -33, -33, 29, 23, -5, 1, -35, -50, 18, 45, -19, -33, -13, -9,
-6, 19, 10, -27, 15, 28, -42, -26, 40, -5, -67, -11, 3, -38, 1, 16,
-40, -40, 22, -7, -9, 7, -32, 3, 19, -38, -49, 20, 27, -30, -31, 8,
-29, -35, 13, -18, -43, 0, -24, -35, 10, -16, -30, -2, -3, -40, -27, -27,
-55, -36, 16, 11, -42, -35, 7, -15, -63, -35, -11, -32, 14, -4, -38, 16,
3, -47, -27, -10, -34, -11, -6, -50, -14, 34, -6, -48, -6, -8, -37, -7,
-13, -6, -24, -24, -3, -21, -22, 31, 48, 25, 29, 10, -38, -21, 34, 19,
-6, 17, -14, -32, 31, 36, 6, 23, 29, -10, -8, 48, 30, 8, 37, 50,
38, 39, 10, -20, 42, 24, 5, 46, 16, -16, 17, 54, 20, 16, 23, -2,
13, 43, 15, -18, 34, 60, 5, 7, 59, 43, -35, -9, 39, 3, 28, 66,
14, -13, 36, 22, 25, 42, 0, 31, 74, 19, -26, 27, 52, 13, 7, 48,
21, -1, 46, 32, 0, 41, 27, 5, 46, 22, 0, 33, 47, 11, 30, 43,
-21, -38, 24, 59, 27, 14, 51, 51, -7, 0, 24, -8, 24, 4, -35, 23,
24, -16, 16, 39, 29, 22, 9, -41, -24, 45, 37, -4, 8, -9, -42, 0,
-8, 12, -30, -57, -21, -23, -43, -3, -17, -48, 9, 16, -53, -56, -35, -35,
-11, 23, -36, -64, -9, -2, -31, -35, -10, -39, -44, 7, -23, -39, -2, -16,
-24, 13, 1, -42, 15, 2, -48, -24, -37, -49, -22, -5, -31, 13, 41, -19,
-45, 0, -24, -51, 2, 11, -21, -27, 18, 31, -17, -7, 16, -12, -14, 6,
-6, -18, -16, -35, -14, 19, -18, -18, 41, 38, -2, 8, 20, -26, -32, 18,
11, -10, 0, -22, -24, 10, 6, 3, 25, -5, -32, 18, 41, -8, -15, 43,
-3, -43, 11, 37, 20, 8, 30, 23, -13, 6, 29, -9, 24, 21, -19, 32,
30, -2, 23, 38, 49, 30, 26, -16, -42, 22, 14, 0, 36, 17, -24, 0,
18, 55, 44, 3, 23, 20, -25, 15, 16, -35, 17, 48, -7, -3, 0, -48,
-19, 57, 6, -39, -9, -3, -27, -19, 30, -18, -39, 24, -26, -53, 21, -5,
-41, 2, 5, -35, 6, 32, 12, 22, 5, -33, -15, -5, -66, -33, 18, -12,
-37, 19, -5, -36, 7, -15, -42, -36, 16, 4, -38, -18, -10, -32, -45, -41,
-42, -12, -16, -67, -56, 17, -10, -59, -23, -21, -50, -38, 7, -26, -64, -37,
-40, -44, -16, -42, -37, -19, -58, -55, 5, 4, -43, -13, 1, -34, -50, 22,
-3, -54, -16, -25, -50, -54, -24, -35, -55, -29, -10, -49, -32, -19, -60, -35,
-32, -56, -40, -38, -13, -13, 3, -6, -69, -16, -26, -57, -8, -5, -45, -27,
-8, 13, 2, 4, 18, -7, -48, 5, 32, -29, 15, 54, -8, 0, 48, -14,
-26, 40, 2, -27, 19, 44, -11, -32, 46, 2, -41, 49, 3, -52, 37, 33,
-15, 25, 40, 14, 22, 20, 11, 41, 56, 11, 26, 44, -24, -21, 32, 16,
-6, 50, 19, -21, 36, 40, 5, 2, 51, 14, -29, 0, 27, 29, 13, 16,
4, 37, 59, 8, -24, 38, 43, -12, 11, 11, -34, -25, 41, 31, -3, 24,
26, 3, 29, 16, 14, 43, 1, -27, 19, 27, -25, 16, 51, 27, -5, 39,
32, -7, 29, 7, -28, -14, 21, -8, -26, 8, 27, 12, 9, 13, -16, -14,
-4, -22, -5, -10, 2, 4, 12, 32, -21, 21, 35, -29, -22, -3, -31, 0,
-5, 23, -30, -19, 14, -8, -32, 3, 24, -53, -31, 35, -19, -35, 35, -9,
-21, 37, -3, -44, -8, 51, -2, -45, 30, 7, -46, 31, 2, -59, 6, 6,
-46, -11, 5, -25, 0, -13, -53, -18, 11, -22, 14, 59, -8, -38, 16, -10,
-42, 21, 5, -49, -10, 13, -26, -13, 31, -2, -24, -11, 4, 11, 11, 14,
-18, 0, 39, 13, -24, 7, 17, -7, 35, 46, -20, -24, 30, 7, -2, 32,
21, -11, 0, 2, 0, 47, 41, 5, 9, 5, -34, -8, 35, 11, -14, 18,
5, -13, 50, 51, -11, 14, 51, -10, -27, 22, 37, 27, 38, 45, 27, 36,
24, -7, 32, 27, 11, 27, 37, 33, 4, 30, 43, 16, 29, 40, 3, 23,
16, 53, 11, 11, 54, 22, -13, 19, 69, 11, -19, 39, 22, -5, 44, 19,
6, 63, 36, -29, -20, 51, 12, -22, 40, 26, -8, 43, 31, -18, 22, 27,
-27, -4, 32, -22, 0, 29, -16, 2, 8, -46, -11, 50, 17, -22, 21, 5,
-41, 14, 29, -10, 5, 11, -48, -18, 16, -29, -38, -29, -24, -53, -40, 3,
-33, -59, -13, -21, -59, -28, -29, -46, 13, 50, -30, -43, 27, -16, -28, 14,
-11, -51, -29, -21, -40, -5, 11, 5, 4, -1, -19, -31, 5, -14, -46, 3,
-6, -40, 18, 48, -29, -11, 49, -2, -52, -27, 14, -5, 2, 11, -22, 20,
12, -57, -21, -2, -37, -18, 24, -14, -42, 14, -2, -35, 5, 16, -31, -12,
1, 22, -11, -25, 29, 5, -49, -17, 35, 10, -8, 25, -2, -19, 19, 2,
-21, 24, 19, -32, -23, 21, -11, -24, 14, -17, -20, 33, 31, -11, 15, 43,
-13, -16, 38, 7, 10, 27, -7, 30, 41, -17, 1, 40, 20, 9, 46, 34,
-19, 15, 38, 24, 45, 54, -17, 8, 45, -7, -19, 12, 46, -7, -13, 48,
41, -2, 30, 51, 16, 29, 19, -20, 9, 71, 11, -35, 35, -2, -21, 54,
53, 3, 19, 25, -10, -1, 16, 34, 40, 27, 10, -3, 35, 34, -12, 24,
28, -11, 18, 51, -1, -3, 48, 38, 0, -11, 24, 14, 20, 27, -18, 25,
64, -5, -10, 25, -9, -20, 40, 19, -23, 37, 29, -40, -11, 32, -29, -14,
-22, 11, -15, -35, 13, 4, -46, -11, 16, -35, -51, -2, -32, -49, 9, -11,
-42, -6, -10, -33, 0, 11, -41, -35, 11, -41, -64, -13, -5, -46, -43, 8,
-32, -38, 7, -30, -13, -10, -56, -6, 33, -18, -11, 14, -39, -42, 16, 10,
-32, -24, -33, -36, 15, 32, -28, 0, 63, 17, -34, -5, 43, -3, -16, 19,
8, -4, 24, 33, 19, 14, -1, -30, -29, 15, -4, -43, 19, -9, -54, 18,
34, -13, -4, 0, -23, -13, -15, -22, -3, 13, -19, -24, -5, -13, -27, 4,
2, -32, 2, 10, -31, -29, -3, -13, -10, -3, -19, -35, 0, 11, -21, -3,
26, 4, -16, -8, -32, -32, 22, 22, -6, 30, 40, -20, -16, 39, -19, -8,
-13, 25, 3, -6, 40, 39, -11, 20, 59, 7, -46, 16, 23, -19, 35, 38,
17, 40, 27, 1, 37, 61, 8, -5, 54, 35, -21, 7, 37, 2, -10, 42,
14, 5, 40, -8, 12, 45, -5, -10, 20, -24, -18, 40, -13, -34, 25, 18,
-13, 14, -19, -55, 8, 27, -35, -15, 62, 38, -32, -11, 26, -30, -54, -2,
-20, -40, -7, -29, -38, -23, -25, -48, -33, 7, -17, -45, 27, 17, -51, -4,
16, -35, -15, -5, -30, -18, -21, -42, -26, 4, -35, -13, 17, -24, -49, -1,
13, -49, -30, -19, -55, -40, -8, -45, -62, -4, -3, -61, -27, -12, -35, -14,
-25, -36, -30, -21, -41, -35, -11, -36, -54, -5, 17, -41, -27, 17, -35, -4,
-10, 1, -10, -27, 0, 0, -43, -19, 36, 22, -30, -13, -9, -40, 0, 4,
-8, 22, 3, -35, -11, 40, 21, -7, 22, 17, -11, 14, 45, 13, 6, 27,
-4, -11, 22, -8, -3, 34, -3, -6, 40, 2, -9, 53, 15, -38, 12, 23,
-4, 37, 13, -58, 2, 52, -4, -8, 53, 51, -15, 0, 54, 24, -32, 15,
24, -3, 37, 32, 21, 36, 51, 29, 26, 59, 24, -22, 33, 43, -18, 12,
48, 8, 16, 32, 14, 32, 33, 8, 19, 43, -3, 1, 55, 44, 0, 14,
50, 19, 17, 41, 30, 25, 48, 31, -9, 27, 67, 16, 17, 30, 16, 46,
38, 13, 23, 43, 16, 13, 36, 15, -23, 10, 35, -28, 3, 57, 2, 22,
-8, -18, 2, -22, -7, -18, -44, -21, 22, -3, -35, -3, -11, -53, -32, -38,
-64, -10, -2, -59, -59, 3, -14, -47, -4, -26, -64, -34, -6, -46, -34, -14,
-51, -62, -24, -42, -37, 4, -51, -45, 19, -19, -46, -6, -14, -59, -27, -10,
-39, 4, 5, -59, -49, -8, -35, -33, 5, 9, -40, -49, 20, 32, -30, -24,
-17, -40, -10, 9, -1, 10, 22, 0, -6, 16, -6, -35, 6, 4, -46, -30,
15, -5, -27, -24, -29, -6, 3, -29, -7, 21, -22, -49, -21, 14, -5, -8,
5, -1, 7, 15, 4, 9, 23, 2, -31, -32, 14, 10, 1, 8, -9, 21,
37, 0, -1, 14, -16, -19, 19, 22, -15, 3, 14, -41, -20, 24, -17, -5,
32, 19, 24, -5, 40, 39, 0, 11, 59, 37, -18, 27, 62, 37, 38, 11,
-36, 14, 61, -8, -47, 25, 27, -12, 38, 38, -19, -4, 24, -18, 3, 36,
12, -11, 16, -20, -22, 47, 1, -14, 33, 1, -14, 28, 39, 6, 14, 20,
-8, 34, 43, 8, -9, -16, -48, -40, -18, -19, -29, -48, 7, 21, -36, -16,
0, -27, -38, -32, -55, -27, 4, -43, -33, -3, -37, -56, 4, 6, -49, -51,
-6, -13, -27, -8, -25, -29, -14, -51, -22, 20, -7, -22, -24, 0, -25, -14,
13, -27, -19, -2, -39, -33, -11, -29, -39, -55, -18, -11, -43, -34, -48, -25,
-3, -55, -51, 4, -9, -51, -30, -12, -32, -5, 0, -42, -27, 7, -43, -27,
16, 26, 18, -38, -5, 29, -16, -38, 14, 35, -10, -4, 8, 14, 49, 20,
-31, 2, 47, -9, -37, 16, 29, 0, 27, 58, 24, 33, 55, 26, 34, 51,
24, 13, 55, 22, 1, 44, 21, 10, 47, 33, 11, 37, 30, 13, 37, 42,
15, 35, 43, 32, 51, 61, 17, 19, 44, 8, -11, -11, 36, 62, 16, 30,
56, 50, 40, 41, 3, 8, 61, 3, 2, 61, 10, -34, 35, 64, 17, 0,
39, 31, 20, 52, 41, 38, 53, 6, 11, 58, 38, 19, 15, 43, 24, 18,
48, 17, 28, 54, 27, 29, 48, 48, 46, 8, 18, 46, 30, 25, 8, 22,
54, 9, -16, 33, 59, 20, 19, 42, 35, 51, 49, 16, 21, 66, 21, 21,
-15, 12, 29, -45, -56, 15, 11, -43, -18, -11, -47, -18, -31, -56, -1, -9,
-51, -3, 46, -27, -36, 1, -6, -30, -22, -5, -25, -3, -8, -39, -38, -11,
-35, -46, 14, 9, -5, 13, -21, -32, -4, -14, -34, -11, -39, -55, -3, 3,
-28, -16, 2, -28, -12, 19, -16, -8, 59, 32, -42, -32, 18, 23, -11, -13,
-6, 5, 30, 34, -7, -13, 49, -2, -24, 53, 12, -31, 23, 23, -11, -1,
30, 8, -11, 15, 1, 5, 24, -11, -35, 0, -15, -32, -3, 15, 7, 10,
-5, -39, -9, 5, -12, -7, 17, 22, 8, 6, -11, -15, 11, 8, -21, 1,
48, 13, -25, 0, 24, 3, 0, 1, -11, 9, 27, -1, -28, 5, 8, 14,
-5, 17, 59, 11, -17, 28, 43, -14, 13, 24, -35, 10, 24, -28, 18, 23,
-24, 11, 69, -6, -34, 24, 17, -16, 0, 2, -27, 11, 10, -18, -10, 25,
15, -16, 4, -16, -23, 26, -5, -32, 13, 1, -11, 35, 5, -57, -26, -8,
-40, -17, 21, -29, -25, 14, -33, -56, 19, 56, -22, -41, 3, -13, -52, -33,
-35, -51, -8, 9, -33, -32, 19, -32, -35, 22, -27, -64, -5, -3, -59, -30,
5, -35, -47, -5, -29, -48, -19, -23, -43, 0, -8, -45, -24, -38, -54, -18,
-14, -59, -26, -4, -35, -65, -39, -3, -34, 3, 22, -38, -43, -8, -38, -45,
0, -29, -59, -24, -10, -47, -38, -30, -63, -56, -11, -16, -54, -46, -43, -32,
7, 11, 41, 1, -22, 12, 24, -30, -14, 21, -16, 23, 46, -24, 8, 32,
-29, -19, 38, -12, -59, 11, 14, -35, 8, 19, -25, 16, 46, 9, 9, 34,
13, -5, 15, -8, -39, 21, 19, -24, 15, 8, -11, 42, 49, 1, 22, 24,
-24, -7, 41, 5, -6, 56, 13, -43, 1, 40, -15, -46, 19, 44, 0, 16,
13, -44, -6, 43, -2, 8, 50, -17, -6, 51, 7, -60, -14, 32, -27, -11,
38, 1, -21, 30, 26, 6, 32, 35, 11, 37, 37, 16, 32, 23, 11, 28,
43, -17, -10, 52, 49, 5, -3, 33, 7, 17, 69, 51, 18, 45, 27, 4,
43, 32, -3, 18, 43, 17, 29, 39, 4, -9, 37, 57, 32, 29, 16, 18,
1, -5, 16, 2, -45, -6, 43, 16, 1, -11, -33, 16, 61, -3, -6, 30,
-29, -28, 35, 11, -35, 13, 10, -58, -10, 19, -32, -14, 26, -33, -43, 1,
-21, -37, 2, 4, -51, -14, -2, -47, -29, -41, -55, -5, 3, -19, 35, 43,
-25, -23, 17, -12, -42, 32, 16, -57, -11, 13, -27, -56, -3, 40, -6, 13,
24, -50, -47, -5, -30, -22, 27, -19, -42, 10, 22, -25, -11, 15, -35, -39,
13, -3, -36, -11, -13, -11, 16, 5, -20, -5, -13, -16, 10, 24, 11, 1,
30, -17, -52, -4, 5, -2, 0, -9, -35, -36, -7, 10, 0, 0, -15, -13,
30, 20, -19, 4, 22, 2, 24, 45, 8, -1, 31, 24, 1, 8, 22, 31,
-16, -14, 4, 26, -24, -13, 16, 22, 56, 29, -15, 5, 45, 8, -2, 53,
21, 1, 45, 34, -6, 34, 36, -30, 5, 42, 4, 7, 54, 16, -7, 38,
32, -2, 21, 38, -15, 14, 41, 16, 33, 2, -33, 11, -6, -57, -4, 53,
-8, -27, 30, 5, -34, 29, 20, -51, 10, 59, 38, -1, 0, 26, -37, -13,
40, -14, -27, 6, 5, -10, 16, 11, -6, 16, 9, -18, 18, 34, -2, -39,
-6, 2, -30, -16, -41, -69, -20, -12, -31, -1, -21, -48, -56, -28, -21, -29,
16, 6, -35, -22, -32, -52, -5, -5, -52, -50, -32, -39, -27, -5, -32, -59,
-11, -8, -61, -29, -16, -57, -54, -10, -35, -43, 11, -10, -51, -59, -40, -24,
-18, -22, -8, -14, -48, -35, -37, -57, -22, -17, -45, -47, -4, -25, -38, 0,
-25, -46, -5, 1, -39, 15, 30, -43, -23, 8, -17, -11, 7, -19, -24, 8,
13, -19, -8, 2, -34, -6, 14, -2, 41, 30, -30, 27, 35, -41, -22, 49,
19, -16, 44, 15, -17, 46, 37, -24, -5, 18, -4, -24, -8, 46, -12, -30,
53, 47, 27, 40, 37, 27, 43, 40, 35, 67, 47, 0, 26, 58, 46, -10,
8, 53, 40, 61, 30, -28, 13, 34, 12, 51, 29, 11, 18, 24, 33, 24,
46, 46, 29, 40, 35, -31, 10, 71, 33, 19, 34, 19, 18, 50, 43, -4,
29, 36, -22, 16, 45, 14, -7, 25, -14, -48, 35, 55, 13, -6, 5, 11,
13, 3, 39, 20, 7, 15, 5, -32, -23, -16, -37, -56, 3, -3, -34, -3,
-32, -65, -14, 10, -48, -13, 10, -53, -45, -2, -29, -14, -15, -62, -66, -31,
-6, -28, -21, -19, -46, -33, -22, -43, -10, 9, -46, 2, 38, -40, -35, 14,
-16, -40, 24, -11, -45, 14, 0, -37, -35, -27, -48, -64, -37, 22, -8, -62,
-32, -13, -13, -19, -41, -46, -17, -23, -36, 6, 10, -36, -33, 14, 18, -21,
-12, 5, -14, 28, 26, -43, -13, 11, -5, 49, 22, -21, 20, 24, 4, -16,
9, 0, -14, 8, 35, -5, -18, 37, 14, -19, 3, 21, 5, 1, -5, -11,
35, 36, -14, 18, 48, 22, 14, 53, 1, -48, 19, 35, -8, -3, 11, -8,
11, 7, 49, 35, 30, 54, 53, 27, 46, 45, 15, -7, 32, 37, 14, 56,
23, -31, 23, 49, 1, 16, 43, -11, -23, 27, 3, 30, 62, 29, -2, 8,
46, 44, 46, 35, 20, 31, 29, 15, 29, 43, -2, 11, 47, -9, -5, 37,
6, -24, 34, 17, -11, 35, 19, 5, 26, 52, 24, -29, -1, 40, 29, 7,
-27, -45, -10, 6, -15, -33, -15, -26, -57, -2, 19, -39, -57, 16, 29, -2,
4, -8, -34, 9, 40, -29, -32, -26, -53, 21, 29, -49, -27, 7, -26, -45,
11, -9, -41, -6, 27, 6, -47, -26, -22, -59, -38, -3, -5, 3, -28, -35,
13, 0, -46, -32, 4, -21, -18, 43, 3, -38, 24, 24, -40, -19, 8, -35,
-40, -55, -11, -6, -39, -19, -8, -22, 22, 22, -32, -38, -18, -16, -9, 54,
14, -47, 8, 15, -17, 4, 57, 0, -28, 28, -6, -3, 35, 16, -3, 8,
7, -5, 20, 28, 5, 10, -2, -25, -8, 11, -15, -11, 8, -27, -22, 29,
27, -1, 16, -5, -19, 37, 39, 5, 21, 64, 32, -45, -10, 41, 24, 37,
33, -3, 12, 39, 27, 9, 35, 31, -21, 11, 57, 4, -37, 19, 12, -16,
23, 30, -6, -2, 37, 10, 15, 11, -45, 3, 43, -19, -24, 34, -2, -44,
29, 45, -7, -8, 27, 42, 14, 27, 27, -31, -20, 16, 6, 35, 21, -2,
37, 9, -35, -16, 22, 8, 5, 45, 3, -25, 40, 58, -3, 3, 54, 32,
7, -29, 3, 38, 15, 11, -24, -45, 25, 49, -24, -36, -1, -19, -28, 43,
19, -46, 3, 20, -19, -21, 40, -3, -40, 27, 4, -26, 11, -20, -46, 7,
5, -40, -23, 8, -29, -22, 2, -24, -19, -3, -30, -27, -10, -40, -44, -15,
-34, -33, 3, -25, -67, -22, 9, -51, -56, 2, 3, -46, -46, 3, -17, -43,
-22, -30, -34, -15, -16, -38, -22, -9, -37, -27, 24, -11, -61, -31, -31, -53,
-6, 19, -33, -54, -33, -37, -6, 7, -40, -19, 5, -30, -35, 38, 23, -47,
-16, 4, -30, -59, -20, 10, 14, 41, 22, -45, -54, 0, -12, -15, -9, -36,
35, 32, -42, -22, -1, -29, -32, 6, -25, -43, 11, 36, -6, -20, 20, 15,
16, -15, 8, 23, 15, 59, 27, -35, 11, 65, 13, -9, 40, 16, -26, 15,
26, -29, 5, 36, 5, 3, 52, 30, -14, 30, 32, 8, 46, 36, -5, 35,
56, 7, 1, 42, 17, 19, 48, 29, 31, 56, 39, 29, 51, -1, -19, 36,
8, -6, 43, 46, -11, 0, 54, 9, -24, 13, 33, 17, -8, 29, 36, 1,
12, 11, 2, 14, 28, 14, 5, 2, -29, -21, 36, 10, -26, 5, 17, -18,
-3, 37, 9, 2, 10, 2, 19, 14, -24, 5, 31, 5, -13, 35, 44, 4,
10, 11, 5, -19, -8, -31, -37, 28, 36, 9, -36, -8, 9, 11, 22, -27,
24, 51, -43, -40, 5, -19, -25, 20, -3, -39, -7, 28, 13, -9, 0, -26,
-13, -41, 0, -11, -54, 11, 27, -45, -22, 36, -11, -32, 14, -6, -32, -17,
7, -30, -17, 0, -53, -32, 18, 5, -35, -16, -19, -27, 11, 2, -27, 0,
21, -27, -24, 16, -7, 0, 8, -23, -13, 22, 8, -8, 51, 8, -43, 27,
23, -3, 27, 40, -2, -2, 38, 42, 14, 16, 17, -13, -15, 30, 43, 24,
40, 48, 38, 40, 33, 23, 41, 54, 2, -4, 59, 47, 30, 50, 39, -4,
8, 50, 30, 37, 48, 38, 56, 56, 15, 18, 48, 19, -6, 21, 23, 1,
25, 46, 40, 29, 53, 27, -2, 41, 37, 24, 14, 13, 18, 32, 46, 14,
28, 75, 28, 6, 51, 32, 8, 41, 32, -7, -7, 16, 26, 21, 36, 12,
35, -5, 38, 47, -11, 13, 50, 0, 6, 56, -1, -24, 38, 31, 18, 21,
31, 7, 13, 45, -21, -32, 12, -5, -47, -13, -18, -36, 9, -11, -64, -30,
7, -45, -30, 4, -43, -27, 13, -29, -35, 3, -18, -43, 28, 16, -53, -10,
-16, -52, -11, 5, -49, -48, -27, -16, -30, -14, 11, -49, -65, -32, -29, -48,
-29, -16, -24, -10, -29, -62, -14, 28, -35, -41, 13, -8, -38, -11, 3, -41,
-37, -9, -42, -36, -16, -32, -13, 5, -26, -46, -12, -27, -48, -1, -10, -51,
-49, -34, -42, -32, -12, -25, -43, 4, 11, -40, -38, -37, -51, -22, -18, -43,
-18, 11, -12, -31, 13, -5, -39, -3, -10, -33, -48, -56, -40, -13, -2, -26,
-19, -38, -10, 11, -3, 2, 13, -11, -17, 33, -5, -43, 22, 20, -3, 14,
15, -10, 8, 43, 4, -21, 35, 33, -17, 23, 18, -34, 14, 43, -14, 8,
48, -29, -19, 50, 3, -13, 40, 19, 2, 39, 25, -5, 43, 46, -7, 24,
35, -15, 10, 51, 8, 2, 21, -5, -35, 6, 68, 19, -20, 3, -7, -37,
-8, -16, -19, 28, 16, -37, -3, 47, -23, -35, 11, -17, -58, -15, 27, -3,
5, 15, -32, -28, 0, -40, -24, 14, -4, -16, 19, 0, -40, 22, 30, -8,
-5, -3, -27, -6, 8, -12, -39, 1, 49, -11, -25, -3, -36, -10, 4, -44,
-12, 9, -17, -37, 10, 10, -32, 0, -14, -24, -3, -21, -40, -2, 12, -20,
-32, -42, -17, -28, -27, -3, -19, -32, -48, 7, 1, -59, -4, -5, -52, -33,
-32, -65, -36, -11, -41, -62, 3, 16, -41, -5, 3, -53, -40, -5, -30, -4,
41, -31, -44, 25, -8, -36, -11, -26, -27, 18, -3, -32, 8, 3, -35, -11,
27, -2, -3, 24, -3, 8, 70, 32, -35, -7, 51, 28, -6, 46, 26, -27,
24, 5, -17, 45, 58, 0, 7, 54, -1, -28, 27, 14, -34, 11, 30, -14,
7, 38, -5, -3, 37, -26, -22, 35, 19, 11, 38, 7, -43, 8, 41, 8,
24, 45, -5, 3, 48, 48, 0, -11, 37, 21, 12, 47, 21, 26, 42, -5,
14, 40, 14, -8, 18, 19, -12, 33, 25, -8, 38, 48, 5, 26, 48, 30,
35, 5, 22, 16, 3, 35, 38, 28, 0, 33, 37, -32, 12, 48, 16, 26,
29, -14, 3, 28, 10, -23, 11, 34, -22, 13, 43, -4, -7, 1, -51, -33,
30, -11, -30, 27, 7, -11, 16, -10, -44, 5, -1, -30, 14, 2, -28, -21,
-5, -34, -11, 21, -40, -44, 42, 28, -54, -43, 3, -12, -41, 13, -4, -49,
0, -15, -61, -28, 18, -24, -23, 28, -1, -25, 16, -2, -57, -8, 11, -39,
-22, 19, -30, -19, 49, -7, -48, -30, -45, -24, 25, 9, -27, -19, 22, -14,
-18, 31, -19, -46, -6, 16, -14, -31, -17, -29, -44, -15, -8, -24, -24, -43,
-13, 10, -34, -53, -27, -24, -53, 7, 16, -59, -22, 8, -33, -8, 10, -11,
16, 0, -1, -2, -18, -10, 19, 26, 8, 34, 36, -16, -1, 27, 10, 34,
55, 14, 25, 42, 16, 5, 29, 40, -4, 24, 63, 21, 28, 70, 17, 3,
48, 2, -19, 39, 39, 3, 27, 43, 5, 31, 36, 10, 49, 38, 0, 16,
43, 9, 21, 67, 16, -21, 20, 38, -1, -1, 8, -8, -1, 39, 26, 0,
35, 38, -3, -19, 24, 2, -5, 42, 30, 20, 51, 43, -12, 19, 48, 8,
15, 54, 11, -1, 58, 51, 23, 13, -10, 0, 40, 38, 21, 8, 28, 8,
1, 51, 32, -10, 3, 30, 29, 30, 27, -10, -38, -5, 18, 10, 11, -11,
8, 45, 14, -13, 15, 30, -16, 13, 40, -39, -16, 32, -29, -11, 39, 5,
-24, -23, 0, -16, -39, -55, -48, -50, -58, -31, -19, -48, -47, -27, -53, -27,
7, -42, -32, 16, -27, -54, 2, 5, -48, -18, 20, -26, -15, 32, -4, -22,
30, -14, -47, -9, -6, -25, -19, -11, -24, 5, -5, -23, 18, 15, -46, -27,
24, -3, -11, 18, -11, -13, 14, 15, 19, 45, 13, -40, -18, 29, 24, 3,
33, 48, 35, 3, 13, 2, -16, 24, 3, -16, 19, 33, -7, -6, 23, -13,
-11, 30, 14, -6, 10, 16, 30, 33, -7, -19, 11, -3, -24, -5, -11, -35,
-23, 12, -1, -20, 4, 1, -5, 25, 63, 20, -25, 20, 30, 28, 33, 2,
8, 56, 55, 27, 38, 48, 17, 32, 63, 0, -3, 64, 21, -4, 46, 29,
-20, -43, 22, 43, 22, 17, 14, -5, -18, -5, -3, -7, 9, 10, -35, -8,
27, -12, -31, 31, 13, -56, 8, 33, -30, -6, 24, -47, -29, 32, -21, -59,
22, 0, -36, 7, -7, -31, 1, -16, -49, 5, -10, -51, -9, 25, -32, -35,
4, -32, -34, 9, -36, -32, 10, -28, -35, 31, 39, -39, -61, -21, -22, -54,
-19, -20, -25, -34, -43, -43, -62, -8, -21, -68, -52, -28, -37, -54, -19, -43,
-52, -29, -48, -51, -37, -53, -40, -8, -41, -65, -32, -37, -67, -31, -28, -63,
-63, -35, -51, -70, -27, -35, -68, -60, 7, -5, -65, -32, -38, -44, -22, -50,
-56, -29, -33, -46, -30, -30, -41, -11, 5, -39, -54, -16, -26, -30, -20, -35,
0, -40, 3, 13, -19, 14, 55, 34, 19, 52, 21, -5, 51, 46, -33, -17,
35, 25, 0, 24, 16, -28, 17, 27, -14, 19, 60, -8, -26, 51, 35, -19,
34, 28, -1, 46, 43, -5, 30, 34, -12, 32, 41, -8, 10, 49, 0, -3,
41, 16, 3, 54, 16, -14, 35, 18, -17, 21, 65, 13, -35, 8, -2, -45,
11, 18, -7, 14, 21, 7, -16, 31, 25, -16, 5, 19, 23, 10, 35, 15,
-2, 13, -8, 2, 24, 2, 1, 46, 31, 4, 26, 27, -14, 9, 45, 21,
10, 32, 27, 8, 22, 19, -5, -28, 12, 13, -35, -6, 2, -6, 25, -8,
-37, -16, -29, -32, 2, -17, -52, -7, 13, -12, -21, -11, -37, -11, 18, 0,
13, -23, -2, -18, -54, -31, 22, -4, -24, 37, 1, -62, 2, 52, -6, -49,
-8, -14, -14, 11, -27, -27, 11, -19, -61, -35, 3, -23, -51, 3, 7, -31,
3, -6, -39, -15, 4, -11, -8, -18, -43, -17, 6, -15, 1, 18, -35, -18,
26, -4, -8, 36, 3, -34, 26, 27, -21, -1, 55, 19, -35, 32, 21, -50,
10, 51, 3, 9, 49, 23, -10, 21, 6, -5, 48, 33, 1, 11, 34, 10,
22, 46, 14, 25, 42, 16, 11, 46, 42, 27, 53, 60, 18, 18, 58, 25,
19, 50, 34, 35, 55, 54, 35, 21, 44, 34, 10, 37, 46, 31, 58, 39,
16, 52, 40, 8, 43, 21, -38, 8, 40, 22, 24, 55, -3, -13, 50, 46,
29, 15, 45, 33, 7, 3, 37, 10, -19, 44, 46, -20, -7, 55, 51, -14,
9, 5, 4, 35, -18, 3, 46, 32, -9, -10, 4, -21, -35, 11, -3, -48,
2, 14, -21, -14, -11, -13, 5, -8, -22, -8, 3, -39, -17, 26, -22, -16,
16, -42, -44, 25, -8, -55, 3, 5, -63, -36, 50, 28, -49, 11, 32, -59,
-27, 42, -11, -57, -7, -5, -30, 0, -31, -45, 2, -15, -62, -32, 10, -29,
-12, 16, -42, -37, -13, -46, -56, -6, -6, -40, -4, 5, -31, -24, 32, -17,
-53, -11, -38, -53, -14, 20, -13, -8, 36, -4, -34, -8, -16, -32, 18, 7,
-24, 21, 24, -32, 6, 27, -40, -33, -10, -33, -24, 36, -14, -47, 8, -11,
-8, -5, 29, 15, -13, -11, 26, -3, -54, 0, 30, -19, -19, 17, 17, -4,
28, 32, 34, 44, -6, 3, 43, 44, 7, 24, 67, 33, 5, 45, 45, -8,
19, 42, 13, 25, 36, 21, 44, 38, 9, 23, 55, 13, 1, 39, -10, -12,
55, -5, -43, 45, 18, -45, 19, 59, -8, -32, 31, 41, -13, 14, 64, -3,
-13, 53, 50, -4, 16, 34, 24, 50, -4, -15, 38, 35, -22, -13, 42, -1,
-3, 43, -12, -19, 34, 16, -22, 11, 29, -3, 28, 0, -50, -23, 50, 19,
-28, 21, 18, -22, -16, 28, -4, -7, 46, 6, -51, -12, -2, -36, 17, 0,
-57, -6, 38, -21, -3, 51, 12, 11, 26, -30, -32, 43, 10, -24, 25, 1,
-26, -41, -16, 5, -23, -36, 16, 17, -48, -29, -13, -53, -25, 16, -32, -37,
-13, -37, -16, 17, -32, -48, 11, 19, -44, -40, 19, -9, -22, 20, 9, -35,
-6, -1, -46, -18, 6, -29, -5, 1, -46, -31, -1, -19, -14, 22, -33, -45,
40, -2, -49, 35, 16, -69, -19, 37, 5, -20, 9, 10, -27, -3, 48, 13,
-13, 21, 23, 9, 22, 7, -5, 34, -6, -32, 27, 49, 0, -18, 16, -22,
-19, 44, 6, -16, 33, 32, 7, 8, 16, 18, 63, 28, -42, -20, 37, 32,
-8, 26, 25, -12, -3, 29, 7, -8, 25, 20, -14, 18, 33, -11, 35, 22,
-47, -6, 64, 17, 2, 25, 6, 35, 64, 5, -27, 33, 24, -3, 16, -4,
27, -2, -8, 31, 2, -29, 22, 51, 17, 27, 10, -49, -14, 56, 11, -2,
22, -27, -28, 36, 10, -32, 27, 53, -22, -44, 14, -20, -33, 29, 16, -31,
13, 19, -42, -13, 24, -18, 3, 34, -8, 3, 12, -29, -16, 51, 0, -40,
25, 1, -34, 21, 19, -48, -27, -8, -35, -45, -4, -3, -65, -40, 11, -22,
-59, -33, -46, -32, 0, -38, -51, 8, -3, -70, -57, -27, -40, -37, 3, -40,
-42, 19, -16, -45, -8, -29, -33, -23, -56, -56, 8, 16, -54, -42, 6, -4,
-35, 5, -9, -51, -13, -7, -41, -43, -21, -35, -38, 13, 9, -39, 21, 23,
-50, -21, 24, -14, -3, 2, -43, -25, 1, -19, -48, -11, -19, -39, -31, -48,
-21, -29, -36, 16, -3, -53, -38, -27, -16, 45, 47, -43, -36, 26, 3, -7,
16, -19, -38, 19, 19, -32, 9, 57, -6, -30, 38, 9, -24, 33, 25, -20,
29, 33, -28, -4, 19, -10, 4, 15, -3, 23, 30, -11, -13, 49, 26, -8,
34, 3, -10, 44, 40, -7, 19, 32, -11, -44, 10, 54, -19, -29, 32, 25,
-13, -8, -40, -5, 57, 15, -13, 40, 57, 14, 8, 8, -3, 7, 53, 9,
-16, 37, 15, -16, 25, 18, 8, 35, 2, -44, -11, 41, -6, -17, 29, 13,
-19, 35, 30, -22, 20, 38, 11, 16, 37, -1, -40, 11, 36, -10, 32, 40,
-46, -27, 25, -35, -13, 39, 11, 24, 31, 6, -26, 11, 2, -16, 22, 8,
-14, -20, -28, 23, 18, -17, -8, -27, -49, 6, 55, -27, -57, -4, -13, -19,
2, -28, -64, -19, -3, -55, -19, 24, -35, -46, 8, -23, -47, 16, 2, -56,
3, 19, -36, -5, -8, -53, -17, -19, -43, -17, -20, -59, -45, 8, -8, -35,
6, -16, -45, 18, 11, -34, 19, 62, 13, -28, -8, 8, -32, -54, -2, 35,
45, 35, -39, -43, 21, 5, -24, 14, 14, 13, 54, 42, 2, 5, 29, 1,
-18, 5, -11, -21, 17, 13, -8, 12, 33, 2, -5, 32, 4, -11, 11, -7,
-20, 22, 16, -19, 2, 36, 27, 18, 46, 34, -16, -19, -8, -13, 26, 48,
-8, -11, 56, -8, -37, 25, 22, 22, 38, 24, -5, 42, 21, -19, 32, 27,
24, 8, -6, 49, 48, 28, 56, 51, 3, 8, 64, 11, -34, 26, 37, 27,
60, 47, -8, 19, 30, -23, 8, 27, -30, -27, 31, -10, -51, 24, 46, -9,
14, 38, -2, 28, 49, -2, 15, 34, 11, 31, 25, -30, -24, 24, 6, -22,
22, 23, -43, -5, 17, -27, 10, 54, -3, -21, 14, 2, -8, -31, -19, -21,
6, 48, 2, -37, -16, -28, -46, -3, -35, -70, -8, 19, -46, -29, 5, -29,
-30, -5, -35, -58, -19, -20, -29, -24, -9, -24, -20, -11, -40, -38, -22, -53,
-48, -12, -31, -44, -51, -19, -20, -51, -21, -9, -27, -35, -57, -62, -22, -5,
-32, -41, 5, -27, -75, -41, -31, -46, -23, -29, -47, 16, 0, -54, -16, 1,
-11, -22, -42, 32, 7, -33, 0, 23, -10, -6, 43, 10, -28, 12, 16, -12,
18, 28, -10, 28, 30, -19, 24, 40, -10, -10, 51, 13, -48, 7, 36, 13,
18, 32, 9, 15, 40, 26, 23, 23, 9, 43, 54, 2, -10, 40, 33, -13,
24, 61, 9, 16, 19, -26, 11, 46, -11, -13, 52, 49, 26, 8, 35, -1,
-22, 38, 32, 17, 48, 26, 5, 46, 36, -16, 0, 49, -20, -13, 50, 29,
17, 49, 18, -27, 19, 35, 27, 28, 19, -19, 10, 40, 21, 25, 45, -3,
-21, 29, 21, 8, -8, 22, 29, -3, 18, 29, 24, 34, 28, -3, 8, 19,
-12, -13, 25, 6, -35, -8, 19, -1, 17, 1, -31, 30, 47, 8, 13, 16,
17, 11, -32, 28, 10, -47, -23, -2, -39, -17, 20, -16, -38, 2, 0, -42,
-10, 3, -35, 11, 19, -24, 9, 12, -41, -48, 28, 16, -54, -21, -16, -43,
-21, -8, -32, -21, -11, -37, -16, 0, -37, -14, 0, -35, -48, -8, 0, -56,
-27, 6, -27, 5, -4, -72, -13, 40, -18, -34, 9, 11, -32, -38, 39, 21,
-45, 4, -3, -30, 21, 7, -19, 6, 11, -12, 7, 51, -13, -30, 29, 21,
6, 38, 32, 0, 17, 19, 12, 29, 32, -16, 3, 45, 14, 6, 53, 17,
-27, 28, 54, 39, 16, 19, 21, 16, 37, 45, 32, 31, 51, 39, 37, 48,
23, 24, 64, 57, 21, 29, 36, 13, 43, 51, 12, 33, 32, -11, 3, 13,
-3, -8, -34, 28, 45, -6, 10, 11, -38, 2, 46, 3, -28, 22, 38, -10,
13, 13, -43, -13, 21, 3, 23, 42, 2, -27, 32, 51, -10, 10, 22, -32,
-14, 26, -12, -5, 27, -17, -11, 38, 8, 13, 28, 0, -14, 17, 19, -31,
1, 17, -24, 26, 51, -39, -19, 43, -12, -43, 8, 24, -39, -54, 30, 39,
-40, 5, 4, -56, -14, -14, -45, -30, -32, -67, -43, 6, -29, -46, -7, -25,
-49, -30, -29, -32, -7, -21, -29, 16, 14, -48, -35, 21, -25, -51, 23, 8,
-64, -35, -8, -20, -7, -21, -53, -29, 12, -7, -35, -18, -6, -32, -13, 6,
-38, -31, 14, -2, -33, -16, -21, -33, 8, 2, -43, -17, -1, -43, -33, -29,
-37, -45, -63, -8, 3, -34, 15, 7, -62, -21, 38, -5, -51, -8, 5, -43,
-2, 19, -38, -48, -32, -35, -22, 31, 11, -28, -8, -5, -21, 6, 36, -19,
-27, 27, -3, -25, 26, 16, -6, 16, 0, 6, 41, 19, -11, 37, 19, -37,
11, 27, -1, 29, 67, 11, -7, 46, 11, -31, 27, 70, 5, -38, 26, 60,
-18, 8, 45, -4, 24, 43, 25, 35, 45, 0, -2, 28, 5, -5, 29, 34,
8, -1, -11, -16, 25, 19, -33, 5, 43, -9, -15, 40, -3, -28, 40, 38,
-31, -19, 10, -14, 17, 37, -21, -29, 29, 20, -31, -5, 26, -18, 0, 45,
-16, -22, 24, -12, -41, 15, 0, -41, 13, 14, -28, 3, 35, -14, -11, 3,
32, 24, -18, 13, 19, -18, 36, 41, -27, -21, 37, 4, -49, -1, 24, -29,
-3, 47, 7, -8, -3, -30, -38, 11, -10, -43, -5, -32, -66, -34, 19, -26,
-54, -16, -32, -59, -17, -18, -32, -20, -45, -50, -3, -3, -43, 15, 0, -65,
-28, -24, -55, -13, 13, -29, -44, -6, -13, -54, -14, 26, -16, -58, -28, 28,
-18, -27, 7, -24, -9, 13, 5, 20, 27, -8, -10, -1, -23, -8, 9, 8,
6, 16, 3, -18, 15, 19, -33, -30, 19, -10, -6, 25, -37, -57, 19, 38,
-11, -3, 9, -30, -32, 21, 8, -20, 10, -2, -46, -26, 22, -8, -2, 30,
-26, -18, 39, -4, -26, 28, 6, -48, 9, 29, -23, 0, 34, -19, -26, 18,
31, 30, 5, 27, 33, 10, 30, 47, 14, -18, 35, 53, 0, 26, 61, 24,
8, 56, 33, 22, 54, 32, 8, 48, 30, -15, 44, 49, -4, -5, 53, 18,
-11, 28, 9, -26, 13, 21, 13, 31, -9, -27, 22, 31, -8, 38, 51, 0,
6, 19, -37, -10, 32, -4, -5, 14, 1, -50, -13, 33, 5, -27, -28, 14,
-5, -24, -13, -25, -12, -5, -24, 8, 24, -13, -8, -8, -61, -38, 7, -6,
-12, 11, -23, -59, 5, 40, 8, -15, 7, -24, 0, 51, 3, -38, 5, 12,
-31, 0, 7, -15, -29, -11, -19, -16, 18, -5, -32, -13, 13, -43, -23, 21,
-43, -14, 42, -31, -35, 25, 8, -33, 9, 24, -44, -14, 41, 0, -34, 0,
-18, -18, -29, 0, -13, -14, -5, 2, 0, -19, 3, 18, -18, -6, 9, -8,
-10, 28, 28, 8, 8, -9, -13, 38, 35, -10, 26, 37, 3, 3, 50, 39,
22, 59, 20, -19, 16, 26, 37, 67, 11, -24, 27, 34, 8, 30, 41, 9,
-9, 30, 14, 9, 53, 30, 35, 69, 60, 5, 12, 61, 38, 11, 24, 43,
36, 32, 8, -3, 28, 32, 7, 31, 59, 32, 41, 70, 4, -16, 40, 36,
24, 58, 40, -16, 16, 53, 37, 19, 40, 14, 13, 59, 43, 7, 32, 39,
0, 28, 42, 21, 16, 34, -4, -1, 57, 32, 3, 25, 64, 14, 13, 61,
8, 17, 59, -6, -13, 50, 40, 4, 31, 61, 16, 16, 41, 9, -4, 19,
14, 15, -10, 15, -8, -27, -10, 3, -16, -12, 11, -18, -50, -8, 9, -29,
-43, -11, 9, 15, 11, -35, -43, 14, 10, -32, 2, 3, -51, -42, 11, -3,
-18, 36, -5, -51, -18, -37, -17, 39, -13, -43, 7, -1, -22, 0, -3, -19,
-24, -15, -24, -20, 5, -39, -30, 26, 21, -24, -19, 29, -8, -48, -6, 8,
0, 33, -7, -51, -15, -13, -27, -8, 13, -24, -24, 43, 25, -15, 3, -14,
-25, 16, 21, -14, -10, 4, -7, -6, -6, -35, -24, 16, -15, -43, -6, 5,
-25, -20, 0, -26, -23, 24, -19, -38, 29, 1, -45, -25, -2, -14, -21, 0,
-22, -24, 12, -8, -32, 3, -4, -26, -15, -17, -32, -3, 16, -23, -29, -18,
-15, -12, -33, -3, 16, -29, -6, 17, -38, -45, 21, 3, -43, 11, 35, 4,
-22, -19, -29, -27, 20, 5, -41, -2, 4, -47, -1, 48, 1, -32, 1, -19,
-39, 42, 31, -15, 21, -8, -13, 45, -5, -38, 12, -13, -47, 18, 31, 3,
21, 7, -45, -16, 30, -42, -56, 13, 8, -53, -34, 46, 10, -69, -26, 6,
-29, 20, 27, -17, -4, -31, -62, -35, 9, -34, -53, 0, -16, -41, -6, -11,
-35, -8, -16, -53, -30, 1, -19, 0, 8, -43, -27, 32, -4, -45, -19, -13,
-24, -24, 5, -24, -27, 14, -27, -51, 14, 11, -40, -25, -19, -27, -25, -13,
-28, -46, -22, -3, -24, -4, -8, -24, -3, -30, -59, -23, 19, -8, -22, -33,
-24, -13, -40, -21, 12, -32, 3, 22, -43, -53, 18, 6, -59, -8, 13, -18,
-13, 8, -27, -56, -28, -13, -50, -11, 24, -48, -28, 12, -11, -35, -21, -32,
-43, 18, 14, -24, -3, -10, -18, 23, -12, -66, -8, -9, -48, 16, 17, -34,
10, 43, 2, 9, 49, -16, -72, 4, 38, -27, -23, 49, 48, -27, -14, 27,
-3, 15, 19, -2, 37, 24, -30, -11, 51, 21, -7, 33, 5, -28, 17, 22,
-12, 21, 29, -29, -22, 25, 2, 23, 42, -13, -11, 51, 35, 1, 35, 41,
28, 21, 44, 5, -22, 27, 17, -10, 33, 45, -2, 10, 30, 22, 27, 53,
46, 11, -7, -6, -6, 30, 37, 29, 58, 37, -10, -5, 22, 20, 27, 14,
0, 21, -26, -16, 22, -23, 14, 41, -16, -35, 18, 14, -45, 5, 29, -21,
-13, 43, 16, -19, -5, 11, -27, -6, 35, -33, -16, 22, 8, 10, 6, -25,
-35, 14, 21, -4, -6, -7, -2, 27, 13, -22, 19, 0, -43, 13, 16, -24,
2, 8, -18, 9, 43, 6, -48, 8, 30, -38, -23, 37, 32, -25, -20, 0,
-18, 8, 15, -6, 28, 22, -35, -24, 20, -5, -14, 32, 3, -35, 1, 8,
-13, 20, 28, -27, -27, 16, -8, 10, 14, -29, -14, 34, 8, -19, 10, -2,
-16, -9, 28, 26, -7, -6, -17, -22, 21, 33, -11, -15, 0, -12, -2, 22,
1997-11-25 06:05:25 +08:00
11, -4, 2, -14, -26, 3, 3, 2, 28, 13, -27, -18, 5, 5, 13, 0
};
/* --- Typedefs --- */
enum
{
TOP_RIGHT,
TOP_LEFT,
BOTTOM_LEFT,
BOTTOM_RIGHT
};
typedef struct
{
gint direction;
gint depth;
gboolean update_preview;
} StrucValues;
/* --- Declare local functions --- */
static void query (void);
static void run (const gchar *name,
gint nparams,
const GimpParam *param,
gint *nreturn_vals,
GimpParam **return_vals);
static gboolean struc_dialog (GimpDrawable *drawable);
static void strucpi (GimpDrawable *drawable,
GimpPreview *preview);
/* --- Variables --- */
GimpPlugInInfo PLUG_IN_INFO =
{
NULL, /* init_proc */
NULL, /* quit_proc */
query, /* query_proc */
run, /* run_proc */
};
static StrucValues svals =
{
0, /* direction */
4, /* depth */
TRUE
};
/* --- Functions --- */
MAIN ()
static void
query (void)
{
static GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "Interactive, non-interactive" },
{ GIMP_PDB_IMAGE, "image", "Input image (unused)" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_INT32, "direction", "Light direction (0 - 3)" },
{ GIMP_PDB_INT32, "depth", "Texture depth (1 - 50)" }
};
gimp_install_procedure (PLUG_IN_PROC,
"Adds a canvas texture map to the picture",
"This function applies a canvas texture map to the drawable.",
"Karl-Johan Andersson", /* Author */
"Karl-Johan Andersson", /* Copyright */
"1997",
N_("_Apply Canvas..."),
"RGB*, GRAY*",
GIMP_PLUGIN,
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_PROC, "<Image>/Filters/Artistic");
}
static void
run (const gchar *name,
gint nparams,
const GimpParam *param,
gint *nreturn_vals,
GimpParam **return_vals)
{
static GimpParam values[1];
GimpDrawable *drawable;
GimpRunMode run_mode;
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
run_mode = param[0].data.d_int32;
INIT_I18N ();
*nreturn_vals = 1;
*return_vals = values;
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
values[0].type = GIMP_PDB_STATUS;
values[0].data.d_status = status;
/* Get the specified drawable */
drawable = gimp_drawable_get (param[2].data.d_drawable);
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
switch (run_mode)
{
case GIMP_RUN_INTERACTIVE:
/* Possibly retrieve data */
gimp_get_data (PLUG_IN_PROC, &svals);
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
/* First acquire information with a dialog */
if (! struc_dialog (drawable))
{
gimp_drawable_detach (drawable);
return;
}
break;
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
case GIMP_RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */
if (nparams != 5)
{
status = GIMP_PDB_CALLING_ERROR;
}
else
{
svals.direction = (gint) param[3].data.d_int32;
svals.depth = (gint) param[4].data.d_int32;
if (svals.direction < 0 || svals.direction > 4)
status = GIMP_PDB_CALLING_ERROR;
if (svals.depth < 1 || svals.depth > 50)
status = GIMP_PDB_CALLING_ERROR;
}
break;
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
case GIMP_RUN_WITH_LAST_VALS:
/* Possibly retrieve data */
gimp_get_data (PLUG_IN_PROC, &svals);
break;
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
default:
break;
}
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
if (status == GIMP_PDB_SUCCESS)
{
/* Make sure that the drawable is gray or RGB color */
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Applying Canvas..."));
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
strucpi (drawable, NULL);
if (run_mode != GIMP_RUN_NONINTERACTIVE)
gimp_displays_flush ();
/* Store data */
if (run_mode == GIMP_RUN_INTERACTIVE)
gimp_set_data (PLUG_IN_PROC, &svals, sizeof (StrucValues));
}
else
{
/* gimp_message ("struc: cannot operate on indexed color images"); */
status = GIMP_PDB_EXECUTION_ERROR;
}
}
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
values[0].data.d_status = status;
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
gimp_drawable_detach (drawable);
}
static gboolean
struc_dialog (GimpDrawable *drawable)
{
GtkWidget *dialog;
GtkWidget *main_vbox;
GtkWidget *preview;
GtkWidget *frame;
GtkWidget *table;
GtkWidget *radio1, *radio2, *radio3, *radio4;
GtkObject *adj;
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
gboolean run;
gimp_ui_init (PLUG_IN_BINARY, FALSE);
dialog = gimp_dialog_new (_("Apply Canvas"), PLUG_IN_BINARY,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
Added parent window API to the GimpProgress interface and to the libgimp 2005-09-09 Michael Natterer <mitch@gimp.org> Added parent window API to the GimpProgress interface and to the libgimp progress stuff. Might look strange, but does the right thing in almost all cases (image window, file dialog, script-fu dialog etc). Fixes bug #62988. * app/core/gimpprogress.[ch]: added GimpProgress::get_window() which should return a toplevel window ID if the progress is in a window that wants to be the transient parent of plug-in dialogs. * app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new function which returns the window handle of a GtkWindow's GdkWindow. * app/widgets/gimpfiledialog.c: implement ::get_window(). * app/display/gimpdisplay.[ch]: ditto. Removed window handle API. * app/gui/gui-vtable.c: changed accordingly. * libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand): added GIMP_PROGRESS_COMMAND_GET_WINDOW. * app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window): new function. Also renamed some functions to match the GimpProgress interface, and not the legacy PDB procedure names. * tools/pdbgen/pdb/progress.pdb * app/core/gimppdbprogress.c: implement get_window() on both sides of the wire, keeping backward compatibility (hopefully). * libgimp/gimpprogress.[ch]: deprecated gimp_progress_install() and added gimp_progress_install_vtable() which takes a vtable with padding to be extensible. Added get_window() vtable entry and dispatch it accordingly. Also added pulse() which was implemented in a hackish way before. Everything is of course backward compatible. * libgimp/gimpprogressbar.c: inmplement the get_window() stuff so a plug-in dialog containing a progress can be the transient parent of another dialog in another plug-in. * libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function which returns a foreign GdkWindow of this plug-ins progress window. Renamed gimp_window_set_transient_for_default_display() to gimp_window_set_transient() and make it use the progress' window handle instead of the display's (which is the right thing to do in almost all cases). * libgimp/gimp.def * libgimp/gimpui.def: add the new functions. * tools/pdbgen/enums.pl * app/pdb/internal_procs.c * app/pdb/progress_cmds.c * libgimp/gimpprogress_pdb.[ch]: regenerated. * libgimp/gimpexport.c * plug-ins/*/*.c: follow API change.
2005-09-10 02:07:31 +08:00
gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), main_vbox);
gtk_widget_show (main_vbox);
preview = gimp_drawable_preview_new (drawable, &svals.update_preview);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
g_signal_connect_swapped (preview, "invalidated",
G_CALLBACK (strucpi),
drawable);
implementedgimp_int_option_menu_new and gimp_int_radio_group_new, which 2003-11-14 Manish Singh <yosh@gimp.org> * libgimpwidgets/gimpwidgets.[ch]: implementedgimp_int_option_menu_new and gimp_int_radio_group_new, which are the same as gimp_option_menu_new2 and gimp_radio_group_new2, but they take integers as values to map instead of gpointers, which avoids casts in pretty much all uses of it in the tree. * app/gui/image-commands.c * app/gui/offset-dialog.c * app/widgets/gimppropwidgets.c * app/widgets/gimpwidgets-constructors.c * libgimpwidgets/gimpmemsizeentry.c * modules/cdisplay_colorblind.c * plug-ins/FractalExplorer/Dialogs.c * plug-ins/Lighting/lighting_ui.c * plug-ins/MapObject/mapobject_ui.c * plug-ins/common/AlienMap.c * plug-ins/common/AlienMap2.c * plug-ins/common/CML_explorer.c * plug-ins/common/align_layers.c * plug-ins/common/blinds.c * plug-ins/common/borderaverage.c * plug-ins/common/bumpmap.c * plug-ins/common/curve_bend.c * plug-ins/common/deinterlace.c * plug-ins/common/edge.c * plug-ins/common/emboss.c * plug-ins/common/fractaltrace.c * plug-ins/common/gif.c * plug-ins/common/hot.c * plug-ins/common/iwarp.c * plug-ins/common/jigsaw.c * plug-ins/common/jpeg.c * plug-ins/common/lic.c * plug-ins/common/mail.c * plug-ins/common/max_rgb.c * plug-ins/common/mblur.c * plug-ins/common/mng.c * plug-ins/common/mosaic.c * plug-ins/common/nlfilt.c * plug-ins/common/papertile.c * plug-ins/common/pnm.c * plug-ins/common/ps.c * plug-ins/common/psp.c * plug-ins/common/ripple.c * plug-ins/common/shift.c * plug-ins/common/sinus.c * plug-ins/common/sparkle.c * plug-ins/common/struc.c * plug-ins/common/sunras.c * plug-ins/common/tiff.c * plug-ins/common/waves.c * plug-ins/common/wind.c * plug-ins/fits/fits.c * plug-ins/flame/flame.c * plug-ins/gfig/gfig.c * plug-ins/gimpressionist/color.c * plug-ins/gimpressionist/orientmap.c * plug-ins/gimpressionist/placement.c * plug-ins/maze/maze_face.c * plug-ins/sgi/sgi.c: Use gimp_int_option_menu_new and gimp_int_radio_group_new. * plug-ins/common/CML_explorer.c: make function_graph_new take a gpointer *data instead of a gpointer data, and properly pass an int through it. * plug-ins/common/mng.c: mark menu strings for translation. * plug-ins/rcm/rcm.c: remove initialization for Success member in RcmParams, since it's gone now.
2003-11-15 02:05:39 +08:00
frame = gimp_int_radio_group_new (TRUE, _("Direction"),
G_CALLBACK (gimp_radio_button_update),
&svals.direction, svals.direction,
_("_Top-right"), TOP_RIGHT, &radio1,
_("Top-_left"), TOP_LEFT, &radio2,
_("_Bottom-left"), BOTTOM_LEFT, &radio3,
_("Bottom-_right"), BOTTOM_RIGHT, &radio4,
implementedgimp_int_option_menu_new and gimp_int_radio_group_new, which 2003-11-14 Manish Singh <yosh@gimp.org> * libgimpwidgets/gimpwidgets.[ch]: implementedgimp_int_option_menu_new and gimp_int_radio_group_new, which are the same as gimp_option_menu_new2 and gimp_radio_group_new2, but they take integers as values to map instead of gpointers, which avoids casts in pretty much all uses of it in the tree. * app/gui/image-commands.c * app/gui/offset-dialog.c * app/widgets/gimppropwidgets.c * app/widgets/gimpwidgets-constructors.c * libgimpwidgets/gimpmemsizeentry.c * modules/cdisplay_colorblind.c * plug-ins/FractalExplorer/Dialogs.c * plug-ins/Lighting/lighting_ui.c * plug-ins/MapObject/mapobject_ui.c * plug-ins/common/AlienMap.c * plug-ins/common/AlienMap2.c * plug-ins/common/CML_explorer.c * plug-ins/common/align_layers.c * plug-ins/common/blinds.c * plug-ins/common/borderaverage.c * plug-ins/common/bumpmap.c * plug-ins/common/curve_bend.c * plug-ins/common/deinterlace.c * plug-ins/common/edge.c * plug-ins/common/emboss.c * plug-ins/common/fractaltrace.c * plug-ins/common/gif.c * plug-ins/common/hot.c * plug-ins/common/iwarp.c * plug-ins/common/jigsaw.c * plug-ins/common/jpeg.c * plug-ins/common/lic.c * plug-ins/common/mail.c * plug-ins/common/max_rgb.c * plug-ins/common/mblur.c * plug-ins/common/mng.c * plug-ins/common/mosaic.c * plug-ins/common/nlfilt.c * plug-ins/common/papertile.c * plug-ins/common/pnm.c * plug-ins/common/ps.c * plug-ins/common/psp.c * plug-ins/common/ripple.c * plug-ins/common/shift.c * plug-ins/common/sinus.c * plug-ins/common/sparkle.c * plug-ins/common/struc.c * plug-ins/common/sunras.c * plug-ins/common/tiff.c * plug-ins/common/waves.c * plug-ins/common/wind.c * plug-ins/fits/fits.c * plug-ins/flame/flame.c * plug-ins/gfig/gfig.c * plug-ins/gimpressionist/color.c * plug-ins/gimpressionist/orientmap.c * plug-ins/gimpressionist/placement.c * plug-ins/maze/maze_face.c * plug-ins/sgi/sgi.c: Use gimp_int_option_menu_new and gimp_int_radio_group_new. * plug-ins/common/CML_explorer.c: make function_graph_new take a gpointer *data instead of a gpointer data, and properly pass an int through it. * plug-ins/common/mng.c: mark menu strings for translation. * plug-ins/rcm/rcm.c: remove initialization for Success member in RcmParams, since it's gone now.
2003-11-15 02:05:39 +08:00
NULL);
gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
g_signal_connect_swapped (radio1, "toggled",
G_CALLBACK (gimp_preview_invalidate),
preview);
g_signal_connect_swapped (radio2, "toggled",
G_CALLBACK (gimp_preview_invalidate),
preview);
g_signal_connect_swapped (radio3, "toggled",
G_CALLBACK (gimp_preview_invalidate),
preview);
g_signal_connect_swapped (radio4, "toggled",
G_CALLBACK (gimp_preview_invalidate),
preview);
table = gtk_table_new (1, 3, FALSE);
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
gtk_box_pack_start (GTK_BOX (main_vbox), table, FALSE, FALSE, 0);
gtk_widget_show (table);
adj = gimp_scale_entry_new (GTK_TABLE (table), 0, 0,
_("_Depth:"), 100, 0,
svals.depth, 1, 50, 1, 5, 0,
TRUE, 0, 0,
NULL, NULL);
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),
&svals.depth);
g_signal_connect_swapped (adj, "value-changed",
G_CALLBACK (gimp_preview_invalidate),
preview);
gtk_widget_show (dialog);
run = (gimp_dialog_run (GIMP_DIALOG (dialog)) == GTK_RESPONSE_OK);
gtk_widget_destroy (dialog);
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
return run;
}
/* Filter function */
static void
strucpi (GimpDrawable *drawable,
GimpPreview *preview)
{
GimpPixelRgn srcPR, destPR;
gint width, height;
gint bytes;
guchar *dest, *d;
guchar *cur_row;
gint row, col, rrow, rcol;
gint x1, y1, x2, y2, varde;
gint xm, ym, offs;
gfloat mult;
guchar *preview_buffer = NULL;
if (preview)
{
gimp_preview_get_position (preview, &x1, &y1);
gimp_preview_get_size (preview, &width, &height);
x2 = x1 + width;
y2 = y1 + height;
}
else
{
/* Get the input area. This is the bounding box of the selection in
* the image (or the entire image if there is no selection). Only
* operating on the input area is simply an optimization. It doesn't
* need to be done for correct operation. (It simply makes it go
* faster, since fewer pixels need to be operated on).
*/
if (! gimp_drawable_mask_intersect (drawable->drawable_id,
&x1, &y1, &x2, &y2))
return;
/* Get the size of the input image. (This will/must be the same
* as the size of the output image.
*/
width = x2 - x1;
height = y2 - y1;
}
bytes = drawable->bpp;
removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API and use GtkDialog's one. Create all dialogs without separator. Changed almost everything else too. Fixes bug #125143. * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: changed accordingly. * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType to GimpExportReturn. * libgimp/gimpcompat.h: added a #define for the old name. * themes/Default/gtkrc: increased action_area border to 6 pixels. * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/display/gimpprogress.c * app/gui/brush-select.c * app/gui/channels-commands.c * app/gui/color-notebook.c * app/gui/convert-dialog.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-editor-commands.c * app/gui/gradient-select.c * app/gui/grid-dialog.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/user-install-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimptexteditor.c * app/widgets/gimptooldialog.[ch] * app/widgets/gimpviewabledialog.[ch] * app/widgets/gimpwidgets-utils.c: changed accordingly and increased the dialogs' outer borders to 6 pixels all over the place. * plug-ins/*/*.c: changed accordingly. The plug-ins may be arbitrarily broken, I tested none of them.
2003-11-06 23:27:05 +08:00
/* allocate row buffers */
cur_row = g_new (guchar, width * bytes);
dest = g_new (guchar, width * bytes);
/* initialize the pixel regions */
gimp_pixel_rgn_init (&srcPR, drawable, x1, y1, width, height, FALSE, FALSE);
if (preview)
{
preview_buffer = g_new (guchar, width * height * bytes);
}
else
{
gimp_pixel_rgn_init (&destPR,
drawable, x1, y1, width, height, TRUE, TRUE);
}
mult = (gfloat) svals.depth * 0.25;
switch (svals.direction)
{
case 0:
xm = 1;
ym = 128;
offs = 0;
break;
case 1:
xm = -1;
ym = 128;
offs = 127;
break;
case 2:
xm = 128;
ym = 1;
offs = 0;
break;
case 3:
xm = 128;
ym = -1;
offs = 128;
break;
default:
xm = 1;
ym = 128;
offs = 0;
break;
}
/* Loop through the rows */
rrow = 0; rcol = 0;
for (row = y1; row < y2; row++)
{
gimp_pixel_rgn_get_row (&srcPR, cur_row, x1, row, width);
d = dest;
rcol = 0;
switch (bytes)
{
case 1: /* Grayscale */
case 2: /* Grayscale alpha */
for (col = 0; col < width * bytes; col+=bytes)
{
varde = cur_row[col] + mult * sdata[rcol * xm + rrow * ym + offs];
*d++ = (guchar) CLAMP0255 (varde);
if (bytes == 2)
*d++ = cur_row[col + 1];
rcol++;
if (rcol == 128) rcol = 0;
}
break;
case 3: /* RGB */
case 4: /* RGB alpha */
for (col = 0; col < width * bytes; col+=bytes)
{
varde = cur_row[col + 0] +
mult * sdata[rcol * xm + rrow * ym + offs];
*d++ = (guchar) CLAMP0255 (varde);
varde = cur_row[col + 1] +
mult * sdata[rcol * xm + rrow * ym + offs];
*d++ = (guchar) CLAMP0255 (varde);
varde = cur_row[col + 2] +
mult * sdata[rcol * xm + rrow * ym + offs];
*d++ = (guchar) CLAMP0255 (varde);
if (bytes == 4)
*d++ = cur_row[col + 3];
rcol++;
if (rcol == 128)
rcol = 0;
}
break;
}
/* store the dest */
if (preview)
{
memcpy (preview_buffer + (row - y1) * width * bytes,
dest,
width * bytes);
}
else
{
gimp_pixel_rgn_set_row (&destPR, dest, x1, row, width);
if ((row % 5) == 0)
gimp_progress_update ((gdouble) row / (gdouble) height);
}
rrow++;
if (rrow == 128)
rrow = 0;
}
if (preview)
{
gimp_preview_draw_buffer (preview, preview_buffer, width * bytes);
g_free (preview_buffer);
}
else
{
/* update the textured region */
gimp_drawable_flush (drawable);
gimp_drawable_merge_shadow (drawable->drawable_id, TRUE);
gimp_drawable_update (drawable->drawable_id, x1, y1, width, height);
}
g_free (cur_row);
g_free (dest);
}