(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6310],{57562:function(e,t,n){Promise.resolve().then(n.bind(n,25900))},25900:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var s=n(57437),l=n(16463),i=n(2265),a=n(29071),r=n(23913);function o(){let e=(0,l.useRouter)(),t=(0,i.useCallback)(t=>{e.push("/evaluation/detail/?evaluation_set_uuid=".concat(t.uuid))},[e]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Z,{text:"Evaluation Sets"}),(0,s.jsx)(a.Z,{onClickEvaluationSet:t,onCreateEvaluationSet:t})]})}},42918:function(e,t,n){"use strict";n.d(t,{Z:function(){return c},t:function(){return u}});var s=n(57437),l=n(59226),i=n(24880),a=n(2265),r=n(90912),o=n(56541);function c(e){let{title:t,children:n,label:l,open:i=!1,width:r="max-w-lg",...c}=e,[d,x]=(0,a.useState)(i);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{type:"button",onClick:()=>x(!0),...c,children:l}),(0,s.jsx)(u,{title:(0,s.jsx)("div",{children:t}),isOpen:d,onClose:()=>x(!1),children:e=>{let{close:t}=e;return(0,s.jsx)("div",{className:r,children:n({close:t})})}})]})}function u(e){let{title:t,children:n,onClose:c,isOpen:u=!0}=e;return(0,s.jsx)(l.u,{appear:!0,show:u,as:a.Fragment,children:(0,s.jsxs)(i.V,{as:"div",className:"relative z-50",onClose:()=>null==c?void 0:c(),children:[(0,s.jsx)(l.u.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,s.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-25"})}),(0,s.jsx)("div",{className:"overflow-y-auto fixed inset-0",children:(0,s.jsx)("div",{className:"flex justify-center items-center p-4 min-h-full text-center",children:(0,s.jsx)(l.u.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,s.jsxs)(i.V.Panel,{className:"overflow-hidden p-6 w-full text-left align-middle rounded-2xl shadow-xl transition-all transform max-w-fit bg-stone-50 text-stone-700 z-[99999] dark:bg-stone-700 dark:text-stone-300",children:[(0,s.jsxs)(i.V.Title,{as:"div",className:"flex flex-row gap-4 justify-between items-center mb-4",children:[null!=t&&(0,s.jsx)("h3",{className:"text-lg font-medium leading-6 text-stone-900 dark:text-stone-100",children:t}),(0,s.jsx)(o.Z,{onClick:()=>null==c?void 0:c(),variant:"secondary",mode:"text",children:(0,s.jsx)(r.Tw,{className:"w-5 h-5"})})]}),(0,s.jsx)("div",{className:"mt-2",children:n({close:()=>null==c?void 0:c()})})]})})})})]})})}},26184:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var s=n(57437),l=n(56800),i=n.n(l);function a(e){let{children:t,outerClassName:n="p-8",className:l}=e;return(0,s.jsx)("div",{className:"".concat(n," w-full"),children:(0,s.jsx)("div",{className:i()(l,"flex flex-col justify-center items-center p-4 w-full text-center rounded-md border border-dashed border-stone-500 text-stone-500"),children:t})})}},76845:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var s=n(57437),l=n(79803);function i(){let{text:e=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.jsxs)("div",{className:"flex flex-row justify-center items-center w-full h-full",children:[(0,s.jsx)(l.Z,{})," ",e]})}}},function(e){e.O(0,[5501,7819,5660,9772,8472,1336,5657,9226,932,6259,3215,4880,2817,4329,9527,4593,3516,6559,2971,7023,1744],function(){return e(e.s=57562)}),_N_E=e.O()}]);