(() => {
var exports = {};
exports.id = 888;
exports.ids = [888];
exports.modules = {

/***/ 9561:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6689);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var next_image__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5675);
/* harmony import */ var next_image__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_image__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var firebase_messaging__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3512);
/* harmony import */ var react_toastify__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3590);
/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1853);
/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react_icons_fa__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6290);
/* harmony import */ var react_icons_fa__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_icons_fa__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6022);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _store_user__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2253);
/* harmony import */ var _lib_firebase__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(2881);
/* harmony import */ var _lib_imagesPath__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1717);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([firebase_messaging__WEBPACK_IMPORTED_MODULE_3__, react_toastify__WEBPACK_IMPORTED_MODULE_4__, _lib_firebase__WEBPACK_IMPORTED_MODULE_9__]);
([firebase_messaging__WEBPACK_IMPORTED_MODULE_3__, react_toastify__WEBPACK_IMPORTED_MODULE_4__, _lib_firebase__WEBPACK_IMPORTED_MODULE_9__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);











function PushNotificationLayout() {
    const dispatch = (0,react_redux__WEBPACK_IMPORTED_MODULE_7__.useDispatch)();
    const router = (0,next_router__WEBPACK_IMPORTED_MODULE_5__.useRouter)();
    // https://devjonas.medium.com/referenceerror-cant-find-variable-notification-and-how-to-solve-it-de4646caf472
    // https://stackoverflow.com/questions/41493866/firebase-on-ipads-safari-cant-find-variable-notification
    const isSupported = ()=>"Notification" in window && "serviceWorker" in navigator && "PushManager" in window;
    const [supported, setSupported] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);
    const [visible, setVisible] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true);
    const [showNotificationBanner, setShowNotificationBanner] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)();
    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{
        if (isSupported()) {
            setSupported(true);
            setShowNotificationBanner(Notification?.permission === "default");
        } else {
            return;
        }
    }, []);
    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{
        if (!isSupported()) return;
        (0,_lib_firebase__WEBPACK_IMPORTED_MODULE_9__/* .onForegroundMessage */ .mQ)().then((payload)=>{
            (0,react_toastify__WEBPACK_IMPORTED_MODULE_4__.toast)(/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(ToastifyNotification, {
                title: payload?.data?.title,
                body: payload?.data?.body,
                url: payload?.data?.url,
                image: payload?.data?.image
            }));
        }).catch((err)=>console.log("An error occured while retrieving foreground message. ", err));
    }, []);
    const handleGetFirebaseToken = ()=>{
        setVisible(false);
        (0,_lib_firebase__WEBPACK_IMPORTED_MODULE_9__/* .getFirebaseToken */ .ON)().then((firebaseToken)=>{
            if (firebaseToken) {
                setShowNotificationBanner(false);
                dispatch((0,_store_user__WEBPACK_IMPORTED_MODULE_8__/* .setApiFcmToken */ .W)(firebaseToken.toString()));
            }
        }).catch((err)=>console.error("An error occured while retrieving firebase token. ", err));
    };
    const ToastifyNotification = ({ title , body , url , image  })=>/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("a", {
            className: "push-notification",
            href: url == "undefined" || !url ? "#" : url,
            children: [
                image && image != "null" && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_image__WEBPACK_IMPORTED_MODULE_2___default()), {
                    src: image,
                    className: " object-cover ",
                    width: 120,
                    height: 120
                }),
                /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("b", {
                    className: "push-notification-title text-lg text-black my-2 mt-4",
                    children: title
                }),
                /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("p", {
                    className: "push-notification-text text-base",
                    children: body
                })
            ]
        });
    if (!supported) {
        return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {});
    }
    return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
        children: [
            showNotificationBanner && visible && // <div
            //   onClick={handleGetFirebaseToken}
            //   role="button"
            //   className="fixed left-5 bottom-10  z-50 group "
            // >
            //   <div className=" bg-red-600 text-white p-4 rounded-full z-20 relative  shadow-lg border-2   ">
            //     <FaBell />
            //   </div>
            //   <div className="absolute bg-black text-white  hidden group-hover:block   w-56 transition-all   p-2 pl-9 text-center top-1/2 -mt-5  left-5 rounded z-0 ">
            //     Bildirimlere abone ol
            //   </div>
            // </div>
            /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
                id: "notificationContainer",
                className: "fixed top-5 left-1/2 z-50 group flex flex-col bg-white p-4 shadow-lg text-center justify-center items-center w-96 -ml-48",
                children: [
                    /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                        className: " rounded ",
                        children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_image__WEBPACK_IMPORTED_MODULE_2___default()), {
                            src: _lib_imagesPath__WEBPACK_IMPORTED_MODULE_10__/* ["default"].logo_footer */ .Z.logo_footer,
                            alt: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                            width: 200,
                            height: 40
                        })
                    }),
                    /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
                        className: "text-black mt-4",
                        children: [
                            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("b", {
                                children: "G\xfcndemden ilk senin haberin olsun!"
                            }),
                            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("p", {
                                className: "text-sm",
                                children: "Son dakika haberleri, yerel ve d\xfcnyadan en g\xfcncel gelişmeler i\xe7in bildirimlere izin verin."
                            })
                        ]
                    }),
                    /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
                        className: "flex mt-4",
                        children: [
                            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                                role: "button",
                                onClick: ()=>{
                                    setVisible(false);
                                },
                                className: "bg-slate-200 mx-2 px-4 py-1 hover:bg-slate-100",
                                children: "Daha Sonra"
                            }),
                            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                                role: "button",
                                onClick: handleGetFirebaseToken,
                                className: "bg-green-600 text-white mx-2 px-4 py-1 hover:bg-green-700",
                                children: "İzin Ver"
                            })
                        ]
                    })
                ]
            }),
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_toastify__WEBPACK_IMPORTED_MODULE_4__.ToastContainer, {
                hideProgressBar: true,
                autoClose: false
            })
        ]
    });
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PushNotificationLayout);

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ }),

/***/ 9658:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "Z": () => (/* binding */ Footer)
});

// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(997);
// EXTERNAL MODULE: ./node_modules/next/image.js
var next_image = __webpack_require__(5675);
var image_default = /*#__PURE__*/__webpack_require__.n(next_image);
// EXTERNAL MODULE: external "react-icons/fa"
var fa_ = __webpack_require__(6290);
// EXTERNAL MODULE: ./node_modules/next/link.js
var next_link = __webpack_require__(1664);
var link_default = /*#__PURE__*/__webpack_require__.n(next_link);
// EXTERNAL MODULE: external "react-redux"
var external_react_redux_ = __webpack_require__(6022);
// EXTERNAL MODULE: ./lib/imagesPath.js
var imagesPath = __webpack_require__(1717);
;// CONCATENATED MODULE: ./components/footer/top.js






