{
  "version": 3,
  "sources": ["/cdn/shop/t/9/assets/constants.js?cv=4"],
  "sourcesContent": ["const ON_CHANGE_DEBOUNCE_TIMER = 300;\r\n\r\nconst PUB_SUB_EVENTS = {\r\n  cartUpdate: 'cart-update',\r\n  quantityUpdate: 'quantity-update',\r\n  optionValueSelectionChange: 'option-value-selection-change',\r\n  variantChange: 'variant-change',\r\n  cartError: 'cart-error',\r\n};\r\n\r\n// Make PUB_SUB_EVENTS globally available\r\nwindow.PUB_SUB_EVENTS = PUB_SUB_EVENTS;\r\n\r\n/**\r\n * Global debug logging helper\r\n * Checks theme setting before logging to reduce console noise in production\r\n *\r\n * Usage:\r\n *   debugLog('Message'); // console.log equivalent\r\n *   debugLog.warn('Warning'); // console.warn equivalent\r\n *   debugLog.error('Error'); // console.error equivalent (always logs)\r\n */\r\nwindow.debugLog = function(...args) {\r\n  // Check if debug logging is enabled via theme settings (default to false if not set)\r\n  const debugEnabled = window.Shopify?.theme?.settings?.enable_debug_logging === true;\r\n  \r\n  if (debugEnabled) {\r\n    console.log(...args);\r\n  }\r\n};\r\n\r\n// Add warn method\r\nwindow.debugLog.warn = function(...args) {\r\n  const debugEnabled = window.Shopify?.theme?.settings?.enable_debug_logging === true;\r\n  \r\n  if (debugEnabled) {\r\n    console.warn(...args);\r\n  }\r\n};\r\n\r\n// Error logging always happens (critical errors should always be visible)\r\nwindow.debugLog.error = function(...args) {\r\n  console.error(...args);\r\n};\r\n\r\n// Helper to check if debugging is enabled\r\nwindow.isDebugEnabled = function() {\r\n  return window.Shopify?.theme?.settings?.enable_debug_logging === true;\r\n};\r\n"],
  "mappings": "AAAA,MAAM,yBAA2B,IAE3B,eAAiB,CACrB,WAAY,cACZ,eAAgB,kBAChB,2BAA4B,gCAC5B,cAAe,iBACf,UAAW,YACb,EAGA,OAAO,eAAiB,eAWxB,OAAO,SAAW,YAAY,KAAM,CAEb,OAAO,SAAS,OAAO,UAAU,uBAAyB,IAG7E,QAAQ,IAAI,GAAG,IAAI,CAEvB,EAGA,OAAO,SAAS,KAAO,YAAY,KAAM,CAClB,OAAO,SAAS,OAAO,UAAU,uBAAyB,IAG7E,QAAQ,KAAK,GAAG,IAAI,CAExB,EAGA,OAAO,SAAS,MAAQ,YAAY,KAAM,CACxC,QAAQ,MAAM,GAAG,IAAI,CACvB,EAGA,OAAO,eAAiB,UAAW,CACjC,OAAO,OAAO,SAAS,OAAO,UAAU,uBAAyB,EACnE",
  "names": []
}
