1(function(){"use strict";var previous=window.CAEvidence||{},pending=Array.isArray(previous.q)?previous.q.slice():[],SCHEMA_VERSION="1.0",EXPERIENCE_ID="enterprise_main_filter_2026_08",EXPERIENCE_VARIANT="enterprise_facets_v3",FILTER_UI_VERSION="enterprise_facets_v3",FILTER_UPDATE_TIMEOUT_MS=1e4,FILTER_GROUP_TOGGLE_INTENT_TTL_MS=2e3,WEB_VITAL_SAMPLE_RATE=.1,WEB_VITAL_SAMPLE_KEY="ca_web_vital_sample_v1",STORAGE_KEY="ca_evidence_lineage_v1",STATE_TTL_MS=2700*1e3,FILTER_DEBOUNCE_MS=400,MAX_ARRAY_LENGTH=50,MAX_STRING_LENGTH=200,recentlyPublished=new Map,recommendationImpressions=new Set,debounceTimers=new Map,rebuyWidgetStates=new Map,rebuyImpressions=new Set,rebuyRecentSelections=new Map,rebuyInferredIntentId=null,rebuyScanTimer=null,pendingFacetInteractions=[],pendingFacetTimer=null,lastFacetSnapshot=null,pendingFacetGroupToggles=new WeakMap,guideCtaObserver=null,guideProgressMarks=new Set;function now(){return Date.now()}function uuid(){return window.crypto&&typeof window.crypto.randomUUID=="function"?window.crypto.randomUUID():"ca-"+now().toString(36)+"-"+Math.random().toString(36).slice(2,12)}function isBlockedKey(key){return/^(query|search)_length$/i.test(key)?!1:/^(email|phone|telephone|address|customer|customer_id|user_id|message|notes?|raw_text|audience|sensation|experience|control|priority|goal|need|filter_value|value)$/i.test(key)||/(search|query|keyword|answer|free_?text)/i.test(key)}function sanitize(value,depth){if(depth=depth||0,depth>4||value==null)return value==null?null:void 0;if(typeof value=="string")return value.slice(0,MAX_STRING_LENGTH);if(typeof value=="number")return Number.isFinite(value)?value:void 0;if(typeof value=="boolean")return value;if(Array.isArray(value))return value.slice(0,MAX_ARRAY_LENGTH).map(function(item){return sanitize(item,depth+1)}).filter(function(item){return item!==void 0});if(typeof value=="object"){var clean={};return Object.keys(value).slice(0,50).forEach(function(key){if(!isBlockedKey(key)){var item=sanitize(value[key],depth+1);item!==void 0&&(clean[key]=item)}}),clean}}function readStateFrom(storage){try{var raw=storage.getItem(STORAGE_KEY);if(!raw)return null;var state=JSON.parse(raw);return!state||!state.expires_at||state.expires_at<=now()?(storage.removeItem(STORAGE_KEY),null):state}catch(error){return null}}function getState(){return readStateFrom(window.localStorage)||readStateFrom(window.sessionStorage)||{}}function saveState(next){var clean={intent_id:next.intent_id||null,recommendation_id:next.recommendation_id||null,recommendation_version:next.recommendation_version||null,selected_item_id:next.selected_item_id||null,selected_variant_id:next.selected_variant_id||null,selected_rank:next.selected_rank!=null?next.selected_rank:null,selected_at:next.selected_at||null,expires_at:now()+STATE_TTL_MS},serialized=JSON.stringify(clean);try{window.localStorage.setItem(STORAGE_KEY,serialized)}catch(error){}try{window.sessionStorage.setItem(STORAGE_KEY,serialized)}catch(error){}return clean}function clearExpiredPublicationKeys(){var cutoff=now()-1e4;recentlyPublished.forEach(function(timestamp,key){timestamp<cutoff&&recentlyPublished.delete(key)})}function isDuplicate(name,payload,windowMs){clearExpiredPublicationKeys();var key=name+"|"+JSON.stringify(payload),last=recentlyPublished.get(key)||0;return now()-last<(windowMs||1200)?!0:(recentlyPublished.set(key,now()),!1)}function markRuntime(attribute,value){try{document.documentElement.setAttribute(attribute,value)}catch(error){}}function publishToShopify(name,payload,attempt){if(attempt=attempt||0,window.Shopify&&Shopify.analytics&&typeof Shopify.analytics.publish=="function")try{var result=Shopify.analytics.publish("ca:"+name,payload);result&&typeof result.then=="function"?result.then(function(dispatched){dispatched!==!1&&markRuntime("data-ca-evidence-delivered","ca:"+name)}).catch(function(){markRuntime("data-ca-evidence-delivery","failed")}):markRuntime("data-ca-evidence-delivered","ca:"+name);return}catch(error){if(attempt>=3)return}attempt<3&&window.setTimeout(function(){publishToShopify(name,payload,attempt+1)},250*(attempt+1))}function publish(name,payload,options){options=options||{};
1var state=getState(),envelope=sanitize(Object.assign({schema_version:SCHEMA_VERSION,experience_id:EXPERIENCE_ID,experience_variant:EXPERIENCE_VARIANT,event_id:uuid(),occurred_at:new Date().toISOString(),page_path:window.location.pathname,intent_id:payload&&payload.intent_id||state.intent_id||null,recommendation_id:payload&&payload.recommendation_id||state.recommendation_id||null,recommendation_version:payload&&payload.recommendation_version||state.recommendation_version||null},payload||{})),dedupeCopy=Object.assign({},envelope);return delete dedupeCopy.event_id,delete dedupeCopy.occurred_at,!options.allowDuplicate&&isDuplicate(name,dedupeCopy,options.dedupeWindowMs)?!1:(markRuntime("data-ca-evidence-last","ca:"+name),publishToShopify(name,envelope,0),document.dispatchEvent(new CustomEvent("ca:evidence:published",{detail:{name:"ca:"+name,payload:envelope}})),!0)}function captureIntent(payload){payload=payload||{};var state=saveState({intent_id:payload.intent_id||uuid(),recommendation_id:null,recommendation_version:payload.recommendation_version||"theme-1"});return publish("intent_captured",Object.assign({},payload,{intent_id:state.intent_id,recommendation_id:null,recommendation_version:state.recommendation_version}),{allowDuplicate:!0})}function normalizeItem(source){return source=source||{},sanitize({item_id:source.item_id||source.product_id||source.product_handle||source.handle||null,item_name:source.item_name||source.product_name||source.product_title||source.title||null,item_brand:source.item_brand||source.vendor||source.brand||null,item_category:source.item_category||source.product_type||source.category||null,item_variant:source.item_variant||source.variant_title||null,variant_id:source.variant_id||null,price:source.price||source.price_shown||null,discount:source.discount||source.discount_shown||null,index:source.index!=null?source.index:source.position})}function normalizeItems(payload){var candidates=payload.items||payload.products||payload.recommendations||[];Array.isArray(candidates)||(candidates=[candidates]);var items=candidates.map(normalizeItem).filter(function(item){return item&&(item.item_id||item.item_name)});if(!items.length){var single=normalizeItem(payload);(single.item_id||single.item_name)&&items.push(single)}return items}function inferVisibleItems(eventName){eventName=String(eventName||"");var selectors=[];if(eventName==="find_your_match"?selectors=['[id^="FindYourMatchQuiz-"] [data-result-grid] [data-product-card]']:/^lelo_/.test(eventName)?selectors=/_recommendation_select$/.test(eventName)?["[data-rec-grid] .lelo-product"]:["[data-lelo-product]"]:/^lovense_/.test(eventName)?selectors=/_recommendation_select$/.test(eventName)?["[data-route-results] article",'[data-route-results] [class*="product"]']:["[data-lovense-product]"]:eventName==="satisfyer_route_select"&&(selectors=["[data-product]"]),!selectors.length||!document.querySelectorAll)return[];var nodes=[];selectors.forEach(function(selector){Array.prototype.forEach.call(document.querySelectorAll(selector),function(node){nodes.indexOf(node)===-1&&nodes.push(node)})});var seen={};return nodes.filter(function(node){return!(node.hidden||node.getClientRects&&node.getClientRects().length===0)}).map(function(node){var link=node.matches&&node.matches('a[href*="/products/"]')?node:node.querySelector&&node.querySelector('a[href*="/products/"]'),href=link&&link.getAttribute("href")||"",handle=node.dataset&&node.dataset.handle||href.split("/products/")[1]||"";if(handle=handle.split(/[?#]/)[0],!handle||seen[handle])return null;seen[handle]=!0;var heading=node.querySelector&&node.querySelector("h2, h3, h4");return sanitize({item_id:handle,item_name:heading&&heading.textContent&&heading.textContent.trim()||null,index:Object.keys(seen).length})}).filter(Boolean).slice(0,MAX_ARRAY_LENGTH)}function showRecommendations(payload){payload=payload||{};var current=getState(),intentId=payload.intent_id||current.intent_id||uuid(),recommendationId=payload.recommendation_id||uuid(),version=payload.recommendation_version||current.recommendation_version||"theme-1",items=normalizeItems(payload);items.length||(items=inferVisibleItems(payload.legacy_event||payload.recommendation_source)),markRuntime("data-ca-evidence-items",String(items.length));var signature=[payload.recommendation_source||payload.item_list_id||payload.item_list_name||"unknown",intentId,items.map(function(item){return item.item_id||item.item_name}).join(",")].join("|");return recommendationImpressions.has(signature)?!1:(recommendationImpressions.add(signature),saveState({intent_id:intentId,recommendation_id:recommendationId,recommendation_version:version}),publish("recommendation_shown",Object.assign({},payload,{intent_id:intentId,recommendation_id:recommendationId,recommendation_version:version,items:items}),{allowDuplicate:!0}))}function selectRecommendation(payload){payload=payload||{};var current=getState(),item=normalizeItem(payload.item||payload.product||payload),state=saveState({intent_id:payload.intent_id||current.intent_id||null,recommendation_id:payload.recommendation_id||current.recommendation_id||null,recommendation_version:payload.recommendation_version||current.recommendation_version||null,selected_item_id:item.item_id||null,selected_variant_id:item.variant_id||null,selected_rank:item.index!=null?item.index:null,selected_at:new Date().toISOString()});return persistCartLineage(state),publish("recommendation_clicked",Object.assign({},payload,{intent_id:state.intent_id,recommendation_id:state.recommendation_id,recommendation_version:state.recommendation_version,items:[item]}))}function persistCartLineage(state){if(!(!state||!state.intent_id||!state.recommendation_id||!state.selected_item_id)&&typeof window.fetch=="function"){var attributes={__ca_schema_version:SCHEMA_VERSION,__c
1a_intent_id:String(state.intent_id).slice(0,200),__ca_recommendation_id:String(state.recommendation_id).slice(0,200),__ca_recommendation_version:String(state.recommendation_version||"").slice(0,100),__ca_selected_item_id:String(state.selected_item_id).slice(0,200),__ca_selected_variant_id:String(state.selected_variant_id||"").slice(0,100),__ca_recommendation_rank:state.selected_rank!=null?String(state.selected_rank).slice(0,20):"",__ca_selected_at:String(state.selected_at||new Date().toISOString()).slice(0,40)},root=window.Shopify&&Shopify.routes&&Shopify.routes.root||"/",endpoint=root.replace(/\/?$/,"/")+"cart/update.js";window.fetch(endpoint,{method:"POST",credentials:"same-origin",keepalive:!0,headers:{"Content-Type":"application/json"},body:JSON.stringify({attributes:attributes})}).then(function(response){if(!response.ok)throw new Error("Cart lineage update failed");markRuntime("data-ca-evidence-cart-lineage","persisted")}).catch(function(){markRuntime("data-ca-evidence-cart-lineage","failed")})}}function currentProductHandle(){var match=String(window.location&&window.location.pathname||"").match(/\/products\/([^/?#]+)/);return match?decodeURIComponent(match[1]):null}function classifiedPagePath(){var path=String(window.location&&window.location.pathname||"/"),root=String(window.Shopify&&window.Shopify.routes&&window.Shopify.routes.root||"/");if(/^\/[a-z]{2,3}(?:-[a-z0-9]{2,8})*\/?$/i.test(root)){var prefix=root.replace(/\/$/,"");if(path===prefix)return"/";if(path.indexOf(prefix+"/")===0)return path.slice(prefix.length)||"/"}return path}function rebuyPageSurface(){var path=classifiedPagePath();return/^\/cart\/?$/.test(path)?"cart":/^\/blogs\/[^/]+\/[^/]+/.test(path)?"article":/^\/blogs\/[^/]+/.test(path)?"blog":/^\/pages\//.test(path)?/(guide|find|help|support|match|discovery)/i.test(path)||document.querySelector&&document.querySelector("[data-guide-event]")?"guide":"page":/^\/(?:collections\/[^/]+\/)?products\//.test(path)?"product":/^\/collections\//.test(path)?"collection":/^\/search/.test(path)?"search":path==="/"?"home":"other"}function rebuySafeId(value){var safe=String(value==null?"":value).replace(/[^a-zA-Z0-9_.-]/g,"").slice(0,80);return safe||"unknown"}function rebuyRootFor(widget,widgetId){var element=widget&&widget.el&&(widget.el.$el||widget.el);if(element&&element.nodeType===1)return element.closest&&element.closest("[data-rebuy-id]")||element;if(!document.querySelectorAll)return null;for(var roots=document.querySelectorAll("[data-rebuy-id]"),index=0;index<roots.length;index+=1)if(String(roots[index].getAttribute("data-rebuy-id"))===String(widgetId))return roots[index];return null}function rebuyWidgetId(widget,root){var rootId=root&&root.getAttribute&&root.getAttribute("data-rebuy-id"),config=widget&&widget.config||{},data=widget&&widget.data||{};return rebuySafeId(rootId||widget&&(widget.id||widget.widget_id)||config.id||data.id)}function rebuyRootRendered(root){if(!root||root.hidden)return!1;try{if(root.getClientRects&&root.getClientRects().length===0)return!1;var style=window.getComputedStyle&&window.getComputedStyle(root);return!style||style.display!=="none"&&style.visibility!=="hidden"}catch(error){return!1}}function rebuyProductArray(detail,widget){return detail&&Array.isArray(detail.products)?detail.products:widget&&Array.isArray(widget.products)?widget.products:widget&&widget.data&&Array.isArray(widget.data.products)?widget.data.products:[]}function rebuyProductItem(product,index){product=product||{};var variants=Array.isArray(product.variants)?product.variants:[],variant=product.selected_variant||product.selectedVariant||variants[0]||{},handle=product.handle||product.product_handle||product.productHandle||"",productId=product.id||product.product_id||product.productId||"";return normalizeItem({item_id:handle||productId,item_name:product.title||product.name||product.product_title||null,item_brand:product.vendor||product.brand||null,item_category:product.product_type||product.type||null,item_variant:variant.title||product.variant_title||null,variant_id:variant.id||product.variant_id||product.variantId||null,index:
1product.index!=null?product.index:product.position!=null?product.position:index+1})}function rebuyDomItems(root){if(!root||!root.querySelectorAll)return[];var seen={};return Array.prototype.map.call(root.querySelectorAll(".rebuy-product-block"),function(card,index){var link=card.querySelector('a[href*="/products/"]'),href=link&&link.getAttribute("href")||"",handle=href.indexOf("/products/")>=0?href.split("/products/")[1].split(/[?#]/)[0]:"",classMatch=String(card.className||"").match(/(?:^|\s)product-id-([0-9]+)/),itemId=handle||classMatch&&classMatch[1]||"";if(!itemId||seen[itemId])return null;seen[itemId]=!0;var heading=card.querySelector(".rebuy-product-title, h2, h3, h4, h5");return normalizeItem({item_id:itemId,item_name:heading&&heading.textContent&&heading.textContent.trim()||null,index:index+1})}).filter(Boolean).slice(0,MAX_ARRAY_LENGTH)}function rebuyItems(detail,widget,root){var products=rebuyProductArray(detail,widget),items=products.map(rebuyProductItem).filter(function(item){return item&&(item.item_id||item.item_name)});return items.length?normalizeItems({items:items}):rebuyDomItems(root)}function rebuyListName(root,widgetId){var heading=root&&root.querySelector&&root.querySelector(".primary-title, [data-rebuy-title], h2, h3"),name=heading&&heading.textContent&&heading.textContent.trim().replace(/\s+/g," ");return name?name.slice(0,100):"Rebuy widget "+widgetId}function rebuyIntentId(){var current=getState();return current.intent_id?current.intent_id:(rebuyInferredIntentId||(rebuyInferredIntentId=uuid()),rebuyInferredIntentId)}function trackRebuyImpression(detail){detail=detail||{};var widget=detail.widget||null,provisionalId=rebuyWidgetId(widget,null),root=rebuyRootFor(widget,provisionalId),widgetId=rebuyWidgetId(widget,root);if(root&&!rebuyRootRendered(root))return!1;var items=rebuyItems(detail,widget,root);if(!items.length)return!1;var surface=rebuyPageSurface(),signature=[widgetId,surface,items.map(function(item){return item.item_id||item.item_name}).join(",")].join("|");if(rebuyImpressions.has(signature))return!1;var state={signature:signature,intent_id:rebuyIntentId(),recommendation_id:uuid(),recommendation_version:"rebuy-widget-"+widgetId,recommendation_source:"rebuy_"+surface,item_list_id:"rebuy_widget_"+widgetId,item_list_name:rebuyListName(root,widgetId),items:items};return rebuyImpressions.add(signature),rebuyWidgetStates.set(widgetId,state),markRuntime("data-ca-evidence-rebuy",widgetId),markRuntime("data-ca-evidence-rebuy-surface",surface),publish("recommendation_shown",{intent_id:state.intent_id,recommendation_id:state.recommendation_id,recommendation_version:state.recommendation_version,recommendation_source:state.recommendation_source,item_list_id:state.item_list_id,item_list_name:state.item_list_name,result_count:items.length,items:items},{allowDuplicate:!0})}function rebuySelectionIsDuplicate(widgetId,item){var cutoff=now()-1e4;rebuyRecentSelections.forEach(function(timestamp,key2){timestamp<cutoff&&rebuyRecentSelections.delete(key2)});var key=widgetId+"|"+String(item.item_id||item.item_name||"unknown"),previousAt=rebuyRecentSelections.get(key)||0;return now()-previousAt<2e3?!0:(rebuyRecentSelections.set(key,now()),!1)}function trackRebuySelection(event){var detail=event&&event.detail||{};trackRebuyImpression(detail);var widget=detail.widget||null,provisionalId=rebuyWidgetId(widget,null),root=rebuyRootFor(widget,provisionalId),widgetId=rebuyWidgetId(widget,root),product=detail.product||detail.item||null;if(!product)return!1;var item=rebuyProductItem(product,0);if(!item||!(item.item_id||item.item_name)||rebuySelectionIsDuplicate(widgetId,item))return!1;var state=rebuyWidgetStates.get(widgetId);if(!state){var surface=rebuyPageSurface();state={intent_id:rebuyIntentId(),recommendation_id:uuid(),recommendation_version:"rebuy-widget-"+widgetId,recommendation_source:"rebuy_"+surface,item_list_id:"rebuy_widget_"+widgetId,item_list_name:rebuyListName(root,widgetId),items:[item]},rebuyWidgetStates.set(widgetId,state)}var matched=state.items&&state.items.find(function(candidate){return candidate.item_id===item.item_id||candidate.item_name===item.item_name});matched&&matched.index!=null&&(item.index=matched.index);
1var variant=product.selected_variant||product.selectedVariant||{},handle=product.handle||product.product_handle||product.productHandle||item.item_id;return selectRecommendation({intent_id:state.intent_id,recommendation_id:state.recommendation_id,recommendation_version:state.recommendation_version,recommendation_source:state.recommendation_source,item_list_id:state.item_list_id,item_list_name:state.item_list_name,product_handle:handle,variant_id:variant.id||product.variant_id||product.variantId||item.variant_id||null,position:item.index,item:item})}function scanRebuyWidgets(){document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll("[data-rebuy-id]"),function(root){rebuyRootRendered(root)&&trackRebuyImpression({widget:{id:root.getAttribute("data-rebuy-id"),el:root}})})}function scheduleRebuyScan(){rebuyScanTimer&&window.clearTimeout(rebuyScanTimer),rebuyScanTimer=window.setTimeout(function(){rebuyScanTimer=null,scanRebuyWidgets()},120)}function containsRebuyNode(node){return!node||node.nodeType!==1?!1:node.matches&&node.matches("[data-rebuy-id], .rebuy-widget, .rebuy-product-block")?!0:!!(node.querySelector&&node.querySelector("[data-rebuy-id], .rebuy-widget, .rebuy-product-block"))}function setupRebuyTracking(){document.addEventListener&&(["rebuy.ready","rebuy.productsChange","rebuy.refresh","rebuy.show"].forEach(function(eventName){document.addEventListener(eventName,function(event){window.setTimeout(function(){trackRebuyImpression(event&&event.detail||{})},0)})}),document.addEventListener("rebuy.view",trackRebuySelection),document.addEventListener("rebuy.add",trackRebuySelection),document.addEventListener("rebuy.loaded",scheduleRebuyScan),document.addEventListener("rebuy:smartcart.show",scheduleRebuyScan),document.readyState==="loading"?document.addEventListener("DOMContentLoaded",scheduleRebuyScan,{once:!0}):scheduleRebuyScan())}function guideAction(payload){return publish("guide_action",payload||{})}function supportAction(payload){return publish("support_action",payload||{})}function debouncedPublish(key,name,payload){debounceTimers.has(key)&&window.clearTimeout(debounceTimers.get(key)),debounceTimers.set(key,window.setTimeout(function(){debounceTimers.delete(key),publish(name,payload)},FILTER_DEBOUNCE_MS))}function safeCount(payload){return payload.result_count!=null?payload.result_count:payload.product_count!=null?payload.product_count:payload.results!=null&&Array.isArray(payload.results)?payload.results.length:null}function legacyPayload(payload,eventName){var copy=Object.assign({},payload);return delete copy.event,copy.legacy_event=eventName,copy}var nativeComparisonContext=null;function nativeComparison(payload,eventName){eventName==="ca_compare_started"&&(nativeComparisonContext=null);var context=safeContext(payload,eventName),count=Number(payload.compare_count);context.comparison_count=Number.isFinite(count)?Math.max(0,Math.min(50,count)):null;var path=String(payload.product_url||"").split("?")[0].split("#")[0],productMatch=path.match(/\/(?:products)\/([a-zA-Z0-9_-]+)$/);if(productMatch&&(context.product_handle=productMatch[1],context.destination_path="/products/"+productMatch[1]),eventName==="ca_compare_table_rendered"&&(nativeComparisonContext={intent_id:uuid(),recommendation_id:uuid(),recommendation_version:"native-compare-2026-09-27"},showRecommendations(Object.assign({},nativeComparisonContext,{recommendation_source:"native_product_compare",item_list_id:"native_product_compare",item_list_name:"Product comparison",legacy_event:eventName,items:normalizeItems(payload),result_count:context.comparison_count}))),eventName==="ca_compare_product_clicked"){var item=normalizeItems(payload)[0];return!item||!item.item_id||!nativeComparisonContext?!1:selectRecommendation(Object.assign({},context,nativeComparisonContext,{item:item,recommendation_source:"native_product_compare",item_list_id:"native_product_compare",item_list_name:"Product comparison"}))}return publish("comparison_action",Object.assign(context,{action:eventName.replace(/^ca_compare_/,""),intent_id:nativeComparisonContext&&nativeComparisonContext.intent_id,recommendation_id:nativeComparisonContext&&nativeComparisonContext.recommendation_id,recommendation_version:"native-compare-2026-09-27"}))}function safeContext(payload,eventName){var destination=payload.destination||payload.href||null;
1return typeof destination=="string"&&(destination=destination.split("?")[0].split("#")[0]),{legacy_event:eventName,event_category:payload.event_category||null,feature:payload.feature||null,page_type:payload.page_type||null,product_handle:payload.product_handle||payload.handle||null,target_handle:payload.target_handle||null,variant_id:payload.variant_id||null,position:payload.position!=null?payload.position:payload.index,destination_path:destination,result_count:safeCount(payload),query_length:payload.query_length!=null?payload.query_length:null,comparison_count:payload.comparison_count!=null?payload.comparison_count:payload.compared_products,card_count:payload.card_count!=null?payload.card_count:payload.quick_fit_card_count,guide_cards:payload.guide_cards!=null?payload.guide_cards:null,purchase_source:payload.purchase_source||null,items:normalizeItems(payload)}}function push(payload){if(!payload||typeof payload!="object")return!1;var eventName=String(payload.event||"legacy_interaction").slice(0,100),details=legacyPayload(payload,eventName),action=String(payload.quiz_action||payload.action||"").toLowerCase();if(/^ca_compare_/.test(eventName))return nativeComparison(payload,eventName);if(/^search_(best_match_shown|zero_results_recovery_shown|recovery_click)$/.test(eventName))return publish(eventName,details);if(eventName==="find_your_match")return action==="complete"?(captureIntent({intent_source:"find_your_match",intent_type:"declared",primary_goal:payload.priority||"unknown",experience_level:payload.experience||"unknown",recommendation_version:"find-your-match-theme-1",legacy_event:eventName}),showRecommendations({recommendation_source:"find_your_match",item_list_id:"find_your_match_results",item_list_name:"Find Your Match results",result_count:safeCount(payload),legacy_event:eventName})):action==="product_click"?selectRecommendation(details):guideAction(Object.assign(details,{guide_id:"find_your_match",action:action||"interaction"}));if(/_finder_result$/.test(eventName))return captureIntent({intent_source:eventName.replace(/_finder_result$/,""),intent_type:"declared",result_count:safeCount(payload),recommendation_version:"theme-1",legacy_event:eventName}),showRecommendations({recommendation_source:eventName.replace(/_finder_result$/,""),item_list_id:eventName+"_results",item_list_name:eventName.replace(/_/g," "),result_count:safeCount(payload),items:normalizeItems(payload),legacy_event:eventName});if(/_finder_view$|_comparison_view$|_quick_fit_view$/.test(eventName))return showRecommendations({recommendation_source:eventName.replace(/_(finder|comparison|quick_fit)_view$/,""),item_list_id:eventName,item_list_name:eventName.replace(/_/g," "),result_count:safeCount(payload),items:normalizeItems(payload),legacy_event:eventName});if(/_recommendation_select$/.test(eventName)||eventName==="satisfyer_route_select"){var recommendationSource=eventName.replace(/_(recommendation_select|route_select)$/,"");return captureIntent({intent_source:recommendationSource,intent_type:"declared",primary_goal:payload.recommendation_intent||payload.route||"unknown",recommendation_version:"theme-1",legacy_event:eventName}),showRecommendations({recommendation_source:recommendationSource,item_list_id:eventName+"_results",item_list_name:eventName.replace(/_/g," "),result_count:safeCount(payload),items:normalizeItems(payload),legacy_event:eventName})}return/_recommendation_click$|_beginner_pick_click$|_finder_product_click$|_product_click$|_comparison_click$/.test(eventName)?selectRecommendation(safeContext(payload,eventName)):/filter_(select|applied)$|_finder_filter$/.test(eventName)?debouncedPublish(eventName,"filter_applied",safeContext(payload,eventName)):/filter_remove$|filter_removed$/.test(eventName)?debouncedPublish(eventName,"filter_removed",safeContext(payload,eventName)):/filter_clear$|finder_clear$/.test(eventName)?debouncedPublish(eventName,"filter_cleared",safeContext(payload,eventName)):/_finder_search$/.test(eventName)?publish("finder_search",safeContext(payload,eventName)):/^help_/.test(eventName)?publish("help_interaction",Object.assign(safeContext(payload,eventName),{action:eventName.replace(/^help_/,"")})):/support_form_submit$/.test(eventName)?publish("support_request_submitted",safeContext(payload,eventName),{allowDuplicate:!0}):/support|faq|contact|replacement|purchase_source/.test(eventName)?supportAction(Object.assign(safeContext(payload,eventName),{action:eventName})):eventName==="search_redirect"?publish("search_redirect",safeContext(payload,eventName)):/guide|gallery_view|collection_click|brand_click|accessory_click|route_select/.test(eventName)?guideAction(Object.assign(safeContext(payload,eventName),{action:eventName})):/catalogue_(loaded|load_error)$/.test(eventName)?document.dispatchEvent(new CustomEvent("ca:evidence:diagnostic",{detail:sanitize(safeContext(payload,eventName))})):publish("legacy_interaction",safeContext(payload,eventName))}function destinationType(element){var href=element.getAttribute("href")||"";return/\/products\//.test(href)?"product":/\/collections\//.test(href)?"collection":/\/pages\//.test(href)?"page":/\/blogs\/[^/]+\/[^/?#]+/.test(href)?"article":/\/blogs\//.test(href)?"blog":/\/search(?:[/?#]|$)/.test(href)?"search":/\/cart(?:[/?#]|$)/.test(href)?"cart":/\/account(?:[/?#]|$)/.test(href)?"account":href.charAt(0)==="#"?"anchor":href==="/"||/^(?:https?:\/\/[^/]+)?\/?(?:[?#].*)?$/.test(href)?"home":/^(?:https?:)?\/\//.test(href)?"external":href?"other_internal":"action"}function closestElement(element,selector){try{return element&&element.closest?element.closest(selector):null}catch(error){return null}}function internalDestinationPath(element){if(!element||!element.getAttribute)return null;var href=String(element.getAttribute("href")||"");if(!href||/^(?:mailto|tel|sms|javascript):/i.test(href))return null;if(href.charAt(0)==="#")return window.location.pathname||"/";if(href.charAt(0)==="/")return href.split(/[?#]/)[0]||"/";try{var base=window.location.href||(window.location.origin||"")+(window.location.pathname||"/"),url=new URL(href,base);return window.location.origin&&url.origin!==window.location.origin?null:url.pathname||"/"}catch(error){return null}}function filterGroupId(name){var key=String(name||"").toLowerCase();return key==="sort_by"||/filter-sort/.test(key)?"sort":/availability|in_stock|stock/.test(key)?"availability":/price|range/.test(key)?"price":/vendor|brand/.test(key)?"brand":/product_type|\.type/.test(key)?"product_type":/category/.test(key)?"category":/shop_by_need|need_paths?/.test(key)?"shop_by_need":/storefront_control|control_method|how_you_control/.test(key)?"control":/water_resistance|waterproof/.test(key)?"water_resistance":/storefront_feel|storefront_sensation|how_
1it_feels|sensation/.test(key)?"sensation":/wearable_fit|wearable/.test(key)?"wearable_fit":/use_?and_?convenience|use_?convenience|convenience/.test(key)?"use_convenience":/insertable_length/.test(key)?"insertable_length":/power_type|power_source/.test(key)?"power_type":/sound|noise|discretion/.test(key)?"sound_discretion":/material/.test(key)?"material":/colou?r/.test(key)?"colour":/custom\.feature|\.feature$/.test(key)?"feature":/\.tag|tags?/.test(key)?"tag":/\.option\.|variant/.test(key)?"variant_option":/metafield|\.m\./.test(key)?"product_attribute":"other"}function filterFeatureForGroup(groupId){return groupId==="all"?"filter_all":"filter_"+(groupId||"other")}function sortId(value){var key=String(value||"").toLowerCase().replace(/-/g,"_"),allowed={manual:!0,best_selling:!0,title_ascending:!0,title_descending:!0,price_ascending:!0,price_descending:!0,created_ascending:!0,created_descending:!0,relevance:!0};return allowed[key]?key:"other"}function activeFilterCount(){if(!document.querySelectorAll)return null;var activeChips=document.querySelectorAll("facet-filters a.active-filter");if(activeChips&&activeChips.length)return activeChips.length;var inputs=document.querySelectorAll('facet-filters [name^="filter."]'),count=0;return Array.prototype.forEach.call(inputs||[],function(input){var type=String(input.type||"").toLowerCase();type==="checkbox"||type==="radio"?input.checked&&(count+=1):String(input.value||"").trim()&&(count+=1)}),count}function facetSnapshot(){var resultCount=null,countNode=document.querySelector&&document.querySelector("facet-filters .js-close-drawer-mob, [data-result-count], .products-toolbar__title"),countText=countNode&&countNode.textContent||"",countMatch=String(countText).replace(/,/g,"").match(/\d+/);countMatch&&(resultCount=Number(countMatch[0]));var cards=[];document.querySelectorAll&&(cards=document.querySelectorAll("#filter-results product-card"),cards.length||(cards=document.querySelectorAll("#filter-results .card")),cards.length||(cards=document.querySelectorAll("#filter-results > ul > li")));var renderedProducts=new Set;return Array.prototype.forEach.call(cards,function(card){if(!(card.hidden||card.closest&&card.closest("[hidden]"))){var productId=card.getAttribute&&card.getAttribute("data-product-id");renderedProducts.add(productId||card)}}),{result_count:resultCount,visible_card_count:renderedProducts.size,active_filter_count:activeFilterCount()}}function facetPayload(interaction,after){var before=interaction.before||{},finishedAt=now(),payload={filter_group_id:interaction.filter_group_id,feature:interaction.feature,page_type:rebuyPageSurface(),result_count_before:before.result_count,result_count_after:after.result_count,visible_card_count_before:before.visible_card_count,visible_card_count_after:after.visible_card_count,active_filter_count_before:before.active_filter_count,active_filter_count_after:after.active_filter_count,latency_ms:Math.max(0,finishedAt-interaction.started_at),filter_ui_version:FILTER_UI_VERSION};return interaction.sort_id&&(payload.sort_id=interaction.sort_id),payload}function publishFacetInteraction(interaction,after){return publish(interaction.name,facetPayload(interaction,after))}function flushFacetInteractions(reason){pendingFacetTimer&&window.clearTimeout(pendingFacetTimer),pendingFacetTimer=null;var interactions=pendingFacetInteractions.slice(0,20);if(pendingFacetInteractions=[],!!interactions.length){var after=facetSnapshot();if(lastFacetSnapshot=after,interactions.forEach(function(interaction){publishFacetInteraction(interaction,after)}),reason==="updated"){var measuredGroups={};interactions.forEach(function(interaction){measuredGroups[interaction.filter_group_id]||(measuredGroups[interaction.filter_group_id]=!0,publish("filter_results_updated",facetPayload(interaction,after)))})}}}function queueFacetInteraction(name,filterGroupIdValue,feature,extra){var before=pendingFacetInteractions.length?facetSnapshot():lastFacetSnapshot||facetSnapshot();pendingFacetInteractions.push(Object.assign({name:name,filter_group_id:filterGroupIdValue,feature:feature||filterFeatureForGroup(filterGroupIdValue),before:before,started_at:now()},extra||{})),pendingFacetInteractions.length>20&&pendingFacetInteractions.shift(),pendingFacetTimer&&window.clearTimeout(pendingFacetTimer),pendingFacetTimer=window.setTimeout(function(){flushFacetInteractions("timeout")},FILTER_UPDATE_TIMEOUT_MS)}function filterGroupFromElement(element){var named=element&&(element.name||element.getAttribute&&element.getAttribute("name"));if(named)return filterGroupId(named);var filterRoot=closestElement(element,".filter, details-disclosure, details"),input=filterRoot&&filterRoot.querySelector&&filterRoot.querySelector('[name^="filter."]');if(input&&input.name)return filterGroupId(input.name);var rootId=filterRoot&&(filterRoot.id||filterRoot.getAttribute&&filterRoot.getAttribute("id"));return filterGroupId(rootId)}function filterParameterCounts(url){var counts={};
1return url.searchParams.forEach(function(_value,key){String(key).indexOf("filter.")===0&&(counts[key]=(counts[key]||0)+1)}),counts}function removedFilterGroupFromActiveLink(anchor){if(!anchor||!anchor.getAttribute)return"active_filter";var href=anchor.getAttribute("href");if(!href)return"active_filter";try{var base=window.location.href||(window.location.origin||"")+(window.location.pathname||"/"),currentCounts=filterParameterCounts(new URL(base)),nextCounts=filterParameterCounts(new URL(href,base)),removedGroups={};Object.keys(currentCounts).forEach(function(parameterName){currentCounts[parameterName]<=(nextCounts[parameterName]||0)||(removedGroups[filterGroupId(parameterName)]=!0)});var groups=Object.keys(removedGroups);return groups.length===1?groups[0]:"active_filter"}catch(error){return"active_filter"}}function publishFacetUiEvent(name,filterGroupIdValue,feature){var state=facetSnapshot();return publish(name,{filter_group_id:filterGroupIdValue,feature:feature||filterFeatureForGroup(filterGroupIdValue),page_type:rebuyPageSurface(),result_count_after:state.result_count,visible_card_count_after:state.visible_card_count,active_filter_count_after:state.active_filter_count,filter_ui_version:FILTER_UI_VERSION})}function setupFacetTracking(){document.addEventListener&&(lastFacetSnapshot=facetSnapshot(),document.addEventListener("change",function(event){var target=event&&event.target;if(target){var selectedSort=event.detail&&event.detail.selectedValue,isCustomSort=target.tagName==="CUSTOM-SELECT"&&!!closestElement(target,".products-toolbar__sort, facet-filters"),name=target.name||target.getAttribute&&target.getAttribute("name")||"";if(name==="sort_by"||isCustomSort){var sortValue=selectedSort||target.value||"",safeSortId=sortId(sortValue);if(document.querySelector&&document.querySelector("facet-filters"))queueFacetInteraction("sort_applied","sort","sort_"+safeSortId,{sort_id:safeSortId});else{var sortInteraction={name:"sort_applied",filter_group_id:"sort",feature:"sort_"+safeSortId,sort_id:safeSortId,before:facetSnapshot(),started_at:now()};publishFacetInteraction(sortInteraction,facetSnapshot())}return}if(String(name).indexOf("filter.")===0){var action=target.checked===!1?"filter_removed":"filter_applied",groupId=filterGroupId(name);queueFacetInteraction(action,groupId,filterFeatureForGroup(groupId))}}},!0),document.addEventListener("click",function(event){var target=event&&event.target;if(target){var summary=closestElement(target,"summary"),summaryFilter=summary&&closestElement(summary,"details.filter");summaryFilter&&event.isTrusted!==!1&&pendingFacetGroupToggles.set(summaryFilter,{expected_open:!summaryFilter.open,started_at:now()});var activeFilter=closestElement(target,"a.active-filter"),clearFilter=closestElement(target,"a.js-clear-filter"),clearAll=closestElement(target,"a.js-clear-all");if(activeFilter){var removedGroup=removedFilterGroupFromActiveLink(activeFilter);queueFacetInteraction("filter_removed",removedGroup,removedGroup==="active_filter"?"filter_active":filterFeatureForGroup(removedGroup))}if(clearFilter){var clearGroup=filterGroupFromElement(clearFilter);queueFacetInteraction("filter_cleared",clearGroup,filterFeatureForGroup(clearGroup))}clearAll&&queueFacetInteraction("filter_cleared","all","filter_all")}},!0),document.addEventListener("toggle",function(event){var details=event&&event.target;if(!(!details||String(details.tagName||"").toUpperCase()!=="DETAILS")){var filterRoot=closestElement(details,"details.filter");if(filterRoot){var userIntent=pendingFacetGroupToggles.get(filterRoot);if(pendingFacetGroupToggles.delete(filterRoot),!!userIntent&&!(now()-userIntent.started_at>FILTER_GROUP_TOGGLE_INTENT_TTL_MS)&&!!details.open===userIntent.expected_open){var groupId=filterGroupFromElement(filterRoot);publishFacetUiEvent(details.open?"filter_group_opened":"filter_group_closed",groupId)}}}},!0),document.addEventListener("on:facet-filters:after-open",function(){publishFacetUiEvent("filter_drawer_opened","all","filter_drawer")}),document.addEventListener("on:facet-filters:after-close",function(){publishFacetUiEvent("filter_drawer_closed","all","filter_drawer")}),document.addEventListener("on:facet-filters:updated",function(){flushFacetInteractions("updated")}))}function navigationFeature(anchor){return closestElement(anchor,'.breadcrumbs, .breadcrumb, [aria-label*="breadcrumb" i]')?"navigation_breadcrumb":closestElement(anchor,".drawer, .mobile-menu, .mobile-navigation, [data-mobile-menu], nav-drawer")?"navigation_mobile_menu":closestElement(anchor,'footer, [role="contentinfo"]')?"navigation_footer":closestElement(anchor,'header, [role="banner"], .main-nav, .header')?"navigation_header":closestElement(anchor,"nav")?"navigation_other":null}function setupNavigationTracking(){document.addEventListener&&document.addEventListener("click",function(event){var anchor=closestElement(event&&event.target,"a[href]");if(!(!anchor||closestElement(anchor,"[data-guide-event], facet-filters"))){var feature=navigationFeature(anchor),destinationPath=internalDestinationPath(anchor);!feature||!destinationPath||guideAction({guide_id:"site_navigation",action:"navigation_click",feature:feature,page_type:rebuyPageSurface(),destination_type:destinationType(anchor),destination_path:destinationPath})}},!0)}function currentGuideId(){var path=classifiedPagePath(),match=path.match(/^\/pages\/([^/?#]+)/),slug=match?match[1]:"guide";return slug.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"").slice(0,80)||"guide"}function referrerType(){var referrer=String(document.referrer||"");if(!referrer)return"none";try{var referrerUrl=new URL(referrer);return window.location.origin&&referrerUrl.origin===window.location.origin?"internal":/google\.|bing\.|yaho
1o\.|duckduckgo\.|baidu\./i.test(referrerUrl.hostname)?"search":/facebook\.|instagram\.|tiktok\.|youtube\.|pinterest\.|x\.com$|twitter\./i.test(referrerUrl.hostname)?"social":"referral"}catch(error){return"unknown"}}function isPageNotFound(){return document.querySelector&&document.querySelector("[data-ca-page-not-found]")||document.body&&/(?:^|\s)template-404(?:\s|$)/.test(document.body.className||"")?!0:/^404\b/i.test(String(document.title||""))}function setupPageNotFoundTracking(){isPageNotFound()&&publish("page_not_found",{page_type:"404",referrer_type:referrerType()})}function webVitalSampled(){try{var stored=window.sessionStorage.getItem(WEB_VITAL_SAMPLE_KEY);if(stored==="1")return!0;if(stored==="0")return!1;var sampled=Math.random()<WEB_VITAL_SAMPLE_RATE;return window.sessionStorage.setItem(WEB_VITAL_SAMPLE_KEY,sampled?"1":"0"),sampled}catch(error){return Math.random()<WEB_VITAL_SAMPLE_RATE}}function webVitalRating(name,value){var limits={LCP:[2500,4e3],CLS:[.1,.25],INP:[200,500]},limit=limits[name];return limit?value<=limit[0]?"good":value<=limit[1]?"needs_improvement":"poor":"unknown"}function setupWebVitalTracking(){if(!window.PerformanceObserver||!webVitalSampled())return;var values={LCP:null,CLS:0,INP:null},published={};function publishVital(name){var value=values[name];published[name]||value==null||(published[name]=!0,publish("web_vital",{metric_name:name,metric_value:Math.round(value*1e3)/1e3,metric_rating:webVitalRating(name,value),sample_rate:WEB_VITAL_SAMPLE_RATE,page_type:isPageNotFound()?"404":rebuyPageSurface()}))}try{new PerformanceObserver(function(entryList){var entries=entryList.getEntries();entries.length&&(values.LCP=entries[entries.length-1].startTime)}).observe({type:"largest-contentful-paint",buffered:!0})}catch(error){}try{new PerformanceObserver(function(entryList){entryList.getEntries().forEach(function(entry){entry.hadRecentInput||(values.CLS+=entry.value)})}).observe({type:"layout-shift",buffered:!0})}catch(error){}try{new PerformanceObserver(function(entryList){entryList.getEntries().forEach(function(entry){entry.interactionId&&(values.INP==null||entry.duration>values.INP)&&(values.INP=entry.duration)})}).observe({type:"event",buffered:!0,durationThreshold:40})}catch(error){}function finalizeVitals(){publishVital("LCP"),publishVital("CLS"),publishVital("INP")}window.setTimeout(finalizeVitals,1e4),window.addEventListener("pagehide",finalizeVitals,{once:!0}),document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&finalizeVitals()})}function publishGuideProgress(percent){guideProgressMarks.has(percent)||(guideProgressMarks.add(percent),guideAction({guide_id:currentGuideId(),action:"progress_"+percent,feature:"guide_progress",page_type:"guide"}))}function checkGuideProgress(){var root=document.documentElement||{},body=document.body||{},scrollTop=window.pageYOffset!=null?window.pageYOffset:window.scrollY||root.scrollTop||body.scrollTop||0,viewport=window.innerHeight||root.clientHeight||0,height=Math.max(root.scrollHeight||0,body.scrollHeight||0,viewport),percent=height>viewport?Math.round((scrollTop+viewport)/height*100):100;[25,50,75,100].forEach(function(mark){percent>=mark&&publishGuideProgress(mark)})}function setupGuideVisibility(){if(!(!window.IntersectionObserver||!document.querySelectorAll)){var seenSections=new WeakSet,sectionObserver=new IntersectionObserver(function(entries){entries.forEach(function(entry){!entry.isIntersecting||seenSections.has(entry.target)||(seenSections.add(entry.target),sectionObserver.unobserve(entry.target),guideAction({guide_id:currentGuideId(),action:"section_view_"+entry.target.__caGuideSectionIndex,feature:"guide_section",page_type:"guide"}))})},{threshold:.5}),main=document.querySelector&&document.querySelector("main"),sections=main&&main.querySelectorAll?main.querySelectorAll("section, [data-section-id]"):[];Array.prototype.slice.call(sections,0,20).forEach(function(section,index){section.__caGuideSectionIndex=index+1,sectionObserver.observe(section)});var seenCtas=new WeakSet;guideCtaObserver=new IntersectionObserver(function(entries){entries.forEac
1h(function(entry){!entry.isIntersecting||seenCtas.has(entry.target)||(seenCtas.add(entry.target),guideCtaObserver.unobserve(entry.target),guideAction({guide_id:currentGuideId(),action:"cta_view",feature:"guide_cta",page_type:"guide",destination_type:destinationType(entry.target),destination_path:internalDestinationPath(entry.target)}))})},{threshold:.5})}}function setupGuideEngagement(){if(rebuyPageSurface()==="guide"&&(guideAction({guide_id:currentGuideId(),action:"guide_view",feature:"guide_engagement",page_type:"guide"}),setupGuideVisibility(),window.addEventListener)){var progressTimer=null;window.addEventListener("scroll",function(){progressTimer||(progressTimer=window.setTimeout(function(){progressTimer=null,checkGuideProgress()},150))},{passive:!0}),window.setTimeout(checkGuideProgress,0)}}var boundGuideElements=new WeakSet;function publishGuideElement(element){var legacyAction=element.getAttribute("data-guide-event")||"guide_action";guideAction({guide_id:rebuyPageSurface()==="guide"?currentGuideId():legacyAction.split("_").slice(0,3).join("_"),action:legacyAction,legacy_action:legacyAction,feature:"guide_cta",page_type:rebuyPageSurface(),destination_type:destinationType(element),destination_path:internalDestinationPath(element)})}function bindGuideActions(root){var elements=[];root&&root.matches&&root.matches("[data-guide-event]")&&elements.push(root),root&&root.querySelectorAll&&(elements=elements.concat(Array.prototype.slice.call(root.querySelectorAll("[data-guide-event]")))),elements.forEach(function(element){boundGuideElements.has(element)||(boundGuideElements.add(element),guideCtaObserver&&rebuyPageSurface()==="guide"&&guideCtaObserver.observe(element),element.addEventListener("click",function(){publishGuideElement(element)},!0))})}setupRebuyTracking(),setupFacetTracking(),setupNavigationTracking(),setupGuideEngagement(),setupPageNotFoundTracking(),setupWebVitalTracking(),bindGuideActions(document),window.MutationObserver&&new MutationObserver(function(mutations){var rebuyChanged=!1;mutations.forEach(function(mutation){Array.prototype.forEach.call(mutation.addedNodes||[],function(node){bindGuideActions(node),containsRebuyNode(node)&&(rebuyChanged=!0)})}),rebuyChanged&&scheduleRebuyScan()}).observe(document.documentElement,{childList:!0,subtree:!0});var productHandle=currentProductHandle(),productLineage=getState();productHandle&&productLineage.selected_item_id===productHandle&&persistCartLineage(productLineage),window.CAEvidence={schemaVersion:SCHEMA_VERSION,publish:publish,push:push,captureIntent:captureIntent,showRecommendations:showRecommendations,selectRecommendation:selectRecommendation,guideAction:guideAction,supportAction:supportAction,clearLineage:function(){try{window.localStorage.removeItem(STORAGE_KEY)}catch(error){}try{window.sessionStorage.removeItem(STORAGE_KEY)}catch(error){}}},document.documentElement.setAttribute("data-ca-evidence",SCHEMA_VERSION),document.documentElement.setAttribute("data-ca-experience-id",EXPERIENCE_ID),document.documentElement.setAttribute("data-ca-experience-variant",EXPERIENCE_VARIANT),document.documentElement.setAttribute("data-ca-evidence-interactions","filters-navigation-guides"),pending.forEach(push)})(),(function(){"use strict";if(!window.__caSpecificationsTrackingV1){window.__caSpecificationsTrackingV1=!0;var pending=new WeakMap;document.addEventListener("click",function(event){if(!(!event.isTrusted||!event.target||!event.target.closest)){var summary=event.target.closest("summary"),details=summary&&summary.parentElement;!details||details.tagName!=="DETAILS"||!details.querySelector(".product-spec")||pending.set(details,{open:!details.open,at:Date.now()})}},!0),document.addEventListener("toggle",function(event){var details=event.target,intent=details&&pending.get(details);intent&&(pending.delete(details),!(Date.now()-intent.at>2e3||details.open!==intent.open)&&(!window.CAEvidence||typeof window.CAEvidence.guideAction!="function"||window.CAEvidence.guideAction({guide_id:"product_specifications",feature:"product_specifications",action:details.open?"specifications_opened":"specifications_closed",page_type:"product"})))},!0)}})(); 2//# sourceMappingURL=/cdn/shop/t/208/assets/ca-evidence.js.map?v=96452046274379086701790579320
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.