PageSourceSearch

https://atendimento-pagamentos.vindi.com.br/_nuxt/DoAmsOPD.js

js vindi.com.br collected 2026-10-09 22:39:22 UTC 3,133 bytes, 1 lines download raw bytes

1import{bb as x,bp as y,b3 as c,b4 as b,b5 as f,b7 as I,b8 as S,bc as l,bk as _,c8 as B,bm as w,be as V,bn as $,bh as C,bE as q,cU as A,bg as v,b6 as T,bi as U,bI as D,bj as o,dh as E,cc as z}from"./DVKR6D2q.js";import{_ as O}from"./BQ77zyE_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="76be64a3-4722-4931-b2fa-08103f1c293e",e._sentryDebugIdIdentifier="sentry-dbid-76be64a3-4722-4931-b2fa-08103f1c293e")}catch{}})();const R=x({__name:"SearchBar",props:{placeholder:{default:"Pesquisar"},searchButtonLabel:{default:"Pesquisar"},searchInitialValue:{default:""}},emits:["search"],setup(e,{emit:t}){const s=e,i=t,n=y(s.searchInitialValue),u=y(),d=()=>{n.value="",q(()=>{u.value?.$el?.querySelector("input")?.focus()})},m=()=>{n.value.trim()&&i("search",n.value)};return(h,r)=>{const a=$,g=C,p=O;return c(),b(V,null,[r[1]||(r[1]=f("label",{for:"search",class:"sr-only"},"Buscar artigo",-1)),I(p,{id:"search",ref_key:"inputRef",ref:u,modelValue:l(n),"onUpdate:modelValue":r[0]||(r[0]=k=>w(n)?n.value=k:null),placeholder:e.placeholder,class:"w-full",ui:{base:"rounded-lg px-4 h-12"},onKeyup:B(m,["enter"])},{trailing:S(()=>[l(n)?.length?(c(),_(a,{key:0,icon:"i-mdi-close",variant:"link",ui:{leadingIcon:"size-6 text-blueGray-800 hover:opacity-75 cursor-pointer"},"aria-label":"Limpar campo de pesquisa",onClick:d})):(c(),_(g,{key:1,name:"i-mdi-magnify","aria-hidden":"true",class:"size-6 text-blueGray-800"}))]),_:1},8,["modelValue","placeholder"])],64)}}}),j=Object.assign(R,{__name:"SearchBar"}),G={class:"container mx-auto relative z-10"},N={key:0,class:"font-semibold text-lg text-left md:text-center md:text-3xl"},H=x({__name:"SearchArea",props:{tiny:{type:Boolean},searchInitialValue:{}},setup(e){const t=e,{currentTheme:s,currentStyle:i}=A(),n=o(()=>{const a={left:"text-left",center:"text-center",right:"text-right"};return s.value?.layout?.searchareaAlignment?a[s.value?.layout?.searchareaAlignment]??a.center:a.center}),u=o(()=>i.value?.searchArea?.radioOption==E.USE_IMAGE),d=o(()=>`px-0 md:px-6 relative overflow-hidden transition-colors duration-300 flex items-center text-[var(--search-area-text-color)] ${u.value?"bg-cover bg-center bg-no-repeat [background-image:var(--search-area-bg-image)]":"bg-[var(--search-area-bg-color)]"}`),m=o(()=>t.tiny?"tiny":s.value?.layout?.searchareaHeight),h=o(()=>{const a={tiny:"py-9 md:py-18",normal:"py-14 md:py-28",tall:"h-screen"};return m.value?[d.value,a[m.value]??a.normal]:[d.value,a.normal]}),r=a=>{z({path:"/search",query:{q:a}})};return(a,g)=>{const p=j;return c(),b("section",{class:v(l(h))},[f("div",G,[f("div",{class:v(["max-w-2xl mx-auto space-y-2 md:space-y-8",l(n)])},[e.tiny?U("",!0):(c(),b("h2",N,T(l(i)?.searchArea?.title),1)),D(a.$slots,"content",{},()=>[I(p,{placeholder:"Pesquisar","search-initial-value":e.searchInitialValue,onSearch:r},null,8,["search-initial-value"])])],2)])],2)}}}),M=Object.assign(H,{__name:"SearchArea"}),P=(e,t)=>{if(t)return{path:`/${e}/${t}`}};export{M as _,P as b};

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.