!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a09f3e-7b8d-7501-96ac-c6cc6134b7e3")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,880407,e=>{"use strict";var t=e.i(79635),i=e.i(618568);function r(){return i.NOOP}function a(){return!1}function o(){return!0}e.s(["useIsHydrating",0,function(){return(0,t.useSyncExternalStore)(r,a,o)}])},674026,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))});e.s(["ArrowRightEndOnRectangleIcon",0,i],674026)},646013,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"}))});e.s(["ArrowUpIcon",0,i],646013)},902866,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"}))});e.s(["CalendarDaysIcon",0,i],902866)},613889,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"}))});e.s(["CodeBracketIcon",0,i],613889)},221718,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"}))});e.s(["CpuChipIcon",0,i],221718)},820941,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))});e.s(["LockClosedIcon",0,i],820941)},152533,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))});e.s(["MagnifyingGlassIcon",0,i],152533)},373855,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))});e.s(["PencilIcon",0,i],373855)},614991,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["PhotoIcon",0,i],614991)},150592,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"}))});e.s(["ShieldCheckIcon",0,i],150592)},143566,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6h.008v.008H6V6Z"}))});e.s(["TagIcon",0,i],143566)},327232,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))});e.s(["UserIcon",0,i],327232)},492009,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z"}))});e.s(["VideoCameraIcon",0,i],492009)},541678,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"}))});e.s(["WrenchScrewdriverIcon",0,i],541678)},752644,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v.756a49.106 49.106 0 0 1 9.152 1 .75.75 0 0 1-.152 1.485h-1.918l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 18.75 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84l2.474-10.124H12.75v13.28c1.293.076 2.534.343 3.697.776a.75.75 0 0 1-.262 1.453h-8.37a.75.75 0 0 1-.262-1.453c1.162-.433 2.404-.7 3.697-.775V6.24H6.332l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 5.25 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84L4.168 6.241H2.25a.75.75 0 0 1-.152-1.485 49.105 49.105 0 0 1 9.152-1V3a.75.75 0 0 1 .75-.75Zm4.878 13.543 1.872-7.662 1.872 7.662h-3.744Zm-9.756 0L5.25 8.131l-1.872 7.662h3.744Z",clipRule:"evenodd"}))});e.s(["ScaleIcon",0,i],752644)},746751,e=>{"use strict";let t=(0,e.i(202913).default)("audio-lines",[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]);e.s(["AudioLines",0,t],746751)},505987,e=>{"use strict";let t=(0,e.i(202913).default)("boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);e.s(["Boxes",0,t],505987)},639222,e=>{"use strict";var t=e.i(222584);e.s(["ChevronRightIcon",()=>t.default])},890136,e=>{"use strict";let t=(0,e.i(202913).default)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);e.s(["Image",0,t],890136)},693207,e=>{"use strict";let t=(0,e.i(202913).default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);e.s(["default",0,t])},718723,e=>{"use strict";var t=e.i(693207);e.s(["Layers3",()=>t.default])},432914,924632,e=>{"use strict";var t=e.i(202913);let i=(0,t.default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["ListIcon",0,i],432914);let r=(0,t.default)("table-2",[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]]);e.s(["Table2Icon",0,r],924632)},218812,e=>{"use strict";let t=(0,e.i(202913).default)("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]);e.s(["Mic",0,t],218812)},618665,e=>{"use strict";let t=(0,e.i(202913).default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",0,t])},939152,e=>{"use strict";var t=e.i(618665);e.s(["ShieldCheck",()=>t.default])},334471,e=>{"use strict";let t=(0,e.i(202913).default)("speech",[["path",{d:"M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20",key:"11atix"}],["path",{d:"M19.8 17.8a7.5 7.5 0 0 0 .003-10.603",key:"yol142"}],["path",{d:"M17 15a3.5 3.5 0 0 0-.025-4.975",key:"ssbmkc"}]]);e.s(["Speech",0,t],334471)},316688,e=>{"use strict";let t=(0,e.i(202913).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],316688)},353287,e=>{"use strict";let t=(0,e.i(202913).default)("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]);e.s(["Type",0,t],353287)},913767,e=>{"use strict";let t=(0,e.i(202913).default)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);e.s(["Video",0,t],913767)},554616,e=>{"use strict";var t=e.i(237425);e.s(["debounce",()=>t.o])},476809,849114,e=>{"use strict";let t={Age18Plus:"age_18plus"};e.s(["AttestationScope",0,{User:"user",Org:"org"},"AttestationType",0,t],849114);var i=e.i(185473),r=e.i(217631);let a={[t.Age18Plus]:{label:"18+ age confirmation",statement:"I confirm that I am 18 years of age or older.",organizationStatement:"Confirm that all users in this organization meet the 18+ age requirement."}};e.s(["ATTESTATION_DEFINITIONS",0,a,"partitionAttestationTypes",0,function(e){let{true:a,false:o}=(0,i.partition)([...e],e=>(0,r.isMember)(e,t));return{known:a,unknown:o}}],476809)},130206,e=>{"use strict";let t={models:{label:"Models Arena",description:"Head-to-head comparison of AI model outputs across modalities",categories:{codecategories:{label:"Code Categories",description:"Aggregated stats across all code generation categories"},"3d":{label:"3D",description:"3D content generation"},dataviz:{label:"Data Visualization",description:"Data visualization generation"},gamedev:{label:"Game Development",description:"Game development code generation"},uicomponent:{label:"UI Component",description:"UI component generation quality"},logo:{label:"Logo",description:"Logo design generation"},image:{label:"Image",description:"Image generation quality"},video:{label:"Video",description:"Video generation quality"},slides:{label:"Slides",description:"Slide/presentation generation"},videotovideo:{label:"Video to Video",description:"Video-to-video transformation quality"},graphicdesign:{label:"Graphic Design",description:"Graphic design generation quality"},imagetoimage:{label:"Image to Image",description:"Image-to-image transformation quality"},svg:{label:"SVG",description:"SVG generation quality"}}},builders:{label:"Builders Arena",description:"Comparison of AI-powered app builders and coding agents",categories:{mobile:{label:"Mobile",description:"AI builder mobile app generation"},"native-android":{label:"Native Android",description:"AI builder native Android app generation"}}},agents:{label:"Agents Arena",description:"Agentic coding workflows evaluated end-to-end",categories:{agon_webapps:{label:"Agon Web Apps",description:"Agon web application development"},mobileapps:{label:"Mobile Apps",description:"Agentic mobile application development"},nativeapps:{label:"Native Apps",description:"Agentic native application development"},fullstack:{label:"Full Stack",description:"Full stack development workflows"}}}},i=["codecategories","uicomponent","gamedev","dataviz","3d","image","video","svg"],r=t.models,a=r?i.map(e=>({type:`da-${e}`,label:`${r.categories[e]?.label??e} ELO`,daKey:`models-${e}`})):[];({...Object.fromEntries(Object.values(t).flatMap(e=>Object.entries(e.categories).map(([e,t])=>[t.label,e]))),"3D Design":"3d","Game Dev":"gamedev"}),e.s(["DA_RANKINGS_CATEGORY_TABS",0,a,"RANKINGS_CATEGORY_KEYS",0,i,"getArenaLabel",0,function(e){return t[e]?.label??e},"getCategoryLabel",0,function(e,i){return t[e]?.categories[i]?.label??i.replaceAll(/\b([a-z])/g,e=>e.toUpperCase())}])},839539,e=>{"use strict";var t,i,r,a=((t={}).Cards="cards",t.Table="table",t),o=((i={}).OneHour="1hr",i.OneDay="1d",i.OneWeek="1w",i.OneMonth="1mo",i.OneYear="1y",i),n=((r={}).OneMinute="forecast-1m",r.OneHour="forecast-1hr",r.OneDay="forecast-1d",r.OneWeek="forecast-1w",r.OneMonth="forecast-1mo",r);e.s(["ForecastWindow",()=>n,"GraphWindow",()=>o,"ModelDisplayFormat",()=>a,"getForecastLabel",0,function(e){switch(e){case"forecast-1m":return"Minute Pace";case"forecast-1hr":return"Hourly Pace";case"forecast-1d":return"Daily Pace";case"forecast-1w":return"Weekly Pace";case"forecast-1mo":return"Monthly Pace";default:return"Forecast"}}])},78590,e=>{"use strict";var t,i=((t={}).ProviderCount="80+",t.ModelCount="500+",t.GlobalUserCount="10M+",t.MonthlyTokens="400T+",t);e.s(["MarketingMetrics",()=>i])},421773,e=>{"use strict";let t={Temperature:"temperature",TopP:"top_p",TopK:"top_k",MinP:"min_p",TopA:"top_a",FrequencyPenalty:"frequency_penalty",PresencePenalty:"presence_penalty",RepetitionPenalty:"repetition_penalty",MaxTokens:"max_tokens",MaxCompletionTokens:"max_completion_tokens",LogitBias:"logit_bias",Logprobs:"logprobs",TopLogprobs:"top_logprobs",Prediction:"prediction",Seed:"seed",ResponseFormat:"response_format",StructuredOutputs:"structured_outputs",Stop:"stop",Tools:"tools",ToolChoice:"tool_choice",ParallelToolCalls:"parallel_tool_calls",IncludeReasoning:"include_reasoning",Reasoning:"reasoning",ReasoningEffort:"reasoning_effort",WebSearchOptions:"web_search_options",Verbosity:"verbosity"};t.MaxTokens,t.Temperature,t.TopP,t.Stop,t.FrequencyPenalty,t.PresencePenalty,t.Tools,t.ToolChoice;let i=new Set([t.StructuredOutputs,t.IncludeReasoning]);e.s(["INTERNAL_PARAMETERS",0,i,"Parameter",0,t])},617353,e=>{"use strict";var t,i,r=e.i(222666),a=e.i(505962);e.s([],823292),e.i(823292);var o=e.i(270401),n=e.i(123651),l=e.i(228876),s=e.i(364960),d=e.i(698031),c=e.i(397744);let u=o.createContext(void 0);function m(){let e=o.useContext(u);if(void 0===e)throw Error((0,c.default)(10));return e}var p=e.i(281334),h=e.i(939550),g=e.i(467219);let f={value:()=>null},v=o.forwardRef(function(e,t){let{render:i,className:a,disabled:c=!1,hiddenUntilFound:m,keepMounted:v,loopFocus:b=!0,onValueChange:y,multiple:x=!1,orientation:w="vertical",value:k,defaultValue:_,style:M,...S}=e,j=(0,d.useDirection)(),A=o.useMemo(()=>{if(void 0===k)return _??[]},[k,_]),L=(0,l.useStableCallback)(y),O=o.useRef([]),[C,I]=(0,n.useControlled)({controlled:k,default:A,name:"Accordion",state:"value"}),E=(0,l.useStableCallback)((e,t)=>{let i=(0,h.createChangeEventDetails)(g.REASONS.none);if(x)if(t){let t=C.slice();if(t.push(e),L(t,i),i.isCanceled)return;I(t)}else{let t=C.filter(t=>t!==e);if(L(t,i),i.isCanceled)return;I(t)}else{let t=C[0]===e?[]:[e];if(L(t,i),i.isCanceled)return;I(t)}}),T=o.useMemo(()=>({value:C,disabled:c,orientation:w}),[C,c,w]),N=o.useMemo(()=>({accordionItemRefs:O,direction:j,disabled:c,handleValueChange:E,hiddenUntilFound:m??!1,keepMounted:v??!1,loopFocus:b,orientation:w,state:T,value:C}),[j,c,E,m,v,b,w,T,C]),R=(0,p.useRenderElement)("div",e,{state:T,ref:t,props:[{dir:j,role:"region"},S],stateAttributesMapping:f});return(0,r.jsx)(u.Provider,{value:N,children:(0,r.jsx)(s.CompositeList,{elementsRef:O,children:R})})});var b=e.i(235901),y=e.i(593478),x=e.i(874203),w=e.i(888967),k=e.i(51005);let _=o.createContext(void 0);function M(){let e=o.useContext(_);if(void 0===e)throw Error((0,c.default)(9));return e}var S=e.i(956450),j=e.i(678968);let A=((t={}).index="data-index",t.disabled="data-disabled",t.open="data-open",t),L={...S.collapsibleOpenStateMapping,index:e=>Number.isInteger(e)?{[A.index]:String(e)}:null,...j.transitionStatusMapping,value:()=>null},O=o.forwardRef(function(e,t){let{className:i,disabled:a=!1,onOpenChange:n,render:s,value:d,style:c,...u}=e,{ref:h,index:g}=(0,k.useCompositeListItem)(),f=(0,b.useMergedRefs)(t,h),{disabled:v,handleValueChange:M,state:S,value:j}=m(),A=(0,y.useBaseUiId)(),O=d??A,C=a||v,I=o.useMemo(()=>{if(!j)return!1;for(let e=0;e{n?.(e,t),t.isCanceled||M(O,e)}),T=(0,x.useCollapsibleRoot)({open:I,onOpenChange:E,disabled:C}),N=o.useMemo(()=>({open:T.open,disabled:T.disabled,hidden:!T.mounted,transitionStatus:T.transitionStatus}),[T.open,T.disabled,T.mounted,T.transitionStatus]),R=o.useMemo(()=>({...T,onOpenChange:E,state:N}),[T,N,E]),z=o.useMemo(()=>({...S,index:g,disabled:C,open:I}),[C,g,I,S]),[P,D]=o.useState((0,y.useBaseUiId)()),H=o.useMemo(()=>({open:I,state:z,setTriggerId:D,triggerId:P}),[I,z,D,P]),F=(0,p.useRenderElement)("div",e,{state:z,ref:f,props:u,stateAttributesMapping:L});return(0,r.jsx)(w.CollapsibleRootContext.Provider,{value:R,children:(0,r.jsx)(_.Provider,{value:H,children:F})})}),C=o.forwardRef(function(e,t){let{render:i,className:r,style:a,...o}=e,{state:n}=M();return(0,p.useRenderElement)("h3",e,{state:n,ref:t,props:o,stateAttributesMapping:L})});var I=e.i(733171),E=e.i(361409),T=e.i(481902),N=e.i(899454),R=e.i(686738);let z=new Set([N.ARROW_DOWN,N.ARROW_UP,N.ARROW_RIGHT,N.ARROW_LEFT,N.HOME,N.END]),P=o.forwardRef(function(e,t){let{disabled:i,className:r,id:a,render:n,nativeButton:l=!0,style:s,...d}=e,{panelId:c,open:u,handleTrigger:h,disabled:g}=(0,w.useCollapsibleRootContext)(),{getButtonProps:f,buttonRef:v}=(0,T.useButton)({disabled:i??g,focusableWhenDisabled:!0,native:l,composite:!0}),{accordionItemRefs:b,direction:y,loopFocus:x,orientation:k}=m(),_="rtl"===y,j="horizontal"===k,{state:A,setTriggerId:L,triggerId:O}=M();(0,E.useIsoLayoutEffect)(()=>(a&&L(a),()=>{L(void 0)}),[a,L]);let C=o.useMemo(()=>({"aria-controls":u?c:void 0,"aria-expanded":u,id:O,tabIndex:0,onClick:h,onKeyDown(e){if(!z.has(e.key))return;(0,R.stopEvent)(e);let t=function(e){let{current:t}=e,i=[];for(let e=0;ei?0:a+1:Math.min(a+1,i)}function n(){r=x&&0===a?i:a-1}switch(e.key){case N.ARROW_DOWN:j||o();break;case N.ARROW_UP:j||n();break;case N.ARROW_RIGHT:j&&(_?n():o());break;case N.ARROW_LEFT:j&&(_?o():n());break;case"Home":r=0;break;case"End":r=i}r>-1&&t[r].focus()}}),[b,h,O,j,_,x,u,c]);return(0,p.useRenderElement)("button",e,{state:A,ref:[t,v],props:[C,d,f],stateAttributesMapping:S.triggerOpenStateMapping})});var D=e.i(118759);let H=((i={}).accordionPanelHeight="--accordion-panel-height",i.accordionPanelWidth="--accordion-panel-width",i);var F=e.i(688342);let B=o.forwardRef(function(e,t){let{className:i,hiddenUntilFound:r,keepMounted:a,id:n,render:l,style:s,...d}=e,{hiddenUntilFound:c,keepMounted:u}=m(),{abortControllerRef:h,animationTypeRef:g,height:f,mounted:v,onOpenChange:b,open:y,panelId:x,panelRef:k,runOnceAnimationsFinish:_,setDimensions:S,setHiddenUntilFound:j,setKeepMounted:A,setMounted:O,setOpen:C,setVisible:I,transitionDimensionRef:T,visible:N,width:R,setPanelIdState:z,transitionStatus:P}=(0,w.useCollapsibleRootContext)(),B=r??c,V=a??u;(0,E.useIsoLayoutEffect)(()=>{if(n)return z(n),()=>{z(void 0)}},[n,z]),(0,E.useIsoLayoutEffect)(()=>{j(B)},[j,B]),(0,E.useIsoLayoutEffect)(()=>{A(V)},[A,V]),(0,F.useOpenChangeComplete)({open:y&&"idle"===P,ref:k,onComplete(){y&&S({width:void 0,height:void 0})}});let{props:W}=(0,D.useCollapsiblePanel)({abortControllerRef:h,animationTypeRef:g,externalRef:t,height:f,hiddenUntilFound:B,id:n??x,keepMounted:V,mounted:v,onOpenChange:b,open:y,panelRef:k,runOnceAnimationsFinish:_,setDimensions:S,setMounted:O,setOpen:C,setVisible:I,transitionDimensionRef:T,visible:N,width:R}),{state:U,triggerId:Z}=M(),G=o.useMemo(()=>({...U,transitionStatus:P}),[U,P]),$=(0,p.useRenderElement)("div",e,{state:G,ref:[t,k],props:[W,{"aria-labelledby":Z,role:"region",style:{[H.accordionPanelHeight]:void 0===f?"auto":`${f}px`,[H.accordionPanelWidth]:void 0===R?"auto":`${R}px`}},d],stateAttributesMapping:L});return V||B||v?$:null});e.s(["Header",0,C,"Item",0,O,"Panel",0,B,"Root",0,v,"Trigger",0,P],512697);var V=e.i(512697),V=V,W=e.i(452473),U=e.i(639222);function Z(e){if(void 0!==e)return Array.isArray(e)?e:[e]}e.s(["Accordion",0,function(e){let t,i,n,l,s,d,c,u,m,p,h,g,f=(0,a.c)(29);f[0]!==e?({className:t,type:d,collapsible:i,defaultValue:n,value:c,onValueChange:l,...s}=e,f[0]=e,f[1]=t,f[2]=i,f[3]=n,f[4]=l,f[5]=s,f[6]=d,f[7]=c):(t=f[1],i=f[2],n=f[3],l=f[4],s=f[5],d=f[6],c=f[7]);let v="multiple"!==d&&!i,b=void 0!==c;f[8]!==n?(u=()=>Z(n)??[],f[8]=n,f[9]=u):u=f[9];let[y,x]=(0,o.useState)(u);f[10]!==b||f[11]!==v||f[12]!==l||f[13]!==d?(m=e=>{let t=e.map(String);v&&0===t.length||(b||x(t),l&&("multiple"===d?l(t):l(t.length>0?String(t[0]):"")))},f[10]=b,f[11]=v,f[12]=l,f[13]=d,f[14]=m):m=f[14];let w=m;f[15]!==n||f[16]!==w||f[17]!==y||f[18]!==b||f[19]!==v||f[20]!==c?(p=v&&!b?{value:y,onValueChange:w}:{defaultValue:b?void 0:Z(n),value:b?Z(c):void 0,onValueChange:w},f[15]=n,f[16]=w,f[17]=y,f[18]=b,f[19]=v,f[20]=c,f[21]=p):p=f[21];let k=p;f[22]!==t?(h=(0,W.cn)(t),f[22]=t,f[23]=h):h=f[23];let _="multiple"===d;return f[24]!==k||f[25]!==s||f[26]!==h||f[27]!==_?(g=(0,r.jsx)(V.Root,{className:h,multiple:_,...k,...s}),f[24]=k,f[25]=s,f[26]=h,f[27]=_,f[28]=g):g=f[28],g},"AccordionContent",0,function(e){let t,i,o,n,l,s,d,c=(0,a.c)(14);return c[0]!==e?({className:i,children:t,ref:n,...o}=e,c[0]=e,c[1]=t,c[2]=i,c[3]=o,c[4]=n):(t=c[1],i=c[2],o=c[3],n=c[4]),c[5]!==i?(l=(0,W.cn)("overflow-hidden text-xs","data-[closed]:animate-accordion-up data-[open]:animate-accordion-down",i),c[5]=i,c[6]=l):l=c[6],c[7]!==t?(s=(0,r.jsx)("div",{className:"pb-3 pt-0",children:t}),c[7]=t,c[8]=s):s=c[8],c[9]!==o||c[10]!==n||c[11]!==l||c[12]!==s?(d=(0,r.jsx)(V.Panel,{ref:n,className:l,...o,children:s}),c[9]=o,c[10]=n,c[11]=l,c[12]=s,c[13]=d):d=c[13],d},"AccordionItem",0,function(e){let t,i,o,n,l,s=(0,a.c)(10);return s[0]!==e?({className:t,ref:o,...i}=e,s[0]=e,s[1]=t,s[2]=i,s[3]=o):(t=s[1],i=s[2],o=s[3]),s[4]!==t?(n=(0,W.cn)("border-b border-border",t),s[4]=t,s[5]=n):n=s[5],s[6]!==i||s[7]!==o||s[8]!==n?(l=(0,r.jsx)(V.Item,{ref:o,className:n,...i}),s[6]=i,s[7]=o,s[8]=n,s[9]=l):l=s[9],l},"AccordionTrigger",0,function(e){let t,i,o,n,l,s,d,c=(0,a.c)(13);return c[0]!==e?({className:i,children:t,ref:n,...o}=e,c[0]=e,c[1]=t,c[2]=i,c[3]=o,c[4]=n):(t=c[1],i=c[2],o=c[3],n=c[4]),c[5]!==i?(l=(0,W.cn)("flex flex-1 cursor-pointer items-center justify-between gap-2 py-3 text-xs font-medium transition-all","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus","[&[data-panel-open]>svg.accordion-chevron]:rotate-90",i),c[5]=i,c[6]=l):l=c[6],c[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,r.jsx)(U.ChevronRightIcon,{className:"accordion-chevron size-4 shrink-0 text-muted-foreground transition-transform duration-200"}),c[7]=s):s=c[7],c[8]!==t||c[9]!==o||c[10]!==n||c[11]!==l?(d=(0,r.jsx)(V.Header,{className:"flex",children:(0,r.jsxs)(V.Trigger,{ref:n,className:l,...o,children:[t,s]})}),c[8]=t,c[9]=o,c[10]=n,c[11]=l,c[12]=d):d=c[12],d}],617353)},250238,e=>{"use strict";e.i(373641),e.s([])},656976,484994,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(541962),a=e.i(452473),o=e.i(270401);function n(e,t){if(t){e.id=t;return}e.removeAttribute("id")}e.s(["Slider",0,function(e){var l,s,d,c;let u,m,p,h,g,f,v,b,y,x,w,k,_,M,S,j,A,L,O,C,I,E,T,N,R=(0,i.c)(38);R[0]!==e?({"aria-label":u,"aria-labelledby":m,className:p,defaultValue:h,id:g,min:x,max:w,colorMode:k,onValueChange:f,ref:v,showValue:_,style:y,value:M,...b}=e,R[0]=e,R[1]=u,R[2]=m,R[3]=p,R[4]=h,R[5]=g,R[6]=f,R[7]=v,R[8]=b,R[9]=y,R[10]=x,R[11]=w,R[12]=k,R[13]=_,R[14]=M):(u=R[1],m=R[2],p=R[3],h=R[4],g=R[5],f=R[6],v=R[7],b=R[8],y=R[9],x=R[10],w=R[11],k=R[12],_=R[13],M=R[14]);let z=void 0===x?0:x,P=void 0===w?100:w,D=void 0===k?"default":k,H=void 0!==_&&_;R[15]!==h||R[16]!==z?(S=()=>h??z,R[15]=h,R[16]=z,R[17]=S):S=R[17];let[F,B]=(0,o.useState)(S),V=function({value:e,uncontrolledValue:t,min:i}){return e??t??i}({value:M,uncontrolledValue:F,min:z}),W=Array.isArray(l=V)?l:[Number(l)],U=(s=W,d=z,0===s.length?d:Math.max(...s)),Z=P-z,G=Z>0?Math.max(0,Math.min(1,(U-z)/Z)):0,$=(0,o.useRef)(null);R[18]!==f?(j=(e,t)=>{B(e),f?.(e,t)},R[18]=f,R[19]=j):j=R[19];let q=j;R[20]!==g||R[21]!==v?(A=e=>{$.current=e,e&&n(e,g),function(e,t){if(e){if("function"==typeof e)return e(t);e.current=t}}(v,e)},R[20]=g,R[21]=v,R[22]=A):A=R[22];let K=A;R[23]!==g?(L=()=>{$.current&&n($.current,g)},O=[g],R[23]=g,R[24]=L,R[25]=O):(L=R[24],O=R[25]),(0,o.useEffect)(L,O);e:{if("gradient"===D){let e;R[26]!==G?(e=function(e){if(e<=.5){let t=2*e,i=Math.round(0+229*t),r=Math.round(191+-31*t),a=Math.round(111+-111*t);return`rgb(${i}, ${r}, ${a})`}let t=(e-.5)*2,i=Math.round(229+26*t),r=Math.round(160+-115*t),a=Math.round(0+85*t);return`rgb(${i}, ${r}, ${a})`}(G),R[26]=G,R[27]=e):e=R[27],C=e;break e}C=void 0}let Y=C;R[28]!==p?(I=(0,a.cn)("flex items-center gap-3",p),R[28]=p,R[29]=I):I=R[29];let Q="default"===D&&"bg-primary";return R[30]!==Q?(E=(0,a.cn)("absolute rounded-full data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full",Q),R[30]=Q,R[31]=E):E=R[31],R[32]!==D||R[33]!==Y?(T="gradient"===D?{backgroundColor:Y}:void 0,R[32]=D,R[33]=Y,R[34]=T):T=R[34],R[35]!==E||R[36]!==T?(N=(0,t.jsx)(r.Slider.Track,{className:"relative grow overflow-hidden rounded-full bg-muted data-[orientation=horizontal]:h-2 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2",children:(0,t.jsx)(r.Slider.Indicator,{className:E,style:T})}),R[35]=E,R[36]=T,R[37]=N):N=R[37],(0,t.jsxs)("div",{className:I,style:y,children:[(0,t.jsx)(r.Slider.Root,{"aria-label":"string"==typeof u?u:void 0,"aria-labelledby":m,value:M,defaultValue:h,min:z,max:P,onValueChange:q,className:"relative flex w-full touch-none select-none items-center data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",...b,children:(0,t.jsxs)(r.Slider.Control,{className:"relative flex w-full cursor-pointer items-center data-[orientation=horizontal]:h-8 data-[orientation=vertical]:h-full data-[orientation=vertical]:w-8 data-[orientation=vertical]:justify-center",children:[N,W.map((e,i)=>(0,t.jsx)(r.Slider.Thumb,{"aria-label":function({ariaLabel:e,index:t,thumbCount:i}){return Array.isArray(e)?e[t]:"string"==typeof e?i<=1?e:0===t?`${e} minimum`:1===t?`${e} maximum`:`${e} thumb ${t+1}`:void 0}({ariaLabel:u,index:i,thumbCount:W.length}),"aria-labelledby":m,index:i,inputRef:0===i?K:void 0,className:(0,a.cn)("block size-4 cursor-pointer rounded-full border-2 border-background bg-primary shadow-lg transition-colors focus-visible:outline-hidden focus-visible:border-focus-border focus-visible:shadow-focus disabled:pointer-events-none disabled:opacity-50","gradient"===D&&"bg-current"),style:"gradient"===D?{color:Y}:void 0},i))]})}),H&&(0,t.jsx)("span",{className:"min-w-[2rem] text-center text-xs font-normal tabular-nums",style:"gradient"===D?{color:Y}:void 0,children:Array.isArray(c=V)?c.join(", "):c.toString()})]})}],484994),e.s([],656976)},414539,e=>{"use strict";var t,i,r,a=e.i(222666),o=e.i(505962);e.s([],686153),e.i(686153);var n=e.i(270401),l=e.i(123651),s=e.i(361409),d=e.i(228876),c=e.i(281334),u=e.i(364960),m=e.i(397744);let p=n.createContext(void 0);function h(){let e=n.useContext(p);if(void 0===e)throw Error((0,m.default)(64));return e}let g=((t={}).activationDirection="data-activation-direction",t.orientation="data-orientation",t),f={tabActivationDirection:e=>({[g.activationDirection]:e})},v=n.forwardRef(function(e,t){let{className:i,defaultValue:r=0,onValueChange:o,orientation:m="horizontal",render:h,value:g,style:v,...y}=e,x=Object.hasOwn(e,"defaultValue"),w=n.useRef([]),[k,_]=n.useState(()=>new Map),[M,S]=(0,l.useControlled)({controlled:g,default:r,name:"Tabs",state:"value"}),j=void 0!==g,[A,L]=n.useState(()=>new Map),O=n.useCallback(e=>{if(void 0===e)return null;for(let[t,i]of A.entries())if(null!=i&&e===(i.value??i.index))return t;return null},[A]),[C,I]=n.useState(()=>({previousValue:M,tabActivationDirection:"none"})),{previousValue:E,tabActivationDirection:T}=C,N=T,R=!1;E!==M&&(N=b(E,M,m,A),R=null!=E&&null!=M&&null==O(M));let z=R?E:M,P=E!==z||T!==N;(0,s.useIsoLayoutEffect)(()=>{P&&I({previousValue:z,tabActivationDirection:N})},[z,P,N]);let D=(0,d.useStableCallback)((e,t)=>{t.activationDirection=b(M,e,m,A),o?.(e,t),t.isCanceled||S(e)}),H=(0,d.useStableCallback)((e,t)=>{_(i=>{if(i.get(e)===t)return i;let r=new Map(i);return r.set(e,t),r})}),F=(0,d.useStableCallback)((e,t)=>{_(i=>{if(!i.has(e)||i.get(e)!==t)return i;let r=new Map(i);return r.delete(e),r})}),B=n.useCallback(e=>k.get(e),[k]),V=n.useCallback(e=>{for(let t of A.values())if(e===t?.value)return t?.id},[A]),W=n.useMemo(()=>({getTabElementBySelectedValue:O,getTabIdByPanelValue:V,getTabPanelIdByValue:B,onValueChange:D,orientation:m,registerMountedTabPanel:H,setTabMap:L,unregisterMountedTabPanel:F,tabActivationDirection:N,value:M}),[O,V,B,D,m,H,L,F,N,M]),U=n.useMemo(()=>{for(let e of A.values())if(null!=e&&e.value===M)return e},[A,M]),Z=n.useMemo(()=>{for(let e of A.values())if(null!=e&&!e.disabled)return e.value},[A]);(0,s.useIsoLayoutEffect)(()=>{if(j||0===A.size)return;let e=U?.disabled,t=null==U&&null!==M;if(x&&e&&M===r||!e&&!t)return;let i=Z??null;M!==i&&(S(i),I(e=>"none"===e.tabActivationDirection?e:{...e,tabActivationDirection:"none"}))},[r,Z,x,j,U,S,A,M]);let G={orientation:m,tabActivationDirection:N},$=(0,c.useRenderElement)("div",e,{state:G,ref:t,props:y,stateAttributesMapping:f});return(0,a.jsx)(p.Provider,{value:W,children:(0,a.jsx)(u.CompositeList,{elementsRef:w,children:$})})});function b(e,t,i,r){if(null==e||null==t)return"none";let a=null,o=null;for(let[i,n]of r.entries()){if(null==n)continue;let r=n.value??n.index;if(e===r&&(a=i),t===r&&(o=i),null!=a&&null!=o)break}if(null==a||null==o)return a!==o&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?"horizontal"===i?t>e?"right":"left":t>e?"down":"up":"none";let n=a.getBoundingClientRect(),l=o.getBoundingClientRect();if("horizontal"===i){if(l.leftn.left)return"right"}else{if(l.topn.top)return"down"}return"none"}var y=e.i(192291),x=e.i(593478),w=e.i(481902),k=e.i(914111),_=e.i(757808);let M=n.createContext(void 0);function S(){let e=n.useContext(M);if(void 0===e)throw Error((0,m.default)(65));return e}var j=e.i(939550),A=e.i(467219),L=e.i(271710);let O=n.forwardRef(function(e,t){let{className:i,disabled:r=!1,render:a,value:o,id:l,nativeButton:d=!0,style:u,...m}=e,{value:p,getTabPanelIdByValue:g,orientation:f}=h(),{activateOnFocus:v,highlightedTabIndex:b,onTabActivation:M,registerTabResizeObserverElement:O,setHighlightedTabIndex:C,tabsListElement:I}=S(),E=(0,x.useBaseUiId)(l),T=n.useMemo(()=>({disabled:r,id:E,value:o}),[r,E,o]),{compositeProps:N,compositeRef:R,index:z}=(0,_.useCompositeItem)({metadata:T}),P=o===p,D=n.useRef(!1),H=n.useRef(null);n.useEffect(()=>{let e=H.current;if(e)return O(e)},[O]),(0,s.useIsoLayoutEffect)(()=>{if(D.current){D.current=!1;return}if(P&&z>-1&&b!==z){if(null!=I){let e=(0,L.activeElement)((0,y.ownerDocument)(I));if(e&&(0,L.contains)(I,e))return}r||C(z)}},[P,z,b,C,r,I]);let{getButtonProps:F,buttonRef:B}=(0,w.useButton)({disabled:r,native:d,focusableWhenDisabled:!0}),V=g(o),W=n.useRef(!1),U=n.useRef(!1);return(0,c.useRenderElement)("button",e,{state:{disabled:r,active:P,orientation:f},ref:[t,B,R,H],props:[N,{role:"tab","aria-controls":V,"aria-selected":P,id:E,onClick:function(e){P||r||M(o,(0,j.createChangeEventDetails)(A.REASONS.none,e.nativeEvent,void 0,{activationDirection:"none"}))},onFocus:function(e){P||(z>-1&&!r&&C(z),!r&&v&&(!W.current||W.current&&U.current)&&M(o,(0,j.createChangeEventDetails)(A.REASONS.none,e.nativeEvent,void 0,{activationDirection:"none"})))},onPointerDown:function(e){P||r||(W.current=!0,e.button&&0!==e.button||(U.current=!0,(0,y.ownerDocument)(e.currentTarget).addEventListener("pointerup",function(){W.current=!1,U.current=!1},{once:!0})))},[k.ACTIVE_COMPOSITE_ITEM]:P?"":void 0,onKeyDownCapture(){D.current=!0}},m,F]})});var C=e.i(677746),I=e.i(880407);let E=((i={}).activeTabLeft="--active-tab-left",i.activeTabRight="--active-tab-right",i.activeTabTop="--active-tab-top",i.activeTabBottom="--active-tab-bottom",i.activeTabWidth="--active-tab-width",i.activeTabHeight="--active-tab-height",i);var T=e.i(914844);let N={...f,activeTabPosition:()=>null,activeTabSize:()=>null},R=n.forwardRef(function(e,t){let{className:i,render:r,renderBeforeHydration:o=!1,style:l,...s}=e,{nonce:d}=(0,T.useCSPContext)(),{getTabElementBySelectedValue:u,orientation:m,tabActivationDirection:p,value:g}=h(),{tabsListElement:f,registerIndicatorUpdateListener:v}=S(),b=(0,I.useIsHydrating)(),y=function(){let[,e]=n.useState({});return n.useCallback(()=>{e({})},[])}();n.useEffect(()=>v(y),[v,y]);let x=0,w=0,k=0,_=0,M=0,j=0,A=!1;if(null!=g&&null!=f){let e=u(g);if(A=!0,null!=e){let{width:t,height:i}=(0,C.getCssDimensions)(e),{width:r,height:a}=(0,C.getCssDimensions)(f),o=e.getBoundingClientRect(),n=f.getBoundingClientRect(),l=r>0?n.width/r:1,s=a>0?n.height/a:1;if(Math.abs(l)>Number.EPSILON&&Math.abs(s)>Number.EPSILON){let e=o.left-n.left,t=o.top-n.top;x=e/l+f.scrollLeft-f.clientLeft,k=t/s+f.scrollTop-f.clientTop}else x=e.offsetLeft,k=e.offsetTop;M=t,j=i,w=f.scrollWidth-x-M,_=f.scrollHeight-k-j}}let L=n.useMemo(()=>A?{left:x,right:w,top:k,bottom:_}:null,[x,w,k,_,A]),O=n.useMemo(()=>A?{width:M,height:j}:null,[M,j,A]),R=n.useMemo(()=>{if(A)return{[E.activeTabLeft]:`${x}px`,[E.activeTabRight]:`${w}px`,[E.activeTabTop]:`${k}px`,[E.activeTabBottom]:`${_}px`,[E.activeTabWidth]:`${M}px`,[E.activeTabHeight]:`${j}px`}},[x,w,k,_,M,j,A]),z=A&&M>0&&j>0,P=(0,c.useRenderElement)("span",e,{state:{orientation:m,activeTabPosition:L,activeTabSize:O,tabActivationDirection:p},ref:t,props:[{role:"presentation",style:R,hidden:!z},s,{suppressHydrationWarning:!0}],stateAttributesMapping:N});return null==g?null:(0,a.jsxs)(n.Fragment,{children:[P,b&&o&&(0,a.jsx)("script",{nonce:d,dangerouslySetInnerHTML:{__html:'!function(){const t=document.currentScript.previousElementSibling;if(!t)return;const e=t.closest(\'[role="tablist"]\');if(!e)return;const i=e.querySelector("[data-active]");if(!i)return;if(0===i.offsetWidth||0===e.offsetWidth)return;let o=0,n=0,h=0,l=0,r=0,f=0;function s(t){const e=getComputedStyle(t);let i=parseFloat(e.width)||0,o=parseFloat(e.height)||0;return(Math.round(i)!==t.offsetWidth||Math.round(o)!==t.offsetHeight)&&(i=t.offsetWidth,o=t.offsetHeight),{width:i,height:o}}if(null!=i&&null!=e){const{width:t,height:c}=s(i),{width:u,height:d}=s(e),a=i.getBoundingClientRect(),g=e.getBoundingClientRect(),p=u>0?g.width/u:1,b=d>0?g.height/d:1;if(Math.abs(p)>Number.EPSILON&&Math.abs(b)>Number.EPSILON){const t=a.left-g.left,i=a.top-g.top;o=t/p+e.scrollLeft-e.clientLeft,h=i/b+e.scrollTop-e.clientTop}else o=i.offsetLeft,h=i.offsetTop;r=t,f=c,n=e.scrollWidth-o-r,l=e.scrollHeight-h-f}function c(e,i){t.style.setProperty(`--active-tab-${e}`,`${i}px`)}c("left",o),c("right",n),c("top",h),c("bottom",l),c("width",r),c("height",f),r>0&&f>0&&t.removeAttribute("hidden")}();'},suppressHydrationWarning:!0})]})});var z=e.i(528510),P=e.i(678968),D=e.i(688342),H=e.i(207290),F=e.i(51005);let B=((r={}).index="data-index",r.activationDirection="data-activation-direction",r.orientation="data-orientation",r.hidden="data-hidden",r[r.startingStyle=P.TransitionStatusDataAttributes.startingStyle]="startingStyle",r[r.endingStyle=P.TransitionStatusDataAttributes.endingStyle]="endingStyle",r),V={...f,...P.transitionStatusMapping},W=n.forwardRef(function(e,t){let{className:i,value:r,render:a,keepMounted:o=!1,style:l,...d}=e,{value:u,getTabIdByPanelValue:m,orientation:p,tabActivationDirection:g,registerMountedTabPanel:f,unregisterMountedTabPanel:v}=h(),b=(0,x.useBaseUiId)(),y=n.useMemo(()=>({id:b,value:r}),[b,r]),{ref:w,index:k}=(0,F.useCompositeListItem)({metadata:y}),_=r===u,{mounted:M,transitionStatus:S,setMounted:j}=(0,H.useTransitionStatus)(_),A=!M,L=m(r),O=n.useRef(null),C=(0,c.useRenderElement)("div",e,{state:{hidden:A,orientation:p,tabActivationDirection:g,transitionStatus:S},ref:[t,w,O],props:[{"aria-labelledby":L,hidden:A,id:b,role:"tabpanel",tabIndex:_?0:-1,inert:(0,z.inertValue)(!_),[B.index]:k},d],stateAttributesMapping:V});return((0,D.useOpenChangeComplete)({open:_,ref:O,onComplete(){_||j(!1)}}),(0,s.useIsoLayoutEffect)(()=>{if((!A||o)&&null!=b)return f(r,b),()=>{v(r,b)}},[A,o,r,b,f,v]),o||M)?C:null});var U=e.i(618568),Z=e.i(613696);let G=n.forwardRef(function(e,t){let{activateOnFocus:i=!1,className:r,loopFocus:o=!0,render:l,style:s,...c}=e,{onValueChange:u,orientation:m,value:p,setTabMap:g,tabActivationDirection:v}=h(),[b,y]=n.useState(0),[x,w]=n.useState(null),k=n.useRef(new Set),_=n.useRef(new Set),S=n.useRef(null),j=(0,d.useStableCallback)(()=>{k.current.forEach(e=>{e()})});n.useEffect(()=>{if("u"{k.current.size&&j()});return S.current=e,x&&e.observe(x),_.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),S.current=null}},[x,j]);let A=(0,d.useStableCallback)(e=>(k.current.add(e),()=>{k.current.delete(e)})),L=(0,d.useStableCallback)(e=>(_.current.add(e),S.current?.observe(e),()=>{_.current.delete(e),S.current?.unobserve(e)})),O=(0,d.useStableCallback)((e,t)=>{e!==p&&u(e,t)}),C=n.useMemo(()=>({activateOnFocus:i,highlightedTabIndex:b,registerIndicatorUpdateListener:A,registerTabResizeObserverElement:L,onTabActivation:O,setHighlightedTabIndex:y,tabsListElement:x}),[i,b,A,L,O,y,x]);return(0,a.jsx)(M.Provider,{value:C,children:(0,a.jsx)(Z.CompositeRoot,{render:l,className:r,style:s,state:{orientation:m,tabActivationDirection:v},refs:[t,w],props:[{"aria-orientation":"vertical"===m?"vertical":void 0,role:"tablist"},c],stateAttributesMapping:f,highlightedIndex:b,enableHomeAndEndKeys:!0,loopFocus:o,orientation:m,onHighlightedIndexChange:y,onMapChange:g,disabledIndices:U.EMPTY_ARRAY})})});e.s(["Indicator",0,R,"List",0,G,"Panel",0,W,"Root",0,v,"Tab",0,O],99162);var $=e.i(99162),$=$,q=e.i(452473);let K=(0,n.createContext)("primary"),Y={primary:"h-10 rounded-md border border-border bg-muted p-0.5",secondary:"border-b border-border bg-background"},Q={primary:(0,q.cn)("w-full rounded-sm px-3 py-1.5","hover:text-accent-foreground","data-[active]:bg-background data-[active]:text-accent-foreground data-[active]:shadow-sm"),secondary:(0,q.cn)("relative w-fit px-3 py-1.5","text-muted-foreground hover:text-foreground","after:pointer-events-none after:absolute after:inset-x-0 after:bottom-0 after:h-[2px]","after:bg-transparent after:transition-colors after:duration-200","data-[active]:text-primary","data-[active]:after:bg-primary")};e.s(["Tabs",0,function(e){let t,i,r,n,l,s=(0,o.c)(10);s[0]!==e?({variant:r,children:t,...i}=e,s[0]=e,s[1]=t,s[2]=i,s[3]=r):(t=s[1],i=s[2],r=s[3]);let d=void 0===r?"primary":r;return s[4]!==t||s[5]!==i?(n=(0,a.jsx)($.Root,{...i,children:t}),s[4]=t,s[5]=i,s[6]=n):n=s[6],s[7]!==n||s[8]!==d?(l=(0,a.jsx)(K,{value:d,children:n}),s[7]=n,s[8]=d,s[9]=l):l=s[9],l},"TabsContent",0,function(e){let t,i,r,n,l,s=(0,o.c)(10);return s[0]!==e?({className:t,ref:r,...i}=e,s[0]=e,s[1]=t,s[2]=i,s[3]=r):(t=s[1],i=s[2],r=s[3]),s[4]!==t?(n=(0,q.cn)("mt-2 ring-offset-background","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus",t),s[4]=t,s[5]=n):n=s[5],s[6]!==i||s[7]!==r||s[8]!==n?(l=(0,a.jsx)($.Panel,{ref:r,className:n,...i}),s[6]=i,s[7]=r,s[8]=n,s[9]=l):l=s[9],l},"TabsList",0,function(e){let t,i,r,l,s,d=(0,o.c)(11);d[0]!==e?({className:t,ref:r,...i}=e,d[0]=e,d[1]=t,d[2]=i,d[3]=r):(t=d[1],i=d[2],r=d[3]);let c=Y[(0,n.use)(K)];return d[4]!==t||d[5]!==c?(l=(0,q.cn)("inline-flex items-center justify-center text-muted-foreground",c,t),d[4]=t,d[5]=c,d[6]=l):l=d[6],d[7]!==i||d[8]!==r||d[9]!==l?(s=(0,a.jsx)($.List,{ref:r,className:l,...i}),d[7]=i,d[8]=r,d[9]=l,d[10]=s):s=d[10],s},"TabsTrigger",0,function(e){let t,i,r,l,s,d=(0,o.c)(11);d[0]!==e?({className:t,ref:r,...i}=e,d[0]=e,d[1]=t,d[2]=i,d[3]=r):(t=d[1],i=d[2],r=d[3]);let c=Q[(0,n.use)(K)];return d[4]!==t||d[5]!==c?(l=(0,q.cn)("inline-flex items-center justify-center whitespace-nowrap","text-xs font-medium cursor-pointer","ring-offset-background transition-all","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus","disabled:pointer-events-none disabled:opacity-50",c,t),d[4]=t,d[5]=c,d[6]=l):l=d[6],d[7]!==i||d[8]!==r||d[9]!==l?(s=(0,a.jsx)($.Tab,{ref:r,className:l,...i}),d[7]=i,d[8]=r,d[9]=l,d[10]=s):s=d[10],s}],414539)},253370,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(452473),a=e.i(270401),o=e.i(806024);e.s(["UnderlineTabs",0,function(e){let n,l,s,d,c,u,m,p,h=(0,i.c)(16),{tabs:g,activeTab:f,onTabChange:v,className:b,ariaLabel:y}=e,x=(m=(0,i.c)(2),p=(0,a.useRef)(null),m[0]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{let e=p.current;if(!e)return;let t=function(){if(!e)return;let t=e.scrollLeft>2,i=e.scrollLeft+e.clientWidth{e.removeEventListener("scroll",t),i.disconnect()}},u=[],m[0]=c,m[1]=u):(c=m[0],u=m[1]),(0,a.useEffect)(c,u),p);if(h[0]!==b?(n=(0,r.cn)("border-b border-border",b),h[0]=b,h[1]=n):n=h[1],h[2]!==f||h[3]!==v||h[4]!==g){let e;h[6]!==f||h[7]!==v?(e=e=>{let i=f===e.id,a={role:"tab",id:e.buttonId,"aria-selected":i,"aria-controls":e.ariaControls,onClick:()=>v?.(e.id),className:(0,r.cn)("shrink-0 border-b-2 px-4 py-2 text-xs font-medium transition-colors cursor-pointer",i?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-accent-foreground",e.className)};return void 0!==e.href?(0,t.jsx)(o.Link,{href:e.href,replace:e.replace,prefetch:"viewport",...a,children:e.label},e.id):(0,t.jsx)("button",{type:"button",...a,children:e.label},e.id)},h[6]=f,h[7]=v,h[8]=e):e=h[8],l=g.map(e),h[2]=f,h[3]=v,h[4]=g,h[5]=l}else l=h[5];return h[9]!==y||h[10]!==x||h[11]!==l?(s=(0,t.jsx)("div",{ref:x,role:"tablist","aria-label":y,className:"flex overflow-x-auto scrollbar-hide -mb-px",children:l}),h[9]=y,h[10]=x,h[11]=l,h[12]=s):s=h[12],h[13]!==n||h[14]!==s?(d=(0,t.jsx)("div",{className:n,children:s}),h[13]=n,h[14]=s,h[15]=d):d=h[15],d}])},122857,e=>{"use strict";var t=e.i(963);let i=[t.OutputModality.Image,t.OutputModality.Video];e.s(["MODEL_DETAIL_GENERATION_MODALITIES",0,i])},542969,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(394333),a=e.i(493630);e.s(["ModelsPageListItemSkeleton",0,function(){let e,o,n,l,s,d=(0,i.c)(5);return d[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)(a.ModelsPageListItemShell.TitleCluster,{children:[(0,t.jsx)(r.Skeleton,{className:"hidden size-6 shrink-0 rounded-full md:block"}),(0,t.jsx)(r.Skeleton,{className:"h-6 w-40 md:h-7 md:w-56"}),(0,t.jsx)(r.Skeleton,{className:"hidden size-5 shrink-0 rounded-md md:block"}),(0,t.jsx)(r.Skeleton,{className:"hidden size-5 shrink-0 rounded-md md:block"}),(0,t.jsx)(r.Skeleton,{className:"ml-1 hidden size-5 shrink-0 rounded md:block"})]}),d[0]=e):e=d[0],d[1]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsxs)(a.ModelsPageListItemShell.HeaderRow,{children:[e,(0,t.jsx)(a.ModelsPageListItemShell.WeeklyTokens,{children:(0,t.jsx)(r.Skeleton,{className:"h-4 w-24 rounded-full"})})]}),d[1]=o):o=d[1],d[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(a.ModelsPageListItemShell.Categories,{children:(0,t.jsx)(r.Skeleton,{className:"h-6 w-36 rounded-full"})}),d[2]=n):n=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)(a.ModelsPageListItemShell.Description,{children:[(0,t.jsx)(r.Skeleton,{className:"h-4 w-full"}),(0,t.jsx)(r.Skeleton,{className:"h-4 w-4/5"})]}),d[3]=l):l=d[3],d[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsxs)(a.ModelsPageListItemShell.ListRoot,{"data-testid":"model-list-item-skeleton",isLinked:!1,children:[o,n,l,(0,t.jsxs)(a.ModelsPageListItemShell.Footer,{children:[(0,t.jsx)(r.Skeleton,{className:"h-4 w-14"}),(0,t.jsx)(a.ModelsPageListItemShell.FooterDivider,{className:"hidden md:inline"}),(0,t.jsx)(r.Skeleton,{className:"hidden h-4 w-24 md:block"}),(0,t.jsx)(a.ModelsPageListItemShell.FooterDivider,{}),(0,t.jsx)(r.Skeleton,{className:"h-4 w-20"}),(0,t.jsx)(a.ModelsPageListItemShell.FooterDivider,{}),(0,t.jsx)(r.Skeleton,{className:"h-4 w-28"}),(0,t.jsx)(a.ModelsPageListItemShell.FooterDivider,{}),(0,t.jsx)(r.Skeleton,{className:"h-4 w-28"})]})]}),d[4]=s):s=d[4],s}])},361570,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(558200),a=e.i(452473),o=e.i(528164),n=e.i(426185),l=e.i(691038),s=e.i(210412),d=e.i(200321);let c=(0,t.jsx)(s.ResetFiltersFloatingButton,{}),u=e=>{let r,o,n=(0,i.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,a.cn)("sticky top-[calc(56px+var(--sticky-banner-top,0px))] z-10 h-[calc(100dvh-3.5rem-var(--sticky-banner-top,0px))] md:h-[calc(100dvh-3.5rem-var(--sticky-banner-top,0px))]","w-66","hidden md:flex flex-col","shrink-0 gap-0 overflow-hidden","border-r border-border bg-card","pl-6 pt-3 text-sm"),n[0]=r):r=n[0],n[1]!==e.children?(o=(0,t.jsx)("nav",{className:r,children:(0,t.jsx)("div",{className:"flex-1 overflow-y-auto overflow-x-hidden overscroll-contain",children:e.children})}),n[1]=e.children,n[2]=o):o=n[2],o},m=e=>{let l,s,c,u,m,p,h,g,f=(0,i.c)(16),v=e.clearsMobileActionBar?"-translate-x-6 -translate-y-24 sm:-translate-y-6":"-translate-x-6 -translate-y-6";f[0]!==v?(l=(0,a.cn)("fixed bottom-0 right-0 z-overlay",v),f[0]=v,f[1]=l):l=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(n.SheetTrigger,{render:(0,t.jsxs)(o.Button,{size:"md",variant:"outline",className:"rounded-full bg-background text-muted-foreground md:hidden",children:[(0,t.jsx)(d.ListFilterIcon,{className:"h-4 w-4"})," Filter"]})}),f[2]=s):s=f[2],f[3]!==e.sheetTitle?(c=(0,t.jsx)(n.SheetTitle,{className:"sr-only",children:e.sheetTitle}),f[3]=e.sheetTitle,f[4]=c):c=f[4];let b=e.children;return f[5]===Symbol.for("react.memo_cache_sentinel")?(u=(0,a.cn)("fixed bottom-12 right-0 z-fixed cursor-pointer duration-0","-translate-x-6 -translate-y-6","sm:hidden"),f[5]=u):u=f[5],f[6]!==e.resetButton?(m=(0,t.jsx)("div",{className:u,children:e.resetButton}),f[6]=e.resetButton,f[7]=m):m=f[7],f[8]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(n.SheetClose,{render:(0,t.jsxs)(o.Button,{size:"md",variant:"outline",className:(0,a.cn)("rounded-full bg-background text-muted-foreground","fixed bottom-0 right-0 z-fixed cursor-pointer duration-0","-translate-x-6 -translate-y-6","sm:hidden"),children:[(0,t.jsx)(r.XMarkIcon,{className:"h-4 w-4"}),"Close"]})}),f[8]=p):p=f[8],f[9]!==e.children||f[10]!==c||f[11]!==m?(h=(0,t.jsxs)(n.Sheet,{children:[s,(0,t.jsxs)(n.SheetContent,{side:"left",className:"w-full sm:w-[540px]",showCloseButton:!1,children:[c,b,m,p]})]}),f[9]=e.children,f[10]=c,f[11]=m,f[12]=h):h=f[12],f[13]!==l||f[14]!==h?(g=(0,t.jsx)("div",{className:l,children:h}),f[13]=l,f[14]=h,f[15]=g):g=f[15],g};e.s(["ModelsPageNav",0,e=>{let r,a,o,n=(0,i.c)(11),{children:s,sheetTitle:d,resetButton:p,clearsMobileActionBar:h}=e,g=void 0===d?"Model Filters":d,f=void 0===p?c:p,v=void 0!==h&&h,b=(0,l.useMatchMediaTriState)("(min-width: 768px)");n[0]!==s||n[1]!==v||n[2]!==f||n[3]!==g?(r=(0,t.jsx)(m,{sheetTitle:g,resetButton:f,clearsMobileActionBar:v,children:s}),n[0]=s,n[1]=v,n[2]=f,n[3]=g,n[4]=r):r=n[4];let y=r;n[5]!==s||n[6]!==b?(a=!1!==b&&(0,t.jsx)(u,{children:s}),n[5]=s,n[6]=b,n[7]=a):a=n[7];let x=!0!==b&&y;return n[8]!==a||n[9]!==x?(o=(0,t.jsxs)(t.Fragment,{children:[a,x]}),n[8]=a,n[9]=x,n[10]=o):o=n[10],o}])},637528,e=>{"use strict";var t=e.i(505962),i=e.i(850658),r=e.i(992148),a=e.i(79247),o=e.i(557986);e.s(["useModelsPageData",0,function(e){let n,l,s,d,c=(0,t.c)(21),{isLoaded:u,orgId:m,userId:p}=(0,i.useAuth)(),h="true"===e.private,g=h&&!u,f=h?m??p??null:null;c[0]!==f||c[1]!==e?(n=(0,o.findModelsOptions)(e,f),c[0]=f,c[1]=e,c[2]=n):n=c[2];let v=!g;c[3]!==n||c[4]!==v?(l={...n,enabled:v},c[3]=n,c[4]=v,c[5]=l):l=c[5];let{data:b,isLoading:y,isPlaceholderData:x,error:w}=(0,a.useQuery)(l),k=b?.models,_=b?.analytics,M=b?.categories,S=b?.modality_counts,j=b?.benchmarks,A=b?.endpoint_perf,L=b?.benchmark_ranges,O=b?.models.length??0,C=g||y;return c[6]!==w?(s=(0,r.extractErrorT)(w),c[6]=w,c[7]=s):s=c[7],c[8]!==x||c[9]!==h||c[10]!==O||c[11]!==C||c[12]!==s||c[13]!==k||c[14]!==_||c[15]!==M||c[16]!==S||c[17]!==j||c[18]!==A||c[19]!==L?(d={models:k,analytics:_,categories:M,modalityCounts:S,benchmarks:j,endpointPerf:A,benchmarkRanges:L,modelCount:O,isLoading:C,isPlaceholderData:x,error:s,showPrivate:h},c[8]=x,c[9]=h,c[10]=O,c[11]=C,c[12]=s,c[13]=k,c[14]=_,c[15]=M,c[16]=S,c[17]=j,c[18]=A,c[19]=L,c[20]=d):d=c[20],d}])},210412,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(452473),a=e.i(528164),o=e.i(270401),n=e.i(892662),l=e.i(2763),s=e.i(200321);let d=()=>{let e,t,r,a=(0,i.c)(8),{searchParams:o,setSearchParams:s}=(0,l.useModelSearchParams)();a[0]!==o||a[1]!==s?(e=()=>{var e;s((e=o,{...n.emptyModelSearchParams,private:"true"===e.private?"true":null}))},a[0]=o,a[1]=s,a[2]=e):e=a[2];let d=e;a[3]!==o?(t=Object.entries(o).some(([e,t])=>{var i,r;return"order"!==(i=e)&&"q"!==i&&"fmt"!==i&&"active"!==i&&"private"!==i&&(Array.isArray(r=t)?r.length>0:void 0!==r)}),a[3]=o,a[4]=t):t=a[4];let c=t;return a[5]!==c||a[6]!==d?(r={resetFilters:d,hasFilters:c},a[5]=c,a[6]=d,a[7]=r):r=a[7],r};function c(){let e,o,n=(0,i.c)(3),{resetFilters:l,hasFilters:s}=d();return s?(n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.cn)("text-xs"),n[0]=e):e=n[0],n[1]!==l?(o=(0,t.jsx)(a.Button,{variant:"ghost",size:"sm",onClick:l,className:e,children:"Reset Filters"}),n[1]=l,n[2]=o):o=n[2],o):null}function u(){let e,o,n,l=(0,i.c)(6),{resetFilters:c,hasFilters:u}=d(),m=u&&"opacity-100";return l[0]!==m?(e=(0,r.cn)("opacity-0","rounded-full bg-background text-muted-foreground",m),l[0]=m,l[1]=e):e=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(s.FilterXIcon,{className:"h-4 w-4"}),l[2]=o):o=l[2],l[3]!==c||l[4]!==e?(n=(0,t.jsxs)(a.Button,{variant:"outline",size:"md",onClick:c,className:e,children:[o,"Reset Filters"]}),l[3]=c,l[4]=e,l[5]=n):n=l[5],n}e.s(["ResetFiltersButton",0,function(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(o.Suspense,{fallback:null,children:(0,t.jsx)(c,{})}),r[0]=e):e=r[0],e},"ResetFiltersFloatingButton",0,function(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(o.Suspense,{fallback:null,children:(0,t.jsx)(u,{})}),r[0]=e):e=r[0],e}])},442796,222360,e=>{"use strict";var t=e.i(706527);e.s(["filterPinnedModels",0,function(e,i){let r=new Set(i);return e.filter(e=>r.has((0,t.getModelVariantSlug)(e)))}],442796);var i=e.i(222666),r=e.i(505962),a=e.i(528164),o=e.i(50666),n=e.i(61811),l=e.i(210412);function s(e){return e.setIsPinnedOnly}e.s(["PinnedModelsEmptyState",0,function(e){let t,d,c,u,m,p=(0,r.c)(10),{hasPins:h}=e,g=(0,n.useModelsPinnedFilterStore)(s),f=h?"No pinned models match your filters.":"No pinned models yet.";return p[0]!==f?(t=(0,i.jsx)(o.EmptyTitle,{children:f}),p[0]=f,p[1]=t):t=p[1],p[2]!==g?(d=(0,i.jsx)(a.Button,{variant:"outline",size:"sm",onClick:()=>g(!1),children:"Show all models"}),p[2]=g,p[3]=d):d=p[3],p[4]===Symbol.for("react.memo_cache_sentinel")?(c=(0,i.jsx)(l.ResetFiltersButton,{}),p[4]=c):c=p[4],p[5]!==d?(u=(0,i.jsxs)(o.EmptyDescription,{className:"flex items-center justify-center gap-2",children:[d,c]}),p[5]=d,p[6]=u):u=p[6],p[7]!==t||p[8]!==u?(m=(0,i.jsx)(o.Empty,{className:"mt-8",children:(0,i.jsxs)(o.EmptyHeader,{children:[t,u]})}),p[7]=t,p[8]=u,p[9]=m):m=p[9],m}],222360)},674314,e=>{"use strict";var t=e.i(222666),i=e.i(674026),r=e.i(173037),a=e.i(902866),o=e.i(50157),n=e.i(270401);let l=n.forwardRef(function({title:e,titleId:t,...i},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},i),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 14.25v2.25m3-4.5v4.5m3-6.75v6.75m3-9v9M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"}))});var s=e.i(613889),d=e.i(221718),c=e.i(920248),u=e.i(849566),m=e.i(191898);let p=n.forwardRef(function({title:e,titleId:t,...i},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},i),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.893 13.393-1.135-1.135a2.252 2.252 0 0 1-.421-.585l-1.08-2.16a.414.414 0 0 0-.663-.107.827.827 0 0 1-.812.21l-1.273-.363a.89.89 0 0 0-.738 1.595l.587.39c.59.395.674 1.23.172 1.732l-.2.2c-.212.212-.33.498-.33.796v.41c0 .409-.11.809-.32 1.158l-1.315 2.191a2.11 2.11 0 0 1-1.81 1.025 1.055 1.055 0 0 1-1.055-1.055v-1.172c0-.92-.56-1.747-1.414-2.089l-.655-.261a2.25 2.25 0 0 1-1.383-2.46l.007-.042a2.25 2.25 0 0 1 .29-.787l.09-.15a2.25 2.25 0 0 1 2.37-1.048l1.178.236a1.125 1.125 0 0 0 1.302-.795l.208-.73a1.125 1.125 0 0 0-.578-1.315l-.665-.332-.091.091a2.25 2.25 0 0 1-1.591.659h-.18c-.249 0-.487.1-.662.274a.931.931 0 0 1-1.458-1.137l1.411-2.353a2.25 2.25 0 0 0 .286-.76m11.928 9.869A9 9 0 0 0 8.965 3.525m11.928 9.868A9 9 0 1 1 8.965 3.525"}))}),h=n.forwardRef(function({title:e,titleId:t,...i},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},i),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))}),g=n.forwardRef(function({title:e,titleId:t,...i},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},i),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 0 0-5.78 1.128 2.25 2.25 0 0 1-2.4 2.245 4.5 4.5 0 0 0 8.4-2.245c0-.399-.078-.78-.22-1.128Zm0 0a15.998 15.998 0 0 0 3.388-1.62m-5.043-.025a15.994 15.994 0 0 1 1.622-3.395m3.42 3.42a15.995 15.995 0 0 0 4.764-4.648l3.876-5.814a1.151 1.151 0 0 0-1.597-1.597L14.146 6.32a15.996 15.996 0 0 0-4.649 4.763m3.42 3.42a6.776 6.776 0 0 0-3.42-3.42"}))});var f=e.i(373855),v=e.i(614991);let b=n.forwardRef(function({title:e,titleId:t,...i},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},i),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z"}))});var y=e.i(328103),x=e.i(150592),w=e.i(143566),k=e.i(492009),_=e.i(541678),M=e.i(535316),S=e.i(29042),j=e.i(130206),A=e.i(358390),L=e.i(963),O=e.i(421773),C=e.i(759024),I=e.i(370066),E=e.i(61291),T=e.i(190557),N=e.i(112272);let R=new Set([O.Parameter.Tools,O.Parameter.ToolChoice]),z=new Set([A.ModelGroup.Router,A.ModelGroup.Media,A.ModelGroup.Other,A.ModelGroup.PaLM]),P=Object.fromEntries(j.DA_RANKINGS_CATEGORY_TABS.map(e=>[e.daKey,e.label.replace(/ ELO$/,"")]));function D(e){return P[e]??e}let H={codecategories:(0,t.jsx)(s.CodeBracketIcon,{className:"size-4"}),uicomponent:(0,t.jsx)(y.RectangleGroupIcon,{className:"size-4"}),gamedev:(0,t.jsx)(b,{className:"size-4"}),dataviz:(0,t.jsx)(o.ChartBarIcon,{className:"size-4"}),"3d":(0,t.jsx)(c.CubeIcon,{className:"size-4"}),image:(0,t.jsx)(v.PhotoIcon,{className:"size-4"}),video:(0,t.jsx)(k.VideoCameraIcon,{className:"size-4"}),svg:(0,t.jsx)(f.PencilIcon,{className:"size-4"})},F={isHipaaFilterVisible:!1};function B(e){return"key"in e?e.key:e.keys.join("-")}e.s(["getDaCategoryLabel",0,D,"getFilterKey",0,B,"getFilterOrGroupKey",0,function(e){return"group"===e.type?`group:${e.name}`:B(e)},"getFilters",0,function(e,n,c=F){return[...[{type:"multiselect",key:"input_modalities",icon:(0,t.jsx)(i.ArrowRightEndOnRectangleIcon,{className:"size-4"}),name:"Input modalities",options:Object.values(L.InputModality),formatLabel:e=>(0,N.sentenceCase)(e),defaultOpen:!0},{type:"plain",key:"discount",icon:(0,t.jsx)(m.GiftIcon,{className:"size-4"}),defaultOpen:!1,name:"Discounted",options:["true"],formatLabel:e=>"true"===e?"Has a discount":"No"},{type:"segmented-slider",key:"context",icon:(0,t.jsx)(d.CpuChipIcon,{className:"size-4"}),defaultOpen:void 0,name:"Context length",options:[4e3,16e3,32e3,64e3,128e3,256e3,1e6],formatLabel:t=>(0,I.formatNumber)(t,{locale:e,preset:"filter-context"})??"—"},{type:"duo-segmented-slider",defaultOpen:void 0,keys:["min_price","max_price"],icon:(0,t.jsx)(u.CurrencyDollarIcon,{className:"size-4"}),name:"Prompt pricing",options:[0,.1,.2,.5,1,5,10],formatLabel:t=>{var i,r;return i=e,0===(r=t)?"FREE":10===r?`${(0,T.formatUsd)(r,{locale:i,preset:"model-price"})??"—"}+`:(0,T.formatUsd)(r,{locale:i,preset:"model-price"})??"—"},formatValue:e=>{if(10!==e)return e.toString()}},{type:"multiselect",key:"arch",icon:(0,t.jsx)(y.RectangleGroupIcon,{className:"size-4"}),defaultOpen:!1,name:"Series",options:Object.values(A.ModelGroup).toSorted((e,t)=>z.has(e)?1:z.has(t)?-1:0),formatLabel:e=>e},{type:"multiselect",key:"categories",defaultOpen:!1,icon:(0,t.jsx)(w.TagIcon,{className:"size-4"}),name:"Categories",options:Object.values(M.UseCaseCategory),formatLabel:M.getUseCaseCategoryDisplayName},{type:"multiselect",key:"supported_parameters",icon:(0,t.jsx)(s.CodeBracketIcon,{className:"size-4"}),name:"Supported parameters",defaultOpen:!1,options:[O.Parameter.Tools,...Object.values(O.Parameter).filter(e=>!R.has(e))],formatLabel:e=>String(e)},{type:"plain",key:"distillable",icon:(0,t.jsx)(r.BeakerIcon,{className:"size-4"}),defaultOpen:!1,name:"Distillable",options:["true","false"],formatLabel:e=>"true"===e?"Yes":"No"},{type:"plain",key:"zdr",icon:(0,t.jsx)(x.ShieldCheckIcon,{className:"size-4"}),defaultOpen:!1,name:"Zero data retention",options:["true"],formatLabel:e=>"true"===e?"Supported":"No"},{type:"plain",key:"hipaa",icon:(0,t.jsx)(h,{className:"size-4"}),defaultOpen:!1,name:"HIPAA Compliant",tooltip:(0,t.jsx)(C.InfoTooltip,{side:"right",children:"Models with at least one HIPAA-eligible endpoint: one covered by a business associate agreement, so HIPAA traffic may route to it."}),options:["true"],formatLabel:e=>"true"===e?"Supported":"No"},{type:"plain",key:"region",icon:(0,t.jsx)(p,{className:"size-4"}),defaultOpen:!1,name:"In-region routing",tooltip:(0,t.jsxs)(C.InfoTooltip,{side:"right",children:["Filters for endpoints where processing is done entirely in a single region."," ",(0,t.jsx)("a",{href:"https://openrouter.ai/docs/guides/features/in-region-routing",className:"underline",target:"_blank",rel:"noopener noreferrer",children:"Learn more"})]}),options:["eu","us"],formatLabel:e=>e.toUpperCase()},{type:"duo-segmented-slider",defaultOpen:!1,keys:["min_output_price","max_output_price"],icon:(0,t.jsx)(u.CurrencyDollarIcon,{className:"size-4"}),name:"Output pricing",options:[0,.5,1,2,5,10,30],formatLabel:t=>{var i,r;return i=e,0===(r=t)?"FREE":30===r?`${(0,T.formatUsd)(r,{locale:i,preset:"model-price"})??"—"}+`:(0,T.formatUsd)(r,{locale:i,preset:"model-price"})??"—"},formatValue:e=>{if(30!==e)return e.toString()}},{type:"range-slider",keys:["min_age_days","max_age_days"],icon:(0,t.jsx)(a.CalendarDaysIcon,{className:"size-4"}),defaultOpen:!1,name:"Model age",min:0,max:12,step:1,formatLabel:t=>{var i,r;return i=e,(r=t)<=0?"New":r>=12?`${(0,I.formatNumber)(12,{locale:i,preset:"integer"})??"—"}+ mo`:`${(0,I.formatNumber)(r,{locale:i,preset:"integer"})??"—"} mo`},toSlider:e=>Math.min(Math.round(e/30),12),toQuery:e=>30*Math.round(e)}].filter(e=>c.isHipaaFilterVisible||!("key"in e&&"hipaa"===e.key)),{type:"range-slider",keys:["min_tool_success_rate","max_tool_success_rate"],icon:(0,t.jsx)(_.WrenchScrewdriverIcon,{className:"size-4"}),defaultOpen:!1,name:"Tool calling",tooltip:(0,t.jsx)(C.InfoTooltip,{side:"right",children:"Tool calling success rate (percentage of requests that complete with a tool_calls finish reason)"}),min:0,max:Math.ceil((n?.tool_success_rate?.max??1)*100),step:1,formatLabel:t=>(0,E.formatPercentPoints)(t,{locale:e,preset:"fee"})??"—",toSlider:e=>Math.round(100*e),toQuery:e=>Math.round(e)/100},{type:"group",name:"Artificial Analysis",icon:(0,t.jsx)(l,{className:"size-4"}),collapsible:!0,defaultOpen:!1,filters:[{type:"range-slider",keys:["min_intelligence_index","max_intelligence_index"],icon:(0,t.jsx)(o.ChartBarIcon,{className:"size-4"}),defaultOpen:!1,name:"Intelligence Index",tooltip:(0,t.jsx)(C.InfoTooltip,{side:"right",children:"Artificial Analysis Intelligence Index score (0-100)"}),min:0,max:Math.ceil(n?.intelligence_index?.max??100),step:1,formatLabel:t=>(0,I.formatNumber)(t,{locale:e,preset:"integer"})??"—"},{type:"range-slider",keys:["min_coding_index","max_coding_index"],icon:(0,t.jsx)(s.CodeBracketIcon,{className:"size-4"}),defaultOpen:!1,name:"Coding Index",tooltip:(0,t.jsx)(C.InfoTooltip,{side:"right",children:"Artificial Analysis Coding Index score (0-100)"}),min:0,max:Math.ceil(n?.coding_index?.max??100),step:1,formatLabel:t=>(0,I.formatNumber)(t,{locale:e,preset:"integer"})??"—"},{type:"range-slider",keys:["min_agentic_index","max_agentic_index"],icon:(0,t.jsx)(d.CpuChipIcon,{className:"size-4"}),defaultOpen:!1,name:"Agentic Index",tooltip:(0,t.jsx)(C.InfoTooltip,{side:"right",children:"Artificial Analysis Agentic Index score (0-100)"}),min:0,max:Math.ceil(n?.agentic_index?.max??100),step:1,formatLabel:t=>(0,I.formatNumber)(t,{locale:e,preset:"integer"})??"—"}]},{type:"group",name:"Design Arena",icon:(0,t.jsx)(g,{className:"size-4"}),collapsible:!0,defaultOpen:!1,filters:j.RANKINGS_CATEGORY_KEYS.map(i=>{let r=(0,S.daCategoryLookupKey)(i);return{type:"range-slider",keys:[(0,S.daEloMinKey)(i),(0,S.daEloMaxKey)(i)],icon:H[i],defaultOpen:!1,name:D(r),tooltip:(0,t.jsxs)(C.InfoTooltip,{side:"right",children:["Design Arena ",D(r)," ELO from head-to-head arena battles"]}),min:0,max:Math.ceil(n?.da_elo?.[r]?.max??2e3),step:1,formatLabel:t=>(0,I.formatNumber)(t,{locale:e,preset:"integer"})??"—"}})}]}],674314)},61811,e=>{"use strict";let t=(0,e.i(948810).create)(e=>({isPinnedOnly:!1,setIsPinnedOnly:t=>e({isPinnedOnly:t}),togglePinnedOnly:()=>e(e=>({isPinnedOnly:!e.isPinnedOnly}))}));e.s(["useModelsPinnedFilterStore",0,t])},557986,561348,e=>{"use strict";var t=e.i(687421),i=e.i(151960),r=e.i(626824);e.i(204067);var a=e.i(796805),o=e.i(450740),n=e.i(8842);e.s(["MODELS_REQUEST_TIMEOUT_MS",0,2e4,"SSR_MODEL_ROW_COUNT",0,20],561348);let l=a.z.array(a.z.object({name:a.z.enum(t.PublicProviderName),displayName:a.z.string()})),s=(0,r.createQueryKeys)("models",{providerFilters:()=>[],search:(e,t)=>[{searchParams:e,entityScope:t}]});e.s(["findModelsOptions",0,function(e,t){return(0,n.queryOptions)({queryKey:s.search(e,t),queryFn:({signal:t})=>(0,i.fetchAPIQuery)("/api/frontend/v1/models/find",{searchParams:e,signal:t,timeoutMs:2e4}),placeholderData:o.keepPreviousData})},"providerFiltersOptions",0,function(){return(0,n.queryOptions)({queryKey:s.providerFilters(),queryFn:({signal:e})=>(0,i.fetchAPIQuery)("/api/frontend/v1/provider-filters",{signal:e,schema:l})})}],557986)},340965,29042,e=>{"use strict";var t,i=e.i(535316);function r(e){return`min_da_elo_${e}`}function a(e){return`max_da_elo_${e}`}let o=e.i(130206).RANKINGS_CATEGORY_KEYS.flatMap(e=>[r(e),a(e)]);function n(e){return Object.fromEntries(o.map(t=>[t,e(t)]))}e.s(["buildDaEloParamRecord",0,n,"daCategoryLookupKey",0,function(e){return`models-${e}`},"daEloMaxKey",0,a,"daEloMinKey",0,r],29042);var l=e.i(839539),s=e.i(358390),d=e.i(963),c=e.i(421773),u=e.i(687421),m=e.i(179273),p=e.i(217631),h=e.i(693697),g=e.i(204067),f=e.i(796805),v=((t={}).MostPopular="most-popular",t.Newest="newest",t.Oldest="oldest",t.TopWeekly="top-weekly",t.WeeklyTokensLowToHigh="weekly-tokens-low-to-high",t.DiscountHighToLow="discount-high-to-low",t.PricingLowToHigh="pricing-low-to-high",t.PricingHighToLow="pricing-high-to-low",t.ContextHighToLow="context-high-to-low",t.ContextLowToHigh="context-low-to-high",t.ThroughputHighToLow="throughput-high-to-low",t.ThroughputLowToHigh="throughput-low-to-high",t.LatencyLowToHigh="latency-low-to-high",t.LatencyHighToLow="latency-high-to-low",t.IntelligenceHighToLow="intelligence-high-to-low",t.IntelligenceLowToHigh="intelligence-low-to-high",t.CodingHighToLow="coding-high-to-low",t.CodingLowToHigh="coding-low-to-high",t.AgenticHighToLow="agentic-high-to-low",t.AgenticLowToHigh="agentic-low-to-high",t.DAEloHighToLow="da-elo-high-to-low",t.DAEloLowToHigh="da-elo-low-to-high",t);let b=f.z.string().optional().transform(e=>e?.split(",").map(e=>e.trim())),y=b.transform(e=>e?.filter(e=>(0,p.isMember)(e,c.Parameter))),x=b.transform(e=>e?.map(e=>(0,p.findMemberCaseInsensitive)(e,d.InputModality)).filter(e=>void 0!==e)),w=b.transform(e=>e?.map(e=>(0,p.findMemberCaseInsensitive)(e,d.OutputModality)).filter(e=>void 0!==e)),k=b.transform(e=>e?.map(e=>(0,p.findMemberCaseInsensitive)(e,u.ProviderName)).filter(e=>void 0!==e)),_=b.transform(e=>e?.filter(e=>(0,p.isMember)(e,i.UseCaseCategory))),M=b.transform(e=>e?.filter(e=>(0,p.isMember)(e,s.ModelGroup))),S=f.z.object({q:f.z.string().optional(),fmt:f.z.enum(l.ModelDisplayFormat).optional().default(l.ModelDisplayFormat.Cards),arch:M,categories:_,input_modalities:x,output_modalities:w,variant:f.z.enum(m.StaticVariant).optional(),providers:k,model_authors:b,context:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseInt(e.toString(),10):void 0),pricing:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_price:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_price:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),supported_parameters:y,distillable:f.z.enum(["true","false"]).optional(),zdr:f.z.literal("true").optional(),hipaa:f.z.literal("true").optional(),discount:f.z.literal("true").optional(),region:f.z.enum(["eu","us"]).optional(),order:f.z.enum(v).optional(),active:f.z.literal("true").optional(),private:f.z.literal("true").optional(),min_output_price:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_output_price:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_age_days:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseInt(e.toString(),10):void 0),max_age_days:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseInt(e.toString(),10):void 0),min_intelligence_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_intelligence_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_coding_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_coding_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_agentic_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_agentic_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),...n(()=>f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0)),min_tool_success_rate:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_tool_success_rate:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0)}),j=(0,h.unwrap)((0,g.parseSchema)(S,{active:"true"}));e.s(["DEFAULT_FIND_MODELS_SEARCH_PARAMS",0,j,"OrderType",()=>v,"orderTypeLabelMap",0,{"most-popular":"Most Popular",newest:"Newest",oldest:"Oldest","top-weekly":"Top Weekly","weekly-tokens-low-to-high":"Weekly Tokens: Low to High","discount-high-to-low":"Discount: High to Low","pricing-low-to-high":"Pricing: Low to High","pricing-high-to-low":"Pricing: High to Low","context-high-to-low":"Context: High to Low","context-low-to-high":"Context: Low to High","throughput-high-to-low":"Throughput: High to Low","throughput-low-to-high":"Throughput: Low to High","latency-low-to-high":"Latency: Low to High","latency-high-to-low":"Latency: High to Low","intelligence-high-to-low":"Intelligence: High to Low","intelligence-low-to-high":"Intelligence: Low to High","coding-high-to-low":"Coding: High to Low","coding-low-to-high":"Coding: Low to High","agentic-high-to-low":"Agentic: High to Low","agentic-low-to-high":"Agentic: Low to High","da-elo-high-to-low":"Design Arena ELO: High to Low","da-elo-low-to-high":"Design Arena ELO: Low to High"}],340965)},2763,892662,e=>{"use strict";var t=e.i(505962),i=e.i(621364);e.i(270401);var r=e.i(535316),a=e.i(29042),o=e.i(839539),n=e.i(358390),l=e.i(963),s=e.i(421773),d=e.i(687421),c=e.i(179273),u=e.i(340965);let m={q:i.parseAsString,fmt:(0,i.parseAsStringEnum)(Object.values(o.ModelDisplayFormat)).withDefault(o.ModelDisplayFormat.Cards),arch:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(n.ModelGroup))),categories:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(r.UseCaseCategory))),input_modalities:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(l.InputModality))),output_modalities:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(l.OutputModality))),variant:(0,i.parseAsStringEnum)(Object.values(c.StaticVariant)),providers:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(d.ProviderName))),model_authors:(0,i.parseAsArrayOf)(i.parseAsString),context:i.parseAsInteger,pricing:i.parseAsFloat,min_price:i.parseAsFloat,max_price:i.parseAsFloat,supported_parameters:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(s.Parameter))),distillable:(0,i.parseAsStringLiteral)(["true","false"]),zdr:(0,i.parseAsStringLiteral)(["true"]),hipaa:(0,i.parseAsStringLiteral)(["true"]),discount:(0,i.parseAsStringLiteral)(["true"]),region:(0,i.parseAsStringLiteral)(["eu","us"]),order:(0,i.parseAsStringEnum)(Object.values(u.OrderType)),active:(0,i.parseAsStringLiteral)(["true","false"]),private:(0,i.parseAsStringLiteral)(["true"]),min_output_price:i.parseAsFloat,max_output_price:i.parseAsFloat,min_age_days:i.parseAsInteger,max_age_days:i.parseAsInteger,min_intelligence_index:i.parseAsFloat,max_intelligence_index:i.parseAsFloat,min_coding_index:i.parseAsFloat,max_coding_index:i.parseAsFloat,min_agentic_index:i.parseAsFloat,max_agentic_index:i.parseAsFloat,...(0,a.buildDaEloParamRecord)(()=>i.parseAsFloat),min_tool_success_rate:i.parseAsFloat,max_tool_success_rate:i.parseAsFloat};(0,i.createSerializer)(m);let p={q:null,fmt:null,arch:null,categories:null,input_modalities:null,output_modalities:null,variant:null,providers:null,model_authors:null,context:null,pricing:null,min_price:null,max_price:null,supported_parameters:null,distillable:null,zdr:null,hipaa:null,discount:null,region:null,order:null,active:null,private:null,min_output_price:null,max_output_price:null,min_age_days:null,max_age_days:null,min_intelligence_index:null,max_intelligence_index:null,min_coding_index:null,max_coding_index:null,min_agentic_index:null,max_agentic_index:null,...(0,a.buildDaEloParamRecord)(()=>null),min_tool_success_rate:null,max_tool_success_rate:null};function h(e){return{q:e.q??void 0,fmt:e.fmt,arch:e.arch??void 0,categories:e.categories??void 0,input_modalities:e.input_modalities??void 0,output_modalities:e.output_modalities??void 0,variant:e.variant??void 0,providers:e.providers??void 0,model_authors:e.model_authors??void 0,context:e.context??void 0,pricing:e.pricing??void 0,min_price:e.min_price??void 0,max_price:e.max_price??void 0,supported_parameters:e.supported_parameters??void 0,distillable:e.distillable??void 0,zdr:e.zdr??void 0,hipaa:e.hipaa??void 0,discount:e.discount??void 0,region:e.region??void 0,order:e.order??void 0,active:"false"===e.active?void 0:"true",private:e.private??void 0,min_output_price:e.min_output_price??void 0,max_output_price:e.max_output_price??void 0,min_age_days:e.min_age_days??void 0,max_age_days:e.max_age_days??void 0,min_intelligence_index:e.min_intelligence_index??void 0,max_intelligence_index:e.max_intelligence_index??void 0,min_coding_index:e.min_coding_index??void 0,max_coding_index:e.max_coding_index??void 0,min_agentic_index:e.min_agentic_index??void 0,max_agentic_index:e.max_agentic_index??void 0,...(0,a.buildDaEloParamRecord)(t=>e[t]??void 0),min_tool_success_rate:e.min_tool_success_rate??void 0,max_tool_success_rate:e.max_tool_success_rate??void 0}}e.s(["emptyModelSearchParams",0,p,"modelSearchParamParsers",0,m,"toSearchParams",0,h],892662);let g={history:"push",shallow:!0};e.s(["useModelSearchParams",0,function(){let e,r,a=(0,t.c)(6),[o,n]=(0,i.useQueryStates)(m,g);a[0]!==o?(e=h(o),a[0]=o,a[1]=e):e=a[1];let l=e;return a[2]!==o||a[3]!==l||a[4]!==n?(r={query:o,searchParams:l,setSearchParams:n},a[2]=o,a[3]=l,a[4]=n,a[5]=r):r=a[5],r}],2763)},545354,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(902866),a=e.i(452473),o=e.i(970654),n=e.i(648156),l=e.i(779100),s=e.i(230953),d=e.i(660869);e.i(270401),e.s(["DeprecationBadge",0,function(e){let c,u,m,p,h,g,f,v,b=(0,i.c)(25),{deprecationDate:y,className:x}=e,w=(0,l.useLocale)();if(b[0]!==y){let e=y?.split("T")[0]??null;c=e?d.DateTime.fromISO(e,{zone:"utc"}):null;let t=d.DateTime.utc().startOf("day"),i=c?.isValid?c.startOf("day"):null;u=i?Math.floor(i.diff(t,"days").days):null,b[0]=y,b[1]=c,b[2]=u}else c=b[1],u=b[2];let k=u;e:{let e,t,i;if(!c||null===k){let e;b[3]===Symbol.for("react.memo_cache_sentinel")?(e={badgeVariant:"warning",badgeText:"",formattedDate:""},b[3]=e):e=b[3],m=e;break e}b[4]!==c||b[5]!==w?(e=(0,s.formatDate)(c.toJSDate(),{locale:w,timeZone:"UTC",preset:"long"})??"—",b[4]=c,b[5]=w,b[6]=e):e=b[6];let r=e;b[7]!==k?(t=k<=3?"negative":"warning",b[7]=k,b[8]=t):t=b[8];let a=t,o=k<0?"Deprecated":`Going away ${r}`;b[9]!==r||b[10]!==o||b[11]!==a?(i={badgeVariant:a,badgeText:o,formattedDate:r},b[9]=r,b[10]=o,b[11]=a,b[12]=i):i=b[12],m=i}let{badgeVariant:_,badgeText:M,formattedDate:S}=m;if(!y||!c||!c.isValid||null===k||k>90)return null;let j=null!==k&&S?`${k<0?"Deprecated":"Going away"} on ${S}`:"";return b[13]!==x?(p=(0,a.cn)("h-5 gap-1.5",x),b[13]=x,b[14]=p):p=b[14],b[15]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)(r.CalendarDaysIcon,{className:"size-3.5"}),b[15]=h):h=b[15],b[16]!==M?(g=(0,t.jsx)("span",{children:M}),b[16]=M,b[17]=g):g=b[17],b[18]!==_||b[19]!==p||b[20]!==g?(f=(0,t.jsxs)(o.Badge,{variant:_,size:"sm",className:p,children:[h,g]}),b[18]=_,b[19]=p,b[20]=g,b[21]=f):f=b[21],b[22]!==f||b[23]!==j?(v=(0,t.jsx)(n.Tooltip,{content:j,children:f}),b[22]=f,b[23]=j,b[24]=v):v=b[24],v}])},943926,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(963),a=e.i(30023),o=e.i(746751),n=e.i(505987),l=e.i(890136),s=e.i(218812),d=e.i(334471),c=e.i(353287),u=e.i(913767);e.s(["ModalityIcon",0,function(e){let m=(0,i.c)(24),{className:p,modality:h,strokeWidth:g}=e,f=void 0===p?"w-4 h-4":p;switch(h){case r.OutputModality.Text:{let e;return m[0]!==f||m[1]!==g?(e=(0,t.jsx)(c.Type,{className:f,strokeWidth:g}),m[0]=f,m[1]=g,m[2]=e):e=m[2],e}case r.OutputModality.Image:{let e;return m[3]!==f||m[4]!==g?(e=(0,t.jsx)(l.Image,{className:f,strokeWidth:g}),m[3]=f,m[4]=g,m[5]=e):e=m[5],e}case r.OutputModality.Video:{let e;return m[6]!==f||m[7]!==g?(e=(0,t.jsx)(u.Video,{className:f,strokeWidth:g}),m[6]=f,m[7]=g,m[8]=e):e=m[8],e}case r.OutputModality.Audio:{let e;return m[9]!==f||m[10]!==g?(e=(0,t.jsx)(o.AudioLines,{className:f,strokeWidth:g}),m[9]=f,m[10]=g,m[11]=e):e=m[11],e}case r.OutputModality.Embeddings:{let e;return m[12]!==f||m[13]!==g?(e=(0,t.jsx)(n.Boxes,{className:f,strokeWidth:g}),m[12]=f,m[13]=g,m[14]=e):e=m[14],e}case r.OutputModality.Rerank:{let e;return m[15]!==f||m[16]!==g?(e=(0,t.jsx)(a.ArrowUpDown,{className:f,strokeWidth:g}),m[15]=f,m[16]=g,m[17]=e):e=m[17],e}case r.OutputModality.TTS:{let e;return m[18]!==f||m[19]!==g?(e=(0,t.jsx)(d.Speech,{className:f,strokeWidth:g}),m[18]=f,m[19]=g,m[20]=e):e=m[20],e}case r.OutputModality.Transcription:{let e;return m[21]!==f||m[22]!==g?(e=(0,t.jsx)(s.Mic,{className:f,strokeWidth:g}),m[21]=f,m[22]=g,m[23]=e):e=m[23],e}default:return null}}])},761512,e=>{"use strict";var t=e.i(963);let i={[t.OutputModality.Text]:"bg-modality-text/12",[t.OutputModality.Image]:"bg-modality-image/12",[t.OutputModality.Audio]:"bg-modality-audio/12",[t.OutputModality.Video]:"bg-modality-video/12",[t.OutputModality.Embeddings]:"bg-modality-embeddings/12",[t.OutputModality.Rerank]:"bg-modality-rerank/12",[t.OutputModality.TTS]:"bg-modality-tts/12",[t.OutputModality.Transcription]:"bg-modality-transcription/12"},r={[t.OutputModality.Text]:"text-modality-text",[t.OutputModality.Image]:"text-modality-image",[t.OutputModality.Audio]:"text-modality-audio",[t.OutputModality.Video]:"text-modality-video",[t.OutputModality.Embeddings]:"text-modality-embeddings",[t.OutputModality.Rerank]:"text-modality-rerank",[t.OutputModality.TTS]:"text-modality-tts",[t.OutputModality.Transcription]:"text-modality-transcription"},a={[t.OutputModality.Text]:"border-modality-text",[t.OutputModality.Image]:"border-modality-image",[t.OutputModality.Audio]:"border-modality-audio",[t.OutputModality.Video]:"border-modality-video",[t.OutputModality.Embeddings]:"border-modality-embeddings",[t.OutputModality.Rerank]:"border-modality-rerank",[t.OutputModality.TTS]:"border-modality-tts",[t.OutputModality.Transcription]:"border-modality-transcription"},o={[t.OutputModality.Text]:"group-hover:text-modality-text",[t.OutputModality.Image]:"group-hover:text-modality-image",[t.OutputModality.Audio]:"group-hover:text-modality-audio",[t.OutputModality.Video]:"group-hover:text-modality-video",[t.OutputModality.Embeddings]:"group-hover:text-modality-embeddings",[t.OutputModality.Rerank]:"group-hover:text-modality-rerank",[t.OutputModality.TTS]:"group-hover:text-modality-tts",[t.OutputModality.Transcription]:"group-hover:text-modality-transcription"};e.s(["MODALITY_BG",0,i,"MODALITY_ICON_BORDER",0,a,"MODALITY_ICON_COLOR",0,r,"MODALITY_ICON_GROUP_HOVER",0,o])},918662,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(452473),a=e.i(557225),o=e.i(648156),n=e.i(376294);e.s(["ModelAuthorIcon",0,function(e){let l,s,d,c,u,m,p=(0,i.c)(21),{author:h,permaslug:g,iconUri:f,isLatestAlias:v,className:b,tooltipSide:y,frame:x}=e,w=void 0===y?"top":y,k=void 0!==x&&x;if(!v){let e;return p[0]!==h||p[1]!==b||p[2]!==k||p[3]!==f||p[4]!==g?(e=(0,t.jsx)(a.AuthorIcon,{author:h,permaslug:g,iconUri:f,frame:k,className:b}),p[0]=h,p[1]=b,p[2]=k,p[3]=f,p[4]=g,p[5]=e):e=p[5],e}return p[6]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)("span",{children:"OpenRouter latest alias — automatically resolves to the newest model in this version group."}),p[6]=l):l=p[6],p[7]!==b?(s=(0,r.cn)("relative inline-flex shrink-0",b),p[7]=b,p[8]=s):s=p[8],p[9]!==h||p[10]!==k||p[11]!==f||p[12]!==g?(d=(0,t.jsx)(a.AuthorIcon,{author:h,permaslug:g,iconUri:f,frame:k,className:"shrink-0"}),p[9]=h,p[10]=k,p[11]=f,p[12]=g,p[13]=d):d=p[13],p[14]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("span",{role:"img","aria-label":"OpenRouter latest alias",className:(0,r.cn)("absolute -bottom-0.5 -right-0.5","flex items-center justify-center","size-3 rounded-full","bg-foreground text-background","ring-1 ring-background"),children:(0,t.jsx)(n.OpenRouterIcon,{className:"size-2"})}),p[14]=c):c=p[14],p[15]!==s||p[16]!==d?(u=(0,t.jsxs)("span",{className:s,"data-testid":"model-author-icon-latest-alias",children:[d,c]}),p[15]=s,p[16]=d,p[17]=u):u=p[17],p[18]!==u||p[19]!==w?(m=(0,t.jsx)(o.Tooltip,{side:w,content:l,children:u}),p[18]=u,p[19]=w,p[20]=m):m=p[20],m}])},475910,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(557225),a=e.i(277281),o=e.i(270401);let n=["anthropic","openai","deepseek","google","x-ai","mistralai","meta","black-forest-labs"];function l(e){return(e+1)%n.length}e.s(["RotatingAuthorIcon",0,function(){let e,s,d,c,u,m,p=(0,i.c)(12),[h,g]=(0,o.useState)(0),[f,v]=(0,o.useState)(!1),[b,y]=(0,o.useState)(!0);p[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{v(!0)},p[0]=e):e=p[0],(0,a.useInterval)(e,2e3),p[1]!==f?(s=()=>{if(!f)return;let e=setTimeout(()=>{y(!1),g(l),v(!1),requestAnimationFrame(()=>{y(!0)})},300);return()=>clearTimeout(e)},d=[f],p[1]=f,p[2]=s,p[3]=d):(s=p[2],d=p[3]),(0,o.useEffect)(s,d);let x=n[h]??"anthropic",w=n[(h+1)%n.length]??"anthropic",k=`flex flex-col ${b?"transition-transform duration-300 ease-in-out":""} ${f?"-translate-y-1/2":"translate-y-0"}`;return p[4]!==x?(c=(0,t.jsx)("div",{className:"flex h-5 w-5 items-center justify-center",children:(0,t.jsx)(r.AuthorIcon,{author:x,className:"size-5 border-0 bg-transparent p-0 shadow-none"})}),p[4]=x,p[5]=c):c=p[5],p[6]!==w?(u=(0,t.jsx)("div",{className:"flex h-5 w-5 items-center justify-center",children:(0,t.jsx)(r.AuthorIcon,{author:w,className:"size-5 border-0 bg-transparent p-0 shadow-none"})}),p[6]=w,p[7]=u):u=p[7],p[8]!==k||p[9]!==c||p[10]!==u?(m=(0,t.jsx)("div",{className:"relative h-5 w-5 overflow-hidden","data-testid":"rotating-author-icon",children:(0,t.jsxs)("div",{className:k,children:[c,u]})}),p[8]=k,p[9]=c,p[10]=u,p[11]=m):m=p[11],m}])},200321,e=>{"use strict";var t=e.i(222666),i=e.i(505962);e.s(["FilterXIcon",0,function(e){let r,a,o,n,l,s=(0,i.c)(6),{className:d}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("title",{children:"Remove Filter"}),a=(0,t.jsx)("path",{d:"M13.013 3H2l8 9.46V19l4 2v-8.54l.9-1.055"}),o=(0,t.jsx)("path",{d:"m22 3-5 5"}),n=(0,t.jsx)("path",{d:"m17 3 5 5"}),s[0]=r,s[1]=a,s[2]=o,s[3]=n):(r=s[0],a=s[1],o=s[2],n=s[3]),s[4]!==d?(l=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:d,children:[r,a,o,n]}),s[4]=d,s[5]=l):l=s[5],l},"ListFilterIcon",0,function(e){let r,a,o,n,l,s=(0,i.c)(6),{className:d}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("title",{children:"Filter"}),a=(0,t.jsx)("path",{d:"M3 6h18"}),o=(0,t.jsx)("path",{d:"M7 12h10"}),n=(0,t.jsx)("path",{d:"M10 18h4"}),s[0]=r,s[1]=a,s[2]=o,s[3]=n):(r=s[0],a=s[1],o=s[2],n=s[3]),s[4]!==d?(l=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:d,children:[r,a,o,n]}),s[4]=d,s[5]=l):l=s[5],l}])},465370,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(193181),a=e.i(368884),o=e.i(452473),n=e.i(980351),l=e.i(864160),s=e.i(700050);function d(e){return e.toggleModelPin}e.s(["ModelPinButton",0,function(e){let c,u,m,p,h,g=(0,i.c)(19),{modelSlug:f,origin:v,className:b,hoverOnly:y}=e,x=(0,n.useHydrated)();g[0]!==f?(c=e=>e.pinnedModelSlugs.includes(f),g[0]=f,g[1]=c):c=g[1];let w=(0,l.useUserStore)(c),k=x&&w,_=(0,l.useUserStore)(d);g[2]!==k||g[3]!==f||g[4]!==v||g[5]!==_?(u=e=>{e.preventDefault(),e.stopPropagation(),k?(0,s.trackModelUnpin)({model:f,origin:v}):(0,s.trackModelPin)({model:f,origin:v}),_(f)},g[2]=k,g[3]=f,g[4]=v,g[5]=_,g[6]=u):u=g[6];let M=u,S=k?"Unpin model":"Pin model",j=k?"Unpin model":"Pin model",A=void 0!==y&&y&&"opacity-0 group-hover:opacity-100 focus-visible:opacity-100";return g[7]!==b||g[8]!==A?(m=(0,o.cn)("transition-opacity","text-muted-foreground hover:text-foreground","shrink-0",A,b),g[7]=b,g[8]=A,g[9]=m):m=g[9],g[10]!==k?(p=k?(0,t.jsx)(a.StarIcon,{className:"size-3.5"}):(0,t.jsx)(r.StarIcon,{className:"size-3.5"}),g[10]=k,g[11]=p):p=g[11],g[12]!==M||g[13]!==k||g[14]!==S||g[15]!==j||g[16]!==m||g[17]!==p?(h=(0,t.jsx)("button",{type:"button",onClick:M,title:S,"aria-label":j,"aria-pressed":k,className:m,children:p}),g[12]=M,g[13]=k,g[14]=S,g[15]=j,g[16]=m,g[17]=p,g[18]=h):h=g[18],h}])},779060,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(452473),a=e.i(214857),o=e.i(803979);e.s(["MobileActionBar",0,function(e){let n,l,s,d,c,u,m=(0,i.c)(15),{children:p,hiddenFrom:h}=e,g=(0,o.usePortalTarget)(),f="sm"===(void 0===h?"md":h)?"sm:hidden":"md:hidden";return g?(m[0]!==f?(n=(0,r.cn)("peer fixed inset-x-0 bottom-0 z-overlay mx-auto flex w-full gap-3 border-border/50 border-t bg-background/50 p-4 pb-[calc(1rem+env(safe-area-inset-bottom))] backdrop-blur-sm empty:hidden",f),m[0]=f,m[1]=n):n=m[1],m[2]!==p||m[3]!==n?(l=(0,t.jsx)("div",{className:n,children:p}),m[2]=p,m[3]=n,m[4]=l):l=m[4],m[5]!==f?(s=(0,r.cn)("h-[calc(4.5rem+env(safe-area-inset-bottom))] peer-empty:hidden",f),m[5]=f,m[6]=s):s=m[6],m[7]!==s?(d=(0,t.jsx)("div",{"aria-hidden":!0,className:s}),m[7]=s,m[8]=d):d=m[8],m[9]!==l||m[10]!==d?(c=(0,t.jsxs)(t.Fragment,{children:[l,d]}),m[9]=l,m[10]=d,m[11]=c):c=m[11],m[12]!==g||m[13]!==c?(u=(0,a.createPortal)(c,g),m[12]=g,m[13]=c,m[14]=u):u=m[14],u):null}])},668883,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(646013),a=e.i(452473),o=e.i(528164);e.i(742593);var n=e.i(571236),l=e.i(270401);function s(){globalThis.scrollTo({top:0,behavior:"smooth"})}e.s(["ScrollToTopButton",0,function(e){let d,c,u,m,p=(0,i.c)(8),{threshold:h,className:g}=e,f=!function(e){let t,r,a,o,n,s=(0,i.c)(8),[d,c]=(0,l.useState)(!1);s[0]!==e?(t=()=>{c(globalThis.scrollY>e)},s[0]=e,s[1]=t):t=s[1];let u=t;return s[2]!==u?(r=()=>(globalThis.addEventListener("scroll",u),()=>globalThis.removeEventListener("scroll",u)),a=[u],s[2]=u,s[3]=r,s[4]=a):(r=s[3],a=s[4]),(0,l.useEffect)(r,a),s[5]!==u?(o=()=>{u()},n=[u],s[5]=u,s[6]=o,s[7]=n):(o=s[6],n=s[7]),(0,l.useEffect)(o,n),d}(void 0===h?400:h);return p[0]!==g?(d=(0,a.cn)("hidden items-center justify-center md:flex","rounded-full",g),p[0]=g,p[1]=d):d=p[1],p[2]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(r.ArrowUpIcon,{className:"size-5"}),p[2]=c):c=p[2],p[3]!==d?(u=(0,t.jsx)(o.Button,{variant:"outline",className:d,size:"icon",onClick:s,children:c}),p[3]=d,p[4]=u):u=p[4],p[5]!==f||p[6]!==u?(m=(0,t.jsx)(n.Fade,{className:"fixed bottom-16 right-16",hidden:f,children:u}),p[5]=f,p[6]=u,p[7]=m):m=p[7],m}],668883)},803979,e=>{"use strict";var t=e.i(505962),i=e.i(980351);e.s(["usePortalTarget",0,function(){let e,r=(0,t.c)(2),a=(0,i.useHydrated)();return r[0]!==a?(e=a?document.querySelector("#portal-container")??document.body:null,r[0]=a,r[1]=e):e=r[1],e}])}]); //# sourceMappingURL=0_fk9f92ytvyl.js.map //# chunkId=01a09f3e-7b8d-7501-96ac-c6cc6134b7e3