PageSourceSearch

https://cortefiel.com/on/demandware.static/Sites-CTF-Site/-/es_ES/v1790831465912/js/adobeEvents.js

js cortefiel.com collected 2026-10-01 14:36:03 UTC 18,771 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e,t,n={954:(e,t,n)=>{n.r(t),n.d(t,{Levels:()=>o,Terror:()=>l});let o={DEBUG:0,INFO:1,WARNING:2,ERROR:3,CRITICAL:4,ARMAGEDDON:5},l=(e,t)=>{}}},o={};function l(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return n[e](a,a.exports,l),a.exports}l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};let a=Object.freeze({MINICART:{OPEN:"cartOpen",UPDATE:"updateMinicart",CLOSE:"cartClose",COUNTER:"updateMinicartCounter",RECOMMENDATIONS_LOADED:"minicartRecommendationsLoaded",DELETE_ITEM:"deleteMinicartItem",UPDATE_ADD_TO_CART_EVENTS:"updateAddToCartEvents",POST_ADD_TO_CART:"postAddToCart",MINICART_UPDATED:"minicartUpdated"},MOBILE_MENU:{LOAD:"loadTendamMobileMenu",INIT:"initTendamMenu"},MODAL:{OPEN:"openWebNotificationModal",UPDATE:"updateWebNotificationModal",CLOSE:"closeWebNotificationModal",ON_CLOSE:"onCloseWebNotificationModal",UPDATED:"modalUpdated",SCRIPT_LOADED:"modalScriptLoaded",APP_OPEN:"appModalOpen",APP_UPDATE:"appModalUpdate",APP_CLOSE:"appCloseUpdate"},HEADER:{CLICKSHOPPING:"setClickshoppingMenu"},LOGIN_MODAL:{ON_DONE:"loginModalDone",UPDATE_HEADER:"updateHeaderAfterLogin",BACK_STEP:"loginBackStep",APP_ON_DONE:"appLoginModalDone",APP_CLOSE:"appLoginModalClose"},PLP:{INIT_TILE_EFFECTS:"initTileEffects",CHANGED_COLOR:"changedColor",UPDATE_GRID:"updateGrid",SHOW_SIZES:"ShowSizesPLP",RESTORE_FILTERS:"restoreFilters",UPDATE_FILTERS:"updateFilters",COUNT_UPDATED:"productC
1ountUpdated",UPDATE_APPLICABLE_VALUES:"UpdateApplicableValues"},PDP:{COLOR_UPDATED:"productColorUpdated",SIZE_UPDATED:"productSizeUpdated",NEW_SIZES:"newSizes",SIZE_SELECTOR_UPDATED:"sizeSelectorUpdated",UPDATE_SIZE_GUIDE_STYLES:"updateSizeGuideButtonStyles",INTERACTIVE_SIZE_GUIDE:"showInteractiveSizeGuide",RECOMMENDATIONS_LOADED:"pdpRecommendationsLoaded"},PRODUCT_TILE:{COLOR_UPDATED:"productTileColorUpdated",LOADED:"tileLoaded"},PRODUCT_SET:{SIZE_UPDATED:"productSetSizeUpdated",RECOMMENDATIONS_LOADED:"productSetRecommendationsLoaded"},WISHLISTDATA:{UPDATED:"wishlistDataUpdated",REMOVE:"removeWishlistData"},ATOM:{CLONED:"cloned"},EDITORIAL:{SHOP_CLONED:"shopCloned"},VALIDATION:{VALIDATE:"validateTscInput"},MY_ACCOUNT:{ADDRESS_ADDED:"addedNewAddress"},GTM:{EC_STEP:"gtmECStep"},DEVICE:{TYPE_CHANGED:"deviceTypeChanged",ROTATION_CHANGED:"deviceRotationChanged"},CHECKOUT:{AJAX_POST:"ajaxPost",AJAX_GET:"ajaxGet",CHOOSE_PAYMENT_METHOD:"choosePaymentMethod",HIDE_ELEMENT:"hideElement"},MIXANDMATCH:{MODAL_LOADED:"mixAndMatchModalLoaded"},SHOPPER_AGENT:{CHAT_MAXIMIZED:"onEmbeddedMessagingWindowMaximized",CHAT_MINIMIZED:"onEmbeddedMessagingWindowMinimized",CHAT_CLOSED:"onEmbeddedMessagingWindowClosed",CONVERSATION_CLOSED:"onEmbeddedMessagingConversationClosed",MESSAGE_SENT:"onEmbeddedMessageSent"},CHECKOUT_NAVIGATION:{COMPONENT_PAYMENT_START:"componentPaymentStart",COMPONENT_PAYMENT_ERROR:"componentPaymentError",CHECKOUT_SUBMIT:"onCheckoutSubmit",ORDER_COMPLETED:"onOrderCompleted"}});l(954);let d=Object.values(a).reduce((e,t)=>e.concat(Object.values(t)),[]),i={events:a};document.querySelector(".pdpSpa"),document.title,null==(t=document.querySelector("body"))||null==(e=t.style)||e.overflow;let s="spaPlpReferrer";(()=>{let e=navigator.userAgent;return/android/i.test(e)||/iPad|iPhone|iPod/.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints})();let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";""!==e?sessionStorage.setItem(s,e):sessionStorage.removeItem(s)},u="DLpaginaDL",c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!window._satellite&&"function"==typeof window._satellite.track&&(window._satellite.track(e,t),!0)};function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=window.sitePreferences.tndmDataLayerConfigRouter,o=window.sitePreferences.tndmDataLayerConfig;var l={pendingEvents:[],launchGlobalEvents:!0};return n&&o&&("global"===e?n[e].forEach(function(e){p(o[e])}):document.querySelector(e)&&(!t&&window.sitePreferences&&window.sitePreferences.tndmDataLayerConfigRouter&&(t=window.sitePreferences.tndmDataLayerConfigRouter[e]),!1===t.global&&(l.launchGlobalEvents=!1),t.events.forEach(function(t){let n=p(o[t],e);null!==n&&l.pendingEvents.push(n)}))),l}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e&&e.eventType){var n,o,l=null;switch(e.eventType){case"pageLoad":l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.pageName,l=null;return o&&(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];window.digitalData&&window.digitalData.page&&(t||window.digitalData.page.page_name.includes(u))&&(window.digitalData.page.page_name=window.digitalData.page.page_name.replace(u,e),e.split(":").forEach(function(e,t){window.digitalData.page["section_s"+(t+1)]=e}))}(o,n),e.eventName&&(c(e.eventName,e.options||{})||(l={name:e.eventName,opts:e.options||{}}))),v(e,null,t),l}(e,t);break;case"click":e.triggerSelector&&e.eventName&&(n=e.triggerSelector,o=E.bind(null,e),document.querySelector("body").addEventListener("click",function(e){let t=e.target.closest(n);t&&o(n,t)},!1))}return l}}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e&&e.classDL&&(null===t&&(n?t=document.querySelector(n):e.triggerSelector&&(t=document.querySelector(e.triggerSelector))),t&&t.setAttribute("data-dl-class",e.classDL))}function E(e,t,n){if(e&&e.eventName){let t=function(){if(window.crypto&&window.crypto.randomUUID)return"dl_evt_"+window.crypto.randomUUID();let e=Date.now();
1return"dl_evt_"+"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let n=(e+16*Math.random())%16|0;return("x"===t?n:3&n|8).toString(16)})}();n.setAttribute("data-dl-event-id",t);let o=e.options||{};o.triggerElement=t,c(e.eventName,o),v(e,n)}}let g=e=>{Promise.resolve().then(l.bind(l,954)).then(t=>{t.Terror(e,t.Levels.ERROR)})},D=".js-modalWebNotifications",L=".js-modalWebNotifications-wrap",S=".js-modalWebNotifications-overlay",O=".js-modalWebNotifications-dialog",T=".js-modalWebNotifications-dialog-close",A=".js-modalWebNotifications-dialog-actions-button",f="#modalWebNotifications_tplElements",C="isModalOpen",b="isModalVisible",y="isModalOverlay",_="isModalOverlayTransition",h=i.events.MODAL.OPEN,I=(i.events.MODAL.UPDATE,i.events.MODAL.CLOSE);i.events.MODAL.UPDATED,i.events.MODAL.SCRIPT_LOADED,i.events.MODAL.OPEN,i.events.MODAL.APP_CLOSE,i.events.MODAL.APP_UPDATE;let N={modalId:null,modalClass:null,modalTitle:null,modalSubtitle:null,modalContent:null,modalURL:null,modalCloseTimeout:null,fade:null,modalActions:null,modalTypeHidden:!1},M="link",P="button",w="close",U={primary:"tsc-btn tsc-btn-w-fluid tsc-btn-solid-dark",secondary:"tsc-btn tsc-btn-w-fluid tsc-btn-outline-dark",tertiary:"tsc-link",disabled:"tsc-btn-disabled",loading:"tsc-btn-loading-dark",success:"tsc-btn-success"},R=[M,P,w],x={},q={},B=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];q["modal_loading_data_"+e]=t},H=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!0===q["modal_loading_data_"+e]},k=e=>{try{let t=document.querySelector(D);(null==e?void 0:e.isConfirmationModal)===!0&&(null==e?void 0:e.previousConfig)!==null&&(null==e?void 0:e.previousConfig)!==void 0?eventBus.dispatch(eventBus.events.MODAL.UPDATE,{bubbles:!0,detail:{modal:null==e?void 0:e.previousConfig}},t):(null==e?void 0:e.closeConfirmation)!==null&&(null==e?void 0:e.closeConfirmation)!==void 0?W(e):eventBus.dispatch(eventBus.events.MODAL.CLOSE,{bubbles:!0,detail:{modal:e}},t)}catch(e){g(e)}},W=e=>{let t=()=>{j(document.querySelector(D+" #"+e.modalId))};try{var n,o,l,a;let d=null==e?void 0:e.closeConfirmation,i=document.querySelector(D),s={modalId:e.modalId,modalClass:"confirmation-close",modalTitle:null==d?void 0:d.title,modalContent:null==d?void 0:d.content,fade:!0,modalActions:[{type:"button",buttonStyle:"primary",buttonText:(null==d?void 0:d.confirmationText)||(null==(o=window.resourceData)||null==(n=o.msgs)?void 0:n.MODAL_WEB_NOTIFICATIONS_CONFIRM),buttonAction:t},{type:"close",buttonStyle:"tertiary",buttonText:null==(a=window.resourceData)||null==(l=a.msgs)?void 0:l.MODAL_WEB_NOTIFICATIONS_CANCEL}],onUpdate:()=>{let n=document.querySelector(D+" #"+e.modalId+" "+T);null!==n&&n.addEventListener("click",t)},isConfirmationModal:!0,previousConfig:e};eventBus.dispatch(eventBus.events.MODAL.UPDATE,{bubbles:!0,detail:{modal:s}},i)}catch(e){g(e)}},j=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===e)return;let n=e.querySelector(O),o=e.querySelector(S);if(null===n)return;let l="true"===e.dataset.modalTypeHidden,a=document.querySelectorAll(".js-modalWebNotifications-wrap:has(."+y+") "+O+"."+b);n.classList.remove(b),a.length>1||document.body.classList.remove(y),J(appEventBus.events.MODAL.CLOSE,e.id),setTimeout(()=>{Y(o,!1,()=>{if(e.classList.remove(C),n.close(),!l){null!==e&&(eventBus.remove(eventBus.events.MODAL.OPEN,Z,e),eventBus.remove(eventBus.events.MODAL.UPDATE,Z,e),e.remove());var o=e.id;try{sessionStorage.removeItem("modal_step_data_"+o)}catch(e){g(e)}B(e.id,!1)}let a=document.querySelector(D);null!==a&&!0!==t&&eventBus.dispatch(eventBus.events.MODAL.ON_CLOSE,{bubbles:!0,detail:{modalId:e.id}},a)})},250)},G=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=e.querySelector(L);return new Promise((e,l)=>{o&&t||l(t),o.id=t,"string"==typeof n?o.classList.add(n):"object"==typeof n&&n.forEach(e=>{o.classList.add(e)}),e()})},z=function(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=null==e?void 0:e.querySelector(L),a=null==l?void 0:l.querySelector(S);return new Promise((d,i)=>{if(e&&l&&a&&!o){let e=document.body.classList.contains(y);document.body.classList.toggle(y,t),e&&(a.classList.toggle(_,t),a.classList.toggle(y,t)),null!==n.overlayOnClose&&void 0!==n.overlayOnClose?a.addEventListener("click",e=>{n.overlayOnClose(n)}):a.addEventListener("click",e=>{k(n)}),d()}else i()})},F=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null!==t&&!t.classList.contains(b);return new Promise((t,o)=>{var l,a,d,i,s,r,u;let c,m,p,v,E,S=document.querySelector(D),O=null==S?void 0:S.querySelector("#modalWebNotifications_tplComponent");if(null===O)return void o("Template component not found");null!==e.modalStep&&void 0!==e.modalStep&&((e,t,n)=>{try{let o=sessionStorage.getItem("modal_step_data_"+e);(o=null==o?{}:JSON.parse(o))[`step${t}`]=n,sessionStorage.setItem("modal_step_data_"+e,JSON.stringify(o))}catch(e){g(e)}})(e.modalId,e.modalStep,e);let T=O.content.cloneNode(!0);Promise.allSettled([G(T,e.modalId,e.modalClass),z(T,e.fade,e,n),(l=e.modalId,a=e.modalTitle,d=e.modalSubtitle,i=e.modalStep,s=e.backButton,new Promise((e,t)=>
1{let n=null==T?void 0:T.querySelector("header");T&&n||t(null),n.innerHTML="",n.appendChild(((e,t)=>{let n=document.querySelector(f);if(null===n)return;let o=document.createDocumentFragment(),a=document.createElement("div");a.classList.add("dialogHeaderTitleContainer");let d=!1,r=((e,t)=>{try{let n=sessionStorage.getItem("modal_step_data_"+e);return(n=null==n?{}:JSON.parse(n))[`step${t-1}`]}catch(e){g(e)}})(l,i);if(!0===s&&null!=r){let e=n.content.querySelector(".js-modalWebNotifications-dialog-header-back-button").cloneNode(!0);e.addEventListener("click",e=>{let t=document.querySelector(D);eventBus.dispatch(eventBus.events.MODAL.UPDATE,{bubbles:!0,detail:{modal:r}},t)}),a.appendChild(e),d=!0}if(null!=e){let t=n.content.querySelector(".js-modalWebNotifications-dialog-header-title").cloneNode(!0);t.innerHTML=e,a.appendChild(t),d=!0}if(!0===d&&o.appendChild(a),null!=t){let e=n.content.querySelector(".js-modalWebNotifications-dialog-header-subtitle").cloneNode(!0);e.innerHTML=t,o.appendChild(e)}return o})(a,d)),e()})),(r=e.modalContent,m=!(c=null!=(u=e.modalURL))&&null!=r,new Promise((e,t)=>{let n=null==T?void 0:T.querySelector(".js-modalWebNotifications-dialog-content");T&&n||e(),new Promise((e,t)=>{c&&fetch(u).then(e=>(e.ok||(g(e),t()),e.text())).then(t=>{e(t)}).catch(e=>{g(e),t()}),m&&e(r),m||c||t(null)}).then(t=>{n.innerHTML=null==t?"":t;var o=n.querySelectorAll('script[type="modal"], script[type="modalmodule"]'),l=document.head;o.forEach(e=>{try{let t=document.createElement("script");e.text?t.text=e.text:t.src=e.src,"modalmodule"===e.type&&(t.type="module"),e.parentNode.removeChild(e),t.addEventListener("load",t=>e),t.addEventListener("error",t=>e),l.appendChild(t)}catch(e){}}),e()}).catch(e=>{g(e),t(e)})})),(p=e.modalActions,new Promise((t,n)=>{let o=null==T?void 0:T.querySelector(".js-modalWebNotifications-dialog-actions"),l=Array.isArray(p)&&0!==p.length?p.map(e=>({buttonClasses:e.buttonClasses?e.buttonClasses:null,type:R.includes(e.type)?e.type:null,buttonStyle:null.includes(e.buttonStyle)?e.buttonStyle:null,buttonSize:"string"==typeof e.buttonSize?e.buttonSize:null,buttonText:null!==e.buttonText?e.buttonText:null,linkUrl:null!==e.linkUrl?e.linkUrl:null,buttonAction:null!==e.buttonAction&&"function"==typeof e.buttonAction?e.buttonAction:null})):null,a=document.querySelector(f),d=document.createDocumentFragment();null!==a&&null!==l&&0!==l.length&&o||n(),l.map((n,i)=>{let s="string"==typeof U[n.buttonStyle]?U[n.buttonStyle].split(" "):[],r="string"==typeof n.buttonSize?"tsc-btn-"+n.buttonSize:"tsc-btn-l";["primary","secondary"].includes(n.buttonStyle)&&s.push(r);try{n.buttonClasses.length>0&&n.buttonClasses.forEach(e=>{s.push(e)})}catch(e){}switch(n.type){case M:let u=a.content.querySelector(".js-modalWebNotifications-dialog-actions-link").cloneNode(!0);u.classList.add(...s),u.innerHTML=n.buttonText,u.href=n.linkUrl,d.appendChild(u);break;case P:let c=a.content.querySelector(A).cloneNode(!0);c.classList.add(...s),c.innerHTML=n.buttonText,null!==n.buttonAction&&c.addEventListener("click",n.buttonAction),d.appendChild(c);break;case w:let m=a.content.querySelector(A).cloneNode(!0);m.classList.add(...s),m.innerHTML=n.buttonText,(null==T?void 0:T.querySelector(L))&&m.addEventListener("click",()=>{k(e),null!==n.buttonAction&&n.buttonAction()}),d.appendChild(m)}l.length===i+1&&(o.innerHTML="",o.appendChild(d),t())})})),(v=e.modalId,E=e.modalCloseTimeout,new Promise((e,t)=>{if(null==E||isNaN(E)||E<=0)t();else{let t=document.querySelector(D);null!==t&&(x[v]=setTimeout(()=>{eventBus.dispatch(eventBus.events.MODAL.CLOSE,{bubbles:!0,detail:{modal:{modalId:v}}},t)},E)),e()}}))]).then(()=>{t(T)}).catch(t=>{g(t),o(t),B(e.modalId,!1)})})},V=(e,t)=>{e.appendChild(t)},Z=(e,t)=>{if(!t||null===e)return;let n={...N,...t},o=((e,t)=>0!==e.length&&Array.from(e).find(e=>e.id===t))(e.querySelectorAll(L),n.modalId),l=!0===n.modalTypeHidden;try{if(o&&l){V(e,o);let t=o.querySelector(O),l=o.querySelector(S);if(null!==t){if(o.classList.add(C),document.body.classList.add(y),null!==l&&Y(l,n.fade),void 0!==n.onOpen&&n.onOpen(t),J(appEventBus.events.MODAL.OPEN,n.modalId),setTimeout(()=>{t.classList.add(b)},250),n.onClose){let t=o=>{var l;(null==o||null==(l=o.detail)?void 0:l.modalId)===n.modalId&&(n.onClose(),eventBus.remove(eventBu
1s.events.MODAL.ON_CLOSE,t,e))};eventBus.listen(eventBus.events.MODAL.ON_CLOSE,t,e)}t.addEventListener("mouseover",()=>{clearTimeout(x[n.modalId])},{once:!0}),t.addEventListener("touchstart",()=>{clearTimeout(x[n.modalId])},{once:!0})}}else{let t=!0===n.disableSteps;if(!H(n.modalId)){if(B(n.modalId,!0),n.onClose){let t=o=>{var l;(null==o||null==(l=o.detail)?void 0:l.modalId)===n.modalId&&(n.onClose(),eventBus.remove(eventBus.events.MODAL.ON_CLOSE,t,e))};eventBus.listen(eventBus.events.MODAL.ON_CLOSE,t,e)}F(n).then(o=>{let l=o.querySelector(L),a=o.querySelector(S);null!==a&&Y(a,n.fade),!0===n.modalTypeHidden&&(l.dataset.modalTypeHidden="true"),t&&(l.dataset.disableSteps="true"),o.querySelectorAll(T).forEach(e=>{e.addEventListener("click",k.bind(null,n))}),V(e,o);let d=l.querySelector(O);null!==d&&(l.classList.add(C),setTimeout(()=>{d.classList.add(b),B(n.modalId,!1),void 0!==n.onOpen&&n.onOpen(d)},250),d.addEventListener("mouseover",()=>{clearTimeout(x[n.modalId])},{once:!0}),d.addEventListener("touchstart",()=>{clearTimeout(x[n.modalId])},{once:!0}),J(appEventBus.events.MODAL.OPEN,n.modalId))}).catch(e=>{g(e)})}}}catch(e){}},Y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};null!==e&&(t?(e.classList.add(y),setTimeout(()=>{e.classList.add(_),n()},100)):(e.classList.remove(_),setTimeout(()=>{e.classList.remove(y),n()},250)))},J=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null!==e&&null!==t)try{appEventBus.dispatch(e,t)}catch(e){}},K=[];document.addEventListener("DOMContentLoaded",function(){let e,t=window.sitePreferences;if(!t||!t.tndmDataLayerConfig||!t.tndmDataLayerConfigRouter)return;let n=t.tndmDataLayerConfigRouter;r();let o=!0;if(Object.keys(n).forEach(function(e){if("global"!==e){let t=n[e],l=m(e,t);l&&!1===l.launchGlobalEvents&&(o=!1),l&&l.pendingEvents.length>0&&(K=K.concat(l.pendingEvents))}}),o&&n.global){let e=m("global");e&&e.pendingEvents.length>0&&(K=K.concat(e.pendingEvents))}(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(window.digitalData&&window.digitalData.navigation&&(e||"DLreferrerDL"===window.digitalData.navigation.ref_pag)){let e=sessionStorage.getItem(s)||document.referrer;e&&(window.digitalData.navigation.ref_pag=e)}})(),c("DigitalDataLoaded")||K.unshift({name:"DigitalDataLoaded",opts:{}}),(e=document.querySelector(".js-modalWebNotifications")).addEventListener(h,e=>{var t,n=null==e||null==(t=e.detail)?void 0:t.modal;if(!(null==n?void 0:n.modalId))return;let o=window.sitePreferences.tndmDataLayerConfigRouter[`#${n.modalId}`];o&&!o.eventsLoaded&&(m(`#${n.modalId}`,o),o.eventsLoaded=!0);let l={page:n.modalId,modalOpened:n.modalId};n.analytics&&(l={...l,...n.analytics}),c("view",l)}),e.addEventListener(I,e=>{var t,n;(null==(n=null==e||null==(t=e.detail)?void 0:t.modal)?void 0:n.modalId)&&c("view",{page:window.digitalData.page.page_name||"unknown",modalClosed:n.modalId})})},!1),document.addEventListener("load",function(){K.forEach(e=>{c(e.name,e.opts)}),K=[]},!1),this.tendamLibtendamdatalayeradobeEvents={}})();

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.