1import{B as m}from"./BCard.nS0jzl.js";import{l as u}from"./bookzpro.nS0jzl.js";import{i as b}from"./ebay.nS0jzl.js";import{_ as g,c as p,w as s,Q as f,R as _,bb as h,r as x,o as n,a,a0 as y,a1 as k,d as e,j as i,F as l,t as v,q as B,g as w}from"./index.nS0jzl.js";const T={name:"FbmProEbayLanding",components:{BCard:m},data(){return{logo:u,imgEbay:b,timout:null,timoutDuration:3e3,errorMessage:null}},mounted(){this.checkSuccess()},beforeUnmount(){clearTimeout(this.timout)},methods:{checkSuccess(){const{error:o}=this.$route.query;if(o){this.errorMessage=h[o]||o;return}this.autoRedirect()},autoRedirect(){const o=this;this.timeout=setTimeout(()=>{o.redirect()},this.timoutDuration)},async redirect(){await this.$router.push({name:_.FBM_PRO_SETTINGS})}}},E={class:"bookzpro-link"},M={href:"https://bookzpro.com/",style:{"text-decoration":"none"}},V={class:"d-flex"},z={class:"circle-div bg-brand_solid clickable d-flex"},C=["src"],R=["innerHTML"],S={class:"text-danger text-center text-body-2 mt-2"},F={class:"mt-6"};function N(o,t,I,L,r,c){const d=x("b-card");return n(),p(f,{class:"bg-surface_canvas fill-height d-block",fluid:""},{default:s(()=>[a(y,{class:"h-100",align:"center",justify:"center"},{default:s(()=>[a(k,{style:{"max-width":"500px"},cols:"12",lg:"5",md:"8",sm:"8"},{default:s(()=>[e("div",E,[e("a",M,[e("div",V,[e("div",z,[e("img",{class:"bookzpro-icon",src:r.logo,alt:""},null,8,C)]),t[1]||(t[1]=e("div",{class:"bookz-pro-title text-brand pl-4"}," Bookz Pro ",-1))])])]),a(d,{padding:30},{default:s(()=>[e("div",{class:"brand-logo landing-brand-logo mx-auto mt-3",role:"img","aria-label":"eBay",innerHTML:r.imgEbay},null,8,R),r.errorMessage?(n(),i(l,{key:1},[t[4]||(t[4]=e("p",{class:"font-weight-medium text-center text-danger mt-6"}," There was a problem connecting your eBay account. ",-1)),e("p",S,v(r.errorMessage),1)],64)):(n(),i(l,{key:0},[t[2]||(t[2]=e("p",{class:"font-weight-medium text-center mt-6"}," Your eBay account has been successfully connected. ",-1)),t[3]||(t[3]=e("p",{class:"text-text_muted text-body-2 mt-6"}," Youâll be automatically redirected to the relevant page in a moment. If the automatic redirection doesnât work, click boutton below. ",-1))],64)),e("div",F,[a(B,{class:"text-capitalize",color:"secondary",rounded:"4",height:"40",variant:"outlined",block:"",onClick:t[0]||(t[0]=()=>c.redirect())},{default:s(()=>t[5]||(t[5]=[w(" Go To Settings ")])),_:1})])]),_:1})]),_:1})]),_:1})]),_:1})}const G=g(T,[["render",N],["__scopeId","data-v-8e8f8dbb"]]);export{G 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.