PageSourceSearch

https://classroom66.com/_nuxt/QZG0BoDV.js

js classroom66.com collected 2026-10-08 17:36:44 UTC 1,668 bytes, 1 lines download raw bytes

1import{g as _,aj as S,a2 as y,y as v,r as x,c as b,K as q,o as g,a as w,e as s,l as i,b as n,w as V,O as B,A as C,n as o,v as F,P as k,f as A,_ as R}from"./Dszslav8.js";import{V as U}from"./gRp6WLlt.js";import"./C-GTDzx5.js";const $={class:"ma-0 search-container"},z={class:"search-input-wrapper"},D=["placeholder"],H=_({__name:"SearchBar",props:{handleSubmit:{required:!1,type:Function,default:void 0},placeholder:{required:!1,type:String,default:"Search"},maxWidth:{required:!1,type:String,default:"60%"}},setup(c){S(e=>({"4b305d09":c.maxWidth}));const{queryParams:l,isPartnerUrlHack:u}=y(),{siteStyle:d}=v(),a=x(""),f=e=>{if(e.preventDefault(),!a.value.trim())return;const t=new URLSearchParams(window.location.search);t.set("query",a.value.trim()),window.location.href=`${u.value}/search?${t.toString()}`},r=c,m=b(()=>r.handleSubmit?r.handleSubmit:f);return q(l,e=>{e&&e.query&&(a.value=Array.isArray(e.query)?e.query[0]:e.query)},{immediate:!0}),(e,t)=>{const h=A;return g(),w("div",$,[s(U,{class:"d-flex custom-form",role:"search",onSubmit:o(m)},{default:i(()=>[n("div",z,[V(n("input",{"onUpdate:modelValue":t[0]||(t[0]=p=>B(a)?a.value=p:null),class:C(o(d)("custom-input")),type:"text",placeholder:r.placeholder,name:"query",title:"Search For:",role:"search",autocomplete:"off",autocapitalize:"off",autocorrect:"off"},null,10,D),[[F,o(a)]]),s(k,{id:"search-button",class:"search-icon-inside",fab:"",elevation:"0","x-small":"","aria-label":"Search",type:"submit"},{default:i(()=>[s(h,{name:"magnifier",width:"18px",height:"18px",class:"search-magnifier-icon"})]),_:1})])]),_:1},8,["onSubmit"])])}}}),W=R(H,[["__scopeId","data-v-ffc0ea9a"]]);export{W 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.