1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[160],{63:(e,t,r)=>{"use strict";var a=r(7260);r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}})},520:e=>{e.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_c29908",variable:"__variable_c29908"}},865:(e,t,r)=>{"use strict";r.d(t,{p9:()=>n,qS:()=>i,y1:()=>s});var a=r(4364);let n={"driving-computer-test":{en:"driving-computer-test",ar:"اختبار-ÙØ¸Ø±Ù-ÙÙÙÙØ§Ø¯Ø©",ur:"Ø³Ø¹ÙØ¯Û-ÚØ±Ø§Ø¦ÛÙÙÚ¯-Ù¹ÛØ³Ù¹",hi:"सà¤à¤¦à¥-डà¥à¤°à¤¾à¤à¤µà¤¿à¤à¤-à¤à¥à¤¸à¥à¤",bn:"সà§à¦¦à¦¿-ডà§à¦°à¦¾à¦à¦à¦¿à¦-à¦à§à¦¸à§à¦"},"about-us":{en:"about-us",ar:"Ù
عÙÙÙ
ات-Ø¹ÙØ§",ur:"ÛÙ
ارÛ-بارÛ-Ù
ÛÚº",hi:"हमारà¥-बारà¥-मà¥à¤",bn:"à¦à¦®à¦¾à¦¦à§à¦°-সমà§à¦ªà¦°à§à¦à§"},"contact-us":{en:"contact-us",ar:"اتصÙ-Ø¨ÙØ§",ur:"ÛÙ
-سÛ-رابطÛ-کرÛÚº",hi:"सà¤à¤ªà¤°à¥à¤-à¤à¤°à¥à¤",bn:"যà§à¦à¦¾à¦¯à§à¦-à¦à¦°à§à¦¨"},"privacy-policy":{en:"privacy-policy",ar:"Ø³ÙØ§Ø³Ø©-Ø§ÙØ®ØµÙØµÙØ©",ur:"رازدارÛ-Ú©Û-پاÙÛØ³Û",hi:"à¤à¥à¤ªà¤¨à¥à¤¯à¤¤à¤¾-नà¥à¤¤à¤¿",bn:"à¦à§à¦ªà¦¨à§à¦¯à¦¼à¦¤à¦¾-নà§à¦¤à¦¿"}};function i(e,t){let r=n[e];return r?r[t]||r[a.eG]:e}function s(e,t){try{let r=decodeURIComponent(e);for(let[a,i]of Object.entries(n)){let n=i[t];if(n===r||n===e)return a}for(let[t,a]of Object.entries(n))for(let[,n]of Object.entries(a))if(n===r||n===e)return t}catch(e){console.error("Error decoding slug:",e)}return null}},2446:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var a=r(4420),n=r(4364);function i(){let{lang:e}=(0,a.K)(),t=(0,n.V8)(e);return{isRTL:t,dir:t?"rtl":"ltr"}}},3034:e=>{e.exports={style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"},className:"__className_246ccd",variable:"__variable_246ccd"}},3673:()=>{},3732:(e,t,r)=>{"use strict";r.d(t,{l:()=>i});var a=r(898),n=r(9284);let i=[{name:"Twitter",href:n.c.social.twitter,icon:a.feZ},{name:"Facebook",href:n.c.social.facebook,icon:a.iYk},{name:"Instagram",href:n.c.social.instagram,icon:a.ao$},{name:"Email",href:"mailto:".concat(n.c.site.contactEmail),icon:a.maD}]},3976:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(5155),n=r(2619),i=r.n(n),s=r(4420),l=r(4364);function o(e){let{href:t,children:r,className:n,lang:o,onClick:c,...d}=e,{lang:u}=(0,s.K)(),h=o||u;if(t.startsWith("http")||t.startsWith("#")||t.startsWith("mailto:")||t.startsWith("tel:"))return(0,a.jsx)(i(),{href:t,className:n,onClick:c,...d,children:r});let g=t;return"/"===t?g="/".concat(h):t.match(new RegExp("^/(".concat(l.Uv.join("|"),")/")))||(g="/".concat(h).concat(t.startsWith("/")?t:"/".concat(t))),(0,a.jsx)(i(),{href:g,className:n,onClick:c,...d,children:r})}},4652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getImageProps:function(){return l}});let a=r(8140),n=r(2659),i=r(1356),s=a._(r(1124));function l(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let o=i.Image},5239:(e,t,r)=>{"use strict";r.d(t,{default:()=>n.a});var a=r(4652),n=r.n(a)},5677:(e,t,r)=>{"use strict";r.d(t,{default:()=>b});var a=r(5155),n=r(2115),i=r(5239),s=r(63);let l=n.forwardRef(function(e,t){let{title:r,titleId:a,...i}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},i),r?n.createElement("title",{id:a},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}),o=n.forwardRef(function(e,t){let{title:r,titleId:a,...i}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},i),r?n.createElement("title",{id:a},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18
118 6M6 6l12 12"}))}),c=n.forwardRef(function(e,t){let{title:r,titleId:a,...i}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},i),r?n.createElement("title",{id:a},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))});var d=r(4364),u=r(4420),h=r(865);function g(){let{lang:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{lang:t}=(0,u.K)(),r=e||t,[i,o]=(0,n.useState)(!1),[c,g]=(0,n.useState)(!1),m=(0,s.usePathname)(),f=(0,s.useRouter)(),p=(0,n.useRef)(null),v=d.BI[r];(0,n.useEffect)(()=>{let e=e=>{p.current&&!p.current.contains(e.target)&&o(!1)};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[]);let b=async e=>{if(e!==r&&!c){g(!0);try{document.cookie="NEXT_LOCALE=".concat(e,"; path=/; max-age=").concat(2592e3,"; SameSite=Strict");let[t,r,a]=(e=>{let t=e.split("/").filter(Boolean);if(t.length<2)return[!1,null,null];let r=t[0],a=t[1];for(let e of Object.keys(h.p9))if(e===a)return[!0,e,a];for(let[e,t]of Object.entries(h.p9))for(let[,r]of Object.entries(t))if(r===a)return[!0,e,a];let n=(0,h.y1)(a,r);return n?[!0,n,a]:[!1,null,null]})(m);if(t&&r){console.log("Static page detected: ".concat(r,", current slug: ").concat(a));let t=(0,h.qS)(r,e);console.log("Redirecting to: /".concat(e,"/").concat(t)),window.location.href="/".concat(e,"/").concat(t);return}let n=(e=>{let t=e.split("/").filter(Boolean);return t.length<2?null:"category"===t[1]?{type:"category",slug:t.length>2?t[2]:null,postSlug:t.length>3?t[3]:null}:"driving-schools"===t[1]&&t.length>2?{type:"drivingSchool",slug:t[2]}:"post"===t[1]&&t.length>2?{type:"post",slug:t[2]}:"driving-education"===t[1]&&t.length>2?{type:"post",category:"driving-education",slug:t[2]}:"practice-tests"===t[1]&&t.length>2?{type:"test",id:t[2]}:null})(m);if(n&&"category"===n.type){let t="/api/language-switch?lang=".concat(e,"&type=category&path=").concat(m),r=await fetch(t);if(r.ok){let e=await r.json();if(e.redirectUrl){f.push(e.redirectUrl),o(!1);return}}}else if(n&&n.slug){let t="/api/language-switch?slug=".concat(n.slug,"&lang=").concat(e,"&type=").concat(n.type);n.category&&(t+="&category=".concat(n.category));let r=await fetch(t);if(r.ok){let e=await r.json();if(e.redirectUrl){f.push(e.redirectUrl),o(!1);return}}}let i=m.split("/");i.length>1&&d.Uv.includes(i[1])?i[1]=e:i.splice(1,0,e),f.push(i.join("/")),o(!1)}catch(e){console.error("Error switching language:",e)}finally{g(!1)}}};return(0,a.jsxs)("div",{className:"relative",ref:p,children:[(0,a.jsxs)("button",{onClick:()=>o(!i),className:"flex items-center space-x-1 px-2 py-1 rounded-md border border-gray-300 hover:bg-gray-100 transition-colors ".concat(c?"opacity-50 cursor-wait":""),"aria-expanded":i,"aria-haspopup":"listbox",disabled:c,children:[(0,a.jsx)("span",{className:"mr-1",children:v.flag}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700",children:v.code.toUpperCase()}),(0,a.jsx)(l,{className:"h-4 w-4 text-gray-500"})]}),i&&(0,a.jsx)("div",{className:"absolute mt-1 right-0 w-36 bg-white border border-gray-300 rounded-md shadow-lg z-50",children:(0,a.jsx)("ul",{className:"py-1",role:"listbox",children:d.Uv.map(e=>{let t=d.BI[e];return(0,a.jsx)("li",{role:"option","aria-selected":r===e,className:"px-3 py-2 cursor-pointer hover:bg-gray-100 flex items-center justify-between ".concat(r===e?"bg-gray-100":""),onClick:()=>b(e),children:(0,a.jsxs)("span",{children:[t.flag," ",t.nativeName]})},e)})})})]})}var m=r(3976);let f={"driving-education":{en:"driving-education",ar:"تعÙÙÙ
-اÙÙÙØ§Ø¯Ø©",ur:"ÚØ±Ø§Ø¦ÛÙÙÚ¯-تعÙÛÙ
",hi:"डà¥à¤°à¤¾à¤à¤µà¤¿à¤à¤-शिà¤à¥à¤·à¤¾",bn:"ডà§à¦°à¦¾à¦à¦à¦¿à¦-শিà¦à§à¦·à¦¾"},"traffic-violations-fines":{en:"traffic-violations-fines",ar:"اÙÙ
خاÙÙØ§Øª-اÙÙ
Ø±ÙØ±ÙØ©-ÙØ§ÙغراÙ
ات",ur:"ٹرÛÙÚ©-Ø®ÙØ§Ù-ÙØ±Ø²Ûاں-Ø§ÙØ±-جرÙ
اÙÛ",hi:"यातायात-à¤à¤²à¥à¤²à¤à¤à¤¨-à¤à¤°-à¤à¥à¤°à¥à¤®à¤¾à¤¨à¤¾",bn:"à¦à§à¦°à¦¾à¦«à¦¿à¦-লà¦à§à¦à¦¨-à¦-à¦à¦°à¦¿à¦®à¦¾à¦¨à¦¾"},"license-information":{en:"license-information",ar:"Ù
عÙÙÙ
ات-Ø§ÙØ±Ø®ØµØ©",ur:"ÙØ§Ø¦Ø³Ùس-Ú©Û-Ù
عÙÙÙ
ات",hi:"लाà¤à¤¸à¥à¤à¤¸-à¤à¤¾à¤¨à¤à¤¾à¤°à¥",bn:"লাà¦à¦¸à§à¦¨à§à¦¸-তথà§à¦¯"},"vehicle-registration-plates":{en:"vehicle-registration-plates",ar:"تسجÙÙ-اÙÙ
Ø±ÙØ¨Ø§Øª-ÙØ§ÙÙÙØØ§Øª",ur:"گاÚÛ-Ú©Û-Ø±Ø¬Ø³Ù¹Ø±ÛØ´Ù-Ø§ÙØ±-Ù¾ÙÛٹس",hi:"वाहन-पà¤à¤à¥à¤à¤°à¤£-à¤à¤°-नà¤à¤¬à¤°-पà¥à¤²à¥à¤",bn:"যানবাহন-নিবনà§à¦§à¦¨-à¦-পà§à¦²à§à¦"},"license-renewal-replacement":{en:"license-renewal-replacement",ar:"ØªØ¬Ø¯ÙØ¯-ÙØ§Ø³ØªØ¨Ø¯Ø§Ù-Ø§ÙØ±Ø®ØµØ©",ur:"ÙØ§Ø¦Ø³Ùس-Ú©Û-ØªØ¬Ø¯ÛØ¯-Ø§ÙØ±-تبدÛÙÛ",hi:"लाà¤à¤¸à¥à¤à¤¸-नवà¥à¤¨à¥à¤à¤°à¤£-à¤à¤°-पà¥à¤°à¤¤à¤¿à¤¸à¥à¤¥à¤¾à¤ªà¤¨",bn:"লাà¦à¦¸à§à¦¨à§à¦¸-নবায়ন-à¦-পà§à¦°à¦¤à¦¿à¦¸à§à¦¥à¦¾à¦ªà¦¨"},"vehicle-ownership":{en:"vehicle-ownership",ar:"Ù
ÙÙÙØ©-اÙÙ
Ø±ÙØ¨Ø§Øª",ur:"گاÚÛ-Ú©Û-Ù
ÙÚ©ÛØª",hi:"वाहन-सà¥à¤µà¤¾à¤®à¤¿à¤¤à¥à¤µ",bn:"যানবাহন-মালিà¦à¦¾à¦¨à¦¾"},"travel-tourism":{en:"travel-tourism",ar:"Ø§ÙØ³Ùر-ÙØ§ÙØ³ÙØ§ØØ©",ur:"Ø³ÙØ±-Ù-Ø³ÛØ§ØØª",hi:"यातà¥à¤°à¤¾-à¤à¤°-परà¥à¤¯à¤à¤¨",bn:"à¦à§à¦°à¦®à¦£-
1à¦-পরà§à¦¯à¦à¦¨"},"driving-abroad":{en:"driving-abroad",ar:"اÙÙÙØ§Ø¯Ø©-ÙÙ-Ø§ÙØ®Ø§Ø±Ø¬-برخصة-Ø³Ø¹ÙØ¯ÙØ©",ur:"Ø³Ø¹ÙØ¯Û-ÙØ§Ø¦Ø³Ùس-Ú©Û-ساتھ-Ø¨ÛØ±ÙÙ-Ù
ÙÚ©-ÚØ±Ø§Ø¦ÛÙÙÚ¯",hi:"सà¤à¤¦à¥-लाà¤à¤¸à¥à¤à¤¸-à¤à¥-साथ-विदà¥à¤¶-मà¥à¤-डà¥à¤°à¤¾à¤à¤µà¤¿à¤à¤",bn:"সà§à¦¦à¦¿-লাà¦à¦¸à§à¦¨à§à¦¸-দিয়à§-বিদà§à¦¶à§-à¦à¦¾à¦¡à¦¼à¦¿-à¦à¦¾à¦²à¦¾à¦¨à§"},"mobile-apps":{en:"mobile-apps",ar:"تطبÙÙØ§Øª-اÙÙ
ÙØ¨Ø§ÙÙ",ur:"Ù
ÙØ¨Ø§Ø¦Ù-اÛÙ¾",hi:"मà¥à¤¬à¤¾à¤à¤²-à¤à¤ªà¥à¤¸",bn:"মà§à¦¬à¦¾à¦à¦²-à¦
à§à¦¯à¦¾à¦ªà¦¸"},"importing-exporting-vehicles":{en:"importing-exporting-vehicles",ar:"Ø§Ø³ØªÙØ±Ø§Ø¯-ÙØªØµØ¯Ùر-اÙÙ
Ø±ÙØ¨Ø§Øª",ur:"گاÚÛÙÚº-Ú©Û-درآÙ
د-Ø§ÙØ±-برآÙ
د",hi:"वाहनà¥à¤-à¤à¤¾-à¤à¤¯à¤¾à¤¤-à¤à¤°-निरà¥à¤¯à¤¾à¤¤",bn:"যানবাহন-à¦à¦®à¦¦à¦¾à¦¨à¦¿-à¦-রপà§à¦¤à¦¾à¦¨à¦¿"}};function p(e,t){let r=function(e,t){if(!(e in f))return e;let r=f[e];return t in r&&r[t]||r.en}(e,t);return"/category/".concat(r)}var v=r(2446);function b(){let{dictionary:e,lang:t}=(0,u.K)(),{isRTL:r}=(0,v.Q)(),[d,h]=(0,n.useState)(!1),[f,b]=(0,n.useState)(!1),x=(0,s.usePathname)(),y=[{name:e.nav.practiceTests,href:"/driving-computer-test"},{name:e.nav.drivingSchools,href:"/driving-schools"},{name:e.nav.drivingEducation,href:p("driving-education",t)},{name:e.nav.learningHub,href:"/learning-hub",categories:[{name:e.nav.categories.trafficViolations,slug:"traffic-violations-fines",href:p("traffic-violations-fines",t)},{name:e.nav.categories.licenseInfo,slug:"license-information",href:p("license-information",t)},{name:e.nav.categories.vehicleRegistration,slug:"vehicle-registration-plates",href:p("vehicle-registration-plates",t)},{name:e.nav.categories.licenseRenewal,slug:"license-renewal-replacement",href:p("license-renewal-replacement",t)},{name:e.nav.categories.vehicleOwnership,slug:"vehicle-ownership",href:p("vehicle-ownership",t)},{name:e.nav.categories.travelTourism,slug:"travel-tourism",href:p("travel-tourism",t)},{name:e.nav.categories.drivingAbroad,slug:"driving-abroad",href:p("driving-abroad",t)},{name:e.nav.categories.mobileApps,slug:"mobile-apps",href:p("mobile-apps",t)},{name:e.nav.categories.importExportVehicles,slug:"importing-exporting-vehicles",href:p("importing-exporting-vehicles",t)}]}];(0,n.useEffect)(()=>{let e=()=>{b(window.scrollY>20)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let w=e=>{if(x===e)return!0;if(e.includes("/category/")&&x.includes("/category/")){let t=e.split("/"),r=x.split("/");if(t.length>=3&&r.length>=3)return t[2]===r[2]}return x.includes(e)};return(0,a.jsxs)("header",{className:"fixed w-full z-50 transition-all duration-300 ".concat(f?"bg-white bg-opacity-90 backdrop-blur-md shadow-md":"bg-gradient-to-br from-sa-sand-light via-sa-white to-sa-green-light"),children:[(0,a.jsx)("nav",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(m.default,{href:"/",lang:t,className:"flex items-center",children:(0,a.jsx)("div",{className:"relative h-14 w-14 sm:h-16 sm:w-16 transition-all duration-300 hover:scale-105",children:(0,a.jsx)(i.default,{src:"/assets/saudi-driving-license-logo.webp",alt:e.logoAlt,fill:!0,className:"object-contain",sizes:"(max-width: 640px) 3.5rem, 4rem",priority:!0})})})}),(0,a.jsxs)("div",{className:"hidden md:flex items-center space-x-6",children:[y.map(e=>e.categories?(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsxs)("button",{className:"px-1 py-2 font-bold transition-all duration-300 relative group ".concat(w(e.href)?"text-sa-green":f?"text-gray-700 hover:text-sa-green-dark":"text-sa-green-dark hover:text-sa-green"),children:[e.name,(0,a.jsx)(l,{className:"h-4 w-4 inline-block ml-1"})]}),(0,a.jsx)("div",{className:"absolute ".concat(r?"right-0":"left-0"," mt-2 w-48 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300"),children:(0,a.jsx)("div",{className:"py-1",children:e.categories.map(e=>(0,a.jsx)(m.default,{href:e.href,lang:t,className:"block px-4 py-2 text-sm font-bold text-gray-700 hover:bg-gray-100 hover:text-sa-green-dark",children:e.name},e.slug))})})]},e.name):(0,a.jsxs)(m.default,{href:e.href,lang:t,className:"px-1 py-2 font-bold transition-all duration-300 relative ".concat(w(e.href)?"text-sa-green":f?"text-gray-700 hover:text-sa-green-dark":"text-sa-green-dark hover:text-sa-green"),children:[e.name,w(e.href)&&(0,a.jsx)("span",{className:"absolute bottom-0 left-0 w-full h-0.5 bg-sa-green"})]},e.name)),(0,a.jsx)("div",{className:"ml-4",children:(0,a.jsx)(g,{lang:t})})]}),(0,a.jsxs)("div",{className:"md:hidden flex items-center space-x-2",children:[(0,a.jsx)(g,{lang:t}),(0,a.jsxs)("button",{type:"button",className:"text-sa-green-dark hover:text-sa-green transition-colors duration-300",onClick:()=>h(!d),"aria-expanded":d,"aria-controls":"mobile-menu",children:[(0,a.jsx)("span",{className:"sr-only",children:e.openMenu}),d?(0,a.jsx)(o,{className:"h-6 w-6","aria-hidden":"true"}):(0,a.jsx)(c,{className:"h-6 w-6","aria-hidden":"true"})]})]})]})}),d&&(0,a.jsx)("div",{className:"md:hidden",id:"mobile-menu",children:(0,a.jsx)("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3 bg-white bg-opacity-90 backdrop-blur-md border-t border-gray-200",children:y.map(e=>e.categories?(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("button",{className:"w-full text-left px-3 py-2 rounded-md text-base font-bold ".concat(w(e.href)?"text-sa-green":"text-sa-green-dark hover:text-sa-green hover:bg-sa-green-light/10"),onClick:()=>h(!1),children:e.name}),(0,a.jsx)("div",{className:"".concat(r?"pr-4":"pl-4"),children:e.categories.map(e=>(0,a.jsx)(m.default,{href:e.href,lang:t,className:"block px-3 py-2 rounded-md text-base font-bold ".concat(w(e.href)?"text-sa-green bg-sa-green/10":"text-gray-700 hover:text-sa-green hover:bg-sa-green/10"),onClick:()=>h(!1),children:e.name},e.slug))})]},e.name):(0,a.jsx)(m.default,{href:e.href,lang:t,className:"block px-3 py-2 rounded-md text-base font-bold transition-colors duration-300 ".concat(w(e.href)?"text-sa-green border-l-4 border-sa-green pl-2":"text-gray-700 hover:text-sa-green hover:bg-sa-green/10"),onClick:()=>h(!1),children:e.name},e.name))})})]})}},7391:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,1402,23)),Promise.resolve().then(r.t.bind(r,3034,23)),Promise.resolve().then(r.t.bind(r,520,23)),Promise.resolve().then(r.t.bind(r,7958,23)),Promise.resolve().then(r.t.bind(r,8686,23)),Promise.resolve().then(r.t.bind(r,3673,23)),Promise.resolve().then(r.bind(r,7923)),Promise.resolve().then(r.bind(r,5677)),Promise.resolve().then(r.bind(r,4420))},7923:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(5155),n=r(8201),i=r(3976),s=r(4420),l=r(5239);function o(){let{dictionary:e,lang:t}=(0,s.K)(),r=new Date().getFullYear(),o=[{title:e.footer.quickLinks,links:[{id:"home",name:e.footer.home,href:"/"},{id:"practice-tests",name:e.footer.practiceTests,href:"/driving-computer-test"}]},{title:e.footer.resources,links:[{id:"driving-schools",name:e.footer.drivingSchools,href:"/driving-schools"},{id:"about-us",name:e.footer.aboutUs,href:"/about-us"},{id:"contact-us",name:e.footer.contactUs,href:"/contact-us"}]},{title:e.footer.legal,links:[{id:"privacy-policy",name:e.footer.privacyPolicy,href:"/privacy-policy"}]},{title:e.footer.downloadApp,appLinks:!0}];return(0,a.jsx)("footer",{className:"bg-sa-green-dark text-sa-white",children:(0,a.jsxs)("div",{className:"container mx-auto px-4 py-8",children:[(0,a.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-2 md:grid-cols-4 gap-6",children:o.map(e=>{var r;return(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold text-sa-gold mb-4",children:e.title}),e.appLinks?(0,a.jsxs)("div",{className:"flex flex-row space-x-2",children:[(0,a.jsx)("a",{href:"https://apps.apple.com/sa/app/id1505333770",target:"_blank",rel:"noopener noreferrer",className:"transition-transform hover:scale-105",children:(0,a.jsx)(l.default,{src:"/assets/app-store-badge.svg",alt:"Download on App Store",width:135,height:40,className:"h-full w-auto"})}),(0,a.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.saudi.driving.license.ksa.dallah",target:"_blank",rel:"noopener noreferrer",className:"transition-transform hover:scale-105",children:(0,a.jsx)(l.default,{src:"/assets/google-play-badge.svg",alt:"Get it on Google Play",width:135,height:40,className:"h-full w-auto"})})]}):(0,a.jsx)("ul",{className:"space-y-2",children:null==(r=e.links)?void 0:r.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(i.default,{href:e.href,lang:t,className:"hover:text-sa-yellow transition-colors duration-300",children:e.name})},e.id))})]},e.title)})}),(0,a.jsx)("div",{className:"mt-8 pt-8 border-t border-sa-sand",children:(0,a.jsxs)("p",{className:"text-center text-sa-white",children:["\xa9 ",r," ",n.c.site.name,". ",e.footer.allRightsReserved]})})]})})}},7958:e=>{e.exports={style:{fontFamily:"'Amiri', 'Amiri Fallback'",fontStyle:"normal"},className:"__className_9f7a0a",variable:"__variable_9f7a0a"}},8201:(e,t,r)=>{"use strict";r.d(t,{c:()=>a.c});var a=r(9284);r(3732)},8686:e=>{e.exports={style:{fontFamily:"'Hind', 'Hind Fallback'",fontStyle:"normal"},className:"__className_66e2fb",variable:"__variable_66e2fb"}},9284:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});let a={site:{name:"Saudi Driving License",domain:"saudi-driving-license.com",fullDomain:"https://saudi-driving-license.com",contactEmail:"[email protected]"},sanity:{projectId:"2z6x5lqd",dataset:"production",apiVersion:"2024-03-20"},api:{url:"https://api.saudi-driving-license.com"},social:{twitter:"https://x.com/waheednu",facebook:"https://www.facebook.com/groups/saudidrivinglicense",instagram:"https://www.instagram.com/waheednu/"},features:{enableAds:!0,enableAnalytics:!0},getUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"".concat("https://saudi-driving-license.com").concat(e.startsWith("/")?e:"/".concat(e))}}}},e=>{e.O(0,[638,711,619,356,687,355,441,255,358],()=>e(e.s=7391)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.