PageSourceSearch

https://www.toyota.com/etc.clientlibs/tcom/clientlibs/clientlib-si…/resources/js/75833.5722199da9bc0918961b.js

js toyota.com collected 2026-09-24 07:52:11 UTC 5,262 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[75833],{75833:function(e,t,n){function i(e){let t,i,a=window.scrollY||window.pageYOffset,r=n.g.tcom_v2.util.getCurrentQuery(),o=Array.prototype.slice.call(e.querySelectorAll('a[href], button, textarea, input:not([type="hidden"]), select, sup[data-disclaimer], li.is-active'));if(e.classList.contains("theme-light-zip")?"tablet"!==r&&"desktop"!==r||o.splice(o.length-1,1):e.classList.contains("modal")||e.classList.contains("refresh-modal")||e.classList.contains("fullscreen-carousel-wrapper")||e.classList.contains("cutline")?(e.focus(),window.scrollTo(0,a),"accessories"===document.body.dataset.appName?o.splice(o.length-1,1):"interiortoursresponsive"===document.body.dataset.appName?o.splice(o.length-3,3):"gallery"===document.body.dataset.appname&&o.splice(0,1)):e.classList.contains("tcom-nav-zip-flyout")&&("tablet"!==r&&"desktop"!==r||o.splice(o.length-1,1)),document.body.classList.contains("page-build")&&e.classList.contains("efccompare")){let n=document.querySelectorAll(".compare-set-title[data-handle-index]:not(.placeholder)").length-1,a=document.querySelector(`.compare-set-title[data-handle-index="${n}"]:not(.placeholder)`);if(event.target.parentNode.classList.contains("model-dropdown-element"))if(event.keyCode===KEYCODE_ARROW_DOWN){if(!event.target.nextElementSibling)return;event.target.nextElementSibling.focus()}else if(event.keyCode===KEYCODE_ARROW_UP){if(!event.target.previousElementSibling)return;event.target.previousElementSibling.focus()}let r=o=Array.prototype.slice.call(e.querySelectorAll('button, div[tabindex="0"]')),s=[...[...document.querySelectorAll(".column-head")].map(e=>l(e))].map(e=>e&&e.querySelectorAll("a[href]")),c=[...document.querySelectorAll("select")].map(e=>l(e)),d=[...document.querySelectorAll('sup[tabindex="0"]')].map(e=>l(e));if(r=[...r,...s,...c,...d],t=r[1],a.parentNode.classList.contains("open")){let e=a.querySelector("sup:last"),t=e.length;i=t>0?e:a}else i=a}else t=o[0],i=o[o.length-1];e.addEventListener("keydown",n=>{("Tab"===n.key||9===n.keyCode)&&(i.classList.contains("tfresh-btn-disabled")&&!document.querySelector(".tcom-request-a-quote").classList.contains("is-submitted")&&"none"===window.getComputedStyle(i).display?(o=Array.prototype.slice.call(e.querySelectorAll('a[href], button, textarea, input:not([type="hidden"]), select, sup[data-disclaimer]')),i=o[o.length-2]):i.classList.contains("raq-confirmation-inventory-cta")&&(o=Array.prototype.slice.call(e.querySelectorAll('a[href], button, textarea, input:not([type="hidden"]), select, sup[data-disclaimer]')),i=o[o.length-1]),n.shiftKey?document.activeElement===t&&(i.focus(),n.preventDefault()):document.activeElement===i&&(t.focus(),n.preventDefault()))})}function l(e){let t=window.getComputedStyle(e);return"0"!==t.width&&"0"!==t.height&&"0"!==t.opacity&&"none"!==t.display&&"hidden"!==t.visibility&&e}function a(e,t){if(e.$el&&e.$el.length>0&&(e=e.$el[0]),void 0!==e)for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.setAttribute(n,i)}}function r(e,t){if(e.$el&&e.$el.length>0&&(e=e.$el[0]),void 0!==e)for(let n=0;n<t.length;n++)null!==e.getAttribute(t[n])&&e.removeAttribute(t[n])}function o(e){a(e,{"aria-hidden":"true",tabindex:"-1"})}function s(e){a(e,{"aria-hidden":"false",tabindex:"0"})}function c(e,t){a(e,{tabindex:t})}function d(e){let t=e?.querySelectorAll('[role="tablist"]')[0],n=e?.querySelectorAll('[role="tab"]'),i=e?.querySelectorAll('[role="tabpanel"]'),l=35,a=36,r=37,o=38,s=39,c=40,d={37:-1,38:-1,39:1,40:1};if(n?.length){let e=e=>{switch(e.keyCode){case l:e.preventDefault(),m(n[n.length-1]);break;case a:e.preventDefault(),m(n[0]);break;case o:case c:v(e)}},u=e=>{switch(e.keyCode){case r:case s:v(e)}},p=e=>{var t=e.currentTarget;m(t,!1)},f=t=>{n[t].addEventListener("click",p),n[t].addEventListener("keydown",e),n[t].addEventListener("keyup",u),n[t].index=t};for(let e=0;e<n.length;++e)f(e);let m=(e,t=!0)=>{h(),e.setAttribute("tabindex","0"),e.setAttribute("aria-selected","true");var n=e.getAttribute("aria-controls");document.getElementById(n).removeAttribute("hidden"),t&&(e.click(),e.focus())},h=()=>{for(let e=0;e<n.length;e++)n[e].setAttribute("tabindex","-1"),n[e].setAttribute("aria-selected","false"),n[e].removeEventListener("focus",y);for(let e=0;e<i.length;e++)i[e].setAttribute("hidden","hidden")},y=e=>{var t=e.target;setTimeout(b,300,t)},b=e=>{e===document.activeElement&&m(e)},v=e=>{var n=e.keyCode,i=!0;"vertical"==t.getAttribute("aria-orientation")?n!=o&&n!=c||(e.preventDefault(),i=!0):i=n==r||n==s,i&&g(e)},g=e=>{var t=e.keyCode;for(let e=0;e<n.length;e++)n[e].addEventListener("focus",y);if(d[t]){var i=e.target,l=i.parentElement;if(void 0!==i.index||void 0!==l.index){let e=void 0===i.index?l:i;n[e.index+d[t]]?n[e.index+d[t]].focus():t===r||t===o?k():t!==s&&t!==c||A()}}},A=()=>{n[0].click(),n[0].focus()},k=()=>{n[n.length-1].click(),n[n.length-1].focus()}}}n.r(t),n.d(t,{addKeyBoardTrap:function(){return i},hide:function(){return o},removeAttributes:function(){return r},setAttributes:function(){return a},show:function(){return s},tabWithAutomaticAutomation:function(){return d},tabindexUpdate:function(){return c}})}}]);
2//# sourceMappingURL=75833.5722199da9bc0918961b.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.