2006-12-09 21:33:38 +00:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
1997-11-24 22:05:25 +00:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2009-01-17 22:28:01 +00:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
1997-11-24 22:05:25 +00:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 22:28:01 +00:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
1997-11-24 22:05:25 +00:00
|
|
|
* (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
|
2018-07-11 23:27:07 +02:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
1997-11-24 22:05:25 +00:00
|
|
|
*/
|
2000-02-22 15:14:54 +00:00
|
|
|
|
2000-12-16 21:37:03 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
2012-03-29 19:19:01 +02:00
|
|
|
#include <gegl.h>
|
2000-12-16 21:37:03 +00:00
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
2002-06-08 12:15:11 +00:00
|
|
|
#include "libgimpwidgets/gimpwidgets.h"
|
2001-01-23 23:56:18 +00:00
|
|
|
|
2002-03-14 17:07:02 +00:00
|
|
|
#include "widgets-types.h"
|
2000-12-16 21:37:03 +00:00
|
|
|
|
2018-06-20 15:59:29 +02:00
|
|
|
#include "config/gimpguiconfig.h"
|
|
|
|
|
2001-07-07 12:17:23 +00:00
|
|
|
#include "core/gimp.h"
|
2001-05-09 02:32:03 +00:00
|
|
|
#include "core/gimpcontext.h"
|
2021-09-26 18:54:39 +02:00
|
|
|
#include "core/gimpdisplay.h"
|
2001-05-09 02:32:03 +00:00
|
|
|
|
2019-07-02 03:54:38 +02:00
|
|
|
#include "gimpaction.h"
|
2004-09-23 20:41:40 +00:00
|
|
|
#include "gimpcolordialog.h"
|
2003-05-16 11:53:50 +00:00
|
|
|
#include "gimpdialogfactory.h"
|
2004-05-27 12:41:22 +00:00
|
|
|
#include "gimpfgbgeditor.h"
|
2018-10-08 12:39:34 +02:00
|
|
|
#include "gimphelp-ids.h"
|
2018-06-20 15:59:29 +02:00
|
|
|
#include "gimpsessioninfo.h"
|
2002-03-14 17:07:02 +00:00
|
|
|
#include "gimptoolbox.h"
|
|
|
|
#include "gimptoolbox-color-area.h"
|
2018-10-25 14:45:55 +02:00
|
|
|
#include "gimpuimanager.h"
|
2001-05-08 19:29:15 +00:00
|
|
|
|
2003-03-25 16:38:19 +00:00
|
|
|
#include "gimp-intl.h"
|
2001-01-21 13:41:07 +00:00
|
|
|
|
|
|
|
|
1999-08-22 11:45:31 +00:00
|
|
|
/* local function prototypes */
|
2001-10-29 11:47:11 +00:00
|
|
|
|
2014-09-16 23:54:58 +02:00
|
|
|
static void color_area_foreground_changed (GimpContext *context,
|
2023-11-14 20:04:14 +01:00
|
|
|
GeglColor *color,
|
2014-09-16 23:54:58 +02:00
|
|
|
GimpColorDialog *dialog);
|
|
|
|
static void color_area_background_changed (GimpContext *context,
|
2023-11-14 20:04:14 +01:00
|
|
|
GeglColor *color,
|
2014-09-16 23:54:58 +02:00
|
|
|
GimpColorDialog *dialog);
|
|
|
|
|
|
|
|
static void color_area_dialog_update (GimpColorDialog *dialog,
|
|
|
|
const GimpRGB *color,
|
|
|
|
GimpColorDialogState state,
|
|
|
|
GimpContext *context);
|
|
|
|
|
|
|
|
static void color_area_color_clicked (GimpFgBgEditor *editor,
|
|
|
|
GimpActiveColor active_color,
|
|
|
|
GimpContext *context);
|
2021-09-26 18:54:39 +02:00
|
|
|
static void color_area_color_changed (GimpContext *context);
|
2018-10-25 14:45:55 +02:00
|
|
|
static void color_area_tooltip (GimpFgBgEditor *editor,
|
|
|
|
GimpFgBgTarget target,
|
|
|
|
GtkTooltip *tooltip,
|
|
|
|
GimpToolbox *toolbox);
|
2001-10-29 11:47:11 +00:00
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2004-05-27 12:41:22 +00:00
|
|
|
/* local variables */
|
|
|
|
|
2004-09-23 20:41:40 +00:00
|
|
|
static GtkWidget *color_area = NULL;
|
|
|
|
static GtkWidget *color_dialog = NULL;
|
2004-09-13 15:15:23 +00:00
|
|
|
static gboolean color_dialog_active = FALSE;
|
2014-09-16 23:54:58 +02:00
|
|
|
static GimpActiveColor edit_color = GIMP_ACTIVE_COLOR_FOREGROUND;
|
2004-05-27 12:41:22 +00:00
|
|
|
static GimpRGB revert_fg;
|
|
|
|
static GimpRGB revert_bg;
|
1999-08-22 11:45:31 +00:00
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2001-10-29 11:47:11 +00:00
|
|
|
/* public functions */
|
|
|
|
|
|
|
|
GtkWidget *
|
2002-03-14 17:07:02 +00:00
|
|
|
gimp_toolbox_color_area_create (GimpToolbox *toolbox,
|
|
|
|
gint width,
|
2002-06-08 12:15:11 +00:00
|
|
|
gint height)
|
2001-10-29 11:47:11 +00:00
|
|
|
{
|
2002-03-14 17:07:02 +00:00
|
|
|
GimpContext *context;
|
|
|
|
|
|
|
|
g_return_val_if_fail (GIMP_IS_TOOLBOX (toolbox), NULL);
|
|
|
|
|
2009-12-05 21:20:18 +01:00
|
|
|
context = gimp_toolbox_get_context (toolbox);
|
2001-10-29 11:47:11 +00:00
|
|
|
|
2004-05-27 12:41:22 +00:00
|
|
|
color_area = gimp_fg_bg_editor_new (context);
|
2001-12-29 13:26:29 +00:00
|
|
|
gtk_widget_set_size_request (color_area, width, height);
|
2001-10-29 11:47:11 +00:00
|
|
|
|
2018-10-25 14:45:55 +02:00
|
|
|
gimp_help_set_help_data (color_area, NULL,
|
|
|
|
GIMP_HELP_TOOLBOX_COLOR_AREA);
|
|
|
|
g_object_set (color_area, "has-tooltip", TRUE, NULL);
|
2007-11-09 11:17:00 +00:00
|
|
|
|
2004-05-27 12:41:22 +00:00
|
|
|
g_signal_connect (color_area, "color-clicked",
|
2006-04-12 12:49:29 +00:00
|
|
|
G_CALLBACK (color_area_color_clicked),
|
|
|
|
context);
|
2021-09-26 18:54:39 +02:00
|
|
|
g_signal_connect_swapped (color_area, "colors-swapped",
|
|
|
|
G_CALLBACK (color_area_color_changed),
|
|
|
|
context);
|
|
|
|
g_signal_connect_swapped (color_area, "colors-default",
|
|
|
|
G_CALLBACK (color_area_color_changed),
|
|
|
|
context);
|
|
|
|
g_signal_connect_swapped (color_area, "color-dropped",
|
|
|
|
G_CALLBACK (color_area_color_changed),
|
|
|
|
context);
|
2001-10-29 11:47:11 +00:00
|
|
|
|
2018-10-25 14:45:55 +02:00
|
|
|
g_signal_connect (color_area, "tooltip",
|
|
|
|
G_CALLBACK (color_area_tooltip),
|
|
|
|
toolbox);
|
|
|
|
|
2001-10-29 11:47:11 +00:00
|
|
|
return color_area;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* private functions */
|
|
|
|
|
2014-09-16 23:54:58 +02:00
|
|
|
static void
|
|
|
|
color_area_foreground_changed (GimpContext *context,
|
2023-11-14 20:04:14 +01:00
|
|
|
GeglColor *color,
|
2014-09-16 23:54:58 +02:00
|
|
|
GimpColorDialog *dialog)
|
|
|
|
{
|
|
|
|
if (edit_color == GIMP_ACTIVE_COLOR_FOREGROUND)
|
|
|
|
{
|
2023-11-14 20:04:14 +01:00
|
|
|
GimpRGB rgb;
|
|
|
|
|
|
|
|
gegl_color_get_pixel (color, babl_format ("R'G'B'A double"), &rgb);
|
2014-09-16 23:54:58 +02:00
|
|
|
g_signal_handlers_block_by_func (dialog,
|
|
|
|
color_area_dialog_update,
|
|
|
|
context);
|
|
|
|
|
|
|
|
/* FIXME this should use GimpColorDialog API */
|
|
|
|
gimp_color_selection_set_color (GIMP_COLOR_SELECTION (dialog->selection),
|
2023-11-14 20:04:14 +01:00
|
|
|
&rgb);
|
2014-09-16 23:54:58 +02:00
|
|
|
|
|
|
|
g_signal_handlers_unblock_by_func (dialog,
|
|
|
|
color_area_dialog_update,
|
|
|
|
context);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
color_area_background_changed (GimpContext *context,
|
2023-11-14 20:04:14 +01:00
|
|
|
GeglColor *color,
|
2014-09-16 23:54:58 +02:00
|
|
|
GimpColorDialog *dialog)
|
|
|
|
{
|
|
|
|
if (edit_color == GIMP_ACTIVE_COLOR_BACKGROUND)
|
|
|
|
{
|
2023-11-14 20:04:14 +01:00
|
|
|
GimpRGB rgb;
|
|
|
|
|
|
|
|
gegl_color_get_pixel (color, babl_format ("R'G'B'A double"), &rgb);
|
2014-09-16 23:54:58 +02:00
|
|
|
g_signal_handlers_block_by_func (dialog,
|
|
|
|
color_area_dialog_update,
|
|
|
|
context);
|
|
|
|
|
|
|
|
/* FIXME this should use GimpColorDialog API */
|
|
|
|
gimp_color_selection_set_color (GIMP_COLOR_SELECTION (dialog->selection),
|
2023-11-14 20:04:14 +01:00
|
|
|
&rgb);
|
2014-09-16 23:54:58 +02:00
|
|
|
|
|
|
|
g_signal_handlers_unblock_by_func (dialog,
|
|
|
|
color_area_dialog_update,
|
|
|
|
context);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
static void
|
2004-09-23 20:41:40 +00:00
|
|
|
color_area_dialog_update (GimpColorDialog *dialog,
|
2023-11-13 23:29:20 +01:00
|
|
|
const GimpRGB *rgb,
|
2004-09-23 20:41:40 +00:00
|
|
|
GimpColorDialogState state,
|
|
|
|
GimpContext *context)
|
1997-11-24 22:05:25 +00:00
|
|
|
{
|
2023-11-13 23:29:20 +01:00
|
|
|
GeglColor *color = gegl_color_new ("black");
|
|
|
|
|
|
|
|
gegl_color_set_rgba_with_space (color, rgb->r, rgb->g, rgb->b, rgb->a, NULL);
|
|
|
|
|
2004-09-23 20:41:40 +00:00
|
|
|
switch (state)
|
1997-11-24 22:05:25 +00:00
|
|
|
{
|
2004-09-23 20:41:40 +00:00
|
|
|
case GIMP_COLOR_DIALOG_OK:
|
|
|
|
gtk_widget_hide (color_dialog);
|
|
|
|
color_dialog_active = FALSE;
|
|
|
|
/* Fallthrough */
|
|
|
|
|
|
|
|
case GIMP_COLOR_DIALOG_UPDATE:
|
|
|
|
if (edit_color == GIMP_ACTIVE_COLOR_FOREGROUND)
|
2014-09-16 23:54:58 +02:00
|
|
|
{
|
|
|
|
g_signal_handlers_block_by_func (context,
|
|
|
|
color_area_foreground_changed,
|
|
|
|
dialog);
|
|
|
|
|
|
|
|
gimp_context_set_foreground (context, color);
|
|
|
|
|
|
|
|
g_signal_handlers_unblock_by_func (context,
|
|
|
|
color_area_foreground_changed,
|
|
|
|
dialog);
|
|
|
|
}
|
2004-09-23 20:41:40 +00:00
|
|
|
else
|
2014-09-16 23:54:58 +02:00
|
|
|
{
|
|
|
|
g_signal_handlers_block_by_func (context,
|
2019-05-08 03:32:39 -04:00
|
|
|
color_area_background_changed,
|
2014-09-16 23:54:58 +02:00
|
|
|
dialog);
|
|
|
|
|
|
|
|
gimp_context_set_background (context, color);
|
|
|
|
|
|
|
|
g_signal_handlers_unblock_by_func (context,
|
2019-05-08 03:32:39 -04:00
|
|
|
color_area_background_changed,
|
2014-09-16 23:54:58 +02:00
|
|
|
dialog);
|
|
|
|
}
|
2004-09-23 20:41:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case GIMP_COLOR_DIALOG_CANCEL:
|
|
|
|
gtk_widget_hide (color_dialog);
|
|
|
|
color_dialog_active = FALSE;
|
2023-11-13 23:29:20 +01:00
|
|
|
gegl_color_set_rgba_with_space (color, revert_fg.r, revert_fg.g, revert_fg.b, revert_fg.a, NULL);
|
|
|
|
gimp_context_set_foreground (context, color);
|
|
|
|
gegl_color_set_rgba_with_space (color, revert_bg.r, revert_bg.g, revert_bg.b, revert_bg.a, NULL);
|
|
|
|
gimp_context_set_background (context, color);
|
2004-09-23 20:41:40 +00:00
|
|
|
break;
|
1997-11-24 22:05:25 +00:00
|
|
|
}
|
2021-09-26 18:54:39 +02:00
|
|
|
|
|
|
|
if (gimp_context_get_display (context))
|
|
|
|
gimp_display_grab_focus (gimp_context_get_display (context));
|
2023-11-13 23:29:20 +01:00
|
|
|
|
|
|
|
g_object_unref (color);
|
1997-11-24 22:05:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
2004-05-27 12:41:22 +00:00
|
|
|
color_area_color_clicked (GimpFgBgEditor *editor,
|
|
|
|
GimpActiveColor active_color,
|
|
|
|
GimpContext *context)
|
1997-11-24 22:05:25 +00:00
|
|
|
{
|
2023-11-14 20:04:14 +01:00
|
|
|
GeglColor *color;
|
|
|
|
GimpRGB rgb;
|
2003-05-16 11:53:50 +00:00
|
|
|
const gchar *title;
|
1999-10-26 18:27:27 +00:00
|
|
|
|
2004-09-13 15:15:23 +00:00
|
|
|
if (! color_dialog_active)
|
1997-11-24 22:05:25 +00:00
|
|
|
{
|
2023-11-14 20:04:14 +01:00
|
|
|
color = gimp_context_get_foreground (context);
|
|
|
|
gegl_color_get_rgba_with_space (color, &revert_fg.r, &revert_fg.g, &revert_fg.b, &revert_fg.a, NULL);
|
|
|
|
color = gimp_context_get_background (context);
|
|
|
|
gegl_color_get_rgba_with_space (color, &revert_bg.r, &revert_bg.g, &revert_bg.b, &revert_bg.a, NULL);
|
1997-11-24 22:05:25 +00:00
|
|
|
}
|
1999-08-23 14:19:26 +00:00
|
|
|
|
2004-05-27 12:41:22 +00:00
|
|
|
if (active_color == GIMP_ACTIVE_COLOR_FOREGROUND)
|
|
|
|
{
|
2023-11-14 20:04:14 +01:00
|
|
|
color = gimp_context_get_foreground (context);
|
|
|
|
gegl_color_get_rgba_with_space (color, &rgb.r, &rgb.g, &rgb.b, &rgb.a, NULL);
|
2004-05-27 12:41:22 +00:00
|
|
|
title = _("Change Foreground Color");
|
|
|
|
}
|
1997-11-24 22:05:25 +00:00
|
|
|
else
|
2004-05-27 12:41:22 +00:00
|
|
|
{
|
2023-11-14 20:04:14 +01:00
|
|
|
color = gimp_context_get_background (context);
|
|
|
|
gegl_color_get_rgba_with_space (color, &rgb.r, &rgb.g, &rgb.b, &rgb.a, NULL);
|
2004-05-27 12:41:22 +00:00
|
|
|
title = _("Change Background Color");
|
|
|
|
}
|
1999-10-26 18:27:27 +00:00
|
|
|
|
1999-08-23 14:19:26 +00:00
|
|
|
edit_color = active_color;
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2004-09-13 15:15:23 +00:00
|
|
|
if (! color_dialog)
|
1997-11-24 22:05:25 +00:00
|
|
|
{
|
2019-03-16 22:08:51 +01:00
|
|
|
color_dialog = gimp_color_dialog_new (NULL, context, TRUE,
|
2006-09-26 08:55:41 +00:00
|
|
|
NULL, NULL, NULL,
|
2004-09-23 20:41:40 +00:00
|
|
|
GTK_WIDGET (editor),
|
2010-02-28 23:20:57 +01:00
|
|
|
gimp_dialog_factory_get_singleton (),
|
2004-09-23 20:41:40 +00:00
|
|
|
"gimp-toolbox-color-dialog",
|
2023-11-14 20:04:14 +01:00
|
|
|
&rgb,
|
2004-09-23 20:41:40 +00:00
|
|
|
TRUE, FALSE);
|
|
|
|
|
2014-09-16 23:54:58 +02:00
|
|
|
g_signal_connect_object (color_dialog, "update",
|
|
|
|
G_CALLBACK (color_area_dialog_update),
|
|
|
|
G_OBJECT (context), 0);
|
|
|
|
|
|
|
|
g_signal_connect_object (context, "foreground-changed",
|
|
|
|
G_CALLBACK (color_area_foreground_changed),
|
|
|
|
G_OBJECT (color_dialog), 0);
|
|
|
|
g_signal_connect_object (context, "background-changed",
|
|
|
|
G_CALLBACK (color_area_background_changed),
|
|
|
|
G_OBJECT (color_dialog), 0);
|
1997-11-24 22:05:25 +00:00
|
|
|
}
|
2018-06-20 15:59:29 +02:00
|
|
|
else if (! gtk_widget_get_visible (color_dialog))
|
|
|
|
{
|
2019-05-27 14:15:09 +02:00
|
|
|
gimp_dialog_factory_position_dialog (gimp_dialog_factory_get_singleton (),
|
|
|
|
"gimp-toolbox-color-dialog",
|
|
|
|
color_dialog,
|
|
|
|
gimp_widget_get_monitor (GTK_WIDGET (editor)));
|
2018-06-20 15:59:29 +02:00
|
|
|
}
|
2002-09-08 09:26:45 +00:00
|
|
|
|
2006-05-10 11:23:11 +00:00
|
|
|
gtk_window_set_title (GTK_WINDOW (color_dialog), title);
|
2023-11-14 20:04:14 +01:00
|
|
|
gimp_color_dialog_set_color (GIMP_COLOR_DIALOG (color_dialog), &rgb);
|
2006-05-10 11:23:11 +00:00
|
|
|
|
|
|
|
gtk_window_present (GTK_WINDOW (color_dialog));
|
|
|
|
color_dialog_active = TRUE;
|
1997-11-24 22:05:25 +00:00
|
|
|
}
|
2018-10-25 14:45:55 +02:00
|
|
|
|
2021-09-26 18:54:39 +02:00
|
|
|
static void
|
|
|
|
color_area_color_changed (GimpContext *context)
|
|
|
|
{
|
|
|
|
if (gimp_context_get_display (context))
|
|
|
|
gimp_display_grab_focus (gimp_context_get_display (context));
|
|
|
|
}
|
|
|
|
|
2018-10-25 14:45:55 +02:00
|
|
|
static void
|
|
|
|
color_area_tooltip (GimpFgBgEditor *editor,
|
|
|
|
GimpFgBgTarget target,
|
|
|
|
GtkTooltip *tooltip,
|
|
|
|
GimpToolbox *toolbox)
|
|
|
|
{
|
|
|
|
GimpUIManager *manager = gimp_dock_get_ui_manager (GIMP_DOCK (toolbox));
|
2019-07-02 03:54:38 +02:00
|
|
|
GimpAction *action = NULL;
|
2018-10-25 14:45:55 +02:00
|
|
|
const gchar *text = NULL;
|
|
|
|
|
|
|
|
switch (target)
|
|
|
|
{
|
|
|
|
case GIMP_FG_BG_TARGET_FOREGROUND:
|
|
|
|
text = _("The active foreground color.\n"
|
|
|
|
"Click to open the color selection dialog.");
|
|
|
|
break;
|
|
|
|
|
|
|
|
case GIMP_FG_BG_TARGET_BACKGROUND:
|
|
|
|
text = _("The active background color.\n"
|
|
|
|
"Click to open the color selection dialog.");
|
|
|
|
break;
|
|
|
|
|
|
|
|
case GIMP_FG_BG_TARGET_SWAP:
|
|
|
|
action = gimp_ui_manager_find_action (manager, "context",
|
|
|
|
"context-colors-swap");
|
2019-07-02 03:54:38 +02:00
|
|
|
text = gimp_action_get_tooltip (action);
|
2018-10-25 14:45:55 +02:00
|
|
|
break;
|
|
|
|
|
|
|
|
case GIMP_FG_BG_TARGET_DEFAULT:
|
|
|
|
action = gimp_ui_manager_find_action (manager, "context",
|
|
|
|
"context-colors-default");
|
2019-07-02 03:54:38 +02:00
|
|
|
text = gimp_action_get_tooltip (action);
|
2018-10-25 14:45:55 +02:00
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (text)
|
|
|
|
{
|
|
|
|
gchar *markup = NULL;
|
|
|
|
|
|
|
|
if (action)
|
|
|
|
{
|
2023-02-05 22:55:37 +01:00
|
|
|
gchar **accels = gimp_action_get_display_accels (action);
|
2018-10-25 14:45:55 +02:00
|
|
|
|
2023-02-05 20:34:37 +01:00
|
|
|
if (accels && accels[0])
|
2018-10-25 14:45:55 +02:00
|
|
|
{
|
2023-02-05 22:55:37 +01:00
|
|
|
gchar *escaped = g_markup_escape_text (text, -1);
|
2023-02-05 20:34:37 +01:00
|
|
|
|
2023-02-05 22:55:37 +01:00
|
|
|
markup = g_strdup_printf ("%s <b>%s</b>", escaped, accels[0]);
|
|
|
|
g_free (escaped);
|
2018-10-25 14:45:55 +02:00
|
|
|
}
|
2023-02-05 20:34:37 +01:00
|
|
|
|
|
|
|
g_strfreev (accels);
|
2018-10-25 14:45:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (markup)
|
|
|
|
{
|
|
|
|
gtk_tooltip_set_markup (tooltip, markup);
|
|
|
|
g_free (markup);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
gtk_tooltip_set_text (tooltip, text);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|