var/cache/dev/twig/2c/2cf15f1e0aefc278c59b12b2534a892b.php line 54

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @user_data/osaka.twig */
  14. class __TwigTemplate_ecde6909c858eef248801b2a711a20ca extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/osaka.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/osaka.twig"));
  41.         // line 2
  42.         $macros["iframe_macro"] = $this->macros["iframe_macro"] = $this->loadTemplate("macro/iframe.twig""@user_data/osaka.twig"2)->unwrap();
  43.         // line 1
  44.         $this->parent $this->loadTemplate("default_frame.twig""@user_data/osaka.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 6
  52.     public function block_stylesheet($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  59.         // line 7
  60.         echo "<style>
  61. .ec-layoutRole {
  62.     background:#fbfbfb !important;
  63. }
  64. div.res_iframe {
  65.     padding-bottom: 1100%;
  66. }
  67. @media only screen and (min-width: 428px) { 
  68.     div.res_iframe {
  69.         padding-bottom: 920%;
  70.     }
  71. }
  72. @media only screen and (min-width: 768px) { 
  73.     div.res_iframe {
  74.         padding-bottom: 410%;
  75.     }
  76. }
  77. @media only screen and (min-width: 1024px) {
  78.     div.res_iframe {
  79.         padding-bottom: 340%;
  80.     }
  81. }
  82. </style>
  83.   
  84. ";
  85.         
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  87.         
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  89.     }
  90.     // line 38
  91.     public function block_main($context, array $blocks = [])
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  98.         // line 39
  99.         echo twig_call_macro($macros["iframe_macro"], "macro_kofun_iframe", ["osaka"], 39$context$this->getSourceContext());
  100.         echo "
  101. ";
  102.         
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.     }
  107.     public function getTemplateName()
  108.     {
  109.         return "@user_data/osaka.twig";
  110.     }
  111.     public function isTraitable()
  112.     {
  113.         return false;
  114.     }
  115.     public function getDebugInfo()
  116.     {
  117.         return array (  120 => 39,  110 => 38,  74 => 7,  64 => 6,  53 => 1,  51 => 2,  38 => 1,);
  118.     }
  119.     public function getSourceContext()
  120.     {
  121.         return new Source("{% extends 'default_frame.twig' %}
  122. {% import 'macro/iframe.twig' as iframe_macro %}
  123. {% block stylesheet %}
  124. <style>
  125. .ec-layoutRole {
  126.     background:#fbfbfb !important;
  127. }
  128. div.res_iframe {
  129.     padding-bottom: 1100%;
  130. }
  131. @media only screen and (min-width: 428px) { 
  132.     div.res_iframe {
  133.         padding-bottom: 920%;
  134.     }
  135. }
  136. @media only screen and (min-width: 768px) { 
  137.     div.res_iframe {
  138.         padding-bottom: 410%;
  139.     }
  140. }
  141. @media only screen and (min-width: 1024px) {
  142.     div.res_iframe {
  143.         padding-bottom: 340%;
  144.     }
  145. }
  146. </style>
  147.   
  148. {% endblock %}
  149. {% block main %}
  150. {{ iframe_macro.kofun_iframe('osaka') }}
  151. {% endblock %}""@user_data/osaka.twig""/var/www/html/app/template/user_data/osaka.twig");
  152.     }
  153.     
  154.     public function checkSecurity()
  155.     {
  156.         static $tags = array("import" => 2);
  157.         static $filters = array();
  158.         static $functions = array();
  159.         try {
  160.             $this->sandbox->checkSecurity(
  161.                 ['import'],
  162.                 [],
  163.                 [],
  164.                 $this->source
  165.             );
  166.         } catch (SecurityError $e) {
  167.             $e->setSourceContext($this->source);
  168.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  169.                 $e->setTemplateLine($tags[$e->getTagName()]);
  170.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  171.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  172.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  173.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  174.             }
  175.             throw $e;
  176.         }
  177.     }
  178. }