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AAA9B,CAAA,GC7D2B,WAAA9Q,CAAA,EAAAA,CAAA,CAAAqT,CAAA,kFAAArT,CAAA,CAAAA,CAAA,CAAAwR,CAAA,UAAA8B,IAAA,CAAAtT,CAAA,CAAAqT,CAAA","sources":["webpack://_N_E/?3ebd","webpack://_N_E/./src/theme/modal/confirm.js","webpack://_N_E/./src/components/billing/profiles/billing-profiles.js","webpack://_N_E/./src/theme/tax-interview-card/index.js","webpack://_N_E/./src/components/billing/profiles/tax-interviews.js","webpack://_N_E/./src/components/billing/profiles/index.js","webpack://_N_E/./src/pages/billing/profiles.js","webpack://_N_E/./src/redux/reselect/taxInterviews.js","webpack://_N_E/./src/theme/alert-message/index.js","webpack://_N_E/./src/theme/buttons/btn.js","webpack://_N_E/./src/theme/sub-menu/index.js","webpack://_N_E/./node_modules/react-icons/lib/esm/iconsManifest.js","webpack://_N_E/./node_modules/react-icons/lib/esm/iconContext.js","webpack://_N_E/./node_modules/react-icons/lib/esm/iconBase.js","webpack://_N_E/./node_modules/react-icons/lib/esm/index.js","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/billing/profiles\",\n function () {\n return require(\"private-next-pages/billing/profiles.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/billing/profiles\"])\n });\n }\n ","import React from 'react';\nimport styled, { createGlobalStyle } from 'styled-components';\nimport { color, layout } from 'styled-system';\nimport { themeGet } from '@styled-system/theme-get';\nimport Text from 'theme/text';\nimport Button from 'theme/buttons/btn';\nimport BtnLink from 'theme/buttons/btn-link';\nimport CloseIcon from 'theme/icons/close';\n\nconst GlobalStyle = createGlobalStyle`\n body {\n overflow-y: hidden;\n }\n`;\n\nconst Wrapper = styled.div`\n width: 100%;\n height: 100%;\n display: ${({ isVisible }) => (isVisible ? 'flex' : 'none')};\n justify-content: center;\n align-items: center;\n\n position: fixed;\n top: 0;\n left: 0;\n background-color: rgba(6, 119, 134, 0.6);\n z-index: 999;\n\n & > div {\n ::-webkit-scrollbar {\n display: none; /* Chrome Safari */\n }\n\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* IE 10+ */\n overflow-y: scroll;\n overflow-x: hidden;\n }\n`;\n\nconst Content = styled.div`\n ${color}\n ${layout}\n\n border-radius: 12px;\n overflow: hidden;\n padding: ${themeGet('space.s')}px ${themeGet('space.s')}px;\n\n & > .head {\n background: ${themeGet('colors.white')};\n\n & > .wrap-close {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n }\n\n & > .wrap-title {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n }\n }\n\n & > .body {\n display: flex;\n flex-direction: row;\n padding: ${themeGet('space.s')}px ${themeGet('space.l')}px ${themeGet('space.l')}px;\n }\n\n & > .footer {\n display: flex;\n flex-direction: row;\n justify-content: center;\n padding: 0 ${themeGet('space.s')}px;\n }\n`;\n\nfunction ModalConfirm({\n contentStyle,\n width,\n style,\n isVisible,\n title,\n message,\n onClickCancel,\n onClickOk,\n okLabel,\n}) {\n return (\n \n {isVisible && }\n\n
\n \n
\n
\n }\n onClick={onClickCancel}\n title={'Close'}\n />\n
\n
\n \n {title}\n \n
\n
\n
\n \n {message}\n \n
\n
\n \n
\n
\n
\n
\n );\n}\n\nexport default ModalConfirm;\n","/* eslint-disable no-nested-ternary */\nimport React, { useCallback, useState, useMemo } from 'react';\nimport { useRouter } from 'next/router';\nimport styled from 'styled-components';\nimport { flexbox, layout } from 'styled-system';\nimport { themeGet } from '@styled-system/theme-get';\nimport { useSelector } from 'react-redux';\nimport { selectBillingProfiles } from 'redux-api/reselect/billing';\nimport ContentLoader from 'theme/content-loader';\nimport BillingProfileCard from 'theme/billing-profile-card';\nimport Text from 'theme/text';\nimport BtnLink from 'theme/buttons/btn-link';\nimport Plus from 'theme/icons/plus';\nimport ModalConfirm from 'theme/modal/confirm';\nimport translations from 'translations';\n\nconst Section = styled.div`\n width: 100%;\n max-width: 2100px;\n`;\n\nconst Row = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n\n ${flexbox}\n`;\n\nconst CardsContainer = styled.div`\n display: flex;\n flex-direction: row;\n width: 100%;\n margin: ${themeGet('space.m')}px 0;\n padding: ${themeGet('space.s')}px;\n background: ${themeGet('colors.primary_100')};\n border: 1px solid ${themeGet('colors.primary_200')};\n border-radius: 12px;\n overflow: auto;\n\n ${layout}\n`;\n\nconst WrapEmpty = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 220px;\n`;\n\nfunction BillingProfiles({ summaryVariant, ids }) {\n const { push } = useRouter();\n\n const [modalNewProfileVisible, setModalNewProfileVisible] = useState(false);\n\n const { languageCode } = useSelector((state) => state.config);\n const { isProfilesWaiting } = useSelector((state) => state.billing);\n const billingProfiles = useSelector(selectBillingProfiles);\n\n const handleNewProfile = useCallback(() => {\n if (billingProfiles.total === 0) {\n return push('/billing/profile');\n }\n\n return setModalNewProfileVisible(true);\n }, [push, billingProfiles.total]);\n\n const handleNewProfileCancel = useCallback(() => {\n setModalNewProfileVisible(false);\n }, []);\n\n const handleNewProfileOk = useCallback(() => {\n setModalNewProfileVisible(false);\n push('/billing/profile');\n }, [push]);\n\n const filteredBillingProfiles = useMemo(() => {\n if (!summaryVariant) return billingProfiles;\n\n const { profiles } = billingProfiles;\n\n const filtered = profiles.filter((profile) => Array.isArray(ids) && ids.includes(profile.id));\n\n return {\n total: filtered.length,\n totalDraft: filtered.filter((profile) => profile.isDraft).length,\n profiles: filtered,\n };\n }, [ids, billingProfiles, summaryVariant]);\n\n return (\n
\n \n \n \n {summaryVariant\n ? translations[languageCode]['Associated profiles']\n : translations[languageCode]['Billing Profiles']}\n \n \n {filteredBillingProfiles.total}\n \n\n \n {`(${filteredBillingProfiles.totalDraft} ${translations[languageCode].Draft})`}\n \n \n\n {!summaryVariant && (\n \n }\n onClick={handleNewProfile}\n />\n \n )}\n \n \n {isProfilesWaiting ? (\n \n ) : filteredBillingProfiles.profiles.length === 0 ? (\n \n \n {summaryVariant\n ? translations[languageCode][\"You don't have a “Billing Profile” associated\"]\n : translations[languageCode][\"You don't have a “Billing Profile” yet\"]}\n \n \n ) : (\n filteredBillingProfiles.profiles.map((profile) => (\n \n ))\n )}\n \n\n \n
\n );\n}\n\nexport default BillingProfiles;\n","import React, { useCallback } from 'react';\nimport { useRouter } from 'next/router';\nimport styled from 'styled-components';\nimport { layout, space, flexbox, border, color, position } from 'styled-system';\nimport { CircleFlag } from 'react-circle-flags';\nimport StatusLabel from 'theme/status-label';\nimport Text from 'theme/text';\n\nconst Wrapper = styled.button`\n position: relative;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n flex: 1;\n width: 100%;\n min-width: 390px;\n min-height: 148px;\n box-sizing: border-box;\n border-radius: 8px;\n padding: 16px 16px 16px 32px;\n\n ${space}\n ${border}\n ${color}\n ${layout}\n`;\n\nconst Flex = styled.div`\n display: flex;\n\n ${flexbox}\n ${space}\n ${position}\n`;\n\nconst StyledText = styled(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n user-select: none;\n`;\n\nconst StyledCircleFlag = styled(CircleFlag)`\n width: 22px;\n height: 22px;\n margin-left: 8px;\n`;\n\nfunction TaxInterviewCard({\n id,\n style,\n label,\n year,\n onClick,\n isDraft,\n isDefault,\n countryCode,\n languageCode,\n}) {\n const { push } = useRouter();\n\n const handleClick = useCallback(() => {\n if (onClick) return onClick(id);\n\n return push({ pathname: '/billing/summary-tax-interview', query: { id } });\n }, [push, onClick, id]);\n\n return (\n \n \n \n {!isDraft && (\n \n )}\n {!!isDraft && }\n\n {isDefault && (\n \n )}\n\n {!!countryCode && }\n \n \n\n \n {label}\n \n\n \n {year}\n \n \n );\n}\n\nexport default TaxInterviewCard;\n","/* eslint-disable no-nested-ternary */\nimport React, { useCallback, useEffect } from 'react';\nimport { useRouter } from 'next/router';\nimport styled from 'styled-components';\nimport { flexbox, layout } from 'styled-system';\nimport { themeGet } from '@styled-system/theme-get';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { getTaxInterviewsRequest } from 'redux-api/action/taxInterviews';\nimport selectTaxInterviews from 'redux-api/reselect/taxInterviews';\nimport ContentLoader from 'theme/content-loader';\nimport TaxInterviewCard from 'theme/tax-interview-card';\nimport Text from 'theme/text';\nimport BtnLink from 'theme/buttons/btn-link';\nimport Plus from 'theme/icons/plus';\nimport translations from 'translations';\n\nconst Section = styled.div`\n width: 100%;\n max-width: 2100px;\n`;\n\nconst Row = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n\n ${flexbox}\n`;\n\nconst CardsContainer = styled.div`\n display: flex;\n flex-direction: row;\n width: 100%;\n margin: ${themeGet('space.m')}px 0;\n padding: ${themeGet('space.s')}px;\n background: ${themeGet('colors.primary_100')};\n border: 1px solid ${themeGet('colors.primary_200')};\n border-radius: 12px;\n overflow: auto;\n\n ${layout}\n`;\n\nconst WrapEmpty = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 220px;\n`;\n\nfunction TaxInterviews() {\n const dispatch = useDispatch();\n\n const { push } = useRouter();\n\n const { languageCode } = useSelector((state) => state.config);\n const { isWaiting } = useSelector((state) => state.billing);\n const payload = useSelector(selectTaxInterviews);\n\n useEffect(() => {\n dispatch(\n getTaxInterviewsRequest({\n page: 0,\n pageSize: 10,\n }),\n );\n }, [dispatch]);\n\n const handleOnClickNew = useCallback(() => push('/billing/tax-interview'), [push]);\n\n return (\n
\n \n \n \n {translations[languageCode]['Tax Interviews']}\n \n\n \n {payload.totalCount}\n \n \n\n \n }\n onClick={handleOnClickNew}\n />\n \n \n\n \n {isWaiting ? (\n \n ) : payload.totalCount === 0 ? (\n \n \n {translations[languageCode][\"You don't have a “Tax Interview” yet\"]}\n \n \n ) : (\n payload.data.map((taxInterview) => (\n \n ))\n )}\n \n
\n );\n}\n\nexport default TaxInterviews;\n","/* eslint-disable no-nested-ternary */\nimport React, { useEffect } from 'react';\nimport styled from 'styled-components';\nimport { space } from 'styled-system';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { getBillingProfilesRequest } from 'redux-api/action/billing';\nimport selectProfile from 'redux-api/reselect/profile';\nimport BillingProfiles from './billing-profiles';\nimport PaymentAccounts from './payment-accounts';\nimport TaxInterviews from './tax-interviews';\n\nconst Wrapper = styled.div`\n ${space}\n\n display: flex;\n align-items: center;\n flex-direction: column;\n\n & > div {\n width: 100%;\n max-width: 2100px;\n }\n`;\n\nfunction Profiles() {\n const dispatch = useDispatch();\n\n const {\n payload: { company },\n } = useSelector(selectProfile);\n\n useEffect(() => {\n dispatch(getBillingProfilesRequest());\n }, [dispatch]);\n\n return (\n \n
\n \n\n \n\n {!!company && company.code === 'SL_US' && }\n
\n
\n );\n}\n\nexport default Profiles;\n","import React from 'react';\nimport styled from 'styled-components';\nimport { space } from 'styled-system';\nimport { themeGet } from '@styled-system/theme-get';\nimport { useSelector } from 'react-redux';\nimport AuthSwitch from 'components/auth-switch';\nimport WarningNotification from 'components/warning-notification';\nimport Profiles from 'components/billing/profiles';\nimport Header from 'theme/header';\nimport Body from 'theme/layouts/body';\nimport SubMenu from 'theme/sub-menu';\nimport Text from 'theme/text';\nimport translations from 'translations';\nimport TopBar from 'components/top-bar';\n\nconst Wrapper = styled.div`\n ${space}\n\n min-width: 1024px;\n`;\n\nconst StyledWarningNotification = styled(WarningNotification)`\n padding: ${themeGet('space.l')}px ${themeGet('space.l')}px 0;\n`;\n\nfunction BillingProfilesPage() {\n const { languageCode } = useSelector((state) => state.config);\n\n return (\n \n \n \n \n\n \n {translations[languageCode].billing}\n \n }\n />\n\n \n\n \n\n \n \n \n );\n}\n\nexport default BillingProfilesPage;\n","/* eslint-disable camelcase */\nimport { createSelector } from 'reselect';\nimport moment from 'moment';\n\nconst selectTaxInterviews = createSelector(\n (state) => state.taxInterviews.payload,\n (payload) => {\n const { data, meta } = payload;\n\n if (!data || !data.length) {\n return { pageNumber: 1, perPage: 10, totalPages: 0, totalCount: 0, data: [] };\n }\n\n const {\n pageNumber: { current },\n perPage,\n totalPages,\n totalCount,\n } = meta;\n\n return {\n pageNumber: current,\n perPage,\n totalPages,\n totalCount,\n data: data.map(({ id, attributes, links: { downloadLink } }) => ({\n key: id,\n id,\n ...attributes,\n ...attributes.formData,\n bornOn:\n attributes.formData && attributes.formData.bornOn\n ? moment(attributes.formData.bornOn, 'YYYY-MM-DD')\n : null,\n isDraft: !attributes.formDataValid,\n downloadLink,\n })),\n };\n },\n);\n\nconst selectTaxInterviewFormErrors = createSelector(\n (state) => state.taxInterviews.errors,\n (payload) => {\n let errors = {};\n\n if (payload && payload.status === 'CUSTOM-ERROR') {\n payload.data.errors.forEach(({ type, detail }) => {\n const field = type.split(':')[1];\n\n errors = {\n ...errors,\n [field]: detail,\n };\n });\n }\n\n return errors;\n },\n);\n\nconst selectWithholdingCode = createSelector(\n (state) => state.taxInterviews.withholdingCode,\n (payload) => {\n const { data } = payload;\n\n if (!data || !data.id) {\n return { name: '', code: '' };\n }\n\n return { name: data.attributes.name, code: data.attributes.code };\n },\n);\n\nexport default selectTaxInterviews;\nexport { selectTaxInterviewFormErrors, selectWithholdingCode };\n","import React from 'react';\nimport styled from 'styled-components';\nimport { space, color } from 'styled-system';\nimport { themeGet } from '@styled-system/theme-get';\nimport Text from 'theme/text';\nimport Alert from 'theme/icons/alert';\n\nconst Wrapper = styled.div`\n display: flex;\n flex-direction: row;\n\n & > span {\n display: flex;\n align-items: center;\n color: ${themeGet('colors.warning')};\n }\n\n ${space}\n ${color}\n`;\n\nfunction AlertMessage({ message, style }) {\n return (\n \n \n \n \n \n {message}\n \n \n );\n}\n\nexport default AlertMessage;\n","import React from 'react';\nimport { layout, space, color, typography } from 'styled-system';\nimport { themeGet } from '@styled-system/theme-get';\nimport styled, { keyframes } from 'styled-components';\nimport Loader from 'theme/icons/loader';\n\nconst rotate = keyframes`\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n`;\n\nconst Button = styled.button`\n height: 56px;\n min-width: 140px;\n background: transparent;\n outline: 0;\n\n & > span {\n background: ${({ isFocused }) =>\n isFocused ? themeGet('colors.primary_600') : themeGet('colors.primary_400')};\n border-radius: 12px;\n\n padding: 0 ${themeGet('space.s')}px;\n\n width: 100%;\n height: 100%;\n\n ${color}\n ${typography}\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n &:hover {\n background: ${themeGet('colors.primary_500')};\n }\n\n &:focus {\n background: ${themeGet('colors.primary_600')};\n }\n }\n\n &:focus {\n background: transparent;\n }\n\n &:disabled {\n opacity: 0.5;\n }\n\n ${space}\n ${layout}\n`;\n\nconst WrapLoader = styled.div`\n margin-left: ${themeGet('space.xs')}px;\n width: 18px;\n height: 18px;\n animation: ${rotate} 2s linear infinite;\n`;\n\nfunction Btn({ style, label, type, onClick, disabled, title, isWaiting }) {\n return (\n \n \n {label}\n {isWaiting && (\n \n \n \n )}\n \n \n );\n}\n\nexport default Btn;\n","import React from 'react';\nimport Link from 'next/link';\nimport styled from 'styled-components';\nimport { space, color } from 'styled-system';\nimport { themeGet } from '@styled-system/theme-get';\nimport Text from 'theme/text';\n\nconst Wrapper = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n width: 100%;\n border-bottom: 1px solid ${themeGet('colors.primary_200')};\n\n ${space}\n\n & > a {\n text-decoration: none;\n }\n`;\n\nconst TabBtn = styled.button`\n border-radius: 8px;\n ${color}\n ${space}\n`;\n\nconst HorizontalDivider = styled.div`\n width: 2px;\n height: 34px; /* Altezza adeguata per stare tra i bottoni */\n background-color: ${themeGet('colors.primary_200')};\n margin: 0 8px; /* Spazio tra gli elementi */\n`;\n\nfunction SubMenu({ activeKey, options }) {\n const isConfirmed = options.length > 0 && options[1].key === \"confirmed\";\n\n return (\n \n {options.map((option, index) => {\n const isSecondWithOnClick = index === 1 && option.onClick;\n const nextOptionExists = index < options.length - 1;\n\n return (\n \n {!option.onClick ? (\n \n \n \n \n {option.title}\n \n \n \n \n ) : (\n \n \n {option.title}\n \n \n )}\n\n {/* Inserisce il divider solo se la prima opzione NON è \"aggregated_data\" */}\n {isSecondWithOnClick && nextOptionExists && isConfirmed && }\n \n );\n })}\n \n );\n}\n\nexport default SubMenu;","export var IconsManifest = [\n {\n \"id\": \"ci\",\n \"name\": \"Circum Icons\",\n \"projectUrl\": \"https://circumicons.com/\",\n \"license\": \"MPL-2.0 license\",\n \"licenseUrl\": \"https://github.com/Klarr-Agency/Circum-Icons/blob/main/LICENSE\"\n },\n {\n \"id\": \"fa\",\n \"name\": \"Font Awesome 5\",\n \"projectUrl\": \"https://fontawesome.com/\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"fa6\",\n \"name\": \"Font Awesome 6\",\n \"projectUrl\": \"https://fontawesome.com/\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"io\",\n \"name\": \"Ionicons 4\",\n \"projectUrl\": \"https://ionicons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"io5\",\n \"name\": \"Ionicons 5\",\n \"projectUrl\": \"https://ionicons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"md\",\n \"name\": \"Material Design icons\",\n \"projectUrl\": \"http://google.github.io/material-design-icons/\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"https://github.com/google/material-design-icons/blob/master/LICENSE\"\n },\n {\n \"id\": \"ti\",\n \"name\": \"Typicons\",\n \"projectUrl\": \"http://s-ings.com/typicons/\",\n \"license\": \"CC BY-SA 3.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by-sa/3.0/\"\n },\n {\n \"id\": \"go\",\n \"name\": \"Github Octicons icons\",\n \"projectUrl\": \"https://octicons.github.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/primer/octicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"fi\",\n \"name\": \"Feather\",\n \"projectUrl\": \"https://feathericons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/feathericons/feather/blob/master/LICENSE\"\n },\n {\n \"id\": \"lu\",\n \"name\": \"Lucide\",\n \"projectUrl\": \"https://lucide.dev/\",\n \"license\": \"ISC\",\n \"licenseUrl\": \"https://github.com/lucide-icons/lucide/blob/main/LICENSE\"\n },\n {\n \"id\": \"gi\",\n \"name\": \"Game Icons\",\n \"projectUrl\": \"https://game-icons.net/\",\n \"license\": \"CC BY 3.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/3.0/\"\n },\n {\n \"id\": \"wi\",\n \"name\": \"Weather Icons\",\n \"projectUrl\": \"https://erikflowers.github.io/weather-icons/\",\n \"license\": \"SIL OFL 1.1\",\n \"licenseUrl\": \"http://scripts.sil.org/OFL\"\n },\n {\n \"id\": \"di\",\n \"name\": \"Devicons\",\n \"projectUrl\": \"https://vorillaz.github.io/devicons/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"ai\",\n \"name\": \"Ant Design Icons\",\n \"projectUrl\": \"https://github.com/ant-design/ant-design-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"bs\",\n \"name\": \"Bootstrap Icons\",\n \"projectUrl\": \"https://github.com/twbs/icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"ri\",\n \"name\": \"Remix Icon\",\n \"projectUrl\": \"https://github.com/Remix-Design/RemixIcon\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"http://www.apache.org/licenses/\"\n },\n {\n \"id\": \"fc\",\n \"name\": \"Flat Color Icons\",\n \"projectUrl\": \"https://github.com/icons8/flat-color-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"gr\",\n \"name\": \"Grommet-Icons\",\n \"projectUrl\": \"https://github.com/grommet/grommet-icons\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"http://www.apache.org/licenses/\"\n },\n {\n \"id\": \"hi\",\n \"name\": \"Heroicons\",\n \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"hi2\",\n \"name\": \"Heroicons 2\",\n \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"si\",\n \"name\": \"Simple Icons\",\n \"projectUrl\": \"https://simpleicons.org/\",\n \"license\": \"CC0 1.0 Universal\",\n \"licenseUrl\": \"https://creativecommons.org/publicdomain/zero/1.0/\"\n },\n {\n \"id\": \"sl\",\n \"name\": \"Simple Line Icons\",\n \"projectUrl\": \"https://thesabbir.github.io/simple-line-icons/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"im\",\n \"name\": \"IcoMoon Free\",\n \"projectUrl\": \"https://github.com/Keyamoon/IcoMoon-Free\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://github.com/Keyamoon/IcoMoon-Free/blob/master/License.txt\"\n },\n {\n \"id\": \"bi\",\n \"name\": \"BoxIcons\",\n \"projectUrl\": \"https://github.com/atisawd/boxicons\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://github.com/atisawd/boxicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"cg\",\n \"name\": \"css.gg\",\n \"projectUrl\": \"https://github.com/astrit/css.gg\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"vsc\",\n \"name\": \"VS Code Icons\",\n \"projectUrl\": \"https://github.com/microsoft/vscode-codicons\",\n \"license\": \"CC BY 4.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"tb\",\n \"name\": \"Tabler Icons\",\n \"projectUrl\": \"https://github.com/tabler/tabler-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"tfi\",\n \"name\": \"Themify Icons\",\n \"projectUrl\": \"https://github.com/lykmapipo/themify-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/thecreation/standard-icons/blob/master/modules/themify-icons/LICENSE\"\n },\n {\n \"id\": \"rx\",\n \"name\": \"Radix Icons\",\n \"projectUrl\": \"https://icons.radix-ui.com\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/radix-ui/icons/blob/master/LICENSE\"\n },\n {\n \"id\": \"pi\",\n \"name\": \"Phosphor Icons\",\n \"projectUrl\": \"https://github.com/phosphor-icons/core\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/phosphor-icons/core/blob/main/LICENSE\"\n },\n {\n \"id\": \"lia\",\n \"name\": \"Icons8 Line Awesome\",\n \"projectUrl\": \"https://icons8.com/line-awesome\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/icons8/line-awesome/blob/master/LICENSE.md\"\n }\n]","import React from \"react\";\nexport var DefaultContext = {\n color: undefined,\n size: undefined,\n className: undefined,\n style: undefined,\n attr: undefined\n};\nexport var IconContext = React.createContext && React.createContext(DefaultContext);","var __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\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};\nimport React from \"react\";\nimport { IconContext, DefaultContext } from \"./iconContext\";\nfunction Tree2Element(tree) {\n return tree && tree.map(function (node, i) {\n return React.createElement(node.tag, __assign({\n key: i\n }, node.attr), Tree2Element(node.child));\n });\n}\nexport function GenIcon(data) {\n // eslint-disable-next-line react/display-name\n return function (props) {\n return React.createElement(IconBase, __assign({\n attr: __assign({}, data.attr)\n }, props), Tree2Element(data.child));\n };\n}\nexport function IconBase(props) {\n var elem = function (conf) {\n var attr = props.attr,\n size = props.size,\n title = props.title,\n svgProps = __rest(props, [\"attr\", \"size\", \"title\"]);\n var computedSize = size || conf.size || \"1em\";\n var className;\n if (conf.className) className = conf.className;\n if (props.className) className = (className ? className + \" \" : \"\") + props.className;\n return React.createElement(\"svg\", __assign({\n stroke: \"currentColor\",\n fill: \"currentColor\",\n strokeWidth: \"0\"\n }, conf.attr, attr, svgProps, {\n className: className,\n style: __assign(__assign({\n color: props.color || conf.color\n }, conf.style), props.style),\n height: computedSize,\n width: computedSize,\n xmlns: \"http://www.w3.org/2000/svg\"\n }), title && React.createElement(\"title\", null, title), props.children);\n };\n return IconContext !== undefined ? React.createElement(IconContext.Consumer, null, function (conf) {\n return elem(conf);\n }) : elem(DefaultContext);\n}","export * from \"./iconsManifest\";\nexport * from \"./iconBase\";\nexport * from \"./iconContext\";","(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[5684],{\n\n/***/ 19434:\n/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\n\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/billing/profiles\",\n function () {\n return __webpack_require__(91381);\n }\n ]);\n if(false) {}\n \n\n/***/ }),\n\n/***/ 58349:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"Z\": function() { return /* binding */ billing_profiles; }\n});\n\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_object_spread.mjs\nvar _object_spread = __webpack_require__(26042);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_object_spread_props.mjs\nvar _object_spread_props = __webpack_require__(69396);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_tagged_template_literal.mjs\nvar _tagged_template_literal = __webpack_require__(7297);\n// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js\nvar jsx_runtime = __webpack_require__(85893);\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(67294);\n// EXTERNAL MODULE: ./node_modules/next/router.js\nvar router = __webpack_require__(11163);\n// EXTERNAL MODULE: ./node_modules/styled-components/dist/styled-components.browser.esm.js + 4 modules\nvar styled_components_browser_esm = __webpack_require__(14141);\n// EXTERNAL MODULE: ./node_modules/styled-system/dist/index.esm.js + 12 modules\nvar index_esm = __webpack_require__(32016);\n// EXTERNAL MODULE: ./node_modules/@styled-system/theme-get/dist/index.esm.js\nvar dist_index_esm = __webpack_require__(50056);\n// EXTERNAL MODULE: ./node_modules/react-redux/es/index.js + 19 modules\nvar es = __webpack_require__(15313);\n// EXTERNAL MODULE: ./src/redux/reselect/billing.js\nvar billing = __webpack_require__(3411);\n// EXTERNAL MODULE: ./src/theme/content-loader/index.js\nvar content_loader = __webpack_require__(52005);\n// EXTERNAL MODULE: ./src/theme/billing-profile-card/index.js\nvar billing_profile_card = __webpack_require__(91940);\n// EXTERNAL MODULE: ./src/theme/text/index.js\nvar theme_text = __webpack_require__(5799);\n// EXTERNAL MODULE: ./src/theme/buttons/btn-link.js\nvar btn_link = __webpack_require__(25733);\n// EXTERNAL MODULE: ./src/theme/icons/plus.js\nvar plus = __webpack_require__(26398);\n// EXTERNAL MODULE: ./src/theme/buttons/btn.js\nvar btn = __webpack_require__(84146);\n// EXTERNAL MODULE: ./src/theme/icons/close.js\nvar icons_close = __webpack_require__(5842);\n;// CONCATENATED MODULE: ./src/theme/modal/confirm.js\n\n\n\nfunction _templateObject() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n body {\\n overflow-y: hidden;\\n }\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction _templateObject1() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n width: 100%;\\n height: 100%;\\n display: \",\n \";\\n justify-content: center;\\n align-items: center;\\n\\n position: fixed;\\n top: 0;\\n left: 0;\\n background-color: rgba(6, 119, 134, 0.6);\\n z-index: 999;\\n\\n & > div {\\n ::-webkit-scrollbar {\\n display: none; /* Chrome Safari */\\n }\\n\\n scrollbar-width: none; /* Firefox */\\n -ms-overflow-style: none; /* IE 10+ */\\n overflow-y: scroll;\\n overflow-x: hidden;\\n }\\n\"\n ]);\n _templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction _templateObject2() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n \",\n \"\\n \",\n \"\\n\\n border-radius: 12px;\\n overflow: hidden;\\n padding: \",\n \"px \",\n \"px;\\n\\n & > .head {\\n background: \",\n \";\\n\\n & > .wrap-close {\\n width: 100%;\\n display: flex;\\n flex-direction: row;\\n justify-content: flex-end;\\n }\\n\\n & > .wrap-title {\\n width: 100%;\\n display: flex;\\n flex-direction: row;\\n justify-content: center;\\n align-items: center;\\n }\\n }\\n\\n & > .body {\\n display: flex;\\n flex-direction: row;\\n padding: \",\n \"px \",\n \"px \",\n \"px;\\n }\\n\\n & > .footer {\\n display: flex;\\n flex-direction: row;\\n justify-content: center;\\n padding: 0 \",\n \"px;\\n }\\n\"\n ]);\n _templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\n\n\n\n\n\n\n\n\n\nvar GlobalStyle = (0,styled_components_browser_esm/* createGlobalStyle */.vJ)(_templateObject());\nvar Wrapper = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-3a974cf0-0\"\n})(_templateObject1(), function(param) {\n var isVisible = param.isVisible;\n return isVisible ? \"flex\" : \"none\";\n});\nvar Content = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-3a974cf0-1\"\n})(_templateObject2(), index_esm/* color */.$_, index_esm/* layout */.bK, (0,dist_index_esm/* themeGet */.R)(\"space.s\"), (0,dist_index_esm/* themeGet */.R)(\"space.s\"), (0,dist_index_esm/* themeGet */.R)(\"colors.white\"), (0,dist_index_esm/* themeGet */.R)(\"space.s\"), (0,dist_index_esm/* themeGet */.R)(\"space.l\"), (0,dist_index_esm/* themeGet */.R)(\"space.l\"), (0,dist_index_esm/* themeGet */.R)(\"space.s\"));\nfunction ModalConfirm(param) {\n var contentStyle = param.contentStyle, width = param.width, style = param.style, isVisible = param.isVisible, title = param.title, message = param.message, onClickCancel = param.onClickCancel, onClickOk = param.onClickOk, okLabel = param.okLabel;\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(Wrapper, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, style), {\n isVisible: isVisible,\n children: [\n isVisible && /*#__PURE__*/ (0,jsx_runtime.jsx)(GlobalStyle, {}),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(Content, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({\n width: width || \"420px\",\n bg: \"white\"\n }, contentStyle), {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"div\", {\n className: \"head\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"wrap-close\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(btn_link/* default */.Z, {\n style: {\n height: 34,\n width: 34,\n minWidth: 34\n },\n icon: /*#__PURE__*/ (0,jsx_runtime.jsx)(icons_close/* default */.Z, {}),\n onClick: onClickCancel,\n title: \"Close\"\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"wrap-title\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n fontSize: \"h2\",\n lineHeight: \"h2\",\n fontWeight: \"bold\",\n color: \"grey_600\",\n children: title\n })\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"body\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n fontSize: \"display\",\n lineHeight: \"display\",\n fontWeight: \"medium\",\n color: \"grey_400\",\n textAlign: \"center\",\n children: message\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"footer\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(btn/* default */.Z, {\n onClick: onClickOk,\n type: \"button\",\n label: okLabel,\n style: {\n width: \"100%\",\n paddingLeft: 8,\n paddingRight: 8\n }\n })\n })\n ]\n }))\n })\n ]\n }));\n}\n/* harmony default export */ var modal_confirm = (ModalConfirm);\n\n// EXTERNAL MODULE: ./src/translations/index.js + 4 modules\nvar translations = __webpack_require__(99408);\n;// CONCATENATED MODULE: ./src/components/billing/profiles/billing-profiles.js\n/* eslint-disable no-nested-ternary */ \n\n\nfunction billing_profiles_templateObject() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n width: 100%;\\n max-width: 2100px;\\n\"\n ]);\n billing_profiles_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction billing_profiles_templateObject1() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n display: flex;\\n flex-direction: row;\\n align-items: center;\\n\\n \",\n \"\\n\"\n ]);\n billing_profiles_templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction billing_profiles_templateObject2() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n display: flex;\\n flex-direction: row;\\n width: 100%;\\n margin: \",\n \"px 0;\\n padding: \",\n \"px;\\n background: \",\n \";\\n border: 1px solid \",\n \";\\n border-radius: 12px;\\n overflow: auto;\\n\\n \",\n \"\\n\"\n ]);\n billing_profiles_templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\nfunction _templateObject3() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n width: 100%;\\n height: 220px;\\n\"\n ]);\n _templateObject3 = function _templateObject3() {\n return data;\n };\n return data;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Section = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-c437734b-0\"\n})(billing_profiles_templateObject());\nvar Row = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-c437734b-1\"\n})(billing_profiles_templateObject1(), index_esm/* flexbox */.GQ);\nvar CardsContainer = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-c437734b-2\"\n})(billing_profiles_templateObject2(), (0,dist_index_esm/* themeGet */.R)(\"space.m\"), (0,dist_index_esm/* themeGet */.R)(\"space.s\"), (0,dist_index_esm/* themeGet */.R)(\"colors.primary_100\"), (0,dist_index_esm/* themeGet */.R)(\"colors.primary_200\"), index_esm/* layout */.bK);\nvar WrapEmpty = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-c437734b-3\"\n})(_templateObject3());\nfunction BillingProfiles(param) {\n var summaryVariant = param.summaryVariant, ids = param.ids;\n var push = (0,router.useRouter)().push;\n var ref = (0,react.useState)(false), modalNewProfileVisible = ref[0], setModalNewProfileVisible = ref[1];\n var languageCode = (0,es/* useSelector */.v9)(function(state) {\n return state.config;\n }).languageCode;\n var isProfilesWaiting = (0,es/* useSelector */.v9)(function(state) {\n return state.billing;\n }).isProfilesWaiting;\n var billingProfiles = (0,es/* useSelector */.v9)(billing/* selectBillingProfiles */.pV);\n var handleNewProfile = (0,react.useCallback)(function() {\n if (billingProfiles.total === 0) {\n return push(\"/billing/profile\");\n }\n return setModalNewProfileVisible(true);\n }, [\n push,\n billingProfiles.total\n ]);\n var handleNewProfileCancel = (0,react.useCallback)(function() {\n setModalNewProfileVisible(false);\n }, []);\n var handleNewProfileOk = (0,react.useCallback)(function() {\n setModalNewProfileVisible(false);\n push(\"/billing/profile\");\n }, [\n push\n ]);\n var filteredBillingProfiles = (0,react.useMemo)(function() {\n if (!summaryVariant) return billingProfiles;\n var profiles = billingProfiles.profiles;\n var filtered = profiles.filter(function(profile) {\n return Array.isArray(ids) && ids.includes(profile.id);\n });\n return {\n total: filtered.length,\n totalDraft: filtered.filter(function(profile) {\n return profile.isDraft;\n }).length,\n profiles: filtered\n };\n }, [\n ids,\n billingProfiles,\n summaryVariant\n ]);\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(Section, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(Row, {\n justifyContent: \"space-between\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(Row, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n fontSize: \"h3\",\n lineHeight: \"h3\",\n fontWeight: \"bold\",\n color: \"grey_600\",\n children: summaryVariant ? translations/* default */.Z[languageCode][\"Associated profiles\"] : translations/* default */.Z[languageCode][\"Billing Profiles\"]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n pl: \"xxs\",\n fontSize: \"h3\",\n lineHeight: \"h3\",\n fontWeight: \"bold\",\n color: \"primary_400\",\n children: filteredBillingProfiles.total\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n pl: \"xxs\",\n fontSize: \"display\",\n lineHeight: \"display\",\n fontWeight: \"medium\",\n color: \"grey_400\",\n children: \"(\".concat(filteredBillingProfiles.totalDraft, \" \").concat(translations/* default */.Z[languageCode].Draft, \")\")\n })\n ]\n }),\n !summaryVariant && /*#__PURE__*/ (0,jsx_runtime.jsx)(Row, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(btn_link/* default */.Z, {\n style: {\n height: 38\n },\n label: translations/* default */.Z[languageCode][\"Create new\"],\n icon: /*#__PURE__*/ (0,jsx_runtime.jsx)(plus/* default */.Z, {}),\n onClick: handleNewProfile\n })\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(CardsContainer, {\n minHeight: \"220px\",\n children: isProfilesWaiting ? /*#__PURE__*/ (0,jsx_runtime.jsx)(content_loader/* default */.Z, {\n width: 808,\n height: 220,\n lines: [\n {\n x: 0,\n y: 0,\n rx: 5,\n ry: 5,\n width: 400,\n height: 220\n },\n {\n x: 408,\n y: 0,\n rx: 5,\n ry: 5,\n width: 400,\n height: 220\n }, \n ]\n }) : filteredBillingProfiles.profiles.length === 0 ? /*#__PURE__*/ (0,jsx_runtime.jsx)(WrapEmpty, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n pl: \"xxs\",\n fontSize: \"pSmall\",\n lineHeight: \"pSmall\",\n fontWeight: \"normal\",\n color: \"primary_600\",\n children: summaryVariant ? translations/* default */.Z[languageCode][\"You don't have a “Billing Profile” associated\"] : translations/* default */.Z[languageCode][\"You don't have a “Billing Profile” yet\"]\n })\n }) : filteredBillingProfiles.profiles.map(function(profile) {\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(billing_profile_card/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({\n style: {\n mr: \"xs\",\n maxWidth: \"400px\",\n border: profile.isDefault ? \"3px solid\" : \"1px solid\",\n borderColor: profile.isDefault ? \"primary_400\" : \"primary_200\"\n }\n }, profile), {\n subTitle: translations/* default */.Z[languageCode][profile.billingModeCode],\n languageCode: languageCode,\n extraInfo: true\n }), profile.id);\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(modal_confirm, {\n isVisible: modalNewProfileVisible,\n title: translations/* default */.Z[languageCode][\"You already have a billing profile\"],\n message: translations/* default */.Z[languageCode][\"We do not recommend having multiple. Please always use your default profile unless strictly necessary\"],\n onClickCancel: handleNewProfileCancel,\n onClickOk: handleNewProfileOk,\n okLabel: translations/* default */.Z[languageCode][\"Create another profile\"]\n })\n ]\n });\n}\n/* harmony default export */ var billing_profiles = (BillingProfiles);\n\n\n/***/ }),\n\n/***/ 91381:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ pages_billing_profiles; }\n});\n\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_tagged_template_literal.mjs\nvar _tagged_template_literal = __webpack_require__(7297);\n// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js\nvar jsx_runtime = __webpack_require__(85893);\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(67294);\n// EXTERNAL MODULE: ./node_modules/styled-components/dist/styled-components.browser.esm.js + 4 modules\nvar styled_components_browser_esm = __webpack_require__(14141);\n// EXTERNAL MODULE: ./node_modules/styled-system/dist/index.esm.js + 12 modules\nvar index_esm = __webpack_require__(32016);\n// EXTERNAL MODULE: ./node_modules/@styled-system/theme-get/dist/index.esm.js\nvar dist_index_esm = __webpack_require__(50056);\n// EXTERNAL MODULE: ./node_modules/react-redux/es/index.js + 19 modules\nvar es = __webpack_require__(15313);\n// EXTERNAL MODULE: ./src/components/auth-switch/index.js + 14 modules\nvar auth_switch = __webpack_require__(77566);\n// EXTERNAL MODULE: ./src/components/warning-notification/index.js + 1 modules\nvar warning_notification = __webpack_require__(42805);\n// EXTERNAL MODULE: ./src/redux/action/billing.js\nvar billing = __webpack_require__(52947);\n// EXTERNAL MODULE: ./src/redux/reselect/profile.js\nvar profile = __webpack_require__(95293);\n// EXTERNAL MODULE: ./src/components/billing/profiles/billing-profiles.js + 1 modules\nvar billing_profiles = __webpack_require__(58349);\n// EXTERNAL MODULE: ./src/components/billing/profiles/payment-accounts.js\nvar payment_accounts = __webpack_require__(15201);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_object_spread.mjs\nvar _object_spread = __webpack_require__(26042);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_object_spread_props.mjs\nvar _object_spread_props = __webpack_require__(69396);\n// EXTERNAL MODULE: ./node_modules/next/router.js\nvar router = __webpack_require__(11163);\n// EXTERNAL MODULE: ./src/redux/action/taxInterviews.js\nvar taxInterviews = __webpack_require__(16717);\n// EXTERNAL MODULE: ./src/redux/reselect/taxInterviews.js\nvar reselect_taxInterviews = __webpack_require__(29942);\n// EXTERNAL MODULE: ./src/theme/content-loader/index.js\nvar content_loader = __webpack_require__(52005);\n// EXTERNAL MODULE: ./node_modules/react-circle-flags/dist/index.modern.js\nvar index_modern = __webpack_require__(9765);\n// EXTERNAL MODULE: ./src/theme/status-label/index.js + 2 modules\nvar status_label = __webpack_require__(82333);\n// EXTERNAL MODULE: ./src/theme/text/index.js\nvar theme_text = __webpack_require__(5799);\n;// CONCATENATED MODULE: ./src/theme/tax-interview-card/index.js\n\n\n\nfunction _templateObject() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n position: relative;\\n overflow: hidden;\\n display: flex;\\n flex-direction: column;\\n flex: 1;\\n width: 100%;\\n min-width: 390px;\\n min-height: 148px;\\n box-sizing: border-box;\\n border-radius: 8px;\\n padding: 16px 16px 16px 32px;\\n\\n \",\n \"\\n \",\n \"\\n \",\n \"\\n \",\n \"\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction _templateObject1() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n display: flex;\\n\\n \",\n \"\\n \",\n \"\\n \",\n \"\\n\"\n ]);\n _templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction _templateObject2() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n white-space: nowrap;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n user-select: none;\\n\"\n ]);\n _templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\nfunction _templateObject3() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n width: 22px;\\n height: 22px;\\n margin-left: 8px;\\n\"\n ]);\n _templateObject3 = function _templateObject3() {\n return data;\n };\n return data;\n}\n\n\n\n\n\n\n\n\nvar Wrapper = styled_components_browser_esm/* default.button.withConfig */.ZP.button.withConfig({\n componentId: \"sc-c9781213-0\"\n})(_templateObject(), index_esm/* space */.Dh, index_esm/* border */.Cg, index_esm/* color */.$_, index_esm/* layout */.bK);\nvar Flex = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-c9781213-1\"\n})(_templateObject1(), index_esm/* flexbox */.GQ, index_esm/* space */.Dh, index_esm/* position */.FK);\nvar StyledText = (0,styled_components_browser_esm/* default */.ZP)(theme_text/* default */.Z).withConfig({\n componentId: \"sc-c9781213-2\"\n})(_templateObject2());\nvar StyledCircleFlag = (0,styled_components_browser_esm/* default */.ZP)(index_modern/* CircleFlag */.V).withConfig({\n componentId: \"sc-c9781213-3\"\n})(_templateObject3());\nfunction TaxInterviewCard(param) {\n var id = param.id, style = param.style, label = param.label, year = param.year, onClick = param.onClick, isDraft = param.isDraft, isDefault = param.isDefault, countryCode = param.countryCode, languageCode = param.languageCode;\n var push = (0,router.useRouter)().push;\n var handleClick = (0,react.useCallback)(function() {\n if (onClick) return onClick(id);\n return push({\n pathname: \"/billing/summary-tax-interview\",\n query: {\n id: id\n }\n });\n }, [\n push,\n onClick,\n id\n ]);\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(Wrapper, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({\n bg: \"white\"\n }, style), {\n onClick: handleClick,\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Flex, {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n position: \"relative\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(Flex, {\n flexDirection: \"row\",\n alignItems: \"center\",\n children: [\n !isDraft && /*#__PURE__*/ (0,jsx_runtime.jsx)(status_label/* default */.Z, {\n style: {\n p: 0\n },\n languageCode: languageCode,\n status: \"COMPLETE\"\n }),\n !!isDraft && /*#__PURE__*/ (0,jsx_runtime.jsx)(status_label/* default */.Z, {\n style: {\n p: 0\n },\n languageCode: languageCode,\n status: \"DRAFT\"\n }),\n isDefault && /*#__PURE__*/ (0,jsx_runtime.jsx)(status_label/* default */.Z, {\n style: {\n margin: \"0 0 0 10px\"\n },\n languageCode: languageCode,\n status: \"DEFAULT\"\n }),\n !!countryCode && /*#__PURE__*/ (0,jsx_runtime.jsx)(StyledCircleFlag, {\n countryCode: countryCode.toLowerCase()\n })\n ]\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(StyledText, {\n mt: \"s\",\n fontSize: \"h3\",\n lineHeight: \"h3\",\n fontWeight: \"bold\",\n color: \"grey_600\",\n children: label\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(StyledText, {\n mt: \"xs\",\n fontSize: \"display\",\n lineHeight: \"display\",\n fontWeight: \"medium\",\n color: \"grey_400\",\n children: year\n })\n ]\n }));\n}\n/* harmony default export */ var tax_interview_card = (TaxInterviewCard);\n\n// EXTERNAL MODULE: ./src/theme/buttons/btn-link.js\nvar btn_link = __webpack_require__(25733);\n// EXTERNAL MODULE: ./src/theme/icons/plus.js\nvar plus = __webpack_require__(26398);\n// EXTERNAL MODULE: ./src/translations/index.js + 4 modules\nvar translations = __webpack_require__(99408);\n;// CONCATENATED MODULE: ./src/components/billing/profiles/tax-interviews.js\n/* eslint-disable no-nested-ternary */ \n\n\nfunction tax_interviews_templateObject() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n width: 100%;\\n max-width: 2100px;\\n\"\n ]);\n tax_interviews_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction tax_interviews_templateObject1() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n display: flex;\\n flex-direction: row;\\n align-items: center;\\n\\n \",\n \"\\n\"\n ]);\n tax_interviews_templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction tax_interviews_templateObject2() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n display: flex;\\n flex-direction: row;\\n width: 100%;\\n margin: \",\n \"px 0;\\n padding: \",\n \"px;\\n background: \",\n \";\\n border: 1px solid \",\n \";\\n border-radius: 12px;\\n overflow: auto;\\n\\n \",\n \"\\n\"\n ]);\n tax_interviews_templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\nfunction tax_interviews_templateObject3() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n width: 100%;\\n height: 220px;\\n\"\n ]);\n tax_interviews_templateObject3 = function _templateObject3() {\n return data;\n };\n return data;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Section = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-e066e76c-0\"\n})(tax_interviews_templateObject());\nvar Row = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-e066e76c-1\"\n})(tax_interviews_templateObject1(), index_esm/* flexbox */.GQ);\nvar CardsContainer = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-e066e76c-2\"\n})(tax_interviews_templateObject2(), (0,dist_index_esm/* themeGet */.R)(\"space.m\"), (0,dist_index_esm/* themeGet */.R)(\"space.s\"), (0,dist_index_esm/* themeGet */.R)(\"colors.primary_100\"), (0,dist_index_esm/* themeGet */.R)(\"colors.primary_200\"), index_esm/* layout */.bK);\nvar WrapEmpty = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-e066e76c-3\"\n})(tax_interviews_templateObject3());\nfunction TaxInterviews() {\n var dispatch = (0,es/* useDispatch */.I0)();\n var push = (0,router.useRouter)().push;\n var languageCode = (0,es/* useSelector */.v9)(function(state) {\n return state.config;\n }).languageCode;\n var isWaiting = (0,es/* useSelector */.v9)(function(state) {\n return state.billing;\n }).isWaiting;\n var payload = (0,es/* useSelector */.v9)(reselect_taxInterviews/* default */.ZP);\n (0,react.useEffect)(function() {\n dispatch((0,taxInterviews/* getTaxInterviewsRequest */.tu)({\n page: 0,\n pageSize: 10\n }));\n }, [\n dispatch\n ]);\n var handleOnClickNew = (0,react.useCallback)(function() {\n return push(\"/billing/tax-interview\");\n }, [\n push\n ]);\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(Section, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(Row, {\n justifyContent: \"space-between\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(Row, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n fontSize: \"h3\",\n lineHeight: \"h3\",\n fontWeight: \"bold\",\n color: \"grey_600\",\n children: translations/* default */.Z[languageCode][\"Tax Interviews\"]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n pl: \"xxs\",\n fontSize: \"h3\",\n lineHeight: \"h3\",\n fontWeight: \"bold\",\n color: \"primary_400\",\n children: payload.totalCount\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Row, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(btn_link/* default */.Z, {\n label: translations/* default */.Z[languageCode][\"Create new\"],\n icon: /*#__PURE__*/ (0,jsx_runtime.jsx)(plus/* default */.Z, {}),\n onClick: handleOnClickNew\n })\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(CardsContainer, {\n minHeight: \"148px\",\n children: isWaiting ? /*#__PURE__*/ (0,jsx_runtime.jsx)(content_loader/* default */.Z, {\n width: 808,\n height: 148,\n lines: [\n {\n x: 0,\n y: 0,\n rx: 5,\n ry: 5,\n width: 400,\n height: 148\n },\n {\n x: 408,\n y: 0,\n rx: 5,\n ry: 5,\n width: 400,\n height: 148\n }, \n ]\n }) : payload.totalCount === 0 ? /*#__PURE__*/ (0,jsx_runtime.jsx)(WrapEmpty, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n pl: \"xxs\",\n fontSize: \"pSmall\",\n lineHeight: \"pSmall\",\n fontWeight: \"normal\",\n color: \"primary_600\",\n children: translations/* default */.Z[languageCode][\"You don't have a “Tax Interview” yet\"]\n })\n }) : payload.data.map(function(taxInterview) {\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(tax_interview_card, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({\n style: {\n mr: \"xs\",\n maxWidth: \"400px\",\n border: \"1px solid\",\n borderColor: \"primary_200\"\n }\n }, taxInterview), {\n languageCode: languageCode\n }), taxInterview.id);\n })\n })\n ]\n });\n}\n/* harmony default export */ var tax_interviews = (TaxInterviews);\n\n;// CONCATENATED MODULE: ./src/components/billing/profiles/index.js\n/* eslint-disable no-nested-ternary */ \nfunction profiles_templateObject() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n \",\n \"\\n\\n display: flex;\\n align-items: center;\\n flex-direction: column;\\n\\n & > div {\\n width: 100%;\\n max-width: 2100px;\\n }\\n\"\n ]);\n profiles_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\n\n\n\n\n\n\n\n\n\n\nvar profiles_Wrapper = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-ea0d5cbf-0\"\n})(profiles_templateObject(), index_esm/* space */.Dh);\nfunction Profiles() {\n var dispatch = (0,es/* useDispatch */.I0)();\n var ref = (0,es/* useSelector */.v9)(profile/* default */.Z), company = ref.payload.company;\n (0,react.useEffect)(function() {\n dispatch((0,billing/* getBillingProfilesRequest */.KQ)());\n }, [\n dispatch\n ]);\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(profiles_Wrapper, {\n px: \"l\",\n py: \"xs\",\n my: \"xs\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"div\", {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(billing_profiles/* default */.Z, {}),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(payment_accounts/* default */.Z, {\n edit: false,\n company: company === null || company === void 0 ? void 0 : company.code\n }),\n !!company && company.code === \"SL_US\" && /*#__PURE__*/ (0,jsx_runtime.jsx)(tax_interviews, {})\n ]\n })\n });\n}\n/* harmony default export */ var profiles = (Profiles);\n\n// EXTERNAL MODULE: ./src/theme/header/index.js + 2 modules\nvar header = __webpack_require__(80387);\n// EXTERNAL MODULE: ./src/theme/layouts/body.js\nvar body = __webpack_require__(89129);\n// EXTERNAL MODULE: ./src/theme/sub-menu/index.js\nvar sub_menu = __webpack_require__(66084);\n// EXTERNAL MODULE: ./src/components/top-bar/index.js\nvar top_bar = __webpack_require__(32095);\n;// CONCATENATED MODULE: ./src/pages/billing/profiles.js\n\nfunction billing_profiles_templateObject() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n \",\n \"\\n\\n min-width: 1024px;\\n\"\n ]);\n billing_profiles_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction profiles_templateObject1() {\n var data = (0,_tagged_template_literal/* default */.Z)([\n \"\\n padding: \",\n \"px \",\n \"px 0;\\n\"\n ]);\n profiles_templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar billing_profiles_Wrapper = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-6c8540b9-0\"\n})(billing_profiles_templateObject(), index_esm/* space */.Dh);\nvar StyledWarningNotification = (0,styled_components_browser_esm/* default */.ZP)(warning_notification/* default */.Z).withConfig({\n componentId: \"sc-6c8540b9-1\"\n})(profiles_templateObject1(), (0,dist_index_esm/* themeGet */.R)(\"space.l\"), (0,dist_index_esm/* themeGet */.R)(\"space.l\"));\nfunction BillingProfilesPage() {\n var languageCode = (0,es/* useSelector */.v9)(function(state) {\n return state.config;\n }).languageCode;\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(auth_switch/* default */.Z, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(top_bar/* default */.Z, {}),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(billing_profiles_Wrapper, {\n pb: \"xxl\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(body/* default */.Z, {\n bg: \"primary_50\",\n height: \"100%\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(header/* default */.Z, {\n bg: \"white\",\n title: translations/* default */.Z[languageCode][\"Billing Profiles\"],\n style: {\n bg: \"white\",\n borderWidth: \"0\",\n borderBottomWidth: \"1px\",\n borderColor: \"primary_200\",\n borderStyle: \"solid\"\n },\n componentLeft: /*#__PURE__*/ (0,jsx_runtime.jsx)(theme_text/* default */.Z, {\n ml: \"l\",\n fontSize: \"h2\",\n lineHeight: \"h2\",\n fontWeight: \"bold\",\n color: \"grey_600\",\n textAlign: \"left\",\n children: translations/* default */.Z[languageCode].billing\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(sub_menu/* default */.Z, {\n activeKey: \"profiles\",\n languageCode: languageCode,\n options: [\n {\n key: \"panoramic\",\n title: translations/* default */.Z[languageCode].panoramic,\n href: \"/billing\"\n },\n {\n key: \"profiles\",\n title: translations/* default */.Z[languageCode].profiles,\n href: \"/billing/profiles\"\n },\n {\n key: \"documents\",\n title: translations/* default */.Z[languageCode].documents,\n href: \"/billing/documents\"\n }, \n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(StyledWarningNotification, {}),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(profiles, {})\n ]\n })\n ]\n });\n}\n/* harmony default export */ var pages_billing_profiles = (BillingProfilesPage);\n\n\n/***/ }),\n\n/***/ 29942:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Bl\": function() { return /* binding */ selectTaxInterviewFormErrors; },\n/* harmony export */ \"Zo\": function() { return /* binding */ selectWithholdingCode; }\n/* harmony export */ });\n/* harmony import */ var _swc_helpers_src_define_property_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14924);\n/* harmony import */ var _swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26042);\n/* harmony import */ var _swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(69396);\n/* harmony import */ var reselect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68697);\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30381);\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__);\n/* eslint-disable camelcase */ \n\n\n\n\nvar selectTaxInterviews = (0,reselect__WEBPACK_IMPORTED_MODULE_1__/* .createSelector */ .P1)(function(state) {\n return state.taxInterviews.payload;\n}, function(payload) {\n var data = payload.data, meta = payload.meta;\n if (!data || !data.length) {\n return {\n pageNumber: 1,\n perPage: 10,\n totalPages: 0,\n totalCount: 0,\n data: []\n };\n }\n var current = meta.pageNumber.current, perPage = meta.perPage, totalPages = meta.totalPages, totalCount = meta.totalCount;\n return {\n pageNumber: current,\n perPage: perPage,\n totalPages: totalPages,\n totalCount: totalCount,\n data: data.map(function(param) {\n var id = param.id, attributes = param.attributes, downloadLink = param.links.downloadLink;\n return (0,_swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_2__/* [\"default\"] */ .Z)((0,_swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"] */ .Z)({\n key: id,\n id: id\n }, attributes, attributes.formData), {\n bornOn: attributes.formData && attributes.formData.bornOn ? moment__WEBPACK_IMPORTED_MODULE_0___default()(attributes.formData.bornOn, \"YYYY-MM-DD\") : null,\n isDraft: !attributes.formDataValid,\n downloadLink: downloadLink\n });\n })\n };\n});\nvar selectTaxInterviewFormErrors = (0,reselect__WEBPACK_IMPORTED_MODULE_1__/* .createSelector */ .P1)(function(state) {\n return state.taxInterviews.errors;\n}, function(payload) {\n var errors = {};\n if (payload && payload.status === \"CUSTOM-ERROR\") {\n payload.data.errors.forEach(function(param) {\n var type = param.type, detail = param.detail;\n var field = type.split(\":\")[1];\n errors = (0,_swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_2__/* [\"default\"] */ .Z)((0,_swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"] */ .Z)({}, errors), (0,_swc_helpers_src_define_property_mjs__WEBPACK_IMPORTED_MODULE_4__/* [\"default\"] */ .Z)({}, field, detail));\n });\n }\n return errors;\n});\nvar selectWithholdingCode = (0,reselect__WEBPACK_IMPORTED_MODULE_1__/* .createSelector */ .P1)(function(state) {\n return state.taxInterviews.withholdingCode;\n}, function(payload) {\n var data = payload.data;\n if (!data || !data.id) {\n return {\n name: \"\",\n code: \"\"\n };\n }\n return {\n name: data.attributes.name,\n code: data.attributes.code\n };\n});\n/* harmony default export */ __webpack_exports__[\"ZP\"] = (selectTaxInterviews);\n\n\n\n/***/ }),\n\n/***/ 72846:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var _swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(26042);\n/* harmony import */ var _swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(69396);\n/* harmony import */ var _swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7297);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85893);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67294);\n/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(14141);\n/* harmony import */ var styled_system__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32016);\n/* harmony import */ var _styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50056);\n/* harmony import */ var theme_text__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5799);\n/* harmony import */ var theme_icons_alert__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(88176);\n\n\n\nfunction _templateObject() {\n var data = (0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__/* [\"default\"] */ .Z)([\n \"\\n display: flex;\\n flex-direction: row;\\n\\n & > span {\\n display: flex;\\n align-items: center;\\n color: \",\n \";\\n }\\n\\n \",\n \"\\n \",\n \"\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\n\n\n\n\n\n\n\nvar Wrapper = styled_components__WEBPACK_IMPORTED_MODULE_7__/* [\"default\"].div.withConfig */ .ZP.div.withConfig({\n componentId: \"sc-acd3e5bb-0\"\n})(_templateObject(), (0,_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__/* .themeGet */ .R)(\"colors.warning\"), styled_system__WEBPACK_IMPORTED_MODULE_3__/* .space */ .Dh, styled_system__WEBPACK_IMPORTED_MODULE_3__/* .color */ .$_);\nfunction AlertMessage(param) {\n var message = param.message, style = param.style;\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(Wrapper, (0,_swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_8__/* [\"default\"] */ .Z)((0,_swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_9__/* [\"default\"] */ .Z)({}, style), {\n children: [\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(\"span\", {\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(theme_icons_alert__WEBPACK_IMPORTED_MODULE_6__/* [\"default\"] */ .Z, {})\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(theme_text__WEBPACK_IMPORTED_MODULE_5__/* [\"default\"] */ .Z, {\n fontSize: \"h4\",\n lineHeight: \"h4\",\n fontWeight: \"medium\",\n color: \"grey_600\",\n ml: \"xs\",\n children: message\n })\n ]\n }));\n}\n/* harmony default export */ __webpack_exports__[\"Z\"] = (AlertMessage);\n\n\n/***/ }),\n\n/***/ 84146:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var _swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(26042);\n/* harmony import */ var _swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(69396);\n/* harmony import */ var _swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7297);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85893);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67294);\n/* harmony import */ var styled_system__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32016);\n/* harmony import */ var _styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50056);\n/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14141);\n/* harmony import */ var theme_icons_loader__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39024);\n\n\n\nfunction _templateObject() {\n var data = (0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__/* [\"default\"] */ .Z)([\n \"\\n from {\\n transform: rotate(0deg);\\n }\\n\\n to {\\n transform: rotate(360deg);\\n }\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction _templateObject1() {\n var data = (0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__/* [\"default\"] */ .Z)([\n \"\\n height: 56px;\\n min-width: 140px;\\n background: transparent;\\n outline: 0;\\n\\n & > span {\\n background: \",\n \";\\n border-radius: 12px;\\n\\n padding: 0 \",\n \"px;\\n\\n width: 100%;\\n height: 100%;\\n\\n \",\n \"\\n \",\n \"\\n\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n\\n &:hover {\\n background: \",\n \";\\n }\\n\\n &:focus {\\n background: \",\n \";\\n }\\n }\\n\\n &:focus {\\n background: transparent;\\n }\\n\\n &:disabled {\\n opacity: 0.5;\\n }\\n\\n \",\n \"\\n \",\n \"\\n\"\n ]);\n _templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction _templateObject2() {\n var data = (0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__/* [\"default\"] */ .Z)([\n \"\\n margin-left: \",\n \"px;\\n width: 18px;\\n height: 18px;\\n animation: \",\n \" 2s linear infinite;\\n\"\n ]);\n _templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\n\n\n\n\n\n\nvar rotate = (0,styled_components__WEBPACK_IMPORTED_MODULE_6__/* .keyframes */ .F4)(_templateObject());\nvar Button = styled_components__WEBPACK_IMPORTED_MODULE_6__/* [\"default\"].button.withConfig */ .ZP.button.withConfig({\n componentId: \"sc-6a93806c-0\"\n})(_templateObject1(), function(param) {\n var isFocused = param.isFocused;\n return isFocused ? (0,_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__/* .themeGet */ .R)(\"colors.primary_600\") : (0,_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__/* .themeGet */ .R)(\"colors.primary_400\");\n}, (0,_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__/* .themeGet */ .R)(\"space.s\"), styled_system__WEBPACK_IMPORTED_MODULE_3__/* .color */ .$_, styled_system__WEBPACK_IMPORTED_MODULE_3__/* .typography */ .cp, (0,_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__/* .themeGet */ .R)(\"colors.primary_500\"), (0,_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__/* .themeGet */ .R)(\"colors.primary_600\"), styled_system__WEBPACK_IMPORTED_MODULE_3__/* .space */ .Dh, styled_system__WEBPACK_IMPORTED_MODULE_3__/* .layout */ .bK);\nvar WrapLoader = styled_components__WEBPACK_IMPORTED_MODULE_6__/* [\"default\"].div.withConfig */ .ZP.div.withConfig({\n componentId: \"sc-6a93806c-1\"\n})(_templateObject2(), (0,_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__/* .themeGet */ .R)(\"space.xs\"), rotate);\nfunction Btn(param) {\n var style = param.style, label = param.label, type = param.type, onClick = param.onClick, disabled = param.disabled, title = param.title, isWaiting = param.isWaiting;\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Button, (0,_swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_7__/* [\"default\"] */ .Z)((0,_swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_8__/* [\"default\"] */ .Z)({\n title: title || label,\n fontSize: \"h4\",\n lineHeight: \"h4\",\n fontWeight: \"bold\",\n color: \"white\",\n px: \"l\"\n }, style), {\n type: type,\n disabled: disabled || isWaiting,\n onClick: onClick,\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(\"span\", {\n children: [\n label,\n isWaiting && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(WrapLoader, {\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(theme_icons_loader__WEBPACK_IMPORTED_MODULE_5__/* [\"default\"] */ .Z, {\n width: 18\n })\n })\n ]\n })\n }));\n}\n/* harmony default export */ __webpack_exports__[\"Z\"] = (Btn);\n\n\n/***/ }),\n\n/***/ 66084:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var _swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7297);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85893);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67294);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41664);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(14141);\n/* harmony import */ var styled_system__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(32016);\n/* harmony import */ var _styled_system_theme_get__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50056);\n/* harmony import */ var theme_text__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5799);\n\nfunction _templateObject() {\n var data = (0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__/* [\"default\"] */ .Z)([\n \"\\n display: flex;\\n flex-direction: row;\\n align-items: center;\\n width: 100%;\\n border-bottom: 1px solid \",\n \";\\n\\n \",\n \"\\n\\n & > a {\\n text-decoration: none;\\n }\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction _templateObject1() {\n var data = (0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__/* [\"default\"] */ .Z)([\n \"\\n border-radius: 8px;\\n \",\n \"\\n \",\n \"\\n\"\n ]);\n _templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction _templateObject2() {\n var data = (0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__/* [\"default\"] */ .Z)([\n \"\\n width: 2px;\\n height: 34px; /* Altezza adeguata per stare tra i bottoni */\\n background-color: \",\n \";\\n margin: 0 8px; /* Spazio tra gli elementi */\\n\"\n ]);\n _templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\n\n\n\n\n\n\n\nvar Wrapper = styled_components__WEBPACK_IMPORTED_MODULE_7__/* [\"default\"].div.withConfig */ .ZP.div.withConfig({\n componentId: \"sc-c093c216-0\"\n})(_templateObject(), (0,_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_5__/* .themeGet */ .R)(\"colors.primary_200\"), styled_system__WEBPACK_IMPORTED_MODULE_4__/* .space */ .Dh);\nvar TabBtn = styled_components__WEBPACK_IMPORTED_MODULE_7__/* [\"default\"].button.withConfig */ .ZP.button.withConfig({\n componentId: \"sc-c093c216-1\"\n})(_templateObject1(), styled_system__WEBPACK_IMPORTED_MODULE_4__/* .color */ .$_, styled_system__WEBPACK_IMPORTED_MODULE_4__/* .space */ .Dh);\nvar HorizontalDivider = styled_components__WEBPACK_IMPORTED_MODULE_7__/* [\"default\"].div.withConfig */ .ZP.div.withConfig({\n componentId: \"sc-c093c216-2\"\n})(_templateObject2(), (0,_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_5__/* .themeGet */ .R)(\"colors.primary_200\"));\nfunction SubMenu(param) {\n var activeKey = param.activeKey, options = param.options;\n var isConfirmed = options.length > 0 && options[1].key === \"confirmed\";\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Wrapper, {\n py: \"s\",\n px: \"l\",\n children: options.map(function(option, index) {\n var isSecondWithOnClick = index === 1 && option.onClick;\n var nextOptionExists = index < options.length - 1;\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, {\n children: [\n !option.onClick ? /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)((next_link__WEBPACK_IMPORTED_MODULE_3___default()), {\n href: option.href,\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(\"a\", {\n className: \"link\",\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(TabBtn, {\n type: \"button\",\n py: \"s\",\n px: \"m\",\n bg: activeKey === option.key ? \"primary_100\" : \"transparent\",\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(theme_text__WEBPACK_IMPORTED_MODULE_6__/* [\"default\"] */ .Z, {\n fontSize: \"h3\",\n lineHeight: \"h3\",\n fontWeight: \"medium\",\n color: activeKey === option.key ? \"primary_500\" : option.color ? option.color : \"grey_400\",\n textAlign: \"center\",\n children: option.title\n })\n })\n })\n }, option.key) : /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(TabBtn, {\n type: \"button\",\n py: \"s\",\n px: \"m\",\n bg: activeKey === option.key ? \"primary_100\" : (option === null || option === void 0 ? void 0 : option.bgColor) ? option === null || option === void 0 ? void 0 : option.bgColor : \"transparent\",\n onClick: option.onClick,\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(theme_text__WEBPACK_IMPORTED_MODULE_6__/* [\"default\"] */ .Z, {\n fontSize: \"h3\",\n lineHeight: \"h3\",\n fontWeight: \"medium\",\n color: activeKey === option.key ? \"primary_500\" : (option === null || option === void 0 ? void 0 : option.color) ? option === null || option === void 0 ? void 0 : option.color : \"grey_400\",\n textAlign: \"center\",\n children: option.title\n })\n }),\n isSecondWithOnClick && nextOptionExists && isConfirmed && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(HorizontalDivider, {})\n ]\n }, option.key);\n })\n });\n}\n/* harmony default export */ __webpack_exports__[\"Z\"] = (SubMenu);\n\n\n/***/ }),\n\n/***/ 88357:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"w_\": function() { return /* reexport */ GenIcon; }\n});\n\n// UNUSED EXPORTS: DefaultContext, IconBase, IconContext, IconsManifest\n\n;// CONCATENATED MODULE: ./node_modules/react-icons/lib/esm/iconsManifest.js\nvar IconsManifest = [\n {\n \"id\": \"ci\",\n \"name\": \"Circum Icons\",\n \"projectUrl\": \"https://circumicons.com/\",\n \"license\": \"MPL-2.0 license\",\n \"licenseUrl\": \"https://github.com/Klarr-Agency/Circum-Icons/blob/main/LICENSE\"\n },\n {\n \"id\": \"fa\",\n \"name\": \"Font Awesome 5\",\n \"projectUrl\": \"https://fontawesome.com/\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"fa6\",\n \"name\": \"Font Awesome 6\",\n \"projectUrl\": \"https://fontawesome.com/\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"io\",\n \"name\": \"Ionicons 4\",\n \"projectUrl\": \"https://ionicons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"io5\",\n \"name\": \"Ionicons 5\",\n \"projectUrl\": \"https://ionicons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"md\",\n \"name\": \"Material Design icons\",\n \"projectUrl\": \"http://google.github.io/material-design-icons/\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"https://github.com/google/material-design-icons/blob/master/LICENSE\"\n },\n {\n \"id\": \"ti\",\n \"name\": \"Typicons\",\n \"projectUrl\": \"http://s-ings.com/typicons/\",\n \"license\": \"CC BY-SA 3.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by-sa/3.0/\"\n },\n {\n \"id\": \"go\",\n \"name\": \"Github Octicons icons\",\n \"projectUrl\": \"https://octicons.github.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/primer/octicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"fi\",\n \"name\": \"Feather\",\n \"projectUrl\": \"https://feathericons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/feathericons/feather/blob/master/LICENSE\"\n },\n {\n \"id\": \"lu\",\n \"name\": \"Lucide\",\n \"projectUrl\": \"https://lucide.dev/\",\n \"license\": \"ISC\",\n \"licenseUrl\": \"https://github.com/lucide-icons/lucide/blob/main/LICENSE\"\n },\n {\n \"id\": \"gi\",\n \"name\": \"Game Icons\",\n \"projectUrl\": \"https://game-icons.net/\",\n \"license\": \"CC BY 3.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/3.0/\"\n },\n {\n \"id\": \"wi\",\n \"name\": \"Weather Icons\",\n \"projectUrl\": \"https://erikflowers.github.io/weather-icons/\",\n \"license\": \"SIL OFL 1.1\",\n \"licenseUrl\": \"http://scripts.sil.org/OFL\"\n },\n {\n \"id\": \"di\",\n \"name\": \"Devicons\",\n \"projectUrl\": \"https://vorillaz.github.io/devicons/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"ai\",\n \"name\": \"Ant Design Icons\",\n \"projectUrl\": \"https://github.com/ant-design/ant-design-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"bs\",\n \"name\": \"Bootstrap Icons\",\n \"projectUrl\": \"https://github.com/twbs/icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"ri\",\n \"name\": \"Remix Icon\",\n \"projectUrl\": \"https://github.com/Remix-Design/RemixIcon\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"http://www.apache.org/licenses/\"\n },\n {\n \"id\": \"fc\",\n \"name\": \"Flat Color Icons\",\n \"projectUrl\": \"https://github.com/icons8/flat-color-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"gr\",\n \"name\": \"Grommet-Icons\",\n \"projectUrl\": \"https://github.com/grommet/grommet-icons\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"http://www.apache.org/licenses/\"\n },\n {\n \"id\": \"hi\",\n \"name\": \"Heroicons\",\n \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"hi2\",\n \"name\": \"Heroicons 2\",\n \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"si\",\n \"name\": \"Simple Icons\",\n \"projectUrl\": \"https://simpleicons.org/\",\n \"license\": \"CC0 1.0 Universal\",\n \"licenseUrl\": \"https://creativecommons.org/publicdomain/zero/1.0/\"\n },\n {\n \"id\": \"sl\",\n \"name\": \"Simple Line Icons\",\n \"projectUrl\": \"https://thesabbir.github.io/simple-line-icons/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"im\",\n \"name\": \"IcoMoon Free\",\n \"projectUrl\": \"https://github.com/Keyamoon/IcoMoon-Free\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://github.com/Keyamoon/IcoMoon-Free/blob/master/License.txt\"\n },\n {\n \"id\": \"bi\",\n \"name\": \"BoxIcons\",\n \"projectUrl\": \"https://github.com/atisawd/boxicons\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://github.com/atisawd/boxicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"cg\",\n \"name\": \"css.gg\",\n \"projectUrl\": \"https://github.com/astrit/css.gg\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"vsc\",\n \"name\": \"VS Code Icons\",\n \"projectUrl\": \"https://github.com/microsoft/vscode-codicons\",\n \"license\": \"CC BY 4.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"tb\",\n \"name\": \"Tabler Icons\",\n \"projectUrl\": \"https://github.com/tabler/tabler-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"tfi\",\n \"name\": \"Themify Icons\",\n \"projectUrl\": \"https://github.com/lykmapipo/themify-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/thecreation/standard-icons/blob/master/modules/themify-icons/LICENSE\"\n },\n {\n \"id\": \"rx\",\n \"name\": \"Radix Icons\",\n \"projectUrl\": \"https://icons.radix-ui.com\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/radix-ui/icons/blob/master/LICENSE\"\n },\n {\n \"id\": \"pi\",\n \"name\": \"Phosphor Icons\",\n \"projectUrl\": \"https://github.com/phosphor-icons/core\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/phosphor-icons/core/blob/main/LICENSE\"\n },\n {\n \"id\": \"lia\",\n \"name\": \"Icons8 Line Awesome\",\n \"projectUrl\": \"https://icons8.com/line-awesome\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/icons8/line-awesome/blob/master/LICENSE.md\"\n }\n]\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(67294);\n;// CONCATENATED MODULE: ./node_modules/react-icons/lib/esm/iconContext.js\n\nvar DefaultContext = {\n color: undefined,\n size: undefined,\n className: undefined,\n style: undefined,\n attr: undefined\n};\nvar IconContext = react.createContext && react.createContext(DefaultContext);\n;// CONCATENATED MODULE: ./node_modules/react-icons/lib/esm/iconBase.js\nvar __assign = undefined && undefined.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = undefined && undefined.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\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\n\nfunction Tree2Element(tree) {\n return tree && tree.map(function (node, i) {\n return react.createElement(node.tag, __assign({\n key: i\n }, node.attr), Tree2Element(node.child));\n });\n}\nfunction GenIcon(data) {\n // eslint-disable-next-line react/display-name\n return function (props) {\n return react.createElement(IconBase, __assign({\n attr: __assign({}, data.attr)\n }, props), Tree2Element(data.child));\n };\n}\nfunction IconBase(props) {\n var elem = function (conf) {\n var attr = props.attr,\n size = props.size,\n title = props.title,\n svgProps = __rest(props, [\"attr\", \"size\", \"title\"]);\n var computedSize = size || conf.size || \"1em\";\n var className;\n if (conf.className) className = conf.className;\n if (props.className) className = (className ? className + \" \" : \"\") + props.className;\n return react.createElement(\"svg\", __assign({\n stroke: \"currentColor\",\n fill: \"currentColor\",\n strokeWidth: \"0\"\n }, conf.attr, attr, svgProps, {\n className: className,\n style: __assign(__assign({\n color: props.color || conf.color\n }, conf.style), props.style),\n height: computedSize,\n width: computedSize,\n xmlns: \"http://www.w3.org/2000/svg\"\n }), title && react.createElement(\"title\", null, title), props.children);\n };\n return IconContext !== undefined ? react.createElement(IconContext.Consumer, null, function (conf) {\n return elem(conf);\n }) : elem(DefaultContext);\n}\n;// CONCATENATED MODULE: ./node_modules/react-icons/lib/esm/index.js\n\n\n\n\n/***/ })\n\n},\n/******/ function(__webpack_require__) { // webpackRuntimeModules\n/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }\n/******/ __webpack_require__.O(0, [1228,8282,4762,6535,7566,3497,7234,7935,5201,9774,2888,179], function() { return __webpack_exec__(19434); });\n/******/ var __webpack_exports__ = __webpack_require__.O();\n/******/ _N_E = __webpack_exports__;\n/******/ }\n]);"],"names":["self","push","__unused_webpack_module","__unused_webpack_exports","__webpack_require__","window","__NEXT_P","__webpack_exports__","d","billing_profiles","_object_spread","_object_spread_props","_tagged_template_literal","jsx_runtime","react","router","styled_components_browser_esm","index_esm","dist_index_esm","es","billing","content_loader","billing_profile_card","theme_text","btn_link","plus","btn","icons_close","_templateObject","data","Z","_templateObject1","_templateObject2","GlobalStyle","vJ","Wrapper","ZP","div","withConfig","componentId","param","isVisible","Content","$_","bK","R","modal_confirm","contentStyle","width","style","title","message","onClickCancel","onClickOk","okLabel","jsxs","children","jsx","bg","className","height","minWidth","icon","onClick","fontSize","lineHeight","fontWeight","color","textAlign","type","label","paddingLeft","paddingRight","translations","billing_profiles_templateObject","billing_profiles_templateObject1","billing_profiles_templateObject2","_templateObject3","Section","Row","GQ","CardsContainer","WrapEmpty","summaryVariant","ids","useRouter","ref","useState","modalNewProfileVisible","setModalNewProfileVisible","languageCode","v9","state","config","isProfilesWaiting","billingProfiles","pV","handleNewProfile","useCallback","total","handleNewProfileCancel","handleNewProfileOk","filteredBillingProfiles","useMemo","filtered","profiles","filter","profile","Array","isArray","includes","id","length","totalDraft","isDraft","justifyContent","pl","concat","Draft","minHeight","lines","x","y","rx","ry","map","mr","maxWidth","border","isDefault","borderColor","subTitle","billingModeCode","extraInfo","r","pages_billing_profiles","auth_switch","warning_notification","payment_accounts","taxInterviews","reselect_taxInterviews","index_modern","status_label","button","Dh","Cg","Flex","FK","StyledText","StyledCircleFlag","V","tax_interview_card","year","countryCode","handleClick","pathname","query","flexDirection","alignItems","position","p","status","margin","toLowerCase","mt","tax_interviews_templateObject","tax_interviews_templateObject1","tax_interviews_templateObject2","tax_interviews_templateObject3","tax_interviews","dispatch","I0","isWaiting","payload","useEffect","tu","page","pageSize","handleOnClickNew","totalCount","taxInterview","profiles_templateObject","profiles_Wrapper","company","KQ","px","py","my","edit","code","header","body","sub_menu","top_bar","profiles_templateObject1","billing_profiles_Wrapper","StyledWarningNotification","pb","borderWidth","borderBottomWidth","borderStyle","componentLeft","ml","activeKey","options","key","panoramic","href","documents","selectTaxInterviewFormErrors","selectWithholdingCode","_swc_helpers_src_define_property_mjs__WEBPACK_IMPORTED_MODULE_4__","_swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_3__","_swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_2__","reselect__WEBPACK_IMPORTED_MODULE_1__","moment__WEBPACK_IMPORTED_MODULE_0__","moment__WEBPACK_IMPORTED_MODULE_0___default","n","selectTaxInterviews","P1","meta","pageNumber","perPage","totalPages","current","attributes","downloadLink","links","formData","bornOn","formDataValid","errors","forEach","detail","field","split","withholdingCode","name","_swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_9__","_swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_8__","_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__","styled_components__WEBPACK_IMPORTED_MODULE_7__","styled_system__WEBPACK_IMPORTED_MODULE_3__","_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_4__","theme_text__WEBPACK_IMPORTED_MODULE_5__","theme_icons_alert__WEBPACK_IMPORTED_MODULE_6__","_swc_helpers_src_object_spread_mjs__WEBPACK_IMPORTED_MODULE_8__","_swc_helpers_src_object_spread_props_mjs__WEBPACK_IMPORTED_MODULE_7__","styled_components__WEBPACK_IMPORTED_MODULE_6__","theme_icons_loader__WEBPACK_IMPORTED_MODULE_5__","rotate","F4","Button","isFocused","cp","WrapLoader","disabled","react__WEBPACK_IMPORTED_MODULE_2__","next_link__WEBPACK_IMPORTED_MODULE_3__","next_link__WEBPACK_IMPORTED_MODULE_3___default","styled_system__WEBPACK_IMPORTED_MODULE_4__","_styled_system_theme_get__WEBPACK_IMPORTED_MODULE_5__","theme_text__WEBPACK_IMPORTED_MODULE_6__","TabBtn","HorizontalDivider","isConfirmed","option","index","isSecondWithOnClick","nextOptionExists","Fragment","bgColor","GenIcon","DefaultContext","undefined","size","attr","IconContext","createContext","__assign","Object","assign","t","s","i","arguments","prototype","hasOwnProperty","call","apply","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","props","createElement","IconBase","Tree2Element","tree","node","tag","child","elem","conf","svgProps","computedSize","stroke","fill","strokeWidth","xmlns","Consumer","O","_N_E"],"sourceRoot":""}