`; } initBlocks( [...recommendationWidgetDoms], "recommendation", app, app.templateSettings, {}, "", "" ); } // tae/pre-order.js function initPreOrder() { var _a, _b; const app = window.boostWidgetIntegration.app["production"]; if (typeof ((_b = (_a = app == null ? void 0 : app.customization) == null ? void 0 : _a.preOrder) == null ? void 0 : _b.beforeRender) === "function") { app.customization.preOrder.beforeRender(); } const preOrderDom = document.querySelector(".boost-sd__preOrder-container"); if (preOrderDom) initBlocks([preOrderDom], "preOrder", app, app.templateSettings, {}, "", ""); } // tae/settings.js function initSettings() { window.boostWidgetIntegration = window.boostWidgetIntegration || {}; window.boostWidgetIntegration.app = window.boostWidgetIntegration.app || {}; window.boostWidgetIntegration.blocks = window.boostWidgetIntegration.blocks || {}; window.boostWidgetIntegration.app["production"] = window.boostWidgetIntegration.app["production"] || {}; const combinedAppSettings = mergeDeep( __spreadProps(__spreadValues(__spreadProps(__spreadValues({ filterUrl: "https://services.mybcapps.com/bc-sf-filter/filter", searchUrl: "https://services.mybcapps.com/bc-sf-filter/search", productUrl: "https://services.mybcapps.com/bc-sf-filter/products", cdn: "https://cdn.boostcommerce.io", taeSettings: { instantSearch: null }, shop: { name: "Taraiga", url: "https://taraiga.com", domain: "taraiga.myshopify.com", currency: "USD", money_format: "\u0026#36;{{amount}}", money_format_with_currency: "\u0026#36;{{amount}} USD" } }, { integration: Object.assign({}, {"reviews":"judgeme"}), } ), { filterSettings: Object.assign(__spreadValues({ swatch_extension: "png" }, { }), {"showFilterOptionCount":true,"showRefineBy":true,"showOutOfStockOption":false,"showSingleOption":false,"keepToggleState":true,"changeMobileButtonLabel":true,"sortingAvailableFirst":false,"showLoading":true,"activeScrollToTop":false,"showVariantImageBasedOnSelectedFilter":"pf_opt_color","productAndVariantAvailable":true,"availableAfterFiltering":false,"isShortenUrlParam":false,"shortenUrlParamList":["pf_pt_product_type:product_type","pf_p_price:price"],"filterTreeMobileStyle":"style2","filterTreeVerticalStyle":"style-expand","filterTreeHorizontalStyle":"style1","stickyFilterOnDesktop":true,"stickyFilterOnMobile":true,"style":{"filterTitleTextColor":"","filterTitleFontSize":16,"filterTitleFontWeight":700,"filterTitleFontTransform":"uppercase","filterTitleFontFamily":"Neue Haas Unica","filterOptionTextColor":"","filterOptionFontSize":14,"filterOptionFontFamily":"Neue Haas Unica","filterMobileButtonTextColor":"","filterMobileButtonFontSize":16,"filterMobileButtonFontWeight":500,"filterMobileButtonFontTransform":"uppercase","filterMobileButtonFontFamily":"Neue Haas Unica","filterMobileButtonBackgroundColor":""}}), searchSettings: {"searchPanelBlocks":{"products":{"label":"Products","pageSize":25,"active":true,"displayImage":true},"collections":{"label":"Collections","pageSize":25,"active":true,"displayImage":false},"pages":{"label":"Pages","pageSize":25,"active":false,"displayImage":false},"searchTermSuggestions":{"label":"Popular searches","type":"manually","active":false,"backup":[],"searchTermList":[]},"mostPopularProducts":{"label":"Trending products","type":"manually","active":false,"backup":[],"productList":[]}},"suggestionNoResult":{"search_terms":{"label":"Popular searches","status":false,"data":[],"backup":[],"type":"manually"},"products":{"label":"Trending products","status":false,"data":[],"backup":[],"type":"manually"}},"enableInstantSearch":true,"productAvailable":false,"showSuggestionProductImage":true,"showSuggestionProductPrice":true,"showSuggestionProductSalePrice":true,"showSuggestionProductSku":true,"showSuggestionProductVendor":false,"suggestionBlocks":[{"type":"suggestions","label":"Popular suggestions","status":"active","number":5},{"type":"collections","label":"Collections","status":"active","number":3,"excludedValues":[]},{"type":"products","label":"Products","status":"active","number":6},{"type":"pages","label":"Blog & Pages","status":"active","number":3}],"searchBoxOnclick":{"recentSearch":{"label":"Recent searches","status":true,"number":"3"},"searchTermSuggestion":{"label":"Popular searches","status":false,"data":[]},"productSuggestion":{"label":"Trending products","status":false,"data":[]}},"suggestionStyle":"style2","suggestionStyle1ProductItemType":"list","suggestionStyle1ProductPosition":"none","suggestionStyle1ProductPerRow":"1","suggestionStyle2ProductItemType":"list","suggestionStyle2ProductPosition":"right","suggestionStyle2ProductPerRow":"2","suggestionStyle3ProductItemType":"list","suggestionStyle3ProductPosition":"right","suggestionStyle3ProductPerRow":"3"} , additionalElementSettings: Object.assign( { default_sort_order: {"search":"","all":""}, }, {"customSortingList":"relevance|best-selling|price-ascending|price-descending|created-descending|created-ascending","enableCollectionSearch":false}), b2b: Object.assign({ enabled: false }, { } ), generalSettings: Object.assign(__spreadProps(__spreadValues({ preview_mode: false, preview_path: "", page: "article", custom_js_asset_url: "", custom_css_asset_url: "", collection_id: 0, collection_handle: "", collection_product_count: 0 }, { }), { collection_tags: null, current_tags: null, default_sort_by: "", swatch_extension: "png", no_image_url: "https://cdn.shopify.com/extensions/e3c1b503-36d8-4d8a-854f-e638a56afba6/boost-ai-search-discovery-109/assets/boost-pfs-no-image.jpg", search_term: "", template: "article", currencies: ["AED","ALL","AMD","AUD","BAM","BGN","CAD","CHF","CZK","DKK","EUR","GBP","HUF","IDR","ILS","ISK","JPY","KRW","MDL","MKD","MXN","MYR","NOK","NZD","PLN","QAR","RON","RSD","SAR","SEK","SGD","THB","TWD","UAH","USD","VND"], current_currency:"USD", published_locales: __spreadValues({}, {"en":true,"fr":false,"de":false,"id":false,"ja":false,"es":false,"ar":false} ), current_locale: "ja" }), {"addCollectionToProductUrl":true,"enableTrackingOrderRevenue":true}) }), { translation: {}, primary_language: {"refine":"Refine By","refineMobile":"Refine By","refineMobileCollapse":"Hide Filter","clear":"Clear","clearAll":"Clear All","viewMore":"View More","viewLess":"View Less","apply":"Apply","close":"Close","showLimit":"Show","collectionAll":"All","under":"Under","above":"Above","ratingStars":"Star","showResult":"Show results","searchOptions":"Search Options","inCollectionSearch":"Search products","loadMore":"Load More","loadMoreTotal":"{{ from }} - {{ to }} of {{ total }} Products","search":{"generalTitle":"Search","resultHeader":"Search results for \"{{ terms }}\"","resultNumber":"Showing {{ count }} results for \"{{ terms }}\"","resultEmpty":"Your search for \"{{ terms }}\" did not match any results","searchPanelProduct":"Products","searchPanelCollection":"Collections","searchPanelPage":"Pages"},"suggestion":{"viewAll":"View all results","didYouMean":"Did you mean: {{ terms }}?","suggestQuery":"Showing results for {{ terms }}","instantSearchSuggestionsLabel":"Popular suggestions","instantSearchCollectionsLabel":"Collections","instantSearchProductsLabel":"Products","instantSearchPagesLabel":"Blog & Pages"},"error":{"noFilterResult":"Sorry, no products matched your selection","noSearchResult":"Sorry, no products matched the keyword","noProducts":"No products found in this collection","noSuggestionResult":"Sorry, nothing found for \"{{ terms }}\"","noSuggestionProducts":"Sorry, nothing found for \"{{ terms }}\""},"recommendation":{"cartpage-342336":"Frequently bought together","productpage-070487":"Frequently bought together","collectionpage-284867":"Bestsellers","productpage-067868":"Related items"},"productItem":{"qvBtnLabel":"Quick buy","atcAvailableLabel":null,"soldoutLabel":null,"productItemSale":"{{salePercent}} off","productItemSoldOut":null,"viewProductBtnLabel":null,"atcSelectOptionsLabel":null,"amount":"From {{minPrice}}","savingAmount":"Sale","swatchButtonText1":"+{{count}} more","swatchButtonText2":null,"swatchButtonText3":null,"inventoryInStock":null,"inventoryLowStock":null,"inventorySoldOut":null,"atcAddingToCartBtnLabel":null,"atcAddedToCartBtnLabel":null},"quickView":{"buyItNowBtnLabel":"Buy it now"},"cart":{"atcMiniCartViewCartLabel":"View cart","atcMiniCartCheckoutLabel":"Checkout"},"recentlyViewed":{"recentProductHeading":"Recently Viewed Products"},"mostPopular":{"popularProductsHeading":"Popular Products"},"perpage":{},"productCount":{"textDescriptionCollectionHeader":null,"textDescriptionCollectionHeaderPlural":null,"textDescriptionToolbar":"{{count}} products","textDescriptionToolbarPlural":"{{count}} products","textDescriptionPagination":"Showing {{from}} - {{to}} of {{total}} products","textDescriptionPaginationPlural":"Showing {{from}} - {{to}} of {{total}} products"},"pagination":{"loadMoreText":"Load more","prevText":"Previous","nextText":"Next"},"sortingList":{"relevance":"Relevance","best-selling":"Best selling","price-ascending":"Price ascending","price-descending":"Price descending","created-descending":"New to old","created-ascending":"Old to new"},"collectionHeader":{},"breadcrumb":{},"sliderProduct":{}}, } ), { user: { } }), window.boostWidgetIntegration.app["production"] || {} ); window.boostWidgetIntegration.env = "production"; window.boostWidgetIntegration.app["production"] = combinedAppSettings; window.boostWidgetIntegration.app["production"].customization = window.boostWidgetIntegration.app["production"].customization || {}; window.boostWidgetIntegration.regisCustomization = function(fc, scope) { if (typeof fc === "function" && fc.name && !scope) { const functionName = fc.name; window.boostWidgetIntegration.app["production"].customization[functionName] = fc; } else if (typeof fc === "function" && fc.name && scope) { window.boostWidgetIntegration.app["production"].customization[scope] = window.boostWidgetIntegration.app["production"].customization[scope] || {}; const functionName = fc.name; window.boostWidgetIntegration.app["production"].customization[scope][functionName] = fc; } else { console.error("Invalid function or function does not have a name."); } }; } // tae/app.js (function() { var _a, _b, _c, _d, _e, _f; initSettings(); initRobotMeta(); window.boostSDTaeUtils = { lazyLoadImages, inViewPortHandler, initCollectionFilter }; const app = window.boostWidgetIntegration.app["production"]; window.boostWidgetIntegration.status = "initializing"; app.fallback = { themeCssUrl: "https://cdn.boostcommerce.io/widget-integration/theme/default/1.0.1/main.css", settingsCssUrl: "https://boost-cdn-staging.bc-solutions.net/widget-integration/theme/default/staging/default-settings.css" }; boostWidgetIntegration.generalSettings = app.generalSettings; const templateId = "EQR5C5kgp5" || ""; boostWidgetIntegration.generalSettings.templateId = templateId; const templateMetadata = {"collectionFilters":"EQR5C5kgp5/themes/dawn/main__0__liquid","productList":"EQR5C5kgp5/product-list/main__0__liquid","productItem":"EQR5C5kgp5/product-item/main__0__liquid","collectionHeader":"EQR5C5kgp5/collection-header/main__0__liquid","searchPage":"EQR5C5kgp5/themes/dawn/search__0__liquid","mostPopularProducts":"EQR5C5kgp5/no-search-result-page/most-popular-products__0__liquid","recommendation":"EQR5C5kgp5/recommendation/main__0__liquid","recommendationDynamicBundle":"EQR5C5kgp5/recommendation/dynamic-bundle__0__liquid","recommendationEmbeddedBundle":"EQR5C5kgp5/recommendation/embedded-bundle__0__liquid","instantSearchWidget":"EQR5C5kgp5/instant-search-widget/main__0__liquid","quickView":"EQR5C5kgp5/quickview/main__0__liquid","cart":"EQR5C5kgp5/cart/main__0__liquid","placeholderFilterTree":"EQR5C5kgp5/place-holder/place-holder__0__liquid","placeholderRecommendation":"EQR5C5kgp5/recommendation-placeholder/main__0__liquid","templateVersion":"2.11.0","setupVersion":"v3","applyUniqueVersion":true,"themeNameLib":"dawn","themeLibVersion":"1.29.1","themeCssVersion":"2.11.0","themeCssUrl":"https://cdn.boostcommerce.io/widget-integration/theme/dawn/2.11.0/main.css","settingsCssUrl":"https://cdn.shopify.com/s/files/1/0594/7270/7793/files/boost-app-do-not-delete-this-file-taraiga__EQR5C5kgp5-settings.css?v=1727238545","updatedAt":1729743209,"customizeCssUrl":"https://cdn.boostcommerce.io/widget-integration/theme/customization/taraiga.myshopify.com/EQR5C5kgp5/customization-1727233432103.css","customizeJsUrl":"https://cdn.boostcommerce.io/widget-integration/theme/customization/taraiga.myshopify.com/EQR5C5kgp5/customization-1727233431028.js","upgradeLog":"Script upgrade theme lib version to 1.29.1 at 1729743209"} || {}; const devMode = window.boostWidgetIntegration.mode === "development"; const env = "production"; const cssLink = document.createElement("link"); cssLink.rel = "stylesheet"; cssLink.type = "text/css"; cssLink.media = "all"; if (templateMetadata == null ? void 0 : templateMetadata.themeCssUrl) { cssLink.href = templateMetadata.themeCssUrl; if (env === "staging") { cssLink.href += `?v=${Date.now()}`; } } else if ((_a = app == null ? void 0 : app.fallback) == null ? void 0 : _a.themeCssUrl) { cssLink.href = (_b = app == null ? void 0 : app.fallback) == null ? void 0 : _b.themeCssUrl; } const settingsCSSLink = document.createElement("link"); settingsCSSLink.rel = "stylesheet"; settingsCSSLink.type = "text/css"; settingsCSSLink.media = "all"; if ((templateMetadata == null ? void 0 : templateMetadata.settingsCssUrl) && !devMode) { settingsCSSLink.href = templateMetadata.settingsCssUrl; } else if ((_c = app == null ? void 0 : app.fallback) == null ? void 0 : _c.settingsCssUrl) { settingsCSSLink.href = (_d = app == null ? void 0 : app.fallback) == null ? void 0 : _d.settingsCssUrl; } if (devMode) { app.themeCssLoaded = true; app.settingsCSSLoaded = true; } else if (cssLink.href && settingsCSSLink.href) { document.head.appendChild(cssLink); cssLink.onload = function() { app.themeCssLoaded = true; }; document.head.appendChild(settingsCSSLink); settingsCSSLink.onload = function() { app.settingsCSSLoaded = true; }; const rtlDetected = document.documentElement.getAttribute("dir") === "rtl"; if (rtlDetected) { const rtlLink = document.createElement("link"); rtlLink.rel = "stylesheet"; rtlLink.type = "text/css"; rtlLink.media = "all"; const themeCssUrl = new URL(cssLink.href); const themeCssPathWithoutFilename = themeCssUrl.pathname.split("/").slice(0, -1).join("/"); const rtlCssPath = themeCssPathWithoutFilename + "/rtl.css"; const rtlCssUrl = new URL(rtlCssPath, themeCssUrl.origin); rtlLink.href = rtlCssUrl.href; document.head.appendChild(rtlLink); } } if (!devMode) { app.cdn = app.cdn || "https://cdn.boostcommerce.io"; let themeLibVersion = env === "staging" ? "staging" : templateMetadata.themeLibVersion || "1.5.0"; let libUrl = app.libUrl || `${app.cdn}/widget-integration/${themeLibVersion}/bc-widget-integration.js`; if (env === "development") { libUrl = `${app.cdn}/widget-integration/bc-widget-integration.js`; } if (env === "staging") { libUrl += `?v=${Date.now()}`; } app.libUrl = libUrl; const link = document.createElement("link"); if (env === "development") { link.rel = "modulepreload"; } else { link.rel = "preload"; } link.as = "script"; link.href = libUrl; (_e = document.head) == null ? void 0 : _e.appendChild(link); if (isMobileWidth()) { app.jsLibLoadStatus = "pending"; } else { const widgetLibScript = document.createElement("script"); widgetLibScript.setAttribute("src", libUrl); widgetLibScript.defer = true; if (env === "development") widgetLibScript.type = "module"; (_f = document.head) == null ? void 0 : _f.appendChild(widgetLibScript); app.jsLibLoadStatus = "loading"; widgetLibScript.onload = function() { app.jsLibLoadStatus = "loaded"; }; } } app.filterUrl = "https://services.mybcapps.com/bc-sf-filter/filter"; app.searchUrl = "https://services.mybcapps.com/bc-sf-filter/search"; app.productUrl = "https://services.mybcapps.com/bc-sf-filter/products"; app.recommendUrl = "https://services.mybcapps.com/discovery/recommend"; app.templateUrl = "https://services.mybcapps.com/bc-sf-filter/ssr-template"; app.bundleUrl = "https://services.mybcapps.com/bc-sf-filter/bundles"; app.templateMetadata = templateMetadata; const product = "" || {}; window.boostSDData = { product }; let templateSettings = {"appPreferenceSettings":{"watermark":false},"generalSettings":{"addCollectionToProductUrl":true,"breakpointmobile":"575px","breakpointtabletportraitmin":"576px","breakpointtabletportraitmax":"991px","breakpointtabletlandscapetmin":"992px","breakpointtabletlandscapemax":"1199px","breakpointdesktop":"1200px","enableTrackingOrderRevenue":true},"searchSettings":{"searchPanelBlocks":{"searchTermSuggestions":{"label":"Popular searches","searchTermList":[],"backup":[],"type":"manually","active":false},"mostPopularProducts":{"label":"Trending products","productList":[],"backup":[],"type":"manually","active":false},"products":{"label":"Products","pageSize":25,"active":true,"displayImage":true},"collections":{"label":"Collections","pageSize":25,"active":true,"displayImage":false,"displayDescription":false},"pages":{"label":"Pages","pageSize":25,"active":false,"displayImage":false,"displayExcerpt":false},"searchEmptyResultMessages":{"active":true,"label":"We are sorry! We couldn't find results for \"{{ terms }}\".{{ breakline }}But don't give up – check the spelling or try less specific search terms."},"searchTips":{"label":"Search tips","active":true,"searchTips":"Please double-check your spelling.{{ breakline }}Use more generic search terms.{{ breakline }}Enter fewer keywords.{{ breakline }}Try searching by product type, brand, model number or product feature."}},"suggestionNoResult":{"search_terms":{"label":"Popular searches","status":false,"data":[],"type":"manually","backup":[]},"products":{"label":"Trending products","status":false,"data":[],"type":"manually","backup":[]}},"enableInstantSearch":true,"productAvailable":false,"showSuggestionProductImage":true,"showSuggestionProductPrice":true,"showSuggestionProductSalePrice":true,"showSuggestionProductSku":true,"showSuggestionProductVendor":false,"suggestionBlocks":[{"type":"suggestions","label":"Popular suggestions","status":"active","number":5},{"type":"collections","label":"Collections","status":"active","number":3},{"type":"products","label":"Products","status":"active","number":6},{"type":"pages","label":"Blog & Pages","status":"active","number":3}],"searchBoxOnclick":{"recentSearch":{"label":"Recent searches","status":true,"number":"3"},"searchTermSuggestion":{"label":"Popular searches","status":false,"data":[],"backup":[],"type":"manually"},"productSuggestion":{"label":"Trending products","status":false,"data":[],"backup":[],"type":"manually"}},"suggestionStyle":"style2","suggestionStyle1ProductItemType":"list","suggestionStyle1ProductPosition":"none","suggestionStyle1ProductPerRow":"1","suggestionStyle2ProductItemType":"list","suggestionStyle2ProductPosition":"right","suggestionStyle2ProductPerRow":"2","suggestionStyle3ProductItemType":"list","suggestionStyle3ProductPosition":"right","suggestionStyle3ProductPerRow":"3"},"filterSettings":{"showFilterOptionCount":true,"showRefineBy":true,"showOutOfStockOption":false,"showSingleOption":false,"keepToggleState":true,"changeMobileButtonLabel":true,"sortingAvailableFirst":false,"showLoading":true,"activeScrollToTop":false,"showVariantImageBasedOnSelectedFilter":"pf_opt_color","productAndVariantAvailable":true,"availableAfterFiltering":false,"isShortenUrlParam":false,"filterTreeMobileStyle":"style2","filterTreeVerticalStyle":"style-expand","filterTreeHorizontalStyle":"style1","stickyFilterOnDesktop":true,"stickyFilterOnMobile":true,"style":{"filterTitleTextColor":"#121212","filterTitleFontSize":"inherit","filterTitleFontWeight":"inherit","filterTitleFontTransform":"capitalize","filterTitleFontFamily":"inherit","filterOptionTextColor":"#121212","filterOptionFontSize":"inherit","filterOptionFontFamily":"inherit"},"filterLayout":"vertical","shortenUrlParamList":["pf_pt_product_type:product_type","pf_p_price:price"]},"additionalElementSettings":{"customSortingList":"relevance|best-selling|price-ascending|price-descending|created-descending|created-ascending","enableCollectionSearch":false},"themeSettings":{"productItems":{"general":{"borderLayout":"noBorder","subLayout":"subLayout_1_2"},"productImg":{"elements":{"productSaleLabel":{"shape":"rectangle","displayType":"text","displayOptions":"always","color":"#FFFFFF","backgroundColor":"#FF4600","fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontFamily":"inherit","fontStyle":"inherit","textTransform":"none","fontWeight":"inherit","isEnable":true},"productSoldOutLabel":{"hideOtherLabelsWhenSoldOut":true,"shape":"rectangle","displayType":"text","displayOptions":"always","color":"#FFFFFF","backgroundColor":"#242833","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontFamily":"inherit","fontStyle":"inherit","textTransform":"none","fontWeight":"inherit","isEnable":true},"productCustomLabelByTag":{"shape":"rectangle","color":"#FFFFFF","backgroundColor":"#00A47C","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontFamily":"inherit","fontStyle":"inherit","textTransform":"none","fontWeight":"inherit","isEnable":false}},"grid":{"top":{"direction":"horizontal","elements":{"left":["saleLabel","soldOutLabel","customLabelByTag"]}}},"aspectRatioType":"natural","hoverEffect":"reveal-second-image"},"styleSettings":{"selectOptionBtn":{"showOnHovering":false,"showOn":"desktopOnly","displayType":"text","shape":"rectangle","imgSrc":"https://boost-cdn-prod.bc-solutions.net/icon/add-to-cart.svg","iconPosition":"left","backgroundColor":"#FFFFFF","backgroundColorOnHover":"#FFFFFF","borderColor":"#121212","borderColorOnHover":"#121212","textColor":"#121212","textColorOnHover":"#121212","buttonPosition":"top","fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontFamily":"inherit","fontStyle":"inherit","textTransform":"none","alignment":"left","position":7,"fontWeight":"inherit","width":"100%"},"qvBtn":{"showOn":"desktopOnly","showOnHovering":false,"displayType":"text","shape":"rectangle","imgSrc":"https://boost-cdn-prod.bc-solutions.net/icon/quick-view.svg","iconPosition":"left","backgroundColor":"#FFFFFF","backgroundColorOnHover":"#FFFFFF","borderColor":"#121212","borderColorOnHover":"#121212","textColor":"#121212","textColorOnHover":"#121212","fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontFamily":"inherit","fontStyle":"inherit","textTransform":"none","alignment":"left","position":8,"fontWeight":"inherit","width":"100%"}},"productInfo":{"textAlign":"left","elements":{"title":{"color":"#121212","fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontFamily":"inherit","fontStyle":"inherit","textTransform":"capitalize","isEnable":true,"fontWeight":"inherit"},"swatches.1":{"showOptionValueOnHovering":true,"shape":"circle","changeProductImageOn":"hover","isEnable":true,"swatchType":"color","swatchBy":"product-image"},"vendor":{"color":"#121212","fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontFamily":"inherit","fontStyle":"inherit","textTransform":"capitalize","isEnable":false,"fontWeight":"inherit"},"price":{"showCentAsSuperscript":false,"showCurrencyCodes":true,"compareAtPricePosition":"left","showSavingDisplay":false,"priceColor":"#121212","priceFontSizeScale":100,"priceFontFamily":"inherit","priceFontStyle":"inherit","priceFontSize":"inherit","priceFontSizeTabletPortrait":"inherit","priceFontSizeTabletLandscape":"inherit","priceFontSizeMobile":"inherit","salePriceColor":"#8C0909","salePriceFontSizeScale":100,"salePriceFontFamily":"inherit","salePriceFontStyle":"inherit","salePriceFontSize":"inherit","salePriceFontSizeTabletPortrait":"inherit","salePriceFontSizeTabletLandscape":"inherit","salePriceFontSizeMobile":"inherit","compareAtPriceColor":"#898989","compareAtPriceFontSizeScale":100,"compareAtPriceFontFamily":"inherit","compareAtPriceFontStyle":"inherit","compareAtPriceFontSize":"inherit","compareAtPriceFontSizeTabletPortrait":"inherit","compareAtPriceFontSizeTabletLandscape":"inherit","compareAtPriceFontSizeMobile":"inherit","savingDisplayColor":"#DD3300","savingDisplayFontSizeScale":100,"savingDisplayFontFamily":"inherit","savingDisplayFontStyle":"inherit","savingDisplayFontSize":"inherit","savingDisplayFontSizeTabletPortrait":"inherit","savingDisplayFontSizeTabletLandscape":"inherit","savingDisplayFontSizeMobile":"inherit","isEnable":true,"priceFontWeight":"inherit","salePriceFontWeight":"inherit","compareAtPriceFontWeight":"inherit","savingDisplayFontWeight":"inherit"},"rating":true,"swatches.2":{"showOptionValueOnHovering":true,"shape":"circle","changeProductImageOn":"hover","isEnable":false},"swatches.3":{"showOptionValueOnHovering":true,"shape":"circle","changeProductImageOn":"hover","isEnable":false},"selectOptionBtn":{"buttonType":"selectOptionBtn","action":"popup","isEnable":false},"qvBtn":{"buttonType":"qvBtn","isEnable":false}}}},"additionalElements":{"pagination":{"paginationType":"load_more","alignment":"center","productCount":{"showProductCount":true,"position":"top"},"button":{"shape":"rectangle","color":"#121212","borderColor":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontFamily":"inherit","fontStyle":"inherit","fontWeight":"inherit"}},"toolbar":{"layout":"2_1","elements":{"viewAs":{"fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","color":"#121212","fontFamily":"inherit","fontStyle":"inherit","textTransform":"capitalize","listType":"2,3,4columns","isEnable":false,"fontWeight":"inherit"},"showLimitList":{"fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","color":"#121212","fontFamily":"inherit","fontStyle":"inherit","textTransform":"capitalize","isEnable":false,"fontWeight":"inherit"},"sorting":{"fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","color":"#121212","fontFamily":"inherit","fontStyle":"inherit","textTransform":"capitalize","isEnable":true,"fontWeight":"inherit"},"productCount":{"fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","color":"#121212","fontFamily":"inherit","fontStyle":"inherit","textTransform":"capitalize","isEnable":true,"fontWeight":"inherit"}}},"collectionHeader":{"isEnable":true,"layout":2,"contentPosition":"middle-center","elements":{"breadCrumb":{"showCollectionTitle":false,"showCollectionList":false,"showPagination":false,"placement":"on-top","alignment":"middle-left","isEnable":false},"collectionImage":{"size":"small","parallaxEffect":false,"directionParallax":"vertical","isEnable":false},"collectionTitle":{"textAlign":"center","textTransform":"none","fontSizeScale":100,"fontSize":40,"fontSizeTabletPortrait":40,"fontSizeTabletLandscape":40,"fontSizeMobile":30,"fontFamily":"inherit","fontStyle":"inherit","collectionTitleColor":"#121212","isEnable":true,"fontWeight":"inherit"},"productCount":{"fontSizeScale":100,"fontSize":14,"fontSizeTabletPortrait":14,"fontSizeTabletLandscape":14,"fontSizeMobile":14,"color":"#121212","isEnable":false},"collectionDescription":{"fontSize":null,"fontSizeTabletPortrait":null,"fontSizeTabletLandscape":null,"fontSizeMobile":null,"isEnable":true}}}},"quickView":{"showProductImage":false,"thumbnailPosition":"topLeft","buttonOverall":{"shape":"rectangle","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"buyItNowBtn":{"enable":true,"color":"#FFFFFF","hoverColor":"#FFFFFF","backgroundColor":"#121212","hoverBackgroundColor":"#121212","borderColor":"#121212","hoverBorderColor":"#121212","textTransform":"none"},"addToCartBtn":{"color":"#121212","hoverColor":"#121212","backgroundColor":"#FFFFFF","hoverBackgroundColor":"#FFFFFF","borderColor":"#121212","hoverBorderColor":"#121212","textTransform":"none"}},"cart":{"enableCart":true,"cartStyle":"side","generalLayout":{"shape":"rectangle","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"checkoutBtn":{"textTransform":"none","color":"#FFFFFF","hoverColor":"#FFFFFF","backgroundColor":"#121212","hoverBackgroundColor":"#121212","borderColor":"#121212","hoverBorderColor":"#121212"},"viewCartBtn":{"textTransform":"none","color":"#121212","hoverColor":"#121212","backgroundColor":"#FFFFFF","hoverBackgroundColor":"#FFFFFF","borderColor":"#121212","hoverBorderColor":"#121212"}},"productList":{"productsPerPage":16,"productsPerRowOnDesktop":3,"productsPerRowOnMobile":2},"searchPage":{"headerBackground":"#F6F6F8","elements":{"searchHeaderText":{"color":"#121212","textTransform":"none","fontSizeScale":100,"fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontFamily":"inherit","fontStyle":"inherit","fontWeight":"inherit"},"placeholderSearch":{"color":"#898989","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"scopedSuggestionLabel":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"scopedSuggestionItem":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"titleTab":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"productCount":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"collectionAndPageTabTitle":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"collectionAndPageTabDescription":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"tipForYou":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"line":{"color":"#E8E8E1"}}},"filterTree":{"elements":{"refineBy":{"color":"#121212"},"filterTitle":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"filterOption":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"productCount":{"color":"#898989","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"line":{"color":"#E8E8E1"},"checkbox":{"color":"#E8E8E1"},"searchBox":{"color":"#E8E8E1"}}},"isw":{"backgroundSuggestion":"#FAFAFA","backgroundProducts":"#FFFFFF","hoverBackgroundSuggestion":"#E8E9EB","hoverBackgroundProducts":"#F8F8F8","elements":{"titleMultiElement":{"color":"#898989","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"results":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"didYouMean":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"didYouMeanResults":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","backgroundColor":"#F6F6F7","fontWeight":"inherit"},"productTitle":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"productVendor":{"color":"#898989","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"productPrice":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"productSalePrice":{"color":"#8C0909","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"productCompareAtPrice":{"color":"#898989","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"productSKU":{"color":"#898989","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","fontWeight":"inherit"},"viewAllBtn":{"color":"#121212","textTransform":"capitalize","fontSizeScale":100,"fontFamily":"inherit","fontStyle":"inherit","fontSize":"inherit","fontSizeTabletPortrait":"inherit","fontSizeTabletLandscape":"inherit","fontSizeMobile":"inherit","backgroundColor":"#FFFFFF","hoverBackgroundColor":"#E8E9EB","fontWeight":"inherit"}}}},"currentAppIntegration":{},"themeName":"dawn","srcThemeNameLib":"broadcast"} || {}; app.templateSettings = templateSettings; app.template = {}; ; app.template["quickView"] = ` {% if product.original_images != nil %} {% assign image_array = product.original_images %} {% else %} {% assign image_array = product.images_info %} {% endif %} {% if image_array.size == 0 %} {% assign image_array = "no_image" | split: ' ' %} {% endif %} {% assign show_prev_next_btns = image_array.size > 4 %} {% capture productData %} { "id": "{{ product.id }}", "handle": "{{ product.handle }}", "variantId": "{{ product.variant_id }}", "splitProduct": "{{ product.split_product }}", "variants": {{ product.variants | json | escape }}, "tags": {{ product.tags | json | escape }}, "images": {{ image_array | json | escape }} } {% endcapture %} `; ; app.template["cart"] = ` {% comment %} This Template contains a few variables built from the client js side {% endcomment %} `; ; app.template["refineBy"] = `
{{ "refine" | translate: translations, "Refine By" }}
{% for refineByOption in refineBy.options %} {% endfor %}
`; ; app.template["filterOptionBoxItem"] = `{% comment %} This Template contains a few variables built from the client js side {% endcomment %} {% if request.previewMode == true %}
  • {% else %}
  • {% endif %}`; ; app.template["filterOptionListItem"] = `{% comment %} This Template contains a few variables built from the client js side {% endcomment %} {% if request.previewMode == true %}
  • {% else %}
  • {% endif %}`; ; app.template["filterOptionSwatchItem"] = `{% comment %} This Template contains a few variables built from the client js side {% endcomment %} {% assign swatchListStyle = option.swatchStyle == 'circle-list' or option.swatchStyle == 'square-list' %} {% if request.previewMode == true %} {% assign swatchTyleClass = "" %} {% if swatchListStyle %} {% assign swatchTyleClass = "list" %} {% else %} {% assign swatchTyleClass = "grid" %} {% endif %}
  • {% else %}
  • {% endif %}`; ; app.template["filterOptionMultiLevelCollectionItem"] = `{% comment %} This Template contains a few variables built from the client js side {% endcomment %} {% if request.previewMode == true %}
  • {% if option.displayAllValuesInUppercaseForm %} {{ value.displayName | upcase }} {% else %} {{ value.displayName }} {% endif %} {% if value.existedTags %} {% endif %}
  • {% else %}
  • {% if option.displayAllValuesInUppercaseForm %} {{ value.displayName | upcase }} {% else %} {{ value.displayName }} {% endif %} {% if value.existedTags %} {% endif %}
    {% if value.existedTags > 0 %} {% endif %}
  • {% endif %}`; ; app.template["filterOptionMultiLevelTagItem"] = `{% comment %} This Template contains a few variables built from the client js side {% endcomment %} {% if request.previewMode == true %}
  • {% assign existedTags = value.subTags | size %} {% if existedTags > 0 %} {% endif %}
  • {% else %}
  • {% assign existedTags = value.subTags | size %} {% if existedTags > 0 %} {% comment %} style="display: none" {% endcomment %} {% endif %}
  • {% endif %}`; ; app.template["filterOptionRatingItem"] = `{% comment %} This Template contains a few variables built from the client js side {% endcomment %} {% if request.previewMode == true %}
  • {% else %}
  • {% endif %}`; ; app.template["productPrice"] = `{% comment %} This Template contains a few variables built from the client js side {% endcomment %} {% assign removePriceDecimal = false -%} {% assign decimalDelimiter = '' -%} {% assign withoutTrailingZeros = true -%} {% assign showCentAsSuperscript = false -%} {% assign money_format = request.money_format | strip_html -%} {% assign showSavingDisplay = false -%} {% assign minPrice = product.price_min | times: 1.0 -%} {% assign maxPrice = 0 -%} {% if product.price_max -%} {% assign maxPrice = product.price_max | times: 1.0 -%} {% endif -%} {% comment %} convert variable compareAtPriceMin to number {% endcomment %} {% assign compareAtPriceMin = 0 -%} {% if product.compare_at_price_min -%} {% assign compareAtPriceMin = product.compare_at_price_min | times: 1.0 -%} {% endif -%} {% assign isSale = false -%} {% assign salePercent = 0 -%} {% assign saleAmount = 0 -%} {% if compareAtPriceMin > minPrice -%} {% assign isSale = true -%} {% endif -%} {% assign compareAtPriceWithFormat = '' -%} {% unless compareAtPriceMin == null or compareAtPriceMin == 0 or isSale == false -%} {% comment %} calculate salePercent base on compareAtPriceMin and minPrice {% endcomment %} {% assign compare = compareAtPriceMin | minus: minPrice | times: 100 -%} {% assign salePercent = compare | divided_by: compareAtPriceMin | ceil | append: '%' -%} {% comment %} compareAtPriceWithFormat is compare price with PriceMin and format currency {% endcomment %} {% assign compareAtPriceWithFormat = compareAtPriceMin | format_currency: money_format, showCentAsSuperscript, removePriceDecimal, decimalDelimiter, withoutTrailingZeros -%} {% assign saleAmount = compareAtPriceMin | minus: minPrice -%} {% endunless -%} {% comment %} Format price min {% endcomment %} {% assign priceMinWithFormat = minPrice | format_currency: money_format, showCentAsSuperscript, removePriceDecimal , decimalDelimiter, withoutTrailingZeros -%} {% comment %} Format price max {% endcomment %} {% assign priceMaxWithFormat = '' -%} {% if product.price_max and maxPrice > minPrice -%} {% assign priceMaxWithFormat = maxPrice | format_currency: money_format, showCentAsSuperscript, removePriceDecimal , decimalDelimiter, withoutTrailingZeros -%} {% endif -%} {% comment %} priceMax used for multi variant price display where it can have min-max price with format and translation {% endcomment %} {% assign hasMultiVariantPrice = false -%} {% if translations.productItem.amount contains "minPrice" -%} {% assign hasMultiVariantPrice = true -%} {% endif -%} {% assign isSamePrice = true -%} {% if minPrice != maxPrice or product.compare_at_price_min != product.compare_at_price_max -%} {% assign isSamePrice = false -%} {% endif -%} {% assign priceValueWithFormat = priceMinWithFormat -%} {% if isSamePrice == false and maxPrice > minPrice and hasMultiVariantPrice -%} {% assign priceValueWithFormat = "productItem.amount" | translate: translations, "" | replace: '{{minPrice}}', priceMinWithFormat | replace: '{{maxPrice}}', priceMaxWithFormat -%} {% endif -%} {% assign savingPriceWithFormat = '' -%} {% unless showSavingDisplay == false or saleAmount == 0 -%} {% assign saleAmountWithFormat = saleAmount | format_currency: money_format, showCentAsSuperscript, removePriceDecimal, decimalDelimiter, withoutTrailingZeros -%} {% assign savingPriceWithFormat = "productItem.savingAmount" | translate: translations, "Save {{saleAmount}}" | replace: '{{saleAmount}}', saleAmountWithFormat | replace: '{{salePercent}}', salePercent -%} {% endunless -%} {% comment %} Price compare display top or bottom {% endcomment %} {% comment %} Price compare display left or right {% endcomment %}
    {{ priceValueWithFormat }} {% if compareAtPriceWithFormat != '' -%} {{ compareAtPriceWithFormat }} {% endif -%} {% if savingPriceWithFormat != '' -%} {{ savingPriceWithFormat }} {% endif -%}
    `; ; app.template["recommendation"] = ` {% assign widgetNameTranslationLabel = 'recommendation.' | append: widgetId %}
    {{ widgetNameTranslationLabel | translate: translations, widgetName }}
    {% if widgetDesignSettings.layoutDisplay == 'carousel' %}
    {% for product in products %}
    {% capture domain %}{{ widgetDesignSettings.tenantId }}{% endcapture %} {% if product.original_images != nil %} {% assign imageArray = product.original_images %} {% else %} {% assign imageArray = product.images_info %} {% endif %} {% assign productId = product.id %} {% if product.variant_id %} {% assign productId = product.variant_id %} {% endif %} {% assign filterOptionIdImageBaseOn = 'pf_opt_color' %} {% capture filterOptionIdImageBaseOn %}pf_opt_color{% endcapture %} {% assign optionName = filterOptionIdImageBaseOn | replace: 'pf_opt_','' %} {% assign valueRequest = request[filterOptionIdImageBaseOn] %} {% assign selectedVariantImageByFilterOption = nil %} {% for item in product.variants %} {% assign optionNameValue = optionName | append: ":" | append: valueRequest %} {% if item.merged_options contains optionNameValue %} {% if item.image %} {% assign selectedVariantImageByFilterOption = item.image %} {% endif %} {% break %} {% endif %} {% endfor %} {% capture productVariants %} [ {% for variant in product.variants %} { "title": "{{ variant.title }}", "id": "{{ variant.id }}", "available": {{ variant.available }} }{% unless forloop.last %},{% endunless %} {% endfor %} ] {% endcapture %} {% capture productData %} { "handle": "{{ product.handle }}", "variantId": "{{ product.variant_id }}", "splitProduct": "{{ product.split_product }}", "priceMin": "{{ product.price_min }}", "priceMax": "{{ product.price_max }}", "compareAtPriceMin": "{{ product.compare_at_price_min }}", "compareAtPriceMax": "{{ product.compare_at_price_max }}", "images": {{ imageArray | json | escape }}, "options_with_values": {{ product.options_with_values | json | escape }}, "selectedVariantImageByFilterOption": "{{ selectedVariantImageByFilterOption | escape }}" } {% endcapture %}
    {%- capture aspectRatio %}natural{% endcapture -%}
    {% assign aspect_ratio = '' -%} {% if aspectRatio == 'natural' -%} {% assign imageWidth = product.images_info[0].width -%} {% assign imageHeight = product.images_info[0].height -%} {% assign aspect_ratio = aspect_ratio | append: 'aspect-ratio:' | append: imageWidth | append: '/' | append: imageHeight -%} {% endif -%}
    {% assign firstImageSrc = '' -%} {% if selectedVariantImageByFilterOption != nil -%} {% assign firstImageSrc = selectedVariantImageByFilterOption -%} {% else -%} {% assign firstImageSrc = product.images_info[0].src -%} {% endif -%} {% assign widthParam = "&width=" -%} {% assign widths = "200,300,400,500,700,800" | split: "," -%} {% if request.device contains 'mobile' -%} {% assign maxWidth = 400 -%} {% else -%} {% assign maxWidth = 700 -%} {% endif -%} {% if request.productImageWidth != blank -%} {% assign imageWidth = request.productImageWidth | plus: 0 -%} {% if imageWidth > maxWidth -%} {% assign maxWidth = imageWidth -%} {% endif -%} {% endif -%} {% if product.images_info[0] -%} {% capture srcset -%} {% for width in widths -%} {% assign widthNo = width | plus: 0%} {% if widthNo < maxWidth -%} {{ firstImageSrc }}{{ widthParam }}{{ width }} {{ width }}w, {% else -%} {{ firstImageSrc }}{{ widthParam }}{{ maxWidth }} {{ maxWidth }}w {% break -%} {% endif -%} {% endfor -%} {% endcapture -%} {% assign productPerRow = 4 -%} {% if request.productPerRow != blank -%} {% assign productPerRow = request.productPerRow | plus: 0 -%} {% endif -%} {{ product.title | escape }} {% if product.images_info[1] -%} {% assign secondImageSrc = product.images_info[1].src -%} {% capture secondImageSrcset -%} {% for width in widths -%} {% assign widthNo = width | plus: 0 -%} {% if widthNo < maxWidth -%} {{ secondImageSrc }}{{ widthParam }}{{ width }} {{ width }}w, {% else -%} {{ secondImageSrc }}{{ widthParam }}{{ maxWidth }} {{ maxWidth }}w {% break -%} {% endif -%} {% endfor -%} {% endcapture -%} {{ product.title | escape }} {% endif -%} {% else -%} {{ product.title | escape }} {% endif -%}
    {% assign hideOtherLabelsWhenSoldOut = true -%} {% if hideOtherLabelsWhenSoldOut != true -%} {% assign compareAtPriceMin = product.compare_at_price_min | default: 0 -%} {% if compareAtPriceMin > product.price_min -%} {% assign percent = compareAtPriceMin | minus: product.price_min | times: 100 | divided_by: compareAtPriceMin| round -%} {% assign salePercent = percent | append: '%' -%} {% assign saleAmount = compareAtPriceMin | minus: product.price_min -%} {% assign productItemSaleTranslated = "productItem.productItemSale" | translate: translations, "Sale" | replace: '{{salePercent}}', salePercent | replace: '{{saleAmount}}', saleAmount -%}
    {{ productItemSaleTranslated }}
    {% endif -%} {% if product.available == false -%}
    {{ "productItem.productItemSoldOut" | translate: translations, "Sold out" }}
    {% endif -%} {% else -%} {% if product.available == false -%}
    {{ "productItem.productItemSoldOut" | translate: translations, "Sold out" }}
    {% else -%} {% assign compareAtPriceMin = product.compare_at_price_min | default: 0 -%} {% if compareAtPriceMin > product.price_min -%} {% assign percent = compareAtPriceMin | minus: product.price_min | times: 100 | divided_by: compareAtPriceMin| round -%} {% assign salePercent = percent | append: '%' -%} {% assign saleAmount = compareAtPriceMin | minus: product.price_min -%} {% assign translatedText = "productItem.productItemSale" | translate: translations, "Sale" | replace: '{{salePercent}}', salePercent | replace: '{{saleAmount}}', saleAmount %}
    {{ translatedText }}
    {% endif -%} {% endif -%} {% endif -%}
    {% comment %} POPUP {% endcomment %} {% comment %} POPUP {% endcomment %}
    {{ product.title | escape }}
    {% comment %} This Template contains a few variables built from the client js side {% endcomment %} {% assign removePriceDecimal = false -%} {% assign decimalDelimiter = '' -%} {% assign withoutTrailingZeros = true -%} {% assign showCentAsSuperscript = false -%} {% assign money_format = request.money_format | strip_html -%} {% assign money_format = request.money_format_with_currency | strip_html -%} {% assign showSavingDisplay = false -%} {% assign minPrice = product.price_min | times: 1.0 -%} {% assign maxPrice = 0 -%} {% if product.price_max -%} {% assign maxPrice = product.price_max | times: 1.0 -%} {% endif -%} {% comment %} convert variable compareAtPriceMin to number {% endcomment %} {% assign compareAtPriceMin = 0 -%} {% if product.compare_at_price_min -%} {% assign compareAtPriceMin = product.compare_at_price_min | times: 1.0 -%} {% endif -%} {% assign isSale = false -%} {% assign salePercent = 0 -%} {% assign saleAmount = 0 -%} {% if compareAtPriceMin > minPrice -%} {% assign isSale = true -%} {% endif -%} {% assign compareAtPriceWithFormat = '' -%} {% unless compareAtPriceMin == null or compareAtPriceMin == 0 or isSale == false -%} {% comment %} calculate salePercent base on compareAtPriceMin and minPrice {% endcomment %} {% assign compare = compareAtPriceMin | minus: minPrice | times: 100 -%} {% assign salePercent = compare | divided_by: compareAtPriceMin | ceil | append: '%' -%} {% comment %} compareAtPriceWithFormat is compare price with PriceMin and format currency {% endcomment %} {% assign compareAtPriceWithFormat = compareAtPriceMin | format_currency: money_format, showCentAsSuperscript, removePriceDecimal, decimalDelimiter, withoutTrailingZeros -%} {% assign saleAmount = compareAtPriceMin | minus: minPrice -%} {% endunless -%} {% comment %} Format price min {% endcomment %} {% assign priceMinWithFormat = minPrice | format_currency: money_format, showCentAsSuperscript, removePriceDecimal , decimalDelimiter, withoutTrailingZeros -%} {% comment %} Format price max {% endcomment %} {% assign priceMaxWithFormat = '' -%} {% if product.price_max and maxPrice > minPrice -%} {% assign priceMaxWithFormat = maxPrice | format_currency: money_format, showCentAsSuperscript, removePriceDecimal , decimalDelimiter, withoutTrailingZeros -%} {% endif -%} {% comment %} priceMax used for multi variant price display where it can have min-max price with format and translation {% endcomment %} {% assign hasMultiVariantPrice = false -%} {% if translations.productItem.amount contains "minPrice" -%} {% assign hasMultiVariantPrice = true -%} {% endif -%} {% assign isSamePrice = true -%} {% if minPrice != maxPrice or product.compare_at_price_min != product.compare_at_price_max -%} {% assign isSamePrice = false -%} {% endif -%} {% assign priceValueWithFormat = priceMinWithFormat -%} {% if isSamePrice == false and maxPrice > minPrice and hasMultiVariantPrice -%} {% assign priceValueWithFormat = "productItem.amount" | translate: translations, "" | replace: '{{minPrice}}', priceMinWithFormat | replace: '{{maxPrice}}', priceMaxWithFormat -%} {% endif -%} {% assign savingPriceWithFormat = '' -%} {% unless showSavingDisplay == false or saleAmount == 0 -%} {% assign saleAmountWithFormat = saleAmount | format_currency: money_format, showCentAsSuperscript, removePriceDecimal, decimalDelimiter, withoutTrailingZeros -%} {% assign savingPriceWithFormat = "productItem.savingAmount" | translate: translations, "Save {{saleAmount}}" | replace: '{{saleAmount}}', saleAmountWithFormat | replace: '{{salePercent}}', salePercent -%} {% endunless -%} {% comment %} Price compare display top or bottom {% endcomment %} {% comment %} Price compare display left or right {% endcomment %}
    {{ priceValueWithFormat }} {% if compareAtPriceWithFormat != '' -%} {{ compareAtPriceWithFormat }} {% endif -%} {% if savingPriceWithFormat != '' -%} {{ savingPriceWithFormat }} {% endif -%}
    {% assign swatches = '' %} {% assign swatches = 'swatch item 1' %} {% capture swatchType %}color{% endcapture %} {% capture swatchBy %}product-image{% endcapture %} {% capture swatchShape %}circle{% endcapture %} {% assign swatchShapeClasses = '' %} {% if swatchShape == 'box' %} {% assign swatchShapeClasses = swatchShapeClasses | append: 'boost-sd__radio-label--non-radius'%} {% endif %} {% if swatchShape == 'circle' %} {% assign swatchShapeClasses = swatchShapeClasses | append: 'boost-sd__radio-label--circle'%} {% endif %} {% assign hideTextClasses = '' %} {% if swatchBy != '' and swatchBy != 'text' %} {% assign hideTextClasses = hideTextClasses | append: 'boost-sd__radio-label--hide-text'%} {% endif %} {% for swatch in product.options_with_values %} {% assign maxItem = 4 %} {% assign optionsLength = swatch.values| size %} {% if swatch.name %} {% if swatch.name == swatchType %}
    {% for value in swatch.values limit: maxItem %}
    {% assign backgroundSwatch = '' %} {% if swatchBy == 'color' %} {% assign backgroundSwatch = backgroundSwatch | append: "background-color:" | append: value.title | strip_html | escape %} {% endif %} {% if swatchBy == 'image' %} {% assign imageName = value.title | strip_html | downcase | strip | escape %} {% if imageName contains " " %} {% assign imageName = imageName | replace: ' ', "-" %} {% endif %} {% if swatch.name == 'size' %} {% assign imageName = 'size-' | append: imageName %} {% endif %} {% assign url = "//" | append: domain | append: "/cdn/shop/files/" | append: imageName | append: ".png" %} {% assign backgroundColor = "background-color:" | append: value.title | strip_html | escape | append: "; " %} {% assign backgroundSwatch = backgroundSwatch | append: backgroundColor | append: "background-image: url('" | append: url | append: "');"%} {% endif %} {% if swatchBy == 'product-image' %} {% assign valueImage = value.image %} {% assign urlImage = '' %} {% for image in product.images_info %} {% assign imagePosition = image.position %} {% if valueImage and imagePosition == valueImage %} {% assign urlImage = urlImage | append: image.src %} {% endif %} {% endfor %} {% if urlImage != '' %} {% assign backgroundSwatch = backgroundSwatch | append: "background-image: url('" | append: urlImage | append: "');"%} {% endif %} {% endif %}
    {% endfor %} {% if optionsLength > maxItem %} {% assign count = optionsLength | minus: maxItem %} {% endif %}
    {% endif %} {% endif %} {% endfor %}
    {% endfor %} {% assign numberOfProductPerRow = widgetDesignSettings.numberOfProductPerRow %} {% assign numberOfRecommendProduct = widgetDesignSettings.numberOfRecommendProduct %} {% if numberOfRecommendProduct < numberOfProductPerRow %} {% assign sliderPages = 1 %} {% assign disable = "disabled" %} {% else %} {% assign sliderPages = numberOfRecommendProduct | divided_by: numberOfProductPerRow | ceil %} {% assign disable = "" %} {% endif %}
    {% else %} {% assign bundleStyle = widgetDesignSettings.bundleStyle %}
    {% for product in products %}
    {% if product.checked %} {% endif %}
    {% if product.images_info[0] %} {{ product.title | escape }} {% else %} {{ product.title | escape }} {% endif %}
    {% if product.checked %}
    {% endif %} {% if bundleStyle == 'style2' %}
    {% if forloop.index0 == 0 %} This item: {{ product.title | escape }} {% elsif product.checked %} {{ product.title | escape }} {% else %} {{ product.title | escape }} {% endif %}
    {%- if product.selectedOption.title != 'Default Title' -%}
    {% endif %}
    {{ product.selectedOption.price }}
    {% endif %}
    {% unless forloop.last %}
    {% endunless %} {% endfor %}
    {% if bundleStyle == 'style1' %} {% for product in products %}
    {% if forloop.index0 == 0 %} This item: {{ product.title | escape }} {% elsif product.checked %} {{ product.title | escape }} {% else %} {{ product.title | escape }} {% endif %}
    {%- if product.selectedOption.title != 'Default Title' -%}
    {% endif %} {{ product.selectedOption.price }}
    {% endfor %} {% endif %}
    {% if hasSelectedProduct == true %}
    Total price: {{ totalPrice }}
    {% endif %}
    {% endif %}
    `; ; app.template["searchTabCollectionsContent"] = `
    {% for collection in collections %} {% capture collectionsDisplayImage %} false {% endcapture %} {% if collectionsDisplayImage and collection.image != null %}
    {% endif %}

    {{ collection.title | escape }}

    {% capture collectionsDisplayDescription %} false {% endcapture %} {% if collectionsDisplayDescription and collection.body_html != "" %}

    {{ collection.body_html | strip_html | escape }}

    {% endif %}
    {% endfor %} {% capture pageSize %} 25 {% endcapture %} {% assign pageSize = pageSize | plus: 0 %} {% if pageSize < total_collection %} {% assign totalPage = total_collection | divided_by: pageSize | ceil %} {% assign pagination = request.page | pagination_list: totalPage | split: "," %} {% assign to_product = request.page | times: request.limit %}
    {% if request.page != 1 %} {% endif %} {% for page_string in pagination %} {% assign page = page_string | plus: 0 %} {% if page == 0 %} {% elsif page == request.page %} {% else %} {% endif %} {% endfor %} {% if request.page != totalPage %} {% endif %}
    {% endif %}
    `; ; app.template["searchTabPagesContent"] = `
    {% for page in pages %} {% capture pagesDisplayImage %} false {% endcapture %} {% if pagesDisplayImage and page.image != null %}
    {% endif %}

    {{ page.title | escape }}

    {% capture pagesDisplayDescription %} {% endcapture %} {% if pagesDisplayDescription and page.body_html != "" %}
    {{ page.body_html | escape}}
    {% endif %}
    {% endfor %} {% capture pageSize %} 25 {% endcapture %} {% assign pageSize = pageSize | plus: 0 %} {% if pageSize < total_page %} {% assign totalPage = total_page | divided_by: pageSize | ceil %} {% assign pagination = request.page | pagination_list: totalPage | split: "," %} {% assign to_product = request.page | times: request.limit %}
    {% if request.page != 1 %} {% endif %} {% for page_string in pagination %} {% assign page = page_string | plus: 0 %} {% if page == 0 %} {% elsif page == request.page %} {% else %} {% endif %} {% endfor %} {% if request.page != totalPage %} {% endif %}
    {% endif %}
    `; ; app.template["searchTabCollectionsContentPagination"] = `{% assign pagination = request.page | pagination_list: totalPage | split: "," %} {% assign to_product = request.page | times: request.limit %}
    {% if request.page != 1 %} {% endif %} {% for page_string in pagination %} {% assign page = page_string | plus: 0 %} {% if page == 0 %} {% elsif page == request.page %} {% else %} {% endif %} {% endfor %} {% if request.page != totalPage %} {% endif %}
    `; ; app.template["placeholderFilterTree"] = `
    `; ; })(); document.addEventListener("DOMContentLoaded", function() { var _a, _b; const taeSettings = window.boostWidgetIntegration.taeSettings; const app = window.boostWidgetIntegration.app["production"]; const hasFilterBlock = document.querySelector(".boost-sd__filter-product-list"); const env = "production"; if (app.jsLibLoadStatus === "pending" && !hasFilterBlock) { const widgetLibScript = document.createElement("script"); widgetLibScript.setAttribute("src", app.libUrl); widgetLibScript.defer = true; if (env === "development") widgetLibScript.type = "module"; (_a = document.head) == null ? void 0 : _a.appendChild(widgetLibScript); app.jsLibLoadStatus = "loading"; widgetLibScript.onload = function() { app.jsLibLoadStatus = "loaded"; }; } if (((_b = taeSettings == null ? void 0 : taeSettings.instantSearch) == null ? void 0 : _b.enabled) && boostWidgetIntegration.generalSettings.templateId) { initInstantSearch(); } initRecommendation(); initCart(); initPredictiveBundle(); initPreOrder(); const checkCssLoaded = function() { var _a2; if (app.themeCssLoaded && app.settingsCSSLoaded) { window.boostWidgetIntegration.status = "ready"; const app2 = window.boostWidgetIntegration.app["production"]; const templateMetadata = app2.templateMetadata; if (templateMetadata == null ? void 0 : templateMetadata.customizeCssUrl) { const customizeCss = document.createElement("link"); customizeCss.rel = "stylesheet"; customizeCss.type = "text/css"; customizeCss.href = templateMetadata == null ? void 0 : templateMetadata.customizeCssUrl; document.head.appendChild(customizeCss); } if (templateMetadata == null ? void 0 : templateMetadata.customizeJsUrl) { const customizeJs = document.createElement("script"); customizeJs.defer = true; customizeJs.type = "module"; customizeJs.setAttribute("src", templateMetadata.customizeJsUrl); (_a2 = document.body) == null ? void 0 : _a2.appendChild(customizeJs); } } else { setTimeout(() => { checkCssLoaded(); }, 50); } }; checkCssLoaded(); }); })(); /*! Bundled license information: pretty-print-json/dist/pretty-print-json.js: (*! pretty-print-json v3.0.1 ~~ https://pretty-print-json.js.org ~~ MIT License *) */
    This site has limited support for your browser. We recommend switching to Edge, Chrome, Safari, or Firefox.

    Sports Eyewear: Functionality Meets Style

    Sports Eyewear: Functionality Meets Style

    Sports eyewear has come a long way from its conventional designs to embracing a fusion of functionality and style. Whether you are a fitness enthusiast, a professional athlete, or simply enjoy outdoor activities, sports eyewear plays a crucial role in enhancing your performance while making a fashion statement. With the evolving trends in eyewear fashion, the year 2024 brings a fresh wave of stylish men eyeglasses that blend innovation and aesthetics seamlessly.

    The Intersection of Form and Function

    When it comes to sports eyewear, the perfect blend of form and function is essential. Eyewear designed for athletic activities needs to provide optimal performance, durability, and protection while also complementing your personal style. The trending eyeglasses for males in 2024 encompass these key factors, offering a range of options that cater to different preferences and activities.

    Enhanced Visual Clarity

    One of the primary functions of sports eyewear is to enhance visual clarity and protect your eyes from potential hazards. Glasses frames for men are engineered with advanced lens technologies that reduce glare, improve contrast, and ensure maximum visibility in various conditions. Whether you are on the tennis court, cycling through rugged terrain, or enjoying a round of golf, clarity of vision is paramount.

    Moreover, the design of sports eyewear is tailored to provide a comfortable and secure fit, preventing slippage or discomfort during intense movements. From lightweight materials to ergonomic shapes, every aspect is optimized to deliver a seamless experience while you focus on your performance.

    Style Evolution: Men Sunglasses 2024

    In the realm of fashion glasses for men, the year 2024 introduces a diverse array of styles that cater to different tastes and preferences. From classic aviators to modern sporty designs, men sunglasses in 2024 offer a perfect marriage of timeless elegance and contemporary trends. Whether you prefer bold frames or subtle accents, there is a wide selection to choose from.

    Personalized Expression

    Your choice of eyewear is a reflection of your personality and style. The latest trends in eyeglasses for men celebrate individuality and self-expression, allowing you to choose frames that resonate with your unique persona. Whether you are drawn to understated sophistication or bold statements, there is a pair of sunglasses waiting to elevate your look.

    Diverse Color Palette

    Gone are the days of limited color options in eyewear. The fashion glasses for men in 2024 embrace a diverse color palette, ranging from classic blacks and browns to vibrant hues and gradient tones. Whether you prefer subtle shades that blend seamlessly with your outfit or eye-catching colors that make a statement, the choices are endless.

    Performance Meets Elegance

    While style is a significant factor in choosing sports eyewear, performance remains paramount. The fusion of cutting-edge technology and refined aesthetics is evident in the latest glasses frames for men. Lightweight materials, impact-resistant lenses, and aerodynamic designs ensure that your eyewear enhances your performance while exuding elegance.

    Seamless Transition

    Whether you are transitioning from a workout session to a casual outing or from a game on the field to a social gathering, sports eyewear designed for versatility offers a seamless transition. The trending eyeglasses for males in 2024 are versatile enough to complement various ensembles, adding a touch of sophistication to your overall look.

    Protection with Style

    Protecting your eyes from harmful UV rays and external elements is a top priority when it comes to eyewear. The men sunglasses 2024 not only provide superior protection but also do so with style. Whether you are basking in the sun or braving the elements, your eyewear serves as a shield without compromising on fashion.

    Innovative Designs for Every Adventure

    From rugged outdoor expeditions to urban escapades, sports eyewear is designed to accompany you on every adventure. The evolving trends in eyewear fashion have paved the way for innovative designs that cater to the diverse needs of modern men. Whether you seek performance-driven features or sleek aesthetics, there is a pair of glasses frames for men that align with your vision.

    Embracing Versatility

    Versatility is key when it comes to choosing sports eyewear that effortlessly transitions from one setting to another. The men sunglasses 2024 emphasize versatility, offering frames that adapt to changing environments seamlessly. Whether you are heading to the gym, exploring the great outdoors, or attending a social event, your eyewear should be a versatile companion.

    Eco-Friendly Options

    With a growing emphasis on sustainability and eco-conscious choices, the fashion glasses for men in 2024 include eco-friendly options that prioritize both style and the environment. From frames crafted from recycled materials to biodegradable components, you can make a statement not just with your style but also with your commitment to sustainable practices.

    Embrace the fusion of functionality and style with the latest sports eyewear trends for men in 2024. Elevate your performance, protect your eyes, and make a fashion statement with glasses frames that reflect your unique personality and preferences. Discover the perfect balance between innovation and aesthetics as you embark on your next adventure with confidence.

    Leave a comment

    Please note, comments must be approved before they are published