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CACxCtB,SAAUiB,EACVnB,WAAO,IAETnB,EAAS4C,QAAUL,EACnB,aACE,KACE,GAAIF,IAASG,EACX,OACF,IAAIR,EA0BJ,OAzBAA,EAAYlC,EACV0C,GACA,CAACnB,EAAQF,KACPwB,EAAS,CACPtB,SACAF,UAEEnB,EAAS4C,SACX5C,EAAS4C,QAAQvB,EAAQF,GACvBA,EAAMb,gBAAkB8B,GAAeJ,IACzCA,IACAA,OAAY,EACd,GAEF,CACEvC,OACA0C,aACA1B,YAEAc,kBAEAW,SAEFjC,GAEK,KACD+B,GACFA,GACF,CACD,GAIH,CAEEP,MAAMC,QAAQjB,GAAaA,EAAUb,WAAaa,EAClD+B,EACA/C,EACA0C,EACAC,EACAC,EACAd,EACAtB,EACAiC,IAGJ,MAAMW,EAAoC,OAArBzB,EAAKsB,EAAMvB,YAAiB,EAASC,EAAGb,OACvDuC,EAAsB,WACvBN,IAAOK,GAAgBT,GAAgBC,GAAQS,EAAoBF,UAAYC,IAClFC,EAAoBF,QAAUC,EAC9BF,EAAS,CACPtB,SAAUiB,EACVnB,WAAO,KAGX,MAAM4B,EAAS,CAACN,EAAQC,EAAMrB,OAAQqB,EAAMvB,OAI5C,OAHA4B,EAAOP,IAAMO,EAAO,GACpBA,EAAO1B,OAAS0B,EAAO,GACvBA,EAAO5B,MAAQ4B,EAAO,GACfA,CACT","sources":["webpack:///./app/javascript/components/Articles/ArticleListWithIntro/PagedList/loading.jsx","webpack:///./app/javascript/components/Item/Information/Brand/translations.js","webpack:///./app/javascript/components/Item/Information/Brand/index.jsx","webpack:///./app/javascript/components/Item/Information/Brand/loading.jsx","webpack:///./app/javascript/components/Item/Information/Brand/style.js","webpack:///./app/javascript/components/Item/Information/Specs/DataBox/style.js","webpack:///./app/javascript/components/Item/Information/Specs/DataBox/index.jsx","webpack:///./app/javascript/components/Item/Information/Specs/translations.js","webpack:///./app/javascript/components/Item/Information/Specs/desktop/index.jsx","webpack:///./app/javascript/components/Item/Information/Specs/DataBox/loading.jsx","webpack:///./app/javascript/components/Item/Information/Specs/desktop/loading.jsx","webpack:///./app/javascript/components/Item/Information/Specs/desktop/style.js","webpack:///./app/javascript/components/PagedList/loading.jsx","webpack:///./app/javascript/components/ProductCategory/ArticleList/hooks.js","webpack:///./app/javascript/components/ProductCategory/ArticleList/index.jsx","webpack:///./app/javascript/components/ProductCategoryBestseller/ItemList/translations.js","webpack:///./app/javascript/components/ProductCategoryBestseller/ItemList/hooks.js","webpack:///./app/javascript/components/ProductCategoryBestseller/Overview/translations.js","webpack:///./app/javascript/components/ProductCategoryBestseller/Overview/hooks.js","webpack:///./app/javascript/templates/ProductCategoryBestseller/hooks.js","webpack:///./node_modules/react-intersection-observer/index.mjs"],"sourcesContent":["import * as Styled from './style'\nimport PagedListLoading from '../../../PagedList/loading'\nimport { ArticleCardReadOnlyLoading } from '../../ArticleCard/loading'\n\nimport { renderElementMultipleTimes } from '../../../../utilities/render'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\nimport { Skeleton } from 'elements'\n\nexport const ArticleListWithIntroPagedListLoading = ({\n column,\n row = 1,\n titleSize,\n paginationPosition\n}) => {\n return (\n <PagedListLoading\n column={column}\n row={row}\n titleSize={titleSize}\n renderPaginationComponent={pagination => (\n <Styled.Pagination>\n <Skeleton width=\"85px\" height=\"36px\" type=\"box\" rounded />\n {pagination}\n </Styled.Pagination>\n )}\n paginationPosition={paginationPosition}>\n {renderElementMultipleTimes(column * row, <ArticleCardReadOnlyLoading />)}\n </PagedListLoading>\n )\n}\n\nArticleListWithIntroPagedListLoading.propTypes = {\n column: PropTypes.number.isRequired,\n row: PropTypes.number,\n titleSize: PropTypes.string,\n paginationPosition: PropTypes.oneOf(['top', 'bottom'])\n}\n","export default {\n en: {\n ItemInformationBrand: {\n label: 'Brand'\n }\n },\n\n th: {\n ItemInformationBrand: {\n label: 'à¹à¸šà¸£à¸™à¸”์'\n }\n }\n}\n","import * as Styled from './style'\nimport { Link } from '../../../../elements'\n\nimport translations from '../Brand/translations'\nimport { i18n, initializeI18n } from '../../../../utilities/i18n'\n\nimport NoImage from '../../../../../assets/images/base/placeholder-300.png'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\nconst Brand = ({ brand, size = '75px', emptyData }) => {\n initializeI18n({ localeFiles: translations })\n\n const { name, logo, url } = brand || {}\n const mixpanelObj = {\n event: 'Click Brand'\n }\n\n if (!name) return emptyData\n\n return (\n <Link id={name} href={url} mixpanelObj={mixpanelObj}>\n <Styled.Wrapper>\n <Styled.Logo $size={size}>\n <img src={logo?.small || NoImage} alt={name} />\n </Styled.Logo>\n <div>\n <Styled.Label>{i18n.t('ItemInformationBrand.label')}</Styled.Label>\n <Styled.Name>{name}</Styled.Name>\n </div>\n </Styled.Wrapper>\n </Link>\n )\n}\n\nBrand.propTypes = {\n brand: PropTypes.shape({\n name: PropTypes.string,\n logo: PropTypes.shape({\n small: PropTypes.string\n }),\n url: PropTypes.string\n }),\n size: PropTypes.string,\n emptyData: PropTypes.element\n}\n\n\nexport default Brand\n","import * as Styled from './style'\nimport { Skeleton } from '../../../../elements'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\n\nconst BrandLoading = ({ size = '75px' }) => {\n return (\n <Styled.Wrapper>\n <Styled.Logo $size={size}>\n <Skeleton width=\"100%\" height=\"100%\" type=\"image\" rounded />\n </Styled.Logo>\n\n <div>\n <Skeleton width=\"40px\" size=\"14px\" />\n <Skeleton width=\"120px\" size=\"16px\" />\n </div>\n </Styled.Wrapper>\n )\n}\n\nBrandLoading.propTypes = {\n size: PropTypes.string\n}\n\n\nexport default BrandLoading\n","import styled from 'styled-components'\n\nexport const Wrapper = styled.div`\n display: flex;\n gap: 8px;\n align-items: center;\n`\n\nexport const Logo = styled.div`\n width: ${props => props.$size};\n height: ${props => props.$size};\n\n > img {\n width: 100%;\n height: 100%;\n border-radius: 8px;\n }\n`\n\nexport const Label = styled.h4`\n color: ${props => props.theme.colors.textSubHeading};\n font-size: 14px;\n margin: 0;\n`\n\nexport const Name = styled.span`\n color: ${props => props.theme.colors.textHeading};\n flex: 1;\n`\n","import styled from 'styled-components'\n\nexport const Wrapper = styled.div`\n display: flex;\n gap: 16px;\n`\n\nexport const Image = styled.img`\n height: 32px;\n width: 32px;\n`\n\nexport const Detail = styled.div`\n flex: 1;\n`\n\nconst getColorFromTheme = ({ theme, $color }) => {\n return theme.colors[$color] || $color || theme.colors.textHeading\n}\n\nexport const Label = styled.label`\n color: ${props => getColorFromTheme(props)};\n font-size: ${props => props.$size};\n font-weight: 600;\n margin: 0;\n`\n\nexport const Text = styled.p`\n color: ${props => getColorFromTheme(props)};\n font-size: ${props => props.$size};\n margin: 0;\n\n ${props => props.$customStyle}\n`\n","import * as Styled from './style'\n\nimport { camelize } from '../../../../../utilities/string'\nimport { i18n } from '../../../../../utilities/i18n'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\nimport {Link} from 'elements'\n\nconst renderImage = (image, name) => {\n if (!image) return null\n\n return <Styled.Image src={image} alt={`item ${name}`} />\n}\n\nconst renderText = (text, textColor, textSize, url) => {\n if (url) {\n return <Styled.Text as={Link} href={url} $color={textColor} $size={textSize}>{text}</Styled.Text>\n } else {\n return <Styled.Text $color={textColor} $size={textSize}>{text}</Styled.Text>\n }\n}\n\nconst SpecsDataBox = ({\n labelAs = 'h4',\n labelColor,\n labelSize = '16px',\n image,\n name,\n text,\n textColor,\n textSize = '18px',\n url\n}) => {\n if (!text) return null\n\n return (\n <Styled.Wrapper>\n {renderImage(image, name)}\n\n <Styled.Detail>\n <Styled.Label as={labelAs} $color={labelColor} $size={labelSize}>\n {i18n.t(`ItemInformationSpecs.${camelize(name)}`)}\n </Styled.Label>\n {renderText(text, textColor, textSize, url)}\n </Styled.Detail>\n </Styled.Wrapper>\n )\n}\n\nSpecsDataBox.propTypes = {\n labelAs: PropTypes.string,\n labelColor: PropTypes.string,\n labelSize: PropTypes.string,\n image: PropTypes.string,\n name: PropTypes.string.isRequired,\n size: PropTypes.oneOf(['small', 'default']),\n text: PropTypes.string,\n textColor: PropTypes.string,\n textSize: PropTypes.string,\n url: PropTypes.string\n}\n\nexport default SpecsDataBox\n","export default {\n en: {\n ItemInformationSpecs: {\n availabilityStatus: 'Availability Status',\n dimension: 'Dimension',\n package: 'Package',\n standard: 'Standard',\n shortDescription: 'Short Description',\n tisNo: 'TIS %{code}',\n weight: 'Weight per piece (kg)'\n }\n },\n\n th: {\n ItemInformationSpecs: {\n availabilityStatus: 'สถานะสินค้า',\n dimension: 'ขนาด',\n package: 'บรรจุ',\n standard: 'มาตรà¸à¸²à¸™à¸à¸¸à¸•à¸ªà¸²à¸«à¸à¸£à¸£à¸¡',\n shortDescription: 'คำà¸à¸˜à¸´à¸šà¸²à¸¢à¸ªà¸´à¸™à¸„้า',\n tisNo: 'มà¸à¸. %{code}',\n weight: 'น้ำหนัà¸à¸•à¹ˆà¸à¸Šà¸´à¹‰à¸™ (à¸à¸.)'\n }\n }\n}\n","import * as Styled from './style'\nimport SpecsDataBox from '../DataBox'\n\nimport translations from '../translations'\nimport { i18n, initializeI18n } from '../../../../../utilities/i18n'\n\nimport DimensionIcon from '../images/icon-dimension-32.png'\nimport WeightIcon from '../images/icon-weight-32.png'\nimport PackageIcon from '../images/icon-package-32.png'\nimport StandardIcon from '../images/icon-standard-32.png'\nimport AvailabilityIcon from '../images/icon-availability-32.png'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\nconst ItemSpecs = ({\n labelAs,\n labelColor,\n labelSize,\n textSize,\n descriptionSize = '14px',\n item,\n gap = '16px',\n type = 'box'\n}) => {\n initializeI18n({ localeFiles: translations })\n const { availabilityStatus, piecePerPack, thaiIndustrialStandard } = item\n\n return (\n <Styled.Wrapper $gap={gap}>\n <SpecsDataBox\n labelAs={labelAs}\n labelColor={labelColor}\n labelSize={labelSize}\n image={DimensionIcon}\n name=\"dimension\"\n text={item.displaySize || '-'}\n textSize={textSize} />\n\n <Styled.ListBox $gap={gap} $type={type}>\n <SpecsDataBox\n labelAs={labelAs}\n labelColor={labelColor}\n labelSize={labelSize}\n image={WeightIcon}\n name=\"weight\"\n text={item.displayWeight}\n textSize={textSize} />\n\n <SpecsDataBox\n labelAs={labelAs}\n labelColor={labelColor}\n labelSize={labelSize}\n image={PackageIcon}\n name=\"package\"\n text={piecePerPack && `${piecePerPack} ${item.unit}/${item.piecePerPackUnit}`}\n textSize={textSize} />\n\n <SpecsDataBox\n labelAs={labelAs}\n labelColor={labelColor}\n labelSize={labelSize}\n image={StandardIcon}\n name=\"standard\"\n text={thaiIndustrialStandard?.tisNo && i18n.t('ItemInformationSpecs.tisNo', { code: thaiIndustrialStandard?.tisNo })}\n textSize={textSize}\n url={thaiIndustrialStandard?.tisNo && thaiIndustrialStandard?.url} />\n\n <SpecsDataBox\n labelAs={labelAs}\n labelColor={labelColor}\n labelSize={labelSize}\n image={AvailabilityIcon}\n name=\"availability status\"\n text={availabilityStatus?.name}\n textSize={textSize} />\n </Styled.ListBox>\n\n <SpecsDataBox\n labelAs={labelAs}\n labelColor={labelColor}\n labelSize={labelSize}\n name=\"short description\"\n text={item.shortDescription}\n textSize={descriptionSize} />\n </Styled.Wrapper>\n )\n}\n\nItemSpecs.propTypes = {\n labelAs: PropTypes.string,\n labelColor: PropTypes.string,\n labelSize: PropTypes.string,\n textSize: PropTypes.string,\n descriptionSize: PropTypes.string,\n item: PropTypes.object.isRequired,\n gap: PropTypes.string,\n type: PropTypes.oneOf(['box', 'list'])\n}\n\n\n\nexport default ItemSpecs\n","import * as Styled from './style'\n\nimport { renderElementMultipleTimes } from '../../../../../utilities/render'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\nimport { Skeleton } from 'elements'\n\nconst loadText = (count, textSize) => {\n if (count < 2) return <Skeleton width=\"80%\" size={textSize} />\n\n return renderElementMultipleTimes(count, <Skeleton size={textSize} />)\n}\n\n\nconst SpecsDataBoxLoading = ({\n labelSize = '16px',\n textSize = '18px',\n count = 1,\n hideImage = false\n}) => {\n return (\n <Styled.Wrapper>\n {!hideImage && <Skeleton width=\"32px\" height=\"32px\" type=\"image\" rounded />}\n\n <Styled.Detail>\n <Skeleton width=\"60%\" size={labelSize} />\n {loadText(count, textSize)}\n </Styled.Detail>\n </Styled.Wrapper>\n )\n}\n\nSpecsDataBoxLoading.propTypes = {\n labelSize: PropTypes.string,\n textSize: PropTypes.string,\n count: PropTypes.number,\n hideImage: PropTypes.bool\n}\n\n\nexport default SpecsDataBoxLoading\n","import * as Styled from './style'\nimport SpecsDataBoxLoading from '../DataBox/loading'\n\nimport { renderElementMultipleTimes } from '../../../../../utilities/render'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\nconst ItemSpecsLoading = ({\n labelSize,\n textSize,\n descriptionSize = '14px',\n gap = '16px',\n type = 'box'\n}) => {\n return (\n <Styled.Wrapper $gap={gap}>\n <SpecsDataBoxLoading labelSize={labelSize} textSize={textSize} />\n\n <Styled.ListBox $gap={gap} $type={type}>\n {renderElementMultipleTimes(4, <SpecsDataBoxLoading labelSize={labelSize} textSize={textSize} />)}\n </Styled.ListBox>\n\n <SpecsDataBoxLoading labelSize={labelSize} textSize={descriptionSize} count={3} hideImage />\n </Styled.Wrapper>\n )\n}\n\nItemSpecsLoading.propTypes = {\n labelSize: PropTypes.string,\n textSize: PropTypes.string,\n descriptionSize: PropTypes.string,\n gap: PropTypes.string,\n type: PropTypes.oneOf(['box', 'list'])\n}\n\n\n\nexport default ItemSpecsLoading\n","import styled, { css } from 'styled-components'\n\nexport const Wrapper = styled.div`\n line-height: 1.5;\n\n display: flex;\n flex-direction: column;\n gap: ${props => props.$gap};\n`\n\nconst boxStyle = () => css`\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: ${props => props.$gap};\n`\n\nconst listStyle = () => css`\n display: flex;\n flex-direction: column;\n gap: ${props => props.$gap};\n`\n\nexport const ListBox = styled.div`\n ${props => props.$type === 'box' ? boxStyle() : listStyle()}\n`\n","import * as Styled from './style'\n\nimport React, { Children, Fragment } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { Skeleton } from 'elements'\n\nconst loadChildren = (children, renderSeparatorComponent) => {\n if (!renderSeparatorComponent) return children\n\n return Children.map(children, (child, index) => {\n return (\n <Fragment key={index}>\n {index > 0 && renderSeparatorComponent()}\n {child}\n </Fragment>\n )\n })\n}\n\nconst PagedListLoading = ({\n titleSize = '18px',\n children,\n column,\n gap = '8px',\n paginationPosition = 'bottom',\n renderPaginationComponent = pagination => pagination,\n renderSeparatorComponent,\n hideTitle = false,\n customStyle\n}) => {\n const pagination = (\n <Styled.FlexBox $gap=\"8px\">\n <Skeleton width=\"36px\" height=\"36px\" type=\"box\" circle />\n <Skeleton width=\"36px\" height=\"36px\" type=\"box\" circle />\n <Skeleton width=\"42px\" size=\"16px\" />\n </Styled.FlexBox>\n )\n\n return (\n <Styled.Wrapper $customStyle={customStyle}>\n <Styled.FlexBox $gap=\"12px\" $justify=\"space-between\">\n <Styled.Title $hide={hideTitle}>\n <Skeleton width=\"160px\" size={titleSize} />\n </Styled.Title>\n {paginationPosition === 'top' && renderPaginationComponent(pagination)}\n </Styled.FlexBox>\n \n <Styled.ChildrenSection $column={column} $gap={gap} $separator={!!renderSeparatorComponent}>\n {loadChildren(children, renderSeparatorComponent)}\n </Styled.ChildrenSection>\n\n {paginationPosition === 'bottom' && renderPaginationComponent(pagination)}\n </Styled.Wrapper>\n )\n}\n\nPagedListLoading.propTypes = {\n titleSize: PropTypes.string,\n children: PropTypes.node.isRequired,\n column: PropTypes.number.isRequired,\n gap: PropTypes.string,\n paginationPosition: PropTypes.oneOf(['top', 'bottom']),\n renderPaginationComponent: PropTypes.func,\n renderSeparatorComponent: PropTypes.func,\n hideTitle: PropTypes.bool,\n customStyle: PropTypes.any\n}\n\nexport default PagedListLoading\n","import { gql, useQuery } from '@apollo/client'\nimport { useCallback } from 'react'\n\nconst PRODUCT_CATEGORY_ARTICLE_LIST_QUERY = gql`\n query ProductCategoryArticleListQuery(\n $slug: ID!,\n $first: Int,\n $after: String,\n $before: String,\n $last: Int\n ) {\n productCategory (id: $slug) {\n id\n jobCategoriesConnection(\n first: $first,\n after: $after,\n before: $before,\n last: $last\n ) {\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n nodes {\n id\n title\n description\n contentTypeLabel\n url\n homemapsImageUrl {\n imageUrl: small\n }\n }\n }\n }\n }\n`\n\nexport const useProductCategoryArticleList = (slug, first = 2) => {\n const { data, loading, error, refetch } = useQuery(PRODUCT_CATEGORY_ARTICLE_LIST_QUERY, {\n variables: { slug, first },\n })\n const connectionData = data?.productCategory?.jobCategoriesConnection || {}\n const { totalCount, nodes, pageInfo } = connectionData\n const { startCursor, endCursor, hasNextPage, hasPreviousPage } = pageInfo || {}\n \n const onRefetch = useCallback(async args => {\n await refetch({ first: args.first, after: args.after, last: args.last, before: args.before })\n }, [])\n\n return {\n articles: nodes || [],\n totalCount,\n totalPages: Math.ceil(totalCount / first),\n hasNextPage,\n hasPreviousPage,\n loading,\n error,\n connectionData,\n onRefetch,\n onNextPage: async () => {\n await onRefetch({ first: first, after: endCursor })\n },\n onPreviousPage: async () => {\n await onRefetch({ last: first, before: startCursor })\n }\n }\n}\n","import { useProductCategoryArticleList } from './hooks'\nimport {\n ArticleListWithIntroGrid,\n ArticleListWithIntroColumn,\n ArticleListWithIntroPagedList\n} from '../../Articles/ArticleListWithIntro'\nimport { ArticleListWithIntroPagedListLoading } from '../../Articles/ArticleListWithIntro/PagedList/loading'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\nconst CARD_LIMIT = 2\nexport const ProductCategoryArticleListGrid = ({ slug, useInView }) => {\n const articleHooks = useProductCategoryArticleList(slug, CARD_LIMIT)\n\n return (\n <ArticleListWithIntroGrid {...articleHooks} cardLimit={CARD_LIMIT} useInView={useInView} />\n )\n}\nProductCategoryArticleListGrid.propTypes = {\n slug: PropTypes.string,\n useInView: PropTypes.bool\n}\n\nexport const ProductCategoryArticleListColumn = ({ slug }) => {\n const articleHooks = useProductCategoryArticleList(slug, 1)\n\n return (\n <ArticleListWithIntroColumn {...articleHooks} cardLimit={1} />\n )\n}\nProductCategoryArticleListColumn.propTypes = {\n slug: PropTypes.string\n}\n\nexport const ProductCategoryArticlePagedList = ({\n slug,\n column,\n row = 1,\n titleAs,\n titleSize,\n paginationPosition\n}) => {\n const count = column * row\n const articleHooks = useProductCategoryArticleList(slug, count)\n\n if (articleHooks.loading) {\n return (\n <ArticleListWithIntroPagedListLoading\n column={column} \n row={row} \n titleSize={titleSize}\n paginationPosition={paginationPosition} />\n )\n }\n\n return (\n <ArticleListWithIntroPagedList\n column={column}\n row={row}\n titleAs={titleAs}\n titleSize={titleSize}\n paginationPosition={paginationPosition}\n {...articleHooks} />\n )\n}\nProductCategoryArticlePagedList.propTypes = {\n slug: PropTypes.string.isRequired,\n column: PropTypes.number.isRequired,\n row: PropTypes.number,\n titleAs: PropTypes.string,\n titleSize: PropTypes.string,\n paginationPosition: PropTypes.oneOf(['top', 'bottom'])\n}\n","export default {\n en: {\n ItemList: {\n contactStaff: 'Please contact us.',\n itemNumber: 'Item number',\n no: 'No.',\n price: 'Price (THB) /%{unit}',\n viewDetail: 'View product details',\n }\n },\n\n th: {\n ItemList: {\n contactStaff: 'ใส่ตะà¸à¸£à¹‰à¸²à¹€à¸žà¸·à¹ˆà¸à¸‚à¸à¸£à¸²à¸„า',\n itemNumber: 'รหัสสินค้า',\n no: 'ลำดับ',\n price: 'ราคา (บาท) /%{unit}',\n viewDetail: 'ดูรายละเà¸à¸µà¸¢à¸”สินค้า',\n }\n }\n}\n","import translations from './translations'\nimport { initializeI18n } from '../../../utilities/i18n'\nimport { formatNumber } from '../../../utilities/number'\n\nimport { gql, useQuery } from '@apollo/client'\n\nconst QUERY = gql`\n query ProductCategoryBestsellerItemList($slug: ID!, $minimized: Boolean!) {\n productCategory(id: $slug) {\n id\n bestseller(first: 10) {\n nodes {\n id\n name\n shortDescription\n displaySize\n displayWeight\n piecePerPack\n piecePerPackUnit\n unit\n availabilityStatus {\n id\n name\n }\n thaiIndustrialStandard {\n id\n tisNo\n url\n }\n url(navigateTo: \"product\")\n image {\n large @skip(if: $minimized)\n small @include(if: $minimized)\n }\n priceSummary {\n priceAfterDiscount\n }\n brand {\n id\n name\n url\n logo {\n small\n }\n }\n }\n }\n }\n }\n`\n\nexport const useHooks = ({ slug, minimize = false }) => {\n initializeI18n({ localeFiles: translations })\n\n const { loading, data, error } = useQuery(QUERY, {\n variables: { slug, minimized: minimize }\n })\n\n if (error) { console.error(error) }\n\n const displayPrice = price => {\n if (!price) return null\n \n const formatted = parseFloat(price)\n \n return `฿ ${formatNumber(formatted)}`\n }\n\n return {\n loading,\n displayPrice,\n source: data?.productCategory?.bestseller?.nodes || []\n }\n}\n","export default {\n en: {\n Overview: {\n title: 'Top 10 %{name} bestseller %{year}',\n backToCategory: 'Back to All %{name}'\n }\n },\n\n th: {\n Overview: {\n title: '10 à¸à¸±à¸™à¸”ับ%{name}ขายดี %{year}',\n backToCategory: 'à¸à¸¥à¸±à¸šà¸ªà¸¹à¹ˆ %{name} ทั้งหมด'\n }\n }\n}\n","import translations from './translations'\nimport { i18n, initializeI18n } from '../../../utilities/i18n'\n\nexport const useHooks = (slug, name) => {\n initializeI18n({ localeFiles: translations })\n\n return {\n title: i18n.t('Overview.title', {\n name: name,\n year: new Date().getFullYear()\n }),\n actions: [\n {\n label: i18n.t('Overview.backToCategory', { name: name }),\n url: `/${i18n.locale}/product_categories/${slug}`\n }\n ]\n }\n}\n","import { gql, useQuery } from '@apollo/client'\n\nconst QUERY = gql`\n query ProductCategoryBestsellerTemplate($slug: ID!) {\n productCategory(id: $slug) {\n id\n name\n shortDescription\n articleExists\n }\n }\n`\n\nexport const useHooks = slug => {\n const { loading, data, error } = useQuery(QUERY, {\n variables: { slug: slug }\n })\n\n if (error) { console.error(error) }\n\n return {\n loading,\n source: data?.productCategory || {}\n }\n}\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n return value;\n};\n\n// src/InView.tsx\nimport * as React from \"react\";\n\n// src/observe.ts\nvar observerMap = /* @__PURE__ */ new Map();\nvar RootIds = /* @__PURE__ */ new WeakMap();\nvar rootId = 0;\nvar unsupportedValue = void 0;\nfunction defaultFallbackInView(inView) {\n unsupportedValue = inView;\n}\nfunction getRootId(root) {\n if (!root)\n return \"0\";\n if (RootIds.has(root))\n return RootIds.get(root);\n rootId += 1;\n RootIds.set(root, rootId.toString());\n return RootIds.get(root);\n}\nfunction optionsToId(options) {\n return Object.keys(options).sort().filter(\n (key) => options[key] !== void 0\n ).map((key) => {\n return `${key}_${key === \"root\" ? getRootId(options.root) : options[key]}`;\n }).toString();\n}\nfunction createObserver(options) {\n const id = optionsToId(options);\n let instance = observerMap.get(id);\n if (!instance) {\n const elements = /* @__PURE__ */ new Map();\n let thresholds;\n const observer = new IntersectionObserver((entries) => {\n entries.forEach((entry) => {\n var _a;\n const inView = entry.isIntersecting && thresholds.some((threshold) => entry.intersectionRatio >= threshold);\n if (options.trackVisibility && typeof entry.isVisible === \"undefined\") {\n entry.isVisible = inView;\n }\n (_a = elements.get(entry.target)) == null ? void 0 : _a.forEach((callback) => {\n callback(inView, entry);\n });\n });\n }, options);\n thresholds = observer.thresholds || (Array.isArray(options.threshold) ? options.threshold : [options.threshold || 0]);\n instance = {\n id,\n observer,\n elements\n };\n observerMap.set(id, instance);\n }\n return instance;\n}\nfunction observe(element, callback, options = {}, fallbackInView = unsupportedValue) {\n if (typeof window.IntersectionObserver === \"undefined\" && fallbackInView !== void 0) {\n const bounds = element.getBoundingClientRect();\n callback(fallbackInView, {\n isIntersecting: fallbackInView,\n target: element,\n intersectionRatio: typeof options.threshold === \"number\" ? options.threshold : 0,\n time: 0,\n boundingClientRect: bounds,\n intersectionRect: bounds,\n rootBounds: bounds\n });\n return () => {\n };\n }\n const { id, observer, elements } = createObserver(options);\n const callbacks = elements.get(element) || [];\n if (!elements.has(element)) {\n elements.set(element, callbacks);\n }\n callbacks.push(callback);\n observer.observe(element);\n return function unobserve() {\n callbacks.splice(callbacks.indexOf(callback), 1);\n if (callbacks.length === 0) {\n elements.delete(element);\n observer.unobserve(element);\n }\n if (elements.size === 0) {\n observer.disconnect();\n observerMap.delete(id);\n }\n };\n}\n\n// src/InView.tsx\nfunction isPlainChildren(props) {\n return typeof props.children !== \"function\";\n}\nvar InView = class extends React.Component {\n constructor(props) {\n super(props);\n __publicField(this, \"node\", null);\n __publicField(this, \"_unobserveCb\", null);\n __publicField(this, \"handleNode\", (node) => {\n if (this.node) {\n this.unobserve();\n if (!node && !this.props.triggerOnce && !this.props.skip) {\n this.setState({ inView: !!this.props.initialInView, entry: void 0 });\n }\n }\n this.node = node ? node : null;\n this.observeNode();\n });\n __publicField(this, \"handleChange\", (inView, entry) => {\n if (inView && this.props.triggerOnce) {\n this.unobserve();\n }\n if (!isPlainChildren(this.props)) {\n this.setState({ inView, entry });\n }\n if (this.props.onChange) {\n this.props.onChange(inView, entry);\n }\n });\n this.state = {\n inView: !!props.initialInView,\n entry: void 0\n };\n }\n componentDidMount() {\n this.unobserve();\n this.observeNode();\n }\n componentDidUpdate(prevProps) {\n if (prevProps.rootMargin !== this.props.rootMargin || prevProps.root !== this.props.root || prevProps.threshold !== this.props.threshold || prevProps.skip !== this.props.skip || prevProps.trackVisibility !== this.props.trackVisibility || prevProps.delay !== this.props.delay) {\n this.unobserve();\n this.observeNode();\n }\n }\n componentWillUnmount() {\n this.unobserve();\n }\n observeNode() {\n if (!this.node || this.props.skip)\n return;\n const {\n threshold,\n root,\n rootMargin,\n trackVisibility,\n delay,\n fallbackInView\n } = this.props;\n this._unobserveCb = observe(\n this.node,\n this.handleChange,\n {\n threshold,\n root,\n rootMargin,\n // @ts-ignore\n trackVisibility,\n // @ts-ignore\n delay\n },\n fallbackInView\n );\n }\n unobserve() {\n if (this._unobserveCb) {\n this._unobserveCb();\n this._unobserveCb = null;\n }\n }\n render() {\n const { children } = this.props;\n if (typeof children === \"function\") {\n const { inView, entry } = this.state;\n return children({ inView, entry, ref: this.handleNode });\n }\n const {\n as,\n triggerOnce,\n threshold,\n root,\n rootMargin,\n onChange,\n skip,\n trackVisibility,\n delay,\n initialInView,\n fallbackInView,\n ...props\n } = this.props;\n return React.createElement(\n as || \"div\",\n { ref: this.handleNode, ...props },\n children\n );\n }\n};\n\n// src/useInView.tsx\nimport * as React2 from \"react\";\nfunction useInView({\n threshold,\n delay,\n trackVisibility,\n rootMargin,\n root,\n triggerOnce,\n skip,\n initialInView,\n fallbackInView,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = React2.useState(null);\n const callback = React2.useRef();\n const [state, setState] = React2.useState({\n inView: !!initialInView,\n entry: void 0\n });\n callback.current = onChange;\n React2.useEffect(\n () => {\n if (skip || !ref)\n return;\n let unobserve;\n unobserve = observe(\n ref,\n (inView, entry) => {\n setState({\n inView,\n entry\n });\n if (callback.current)\n callback.current(inView, entry);\n if (entry.isIntersecting && triggerOnce && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n },\n {\n root,\n rootMargin,\n threshold,\n // @ts-ignore\n trackVisibility,\n // @ts-ignore\n delay\n },\n fallbackInView\n );\n return () => {\n if (unobserve) {\n unobserve();\n }\n };\n },\n // We break the rule here, because we aren't including the actual `threshold` variable\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n // If the threshold is an array, convert it to a string, so it won't change between renders.\n Array.isArray(threshold) ? threshold.toString() : threshold,\n ref,\n root,\n rootMargin,\n triggerOnce,\n skip,\n trackVisibility,\n fallbackInView,\n delay\n ]\n );\n const entryTarget = (_a = state.entry) == null ? void 0 : _a.target;\n const previousEntryTarget = React2.useRef();\n if (!ref && entryTarget && !triggerOnce && !skip && previousEntryTarget.current !== entryTarget) {\n previousEntryTarget.current = entryTarget;\n setState({\n inView: !!initialInView,\n entry: void 0\n });\n }\n const result = [setRef, state.inView, state.entry];\n result.ref = result[0];\n result.inView = result[1];\n result.entry = result[2];\n return result;\n}\nexport {\n InView,\n defaultFallbackInView,\n observe,\n useInView\n};\n//# sourceMappingURL=index.mjs.map"],"names":["ArticleListWithIntroPagedListLoading","_ref","column","_ref$row","row","titleSize","paginationPosition","React","PagedListLoading","renderPaginationComponent","pagination","Styled","Skeleton","width","height","type","rounded","renderElementMultipleTimes","ArticleCardReadOnlyLoading","en","ItemInformationBrand","label","th","brand","_ref$size","size","emptyData","initializeI18n","localeFiles","translations","_ref2","name","logo","url","Link","id","href","mixpanelObj","event","$size","src","small","NoImage","alt","i18n","t","Wrapper","styled","div","_templateObject","_taggedTemplateLiteral","Logo","_templateObject2","props","Label","h4","_templateObject3","theme","colors","textSubHeading","Name","span","_templateObject4","textHeading","Image","img","Detail","getColorFromTheme","$color","Text","p","_templateObject5","$customStyle","_ref$labelAs","labelAs","labelColor","_ref$labelSize","labelSize","image","text","textColor","_ref$textSize","textSize","concat","renderImage","as","camelize","renderText","ItemInformationSpecs","availabilityStatus","dimension","package","standard","shortDescription","tisNo","weight","_ref$descriptionSize","descriptionSize","item","_ref$gap","gap","_ref$type","piecePerPack","thaiIndustrialStandard","$gap","SpecsDataBox","DimensionIcon","displaySize","$type","WeightIcon","displayWeight","PackageIcon","unit","piecePerPackUnit","StandardIcon","code","AvailabilityIcon","_ref$count","count","_ref$hideImage","hideImage","loadText","SpecsDataBoxLoading","ListBox","css","_ref$titleSize","children","_ref$paginationPositi","_ref$renderPagination","renderSeparatorComponent","_ref$hideTitle","hideTitle","customStyle","circle","$justify","$hide","$column","$separator","Children","map","child","index","Fragment","key","loadChildren","_regeneratorRuntime","e","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","gen","reject","_next","_throw","info","error","_asyncToGenerator","fn","self","args","arguments","apply","err","undefined","strings","raw","PRODUCT_CATEGORY_ARTICLE_LIST_QUERY","gql","freeze","defineProperties","useProductCategoryArticleList","slug","_data$productCategory","_onPreviousPage","_onNextPage","first","_useQuery","useQuery","variables","data","loading","refetch","connectionData","productCategory","jobCategoriesConnection","totalCount","nodes","pageInfo","startCursor","endCursor","hasNextPage","hasPreviousPage","onRefetch","useCallback","_callee","_context","after","last","before","_x","articles","totalPages","Math","ceil","onNextPage","_callee2","_context2","onPreviousPage","_callee3","_context3","ProductCategoryArticleListGrid","useInView","articleHooks","ArticleListWithIntroGrid","assign","cardLimit","ProductCategoryArticleListColumn","ArticleListWithIntroColumn","ProductCategoryArticlePagedList","_ref3","_ref3$row","titleAs","ArticleListWithIntroPagedList","ItemList","contactStaff","itemNumber","no","price","viewDetail","QUERY","useHooks","_ref$minimize","minimize","minimized","console","displayPrice","formatted","parseFloat","formatNumber","source","bestseller","Overview","title","backToCategory","year","Date","getFullYear","actions","locale","__defProp","__publicField","obj","__defNormalProp","observerMap","Map","RootIds","WeakMap","rootId","unsupportedValue","optionsToId","options","sort","filter","root","has","set","toString","get","observe","element","callback","fallbackInView","window","IntersectionObserver","bounds","getBoundingClientRect","isIntersecting","target","intersectionRatio","threshold","time","boundingClientRect","intersectionRect","rootBounds","observer","elements","instance","thresholds","entries","entry","_a","inView","some","trackVisibility","isVisible","Array","isArray","createObserver","callbacks","splice","indexOf","delete","unobserve","disconnect","delay","rootMargin","triggerOnce","skip","initialInView","onChange","ref","setRef","state","setState","current","entryTarget","previousEntryTarget","result"],"sourceRoot":""}