{"version":3,"sources":["../../src/BaseIcon.tsx","../../src/components/bookmarks/Bookmark.tsx","../../src/components/bookmarks/BookmarkAdd.tsx","../../src/components/bookmarks/BookmarkCheck.tsx","../../src/components/bookmarks/BookmarkOff.tsx","../../src/components/bookmarks/BookmarkRemove.tsx","../../src/components/bookmarks/BookmarkSubtract.tsx"],"sourcesContent":["import React from \"react\";\nimport styled from \"styled-components\";\nimport { resolveIconSize } from \"@xsolla/xui-primitives-core\";\nimport type { BaseIconInternalProps } from \"./types\";\n\nconst StyledIcon = styled.div<{ $size: string; $color: string }>`\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  width: ${(props) => props.$size};\n  height: ${(props) => props.$size};\n  color: ${(props) => props.$color};\n\n  svg {\n    width: 100%;\n    height: 100%;\n  }\n`;\n\nexport const BaseIcon: React.FC<BaseIconInternalProps> = ({\n  variant = \"line\",\n  size = 24,\n  color = \"currentColor\",\n  solidContent,\n  lineContent,\n  className,\n  style,\n  \"data-testid\": testId,\n  testID,\n  \"aria-label\": ariaLabel,\n  \"aria-hidden\": ariaHidden,\n}) => {\n  const svgContent = variant === \"line\" ? lineContent : solidContent;\n  const sizeValue = resolveIconSize(size);\n\n  return (\n    <StyledIcon\n      $size={sizeValue}\n      $color={color}\n      className={className}\n      style={style}\n      data-testid={testId || testID}\n      role={ariaLabel ? \"img\" : undefined}\n      aria-label={ariaLabel}\n      aria-hidden={ariaHidden ?? (ariaLabel ? undefined : true)}\n      dangerouslySetInnerHTML={{ __html: svgContent }}\n    />\n  );\n};\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3554C20 21.7393 19.5852 21.98 19.2519 21.7895L12 17.6448L4.7481 21.7895C4.41478 21.98 4 21.7393 4 21.3554V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.362C20 21.7459 19.5852 21.9866 19.2519 21.7961L12 17.6514L4.7481 21.7961C4.41478 21.9866 4 21.7459 4 21.362V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const Bookmark: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-add--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3557C19.9998 21.7394 19.5852 21.9798 19.252 21.7893L12 17.6448L4.74805 21.7893C4.41482 21.9798 4.00024 21.7394 4 21.3557V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5ZM11 7.99341V9.99341H9V11.9934H11V13.9934H13V11.9934H15V9.99341H13V7.99341H11Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-add--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.3623C19.9998 21.746 19.5852 21.9864 19.252 21.7959L12 17.6514L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764ZM13 9H15V11H13V13H11V11H9V9H11V7H13V9Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkAdd: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-check--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3557C19.9998 21.7394 19.5852 21.9798 19.252 21.7893L12 17.6448L4.74805 21.7893C4.41482 21.9798 4.00024 21.7394 4 21.3557V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5ZM11.6348 10.5276L9.51367 8.40649L8.09961 9.82056L11.2812 13.0032C11.4765 13.1983 11.793 13.1983 11.9883 13.0032L16.0283 8.96216L14.6143 7.5481L11.6348 10.5276Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-check--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.3623C19.9998 21.746 19.5852 21.9864 19.252 21.7959L12 17.6514L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764ZM16.0283 8.96875L11.9883 13.0098C11.793 13.2049 11.4765 13.2049 11.2812 13.0098L8.09961 9.82715L9.51367 8.41309L11.6348 10.5342L14.6143 7.55469L16.0283 8.96875Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkCheck: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-off--solid\"><path id=\"Union\" d=\"M4.4209 3.00903C4.44669 3.00493 4.47305 3.0022 4.5 3.0022H19.5C19.7761 3.0022 20 3.22605 20 3.5022V18.5881L22.707 21.2952L21.293 22.7092L1.29297 2.70923L2.70703 1.29517L4.4209 3.00903ZM6 18.7786L10.7637 16.0569L11.7627 17.7883L4.74805 21.7981C4.41482 21.9885 4.00024 21.7482 4 21.3645V10.0022H6V18.7786Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-off--line\"><path id=\"Union\" d=\"M4.4209 3.00684C4.44669 3.00273 4.47305 3 4.5 3H19.5C19.7761 3 20 3.22386 20 3.5V18.5859L22.707 21.293L21.293 22.707L1.29297 2.70703L2.70703 1.29297L4.4209 3.00684ZM6 18.7764L10.7637 16.0547L11.7627 17.7861L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V10H6V18.7764ZM18 16.5859V5H6.41406L18 16.5859Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkOff: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-remove--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3557C19.9998 21.7394 19.5852 21.9798 19.252 21.7893L12 17.6448L4.74805 21.7893C4.41482 21.9798 4.00024 21.7394 4 21.3557V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5ZM12 9.82153L10.5859 8.40747L9.17188 9.82153L10.5859 11.2356L9.17188 12.6506L10.5859 14.0647L12 12.6506L13.4141 14.0647L14.8281 12.6506L13.4141 11.2356L14.8281 9.82153L13.4141 8.40747L12 9.82153Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-remove--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.3623C19.9998 21.746 19.5852 21.9864 19.252 21.7959L12 17.6514L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764ZM14.8281 8.82812L13.4141 10.2422L14.8281 11.6572L13.4141 13.0713L12 11.6572L10.5859 13.0713L9.17188 11.6572L10.5859 10.2422L9.17188 8.82812L10.5859 7.41406L12 8.82812L13.4141 7.41406L14.8281 8.82812Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkRemove: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-subtract--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3557C19.9998 21.7394 19.5852 21.9798 19.252 21.7893L12 17.6448L4.74805 21.7893C4.41482 21.9798 4.00024 21.7394 4 21.3557V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5ZM9 9.99341V11.9934H15V9.99341H9Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-subtract--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.3623C19.9998 21.746 19.5852 21.9864 19.252 21.7959L12 17.6514L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764ZM15 11H9V9H15V11Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkSubtract: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n"],"mappings":";AACA,OAAO,YAAY;AACnB,SAAS,uBAAuB;AAkC5B;AA/BJ,IAAM,aAAa,OAAO;AAAA;AAAA;AAAA;AAAA,WAIf,CAAC,UAAU,MAAM,KAAK;AAAA,YACrB,CAAC,UAAU,MAAM,KAAK;AAAA,WACvB,CAAC,UAAU,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQ3B,IAAM,WAA4C,CAAC;AAAA,EACxD,UAAU;AAAA,EACV,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,cAAAA;AAAA,EACA,aAAAC;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAA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CAAC,UACxD,gBAAAF,KAAC,YAAU,GAAG,OAAO,cAAcC,eAAc,aAAaC,cAAa;","names":["solidContent","lineContent","jsx","jsx","solidContent","lineContent","jsx","solidContent","lineContent","jsx","solidContent","lineContent","jsx","solidContent","lineContent","jsx","solidContent","lineContent"]}