import{I as a}from"./icon-search.f54aed7d.js";import{d as r,r as l,c as A,b as o,a as c}from"./index.3718c0a8.js";import{I as d}from"./index.2b675c4f.js";import{B as S,T as g}from"./index.e03f08ff.js";const i=""+new URL("logo.99e9d2c1.png",import.meta.url).href,p=""+new URL("logo-white.b728ac73.png",import.meta.url).href,u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAABQCAYAAAC3dkP2AAAAAXNSR0IArs4c6QAACiFJREFUeF7tXAesbUUVXUtBaTZEQIiASjEGBCSKggFUmggqImoEQXoTiEoTASkCAaXoB6VYkKagsYBRLIiNpoKSYAcUsAAaOkh1kfWY+73//nvP7Jl77n335b+d3LzknT179qwzZ2bPLkOMiSQ9G8C6ANYAsGr6rQDgOem3BIDHATyQfvcA+AuAP6ffNSRvGZO62W6Y5RiCQdIqAN4N4E0AXg9g0SHEueltAH4C4LsALiH53yHlVTdvHThJnkE7AtgewGsBtN5HGu39AL4B4Eskf1aNQGXD1gYlaSkA+wPYB8ALKvWpbXY1gOMBfIekaoWUtBsauLR2HQjgEACLl3Q+At7rAOxL0kCOlIYCTtLmAD4DwGvZpND/AJwD4GCS/xmVUlXApVn2qfRZVskY1YC65P4LwHYkrxhFX8WDlrQygIsBrD0KhVqW+SSAYwEcRdIzsTUqAk7S67wAA3hhaxqMR9DXvcuTfLSt7sLASXorgItGsAE8AeBBAA8BWCgZw7b3wroFwbD99w6S9wX5G9lCyiXQvglg4SE79WL90/S70ScCkv/olSlpEQBeEnzCsC24EYB1ErDDqHAtgDeT9EsairLASVoPwA8BLFbZk5X0mngBgCtq1xpJL0qnEBvXr6nUxc2+D2Arkj7eVVMjcJJWA3AVgCUrergXwBybK22bBZI2BHAogE0r9HKT80m+v7LtVLOBwEnyOnMNgFcVdmDL/cvJjrqrsG0Re1pCPg3g5UUNn2bei+QZFe2ywJ0FYLdCwXcC2IHkDwrbVbOnF3wKgD0KhTxixwPJ3xa2GwycpLcB+HahQH/S25C8o7BdK+yS3usDPwBvLF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haGysHzKDnrmFwwOnsfmdlSV6Xnf6QA60j3+Dt2lSe1BpwnR4l+WKBDwJw1H+UAWzbhXYfuZz8ApKPDUJVUklYoCPGZ1mDZ/nzUevAdQFoe8+WfufGwkiUKTfjDM6v0uzxScQ1WiGS5EI4F8SVkMHbrXeDsYCRAdfnU/b50jfW9N6R6bsze8kKO8W2c0emAy6+pebKYdxWFWXz1su6OJl6Hjfb2IBr+IzsCvLa03256EOjunlQUrTgr1tlg+ddem4a7LQDV/LdtMUr6WgAhxfKM3hOOJxK418ggfPAKzcMb0h7+4acBRa4BJ4TpI8snHkGb58FGrgEnr3AjTUNfYCds8ADl8CLVlCbfQ7J/WaBS9MpWK7kK92mstZngev6DjM3RpxK0rW9UzQLXM8CJsnnbUfpuukUkvMkXs4C12fll9Sdid830j8L3ABbRJKvIV+apP/OR08BJFszcxXTqUQAAAAASUVORK5CYII=",B="_theHeader_1jk14_1",w="_logo_1jk14_10",L="_undis_1jk14_21",C="_btn_1jk14_26",f="_icon_1jk14_35",D="_light_1jk14_43",h="_dark_1jk14_46",e={theHeader:B,logo:w,undis:L,btn:C,icon:f,light:D,dark:h},b=r({name:"TheHeader",props:{theme:{type:String,default:"light"}},setup(n){const k=c(),s=l();return()=>A("div",{class:[e.theHeader,n.theme=="light"?e.light:e.dark]},[A("a",{class:e.logo,href:"/mobile"},[A("img",{src:n.theme=="light"?i:p},null),A("span",{class:e.undis},[o("\u9177\u4E50\u79C0")])]),A(S,{type:"primary",class:e.btn,round:!0,size:"small",onClick:()=>{var t;return(t=s.value)==null?void 0:t.downLoadApp()}},{default:()=>[o("\u6253\u5F00APP")]}),A(d,{class:e.icon,name:n.theme=="light"?a:u,color:"#333",onClick:()=>k.push("/search")},null),A(g,{ref:s},null)])}});export{b as T};