function Top() {
    const { setting , settingSuccess  } = (0,external_react_redux_.useSelector)((state)=>state.setting);
    const { categoryList , categoryListStatus  } = (0,external_react_redux_.useSelector)((state)=>state.categoryList);
    if (!settingSuccess) {
        return /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {});
    }
    return /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
        className: " py-4 items-center flex justify-between flex-col gap-4 ",
        children: [
            /*#__PURE__*/ jsx_runtime_.jsx("div", {
                children: /*#__PURE__*/ jsx_runtime_.jsx((image_default()), {
                    src: imagesPath/* default.logo */.Z.logo,
                    alt: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak"
                })
            }),
            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                className: "flex mt-4 sm:mt-0",
                children: [
                    setting?.tw_url ? /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                        title: setting?.title,
                        className: "text-white bg-slate-800 p-3 hover:bg-zinc-800",
                        href: setting?.tw_url,
                        children: /*#__PURE__*/ jsx_runtime_.jsx(fa_.FaTwitter, {})
                    }) : /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {}),
                    setting?.fb_url ? /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                        title: setting?.title,
                        className: "text-white bg-slate-800 p-3 hover:bg-zinc-800",
                        href: setting?.fb_url,
                        children: /*#__PURE__*/ jsx_runtime_.jsx(fa_.FaFacebookF, {})
                    }) : /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {}),
                    setting?.in_url ? /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                        title: setting?.title,
                        className: "text-white bg-slate-800 p-3 hover:bg-zinc-800",
                        href: setting?.in_url,
                        children: /*#__PURE__*/ jsx_runtime_.jsx(fa_.FaInstagram, {})
                    }) : /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {}),
                    setting?.yt_url ? /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                        title: setting?.title,
                        className: "text-white bg-slate-800 p-3 hover:bg-zinc-800",
                        href: setting?.yt_url,
                        children: /*#__PURE__*/ jsx_runtime_.jsx(fa_.FaYoutube, {})
                    }) : /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {})
                ]
            }),
            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                className: "flex mt-4 sm:mt-0 gap-4",
                children: [
                    /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                        title: "Google",
                        href: setting?.apple_store_url ?? setting?.url,
                        children: /*#__PURE__*/ jsx_runtime_.jsx((image_default()), {
                            src: imagesPath/* default.appleStore */.Z.appleStore,
                            alt: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                            height: "40"
                        })
                    }),
                    /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                        title: "Google",
                        href: setting?.google_store_url ?? setting?.url,
                        children: /*#__PURE__*/ jsx_runtime_.jsx((image_default()), {
                            src: imagesPath/* default.googleStore */.Z.googleStore,
                            alt: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                            height: "40"
                        })
                    })
                ]
            }),
            /*#__PURE__*/ jsx_runtime_.jsx("div", {
                className: "mt-3 grid gap-2 grid-cols-2 md:grid-flow-col ",
                children: categoryListStatus && categoryList.length > 0 && categoryList.map((item, key)=>item.external ? /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                        href: item.external,
                        legacyBehavior: true,
                        children: /*#__PURE__*/ jsx_runtime_.jsx("a", {
                            className: "text-slate-300 border-slate-800 border-b-2 p-2 text-center text-sm transition-all hover:bg-slate-800",
                            target: "_blank",
                            rel: "noopener noreferrer",
                            children: item.title
                        })
                    }, key) : /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                        className: "text-slate-300 border-slate-800 border-b-2 p-2 text-center text-sm transition-all hover:bg-slate-800",
                        href: `${"/"}category/${item.slug}`,
                        children: item.title
                    }, key))
            })
        ]
    });
}

// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(6689);
// EXTERNAL MODULE: ./store/pageAll.js
var pageAll = __webpack_require__(5691);
;// CONCATENATED MODULE: ./components/footer/bottom.js





function Bottom() {
    const [data, setData] = (0,external_react_.useState)();
    const { pageList , pageListStatus  } = (0,external_react_redux_.useSelector)((state)=>state.pageList);
    const dispatch = (0,external_react_redux_.useDispatch)();
    (0,external_react_.useEffect)(()=>{
        if (!pageListStatus && pageList.length == 0) {
            dispatch((0,pageAll/* getApiPageList */.g)());
        }
    }, []);
    (0,external_react_.useEffect)(()=>{
        if (pageList.length > 0 && pageListStatus) {
            setData(pageList);
        }
    }, [
        pageListStatus
    ]);
    return /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
        className: "container mx-auto py-2 flex justify-between flex-col sm:flex-row ",
        children: [
            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                className: " flex flex-col ",
                children: [
                    /*#__PURE__*/ jsx_runtime_.jsx("strong", {
                        className: "text-white text-sm",
                        children: "D\xfcnyadan Son Dakika Haberler, Spor, D\xfcnya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak."
                    }),
                    /*#__PURE__*/ jsx_runtime_.jsx("h3", {
                        className: "text-white text-sm font-thin",
                        children: `${"trsondakika"}: Türkiye'nin en kapsamlı haber sitesi. Son dakika
          haberleri ve en güncel haberler ${"trsondakika"}'da.`
                    })
                ]
            }),
            /*#__PURE__*/ jsx_runtime_.jsx("div", {
                className: "flex justify-center items-center mt-4 sm:mt-0",
                children: data && data.length > 0 ? data.map((item, key)=>/*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                        title: item.title,
                        className: "text-slate-300 hover:text-slate-100 text-sm ml-3",
                        href: `/page/${item.slug}`,
                        children: item.title
                    }, key)) : ""
            })
        ]
    });
}

// EXTERNAL MODULE: ./components/banner/index.js + 1 modules
var banner = __webpack_require__(697);
;// CONCATENATED MODULE: ./components/footer/index.js




function Footer() {
    return /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
        children: [
            /*#__PURE__*/ jsx_runtime_.jsx(banner/* default */.Z, {
                area: "10",
                className: `container mx-auto`
            }),
            /*#__PURE__*/ jsx_runtime_.jsx("div", {
                className: "w-full bg-slate-900 mt-16 px-5",
                children: /*#__PURE__*/ jsx_runtime_.jsx("div", {
                    className: "container mx-auto",
                    children: /*#__PURE__*/ jsx_runtime_.jsx(Top, {})
                })
            }),
            /*#__PURE__*/ jsx_runtime_.jsx("div", {
                className: "w-full bg-zinc-800 px-5 ",
                children: /*#__PURE__*/ jsx_runtime_.jsx(Bottom, {})
            })
        ]
    });
}


/***/ }),

/***/ 7109:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (/* binding */ Header)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _top__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7876);
/* harmony import */ var _logo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5753);
/* harmony import */ var _banner__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(697);
/* harmony import */ var _PushNotificationLayout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9561);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_top__WEBPACK_IMPORTED_MODULE_1__, _PushNotificationLayout__WEBPACK_IMPORTED_MODULE_4__]);
([_top__WEBPACK_IMPORTED_MODULE_1__, _PushNotificationLayout__WEBPACK_IMPORTED_MODULE_4__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);





function Header() {
    return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
        children: [
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_PushNotificationLayout__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {}),
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_top__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, {}),
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_logo__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {}),
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_banner__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
                className: `mx-auto container my-1`,
                area: "1"
            })
        ]
    });
}

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ }),

/***/ 5753:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "Z": () => (/* binding */ Logo)
});

// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(997);
// EXTERNAL MODULE: ./node_modules/next/image.js
var next_image = __webpack_require__(5675);
var image_default = /*#__PURE__*/__webpack_require__.n(next_image);
// EXTERNAL MODULE: ./node_modules/next/link.js
var next_link = __webpack_require__(1664);
var link_default = /*#__PURE__*/__webpack_require__.n(next_link);
// EXTERNAL MODULE: ./components/banner/index.js + 1 modules
var banner = __webpack_require__(697);
// EXTERNAL MODULE: ./lib/imagesPath.js
var imagesPath = __webpack_require__(1717);
// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(6689);
// EXTERNAL MODULE: external "react-icons/fa"
var fa_ = __webpack_require__(6290);
// EXTERNAL MODULE: external "react-redux"
var external_react_redux_ = __webpack_require__(6022);
// EXTERNAL MODULE: ./store/categoryList.js
var store_categoryList = __webpack_require__(7774);
;// CONCATENATED MODULE: ./components/header/nav.js









function Nav() {
    const [isNavOpen, setIsNavOpen] = (0,external_react_.useState)(false);
    const [data, setData] = (0,external_react_.useState)();
    const { categoryList , categoryListStatus  } = (0,external_react_redux_.useSelector)((state)=>state.categoryList);
    const dispatch = (0,external_react_redux_.useDispatch)();
    (0,external_react_.useEffect)(()=>{
        if (!categoryListStatus) {
            dispatch((0,store_categoryList/* getApiCategoryList */._)());
        }
        if (categoryListStatus) {
            setData(categoryList);
        }
    }, [
        dispatch
    ]);
    (0,external_react_.useEffect)(()=>{
        if (categoryListStatus) {
            setData(categoryList);
        }
    }, [
        categoryListStatus
    ]);
    if (!data) {
        return /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {});
    }
    return /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {
        children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
            children: [
                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                    className: "container relative hidden lg:flex items-center justify-between mx-auto h-16 ",
                    children: [
                        /*#__PURE__*/ jsx_runtime_.jsx(banner/* default */.Z, {
                            area: "3",
                            className: "absolute top-16 w-40 -ml-44 "
                        }),
                        /*#__PURE__*/ jsx_runtime_.jsx("nav", {
                            children: /*#__PURE__*/ jsx_runtime_.jsx("ul", {
                                className: "flex gap-2",
                                children: data && data.length > 0 ? data.filter((item)=>item.show_menu === true).map((item, i)=>/*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                        className: `${item.children ? "group relative" : ""}`,
                                        children: [
                                            /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                className: " px-2 py-5 cursor-pointer flex items-center gap-2 text-base text-center text-white transition-all hover:bg-[#082d48] ",
                                                children: item.children ? /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {
                                                    children: item.external ? /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {
                                                        children: /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                            title: item.title,
                                                            href: item.external,
                                                            legacyBehavior: true,
                                                            children: /*#__PURE__*/ jsx_runtime_.jsx("a", {
                                                                title: item.title,
                                                                // target="_blank"
                                                                rel: "noopener noreferrer",
                                                                className: " ",
                                                                children: item.title
                                                            })
                                                        })
                                                    }) : /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
                                                        children: [
                                                            item.title,
                                                            /*#__PURE__*/ jsx_runtime_.jsx(fa_.FaCaretDown, {
                                                                className: "text-xs"
                                                            })
                                                        ]
                                                    })
                                                }) : /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {
                                                    children: item.external ? /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                        title: item.title,
                                                        href: item.external,
                                                        legacyBehavior: true,
                                                        children: /*#__PURE__*/ jsx_runtime_.jsx("a", {
                                                            title: item.title,
                                                            // target="_blank"
                                                            rel: "noopener noreferrer",
                                                            className: " ",
                                                            children: item.title
                                                        })
                                                    }) : /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                        title: item.title,
                                                        href: `${"/"}category/${item.slug}`,
                                                        children: item.title
                                                    })
                                                })
                                            }),
                                            item?.children?.length > 0 ? /*#__PURE__*/ jsx_runtime_.jsx("ul", {
                                                className: "hidden group-hover:inline-flex bg-white p-3 rounded shadow-sm absolute w-[200px] flex-col z-10 ",
                                                children: item.children.map((sub_item, i)=>/*#__PURE__*/ jsx_runtime_.jsx("li", {
                                                        className: "w-full flex flex-col text-left",
                                                        children: sub_item.external ? /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                            title: sub_item.title,
                                                            className: "text-base text-black transition-all border-b-2 hover:bg-blue-50 hover:border-b-blue-600 p-3 ",
                                                            href: sub_item.external,
                                                            legacyBehavior: true,
                                                            children: /*#__PURE__*/ jsx_runtime_.jsx("a", {
                                                                title: sub_item.title,
                                                                target: "_blank",
                                                                rel: "noopener noreferrer",
                                                                className: "text-base text-black transition-all border-b-2 hover:bg-blue-50 hover:border-b-blue-600 p-3 ",
                                                                children: sub_item.title
                                                            })
                                                        }) : /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                            title: sub_item.title,
                                                            className: "text-base text-black transition-all border-b-2 hover:bg-blue-50 hover:border-b-blue-600 p-3 ",
                                                            href: `${"/"}category/${sub_item.slug}`,
                                                            children: sub_item.title
                                                        })
                                                    }, i))
                                            }) : null
                                        ]
                                    }, i)) : null
                            })
                        }),
                        /*#__PURE__*/ jsx_runtime_.jsx("div", {
                            className: "flex gap-3 ml-4 items-center justify-between",
                            children: /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                title: "Search",
                                href: `/search`,
                                className: "text-base text-white",
                                children: /*#__PURE__*/ jsx_runtime_.jsx(fa_.FaSearch, {})
                            })
                        }),
                        /*#__PURE__*/ jsx_runtime_.jsx(banner/* default */.Z, {
                            area: "4",
                            className: "absolute right-0 top-16 w-40 -mr-44 "
                        })
                    ]
                }),
                /*#__PURE__*/ jsx_runtime_.jsx("div", {
                    className: "container mx-auto lg:hidden",
                    children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                        className: "flex items-center justify-between py-4",
                        children: [
                            /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                title: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                                href: "/",
                                children: /*#__PURE__*/ jsx_runtime_.jsx((image_default()), {
                                    src: imagesPath/* default.logo */.Z.logo,
                                    alt: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                                    width: 200,
                                    height: 40
                                })
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx("nav", {
                                children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("section", {
                                    className: "MOBILE-MENU flex lg:hidden",
                                    children: [
                                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                                            className: "HAMBURGER-ICON ml-4 space-y-2 cursor-pointer",
                                            onClick: ()=>setIsNavOpen((prev)=>!prev),
                                            children: [
                                                /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                    className: "block h-0.5 w-8 animate-pulse bg-gray-100"
                                                }),
                                                /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                    className: "block h-0.5 w-8 animate-pulse bg-gray-100"
                                                }),
                                                /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                    className: "block h-0.5 w-8 animate-pulse bg-gray-100"
                                                })
                                            ]
                                        }),
                                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                                            className: isNavOpen ? "showMenuNav" : "hideMenuNav",
                                            children: [
                                                /*#__PURE__*/ jsx_runtime_.jsx("div", {
                                                    className: "CROSS-ICON absolute top-0 right-0 px-4 py-4 cursor-pointer",
                                                    onClick: ()=>setIsNavOpen(false),
                                                    children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("svg", {
                                                        className: "h-8 w-8 text-gray-600",
                                                        viewBox: "0 0 24 24",
                                                        fill: "none",
                                                        stroke: "currentColor",
                                                        strokeWidth: "2",
                                                        strokeLinecap: "round",
                                                        strokeLinejoin: "round",
                                                        children: [
                                                            /*#__PURE__*/ jsx_runtime_.jsx("line", {
                                                                x1: "18",
                                                                y1: "6",
                                                                x2: "6",
                                                                y2: "18"
                                                            }),
                                                            /*#__PURE__*/ jsx_runtime_.jsx("line", {
                                                                x1: "6",
                                                                y1: "6",
                                                                x2: "18",
                                                                y2: "18"
                                                            })
                                                        ]
                                                    })
                                                }),
                                                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("ul", {
                                                    className: " flex flex-col items-center justify-between min-h-[250px] ",
                                                    children: [
                                                        /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                            onClick: ()=>setIsNavOpen(false),
                                                            className: "mb-4",
                                                            href: "/",
                                                            title: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                                                            children: /*#__PURE__*/ jsx_runtime_.jsx((image_default()), {
                                                                src: imagesPath/* default.logo_footer */.Z.logo_footer,
                                                                alt: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                                                                width: 200,
                                                                height: 40
                                                            })
                                                        }),
                                                        data && data.length > 0 ? data.filter((item)=>item.show_menu === true).map((item, i)=>/*#__PURE__*/ (0,jsx_runtime_.jsxs)("li", {
                                                                className: `${item.children ? "group relative" : ""}`,
                                                                children: [
                                                                    /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                                        className: " px-10 py-2 cursor-pointer flex items-center gap-2 text-base text-center transition-all hover:bg-gray-50 border-b-2 border-white hover:border-blue-300 hover:text-blue-400",
                                                                        children: item.children ? /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
                                                                            children: [
                                                                                item.title,
                                                                                /*#__PURE__*/ jsx_runtime_.jsx(fa_.FaCaretDown, {
                                                                                    className: "text-xs"
                                                                                })
                                                                            ]
                                                                        }) : /*#__PURE__*/ jsx_runtime_.jsx(jsx_runtime_.Fragment, {
                                                                            children: item.external ? /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                                                onClick: ()=>setIsNavOpen(false),
                                                                                href: item.external,
                                                                                legacyBehavior: true,
                                                                                title: item.title,
                                                                                children: /*#__PURE__*/ jsx_runtime_.jsx("a", {
                                                                                    children: item.title
                                                                                })
                                                                            }) : /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                                                title: item.title,
                                                                                onClick: ()=>setIsNavOpen(false),
                                                                                href: `${"/"}category/${item.slug}`,
                                                                                children: item.title
                                                                            })
                                                                        })
                                                                    }),
                                                                    item?.children?.length > 0 ? /*#__PURE__*/ jsx_runtime_.jsx("ul", {
                                                                        className: "hidden group-hover:inline-flex bg-white p-3 rounded shadow-sm absolute w-[200px] flex-col z-10 ",
                                                                        children: item.children.map((sub_item, i)=>/*#__PURE__*/ jsx_runtime_.jsx("li", {
                                                                                className: "w-full flex flex-col text-left",
                                                                                children: sub_item.external ? /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                                                    onClick: ()=>setIsNavOpen(false),
                                                                                    className: "text-base transition-all border-b-2 hover:bg-blue-50 hover:border-b-blue-600 p-3 ",
                                                                                    href: sub_item.external,
                                                                                    legacyBehavior: true,
                                                                                    title: sub_item.title,
                                                                                    children: /*#__PURE__*/ jsx_runtime_.jsx("a", {
                                                                                        title: sub_item.title,
                                                                                        className: "text-base transition-all border-b-2 hover:bg-blue-50 hover:border-b-blue-600 p-3 ",
                                                                                        children: sub_item.title
                                                                                    })
                                                                                }) : /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                                                                    title: sub_item.title,
                                                                                    onClick: ()=>setIsNavOpen(false),
                                                                                    className: "text-base transition-all border-b-2 hover:bg-blue-50 hover:border-b-blue-600 p-3 ",
                                                                                    href: `${"/"}category/${sub_item.slug}`,
                                                                                    children: sub_item.title
                                                                                })
                                                                            }, i))
                                                                    }) : null
                                                                ]
                                                            }, i)) : null,
                                                        /*#__PURE__*/ jsx_runtime_.jsx("li", {
                                                            children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)((link_default()), {
                                                                title: "Search",
                                                                onClick: ()=>setIsNavOpen(false),
                                                                href: `/search`,
                                                                className: "flex border px-3 py-1 gap-2 items-center text-base ",
                                                                children: [
                                                                    "Search ",
                                                                    /*#__PURE__*/ jsx_runtime_.jsx(fa_.FaSearch, {})
                                                                ]
                                                            })
                                                        })
                                                    ]
                                                })
                                            ]
                                        })
                                    ]
                                })
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx("style", {
                                children: `
              .hideMenuNav {
                display: none;
              }
              .showMenuNav {
                display: block;
                position: absolute;
                width: 100%;
                height: 100vh;
                top: 0;
                left: 0;
                background: white;
                z-index: 10;
                display: flex;
                flex-direction: column;
                justify-content: space-evenly;
                align-items: center;
              }
            `
                            })
                        ]
                    })
                })
            ]
        })
    });
}

