CINXE.COM

Just a moment...

<!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=Edge"><meta name="robots" content="noindex,nofollow"><meta name="viewport" content="width=device-width,initial-scale=1"><style>*{box-sizing:border-box;margin:0;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%;color:#313131;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{display:flex;flex-direction:column;height:100vh;min-height:100vh}.main-content{margin:8rem auto;max-width:60rem;padding-left:1.5rem}@media (width <= 720px){.main-content{margin-top:4rem}}.h2{font-size:1.5rem;font-weight:500;line-height:2.25rem}@media (width <= 720px){.h2{font-size:1.25rem;line-height:1.5rem}}#challenge-error-text{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0IyMEYwMyIgZD0iTTE2IDNhMTMgMTMgMCAxIDAgMTMgMTNBMTMuMDE1IDEzLjAxNSAwIDAgMCAxNiAzbTAgMjRhMTEgMTEgMCAxIDEgMTEtMTEgMTEuMDEgMTEuMDEgMCAwIDEtMTEgMTEiLz48cGF0aCBmaWxsPSIjQjIwRjAzIiBkPSJNMTcuMDM4IDE4LjYxNUgxNC44N0wxNC41NjMgOS41aDIuNzgzem0tMS4wODQgMS40MjdxLjY2IDAgMS4wNTcuMzg4LjQwNy4zODkuNDA3Ljk5NCAwIC41OTYtLjQwNy45ODQtLjM5Ny4zOS0xLjA1Ny4zODktLjY1IDAtMS4wNTYtLjM4OS0uMzk4LS4zODktLjM5OC0uOTg0IDAtLjU5Ny4zOTgtLjk4NS40MDYtLjM5NyAxLjA1Ni0uMzk3Ii8+PC9zdmc+);background-repeat:no-repeat;background-size:contain;padding-left:34px}@media (prefers-color-scheme:dark){body{background-color:#222;color:#d9d9d9}}</style><meta http-equiv="refresh" content="390"></head><body class="no-js"><div class="main-wrapper" role="main"><div class="main-content"><noscript><div class="h2"><span id="challenge-error-text">Enable JavaScript and cookies to continue</span></div></noscript></div></div><script>(function(){window._cf_chl_opt={cvId: '3',cZone: "stackoverflow.com",cType: 'managed',cRay: '8e7114e48d2787e3',cH: 'ESEoGYKuTjKphQsnhqRP1u81svCHro5s9O6Ar8YDX9c-1732364094-1.2.1.1-KhVWU6Y19JjNcAbJHMEGIn0rx._TRQYE6I3raiZcCYK39VJWppPw1t.yUA6Q6DyA',cUPMDTk: "\/questions\/tagged\/kotlin?__cf_chl_tk=EatcrWZPaysO3wCxNWHBg23WGLPJexcPk8j.IoWKq_0-1732364094-1.0.1.1-hsS.AFt.bKZxT91T.vswfMQnREl8KG8KWovxQlGWJYw",cFPWv: 'g',cITimeS: '1732364094',cTTimeMs: '1000',cMTimeMs: '390000',cTplC: 0,cTplV: 5,cTplB: 'cf',cK: "",fa: "\/questions\/tagged\/kotlin?__cf_chl_f_tk=EatcrWZPaysO3wCxNWHBg23WGLPJexcPk8j.IoWKq_0-1732364094-1.0.1.1-hsS.AFt.bKZxT91T.vswfMQnREl8KG8KWovxQlGWJYw",md: "bYvxf9LWrb8mtSOIeEZo0dAGih2y7dYPz72ckGxl7i4-1732364094-1.2.1.1-9l1EgjOy_xOMLvuRjdFQV3n8qMzwCe9aJC3ngucL3H5WMuMQygouEBraS_ukJW5eMjIDbDWbkcx8Dnjp2M7z699Eb3ao6lxTDuK90RV36RZdEqsy6Tzg8iSrcllZQ4mwo_GWWGzIw4upOl8nc0FdDwOOoK_x2OeVmLWohWrXygYaS5tIZyIHawtPhC9kkk1CF9abjWuw_.ZWxcjQ4pybPc39wi_hSxjor7vVVPsz0mImu1U4gMJs80CiFpWcEwtaPrKjsi4qgfNkedq3RmSE6NGpulN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1XbMTioUb.LIrCnjxxB29zSLxtGYgt7I.BehtLpczdX0hfFKqIOV3w.XzcKPGwtPs2jsQzQleh0dgBNdVqX8hXYyQixcirjvJn9dvawBXLiIBoGx.u4ARzf3U5H_dkFPLBcbNXXt9U3vw1Mg1fiYRSrV7pFJzftlpPZPZf4v7dA5Fqq4O1KcHF20WXDpoiZYZgMZ7dN15skSOGKzJMkoucPeKOgRz8Ppn8inbvRflo9wC6i6iNkOqFd1TTWXDHQrFZgJgYDxjVN5eplBmxsj1QrFy8PwdZiip10m.Rx8LVNDQm0MEZvrw2vJTqykYFTFcVS.uhgP_HjXPT16o0mvuCeSXBNww3Vs8w_kDkysPWCkcxQ8Sj5Es9o.5vVzdqDzGujhfD1uJtNrmuL53yk_4dk96V"};var cpo = document.createElement('script');cpo.src = '/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1?ray=8e7114e48d2787e3';window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, location.href.length - window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;if (window.history && window.history.replaceState) {var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;history.replaceState(null, null, "\/questions\/tagged\/kotlin?__cf_chl_rt_tk=EatcrWZPaysO3wCxNWHBg23WGLPJexcPk8j.IoWKq_0-1732364094-1.0.1.1-hsS.AFt.bKZxT91T.vswfMQnREl8KG8KWovxQlGWJYw" + window._cf_chl_opt.cOgUHash);cpo.onload = function() {history.replaceState(null, null, ogU);}}document.getElementsByTagName('head')[0].appendChild(cpo);}());</script></body></html>