PageSourceSearch

https://www.toyota.com/etc.clientlibs/tcom/clientlibs/clientlib-fu…eed.min.8db138ab961dcddee3e4e090307f8f9e.js

js toyota.com collected 2026-10-01 08:18:26 UTC 10,482 bytes, 2 lines download raw bytes

1!function(){"use strict";var e,t,n={42817:function(e,t){window.TCOM_COMPONENT_LIST_CACHE||(window.TCOM_COMPONENT_LIST_CACHE=[]),window.TCOM_MUTATION_LIST_CACHE||(window.TCOM_MUTATION_LIST_CACHE=[]),window.TCOM_MUTATION_TOINIT||(window.TCOM_MUTATION_TOINIT=[]),window.TCOM_ENTRYPOINT_MUTATION_OBSERVER||(window.TCOM_ENTRYPOINT_MUTATION_OBSERVER=null),window.TCOM_ENTRYPOINT_MUTATION_OBSERVER_PROCESS||(window.TCOM_ENTRYPOINT_MUTATION_OBSERVER_PROCESS=null),window.TCOM_BIND_TIMEOUT||(window.TCOM_BIND_TO=null);function n(e,t){[...document.querySelectorAll(t)].forEach(n=>{const{autobind:o,bound:i}=n.dataset||{};if("false"!==o&&"true"!==i&&!n.closest('[data-prevent_entrypoint_init="true"]'))try{const o=function(e){const t=e.dataset;return Object.keys(t).filter(function(e){return e.split("cfg").length>1}).reduce(function(e,n){try{return e[n.split("cfg")[1].replace(/^([A-Z])/g,(e,t)=>t.toLowerCase())]=t[n],e}catch(e){return null}},{})}(n);new e({el:n,...o}),n.setAttribute("data-bound","true"),console.log("EntryPoint.initComponents: component bound",e.name||"",t)}catch(n){console.error("EntryPoint.initComponents: error binding component",e.name||"",t,n)}})}function o(){window.TCOM_BIND_TIMEOUT=!1,window.TCOM_COMPONENT_LIST_CACHE.forEach(({constructor:e,selector:t})=>{window.TCOM_MUTATION_TOINIT.indexOf(t)>-1&&n(e,t)}),window.TCOM_MUTATION_TOINIT.length=0}function i(e){window.TCOM_MUTATION_TOINIT.push(e),window.TCOM_BIND_TIMEOUT&&clearTimeout(window.TCOM_BIND_TIMEOUT),window.TCOM_BIND_TIMEOUT=setTimeout(o,340)}function r(){for(const e of window.TCOM_MUTATION_LIST_CACHE)if(e?.addedNodes?.length)for(const t of e.addedNodes)if(window.TCOM_COMPONENT_LIST_CACHE?.length)for(const n of window.TCOM_COMPONENT_LIST_CACHE){const{selector:o}=n;if(window.TCOM_MUTATION_TOINIT.indexOf(o)>-1)continue;const r="function"==typeof t.querySelectorAll?t.querySelectorAll(o):null,s="function"==typeof t.matches&&t.matches(o);(r?.length||e.target.matches(o)||s)&&i(o)}window.TCOM_MUTATION_LIST_CACHE.length=0}function s(){window.TCOM_ENTRYPOINT_MUTATION_OBSERVER||(window.TCOM_ENTRYPOINT_MUTATION_OBSERVER=new MutationObserver(e=>{e?.length&&(window.TCOM_MUTATION_LIST_CACHE=[...window.window.TCOM_MUTATION_LIST_CACHE,...e],window.TCOM_ENTRYPOINT_MUTATION_OBSERVER_PROCESS&&window.cancelAnimationFrame(window.TCOM_ENTRYPOINT_MUTATION_OBSERVER_PROCESS),window.TCOM_ENTRYPOINT_MUTATION_OBSERVER_PROCESS=window.requestAnimationFrame(r))}),window.TCOM_ENTRYPOINT_MUTATION_OBSERVER.observe(document.documentElement,{subtree:!0,childList:!0}))}t.A=function(e,t){if(!e||!t)return;!function(e,t){window.TCOM_COMPONENT_LIST_CACHE.some(e=>e.selector===t)||window.TCOM_COMPONENT_LIST_CACHE.push({constructor:e,selector:t})}(e,t),n(e,t),document.querySelector(".xf-modal .modal-content")&&n(e,`.xf-modal ${t}`),document.addEventListener("DOMContentLoaded",s)}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,i),r.exports}i.m=n,i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce(function(t,n){return i.f[n](e,t),t},[]))},i.u=function(e){return"clientlib-site/resources/js/"+(63594===e?"youtube-modal/js/youtube-modal":e)+"."+{38114:"54b8df928952d2499de7",63594:"eeabde6cfcb4c17b75a8"}[e]+".js"},i.miniCssF=function(e){return"clientlib-site/resources/css/youtube-modal/js/youtube-modal.4411bdb968f2347d302e.css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="aem-maven-archetype:",i.l=function(n,o,r,s){if(e[n])e[n].push(o);else{var a,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+r){a=u;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",i.nc&&a.setAttribute("nonce",i.nc),a.setAttribute("data-webpack",t+r),a.src=n),e[n]=[o];var T=function(t,o){a.onerror=a.onload=null,clearTimeout(f);var i=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEac
1h(function(e){return e(o)}),t)return t(o)},f=setTimeout(T.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=T.bind(null,a.onerror),a.onload=T.bind(null,a.onload),l&&document.head.appendChild(a)}},i.dn=function(e){var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})},i.p="/etc.clientlibs/tcom/clientlibs/",function(){if("undefined"!=typeof document){var e=function(e){return new Promise(function(t,n){var o=i.miniCssF(e),r=i.p+o;if(function(e,t){for(var n=document.getElementsByTagName("link"),o=0;o<n.length;o++){var i=(s=n[o]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===e||i===t))return s}var r=document.getElementsByTagName("style");for(o=0;o<r.length;o++){var s;if((i=(s=r[o]).getAttribute("data-href"))===e||i===t)return s}}(o,r))return t();!function(e,t,n,o,r){var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",i.nc&&(s.nonce=i.nc),s.onerror=s.onload=function(n){if(s.onerror=s.onload=null,"load"===n.type)o();else{var i=n&&n.type,a=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+i+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=a,s.parentNode&&s.parentNode.removeChild(s),r(l)}},s.href=t,n?n.parentNode.insertBefore(s,n.nextSibling):document.head.appendChild(s)}(e,r,null,t,n)})},t={13972:0};i.f.miniCss=function(n,o){t[n]?o.push(t[n]):0!==t[n]&&{63594:1}[n]&&o.push(t[n]=e(n).then(function(){t[n]=0},function(e){throw delete t[n],e}))}}}(),function(){var e={13972:0};i.f.j=function(t,n){var o=i.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var r=new Promise(function(n,i){o=e[t]=[n,i]});n.push(o[2]=r);var s=new Error;i.l(i.p+i.u(t),function(n){if(i.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+a+")",s.name="ChunkLoadError",s.type=r,s.request=a,s.event=n,o[1](s)}},"chunk-"+t,t)}};var t=function(t,n){var o,r,s=n[0],a=n[1],l=n[2],c=0;if(s.some(function(t){return 0!==e[t]})){for(o in a)i.o(a,o)&&(i.m[o]=a[o]);if(l)l(i)}for(t&&t(n);c<s.length;c++)r=s[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0},n=self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var r=i(42817);new r.A(class{constructor({el:e}){this.el=e,this.moreInfoBtn=this.el.querySelector(".info-button"),this.video=this.el.querySelector("video"),this.videoControl=this.el.querySelector(".video-control"),this.videoConfig={},this.initVideo(),this.initYTModal(),void 0!==this.moreInfoBtn&&null!==this.moreInfoBtn&&["click","keypress"].forEach(e=>{this.moreInfoBtn.addEventListener(e,e=>this.openCutlineOverlay(e))})}async openCutlineOverlay(e){"keypress"==e.type&&e.preventDefault();const t=await tcom_v2.getCutline();let n="keypress"==e.type&&13==e.keyCode;("click"==e.type||n)&&new t({parent:document.body,cutline:this.el.querySelector(".cutline-disclaimer").innerHTML,contentSection:this.el.querySelector(".hero-container").getAttribute("data-aa-content-section"),contentSubsection:this.el.querySelector(".hero-container").getAttribute("data-aa-content-subsection"),contextData:this.el.querySelector(".hero-container").getAttribute("data-aa-context-data"),isEnterPressEvent:n,lastFocusEl:e.target,fullscreen:!0,theme:e.target.dataset.cutlineTheme})}initYTModal(){const e=this.el.querySelector(".youtube-button");e&&e.addEventListener("click",()=>async function({title:e,ytid:t,useDefaultAnalytics:n,contentSection:o,contentSubSection:r,contextData:s,analyticsParent:a,autoplay:l,isMuted:c,playlistid:d}){Promise.all([i.e(38114),i.e(63594)]).then(i.bind(i,54257)).then(async i=>new(0,i.default)({modal:new(await window.tcom_v2.getModal())({theme:"video",fullscreen:!0,destroyOnHide:!0,title:e,isYtvideoEnabled:!0,analyticsParent:a}).render(),socialApps:["facebook","twitter"],ytid:t,title:e,useDefaultAnalytics:n,contentSection:o,contentSubSection:r,contextData:s,autoplay:l,isMuted:c,playlistid:d,analyticsParent:a}))}({title:e.dataset.youtubeModalTitle,ytid:e.dataset.youtubeId,useDefaultAnalytics:!1,contentSection:""}))}initVideo(){this.video&&(this.videoConfig.pauseClicked=!1,this.videoConfig.pauseScrollPos=0,this.initVideoControl(),this.updateVideoSrcSet(),this.videoConfig.pauseScrollPos=this.video.offsetHeight/2,window.addEventListener("resize",tcom_v2.util.debounce(()=>{this.updateVideoSrcSet()},!1)))}initVideoControl(){this.videoControl&&(this.videoControl.setAttribute("aria-label","pause"),[].slice.call(this.el.querySelectorAll("button")).forEac
1h((e,t)=>{e.addEventListener("click",async e=>{e.target.classList.contains("button-pause")?(this.pauseVideo(e.target),this.videoConfig.pauseClicked=!0):e.target.classList.contains("video-control")&&this.playVideo(e.target)})}))}controlVideoOnScroll(){let e=window.pageYOffset||document.documentElement.scrollTop;this.videoConfig.pauseScrollPos<e&&this.pauseVideo(),!this.videoConfig.pauseClicked&&this.videoConfig.pauseScrollPos>e&&this.playVideo()}pauseVideo(){this.videoConfig.paused||(this.video.pause(),this.videoControl.setAttribute("aria-label","play"),this.videoControl.classList.remove("button-pause"),this.videoControl.classList.add("button-play"),this.videoConfig.paused=!0,this.videoConfig.playing=!1)}playVideo(){this.videoConfig.playing||(this.video.play(),this.videoControl.setAttribute("aria-label","pause"),this.videoControl.classList.remove("button-play"),this.videoControl.classList.add("button-pause"),this.videoConfig.playing=!0,this.videoConfig.paused=!1)}updateVideoSrcSet(){let e={desktopLg:"videoSrcLgDesktop",desktop:"videoSrcDesktop",tablet:"videoSrcTablet",phone:"videoSrcMobile"},t=this.getCurrentQuery();e[t]&&this.currentVideoSource!=e[t]&&(this.currentVideoSource=e[t],this.video.querySelector("source").src=this.video.dataset[this.currentVideoSource],this.video.load()),this.videoConfig.paused&&this.video.pause()}getCurrentQuery(){let e=window.innerWidth;return e<=767?"phone":e>=768&&e<=1439?"tablet":e>=1440&&e<=1919?"desktop":e>=1920?"desktopLg":void 0}},".full-bleed")}();
2//# sourceMappingURL=fullbleed.js.map

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.