(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8311],{65771:function(e,t,i){Promise.resolve().then(i.bind(i,75785))},75785:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return m}});var l=i(57437),n=i(30166),r=i(2265),s=i(78848),a=i(93263),d=i(77585),o=i(78155),c=i(47973),u=i(26399),f=i(75532),g=i(84436),x=i(61128),h=i(65903);let p=(0,n.default)(()=>Promise.all([i.e(5641),i.e(4212),i.e(8537)]).then(i.bind(i,28537)),{loadableGenerated:{webpack:()=>[28537]},ssr:!1});function m(){let[e,t]=(0,r.useState)(null),i=(0,r.useMemo)(()=>({latitude:{is_null:!1},longitude:{is_null:!1}}),[]),{items:n,total:m,filter:j,pagination:Z,isLoading:b}=(0,d.Z)({pageSize:500,filter:i,fixed:["latitude","longitude"]});return(0,l.jsx)(f.Z,{isLoading:b,Filtering:(0,l.jsxs)("div",{className:"flex flex-row",children:[(0,l.jsx)(c.Z,{filterDef:u.Z,button:"Apply filters",mode:"text",onSetFilterField:j.set}),(0,l.jsx)(o.Z,{filterDef:u.Z,filter:j.filter,onClearFilterField:j.clear,fixedFilterFields:j.fixed})]}),Pagination:(0,l.jsx)(s.Z,{pagination:Z,pageSizeOptions:[100,200,500,1e3,2e3,5e3,-1]}),Counts:(0,l.jsx)(g.Z,{total:m,startIndex:Z.page*Z.pageSize,endIndex:(Z.page+1)*Z.pageSize}),children:(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,l.jsx)(p,{recordings:n,onClickRecording:t}),(0,l.jsx)("div",{className:"col-start-2 h-full grow",children:null==e?(0,l.jsx)(h.Z,{outerClassName:"h-full",className:"h-full grow",children:"Select a Recording by clicking on the map."}):(0,l.jsx)(x.Z,{recording:e,SpectrogramRecording:a.Z,height:400})})]})})}},65903:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var l=i(57437),n=i(36760),r=i.n(n);function s(e){let{children:t,outerClassName:i="p-8",className:n}=e;return(0,l.jsx)("div",{className:"".concat(i," w-full"),children:(0,l.jsx)("div",{className:r()(n,"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})})}}},function(e){e.O(0,[5501,6523,7928,7119,3464,5021,9064,1713,3044,2906,3633,5109,237,5335,5883,9091,5097,4588,3916,3566,118,3857,2758,6063,2974,8531,616,2971,2117,1744],function(){return e(e.s=65771)}),_N_E=e.O()}]);