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AjB,SAAKiB,EAAM2I,UAAU,CAACC,IAAI,EAC1C,OAAC,CAAE5I,MAAAA,CAAK,CAAE,CAAAjB,SAAKiB,EAAMmB,MAAM,CAACqC,IAAI,CAACiF,QAAQ,0DC/E7C,IAAMpG,EAAkB,CAC7BwG,QAAS,oFACTC,KAAM,oFACNxG,SAAU,mFACZ,mFCAO,IAAM8C,EAAc,IACR2D,CAAAA,EAAAA,EAAAA,CAAAA,EAAS,eAA0BxF,MAAA,CAAXrD,EAAAA,EAAOA,CAACe,EAAE,CAAC,KAAI,yECHnD,IAAM+H,EAAa,KACxB,GAAM,CAACC,EAASC,EAAW,CAAGhE,CAAAA,EAAAA,EAAAA,QAAAA,EAAS,IAMvC,MAJAa,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KACRmD,EAAW,GACb,EAAG,EAAE,EAEE,CAAEC,UAAWF,CAAQ,CAC9B","sources":["webpack://_N_E/./src/components/elements/button/index.tsx","webpack://_N_E/./src/components/elements/container/container.styles.ts","webpack://_N_E/./src/components/elements/hide-on/hide-on.ts","webpack://_N_E/./src/components/elements/stack/index.tsx","webpack://_N_E/./src/components/elements/stack/stack.styles.ts","webpack://_N_E/./src/components/modules/download-button/components/send-email/send-email.styles.ts","webpack://_N_E/./src/components/modules/download-button/components/send-email/index.tsx","webpack://_N_E/./src/components/modules/dropdown/index.tsx","webpack://_N_E/./src/lib/utils/parse-user-agent.ts","webpack://_N_E/./src/components/modules/download-button/download-dropdown.tsx","webpack://_N_E/./src/components/modules/dropdown/dropdown.styles.ts","webpack://_N_E/./src/components/modules/input/index.tsx","webpack://_N_E/./src/components/modules/input/input.styles.ts","webpack://_N_E/./src/components/modules/newsletter/newsletter.values.ts","webpack://_N_E/./src/lib/hooks/use-is-mobile.ts","webpack://_N_E/./src/lib/hooks/use-mounted.ts"],"sourcesContent":["import { StyledButton, StyledButtonWrapper, StyledLink } from './button.styles';\nimport type { ButtonComponentType, ButtonProps } from './button.types';\n\nimport { MovingBorder } from '@/components/elements/moving-border';\n\nexport const Button = ({\n as = 'button',\n children,\n href,\n icon: Icon,\n iconWeight = 'fill',\n onClick,\n target,\n type,\n $small = false,\n $variant = 'primary',\n $withBorder = false,\n $isDropdown = false,\n $isFluid = false,\n className,\n ...aria\n}: ButtonProps) => {\n const BaseButton = () => {\n const ButtonComponent: ButtonComponentType = as === 'link' || href ? StyledLink : StyledButton;\n\n return (\n \n {children}\n {Icon && }\n \n );\n };\n\n if ($withBorder) {\n return (\n \n \n \n \n \n );\n }\n\n return ;\n};\n","'use client';\n\nimport type { StyledContainerProps } from './container.types';\n\nimport { styled, screens } from '@/styles';\n\nexport const StyledContainer = styled.div`\n max-width: ${({ theme, $size }) => ($size === 'default' ? theme.screens['2xl'] : theme.screens.content)};\n margin-left: auto;\n margin-right: auto;\n padding-left: 16px;\n padding-right: 16px;\n box-sizing: ${({ $size }) => ($size === 'default' ? 'border-box' : 'content-box')};\n\n @media (min-width: ${screens['2xl']}) {\n padding-left: 48px;\n padding-right: 48px;\n }\n`;\n","'use client';\n\nimport { screens, styled, css } from '@/styles';\n\ntype ScreenKey = keyof typeof screens;\n\nexport const StyledHideElementOn = styled.div<\n | { $hideBelow: ScreenKey, $hideAbove?: undefined }\n | { $hideAbove: ScreenKey, $hideBelow?: undefined }\n>`\n ${({ $hideBelow, $hideAbove }) => {\n if ($hideBelow) {\n return css`\n display: none;\n visibility: hidden;\n\n @media (min-width: ${screens[$hideBelow]}) {\n display: block;\n visibility: visible;\n }\n `;\n } else {\n return css`\n display: block;\n visibility: visible;\n @media (min-width: ${screens[$hideAbove]}) {\n display: none;\n visibility: hidden;\n }\n `;\n }\n }}\n`;\n","import React from 'react';\n\nimport { StyledStack } from './stack.styles';\nimport type { StackProps } from './stack.types';\n\nconst Stack = ({ $gap, $gapxl, $direction, $alignItems, children }: StackProps) => {\n return (\n \n {children}\n \n );\n};\n\nexport default Stack;\n","'use client';\n\nimport type { StyledStackProps } from './stack.types';\n\nimport { screens, styled } from '@/styles';\n\nexport const StyledStack = styled.div`\n display: flex;\n flex-direction: ${props => props.$direction || 'column'};\n align-items: ${props => props.$alignItems || 'initial'};\n gap: ${props => props.$gap || '16px'};\n\n @media (min-width: ${screens.lg}) {\n gap: ${props => props.$gapxl || '16px'};\n }\n`;\n","'use client';\n\nimport { screens, styled } from '@/styles';\n\nexport const StyledSendEmailWrapper = styled.div`\n display: flex;\n visibility: visible;\n flex-direction: column;\n gap: 16px;\n border-radius: 12px;\n padding: 16px;\n background: ${({ theme }) => theme.colors.inkBlack};\n box-shadow:\n 0 0 0 1px ${({ theme }) => theme.colors.button.border},\n 0 0 8px 0 ${({ theme }) => theme.colors.shadowDefault};\n\n @media (min-width: ${screens.md}) {\n display: none;\n visibility: hidden;\n }\n\n &&[data-is-in-header='true'] p {\n @media screen and (max-height: 700px) {\n &:first-child {\n display: block;\n }\n\n display: none;\n }\n }\n`;\n\nexport const StyledSendEmailForm = styled.form`\n display: flex;\n flex-direction: column;\n gap: 12px;\n`;\n","import { StyledSendEmailForm, StyledSendEmailWrapper } from './send-email.styles';\n\nimport { Button } from '@/components/elements/button';\nimport type { ButtonProps } from '@/components/elements/button/button.types';\nimport { Text } from '@/components/elements/text';\nimport { Input } from '@/components/modules/input';\nimport { NEWSLETTER_URLS } from '@/components/modules/newsletter/newsletter.values';\n\nexport const SendEmail = ({\n buttonProps,\n ...props\n}: {\n buttonProps: Pick;\n}) => {\n return (\n \n \n On mobile? Send a link to your computer to download HTTP Toolkit there:\n \n \n \n An extra form field you should ignore\n \n \n \n \n Send me a download link\n \n \n \n No spam, no newsletters - just a quick & easy download link\n \n \n );\n};\n","'use client';\n\nimport { CaretDown } from '@phosphor-icons/react/dist/ssr';\n\nimport {\n DropdownOptionButton,\n DropdownOptionsWrapper,\n DropdownWrapper,\n DropdownOptionLink,\n DropdownHr,\n DropdownOptionSubtext\n} from './dropdown.styles';\nimport type {\n DropdownDownloadOption,\n DropdownOption,\n DropdownProps,\n OptionComponentType\n} from './dropdown.types';\n\nimport { Button } from '@/components/elements/button';\nimport type { StyledButtonProps } from '@/components/elements/button/button.types';\n\nconst renderOptions = (items: DropdownOption[], $variant: StyledButtonProps['$variant']) => {\n return items.map((item, index) => {\n if ('type' in item && item.type === 'hr') {\n return ;\n }\n\n const { text, subtext, as, href, ...aria } = item as DropdownDownloadOption;\n const OptionComponent: OptionComponentType = as === 'link' || href\n ? DropdownOptionLink\n : DropdownOptionButton;\n\n return (\n \n { text }\n { subtext &&\n {subtext}\n }\n \n );\n });\n};\n\nexport const Dropdown = ({\n children,\n items,\n icon = CaretDown,\n iconWeight = 'fill',\n $variant = 'secondary',\n $direction = 'bottom',\n ...buttonProps\n}: Component) => {\n return (\n \n \n {children}\n \n \n {Array.isArray(items) && renderOptions(items, $variant)}\n \n \n );\n};\n","type RecognizedOperatingSystem = 'mac' | 'windows' | 'linux' | 'mobile' | 'unknown';\n\nexport function parseUserAgent(userAgent: string): RecognizedOperatingSystem {\n if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(userAgent)) {\n return 'mobile';\n }\n\n let operatingSystem: RecognizedOperatingSystem = 'mac';\n if (userAgent.includes('Windows')) {\n operatingSystem = 'windows';\n } else if (userAgent.includes('Macintosh') || userAgent.includes('Mac OS')) {\n operatingSystem = 'mac';\n } else if (userAgent.includes('Linux')) {\n operatingSystem = 'linux';\n }\n\n return operatingSystem || 'unknown';\n}\n","'use client';\n\nimport sortBy from 'lodash/sortBy';\nimport partition from 'lodash/partition';\nimport { useEffect, useMemo, useState } from 'react';\n\nimport { styled } from '@/styles';\n\nimport { SendEmail } from './components/send-email';\nimport type { DownloadDropdownProps } from './download-button.types';\nimport { Dropdown } from '../dropdown';\nimport type { DropdownOption } from '../dropdown/dropdown.types';\n\nimport { StyledHideElementOn } from '@/components/elements/hide-on/hide-on';\nimport { useIsMobile } from '@/lib/hooks/use-is-mobile';\nimport { parseUserAgent } from '@/lib/utils/parse-user-agent';\nimport type { DownloadDictionary } from '@/content/data/download-dictionary';\n\nconst LATEST_RELEASE_URL = 'https://github.com/httptoolkit/httptoolkit-desktop/releases/latest';\n\nconst DownloadSubText = styled.div`\n font-size: ${({ theme }) => theme.fontSizes.text.xs};\n margin-top: 4px;\n`;\n\nconst downloadItemToOption = (item: DownloadDictionary) => ({\n as: 'link',\n href: item.href || LATEST_RELEASE_URL,\n text: item.text,\n subtext: item.subtext\n} as const);\n\nexport const DownloadDropdown = ({\n $small,\n $variant,\n $withBorder,\n isInHeader,\n fixedOS,\n downloadItems,\n}: DownloadDropdownProps) => {\n const [operatingSystem, setOperatingSystem] = useState(fixedOS ?? 'windows');\n const isMobile = useIsMobile();\n\n const defaultDownload =\n downloadItems.find(os => os.os === operatingSystem && os.defaultText) || downloadItems[0];\n\n const items: DropdownOption[] = useMemo(\n () => {\n const [currentOsDownloads, otherOsDownloads] = partition(downloadItems, ({ os }) => os === operatingSystem);\n\n return [\n ...sortBy(currentOsDownloads.map(downloadItemToOption), ['desc']),\n ...(currentOsDownloads.length ? [{ type: 'hr' } as const] : []),\n ...sortBy(otherOsDownloads.map(downloadItemToOption), ['os', 'desc']),\n ];\n }, [downloadItems, operatingSystem]\n );\n\n useEffect(() => {\n if (!isMobile && fixedOS) return setOperatingSystem(fixedOS);\n setOperatingSystem(parseUserAgent(navigator.userAgent));\n }, []);\n\n // Makes the hide/show with styles to avoid CLS issues\n return (\n <>\n \n \n \n \n Download for {defaultDownload.defaultText}\n { defaultDownload.subtext && \n { defaultDownload.subtext }\n }\n \n \n \n >\n );\n};","'use client';\n\nimport type { DropdownOptionProps, DropdownProps } from './dropdown.types';\n\nimport { Link } from '@/components/elements/link';\nimport { css, screens, styled } from '@/styles';\n\nconst openDropdown = css`\n padding: 4px;\n max-height: fit-content;\n box-shadow: 0 0 0 1px ${({ theme }) => theme.colors.button.border};\n opacity: 1;\n visibility: visible;\n`;\n\nexport const DropdownOptionsWrapper = styled.div>`\n display: grid;\n position: absolute;\n top: ${({ $direction }) => ($direction === 'bottom' ? 'calc(100% + 4px)' : 'auto')};\n bottom: ${({ $direction }) => ($direction === 'top' ? 'calc(100% + 4px)' : 'auto')};\n border-radius: 12px;\n background: ${({ theme }) => theme.colors.inkBlack};\n padding: 4px;\n gap: 4px;\n min-width: 100%;\n visibility: hidden;\n opacity: 0;\n transition:\n opacity 0.3s ease-in-out,\n visibility 0.3s ease-in-out;\n overflow: hidden;\n z-index: 33;\n box-shadow: '0px 0px 8px 0px rgba(230, 232, 242, 0.05)';\n\n @media (hover: hover) {\n &:hover {\n ${openDropdown}\n }\n }\n\n &:after {\n content: '';\n position: absolute;\n top: -5px;\n background: transparent;\n width: 100%;\n height: 5px;\n }\n`;\n\nexport const DropdownWrapper = styled.div>`\n position: relative;\n width: 100%;\n border-radius: 12px;\n justify-content: center;\n\n &:focus-within ${DropdownOptionsWrapper} {\n ${openDropdown}\n }\n\n @media (hover: hover) {\n &:hover ${DropdownOptionsWrapper} {\n ${openDropdown}\n }\n }\n\n @media (min-width: ${screens['lg']}) {\n justify-content: start;\n width: fit-content;\n }\n`;\n\nexport const DropdownHr = styled.hr`\n width: 80%;\n opacity: 0.5;\n`;\n\nconst baseOption = css`\n background-color: transparent;\n border: none;\n border-radius: 10px;\n padding: 14px;\n color: ${({ theme }) => theme.colors.text.lightGrey};\n font-size: ${({ theme }) => theme.fontSizes.text.m};\n line-height: 1;\n text-align: center;\n text-decoration: none;\n outline: none;\n\n @media (min-width: ${screens['lg']}) {\n text-align: left;\n }\n\n &:focus {\n background: ${({ theme }) => theme.colors.inkGrey};\n }\n\n @media (hover: hover) {\n &:hover {\n background: ${({ theme }) => theme.colors.inkGrey};\n }\n }\n`;\n\nexport const DropdownOptionLink = styled(Link)`\n ${baseOption}\n`;\n\nexport const DropdownOptionButton = styled.button`\n ${baseOption}\n`;\n\nexport const DropdownOptionSubtext = styled.div`\n font-size: ${({ theme }) => theme.fontSizes.text.xs};\n margin-top: 5px;\n`;","import { forwardRef } from 'react';\n\nimport { STyledLabel, StyledInput, StyledInputBorder, StyledInputWrapper, StyledSearchButton } from './input.styles';\nimport type { InputProps } from './input.types';\n\nimport { MagnifyingGlass } from '@/components/elements/icon';\nimport Stack from '@/components/elements/stack';\nimport { Text } from '@/components/elements/text';\n\nexport const Input = forwardRef(\n ({ as = 'input', errorMessage, $hasError = false, onClickSearch, id, label, ...props }, ref) => {\n return (\n \n \n {label && {label}}\n \n \n {props.type === 'search' && (\n \n \n \n )}\n \n \n {errorMessage && (\n \n {errorMessage}\n \n )}\n \n );\n },\n);\n\nInput.displayName = 'Input';\n","'use client';\n\nimport type { InputBorderProps, InputProps } from './input.types';\n\nimport { styled } from '@/styles';\n\nexport const StyledInputWrapper = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n width: 100%;\n`;\n\nexport const StyledInputBorder = styled.span`\n width: 100%;\n display: inline-block;\n border-radius: 6px;\n overflow: hidden;\n position: relative;\n padding: 1px;\n height: ${({ $styledAs }) => ($styledAs === 'textarea' ? '124px' : 'auto')};\n\n background: ${({ theme }) => theme.colors.borderGradient};\n\n @media (hover: hover) {\n &:hover {\n ${({ theme, $hasError }) => !$hasError && `background: ${theme.colors.blueGradient};`}\n }\n }\n\n ${({ $hasError, theme }) =>\n $hasError &&\n `\n background: ${theme.colors.orangeGradient};\n `}\n`;\n\nexport const StyledSearchButton = styled.button`\n position: absolute;\n top: 0;\n bottom: 0;\n right: 12px;\n margin: auto;\n border: none;\n outline: none;\n background-color: transparent;\n color: ${({ theme }) => theme.colors.text.alwayWhite};\n`;\n\nexport const StyledInput = styled.input`\n padding: 14px 14px;\n border: none;\n font-size: ${({ theme }) => theme.fontSizes.text.s};\n line-height: 150%;\n color: ${({ theme, $hasError }) => ($hasError ? theme.colors.text.cinnarbarRed : theme.colors.text.lightGrey)};\n outline: 0;\n width: 100%;\n height: ${({ as }) => (as === 'textarea' ? '100%' : '46px')};\n resize: none;\n\n border-radius: 6px;\n background-color: ${({ theme, $hasError, $type }) =>\n $type === 'search' ? theme.colors.darkGrey : $hasError ? theme.colors.inkBlack : theme.colors.inkGrey};\n\n box-shadow:\n 0px 1.5px 4px -1px rgba(10, 9, 11, 0.07),\n 0px 3px 1px 0px rgba(24, 25, 28, 0.5) inset;\n\n &::placeholder {\n color: ${({ theme, $hasError }) => ($hasError ? theme.colors.text.cinnarbarRed : theme.colors.text.darkGrey)};\n }\n\n &:focus {\n background-color: ${({ theme }) => theme.colors.inkBlack};\n }\n`;\n\nexport const STyledLabel = styled.label`\n font-weight: ${({ theme }) => theme.fontWeight.bold};\n color: ${({ theme }) => theme.colors.text.darkGrey};\n`;\n","export const NEWSLETTER_URLS = {\n default: 'https://http-toolkit.mailcoach.app/subscribe/a63464bc-1d3f-4318-9229-91061d658373',\n blog: 'https://http-toolkit.mailcoach.app/subscribe/1bc7e8da-ebc9-445e-b746-afe83016d607',\n download: 'https://http-toolkit.mailcoach.app/subscribe/411aab08-147f-4c98-824a-ef3ba95fd263',\n};\n","import { useMedia } from 'react-use';\n\nimport { screens } from '@/styles';\n\nexport const useIsMobile = () => {\n const isMobile = useMedia(`(max-width: ${screens.lg})`, false);\n\n return isMobile;\n};\n","import { useEffect, useState } from 'react';\n\nexport const useMounted = () => {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n setMounted(true);\n }, []);\n\n return { isMounted: mounted };\n};\n"],"names":["Button","as","children","href","icon","Icon","iconWeight","onClick","target","type","$small","$variant","$withBorder","$isDropdown","$isFluid","className","aria","param","BaseButton","ButtonComponent","StyledLink","StyledButton","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","data-button","jsx","size","weight","MovingBorder","StyledButtonWrapper","StyledContainer","styled","div","_templateObject","theme","$size","screens","content","StyledHideElementOn","_templateObject2","$hideBelow","$hideAbove","css","__webpack_exports__","Z","$gap","$gapxl","$direction","$alignItems","StyledStack","props","lg","StyledSendEmailWrapper","colors","inkBlack","button","border","shadowDefault","md","StyledSendEmailForm","form","_templateObject1","SendEmail","buttonProps","jsx_runtime","Text","fontSize","textAlign","color","method","action","NEWSLETTER_URLS","download","label","htmlFor","input","id","name","tab-index","autoComplete","Input","required","placeholder","renderOptions","items","map","item","index","DropdownHr","concat","text","subtext","OptionComponent","DropdownOptionLink","DropdownOptionButton","role","DropdownOptionSubtext","Dropdown","CaretDown","DropdownWrapper","data-dropdown-wrapper","data-dropdown","DropdownOptionsWrapper","Array","isArray","DownloadSubText","download_dropdown_templateObject","fontSizes","xs","downloadItemToOption","DownloadDropdown","isInHeader","fixedOS","downloadItems","operatingSystem","setOperatingSystem","useState","isMobile","useIsMobile","defaultDownload","find","os","defaultText","useMemo","currentOsDownloads","otherOsDownloads","partition","sortBy","length","useEffect","parseUserAgent","userAgent","test","includes","navigator","Fragment","data-is-in-header","aria-label","openDropdown","hr","_templateObject3","baseOption","lightGrey","m","inkGrey","Link","_templateObject6","_templateObject7","forwardRef","ref","errorMessage","$hasError","onClickSearch","StyledInputWrapper","Stack","STyledLabel","StyledInputBorder","$styledAs","StyledInput","$type","StyledSearchButton","title","MagnifyingGlass","displayName","span","borderGradient","blueGradient","orangeGradient","alwayWhite","s","cinnarbarRed","darkGrey","_templateObject4","fontWeight","bold","default","blog","useMedia","useMounted","mounted","setMounted","isMounted"],"sourceRoot":""}