1"use strict";(globalThis.webpackChunk_danskernesdigitalebibliotek_dpl_react||=[]).push([[741],{37716(t,e,a){var i=a(29431),o=(a(71763),a(41192)),n=a(83203),s=a(32964),r=a(33162),c=a(26604),l=a(94205),d=a(16197),m=a(29045),p=a(72296),u=a(2683),b=a(32437),h=a(91987);const f=({cql:t,location:e,sublocation:a,branch:i,department:o,onshelf:n,sort:r,title:f,description:A,requestedAmount:q,firstaccessiondateitem:x,materialType:y})=>{const T=(0,s.F)()("buttonText"),k=(0,m.Ay)(),g=(0,p.C)(),G=(0,p.e)({onShelf:n,branch:i,department:o,location:e,sublocation:a}),{data:j,isLoading:w}=(0,d.YP)({cql:t,offset:0,limit:q,filters:{branchId:k,...e?{location:(0,u.G4)(e)}:{},...a?{sublocation:(0,u.G4)(a)}:{},...i?{branch:(0,u.G4)(i)}:{},...o?{department:(0,u.G4)(o)}:{},...n?{status:[d.Ky.Onshelf]}:{},...x?{firstAccessionDate:decodeURIComponent(x)}:{},...G?g:{}},...r?{sort:b.lf[r]}:{}});if(w||!j)return(0,h.jsx)(l.A,{title:f});const C=j.complexSearch.works.map(t=>({wid:t.workId,materialType:y}));return(0,h.jsx)(c.A,{title:f,materials:C,description:A,buttonText:T})};var A=a(26069);const q=(0,n.NV)((0,r.nU)((0,s.i)(({cql:t,location:e,sublocation:a,branch:i,department:n,onshelf:s,sort:r,title:c,description:l,requestedAmount:d,firstaccessiondateitem:m,materialType:p})=>(0,h.jsx)(o.A,{app:"material-grid-automatic",children:(0,h.jsx)(f,{cql:t,location:e,sublocation:a,branch:i,department:n,onshelf:(0,A.yG)(s),sort:r,title:c,description:l,requestedAmount:d,firstaccessiondateitem:m,materialType:p})}))));(0,i.A)({appName:"material-grid-automatic",app:q})}},t=>{t.O(0,[23],()=>t(37716)),t.O()}]); 2//# sourceMappingURL=MaterialGridAutomatic.js.map
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.