"use strict";
(() => {
var exports = {};
exports.id = 6930;
exports.ids = [6930,133,4135];
exports.modules = {

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

// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "SingleDatabaseContext": () => (/* binding */ SingleDatabaseContext),
  "default": () => (/* binding */ SingleDatabase),
  "getServerSideProps": () => (/* binding */ getServerSideProps)
});

// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(997);
// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(6689);
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
// EXTERNAL MODULE: ./layouts/AdminLayout.jsx + 2 modules
var AdminLayout = __webpack_require__(4858);
// EXTERNAL MODULE: ./functions/backend/userAuth.js
var userAuth = __webpack_require__(370);
var userAuth_default = /*#__PURE__*/__webpack_require__.n(userAuth);
// EXTERNAL MODULE: ./components/admin/databases/DeleteDatabaseConfirmationPopup.jsx
var DeleteDatabaseConfirmationPopup = __webpack_require__(5012);
// EXTERNAL MODULE: ./components/general/Breadcrumbs.jsx
var Breadcrumbs = __webpack_require__(424);
// EXTERNAL MODULE: ./components/general/GeneralPopup.jsx
var GeneralPopup = __webpack_require__(5472);
// EXTERNAL MODULE: ./components/admin/databases/DatabasesTablesList.jsx
var DatabasesTablesList = __webpack_require__(8264);
// EXTERNAL MODULE: ./components/general/BackButton.jsx
var BackButton = __webpack_require__(1781);
// EXTERNAL MODULE: ./components/general/DatabaseSlugCopy.jsx
var DatabaseSlugCopy = __webpack_require__(4739);
// EXTERNAL MODULE: ./components/general/ui/ButtonGroup.jsx
var ButtonGroup = __webpack_require__(5449);
// EXTERNAL MODULE: ./components/general/LoadingBlock.jsx
var LoadingBlock = __webpack_require__(5264);
// EXTERNAL MODULE: external "@mui/icons-material/SendToMobileTwoTone"
var SendToMobileTwoTone_ = __webpack_require__(6500);
var SendToMobileTwoTone_default = /*#__PURE__*/__webpack_require__.n(SendToMobileTwoTone_);
// EXTERNAL MODULE: ./functions/frontend/downloadApiStream.js
var downloadApiStream = __webpack_require__(7851);
;// CONCATENATED MODULE: ./components/admin/databases/SingleDatabasesContent.jsx
// @ts-check
/**
 * ==============================================================================
 * Imports
 * ==============================================================================
 */ 











/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
 * ==============================================================================
 * Main Component { Functional }
 * ==============================================================================
 * @param {Object} props - Server props
 */ function SingleDatabasesContent(props) {
    /**
     * Get Contexts
     *
     * @abstract { React.useContext }
     */ const { database , tables , setTargetTable , confirmedDelegetedUser , query , user ,  } = external_react_default().useContext(SingleDatabaseContext);
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * Javascript Variables
     *
     * @abstract Non hook variables and functions
     */ const isDelegated = confirmedDelegetedUser?.delegated;
    const isTableEditable = confirmedDelegetedUser?.priviledges?.match(/Edit Tables/i);
    const isTableDeletable = confirmedDelegetedUser?.priviledges?.match(/Delete Tables/i);
    const { active_clone , active_clone_parent_db , remote_connected  } = database;
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * React Hooks
     *
     * @abstract { useState, useEffect, useRef, etc ... }
     */ const [loading, setLoading] = external_react_default().useState(false);
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * Function Return
     *
     * @abstract Main Function Return
     */ return /*#__PURE__*/ (0,jsx_runtime_.jsxs)((external_react_default()).Fragment, {
        children: [
            loading && /*#__PURE__*/ jsx_runtime_.jsx(LoadingBlock/* default */.Z, {}),
            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                className: "flex-col items-start gap-0 w-full relative z-50",
                children: [
                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                        className: "w-full justify-between flex-wrap",
                        children: [
                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                                className: "flex-wrap",
                                children: [
                                    /*#__PURE__*/ jsx_runtime_.jsx(BackButton/* default */.Z, {}),
                                    /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                                        className: "flex-wrap gap-y-0",
                                        children: [
                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("h1", {
                                                className: "text-3xl m-0",
                                                children: [
                                                    database.db_name.replace(/ database$/i, ""),
                                                    " ",
                                                    "Database"
                                                ]
                                            }),
                                            /*#__PURE__*/ jsx_runtime_.jsx(DatabaseSlugCopy/* default */.Z, {
                                                slugText: database.db_slug,
                                                outlined: true
                                            }),
                                            !isDelegated && /*#__PURE__*/ (0,jsx_runtime_.jsxs)("button", {
                                                className: "button small-text outlined gray",
                                                onClick: (e)=>{
                                                    (0,downloadApiStream/* default */.Z)({
                                                        url: `/api/exportDatabase?dbName=${database.db_full_name}`,
                                                        fileName: `${database.db_full_name}.sql`,
                                                        setLoading: setLoading
                                                    });
                                                },
                                                children: [
                                                    /*#__PURE__*/ jsx_runtime_.jsx((SendToMobileTwoTone_default()), {
                                                        fontSize: "small",
                                                        color: "action",
                                                        className: "opacity-50",
                                                        sx: {
                                                            fontSize: 14
                                                        }
                                                    }),
                                                    /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                        children: "Export"
                                                    })
                                                ]
                                            })
                                        ]
                                    })
                                ]
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx("div", {
                                className: "flex-wrap flex-col md:flex-row items-stretch md:items-center w-full md:w-auto",
                                children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)(ButtonGroup/* default */.Z, {
                                    children: [
                                        !isDelegated && !active_clone_parent_db && !remote_connected && /*#__PURE__*/ (0,jsx_runtime_.jsxs)("a", {
                                            href: `/admin/${user?.id}/databases/${database.db_slug}/tables/add-table`,
                                            className: "button flex items-center gap-2",
                                            children: [
                                                /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                    className: "symbol",
                                                    children: "+"
                                                }),
                                                /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                    children: "Add Table"
                                                })
                                            ]
                                        }),
                                        /*#__PURE__*/ jsx_runtime_.jsx("a", {
                                            href: `/admin/${user?.id}/databases/${database.db_slug}/tables`,
                                            className: "button secondary",
                                            children: /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                children: "All Tables"
                                            })
                                        }),
                                        !isDelegated && /*#__PURE__*/ jsx_runtime_.jsx("a", {
                                            href: `/admin/${user?.id}/databases/${database.db_slug}/users`,
                                            className: "button dark",
                                            children: /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                children: "Users"
                                            })
                                        }),
                                        !isDelegated && /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                                            className: "dropdown-wrapper my-4 xl:my-0",
                                            children: [
                                                /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                    className: "hidden xl:flex button outlined gray",
                                                    children: "More"
                                                }),
                                                /*#__PURE__*/ jsx_runtime_.jsx("div", {
                                                    className: "dropdown mobile-transform right-aligned mt-0 xl:-mt-2 gap-2 items-stretch",
                                                    children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)(ButtonGroup/* default */.Z, {
                                                        column: true,
                                                        children: [
                                                            /*#__PURE__*/ jsx_runtime_.jsx("a", {
                                                                href: `/admin/${user?.id}/databases/${database.db_slug}/edit-database`,
                                                                className: "button outlined gray more-padding",
                                                                children: /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                                    children: "Edit Database"
                                                                })
                                                            }),
                                                            !active_clone_parent_db && !remote_connected && /*#__PURE__*/ jsx_runtime_.jsx("button", {
                                                                className: "outlined gray more-padding",
                                                                onClick: (e)=>{
                                                                    (0,GeneralPopup/* openPopup */.Mw)("delete-database-confirmation");
                                                                },
                                                                children: /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                                    children: "Delete Database"
                                                                })
                                                            }),
                                                            !isDelegated && /*#__PURE__*/ jsx_runtime_.jsx("button", {
                                                                className: "outlined gray more-padding",
                                                                onClick: (e)=>{
                                                                    (0,downloadApiStream/* default */.Z)({
                                                                        url: `/api/exportDatabase?dbName=${database.db_full_name}`,
                                                                        fileName: `${database.db_full_name}.sql`,
                                                                        setLoading: setLoading
                                                                    });
                                                                },
                                                                children: /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                                    children: "Export Database"
                                                                })
                                                            }),
                                                            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("a", {
                                                                href: `/admin/${user?.id}/users/add-user?db=${database.db_slug}`,
                                                                className: "button outlined secondary more-padding",
                                                                children: [
                                                                    /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                                        className: "symbol",
                                                                        children: "+"
                                                                    }),
                                                                    /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                                                        children: "Add User"
                                                                    })
                                                                ]
                                                            })
                                                        ]
                                                    })
                                                })
                                            ]
                                        })
                                    ]
                                })
                            })
                        ]
                    }),
                    /*#__PURE__*/ jsx_runtime_.jsx(Breadcrumbs/* default */.Z, {
                        confirmedDelegetedUser: query.delegated,
                        user: user
                    })
                ]
            }),
            /*#__PURE__*/ jsx_runtime_.jsx(DatabasesTablesList/* default */.Z, {
                database: database,
                tables: tables,
                setTargetTable: setTargetTable,
                confirmedDelegetedUser: confirmedDelegetedUser,
                query: query,
                user: user
            }),
            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("section", {
                className: "paper green",
                children: [
                    /*#__PURE__*/ jsx_runtime_.jsx("h2", {
                        className: "text-xl m-0",
                        children: "Triggers"
                    }),
                    /*#__PURE__*/ jsx_runtime_.jsx("hr", {}),
                    /*#__PURE__*/ jsx_runtime_.jsx("span", {
                        className: "text-slate-400",
                        children: "Coming Soon ..."
                    })
                ]
            }),
            /*#__PURE__*/ (0,jsx_runtime_.jsxs)("section", {
                className: "paper primary",
                children: [
                    /*#__PURE__*/ jsx_runtime_.jsx("h2", {
                        className: "text-xl m-0",
                        children: "Stored Proceedures"
                    }),
                    /*#__PURE__*/ jsx_runtime_.jsx("hr", {}),
                    /*#__PURE__*/ jsx_runtime_.jsx("span", {
                        className: "text-slate-400",
                        children: "Coming Soon ..."
                    })
                ]
            })
        ]
    });
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
} /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */ 

