System.register(["./index-legacy-9fc2ee5c.js","./vendor-legacy-aeda4e3d.js"],function(e,t){"use strict";var a,r,n,c,l,u,s,d,i,o,m,v,_,y,b,g,h;return{setters:[e=>{a=e._,r=e.a,n=e.f,c=e.a0,l=e.w,u=e.h},e=>{s=e.q,d=e.L,i=e.c,o=e.l,m=e.o,v=e.a,_=e.f,y=e.g,b=e.h,g=e.e,h=e.F}],execute:function(){var t=document.createElement("style");t.textContent=".itemDetailObj[data-v-64765b74]{font-size:.32rem;padding:.266667rem .4rem;color:var(--ex-default-font-color);line-height:.64rem;word-wrap:break-word}.itemDetailObj img[data-v-64765b74]{width:100%}\n",document.head.appendChild(t);const f=["innerHTML"];e("default",a({__name:"tradingRules",setup(e){const t=r();s(()=>{t.setTradeFlag(t.tradeFlag+t.isOption)});const a=d(),p=i(()=>{switch(Number(a.query.type)){case 0:default:return n("Second_Contract_Rules");case 1:return n("Currency_Trading_Rules");case 2:return n("Ustandard_contract_rules")}}),N=o(p.value),w=o(null),D=async e=>{try{const t=await c(e);200===t.code&&(w.value=t.data[0].content,N.value=t.data[0].title||p.value)}catch(t){}};return s(()=>{switch(Number(a.query.type)){case 0:D("PERIOD_EXPLAIN");break;case 1:D("COIN_EXPLAIN");break;case 2:D("U_STANDARD_EXPLAIN")}}),(e,t)=>{const a=l,r=u;return m(),v(h,null,[_(a,{currentName:N.value},null,8,["currentName"]),y("div",{class:"itemDetailObj",innerHTML:w.value},null,8,f),w.value?g("",!0):(m(),b(r,{key:0}))],64)}}},[["__scopeId","data-v-64765b74"]]))}}});
