1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BooksSearchResultsContainer.CMVVb348.js","assets/react-vendor.B75MsAI9.js","assets/AuthModalContainer.D3JsQqnf.js","assets/AuthModalContainer-BhQ3rY72.css","assets/ActionBar.SIhZnVTJ.js","assets/ActionBar-BVnV1O-q.css","assets/Pagination.BhqFAx5i.js","assets/Pagination-0qbSHwhv.css","assets/main.DrmgIV4z.js","assets/RTLProvider.Bmr48mpV.js","assets/LazyFontLoader.5DGfhuFK.js","assets/main-Cah3kTfJ.css","assets/FiltersBar.DCM5nKCa.js","assets/flatMap.CYmCgMUm.js","assets/pick.uU6gbf1j.js","assets/SelectField.B1q6eOH-.js","assets/SelectField-Bw12GGp9.css","assets/Inliner.7-BReDbg.js","assets/Inliner-C20jdbcK.css","assets/FiltersBar-BgmOHjvG.css","assets/FiltersPanel.CZMrAA8h.js","assets/FiltersPanel-B_gK2ORF.css","assets/NoResults.CdW-ZXlE.js","assets/NoResults-nmc9G55p.css","assets/PageHeader.DzbSaWOY.js","assets/PageHeader-u4MU9IL6.css","assets/BottomTabbedNavBar.juCVGsuy.js","assets/SiteNavLink.CgvBTSZT.js","assets/SiteNavLink-DnJGfQCh.css","assets/BottomTabbedNavBar-DxtC0uLG.css","assets/Block.v-v90TCf.js","assets/Block-H8wB85PJ.css","assets/Table.DqiCxnM7.js","assets/Table-BcBAzjjA.css","assets/isEmpty.CnTxIE1l.js","assets/BooksSearchResultsContainer-r3VFqMK8.css","assets/MatchesSearchResultsContainer.B8mLcay6.js","assets/MatchesSearchResultsContainer-VvlUL_uq.css","assets/ImagesSearchResultsContainer.CCQ7fRSE.js","assets/ImageCard.mKL15i44.js","assets/ImageCard-7mi87G6q.css","assets/ImagesBulkDownloadModal.DYp0EQNY.js","assets/ImagesSearchResultsContainer-B5Fcvqj6.css","assets/ListsSearchResultsContainer.D_kWQGD7.js","assets/ReadingListCard.f_eBVkhP.js","assets/ReadingListCard-Bd4Mi9uu.css","assets/PeopleSearchResultsContainer.DQI-JZ0z.js","assets/Avatar.DudPqjKy.js","assets/Avatar-vQISZ0
1ZH.css","assets/PeopleSearchResultsContainer-B_cTW9em.css","assets/index.BrnExWA-.js","assets/index-CFW8AvXi.css"])))=>i.map(i=>d[i]); 2import{r as e,j as t}from"./react-vendor.B75MsAI9.js";import{u as a,fY as r,U as l,a as s,cs as o,O as n,Q as i,cH as c,aB as u,a4 as d,dS as h,b5 as p,m as g,o as m,M as y,t as f,s as b,aS as C,p as S,x as j,dL as x,aN as k,iQ as F,P as v,aL as T,H as _,iR as R,fy as O,dZ as B,iS as w,z as A,N as $}from"./AuthModalContainer.D3JsQqnf.js";import{T as L,j as P,g as q}from"./main.DrmgIV4z.js";import{P as I}from"./PageHeader.DzbSaWOY.js";import{N as E}from"./NoResults.CdW-ZXlE.js";import M from"./BottomTabbedNavBar.juCVGsuy.js";import{B as U}from"./Block.v-v90TCf.js";import{T as D}from"./Table.DqiCxnM7.js";import{i as V}from"./isEmpty.CnTxIE1l.js";import{u as H}from"./RTLProvider.Bmr48mpV.js";import{b as N}from"./LazyFontLoader.5DGfhuFK.js";const z=e.lazy(()=>u(()=>import("./BooksSearchResultsContainer.CMVVb348.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]))),Q=e.lazy(()=>u(()=>import("./MatchesSearchResultsContainer.B8mLcay6.js"),__vite__mapDeps([36,1,2,3,8,9,10,11,20,13,14,21,22,23,6,7,37]))),W=e.lazy(()=>u(()=>import("./ImagesSearchResultsContainer.CCQ7fRSE.js"),__vite__mapDeps([38,1,2,3,4,5,15,16,6,7,39,8,9,10,11,40,22,23,17,18,41,32,33,34,12,13,14,19,20,21,42]))),G=e.lazy(()=>u(()=>import("./ListsSearchResultsContainer.D_kWQGD7.js"),__vite__mapDeps([43,1,2,3,22,9,23,6,7,44,8,10,11,45,12,13,14,15,16,17,18,19,20,21]))),K=e.lazy(()=>u(()=>import("./PeopleSearchResultsContainer.DQI-JZ0z.js"),__vite__mapDeps([46,1,2,3,6,7,47,48,49]))),Y=e.lazy(()=>u(()=>import("./index.BrnExWA-.js"),__vite__mapDeps([50,1,2,3,12,13,14,8,9,10,11,15,16,17,18,19,20,21,22,23,51])));let Z={matches:0,books:1,lists:2,stem:3,images:4,people:5,organisations:6};const J=e=>e.map(e=>({label:e.name,value:e.queryValue})),X=e=>e.map(e=>({label:e.name,value:e.queryValue})),ee=({icon:u="book-alt",headerBgUrl:d=c.defaultHeaderBgUrl,isSearchVariant:h,searchQuery:p,tags:g,headerTitle:m,audioStoryTypeHeaderTitle:y,applyFilter:f,removeFilter:b,clearFilter:C,onSortOptionChanged:S,onTabChange:j,item:x,roles:k,tab:F,totalBooksCount:v,totalListsCount:T,totalImagesCount:_,totalUsersCount:R,totalOrganisationsCount:O,totalMatchesCount:B,itemsCount:w,appliedFilters:A,viewport:$,profile:q,isRtl:D,tagBanner:V,stemSearchLps:H,stemSearchLpsCount:N,user:ee,searchContext:te=!1,onMatchesCountChange:ae})=>{const re=a(),le="pb-all-books",[se,oe]=e.useState(null),ne=e.useRef(null),ie=e.useRef(!0),ce=e.useRef(null),ue=e.useRef(j),de=e.useRef(null);e.useEffect(()=>{ue.current=j},[j]);const he=e.useMemo(()=>{if(!h||!w)return{};const e=Boolean((p||"").trim());return Object.keys(Z).filter(t=>{if(te&&"books"===t)return!1;if("matches"===t){if(!e)return!1;const t=w[r.matches];return void 0===t||t>0}return r[t]&&0!==w[r[t]]}).reduce((e,t,a)=>(e[t]=a,e),{})},[h,w,te,p]);e.useEffect(()=>{if(h&&Object.keys(he).length>0)if(null==A?void 0:A.tab){const e=A.tab,t=he[e];if(ne.current=e,void 0!==t)de.current=null,ce.current!==t&&(oe(t),ce.current=t);else if(!ie.current){const t=Object.keys(he)[0];t&&t!==e&&de.current!==t&&ue.current&&(de.current=t,ue.current(t))}}else if(ie.current||null===ce.current){const e=Object.keys(he)[0];e&&(oe(0),ce.current=0,!ie.current&&de.current!==e&&ue.current&&(de.current=e,ue.current(e)))}ie.current=!1},[h,null==A?void 0:A.tab,he]);const pe=e=>{oe(e),ce.current=e;const t=Object.keys(he)[e];if(t&&(j(t),window.dataLayer)){const e=(p||"").trim()||null;window.dataLayer.push({event:`clicked_${"books"===t?"stories":t}`,category:s.searchAllPage,label:"search_item_types",item_type:null,item_id:null,item_value:e||null,user_id:(null==ee?void 0:ee.id)||"00000",user_profile:null==ee?void 0:ee.profile_type})}},ge=null!=(null==A?void 0:A.tab)&&void 0!==he[A.tab]?he[A.tab]:se,me=g&&g.length>0&&!p,ye="images"===x;let fe=re("global.all-stories"),be=re("global.all-stories-description");if(h&&(be=""),!h||!p||g&&0!==g.length)if(!h||g&&0!==g.length||p)if(h&&me)ye?(fe=`${re("Item.tagged",{item:re("Images")})} "${g}"`,be=""):(fe=V?V.translatedName:`${re("Item.tagged",{item:re("Stories")})} "${g}
2"`,be=V?V.translatedBannerDescription:"");else if(y)fe=re("Book.listen"),be=re("Book.listen-description");else if(m)fe=m;else{const e=F||x||"stories";fe=re("stem"===e||"matches"===e?"global.all-stories":`global.all-${e}`)}else fe=re("global.all-stories");else fe=`"${p}"`;const Ce=a=>t.jsx(e.Suspense,{fallback:t.jsx(l,{}),children:t.jsx(z,{roles:k,applyFilter:f,removeFilter:b,clearFilter:C,isSearchVariant:h,showLimitedFilters:h&&me&&!ye,onSortOptionChanged:S,translateFiltersBarSortOptionsToFiltersPanelSortOptions:J,translateFiltersSortOptionsToFiltersPanelSortOptions:X,isRtl:D,category:a})}),Se=t.jsx(e.Suspense,{fallback:t.jsx(l,{}),children:t.jsx(W,{applyFilter:f,removeFilter:b,clearFilter:C,onSortOptionChanged:S,translateFiltersBarSortOptionsToFiltersPanelSortOptions:J,isRtl:D,category:"images_home"})});let je=t.jsx(U,{children:Ce("all_books_page")});if(h)if(me)ye&&(je=t.jsx(U,{children:Se}));else{const a=Boolean((p||"").trim()),n=w[r.matches];let i=Object.keys(w||{}).reduce((e,t)=>te&&t===r.books?e:e+(w[t]||0),0);a&&(i=void 0===n?Math.max(i,1):Math.max(i,n||0));const c=a&&(void 0===n||n>0);je=0===i?t.jsx(U,{children:t.jsx(E,{isRtl:D})}):t.jsx(U,{noHorizontalPadding:!0,noVerticalPadding:!0,children:t.jsxs(L,{onTabChange:pe,defaultTabKey:A.tab,activeTabIndex:ge,setIndex:ge,align:"left",isRtl:D,variant:"search-tabs",children:[c?t.jsx(P,{title:`${re("Search.matches")} (${null===B?0:B})`,shouldUnloadContent:!0,children:t.jsx(e.Suspense,{fallback:t.jsx(l,{}),children:t.jsx(Q,{searchQuery:p,isRtl:D,onResultsCountChange:ae})})},"matches"):null,!te&&w[r.books]&&w[r.books]>0?t.jsx(P,{title:`${re("Search.story-titles")} (${null===v?0:v})`,shouldUnloadContent:!0,children:Ce(s.searchAllPage)},"books"):null,w[r.lists]&&w[r.lists]>0?t.jsx(P,{title:`${re("global.list",2)} (${null===T?0:T})`,shouldUnloadContent:!0,children:t.jsx(e.Suspense,{fallback:t.jsx(l,{}),children:t.jsx(G,{applyFilter:f,removeFilter:b,clearFilter:C,onSortOptionChanged:S,translateFiltersBarSortOptionsToFiltersPanelSortOptions:J,isRtl:D})})},"lists"):null,w[r.stem]&&w[r.stem]>0?t.jsx(P,{title:`${re("global.stem")} (${N})`,shouldUnloadContent:!0,children:t.jsx(e.Suspense,{fallback:t.jsx(l,{}),children:t.jsx(Y,{stemSearchLps:H,stemSearchLpsCount:N,applyFilter:f,removeFilter:b,eventCategory:s.searchAllPage,isRtl:D})})},"stem"):null,w[r.images]&&w[r.images]>0?t.jsx(P,{title:`${re("global.image",2)} (${null===_?0:_})`,shouldUnloadContent:!0,children:t.jsx(e.Suspense,{fallback:t.jsx(l,{}),children:t.jsx(W,{applyFilter:f,removeFilter:b,clearFilter:C,onSortOptionChanged:S,translateFiltersBarSortOptionsToFiltersPanelSortOptions:J,isRtl:D,category:s.searchAllPage})})},"images"):null,w[r.people]&&w[r.people]>0?t.jsx(P,{title:`${re("global.person",2)} (${null===R?0:R})`,shouldUnloadContent:!0,children:t.jsx(e.Suspense,{fallback:t.jsx(l,{}),children:t.jsx(K,{applyFilter:f,removeFilter:b,clearFilter:C,onSortOptionChanged:S,translateFiltersBarSortOptionsToFiltersPanelSortOptions:J,isRtl:D})})},"people"):null,w[r.organisations]&&w[r.organisations]>0?t.jsx(P,{title:`${re("global.organisation",2)} (${null===O?0:O})`,shouldUnloadContent:!0,children:t.jsx(e.Suspense,{fallback:t.jsx(l,{}),children:t.jsx(K,{applyFilter:f,removeFilter:b,clearFilter:C,onSortOptionChanged:S,translateFiltersBarSortOptionsToFiltersPanelSortOptions:J,variant:o.ORGANISATION,isRtl:D})})},"organisations"):null]})})}const xe={source:[{width:"max-width: 480px",imgUrl:V?V.bannerMobileImageUrl:null},{width:"min-width: 481px",imgUrl:V?V.bannerDesktopImageUrl:null}],defaultSrc:V?V.bannerDesktopImageUrl:null,altText:"tag-banner"},ke=h?me&&!ye&&V?xe:null:y?c.readalongHeaderBgUrl:d,Fe=h?null:u,ve=[{title:re("global.home"),href:n.home(),isInternal:!0}];h&&ve.push({title:re("Search.results-for")});const Te={[le]:!0};return t.jsxs("div",{className:i(Te),children:[t.jsx(I,{icon:Fe,image:ke,pullInBottom:!0,pullInTop:h&&me&&!ye,title:fe,breadcrumbPaths:ve,description:be,isRtl:D}),je,$.medium?null:t.jsx(M,{user:q,viewport:$,t:re,isRtl:D})]})};ee.propTypes={icon:d.string,headerBgUrl:d.string,books:d.arrayOf(d.shape(q.propTypes)),onReadClicked:d.func,isSearchVariant:d.bool,searchQuery:d.string,tags:d.array,headerTitle:d.string,audioStoryTypeHeaderTitle:d.string,applyFilter:d.func,removeFilter:d.func,clearFilter:d.func,onSortOptionChanged:d.func,onTabChange:d.func,item:d.string,roles:d.array,tab:d.string,totalBooksCount:d.number,totalListsCount:d.number,totalImagesCount:d.number,totalUsersCount:d.number,totalOrganisationsCount:d.number,totalMatchesCount:d.number,itemsCount:d.object,appliedFilters:d.object,viewport:d.object,profile:d.object,isRtl:d.bool,tagBanner:d.object,stemSearchLps:d.array,stemSearchLpsCount:d.number,user:d.object,searchContext:d.bool,onMatchesCountChange:d.func};const te=({isVisible:r,onCloseClicked:l,booksSelected:s,downloadFormat:o,books:n,downloadLimitReached:i,onFormLinkClicked:c,isfetchingConfirmBooksFormat:u,confirmStoryFormat:d,bulkDownloadButtonClicked:f,isRtl:b})=>{const C=a(),[S,j]=e.useState([]),[x,k]=e.useState({});if(e.useEffect(()=>{o===h.hiResPdf&&d({download_format:o,"ids[]":s}).then(e=>{e.data&&k(e.data)})},[]),!r)return null;if(null===n||null===n[0]||null===s)return null;const F=[{header:C("DownloadModal.table-title-column"),accessor:"title"},{header:C("DownloadModal.table-language-column"),accessor:"language"},{header:C("DownloadModal.table-level-column"),accessor:"level"},{header:C("DownloadModal.table-format-column"),accessor:"format"}];let v=[];V(x)&&o!==h.hiResPdf?n.filter(e=>
2s.includes(parseInt(e.id,10))).forEach(e=>{v.push({id:e.id,title:e.title,language:e.language,level:"5"===e.level?p.emergentReaderText:e.level,format:o})}):Object.keys(x).forEach(e=>{x[e]&&x[e].length>0&&n.filter(t=>x[e].includes(t.id)).forEach(t=>{v.push({id:t.id,title:t.title,language:t.language,level:"5"===t.level?p.emergentReaderText:t.level,format:e})})});const T=t.jsx("h2",{children:C(i?"DownloadModal.link":"global.bulk-download")}),_=i?t.jsx(g,{mergeTop:!0,mergeBottom:!0,mergeSides:!0,children:t.jsx(m,{fullWidth:!0,label:C("DownloadModal.popup-footer"),variant:"primary",onClick:c})}):t.jsxs(g,{mergeTop:!0,mergeBottom:!0,mergeSides:!0,children:[t.jsx(m,{disabled:0===S.length,variant:"primary",fullWidth:!0,label:C("global.download",1),onClick:()=>{let e={};if(o!==h.hiResPdf)e[`${o}[]`]=S;else{const t=x;Object.keys(t).forEach(a=>{t[a]&&t[a].length>0&&(e[`${a}[]`]=t[a].filter(e=>S.includes(e)))})}f(e)}}),t.jsx(m,{fullWidth:!0,label:C("global.cancel"),onClick:l})]});return t.jsx(y,{header:T,onClose:l,footer:_,isRtl:b,children:i?t.jsx("p",{children:C("DownloadModal.popup")}):t.jsx(D,{data:v,columns:F,showPagination:!1,loading:u,isSelectable:!0,defaultSelectAll:!0,onCheckBoxChanged:e=>{j(e)}})})};te.propTypes={isVisible:d.bool.isRequired,onCloseClicked:d.func.isRequired,booksSelected:d.array.isRequired,downloadFormat:d.string.isRequired,books:d.array.isRequired,downloadLimitReached:d.bool,onFormLinkClicked:d.func,isfetchingConfirmBooksFormat:d.bool,confirmStoryFormat:d.func.isRequired,bulkDownloadButtonClicked:d.func.isRequired,isRtl:d.bool};const ae={category:[],publisher:[],level:[],language:[],story_type:[],sort:k.relevance,tags:[],query:"",style:[],bulk_download:x.allStories,grade:[],subject:[]},re={matches:"readFilters",books:"readFilters",lists:"listsFilters",stem:"stemFilters",images:"imagesFilters",people:"peopleFilters",organisations:"organisationsFilters"},le=({isSearchVariant:a=!1})=>{const r=f(),s=b(),o=C(),n=H(),i=S(e=>e.allBooks.headerImage);S(e=>e.allFilters.readFilters),S(e=>e.expandedSearch.isFetchingSearchBooks);const u=S(e=>e.expandedSearch.totalSearchBooksCount),d=S(e=>e.expandedSearch.totalSearchImagesCount),h=S(e=>e.expandedSearch.totalSearchListsCount),p=S(e=>e.expandedSearch.totalSearchUsersCount),g=S(e=>e.expandedSearch.totalSearchOrganisationsCount),m=S(e=>e.allFilters[e.allFilters.filterType]),y=S(e=>e.allFilters.filterType),x=S(e=>e.user.profile.roles),k=S(e=>e.allFilters),L=S(e=>e.viewport),P=S(e=>e.user.profile),q=S(e=>e.allBooks.tagBanner),I=S(e=>e.stem.stemSearchLps),E=S(e=>e.stem.stemSearchLpsCount),[M,U]=e.useState(!1),[D,V]=e.useState({}),[z,Q]=e.useState(null),[W]=e.useState(24),G=(e=>{const{searchContext:t}=j.parse(e);return"entity"===t})(o.search);e.useEffect(()=>{var e,t;const{tab:l,item:s,searchContext:n,...i}=j.parse(o.search),c=re[l]||re[s]||y,u={...k[c],...i};if(Object.entries(u).forEach(([e,t])=>{Array.isArray(ae[e])&&!Array.isArray(t)&&(u[e]=[t])}),"true"===u.isStoryCategory&&1===(null==(e=u.category)?void 0:e.length)?(r(F({categoryName:u.category[0]})),r(v({filter:{...u,categoryHeaderTitle:u.category[0]},filterType:c}))):"true"===u.isAudio&&1===(null==(t=u.story_type)?void 0:t.length)?(r(F({categoryName:"Readalong"})),r(v({filter:{...u,audioStoryTypeHeaderTitle:u.story_type[0]},filterType:c}))):r(v({filterType:c,filter:u})),a){const e={query:u.query};if(U(!0),r(T({appliedFilters:e})).then(e=>{if(!(null==e?void 0:e.ok)&&(null==e?void 0:e.errorMessage))return r(_({id:"global-auto-suggest",content:e.errorMessage})),void U(!1);const t=(null==e?void 0:e.metadata)||{};let a=Object.keys(t).filter(e=>e.endsWith("_count")).reduce((e,a)=>(e[a]=t[a],e),{});V(e=>({...e,...a})),U(!1)}).catch(e=>{U(!1)}),u.tags&&u.tags.length>0&&"images"!==s&&r(R({tagName:u.tags[0]})),e.query&&e.query.length>0){r(O({query:e.query.trim(),flag:!1})).then(e=>{const t=Array.isArray(null==e?void 0:e.results)?e.results:[];V(e=>({...e,matches_count:t.length})),Q(e=>null===e?t.length:e)}).catch(e=>{});const t=k.stemFilters||{};r(B({query:e.query.trim(),grade:t.grade||[],subject:t.subject||[],locale:t.language||[]})).then(e=>
2{void 0!==(null==e?void 0:e.hits)&&V(t=>({...t,stem_count:e.hits}))}).catch(e=>{})}}},[]),e.useEffect(()=>{window.scrollTo(0,0)},[]),e.useEffect(()=>()=>{r(w())},[r]);const K=()=>j.parse(o.search).tab,Y=()=>j.parse(o.search).item,Z=(e,t)=>{const a=m[e],l=Array.isArray(a)?a.concat(t):t,n={[e]:l},i=j.stringify({...m,...n,tab:K(),item:Y(),...G&&{searchContext:"entity"}});s(`${o.pathname}?${i}`.replace(`/${A}`,""),{replace:!0}),r(v({filter:n,filterType:y}))},J=e.useCallback(e=>{var t;const a=re[e];if(!a)return;if(j.parse(o.search).tab===e&&y===a)return;const l={query:m.query,tags:m.tags},n="readFilters"===a?{language:[],level:[],category:[],publisher:[],story_type:[],bulk_download:""}:{};r(v({filterType:a,filter:{...l,...n}}));const i=j.stringify({query:l.query||void 0,tags:(null==(t=l.tags)?void 0:t.length)?l.tags:void 0,tab:e,...G&&{searchContext:"entity"}},{skipNull:!0});s(`${o.pathname}?${i}`.replace(`/${A}`,""),{replace:!0})},[m.query,m.tags,r,y,o.pathname,o.search,s,G]),X=e.useCallback(e=>{Q(t=>t===e?t:e)},[]),te=j.parse(o.search),le=Array.isArray(te.query)?te.query[0]||"":te.query||"",se=te.tags,oe=m.query||le,ne=m.tags&&m.tags.length>0?m.tags:se?Array.isArray(se)?se:[se]:[];if(a&&!(oe||ne&&ne.length>0))return t.jsx($,{to:"/stories",replace:!0});if(a&&M)return t.jsx(l,{});const ie=K(),ce=Y();let ue="book-alt";return m.isStoryCategory?ue=N(m.categoryHeaderTitle):m.isAudio&&(ue="readalong"),t.jsx(ee,{applyFilter:Z,removeFilter:(e,t)=>{if(!m[e])return;let a;if(Array.isArray(m[e])){const r=[...m[e]],l=r.indexOf(t);-1!==l&&r.splice(l,1),a=r}else a="";const l={[e]:a},n=j.stringify({...m,...l,tab:K(),item:Y(),...G&&{searchContext:"entity"}});s(`${o.pathname}?${n}`.replace(`/${A}`,""),{replace:!0}),r(v({filter:l,filterType:y}))},clearFilter:e=>{if(!m[e])return;const t=Array.isArray(m[e])?[]:"",a={[e]:t},l=j.stringify({...m,...a,tab:K(),item:Y(),...G&&{searchContext:"entity"}});s(`${o.pathname}?${l}`.replace(`/${A}`,""),{replace:!0}),r(v({filter:a,filterType:y}))},appliedFilters:{...m,tab:ie,query:oe},item:ce,roles:x,totalListsCount:h,totalBooksCount:u,totalImagesCount:d,totalUsersCount:p,totalOrganisationsCount:g,totalMatchesCount:z,isSearchVariant:a,searchQuery:oe,tags:ne,headerBgUrl:m.isStoryCategory||m.isAudio?i:c.defaultHeaderBgUrl,headerTitle:m.isStoryCategory?m.categoryHeaderTitle:null,audioStoryTypeHeaderTitle:m.isAudio?m.audioStoryTypeHeaderTitle:null,icon:ue,onSortOptionChanged:e=>Z("sort",e),onTabChange:J,tab:ie,itemsCount:D,viewport:L,profile:P,isRtl:n,tagBanner:q,user:P,stemSearchLps:I,stemSearchLpsCount:E,searchContext:G,onMatchesCountChange:X})},se=Object.freeze(Object.defineProperty({__proto__:null,default:le},Symbol.toStringTag,{value:"Module"}));export{le as A,te as B,se as i};
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.