<?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;
/* Help/tradelaw.twig */
class __TwigTemplate_14b469841631b5f7bc39fdf88f35eeab extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Help/tradelaw.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Help/tradelaw.twig"));
$this->parent = $this->loadTemplate("default_frame.twig", "Help/tradelaw.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 13
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 14
echo "
\t<div class=\"pb-20 md:px-6 whitespace-nowrap bg-background-default w-full items-center justify-center flex-col flex\">
\t\t<div class=\"w-full\">
\t\t\t<div class=\"flex gap-4 md:gap-2 items-start mx-auto w-full pl-[10.625vw] md:pl-6 pt-[120px] md:pt-20 pb-10\">
\t\t\t\t<hr class=\"md:h-[64px] h-[120px] w-[2px] bg-gradient-to-b from-[#ADAAA6] to-[#F0EDE900] border-none\">
\t\t\t\t<h1 class=\"text-2xl md:text-xl font-light leading-9 tracking-widest\">特定商取引法に基づく表記</h1>
\t\t\t</div>
\t\t\t";
// line 21
$context["breadcrumbs"] = [0 => ["name" => "特定商取引法に基づく表記"]];
// line 22
echo "\t\t\t";
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/breadcrumb.twig");
echo "
\t\t</div>
\t\t<div class=\"max-w-[592px] w-full text-sm whitespace-normal border-b border-sub-beige-pale\">
\t\t\t";
// line 25
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["tradelaws"]) || array_key_exists("tradelaws", $context) ? $context["tradelaws"] : (function () { throw new RuntimeError('Variable "tradelaws" does not exist.', 25, $this->source); })()), function ($__t__) use ($context, $macros) { $context["t"] = $__t__; return (twig_get_attribute($this->env, $this->source, (isset($context["t"]) || array_key_exists("t", $context) ? $context["t"] : (function () { throw new RuntimeError('Variable "t" does not exist.', 25, $this->source); })()), "name", [], "any", false, false, true, 25) && twig_get_attribute($this->env, $this->source, (isset($context["t"]) || array_key_exists("t", $context) ? $context["t"] : (function () { throw new RuntimeError('Variable "t" does not exist.', 25, $this->source); })()), "description", [], "any", false, false, true, 25)); }));
foreach ($context['_seq'] as $context["_key"] => $context["tradelaw"]) {
// line 26
echo "\t\t\t\t<dl class=\"w-full flex-col flex gap-[10px] py-10 border-t border-sub-beige-pale\">
\t\t\t\t\t<dt class=\"w-full font-medium\">
\t\t\t\t\t\t<label class=\"leading-5\">";
// line 28
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["tradelaw"], "name", [], "any", false, false, true, 28), 28, $this->source), "html", null, true);
echo "</label>
\t\t\t\t\t</dt>
\t\t\t\t\t";
// line 30
$context["isURL"] = (twig_get_attribute($this->env, $this->source, $context["tradelaw"], "name", [], "any", false, false, true, 30) == "URL");
// line 31
echo "\t\t\t\t\t<a href=\"/\" class=\"";
if (((isset($context["isURL"]) || array_key_exists("isURL", $context) ? $context["isURL"] : (function () { throw new RuntimeError('Variable "isURL" does not exist.', 31, $this->source); })()) == true)) {
echo " underline ";
}
echo "\">
\t\t\t\t\t\t<dd class=\"w-full leading-7\">";
// line 32
echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["tradelaw"], "description", [], "any", false, false, true, 32), 32, $this->source));
echo "</dd>
\t\t\t\t\t</a>
\t\t\t\t</dl>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tradelaw'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 36
echo "\t\t</div>
\t</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Help/tradelaw.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 120 => 36, 110 => 32, 103 => 31, 101 => 30, 96 => 28, 92 => 26, 88 => 25, 81 => 22, 79 => 21, 70 => 14, 60 => 13, 37 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% block main %}
\t<div class=\"pb-20 md:px-6 whitespace-nowrap bg-background-default w-full items-center justify-center flex-col flex\">
\t\t<div class=\"w-full\">
\t\t\t<div class=\"flex gap-4 md:gap-2 items-start mx-auto w-full pl-[10.625vw] md:pl-6 pt-[120px] md:pt-20 pb-10\">
\t\t\t\t<hr class=\"md:h-[64px] h-[120px] w-[2px] bg-gradient-to-b from-[#ADAAA6] to-[#F0EDE900] border-none\">
\t\t\t\t<h1 class=\"text-2xl md:text-xl font-light leading-9 tracking-widest\">特定商取引法に基づく表記</h1>
\t\t\t</div>
\t\t\t{% set breadcrumbs = [{'name': \"特定商取引法に基づく表記\" }] %}
\t\t\t{{ include('Block/breadcrumb.twig') }}
\t\t</div>
\t\t<div class=\"max-w-[592px] w-full text-sm whitespace-normal border-b border-sub-beige-pale\">
\t\t\t{% for tradelaw in tradelaws|filter(t => t.name and t.description) %}
\t\t\t\t<dl class=\"w-full flex-col flex gap-[10px] py-10 border-t border-sub-beige-pale\">
\t\t\t\t\t<dt class=\"w-full font-medium\">
\t\t\t\t\t\t<label class=\"leading-5\">{{ tradelaw.name }}</label>
\t\t\t\t\t</dt>
\t\t\t\t\t{% set isURL = tradelaw.name == \"URL\" %}
\t\t\t\t\t<a href=\"/\" class=\"{% if isURL == true %} underline {% endif %}\">
\t\t\t\t\t\t<dd class=\"w-full leading-7\">{{ tradelaw.description|raw|nl2br }}</dd>
\t\t\t\t\t</a>
\t\t\t\t</dl>
\t\t\t{% endfor %}
\t\t</div>
\t</div>
{% endblock %}
", "Help/tradelaw.twig", "/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Help/tradelaw.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 21, "for" => 25, "if" => 31);
static $filters = array("filter" => 25, "escape" => 28, "nl2br" => 32, "raw" => 32);
static $functions = array("include" => 22);
try {
$this->sandbox->checkSecurity(
['set', 'for', 'if'],
['filter', 'escape', 'nl2br', 'raw'],
['include']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}