import{C as f,N as y,D as l,ax as w,E as g,F as t,M as s,J as d,au as $,al as v,K as p,I as x,v as h,r as m,y as A}from"./common.modules-7b90237f.js";import{b as I,_ as k,A as b,bi as C,bj as z}from"./page-activity-ActivityDetail-27bd7cf0.js";const B={class:"about-container"},N={class:"about-container-header"},j={class:"about-container-header-belly"},M={alt:""},D={class:"about-container-content"},L={class:"about-container-content-item-title"},T={class:"about-container-content-item-title"},S=f({__name:"index",setup(P){const a=y();function i(o){a.push({name:"About-AboutDetail",state:{paramValue:o}})}return(o,e)=>{const c=l("NavBar"),n=l("svg-icon"),r=l("van-icon"),_=w("lazy");return x(),g("div",B,[t("div",N,[s(c,{title:`${o.$t("aboutTitle")}`,class:"main","left-arrow":"",onClickLeft:e[0]||(e[0]=u=>d(a).go(-1))},null,8,["title"]),t("div",j,[$(t("img",M,null,512),[[_,d(I)("main","aboutBg")]])])]),t("div",D,[t("div",{class:"about-container-content-item ar-1px-b",onClick:e[1]||(e[1]=u=>i("Protocols"))},[t("div",L,[s(n,{name:"privacyIcon"}),v(` <img v-lazy="getIcons('main', 'privacyIcon')" alt="" /> `),t("span",null,p(o.$t("pravicyProtocal")),1)]),s(r,{name:"arrow",size:"18px",color:"var(--text_color_L2)"})]),t("div",{class:"about-container-content-item ar-1px-b",onClick:e[2]||(e[2]=u=>i("Agreement"))},[t("div",T,[s(n,{name:"riskProtocal"}),v(` <img v-lazy="getIcons('main', 'riskProtocal')" alt="" /> `),t("span",null,p(o.$t("riskProtocal")),1)]),s(r,{name:"arrow",size:"18px",color:"var(--text_color_L2)"})])])])}}});const O=k(S,[["__scopeId","data-v-6616fdfe"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/views/main/About/index.vue"]]),J=Object.freeze(Object.defineProperty({__proto__:null,default:O},Symbol.toStringTag,{value:"Module"})),V={class:"about-container"},E=["innerHTML"],G=f({__name:"index",setup(P){const{t:a}=h(),i=m(a("pravicyProtocal")),o=y(),e=history.state.paramValue,c=m();return A(async()=>{i.value=a(e==="Protocols"?"pravicyProtocal":"riskProtocal");const n=e==="Protocols"?await b(C()):await b(z());n&&(c.value=e==="Protocols"?n.data.protocols:n.data.agreement)}),(n,r)=>{const _=l("NavBar");return x(),g("div",V,[s(_,{title:i.value,"left-arrow":"",onClickLeft:r[0]||(r[0]=u=>d(o).go(-1))},null,8,["title"]),t("div",{class:"about-container-content",innerHTML:c.value},null,8,E)])}}});const H=k(G,[["__scopeId","data-v-19d4c048"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/views/main/About/AboutDetail/index.vue"]]),K=Object.freeze(Object.defineProperty({__proto__:null,default:H},Symbol.toStringTag,{value:"Module"}));export{K as a,J as i};