;// CONCATENATED MODULE: ./components/header/logo.js






function Logo() {
    return /*#__PURE__*/ jsx_runtime_.jsx("div", {
        className: "w-full bg-[#0a3d62] px-5",
        children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
            className: "container lg:mx-auto ",
            children: [
                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                    className: " flex justify-center lg:justify-between items-center ",
                    children: [
                        /*#__PURE__*/ jsx_runtime_.jsx("div", {
                            className: "py-2 hidden lg:flex",
                            children: /*#__PURE__*/ jsx_runtime_.jsx((link_default()), {
                                title: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                                href: `/`,
                                children: /*#__PURE__*/ jsx_runtime_.jsx((image_default()), {
                                    src: imagesPath/* default.logo */.Z.logo,
                                    alt: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                                    width: 200,
                                    height: 40
                                })
                            })
                        }),
                        /*#__PURE__*/ jsx_runtime_.jsx(Nav, {})
                    ]
                }),
                /*#__PURE__*/ jsx_runtime_.jsx(banner/* default */.Z, {
                    className: "relative w-full h-full text-right",
                    area: "2"
                })
            ]
        })
    });
}


/***/ }),

/***/ 9620:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (/* binding */ Social)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1664);
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react_icons_fa__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6290);
/* harmony import */ var react_icons_fa__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_icons_fa__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6022);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_3__);




