1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"2.19.1"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var l=1;l<arguments.length;l++){var s=arguments[l];if(null!=s)for(var a in s)s.hasOwnProperty(a)&&(e[a]=s[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:booksprout-reviewer-app":!0});var l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="4816d7b3-0e46-432f-9be8-98110ed5dd9c",e._sentryDebugIdIdentifier="sentry-dbid-4816d7b3-0e46-432f-9be8-98110ed5dd9c")}catch(e){}}(),(globalThis["webpackChunkapp_reviewer"]||=[]).push([[7014],{30857(e,l,s){s.d(l,{X:()=>v});var a=s(89221),t=s(33995),o=s(65365);const n={class:"bs-page__heading row items-center"},r={class:"bs-h4 col-xs-10 col-md-4"},i={class:"col-xs-2 md-hide lg-hide xl-hide flex justify-end"},c={key:0,class:"filter-count"},u={class:"xs-hide sm-hide col-8"},d={class:"flex justify-end"},b={key:0,class:"bs-active-filters"},p={class:"bs-in-page-nav"},m={class:"column"},g={key:1,class:"font-size-12 flex items-center text-bs-b"},f={class:"text-bold"},k={class:"row justify-center q-my-md"};function v(e,l,s,v,y,h){const _=(0,a.g2)("bs-btn"),A=(0,a.g2)("bs-input"),L=(0,a.g2)("q-icon"),S=(0,a.g2)("q-item-label"),F=(0,a.g2)("q-item-section"),C=(0,a.g2)("q-item"),w=(0,a.g2)("q-list"),V=(0,a.g2)("bs-btn-dropdown"),E=(0,a.g2)("no-results"),I=(0,a.g2)("bs-img"),M=(0,a.g2)("q-avatar"),$=(0,a.g2)("bs-chip"),W=(0,a.g2)("q-card-section"),G=(0,a.g2)("q-card"),O=(0,a.g2)("q-spinner-dots"),P=(0,a.g2)("q-infinite-scroll"),X=(0,a.g2)("q-page"),Q=(0,a.gN)("close-popup");return(0,a.uX)(),(0,a.Wv)(X,{class:"bs-page bs-authors-page"},{default:(0,a.k6)(()=>[(0,a.Lk)("div",n,[(0,a.Lk)("h1",r,(0,o.v_)(e.$t("modules.authors.labels.authors")),1),(0,a.Lk)("div",i,[(0,a.bF)(_,{class:"bs-search-btn",icon:"app:magnifier-dense",color:"transparent","text-color":"bs-grey-m",onClick:e.mobileSearch,secondary:""},{default:(0,a.k6)(()=>[e.searchValue?((0,a.uX)(),(0,a.CE)("span",c,"1")):(0,a.Q3)("",!0)]),_:1},8,["onClick"])]),(0,a.Lk)("div",u,[(0,a.Lk)("div",d,[(0,a.bF)(A,{modelValue:e.searchValue,"onUpdate:modelValue":l[0]||(l[0]=l=>e.searchValue=l),placeholder:e.$tc("modules.authors.formFields.search.placeholder"),debounce:"500",onInput:e.load,"hide-bottom-space":"",search:"","data-model":"searchValue"},null,8,["modelValue","placeholder","onInput"])])])]),e.searchValue?((0,a.uX)(),(0,a.CE)("div",b,[(0,a.Lk)("span",null,[(0,a.eW)((0,o.v_)(e.$t("system.labels.currentlySeeing"))+" ",1),(0,a.Lk)("strong",null,(0,o.v_)(e.searchValue),1),(0,a.eW)(" "+(0,o.v_)(e.$t("system.labels.searchTerm")),1)]),(0,a.bF)(_,{"text-color":"bs-g",onClick:e.clearFilters,"as-link":""},{default:(0,a.k6)(()=>[(0,a.eW)((0,o.v_)(e.$tc("system.actions.clearFilters")),1)]),_:1},8,["onClick"])])):(0,a.Q3)("",!0),(0,a.Lk)("div",p,[e.$q.screen.lt.md?((0,a.uX)(),(0,a.Wv)(V,{key:0,modelValue:e.mobileMenuVisible,"onUpdate:modelValue":l[1]||(l[1]=l=>e.mobileMenuVisible=l),"content-class":"bs-i-p-n-menu",class:(0,o.C4)({"bs-btn-dropdown__active":e.mobileMenuVisible}),label:e.currentGroupByStatus.label,icon:e.currentGroupByStatus.icon,"menu-offset":[0,-6],secondary:"","data-model":"mobileMenuVisible"},{default:(0,a.k6)(()=>[(0,a.bF)(w,null,{default:(0,a.k6)(()=>[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.groupByStatuses,l=>(0,a.bo)(((0,a.uX)(),(0,a.Wv)(C,{key:l.status,onClick:s=>e.setGroup(l.status),clickable:""},{default:(0,a.k6)(()=>[(0,a.bF)(F,null,{default:(0,a.k6)(()=>[(0,a.bF)(S,null,{default:(0,a.k6)(()=>[(0,a.bF)(L,{name:l.icon,size:"2rem"},null,8,["name"]),(0,a.eW)(" "+(0,o.v_)(l.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"])),[[Q]])),128))]),_:1})]),_:1},8,["modelValue","class","label","icon"])):((0,a.uX)(!0),(0,a.CE)(a.FK,{key:1},(0,a.pI)(e.groupByStatuses,l=>((0,a.uX)(),(0,a.Wv)(_,{key:l.status,class:(0,o.C4)({selected:e.selectedGroupByStatus===l.status}),"data-cy":`btnAuthorCategory${l.label}`,onClick:s=>e.setGroup(l.status),flat:"","as-link":""},{default:(0,a.k6)(()=>[(0,a.bF)(L,{name:l.icon,size:"1.125rem"},null,8,["name"]),(0,a.Lk)("span",null,(0,o.v_)(l.label),1)]),_:2},1032,["class","data-cy","onClick"]))),128))]),e.showNoResults?((0,a.uX)(),(0,a.Wv)(E,{key:1,to:e.linkService.adminCreate("pen-name"),searchTerm:e.searchValue,model:"AuthorDto",label:e.$t("modules.authors.formFields.search.noResults",[e.searchValue]),btn:e.$tc("system.actions.clearFilters"),onClear:e.clearFilters,alt:""},null,8,["to","searchTerm","label","btn","onClear"])):(0,a.Q3)("",!0),(0,a.bo)((0,a.Lk)("div",null,[(0,a.bF)(P,{ref:"infiniteScroller",offset:50,onLoad:e.lazyLoad,class:"list-grid authors"},{loading:(0,a.k6)(()=>[(0,a.Lk)("div",k,[(0,a.bF)(O,{color:"primary",size:"40px"})])]),default:(0,a.k6)(()=>[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.list,l=>((0,a.uX)(),(0,a.Wv)(C,{key:l.id,class:"list-grid-item",to:e.linkService.frontEndRelative("author","view",l.id,l.name),clickable:""},{default:(0,a.k6)(()=>[(0,a.bF)(G,{class:"bs-card"},{default:(0,a.k6)(()=>[(0,a.bF)(W,null,{default:(0,a.k6)(()=>[(0,a.bF)(M,{size:"4rem"},{default:(0,a.k6)(()=>[(0,a.bF)(I,{"placeholder-src":"/cdn/no-image.png",src:l.image},null,8,["src"])]),_:2},1024),(0,a.Lk)("div",m,[(0,a.Lk)("strong",null,(0,o.v_)(e.ellipsis(l.name,30)),1),void 0!==l.followers.find(l=>l.id===e.mimicOrAuthenticatedUser.id)?((0,a.uX)(),(0,a.Wv)($,{key:0,class:"bg-bs-lg-m"},{default:(0,a.k6)(()=>[(0,a.eW)((0,o.v_)(e.$tc("system.actions.following")),1)]),_:1})):((0,a.uX)(),(0,a.CE)("span",g,[(0,a.bF)(L,{name:"app:teams",size:".875rem"}),(0,a.Lk)("span",f,(0,o.v_)(l.followerCount)+" Â ",1),(0,a.eW)(" "+(0,o.v_)(e.$tc("system.actions.following")),1)]))])]),_:2},1024)]),_:2},1024)]),_:2},1032,["to"]))),128))]),_:1},8,["onLoad"])],512),[[t.aG,e.scrollPageLoaded]])]),_:1})}},9490(e,l,s){var a=s(89221),t=s(7869),o=s(65732),n=s(11381),r=s(71391),i=s(60489),c=s(96405),u=s(74399),d=s(25438),b=s(19486),p=s(62856),m=s(33067),g=s(39078);const f=(0,a.pM)({name:"AuthorIndex",components:{NoResults:(0,a.$V)(()=>s.e(996).then(()=>s(15743)))},setup(){const e=o.jGy.PEN_NAME.FILTER_GROUP,l=(0,n.Pp)(),{ellipsis:s}=(0,i.d)(r.Tl),{setPageMeta:f}=(0,u.Z)({router:l.$router}),k=(0,p.c)(),v=(0,d.U)(l).isMobileApp(),{setUrlFilterParams:y}=(0,b.y)(v),h=(0,t.IG)((0,n._O)().penName.service),_=(0,t.IG)((0,m.i)().link()),A=(0,t.KR)(!1),L=(0,t.KR)(0),S=l=>
1({skip:F.skip.value,take:F.rowsPerPage.value,sortBy:F.sortBy.value,descending:F.sortDescending.value,genericSearch:!0,genericSearchTerm:w.searchValue.value,following:L.value===e.FOLLOWING}),F=(0,c.p)({crudService:h,route:l.$route,getData:()=>h.get(S()),infiniteScroll:!0,rowsPerPage:24,infiniteScroller:()=>l.$refs.infiniteScroller,paginator:()=>l.$refs.paginator}),C="authors",w=(0,g.o)({vm:l,searchKey:()=>C,load:()=>F.load()}),V=(0,a.EW)(()=>[{count:0,status:e.ALL,label:l.$tc("system.labels.all"),icon:"app:all-authors"},{count:0,status:e.FOLLOWING,label:l.$tc("system.actions.following"),icon:"app:following-authors"}]),E=(0,a.EW)(()=>V.value.filter(e=>e.status===L.value)[0]),I=e=>{F.resetPagination(),F.resetList(),L.value=e;const l=(0,o.M$)(v?"?":void 0)||{};"object"===typeof l&&(l["groupByStatus"]=e,y(l)),F.load()},M=()=>{w.searchValue.value="",L.value=e.ALL,F.load()};return(0,a.KC)(()=>f("authors")),(0,a.sV)(()=>F.start()),Object.assign(Object.assign(Object.assign({},F),w),{makeGetArgs:S,clearFilters:M,mobileSearchKey:C,MODULE_CONSTANTS:o.jGy,linkService:_,ellipsis:s,mimicOrAuthenticatedUser:(0,a.EW)(()=>k.mimicOrAuthenticatedUser),urlModelName:"pen-name",mobileMenuVisible:A,selectedGroupByStatus:L,groupByStatuses:V,currentGroupByStatus:E,setGroup:I})}});s.d(l,["A",0,f])},7337(e,l,s){s.r(l);var a=s(30857),t=s(45932),o=s(82922),n=s(61786),r=s(1425),i=s(6338),c=s(64527),u=s(79866),d=s(7978),b=s(69539),p=s(91322),m=s(57767),g=s(82438),f=s(66444),k=s(4702),v=s(258),y=s.n(v);const h=(0,o.A)(t.A,[["render",a.X]]),_=h;y()(t.A,"components",{QPage:n.A,QList:r.A,QItem:i.A,QItemSection:c.A,QItemLabel:u.A,QIcon:d.A,QInfiniteScroll:b.A,QCard:p.A,QCardSection:m.A,QAvatar:g.A,QSpinnerDots:f.A}),y()(t.A,"directives",{ClosePopup:k.A}),s.d(l,["default",0,_])},45932(e,l,s){s.d(l,{A:()=>a.A});var a=s(9490)}}]); 2//# sourceMappingURL=reviewer-app.pages.list2.49b43287.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.