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MAe1B,GAAAQ,EAAAC,IAAA,EAACuB,EAAAA,CAAKA,CAAAA,CAACC,QAAQ,YAAYY,aAAa,OAAOC,IAAI,gBACjD,GAAAtC,EAAAI,GAAA,EAACmC,KAAAA,CAAGC,UAAU,gBAAgBR,MAAO,CAAES,UAAW,QAAS,WAAG,mBAG7DzD,EAAuBG,GAAG,CAAC,GAC1B,GAAAa,EAAAI,GAAA,EAACsC,EAAAA,GAAaA,CAAAA,CACZC,QAASvD,EAAIuD,OAAO,CACpB9B,UAAWlC,EAEXW,KAAMF,EAAII,WAAW,CACrBwB,KAAM,mBAAmCzB,MAAA,CAAhBH,EAAII,WAAW,CAAC,KACzCoD,aAAc,CAAC,aAAa,CAC5BC,KAAMzD,EAAIyD,IAAI,CACdC,OAAQ1D,EAAIM,MAAM,CAAC,EAAE,CAAGN,EAAIM,MAAM,CAAC,EAAE,CAACC,GAAG,CAAG,GAC5CsB,MAAO,CACLC,OAAQ,QACRC,KAAM,QACNC,mBAAoB,uBACtB,GAVKhC,EAAII,WAAW,QAgBhC","sources":["webpack://_N_E/?d910","webpack://_N_E/./pages/benefit/index.tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/benefit\",\n function () {\n return require(\"private-next-pages/benefit/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/benefit\"])\n });\n }\n ","import React from \"react\";\n\nimport { GetStaticProps } from \"next\";\nimport {\n BTypeBeneficiaryHead,\n CTypeCardView,\n DTypeBreadCrumb,\n colors,\n FullWidthButton,\n} from \"goi_common\";\nimport crematorium from \"goi_common/src/constants/hwajang_detail.json\";\nimport facilities from \"goi_common/src/constants/facilities_detail.json\";\nimport { parlorRegion } from \"@/constants/parlorRegion\";\nimport { Box, Stack } from \"@mui/material\";\nimport Head from \"next/head\";\n\nconst { regionColor, targetSidos } = parlorRegion;\n\nexport const getStaticProps: GetStaticProps = async () => {\n const regionCrematoriums = crematorium.filter((p) =>\n targetSidos.includes(String(p.sido))\n );\n const regionPublicFacilities = facilities.filter(\n (f) => targetSidos.includes(f.sido) && f.is_public\n );\n const description =\n \"기초생활수급자 장례 혜택 1)장제급여 80만원 지원 2)공설장지 이용료 무료 3) 전국 화장시설 화장 비용 무료 4) 공설 장례식장 무료\";\n\n return {\n props: {\n regionCrematoriums,\n regionPublicFacilities,\n pageDescription: description,\n pageKeywords: `기초생활수급자 장례, 기초생활수급자 장례, 장제비, 장제급여, 기초생활수급자 장례 얼마`,\n pageOgTitle: `기초생활수급자 장례 시 114 \n (서울경기인천) | 서울경기인천장례정보포털`,\n pageOgDescription: description,\n pageOgImage: \"\",\n },\n };\n};\n\nexport default function index({\n regionCrematoriums,\n regionPublicFacilities,\n pageOgTitle,\n}: {\n regionCrematoriums: Array;\n regionPublicFacilities: Array;\n pageOgTitle: string;\n}) {\n const carouselItems = regionCrematoriums.map((res, i) => {\n return {\n \"@type\": \"ListItem\",\n name: `(비용안내) ${res.companyname}`,\n image: `${res.images[0].url}`,\n url: `https://www.metropolitan-funeral.co.kr/benefit/hwajang/${res.companyname}/`,\n position: i + 1,\n };\n });\n\n const carouselRichSearch =\n regionCrematoriums.length > 6\n ? {\n \"@context\": \"http://schema.org\",\n \"@type\": \"ItemList\",\n itemListElement: carouselItems,\n }\n : {};\n return (\n <>\n \n {pageOgTitle}\n {regionCrematoriums.length > 5 && (\n \n )}\n \n \n\n \n \n \n \n \n \n \n\n \n

\n 수도권 지역 화장장\n

\n {regionCrematoriums.map((res) => (\n \n ))}\n
\n\n \n

\n 수도권 지역 장지 (공설)\n

\n {regionPublicFacilities.map((res) => (\n \n ))}\n
\n \n );\n}\n"],"names":["window","__NEXT_P","push","__webpack_require__","regionColor","parlorRegion","index","param","regionCrematoriums","regionPublicFacilities","pageOgTitle","carouselItems","map","res","i","name","concat","companyname","image","images","url","position","carouselRichSearch","length","itemListElement","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Fragment","Head","jsx","title","script","type","dangerouslySetInnerHTML","__html","JSON","stringify","DTypeBreadCrumb","mainColor","firstItem","text","href","event","domain","path","trigger_and_target","goiHomeEvent","BTypeBeneficiaryHead","titleSido","Stack","padding","FullWidthButton","backgroundColor","c300","Box","width","height","style","background","colors","gray900","margin","marginBottom","gap","h3","className","textAlign","CTypeCardView","sigungu","descriptions","sido","imgSrc"],"sourceRoot":""}