{"id":"wwgd5spRTRYaEXWl5VKw","message":"success","isShowLanguageSwitcher":true,"sourceLanguageCode":"ja","languages":[{"code":"ja","label":"日本語"},{"code":"en","label":"English"},{"code":"zh","label":"簡体字"},{"code":"zh-tw","label":"繁体字"},{"code":"ko","label":"한국어"}],"languageCodes":["en","ko","zh","zh-tw"],"languageSwitcherFunctionString":"\n var aifunc1 = function Fo(t,e,i){function n(l,u){Object.assign(l.style,u)}function s(l){let u=new URL(window.location.href);u.searchParams.set(\"lang\",l);let m=u.hostname.split(\".\")[0];if(t.some(f=>f.code===m)){let f=l===i?\"www\":l;u.hostname=u.hostname.replace(m,f)}typeof Storage<\"u\"&&(sessionStorage.removeItem(\"localCaches\"),localStorage.setItem(\"lang\",l)),window.location.href=u.toString()}let a=document.createElement(\"div\");a.setAttribute(\"data-ignore-translate\",\"true\"),a.id=\"language-switcher\",n(a,{position:\"fixed\",bottom:\"20px\",left:\"20px\",zIndex:\"10001\",fontFamily:\"Arial, sans-serif\",fontSize:\"14px\",userSelect:\"none\"});let o=document.createElement(\"button\");n(o,{background:\"rgba(255, 255, 255, 0.9)\",border:\"none\",borderRadius:\"20px\",padding:\"8px 16px\",cursor:\"pointer\",boxShadow:\"0 2px 10px rgba(0,0,0,0.1)\",transition:\"all 0.3s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",whiteSpace:\"nowrap\",minWidth:\"100px\",maxWidth:\"150px\"});let r=document.createElement(\"span\");r.textContent=t.find(l=>l.code===e).label,n(r,{fontWeight:\"bold\",marginRight:\"8px\",overflow:\"hidden\",textOverflow:\"ellipsis\"});let h=document.createElement(\"span\");h.textContent=\"\\u25BC\",n(h,{fontSize:\"10px\",transition:\"transform 0.3s ease\",flexShrink:\"0\"}),o.appendChild(r),o.appendChild(h);let c=document.createElement(\"div\");n(c,{position:\"absolute\",bottom:\"100%\",left:\"0\",background:\"rgba(255, 255, 255, 0.95)\",borderRadius:\"10px\",boxShadow:\"0 -2px 10px rgba(0,0,0,0.1)\",padding:\"8px 0\",marginBottom:\"10px\",display:\"none\",flexDirection:\"column\",overflow:\"hidden\",transition:\"all 0.3s ease\",minWidth:\"100%\"}),t.forEach(l=>{let u=document.createElement(\"button\");n(u,{background:\"none\",border:\"none\",padding:\"8px 16px\",cursor:\"pointer\",textAlign:\"left\",width:\"100%\",display:\"flex\",alignItems:\"center\",transition:\"background-color 0.2s ease\"});let m=document.createElement(\"span\");m.textContent=l.label,u.appendChild(m),u.addEventListener(\"mouseover\",()=>{u.style.backgroundColor=\"rgba(0, 0, 0, 0.05)\"}),u.addEventListener(\"mouseout\",()=>{u.style.backgroundColor=\"transparent\"}),u.addEventListener(\"click\",f=>{f.stopPropagation(),r.textContent=l.label,c.style.display=\"none\",h.style.transform=\"rotate(0deg)\",s(l.code)}),c.appendChild(u)}),o.addEventListener(\"click\",l=>{l.stopPropagation();let u=c.style.display===\"flex\";c.style.display=u?\"none\":\"flex\",h.style.transform=u?\"rotate(0deg)\":\"rotate(180deg)\",o.style.boxShadow=u?\"0 2px 10px rgba(0,0,0,0.1)\":\"0 4px 20px rgba(0,0,0,0.2)\"}),document.addEventListener(\"click\",()=>{c.style.display=\"none\",h.style.transform=\"rotate(0deg)\",o.style.boxShadow=\"0 2px 10px rgba(0,0,0,0.1)\"}),a.appendChild(o),a.appendChild(c),document.body.appendChild(a)}\n return aifunc1(languages, currentLang, sourceLanguageCode);\n ","isAddUniquePageId":false,"languageSwitcherCss":""}