import{E as o,C as s,P as r,c as p,s as e}from"./report.ceb8f9f0.js";function m(){var a;const n=(a=location.pathname.split("/")[1])==null?void 0:a.toLowerCase();n&&s[n]||location.replace(`/${r}${location.pathname}${location.search}`)}o!=="dev"&&m();$(()=>{function n(a){const t=a.currentTarget.dataset.value;if(p("office_change_lang_btn","cm_click",{pre_lang:e.getItem("lang"),cur_lang:t}),e.setItem("lang",t),o!=="dev"){const c=location.pathname.split("/"),{origin:l,search:i}=location;c[1]=t;const g=`${l}${c.join("/")}${i}`;location.replace(g)}}$(".language ul li").on("click",a=>{n(a)}),$(".language-btn ul li").on("click",a=>{n(a)})});