<!DOCTYPE html>
<html dir="<?php echo e(getCurrentLocale() == 'ar' ? 'rtl' : 'ltr'); ?> ">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="keyword" content="">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>" />
    <!--Page Name-->
    <title> <?php echo e(__('web.project') .' | '.($title??'')); ?> </title>
    <!--Page Icon-->
    <link rel="shortcut icon" href="<?php echo e(url('')); ?>/assets/web/images/icon.png" type="image/x-icon" title="Favicon" sizes="16x16" />

    <!--Bootstrap with RTL-->
    <?php if(getCurrentLocale() == 'ar'): ?>
    <link rel="stylesheet" href="<?php echo e(url('')); ?>/assets/web/css/lib/bootstrap.rtl.css">
    <?php endif; ?>
    <!--Bootstrap with LTR-->
     <?php if(getCurrentLocale() == 'en'): ?>
    <link rel="stylesheet" href="<?php echo e(url('')); ?>/assets/web/css/lib/bootstrap.min.css">
    <?php endif; ?>
    <!-- Fontawosome 6 pro icons  -->
    <link rel="stylesheet" href="<?php echo e(url('')); ?>/assets/web/css/lib/all.min.css">
    <!-- Libraries  -->
    <link rel="stylesheet" href="<?php echo e(url('')); ?>/assets/web/css//lib/animate.css">
    <link rel="stylesheet" href="<?php echo e(url('')); ?>/assets/web/css/lib/jquery.fancybox.css">
    <link rel="stylesheet" href="<?php echo e(url('')); ?>/assets/web/css/lib/swiper.min.css">
    <link rel="stylesheet" href="<?php echo e(url('')); ?>/assets/web/css/style.css">
    <?php if(getCurrentLocale() == 'en'): ?>
        <link rel="stylesheet" href="<?php echo e(url('')); ?>/assets/web/css/style_en.css">
    <?php endif; ?>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
    <link  rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css">
</head>

<body>


        <?php if(!in_array(\Request::route()?->getName() ,[ 'web.coming','web.bill'])): ?>
            <?php echo $__env->make('web.layouts.menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endif; ?>
        <!-- Modal -->
        <?php echo $__env->yieldContent('content'); ?>

        <?php if(!in_array(\Request::route()?->getName() ,[ 'web.coming','web.bill'])): ?>
            <?php echo $__env->make('web.layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endif; ?>
        <!--Js Files & Libraries-->
        <script src="<?php echo e(url('')); ?>/assets/web/js/lib/jquery4.js"></script>
        <script src="<?php echo e(url('')); ?>/assets/web/js/lib/popper.js"></script>
        <script src="<?php echo e(url('')); ?>/assets/web/js/lib/bootstrap.bundle.min.js"></script>
        <script src="<?php echo e(url('')); ?>/assets/web/js/lib/jquery.fancybox.js"></script>
        <script src="<?php echo e(url('')); ?>/assets/web/js/lib/swiper.js"></script>
        <script src="<?php echo e(url('')); ?>/assets/web/js/lib/wow.min.js"></script>
        <script src="<?php echo e(url('')); ?>/assets/web/js/lib/back-to-top.js"></script>
        <script src="<?php echo e(url('')); ?>/assets/web/js/main.js"></script>

        <?php echo $__env->yieldContent('inject_js'); ?>
        <?php if($errors->any()): ?>
            <script>

                setTimeout(
                    function()
                    {
                        toasterError(<?php echo json_encode($errors->first()); ?>);
                    }, 500);
            </script>
        <?php endif; ?>
        <script>
                if("<?php echo e(Session::has('error')); ?>")
                {
                    setTimeout(
                        function()
                        {
                            toasterError(<?php echo json_encode(Session::get('error')); ?>);
                        }, 500);
                }
            </script>

            <script>
                if("<?php echo e(session('success')); ?>")
                {
                    setTimeout(
                        function()
                        {
                            toasterSuccess("<?php echo e(session('success')); ?>");
                        }, 500);
                }
            </script>
            <script>
                let url_favorite = "<?php echo e(route('web.favorite.store')); ?>"
                let user = "<?php echo e(auth()->user()); ?>"
                let login_first = "<?php echo e(__('web.login_first')); ?>"
                let url_add_to_cart = "<?php echo e(route('cart.store')); ?>"
            </script>
            <script src="<?php echo e(url('')); ?>/assets/web/js/custom/formAction.js"></script>
            <script src="<?php echo e(url('')); ?>/assets/web/js/custom/response.js"></script>
            <script src="<?php echo e(url('')); ?>/assets/web/js/custom/relation.js"></script>
            <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
    </body>
</html>
<?php /**PATH /Applications/MAMP/htdocs/made/resources/views/web/layouts/layout.blade.php ENDPATH**/ ?>