1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98183,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return i}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});function s(e){let r={};for(let[t,n]of e.entries()){let e=r[t];void 0===e?r[t]=n:Array.isArray(e)?e.push(n):r[t]=[e,n]}return r}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let r=new URLSearchParams;for(let[t,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)r.append(t,o(e));else r.set(t,o(n));return r}function l(e,...r){for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}},18967,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={DecodeError:function(){return b},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return y},NormalizeError:function(){return g},PageNotFoundError:function(){return v},SP:function(){return m},ST:function(){return x},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return w}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let r,t=!1;return(...n)=>(t||(t=!0,r=e(...n)),r)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>i.test(e);function c(){let{protocol:e,hostname:r,port:t}=window.location;return`${e}//${r}${t?":"+t:""}`}function u(){let{href:e}=window.location,r=c();return e.substring(r.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function h(e){let r=e.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?`?${r.slice(1).join("?")}`:"")}async function p(e,r){let t=r.res||r.ctx&&r.ctx.res;if(!e.getInitialProps)return r.ctx&&r.Component?{pageProps:await p(r.Component,r.ctx)}:{};let n=await e.getInitialProps(r);if(t&&f(t))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,x=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class g extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,r){super(),this.message=`Failed to load static file for page: ${e} ${r}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},33525,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},95057,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let s=e.r(90809)._(e.r(98183)),o=/https?|ftp|gopher|file/;function i(e){let{auth:r,hostname:t}=e,n=e.protocol||"",a=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",e.host?c=r+e.host:t&&(c=r+(~t.indexOf(":")?`[${t}]`:t),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),u&&"?"!==u[0]&&(u="?"+u),a=a.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${a}${u}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},18581,(e,r,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,r){let t=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=t.current;e&&(t.current=null,e());let r=a.current;r&&(a.current=null,r())}else e&&(t.current=s(e,n)),r&&(a.current=s(r,n))},[e,r])}function s(e,r){if("function"!=typeof e)return e.current=r,()=>{e.current=null};{let t=e(r);return"function"==typeof t?t:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)},73668,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=e.r(18967),a=e.r(52817);function s(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let r=(0,n.getLocationOrigin)(),t=new URL(e,r);return t.origin===r&&(0,a.hasBasePath)(t.pathname)}catch(e){return!1}}},84508,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return v}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let s=e.r(90809),o=e.r(43476),i=s._(e.r(71645)),l=e.r(95057),c=e.r(8372),u=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let h=e.r(88540),p=e.r(91949),m=e.r(73668),x=e.r(9396);function b(r){var t,n;let a,s,b,[v,y]=(0,i.useOptimistic)(p.IDLE_LINK_STATUS),j=(0,i.useRef)(null),{href:w,as:L,children:N,prefetch:k=null,passHref:P,replace:S,shallow:C,scroll:E,onClick:O,onMouseEnter:_,onTouchStart:T,legacyBehavior:$=!1,onNavigate:z,transitionTypes:R,ref:A,unstable_dynamicOnHover:U,...I}=r;a=N,$&&("string"==typeof a||"number"==typeof a)&&(a=(0,o.jsx)("a",{children:a}));let M=i.default.useContext(c.AppRouterContext),B=!1!==k,F=!1!==k?null===(n=k)||"auto"===n?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,D="string"==typeof(t=L||w)?t:(0,l.formatUrl)(t);if($){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=i.default.Children.only(a)}let K=$?s&&"object"==typeof s&&s.ref:A,J=i.default.useCallback(e=>(null!==M&&(j.current=(0,p.mountLinkInstance)(e,D,M,F,B,y)),()=>{j.current&&((0,p.unmountLinkForCurrentNavigation)(j.current),j.current=null),(0,p.unmountPrefetchableInstance)(e)}),[B,D,M,F,y]),W={ref:(0,u.useMergedRef)(J,K),onClick(r){$||"function"!=typeof O||O(r),$&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(r),!M||r.defaultPrevented||function(r,t,n,a,s,o,l){if("u">typeof window){let c,{nodeName:u}=r.currentTarget;if("A"===u.toUpperCase()&&((c=r.currentTarget.getAttribute("target"))&&"_self"!==c||r.metaKey||r.ctrlKey||r.shiftKey||r.altKey||r.nativeEvent&&2===r.nativeEvent.which)||r.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(t)){a&&(r.preventDefault(),location.replace(t));return}if(r.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);i.default.startTransition(()=>{d(t,a?"replace":"push",!1===s?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,l)})}}(r,D,j,S,E,z,R)},onMouseEnter(e){$||"function"!=typeof _||_(e),$&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),M&&B&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){$||"function"!=typeof T||T(e),$&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),M&&B&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,d.isAbsoluteUrl)(D)?W.href=D:$&&!P&&("a"!==s.type||"href"in s.props)||(W.href=(0,f.addBasePath)(D)),b=$?i.default.cloneElement(s,W):(0,o.jsx)("a",{...I,...W,children:a}),(0,o.jsx)(g.Provider,{value:v,children:b})}e.r(84508);let g=(0,i.createContext)(p.IDLE_LINK_STATUS),v=()=>(0,i.useContext)(g);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)},48503,1414,e=>{"use strict";var r=e.i(61745);let t=["uk","ru"];function n(e){return t.includes(e)}e.s(["defaultLocale",0,"uk","isLocale",0,n,"localePath",0,function(e,r){let t;if(!e.startsWith("/")||e.startsWith("//"))return e;let n=/^([^?#]*)(.*)$/.exec(e),a=(t=(n?.[1]||"/").replace(/^\/(?:ru|uk|ua)(?=\/|$)/,""))?`/${t.replace(/^\/+/,"")}`:"/",s=n?.[2]??"";return"ru"===r?`${"/"===a?"/ru":`/ru${a}`}${s}`:`${a}${s}`},"localeTag",0,function(e){return"ru"===e?"ru-UA":"uk-UA"}],1414),e.s(["useLocale",0,function(){let e=(0,r.useLocale)();return n(e)?e:"uk"}],48503)},48148,e=>{"use strict";var r=e.i(61745);function t(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=t(0,r.useTranslations);t(0,r.useFormatter),e.s(["useTranslations",0,n])},74796,e=>{"use strict";var r=e.i(43476),t=e.i(22016),n=e.i(74080),a=e.i(48503),s=e.i(1414);function o(){let{pending:e}=(0,t.useLinkStatus)();return!e||"u"<typeof document?null:(0,n.createPortal)((0,r.jsx)("span",{"aria-hidden":"true",className:"navigation-progress"}),document.body)}e.s(["LocalizedLink",0,function({children:e,href:n,...i}){let l=(0,a.useLocale)(),c="string"==typeof n?(0,s.localePath)(n,l):{...n,pathname:"string"==typeof n.pathname?(0,s.localePath)(n.pathname,l):n.pathname};return(0,r.jsxs)(t.default,{href:c,prefetch:!1,...i,children:[e,(0,r.jsx)(o,{})]})}])},27068,e=>{"use strict";var r=e.i(43476),t=e.i(71645),n=e.i(48148),a=e.i(74796);function s(e){try{let r=JSON.parse(e??"[]");return Array.isArray(r)?[...new Set(r.filter(e=>"string"==typeof e&&/^[a-f0-9]{24}$/i.test(e)).map(e=>e.toLowerCase()))].slice(0,3):[]}catch{return[]}}let o="carsua:comparison:v1",i="carsua:comparison",l="[]",c=!1;function u(){if(!c)try{l=window.localStorage.getItem(o)??"[]"}catch{c=!0}return l}function d(e){return window.addEventListener("storage",e),window.addEventListener(i,e),()=>{window.removeEventListener("storage",e),window.removeEventListener(i,e)}}function f(e){l=JSON.stringify(s(JSON.stringify(e)));try{window.localStorage.setItem(o,l)}catch{c=!0}window.dispatchEvent(new Event(i))}function h(){return s((0,t.useSyncExternalStore)(d,u,()=>"[]"))}e.s(["CompareButton",0,function({id:e}){let t=(0,n.useTranslations)("Comparison"),o=h(),i=o.includes(e),l=!i&&o.length>=3;return(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2 p-3 text-sm",children:[(0,r.jsx)("button",{type:"button","aria-pressed":i,disabled:l,className:"min-h-11 rounded-lg border border-[var(--line)] bg-white px-3 font-bold disabled:opacity-60",onClick:()=>{var r,t;return f((r=s(u()),t=e,/^[a-f0-9]{24}$/i.test(t)?(t=t.toLowerCase(),r.includes(t)?r.filter(e=>e!==t):r.length<3?[...r,t]:r):r))},children:t(i?"remove":l?"limit":"add")}),o.length>0?(0,r.jsx)(a.LocalizedLink,{className:"inline-flex min-h-11 items-center font-bold underline",href:"/compare",children:t("open",{count:o.length})}):null]})},"ComparisonNav",0,function(){let e=h(),t=(0,n.useTranslations)("Comparison");return(0,r.jsx)(a.LocalizedLink,{className:"inline-flex min-h-11 items-center rounded-lg px-2 text-sm font-bold",href:"/compare",children:t("nav",{count:e.length})})},"setComparison",0,f,"useComparison",0,h],27068)},18566,(e,r,t)=>{r.exports=e.r(76562)},29852,e=>{"use strict";var r=e.i(43476),t=e.i(27068),n=e.i(48148),a=e.i(71645),s=e.i(18566),o=e.i(48503),i=e.i(1414);function l({theme:e="dark"}){let t=(0,o.useLocale)(),a=(0,n.useTranslations)("LanguageSwitcher"),i=(0,s.usePathname)(),u=(0,s.useSearchParams)().toString(),d=`${i}${u?`?${u}`:""}`;return(0,r.jsx)("nav",{"aria-label":a("languageSelection"),children:(0,r.jsxs)("ul",{className:`flex items-center rounded-lg border p-0.5 text-xs font-black ${"light"===e?"border-black/15":"border-white/15"}`,children:[(0,r.jsx)(c,{currentPath:d,locale:"uk",selected:"uk"===t,theme:e,children:"UA"}),(0,r.jsx)(c,{currentPath:d,locale:"ru",selected:"ru"===t,theme:e,children:"RU"})]})})}function c({children:e,currentPath:t,locale:n,selected:a,theme:s}){return(0,r.jsx)("li",{children:(0,r.jsx)("a",{"aria-current":a?"page":void 0,className:`grid min-h-8 min-w-9 place-items-center rounded-md px-2 transition-colors ${a?"bg-[var(--brand)] text-[#292929]":"light"===s?"text-black/65 hover:bg-black/5 hover:text-black":"text-white/75 hover:bg-white/10 hover:text-white"}`,href:(0,i.localePath)(t,n),hrefLang:n,lang:n,children:e})})}var u=e.i(74796);function d(){let e=(0,n.useTranslations)("Header");return(0,r.jsxs)(u.LocalizedLink,{"aria-label":e("homeLabel"),className:"inline-flex shrink-0 items-center text-xl font-black uppercase tracking-[-0.045em] text-white",href:"/",children:["cars",(0,r.jsx)("span",{className:"ml-1 inline-grid size-8 place-items-center rounded-full bg-[var(--brand)] text-sm tracking-[-0.06em] text-[#292929] shadow-sm",children:"ua"})]})}function f({children:e,href:t}){return(0,r.jsx)(u.LocalizedLink,{className:"inline-flex items-center border-b-2 border-transparent px-3 text-sm font-bold text-white/85 transition-colors hover:border-[var(--brand)] hover:text-white",href:t,children:e})}function h({children:e,href:t}){return(0,r.jsx)(u.LocalizedLink,{className:"rounded-lg px-3 py-3 hover:bg-[var(--brand-soft)]",href:t,children:e})}e.s(["SiteHeader",0,function(){let e=(0,n.useTranslations)("Header");return(0,r.jsx)("header",{className:"sticky top-0 z-50 h-[var(--site-header-height)] border-b border-black/20 bg-[#292929] text-white shadow-sm",children:(0,r.jsxs)("div",{className:"mx-auto flex h-full w-full max-w-[80rem] items-center justify-between gap-5 px-4 sm:px-6 lg:px-8",children:[(0,r.jsx)(d,{}),(0,r.jsxs)("nav",{"aria-label":e("navigationLabel"),className:"hidden h-full items-stretch xl:flex",children:[(0,r.jsx)(f,{href:"/used-cars",children:e("carBazaar")}),(0,r.jsx)(f,{href:"/sto",children:e("autoServices")}),(0,r.jsx)(f,{href:"/showrooms",children:e("carDealerships")}),(0,r.jsx)(f,{href:"/car-check",children:e("carInspection")}
1),(0,r.jsx)(f,{href:"/customs-calc",children:e("carCustomsClearance")})]}),(0,r.jsx)("div",{className:"ml-auto hidden sm:block xl:ml-0",children:(0,r.jsx)(a.Suspense,{fallback:null,children:(0,r.jsx)(l,{})})}),(0,r.jsx)(t.ComparisonNav,{}),(0,r.jsxs)("details",{className:"mobile-menu relative xl:hidden",children:[(0,r.jsx)("summary",{"aria-label":e("openMenu"),className:"grid size-11 list-none place-items-center rounded-lg border border-white/15 text-2xl hover:bg-white/10",children:(0,r.jsx)("span",{"aria-hidden":"true",children:"â°"})}),(0,r.jsxs)("nav",{"aria-label":e("mobileNavigationLabel"),className:"absolute right-0 top-13 z-50 grid w-64 overflow-hidden rounded-xl border border-black/10 bg-white p-2 text-sm font-bold text-[var(--ink)] shadow-xl",children:[(0,r.jsx)(h,{href:"/used-cars",children:e("carBazaar")}),(0,r.jsx)(h,{href:"/sto",children:e("autoServices")}),(0,r.jsx)(h,{href:"/showrooms",children:e("carDealerships")}),(0,r.jsx)(h,{href:"/car-check",children:e("carInspection")}),(0,r.jsx)(h,{href:"/customs-calc",children:e("carCustomsClearance")}),(0,r.jsx)("div",{className:"mt-1 border-t border-black/10 pt-2 sm:hidden",children:(0,r.jsx)(a.Suspense,{fallback:null,children:(0,r.jsx)(l,{theme:"light"})})})]})]})]})})}],29852)},28495,e=>{"use strict";var r=e.i(43476),t=e.i(48148),n=e.i(74796);e.s(["SiteFooter",0,function(){let e=(0,t.useTranslations)("Footer");return(0,r.jsxs)("footer",{className:"mt-auto border-t border-black/10 bg-[#292929] text-white",children:[(0,r.jsxs)("div",{className:"mx-auto grid w-full max-w-[80rem] gap-8 px-4 py-10 sm:px-6 md:grid-cols-[1fr_auto] lg:px-8",children:[(0,r.jsxs)("div",{className:"max-w-xl",children:[(0,r.jsxs)("p",{className:"text-lg font-black uppercase tracking-[-0.03em]",children:["cars",(0,r.jsx)("span",{className:"text-[var(--brand)]",children:"ua"}),".net"]}),(0,r.jsx)("p",{className:"mt-3 text-sm leading-6 text-white/60",children:e("description")})]}),(0,r.jsxs)("nav",{"aria-label":e("navigationLabel"),className:"grid grid-cols-2 gap-x-8 gap-y-3 text-sm font-bold text-white/75 sm:grid-cols-3",children:[(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/used-cars",children:e("carBazaar")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/used-cars/brands",children:e("carBrands")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/used-cars/cities",children:e("carCity")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/used-cars/uncleared",children:e("unclearedCars")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/sto",children:e("autoServices")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/showrooms",children:e("carDealerships")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/car-check",children:e("carInspection")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/customs-calc",children:e("carCustomsClearance")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/about",children:e("aboutCarsua")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/contact",children:e("contactUs")}),(0,r.jsx)(n.LocalizedLink,{className:"hover:text-[var(--brand)]",href:"/privacy",children:e("privacy")})]})]}),(0,r.jsx)("div",{className:"border-t border-white/10",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[80rem] flex-col gap-2 px-4 py-5 text-xs text-white/45 sm:flex-row sm:items-center sm:justify-between sm:px-6 lg:px-8",children:[(0,r.jsxs)("span",{children:["© ",new Date().getFullYear()," Carsua.net"]}),(0,r.jsx)("span",{children:e("tagline")})]})})]})}])}]);
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.