// EXTERNAL MODULE: ./components/admin/databases/DeleteTableConfirmationPopup.jsx
var DeleteTableConfirmationPopup = __webpack_require__(1674);
// EXTERNAL MODULE: ./components/general/ExtraContentDatabase.jsx
var ExtraContentDatabase = __webpack_require__(4941);
// EXTERNAL MODULE: ./functions/backend/grabDelegatedUserFromCookie.js
var grabDelegatedUserFromCookie = __webpack_require__(5116);
var grabDelegatedUserFromCookie_default = /*#__PURE__*/__webpack_require__.n(grabDelegatedUserFromCookie);
// EXTERNAL MODULE: ./package-shared/utils/backend/global-db/DB_HANDLER.js
var DB_HANDLER = __webpack_require__(9395);
var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);
;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/index.jsx
// @ts-check
/**
 * ==============================================================================
 * Imports
 * ==============================================================================
 */ 

////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////








/** ****************************************************************************** */ /** @type {import("@/package-shared/types").SingleDatabaseContextType} */ // @ts-ignore
const init = {};
const SingleDatabaseContext = /*#__PURE__*/ external_react_default().createContext(init);
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
 * ==============================================================================
 * Main Component { Functional }
 * ==============================================================================
 * @param {Object} props - Server props
 * @param {import("@/package-shared/types").UserType} props.user
 * @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type} props.database
 * @param {import("@/package-shared/types").MYSQL_user_database_tables_table_def[]} props.tables
 * @param {any} props.query
 * @param {any} props.confirmedDelegetedUser
 */ function SingleDatabase({ user , database , tables , query , confirmedDelegetedUser ,  }) {
    /**
     * Get Contexts
     *
     * @abstract { React.useContext }
     */ ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * Javascript Variables
     *
     * @abstract Non hook variables and functions
     */ const pageTitle = `${database.db_name} Database | Datasquirel`;
    const pageDescription = "Welcome to your data app";
    let head = /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
        children: [
            /*#__PURE__*/ jsx_runtime_.jsx("title", {
                children: pageTitle
            }),
            /*#__PURE__*/ jsx_runtime_.jsx("meta", {
                name: "description",
                content: pageDescription
            })
        ]
    });
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * React Hooks
     *
     * @abstract { useState, useEffect, useRef, etc ... }
     */ /** @type {[ targetTable: import("@/package-shared/types").MYSQL_user_database_tables_table_def | null, setTargetTable: React.Dispatch<React.SetStateAction<import("@/package-shared/types").MYSQL_user_database_tables_table_def | null>> ]} */ // @ts-ignore
    const [targetTable, setTargetTable] = external_react_default().useState(null);
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * Function Return
     *
     * @abstract Main Function Return
     */ return /*#__PURE__*/ jsx_runtime_.jsx(AdminLayout/* default */.Z, {
        head: head,
        user: user,
        extraHeaderContent: /*#__PURE__*/ jsx_runtime_.jsx(ExtraContentDatabase/* default */.Z, {
            database: database,
            query: query,
            confirmedDelegetedUser: confirmedDelegetedUser,
            user: user
        }),
        children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)(SingleDatabaseContext.Provider, {
            value: {
                user,
                database,
                tables,
                targetTable,
                setTargetTable,
                query,
                confirmedDelegetedUser
            },
            children: [
                /*#__PURE__*/ jsx_runtime_.jsx(SingleDatabasesContent, {}),
                !confirmedDelegetedUser?.delegated && /*#__PURE__*/ jsx_runtime_.jsx(DeleteDatabaseConfirmationPopup/* default */.Z, {
                    targetDatabase: database
                }),
                (!confirmedDelegetedUser?.delegated || confirmedDelegetedUser?.delegated && confirmedDelegetedUser?.priviledges?.match(/Delete Tables/i)) && /*#__PURE__*/ jsx_runtime_.jsx(DeleteTableConfirmationPopup/* default */.Z, {
                    targetTable: targetTable,
                    database: database
                })
            ]
        })
    });
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
}
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
 * ==============================================================================
 * Server Side Props or Static Props
 * ==============================================================================
 * @type {import("next").GetServerSideProps}
 */ async function getServerSideProps({ req , res , query  }) {
    /**
     * User Auth
     *
     * @description User Auth
     */ const user = await userAuth_default()(req, res);
    if (!user?.logged_in_status) {
        return {
            redirect: {
                destination: "/login",
                permanent: false
            }
        };
    }
    /**
     * Check delegated user token
     *
     * @description Check delegated user token
     */ const dbUserData = await grabDelegatedUserFromCookie_default()({
        request: req,
        user: user,
        // @ts-ignore
        databaseSlug: query.single,
        query
    });
    const dbuserDataObj = dbUserData;
    if (!dbuserDataObj) return {
        redirect: {
            destination: "/admin",
            permanent: false
        }
    };
    const { dbUserId , rootUserId  } = dbuserDataObj;
    /**
     * Page/Site Data Data Fetching
     *
     * @description Fetch data on the server before returning
     */ const database = await DB_HANDLER_default()(`SELECT * FROM user_databases WHERE user_id='${dbUserId}' AND db_slug='${query.single}'`);
    if (!database || !database[0]) {
        return {
            redirect: {
                destination: `/admin/${user?.id}/databases`,
                permanent: false
            }
        };
    }
    // const databaseTablesInfo = await noDatabaseDbHandler(`SELECT * FROM information_schema.tables WHERE TABLE_SCHEMA = '${database[0].db_full_name}'`);
    const tables = rootUserId ? await DB_HANDLER_default()(`
            SELECT 
                delegated_user_tables.database,delegated_user_tables.table,user_database_tables.*
            FROM 
                delegated_user_tables INNER JOIN user_database_tables ON delegated_user_tables.root_user_id=user_database_tables.user_id AND delegated_user_tables.table=user_database_tables.table_slug AND delegated_user_tables.database=user_database_tables.db_slug
            WHERE 
                delegated_user_tables.delegated_user_id='${user.id}' AND delegated_user_tables.root_user_id='${rootUserId}' AND delegated_user_tables.database='${database[0].db_slug}'
        `) : await DB_HANDLER_default()(`SELECT * FROM user_database_tables WHERE user_id='${user.id}' AND db_id='${database[0].id}'`);
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * Confirm delegated User
     *
     * @description Confirm delegated User
     */ let confirmedDelegetedUser = dbUserData;
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * Server props return
     *
     * @description Return data fetched on the server side
     */ return {
        props: {
            user: user,
            database: database[0] ? database[0] : null,
            tables: tables,
            query,
            confirmedDelegetedUser
        }
    };
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
}


