PageSourceSearch

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

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

1import{bb as E,b2 as $,bs as R,bl as V,bt as z,bu as L,bz as U,b4 as f,b7 as n,b8 as b,b5 as p,bc as e,bo as j,bk as H,bj as t,ba as M,bn as O,b3 as d,bh as G,b9 as _}from"./DVKR6D2q.js";import{u as J,T as K,_ as P}from"./ByVGcN7H.js";import"./DQJeOOzA.js";import"./KVW1jhOy.js";import"./BQ77zyE_.js";import"./2RVJxNfa.js";import"./BfH2CooI.js";import"./DnRWIRB3.js";import"./8YS-q7nV.js";import"./C-DV0Fpb.js";import"./SKL_hXGU.js";import"./CL-nRrYq.js";import"./Q6_apbK7.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new o.Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="4130876c-cb9e-43ca-ac4a-bf6f3fb166d5",o._sentryDebugIdIdentifier="sentry-dbid-4130876c-cb9e-43ca-ac4a-bf6f3fb166d5")}catch{}})();const Q={class:"flex justify-end pt-2"},le=E({__name:"new-ticket",async setup(o){let a,c;$({title:"Nova solicitação"});const g=R(),u=V(),{userLogged:l}=z(),{helpcenterConfig:i,loadConfig:y,configLoaded:v}=L(),{ticketFormRef:h,submitting:m,submitForm:k}=J();if(!v.value)try{[a,c]=U(()=>y()),await a,c()}catch(r){console.warn("[new-ticket] Failed to load helpcenter config",r)}const x=t(()=>i.value?.formId||""),w=t(()=>l.value?.id),C=t(()=>l.value?.name),F=t(()=>l.value?.email),I=t(()=>i.value?.includeCCAndCCO),q=t(()=>i.value?.isSmartForm),N=t(()=>!!i.value?.formId);async function T(){try{const r=await k();if(!r)return;u.add({title:`Solicitação #${r} criada com sucesso`,color:"success"}),g.push(`/helpcenter/ticket/${r}`)}catch{u.add({title:"Erro ao criar solicitação",color:"error"})}}return(r,s)=>{const B=G,S=M,A=O,D=P;return d(),f("div",null,[n(S,{to:"/helpcenter",class:"inline-flex items-center gap-1 text-sm text-neutral-500 hover:text-blue-600 transition-colors mb-4"},{default:b(()=>[n(B,{name:"i-mdi-arrow-left",class:"size-4"}),s[0]||(s[0]=_(" Voltar para solicitações ",-1))]),_:1}),s[2]||(s[2]=p("h1",{class:"text-xl md:text-2xl font-semibold text-neutral-800 mb-6"}," Nova solicitação ",-1)),e(N)?(d(),f("form",{key:0,class:"bg-white rounded-lg border border-neutral-200 p-6 space-y-5",onSubmit:j(T,["prevent"])},[n(K,{ref_key:"ticketFormRef",ref:h,"form-id":e(x),"is-logged":!0,"requester-id":e(w),"requester-name":e(C),"requester-mail":e(F),"include-cc-and-cco":e(I),"is-smart-form":e(q)},null,8,["form-id","requester-id","requester-name","requester-mail","include-cc-and-cco","is-smart-form"]),p("div",Q,[n(A,{type:"submit",loading:e(m),disabled:e(m),size:"md"},{default:b(()=>[...s[1]||(s[1]=[_(" Enviar solicitação ",-1)])]),_:1},8,["loading","disabled"])])],32)):(d(),H(D,{key:1,title:"Formulário indisponível",description:"Este help center não possui um formulário configurado para abertura de solicitações.",color:"warning",variant:"soft",icon:"i-mdi-alert-circle-outline",class:"rounded-lg"}))])}}});export{le as default};

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.