1import{E as p,d as m,c as f,b as w,Q as h,q as C,v as b,x as d,A as y,y as x}from"./BJhlU1rR.js";import{u as U}from"./BHREDrN6.js";import{_ as g}from"./DlAUqK2U.js";async function v(a){const{appAuthorizationHeader:e}=U();return await $fetch.raw("/payment/credit-card/url",{baseURL:p().public.apiBaseURL,method:"POST",credentials:"include",headers:{...e&&e},body:{language:a,origin:window.location.origin}}).catch(t=>t.data)}const R=m({__name:"WebviewCreditCardUrl",async setup(a){let e,t;const{setLocale:u}=f(),_=w(),c=h(),n=_.params.locale,s=`/webviews/${n}/credit-card/error`;[e,t]=C(()=>u(n)),await e,t(),b(async()=>{await l()});async function l(){var o;try{const r=await v(n),i=(o=r==null?void 0:r._data)==null?void 0:o.url;if(i){window.location.href=i;return}await c.push(s)}catch{await c.push(s)}}return(o,r)=>(d(),y("div"))}}),A=Object.assign(R,{__name:"WebviewCreditCardUrl"}),B={};function k(a,e){const t=A;return d(),x(t)}const z=g(B,[["render",k]]);export{z 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.