1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[733],{12911:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/authorization",function(){return a(91142)}])},91142:function(e,t,a){"use strict";a.r(t);var s=a(85893),n=a(67294),r=a(11163),o=a(58467),i=a(21313);let u=()=>{let e=(0,r.useRouter)(),[t,a]=n.useState(!0),[u,c]=n.useState("");return n.useEffect(()=>{let{code:t,state:s}=e.query;async function n(){try{a(!0);let e=await o.ZP.post("/ticket-config-info/save-authorization-code",{code:t,state:s});if(e.data.error)throw Error(e.data.error.message);a(!1)}catch(e){a(!1),c(e.message)}}t&&s&&n()},[e.query]),(0,s.jsx)("div",{className:"authorization",style:{justifyContent:"center",alignItems:"center",display:"flex",height:"100vh"},children:t?(0,s.jsx)(i.aN,{message:"Processando autoriza\xe7\xe3o"}):(0,s.jsx)("h1",{children:u||"Autorizacao feita com sucesso!"})})};t.default=u}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=12911)}),_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.