1import{B as e,b as t}from"./makeAEMComponent-BkGOfDTf.js";var n=e(t(),1),r=(e=>(e.XS=`XS`,e.SM=`SM`,e.MD=`MD`,e.LG=`LG`,e.XL=`XL`,e.XXL=`XXL`,e.XXXL=`XXXL`,e))(r||{}),i={[r.XS]:{key:r.XS,value:0},[r.SM]:{key:r.SM,value:576},[r.MD]:{key:r.MD,value:768},[r.LG]:{key:r.LG,value:992},[r.XL]:{key:r.XL,value:1200},[r.XXL]:{key:r.XXL,value:1600},[r.XXXL]:{key:r.XXXL,value:1920}},a=[],o=e=>Object.entries(e).map(([,e],t,n)=>{let r=n[t+1]?.[1];return{media:r?`(min-width: ${e.value}px) and (max-width: ${r.value-1}px)`:`(min-width: ${e.value}px)`,entry:e}}),s=e=>{if(e.matches){for(let t of o(i))if(t.media===e.media)for(let e of a)e(t)}},c=()=>{let e=o(i),t;for(let n of e)globalThis.matchMedia(n.media).matches&&(t=n);return t},l=(e,t)=>Object.entries(t).some(([,t])=>t.key===e.key),u=e=>a.push(e);globalThis.matchMedia&&globalThis.matchMedia(`(any-pointer:coarse)`).matches,(()=>{for(let e of o(i).map(e=>globalThis.matchMedia&&globalThis.matchMedia(e.media)).filter(Boolean))e.addEventListener(`change`,s)})();var d=new Set,f=e=>(d.add(e),d.size===1&&window.addEventListener(`resize`,m),()=>{d.delete(e),d.size===0&&window.removeEventListener(`resize`,m)}),p={width:`window`in globalThis?window.innerWidth:0,height:`window`in globalThis?window.innerHeight:0},m=()=>{let e=window.innerWidth,t=window.innerHeight;if(e!==p.width||t!==p.height){p={width:e,height:t};for(let e of d)e()}},h=()=>p,g=({width:e=0,height:t=0}={})=>{let a=(0,n.useCallback)(()=>({width:e,height:t}),[e,t]),{width:o,height:s}=(0,n.useSyncExternalStore)(f,h,a);return(0,n.useMemo)(()=>{let e=o<i[r.SM].value,t=o>=i[r.XL].value;return{width:o,height:s,isMobile:e,isDesktop:t}},[o,s])},_=()=>typeof document>`u`?!1:(document.documentElement.getAttribute(`dir`)||document.body.getAttribute(`dir`))?.toLowerCase()===`rtl`,v={STORAGE_NAMESPACE_EXPIRATION:`com.toyota.tme.user.token_expires_at`,STORAGE_NAMESPACE_TOKEN:`com.toyota.tme.user.token`},y=()=>
1{if(!globalThis.localStorage)return!1;let e=globalThis.localStorage.getItem(v.STORAGE_NAMESPACE_EXPIRATION);if(!globalThis.localStorage.getItem(v.STORAGE_NAMESPACE_TOKEN)||!e)return!1;let t=Number(e);return!Number.isNaN(t)&&t>Date.now()},b=({name:e,componentName:t,componentGroup:n,action:r,label:i})=>{T1.channels.statistics.publish(dxp.constants.TOPICS_T1.STATS_TRACK,{extraData:{event:{name:e,componentName:t,componentGroup:n,action:r,label:i}}})};export{i as a,_ as c,g as i,l,u as n,r as o,b as r,c as s,y as t};
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.