PageSourceSearch

https://repositorio.parlatino.org/1917.ead55055276820b7.js

js parlatino.org collected 2026-10-03 19:24:38 UTC 3,385 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[1917],{81917:(R,m,t)=>{t.r(m),t.d(m,{MediaViewerComponent:()=>O});var s=t(60177),d=t(41780),r=t(79738),g=t(56242),c=t(38342),l=t(82394),p=t(18226),f=t(97402),n=t(54438);const u=()=>["audio","video"];function v(e,a){1&e&&(n.nrm(0,"ds-loading",4),n.nI1(1,"translate")),2&e&&(n.FS9("message",n.bMT(1,2,"loading.default")),n.Y8G("showMessage",!1))}function M(e,a){if(1&e&&(n.nrm(0,"ds-media-viewer-video",9),n.nI1(1,"async")),2&e){const i=n.XpG(5).ngVar,_=n.XpG();n.Y8G("medias",i)("captions",n.bMT(1,2,_.captions$))}}function w(e,a){if(1&e&&n.nrm(0,"ds-media-viewer-image",10),2&e){const i=n.XpG(5).ngVar;n.Y8G("images",i)}}function h(e,a){1&e&&n.eu8(0)}function E(e,a){if(1&e&&(n.qex(0),n.DNE(1,M,2,4,"ds-media-viewer-video",7)(2,w,1,1,"ds-media-viewer-image",8)(3,h,1,0,"ng-container",6),n.bVm()),2&e){const i=a.ngVar,_=n.XpG().ngVar;n.XpG(3);const o=n.sdS(4);n.R7$(),n.Y8G("ngIf",_),n.R7$(),n.Y8G("ngIf",i),n.R7$(),n.Y8G("ngIf",i||_)("ngIfElse",o)}}function V(e,a){if(1&e&&(n.qex(0),n.DNE(1,E,4,4,"ng-container",1),n.bVm()),2&e){const i=n.XpG(3).ngVar,_=n.XpG();n.R7$(),n.Y8G("ngVar",_.mediaOptions.image&&"image"===(null==i[0]?null:i[0].format))}}function I(e,a){if(1&e&&(n.qex(0),n.DNE(1,V,2,1,"ng-container",1),n.bVm()),2&e){const i=n.XpG(2).ngVar,_=n.XpG();n.R7$(),n.Y8G("ngVar",_.mediaOptions.video&&n.lJ4(1,u).includes(null==i[0]?null:i[0].format))}}function T(e,a){if(1&e&&(n.j41(0,"div",5),n.DNE(1,I,2,2,"ng-container",6),n.k0s()),2&e){const i=n.XpG().ngVar,_=n.sdS(4);n.R7$(),n.Y8G("ngIf",i.length>0)("ngIfElse",_)}}function G(e,a){if(1&e&&(n.nrm(0,"ds-media-viewer-image",13),n.nI1(1,"async")),2&e){let i;const _=n.XpG(3);n.Y8G("image",(null==(i=n.bMT(1,2,_.thumbnailsRD$))||null==i.payload||null==i.payload.page[0]?null:i.payload.page[0]._links.content.href)||_.thumbnailPlaceholder)("preview",!1)}}function C(e,a){if(1&e&&(n.nrm(0,"ds-thumbnail",14),n.nI1(1,"async")),2&e){let i;const _=n.XpG(3);n.Y8G("thumbnail",null==(i=n.bMT(1,1,_.thumbnailsRD$))||null==i.payload?null:i.payload.page[0])}}function D(e,a){if(1&e&&n.DNE(0,G,2,4,"ds-media-viewer-image",11)(1,C,2,3,"ds-thumbnail",12),2&e){const i=n.XpG(2);n.Y8G("ngIf",i.mediaOptions.image&&i.mediaOptions.video),n.R7$(),n.Y8G("ngIf",!(i.mediaOptions.image&&i.mediaOptions.video))}}function x(e,a){if(1&e&&(n.qex(0),n.DNE(1,v,2,4,"ds-loading",2)(2,T,2,2,"div",3)(3,D,2,2,"ng-template",null,0,n.C5r),n.bVm()),2&e){const i=n.XpG();n.R7$(),n.Y8G("ngIf",i.isLoading),n.R7$(),n.Y8G("ngIf",!i.isLoading)}}let O=(()=>{class e extends r.MediaViewerComponent{static{this.\u0275fac=(()=>{let i;return function(o){return(i||(i=n.xGo(e)))(o||e)}})()}static{this.\u0275cmp=n.VBU({type:e,selectors:[["ds-themed-media-viewer"]],standalone:!0,features:[n.Vt3,n.aNF],decls:2,vars:3,consts:[["showThumbnail",""],[4,"ngVar"],[3,"message","showMessage",4,"ngIf"],["class","media-viewer",4,"ngIf"],[3,"message","showMessage"],[1,"media-viewer"],[4,"ngIf","ngIfElse"],[3,"medias","captions",4,"ngIf"],[3,"images",4,"ngIf"],[3,"medias","captions"],[3,"images"],[3,"image","preview",4,"ngIf"],[3,"thumbnail",4,"ngIf"],[3,"image","preview"],[3,"thumbnail"]],template:function(_,o){1&_&&(n.DNE(0,x,5,2,"ng-container",1),n.nI1(1,"async")),2&_&&n.Y8G("ngVar",n.bMT(1,1,o.mediaList$))},dependencies:[g.Q,f.T,s.Jj,s.bT,c.U,d.h,d.D9,l.v,p.r]})}}return e})()}}]);

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.