!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]="01a09faf-5007-78d3-a187-ce526c6b660b")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,168852,e=>{"use strict";var t=e.i(270401);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z",clipRule:"evenodd"}))});e.s(["CheckIcon",0,r],168852)},476578,e=>{"use strict";function t(e){return Array.isArray?Array.isArray(e):"[object Array]"===l(e)}let r=1/0;function n(e){return"string"==typeof e}function i(e){return"number"==typeof e}function a(e){return"object"==typeof e}function s(e){return null!=e}function o(e){return!e.trim().length}function l(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}let u=Object.prototype.hasOwnProperty;class c{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let r=d(e);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function d(e){let r=null,i=null,a=null,s=1,o=null;if(n(e)||t(e))a=e,r=h(e),i=p(e);else{if(!u.call(e,"name"))throw Error("Missing name property in key");let t=e.name;if(a=t,u.call(e,"weight")&&(s=e.weight)<=0)throw Error(`Property 'weight' in key '${t}' must be a positive integer`);r=h(t),i=p(t),o=e.getFn}return{path:r,id:i,weight:s,src:a,getFn:o}}function h(e){return t(e)?e:e.split(".")}function p(e){return t(e)?e.join("."):e}var g={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx{if(s(e))if(o[h]){var p,g;let f=e[o[h]];if(!s(f))return;if(h===o.length-1&&(n(f)||i(f)||!0===(p=f)||!1===p||a(g=p)&&null!==g&&"[object Boolean]"==l(p)))u.push(null==f?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-r?"-0":t}(f));else if(t(f)){c=!0;for(let e=0,t=f.length;e{this._keysMap[e.id]=t})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,n(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();n(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,r=this.size();t{let l=r.getFn?r.getFn(e):this.getFn(e,r.path);if(s(l)){if(t(l)){let e=[],r=[{nestedArrIndex:-1,value:l}];for(;r.length;){let{nestedArrIndex:i,value:a}=r.pop();if(s(a))if(n(a)&&!o(a)){let t={v:a,i:i,n:this.norm.get(a)};e.push(t)}else t(a)&&a.forEach((e,t)=>{r.push({nestedArrIndex:t,value:e})})}i.$[a]=e}else if(n(l)&&!o(l)){let e={v:l,n:this.norm.get(l)};i.$[a]=e}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function v(e,t,{getFn:r=g.getFn,fieldNormWeight:n=g.fieldNormWeight}={}){let i=new m({getFn:r,fieldNormWeight:n});return i.setKeys(e.map(d)),i.setSources(t),i.create(),i}function x(e,{errors:t=0,currentLocation:r=0,expectedLocation:n=0,distance:i=g.distance,ignoreLocation:a=g.ignoreLocation}={}){let s=t/e.length;if(a)return s;let o=Math.abs(n-r);return i?s+o/i:o?1:s}let y=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e;class w{constructor(e,{location:t=g.location,threshold:r=g.threshold,distance:n=g.distance,includeMatches:i=g.includeMatches,findAllMatches:a=g.findAllMatches,minMatchCharLength:s=g.minMatchCharLength,isCaseSensitive:o=g.isCaseSensitive,ignoreDiacritics:l=g.ignoreDiacritics,ignoreLocation:u=g.ignoreLocation}={}){if(this.options={location:t,threshold:r,distance:n,includeMatches:i,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:o,ignoreDiacritics:l,ignoreLocation:u},e=o?e:e.toLowerCase(),e=l?y(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const c=(e,t)=>{this.chunks.push({pattern:e,alphabet:function(e){let t={};for(let r=0,n=e.length;r32){let e=0;const t=d%32,r=d-t;for(;e{let{isMatch:f,score:m,indices:v}=function(e,t,r,{location:n=g.location,distance:i=g.distance,threshold:a=g.threshold,findAllMatches:s=g.findAllMatches,minMatchCharLength:o=g.minMatchCharLength,includeMatches:l=g.includeMatches,ignoreLocation:u=g.ignoreLocation}={}){let c;if(t.length>32)throw Error("Pattern length exceeds max of 32.");let d=t.length,h=e.length,p=Math.max(0,Math.min(n,h)),f=a,m=p,v=o>1||l,y=v?Array(h):[];for(;(c=e.indexOf(t,m))>-1;)if(f=Math.min(x(t,{currentLocation:c,expectedLocation:p,distance:i,ignoreLocation:u}),f),m=c+d,v){let e=0;for(;e=l;a-=1){let s=a-1,o=r[e.charAt(s)];if(v&&(y[s]=+!!o),g[a]=(g[a+1]<<1|1)&o,n&&(g[a]|=(w[a+1]|w[a])<<1|1|w[a+1]),g[a]&C&&(S=x(t,{errors:n,currentLocation:s,expectedLocation:p,distance:i,ignoreLocation:u}))<=f){if(f=S,(m=s)<=p)break;l=Math.max(1,2*p-m)}}if(x(t,{errors:n+1,currentLocation:p,expectedLocation:p,distance:i,ignoreLocation:u})>f)break;w=g}let b={isMatch:m>=0,score:Math.max(.001,S)};if(v){let e=function(e=[],t=g.minMatchCharLength){let r=[],n=-1,i=-1,a=0;for(let s=e.length;a=t&&r.push([n,i]),n=-1)}return e[a-1]&&a-n>=t&&r.push([n,a-1]),r}(y,o);e.length?l&&(b.indices=e):b.isMatch=!1}return b}(e,t,r,{location:i+p,distance:a,threshold:s,findAllMatches:o,minMatchCharLength:l,includeMatches:n,ignoreLocation:u});f&&(h=!0),d+=m,f&&v&&(c=[...c,...v])});let p={isMatch:h,score:h?d/this.chunks.length:1};return h&&n&&(p.indices=c),p}}class S{constructor(e){this.pattern=e}static isMultiMatch(e){return A(e,this.multiRegex)}static isSingleMatch(e){return A(e,this.singleRegex)}search(){}}function A(e,t){let r=e.match(t);return r?r[1]:null}class C extends S{constructor(e,{location:t=g.location,threshold:r=g.threshold,distance:n=g.distance,includeMatches:i=g.includeMatches,findAllMatches:a=g.findAllMatches,minMatchCharLength:s=g.minMatchCharLength,isCaseSensitive:o=g.isCaseSensitive,ignoreDiacritics:l=g.ignoreDiacritics,ignoreLocation:u=g.ignoreLocation}={}){super(e),this._bitapSearch=new w(e,{location:t,threshold:r,distance:n,includeMatches:i,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:o,ignoreDiacritics:l,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class b extends S{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,r=0,n=[],i=this.pattern.length;for(;(t=e.indexOf(this.pattern,r))>-1;)r=t+i,n.push([t,r-1]);let a=!!n.length;return{isMatch:a,score:+!a,indices:n}}}let F=[class extends S{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:+!t,indices:[0,this.pattern.length-1]}}},b,class extends S{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:+!t,indices:[0,this.pattern.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:+!t,indices:[0,e.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:+!t,indices:[0,e.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:+!t,indices:[e.length-this.pattern.length,e.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=-1===e.indexOf(this.pattern);return{isMatch:t,score:+!t,indices:[0,e.length-1]}}},C],N=F.length,k=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,D=new Set([C.type,b.type]),E=[];function M(e,t){for(let r=0,n=E.length;r!!(e[I]||e.$or),_=e=>({[I]:Object.keys(e).map(t=>({[t]:e[t]}))});function j(e,r,{auto:i=!0}={}){let s=e=>{let o=Object.keys(e),l=!!e[U];if(!l&&o.length>1&&!P(e))return s(_(e));if(!t(e)&&a(e)&&!P(e)){let t=l?e[U]:o[0],a=l?e.$val:e[t];if(!n(a))throw Error(`Invalid value for key ${t}`);let s={keyId:p(t),pattern:a};return i&&(s.searcher=M(a,r)),s}let u={children:[],operator:o[0]};return o.forEach(r=>{let n=e[r];t(n)&&n.forEach(e=>{u.children.push(s(e))})}),u};return P(e)||(e=_(e)),s(e)}function R(e,t){let r=e.matches;t.matches=[],s(r)&&r.forEach(e=>{if(!s(e.indices)||!e.indices.length)return;let{indices:r,value:n}=e,i={indices:r,value:n};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function O(e,t){t.score=e.score}class L{constructor(e,t={},r){this.options={...g,...t},this.options.useExtendedSearch,this._keyStore=new c(this.options.keys),this.setCollection(e,r)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof m))throw Error("Incorrect 'index' type");this._myIndex=t||v(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){s(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let r=0,n=this._docs.length;r{let r=1;e.matches.forEach(({key:e,norm:n,score:i})=>{let a=e?e.weight:null;r*=Math.pow(0===i&&a?Number.EPSILON:i,(a||1)*(t?1:n))}),e.score=r})}(u,{ignoreFieldNorm:l}),s&&u.sort(o),i(t)&&t>-1&&(u=u.slice(0,t)),function(e,t,{includeMatches:r=g.includeMatches,includeScore:n=g.includeScore}={}){let i=[];return r&&i.push(R),n&&i.push(O),e.map(e=>{let{idx:r}=e,n={item:t[r],refIndex:r};return i.length&&i.forEach(t=>{t(e,n)}),n})}(u,this._docs,{includeMatches:r,includeScore:a})}_searchStringList(e){let t=M(e,this.options),{records:r}=this._myIndex,n=[];return r.forEach(({v:e,i:r,n:i})=>{if(!s(e))return;let{isMatch:a,score:o,indices:l}=t.searchIn(e);a&&n.push({item:e,idx:r,matches:[{score:o,value:e,norm:i,indices:l}]})}),n}_searchLogical(e){let t=j(e,this.options),r=(e,t,n)=>{if(!e.children){let{keyId:r,searcher:i}=e,a=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(t,r),searcher:i});return a&&a.length?[{idx:n,item:t,matches:a}]:[]}let i=[];for(let a=0,s=e.children.length;a{if(s(e)){let s=r(t,e,n);s.length&&(i[n]||(i[n]={idx:n,item:e,matches:[]},a.push(i[n])),s.forEach(({matches:e})=>{i[n].matches.push(...e)}))}}),a}_searchObjectList(e){let t=M(e,this.options),{keys:r,records:n}=this._myIndex,i=[];return n.forEach(({$:e,i:n})=>{if(!s(e))return;let a=[];r.forEach((r,n)=>{a.push(...this._findMatches({key:r,value:e[n],searcher:t}))}),a.length&&i.push({idx:n,item:e,matches:a})}),i}_findMatches({key:e,value:r,searcher:n}){if(!s(r))return[];let i=[];if(t(r))r.forEach(({v:t,i:r,n:a})=>{if(!s(t))return;let{isMatch:o,score:l,indices:u}=n.searchIn(t);o&&i.push({score:l,key:e,value:t,idx:r,norm:a,indices:u})});else{let{v:t,n:a}=r,{isMatch:s,score:o,indices:l}=n.searchIn(t);s&&i.push({score:o,key:e,value:t,norm:a,indices:l})}return i}}L.version="7.1.0",L.createIndex=v,L.parseIndex=function(e,{getFn:t=g.getFn,fieldNormWeight:r=g.fieldNormWeight}={}){let{keys:n,records:i}=e,a=new m({getFn:t,fieldNormWeight:r});return a.setKeys(n),a.setIndexRecords(i),a},L.config=g,L.parseQuery=j,function(...e){E.push(...e)}(class{constructor(e,{isCaseSensitive:t=g.isCaseSensitive,ignoreDiacritics:r=g.ignoreDiacritics,includeMatches:n=g.includeMatches,minMatchCharLength:i=g.minMatchCharLength,ignoreLocation:a=g.ignoreLocation,findAllMatches:s=g.findAllMatches,location:o=g.location,threshold:l=g.threshold,distance:u=g.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:r,includeMatches:n,minMatchCharLength:i,findAllMatches:s,ignoreLocation:a,location:o,threshold:l,distance:u},e=t?e:e.toLowerCase(),e=r?y(e):e,this.pattern=e,this.query=function(e,t={}){return e.split("|").map(e=>{let r=e.trim().split(k).filter(e=>e&&!!e.trim()),n=[];for(let e=0,i=r.length;e{"use strict";let t=(0,e.i(202913).default)("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]);e.s(["ArrowUpDown",0,t],30023)},191379,e=>{"use strict";let t=(0,e.i(202913).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["ArrowUpRight",0,t],191379)},222584,e=>{"use strict";let t=(0,e.i(202913).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",0,t])},379497,e=>{"use strict";var t=e.i(222584);e.s(["ChevronRight",()=>t.default])},969949,e=>{"use strict";let t=(0,e.i(202913).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,t],969949)},756367,e=>{"use strict";let t=(0,e.i(202913).default)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);e.s(["Filter",0,t],756367)},283529,e=>{"use strict";let t=(0,e.i(202913).default)("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);e.s(["Hash",0,t],283529)},259844,e=>{"use strict";let t=(0,e.i(202913).default)("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]);e.s(["SlidersHorizontal",0,t],259844)},576081,629343,e=>{"use strict";let t=(0,e.i(202913).default)("square-arrow-out-up-right",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);e.s(["default",0,t],629343),e.s(["SquareArrowOutUpRight",0,t],576081)},108663,e=>{"use strict";var t=e.i(270401);function r(e,r,n,i){var a=this,s=(0,t.useRef)(null),o=(0,t.useRef)(0),l=(0,t.useRef)(0),u=(0,t.useRef)(null),c=(0,t.useRef)([]),d=(0,t.useRef)(),h=(0,t.useRef)(),p=(0,t.useRef)(e),g=(0,t.useRef)(!0);p.current=e;var f="u">typeof window,m=!r&&0!==r&&f;if("function"!=typeof e)throw TypeError("Expected a function");r=+r||0;var v=!!(n=n||{}).leading,x=!("trailing"in n)||!!n.trailing,y="maxWait"in n,w="debounceOnServer"in n&&!!n.debounceOnServer,S=y?Math.max(+n.maxWait||0,r):null;return(0,t.useEffect)(function(){return g.current=!0,function(){g.current=!1}},[]),(0,t.useMemo)(function(){var e=function(e){var t=c.current,r=d.current;return c.current=d.current=null,o.current=e,l.current=l.current||e,h.current=p.current.apply(r,t)},t=function(e,t){m&&cancelAnimationFrame(u.current),u.current=m?requestAnimationFrame(e):setTimeout(e,t)},n=function(e){if(!g.current)return!1;var t=e-s.current;return!s.current||t>=r||t<0||y&&e-o.current>=S},A=function(t){return u.current=null,x&&c.current?e(t):(c.current=d.current=null,h.current)},C=function e(){var i=Date.now();if(v&&l.current===o.current&&b(),n(i))return A(i);if(g.current){var a=r-(i-s.current);t(e,y?Math.min(a,S-(i-o.current)):a)}},b=function(){i&&i({})},F=function(){if(f||w){var i=Date.now(),l=n(i);if(c.current=[].slice.call(arguments),d.current=a,s.current=i,l){if(!u.current&&g.current)return o.current=s.current,t(C,r),v?e(s.current):h.current;if(y)return t(C,r),e(s.current)}return u.current||t(C,r),h.current}};return F.cancel=function(){var e=u.current;e&&(m?cancelAnimationFrame(u.current):clearTimeout(u.current)),o.current=0,c.current=s.current=d.current=u.current=null,e&&i&&i({})},F.isPending=function(){return!!u.current},F.flush=function(){return u.current?A(Date.now()):h.current},F},[v,y,r,S,x,m,f,w,i])}function n(e,t){return e===t}e.s(["useDebounce",0,function(e,i,a){var s=a&&a.equalityFn||n,o=(0,t.useRef)(e),l=(0,t.useState)({})[1],u=r((0,t.useCallback)(function(e){o.current=e,l({})},[l]),i,a,l),c=(0,t.useRef)(e);return s(c.current,e)||(u(e),c.current=e),[o.current,u]},"useDebouncedCallback",0,r])},575043,e=>{"use strict";e.i(462904),e.i(204067),e.s(["toClickhouseTimestamp",0,function(e){return e.toISOString().replace("T"," ").split(".")[0]}])},963,e=>{"use strict";var t,r,n=((t={}).Text="text",t.Image="image",t.Embeddings="embeddings",t.Audio="audio",t.Video="video",t.Rerank="rerank",t.TTS="speech",t.Transcription="transcription",t);let i=new Set(["embeddings","rerank","speech","transcription"]),a=new Set(["embeddings","rerank"]),s=new Set(["text","image"]);function o(e){return 0===e.length||e.some(e=>s.has(e))&&!e.some(e=>i.has(e))}function l(e){return e.includes("video")&&!o(e)}var u=((r={}).Text="text",r.Image="image",r.File="file",r.Audio="audio",r.Video="video",r);e.s(["InputModality",()=>u,"NON_GENERATIVE_OUTPUT_MODALITIES",0,a,"OUTPUT_MODALITY_LABELS",0,{text:"Text",image:"Image",embeddings:"Embeddings",audio:"Audio",video:"Video",rerank:"Rerank",speech:"Speech",transcription:"Transcription"},"OutputModality",()=>n,"USER_FACING_OUTPUT_MODALITIES",0,["text","image","video","speech","transcription","embeddings","rerank","audio"],"isChatroomSelectableModel",0,function(e){return o(e)||l(e)},"isChattableModel",0,o,"isNonChattableVideoModel",0,l,"isTextOnly",0,function(e){return 1===e.length&&e.includes("text")}])},311520,e=>{"use strict";var t,r=e.i(222666),n=e.i(505962);e.s([],450654),e.i(450654);var i=e.i(270401),a=e.i(361409),s=e.i(796021),o=e.i(427702),l=e.i(802691),u=e.i(991066),c=e.i(397744);let d=i.createContext(void 0);function h(e){let t=i.useContext(d);if(void 0===t&&!e)throw Error((0,c.default)(50));return t}var p=e.i(939550),g=e.i(467219),f=e.i(214857),m=e.i(306694),v=e.i(246364),x=e.i(836033),y=e.i(325070),w=e.i(190642),S=e.i(875796);let A={...y.popupStoreSelectors,instantType:(0,m.createSelector)(e=>e.instantType),hasViewport:(0,m.createSelector)(e=>e.hasViewport)};class C extends v.ReactStore{constructor(e){super({...{...(0,y.createInitialPopupStoreState)(),instantType:void 0,hasViewport:!1},...e},{popupRef:i.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:new w.PopupTriggerMap,closeDelayRef:{current:300}},A)}setOpen=(e,t)=>{let r=t.reason,n=r===g.REASONS.triggerHover,i=e&&r===g.REASONS.triggerFocus,a=!e&&(r===g.REASONS.triggerPress||r===g.REASONS.escapeKey);if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let s=()=>{let n={open:e};i?n.instantType="focus":a?n.instantType="dismiss":r===g.REASONS.triggerHover&&(n.instantType=void 0);let s=t.trigger?.id??null;(s||e)&&(n.activeTriggerId=s,n.activeTriggerElement=t.trigger??null),this.update(n)};n?f.flushSync(s):s()};static useStore(e,t){let r=(0,x.useRefWithInit)(()=>new C(t)).current,n=e??r,i=(0,S.useSyncedFloatingRootContext)({popupStore:n,onOpenChange:n.setOpen});return n.state.floatingRootContext=i,n}}var b=e.i(373851);function F(e){let{open:t,defaultOpen:n=!1,onOpenChange:u,onOpenChangeComplete:c,actionsRef:h,handle:f,triggerId:m,defaultTriggerId:v=null,children:x}=e,y=C.useStore(f?.store,{open:n,openProp:t,activeTriggerId:v,triggerIdProp:m});(0,s.useOnFirstRender)(()=>{void 0===t&&!1===y.state.open&&!0===n&&y.update({open:!0,activeTriggerId:v})}),y.useControlledProp("openProp",t),y.useControlledProp("triggerIdProp",m),y.useContextCallback("onOpenChange",u),y.useContextCallback("onOpenChangeComplete",c);let w=y.useState("open"),S=y.select("floatingRootContext"),A=y.useState("activeTriggerId"),F=y.useState("payload");(0,b.useImplicitActiveTrigger)(y);let{forceUnmount:N}=(0,b.useOpenStateTransitions)(w,y);(0,a.useIsoLayoutEffect)(()=>{w&&null==A&&y.set("payload",void 0)},[y,A,w]);let k=i.useCallback(()=>{y.setOpen(!1,(0,p.createChangeEventDetails)(g.REASONS.imperativeAction))},[y]);i.useImperativeHandle(h,()=>({unmount:N,close:k}),[N,k]);let D=(0,o.useDismiss)(S),{getReferenceProps:E,getTriggerProps:M,getFloatingProps:I}=(0,l.useInteractions)([D]),U=i.useMemo(()=>E(),[E]),P=i.useMemo(()=>M(),[M]),_=i.useMemo(()=>I(),[I]);return y.useSyncedValues({activeTriggerProps:U,inactiveTriggerProps:P,popupProps:_}),(0,r.jsx)(d.Provider,{value:y,children:"function"==typeof x?x({payload:F}):x})}let N=i.createContext(void 0);var k=e.i(161046);let D=i.forwardRef(function(e,t){let{keepMounted:n=!1,...i}=e;return h().useState("mounted")||n?(0,r.jsx)(N.Provider,{value:n,children:(0,r.jsx)(k.FloatingPortalLite,{ref:t,...i})}):null});var E=e.i(290530),M=e.i(281334),I=e.i(593478),U=e.i(137834),P=e.i(670884),_=e.i(129356);let j=i.forwardRef(function(e,t){let{render:r,className:n,delay:s,closeDelay:o,id:l,payload:u,handle:d,style:p,...g}=e,f=h(!0),m=d?.store??f;if(!m)throw Error((0,c.default)(89));let v=(0,I.useBaseUiId)(l),x=m.useState("isTriggerActive",v),y=m.useState("isOpenedByTrigger",v),w=m.useState("floatingRootContext"),S=i.useRef(null),A=s??600,C=o??300,{registerTrigger:F,isMountedByThisTrigger:N}=(0,b.useTriggerDataForwarding)(v,S,m,{payload:u});(0,a.useIsoLayoutEffect)(()=>{N&&(m.context.closeDelayRef.current=C)},[m,N,C]);let k=(0,_.useHoverReferenceInteraction)(w,{mouseOnly:!0,move:!1,handleClose:(0,U.safePolygon)(),delay:()=>({open:A,close:C}),triggerElementRef:S,isActiveTrigger:x,isClosing:()=>"ending"===m.select("transitionStatus")}),D=(0,P.useFocus)(w,{delay:A}),j=m.useState("triggerProps",N);return(0,M.useRenderElement)("a",e,{state:{open:y},ref:[t,F,S],props:[k,D.reference,j,{id:v},g],stateAttributesMapping:E.triggerOpenStateMapping})}),R=i.createContext(void 0);function O(){let e=i.useContext(R);if(void 0===e)throw Error((0,c.default)(49));return e}var L=e.i(707999),B=e.i(916317),T=e.i(290281),$=e.i(556982);let z=i.forwardRef(function(e,t){let{render:n,className:a,anchor:s,positionMethod:o="absolute",side:l="bottom",align:d="center",sideOffset:p=0,alignOffset:g=0,collisionBoundary:f="clipping-ancestors",collisionPadding:m=5,arrowPadding:v=5,sticky:x=!1,disableAnchorTracking:y=!1,collisionAvoidance:w=B.POPUP_COLLISION_AVOIDANCE,style:S,...A}=e,C=h(),b=function(){let e=i.useContext(N);if(void 0===e)throw Error((0,c.default)(48));return e}(),F=(0,u.useFloatingNodeId)(),k=C.useState("open"),D=C.useState("mounted"),E=C.useState("floatingRootContext"),M=C.useState("instantType"),I=C.useState("transitionStatus"),U=C.useState("hasViewport"),P=(0,L.useAnchorPositioning)({anchor:s,floatingRootContext:E,positionMethod:o,mounted:D,side:l,sideOffset:p,align:d,alignOffset:g,arrowPadding:v,collisionBoundary:f,collisionPadding:m,sticky:x,disableAnchorTracking:y,keepMounted:b,nodeId:F,collisionAvoidance:w,adaptiveOrigin:U?T.adaptiveOrigin:void 0}),_={open:k,side:P.side,align:P.align,anchorHidden:P.anchorHidden,instant:M},j=(0,$.usePositioner)(e,_,{styles:P.positionerStyles,transitionStatus:I,props:A,refs:[t,C.useStateSetter("positionerElement")],hidden:!D,inert:!k});return(0,r.jsx)(R.Provider,{value:P,children:(0,r.jsx)(u.FloatingNode,{id:F,children:j})})});var H=e.i(228876),V=e.i(678968),G=e.i(688342),W=e.i(837861),q=e.i(294064);let K={...E.popupStateMapping,...V.transitionStatusMapping},Z=i.forwardRef(function(e,t){let{className:r,render:n,style:i,...a}=e,s=h(),{side:o,align:l}=O(),u=s.useState("open"),c=s.useState("instantType"),d=s.useState("transitionStatus"),p=s.useState("popupProps"),g=s.useState("floatingRootContext");(0,G.useOpenChangeComplete)({open:u,ref:s.context.popupRef,onComplete(){u&&s.context.onOpenChangeComplete?.(!0)}});let f=(0,H.useStableCallback)(()=>s.context.closeDelayRef.current);return(0,q.useHoverFloatingInteraction)(g,{closeDelay:f}),(0,M.useRenderElement)("div",e,{state:{open:u,side:o,align:l,instant:c,transitionStatus:d},ref:[t,s.context.popupRef,s.useStateSetter("popupElement")],props:[p,(0,W.getDisabledMountTransitionStyles)(d),a],stateAttributesMapping:K})}),Y=i.forwardRef(function(e,t){let{render:r,className:n,style:i,...a}=e,s=h(),{arrowRef:o,side:l,align:u,arrowUncentered:c,arrowStyles:d}=O(),p=s.useState("open");return(0,M.useRenderElement)("div",e,{state:{open:p,side:l,align:u,uncentered:c},ref:[o,t],props:[{style:d,"aria-hidden":!0},a],stateAttributesMapping:E.popupStateMapping})}),J={...E.popupStateMapping,...V.transitionStatusMapping},Q=i.forwardRef(function(e,t){let{render:r,className:n,style:i,...a}=e,s=h(),o=s.useState("open"),l=s.useState("mounted"),u=s.useState("transitionStatus");return(0,M.useRenderElement)("div",e,{state:{open:o,transitionStatus:u},ref:[t],props:[{role:"presentation",hidden:!l,style:{pointerEvents:"none",userSelect:"none",WebkitUserSelect:"none"}},a],stateAttributesMapping:J})}),X=((t={}).popupWidth="--popup-width",t.popupHeight="--popup-height",t);var ee=e.i(894727);let et={activationDirection:e=>e?{"data-activation-direction":e}:null},er=i.forwardRef(function(e,t){let{render:r,className:n,style:i,children:a,...s}=e,o=h(),l=O(),u=o.useState("instantType"),{children:c,state:d}=(0,ee.usePopupViewport)({store:o,side:l.side,cssVars:X,children:a}),p={activationDirection:d.activationDirection,transitioning:d.transitioning,instant:u};return(0,M.useRenderElement)("div",e,{state:p,ref:t,props:[s,{children:c}],stateAttributesMapping:et})});class en{constructor(){this.store=new C}open(e){let t=e?this.store.context.triggerElements.getById(e):void 0;if(e&&!t)throw Error((0,c.default)(88,e));this.store.setOpen(!0,(0,p.createChangeEventDetails)(g.REASONS.imperativeAction,void 0,t))}close(){this.store.setOpen(!1,(0,p.createChangeEventDetails)(g.REASONS.imperativeAction,void 0,void 0))}get isOpen(){return this.store.state.open}}e.s(["Arrow",0,Y,"Backdrop",0,Q,"Handle",0,en,"Popup",0,Z,"Portal",0,D,"Positioner",0,z,"Root",0,function(e){return h(!0)?(0,r.jsx)(F,{...e}):(0,r.jsx)(u.FloatingTree,{children:(0,r.jsx)(F,{...e})})},"Trigger",0,j,"Viewport",0,er,"createHandle",0,function(){return new en}],8995);var ei=e.i(8995),ei=ei,ea=e.i(452473),es=e.i(320187),eo=e.i(147680),el=e.i(691038);let eu=0,ec=0,ed=new Set;function eh(e){if(!(e.target instanceof Element&&e.target.closest('[data-slot="hover-card-content"]')))for(let e of(eu=Date.now(),ed))e()}let ep=(0,i.createContext)(null);function eg(){return 1===(ec+=1)&&document.addEventListener("scroll",eh,{capture:!0,passive:!0}),()=>{0==(ec-=1)&&document.removeEventListener("scroll",eh,!0)}}e.s(["HoverCard",0,e=>{let t,a,s,o,l,u,c,d,h,p=(0,n.c)(17);p[0]!==e?({children:t,...a}=e,p[0]=e,p[1]=t,p[2]=a):(t=p[1],a=p[2]);let[g,f]=(0,i.useState)(!1),m=(0,el.useMatchMedia)("(hover: hover) and (pointer: fine)",!0);p[3]===Symbol.for("react.memo_cache_sentinel")?(s=[],p[3]=s):s=p[3],(0,i.useEffect)(eg,s),p[4]!==g?(o=()=>{if(!g)return;let e=()=>f(!1);return ed.add(e),()=>{ed.delete(e)}},l=[g],p[4]=g,p[5]=o,p[6]=l):(o=p[5],l=p[6]),(0,i.useEffect)(o,l),p[7]!==m?(u={isHoverCapable:m,setOpen:f},p[7]=m,p[8]=u):u=p[8];let v=u;p[9]===Symbol.for("react.memo_cache_sentinel")?(c=e=>{e&&Date.now()-eu<200||f(e)},p[9]=c):c=p[9];let x=c;return p[10]!==t||p[11]!==g||p[12]!==a?(d=(0,r.jsx)(ei.Root,{open:g,onOpenChange:x,...a,children:t}),p[10]=t,p[11]=g,p[12]=a,p[13]=d):d=p[13],p[14]!==v||p[15]!==d?(h=(0,r.jsx)(ep.Provider,{value:v,children:d}),p[14]=v,p[15]=d,p[16]=h):h=p[16],h},"HoverCardContent",0,e=>{let t,i,a,s,o,l,u,c,d,h,p,g,f,m,v,x,y,w=(0,n.c)(35);w[0]!==e?({className:s,anchor:i,align:g,alignOffset:t,arrowPadding:a,collisionAvoidance:o,collisionBoundary:l,collisionPadding:u,positionMethod:c,ref:h,side:f,sideOffset:m,sticky:p,...d}=e,w[0]=e,w[1]=t,w[2]=i,w[3]=a,w[4]=s,w[5]=o,w[6]=l,w[7]=u,w[8]=c,w[9]=d,w[10]=h,w[11]=p,w[12]=g,w[13]=f,w[14]=m):(t=w[1],i=w[2],a=w[3],s=w[4],o=w[5],l=w[6],u=w[7],c=w[8],d=w[9],h=w[10],p=w[11],g=w[12],f=w[13],m=w[14]);let S=void 0===g?"center":g,A=void 0===f?"top":f,C=void 0===m?6:m,b=(0,es.useFloatingLayerZClass)();return w[15]!==s?(v=(0,ea.cn)("w-72 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-md outline-hidden",eo.popupMotion,s),w[15]=s,w[16]=v):v=w[16],w[17]!==d||w[18]!==h||w[19]!==v?(x=(0,r.jsx)(ei.Popup,{"data-slot":"hover-card-content",ref:h,className:v,...d}),w[17]=d,w[18]=h,w[19]=v,w[20]=x):x=w[20],w[21]!==S||w[22]!==t||w[23]!==i||w[24]!==a||w[25]!==o||w[26]!==l||w[27]!==u||w[28]!==c||w[29]!==A||w[30]!==C||w[31]!==p||w[32]!==x||w[33]!==b?(y=(0,r.jsx)(ei.Portal,{children:(0,r.jsx)(ei.Positioner,{anchor:i,align:S,alignOffset:t,arrowPadding:a,collisionAvoidance:o,collisionBoundary:l,collisionPadding:u,positionMethod:c,side:A,sideOffset:C,sticky:p,className:b,children:x})}),w[21]=S,w[22]=t,w[23]=i,w[24]=a,w[25]=o,w[26]=l,w[27]=u,w[28]=c,w[29]=A,w[30]=C,w[31]=p,w[32]=x,w[33]=b,w[34]=y):y=w[34],y},"HoverCardTrigger",0,e=>{let t,a,s,o,l,u,c,d=(0,n.c)(16);d[0]!==e?({className:t,onClick:a,delay:o,closeDelay:l,...s}=e,d[0]=e,d[1]=t,d[2]=a,d[3]=s,d[4]=o,d[5]=l):(t=d[1],a=d[2],s=d[3],o=d[4],l=d[5]);let h=void 0===o?120:o,p=void 0===l?120:l,{isHoverCapable:g,setOpen:f}=function(){let e=(0,i.useContext)(ep);if(!e)throw Error("HoverCard subcomponents must be rendered inside ");return e}();return d[6]!==g||d[7]!==a||d[8]!==f?(u=e=>{if(!g){e.stopPropagation();let t=e.currentTarget;t instanceof Element&&(t.matches("a[href]")||t.querySelector("a[href]"))||(e.preventDefault(),f(!0))}a?.(e)},d[6]=g,d[7]=a,d[8]=f,d[9]=u):u=d[9],d[10]!==t||d[11]!==p||d[12]!==h||d[13]!==s||d[14]!==u?(c=(0,r.jsx)(ei.Trigger,{delay:h,closeDelay:p,className:t,onClick:u,...s}),d[10]=t,d[11]=p,d[12]=h,d[13]=s,d[14]=u,d[15]=c):c=d[15],c}],311520)},557225,630056,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(452473),i=e.i(188363),a=e.i(687421),s=e.i(678998);function o(e){return e.toLowerCase()}let l=new Map([[o(a.ProviderName.OpenAI),{url:(0,s.getLocalIconUri)("OpenAI.svg"),className:"dark:invert"}],[o(a.ProviderName.Perplexity),{url:(0,s.getLocalIconUri)("Perplexity.png")}],[o(a.ProviderName.Poolside),{url:(0,s.getLocalIconUri)("poolside-logomark-solid-color.svg")}],[o(a.ProviderName.Perceptron),{url:(0,s.getFaviconUrl)("https://www.perceptron.inc")}],["voyageai",{url:(0,s.getFaviconUrl)("https://www.voyageai.com")}],[o(a.ProviderName.GoogleAIStudio),{url:(0,s.getLocalIconUri)("GoogleAIStudio.svg")}],[o(a.ProviderName.Anthropic),{url:(0,s.getLocalIconUri)("Anthropic.svg")}],[o(a.ProviderName.ClaudeOnAws),{url:(0,s.getLocalIconUri)("Anthropic.svg")}],[o(a.ProviderName.Cohere),{url:(0,s.getLocalIconUri)("Cohere.png")}],[o(a.ProviderName.Deepgram),{url:(0,s.getLocalIconUri)("Deepgram.svg"),className:"dark:invert"}],[o(a.ProviderName.DeepSeek),{url:(0,s.getLocalIconUri)("DeepSeek.png")}],[o(a.ProviderName.Together),{url:(0,s.getFaviconUrl)("https://www.together.ai/")}],[o(a.ProviderName.Infermatic),{url:(0,s.getFaviconUrl)("https://infermatic.ai/")}],[o(a.ProviderName.HuggingFace),{url:(0,s.getFaviconUrl)("https://huggingface.co/")}],[o(a.ProviderName.AI21),{url:(0,s.getFaviconUrl)("https://ai21.com/")}],[o(a.ProviderName.Featherless),{url:(0,s.getFaviconUrl)("https://featherless.ai/")}],[o(a.ProviderName.Reflection),{url:(0,s.getFaviconUrl)("https://railway.app/")}],[o(a.ProviderName.Inflection),{url:(0,s.getFaviconUrl)("https://inflection.ai/")}],[o(a.ProviderName.Minimax),{url:(0,s.getFaviconUrl)("https://minimaxi.com/")}],[o(a.ProviderName.Liquid),{url:(0,s.getFaviconUrl)("https://www.liquid.ai/"),className:"dark:invert"}],[o(a.ProviderName.Inception),{url:(0,s.getLocalIconUri)("Inception.svg"),className:"dark:invert"}],[o(a.ProviderName.Relace),{url:(0,s.getFaviconUrl)("https://www.relace.ai")}],[o(a.ProviderName.Sourceful),{url:(0,s.getFaviconUrl)("https://www.sourceful.com/")}],[o(a.ProviderName.BytePlus),{url:(0,s.getFaviconUrl)("https://www.byteplus.com")}],[o(a.ProviderName.Xiaomi),{url:(0,s.getFaviconUrl)("https://www.mi.com")}],["arcee-ai",{url:(0,s.getFaviconUrl)("https://www.arcee.ai")}],["fish-audio",{url:(0,s.getFaviconUrl)("https://fish.audio/")}],["z-ai",{url:(0,s.getFaviconUrl)("https://z.ai/"),className:"dark:invert"}],["moonshotai",{url:(0,s.getLocalIconUri)("MoonshotAI.png")}],["morph",{url:(0,s.getFaviconUrl)("https://morphllm.com")}],["qwen",{url:(0,s.getLocalIconUri)("Qwen.png")}],["google",{url:(0,s.getLocalIconUri)("GoogleGemini.svg")}],["microsoft",{url:(0,s.getLocalIconUri)("Microsoft.svg")}],["nousresearch",{url:(0,s.getFaviconUrl)("https://nousresearch.com/")}],["nvidia",{url:(0,s.getFaviconUrl)("https://nvidia.com/")}],["meta-llama",{url:(0,s.getLocalIconUri)("Meta.png")}],["meta",{url:(0,s.getLocalIconUri)("Meta.png")}],["databricks",{url:(0,s.getFaviconUrl)("https://databricks.com/")}],["openrouter",{url:(0,s.getLocalIconUri)("openrouter-glyph-light.svg"),darkUrl:(0,s.getLocalIconUri)("openrouter-glyph-dark.svg")}],["mistralai",{url:(0,s.getLocalIconUri)("Mistral.png")}],["x-ai",{url:(0,s.getFaviconUrl)("https://x.ai/")}],["amazon",{url:(0,s.getFaviconUrl)("https://nova.amazon.com/")}],["aion-labs",{url:(0,s.getFaviconUrl)("https://www.aionlabs.ai/")}],["allenai",{url:(0,s.getFaviconUrl)("https://allenai.org/")}],["switchpoint",{url:(0,s.getFaviconUrl)("https://switchpoint.dev/")}],["thedrummer",{url:(0,s.getLocalIconUri)("TheDrummer.png")}],["deepcogito",{url:(0,s.getFaviconUrl)("https://www.deepcogito.com/")}],["baidu",{url:(0,s.getFaviconUrl)("https://www.baidu.com/")}],["kwaipilot",{url:(0,s.getLocalIconUri)("Kwaipilot.png")}],["kwaivgi",{url:(0,s.getLocalIconUri)("KlingAI.png")}],["black-forest-labs",{url:(0,s.getFaviconUrl)("https://bfl.ai")}],["prime-intellect",{url:(0,s.getFaviconUrl)("https://www.primeintellect.ai/")}],["primeintellect",{url:(0,s.getFaviconUrl)("https://www.primeintellect.ai/")}],["essentialai",{url:(0,s.getFaviconUrl)("https://www.essential.ai/")}],["bytedance-seed",{url:(0,s.getFaviconUrl)("https://seed.bytedance.com/")}],[o(a.ProviderName.Seed),{url:(0,s.getFaviconUrl)("https://seed.bytedance.com/")}],["writer",{url:(0,s.getFaviconUrl)("https://writer.com/"),className:"dark:invert"}],["stepfun",{url:(0,s.getFaviconUrl)("https://platform.stepfun.ai/")}],["stepfun-ai",{url:(0,s.getFaviconUrl)("https://platform.stepfun.ai/")}],[o(a.ProviderName.Recraft),{url:(0,s.getLocalIconUri)("Recraft.svg"),className:"dark:invert"}],["bytedance",{url:(0,s.getFaviconUrl)("https://seed.bytedance.com/")}],["alibaba",{url:(0,s.getFaviconUrl)("https://www.alibabacloud.com")}],["inclusionai",{url:(0,s.getFaviconUrl)("https://www.inclusion-ai.org/")}],["tencent",{url:(0,s.getLocalIconUri)("Tencent.png")}],["ibm-granite",{url:(0,s.getLocalIconUri)("IBMGranite.svg"),className:"dark:invert"}],["nex-agi",{url:(0,s.getLocalIconUri)("NexAGI.svg"),className:"dark:invert"}],["thinkingmachines",{url:(0,s.getFaviconUrl)("https://thinkingmachines.ai/")}],["sakana",{url:(0,s.getFaviconUrl)("https://sakana.ai")}],[o(a.ProviderName.HeyGen),{url:(0,s.getFaviconUrl)("https://heygen.com")}],["zyphra",{url:(0,s.getLocalIconUri)("Zyphra.svg"),className:"dark:invert"}],["sesame",{url:(0,s.getFaviconUrl)("https://www.sesame.com")}],["canopylabs",{url:(0,s.getFaviconUrl)("https://canopylabs.ai"),className:"dark:invert"}],["hexgrad",{url:(0,s.getLocalIconUri)("Hexgrad.png")}],[o(a.ProviderName.Krea),{url:(0,s.getFaviconUrl)("https://www.krea.ai")}],[o(a.ProviderName.Runway),{url:(0,s.getFaviconUrl)("https://runwayml.com")}],[o(a.ProviderName.Upstage),{url:(0,s.getFaviconUrl)("https://www.upstage.ai/")}],["stealth",{url:(0,s.getLocalIconUri)("Stealth.svg"),className:"invert-0 dark:invert"}]]),u=new Map([["microsoft/mai-",{url:(0,s.getLocalIconUri)("MAI.png")}]]),c=/^\/(?![/\\])/u,d=/^data:image\//iu;function h(e,t){var r;let n=l.get(e.toLowerCase());return t&&(!t.startsWith("data:")||d.test(t))?(r=n?.className,c.test(t)||d.test(t)?{url:t}:t.startsWith("//")?{url:(0,s.getFaviconUrl)(`https:${t}`)}:t.startsWith("http")?{url:(0,s.getFaviconUrl)(t)}:{url:(0,s.getLocalIconUri)(t),className:r}):n??{url:s.HUGGING_FACE_FAVICON_URL}}function p({permaslug:e,author:t,iconUri:r}){let n=e.toLowerCase().replace(/^~/,"");for(let[e,t]of u)if(n.startsWith(e))return t;return h(t,r)}e.s(["getAuthorIconInfo",0,h,"getModelAuthorIconInfo",0,p],630056);var g=e.i(837556);e.s(["AuthorIcon",0,function(e){let a,s,o,l,u,c,d,f=(0,r.c)(25),{author:m,permaslug:v,iconUri:x,className:y,frame:w,frameRingClassName:S,bare:A}=e,C=void 0!==w&&w,b=void 0!==A&&A;if(f[0]!==m||f[1]!==b||f[2]!==y||f[3]!==C||f[4]!==S||f[5]!==x||f[6]!==v){u=Symbol.for("react.early_return_sentinel");e:{if(s=void 0===v?h(m,x):p({permaslug:v,author:m,iconUri:x}),b){let e;f[12]!==y?(e=(0,n.cn)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",y),f[12]=y,f[13]=e):e=f[13],u=(0,t.jsx)("div",{className:e,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.cn)("size-full overflow-hidden",s?.className),faviconFor:m,imgSrc:s.url,imgSrcDark:s.darkUrl,size:256})});break e}if(C){u=(0,t.jsx)(g.IconFrame,{className:y,ringClassName:S,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.cn)("size-full",s?.className),faviconFor:m,imgSrc:s.url,imgSrcDark:s.darkUrl,size:256})});break e}f[14]!==y?(l=(0,n.cn)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",y),f[14]=y,f[15]=l):l=f[15],a=i.RemoteFavicon,o=(0,n.cn)("overflow-hidden rounded-full",s?.className)}f[0]=m,f[1]=b,f[2]=y,f[3]=C,f[4]=S,f[5]=x,f[6]=v,f[7]=a,f[8]=s,f[9]=o,f[10]=l,f[11]=u}else a=f[7],s=f[8],o=f[9],l=f[10],u=f[11];return u!==Symbol.for("react.early_return_sentinel")?u:(f[16]!==a||f[17]!==m||f[18]!==s.darkUrl||f[19]!==s.url||f[20]!==o?(c=(0,t.jsx)(a,{className:o,faviconFor:m,imgSrc:s.url,imgSrcDark:s.darkUrl,size:256}),f[16]=a,f[17]=m,f[18]=s.darkUrl,f[19]=s.url,f[20]=o,f[21]=c):c=f[21],f[22]!==l||f[23]!==c?(d=(0,t.jsx)("div",{className:l,children:c}),f[22]=l,f[23]=c,f[24]=d):d=f[24],d)}],557225)},837556,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(452473);e.s(["IconFrame",0,function(e){let i,a,s,o,l,u,c=(0,r.c)(15),{children:d,className:h,variant:p,decorative:g,ringClassName:f}=e,m=void 0!==g&&g||void 0;c[0]!==h?(i=(0,n.cn)("relative flex shrink-0 items-center justify-center","box-content p-px","overflow-hidden rounded-sm bg-background","size-6",h),c[0]=h,c[1]=i):i=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.cn)("absolute inset-px flex items-center justify-center","[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-contain","[&_img]:rounded-sm"),c[2]=a):a=c[2],c[3]!==d?(s=(0,t.jsx)("div",{className:a,children:d}),c[3]=d,c[4]=s):s=c[4];let v="app"===(void 0===p?"default":p)&&"dark:inset-px dark:ring-white";return c[5]!==f||c[6]!==v?(o=(0,n.cn)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",v,f),c[5]=f,c[6]=v,c[7]=o):o=c[7],c[8]!==o?(l=(0,t.jsx)("div",{"aria-hidden":!0,className:o}),c[8]=o,c[9]=l):l=c[9],c[10]!==m||c[11]!==i||c[12]!==s||c[13]!==l?(u=(0,t.jsxs)("div",{"aria-hidden":m,className:i,children:[s,l]}),c[10]=m,c[11]=i,c[12]=s,c[13]=l,c[14]=u):u=c[14],u}])},845961,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(452473),i=e.i(188363),a=e.i(837556);e.s(["ProviderIcon",0,e=>{let s,o,l,u,c=(0,r.c)(24),{providerName:d,providerIcon:h,className:p,frame:g}=e;if(void 0!==g&&g){let e,r,s,o;return c[0]!==p?(e=(0,n.cn)("size-8",p),c[0]=p,c[1]=e):e=c[1],c[2]!==h.className?(r=(0,n.cn)("size-full",h.className),c[2]=h.className,c[3]=r):r=c[3],c[4]!==h.darkUrl||c[5]!==h.url||c[6]!==d||c[7]!==r?(s=(0,t.jsx)(i.RemoteFavicon,{className:r,faviconFor:d,imgSrc:h.url,imgSrcDark:h.darkUrl,size:256}),c[4]=h.darkUrl,c[5]=h.url,c[6]=d,c[7]=r,c[8]=s):s=c[8],c[9]!==e||c[10]!==s?(o=(0,t.jsx)(a.IconFrame,{className:e,children:s}),c[9]=e,c[10]=s,c[11]=o):o=c[11],o}return c[12]!==p?(s=(0,n.cn)("flex items-center justify-center","rounded-lg p-1","h-8 w-8 shadow-inner","bg-muted/40",p),c[12]=p,c[13]=s):s=c[13],c[14]!==h.className?(o=(0,n.cn)("overflow-hidden rounded-sm",h.className),c[14]=h.className,c[15]=o):o=c[15],c[16]!==h.darkUrl||c[17]!==h.url||c[18]!==d||c[19]!==o?(l=(0,t.jsx)(i.RemoteFavicon,{className:o,faviconFor:d,imgSrc:h.url,imgSrcDark:h.darkUrl,size:256}),c[16]=h.darkUrl,c[17]=h.url,c[18]=d,c[19]=o,c[20]=l):l=c[20],c[21]!==s||c[22]!==l?(u=(0,t.jsx)("div",{className:s,children:l}),c[21]=s,c[22]=l,c[23]=u):u=c[23],u}])},759024,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(704318),i=e.i(452473),a=e.i(691038),s=e.i(778084),o=e.i(648156);e.s(["InfoTooltip",0,function(e){var l;let u,c,d,h,p,g,f,m,v=(0,r.c)(33),{align:x,"aria-label":y,children:w,className:S,contentClassName:A,icon:C,side:b,sideOffset:F}=e,N=void 0===b?"bottom":b,k=(0,a.useMediaMd)();v[0]!==y||v[1]!==w?(u=y??("string"==typeof(l=w)&&l.trim().length>0?l.trim():"Information"),v[0]=y,v[1]=w,v[2]=u):u=v[2],v[3]!==S?(c=(0,i.cn)("inline-flex items-center justify-center border-0 bg-transparent p-0 align-middle text-[inherit] leading-[inherit] focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus",S),v[3]=S,v[4]=c):c=v[4],v[5]!==C?(d=C??(0,t.jsx)(n.InformationCircleIcon,{className:"inline h-4 w-4 text-muted-foreground"}),v[5]=C,v[6]=d):d=v[6],v[7]!==u||v[8]!==c||v[9]!==d?(h=(0,t.jsx)("button",{type:"button",tabIndex:-1,"aria-label":u,className:c,children:d}),v[7]=u,v[8]=c,v[9]=d,v[10]=h):h=v[10];let D=h;if(k){let e,r;return v[11]!==A?(e=(0,i.cn)("max-w-xs",A),v[11]=A,v[12]=e):e=v[12],v[13]!==x||v[14]!==w||v[15]!==N||v[16]!==F||v[17]!==e||v[18]!==D?(r=(0,t.jsx)(o.Tooltip,{align:x,className:e,content:w,side:N,sideOffset:F,children:D}),v[13]=x,v[14]=w,v[15]=N,v[16]=F,v[17]=e,v[18]=D,v[19]=r):r=v[19],r}return v[20]!==D?(p=(0,t.jsx)(s.PopoverTrigger,{render:D}),v[20]=D,v[21]=p):p=v[21],v[22]!==A?(g=(0,i.cn)("w-52 p-2 text-xs",A),v[22]=A,v[23]=g):g=v[23],v[24]!==x||v[25]!==w||v[26]!==N||v[27]!==F||v[28]!==g?(f=(0,t.jsx)(s.PopoverContent,{align:x,side:N,sideOffset:F,className:g,children:w}),v[24]=x,v[25]=w,v[26]=N,v[27]=F,v[28]=g,v[29]=f):f=v[29],v[30]!==p||v[31]!==f?(m=(0,t.jsxs)(s.Popover,{children:[p,f]}),v[30]=p,v[31]=f,v[32]=m):m=v[32],m}])},188363,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(948992),i=e.i(678998),a=e.i(270401);let s=/\.(png|jpe?g|ico|svg|webp|gif|bmp)$/i;e.s(["RemoteFavicon",0,function(e){let o,l,u,c,d,h,p,g,f,m,v,x,y=(0,r.c)(51),[w,S]=(0,a.useState)(null),[A,C]=(0,a.useState)(null),[b,F]=(0,a.useState)(!1),[N,k]=(0,a.useState)(!1),D=e.size||256,E=e.hasCuratedFaviconUrl??!1;y[0]!==b||y[1]!==N||y[2]!==e.faviconFor||y[3]!==e.imgSrc||y[4]!==D||y[5]!==E?(o=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:n,hasCuratedFaviconUrl:a,imgSrc:o}){if(o)return{source:"given",src:o};if(a&&(e=>{try{let{pathname:t}=new URL(e);return s.test(t)}catch{return!1}})(e)&&!r)return{source:"curated",src:(0,i.getCdnImageUrl)(e)};let l=n?(0,i.getParentSiteUrl)(e):null;return null!==l?{source:"parent-site",src:(0,i.getFaviconUrl)(l,t)}:{source:"site",src:(0,i.getFaviconUrl)(e,t)}}({faviconFor:e.faviconFor,size:D,didCuratedIconFail:b,didSiteIconFail:N,hasCuratedFaviconUrl:E,imgSrc:e.imgSrc}),y[0]=b,y[1]=N,y[2]=e.faviconFor,y[3]=e.imgSrc,y[4]=D,y[5]=E,y[6]=o):o=y[6];let{source:M,src:I}=o;y[7]!==e.faviconFor||y[8]!==D||y[9]!==M?(l=t=>{"site"!==M||D<=16||t>16||null!==(0,i.getParentSiteUrl)(e.faviconFor)&&k(!0)},y[7]=e.faviconFor,y[8]=D,y[9]=M,y[10]=l):l=y[10];let U=l;y[11]!==e.faviconFor||y[12]!==M?(u=t=>{switch(M){case"curated":if((0,i.isOpenRouterHostedUrl)(e.faviconFor))return void S(t);F(!0);return;case"site":if(null===(0,i.getParentSiteUrl)(e.faviconFor))return void S(t);k(!0);return;case"given":case"parent-site":return void S(t);default:S(t)}},y[11]=e.faviconFor,y[12]=M,y[13]=u):u=y[13];let P=u;y[14]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{S(null)},y[14]=c):c=y[14],y[15]!==I?(d=[I],y[15]=I,y[16]=d):d=y[16],(0,a.useEffect)(c,d),y[17]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{F(!1),k(!1)},y[17]=h):h=y[17],y[18]!==e.faviconFor||y[19]!==e.imgSrc||y[20]!==D?(p=[e.faviconFor,e.imgSrc,D],y[18]=e.faviconFor,y[19]=e.imgSrc,y[20]=D,y[21]=p):p=y[21],(0,a.useEffect)(h,p),y[22]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{C(null)},y[22]=g):g=y[22],y[23]!==e.imgSrcDark?(f=[e.imgSrcDark],y[23]=e.imgSrcDark,y[24]=f):f=y[24],(0,a.useEffect)(g,f);let _=`Favicon for ${e.faviconFor}`;y[25]!==D||y[26]!==_?(m={width:D,height:D,alt:_,className:"h-full w-full object-cover"},y[25]=D,y[26]=_,y[27]=m):m=y[27];let j=m;if(e.imgSrcDark){let r,i,a;return y[28]!==w||y[29]!==j||y[30]!==P||y[31]!==U||y[32]!==I?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:w?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.GlobeAltIcon,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...j,src:I,onError:e=>P(e.toString()),onLoad:e=>U(e.currentTarget.naturalWidth)})}),y[28]=w,y[29]=j,y[30]=P,y[31]=U,y[32]=I,y[33]=r):r=y[33],y[34]!==A||y[35]!==j||y[36]!==e.imgSrcDark?(i=(0,t.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:A?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.GlobeAltIcon,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...j,src:e.imgSrcDark,onError:e=>C(e.toString())})}),y[34]=A,y[35]=j,y[36]=e.imgSrcDark,y[37]=i):i=y[37],y[38]!==e.className||y[39]!==r||y[40]!==i?(a=(0,t.jsxs)("div",{className:e.className,children:[r,i]}),y[38]=e.className,y[39]=r,y[40]=i,y[41]=a):a=y[41],a}return y[42]!==w||y[43]!==j||y[44]!==P||y[45]!==U||y[46]!==I?(v=w?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.GlobeAltIcon,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("picture",{className:"h-full w-full shrink-0",children:(0,t.jsx)("img",{...j,src:I,loading:"lazy",decoding:"async",onError:e=>P(e.toString()),onLoad:e=>U(e.currentTarget.naturalWidth)})}),y[42]=w,y[43]=j,y[44]=P,y[45]=U,y[46]=I,y[47]=v):v=y[47],y[48]!==e.className||y[49]!==v?(x=(0,t.jsx)("div",{className:e.className,children:v}),y[48]=e.className,y[49]=v,y[50]=x):x=y[50],x}])},379684,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(734293),i=e.i(452473),a=e.i(654847),s=e.i(191379),o=e.i(551365),l=e.i(971531),u=e.i(639580),c=e.i(664288);let d="text-foreground underline underline-offset-2 decoration-current/40 hover:text-accent-foreground hover:decoration-current transition-colors";e.s(["LINK_CLASSES",0,d,"TextLink",0,function(e){let h,p,g,f,m,v,x,y,w,S,A,C,b,F,N,k,D,E,M,I,U,P,_=(0,r.c)(71);_[0]!==e?({render:y,children:h,className:p,icon:g,iconPosition:w,showExternalIcon:S,prefetch:A,onFocus:f,onMouseEnter:m,onTouchStart:v,...x}=e,_[0]=e,_[1]=h,_[2]=p,_[3]=g,_[4]=f,_[5]=m,_[6]=v,_[7]=x,_[8]=y,_[9]=w,_[10]=S,_[11]=A):(h=_[1],p=_[2],g=_[3],f=_[4],m=_[5],v=_[6],x=_[7],y=_[8],w=_[9],S=_[10],A=_[11]);let j=void 0===w?"end":w,R=void 0!==S&&S,O=void 0===A?"hover":A,L=(0,u.useLocalizedHref)(x.href);_[12]!==L?(C=(0,a.getHrefString)(L),_[12]=L,_[13]=C):C=_[13],_[14]!==O||_[15]!==C?(b={prefetch:O,href:C},_[14]=O,_[15]=C,_[16]=b):b=_[16],_[17]!==f||_[18]!==m||_[19]!==v?(F={onFocus:f,onMouseEnter:m,onTouchStart:v},_[17]=f,_[18]=m,_[19]=v,_[20]=F):F=_[20];let B=(0,l.useLinkPrefetch)(b,F);_[21]!==p?(N=(0,i.cn)(d,"text-xs cursor-pointer",p),_[21]=p,_[22]=N):N=_[22];let T=N;_[23]!==g||_[24]!==R?(k=g??(R?(0,t.jsx)(s.ArrowUpRight,{className:"inline size-3 align-[-1px]"}):null),_[23]=g,_[24]=R,_[25]=k):k=_[25];let $=k;_[26]!==j||_[27]!==$?(D="start"===j&&$?(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:$}):null,_[26]=j,_[27]=$,_[28]=D):D=_[28];let z=D;_[29]!==j||_[30]!==$?(E="end"===j&&$?(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:$}):null,_[29]=j,_[30]=$,_[31]=E):E=_[31];let H=E,V=(0,a.isCrossZoneHref)(L);_[32]!==h||_[33]!==y?(M=y?(0,c.getChildContent)(y):h,_[32]=h,_[33]=y,_[34]=M):M=_[34];let G=M;_[35]!==G||_[36]!==H||_[37]!==L||_[38]!==f||_[39]!==m||_[40]!==v||_[41]!==x||_[42]!==y||_[43]!==T||_[44]!==z?(I=y?{className:T,children:(0,t.jsxs)(t.Fragment,{children:[z,G,H]}),...x,onFocus:f,onMouseEnter:m,onTouchStart:v,href:L}:{},_[35]=G,_[36]=H,_[37]=L,_[38]=f,_[39]=m,_[40]=v,_[41]=x,_[42]=y,_[43]=T,_[44]=z,_[45]=I):I=_[45],_[46]!==y||_[47]!==I?(U={render:y,defaultTagName:"a",props:I},_[46]=y,_[47]=I,_[48]=U):U=_[48];let W=(0,n.useRender)(U);if(y){if(V)throw Error(`TextLink: cross-zone href "${(0,a.getHrefString)(L)}" cannot be combined with the render prop. Use a plain element instead.`);return W}if(V){let e,r,n;if(_[49]!==x){let{href:t,replace:r,scroll:n,shallow:i,passHref:a,legacyBehavior:s,locale:o,onNavigate:l,...u}=x;e=u,_[49]=x,_[50]=e}else e=_[50];return _[51]!==L?(r=(0,a.getHrefString)(L),_[51]=L,_[52]=r):r=_[52],_[53]!==e||_[54]!==h||_[55]!==H||_[56]!==f||_[57]!==m||_[58]!==v||_[59]!==T||_[60]!==z||_[61]!==r?(n=(0,t.jsxs)("a",{href:r,className:T,onFocus:f,onMouseEnter:m,onTouchStart:v,...e,children:[z,h,H]}),_[53]=e,_[54]=h,_[55]=H,_[56]=f,_[57]=m,_[58]=v,_[59]=T,_[60]=z,_[61]=r,_[62]=n):n=_[62],n}return _[63]!==h||_[64]!==H||_[65]!==L||_[66]!==B||_[67]!==x||_[68]!==T||_[69]!==z?(P=(0,t.jsxs)(o.default,{className:T,...x,...B,href:L,children:[z,h,H]}),_[63]=h,_[64]=H,_[65]=L,_[66]=B,_[67]=x,_[68]=T,_[69]=z,_[70]=P):P=_[70],P}])},664288,e=>{"use strict";e.s(["getChildContent",0,function(e){let{props:t}=e;if("object"==typeof t&&null!==t&&"children"in t)return t.children}])},388095,e=>{"use strict";var t=e.i(505962),r=e.i(270401);e.s(["useResettableState",0,function(e,n){let i,a,s=(0,t.c)(5);s[0]!==n||s[1]!==e?(i=()=>n(e),s[0]=n,s[1]=e,s[2]=i):i=s[2];let[o,l]=(0,r.useState)(i),[u,c]=(0,r.useState)(e);return Object.is(u,e)||(c(e),l(n(e))),s[3]!==o?(a=[o,l],s[3]=o,s[4]=a):a=s[4],a}])},638471,e=>{"use strict";var t=e.i(505962),r=e.i(270401);e.s(["useMutationObserver",0,(e,n,i)=>{let a,s,o,l=(0,t.c)(7);l[0]!==i?(a=void 0===i?{attributes:!0,characterData:!0,childList:!0,subtree:!0}:i,l[0]=i,l[1]=a):a=l[1];let u=a;l[2]!==n||l[3]!==u||l[4]!==e?(s=()=>{if(!e.current)return;let t=new MutationObserver(n);return t.observe(e.current,u),()=>t.disconnect()},o=[e,n,u],l[2]=n,l[3]=u,l[4]=e,l[5]=s,l[6]=o):(s=l[5],o=l[6]),(0,r.useEffect)(s,o)}])},838011,e=>{"use strict";e.s(["isCoarsePointer",0,function(){return globalThis.window?.matchMedia?.("(pointer: coarse)").matches??!1}])},463522,e=>{"use strict";e.s(["isValidDate",0,function(e){return!Number.isNaN(e.getTime())},"oneDayMS",0,864e5,"oneHourSeconds",0,3600,"oneMinuteMS",0,6e4,"oneMonthMS",0,2592e6,"oneWeekMS",0,6048e5,"parseClickhouseTimestampUTC",0,function(e){if(!e)return new Date(NaN);let t=e.replace(" ","T");return new Date(/[zZ]$|[+-]\d{2}:\d{2}$/.test(t)?t:`${t}Z`)},"safeParseDate",0,function(e,t){if(!e)return t;if(e instanceof Date)return Number.isNaN(e.getTime())?t:e;if("string"==typeof e||"number"==typeof e){let t=new Date(e);if(!Number.isNaN(t.getTime()))return t}return t},"startOfUTCMonth",0,function(e,t=0){return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+t,1))},"toDateString",0,e=>e.toISOString().split("T")[0]])},958969,e=>{"use strict";e.s(["LatestRouterModel",0,{AnthropicClaudeOpus:"~anthropic/claude-opus-latest",AnthropicClaudeSonnet:"~anthropic/claude-sonnet-latest",AnthropicClaudeHaiku:"~anthropic/claude-haiku-latest",GoogleGeminiPro:"~google/gemini-pro-latest",GoogleGeminiFlash:"~google/gemini-flash-latest",OpenAIGpt:"~openai/gpt-latest",OpenAIGptSol:"~openai/gpt-sol-latest",OpenAIGptMini:"~openai/gpt-mini-latest",MoonshotKimi:"~moonshotai/kimi-latest"},"RouterModel",0,{Auto:"openrouter/auto",AutoBeta:"openrouter/auto-beta",BodyBuilder:"openrouter/bodybuilder",Free:"openrouter/free",ParetoCode:"openrouter/pareto-code",Fusion:"openrouter/fusion",FusionFlash:"openrouter/fusion-flash",Phaser:"openrouter/phaser"}])},678998,e=>{"use strict";e.i(687421);let t=(e,t=256)=>`https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${e}&size=${t}`,r=new Set(["ac","co","com","edu","go","gob","gov","ltd","me","ne","net","nom","or","org","plc","sch"]),n=new Set(["amazonaws.com","azurewebsites.net","cloudfront.net","firebaseapp.com","fly.dev","github.io","gitlab.io","herokuapp.com","ngrok.app","ngrok.io","netlify.app","onrender.com","pages.dev","run.app","vercel.app","web.app","workers.dev"]),i=e=>{try{let t=new URL(e).hostname.toLowerCase().replace(/\.$/,"");return"openrouter.ai"===t||t.endsWith(".openrouter.ai")}catch{return!1}},a=t("https://huggingface.co/");e.s(["HUGGING_FACE_FAVICON_URL",0,a,"getCdnImageUrl",0,e=>i(e)?e:`/api/frontend/v1/image-proxy?url=${encodeURIComponent(e)}`,"getFaviconUrl",0,t,"getLocalIconUri",0,e=>`/images/icons/${e}`,"getParentSiteUrl",0,e=>{let t=(e=>{let t=/^[a-z][a-z\d+\-.]*:\/\//iu.test(e)?e:`https://${e}`;try{return new URL(t).hostname.toLowerCase().replace(/\.$/u,"")}catch{return null}})(e);if(null===t)return null;let i=t.split(".").slice(1);if(i.length<2||2===i.length&&2===(i[1]??"").length&&r.has(i[0]??""))return null;let a=i.join(".");return[...n].some(e=>a===e||a.endsWith(`.${e}`))?null:`https://${a}`},"isOpenRouterHostedUrl",0,i])},651825,e=>{"use strict";var t=e.i(370066),r=e.i(61291);e.s(["formatTokens",0,function(e,r){return(0,t.formatNumber)(r,{locale:e,preset:"provider-tokens"})??"—"},"formatUptimePercent",0,function(e,t){return(0,r.formatPercentPoints)(t,{locale:e,preset:"fixed-2"})??"—"},"formatUptimePercentFloor",0,function(e,t){let n=Number((100*t).toPrecision(12));return(0,r.formatPercentPoints)(Math.floor(n)/100,{locale:e,preset:"native-fixed-2"})??"—"}])},148572,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(452473),i=e.i(394333),a=e.i(980351),s=e.i(779100),o=e.i(150049),l=e.i(180711),u=e.i(230953),c=e.i(270401),d=e.i(651825);let h={good:"fill-positive",ok:"fill-warning",bad:"fill-negative",noData:"fill-muted-foreground"},p=[{key:"start",widthClassName:"w-9"},{key:"middle",widthClassName:"w-9"},{key:"yesterday",widthClassName:"w-12"},{key:"now",widthClassName:"w-6"}],g=e=>null===e?h.noData:e>=95?h.good:e>=85?h.ok:h.bad;function f(e){let{key:r,widthClassName:a}=e;return(0,t.jsx)(i.Skeleton,{className:(0,n.cn)("h-3",a),"data-uptime-skeleton":"tick-label"},r)}function m(e,r){return(0,t.jsx)(i.Skeleton,{className:"h-8 flex-1 rounded-none","data-uptime-skeleton":"bar"},`uptime-bar-${r}`)}function v(e,t){return"availability"===t&&"availability"in e?e.availability:e.uptime}function x(e,t){return null===t?"N/A":(0,d.formatUptimePercentFloor)(e,t)}function y(e,t){return new Date(e.getTime()+60*t*6e4)}function w({locale:e,timeZone:t,date:r}){return`${(0,u.formatDate)(r,{locale:e,timeZone:t,preset:"day-month"})??"—"}, ${S({locale:e,timeZone:t,date:r})}`}function S({locale:e,timeZone:t,date:r}){return(0,u.formatTime)(r,{locale:e,timeZone:t,preset:"hour-only"})??"—"}e.s(["UPTIME_COLORS",0,h,"UptimeTimelineBar",0,function(e){var i,d,p;let f,m,A,C,b,F,N,k,D,E,M,I,U,P,_,j,R,O,L,B,T,$=(0,r.c)(88),{points:z,metric:H,className:V,title:G,defaultValue:W}=e,q=void 0===H?"uptime":H,K=(0,s.useLocale)(),Z=(0,o.useResolvedDisplayTimeZone)("local"),[Y,J]=(0,c.useState)(null),[Q,X]=(0,c.useState)(null),ee=(0,a.useHydrated)();if($[0]!==W||$[1]!==Y||$[2]!==q||$[3]!==z){let e=z.at(-1),t=void 0!==W;if(Y){let e;$[5]!==Y||$[6]!==q?(e=v(Y,q),$[5]=Y,$[6]=q,$[7]=e):e=$[7],f=e}else f=t?W??null:e?v(e,q):null;$[0]=W,$[1]=Y,$[2]=q,$[3]=z,$[4]=f}else f=$[4];let et="Last 72 hours";if(ee){let e;$[8]!==Y||$[9]!==K||$[10]!==z||$[11]!==Z?(e=Y?function({locale:e,timeZone:t,date:r}){let n=y(r,1),i=(0,l.calendarDateForInstant)(r,{timeZone:t}),a=(0,l.calendarDateForInstant)(n,{timeZone:t}),s=void 0!==i&&i===a?S({locale:e,timeZone:t,date:n}):w({locale:e,timeZone:t,date:n});return`${w({locale:e,timeZone:t,date:r})} - ${s}`}({locale:K,timeZone:Z,date:Y.date}):function({locale:e,timeZone:t,points:r}){let n=r[0]?.date,i=r.at(-1)?.date;return n&&i?`${w({locale:e,timeZone:t,date:n})} - ${w({locale:e,timeZone:t,date:y(i,1)})}`:"Last 72 hours"}({locale:K,timeZone:Z,points:z}),$[8]=Y,$[9]=K,$[10]=z,$[11]=Z,$[12]=e):e=$[12],et=e}let er=0===z.length?0:100/z.length;if($[13]!==V?(m=(0,n.cn)(V),$[13]=V,$[14]=m):m=$[14],$[15]!==et||$[16]!==G?(A=G?(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-wrap items-baseline gap-x-2 max-sm:basis-full",children:[(0,t.jsx)("h3",{className:"text-sm font-medium text-foreground",children:G}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground/70",children:et})]}):(0,t.jsx)("span",{className:"min-w-0 flex-1 text-xs text-muted-foreground/70 max-sm:basis-full",children:et}),$[15]=et,$[16]=G,$[17]=A):A=$[17],$[18]!==f?(C=(0,n.cn)("shrink-0 text-right text-sm font-medium tabular-nums",null===(i=f)?"text-muted-foreground":i>=95?"text-positive":i>=85?"text-warning":"text-destructive"),$[18]=f,$[19]=C):C=$[19],$[20]!==f||$[21]!==K||$[22]!==q?(b=function(e,{metric:t,displayValue:r}){return"availability"===t?`Availability ${x(e,r)}`:x(e,r)}(K,{metric:q,displayValue:f}),$[20]=f,$[21]=K,$[22]=q,$[23]=b):b=$[23],$[24]!==C||$[25]!==b?(F=(0,t.jsx)("span",{className:C,children:b}),$[24]=C,$[25]=b,$[26]=F):F=$[26],$[27]!==A||$[28]!==F?(N=(0,t.jsxs)("div",{className:"mb-4 flex flex-wrap items-center justify-between gap-2","data-uptime-timeline-header":"true",children:[A,F]}),$[27]=A,$[28]=F,$[29]=N):N=$[29],$[30]!==q||$[31]!==z.length?(d=q,p=z.length,k=`${"availability"===d?"Availability":"Uptime"} timeline for ${p} ${1===p?"hour":"hours"}`,$[30]=q,$[31]=z.length,$[32]=k):k=$[32],$[33]!==er||$[34]!==ee||$[35]!==K||$[36]!==q||$[37]!==z||$[38]!==Z){let e;$[40]!==er||$[41]!==ee||$[42]!==K||$[43]!==q||$[44]!==Z?(e=(e,r)=>{let i=g(v(e,q)),a=`${r*er}%`,s=`${er-.2}%`,o=()=>{J(e),X(r)};return(0,t.jsx)("g",{children:(0,t.jsx)("rect",{role:"button",tabIndex:0,"aria-label":function(e,{point:t,metric:r,isHydrated:n,timeZone:i}){let a=n?(0,u.formatDateTime)(t.date,{locale:e,timeZone:i,preset:"numeric-seconds"})??"—":t.date.toISOString();return"availability"===r?`${a}: Availability ${x(e,v(t,r))}`:`${a}: ${x(e,t.uptime)}`}(K,{point:e,metric:q,isHydrated:ee,timeZone:Z}),x:a,y:"0",width:s,height:32,className:(0,n.cn)("transition-all duration-300",i),fillOpacity:i===h.noData?.2:.95,onFocus:o,onBlur:()=>{X(null),J(null)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),o())},onMouseEnter:o,onMouseLeave:()=>{X(null),J(null)}})},e.date.toISOString())},$[40]=er,$[41]=ee,$[42]=K,$[43]=q,$[44]=Z,$[45]=e):e=$[45],D=z.map(e),$[33]=er,$[34]=ee,$[35]=K,$[36]=q,$[37]=z,$[38]=Z,$[39]=D}else D=$[39];return $[46]!==er||$[47]!==Q||$[48]!==q||$[49]!==z?(E=null!==Q&&z[Q]&&(0,t.jsx)("circle",{cx:`${Q*er+er/2}%`,cy:"-6",r:"2.5",className:(0,n.cn)("animate-in fade-in duration-200",g(v(z[Q],q)))}),$[46]=er,$[47]=Q,$[48]=q,$[49]=z,$[50]=E):E=$[50],$[51]!==E||$[52]!==k||$[53]!==D?(M=(0,t.jsxs)("svg",{width:"100%",height:32,className:"overflow-visible","aria-label":k,role:"img",children:[D,E]}),$[51]=E,$[52]=k,$[53]=D,$[54]=M):M=$[54],$[55]!==ee||$[56]!==K||$[57]!==z[0]?.date||$[58]!==Z?(I=ee?(0,u.formatDate)(z[0]?.date,{locale:K,timeZone:Z,preset:"weekday"})??"3 Days Ago":"3 Days Ago",$[55]=ee,$[56]=K,$[57]=z[0]?.date,$[58]=Z,$[59]=I):I=$[59],$[60]!==I?(U=(0,t.jsx)("span",{children:I}),$[60]=I,$[61]=U):U=$[61],$[62]!==ee||$[63]!==K||$[64]!==z[24]?.date||$[65]!==Z?(P=ee?(0,u.formatDate)(z[24]?.date,{locale:K,timeZone:Z,preset:"weekday"})??"2 Days Ago":"2 Days Ago",$[62]=ee,$[63]=K,$[64]=z[24]?.date,$[65]=Z,$[66]=P):P=$[66],$[67]!==P?(_=(0,t.jsx)("span",{children:P}),$[67]=P,$[68]=_):_=$[68],$[69]!==ee||$[70]!==K||$[71]!==z[48]?.date||$[72]!==Z?(j=ee?(0,u.formatDate)(z[48]?.date,{locale:K,timeZone:Z,preset:"weekday"})??"Yesterday":"Yesterday",$[69]=ee,$[70]=K,$[71]=z[48]?.date,$[72]=Z,$[73]=j):j=$[73],$[74]!==j?(R=(0,t.jsx)("span",{children:j}),$[74]=j,$[75]=R):R=$[75],$[76]===Symbol.for("react.memo_cache_sentinel")?(O=(0,t.jsx)("span",{children:"Now"}),$[76]=O):O=$[76],$[77]!==U||$[78]!==_||$[79]!==R?(L=(0,t.jsxs)("div",{className:"absolute -bottom-6 left-0 right-0 flex justify-between text-2xs text-muted-foreground/70",children:[U,_,R,O]}),$[77]=U,$[78]=_,$[79]=R,$[80]=L):L=$[80],$[81]!==M||$[82]!==L?(B=(0,t.jsxs)("div",{className:"relative h-8 mb-6",children:[M,L]}),$[81]=M,$[82]=L,$[83]=B):B=$[83],$[84]!==m||$[85]!==B||$[86]!==N?(T=(0,t.jsxs)("div",{className:m,children:[N,B]}),$[84]=m,$[85]=B,$[86]=N,$[87]=T):T=$[87],T},"UptimeTimelineSkeleton",0,function(e){let a,s,o,l,u,c=(0,r.c)(7),{className:d}=e;return c[0]!==d?(a=(0,n.cn)(d),c[0]=d,c[1]=a):a=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsxs)("div",{className:"mb-4 flex items-center justify-between",children:[(0,t.jsx)(i.Skeleton,{className:"h-4 w-40","data-uptime-skeleton":"range-label"}),(0,t.jsx)(i.Skeleton,{className:"h-5 w-12","data-uptime-skeleton":"value"})]}),c[2]=s):s=c[2],c[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("div",{className:"flex h-8 gap-px overflow-hidden rounded-sm","aria-hidden":"true",children:Array.from({length:72},m)}),c[3]=o):o=c[3],c[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"relative h-8 mb-6",children:[o,(0,t.jsx)("div",{className:"absolute -bottom-6 left-0 right-0 flex justify-between",children:p.map(f)})]}),c[4]=l):l=c[4],c[5]!==a?(u=(0,t.jsxs)("div",{className:a,role:"status","aria-label":"Loading uptime timeline",children:[s,l]}),c[5]=a,c[6]=u):u=c[6],u},"getUptimeColor",0,g])},974601,e=>{"use strict";var t=e.i(575043),r=e.i(463522),n=e.i(204067),i=e.i(796805);let a=i.z.object({date:i.z.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/u).refine(e=>{let n=(0,r.parseClickhouseTimestampUTC)(e);return!Number.isNaN(n.getTime())&&(0,t.toClickhouseTimestamp)(n)===e}),uptime:(0,n.zDouble)().min(0).max(100).nullable()}),s=i.z.object({history:i.z.array(a)});e.s(["UptimeHourlyResponseSchema",0,s])},657011,733205,e=>{"use strict";var t=e.i(288027),r=e.i(370066),n=e.i(988855),i=e.i(706527),a=e.i(408784),s=e.i(948810),o=e.i(639241);let l={Newest:"newest",Name:"name",PriceAscending:"price_asc",PriceDescending:"price_desc",ContextAscending:"context_asc",ContextDescending:"context_desc"},u={Date:"date",Provider:"provider",None:"none"},c={Detailed:"detailed",Simple:"simple"},d={sort:l.Newest,groupBy:u.Date,displayMode:c.Simple,inputModalities:[],outputModalities:[],authors:[],showFreeOnly:!1,isPinnedPanelExpanded:!0,filtersExpanded:!1},h=(0,s.create)()((0,o.persist)(e=>({...d,setSort:t=>e({sort:t}),setGroupBy:t=>e({groupBy:t}),setDisplayMode:t=>e({displayMode:t}),setInputModalities:t=>e({inputModalities:t}),setOutputModalities:t=>e({outputModalities:t}),setAuthors:t=>e({authors:t}),setShowFreeOnly:t=>e({showFreeOnly:t}),setPinnedPanelExpanded:t=>e({isPinnedPanelExpanded:t}),setFiltersExpanded:t=>e({filtersExpanded:t}),clearFilters:()=>e({inputModalities:[],outputModalities:[],authors:[],showFreeOnly:!1,filtersExpanded:!1})}),{name:"openrouter:model-select-prefs",version:1,storage:(0,o.createJSONStorage)(()=>localStorage),partialize:e=>({sort:e.sort,groupBy:e.groupBy,displayMode:e.displayMode,isPinnedPanelExpanded:e.isPinnedPanelExpanded})}));e.s(["MODEL_SELECT_PREFS_DEFAULTS",0,d,"ModelSelectDisplay",0,c,"ModelSelectGroupBy",0,u,"ModelSelectSort",0,l,"useModelSelectPrefsStore",0,h],733205);var p=e.i(690387);let g=[{value:l.Newest,label:"Newest first"},{value:l.Name,label:"Name A-Z"},{value:l.ContextAscending,label:"Context low-high"},{value:l.ContextDescending,label:"Context high-low"},{value:l.PriceAscending,label:"Price low-high"},{value:l.PriceDescending,label:"Price high-low"}],f=[{value:u.Date,label:"Date"},{value:u.Provider,label:"Provider"},{value:u.None,label:"None"}],m=[{value:c.Detailed,label:"Detailed"},{value:c.Simple,label:"Simple"}];function v(e){return e.author_display_name??e.author}function x(e){let r=e.endpoint?.pricing.prompt;return void 0===r?1/0:(0,t.bn)(r).toNumber()}function y(e,t,r){switch(r){case l.Newest:return t.toSorted((e,t)=>new Date(t.created_at).getTime()-new Date(e.created_at).getTime());case l.Name:return t.toSorted((t,r)=>(0,n.compareDisplayText)(t.short_name,r.short_name,{locale:e}));case l.PriceAscending:return t.toSorted((e,t)=>x(e)-x(t));case l.PriceDescending:return t.toSorted((e,t)=>x(t)-x(e));case l.ContextAscending:return t.toSorted((e,t)=>e.context_length-t.context_length);case l.ContextDescending:return t.toSorted((e,t)=>t.context_length-e.context_length);default:return t}}function w(e){return e.flatMap(([,e])=>e)}e.s(["DISPLAY_OPTIONS",0,m,"GROUP_BY_OPTIONS",0,f,"GROUP_EXTERNAL_LINKS",0,{"g:models":{href:"/models",aria:"Browse all models"},"g:providers":{href:"/providers",aria:"Browse all providers"}},"SORT_OPTIONS",0,g,"buildAuthorFilterOptions",0,function(e,t){let r=new Map;for(let e of w(t))r.has(e.author)||r.set(e.author,v(e));return Array.from(r.entries()).map(([e,t])=>({key:e,label:t})).toSorted((t,r)=>(0,n.compareDisplayText)(t.label,r.label,{locale:e}))},"buildDisplayGroupEntries",0,function(e,{groupEntries:t,groupBy:r,sort:n}){switch(r){case u.Date:return t.map(([t,r])=>[t,y(e,r,n)]);case u.Provider:return function(e){let t=new Map;for(let r of e){let e=v(r),n=t.get(e);if(n){n.push(r);continue}t.set(e,[r])}return Array.from(t.entries()).toSorted(([e],[t])=>(0,a.compareCanonicalText)(e,t))}(y(e,w(t),n));case u.None:return[["",y(e,w(t),n)]];default:return t}},"buildRows",0,function({flat:e,filtered:t,groupEntries:r,excludeSlugs:n}){if(t&&t.length>0)return t.map(({item:e,score:t})=>({type:"model",key:`m:${(0,i.getModelVariantSlug)(e.model)}`,group:e.group,model:e.model,score:t}));if(t)return[];let a=r.map(([e])=>e),s=new Map;for(let{group:t,model:r}of e)n?.has((0,i.getModelVariantSlug)(r))||(s.has(t)||s.set(t,[]),s.get(t).push(r));let o=[];for(let e of a){let t=s.get(e);if(t&&0!==t.length)for(let r of(e&&o.push({type:"group",key:`g:${e}`,group:e}),t))o.push({type:"model",key:`m:${(0,i.getModelVariantSlug)(r)}`,group:e,model:r})}return o},"formatCompactModelPrice",0,function(e,t){let r=t.endpoint?.display_pricing??[];if((0,p.isModelFree)(t.endpoint,r))return"Free";let n=(0,p.deriveEndpointInlinePricing)(e,t.endpoint,r);return n?.kind==="custom"?n.label:n?.kind==="standard-tokens"?`${n.inputPrice} / ${n.outputPrice}`:"—"},"formatContextLength",0,function(e,t){return(0,r.formatNumber)(t,{locale:e,preset:"model-select-context"})??"—"},"getNextContextSort",0,function(e){return e===l.ContextAscending?l.ContextDescending:e===l.ContextDescending?l.Newest:l.ContextAscending},"getNextPriceSort",0,function(e){return e===l.PriceAscending?l.PriceDescending:e===l.PriceDescending?l.Newest:l.PriceAscending},"getSelectedOptionLabel",0,function(e,t){return e.find(e=>e.value===t)?.label??t},"isModelSelected",0,function({model:e,selectedSlug:t,selectedModelSlugs:r}){let n=(0,i.getModelVariantSlug)(e);return t===n||!!r&&(r.includes(n)||r.includes((0,i.getModelVariantPermaslug)(e)))},"mergeExtraModelsIntoGroupEntries",0,function({groupEntries:e,extraModels:t,groupName:r="Local"}){if(!t||0===t.length)return e;let n=new Set(t.map(i.getModelVariantSlug));return[[r,t],...e.map(([e,t])=>[e,t.filter(e=>!n.has((0,i.getModelVariantSlug)(e)))]).filter(([,e])=>e.length>0)]}],657011)},408784,e=>{"use strict";var t=e.i(988855),r=e.i(704355);e.s(["compareCanonicalText",0,function(e,n){return(0,t.compareDisplayText)(e,n,{locale:r.DEFAULT_LOCALE})}])},175817,e=>{"use strict";e.s(["getTotalTokens",0,e=>e?e.total_prompt_tokens+(e.total_completion_tokens??0):0])}]); //# sourceMappingURL=37y44ljhmllov.js.map //# chunkId=01a09faf-5007-78d3-a187-ce526c6b660b