PageSourceSearch

https://www.randomvideochat.me/assets/Bindcheckout-Cr7j9LsU.js

js randomvideochat.me collected 2026-10-06 04:16:31 UTC 7,453 bytes, 1 lines download raw bytes

1import{u as W,bQ as A,f as J,L as Y,bR as G,T as k,bU as Q,bV as X}from"./index-DVhtunOl.js";import{_ as Z}from"./CreateOrderFail.vue_vue_type_script_setup_true_lang-CPjPiW1T.js";import{_ as ee}from"./Loading-CrbYYobl.js";import{_ as te,a as oe,b as ae}from"./Secure.vue_vue_type_style_index_0_lang-DeeDdb-q.js";import{_ as ne}from"./Orderdetail.vue_vue_type_style_index_0_lang-ByoInuz9.js";import{_ as ce}from"./ic_choose_rec_default_black-1fdY9dIn.js";import{B as re,u as se,o as le,C as g,J as m,D as o,E as C,M as L,H as ue,I as N,v as ie,x as M,z as v,e as c}from"./vendor-yXMutGSA.js";import"./ic_loading2-C1EIbtvg.js";import"./ic_goddesses_coin-vwvGBvw_.js";const de="/assets/card_medium-CRTcY8EE.png",me="/assets/ic_choose_rec-NqvEnOpI.png",_e={class:"bindCheckout"},pe={class:"checkoutBox"},ye={class:"payment"},ve={class:"list mt-[6px]"},he={class:"cardInfo flex items-center justify-between px-5"},fe={class:"icon"},ke={class:"iconName"},ge={class:"containerCheck"},Ce={class:"saveBox"},we={key:0,src:me,alt:"",class:"img"},be={key:1,src:ce,alt:"",class:"img"},Re={class:"payButtonWrap"},Se={key:0,class:"otherMethord"},Ne={class:"otherMethordName"},Ie={key:0,class:"fixed ltr:left-0 rtl:right-0 top-0 z-[100] w-full h-full flex items-center justify-center flex-col bg-[rgba(0,0,0,0.80)]"},Te={key:0,class:"fixed ltr:left-0 rtl:right-0 top-0 z-[100] w-full h-full flex items-center justify-center flex-col bg-[rgba(0,0,0,0.80)]"},Ve=re({__name:"Bindcheckout",setup(xe,{emit:Be}){const l=W(),n=se(),B=A();let q="";q="pk_bkcigotv3irdkhmuoxwpfjst3as";let P=null,w=null;const b=c(!0),I=c(""),d=c(""),u=c(""),R=c(""),_=c(""),z=c(""),T=c([]),O=c(!1),h=c(""),S=c(!0),x=c(!1),E=c(!1),$=c("");I.value=n.currentRoute.value.query.counts,_.value=n.currentRoute.value.query.country,d.value=n.currentRoute.value.query.price,R.value=n.currentRoute.value.query.currency,u.value=n.currentRoute.value.query.sku,z.value=n.currentRoute.value.query.icon;const V=async()=>{const t={colorBorder:"#000",button:{fontSize:"18px"}},e={card:{displayCardholderName:"hidden"}};w=(await CheckoutWebComponents({appearance:t,componentOptions:e,paymentSession:P,publicKey:q,locale:window.lang,environment:"production",onReady:()=>{console.log("onReady"),k.get().track("event_new_card_input_show",{sku:u.value,country:_.value,price:d.value,order_id:h.value,my_coins:l.accountInfo.gemsBalance,source:window.localStorage.getItem("pay_source"),channelname:"checkout_new_card"})},onPaymentCompleted:(a,s)=>{console.log("Create Payment with PaymentId: "),window.location.href="https://www.theveego.com/payment_web/index.html?lang="+window.lang+"&order_id="+h.value+"#/result"},onChange:a=>{console.log('onChange() -> isValid: "'.concat(a.isValid(),'" for "').concat(a.type,'"')),b.value=!1,O.value=!0},onError:(a,s)=>{k.get().track("event_payment_failed_dialog_show",{type:"third_part_payment",sku:u.value,error_code:s.code}),b.value=!1,console.log("onError",s,"Component",a.type)}})).create("card",{showPayButton:!1}),await w.isAvailable()&&w.mount(document.getElementById("flow-container"))},j=()=>{const t={country:_.value,sku:u.value,channelName:n.currentRoute.value.query.channelName,channelType:n.currentRoute.value.query.channelType,requestType:"pay_new_card_by_flow",forterTokenCookie:window.forterToken||window.localStorage.getItem("forterToken")||"",paymentSource:B.source,paymentRoot:B.root};G(t).then(e=>{var r,a;((r=e==null?void 0:e.data)==null?void 0:r.status)===1&&(h.value=e.data.orderId,P=JSON.parse(e.data.targetURL||""),V(),k.get().track("event_orderdetail_page_show",{sku:u.value,country:_.value,price:d.value,order_id:e.data.orderId,my_coins:l.accountInfo.gemsBalance,source:window.localStorage.getItem("pay_source"),channelname:"checkout_new_card"}),l.setReceivedCoins({country:_.value,sku:u.value,price:d.value,channelName:n.currentRoute.value.query.channelName,channelType:n.currentRoute.value.query.channelType,orderId:(a=e.data)==null?void 0:a.orderId}))})},D=()=>{S.value=!S.value},F=async()=>{const{data:t}=await w.tokenize();let e={orderId:h.value,channelName:n.currentRoute.value.query.channelName,token:t.token,forterTokenCookie:window.forterToken,creditCard:{bin:t.bin,expirationMonth:t.expiry_month.toString(),expirationYear:t.expiry_year.toString(),lastFourDigits:t.last4,nameOnCard:"",cardType:t.card_type,issuer_country:t.issuer_country}};return await X(e)},H=async()=>{var r,a,s,p,y;k.get().track("event_payment_processing_page_show",{}),k.get().track("event_new_card_pay_click",{sku:u.value}),b.value=!0;let t={channelName:n.currentRoute.value.query.channelName,channelType:n.currentRoute.value.query.channelType,orderId:h.value,isSaveCard:S.value};Q(t).then(f=>{}),k.get().track("event_orderdetail_payment_confirm_click",{sku:u.value,country:_.value,price:d.value,order_id:h.value,my_coins:l.accountInfo.gemsBalance,source:window.localStorage.getItem("pay_source"),channelname:"checkout_new_card"});let e=await F();((r=e.data)==null?void 0:r.decision)==="doSubmit"?w.submit():((a=e.data)==null?void 0:a.decision)==="successRedirect"?(s=e.data)!=null&&s.url&&(window.location.href=e.data.url):((p=e.data)==null?void 0:p.decision)==="decline"&&(b.value=!1,((y=e.data)==null?void 0:y.reason)==="blocked_country"?E.value=!0:x.value=!0)},U=t=>{const e=document.createElement("script");e.src="https://checkout-web-components.checkout.com/index.js",e.onload=t,document.body.appendChild(e)},K=()=>{x.value=!1};
1return le(async()=>{var p,y,f;window.CheckoutWebComponents?j():U(()=>{j()});let t=await J();l.skuCountries=((p=t.data)==null?void 0:p.countries)||[],l.checkoutCards=((y=t.data)==null?void 0:y.cards)||[],l.showGpay=!((f=t.data)!=null&&f.gpayIsHide);let e=l.skuCountries.filter(i=>i.countryName==n.currentRoute.value.query.country)[0].skus.filter(i=>i.sku==u.value)[0].payChannels||[],r=(e||[]).filter(i=>i.channelName=="CHECKOUT"),a=l.getCheckoutOldCardsList(r);T.value=a;let s=(e||[]).filter(i=>i.channelName!=="CHECKOUT");s.length&&($.value=s[0].displayName)}),(t,e)=>{const r=te,a=ne,s=oe,p=ae,y=ee,f=Z,i=Y;return v(),g("div",_e,[m(r),m(a,{originCounts:I.value,price:d.value,currency:R.value},null,8,["originCounts","price","currency"]),o("div",pe,[o("div",ye,[o("div",ve,[o("div",he,[o("div",fe,[e[0]||(e[0]=o("img",{src:de},null,-1)),o("div",ke,C(t.$t("p Credit/Debit Card")),1)])])])]),o("div",{class:L(O.value?"payBox active":"payBox")},[o("form",null,[o("div",ge,[e[1]||(e[1]=o("div",{id:"flow-container"},null,-1)),o("div",Ce,[o("div",{class:"inner",onClick:D},[S.value?(v(),g("img",we)):(v(),g("img",be)),o("div",{class:L(["word",ue(l).isRTL?"spe":""])},C(t.$t("p Save this card")),3)])])]),e[2]||(e[2]=o("span",{id:"error-message"},null,-1)),e[3]||(e[3]=o("span",{id:"successful-payment-message"},null,-1))])],2)]),o("div",Re,[o("div",{class:"payButton",onClick:H},C(t.$t("p Confirm Payment"))+" "+C(R.value)+C(d.value),1)]),T.value.length?(v(),g("div",Se,[o("div",Ne,C(t.$t("p Try another payment method")),1),m(s,{mychannels:T.value,sku:u.value,country:_.value,originCounts:I.value,price:d.value,currency:R.value,from:"order_detail_page"},null,8,["mychannels","sku","country","originCounts","price","currency"])])):N("",!0),m(p),b.value?(v(),ie(y,{key:1})):N("",!0),m(i,null,{default:M(()=>[x.value?(v(),g("div",Ie,[m(f,{onClose:K})])):N("",!0)]),_:1}),m(i,null,{default:M(()=>[E.value?(v(),g("div",Te,[m(f,{type:"fromIndia",otherChannelName:$.value},null,8,["otherChannelName"])])):N("",!0)]),_:1})])}}});export{Ve 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.