PageSourceSearch

https://www.manuscriptorium.com/hub/chunk-YLHP5NZI.js

js manuscriptorium.com collected 2026-10-01 11:59:02 UTC 24,684 bytes, 10 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f99324c0-aa96-5c69-8b3c-2d424bc6cbed")}catch(e){}}();
3import{a as It}from"./chunk-MOH65SGZ.js";import{s as Dt}from"./chunk-AUBJXICJ.js";import"./chunk-YYLFY4JI.js";import"./chunk-NERU6AOH.js";import"./chunk-7UFVSFAJ.js";import"./chunk-CBUHJ46T.js";import"./chunk-UT5FM6F6.js";import"./chunk-5UQCCOJX.js";import"./chunk-FOEBA2UI.js";import"./chunk-Q7HO4EIY.js";import"./chunk-BSWOONOW.js";import"./chunk-5K6C2BVP.js";import"./chunk-OQNALS63.js";import"./chunk-G4B7HIC3.js";import"./chunk-2B4ITIT4.js";import{a as bt,b as yt,c as St,g as wt}from"./chunk-GF47EVLL.js";import"./chunk-CUYRVARM.js";import{a as gt}from"./chunk-MRWR3PYV.js";import"./chunk-TMXQOQAZ.js";import{a as Qe}from"./chunk-XV5QIMWT.js";import"./chunk-SLFYNCPI.js";import"./chunk-5UHMJW36.js";import"./chunk-IYUMFKEF.js";import{a as ct}from"./chunk-XPYLAOKG.js";import"./chunk-YL4SRX5A.js";import{a as oe}from"./chunk-IDR7UHOO.js";import{b as et}from"./chunk-INAATMMS.js";import{b as te}from"./chunk-DVBSFVTD.js";import"./chunk-4KSEICF6.js";import"./chunk-BNU6QOCZ.js";import{a as mt}from"./chunk-ZNPPFTTW.js";import"./chunk-NEXQTY2J.js";import{a as ht}from"./chunk-JBLOL47H.js";import{a as ut}from"./chunk-BC5T2C4I.js";import"./chunk-72MAIYUE.js";import{a as me}from"./chunk-PRVZHEXG.js";import"./chunk-UQSE6IDS.js";import"./chunk-6UYOB6HB.js";import"./chunk-QOZ42I2V.js";import"./chunk-JF4RXS3N.js";import{c as ee}from"./chunk-JPLQSIRA.js";import{a as ft}from"./chunk-MV3ZJ7JI.js";import"./chunk-UF4XAEAW.js";import"./chunk-TZKEWVNV.js";import"./chunk-PZOOARXM.js";import{a as _t}from"./chunk-7R3THJ2K.js";import"./chunk-IOINOP65.js";import"./chunk-3XNYGLID.js";import"./chunk-IJF47LEK.js";import{a as Xe}from"./chunk-F67WLCRU.js";import"./chunk-3HPJAYXA.js";import"./chunk-NDD7CGWO.js";import{b as Ct}from"./chunk-2MPNCLOG.js";import"./chunk-WRVXBG7J.js";import"./chunk-DSVZN727.js";import"./chunk-AGMLPEIF.js";import"./chunk-7XZ45MZ2.js";import{b as dt,c as pt,d as ce}from"./chunk-MTUM7EG7.js";import"./chunk-STCVXFCF.js";import"./chunk-4RURJQFZ.js";import"./chunk-T7JTIJV4.js";import"./chunk-GDGD3Y6P.js";import"./chunk-HIB5XO7Q.js";import"./chunk-ZL5DBPOC.js";import"./chunk-EKYHFVDS.js";import"./chunk-M7WNTR54.js";import"./chunk-3LWNFNGE.js";import{a as vt}from"./chunk-XBXX6QLX.js";import"./chunk-TL6QDTBW.js";import"./chunk-JV2L7MYN.js";import"./chunk-ZFYENID4.js";import"./chunk-MXYA7GQW.js";import"./chunk-LWMYXBS5.js";import"./chunk-W35CTE5C.js";import"./chunk-4EMHEHJ6.js";import"./chunk-6645EZR4.js";import"./chunk-XFAF5S7Z.js";import"./chunk-M4IILFJ3.js";import{c as rt,d as st}from"./chunk-BAZL6NF4.js";import"./chunk-KSAI64SC.js";import"./chunk-4OKBJHA3.js";import"./chunk-IGF4Q3UV.js";import"./chunk-5LLCBLBT.js";import{a as le,b as at,c as nt}from"./chunk-QCYJORZH.js";import{a as lt}from"./chunk-25TLZWGN.js";import"./chunk-X4MIQBLO.js";import"./chunk-OJGT5CO7.js";import"./chunk-3HJQ4TOJ.js";import"./chunk-SKTI4NAC.js";import"./chunk-ZIY5LUDO.js";import"./chunk-ZYUTWCO6.js";import"./chunk-LGTR2RZZ.js";import"./chunk-D7RJNFXS.js";import"./chunk-6DUIK7YH.js";import"./chunk-OGLZVKAI.js";import"./chunk-F3DIDVL3.js";import"./chunk-ED6XGBQZ.js";import"./chunk-WIA6ODZO.js";import{a as $}from"./chunk-HL46H2EF.js";import"./chunk-3WCXLTLQ.js";import"./chunk-AL3IGSFY.js";import"./chunk-Y6MFRVHJ.js";import"./chunk-QZCSODQJ.js";import"./chunk-EVYTSREZ.js";import{a as u}from"./chunk-2VJVLRAK.js";import{b as P}from"./chunk-T3VVOZZT.js";import{a as Z}from"./chunk-VL3JZD4E.js";import"./chunk-I3FUPXYI.js";import"./chunk-YC2LWIB2.js";import"./chunk-GOKWZW6W.js";import"./chunk-WUY2JFPV.js";import"./chunk-Y3UE7WYA.js";import"./chunk-DIGISOJZ.js";import{a as Ee}from"./chunk-Z4P3RLRP.js";import"./chunk-PVZKWQQE.js";import{e as tt,i as ot,k as it}from"./chunk-RS4OAOOQ.js";import"./chunk-3ILK6YWQ.js";import"./chunk-KJDRDLDU.js";import"./chunk-KBXZSGGD.js";import"./chunk-CAZIV44N.js";import"./chunk-VED26QIY.js";import"./chunk-UCBWKLJS.js";import{f as Ae,q as $e}from"./chunk-XIEPXTT7.js";import{a as Je,b as We}from"./chunk-Z5SC3XPW.js";import"./chunk-C7TPGH4O.js";import"./chunk-OCEDQH3D.js";import{a as Ue}from"./chunk-QCZFMUQ2.js";import{a as Ne,i as Oe}from"./chunk-FYEFAVDI.js";import"./chunk-V32LTTP3.js";import{h as Ze}from"./chunk-CDLPTF5L.js";import"./chunk-JXYUH2JJ.js";import{a as Te,b as xe,c as Be}from"./chunk-75MSKHQ5.js";import"./chunk-DBAVNV7D.js";import"./chunk-LZANT4A3.js";import"./chunk-2IL73E45.js";import"./chunk-VQTNL4J6.js";import{c as ke,d as Fe}from"./chunk-NXGCLNSX.js";import"./chunk-BNJ4S4NE.js";import"./chunk-N37DZZN7.js";import"./chunk-OD6I7YAT.js";import"./chunk-YQKICT5N.js";import"./chunk-6GTHYMO6.js";import"./chunk-LQWW6DAP.js";import"./chunk-QVMKUOA2.js";import{D as Ke,F as He,c as ze,e as se,h as je,i as qe,o as Ve,s as Ge,v as Ye}from"./chunk-DUEKGWVE.js";import{b as w,c as I}from"./chunk-SV4QHZ6R.js";import"./chunk-J7WPYGOY.js";import{a as R,j as A,k as y,l as S}from"./chunk-WZYMWVAN.js";import"./chunk-WO2N3BGC.js";import"./chunk-WHTYCSAG.js";
3import"./chunk-MIRAE4HP.js";import{a as L,b as Le,f as D}from"./chunk-LKCBMZWZ.js";import"./chunk-VMBK3ESP.js";import{s as Pe}from"./chunk-VQM3N5YY.js";import"./chunk-U2S4Q5VS.js";import"./chunk-7B3DFEIE.js";import"./chunk-QFRXUKCK.js";import{$b as K,Bb as v,Ec as p,Fc as x,G as be,Gc as re,Hc as Me,Ja as Ie,Ld as X,O as ye,P as Se,Rd as Q,Sb as De,Uc as W,Wb as V,Yb as G,Zc as c,_b as Y,_c as m,_d as B,ac as H,ba as j,bc as d,cc as n,dc as l,eb as q,ec as C,ha as T,id as Re,jb as r,lc as J,ma as a,md as b,nc as h,nd as g,o as Ce,pc as M,sa as O,t as _e,ta as U,u as z,y as ne,ya as we}from"./chunk-MPV5Q6GW.js";import{a as ae,b as ve}from"./chunk-THKSGHO2.js";var Mt=/default_core_(.*)/,ie=(()=>{class t{constructor(){this.transloco=a(A),this.castor=a(ee),this.repository=a(mt),this.fieldService=a(ct),this.auth=a(Ze),this.catalogEnv=a(P),this.frameState=a($)}get configId(){return this.catalogEnv.activeConfigId}load(e=!1){let i=this.transloco.getActiveLang();return this.frameState.setLoading(!0),ne([this.castor.detailReportLang(i),this.castor.projectInfoLang({uiLang:i})]).pipe(Se(()=>{this.frameState.setLoading(!1)}),z(([o,s])=>{let N=this.repository.getActiveCoreId(),fe=s.projectCores;if(e){fe.some(f=>f.coreId===N)||this.repository.clearActiveCoreId();let _=this.auth.getRole(f=>Mt.test(f));if(_){let f=_.match(Mt);if(f&&f.length>0){let E=f[1];this.repository.setActiveCoreId(E)}}this.auth.isLoggedIn()||this.repository.clearActiveCoreId()}this.repository.reports=o.sort((_,f)=>_.reportId.localeCompare(f.reportId)),this.repository.cores=fe;let ge=et.getLanguageByIso_639_1(i);return ne(s.projectCores.map(_=>this.castor.coreInfoLang({coreId:_.coreId,uiLang:ge?ge.iso_639_1:"cs"}).pipe(be(()=>Ce(null))))).pipe(j(_=>{let f=[];_.filter(E=>!!E).forEach(E=>{this.fieldService.setup(E,Ee(this.catalogEnv.env.castor.sortRegisterFields)?!0:this.catalogEnv.env.castor.sortRegisterFields),f.push(E)}),this.repository.cores=f}))})).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var de=(()=>{class t extends Dt{constructor(){let e=a(P);super("catalog",e),this.catalogRouting=a(u),this.castor=a(ee),this.transloco=a(A),this.castorConfigService=a(ie),this.searchService=a(te),this.frameRepository=a(Z),this.frameState=a($),this.catalogEnv=e}setup(){this.castor.setCastorUrl(this.catalogEnv.env.castor.url),this.transloco.setTranslation({catalog:{titles:this.catalogEnv.env[this.transloco.getActiveLang()]}},this.transloco.getActiveLang(),{merge:!0}),this.castor.ping().subscribe(i=>{console.info(`%c\u276F \u{1F50D}\uFE0F Catalog ${i.server.system}:%c v${i.server.version} (${i.server.build})`,"font-size: 14px; font-weight: bold","")}),this.castorConfigService.load(!0),this.frameState.isMobile()&&this.searchService.hideFacetList(),this.frame.setStaticRoutes(this.getStaticRoutes()),this.frame.setRouteCategories([{id:ce,label:"catalog.titles.topics",icon:"folder"},{id:dt,label:"catalog.titles.pinned_details",icon:"keep"},{id:pt,label:"catalog.titles.comparison",icon:"text_compare"}]),this.initTopics()}initTopics(){for(let e of this.catalogEnv.env.topics||[])this.frame.addDynamicRoute({deletable:!1,category:ce,url:this.catalogRouting.topicSingleRouteUrl(e.id),label:e.shortLabel})}getStaticRoutes(){return[...this.catalogEnv.hasMapSearch()?[]:[{url:this.catalogRouting.searchDefaultRouteUrl(),label:"catalog.routes.search_default",deletable:!1,htmlId:"menutryit",icon:"search",classes:["flex","lg:hidden"]}],...this.catalogEnv.hasMapSearch()?[{icon:"map",url:this.catalogRouting.searchMapRouteUrl(),label:"catalog.routes.search_map_default",deletable:!1,htmlId:"menusearchmap"}]:[],{url:this.catalogRouting.searchResultRouteUrl(),label:"catalog.routes.search_result_desktop",deletable:!1,htmlId:"menusearchrec",icon:"search",classes:["hidden","lg:flex"]},{url:this.catalogRouting.searchResultRouteUrl(),label:"catalog.routes.search_result_mobile",deletable:!1,htmlId:"menusearchrec",icon:"list",classes:["flex","lg:hidden"]},{url:this.catalogRouting.detailDefaultRouteUrl(),label:"catalog.routes.detail_default",deletable:!1,htmlId:"menudetailrec",icon:"summarize"},...this.catalogEnv.env.news&&this.catalogEnv.env.news.length>0?[{url:this.catalogRouting.newsDefaultRouteUrl(),label:"catalog.routes.news_default",deletable:!1,htmlId:"menunews",icon:"campaign"}]:[],{url:this.catalogRouting.settingsDefaultRouteUrl(),label:"catalog.routes.settings_default",deletable:!1,htmlId:"menusettings",icon:"settings"}]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=T({token:t,factory:t.\u0275fac})}}return t})();var At=t=>[t,"active-panel top-0 bottom-0 left-0 right-0 absolute"];function $t(t,F){if(t&1){let e=J();n(0,"div",6),h("click",function(){let o=O(e).$implicit,s=M();return U(s.selectChange.emit(o))}),C(1,"div",7)(2,"img",8),c(3,"safe"),l()}
3if(t&2){let e,i=F.$implicit,o=M();r(),d("ngClass",W(4,At,((e=o.selected())==null?null:e.id)===i.id?"block":"hidden")),r(),d("src",m(3,2,i.image),q)}}var kt=(()=>{class t{constructor(){this.checked=g([]),this.countChecked=g(0),this.maxBatchSize=g(0),this.selected=g(null),this.disabled=g(!1),this.selectChange=b(),this.cancelSelection=b()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=v({type:t,selectors:[["cat-checklist"]],inputs:{checked:[1,"checked"],countChecked:[1,"countChecked"],maxBatchSize:[1,"maxBatchSize"],selected:[1,"selected"],disabled:[1,"disabled"]},outputs:{selectChange:"selectChange",cancelSelection:"cancelSelection"},decls:11,vars:6,consts:[[1,"p-2","flex","justify-between","items-center"],[1,"text-center"],["mat-icon-button","",1,"error-icon-button",3,"click","disabled","title"],[1,"py-2"],[1,"flex","justify-center","flex-wrap"],[1,"cursor-pointer","relative","mr-1","mb-1"],[1,"cursor-pointer","relative","mr-1","mb-1",3,"click"],[3,"ngClass"],[1,"h-64",3,"src"]],template:function(i,o){i&1&&(n(0,"div",0)(1,"div",1),p(2),l(),n(3,"button",2),c(4,"transloco"),h("click",function(){return o.cancelSelection.emit()}),n(5,"mat-icon"),p(6,"delete"),l()()(),n(7,"div",3)(8,"div",4),K(9,$t,4,6,"div",5,Y),l()()),i&2&&(r(2),Me("",o.countChecked()," / ",o.maxBatchSize()),r(),d("disabled",o.countChecked()===0||o.disabled())("title",m(4,4,"catalog.multi_image_download.cancel_selection")),r(6),H(o.checked()))},dependencies:[B,X,I,w,D,L,S,y,_t],styles:[`[_nghost-%COMP%]   .active-panel[_ngcontent-%COMP%]{background-color:rgb(from var(--mat-sys-primary) r g b/.5)}
4/*# sourceMappingURL=checklist.component-YEJYRDNI.css.map */`],changeDetection:0})}}return t})();function Pt(t,F){if(t&1&&(n(0,"mat-option",5),p(1),l()),t&2){let e=F.$implicit;d("value",e),r(),re(" ",e.name," ")}}function Lt(t,F){t&1&&(n(0,"div",7)(1,"mat-icon",10),p(2,"warning"),l(),p(3),c(4,"transloco"),l()),t&2&&(r(3),re(" ",m(4,1,"catalog.multi_image_download.messages.too_large_zip")," "))}var Ft=(()=>{class t{#e;constructor(){this.countChecked=g(0),this.disabled=g(!1),this.download=b(),this.fb=a(Ke),this.localStorageKey=a(xe),this.#e=Be(this.localStorageKey.key(Te.CATALOG_MULTI_IMAGE_DOWNLOAD_FORM),{resolution:null,zip_name:Date.now()}),this.downloadForm=this.fb.group({resolution:[this.#e().resolution,se.required],zip_name:[this.#e().zip_name,se.required]}),this._resolutions=[],this.downloadForm.valueChanges.pipe(R()).subscribe(()=>this.#e.set(this.downloadForm.getRawValue()))}get resolutions(){return this._resolutions}set resolutions(e){this._resolutions=e,!this.downloadForm.controls.resolution.value&&this._resolutions.length>0&&this.downloadForm.patchValue({resolution:this._resolutions[0]})}onDownload(){if(!this.downloadForm.valid)return;let e=this.downloadForm.value.resolution;this.download.emit([e,this.downloadForm.value.zip_name+""])}compareResolutions(e,i){return e&&i?e.id===i.id:e===i}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=v({type:t,selectors:[["cat-download-form"]],inputs:{countChecked:[1,"countChecked"],disabled:[1,"disabled"],resolutions:"resolutions"},outputs:{download:"download"},decls:24,vars:13,consts:[[3,"ngSubmit","formGroup"],[1,"flex","flex-col","gap-2"],[1,"flex","justify-center"],["subscriptSizing","dynamic"],["formControlName","resolution",3,"compareWith"],[3,"value"],["formControlName","zip_name","matInput",""],[1,"flex","gap-1","items-center","text-orange-500"],[1,"mt-2","flex","justify-center"],["mat-stroked-button","",1,"primary-button",3,"disabled"],[1,"min-w-0","shrink-0"]],template:function(i,o){i&1&&(n(0,"form",0),h("ngSubmit",function(){return o.onDownload()}),n(1,"div",1)(2,"div",2)(3,"mat-form-field",3)(4,"mat-label"),p(5),c(6,"transloco"),l(),n(7,"mat-select",4),K(8,Pt,2,2,"mat-option",5,Y),l()()(),n(10,"div",2)(11,"mat-form-field",3)(12,"mat-label"),p(13),c(14,"transloco"),l(),C(15,"input",6),l()(),V(16,Lt,5,3,"div",7),l(),n(17,"div",8)(18,"button",9)(19,"mat-icon"),p(20,"cloud_download"),l(),n(21,"span"),p(22),c(23,"transloco"),l()()()()),i&2&&(d("formGroup",o.downloadForm),r(5),x(m(6,7,"catalog.multi_image_download.resolution")),r(2),d("c
4ompareWith",o.compareResolutions),r(),H(o.resolutions),r(5),x(m(14,9,"catalog.multi_image_download.zip_name")),r(3),G(o.downloadForm&&o.downloadForm.value.resolution&&o.downloadForm.value.resolution.id==="orig"&&o.countChecked()>=25?16:-1),r(2),d("disabled",o.countChecked()===0||!o.downloadForm.valid||o.disabled()),r(4),x(m(23,11,"catalog.multi_image_download.start_download")))},dependencies:[Ue,Oe,Ne,He,Ve,ze,je,qe,Ge,Ye,S,it,ot,tt,D,Le,I,w,We,Je,y],styles:[`mat-form-field[_ngcontent-%COMP%]{width:100%}
5/*# sourceMappingURL=download-form.component-5IVCQXTP.css.map */`]})}}return t})();var Et=(()=>{class t{constructor(){this.selected=g(),this.disabled=g(!1),this.uncheck=b(),this.detail=b()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=v({type:t,selectors:[["cat-image-detail"]],inputs:{selected:[1,"selected"],disabled:[1,"disabled"]},outputs:{uncheck:"uncheck",detail:"detail"},decls:11,vars:8,consts:[["alt","Seleceted image",1,"mx-auto","w-auto","max-h-256",3,"src"],[1,"flex","justify-center","mt-1"],["mat-icon-button","",1,"mr-2","error-icon-button",3,"click","title","disabled"],["mat-icon-button","",1,"mr-2","primary-icon-button",3,"click","title"]],template:function(i,o){if(i&1&&(n(0,"div"),C(1,"img",0),l(),n(2,"div",1)(3,"button",2),c(4,"transloco"),h("click",function(){return o.uncheck.emit(o.selected())}),n(5,"mat-icon"),p(6,"delete"),l()(),n(7,"button",3),c(8,"transloco"),h("click",function(){return o.detail.emit(o.selected())}),n(9,"mat-icon"),p(10,"visibility"),l()()()),i&2){let s;r(),d("src",(s=o.selected())==null?null:s.image,q),r(2),d("title",m(4,4,"catalog.multi_image_download.unselect"))("disabled",o.disabled()),r(4),d("title",m(8,6,"catalog.multi_image_download.show_detail"))}},dependencies:[I,w,D,L,S,y],encapsulation:2,changeDetection:0})}}return t})();var Tt=(()=>{class t extends Qe{constructor(){super(...arguments),this.overlay=a(Pe)}async open(e,i={}){this.ref&&(this.ref.close(),this.ref=void 0);let o=await this.loadComponent();return this.ref=this.dialog.open(o,ve(ae(ae({},this.dialogConfig()),i),{data:e})),this.ref}async loadComponent(){return import("./chunk-KEVEXZL7.js").then(e=>e.DownloadProgressDialogComponent)}dialogConfig(){return{hasBackdrop:!1,autoFocus:!1,positionStrategy:this.overlay.position().global().centerHorizontally().top("24px")}}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})()}static{this.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Nt(t,F){if(t&1){let e=J();n(0,"div",5)(1,"cat-image-detail",8),c(2,"async"),h("detail",function(o){O(e);let s=M();return U(s.onDetail(o))})("uncheck",function(o){O(e);let s=M();return U(s.onUncheck(o))}),l()()}if(t&2){let e=M();r(),d("selected",F)("disabled",m(2,2,e.downloadInProgress$))}}var xt=(()=>{class t{constructor(){this.multiImageDownloadService=a(gt),this.multiImageDownloadRepository=a(oe),this.resolutions$=this.multiImageDownloadRepository.resolutions$,this.selected$=this.multiImageDownloadRepository.selected$,this.checked$=this.multiImageDownloadRepository.checked$,this.countChecked$=this.multiImageDownloadRepository.countChecked$,this.maxBatchSize$=this.multiImageDownloadRepository.maxBatchSize$,this.downloadInProgress$=this.multiImageDownloadRepository.downloadInProgress$,this.detail=a(ht),this.catalogRouting=a(u),this.confirmDialog=a(Xe),this.downloadProgressDialog=a(Tt)}onDetail(e){this.detail.addTab({image:e.image,id:e.id,type:e.type,title:e.title,query:"*:*"},!0),this.catalogRouting.detailDefault()}onDownload(e){this.multiImageDownloadRepository.downloadInProgress=!0,this.downloadProgressDialog.open$({resolution:e[0],name:e[1],count:this.multiImageDownloadRepository.countChecked}).subscribe(()=>{this.multiImageDownloadRepository.downloadInProgress=!1})}onUncheck(e){this.multiImageDownloadRepository.uncheck(e)}onClose(){this.multiImageDownloadService.close()}onSelect(e){this.multiImageDownloadService.select(e)}onCancelSelection(){this.confirmDialog.open$({title:"catalog.multi_image_download.confirm_cancel_selection"}).subscribe(e=>{e&&this.multiImageDownloadRepository.cancelSelection()})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=v({type:t,selectors:[["cat-multi-image-download"]],decls:22,vars:33,consts:[[1,"p-2","flex","justify-between","items-center","border-bottom"],[1,"text-xl"],["mat-icon-button","",1,"error-icon-button",3,"click","title"],[1,"overflow-auto","grow"],[3,"cancelSelection","selectChange","checked","countChecked","maxBatchSize","selected","disabled"],[1,"mt-2"],[1,"p-2","border-top"],[3,"download","countChecked","resolutions","disabled"],[3,"detail","uncheck","selected","disabled"]],template:function(i,o){if(i&1&&(n(0,"div",0)(1,"span",1),p(2),c(3,"transloco"),l(),n(4,"button",2),c(5,"transloco"),h("click",function(){return o.onClose()}),n(6,"mat-icon"),p(7,"close"),l()()(),n(8,"div",3)(9,"cat-checklist",4),c(10,"async"),c(11,"async"),c(12,"async"),c(13,"async"),c(14,"async"),h("cancelSelection",function(){return o.onCancelSelection()})("selectChange",function(N){return o.onSelect(N)}),l()(),V(15,Nt,3,4,"div",5),c(16,"async"),n(17,"div",6)(18,"cat-download-form",7),c(19,"async"),c(20,"async"),c(21,"async"),h("download",function(N){return o.onDownload(N)}),l()()),i&2){let s;r(2),x(m(3,11,"catalog.multi_image_download.title")),r(2),d("title",m(5,13,"ui.buttons.close")),r(5),d("checked",m(10,15,o.checked$))("countChecked",m(11,17,o.countChecked$))("maxBatchSize",m(12,19,o.maxBatchSize$))("selected",m(13,21,o.selected$))("disabled",m(14,23,o.downloadInProgress$)),r(6),G((s=m(16,25,o.selected$))?15:-1,s),r(3),d("countChecked",m(19,27,o.countChecked$))("resolutions",m(20,29,o.resolutions$))("disabled",m(21,31,o.downloadInProgress$))}}
5,dependencies:[B,I,w,S,D,L,kt,Et,Ft,Q,y],styles:[`[_nghost-%COMP%]{height:100%;display:flex;flex-direction:column}
6/*# sourceMappingURL=multi-image-download.component-7JMCY5O2.css.map */`]})}}return t})();var Ot=t=>["md:h-full",t],Bt=(()=>{class t{constructor(){this.catalogEnv=a(P),this.searchRepository=a(ft),this.catalogRouting=a(u),this.detailRepository=a(ut),this.favoriteLibService=a(Ct),this.searchService=a(te),this.castorConfigService=a(ie),this.frameRepository=a(Z),this.route=a(ke),this.favoriteNibbleService=a(vt),this.multiImageDownloadRepository=a(oe),this.frameState=a($),this.multiImageDownloadActive$=this.multiImageDownloadRepository.active$,this.forceFullHeight=this.frameState.forceFullHeight,this.configFrame=a(Ae),this.personalContentEnabled=a($e),this.destroyRef=a(we);let e=this.catalogEnv,i=a(A),o=a(De);Re(()=>{this.frameState.isMobile()&&this.searchService.hideFacetList()}),(this.configFrame.languages||[]).forEach(s=>{i.setTranslation({catalog:{titles:e.env[s.name]}},s.name,{merge:!0})}),i.langChanges$.pipe(R(this.destroyRef)).subscribe(s=>{this.castorConfigService.load(),o.tick()})}ngOnInit(){this.catalogEnv.activeConfigId$.pipe(ye(),j(()=>{this.searchRepository.getTabs().length===0&&this.catalogEnv.env.enableFirstSearch&&this.searchService.addTab({solrSearchParams:{query:"*:*"}})}),R(this.destroyRef)).subscribe(),this.route.queryParams.subscribe(e=>{if(e.q&&e.coordinates){this.searchService.addTab({coordinates:e.coordinates.split(",").map(Number),solrSearchParams:{query:e.q,coreId:e?.coreId,spatialFilter:{spatialField:"Coordinates",spatialType:"rectangle",rectangle:e.coordinates}},settings:{}},!0),this.catalogRouting.searchResult();return}if(e.q){this.searchService.addTab({solrSearchParams:{query:e.q,coreId:e?.coreId},settings:{}},!0),this.catalogRouting.searchResult();return}e.qf&&e.qs&&(this.searchService.addTab({solrSearchParams:{coreId:e?.coreId,query:`${e.qf}:${e.qs}`},settings:{}},!0),this.catalogRouting.searchResult())}),this.personalContentEnabled&&(this.favoriteNibbleService.deletedFromCollection$.pipe(z(()=>_e([this.searchRepository.items$,this.detailRepository.items$]))).subscribe(e=>{this.loadSearchFavorites(e[0]),this.loadDetailFavorites(e[1])}),this.searchRepository.items$.pipe(R(this.destroyRef)).subscribe(e=>{this.loadSearchFavorites(e)}),this.detailRepository.items$.pipe(R(this.destroyRef)).subscribe(e=>{this.loadDetailFavorites(e)}))}loadSearchFavorites(e){let i=[];for(let o of e)for(let s of o.search.recordList)i.push(me(o.coreId,s[this.catalogEnv.env.castor.UUID]));this.loadFavorites(i)}loadDetailFavorites(e){let i=[];for(let o of e)i.push(me(o.coreId,o.document[this.catalogEnv.env.castor.UUID]));this.loadFavorites(i)}loadFavorites(e){e.length!==0&&this.favoriteLibService.getFavorites(this.catalogEnv.env.service,e).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=v({type:t,selectors:[["cat-entry"]],decls:8,vars:6,consts:[["frame-main","",3,"ngClass"],[1,"h-full"],[1,"py-3"],["mode","side","position","end",1,"bg-white","border-l","border-gray-200",3,"opened"]],template:function(i,o){i&1&&(n(0,"fr-frame")(1,"div",0)(2,"mat-drawer-container",1)(3,"mat-drawer-content",2),C(4,"router-outlet"),l(),n(5,"mat-drawer",3),c(6,"async"),C(7,"cat-multi-image-download"),l()()()()),i&2&&(r(),d("ngClass",W(4,Ot,o.forceFullHeight()?"h-full":"")),r(4),d("opened",m(6,2,o.multiImageDownloadActive$)))},dependencies:[B,X,Fe,wt,yt,St,bt,xt,It,Q],styles:[`mat-drawer[_ngcontent-%COMP%]{max-width:300px}
7/*# sourceMappingURL=entry.component-CB656NDC.css.map */`]})}}return t})();var Li=[{path:"",redirectTo:"default",pathMatch:"prefix"},{path:u.configPath,component:Bt,canActivate:[de],providers:[{provide:at,useClass:rt,deps:[le]},{provide:nt,useValue:st},{provide:le,useValue:lt},de],children:[{path:"",redirectTo:u.dashboardPath,pathMatch:"full"},{path:u.dashboardPath,loadChildren:()=>import("./chunk-3EHBYMNE.js").then(t=>t.DashboardRoutes)},{path:u.searchPath,loadChildren:()=>import("./chunk-IGXJ7HUT.js").then(t=>t.SearchRoutes)},{path:u.detailPath,loadChildren:()=>import("./chunk-KHPYKSRT.js").then(t=>t.DetailRoutes)},{path:u.settingsPath,loadChildren:()=>import("./chunk-Z4IZNFXT.js").then(t=>t.SettingsRoutes)},{path:u.newsPath,loadChildren:()=>import("./chunk-LEPTGAD7.js").then(t=>t.NewsRoutes)},{path:u.topicPath,loadChildren:()=>import("./chunk-FKTMTC3P.js").then(t=>t.TopicRoutes)},{path:u.comparePath,loadChildren:()=>import("./chunk-5IEA4AOL.js").then(t=>t.CompareRoutes)}]}];export{Li as CatalogRoutes};
8//# sourceMappingURL=chunk-YLHP5NZI.js.map
9
10//# debugId=f99324c0-aa96-5c69-8b3c-2d424bc6cbed

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.