PageSourceSearch

https://search.worldcat.org/_next/static/chunks/7277.b0eb128055b94c4c.js

js worldcat.org collected 2026-09-24 07:39:17 UTC 4,078 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7277],{24482:(t,e,i)=>{i.d(e,{A:()=>n}),i(14232);var o=i(35739),s=i(37876);let n=t=>{let{distance:e,unit:i,shortUnits:n,addPlus:a}=t,r=(0,o.A)(e,i,n,a);return(0,s.jsx)(s.Fragment,{children:r})}},35739:(t,e,i)=>{i.d(e,{A:()=>s});var o=i(58794);let s=(t,e,i,s)=>{let n=(0,o.tz)().formatNumber(t,{style:"unit",unit:"M"===e?"mile":"kilometer",unitDisplay:i?"short":"long",maximumFractionDigits:+(t<10)});return s&&(n=n.replace(`${t}`,`${t}+`)),n}},59658:(t,e,i)=>{i.r(e),i.d(e,{default:()=>f});var o=i(14232),s=i(24480),n=i(99220),a=i(58794),r=i(36973),l=i(59828),d=i(24482),c=i(10347),m=i(23625),p=i(19708),g=i(85983),u=i(46940),w=i(37876);let b=(0,n.n9)()((t,e)=>{let{isIpadOrTablet:i}=e;return{borrowSection:{padding:i?"":t.spacing(2,3),backgroundColor:t.palette.common.white,borderColor:t.palette.gray.BBC6D2},openAccess:{color:t.palette.text.primary,padding:t.spacing(.5),[t.breakpoints.down(t.breakpoints.values.sm)]:{width:"auto"}},ctaButton:{marginTop:t.spacing(1.5),marginBottom:t.spacing(1.5)},labelText:{textAlign:i?"":"center",flexBasis:i?"40%":""},isResponsiveView:{display:"flex",flexDirection:"row",alignItems:"center",padding:t.spacing(3),gap:t.spacing(2),justifyContent:"space-between"},isIpadButton:{flexBasis:"25%"},isIpadLabelText:{display:"flex",flexDirection:"row",justifyContent:"flex-end",paddingRight:t.spacing(7.5),marginBottom:t.spacing(3)}}}),f=t=>{let{oclcNumber:e,buttonType:i}=t,{isIpadOrTablet:n}=(0,p.A)(),{classes:f,cx:B}=b({isIpadOrTablet:n}),h=(0,a.tz)(),x=h.formatMessage({defaultMessage:"Borrow",id:"components.title.BorrowItems.38883378"}),{sessionHoldings:I,holdingsDataLocation:y}=(0,o.useContext)(m.X),A=(0,c.A)(y,!1),N=(0,w.jsx)(d.A,{distance:I?.holdings?.[0]?.distance,unit:I?.holdings?.[0]?.distanceUnit}),k=I?.holdings?.[0]?.institutionName?(0,w.jsx)(g.A,{children:I?.holdings?.[0]?.institutionName?.toString()}):null,{collectEvent:j}=(0,u.$)(),_={library_name:I?.holdings?.[0]?.institutionName,library_registry_id:I?.holdings?.[0]?.registryId,library_type:I?.holdings?.[0]?.institutionType,link_version:"Item Details Primary"};return I?.totalHoldingCount>0&&k?(0,w.jsxs)(r.A,{className:f.borrowSection,component:"section",children:[(0,w.jsxs)(s.A,{className:n?B(f.openAccess,f.isResponsiveView):f.openAccess,sx:{alignItems:"center"},children:[(0,w.jsx)(s.A,{className:f.labelText,"data-testid":"borrow-from-label",children:h.formatMessage({defaultMessage:"Borrow from <b>{institution}</b> near {location}",id:"components.title.BorrowItems.3909796491",id:"components.title.BorrowItems.3909796491",id:"components.title.BorrowItems.3909796491",id:"components.title.BorrowItems.3909796491"},{b:t=>(0,w.jsx)("strong",{children:t},"bold"),institution:k,location:A})}),(0,w.jsx)(l.A,{className:n?f.isIpadButton:f.ctaButton,onClick:()=>{j(u.s.library_catalog_click,_)},target:"_blank","data-testid":"borrow-button",variant:i,fullWidth:!0,color:"primary",href:`/opaclink?oclcNumber=${e}&registryId=${I?.holdings?.[0]?.registryId}&institutionName=${I?.holdings?.[0]?.institutionName}`,"aria-label":h.formatMessage({defaultMessage:"Borrow from {library}",id:"components.title.BorrowItems.1565686815",id:"components.title.BorrowItems.1565686815",id:"components.title.BorrowItems.1565686815",id:"components.title.BorrowItems.1565686815"},{library:I?.holdings?.[0]?.institutionName}),children:x}),!n&&(0,w.jsx)(s.A,{className:f.labelText,"data-testid":"borrow-distance-label",children:h.formatMessage({defaultMessage:"{formattedDistance} away",id:"components.title.BorrowItems.1788999965",id:"components.title.BorrowItems.1788999965",id:"components.title.BorrowItems.1788999965",id:"components.title.BorrowItems.1788999965"},{formattedDistance:N})})]}),n&&(0,w.jsx)(s.A,{className:f.isIpadLabelText,"data-testid":"borrow-distance-label",children:h.formatMessage({defaultMessage:"{formattedDistance} away",id:"components.title.BorrowItems.1788999965",id:"components.title.BorrowItems.1788999965",id:"components.title.BorrowItems.1788999965"},{formattedDistance:N})})]}):null}}}]);

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.