1import{r as c,d as i,b as s,u as g,a as e,w as l,F as h,o as u,l as k,t as _,f,g as x,e as w}from"./app-TTdzKPnM.js";import{A as T}from"./AuthenticationCard-oUr6Moz3.js";import{_ as A}from"./SaturnLogo-Benrq5yy.js";import{_ as y}from"./SaturnButton-DBZVI7YW.js";import{_ as C}from"./SimpleStarBackground-2FN508sB.js";import"./_plugin-vue_export-helper-1Fh_g1AI.js";try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="9b287a41-ab9a-4a4c-8c6f-165ffc652f9b",t._sentryDebugIdIdentifier="sentry-dbid-9b287a41-ab9a-4a4c-8c6f-165ffc652f9b")}catch{}const z={class:"fixed inset-0 -z-50"},B={class:"font-medium text-gray-900 mb-6"},D={class:"text-blue-600"},F={key:0,class:"mb-6"},S={class:"space-y-2"},E={class:"text-sm text-gray-600"},I={class:"flex justify-end gap-x-4"},N=["action"],R=["value"],V=["value"],$=["value"],j=["value"],L=["action"],q=["value"],O=["value"],G=["value"],H=["value"],W={__name:"Authorization",props:{client:Object,scopes:Array,state:String,authToken:String,csrf_token:String},setup(t){const a=t,o=c(!1),d=c(null),r=c(null);function b(){o.value=!0,d.value&&d.value.submit()}function v(){o.value=!0,r.value&&r.value.submit()}return(m,n)=>(u(),i(h,null,[s(g(k),{title:"Authorization"}),e("div",z,[s(C)]),s(T,null,{logo:l(()=>[s(A,{height:"32"})]),default:l(()=>[e("div",B,[e("strong",D,_(t.client.name),1),n[0]||(n[0]=f(" is requesting permission to access your account. "))]),t.scopes&&t.scopes.length>0?(u(),i("div",F,[n[2]||(n[2]=e("p",{class:"text-sm font-medium text-gray-700 mb-3"},"This application will be able to:",-1)),e("ul",S,[(u(!0),i(h,null,x(t.scopes,p=>(u(),i("li",{key:p.id,class:"flex items-start"},[n[1]||(n[1]=e("span",{class:"material-symbols-outlined text-green-500 text-sm mr-2 mt-0.5",translate:"no"},"check_circle",-1)),e("span",E,_(p.description),1)]))),128))])])):w("",!0),e("div",I,[e("form",{ref_key:"cancelFormRef",ref:r,action:m.route("passport.authorizations.deny"),method:"post"},[n[4]||(n[4]=e("input",{type:"hidden",name:"_method",value:"DELETE"},null,-1)),e("input",{type:"hidden",name:"client_id",value:t.client.id},null,8,R),e("input",{type:"hidden",name:"state",value:t.state},null,8,V),e("input",{type:"hidden",name:"auth_token",value:t.authToken},null,8,$),e("input",{type:"hidden",name:"_token",value:a.csrf_token},null,8,j),s(y,{disabled:o.value,color:"saturn_gray",onSaturnButtonClicked:v},{default:l(()=>n[3]||(n[3]=[f(" Cancel ")])),_:1},8,["disabled"])],8,N),e("form",{ref_key:"approveFormRef",ref:d,action:m.route("passport.authorizations.approve"),method:"post"},[e("input",{type:"hidden",name:"client_id",value:t.client.id},null,8,q),e("input",{type:"hidden",name:"state",value:t.state},null,8,O),e("input",{type:"hidden",name:"auth_token",value:t.authToken},null,8,G),e("input",{type:"hidden",name:"_token",value:a.csrf_token},null,8,H),s(y,{disabled:o.value,color:"lunar",onSaturnButtonClicked:b},{default:l(()=>n[5]||(n[5]=[f(" Authorize ")])),_:1},8,["disabled"])],8,L)])]),_:1})],64))}};export{W as default}; 2//# sourceMappingURL=Authorization-BwWii2BN.js.map
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.