<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig */
class __TwigTemplate_c1bff81fbdfabeca57fb354ae38d19e1a446e3935e1425e1d2505853b7d25465 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'banner' => [$this, 'block_banner'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@SyliusShop/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig"));
// line 3
$macros["messages"] = $this->macros["messages"] = $this->loadTemplate("@SyliusUi/Macro/messages.html.twig", "@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig", 3)->unwrap();
// line 1
$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_banner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "banner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "banner"));
// line 6
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("odiseo_sylius_banner_plugin_shop_partial_banner", ["template" => "@SyliusShop/Banner/_banner-faq.html.twig"]));
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 9
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 10
echo " <div class=\"container\">
<div id=\"bitbag-faqs\" class=\"faq\">
";
// line 12
if ((twig_length_filter($this->env, (isset($context["sections"]) || array_key_exists("sections", $context) ? $context["sections"] : (function () { throw new RuntimeError('Variable "sections" does not exist.', 12, $this->source); })())) > 0)) {
// line 13
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["sections"]) || array_key_exists("sections", $context) ? $context["sections"] : (function () { throw new RuntimeError('Variable "sections" does not exist.', 13, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["section"]) {
// line 14
echo " <h2 class=\"faq__category\" data-aos=\"fade-up\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["section"], "name", [], "any", false, false, false, 14), "html", null, true);
echo "</h2>
";
// line 17
echo " ";
// line 18
echo " ";
// line 19
echo "
";
// line 20
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["section"], "frequentlyAskedQuestions", [], "any", false, false, false, 20)) > 0)) {
// line 21
echo " <div class=\"faq__items\">
";
// line 22
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["section"], "frequentlyAskedQuestions", [], "any", false, false, false, 22));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["frequentlyAskedQuestion"]) {
// line 23
echo " <div class=\"faq__item\" data-aos=\"fade-up\">
";
// line 24
$this->loadTemplate("@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/Index/_show.html.twig", "@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig", 24)->display($context);
// line 25
echo " </div>
";
// line 26
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 26) == twig_round((twig_get_attribute($this->env, $this->source, $context["loop"], "length", [], "any", false, false, false, 26) / 2)))) {
// line 27
echo " <div class=\"break\" style=\"break-after: column;\"></div>
";
}
// line 29
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['frequentlyAskedQuestion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 30
echo " </div>
";
} else {
// line 32
echo " ";
echo twig_call_macro($macros["messages"], "macro_info", ["sylius.ui.no_results_to_display"], 32, $context, $this->getSourceContext());
echo "
";
}
// line 34
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 35
echo " ";
} else {
// line 36
echo " ";
echo twig_call_macro($macros["messages"], "macro_info", ["sylius.ui.no_results_to_display"], 36, $context, $this->getSourceContext());
echo "
";
}
// line 38
echo " </div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<!-- @TODO Hardcoded content -->
<p>";
// line 42
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.faq.cant_find_answer");
echo "</p>
<a class=\"button button--secondary button--medium\" href=\"";
// line 43
echo twig_escape_filter($this->env, $this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderLinkRuntime')->getLinkForCode("contact"), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.faq.contact_us"), "html_attr");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.faq.information_inquiry"), "html", null, true);
echo "</a>
</div>
</div>
</div>
<!-- ============================= RESULTATS RECHERCHE ============================= -->
<!-- Page Resultats recherche -->
<div class=\"search-results\" style=\"display: none;\">
<div class=\"container\">
<!-- @TODO - Insérer fil d'ariane ici -->
<h1 class=\"page__title\">
<span class=\"page__tagline\">Votre recherche</span>
résultats de recherche
</h1>
<h3 class=\"header-underline\">Résultats de recherche : «terme» <span class=\"c-dark\">(19)</span></h3>
<div class=\"search-results__items\">
<a href=\"#0\" class=\"search-results__item\" data-aos=\"fade-up\">
<img class=\"search-results__image\" src=\"http://placehold.it/400x300?text=1\" alt=\"\">
<div class=\"search-results__content\">
<span class=\"search-results__category\">Actualités</span>
<h2 class=\"search-results__title\">Titre du résultat</h2>
<div class=\"search-results__description\">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Saepe corrupti rerum exercitationem ullam debitis numquam amet, facere fugiat repudiandae ipsum error ab quibusdam hic tempore accusantium quaerat tempora laboriosam officiis.</div>
</div>
</a>
<a href=\"#0\" class=\"search-results__item\" data-aos=\"fade-up\">
<img class=\"search-results__image\" src=\"http://placehold.it/400x300?text=2\" alt=\"\">
<div class=\"search-results__content\">
<span class=\"search-results__category\">Produits</span>
<h2 class=\"search-results__title\">Titre du résultat</h2>
<div class=\"search-results__description\">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Saepe corrupti</div>
</div>
</a>
<a href=\"#0\" class=\"search-results__item\" data-aos=\"fade-up\">
<img class=\"search-results__image\" src=\"http://placehold.it/400x300?text=3\" alt=\"\">
<div class=\"search-results__content\">
<span class=\"search-results__category\">Produits</span>
<h2 class=\"search-results__title\">Titre du résultat</h2>
<div class=\"search-results__description\">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Saepe corrupti rerum exercitationem ullam debitis numquam amet, facere fugiat repudiandae ipsum error ab quibusdam hic tempore accusantium quaeratrum exercitationem ullam debitis numquam amet, facere fugiat repudiandae ipsum error ab quibusdam hic tempore accusantium quaeratrum exercitationem ullam debitis numquam amet, facere fugiat repudiandae ipsum error ab quibusdam hic tempore accusantium quaerat tempora laboriosam officiis.</div>
</div>
</a>
</div>
</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>\t« Découvrez la boutique en ligne de la Maison Mons<br> Fromagers & Affineurs depuis 1 »</p>
<a href=\"#0\" class=\"button button--secondary\">Acheter maintenant</a>
</div>
</div>
</div>
";
// line 94
if ((twig_length_filter($this->env, (isset($context["resources"]) || array_key_exists("resources", $context) ? $context["resources"] : (function () { throw new RuntimeError('Variable "resources" does not exist.', 94, $this->source); })())) > 0)) {
// line 95
echo " <script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"FAQPage\",
\"mainEntity\": [
";
// line 100
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["resources"]) || array_key_exists("resources", $context) ? $context["resources"] : (function () { throw new RuntimeError('Variable "resources" does not exist.', 100, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["frequentlyAskedQuestion"]) {
// line 101
echo " {
\"@type\": \"Question\",
\"name\": \"";
// line 103
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["frequentlyAskedQuestion"], "question", [], "any", false, false, false, 103), "html", null, true);
echo "\",
\"acceptedAnswer\": {
\"@type\": \"Answer\",
\"text\": \"";
// line 106
echo twig_escape_filter($this->env, twig_striptags(twig_get_attribute($this->env, $this->source, $context["frequentlyAskedQuestion"], "answer", [], "any", false, false, false, 106)));
echo "\"
}
}";
// line 108
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 108)) {
echo ",";
}
// line 109
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['frequentlyAskedQuestion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 110
echo " ]
}
</script>
";
}
// line 114
echo " <script type=\"text/javascript\">
const faqItemsTitles = document.querySelectorAll('.faq__title')
faqItemsTitles.forEach((item) => {
item.addEventListener(\"click\", (e) => {
e.target.parentElement.classList.toggle('is-active');
});
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 348 => 114, 342 => 110, 328 => 109, 324 => 108, 319 => 106, 313 => 103, 309 => 101, 292 => 100, 285 => 95, 283 => 94, 225 => 43, 221 => 42, 215 => 38, 209 => 36, 206 => 35, 192 => 34, 186 => 32, 182 => 30, 168 => 29, 164 => 27, 162 => 26, 159 => 25, 157 => 24, 154 => 23, 137 => 22, 134 => 21, 132 => 20, 129 => 19, 127 => 18, 125 => 17, 119 => 14, 101 => 13, 99 => 12, 95 => 10, 85 => 9, 72 => 6, 62 => 5, 51 => 1, 49 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@SyliusShop/layout.html.twig' %}
{% import '@SyliusUi/Macro/messages.html.twig' as messages %}
{% block banner %}
{{ render(url('odiseo_sylius_banner_plugin_shop_partial_banner', {'template': '@SyliusShop/Banner/_banner-faq.html.twig'})) }}
{% endblock %}
{% block content %}
<div class=\"container\">
<div id=\"bitbag-faqs\" class=\"faq\">
{% if sections|length > 0 %}
{% for section in sections %}
<h2 class=\"faq__category\" data-aos=\"fade-up\">{{ section.name }}</h2>
{# if section.description is not null #}
{#<div class=\"faq__description\"></div>#}
{# endif #}
{% if section.frequentlyAskedQuestions|length > 0 %}
<div class=\"faq__items\">
{% for frequentlyAskedQuestion in section.frequentlyAskedQuestions %}
<div class=\"faq__item\" data-aos=\"fade-up\">
{% include '@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/Index/_show.html.twig' %}
</div>
{% if loop.index == (loop.length/2)|round %}
<div class=\"break\" style=\"break-after: column;\"></div>
{% endif %}
{% endfor %}
</div>
{% else %}
{{ messages.info('sylius.ui.no_results_to_display') }}
{% endif %}
{% endfor %}
{% else %}
{{ messages.info('sylius.ui.no_results_to_display') }}
{% endif %}
</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<!-- @TODO Hardcoded content -->
<p>{{ 'sylius.faq.cant_find_answer'|trans|raw }}</p>
<a class=\"button button--secondary button--medium\" href=\"{{ bitbag_cms_get_link_for_code('contact') }}\" title=\"{{ 'sylius.faq.contact_us'|trans|e('html_attr') }}\">{{ 'sylius.faq.information_inquiry'|trans }}</a>
</div>
</div>
</div>
<!-- ============================= RESULTATS RECHERCHE ============================= -->
<!-- Page Resultats recherche -->
<div class=\"search-results\" style=\"display: none;\">
<div class=\"container\">
<!-- @TODO - Insérer fil d'ariane ici -->
<h1 class=\"page__title\">
<span class=\"page__tagline\">Votre recherche</span>
résultats de recherche
</h1>
<h3 class=\"header-underline\">Résultats de recherche : «terme» <span class=\"c-dark\">(19)</span></h3>
<div class=\"search-results__items\">
<a href=\"#0\" class=\"search-results__item\" data-aos=\"fade-up\">
<img class=\"search-results__image\" src=\"http://placehold.it/400x300?text=1\" alt=\"\">
<div class=\"search-results__content\">
<span class=\"search-results__category\">Actualités</span>
<h2 class=\"search-results__title\">Titre du résultat</h2>
<div class=\"search-results__description\">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Saepe corrupti rerum exercitationem ullam debitis numquam amet, facere fugiat repudiandae ipsum error ab quibusdam hic tempore accusantium quaerat tempora laboriosam officiis.</div>
</div>
</a>
<a href=\"#0\" class=\"search-results__item\" data-aos=\"fade-up\">
<img class=\"search-results__image\" src=\"http://placehold.it/400x300?text=2\" alt=\"\">
<div class=\"search-results__content\">
<span class=\"search-results__category\">Produits</span>
<h2 class=\"search-results__title\">Titre du résultat</h2>
<div class=\"search-results__description\">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Saepe corrupti</div>
</div>
</a>
<a href=\"#0\" class=\"search-results__item\" data-aos=\"fade-up\">
<img class=\"search-results__image\" src=\"http://placehold.it/400x300?text=3\" alt=\"\">
<div class=\"search-results__content\">
<span class=\"search-results__category\">Produits</span>
<h2 class=\"search-results__title\">Titre du résultat</h2>
<div class=\"search-results__description\">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Saepe corrupti rerum exercitationem ullam debitis numquam amet, facere fugiat repudiandae ipsum error ab quibusdam hic tempore accusantium quaeratrum exercitationem ullam debitis numquam amet, facere fugiat repudiandae ipsum error ab quibusdam hic tempore accusantium quaeratrum exercitationem ullam debitis numquam amet, facere fugiat repudiandae ipsum error ab quibusdam hic tempore accusantium quaerat tempora laboriosam officiis.</div>
</div>
</a>
</div>
</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>\t« Découvrez la boutique en ligne de la Maison Mons<br> Fromagers & Affineurs depuis 1 »</p>
<a href=\"#0\" class=\"button button--secondary\">Acheter maintenant</a>
</div>
</div>
</div>
{% if resources|length > 0 %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"FAQPage\",
\"mainEntity\": [
{% for frequentlyAskedQuestion in resources %}
{
\"@type\": \"Question\",
\"name\": \"{{ frequentlyAskedQuestion.question }}\",
\"acceptedAnswer\": {
\"@type\": \"Answer\",
\"text\": \"{{ frequentlyAskedQuestion.answer|striptags|escape }}\"
}
}{% if not loop.last %},{% endif %}
{% endfor %}
]
}
</script>
{% endif %}
<script type=\"text/javascript\">
const faqItemsTitles = document.querySelectorAll('.faq__title')
faqItemsTitles.forEach((item) => {
item.addEventListener(\"click\", (e) => {
e.target.parentElement.classList.toggle('is-active');
});
});
</script>
{% endblock %}
", "@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig", "/home/mons/site/www/templates/bundles/BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig");
}
}