var/cache/dev/twig/4a/4a47ddea3fdf035e60455cc61a51ea79.php line 202

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. /* base.html.twig */
  15. class __TwigTemplate_4f93da7f47bc35de5cebeda56a719c9d 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.             'stylesheets' => [$this'block_stylesheets'],
  26.             'body' => [$this'block_body'],
  27.             'scripts' => [$this'block_scripts'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         // line 1
  38.         yield "<!doctype html>
  39. <html lang=\"en\" data-bs-theme=\"auto\">
  40.   <head>
  41.     <meta charset=\"utf-8\">
  42.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  43.     <meta name=\"description\" content=\"\">
  44.     <meta name=\"author\" content=\"Jince, Grinesh\">
  45.     <title>Noble Native</title>
  46.     <link rel=\"icon\" href=\"";
  47.         // line 9
  48.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/favicon.png"), "html"nulltrue);
  49.         yield "\">
  50.     <link href=\"";
  51.         // line 10
  52.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap.css"), "html"nulltrue);
  53.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  54.     <link href=\"";
  55.         // line 11
  56.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap-icons.css"), "html"nulltrue);
  57.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  58.     <link href=\"";
  59.         // line 12
  60.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/noblenative.css"), "html"nulltrue);
  61.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  62.     ";
  63.         // line 13
  64.         yield from $this->unwrap()->yieldBlock('stylesheets'$context$blocks);
  65.         // line 14
  66.         yield "  </head>
  67.   <body>
  68.     <div class=\"offcanvas offcanvas-start p-4 shadow-lg\" tabindex=\"-1\" id=\"login\" aria-labelledby=\"loginlabel\">
  69.       <div class=\"offcanvas-header\">
  70.         <h5 class=\"offcanvas-title\" id=\"loginlabel\">Welcome</h5>
  71.         <button type=\"button\" class=\"btn-close shadow-none\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  72.       </div>
  73.       <div class=\"offcanvas-body\">
  74.         <div>
  75.           <h1>Step Back into Your World!</h1>
  76.           <form method=\"POST\" action=\"";
  77.         // line 24
  78.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_login");
  79.         yield "\" id=\"emailotploginform\">
  80.             <div class=\"form-floating mb-3 mt-4\">
  81.               <input type=\"email\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" id=\"loginemail\" name=\"loginemail\" placeholder=\"name@example.com\" required>
  82.               <label for=\"loginemail\" class=\"px-4\">Email address</label>
  83.               <input type=\"hidden\" id=\"logincsrf\" name=\"logincsrf\" value=\"";
  84.         // line 28
  85.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("otplogincsrf"), "html"nulltrue);
  86.         yield "\" />
  87.             </div>
  88.             <div class=\"form-check\">
  89.               <input class=\"form-check-input shadow-none border\" type=\"checkbox\" value=\"\" name=\"loginsubscribe\" id=\"loginsubscribe\" onchange=\"loginsubscribe('";
  90.         // line 31
  91.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_subscribe");
  92.         yield "')\" checked>
  93.               <label class=\"form-check-label\" for=\"loginsubscribe\">
  94.                 Email me with news and offers
  95.               </label>
  96.             </div>
  97.             <button type=\"submit\" class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4 mt-3\"  role=\"button\" aria-controls=\"otp\">Sign In</button>
  98.             <div class=\"text-danger\" id=\"otploginerror\"></div>
  99.           </form>
  100.           <p class=\"text-center\">OR</p>
  101.           <div class=\"btn px-4 py-3 w-100 rounded-pill\" >
  102.             <div id=\"g_id_onload\"
  103.                  data-client_id=\"62339956659-gf4p78s73c5p33ajso8fbk9quhk7h4qe.apps.googleusercontent.com\"
  104.                  data-context=\"signin\"
  105.                  data-ux_mode=\"popup\"
  106.                  data-callback=\"onSignIn\"
  107.                  data-auto_prompt=\"false\">
  108.             </div>
  109.             <div class=\"g_id_signin\"
  110.                  data-type=\"standard\"
  111.                  data-shape=\"rectangular\"
  112.                  data-theme=\"outline\"
  113.                  data-text=\"signin_with\"
  114.                  data-size=\"large\"
  115.                  data-logo_alignment=\"left\"
  116.                  data-height=\"50\"
  117.                  data-width=\"250\">
  118.             </div>
  119.           </div>
  120.           <p>By signing in, you agree to our <a href=\"";
  121.         // line 60
  122.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_privacy");
  123.         yield "\" class=\"text-decoration-underline\">privacy policy</a> and <a href=\"";
  124.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_terms");
  125.         yield "\" class=\"text-decoration-underline\">terms of services</a></p>
  126.         </div>
  127.         
  128.       </div>
  129.     </div>
  130.     <div class=\"offcanvas offcanvas-start p-4 shadow-lg\" tabindex=\"-1\" id=\"otp\" aria-labelledby=\"otplabel\">
  131.       <div class=\"offcanvas-header\">
  132.         <h5 class=\"offcanvas-title\" id=\"otplabel\">Welcome</h5>
  133.         <button type=\"button\" class=\"btn-close shadow-none\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  134.       </div>
  135.       <div class=\"offcanvas-body\">
  136.         <div class=\"text-center\">
  137.           <h1>Verify your identity</h1> 
  138.           <h6>Enter the code sent to</h6>
  139.           <h5 class=\"fw-bold mb-4\" id=\"loginemailgiven\">username@mailid.com</h5>
  140.           <form>
  141.             <div id=\"inputs\" class=\"inputs mb-4\">
  142.               <input class=\"input\" type=\"text\" name=\"loginotp1\" id=\"loginotp1\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('";
  143.         // line 77
  144.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_otp");
  145.         yield "')\" />
  146.               <input class=\"input\" type=\"text\" name=\"loginotp2\" id=\"loginotp2\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('";
  147.         // line 78
  148.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_otp");
  149.         yield "')\" />
  150.               <input class=\"input\" type=\"text\" name=\"loginotp3\" id=\"loginotp3\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('";
  151.         // line 79
  152.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_otp");
  153.         yield "')\" />
  154.               <input class=\"input\" type=\"text\" name=\"loginotp4\" id=\"loginotp4\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('";
  155.         // line 80
  156.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_otp");
  157.         yield "')\" />
  158.             </div>
  159.             <div class=\"text-danger\" id=\"otperror\"></div>
  160.             <button type=\"button\" class=\"shadow-none border-0 bg-transparent text-uppercase fw-semibold text-body mb-2 border-bottom\">Send Another Code</button>
  161.             <button type=\"button\" class=\"shadow-none border-0 bg-transparent text-uppercase fw-semibold text-body mb-2 border-bottom\">Try Another Email</button>
  162.           </form>    
  163.         </div>
  164.       </div>
  165.     </div>
  166.     <div class=\"bg-black text-white fixed-top w-100\">
  167.       <div class=\"container-fluid px-5\">
  168.         <div class=\"col-md-12 py-3 small\">";
  169.         // line 91
  170.         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables"$context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.'91$this->source); })()), "textcontent", ["free_shipping_banner"], "method"falsefalsefalse91);
  171.         yield "</div>
  172.       </div>
  173.     </div>
  174.     <nav class=\"navbar navbar-expand-md fixed-top mt-5 bg-light\">
  175.       <div class=\"container-fluid px-5\"> <a class=\"navbar-brand\" href=\"";
  176.         // line 95
  177.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_index");
  178.         yield "\"> <img src=\"";
  179.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/logo.png"), "html"nulltrue);
  180.         yield "\" alt=\"logo\" title=\"NobleNative\" class=\"main-logo\"> </a>
  181.         <button class=\"navbar-toggler border-0 shadow-none\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\"> <span class=\"navbar-toggler-icon\"></span> </button>
  182.         <div class=\"collapse navbar-collapse\" id=\"navbarCollapse\">
  183.           <ul class=\"navbar-nav me-auto mb-2 mb-md-0\">
  184.             <li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">City</a> </li>
  185.             <li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">Brands</a> </li>
  186.             <li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">Products</a> </li>
  187.           </ul>
  188.           <div class=\"d-flex\">
  189.             <ul class=\"mt-0 pt-0 list-inline list-unstyled\">
  190.               <li class=\"list-inline-item ms-3\">";
  191.         // line 105
  192.         if (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.'105$this->source); })()), "user", [], "any"falsefalsefalse105)) {
  193.             yield "<a href=\"";
  194.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_user_account");
  195.             yield "\">";
  196.         } else {
  197.             yield "<a data-bs-toggle=\"offcanvas\" href=\"#login\" role=\"button\" aria-controls=\"login\">";
  198.         }
  199.         yield "<i data-feather=\"user\" class=\"iconsize\"></i></a></li>
  200.               <li class=\"list-inline-item ms-3\"> <a href=\"";
  201.         // line 106
  202.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_cart_list");
  203.         yield "\" class=\"position-relative\"> <i data-feather=\"shopping-bag\" class=\"iconsize\"></i> <span class=\"position-absolute small bg-secondary text-white rounded-circle cart-count\">";
  204.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables"$context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.'106$this->source); })()), "cartdetails", [], "method"falsefalsefalse106), "cartcount", [], "any"falsefalsefalse106), "html"nulltrue);
  205.         yield "</span> </a> </li>
  206.               <li class=\"list-inline-item ms-3\"><a href=\"";
  207.         // line 107
  208.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
  209.         yield "\"><i data-feather=\"help-circle\" class=\"iconsize\"></i></a></li>
  210.             </ul>
  211.           </div>
  212.         </div>
  213.       </div>
  214.     </nav>
  215.     <main>
  216.       ";
  217.         // line 114
  218.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  219.         yield "  
  220.       <div class=\"container-fluid px-5 text-white bg-dark pt-5 pb-5 mt-5\">
  221.         <div class=\"row\">
  222.           <div class=\"col-lg-2\">
  223.             <ul class=\"list-unstyled mb-4\">
  224.               <li class=\"mt-3\"><a href=\"";
  225.         // line 119
  226.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_about");
  227.         yield "\" class=\"text-white\">About Us</a></li>
  228.               <li class=\"mt-2\"><a href=\"";
  229.         // line 120
  230.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_contact");
  231.         yield "\" class=\"text-white\">Contact Us</a></li>
  232.               <li class=\"mt-2\"><a href=\"";
  233.         // line 121
  234.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
  235.         yield "\" class=\"text-white\">FAQ's</a></li>
  236.               <li class=\"mt-2\"><a href=\"";
  237.         // line 122
  238.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
  239.         yield "\" class=\"text-white\">Gift Card</a></li>
  240.             </ul>
  241.           </div>
  242.           <div class=\"col-lg-2\">
  243.             <ul class=\"list-unstyled\">
  244.               <li class=\"mt-3\"><a href=\"";
  245.         // line 127
  246.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
  247.         yield "\" class=\"text-white\">Join N|N</a></li>
  248.               <li class=\"mt-2\"><a href=\"";
  249.         // line 128
  250.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
  251.         yield "\" class=\"text-white\">Brand Collab</a></li>
  252.               <li class=\"mt-2\"><a href=\"";
  253.         // line 129
  254.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
  255.         yield "\" class=\"text-white\">Designer Collab</a></li>
  256.             </ul>
  257.           </div>
  258.           <div class=\"col-lg-12\">
  259.             <ul class=\"list-unstyled list-inline mb-4\">
  260.               <li class=\"list-inline-item\"><a href=\"";
  261.         // line 134
  262.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables"$context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.'134$this->source); })()), "textcontent", ["site_insta_page"], "method"falsefalsefalse134), "html"nulltrue);
  263.         yield "\"><i data-feather=\"instagram\" class=\"iconsize-footer\"></i></a></li>
  264.               <li class=\"list-inline-item\"><a href=\"";
  265.         // line 135
  266.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables"$context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.'135$this->source); })()), "textcontent", ["site_fb_page"], "method"falsefalsefalse135), "html"nulltrue);
  267.         yield "\"><i data-feather=\"facebook\" class=\"iconsize-footer\"></i></a></li>
  268.               <li class=\"list-inline-item\"><a href=\"";
  269.         // line 136
  270.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables"$context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.'136$this->source); })()), "textcontent", ["site_yt_page"], "method"falsefalsefalse136), "html"nulltrue);
  271.         yield "\"><i data-feather=\"youtube\" class=\"iconsize-footer\"></i></a></li>
  272.             </ul>
  273.           </div>
  274.           <div class=\"col-lg-12\">Copyright ";
  275.         // line 139
  276.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now""Y"), "html"nulltrue);
  277.         yield " Noble Native. All rights reserved</div>
  278.         </div>
  279.       </div>
  280.     </main>
  281.     <script src=\"https://accounts.google.com/gsi/client\" async defer></script>
  282.     <script src=\"";
  283.         // line 144
  284.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-3.6.3.js"), "html"nulltrue);
  285.         yield "\"></script> 
  286.     <script src=\"";
  287.         // line 145
  288.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/bootstrap.bundle.min.js"), "html"nulltrue);
  289.         yield "\" type=\"text/javascript\" ></script> 
  290.     <script src=\"";
  291.         // line 146
  292.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/feather.min.js"), "html"nulltrue);
  293.         yield "\" type=\"text/javascript\" ></script>    
  294.     <script type=\"text/javascript\" src=\"";
  295.         // line 147
  296.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-validate.js"), "html"nulltrue);
  297.         yield "\"></script>
  298.     <script src=\"";
  299.         // line 148
  300.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/sajongecom.js"), "html"nulltrue);
  301.         yield "\"></script>
  302.     <script src=\"";
  303.         // line 149
  304.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/otp.js"), "html"nulltrue);
  305.         yield "\"></script>
  306.     <script>
  307.           feather.replace();
  308.           ";
  309.         // line 152
  310.         if (Twig\Extension\CoreExtension::testEmpty(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.'152$this->source); })()), "user", [], "any"falsefalsefalse152))) {
  311.             // line 153
  312.             yield "          \$(document).ready(function() {
  313.             var locationpath = \"\"+window.location+\"\";
  314.             var nn_loginreg = locationpath.split(\"#\");    
  315.             if(nn_loginreg[1] == 'nnlogin' ) {
  316.               var offcanvasElement = \$(\"#login\");
  317.               var offcanvas = new bootstrap.Offcanvas(offcanvasElement);
  318.               offcanvas.toggle();
  319.             }
  320.           });
  321.           
  322.           function onSignIn(googleUser) {
  323.             \$.ajax({
  324.               type:\"post\",
  325.               url: \"";
  326.             // line 166
  327.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_social_login");
  328.             yield "\", 
  329.               data: {'credential':googleUser.credential, loginsubscribe:\$('#loginsubscribe').is(':checked')},
  330.               dataType: \"json\",
  331.               success: function(res) {
  332.                 if(res.success == 'Authentication failed') {
  333.                   alert('Google Authentication failed!!');
  334.                 }
  335.                 else {
  336.                   window.location.reload();
  337.                 }
  338.               },
  339.               error: function() {
  340.                 alert('We are facing some technical issue. Please try again.');
  341.               }
  342.             });
  343.           }
  344.           
  345.           ";
  346.         }
  347.         // line 184
  348.         yield "    </script>
  349.     ";
  350.         // line 185
  351.         yield from $this->unwrap()->yieldBlock('scripts'$context$blocks);
  352.         // line 186
  353.         yield "  </body>
  354. </html>
  355. ";
  356.         
  357.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  358.         
  359.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  360.         return; yield '';
  361.     }
  362.     // line 13
  363.     public function block_stylesheets($context, array $blocks = [])
  364.     {
  365.         $macros $this->macros;
  366.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  367.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  368.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  369.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  370.         
  371.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  372.         
  373.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  374.         return; yield '';
  375.     }
  376.     // line 114
  377.     public function block_body($context, array $blocks = [])
  378.     {
  379.         $macros $this->macros;
  380.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  381.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  382.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  383.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  384.         
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  386.         
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  388.         return; yield '';
  389.     }
  390.     // line 185
  391.     public function block_scripts($context, array $blocks = [])
  392.     {
  393.         $macros $this->macros;
  394.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  395.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  397.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  398.         
  399.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  400.         
  401.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  402.         return; yield '';
  403.     }
  404.     /**
  405.      * @codeCoverageIgnore
  406.      */
  407.     public function getTemplateName()
  408.     {
  409.         return "base.html.twig";
  410.     }
  411.     /**
  412.      * @codeCoverageIgnore
  413.      */
  414.     public function isTraitable()
  415.     {
  416.         return false;
  417.     }
  418.     /**
  419.      * @codeCoverageIgnore
  420.      */
  421.     public function getDebugInfo()
  422.     {
  423.         return array (  414 => 185,  395 => 114,  376 => 13,  363 => 186,  361 => 185,  358 => 184,  337 => 166,  322 => 153,  320 => 152,  314 => 149,  310 => 148,  306 => 147,  302 => 146,  298 => 145,  294 => 144,  286 => 139,  280 => 136,  276 => 135,  272 => 134,  264 => 129,  260 => 128,  256 => 127,  248 => 122,  244 => 121,  240 => 120,  236 => 119,  228 => 114,  218 => 107,  212 => 106,  202 => 105,  187 => 95,  180 => 91,  166 => 80,  162 => 79,  158 => 78,  154 => 77,  132 => 60,  100 => 31,  94 => 28,  87 => 24,  75 => 14,  73 => 13,  69 => 12,  65 => 11,  61 => 10,  57 => 9,  47 => 1,);
  424.     }
  425.     public function getSourceContext()
  426.     {
  427.         return new Source("<!doctype html>
  428. <html lang=\"en\" data-bs-theme=\"auto\">
  429.   <head>
  430.     <meta charset=\"utf-8\">
  431.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  432.     <meta name=\"description\" content=\"\">
  433.     <meta name=\"author\" content=\"Jince, Grinesh\">
  434.     <title>Noble Native</title>
  435.     <link rel=\"icon\" href=\"{{ asset('img/favicon.png')\t}}\">
  436.     <link href=\"{{ asset('css/bootstrap.css')\t}}\" rel=\"stylesheet\" type=\"text/css\">
  437.     <link href=\"{{ asset('css/bootstrap-icons.css')\t}}\" rel=\"stylesheet\" type=\"text/css\">
  438.     <link href=\"{{ asset('css/noblenative.css')\t}}\" rel=\"stylesheet\" type=\"text/css\">
  439.     {% block stylesheets %}{% endblock %}
  440.   </head>
  441.   <body>
  442.     <div class=\"offcanvas offcanvas-start p-4 shadow-lg\" tabindex=\"-1\" id=\"login\" aria-labelledby=\"loginlabel\">
  443.       <div class=\"offcanvas-header\">
  444.         <h5 class=\"offcanvas-title\" id=\"loginlabel\">Welcome</h5>
  445.         <button type=\"button\" class=\"btn-close shadow-none\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  446.       </div>
  447.       <div class=\"offcanvas-body\">
  448.         <div>
  449.           <h1>Step Back into Your World!</h1>
  450.           <form method=\"POST\" action=\"{{ path('sajong_ecom_email_login') }}\" id=\"emailotploginform\">
  451.             <div class=\"form-floating mb-3 mt-4\">
  452.               <input type=\"email\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" id=\"loginemail\" name=\"loginemail\" placeholder=\"name@example.com\" required>
  453.               <label for=\"loginemail\" class=\"px-4\">Email address</label>
  454.               <input type=\"hidden\" id=\"logincsrf\" name=\"logincsrf\" value=\"{{ csrf_token('otplogincsrf') }}\" />
  455.             </div>
  456.             <div class=\"form-check\">
  457.               <input class=\"form-check-input shadow-none border\" type=\"checkbox\" value=\"\" name=\"loginsubscribe\" id=\"loginsubscribe\" onchange=\"loginsubscribe('{{ path('sajong_ecom_email_subscribe') }}')\" checked>
  458.               <label class=\"form-check-label\" for=\"loginsubscribe\">
  459.                 Email me with news and offers
  460.               </label>
  461.             </div>
  462.             <button type=\"submit\" class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4 mt-3\"  role=\"button\" aria-controls=\"otp\">Sign In</button>
  463.             <div class=\"text-danger\" id=\"otploginerror\"></div>
  464.           </form>
  465.           <p class=\"text-center\">OR</p>
  466.           <div class=\"btn px-4 py-3 w-100 rounded-pill\" >
  467.             <div id=\"g_id_onload\"
  468.                  data-client_id=\"62339956659-gf4p78s73c5p33ajso8fbk9quhk7h4qe.apps.googleusercontent.com\"
  469.                  data-context=\"signin\"
  470.                  data-ux_mode=\"popup\"
  471.                  data-callback=\"onSignIn\"
  472.                  data-auto_prompt=\"false\">
  473.             </div>
  474.             <div class=\"g_id_signin\"
  475.                  data-type=\"standard\"
  476.                  data-shape=\"rectangular\"
  477.                  data-theme=\"outline\"
  478.                  data-text=\"signin_with\"
  479.                  data-size=\"large\"
  480.                  data-logo_alignment=\"left\"
  481.                  data-height=\"50\"
  482.                  data-width=\"250\">
  483.             </div>
  484.           </div>
  485.           <p>By signing in, you agree to our <a href=\"{{ path('sajong_ecom_privacy') }}\" class=\"text-decoration-underline\">privacy policy</a> and <a href=\"{{ path('sajong_ecom_terms') }}\" class=\"text-decoration-underline\">terms of services</a></p>
  486.         </div>
  487.         
  488.       </div>
  489.     </div>
  490.     <div class=\"offcanvas offcanvas-start p-4 shadow-lg\" tabindex=\"-1\" id=\"otp\" aria-labelledby=\"otplabel\">
  491.       <div class=\"offcanvas-header\">
  492.         <h5 class=\"offcanvas-title\" id=\"otplabel\">Welcome</h5>
  493.         <button type=\"button\" class=\"btn-close shadow-none\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  494.       </div>
  495.       <div class=\"offcanvas-body\">
  496.         <div class=\"text-center\">
  497.           <h1>Verify your identity</h1> 
  498.           <h6>Enter the code sent to</h6>
  499.           <h5 class=\"fw-bold mb-4\" id=\"loginemailgiven\">username@mailid.com</h5>
  500.           <form>
  501.             <div id=\"inputs\" class=\"inputs mb-4\">
  502.               <input class=\"input\" type=\"text\" name=\"loginotp1\" id=\"loginotp1\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('{{ path('sajong_ecom_email_otp') }}')\" />
  503.               <input class=\"input\" type=\"text\" name=\"loginotp2\" id=\"loginotp2\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('{{ path('sajong_ecom_email_otp') }}')\" />
  504.               <input class=\"input\" type=\"text\" name=\"loginotp3\" id=\"loginotp3\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('{{ path('sajong_ecom_email_otp') }}')\" />
  505.               <input class=\"input\" type=\"text\" name=\"loginotp4\" id=\"loginotp4\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('{{ path('sajong_ecom_email_otp') }}')\" />
  506.             </div>
  507.             <div class=\"text-danger\" id=\"otperror\"></div>
  508.             <button type=\"button\" class=\"shadow-none border-0 bg-transparent text-uppercase fw-semibold text-body mb-2 border-bottom\">Send Another Code</button>
  509.             <button type=\"button\" class=\"shadow-none border-0 bg-transparent text-uppercase fw-semibold text-body mb-2 border-bottom\">Try Another Email</button>
  510.           </form>    
  511.         </div>
  512.       </div>
  513.     </div>
  514.     <div class=\"bg-black text-white fixed-top w-100\">
  515.       <div class=\"container-fluid px-5\">
  516.         <div class=\"col-md-12 py-3 small\">{{ ecomvariables.textcontent('free_shipping_banner')|raw()\t}}</div>
  517.       </div>
  518.     </div>
  519.     <nav class=\"navbar navbar-expand-md fixed-top mt-5 bg-light\">
  520.       <div class=\"container-fluid px-5\"> <a class=\"navbar-brand\" href=\"{{ path('sajong_ecom_index') }}\"> <img src=\"{{ asset('img/logo.png')\t}}\" alt=\"logo\" title=\"NobleNative\" class=\"main-logo\"> </a>
  521.         <button class=\"navbar-toggler border-0 shadow-none\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\"> <span class=\"navbar-toggler-icon\"></span> </button>
  522.         <div class=\"collapse navbar-collapse\" id=\"navbarCollapse\">
  523.           <ul class=\"navbar-nav me-auto mb-2 mb-md-0\">
  524.             <li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">City</a> </li>
  525.             <li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">Brands</a> </li>
  526.             <li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">Products</a> </li>
  527.           </ul>
  528.           <div class=\"d-flex\">
  529.             <ul class=\"mt-0 pt-0 list-inline list-unstyled\">
  530.               <li class=\"list-inline-item ms-3\">{% if app.user %}<a href=\"{{ path('sajong_ecom_user_account') }}\">{% else %}<a data-bs-toggle=\"offcanvas\" href=\"#login\" role=\"button\" aria-controls=\"login\">{% endif %}<i data-feather=\"user\" class=\"iconsize\"></i></a></li>
  531.               <li class=\"list-inline-item ms-3\"> <a href=\"{{ path('sajong_ecom_cart_list') }}\" class=\"position-relative\"> <i data-feather=\"shopping-bag\" class=\"iconsize\"></i> <span class=\"position-absolute small bg-secondary text-white rounded-circle cart-count\">{{ ecomvariables.cartdetails().cartcount }}</span> </a> </li>
  532.               <li class=\"list-inline-item ms-3\"><a href=\"{{ path('sajong_ecom_faq') }}\"><i data-feather=\"help-circle\" class=\"iconsize\"></i></a></li>
  533.             </ul>
  534.           </div>
  535.         </div>
  536.       </div>
  537.     </nav>
  538.     <main>
  539.       {% block body %}{% endblock %}  
  540.       <div class=\"container-fluid px-5 text-white bg-dark pt-5 pb-5 mt-5\">
  541.         <div class=\"row\">
  542.           <div class=\"col-lg-2\">
  543.             <ul class=\"list-unstyled mb-4\">
  544.               <li class=\"mt-3\"><a href=\"{{ path('sajong_ecom_about') }}\" class=\"text-white\">About Us</a></li>
  545.               <li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_contact') }}\" class=\"text-white\">Contact Us</a></li>
  546.               <li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">FAQ's</a></li>
  547.               <li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">Gift Card</a></li>
  548.             </ul>
  549.           </div>
  550.           <div class=\"col-lg-2\">
  551.             <ul class=\"list-unstyled\">
  552.               <li class=\"mt-3\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">Join N|N</a></li>
  553.               <li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">Brand Collab</a></li>
  554.               <li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">Designer Collab</a></li>
  555.             </ul>
  556.           </div>
  557.           <div class=\"col-lg-12\">
  558.             <ul class=\"list-unstyled list-inline mb-4\">
  559.               <li class=\"list-inline-item\"><a href=\"{{ ecomvariables.textcontent('site_insta_page')\t}}\"><i data-feather=\"instagram\" class=\"iconsize-footer\"></i></a></li>
  560.               <li class=\"list-inline-item\"><a href=\"{{ ecomvariables.textcontent('site_fb_page')\t}}\"><i data-feather=\"facebook\" class=\"iconsize-footer\"></i></a></li>
  561.               <li class=\"list-inline-item\"><a href=\"{{ ecomvariables.textcontent('site_yt_page')\t}}\"><i data-feather=\"youtube\" class=\"iconsize-footer\"></i></a></li>
  562.             </ul>
  563.           </div>
  564.           <div class=\"col-lg-12\">Copyright {{ \"now\"|date(\"Y\") }} Noble Native. All rights reserved</div>
  565.         </div>
  566.       </div>
  567.     </main>
  568.     <script src=\"https://accounts.google.com/gsi/client\" async defer></script>
  569.     <script src=\"{{ asset('js/jquery-3.6.3.js')\t}}\"></script> 
  570.     <script src=\"{{ asset('js/bootstrap.bundle.min.js')\t}}\" type=\"text/javascript\" ></script> 
  571.     <script src=\"{{ asset('js/feather.min.js')\t}}\" type=\"text/javascript\" ></script>    
  572.     <script type=\"text/javascript\" src=\"{{ asset('js/jquery-validate.js')\t}}\"></script>
  573.     <script src=\"{{\tasset('js/sajongecom.js')\t}}\"></script>
  574.     <script src=\"{{\tasset('js/otp.js')\t}}\"></script>
  575.     <script>
  576.           feather.replace();
  577.           {% if app.user is empty %}
  578.           \$(document).ready(function() {
  579.             var locationpath = \"\"+window.location+\"\";
  580.             var nn_loginreg = locationpath.split(\"#\");    
  581.             if(nn_loginreg[1] == 'nnlogin' ) {
  582.               var offcanvasElement = \$(\"#login\");
  583.               var offcanvas = new bootstrap.Offcanvas(offcanvasElement);
  584.               offcanvas.toggle();
  585.             }
  586.           });
  587.           
  588.           function onSignIn(googleUser) {
  589.             \$.ajax({
  590.               type:\"post\",
  591.               url: \"{{ path('sajong_ecom_social_login') }}\", 
  592.               data: {'credential':googleUser.credential, loginsubscribe:\$('#loginsubscribe').is(':checked')},
  593.               dataType: \"json\",
  594.               success: function(res) {
  595.                 if(res.success == 'Authentication failed') {
  596.                   alert('Google Authentication failed!!');
  597.                 }
  598.                 else {
  599.                   window.location.reload();
  600.                 }
  601.               },
  602.               error: function() {
  603.                 alert('We are facing some technical issue. Please try again.');
  604.               }
  605.             });
  606.           }
  607.           
  608.           {% endif %}
  609.     </script>
  610.     {% block scripts %}{% endblock %}
  611.   </body>
  612. </html>
  613. ""base.html.twig""/var/www/commerce8/noble_natives/templates/base.html.twig");
  614.     }
  615. }