displayBlock('figure_attributes', $context, $blocks);
// line 130
echo ">
\t\t\tgetAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "shadow"), "overlay") == "1") && ($this->getAttribute($_settings_, "use_shadow") == "1"))) {
// line 133
echo "\t\t\t\t\timage-overlay
\t\t\t\t";
}
// line 134
echo "\"
\t\t\t\tstyle=\"
\t\t\t\t";
// line 136
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($this->getAttribute($_settings_, "area"), "grid") == "0") || ($this->getAttribute($this->getAttribute($_settings_, "area"), "grid") == "3"))) {
// line 137
echo "\t\t\t\t\twidth:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, ($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_width") . strtr($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_width_unit"), array(0 => "px", 1 => "%"))), "html", null, true);
echo ";
\t\t\t\t\theight:";
// line 138
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, ($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_height") . strtr($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_height_unit"), array(0 => "px", 1 => "%"))), "html", null, true);
echo ";
\t\t\t\t\toverflow:hidden;
\t\t\t\t";
}
// line 140
echo "\">
\t\t\t\t";
// line 142
list($context["width"], $context["height"], $context["crop"]) = array(0, 0, 0);
// line 143
echo "
\t\t\t\t";
// line 144
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_width_unit") == 0)) {
// line 145
echo "\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
$context["width"] = $this->getAttribute($this->getAttribute($_settings_, "area"), "photo_width");
// line 146
echo "\t\t\t\t";
} else {
// line 147
echo "\t\t\t\t\t";
// line 148
echo "\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($_settings_, "area"), "width_unit") == 0)) {
// line 149
echo "\t\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
$context["width"] = round((($this->getAttribute($this->getAttribute($_settings_, "area"), "width") / 100) * $this->getAttribute($this->getAttribute($_settings_, "area"), "photo_width")));
// line 150
echo "\t\t\t\t\t";
} else {
// line 151
echo "\t\t\t\t\t\t";
$context["width"] = null;
// line 152
echo "\t\t\t\t\t";
}
// line 153
echo "\t\t\t\t";
}
// line 154
echo "
\t\t\t\t";
// line 155
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_height_unit") == 0)) {
// line 156
echo "\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
$context["height"] = $this->getAttribute($this->getAttribute($_settings_, "area"), "photo_height");
// line 157
echo "\t\t\t\t";
} else {
// line 158
echo "\t\t\t\t\t";
// line 159
echo "\t\t\t\t\t";
$context["height"] = null;
// line 160
echo "\t\t\t\t\t";
// line 161
echo "\t\t\t\t\t\t";
// line 162
echo "\t\t\t\t\t";
// line 163
echo "\t\t\t\t\t\t";
// line 164
echo "\t\t\t\t\t";
// line 165
echo "\t\t\t\t";
}
// line 166
echo "
\t\t\t\t";
// line 167
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($this->getAttribute($_settings_, "area"), "grid") == 0) || ($this->getAttribute($this->getAttribute($_settings_, "area"), "grid") == 3))) {
// line 168
echo "\t\t\t\t\t";
$context["crop"] = 1;
// line 169
echo "\t\t\t\t";
}
// line 170
echo "
\t\t\t\t";
// line 171
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($_settings_, "area"), "grid") == 1)) {
// line 172
echo "\t\t\t\t\t";
$context["height"] = null;
// line 173
echo "\t\t\t\t";
}
// line 174
echo "
\t\t\t\t";
// line 175
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($_settings_, "area"), "grid") == 2)) {
// line 176
echo "\t\t\t\t\t";
$context["width"] = null;
// line 177
echo "\t\t\t\t";
}
// line 178
echo "
\t\t\t\t
![]()
displayBlock('image_attributes', $context, $blocks);
// line 197
echo "\t\t\t\t/>
\t\t\t
\t\t\t";
// line 200
ob_start();
// line 201
echo "\t\t\t\t";
$this->displayBlock('figcaption_style', $context, $blocks);
// line 224
echo "\t\t\t";
$context["figcaptionStyle"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
// line 225
echo "
\t\t\tdisplayBlock('figcaption_attributes', $context, $blocks);
// line 233
echo ">
\t\t\t\tgetAttribute($_settings_, "icons", array(), "any", true, true)) || ($this->getAttribute($this->getAttribute($_settings_, "icons"), "enabled") == "false"))) {
// line 239
echo "\t\t\t\t\t\tvertical-align:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "position"), "html", null, true);
echo ";
\t\t\t\t\t";
}
// line 240
echo "\">
\t\t\t\t\t";
// line 242
$this->displayBlock('figcaption_wrap', $context, $blocks);
// line 316
echo "\t\t\t\t
\t\t\t
\t\t\t";
// line 319
$this->displayBlock('figcaption_after', $context, $blocks);
// line 359
echo "\t\t
\t";
// line 361
$this->displayBlock('figure_after', $context, $blocks);
echo trim(preg_replace('/>\s+', '><', ob_get_clean()));
}
// line 62
public function block_figure_before($context, array $blocks = array())
{
// line 63
echo "\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (((!$this->getAttribute($_settings_, "icons", array(), "any", true, true)) || ($this->getAttribute($this->getAttribute($_settings_, "icons"), "enabled") == "false"))) {
// line 64
echo "\t\t\tdisplayBlock('a_attributes', $context, $blocks);
// line 81
echo "\t\t\t>
\t\t";
}
// line 83
echo "\t";
}
// line 65
public function block_a_attributes($context, array $blocks = array())
{
// line 66
echo "\t\t\t\t\tid=\"gg-";
if (isset($context["gallery"])) { $_gallery_ = $context["gallery"]; } else { $_gallery_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($_gallery_, "id"), "html", null, true);
echo "-";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($_photo_, "id"), "html", null, true);
echo "\"
\t\t\t\t\tclass=\"gg-link ";
// line 67
if (isset($context["aClass"])) { $_aClass_ = $context["aClass"]; } else { $_aClass_ = null; }
echo twig_escape_filter($this->env, trim($_aClass_), "html", null, true);
echo " ";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (isset($context["index"])) { $_index_ = $context["index"]; } else { $_index_ = null; }
if ((($this->getAttribute($_settings_, "displayFirstPhoto") == "on") && ($_index_ > 0))) {
echo " hidden-item ";
}
echo "\"
\t\t\t\t\thref=\"";
// line 68
if (isset($context["aHref"])) { $_aHref_ = $context["aHref"]; } else { $_aHref_ = null; }
echo twig_escape_filter($this->env, htmlspecialchars_decode(trim($_aHref_)), "html", null, true);
echo "\"
\t\t\t\t\ttarget=\"";
// line 69
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute($_photo_, "attachment", array(), "any", false, true), "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute($_photo_, "attachment", array(), "any", false, true), "target"), "_self")) : ("_self")), "html", null, true);
echo "\"
\t\t\t\t\ttitle=\"";
// line 70
if (isset($context["aTitle"])) { $_aTitle_ = $context["aTitle"]; } else { $_aTitle_ = null; }
echo twig_escape_filter($this->env, trim($_aTitle_), "html", null, true);
echo "\"
\t\t\t\t\t";
// line 71
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (isset($context["link"])) { $_link_ = $context["link"]; } else { $_link_ = null; }
if ((($this->getAttribute($this->getAttribute($_settings_, "box"), "type") == "1") && ($_link_ == false))) {
// line 72
echo "\t\t\t\t\t\tdata-rel=\"prettyPhoto[pp_gal]\"
\t\t\t\t\t";
} else {
// line 74
echo "\t\t\t\t\t\trel=\"";
if (isset($context["aRel"])) { $_aRel_ = $context["aRel"]; } else { $_aRel_ = null; }
echo twig_escape_filter($this->env, $_aRel_, "html", null, true);
echo "\"
\t\t\t\t\t";
}
// line 76
echo "\t\t\t\t\t";
if (isset($context["link"])) { $_link_ = $context["link"]; } else { $_link_ = null; }
if (($_link_ == true)) {
// line 77
echo "\t\t\t\t\t\tdata-type=\"link\"
\t\t\t\t\t";
}
// line 79
echo "\t\t\t\t\tstyle=\"border-radius: ";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, ($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "border"), "radius") . strtr($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "border"), "radius_unit"), array(0 => "px", 1 => "%"))), "html", null, true);
echo ";\"
\t\t\t\t";
}
// line 110
public function block_figure_attributes($context, array $blocks = array())
{
// line 111
echo "\t\t\t\tclass=\"grid-gallery-caption
\t\t\t\t";
// line 112
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (isset($context["index"])) { $_index_ = $context["index"]; } else { $_index_ = null; }
if ((($this->getAttribute($_settings_, "displayFirstPhoto") == "on") && ($_index_ > 0))) {
echo " hidden-item ";
}
// line 113
echo "\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($_settings_, "mouse_shadow") == "1") && ($this->getAttribute($_settings_, "use_shadow") == "1"))) {
// line 114
echo "\t\t\t\t\tshadow-show
\t\t\t\t";
}
// line 116
echo "\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($_settings_, "mouse_shadow") == "2") && ($this->getAttribute($_settings_, "use_shadow") == "1"))) {
// line 117
echo "\t\t\t\t shadow-hide
\t\t\t\t";
}
// line 118
echo "\"
\t\t\t\tdata-grid-gallery-type=\"";
// line 119
if (isset($context["galleryType"])) { $_galleryType_ = $context["galleryType"]; } else { $_galleryType_ = null; }
echo twig_escape_filter($this->env, trim($_galleryType_), "html", null, true);
echo "\"
\t\t\t\tstyle=\"display:none;";
// line 120
if (isset($context["figureStyle"])) { $_figureStyle_ = $context["figureStyle"]; } else { $_figureStyle_ = null; }
echo twig_escape_filter($this->env, trim($_figureStyle_), "html", null, true);
echo "\"
\t\t\t\t";
// line 121
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($_settings_, "icons"), "enabled") == "true")) {
// line 122
echo "\t\t\t\t\t";
ob_start();
// line 123
echo "\t\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (twig_in_filter("icons", $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "effect"))) {
// line 124
echo "\t\t\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "effect"), "html", null, true);
echo "
\t\t\t\t\t\t";
} else {
// line 126
echo "\t\t\t\t\t\t\ticons
\t\t\t\t\t\t";
}
// line 128
echo "\t\t\t\t\t";
$context["galleryType"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
// line 129
echo "\t\t\t\t";
}
// line 130
echo "\t\t\t";
}
// line 181
public function block_image_attributes($context, array $blocks = array())
{
// line 182
echo "\t\t\t\t\tsrc=\"";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if (isset($context["width"])) { $_width_ = $context["width"]; } else { $_width_ = null; }
if (isset($context["height"])) { $_height_ = $context["height"]; } else { $_height_ = null; }
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('get_attachment')->getCallable(), array($this->getAttribute($this->getAttribute($_photo_, "attachment"), "id"), $_width_, $_height_, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "cropPosition"), (($this->getAttribute($this->getAttribute($_settings_, "thumbnail", array(), "any", false, true), "cropQuality", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute($_settings_, "thumbnail", array(), "any", false, true), "cropQuality"), "100")) : ("100")))), "html", null, true);
echo "\"
\t\t\t\t\talt=\"";
// line 183
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if ((twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "alt")) || ($this->getAttribute($this->getAttribute($_photo_, "attachment"), "alt") == " "))) {
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "title"), "html", null, true);
} else {
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "alt"), "html", null, true);
}
echo "\"
\t\t\t\t\ttitle=\"";
// line 184
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if ((!twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "description")))) {
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "description"), "html", null, true);
} else {
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "title"), "html", null, true);
}
echo "\"
\t\t\t\t\tdata-description=\"";
// line 185
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if ((!twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "description")))) {
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "description"), "html", null, true);
} else {
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "title"), "html", null, true);
}
echo "\"
\t\t\t\t\tdata-caption=\"";
// line 186
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if ((!twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "caption")))) {
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "caption"));
} else {
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "title"));
}
echo "\"
\t\t\t\t\tdata-title=\"";
// line 187
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "title"), "html", null, true);
echo "\"
\t\t\t\t\tstyle=\"
\t\t\t\t\t";
// line 189
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_width_unit") == 0) && (!twig_test_empty($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_width"))))) {
// line 190
echo "\t\t\t\t\twidth:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_settings_, "area"), "photo_width"), "html", null, true);
echo "px;
\t\t\t\t\t";
}
// line 192
echo "\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_height_unit") == 0) && (!twig_test_empty($this->getAttribute($this->getAttribute($_settings_, "area"), "photo_height"))))) {
// line 193
echo "\t\t\t\t\theight:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_settings_, "area"), "photo_height"), "html", null, true);
echo "px;
\t\t\t\t\t";
}
// line 195
echo "\t\t\t\t\t\"
\t\t\t\t\t";
}
// line 201
public function block_figcaption_style($context, array $blocks = array())
{
// line 202
echo "\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($_settings_, "icons", array(), "any", true, true) && ($this->getAttribute($this->getAttribute($_settings_, "icons"), "enabled") == "true"))) {
// line 203
echo "\t\t\t\t\t\tfont-family:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "font_family"), "html", null, true);
echo ";
\t\t\t\t\t\t";
// line 204
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($_settings_, "icons"), "overlay_enabled") == "true")) {
// line 205
echo "\t\t\t\t\t\t\tbackground-color:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "overlay_color", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "overlay_color"), "#3498db")) : ("#3498db")), "html", null, true);
echo ";
\t\t\t\t\t\t\theight : 100%;
\t\t\t\t\t\t\t";
// line 208
echo "\t\t\t\t\t\t";
} else {
// line 209
echo "\t\t\t\t\t\t\theight : 100%;
\t\t\t\t\t\t\tbackground-color: transparent;
\t\t\t\t\t\t";
}
// line 212
echo "\t\t\t\t\t";
} else {
// line 213
echo "\t\t\t\t\t\tcolor:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "foreground"), "html", null, true);
echo ";
\t\t\t\t\t\tbackground-color:";
// line 214
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "background"), "html", null, true);
echo ";
\t\t\t\t\t\tfont-size:";
// line 215
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size"), "html", null, true);
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, strtr($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size_unit"), array(0 => "px", 1 => "%", 2 => "em")), "html", null, true);
echo ";
\t\t\t\t\t\ttext-align:";
// line 216
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_align"), "html", null, true);
echo ";
\t\t\t\t\t\tfont-family:";
// line 217
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "font_family"), "html", null, true);
echo ";
\t\t\t\t\t\t";
// line 218
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "effect") == "none") || ($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "enabled") == "false"))) {
// line 219
echo "\t\t\t\t\t\t\topacity:1;
\t\t\t\t\t\t\tbottom:0;
\t\t\t\t\t\t";
}
// line 222
echo "\t\t\t\t\t";
}
// line 223
echo "\t\t\t\t";
}
// line 227
public function block_figcaption_attributes($context, array $blocks = array())
{
// line 228
echo "\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($_settings_, "icons", array(), "any", true, true) && ($this->getAttribute($this->getAttribute($_settings_, "icons"), "enabled") == "true"))) {
// line 229
echo "\t\t\t\t\t\tdata-alpha=\"";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, trim((($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "overlay_transparency", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "overlay_transparency"), 5)) : (5))), "html", null, true);
echo "\"
\t\t\t\t\t";
}
// line 231
echo "\t\t\t\t\tdata-alpha=\"";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, trim($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "transparency")), "html", null, true);
echo "\"
\t\t\t\t\tstyle=\"";
// line 232
if (isset($context["figcaptionStyle"])) { $_figcaptionStyle_ = $context["figcaptionStyle"]; } else { $_figcaptionStyle_ = null; }
echo twig_escape_filter($this->env, trim($_figcaptionStyle_), "html", null, true);
echo "\"
\t\t\t\t";
}
// line 242
public function block_figcaption_wrap($context, array $blocks = array())
{
// line 243
echo "\t\t\t\t\t\t";
// line 244
echo "\t\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($_settings_, "icons", array(), "any", true, true) && ($this->getAttribute($this->getAttribute($_settings_, "icons"), "enabled") == "true"))) {
// line 245
echo "\t\t\t\t\t\t\tenv, twig_slice($this->env, $this->getAttribute($this->getAttribute($_settings_, "icons"), "effect"), 0, ($_length_ - 1)), "html", null, true);
echo " ";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_settings_, "icons"), "effect"), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\tdata-margin=\"";
// line 247
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "margin", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "margin"), 5)) : (5)), "html", null, true);
echo "\"
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t";
// line 249
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if (($this->getAttribute($this->getAttribute($_photo_, "attachment", array(), "any", false, true), "video", array(), "any", true, true) && (!twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "video"))))) {
// line 250
echo "
\t\t\t\t\t\t\t\t\t";
// line 251
ob_start();
// line 252
echo "\t\t\t\t\t\t\t\t\t\t";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if (twig_in_filter("youtu", $this->getAttribute($this->getAttribute($_photo_, "attachment"), "video"))) {
// line 253
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if (isset($context["youtube"])) { $_youtube_ = $context["youtube"]; } else { $_youtube_ = null; }
echo twig_escape_filter($this->env, strtr($this->getAttribute($this->getAttribute($_photo_, "attachment"), "video"), $_youtube_), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 254
$context["videoSource"] = "youtube";
// line 255
echo "\t\t\t\t\t\t\t\t\t\t";
} elseif (twig_in_filter("vimeo.com", $this->getAttribute($this->getAttribute($_photo_, "attachment"), "video"))) {
// line 256
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if (isset($context["vimeoPattern"])) { $_vimeoPattern_ = $context["vimeoPattern"]; } else { $_vimeoPattern_ = null; }
if (isset($context["vimeoReplace"])) { $_vimeoReplace_ = $context["vimeoReplace"]; } else { $_vimeoReplace_ = null; }
echo twig_escape_filter($this->env, (call_user_func_array($this->env->getFilter('preg_replace')->getCallable(), array($this->getAttribute($this->getAttribute($_photo_, "attachment"), "video"), $_vimeoPattern_, $_vimeoReplace_)) . "?api=1"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 257
$context["videoSource"] = "vimeo";
// line 258
echo "\t\t\t\t\t\t\t\t\t\t";
} else {
// line 259
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, trim($this->getAttribute($this->getAttribute($_photo_, "attachment"), "video")), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t";
}
// line 261
echo "\t\t\t\t\t\t\t\t\t";
$context["videoUrl"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
// line 262
echo "
\t\t\t\t\t\t\t\t\t";
// line 263
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
$context["videoIcon"] = ((twig_in_filter("youtu", $this->getAttribute($this->getAttribute($_photo_, "attachment"), "video"))) ? ("icon-youtube") : ("icon-vimeo"));
// line 264
echo "
\t\t\t\t\t\t\t\t\t";
// line 265
ob_start();
// line 266
echo "\t\t\t\t\t\t\t\t\t\tmargin-left:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "margin", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "margin"), 5)) : (5)), "html", null, true);
echo ";
\t\t\t\t\t\t\t\t\t\tmargin-right:";
// line 267
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "margin", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute($_settings_, "icons", array(), "any", false, true), "margin"), 5)) : (5)), "html", null, true);
echo ";
\t\t\t\t\t\t\t\t\t";
$context["iconStyle"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
// line 269
echo "
\t\t\t\t\t\t\t\t\t
env, trim($_videoUrl_), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\tdata-id=\"gg-";
// line 271
if (isset($context["gallery"])) { $_gallery_ = $context["gallery"]; } else { $_gallery_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($_gallery_, "id"), "html", null, true);
echo "-";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($_photo_, "id"), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\ttitle=\"";
// line 272
if (isset($context["aTitle"])) { $_aTitle_ = $context["aTitle"]; } else { $_aTitle_ = null; }
echo twig_escape_filter($this->env, trim($_aTitle_), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\tclass=\"hi-icon gg-video ";
// line 273
if (isset($context["videoIcon"])) { $_videoIcon_ = $context["videoIcon"]; } else { $_videoIcon_ = null; }
echo twig_escape_filter($this->env, $_videoIcon_, "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 274
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($_settings_, "box"), "type") == "2")) {
echo " pbox";
}
// line 275
echo "\t\t\t\t\t\t\t\t\t\t\"
\t\t\t\t\t\t\t\t\t\tstyle=\"";
// line 276
if (isset($context["iconStyle"])) { $_iconStyle_ = $context["iconStyle"]; } else { $_iconStyle_ = null; }
echo twig_escape_filter($this->env, trim($_iconStyle_), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\tdata-video-source=\"";
// line 277
if (isset($context["videoSource"])) { $_videoSource_ = $context["videoSource"]; } else { $_videoSource_ = null; }
echo twig_escape_filter($this->env, $_videoSource_, "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t";
// line 279
echo "\t\t\t\t\t\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($_settings_, "box"), "type") == "1")) {
// line 280
echo "\t\t\t\t\t\t\t\t\t\tdata-rel=\"prettyPhoto[pp_gal]\"
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 282
echo "\t\t\t\t\t\t\t\t\t\t";
// line 283
echo "\t\t\t\t\t\t\t\t\t\trel=\"video\"
\t\t\t\t\t\t\t\t\t\t";
// line 285
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 286
echo "\t\t\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t\t\t";
// line 288
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t";
}
// line 290
echo "
\t\t\t\t\t\t\t\t";
// line 291
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if (($this->getAttribute($this->getAttribute($_photo_, "attachment", array(), "any", false, true), "external_link", array(), "any", true, true) && (!twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "external_link"))))) {
// line 292
echo "\t\t\t\t\t\t\t\t\t
env, trim($_aTitle_), "html", null, true);
echo "\" data-id=\"gg-";
if (isset($context["gallery"])) { $_gallery_ = $context["gallery"]; } else { $_gallery_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($_gallery_, "id"), "html", null, true);
echo "-";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($_photo_, "id"), "html", null, true);
echo "\" href=\"";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($_settings_, "openByLink") == "on")) {
echo " ";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "url"), "html", null, true);
echo " ";
} else {
echo " ";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "external_link"), "html", null, true);
echo " ";
}
echo " \" target=\"";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute($_photo_, "attachment", array(), "any", false, true), "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute($_photo_, "attachment", array(), "any", false, true), "target"), "_self")) : ("_self")), "html", null, true);
echo "\" class=\"hi-icon icon-link ";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($this->getAttribute($_settings_, "box"), "type") == "2") && ($this->getAttribute($_settings_, "openByLink") == "on"))) {
echo "pbox";
}
echo "\" style=\"";
if (isset($context["iconStyle"])) { $_iconStyle_ = $context["iconStyle"]; } else { $_iconStyle_ = null; }
echo twig_escape_filter($this->env, trim($_iconStyle_), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t";
}
// line 294
echo "
\t\t\t\t\t\t\t\t";
// line 295
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if (((!array_key_exists("videoUrl", $context)) && ((!$this->getAttribute($this->getAttribute($_photo_, "attachment", array(), "any", false, true), "external_link", array(), "any", true, true)) || twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "external_link"))))) {
// line 296
echo "\t\t\t\t\t\t\t\t\t
env, trim($_aTitle_), "html", null, true);
echo "\" data-id=\"gg-";
if (isset($context["gallery"])) { $_gallery_ = $context["gallery"]; } else { $_gallery_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($_gallery_, "id"), "html", null, true);
echo "-";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($_photo_, "id"), "html", null, true);
echo "\" href=\"";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "url"), "html", null, true);
echo "\" class=\"hi-icon icon-fullscreen gg-colorbox";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($this->getAttribute($_settings_, "box"), "type") == "2") && (!array_key_exists("link", $context)))) {
echo " pbox";
}
echo "\" style=\"";
if (isset($context["iconStyle"])) { $_iconStyle_ = $context["iconStyle"]; } else { $_iconStyle_ = null; }
echo twig_escape_filter($this->env, trim($_iconStyle_), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t";
// line 297
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (isset($context["link"])) { $_link_ = $context["link"]; } else { $_link_ = null; }
if ((($this->getAttribute($this->getAttribute($_settings_, "box"), "type") == "1") && ($_link_ == false))) {
// line 298
echo "\t\t\t\t\t\t\t\t\t\tdata-rel=\"prettyPhoto[pp_gal]\"
\t\t\t\t\t\t\t\t\t";
}
// line 299
echo ">Open in pop-up window
\t\t\t\t\t\t\t\t";
}
// line 301
echo "\t\t\t\t\t\t\t
\t\t\t\t\t\t";
}
// line 303
echo "
\t\t\t\t\t\t";
// line 304
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (((!$this->getAttribute($_settings_, "icons", array(), "any", true, true)) || ($this->getAttribute($this->getAttribute($_settings_, "icons"), "enabled") == "false"))) {
// line 305
echo "\t\t\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "enabled") == "true")) {
// line 306
echo "\t\t\t\t\t\t\t\t";
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if ((!twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "caption")))) {
// line 307
echo "\t\t\t\t\t\t\t\t\tenv, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size"), "html", null, true);
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, strtr($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size_unit"), array(0 => "px", 1 => "%", 2 => "em")), "html", null, true);
echo ";\">
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t";
}
// line 313
echo "\t\t\t\t\t\t\t";
}
// line 314
echo "\t\t\t\t\t\t";
}
// line 315
echo "\t\t\t\t\t";
}
// line 319
public function block_figcaption_after($context, array $blocks = array())
{
// line 320
echo "\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($_settings_, "icons", array(), "any", true, true) && ($this->getAttribute($this->getAttribute($_settings_, "icons"), "enabled") == "true")) && ($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "enabled") == "true"))) {
// line 321
echo "
\t\t\t\t\t";
// line 322
ob_start();
// line 323
echo "\t\t\t\t\t\tcolor:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "foreground"), "html", null, true);
echo ";
\t\t\t\t\t\tbackground-color:";
// line 324
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "background"), "html", null, true);
echo ";
\t\t\t\t\t\tfont-size:";
// line 325
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size"), "html", null, true);
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, strtr($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size_unit"), array(0 => "px", 1 => "%", 2 => "em")), "html", null, true);
echo ";
\t\t\t\t\t\tfont-family:";
// line 326
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "font_family"), "html", null, true);
echo ";
\t\t\t\t\t\t";
// line 327
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_align") != 3)) {
// line 328
echo "\t\t\t\t\t\t\ttext-align:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, strtr($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_align"), array(0 => "left", 1 => "right", 2 => "center")), "html", null, true);
echo ";
\t\t\t\t\t\t";
}
// line 330
echo "\t\t\t\t\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if ((($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "effect") == "none") || ($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "enabled") == "false"))) {
// line 331
echo "\t\t\t\t\t\t\topacity:1;
\t\t\t\t\t\t\tbottom:0;
\t\t\t\t\t\t";
}
// line 334
echo "\t\t\t\t\t\tvertical-align:";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "position"), "html", null, true);
echo ";
\t\t\t\t\t";
$context["captionStyle"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
// line 336
echo "
\t\t\t\t\t";
// line 337
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (((!twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "caption"))) || ($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "tooltip") == "false"))) {
// line 338
echo "\t\t\t\t\tgetAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "effect"))) {
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "effect"), "html", null, true);
} else {
echo "icons";
}
echo "\"
\t\t\t\t\t\tstyle=\"";
// line 340
if (isset($context["captionStyle"])) { $_captionStyle_ = $context["captionStyle"]; } else { $_captionStyle_ = null; }
echo twig_escape_filter($this->env, $_captionStyle_, "html", null, true);
echo "\"
\t\t\t\t\t\tdata-alpha=\"";
// line 341
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, trim($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "transparency")), "html", null, true);
echo "\">
\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 343
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
if ((!twig_test_empty($this->getAttribute($this->getAttribute($_photo_, "attachment"), "caption")))) {
// line 344
echo "\t\t\t\t\t\t\t\tenv, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size"), "html", null, true);
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, strtr($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size_unit"), array(0 => "px", 1 => "%", 2 => "em")), "html", null, true);
echo "; font-weight: 800;
\t\t\t\t\t\t\t\tvertical-align:";
// line 345
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "position"), "html", null, true);
echo ";\">
\t\t\t\t\t\t\t\t\t";
// line 346
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo $this->getAttribute($this->getAttribute($_photo_, "attachment"), "caption");
echo "
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
} else {
// line 349
echo "\t\t\t\t\t\t\t\tenv, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size"), "html", null, true);
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, strtr($this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "text_size_unit"), array(0 => "px", 1 => "%", 2 => "em")), "html", null, true);
echo ";
\t\t\t\t\t\t\t\tvertical-align:";
// line 350
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($_settings_, "thumbnail"), "overlay"), "position"), "html", null, true);
echo ";\">
\t\t\t\t\t\t\t\t\t";
// line 351
if (isset($context["photo"])) { $_photo_ = $context["photo"]; } else { $_photo_ = null; }
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_photo_, "attachment"), "title"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
}
// line 354
echo "\t\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t";
}
// line 357
echo "\t\t\t\t";
}
// line 358
echo "\t\t\t";
}
// line 361
public function block_figure_after($context, array $blocks = array())
{
// line 362
echo "\t\t";
if (isset($context["settings"])) { $_settings_ = $context["settings"]; } else { $_settings_ = null; }
if (((!$this->getAttribute($_settings_, "icons", array(), "any", true, true)) || ($this->getAttribute($this->getAttribute($_settings_, "icons"), "enabled") == "false"))) {
// line 363
echo "\t\t\t
\t\t";
}
// line 365
echo "\t";
}
public function getTemplateName()
{
return "@galleries/shortcode/helpers.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1322 => 365, 1318 => 363, 1314 => 362, 1311 => 361, 1307 => 358, 1304 => 357, 1299 => 354, 1292 => 351, 1287 => 350, 1279 => 349, 1272 => 346, 1267 => 345, 1259 => 344, 1256 => 343, 1250 => 341, 1245 => 340, 1235 => 339, 1232 => 338, 1228 => 337, 1225 => 336, 1218 => 334, 1213 => 331, 1209 => 330, 1202 => 328, 1199 => 327, 1194 => 326, 1187 => 325, 1182 => 324, 1176 => 323, 1174 => 322, 1171 => 321, 1167 => 320, 1164 => 319, 1160 => 315, 1157 => 314, 1154 => 313, 1146 => 309, 1137 => 307, 1133 => 306, 1129 => 305, 1126 => 304, 1123 => 303, 1119 => 301, 1115 => 299, 1111 => 298, 1107 => 297, 1084 => 296, 1081 => 295, 1078 => 294, 1041 => 292, 1038 => 291, 1035 => 290, 1031 => 288, 1028 => 286, 1025 => 285, 1022 => 283, 1020 => 282, 1016 => 280, 1012 => 279, 1007 => 277, 1002 => 276, 999 => 275, 994 => 274, 989 => 273, 984 => 272, 976 => 271, 971 => 270, 968 => 269, 962 => 267, 956 => 266, 954 => 265, 951 => 264, 948 => 263, 945 => 262, 942 => 261, 935 => 259, 932 => 258, 930 => 257, 922 => 256, 919 => 255, 917 => 254, 910 => 253, 906 => 252, 904 => 251, 901 => 250, 898 => 249, 892 => 247, 883 => 246, 880 => 245, 876 => 244, 874 => 243, 871 => 242, 864 => 232, 858 => 231, 851 => 229, 847 => 228, 844 => 227, 840 => 223, 837 => 222, 832 => 219, 829 => 218, 824 => 217, 819 => 216, 812 => 215, 807 => 214, 801 => 213, 798 => 212, 793 => 209, 790 => 208, 783 => 205, 774 => 203, 770 => 202, 767 => 201, 762 => 195, 755 => 193, 751 => 192, 744 => 190, 741 => 189, 724 => 186, 713 => 185, 702 => 184, 691 => 183, 682 => 182, 672 => 129, 669 => 128, 665 => 126, 658 => 124, 654 => 123, 648 => 121, 638 => 119, 635 => 118, 631 => 117, 619 => 113, 595 => 77, 591 => 76, 584 => 74, 580 => 72, 566 => 69, 561 => 68, 550 => 67, 541 => 66, 534 => 83, 530 => 81, 528 => 65, 525 => 64, 518 => 62, 513 => 361, 509 => 359, 507 => 319, 500 => 242, 496 => 240, 489 => 239, 486 => 238, 479 => 233, 477 => 227, 473 => 225, 467 => 201, 458 => 181, 453 => 178, 447 => 176, 444 => 175, 441 => 174, 438 => 173, 435 => 172, 432 => 171, 429 => 170, 426 => 169, 423 => 168, 420 => 167, 417 => 166, 414 => 165, 410 => 163, 408 => 162, 406 => 161, 404 => 160, 401 => 159, 399 => 158, 396 => 157, 392 => 156, 389 => 155, 386 => 154, 383 => 153, 377 => 151, 374 => 150, 370 => 149, 366 => 148, 364 => 147, 357 => 145, 354 => 144, 351 => 143, 349 => 142, 345 => 140, 332 => 137, 329 => 136, 325 => 134, 321 => 133, 318 => 132, 314 => 130, 312 => 110, 308 => 108, 305 => 107, 302 => 106, 299 => 105, 292 => 103, 284 => 101, 280 => 100, 277 => 99, 263 => 95, 258 => 94, 254 => 93, 251 => 92, 243 => 88, 239 => 87, 235 => 86, 233 => 85, 230 => 84, 227 => 62, 225 => 61, 222 => 60, 217 => 57, 212 => 56, 205 => 54, 198 => 52, 195 => 51, 187 => 48, 184 => 47, 182 => 46, 176 => 45, 170 => 43, 167 => 42, 158 => 38, 155 => 37, 151 => 35, 144 => 33, 140 => 31, 135 => 30, 133 => 29, 122 => 25, 111 => 22, 109 => 21, 106 => 20, 98 => 17, 94 => 15, 90 => 14, 83 => 12, 79 => 11, 75 => 9, 72 => 8, 56 => 7, 53 => 6, 47 => 5, 34 => 3, 28 => 1, 800 => 114, 797 => 113, 792 => 111, 789 => 110, 784 => 109, 780 => 204, 776 => 107, 763 => 106, 759 => 237, 756 => 236, 752 => 228, 746 => 227, 742 => 226, 735 => 187, 729 => 224, 726 => 223, 723 => 222, 714 => 218, 711 => 217, 707 => 206, 704 => 205, 692 => 181, 687 => 178, 683 => 177, 679 => 181, 675 => 130, 671 => 172, 668 => 171, 661 => 170, 656 => 169, 651 => 122, 647 => 166, 643 => 120, 640 => 163, 637 => 162, 633 => 160, 630 => 159, 627 => 116, 623 => 114, 620 => 155, 617 => 154, 613 => 112, 610 => 111, 607 => 110, 603 => 148, 599 => 79, 596 => 145, 588 => 142, 585 => 117, 582 => 116, 579 => 105, 576 => 71, 571 => 70, 568 => 101, 563 => 100, 559 => 99, 555 => 98, 552 => 97, 549 => 96, 542 => 94, 538 => 65, 531 => 91, 527 => 90, 521 => 63, 516 => 87, 510 => 86, 506 => 85, 502 => 316, 497 => 83, 490 => 82, 485 => 81, 480 => 80, 475 => 79, 470 => 224, 465 => 200, 460 => 197, 455 => 75, 450 => 177, 445 => 73, 440 => 72, 433 => 70, 431 => 69, 428 => 68, 422 => 66, 419 => 65, 412 => 164, 409 => 62, 403 => 60, 400 => 59, 393 => 57, 387 => 55, 384 => 54, 380 => 152, 376 => 51, 369 => 49, 365 => 48, 361 => 146, 356 => 45, 352 => 43, 347 => 42, 341 => 40, 338 => 138, 333 => 38, 326 => 36, 322 => 34, 319 => 33, 309 => 32, 300 => 31, 295 => 30, 285 => 29, 274 => 27, 270 => 97, 267 => 24, 262 => 23, 257 => 22, 252 => 21, 247 => 90, 242 => 19, 237 => 18, 231 => 17, 228 => 16, 224 => 13, 211 => 10, 200 => 53, 186 => 8, 172 => 44, 169 => 6, 165 => 5, 162 => 39, 147 => 34, 143 => 238, 141 => 236, 132 => 229, 130 => 28, 126 => 220, 124 => 217, 119 => 214, 115 => 23, 110 => 210, 107 => 209, 104 => 208, 101 => 207, 99 => 205, 96 => 204, 93 => 203, 88 => 200, 81 => 198, 76 => 197, 68 => 196, 65 => 195, 54 => 186, 49 => 185, 46 => 184, 42 => 182, 40 => 16, 36 => 14, 33 => 4, 30 => 2, 27 => 2, 25 => 1,);
}
}