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ra-ui/media-query/dist/index.esm.js","webpack://_N_E/./src/containers/Sections/ServicesContainer.tsx","webpack://_N_E/"],"sourcesContent":["// ../../../react-shim.js\nimport React from \"react\";\n\n// src/media-query.tsx\nimport { useTheme } from \"@chakra-ui/system\";\nvar getBreakpoint = (theme, value) => {\n var _a;\n return ((_a = theme == null ? void 0 : theme.breakpoints) == null ? void 0 : _a[value]) ?? value;\n};\nfunction useQuery(props) {\n const { breakpoint = \"\", below, above } = props;\n const theme = useTheme();\n const bpBelow = getBreakpoint(theme, below);\n const bpAbove = getBreakpoint(theme, above);\n let query = breakpoint;\n if (bpBelow) {\n query = `(max-width: ${bpBelow})`;\n } else if (bpAbove) {\n query = `(min-width: ${bpAbove})`;\n }\n return query;\n}\n\n// src/use-media-query.ts\nimport { useEnvironment } from \"@chakra-ui/react-env\";\nimport { useEffect, useState } from \"react\";\nfunction useMediaQuery(query, options = {}) {\n const { ssr = true, fallback } = options;\n const env = useEnvironment();\n const queries = Array.isArray(query) ? query : [query];\n let fallbackValues = Array.isArray(fallback) ? fallback : [fallback];\n fallbackValues = fallbackValues.filter((v) => v != null);\n const [value, setValue] = useState(() => {\n return queries.map((query2, index) => ({\n media: query2,\n matches: ssr ? !!fallbackValues[index] : env.window.matchMedia(query2).matches\n }));\n });\n useEffect(() => {\n setValue(queries.map((query2) => ({\n media: query2,\n matches: env.window.matchMedia(query2).matches\n })));\n const mql = queries.map((query2) => env.window.matchMedia(query2));\n const handler = (evt) => {\n setValue((prev) => {\n return prev.slice().map((item) => {\n if (item.media === evt.media)\n return { ...item, matches: evt.matches };\n return item;\n });\n });\n };\n mql.forEach((mql2) => {\n if (typeof mql2.addListener === \"function\") {\n mql2.addListener(handler);\n } else {\n mql2.addEventListener(\"change\", handler);\n }\n });\n return () => {\n mql.forEach((mql2) => {\n if (typeof mql2.removeListener === \"function\") {\n mql2.removeListener(handler);\n } else {\n mql2.removeEventListener(\"change\", handler);\n }\n });\n };\n }, [env.window]);\n return value.map((item) => item.matches);\n}\n\n// src/media-query.hook.ts\nfunction usePrefersReducedMotion(options) {\n const [prefersReducedMotion] = useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n return prefersReducedMotion;\n}\nfunction useColorModePreference(options) {\n const [isLight, isDark] = useMediaQuery([\"(prefers-color-scheme: light)\", \"(prefers-color-scheme: dark)\"], options);\n if (isLight)\n return \"light\";\n if (isDark)\n return \"dark\";\n return void 0;\n}\n\n// src/use-breakpoint.ts\nimport { useTheme as useTheme2 } from \"@chakra-ui/system\";\n\n// ../../utilities/shared-utils/src/index.ts\nfunction isObject(value) {\n const type = typeof value;\n return value != null && (type === \"object\" || type === \"function\") && !Array.isArray(value);\n}\n\n// src/use-breakpoint.ts\nfunction useBreakpoint(arg) {\n var _a;\n const opts = isObject(arg) ? arg : { fallback: arg ?? \"base\" };\n const theme = useTheme2();\n const breakpoints = theme.__breakpoints.details.map(({ minMaxQuery, breakpoint }) => ({\n breakpoint,\n query: minMaxQuery.replace(\"@media screen and \", \"\")\n }));\n const fallback = breakpoints.map((bp) => bp.breakpoint === opts.fallback);\n const values = useMediaQuery(breakpoints.map((bp) => bp.query), { fallback, ssr: opts.ssr });\n const index = values.findIndex((value) => value == true);\n return ((_a = breakpoints[index]) == null ? void 0 : _a.breakpoint) ?? opts.fallback;\n}\n\n// src/use-breakpoint-value.ts\nimport { useTheme as useTheme3 } from \"@chakra-ui/system\";\nimport { arrayToObjectNotation } from \"@chakra-ui/breakpoint-utils\";\n\n// src/media-query.utils.ts\nimport { breakpoints as defaultBreakPoints } from \"@chakra-ui/breakpoint-utils\";\nfunction getClosestValue(values, breakpoint, breakpoints = defaultBreakPoints) {\n let index = Object.keys(values).indexOf(breakpoint);\n if (index !== -1) {\n return values[breakpoint];\n }\n let stopIndex = breakpoints.indexOf(breakpoint);\n while (stopIndex >= 0) {\n const key = breakpoints[stopIndex];\n if (values.hasOwnProperty(key)) {\n index = stopIndex;\n break;\n }\n stopIndex -= 1;\n }\n if (index !== -1) {\n const key = breakpoints[index];\n return values[key];\n }\n return void 0;\n}\n\n// src/use-breakpoint-value.ts\nfunction useBreakpointValue(values, arg) {\n var _a;\n const opts = isObject(arg) ? arg : { fallback: arg ?? \"base\" };\n const breakpoint = useBreakpoint(opts);\n const theme = useTheme3();\n if (!breakpoint)\n return;\n const breakpoints = Array.from(((_a = theme.__breakpoints) == null ? void 0 : _a.keys) || []);\n const obj = Array.isArray(values) ? Object.fromEntries(Object.entries(arrayToObjectNotation(values, breakpoints)).map(([key, value]) => [key, value])) : values;\n return getClosestValue(obj, breakpoint, breakpoints);\n}\n\n// src/visibility.tsx\nfunction Visibility(props) {\n const { breakpoint, hide, children, ssr } = props;\n const [show] = useMediaQuery(breakpoint, { ssr });\n const isVisible = hide ? !show : show;\n const rendered = isVisible ? children : null;\n return rendered;\n}\n\n// src/show.tsx\nfunction Show(props) {\n const { children, ssr } = props;\n const query = useQuery(props);\n return /* @__PURE__ */ React.createElement(Visibility, {\n breakpoint: query,\n ssr\n }, children);\n}\nShow.displayName = \"Show\";\n\n// src/hide.tsx\nfunction Hide(props) {\n const { children, ssr } = props;\n const query = useQuery(props);\n return /* @__PURE__ */ React.createElement(Visibility, {\n breakpoint: query,\n hide: true,\n ssr\n }, children);\n}\nHide.displayName = \"Hide\";\nexport {\n Hide,\n Show,\n useBreakpoint,\n useBreakpointValue,\n useColorModePreference,\n useMediaQuery,\n usePrefersReducedMotion,\n useQuery\n};\n","import React, { FC } from 'react'\nimport dynamic from 'next/dynamic'\nimport { useBreakpointValue } from '@chakra-ui/react'\nimport SectionsData from '../data/sections.json'\n\nconst ServicesSection = dynamic(() => import('../../components/Sections/Services'))\nconst ServicesSectionMobile = dynamic(() => import('../../components/Sections/ServicesMobile'))\n\nconst servicesData = SectionsData.services\n\nconst ServicesSectionContainer: FC = () => {\n const isMobile = useBreakpointValue({ base: true, lg: false })\n\n return isMobile ? (\n \n ) : (\n \n )\n}\n\nexport default ServicesSectionContainer\n","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[7993],{\n\n/***/ 51469:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Sx\": function() { return /* binding */ useBreakpointValue; }\n/* harmony export */ });\n/* unused harmony exports Hide, Show, useBreakpoint, useColorModePreference, useMediaQuery, usePrefersReducedMotion, useQuery */\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67294);\n/* harmony import */ var _chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(83904);\n/* harmony import */ var _chakra_ui_react_env__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18229);\n/* harmony import */ var _chakra_ui_breakpoint_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54302);\n// ../../../react-shim.js\n\n\n// src/media-query.tsx\n\nvar getBreakpoint = (theme, value) => {\n var _a;\n return ((_a = theme == null ? void 0 : theme.breakpoints) == null ? void 0 : _a[value]) ?? value;\n};\nfunction useQuery(props) {\n const { breakpoint = \"\", below, above } = props;\n const theme = (0,_chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__/* .useTheme */ .Fg)();\n const bpBelow = getBreakpoint(theme, below);\n const bpAbove = getBreakpoint(theme, above);\n let query = breakpoint;\n if (bpBelow) {\n query = `(max-width: ${bpBelow})`;\n } else if (bpAbove) {\n query = `(min-width: ${bpAbove})`;\n }\n return query;\n}\n\n// src/use-media-query.ts\n\n\nfunction useMediaQuery(query, options = {}) {\n const { ssr = true, fallback } = options;\n const env = (0,_chakra_ui_react_env__WEBPACK_IMPORTED_MODULE_2__/* .useEnvironment */ .O)();\n const queries = Array.isArray(query) ? query : [query];\n let fallbackValues = Array.isArray(fallback) ? fallback : [fallback];\n fallbackValues = fallbackValues.filter((v) => v != null);\n const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => {\n return queries.map((query2, index) => ({\n media: query2,\n matches: ssr ? !!fallbackValues[index] : env.window.matchMedia(query2).matches\n }));\n });\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\n setValue(queries.map((query2) => ({\n media: query2,\n matches: env.window.matchMedia(query2).matches\n })));\n const mql = queries.map((query2) => env.window.matchMedia(query2));\n const handler = (evt) => {\n setValue((prev) => {\n return prev.slice().map((item) => {\n if (item.media === evt.media)\n return { ...item, matches: evt.matches };\n return item;\n });\n });\n };\n mql.forEach((mql2) => {\n if (typeof mql2.addListener === \"function\") {\n mql2.addListener(handler);\n } else {\n mql2.addEventListener(\"change\", handler);\n }\n });\n return () => {\n mql.forEach((mql2) => {\n if (typeof mql2.removeListener === \"function\") {\n mql2.removeListener(handler);\n } else {\n mql2.removeEventListener(\"change\", handler);\n }\n });\n };\n }, [env.window]);\n return value.map((item) => item.matches);\n}\n\n// src/media-query.hook.ts\nfunction usePrefersReducedMotion(options) {\n const [prefersReducedMotion] = useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n return prefersReducedMotion;\n}\nfunction useColorModePreference(options) {\n const [isLight, isDark] = useMediaQuery([\"(prefers-color-scheme: light)\", \"(prefers-color-scheme: dark)\"], options);\n if (isLight)\n return \"light\";\n if (isDark)\n return \"dark\";\n return void 0;\n}\n\n// src/use-breakpoint.ts\n\n\n// ../../utilities/shared-utils/src/index.ts\nfunction isObject(value) {\n const type = typeof value;\n return value != null && (type === \"object\" || type === \"function\") && !Array.isArray(value);\n}\n\n// src/use-breakpoint.ts\nfunction useBreakpoint(arg) {\n var _a;\n const opts = isObject(arg) ? arg : { fallback: arg ?? \"base\" };\n const theme = (0,_chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__/* .useTheme */ .Fg)();\n const breakpoints = theme.__breakpoints.details.map(({ minMaxQuery, breakpoint }) => ({\n breakpoint,\n query: minMaxQuery.replace(\"@media screen and \", \"\")\n }));\n const fallback = breakpoints.map((bp) => bp.breakpoint === opts.fallback);\n const values = useMediaQuery(breakpoints.map((bp) => bp.query), { fallback, ssr: opts.ssr });\n const index = values.findIndex((value) => value == true);\n return ((_a = breakpoints[index]) == null ? void 0 : _a.breakpoint) ?? opts.fallback;\n}\n\n// src/use-breakpoint-value.ts\n\n\n\n// src/media-query.utils.ts\n\nfunction getClosestValue(values, breakpoint, breakpoints = _chakra_ui_breakpoint_utils__WEBPACK_IMPORTED_MODULE_3__/* .breakpoints */ .AV) {\n let index = Object.keys(values).indexOf(breakpoint);\n if (index !== -1) {\n return values[breakpoint];\n }\n let stopIndex = breakpoints.indexOf(breakpoint);\n while (stopIndex >= 0) {\n const key = breakpoints[stopIndex];\n if (values.hasOwnProperty(key)) {\n index = stopIndex;\n break;\n }\n stopIndex -= 1;\n }\n if (index !== -1) {\n const key = breakpoints[index];\n return values[key];\n }\n return void 0;\n}\n\n// src/use-breakpoint-value.ts\nfunction useBreakpointValue(values, arg) {\n var _a;\n const opts = isObject(arg) ? arg : { fallback: arg ?? \"base\" };\n const breakpoint = useBreakpoint(opts);\n const theme = (0,_chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__/* .useTheme */ .Fg)();\n if (!breakpoint)\n return;\n const breakpoints = Array.from(((_a = theme.__breakpoints) == null ? void 0 : _a.keys) || []);\n const obj = Array.isArray(values) ? Object.fromEntries(Object.entries((0,_chakra_ui_breakpoint_utils__WEBPACK_IMPORTED_MODULE_3__/* .arrayToObjectNotation */ .Yq)(values, breakpoints)).map(([key, value]) => [key, value])) : values;\n return getClosestValue(obj, breakpoint, breakpoints);\n}\n\n// src/visibility.tsx\nfunction Visibility(props) {\n const { breakpoint, hide, children, ssr } = props;\n const [show] = useMediaQuery(breakpoint, { ssr });\n const isVisible = hide ? !show : show;\n const rendered = isVisible ? children : null;\n return rendered;\n}\n\n// src/show.tsx\nfunction Show(props) {\n const { children, ssr } = props;\n const query = useQuery(props);\n return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(Visibility, {\n breakpoint: query,\n ssr\n }, children);\n}\nShow.displayName = \"Show\";\n\n// src/hide.tsx\nfunction Hide(props) {\n const { children, ssr } = props;\n const query = useQuery(props);\n return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(Visibility, {\n breakpoint: query,\n hide: true,\n ssr\n }, children);\n}\nHide.displayName = \"Hide\";\n\n\n\n/***/ }),\n\n/***/ 87993:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67294);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5152);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_dynamic__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _chakra_ui_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(51469);\n/* harmony import */ var _data_sections_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28117);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85893);\n\n\n\n\n\nvar ServicesSection = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(6741), __webpack_require__.e(7855), __webpack_require__.e(7120), __webpack_require__.e(2892)]).then(__webpack_require__.bind(__webpack_require__, 32892));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(32892)];\n }\n }\n});\nvar ServicesSectionMobile = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(6741), __webpack_require__.e(7855), __webpack_require__.e(7120), __webpack_require__.e(4606)]).then(__webpack_require__.bind(__webpack_require__, 64606));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(64606)];\n }\n }\n});\nvar servicesData = _data_sections_json__WEBPACK_IMPORTED_MODULE_2__/* .services */ .uZ;\n\nvar ServicesSectionContainer = function ServicesSectionContainer() {\n var isMobile = (0,_chakra_ui_react__WEBPACK_IMPORTED_MODULE_4__/* .useBreakpointValue */ .Sx)({\n base: true,\n lg: false\n });\n return isMobile ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(ServicesSectionMobile, {\n image: servicesData.image,\n itemsTitle: servicesData.itemsTitle,\n items: servicesData.items,\n descriptionTitle: servicesData.descriptionTitle,\n description: servicesData.description,\n actionText: servicesData.actionText,\n actionTitle: servicesData.actionTitle\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(ServicesSection, {\n image: servicesData.image,\n itemsTitle: servicesData.itemsTitle,\n items: servicesData.items,\n descriptionTitle: servicesData.descriptionTitle,\n description: servicesData.description,\n actionText: servicesData.actionText,\n actionTitle: servicesData.actionTitle\n });\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (ServicesSectionContainer);\n\n/***/ }),\n\n/***/ 28117:\n/***/ (function(module) {\n\nmodule.exports = JSON.parse('{\"uZ\":{\"image\":\"https://static1.carplanner.com/website/assets/services.jpg\",\"itemsTitle\":\"Tutti i servizi inclusi\\\\nnel Noleggio a Lungo Termine\",\"items\":[\"Assicurazione RCA e Kasko\",\"Incendio, furto e danni\",\"Manutenzione ordinaria e straordinaria\",\"Immatricolazione e messa su strada\",\"Soccorso e assistenza stradale H24\",\"Servizi clienti dedicato\"],\"actionText\":\"SCOPRI DI PIÙ\",\"actionTitle\":\"Scopri tutti i vantaggi del Noleggio a Lungo Termine\",\"descriptionTitle\":\"Preferisci l’Acquisto oppure il Noleggio Auto a Lungo Termine?\",\"description\":\"La scelta non è facile: sono tantissimi gli aspetti da tenere in considerazione\\\\nprima di acquistare un auto o optare per il Noleggio a Lungo Termine.\"},\"Mv\":{\"image\":\"https://static1.carplanner.com/website/assets/more-info.jpg\",\"itemsTitle\":\"Confronta le Offerte e scegli la soluzione migliore per te!\",\"items\":[\"Minimo investimento finanziario\",\"Nessun costo di gestione o manutenzione\",\"Canone mensile fisso\",\"Risparmia tempo nella gestione della tua auto\",\"Nessun rischio di svalutazione dell’auto\",\"Nessuna responsabilità in caso di furto/incendio\",\"Auto sempre nuova\"],\"actionText\":\"Consulta le nostre FAQ\",\"actionTitle\":\"Consulta le nostre FAQ sul Noleggio a Lungo Termine\",\"descriptionTitle\":\"Vuoi maggiori informazioni su questo servizio?\",\"description\":\"Su CarPlanner trovi le auto delle migliori marche disponibili con \\\\\"Offerte Shock\\\\\" che ti permetteranno di avere l’auto che hai sempre sognato ad un canone mensile ancora più conveniente, anche in \\\\\"Consegna Veloce\\\\\".\"},\"cM\":{\"image\":\"https://static1.carplanner.com/website/assets/how-nlt-works.png\",\"itemsTitle\":\"I vantaggi del Noleggio a Lungo Termine\",\"items\":[\"Minimo investimento finanziario\",\"Nessun costo di gestione o manutenzione\",\"Canone mensile fisso\",\"Risparmia tempo nella gestione della tua auto\",\"Nessun rischio di svalutazione dell’auto\",\"Nessuna responsabilità in caso di furto/incendio\",\"Auto sempre nuova\"],\"descriptionTitle\":\"Come funziona\\\\nil Noleggio a Lungo Termine con CarPlanner?\",\"description\":\"Grazie alla collaborazione con le migliori società di Noleggio, ti garantiamo sempre le offerte più vantaggiose del mercato. Dovrai solo scegliere l\\'auto che preferisci tra centinaia di offerte disponibili!\",\"href\":\"/come-funziona-noleggio-a-lungo-termine\",\"hrefTitle\":\"Scopri tutti i vantaggi\"},\"ox\":{\"image\":\"https://static1.carplanner.com/website/assets/before-nlt.png\",\"title\":\"Cosa fare per Noleggiare un’auto a lungo termine con CarPlanner\",\"items\":[{\"icon\":\"https://static1.carplanner.com/website/assets/icons-bg-circle.svg\",\"title\":\"Scegli la tua Auto\",\"description\":\"Approfondisci tutti i dettagli tecnici dell’auto, leggendo con attenzione la scheda.\"},{\"icon\":\"https://static1.carplanner.com/website/assets/icons-bg-circle.svg\",\"title\":\"Personalizza offerta\",\"description\":\"La nostre offerte sono personalizzabili*, puoi decidere se versare l’anticipo o meno, scegliere la durata e il chilometraggio che preferisci.\"},{\"icon\":\"https://static1.carplanner.com/website/assets/icons-bg-circle.svg\",\"title\":\"Compila la richiesta\",\"description\":\"Compila il form con i tuoi dati per richiedere un preventivo gratuito e bloccare il prezzo dell\\'auto che hai scelto.\"},{\"icon\":\"https://static1.carplanner.com/website/assets/icons-bg-docs.svg\",\"title\":\"Ordina la tua Auto\",\"description\":\"Carica online i documenti necessari e affidati ai nostri consulenti esperti per sottoscrivere il tuo Noleggio e ricevere l\\'auto nella tua città.\"}],\"href\":\"/noleggio-a-lungo-termine\",\"action\":\"Scopri tutti i vantaggi\",\"actionTitle\":\"Scopri le offerte di Noleggio a Lungo Termine\",\"footer\":\"*In base all’opzione che scegli, il canone mensile può cambiare. Le offerte sono soggette ad esaurimento.\"}}');\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","d","useBreakpointValue","react__WEBPACK_IMPORTED_MODULE_0__","_chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__","_chakra_ui_react_env__WEBPACK_IMPORTED_MODULE_2__","_chakra_ui_breakpoint_utils__WEBPACK_IMPORTED_MODULE_3__","getBreakpoint","theme","value","_a","breakpoints","useQuery","props","breakpoint","below","above","Fg","bpBelow","bpAbove","query","useMediaQuery","options","ssr","fallback","env","O","queries","Array","isArray","fallbackValues","filter","v","setValue","useState","map","query2","index","media","matches","window","matchMedia","useEffect","mql","handler","prev","slice","evt","item","forEach","mql2","addListener","addEventListener","removeListener","removeEventListener","isObject","type","values","arg","opts","useBreakpoint","__breakpoints","details","minMaxQuery","replace","bp","findIndex","from","keys","obj","Object","fromEntries","entries","Yq","key","getClosestValue","AV","indexOf","stopIndex","hasOwnProperty","Visibility","hide","children","show","isVisible","createElement","displayName","Hide","r","next_dynamic__WEBPACK_IMPORTED_MODULE_1__","next_dynamic__WEBPACK_IMPORTED_MODULE_1___default","n","_chakra_ui_react__WEBPACK_IMPORTED_MODULE_4__","_data_sections_json__WEBPACK_IMPORTED_MODULE_2__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__","ServicesSection","Promise","all","e","then","bind","loadableGenerated","webpack","ServicesSectionMobile","servicesData","uZ","isMobile","Sx","base","lg","jsx","image","itemsTitle","items","descriptionTitle","description","actionText","actionTitle","module","exports","JSON","parse"],"sourceRoot":""}