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,GAAME,YAAY,oBACpBT,IAAEO,GAAMC,SAAS,oBACnB,IACF,CAEAV,YAAAA,CAAapF,GACX,IAAIqF,EAAQC,IAAEtF,EAAEuF,eACZC,EAASvH,KAAK6G,OAAOW,MAAMJ,GAAS,EAGxCpH,KAAK6G,OAAOY,MAAM,EAAGF,GAAQG,MAAK,SAAUC,EAAGC,GAC7CP,IAAEO,GAAME,YAAY,qBACpBT,IAAEO,GAAMC,SAAS,mBACnB,IAGA7H,KAAK6G,OAAOY,MAAMF,EAAQ,GAAGG,MAAK,SAAUC,EAAGC,GAC7CP,IAAEO,GAAME,YAAY,oBACpBT,IAAEO,GAAMC,SAAS,oBACnB,IAEI7H,KAAKZ,QAAQ4I,kBACfhI,KAAKZ,QAAQ4I,iBAAiBT,EAElC,ECnEK,MAAMU,UAA2BrI,EAAAA,EACtCgH,IAAAA,GACE5G,KAAKkI,aACP,CAEAA,WAAAA,GACe,IAAIvB,EAAO,SAAU,CAChCqB,iBAAkBhI,KAAKmI,kBAAkBlB,KAAKjH,MAC9C+H,kBAAmB/H,KAAKoI,mBAAmBnB,KAAKjH,QAE3C4G,MACT,CAEAuB,iBAAAA,CAAkBZ,GAChBvH,KAAK8G,IAAIC,KAAK,+BAA+BsB,IAAId,EACnD,CAEAa,kBAAAA,GACE,OAAOpI,KAAK8G,IAAIC,KAAK,+BAA+BsB,KACtD,E,eClBFzI,EAAAA,EAAUU,KAAK,cAAcX,EAAAA,EAC3BS,OAAAA,GACEL,MAAMK,UAENJ,KAAKsI,WACP,CAEAA,SAAAA,GACa,IAAIL,EAAmB,sBAAuB,CAAC,GACrDrB,MACP,G","sources":["webpack://titan/./app/webpack_assets/javascripts/application.js","webpack://titan/./app/webpack_assets/javascripts/lib/time_zone.js","webpack://titan/./app/webpack_assets/javascripts/layouts/store_layout.js","webpack://titan/./app/webpack_assets/javascripts/lib/integrations/google_tag_manager.js","webpack://titan/./app/webpack_assets/javascripts/lib/store/event.js","webpack://titan/./app/webpack_assets/javascripts/shared/components/rating.js","webpack://titan/./app/webpack_assets/javascripts/store/product_reviews/_form.js","webpack://titan/./app/webpack_assets/packs/store/product_reviews/new.js"],"sourcesContent":["import { Turbo } from \"@hotwired/turbo-rails\";\nimport \"./controllers\";\n\n// Turn off turbo-drive by default unless \"opted in\"\nTurbo.session.drive = false;\n","let DateTimeFormat = window.Intl && window.Intl.DateTimeFormat && window.Intl.DateTimeFormat();\nlet options = DateTimeFormat && DateTimeFormat.resolvedOptions && DateTimeFormat.resolvedOptions();\nexport const timeZone = (options && options.timeZone) || 'America/Los_Angeles';\n\n\n","import smoothscroll from 'smoothscroll-polyfill';\n// import function to register Swiper custom elements\nimport { register } from 'swiper/element/bundle';\nimport 'lazysizes'; // lazy load logos in footer\nimport 'javascripts/lib/compat/bootstrap';\n\nimport Cookies from 'js-cookie';\nimport {Component} from \"javascripts/lib/component\";\nimport {Event} from \"javascripts/lib/store/event\";\nimport {timeZone} from \"javascripts/lib/time_zone\"; // TODO consider making this a function\nimport {GoogleTagManager} from \"javascripts/lib/integrations/google_tag_manager\";\n\n// Import our custom behaviors\nimport \"../application\";\n// register Swiper custom elements\nregister();\n\n/* global bootstrap */\nwindow.bootstrap = require('bootstrap');\n\nlet initializersRun = false;\n\nexport class StoreLayout extends Component {\n\n constructor(...args) {\n super(...args);\n\n this._runLayoutInitializers();\n }\n\n _runLayoutInitializers() {\n if (initializersRun) {\n return;\n }\n initializersRun = true;\n\n // Sets the users timezone, was in time_zone.js initializer\n Cookies.set('titan.browser.time_zone_name', timeZone);\n }\n\n didLoad() {\n /**\n * We load the scripts that have the possibility of running for >50ms on init first so the TTI\n * (time to interactive) is not higher than it needs to be.\n *\n * More on this here:\n * - https://docs.google.com/document/d/1GGiI9-7KeY3TPqS3YT271upUVimo-XiL5mwWorDUD4c/edit#\n * - https://www.searchenginejournal.com/a-technical-seo-guide-to-lighthouse-performance-metrics/292703/\n */\n\n GoogleTagManager.load(\n this.config.googleTagManagerToken,\n this.config.googleTagManagerAuth,\n this.config.googleTagManagerEnv,\n this.config.gtmServerUrl,\n this.config.customerId,\n this.config.googleTagManageremailAddressSHA256,\n this.config.googleTagManageremailAddressSHA1,\n this.config.klaviyoExternalId\n );\n\n this._initNotices();\n this._initBackToTopBtn();\n this._initTooltips();\n\n Event.pageView(this.data);\n }\n\n _initNotices() {\n [...document.querySelectorAll('.toast-init')].forEach((el) => new bootstrap.Toast(el).show());\n }\n\n _initBackToTopBtn() {\n smoothscroll.polyfill();\n let $btn = this.hook('btn-back-to-top');\n $btn.on('click', function(e) {\n e.preventDefault();\n window.scrollTo({top: 0, behavior: 'smooth'});\n return false;\n });\n }\n\n _initTooltips() {\n [...document.querySelectorAll('[data-bs-toggle=\"tooltip\"]')].forEach((el) => new bootstrap.Tooltip(el));\n }\n}\n","export class GoogleTagManager {\n\n static load(\n tagManagerToken,\n tagManagerAuth,\n tagManagerEnv,\n gtmServerUrl,\n customerId,\n googleTagManageremailAddressSHA1,\n googleTagManageremailAddressSHA256,\n klaviyoExternalId\n ) {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({\n 'customer_email_sha1': googleTagManageremailAddressSHA1,\n 'customer_email_sha256': googleTagManageremailAddressSHA256,\n 'customerId': customerId,\n 'klaviyoExternalId': klaviyoExternalId,\n });\n\n if (tagManagerToken && tagManagerAuth && tagManagerEnv && gtmServerUrl) {\n /* eslint-disable */\n // Boilerplate GA install snippet\n (function(w, d, s, l, i) {\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(), event:'gtm.js'});\n var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;\n j.src=`https://${gtmServerUrl}/gtm.js?id=`+i+dl+`>m_auth=${tagManagerAuth}>m_preview=${tagManagerEnv}>m_cookies_win=x`;\n f.parentNode.insertBefore(j,f);\n })(window, document, 'script', 'dataLayer', tagManagerToken);\n /* eslint-enable */\n }\n }\n\n static pageView(customData) {\n window.dataLayer.push({\n 'cart_value': customData.googleTagManager.cartValue,\n 'cart_items': customData.googleTagManager.cartItems\n });\n\n if (customData.fbAds) {\n window.dataLayer.push({\n 'content_name': customData.fbAds.contentName,\n 'content_type': customData.fbAds.contentType,\n 'content_ids': customData.fbAds.contentIds,\n 'num_items': customData.fbAds.numItems,\n 'value': customData.fbAds.value,\n 'currency': customData.fbAds.currency\n });\n }\n\n if (customData.page) {\n window.dataLayer.push({\n 'event': 'category_view',\n 'slug': customData.page.slug\n });\n }\n\n if (customData.googleTagManager && customData.googleTagManager.checkoutFlow) {\n window.dataLayer.push({\n 'checkout_items': customData.googleTagManager.checkoutFlow.productData,\n 'checkout_total': customData.googleTagManager.checkoutFlow.total,\n 'checkout_items_tiktok': customData.googleTagManager.checkoutFlow.tikTokData,\n 'itemNames': customData.googleTagManager.checkoutFlow.itemNames\n });\n }\n }\n\n static orderCompleted(customData) {\n window.dataLayer.push({\n 'order_id': customData.actionData.id,\n 'order_revenue': customData.actionData.revenue,\n 'order_coupon': customData.actionData.coupon,\n 'order_city': customData.actionData.city,\n 'order_state': customData.actionData.state,\n 'order_zip_code': customData.actionData.zip_code,\n 'order_country': customData.actionData.country,\n 'order_email_sha256': customData.actionData.email_sha256,\n 'order_first_name_sha256': customData.actionData.first_name_sha256,\n 'order_last_name_sha256': customData.actionData.last_name_sha256,\n 'order_products': customData.productData,\n 'order_total_discount': customData.actionData.total_discount,\n 'order_tax': customData.actionData.tax,\n 'order_shipping': customData.actionData.shipping,\n 'order_products_tiktok': customData.tikTokData,\n 'order_products_attentive': customData.attentiveData,\n 'order_products_impact_radius': customData.impactRadiusData\n });\n }\n\n static productDetailViewed(customData) {\n window.dataLayer.push({\n 'product_name': customData.productData.name,\n 'product_category': customData.productData.category,\n 'product_price': customData.productData.price,\n 'product_data': [{\n 'item_id': customData.productData.id,\n 'item_name': customData.productData.name,\n 'item_category': customData.productData.category,\n 'item_variant': customData.productData.variant,\n }],\n 'product_data_tiktok': [{\n 'content_id': customData.productData.id,\n 'content_name': customData.productData.name,\n 'content_type': 'product',\n 'price': customData.productData.price_tiktok,\n }]\n });\n }\n}\n","import store from 'store';\nimport {Logger} from \"javascripts/lib/logger\";\nimport {GoogleTagManager} from \"javascripts/lib/integrations/google_tag_manager\";\n\n\n/* eslint-disable max-lines */\nexport class Event {\n\n static logger = Logger;\n\n static googleTagManagerClient = GoogleTagManager;\n\n static pageView(data) {\n this.googleTagManagerClient.pageView(data);\n }\n\n static productDetailViewed(data) {\n this.googleTagManagerClient.productDetailViewed(data.googleTagManager.productDetailViewed);\n }\n\n /**\n * triggered when user completes the checkout flow and reaches the order_completed page\n * @param {JSON} data jbuilder data\n * @param {int} lastOrderCompleted ID of last completed order\n * @return {boolean} return true if event is fired. false, otherwise.\n */\n static orderCompleted(data, lastOrderCompleted) {\n let orderId = data.checkout.order_id;\n\n if (lastOrderCompleted === orderId) return false;\n\n // set the orderId so that next time we don't try sending these again\n store.set('lastOrderCompleted', orderId);\n\n this.googleTagManagerClient.orderCompleted(data.googleTagManager.orderCompleted);\n\n return true;\n }\n}\n","import $ from 'jquery';\nimport {Component} from \"javascripts/lib/component\";\n\nexport class Rating extends Component {\n init() {\n this.$stars = this.$el.find('.rating-star');\n\n this.$stars.on('mouseover', this._onStarHover.bind(this));\n this.$stars.on('mouseout', this._onStarMouseout.bind(this));\n this.$stars.on('click', this._onStarClick.bind(this));\n }\n\n _onStarHover(e) {\n let $star = $(e.currentTarget);\n let rating = this.$stars.index($star) + 1;\n\n // fill in any stars that are <= the selected rating\n this.$stars.slice(0, rating).each(function (_, star) {\n $(star).addClass('rating-star-selected');\n $(star).removeClass('rating-star-deselected');\n });\n\n // empty any stars that are > the selected rating\n this.$stars.slice(rating, 5).each(function (_, star) {\n $(star).removeClass('rating-star-selected');\n $(star).addClass('rating-star-deselected');\n });\n }\n\n _onStarMouseout() {\n let rating = this.options.getRatingSelected();\n if (!rating) {\n return;\n }\n // fill in any stars that are <= the selected rating\n this.$stars.slice(0, rating).each(function (_, star) {\n $(star).addClass('rating-star-selected');\n $(star).removeClass('rating-star-deselected');\n $(star).removeClass('rating-star-empty');\n $(star).addClass('rating-star-full');\n });\n\n // empty any stars that are > the selected rating\n this.$stars.slice(rating, 5).each(function (_, star) {\n $(star).removeClass('rating-star-selected');\n $(star).addClass('rating-star-deselected');\n $(star).removeClass('rating-star-full');\n $(star).addClass('rating-star-empty');\n });\n }\n\n _onStarClick(e) {\n let $star = $(e.currentTarget);\n let rating = this.$stars.index($star) + 1;\n\n // fill in any stars that are <= the selected rating\n this.$stars.slice(0, rating).each(function (_, star) {\n $(star).removeClass('rating-star-empty');\n $(star).addClass('rating-star-full');\n });\n\n // empty any stars that are > the selected rating\n this.$stars.slice(rating, 5).each(function (_, star) {\n $(star).removeClass('rating-star-full');\n $(star).addClass('rating-star-empty');\n });\n\n if (this.options.onRatingSelected) {\n this.options.onRatingSelected(rating);\n }\n }\n}\n\n","import {Component} from \"javascripts/lib/component\";\nimport {Rating} from \"javascripts/shared/components/rating\";\n\nexport class ProductReviewsForm extends Component {\n init() {\n this._initRating();\n }\n\n _initRating() {\n let rating = new Rating(\"rating\", {\n onRatingSelected: this._onRatingSelected.bind(this),\n getRatingSelected: this._getRatingSelected.bind(this)\n });\n rating.init();\n }\n\n _onRatingSelected(rating) {\n this.$el.find(\"input#product_review_rating\").val(rating);\n }\n\n _getRatingSelected() {\n return this.$el.find(\"input#product_review_rating\").val();\n }\n}\n","import {Component} from \"javascripts/lib/component\";\nimport {ProductReviewsForm} from \"javascripts/store/product_reviews/_form\";\nimport {StoreLayout} from \"javascripts/layouts/store_layout\";\n\nComponent.load(class extends StoreLayout {\n didLoad() {\n super.didLoad();\n\n this._initForm();\n }\n\n _initForm() {\n let form = new ProductReviewsForm('form-product-review', {});\n form.init();\n }\n});\n"],"names":["Turbo","drive","DateTimeFormat","window","Intl","options","resolvedOptions","timeZone","register","bootstrap","require","initializersRun","StoreLayout","Component","constructor","args","super","this","_runLayoutInitializers","Cookies","set","didLoad","GoogleTagManager","load","config","googleTagManagerToken","googleTagManagerAuth","googleTagManagerEnv","gtmServerUrl","customerId","googleTagManageremailAddressSHA256","googleTagManageremailAddressSHA1","klaviyoExternalId","_initNotices","_initBackToTopBtn","_initTooltips","Event","pageView","data","document","querySelectorAll","forEach","el","Toast","show","smoothscroll","hook","on","e","preventDefault","scrollTo","top","behavior","Tooltip","tagManagerToken","tagManagerAuth","tagManagerEnv","dataLayer","push","w","d","s","l","i","Date","getTime","event","f","getElementsByTagName","j","createElement","async","src","parentNode","insertBefore","customData","googleTagManager","cartValue","cartItems","fbAds","contentName","contentType","contentIds","numItems","value","currency","page","slug","checkoutFlow","productData","total","tikTokData","itemNames","orderCompleted","actionData","id","revenue","coupon","city","state","zip_code","country","email_sha256","first_name_sha256","last_name_sha256","total_discount","tax","shipping","attentiveData","impactRadiusData","productDetailViewed","name","category","price","variant","price_tiktok","static","Logger","googleTagManagerClient","lastOrderCompleted","orderId","checkout","order_id","store","Rating","init","$stars","$el","find","_onStarHover","bind","_onStarMouseout","_onStarClick","$star","$","currentTarget","rating","index","slice","each","_","star","addClass","removeClass","getRatingSelected","onRatingSelected","ProductReviewsForm","_initRating","_onRatingSelected","_getRatingSelected","val","_initForm"],"sourceRoot":""}