function Social() {
    const { setting , settingSuccess  } = (0,react_redux__WEBPACK_IMPORTED_MODULE_3__.useSelector)((state)=>state.setting);
    if (!settingSuccess) {
        return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {});
    }
    return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
        children: [
            setting?.tw_url ? /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {
                title: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                className: "text-sm text-gray-300 hover:text-gray-500 transition-all",
                href: setting.tw_url,
                target: "_blank",
                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_icons_fa__WEBPACK_IMPORTED_MODULE_2__.FaTwitter, {})
            }) : /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {}),
            setting?.fb_url ? /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {
                title: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                className: "text-sm text-gray-300 hover:text-gray-500 transition-all",
                href: setting.fb_url,
                target: "_blank",
                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_icons_fa__WEBPACK_IMPORTED_MODULE_2__.FaFacebookF, {})
            }) : /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {}),
            setting?.in_url ? /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {
                title: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                className: "text-sm text-gray-300 hover:text-gray-500 transition-all",
                href: setting.in_url,
                target: "_blank",
                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_icons_fa__WEBPACK_IMPORTED_MODULE_2__.FaInstagram, {})
            }) : /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {}),
            setting?.in_url ? /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {
                title: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                className: "text-sm text-gray-300 hover:text-gray-500 transition-all",
                href: "https://www.tiktok.com/@trsondakika_",
                target: "_blank",
                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_icons_fa__WEBPACK_IMPORTED_MODULE_2__.FaTiktok, {})
            }) : /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {}),
            setting?.yt_url ? /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {
                title: "TRSondakika - Dünyadan Son Dakika Haberler, Spor, Dünya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak",
                className: "text-sm text-gray-300 hover:text-gray-500 transition-all",
                href: setting.yt_url,
                target: "_blank",
                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_icons_fa__WEBPACK_IMPORTED_MODULE_2__.FaYoutube, {})
            }) : /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {})
        ]
    });
}


/***/ }),

/***/ 7876:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (/* binding */ Top)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _trending__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4653);
/* harmony import */ var _social__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9620);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2245);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var moment_locale_tr__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45);
/* harmony import */ var moment_locale_tr__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(moment_locale_tr__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6689);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1664);
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react_icons_bi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6652);
/* harmony import */ var react_icons_bi__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_icons_bi__WEBPACK_IMPORTED_MODULE_7__);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_trending__WEBPACK_IMPORTED_MODULE_1__]);
_trending__WEBPACK_IMPORTED_MODULE_1__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];








function Top() {
    const [date, setDate] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)("");
    const [userInfo, setUserInfo] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]);
    const [isOpen, setIsOpen] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
    moment__WEBPACK_IMPORTED_MODULE_3___default().locale("tr");
    (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(()=>{
        const _date = new Date(Date.now());
        const formattedDate = moment__WEBPACK_IMPORTED_MODULE_3___default()(_date).format("LLL");
        setDate(formattedDate);
        const getData = localStorage?.getItem("accessToken");
        const data = JSON.parse(getData);
        setUserInfo(data);
    }, []);
    function toggleDropdown() {
        setIsOpen(!isOpen);
    }
    function handleLogout() {
        localStorage.removeItem("accessToken");
        window.location.href = "/"; //
    }
    return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
        className: "w-full bg-[#082d48] border-b-gray-300 px-5 ",
        children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
            className: "container min-h-[40px] flex justify-between items-center sm:mx-auto ",
            children: [
                /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                    className: "flex items-center relative overflow-hidden",
                    children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_trending__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, {})
                }),
                /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
                    className: "flex gap-3 justify-between items-center",
                    children: [
                        /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                            className: "text-sm text-gray-300 hidden sm:block",
                            children: date
                        }),
                        /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                            className: "border-r-[1px] border-r-gray-700 hidden sm:block",
                            children: "\xa0"
                        }),
                        /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                            className: " gap-1 hidden sm:flex",
                            children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_social__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {})
                        }),
                        /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                            className: "sm:flex",
                            children: userInfo ? /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
                                className: "relative",
                                children: [
                                    /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", {
                                        className: "flex items-center justify-center px-1 py-1 text-sm text-white hover:bg-slate-900 hover:text-white transition-all",
                                        onClick: toggleDropdown,
                                        children: [
                                            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
                                                children: userInfo?.userInfo?.[0]?.userName
                                            }),
                                            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("svg", {
                                                className: "-mr-1 ml-2 h-5 w-5",
                                                xmlns: "http://www.w3.org/2000/svg",
                                                viewBox: "0 0 20 20",
                                                fill: "currentColor",
                                                "aria-hidden": "true",
                                                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("path", {
                                                    fillRule: "evenodd",
                                                    d: "M10.293 14.707a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L10 12.586l3.293-3.293a1 1 0 011.414 1.414l-4 4z",
                                                    clipRule: "evenodd"
                                                })
                                            })
                                        ]
                                    }),
                                    isOpen && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                                        className: "absolute right-0 z-10 mt-2 py-2 w-48 bg-white rounded-md shadow-xl",
                                        children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_6___default()), {
                                            href: "",
                                            children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
                                                className: "block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",
                                                role: "menuitem",
                                                onClick: handleLogout,
                                                children: "\xc7ıkış Yap"
                                            })
                                        })
                                    })
                                ]
                            }) : /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_6___default()), {
                                href: "login",
                                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                                    className: "flex",
                                    children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", {
                                        className: " flex items-center justify-center px-1 py-1 text-sm text-white hover:bg-slate-900 hover:text-white transition-all",
                                        children: [
                                            "\xdcye Girişi",
                                            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_icons_bi__WEBPACK_IMPORTED_MODULE_7__.BiLogIn, {})
                                        ]
                                    })
                                })
                            })
                        })
                    ]
                })
            ]
        })
    });
}

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ }),

