PageSourceSearch

https://kimi.site/landing-ui/assets/_next/static/chunks/94496c41863b7c61.js

js kimi.site collected 2026-09-30 05:45:25 UTC 104,325 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,877982,e=>{"use strict";var t,n=e.i(113736);function a(){return(a=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor"},e),t||(t=n.createElement("path",{d:"M14.341 5.739a.75.75 0 0 1 0 1.061l-3.24 3.24 3.2 3.2a.75.75 0 0 1-1.061 1.06l-3.2-3.199-3.24 3.24a.75.75 0 0 1-1.06-1.061l3.24-3.24-3.281-3.28A.75.75 0 0 1 6.76 5.699l3.28 3.28 3.24-3.24a.75.75 0 0 1 1.061 0"})))}])},247782,e=>{"use strict";var t=e.i(584151);e.i(7343),e.s(["getNativeAccessToken",()=>t.getNativeAccessToken,"isInApp",()=>t.isInApp,"login",()=>t.login,"waitForBridgeReady",()=>t.waitForBridgeReady])},273569,e=>{"use strict";e.i(751221);var t,n=e.i(247782);(t={})[t.DAY=1]="DAY",t[t.WEEK=2]="WEEK",t[t.MONTH=3]="MONTH",t[t.YEAR=4]="YEAR",JSON.stringify({type:"TASKBAR_TYPE_OK_COMPUTER"}),JSON.stringify({type:"TASKBAR_TYPE_DEEP_RESEARCH"}),JSON.stringify({type:"TASKBAR_TYPE_SLIDES"});var a=e.i(510988);async function r(e){await (0,n.waitForBridgeReady)(),function(e){var t;if(!(0,n.isInApp)()){let t=e.webFrom?`?from=${encodeURIComponent(e.webFrom)}`:"",n=(0,a.resolveHeaderHref)(`/membership/pricing${t}`,{mainAppOrigin:e.origin});try{let e=window.open(n,"_blank");e?e.opener=null:window.parent.location.href=n}catch{window.location.href=n}return}t=function(e){var t={track_id:e.trackId,from:e.from,billing_cycle:e.billingCycle};let n="kimi://action/membership";if(!t)return n;let a=Object.entries(t).filter(e=>null!=e[1]).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(String(t))}`).join("&");return a?`${n}?${a}`:n}({trackId:e.trackId??("u">typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t;if("u">typeof crypto&&crypto.getRandomValues){let e=new Uint8Array(1);crypto.getRandomValues(e),t=e[0]%16}else t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),from:e.activityId,billingCycle:e.billingCycle}),window.location.href=t}({activityId:"help_center",webFrom:e?.webFrom??"header_nav",origin:e?.origin})}e.s(["SITE_FOOTER_PRICING_WEB_FROM",0,"footer_nav","openSiteHeaderPricing",()=>r],273569)},204113,e=>{"use strict";var t=e.i(113736);e.i(751221);var n=e.i(247782);function a(){let[e,a]=(0,t.useState)(!0);return(0,t.useEffect)(()=>{let e=!1;return async function(){if(await (0,n.waitForBridgeReady)(),e)return;if(!(0,n.isInApp)())return a(!0);let t=await (0,n.getNativeAccessToken)();e||a(!!t)}(),()=>{e=!0}},[]),e}e.s(["useSiteHeaderPricingVisibility",()=>a])},46952,287107,e=>{"use strict";var t,n=e.i(113736);function a(){return(a=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:96,height:32,viewBox:"0 0 96 32",fill:"currentColor"},e),t||(t=n.createElement("path",{d:"M35.768 31.329c0 .37.3.671.67.671h4.305c.371 0 .672-.3.672-.671V.67c0-.37-.3-.671-.672-.671H36.44c-.37 0-.671.3-.671.671zm54.584 0c0 .37.3.671.67.671h4.305c.371 0 .672-.3.672-.671V.67c0-.37-.3-.671-.672-.671h-4.304c-.37 0-.671.3-.671.671zM73.256 0a.67.67 0 0 0-.652.512l-6.366 26.1c-.106.428-.607.428-.71 0L59.159.512A.67.67 0 0 0 58.511 0H47.725c-.37 0-.668.3-.668.671V31.33c0 .37.3.671.67.671h4.781c.37 0 .671-.292.671-.662V5.554c0-.515.604-.622.726-.127l6.358 26.06a.67.67 0 0 0 .653.513h9.931c.31 0 .58-.212.653-.512L77.855 5.43c.122-.495.726-.388.726.127v25.772c0 .37.3.671.671.671h4.78c.371 0 .672-.3.672-.671V.67c0-.37-.3-.671-.671-.671zM15.279 14.837 28.264 1.133A.671.671 0 0 0 27.777 0h-6.043a.67.67 0 0 0-.477.199L6.374 15.223c-.231.234-.573.025-.573-.35V.672c0-.37-.3-.671-.671-.671H.67a.67.67 0 0 0-.67.67V31.33c0 .37.3.671.671.671H5.13c.37 0 .671-.3.671-.671v-6.114a.5.5 0 0 1 .13-.35l4.594-4.69a.293.293 0 0 1 .386-.045l12.286 9.305c1.796 1.245 4.083 2.06 6.178 2.401a.645.645 0 0 0 .743-.648v-5.537a.7.7 0 0 0-.562-.677c-1.215-.262-2.565-.758-3.59-1.468L15.332 15.58c-.22-.152-.248-.544-.052-.744"})))}],46952);var r=e.i(493594),i=e.i(510988);function l(e){return"link"===e.kind&&e.itemKey.startsWith("explore-all")}let o={research:"research",resources:"resources"};function s(e){return"/en"===e||"/zh-cn"===e}
1function c(e,t,n){switch(n){case"research":return(0,r.withLang)(e,s(t)?"/en":"");case"resources":return(0,r.withLang)(e,s(t)?"":t);default:return(0,r.withLang)(e,t)}}function d(e,t){if(e)switch(e.kind){case"internalRoute":{let n=e.path,a=!n||/^https?:\/\//.test(n)||(0,i.isMainAppPath)(n)?n:c(n,t?.langPathPrefix??"",t?.pathFamily);return(0,i.resolveHeaderHref)(a,t?.linkContext)}case"externalUrl":return e.url.toLowerCase().startsWith("mailto:")?e.url:(0,i.resolveHeaderHref)(e.url,t?.linkContext);case"action":return}}let u={products:e=>e.endsWith("/products")||e.includes("/products/"),features:e=>e.endsWith("/features/"),research:function(e){let t=e.split(/[?#]/)[0]?.replace(/\/+$/,"")??"";return"/blog"===t||/\/blog$/.test(t)},resources:e=>e.endsWith("/resources/"),models:e=>e.includes("/ai-models"),pricing:e=>e.endsWith("/membership/pricing"),helpCenter:e=>e.endsWith("/help")};function m(e,t,n=""){if(!t)return!1;let a=u[e.itemKey];return a?a(t):function e(t,n,a="",r){if(t.target?.kind==="internalRoute"){let e=t.target.path;if(function(e,t){if(!e||!t)return!1;let n=e=>e.split(/[?#]/)[0]?.replace(/\/+$/,"")??"",a=n(e),r=n(t);return!!a&&(r===a||r.startsWith(`${a}/`))}((0,i.isMainAppPath)(e)?e:c(e,a,r),n))return!0}let l="group"===t.kind?o[t.itemKey]??r:void 0;return t.children.some(t=>e(t,n,a,l))}(e,t,n)}e.s(["NAVIGATION_ACTION_DOWNLOAD",0,"download","NAVIGATION_ACTION_PRICING",0,"pricing","NAVIGATION_ACTION_TRY_KIMI",0,"try-kimi","NAVIGATION_GROUP_PATH_FAMILY",0,o,"isCmsNavItemActive",()=>m,"isNavigationExploreAllItem",()=>l,"resolveNavigationTargetHref",()=>d],287107)},355119,e=>{"use strict";function t(e,t){return t?"flex h-8 shrink-0 items-center justify-center rounded-xl bg-white px-3 text-[16px] leading-6 font-medium whitespace-nowrap text-black transition-colors hover:bg-white/90":e?"flex h-8 shrink-0 items-center justify-center rounded-xl bg-(--Labels-Primary) px-3 text-[16px] leading-6 font-medium whitespace-nowrap text-(--Always-Black) transition-colors hover:bg-(--Labels-Primary-hover)":"flex h-8 shrink-0 items-center justify-center rounded-xl bg-(--Labels-Primary) px-3 text-[16px] leading-6 font-medium whitespace-nowrap text-(--Always-White) transition-colors hover:bg-(--Labels-Primary-hover)"}function n(e){return`header-desktop-only-action h-8 min-w-[62px] items-center justify-center rounded-[10px] px-2.5 text-[16px] leading-6 font-medium whitespace-nowrap transition-colors ${e?"bg-white/10 text-white hover:bg-white/15":"bg-(--Fills-F1) text-(--Labels-Primary) hover:bg-(--Fills-F1-hover)"}`}function a(e){return`flex h-8 min-w-8 items-center justify-center rounded-[10px] px-2.5 text-[16px] leading-6 font-medium whitespace-nowrap transition-colors ${e?"bg-white/10 text-white hover:bg-white/15":"bg-(--Fills-F1) text-(--Labels-Primary) hover:bg-(--Fills-F1-hover)"}`}function r(e,t){return{navItemBaseClass:"block px-6 text-[18px] leading-[26px] font-medium text-(--Labels-Primary) desktop:rounded-lg desktop:px-2 desktop:py-1 desktop:text-base desktop:leading-6",navItemDefaultClass:e?"desktop:font-normal desktop:text-white/70":"desktop:font-normal desktop:text-(--Labels-Secondary)",navItemActiveClass:e?"desktop:font-medium desktop:text-white":t?"desktop:font-medium desktop:text-(--Labels-Primary)":"desktop:font-medium desktop:text-(--Always-Black)"}}function i(){return"max-w-360"}e.s(["getDownloadButtonClass",()=>a,"getForBusinessButtonClass",()=>n,"getLandingNavItemClasses",()=>r,"getSiteChromeContentMaxWidthClass",()=>i,"getTryKimiButtonClass",()=>t])},329615,e=>{"use strict";function t(e){return e.replace(/([a-z\d])([A-Z])/g,"$1 $2").toLowerCase()}function n(e){return e.replace(/([a-z\d])([A-Z])/g,"$1_$2").toLowerCase()}e.s(["toNavDropdownGroupId",()=>n,"toNavDropdownItemId",()=>t])},28913,e=>{"use strict";var t,n,a,r,i,l,o,s,c,d,u,m,h,p,f,g,x=e.i(270468),w=e.i(113736),v=e.i(273569),b=e.i(204113);e.i(8048);var y=e.i(387943),_=e.i(46952);function k(){return(k=Object.assign.bind()).apply(null,arguments)}let N=function(e){return w.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor"},e),t||(t=w.createElement("g",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",clipPath:"url(#logo-x_svg__clip0_20717_9114)"},w.createElement("path",{d:"M3 2.5h3l7 11h-3zm4.118 6.47L3 13.5m10-11L8.883 7.03"}))),n||(n=w.createElement("defs",null,w.createElement("clipPath",{id:"logo-x_svg__clip0_20717_9114"},w.createElement("path",{d:"M0 0h16v16H0z"})))))};function j(){return(j=Object.assign.bind()).apply(null,arguments)}let I=function(e){return w.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor"},e),a||(a=w.createElement("path",{stroke:"#fff",strokeMiterlimit:10,d:"M8 10.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"})),r||(r=w.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M11 2H5a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3"})),i||(i=w.createElement("path",{stroke:"#fff",d:"M11.25 4.5a.25.25 0 1 1 0 .5.25.25 0 0 1 0-.5Z"})))};function C(){return(C=Object.assign.bind()).apply(null,arguments)}let E=function(e){return w.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor"},e),l||(l=w.createElement("path",{d:"M13.545 2.77a13.2 13.2 0 0 0-3.257-1.01.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.2 12.2 0 0 0-3.658 0 8 8 0 0 0-.412-.833.05.05 0 0 0-.052-.024 13.2 13.2 0 0 0-3.257 1.01l-.021.018C.356 5.888-.213 8.911.066 11.896q.003.024.02.037a13.3 13.3 0 0 0 3.996 2.02.05.05 0 0 0 .056-.018q.463-.63.818-1.33a.05.05 0 0 0-.028-.07 9 9 0 0 1-1.248-.595.05.05 0 0 1-.005-.085q.127-.096.248-.194a.05.05 0 0 1 .051-.008c2.619 1.196 5.454 1.196 8.041 0a.05.05 0 0 1 .053.007q.121.1.248.195a.05.05 0 0 1-.004.085q-.597.349-1.249.594a.05.05 0 0 0-.027.071c.24.466.515.909.817 1.329a.05.05 0 0 0 .056.02 13.2 13.2 0 0 0 4.001-2.02.05.05 0 0 0 .021-.037c.334-3.452-.559-6.45-2.365-9.107a.04.04 0 0 0-.021-.02m-8.198 7.308c-.789 0-1.438-.723-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .889-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.723-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .889-.63 1.612-1.438 1.612"})))};function A(){return(A=Object.assign.bind()).apply(null,arguments)}let L=function(e){return w.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor"},e),o||(o=w.createElement("path",{d:"M10.034 2.784a1.666 1.666 0 1 0-.01-.72 2.69 2.69 0 0 0-2.399 2.671v.009c-1.465.061-2.802.478-3.864 1.136a2.334 2.334 0 1 0-2.417 3.96c.077 2.71 3.03 4.89 6.661 4.89 3.632 0 6.589-2.182 6.662-4.894a2.334 2.334 0 1 0-2.422-3.959c-1.071-.663-2.424-1.08-3.904-1.135v-.006c0-.992.737-1.815 1.693-1.95zM3.667 9.21c.039-.847.601-1.497 1.255-1.497s1.153.687 1.114 1.533c-.039.847-.527 1.154-1.181 1.154-.655 0-1.227-.344-1.188-1.19m7.423-1.497c.654 0 1.217.65 1.255 1.497.039.846-.534 1.19-1.188 1.19s-1.142-.306-1.181-1.154c-.04-.846.46-1.533 1.114-1.533m-.778 3.455c.123.013.2.14.153.254a2.665 2.665 0 0 1-4.92 0 .185.185 0 0 1 .154-.254 23 23 0 0 1 2.306-.112c.812 0 1.588.04 2.307.112"})))};function T(){return(T=Object.assign.bind()).apply(null,arguments)}let M=function(e){return w.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor"},e),s||(s=w.createElement("path",{d:"M8 1c3.867 0 7 3.212 7 7.177 0 1.504-.46 2.97-1.316 4.191a7.03 7.03 0 0 1-3.453 2.618c-.35.072-.481-.152-.481-.34 0-.243.009-1.014.009-1.974 0-.673-.219-1.104-.473-1.328 1.558-.18 3.194-.79 3.194-3.544 0-.79-.271-1.426-.718-1.929.07-.179.316-.915-.07-1.901 0 0-.586-.198-1.924.735a6.4 6.4 0 0 0-1.75-.242c-.595 0-1.19.08-1.75.242-1.34-.924-1.925-.735-1.925-.735-.385.986-.14 1.722-.07 1.901a2.83 2.83 0 0 0-.718 1.93c0 2.745 1.628 3.364 3.185 3.543-.201.18-.385.493-.446.9
16-.403.188-1.409.493-2.039-.592-.131-.216-.525-.745-1.076-.736-.586.01-.236.341.009.476.297.17.638.807.717 1.013.14.404.595 1.176 2.354.844 0 .6.009 1.166.009 1.336 0 .189-.132.404-.482.341a7 7 0 0 1-3.466-2.612A7.3 7.3 0 0 1 1 8.177C1 4.212 4.133 1 8 1"})))};function O(){return(O=Object.assign.bind()).apply(null,arguments)}let P=function(e){return w.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",width:16,height:13,viewBox:"0 0 16 13",fill:"currentColor"},e),c||(c=w.createElement("path",{d:"M2.384 4.215C4.4 2.2 6.75 1.282 7.634 2.167c.39.39.427 1.065.178 1.87-.128.4.367.188.38.182 1.63-.682 3.052-.722 3.57.02.276.395.25.95-.005 1.592-.119.296.036.343.262.41.918.284 1.94.972 1.94 2.185 0 2.009-2.894 4.537-7.246 4.537-3.32 0-6.713-1.61-6.713-4.256 0-1.383.877-2.983 2.384-4.492m8.823 4.176c-.172-1.74-2.459-2.937-5.106-2.674-2.648.26-4.658 1.883-4.486 3.622.173 1.74 2.46 2.937 5.108 2.676 2.648-.263 4.654-1.886 4.484-3.624m-7.453.076c.548-1.111 1.972-1.74 3.233-1.411 1.304.337 1.968 1.566 1.437 2.762-.54 1.224-2.096 1.876-3.414 1.45-1.274-.41-1.813-1.668-1.256-2.801m1.974.42c-.41-.172-.94.006-1.193.402-.257.398-.137.874.27 1.059.414.187.964.01 1.22-.4.251-.413.117-.885-.297-1.061m1.01-.42a.38.38 0 0 0-.447.168c-.089.155-.04.333.118.398.16.067.365-.01.457-.169.089-.159.032-.338-.129-.397m4.14-8.374a4.24 4.24 0 0 1 4.918 5.451v.002a.612.612 0 0 1-1.165-.379 3.012 3.012 0 0 0-3.496-3.874.614.614 0 0 1-.257-1.2m.455 2.128a2.063 2.063 0 0 1 2.393 2.653.527.527 0 1 1-1.002-.328c.109-.331.04-.709-.21-.986a1.01 1.01 0 0 0-.96-.31.526.526 0 1 1-.221-1.03"})))};function R(){return(R=Object.assign.bind()).apply(null,arguments)}let S=function(e){return w.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg",width:16,height:14,viewBox:"0 0 16 14",fill:"currentColor"},e),d||(d=w.createElement("path",{d:"M5.717 0c2.86 0 5.229 1.756 5.65 4.05a4 4 0 0 0-.24-.005c-2.875 0-5.207 1.954-5.207 4.365 0 .395.064.777.182 1.14a6.8 6.8 0 0 1-2.193-.232l-.098-.027-2.067 1.052.553-1.73-.053-.033C.88 7.706 0 6.33 0 4.781 0 2.141 2.56.001 5.717 0m-1.99 2.357a.79.79 0 0 0-.802.778c0 .429.36.777.803.777a.79.79 0 0 0 .803-.777.79.79 0 0 0-.803-.778m3.98 0a.79.79 0 0 0-.803.778.79.79 0 0 0 .802.777.79.79 0 0 0 .803-.777.79.79 0 0 0-.803-.778"})),u||(u=w.createElement("path",{d:"M11.17 4.4C13.839 4.4 16 6.207 16 8.437c0 1.31-.744 2.471-1.896 3.21l-.044.028.466 1.462-1.745-.89-.083.024c-.48.133-.994.207-1.527.207-2.668 0-4.831-1.81-4.831-4.04s2.163-4.04 4.83-4.04M9.49 6.39a.67.67 0 0 0-.678.657c0 .363.303.658.677.658a.67.67 0 0 0 .679-.658.67.67 0 0 0-.679-.656m3.36 0a.667.667 0 0 0-.677.657c0 .363.303.658.678.658a.67.67 0 0 0 .678-.658.67.67 0 0 0-.678-.656"})))};function K(){return(K=Object.assign.bind()).apply(null,arguments)}let z=function(e){return w.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor"},e),m||(m=w.createElement("g",{clipPath:"url(#logo-bilibili_svg__clip0_19304_29730)"},w.createElement("path",{d:"M5.64 2.874 4.22 1.498s-.223-.273.153-.582c.377-.307.396-.17.523-.086S7.01 2.874 7.01 2.874zm4.718.051 1.42-1.376s.222-.273-.153-.582C11.249.66 11.228.797 11.1.88S8.99 2.925 8.99 2.925zm5.33 2.549c-.05-2.156-1.924-2.566-1.924-2.566s-9.6-.077-11.602 0C.16 3.473.313 5.474.313 5.474S.34 9.759.311 11.929c.216 2.17 1.889 2.514 1.889 2.514s.667.014 1.155.014c.05.14.089.82.847.82.757 0 .848-.82.848-.82s5.545-.027 6.005-.027c.027.232.14.86.9.848.756-.014.807-.9.807-.9s.256-.026 1.026 0c1.796-.333 1.9-2.438 1.9-2.438s-.024-4.31 0-6.466m-1.545 6.863a.61.61 0 0 1-.601.616H2.613a.61.61 0 0 1-.6-.616V5.099a.61.61 0 0 1 .6-.617h10.929c.332 0 .6.275.6.617zM3.163 7.143l3.209-.617.242 1.206-3.182.617zm9.984 0L9.94 6.526l-.245 1.206 3.184.617zm-6.532 2.99s.705 1.27 1.488-.411c.757 1.642 1.591.436 1.591.436l.474.309s-.885 1.424-2.053.347c-.988 1.077-2.027-.343-2.027-.343z"}))),h||(h=w.createElement("defs",null,w.createElement("clipPath",{id:"logo-bilibili_svg__clip0_19304_29730"},w.createElement("path",{d:"M0 0h16v16H0z"})))))};function B(){return(B=Object.assign.bind()).apply(null,arguments)}let H=function(e){return w.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor"},e),p||(p=w.createElement("path",{d:"M6.34 14.458c.106-.231.195-.431.29-.628q.329-.607.59-1.247a.74.74 0 0 1 .88-.55c.557.039 1.116.01 1.698.01V4.794c-.391 0-.777-.014-1.16 0-.267.014-.36-.073-.353-.36.019-.685 0-1.374 0-2.091h5.428v1.664c0 .783 0 .783-.76.783h-.762v7.245h1.647c.664 0 .664 0 .664.697v1.46c0 .202-.05.305-.268.305q-3.866-.007-7.73-.006a1 1 0 0 1-.164-.034"})),f||(f=w.createElement("path",{d:"M7.365 9.21c-.339.7-.637 1.324-.95 1.938a.3.3 0 0 1-.228.114c-.755 0-1.514.03-2.266-.026-.753-.056-1.054-.54-.754-1.28.342-.853.753-1.678 1.134-2.514.024-.053.042-.106.088-.223-.305 0-.572.007-.84 0a3 3 0 0 1-.646-.06.76.76 0 0 1-.652-.85.8.8 0 0 1 .074-.256c.457-1.098.97-2.175 1.464-3.256q.24-.532.51-1.05c.047-.09.155-.203.238-.207.706-.017 1.414-.009 2.184-.009-.067.172-.104.29-.156.399q-.648 1.356-1.301 2.709c-.088.183-.194.373.134.512.088-.47.44-.384.75-.384h1.784c-.075.178-.123.302-.178.42-.55 1.152-1.11 2.294-1.653 3.444-.223.469-.148.583.37.588.268-.008.538-.01.894-.01m-.97 2.834c-.419.839-.792 1.593-1.175 2.343a.26.26 0 0 1-.194.11 228 228 0 0 1-3.084-.058 2 2 0 0 1-.413-.11l.575-1.162c.188-.384.37-.767.572-1.133a.35.35 0 0 1 .247-.162c.942.047 1.884.112 2.828.17.19.01.369.002.644.002"})))};function F(){return(F=Object.assign.bind()).apply(null,arguments)}let V=function(e){return w.createElement("svg",F({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor"},e),g||(g=w.createElement("path",{d:"M11.382 0H8.686v10.899c0 1.298-1.037 2.365-2.328 2.365S4.03 12.197 4.03 10.899c0-1.276 1.015-2.32 2.259-2.366V
15.797c-2.743.046-4.955 2.296-4.955 5.102C1.334 13.728 3.593 16 6.381 16c2.789 0 5.047-2.296 5.047-5.101V5.31a6.24 6.24 0 0 0 3.573 1.206V3.78c-2.028-.07-3.619-1.74-3.619-3.78"})))};var D=e.i(607909),W=e.i(493594);let $=[{id:"products",links:[{id:"kimi",href:"/",hrefOverrides:{"en-CN":"https://www.kimi.com/en"}},{id:"kimiWork",href:"/products/kimi-work",localePrefix:"overseas"},{id:"kimiCode",href:"/code",hrefOverrides:{"en-CN":"/code/en"},variantHrefOverrides:{"help-center":{"zh-CN":"/code/zh"}},openInNewTab:!0},{id:"kimiWebbridge",href:"/products/kimi-browser-extension",localePrefix:"overseas",openInNewTab:!0},{id:"kimiPlatform",href:"https://platform.kimi.ai/",hrefOverrides:{"zh-CN":"https://platform.kimi.com/","fr-FR":"https://platform.kimi.ai/fr","de-DE":"https://platform.kimi.ai/de","id-ID":"https://platform.kimi.ai/id","it-IT":"https://platform.kimi.ai/it","ja-JP":"https://platform.kimi.ai/ja","ko-KR":"https://platform.kimi.ai/ko","pt-BR":"https://platform.kimi.ai/pt-br","es-419":"https://platform.kimi.ai/es-419","ru-RU":"https://platform.kimi.ai/ru","th-TH":"https://platform.kimi.ai/th","tr-TR":"https://platform.kimi.ai/tr","vi-VN":"https://platform.kimi.ai/vi","zh-SG":"https://platform.kimi.ai/zh-hans","zh-TW":"https://platform.kimi.ai/zh-hant"},openInNewTab:!0},{id:"pricing",href:"/membership/pricing"},{id:"download",href:"/products/download",localePrefix:"overseas"}]},{id:"features",links:[{id:"aiAgents",href:"/agent",hrefOverrides:{"en-CN":"https://www.kimi.com/en/agent"}},{id:"ultraMode",href:"/agent-swarm",hrefOverrides:{"en-CN":"https://www.kimi.com/en/agent-swarm"}},{id:"aiWebsiteBuilder",href:"/build",hrefOverrides:{"en-CN":"https://www.kimi.com/en/build"}},{id:"aiDocumentAgent",href:"/docs",hrefOverrides:{"en-CN":"https://www.kimi.com/en/docs"}},{id:"aiSlidesGenerator",href:"/slides",hrefOverrides:{"en-CN":"https://www.kimi.com/en/slides"}},{id:"aiExcelAgent",href:"/sheets",hrefOverrides:{"en-CN":"https://www.kimi.com/en/sheets"}},{id:"deepResearch",href:"/deep-research",hrefOverrides:{"en-CN":"https://www.kimi.com/en/deep-research"}}]},{id:"capabilities",excludeLocales:["en-CN"],links:[{id:"pythonCodeGenerator",href:"/capabilities/ai-python-code-generator",localePrefix:"route"},{id:"cplusplusCodeGenerator",href:"/capabilities/ai-cplusplus-code-generator",localePrefix:"route"},{id:"htmlCodeGenerator",href:"/capabilities/ai-html-code-generator",localePrefix:"route"},{id:"javaCodeGenerator",href:"/capabilities/ai-java-code-generator",localePrefix:"route"},{id:"jsCodeGenerator",href:"/capabilities/ai-javascript-code-generator",localePrefix:"route"},{id:"rustCodeGenerator",href:"/capabilities/ai-rust-code-generator",localePrefix:"route"}]},{id:"company",links:[{id:"aboutUs",href:"https://www.moonshot.ai/about",hrefOverrides:{"zh-CN":"https://www.moonshot.cn/about","en-CN":"https://www.moonshot.cn/about","zh-SG":"https://www.moonshot.ai/zh-hans/about","zh-TW":"https://www.moonshot.ai/zh-hant/about","fr-FR":"https://www.moonshot.ai/fr/about","de-DE":"https://www.moonshot.ai/de/about","id-ID":"https://www.moonshot.ai/id/about","it-IT":"https://www.moonshot.ai/it/about","ja-JP":"https://www.moonshot.ai/ja/about","ko-KR":"https://www.moonshot.ai/ko/about","pt-BR":"https://www.moonshot.ai/pt-br/about","es-419":"https://www.moonshot.ai/es-419/about","ru-RU":"https://www.moonshot.ai/ru/about","th-TH":"https://www.moonshot.ai/th/about","tr-TR":"https://www.moonshot.ai/tr/about","vi-VN":"https://www.moonshot.ai/vi/about"},openInNewTab:!0},{id:"moonshotAi",href:"https://www.moonshot.ai/",hrefOverrides:{"zh-CN":"https://www.moonshot.cn/","en-CN":"https://www.moonshot.cn/","zh-SG":"https://www.moonshot.ai/zh-hans","zh-TW":"https://www.moonshot.ai/zh-hant","fr-FR":"https://www.moonshot.ai/fr","de-DE":"https://www.moonshot.ai/de","id-ID":"https://www.moonshot.ai/id","it-IT":"https://www.moonshot.ai/it","ja-JP":"https://www.moonshot.ai/ja","ko-KR":"https://www.moonshot.ai/ko","pt-BR":"https://www.moonshot.ai/pt-br","es-419":"https://www.moonshot.ai/es-419","ru-RU":"https://www.moonshot.ai/ru","th-TH":"https://www.moonshot.ai/th","tr-TR":"https://www.moonshot.ai/tr","vi-VN":"https://www.moonshot.ai/vi"},openInNewTab:!0},{id:"brandGuideline",href:"/resources/kimi-brand",localePrefix:"overseas"},{id:"prContact",href:"mailto:[email protected]"},{id:"termsOfService",href:"/user/agreement/modelUse?version=v2",openInNewTab:!0},{id:"privacyPolicy",href:"/user/agreement/userPrivacy?version=v2",openInNewTab:!0}]}],G=Object.fromEntries(D.ALL_LANDING_ROUTE_LOCALE_OPTIONS.map(e=>[e.cookie,e.locale===D.DEFAULT_ROUTE_LOCALE?"":"en-cn"===e.locale?"/en":`/${e.locale}`])),U=[{id:"copyright"},{id:"icp",href:"https://beian.miit.gov.cn/#/Integrated/recordQuery"},{id:"telecom",href:"https://tsm.miit.gov.cn/dxxzsp/xkz/xkzgl/resource/qiyesearch.jsp?num=%25E4%25BA%25ACB2-20240852&type=xuke"},{id:"publicSecurity",href:"https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802043150"}];var q=e.i(287107),Y=e.i(355119),J=e.i(538015),X=e.i(354136),Q=e.i(329615),Z=e.i(632762),ee=e.i(538501),et=e.i(510988);let en="flex size-[40px] items-center justify-center rounded-[100px] bg-(--Always-TransparencyWhite15) transition-colors hover:bg-[rgba(255,255,255,0.3136)]",ea="size-[16
1px] [&_path]:stroke-(--Always-White)",er="size-[16px] [&_path]:fill-(--Always-White)",ei="text-[14px] leading-[20px] text-(--Always-WhiteSecondary) hover:text-(--Always-White)",el="text-[14px] leading-6 font-medium text-(--Always-WhiteSecondary)";function eo({variant:e,isOverSea:t,isGeoOverSea:n,pageType:a,relatedFeature:r,languageSwitcher:i,langPathPrefix:l="",locale:o,onPricingClick:s,showPricingNav:c=!0,footerLinkContext:d,navigation:u}){let{t:m,i18n:h}=(0,y.useTranslation)(),p=(0,Z.useKitPathname)(),f=o??(0,ee.getSiteShellLocaleFromPathPrefix)(l),g=p?.split(/[?#]/)[0]?.split("/").filter(Boolean)[0]?.toLowerCase(),v=!!g&&D.ROUTE_PATH_PREFIX_LOCALES.has(g),b="zh-cn"===g||"zh-cn"===(o??"").toLowerCase()||"/zh-cn"===(l||"").toLowerCase(),k=e=>(!v||b)&&e.startsWith("/")?(0,D.stripLocalePrefixFromPathname)(e):e,j="function"==typeof h.getFixedT?h.getFixedT(f):m,C=j("footerAccessibility.logo",{defaultValue:"KIMI"}),A={x:j("footerSocial.x",{defaultValue:"X"}),instagram:j("footerSocial.instagram",{defaultValue:"Instagram"}),discord:j("footerSocial.discord",{defaultValue:"Discord"}),reddit:j("footerSocial.reddit",{defaultValue:"Reddit"}),github:j("footerSocial.github",{defaultValue:"GitHub"}),rednote:j("footerSocial.rednote",{defaultValue:"小红书"}),wechat:j("footerSocial.wechat",{defaultValue:"微信公众号"}),weibo:j("footerSocial.weibo",{defaultValue:"微博"}),douyin:j("footerSocial.douyin",{defaultValue:"抖音"}),bilibili:j("footerSocial.bilibili",{defaultValue:"哔哩哔哩"})},T=a??("help-center"===e?"help_center":"landing_page"),O=(0,Y.getSiteChromeContentMaxWidthClass)(),R=(0,w.useMemo)(()=>({event:"hub_nav_module_show",params:{page_type:T,module_id:"footer",module_index:99,...r?{related_feature:r}:{}}}),[T,r]),K=(e,t,n)=>({event:"hub_footer_social_click",params:{page_type:T,module_id:"footer_social",module_index:99,channel:e,item_index:t,target_url:n}}),B=(e,t,n,a,r,i)=>({event:"hub_footer_link_click",params:{page_type:T,module_id:"footer_links",module_index:99,group_id:(0,Q.toNavDropdownGroupId)(e),group_text:t,item_id:n,item_text:a,item_index:r,target_url:i}}),F=(0,et.resolveHeaderHref)("/",d),eo=(o?.trim()||(l||"").replace(/^\//,"")).toLowerCase(),es=(0,D.isChineseRouteGroupLocale)(eo)&&!t&&!1===n,ec=new Date().getFullYear(),ed=[`mx-auto w-full ${O}`,"px-6 tablet:px-12 desktop:px-20",es?"pt-[48px] desktop:pt-[104px] pb-[16px]":"pt-[48px] pb-[48px] tablet:pb-[160px] desktop:py-[104px]"].join(" "),eu="flex min-w-[calc(50%-8px)] flex-none flex-col phone:min-w-full tablet:min-w-[152px] tablet:w-[152px]",em=`${eu} gap-[8px]`,eh=`${eu} gap-[24px]`,ep=e=>e.target?.kind!=="action"||(e.target.actionId===q.NAVIGATION_ACTION_PRICING?c:e.target.actionId===q.NAVIGATION_ACTION_TRY_KIMI),ef=(e,t,n)=>{let a,r,i=t.target;if(i?.kind==="action")if(i.actionId===q.NAVIGATION_ACTION_PRICING)a=(0,et.resolveHeaderHref)("/membership/pricing",d),s&&(r=e=>{e.preventDefault(),s()});else{if(i.actionId!==q.NAVIGATION_ACTION_TRY_KIMI)return console.warn(`[navigation] unknown actionId, item skipped: ${i.actionId}`),null;a=(0,et.resolveHeaderHref)("/",d)}else if(i){var o;let e="internalRoute"===i.kind?i.path:i.url;a=k((0,q.resolveNavigationTargetHref)(i,{langPathPrefix:l,linkContext:d,pathFamily:"internalRoute"===i.kind?"/blog"===(o=i.path)||o.startsWith("/blog/")?"research":"/resources"===o||o.startsWith("/resources/")||"/showcases"===o||o.startsWith("/showcases/")?"resources":void 0:void 0})??e)}let c=a?.toLowerCase().startsWith("mailto:")??!1;return(0,x.jsx)(J.default,{log:B(e.itemKey,e.title,t.itemKey,t.title,n+1,a??""),children:(0,x.jsx)(Z.KitLink,{href:a??"#",onClick:r,...!c&&!r&&t.openInNewTab?{target:"_blank",rel:"noopener noreferrer"}:{},className:"flex min-h-[24px] flex-col justify-center self-stretch text-[14px] leading-[20px] text-(--Always-WhiteTertiary) hover:text-(--Always-White)",children:t.title})},t.itemKey)},eg=e=>e.children.some(e=>"group"===e.kind?eg(e):ep(e)),ex=e=>"group"===e.kind?eg(e):ep(e);return(0,x.jsx)(X.default,{log:R,children:(0,x.jsx)("footer",{id:"site-footer",className:"bg-[#121212]",children:(0,x.jsxs)("div",{className:ed,children:[(0,x.jsxs)("div",{className:"flex flex-col gap-24 min-[1500px]:flex-row min-[1500px]:items-stretch min-[1500px]:gap-[96px]",children:[(0,x.jsxs)("div",{className:"flex w-full grow flex-col items-start min-[1500px]:min-h-full",children:[(0,x.jsx)(J.default,{log:{event:"hub_logo_click",params:{page_type:T,module_id:"footer_home",module_index:99,target_url:F}},children:(0,x.jsx)(Z.KitLink,{href:F,target:"_blank",rel:"noopener noreferrer","aria-label":C,children:(0,x.jsx)(_.default,{"aria-hidden":!0,focusable:!1,className:"h-[32px] w-auto [&_path]:fill-white"})})}),(0,x.jsx)("div",{className:"mt-[32px] flex items-center gap-[15px]",children:t?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(J.default,{log:K("x",1,"https://x.com/Kimi_Moonshot"),children:(0,x.jsx)(Z.KitLink,{href:"https://x.com/Kimi_Moonshot",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.x,children:(0,x.jsx)(N,{"aria-hidden":!0,focusable:!1,className:ea})})}),(0,x.jsx)(J.default,{log:K("instagram",2,"https://www.instagram.com/kimiai.official/"),children:(0,x.jsx)(Z.KitLink,{href:"https://www.instagram.com/kimiai.official/",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.instagram,children:(0,x.jsx)(I,{"aria-hidden":!0,focusable:!1,className:ea+" [&_path]:fill-none"})})}),(0,x.jsx)(J.default,{log:K("discord",3,"https://discord.gg/FBDhVhVH7M"),children:(0,x.jsx)(Z.KitLink,{href:"https://discord.gg/FBDhVhVH7M",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.discord,children:(0,x.jsx)(E,{"aria-hidden":!0,focusable:!1,className:er})})}),(0,x.jsx)(J.default,{log:K("reddit",4,"https://www.reddit.com/r/kimi/"),children:(0,x.jsx)(Z.KitLink,{href:"https://www.reddit.com/r/kimi/",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.reddit,children:(0,x.jsx)(L,{"aria-hidden":!0,focusable:!1,className:er})})}),(0,x.jsx)(J.default,{log:K("github",5,"https://github.com/MoonshotAI"),children:(0,x.jsx)(Z.KitLink,{href:"https://github.com/MoonshotAI",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.github,children:(0,x.jsx)(M,{"aria-hidden":!0,focusable:!1,className:er})})})]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(J.default,{log:K("rednote",1,"https://www.xiaohongshu.com/user/profile/657fb438000000001902dbcf"),children:(0,x.jsx)(Z.KitLink,{href:"https://www.xiaohongshu.com/user/profile/657fb438000000001902dbcf",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.rednote,children:(0,x.jsx)(H,{"aria-hidden":!0,focusable:!1,className:er})})}),(0,x.jsx)(J.default,{log:K("wechat",2,"https://mp.weixin.qq.com/s/0e2tLYhv5e61ievYLaRJ4Q"),children:(0,x.jsx)(Z.KitLink,{href:"https://mp.weixin.qq.com/s/0e2tLYhv5e61ievYLaRJ4Q",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.wechat,children:(0,x.jsx)(S,{"aria-hidden":!0,focusable:!1,className:er})})}),(0,x.jsx)(J.default,{log:K("weibo",3,"https://weibo.com/u/7909392214"),children:(0,x.jsx)(Z.KitLink,{href:"https://weibo.com/u/7909392214",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.weibo,children:(0,x.jsx)(P,{"aria-hidden":!0,focusable:!1,className:er})})}),(0,x.jsx)(J.default,{log:K("douyin",4,"https://www.douyin.com/user/MS4wLjABAAAA8GVDaA0r5ePiUf2AAG3XMwcl
1EnvgaG8ziSP4-Mdyfqi5qmXfFz9BxLtUV7sgpM0b"),children:(0,x.jsx)(Z.KitLink,{href:"https://www.douyin.com/user/MS4wLjABAAAA8GVDaA0r5ePiUf2AAG3XMwclEnvgaG8ziSP4-Mdyfqi5qmXfFz9BxLtUV7sgpM0b",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.douyin,children:(0,x.jsx)(V,{"aria-hidden":!0,focusable:!1,className:er})})}),(0,x.jsx)(J.default,{log:K("bilibili",5,"https://space.bilibili.com/3546607314274766"),children:(0,x.jsx)(Z.KitLink,{href:"https://space.bilibili.com/3546607314274766",target:"_blank",rel:"noopener noreferrer",className:en,"aria-label":A.bilibili,children:(0,x.jsx)(z,{"aria-hidden":!0,focusable:!1,className:er})})})]})}),i?(0,x.jsx)("div",{className:"mt-[32px] w-full min-[1500px]:mt-auto",children:i}):null]}),(0,x.jsx)("div",{className:u?"flex w-full flex-wrap gap-[24px] tablet:gap-[56px] min-[1500px]:flex-nowrap min-[1500px]:justify-end":"flex w-full flex-wrap gap-4 desktop:flex-nowrap desktop:justify-end desktop:gap-[64px]",children:u?u.items.filter(e=>!!ep(e)&&("group"!==e.kind&&!(e.children.length>0)||e.children.some(ex))).map(e=>{if(!("group"===e.kind||e.children.length>0))return(0,x.jsx)("nav",{className:em,children:ef(e,e,0)},e.itemKey);let t=e.children.filter(ex);if(!t.some(e=>"group"===e.kind))return(0,x.jsxs)("nav",{className:em,children:[(0,x.jsx)("h4",{className:el,children:e.title}),t.map((t,n)=>ef(e,t,n))]},e.itemKey);let n=0;return(0,x.jsx)("nav",{className:eh,children:t.map(t=>{if("group"!==t.kind)return ef(e,t,(n+=1)-1);let a=t.children.filter(ex);return(0,x.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[(0,x.jsx)("h4",{className:el,children:t.title}),a.map((e,n)=>ef(t,e,n))]},t.itemKey)})},e.itemKey)}):$.filter(t=>!t.excludeLocales?.includes(f)&&t.links.some(t=>!t.excludeLocales?.includes(f)&&(!t.locales||!!t.locales.includes(h.language))&&(!t.variants||!!t.variants.includes(e))&&("pricing"!==t.id||!!c))).map(t=>(0,x.jsxs)("nav",{className:"flex min-w-[calc(50%-8px)] flex-none flex-col gap-[24px] phone:min-w-full tablet:min-w-[130px] tablet:w-[130px]",children:[(0,x.jsx)("h4",{className:"pb-[16px] text-[14px] leading-[20px] font-medium text-(--Always-White)",children:j(`footerNav.${t.id}.title`)}),t.links.filter(t=>!t.excludeLocales?.includes(f)&&(!t.locales||!!t.locales.includes(h.language))&&(!t.variants||!!t.variants.includes(e))&&("pricing"!==t.id||!!c)).map((n,a)=>{let r=j(`footerNav.${t.id}.links.${n.id}.title`),i=k(function(e,t,n){let a=n?e.variantHrefOverrides?.[n]?.[t]:void 0;if(a)return a;let r=e.hrefOverrides?.[t];return r||(e.localePrefix&&("overseas"!==e.localePrefix||"zh-CN"!==t)?(0,W.withLang)(e.href,G[t]??""):e.href)}(n,f,e)),l=i.startsWith("mailto:"),o=l?i:(0,et.resolveHeaderHref)(i,d),c="pricing"===n.id;return(0,x.jsx)(J.default,{log:B(t.id,j(`footerNav.${t.id}.title`),n.id,r,a+1,o),children:c&&s?(0,x.jsx)(Z.KitLink,{href:o,className:ei,onClick:e=>{e.preventDefault(),s()},children:r}):(0,x.jsx)(Z.KitLink,{href:o,...!l&&n.openInNewTab?{target:"_blank",rel:"noopener noreferrer"}:{},className:ei,children:r})},n.id)})]},t.id))})]}),es&&(0,x.jsx)("div",{className:"border-t border-(--Always-TransparencyWhite15) mt-[96px] pt-[16px] text-center text-[14px] leading-[20px] text-[var(--Always-WhiteQuaternary,rgba(255,255,255,0.42))]",children:(0,x.jsx)("div",{className:"text-center text-[14px] leading-[30px] tablet:leading-[20px]",children:U.map((e,t)=>{let n=e.href?j(`footerLegal.${e.id}.text`):"copyright"===e.id?j("footerLegal.copyright",{year:ec}):j(`footerLegal.${e.id}`),a=e.href?(0,et.resolveHeaderHref)(e.href,d):void 0;return(0,x.jsxs)(w.Fragment,{children:[t>0&&(0,x.jsx)("span",{className:"mx-2 inline opacity-50","aria-hidden":"true",children:"|"}),a?(0,x.jsx)(Z.KitLink,{href:a,target:"_blank",rel:"noopener noreferrer",className:"inline transition-colors",children:n}):(0,x.jsx)("span",{className:"inline",children:n})]},e.id)})})})]})})})}function es(e){let t=(0,b.useSiteHeaderPricingVisibility)(),n=e.footerLinkContext?.mainAppOrigin,a=(0,w.useCallback)(()=>{(0,v.openSiteHeaderPricing)({origin:n,webFrom:v.SITE_FOOTER_PRICING_WEB_FROM})},[n]);return(0,x.jsx)(eo,{...e,onPricingClick:a,showPricingNav:t})}e.s(["SiteFooter",()=>es],28913)},215601,e=>{"use strict";let t="CUSTOM_THEME";function n(e){if(!e)return null;let t=e.trim();try{let e=JSON.parse(t);"string"==typeof e&&(t=e.trim())}catch{}return"system"===t||"dark"===t||"light"===t?t:null}function a(){try{return n(window.localStorage.getItem(t))}catch{return null}}function r(e){let t=a();return"dark"===t||"light"!==t&&e}function i(e){let n=n=>{(null===n.key||n.key===t)&&e()};
1return window.addEventListener("storage",n),()=>window.removeEventListener("storage",n)}function l(e){try{window.localStorage.setItem(t,JSON.stringify(e))}catch{return}window.dispatchEvent(new StorageEvent("storage",{key:t}))}n.toString(),e.s(["getCustomThemeSetting",()=>a,"resolvePrefersDark",()=>r,"subscribeCustomThemeChange",()=>i,"writeCustomThemeSetting",()=>l])},765061,528574,425043,204397,634592,e=>{"use strict";var t,n,a,r=e.i(113736);function i(){return(i=Object.assign.bind()).apply(null,arguments)}function l(){return(l=Object.assign.bind()).apply(null,arguments)}function o(){return(o=Object.assign.bind()).apply(null,arguments)}e.s(["ThemeDarkIcon",0,function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor"},e),t||(t=r.createElement("path",{d:"M7.684 2.378c.571-.113.939.516.712 1.053-1.962 4.658 1.515 8.136 6.173 6.173.537-.226 1.166.14 1.053.713a6.75 6.75 0 1 1-7.939-7.938m-.937 1.713a5.4 5.4 0 1 0 7.162 7.162c-2.275.602-4.423.142-5.864-1.299s-1.9-3.588-1.298-5.863m5.628-.267c.373 0 .675.304.675.676v.45h.45a.676.676 0 0 1 0 1.35h-.45v.45a.675.675 0 0 1-1.35 0V6.3h-.45a.676.676 0 0 1 0-1.35h.45V4.5c0-.372.303-.675.675-.676"})))}],765061),e.s(["ThemeLightIcon",0,function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor"},e),n||(n=r.createElement("path",{d:"M9 14.325c.373 0 .675.303.675.676v.75a.675.675 0 0 1-1.35 0V15c0-.373.303-.676.675-.676m-4.72-1.559a.676.676 0 0 1 .955.954l-.53.53a.676.676 0 0 1-.956-.954zm8.486 0a.674.674 0 0 1 .954 0l.53.53a.675.675 0 1 1-.954.955l-.53-.53a.674.674 0 0 1 0-.955M9 5.325a3.676 3.676 0 1 1-.002 7.351A3.676 3.676 0 0 1 9 5.325m0 1.35a2.325 2.325 0 1 0 0 4.651 2.325 2.325 0 0 0 0-4.65m-6 1.65a.676.676 0 0 1 0 1.35h-.75a.676.676 0 0 1 0-1.35zm12.75 0a.676.676 0 0 1 0 1.35H15a.676.676 0 0 1 0-1.35zm-12-4.575a.676.676 0 0 1 .954 0l.53.53a.676.676 0 0 1-.954.955l-.53-.53a.676.676 0 0 1 0-.955m9.546 0a.675.675 0 1 1 .954.955l-.53.53a.675.675 0 0 1-.954-.955zM9 1.575c.373 0 .675.303.675.675V3a.675.675 0 0 1-1.35 0v-.75c0-.372.303-.675.675-.675"})))}],528574),e.s(["ThemeSystemIcon",0,function(e){return r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor"},e),a||(a=r.createElement("path",{d:"M9 2.25a6.75 6.75 0 1 1 0 13.5 6.75 6.75 0 0 1 0-13.5M9 14.4A5.4 5.4 0 0 0 9 3.6z"})))}],425043);var s=e.i(215601);function c(){return(0,r.useSyncExternalStore)(s.subscribeCustomThemeChange,()=>(0,s.getCustomThemeSetting)()??"system",()=>"system")}e.s(["useCustomThemeSetting",()=>c],204397);var d=e.i(272510),u=e.i(611918),m=e.i(63808);function h(){let e=(0,m.useLang)();return d.default.getFixedT((0,u.routeLangToUiLocale)(e||"en"))}e.s(["useRouteFixedT",()=>h],634592)},61998,120563,e=>{"use strict";var t,n=e.i(270468),a=e.i(113736),r=e.i(765061),i=e.i(528574),l=e.i(425043);function o(){return(o=Object.assign.bind()).apply(null,arguments)}let s=function(e){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor"},e),t||(t=a.createElement("path",{fillRule:"evenodd",d:"M15.386 4.773a.675.675 0 0 1 0 .954L7.2 13.915a.675.675 0 0 1-.955 0l-3.721-3.722a.675.675 0 0 1 .954-.954l3.245 3.244 7.71-7.71a.675.675 0 0 1 .954 0",clipRule:"evenodd"})))};e.s(["default",0,s],120563);var c=e.i(204397);e.i(392542);var d=e.i(556813),u=e.i(634592),m=e.i(215601);let h="hover:bg-[rgba(255,255,255,0.05)] active:bg-[rgba(255,255,255,0.08)]",p=[{value:"system",Icon:l.ThemeSystemIcon},{value:"light",Icon:i.ThemeLightIcon},{value:"dark",Icon:r.ThemeDarkIcon}];function f({pageType:e}){let t=(0,u.useRouteFixedT)(),{sendLog:r}=(0,d.useLog)(),i=(0,c.useCustomThemeSetting)(),[l,o]=(0,a.useState)(!1),f=(0,a.useRef)(null),g=t("footerTheme.title",{defaultValue:"Theme"}),x={system:t("footerTheme.system",{defaultValue:"System"}),light:t("footerTheme.light",{defaultValue:"Light"}),dark:t("footerTheme.dark",{defaultValue:"Dark"})},w=p.find(e=>e.value===i)??p[0],v=(0,a.useCallback)(()=>o(!1),[]);return(0,a.useEffect)(()=>
1{if(!l)return;let e=e=>{f.current?.contains(e.target)||v()},t=e=>{"Escape"===e.key&&v()};return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)}},[l,v]),(0,n.jsxs)("div",{ref:f,className:"relative z-20 w-fit",children:[(0,n.jsxs)("button",{type:"button","aria-expanded":l,"aria-haspopup":"listbox","aria-label":g,className:`inline-flex cursor-pointer items-center gap-2 rounded-[12px] px-[10px] py-[6px] text-left text-[14px] leading-[20px] text-(--Always-WhiteSecondary) transition-colors hover:bg-(--Fills-F1) hover:text-(--Always-White) ${l?"text-(--Always-White)":""} ${h}`,onClick:()=>o(e=>!e),children:[(0,n.jsx)(w.Icon,{"aria-hidden":!0,className:"size-4 shrink-0"}),(0,n.jsx)("span",{className:"whitespace-nowrap",children:x[w.value]}),(0,n.jsx)("svg",{"aria-hidden":!0,className:`size-4 shrink-0 transition-transform ${l?"rotate-180":""}`,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),l?(0,n.jsx)("ul",{role:"listbox","aria-label":g,className:"absolute bottom-full left-0 z-30 mb-2 w-fit min-w-full overflow-y-auto overscroll-contain rounded-[12px] p-2 bg-[#1f1f1f]",children:p.map(t=>{let a=t.value===i;return(0,n.jsx)("li",{role:"none",children:(0,n.jsxs)("button",{type:"button",role:"option","aria-selected":a,className:`flex h-[36px] w-full cursor-pointer items-center gap-2 rounded-[10px] border-0 bg-transparent p-2 text-left text-[14px] leading-[20px] text-(--Always-White) transition-colors ${h}`,onClick:()=>{t.value!==i&&r({event:"hub_theme_toggle_click",params:{page_type:e??"landing_page",module_id:"footer_theme",module_index:99,theme_from:i,theme_to:t.value}}),(0,m.writeCustomThemeSetting)(t.value),v()},children:[(0,n.jsx)(t.Icon,{"aria-hidden":!0,className:"size-4 shrink-0"}),(0,n.jsx)("span",{className:"min-w-0 flex-1 whitespace-nowrap",children:x[t.value]}),a?(0,n.jsx)(s,{"aria-hidden":!0,className:"size-4 shrink-0 text-(--Colors-KMBlue)"}):(0,n.jsx)("span",{className:"size-4 shrink-0","aria-hidden":!0})]})},t.value)})}):null]})}e.s(["default",()=>f],61998)},409552,870043,e=>{"use strict";var t,n,a,r,i,l,o,s,c,d,u,m,h,p,f,g,x,w,v,b,y,_=e.i(113736);function k(){return(k=Object.assign.bind()).apply(null,arguments)}function N(){return(N=Object.assign.bind()).apply(null,arguments)}function j(){return(j=Object.assign.bind()).apply(null,arguments)}function I(){return(I=Object.assign.bind()).apply(null,arguments)}function C(){return(C=Object.assign.bind()).apply(null,arguments)}function E(){return(E=Object.assign.bind()).apply(null,arguments)}function A(){return(A=Object.assign.bind()).apply(null,arguments)}let L=function(e){return _.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor"},e),u||(u=_.createElement("path",{fillRule:"evenodd",d:"M9 2.175c.373 0 .675.302.675.675v6.37l2.181-2.18a.675.675 0 0 1 .955.954l-3.334 3.333a.675.675 0 0 1-.954 0L5.189 7.994a.675.675 0 0 1 .955-.955l2.18 2.181V2.85c0-.373.303-.675.676-.675m-6 8.016c.373 0 .675.302.675.675v2.666a.66.66 0 0 0 .658.659h9.334a.66.66 0 0 0 .658-.659v-2.666a.675.675 0 1 1 1.35 0v2.666a2.01 2.01 0 0 1-2.008 2.009H4.333a2.01 2.01 0 0 1-2.008-2.009v-2.666c0-.373.302-.675.675-.675",clipRule:"evenodd"})))};function T(){return(T=Object.assign.bind()).apply(null,arguments)}function M(){return(M=Object.assign.bind()).apply(null,arguments)}function O(){return(O=Object.assign.bind()).apply(null,arguments)}function P(){return(P=Object.assign.bind()).apply(null,arguments)}function R(){return(R=Object.assign.bind()).apply(null,arguments)}function S(){return(S=Object.assign.bind()).apply(null,arguments)}function K(){return(K=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,L],870043);let z={AgentSwarmIcon:function(e){return _.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"
1currentColor"},e),t||(t=_.createElement("path",{fillRule:"evenodd",d:"M18.99 6.607c1.6 0 2.898 1.285 2.898 2.87a2.87 2.87 0 0 1-1.974 2.718v2.062c0 1.586-1.299 2.872-2.9 2.872h-4.17v3.009a.896.896 0 0 1-.9.891.896.896 0 0 1-.9-.891v-3.703c0-.6.492-1.09 1.1-1.09h4.87c.607 0 1.1-.487 1.1-1.088v-2.044a2.87 2.87 0 0 1-2.023-2.736c0-1.585 1.298-2.87 2.898-2.87m0 1.782c-.607 0-1.1.488-1.1 1.088s.493 1.087 1.1 1.087c.606 0 1.097-.486 1.097-1.087 0-.6-.491-1.088-1.098-1.088M4.898 6.607c1.601 0 2.899 1.285 2.899 2.87a2.87 2.87 0 0 1-1.966 2.715v2.21c0 .601.492 1.09 1.1 1.09h1.44c.497 0 .9.398.9.89a.896.896 0 0 1-.9.892h-1.44c-1.602 0-2.9-1.286-2.9-2.872v-2.186A2.875 2.875 0 0 1 2 9.477c0-1.585 1.298-2.87 2.898-2.87m0 1.782c-.606 0-1.098.488-1.098 1.088s.492 1.087 1.098 1.087 1.098-.486 1.098-1.087c0-.6-.491-1.088-1.098-1.088",clipRule:"evenodd"})),n||(n=_.createElement("path",{fillRule:"evenodd",d:"M11.943 2.97c1.6 0 2.899 1.286 2.899 2.87a2.87 2.87 0 0 1-1.998 2.727v4.446c0 .492-.404.89-.9.89a.896.896 0 0 1-.901-.89V8.567A2.87 2.87 0 0 1 9.045 5.84c0-1.584 1.298-2.87 2.898-2.87m0 1.783c-.606 0-1.098.487-1.098 1.087s.492 1.087 1.098 1.087 1.098-.486 1.098-1.087c0-.6-.491-1.087-1.098-1.087",clipRule:"evenodd"})))},ClawIcon:function(e){return _.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor"},e),a||(a=_.createElement("path",{fillOpacity:.9,fillRule:"evenodd",d:"M5.724 4.379c3.934-3.078 7.519-2.009 8.808-.972.675.543 1.05 1.332.97 2.126-.082.823-.64 1.509-1.529 1.805-.463.155-.831.552-.998 1.034-.168.485-.1.942.144 1.24l.027.035.077.018c.265.08.413.122.617.076.202-.046.58-.215 1.13-.88l.127-.136a1.44 1.44 0 0 1 1.082-.402 1.7 1.7 0 0 1 1.075.482c.32.31.466.77.526 1.17.065.43.051.928-.057 1.434-.217 1.017-.837 2.142-2.09 2.82-.402.217-1.098.61-2.146.663a5 5 0 0 1-.376.504c-1.007 1.196-2.394 1.608-3.628 1.57a5.1 5.1 0 0 1-1.6-.312 3.4 3.4 0 0 1-.612.59c-.413.298-.985.518-1.667.347-1.319-.33-2.607-1.6-3.249-3.17-.344-.843-.14-1.573.285-2.087.228-.275.509-.48.777-.624a7.4 7.4 0 0 1-.33-2.307c.037-1.671.705-3.512 2.637-5.024m7.867.197c-.748-.602-3.56-1.662-6.942.985-1.551 1.213-2.034 2.618-2.061 3.874a6.1 6.1 0 0 0 .805 3.094.75.75 0 0 1-1.29.766L4 13.107a1 1 0 0 0-.203.182.47.47 0 0 0-.11.22.6.6 0 0 0 .057.343c.515 1.26 1.491 2.1 2.225 2.285.138.035.262.008.425-.11q.096-.07.188-.167a3 3 0 0 1-.137-.145.75.75 0 0 1 1.136-.98c.294.34 1.034.704 1.948.732.877.027 1.782-.262 2.435-1.037.652-.774.809-1.508.746-2.142-.063-.632-.354-1.218-.711-1.672-.13-.103-.398-.251-.777-.376a4.1 4.1 0 0 0-1.234-.213.75.75 0 0 1 0-1.5c.469 0 .955.077 1.4.198.017-.29.076-.576.169-.844.297-.856.974-1.644 1.942-1.966.378-.127.492-.348.51-.532.022-.213-.074-.53-.418-.807m2.527 5.25c-.675.81-1.314 1.235-1.947 1.378q-.082.017-.16.027c.093.287.16.591.192.91a4 4 0 0 1-.046 1.116c.299-.098.542-.23.763-.349.79-.428 1.19-1.134 1.336-1.812.073-.341.077-.657.04-.898-.033-.222-.087-.31-.09-.319a.3.3 0 0 0-.067-.046q-.013-.006-.021-.007",clipRule:"evenodd"})))},CodeIcon:function(e){return _.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 1024 1024",fill:"currentColor"},e),r||(r=_.createElement("path",{d:"M705.28 642.56a35.541 35.541 0 0 1 0 70.741l-3.67.171H512a35.541 35.541 0 0 1 0-71.083h189.61l3.627.171zM297.216 320.939a35.584 35.584 0 0 1 47.573-2.432l2.731 2.432L461.781 435.2a75.093 75.093 0 0 1 0 106.197L347.52 655.66l-2.73 2.474a35.584 35.584 0 0 1-50.006-50.048l2.432-2.73L411.52 491.093a3.97 3.97 0 0 0 0-5.589L297.173 371.2a35.584 35.584 0 0 1 0-50.261z"})),i||(i=_.createElement("path",{d:"M725.333 132.267a166.4 166.4 0 0 1 166.4 166.4v426.666a166.4 166.4 0 0 1-166.4 166.4H298.667a166.4 166.4 0 0 1-166.4-166.4V298.667a166.4 166.4 0 0 1 166.4-166.4zm-426.666 76.8a89.6 89.6 0 0 0-89.6 89.6v426.666c0 49.494 40.106 89.6 89.6 89.6h426.666a89.6 89.6 0 0 0 89.6-89.6V298.667a89.6 89.6 0 0 0-89.6-89.6z"})))},DeepSearchIcon:function(e){return _.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor"},e),l||(l=_.createElement("path",{fillOpacity:.9,fillRule:"evenodd",d:"M12.49 2.398a1.584 1.584 0 0 1 2.24.008l.845.851c.616.62.613 1.624-.008 2.24l-.714.71a1.58 1.58 0 0 1-.346 1.69c1.919 1.648 2.462 3.99 1.676 6.065-.406 1.072-1.15 2.036-2.19 2.787h1.839a.75.75 0 0 1 0 1.5H4.165a.751.751 0 0 1 0-1.5h5.781c2.669-.397 4.263-1.807 4.835-3.317.565-1.491.193-3.213-1.342-4.473L9.813 12.56a1.583 1.583 0 0 1-2.239-.008l-2.192-2.208a1.583 1.583 0 0 1 .007-2.239l4.683-4.65a1.58 1.58 0 0 1 1.701-.348zM11.243 4.52a.08.08 0 0 0-.114 0L6.446 9.17a.084.084 0 0 0 0 .119l2.192 2.207a.084.084 0 0 0 .118.001l4.682-4.65a.08.08 0 0 0 .003-.113zm2.422-1.057a.083.083 0 0 0-.118 0l-.623.618.963.97.623-.618a.083.083 0 0 0 0-.118z",clipRule:"evenodd"})),o||(o=_.createElement("path",{fillOpacity:.9,d:"M3.182 11.045a.75.75 0 0 1 1.061.003l2.694 2.712a.75.75 0 0 1-1.066 1.058L3.18 12.105a.75.75 0 0 1 .003-1.06"})))},DesignIcon:function(e){return _.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"
1currentColor"},e),s||(s=_.createElement("path",{d:"M16.022 4.05a2.9 2.9 0 1 1 4.1 4.1l-2.828 2.828-2.121 2.122-2.392 2.392q.02.216.019.436a4.9 4.9 0 0 1-4.9 4.9H4.627A1.626 1.626 0 0 1 3 19.202v-3.273a4.9 4.9 0 0 1 5.933-4.79l4.26-4.26zM7.9 12.829a3.1 3.1 0 0 0-3.1 3.1v3.1h3.1a3.1 3.1 0 0 0 0-6.2m2.96-1.072 1.555 1.555.849-.848-1.556-1.556zm7.99-6.435a1.1 1.1 0 0 0-1.556 0L12.98 9.636l1.556 1.555 4.314-4.313a1.1 1.1 0 0 0 0-1.556M5.98 3.77a.4.4 0 0 1 .734 0l.262.602A2 2 0 0 0 8.01 5.404l.6.263a.4.4 0 0 1 0 .733l-.6.262a2 2 0 0 0-1.034 1.034l-.262.6a.4.4 0 0 1-.734 0l-.262-.6a2 2 0 0 0-1.033-1.034L4.084 6.4a.4.4 0 0 1 0-.733l.602-.263a2 2 0 0 0 1.033-1.033z"})))},DocumentsIcon:function(e){return _.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor"},e),c||(c=_.createElement("path",{fillOpacity:.9,d:"M12.9 12.915a.75.75 0 0 1 0 1.5H7.1a.75.75 0 0 1 0-1.5zM10.28 9.25a.75.75 0 0 1 0 1.5H7.1a.75.75 0 0 1 0-1.5z"})),d||(d=_.createElement("path",{fillOpacity:.9,fillRule:"evenodd",d:"M10.977 1.75c.64 0 1.255.255 1.708.708l3.19 3.19c.454.453.709 1.068.709 1.71V15a3.25 3.25 0 0 1-3.25 3.25H6.666A3.25 3.25 0 0 1 3.417 15V5a3.25 3.25 0 0 1 3.25-3.25zm-4.31 1.5A1.75 1.75 0 0 0 4.917 5v10c0 .967.783 1.75 1.75 1.75h6.666a1.75 1.75 0 0 0 1.75-1.75V8.25H12.5a2.42 2.42 0 0 1-2.417-2.416V3.25zm4.917 2.584c0 .506.41.916.916.916h2.351q-.018-.022-.037-.04l-3.19-3.19-.04-.038z",clipRule:"evenodd"})))},DownloadIcon:L,KimiIcon:function(e){return _.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor"},e),m||(m=_.createElement("path",{d:"M6.365 4.593c.074 0 .134.074.134.166v5.343c0 .138.13.216.219.13l5.647-5.602a.12.12 0 0 1 .084-.037h2.82c.128 0 .183.198.085.296l-5.242 5.2c-.074.074-.064.218.02.274l4.055 2.936c.451.304.951.503 1.463.583.068.01.12.08.12.164v2.21c0 .097-.068.174-.145.166a5.54 5.54 0 0 1-2.494-.927L8.447 12.05a.114.114 0 0 0-.147.016l-1.751 1.738a.18.18 0 0 0-.05.129v2.347c0 .092-.06.166-.134.166H4.422c-.074 0-.135-.074-.135-.166V4.76c0-.092.061-.166.135-.166zM17.9 2a1.389 1.389 0 1 1 0 2.777h-1.225a.163.163 0 0 1-.163-.163V3.39c0-.767.622-1.389 1.388-1.389"})))},KimiPlatformIcon:function(e){return _.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor"},e),h||(h=_.createElement("path",{d:"M6.343 12a2 2 0 0 1 1.934-.515l.047-.05.99-.99a.8.8 0 0 1 1.131 1.13l-.85.85 1.98 1.979.85-.85a.801.801 0 0 1 1.13 1.132l-.989.99-.051.046a2 2 0 0 1-.379 1.783l-.136.152-.708.707a3 3 0 0 1-4.242 0l-.142-.141-1.555 1.555a.8.8 0 0 1-1.131-1.131l1.555-1.555-.141-.142a3 3 0 0 1 0-4.243zm6.364-6.364a3 3 0 0 1 4.243 0l.142.141 1.555-1.555a.8.8 0 0 1 1.131 1.132l-1.555 1.555.141.14a3 3 0 0 1 0 4.243l-.707.707a2 2 0 0 1-2.828 0L12 9.172l-.137-.152a2 2 0 0 1 0-2.524L12 6.343zM6.908 13.98a1.2 1.2 0 0 0 0 1.697l1.414 1.415a1.2 1.2 0 0 0 1.698 0l.707-.708a.2.2 0 0 0 0-.283l-2.829-2.828a.2.2 0 0 0-.283 0zm6.365-6.365a.2.2 0 0 0 0 .283l2.828 2.829a.2.2 0 0 0 .283 0l.707-.707a1.2 1.2 0 0 0 0-1.698l-1.414-1.414a1.2 1.2 0 0 0-1.697 0z"})))},KimiWorkIcon:function(e){return _.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor"},e),p||(p=_.createElement("path",{fillOpacity:.9,d:"M16.149 3.3a1.5 1.5 0 0 1 1.346 1.49v8.246a1.5 1.5 0 0 1-1.346 1.49l-.153.009h-5.322v1.574h3.073a.675.675 0 0 1 0 1.349H6.252a.675.675 0 1 1 0-1.35h3.072v-1.573H4.003a1.5 1.5 0 0 1-1.491-1.346l-.008-.153V4.79a1.5 1.5 0 0 1 1.499-1.5h11.993zM4.003 4.715a.074.074 0 0 0-.075.075v8.245q0 .015.006.028a.07.07 0 0 0 .069.046h11.993a.075.075 0 0 0 .074-.074V4.79a.075.075 0 0 0-.074-.075z"})))},SheetsIcon:function(e){return _.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor"},e),f||(f=_.createElement("path",{fillOpacity:.9,fillRule:"evenodd",d:"M14.167 2.583a3.25 3.25 0 0 1 3.25 3.25v8.334a3.25 3.25 0 0 1-3.25 3.25H5.833a3.25 3.25 0 0 1-3.25-3.25V5.833a3.25 3.25 0 0 1 3.25-3.25zm-3.5 10.25v3.083h3.5a1.75 1.75 0 0 0 1.75-1.75v-1.332zm-6.583 1.334c0 .966.783 1.75 1.75 1.75h3.333v-3.083H4.084zm6.583-5.5v2.667h5.25V8.667zm-6.583 2.667h5.083V8.667H4.084zm1.75-7.25a1.75 1.75 0 0 0-1.75 1.75v1.333h11.832V5.833a1.75 1.75 0 0 0-1.75-1.75z",clipRule:"evenodd"})))},SlidesIcon:function(e){return _.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor"},e),g||(g=_.createElement("path",{fillOpacity:.9,d:"M15.083 4.917H4.917v5.916c0 .966.783 1.75 1.75 1.75h6.66
17a1.75 1.75 0 0 0 1.75-1.75zm-6.447 1.22a.75.75 0 0 1 1.061 0l2.084 2.083a.75.75 0 0 1 0 1.06l-2.084 2.084a.75.75 0 0 1-1.06-1.06l1.552-1.554-1.553-1.553a.75.75 0 0 1 0-1.06m7.948 4.696a3.25 3.25 0 0 1-3.25 3.25h-.43l1.828 2.09a.75.75 0 0 1-1.13.987l-2.692-3.077H9.09L6.398 17.16a.75.75 0 0 1-1.13-.988l1.828-2.089h-.43a3.25 3.25 0 0 1-3.25-3.25V4.917H2.5a.75.75 0 0 1 0-1.501h15a.75.75 0 1 1 0 1.5h-.916z"})))},WebBridgeIcon:function(e){return _.createElement("svg",S({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor"},e),x||(x=_.createElement("path",{fillRule:"evenodd",d:"M12.944 6.6c.302-.195.656.16.461.461L12.09 9.096a1.67 1.67 0 0 0 0 1.81l.384.596 4.335 4.87.269.301a.286.286 0 0 1-.012.387.28.28 0 0 1-.19.08.28.28 0 0 1-.196-.068l-.302-.27-4.84-4.308-.63-.408a1.67 1.67 0 0 0-1.809 0l-2.036 1.317c-.301.195-.656-.16-.46-.461l1.316-2.035c.356-.55.356-1.26 0-1.81L6.602 7.06c-.195-.301.16-.656.461-.46L9.1 7.915c.551.356 1.26.356 1.81 0z",clipRule:"evenodd"})),w||(w=_.createElement("path",{fillOpacity:.9,d:"M10.4 9.015a.93.93 0 0 0-.68-.297 1 1 0 0 0-.702.297 1 1 0 0 0-.297.701c0 .26.108.503.297.68l.363.341 6.531 6.141.363.341a.673.673 0 0 0 .933-.014.674.674 0 0 0 .014-.933l-.34-.363-6.142-6.532z"})),v||(v=_.createElement("path",{fillOpacity:.9,d:"M10 1.75a8.23 8.23 0 0 1 6.313 2.938A8.22 8.22 0 0 1 18.25 10a8.2 8.2 0 0 1-.821 3.589.287.287 0 0 1-.497.03l-.61-.889a.31.31 0 0 1-.031-.286A6.7 6.7 0 0 0 16.75 10a6.72 6.72 0 0 0-1.585-4.345 6.75 6.75 0 1 0-2.786 10.662.31.31 0 0 1 .295.04l.842.637c.175.131.153.4-.045.491A8.2 8.2 0 0 1 10 18.25 8.247 8.247 0 0 1 1.75 10 8.25 8.25 0 0 1 10 1.75"})))},WebsitesIcon:function(e){return _.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor"},e),b||(b=_.createElement("path",{d:"M5.652 4.378a.675.675 0 0 1 0 1.343l-.069.004H4.235a.675.675 0 0 1 0-1.351h1.348z"})),y||(y=_.createElement("path",{fillRule:"evenodd",d:"M13.545 2.448a2.925 2.925 0 0 1 2.925 2.925v7.254a2.925 2.925 0 0 1-2.925 2.925H4.457a2.926 2.926 0 0 1-2.926-2.925V5.373a2.926 2.926 0 0 1 2.926-2.925zM2.882 12.627c0 .87.705 1.575 1.575 1.575h9.088c.87 0 1.575-.705 1.575-1.575V7.615H2.882zm1.575-8.829c-.87 0-1.575.705-1.575 1.575v.891H15.12v-.891c0-.87-.705-1.574-1.575-1.575z",clipRule:"evenodd"})))}};function B(e){if(!e)return;let t=z[e];return t||void console.warn(`[navigation] unknown icon name, icon skipped: ${e}`)}e.s(["getNavigationIcon",()=>B],409552)},878514,905761,89713,44260,345020,e=>{"use strict";var t,n,a,r,i,l,o,s,c,d,u,m,h,p=e.i(113736);function f(){return(f=Object.assign.bind()).apply(null,arguments)}function g(){return(g=Object.assign.bind()).apply(null,arguments)}e.s(["LoginDarkIcon",0,function(e){return p.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,viewBox:"0 0 28 28",fill:"currentColor"},e),t||(t=p.createElement("g",{clipPath:"url(#login-dark_svg__clip0_38814_160801)"},p.createElement("g",{clipPath:"url(#login-dark_svg__clip1_38814_160801)"},p.createElement("path",{fillOpacity:.1,d:"M14 0c7.732 0 14 6.269 14 14 0 7.732-6.268 14-14 14-7.731 0-14-6.268-14-14C0 6.269 6.269 0 14 0"}),p.createElement("path",{fillOpacity:.2,d:"M14 4.667a6.416 6.416 0 0 1 6.417 6.417A6.416 6.416 0 0 1 14 17.5a6.416 6.416 0 0 1-6.417-6.416A6.416 6.416 0 0 1 14 4.667m.001 14c4.515 0 8.428 1.925 10.367 4.74A13.96 13.96 0 0 1 14.001 28a13.97 13.97 0 0 1-10.37-4.593c1.94-2.815 5.854-4.74 10.37-4.74"}),p.createElement("path",{stroke:"#2F2F2E",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.9,strokeWidth:1.75,d:"m13.937 9.58.159 1.154m3.308-1.635.159 1.155"})))),n||(n=p.createElement("defs",null,p.createElement("clipPath",{id:"login-dark_svg__clip0_38814_160801"},p.createElement("path",{d:"M0 14C0 6.268 6.268 0 14 0s14 6.268 14 14-6.268 14-14 14S0 21.732 0 14"})),p.createElement("clipPath",{id:"login-dark_svg__clip1_38814_160801"},p.createElement("path",{d:"M0 0h28v28H0z"})))))}],878514),e.s(["LoginIcon",0,function(e){return p.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",fill:"
1currentColor"},e),a||(a=p.createElement("g",{clipPath:"url(#login_svg__clip0_12034_65025)"},p.createElement("path",{fillOpacity:.05,d:"M16 0c8.836 0 16 7.164 16 16s-7.164 16-16 16S0 24.836 0 16 7.164 0 16 0"}),p.createElement("path",{fillOpacity:.15,d:"M15.849 5.333a7.333 7.333 0 0 1 7.333 7.334A7.333 7.333 0 0 1 15.85 20a7.333 7.333 0 0 1-7.333-7.333 7.333 7.333 0 0 1 7.333-7.334m0 16c5.16 0 9.633 2.2 11.849 5.418A15.96 15.96 0 0 1 15.85 32 15.96 15.96 0 0 1 4 26.75c2.216-3.217 6.69-5.417 11.85-5.417"}),p.createElement("path",{stroke:"#EEEDEB",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.9,strokeWidth:2,d:"m15.777 10.948.184 1.32m3.78-1.87.181 1.32"}))),r||(r=p.createElement("defs",null,p.createElement("clipPath",{id:"login_svg__clip0_12034_65025"},p.createElement("path",{d:"M0 0h32v32H0z"})))))}],905761);var x=e.i(270468);e.i(751221);var w=e.i(247782),v=e.i(204113),b=e.i(273569);e.i(8048);var y=e.i(387943),_=e.i(877982);function k(){return(k=Object.assign.bind()).apply(null,arguments)}let N=function(e){return p.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor"},e),i||(i=p.createElement("path",{fillOpacity:.9,fillRule:"evenodd",d:"M4.1 6a.9.9 0 0 1 .9-.9h14a.9.9 0 1 1 0 1.8H5a.9.9 0 0 1-.9-.9m0 6a.9.9 0 0 1 .9-.9h14a.9.9 0 0 1 0 1.8H5a.9.9 0 0 1-.9-.9m0 6a.9.9 0 0 1 .9-.9h14a.9.9 0 0 1 0 1.8H5a.9.9 0 0 1-.9-.9",clipRule:"evenodd"})))};var j=e.i(46952),I=e.i(493594),C=e.i(607909),E=e.i(538015),A=e.i(354136),L=e.i(632762),T=e.i(287107),M=e.i(409552);function O(){return(O=Object.assign.bind()).apply(null,arguments)}let P=function(e){return p.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.8,viewBox:"0 0 24 24",fill:"currentColor"},e),l||(l=p.createElement("path",{d:"M7 17 17 7M8 7h9v9"})))};function R(){return(R=Object.assign.bind()).apply(null,arguments)}let S=function(e){return p.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 1024 1024",fill:"currentColor"},e),o||(o=p.createElement("path",{d:"M482.96 717.332a36.864 36.864 0 0 0 52.019-.081l285.696-285.696a36.864 36.864 0 1 0-52.102-52.102L508.846 639.14 247.153 379.33a36.864 36.864 0 1 0-51.938 52.347z"})))};var K=e.i(870043);function z(){return(z=Object.assign.bind()).apply(null,arguments)}let B=function(e){return p.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 30 30",fill:"currentColor"},e),s||(s=p.createElement("path",{fillOpacity:.03,d:"M0 12C0 5.373 5.373 0 12 0h6c6.627 0 12 5.373 12 12v6c0 6.627-5.373 12-12 12h-6C5.373 30 0 24.627 0 18z"})),c||(c=p.createElement("path",{fillRule:"evenodd",d:"M15 8.175c.373 0 .675.302.675.675v6.37l2.181-2.18a.675.675 0 0 1 .955.954l-3.334 3.333a.675.675 0 0 1-.954 0l-3.334-3.333a.675.675 0 0 1 .955-.955l2.181 2.182V8.85c0-.373.302-.675.675-.675m-6 8.016c.373 0 .675.302.675.675v2.666a.66.66 0 0 0 .658.659h9.334a.66.66 0 0 0 .658-.659v-2.666a.675.675 0 1 1 1.35 0v2.666a2.01 2.01 0 0 1-2.008 2.009h-9.334a2.01 2.01 0 0 1-2.008-2.009v-2.666c0-.373.302-.675.675-.675",clipRule:"evenodd"})))};var H=e.i(556813),F=e.i(329615);function V({items:e,parentItemId:t,groupId:n,pageType:a}){return(0,x.jsx)("div",{className:"flex flex-col gap-0.5",children:e.map((e,r)=>{let i;return(0,x.jsx)(E.default,{log:{event:"hub_header_nav_dropdown_click",params:{page_type:a,module_id:"top_nav",module_index:0,parent_item_id:(0,F.toNavDropdownItemId)(t),group_id:(0,F.toNavDropdownGroupId)(n),item_id:e.id,item_text:e.title,item_index:r+1,target_url:e.link}},children:(0,x.jsxs)("a",{href:e.link,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:"flex min-w-0 items-center gap-1.5 rounded-xl p-2 transition-colors hover:bg-(--Fills-F1)",children:[e.icon?(0,x.jsx)("span",{className:"inline-flex size-[18px] shrink-0 items-center justify-center rounded-[3.6px]",children:(i=e.icon,(0,x.jsx)(i,{"aria-hidden":!0,focusable:!1,className:"size-[18px] fill-(--Labels-Primary) text-(--Labels-Primary)"}))}):null,(0,x.jsxs)("span",{className:"flex min-w-0 flex-1 items-center",children:[(0,x.jsx)("span",{className:"truncate text-sm leading-5 font-normal text-(--Labels-Primary)",children:e.title}),e.tag?(0,x.jsx)("span",{className:"nav-motion-tag ml-1.5 shrink-0 rounded bg-(--Others-KMBlue10) px-1 py-px text-xs leading-4 font-normal whitespace-nowrap text-(--Colors-KMBlue)",children:(0,x.jsx)("span",{className:"nav-motion-tag-label",children:e.tag})}):null,e.description?(0,x.jsx)("span",{className:"ml-2 truncate text-sm leading-5 font-normal text-(--Labels-Tertiary)",children:e.description}):null]})]})},e.id)})})}var D=e.i(451365);
1let W="header-nav-motion-panel",$="cubic-bezier(0.16, 1, 0.3, 1)",G={x:0,y:48,w:1,h:1,scale:.96,opacity:0};function U(){return"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}function q(e,t){return Array.from(e.querySelectorAll("[data-nav-item]")).find(e=>e.getAttribute("data-nav-item")===t)??null}let Y="(min-width: 1000px)";function J(e){if("function"!=typeof window.matchMedia)return()=>void 0;let t=window.matchMedia(Y);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function X(){return"function"==typeof window.matchMedia&&window.matchMedia(Y).matches}function Q(){return(0,p.useSyncExternalStore)(J,X,()=>!1)}function Z(e,t){t?e.dataset.navMotion="true":delete e.dataset.navMotion}function ee({headerRef:e,blocked:t,...n}){let[a,r]=(0,p.useState)(null);(0,p.useEffect)(()=>{let t=requestAnimationFrame(()=>{r(e?.current??null)});return()=>cancelAnimationFrame(t)},[e]);let i=Q(),l=!!(a&&i&&!t);return((0,p.useLayoutEffect)(()=>{if(l&&a)return Z(a,!0),()=>Z(a,!1)},[l,a]),l&&a)?(0,D.createPortal)((0,x.jsx)(et,{...n,headerEl:a}),a):null}function et({openKey:e,headerEl:t,groups:n,renderContent:a,onClose:r,onCancelClose:i,onScheduleClose:l}){let o=(0,p.useRef)(null),s=(0,p.useRef)(null),c=(0,p.useRef)(null),d=(0,p.useRef)({...G}),u=(0,p.useRef)({...G}),m=(0,p.useRef)({x:0,y:0,w:0,h:0,scale:0,opacity:0}),h=(0,p.useRef)(0),f=(0,p.useRef)(0),g=(0,p.useRef)(void 0),w=(0,p.useRef)(null),v=(0,p.useRef)(null),b=(0,p.useRef)(!1),[y,_]=(0,p.useState)(null),[k,N]=(0,p.useState)(null),j=(0,p.useRef)(null);j.current=y;let I=()=>{let e=o.current;if(!e)return;let t=d.current;e.style.width=`${t.w}px`,e.style.height=`${t.h}px`,e.style.transform=`translate3d(${t.x}px,${t.y}px,0) scale(${t.scale})`,e.style.opacity=String(t.opacity)},C=()=>{if(b.current)return;let e=o.current;e&&(e.dataset.open="false"),_(null),N(null)},E=e=>{let t=Math.min((e-f.current)/1e3||1/60,1/30);f.current=e;let n=d.current,a=u.current,r=m.current,i=!1;Object.keys(n).forEach(e=>{let l=(420*(a[e]-n[e])-41*r[e])/1;r[e]+=l*t,n[e]+=r[e]*t,Math.abs(a[e]-n[e])>.001||Math.abs(r[e])>.01?i=!0:(n[e]=a[e],r[e]=0)}),I(),i?h.current=requestAnimationFrame(E):(h.current=0,C())},A=e=>{if(Object.assign(u.current,e),U()){Object.assign(d.current,u.current),I(),C();return}h.current||(f.current=performance.now(),h.current=requestAnimationFrame(E))};return(0,p.useLayoutEffect)(()=>{let a=o.current;if(a){if(window.clearTimeout(g.current),b.current=null!==e,e){let r=n.find(t=>t.itemKey===e),i=function(e,t){let n=q(e,t)?.querySelector(".nav-dropdown")?.firstElementChild;if(!n)return null;let a=n.getBoundingClientRect(),r=e.getBoundingClientRect();return{x:a.left-r.left,y:a.top-r.top,w:a.width,h:a.height}}(t,e);if(!r||!i)return;if(v.current=e,a.dataset.open="true",a.inert=!1,null===w.current&&d.current.opacity<.02)Object.assign(d.current,i,{scale:.6,opacity:0}),Object.keys(m.current).forEach(e=>{m.current[e]=0}),N(null),_({key:e,group:r,delay:35}),I();else{let t=j.current;U()?(N(null),_({key:e,group:r,delay:0})):(t&&t.key!==e&&(N(t),g.current=window.setTimeout(()=>N(null),120)),_({key:e,group:r,delay:120*!!t}))}A({...i,scale:1,opacity:1})}else a.inert=!0,A({scale:.97,opacity:0});w.current=e}},[e]),(0,p.useLayoutEffect)(()=>{let e=s.current;if(e&&y)return e.animate?.([{opacity:0,transform:"translate3d(6px,0,0)"},{opacity:1,transform:"translate3d(0,0,0)"}],{duration:U()?1:220,delay:y.delay,fill:"both",easing:$}),function(e){let t=e.firstElementChild;if(!t)return()=>void 0;t.classList.add("nav-motion-root");let n=[],a=0,r=()=>{window.clearTimeout(a),t.classList.remove("nav-motion-has-hover","nav-motion-snap-hover"),t.querySelectorAll(".nav-motion-hovered").forEach(e=>e.classList.remove("nav-motion-hovered"))},i=null,l=null;Array.from(t.children).filter(e=>e instanceof HTMLElement&&!!e.querySelector("a")).forEach(e=>{e.classList.add("nav-motion-column");let t=document.createElement("span");t.className="nav-motion-hover-highlight",t.setAttribute("aria-hidden","true"),e.prepend(t);let a=Array.from(e.querySelectorAll("a")).map(n=>{let a=()=>{let a,r,o,s;return a=e.getBoundingClientRect(),r=n.getBoundingClientRect(),(o=i&&i!==e)&&l&&(l.dataset.active="false"),t.style.width=`${a.width}px`,t.style.height=`${r.height}px`,s=r.top-a.top,void(o||!i?(t.style.transition="none",t.style.transform=`translate3d(0,${s}px,0)`,t.offsetWidth,requestAnimationFrame(()=>{t.style.transition=""})):t.style.transform=`translate3d(0,${s}px,0)`,t.dataset.active="true",i=e,l=t)};return n.addEventListener("pointerenter",a),()=>n.removeEventListener("pointerenter",a)}),r=()=>{t.dataset.active="false"};e.addEventListener("pointerleave",r),n.push(...a,()=>e.removeEventListener("pointerleave",r))});let o=e=>(e=>{if(!e||!t.contains(e)){window.clearTimeout(a),a=window.setTimeout(r,40);return}window.clearTimeout(a);
1let n=t.querySelector(".nav-motion-hovered"),i=n&&n.closest(".nav-motion-column")!==e.closest(".nav-motion-column");t.classList.add("nav-motion-has-hover"),i&&(t.classList.add("nav-motion-snap-hover"),requestAnimationFrame(()=>t.classList.remove("nav-motion-snap-hover"))),t.querySelectorAll(".nav-motion-hovered").forEach(e=>e.classList.remove("nav-motion-hovered")),e.classList.add("nav-motion-hovered")})((e=>{let n=e.target?.closest?.("a");if(n&&t.contains(n))return n;let a=e.clientX,r=e.clientY,i=null,l=1/0;return t.querySelectorAll(".nav-motion-column").forEach(e=>{let t=e.getBoundingClientRect();a<t.left||a>t.right||e.querySelectorAll("a").forEach(e=>{let t=e.getBoundingClientRect(),n=r<t.top?t.top-r:r>t.bottom?r-t.bottom:0;n<=3&&n<l&&(l=n,i=e)})}),i})(e));return t.addEventListener("pointerover",o),t.addEventListener("pointermove",o),t.addEventListener("pointerleave",r),n.push(()=>{t.removeEventListener("pointerover",o),t.removeEventListener("pointermove",o),t.removeEventListener("pointerleave",r)}),()=>{window.clearTimeout(a),n.forEach(e=>e())}}(e)},[y]),(0,p.useLayoutEffect)(()=>{let e=c.current;if(!e||!k)return;e.inert=!0;let t=Number(getComputedStyle(e).opacity)||0;e.getAnimations?.().forEach(e=>e.cancel()),e.animate?.([{opacity:t,transform:"translate3d(0,0,0)"},{opacity:0,transform:"translate3d(-6px,0,0)"}],{duration:U()?1:120,fill:"forwards",easing:$})},[k]),(0,p.useEffect)(()=>{if(!e)return;let n=e=>{if("Escape"!==e.key)return;r();let n=v.current,a=n?q(t,n)?.querySelector("a[aria-haspopup]"):null;a?.focus()},a=e=>{t.contains(e.target)||r()},i=()=>{window.setTimeout(()=>{t.contains(document.activeElement)||r()},0)},l=()=>r();return document.addEventListener("keydown",n),document.addEventListener("click",a),t.addEventListener("focusout",i),window.addEventListener("resize",l),()=>{document.removeEventListener("keydown",n),document.removeEventListener("click",a),t.removeEventListener("focusout",i),window.removeEventListener("resize",l)}},[e,t,r]),(0,p.useEffect)(()=>()=>{cancelAnimationFrame(h.current),window.clearTimeout(g.current)},[]),(0,x.jsxs)("div",{ref:o,id:W,className:"nav-motion-panel","data-open":"false","aria-label":"Navigation submenu",onMouseEnter:i,onMouseLeave:l,onFocus:i,children:[y?(0,x.jsx)("div",{ref:s,className:"nav-motion-content",children:a(y.group)},y.key):null,k?(0,x.jsx)("div",{ref:c,className:"nav-motion-content",children:a(k.group)},`leaving-${k.key}`):null]})}function en({children:e}){return(0,x.jsxs)("span",{className:"inline-grid align-middle leading-[24px]",children:[(0,x.jsx)("span",{className:"[grid-area:1/1] whitespace-nowrap leading-[24px]",children:e}),(0,x.jsx)("span",{"aria-hidden":"true",className:"[grid-area:1/1] invisible pointer-events-none select-none font-medium whitespace-nowrap leading-[24px]",children:e})]})}function ea(e,t,n){let a=e.target;if(!a)return{};if("action"!==a.kind)return{href:(0,T.resolveNavigationTargetHref)(a,{langPathPrefix:t.langPathPrefix,linkContext:t.linkContext,pathFamily:n})};switch(a.actionId){case T.NAVIGATION_ACTION_PRICING:return{href:t.pricingHref,onClick:e=>{t.onPricingClick&&(e.preventDefault(),t.onPricingClick()),t.closeMobileMenu()}};case T.NAVIGATION_ACTION_TRY_KIMI:return{href:t.homeHref};case T.NAVIGATION_ACTION_DOWNLOAD:return{href:t.downloadHref};default:return console.warn(`[navigation] unknown actionId, item skipped: ${a.actionId}`),{}}}function er(e,t,n){let{href:a}=ea(e,t,n);return{id:e.itemKey,title:e.title,description:e.description||void 0,link:a??"#",tag:e.tag||void 0,icon:(0,M.getNavigationIcon)(e.icon),openInNewTab:e.openInNewTab||void 0}}function ei(e,t,n,a,r){return{event:"hub_header_nav_click",params:{page_type:e.currentPageType,module_id:"top_nav",module_index:0,item_id:t.itemKey,item_text:t.title,item_index:n,click_result:r,target_url:a??""}}}function el(e,t){if(e.target?.kind==="action"){if(e.target.actionId===T.NAVIGATION_ACTION_PRICING)return t.showPricingNav;if(e.target.actionId===T.NAVIGATION_ACTION_DOWNLOAD)return!!t.downloadHref}return!0}let eo={[T.NAVIGATION_ACTION_DOWNLOAD]:{itemId:"download",itemIndex:"1"},[T.NAVIGATION_ACTION_TRY_KIMI]:{itemId:"try_kimi",itemIndex:"2"}};function es(e,t,n,a,r,i){return{event:"hub_header_nav_dropdown_click",params:{page_type:e.currentPageType,module_id:"top_nav",module_index:0,parent_item_id:(0,F.toNavDropdownItemId)(t),group_id:(0,F.toNavDropdownGroupId)(n),item_id:a.itemKey,item_text:a.title,item_index:r,target_url:i??""}}}function ec(e,t){let n=t.secondaryActionOverride;if(n)return{label:n.label,href:n.href,newTab:n.newTab};let{href:a,onClick:r}=ea(e,t);return{label:e.title,href:a??"#",newTab:e.openInNewTab,onClick:r}}function ed(e,t,n=!0){if(!el(e,t))return null;if("group"!==e.kind)return e;let a=e.children.map(e=>ed(e,t,!1)).filter(e=>null!==e);return a.length>0?{...e,children:a}:n&&e.target?{...e,children:[]}:null}function eu(e,t){return e.children.some(e=>ed(e,t,!1))}function em(e){return e.children.some(e=>"group"===e.kind)}function eh(e){return`flex ${e?"flex-row gap-[72px] overflow-x-auto p-6":"flex-col p-6"}`}function ep(e){return e?"w-max max-w-[calc(100vw-2rem)]":"w-max min-w-[200px] max-w-[360px]"}function ef({item:e,itemIndex:t,shared:n,openKey:a,setOpenKey:r,openItem:i,scheduleClose:l}){let o="group"===e.kind&&eu(e,n),s=a===e.itemKey,{href:c,onClick:d}=ea(e,n),u=s||(0,T.isCmsNavItemActive)(e,n.pathname,n.langPathPrefix),m=()=>!n.isMobileMenuOpen&&!n.forceMobileNav&&"function"==typeof window.matchMedia&&window.matchMedia("(min-width: 1000px)").matches;return(0,x.jsxs)("li",{className:n.listItemClass??"header-mobile-nav-item","data-nav-item":e.itemKey,onMouseEnter:()=>{o?i(e.itemKey,"hover"):m()&&l()},onMouseLeave:()=>{m()?l():o&&r(null)},children:[(0,x.jsx)(E.default,{log:ei(n,e,t+1,c,o?"expand_panel":"navigate"),children:(0,x.jsx)("a",{href:c,"aria-haspopup":o?"true":void 0,"aria-expanded":o?s:void 0,"aria-controls":o?W:void 0,"data-active":u?"true":"false",onClick:t=>{if(o&&m()){t.preventDefault(),s?"function"==typeof window.matchMedia&&window.matchMedia("(hover: hover)").matches||r(null):i(e.itemKey,"click");return}d?.(t),t.defaultPrevented||n.closeMobileMenu()},onKeyDown:t=>{if(o&&m()&&("Enter"===t.key||" "===t.key||"ArrowDown"===t.key)&&(t.preventDefault(),i(e.itemKey,"keyboard"),"ArrowDown"===t.key)){let e=t.currentTarget.closest("header");window.setTimeout(()=>{let t=e?.querySelector(".nav-motion-panel a");t?.focus()},130)}},target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:n.navLinkClass(u),children:(0,x.jsx)(en,{children:e.title})})}),o&&(0,x.jsx)(eg,{isOpen:!n.isMobileMenuOpen&&s,mega:em(e),children:(0,x.jsx)(ew,{group:e,shared:n})})]})}function eg({isOpen:e,mega:t=!1,children:n}){return(0,x.jsx)("div",{className:`nav-dropdown absolute top-full -left-6 z-50 pt-2 ${ep(t)} ${e?"is-open":""}`,"aria-hidden":!e,children:(0,x.jsx)("div",{className:`${eh(t)} rounded-[20px] border-[0.5px] border-(--Separators-S1) bg-(--Bg-Primary90) shadow-[0_4px_10px_0_rgba(0,0,0,0.1)] backdrop-blur-[10px]`,children:n})})}let ex="flex w-max max-w-[320px] shrink-0 flex-col gap-0.5";function ew({group:e,shared:t}){let n=T.NAVIGATION_GROUP_PATH_FAMILY[e.itemKey];if(!e.children.some(e=>"group"===e.kind)){let a=e.children.filter(e=>!(0,T.isNavigationExploreAllItem)(e)),r=e.children.filter(T.isNavigationExploreAllItem);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(V,{items:a.map(e=>er(e,t,n)),parentItemId:e.itemKey,groupId:e.itemKey,pageType:t.currentPageType}),r.map(a=>(0,x.jsx)(ev,{item:a,parentItemId:e.itemKey,groupId:e.itemKey,itemIndex:e.children.indexOf(a)+1,shared:t,family:n},a.itemKey))]})}return(0,x.jsx)(x.Fragment,{children:e.children.map((a,r)=>
1{if("group"!==a.kind)return(0,x.jsx)("div",{className:ex,children:(0,T.isNavigationExploreAllItem)(a)?(0,x.jsx)(ev,{item:a,parentItemId:e.itemKey,groupId:e.itemKey,itemIndex:r+1,shared:t,family:n}):(0,x.jsx)(V,{items:[er(a,t,n)],parentItemId:e.itemKey,groupId:e.itemKey,pageType:t.currentPageType})},a.itemKey);if(0===a.children.length)return null;let i=a.children.filter(e=>!(0,T.isNavigationExploreAllItem)(e)),l=a.children.filter(T.isNavigationExploreAllItem);return(0,x.jsxs)("div",{className:ex,children:[(0,x.jsx)(eb,{column:a,itemIndex:r+1,topGroupKey:e.itemKey,shared:t,family:n}),i.length>0?(0,x.jsx)(V,{items:i.map(e=>er(e,t,n)),parentItemId:e.itemKey,groupId:a.itemKey,pageType:t.currentPageType}):null,l.map(r=>(0,x.jsx)(ev,{item:r,parentItemId:e.itemKey,groupId:a.itemKey,itemIndex:a.children.indexOf(r)+1,shared:t,family:n},r.itemKey))]},a.itemKey)})})}function ev({item:e,parentItemId:t,groupId:n,itemIndex:a,shared:r,family:i}){let{href:l,onClick:o}=ea(e,r,i);return(0,x.jsx)("div",{className:"mt-1",children:(0,x.jsx)(E.default,{log:es(r,t,n,e,a,l),children:(0,x.jsxs)("a",{href:l??"#",target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,onClick:e=>{o?.(e),e.defaultPrevented||r.closeMobileMenu()},className:"group flex h-8 items-center gap-2 rounded-xl px-2 text-sm leading-5 text-(--Labels-Secondary) transition-colors hover:bg-(--Fills-F1) hover:text-(--Labels-Primary)",children:[(0,x.jsx)("span",{className:"truncate",children:e.title}),(0,x.jsxs)("svg",{"aria-hidden":"true",className:"nav-motion-arrow",viewBox:"0 0 24 24",children:[(0,x.jsx)("path",{className:"nav-motion-arrow-reveal nav-motion-arrow-shaft",d:"M4 12H20",pathLength:100}),(0,x.jsx)("path",{className:"nav-motion-arrow-reveal nav-motion-arrow-head",d:"M20 12L15 7",pathLength:100}),(0,x.jsx)("path",{className:"nav-motion-arrow-reveal nav-motion-arrow-head",d:"M20 12L15 17",pathLength:100})]})]})})})}function eb({column:e,itemIndex:t,topGroupKey:n,shared:a,family:r}){if(!e.title.trim())return null;let{href:i}=ea(e,a,r),l=(0,x.jsx)("span",{className:"truncate text-sm leading-5 font-normal text-(--Labels-Secondary)",children:e.title});return i?(0,x.jsx)(E.default,{log:{event:"hub_header_nav_dropdown_click",params:{page_type:a.currentPageType,module_id:"top_nav",module_index:0,parent_item_id:(0,F.toNavDropdownItemId)(n),group_id:(0,F.toNavDropdownGroupId)(e.itemKey),item_id:e.itemKey,item_text:e.title,item_index:t,target_url:i}},children:(0,x.jsx)("a",{href:i,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:"flex h-8 items-center rounded-xl px-2 transition-colors hover:bg-(--Fills-F1)",children:l})}):(0,x.jsx)("div",{className:"flex h-8 items-center px-2",children:l})}function ey({item:e,itemIndex:t,shared:n,expanded:a,onToggle:r}){let i="group"===e.kind&&eu(e,n),{href:l,onClick:o}=ea(e,n),s=(0,T.isCmsNavItemActive)(e,n.pathname,n.langPathPrefix),c=n.listItemClass??"header-mobile-nav-item";if(!i)return(0,x.jsx)("li",{className:c,children:(0,x.jsx)("div",{className:"header-mobile-nav-toprow",children:(0,x.jsx)(E.default,{log:ei(n,e,t+1,l,"navigate"),children:(0,x.jsxs)("a",{href:l,"data-active":s?"true":"false",onClick:e=>{o?.(e),e.defaultPrevented||n.closeMobileMenu()},target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:`${n.navLinkClass(s)} justify-between gap-2`,children:[(0,x.jsx)(en,{children:e.title}),(0,x.jsx)(P,{"aria-hidden":!0,focusable:!1,className:"size-4 shrink-0 text-(--Labels-Tertiary)"})]})})})});let d=`header-mobile-nav-panel-${e.itemKey}`,u=T.NAVIGATION_GROUP_PATH_FAMILY[e.itemKey];return(0,x.jsxs)("li",{className:c,children:[(0,x.jsx)("div",{className:"header-mobile-nav-toprow",children:(0,x.jsx)(E.default,{log:ei(n,e,t+1,l,"expand_panel"),children:(0,x.jsxs)("button",{type:"button","aria-expanded":a,"aria-controls":d,"data-active":s?"true":"false",onClick:r,className:`${n.navLinkClass(s)} w-full cursor-pointer justify-between gap-2`,children:[(0,x.jsx)(en,{children:e.title}),(0,x.jsx)(S,{"aria-hidden":!0,focusable:!1,className:`size-4 shrink-0 text-(--Labels-Tertiary) transition-transform ${a?"rotate-180":""}`})]})})}),a?(0,x.jsx)("div",{id:d,className:"flex flex-col gap-1 px-6",children:e.children.map((t,a)=>(0,x.jsx)(e_,{column:t,columnIndex:a,topGroup:e,shared:n,family:u},t.itemKey))}):null]})}function e_({column:e,columnIndex:t,topGroup:n,shared:a,family:r}){if("group"!==e.kind)return(0,T.isNavigationExploreAllItem)(e)?(0,x.jsx)(ej,{item:e,parentItemId:n.itemKey,groupId:n.itemKey,itemIndex:t+1,shared:a,family:r}):(0,x.jsx)(eN,{item:e,parentItemId:n.itemKey,groupId:n.itemKey,itemIndex:t+1,shared:a,family:r});if(0===e.children.length)return null;let i=e.children.filter(e=>!(0,T.isNavigationExploreAllItem)(e)),l=e.children.filter(T.isNavigationExploreAllItem);return(0,x.jsxs)("div",{className:"flex flex-col",children:[(0,x.jsx)(ek,{column:e,itemIndex:t+1,topGroupKey:n.itemKey,shared:a,family:r}),i.map((t,i)=>(0,x.jsx)(eN,{item:t,parentItemId:n.itemKey,groupId:e.itemKey,itemIndex:i+1,shared:a,family:r},t.itemKey)),l.map(t=>(0,x.jsx)(ej,{item:t,parentItemId:n.itemKey,groupId:e.itemKey,itemIndex:e.children.indexOf(t)+1,shared:a,family:r},t.itemKey))]})}function ek({column:e,itemIndex:t,topGroupKey:n,shared:a,family:r}){if(!e.title.trim())return null;let{href:i}=ea(e,a,r),l=(0,x.jsx)("span",{className:"text-sm font-medium text-(--Labels-Tertiary)",children:e.title});return i?(0,x.jsx)(E.default,{log:es(a,n,e.itemKey,e,t,i),children:(0,x.jsx)("a",{href:i,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,onClick:()=>a.closeMobileMenu(),className:"flex rounded-lg py-2",children:l})}):(0,x.jsx)("div",{className:"py-2",children:l})}function eN({item:e,parentItemId:t,groupId:n,itemIndex:a,shared:r,family:i}){let{href:l,onClick:o}=ea(e,r,i);return(0,x.jsx)(E.default,{log:es(r,t,n,e,a,l),children:(0,x.jsx)("a",{href:l??"#",target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,onClick:e=>{o?.(e),e.defaultPrevented||r.closeMobileMenu()},className:"flex min-w-0 items-center gap-2 rounded-lg py-2",children:(0,x.jsxs)("span",{className:"flex min-w-0 items-center gap-1",children:[(0,x.jsx)("span",{className:"truncate text-[15px] leading-5 font-normal text-(--Labels-Primary)",children:e.title}),e.tag?(0,x.jsx)("span",{className:"shrink-0 rounded bg-(--Others-KMBlue10) px-1 py-px text-xs leading-[18px] font-normal whitespace-nowrap text-(--Colors-KMBlue)",children:e.tag}):null]})})})}function ej({item:e,parentItemId:t,groupId:n,itemIndex:a,shared:r,family:i}){let{href:l,onClick:o}=ea(e,r,i);return(0,x.jsx)(E.default,{log:es(r,t,n,e,a,l),children:(0,x.jsx)("a",{href:l??"#",target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,onClick:e=>{o?.(e),e.defaultPrevented||r.closeMobileMenu()},className:"flex items-center gap-1 rounded-lg py-2 text-sm leading-5 text-(--Labels-Secondary)",children:(0,x.jsx)("span",{className:"truncate",children:e.title})})})}function eI({items:e,shared:t,headerRef:n}){let{sendLog:a}=(0,H.useLog)(),[r,i]=(0,p.useState)(null),[l,o]=(0,p.useState)([]),s=(0,p.useRef)(void 0),c=(0,p.useRef)("hover"),d=(0,p.useCallback)(()=>{window.clearTimeout(s.current)},[]),u=(0,p.useCallback)(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>i(null),150)},[]),m=(0,p.useCallback)((e,t)=>{d(),c.current=t,i(e)},[d]),h=(0,p.useCallback)(()=>{d(),i(null)},[d]);(0,p.useEffect)(()=>()=>window.clearTimeout(s.current),[]);let f=Q(),g=t.isMobileMenuOpen||!!t.forceMobileNav,w=!g&&f,[v,b]=(0,p.useState)(w);v!==w&&(b(w),v&&!w&&i(null));let y=(0,p.useRef)(null);(0,p.useEffect)(()=>{r&&r!==y.current&&a({event:"hub_nav_dropdown_show",params:{page_type:t.currentPageType,module_id:"top_nav",module_index:0,item_id:(0,F.toNavDropdownItemId)(r),trigger_type:c.current}}),y.current=r},[r,t.currentPageType,a]);let _=(0,p.useRef)([]);(0,p.useEffect)(()=>{let e=l.find(e=>!_.current.includes(e));e&&a({event:"hub_nav_dropdown_show",params:{page_type:t.currentPageType,module_id:"top_nav",module_index:0,item_id:(0,F.toNavDropdownItemId)(e),trigger_type:"click"}}),_.current=l},[l,t.currentPageType,a]);let k=e.filter(e=>"nav"===e.placement).map(e=>ed(e,t)).filter(e=>null!==e),N=e.filter(e=>"secondary"===e.placement&&el(e,t)),j=k.filter(e=>"group"===e.kind&&eu(e,t));return(0,x.jsxs)(x.Fragment,{children:[k.map((e,n)=>t.isMobileMenuOpen?(0,x.jsx)(ey,{item:e,itemIndex:n,shared:t,expanded:l.includes(e.itemKey),onToggle:()=>{let t;return t=e.itemKey,o(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t])}},e.itemKey):(0,x.jsx)(ef,{item:e,itemIndex:n,shared:t,openKey:r,setOpenKey:i,openItem:m,scheduleClose:u},e.itemKey)),(0,x.jsx)(ee,{headerRef:n,blocked:g,openKey:r,groups:j,renderContent:e=>{let n=em(e);return(0,x.jsx)("div",{className:`${ep(n)} ${eh(n)}`,children:(0,x.jsx)(ew,{group:e,shared:t})})},onClose:h,onCancelClose:d,onScheduleClose:u}),N.map(e=>{let{label:n,href:a,newTab:r,onClick:i}=ec(e,t);return(0,x.jsx)("li",{className:t.mobileSecondaryItemClass??"header-mobile-nav-item header-mobile-only-item",children:(0,x.jsx)("div",{className:"header-mobile-nav-toprow",children:(0,x.jsx)(E.default,{log:t.secondaryActionClickLog?t.secondaryActionClickLog(e,n,a):ei(t,e,k.length+1,a,"navigate"),children:(0,x.jsx)(L.KitLink,{href:a,onClick:e=>{i?.(e),e.defaultPrevented||t.closeMobileMenu()},target:r?"_blank":void 0,rel:r?"noopener":void 0,className:t.navLinkClass(!1),children:(0,x.jsx)(en,{children:n})})})})},e.itemKey)})]})}function eC({items:e,shared:t,placements:n}){let a=e.filter(e=>("secondary"===e.placement||"primary"===e.placement)&&(!n||n.includes(e.placement))&&el(e,t));return(0,x.jsx)(x.Fragment,{children:a.map(e=>{let n,a="primary"===e.placement,r=e.target?.kind==="action"&&e.target.actionId===T.NAVIGATION_ACTION_DOWNLOAD,i=e.target?.kind==="action"?eo[e.target.actionId]:void 0,{label:l,href:o,newTab:s,onClick:c}=a?(n=ea(e,t),{label:e.title,href:n.href??"#",newTab:e.openInNewTab,onClick:n.onClick}):ec(e,t);return(0,x.jsx)(E.default,{log:i?{event:"hub_nav_cta_click",params:{page_type:t.currentPageType,module_id:"top_nav_cta",module_index:0,item_id:i.itemId,item_text:l,item_index:i.itemIndex,target_url:o}}:!a&&t.secondaryActionClickLog?t.secondaryActionClickLog(e,l,o):{event:"hub_home_entry_click",params:{page_type:t.currentPageType,module_id:"top_nav_home",module_index:0,item_id:e.itemKey,item_text:l,item_index:a?"2":"8",target_url:o}},children:(0,x.jsx)(L.KitLink,{href:o,className:a?r?`${t.primaryButtonClass} header-download-action header-download-action--primary`:t.primaryButtonClass:r?`${t.downloadButtonClass??t.secondaryButtonClass} header-download-action`:t.secondaryButtonClass,target:s?"_blank":void 0,rel:s?"noopener":void 0,onClick:c,children:r?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("span",{className:"header-download-action-label",children:l}),(0,x.jsx)(K.default,{"aria-hidden":!0,focusable:!1,className:"header-download-action-icon size-4"}),(0,x.jsx)(B,{"aria-hidden":!0,focusable:!1,className:"header-download-action-icon-h5"})]}):a?(0,x.jsx)("span",{className:"text-center min-w-14",children:l}):l})},e.itemKey)})})}var eE=e.i(355119),eA=e.i(538501),eL=e.i(698718),eT=e.i(510988);function eM({href:e,label:t,pageType:n,className:a,newTab:r=!1,onClick:i}){return(0,x.jsx)(E.default,{log:{event:"hub_header_nav_click",params:{page_type:n,module_id:"top_nav",module_index:0,item_id:"business",item_text:t,item_index:8,click_result:"navigate",target_url:e}},children:(0,x.jsx)(L.KitLink,{href:e,className:a,target:r?"_blank":void 0,rel:r?"noopener":void 0,onClick:i,children:t})})}function eO(e){return(0,x.jsx)(eP,{...e})}function eP({variant:e,pageType:t,relatedFeature:n,langPathPrefix:a,locale:r,isDarkMode:i=!1,scrollInvert:l=!1,scrollInvertTheme:o="dark",onPricingClick:s,showPricingNav:c=!0,forBusinessLabel:d,forBusinessUseCta:u=!1,forBusinessHref:m,forBusinessNewTab:h,homeHref:f,downloadHref:g,showTryKimi:w=!0,headerLinkContext:v,navigation:b,secondaryActionOverride:k,hiddenNavItems:M=[],showForBusiness:O=!0,showMobileMenuButton:P=!0,leadingAction:R,trailingAction:S}){let K=(0,L.useKitPathname)(),{t:z,i18n:B}=(0,y.useTranslation)(),H=r||(0,eA.getSiteShellLocaleFromPathPrefix)(a??""),F="function"==typeof B.getFixedT?B.getFixedT(H):z,[V,D]=(0,p.useState)(!1),[W,$]=(0,p.useState)(!1),[G,U]=(0,p.useState)(!1),[q,Y]=(0,p.useState)(!1);(0,p.useEffect)(()=>{let e=()=>{let e=window.scrollY;D(e>0),l&&$(e>380)};window.addEventListener("scroll",e),e();let t=requestAnimationFrame(()=>{U(!0)});return()=>{window.removeEventListener("scroll",e),cancelAnimationFrame(t)}},[l]);let J=(0,p.useRef)(null),X=(0,p.useRef)(null),Q=(0,p.useRef)(null),Z=(0,p.useRef)(null),ee=(0,p.useRef)(null),[et,en]=(0,p.useState)(!1),[ea,er]=(0,p.useState)("compact"),ei=(0,p.useRef)({width:0,count:0}),el=(0,p.useRef)(null);(0,p.useLayoutEffect)(()=>{let e=()=>{let e=X.current,t=Q.current,n=ee.current,a=Z.current;if(!e||!t||!n||!a)return;let r=getComputedStyle(document.documentElement),i=parseInt(r.getPropertyValue("--header-mobile-breakpoint"),10),l=parseInt(r.getPropertyValue("--header-nav-comfortable-min-width"),10),o=parseFloat(r.getPropertyValue("--header-nav-gap-compact"))||12,s=parseFloat(r.getPropertyValue("--header-nav-gap-comfortable"))||24,c=parseFloat(r.getPropertyValue("--header-nav-item-pad-x-compact"))||2,d=parseFloat(r.getPropertyValue("--header-nav-item-pad-x-comfortable"))||8,u=window.innerWidth;if(u<(Number.isFinite(i)?i:1e3)){en(!1),er("compact");return}if(q)return;if((el.current?.locale!==H||el.current?.navigation!==b)&&et){ei.current={width:0,count:0},el.current=null,en(!1),er("compact");return}if(!et){let e=Array.from(a.querySelectorAll(":scope > .header-mobile-nav-item:not(.header-mobile-only-item)")),t=e.reduce((e,t)=>
1{let n=getComputedStyle(t),a=(parseFloat(n.paddingLeft)||0)+(parseFloat(n.paddingRight)||0);return e+Math.max(0,t.offsetWidth-a)},0);ei.current=0===t?{width:0,count:0}:{width:t,count:e.length},el.current={locale:H,navigation:b}}if(0===ei.current.width){en(!1),er("compact");return}let{width:m,count:h}=ei.current,p=(e,t)=>m+h*t*2+Math.max(0,h-1)*e,f=p(o,c),g=p(s,d),x=getComputedStyle(e),w=(parseFloat(x.paddingLeft)||0)+(parseFloat(x.paddingRight)||0)+(parseFloat(x.getPropertyValue("--header-desktop-nav-margin-left"))||0)+(parseFloat(x.getPropertyValue("--header-desktop-nav-margin-right"))||0),v=e.clientWidth-w-t.offsetWidth-n.offsetWidth;if(u>=(Number.isFinite(l)?l:1280)&&g<=v){er("comfortable"),en(!1);return}if(f<=v){er("compact"),en(!1);return}er("compact"),en(!0)};if(e(),"u"<typeof ResizeObserver)return;let t=new ResizeObserver(e);return[X.current,Z.current,ee.current].forEach(e=>{e&&t.observe(e)}),()=>t.disconnect()},[et,q,H,b,ea]);let eo=(0,p.useMemo)(()=>t||("help-center"===e?"help_center":K?.includes("/products")?"product_hub":K?.includes("/features")?"feature_hub":"landing_page"),[e,t,K]),es=(0,eE.getSiteChromeContentMaxWidthClass)(),ec=(0,p.useMemo)(()=>({event:"hub_nav_module_show",params:{page_type:eo,module_id:"top_nav",module_index:0,...n?{related_feature:n}:{}}}),[eo,n]),eu=(0,eT.resolveHeaderHref)(f??"/",v),em=(0,eT.resolveHeaderHref)("/membership/pricing",v),eh=(0,eL.langCookieToRouteLocale)(H),ep=K?.split(/[?#]/)[0]?.split("/").filter(Boolean)[0]?.toLowerCase(),ef=ep&&"en"!==ep&&"zh-cn"!==ep&&C.ROUTE_PATH_PREFIX_LOCALES.has(ep)?`/${ep}`:"",eg=a??(null!=K?ef:"en"===eh||"zh-cn"===eh?"":`/${eh}`),ex=(0,eT.resolveHeaderHref)(m??(0,I.withLang)("/business",eg),v),ew=d??function(e,t=!1){return t?e("headerNav.forBusiness.cta",{defaultValue:"Get Kimi Business"}):e("headerNav.forBusiness.title",{defaultValue:"For Business"})}(F,u),ev=l&&!W,eb=ev&&"dark"===o,ey=i||eb,{navItemBaseClass:e_,navItemDefaultClass:ek,navItemActiveClass:eN}=(0,eE.getLandingNavItemClasses)(eb,ey),ej=ev?q?"dark"===o?"bg-black":"bg-(--Bg-Primary)":"bg-transparent":q?"bg-(--Bg-Primary)":"bg-(--Bg-Primary70) backdrop-blur-[6px]",eO=b?{pathname:K,currentPageType:eo,isMobileMenuOpen:q,closeMobileMenu:()=>Y(!1),navLinkClass:e=>`header-mobile-nav-link ${e_} ${e?eN:ek}`,forceMobileNav:et,onPricingClick:s,showPricingNav:c,pricingHref:em,homeHref:eu,downloadHref:g,langPathPrefix:eg,linkContext:v,secondaryButtonClass:(0,eE.getForBusinessButtonClass)(eb),downloadButtonClass:(0,eE.getDownloadButtonClass)(eb),primaryButtonClass:(0,eE.getTryKimiButtonClass)(ey,eb),secondaryActionOverride:k?{label:k.label??ew,href:(0,eT.resolveHeaderHref)(k.href,v),newTab:k.newTab??!1}:void 0,secondaryActionClickLog:"help_center"===eo?(e,t,n)=>({event:"hub_header_nav_click",params:{page_type:eo,module_id:"top_nav",module_index:0,item_id:e.itemKey,item_text:t,item_index:8,click_result:"navigate",target_url:n}}):void 0}:null,eP=(b?.items??[]).map(e=>"nav"===e.placement&&M.includes(e.itemKey)||"secondary"===e.placement&&!O||e.target?.kind==="action"&&e.target.actionId===T.NAVIGATION_ACTION_TRY_KIMI&&!w?null:e).filter(e=>null!==e),eR=eP.some(e=>"nav"===e.placement&&null!==eO&&!!ed(e,eO)),eS=F("headerNav.tryKimi.title",{defaultValue:"Try Kimi"}),eK=F("headerAccessibility.toggleMenu",{defaultValue:"Toggle menu"}),ez=F("headerAccessibility.logo",{defaultValue:"Kimi"});return(0,x.jsxs)("header",{ref:J,role:"banner","data-testid":"kimi-site-header","data-theme":ey?"dark":"light","data-force-dark":eb,"data-force-mobile-nav":et?"true":void 0,"data-nav-spacing":et?void 0:ea,className:"sticky top-0 z-50",children:[(0,x.jsx)("div",{"aria-hidden":!0,className:`absolute inset-0 -z-10 transition-colors duration-300 ${ej} ${V&&!l?"border-b-[0.5px] border-(--Separators-S1)":""}`}),(0,x.jsx)(A.default,{log:ec,children:(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)("div",{ref:X,className:`header-mobile-nav-row flex justify-between items-center p-4 mx-auto w-full ${es} tablet:px-12`,children:[(0,x.jsx)("div",{ref:Q,className:"flex items-center",children:(0,x.jsx)(E.default,{log:{event:"hub_logo_click",params:{page_type:eo,module_id:"top_nav_home",module_index:0,target_url:eu}},children:(0,x.jsx)(L.KitLink,{href:eu,className:"flex items-center shrink-0 grow-0","aria-label":ez,children:(0,x.jsx)(j.default,{"aria-hidden":!0,focusable:!1,className:`w-auto h-5 ${ey?"[&_path]:fill-(--Always-White)":"[&_path]:fill-(--Always-Black)"}`})})})}),(0,x.jsx)("nav",{className:`header-mobile-nav-wrapper ${q?"is-open":""}`,children:(0,x.jsx)("ul",{ref:Z,className:`header-mobile-nav-list ${G?"nav-ready":""}`,children:eO&&b?(0,x.jsx)(eI,{items:eP,shared:eO,headerRef:J}):null})}),(0,x.jsxs)("div",{ref:ee,className:"flex items-center justify-end gap-2",children:[P&&eR&&(0,x.jsx)("button",{className:"header-mobile-nav-menu-button flex justify-center items-center p-1 rounded-xl","aria-label":e
1K,onClick:()=>Y(!q),children:q?(0,x.jsx)(_.default,{className:`size-6 ${ey?"text-(--Always-White)":"text-(--Labels-Primary)"}`}):(0,x.jsx)(N,{className:`size-6 ${ey?"text-(--Always-White)":"text-(--Labels-Primary)"}`})}),eO&&b?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(eC,{items:eP,shared:eO,placements:["secondary"]}),R,(0,x.jsx)(eC,{items:eP,shared:eO,placements:["primary"]})]}):(0,x.jsxs)(x.Fragment,{children:[O&&(0,x.jsx)(eM,{href:ex,label:ew,pageType:eo,className:(0,eE.getForBusinessButtonClass)(eb),newTab:h}),R,w&&(0,x.jsx)(E.default,{log:{event:"hub_nav_cta_click",params:{page_type:eo,module_id:"top_nav_cta",module_index:0,item_id:"try_kimi",item_text:eS,item_index:"2",target_url:eu}},children:(0,x.jsx)(L.KitLink,{href:eu,className:(0,eE.getTryKimiButtonClass)(ey,eb),children:(0,x.jsx)("span",{className:"text-center min-w-14",children:eS})})})]}),S]})]})})})]})}function eR(e){(0,p.useEffect)(()=>{(0,w.waitForBridgeReady)()},[]);let t=(0,v.useSiteHeaderPricingVisibility)(),n=e.headerLinkContext?.mainAppOrigin,a=(0,p.useCallback)(()=>{(0,b.openSiteHeaderPricing)({origin:n})},[n]);return(0,x.jsx)(eO,{...e,onPricingClick:a,showPricingNav:t,showMobileMenuButton:"help_center"===e.pageType||"help-center"===e.variant?t:e.showMobileMenuButton})}e.s(["SiteHeader",()=>eR],89713);var eS=e.i(765061),eK=e.i(528574),ez=e.i(425043);function eB(){return(eB=Object.assign.bind()).apply(null,arguments)}let eH=function(e){return p.createElement("svg",eB({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,viewBox:"0 0 28 28",fill:"currentColor"},e),d||(d=p.createElement("g",{clipPath:"url(#avatar-default-dark_svg__clip0_38814_160801)"},p.createElement("g",{clipPath:"url(#avatar-default-dark_svg__clip1_38814_160801)"},p.createElement("path",{fillOpacity:.1,d:"M14 0c7.732 0 14 6.269 14 14 0 7.732-6.268 14-14 14-7.731 0-14-6.268-14-14C0 6.269 6.269 0 14 0"}),p.createElement("path",{fillOpacity:.2,d:"M14 4.667a6.416 6.416 0 0 1 6.417 6.417A6.416 6.416 0 0 1 14 17.5a6.416 6.416 0 0 1-6.417-6.416A6.416 6.416 0 0 1 14 4.667m.001 14c4.515 0 8.428 1.925 10.367 4.74A13.96 13.96 0 0 1 14.001 28a13.97 13.97 0 0 1-10.37-4.593c1.94-2.815 5.854-4.74 10.37-4.74"}),p.createElement("path",{stroke:"#2F2F2E",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.9,strokeWidth:1.75,d:"m13.937 9.58.159 1.154m3.308-1.635.159 1.155"})))),u||(u=p.createElement("defs",null,p.createElement("clipPath",{id:"avatar-default-dark_svg__clip0_38814_160801"},p.createElement("path",{d:"M0 14C0 6.268 6.268 0 14 0s14 6.268 14 14-6.268 14-14 14S0 21.732 0 14"})),p.createElement("clipPath",{id:"avatar-default-dark_svg__clip1_38814_160801"},p.createElement("path",{d:"M0 0h28v28H0z"})))))};function eF(){return(eF=Object.assign.bind()).apply(null,arguments)}let eV=function(e){return p.createElement("svg",eF({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,viewBox:"0 0 28 28",fill:"currentColor"},e),m||(m=p.createElement("g",{clipPath:"url(#avatar-default-light_svg__clip0_38814_160878)"},p.createElement("g",{clipPath:"url(#avatar-default-light_svg__clip1_38814_160878)"},p.createElement("path",{fillOpacity:.05,d:"M14 0c7.732 0 14 6.269 14 14 0 7.732-6.268 14-14 14-7.731 0-14-6.268-14-14C0 6.269 6.269 0 14 0"}),p.createElement("path",{fillOpacity:.15,d:"M13.868 4.666a6.416 6.416 0 0 1 6.417 6.417 6.416 6.416 0 0 1-6.417 6.416 6.416 6.416 0 0 1-6.417-6.416 6.416 6.416 0 0 1 6.417-6.417m.002 14c4.513 0 8.427 1.925 10.366 4.74A13.96 13.96 0 0 1 13.87 28 13.97 13.97 0 0 1 3.5 23.406c1.939-2.815 5.853-4.74 10.37-4.74"}),p.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.9,strokeWidth:1.75,d:"m13.805 9.58.16 1.155m3.308-1.636.16 1.155"})))),h||(h=p.createElement("defs",null,p.createElement("clipPath",{id:"avatar-default-light_svg__clip0_38814_160878"},p.createElement("path",{d:"M0 14C0 6.268 6.268 0 14 0s14 6.268 14 14-6.268 14-14 14S0 21.732 0 14"})),p.createElement("clipPath",{id:"avatar-default-light_svg__clip1_38814_160878"},p.createElement("path",{d:"M0 0h28v28H0z"})))))},eD={src:e.i(720661).default,width:32,height:32,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAYElEQVR42n3PPQqAMAyG4YiDiIM/uOqsx9DVA3gHxU3wEF66b2gLHdoGnilfm0TEVocJjURKmy8uLC
1hQhgF9+aByzREnWh+YcaPHhgM/PtRhYMCeCmRH+CX1lzW2ZPZMA72+CSRXc6AkAAAAAElFTkSuQmCC"};var eW=e.i(204397);e.i(392542);var e$=e.i(634592),eG=e.i(215601);let eU="flex h-9 w-full items-center rounded-[6px] px-2 text-left text-[14px] leading-5",eq={backgroundColor:"var(--Labels-Secondary)",WebkitMaskImage:`url(${eD.src})`,WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center",WebkitMaskSize:"contain",maskImage:`url(${eD.src})`,maskRepeat:"no-repeat",maskPosition:"center",maskSize:"contain"},eY=[{value:"system",Icon:ez.ThemeSystemIcon},{value:"dark",Icon:eS.ThemeDarkIcon},{value:"light",Icon:eK.ThemeLightIcon}];function eJ({user:e,logoutLabel:t,onLogout:n,pageType:a}){let r=(0,e$.useRouteFixedT)(),{sendLog:i}=(0,H.useLog)(),l=(0,p.useId)(),o=(0,p.useRef)(null),s=(0,p.useRef)(null),[c,d]=(0,p.useState)(!1),u=function(){let[e,t]=(0,p.useState)(()=>window.matchMedia("(hover: hover) and (pointer: fine)").matches);return(0,p.useEffect)(()=>{let e=window.matchMedia("(hover: hover) and (pointer: fine)"),n=()=>{t(e.matches)};return e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e}(),m=(0,eW.useCustomThemeSetting)(),h=e.name?.trim()||"User",[f,g]=(0,p.useState)(null),w=!!e.avatarUrl&&f!==e.avatarUrl,v=r("footerTheme.title",{defaultValue:"Theme"}),b={system:r("footerTheme.system",{defaultValue:"System"}),dark:r("footerTheme.dark",{defaultValue:"Dark"}),light:r("footerTheme.light",{defaultValue:"Light"})},y=(0,p.useCallback)(()=>{null!=s.current&&(window.clearTimeout(s.current),s.current=null)},[]),_=(0,p.useCallback)(()=>{y(),d(!1)},[y]),k=(0,p.useCallback)(()=>{y(),d(!0)},[y]),N=(0,p.useCallback)(()=>{y(),s.current=window.setTimeout(()=>{s.current=null,d(!1)},150)},[y]);(0,p.useEffect)(()=>()=>y(),[y]);let j=(0,p.useRef)(!1);(0,p.useEffect)(()=>{c&&!j.current&&i({event:"hub_user_menu_show",params:{page_type:a??"landing_page",module_id:"top_nav_user",module_index:0}}),j.current=c},[c,a,i]),(0,p.useEffect)(()=>{if(!c||u)return;let e=e=>{o.current?.contains(e.target)||_()};return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e)},[u,_,c]);let I=(0,p.useCallback)(e=>{e.preventDefault(),d(e=>!e)},[]),C=(0,p.useCallback)(()=>{i({event:"hub_user_menu_click",params:{page_type:a??"landing_page",module_id:"top_nav_user",module_index:0,item_id:"logout"}}),_(),n()},[_,n,a,i]);return(0,x.jsxs)("div",{ref:o,className:"relative -mx-2 -my-2 flex items-center self-center px-2 py-2",onMouseEnter:u?k:void 0,onMouseLeave:u?N:void 0,children:[(0,x.jsx)("button",{"aria-controls":l,"aria-expanded":c,"aria-haspopup":"menu","aria-label":h,className:"box-border flex size-8 shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-full border-[0.5px] border-(--Separators-S1) bg-(--Fills-F1) p-0 leading-none",onClick:I,type:"button",children:w?(0,x.jsx)("img",{alt:h,className:"size-full object-cover object-center",onError:()=>g(e.avatarUrl??null),referrerPolicy:"no-referrer",src:e.avatarUrl}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(eV,{"aria-hidden":!0,className:"size-4 dark:hidden"}),(0,x.jsx)(eH,{"aria-hidden":!0,className:"hidden size-4 dark:block"})]})}),c?(0,x.jsx)("div",{className:"absolute top-[calc(100%-0.5rem)] right-0 z-[210] pt-1",id:l,role:"menu",children:(0,x.jsxs)("div",{className:"inline-flex w-[200px] flex-col items-stretch rounded-[12px] border-[0.5px] border-(--Separators-S1) bg-(--Bg-Tertiary) p-2 shadow-[0_4px_10px_0_rgba(0,0,0,0.10)]",children:[(0,x.jsx)("div",{className:`${eU} max-w-full truncate text-(--Labels-Primary)`,title:h,children:(0,x.jsx)("span",{className:"block max-w-[168px] truncate",children:h})}),(0,x.jsx)("div",{"aria-hidden":!0,className:"flex h-2 items-center",children:(0,x.jsx)("div",{className:"h-px w-full bg-(--Separators-S1)"})}),(0,x.jsxs)("div",{className:`${eU} justify-between gap-2 text-(--Labels-Primary)`,children:[(0,x.jsx)("span",{className:"shrink-0",children:v}),(0,x.jsx)("div",{"aria-label":v,className:"flex h-6 w-[72px] items-center justify-center gap-1 rounded-full bg-(--Fills-F1) p-0.5",role:"group",children:eY.map(({value:e,Icon:t})=>{let n=m===e;return(0,x.jsx)("button",{"aria-label":b[e],"aria-pressed":n,className:`flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors ${n?"bg-(--Bg-Primary) text-(--Labels-Primary) shadow-[0_1px_2px_0_rgba(0,0,0,0.08)]":"text-(--Labels-Secondary) hover:text-(--Labels-Primary)"}`,onClick:()=>{e!==m&&i({event:"hub_theme_toggle_click",params:{page_type:a??"landing_page",module_id:"top_nav_user",module_index:0,theme_from:m,theme_to:e}}),(0,eG.writeCustomThemeSetting)(e)},title:b[e],type:"button",children:(0,x.jsx)(t,{"aria-hidden":!0,
1className:"size-3.5"})},e)})})]}),(0,x.jsxs)("button",{className:`${eU} cursor-pointer justify-between text-(--Labels-Primary) transition-colors hover:bg-(--Fills-F1)`,onClick:C,role:"menuitem",type:"button",children:[(0,x.jsx)("span",{children:t}),(0,x.jsx)("span",{"aria-hidden":!0,className:"size-4 shrink-0",style:eq})]})]})}):null]})}e.s(["default",()=>eJ],44260);var eX=e.i(510584),eQ=e.i(142768);function eZ(e,t,n){switch((0,eQ.detectDownloadPlatform)(e)){case"windows":return(0,eX.getKimiWorkDownloadUrls)(t).windows;case"mac":return"x86"===n?(0,eX.getKimiWorkDownloadUrls)(t).macIntel:(0,eX.getKimiWorkDownloadUrls)(t).macArm;case"ios":return eQ.IOS_DOWNLOAD_URL;case"android":return t?eQ.ANDROID_GOOGLE_PLAY_URL:eQ.ANDROID_DIRECT_DOWNLOAD_URL;case"harmonyos":return eQ.HARMONYOS_DOWNLOAD_URL}}e.s(["resolveHeaderDownloadUrl",()=>eZ],345020)},799962,e=>{"use strict";var t=e.i(270468);e.i(271226);var n=e.i(833969),a=e.i(845065),r=e.i(602986),i=e.i(113736),l=e.i(264304),o=e.i(591106),s=e.i(273726);function c({loginHost:e}){let c=(0,r.usePathname)(),{open:d,intent:u}=(0,s.useHelpCenterLoginGate)(),{refresh:m}=(0,l.useHelpCenterAuth)(),h=(0,i.useRef)(c);(0,i.useEffect)(()=>{h.current!==c&&(h.current=c,!d&&u&&(0,s.dismissHelpCenterLogin)())},[c,d,u]);let p=(0,i.useCallback)(async()=>{(0,s.closeHelpCenterLoginOverlay)(),await m()},[m]),f=(0,i.useCallback)(()=>{(0,s.dismissHelpCenterLogin)()},[]);return d?(0,t.jsx)(a.KimiLoginWindow,{loginHost:e,loginPath:n.DEFAULT_KIMI_LOGIN_PATH,loginSource:"kimi-help-center-iframe",resolveAccessToken:o.resolveHelpCenterAccessToken,onAuthenticated:p,onDismiss:f,dismissOnMaskClick:!0,revealOnMaskReady:!0,overlayClassName:"fixed inset-0 z-[200] bg-black/60",loadingClassName:"fixed inset-0 z-[200] flex items-center justify-center bg-black/60"}):null}e.s(["HelpCenterLoginGate",()=>c])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.