!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]="01a09e9c-6d0e-7942-9693-a70b618419f9")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,512357,741485,58115,e=>{"use strict";var t=e.i(270401),r=e.i(120102),n=e.i(86222),i=e.i(228876),a=e.i(361409),o=e.i(192291),l=e.i(271710),c=e.i(365054),s=e.i(686738),u=e.i(302113),d=e.i(991066),g=e.i(939550),f=e.i(467219),m=e.i(846755),v=e.i(861187);function h(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function p(e,t){return h(t,e===v.ARROW_UP||e===v.ARROW_DOWN,e===v.ARROW_LEFT||e===v.ARROW_RIGHT)}function b(e,t,r){return h(t,e===v.ARROW_DOWN,r?e===v.ARROW_LEFT:e===v.ARROW_RIGHT)||"Enter"===e||" "===e||""===e}e.s(["useListNavigation",0,function(e,w){let I="rootStore"in e?e.rootStore:e,y=I.useState("open"),x=I.useState("floatingElement"),U=I.useState("domReferenceElement"),N=I.context.dataRef,{listRef:F,activeIndex:k,onNavigate:L=()=>{},enabled:R=!0,selectedIndex:S=null,allowEscape:E=!1,loopFocus:O=!1,nested:C=!1,rtl:P=!1,virtual:A=!1,focusItemOnOpen:T="auto",focusItemOnHover:M=!0,openOnArrowKeyDown:_=!0,disabledIndices:D,orientation:j="vertical",parentOrientation:W,cols:z=1,id:G,resetOnPointerLeave:H=!0,externalTree:V}=w,$=(0,c.getFloatingFocusElement)(x),B=(0,n.useValueAsRef)($),K=(0,d.useFloatingParentNodeId)(),q=(0,d.useFloatingTree)(V);(0,a.useIsoLayoutEffect)(()=>{N.current.orientation=j},[N,j]);let Y=(0,c.isTypeableCombobox)(U),J=t.useRef(T),Z=t.useRef(S??-1),Q=t.useRef(null),X=t.useRef(!0),ee=(0,i.useStableCallback)(e=>{L(-1===Z.current?null:Z.current,e)}),et=t.useRef(ee),er=t.useRef(!!x),en=t.useRef(y),ei=t.useRef(!1),ea=t.useRef(!1),eo=t.useRef(null),el=(0,n.useValueAsRef)(D),ec=(0,n.useValueAsRef)(y),es=(0,n.useValueAsRef)(S),eu=(0,n.useValueAsRef)(H),ed=(0,i.useStableCallback)(()=>{function e(e){A?q?.events.emit("virtualfocus",e):eo.current=(0,m.enqueueFocus)(e,{sync:ei.current,preventScroll:!0})}let t=F.current[Z.current],r=ea.current;t&&e(t),(ei.current?e=>e():requestAnimationFrame)(()=>{let n=F.current[Z.current]||t;!n||(t||e(n),em&&(r||!X.current)&&n.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,a.useIsoLayoutEffect)(()=>{R&&(y&&x?(Z.current=S??-1,J.current&&null!=S&&(ea.current=!0,ee())):er.current&&(Z.current=-1,et.current()))},[R,y,x,S,ee]),(0,a.useIsoLayoutEffect)(()=>{if(R){if(!y){ei.current=!1;return}if(x)if(null==k){if(ei.current=!1,null!=es.current)return;if(er.current&&(Z.current=-1,ed()),(!en.current||!er.current)&&J.current&&(null!=Q.current||!0===J.current&&null==Q.current)){let e=0,t=()=>{null==F.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(Z.current=null==Q.current||b(Q.current,j,P)||C?(0,u.getMinListIndex)(F):(0,u.getMaxListIndex)(F),Q.current=null,ee())};t()}}else(0,u.isIndexOutOfListBounds)(F.current,k)||(Z.current=k,ed(),ea.current=!1)}},[R,y,x,k,es,C,F,j,P,ee,ed,el]),(0,a.useIsoLayoutEffect)(()=>{if(!R||x||!q||A||!er.current)return;let e=q.nodesRef.current,t=e.find(e=>e.id===K)?.context?.elements.floating,r=(0,l.activeElement)((0,o.ownerDocument)(x)),n=e.some(e=>e.context&&(0,l.contains)(e.context.elements.floating,r));t&&!n&&X.current&&t.focus({preventScroll:!0})},[R,x,q,K,A]),(0,a.useIsoLayoutEffect)(()=>{et.current=ee,en.current=y,er.current=!!x}),(0,a.useIsoLayoutEffect)(()=>{y||(Q.current=null,J.current=T)},[y,T]);let eg=null!=k,ef=(0,i.useStableCallback)(e=>{if(!ec.current)return;let t=F.current.indexOf(e.currentTarget);-1!==t&&(Z.current!==t||k!==t)&&(Z.current=t,ee(e))}),em=t.useMemo(()=>({onFocus(e){ei.current=!0,ef(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){ei.current=!0,ea.current=!1,M&&ef(e)},onPointerLeave(e){if(!ec.current||!X.current||"touch"===e.pointerType)return;ei.current=!0;let t=e.relatedTarget;if(!(!M||F.current.includes(t))&&eu.current&&(eo.current?.(),eo.current=null,Z.current=-1,ee(e),!A)){let e=B.current,t=(0,l.activeElement)((0,o.ownerDocument)(e));e&&(0,l.contains)(e,t)&&e.focus({preventScroll:!0})}}}),[ef,ec,B,M,F,ee,eu,A]),ev=t.useCallback(()=>W??q?.nodesRef.current.find(e=>e.id===K)?.context?.dataRef?.current.orientation,[K,q,W]),eh=(0,i.useStableCallback)(e=>{var t;let n,i;if(X.current=!1,ei.current=!0,229===e.which||!ec.current&&e.currentTarget===B.current)return;if(C&&(t=e.key,n=P?t===v.ARROW_RIGHT:t===v.ARROW_LEFT,i=t===v.ARROW_UP,"both"===j||"horizontal"===j&&z&&z>1?"Escape"===t:h(j,n,i))){p(e.key,ev())||(0,s.stopEvent)(e),I.setOpen(!1,(0,g.createChangeEventDetails)(f.REASONS.listNavigation,e.nativeEvent)),(0,r.isHTMLElement)(U)&&(A?q?.events.emit("virtualfocus",U):U.focus());return}let a=Z.current,o=(0,u.getMinListIndex)(F,D),c=(0,u.getMaxListIndex)(F,D);if(Y||("Home"===e.key&&((0,s.stopEvent)(e),Z.current=o,ee(e)),"End"===e.key&&((0,s.stopEvent)(e),Z.current=c,ee(e))),z>1){let t=Array.from({length:F.current.length},()=>({width:1,height:1})),r=(0,u.createGridCellMap)(t,z,!1),n=r.findIndex(e=>null!=e&&!(0,u.isListIndexDisabled)(F.current,e,D)),i=r.reduce((e,t,r)=>null==t||(0,u.isListIndexDisabled)(F.current,t,D)?e:r,-1),a=r[(0,u.getGridNavigatedIndex)(r.map(e=>null!=e?F.current[e]:null),{event:e,orientation:j,loopFocus:O,rtl:P,cols:z,disabledIndices:(0,u.getGridCellIndices)([...("function"!=typeof D?D:null)||F.current.map((e,t)=>(0,u.isListIndexDisabled)(F.current,t,D)?t:void 0),void 0],r),minIndex:n,maxIndex:i,prevIndex:(0,u.getGridCellIndexOfCorner)(Z.current>c?o:Z.current,t,r,z,e.key===v.ARROW_DOWN?"bl":e.key===(P?v.ARROW_LEFT:v.ARROW_RIGHT)?"tr":"tl"),stopEvent:!0})];if(null!=a&&(Z.current=a,ee(e)),"both"===j)return}if(p(e.key,j)){if((0,s.stopEvent)(e),y&&!A&&(0,l.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){Z.current=b(e.key,j,P)?o:c,ee(e);return}b(e.key,j,P)?O?a>=c?E&&a!==F.current.length?Z.current=-1:(ei.current=!1,Z.current=o):Z.current=(0,u.findNonDisabledListIndex)(F.current,{startingIndex:a,disabledIndices:D}):Z.current=Math.min(c,(0,u.findNonDisabledListIndex)(F.current,{startingIndex:a,disabledIndices:D})):O?a<=o?E&&-1!==a?Z.current=F.current.length:(ei.current=!1,Z.current=c):Z.current=(0,u.findNonDisabledListIndex)(F.current,{startingIndex:a,decrement:!0,disabledIndices:D}):Z.current=Math.max(o,(0,u.findNonDisabledListIndex)(F.current,{startingIndex:a,decrement:!0,disabledIndices:D})),(0,u.isIndexOutOfListBounds)(F.current,Z.current)&&(Z.current=-1),ee(e)}}),ep=t.useMemo(()=>A&&y&&eg&&{"aria-activedescendant":`${G}-${k}`},[A,y,eg,G,k]),eb=t.useMemo(()=>({"aria-orientation":"both"===j?void 0:j,...!Y?ep:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&y&&!A){let t=(0,l.getTarget)(e.nativeEvent);if(t&&!(0,l.contains)(B.current,t))return;(0,s.stopEvent)(e),I.setOpen(!1,(0,g.createChangeEventDetails)(f.REASONS.focusOut,e.nativeEvent)),(0,r.isHTMLElement)(U)&&U.focus();return}eh(e)},onPointerMove(){X.current=!0}}),[ep,eh,B,j,Y,I,y,A,U]),ew=t.useMemo(()=>{function e(e){"auto"===T&&(0,s.isVirtualClick)(e.nativeEvent)&&(J.current=!A)}function t(e){J.current=T,"auto"===T&&(0,s.isVirtualPointerEvent)(e.nativeEvent)&&(J.current=!0)}return{onKeyDown(e){var t,r;let n=I.select("open");X.current=!1;let i=e.key.startsWith("Arrow"),a=(t=e.key,r=ev(),h(r,P?t===v.ARROW_LEFT:t===v.ARROW_RIGHT,t===v.ARROW_DOWN)),o=p(e.key,j),l=(C?a:o)||"Enter"===e.key||""===e.key.trim();if(A&&n)return eh(e);if(n||_||!i){if(l){let t=p(e.key,ev());Q.current=C&&t?null:e.key}if(C){a&&((0,s.stopEvent)(e),n?(Z.current=(0,u.getMinListIndex)(F,el.current),ee(e)):I.setOpen(!0,(0,g.createChangeEventDetails)(f.REASONS.listNavigation,e.nativeEvent,e.currentTarget)));return}o&&(null!=es.current&&(Z.current=es.current),(0,s.stopEvent)(e),!n&&_?I.setOpen(!0,(0,g.createChangeEventDetails)(f.REASONS.listNavigation,e.nativeEvent,e.currentTarget)):eh(e),n&&ee(e))}},onFocus(e){I.select("open")&&!A&&(Z.current=-1,ee(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[eh,el,T,F,C,ee,I,_,j,ev,P,es,A]),eI=t.useMemo(()=>({...ep,...ew}),[ep,ew]);return t.useMemo(()=>R?{reference:eI,floating:eb,item:em,trigger:ew}:{},[R,eI,eb,ew,em])}],512357);var w=e.i(671695);e.s(["useTypeahead",0,function(e,r){let n="rootStore"in e?e.rootStore:e,o=n.context.dataRef,c=n.useState("open"),{listRef:d,elementsRef:g,activeIndex:f,onMatch:m,onTypingChange:v,enabled:h=!0,resetMs:p=750,selectedIndex:b=null}=r,I=(0,w.useTimeout)(),y=t.useRef(""),x=t.useRef(b??f??-1),U=t.useRef(null);(0,a.useIsoLayoutEffect)(()=>{(c||null===b)&&(I.clear(),U.current=null,""!==y.current&&(y.current=""))},[c,b,I]),(0,a.useIsoLayoutEffect)(()=>{c&&""===y.current&&(x.current=b??f??-1)},[c,b,f]);let N=(0,i.useStableCallback)(e=>{e?o.current.typing||(o.current.typing=e,v?.(e)):o.current.typing&&(o.current.typing=e,v?.(e))}),F=(0,i.useStableCallback)(e=>{function t(e,r,n=0){if(0===e.length)return -1;let i=(n%e.length+e.length)%e.length,a=r.toLocaleLowerCase();for(let t=0;t0&&" "===e.key&&((0,s.stopEvent)(e),N(!0)),y.current.length>0&&" "!==y.current[0]&&-1===t(r,y.current)&&" "!==e.key&&N(!1),null==r||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;c&&" "!==e.key&&((0,s.stopEvent)(e),N(!0));let n=""===y.current;n&&(x.current=b??f??-1),r.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&y.current===e.key&&(y.current="",x.current=U.current),y.current+=e.key,I.start(p,()=>{y.current="",x.current=U.current,N(!1)});let i=n?b??f??-1:x.current,a=t(r,y.current,(i??0)+1);-1!==a?(m?.(a),U.current=a):" "!==e.key&&(y.current="",N(!1))}),k=(0,i.useStableCallback)(e=>{let t=e.relatedTarget,r=n.select("domReferenceElement"),i=n.select("floatingElement"),a=(0,l.contains)(r,t),o=(0,l.contains)(i,t);a||o||(I.clear(),y.current="",x.current=U.current,N(!1))}),L=t.useMemo(()=>({onKeyDown:F,onBlur:k}),[F,k]),R=t.useMemo(()=>({onKeyDown:F,onBlur:k}),[F,k]);return t.useMemo(()=>h?{reference:L,floating:R}:{},[h,L,R])}],741485);var I=e.i(281085);e.s(["getPseudoElementBounds",0,function(e){let t=e.getBoundingClientRect(),r=(0,I.ownerWindow)(e),n=r.getComputedStyle(e,"::before"),i=r.getComputedStyle(e,"::after");if("none"===n.content&&"none"===i.content)return t;let a=parseFloat(n.width)||0,o=parseFloat(n.height)||0,l=parseFloat(i.width)||0,c=parseFloat(i.height)||0,s=Math.max(t.width,a,l),u=Math.max(t.height,o,c),d=s-t.width,g=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-g/2,bottom:t.bottom+g/2}}],58115)},897464,e=>{"use strict";var t=e.i(270401),r=e.i(361409),n=e.i(761073);e.s(["useRegisterFieldControl",0,function(e,i){let{enabled:a=!0,getValue:o,id:l,value:c}=i,{registerFieldControl:s}=(0,n.useFieldRootContext)(),u=t.useRef(null);u.current||(u.current=Symbol()),(0,r.useIsoLayoutEffect)(()=>{let t=u.current;if(t&&a)return s(t,{controlRef:e,getValue:o,id:l,value:c}),()=>{s(t,void 0)}},[e,a,o,l,s,c])}])},761073,391699,e=>{"use strict";var t,r=e.i(397744),n=e.i(270401),i=e.i(618568);let a=((t={}).disabled="data-disabled",t.valid="data-valid",t.invalid="data-invalid",t.touched="data-touched",t.dirty="data-dirty",t.filled="data-filled",t.focused="data-focused",t),o={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},l={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},c={disabled:!1,...l};e.s(["DEFAULT_FIELD_ROOT_STATE",0,c,"DEFAULT_FIELD_STATE_ATTRIBUTES",0,l,"DEFAULT_VALIDITY_STATE",0,o,"fieldValidityMapping",0,{valid:e=>null===e?null:e?{[a.valid]:""}:{[a.invalid]:""}}],391699);let s=n.createContext({invalid:void 0,name:void 0,validityData:{state:o,errors:[],error:"",value:"",initialValue:null},setValidityData:i.NOOP,disabled:void 0,touched:l.touched,setTouched:i.NOOP,dirty:l.dirty,setDirty:i.NOOP,filled:l.filled,setFilled:i.NOOP,focused:l.focused,setFocused:i.NOOP,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:c,markedDirtyRef:{current:!1},registerFieldControl:i.NOOP,validation:{getValidationProps:(e=i.EMPTY_OBJECT)=>e,getInputValidationProps:(e=i.EMPTY_OBJECT)=>e,inputRef:{current:null},commit:async()=>{}}});e.s(["useFieldRootContext",0,function(e=!0){let t=n.useContext(s);if(t.setValidityData===i.NOOP&&!e)throw Error((0,r.default)(28));return t}],761073)},965358,e=>{"use strict";var t=e.i(270401),r=e.i(618568);let n=t.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:r.NOOP,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});e.s(["useFormContext",0,function(){return t.useContext(n)}])},231152,e=>{"use strict";var t=e.i(270401),r=e.i(618568);let n=t.createContext({controlId:void 0,registerControlId:r.NOOP,labelId:void 0,setLabelId:r.NOOP,messageIds:[],setMessageIds:r.NOOP,getDescriptionProps:e=>e});e.s(["useLabelableContext",0,function(){return t.useContext(n)}])},435848,e=>{"use strict";var t=e.i(270401),r=e.i(361409),n=e.i(228876),i=e.i(836033),a=e.i(120102),o=e.i(618568),l=e.i(593478),c=e.i(231152);e.s(["useLabelableId",0,function(e={}){let{id:s,implicit:u=!1,controlRef:d}=e,{controlId:g,registerControlId:f}=(0,c.useLabelableContext)(),m=(0,l.useBaseUiId)(s),v=u?g:void 0,h=(0,i.useRefWithInit)(()=>Symbol("labelable-control")),p=t.useRef(!1),b=t.useRef(null!=s),w=(0,n.useStableCallback)(()=>{p.current&&f!==o.NOOP&&(p.current=!1,f(h.current,void 0))});return(0,r.useIsoLayoutEffect)(()=>{let e;if(f!==o.NOOP){if(u){let t=d?.current;e=(0,a.isElement)(t)&&null!=t.closest("label")?s??null:v??m}else if(null!=s)b.current=!0,e=s;else{if(!b.current)return void w();e=m}if(void 0===e)return void w();p.current=!0,f(h.current,e)}},[s,d,v,f,u,m,h,w]),t.useEffect(()=>w,[w]),g??m}])},39285,e=>{"use strict";e.s(["serializeValue",0,function(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}])},540427,e=>{"use strict";var t=e.i(270401),r=e.i(281334);let n=t.forwardRef(function(e,t){let{className:n,render:i,orientation:a="horizontal",style:o,...l}=e;return(0,r.useRenderElement)("div",e,{state:{orientation:a},ref:t,props:[{role:"separator","aria-orientation":a},l]})});e.s(["Separator",0,n])},777246,e=>{"use strict";var t=e.i(397744),r=e.i(270401);let n=r.createContext(void 0);e.s(["useToolbarRootContext",0,function(e){let i=r.useContext(n);if(void 0===i&&!e)throw Error((0,t.default)(69));return i}])},922651,e=>{"use strict";var t=e.i(270401),r=e.i(192291),n=e.i(987950),i=e.i(361409);e.s(["useAnchoredPopupScrollLock",0,function(e,a,o,l){let[c,s]=t.useState(!1);(0,i.useIsoLayoutEffect)(()=>{if(!e||!a||null==o)return void s(!1);let t=(0,r.ownerDocument)(o).documentElement.clientWidth,n=o.offsetWidth;s(t>0&&n>0&&n>=t-20)},[e,a,o]),(0,n.useScrollLock)(e&&(!a||c),l)}])},210761,e=>{"use strict";var t=e.i(361409),r=e.i(593478);e.s(["useRegisteredLabelId",0,function(e,n){let i=(0,r.useBaseUiId)(e);return(0,t.useIsoLayoutEffect)(()=>(n(i),()=>{n(void 0)}),[i,n]),i}])},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)},479937,e=>{"use strict";let t=(0,e.i(202913).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["default",0,t])},477986,e=>{"use strict";var t=e.i(479937);e.s(["ChevronUp",()=>t.default])},183229,e=>{"use strict";let t=(0,e.i(202913).default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Circle",0,t],183229)},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)},258338,e=>{"use strict";var t=e.i(693207);e.s(["Layers",()=>t.default])},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),o=e.i(678998);function l(e){return e.toLowerCase()}let c=new Map([[l(a.ProviderName.OpenAI),{url:(0,o.getLocalIconUri)("OpenAI.svg"),className:"dark:invert"}],[l(a.ProviderName.Perplexity),{url:(0,o.getLocalIconUri)("Perplexity.png")}],[l(a.ProviderName.Poolside),{url:(0,o.getLocalIconUri)("poolside-logomark-solid-color.svg")}],[l(a.ProviderName.Perceptron),{url:(0,o.getFaviconUrl)("https://www.perceptron.inc")}],["voyageai",{url:(0,o.getFaviconUrl)("https://www.voyageai.com")}],[l(a.ProviderName.GoogleAIStudio),{url:(0,o.getLocalIconUri)("GoogleAIStudio.svg")}],[l(a.ProviderName.Anthropic),{url:(0,o.getLocalIconUri)("Anthropic.svg")}],[l(a.ProviderName.ClaudeOnAws),{url:(0,o.getLocalIconUri)("Anthropic.svg")}],[l(a.ProviderName.Cohere),{url:(0,o.getLocalIconUri)("Cohere.png")}],[l(a.ProviderName.Deepgram),{url:(0,o.getLocalIconUri)("Deepgram.svg"),className:"dark:invert"}],[l(a.ProviderName.DeepSeek),{url:(0,o.getLocalIconUri)("DeepSeek.png")}],[l(a.ProviderName.Together),{url:(0,o.getFaviconUrl)("https://www.together.ai/")}],[l(a.ProviderName.Infermatic),{url:(0,o.getFaviconUrl)("https://infermatic.ai/")}],[l(a.ProviderName.HuggingFace),{url:(0,o.getFaviconUrl)("https://huggingface.co/")}],[l(a.ProviderName.AI21),{url:(0,o.getFaviconUrl)("https://ai21.com/")}],[l(a.ProviderName.Featherless),{url:(0,o.getFaviconUrl)("https://featherless.ai/")}],[l(a.ProviderName.Reflection),{url:(0,o.getFaviconUrl)("https://railway.app/")}],[l(a.ProviderName.Inflection),{url:(0,o.getFaviconUrl)("https://inflection.ai/")}],[l(a.ProviderName.Minimax),{url:(0,o.getFaviconUrl)("https://minimaxi.com/")}],[l(a.ProviderName.Liquid),{url:(0,o.getFaviconUrl)("https://www.liquid.ai/"),className:"dark:invert"}],[l(a.ProviderName.Inception),{url:(0,o.getLocalIconUri)("Inception.svg"),className:"dark:invert"}],[l(a.ProviderName.Relace),{url:(0,o.getFaviconUrl)("https://www.relace.ai")}],[l(a.ProviderName.Sourceful),{url:(0,o.getFaviconUrl)("https://www.sourceful.com/")}],[l(a.ProviderName.BytePlus),{url:(0,o.getFaviconUrl)("https://www.byteplus.com")}],[l(a.ProviderName.Xiaomi),{url:(0,o.getFaviconUrl)("https://www.mi.com")}],["arcee-ai",{url:(0,o.getFaviconUrl)("https://www.arcee.ai")}],["fish-audio",{url:(0,o.getFaviconUrl)("https://fish.audio/")}],["z-ai",{url:(0,o.getFaviconUrl)("https://z.ai/"),className:"dark:invert"}],["moonshotai",{url:(0,o.getLocalIconUri)("MoonshotAI.png")}],["morph",{url:(0,o.getFaviconUrl)("https://morphllm.com")}],["qwen",{url:(0,o.getLocalIconUri)("Qwen.png")}],["google",{url:(0,o.getLocalIconUri)("GoogleGemini.svg")}],["microsoft",{url:(0,o.getLocalIconUri)("Microsoft.svg")}],["nousresearch",{url:(0,o.getFaviconUrl)("https://nousresearch.com/")}],["nvidia",{url:(0,o.getFaviconUrl)("https://nvidia.com/")}],["meta-llama",{url:(0,o.getLocalIconUri)("Meta.png")}],["meta",{url:(0,o.getLocalIconUri)("Meta.png")}],["databricks",{url:(0,o.getFaviconUrl)("https://databricks.com/")}],["openrouter",{url:(0,o.getLocalIconUri)("openrouter-glyph-light.svg"),darkUrl:(0,o.getLocalIconUri)("openrouter-glyph-dark.svg")}],["mistralai",{url:(0,o.getLocalIconUri)("Mistral.png")}],["x-ai",{url:(0,o.getFaviconUrl)("https://x.ai/")}],["amazon",{url:(0,o.getFaviconUrl)("https://nova.amazon.com/")}],["aion-labs",{url:(0,o.getFaviconUrl)("https://www.aionlabs.ai/")}],["allenai",{url:(0,o.getFaviconUrl)("https://allenai.org/")}],["switchpoint",{url:(0,o.getFaviconUrl)("https://switchpoint.dev/")}],["thedrummer",{url:(0,o.getLocalIconUri)("TheDrummer.png")}],["deepcogito",{url:(0,o.getFaviconUrl)("https://www.deepcogito.com/")}],["baidu",{url:(0,o.getFaviconUrl)("https://www.baidu.com/")}],["kwaipilot",{url:(0,o.getLocalIconUri)("Kwaipilot.png")}],["kwaivgi",{url:(0,o.getLocalIconUri)("KlingAI.png")}],["black-forest-labs",{url:(0,o.getFaviconUrl)("https://bfl.ai")}],["prime-intellect",{url:(0,o.getFaviconUrl)("https://www.primeintellect.ai/")}],["primeintellect",{url:(0,o.getFaviconUrl)("https://www.primeintellect.ai/")}],["essentialai",{url:(0,o.getFaviconUrl)("https://www.essential.ai/")}],["bytedance-seed",{url:(0,o.getFaviconUrl)("https://seed.bytedance.com/")}],[l(a.ProviderName.Seed),{url:(0,o.getFaviconUrl)("https://seed.bytedance.com/")}],["writer",{url:(0,o.getFaviconUrl)("https://writer.com/"),className:"dark:invert"}],["stepfun",{url:(0,o.getFaviconUrl)("https://platform.stepfun.ai/")}],["stepfun-ai",{url:(0,o.getFaviconUrl)("https://platform.stepfun.ai/")}],[l(a.ProviderName.Recraft),{url:(0,o.getLocalIconUri)("Recraft.svg"),className:"dark:invert"}],["bytedance",{url:(0,o.getFaviconUrl)("https://seed.bytedance.com/")}],["alibaba",{url:(0,o.getFaviconUrl)("https://www.alibabacloud.com")}],["inclusionai",{url:(0,o.getFaviconUrl)("https://www.inclusion-ai.org/")}],["tencent",{url:(0,o.getLocalIconUri)("Tencent.png")}],["ibm-granite",{url:(0,o.getLocalIconUri)("IBMGranite.svg"),className:"dark:invert"}],["nex-agi",{url:(0,o.getLocalIconUri)("NexAGI.svg"),className:"dark:invert"}],["thinkingmachines",{url:(0,o.getFaviconUrl)("https://thinkingmachines.ai/")}],["sakana",{url:(0,o.getFaviconUrl)("https://sakana.ai")}],[l(a.ProviderName.HeyGen),{url:(0,o.getFaviconUrl)("https://heygen.com")}],["zyphra",{url:(0,o.getLocalIconUri)("Zyphra.svg"),className:"dark:invert"}],["sesame",{url:(0,o.getFaviconUrl)("https://www.sesame.com")}],["canopylabs",{url:(0,o.getFaviconUrl)("https://canopylabs.ai"),className:"dark:invert"}],["hexgrad",{url:(0,o.getLocalIconUri)("Hexgrad.png")}],[l(a.ProviderName.Krea),{url:(0,o.getFaviconUrl)("https://www.krea.ai")}],[l(a.ProviderName.Runway),{url:(0,o.getFaviconUrl)("https://runwayml.com")}],[l(a.ProviderName.Upstage),{url:(0,o.getFaviconUrl)("https://www.upstage.ai/")}],["stealth",{url:(0,o.getLocalIconUri)("Stealth.svg"),className:"invert-0 dark:invert"}]]),s=new Map([["microsoft/mai-",{url:(0,o.getLocalIconUri)("MAI.png")}]]),u=/^\/(?![/\\])/u,d=/^data:image\//iu;function g(e,t){var r;let n=c.get(e.toLowerCase());return t&&(!t.startsWith("data:")||d.test(t))?(r=n?.className,u.test(t)||d.test(t)?{url:t}:t.startsWith("//")?{url:(0,o.getFaviconUrl)(`https:${t}`)}:t.startsWith("http")?{url:(0,o.getFaviconUrl)(t)}:{url:(0,o.getLocalIconUri)(t),className:r}):n??{url:o.HUGGING_FACE_FAVICON_URL}}function f({permaslug:e,author:t,iconUri:r}){let n=e.toLowerCase().replace(/^~/,"");for(let[e,t]of s)if(n.startsWith(e))return t;return g(t,r)}e.s(["getAuthorIconInfo",0,g,"getModelAuthorIconInfo",0,f],630056);var m=e.i(837556);e.s(["AuthorIcon",0,function(e){let a,o,l,c,s,u,d,v=(0,r.c)(25),{author:h,permaslug:p,iconUri:b,className:w,frame:I,frameRingClassName:y,bare:x}=e,U=void 0!==I&&I,N=void 0!==x&&x;if(v[0]!==h||v[1]!==N||v[2]!==w||v[3]!==U||v[4]!==y||v[5]!==b||v[6]!==p){s=Symbol.for("react.early_return_sentinel");e:{if(o=void 0===p?g(h,b):f({permaslug:p,author:h,iconUri:b}),N){let e;v[12]!==w?(e=(0,n.cn)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",w),v[12]=w,v[13]=e):e=v[13],s=(0,t.jsx)("div",{className:e,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.cn)("size-full overflow-hidden",o?.className),faviconFor:h,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}if(U){s=(0,t.jsx)(m.IconFrame,{className:w,ringClassName:y,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.cn)("size-full",o?.className),faviconFor:h,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}v[14]!==w?(c=(0,n.cn)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",w),v[14]=w,v[15]=c):c=v[15],a=i.RemoteFavicon,l=(0,n.cn)("overflow-hidden rounded-full",o?.className)}v[0]=h,v[1]=N,v[2]=w,v[3]=U,v[4]=y,v[5]=b,v[6]=p,v[7]=a,v[8]=o,v[9]=l,v[10]=c,v[11]=s}else a=v[7],o=v[8],l=v[9],c=v[10],s=v[11];return s!==Symbol.for("react.early_return_sentinel")?s:(v[16]!==a||v[17]!==h||v[18]!==o.darkUrl||v[19]!==o.url||v[20]!==l?(u=(0,t.jsx)(a,{className:l,faviconFor:h,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256}),v[16]=a,v[17]=h,v[18]=o.darkUrl,v[19]=o.url,v[20]=l,v[21]=u):u=v[21],v[22]!==c||v[23]!==u?(d=(0,t.jsx)("div",{className:c,children:u}),v[22]=c,v[23]=u,v[24]=d):d=v[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,o,l,c,s,u=(0,r.c)(15),{children:d,className:g,variant:f,decorative:m,ringClassName:v}=e,h=void 0!==m&&m||void 0;u[0]!==g?(i=(0,n.cn)("relative flex shrink-0 items-center justify-center","box-content p-px","overflow-hidden rounded-sm bg-background","size-6",g),u[0]=g,u[1]=i):i=u[1],u[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"),u[2]=a):a=u[2],u[3]!==d?(o=(0,t.jsx)("div",{className:a,children:d}),u[3]=d,u[4]=o):o=u[4];let p="app"===(void 0===f?"default":f)&&"dark:inset-px dark:ring-white";return u[5]!==v||u[6]!==p?(l=(0,n.cn)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",p,v),u[5]=v,u[6]=p,u[7]=l):l=u[7],u[8]!==l?(c=(0,t.jsx)("div",{"aria-hidden":!0,className:l}),u[8]=l,u[9]=c):c=u[9],u[10]!==h||u[11]!==i||u[12]!==o||u[13]!==c?(s=(0,t.jsxs)("div",{"aria-hidden":h,className:i,children:[o,c]}),u[10]=h,u[11]=i,u[12]=o,u[13]=c,u[14]=s):s=u[14],s}])},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),o=e.i(778084),l=e.i(648156);e.s(["InfoTooltip",0,function(e){var c;let s,u,d,g,f,m,v,h,p=(0,r.c)(33),{align:b,"aria-label":w,children:I,className:y,contentClassName:x,icon:U,side:N,sideOffset:F}=e,k=void 0===N?"bottom":N,L=(0,a.useMediaMd)();p[0]!==w||p[1]!==I?(s=w??("string"==typeof(c=I)&&c.trim().length>0?c.trim():"Information"),p[0]=w,p[1]=I,p[2]=s):s=p[2],p[3]!==y?(u=(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",y),p[3]=y,p[4]=u):u=p[4],p[5]!==U?(d=U??(0,t.jsx)(n.InformationCircleIcon,{className:"inline h-4 w-4 text-muted-foreground"}),p[5]=U,p[6]=d):d=p[6],p[7]!==s||p[8]!==u||p[9]!==d?(g=(0,t.jsx)("button",{type:"button",tabIndex:-1,"aria-label":s,className:u,children:d}),p[7]=s,p[8]=u,p[9]=d,p[10]=g):g=p[10];let R=g;if(L){let e,r;return p[11]!==x?(e=(0,i.cn)("max-w-xs",x),p[11]=x,p[12]=e):e=p[12],p[13]!==b||p[14]!==I||p[15]!==k||p[16]!==F||p[17]!==e||p[18]!==R?(r=(0,t.jsx)(l.Tooltip,{align:b,className:e,content:I,side:k,sideOffset:F,children:R}),p[13]=b,p[14]=I,p[15]=k,p[16]=F,p[17]=e,p[18]=R,p[19]=r):r=p[19],r}return p[20]!==R?(f=(0,t.jsx)(o.PopoverTrigger,{render:R}),p[20]=R,p[21]=f):f=p[21],p[22]!==x?(m=(0,i.cn)("w-52 p-2 text-xs",x),p[22]=x,p[23]=m):m=p[23],p[24]!==b||p[25]!==I||p[26]!==k||p[27]!==F||p[28]!==m?(v=(0,t.jsx)(o.PopoverContent,{align:b,side:k,sideOffset:F,className:m,children:I}),p[24]=b,p[25]=I,p[26]=k,p[27]=F,p[28]=m,p[29]=v):v=p[29],p[30]!==f||p[31]!==v?(h=(0,t.jsxs)(o.Popover,{children:[f,v]}),p[30]=f,p[31]=v,p[32]=h):h=p[32],h}])},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 o=/\.(png|jpe?g|ico|svg|webp|gif|bmp)$/i;e.s(["RemoteFavicon",0,function(e){let l,c,s,u,d,g,f,m,v,h,p,b,w=(0,r.c)(51),[I,y]=(0,a.useState)(null),[x,U]=(0,a.useState)(null),[N,F]=(0,a.useState)(!1),[k,L]=(0,a.useState)(!1),R=e.size||256,S=e.hasCuratedFaviconUrl??!1;w[0]!==N||w[1]!==k||w[2]!==e.faviconFor||w[3]!==e.imgSrc||w[4]!==R||w[5]!==S?(l=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:n,hasCuratedFaviconUrl:a,imgSrc:l}){if(l)return{source:"given",src:l};if(a&&(e=>{try{let{pathname:t}=new URL(e);return o.test(t)}catch{return!1}})(e)&&!r)return{source:"curated",src:(0,i.getCdnImageUrl)(e)};let c=n?(0,i.getParentSiteUrl)(e):null;return null!==c?{source:"parent-site",src:(0,i.getFaviconUrl)(c,t)}:{source:"site",src:(0,i.getFaviconUrl)(e,t)}}({faviconFor:e.faviconFor,size:R,didCuratedIconFail:N,didSiteIconFail:k,hasCuratedFaviconUrl:S,imgSrc:e.imgSrc}),w[0]=N,w[1]=k,w[2]=e.faviconFor,w[3]=e.imgSrc,w[4]=R,w[5]=S,w[6]=l):l=w[6];let{source:E,src:O}=l;w[7]!==e.faviconFor||w[8]!==R||w[9]!==E?(c=t=>{"site"!==E||R<=16||t>16||null!==(0,i.getParentSiteUrl)(e.faviconFor)&&L(!0)},w[7]=e.faviconFor,w[8]=R,w[9]=E,w[10]=c):c=w[10];let C=c;w[11]!==e.faviconFor||w[12]!==E?(s=t=>{switch(E){case"curated":if((0,i.isOpenRouterHostedUrl)(e.faviconFor))return void y(t);F(!0);return;case"site":if(null===(0,i.getParentSiteUrl)(e.faviconFor))return void y(t);L(!0);return;case"given":case"parent-site":return void y(t);default:y(t)}},w[11]=e.faviconFor,w[12]=E,w[13]=s):s=w[13];let P=s;w[14]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{y(null)},w[14]=u):u=w[14],w[15]!==O?(d=[O],w[15]=O,w[16]=d):d=w[16],(0,a.useEffect)(u,d),w[17]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{F(!1),L(!1)},w[17]=g):g=w[17],w[18]!==e.faviconFor||w[19]!==e.imgSrc||w[20]!==R?(f=[e.faviconFor,e.imgSrc,R],w[18]=e.faviconFor,w[19]=e.imgSrc,w[20]=R,w[21]=f):f=w[21],(0,a.useEffect)(g,f),w[22]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{U(null)},w[22]=m):m=w[22],w[23]!==e.imgSrcDark?(v=[e.imgSrcDark],w[23]=e.imgSrcDark,w[24]=v):v=w[24],(0,a.useEffect)(m,v);let A=`Favicon for ${e.faviconFor}`;w[25]!==R||w[26]!==A?(h={width:R,height:R,alt:A,className:"h-full w-full object-cover"},w[25]=R,w[26]=A,w[27]=h):h=w[27];let T=h;if(e.imgSrcDark){let r,i,a;return w[28]!==I||w[29]!==T||w[30]!==P||w[31]!==C||w[32]!==O?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:I?(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",{...T,src:O,onError:e=>P(e.toString()),onLoad:e=>C(e.currentTarget.naturalWidth)})}),w[28]=I,w[29]=T,w[30]=P,w[31]=C,w[32]=O,w[33]=r):r=w[33],w[34]!==x||w[35]!==T||w[36]!==e.imgSrcDark?(i=(0,t.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:x?(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",{...T,src:e.imgSrcDark,onError:e=>U(e.toString())})}),w[34]=x,w[35]=T,w[36]=e.imgSrcDark,w[37]=i):i=w[37],w[38]!==e.className||w[39]!==r||w[40]!==i?(a=(0,t.jsxs)("div",{className:e.className,children:[r,i]}),w[38]=e.className,w[39]=r,w[40]=i,w[41]=a):a=w[41],a}return w[42]!==I||w[43]!==T||w[44]!==P||w[45]!==C||w[46]!==O?(p=I?(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",{...T,src:O,loading:"lazy",decoding:"async",onError:e=>P(e.toString()),onLoad:e=>C(e.currentTarget.naturalWidth)})}),w[42]=I,w[43]=T,w[44]=P,w[45]=C,w[46]=O,w[47]=p):p=w[47],w[48]!==e.className||w[49]!==p?(b=(0,t.jsx)("div",{className:e.className,children:p}),w[48]=e.className,w[49]=p,w[50]=b):b=w[50],b}])},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),o=e.i(191379),l=e.i(551365),c=e.i(971531),s=e.i(639580),u=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 g,f,m,v,h,p,b,w,I,y,x,U,N,F,k,L,R,S,E,O,C,P,A=(0,r.c)(71);A[0]!==e?({render:w,children:g,className:f,icon:m,iconPosition:I,showExternalIcon:y,prefetch:x,onFocus:v,onMouseEnter:h,onTouchStart:p,...b}=e,A[0]=e,A[1]=g,A[2]=f,A[3]=m,A[4]=v,A[5]=h,A[6]=p,A[7]=b,A[8]=w,A[9]=I,A[10]=y,A[11]=x):(g=A[1],f=A[2],m=A[3],v=A[4],h=A[5],p=A[6],b=A[7],w=A[8],I=A[9],y=A[10],x=A[11]);let T=void 0===I?"end":I,M=void 0!==y&&y,_=void 0===x?"hover":x,D=(0,s.useLocalizedHref)(b.href);A[12]!==D?(U=(0,a.getHrefString)(D),A[12]=D,A[13]=U):U=A[13],A[14]!==_||A[15]!==U?(N={prefetch:_,href:U},A[14]=_,A[15]=U,A[16]=N):N=A[16],A[17]!==v||A[18]!==h||A[19]!==p?(F={onFocus:v,onMouseEnter:h,onTouchStart:p},A[17]=v,A[18]=h,A[19]=p,A[20]=F):F=A[20];let j=(0,c.useLinkPrefetch)(N,F);A[21]!==f?(k=(0,i.cn)(d,"text-xs cursor-pointer",f),A[21]=f,A[22]=k):k=A[22];let W=k;A[23]!==m||A[24]!==M?(L=m??(M?(0,t.jsx)(o.ArrowUpRight,{className:"inline size-3 align-[-1px]"}):null),A[23]=m,A[24]=M,A[25]=L):L=A[25];let z=L;A[26]!==T||A[27]!==z?(R="start"===T&&z?(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:z}):null,A[26]=T,A[27]=z,A[28]=R):R=A[28];let G=R;A[29]!==T||A[30]!==z?(S="end"===T&&z?(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:z}):null,A[29]=T,A[30]=z,A[31]=S):S=A[31];let H=S,V=(0,a.isCrossZoneHref)(D);A[32]!==g||A[33]!==w?(E=w?(0,u.getChildContent)(w):g,A[32]=g,A[33]=w,A[34]=E):E=A[34];let $=E;A[35]!==$||A[36]!==H||A[37]!==D||A[38]!==v||A[39]!==h||A[40]!==p||A[41]!==b||A[42]!==w||A[43]!==W||A[44]!==G?(O=w?{className:W,children:(0,t.jsxs)(t.Fragment,{children:[G,$,H]}),...b,onFocus:v,onMouseEnter:h,onTouchStart:p,href:D}:{},A[35]=$,A[36]=H,A[37]=D,A[38]=v,A[39]=h,A[40]=p,A[41]=b,A[42]=w,A[43]=W,A[44]=G,A[45]=O):O=A[45],A[46]!==w||A[47]!==O?(C={render:w,defaultTagName:"a",props:O},A[46]=w,A[47]=O,A[48]=C):C=A[48];let B=(0,n.useRender)(C);if(w){if(V)throw Error(`TextLink: cross-zone href "${(0,a.getHrefString)(D)}" cannot be combined with the render prop. Use a plain element instead.`);return B}if(V){let e,r,n;if(A[49]!==b){let{href:t,replace:r,scroll:n,shallow:i,passHref:a,legacyBehavior:o,locale:l,onNavigate:c,...s}=b;e=s,A[49]=b,A[50]=e}else e=A[50];return A[51]!==D?(r=(0,a.getHrefString)(D),A[51]=D,A[52]=r):r=A[52],A[53]!==e||A[54]!==g||A[55]!==H||A[56]!==v||A[57]!==h||A[58]!==p||A[59]!==W||A[60]!==G||A[61]!==r?(n=(0,t.jsxs)("a",{href:r,className:W,onFocus:v,onMouseEnter:h,onTouchStart:p,...e,children:[G,g,H]}),A[53]=e,A[54]=g,A[55]=H,A[56]=v,A[57]=h,A[58]=p,A[59]=W,A[60]=G,A[61]=r,A[62]=n):n=A[62],n}return A[63]!==g||A[64]!==H||A[65]!==D||A[66]!==j||A[67]!==b||A[68]!==W||A[69]!==G?(P=(0,t.jsxs)(l.default,{className:W,...b,...j,href:D,children:[G,g,H]}),A[63]=g,A[64]=H,A[65]=D,A[66]=j,A[67]=b,A[68]=W,A[69]=G,A[70]=P):P=A[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}])},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])},175817,e=>{"use strict";e.s(["getTotalTokens",0,e=>e?e.total_prompt_tokens+(e.total_completion_tokens??0):0])}]); //# sourceMappingURL=2lpd62c_389j-.js.map //# chunkId=01a09e9c-6d0e-7942-9693-a70b618419f9