var/cache/dev/twig/82/8287d15ad79f57246795fab2245dffcd.php line 339

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* site_body.html.twig */
  15. class __TwigTemplate_20d1cb21d371d7a3d16db06e59ac9162 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.             'page_container' => [$this'block_page_container'],
  26.         ];
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""site_body.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""site_body.html.twig"));
  35.         // line 1
  36.         yield "<!doctype html>
  37. <html lang=\"en\">
  38.   <head>
  39.     <meta charset=\"utf-8\">
  40.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  41.     ";
  42.         // line 7
  43.         yield $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getMetadatas();
  44.         yield "
  45.     <title>";
  46.         // line 9
  47.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((array_key_exists("pageTitle"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["pageTitle"]) || array_key_exists("pageTitle"$context) ? $context["pageTitle"] : (function () { throw new RuntimeError('Variable "pageTitle" does not exist.'9$this->source); })()), "Titlle not set")) : ("Titlle not set")) . " | ") . $this->extensions['Fbeen\SettingsBundle\Twig\TwigExtension']->getSetting("app_name")), "html"nulltrue);
  48.         yield "</title>
  49.     <link href=\"";
  50.         // line 12
  51.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/castine/assets/css/bootstrap.min.css"), "html"nulltrue);
  52.         yield "\" rel=\"stylesheet\">
  53.     <link href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css\" rel=\"stylesheet\">
  54.     <link href=\"https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css\" rel=\"stylesheet\">
  55.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css\">
  56.     <link href=\"";
  57.         // line 16
  58.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/castine/assets/css/style.css"), "html"nulltrue);
  59.         yield "\" rel=\"stylesheet\">
  60.     ";
  61.         // line 18
  62.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("main");
  63.         yield "
  64.   </head>
  65.   <body data-base-url=\"";
  66.         // line 21
  67.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'21$this->source); })()), "request", [], "any"falsefalsefalse21), "schemeAndHttpHost", [], "any"falsefalsefalse21) . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'21$this->source); })()), "request", [], "any"falsefalsefalse21), "baseUrl", [], "any"falsefalsefalse21)), "html"nulltrue);
  68.         yield "\">
  69.     <div class=\"search-overlay\" data-controller=\"search\" data-search-target=\"overlay\">
  70.         <!-- Backdrop -->
  71.         <div class=\"backdrop\" data-search-target=\"backdrop\"></div>
  72.         <div class=\"wrapper\">
  73.             <!-- Search bar container -->
  74.             <div class=\"search-bar-container\">
  75.                 <!-- Close button inside the search bar controlled by Stimulus -->
  76.                 <button class=\"btn-close-search\" data-action=\"click->search#closeSearchBar\">x</button>
  77.                 <div class=\"search-bar\" data-search-target=\"bar\" style=\"width: 70%;max-width:800px;margin:0px auto\">
  78.                     
  79.                     <form class=\"search-form d-flex\">
  80.                         <input type=\"text\" data-action=\"input->search#onInput\" data-search-target=\"input\" placeholder=\"Search...\">
  81.                         <button class=\"btn btn-search\"><i class=\"ri-search-line\"></i></button>
  82.                     </form>
  83.                     <!-- Search results will be shown here -->
  84.                     <div data-search-target=\"results\"></div>
  85.                 </div>
  86.             </div>
  87.         </div>
  88.     </div>
  89.     <!-- Header -->
  90.     <header class=\"header\">
  91.         <nav class=\"navbar navbar-expand-lg fast-header fixed-top\">
  92.             <div class=\"container\">
  93.                 <a class=\"navbar-brand\" href=\"";
  94.         // line 51
  95.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_page");
  96.         yield "\">
  97.                     <img src=\"";
  98.         // line 52
  99.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.png"), "html"nulltrue);
  100.         yield "\" class=\"img-fluid logo\" alt=\"Fast Burner\">
  101.                 </a>
  102.                 <div class=\"mobile-top-menu\">
  103.                     <ul class=\"navbar-nav ms-auto mb-lg-0 login-menu d-flex align-items-center\" style=\"gap:20px\">
  104.                         <li class=\"nav-item\">
  105.                             <a class=\"nav-link\" href=\"#\" id=\"search-toggle-btn\">
  106.                                 <i class=\"ri-search-line\"></i>
  107.                             </a>
  108.                         </li>
  109.                         <li class=\"nav-item\">
  110.                             <a class=\"nav-link\" href=\"";
  111.         // line 62
  112.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.login");
  113.         yield "\">
  114.                                 <i class=\"ri-user-line\"></i>
  115.                             </a>
  116.                         </li>
  117.                         <li class=\"nav-item\" data-controller=\"cart-counter\" data-action=\"add-to-cart@window->cart-counter#handleAddToCart\">
  118.                             <a class=\"nav-link fast-cart ";
  119.         // line 67
  120.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'67$this->source); })()), "request", [], "any"falsefalsefalse67), "get", ["_route"], "method"falsefalsefalse67) != "shopping_cart")) {
  121.             yield "btn-open-cartxx ";
  122.         }
  123.         yield "\" href=\"";
  124.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shopping_cart");
  125.         yield "\">
  126.                                 <i class=\"ri-shopping-cart-line\"></i>
  127.                                 <span class=\"cart-count d-flex align-items-center justify-content-center\" data-cart-counter-target=\"cartCount\">
  128.                                     ";
  129.         // line 70
  130.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), $this->extensions['Boab\EcommerceBundle\Twig\ShoppingCartExtension']->renderCounterWidget()), "html"nulltrue);
  131.         yield "
  132.                                 </span>
  133.                             </a>
  134.                         </li>
  135.                     </ul>
  136.                 </div>
  137.                 <div class=\"fast-burger-menu-wrapper\">
  138.                     <div class=\"navbar-toggler fast-burger-menu btn-primary-fast\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasRight\" aria-controls=\"offcanvasRight\">
  139.                         <div class=\"d-flex align-items-center justify-content-center burger-menu\">
  140.                             <div>
  141.                                 <span></span>
  142.                                 <span></span>
  143.                                 <span></span>
  144.                             </div>
  145.                         </div>
  146.                     </div>
  147.                 </div>
  148.                 <div class=\"collapse navbar-collapse\">
  149.                     
  150.                     ";
  151.         // line 90
  152.         yield $this->extensions['Boab\CmsBundle\Twig\Extension\FrontMenuExtension']->render(0"menu/front_menu.html.twig");
  153.         yield "
  154.                     <ul class=\"navbar-nav ms-auto mb-2 mb-lg-0 login-menu d-flex align-items-center \" style=\"gap:20px\">
  155.                         <li class=\"nav-item\">
  156.                             <a class=\"nav-link\" href=\"#\" id=\"search-toggle-btn\">
  157.                                 <i class=\"ri-search-line\"></i>
  158.                             </a>
  159.                         </li>
  160.                         <li class=\"nav-item\">
  161.                             <a class=\"nav-link\" href=\"";
  162.         // line 99
  163.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.login");
  164.         yield "\">
  165.                                 <i class=\"ri-user-line\"></i>
  166.                             </a>
  167.                         </li>
  168.                         <li class=\"nav-item\" data-controller=\"cart-counter\" data-action=\"add-to-cart@window->cart-counter#handleAddToCart\">
  169.                             <a class=\"nav-link fast-cart ";
  170.         // line 104
  171.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'104$this->source); })()), "request", [], "any"falsefalsefalse104), "get", ["_route"], "method"falsefalsefalse104) != "shopping_cart")) {
  172.             yield "btn-open-cart ";
  173.         }
  174.         yield "\" href=\"";
  175.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'104$this->source); })()), "request", [], "any"falsefalsefalse104), "get", ["_route"], "method"falsefalsefalse104) == "shopping_cart")) {
  176.             yield " ";
  177.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shopping_cart");
  178.             yield " ";
  179.         }
  180.         yield "\">
  181.                                 <i class=\"ri-shopping-cart-line\"></i>
  182.                                 <span class=\"cart-count d-flex align-items-center justify-content-center\" data-cart-counter-target=\"cartCount\">
  183.                                     ";
  184.         // line 107
  185.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), $this->extensions['Boab\EcommerceBundle\Twig\ShoppingCartExtension']->renderCounterWidget()), "html"nulltrue);
  186.         yield "
  187.                                 </span>
  188.                             </a>
  189.                         </li>
  190.                     </ul>
  191.                     
  192.                 </div>
  193.             </div>
  194.         </nav>
  195.         <!-- Right side overlay menu -->
  196.         <div class=\"offcanvas offcanvas-end fast-offcanvas\" tabindex=\"-1\" id=\"offcanvasRight\">
  197.             <div class=\"offcanvas-header d-flex justify-content-end\">
  198.               <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  199.             </div>
  200.             <div class=\"offcanvas-body\">
  201.                  ";
  202.         // line 123
  203.         yield $this->extensions['Boab\CmsBundle\Twig\Extension\FrontMenuExtension']->render(0"menu/menu_mobile.html.twig");
  204.         yield "
  205.             </div>
  206.         </div>
  207.         <!-- Right side overlay menu -->
  208.     </header>
  209.     <!-- Header -->
  210.     ";
  211.         // line 131
  212.         yield from $this->unwrap()->yieldBlock('page_container'$context$blocks);
  213.         // line 132
  214.         yield "
  215.     <!-- Footer -->
  216.     <footer class=\"fast-footer\">
  217.         <div class=\"container\">
  218.             <div class=\"row footer-second justify-content-center\">
  219.                 <div class=\"col-lg-3\">
  220.                     <h2 class=\"fast-footer-title\">About us</h2>
  221.                     <div class=\"fast-contact-wrapper\">
  222.                         <p>";
  223.         // line 140
  224.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Fbeen\SettingsBundle\Twig\TwigExtension']->getSetting("app_description"), "html"nulltrue);
  225.         yield "</p>
  226.                         <ul class=\"list-inline fast-social-icon-wrapper\">
  227.                             <li class=\"list-inline-item\">
  228.                                 <a href=\"#\"><i class=\"icon icon-fb\"></i></a>
  229.                             </li>
  230.                             <li class=\"list-inline-item\">
  231.                                 <a href=\"#\"><i class=\"icon icon-twitter\"></i></a>
  232.                             </li>
  233.                             <li class=\"list-inline-item\">
  234.                                 <a href=\"#\"><i class=\"icon icon-pinterest\"></i></a>
  235.                             </li>
  236.                             <li class=\"list-inline-item\">
  237.                                 <a href=\"#\"><i class=\"icon icon-youtube\"></i></a>
  238.                             </li>
  239.                             <li class=\"list-inline-item\">
  240.                                 <a href=\"#\"><i class=\"icon icon-insta\"></i></a>
  241.                             </li>
  242.                         </ul>
  243.                     </div>
  244.                 </div>
  245.                 <div class=\"col-lg-3\">
  246.                     <h2 class=\"fast-footer-title\">Contact Info</h2>
  247.                     <div class=\"fast-contact-wrapper\">
  248.                         <div class=\"d-flex align-items-center justify-content-start mb-2\">
  249.                             <div class=\"fast-contact-icon\">
  250.                                 <i class=\"icon icon-geo\"></i>
  251.                             </div>
  252.                             <div class=\"fast-contact-address\">";
  253.         // line 167
  254.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Fbeen\SettingsBundle\Twig\TwigExtension']->getSetting("app_address"), "html"nulltrue);
  255.         yield "</div>
  256.                         </div>
  257.                         <div class=\"d-flex align-items-center justify-content-start\">
  258.                             <div class=\"fast-contact-icon\">
  259.                                 <i class=\"bi bi-telephone-x\"></i>
  260.                             </div>
  261.                             <div class=\"fast-contact-address\">";
  262.         // line 173
  263.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Fbeen\SettingsBundle\Twig\TwigExtension']->getSetting("primary_number"), "html"nulltrue);
  264.         yield "</div>
  265.                         </div>
  266.                         <div class=\"d-flex align-items-center justify-content-start\">
  267.                             <div class=\"fast-contact-icon\">
  268.                                <i class=\"bi bi-envelope\"></i>
  269.                             </div>
  270.                             <div class=\"fast-contact-address\">";
  271.         // line 179
  272.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Fbeen\SettingsBundle\Twig\TwigExtension']->getSetting("app_email"), "html"nulltrue);
  273.         yield "</div>
  274.                         </div>
  275.                     </div>
  276.                 </div>
  277.                 <div class=\"col-lg-3\">
  278.                     <h2 class=\"fast-footer-title\">Quick Links</h2>
  279.                     <div class=\"fast-contact-wrapper\">
  280.                         <ul class=\"fast-footer-menu\">
  281.                             <li><a href=\"";
  282.         // line 187
  283.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("route_208");
  284.         yield "\">Shipping</a></li>
  285.                             <li><a href=\"";
  286.         // line 188
  287.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("route_207");
  288.         yield "\">Return</a></li>
  289.                             <li><a href=\"";
  290.         // line 189
  291.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("route_205");
  292.         yield "\">Terms & Conditions</a></li>
  293.                             <li><a href=\"";
  294.         // line 190
  295.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("route_152");
  296.         yield "\">Privacy & Policy</a></li>
  297.                         </ul>
  298.                     </div>
  299.                 </div>
  300.             </div>
  301.         </div>
  302.     </footer>
  303.       <!-- Footer -->
  304.     <div class=\"modal fade\" id=\"newletter-modal\" tabindex=\"-1\" aria-labelledby=\"subscriptionModalLabel\" aria-hidden=\"true\">
  305.         <div class=\"modal-dialog\">
  306.             <div class=\"modal-content\">
  307.                 <button type=\"button\" class=\"close\" data-bs-dismiss=\"modal\" aria-label=\"Close\">
  308.                     <span aria-hidden=\"true\">&times;</span>
  309.                 </button>
  310.                 <div class=\"modal-body\">
  311.                     ";
  312.         // line 206
  313.         yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\SubscriptionController::signup", ["request" => CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'206$this->source); })()), "request", [], "any"falsefalsefalse206)]));
  314.         yield "
  315.                 </div>
  316.             </div>
  317.         </div>
  318.     </div>
  319.     ";
  320.         // line 212
  321.         yield $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->render(["type" => "boab_cms.block.shopping_cart"], ["template" => "product/cart_drawers.html.twig"]);
  322.         // line 214
  323.         yield "
  324.     
  325.     <script src=\"";
  326.         // line 216
  327.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/castine/assets/js/respond.min.js"), "html"nulltrue);
  328.         yield "\"></script>
  329.     <script src=\"";
  330.         // line 217
  331.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/castine/assets/js/jquery.min.js"), "html"nulltrue);
  332.         yield "\"></script>
  333.     <script src=\"";
  334.         // line 218
  335.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/castine/assets/js/popper.min.js"), "html"nulltrue);
  336.         yield "\"></script>
  337.     <script src=\"";
  338.         // line 220
  339.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/castine/assets/js/bootstrap.min.js"), "html"nulltrue);
  340.         yield "\"></script>
  341.     <script src=\"";
  342.         // line 221
  343.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/castine/assets/js/owl.carousel.min.js"), "html"nulltrue);
  344.         yield "\"></script>
  345.     <script src=\"";
  346.         // line 222
  347.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/castine/assets/js/custom.js"), "html"nulltrue);
  348.         yield "\"></script>
  349.     ";
  350.         // line 224
  351.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("main");
  352.         yield "
  353.         <!--Start of Tawk.to Script
  354.         <script type=\"text/javascript\">
  355.         var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
  356.         (function(){
  357.         var s1=document.createElement(\"script\"),s0=document.getElementsByTagName(\"script\")[0];
  358.         s1.async=true;
  359.         s1.src='https://embed.tawk.to/66e191cf50c10f7a00a7d989/1i7gi355s';
  360.         s1.charset='UTF-8';
  361.         s1.setAttribute('crossorigin','*');
  362.         s0.parentNode.insertBefore(s1,s0);
  363.         })();
  364.         </script>
  365.         End of Tawk.to Script-->
  366.     <script>
  367.         \$(document).ready(function(){
  368.             \$('#newletter-modalxx').modal('show');
  369.             
  370.             /*
  371.             if (!getCookie('newsletterModalShown')) {
  372.                 \$('#newletter-modal').modal('show');
  373.                 setCookie('newsletterModalShown', 'true', 1); // Set cookie to expire in 1 day
  374.             }
  375.             \$('#newletter-modal button.close').click(function(){
  376.                 // Manually close the modal
  377.                 \$('#newletter-modal').modal('hide');
  378.             });
  379.             */
  380.         });
  381.         function setCookie(name, value, days) {
  382.             var expires = \"\";
  383.             if (days) {
  384.                 var date = new Date();
  385.                 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
  386.                 expires = \"; expires=\" + date.toUTCString();
  387.             }
  388.             document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";
  389.         }
  390.         function getCookie(name) {
  391.             var nameEQ = name + \"=\";
  392.             var ca = document.cookie.split(';');
  393.             for (var i = 0; i < ca.length; i++) {
  394.                 var c = ca[i];
  395.                 while (c.charAt(0) == ' ') c = c.substring(1, c.length);
  396.                 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
  397.             }
  398.             return null;
  399.         }
  400.         function eraseCookie(name) {
  401.             document.cookie = name + '=; Max-Age=-99999999;';
  402.         }
  403.         
  404.     </script>
  405.   </body>
  406. </html>";
  407.         
  408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  409.         
  410.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  411.         return; yield '';
  412.     }
  413.     // line 131
  414.     public function block_page_container($context, array $blocks = [])
  415.     {
  416.         $macros $this->macros;
  417.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  418.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_container"));
  419.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  420.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_container"));
  421.         yield " ";
  422.         
  423.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  424.         
  425.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  426.         return; yield '';
  427.     }
  428.     /**
  429.      * @codeCoverageIgnore
  430.      */
  431.     public function getTemplateName()
  432.     {
  433.         return "site_body.html.twig";
  434.     }
  435.     /**
  436.      * @codeCoverageIgnore
  437.      */
  438.     public function isTraitable()
  439.     {
  440.         return false;
  441.     }
  442.     /**
  443.      * @codeCoverageIgnore
  444.      */
  445.     public function getDebugInfo()
  446.     {
  447.         return array (  454 => 131,  380 => 224,  375 => 222,  371 => 221,  367 => 220,  362 => 218,  358 => 217,  354 => 216,  350 => 214,  348 => 212,  339 => 206,  320 => 190,  316 => 189,  312 => 188,  308 => 187,  297 => 179,  288 => 173,  279 => 167,  249 => 140,  239 => 132,  237 => 131,  226 => 123,  207 => 107,  193 => 104,  185 => 99,  173 => 90,  150 => 70,  140 => 67,  132 => 62,  119 => 52,  115 => 51,  82 => 21,  76 => 18,  71 => 16,  64 => 12,  58 => 9,  53 => 7,  45 => 1,);
  448.     }
  449.     public function getSourceContext()
  450.     {
  451.         return new Source("<!doctype html>
  452. <html lang=\"en\">
  453.   <head>
  454.     <meta charset=\"utf-8\">
  455.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  456.     {{ sonata_seo_metadatas() }}
  457.     <title>{{ pageTitle|default('Titlle not set') ~' | '~ setting('app_name')}}</title>
  458.     <link href=\"{{ asset('themes/castine/assets/css/bootstrap.min.css') }}\" rel=\"stylesheet\">
  459.     <link href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css\" rel=\"stylesheet\">
  460.     <link href=\"https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css\" rel=\"stylesheet\">
  461.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css\">
  462.     <link href=\"{{ asset('themes/castine/assets/css/style.css') }}\" rel=\"stylesheet\">
  463.     {{ encore_entry_link_tags('main') }}
  464.   </head>
  465.   <body data-base-url=\"{{ app.request.schemeAndHttpHost ~ app.request.baseUrl }}\">
  466.     <div class=\"search-overlay\" data-controller=\"search\" data-search-target=\"overlay\">
  467.         <!-- Backdrop -->
  468.         <div class=\"backdrop\" data-search-target=\"backdrop\"></div>
  469.         <div class=\"wrapper\">
  470.             <!-- Search bar container -->
  471.             <div class=\"search-bar-container\">
  472.                 <!-- Close button inside the search bar controlled by Stimulus -->
  473.                 <button class=\"btn-close-search\" data-action=\"click->search#closeSearchBar\">x</button>
  474.                 <div class=\"search-bar\" data-search-target=\"bar\" style=\"width: 70%;max-width:800px;margin:0px auto\">
  475.                     
  476.                     <form class=\"search-form d-flex\">
  477.                         <input type=\"text\" data-action=\"input->search#onInput\" data-search-target=\"input\" placeholder=\"Search...\">
  478.                         <button class=\"btn btn-search\"><i class=\"ri-search-line\"></i></button>
  479.                     </form>
  480.                     <!-- Search results will be shown here -->
  481.                     <div data-search-target=\"results\"></div>
  482.                 </div>
  483.             </div>
  484.         </div>
  485.     </div>
  486.     <!-- Header -->
  487.     <header class=\"header\">
  488.         <nav class=\"navbar navbar-expand-lg fast-header fixed-top\">
  489.             <div class=\"container\">
  490.                 <a class=\"navbar-brand\" href=\"{{ path('home_page') }}\">
  491.                     <img src=\"{{ asset('build/images/logo.png') }}\" class=\"img-fluid logo\" alt=\"Fast Burner\">
  492.                 </a>
  493.                 <div class=\"mobile-top-menu\">
  494.                     <ul class=\"navbar-nav ms-auto mb-lg-0 login-menu d-flex align-items-center\" style=\"gap:20px\">
  495.                         <li class=\"nav-item\">
  496.                             <a class=\"nav-link\" href=\"#\" id=\"search-toggle-btn\">
  497.                                 <i class=\"ri-search-line\"></i>
  498.                             </a>
  499.                         </li>
  500.                         <li class=\"nav-item\">
  501.                             <a class=\"nav-link\" href=\"{{ path('app.login') }}\">
  502.                                 <i class=\"ri-user-line\"></i>
  503.                             </a>
  504.                         </li>
  505.                         <li class=\"nav-item\" data-controller=\"cart-counter\" data-action=\"add-to-cart@window->cart-counter#handleAddToCart\">
  506.                             <a class=\"nav-link fast-cart {% if app.request.get('_route') !='shopping_cart' %}btn-open-cartxx {% endif %}\" href=\"{{ path('shopping_cart') }}\">
  507.                                 <i class=\"ri-shopping-cart-line\"></i>
  508.                                 <span class=\"cart-count d-flex align-items-center justify-content-center\" data-cart-counter-target=\"cartCount\">
  509.                                     {{ shopping_cart_counter()|length }}
  510.                                 </span>
  511.                             </a>
  512.                         </li>
  513.                     </ul>
  514.                 </div>
  515.                 <div class=\"fast-burger-menu-wrapper\">
  516.                     <div class=\"navbar-toggler fast-burger-menu btn-primary-fast\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasRight\" aria-controls=\"offcanvasRight\">
  517.                         <div class=\"d-flex align-items-center justify-content-center burger-menu\">
  518.                             <div>
  519.                                 <span></span>
  520.                                 <span></span>
  521.                                 <span></span>
  522.                             </div>
  523.                         </div>
  524.                     </div>
  525.                 </div>
  526.                 <div class=\"collapse navbar-collapse\">
  527.                     
  528.                     {{ front_menu_render(0, 'menu/front_menu.html.twig') }}
  529.                     <ul class=\"navbar-nav ms-auto mb-2 mb-lg-0 login-menu d-flex align-items-center \" style=\"gap:20px\">
  530.                         <li class=\"nav-item\">
  531.                             <a class=\"nav-link\" href=\"#\" id=\"search-toggle-btn\">
  532.                                 <i class=\"ri-search-line\"></i>
  533.                             </a>
  534.                         </li>
  535.                         <li class=\"nav-item\">
  536.                             <a class=\"nav-link\" href=\"{{ path('app.login') }}\">
  537.                                 <i class=\"ri-user-line\"></i>
  538.                             </a>
  539.                         </li>
  540.                         <li class=\"nav-item\" data-controller=\"cart-counter\" data-action=\"add-to-cart@window->cart-counter#handleAddToCart\">
  541.                             <a class=\"nav-link fast-cart {% if app.request.get('_route') !='shopping_cart' %}btn-open-cart {% endif %}\" href=\"{% if app.request.get('_route') =='shopping_cart' %} {{ path('shopping_cart') }} {% endif %}\">
  542.                                 <i class=\"ri-shopping-cart-line\"></i>
  543.                                 <span class=\"cart-count d-flex align-items-center justify-content-center\" data-cart-counter-target=\"cartCount\">
  544.                                     {{ shopping_cart_counter()|length }}
  545.                                 </span>
  546.                             </a>
  547.                         </li>
  548.                     </ul>
  549.                     
  550.                 </div>
  551.             </div>
  552.         </nav>
  553.         <!-- Right side overlay menu -->
  554.         <div class=\"offcanvas offcanvas-end fast-offcanvas\" tabindex=\"-1\" id=\"offcanvasRight\">
  555.             <div class=\"offcanvas-header d-flex justify-content-end\">
  556.               <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  557.             </div>
  558.             <div class=\"offcanvas-body\">
  559.                  {{ front_menu_render(0, 'menu/menu_mobile.html.twig') }}
  560.             </div>
  561.         </div>
  562.         <!-- Right side overlay menu -->
  563.     </header>
  564.     <!-- Header -->
  565.     {% block page_container %} {% endblock %}
  566.     <!-- Footer -->
  567.     <footer class=\"fast-footer\">
  568.         <div class=\"container\">
  569.             <div class=\"row footer-second justify-content-center\">
  570.                 <div class=\"col-lg-3\">
  571.                     <h2 class=\"fast-footer-title\">About us</h2>
  572.                     <div class=\"fast-contact-wrapper\">
  573.                         <p>{{ setting('app_description') }}</p>
  574.                         <ul class=\"list-inline fast-social-icon-wrapper\">
  575.                             <li class=\"list-inline-item\">
  576.                                 <a href=\"#\"><i class=\"icon icon-fb\"></i></a>
  577.                             </li>
  578.                             <li class=\"list-inline-item\">
  579.                                 <a href=\"#\"><i class=\"icon icon-twitter\"></i></a>
  580.                             </li>
  581.                             <li class=\"list-inline-item\">
  582.                                 <a href=\"#\"><i class=\"icon icon-pinterest\"></i></a>
  583.                             </li>
  584.                             <li class=\"list-inline-item\">
  585.                                 <a href=\"#\"><i class=\"icon icon-youtube\"></i></a>
  586.                             </li>
  587.                             <li class=\"list-inline-item\">
  588.                                 <a href=\"#\"><i class=\"icon icon-insta\"></i></a>
  589.                             </li>
  590.                         </ul>
  591.                     </div>
  592.                 </div>
  593.                 <div class=\"col-lg-3\">
  594.                     <h2 class=\"fast-footer-title\">Contact Info</h2>
  595.                     <div class=\"fast-contact-wrapper\">
  596.                         <div class=\"d-flex align-items-center justify-content-start mb-2\">
  597.                             <div class=\"fast-contact-icon\">
  598.                                 <i class=\"icon icon-geo\"></i>
  599.                             </div>
  600.                             <div class=\"fast-contact-address\">{{ setting('app_address') }}</div>
  601.                         </div>
  602.                         <div class=\"d-flex align-items-center justify-content-start\">
  603.                             <div class=\"fast-contact-icon\">
  604.                                 <i class=\"bi bi-telephone-x\"></i>
  605.                             </div>
  606.                             <div class=\"fast-contact-address\">{{ setting('primary_number') }}</div>
  607.                         </div>
  608.                         <div class=\"d-flex align-items-center justify-content-start\">
  609.                             <div class=\"fast-contact-icon\">
  610.                                <i class=\"bi bi-envelope\"></i>
  611.                             </div>
  612.                             <div class=\"fast-contact-address\">{{ setting('app_email') }}</div>
  613.                         </div>
  614.                     </div>
  615.                 </div>
  616.                 <div class=\"col-lg-3\">
  617.                     <h2 class=\"fast-footer-title\">Quick Links</h2>
  618.                     <div class=\"fast-contact-wrapper\">
  619.                         <ul class=\"fast-footer-menu\">
  620.                             <li><a href=\"{{ path('route_208') }}\">Shipping</a></li>
  621.                             <li><a href=\"{{ path('route_207') }}\">Return</a></li>
  622.                             <li><a href=\"{{ path('route_205') }}\">Terms & Conditions</a></li>
  623.                             <li><a href=\"{{ path('route_152') }}\">Privacy & Policy</a></li>
  624.                         </ul>
  625.                     </div>
  626.                 </div>
  627.             </div>
  628.         </div>
  629.     </footer>
  630.       <!-- Footer -->
  631.     <div class=\"modal fade\" id=\"newletter-modal\" tabindex=\"-1\" aria-labelledby=\"subscriptionModalLabel\" aria-hidden=\"true\">
  632.         <div class=\"modal-dialog\">
  633.             <div class=\"modal-content\">
  634.                 <button type=\"button\" class=\"close\" data-bs-dismiss=\"modal\" aria-label=\"Close\">
  635.                     <span aria-hidden=\"true\">&times;</span>
  636.                 </button>
  637.                 <div class=\"modal-body\">
  638.                     {{ render(controller('App\\\\Controller\\\\SubscriptionController::signup',{'request':app.request})) }}
  639.                 </div>
  640.             </div>
  641.         </div>
  642.     </div>
  643.     {{ sonata_block_render({'type':'boab_cms.block.shopping_cart'},{
  644.         'template':'product/cart_drawers.html.twig'
  645.     })}}
  646.     
  647.     <script src=\"{{ asset('themes/castine/assets/js/respond.min.js') }}\"></script>
  648.     <script src=\"{{ asset('themes/castine/assets/js/jquery.min.js') }}\"></script>
  649.     <script src=\"{{ asset('themes/castine/assets/js/popper.min.js') }}\"></script>
  650.     <script src=\"{{ asset('themes/castine/assets/js/bootstrap.min.js') }}\"></script>
  651.     <script src=\"{{ asset('themes/castine/assets/js/owl.carousel.min.js') }}\"></script>
  652.     <script src=\"{{ asset('themes/castine/assets/js/custom.js') }}\"></script>
  653.     {{ encore_entry_script_tags('main') }}
  654.         <!--Start of Tawk.to Script
  655.         <script type=\"text/javascript\">
  656.         var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
  657.         (function(){
  658.         var s1=document.createElement(\"script\"),s0=document.getElementsByTagName(\"script\")[0];
  659.         s1.async=true;
  660.         s1.src='https://embed.tawk.to/66e191cf50c10f7a00a7d989/1i7gi355s';
  661.         s1.charset='UTF-8';
  662.         s1.setAttribute('crossorigin','*');
  663.         s0.parentNode.insertBefore(s1,s0);
  664.         })();
  665.         </script>
  666.         End of Tawk.to Script-->
  667.     <script>
  668.         \$(document).ready(function(){
  669.             \$('#newletter-modalxx').modal('show');
  670.             
  671.             /*
  672.             if (!getCookie('newsletterModalShown')) {
  673.                 \$('#newletter-modal').modal('show');
  674.                 setCookie('newsletterModalShown', 'true', 1); // Set cookie to expire in 1 day
  675.             }
  676.             \$('#newletter-modal button.close').click(function(){
  677.                 // Manually close the modal
  678.                 \$('#newletter-modal').modal('hide');
  679.             });
  680.             */
  681.         });
  682.         function setCookie(name, value, days) {
  683.             var expires = \"\";
  684.             if (days) {
  685.                 var date = new Date();
  686.                 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
  687.                 expires = \"; expires=\" + date.toUTCString();
  688.             }
  689.             document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";
  690.         }
  691.         function getCookie(name) {
  692.             var nameEQ = name + \"=\";
  693.             var ca = document.cookie.split(';');
  694.             for (var i = 0; i < ca.length; i++) {
  695.                 var c = ca[i];
  696.                 while (c.charAt(0) == ' ') c = c.substring(1, c.length);
  697.                 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
  698.             }
  699.             return null;
  700.         }
  701.         function eraseCookie(name) {
  702.             document.cookie = name + '=; Max-Age=-99999999;';
  703.         }
  704.         
  705.     </script>
  706.   </body>
  707. </html>""site_body.html.twig""/home/u835281259/domains/konashznaturals.com/siteFiles/templates/site_body.html.twig");
  708.     }
  709. }