PageSourceSearch

https://www.toyota.com/etc.clientlibs/tcom/clientlibs/cloud/naviga…ter.min.93ac213dc58cb9a184ad3816e8990cce.js

js toyota.com collected 2026-09-24 07:49:27 UTC 43,752 bytes, 90 lines download raw bytes

1import{b as e}from"./clientlib-site/resources/js/api-adapter.cU4L2ucV.js";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_TIMEOUT=null);const t=(e,t)=>{let n=window.TCOM_COMPONENT_LIST_CACHE.some(e=>e.selector===t);n||window.TCOM_COMPONENT_LIST_CACHE.push({constructor:e,selector:t})},n=e=>{let{dataset:t}=e;return Object.keys(t).filter(e=>e.startsWith(`cfg`)).reduce((e,n)=>{try{let r=n.substring(3).charAt(0).toLowerCase()+n.substring(4);return e[r]=t[n],e}catch(e){throw console.error(`Error processing data attribute ${n}:`,e),e}},{})},r=(e,t)=>{let r=[...document.querySelectorAll(t)];r.forEach(r=>{let{autobind:i,bound:a}=r.dataset||{};if(i!==`false`&&a!==`true`&&!r.closest(`[data-prevent_entrypoint_init="true"]`))try{let i=n(r);new e({el:r,...i}),r.setAttribute(`data-bound`,`true`);let a=e?.name||``;console.log(`EntryPoint.initComponents: component bound: ${a} ${t}`)}catch(n){let r=e?.name||``;console.error(`EntryPoint.initComponents: error binding component: ${r} ${t}`,n)}})},i=()=>{window.TCOM_BIND_TIMEOUT=null,window.TCOM_COMPONENT_LIST_CACHE.forEach(({constructor:e,selector:t})=>{window.TCOM_MUTATION_TOINIT.includes(t)&&r(e,t)}),window.TCOM_MUTATION_TOINIT.length=0},a=e=>{window.TCOM_MUTATION_TOINIT.push(e),window.TCOM_BIND_TIMEOUT&&clearTimeout(window.TCOM_BIND_TIMEOUT),window.TCOM_BIND_TIMEOUT=setTimeout(i,340)},o=()=>{let e=window.TCOM_COMPONENT_LIST_CACHE,t=window.TCOM_MUTATION_TOINIT;if(!window.TCOM_MUTATION_LIST_CACHE.length||!e?.length){window.TCOM_MUTATION_LIST_CACHE.length=0;return}for(let n of window.TCOM_MUTATION_LIST_CACHE){if(!n?.addedNodes?.length)continue;for(let r of n.addedNodes){if(!r.nodeType||r.nodeType!==Node.ELEMENT_NODE&&r.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)continue;for(let{selector:i}of e){if(t.includes(i))continue;let e=r.nodeType===Node.ELEMENT_NODE&&r.matches?.(i),o=r.querySelectorAll?.(i)?.length>0,s=n.target?.matches?.(i);(e||o||s)&&a(i)}}}window.TCOM_MUTATION_LIST_CACHE.length=0},s=()=>{window.TCOM_ENTRYPOINT_MUTATION_OBSERVER||(window.TCOM_ENTRYPOINT_MUTATION_OBSERVER=new MutationObserver(e=>{e?.length&&(window.TCOM_MUTATION_LIST_CACHE.push(...e),window.TCOM_ENTRYPOINT_MUTATION_OBSERVER_PROCESS&&cancelAnimationFrame(window.TCOM_ENTRYPOINT_MUTATION_OBSERVER_PROCESS),window.TCOM_ENTRYPOINT_MUTATION_OBSERVER_PROCESS=requestAnimationFrame(o))}),window.TCOM_ENTRYPOINT_MUTATION_OBSERVER.observe(document.documentElement,{subtree:!0,childList:!0}))},c=(e,n)=>{if(!e||!n)return;t(e,n),r(e,n);let i=document.querySelector(`.xf-modal .modal-content`);i&&r(e,`.xf-modal ${n}`),document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,s):s()};var l=c;
2/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
3const{entries:u,setPrototypeOf:d,isFrozen:ee,getPrototypeOf:te,getOwnPropertyDescriptor:ne}=Object;let{freeze:f,seal:p,create:re}=Object,{apply:ie,construct:ae}=typeof Reflect<`u`&&Reflect;f||=function(e){return e},p||=function(e){return e},ie||=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)},ae||=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)};const oe=y(Array.prototype.forEach),se=y(Array.prototype.lastIndexOf),ce=y(Array.prototype.pop),m=y(Array.prototype.push),le=y(Array.prototype.splice),ue=y(String.prototype.toLowerCase),de=y(String.prototype.toString),fe=y(String.prototype.match),h=y(String.prototype.replace),pe=y(String.prototype.indexOf),me=y(String.prototype.trim),g=y(Object.prototype.hasOwnProperty),_=y(RegExp.prototype.test),v=he(TypeError);function y(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return ie(e,t,r)}}function he(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return ae(e,n)}}function b(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;d&&d(e,null);let r=t.length;for(;r--;){let i=t[r];
3if(typeof i==`string`){let e=n(i);e!==i&&(ee(t)||(t[r]=e),i=e)}e[i]=!0}return e}function x(e){for(let t=0;t<e.length;t++){let n=g(e,t);n||(e[t]=null)}return e}function S(e){let t=re(null);for(let[n,r]of u(e)){let i=g(e,n);i&&(Array.isArray(r)?t[n]=x(r):r&&typeof r==`object`&&r.constructor===Object?t[n]=S(r):t[n]=r)}return t}function C(e,t){for(;e!==null;){let n=ne(e,t);if(n){if(n.get)return y(n.get);if(typeof n.value==`function`)return y(n.value)}e=te(e)}function n(){return null}return n}const ge=f(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),_e=f(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),ve=f([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),ye=f([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),be=f(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),xe=f([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),Se=f([`#text`]),Ce=f(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot`.split(`.`)),we=f(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Te=f(`accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Ee=f([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),w=p(/\{\{[\w\W]*|[\w\W]*\}\}/gm),T=p(/<%[\w\W]*|[\w\W]*%>/gm),De=p(/\$\{[\w\W]*/gm),Oe=p(/^data-[\-\w.\u00B7-\uFFFF]+$/),ke=p(/^aria-[\-\w]+$/),Ae=p(/^(?:(?:(?
vendor: 11,048 bytes, line 3
3:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),je=p(/^(?:\w+script|data):/i),Me=p(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ne=p(/^html$/i),E=p(/^[a-z][.\w]*(-[.\w]+)+$/i);var Pe=Object.freeze({__proto__:null,ARIA_ATTR:ke,ATTR_WHITESPACE:Me,CUSTOM_ELEMENT:E,DATA_ATTR:Oe,DOCTYPE_NAME:Ne,ERB_EXPR:T,IS_ALLOWED_URI:Ae,IS_SCRIPT_OR_DATA:je,MUSTACHE_EXPR:w,TMPLIT_EXPR:De});const D={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Fe=function(){return typeof window>`u`?null:window},Ie=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},Le=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Re(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Fe(),t=e=>Re(e);if(t.version=`3.3.1`,t.removed=[],!e||!e.document||e.document.nodeType!==D.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e,r=n,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:c,NodeFilter:l,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:ee,DOMParser:te,trustedTypes:ne}=e,p=c.prototype,ie=C(p,`cloneNode`),ae=C(p,`remove`),y=C(p,`nextSibling`),he=C(p,`childNodes`),x=C(p,`parentNode`);if(typeof o==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let w,T=``,{implementation:De,createNodeIterator:Oe,createDocumentFragment:ke,getElementsByTagName:je}=n,{importNode:Me}=r,E=Le();t.isSupported=typeof u==`function`&&typeof x==`function`&&De&&De.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:ze,ERB_EXPR:O,TMPLIT_EXPR:k,DATA_ATTR:Be,ARIA_ATTR:Ve,IS_SCRIPT_OR_DATA:A,ATTR_WHITESPACE:He,CUSTOM_ELEMENT:Ue}=Pe,{IS_ALLOWED_URI:We}=Pe,j=null,Ge=b({},[...ge,..._e,...ve,...be,...Se]),M=null,Ke=b({},[...Ce,...we,...Te,...Ee]),N=Object.seal(re(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),P=null,F=null,I=Object.seal(re(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),qe=!0,Je=!0,Ye=!1,L=!0,R=!1,z=!0,B=!1,Xe=!1,Ze=!1,V=!1,Qe=!1,H=!1,$e=!0,et=!1,tt=!0,U=!1,W={},G=null,nt=b({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]),rt=null,it=b({},[`audio`,`video`,`img`,`source`,`image`,`track`]),at=null,ot=b({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),st=`http://www.w3.org/1998/Math/MathML`,ct=`http://www.w3.org/2000/svg`,K=`http://www.w3.org/1999/xhtml`,q=K,lt=!1,ut=null,dt=b({},[st,ct,K],de),ft=b({},[`mi`,`mo`,`mn`,`ms`,`mtext`]),pt=b({},[`annotation-xml`]),mt=b({},[`title`,`style`,`font`,`a`,`script`]),J=null,ht=[`application/xhtml+xml`,`text/html`],Y=null,X=null,gt=n.createElement(`form`),_t=function(e){return e instanceof RegExp||e instanceof Function},vt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(X&&X===e)){if((!e||typeof e!=`object`)&&(e={}),e=S(e),J=ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,Y=J===`application/xhtml+xml`?de:ue,j=g(e,`ALLOWED_TAGS`)?b({},e.ALLOWED_TAGS,Y):Ge,M=g(e,`ALLOWED_ATTR`)?b({},e.ALLOWED_ATTR,Y):Ke,ut=g(e,`ALLOWED_NAMESPACES`)?b({},e.ALLOWED_NAMESPACES,de):dt,at=g(e,`ADD_URI_SAFE_ATTR`)?b(S(ot),e.ADD_URI_SAFE_ATTR,Y):ot,rt=g(e,`ADD_DATA_URI_TAGS`)?b(S(it),e.ADD_DATA_URI_TAGS,Y):it,G=g(e,`FORBID_CONTENTS`)?b({},e.FORBID_CONTENTS,Y):nt,P=g(e,`FORBID_TAGS`)?b({},e.FORBID_TAGS,Y):S({}),F=g(e,`FORBID_ATTR`)?b({},e.FORBID_ATTR,Y):S({}),W=g(e,`USE_PROFILES`)?e.USE_PROFILES:!1,qe=e.ALLOW_ARIA_ATTR!==!1,Je=e.ALLOW_DATA_ATTR!==!1,Ye=e.ALLOW_UNKNOWN_PROTOCOLS||!1,L=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,R=e.SAFE_FOR_TEMPLATES||!1,z=e.SAFE_FOR_XML!==!1,B=e.WHOLE_DOCUMENT||!1,V=e.RETURN_DOM||!1,Qe=e.RETURN_DOM_FRAGMENT||!1,H=e.RETURN_TRUSTED_TYPE||!1,Ze=e.FORCE_BODY||!1,$e=e.SANITIZE_DOM!==!1,et=e.SANITIZE_NAMED_PROPS||!1,tt=e.KEEP_CONTENT!==!1,U=e.IN_PLACE||!1,We=e.ALLOWED_URI_REGEXP||Ae,q=e.NAMESPACE||K,ft=e.MATHML_TEXT_INTEGRATION_POINTS||ft,pt=e.HTML_INTEGRATION_POINTS||pt,N=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&_t(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(N.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&_t(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(N.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==`boolean`&&(N.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),R&&(Je=!1),Qe&&(V=!0),W&&(j=b({},Se),M=[],W.html===!0&&(b(j,ge),b(M,Ce)),W.svg===!0&&(b(j,_e),b(M,we),b(M,Ee)),W.svgFilters===!0&&(b(j,ve),b(M,we),b(M,Ee)),W.mathMl===!0&&(b(j,be),b(M,Te),b(M,Ee))),e.ADD_TAGS&&(typeof e.ADD_TAGS==`function`?I.tagCheck=e.ADD_TAGS:(j===Ge&&(j=S(j)),b(j,e.ADD_TAGS,Y))),e.ADD_ATTR&&(typeof e.ADD_ATTR==`function`?I.attributeCheck=e.ADD_ATTR:(M===Ke&&(M=S(M)),b(M,e.ADD_ATTR,Y))),e.ADD_URI_SAFE_ATTR&&b(at,e.ADD_URI_SAFE_ATTR,Y),e.FORBID_CONTENTS&&(G===nt&&(G=S(G)),b(G,e.FORBID_CONTENTS,Y)),e.ADD_FORBID_CONTENTS&&(G===nt&&(G=S(G)),b(G,e.ADD_FORBID_CONTENTS,Y)),tt&&(j[`#text`]=!0),B&&b(j,[`html`,`head`,`body`]),j.table&&(b(j,[`tbody`]),delete P.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw v(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw v(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);w=e.TRUSTED_TYPES_POLICY,T=w.createHTML(``)}else w===void 0&&(w=Ie(ne,i)),w!==null&&typeof T==`string`&&(T=w.createHTML(``));f&&f(e),X=e}},yt=b({},[..._e,...ve,...ye]),bt=b({},[...be,...xe]),xt=function(e){let t=x(e);(!t||!t.tagName)&&(t={namespaceURI:q,tagName:`template`});let n=ue(e.tagName),r=ue(t.tagName);return ut[e.namespaceURI]?e.namespaceURI===ct?t.namespaceURI===K?n===`svg`:t.namespaceURI===st?n===`svg`&&(r===`annotation-xml`||ft[r]):!!yt[n]:e.namespaceURI===st?t.namespaceURI===K?n===`math`:t.namespaceURI===ct?n===`math`&&pt[r]:!!bt[n]:e.namespaceURI===K?t.namespaceURI===ct&&!pt[r]||t.namespaceURI===st&&!ft[r]?!1:!bt[n]&&(mt[n]||!yt[n]):!!(J===`application/xhtml+xml`&&ut[e.namespaceURI]):!1},Z=function(e){m(t.removed,{element:e});try{x(e).removeChild(e)}catch{ae(e)}},Q=function(e,n){try{m(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{m(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(V||Qe)try{Z(n)}catch{}else try{n.setAttribute(e,``)}catch{}},St=function(e){let t=null,r=null;if(Ze)e=`<remove></remove>`+e;else{let t=fe(e,/^[\r\n\t ]+/);r=t&&t[0]}J===`application/xhtml+xml`&&q===K&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=w?w.createHTML(e):e;if(q===K)try{t=new te().parseFromString(i,J)}catch{}if(!t||!t.documentElement){t=De.createDocument(q,`template`,null);try{t.documentElement.innerHTML=lt?T:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),q===K?je.call(t,B?`html`:`body`)[0]:B?t.documentElement:a},Ct=function(e){return Oe.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},wt=function(e){return e instanceof ee&&(typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||!(e.attributes instanceof d)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`)},Tt=function(e){return typeof s==`function`&&e instanceof s};function $(e,n,r){oe(e,e=>{e.call(t,n,r,X)})}let Et=function(e){let n=null;if($(E.beforeSanitizeElements,e,null),wt(e))return Z(e),!0;let r=Y(e.nodeName);if($(E.uponSanitizeElement,e,{tagName:r,allowedTags:j}),z&&e.hasChildNodes()&&!Tt(e.firstElementChild)&&_(/<[/\w!]/g,e.innerHTML)&&_(/<[/\w!]/g,e.textContent)||e.nodeType===D.progressingInstruction||z&&e.nodeType===D.comment&&_(/<[/\w]/g,e.data))return Z(e),!0;if(!(I.tagCheck instanceof Function&&I.tagCheck(r))&&(!j[r]||P[r])){if(!P[r]&&Ot(r)&&(N.tagNameCheck instanceof RegExp&&_(N.tagNameCheck,r)||N.tagNameCheck instanceof Function&&N.tagNameCheck(r)))return!1;if(tt&&!G[r]){let t=x(e)||e.parentNode,n=he(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=ie(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,y(e))}}}return Z(e),!0}return e instanceof c&&!xt(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&_(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z(e),!0):(R&&e.nodeType===D.text&&(n=e.textContent,oe([ze,O,k],e=>{n=h(n,e,` `)}),e.textContent!==n&&(m(t.removed,{element:e.cloneNode()}),e.textContent=n)),$(E.afterSanitizeElements,e,null),!1)},Dt=function(e,t,r){if($e&&(t===`id`||t===`name`)&&(r in n||r in gt))return!1;if(!(Je&&!F[t]&&_(Be,t))&&!(qe&&_(Ve,t))&&!(I.attributeCheck instanceof Function&&I.attributeCheck(t,e))){if(!M[t]||F[t]){if(!(Ot(e)&&(N.tagNameCheck instanceof RegExp&&_(N.tagNameCheck,e)||N.tagNameCheck instanceof Function&&N.tagNameCheck(e))&&(N.attributeNameCheck instanceof RegExp&&_(N.attributeNameCheck,t)||N.attributeNameCheck instanceof Function&&N.attributeNameCheck(t,e))||t===`is`&&N.allowCustomizedBuiltInElements&&(N.tagNameCheck instanceof RegExp&&_(N.tagNameCheck,r)||N.tagNameCheck instanceof Function&&N.tagNameCheck(r))))return!1}else if(!at[t]&&!_(We,h(r,He,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&pe(r,`data:`)===0&&rt[e])&&!(Ye&&!_(A,h(r,He,``)))&&r)return!1}return!0},Ot=function(e){return e!==`annotation-xml`&&fe(e,Ue)},kt=function(e){$(E.beforeSanitizeAttributes,e,null);let{attributes:n}=e;if(!n||wt(e))return;let r={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:M,forceKeepAttr:void 0},i=n.length;for(;i--;){let a=n[i],{name:o,namespaceURI:s,value:c}=a,l=Y(o),u=c,d=o===`value`?u:me(u);if(r.attrName=l,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,$(E.uponSanitizeAttribute,e,r),d=r.attrValue,et&&(l===`id`||l===`
3name`)&&(Q(o,e),d=`user-content-`+d),z&&_(/((--!?|])>)|<\/(style|title|textarea)/i,d)){Q(o,e);continue}if(l===`attributename`&&fe(d,`href`)){Q(o,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Q(o,e);continue}if(!L&&_(/\/>/i,d)){Q(o,e);continue}R&&oe([ze,O,k],e=>{d=h(d,e,` `)});let ee=Y(e.nodeName);if(!Dt(ee,l,d)){Q(o,e);continue}if(w&&typeof ne==`object`&&typeof ne.getAttributeType==`function`&&!s)switch(ne.getAttributeType(ee,l)){case`TrustedHTML`:d=w.createHTML(d);break;case`TrustedScriptURL`:d=w.createScriptURL(d);break}if(d!==u)try{s?e.setAttributeNS(s,o,d):e.setAttribute(o,d),wt(e)?Z(e):ce(t.removed)}catch{Q(o,e)}}$(E.afterSanitizeAttributes,e,null)},At=function e(t){let n=null,r=Ct(t);for($(E.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)$(E.uponSanitizeShadowNode,n,null),Et(n),kt(n),n.content instanceof a&&e(n.content);$(E.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,o=null,c=null,l=null;if(lt=!e,lt&&(e=`<!-->`),typeof e!=`string`&&!Tt(e))if(typeof e.toString==`function`){if(e=e.toString(),typeof e!=`string`)throw v(`dirty is not a string, aborting`)}else throw v(`toString is not a function`);if(!t.isSupported)return e;
3if(Xe||vt(n),t.removed=[],typeof e==`string`&&(U=!1),U){if(e.nodeName){let t=Y(e.nodeName);if(!j[t]||P[t])throw v(`root node is forbidden and cannot be sanitized in-place`)}}else if(e instanceof s)i=St(`<!---->`),o=i.ownerDocument.importNode(e,!0),o.nodeType===D.element&&o.nodeName===`BODY`||o.nodeName===`HTML`?i=o:i.appendChild(o);else{if(!V&&!R&&!B&&e.indexOf(`<`)===-1)return w&&H?w.createHTML(e):e;if(i=St(e),!i)return V?null:H?T:``}i&&Ze&&Z(i.firstChild);let u=Ct(U?e:i);for(;c=u.nextNode();)Et(c),kt(c),c.content instanceof a&&At(c.content);if(U)return e;if(V){if(Qe)for(l=ke.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(M.shadowroot||M.shadowrootmode)&&(l=Me.call(r,l,!0)),l}let d=B?i.outerHTML:i.innerHTML;return B&&j[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&_(Ne,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
4`+d),R&&oe([ze,O,k],e=>{d=h(d,e,` `)}),w&&H?w.createHTML(d):d},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};vt(e),Xe=!0},t.clearConfig=function(){X=null,Xe=!1},t.isValidAttribute=function(e,t,n){X||vt({});let r=Y(e),i=Y(t);return Dt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&m(E[e],t)},t.removeHook=function(e,t){if(t!==void 0){let n=se(E[e],t);return n===-1?void 0:le(E[e],n,1)[0]}return ce(E[e])},t.removeHooks=function(e){E[e]=[]},t.removeAllHooks=function(){E=Le()},t}var ze=Re();function O(e){return e==null?``:String(e).replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#39;`)}function k(e){if(!e)return null;let t=String(e).trim();if(!/^https?:\/\//i.test(t))return null;try{let e=new URL(t);return e.host?t:null}catch{return null}}function Be(e){return e&&typeof e==`object`&&`href`in e?k(e.href):k(e)}function Ve(e,t=`#`){if(!e)return t;let n=String(e).trim();return n.startsWith(`#`)?n:k(n)??t}let A;function He(){if(A)return A;if(globalThis.document===void 0)return A={sanitize:e=>O(e)},A;A=ze(globalThis);let e=new Set([`href`,`xlink:href`,`src`,`srcset`,`action`,`formaction`]),t=e=>{let t=String(e??``).trim();return t?t.startsWith(`//`)||/^(?:javascript|data|vbscript|file):/i.test(t)?!1:!!(/^(?:https?|mailto|tel):/i.test(t)||t.startsWith(`#`)||/^(?:\/(?!\/)|\.\/?|\.\.\/)/.test(t)):!0},n=e=>{let t=String(e??``).trim();return/^url\(#[-\w]+\)$/i.test(t)};return A.addHook(`uponSanitizeAttribute`,(r,i)=>{let a=String(i.attrName??``).toLowerCase();if(e.has(a)){t(i.attrValue)||(i.keepAttr=!1);return}(a===`clip-path`||a===`mask`||a===`filter`)&&(n(i.attrValue)||(i.keepAttr=!1))}),A}function Ue(e,{allowSvg:t=!1}={}){let n=String(e??``);return He().sanitize(n,{USE_PROFILES:t?{html:!0,svg:!0,svgFilters:!1}:{html:!0},FORBID_TAGS:[`script`,`iframe`,`object`,`embed`],ADD_TAGS:t?[`svg`,`path`,`g`,`use`,`circle`,`rect`,`polygon`,`line`,`polyline`,`ellipse`,`defs`,`symbol`,`title`,`desc`,`clipPath`]:void 0,ADD_ATTR:t?`target.rel.id.class.viewBox.xmlns.xmlns:xlink.fill.fill-rule.stroke.stroke-width.stroke-linecap.stroke-linejoin.d.x.y.cx.cy.r.width.height.points.x1.x2.y1.y2.preserveAspectRatio.focusable.aria-hidden.role.clip-path.clip-rule.href.xlink:href`.split(`.`):[`target`,`rel`]})}function We(e,t){if(!e?.includes(`[`))return e;let n=``,r=0,i=e.length;for(;r<i;){if(e[r]===`[`){let i=e.indexOf(`]`,r+1);if(i!==-1){n+=t,r=i+1;continue}}n+=e[r],r+=1}return n}const j=e.analytics,Ge=`aa-dialog-open`,M=`aa-dialog-close`,Ke=`aa-link`,N=`Third Party Modal`,P=`third party modal`,F=`dialog close`,I={fireDialogOpenTag:qe,fireDialogCloseTag:Je,fireAaLinkTag:Ye};function qe(e){j.fire(`aa-content-view`,{content_item:P,component_id:`modal`,content_section:N,content_subsection:N,list_item_index:null,index:`1`,num_children:`1`,context_data:null}),j.fireWithContext(Ge,e,{action:Ge,link_button_action:`dialog open`,content_item:P,component_id:N,content_section:`Third Party Modal`,content_subsection:`Third Party Modal`,context_data:null})}function Je(e){e.tagName===`A`||e.tagName===`BUTTON`?j.fireWithContext(M,e,{action:M,link_button_action:F,content_item:P,component_id:N,content_section:`Third Party Modal`,content_subsection:`Third Party Modal`,context_data:null}):j.fire(M,{action:M,link_button_action:F,link_text:e?.dataset?.aaLinkText||``,content_item:P,component_id:N,content_section:`Third Party Modal`,content_subsection:`Third Party Modal`,context_data:null})}function Ye(e){j.fireWithContext(Ke,e,{action:Ke,link_button_action:`Third Party Website Link`,link_text:e?.dataset?.aaLinkText||``,content_item:P,component_id:N,content_section:`Third Party Modal`,content_subsection:`Third Party Modal`,context_data:null})}var L=I;function R(e,t=!1,n=!1){e?.currentTarget?.classList?.contains(`continue-cta`)?L.fireAaLinkTag(e.currentTarget):L.fireDialogCloseTag(e.currentTarget);let r=document.querySelector(`.third-party-modal`).closest(`.modal`);if(t){r.remove();return}r.classList.remove(`show`)}function z(e){e.key===`Escape`&&R(e,!0)}function B(e=``,t={}){let n=Ve(e,`#`);if(t.customCss){let e=document.querySelector(`head`),n=document.createElement(`style`);n.textContent=String(t.customCss),e.appendChild(n)}let r;if(t.customHTML){let e=`https://`,i=t.extLink?t.extLink.href.replace(e,``):(t.extUrl||``).split(`?`)[0].replace(e,``),a=O(i),o=Ue(t.customHTML,{allowSvg:!0});
4r=We(o,`<span class="break">${a}</span>`);let s=document.createElement(`div`);s.innerHTML=r;let c=s.querySelector(`.continue-cta`);c&&c.setAttribute(`href`,n),r=s.innerHTML}return t.customHTML?r:`<div class="modal-wrap third-party-modal">
5            <div class="modal-overlay"></div>
6            <div class="modal-wrapper">
7                <div class="modal-body-wrapper">
8                    <div class="modal-body">
9                        ${Xe(t)}
10                        <div class="modal-content">
11                            <div class="cf-modal">
12                                <div class="cf-modal-body">
13                                    ${Ze(t)}
14                                </div>
15                                <div class="cf-modal-cta">
16                                    ${V(n,t)}
17                                </div>
18                            </div>
19                        </div>
20                    </div>
21                </div>
22            </div>
23        </div>`}function Xe(e){let t=O(e.title);return e.title?`<header class="modal-header">
24                                <div class="modal-title-wrap">
25                                    <h2 class="modal-title">
26                                        ${t}
27                                    </h2>
28                                </div>
29                            </header>`:``}function Ze(e){let t=`https://`,n=e.extLink?e.extLink.href.replace(t,``):(e.extUrl||``).split(`?`)[0].replace(t,``),r=O(n);return e.modalBody?e.modalBody.map(e=>`<p>
30                        ${We(O(e?.p),`<span class="break">${r}</span>`)}
31                    </p>`).join(``):``}function V(e=``,t={}){return t.ctas?t.ctas.map(t=>{if(t.type===`closeModal`){let e=t.href===``?`#`:Ve(t.href,`#`),n=O(t.text);return`<a href="${e}" class="button secondary close-external-modal">
32                            <span class="link-text">${n}</span>
33                        </a>`}if(t.type===`redirect`){let n=Ve(e===``?t.href:e,`#`),r=O(t.text);return`<a href="${n}" class="button primary continue-cta">
34                                    <span>${r}</span>
35                                </a>`}return``}).join(``):``}var Qe=class{constructor(e={}){this.config={title:`You are now leaving Toyota.com`,modalBody:[{p:`We’re taking you to [3rd party website address] to connect you to the information you requested.`},{p:`Please note that we do not control and are not responsible for that website’s content, products, services, or privacy or security practice. The website may independently collect your personal data and web usage information.`},{p:`Please review the privacy policy that may be posted on that website to learn more about the data handling practices on the site.`}],ctas:[{text:`Go Back`,type:`closeModal`,href:``},{text:`Continue`,type:`redirect`,href:`https://www.google.com`}],includeURLs:!1,siteFilter:[`https://pressroom.toyota.com/`,`https://toyotaaudioandconnectedservicessupport.com/`,`https://autoparts.toyota.com/`,`https://www.toyotacertified.com/`,`https://www.toyotamobility.com/`,`https://www.startyourimpossible.com/`,`https://support.toyota.com/s/?language=en_US`,`https://www.lexus.com`,`https://careers.toyota.com/`,`https://toyota.com/`,`https://www.toyota.com`,`https://privacy.toyota.com/`,`https://disconnectaccess.toyota.com`,`https://treehouse.pro/toyota/quote`],targetBlank:!1,...e},this.init()}init(){this.handleQueryParamUrl(),this.initMutationObserver(),this.bindEvents()}handleQueryParamUrl(){if(this.queryUrlHandled||!location.search)return;this.queryUrlHandled=!0;let e=new URLSearchParams(location.search),t=e.get(`url`);if(!t)return;let n=null;try{let e=new URL(t);(e.protocol===`http:`||e.protocol===`https:`)&&(n=e.href)}catch{n=null}if(!n)return;let r=new URL(n),i=this.config.siteFilter.some(e=>e.replace(`https://`,``).startsWith(r.hostname)),a=r.hostname===location.hostname;a||this.config.includeURLs&&!i||!this.config.includeURLs&&i||(this.config.extUrl=n,this.createExternalSiteModal(n))}createExternalSiteModal(e=``,t=!1){let n=Be(e)??``;this.modal=document.createElement(`div`),this.modal.className=`modal`,this.modal.setAttribute(`role`,`dialog`),this.modal.setAttribute(`aria-modal`,`true`),this.modal.setAttribute(`aria-labelledby`,`Third Party Modal`),this.modal.setAttribute(`tabindex`,`-1`),this.modal.innerHTML=B(n,this.config),L.fireDialogOpenTag(e),document.body.appendChild(this.modal),this.modal.classList.add(`show`),this.modal.focus(),this.closeModalCta=document.querySelector(`.close-external-modal`),this.continueModalCta=document.querySelector(`.continue-cta`),t&&this.continueModalCta&&(this.continueModalCta?.setAttribute(`target`,`_blank`),this.continueModalCta?.setAttribute(`rel`,`noopener noreferrer`)),this.handleCloseModal=n=>{n.preventDefault(),n.stopPropagation(),R(n,!0,t),e.focus()},this.handleBackdropClick=e=>
35{let n=e.target?.classList?.contains(`modal-overlay`),r=e.target===this.modal;(n||r)&&(e.preventDefault(),e.stopPropagation(),R(e,!0,t))},this.closeModalCta?.addEventListener(`click`,this.handleCloseModal),this.continueModalCta?.addEventListener(`click`,e=>{R(e,!0,t)}),this.modal.addEventListener(`click`,this.handleBackdropClick),document.addEventListener(`keydown`,z)}bindEvents(e=null){let t=`https://`,n=e?[e]:document.querySelectorAll(`a[href^="${t}"]`);this.config.customLinksFilterFn&&(n=this.config.customLinksFilterFn(n));let r=e=>{e.addEventListener(`click`,e=>{document.body.querySelector(`.third-party-modal`)||(e.preventDefault(),e.stopPropagation(),this.externalLinkClick(e,this.config))},!0)};for(let e of n){let n=new URL(e.href),i=this.config.siteFilter.some(e=>e.replace(t,``).startsWith(n.hostname)),a=n.hostname===location.hostname;if(!a)if(this.config.includeURLs&&i)r(e);else if(!this.config.includeURLs&&i)continue;else r(e)}}externalLinkClick(e,t){let n=e.currentTarget,r=!1;(t.targetBlank||n.target&&n.target===`_blank`)&&(r=!0),this.config.extLink=n,this.createExternalSiteModal(n,r)}initMutationObserver(){let e={attributes:!0,childList:!0,subtree:!0},t=new MutationObserver(e=>{for(let t of e)if(t.type===`childList`){for(let e of t.addedNodes)if(e.nodeType===Node.ELEMENT_NODE&&e.tagName===`A`&&!e.classList.contains(`continue-cta`)&&!e.classList.contains(`close-external-modal`)&&(e.dataset.externalModalBound||(e.dataset.externalModalBound=`true`,this.bindEvents(e))),e.nodeType===Node.ELEMENT_NODE){let t=e.querySelectorAll(`a`);t.forEach(e=>{!e.classList.contains(`continue-cta`)&&!e.classList.contains(`close-external-modal`)&&(e.dataset.externalModalBound||(e.dataset.externalModalBound=`true`,this.bindEvents(e)))})}}});t.observe(document.body,e)}};const H=`.global-footer`;function $e(e){let t=e.body,n=`
36            <button
37                type="button"
38                class="button outline transparent border-only no-image close-external-modal"
39                data-aa-skip="true"
40                data-aa-link-text="Go Back"
41                data-role="close-modal"
42                aria-label="${e?.returnCta}">
43                <span class="btn-text" aria-hidden="true">
44                    ${e?.returnCta}
45                    <svg class="arrow default" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
46                        <path fill-rule="evenodd" clip-rule="evenodd" d="M6.06825 0.905047C5.67772 0.514523 5.04456 0.514522 4.65403 0.905047C4.26351 1.29557 4.26351 1.92874 4.65404 2.31926L8.18912 5.85434L4.65321 9.39025C4.26269 9.78077 4.26269 10.4139 4.65321 10.8045C5.04373 11.195 5.6769 11.195 6.06742 10.8045L10.2849 6.58702C10.2937 6.57884 10.3023 6.57046 10.3109 6.5619C10.7014 6.17138 10.7014 5.53821 10.3109 5.14769L6.06825 0.905047Z" fill="currentColor"></path>
47                    </svg>
48                </span>
49            </button>
50            <a class="button primary continue-cta" 
51                href=""
52                target=""
53                aria-label="${e?.continueCta}" 
54                data-aa-skip="true" 
55                data-role="close-modal" 
56                aria-hidden="false" 
57                role="link">
58                <span class="btn-text" aria-hidden="true">
59                    ${e?.continueCta}
60                    <svg class="arrow default" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
61                        <path fill-rule="evenodd" clip-rule="evenodd" d="M6.06825 0.905047C5.67772 0.514523 5.04456 0.514522 4.65403 0.905047C4.26351 1.29557 4.26351 1.92874 4.65404 2.31926L8.18912 5.85434L4.65321 9.39025C4.26269 9.78077 4.26269 10.4139 4.65321 10.8045C5.04373 11.195 5.6769 11.195 6.06742 10.8045L10.2849 6.58702C10.2937 6.57884 10.3023 6.57046 10.3109 6.5619C10.7014 6.17138 10.7014 5.53821 10.3109 5.14769L6.06825 0.905047Z" fill="currentColor"></path>
62                    </svg>
63                </span>
64            </a>`;return`
65        <div class="modal-wrap centered theme-light external-site-modal-cf third-party-modal vis2 is-visible global-navigation">
66            <div class="modal-overlay"></div>
67            <div class="modal-wrapper">
68                <div class="modal-body-wrapper">
69                    <div class="modal-body">
70                        <header class="modal-header">
71                            <div class="modal-title-wrap">
72                                <h2 class="modal-title heading-03">
73                                    ${e?.modalTitle}
74                                </h2>
75                            </div>
76                        </header>
77                        <div class="modal-content">
78                            <div class="cf-modal">
79                                <div class="cf-modal-body">
80                                    ${t}
81                                </div>
82                                <div class="cf-modal-cta tcom-footer-body">
83                                    ${n}
84                                </div>
85                            </div>
86                        </div>
87                    </div>
88                </div>
89            </div>
90        </div>`}var et=class{constructor(e){this.config={initialized:!1,components:{},...e},this.config.iframePages=[`payment-estimator`,`what-fits-my-budget`,`search`],this.config.el=document.querySelector(H),this.config.el.ccpaBtn=this.config.el.querySelector(`.tcom-footer-cookie-consent`),this.config.el.allDisclosuresBtn=document.querySelector(`.tcom-footer-disclosure-link button`),this.config.el.footerLinksContainer=this.config.el.querySelectorAll(`.footer-links .simple-list ul, .tcom-footer-bottom .tcom-footer-bottom-list ul`),this.initialize()}initialize(){this.setExternalModalCfData(),e.dom.on(this.config.el.ccpaBtn,`click`,`button`,e=>this.consentModal(e)),[].slice.call(this.config.el.footerLinksContainer).forEach(e
90=>e.setAttribute(`data-aarole`,`cta-container`)),[].slice.call(this.config.el.footerLinksContainer).forEach(e=>{let t=e.querySelectorAll(`li`);this.setPopupArrows(t)}),this.langSelectorSync(),this.delayEntryTag(),this.initialized=!0;let t=document.body,n=this,r={attributes:!0,childList:!0,subtree:!0},i=function(e){for(let t of e)t.type===`attributes`&&t.target.id===`ensModalWrapper`&&t.target.style.display===`none`&&n.removeConsentModalOverlay()},a=new MutationObserver(i);a.observe(t,r)}setPopupArrows(e){[].slice.call(e).forEach(e=>{let t=/^https:\/\//i,n=e.querySelector(`a`),r=n.getAttribute(`target`)===`_blank`||t.test(n.getAttribute(`href`));if(r){let t=e.innerHTML;e.innerHTML=t+`<svg class="is-external" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><g clip-path="url(#clip0_1460_8269)"><path d="M11 8.76793V10C11 10.5523 10.5523 11 10 11H2C1.44772 11 1 10.5523 1 10V2C1 1.44772 1.44772 1 2 1H3.11117" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.09189 1H11M11 1V4.78721M11 1L5 7" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_1460_8269"><rect width="12" height="12" fill="white"></rect></clipPath></defs></svg>`,e.classList.add(`is-external`)}})}async setExternalModalCfData(){console.log(`Fetching external site modal content fragment data...`);let t=e.i18n.getCurrentLocale(),n=e.util.getCookieByName(`cq-authoring-mode`)===`TOUCH`,r=n?`/content/dam/toyota/content-fragments/modals/${t}/external-site-modal.cfdata.json`:globalThis?.tcom_env?.services?.vehicleData?.aemcsServicesAccessDomain+`/service/tcom/cs/contentFragmentData/v1/modals/${t}/external-site-modal`;try{let e=await fetch(r),t=await e.json();globalThis?._dL?.pageConfig&&(globalThis._dL.pageConfig.exitModal=t,this.getExternalLinkModalData())}catch(e){console.error(`Error in fetching or processing data:`,e)}}delayEntryTag(){let t=this.config.el.querySelector(`[data-aa-visible-metric]`);if(t){let n=t.dataset.aaVisibleMetric;if(n&&delete t.dataset.aaVisibleMetric,this.config.iframePages.indexOf(e.util.getPageName())>-1){let r=e.pubsub.subscribe(`iframe.height.set`,()=>{e.pubsub.unsubscribe(r),setTimeout(()=>{t.dataset.aaVisibleMetric=n,e.analytics.reobserve(this.config.el)},500)})}else setTimeout(()=>{t.dataset.aaVisibleMetric=n,e.analytics.reobserve(this.config.el)},4e3)}}langSelectorSync(){let e=globalThis.location.pathname,t=globalThis.location.search||``,n=document?.documentElement?.getAttribute(`lang`)||`en`,r=typeof AEMCS_TCOM<`u`?`/es`:`/espanol`,i=e.replace(/^\/(es|espanol)(?=\/|$)/,``)||`/`,a=i===`/`?r:r+i,o=n.startsWith(`es`)||/^\/(es|espanol)(\/|$)/.test(e),s=(o?i:a)+t,c=this.config.el.querySelector(`a.is-lang-selector`);c&&c.getAttribute(`href`)!==s&&c.setAttribute(`href`,s)}consentModal(e){let t=document.createElement(`div`);globalThis.gateway&&(t.id=`consentModalOverlay`,document.body.appendChild(t),document.body.style.overflow=`hidden`,globalThis.gateway.openM
90odal(),document.getElementById(`ensModalWrapper`).scrollTop=0,this.config.consentActiveElement=e.target,setTimeout(()=>{let e=document.querySelector(`#ensModalWrapper`);e.setAttribute(`tabindex`,`0`),e.focus()},300),t.addEventListener(`click`,()=>{document.getElementById(`ensModalWrapper`).focus()}))}removeConsentModalOverlay(e){let t=document.getElementById(`consentModalOverlay`);t!==null&&(this.config.consentActiveElement.focus(),t.parentElement.removeChild(t),document.body.style.overflow=`scroll`)}getExternalLinkModalData(){let e={title:`You are leaving Toyota.com!`,modalBody:[{p:`<b>You are now leaving Toyota.com to a website that Toyota does not control.</b> Accordingly, we are not responsible for its content, services, or data practices.`}],ctas:[{text:`Go Back`,type:`closeModal`,href:``},{text:`Continue`,type:`redirect`,href:``}],includeURLs:!1,siteFilter:[],targetBlank:!1};if(globalThis._dL.pageConfig.exitModal){let t=globalThis._dL.pageConfig.exitModal,n=$e(t);e={customHTML:n,includeURLs:t?.includeURLs===`true`||e.includeURLs,siteFilter:t?.siteFilter?t.siteFilter.replaceAll(/\s+/g,``).split(`,`):e.siteFilter,targetBlank:t?.targetBlank===`true`||e.targetBlank,customLinksFilterFn:e=>Array.from(e).filter(e=>{if(e.href===``)return!1;let t=new URL(e),n=new URLSearchParams(t.search),r=t.hash.includes(`?`)?t.hash.split(`?`)[1]:``,i=new URLSearchParams(r),a=n.get(`intsrc`)||i.get(`intsrc`),o=/^(?:tcom:(maps:dealervisit|dealerlisting:(dealervisit|dealeraddressvisit)):|tcom:inventory:dealervisit:home$|tcom-tier1:vdp:dealer-details:view-dealer-site:mstc-tier3:vdp$)/i;return!o.test(a)&&e})}}new Qe(e)}};l(et,H);export{et as default};

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.