PageSourceSearch

https://techplay.jp/webv2/assets/a5dc16a/build/assets/SearchHeader-Dg1fKlku.js

js techplay.jp collected 2026-10-02 02:47:27 UTC 1,838 bytes, 1 lines download raw bytes

1import{X as m,j as e,I as h,as as p,F as a,at as u,B as f,E as g,f as b,T as n,au as j,av as N,aw as y}from"./app-CQDOLSaW.js";function v({onChangePrefecture:l,onChangeKeyword:i,onSearch:c,showFavoriteOnly:s,setShowFavoriteOnly:o,initialKeyword:x="",initialAreaIds:d=[]}){const{auth:t}=m().props;return e.jsx("header",{className:"w-full",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("form",{className:"flex items-center",onSubmit:r=>{r.preventDefault(),c()},children:[e.jsx(h,{type:"text",placeholder:"キーワード",className:"h-8 md:h-8 w-40 rounded-none border-gray-300 border-r-0",defaultValue:x,onChange:r=>i(r.target.value)}),e.jsx(p,{onChangeArea:l,defaultAreaIds:d,inputClassName:"h-8 w-40 cursor-pointer bg-white rounded-none pr-8 border-gray-300"}),e.jsx("button",{type:"submit",className:"h-8 px-4 bg-secondary hover:bg-steel-blue text-white rounded-none flex items-center justify-center","aria-label":"検索",children:e.jsx(a,{icon:u})})]}),t&&e.jsxs(f,{type:"button",onClick:()=>o(!s),className:g("h-8 px-4 w-40 rounded-sm text-sm text-white flex items-center gap-2",s?"bg-pink-500 hover:bg-pink-800":"bg-gray-300 hover:bg-gray-400"),"aria-label":s?"お気に入り関連表示を解除":"お気に入り関連のみ表示",children:[e.jsx(a,{icon:b}),"お気に入り関連"]}),e.jsx("div",{className:"flex-1"}),e.jsxs("div",{className:"flex gap-6 text-sm",children:[e.jsxs(n,{href:j("RSS_URL"),className:"flex items-center gap-1",target:"_blank",variant:"primary",children:[e.jsx(a,{icon:N,className:"text-orange-500",fontSize:20}),"新着イベントFeed"]}),t&&e.jsxs(n,{href:"/mypage/user_tags",className:"flex items-center gap-1",variant:"primary",children:[e.jsx(a,{icon:y,fontSize:16}),"お気に入りタグ設定"]})]})]})})}v.displayName="SearchHeader";export{v as SearchHeader};

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.