PageSourceSearch

https://www.match-planet.com/_nuxt/OID7mh2Y.js

js match-planet.com collected 2026-10-07 22:16:09 UTC 1,771 bytes, 1 lines download raw bytes

1import{f as V,d as p,S as k,o as b,g as h,a as r,n as i,q as a,E as d,w as B,A as S,M as $,j as C,F as g,G as E}from"./BEQDRGZu.js";import{_ as y}from"./BklSmU-l.js";const z={class:"w-90% m-auto mt-[1.5rem] flex items-end tablet:w-auto tablet:mt-0"},I=["disabled"],x=V({__name:"HwInputSearch",props:{modelValue:{default:""},disabled:{type:Boolean},showSearchBtn:{type:Boolean,default:!0}},emits:["onEnter","onSearch"],setup(f,{emit:w}){const l=f,u=w,s=p(!1),o=p("");function m(e){l.disabled||u("onEnter",e)}function v(){s.value=!1,u("onSearch")}return k(()=>l.modelValue,()=>{o.value=l.modelValue},{immediate:!0}),(e,t)=>{const c=E;return b(),h(g,null,[r(c,{name:"search",size:"40",class:i(["cursor-pointer",{hidden:a(s)===!0}]),onClick:t[0]||(t[0]=n=>s.value=!a(s))},null,8,["class"]),d("div",{class:i(["hidden fixed top-0 left-0 w-full h-screen z-[1] bg-white tablet:relative tablet:w-auto tablet:h-auto",{" !block":a(s)===!0}])},[d("div",z,[r(a(y),S(e.$attrs,{modelValue:a(o),"onUpdate:modelValue":t[2]||(t[2]=n=>$(o)?o.value=n:null),"show-search-btn":e.showSearchBtn,disabled:e.disabled,class:"sc-input-search px-0 pl-[1rem] w-80% tablet:w-[25.938rem]",value:a(o),onOnEnter:t[3]||(t[3]=n=>m(e.$attrs.modelValue))}),{prefix:B(()=>[d("button",{class:i(["p-0 bg-transparent border-0 outline-0 h-full placeholder:text-primaryBlack-400",[e.disabled?"cursor-inherit":"cursor-pointer"]]),disabled:e.disabled,onClick:t[1]||(t[1]=n=>m(e.$attrs.modelValue))},[r(c,{name:"search",size:"40",class:"cursor-pointer"})],10,I)]),_:1},16,["modelValue","show-search-btn","disabled","value"]),e.showSearchBtn?(b(),h("button",{key:0,class:"w-[4.063rem] h-[3.5rem] border-none bg-black text-white text-[1rem cursor-pointer",onClick:v}," 搜尋 ")):C("",!0)])],2)],64)}}});export{x 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.