<!DOCTYPE html>
<html lang="ar" direction="rtl" dir="rtl" style="direction: rtl">
	<head>
		<title><?php echo e($settings['site_name']); ?></title>
		<meta charset="utf-8" />
		<meta name="description" content="<?php echo e($settings['site_name']); ?>" />
		<meta name="keywords" content="<?php echo e($settings['site_name']); ?>" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="icon" type="image/png" href="<?php echo e(asset('assets/logo.png')); ?>"/>
        <link rel="manifest" href="<?php echo e(asset('images/favicon/site.webmanifest')); ?>">
        <link rel="mask-icon" href="<?php echo e(asset('images/favicon/safari-pinned-tab.svg')); ?>" color="#5bbad5">
        <meta name="msapplication-TileColor" content="#da532c">
        <meta name="theme-color" content="#ffffff">
		<link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900" rel="stylesheet">
		<link href="<?php echo e(asset('assets/plugins/global/plugins.bundle.rtl.css')); ?>" rel="stylesheet" type="text/css" />
		<link href="<?php echo e(asset('assets/css/style.bundle.rtl.css')); ?>?version=<?php echo e(config('app.version')); ?>" rel="stylesheet" type="text/css" />
		<?php echo $__env->yieldContent('styles'); ?>
		<link rel="stylesheet" href="<?php echo e(asset('assets/css/custom.css')); ?>?version=<?php echo e(config('app.version')); ?>">
		<link rel="stylesheet" href="<?php echo e(asset('assets/css/custom-rtl.css')); ?>?version=<?php echo e(config('app.version')); ?>">
		<link rel="stylesheet" href="<?php echo e(asset('assets/plugins/custom/tinymce/skins/ui/oxide/skin.min.rtl.css')); ?>?version=<?php echo e(config('app.version')); ?>">
		<script src="<?php echo e(asset('assets/plugins/custom/tinymce/tinymce.bundle.js')); ?>?version=<?php echo e(config('app.version')); ?>">
        </script>

        <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>" />
	</head>
	<body id="kt_app_body" data-kt-app-header-fixed="true" data-kt-app-header-fixed-mobile="true" data-kt-app-sidebar-enabled="true" data-kt-app-sidebar-fixed="true" data-kt-app-sidebar-hoverable="true" data-kt-app-sidebar-push-header="true" data-kt-app-sidebar-push-toolbar="true" data-kt-app-sidebar-push-footer="true" class="app-default">
		<script>
			var defaultThemeMode = "light";
			var themeMode;

			if (document.documentElement) {
				if (document.documentElement.hasAttribute("data-bs-theme-mode")) {
					themeMode = document.documentElement.getAttribute("data-bs-theme-mode");
				} else {
					if (localStorage.getItem("data-bs-theme") !== null) {
						themeMode = localStorage.getItem("data-bs-theme");
					} else {
						themeMode = defaultThemeMode;
					}
				}

				if (themeMode === "system") {
					themeMode = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
				}

				document.documentElement.setAttribute("data-bs-theme", themeMode);
			}
		</script>
		<div class="d-flex flex-column flex-root app-root" id="kt_app_root">
			<div class="app-page flex-column flex-column-fluid" id="kt_app_page">
				<div id="kt_app_header" class="app-header">
					<div class="app-container container-fluid d-flex align-items-stretch flex-stack" id="kt_app_header_container">
						<div class="d-flex align-items-center d-block d-lg-none ms-n3" title="Show sidebar menu">
							<div class="btn btn-icon btn-active-color-primary w-35px h-35px me-2" id="kt_app_sidebar_mobile_toggle">
								<i class="ki-outline ki-abstract-14 fs-2"></i>
							</div>
							<a href="<?php echo e(route('home')); ?>">
								<img alt="<?php echo e($settings['site_name']); ?>" src="<?php echo e(asset('images/logo.png')); ?>" class="h-30px d-sm-inline app-sidebar-logo-default theme-light-show" />
								<img alt="<?php echo e($settings['site_name']); ?>" src="<?php echo e(asset('images/logo-dark.png')); ?>" class="h-30px theme-dark-show" />
							</a>
						</div>
						<div class="app-navbar flex-lg-grow-1" id="kt_app_header_navbar">
                            <div class="app-navbar-item d-flex align-items-stretch flex-lg-grow-1">
                            </div>
							<div class="app-navbar-item ms-1 ms-md-3" id="kt_header_user_menu_toggle">
								<div class="cursor-pointer symbol symbol-circle symbol-35px symbol-md-45px" data-kt-menu-trigger="{default: 'click', lg: 'hover'}" data-kt-menu-attach="parent" data-kt-menu-placement="bottom-end">
								
								</div>
								<div class="menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg menu-state-color fw-semibold py-4 fs-6 w-275px" data-kt-menu="true">
									<div class="menu-item px-3">
										<div class="menu-content d-flex align-items-center px-3">
											<div class="symbol symbol-50px me-5">
											
											</div>
											<div class="d-flex flex-column">

											</div>
										</div>
									</div>
									<div class="separator my-2"></div>
									<div class="menu-item px-5">
										<a href="<?php echo e(route('myaccount.profile')); ?>" class="menu-link px-5">الملف الشخصي</a>
									</div>
									<div class="menu-item px-5">
										<a href="<?php echo e(route('myaccount.security')); ?>" class="menu-link px-5">الحماية</a>
									</div>
									<div class="separator my-2"></div>
									<div class="menu-item px-5" data-kt-menu-trigger="{default: 'click', lg: 'hover'}" data-kt-menu-placement="left-start" data-kt-menu-offset="-15px, 0">
										<a href="#" class="menu-link px-5">
											<span class="menu-title position-relative">الوضع
											<span class="ms-5 position-absolute translate-middle-y top-50 end-0">
												<i class="ki-outline ki-night-day theme-light-show fs-2"></i>
												<i class="ki-outline ki-moon theme-dark-show fs-2"></i>
											</span></span>
										</a>
										<div class="menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-title-gray-700 menu-icon-gray-500 menu-active-bg menu-state-color fw-semibold py-4 fs-base w-150px" data-kt-menu="true" data-kt-element="theme-mode-menu">
											<div class="menu-item px-3 my-0">
												<a href="#" class="menu-link px-3 py-2" data-kt-element="mode" data-kt-value="light">
													<span class="menu-icon" data-kt-element="icon">
														<i class="ki-outline ki-night-day fs-2"></i>
													</span>
													<span class="menu-title">الوضع النهاري</span>
												</a>
											</div>
											<div class="menu-item px-3 my-0">
												<a href="#" class="menu-link px-3 py-2" data-kt-element="mode" data-kt-value="dark">
													<span class="menu-icon" data-kt-element="icon">
														<i class="ki-outline ki-moon fs-2"></i>
													</span>
													<span class="menu-title">الوضع الليلي</span>
												</a>
											</div>
											<div class="menu-item px-3 my-0">
												<a href="#" class="menu-link px-3 py-2" data-kt-element="mode" data-kt-value="system">
													<span class="menu-icon" data-kt-element="icon">
														<i class="ki-outline ki-screen fs-2"></i>
													</span>
													<span class="menu-title">وضع النظام</span>
												</a>
											</div>
										</div>
									</div>
									<div class="menu-item px-5">
										<a id="logout" href="<?php echo e(route('auth.logout')); ?>" class="menu-link px-5">تسجيل الخروج</a>
									</div>
								</div>
							</div>
						</div>
						<div class="app-navbar-separator separator d-none d-lg-flex"></div>
					</div>
				</div>
				<div class="app-wrapper flex-column flex-row-fluid" id="kt_app_wrapper">
					<div id="kt_app_sidebar" class="app-sidebar flex-column" data-kt-drawer="true" data-kt-drawer-name="app-sidebar" data-kt-drawer-activate="{default: true, lg: false}" data-kt-drawer-overlay="true" data-kt-drawer-width="250px" data-kt-drawer-direction="start" data-kt-drawer-toggle="#kt_app_sidebar_mobile_toggle">
						<div class="app-sidebar-header d-flex flex-stack d-none d-lg-flex pt-8 pb-2" id="kt_app_sidebar_header">
							<a href="<?php echo e(route('home')); ?>" class="app-sidebar-logo">
								<img alt="<?php echo e($settings['site_name']); ?>" src="<?php echo e(asset('images/logo.png')); ?>" class="h-55px d-none d-sm-inline app-sidebar-logo-default theme-light-show" />
								<img alt="<?php echo e($settings['site_name']); ?>" src="<?php echo e(asset('images/logo-dark.png')); ?>" class="h-50px h-lg-55px theme-dark-show" />
							</a>
							<div id="kt_app_sidebar_toggle" class="app-sidebar-toggle btn btn-sm btn-icon bg-light btn-color-gray-700 btn-active-color-primary d-none d-lg-flex rotate" data-kt-toggle="true" data-kt-toggle-state="active" data-kt-toggle-target="body" data-kt-toggle-name="app-sidebar-minimize">
								<i class="ki-outline ki-text-align-right rotate-180 fs-1"></i>
							</div>
						</div>
						<div class="app-sidebar-navs flex-column-fluid py-6" id="kt_app_sidebar_navs">
							<div id="kt_app_sidebar_navs_wrappers" class="app-sidebar-wrapper hover-scroll-y my-2" data-kt-scroll="true" data-kt-scroll-activate="true" data-kt-scroll-height="auto" data-kt-scroll-dependencies="#kt_app_sidebar_header" data-kt-scroll-wrappers="#kt_app_sidebar_navs" data-kt-scroll-offset="5px">
								<div id="#kt_app_sidebar_menu" data-kt-menu="true" data-kt-menu-expand="false" class="app-sidebar-menu-primary menu menu-column menu-rounded menu-sub-indention menu-state-bullet-primary">
                                    <?php echo $__env->make('layouts.menu-sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
								</div>
							</div>
						</div>
					</div>
					<div class="app-main flex-column flex-row-fluid" id="kt_app_main">
						<div class="d-flex flex-column flex-column-fluid">

							<div id="kt_app_content" class="app-content flex-column-fluid">
								<div id="kt_app_content_container" class="app-container container-fluid">
									<?php echo $__env->yieldContent('content'); ?>
								</div>
							</div>
						</div>
						<div id="kt_app_footer" class="app-footer">
							<div class="app-container container-fluid d-flex flex-column flex-md-row flex-center flex-md-stack py-3">
								<div class="text-dark order-2 order-md-1">
									<span class="text-muted fw-semibold me-1"><?php echo e(date('Y')); ?>&copy;</span>
									<span class="text-gray-800 text-hover-primary"><?php echo e($settings['site_name']); ?></span>
								</div>
								<div class="fw-semibold order-1">
									برمجة وتصميم <a href="https://www.ivorytraining.com" target="_blank" class="text-primary">ايفوري للتدريب</a>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div id="kt_scrolltop" class="scrolltop" data-kt-scrolltop="true">
			<i class="ki-outline ki-arrow-up"></i>
		</div>
		<?php
			$reload = "".asset('assets/js/reload.js').'?version='.config('app.version')."";
		?>
		<script>
			var RELOAD_FILE = "<?php echo $reload; ?>";
            var marker = "<?php echo e(asset('images/map.png')); ?>";
		</script>
		<script src="<?php echo e(asset('assets/plugins/global/plugins.bundle.js')); ?>?version=<?php echo e(config('app.version')); ?>"></script>
		<script src="<?php echo e(asset('assets/js/scripts.bundle.js')); ?>?version=<?php echo e(config('app.version')); ?>"></script>
		
		<script type="text/javascript" src='https://maps.google.com/maps/api/js?sensor=false&libraries=places&key=AIzaSyCi9FLukB2t_bpLl0fB_Gk8lO9Y18u1VSo'></script>
        <script src="<?php echo e(asset('assets/js/locationpicker.jquery.js')); ?>?v=<?php echo e(config('app.version')); ?>"></script>
        <script src="<?php echo e(asset('assets/js/jquery.form.js')); ?>?v=<?php echo e(config('app.version')); ?>"></script>

		<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css">
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>

		<script src="<?php echo e(asset('assets/js/auth.js')); ?>?version=<?php echo e(config('app.version')); ?>"></script>
		<script src="<?php echo e(asset('assets/js/options.js')); ?>?version=<?php echo e(config('app.version')); ?>"></script>
		<script src="<?php echo $reload; ?>"></script>

		<?php echo $__env->yieldContent('scripts'); ?>
		<script src="<?php echo e(asset('assets/js/form.js')); ?>?version=<?php echo e(config('app.version')); ?>"></script>
		<script src="<?php echo e(asset('assets/js/custom.js')); ?>?version=<?php echo e(config('app.version')); ?>"></script>
		<script>
			console.log('hi bra');


		</script>

<script>
    setTimeout(initializeTinyMCE, 1000);
    $(document).on('focusin', function(e) {
    if ($(e.target).closest(".mce-window").length || $(e.target).closest(".moxman-window").length) {
        e.stopImmediatePropagation();
    }
});
</script>
		<?php if(session('warning')): ?>
			<script>
				toastr.error("<?php echo e(session('warning')); ?>", 'خطأ!');
			</script>
		<?php endif; ?>

	</body>
</html>
<?php /**PATH /Users/haladigitally/Desktop/TR/operations_manager/resources/views/layouts/app2.blade.php ENDPATH**/ ?>