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,MAAML,CAChB,CACF,CACA,OAAOG,CACT,CACF,EACwC5W,EAAOC,QAAQmW,YAAa,EAAMpW,EAAOC,QAAiB,QAAID,EAAOC,0BCxB7GD,EAAOC,QAHP,WACE,MAAM,IAAIiX,UAAU,4IACtB,EACmClX,EAAOC,QAAQmW,YAAa,EAAMpW,EAAOC,QAAiB,QAAID,EAAOC,8BCHxG,IAAIkX,EAAiB,EAAQ,MACzBC,EAAuB,EAAQ,MAC/BC,EAA6B,EAAQ,MACrCC,EAAkB,EAAQ,MAI9BtX,EAAOC,QAHP,SAAwBgW,EAAKlX,GAC3B,OAAOoY,EAAelB,IAAQmB,EAAqBnB,EAAKlX,IAAMsY,EAA2BpB,EAAKlX,IAAMuY,GACtG,EACiCtX,EAAOC,QAAQmW,YAAa,EAAMpW,EAAOC,QAAiB,QAAID,EAAOC,8BCPtG,IAAIsX,EAAmB,EAAQ,MAS/BvX,EAAOC,QARP,SAAqCuX,EAAGC,GACtC,GAAKD,EAAL,CACA,GAAiB,iBAANA,EAAgB,OAAOD,EAAiBC,EAAGC,GACtD,IAAIhT,EAAI/E,OAAOC,UAAUF,SAASK,KAAK0X,GAAGE,MAAM,GAAI,GAEpD,MADU,WAANjT,GAAkB+S,EAAEG,cAAalT,EAAI+S,EAAEG,YAAYrO,MAC7C,QAAN7E,GAAqB,QAANA,EAAoBpF,MAAMuY,KAAKJ,GACxC,cAAN/S,GAAqB,2CAA2CqF,KAAKrF,GAAW8S,EAAiBC,EAAGC,QAAxG,CALc,CAMhB,EAC8CzX,EAAOC,QAAQmW,YAAa,EAAMpW,EAAOC,QAAiB,QAAID,EAAOC","sources":["webpack://gatsby-tasting-kitchen/./node_modules/classnames/index.js","webpack://gatsby-tasting-kitchen/./node_modules/react-i18next/dist/es/utils.js","webpack://gatsby-tasting-kitchen/./node_modules/react-i18next/dist/es/useTranslation.js","webpack://gatsby-tasting-kitchen/./src/svgs/arrow_down.js","webpack://gatsby-tasting-kitchen/./src/components/LanguageToggle/LanguageToggle.js","webpack://gatsby-tasting-kitchen/./src/components/LoginLogout/LoginLogout.js","webpack://gatsby-tasting-kitchen/./src/images/account-icon.svg","webpack://gatsby-tasting-kitchen/./src/components/Header/header.js","webpack://gatsby-tasting-kitchen/./src/images/TK_logo_desktop_1.svg","webpack://gatsby-tasting-kitchen/./src/images/TK_logo_mobile_1.svg","webpack://gatsby-tasting-kitchen/./src/images/TK_logo_desktop_2.svg","webpack://gatsby-tasting-kitchen/./src/images/TK_logo_mobile_2.svg","webpack://gatsby-tasting-kitchen/./src/images/share.svg","webpack://gatsby-tasting-kitchen/./src/images/Facebook_icon_gray.webp","webpack://gatsby-tasting-kitchen/./src/images/WeChat_icon_gray.webp","webpack://gatsby-tasting-kitchen/./src/images/pinterest-circular-logo.webp","webpack://gatsby-tasting-kitchen/./src/images/twitter.webp","webpack://gatsby-tasting-kitchen/./src/images/whatsapp.webp","webpack://gatsby-tasting-kitchen/./src/components/Footer/menus.js","webpack://gatsby-tasting-kitchen/./src/images/tk-wechat.jpg","webpack://gatsby-tasting-kitchen/./src/components/Footer/footer.js","webpack://gatsby-tasting-kitchen/./src/images/Instagram_icon_white.png","webpack://gatsby-tasting-kitchen/./src/images/WeChat_icon_white.png","webpack://gatsby-tasting-kitchen/./src/images/Weibo_icon_white.png","webpack://gatsby-tasting-kitchen/./src/images/Facebook_icon_white.png","webpack://gatsby-tasting-kitchen/./src/utils/getIsPageAvailable.js","webpack://gatsby-tasting-kitchen/./src/components/Navigation/Menus.js","webpack://gatsby-tasting-kitchen/./src/components/Navigation/Navigation.js","webpack://gatsby-tasting-kitchen/./src/components/Layout.js","webpack://gatsby-tasting-kitchen/./src/components/common/AdaptiveImage/AdaptiveImageDynamic.js","webpack://gatsby-tasting-kitchen/./src/components/common/AdaptiveImage/AdaptiveImgSrcSet.js","webpack://gatsby-tasting-kitchen/./src/components/common/AdaptiveImage/AdaptiveImg.js","webpack://gatsby-tasting-kitchen/./src/components/common/AdaptiveImage/AdaptivePicture.js","webpack://gatsby-tasting-kitchen/./src/components/common/AdaptiveImage/AdaptiveImage.js","webpack://gatsby-tasting-kitchen/./src/components/common/Hamburger/Hamburger.js","webpack://gatsby-tasting-kitchen/./src/hooks/useWindow.js","webpack://gatsby-tasting-kitchen/./src/svgs/plus.js","webpack://gatsby-tasting-kitchen/./src/svgs/tk_logo.js","webpack://gatsby-tasting-kitchen/./src/utils/addWidthParam.js","webpack://gatsby-tasting-kitchen/./src/utils/convertLinkLocale.js","webpack://gatsby-tasting-kitchen/./src/utils/getLangLink.js","webpack://gatsby-tasting-kitchen/./src/utils/replaceAmpersand.js","webpack://gatsby-tasting-kitchen/./src/utils/setLanguage.js","webpack://gatsby-tasting-kitchen/./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack://gatsby-tasting-kitchen/./node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack://gatsby-tasting-kitchen/./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","webpack://gatsby-tasting-kitchen/./node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack://gatsby-tasting-kitchen/./node_modules/@babel/runtime/helpers/slicedToArray.js","webpack://gatsby-tasting-kitchen/./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n 'use strict';\n\n var hasOwn = {}.hasOwnProperty;\n var nativeCodeString = '[native code]';\n function classNames() {\n var classes = [];\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n var argType = typeof arg;\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg)) {\n if (arg.length) {\n var inner = classNames.apply(null, arg);\n if (inner) {\n classes.push(inner);\n }\n }\n } else if (argType === 'object') {\n if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n classes.push(arg.toString());\n continue;\n }\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n return classes.join(' ');\n }\n if (typeof module !== 'undefined' && module.exports) {\n classNames.default = classNames;\n module.exports = classNames;\n } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n // register as 'classnames', consistent with npm package name\n define('classnames', [], function () {\n return classNames;\n });\n } else {\n window.classNames = classNames;\n }\n})();","export function warn() {\n if (console && console.warn) {\n var _console;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (typeof args[0] === 'string') args[0] = \"react-i18next:: \".concat(args[0]);\n (_console = console).warn.apply(_console, args);\n }\n}\nvar alreadyWarned = {};\nexport function warnOnce() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n if (typeof args[0] === 'string' && alreadyWarned[args[0]]) return;\n if (typeof args[0] === 'string') alreadyWarned[args[0]] = new Date();\n warn.apply(void 0, args);\n}\nexport function loadNamespaces(i18n, ns, cb) {\n i18n.loadNamespaces(ns, function () {\n if (i18n.isInitialized) {\n cb();\n } else {\n var initialized = function initialized() {\n setTimeout(function () {\n i18n.off('initialized', initialized);\n }, 0);\n cb();\n };\n i18n.on('initialized', initialized);\n }\n });\n}\nfunction oldI18nextHasLoadedNamespace(ns, i18n) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var lng = i18n.languages[0];\n var fallbackLng = i18n.options ? i18n.options.fallbackLng : false;\n var lastLng = i18n.languages[i18n.languages.length - 1];\n if (lng.toLowerCase() === 'cimode') return true;\n var loadNotPending = function loadNotPending(l, n) {\n var loadState = i18n.services.backendConnector.state[\"\".concat(l, \"|\").concat(n)];\n return loadState === -1 || loadState === 2;\n };\n if (options.bindI18n && options.bindI18n.indexOf('languageChanging') > -1 && i18n.services.backendConnector.backend && i18n.isLanguageChangingTo && !loadNotPending(i18n.isLanguageChangingTo, ns)) return false;\n if (i18n.hasResourceBundle(lng, ns)) return true;\n if (!i18n.services.backendConnector.backend || i18n.options.resources && !i18n.options.partialBundledLanguages) return true;\n if (loadNotPending(lng, ns) && (!fallbackLng || loadNotPending(lastLng, ns))) return true;\n return false;\n}\nexport function hasLoadedNamespace(ns, i18n) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n if (!i18n.languages || !i18n.languages.length) {\n warnOnce('i18n.languages were undefined or empty', i18n.languages);\n return true;\n }\n var isNewerI18next = i18n.options.ignoreJSONStructure !== undefined;\n if (!isNewerI18next) {\n return oldI18nextHasLoadedNamespace(ns, i18n, options);\n }\n return i18n.hasLoadedNamespace(ns, {\n precheck: function precheck(i18nInstance, loadNotPending) {\n if (options.bindI18n && options.bindI18n.indexOf('languageChanging') > -1 && i18nInstance.services.backendConnector.backend && i18nInstance.isLanguageChangingTo && !loadNotPending(i18nInstance.isLanguageChangingTo, ns)) return false;\n }\n });\n}\nexport function getDisplayName(Component) {\n return Component.displayName || Component.name || (typeof Component === 'string' && Component.length > 0 ? Component : 'Unknown');\n}","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n return target;\n}\nimport { useState, useEffect, useContext, useRef } from 'react';\nimport { getI18n, getDefaults, ReportNamespaces, I18nContext } from './context';\nimport { warnOnce, loadNamespaces, hasLoadedNamespace } from './utils';\nvar usePrevious = function usePrevious(value, ignore) {\n var ref = useRef();\n useEffect(function () {\n ref.current = ignore ? ref.current : value;\n }, [value, ignore]);\n return ref.current;\n};\nexport function useTranslation(ns) {\n var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nFromProps = props.i18n;\n var _ref = useContext(I18nContext) || {},\n i18nFromContext = _ref.i18n,\n defaultNSFromContext = _ref.defaultNS;\n var i18n = i18nFromProps || i18nFromContext || getI18n();\n if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();\n if (!i18n) {\n warnOnce('You will need to pass in an i18next instance by using initReactI18next');\n var notReadyT = function notReadyT(k) {\n return Array.isArray(k) ? k[k.length - 1] : k;\n };\n var retNotReady = [notReadyT, {}, false];\n retNotReady.t = notReadyT;\n retNotReady.i18n = {};\n retNotReady.ready = false;\n return retNotReady;\n }\n if (i18n.options.react && i18n.options.react.wait !== undefined) warnOnce('It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.');\n var i18nOptions = _objectSpread(_objectSpread(_objectSpread({}, getDefaults()), i18n.options.react), props);\n var useSuspense = i18nOptions.useSuspense,\n keyPrefix = i18nOptions.keyPrefix;\n var namespaces = ns || defaultNSFromContext || i18n.options && i18n.options.defaultNS;\n namespaces = typeof namespaces === 'string' ? [namespaces] : namespaces || ['translation'];\n if (i18n.reportNamespaces.addUsedNamespaces) i18n.reportNamespaces.addUsedNamespaces(namespaces);\n var ready = (i18n.isInitialized || i18n.initializedStoreOnce) && namespaces.every(function (n) {\n return hasLoadedNamespace(n, i18n, i18nOptions);\n });\n function getT() {\n return i18n.getFixedT(null, i18nOptions.nsMode === 'fallback' ? namespaces : namespaces[0], keyPrefix);\n }\n var _useState = useState(getT),\n _useState2 = _slicedToArray(_useState, 2),\n t = _useState2[0],\n setT = _useState2[1];\n var joinedNS = namespaces.join();\n var previousJoinedNS = usePrevious(joinedNS);\n var isMounted = useRef(true);\n useEffect(function () {\n var bindI18n = i18nOptions.bindI18n,\n bindI18nStore = i18nOptions.bindI18nStore;\n isMounted.current = true;\n if (!ready && !useSuspense) {\n loadNamespaces(i18n, namespaces, function () {\n if (isMounted.current) setT(getT);\n });\n }\n if (ready && previousJoinedNS && previousJoinedNS !== joinedNS && isMounted.current) {\n setT(getT);\n }\n function boundReset() {\n if (isMounted.current) setT(getT);\n }\n if (bindI18n && i18n) i18n.on(bindI18n, boundReset);\n if (bindI18nStore && i18n) i18n.store.on(bindI18nStore, boundReset);\n return function () {\n isMounted.current = false;\n if (bindI18n && i18n) bindI18n.split(' ').forEach(function (e) {\n return i18n.off(e, boundReset);\n });\n if (bindI18nStore && i18n) bindI18nStore.split(' ').forEach(function (e) {\n return i18n.store.off(e, boundReset);\n });\n };\n }, [i18n, joinedNS]);\n var isInitial = useRef(true);\n useEffect(function () {\n if (isMounted.current && !isInitial.current) {\n setT(getT);\n }\n isInitial.current = false;\n }, [i18n, keyPrefix]);\n var ret = [t, i18n, ready];\n ret.t = t;\n ret.i18n = i18n;\n ret.ready = ready;\n if (ready) return ret;\n if (!ready && !useSuspense) return ret;\n throw new Promise(function (resolve) {\n loadNamespaces(i18n, namespaces, function () {\n resolve();\n });\n });\n}","import React from \"react\"\n\nexport default function ArrowDown(props) {\n return (\n\t\n )\n}","import React, { useState, useEffect } from \"react\";\nimport { useStaticQuery, graphql, navigate } from \"gatsby\";\nimport { ArrowDown } from \"src/svgs\";\nimport { useTranslation } from \"react-i18next\";\nimport { useLocation } from '@gatsbyjs/reach-router';\nimport cx from 'classnames';\nimport useWindow from 'src/hooks/useWindow';\nimport convertLinkLocale from 'src/utils/convertLinkLocale';\n\nimport \"./LanguageToggle.scss\"\n\nfunction LanguageToggle({ theme, pageScroll }) {\n const location = useLocation();\n const [language, setLanguage] = useState(null);\n const [dropdown, setDropdown] = useState(false);\n const _window = useWindow();\n const { t, i18n } = useTranslation();\n\n const { wordpress } = useStaticQuery(\n graphql`\n query {\n wordpress {\n languages {\n code\n slug\n name\n }\n posts {\n nodes {\n slug\n }\n }\n }\n }\n `\n )\n\n const changeLanguage = lang => {\n setDropdown(false);\n setLanguage(lang);\n if(_window) {\n const { pathname } = _window.location;\n \n let redirectUrl\n if( /\\/category\\//.test( pathname ) ) {\n const categories = pathname.substr( pathname.indexOf('category/') + 9 ).replace( /\\/+$/, '' ).split( '/' )\n console.log( categories )\n\n redirectUrl = convertLinkLocale('/category', lang.slug)\n for( let i = 0; i < categories.length; i++ ) {\n // clear \n const cleared = categories[i].replace('-zh-tc', '').replace('-zh', '');\n\n redirectUrl += `/${cleared}`\n if( lang.slug !== 'en' ) {\n redirectUrl += `-${lang.slug.replace('_', '-')}`\n }\n }\n }\n else {\n const pathnameCleared = pathname.replace('-zh-tc', '').replace('-zh', '');\n const path = pathnameCleared.replace(/\\/+$/,'');\n \n redirectUrl = convertLinkLocale(path, lang.slug);\n }\n\n redirectUrl += '/'\n\n navigate(redirectUrl || '/');\n }\n }\n\n useEffect(() => {\n if(pageScroll && pageScroll.current) {\n pageScroll.current.addEventListener('scroll', () => {\n setDropdown(false);\n });\n }\n }, []);\n\n\n if(wordpress && wordpress.languages && wordpress.languages.length <= 0) {\n return null;\n }\n \n const activeLang = wordpress.languages.find(lang => lang.slug === i18n.language);\n \n return (\n