/***/ 4653:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (/* binding */ Trending)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6689);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1664);
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react_icons_fa__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6290);
/* harmony import */ var react_icons_fa__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_icons_fa__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var swiper_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3015);
/* harmony import */ var swiper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3877);
/* harmony import */ var swiper_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(8722);
/* harmony import */ var swiper_css__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(swiper_css__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6022);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _store_trending__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8562);
/* harmony import */ var _lib_NewUrlCheck__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8953);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([swiper_react__WEBPACK_IMPORTED_MODULE_4__, swiper__WEBPACK_IMPORTED_MODULE_5__]);
([swiper_react__WEBPACK_IMPORTED_MODULE_4__, swiper__WEBPACK_IMPORTED_MODULE_5__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);










function Trending() {
    const [data, setData] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)();
    const { trendingList , trendingListStatus  } = (0,react_redux__WEBPACK_IMPORTED_MODULE_7__.useSelector)((state)=>state.trendingList);
    const dispatch = (0,react_redux__WEBPACK_IMPORTED_MODULE_7__.useDispatch)();
    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{
        if (!trendingListStatus) {
            dispatch((0,_store_trending__WEBPACK_IMPORTED_MODULE_8__/* .getApiTrendingList */ .B)());
        }
        if (trendingListStatus) {
            setData(trendingList);
        }
    }, [
        dispatch
    ]);
    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{
        if (trendingListStatus) {
            setData(trendingList);
        }
    }, [
        trendingListStatus
    ]);
    //swiper
    const sliderRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
    const handlePrev = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(()=>{
        if (!sliderRef.current) return;
        sliderRef.current.swiper.slidePrev();
    }, []);
    const handleNext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(()=>{
        if (!sliderRef.current) return;
        sliderRef.current.swiper.slideNext();
    }, []);
    //swiper
    if (!data) {
        return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
            children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span", {
                className: "flex h-3 w-3 relative",
                children: [
                    /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
                        className: "animate-ping absolute inline-flex h-full w-full rounded-full bg-sky-400 opacity-75"
                    }),
                    /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
                        className: "relative inline-flex rounded-full h-3 w-3 bg-sky-500"
                    })
                ]
            })
        });
    }
    return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
        children: [
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                className: "bg-red-500 px-2 py-2 text-center font-medium text-white justify-items-center align-center",
                children: "Trending"
            }),
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                className: "ml-2 w-full lg:max-w-2xl ",
                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(swiper_react__WEBPACK_IMPORTED_MODULE_4__.Swiper, {
                    ref: sliderRef,
                    loop: 1,
                    slidesPerView: 1,
                    spaceBetween: 30,
                    centeredSlides: true,
                    autoplay: {
                        delay: 2500,
                        disableOnInteraction: false
                    },
                    modules: [
                        swiper__WEBPACK_IMPORTED_MODULE_5__.Autoplay
                    ],
                    children: data.length > 0 && data.map((item, key)=>/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(swiper_react__WEBPACK_IMPORTED_MODULE_4__.SwiperSlide, {
                            children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_2___default()), {
                                title: item.title,
                                className: "text-sm text-gray-300",
                                href: (0,_lib_NewUrlCheck__WEBPACK_IMPORTED_MODULE_9__/* .CheckUrlSlug */ .v)(item.id, item.categorySlug, item.slug),
                                children: item.title
                            })
                        }, key))
                })
            }),
            /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
                className: "flex justify-between items-center mx-2 gap-1",
                children: [
                    /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
                        onClick: handlePrev,
                        className: " px-1 py-1 text-sm text-gray-500 hover:bg-slate-900 hover:text-white transition-all",
                        children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_icons_fa__WEBPACK_IMPORTED_MODULE_3__.FaAngleLeft, {})
                    }),
                    /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
                        onClick: handleNext,
                        className: " px-1 py-1 text-sm text-gray-500 hover:bg-slate-900 hover:text-white transition-all",
                        children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_icons_fa__WEBPACK_IMPORTED_MODULE_3__.FaAngleRight, {})
                    })
                ]
            })
        ]
    });
}

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ }),

/***/ 8894:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7109);
/* harmony import */ var _footer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9658);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6022);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6689);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _store_setting__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2464);
/* harmony import */ var _store_advertising__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7492);
/* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4298);
/* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(next_script__WEBPACK_IMPORTED_MODULE_7__);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_header__WEBPACK_IMPORTED_MODULE_1__]);
_header__WEBPACK_IMPORTED_MODULE_1__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];



// import Loading from "./loading";





const Layout = ({ children  })=>{
    const { settingSuccess  } = (0,react_redux__WEBPACK_IMPORTED_MODULE_3__.useSelector)((state)=>state.setting);
    const { advertisingStatus  } = (0,react_redux__WEBPACK_IMPORTED_MODULE_3__.useSelector)((state)=>state.advertising);
    const dispatch = (0,react_redux__WEBPACK_IMPORTED_MODULE_3__.useDispatch)();
    (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(()=>{
        if (!settingSuccess) {
            dispatch((0,_store_setting__WEBPACK_IMPORTED_MODULE_5__/* .getApiSetting */ .O)());
        }
    }, [
        dispatch
    ]);
    (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(()=>{
        if (!advertisingStatus) {
            dispatch((0,_store_advertising__WEBPACK_IMPORTED_MODULE_6__/* .getApiAdvertising */ .E)());
        }
    }, [
        dispatch
    ]);
    return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
        className: "flex flex-col h-screen justify-between",
        children: [
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_header__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, {})
            }),
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                className: "mb-auto ",
                children: children
            }),
            /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
                children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_footer__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {})
            })
        ]
    });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Layout);

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ }),

/***/ 2881:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "ON": () => (/* binding */ getFirebaseToken),
/* harmony export */   "mQ": () => (/* binding */ onForegroundMessage)
/* harmony export */ });
/* unused harmony export getOrRegisterServiceWorker */
/* harmony import */ var firebase_app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3745);
/* harmony import */ var firebase_messaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3512);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([firebase_app__WEBPACK_IMPORTED_MODULE_0__, firebase_messaging__WEBPACK_IMPORTED_MODULE_1__]);
([firebase_app__WEBPACK_IMPORTED_MODULE_0__, firebase_messaging__WEBPACK_IMPORTED_MODULE_1__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);


const firebaseConfig = {
    apiKey: "AIzaSyBYCpkXN0Z4ei5eQxakbN8DOfVT56eESos",
    authDomain: "trsondakika-news-b9f56.firebaseapp.com",
    projectId: "trsondakika-news-b9f56",
    storageBucket: "trsondakika-news-b9f56.appspot.com",
    messagingSenderId: "815473329581",
    appId: "1:815473329581:web:1fca0b23b88f7966764d24"
};
// Initialize Firebase
const firebaseApp = (0,firebase_app__WEBPACK_IMPORTED_MODULE_0__.initializeApp)(firebaseConfig);
const getOrRegisterServiceWorker = ()=>{
    if ("serviceWorker" in navigator) {
        return window.navigator.serviceWorker.getRegistration("/firebase-push-notification-scope").then((serviceWorker)=>{
            if (serviceWorker) return serviceWorker;
            return window.navigator.serviceWorker.register("/firebase-messaging-sw.js", {
                scope: "/firebase-push-notification-scope"
            });
        });
    }
    throw new Error("The browser doesn`t support service worker.");
};
const getFirebaseToken = ()=>getOrRegisterServiceWorker().then((serviceWorkerRegistration)=>(0,firebase_messaging__WEBPACK_IMPORTED_MODULE_1__.getToken)((0,firebase_messaging__WEBPACK_IMPORTED_MODULE_1__.getMessaging)(firebaseApp), {
            vapidKey: "BHNlovBR1FLutllzDWOz3uQnFpflDu4fVkeUJfXkFG3-RLSf9jKQ7HGZdrAmUWbfjokqMyMuMINLq15F9ljNkyk",
            serviceWorkerRegistration
        }));
const onForegroundMessage = ()=>new Promise((resolve)=>(0,firebase_messaging__WEBPACK_IMPORTED_MODULE_1__.onMessage)((0,firebase_messaging__WEBPACK_IMPORTED_MODULE_1__.getMessaging)(firebaseApp), (payload)=>resolve(payload)));

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ }),

