PageSourceSearch

https://forefront.ai/_next/static/chunks/pages/[team]-4cfb2499d9f34b3b.js

js forefront.ai collected 2026-10-02 05:58:45 UTC 7,264 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1427],{26237:function(e,t,a){"use strict";var r,s=a(67294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.Z=function(e){return s.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:"width",height:"height",fill:"none",viewBox:"0 0 24 24"},e),r||(r=s.createElement("path",{fill:"currentColor",d:"M17.4 1c-2.088 0-4.092.972-5.4 2.508C10.692 1.972 8.688 1 6.6 1 2.904 1 0 3.904 0 7.6c0 4.536 4.08 8.232 10.26 13.848L12 23.02l1.74-1.584C19.92 15.832 24 12.136 24 7.6 24 3.904 21.096 1 17.4 1m-5.28 18.66-.12.12-.12-.12C6.168 14.488 2.4 11.068 2.4 7.6c0-2.4 1.8-4.2 4.2-4.2 1.848 0 3.648 1.188 4.284 2.832h2.244C13.752 4.588 15.552 3.4 17.4 3.4c2.4 0 4.2 1.8 4.2 4.2 0 3.468-3.768 6.888-9.48 12.06"})))}},35856:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[team]",function(){return a(22938)}])},66597:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});var r=a(85893);function s(e){let{avatar:t="",src:a="",alt:s="",className:n="",size:i=6}=e;return(0,r.jsx)("div",{className:"flex-shrink-0",children:a||t?(0,r.jsx)("img",{src:""!==a?a:t,className:"w-".concat(i," h-").concat(i," rounded object-cove ").concat(n)}):(0,r.jsx)("div",{className:"w-".concat(i," h-").concat(i," rounded bg-gradient-to-r from-indigo-500 to-indigo-700 ").concat(n)})})}},22938:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return o},default:function(){return h},runtime:function(){return m}});var r=a(85893),s=a(24542),n=a(67294),i=a(54531),l=a(26237),c=a(9170),d=a(66597),o=!0;let m="experimental-edge";function h(e){let{team:t}=e,[a,o]=(0,n.useState)("models");return(0,r.jsx)(s.Z,{cta:!1,children:(0,r.jsxs)("div",{className:"website-width py-16 flex lg:flex-row flex-col items-start gap-10",children:[(0,r.jsxs)("div",{className:"basis-1/3 w-full lg:sticky top-[128px] flex flex-col gap-6",children:[(0,r.jsxs)("div",{className:"flex gap-6 items-center",children:[(0,r.jsx)(d.Z,{avatar:t.avatar,size:20,alt:"Logo for ".concat(t.name)}),(0,r.jsx)("h1",{className:"website-h2",children:t.name})]}),t.users.length>0&&(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)("p",{className:"text-base font-medium text-th-primary-dark",children:"Team members"}),t.users.map((e,t)=>(0,r.jsxs)("div",{className:"flex gap-2 items-center",children:[e.avatar?(0,r.jsx)(d.Z,{className:"w-6 h-6 rounded-full",src:e.avatar,alt:"Author image for ".concat(e.name)}):(0,r.jsx)("div",{className:"w-6 h-6 rounded-full bg-gradient-to-r from-indigo-700 to-indigo-500"}),(0,r.jsx)("p",{className:"text-sm font-medium text-th-primary-medium",children:e.name})]},t))]})]}),(0,r.jsxs)("div",{className:"flex flex-col w-full basis-2/3",children:[(0,r.jsxs)("div",{className:"w-full sticky top-0 bg-th-background flex items-center gap-2 py-4 border-b border-th-border-primary",children:[(0,r.jsx)("button",{className:"border text-sm font-medium py-[6px] px-3 rounded-full\n                                ".concat("models"===a?"text-th-primary-dark bg-th-background-hover border-th-border-primary":"bg-transparent border-transparent text-th-primary-dark hover:bg-th-background-secondary","\n                            "),onClick:()=>o("models"),children:"Models"}),(0,r.jsx)("button",{className:"border text-sm font-medium py-[6px] px-3 rounded-full\n                                ".concat("datasets"===a?"text-th-primary-dark bg-th-background-hover border-th-border-primary":"bg-transparent border-transparent text-th-primary-dark hover:bg-th-background-secondary","\n                            "),onClick:()=>o("datasets"),children:"Datasets"})]}),"models"===a&&(0===t.models.length?(0,r.jsx)("div",{className:"py-6 flex items-center justify-center",children:(0,r.jsx)("p",{className:"text-th-primary-light text-sm",children:"No models"})}):(0,r.jsx)("div",{className:"grid md:grid-cols-2 grid-cols-1 gap-6 py-6",children:t.models.sort((e,t)=>
1new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()).map((e,a)=>(0,r.jsxs)("button",{className:"flex flex-col min-w-[240px] p-4 overflow-hidden bg-th-background shadow-card-shadow transition hover:shadow-announcement-shadow rounded-lg gap-3 items-start",onClick:()=>window.location.href="/".concat(t.prefix,"/models/").concat(e.name),children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 w-full",children:[(0,r.jsx)(d.Z,{className:"w-4 h-4 rounded-sm",src:t.avatar,alt:"Team image for ".concat(t.avatar)}),(0,r.jsx)("p",{className:"text-sm text-left font-medium text-th-primary-medium max-w-full ellipsis",children:(0,c.Z)(e.modelString)})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full items-center",children:[(0,r.jsx)("p",{className:"text-xs text-th-primary-light",children:(0,i.Z)({dateString:e.createdAt,type:"date"})}),e.likes.length>=10&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(l.Z,{className:"w-[10px] h-[10px] text-th-primary-light"}),(0,r.jsx)("p",{className:"text-xs text-th-primary-light",children:e.likes.length})]})]})]},a))})),"datasets"===a&&(0===t.datasets.length?(0,r.jsx)("div",{className:"py-6 flex items-center justify-center",children:(0,r.jsx)("p",{className:"text-th-primary-light text-sm",children:"No datasets"})}):(0,r.jsx)("div",{className:"grid md:grid-cols-2 grid-cols-1 gap-6 py-6",children:t.datasets.sort((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()).map((e,a)=>(0,r.jsxs)("button",{className:"flex flex-col min-w-[240px] p-4 overflow-hidden bg-th-background shadow-card-shadow transition hover:shadow-announcement-shadow rounded-lg gap-3 items-start",onClick:()=>window.location.href="/".concat(t.prefix,"/datasets/").concat(e.name),children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 w-full",children:[(0,r.jsx)(d.Z,{className:"w-4 h-4 rounded-sm",src:t.avatar,alt:"Team image for ".concat(t.avatar)}),(0,r.jsx)("p",{className:"text-sm text-left font-medium text-th-primary-medium max-w-full ellipsis",children:(0,c.Z)(e.datasetString)})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full items-center",children:[(0,r.jsx)("p",{className:"text-xs text-th-primary-light",children:(0,i.Z)({dateString:e.createdAt,type:"date"})}),e.likes.length>=10&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(l.Z,{className:"w-[10px] h-[10px] text-th-primary-light"}),(0,r.jsx)("p",{className:"text-xs text-th-primary-light",children:e.likes.length})]})]})]},a))}))]})]})})}},9170:function(e,t,a){"use strict";function r(e){return e.replace(/\//g," / ")}a.d(t,{Z:function(){return r}})},54531:function(e,t,a){"use strict";function r(e){let{dateString:t,type:a="dateTime"}=e;if(!t)return"";if("date"===a){let e=new Date(t);return new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short",day:"numeric"}).format(e)}{let e=new Date(t);return new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit",hour12:!0}).format(e)}}a.d(t,{Z:function(){return r}})}},function(e){e.O(0,[1664,4542,9774,2888,179],function(){return e(e.s=35856)}),_N_E=e.O()}]);

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