import{_ as e}from"./index97.js?v=1753954525509";import{k as s,r as a,o as t,U as o,V as n,X as r,I as i,a1 as m,$ as d}from"./vue.js?v=1753954525509";import{e as p,cS as u}from"./page_layout.js?v=1753954525509";import{a as l}from"./public.js?v=1753954525509";import"./index98.js?v=1753954525509";import"./naive.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";const c=["src"],_=p(s({__name:"index",props:{path:{default:""}},setup(e){const s=a("/"+e.path),m=a(null),d=a(996),p=()=>{d.value=998,l()},u=()=>{d.value=998},l=()=>{var e;const s=null==(e=m.value)?void 0:e.contentWindow;s&&s.postMessage("init","*")};return t((()=>{window.addEventListener("message",(e=>{"showMainView"===e.data&&(d.value=996)}))})),(e,a)=>(o(),n("iframe",{ref_key:"frameRef",ref:m,class:"iframePage",src:r(s),style:i({zIndex:r(d)}),onLoad:p,onMouseenter:u},null,44,c))}}),[["__scopeId","data-v-dd081d53"]]),f=s({__name:"old",setup:e=>(window.usePay=l,(e,s)=>{const a=_;return o(),m(a,{path:"btwaf/index"})})}),v=s({__name:"index",setup(s){const a=u(),{isBuy:t,isInstall:n,isFirstVersion:i}=d(a);return(s,a)=>{const d=e;return r(t)&&r(n)&&!r(i)?(o(),m(f,{key:1})):(o(),m(d,{key:0}))}}});export{v as default};
