-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-index-tsx-a4678d722e5bf08ae79c.js.map
1 lines (1 loc) · 66.7 KB
/
component---src-pages-index-tsx-a4678d722e5bf08ae79c.js.map
1
{"version":3,"file":"component---src-pages-index-tsx-a4678d722e5bf08ae79c.js","mappings":"qNAQIA,GAAO,QAAW,SAAeC,EAAOC,GAC1C,MAAM,UAAEC,EAAS,MAAEC,EAAK,QAAEC,EAAO,KAAEC,EAAI,MAAEC,EAAK,KAAEC,EAAI,OAAEC,KAAWC,GAAST,EACpEU,EAAS,CACbC,QAAS,OACTC,cAAeV,EACfW,WAAYV,EACZW,eAAgBV,EAChBW,SAAUV,EACVW,UAAWV,EACXW,SAAUV,EACVW,WAAYV,GAEd,OAAuB,IAAAW,KAAI,IAAOC,IAAK,CAAEnB,MAAKoB,MAAOX,KAAWD,GAClE,IACAV,EAAKuB,YAAc,O,4CCXZ,SAASC,IACd,MAAOC,IAAmBC,EAAAA,EAAAA,GAAc,sBAExC,OACEC,EAAAA,cAAC3B,EAAI,CAAC4B,UAAU,MAAMC,aAAa,QACjCF,EAAAA,cAACG,EAAAA,EAAK,CACJ3B,UAAWsB,EAAkB,MAAQ,SACrCX,WAAW,SACXiB,QAAS,GAETJ,EAAAA,cAAC3B,EAAI,KACH2B,EAAAA,cAACK,EAAAA,EAAW,CACVC,OAAO,QACPC,QAAS,CAAC,OAAQ,OAAQ,QAC1BC,IAAI,4BACJC,MAAO,IACPC,OAAQ,IACRC,MAAO,CACLC,aAAc,OACdC,SAAU,QAEZC,QAAS,IACTC,IAAI,kBAAiBC,YAAAC,EAAA,QAGzBjB,EAAAA,cAACkB,EAAAA,EAAM,CAACzC,MAAM,SACZuB,EAAAA,cAACmB,EAAAA,EAAI,CAACC,SAAS,KAAKC,GAAG,KAAI,wBAG3BrB,EAAAA,cAACmB,EAAAA,EAAI,KAAC,iGAINnB,EAAAA,cAACmB,EAAAA,EAAI,KAAC,mIAINnB,EAAAA,cAACmB,EAA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ID,WAAWH,KAC7CM,EAAWC,IACftJ,GAAU1C,GACDA,EAAKiM,QAAQ5F,KAAKhH,GACnBA,EAAKqM,QAAUM,EAAIN,MACd,IAAKrM,EAAMsM,QAASK,EAAIL,SAC1BtM,KAET,EASJ,OAPAyM,EAAI9U,SAASkV,IACqB,mBAArBA,EAAKC,YACdD,EAAKC,YAAYJ,GAEjBG,EAAKtS,iBAAiB,SAAUmS,EAClC,IAEK,KACLD,EAAI9U,SAASkV,IACwB,mBAAxBA,EAAKE,eACdF,EAAKE,eAAeL,GAEpBG,EAAKpS,oBAAoB,SAAUiS,EACrC,GACA,CACH,GACA,CAACX,IACGnU,EAAMoP,KAAKhH,GAASA,EAAKsM,SAClC,C","sources":["webpack://gatsby-starter-blog/./node_modules/@chakra-ui/layout/dist/chunk-KRPLQIP4.mjs","webpack://gatsby-starter-blog/./src/components/Bio.tsx","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/react-use-merge-refs/dist/index.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/clickable/dist/chunk-AXLEE3EK.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/clickable/dist/chunk-VDSXRTOE.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/descendant/dist/chunk-3A5YOZDU.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/descendant/dist/chunk-FT3H4P66.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/descendant/dist/chunk-OCNORRQU.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/tabs/dist/chunk-NXSBASJ3.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/react-use-controllable-state/dist/index.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/tabs/dist/chunk-GTRZJDIL.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/tabs/dist/chunk-BXDFYXZJ.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/tabs/dist/chunk-IAXSQ4X2.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/tabs/dist/chunk-4YMKQ5D4.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/tabs/dist/chunk-KGTDXOFZ.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/lazy-utils/dist/index.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/layout/dist/chunk-7OLJDQMT.mjs","webpack://gatsby-starter-blog/./src/components/BlogPosts.tsx","webpack://gatsby-starter-blog/./src/components/Gallery.tsx","webpack://gatsby-starter-blog/./src/pages/index.tsx","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/layout/dist/chunk-NTCQBYKE.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/layout/dist/chunk-PULVB27S.mjs","webpack://gatsby-starter-blog/./node_modules/@chakra-ui/media-query/dist/chunk-57I6FYPZ.mjs"],"sourcesContent":["'use client'\n\n// src/flex.tsx\nimport {\n chakra,\n forwardRef\n} from \"@chakra-ui/system\";\nimport { jsx } from \"react/jsx-runtime\";\nvar Flex = forwardRef(function Flex2(props, ref) {\n const { direction, align, justify, wrap, basis, grow, shrink, ...rest } = props;\n const styles = {\n display: \"flex\",\n flexDirection: direction,\n alignItems: align,\n justifyContent: justify,\n flexWrap: wrap,\n flexBasis: basis,\n flexGrow: grow,\n flexShrink: shrink\n };\n return /* @__PURE__ */ jsx(chakra.div, { ref, __css: styles, ...rest });\n});\nFlex.displayName = \"Flex\";\n\nexport {\n Flex\n};\n//# sourceMappingURL=chunk-KRPLQIP4.mjs.map","import * as React from 'react'\nimport {\n Text,\n Flex,\n VStack,\n useMediaQuery,\n Stack,\n HStack,\n} from '@chakra-ui/react'\nimport { StaticImage } from 'gatsby-plugin-image'\n\nexport function Bio() {\n const [isLargerThan500] = useMediaQuery('(min-width: 500px)')\n\n return (\n <Flex className=\"bio\" marginBottom=\"12px\">\n <Stack\n direction={isLargerThan500 ? 'row' : 'column'}\n alignItems=\"center\"\n spacing={8}\n >\n <Flex>\n <StaticImage\n layout=\"fixed\"\n formats={['auto', 'webp', 'avif']}\n src=\"../images/profile-pic.png\"\n width={200}\n height={200}\n style={{\n borderRadius: '20px',\n minWidth: '50px',\n }}\n quality={100}\n alt=\"Profile picture\"\n />\n </Flex>\n <VStack align=\"start\">\n <Text fontSize=\"xl\" as=\"b\">\n Welcome to my blog !\n </Text>\n <Text>\n I am a Software Engineer, mostly self-taught and passionated about a\n lot of different topics.\n </Text>\n <Text>\n On this blog, you will find blog posts about anything, recipes,\n photos and any other endeavors I may find interesting to share.\n </Text>\n <Text> Happy browsing !</Text>\n </VStack>\n </Stack>\n </Flex>\n )\n}\n","'use client'\n\n// src/index.ts\nimport { useMemo } from \"react\";\nfunction assignRef(ref, value) {\n if (ref == null)\n return;\n if (typeof ref === \"function\") {\n ref(value);\n return;\n }\n try {\n ref.current = value;\n } catch (error) {\n throw new Error(`Cannot assign value '${value}' to ref '${ref}'`);\n }\n}\nfunction mergeRefs(...refs) {\n return (node) => {\n refs.forEach((ref) => {\n assignRef(ref, node);\n });\n };\n}\nfunction useMergeRefs(...refs) {\n return useMemo(() => mergeRefs(...refs), refs);\n}\nexport {\n assignRef,\n mergeRefs,\n useMergeRefs\n};\n//# sourceMappingURL=index.mjs.map","'use client'\nimport {\n useEventListeners\n} from \"./chunk-VDSXRTOE.mjs\";\n\n// src/use-clickable.ts\nimport { dataAttr } from \"@chakra-ui/shared-utils\";\nimport { mergeRefs } from \"@chakra-ui/react-use-merge-refs\";\nimport { useCallback, useState } from \"react\";\nfunction isValidElement(event) {\n const element = event.target;\n const { tagName, isContentEditable } = element;\n return tagName !== \"INPUT\" && tagName !== \"TEXTAREA\" && isContentEditable !== true;\n}\nfunction useClickable(props = {}) {\n const {\n ref: htmlRef,\n isDisabled,\n isFocusable,\n clickOnEnter = true,\n clickOnSpace = true,\n onMouseDown,\n onMouseUp,\n onClick,\n onKeyDown,\n onKeyUp,\n tabIndex: tabIndexProp,\n onMouseOver,\n onMouseLeave,\n ...htmlProps\n } = props;\n const [isButton, setIsButton] = useState(true);\n const [isPressed, setIsPressed] = useState(false);\n const listeners = useEventListeners();\n const refCallback = (node) => {\n if (!node)\n return;\n if (node.tagName !== \"BUTTON\") {\n setIsButton(false);\n }\n };\n const tabIndex = isButton ? tabIndexProp : tabIndexProp || 0;\n const trulyDisabled = isDisabled && !isFocusable;\n const handleClick = useCallback(\n (event) => {\n if (isDisabled) {\n event.stopPropagation();\n event.preventDefault();\n return;\n }\n const self = event.currentTarget;\n self.focus();\n onClick == null ? void 0 : onClick(event);\n },\n [isDisabled, onClick]\n );\n const onDocumentKeyUp = useCallback(\n (e) => {\n if (isPressed && isValidElement(e)) {\n e.preventDefault();\n e.stopPropagation();\n setIsPressed(false);\n listeners.remove(document, \"keyup\", onDocumentKeyUp, false);\n }\n },\n [isPressed, listeners]\n );\n const handleKeyDown = useCallback(\n (event) => {\n onKeyDown == null ? void 0 : onKeyDown(event);\n if (isDisabled || event.defaultPrevented || event.metaKey) {\n return;\n }\n if (!isValidElement(event.nativeEvent) || isButton)\n return;\n const shouldClickOnEnter = clickOnEnter && event.key === \"Enter\";\n const shouldClickOnSpace = clickOnSpace && event.key === \" \";\n if (shouldClickOnSpace) {\n event.preventDefault();\n setIsPressed(true);\n }\n if (shouldClickOnEnter) {\n event.preventDefault();\n const self = event.currentTarget;\n self.click();\n }\n listeners.add(document, \"keyup\", onDocumentKeyUp, false);\n },\n [\n isDisabled,\n isButton,\n onKeyDown,\n clickOnEnter,\n clickOnSpace,\n listeners,\n onDocumentKeyUp\n ]\n );\n const handleKeyUp = useCallback(\n (event) => {\n onKeyUp == null ? void 0 : onKeyUp(event);\n if (isDisabled || event.defaultPrevented || event.metaKey)\n return;\n if (!isValidElement(event.nativeEvent) || isButton)\n return;\n const shouldClickOnSpace = clickOnSpace && event.key === \" \";\n if (shouldClickOnSpace) {\n event.preventDefault();\n setIsPressed(false);\n const self = event.currentTarget;\n self.click();\n }\n },\n [clickOnSpace, isButton, isDisabled, onKeyUp]\n );\n const onDocumentMouseUp = useCallback(\n (event) => {\n if (event.button !== 0)\n return;\n setIsPressed(false);\n listeners.remove(document, \"mouseup\", onDocumentMouseUp, false);\n },\n [listeners]\n );\n const handleMouseDown = useCallback(\n (event) => {\n if (event.button !== 0)\n return;\n if (isDisabled) {\n event.stopPropagation();\n event.preventDefault();\n return;\n }\n if (!isButton) {\n setIsPressed(true);\n }\n const target = event.currentTarget;\n target.focus({ preventScroll: true });\n listeners.add(document, \"mouseup\", onDocumentMouseUp, false);\n onMouseDown == null ? void 0 : onMouseDown(event);\n },\n [isDisabled, isButton, onMouseDown, listeners, onDocumentMouseUp]\n );\n const handleMouseUp = useCallback(\n (event) => {\n if (event.button !== 0)\n return;\n if (!isButton) {\n setIsPressed(false);\n }\n onMouseUp == null ? void 0 : onMouseUp(event);\n },\n [onMouseUp, isButton]\n );\n const handleMouseOver = useCallback(\n (event) => {\n if (isDisabled) {\n event.preventDefault();\n return;\n }\n onMouseOver == null ? void 0 : onMouseOver(event);\n },\n [isDisabled, onMouseOver]\n );\n const handleMouseLeave = useCallback(\n (event) => {\n if (isPressed) {\n event.preventDefault();\n setIsPressed(false);\n }\n onMouseLeave == null ? void 0 : onMouseLeave(event);\n },\n [isPressed, onMouseLeave]\n );\n const ref = mergeRefs(htmlRef, refCallback);\n if (isButton) {\n return {\n ...htmlProps,\n ref,\n type: \"button\",\n \"aria-disabled\": trulyDisabled ? void 0 : isDisabled,\n disabled: trulyDisabled,\n onClick: handleClick,\n onMouseDown,\n onMouseUp,\n onKeyUp,\n onKeyDown,\n onMouseOver,\n onMouseLeave\n };\n }\n return {\n ...htmlProps,\n ref,\n role: \"button\",\n \"data-active\": dataAttr(isPressed),\n \"aria-disabled\": isDisabled ? \"true\" : void 0,\n tabIndex: trulyDisabled ? void 0 : tabIndex,\n onClick: handleClick,\n onMouseDown: handleMouseDown,\n onMouseUp: handleMouseUp,\n onKeyUp: handleKeyUp,\n onKeyDown: handleKeyDown,\n onMouseOver: handleMouseOver,\n onMouseLeave: handleMouseLeave\n };\n}\n\nexport {\n useClickable\n};\n//# sourceMappingURL=chunk-AXLEE3EK.mjs.map","'use client'\n\n// src/use-event-listeners.ts\nimport { useCallback, useEffect, useRef } from \"react\";\nfunction useEventListeners() {\n const listeners = useRef(/* @__PURE__ */ new Map());\n const currentListeners = listeners.current;\n const add = useCallback((el, type, listener, options) => {\n listeners.current.set(listener, { type, el, options });\n el.addEventListener(type, listener, options);\n }, []);\n const remove = useCallback(\n (el, type, listener, options) => {\n el.removeEventListener(type, listener, options);\n listeners.current.delete(listener);\n },\n []\n );\n useEffect(\n () => () => {\n currentListeners.forEach((value, key) => {\n remove(value.el, value.type, key, value.options);\n });\n },\n [remove, currentListeners]\n );\n return { add, remove };\n}\n\nexport {\n useEventListeners\n};\n//# sourceMappingURL=chunk-VDSXRTOE.mjs.map","'use client'\nvar __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n return value;\n};\n\n// src/utils.ts\nimport { useEffect, useLayoutEffect } from \"react\";\nfunction sortNodes(nodes) {\n return nodes.sort((a, b) => {\n const compare = a.compareDocumentPosition(b);\n if (compare & Node.DOCUMENT_POSITION_FOLLOWING || compare & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n return -1;\n }\n if (compare & Node.DOCUMENT_POSITION_PRECEDING || compare & Node.DOCUMENT_POSITION_CONTAINS) {\n return 1;\n }\n if (compare & Node.DOCUMENT_POSITION_DISCONNECTED || compare & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC) {\n throw Error(\"Cannot sort the given nodes.\");\n } else {\n return 0;\n }\n });\n}\nvar isElement = (el) => typeof el == \"object\" && \"nodeType\" in el && el.nodeType === Node.ELEMENT_NODE;\nfunction getNextIndex(current, max, loop) {\n let next = current + 1;\n if (loop && next >= max)\n next = 0;\n return next;\n}\nfunction getPrevIndex(current, max, loop) {\n let next = current - 1;\n if (loop && next < 0)\n next = max;\n return next;\n}\nvar useSafeLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\nvar cast = (value) => value;\n\nexport {\n __publicField,\n sortNodes,\n isElement,\n getNextIndex,\n getPrevIndex,\n useSafeLayoutEffect,\n cast\n};\n//# sourceMappingURL=chunk-3A5YOZDU.mjs.map","'use client'\nimport {\n __publicField,\n getNextIndex,\n getPrevIndex,\n isElement,\n sortNodes\n} from \"./chunk-3A5YOZDU.mjs\";\n\n// src/descendant.ts\nvar DescendantsManager = class {\n constructor() {\n __publicField(this, \"descendants\", /* @__PURE__ */ new Map());\n __publicField(this, \"register\", (nodeOrOptions) => {\n if (nodeOrOptions == null)\n return;\n if (isElement(nodeOrOptions)) {\n return this.registerNode(nodeOrOptions);\n }\n return (node) => {\n this.registerNode(node, nodeOrOptions);\n };\n });\n __publicField(this, \"unregister\", (node) => {\n this.descendants.delete(node);\n const sorted = sortNodes(Array.from(this.descendants.keys()));\n this.assignIndex(sorted);\n });\n __publicField(this, \"destroy\", () => {\n this.descendants.clear();\n });\n __publicField(this, \"assignIndex\", (descendants) => {\n this.descendants.forEach((descendant) => {\n const index = descendants.indexOf(descendant.node);\n descendant.index = index;\n descendant.node.dataset[\"index\"] = descendant.index.toString();\n });\n });\n __publicField(this, \"count\", () => this.descendants.size);\n __publicField(this, \"enabledCount\", () => this.enabledValues().length);\n __publicField(this, \"values\", () => {\n const values = Array.from(this.descendants.values());\n return values.sort((a, b) => a.index - b.index);\n });\n __publicField(this, \"enabledValues\", () => {\n return this.values().filter((descendant) => !descendant.disabled);\n });\n __publicField(this, \"item\", (index) => {\n if (this.count() === 0)\n return void 0;\n return this.values()[index];\n });\n __publicField(this, \"enabledItem\", (index) => {\n if (this.enabledCount() === 0)\n return void 0;\n return this.enabledValues()[index];\n });\n __publicField(this, \"first\", () => this.item(0));\n __publicField(this, \"firstEnabled\", () => this.enabledItem(0));\n __publicField(this, \"last\", () => this.item(this.descendants.size - 1));\n __publicField(this, \"lastEnabled\", () => {\n const lastIndex = this.enabledValues().length - 1;\n return this.enabledItem(lastIndex);\n });\n __publicField(this, \"indexOf\", (node) => {\n var _a, _b;\n if (!node)\n return -1;\n return (_b = (_a = this.descendants.get(node)) == null ? void 0 : _a.index) != null ? _b : -1;\n });\n __publicField(this, \"enabledIndexOf\", (node) => {\n if (node == null)\n return -1;\n return this.enabledValues().findIndex((i) => i.node.isSameNode(node));\n });\n __publicField(this, \"next\", (index, loop = true) => {\n const next = getNextIndex(index, this.count(), loop);\n return this.item(next);\n });\n __publicField(this, \"nextEnabled\", (index, loop = true) => {\n const item = this.item(index);\n if (!item)\n return;\n const enabledIndex = this.enabledIndexOf(item.node);\n const nextEnabledIndex = getNextIndex(\n enabledIndex,\n this.enabledCount(),\n loop\n );\n return this.enabledItem(nextEnabledIndex);\n });\n __publicField(this, \"prev\", (index, loop = true) => {\n const prev = getPrevIndex(index, this.count() - 1, loop);\n return this.item(prev);\n });\n __publicField(this, \"prevEnabled\", (index, loop = true) => {\n const item = this.item(index);\n if (!item)\n return;\n const enabledIndex = this.enabledIndexOf(item.node);\n const prevEnabledIndex = getPrevIndex(\n enabledIndex,\n this.enabledCount() - 1,\n loop\n );\n return this.enabledItem(prevEnabledIndex);\n });\n __publicField(this, \"registerNode\", (node, options) => {\n if (!node || this.descendants.has(node))\n return;\n const keys = Array.from(this.descendants.keys()).concat(node);\n const sorted = sortNodes(keys);\n if (options == null ? void 0 : options.disabled) {\n options.disabled = !!options.disabled;\n }\n const descendant = { node, index: -1, ...options };\n this.descendants.set(node, descendant);\n this.assignIndex(sorted);\n });\n }\n};\n\nexport {\n DescendantsManager\n};\n//# sourceMappingURL=chunk-FT3H4P66.mjs.map","'use client'\nimport {\n DescendantsManager\n} from \"./chunk-FT3H4P66.mjs\";\nimport {\n cast,\n useSafeLayoutEffect\n} from \"./chunk-3A5YOZDU.mjs\";\n\n// src/use-descendant.ts\nimport { createContext } from \"@chakra-ui/react-context\";\nimport { mergeRefs } from \"@chakra-ui/react-use-merge-refs\";\nimport { useRef, useState } from \"react\";\nfunction useDescendants() {\n const descendants = useRef(new DescendantsManager());\n useSafeLayoutEffect(() => {\n return () => descendants.current.destroy();\n });\n return descendants.current;\n}\nvar [DescendantsContextProvider, useDescendantsContext] = createContext({\n name: \"DescendantsProvider\",\n errorMessage: \"useDescendantsContext must be used within DescendantsProvider\"\n});\nfunction useDescendant(options) {\n const descendants = useDescendantsContext();\n const [index, setIndex] = useState(-1);\n const ref = useRef(null);\n useSafeLayoutEffect(() => {\n return () => {\n if (!ref.current)\n return;\n descendants.unregister(ref.current);\n };\n }, []);\n useSafeLayoutEffect(() => {\n if (!ref.current)\n return;\n const dataIndex = Number(ref.current.dataset[\"index\"]);\n if (index != dataIndex && !Number.isNaN(dataIndex)) {\n setIndex(dataIndex);\n }\n });\n const refCallback = options ? cast(descendants.register(options)) : cast(descendants.register);\n return {\n descendants,\n index,\n enabledIndex: descendants.enabledIndexOf(ref.current),\n register: mergeRefs(refCallback, ref)\n };\n}\nfunction createDescendantContext() {\n const ContextProvider = cast(DescendantsContextProvider);\n const _useDescendantsContext = () => cast(useDescendantsContext());\n const _useDescendant = (options) => useDescendant(options);\n const _useDescendants = () => useDescendants();\n return [\n // context provider\n ContextProvider,\n // call this when you need to read from context\n _useDescendantsContext,\n // descendants state information, to be called and passed to `ContextProvider`\n _useDescendants,\n // descendant index information\n _useDescendant\n ];\n}\n\nexport {\n createDescendantContext\n};\n//# sourceMappingURL=chunk-OCNORRQU.mjs.map","'use client'\n\n// src/use-tabs.ts\nimport { useClickable } from \"@chakra-ui/clickable\";\nimport { createDescendantContext } from \"@chakra-ui/descendant\";\nimport { createContext } from \"@chakra-ui/react-context\";\nimport { useSafeLayoutEffect } from \"@chakra-ui/react-use-safe-layout-effect\";\nimport { useControllableState } from \"@chakra-ui/react-use-controllable-state\";\nimport { getValidChildren } from \"@chakra-ui/react-children-utils\";\nimport { mergeRefs } from \"@chakra-ui/react-use-merge-refs\";\nimport { lazyDisclosure } from \"@chakra-ui/lazy-utils\";\nimport { callAllHandlers } from \"@chakra-ui/shared-utils\";\nimport {\n useCallback,\n useEffect,\n useRef,\n useState,\n useId,\n createElement\n} from \"react\";\nvar [\n TabsDescendantsProvider,\n useTabsDescendantsContext,\n useTabsDescendants,\n useTabsDescendant\n] = createDescendantContext();\nfunction useTabs(props) {\n var _a;\n const {\n defaultIndex,\n onChange,\n index,\n isManual,\n isLazy,\n lazyBehavior = \"unmount\",\n orientation = \"horizontal\",\n direction = \"ltr\",\n ...htmlProps\n } = props;\n const [focusedIndex, setFocusedIndex] = useState(defaultIndex != null ? defaultIndex : 0);\n const [selectedIndex, setSelectedIndex] = useControllableState({\n defaultValue: defaultIndex != null ? defaultIndex : 0,\n value: index,\n onChange\n });\n useEffect(() => {\n if (index != null) {\n setFocusedIndex(index);\n }\n }, [index]);\n const descendants = useTabsDescendants();\n const uuid = useId();\n const uid = (_a = props.id) != null ? _a : uuid;\n const id = `tabs-${uid}`;\n return {\n id,\n selectedIndex,\n focusedIndex,\n setSelectedIndex,\n setFocusedIndex,\n isManual,\n isLazy,\n lazyBehavior,\n orientation,\n descendants,\n direction,\n htmlProps\n };\n}\nvar [TabsProvider, useTabsContext] = createContext({\n name: \"TabsContext\",\n errorMessage: \"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />\"\n});\nfunction useTabList(props) {\n const { focusedIndex, orientation, direction } = useTabsContext();\n const descendants = useTabsDescendantsContext();\n const onKeyDown = useCallback(\n (event) => {\n const nextTab = () => {\n var _a;\n const next = descendants.nextEnabled(focusedIndex);\n if (next)\n (_a = next.node) == null ? void 0 : _a.focus();\n };\n const prevTab = () => {\n var _a;\n const prev = descendants.prevEnabled(focusedIndex);\n if (prev)\n (_a = prev.node) == null ? void 0 : _a.focus();\n };\n const firstTab = () => {\n var _a;\n const first = descendants.firstEnabled();\n if (first)\n (_a = first.node) == null ? void 0 : _a.focus();\n };\n const lastTab = () => {\n var _a;\n const last = descendants.lastEnabled();\n if (last)\n (_a = last.node) == null ? void 0 : _a.focus();\n };\n const isHorizontal = orientation === \"horizontal\";\n const isVertical = orientation === \"vertical\";\n const eventKey = event.key;\n const ArrowStart = direction === \"ltr\" ? \"ArrowLeft\" : \"ArrowRight\";\n const ArrowEnd = direction === \"ltr\" ? \"ArrowRight\" : \"ArrowLeft\";\n const keyMap = {\n [ArrowStart]: () => isHorizontal && prevTab(),\n [ArrowEnd]: () => isHorizontal && nextTab(),\n ArrowDown: () => isVertical && nextTab(),\n ArrowUp: () => isVertical && prevTab(),\n Home: firstTab,\n End: lastTab\n };\n const action = keyMap[eventKey];\n if (action) {\n event.preventDefault();\n action(event);\n }\n },\n [descendants, focusedIndex, orientation, direction]\n );\n return {\n ...props,\n role: \"tablist\",\n \"aria-orientation\": orientation,\n onKeyDown: callAllHandlers(props.onKeyDown, onKeyDown)\n };\n}\nfunction useTab(props) {\n const { isDisabled = false, isFocusable = false, ...htmlProps } = props;\n const { setSelectedIndex, isManual, id, setFocusedIndex, selectedIndex } = useTabsContext();\n const { index, register } = useTabsDescendant({\n disabled: isDisabled && !isFocusable\n });\n const isSelected = index === selectedIndex;\n const onClick = () => {\n setSelectedIndex(index);\n };\n const onFocus = () => {\n setFocusedIndex(index);\n const isDisabledButFocusable = isDisabled && isFocusable;\n const shouldSelect = !isManual && !isDisabledButFocusable;\n if (shouldSelect) {\n setSelectedIndex(index);\n }\n };\n const clickableProps = useClickable({\n ...htmlProps,\n ref: mergeRefs(register, props.ref),\n isDisabled,\n isFocusable,\n onClick: callAllHandlers(props.onClick, onClick)\n });\n const type = \"button\";\n return {\n ...clickableProps,\n id: makeTabId(id, index),\n role: \"tab\",\n tabIndex: isSelected ? 0 : -1,\n type,\n \"aria-selected\": isSelected,\n \"aria-controls\": makeTabPanelId(id, index),\n onFocus: isDisabled ? void 0 : callAllHandlers(props.onFocus, onFocus)\n };\n}\nvar [TabPanelProvider, useTabPanelContext] = createContext({});\nfunction useTabPanels(props) {\n const context = useTabsContext();\n const { id, selectedIndex } = context;\n const validChildren = getValidChildren(props.children);\n const children = validChildren.map(\n (child, index) => createElement(\n TabPanelProvider,\n {\n key: index,\n value: {\n isSelected: index === selectedIndex,\n id: makeTabPanelId(id, index),\n tabId: makeTabId(id, index),\n selectedIndex\n }\n },\n child\n )\n );\n return { ...props, children };\n}\nfunction useTabPanel(props) {\n const { children, ...htmlProps } = props;\n const { isLazy, lazyBehavior } = useTabsContext();\n const { isSelected, id, tabId } = useTabPanelContext();\n const hasBeenSelected = useRef(false);\n if (isSelected) {\n hasBeenSelected.current = true;\n }\n const shouldRenderChildren = lazyDisclosure({\n wasSelected: hasBeenSelected.current,\n isSelected,\n enabled: isLazy,\n mode: lazyBehavior\n });\n return {\n // Puts the tabpanel in the page `Tab` sequence.\n tabIndex: 0,\n ...htmlProps,\n children: shouldRenderChildren ? children : null,\n role: \"tabpanel\",\n \"aria-labelledby\": tabId,\n hidden: !isSelected,\n id\n };\n}\nfunction useTabIndicator() {\n const context = useTabsContext();\n const descendants = useTabsDescendantsContext();\n const { selectedIndex, orientation } = context;\n const isHorizontal = orientation === \"horizontal\";\n const isVertical = orientation === \"vertical\";\n const [rect, setRect] = useState(() => {\n if (isHorizontal)\n return { left: 0, width: 0 };\n if (isVertical)\n return { top: 0, height: 0 };\n return void 0;\n });\n const [hasMeasured, setHasMeasured] = useState(false);\n useSafeLayoutEffect(() => {\n if (selectedIndex == null)\n return;\n const tab = descendants.item(selectedIndex);\n if (tab == null)\n return;\n if (isHorizontal) {\n setRect({ left: tab.node.offsetLeft, width: tab.node.offsetWidth });\n }\n if (isVertical) {\n setRect({ top: tab.node.offsetTop, height: tab.node.offsetHeight });\n }\n const id = requestAnimationFrame(() => {\n setHasMeasured(true);\n });\n return () => {\n if (id) {\n cancelAnimationFrame(id);\n }\n };\n }, [selectedIndex, isHorizontal, isVertical, descendants]);\n return {\n position: \"absolute\",\n transitionProperty: \"left, right, top, bottom, height, width\",\n transitionDuration: hasMeasured ? \"200ms\" : \"0ms\",\n transitionTimingFunction: \"cubic-bezier(0, 0, 0.2, 1)\",\n ...rect\n };\n}\nfunction makeTabId(id, index) {\n return `${id}--tab-${index}`;\n}\nfunction makeTabPanelId(id, index) {\n return `${id}--tabpanel-${index}`;\n}\n\nexport {\n TabsDescendantsProvider,\n useTabsDescendantsContext,\n useTabsDescendants,\n useTabsDescendant,\n useTabs,\n TabsProvider,\n useTabsContext,\n useTabList,\n useTab,\n useTabPanels,\n useTabPanel,\n useTabIndicator\n};\n//# sourceMappingURL=chunk-NXSBASJ3.mjs.map","'use client'\n\n// src/index.ts\nimport { useMemo, useState } from \"react\";\nimport { useCallbackRef } from \"@chakra-ui/react-use-callback-ref\";\nfunction useControllableProp(prop, state) {\n const controlled = typeof prop !== \"undefined\";\n const value = controlled ? prop : state;\n return useMemo(() => [controlled, value], [controlled, value]);\n}\nfunction useControllableState(props) {\n const {\n value: valueProp,\n defaultValue,\n onChange,\n shouldUpdate = (prev, next) => prev !== next\n } = props;\n const onChangeProp = useCallbackRef(onChange);\n const shouldUpdateProp = useCallbackRef(shouldUpdate);\n const [uncontrolledState, setUncontrolledState] = useState(defaultValue);\n const controlled = valueProp !== void 0;\n const value = controlled ? valueProp : uncontrolledState;\n const setValue = useCallbackRef(\n (next) => {\n const setter = next;\n const nextValue = typeof next === \"function\" ? setter(value) : next;\n if (!shouldUpdateProp(value, nextValue)) {\n return;\n }\n if (!controlled) {\n setUncontrolledState(nextValue);\n }\n onChangeProp(nextValue);\n },\n [controlled, onChangeProp, value, shouldUpdateProp]\n );\n return [value, setValue];\n}\nexport {\n useControllableProp,\n useControllableState\n};\n//# sourceMappingURL=index.mjs.map","'use client'\nimport {\n TabsDescendantsProvider,\n TabsProvider,\n useTabs\n} from \"./chunk-NXSBASJ3.mjs\";\n\n// src/tabs.tsx\nimport { createContext } from \"@chakra-ui/react-context\";\nimport {\n chakra,\n forwardRef,\n omitThemingProps,\n useMultiStyleConfig\n} from \"@chakra-ui/system\";\nimport { cx } from \"@chakra-ui/shared-utils\";\nimport { useMemo } from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar [TabsStylesProvider, useTabsStyles] = createContext({\n name: `TabsStylesContext`,\n errorMessage: `useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tabs />\" `\n});\nvar Tabs = forwardRef(function Tabs2(props, ref) {\n const styles = useMultiStyleConfig(\"Tabs\", props);\n const { children, className, ...rest } = omitThemingProps(props);\n const { htmlProps, descendants, ...ctx } = useTabs(rest);\n const context = useMemo(() => ctx, [ctx]);\n const { isFitted: _, ...rootProps } = htmlProps;\n const tabsStyles = {\n position: \"relative\",\n ...styles.root\n };\n return /* @__PURE__ */ jsx(TabsDescendantsProvider, { value: descendants, children: /* @__PURE__ */ jsx(TabsProvider, { value: context, children: /* @__PURE__ */ jsx(TabsStylesProvider, { value: styles, children: /* @__PURE__ */ jsx(\n chakra.div,\n {\n className: cx(\"chakra-tabs\", className),\n ref,\n ...rootProps,\n __css: tabsStyles,\n children\n }\n ) }) }) });\n});\nTabs.displayName = \"Tabs\";\n\nexport {\n useTabsStyles,\n Tabs\n};\n//# sourceMappingURL=chunk-GTRZJDIL.mjs.map","'use client'\nimport {\n useTabsStyles\n} from \"./chunk-GTRZJDIL.mjs\";\nimport {\n useTabList\n} from \"./chunk-NXSBASJ3.mjs\";\n\n// src/tab-list.tsx\nimport { cx } from \"@chakra-ui/shared-utils\";\nimport {\n chakra,\n forwardRef\n} from \"@chakra-ui/system\";\nimport { jsx } from \"react/jsx-runtime\";\nvar TabList = forwardRef(function TabList2(props, ref) {\n const tablistProps = useTabList({ ...props, ref });\n const styles = useTabsStyles();\n const tablistStyles = {\n display: \"flex\",\n ...styles.tablist\n };\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ...tablistProps,\n className: cx(\"chakra-tabs__tablist\", props.className),\n __css: tablistStyles\n }\n );\n});\nTabList.displayName = \"TabList\";\n\nexport {\n TabList\n};\n//# sourceMappingURL=chunk-BXDFYXZJ.mjs.map","'use client'\nimport {\n useTabsStyles\n} from \"./chunk-GTRZJDIL.mjs\";\nimport {\n useTab\n} from \"./chunk-NXSBASJ3.mjs\";\n\n// src/tab.tsx\nimport { cx } from \"@chakra-ui/shared-utils\";\nimport {\n chakra,\n forwardRef\n} from \"@chakra-ui/system\";\nimport { jsx } from \"react/jsx-runtime\";\nvar Tab = forwardRef(function Tab2(props, ref) {\n const styles = useTabsStyles();\n const tabProps = useTab({ ...props, ref });\n const tabStyles = {\n outline: \"0\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...styles.tab\n };\n return /* @__PURE__ */ jsx(\n chakra.button,\n {\n ...tabProps,\n className: cx(\"chakra-tabs__tab\", props.className),\n __css: tabStyles\n }\n );\n});\nTab.displayName = \"Tab\";\n\nexport {\n Tab\n};\n//# sourceMappingURL=chunk-IAXSQ4X2.mjs.map","'use client'\nimport {\n useTabsStyles\n} from \"./chunk-GTRZJDIL.mjs\";\nimport {\n useTabPanels\n} from \"./chunk-NXSBASJ3.mjs\";\n\n// src/tab-panels.tsx\nimport { cx } from \"@chakra-ui/shared-utils\";\nimport { chakra, forwardRef } from \"@chakra-ui/system\";\nimport { jsx } from \"react/jsx-runtime\";\nvar TabPanels = forwardRef(function TabPanels2(props, ref) {\n const panelsProps = useTabPanels(props);\n const styles = useTabsStyles();\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ...panelsProps,\n width: \"100%\",\n ref,\n className: cx(\"chakra-tabs__tab-panels\", props.className),\n __css: styles.tabpanels\n }\n );\n});\nTabPanels.displayName = \"TabPanels\";\n\nexport {\n TabPanels\n};\n//# sourceMappingURL=chunk-4YMKQ5D4.mjs.map","'use client'\nimport {\n useTabsStyles\n} from \"./chunk-GTRZJDIL.mjs\";\nimport {\n useTabPanel\n} from \"./chunk-NXSBASJ3.mjs\";\n\n// src/tab-panel.tsx\nimport { cx } from \"@chakra-ui/shared-utils\";\nimport { chakra, forwardRef } from \"@chakra-ui/system\";\nimport { jsx } from \"react/jsx-runtime\";\nvar TabPanel = forwardRef(function TabPanel2(props, ref) {\n const panelProps = useTabPanel({ ...props, ref });\n const styles = useTabsStyles();\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n outline: \"0\",\n ...panelProps,\n className: cx(\"chakra-tabs__tab-panel\", props.className),\n __css: styles.tabpanel\n }\n );\n});\nTabPanel.displayName = \"TabPanel\";\n\nexport {\n TabPanel\n};\n//# sourceMappingURL=chunk-KGTDXOFZ.mjs.map","// src/index.ts\nfunction lazyDisclosure(options) {\n const { wasSelected, enabled, isSelected, mode = \"unmount\" } = options;\n if (!enabled)\n return true;\n if (isSelected)\n return true;\n if (mode === \"keepMounted\" && wasSelected)\n return true;\n return false;\n}\nexport {\n lazyDisclosure\n};\n","'use client'\n\n// src/heading.tsx\nimport {\n chakra,\n forwardRef,\n omitThemingProps,\n useStyleConfig\n} from \"@chakra-ui/system\";\nimport { cx } from \"@chakra-ui/shared-utils\";\nimport { jsx } from \"react/jsx-runtime\";\nvar Heading = forwardRef(function Heading2(props, ref) {\n const styles = useStyleConfig(\"Heading\", props);\n const { className, ...rest } = omitThemingProps(props);\n return /* @__PURE__ */ jsx(\n chakra.h2,\n {\n ref,\n className: cx(\"chakra-heading\", props.className),\n ...rest,\n __css: styles\n }\n );\n});\nHeading.displayName = \"Heading\";\n\nexport {\n Heading\n};\n//# sourceMappingURL=chunk-7OLJDQMT.mjs.map","import React from 'react'\nimport { Link } from 'gatsby'\nimport {\n Heading,\n Text,\n VStack,\n HStack,\n Box,\n useMediaQuery,\n Stack,\n} from '@chakra-ui/react'\nimport { GatsbyImage, getImage } from 'gatsby-plugin-image'\n\nconst BlogPostText = ({ post }) => {\n const [isLargerThan500] = useMediaQuery('(min-width: 500px)')\n\n if (isLargerThan500) {\n return (\n <Stack spacing={0}>\n <Link to={post.fields.slug}>\n <Heading fontSize={26} marginY={0}>\n {post.frontmatter.title}\n </Heading>\n </Link>\n <Text fontSize={15} as=\"i\" marginBottom={2}>\n {`${post.frontmatter.date} - ${post.fields.readingTime.text}`}\n </Text>\n\n <Text fontSize={15} marginBottom={0}>\n {post.frontmatter.description || post.excerpt}\n </Text>\n </Stack>\n )\n }\n\n return (\n <Stack spacing={0}>\n <Link to={post.fields.slug}>\n <Heading fontSize={26} marginY={0}>\n {post.frontmatter.title}\n </Heading>\n </Link>\n <Text fontSize={15} marginBottom={0}>\n {post.frontmatter.date}\n </Text>\n <Text fontSize={15} as=\"i\" marginBottom={0}>\n {post.fields.readingTime.text}\n </Text>\n </Stack>\n )\n}\n\nexport const BlogPosts = ({ posts }) => {\n if (posts.length === 0) {\n return <Text>No blog posts found.</Text>\n }\n\n return (\n <VStack spacing={8} paddingTop={4} alignItems=\"flex-start\">\n {posts.map((post: any) => {\n console.log('log', post)\n return (\n <HStack spacing={4} key={post.fields.name}>\n <Box minWidth={120} height={120}>\n <GatsbyImage\n objectFit=\"cover\"\n image={getImage(post.icon.childImageSharp)}\n alt=\"Caffe Latte\"\n />\n </Box>\n\n <VStack spacing={0} align=\"flex-start\">\n <BlogPostText post={post} />\n </VStack>\n </HStack>\n )\n })}\n </VStack>\n )\n}\n","import { Box, HStack, Heading, Text, VStack } from '@chakra-ui/react'\nimport { Link } from 'gatsby'\nimport { GatsbyImage, getImage } from 'gatsby-plugin-image'\nimport React from 'react'\n\nexport const Gallery = ({ images }) => {\n if (images.length === 0) {\n return <Text>No blog images found.</Text>\n }\n\n return (\n <VStack spacing={8} paddingTop={4}>\n {images.map((post: any) => {\n return (\n <HStack spacing={4} key={post.fields.name}>\n <Box minWidth={120} height={120}>\n <GatsbyImage\n objectFit=\"cover\"\n image={getImage(post.icon.childImageSharp)}\n alt=\"Caffe Latte\"\n />\n </Box>\n\n <VStack spacing={0} align=\"flex-start\">\n <Link to={post.fields.slug}>\n <Heading fontSize={26} marginY={0}>\n {post.frontmatter.title}\n </Heading>\n </Link>\n <Text fontSize={14} marginBottom={2}>\n {post.frontmatter.date}\n </Text>\n <Text fontSize={15} marginBottom={0}>\n {post.frontmatter.description || post.excerpt}\n </Text>\n </VStack>\n </HStack>\n )\n })}\n </VStack>\n )\n}\n","import React from 'react'\nimport { graphql } from 'gatsby'\nimport { Tab, TabList, TabPanel, TabPanels, Tabs } from '@chakra-ui/react'\n\nimport { Bio } from '../components/Bio'\nimport { Layout } from '../components/Layout'\nimport { BlogPosts } from '../components/BlogPosts'\nimport { Gallery } from '../components/Gallery'\n\nconst BlogIndex = ({ data, location }) => {\n const siteTitle = data.site.siteMetadata?.title || 'Title'\n\n const blogPosts = data.allMarkdownRemark.nodes.filter(\n (elem: any) => elem.fields.type === 'blog',\n )\n const enrichedBlogPosts = blogPosts.reduce((acc, elem) => {\n const name = elem.fields.name\n\n const icon = data.allFile.nodes.find(\n (node) =>\n node.childImageSharp &&\n node.childImageSharp.fixed.originalName === `${name}-icon.png`,\n )\n\n return [...acc, { ...elem, icon }]\n }, [])\n\n const galleryPosts = data.allMarkdownRemark.nodes.filter(\n (elem: any) => elem.fields.type === 'gallery',\n )\n const enrichedGalleryPosts = galleryPosts.reduce((acc, elem) => {\n const allFiles = data.allFile.nodes\n const name = elem.fields.name\n\n const icon = allFiles.find(\n (node) =>\n node.childImageSharp &&\n node.childImageSharp.fixed.originalName === `${name}-icon.png`,\n )\n const relatedImages = allFiles.filter(\n (file) => file.extension !== 'md' && file.relativeDirectory === name,\n )\n\n return [...acc, { ...elem, images: relatedImages, icon }]\n }, [])\n\n return (\n <Layout location={location} title={siteTitle}>\n <Bio />\n <Tabs isFitted defaultIndex={0}>\n <TabList>\n <Tab>Posts</Tab>\n <Tab>Gallery</Tab>\n <Tab>Recipes</Tab>\n </TabList>\n <TabPanels>\n <TabPanel>\n <BlogPosts posts={enrichedBlogPosts} />\n </TabPanel>\n <TabPanel>\n <Gallery images={enrichedGalleryPosts} />\n </TabPanel>\n <TabPanel>No recipes yet</TabPanel>\n </TabPanels>\n </Tabs>\n </Layout>\n )\n}\n\nexport default BlogIndex\n\nexport const pageQuery = graphql`\n query {\n site {\n siteMetadata {\n title\n }\n }\n\n allFile {\n nodes {\n childImageSharp {\n id\n gatsbyImageData(\n width: 120\n height: 120\n placeholder: BLURRED\n formats: [AUTO, WEBP, AVIF]\n )\n fixed {\n originalName\n }\n }\n id\n relativeDirectory\n name\n extension\n absolutePath\n }\n }\n\n allMarkdownRemark(sort: { frontmatter: { date: DESC } }) {\n nodes {\n excerpt\n fields {\n type\n slug\n name\n\n readingTime {\n text\n }\n }\n frontmatter {\n date(formatString: \"MMMM DD, YYYY\")\n title\n description\n }\n }\n }\n }\n`\n","'use client'\nimport {\n Stack\n} from \"./chunk-ZHMYA64R.mjs\";\n\n// src/stack/v-stack.tsx\nimport { forwardRef } from \"@chakra-ui/system\";\nimport { jsx } from \"react/jsx-runtime\";\nvar VStack = forwardRef((props, ref) => /* @__PURE__ */ jsx(Stack, { align: \"center\", ...props, direction: \"column\", ref }));\nVStack.displayName = \"VStack\";\n\nexport {\n VStack\n};\n//# sourceMappingURL=chunk-NTCQBYKE.mjs.map","'use client'\n\n// src/box.tsx\nimport {\n chakra,\n forwardRef\n} from \"@chakra-ui/system\";\nimport { jsx } from \"react/jsx-runtime\";\nvar Box = chakra(\"div\");\nBox.displayName = \"Box\";\nvar Square = forwardRef(function Square2(props, ref) {\n const { size, centerContent = true, ...rest } = props;\n const styles = centerContent ? { display: \"flex\", alignItems: \"center\", justifyContent: \"center\" } : {};\n return /* @__PURE__ */ jsx(\n Box,\n {\n ref,\n boxSize: size,\n __css: {\n ...styles,\n flexShrink: 0,\n flexGrow: 0\n },\n ...rest\n }\n );\n});\nSquare.displayName = \"Square\";\nvar Circle = forwardRef(function Circle2(props, ref) {\n const { size, ...rest } = props;\n return /* @__PURE__ */ jsx(Square, { size, ref, borderRadius: \"9999px\", ...rest });\n});\nCircle.displayName = \"Circle\";\n\nexport {\n Box,\n Square,\n Circle\n};\n//# sourceMappingURL=chunk-PULVB27S.mjs.map","'use client'\n\n// src/use-media-query.ts\nimport { useEnvironment } from \"@chakra-ui/react-env\";\nimport { useEffect, useState } from \"react\";\nfunction useMediaQuery(query, options = {}) {\n const { ssr = true, fallback } = options;\n const { getWindow } = useEnvironment();\n const queries = Array.isArray(query) ? query : [query];\n let fallbackValues = Array.isArray(fallback) ? fallback : [fallback];\n fallbackValues = fallbackValues.filter((v) => v != null);\n const [value, setValue] = useState(() => {\n return queries.map((query2, index) => ({\n media: query2,\n matches: ssr ? !!fallbackValues[index] : getWindow().matchMedia(query2).matches\n }));\n });\n useEffect(() => {\n const win = getWindow();\n setValue(\n queries.map((query2) => ({\n media: query2,\n matches: win.matchMedia(query2).matches\n }))\n );\n const mql = queries.map((query2) => win.matchMedia(query2));\n const handler = (evt) => {\n setValue((prev) => {\n return prev.slice().map((item) => {\n if (item.media === evt.media)\n return { ...item, matches: evt.matches };\n return item;\n });\n });\n };\n mql.forEach((mql2) => {\n if (typeof mql2.addListener === \"function\") {\n mql2.addListener(handler);\n } else {\n mql2.addEventListener(\"change\", handler);\n }\n });\n return () => {\n mql.forEach((mql2) => {\n if (typeof mql2.removeListener === \"function\") {\n mql2.removeListener(handler);\n } else {\n mql2.removeEventListener(\"change\", handler);\n }\n });\n };\n }, [getWindow]);\n return value.map((item) => item.matches);\n}\n\nexport {\n useMediaQuery\n};\n//# sourceMappingURL=chunk-57I6FYPZ.mjs.map"],"names":["Flex","props","ref","direction","align","justify","wrap","basis","grow","shrink","rest","styles","display","flexDirection","alignItems","justifyContent","flexWrap","flexBasis","flexGrow","flexShrink","jsx","div","__css","displayName","Bio","isLargerThan500","useMediaQuery","React","className","marginBottom","Stack","spacing","StaticImage","layout","formats","src","width","height","style","borderRadius","minWidth","quality","alt","__imageData","require","VStack","Text","fontSize","as","mergeRefs","refs","node","forEach","value","current","error","Error","assignRef","isValidElement","event","element","target","tagName","isContentEditable","useClickable","htmlRef","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","tabIndexProp","onMouseOver","onMouseLeave","htmlProps","isButton","setIsButton","useState","isPressed","setIsPressed","listeners","useRef","Map","currentListeners","add","useCallback","el","type","listener","options","set","addEventListener","remove","removeEventListener","delete","useEffect","key","useEventListeners","trulyDisabled","handleClick","stopPropagation","preventDefault","currentTarget","focus","onDocumentKeyUp","e","document","handleKeyDown","defaultPrevented","metaKey","nativeEvent","shouldClickOnEnter","click","handleKeyUp","onDocumentMouseUp","button","handleMouseDown","preventScroll","handleMouseUp","handleMouseOver","handleMouseLeave","disabled","role","__defProp","Object","defineProperty","__publicField","obj","enumerable","configurable","writable","__defNormalProp","sortNodes","nodes","sort","a","b","compare","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_PRECEDING","DOCUMENT_POSITION_CONTAINS","DOCUMENT_POSITION_DISCONNECTED","DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC","getNextIndex","max","loop","next","getPrevIndex","window","useLayoutEffect","cast","DescendantsManager","constructor","this","nodeOrOptions","nodeType","ELEMENT_NODE","registerNode","descendants","sorted","Array","from","keys","assignIndex","clear","descendant","index","indexOf","dataset","toString","size","enabledValues","length","values","filter","count","enabledCount","item","enabledItem","lastIndex","_a","_b","get","findIndex","i","isSameNode","nextEnabledIndex","enabledIndexOf","prev","prevEnabledIndex","has","concat","DescendantsContextProvider","useDescendantsContext","name","errorMessage","TabsDescendantsProvider","useTabsDescendantsContext","useTabsDescendants","useTabsDescendant","destroy","useDescendants","setIndex","unregister","dataIndex","Number","isNaN","refCallback","register","enabledIndex","useDescendant","useTabs","defaultIndex","onChange","isManual","isLazy","lazyBehavior","orientation","focusedIndex","setFocusedIndex","selectedIndex","setSelectedIndex","valueProp","defaultValue","shouldUpdate","onChangeProp","shouldUpdateProp","uncontrolledState","setUncontrolledState","controlled","setValue","nextValue","useControllableState","uuid","useId","id","TabsProvider","useTabsContext","TabPanelProvider","useTabPanelContext","makeTabId","makeTabPanelId","TabsStylesProvider","useTabsStyles","Tabs","children","ctx","context","useMemo","isFitted","_","rootProps","tabsStyles","position","root","cx","TabList","tablistProps","nextTab","nextEnabled","prevTab","prevEnabled","isHorizontal","isVertical","eventKey","ArrowStart","ArrowEnd","action","ArrowDown","ArrowUp","Home","first","firstEnabled","End","last","lastEnabled","useTabList","tablistStyles","tablist","Tab","tabProps","isSelected","onFocus","useTab","tabStyles","outline","tab","TabPanels","panelsProps","map","child","createElement","tabId","useTabPanels","tabpanels","TabPanel","panelProps","hasBeenSelected","shouldRenderChildren","wasSelected","enabled","mode","lazyDisclosure","hidden","useTabPanel","tabpanel","Heading","h2","BlogPostText","_ref","post","Link","to","fields","slug","marginY","frontmatter","title","date","readingTime","text","description","excerpt","BlogPosts","_ref2","posts","paddingTop","console","log","HStack","Box","GatsbyImage","objectFit","image","getImage","icon","childImageSharp","Gallery","images","_data$site$siteMetada","data","location","siteTitle","site","siteMetadata","enrichedBlogPosts","allMarkdownRemark","elem","reduce","acc","allFile","find","fixed","originalName","_toConsumableArray","enrichedGalleryPosts","allFiles","relatedImages","file","extension","relativeDirectory","Layout","Square","centerContent","boxSize","query","ssr","fallback","getWindow","queries","isArray","fallbackValues","v","query2","media","matches","matchMedia","win","mql","handler","evt","slice","mql2","addListener","removeListener"],"sourceRoot":""}