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jR,IACTqR,EAAWrR,EAAQsR,SAASnS,EAAOC,OAAOG,WAAW0R,eAGtC,IAAbI,EACFlS,EAAOoS,KAAK,kBAEZpS,EAAOoS,KAAK,kBAGV/R,GACFA,EAAQgS,YAAYrS,EAAOC,OAAOG,WAAW0R,aAG3CjR,GACFA,EAAQwR,YAAYrS,EAAOC,OAAOG,WAAW0R","sources":["webpack://_N_E/./components/BannerImageUpload.js","webpack://_N_E/./node_modules/swiper/esm/components/a11y/a11y.js","webpack://_N_E/./components/RegistryImageUpload.js","webpack://_N_E/./components/EditBioRegistry.js","webpack://_N_E/./components/PrivatePage.js","webpack://_N_E/./components/UI/Button.js","webpack://_N_E/./components/UI/DefaultLoader.js","webpack://_N_E/./components/UI/Image.js","webpack://_N_E/./components/UI/Imgix.js","webpack://_N_E/./components/UI/Input.js","webpack://_N_E/./components/UI/Popup.js","webpack://_N_E/./services/getImgUrl.js","webpack://_N_E/./node_modules/swiper/esm/components/navigation/navigation.js"],"sourcesContent":["import { useState } from 'react'\nimport { useSelector } from 'react-redux'\n\nimport Button from './UI/Button'\nimport Imgix from './UI/Imgix'\n\nconst lHMMobileContrast = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Contrast.jpg'\nconst lHMMobileDay = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Day.jpg'\nconst lHMMobileGolden = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Golden.jpg'\nconst lHMMobileHorizon = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Horizon.jpg'\nconst lHMMobileMarble = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Marble.jpg'\nconst lHMMobilePaint = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Paint.jpg'\nconst lHMMobilePeach = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Peach.jpg'\nconst lHMMobilePlaster = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Plaster.jpg'\nconst lHMMobilePurple = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Purple.jpg'\nconst lHMMobileRouge = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Rouge.jpg' //\nconst lHMMobileShadow = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Shadow.jpg' //\nconst lHMMobileShore = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Shore.jpg' //\nconst lHMMobileSky = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Sky.jpg'\nconst lHMMobileSpeckle = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Speckle.jpg' //\nconst lHMMobileStone = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Stone.jpg' //\nconst lHMMobileStucco = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Stucco.jpg' //\nconst lHMMobileTan = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Tan.jpg'\nconst lHMMobileWall = 'https://little-honey-money.imgix.net/banner/LHM-Mobile-Wall.jpg' //\n\nconst images = [\n { id: 1, image: lHMMobileContrast, path: lHMMobileContrast, mobilePath:lHMMobileContrast,alt: 'img' },\n { id: 2, image: lHMMobileDay, path: lHMMobileDay, mobilePath: lHMMobileDay, alt: 'img' },\n { id: 3, image: lHMMobileGolden, path: lHMMobileGolden, mobilePath: lHMMobileGolden, alt: 'img' },\n { id: 4, image: lHMMobileHorizon, path: lHMMobileHorizon, mobilePath: lHMMobileHorizon, alt: 'img' },\n { id: 5, image: lHMMobileMarble, path: lHMMobileMarble, mobilePath: lHMMobileMarble, alt: 'img' },\n { id: 6, image: lHMMobilePaint, path: lHMMobilePaint, mobilePath: lHMMobilePaint, alt: 'img' },\n { id: 7, image: lHMMobilePeach, path: lHMMobilePeach, mobilePath: lHMMobilePeach, alt: 'img' },\n { id: 8, image: lHMMobilePlaster, path: lHMMobilePlaster, mobilePath: lHMMobilePlaster, alt: 'img' },\n { id: 9, image: lHMMobilePurple, path: lHMMobilePurple, mobilePath: lHMMobilePurple, alt: 'img' },\n { id: 10, image: lHMMobileRouge, path: lHMMobileRouge, mobilePath: lHMMobileRouge, alt: 'img' },\n { id: 11, image: lHMMobileShadow, path: lHMMobileShadow, mobilePath: lHMMobileShadow, alt: 'img' },\n { id: 12, image: lHMMobileShore, path: lHMMobileShore, mobilePath: lHMMobileShore, alt: 'img' },\n { id: 13, image: lHMMobileSky, path: lHMMobileSky, mobilePath: lHMMobileSky, alt: 'img' },\n { id: 14, image: lHMMobileSpeckle, path: lHMMobileSpeckle, mobilePath:lHMMobileSpeckle, alt: 'img' },\n { id: 15, image: lHMMobileStone, path: lHMMobileStone, mobilePath: lHMMobileStone, alt: 'img' },\n { id: 16, image: lHMMobileStucco, path: lHMMobileStucco, mobilePath: lHMMobileStucco, alt: 'img' },\n { id: 17, image: lHMMobileTan, path: lHMMobileTan, mobilePath: lHMMobileTan, alt: 'img' },\n { id: 18, image: lHMMobileWall, path: lHMMobileWall, mobilePath: lHMMobileWall, alt: 'img' },\n]\nconst BannerImageUpload = ({ value, collapsed, ...props }) => {\n const registry = useSelector(({ registry }) => registry)\n const [image, setImage] = useState(registry.bannerImage || null)\n\n const toggle = () => {\n props.onToggle(!collapsed)\n }\n\n const handleRadioChange = (banner) => {\n setImage(banner.path)\n props.onChange({ path: banner.path, pathMobile: banner.mobilePath })\n }\n\n return
\n
\n
\n
\n
\n
\n \n
\n
\n {\n collapsed &&
\n
\n {images.map((item, index) => )}\n
\n
\n }\n
\n}\n\nexport default BannerImageUpload\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport $ from '../../utils/dom';\nimport { bindModuleMethods, classesToSelector } from '../../utils/utils';\nvar A11y = {\n getRandomNumber: function getRandomNumber(size) {\n if (size === void 0) {\n size = 16;\n }\n\n var randomChar = function randomChar() {\n return Math.round(16 * Math.random()).toString(16);\n };\n\n return 'x'.repeat(size).replace(/x/g, randomChar);\n },\n makeElFocusable: function makeElFocusable($el) {\n $el.attr('tabIndex', '0');\n return $el;\n },\n makeElNotFocusable: function makeElNotFocusable($el) {\n $el.attr('tabIndex', '-1');\n return $el;\n },\n addElRole: function addElRole($el, role) {\n $el.attr('role', role);\n return $el;\n },\n addElRoleDescription: function addElRoleDescription($el, description) {\n $el.attr('aria-roledescription', description);\n return $el;\n },\n addElControls: function addElControls($el, controls) {\n $el.attr('aria-controls', controls);\n return $el;\n },\n addElLabel: function addElLabel($el, label) {\n $el.attr('aria-label', label);\n return $el;\n },\n addElId: function addElId($el, id) {\n $el.attr('id', id);\n return $el;\n },\n addElLive: function addElLive($el, live) {\n $el.attr('aria-live', live);\n return $el;\n },\n disableEl: function disableEl($el) {\n $el.attr('aria-disabled', true);\n return $el;\n },\n enableEl: function enableEl($el) {\n $el.attr('aria-disabled', false);\n return $el;\n },\n onEnterOrSpaceKey: function onEnterOrSpaceKey(e) {\n if (e.keyCode !== 13 && e.keyCode !== 32) return;\n var swiper = this;\n var params = swiper.params.a11y;\n var $targetEl = $(e.target);\n\n if (swiper.navigation && swiper.navigation.$nextEl && $targetEl.is(swiper.navigation.$nextEl)) {\n if (!(swiper.isEnd && !swiper.params.loop)) {\n swiper.slideNext();\n }\n\n if (swiper.isEnd) {\n swiper.a11y.notify(params.lastSlideMessage);\n } else {\n swiper.a11y.notify(params.nextSlideMessage);\n }\n }\n\n if (swiper.navigation && swiper.navigation.$prevEl && $targetEl.is(swiper.navigation.$prevEl)) {\n if (!(swiper.isBeginning && !swiper.params.loop)) {\n swiper.slidePrev();\n }\n\n if (swiper.isBeginning) {\n swiper.a11y.notify(params.firstSlideMessage);\n } else {\n swiper.a11y.notify(params.prevSlideMessage);\n }\n }\n\n if (swiper.pagination && $targetEl.is(classesToSelector(swiper.params.pagination.bulletClass))) {\n $targetEl[0].click();\n }\n },\n notify: function notify(message) {\n var swiper = this;\n var notification = swiper.a11y.liveRegion;\n if (notification.length === 0) return;\n notification.html('');\n notification.html(message);\n },\n updateNavigation: function updateNavigation() {\n var swiper = this;\n if (swiper.params.loop || !swiper.navigation) return;\n var _swiper$navigation = swiper.navigation,\n $nextEl = _swiper$navigation.$nextEl,\n $prevEl = _swiper$navigation.$prevEl;\n\n if ($prevEl && $prevEl.length > 0) {\n if (swiper.isBeginning) {\n swiper.a11y.disableEl($prevEl);\n swiper.a11y.makeElNotFocusable($prevEl);\n } else {\n swiper.a11y.enableEl($prevEl);\n swiper.a11y.makeElFocusable($prevEl);\n }\n }\n\n if ($nextEl && $nextEl.length > 0) {\n if (swiper.isEnd) {\n swiper.a11y.disableEl($nextEl);\n swiper.a11y.makeElNotFocusable($nextEl);\n } else {\n swiper.a11y.enableEl($nextEl);\n swiper.a11y.makeElFocusable($nextEl);\n }\n }\n },\n updatePagination: function updatePagination() {\n var swiper = this;\n var params = swiper.params.a11y;\n\n if (swiper.pagination && swiper.params.pagination.clickable && swiper.pagination.bullets && swiper.pagination.bullets.length) {\n swiper.pagination.bullets.each(function (bulletEl) {\n var $bulletEl = $(bulletEl);\n swiper.a11y.makeElFocusable($bulletEl);\n\n if (!swiper.params.pagination.renderBullet) {\n swiper.a11y.addElRole($bulletEl, 'button');\n swiper.a11y.addElLabel($bulletEl, params.paginationBulletMessage.replace(/\\{\\{index\\}\\}/, $bulletEl.index() + 1));\n }\n });\n }\n },\n init: function init() {\n var swiper = this;\n var params = swiper.params.a11y;\n swiper.$el.append(swiper.a11y.liveRegion); // Container\n\n var $containerEl = swiper.$el;\n\n if (params.containerRoleDescriptionMessage) {\n swiper.a11y.addElRoleDescription($containerEl, params.containerRoleDescriptionMessage);\n }\n\n if (params.containerMessage) {\n swiper.a11y.addElLabel($containerEl, params.containerMessage);\n } // Wrapper\n\n\n var $wrapperEl = swiper.$wrapperEl;\n var wrapperId = $wrapperEl.attr('id') || \"swiper-wrapper-\" + swiper.a11y.getRandomNumber(16);\n var live = swiper.params.autoplay && swiper.params.autoplay.enabled ? 'off' : 'polite';\n swiper.a11y.addElId($wrapperEl, wrapperId);\n swiper.a11y.addElLive($wrapperEl, live); // Slide\n\n if (params.itemRoleDescriptionMessage) {\n swiper.a11y.addElRoleDescription($(swiper.slides), params.itemRoleDescriptionMessage);\n }\n\n swiper.a11y.addElRole($(swiper.slides), params.slideRole);\n var slidesLength = swiper.params.loop ? swiper.slides.filter(function (el) {\n return !el.classList.contains(swiper.params.slideDuplicateClass);\n }).length : swiper.slides.length;\n swiper.slides.each(function (slideEl, index) {\n var $slideEl = $(slideEl);\n var slideIndex = swiper.params.loop ? parseInt($slideEl.attr('data-swiper-slide-index'), 10) : index;\n var ariaLabelMessage = params.slideLabelMessage.replace(/\\{\\{index\\}\\}/, slideIndex + 1).replace(/\\{\\{slidesLength\\}\\}/, slidesLength);\n swiper.a11y.addElLabel($slideEl, ariaLabelMessage);\n }); // Navigation\n\n var $nextEl;\n var $prevEl;\n\n if (swiper.navigation && swiper.navigation.$nextEl) {\n $nextEl = swiper.navigation.$nextEl;\n }\n\n if (swiper.navigation && swiper.navigation.$prevEl) {\n $prevEl = swiper.navigation.$prevEl;\n }\n\n if ($nextEl && $nextEl.length) {\n swiper.a11y.makeElFocusable($nextEl);\n\n if ($nextEl[0].tagName !== 'BUTTON') {\n swiper.a11y.addElRole($nextEl, 'button');\n $nextEl.on('keydown', swiper.a11y.onEnterOrSpaceKey);\n }\n\n swiper.a11y.addElLabel($nextEl, params.nextSlideMessage);\n swiper.a11y.addElControls($nextEl, wrapperId);\n }\n\n if ($prevEl && $prevEl.length) {\n swiper.a11y.makeElFocusable($prevEl);\n\n if ($prevEl[0].tagName !== 'BUTTON') {\n swiper.a11y.addElRole($prevEl, 'button');\n $prevEl.on('keydown', swiper.a11y.onEnterOrSpaceKey);\n }\n\n swiper.a11y.addElLabel($prevEl, params.prevSlideMessage);\n swiper.a11y.addElControls($prevEl, wrapperId);\n } // Pagination\n\n\n if (swiper.pagination && swiper.params.pagination.clickable && swiper.pagination.bullets && swiper.pagination.bullets.length) {\n swiper.pagination.$el.on('keydown', classesToSelector(swiper.params.pagination.bulletClass), swiper.a11y.onEnterOrSpaceKey);\n }\n },\n destroy: function destroy() {\n var swiper = this;\n if (swiper.a11y.liveRegion && swiper.a11y.liveRegion.length > 0) swiper.a11y.liveRegion.remove();\n var $nextEl;\n var $prevEl;\n\n if (swiper.navigation && swiper.navigation.$nextEl) {\n $nextEl = swiper.navigation.$nextEl;\n }\n\n if (swiper.navigation && swiper.navigation.$prevEl) {\n $prevEl = swiper.navigation.$prevEl;\n }\n\n if ($nextEl) {\n $nextEl.off('keydown', swiper.a11y.onEnterOrSpaceKey);\n }\n\n if ($prevEl) {\n $prevEl.off('keydown', swiper.a11y.onEnterOrSpaceKey);\n } // Pagination\n\n\n if (swiper.pagination && swiper.params.pagination.clickable && swiper.pagination.bullets && swiper.pagination.bullets.length) {\n swiper.pagination.$el.off('keydown', classesToSelector(swiper.params.pagination.bulletClass), swiper.a11y.onEnterOrSpaceKey);\n }\n }\n};\nexport default {\n name: 'a11y',\n params: {\n a11y: {\n enabled: true,\n notificationClass: 'swiper-notification',\n prevSlideMessage: 'Previous slide',\n nextSlideMessage: 'Next slide',\n firstSlideMessage: 'This is the first slide',\n lastSlideMessage: 'This is the last slide',\n paginationBulletMessage: 'Go to slide {{index}}',\n slideLabelMessage: '{{index}} / {{slidesLength}}',\n containerMessage: null,\n containerRoleDescriptionMessage: null,\n itemRoleDescriptionMessage: null,\n slideRole: 'group'\n }\n },\n create: function create() {\n var swiper = this;\n bindModuleMethods(swiper, {\n a11y: _extends({}, A11y, {\n liveRegion: $(\"\")\n })\n });\n },\n on: {\n afterInit: function afterInit(swiper) {\n if (!swiper.params.a11y.enabled) return;\n swiper.a11y.init();\n swiper.a11y.updateNavigation();\n },\n toEdge: function toEdge(swiper) {\n if (!swiper.params.a11y.enabled) return;\n swiper.a11y.updateNavigation();\n },\n fromEdge: function fromEdge(swiper) {\n if (!swiper.params.a11y.enabled) return;\n swiper.a11y.updateNavigation();\n },\n paginationUpdate: function paginationUpdate(swiper) {\n if (!swiper.params.a11y.enabled) return;\n swiper.a11y.updatePagination();\n },\n destroy: function destroy(swiper) {\n if (!swiper.params.a11y.enabled) return;\n swiper.a11y.destroy();\n }\n }\n};","import { Swiper, SwiperSlide } from 'swiper/react'\nimport SwiperCore, { Navigation, A11y } from 'swiper'\nimport { useRef, useState } from 'react'\nimport { useSelector } from 'react-redux'\n\nimport Image from './UI/Image'\nimport Imgix from './UI/Imgix'\nimport { getImgUrl } from '../services/getImgUrl'\nSwiperCore.use([Navigation, A11y])\n\nconst slides = [\n { id: 1, \n pic: 'https://little-honey-money.imgix.net/onboarding/Profile1.png', \n image: 'https://little-honey-money.imgix.net/onboarding/Profile1.png', \n name: 'Profile1.png', \n alt: 'img'\n },\n { id: 2, \n pic: 'https://little-honey-money.imgix.net/onboarding/Profile2.png', \n image: 'https://little-honey-money.imgix.net/onboarding/Profile2.png', \n name: 'Profile2.png', \n alt: 'img'\n },\n { id: 3, \n pic: 'https://little-honey-money.imgix.net/onboarding/Profile3.png', \n image: 'https://little-honey-money.imgix.net/onboarding/Profile3.png', \n name: 'Profile3.png', \n alt: 'img'\n }\n]\n\nconst RegistryImageUpload = (props) => {\n const registry = useSelector(({ registry }) => registry)\n const imageRef = useRef()\n const [image, setImage] = useState(getImgUrl({url: registry.image}))\n\n const handleDelete = () => {\n setImage(null)\n props.onChange(null)\n handleSlideChange({ realIndex: 0 })\n }\n\n const handleChange = async event => {\n const [file] = event.target.files\n const base64 = URL.createObjectURL(file)\n setImage(base64)\n const resized = await resizeImage(file)\n props.onChange(resized)\n }\n\n const resizeImage = file => {\n const blobToBase64 = blob => new Promise(resolve => {\n const reader = new FileReader()\n reader.onloadend = () => resolve(reader.result)\n reader.readAsDataURL(blob)\n })\n\n return new Promise(async resolve => {\n const base64 = await blobToBase64(file)\n const image = document.createElement('img')\n image.onload = () => {\n const MAX_SIZE = 1200\n let width = image.width\n let height = image.height\n if (width < MAX_SIZE && height < MAX_SIZE) {\n resolve(file)\n return\n }\n\n if (width > height) {\n width = MAX_SIZE\n height = (MAX_SIZE * image.height) / image.width\n } else {\n height = MAX_SIZE\n width = (MAX_SIZE * image.width) / image.height\n }\n\n const canvas = document.createElement('canvas')\n canvas.width = width\n canvas.height = height\n const ctx = canvas.getContext('2d')\n ctx.drawImage(image, 0, 0, width, height)\n canvas.toBlob(blob => {\n blob.name = file.name\n resolve(blob)\n }, file.type)\n }\n image.src = base64\n })\n }\n\n const handleSlideChange = ({ realIndex }) => {\n const slide = slides[realIndex]\n const request = new XMLHttpRequest()\n request.open('GET', slide.pic, true)\n request.responseType = 'blob'\n request.onload = function () {\n const reader = new FileReader()\n reader.readAsDataURL(request.response)\n reader.onload = e => {\n let arr = e.target.result.split(','),\n mime = arr[0].match(/:(.*?);/)[1],\n bstr = atob(arr[1]),\n n = bstr.length,\n u8arr = new Uint8Array(n)\n\n while (n--) {\n u8arr[n] = bstr.charCodeAt(n)\n }\n\n props.onChange(new File([u8arr], slide.name, { type: mime }))\n }\n }\n request.send()\n }\n\n return
\n
\n
\n {image ? <>\n
\n \"icon\"\n
\n
\n {image === getImgUrl({url: image, user: true}) ?\n :\n \"\"\n }\n
\n :
\n \n {slides.map((item) => (\n \n \n \n ))}\n \n
}\n
\n\n
\n \n e.target.value = null}\n />\n
\n

360 x 360px, max 5mb

\n
\n
\n}\n\nexport default RegistryImageUpload\n","import { useState } from 'react'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useForm } from 'react-hook-form'\n\nimport Image from './UI/Image'\nimport Button from './UI/Button'\nimport Input from './UI/Input'\nimport Popup from './UI/Popup'\nimport BannerImageUpload from './BannerImageUpload'\nimport RegistryImageUpload from './RegistryImageUpload'\n\nimport { fetchRegistry } from '../store/actions'\nimport services from '../services'\n\nconst EditBioRegistry = ({ onClose, onComplete, onLoading, isNew, additionalData }) => {\n const registry = useSelector(({ registry }) => registry)\n const dispatch = useDispatch()\n\n const [loading, setLoading] = useState(false)\n const [imageFile, setImageFile] = useState(null)\n const [bannerImage, setBannerImage] = useState(null)\n const [error, setError] = useState('')\n const [isDirty, setIsDirty] = useState(false)\n const [bannerCollapsed, setBannerCollapsed] = useState(false)\n\n const { register, handleSubmit, watch, formState } = useForm({\n defaultValues: {\n registryName: registry?.registryName || '',\n message: registry?.message || ''\n }\n })\n\n const handleImageChange = async image => {\n setImageFile(image)\n setIsDirty(true)\n }\n\n const handleBannerImageChange = async paths => {\n setBannerImage(paths)\n setIsDirty(true)\n }\n\n const updateImage = async () => {\n if (imageFile && registry.imageKey) {\n await services.s3.delete(registry.imageKey)\n }\n const res = await services.s3.put(imageFile)\n setImageFile(null)\n return res\n }\n\n const onSubmit = async data => {\n if (onLoading) onLoading(true)\n else setLoading(true)\n try {\n const payload = { ...data, ...additionalData}\n if (imageFile && imageFile.size > 0) {\n const { key: imageKey, url: image } = await updateImage()\n payload.image = image\n payload.imageKey = imageKey\n }\n if (bannerImage) {\n payload.bannerImage = bannerImage.path\n payload.bannerImageMobile = bannerImage.pathMobile\n }\n if (isNew) {\n const user = await services.auth.currentUser()\n const name = user.attributes.given_name\n payload.registryName = payload.registryName = \n `${name.charAt(0).toUpperCase() \n + name.slice(1)}'${\n name\n .charAt(name.length - 1)\n .toLocaleLowerCase() === 's'\n ? '' \n : 's'} Registry`\n }\n await services.api.registry.update(payload)\n await dispatch(fetchRegistry())\n if (onComplete) onComplete()\n } catch (err) {\n setError(err.message)\n if (onLoading) onLoading(false)\n } finally {\n setLoading(false)\n }\n }\n\n return \n
\n
\n \"\"\n
\n {isNew &&

Help family and friends
recognize you.

}\n {!isNew && }\n {/* TODO: remove padding with class*/}\n {!bannerCollapsed &&
\n \n\n
\n {error &&

{error}

}\n {Object.keys(formState.errors)\n .map(key =>

{formState.errors[key].message}

)}\n\n {!isNew && }\n\n \n\n
\n \n {isNew ? 'FINISH REGISTRY' : 'SAVE CHANGES'}\n \n {!isNew && }\n
\n \n
}\n
\n
\n}\n\nexport default EditBioRegistry\n","import { useSelector } from 'react-redux'\nimport { useRouter } from 'next/router'\nimport DefaultLoader from './UI/DefaultLoader'\nimport { useEffect } from 'react'\nimport services from '../services'\n\nconst PrivatePage = ({ children }) => {\n const authUser = useSelector(({ authUser }) => authUser)\n const router = useRouter()\n\n useEffect(() => {\n checkAuth()\n }, [])\n\n const checkAuth = async () => {\n if (!authUser) {\n try {\n await services.auth.currAuthUser()\n } catch (e) {\n router.push('/signin')\n }\n }\n }\n\n if (!authUser) {\n return \n }\n return children\n}\n\nexport default PrivatePage\n","import React from 'react'\nimport Link from 'next/link'\n\nconst Button = React.forwardRef((props, ref) => {\n const {\n children,\n className,\n disabled,\n processing,\n processingText,\n design,\n loading,\n href,\n ...rest\n } = props\n\n const classNames = () => {\n return `btn-${design || 'stroke'} ${className || ''} ${processing ? 'processing' : ''}`\n }\n\n return href ? \n \n {children}\n \n : \n {processing ? processingText || 'Loading' : children}\n\n {processing && <>\n .\n .\n .\n }\n \n})\n\nexport default Button\n","const Loader = () => {\n return
\n
\n
\n}\nexport default Loader\n","import NextImage from 'next/image'\n\nconst Image = ({ ...props }) => {\n if (!props.src) return null\n return \n // return \n}\n\nexport default Image\n","import Image from \"next/image\";\nimport { imgixLoader } from \"@delicious-simplicity/next-image-imgix-loader\";\n\nconst Imgix = ({ ...props }) => {\n const imgSrc = imgixLoader(props,\n {\n w: props.width,\n h: props.height,\n fm: 'webp',\n fit: 'crop',\n auto: 'compress'\n })?.replace(\"%25\", \"%\")\n\n return imgSrc}\n placeholder={props.width < 40 && props.height < 40 ? null : 'blur'}\n blurDataURL={imgSrc}\n src={imgSrc}\n alt={props.alt}\n width={props.width}\n height={props.height}\n {...props}\n />\n}\n\nexport default Imgix\n","import React, { useState, useRef, useEffect } from 'react'\nimport Cleave from 'cleave.js'\nimport Image from 'next/image'\n// import $ from 'jquery'\n\nimport services from '../../services'\nimport { DEFAULT_DATE_FORMAT } from '../../services/format'\n\nlet cleave = null\nlet litepicker = null\n\nconst Input = props => {\n const {\n label,\n className,\n id,\n type,\n placeholder,\n icon,\n hideEye,\n value,\n tabIndex,\n maxLength,\n onChange,\n mask,\n selected,\n autocomplete,\n autoFocus,\n name,\n note,\n register,\n checked,\n ...rest\n } = props\n const wrapperRef = useRef('')\n const [showPass, setShowPass] = useState(false)\n const [stateValue, setStateValue] = useState(value)\n\n useEffect(() => {\n if (cleave) cleave.destroy()\n if (mask) {\n cleave = new Cleave(getInput(), {\n ...mask,\n onValueChanged: e => {\n if (e.target.value !== value) {\n handleChange(e)\n // if (register?.onChange) {\n // register.onChange({ target: { name, value: stateValue } })\n // }\n }\n }\n })\n return () => {\n if (cleave) cleave.destroy()\n }\n }\n }, [mask])\n\n useEffect(() => {\n if (type === 'date') {\n setStateValue(stateValue ? services.format.date(stateValue) : '')\n if (typeof window !== 'undefined') {\n if (litepicker) litepicker.destroy()\n import('litepicker').then(({ Litepicker }) => {\n litepicker = new Litepicker({\n element: getInput(),\n autoApply: true,\n dropdowns: { minYear: 1900, maxYear: 2200, months: true, years: true },\n format: DEFAULT_DATE_FORMAT.toUpperCase(),\n setup: (picker) => {\n picker.on('selected', (val) => {\n handleChange({ target: { value: services.format.date(val.dateInstance) } })\n // if (register?.onChange) {\n // register.onChange({ target: { name, value: stateValue } })\n // }\n })\n // picker.on('render', async (ui) => {\n // await import('selectric')\n // $(ui).find('.month-item-header select').selectric(\n // {\n // onChange (target) {\n // const event = new Event('change');\n // target.dispatchEvent(event)\n // }\n // }\n // )\n // })\n }\n })\n })\n }\n }\n }, [])\n\n useEffect(() => {\n if (onChange) {\n onChange({ target: { name, value: stateValue } })\n }\n }, [stateValue])\n\n useEffect(() => {\n if (stateValue !== value) {\n setStateValue(value)\n }\n }, [value])\n\n useEffect(() => {\n if(autoFocus) {\n getInput().focus()\n }\n })\n\n const handleChange = (e) => {\n if (type === 'radio') {\n if (register?.onChange) {\n register.onChange({ target: { name, value: e.target.value } })\n } else if (onChange) {\n onChange(e)\n }\n } else {\n setStateValue(e.target.value)\n if (register?.onChange) {\n register.onChange({ target: { name, value: e.target.value } })\n }\n }\n }\n\n const classNames = () => {\n return `inp-primary ${className || ''}`\n }\n\n const getInput = () => {\n return wrapperRef.current ? wrapperRef.current.querySelector('input') : {}\n }\n\n return (\n
\n \n {label && (\n \n {label}\n \n )}\n {icon && \"icon\"/}\n {type === 'password' &&\n !hideEye &&\n (showPass ? (\n \"icon\"\n setShowPass(false)}\n />\n ) : (\n \"icon\"\n setShowPass(true)}\n />\n ))}\n {note && }\n
\n )\n}\n\nexport default Input\n","import { useEffect } from 'react'\n\nconst Popup = (props) => {\n useEffect(() => {\n const body = document.body\n body.classList.add('dis-scroll')\n return () => body.classList.remove('dis-scroll')\n }, [])\n\n return props.children\n}\n\nexport default Popup\n","const defaultPrefix = 'https://little-honey-money.imgix.net'\nconst defaultProdPrefix = 'little-honey-money-prod.imgix.net'\n\nexport const getImgUrl = ({url, user = false, random = false}) => {\n if (user) {\n if (url?.includes('staging')) {\n return url;\n } else if (url?.includes('production')) {\n if (url?.includes('lhmbucket2d2ce-production.s3.amazonaws.com')) {\n return url.replace(\n 'lhmbucket2d2ce-production.s3.amazonaws.com',\n defaultProdPrefix);\n } else {\n return url.replace(\n 'littlehoneymoneymono7f0240784375423388eff13e20d-production.s3.amazonaws.com',\n defaultProdPrefix);\n }\n } else if(random) {\n return `${defaultPrefix}/onboarding/Profile1.png`\n } else {\n return null\n }\n } else {\n return url || null\n }\n}\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport $ from '../../utils/dom';\nimport { extend, bindModuleMethods, createElementIfNotDefined } from '../../utils/utils';\nvar Navigation = {\n toggleEl: function toggleEl($el, disabled) {\n $el[disabled ? 'addClass' : 'removeClass'](this.params.navigation.disabledClass);\n if ($el[0] && $el[0].tagName === 'BUTTON') $el[0].disabled = disabled;\n },\n update: function update() {\n // Update Navigation Buttons\n var swiper = this;\n var params = swiper.params.navigation;\n var toggleEl = swiper.navigation.toggleEl;\n if (swiper.params.loop) return;\n var _swiper$navigation = swiper.navigation,\n $nextEl = _swiper$navigation.$nextEl,\n $prevEl = _swiper$navigation.$prevEl;\n\n if ($prevEl && $prevEl.length > 0) {\n if (swiper.isBeginning) {\n toggleEl($prevEl, true);\n } else {\n toggleEl($prevEl, false);\n }\n\n if (swiper.params.watchOverflow && swiper.enabled) {\n $prevEl[swiper.isLocked ? 'addClass' : 'removeClass'](params.lockClass);\n }\n }\n\n if ($nextEl && $nextEl.length > 0) {\n if (swiper.isEnd) {\n toggleEl($nextEl, true);\n } else {\n toggleEl($nextEl, false);\n }\n\n if (swiper.params.watchOverflow && swiper.enabled) {\n $nextEl[swiper.isLocked ? 'addClass' : 'removeClass'](params.lockClass);\n }\n }\n },\n onPrevClick: function onPrevClick(e) {\n var swiper = this;\n e.preventDefault();\n if (swiper.isBeginning && !swiper.params.loop) return;\n swiper.slidePrev();\n },\n onNextClick: function onNextClick(e) {\n var swiper = this;\n e.preventDefault();\n if (swiper.isEnd && !swiper.params.loop) return;\n swiper.slideNext();\n },\n init: function init() {\n var swiper = this;\n var params = swiper.params.navigation;\n swiper.params.navigation = createElementIfNotDefined(swiper.$el, swiper.params.navigation, swiper.params.createElements, {\n nextEl: 'swiper-button-next',\n prevEl: 'swiper-button-prev'\n });\n if (!(params.nextEl || params.prevEl)) return;\n var $nextEl;\n var $prevEl;\n\n if (params.nextEl) {\n $nextEl = $(params.nextEl);\n\n if (swiper.params.uniqueNavElements && typeof params.nextEl === 'string' && $nextEl.length > 1 && swiper.$el.find(params.nextEl).length === 1) {\n $nextEl = swiper.$el.find(params.nextEl);\n }\n }\n\n if (params.prevEl) {\n $prevEl = $(params.prevEl);\n\n if (swiper.params.uniqueNavElements && typeof params.prevEl === 'string' && $prevEl.length > 1 && swiper.$el.find(params.prevEl).length === 1) {\n $prevEl = swiper.$el.find(params.prevEl);\n }\n }\n\n if ($nextEl && $nextEl.length > 0) {\n $nextEl.on('click', swiper.navigation.onNextClick);\n }\n\n if ($prevEl && $prevEl.length > 0) {\n $prevEl.on('click', swiper.navigation.onPrevClick);\n }\n\n extend(swiper.navigation, {\n $nextEl: $nextEl,\n nextEl: $nextEl && $nextEl[0],\n $prevEl: $prevEl,\n prevEl: $prevEl && $prevEl[0]\n });\n\n if (!swiper.enabled) {\n if ($nextEl) $nextEl.addClass(params.lockClass);\n if ($prevEl) $prevEl.addClass(params.lockClass);\n }\n },\n destroy: function destroy() {\n var swiper = this;\n var _swiper$navigation2 = swiper.navigation,\n $nextEl = _swiper$navigation2.$nextEl,\n $prevEl = _swiper$navigation2.$prevEl;\n\n if ($nextEl && $nextEl.length) {\n $nextEl.off('click', swiper.navigation.onNextClick);\n $nextEl.removeClass(swiper.params.navigation.disabledClass);\n }\n\n if ($prevEl && $prevEl.length) {\n $prevEl.off('click', swiper.navigation.onPrevClick);\n $prevEl.removeClass(swiper.params.navigation.disabledClass);\n }\n }\n};\nexport default {\n name: 'navigation',\n params: {\n navigation: {\n nextEl: null,\n prevEl: null,\n hideOnClick: false,\n disabledClass: 'swiper-button-disabled',\n hiddenClass: 'swiper-button-hidden',\n lockClass: 'swiper-button-lock'\n }\n },\n create: function create() {\n var swiper = this;\n bindModuleMethods(swiper, {\n navigation: _extends({}, Navigation)\n });\n },\n on: {\n init: function init(swiper) {\n swiper.navigation.init();\n swiper.navigation.update();\n },\n toEdge: function toEdge(swiper) {\n swiper.navigation.update();\n },\n fromEdge: function fromEdge(swiper) {\n swiper.navigation.update();\n },\n destroy: function destroy(swiper) {\n swiper.navigation.destroy();\n },\n 'enable disable': function enableDisable(swiper) {\n var _swiper$navigation3 = swiper.navigation,\n $nextEl = _swiper$navigation3.$nextEl,\n $prevEl = _swiper$navigation3.$prevEl;\n\n if ($nextEl) {\n $nextEl[swiper.enabled ? 'removeClass' : 'addClass'](swiper.params.navigation.lockClass);\n }\n\n if ($prevEl) {\n $prevEl[swiper.enabled ? 'removeClass' : 'addClass'](swiper.params.navigation.lockClass);\n }\n },\n click: function click(swiper, e) {\n var _swiper$navigation4 = swiper.navigation,\n $nextEl = _swiper$navigation4.$nextEl,\n $prevEl = _swiper$navigation4.$prevEl;\n var targetEl = e.target;\n\n if (swiper.params.navigation.hideOnClick && !$(targetEl).is($prevEl) && !$(targetEl).is($nextEl)) {\n if (swiper.pagination && swiper.params.pagination && swiper.params.pagination.clickable && (swiper.pagination.el === targetEl || swiper.pagination.el.contains(targetEl))) return;\n var isHidden;\n\n if ($nextEl) {\n isHidden = $nextEl.hasClass(swiper.params.navigation.hiddenClass);\n } else if ($prevEl) {\n isHidden = $prevEl.hasClass(swiper.params.navigation.hiddenClass);\n }\n\n if (isHidden === true) {\n swiper.emit('navigationShow');\n } else {\n swiper.emit('navigationHide');\n }\n\n if ($nextEl) {\n $nextEl.toggleClass(swiper.params.navigation.hiddenClass);\n }\n\n if ($prevEl) {\n $prevEl.toggleClass(swiper.params.navigation.hiddenClass);\n }\n }\n }\n }\n};"],"names":["lHMMobileContrast","lHMMobileDay","lHMMobileGolden","lHMMobileHorizon","lHMMobileMarble","lHMMobilePaint","lHMMobilePeach","lHMMobilePlaster","lHMMobilePurple","lHMMobileRouge","lHMMobileShadow","lHMMobileShore","lHMMobileSky","lHMMobileSpeckle","lHMMobileStone","lHMMobileStucco","lHMMobileTan","lHMMobileWall","images","id","image","path","mobilePath","alt","value","collapsed","props","registry","useSelector","useState","bannerImage","setImage","div","className","style","backgroundImage","Button","design","onClick","onToggle","map","item","index","label","input","type","name","onChange","banner","pathMobile","Imgix","width","height","src","_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","A11y","getRandomNumber","size","repeat","replace","Math","round","random","toString","makeElFocusable","$el","attr","makeElNotFocusable","addElRole","role","addElRoleDescription","description","addElControls","controls","addElLabel","addElId","addElLive","live","disableEl","enableEl","onEnterOrSpaceKey","e","keyCode","swiper","params","a11y","$targetEl","navigation","$nextEl","is","isEnd","loop","slideNext","notify","lastSlideMessage","nextSlideMessage","$prevEl","isBeginning","slidePrev","firstSlideMessage","prevSlideMessage","pagination","bulletClass","click","message","notification","liveRegion","html","updateNavigation","_swiper$navigation","updatePagination","clickable","bullets","each","bulletEl","$bulletEl","renderBullet","paginationBulletMessage","init","append","$containerEl","containerRoleDescriptionMessage","containerMessage","$wrapperEl","wrapperId","autoplay","enabled","itemRoleDescriptionMessage","slides","slideRole","slidesLength","filter","el","classList","contains","slideDuplicateClass","slideEl","$slideEl","slideIndex","parseInt","ariaLabelMessage","slideLabelMessage","tagName","on","destroy","remove","off","notificationClass","create","afterInit","toEdge","fromEdge","paginationUpdate","SwiperCore","Navigation","pic","imageRef","useRef","getImgUrl","url","handleChange","event","file","base64","resized","files","URL","createObjectURL","resizeImage","blobToBase64","blob","Promise","resolve","reader","FileReader","onloadend","result","readAsDataURL","document","createElement","onload","MAX_SIZE","canvas","getContext","drawImage","toBlob","handleSlideChange","realIndex","slide","request","XMLHttpRequest","open","responseType","response","arr","split","mime","match","bstr","atob","n","u8arr","Uint8Array","charCodeAt","File","send","Image","placeholder","user","Swiper","spaceBetween","slidesPerView","onSlideChange","SwiperSlide","htmlFor","ref","accept","p","onClose","onComplete","onLoading","isNew","additionalData","dispatch","useDispatch","loading","setLoading","imageFile","setImageFile","setBannerImage","error","setError","isDirty","setIsDirty","bannerCollapsed","setBannerCollapsed","useForm","defaultValues","registryName","register","handleSubmit","watch","formState","handleImageChange","handleBannerImageChange","paths","updateImage","res","imageKey","services","onSubmit","data","payload","bannerImageMobile","attributes","given_name","charAt","toUpperCase","slice","toLocaleLowerCase","fetchRegistry","err","Popup","section","h1","br","BannerImageUpload","padding","RegistryImageUpload","form","keys","errors","Input","required","textarea","cols","rows","maxLength","processing","processingText","disabled","children","authUser","router","useRouter","useEffect","checkAuth","push","DefaultLoader","React","href","rest","classNames","Link","a","button","span","NextImage","lazyBoundary","quality","imgixLoader","imgSrc","w","h","fm","fit","auto","loader","blurDataURL","cleave","litepicker","icon","hideEye","tabIndex","mask","autocomplete","selected","autoFocus","note","checked","wrapperRef","showPass","setShowPass","stateValue","setStateValue","Cleave","getInput","onValueChanged","then","Litepicker","element","autoApply","dropdowns","minYear","maxYear","months","years","format","DEFAULT_DATE_FORMAT","setup","picker","val","dateInstance","focus","current","querySelector","autoComplete","body","add","defaultProdPrefix","includes","toggleEl","disabledClass","update","watchOverflow","isLocked","lockClass","onPrevClick","preventDefault","onNextClick","createElements","nextEl","prevEl","uniqueNavElements","find","addClass","_swiper$navigation2","removeClass","hideOnClick","hiddenClass","_swiper$navigation3","_swiper$navigation4","targetEl","isHidden","hasClass","emit","toggleClass"],"sourceRoot":""}