/***/ 8484:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ MyApp)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6764);
/* harmony import */ var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_styles_globals_css__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _styles_headline_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7212);
/* harmony import */ var _styles_headline_css__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_styles_headline_css__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _components_layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8894);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6022);
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _store_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6572);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_components_layout__WEBPACK_IMPORTED_MODULE_3__]);
_components_layout__WEBPACK_IMPORTED_MODULE_3__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];






function MyApp({ Component , pageProps  }) {
    return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_redux__WEBPACK_IMPORTED_MODULE_4__.Provider, {
        store: _store_index__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z,
        children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_layout__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
            children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(Component, {
                ...pageProps
            })
        })
    });
}

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ }),

/***/ 7492:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "E": () => (/* binding */ getApiAdvertising),
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _lib_timeDifference__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9483);
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5184);
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__);


// Slice
const slice = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createSlice)({
    name: "advertising",
    initialState: {
        advertising: [],
        advertisingStatus: false
    },
    reducers: {
        setAdvertising: (state, action)=>{
            state.advertising = action.payload;
            state.advertisingStatus = true;
        }
    }
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (slice.reducer);
// Actions
const { setAdvertising  } = slice.actions;
const setLocalStorageData = (par)=>{
    var now = new Date();
    localStorage.setItem("advertising", JSON.stringify({
        items: par,
        time: now
    }));
};
const getLocalStorageData = ()=>{
    const getData = localStorage.getItem("advertising");
    const data = JSON.parse(getData);
    if (data && data?.items?.length > 0) {
        return data;
    } else {
        return false;
    }
};
const getApiAdvertising = ()=>async (dispatch)=>{
        const data = getLocalStorageData();
        const storageDate = new Date(data?.time);
        const time = (0,_lib_timeDifference__WEBPACK_IMPORTED_MODULE_1__/* .minuteDifference */ .I)(storageDate);
        try {
            if (data && time < 5) {
                dispatch(setAdvertising(data?.items));
            } else {
                try {
                    const request = await fetch(`${"https://api.trsondakika.com/api"}/getAdvertisingAll`, {
                        method: "GET",
                        headers: {
                            "Content-Type": "application/json"
                        }
                    });
                    const response = await request.json();
                    setLocalStorageData(response?.items);
                    dispatch(setAdvertising(response?.items));
                } catch (e) {
                    return console.error(e.message);
                }
            }
        } catch (e1) {
            console.log("getApiAdvertising error:", e1);
        }
    };


/***/ }),

/***/ 7774:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   "_": () => (/* binding */ getApiCategoryList)
/* harmony export */ });
/* harmony import */ var _lib_timeDifference__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9483);
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5184);
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__);


// Slice
const slice = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createSlice)({
    name: "categoryList",
    initialState: {
        categoryList: [],
        categoryListStatus: false
    },
    reducers: {
        setCategoryList: (state, action)=>{
            state.categoryList = action.payload;
            state.categoryListStatus = true;
        }
    }
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (slice.reducer);
// Actions
const setLocalStorageData = (par)=>{
    var now = new Date();
    localStorage.setItem("categoryList", JSON.stringify({
        items: par,
        time: now
    }));
};
const getLocalStorageData = ()=>{
    const getData = localStorage.getItem("categoryList");
    const data = JSON.parse(getData);
    if (data && data?.items?.length > 0) {
        return data;
    } else {
        return false;
    }
};
const { setCategoryList  } = slice.actions;
const getApiCategoryList = ()=>async (dispatch)=>{
        const data = getLocalStorageData();
        const storageDate = new Date(data?.time);
        const time = (0,_lib_timeDifference__WEBPACK_IMPORTED_MODULE_1__/* .minuteDifference */ .I)(storageDate);
        try {
            if (data && time < 5) {
                dispatch(setCategoryList(data?.items));
            } else {
                try {
                    const request = await fetch(`${"https://api.trsondakika.com/api"}/categoryList`, {
                        method: "GET",
                        headers: {
                            "Content-Type": "application/json"
                        }
                    });
                    const response = await request.json();
                    setLocalStorageData(response);
                    dispatch(setCategoryList(response));
                } catch (e) {
                    return console.error(e.message);
                }
            }
        } catch (e1) {
            console.log("getApiAdvertising error:", e1);
        }
    };


/***/ }),

/***/ 6572:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "Z": () => (/* binding */ store_0)
});

// EXTERNAL MODULE: external "@reduxjs/toolkit"
var toolkit_ = __webpack_require__(5184);
;// CONCATENATED MODULE: external "redux"
const external_redux_namespaceObject = require("redux");
// EXTERNAL MODULE: ./store/setting.js
var setting = __webpack_require__(2464);
// EXTERNAL MODULE: ./store/advertising.js
var advertising = __webpack_require__(7492);
// EXTERNAL MODULE: ./store/mostPopuler.js
var mostPopuler = __webpack_require__(9219);
// EXTERNAL MODULE: ./store/categoryList.js
var categoryList = __webpack_require__(7774);
// EXTERNAL MODULE: ./store/pageAll.js
var pageAll = __webpack_require__(5691);
// EXTERNAL MODULE: ./store/trending.js
var trending = __webpack_require__(8562);
// EXTERNAL MODULE: ./store/homePageNewsCategory.js
var homePageNewsCategory = __webpack_require__(7502);
;// CONCATENATED MODULE: ./store/index.js









const reducer = (0,external_redux_namespaceObject.combineReducers)({
    setting: setting/* default */.Z,
    advertising: advertising/* default */.Z,
    mostPopuler: mostPopuler/* default */.Z,
    categoryList: categoryList/* default */.Z,
    pageList: pageAll/* default */.Z,
    trendingList: trending/* default */.Z,
    homePageNewsCategory: homePageNewsCategory/* default */.Z
});
const store = (0,toolkit_.configureStore)({
    reducer
});
/* harmony default export */ const store_0 = (store);


/***/ }),

/***/ 5691:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   "g": () => (/* binding */ getApiPageList)
/* harmony export */ });
/* harmony import */ var _lib_timeDifference__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9483);
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5184);
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__);


// Slice
const slice = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createSlice)({
    name: "pageList",
    initialState: {
        pageList: [],
        pageListStatus: false
    },
    reducers: {
        setPageList: (state, action)=>{
            state.pageList = action.payload;
            state.pageListStatus = true;
        }
    }
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (slice.reducer);
// Actions
const { setPageList  } = slice.actions;
const setLocalStorageData = (par)=>{
    var now = new Date();
    localStorage.setItem("pageList", JSON.stringify({
        items: par,
        time: now
    }));
};
const getLocalStorageData = ()=>{
    const getData = localStorage.getItem("pageList");
    const data = JSON.parse(getData);
    if (data && data?.items?.length > 0) {
        return data;
    } else {
        return false;
    }
};
const getApiPageList = ()=>async (dispatch)=>{
        const data = getLocalStorageData();
        const storageDate = new Date(data?.time);
        const time = (0,_lib_timeDifference__WEBPACK_IMPORTED_MODULE_1__/* .minuteDifference */ .I)(storageDate);
        try {
            if (data && time < 5) {
                dispatch(setPageList(data?.items));
            } else {
                try {
                    const request = await fetch(`${"https://api.trsondakika.com/api"}/getPageAll?language=${"tr"}`, {
                        method: "GET",
                        headers: {
                            "Content-Type": "application/json"
                        }
                    });
                    const response = await request.json();
                    setLocalStorageData(response?.items);
                    dispatch(setPageList(response?.items));
                } catch (e) {
                    return console.error(e.message);
                }
            }
        } catch (e1) {
            console.log("getApiAdvertising error:", e1);
        }
    };


/***/ }),