/***/ }),

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

module.exports = require("@mui/icons-material/AdminPanelSettingsTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/ArrowBackIosRounded");

/***/ }),

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

module.exports = require("@mui/icons-material/BackupTableTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/CloudOffTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/CloudQueueRounded");

/***/ }),

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

module.exports = require("@mui/icons-material/CodeRounded");

/***/ }),

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

module.exports = require("@mui/icons-material/CollectionsTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/CopyAllTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/CottageTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/DeleteForeverTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/DifferenceTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/DriveFileRenameOutlineTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/DynamicFormTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/LanguageOutlined");

/***/ }),

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

module.exports = require("@mui/icons-material/LockTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/MenuBookTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/PeopleOutlineTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/RefreshRounded");

/***/ }),

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

module.exports = require("@mui/icons-material/SchemaTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/SendToMobileTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/StorageTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/SummarizeTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/TableViewTwoTone");

/***/ }),

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

module.exports = require("@mui/icons-material/TipsAndUpdatesTwoTone");

/***/ }),

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

module.exports = require("lucide-react");

/***/ }),

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

module.exports = require("next/head");

/***/ }),

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

module.exports = require("react");

/***/ }),

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

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

/***/ }),

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

module.exports = require("serverless-mysql");

/***/ }),

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

module.exports = require("buffer");

/***/ }),

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

module.exports = require("crypto");

/***/ }),

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

module.exports = require("fs");

/***/ }),

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

module.exports = require("http");

/***/ })

};
;

// 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, [4017,8313,5264,6729,5449,913,4480,370,424,4858,5472,1781,4941,5116,8345,4986,8264,1500,75,1674], () => (__webpack_exec__(366)));
module.exports = __webpack_exports__;

})();