Commit d75fb8e0 by giangtd

git cache cleared

parent 2ff9090f

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

# Created by https://www.toptal.com/developers/gitignore/api/react,web
# Edit at https://www.toptal.com/developers/gitignore?templates=react,web
### react ###
.DS_*
*.log
logs
**/*.backup.*
**/*.back.*
node_modules
bower_components
.next
.vscode
*.sublime*
psd
thumb
sketch
### Web ###
*.asp
*.cer
*.csr
*.css
*.htm
*.html
*.js
*.jsp
*.php
*.rss
*.wasm
*.wat
*.xhtml
# End of https://www.toptal.com/developers/gitignore/api/react,web
\ No newline at end of file
{
"polyfillFiles": [
"static/chunks/polyfills.js"
],
"devFiles": [
"static/chunks/react-refresh.js"
],
"ampDevFiles": [
"static/chunks/webpack.js",
"static/chunks/amp.js"
],
"lowPriorityFiles": [
"static/development/_buildManifest.js",
"static/development/_ssgManifest.js"
],
"pages": {
"/": [
"static/chunks/main.js",
"static/chunks/webpack.js",
"static/chunks/pages/index.js"
],
"/_app": [
"static/chunks/main.js",
"static/chunks/webpack.js",
"static/chunks/pages/_app.js"
],
"/_error": [
"static/chunks/main.js",
"static/chunks/webpack.js",
"static/chunks/pages/_error.js"
],
"/users": [
"static/chunks/main.js",
"static/chunks/webpack.js",
"static/chunks/pages/users.js"
]
},
"ampFirstPages": []
}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.getRouteMatcher = getRouteMatcher;\n\nfunction getRouteMatcher(routeRegex) {\n const {\n re,\n groups\n } = routeRegex;\n return pathname => {\n const routeMatch = re.exec(pathname);\n\n if (!routeMatch) {\n return false;\n }\n\n const decode = param => {\n try {\n return decodeURIComponent(param);\n } catch (_) {\n const err = new Error('failed to decode param');\n err.code = 'DECODE_FAILED';\n throw err;\n }\n };\n\n const params = {};\n Object.keys(groups).forEach(slugName => {\n const g = groups[slugName];\n const m = routeMatch[g.pos];\n\n if (m !== undefined) {\n params[slugName] = ~m.indexOf('/') ? m.split('/').map(entry => decode(entry)) : g.repeat ? [decode(m)] : decode(m);\n }\n });\n return params;\n };\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/route-matcher.ts"],"names":["pathname","routeMatch","re","decode","param","decodeURIComponent","err","params","Object","slugName","g","groups","m","entry"],"mappings":";;;;;AAEO,SAAA,eAAA,CAAA,UAAA,EAAuE;AAC5E,QAAM;AAAA,IAAA,EAAA;AAAA,IAAA;AAAA,MAAN,UAAA;AACA,SAAQA,QAAD,IAAyC;AAC9C,UAAMC,UAAU,GAAGC,EAAE,CAAFA,IAAAA,CAAnB,QAAmBA,CAAnB;;AACA,QAAI,CAAJ,UAAA,EAAiB;AACf,aAAA,KAAA;AAGF;;AAAA,UAAMC,MAAM,GAAIC,KAAD,IAAmB;AAChC,UAAI;AACF,eAAOC,kBAAkB,CAAzB,KAAyB,CAAzB;AACA,OAFF,CAEE,OAAA,CAAA,EAAU;AACV,cAAMC,GAA8B,GAAG,IAAA,KAAA,CAAvC,wBAAuC,CAAvC;AAGAA,QAAAA,GAAG,CAAHA,IAAAA,GAAAA,eAAAA;AACA,cAAA,GAAA;AAEH;AAVD,KAAA;;AAWA,UAAMC,MAAkD,GAAxD,EAAA;AAEAC,IAAAA,MAAM,CAANA,IAAAA,CAAAA,MAAAA,EAAAA,OAAAA,CAA6BC,QAAD,IAAsB;AAChD,YAAMC,CAAC,GAAGC,MAAM,CAAhB,QAAgB,CAAhB;AACA,YAAMC,CAAC,GAAGX,UAAU,CAACS,CAAC,CAAtB,GAAoB,CAApB;;AACA,UAAIE,CAAC,KAAL,SAAA,EAAqB;AACnBL,QAAAA,MAAM,CAANA,QAAM,CAANA,GAAmB,CAACK,CAAC,CAADA,OAAAA,CAAD,GAACA,CAAD,GACfA,CAAC,CAADA,KAAAA,CAAAA,GAAAA,EAAAA,GAAAA,CAAkBC,KAAD,IAAWV,MAAM,CADnB,KACmB,CAAlCS,CADe,GAEfF,CAAC,CAADA,MAAAA,GACA,CAACP,MAAM,CADPO,CACO,CAAP,CADAA,GAEAP,MAAM,CAJVI,CAIU,CAJVA;AAMH;AAVDC,KAAAA;AAWA,WAAA,MAAA;AA9BF,GAAA;AAgCD","sourcesContent":["import { getRouteRegex } from './route-regex'\n\nexport function getRouteMatcher(routeRegex: ReturnType<typeof getRouteRegex>) {\n const { re, groups } = routeRegex\n return (pathname: string | null | undefined) => {\n const routeMatch = re.exec(pathname!)\n if (!routeMatch) {\n return false\n }\n\n const decode = (param: string) => {\n try {\n return decodeURIComponent(param)\n } catch (_) {\n const err: Error & { code?: string } = new Error(\n 'failed to decode param'\n )\n err.code = 'DECODE_FAILED'\n throw err\n }\n }\n const params: { [paramName: string]: string | string[] } = {}\n\n Object.keys(groups).forEach((slugName: string) => {\n const g = groups[slugName]\n const m = routeMatch[g.pos]\n if (m !== undefined) {\n params[slugName] = ~m.indexOf('/')\n ? m.split('/').map((entry) => decode(entry))\n : g.repeat\n ? [decode(m)]\n : decode(m)\n }\n })\n return params\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.default = resolveRewrites;\n\nfunction resolveRewrites() {}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/resolve-rewrites-noop.ts"],"names":[],"mappings":";;;;;AAAe,SAAA,eAAA,GAA2B,CAAE","sourcesContent":["export default function resolveRewrites() {}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/users/[id].tsx\",\n _this = this;\n\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport Layout from '@components/Layout';\nimport ListDetail from '@components/ListDetail';\n\nvar StaticPropsDetail = function StaticPropsDetail(_ref) {\n var item = _ref.item,\n errors = _ref.errors;\n\n if (errors) {\n return __jsx(Layout, {\n title: \"Error | Next.js + TypeScript Example\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 7\n }\n }, __jsx(\"p\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }\n }, __jsx(\"span\", {\n style: {\n color: 'red'\n },\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }\n }, \"Error:\"), \" \", errors));\n }\n\n return __jsx(Layout, {\n title: \"\".concat(item ? item.name : 'User Detail', \" | Next.js + TypeScript Example\"),\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 5\n }\n }, item && __jsx(ListDetail, {\n item: item,\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 16\n }\n }));\n};\n\n_c = StaticPropsDetail;\nexport var __N_SSG = true;\nexport default StaticPropsDetail;\n\nvar _c;\n\n$RefreshReg$(_c, \"StaticPropsDetail\");","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/users/[id].tsx"],"names":["Layout","ListDetail","StaticPropsDetail","item","errors","color","name"],"mappings":";;;;;AAIA,OAAOA,MAAP,MAAmB,oBAAnB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;;AAOA,IAAMC,iBAAiB,GAAG,SAApBA,iBAAoB,OAA6B;AAAA,MAA1BC,IAA0B,QAA1BA,IAA0B;AAAA,MAApBC,MAAoB,QAApBA,MAAoB;;AACrD,MAAIA,MAAJ,EAAY;AACV,WACE,MAAC,MAAD;AAAQ,MAAA,KAAK,EAAC,sCAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OACE;AAAM,MAAA,KAAK,EAAE;AAAEC,QAAAA,KAAK,EAAE;AAAT,OAAb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBADF,OACgDD,MADhD,CADF,CADF;AAOD;;AAED,SACE,MAAC,MAAD;AAAQ,IAAA,KAAK,YAAKD,IAAI,GAAGA,IAAI,CAACG,IAAR,GAAe,aAAxB,oCAAb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACGH,IAAI,IAAI,MAAC,UAAD;AAAY,IAAA,IAAI,EAAEA,IAAlB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IADX,CADF;AAKD,CAhBD;;KAAMD,iB;;AAkBN,eAAeA,iBAAf","sourcesContent":["import { GetStaticProps, GetStaticPaths } from 'next';\n\nimport { User } from '@/shared/interfaces';\nimport { sampleUserData } from '@utils/sample-data';\nimport Layout from '@components/Layout';\nimport ListDetail from '@components/ListDetail';\n\ntype Props = {\n item?: User;\n errors?: string;\n};\n\nconst StaticPropsDetail = ({ item, errors }: Props) => {\n if (errors) {\n return (\n <Layout title=\"Error | Next.js + TypeScript Example\">\n <p>\n <span style={{ color: 'red' }}>Error:</span> {errors}\n </p>\n </Layout>\n );\n }\n\n return (\n <Layout title={`${item ? item.name : 'User Detail'} | Next.js + TypeScript Example`}>\n {item && <ListDetail item={item} />}\n </Layout>\n );\n};\n\nexport default StaticPropsDetail;\n\nexport const getStaticPaths: GetStaticPaths = async () => {\n // Get the paths we want to pre-render based on users\n const paths = sampleUserData.map((user) => ({\n params: { id: user.id.toString() }\n }));\n\n // We'll pre-render only these paths at build time.\n // { fallback: false } means other routes should 404.\n return { paths, fallback: false };\n};\n\n// This function gets called at build time on server-side.\n// It won't be called on client-side, so you can even do\n// direct database queries.\nexport const getStaticProps: GetStaticProps = async ({ params }) => {\n try {\n const id = params?.id;\n const item = sampleUserData.find((data) => data.id === Number(id));\n // By returning { props: item }, the StaticPropsDetail component\n // will receive `item` as a prop at build time\n return { props: { item } };\n } catch (err) {\n return { props: { errors: err.message } };\n }\n};\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.useIntersection = useIntersection;\n\nvar _react = require(\"react\");\n\nvar _requestIdleCallback = require(\"./request-idle-callback\");\n\nconst hasIntersectionObserver = typeof IntersectionObserver !== 'undefined';\n\nfunction useIntersection({\n rootMargin,\n disabled\n}) {\n const isDisabled = disabled || !hasIntersectionObserver;\n const unobserve = (0, _react.useRef)();\n const [visible, setVisible] = (0, _react.useState)(false);\n const setRef = (0, _react.useCallback)(el => {\n if (unobserve.current) {\n unobserve.current();\n unobserve.current = undefined;\n }\n\n if (isDisabled || visible) return;\n\n if (el && el.tagName) {\n unobserve.current = observe(el, isVisible => isVisible && setVisible(isVisible), {\n rootMargin\n });\n }\n }, [isDisabled, rootMargin, visible]);\n (0, _react.useEffect)(() => {\n if (!hasIntersectionObserver) {\n if (!visible) {\n const idleCallback = (0, _requestIdleCallback.requestIdleCallback)(() => setVisible(true));\n return () => (0, _requestIdleCallback.cancelIdleCallback)(idleCallback);\n }\n }\n }, [visible]);\n return [setRef, visible];\n}\n\nfunction observe(element, callback, options) {\n const {\n id,\n observer,\n elements\n } = createObserver(options);\n elements.set(element, callback);\n observer.observe(element);\n return function unobserve() {\n elements.delete(element);\n observer.unobserve(element); // Destroy observer when there's nothing left to watch:\n\n if (elements.size === 0) {\n observer.disconnect();\n observers.delete(id);\n }\n };\n}\n\nconst observers = new Map();\n\nfunction createObserver(options) {\n const id = options.rootMargin || '';\n let instance = observers.get(id);\n\n if (instance) {\n return instance;\n }\n\n const elements = new Map();\n const observer = new IntersectionObserver(entries => {\n entries.forEach(entry => {\n const callback = elements.get(entry.target);\n const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;\n\n if (callback && isVisible) {\n callback(isVisible);\n }\n });\n }, options);\n observers.set(id, instance = {\n id,\n observer,\n elements\n });\n return instance;\n}","map":{"version":3,"sources":["../../client/use-intersection.tsx"],"names":["hasIntersectionObserver","isDisabled","disabled","unobserve","setRef","el","observe","isVisible","setVisible","idleCallback","createObserver","elements","observer","observers","id","options","instance","entries","entry","callback"],"mappings":";;;;;AAAA,IAAA,MAAA,GAAA,OAAA,CAAA,OAAA,CAAA;;AACA,IAAA,oBAAA,GAAA,OAAA,CAAA,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,IAAZ,SAAA,EAA2B;AACzBA,QAAAA,QAAQ,CAARA,SAAQ,CAARA;AAEH;AANDF,KAAAA;AADe,GAAA,EAAjB,OAAiB,CAAjB;AAUAJ,EAAAA,SAAS,CAATA,GAAAA,CAAAA,EAAAA,EAEGG,QAAQ,GAAG;AAAA,IAAA,EAAA;AAAA,IAAA,QAAA;AAFdH,IAAAA;AAEc,GAFdA;AAQA,SAAA,QAAA;AACD","sourcesContent":["import { useCallback, useEffect, useRef, useState } from 'react'\nimport {\n requestIdleCallback,\n cancelIdleCallback,\n} from './request-idle-callback'\n\ntype UseIntersectionObserverInit = Pick<IntersectionObserverInit, 'rootMargin'>\ntype UseIntersection = { disabled?: boolean } & UseIntersectionObserverInit\ntype ObserveCallback = (isVisible: boolean) => void\ntype Observer = {\n id: string\n observer: IntersectionObserver\n elements: Map<Element, ObserveCallback>\n}\n\nconst hasIntersectionObserver = typeof IntersectionObserver !== 'undefined'\n\nexport function useIntersection<T extends Element>({\n rootMargin,\n disabled,\n}: UseIntersection): [(element: T | null) => void, boolean] {\n const isDisabled: boolean = disabled || !hasIntersectionObserver\n\n const unobserve = useRef<Function>()\n const [visible, setVisible] = useState(false)\n\n const setRef = useCallback(\n (el: T | null) => {\n if (unobserve.current) {\n unobserve.current()\n unobserve.current = undefined\n }\n\n if (isDisabled || visible) return\n\n if (el && el.tagName) {\n unobserve.current = observe(\n el,\n (isVisible) => isVisible && setVisible(isVisible),\n { rootMargin }\n )\n }\n },\n [isDisabled, rootMargin, visible]\n )\n\n useEffect(() => {\n if (!hasIntersectionObserver) {\n if (!visible) {\n const idleCallback = requestIdleCallback(() => setVisible(true))\n return () => cancelIdleCallback(idleCallback)\n }\n }\n }, [visible])\n\n return [setRef, visible]\n}\n\nfunction observe(\n element: Element,\n callback: ObserveCallback,\n options: UseIntersectionObserverInit\n): () => void {\n const { id, observer, elements } = createObserver(options)\n elements.set(element, callback)\n\n observer.observe(element)\n return function unobserve(): void {\n elements.delete(element)\n observer.unobserve(element)\n\n // Destroy observer when there's nothing left to watch:\n if (elements.size === 0) {\n observer.disconnect()\n observers.delete(id)\n }\n }\n}\n\nconst observers = new Map<string, Observer>()\nfunction createObserver(options: UseIntersectionObserverInit): Observer {\n const id = options.rootMargin || ''\n let instance = observers.get(id)\n if (instance) {\n return instance\n }\n\n const elements = new Map<Element, ObserveCallback>()\n const observer = new IntersectionObserver((entries) => {\n entries.forEach((entry) => {\n const callback = elements.get(entry.target)\n const isVisible = entry.isIntersecting || entry.intersectionRatio > 0\n if (callback && isVisible) {\n callback(isVisible)\n }\n })\n }, options)\n\n observers.set(\n id,\n (instance = {\n id,\n observer,\n elements,\n })\n )\n return instance\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';\n\nvar ansiRegex = require('ansi-regex');\n\nmodule.exports = function (string) {\n return typeof string === 'string' ? string.replace(ansiRegex(), '') : string;\n};","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/strip-ansi/index.js"],"names":["ansiRegex","require","module","exports","string","replace"],"mappings":"AAAA;;AACA,IAAMA,SAAS,GAAGC,OAAO,CAAC,YAAD,CAAzB;;AAEAC,MAAM,CAACC,OAAP,GAAiB,UAAAC,MAAM;AAAA,SAAI,OAAOA,MAAP,KAAkB,QAAlB,GAA6BA,MAAM,CAACC,OAAP,CAAeL,SAAS,EAAxB,EAA4B,EAA5B,CAA7B,GAA+DI,MAAnE;AAAA,CAAvB","sourcesContent":["'use strict';\nconst ansiRegex = require('ansi-regex');\n\nmodule.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.parseRelativeUrl = parseRelativeUrl;\n\nvar _utils = require(\"../../utils\");\n\nvar _querystring = require(\"./querystring\");\n/**\n* Parses path-relative urls (e.g. `/hello/world?foo=bar`). If url isn't path-relative\n* (e.g. `./hello`) then at least base must be.\n* Absolute urls are rejected with one exception, in the browser, absolute urls that are on\n* the current origin will be parsed as relative\n*/\n\n\nfunction parseRelativeUrl(url, base) {\n var globalBase = new URL(false ? 'http://n' : (0, _utils.getLocationOrigin)());\n var resolvedBase = base ? new URL(base, globalBase) : globalBase;\n\n var _URL = new URL(url, resolvedBase),\n pathname = _URL.pathname,\n searchParams = _URL.searchParams,\n search = _URL.search,\n hash = _URL.hash,\n href = _URL.href,\n origin = _URL.origin;\n\n if (origin !== globalBase.origin) {\n throw new Error(\"invariant: invalid relative URL, router received \".concat(url));\n }\n\n return {\n pathname: pathname,\n query: (0, _querystring.searchParamsToUrlQuery)(searchParams),\n search: search,\n hash: hash,\n href: href.slice(globalBase.origin.length)\n };\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/parse-relative-url.ts"],"names":["globalBase","resolvedBase","base","origin","pathname","query","search","hash","href"],"mappings":";;;;;AAAA,IAAA,MAAA,GAAA,OAAA,CAAA,aAAA,CAAA;;AACA,IAAA,YAAA,GAAA,OAAA,CAAA,eAAA,CAAA;AAEA;AACA;AACA;AACA;AACA;AACA;;;AACO,SAAA,gBAAA,CAAA,GAAA,EAAA,IAAA,EAAsD;AAC3D,MAAMA,UAAU,GAAG,IAAA,GAAA,CACjB,QAAA,UAAA,GAA6C,CAAA,GAAA,MAAA,CAD/C,iBAC+C,GAD5B,CAAnB;AAGA,MAAMC,YAAY,GAAGC,IAAI,GAAG,IAAA,GAAA,CAAA,IAAA,EAAH,UAAG,CAAH,GAAzB,UAAA;;AAJ2D,aAKI,IAAA,GAAA,CAAA,GAAA,EAA/D,YAA+D,CALJ;AAAA,MAKrD,QALqD,QAKrD,QALqD;AAAA,MAKrD,YALqD,QAKrD,YALqD;AAAA,MAKrD,MALqD,QAKrD,MALqD;AAAA,MAKrD,IALqD,QAKrD,IALqD;AAAA,MAKrD,IALqD,QAKrD,IALqD;AAAA,MAKrD,MALqD,QAKrD,MALqD;;AAS3D,MAAIC,MAAM,KAAKH,UAAU,CAAzB,MAAA,EAAkC;AAChC,UAAM,IAAA,KAAA,4DAAN,GAAM,EAAN;AAEF;;AAAA,SAAO;AACLI,IAAAA,QADK,EACLA,QADK;AAELC,IAAAA,KAAK,EAAE,CAAA,GAAA,YAAA,CAAA,sBAAA,EAFF,YAEE,CAFF;AAGLC,IAAAA,MAHK,EAGLA,MAHK;AAILC,IAAAA,IAJK,EAILA,IAJK;AAKLC,IAAAA,IAAI,EAAEA,IAAI,CAAJA,KAAAA,CAAWR,UAAU,CAAVA,MAAAA,CALnB,MAKQQ;AALD,GAAP;AAOD","sourcesContent":["import { getLocationOrigin } from '../../utils'\nimport { searchParamsToUrlQuery } from './querystring'\n\n/**\n * Parses path-relative urls (e.g. `/hello/world?foo=bar`). If url isn't path-relative\n * (e.g. `./hello`) then at least base must be.\n * Absolute urls are rejected with one exception, in the browser, absolute urls that are on\n * the current origin will be parsed as relative\n */\nexport function parseRelativeUrl(url: string, base?: string) {\n const globalBase = new URL(\n typeof window === 'undefined' ? 'http://n' : getLocationOrigin()\n )\n const resolvedBase = base ? new URL(base, globalBase) : globalBase\n const { pathname, searchParams, search, hash, href, origin } = new URL(\n url,\n resolvedBase\n )\n if (origin !== globalBase.origin) {\n throw new Error(`invariant: invalid relative URL, router received ${url}`)\n }\n return {\n pathname,\n query: searchParamsToUrlQuery(searchParams),\n search,\n hash,\n href: href.slice(globalBase.origin.length),\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport axios from 'axios';\nconst isDev = true;\nconst instance = axios.create({\n timeout: 20000,\n baseURL: process.env.NEXT_PUBLIC_BASE_URL_API\n});\ninstance.interceptors.request.use(requestConfig => {\n return requestConfig;\n}, error => {\n if (isDev) {\n console.error('API Request Error:', error);\n }\n\n return Promise.reject(error);\n});\ninstance.interceptors.response.use(response => {\n var _response$data, _response$data$token;\n\n // Try to find the access token from response\n if ((_response$data = response.data) !== null && _response$data !== void 0 && (_response$data$token = _response$data.token) !== null && _response$data$token !== void 0 && _response$data$token.accessToken) {\n var _response$data2, _response$data2$token;\n\n instance.defaults.headers = _objectSpread(_objectSpread({}, instance.defaults.headers), {}, {\n Authorization: `Bearer ${(_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : (_response$data2$token = _response$data2.token) === null || _response$data2$token === void 0 ? void 0 : _response$data2$token.accessToken}`\n });\n }\n\n return response;\n}, error => {\n var _error$response, _error$response$data;\n\n if (isDev) {\n console.error('API Response Error:', error);\n }\n\n const errorMessage = error === null || error === void 0 ? void 0 : (_error$response = error.response) === null || _error$response === void 0 ? void 0 : (_error$response$data = _error$response.data) === null || _error$response$data === void 0 ? void 0 : _error$response$data.message;\n\n if (errorMessage) {\n return Promise.reject(new Error(errorMessage));\n }\n\n return Promise.reject(error);\n});\nexport default instance;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/services/http-client.ts"],"names":["axios","isDev","instance","create","timeout","baseURL","process","env","NEXT_PUBLIC_BASE_URL_API","interceptors","request","use","requestConfig","error","console","Promise","reject","response","data","token","accessToken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AChB,WAAOT,OAAO,CAACC,MAAR,CAAe,IAAIU,KAAJ,CAAUF,YAAV,CAAf,CAAP;AACD;;AACD,SAAOT,OAAO,CAACC,MAAR,CAAeH,KAAf,CAAP;AACD,CArBH;AAwBA,eAAeX,QAAf","sourcesContent":["import axios, { AxiosRequestConfig, AxiosResponse } from 'axios';\n\nconst isDev = process.env.NODE_ENV === 'development';\n\nconst instance = axios.create({\n timeout: 20000,\n baseURL: process.env.NEXT_PUBLIC_BASE_URL_API\n});\n\ninstance.interceptors.request.use(\n (requestConfig: AxiosRequestConfig) => {\n return requestConfig;\n },\n (error) => {\n if (isDev) {\n console.error('API Request Error:', error);\n }\n return Promise.reject(error);\n }\n);\n\ninstance.interceptors.response.use(\n (response: AxiosResponse) => {\n // Try to find the access token from response\n if (response.data?.token?.accessToken) {\n instance.defaults.headers = {\n ...instance.defaults.headers,\n Authorization: `Bearer ${response.data?.token?.accessToken}`\n };\n }\n\n return response;\n },\n (error) => {\n if (isDev) {\n console.error('API Response Error:', error);\n }\n const errorMessage = error?.response?.data?.message;\n if (errorMessage) {\n return Promise.reject(new Error(errorMessage));\n }\n return Promise.reject(error);\n }\n);\n\nexport default instance;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.normalizeLocalePath = normalizeLocalePath;\n\nfunction normalizeLocalePath(pathname, locales) {\n var detectedLocale; // first item will be empty string from splitting at first char\n\n var pathnameParts = pathname.split('/');\n (locales || []).some(function (locale) {\n if (pathnameParts[1].toLowerCase() === locale.toLowerCase()) {\n detectedLocale = locale;\n pathnameParts.splice(1, 1);\n pathname = pathnameParts.join('/') || '/';\n return true;\n }\n\n return false;\n });\n return {\n pathname: pathname,\n detectedLocale: detectedLocale\n };\n}","map":{"version":3,"sources":["../../../../next-server/lib/i18n/normalize-locale-path.ts"],"names":["pathnameParts","pathname","locales","locale","detectedLocale"],"mappings":";;;;;AAAO,SAAA,mBAAA,CAAA,QAAA,EAAA,OAAA,EAML;AACA,MAAA,cAAA,CADA,CAEA;;AACA,MAAMA,aAAa,GAAGC,QAAQ,CAARA,KAAAA,CAAtB,GAAsBA,CAAtB;AAEC,GAACC,OAAO,IAAR,EAAA,EAAA,IAAA,CAAsBC,UAAAA,MAAD,EAAY;AAChC,QAAIH,aAAa,CAAbA,CAAa,CAAbA,CAAAA,WAAAA,OAAmCG,MAAM,CAA7C,WAAuCA,EAAvC,EAA6D;AAC3DC,MAAAA,cAAc,GAAdA,MAAAA;AACAJ,MAAAA,aAAa,CAAbA,MAAAA,CAAAA,CAAAA,EAAAA,CAAAA;AACAC,MAAAA,QAAQ,GAAGD,aAAa,CAAbA,IAAAA,CAAAA,GAAAA,KAAXC,GAAAA;AACA,aAAA,IAAA;AAEF;;AAAA,WAAA,KAAA;AAPD,GAAA;AAUD,SAAO;AACLA,IAAAA,QADK,EACLA,QADK;AAELG,IAAAA,cAFF,EAEEA;AAFK,GAAP;AAID","sourcesContent":["export function normalizeLocalePath(\n pathname: string,\n locales?: string[]\n): {\n detectedLocale?: string\n pathname: string\n} {\n let detectedLocale: string | undefined\n // first item will be empty string from splitting at first char\n const pathnameParts = pathname.split('/')\n\n ;(locales || []).some((locale) => {\n if (pathnameParts[1].toLowerCase() === locale.toLowerCase()) {\n detectedLocale = locale\n pathnameParts.splice(1, 1)\n pathname = pathnameParts.join('/') || '/'\n return true\n }\n return false\n })\n\n return {\n pathname,\n detectedLocale,\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"import _defineProperty from \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport axios from 'axios';\nvar isDev = true;\nvar instance = axios.create({\n timeout: 20000,\n baseURL: process.env.NEXT_PUBLIC_BASE_URL_API\n});\ninstance.interceptors.request.use(function (requestConfig) {\n return requestConfig;\n}, function (error) {\n if (isDev) {\n console.error('API Request Error:', error);\n }\n\n return Promise.reject(error);\n});\ninstance.interceptors.response.use(function (response) {\n var _response$data, _response$data$token;\n\n // Try to find the access token from response\n if ((_response$data = response.data) !== null && _response$data !== void 0 && (_response$data$token = _response$data.token) !== null && _response$data$token !== void 0 && _response$data$token.accessToken) {\n var _response$data2, _response$data2$token;\n\n instance.defaults.headers = _objectSpread(_objectSpread({}, instance.defaults.headers), {}, {\n Authorization: \"Bearer \".concat((_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : (_response$data2$token = _response$data2.token) === null || _response$data2$token === void 0 ? void 0 : _response$data2$token.accessToken)\n });\n }\n\n return response;\n}, function (error) {\n var _error$response, _error$response$data;\n\n if (isDev) {\n console.error('API Response Error:', error);\n }\n\n var errorMessage = error === null || error === void 0 ? void 0 : (_error$response = error.response) === null || _error$response === void 0 ? void 0 : (_error$response$data = _error$response.data) === null || _error$response$data === void 0 ? void 0 : _error$response$data.message;\n\n if (errorMessage) {\n return Promise.reject(new Error(errorMessage));\n }\n\n return Promise.reject(error);\n});\nexport default instance;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/services/http-client.ts"],"names":["axios","isDev","instance","create","timeout","baseURL","process","env","NEXT_PUBLIC_BASE_URL_API","interceptors","request","use","requestConfig","error","console","Promise","reject","response","data","token","accessToken","defaults","headers","Authorization","errorMessage","message","Error"],"mappings":";;;;;;AAAA,OAAOA,KAAP,MAAyD,OAAzD;AAEA,IAAMC,KAAK,OAAX;AAEA,IAAMC,QAAQ,GAAGF,KAAK,CAACG,MAAN,CAAa;AAC5BC,EAAAA,OAAO,EAAE,KADmB;AAE5BC,EAAAA,OAAO,EAAEC,OAAO,CAACC,GAAR,CAAYC;AAFO,CAAb,CAAjB;AAKAN,QAAQ,CAACO,YAAT,CAAsBC,OAAtB,CAA8BC,GAA9B,CACE,UAACC,aAAD,EAAuC;AACrC,SAAOA,aAAP;AACD,CAHH,EAIE,UAACC,KAAD,EAAW;AACT,MAAIZ,KAAJ,EAAW;AACTa,IAAAA,OAAO,CAACD,KAAR,CAAc,oBAAd,EAAoCA,KAApC;AACD;;AACD,SAAOE,OAAO,CAACC,MAAR,CAAeH,KAAf,CAAP;AACD,CATH;AAYAX,QAAQ,CAACO,YAAT,CAAsBQ,QAAtB,CAA+BN,GAA/B,CACE,UAACM,QAAD,EAA6B;AAAA;;AAC3B;AACA,wBAAIA,QAAQ,CAACC,IAAb,mEAAI,eAAeC,KAAnB,iDAAI,qBAAsBC,WAA1B,EAAuC;AAAA;;AACrClB,IAAAA,QAAQ,CAACmB,QAAT,CAAkBC,OAAlB,mCACKpB,QAAQ,CAACmB,QAAT,CAAkBC,OADvB;AAEEC,MAAAA,aAAa,sCAAYN,QAAQ,CAACC,IAArB,6EAAY,gBAAeC,KAA3B,0DAAY,sBAAsBC,WAAlC;AAFf;AAID;;AAED,SAAOH,QAAP;AACD,CAXH,EAYE,UAACJ,KAAD,EAAW;AAAA;;AACT,MAAIZ,KAAJ,EAAW;AACTa,IAAAA,OAAO,CAACD,KAAR,CAAc,qBAAd,EAAqCA,KAArC;AACD;;AACD,MAAMW,YAAY,GAAGX,KAAH,aAAGA,KAAH,0CAAGA,KAAK,CAAEI,QAAV,4EAAG,gBAAiBC,IAApB,yDAAG,qBAAuBO,OAA5C;;AACA,MAAID,YAAJ,EAAkB;AAChB,WAAOT,OAAO,CAACC,MAAR,CAAe,IAAIU,KAAJ,CAAUF,YAAV,CAAf,CAAP;AACD;;AACD,SAAOT,OAAO,CAACC,MAAR,CAAeH,KAAf,CAAP;AACD,CArBH;AAwBA,eAAeX,QAAf","sourcesContent":["import axios, { AxiosRequestConfig, AxiosResponse } from 'axios';\n\nconst isDev = process.env.NODE_ENV === 'development';\n\nconst instance = axios.create({\n timeout: 20000,\n baseURL: process.env.NEXT_PUBLIC_BASE_URL_API\n});\n\ninstance.interceptors.request.use(\n (requestConfig: AxiosRequestConfig) => {\n return requestConfig;\n },\n (error) => {\n if (isDev) {\n console.error('API Request Error:', error);\n }\n return Promise.reject(error);\n }\n);\n\ninstance.interceptors.response.use(\n (response: AxiosResponse) => {\n // Try to find the access token from response\n if (response.data?.token?.accessToken) {\n instance.defaults.headers = {\n ...instance.defaults.headers,\n Authorization: `Bearer ${response.data?.token?.accessToken}`\n };\n }\n\n return response;\n },\n (error) => {\n if (isDev) {\n console.error('API Response Error:', error);\n }\n const errorMessage = error?.response?.data?.message;\n if (errorMessage) {\n return Promise.reject(new Error(errorMessage));\n }\n return Promise.reject(error);\n }\n);\n\nexport default instance;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _slicedToArray = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/slicedToArray\");\n\nexports.__esModule = true;\nexports.searchParamsToUrlQuery = searchParamsToUrlQuery;\nexports.urlQueryToSearchParams = urlQueryToSearchParams;\nexports.assign = assign;\n\nfunction searchParamsToUrlQuery(searchParams) {\n var query = {};\n searchParams.forEach(function (value, key) {\n if (typeof query[key] === 'undefined') {\n query[key] = value;\n } else if (Array.isArray(query[key])) {\n ;\n query[key].push(value);\n } else {\n query[key] = [query[key], value];\n }\n });\n return query;\n}\n\nfunction stringifyUrlQueryParam(param) {\n if (typeof param === 'string' || typeof param === 'number' && !isNaN(param) || typeof param === 'boolean') {\n return String(param);\n } else {\n return '';\n }\n}\n\nfunction urlQueryToSearchParams(urlQuery) {\n var result = new URLSearchParams();\n Object.entries(urlQuery).forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n if (Array.isArray(value)) {\n value.forEach(function (item) {\n return result.append(key, stringifyUrlQueryParam(item));\n });\n } else {\n result.set(key, stringifyUrlQueryParam(value));\n }\n });\n return result;\n}\n\nfunction assign(target) {\n for (var _len = arguments.length, searchParamsList = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n searchParamsList[_key - 1] = arguments[_key];\n }\n\n searchParamsList.forEach(function (searchParams) {\n Array.from(searchParams.keys()).forEach(function (key) {\n return target[\"delete\"](key);\n });\n searchParams.forEach(function (value, key) {\n return target.append(key, value);\n });\n });\n return target;\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/querystring.ts"],"names":["query","searchParams","Array","isNaN","String","result","Object","value","item","stringifyUrlQueryParam","searchParamsList","key","target"],"mappings":";;;;;;;;;AAEO,SAAA,sBAAA,CAAA,YAAA,EAEW;AAChB,MAAMA,KAAqB,GAA3B,EAAA;AACAC,EAAAA,YAAY,CAAZA,OAAAA,CAAqB,UAAA,KAAA,EAAA,GAAA,EAAgB;AACnC,QAAI,OAAOD,KAAK,CAAZ,GAAY,CAAZ,KAAJ,WAAA,EAAuC;AACrCA,MAAAA,KAAK,CAALA,GAAK,CAALA,GAAAA,KAAAA;AADF,KAAA,MAEO,IAAIE,KAAK,CAALA,OAAAA,CAAcF,KAAK,CAAvB,GAAuB,CAAnBE,CAAJ,EAA+B;AACpC;AAAEF,MAAAA,KAAK,CAAN,GAAM,CAALA,CAAD,IAACA,CAAD,KAACA;AADG,KAAA,MAEA;AACLA,MAAAA,KAAK,CAALA,GAAK,CAALA,GAAa,CAACA,KAAK,CAAN,GAAM,CAAN,EAA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A,YAAY,CAAZA,OAAAA,CAAqB,UAAA,KAAA,EAAA,GAAA;AAAA,aAAgBW,MAAM,CAANA,MAAAA,CAAAA,GAAAA,EAArCX,KAAqCW,CAAhB;AAAA,KAArBX;AAFFS,GAAAA;AAIA,SAAA,MAAA;AACD","sourcesContent":["import { ParsedUrlQuery } from 'querystring'\n\nexport function searchParamsToUrlQuery(\n searchParams: URLSearchParams\n): ParsedUrlQuery {\n const query: ParsedUrlQuery = {}\n searchParams.forEach((value, key) => {\n if (typeof query[key] === 'undefined') {\n query[key] = value\n } else if (Array.isArray(query[key])) {\n ;(query[key] as string[]).push(value)\n } else {\n query[key] = [query[key] as string, value]\n }\n })\n return query\n}\n\nfunction stringifyUrlQueryParam(param: string): string {\n if (\n typeof param === 'string' ||\n (typeof param === 'number' && !isNaN(param)) ||\n typeof param === 'boolean'\n ) {\n return String(param)\n } else {\n return ''\n }\n}\n\nexport function urlQueryToSearchParams(\n urlQuery: ParsedUrlQuery\n): URLSearchParams {\n const result = new URLSearchParams()\n Object.entries(urlQuery).forEach(([key, value]) => {\n if (Array.isArray(value)) {\n value.forEach((item) => result.append(key, stringifyUrlQueryParam(item)))\n } else {\n result.set(key, stringifyUrlQueryParam(value))\n }\n })\n return result\n}\n\nexport function assign(\n target: URLSearchParams,\n ...searchParamsList: URLSearchParams[]\n): URLSearchParams {\n searchParamsList.forEach((searchParams) => {\n Array.from(searchParams.keys()).forEach((key) => target.delete(key))\n searchParams.forEach((value, key) => target.append(key, value))\n })\n return target\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.AmpStateContext = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar AmpStateContext = /*#__PURE__*/_react[\"default\"].createContext({});\n\nexports.AmpStateContext = AmpStateContext;\n\nif (true) {\n AmpStateContext.displayName = 'AmpStateContext';\n}","map":{"version":3,"sources":["../../../next-server/lib/amp-context.ts"],"names":["AmpStateContext","React"],"mappings":";;;;;AAAA,IAAA,MAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA;;;;;;AAEO;;AAAA,IAAMA,eAAmC,GAAA,aAAGC,MAAAA,WAAAA,CAAAA,aAAAA,CAA5C,EAA4CA,CAA5C;;;;AAEP,UAA2C;AACzCD,EAAAA,eAAe,CAAfA,WAAAA,GAAAA,iBAAAA;AACD","sourcesContent":["import React from 'react'\n\nexport const AmpStateContext: React.Context<any> = React.createContext({})\n\nif (process.env.NODE_ENV !== 'production') {\n AmpStateContext.displayName = 'AmpStateContext'\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/Layout/index.tsx\";\nvar __jsx = React.createElement;\nimport React from 'react';\nimport Link from 'next/link';\nimport Head from 'next/head';\n\nconst Layout = ({\n children,\n title = 'This is the default title'\n}) => __jsx(\"div\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 3\n }\n}, __jsx(Head, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }\n}, __jsx(\"title\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 7\n }\n}, title), __jsx(\"meta\", {\n charSet: \"utf-8\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 7\n }\n}), __jsx(\"meta\", {\n name: \"viewport\",\n content: \"initial-scale=1.0, width=device-width\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 7\n }\n})), __jsx(\"header\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 5\n }\n}, __jsx(\"nav\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 7\n }\n}, __jsx(Link, {\n href: \"/\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 9\n }\n}, __jsx(\"a\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 11\n }\n}, \"Home\")), ' ', \"|\", ' ', __jsx(Link, {\n href: \"/about\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 9\n }\n}, __jsx(\"a\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 11\n }\n}, \"About\")), ' ', \"|\", ' ', __jsx(Link, {\n href: \"/users\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 9\n }\n}, __jsx(\"a\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 11\n }\n}, \"Users List\")), ' ', \"| \", __jsx(\"a\", {\n href: \"/api/users\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 11\n }\n}, \"Users API\"))), children, __jsx(\"footer\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 5\n }\n}, __jsx(\"hr\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 7\n }\n}), __jsx(\"span\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 7\n }\n}, \"I'm here to stay (Footer)\")));\n\nexport default Layout;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/Layout/index.tsx"],"names":["React","Link","Head","Layout","children","title"],"mappings":";;AAAA,OAAOA,KAAP,MAAiC,OAAjC;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,OAAOC,IAAP,MAAiB,WAAjB;;AAOA,MAAMC,MAAM,GAAG,CAAC;AA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A,EADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+BAFF,CAvBF,CADF;;AA+BA,eAAeD,MAAf","sourcesContent":["import React, { ReactNode } from 'react';\nimport Link from 'next/link';\nimport Head from 'next/head';\n\ntype Props = {\n children?: ReactNode;\n title?: string;\n};\n\nconst Layout = ({ children, title = 'This is the default title' }: Props) => (\n <div>\n <Head>\n <title>{title}</title>\n <meta charSet=\"utf-8\" />\n <meta name=\"viewport\" content=\"initial-scale=1.0, width=device-width\" />\n </Head>\n <header>\n <nav>\n <Link href=\"/\">\n <a>Home</a>\n </Link>{' '}\n |{' '}\n <Link href=\"/about\">\n <a>About</a>\n </Link>{' '}\n |{' '}\n <Link href=\"/users\">\n <a>Users List</a>\n </Link>{' '}\n | <a href=\"/api/users\">Users API</a>\n </nav>\n </header>\n {children}\n <footer>\n <hr />\n <span>I'm here to stay (Footer)</span>\n </footer>\n </div>\n);\n\nexport default Layout;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"import _extends from \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/esm/extends\";\n\nvar _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/_app.tsx\",\n _this = this;\n\nvar __jsx = React.createElement;\nimport React from 'react';\nimport { Provider } from 'react-redux';\nimport store from '@store';\nimport '@styles/index.scss';\n\nvar MyApp = function MyApp(_ref) {\n var Component = _ref.Component,\n pageProps = _ref.pageProps;\n return __jsx(Provider, {\n store: store,\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 5\n }\n }, __jsx(Component, _extends({}, pageProps, {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 7\n }\n })));\n};\n\n_c = MyApp;\nexport default MyApp;\n\nvar _c;\n\n$RefreshReg$(_c, \"MyApp\");","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/_app.tsx"],"names":["React","Provider","store","MyApp","Component","pageProps"],"mappings":";;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,SAASC,QAAT,QAAyB,aAAzB;AAEA,OAAOC,KAAP,MAAkB,QAAlB;AACA,OAAO,oBAAP;;AAEA,IAAMC,KAAK,GAAG,SAARA,KAAQ,OAAwC;AAAA,MAArCC,SAAqC,QAArCA,SAAqC;AAAA,MAA1BC,SAA0B,QAA1BA,SAA0B;AACpD,SACE,MAAC,QAAD;AAAU,IAAA,KAAK,EAAEH,KAAjB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE,MAAC,SAAD,eAAeG,SAAf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KADF,CADF;AAKD,CAND;;KAAMF,K;AAQN,eAAeA,KAAf","sourcesContent":["import React from 'react';\nimport type { AppProps } from 'next/app';\nimport { Provider } from 'react-redux';\n\nimport store from '@store';\nimport '@styles/index.scss';\n\nconst MyApp = ({ Component, pageProps }: AppProps) => {\n return (\n <Provider store={store}>\n <Component {...pageProps} />\n </Provider>\n );\n};\n\nexport default MyApp;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.default = mitt;\n/*\nMIT License\nCopyright (c) Jason Miller (https://jasonformat.com/)\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n*/\n// This file is based on https://github.com/developit/mitt/blob/v1.1.3/src/index.js\n// It's been edited for the needs of this script\n// See the LICENSE at the top of the file\n\nfunction mitt() {\n const all = Object.create(null);\n return {\n on(type, handler) {\n ;\n (all[type] || (all[type] = [])).push(handler);\n },\n\n off(type, handler) {\n if (all[type]) {\n all[type].splice(all[type].indexOf(handler) >>> 0, 1);\n }\n },\n\n emit(type, ...evts) {\n // eslint-disable-next-line array-callback-return\n ;\n (all[type] || []).slice().map(handler => {\n handler(...evts);\n });\n }\n\n };\n}","map":{"version":3,"sources":["../../../next-server/lib/mitt.ts"],"names":["all","Object","on","off","emit","handler"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;;AAUe,SAAA,IAAA,GAA6B;AAC1C,QAAMA,GAA+B,GAAGC,MAAM,CAANA,MAAAA,CAAxC,IAAwCA,CAAxC;AAEA,SAAO;AACLC,IAAAA,EAAE,CAAA,IAAA,EAAA,OAAA,EAAiC;AACjC;AAAC,OAACF,GAAG,CAAHA,IAAG,CAAHA,KAAcA,GAAG,CAAHA,IAAG,CAAHA,GAAf,EAACA,CAAD,EAAA,IAAA,CAAA,OAAA;AAFE,KAAA;;AAKLG,IAAAA,GAAG,CAAA,IAAA,EAAA,OAAA,EAAiC;AAClC,UAAIH,GAAG,CAAP,IAAO,CAAP,EAAe;AACbA,QAAAA,GAAG,CAAHA,IAAG,CAAHA,CAAAA,MAAAA,CAAiBA,GAAG,CAAHA,IAAG,CAAHA,CAAAA,OAAAA,CAAAA,OAAAA,MAAjBA,CAAAA,EAAAA,CAAAA;AAEH;AATI,KAAA;;AAWLI,IAAAA,IAAI,CAAA,IAAA,EAAe,GAAf,IAAA,EAA+B;AACjC;AACA;AAAC,OAACJ,GAAG,CAAHA,IAAG,CAAHA,IAAD,EAAA,EAAA,KAAA,GAAA,GAAA,CAA+BK,OAAD,IAAsB;AACnDA,QAAAA,OAAO,CAAC,GAARA,IAAO,CAAPA;AADD,OAAA;AAbL;;AAAO,GAAP;AAkBD","sourcesContent":["/*\nMIT License\n\nCopyright (c) Jason Miller (https://jasonformat.com/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n*/\n\n// This file is based on https://github.com/developit/mitt/blob/v1.1.3/src/index.js\n// It's been edited for the needs of this script\n// See the LICENSE at the top of the file\n\ntype Handler = (...evts: any[]) => void\n\nexport type MittEmitter = {\n on(type: string, handler: Handler): void\n off(type: string, handler: Handler): void\n emit(type: string, ...evts: any[]): void\n}\n\nexport default function mitt(): MittEmitter {\n const all: { [s: string]: Handler[] } = Object.create(null)\n\n return {\n on(type: string, handler: Handler) {\n ;(all[type] || (all[type] = [])).push(handler)\n },\n\n off(type: string, handler: Handler) {\n if (all[type]) {\n all[type].splice(all[type].indexOf(handler) >>> 0, 1)\n }\n },\n\n emit(type: string, ...evts: any[]) {\n // eslint-disable-next-line array-callback-return\n ;(all[type] || []).slice().map((handler: Handler) => {\n handler(...evts)\n })\n },\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _s = $RefreshSig$();\n\nexports.__esModule = true;\nexports.isInAmpMode = isInAmpMode;\nexports.useAmp = useAmp;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _ampContext = require(\"./amp-context\");\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nfunction isInAmpMode() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$ampFirst = _ref.ampFirst,\n ampFirst = _ref$ampFirst === void 0 ? false : _ref$ampFirst,\n _ref$hybrid = _ref.hybrid,\n hybrid = _ref$hybrid === void 0 ? false : _ref$hybrid,\n _ref$hasQuery = _ref.hasQuery,\n hasQuery = _ref$hasQuery === void 0 ? false : _ref$hasQuery;\n\n return ampFirst || hybrid && hasQuery;\n}\n\nfunction useAmp() {\n _s();\n\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(_react[\"default\"].useContext(_ampContext.AmpStateContext));\n}\n\n_s(useAmp, \"gDsCjeeItUuvgOWf1v4qoK9RF6k=\");","map":{"version":3,"sources":["../../../next-server/lib/amp.ts"],"names":["ampFirst","hybrid","hasQuery","isInAmpMode","React","AmpStateContext"],"mappings":";;;;;;;;AAAA,IAAA,MAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA;;AACA,IAAA,WAAA,GAAA,OAAA,CAAA,eAAA,CAAA;;;;;;AAEO;;AAAA,SAAA,WAAA,GAIU;AAAA,iFAJV,EAIU;AAAA,2BAHfA,QAGe;AAAA,MAHfA,QAGe,8BAJW,KAIX;AAAA,yBAFfC,MAEe;AAAA,MAFfA,MAEe,4BAJW,KAIX;AAAA,2BADfC,QACe;AAAA,MADfA,QACe,8BAJW,KAIX;;AACf,SAAOF,QAAQ,IAAKC,MAAM,IAA1B,QAAA;AAGK;;AAAA,SAAA,MAAA,GAA2B;AAAA;;AAChC;AACA,SAAOE,WAAW,CAACC,MAAAA,WAAAA,CAAAA,UAAAA,CAAiBC,WAAAA,CAApC,eAAmBD,CAAD,CAAlB;AACD;;GAHM,M","sourcesContent":["import React from 'react'\nimport { AmpStateContext } from './amp-context'\n\nexport function isInAmpMode({\n ampFirst = false,\n hybrid = false,\n hasQuery = false,\n} = {}): boolean {\n return ampFirst || (hybrid && hasQuery)\n}\n\nexport function useAmp(): boolean {\n // Don't assign the context value to a variable to save bytes\n return isInAmpMode(React.useContext(AmpStateContext))\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"import { createSlice } from '@reduxjs/toolkit';\nimport * as userService from '@services/user';\nvar initialState = {\n currentUser: null\n};\nvar userSlice = createSlice({\n name: 'user',\n initialState: initialState,\n reducers: {\n setCurrentUser: function setCurrentUser(state, action) {\n state.currentUser = action.payload;\n }\n }\n});\nexport var selectCurrentUser = function selectCurrentUser(state) {\n return state;\n};\nexport var userActions = userSlice.actions;\nexport var getUserProfile = function getUserProfile() {\n return function (dispatch) {\n userService.me().then(function (res) {\n return dispatch(userActions.setCurrentUser(res.data));\n })[\"catch\"](console.error);\n };\n};\nexport default userSlice.reducer;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/store/user.ts"],"names":["createSlice","userService","initialState","currentUser","userSlice","name","reducers","setCurrentUser","state","action","payload","selectCurrentUser","userActions","actions","getUserProfile","dispatch","me","then","res","data","console","error","reducer"],"mappings":"AAAA,SAASA,WAAT,QAAqD,kBAArD;AAIA,OAAO,KAAKC,WAAZ,MAA6B,gBAA7B;AAMA,IAAMC,YAAmB,GAAG;AAC1BC,EAAAA,WAAW,EAAE;AADa,CAA5B;AAIA,IAAMC,SAAS,GAAGJ,WAAW,CAAC;AAC5BK,EAAAA,IAAI,EAAE,MADsB;AAE5BH,EAAAA,YAAY,EAAZA,YAF4B;AAG5BI,EAAAA,QAAQ,EAAE;AACRC,IAAAA,cADQ,0BACOC,KADP,EACcC,MADd,EACqD;AAC3DD,MAAAA,KAAK,CAACL,WAAN,GAAoBM,MAAM,CAACC,OAA3B;AACD;AAHO;AAHkB,CAAD,CAA7B;AAUA,OAAO,IAAMC,iBAAiB,GAAG,SAApBA,iBAAoB,CAACH,KAAD;AAAA,SAAqBA,KAArB;AAAA,CAA1B;AAEP,OAAO,IAAMI,WAAW,GAAGR,SAAS,CAACS,OAA9B;AAEP,OAAO,IAAMC,cAAc,GAAG,SAAjBA,cAAiB;AAAA,SAAM,UAACC,QAAD,EAAwB;AAC1Dd,IAAAA,WAAW,CACRe,EADH,GAEGC,IAFH,CAEQ,UAACC,GAAD;AAAA,aAASH,QAAQ,CAACH,WAAW,CAACL,cAAZ,CAA2BW,GAAG,CAACC,IAA/B,CAAD,CAAjB;AAAA,KAFR,WAGSC,OAAO,CAACC,KAHjB;AAID,GAL6B;AAAA,CAAvB;AAOP,eAAejB,SAAS,CAACkB,OAAzB","sourcesContent":["import { createSlice, PayloadAction, Dispatch } from '@reduxjs/toolkit';\nimport { AppState } from '@store';\nimport { Nullable } from '@types';\nimport { User } from '@interfaces';\nimport * as userService from '@services/user';\n\ninterface State {\n currentUser: Nullable<User>;\n}\n\nconst initialState: State = {\n currentUser: null\n};\n\nconst userSlice = createSlice({\n name: 'user',\n initialState,\n reducers: {\n setCurrentUser(state, action: PayloadAction<Nullable<User>>) {\n state.currentUser = action.payload;\n }\n }\n});\n\nexport const selectCurrentUser = (state: AppState) => state;\n\nexport const userActions = userSlice.actions;\n\nexport const getUserProfile = () => (dispatch: Dispatch) => {\n userService\n .me()\n .then((res) => dispatch(userActions.setCurrentUser(res.data)))\n .catch(console.error);\n};\n\nexport default userSlice.reducer;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/about.tsx\",\n _this = this;\n\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport Link from 'next/link';\nimport Layout from '@components/Layout';\n\nvar AboutPage = function AboutPage() {\n return __jsx(Layout, {\n title: \"About | Next.js + TypeScript Example\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 5,\n columnNumber: 3\n }\n }, __jsx(\"h1\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 5\n }\n }, \"About\"), __jsx(\"p\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 5\n }\n }, \"This is the about page\"), __jsx(\"p\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }\n }, __jsx(Link, {\n href: \"/\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }\n }, __jsx(\"a\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 9\n }\n }, \"Go home\"))));\n};\n\n_c = AboutPage;\nexport default AboutPage;\n\nvar _c;\n\n$RefreshReg$(_c, \"AboutPage\");","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/about.tsx"],"names":["Link","Layout","AboutPage"],"mappings":";;;;;AAAA,OAAOA,IAAP,MAAiB,WAAjB;AACA,OAAOC,MAAP,MAAmB,oBAAnB;;AAEA,IAAMC,SAAS,GAAG,SAAZA,SAAY;AAAA,SAChB,MAAC,MAAD;AAAQ,IAAA,KAAK,EAAC,sCAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAFF,EAGE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE,MAAC,IAAD;AAAM,IAAA,IAAI,EAAC,GAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eADF,CADF,CAHF,CADgB;AAAA,CAAlB;;KAAMA,S;AAYN,eAAeA,SAAf","sourcesContent":["import Link from 'next/link';\nimport Layout from '@components/Layout';\n\nconst AboutPage = () => (\n <Layout title=\"About | Next.js + TypeScript Example\">\n <h1>About</h1>\n <p>This is the about page</p>\n <p>\n <Link href=\"/\">\n <a>Go home</a>\n </Link>\n </p>\n </Layout>\n);\n\nexport default AboutPage;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/ListItem/index.tsx\";\nvar __jsx = React.createElement;\nimport React from 'react';\nimport Link from 'next/link';\n\nconst ListItem = ({\n data\n}) => __jsx(Link, {\n href: \"/users/[id]\",\n as: `/users/${data.id}`,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 3\n }\n}, __jsx(\"a\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }\n}, data.id, \": \", data.name));\n\nexport default ListItem;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/ListItem/index.tsx"],"names":["React","Link","ListItem","data","id","name"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,IAAP,MAAiB,WAAjB;;AAQA,MAAMC,QAAQ,GAAG,CAAC;AAAEC,EAAAA;AAAF,CAAD,KACf,MAAC,IAAD;AAAM,EAAA,IAAI,EAAC,aAAX;AAAyB,EAAA,EAAE,EAAG,UAASA,IAAI,CAACC,EAAG,EAA/C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACGD,IAAI,CAACC,EADR,QACcD,IAAI,CAACE,IADnB,CADF,CADF;;AAQA,eAAeH,QAAf","sourcesContent":["import React from 'react';\nimport Link from 'next/link';\n\nimport { User } from '@interfaces';\n\ntype Props = {\n data: User;\n};\n\nconst ListItem = ({ data }: Props) => (\n <Link href=\"/users/[id]\" as={`/users/${data.id}`}>\n <a>\n {data.id}: {data.name}\n </a>\n </Link>\n);\n\nexport default ListItem;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.normalizeLocalePath = normalizeLocalePath;\n\nfunction normalizeLocalePath(pathname, locales) {\n let detectedLocale; // first item will be empty string from splitting at first char\n\n const pathnameParts = pathname.split('/');\n (locales || []).some(locale => {\n if (pathnameParts[1].toLowerCase() === locale.toLowerCase()) {\n detectedLocale = locale;\n pathnameParts.splice(1, 1);\n pathname = pathnameParts.join('/') || '/';\n return true;\n }\n\n return false;\n });\n return {\n pathname,\n detectedLocale\n };\n}","map":{"version":3,"sources":["../../../../next-server/lib/i18n/normalize-locale-path.ts"],"names":["pathnameParts","pathname","locales","locale","detectedLocale"],"mappings":";;;;;AAAO,SAAA,mBAAA,CAAA,QAAA,EAAA,OAAA,EAML;AACA,MAAA,cAAA,CADA,CAEA;;AACA,QAAMA,aAAa,GAAGC,QAAQ,CAARA,KAAAA,CAAtB,GAAsBA,CAAtB;AAEC,GAACC,OAAO,IAAR,EAAA,EAAA,IAAA,CAAsBC,MAAD,IAAY;AAChC,QAAIH,aAAa,CAAbA,CAAa,CAAbA,CAAAA,WAAAA,OAAmCG,MAAM,CAA7C,WAAuCA,EAAvC,EAA6D;AAC3DC,MAAAA,cAAc,GAAdA,MAAAA;AACAJ,MAAAA,aAAa,CAAbA,MAAAA,CAAAA,CAAAA,EAAAA,CAAAA;AACAC,MAAAA,QAAQ,GAAGD,aAAa,CAAbA,IAAAA,CAAAA,GAAAA,KAAXC,GAAAA;AACA,aAAA,IAAA;AAEF;;AAAA,WAAA,KAAA;AAPD,GAAA;AAUD,SAAO;AAAA,IAAA,QAAA;AAAP,IAAA;AAAO,GAAP;AAID","sourcesContent":["export function normalizeLocalePath(\n pathname: string,\n locales?: string[]\n): {\n detectedLocale?: string\n pathname: string\n} {\n let detectedLocale: string | undefined\n // first item will be empty string from splitting at first char\n const pathnameParts = pathname.split('/')\n\n ;(locales || []).some((locale) => {\n if (pathnameParts[1].toLowerCase() === locale.toLowerCase()) {\n detectedLocale = locale\n pathnameParts.splice(1, 1)\n pathname = pathnameParts.join('/') || '/'\n return true\n }\n return false\n })\n\n return {\n pathname,\n detectedLocale,\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports[\"default\"] = withRouter;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _router = require(\"./router\");\n\nfunction withRouter(ComposedComponent) {\n function WithRouterWrapper(props) {\n return /*#__PURE__*/_react[\"default\"].createElement(ComposedComponent, Object.assign({\n router: (0, _router.useRouter)()\n }, props));\n }\n\n WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps // This is needed to allow checking for custom getInitialProps in _app\n ;\n WithRouterWrapper.origGetInitialProps = ComposedComponent.origGetInitialProps;\n\n if (true) {\n var name = ComposedComponent.displayName || ComposedComponent.name || 'Unknown';\n WithRouterWrapper.displayName = \"withRouter(\".concat(name, \")\");\n }\n\n return WithRouterWrapper;\n}","map":{"version":3,"sources":["../../client/with-router.tsx"],"names":["ComposedComponent","getInitialProps","WithRouterWrapper","name"],"mappings":";;;;;;;AAAA,IAAA,MAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA;;AAEA,IAAA,OAAA,GAAA,OAAA,CAAA,UAAA,CAAA;;AAWe,SAAA,UAAA,CAAA,iBAAA,EAK+B;AAC5C,WAAA,iBAAA,CAAA,KAAA,EAAoD;AAClD,WAAA,aAAO,MAAA,WAAA,CAAA,aAAA,CAAA,iBAAA,EAAA,MAAA,CAAA,MAAA,CAAA;AAAmB,MAAA,MAAM,EAAE,CAAA,GAAA,OAAA,CAA3B,SAA2B;AAA3B,KAAA,EAAP,KAAO,CAAA,CAAP;AAGF;;AAAA,EAAA,iBAAiB,CAAjB,eAAA,GAAoCA,iBAAiB,CAACC,eAAtD,CACA;AADA;AAEEC,EAAAA,iBAAD,CAAA,mBAACA,GAAiDF,iBAAD,CAAjD,mBAACE;;AACF,YAA2C;AACzC,QAAMC,IAAI,GACRH,iBAAiB,CAAjBA,WAAAA,IAAiCA,iBAAiB,CAAlDA,IAAAA,IADF,SAAA;AAEAE,IAAAA,iBAAiB,CAAjBA,WAAAA,wBAAAA,IAAAA;AAGF;;AAAA,SAAA,iBAAA;AACD","sourcesContent":["import React from 'react'\nimport { NextComponentType, NextPageContext } from '../next-server/lib/utils'\nimport { NextRouter, useRouter } from './router'\n\nexport type WithRouterProps = {\n router: NextRouter\n}\n\nexport type ExcludeRouterProps<P> = Pick<\n P,\n Exclude<keyof P, keyof WithRouterProps>\n>\n\nexport default function withRouter<\n P extends WithRouterProps,\n C = NextPageContext\n>(\n ComposedComponent: NextComponentType<C, any, P>\n): React.ComponentType<ExcludeRouterProps<P>> {\n function WithRouterWrapper(props: any): JSX.Element {\n return <ComposedComponent router={useRouter()} {...props} />\n }\n\n WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps\n // This is needed to allow checking for custom getInitialProps in _app\n ;(WithRouterWrapper as any).origGetInitialProps = (ComposedComponent as any).origGetInitialProps\n if (process.env.NODE_ENV !== 'production') {\n const name =\n ComposedComponent.displayName || ComposedComponent.name || 'Unknown'\n WithRouterWrapper.displayName = `withRouter(${name})`\n }\n\n return WithRouterWrapper\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _regeneratorRuntime = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/regenerator\");\n\nvar _asyncToGenerator = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/asyncToGenerator\");\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\n\nvar _router = _interopRequireDefault(require(\"next/router\"));\n\nvar _onDemandEntriesUtils = require(\"./on-demand-entries-utils\");\n\nvar _default = /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {\n var assetPrefix;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n assetPrefix = _ref.assetPrefix;\n\n _router[\"default\"].ready(function () {\n _router[\"default\"].events.on('routeChangeComplete', _onDemandEntriesUtils.setupPing.bind(void 0, assetPrefix, function () {\n return _router[\"default\"].pathname;\n }));\n });\n\n (0, _onDemandEntriesUtils.setupPing)(assetPrefix, function () {\n return _router[\"default\"].pathname;\n }, _onDemandEntriesUtils.currentPage); // prevent HMR connection from being closed when running tests\n\n if (!process.env.__NEXT_TEST_MODE) {\n document.addEventListener('visibilitychange', function (_event) {\n var state = document.visibilityState;\n\n if (state === 'visible') {\n (0, _onDemandEntriesUtils.setupPing)(assetPrefix, function () {\n return _router[\"default\"].pathname;\n }, true);\n } else {\n (0, _onDemandEntriesUtils.closePing)();\n }\n });\n window.addEventListener('beforeunload', function () {\n (0, _onDemandEntriesUtils.closePing)();\n });\n }\n\n case 4:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function _default(_x) {\n return _ref2.apply(this, arguments);\n };\n}();\n\nexports[\"default\"] = _default;","map":{"version":3,"sources":["../../../client/dev/on-demand-entries-client.js"],"names":["Router","setupPing","currentPage","process","document","_event","state","window"],"mappings":";;;;;;;;;;;AAAA,IAAA,O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["import Router from 'next/router'\nimport { setupPing, currentPage, closePing } from './on-demand-entries-utils'\n\nexport default async ({ assetPrefix }) => {\n Router.ready(() => {\n Router.events.on(\n 'routeChangeComplete',\n setupPing.bind(this, assetPrefix, () => Router.pathname)\n )\n })\n\n setupPing(assetPrefix, () => Router.pathname, currentPage)\n\n // prevent HMR connection from being closed when running tests\n if (!process.env.__NEXT_TEST_MODE) {\n document.addEventListener('visibilitychange', (_event) => {\n const state = document.visibilityState\n if (state === 'visible') {\n setupPing(assetPrefix, () => Router.pathname, true)\n } else {\n closePing()\n }\n })\n\n window.addEventListener('beforeunload', () => {\n closePing()\n })\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"import { combineReducers } from '@reduxjs/toolkit';\nimport userReducer from './user';\nconst rootReducer = combineReducers({\n user: userReducer\n});\nexport default rootReducer;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/store/reducers.ts"],"names":["combineReducers","userReducer","rootReducer","user"],"mappings":"AAAA,SAASA,eAAT,QAAgC,kBAAhC;AACA,OAAOC,WAAP,MAAwB,QAAxB;AAEA,MAAMC,WAAW,GAAGF,eAAe,CAAC;AAClCG,EAAAA,IAAI,EAAEF;AAD4B,CAAD,CAAnC;AAIA,eAAeC,WAAf","sourcesContent":["import { combineReducers } from '@reduxjs/toolkit';\nimport userReducer from './user';\n\nconst rootReducer = combineReducers({\n user: userReducer\n});\n\nexport default rootReducer;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.displayContent = displayContent; // This function is used to remove Next.js' no-FOUC styles workaround for using\n// `style-loader` in development. It must be called before hydration, or else\n// rendering won't have the correct computed values in effects.\n\nfunction displayContent(callback) {\n ;\n (window.requestAnimationFrame || setTimeout)(function () {\n for (var x = document.querySelectorAll('[data-next-hide-fouc]'), i = x.length; i--;) {\n x[i].parentNode.removeChild(x[i]);\n }\n\n if (callback) {\n callback();\n }\n });\n}","map":{"version":3,"sources":["../../../client/dev/fouc.js"],"names":["window","x","document","i","callback"],"mappings":";;;yCAAA;AACA;AACA;;AACO,SAAA,cAAA,CAAA,QAAA,EAAkC;AACvC;AAAC,GAACA,MAAM,CAANA,qBAAAA,IAAD,UAAA,EAA6C,YAAY;AACxD,SACE,IAAIC,CAAC,GAAGC,QAAQ,CAARA,gBAAAA,CAAR,uBAAQA,CAAR,EAA4DC,CAAC,GAAGF,CAAC,CADnE,MAAA,EAEEE,CAFF,EAAA,GAIE;AACAF,MAAAA,CAAC,CAADA,CAAC,CAADA,CAAAA,UAAAA,CAAAA,WAAAA,CAA4BA,CAAC,CAA7BA,CAA6B,CAA7BA;AAEF;;AAAA,QAAA,QAAA,EAAc;AACZG,MAAAA,QAAQ;AAEX;AAXA,GAAA;AAYF","sourcesContent":["// This function is used to remove Next.js' no-FOUC styles workaround for using\n// `style-loader` in development. It must be called before hydration, or else\n// rendering won't have the correct computed values in effects.\nexport function displayContent(callback) {\n ;(window.requestAnimationFrame || setTimeout)(function () {\n for (\n var x = document.querySelectorAll('[data-next-hide-fouc]'), i = x.length;\n i--;\n\n ) {\n x[i].parentNode.removeChild(x[i])\n }\n if (callback) {\n callback()\n }\n })\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"module.exports = function () {\n \"use strict\";\n\n var e = {\n 161: function _(e) {\n e.exports = function () {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$onlyFirst = _ref.onlyFirst,\n e = _ref$onlyFirst === void 0 ? false : _ref$onlyFirst;\n\n var r = [\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:[a-zA-Z\\\\d]*(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\", \"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");\n return new RegExp(r, e ? undefined : \"g\");\n };\n },\n 301: function _(e, r, t) {\n var _ = t(161);\n\n e.exports = function (e) {\n return typeof e === \"string\" ? e.replace(_(), \"\") : e;\n };\n }\n };\n var r = {};\n\n function __nccwpck_require__(t) {\n if (r[t]) {\n return r[t].exports;\n }\n\n var _ = r[t] = {\n exports: {}\n };\n\n var n = true;\n\n try {\n e[t](_, _.exports, __nccwpck_require__);\n n = false;\n } finally {\n if (n) delete r[t];\n }\n\n return _.exports;\n }\n\n __nccwpck_require__.ab = __dirname + \"/\";\n return __nccwpck_require__(301);\n}();","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/dist/compiled/strip-ansi/index.js"],"names":["module","exports","e","onlyFirst","r","join","RegExp","undefined","t","_","replace","__nccwpck_require__","n","ab","__dirname"],"mappings":"AAAAA,MAAM,CAACC,OAAP,GAAgB,YAAI;AAAC;;AAAa,MAAIC,CAAC,GAAC;AAAC,SAAI,WAAAA,CAAC,EAAE;AAACA,MAAAA,CAAC,CAACD,OAAF,GAAW,YAA0B;AAAA,uFAAL,EAAK;AAAA,kCAAxBE,SAAwB;AAAA,YAAdD,CAAc,+BAAZ,KAAY;;AAAC,YAAME,CAAC,GAAC,CAAC,6FAAD,EAA+F,0DAA/F,EAA2JC,IAA3J,CAAgK,GAAhK,CAAR;AAA6K,eAAO,IAAIC,MAAJ,CAAWF,CAAX,EAAaF,CAAC,GAACK,SAAD,GAAW,GAAzB,CAAP;AAAqC,OAAxP;AAA0P,KAAnQ;AAAoQ,SAAI,WAACL,CAAD,EAAGE,CAAH,EAAKI,CAAL,EAAS;AAAC,UAAMC,CAAC,GAACD,CAAC,CAAC,GAAD,CAAT;;AAAeN,MAAAA,CAAC,CAACD,OAAF,GAAW,UAAAC,CAAC;AAAA,eAAE,OAAOA,CAAP,KAAW,QAAX,GAAoBA,CAAC,CAACQ,OAAF,CAAUD,CAAC,EAAX,EAAc,EAAd,CAApB,GAAsCP,CAAxC;AAAA,OAAZ;AAAuD;AAAxV,GAAN;AAAgW,MAAIE,CAAC,GAAC,EAAN;;AAAS,WAASO,mBAAT,CAA6BH,CAA7B,EAA+B;AAAC,QAAGJ,CAAC,CAACI,CAAD,CAAJ,EAAQ;AAAC,aAAOJ,CAAC,CAACI,CAAD,CAAD,CAAKP,OAAZ;AAAoB;;AAAA,QAAIQ,CAAC,GAACL,CAAC,CAACI,CAAD,CAAD,GAAK;AAACP,MAAAA,OAAO,EAAC;AAAT,KAAX;;AAAwB,QAAIW,CAAC,GAAC,IAAN;;AAAW,QAAG;AAACV,MAAAA,CAAC,CAACM,CAAD,CAAD,CAAKC,CAAL,EAAOA,CAAC,CAACR,OAAT,EAAiBU,mBAAjB;AAAsCC,MAAAA,CAAC,GAAC,KAAF;AAAQ,KAAlD,SAAyD;AAAC,UAAGA,CAAH,EAAK,OAAOR,CAAC,CAACI,CAAD,CAAR;AAAY;;AAAA,WAAOC,CAAC,CAACR,OAAT;AAAiB;;AAAAU,EAAAA,mBAAmB,CAACE,EAApB,GAAuBC,SAAS,GAAC,GAAjC;AAAqC,SAAOH,mBAAmB,CAAC,GAAD,CAA1B;AAAgC,CAA7nB,EAAf","sourcesContent":["module.exports=(()=>{\"use strict\";var e={161:e=>{e.exports=(({onlyFirst:e=false}={})=>{const r=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:[a-zA-Z\\\\d]*(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(r,e?undefined:\"g\")})},301:(e,r,t)=>{const _=t(161);e.exports=(e=>typeof e===\"string\"?e.replace(_(),\"\"):e)}};var r={};function __nccwpck_require__(t){if(r[t]){return r[t].exports}var _=r[t]={exports:{}};var n=true;try{e[t](_,_.exports,__nccwpck_require__);n=false}finally{if(n)delete r[t]}return _.exports}__nccwpck_require__.ab=__dirname+\"/\";return __nccwpck_require__(301)})();"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"import { createSlice } from '@reduxjs/toolkit';\nimport * as userService from '@services/user';\nconst initialState = {\n currentUser: null\n};\nconst userSlice = createSlice({\n name: 'user',\n initialState,\n reducers: {\n setCurrentUser(state, action) {\n state.currentUser = action.payload;\n }\n\n }\n});\nexport const selectCurrentUser = state => state;\nexport const userActions = userSlice.actions;\nexport const getUserProfile = () => dispatch => {\n userService.me().then(res => dispatch(userActions.setCurrentUser(res.data))).catch(console.error);\n};\nexport default userSlice.reducer;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/store/user.ts"],"names":["createSlice","userService","initialState","currentUser","userSlice","name","reducers","setCurrentUser","state","action","payload","selectCurrentUser","userActions","actions","getUserProfile","dispatch","me","then","res","data","catch","console","error","reducer"],"mappings":"AAAA,SAASA,WAAT,QAAqD,kBAArD;AAIA,OAAO,KAAKC,WAAZ,MAA6B,gBAA7B;AAMA,MAAMC,YAAmB,GAAG;AAC1BC,EAAAA,WAAW,EAAE;AADa,CAA5B;AAIA,MAAMC,SAAS,GAAGJ,WAAW,CAAC;AAC5BK,EAAAA,IAAI,EAAE,MADsB;AAE5BH,EAAAA,YAF4B;AAG5BI,EAAAA,QAAQ,EAAE;AACRC,IAAAA,cAAc,CAACC,KAAD,EAAQC,MAAR,EAA+C;AAC3DD,MAAAA,KAAK,CAACL,WAAN,GAAoBM,MAAM,CAACC,OAA3B;AACD;;AAHO;AAHkB,CAAD,CAA7B;AAUA,OAAO,MAAMC,iBAAiB,GAAIH,KAAD,IAAqBA,KAA/C;AAEP,OAAO,MAAMI,WAAW,GAAGR,SAAS,CAACS,OAA9B;AAEP,OAAO,MAAMC,cAAc,GAAG,MAAOC,QAAD,IAAwB;AAC1Dd,EAAAA,WAAW,CACRe,EADH,GAEGC,IAFH,CAESC,GAAD,IAASH,QAAQ,CAACH,WAAW,CAACL,cAAZ,CAA2BW,GAAG,CAACC,IAA/B,CAAD,CAFzB,EAGGC,KAHH,CAGSC,OAAO,CAACC,KAHjB;AAID,CALM;AAOP,eAAelB,SAAS,CAACmB,OAAzB","sourcesContent":["import { createSlice, PayloadAction, Dispatch } from '@reduxjs/toolkit';\nimport { AppState } from '@store';\nimport { Nullable } from '@types';\nimport { User } from '@interfaces';\nimport * as userService from '@services/user';\n\ninterface State {\n currentUser: Nullable<User>;\n}\n\nconst initialState: State = {\n currentUser: null\n};\n\nconst userSlice = createSlice({\n name: 'user',\n initialState,\n reducers: {\n setCurrentUser(state, action: PayloadAction<Nullable<User>>) {\n state.currentUser = action.payload;\n }\n }\n});\n\nexport const selectCurrentUser = (state: AppState) => state;\n\nexport const userActions = userSlice.actions;\n\nexport const getUserProfile = () => (dispatch: Dispatch) => {\n userService\n .me()\n .then((res) => dispatch(userActions.setCurrentUser(res.data)))\n .catch(console.error);\n};\n\nexport default userSlice.reducer;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"import { configureStore } from '@reduxjs/toolkit';\nimport rootReducer from './reducers';\nexport default configureStore({\n reducer: rootReducer,\n devTools: true\n});","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/store/index.ts"],"names":["configureStore","rootReducer","reducer","devTools"],"mappings":"AAAA,SAASA,cAAT,QAA+B,kBAA/B;AACA,OAAOC,WAAP,MAAwB,YAAxB;AAIA,eAAeD,cAAc,CAAC;AAC5BE,EAAAA,OAAO,EAAED,WADmB;AAE5BE,EAAAA,QAAQ;AAFoB,CAAD,CAA7B","sourcesContent":["import { configureStore } from '@reduxjs/toolkit';\nimport rootReducer from './reducers';\n\nexport type AppState = ReturnType<typeof rootReducer>;\n\nexport default configureStore({\n reducer: rootReducer,\n devTools: process.env.NODE_ENV !== 'production'\n});\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/_app.tsx\";\nvar __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from 'react';\nimport { Provider } from 'react-redux';\nimport store from '@store';\nimport '@styles/index.scss';\n\nconst MyApp = ({\n Component,\n pageProps\n}) => {\n return __jsx(Provider, {\n store: store,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 5\n }\n }, __jsx(Component, _extends({}, pageProps, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 7\n }\n })));\n};\n\nexport default MyApp;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/_app.tsx"],"names":["React","Provider","store","MyApp","Component","pageProps"],"mappings":";;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,SAASC,QAAT,QAAyB,aAAzB;AAEA,OAAOC,KAAP,MAAkB,QAAlB;AACA,OAAO,oBAAP;;AAEA,MAAMC,KAAK,GAAG,CAAC;AAAEC,EAAAA,SAAF;AAAaC,EAAAA;AAAb,CAAD,KAAwC;AACpD,SACE,MAAC,QAAD;AAAU,IAAA,KAAK,EAAEH,KAAjB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE,MAAC,SAAD,eAAeG,SAAf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KADF,CADF;AAKD,CAND;;AAQA,eAAeF,KAAf","sourcesContent":["import React from 'react';\nimport type { AppProps } from 'next/app';\nimport { Provider } from 'react-redux';\n\nimport store from '@store';\nimport '@styles/index.scss';\n\nconst MyApp = ({ Component, pageProps }: AppProps) => {\n return (\n <Provider store={store}>\n <Component {...pageProps} />\n </Provider>\n );\n};\n\nexport default MyApp;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/ListDetail/index.tsx\",\n _this = this;\n\nvar __jsx = React.createElement;\nimport * as React from 'react';\n\nvar ListDetail = function ListDetail(_ref) {\n var user = _ref.item;\n return __jsx(\"div\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 3\n }\n }, __jsx(\"h1\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 5\n }\n }, \"Detail for \", user.name), __jsx(\"p\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }\n }, \"ID: \", user.id));\n};\n\n_c = ListDetail;\nexport default ListDetail;\n\nvar _c;\n\n$RefreshReg$(_c, \"ListDetail\");","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/ListDetail/index.tsx"],"names":["React","ListDetail","user","item","name","id"],"mappings":";;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;;AAQA,IAAMC,UAAU,GAAG,SAAbA,UAAa;AAAA,MAASC,IAAT,QAAGC,IAAH;AAAA,SACjB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAgBD,IAAI,CAACE,IAArB,CADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAAQF,IAAI,CAACG,EAAb,CAFF,CADiB;AAAA,CAAnB;;KAAMJ,U;AAON,eAAeA,UAAf","sourcesContent":["import * as React from 'react';\n\nimport { User } from '@interfaces';\n\ntype ListDetailProps = {\n item: User;\n};\n\nconst ListDetail = ({ item: user }: ListDetailProps) => (\n <div>\n <h1>Detail for {user.name}</h1>\n <p>ID: {user.id}</p>\n </div>\n);\n\nexport default ListDetail;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";","map":{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":["\"use strict\";\n//# sourceMappingURL=noop.js.map"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nrequire(\"next/dist/build/polyfills/polyfill-nomodule\");","map":{"version":3,"sources":["../../client/polyfills.js"],"names":[],"mappings":";;AAAA,OAAA,CAAA,6CAAA,CAAA","sourcesContent":["import 'next/dist/build/polyfills/polyfill-nomodule'\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/ListDetail/index.tsx\";\nvar __jsx = React.createElement;\nimport * as React from 'react';\n\nconst ListDetail = ({\n item: user\n}) => __jsx(\"div\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 3\n }\n}, __jsx(\"h1\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 5\n }\n}, \"Detail for \", user.name), __jsx(\"p\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }\n}, \"ID: \", user.id));\n\nexport default ListDetail;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/ListDetail/index.tsx"],"names":["React","ListDetail","item","user","name","id"],"mappings":";;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;;AAQA,MAAMC,UAAU,GAAG,CAAC;AAAEC,EAAAA,IAAI,EAAEC;AAAR,CAAD,KACjB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAgBA,IAAI,CAACC,IAArB,CADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAAQD,IAAI,CAACE,EAAb,CAFF,CADF;;AAOA,eAAeJ,UAAf","sourcesContent":["import * as React from 'react';\n\nimport { User } from '@interfaces';\n\ntype ListDetailProps = {\n item: User;\n};\n\nconst ListDetail = ({ item: user }: ListDetailProps) => (\n <div>\n <h1>Detail for {user.name}</h1>\n <p>ID: {user.id}</p>\n </div>\n);\n\nexport default ListDetail;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/List/index.tsx\";\nvar __jsx = React.createElement;\nimport * as React from 'react';\nimport ListItem from '@components/ListItem';\n\nconst List = ({\n items\n}) => __jsx(\"ul\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 3\n }\n}, items.map(item => __jsx(\"li\", {\n key: item.id,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 7\n }\n}, __jsx(ListItem, {\n data: item,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 9\n }\n}))));\n\nexport default List;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/List/index.tsx"],"names":["React","ListItem","List","items","map","item","id"],"mappings":";;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,QAAP,MAAqB,sBAArB;;AAOA,MAAMC,IAAI,GAAG,CAAC;AAAEC,EAAAA;AAAF,CAAD,KACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACGA,KAAK,CAACC,GAAN,CAAWC,IAAD,IACT;AAAI,EAAA,GAAG,EAAEA,IAAI,CAACC,EAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACE,MAAC,QAAD;AAAU,EAAA,IAAI,EAAED,IAAhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EADF,CADD,CADH,CADF;;AAUA,eAAeH,IAAf","sourcesContent":["import * as React from 'react';\nimport ListItem from '@components/ListItem';\nimport { User } from '@interfaces';\n\ntype Props = {\n items: User[];\n};\n\nconst List = ({ items }: Props) => (\n <ul>\n {items.map((item) => (\n <li key={item.id}>\n <ListItem data={item} />\n </li>\n ))}\n </ul>\n);\n\nexport default List;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.cancelIdleCallback = exports.requestIdleCallback = void 0;\n\nvar requestIdleCallback = typeof self !== 'undefined' && self.requestIdleCallback || function (cb) {\n var start = Date.now();\n return setTimeout(function () {\n cb({\n didTimeout: false,\n timeRemaining: function timeRemaining() {\n return Math.max(0, 50 - (Date.now() - start));\n }\n });\n }, 1);\n};\n\nexports.requestIdleCallback = requestIdleCallback;\n\nvar cancelIdleCallback = typeof self !== 'undefined' && self.cancelIdleCallback || function (id) {\n return clearTimeout(id);\n};\n\nexports.cancelIdleCallback = cancelIdleCallback;","map":{"version":3,"sources":["../../client/request-idle-callback.ts"],"names":["requestIdleCallback","self","start","Date","setTimeout","cb","didTimeout","timeRemaining","Math","cancelIdleCallback","clearTimeout"],"mappings":";;;;;AAmBO,IAAMA,mBAAmB,GAC7B,OAAA,IAAA,KAAA,WAAA,IAA+BC,IAAI,CAApC,mBAAC,IACD,UAAA,EAAA,EAEkB;AAChB,MAAIC,KAAK,GAAGC,IAAI,CAAhB,GAAYA,EAAZ;AACA,SAAOC,UAAU,CAAC,YAAY;AAC5BC,IAAAA,EAAE,CAAC;AACDC,MAAAA,UAAU,EADT,KAAA;AAEDC,MAAAA,aAAa,EAAE,yBAAY;AACzB,eAAOC,IAAI,CAAJA,GAAAA,CAAAA,CAAAA,EAAY,MAAML,IAAI,CAAJA,GAAAA,KAAzB,KAAmB,CAAZK,CAAP;AAHJH;AAAG,KAAD,CAAFA;AADe,GAAA,EAAjB,CAAiB,CAAjB;AANG,CAAA;;;;AAgBA,IAAMI,kBAAkB,GAC5B,OAAA,IAAA,KAAA,WAAA,IAA+BR,IAAI,CAApC,kBAAC,IACD,UAAA,EAAA,EAAyC;AACvC,SAAOS,YAAY,CAAnB,EAAmB,CAAnB;AAHG,CAAA","sourcesContent":["type RequestIdleCallbackHandle = any\ntype RequestIdleCallbackOptions = {\n timeout: number\n}\ntype RequestIdleCallbackDeadline = {\n readonly didTimeout: boolean\n timeRemaining: () => number\n}\n\ndeclare global {\n interface Window {\n requestIdleCallback: (\n callback: (deadline: RequestIdleCallbackDeadline) => void,\n opts?: RequestIdleCallbackOptions\n ) => RequestIdleCallbackHandle\n cancelIdleCallback: (id: RequestIdleCallbackHandle) => void\n }\n}\n\nexport const requestIdleCallback =\n (typeof self !== 'undefined' && self.requestIdleCallback) ||\n function (\n cb: (deadline: RequestIdleCallbackDeadline) => void\n ): NodeJS.Timeout {\n let start = Date.now()\n return setTimeout(function () {\n cb({\n didTimeout: false,\n timeRemaining: function () {\n return Math.max(0, 50 - (Date.now() - start))\n },\n })\n }, 1)\n }\n\nexport const cancelIdleCallback =\n (typeof self !== 'undefined' && self.cancelIdleCallback) ||\n function (id: RequestIdleCallbackHandle) {\n return clearTimeout(id)\n }\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.formatUrl = formatUrl;\n\nvar querystring = _interopRequireWildcard(require(\"./querystring\"));\n\nfunction _getRequireWildcardCache() {\n if (typeof WeakMap !== \"function\") return null;\n var cache = new WeakMap();\n\n _getRequireWildcardCache = function () {\n return cache;\n };\n\n return cache;\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n }\n\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") {\n return {\n default: obj\n };\n }\n\n var cache = _getRequireWildcardCache();\n\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n\n newObj.default = obj;\n\n if (cache) {\n cache.set(obj, newObj);\n }\n\n return newObj;\n} // Format function modified from nodejs\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\nconst slashedProtocols = /https?|ftp|gopher|file/;\n\nfunction formatUrl(urlObj) {\n let {\n auth,\n hostname\n } = urlObj;\n let protocol = urlObj.protocol || '';\n let pathname = urlObj.pathname || '';\n let hash = urlObj.hash || '';\n let query = urlObj.query || '';\n let host = false;\n auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : '';\n\n if (urlObj.host) {\n host = auth + urlObj.host;\n } else if (hostname) {\n host = auth + (~hostname.indexOf(':') ? `[${hostname}]` : hostname);\n\n if (urlObj.port) {\n host += ':' + urlObj.port;\n }\n }\n\n if (query && typeof query === 'object') {\n query = String(querystring.urlQueryToSearchParams(query));\n }\n\n let search = urlObj.search || query && `?${query}` || '';\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n if (urlObj.slashes || (!protocol || slashedProtocols.test(protocol)) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname[0] !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash[0] !== '#') hash = '#' + hash;\n if (search && search[0] !== '?') search = '?' + search;\n pathname = pathname.replace(/[?#]/g, encodeURIComponent);\n search = search.replace('#', '%23');\n return `${protocol}${host}${pathname}${search}${hash}`;\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/format-url.ts"],"names":["slashedProtocols","protocol","urlObj","pathname","hash","query","host","auth","encodeURIComponent","hostname","String","querystring","search"],"mappings":";;;;;AAwBA,IAAA,WAAA,GAAA,uBAAA,CAAA,OAAA,CAAA,eAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxBA,C,CAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAMA,MAAMA,gBAAgB,GAAtB,wBAAA;;AAEO,SAAA,SAAA,CAAA,MAAA,EAAsC;AAC3C,MAAI;AAAA,IAAA,IAAA;AAAA,IAAA;AAAA,MAAJ,MAAA;AACA,MAAIC,QAAQ,GAAGC,MAAM,CAANA,QAAAA,IAAf,EAAA;AACA,MAAIC,QAAQ,GAAGD,MAAM,CAANA,QAAAA,IAAf,EAAA;AACA,MAAIE,IAAI,GAAGF,MAAM,CAANA,IAAAA,IAAX,EAAA;AACA,MAAIG,KAAK,GAAGH,MAAM,CAANA,KAAAA,IAAZ,EAAA;AACA,MAAII,IAAoB,GAAxB,KAAA;AAEAC,EAAAA,IAAI,GAAGA,IAAI,GAAGC,kBAAkB,CAAlBA,IAAkB,CAAlBA,CAAAA,OAAAA,CAAAA,MAAAA,EAAA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6BA,IAAI,GAAG,MAAPA,IAAAA;AAC7B,MAAIQ,MAAM,IAAIA,MAAM,CAANA,CAAM,CAANA,KAAd,GAAA,EAAiCA,MAAM,GAAG,MAATA,MAAAA;AAEjCT,EAAAA,QAAQ,GAAGA,QAAQ,CAARA,OAAAA,CAAAA,OAAAA,EAAXA,kBAAWA,CAAXA;AACAS,EAAAA,MAAM,GAAGA,MAAM,CAANA,OAAAA,CAAAA,GAAAA,EAATA,KAASA,CAATA;AAEA,SAAQ,GAAEX,QAAS,GAAEK,IAAK,GAAEH,QAAS,GAAES,MAAO,GAAER,IAAhD,EAAA;AACD","sourcesContent":["// Format function modified from nodejs\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nimport { UrlObject } from 'url'\nimport { ParsedUrlQuery } from 'querystring'\nimport * as querystring from './querystring'\n\nconst slashedProtocols = /https?|ftp|gopher|file/\n\nexport function formatUrl(urlObj: UrlObject) {\n let { auth, hostname } = urlObj\n let protocol = urlObj.protocol || ''\n let pathname = urlObj.pathname || ''\n let hash = urlObj.hash || ''\n let query = urlObj.query || ''\n let host: string | false = false\n\n auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : ''\n\n if (urlObj.host) {\n host = auth + urlObj.host\n } else if (hostname) {\n host = auth + (~hostname.indexOf(':') ? `[${hostname}]` : hostname)\n if (urlObj.port) {\n host += ':' + urlObj.port\n }\n }\n\n if (query && typeof query === 'object') {\n query = String(querystring.urlQueryToSearchParams(query as ParsedUrlQuery))\n }\n\n let search = urlObj.search || (query && `?${query}`) || ''\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':'\n\n if (\n urlObj.slashes ||\n ((!protocol || slashedProtocols.test(protocol)) && host !== false)\n ) {\n host = '//' + (host || '')\n if (pathname && pathname[0] !== '/') pathname = '/' + pathname\n } else if (!host) {\n host = ''\n }\n\n if (hash && hash[0] !== '#') hash = '#' + hash\n if (search && search[0] !== '?') search = '?' + search\n\n pathname = pathname.replace(/[?#]/g, encodeURIComponent)\n search = search.replace('#', '%23')\n\n return `${protocol}${host}${pathname}${search}${hash}`\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/users/[id].tsx\";\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport { sampleUserData } from '@utils/sample-data';\nimport Layout from '@components/Layout';\nimport ListDetail from '@components/ListDetail';\n\nconst StaticPropsDetail = ({\n item,\n errors\n}) => {\n if (errors) {\n return __jsx(Layout, {\n title: \"Error | Next.js + TypeScript Example\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 7\n }\n }, __jsx(\"p\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }\n }, __jsx(\"span\", {\n style: {\n color: 'red'\n },\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }\n }, \"Error:\"), \" \", errors));\n }\n\n return __jsx(Layout, {\n title: `${item ? item.name : 'User Detail'} | Next.js + TypeScript Example`,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 5\n }\n }, item && __jsx(ListDetail, {\n item: item,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 16\n }\n }));\n};\n\nexport default StaticPropsDetail;\nexport const getStaticPaths = async () => {\n // Get the paths we want to pre-render based on users\n const paths = sampleUserData.map(user => ({\n params: {\n id: user.id.toString()\n }\n })); // We'll pre-render only these paths at build time.\n // { fallback: false } means other routes should 404.\n\n return {\n paths,\n fallback: false\n };\n}; // This function gets called at build time on server-side.\n// It won't be called on client-side, so you can even do\n// direct database queries.\n\nexport const getStaticProps = async ({\n params\n}) => {\n try {\n const id = params === null || params === void 0 ? void 0 : params.id;\n const item = sampleUserData.find(data => data.id === Number(id)); // By returning { props: item }, the StaticPropsDetail component\n // will receive `item` as a prop at build time\n\n return {\n props: {\n item\n }\n };\n } catch (err) {\n return {\n props: {\n errors: err.message\n }\n };\n }\n};","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/users/[id].tsx"],"names":["sampleUserData","Layout","ListDetail","StaticPropsDetail","item","errors","color","name","getStaticPaths","paths","map","user","params","id","toString","fallback","getStaticProps","find","data","Number","props","err","message"],"mappings":";;;AAGA,SAASA,cAAT,QAA+B,oBAA/B;AACA,OAAOC,MAAP,MAAmB,oBAAnB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;;AAOA,MAAMC,iBAAiB,GAAG,CAAC;AAAEC,EAAAA,IAAF;AAAQC,EAAAA;AAAR,CAAD,KAA6B;AACrD,MAAIA,MAAJ,EAAY;AACV,WACE,MAAC,MAAD;AAAQ,MAAA,KAAK,EAAC,sCAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OACE;AAAA;AAAA;AAAA;AAAA;AAA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A,KAAK,EAAE;AAAEf,QAAAA,MAAM,EAAEgB,GAAG,CAACC;AAAd;AAAT,KAAP;AACD;AACF,CAVM","sourcesContent":["import { GetStaticProps, GetStaticPaths } from 'next';\n\nimport { User } from '@/shared/interfaces';\nimport { sampleUserData } from '@utils/sample-data';\nimport Layout from '@components/Layout';\nimport ListDetail from '@components/ListDetail';\n\ntype Props = {\n item?: User;\n errors?: string;\n};\n\nconst StaticPropsDetail = ({ item, errors }: Props) => {\n if (errors) {\n return (\n <Layout title=\"Error | Next.js + TypeScript Example\">\n <p>\n <span style={{ color: 'red' }}>Error:</span> {errors}\n </p>\n </Layout>\n );\n }\n\n return (\n <Layout title={`${item ? item.name : 'User Detail'} | Next.js + TypeScript Example`}>\n {item && <ListDetail item={item} />}\n </Layout>\n );\n};\n\nexport default StaticPropsDetail;\n\nexport const getStaticPaths: GetStaticPaths = async () => {\n // Get the paths we want to pre-render based on users\n const paths = sampleUserData.map((user) => ({\n params: { id: user.id.toString() }\n }));\n\n // We'll pre-render only these paths at build time.\n // { fallback: false } means other routes should 404.\n return { paths, fallback: false };\n};\n\n// This function gets called at build time on server-side.\n// It won't be called on client-side, so you can even do\n// direct database queries.\nexport const getStaticProps: GetStaticProps = async ({ params }) => {\n try {\n const id = params?.id;\n const item = sampleUserData.find((data) => data.id === Number(id));\n // By returning { props: item }, the StaticPropsDetail component\n // will receive `item` as a prop at build time\n return { props: { item } };\n } catch (err) {\n return { props: { errors: err.message } };\n }\n};\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.cancelIdleCallback = exports.requestIdleCallback = void 0;\n\nconst requestIdleCallback = typeof self !== 'undefined' && self.requestIdleCallback || function (cb) {\n let start = Date.now();\n return setTimeout(function () {\n cb({\n didTimeout: false,\n timeRemaining: function () {\n return Math.max(0, 50 - (Date.now() - start));\n }\n });\n }, 1);\n};\n\nexports.requestIdleCallback = requestIdleCallback;\n\nconst cancelIdleCallback = typeof self !== 'undefined' && self.cancelIdleCallback || function (id) {\n return clearTimeout(id);\n};\n\nexports.cancelIdleCallback = cancelIdleCallback;","map":{"version":3,"sources":["../../client/request-idle-callback.ts"],"names":["requestIdleCallback","self","start","Date","setTimeout","cb","didTimeout","timeRemaining","Math","cancelIdleCallback","clearTimeout"],"mappings":";;;;;AAmBO,MAAMA,mBAAmB,GAC7B,OAAA,IAAA,KAAA,WAAA,IAA+BC,IAAI,CAApC,mBAAC,IACD,UAAA,EAAA,EAEkB;AAChB,MAAIC,KAAK,GAAGC,IAAI,CAAhB,GAAYA,EAAZ;AACA,SAAOC,UAAU,CAAC,YAAY;AAC5BC,IAAAA,EAAE,CAAC;AACDC,MAAAA,UAAU,EADT,KAAA;AAEDC,MAAAA,aAAa,EAAE,YAAY;AACzB,eAAOC,IAAI,CAAJA,GAAAA,CAAAA,CAAAA,EAAY,MAAML,IAAI,CAAJA,GAAAA,KAAzB,KAAmB,CAAZK,CAAP;AAHJH;AAAG,KAAD,CAAFA;AADe,GAAA,EAAjB,CAAiB,CAAjB;AANG,CAAA;;;;AAgBA,MAAMI,kBAAkB,GAC5B,OAAA,IAAA,KAAA,WAAA,IAA+BR,IAAI,CAApC,kBAAC,IACD,UAAA,EAAA,EAAyC;AACvC,SAAOS,YAAY,CAAnB,EAAmB,CAAnB;AAHG,CAAA","sourcesContent":["type RequestIdleCallbackHandle = any\ntype RequestIdleCallbackOptions = {\n timeout: number\n}\ntype RequestIdleCallbackDeadline = {\n readonly didTimeout: boolean\n timeRemaining: () => number\n}\n\ndeclare global {\n interface Window {\n requestIdleCallback: (\n callback: (deadline: RequestIdleCallbackDeadline) => void,\n opts?: RequestIdleCallbackOptions\n ) => RequestIdleCallbackHandle\n cancelIdleCallback: (id: RequestIdleCallbackHandle) => void\n }\n}\n\nexport const requestIdleCallback =\n (typeof self !== 'undefined' && self.requestIdleCallback) ||\n function (\n cb: (deadline: RequestIdleCallbackDeadline) => void\n ): NodeJS.Timeout {\n let start = Date.now()\n return setTimeout(function () {\n cb({\n didTimeout: false,\n timeRemaining: function () {\n return Math.max(0, 50 - (Date.now() - start))\n },\n })\n }, 1)\n }\n\nexport const cancelIdleCallback =\n (typeof self !== 'undefined' && self.cancelIdleCallback) ||\n function (id: RequestIdleCallbackHandle) {\n return clearTimeout(id)\n }\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.getEventSourceWrapper = getEventSourceWrapper;\nvar eventCallbacks = [];\n\nfunction EventSourceWrapper(options) {\n var source;\n var lastActivity = new Date();\n var listeners = [];\n\n if (!options.timeout) {\n options.timeout = 20 * 1000;\n }\n\n init();\n var timer = setInterval(function () {\n if (new Date() - lastActivity > options.timeout) {\n handleDisconnect();\n }\n }, options.timeout / 2);\n\n function init() {\n source = new window.EventSource(options.path);\n source.onopen = handleOnline;\n source.onerror = handleDisconnect;\n source.onmessage = handleMessage;\n }\n\n function handleOnline() {\n if (options.log) console.log('[HMR] connected');\n lastActivity = new Date();\n }\n\n function handleMessage(event) {\n lastActivity = new Date();\n\n for (var i = 0; i < listeners.length; i++) {\n listeners[i](event);\n }\n\n eventCallbacks.forEach(function (cb) {\n if (!cb.unfiltered && event.data.indexOf('action') === -1) return;\n cb(event);\n });\n }\n\n function handleDisconnect() {\n clearInterval(timer);\n source.close();\n setTimeout(init, options.timeout);\n }\n\n return {\n close: function close() {\n clearInterval(timer);\n source.close();\n },\n addMessageListener: function addMessageListener(fn) {\n listeners.push(fn);\n }\n };\n}\n\n_c = EventSourceWrapper;\n\nfunction getEventSourceWrapper(options) {\n if (!options.ondemand) {\n return {\n addMessageListener: function addMessageListener(cb) {\n eventCallbacks.push(cb);\n }\n };\n }\n\n return EventSourceWrapper(options);\n}\n\nvar _c;\n\n$RefreshReg$(_c, \"EventSourceWrapper\");","map":{"version":3,"sources":["../../../../client/dev/error-overlay/eventsource.js"],"names":["eventCallbacks","lastActivity","listeners","options","init","timer","setInterval","handleDisconnect","source","window","console","i","cb","event","clearInterval","setTimeout","close","addMessageListener","EventSourceWrapper"],"mappings":";;;;AAAA,IAAMA,cAAc,GAApB,EAAA;;AAEA,SAAA,kBAAA,CAAA,OAAA,EAAqC;AACnC,MAAA,MAAA;AACA,MAAIC,YAAY,GAAG,IAAnB,IAAmB,EAAnB;AACA,MAAIC,SAAS,GAAb,EAAA;;AAEA,MAAI,CAACC,OAAO,CAAZ,OAAA,EAAsB;AACpBA,IAAAA,OAAO,CAAPA,OAAAA,GAAkB,KAAlBA,IAAAA;AAGFC;;AAAAA,EAAAA,IAAI;AACJ,MAAIC,KAAK,GAAGC,WAAW,CAAC,YAAY;AAClC,QAAI,IAAA,IAAA,KAAA,YAAA,GAA4BH,OAAO,CAAvC,OAAA,EAAiD;AAC/CI,MAAAA,gBAAgB;AAEnB;AAJsB,GAAA,EAIpBJ,OAAO,CAAPA,OAAAA,GAJH,CAAuB,CAAvB;;AAMA,WAAA,IAAA,GAAgB;AACdK,IAAAA,MAAM,GAAG,IAAIC,MAAM,CAAV,WAAA,CAAuBN,OAAO,CAAvCK,IAAS,CAATA;AACAA,IAAAA,MAAM,CAANA,MAAAA,GAAAA,YAAAA;AACAA,IAAAA,MAAM,CAANA,OAAAA,GAAAA,gBAAAA;AACAA,IAAAA,MAAM,CAANA,SAAAA,GAAAA,aAAAA;AAGF;;AAAA,WAAA,YAAA,GAAwB;AACtB,QAAIL,OAAO,CAAX,GAAA,EAAiBO,OAAO,CAAPA,GAAAA,CAAAA,iBAAAA;AACjBT,IAAAA,YAAY,GAAG,IAAfA,IAAe,EAAfA;AAGF;;AAAA,WAAA,aAAA,CAAA,KAAA,EAA8B;AAC5BA,IAAAA,YAAY,GAAG,IAAfA,IAAe,EAAfA;;AACA,SAAK,IAAIU,CAAC,GAAV,CAAA,EAAgBA,CAAC,GAAGT,SAAS,CAA7B,MAAA,EAAsCS,CAAtC,EAAA,EAA2C;AACzCT,MAAAA,SAAS,CAATA,CAAS,CAATA,CAAAA,KAAAA;AAGFF;;AAAAA,IAAAA,cAAc,CAAdA,OAAAA,CAAwBY,UAAAA,EAAD,EAAQ;AAC7B,UAAI,CAACA,EAAE,CAAH,UAAA,IAAkBC,KAAK,CAALA,IAAAA,CAAAA,OAAAA,CAAAA,QAAAA,MAAiC,CAAvD,CAAA,EAA2D;AAC3DD,MAAAA,EAAE,CAAFA,KAAE,CAAFA;AAFFZ,KAAAA;AAMF;;AAAA,WAAA,gBAAA,GAA4B;AAC1Bc,IAAAA,aAAa,CAAbA,KAAa,CAAbA;AACAN,IAAAA,MAAM,CAANA,KAAAA;AACAO,IAAAA,UAAU,CAAA,IAAA,EAAOZ,OAAO,CAAxBY,OAAU,CAAVA;AAGF;;AAAA,SAAO;AACLC,IAAAA,KAAK,EAAE,iBAAM;AACXF,MAAAA,aAAa,CAAbA,KAAa,CAAbA;AACAN,MAAAA,MAAM,CAANA,KAAAA;AAHG,KAAA;AAKLS,IAAAA,kBAAkB,EAAE,4BAAA,EAAA,EAAc;AAChCf,MAAAA,SAAS,CAATA,IAAAA,CAAAA,EAAAA;AANJ;AAAO,GAAP;AAWK;;KAzDP,kB;;AAyDO,SAAA,qBAAA,CAAA,OAAA,EAAwC;AAC7C,MAAI,CAACC,OAAO,CAAZ,QAAA,EAAuB;AACrB,WAAO;AACLc,MAAAA,kBAAkB,EAAGL,4BAAAA,EAAD,EAAQ;AAC1BZ,QAAAA,cAAc,CAAdA,IAAAA,CAAAA,EAAAA;AAFJ;AAAO,KAAP;AAMF;;AAAA,SAAOkB,kBAAkB,CAAzB,OAAyB,CAAzB;AACD","sourcesContent":["const eventCallbacks = []\n\nfunction EventSourceWrapper(options) {\n var source\n var lastActivity = new Date()\n var listeners = []\n\n if (!options.timeout) {\n options.timeout = 20 * 1000\n }\n\n init()\n var timer = setInterval(function () {\n if (new Date() - lastActivity > options.timeout) {\n handleDisconnect()\n }\n }, options.timeout / 2)\n\n function init() {\n source = new window.EventSource(options.path)\n source.onopen = handleOnline\n source.onerror = handleDisconnect\n source.onmessage = handleMessage\n }\n\n function handleOnline() {\n if (options.log) console.log('[HMR] connected')\n lastActivity = new Date()\n }\n\n function handleMessage(event) {\n lastActivity = new Date()\n for (var i = 0; i < listeners.length; i++) {\n listeners[i](event)\n }\n\n eventCallbacks.forEach((cb) => {\n if (!cb.unfiltered && event.data.indexOf('action') === -1) return\n cb(event)\n })\n }\n\n function handleDisconnect() {\n clearInterval(timer)\n source.close()\n setTimeout(init, options.timeout)\n }\n\n return {\n close: () => {\n clearInterval(timer)\n source.close()\n },\n addMessageListener: function (fn) {\n listeners.push(fn)\n },\n }\n}\n\nexport function getEventSourceWrapper(options) {\n if (!options.ondemand) {\n return {\n addMessageListener: (cb) => {\n eventCallbacks.push(cb)\n },\n }\n }\n return EventSourceWrapper(options)\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/index.tsx\",\n _this = this,\n _s = $RefreshSig$();\n\nvar __jsx = React.createElement;\nimport React, { useEffect } from 'react';\nimport Link from 'next/link';\nimport { useDispatch } from 'react-redux';\nimport { getUserProfile } from '@store/user';\nimport Layout from '@components/Layout';\n\nvar IndexPage = function IndexPage() {\n _s();\n\n var dispatch = useDispatch();\n useEffect(function () {\n dispatch(getUserProfile());\n }, []);\n return __jsx(Layout, {\n title: \"Home | Next.js + TypeScript Example\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 5\n }\n }, __jsx(\"h1\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 7\n }\n }, \"Hello Next.js \\uD83D\\uDC4B\"), __jsx(\"p\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 7\n }\n }, __jsx(Link, {\n href: \"/about\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 9\n }\n }, __jsx(\"a\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 11\n }\n }, \"About\"))));\n};\n\n_s(IndexPage, \"rAh3tY+Iv6hWC9AI4Dm+rCbkwNE=\", false, function () {\n return [useDispatch];\n});\n\n_c = IndexPage;\nexport default IndexPage;\n\nvar _c;\n\n$RefreshReg$(_c, \"IndexPage\");","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/index.tsx"],"names":["React","useEffect","Link","useDispatch","getUserProfile","Layout","IndexPage","dispatch"],"mappings":";;;;;AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,aAA5B;AAEA,SAASC,cAAT,QAA+B,aAA/B;AACA,OAAOC,MAAP,MAAmB,oBAAnB;;AAEA,IAAMC,SAAS,GAAG,SAAZA,SAAY,GAAM;AAAA;;AACtB,MAAMC,QAAQ,GAAGJ,WAAW,EAA5B;AAEAF,EAAAA,SAAS,CAAC,YAAM;AACdM,IAAAA,QAAQ,CAACH,cAAc,EAAf,CAAR;AACD,GAFQ,EAEN,EAFM,CAAT;AAIA,SACE,MAAC,MAAD;AAAQ,IAAA,KAAK,EAAC,qCAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE,MAAC,IAAD;AAAM,IAAA,IAAI,EAAC,QAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aADF,CADF,CAFF,CADF;AAUD,CAjBD;;GAAME,S;UACaH,W;;;KADbG,S;AAmBN,eAAeA,SAAf","sourcesContent":["import React, { useEffect } from 'react';\nimport Link from 'next/link';\nimport { useDispatch } from 'react-redux';\n\nimport { getUserProfile } from '@store/user';\nimport Layout from '@components/Layout';\n\nconst IndexPage = () => {\n const dispatch = useDispatch();\n\n useEffect(() => {\n dispatch(getUserProfile());\n }, []);\n\n return (\n <Layout title=\"Home | Next.js + TypeScript Example\">\n <h1>Hello Next.js 👋</h1>\n <p>\n <Link href=\"/about\">\n <a>About</a>\n </Link>\n </p>\n </Layout>\n );\n};\n\nexport default IndexPage;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.formatUrl = formatUrl;\n\nvar querystring = _interopRequireWildcard(require(\"./querystring\"));\n\nfunction _getRequireWildcardCache() {\n if (typeof WeakMap !== \"function\") return null;\n var cache = new WeakMap();\n\n _getRequireWildcardCache = function _getRequireWildcardCache() {\n return cache;\n };\n\n return cache;\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n }\n\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n\n var cache = _getRequireWildcardCache();\n\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n\n newObj[\"default\"] = obj;\n\n if (cache) {\n cache.set(obj, newObj);\n }\n\n return newObj;\n} // Format function modified from nodejs\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\nvar slashedProtocols = /https?|ftp|gopher|file/;\n\nfunction formatUrl(urlObj) {\n var auth = urlObj.auth,\n hostname = urlObj.hostname;\n var protocol = urlObj.protocol || '';\n var pathname = urlObj.pathname || '';\n var hash = urlObj.hash || '';\n var query = urlObj.query || '';\n var host = false;\n auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : '';\n\n if (urlObj.host) {\n host = auth + urlObj.host;\n } else if (hostname) {\n host = auth + (~hostname.indexOf(':') ? \"[\".concat(hostname, \"]\") : hostname);\n\n if (urlObj.port) {\n host += ':' + urlObj.port;\n }\n }\n\n if (query && typeof query === 'object') {\n query = String(querystring.urlQueryToSearchParams(query));\n }\n\n var search = urlObj.search || query && \"?\".concat(query) || '';\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n if (urlObj.slashes || (!protocol || slashedProtocols.test(protocol)) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname[0] !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash[0] !== '#') hash = '#' + hash;\n if (search && search[0] !== '?') search = '?' + search;\n pathname = pathname.replace(/[?#]/g, encodeURIComponent);\n search = search.replace('#', '%23');\n return \"\".concat(protocol).concat(host).concat(pathname).concat(search).concat(hash);\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/format-url.ts"],"names":["slashedProtocols","protocol","urlObj","pathname","hash","query","host","auth","encodeURIComponent","hostname","String","querystring","search"],"mappings":";;;;;AAwBA,IAAA,WAAA,GAAA,uBAAA,CAAA,OAAA,CAAA,eAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxBA,C,CAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAMA,IAAMA,gBAAgB,GAAtB,wBAAA;;AAEO,SAAA,SAAA,CAAA,MAAA,EAAsC;AAAA,MACvC,IADuC,GAC3C,MAD2C,CACvC,IADuC;AAAA,MACvC,QADuC,GAC3C,MAD2C,CACvC,QADuC;AAE3C,MAAIC,QAAQ,GAAGC,MAAM,CAANA,QAAAA,IAAf,EAAA;AACA,MAAIC,QAAQ,GAAGD,MAAM,CAANA,QAAAA,IAAf,EAAA;AACA,MAAIE,IAAI,GAAGF,MAAM,CAANA,IAAAA,IAAX,EAAA;AACA,MAAIG,KAAK,GAAGH,MAAM,CAANA,KAAAA,IAAZ,EAAA;AACA,MAAII,IAAoB,GAAxB,KAAA;AAEAC,EAAAA,IAAI,GAAGA,IAAI,GAAGC,kBAAkB,CAAlBA,IAAkB,CAAlBA,CAAAA,OAAAA,CAAAA,MAAAA,EAAAA,GAAAA,IAAH,GAAA,GAAXD,EAAAA;;AAEA,MAAIL,MAAM,CAAV,IAAA,EAAiB;AACfI,IAAAA,IAAI,GAAGC,IAAI,GAAGL,MAAM,CAApBI,IAAAA;AADF,GAAA,MAEO,IAAA,QAAA,EAAc;AACnBA,IAAAA,IAAI,GAAGC,IAAI,IAAI,CAACE,QAAQ,CAARA,OAAAA,CAAD,GAACA,CAAD,cAAA,QAAA,SAAfH,QAAW,CAAXA;;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,QAAV,SAAqBK,IAArB,SAA4BH,QAA5B,SAAuCS,MAAvC,SAAA,IAAA;AACD","sourcesContent":["// Format function modified from nodejs\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nimport { UrlObject } from 'url'\nimport { ParsedUrlQuery } from 'querystring'\nimport * as querystring from './querystring'\n\nconst slashedProtocols = /https?|ftp|gopher|file/\n\nexport function formatUrl(urlObj: UrlObject) {\n let { auth, hostname } = urlObj\n let protocol = urlObj.protocol || ''\n let pathname = urlObj.pathname || ''\n let hash = urlObj.hash || ''\n let query = urlObj.query || ''\n let host: string | false = false\n\n auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : ''\n\n if (urlObj.host) {\n host = auth + urlObj.host\n } else if (hostname) {\n host = auth + (~hostname.indexOf(':') ? `[${hostname}]` : hostname)\n if (urlObj.port) {\n host += ':' + urlObj.port\n }\n }\n\n if (query && typeof query === 'object') {\n query = String(querystring.urlQueryToSearchParams(query as ParsedUrlQuery))\n }\n\n let search = urlObj.search || (query && `?${query}`) || ''\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':'\n\n if (\n urlObj.slashes ||\n ((!protocol || slashedProtocols.test(protocol)) && host !== false)\n ) {\n host = '//' + (host || '')\n if (pathname && pathname[0] !== '/') pathname = '/' + pathname\n } else if (!host) {\n host = ''\n }\n\n if (hash && hash[0] !== '#') hash = '#' + hash\n if (search && search[0] !== '?') search = '?' + search\n\n pathname = pathname.replace(/[?#]/g, encodeURIComponent)\n search = search.replace('#', '%23')\n\n return `${protocol}${host}${pathname}${search}${hash}`\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/index.tsx\";\nvar __jsx = React.createElement;\nimport React, { useEffect } from 'react';\nimport Link from 'next/link';\nimport { useDispatch } from 'react-redux';\nimport { getUserProfile } from '@store/user';\nimport Layout from '@components/Layout';\n\nconst IndexPage = () => {\n const dispatch = useDispatch();\n useEffect(() => {\n dispatch(getUserProfile());\n }, []);\n return __jsx(Layout, {\n title: \"Home | Next.js + TypeScript Example\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 5\n }\n }, __jsx(\"h1\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 7\n }\n }, \"Hello Next.js \\uD83D\\uDC4B\"), __jsx(\"p\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 7\n }\n }, __jsx(Link, {\n href: \"/about\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 9\n }\n }, __jsx(\"a\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 11\n }\n }, \"About\"))));\n};\n\nexport default IndexPage;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/index.tsx"],"names":["React","useEffect","Link","useDispatch","getUserProfile","Layout","IndexPage","dispatch"],"mappings":";;AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,SAASC,WAAT,QAA4B,aAA5B;AAEA,SAASC,cAAT,QAA+B,aAA/B;AACA,OAAOC,MAAP,MAAmB,oBAAnB;;AAEA,MAAMC,SAAS,GAAG,MAAM;AACtB,QAAMC,QAAQ,GAAGJ,WAAW,EAA5B;AAEAF,EAAAA,SAAS,CAAC,MAAM;AACdM,IAAAA,QAAQ,CAACH,cAAc,EAAf,CAAR;AACD,GAFQ,EAEN,EAFM,CAAT;AAIA,SACE,MAAC,MAAD;AAAQ,IAAA,KAAK,EAAC,qCAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE,MAAC,IAAD;AAAM,IAAA,IAAI,EAAC,QAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aADF,CADF,CAFF,CADF;AAUD,CAjBD;;AAmBA,eAAeE,SAAf","sourcesContent":["import React, { useEffect } from 'react';\nimport Link from 'next/link';\nimport { useDispatch } from 'react-redux';\n\nimport { getUserProfile } from '@store/user';\nimport Layout from '@components/Layout';\n\nconst IndexPage = () => {\n const dispatch = useDispatch();\n\n useEffect(() => {\n dispatch(getUserProfile());\n }, []);\n\n return (\n <Layout title=\"Home | Next.js + TypeScript Example\">\n <h1>Hello Next.js 👋</h1>\n <p>\n <Link href=\"/about\">\n <a>About</a>\n </Link>\n </p>\n </Layout>\n );\n};\n\nexport default IndexPage;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports[\"default\"] = mitt;\n/*\nMIT License\nCopyright (c) Jason Miller (https://jasonformat.com/)\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n*/\n// This file is based on https://github.com/developit/mitt/blob/v1.1.3/src/index.js\n// It's been edited for the needs of this script\n// See the LICENSE at the top of the file\n\nfunction mitt() {\n var all = Object.create(null);\n return {\n on: function on(type, handler) {\n ;\n (all[type] || (all[type] = [])).push(handler);\n },\n off: function off(type, handler) {\n if (all[type]) {\n all[type].splice(all[type].indexOf(handler) >>> 0, 1);\n }\n },\n emit: function emit(type) {\n for (var _len = arguments.length, evts = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n evts[_key - 1] = arguments[_key];\n }\n\n // eslint-disable-next-line array-callback-return\n ;\n (all[type] || []).slice().map(function (handler) {\n handler.apply(void 0, evts);\n });\n }\n };\n}","map":{"version":3,"sources":["../../../next-server/lib/mitt.ts"],"names":["all","Object","on","off","emit","handler"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;;AAUe,SAAA,IAAA,GAA6B;AAC1C,MAAMA,GAA+B,GAAGC,MAAM,CAANA,MAAAA,CAAxC,IAAwCA,CAAxC;AAEA,SAAO;AACLC,IAAAA,EADK,cACH,IADG,EACH,OADG,EAC8B;AACjC;AAAC,OAACF,GAAG,CAAHA,IAAG,CAAHA,KAAcA,GAAG,CAAHA,IAAG,CAAHA,GAAf,EAACA,CAAD,EAAA,IAAA,CAAA,OAAA;AAFE,KAAA;AAKLG,IAAAA,GALK,eAKF,IALE,EAKF,OALE,EAK+B;AAClC,UAAIH,GAAG,CAAP,IAAO,CAAP,EAAe;AACbA,QAAAA,GAAG,CAAHA,IAAG,CAAHA,CAAAA,MAAAA,CAAiBA,GAAG,CAAHA,IAAG,CAAHA,CAAAA,OAAAA,CAAAA,OAAAA,MAAjBA,CAAAA,EAAAA,CAAAA;AAEH;AATI,KAAA;AAWLI,IAAAA,IAXK,gBAWD,IAXC,EAW8B;AAAA,wCAA/B,IAA+B;AAA/B,QAAA,IAA+B;AAAA;;AACjC;AACA;AAAC,OAACJ,GAAG,CAAHA,IAAG,CAAHA,IAAD,EAAA,EAAA,KAAA,GAAA,GAAA,CAA+BK,UAAAA,OAAD,EAAsB;AACnDA,QAAAA,OAAO,MAAPA,SAAAA,IAAAA;AADD,OAAA;AAbL;AAAO,GAAP;AAkBD","sourcesContent":["/*\nMIT License\n\nCopyright (c) Jason Miller (https://jasonformat.com/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n*/\n\n// This file is based on https://github.com/developit/mitt/blob/v1.1.3/src/index.js\n// It's been edited for the needs of this script\n// See the LICENSE at the top of the file\n\ntype Handler = (...evts: any[]) => void\n\nexport type MittEmitter = {\n on(type: string, handler: Handler): void\n off(type: string, handler: Handler): void\n emit(type: string, ...evts: any[]): void\n}\n\nexport default function mitt(): MittEmitter {\n const all: { [s: string]: Handler[] } = Object.create(null)\n\n return {\n on(type: string, handler: Handler) {\n ;(all[type] || (all[type] = [])).push(handler)\n },\n\n off(type: string, handler: Handler) {\n if (all[type]) {\n all[type].splice(all[type].indexOf(handler) >>> 0, 1)\n }\n },\n\n emit(type: string, ...evts: any[]) {\n // eslint-disable-next-line array-callback-return\n ;(all[type] || []).slice().map((handler: Handler) => {\n handler(...evts)\n })\n },\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.getRouteMatcher = getRouteMatcher;\n\nfunction getRouteMatcher(routeRegex) {\n var re = routeRegex.re,\n groups = routeRegex.groups;\n return function (pathname) {\n var routeMatch = re.exec(pathname);\n\n if (!routeMatch) {\n return false;\n }\n\n var decode = function decode(param) {\n try {\n return decodeURIComponent(param);\n } catch (_) {\n var err = new Error('failed to decode param');\n err.code = 'DECODE_FAILED';\n throw err;\n }\n };\n\n var params = {};\n Object.keys(groups).forEach(function (slugName) {\n var g = groups[slugName];\n var m = routeMatch[g.pos];\n\n if (m !== undefined) {\n params[slugName] = ~m.indexOf('/') ? m.split('/').map(function (entry) {\n return decode(entry);\n }) : g.repeat ? [decode(m)] : decode(m);\n }\n });\n return params;\n };\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/route-matcher.ts"],"names":["pathname","routeMatch","re","decode","param","decodeURIComponent","err","params","Object","slugName","g","groups","m","entry"],"mappings":";;;;;AAEO,SAAA,eAAA,CAAA,UAAA,EAAuE;AAAA,MACtE,EADsE,GAC5E,UAD4E,CACtE,EADsE;AAAA,MACtE,MADsE,GAC5E,UAD4E,CACtE,MADsE;AAE5E,SAAQA,UAAAA,QAAD,EAAyC;AAC9C,QAAMC,UAAU,GAAGC,EAAE,CAAFA,IAAAA,CAAnB,QAAmBA,CAAnB;;AACA,QAAI,CAAJ,UAAA,EAAiB;AACf,aAAA,KAAA;AAGF;;AAAA,QAAMC,MAAM,GAAIC,SAAVD,MAAUC,CAAAA,KAAD,EAAmB;AAChC,UAAI;AACF,eAAOC,kBAAkB,CAAzB,KAAyB,CAAzB;AACA,OAFF,CAEE,OAAA,CAAA,EAAU;AACV,YAAMC,GAA8B,GAAG,IAAA,KAAA,CAAvC,wBAAuC,CAAvC;AAGAA,QAAAA,GAAG,CAAHA,IAAAA,GAAAA,eAAAA;AACA,cAAA,GAAA;AAEH;AAVD,KAAA;;AAWA,QAAMC,MAAkD,GAAxD,EAAA;AAEAC,IAAAA,MAAM,CAANA,IAAAA,CAAAA,MAAAA,EAAAA,OAAAA,CAA6BC,UAAAA,QAAD,EAAsB;AAChD,UAAMC,CAAC,GAAGC,MAAM,CAAhB,QAAgB,CAAhB;AACA,UAAMC,CAAC,GAAGX,UAAU,CAACS,CAAC,CAAtB,GAAoB,CAApB;;AACA,UAAIE,CAAC,KAAL,SAAA,EAAqB;AACnBL,QAAAA,MAAM,CAANA,QAAM,CAANA,GAAmB,CAACK,CAAC,CAADA,OAAAA,CAAD,GAACA,CAAD,GACfA,CAAC,CAADA,KAAAA,CAAAA,GAAAA,EAAAA,GAAAA,CAAkBC,UAAAA,KAAD;AAAA,iBAAWV,MAAM,CADnB,KACmB,CAAjB;AAAA,SAAjBS,CADe,GAEfF,CAAC,CAADA,MAAAA,GACA,CAACP,MAAM,CADPO,CACO,CAAP,CADAA,GAEAP,MAAM,CAJVI,CAIU,CAJVA;AAMH;AAVDC,KAAAA;AAWA,WAAA,MAAA;AA9BF,GAAA;AAgCD","sourcesContent":["import { getRouteRegex } from './route-regex'\n\nexport function getRouteMatcher(routeRegex: ReturnType<typeof getRouteRegex>) {\n const { re, groups } = routeRegex\n return (pathname: string | null | undefined) => {\n const routeMatch = re.exec(pathname!)\n if (!routeMatch) {\n return false\n }\n\n const decode = (param: string) => {\n try {\n return decodeURIComponent(param)\n } catch (_) {\n const err: Error & { code?: string } = new Error(\n 'failed to decode param'\n )\n err.code = 'DECODE_FAILED'\n throw err\n }\n }\n const params: { [paramName: string]: string | string[] } = {}\n\n Object.keys(groups).forEach((slugName: string) => {\n const g = groups[slugName]\n const m = routeMatch[g.pos]\n if (m !== undefined) {\n params[slugName] = ~m.indexOf('/')\n ? m.split('/').map((entry) => decode(entry))\n : g.repeat\n ? [decode(m)]\n : decode(m)\n }\n })\n return params\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _toConsumableArray = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/toConsumableArray\");\n\nvar _classCallCheck = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/classCallCheck\");\n\nvar _createClass = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/createClass\");\n\nvar _assertThisInitialized = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/assertThisInitialized\");\n\nvar _inherits = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/inherits\");\n\nvar _possibleConstructorReturn = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/possibleConstructorReturn\");\n\nvar _getPrototypeOf = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/getPrototypeOf\");\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\n\nvar _react = require(\"react\");\n\nvar isServer = false;\n\nvar _default = /*#__PURE__*/function (_react$Component) {\n _inherits(_default, _react$Component);\n\n var _super = _createSuper(_default);\n\n function _default(props) {\n var _this;\n\n _classCallCheck(this, _default);\n\n _this = _super.call(this, props);\n _this._hasHeadManager = void 0;\n\n _this.emitChange = function () {\n if (_this._hasHeadManager) {\n _this.props.headManager.updateHead(_this.props.reduceComponentsToState(_toConsumableArray(_this.props.headManager.mountedInstances), _this.props));\n }\n };\n\n _this._hasHeadManager = _this.props.headManager && _this.props.headManager.mountedInstances;\n\n if (isServer && _this._hasHeadManager) {\n _this.props.headManager.mountedInstances.add(_assertThisInitialized(_this));\n\n _this.emitChange();\n }\n\n return _this;\n }\n\n _createClass(_default, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if (this._hasHeadManager) {\n this.props.headManager.mountedInstances.add(this);\n }\n\n this.emitChange();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.emitChange();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this._hasHeadManager) {\n this.props.headManager.mountedInstances[\"delete\"](this);\n }\n\n this.emitChange();\n }\n }, {\n key: \"render\",\n value: function render() {\n return null;\n }\n }]);\n\n return _default;\n}(_react.Component);\n\nexports[\"default\"] = _default;","map":{"version":3,"sources":["../../../next-server/lib/side-effect.tsx"],"names":["isServer","Component","_hasHeadManager","emitChange","constructor","componentDidMount","componentDidUpdate","componentWillUnmount","render"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,MAAA,GAAA,OAAA,CAAA,OAAA,CAAA;;AAEA,IAAMA,QAAN,QAAA;;IAce,Q;;;;;AAcbI,oBAAW,KAAXA,EAAwB;AAAA;;AAAA;;AACtB,8BAAA,KAAA;AADsB,UAbhBF,eAagB,GAAA,KAAA,CAAA;;AAAA,UAXxBC,UAWwB,GAXX,YAAY;AACvB,UAAI,MAAJ,eAAA,EAA0B;AACxB,cAAA,KAAA,CAAA,WAAA,CAAA,UAAA,CACE,MAAA,KAAA,CAAA,uBAAA,oBACM,MAAA,KAAA,CAAA,WAAA,CADN,gBAAA,GAEE,MAHJ,KACE,CADF;AAOH;AAEuB,KAAA;;AAEtB,UAAA,eAAA,GACE,MAAA,KAAA,CAAA,WAAA,IAA0B,MAAA,KAAA,CAAA,WAAA,CAD5B,gBAAA;;AAGA,QAAIH,QAAQ,IAAI,MAAhB,eAAA,EAAsC;AACpC,YAAA,KAAA,CAAA,WAAA,CAAA,gBAAA,CAAA,GAAA;;AACA,YAAA,UAAA;AAEH;;AATuB;AAUxBK;;;;wCAAoB;AAClB,UAAI,KAAJ,eAAA,EAA0B;AACxB,aAAA,KAAA,CAAA,WAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,IAAA;AAEF;;AAAA,WAAA,UAAA;AAEFC;;;yCAAqB;AACnB,WAAA,UAAA;AAEFC;;;2CAAuB;AACrB,UAAI,KAAJ,eAAA,EAA0B;AACxB,aAAA,KAAA,CAAA,WAAA,CAAA,gBAAA,WAAA,IAAA;AAEF;;AAAA,WAAA,UAAA;AAGFC;;;6BAAS;AACP,aAAA,IAAA;AAzCoD;;;;EAA3BP,MAAAA,CAAAA,S","sourcesContent":["import React, { Component } from 'react'\n\nconst isServer = typeof window === 'undefined'\n\ntype State = JSX.Element[] | undefined\n\ntype SideEffectProps = {\n reduceComponentsToState: <T>(\n components: Array<React.ReactElement<any>>,\n props: T\n ) => State\n handleStateChange?: (state: State) => void\n headManager: any\n inAmpMode?: boolean\n}\n\nexport default class extends Component<SideEffectProps> {\n private _hasHeadManager: boolean\n\n emitChange = (): void => {\n if (this._hasHeadManager) {\n this.props.headManager.updateHead(\n this.props.reduceComponentsToState(\n [...this.props.headManager.mountedInstances],\n this.props\n )\n )\n }\n }\n\n constructor(props: any) {\n super(props)\n this._hasHeadManager =\n this.props.headManager && this.props.headManager.mountedInstances\n\n if (isServer && this._hasHeadManager) {\n this.props.headManager.mountedInstances.add(this)\n this.emitChange()\n }\n }\n componentDidMount() {\n if (this._hasHeadManager) {\n this.props.headManager.mountedInstances.add(this)\n }\n this.emitChange()\n }\n componentDidUpdate() {\n this.emitChange()\n }\n componentWillUnmount() {\n if (this._hasHeadManager) {\n this.props.headManager.mountedInstances.delete(this)\n }\n this.emitChange()\n }\n\n render() {\n return null\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/List/index.tsx\",\n _this = this;\n\nvar __jsx = React.createElement;\nimport * as React from 'react';\nimport ListItem from '@components/ListItem';\n\nvar List = function List(_ref) {\n var items = _ref.items;\n return __jsx(\"ul\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 3\n }\n }, items.map(function (item) {\n return __jsx(\"li\", {\n key: item.id,\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 7\n }\n }, __jsx(ListItem, {\n data: item,\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 9\n }\n }));\n }));\n};\n\n_c = List;\nexport default List;\n\nvar _c;\n\n$RefreshReg$(_c, \"List\");","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/List/index.tsx"],"names":["React","ListItem","List","items","map","item","id"],"mappings":";;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,QAAP,MAAqB,sBAArB;;AAOA,IAAMC,IAAI,GAAG,SAAPA,IAAO;AAAA,MAAGC,KAAH,QAAGA,KAAH;AAAA,SACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACGA,KAAK,CAACC,GAAN,CAAU,UAACC,IAAD;AAAA,WACT;AAAI,MAAA,GAAG,EAAEA,IAAI,CAACC,EAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OACE,MAAC,QAAD;AAAU,MAAA,IAAI,EAAED,IAAhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MADF,CADS;AAAA,GAAV,CADH,CADW;AAAA,CAAb;;KAAMH,I;AAUN,eAAeA,IAAf","sourcesContent":["import * as React from 'react';\nimport ListItem from '@components/ListItem';\nimport { User } from '@interfaces';\n\ntype Props = {\n items: User[];\n};\n\nconst List = ({ items }: Props) => (\n <ul>\n {items.map((item) => (\n <li key={item.id}>\n <ListItem data={item} />\n </li>\n ))}\n </ul>\n);\n\nexport default List;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.RouterContext = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar RouterContext = /*#__PURE__*/_react[\"default\"].createContext(null);\n\nexports.RouterContext = RouterContext;\n\nif (true) {\n RouterContext.displayName = 'RouterContext';\n}","map":{"version":3,"sources":["../../../next-server/lib/router-context.ts"],"names":["RouterContext","React"],"mappings":";;;;;AAAA,IAAA,MAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA;;;;;;AAGO;;AAAA,IAAMA,aAAa,GAAA,aAAGC,MAAAA,WAAAA,CAAAA,aAAAA,CAAtB,IAAsBA,CAAtB;;;;AAEP,UAA2C;AACzCD,EAAAA,aAAa,CAAbA,WAAAA,GAAAA,eAAAA;AACD","sourcesContent":["import React from 'react'\nimport { NextRouter } from './router/router'\n\nexport const RouterContext = React.createContext<NextRouter>(null as any)\n\nif (process.env.NODE_ENV !== 'production') {\n RouterContext.displayName = 'RouterContext'\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/users/index.tsx\";\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport Link from 'next/link';\nimport { sampleUserData } from '@utils/sample-data';\nimport Layout from '@components/Layout';\nimport List from '@components/List';\n\nconst WithStaticProps = ({\n items\n}) => __jsx(Layout, {\n title: \"Users List | Next.js + TypeScript Example\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 3\n }\n}, __jsx(\"h1\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 5\n }\n}, \"Users List\"), __jsx(\"p\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 5\n }\n}, \"Example fetching data from inside \", __jsx(\"code\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 41\n }\n}, \"getStaticProps()\"), \".\"), __jsx(\"p\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 5\n }\n}, \"You are currently on: /users\"), __jsx(List, {\n items: items,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 5\n }\n}), __jsx(\"p\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 5\n }\n}, __jsx(Link, {\n href: \"/\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 7\n }\n}, __jsx(\"a\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 9\n }\n}, \"Go home\"))));\n\nexport const getStaticProps = async () => {\n // Example for including static props in a Next.js function component page.\n // Don't forget to include the respective types for any props passed into\n // the component.\n const items = sampleUserData;\n return {\n props: {\n items\n }\n };\n};\nexport default WithStaticProps;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/users/index.tsx"],"names":["Link","sampleUserData","Layout","List","WithStaticProps","items","getStaticProps","props"],"mappings":";;;AACA,OAAOA,IAAP,MAAiB,WAAjB;AAGA,SAASC,cAAT,QAA+B,oBAA/B;AACA,OAAOC,MAAP,MAAmB,oBAAnB;AACA,OAAOC,IAAP,MAAiB,kBAAjB;;AAMA,MAAMC,eAAe,GAAG,CAAC;AAAEC,EAAAA;AAAF,CAAD,KACtB,MAAC,MAAD;AAAQ,EAAA,KAAK,EAAC,2CAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yCACoC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBADpC,MAFF,EAKE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCALF,EAME,MAAC,IAAD;AAAM,EAAA,KAAK,EAAEA,KAAb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EANF,EAOE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACE,MAAC,IAAD;AAAM,EAAA,IAAI,EAAC,GAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aADF,CADF,CAPF,CADF;;AAgBA,OAAO,MAAMC,cAA8B,GAAG,YAAY;AACxD;AACA;AACA;AACA,QAAMD,KAAa,GAAGJ,cAAtB;AACA,SAAO;AAAEM,IAAAA,KAAK,EAAE;AAAEF,MAAAA;AAAF;AAAT,GAAP;AACD,CANM;AAQP,eAAeD,eAAf","sourcesContent":["import { GetStaticProps } from 'next';\nimport Link from 'next/link';\n\nimport { User } from '@interfaces';\nimport { sampleUserData } from '@utils/sample-data';\nimport Layout from '@components/Layout';\nimport List from '@components/List';\n\ntype Props = {\n items: User[];\n};\n\nconst WithStaticProps = ({ items }: Props) => (\n <Layout title=\"Users List | Next.js + TypeScript Example\">\n <h1>Users List</h1>\n <p>\n Example fetching data from inside <code>getStaticProps()</code>.\n </p>\n <p>You are currently on: /users</p>\n <List items={items} />\n <p>\n <Link href=\"/\">\n <a>Go home</a>\n </Link>\n </p>\n </Layout>\n);\n\nexport const getStaticProps: GetStaticProps = async () => {\n // Example for including static props in a Next.js function component page.\n // Don't forget to include the respective types for any props passed into\n // the component.\n const items: User[] = sampleUserData;\n return { props: { items } };\n};\n\nexport default WithStaticProps;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.HeadManagerContext = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar HeadManagerContext = /*#__PURE__*/_react[\"default\"].createContext({});\n\nexports.HeadManagerContext = HeadManagerContext;\n\nif (true) {\n HeadManagerContext.displayName = 'HeadManagerContext';\n}","map":{"version":3,"sources":["../../../next-server/lib/head-manager-context.ts"],"names":["HeadManagerContext","React"],"mappings":";;;;;AAAA,IAAA,MAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA;;;;;;AAEO;;AAAA,IAAMA,kBAKX,GAAA,aAAGC,MAAAA,WAAAA,CAAAA,aAAAA,CALE,EAKFA,CALE;;;;AAOP,UAA2C;AACzCD,EAAAA,kBAAkB,CAAlBA,WAAAA,GAAAA,oBAAAA;AACD","sourcesContent":["import React from 'react'\n\nexport const HeadManagerContext: React.Context<{\n updateHead?: (state: any) => void\n mountedInstances?: any\n updateScripts?: (state: any) => void\n scripts?: any\n}> = React.createContext({})\n\nif (process.env.NODE_ENV !== 'production') {\n HeadManagerContext.displayName = 'HeadManagerContext'\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = withRouter;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _router = require(\"./router\");\n\nfunction withRouter(ComposedComponent) {\n function WithRouterWrapper(props) {\n return /*#__PURE__*/_react.default.createElement(ComposedComponent, Object.assign({\n router: (0, _router.useRouter)()\n }, props));\n }\n\n WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps // This is needed to allow checking for custom getInitialProps in _app\n ;\n WithRouterWrapper.origGetInitialProps = ComposedComponent.origGetInitialProps;\n\n if (true) {\n const name = ComposedComponent.displayName || ComposedComponent.name || 'Unknown';\n WithRouterWrapper.displayName = `withRouter(${name})`;\n }\n\n return WithRouterWrapper;\n}","map":{"version":3,"sources":["../../client/with-router.tsx"],"names":["ComposedComponent","getInitialProps","WithRouterWrapper","name"],"mappings":";;;;;;;AAAA,IAAA,MAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA;;AAEA,IAAA,OAAA,GAAA,OAAA,CAAA,UAAA,CAAA;;AAWe,SAAA,UAAA,CAAA,iBAAA,EAK+B;AAC5C,WAAA,iBAAA,CAAA,KAAA,EAAoD;AAClD,WAAA,aAAO,MAAA,CAAA,OAAA,CAAA,aAAA,CAAA,iBAAA,EAAA,MAAA,CAAA,MAAA,CAAA;AAAmB,MAAA,MAAM,EAAE,CAAA,GAAA,OAAA,CAA3B,SAA2B;AAA3B,KAAA,EAAP,KAAO,CAAA,CAAP;AAGF;;AAAA,EAAA,iBAAiB,CAAjB,eAAA,GAAoCA,iBAAiB,CAACC,eAAtD,CACA;AADA;AAEEC,EAAAA,iBAAD,CAAA,mBAACA,GAAiDF,iBAAD,CAAjD,mBAACE;;AACF,YAA2C;AACzC,UAAMC,IAAI,GACRH,iBAAiB,CAAjBA,WAAAA,IAAiCA,iBAAiB,CAAlDA,IAAAA,IADF,SAAA;AAEAE,IAAAA,iBAAiB,CAAjBA,WAAAA,GAAiC,cAAaC,IAA9CD,GAAAA;AAGF;;AAAA,SAAA,iBAAA;AACD","sourcesContent":["import React from 'react'\nimport { NextComponentType, NextPageContext } from '../next-server/lib/utils'\nimport { NextRouter, useRouter } from './router'\n\nexport type WithRouterProps = {\n router: NextRouter\n}\n\nexport type ExcludeRouterProps<P> = Pick<\n P,\n Exclude<keyof P, keyof WithRouterProps>\n>\n\nexport default function withRouter<\n P extends WithRouterProps,\n C = NextPageContext\n>(\n ComposedComponent: NextComponentType<C, any, P>\n): React.ComponentType<ExcludeRouterProps<P>> {\n function WithRouterWrapper(props: any): JSX.Element {\n return <ComposedComponent router={useRouter()} {...props} />\n }\n\n WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps\n // This is needed to allow checking for custom getInitialProps in _app\n ;(WithRouterWrapper as any).origGetInitialProps = (ComposedComponent as any).origGetInitialProps\n if (process.env.NODE_ENV !== 'production') {\n const name =\n ComposedComponent.displayName || ComposedComponent.name || 'Unknown'\n WithRouterWrapper.displayName = `withRouter(${name})`\n }\n\n return WithRouterWrapper\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.isDynamicRoute = isDynamicRoute; // Identify /[param]/ in route string\n\nvar TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/;\n\nfunction isDynamicRoute(route) {\n return TEST_ROUTE.test(route);\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/is-dynamic.ts"],"names":["TEST_ROUTE"],"mappings":";;;yCAAA;;AACA,IAAMA,UAAU,GAAhB,sBAAA;;AAEO,SAAA,cAAA,CAAA,KAAA,EAAgD;AACrD,SAAOA,UAAU,CAAVA,IAAAA,CAAP,KAAOA,CAAP;AACD","sourcesContent":["// Identify /[param]/ in route string\nconst TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/\n\nexport function isDynamicRoute(route: string): boolean {\n return TEST_ROUTE.test(route)\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.removePathTrailingSlash = removePathTrailingSlash;\nexports.normalizePathTrailingSlash = void 0;\n/**\n* Removes the trailing slash of a path if there is one. Preserves the root path `/`.\n*/\n\nfunction removePathTrailingSlash(path) {\n return path.endsWith('/') && path !== '/' ? path.slice(0, -1) : path;\n}\n/**\n* Normalizes the trailing slash of a path according to the `trailingSlash` option\n* in `next.config.js`.\n*/\n\n\nconst normalizePathTrailingSlash = process.env.__NEXT_TRAILING_SLASH ? path => {\n if (/\\.[^/]+\\/?$/.test(path)) {\n return removePathTrailingSlash(path);\n } else if (path.endsWith('/')) {\n return path;\n } else {\n return path + '/';\n }\n} : removePathTrailingSlash;\nexports.normalizePathTrailingSlash = normalizePathTrailingSlash;","map":{"version":3,"sources":["../../client/normalize-trailing-slash.ts"],"names":["path","normalizePathTrailingSlash","process","removePathTrailingSlash"],"mappings":";;;;;AAAA;AACA;AACA;;AACO,SAAA,uBAAA,CAAA,IAAA,EAAuD;AAC5D,SAAOA,IAAI,CAAJA,QAAAA,CAAAA,GAAAA,KAAsBA,IAAI,KAA1BA,GAAAA,GAAqCA,IAAI,CAAJA,KAAAA,CAAAA,CAAAA,EAAc,CAAnDA,CAAqCA,CAArCA,GAAP,IAAA;AAGF;AAAA;AACA;AACA;AACA;;;AACO,MAAMC,0BAA0B,GAAGC,OAAO,CAAPA,GAAAA,CAAAA,qBAAAA,GACrCF,IAAD,IAA0B;AACxB,MAAI,cAAA,IAAA,CAAJ,IAAI,CAAJ,EAA8B;AAC5B,WAAOG,uBAAuB,CAA9B,IAA8B,CAA9B;AADF,GAAA,MAEO,IAAIH,IAAI,CAAJA,QAAAA,CAAJ,GAAIA,CAAJ,EAAwB;AAC7B,WAAA,IAAA;AADK,GAAA,MAEA;AACL,WAAOA,IAAI,GAAX,GAAA;AAEH;AATqCE,CAAAA,GAAnC,uBAAA","sourcesContent":["/**\n * Removes the trailing slash of a path if there is one. Preserves the root path `/`.\n */\nexport function removePathTrailingSlash(path: string): string {\n return path.endsWith('/') && path !== '/' ? path.slice(0, -1) : path\n}\n\n/**\n * Normalizes the trailing slash of a path according to the `trailingSlash` option\n * in `next.config.js`.\n */\nexport const normalizePathTrailingSlash = process.env.__NEXT_TRAILING_SLASH\n ? (path: string): string => {\n if (/\\.[^/]+\\/?$/.test(path)) {\n return removePathTrailingSlash(path)\n } else if (path.endsWith('/')) {\n return path\n } else {\n return path + '/'\n }\n }\n : removePathTrailingSlash\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _head = _interopRequireDefault(require(\"../next-server/lib/head\"));\n\nconst statusCodes = {\n 400: 'Bad Request',\n 404: 'This page could not be found',\n 405: 'Method Not Allowed',\n 500: 'Internal Server Error'\n};\n\nfunction _getInitialProps({\n res,\n err\n}) {\n const statusCode = res && res.statusCode ? res.statusCode : err ? err.statusCode : 404;\n return {\n statusCode\n };\n}\n/**\n* `Error` component used for handling errors.\n*/\n\n\nclass Error extends _react.default.Component {\n render() {\n const {\n statusCode\n } = this.props;\n const title = this.props.title || statusCodes[statusCode] || 'An unexpected error has occurred';\n return /*#__PURE__*/_react.default.createElement(\"div\", {\n style: styles.error\n }, /*#__PURE__*/_react.default.createElement(_head.default, null, /*#__PURE__*/_react.default.createElement(\"title\", null, statusCode, \": \", title)), /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"style\", {\n dangerouslySetInnerHTML: {\n __html: 'body { margin: 0 }'\n }\n }), statusCode ? /*#__PURE__*/_react.default.createElement(\"h1\", {\n style: styles.h1\n }, statusCode) : null, /*#__PURE__*/_react.default.createElement(\"div\", {\n style: styles.desc\n }, /*#__PURE__*/_react.default.createElement(\"h2\", {\n style: styles.h2\n }, title, \".\"))));\n }\n\n}\n\nexports.default = Error;\nError.displayName = 'ErrorPage';\nError.getInitialProps = _getInitialProps;\nError.origGetInitialProps = _getInitialProps;\nconst styles = {\n error: {\n color: '#000',\n background: '#fff',\n fontFamily: '-apple-system, BlinkMacSystemFont, Roboto, \"Segoe UI\", \"Fira Sans\", Avenir, \"Helvetica Neue\", \"Lucida Grande\", sans-serif',\n height: '100vh',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center'\n },\n desc: {\n display: 'inline-block',\n textAlign: 'left',\n lineHeight: '49px',\n height: '49px',\n verticalAlign: 'middle'\n },\n h1: {\n display: 'inline-block',\n borderRight: '1px solid rgba(0, 0, 0,.3)',\n margin: 0,\n marginRight: '20px',\n padding: '10px 23px 10px 0',\n fontSize: '24px',\n fontWeight: 500,\n verticalAlign: 'top'\n },\n h2: {\n fontSize: '14px',\n fontWeight: 'normal',\n lineHeight: 'inherit',\n margin: 0,\n padding: 0\n }\n};","map":{"version":3,"sources":["../../pages/_error.tsx"],"names":["statusCodes","statusCode","res","err","Error","React","Component","displayName","getInitialProps","_getInitialProps","origGetInitialProps","render","title","styles","__html","error","color","background","fontFamily","height","textAlign","display","flexDirection","alignItems","justifyContent","desc","lineHeight","verticalAlign","h1","borderRight","margin","marginRight","padding","fontSize","fontWeight","h2"],"mappings":";;;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EAFT,4BAAA;AAGFC,IAAAA,MAAM,EAHJ,CAAA;AAIFC,IAAAA,WAAW,EAJT,MAAA;AAKFC,IAAAA,OAAO,EALL,kBAAA;AAMFC,IAAAA,QAAQ,EANN,MAAA;AAOFC,IAAAA,UAAU,EAPR,GAAA;AAQFP,IAAAA,aAAa,EA9BoC;AAsB/C,GAtB+C;AAiCnDQ,EAAAA,EAAE,EAAE;AACFF,IAAAA,QAAQ,EADN,MAAA;AAEFC,IAAAA,UAAU,EAFR,QAAA;AAGFR,IAAAA,UAAU,EAHR,SAAA;AAIFI,IAAAA,MAAM,EAJJ,CAAA;AAKFE,IAAAA,OAAO,EAtCX;AAiCM;AAjC+C,CAArD","sourcesContent":["import React from 'react'\nimport Head from '../next-server/lib/head'\nimport { NextPageContext } from '../next-server/lib/utils'\n\nconst statusCodes: { [code: number]: string } = {\n 400: 'Bad Request',\n 404: 'This page could not be found',\n 405: 'Method Not Allowed',\n 500: 'Internal Server Error',\n}\n\nexport type ErrorProps = {\n statusCode: number\n title?: string\n}\n\nfunction _getInitialProps({\n res,\n err,\n}: NextPageContext): Promise<ErrorProps> | ErrorProps {\n const statusCode =\n res && res.statusCode ? res.statusCode : err ? err.statusCode! : 404\n return { statusCode }\n}\n\n/**\n * `Error` component used for handling errors.\n */\nexport default class Error<P = {}> extends React.Component<P & ErrorProps> {\n static displayName = 'ErrorPage'\n\n static getInitialProps = _getInitialProps\n static origGetInitialProps = _getInitialProps\n\n render() {\n const { statusCode } = this.props\n const title =\n this.props.title ||\n statusCodes[statusCode] ||\n 'An unexpected error has occurred'\n\n return (\n <div style={styles.error}>\n <Head>\n <title>\n {statusCode}: {title}\n </title>\n </Head>\n <div>\n <style dangerouslySetInnerHTML={{ __html: 'body { margin: 0 }' }} />\n {statusCode ? <h1 style={styles.h1}>{statusCode}</h1> : null}\n <div style={styles.desc}>\n <h2 style={styles.h2}>{title}.</h2>\n </div>\n </div>\n </div>\n )\n }\n}\n\nconst styles: { [k: string]: React.CSSProperties } = {\n error: {\n color: '#000',\n background: '#fff',\n fontFamily:\n '-apple-system, BlinkMacSystemFont, Roboto, \"Segoe UI\", \"Fira Sans\", Avenir, \"Helvetica Neue\", \"Lucida Grande\", sans-serif',\n height: '100vh',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n },\n\n desc: {\n display: 'inline-block',\n textAlign: 'left',\n lineHeight: '49px',\n height: '49px',\n verticalAlign: 'middle',\n },\n\n h1: {\n display: 'inline-block',\n borderRight: '1px solid rgba(0, 0, 0,.3)',\n margin: 0,\n marginRight: '20px',\n padding: '10px 23px 10px 0',\n fontSize: '24px',\n fontWeight: 500,\n verticalAlign: 'top',\n },\n\n h2: {\n fontSize: '14px',\n fontWeight: 'normal',\n lineHeight: 'inherit',\n margin: 0,\n padding: 0,\n },\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/ListItem/index.tsx\",\n _this = this;\n\nvar __jsx = React.createElement;\nimport React from 'react';\nimport Link from 'next/link';\n\nvar ListItem = function ListItem(_ref) {\n var data = _ref.data;\n return __jsx(Link, {\n href: \"/users/[id]\",\n as: \"/users/\".concat(data.id),\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 3\n }\n }, __jsx(\"a\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }\n }, data.id, \": \", data.name));\n};\n\n_c = ListItem;\nexport default ListItem;\n\nvar _c;\n\n$RefreshReg$(_c, \"ListItem\");","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/ListItem/index.tsx"],"names":["React","Link","ListItem","data","id","name"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,IAAP,MAAiB,WAAjB;;AAQA,IAAMC,QAAQ,GAAG,SAAXA,QAAW;AAAA,MAAGC,IAAH,QAAGA,IAAH;AAAA,SACf,MAAC,IAAD;AAAM,IAAA,IAAI,EAAC,aAAX;AAAyB,IAAA,EAAE,mBAAYA,IAAI,CAACC,EAAjB,CAA3B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACGD,IAAI,CAACC,EADR,QACcD,IAAI,CAACE,IADnB,CADF,CADe;AAAA,CAAjB;;KAAMH,Q;AAQN,eAAeA,QAAf","sourcesContent":["import React from 'react';\nimport Link from 'next/link';\n\nimport { User } from '@interfaces';\n\ntype Props = {\n data: User;\n};\n\nconst ListItem = ({ data }: Props) => (\n <Link href=\"/users/[id]\" as={`/users/${data.id}`}>\n <a>\n {data.id}: {data.name}\n </a>\n </Link>\n);\n\nexport default ListItem;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/about.tsx\";\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport Link from 'next/link';\nimport Layout from '@components/Layout';\n\nconst AboutPage = () => __jsx(Layout, {\n title: \"About | Next.js + TypeScript Example\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 5,\n columnNumber: 3\n }\n}, __jsx(\"h1\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 5\n }\n}, \"About\"), __jsx(\"p\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 5\n }\n}, \"This is the about page\"), __jsx(\"p\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }\n}, __jsx(Link, {\n href: \"/\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }\n}, __jsx(\"a\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 9\n }\n}, \"Go home\"))));\n\nexport default AboutPage;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/about.tsx"],"names":["Link","Layout","AboutPage"],"mappings":";;;AAAA,OAAOA,IAAP,MAAiB,WAAjB;AACA,OAAOC,MAAP,MAAmB,oBAAnB;;AAEA,MAAMC,SAAS,GAAG,MAChB,MAAC,MAAD;AAAQ,EAAA,KAAK,EAAC,sCAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAFF,EAGE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACE,MAAC,IAAD;AAAM,EAAA,IAAI,EAAC,GAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aADF,CADF,CAHF,CADF;;AAYA,eAAeA,SAAf","sourcesContent":["import Link from 'next/link';\nimport Layout from '@components/Layout';\n\nconst AboutPage = () => (\n <Layout title=\"About | Next.js + TypeScript Example\">\n <h1>About</h1>\n <p>This is the about page</p>\n <p>\n <Link href=\"/\">\n <a>Go home</a>\n </Link>\n </p>\n </Layout>\n);\n\nexport default AboutPage;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"import { combineReducers } from '@reduxjs/toolkit';\nimport userReducer from './user';\nvar rootReducer = combineReducers({\n user: userReducer\n});\nexport default rootReducer;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/store/reducers.ts"],"names":["combineReducers","userReducer","rootReducer","user"],"mappings":"AAAA,SAASA,eAAT,QAAgC,kBAAhC;AACA,OAAOC,WAAP,MAAwB,QAAxB;AAEA,IAAMC,WAAW,GAAGF,eAAe,CAAC;AAClCG,EAAAA,IAAI,EAAEF;AAD4B,CAAD,CAAnC;AAIA,eAAeC,WAAf","sourcesContent":["import { combineReducers } from '@reduxjs/toolkit';\nimport userReducer from './user';\n\nconst rootReducer = combineReducers({\n user: userReducer\n});\n\nexport default rootReducer;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\n\nvar _webVitals = require(\"next/dist/compiled/web-vitals\");\n\nvar initialHref = location.href;\nvar isRegistered = false;\nvar userReportHandler;\n\nfunction onReport(metric) {\n if (userReportHandler) {\n userReportHandler(metric);\n } // This code is not shipped, executed, or present in the client-side\n // JavaScript bundle unless explicitly enabled in your application.\n //\n // When this feature is enabled, we'll make it very clear by printing a\n // message during the build (`next build`).\n\n\n if (false && // This field is empty unless you explicitly configure it:\n process.env.__NEXT_ANALYTICS_ID) {\n var body = {\n dsn: process.env.__NEXT_ANALYTICS_ID,\n id: metric.id,\n page: window.__NEXT_DATA__.page,\n href: initialHref,\n event_name: metric.name,\n value: metric.value.toString(),\n speed: 'connection' in navigator && navigator['connection'] && 'effectiveType' in navigator['connection'] ? navigator['connection']['effectiveType'] : ''\n };\n var blob = new Blob([new URLSearchParams(body).toString()], {\n // This content type is necessary for `sendBeacon`:\n type: 'application/x-www-form-urlencoded'\n });\n var vitalsUrl = 'https://vitals.vercel-insights.com/v1/vitals';\n navigator.sendBeacon && navigator.sendBeacon(vitalsUrl, blob) || fetch(vitalsUrl, {\n body: blob,\n method: 'POST',\n credentials: 'omit',\n keepalive: true\n });\n }\n}\n\nvar _default = function _default(onPerfEntry) {\n // Update function if it changes:\n userReportHandler = onPerfEntry; // Only register listeners once:\n\n if (isRegistered) {\n return;\n }\n\n isRegistered = true;\n (0, _webVitals.getCLS)(onReport);\n (0, _webVitals.getFID)(onReport);\n (0, _webVitals.getFCP)(onReport);\n (0, _webVitals.getLCP)(onReport);\n (0, _webVitals.getTTFB)(onReport);\n};\n\nexports[\"default\"] = _default;","map":{"version":3,"sources":["../../client/performance-relayer.ts"],"names":["initialHref","location","isRegistered","userReportHandler","process","body","dsn","id","metric","page","window","href","event_name","value","speed","navigator","blob","type","vitalsUrl","fetch","method","credentials","keepalive","onPerfEntry"],"mappings":";;;;;AAAA,IAAA,UAAA,GAAA,OAAA,CAAA,+BAAA,CAAA;;AAUA,IAAMA,WAAW,GAAGC,QAAQ,CAA5B,IAAA;AACA,IAAIC,YAAY,GAAhB,KAAA;AACA,IAAA,iBAAA;;AAEA,SAAA,QAAA,CAAA,MAAA,EAAwC;AACtC,MAAA,iBAAA,EAAuB;AACrBC,IAAAA,iBAAiB,CAAjBA,MAAiB,CAAjBA;AAGF,GALsC,CAKtC;AACA;AACA;AACA;AACA;;;AACA,MACEC,SACA;AACAA,EAAAA,OAAO,CAAPA,GAAAA,CAHF,mBAAA,EAIE;AACA,QAAMC,IAA4B,GAAG;AACnCC,MAAAA,GAAG,EAAEF,OAAO,CAAPA,GAAAA,CAD8B,mBAAA;AAEnCG,MAAAA,EAAE,EAAEC,MAAM,CAFyB,EAAA;AAGnCC,MAAAA,IAAI,EAAEC,MAAM,CAANA,aAAAA,CAH6B,IAAA;AAInCC,MAAAA,IAAI,EAJ+B,WAAA;AAKnCC,MAAAA,UAAU,EAAEJ,MAAM,CALiB,IAAA;AAMnCK,MAAAA,KAAK,EAAEL,MAAM,CAANA,KAAAA,CAN4B,QAM5BA,EAN4B;AAOnCM,MAAAA,KAAK,EACH,gBAAA,SAAA,IACAC,SAAS,CADT,YACS,CADT,IAEA,mBAAmBA,SAAS,CAF5B,YAE4B,CAF5B,GAGKA,SAAS,CAATA,YAAS,CAATA,CAHL,eAGKA,CAHL,GARJ;AAAqC,KAArC;AAeA,QAAMC,IAAI,GAAG,IAAA,IAAA,CAAS,CAAC,IAAA,eAAA,CAAA,IAAA,EAAV,QAAU,EAAD,CAAT,EAAiD;AAC5D;AACAC,MAAAA,IAAI,EAFN;AAA8D,KAAjD,CAAb;AAIA,QAAMC,SAAS,GAAf,8CAAA;AACEH,IAAAA,SAAS,CAATA,UAAAA,IAAwBA,SAAS,CAATA,UAAAA,CAAAA,SAAAA,EAAzB,IAAyBA,CAAxBA,IACAI,KAAK,CAAA,SAAA,EAAY;AACfd,MAAAA,IAAI,EADW,IAAA;AAEfe,MAAAA,MAAM,EAFS,MAAA;AAGfC,MAAAA,WAAW,EAHI,MAAA;AAIfC,MAAAA,SAAS,EALZ;AACkB,KAAZ,CADLP;AAQL;;;eAEeQ,S,QAAAA,CAAAA,WAAD,EAAuC;AACpD;AACApB,EAAAA,iBAAiB,GAAjBA,WAAAA,CAFoD,CAIpD;;AACA,MAAA,YAAA,EAAkB;AAChB;AAEFD;;AAAAA,EAAAA,YAAY,GAAZA,IAAAA;AAEA,GAAA,GAAA,UAAA,CAAA,MAAA,EAAA,QAAA;AACA,GAAA,GAAA,UAAA,CAAA,MAAA,EAAA,QAAA;AACA,GAAA,GAAA,UAAA,CAAA,MAAA,EAAA,QAAA;AACA,GAAA,GAAA,UAAA,CAAA,MAAA,EAAA,QAAA;AACA,GAAA,GAAA,UAAA,CAAA,OAAA,EAAA,QAAA","sourcesContent":["import {\n getCLS,\n getFCP,\n getFID,\n getLCP,\n getTTFB,\n Metric,\n ReportHandler,\n} from 'next/dist/compiled/web-vitals'\n\nconst initialHref = location.href\nlet isRegistered = false\nlet userReportHandler: ReportHandler | undefined\n\nfunction onReport(metric: Metric): void {\n if (userReportHandler) {\n userReportHandler(metric)\n }\n\n // This code is not shipped, executed, or present in the client-side\n // JavaScript bundle unless explicitly enabled in your application.\n //\n // When this feature is enabled, we'll make it very clear by printing a\n // message during the build (`next build`).\n if (\n process.env.NODE_ENV === 'production' &&\n // This field is empty unless you explicitly configure it:\n process.env.__NEXT_ANALYTICS_ID\n ) {\n const body: Record<string, string> = {\n dsn: process.env.__NEXT_ANALYTICS_ID,\n id: metric.id,\n page: window.__NEXT_DATA__.page,\n href: initialHref,\n event_name: metric.name,\n value: metric.value.toString(),\n speed:\n 'connection' in navigator &&\n navigator['connection'] &&\n 'effectiveType' in navigator['connection']\n ? (navigator['connection']['effectiveType'] as string)\n : '',\n }\n\n const blob = new Blob([new URLSearchParams(body).toString()], {\n // This content type is necessary for `sendBeacon`:\n type: 'application/x-www-form-urlencoded',\n })\n const vitalsUrl = 'https://vitals.vercel-insights.com/v1/vitals'\n ;(navigator.sendBeacon && navigator.sendBeacon(vitalsUrl, blob)) ||\n fetch(vitalsUrl, {\n body: blob,\n method: 'POST',\n credentials: 'omit',\n keepalive: true,\n })\n }\n}\n\nexport default (onPerfEntry?: ReportHandler): void => {\n // Update function if it changes:\n userReportHandler = onPerfEntry\n\n // Only register listeners once:\n if (isRegistered) {\n return\n }\n isRegistered = true\n\n getCLS(onReport)\n getFID(onReport)\n getFCP(onReport)\n getLCP(onReport)\n getTTFB(onReport)\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.closePing = closePing;\nexports.setupPing = setupPing;\nexports.currentPage = void 0;\n\nvar _eventsource = require(\"./error-overlay/eventsource\");\n/* global location */\n\n\nvar evtSource;\nvar currentPage;\nexports.currentPage = currentPage;\n\nfunction closePing() {\n if (evtSource) evtSource.close();\n evtSource = null;\n}\n\nfunction setupPing(assetPrefix, pathnameFn, retry) {\n var pathname = pathnameFn(); // Make sure to only create new EventSource request if page has changed\n\n if (pathname === currentPage && !retry) return;\n exports.currentPage = currentPage = pathname; // close current EventSource connection\n\n closePing();\n var url = \"\".concat(assetPrefix, \"/_next/webpack-hmr?page=\").concat(currentPage);\n evtSource = (0, _eventsource.getEventSourceWrapper)({\n path: url,\n timeout: 5000,\n ondemand: 1\n });\n evtSource.addMessageListener(function (event) {\n if (event.data.indexOf('{') === -1) return;\n\n try {\n var payload = JSON.parse(event.data);\n\n if (payload.invalid) {\n // Payload can be invalid even if the page does not exist.\n // So, we need to make sure it exists before reloading.\n fetch(location.href, {\n credentials: 'same-origin'\n }).then(function (pageRes) {\n if (pageRes.status === 200) {\n location.reload();\n }\n });\n }\n } catch (err) {\n console.error('on-demand-entries failed to parse response', err);\n }\n });\n}","map":{"version":3,"sources":["../../../client/dev/on-demand-entries-utils.js"],"names":["evtSource","pathname","pathnameFn","closePing","url","assetPrefix","path","timeout","ondemand","event","payload","JSON","fetch","location","credentials","pageRes","console"],"mappings":";;;;;;;AACA,IAAA,YAAA,GAAA,OAAA,CAAA,6BAAA,CAAA;AADA;;;AAGA,IAAA,SAAA;AACO,IAAA,WAAA;;;AAEA,SAAA,SAAA,GAAqB;AAC1B,MAAA,SAAA,EAAeA,SAAS,CAATA,KAAAA;AACfA,EAAAA,SAAS,GAATA,IAAAA;AAGK;;AAAA,SAAA,SAAA,CAAA,WAAA,EAAA,UAAA,EAAA,KAAA,EAAmD;AACxD,MAAMC,QAAQ,GAAGC,UAAjB,EAAA,CADwD,CAGxD;;AACA,MAAID,QAAQ,KAARA,WAAAA,IAA4B,CAAhC,KAAA,EAAwC;AACxC,EAAA,OAAA,CAAA,WAAA,GAAA,WAAW,GAAX,QAAA,CALwD,CAMxD;;AACAE,EAAAA,SAAS;AAET,MAAMC,GAAG,aAAMC,WAAN,qCAAT,WAAS,CAAT;AACAL,EAAAA,SAAS,GAAG,CAAA,GAAA,YAAA,CAAA,qBAAA,EAAsB;AAAEM,IAAAA,IAAI,EAAN,GAAA;AAAaC,IAAAA,OAAO,EAApB,IAAA;AAA4BC,IAAAA,QAAQ,EAAtER;AAAkC,GAAtB,CAAZA;AAEAA,EAAAA,SAAS,CAATA,kBAAAA,CAA8BS,UAAAA,KAAD,EAAW;AACtC,QAAIA,KAAK,CAALA,IAAAA,CAAAA,OAAAA,CAAAA,GAAAA,MAA4B,CAAhC,CAAA,EAAoC;;AACpC,QAAI;AACF,UAAMC,OAAO,GAAGC,IAAI,CAAJA,KAAAA,CAAWF,KAAK,CAAhC,IAAgBE,CAAhB;;AACA,UAAID,OAAO,CAAX,OAAA,EAAqB;AACnB;AACA;AACAE,QAAAA,KAAK,CAACC,QAAQ,CAAT,IAAA,EAAgB;AACnBC,UAAAA,WAAW,EADbF;AAAqB,SAAhB,CAALA,CAAAA,IAAAA,CAESG,UAAAA,OAAD,EAAa;AACnB,cAAIA,OAAO,CAAPA,MAAAA,KAAJ,GAAA,EAA4B;AAC1BF,YAAAA,QAAQ,CAARA,MAAAA;AAEH;AANDD,SAAAA;AAQH;AAAC,KAbF,CAaE,OAAA,GAAA,EAAY;AACZI,MAAAA,OAAO,CAAPA,KAAAA,CAAAA,4CAAAA,EAAAA,GAAAA;AAEH;AAlBDhB,GAAAA;AAmBD","sourcesContent":["/* global location */\nimport { getEventSourceWrapper } from './error-overlay/eventsource'\n\nlet evtSource\nexport let currentPage\n\nexport function closePing() {\n if (evtSource) evtSource.close()\n evtSource = null\n}\n\nexport function setupPing(assetPrefix, pathnameFn, retry) {\n const pathname = pathnameFn()\n\n // Make sure to only create new EventSource request if page has changed\n if (pathname === currentPage && !retry) return\n currentPage = pathname\n // close current EventSource connection\n closePing()\n\n const url = `${assetPrefix}/_next/webpack-hmr?page=${currentPage}`\n evtSource = getEventSourceWrapper({ path: url, timeout: 5000, ondemand: 1 })\n\n evtSource.addMessageListener((event) => {\n if (event.data.indexOf('{') === -1) return\n try {\n const payload = JSON.parse(event.data)\n if (payload.invalid) {\n // Payload can be invalid even if the page does not exist.\n // So, we need to make sure it exists before reloading.\n fetch(location.href, {\n credentials: 'same-origin',\n }).then((pageRes) => {\n if (pageRes.status === 200) {\n location.reload()\n }\n })\n }\n } catch (err) {\n console.error('on-demand-entries failed to parse response', err)\n }\n })\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"import httpClient from './http-client';\nexport function me() {\n return httpClient.get(\"users/me\");\n}","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/services/user.ts"],"names":["httpClient","me","get"],"mappings":"AACA,OAAOA,UAAP,MAAuB,eAAvB;AAGA,OAAO,SAASC,EAAT,GAA4C;AACjD,SAAOD,UAAU,CAACE,GAAX,YAAP;AACD","sourcesContent":["import { AxiosResponse } from 'axios';\nimport httpClient from './http-client';\nimport { User } from '@interfaces';\n\nexport function me(): Promise<AxiosResponse<User>> {\n return httpClient.get(`users/me`);\n}\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.searchParamsToUrlQuery = searchParamsToUrlQuery;\nexports.urlQueryToSearchParams = urlQueryToSearchParams;\nexports.assign = assign;\n\nfunction searchParamsToUrlQuery(searchParams) {\n const query = {};\n searchParams.forEach((value, key) => {\n if (typeof query[key] === 'undefined') {\n query[key] = value;\n } else if (Array.isArray(query[key])) {\n ;\n query[key].push(value);\n } else {\n query[key] = [query[key], value];\n }\n });\n return query;\n}\n\nfunction stringifyUrlQueryParam(param) {\n if (typeof param === 'string' || typeof param === 'number' && !isNaN(param) || typeof param === 'boolean') {\n return String(param);\n } else {\n return '';\n }\n}\n\nfunction urlQueryToSearchParams(urlQuery) {\n const result = new URLSearchParams();\n Object.entries(urlQuery).forEach(([key, value]) => {\n if (Array.isArray(value)) {\n value.forEach(item => result.append(key, stringifyUrlQueryParam(item)));\n } else {\n result.set(key, stringifyUrlQueryParam(value));\n }\n });\n return result;\n}\n\nfunction assign(target, ...searchParamsList) {\n searchParamsList.forEach(searchParams => {\n Array.from(searchParams.keys()).forEach(key => target.delete(key));\n searchParams.forEach((value, key) => target.append(key, value));\n });\n return target;\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/querystring.ts"],"names":["query","searchParams","Array","isNaN","String","result","Object","value","item","stringifyUrlQueryParam","searchParamsList","key","target"],"mappings":";;;;;;;AAEO,SAAA,sBAAA,CAAA,YAAA,EAEW;AAChB,QAAMA,KAAqB,GAA3B,EAAA;AACAC,EAAAA,YAAY,CAAZA,OAAAA,CAAqB,CAAA,KAAA,EAAA,GAAA,KAAgB;AACnC,QAAI,OAAOD,KAAK,CAAZ,GAAY,CAAZ,KAA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AAA,EAGY;AACjBI,EAAAA,gBAAgB,CAAhBA,OAAAA,CAA0BT,YAAD,IAAkB;AACzCC,IAAAA,KAAK,CAALA,IAAAA,CAAWD,YAAY,CAAvBC,IAAWD,EAAXC,EAAAA,OAAAA,CAAyCS,GAAD,IAASC,MAAM,CAANA,MAAAA,CAAjDV,GAAiDU,CAAjDV;AACAD,IAAAA,YAAY,CAAZA,OAAAA,CAAqB,CAAA,KAAA,EAAA,GAAA,KAAgBW,MAAM,CAANA,MAAAA,CAAAA,GAAAA,EAArCX,KAAqCW,CAArCX;AAFFS,GAAAA;AAIA,SAAA,MAAA;AACD","sourcesContent":["import { ParsedUrlQuery } from 'querystring'\n\nexport function searchParamsToUrlQuery(\n searchParams: URLSearchParams\n): ParsedUrlQuery {\n const query: ParsedUrlQuery = {}\n searchParams.forEach((value, key) => {\n if (typeof query[key] === 'undefined') {\n query[key] = value\n } else if (Array.isArray(query[key])) {\n ;(query[key] as string[]).push(value)\n } else {\n query[key] = [query[key] as string, value]\n }\n })\n return query\n}\n\nfunction stringifyUrlQueryParam(param: string): string {\n if (\n typeof param === 'string' ||\n (typeof param === 'number' && !isNaN(param)) ||\n typeof param === 'boolean'\n ) {\n return String(param)\n } else {\n return ''\n }\n}\n\nexport function urlQueryToSearchParams(\n urlQuery: ParsedUrlQuery\n): URLSearchParams {\n const result = new URLSearchParams()\n Object.entries(urlQuery).forEach(([key, value]) => {\n if (Array.isArray(value)) {\n value.forEach((item) => result.append(key, stringifyUrlQueryParam(item)))\n } else {\n result.set(key, stringifyUrlQueryParam(value))\n }\n })\n return result\n}\n\nexport function assign(\n target: URLSearchParams,\n ...searchParamsList: URLSearchParams[]\n): URLSearchParams {\n searchParamsList.forEach((searchParams) => {\n Array.from(searchParams.keys()).forEach((key) => target.delete(key))\n searchParams.forEach((value, key) => target.append(key, value))\n })\n return target\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports[\"default\"] = getAssetPathFromRoute; // Translates a logical route into its pages asset path (relative from a common prefix)\n// \"asset path\" being its javascript file, data file, prerendered html,...\n\nfunction getAssetPathFromRoute(route) {\n var ext = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var path = route === '/' ? '/index' : /^\\/index(\\/|$)/.test(route) ? \"/index\".concat(route) : \"\".concat(route);\n return path + ext;\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/get-asset-path-from-route.ts"],"names":["ext","path","route"],"mappings":";;;4CAAA;AACA;;AACe,SAAA,qBAAA,CAAA,KAAA,EAGL;AAAA,MADRA,GACQ,uEAHK,EAGL;AACR,MAAMC,IAAI,GACRC,KAAK,KAALA,GAAAA,GAAAA,QAAAA,GAEI,iBAAA,IAAA,CAAA,KAAA,oBAAA,KAAA,cAHN,KAGM,CAHN;AAMA,SAAOD,IAAI,GAAX,GAAA;AACD","sourcesContent":["// Translates a logical route into its pages asset path (relative from a common prefix)\n// \"asset path\" being its javascript file, data file, prerendered html,...\nexport default function getAssetPathFromRoute(\n route: string,\n ext: string = ''\n): string {\n const path =\n route === '/'\n ? '/index'\n : /^\\/index(\\/|$)/.test(route)\n ? `/index${route}`\n : `${route}`\n return path + ext\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"import { sampleUserData } from '@utils/sample-data';\n\nconst handler = (_req, res) => {\n try {\n if (!Array.isArray(sampleUserData)) {\n throw new Error('Cannot find user data');\n }\n\n res.status(200).json(sampleUserData);\n } catch (err) {\n res.status(500).json({\n statusCode: 500,\n message: err.message\n });\n }\n};\n\nexport default handler;","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/api/users/index.ts"],"names":["sampleUserData","handler","_req","res","Array","isArray","Error","status","json","err","statusCode","message"],"mappings":"AACA,SAASA,cAAT,QAA+B,oBAA/B;;AAEA,MAAMC,OAAO,GAAG,CAACC,IAAD,EAAuBC,GAAvB,KAAgD;AAC9D,MAAI;AACF,QAAI,CAACC,KAAK,CAACC,OAAN,CAAcL,cAAd,CAAL,EAAoC;AAClC,YAAM,IAAIM,KAAJ,CAAU,uBAAV,CAAN;AACD;;AAEDH,IAAAA,GAAG,CAACI,MAAJ,CAAW,GAAX,EAAgBC,IAAhB,CAAqBR,cAArB;AACD,GAND,CAME,OAAOS,GAAP,EAAY;AACZN,IAAAA,GAAG,CAACI,MAAJ,CAAW,GAAX,EAAgBC,IAAhB,CAAqB;AAAEE,MAAAA,UAAU,EAAE,GAAd;AAAmBC,MAAAA,OAAO,EAAEF,GAAG,CAACE;AAAhC,KAArB;AACD;AACF,CAVD;;AAYA,eAAeV,OAAf","sourcesContent":["import { NextApiRequest, NextApiResponse } from 'next';\nimport { sampleUserData } from '@utils/sample-data';\n\nconst handler = (_req: NextApiRequest, res: NextApiResponse) => {\n try {\n if (!Array.isArray(sampleUserData)) {\n throw new Error('Cannot find user data');\n }\n\n res.status(200).json(sampleUserData);\n } catch (err) {\n res.status(500).json({ statusCode: 500, message: err.message });\n }\n};\n\nexport default handler;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"'use strict';\n\nmodule.exports = function () {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$onlyFirst = _ref.onlyFirst,\n onlyFirst = _ref$onlyFirst === void 0 ? false : _ref$onlyFirst;\n\n var pattern = [\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:[a-zA-Z\\\\d]*(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\", '(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))'].join('|');\n return new RegExp(pattern, onlyFirst ? undefined : 'g');\n};","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/ansi-regex/index.js"],"names":["module","exports","onlyFirst","pattern","join","RegExp","undefined"],"mappings":"AAAA;;AAEAA,MAAM,CAACC,OAAP,GAAiB,YAA8B;AAAA,iFAAP,EAAO;AAAA,4BAA5BC,SAA4B;AAAA,MAA5BA,SAA4B,+BAAhB,KAAgB;;AAC9C,MAAMC,OAAO,GAAG,CACf,6FADe,EAEf,0DAFe,EAGdC,IAHc,CAGT,GAHS,CAAhB;AAKA,SAAO,IAAIC,MAAJ,CAAWF,OAAX,EAAoBD,SAAS,GAAGI,SAAH,GAAe,GAA5C,CAAP;AACA,CAPD","sourcesContent":["'use strict';\n\nmodule.exports = ({onlyFirst = false} = {}) => {\n\tconst pattern = [\n\t\t'[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:[a-zA-Z\\\\d]*(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)',\n\t\t'(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))'\n\t].join('|');\n\n\treturn new RegExp(pattern, onlyFirst ? undefined : 'g');\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports[\"default\"] = resolveRewrites;\n\nfunction resolveRewrites() {}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/resolve-rewrites-noop.ts"],"names":[],"mappings":";;;;;AAAe,SAAA,eAAA,GAA2B,CAAE","sourcesContent":["export default function resolveRewrites() {}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"import httpClient from './http-client';\nexport function me() {\n return httpClient.get(`users/me`);\n}","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/services/user.ts"],"names":["httpClient","me","get"],"mappings":"AACA,OAAOA,UAAP,MAAuB,eAAvB;AAGA,OAAO,SAASC,EAAT,GAA4C;AACjD,SAAOD,UAAU,CAACE,GAAX,CAAgB,UAAhB,CAAP;AACD","sourcesContent":["import { AxiosResponse } from 'axios';\nimport httpClient from './http-client';\nimport { User } from '@interfaces';\n\nexport function me(): Promise<AxiosResponse<User>> {\n return httpClient.get(`users/me`);\n}\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _slicedToArray = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/slicedToArray\");\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\n\nvar _hotDevClient = _interopRequireDefault(require(\"./error-overlay/hot-dev-client\"));\n\nvar _default = function _default(_ref) {\n var assetPrefix = _ref.assetPrefix;\n var options = {\n path: \"\".concat(assetPrefix, \"/_next/webpack-hmr\")\n };\n var devClient = (0, _hotDevClient[\"default\"])(options);\n devClient.subscribeToHmrEvent(function (obj) {\n if (obj.action === 'reloadPage') {\n return window.location.reload();\n }\n\n if (obj.action === 'removedPage') {\n var _obj$data = _slicedToArray(obj.data, 1),\n page = _obj$data[0];\n\n if (page === window.next.router.pathname) {\n return window.location.reload();\n }\n\n return;\n }\n\n if (obj.action === 'addedPage') {\n var _obj$data2 = _slicedToArray(obj.data, 1),\n _page = _obj$data2[0];\n\n if (_page === window.next.router.pathname && typeof window.next.router.components[_page] === 'undefined') {\n return window.location.reload();\n }\n\n return;\n }\n\n throw new Error('Unexpected action ' + obj.action);\n });\n return devClient;\n};\n\nexports[\"default\"] = _default;","map":{"version":3,"sources":["../../../client/dev/webpack-hot-middleware-client.js"],"names":["options","path","devClient","obj","window","page"],"mappings":";;;;;;;;;AAAA,IAAA,aAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,gCAAA,CAAA,CAAA;;eAEe,S,QAAA,OAAqB;AAAA,MAArB,WAAqB,QAArB,WAAqB;AAClC,MAAMA,OAAO,GAAG;AACdC,IAAAA,IAAI,YADN,WACM;AADU,GAAhB;AAIA,MAAMC,SAAS,GAAG,CAAA,GAAA,aAAA,WAAA,EAAlB,OAAkB,CAAlB;AAEAA,EAAAA,SAAS,CAATA,mBAAAA,CAA+BC,UAAAA,GAAD,EAAS;AACrC,QAAIA,GAAG,CAAHA,MAAAA,KAAJ,YAAA,EAAiC;AAC/B,aAAOC,MAAM,CAANA,QAAAA,CAAP,MAAOA,EAAP;AAEF;;AAAA,QAAID,GAAG,CAAHA,MAAAA,KAAJ,aAAA,EAAkC;AAAA,qCACjBA,GAAG,CAAlB,IADgC;AAAA,UAC1B,IAD0B;;AAEhC,UAAIE,IAAI,KAAKD,MAAM,CAANA,IAAAA,CAAAA,MAAAA,CAAb,QAAA,EAA0C;AACxC,eAAOA,MAAM,CAANA,QAAAA,CAAP,MAAOA,EAAP;AAEF;;AAAA;AAEF;;AAAA,QAAID,GAAG,CAAHA,MAAAA,KAAJ,WAAA,EAAgC;AAAA,sCACfA,GAAG,CAAlB,IAD8B;AAAA,UACxB,KADwB;;AAE9B,UACEE,KAAI,KAAKD,MAAM,CAANA,IAAAA,CAAAA,MAAAA,CAATC,QAAAA,IACA,OAAOD,MAAM,CAANA,IAAAA,CAAAA,MAAAA,CAAAA,UAAAA,CAAP,KAAOA,CAAP,KAFF,WAAA,EAGE;AACA,eAAOA,MAAM,CAANA,QAAAA,CAAP,MAAOA,EAAP;AAEF;;AAAA;AAEF;;AAAA,UAAM,IAAA,KAAA,CAAU,uBAAuBD,GAAG,CAA1C,MAAM,CAAN;AArBFD,GAAAA;AAwBA,SAAA,SAAA","sourcesContent":["import connect from './error-overlay/hot-dev-client'\n\nexport default ({ assetPrefix }) => {\n const options = {\n path: `${assetPrefix}/_next/webpack-hmr`,\n }\n\n const devClient = connect(options)\n\n devClient.subscribeToHmrEvent((obj) => {\n if (obj.action === 'reloadPage') {\n return window.location.reload()\n }\n if (obj.action === 'removedPage') {\n const [page] = obj.data\n if (page === window.next.router.pathname) {\n return window.location.reload()\n }\n return\n }\n if (obj.action === 'addedPage') {\n const [page] = obj.data\n if (\n page === window.next.router.pathname &&\n typeof window.next.router.components[page] === 'undefined'\n ) {\n return window.location.reload()\n }\n return\n }\n throw new Error('Unexpected action ' + obj.action)\n })\n\n return devClient\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"/** Dummy user data. */\nexport const sampleUserData = [{\n id: 101,\n name: 'Alice'\n}, {\n id: 102,\n name: 'Bob'\n}, {\n id: 103,\n name: 'Caroline'\n}, {\n id: 104,\n name: 'Dave'\n}];","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/shared/utils/sample-data.ts"],"names":["sampleUserData","id","name"],"mappings":"AAEA;AACA,OAAO,MAAMA,cAAsB,GAAG,CACpC;AAAEC,EAAAA,EAAE,EAAE,GAAN;AAAWC,EAAAA,IAAI,EAAE;AAAjB,CADoC,EAEpC;AAAED,EAAAA,EAAE,EAAE,GAAN;AAAWC,EAAAA,IAAI,EAAE;AAAjB,CAFoC,EAGpC;AAAED,EAAAA,EAAE,EAAE,GAAN;AAAWC,EAAAA,IAAI,EAAE;AAAjB,CAHoC,EAIpC;AAAED,EAAAA,EAAE,EAAE,GAAN;AAAWC,EAAAA,IAAI,EAAE;AAAjB,CAJoC,CAA/B","sourcesContent":["import { User } from '@interfaces';\n\n/** Dummy user data. */\nexport const sampleUserData: User[] = [\n { id: 101, name: 'Alice' },\n { id: 102, name: 'Bob' },\n { id: 103, name: 'Caroline' },\n { id: 104, name: 'Dave' }\n];\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _slicedToArray = require(\"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/node_modules/next/node_modules/@babel/runtime/helpers/slicedToArray\");\n\nexports.__esModule = true;\nexports.useIntersection = useIntersection;\n\nvar _react = require(\"react\");\n\nvar _requestIdleCallback = require(\"./request-idle-callback\");\n\nvar hasIntersectionObserver = typeof IntersectionObserver !== 'undefined';\n\nfunction useIntersection(_ref) {\n var rootMargin = _ref.rootMargin,\n disabled = _ref.disabled;\n var isDisabled = disabled || !hasIntersectionObserver;\n var unobserve = (0, _react.useRef)();\n\n var _ref2 = (0, _react.useState)(false),\n _ref3 = _slicedToArray(_ref2, 2),\n visible = _ref3[0],\n setVisible = _ref3[1];\n\n var setRef = (0, _react.useCallback)(function (el) {\n if (unobserve.current) {\n unobserve.current();\n unobserve.current = undefined;\n }\n\n if (isDisabled || visible) return;\n\n if (el && el.tagName) {\n unobserve.current = observe(el, function (isVisible) {\n return isVisible && setVisible(isVisible);\n }, {\n rootMargin: rootMargin\n });\n }\n }, [isDisabled, rootMargin, visible]);\n (0, _react.useEffect)(function () {\n if (!hasIntersectionObserver) {\n if (!visible) {\n var idleCallback = (0, _requestIdleCallback.requestIdleCallback)(function () {\n return setVisible(true);\n });\n return function () {\n return (0, _requestIdleCallback.cancelIdleCallback)(idleCallback);\n };\n }\n }\n }, [visible]);\n return [setRef, visible];\n}\n\nfunction observe(element, callback, options) {\n var _createObserver = createObserver(options),\n id = _createObserver.id,\n observer = _createObserver.observer,\n elements = _createObserver.elements;\n\n elements.set(element, callback);\n observer.observe(element);\n return function unobserve() {\n elements[\"delete\"](element);\n observer.unobserve(element); // Destroy observer when there's nothing left to watch:\n\n if (elements.size === 0) {\n observer.disconnect();\n observers[\"delete\"](id);\n }\n };\n}\n\nvar observers = new Map();\n\nfunction createObserver(options) {\n var id = options.rootMargin || '';\n var instance = observers.get(id);\n\n if (instance) {\n return instance;\n }\n\n var elements = new Map();\n var observer = new IntersectionObserver(function (entries) {\n entries.forEach(function (entry) {\n var callback = elements.get(entry.target);\n var isVisible = entry.isIntersecting || entry.intersectionRatio > 0;\n\n if (callback && isVisible) {\n callback(isVisible);\n }\n });\n }, options);\n observers.set(id, instance = {\n id: id,\n observer: observer,\n elements: elements\n });\n return instance;\n}","map":{"version":3,"sources":["../../client/use-intersection.tsx"],"names":["hasIntersectionObserver","isDisabled","disabled","unobserve","setRef","el","observe","isVisible","setVisible","rootMargin","idleCallback","createObserver","elements","observer","observers","id","options","instance","entries","entry","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AACrDA,IAAAA,OAAO,CAAPA,OAAAA,CAAiBC,UAAAA,KAAD,EAAW;AACzB,UAAMC,QAAQ,GAAGR,QAAQ,CAARA,GAAAA,CAAaO,KAAK,CAAnC,MAAiBP,CAAjB;AACA,UAAML,SAAS,GAAGY,KAAK,CAALA,cAAAA,IAAwBA,KAAK,CAALA,iBAAAA,GAA1C,CAAA;;AACA,UAAIC,QAAQ,IAAZ,SAAA,EAA2B;AACzBA,QAAAA,QAAQ,CAARA,SAAQ,CAARA;AAEH;AANDF,KAAAA;AADe,GAAA,EAAjB,OAAiB,CAAjB;AAUAJ,EAAAA,SAAS,CAATA,GAAAA,CAAAA,EAAAA,EAEGG,QAAQ,GAAG;AACVF,IAAAA,EADU,EACVA,EADU;AAEVF,IAAAA,QAFU,EAEVA,QAFU;AAGVD,IAAAA,QALJE,EAKIF;AAHU,GAFdE;AAQA,SAAA,QAAA;AACD","sourcesContent":["import { useCallback, useEffect, useRef, useState } from 'react'\nimport {\n requestIdleCallback,\n cancelIdleCallback,\n} from './request-idle-callback'\n\ntype UseIntersectionObserverInit = Pick<IntersectionObserverInit, 'rootMargin'>\ntype UseIntersection = { disabled?: boolean } & UseIntersectionObserverInit\ntype ObserveCallback = (isVisible: boolean) => void\ntype Observer = {\n id: string\n observer: IntersectionObserver\n elements: Map<Element, ObserveCallback>\n}\n\nconst hasIntersectionObserver = typeof IntersectionObserver !== 'undefined'\n\nexport function useIntersection<T extends Element>({\n rootMargin,\n disabled,\n}: UseIntersection): [(element: T | null) => void, boolean] {\n const isDisabled: boolean = disabled || !hasIntersectionObserver\n\n const unobserve = useRef<Function>()\n const [visible, setVisible] = useState(false)\n\n const setRef = useCallback(\n (el: T | null) => {\n if (unobserve.current) {\n unobserve.current()\n unobserve.current = undefined\n }\n\n if (isDisabled || visible) return\n\n if (el && el.tagName) {\n unobserve.current = observe(\n el,\n (isVisible) => isVisible && setVisible(isVisible),\n { rootMargin }\n )\n }\n },\n [isDisabled, rootMargin, visible]\n )\n\n useEffect(() => {\n if (!hasIntersectionObserver) {\n if (!visible) {\n const idleCallback = requestIdleCallback(() => setVisible(true))\n return () => cancelIdleCallback(idleCallback)\n }\n }\n }, [visible])\n\n return [setRef, visible]\n}\n\nfunction observe(\n element: Element,\n callback: ObserveCallback,\n options: UseIntersectionObserverInit\n): () => void {\n const { id, observer, elements } = createObserver(options)\n elements.set(element, callback)\n\n observer.observe(element)\n return function unobserve(): void {\n elements.delete(element)\n observer.unobserve(element)\n\n // Destroy observer when there's nothing left to watch:\n if (elements.size === 0) {\n observer.disconnect()\n observers.delete(id)\n }\n }\n}\n\nconst observers = new Map<string, Observer>()\nfunction createObserver(options: UseIntersectionObserverInit): Observer {\n const id = options.rootMargin || ''\n let instance = observers.get(id)\n if (instance) {\n return instance\n }\n\n const elements = new Map<Element, ObserveCallback>()\n const observer = new IntersectionObserver((entries) => {\n entries.forEach((entry) => {\n const callback = elements.get(entry.target)\n const isVisible = entry.isIntersecting || entry.intersectionRatio > 0\n if (callback && isVisible) {\n callback(isVisible)\n }\n })\n }, options)\n\n observers.set(\n id,\n (instance = {\n id,\n observer,\n elements,\n })\n )\n return instance\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.removePathTrailingSlash = removePathTrailingSlash;\nexports.normalizePathTrailingSlash = void 0;\n/**\n* Removes the trailing slash of a path if there is one. Preserves the root path `/`.\n*/\n\nfunction removePathTrailingSlash(path) {\n return path.endsWith('/') && path !== '/' ? path.slice(0, -1) : path;\n}\n/**\n* Normalizes the trailing slash of a path according to the `trailingSlash` option\n* in `next.config.js`.\n*/\n\n\nvar normalizePathTrailingSlash = process.env.__NEXT_TRAILING_SLASH ? function (path) {\n if (/\\.[^/]+\\/?$/.test(path)) {\n return removePathTrailingSlash(path);\n } else if (path.endsWith('/')) {\n return path;\n } else {\n return path + '/';\n }\n} : removePathTrailingSlash;\nexports.normalizePathTrailingSlash = normalizePathTrailingSlash;","map":{"version":3,"sources":["../../client/normalize-trailing-slash.ts"],"names":["path","normalizePathTrailingSlash","process","removePathTrailingSlash"],"mappings":";;;;;AAAA;AACA;AACA;;AACO,SAAA,uBAAA,CAAA,IAAA,EAAuD;AAC5D,SAAOA,IAAI,CAAJA,QAAAA,CAAAA,GAAAA,KAAsBA,IAAI,KAA1BA,GAAAA,GAAqCA,IAAI,CAAJA,KAAAA,CAAAA,CAAAA,EAAc,CAAnDA,CAAqCA,CAArCA,GAAP,IAAA;AAGF;AAAA;AACA;AACA;AACA;;;AACO,IAAMC,0BAA0B,GAAGC,OAAO,CAAPA,GAAAA,CAAAA,qBAAAA,GACrCF,UAAAA,IAAD,EAA0B;AACxB,MAAI,cAAA,IAAA,CAAJ,IAAI,CAAJ,EAA8B;AAC5B,WAAOG,uBAAuB,CAA9B,IAA8B,CAA9B;AADF,GAAA,MAEO,IAAIH,IAAI,CAAJA,QAAAA,CAAJ,GAAIA,CAAJ,EAAwB;AAC7B,WAAA,IAAA;AADK,GAAA,MAEA;AACL,WAAOA,IAAI,GAAX,GAAA;AAEH;AATqCE,CAAAA,GAAnC,uBAAA","sourcesContent":["/**\n * Removes the trailing slash of a path if there is one. Preserves the root path `/`.\n */\nexport function removePathTrailingSlash(path: string): string {\n return path.endsWith('/') && path !== '/' ? path.slice(0, -1) : path\n}\n\n/**\n * Normalizes the trailing slash of a path according to the `trailingSlash` option\n * in `next.config.js`.\n */\nexport const normalizePathTrailingSlash = process.env.__NEXT_TRAILING_SLASH\n ? (path: string): string => {\n if (/\\.[^/]+\\/?$/.test(path)) {\n return removePathTrailingSlash(path)\n } else if (path.endsWith('/')) {\n return path\n } else {\n return path + '/'\n }\n }\n : removePathTrailingSlash\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.setConfig = setConfig;\nexports[\"default\"] = void 0;\nvar runtimeConfig;\n\nvar _default = function _default() {\n return runtimeConfig;\n};\n\nexports[\"default\"] = _default;\n\nfunction setConfig(configValue) {\n runtimeConfig = configValue;\n}","map":{"version":3,"sources":["../../../next-server/lib/runtime-config.ts"],"names":["runtimeConfig"],"mappings":";;;;;AAAA,IAAA,aAAA;;eAEe,S,QAAA,GAAM;AACnB,SAAA,aAAA;;;;;AAGK,SAAA,SAAA,CAAA,WAAA,EAA2C;AAChDA,EAAAA,aAAa,GAAbA,WAAAA;AACD","sourcesContent":["let runtimeConfig: any\n\nexport default () => {\n return runtimeConfig\n}\n\nexport function setConfig(configValue: any): void {\n runtimeConfig = configValue\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/Layout/index.tsx\",\n _this = this;\n\nvar __jsx = React.createElement;\nimport React from 'react';\nimport Link from 'next/link';\nimport Head from 'next/head';\n\nvar Layout = function Layout(_ref) {\n var children = _ref.children,\n _ref$title = _ref.title,\n title = _ref$title === void 0 ? 'This is the default title' : _ref$title;\n return __jsx(\"div\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 3\n }\n }, __jsx(Head, {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }\n }, __jsx(\"title\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 7\n }\n }, title), __jsx(\"meta\", {\n charSet: \"utf-8\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 7\n }\n }), __jsx(\"meta\", {\n name: \"viewport\",\n content: \"initial-scale=1.0, width=device-width\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 7\n }\n })), __jsx(\"header\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 5\n }\n }, __jsx(\"nav\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 7\n }\n }, __jsx(Link, {\n href: \"/\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 9\n }\n }, __jsx(\"a\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 11\n }\n }, \"Home\")), ' ', \"|\", ' ', __jsx(Link, {\n href: \"/about\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 9\n }\n }, __jsx(\"a\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 11\n }\n }, \"About\")), ' ', \"|\", ' ', __jsx(Link, {\n href: \"/users\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 9\n }\n }, __jsx(\"a\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 11\n }\n }, \"Users List\")), ' ', \"| \", __jsx(\"a\", {\n href: \"/api/users\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 11\n }\n }, \"Users API\"))), children, __jsx(\"footer\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 5\n }\n }, __jsx(\"hr\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 7\n }\n }), __jsx(\"span\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 7\n }\n }, \"I'm here to stay (Footer)\")));\n};\n\n_c = Layout;\nexport default Layout;\n\nvar _c;\n\n$RefreshReg$(_c, \"Layout\");","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/components/Layout/index.tsx"],"names":["React","Link","Head","Layout","children","title"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAiC,OAAjC;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,OAAOC,I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H,EAuBE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAFF,CAvBF,CADa;AAAA,CAAf;;KAAMD,M;AA+BN,eAAeA,MAAf","sourcesContent":["import React, { ReactNode } from 'react';\nimport Link from 'next/link';\nimport Head from 'next/head';\n\ntype Props = {\n children?: ReactNode;\n title?: string;\n};\n\nconst Layout = ({ children, title = 'This is the default title' }: Props) => (\n <div>\n <Head>\n <title>{title}</title>\n <meta charSet=\"utf-8\" />\n <meta name=\"viewport\" content=\"initial-scale=1.0, width=device-width\" />\n </Head>\n <header>\n <nav>\n <Link href=\"/\">\n <a>Home</a>\n </Link>{' '}\n |{' '}\n <Link href=\"/about\">\n <a>About</a>\n </Link>{' '}\n |{' '}\n <Link href=\"/users\">\n <a>Users List</a>\n </Link>{' '}\n | <a href=\"/api/users\">Users API</a>\n </nav>\n </header>\n {children}\n <footer>\n <hr />\n <span>I'm here to stay (Footer)</span>\n </footer>\n </div>\n);\n\nexport default Layout;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.isDynamicRoute = isDynamicRoute; // Identify /[param]/ in route string\n\nconst TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/;\n\nfunction isDynamicRoute(route) {\n return TEST_ROUTE.test(route);\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/is-dynamic.ts"],"names":["TEST_ROUTE"],"mappings":";;;yCAAA;;AACA,MAAMA,UAAU,GAAhB,sBAAA;;AAEO,SAAA,cAAA,CAAA,KAAA,EAAgD;AACrD,SAAOA,UAAU,CAAVA,IAAAA,CAAP,KAAOA,CAAP;AACD","sourcesContent":["// Identify /[param]/ in route string\nconst TEST_ROUTE = /\\/\\[[^/]+?\\](?=\\/|$)/\n\nexport function isDynamicRoute(route: string): boolean {\n return TEST_ROUTE.test(route)\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.parseRelativeUrl = parseRelativeUrl;\n\nvar _utils = require(\"../../utils\");\n\nvar _querystring = require(\"./querystring\");\n/**\n* Parses path-relative urls (e.g. `/hello/world?foo=bar`). If url isn't path-relative\n* (e.g. `./hello`) then at least base must be.\n* Absolute urls are rejected with one exception, in the browser, absolute urls that are on\n* the current origin will be parsed as relative\n*/\n\n\nfunction parseRelativeUrl(url, base) {\n const globalBase = new URL(true ? 'http://n' : (0, _utils.getLocationOrigin)());\n const resolvedBase = base ? new URL(base, globalBase) : globalBase;\n const {\n pathname,\n searchParams,\n search,\n hash,\n href,\n origin\n } = new URL(url, resolvedBase);\n\n if (origin !== globalBase.origin) {\n throw new Error(`invariant: invalid relative URL, router received ${url}`);\n }\n\n return {\n pathname,\n query: (0, _querystring.searchParamsToUrlQuery)(searchParams),\n search,\n hash,\n href: href.slice(globalBase.origin.length)\n };\n}","map":{"version":3,"sources":["../../../../../next-server/lib/router/utils/parse-relative-url.ts"],"names":["globalBase","resolvedBase","base","origin","url","query","href"],"mappings":";;;;;AAAA,IAAA,MAAA,GAAA,OAAA,CAAA,aAAA,CAAA;;AACA,IAAA,YAAA,GAAA,OAAA,CAAA,eAAA,CAAA;AAEA;AACA;AACA;AACA;AACA;AACA;;;AACO,SAAA,gBAAA,CAAA,GAAA,EAAA,IAAA,EAAsD;AAC3D,QAAMA,UAAU,GAAG,IAAA,GAAA,CACjB,OAAA,UAAA,GAA6C,CAAA,GAAA,MAAA,CAD/C,iBAC+C,GAD5B,CAAnB;AAGA,QAAMC,YAAY,GAAGC,IAAI,GAAG,IAAA,GAAA,CAAA,IAAA,EAAH,UAAG,CAAH,GAAzB,UAAA;AACA,QAAM;AAAA,IAAA,QAAA;AAAA,IAAA,YAAA;AAAA,IAAA,MAAA;AAAA,IAAA,IAAA;AAAA,IAAA,IAAA;AAAA,IAAA;AAAA,MAAyD,IAAA,GAAA,CAAA,GAAA,EAA/D,YAA+D,CAA/D;;AAIA,MAAIC,MAAM,KAAKH,UAAU,CAAzB,MAAA,EAAkC;AAChC,UAAM,IAAA,KAAA,CAAW,oDAAmDI,GAApE,EAAM,CAAN;AAEF;;AAAA,SAAO;AAAA,IAAA,QAAA;AAELC,IAAAA,KAAK,EAAE,CAAA,GAAA,YAAA,CAAA,sBAAA,EAFF,YAEE,CAFF;AAAA,IAAA,MAAA;AAAA,IAAA,IAAA;AAKLC,IAAAA,IAAI,EAAEA,IAAI,CAAJA,KAAAA,CAAWN,UAAU,CAAVA,MAAAA,CALnB,MAKQM;AALD,GAAP;AAOD","sourcesContent":["import { getLocationOrigin } from '../../utils'\nimport { searchParamsToUrlQuery } from './querystring'\n\n/**\n * Parses path-relative urls (e.g. `/hello/world?foo=bar`). If url isn't path-relative\n * (e.g. `./hello`) then at least base must be.\n * Absolute urls are rejected with one exception, in the browser, absolute urls that are on\n * the current origin will be parsed as relative\n */\nexport function parseRelativeUrl(url: string, base?: string) {\n const globalBase = new URL(\n typeof window === 'undefined' ? 'http://n' : getLocationOrigin()\n )\n const resolvedBase = base ? new URL(base, globalBase) : globalBase\n const { pathname, searchParams, search, hash, href, origin } = new URL(\n url,\n resolvedBase\n )\n if (origin !== globalBase.origin) {\n throw new Error(`invariant: invalid relative URL, router received ${url}`)\n }\n return {\n pathname,\n query: searchParamsToUrlQuery(searchParams),\n search,\n hash,\n href: href.slice(globalBase.origin.length),\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/users/index.tsx\",\n _this = this;\n\nimport React from \"react\";\nvar __jsx = React.createElement;\nimport Link from 'next/link';\nimport Layout from '@components/Layout';\nimport List from '@components/List';\n\nvar WithStaticProps = function WithStaticProps(_ref) {\n var items = _ref.items;\n return __jsx(Layout, {\n title: \"Users List | Next.js + TypeScript Example\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 3\n }\n }, __jsx(\"h1\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 5\n }\n }, \"Users List\"), __jsx(\"p\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 5\n }\n }, \"Example fetching data from inside \", __jsx(\"code\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 41\n }\n }, \"getStaticProps()\"), \".\"), __jsx(\"p\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 5\n }\n }, \"You are currently on: /users\"), __jsx(List, {\n items: items,\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 5\n }\n }), __jsx(\"p\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 5\n }\n }, __jsx(Link, {\n href: \"/\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 7\n }\n }, __jsx(\"a\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 9\n }\n }, \"Go home\"))));\n};\n\n_c = WithStaticProps;\nexport var __N_SSG = true;\nexport default WithStaticProps;\n\nvar _c;\n\n$RefreshReg$(_c, \"WithStaticProps\");","map":{"version":3,"sources":["/Users/macbookpro/Documents/Company/NextJS/nextjs_base/pages/users/index.tsx"],"names":["Link","Layout","List","WithStaticProps","items"],"mappings":";;;;;AACA,OAAOA,IAAP,MAAiB,WAAjB;AAIA,OAAOC,MAAP,MAAmB,oBAAnB;AACA,OAAOC,IAAP,MAAiB,kBAAjB;;AAMA,IAAMC,eAAe,GAAG,SAAlBA,eAAkB;AAAA,MAAGC,KAAH,QAAGA,KAAH;AAAA,SACtB,MAAC,MAAD;AAAQ,IAAA,KAAK,EAAC,2CAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBADF,EAEE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2CACoC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBADpC,MAFF,EAKE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oCALF,EAME,MAAC,IAAD;AAAM,IAAA,KAAK,EAAEA,KAAb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IANF,EAOE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE,MAAC,IAAD;AAAM,IAAA,IAAI,EAAC,GAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eADF,CADF,CAPF,CADsB;AAAA,CAAxB;;KAAMD,e;;AAwBN,eAAeA,eAAf","sourcesContent":["import { GetStaticProps } from 'next';\nimport Link from 'next/link';\n\nimport { User } from '@interfaces';\nimport { sampleUserData } from '@utils/sample-data';\nimport Layout from '@components/Layout';\nimport List from '@components/List';\n\ntype Props = {\n items: User[];\n};\n\nconst WithStaticProps = ({ items }: Props) => (\n <Layout title=\"Users List | Next.js + TypeScript Example\">\n <h1>Users List</h1>\n <p>\n Example fetching data from inside <code>getStaticProps()</code>.\n </p>\n <p>You are currently on: /users</p>\n <List items={items} />\n <p>\n <Link href=\"/\">\n <a>Go home</a>\n </Link>\n </p>\n </Layout>\n);\n\nexport const getStaticProps: GetStaticProps = async () => {\n // Example for including static props in a Next.js function component page.\n // Don't forget to include the respective types for any props passed into\n // the component.\n const items: User[] = sampleUserData;\n return { props: { items } };\n};\n\nexport default WithStaticProps;\n"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar next = _interopRequireWildcard(require(\"./\"));\n\nvar _eventSourcePolyfill = _interopRequireDefault(require(\"./dev/event-source-polyfill\"));\n\nvar _onDemandEntriesClient = _interopRequireDefault(require(\"./dev/on-demand-entries-client\"));\n\nvar _webpackHotMiddlewareClient = _interopRequireDefault(require(\"./dev/webpack-hot-middleware-client\"));\n\nvar _devBuildWatcher = _interopRequireDefault(require(\"./dev/dev-build-watcher\"));\n\nvar _fouc = require(\"./dev/fouc\");\n\nvar _eventsource = require(\"./dev/error-overlay/eventsource\");\n\nvar querystring = _interopRequireWildcard(require(\"../next-server/lib/router/utils/querystring\"));\n/* globals import('./dev/noop'); */\n// Temporary workaround for the issue described here:\n// https://github.com/vercel/next.js/issues/3775#issuecomment-407438123\n// The runtimeChunk doesn't have dynamic import handling code when there hasn't been a dynamic import\n// The runtimeChunk can't hot reload itself currently to correct it when adding pages using on-demand-entries\n// eslint-disable-next-line no-unused-expressions\n\n\nimport('./dev/noop');\n; // Support EventSource on Internet Explorer 11\n\nif (!window.EventSource) {\n window.EventSource = _eventSourcePolyfill[\"default\"];\n}\n\nvar _window = window,\n assetPrefix = _window.__NEXT_DATA__.assetPrefix;\nvar prefix = assetPrefix || '';\nvar webpackHMR = (0, _webpackHotMiddlewareClient[\"default\"])({\n assetPrefix: prefix\n});\nwindow.next = next;\n(0, next[\"default\"])({\n webpackHMR: webpackHMR\n}).then(function (_ref) {\n var renderCtx = _ref.renderCtx,\n render = _ref.render;\n (0, _onDemandEntriesClient[\"default\"])({\n assetPrefix: prefix\n });\n\n var buildIndicatorHandler = function buildIndicatorHandler() {};\n\n function devPagesManifestListener(event) {\n if (event.data.indexOf('devPagesManifest') !== -1) {\n fetch(\"\".concat(prefix, \"/_next/static/development/_devPagesManifest.json\")).then(function (res) {\n return res.json();\n }).then(function (manifest) {\n window.__DEV_PAGES_MANIFEST = manifest;\n })[\"catch\"](function (err) {\n console.log(\"Failed to fetch devPagesManifest\", err);\n });\n } else if (event.data.indexOf('serverOnlyChanges') !== -1) {\n var _JSON$parse = JSON.parse(event.data),\n pages = _JSON$parse.pages;\n\n var router = window.next.router;\n\n if (pages.includes(router.pathname)) {\n console.log('Refreshing page data due to server-side change');\n buildIndicatorHandler('building');\n\n var clearIndicator = function clearIndicator() {\n return buildIndicatorHandler('built');\n };\n\n router.replace(router.pathname + '?' + String(querystring.assign(querystring.urlQueryToSearchParams(router.query), new URLSearchParams(location.search))), router.asPath)[\"finally\"](clearIndicator);\n }\n }\n }\n\n devPagesManifestListener.unfiltered = true;\n (0, _eventsource.getEventSourceWrapper)({}).addMessageListener(devPagesManifestListener);\n\n if (process.env.__NEXT_BUILD_INDICATOR) {\n (0, _devBuildWatcher[\"default\"])(function (handler) {\n buildIndicatorHandler = handler;\n });\n } // delay rendering until after styles have been applied in development\n\n\n (0, _fouc.displayContent)(function () {\n render(renderCtx);\n });\n})[\"catch\"](function (err) {\n console.error('Error was not caught', err);\n});","map":{"version":3,"sources":["../../client/next-dev.js"],"names":["__REPLACE_NOOP_IMPORT__","window","EventSourcePolyfill","__NEXT_DATA__","prefix","assetPrefix","webpackHMR","buildIndicatorHandler","event","fetch","res","manifest","err","console","JSON","router","pages","clearIndicator","String","querystring","location","devPagesManifestListener","process","handler","render"],"mappings":";;;;;;AACA,IAAA,IAAA,GAAA,uBAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA;;AACA,IAAA,oBAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,6BAAA,CAAA,CAAA;;AACA,IAAA,sBAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,gCAAA,CAAA,CAAA;;AACA,IAAA,2BAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,qCAAA,CAAA,CAAA;;AACA,IAAA,gBAAA,GAAA,sBAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,CAAA;;AACA,IAAA,KAAA,GAAA,OAAA,CAAA,YAAA,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,EAAe,YAAM;AACnBiB,IAAAA,MAAM,CAANA,SAAM,CAANA;AADF,GAAA;AArDJ,CAAA,WAyDUZ,UAAAA,GAAD,EAAS;AACdC,EAAAA,OAAO,CAAPA,KAAAA,CAAAA,sBAAAA,EAAAA,GAAAA;AA1DJ,CAAA","sourcesContent":["/* globals __REPLACE_NOOP_IMPORT__ */\nimport initNext, * as next from './'\nimport EventSourcePolyfill from './dev/event-source-polyfill'\nimport initOnDemandEntries from './dev/on-demand-entries-client'\nimport initWebpackHMR from './dev/webpack-hot-middleware-client'\nimport initializeBuildWatcher from './dev/dev-build-watcher'\nimport { displayContent } from './dev/fouc'\nimport { getEventSourceWrapper } from './dev/error-overlay/eventsource'\nimport * as querystring from '../next-server/lib/router/utils/querystring'\n\n// Temporary workaround for the issue described here:\n// https://github.com/vercel/next.js/issues/3775#issuecomment-407438123\n// The runtimeChunk doesn't have dynamic import handling code when there hasn't been a dynamic import\n// The runtimeChunk can't hot reload itself currently to correct it when adding pages using on-demand-entries\n// eslint-disable-next-line no-unused-expressions\n__REPLACE_NOOP_IMPORT__\n\n// Support EventSource on Internet Explorer 11\nif (!window.EventSource) {\n window.EventSource = EventSourcePolyfill\n}\n\nconst {\n __NEXT_DATA__: { assetPrefix },\n} = window\n\nconst prefix = assetPrefix || ''\nconst webpackHMR = initWebpackHMR({ assetPrefix: prefix })\n\nwindow.next = next\ninitNext({ webpackHMR })\n .then(({ renderCtx, render }) => {\n initOnDemandEntries({ assetPrefix: prefix })\n\n let buildIndicatorHandler = () => {}\n\n function devPagesManifestListener(event) {\n if (event.data.indexOf('devPagesManifest') !== -1) {\n fetch(`${prefix}/_next/static/development/_devPagesManifest.json`)\n .then((res) => res.json())\n .then((manifest) => {\n window.__DEV_PAGES_MANIFEST = manifest\n })\n .catch((err) => {\n console.log(`Failed to fetch devPagesManifest`, err)\n })\n } else if (event.data.indexOf('serverOnlyChanges') !== -1) {\n const { pages } = JSON.parse(event.data)\n const router = window.next.router\n\n if (pages.includes(router.pathname)) {\n console.log('Refreshing page data due to server-side change')\n\n buildIndicatorHandler('building')\n\n const clearIndicator = () => buildIndicatorHandler('built')\n\n router\n .replace(\n router.pathname +\n '?' +\n String(\n querystring.assign(\n querystring.urlQueryToSearchParams(router.query),\n new URLSearchParams(location.search)\n )\n ),\n router.asPath\n )\n .finally(clearIndicator)\n }\n }\n }\n devPagesManifestListener.unfiltered = true\n getEventSourceWrapper({}).addMessageListener(devPagesManifestListener)\n\n if (process.env.__NEXT_BUILD_INDICATOR) {\n initializeBuildWatcher((handler) => {\n buildIndicatorHandler = handler\n })\n }\n\n // delay rendering until after styles have been applied in development\n displayContent(() => {\n render(renderCtx)\n })\n })\n .catch((err) => {\n console.error('Error was not caught', err)\n })\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
9152dda283a473272fb016c11331a6aa8bd512a3 {"key":"3d77ad9195d3efd67d23d690cca90b6a","integrity":"sha512-5d3U7N96tCQJAwLBZ3182iJvBbtqh3L9etjy8QfCYTCOywiFGiij2uX20JO1iFJzR6LBfAFHXTAz2ZnfF2gMeQ==","time":1614606415970,"size":792}
\ No newline at end of file
b6d02fc9eb6f496d402fe009dcbf37332317d492 {"key":"d7866d2026fb7622a523b8d961393f5e","integrity":"sha512-e6mSmMv85fY3w3VQCAt3KQDGokbaeJP+JxuKVw62Nk0LbbTHZZwo/danbd2iagiSy/IcG80GTu1iCpXFRvA03g==","time":1614606438656,"size":1749}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment