1!function(){try{var a="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};a.SENTRY_RELEASE={id:"btse@5f19a485"};var e=(new a.Error).stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="1cdaa8f0-4404-438d-a790-9af0602b165a",a._sentryDebugIdIdentifier="sentry-dbid-1cdaa8f0-4404-438d-a790-9af0602b165a")}catch(t){}}();import{aS as a,a5 as e,r as t,a6 as n,an as s,aE as o,aP as i,aM as r,aN as d,ak as l,a9 as c,am as u,a8 as v,ab as f,ah as m,as as y,aa as w,af as p,aI as g}from"./PmfENnFs.js";import{u as h,g_ as b,dY as E,p1 as _,p4 as k,h as I}from"./BhKTELSe.js";import{_ as j}from"./CRPzHAml.js";import"./DzIKp7QL.js";import"./ByGuns7q.js";import"./chunk-lottie.zeumoeGY.js";import"./CXr9G-CP.js";import"./chunk-web3.7EmC4Up1.js";import"./chunk-web3-onboard-utils.D-9VMiP0.js";import"./chunk-sentry.q36DUBwH.js";const L=["src"],S={key:1},V={class:"error-message"},D=j({__name:"VerificationVendor",setup(j){const D=a(),F=h(),{lang:N}=e(F),R=b(),{hasKycFlow:T,kycVendorInfo:K}=e(R),{getKycFlow:W}=R,x=t(null),z=t(!0),A=t(800),Y=n((()=>{var a,e;return(null==(e=null==(a=K.value)?void 0:a.url)?void 0:e.length)>0}));s((()=>T.value),(()=>{T.value?(async()=>{try{await R.updateKycVendorInfo()}catch{P()}})():W()}),{immediate:!0});const $=async()=>{z.value=!1,await g(),C()},C=()=>{var a;if(null==(a=x.value)?void 0:a.contentWindow)try{const a=x.value.contentWindow.document.body.scrollHeight;A.value=a}catch{A.value=800}},H=a=>{var e;const t=a.data;let n=null;"string"==typeof t?n=t:(null==t?void 0:t.type)&&(n=t.type),k.NVX!==(null==(e=K.value)?void 0:e.vendor)||M(n)},M=a=>{["kycSubmitSuccess","kycSubmitFail"].includes(a)&&P()},O=E((()=>{C()}),500);o((()=>{!function(a,e,t=!1){const n=window.addEventListener?"addEventListener":"attachEvent";(0,window[n])("attachEvent"===n?"onmessage":"message",e,t)}(0,H),window.addEventListener("resize",O)})),i((()=>{!function(a,e,t=!1){const n=window.addEventListener?"addEventListener":"attachEvent",s=window.addEventListener?"removeEventListener":"detachEvent",o="attachEvent"===n?"onmessage":"message";window[s](o,e,t)}(0,H),window.removeEventListener("resize",O)}));const P=()=>{D.push({name:I.VERIFICATION,params:{lang:N.value}})};return(a,e)=>{const t=r("loading");return d((c(),l(y(_),{title:a.$t("account.nav.verification"),class:"validation-vendor"},{default:u((()=>[Y.value?(c(),v("iframe",{key:0,ref_key:"iframeRef",ref:x,src:y(K).url,style:m({height:A.value+"px"}),frameborder:"0",allow:"camera;microphone;",onLoad:$},null,44,L)):z.value?f("",!0):(c(),v("div",S,[w("div",V,p(a.$t("t.vend
1orSomethingWrong")),1)]))])),_:1},8,["title"])),[[t,z.value]])}}},[["__scopeId","data-v-e3043abb"]]);export{D as default}; 2//# sourceMappingURL=rF246rXr.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.