PageSourceSearch

https://www.traiex.com/static/js/Dit5EzXr.js

js traiex.com collected 2026-09-27 13:32:03 UTC 5,835 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"traiex@5f19a485"};var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="3a54f176-924d-4f16-a483-e279e617dba2",e._sentryDebugIdIdentifier="sentry-dbid-3a54f176-924d-4f16-a483-e279e617dba2")}catch(r){}}();import{aA as e,aX as a,ax as r,n as t,d as o,q as l,aO as s,h as i,i as n,o as c,y as d,z as u,j as p,k as _,F as v,e as h,x as f,az as g,G as m,H as y,aT as U}from"./CsKcEdu7.js";import{u as T,aI as k,az as C,B as b,p as E,dT as N,ca as w,R as V,ec as D,c0 as O,ph as j,c2 as I,pi as R,pj as H}from"./3jVQO-mG.js";import{I as K}from"./HCO4ASv6.js";import{P as A}from"./C6od0HoC.js";import{_ as M}from"./gZdl_Klz.js";import"./rhbzeh01.js";import"./Bryfq_gw.js";import"./chunk-web3.BfxCkyzZ.js";import"./chunk-web3-onboard-utils.BGXAkag-.js";import"./chunk-sentry.DqxakfRi.js";const P={class:"oct-card__surface"},z={class:"oct-card__tab"},S={class:"oct-card__tab-content"},x={class:"oct-card__tab-text"},W={class:"oct-card__content"},F={class:"oct-card__video-container"},L={class:"oct-card__video-wrapper"},$={class:"oct-card__video-content"},Y=["src","poster"],Z=["src","poster"],B=["src","poster"],q={class:"oct-card__cta","aria-hidden":"true"},G=M(e({name:"OneClickTradingCard",__name:"OneClickTradingCard",props:{routeName:{},titleKey:{},posterUrl:{},pcDefaultVideoUrl:{},pcHoverVideoUrl:{},h5VideoUrl:{}},setup(e){const{t:U}=a(),{lang:E}=r(T()),N=k(),w=t(!1),V=t(!1),D=t(!1);let O=()=>{};const j=o((()=>!N.isMobile&&D.value)),I=o((()=>N.isMobile||j.value&&w.value));function R(e){var a;const r=e.target;
1null==(a=null==r?void 0:r.play)||a.call(r).catch((()=>{}))}function H(){j.value&&(V.value=!0,w.value=!0)}function K(){w.value=!1}return l((()=>{const e=window.matchMedia("(hover: hover)");D.value=e.matches;const a=e=>{D.value=e.matches};e.addEventListener("change",a),O=()=>e.removeEventListener("change",a)})),s((()=>{O()})),(e,a)=>{const r=i("router-link");return c(),n(r,{class:u(["oct-card",{"oct-card--hover":w.value&&j.value}]),to:{name:e.routeName,params:{lang:d(E)}},onMouseenter:H,onMouseleave:K},{default:p((()=>[_("div",P,[_("div",z,[_("div",S,[_("span",x,v(d(U)(e.titleKey)),1)])]),_("div",W,[_("div",F,[_("div",L,[_("div",$,[d(N).isMobile?(c(),h("video",{key:0,class:"oct-card__video",src:e.h5VideoUrl,poster:e.posterUrl,autoplay:"",muted:"",loop:"",playsinline:"","webkit-playsinline":"",onCanplay:R},null,40,Y)):(c(),h(g,{key:1},[_("video",{class:"oct-card__video oct-card__video--default",src:e.pcDefaultVideoUrl,poster:e.posterUrl,autoplay:"",muted:"",loop:"",playsinline:"","webkit-playsinline":"",onCanplay:R},null,40,Z),V.value?(c(),h("video",{key:0,class:"oct-card__video oct-card__video--hover",src:e.pcHoverVideoUrl,poster:e.posterUrl,autoplay:"",muted:"",loop:"",playsinline:"","webkit-playsinline":"",onCanplay:R},null,40,B)):f("",!0)],64))])])]),_("div",{class:u(["oct-card__cta-slot",{"oct-card__cta-slot--open":I.value}])},[_("div",q,[m(A,{class:"oct-card__cta-btn primary",as:"span",size:d(b).M},{default:p((()=>[y(v(d(U)("trading.oneClickTrading.startNow"))+" ",1),m(C,{class:"oct-card__cta-icon","aria-hidden":"true"})])),_:1},8,["size"])])],2)])])])),_:1},8,["class","to"])}}}),[["__scopeId","data-v-525134d0"]]),X={class:"one-click-trading"},J={class:"oct-hero"},Q={class:"oct-hero__title"},ee={class:"oct-hero__subtitle"},ae={class:"oct-grid"},re=M(e({name:"OneClickTradingPage",__name:"index",setup(e){const{t:r}=a(),t=k(),l=T(),{enableOneClickFutures:s,enableEarn:i}=E,u=e=>w(`1-click-Trading/${e}`),f=o((()=>l.lang===N.ZH_CN?"-zh-CN":l.lang===N.ZH_TW?"-zh-TW":"")),m=e=>u(`${e}${f.value}.mp4`),y=e=>u(`${e}${f.value}.jpg`);const C=o((()=>(f.value,[s&&{id:"futures",routeName:V.ONE_CLICK_FUTURES,titleKey:"trading.oneClickTrading.card.futuresTitle",posterUrl:y("futures"),pcDefaultVideoUrl:m("pc-futures-default"),pcHoverVideoUrl:m("pc-futures-hover"),h5VideoUrl:m("h5-futures")},l.isEnableUpOrDown&&{id:"upOrDown",routeName:D,titleKey:"trading.oneClickTrading.card.upOrDownTitle",posterUrl:y("upOrDown"),pcDefaultVideoUrl:m("pc-up-or-down-default"),pcHoverVideoUrl:m("pc-up-or-down-hover"),h5VideoUrl:m("h5-up-or-down")},l.isEnableCopyWise&&{id:"autotrader",routeName:V.COPY_WISE,titleKey:"trading.oneClickTrading.card.autoTraderTitle",posterUrl:y("autoTrader"),pcDefaultVideoUrl:m("pc-autotrader-default"),pcHoverVideoUrl:m("pc-autotrader-hover"),h5VideoUrl:m("h5-autotrader")},i&&{id:"earn",routeName:V.EARN,titleKey:"trading.oneClickTrading.card.earnTitle",posterUrl:y("earn"),pcDefaultVideoUrl:m("pc-earn-default"),pcHoverVideoUrl:m("pc-earn-hover"),h5VideoUrl:m("h5-earn")}].filter(Boolean))));return(e,a)=>(c(),n(K,{show:d(t).isDesktop},{default:p((()=>[_("div",X,[_("header",J,[_("h1",Q,[_("span",null,v(d(r)("trading.oneClickTrading.heroTitle")),1),a[0]||(a[0]=_("span",{class:"oct-hero__title-tm"},"TM",-1))]),_("p",ee,v(d(r)("trading.oneClickTrading.heroSubtitle")),1)]),_("div",ae,[(c(!0),h(g,null,U(C.value,(e=>(c(),n(G,{key:e.id,"route-name":e.routeName,"title-key":e.titleKey,"poster-url":e.posterUrl,"pc-default-video-url":e.pcDefaultVideoUrl,"pc-hover-video-url":e.pcHoverVideoUrl,"h5-video-url":e.h5VideoUrl,onClick:a=>function(e){e.routeName===V.ONE_CLICK_FUTURES?O(I.OCF_ENTRANCE,{entry_channel:j.oneClickTradingPage}):e.routeName===V.COPY_WISE?O(I.AUTO_TRADER_ENTRANCE,{entry_channel:R.oneClickTradingPage}):e.routeName===D&&O(I.UP_OR_DOWN_ENTRANCE,{entry_channel:H.oneClickTradingPage})}(e)},null,8,["route-name","title-key","poster-url","pc-default-video-url","pc-hover-video-url","h5-video-url","onClick"])))),128))])])])),_:1},8,["show"]))}}),[["__scopeId","data-v-56324e8b"]]);export{re as default};
2//# sourceMappingURL=Dit5EzXr.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.