\n ${t.name} (${t.count||0})\n `,e.appendChild(n)})),e.dataset.loaded="true"}catch(e){console.error("Błąd podczas pobierania krajów dla mobilnego menu:",e)}}function filterCountries(e){const t=document.querySelectorAll("#countryMenu a, #countryListContainer a");e=e.toLowerCase(),t.forEach((t=>{t.textContent.toLowerCase().includes(e)?t.style.display="":t.style.display="none"}))}function toggleCountryMenu(){const e=document.getElementById("countryMenu"),t=document.getElementById("languageOptions");t&&!t.classList.contains("hidden")&&t.classList.add("hidden"),"true"!==e.dataset.loaded&&loadCountries(),e.classList.toggle("hidden")}async function loadCountries(){const e=document.getElementById("countryMenu"),t=document.getElementById("countryLoader"),n=document.getElementById("countryListContainer");try{const o="zh",i=await fetch(`/api/countries?lang=${o}`),s=await i.json();if(t&&t.remove(),0===s.length)return n.innerHTML='\n
\n 对于该语言版本,目前没有任何国家包含职位信息。\n
\n ',void(e.dataset.loaded="true");n.innerHTML="",s.forEach((e=>{const t=document.createElement("a"),o=`/zh/jobs/${e.slug}`;t.href=o,t.className="flex items-center justify-between text-sm text-gray-700 hover:bg-gray-100 rounded px-4 py-2",t.innerHTML=`\n \n \n ${e.name} (${e.count||0})\n `,n.appendChild(t)})),e.dataset.loaded="true"}catch(e){console.error("Błąd podczas pobierania krajów:",e)}}function toggleLanguageDropdown(){document.getElementById("languageDropdown").classList.toggle("hidden")}function selectLanguage(e,t){document.getElementById("languageDropdown").classList.add("hidden"),document.querySelector('[onclick="toggleLanguageDropdown()"] span').textContent=t}function toggleMobileMenu(){const e=document.getElementById("mobileMenu"),t=document.getElementById("menuIcon");document.body.classList.toggle("overflow-hidden"),e.classList.toggle("hidden"),e.classList.contains("hidden")||"true"===e.dataset.loaded||loadMobileCountries(),e.classList.contains("hidden")?t.innerHTML='\n ':t.innerHTML='\n '}function filterMobileCountries(e){const t=document.querySelectorAll("#mobileCountryListContainer a");e=e.toLowerCase(),t.forEach((t=>{t.textContent.toLowerCase().includes(e)?t.style.display="":t.style.display="none"}))}const primaryText="Crawling the web for your ",highlightText="perfect job",typingSpeed=30,resetDelay=3e4;let typingIndex=0,isResetting=!1;const typingEffect=document.getElementById("typingEffect"),typingEffectHighlight=document.getElementById("typingEffectHighlight");function typeText(){typingIndex<26?(typingEffect.textContent+=primaryText.charAt(typingIndex),typingEffect.classList.remove("opacity-0")):typingIndex-26<11&&(typingEffectHighlight.textContent+="perfect job".charAt(typingIndex-26),typingEffectHighlight.classList.remove("opacity-0")),typingIndex++,typingIndex<37?setTimeout(typeText,30):isResetting||(isResetting=!0,setTimeout(resetTypingEffect,3e4))}function resetTypingEffect(){typingEffect.textContent="",typingEffectHighlight.textContent="",typingIndex=0,isResetting=!1,typeText()}typeText()
HSBC Asset Management, the investment management business of the HSBC Group, invests on behalf of HSBC’s worldwide customer base of retail and private clients, intermediaries, corporates and institutions through both segregated accounts and pooled funds. HSBC Asset Management connects HSBC’s clients with investment opportunities around the world through an international network of offices in 23 countries and territories, delivering global capabilities with local market insight.