PageSourceSearch

https://www.olhonocarro.com.br/_next/static/chunks/pages/consulta-zapay/[queryId]-316a043267607499.js

js olhonocarro.com.br collected 2026-10-02 06:55:51 UTC 7,765 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b2668043-7425-47ae-bd1b-0be0ed935ee0",e._sentryDebugIdIdentifier="sentry-dbid-b2668043-7425-47ae-bd1b-0be0ed935ee0")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9907],{799:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var a=n(49417);class s{async requestAutoReprocessQuery(e,t){try{await this._autoReprocessQueryService.requestAutoReprocessQuery(e,t)}catch(e){console.error(e)}}constructor(e){this._autoReprocessQueryService=e}}var l=n(21623);let o=new s(new a.A(l.C));async function r(e,t){await o.requestAutoReprocessQuery(e,t)}},8139:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/consulta-zapay/[queryId]",function(){return n(65238)}])},36434:(e,t,n)=>{"use strict";n.d(t,{P:()=>f});var a=n(5640),s=n(1241),l=n.n(s),o=n(50148),r=n(56014),c=n(73192),d=n(50360),i=n(799),u=n(40411),g=n(84845),x=n(44163),p=n(16950);function f(e){let t="Consulta veicular Olho no carro de placa ".concat(e.placa,"\n\n").concat(window.location.protocol+"//"+window.location.host+(0,g.Vh)(e.consultaID)),n="undefined"!=typeof navigator&&/iPhone|Android/i.test(navigator.userAgent)?"https://wa.me/?text=".concat(encodeURIComponent(t)):"https://web.whatsapp.com/send?text=".concat(encodeURIComponent(t));return(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row lg:items-start lg:justify-between print:flex-row print:items-center print:justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row lg:gap-10 print:flex-row print:gap-10",children:[(0,a.jsx)("div",{className:"flex w-full justify-center lg:w-fit print:w-fit",children:e.brandImageUrl&&(0,a.jsx)(b,{brandImageUrl:e.brandImageUrl})}),(0,a.jsxs)("div",{className:"flex flex-col justify-center gap-6",children:[(0,a.jsx)(m,{consultaTipo:e.consultaTipo,nome:e.nome,placa:e.placa}),(0,a.jsx)(x.c,{queryStatus:e.status,urlShare:n})]})]}),(0,a.jsx)(h,{consultaID:e.consultaID,dataConsulta:e.dataConsulta,statusName:e.statusName})]}),(0,a.jsx)(y,{queryId:e.consultaID,queryOwnerId:e.userId,status:e.status,unavailableServices:e.unavailableServices}),e.disableSearch?null:(0,a.jsx)(p.Z,{onTextSearch:e.onTextSearch})]})}function b(e){let{lg:t}=(0,c.f)();return(0,a.jsx)(l(),{src:e.brandImageUrl,alt:"Logo do ve\xedculo pesquisado",layout:"fixed",width:t?"151":"104",height:t?"151":"104"})}function m(e){return(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 lg:gap-4",children:[(0,a.jsx)("p",{className:"text-center text-gng-subtitle-1-app font-[900] text-onc-tertiary lg:text-left print:text-left",children:e.consultaTipo}),(0,a.jsx)("p",{className:"text-center text-gng-subtitle-1-app font-[900] text-gng-neutral-dark lg:text-left print:text-left",children:e.nome}),(0,a.jsx)("span",{className:"block text-center text-gng-subtitle-2-app font-[900] text-onc-secondary lg:text-left print:text-left",children:e.placa})]})}function h(e){return(0,a.jsxs)("div",{className:"flex flex-col items-center gap-4 lg:items-end print:items-end",children:[(0,a.jsxs)("p",{className:"gap-[1ch] text-center text-gng-body-2-web-bold lg:flex lg:text-gng-body-1-web-bold print:flex",children:["DATA DA CONSULTA:",(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"text-gng-body-2-web lg:text-gng-body-1-web",children:e.dataConsulta})]}),(0,a.jsxs)("p",{className:"gap-[1ch] text-center text-gng-body-2-web-bold lg:flex lg:text-gng-body-1-web-bold print:flex",children:["ID DA CONSULTA:",(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"text-gng-body-2-web lg:text-gng-body-1-web",children:e.consultaID})]}),(0,a.jsxs)("p",{className:"gap-[1ch] text-center text-gng-body-2-web-bold lg:flex lg:text-gng-body-1-web-bold print:flex",children:["STATUS DA CONSULTA:",(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"text-gng-body-2-web lg:text-gng-body-1-web",children:e.statusName})]})]})}function y(e){let{queryId:t,queryOwnerId:n,status:s,unavailableServices:l}=e,{user:c,token:g}=(0,r.As)("none"),[x,p]=(0,o.useState)(!1),f=(0,o.useMemo)(()=>"reprocessing"===s||x,[s,x]);return!g||(null==c?void 0:c.id)!==n||l.length<=0?null:(0,a.jsxs)("div",{className:"flex w-full flex-col rounded-lg bg-onc-secondary p-4 lg:flex-row lg:items-stretch",children:[(0,a.jsxs)("p",{className:"text-center text-gng-body-1-app-bold text-gng-neutral-white lg:self-ce
1nter lg:text-start lg:text-gng-body-1-web-bold",children:["Algumas das informa\xe7\xf5es est\xe3o momentaneamente indispon\xedveis nos fornecedores:",l.map((e,t,n)=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"text-gng-status-critical",children:[" ",e.name]}),n.length>t+1?(0,a.jsx)("span",{className:"",children:","}):null]}))]}),(0,a.jsx)(d.$,{variant:"solid",size:"sm",disabled:f,onClick:()=>{p(!0),(0,i.T)(g,t).catch(()=>{p(!1)})},className:(0,u.cn)("mt-4 text-gng-body-2-app-bold uppercase hover:cursor-pointer lg:ml-4 lg:mt-0 lg:min-w-fit lg:flex-grow lg:text-gng-body-2-web-bold",f?"bg-gng-neutral-dark text-gng-neutral-white":"bg-gng-neutral-white text-onc-secondary"),children:f?"Em processamento, levar\xe1 at\xe9 24h":"consultar novamente (gr\xe1tis)"})]})}},65238:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>d,default:()=>i});var a=n(5640),s=n(36434),l=n(12288),o=n(65679),r=n(18850),c=n(50148),d=!0;function i(e){let{queryData:t,queryId:n,queryCode:d,queryUserId:i,queryStatus:u}=e,g=(0,c.useRef)(new EventTarget);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.e,{}),(0,a.jsxs)("main",{className:"bg-gng-neutral-lightest font-roboto",children:[(0,a.jsx)("section",{className:"bg-gng-neutral-white font-roboto",children:(0,a.jsx)("div",{className:"container mx-auto px-4 py-6 print:max-w-none print:px-12",children:(0,a.jsx)(s.P,{...t.header,onTextSearch:e=>g.current.dispatchEvent(new CustomEvent("search",{detail:{search:e}}))})})}),(0,a.jsx)("section",{className:"container mx-auto flex flex-col gap-8 py-8 lg:px-4 print:max-w-none",children:(0,a.jsx)(o.h,{queryCode:d,queryId:n,children:(0,a.jsx)(l.f,{queryCode:d,queryId:n,queryStatus:u,queryData:t,searchEvTarget:g.current,renderAt:"regular"})})})]})]})}},84845:(e,t,n)=>{"use strict";n.d(t,{UW:()=>i,Vh:()=>l,XW:()=>o,iu:()=>r,mV:()=>c,yR:()=>d}),new Map().set("veiculo-completo",{queryId:"63ebdf349a010c9ef47b764d",queryCode:"100"}).set("veiculo-essencial",{queryId:"63ebe03a9a010c9ef47bbdc1",queryCode:"30"}).set("leilao-e-dados-do-veiculo",{queryId:"604f4493a9c20805142ca3b3",queryCode:"18"}).set("gravame",{queryId:"604f44a4a9c20805142ca4fc",queryCode:"15"}).set("dados-cadastrais-do-veiculo",{queryId:"604f44b4a9c20805142ca684",queryCode:"98"});let a=new Map().set("63ebdf349a010c9ef47b764d","veiculo-completo").set("63ebe03a9a010c9ef47bbdc1","veiculo-essencial").set("604f4493a9c20805142ca3b3","leilao-e-dados-do-veiculo").set("604f44a4a9c20805142ca4fc","gravame").set("604f44b4a9c20805142ca684","dados-cadastrais-do-veiculo"),s=new Map().set("100","veiculo-completo").set("30","veiculo-essencial").set("18","leilao-e-dados-do-veiculo").set("15","gravame").set("98","dados-cadastrais-do-veiculo");function l(e){return e?"/consulta/".concat(encodeURIComponent(e)):""}function o(e){return e?"/perfil/consulta/".concat(encodeURIComponent(e),"/processando"):""}function r(e){let t="/api/query/".concat(encodeURIComponent(e),"/progress/sse");return"".concat("https://onc-uluru-api.olhonocarro.com.br").concat(t)}function c(e){return"/modelo/".concat(e)}function d(e){return a.get(e)}function i(e){return s.get(e)}}},e=>{var t=t=>e(e.s=t);e.O(0,[7489,1298,9292,2079,5539,3538,722,6977,6442,183,9006,2288,636,6593,8792],()=>t(8139)),_N_E=e.O()}]);

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.