PageSourceSearch

https://www.chiccousa.com/on/demandware.static/Sites-Chicco-Site/-/default/v1790843214284/js/attentive.js

js chiccousa.com collected 2026-10-02 06:31:49 UTC 5,389 bytes, 1 lines download raw bytes

1!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){"function"==typeof t?t():"object"===i(t)&&Object.keys(t).forEach((function(e){"function"==typeof t[e]&&t[e]()}))}},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports={getViewData:function(t,e){return $.ajax({dataType:"json",type:"GET",data:e,url:t})},getAttentiveActionURL:function(){return window.Attentive_Urls?window.Attentive_Urls.attentiveMobileGetViewData:""},tagProductView:function(t){t&&t.done((function(t){var e;if(t&&t.success)try{e=window.setInterval((function(){window.attentive&&window.attentive.analytics&&(window.attentive.analytics.productView(t.viewData),window.clearInterval(e),console.log("Attentive Mobile Product View posted:"))}),300)}catch(t){"undefined"===!i(e)&&window.clearInterval(e),console.error("Attentive Mobile product view posted:".concat(t.message))}})).fail((function(t){}))},tagCartView:function(t){t&&t.done((function(t){var e;if(t&&t.success)try{e=window.setInterval((function(){window.attentive&&window.attentive.analytics&&(window.attentive.analytics.addToCart(t.viewData),window.clearInterval(e),console.log("Attentive Mobile add to cart view posted"))}),300)}catch(t){"undefined"===!i(e)&&window.clearInterval(e),console.error("Attentive Mobile Product View:".concat(t.message))}})).fail((function(t){}))},tagPurchaseView:function(t){t&&t.done((function(t){var e;if(t&&t.success)try{e=window.setInterval((function(){window.attentive&&window.attentive.analytics&&(window.attentive.analytics.purchase(t.viewData),window.clearInterval(e),console.log("Attentive Mobile purchase view posted"))}),300)}catch(t){"undefined"===!i(e)&&window.clearInterval(e),console.error("Attentive Mobile Purchase View:".concat(t.message))}})).fail((function(t){}))}}},function(t,e,n){"use strict";var i=n(0);window.Attentive_SitePreferences&&window.Attentive_SitePreferences.ATTENTIVE_MOBILE_IS_ENABLED&&$(document).ready((function(){i(n(3)),i(n(4))}))},function(t,e,n){"use strict";var i=n(1);t.exports={init:function(){$(window).on("load",(function(){var t=document.querySelector("[data-attentive-mobile]");if(window.Attentive_SitePreferences&&window.Attentive_SitePreferences.ATTENTIVE_PRODUCT_EVENT_ENABLED){if(t){var e=t.getAttribute("data-pid"),n=i.getViewData(i.getAttentiveActionURL(),{productId:e,viewType:"PRODUCT"});i.tagProductView(n)}}else console.log("Product View Event Disabled")})),$("body").on("product:afterAttributeSelect",(function(t,e){if(window.Attentive_SitePreferences&&window.Attentive_SitePreferences.ATTENTIVE_PRODUCT_EVENT_ENABLED){var n=i.getViewData(i.getAttentiveActionURL(),{productId:e.data.product.id,viewType:"PRODUCT"});i.tagProductView(n)}else console.log("Product View Event Disabled")})),$(document).on("change",'select[class*="select-"]',(function(t){if(t.preventDefault(),window.Attentive_SitePreferences&&window.Attentive_SitePreferences.ATTENTIVE_PRODUCT_EVENT_ENABLED){var e=t.currentTarget.options;if(e){var n=e[e.selectedIndex],o=i.getViewData(n.getAttribute("data-attentiveGetViewDataURL"),{viewType:"PRODUCT"});i.tagProductView(o)}}else console.log("Product View Event Disabled")})),$("body").on("quickview:ready",(function(t){if(window.Attentive_SitePreferences&&window.Attentive_SitePreferences.ATTENTIVE_PRODUCT_EVENT_ENABLED){var e=$
1(t.target).find(".product-quickview.product-detail, .product-quickview.product-set");if(e){var n=e.data("pid"),o=i.getViewData(i.getAttentiveActionURL(),{productId:n,viewType:"PRODUCT"});i.tagProductView(o)}}else console.log("Product View Event Disabled")}))}}},function(t,e,n){"use strict";var i=n(1);t.exports={init:function(){$("body").on("product:afterAddToCart",(function(t,e){if(window.Attentive_SitePreferences&&window.Attentive_SitePreferences.ATTENTIVE_CART_EVENT_ENABLED){var n=e?e.lastAddedItem:{};if(n.pid&&n.quantity){var o=window.Attentive_Urls?window.Attentive_Urls.attentiveMobileGetViewData:"";if(o){var r=i.getViewData(o,{productId:n.pid,quantity:n.quantity,viewType:"CART"});i.tagCartView(r)}}}else console.log("Add to Cart View Event Disabled")}))}}}]);

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.