PageSourceSearch

https://www.dottnet.it/search-list.routes-6A4I4UKP.js

js dottnet.it collected 2026-10-02 11:13:54 UTC 6,565 bytes, 2 lines download raw bytes

1import{a as te}from"./chunk-4LJR3QUM.js";import{a as X}from"./chunk-4V3RO4HA.js";import{a as Q}from"./chunk-MWJFO2YG.js";import{d as k}from"./chunk-3DJCPUSZ.js";import{a as ee}from"./chunk-DBSD75JT.js";import{B as G,D as J,k as H,l as v}from"./chunk-7TGKZZLY.js";import"./chunk-RVGNDJJ2.js";import{a as Z}from"./chunk-TWHTIQK6.js";import{d as Y}from"./chunk-QZPQNVJO.js";import{a as b}from"./chunk-SYAVU2RT.js";import{b as V}from"./chunk-SARSMJVD.js";import{a as U}from"./chunk-NIAYRU3H.js";import{b as W}from"./chunk-EBBP3MEC.js";import"./chunk-5Q2WL5SN.js";import"./chunk-QWQYYFNI.js";import"./chunk-VIIDKIM2.js";import"./chunk-VBMIWXPD.js";import"./chunk-HBRKSO4U.js";import"./chunk-RK7V6TC2.js";import{O as q,P as j}from"./chunk-D6D3AAD3.js";import{c as P,e as K}from"./chunk-ROMSMWY3.js";import{Oa as F}from"./chunk-RM2YVJBR.js";import"./chunk-JX76WXJG.js";import"./chunk-PNFMGFAD.js";import{E as z,K as E,La as O,Ta as R,Xa as B,g as f}from"./chunk-4Y56RSU2.js";import{$c as N,Ha as S,Ia as _,K as o,N as u,Pb as D,Qb as M,Ra as n,Sc as I,Tc as x,Vb as a,Wb as c,Xb as h,Yb as p,bc as w,dc as A,fc as m,i as l,jb as g,jd as $,nb as r,pa as L,tb as T,z as C}from"./chunk-Z6AKCX7O.js";function ne(s,y){s&1&&(c(0,"div",1),p(1,"dottnet-spinner"),h())}function oe(s,y){if(s&1){let e=w();c(0,"dottnet-list-viewer",5),A("moreEvent",function(t){S(e);let d=m();return _(d.moreEvent(t))}),h()}if(s&2){let e=m();a("buttonAction",e.buttonAction)("title",e.searchTitle)("contents",e.contentsList())("visualizationType",e.visualizationType)("applyDeferring",!1)("more",!0)}}function re(s,y){if(s&1&&p(0,"dottnet-message-in-page",3),s&2){let e=m();a("title_message",e.searchTitle)("message",e.emptyMessage())}}var ie=(()=>{class s{constructor(e,i,t,d,se){this.store=e,this.actRoute=i,this.translate=t,this.changeDetectorRef=d,this.envService=se,this.ContentVisualizationType=b,this.visualizationType=b.ListCard,this.contentsList=n([]),this.articleLatestNews=n([]),this.isLoading=n(!1),this.fromWhere=0,this.howMany=12,this.moreContent=12,this.contentLength=n(0),this.emptyMessage=n(""),this.hasResults=N(()=>this.contentsList().length>0),this.targetBanner$=new l,this.topic$=new l,this.livreaActiveFlag$=new l,this.targetBanner=n(null),this.topic=n(null),this.livreaActiveFlag=n(!0),this.userDTO=n(null),this.template=n(null),this.subList=[]}ngOnInit(){this.buttonAction=this.translate.instant("dottnet.lista.apri"),this.user$=this.store.select(K),this.template$=this.store.select(P(B.RICERCA)),this.topic$=this.store.select(V),this.livreaActiveFlag$=this.store.select(ee),this.targetBanner$=this.actRoute.paramMap.pipe(u(this.user$.pipe(o(e=>!!e)),this.template$.pipe(o(e=>!!e))),C(([e,i,t])=>({idCategoria:i.idCategoria,idProvincia:i.idProvincia,idSpecializzazione:i.idSpecializzazione,idContenuto:Number(e.get("contentId")),idTipoContenuto:t.contentTypeID,idCanale:t.contextID,idTipoCanale:t.contextTypeID}))),this.store.select(W).pipe(o(e=>!!e)).subscribe(e=>{this.articleLatestNews.set(e)}),this.subList.push(this.targetBanner$.subscribe(e=>{this.targetBanner.set(e)})),this.subList.push(this.topic$.subscribe(e=>{e&&this.topic.set(e)})),this.subList.push(this.livreaActiveFlag$.subscribe(e=>{this.livreaActiveFlag.set(e)})),this.subList.push(this.user$.subscribe(e=>{this.userDTO.set(e)})),this.subList.push(this.template$.subscribe(e=>{this.template.set(e)})),this.contentsListSub=this.store.select(J).pipe(o(e=>!!e)).subscribe(e=>{this.isLoading.set(!1),this.contentsList.set(e),this.contentLength.set(e.length),e.length===0&&this.emptyMessage.set(this.translate.instant("dottnet.shared.emptyresults"))}),this.billboardAdSlot=f(this.envService.billboardAdSlots,"home_billboard_1"),this.squareAdSlot=f(this.envService.squareAdSlots,"square_1"),this.userSub=this.actRoute.paramMap.pipe(u(this.user$),o(([e,i])=>!!i),L(([e,i])=>{this.isLoading.set(!0),this.userId=i.idAnagrafica,this.serachKey=e.get("searchKey"),this.searchTitle=this.translate.instant("dottnet.search.title")+": "+this.serachKey,this.store.dispatch(F({userId:this.userId,fromWhere:0,howMany:5}));let t={userId:this.userId,searchKey:this.serachKey,fromWhere:this.fromWhere,howMany:this.howMany};this.store.dispatch(v(t))})).subscribe()}ngOnDestroy(){this.userSub&&this.userSub.unsubscribe(),this.contentsListSub&&this.contentsListSub.unsubscribe(),this.subList.forEach(e
1=>e.unsubscribe()),this.store.dispatch(H())}moreEvent(e){this.isLoading.set(!0),this.howMany=this.howMany+this.moreContent;let i={userId:this.userId,searchKey:this.serachKey,fromWhere:this.fromWhere,howMany:this.howMany};this.store.dispatch(v(i))}static{this.\u0275fac=function(i){return new(i||s)(r(z),r(O),r(q),r($),r(R))}}static{this.\u0275cmp=T({type:s,selectors:[["dottnet-search"]],decls:6,vars:14,consts:[[3,"targetBanner","topic","userDTO","template","livreaActiveFlag","billboardAdSlot","squareAdSlot"],["detail","",1,"search-spinner"],["detail","","detail_container","","detail_container_mobile","",1,"flex-fill",3,"buttonAction","title","contents","visualizationType","applyDeferring","more"],["detail","",1,"flex-fill",3,"title_message","message"],["side","",1,"flex-fill",3,"title","contents","visualizationType","applyDeferring"],["detail","","detail_container","","detail_container_mobile","",1,"flex-fill",3,"moreEvent","buttonAction","title","contents","visualizationType","applyDeferring","more"]],template:function(i,t){i&1&&(c(0,"dottnet-content-view",0),D(1,ne,2,0,"div",1)(2,oe,1,6,"dottnet-list-viewer",2)(3,re,1,2,"dottnet-message-in-page",3),p(4,"dottnet-list-viewer",4),I(5,"translate"),h()),i&2&&(a("targetBanner",t.targetBanner())("topic",t.topic())("userDTO",t.userDTO())("template",t.template())("livreaActiveFlag",t.livreaActiveFlag())("billboardAdSlot",t.billboardAdSlot)("squareAdSlot",t.squareAdSlot),g(),M(t.isLoading()?1:t.hasResults()?2:3),g(3),a("title",x(5,12,"dottnet.article.latest"))("contents",t.articleLatestNews())("visualizationType",t.ContentVisualizationType.ListCardDxColumn)("applyDeferring",!1))},dependencies:[Z,Y,te,U,j],styles:[".search-spinner[_ngcontent-%COMP%]{margin-top:120px}.search-spinner[_ngcontent-%COMP%]   dottnet-spinner[_ngcontent-%COMP%]{position:absolute;background-color:gray}@media (max-width: 599px){.search-spinner[_ngcontent-%COMP%]{height:500px}}@media (min-width:600px) and (max-width: 959px){.search-spinner[_ngcontent-%COMP%]{height:500px}}"],changeDetection:0})}}return s})();var Pe=[{path:"",providers:[k(X),Q,E(G)],children:[{path:":searchKey",component:ie}]}];export{Pe as SEARCHLIST_ROUTES};
2//# sourceMappingURL=search-list.routes-6A4I4UKP.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.