PageSourceSearch

https://motionrc.com/_nuxt/Ct5sG3hm.js

js motionrc.com collected 2026-09-24 11:52:34 UTC 4,433 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./D4Iimqcf.js","./CKrlm23X.js","./entry.ZYx_Rulb.css","./Br0Sq86H.js","./DR4WvyCt.js","./Dipz0mOK.js","./DlTdmcQM.js","./DYhuZYrv.js","./QaXmPHdc.js","./B717CpAW.js","./C-CsLsGQ.js","./BLbCACQC.js","./Menu.C3YFmlZz.css","./04JDPOdq.js","./Bo5bWmai.js"])))=>i.map(i=>d[i]);
2import{b1 as x,bJ as k,bY as L,bu as S,b_ as C,bs as g,b3 as y,b4 as p,bx as b,b9 as c,b5 as e,bk as E,bK as P,b6 as r,b7 as I,b8 as z,bd as v,bo as A,bf as B,bb as f,ba as R,bq as M,bh as h}from"./CKrlm23X.js";import{u as V}from"./CsPTs1HB.js";import{a as j}from"./BLbCACQC.js";const H={class:"desktop-instant-search instant-search-container relative md:max-w-[300px] xl:max-w-[625px]"},N={id:"instant-search",ref:"instant-search",class:"instant-search-input placeholder:text-[#414141]",placeholder:"Search",type:"text","data-lb-init":""},T=x({__name:"Search",setup(o){const{query:_,onSubmit:l}=V(),{setForceLoading:n}=k(),u=L(),i=S(),d=C("instant-search");g(()=>{setTimeout(()=>{const t=document.getElementById("instant-search");t&&t.addEventListener("keydown",async s=>{if(s.key!=="Enter")return;s.preventDefault(),s.stopPropagation();const a=document.getElementsByClassName("luigi-ac-button")[0];a?(n(!0),a==null||a.click()):await l()})},500)});const m=()=>{var s;let t="";if((s=d.value)!=null&&s.value)t=d.value.value;else{const a=document.getElementById("instant-search");a!=null&&a.value&&(t=a.value)}!t&&_.value&&(t=_.value),!(!t||!t.trim())&&(_.value=t,u.push({path:i("/search"),query:{search:t.trim()}}))};return(t,s)=>(p(),y("form",{class:"header-search",onSubmit:s[0]||(s[0]=b((...a)=>c(l)&&c(l)(...a),["prevent"]))},[e("div",H,[e("input",N,null,512),e("button",{type:"button",class:"instant-search-close cursor-pointer flex items-center justify-center","aria-label":"Search",onClick:b(m,["prevent"])},s[1]||(s[1]=[e("svg",{"aria-hidden":"true",focusable:"false",role:"presentation",class:"text-[#414141] pointer-events-none",width:"34",height:"34",viewBox:"0 0 34 34"},[e("rect",{fill:"#fff",width:"32",height:"32",style:{opacity:"0"}}),e("path",{fill:"currentColor",d:"M18.218,16.4,13.9,11.94a7.214,7.214,0,0,0,1.717-4.672A7.308,7.308,0,1,0,12.5,13.22l4.347,4.489A.951.951,0,0,0,18.218,16.4ZM8.3,1.9A5.372,5.372,0,1,1,2.893,7.267,5.4,5.4,0,0,1,8.3,1.9Z",transform:"translate(6.016 7)"})],-1)]))])],32))}}),D=f(()=>h(()=>import("./D4Iimqcf.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(o=>o.default||o)),F=f(()=>h(()=>import("./QaXmPHdc.js"),__vite__mapDeps([8,1,2,9,10,11,12]),import.meta.url).then(o=>o.default||o)),O=f(()=>h(()=>import("./04JDPOdq.js"),__vite__mapDeps([13,1,2,14]),import.meta.url).then(o=>o.default||o)),$={class:"bg-white"},q={class:"flex justify-between items-center py-2 md:py-3 page-width"},Y={class:"header-logo"},Z={class:"flex align-center"},J={class:"relative mb-0 mt-1"},K={class:"pr-4 py-2 inline-flex items-center justify-center"},W={class:"!flex align-center !mb-0"},G=x({__name:"Index",setup(o){const{x:_,y:l}=j(),n=E("setup-small-header",()=>!1);return P(l,(u,i)=>{u>=175&&!n.value?n.value=!0:u<=175&&n.value&&(n.value=!1)}),g(()=>{l.value>=175&&(n.value=!0)}),(u,i)=>{const d=A,m=B,t=T,s=D,a=F,w=O;return p(),y(M,null,[e("div",$,[e("div",q,[e("div",Y,[e("div",Z,[e("div",J,[r(m,{to:"/"},{default:v(()=>[r(d,{preset:"remote",src:"/images/logo-new.webp",loading:"eager",alt:"logo",width:360,height:42}),i[0]||(i[0]=e("div",{class:"text-[#222] font-[Calibre-Regular] text-[12px] xl:text-[16px] italic leading-4 tracking-wide text-right font-normal"}," Your #1 Source for RC and Hobby Products ",-1))]),_:1})])])]),c(n)?z("",!0):(p(),I(t,{key:0})),e("div",K,[r(m,{to:"/parts-finder",class:"inline-flex items-center justify-center group"},{default:v(()=>[e("span",W,[r(d,{src:"/images/screwdriver-wrench.svg",loading:"eager",preset:"remote",alt:"logo",width:18,height:18,class:"block mr-2"}),i[1]||(i[1]=e("span",{class:"tracking-none font-[Calibre-Medium] !mb-0 mt-[5px] group-hover:text-[#197CFF]"}," Parts Finder ",-1))])]),_:1})]),r(s)]),r(a,{"setup-small-header":!1})]),r(a,{class:R([{"max-h-0 opacity-0 invisible":!c(n),"max-h-96 opacity-100 visible":c(n)},"w-full top-0 !fixed z-[10000] bg-white transition-all duration-150"]),"setup-small-header":c(n)},null,8,["class","setup-small-header"]),r(w)],64)}}}),ee=Object.freeze(Object.defineProperty({__proto__:null,default:G},Symbol.toStringTag,{value:"Module"}));
2export{ee as I,T as _};

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.