PageSourceSearch

https://www.alfaromeocz.com/etc.clientlibs/stellantis-d2-core/clie…/core/components/CpsCanvasPromo.js

js alfaromeocz.com collected 2026-10-01 00:20:55 UTC 1,705 bytes, 2 lines download raw bytes

1/*! stellantis_d2_core 1.44.4 202605050651 */
2"use strict";(self.webpackChunkstellantis_d2_core=self.webpackChunkstellantis_d2_core||[]).push([["CpsCanvasPromo"],{7445:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var r=n(2446);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}var l=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t?(this.component=t,this.eventHandler()):console.error("CpsCanvasPromo: component element is required")},t=[{key:"eventHandler",value:function(){var e=this,t=this.component.querySelector(".subtitle");t&&(t.addEventListener("click",function(t){e.handleClick(t)}),t.addEventListener("keydown",function(t){"Enter"===t.key&&e.handleClick(t)}))}},{key:"handleClick",value:function(e){if(null!=e&&e.target){var t=e.target;(t.matches(".info-promo")||t.matches(".info-det-promo"))&&(e.preventDefault(),(0,r.jC)(t,".new-canvas-promo"))}}}],t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()}}]);

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.