/***/ 2464:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "O": () => (/* binding */ getApiSetting),
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5184);
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__);

// Slice
const slice = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createSlice)({
    name: "setting",
    initialState: {
        setting: {},
        settingSuccess: false
    },
    reducers: {
        getSetting: (state, action)=>{
            state.setting = action.payload;
            state.settingSuccess = true;
        }
    }
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (slice.reducer);
// Actions
const { getSetting  } = slice.actions;
const getApiSetting = ()=>async (dispatch)=>{
        try {
            const request = await fetch(`${"https://api.trsondakika.com/api"}/getSetting`, {
                method: "GET",
                headers: {
                    "Content-Type": "application/json"
                }
            });
            const response = await request.json();
            dispatch(getSetting(response?.item));
        } catch (e) {
            return console.error(e.message);
        }
    };


/***/ }),

/***/ 8562:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "B": () => (/* binding */ getApiTrendingList),
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5184);
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__);

// Slice
const slice = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createSlice)({
    name: "trendingList",
    initialState: {
        trendingList: [],
        trendingListStatus: false
    },
    reducers: {
        setTrendingList: (state, action)=>{
            state.trendingList = action.payload;
            state.trendingListStatus = true;
        }
    }
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (slice.reducer);
// Actions
const { setTrendingList  } = slice.actions;
const getApiTrendingList = ()=>async (dispatch)=>{
        try {
            const request = await fetch(`${"https://api.trsondakika.com/api"}/breakingNews?language=${"tr"}`, {
                method: "GET",
                headers: {
                    "Content-Type": "application/json"
                }
            });
            const response = await request.json();
            dispatch(setTrendingList(response?.item));
        } catch (e) {
            return console.error(e.message);
        }
    };


/***/ }),

/***/ 2253:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "W": () => (/* binding */ setApiFcmToken)
/* harmony export */ });
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5184);
/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__);

// Slice
const slice = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createSlice)({
    name: "user",
    initialState: {
        user: {},
        userSuccess: false
    },
    reducers: {
        getUser: (state, action)=>{
            state.user = action.payload;
            state.userSuccess = true;
        }
    }
});
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (slice.reducer);
// Actions
const { getUser  } = slice.actions;
const setApiFcmToken = async (token)=>{
    try {
        const request = await fetch(`${"https://api.trsondakika.com/api"}/addFcmToken`, {
            method: "POST",
            headers: {
                "Content-Type": "application/json"
            },
            body: JSON.stringify({
                device_token: token
            })
        });
        const response = await request.json();
        console.log("response setApiFcmToken:", response);
    } catch (e) {
        return console.error(e.message);
    }
};


/***/ }),

/***/ 6764:
/***/ (() => {



/***/ }),

/***/ 7212:
/***/ (() => {



/***/ }),

/***/ 5184:
/***/ ((module) => {

"use strict";
module.exports = require("@reduxjs/toolkit");

/***/ }),

/***/ 2245:
/***/ ((module) => {

"use strict";
module.exports = require("moment");

/***/ }),

/***/ 45:
/***/ ((module) => {

"use strict";
module.exports = require("moment/locale/tr");

/***/ }),

/***/ 3280:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/app-router-context.js");

/***/ }),

/***/ 2796:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/head-manager-context.js");

/***/ }),

/***/ 4957:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/head.js");

/***/ }),

/***/ 4014:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");

/***/ }),

/***/ 4486:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/image-blur-svg.js");

/***/ }),

/***/ 744:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/image-config-context.js");

/***/ }),

/***/ 5843:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/image-config.js");

/***/ }),

/***/ 9552:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/image-loader");

/***/ }),

/***/ 8524:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/is-plain-object.js");

/***/ }),

/***/ 8020:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/mitt.js");

/***/ }),

/***/ 4406:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");

/***/ }),

/***/ 4964:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router-context.js");

/***/ }),

/***/ 1751:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");

/***/ }),

/***/ 6220:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");

/***/ }),

/***/ 299:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");

/***/ }),

/***/ 3938:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/format-url.js");

/***/ }),

/***/ 9565:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");

/***/ }),

/***/ 5789:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");

/***/ }),

/***/ 1897:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");

/***/ }),

/***/ 1428:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");

/***/ }),

/***/ 8854:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");

/***/ }),

/***/ 1292:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");

/***/ }),

/***/ 4567:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");

/***/ }),

/***/ 979:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/querystring.js");

/***/ }),

/***/ 3297:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");

/***/ }),

/***/ 6052:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");

/***/ }),

/***/ 4226:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");

/***/ }),

/***/ 5052:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");

/***/ }),

/***/ 9232:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/utils.js");

/***/ }),

/***/ 618:
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/shared/lib/utils/warn-once.js");

/***/ }),

/***/ 1853:
/***/ ((module) => {

"use strict";
module.exports = require("next/router");

/***/ }),

/***/ 8450:
/***/ ((module) => {

"use strict";
module.exports = require("nextjs-google-adsense");

/***/ }),

/***/ 580:
/***/ ((module) => {

"use strict";
module.exports = require("prop-types");

/***/ }),

/***/ 6689:
/***/ ((module) => {

"use strict";
module.exports = require("react");

/***/ }),

/***/ 6348:
/***/ ((module) => {

"use strict";
module.exports = require("react-adsense");

/***/ }),

/***/ 6405:
/***/ ((module) => {

"use strict";
module.exports = require("react-dom");

/***/ }),

/***/ 6652:
/***/ ((module) => {

"use strict";
module.exports = require("react-icons/bi");

/***/ }),

/***/ 6290:
/***/ ((module) => {

"use strict";
module.exports = require("react-icons/fa");

/***/ }),

/***/ 8924:
/***/ ((module) => {

"use strict";
module.exports = require("react-player");

/***/ }),

/***/ 6022:
/***/ ((module) => {

"use strict";
module.exports = require("react-redux");

/***/ }),

/***/ 997:
/***/ ((module) => {

"use strict";
module.exports = require("react/jsx-runtime");

/***/ }),

/***/ 3745:
/***/ ((module) => {

"use strict";
module.exports = import("firebase/app");;

/***/ }),

/***/ 3512:
/***/ ((module) => {

"use strict";
module.exports = import("firebase/messaging");;

/***/ }),

/***/ 3590:
/***/ ((module) => {

"use strict";
module.exports = import("react-toastify");;

/***/ }),

/***/ 3877:
/***/ ((module) => {

"use strict";
module.exports = import("swiper");;

/***/ }),

/***/ 3015:
/***/ ((module) => {

"use strict";
module.exports = import("swiper/react");;

/***/ })

};
;

// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [398,505,664,675,749,1], () => (__webpack_exec__(8484)));
module.exports = __webpack_exports__;

})();