-
Notifications
You must be signed in to change notification settings - Fork 0
/
bb39f819bb54e7ac28130b3c324f9cf927f65324-2a53298b9755bf999ebf.js.map
1 lines (1 loc) · 57.4 KB
/
bb39f819bb54e7ac28130b3c324f9cf927f65324-2a53298b9755bf999ebf.js.map
1
{"version":3,"file":"bb39f819bb54e7ac28130b3c324f9cf927f65324-2a53298b9755bf999ebf.js","mappings":";6OACO,SAASA,EAAoBC,GAClC,OAAO,EAAAC,EAAA,GAAqB,UAAWD,IAEvB,aAAuB,UAAW,CAAC,SAArD,cCFIE,EAAY,CAAC,YAAa,UAmB1BC,GAAW,EAAAC,EAAA,IAAOC,EAAA,EAAO,CAC3BC,KAAM,UACNN,KAAM,OACNO,kBAAmB,SAA2BC,EAAOC,GACnD,OAAOA,EAAOC,OAJH,EAMZ,WACD,MAAO,CACLC,SAAU,aA2Bd,EAxBwB,cAAiB,SAAcC,EAASC,GAC9D,IAAIL,GAAQ,EAAAM,EAAA,GAAc,CACxBN,MAAOI,EACPN,KAAM,YAGJS,EAAYP,EAAMO,UAClBC,EAAgBR,EAAMS,OACtBA,OAA2B,IAAlBD,GAAmCA,EAC5CE,GAAQ,OAA8BV,EAAON,GAE7CiB,GAAa,OAAS,GAAIX,EAAO,CACnCS,OAAQA,IAGNG,EAlCkB,SAA2BD,GACjD,IAAIC,EAAUD,EAAWC,QAIzB,OAAO,EAAAC,EAAA,GAHK,CACVX,KAAM,CAAC,SAEoBX,EAAqBqB,GA6BpCE,CAAkBH,GAChC,OAAoB,SAAKhB,GAAU,OAAS,CAC1CY,WAAW,OAAKK,EAAQV,KAAMK,GAC9BQ,UAAWN,EAAS,OAAIO,EACxBX,IAAKA,EACLM,WAAYA,GACXD,iCCpDDO,GAAM,eACV,0GCoCA,IA9Be,SAAC,GAAoD,IAAlDC,EAAiD,EAAjDA,SAAUC,EAAuC,EAAvCA,MAAOC,EAAgC,EAAhCA,SAAapB,GAAmB,YACjE,GAA6BqB,EAAAA,EAAAA,MAAtBC,EAAP,KAA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AAb,SAAyBtL,QAAS,EAAGG,QAAS,OAAQe,eAAgB,WAEjFkL,EAAQpI,OAAS,EAChBoI,EAAQY,KAAI,gBAAE3P,EAAF,KAAQkP,EAAR,YAAuB,gBAACnB,EAAD,CAAUtI,IAAKzF,EAAMA,KAAMA,EAAMgO,IAAKkB,MAAAA,EAAAA,EAAa,SAEtF,gBAAC/N,EAAA,EAAD,CAAK8B,UAAU,KAAKR,GAAI,CAAE0L,UAAW,iFC1E1C,SAASyB,EAAcC,GAC5B,IAC2BC,GACvBC,EAAAA,EAAAA,gBAAc,cADhBC,eAAkBC,MA2BpB,OAAgB,MAATJ,EAAgBC,EAAUA,EAAQb,QAAO,SAAAT,GAAM,OAAIA,EAAOqB,QAAUA","sources":["webpack://lubycon-home/./node_modules/@mui/material/Card/cardClasses.js","webpack://lubycon-home/./node_modules/@mui/material/Card/Card.js","webpack://lubycon-home/./node_modules/@mui/system/esm/Box/Box.js","webpack://lubycon-home/./src/components/Animated/FadeUp.tsx","webpack://lubycon-home/./src/components/Cards/BenefitCard.tsx","webpack://lubycon-home/./src/components/Utils/MemberProfileImage.tsx","webpack://lubycon-home/./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js","webpack://lubycon-home/./node_modules/@lubycon/icons/node_modules/@lubycon/react/dist/index.esm.js","webpack://lubycon-home/./node_modules/@lubycon/icons/dist/index.esm.js","webpack://lubycon-home/./src/components/Cards/MemberCard.tsx","webpack://lubycon-home/./src/hooks/useAllMembers.ts"],"sourcesContent":["import { generateUtilityClass, generateUtilityClasses } from '@mui/core';\nexport function getCardUtilityClass(slot) {\n return generateUtilityClass('MuiCard', slot);\n}\nvar cardClasses = generateUtilityClasses('MuiCard', ['root']);\nexport default cardClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"raised\"];\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/core';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport Paper from '../Paper';\nimport { getCardUtilityClass } from './cardClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nvar useUtilityClasses = function useUtilityClasses(ownerState) {\n var classes = ownerState.classes;\n var slots = {\n root: ['root']\n };\n return composeClasses(slots, getCardUtilityClass, classes);\n};\n\nvar CardRoot = styled(Paper, {\n name: 'MuiCard',\n slot: 'Root',\n overridesResolver: function overridesResolver(props, styles) {\n return styles.root;\n }\n})(function () {\n return {\n overflow: 'hidden'\n };\n});\nvar Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {\n var props = useThemeProps({\n props: inProps,\n name: 'MuiCard'\n });\n\n var className = props.className,\n _props$raised = props.raised,\n raised = _props$raised === void 0 ? false : _props$raised,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n var ownerState = _extends({}, props, {\n raised: raised\n });\n\n var classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(CardRoot, _extends({\n className: clsx(classes.root, className),\n elevation: raised ? 8 : undefined,\n ref: ref,\n ownerState: ownerState\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default Card;","import createBox from '../createBox';\nvar Box = createBox();\nexport default Box;","import React, { HTMLAttributes } from 'react';\nimport { ImpressionArea, useBooleanState } from '@lubycon/react';\nimport { motion } from 'framer-motion';\n\ninterface Props extends HTMLAttributes<HTMLDivElement> {\n delay?: number;\n duration?: number;\n}\nconst FadeUp = ({ children, delay, duration, ...props }: Props) => {\n const [isVisible, visible] = useBooleanState();\n\n return (\n <ImpressionArea onImpressionStart={visible}>\n <div {...props}>\n <motion.div\n variants={{\n hidden: {\n opacity: 0,\n y: '10%',\n visibility: 'hidden',\n },\n visible: {\n opacity: 1,\n y: 0,\n visibility: 'visible',\n },\n }}\n initial=\"hidden\"\n animate={isVisible ? 'visible' : 'hidden'}\n transition={{ delay: delay ?? Math.random() / 1.5, duration }}\n >\n {children}\n </motion.div>\n </div>\n </ImpressionArea>\n );\n};\n\nexport default FadeUp;\n","import { Card, Typography, Box, Button } from '@mui/material';\nimport React from 'react';\n\ninterface Props {\n title: string;\n description?: string;\n image: string;\n onClick?: () => void;\n}\nconst BenefitCard = ({ title, description, image, onClick }: Props) => {\n return (\n <Card\n sx={{\n border: 'none',\n padding: 2,\n cursor: 'pointer',\n transition: 'transform .2s ease-in',\n '&:hover': {\n transform: 'translateY(-10px)',\n },\n }}\n onClick={onClick}\n >\n <Box display=\"flex\" flexDirection=\"column\" alignItems=\"center\">\n <Box component=\"img\" src={image} alt={title} sx={{ width: 120, marginTop: 1, marginBottom: 2 }} />\n <Typography\n variant=\"h6\"\n sx={{\n marginBottom: '16px',\n fontSize: { md: 20, xs: 18 },\n textAlign: 'center',\n whiteSpace: 'pre-line',\n }}\n >\n {title}\n </Typography>\n {description ? <Typography sx={{ whiteSpace: 'pre-line', fontSize: 14 }}>{description}</Typography> : null}\n </Box>\n\n {onClick != null ? (\n <Box display=\"flex\" justifyContent=\"flex-end\" sx={{ marginTop: 2 }}>\n <Button size=\"small\">자세히 보기</Button>\n </Box>\n ) : null}\n </Card>\n );\n};\n\nexport default BenefitCard;\n","import React from 'react';\nimport { Box } from '@mui/system';\n\ninterface Props {\n size: number;\n imageSrc: string;\n backgroundColor?: string;\n}\nconst MemberProfileImage = ({ size, imageSrc, backgroundColor }: Props) => {\n const circleSize = size / 3;\n\n return (\n <>\n <Box\n component=\"svg\"\n width={size}\n height={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n version=\"1.1\"\n sx={{ verticalAlign: 'top' }}\n >\n <g>\n <clipPath id=\"member-profile-clippath\">\n <circle cx={size / 2} cy={size - circleSize} r={circleSize} />\n </clipPath>\n <circle cx={size / 2} cy={size - circleSize} r={circleSize} fill={backgroundColor} stroke=\"none\" />\n </g>\n <image clipPath=\"url(#member-profile-clippath)\" height=\"100%\" width=\"100%\" href={imageSrc} />\n </Box>\n <Box\n sx={{\n position: 'absolute',\n width: '100%',\n padding: '25%',\n backgroundPosition: 'top',\n backgroundRepeat: 'no-repeat',\n backgroundSize: '100% auto',\n top: 0,\n left: 0,\n }}\n style={{ backgroundImage: `url(${imageSrc})` }}\n />\n </>\n );\n};\n\nexport default MemberProfileImage;\n","import 'react';\nimport '@emotion/cache';\nimport { h as hasOwnProperty, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-99289b21.browser.esm.js';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport 'hoist-non-react-statics';\nimport '../../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js';\nimport '@emotion/utils';\nimport '@emotion/serialize';\nimport { Fragment as Fragment$1, jsx as jsx$1, jsxs as jsxs$1 } from 'react/jsx-runtime';\nvar Fragment = Fragment$1;\n\nfunction jsx(type, props, key) {\n if (!hasOwnProperty.call(props, 'css')) {\n return jsx$1(type, props, key);\n }\n\n return jsx$1(Emotion, createEmotionProps(type, props), key);\n}\n\nfunction jsxs(type, props, key) {\n if (!hasOwnProperty.call(props, 'css')) {\n return jsxs$1(type, props, key);\n }\n\n return jsxs$1(Emotion, createEmotionProps(type, props), key);\n}\n\nexport { Fragment, jsx, jsxs };","import React, { useRef, useEffect, useState, useCallback, useMemo, forwardRef } from 'react';\nimport { parseQueryString, getLocalStorageItem, createLocalStorageChangeEvent, setLocalStorageItem, removeLocalStorageItem } from '@lubycon/utils';\nimport { logger } from '@lubycon/logger';\n/**\r\n * requestAnimationFrame을 쉽게 사용할 수 있는 훅입니다.\r\n * 콜백의 레퍼런스가 변경되면 기존의 animationFrame을 취소하고 새로운 animationFrame을 등록하니, 최적화를 위해 콜백의 레퍼런스 관리를 신경써주세요.\r\n * @example\r\n * ```javascript\r\n * const [progress, setProgress] = useState(0);\r\n * const updateProgress = useCallback(() => {\r\n * setProgress(prevProgress => prevProgress >= 100 ? 0 : prevProgress + 1);\r\n * }, []);\r\n * ```\r\n *\r\n * useAnimationFrame(updateProgress);\r\n */\n\nfunction useAnimationFrame(callback) {\n var animateRequestRef = useRef();\n useEffect(function () {\n var animate = function animate() {\n callback();\n animateRequestRef.current = requestAnimationFrame(animate);\n };\n\n animate();\n return function () {\n if (animateRequestRef.current != null) {\n cancelAnimationFrame(animateRequestRef.current);\n }\n };\n }, [callback]);\n}\n/**\r\n * useEffect로 async function을 넘기면 타입이 깨지기 때문에 사용하는 헬퍼입니다.\r\n *\r\n * 동작은 useEffect와 똑같지만, 이펙트가 반환하는 타입이 Promise<void>이기 때문에 클린업은 불가능합니다.\r\n */\n\n\nfunction useAsyncEffect(asyncEffect, deps) {\n useEffect(function () {\n asyncEffect();\n }, deps);\n}\n\nvar useBindInput = function useBindInput(_a) {\n var initialValue = _a.initialValue,\n validator = _a.validator;\n\n var _b = useState(initialValue !== null && initialValue !== void 0 ? initialValue : ''),\n value = _b[0],\n setValue = _b[1];\n\n var onChange = function onChange(e) {\n var text = e.target.value;\n\n if (validator) {\n var willUpdate = validator(text);\n\n if (willUpdate) {\n setValue(text);\n }\n } else {\n setValue(text);\n }\n };\n\n var clearValue = function clearValue() {\n setValue('');\n };\n\n return {\n bind: {\n value: value,\n onChange: onChange\n },\n setValue: setValue,\n clearValue: clearValue\n };\n};\n/**\r\n * setState(true)와 같은 동작을 추상화하여 setTrue, setFalse를 사용합니다.\r\n */\n\n\nfunction useBooleanState(defaultValue) {\n if (defaultValue === void 0) {\n defaultValue = false;\n }\n\n var _a = useState(defaultValue),\n state = _a[0],\n setState = _a[1];\n\n var setTrue = useCallback(function () {\n return setState(true);\n }, []);\n var setFalse = useCallback(function () {\n return setState(false);\n }, []);\n return [state, setTrue, setFalse];\n}\n\nfunction useDebounce(callback, delay) {\n var argsRef = useRef();\n var timer = useRef(null);\n var cleanup = useCallback(function () {\n if (timer.current) clearTimeout(timer.current);\n }, []);\n var debouncedCallback = useCallback(function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n argsRef.current = args;\n cleanup();\n timer.current = setTimeout(function () {\n if (argsRef.current) {\n callback.apply(void 0, argsRef.current);\n timer.current = null;\n }\n }, delay);\n }, []);\n return debouncedCallback;\n}\n/**\r\n * 한 단계 이전 렌더 타이밍의 값을 반환합니다. 이전 값과 현재 값을 비교하는 상황 등에 사용할 수 있습니다.\r\n */\n\n\nfunction usePreviousState(value) {\n var ref = useRef(value);\n useEffect(function () {\n ref.current = value;\n }, [value]);\n return ref.current;\n}\n\nfunction useQueryParam(key, parser) {\n var _a = useState(undefined),\n queryParam = _a[0],\n setQueryParam = _a[1];\n\n useEffect(function () {\n var queryString = location != null ? location.search : '';\n var query = parseQueryString(queryString);\n var value = query[key];\n\n if (value === undefined) {\n setQueryParam(undefined);\n } else {\n setQueryParam(parser != null ? parser(value) : value);\n }\n }, []);\n return queryParam;\n}\n\nfunction useThrottle(callback, delay) {\n var timer = useRef(null);\n return function throttledCallback() {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n if (!timer.current) {\n timer.current = setTimeout(function () {\n callback.apply(void 0, args);\n timer.current = null;\n }, delay);\n }\n };\n}\n\nvar useUpload = function useUpload() {\n var _a = useState(null),\n file = _a[0],\n setFile = _a[1];\n\n var upload = useCallback(function () {\n var promise = new Promise(function (resolve, reject) {\n var input = document.createElement('input');\n input.type = 'file';\n\n input.onchange = function () {\n if (!input.files) return reject();\n var file = input.files[0];\n setFile(file);\n resolve(file);\n };\n\n input.click();\n });\n return promise;\n }, []);\n var reset = useCallback(function () {\n setFile(null);\n }, []);\n return {\n file: file,\n upload: upload,\n reset: reset\n };\n};\n\nfunction tryParse(value) {\n try {\n return JSON.parse(value);\n } catch (_a) {\n return value;\n }\n}\n\nfunction isTypeOflocalStorageChangeEvent(evt) {\n return Boolean(evt) && evt.type === createLocalStorageChangeEvent.eventName;\n}\n\nfunction useLocalStorage(key, defaultValue) {\n if (defaultValue === void 0) {\n defaultValue = null;\n }\n\n var _a = useState(getLocalStorageItem(key)),\n localState = _a[0],\n setLocalState = _a[1];\n\n var onLocalStorageChange = function onLocalStorageChange(event) {\n if (isTypeOflocalStorageChangeEvent(event)) {\n if (event.detail.key === key) {\n setLocalState(event.detail.data);\n }\n } else {\n if (event.key === key) {\n setLocalState(event.newValue === null ? null : tryParse(event.newValue));\n }\n }\n };\n\n useEffect(function () {\n var listener = function listener(e) {\n return onLocalStorageChange(e);\n };\n\n window.addEventListener(createLocalStorageChangeEvent.eventName, listener);\n window.addEventListener('storage', listener);\n\n if (localStorage.getItem(key) === null && defaultValue !== null) {\n setLocalStorageItem(key, defaultValue);\n }\n\n return function () {\n window.removeEventListener(createLocalStorageChangeEvent.eventName, listener);\n window.removeEventListener('storage', listener);\n };\n }, [key]);\n var writeState = useCallback(function (value) {\n return setLocalStorageItem(key, value);\n }, [key]);\n var deleteState = useCallback(function () {\n return removeLocalStorageItem(key);\n }, [key]);\n var state = localState !== null && localState !== void 0 ? localState : defaultValue;\n return [state, writeState, deleteState];\n}\n\nfunction useWindowSize() {\n var _a = useState({\n width: 0,\n height: 0\n }),\n windowSize = _a[0],\n setWindowSize = _a[1];\n\n useEffect(function () {\n function handleResize() {\n setWindowSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n\n window.addEventListener('resize', handleResize);\n handleResize();\n return function () {\n return window.removeEventListener('resize', handleResize);\n };\n }, []);\n return windowSize;\n}\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n\n\nvar _assign = function __assign() {\n _assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return _assign.apply(this, arguments);\n};\n\nfunction __rest(s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nfunction __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nfunction __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function sent() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n\n while (_) {\n try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n\n case 7:\n op = _.ops.pop();\n\n _.trys.pop();\n\n continue;\n\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n\n if (t && _.label < t[2]) {\n _.label = t[2];\n\n _.ops.push(op);\n\n break;\n }\n\n if (t[2]) _.ops.pop();\n\n _.trys.pop();\n\n continue;\n }\n\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n }\n\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\n\nfunction isDefinedLoggerType(loggerType) {\n return loggerType === 'click' || loggerType === 'impression';\n}\n/**\r\n * \\@lubycon/logger를 선언적으로 사용할 수 있는 컴포넌트입니다. eventName과 일치하는 자식 컴포넌트의 프로퍼티에 이벤트를 발송하는 로직을 주입합니다.\r\n *\r\n * @example\r\n * <LoggingEvent\r\n * view=\"구독_페이지\"\r\n * logName=\"구독해제_버튼클릭\"\r\n * params={{ 서비스: service.name }}\r\n * eventName=\"onClick\"\r\n * loggerType=\"click\"\r\n * >\r\n * <button onClick={handleClick}>구독 취소</button>\r\n * </LoggingEvent>\r\n */\n\n\nfunction LoggingEvent(_a) {\n var _b;\n\n var view = _a.view,\n eventName = _a.eventName,\n logName = _a.logName,\n loggerType = _a.loggerType,\n params = _a.params,\n children = _a.children;\n useEffect(function () {\n React.Children.only(children);\n }, [children]);\n return React.cloneElement(children, (_b = {}, _b[eventName] = function () {\n var _a;\n\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var pageLogger = logger.getPageLogger(view);\n\n if (isDefinedLoggerType(loggerType)) {\n pageLogger[loggerType](logName, params);\n } else {\n pageLogger.event(logName, loggerType, params);\n }\n\n if (children.props[eventName] != null && children.props[eventName] === 'function') {\n return (_a = children.props)[eventName].apply(_a, args);\n }\n }, _b));\n}\n/**\r\n * \\@lubycon/logger를 선언적으로 사용할 수 있는 컴포넌트입니다.\r\n * 자식 요소에서 onClick 이벤트가 발생하면 로거의 click 메소드를 사용하여 이벤트 로그를 발송합니다.\r\n *\r\n * @example\r\n * <LoggingClick view=\"구독_페이지\" logName=\"구독해제_버튼클릭\" params={{ 서비스: service.name }}>\r\n * <button>구독 취소</button>\r\n * </LoggingClick>\r\n */\n\n\nfunction LoggingClick(_a) {\n var children = _a.children,\n rest = __rest(_a, [\"children\"]);\n\n return React.createElement(LoggingEvent, _assign({\n eventName: \"onClick\",\n loggerType: \"click\"\n }, rest), children);\n}\n/**\r\n * 여러 개의 ref를 합칠 수 있는 훅입니다.\r\n * @example\r\n * const Foo = forwardRef((props, fowardedRef) => {\r\n * const ref = useRef();\r\n * const combinedRef = useCombinedRefs(fowardedRef, ref);\r\n *\r\n * // div가 업데이트되면 ref, fowardedRef 둘 다 업데이트 됨\r\n * return <div ref={combinedRef} />\r\n * });\r\n */\n\n\nfunction useCombinedRefs() {\n var refs = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n refs[_i] = arguments[_i];\n }\n\n var combinedRef = useCallback(function (value) {\n refs.forEach(function (ref) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref != null) {\n ref.current = value;\n }\n });\n }, [refs]);\n return combinedRef;\n}\n\nfunction useImpression(_a) {\n var onImpressionStart = _a.onImpressionStart,\n onImpressionEnd = _a.onImpressionEnd,\n _b = _a.rootMargin,\n rootMargin = _b === void 0 ? 0 : _b,\n _c = _a.threshold,\n threshold = _c === void 0 ? 0 : _c;\n\n var _d = useState(false),\n isImpressed = _d[0],\n setImpressed = _d[1];\n\n var handleImpressionStart = useCallback(function () {\n if (isImpressed === true) {\n return;\n }\n\n onImpressionStart === null || onImpressionStart === void 0 ? void 0 : onImpressionStart();\n setImpressed(true);\n }, []);\n var handleImpressionEnd = useCallback(function () {\n if (isImpressed === false) {\n return;\n }\n\n onImpressionEnd === null || onImpressionEnd === void 0 ? void 0 : onImpressionEnd();\n setImpressed(false);\n }, []);\n var handleImpression = useCallback(function (entries) {\n var entry = entries[0];\n var currentRatio = entry.intersectionRatio;\n var isHide = threshold === 0 ? !entry.isIntersecting : currentRatio < threshold;\n\n if (isHide) {\n handleImpressionEnd();\n } else {\n handleImpressionStart();\n }\n }, [handleImpressionEnd, handleImpressionStart]);\n var intersectionObserver = useMemo(function () {\n if (typeof IntersectionObserver === 'undefined') {\n return undefined;\n }\n\n return new IntersectionObserver(handleImpression, {\n rootMargin: rootMargin + \"px\",\n threshold: threshold\n });\n }, [rootMargin, threshold]);\n var ref = useCallback(function (element) {\n if (intersectionObserver === undefined) {\n return;\n }\n\n intersectionObserver.disconnect();\n\n if (element !== null) {\n intersectionObserver.observe(element);\n }\n }, [intersectionObserver]);\n return ref;\n}\n/**\r\n * 요소가 화면 안에 등장하거나 화면에서 사라지면 onImpressionStart, onImpressionEnd 이벤트를 트리거하는 컴포넌트입니다.\r\n *\r\n * @example\r\n * <ImpressionArea onImpressionStart={() => console.log('나타났다!')}>\r\n * <div />\r\n * </ImpressionArea>\r\n */\n\n\nvar ImpressionArea = forwardRef(function (_a, forwardedRef) {\n var children = _a.children,\n rest = __rest(_a, [\"children\"]);\n\n var impressionRef = useImpression(_assign({}, rest));\n var ref = useCombinedRefs(forwardedRef, impressionRef);\n return React.createElement(\"div\", {\n ref: ref\n }, children);\n});\n/**\r\n * \\@lubycon/logger를 선언적으로 사용할 수 있는 컴포넌트입니다.\r\n * 내부적으로 ImpressionArea를 사용하고 있기 때문에 자동으로 onImpressionStart 이벤트 발생 시 로거가 발송됩니다.\r\n *\r\n * @example\r\n * <LoggingImpression\r\n * view=\"구독_페이지\"\r\n * logName=\"구독해제_버튼노출\"\r\n * params={{ 서비스: service.name }}\r\n * >\r\n * <button>구독 취소</button>\r\n * </LoggingImpression>\r\n */\n\nfunction LoggingImpression(_a) {\n var children = _a.children,\n impressionOptions = _a.impressionOptions,\n rest = __rest(_a, [\"children\", \"impressionOptions\"]);\n\n return React.createElement(LoggingEvent, _assign({\n eventName: \"onImpressionStart\",\n loggerType: \"impression\"\n }, rest), React.createElement(ImpressionArea, _assign({}, impressionOptions), children));\n}\n/**\r\n * useDidMount hook\r\n * 마운트 될 때 함수를 호출합니다.\r\n *\r\n * @param {Function} callback 마운트 될 때 호출 할 콜백 함수\r\n */\n\n\nfunction useDidMount(callback) {\n useEffect(function () {\n callback();\n }, []);\n}\n/**\r\n * useWillUnmount hook\r\n * 컴포넌트가 언마운트 될 때 함수를 호출합니다.\r\n *\r\n * @param {Function} callback 컴포넌트가 언마운트 될 때 호출 할 콜백 함수\r\n */\n\n\nfunction useWillUnmount(callback) {\n useEffect(function () {\n return callback;\n }, []);\n}\n/**\r\n * useDidUpdate hook\r\n *\r\n * dependency 배열의 요소가 업데이트 됐을때 콜백 함수를 실행합니다.\r\n *\r\n * @param {Function} callback dependency 배열의 요소가 업데이트 될 때 호출 할 콜백 함수\r\n * @param {Array} conditions 업데이트를 트리거하는 변수 목록\r\n */\n\n\nfunction useDidUpdate(callback, dependencies) {\n var hasMount = useRef(false);\n\n if (JSON.stringify(dependencies) === '[]') {\n throw new Error('useDidUpdate 훅의 Dependency Array는 빈 배열일 수 없습니다.');\n }\n\n useEffect(function () {\n if (hasMount.current) {\n callback();\n } else {\n hasMount.current = true;\n }\n }, dependencies);\n}\n/**\r\n * useInfiniteScroll hook\r\n *\r\n * threshold 에 닿았을때 fetcher 함수를 실행합니다.\r\n *\r\n * @param {Function} fetcher threshold 에 닿았을때 호출 할 데이터페칭 함수\r\n * @param {Function} merger 이전 데이터와, 현재 받아온 데이터를 병합 하는 함수\r\n * @param {Function} getQueries fetcher에서 가져올 초기 데이터 범위\r\n * @param {Queries} initialQueries fetcher에서 가져올 데이터 범위 값\r\n * @param {number} threshold fetcher 함수의 호출 위치\r\n */\n\n\nvar useInfiniteScroll = function useInfiniteScroll(_a) {\n var fetcher = _a.fetcher,\n initialQueries = _a.initialQueries,\n getQueries = _a.getQueries,\n _b = _a.threshold,\n threshold = _b === void 0 ? 150 : _b,\n merger = _a.merger;\n var ref = useRef(null);\n var windowHeight = useWindowSize().height;\n\n var _c = useBooleanState(false),\n isLoading = _c[0],\n startLoading = _c[1],\n endLoading = _c[2];\n\n var _d = useState(),\n data = _d[0],\n setData = _d[1];\n\n var _e = useState(initialQueries),\n query = _e[0],\n setQuery = _e[1];\n\n var fetchData = function fetchData() {\n var nextQuery = getQueries(query);\n setQuery(nextQuery);\n return fetcher(nextQuery);\n };\n\n var getBottomOffset = function getBottomOffset() {\n var element = ref.current;\n\n if (!element || !windowHeight) {\n return null;\n }\n\n var rect = element.getBoundingClientRect();\n var bottom = rect.bottom;\n var bottomOffset = bottom - windowHeight;\n return bottomOffset;\n };\n\n var listenBottomOffset = function listenBottomOffset() {\n return __awaiter(void 0, void 0, void 0, function () {\n var bottomOffset, isValidOffset, loadedData, mergedData;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!isLoading) return [2\n /*return*/\n ];\n bottomOffset = getBottomOffset();\n if (bottomOffset === null) return [2\n /*return*/\n ];\n isValidOffset = bottomOffset < threshold;\n if (!isValidOffset) return [3\n /*break*/\n , 2];\n startLoading();\n return [4\n /*yield*/\n , fetchData()];\n\n case 1:\n loadedData = _a.sent();\n mergedData = merger(data, loadedData);\n setData(mergedData);\n endLoading();\n _a.label = 2;\n\n case 2:\n return [2\n /*return*/\n ];\n }\n });\n });\n };\n\n useEffect(function () {\n window.addEventListener('scroll', listenBottomOffset);\n return function () {\n window.removeEventListener('scroll', listenBottomOffset);\n };\n });\n return {\n ref: ref,\n data: data,\n isLoading: isLoading\n };\n};\n/**\r\n * useInterval hook\r\n *\r\n * 일정 주기로 콜백 함수를 반복합니다.\r\n *\r\n * @param {Function} callback 주기 마다 반복 할 콜백 함수\r\n * @param {Array} delay 반복 주기\r\n */\n\n\nvar useInterval = function useInterval(callback, delay) {\n var savedCallback = useRef(null);\n useEffect(function () {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(function () {\n var id = setInterval(function () {\n var _a;\n\n (_a = savedCallback.current) === null || _a === void 0 ? void 0 : _a.call(savedCallback);\n }, delay);\n return function () {\n clearInterval(id);\n };\n }, [delay]);\n};\n/**\r\n * 컴포넌트에 스크롤 이벤트를 추가하는 hook입니다.\r\n * useEffect dependency로 hook의 인자인 ref, scrollCallback을 포함하고 있어\r\n * ref, scrollCallback의 레퍼런스가 변경 될 때마다 스크롤 이벤트가 바인딩됩니다.\r\n * 이 부분을 참고하셔서 성능이슈가 발생하지 않도록 잘 관리해주세요.\r\n */\n\n\nvar useScrollEvent = function useScrollEvent(ref, scrollCallback) {\n useEffect(function () {\n if (ref.current === null) {\n return;\n }\n\n ref.current.addEventListener('scroll', scrollCallback, {\n passive: true\n });\n return function () {\n var _a;\n\n return (_a = ref.current) === null || _a === void 0 ? void 0 : _a.removeEventListener('scroll', scrollCallback);\n };\n }, [ref, scrollCallback]);\n};\n/**\r\n * 매개변수로 주어진 string을 clipboard copy하는 함수를 반환하는 hook입니다.\r\n * https환경에서만 사용 가능하며, IE는 지원하지 않습니다.\r\n *\r\n * @param onCopyCallback 매개변수로 주어진 string 복사 후 실행할 callback 함수\r\n * @returns 매개변수로 주어진 string을 복사할 수 있는 함수를 반환합니다.\r\n * @category hooks\r\n * @example\r\n ```javascript\r\n const Foo = () => {\r\n const { copyString } = useClipboardCopy();\r\n \n return (\r\n <button onClick={() => copyString('https://lubycon.io/')}>공유하기<button/>\r\n );\r\n };\r\n ```\r\n */\n\n\nvar useClipboardCopy = function useClipboardCopy(onCopyCallback) {\n var copyString = useCallback(function (copyString) {\n return __awaiter(void 0, void 0, void 0, function () {\n var error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (typeof navigator === 'undefined') return [2\n /*return*/\n , null];\n _a.label = 1;\n\n case 1:\n _a.trys.push([1, 3,, 4]);\n\n return [4\n /*yield*/\n , navigator.clipboard.writeText(copyString)];\n\n case 2:\n _a.sent();\n\n if (onCopyCallback !== undefined) onCopyCallback();\n return [3\n /*break*/\n , 4];\n\n case 3:\n error_1 = _a.sent();\n throw error_1;\n\n case 4:\n return [2\n /*return*/\n ];\n }\n });\n });\n }, [onCopyCallback]);\n return {\n copyString: copyString\n };\n};\n\nexport { ImpressionArea, LoggingClick, LoggingEvent, LoggingImpression, useAnimationFrame, useAsyncEffect, useBindInput, useBooleanState, useClipboardCopy, useCombinedRefs, useDebounce, useDidMount, useDidUpdate, useImpression, useInfiniteScroll, useInterval, useLocalStorage, usePreviousState, useQueryParam, useScrollEvent, useThrottle, useUpload, useWillUnmount, useWindowSize };","import _defineProperty from \"/home/runner/work/lubycon-home/lubycon-home/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"/home/runner/work/lubycon-home/lubycon-home/node_modules/@babel/runtime/helpers/esm/slicedToArray\";\nimport _regeneratorRuntime from \"/home/runner/work/lubycon-home/lubycon-home/node_modules/@babel/runtime/regenerator\";\nimport { jsxs, jsx } from '@emotion/react/jsx-runtime';\nimport { useState, useEffect } from 'react';\nimport { useBooleanState, useImpression } from '@lubycon/react';\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n\nfunction __rest(s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nfunction __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nfunction fetchIcon(name) {\n return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var response, body;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.next = 2;\n return fetch(getIconUrl(name));\n\n case 2:\n response = _context.sent;\n _context.next = 5;\n return response.text();\n\n case 5:\n body = _context.sent;\n\n if (!response.ok) {\n _context.next = 10;\n break;\n }\n\n return _context.abrupt(\"return\", body);\n\n case 10:\n throw new Error(body);\n\n case 11:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n}\n\nvar getIconType = function getIconType(iconName, iconType) {\n if (iconName === 'logo-apple-ar') {\n return 'outline';\n } else {\n return /^logo-.+/.test(iconName) ? 'filled' : iconType;\n }\n};\n\nfunction getIconName(name, type) {\n if (name === 'logo-apple-ar') {\n return name;\n }\n\n return type === 'filled' ? name : \"\".concat(name, \"-\").concat(type);\n}\n\nfunction getIconUrl(name) {\n return \"https://icons.lubycon.io/\".concat(name, \".svg\");\n}\n\nvar iconCache = {};\n/**\r\n * ionicons의 아이콘을 사용합니다\r\n * https://ionicons.com/\r\n */\n\nvar Icon = function Icon(_a) {\n var _css;\n\n var name = _a.name,\n _a$size = _a.size,\n size = _a$size === void 0 ? 16 : _a$size,\n _a$type = _a.type,\n propsType = _a$type === void 0 ? 'filled' : _a$type,\n _a$color = _a.color,\n color = _a$color === void 0 ? '#000000' : _a$color,\n rest = __rest(_a, [\"name\", \"size\", \"type\", \"color\"]);\n\n var type = getIconType(name, propsType);\n var targetAttr = type === 'outline' ? 'stroke' : 'fill';\n var iconName = getIconName(name, type);\n\n var _useState = useState(iconCache[iconName]),\n _useState2 = _slicedToArray(_useState, 2),\n iconHTML = _useState2[0],\n setIconHTML = _useState2[1];\n\n var _useBooleanState = useBooleanState(false),\n _useBooleanState2 = _slicedToArray(_useBooleanState, 2),\n needShowFallbackIcon = _useBooleanState2[0],\n showFallbackIcon = _useBooleanState2[1];\n\n var _useBooleanState3 = useBooleanState(false),\n _useBooleanState4 = _slicedToArray(_useBooleanState3, 2),\n isVisible = _useBooleanState4[0],\n visible = _useBooleanState4[1];\n\n useEffect(function () {\n if (iconHTML != null || isVisible === false) {\n return;\n }\n\n var ignore = false;\n\n (function () {\n return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n var data;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.prev = 0;\n _context2.next = 3;\n return fetchIcon(iconName);\n\n case 3:\n data = _context2.sent;\n\n if (!ignore) {\n setIconHTML(data);\n iconCache[iconName] = data;\n }\n\n _context2.next = 10;\n break;\n\n case 7:\n _context2.prev = 7;\n _context2.t0 = _context2[\"catch\"](0);\n showFallbackIcon();\n\n case 10:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, null, [[0, 7]]);\n }));\n })();\n\n return function () {\n ignore = true;\n };\n }, [isVisible, iconHTML]);\n var impressionRef = useImpression({\n onImpressionStart: visible\n });\n return jsxs(\"span\", Object.assign({\n ref: impressionRef,\n css: {\n width: size,\n height: size,\n display: 'inline-block',\n fill: 'currentColor',\n '& svg': {\n width: '100%',\n verticalAlign: 'top'\n }\n }\n }, rest, {\n children: [jsx(\"span\", {\n css: (_css = {\n display: needShowFallbackIcon ? 'none' : 'inline-block',\n width: size,\n height: size\n }, _defineProperty(_css, targetAttr, color), _defineProperty(_css, \"color\", color), _css),\n \"aria-label\": name,\n \"aria-hidden\": iconHTML == null,\n dangerouslySetInnerHTML: iconHTML ? {\n __html: iconHTML\n } : undefined,\n role: \"img\"\n }, void 0), jsx(\"img\", {\n src: getIconUrl(iconName),\n css: {\n display: needShowFallbackIcon ? 'inline-block' : 'none',\n verticalAlign: 'top'\n },\n alt: name\n }, void 0)]\n }), void 0);\n};\n\nexport { Icon };","import React, { useCallback, useMemo, useState } from 'react';\nimport { Member } from 'src/models';\nimport { Typography, Box, useTheme, Theme } from '@mui/material';\nimport MemberProfileImage from '../Utils/MemberProfileImage';\nimport { Icon, IconName } from '@lubycon/icons';\nimport { grey } from '@mui/material/colors';\n\nconst SocialIcons: Record<string, IconName> = {\n github: 'logo-github',\n blog: 'logo-rss',\n linkedin: 'logo-linkedin',\n unsplash: 'camera',\n youtube: 'logo-youtube',\n};\n\nconst IconLink = ({ name, url }: { name: string; url: string }) => {\n const { spacing } = useTheme<Theme>();\n const iconName = SocialIcons[name];\n return (\n <Box\n component=\"li\"\n sx={{\n listStyle: 'none',\n margin: `0 ${spacing(1)}`,\n '& i': {\n color: 'text.secondary',\n transition: 'transform 0.2s ease-in-out, opacity 0.2s ease-in-out',\n '&:hover': {\n transform: 'translate(0, -5px)',\n opacity: 0.8,\n },\n },\n }}\n >\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n <Icon name={iconName} color={grey['600']} />\n </a>\n </Box>\n );\n};\n\ninterface Props {\n member: Member;\n backgroundColor?: string;\n}\nconst MemberCard = ({ member, backgroundColor = 'transparent' }: Props) => {\n const { spacing } = useTheme<Theme>();\n const profileImage = member.profileImg;\n const [viewBoxSize, setViewboxSize] = useState(0);\n const ref = useCallback((el: HTMLElement | null) => {\n if (el != null) {\n setViewboxSize(el.clientWidth);\n }\n }, []);\n\n const socials = useMemo<Array<[string, string | undefined]>>(\n () => Object.entries(member.social).filter(([, socialUrl]) => Boolean(socialUrl)),\n [member.social]\n );\n console.log(socials);\n\n return (\n <Box sx={{ position: 'relative' }}>\n <Box ref={ref}>\n <MemberProfileImage size={viewBoxSize} imageSrc={profileImage} backgroundColor={backgroundColor} />\n </Box>\n <Box sx={{ marginTop: 2, textAlign: 'center' }}>\n <Typography display=\"block\" component=\"h3\" variant=\"subtitle1\" sx={{ fontWeight: 'bold' }}>\n {member.name.ko} / {member.name.en}\n </Typography>\n {member.company && <Typography variant=\"caption\">{member.company}</Typography>}\n <Typography display=\"block\" variant=\"caption\">\n {member.role}\n </Typography>\n </Box>\n <Box>\n <Box\n component=\"ul\"\n sx={{ margin: `${spacing(2)} 0 0 0`, padding: 0, display: 'flex', justifyContent: 'center' }}\n >\n {socials.length > 0 ? (\n socials.map(([name, socialUrl]) => <IconLink key={name} name={name} url={socialUrl ?? '#'} />)\n ) : (\n <Box component=\"li\" sx={{ listStyle: 'none' }} />\n )}\n </Box>\n </Box>\n </Box>\n );\n};\n\nexport default MemberCard;\n","import { useStaticQuery, graphql } from 'gatsby';\nimport { Member, MemberGroup } from 'src/models';\n\ninterface MembersResult {\n allMembersJson: {\n nodes: Member[];\n };\n}\n\nexport function useAllMembers(group?: MemberGroup) {\n const {\n allMembersJson: { nodes: members },\n } = useStaticQuery<MembersResult>(graphql`\n query AllMembersQuery {\n allMembersJson {\n nodes {\n id\n group\n company\n name {\n en\n ko\n }\n profileImg\n role\n rss\n social {\n blog\n github\n linkedin\n unsplash\n youtube\n }\n }\n }\n }\n `);\n\n return group == null ? members : members.filter(member => member.group === group);\n}\n"],"names":["getCardUtilityClass","slot","generateUtilityClass","_excluded","CardRoot","styled","Paper","name","overridesResolver","props","styles","root","overflow","inProps","ref","useThemeProps","className","_props$raised","raised","other","ownerState","classes","composeClasses","useUtilityClasses","elevation","undefined","Box","children","delay","duration","useBooleanState","isVisible","visible","onImpressionStart","variants","hidden","opacity","y","visibility","initial","animate","transition","Math","random","title","description","image","onClick","sx","border","padding","cursor","transform","display","flexDirection","alignItems","component","src","alt","width","marginTop","marginBottom","variant","fontSize","md","xs","textAlign","whiteSpace","justifyContent","size","imageSrc","backgroundColor","circleSize","height","xmlns","version","verticalAlign","id","cx","cy","r","fill","stroke","clipPath","href","position","backgroundPosition","backgroundRepeat","backgroundSize","top","left","style","backgroundImage","Fragment","jsx","type","key","h","E","c","defaultValue","_a","useState","state","setState","useCallback","_assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","useImpression","onImpressionEnd","_b","rootMargin","_c","threshold","_d","isImpressed","setImpressed","handleImpressionStart","handleImpressionEnd","handleImpression","entries","entry","currentRatio","intersectionRatio","isIntersecting","intersectionObserver","useMemo","IntersectionObserver","element","disconnect","observe","forwardRef","forwardedRef","rest","refs","_i","combinedRef","value","forEach","current","useCombinedRefs","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","step","next","rejected","result","done","then","fetchIcon","_callee","response","body","_context","prev","fetch","getIconUrl","sent","text","ok","abrupt","Error","stop","concat","iconCache","Icon","_css","_a$size","_a$type","propsType","_a$color","color","iconName","iconType","test","getIconType","targetAttr","getIconName","_useState","_useState2","iconHTML","setIconHTML","_useBooleanState","_useBooleanState2","needShowFallbackIcon","showFallbackIcon","_useBooleanState3","_useBooleanState4","useEffect","ignore","_callee2","data","_context2","t0","impressionRef","jsxs","css","dangerouslySetInnerHTML","__html","role","SocialIcons","github","blog","linkedin","unsplash","youtube","IconLink","url","spacing","useTheme","listStyle","margin","target","rel","grey","member","profileImage","profileImg","viewBoxSize","setViewboxSize","el","clientWidth","socials","social","filter","socialUrl","Boolean","console","log","Typography","fontWeight","ko","en","company","map","useAllMembers","group","members","useStaticQuery","allMembersJson","nodes"],"sourceRoot":""}