PageSourceSearch

https://ftnmethod.com/chunk-FI7P4Q44.js

js ftnmethod.com collected 2026-09-24 11:44:00 UTC 7,316 bytes, 1 lines download raw bytes

1import{S as Z,V as N,g as A,la as U,ma as $,na as H,va as Y}from"./chunk-IO2FMTG5.js";import{C as b,D as g,Fa as C,Ha as f,Hb as q,Ia as x,Ja as M,Jb as D,Kb as L,Mb as I,N as P,O as w,Oa as S,R as n,X as h,Y as k,Z as v,fa as d,g as R,ga as m,ia as E,ja as T,ka as V,la as p,ma as l,na as a,oa as u,rb as F,ua as j,va as z,wa as s,y as _}from"./chunk-UXJOQQTQ.js";import{h as y}from"./chunk-DIQPMGB2.js";function G(i,t){i&1&&(l(0,"div",5)(1,"div",9),u(2,"i",10),a()(),l(3,"h3",11),f(4,"Cargando..."),a())}function J(i,t){if(i&1){let e=j();l(0,"div",4)(1,"div",12),u(2,"pdf-viewer",13),l(3,"div",14)(4,"div",15)(5,"button",16),z("click",function(){b(e);let c=s();return g(c.lessZoom())}),u(6,"i",17),a()(),l(7,"div",15)(8,"span",18),f(9,"Zoom"),a()(),l(10,"div",15)(11,"button",16),z("click",function(){b(e);let c=s();return g(c.moreZoom())}),u(12,"i",19),a()()()()()}if(i&2){let e=s();n(2),p("src",e.resource==null?null:e.resource.file_id.path)("render-text",!0)("original-size",!1)("zoom",e.zoomInput)("autoresize",!0)("zoom-scale","page-width")}}function K(i,t){if(i&1&&(l(0,"div",5)(1,"div",9),u(2,"app-audio-player-card",20),a()()),i&2){let e=s();n(2),p("title",e.resource==null?null:e.resource.title)("image",e.resource==null||e.resource.thumbnail_id==null?null:e.resource.thumbnail_id.path)("audio",e.resource==null||e.resource.file_id==null?null:e.resource.file_id.path)}}function Q(i,t){if(i&1&&(l(0,"div",6),u(1,"img",21),a()),i&2){let e=s();n(),p("src",e.resource==null?null:e.resource.file_id.path,w)("alt",e.resource==null?null:e.resource.file_id.title)}}function X(i,t){if(i&1&&u(0,"iframe",22),i&2){let e=s(2);p("appVimeoPlayer","https://player.vimeo.com/video/"+(e.resource==null?null:e.resource.file_id.platform_code))}}function ee(i,t){if(i&1&&u(0,"div",23),i&2){let e=s(2);p("appYoutubePlayer",e.resource==null?null:e.resource.file_id.platform_code)}}function ie(i,t){if(i&1&&(l(0,"div",24)(1,"video",25),u(2,"source",26),a()()),i&2){let e=s(2);n(),p("appAmazonPlayer",e.resource==null?null:e.resource.file_id.path),n(),p("type",S(e.resource!=null&&e.resource.file_id.path.endsWith("m3u8")?"application/dash+xml":"application/x-mpegURL"))("src",e.resource==null?null:e.resource.file_id.path.value)}}function te(i,t){if(i&1&&(l(0,"div",7),d(1,X,1,1,"iframe",22),d(2,ee,1,1,"div",23),d(3,ie,3,4,"div",24),a()),i&2){let e=s();n(),m((e.resource==null?null:e.resource.file_id.platform)=="vimeo"?1:-1),n(),m((e.resource==null?null:e.resource.file_id.platform)=="youtube"?2:-1),n(),m((e.resource==null?null:e.resource.file_id.platform)=="amazon"?3:-1)}}function ne(i,t){if(i&1&&(l(0,"div",15)(1,"div",33),u(2,"img",34),l(3,"span",35),f(4),a()()()),i&2){let e=t.$implicit,r=t.$index;C("ps-md-0",r==0),n(2),p("src",(e==null?null:e.avatar)||"https://ui-avatars.com/api/?background=FB2F6D&size=128&color=fff&name="+(e==null?null:e.username),w),n(2),x(e==null?null:e.username)}}function oe(i,t){if(i&1&&(l(0,"div",15),u(1,"i",36),f(2),a()),i&2){let e=s(2);n(2),M(" ",e.resource==null||e.resource.file_id==null?null:e.resource.file_id.video_duration," min. ")}}function re(i,t){if(i&1&&(l(0,"section",8)(1,"div",27)(2,"h1",28),f(3),a(),l(4,"div",29),T(5,ne,5,4,"div",30,E),d(7,oe,3,1,"div",15),a(),l(8,"p",31),f(9),a(),u(10,"div",32),a()()),i&2){let e=s();n(3),x(e.resource==null?null:e.resource.title),n(2),V(e.resource==null?null:e.resource.expositors),n(2),m(!(e.resource==null||e.resource.file_id==null)&&e.resource.file_id.video_duration?7:-1),n(2),x(e.resource==null?null:e.resource.short_description),n(),p("innerHTML",e.resource==null?null:e.resource.long_description,P)}}var O=(()=>{let t=class t{constructor(r,c,o){this.router=r,this.route=c,this.requestService=o,this.queryParams={},this.zoomInput=1}ngOnInit(){return y(this,null,function*(){let r=this.route;for(;r!=null&&!("id"in r.snapshot.params||(r=r.parent,!r)););r&&(this.id=r.snapshot.params.id,this.pre=decodeURIComponent(r.snapshot.queryParams.pre),this.preParams=this.pre.split("?").pop(),this.pre=this.pre.split("?")[0],this.queryParams.id=this.id),this.id&&(yield this.loadResource())})}loadResource(){return y(this,null,function*(){let r=yield R(this.requestService.get(`resources/${this.id}/`));this.resource=r})}lessZoom(){this.zoomInput>.5&&(this.zoomInput=this.zoomInput-.5)}moreZoom(){this.zoomInput<=5&&(this.zoomInput=this.zoomInput+.5)}};t.\u0275fac=function(c){return new(c||t)(h(D),h(q),h(A))},t.\u0275cmp=k({type:t,selectors:[["app-resource"]],standalone:!1,decls:10,vars:18,consts:[[1,"container-md","container-fluid","position-relative"],[1,"btn","btn-icon-only","btn-lg","btn-white","mb-0","position-absolute","start-3","top-5","z-index-3",3,"routerLink"],["aria-hidden","true",1,"fa","fa-chevron-left"],[1,"h-100"],[1,"row","h-100"],[1,"row","justify-content-center","align-items-center","h-100"],[1,"h-100","text-center"],[1,"iframe-container","h-100","w-100"],[1,"container-fluid","container-md","mb-4"],[1,"col-11"],["aria-hidden","true",1,"fa","fa-pulse","fa-spinner","fa-3x","text-white"],[1,"text-white"],[1,"col-12","h-100"],[1,"h-100","w-100","max-width-600","mx-auto",2,"max-height","100%",3,"src","render-text","original-size","zoom","autoresize","zoom-scale"],[1,"row","justify-content-center","mb-8","align-items-center"],[1,"col-auto"],["type","button",1,"btn","btn-link","btn-icon-only","btn-lg","mb-0",3,"click"],[1,"fas","fa-search-minus"],[1,"text-lg","text-dark","text-bolder"],[1,"fas","fa-search-plus"],[3,"title","image","audio"],[1,"img-fluid","h-100",3,"src","alt"],["allow","autoplay; fullscreen; picture-in-picture","allowfullscreen","",3,"appVimeoPlayer"],[3,"appYoutubePlayer"],[1,"h-100","w-100","text-center"],["controls","","preload","",3,"appAmazonPlayer"],[3,"src","type"],[1,"bg-white","px-3","px-md-5","py-4"],[1,"text-dark","mt-3"],[1,"row"],[1,"col-auto",3,"ps-md-0"],[1,"text-dark","lead","mt-6"],[3,"innerHTML"],[1,"author"],["alt","",1,"avatar","avatar-sm","rounded-circle",3,"src"],[1,"my-auto","ms-2"],[1,"fa","fa-clock"]],template:function(c,o){c&1&&(l(0,"header",0)(1,"a",1),u(2,"i",2),a(),l(3,"div",3),d(4,G,5,0),d(5,J,13,6,"div",4),d(6,K,3,3,"div",5),d(7,Q,2,2,"div",6),d(8,te,4,3,"div",7),a()(),d(9,re,11,4,"section",8)),c&2&&(C("min-vh-80",(o.resource==null?null:o.resource.file_id.type)=="pdf")("height-600",(o.resource==null?null:o.resource.file_id.type)!="audio")("min-height-600",(o.resource==null?null:o.resource.file_id.type)=="audio")("py-5",(o.resource==null?null:o.resource.file_id.type)=="audio"),n(),p("routerLink",S(o.pre?o.pre:"/home")),n(2),C("pb-5",(o.resource==null?null:o.resource.file_id.type)=="pdf"),n(),m(o.resource?-1:4),n(),m((o.resource==null?null:o.resource.file_id.type)=="pdf"?5:-1),n(),m((o.resource==null?null:o.resource.file_id.type)=="audio"?6:-1),n(),m((o.resource==null?null:o.resource.file_id.type)=="image"?7:-1),n(),m((o.resource==null?null:o.resource.file_id.type)=="video"?8:-1),n(),m(o.resource?9:-1))},dependencies:[L,U,$,H,N,Z],encapsulation:2});let i=t;return i})();var le=[{path:"",component:O}],W=(()=>{let t=class t{};t.\u0275fac=function(c){return new(c||t)},t.\u0275mod=v({type:t}),t.\u0275inj=_({imports:[I.forChild(le),I]});let i=t;return i})();var Se=(()=>{let t=class t{};t.\u0275fac=function(c){return new(c||t)},t.\u0275mod=v({type:t}),t.\u0275inj=_({imports:[F,W,Y]});let i=t;return i})();export{Se as ResourceModule};

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.