PageSourceSearch

https://www.vertigoreleasing.com/chunk-53F5ZXWN.js

js vertigoreleasing.com collected 2026-09-25 04:34:51 UTC 6,760 bytes, 1 lines download raw bytes

1import{a as J}from"./chunk-OQ67SWVJ.js";import{a as Q}from"./chunk-4FYDWZF6.js";import"./chunk-POTGVQ2O.js";import{a as q}from"./chunk-T3MSJVLL.js";import"./chunk-QJ5HBW5U.js";import"./chunk-4374CTJT.js";import"./chunk-TFSVDIZ5.js";import"./chunk-WDIV2LBO.js";import{a as P}from"./chunk-R4XOYVWN.js";import"./chunk-FG5ESGJK.js";import"./chunk-IZURRFTY.js";import"./chunk-OAYWNNVQ.js";import"./chunk-FNZJVFMC.js";import"./chunk-HOMLEDPL.js";import"./chunk-Q55QDP5Y.js";import"./chunk-UYM5JUOW.js";import"./chunk-YW4AYGNQ.js";import"./chunk-ZSZN5F7N.js";import"./chunk-BKK7TQ4L.js";import"./chunk-HMKGRVQA.js";import"./chunk-J2UUI6ZF.js";import"./chunk-KZX76KDF.js";import"./chunk-6V66DGLE.js";import"./chunk-2ULDDXAS.js";import"./chunk-GFWWV4QI.js";import"./chunk-IUQCH2H2.js";import{d as Y}from"./chunk-GC4KAVMU.js";import"./chunk-ZMQO674N.js";import"./chunk-36RGMWGI.js";import"./chunk-OJ5SGU2G.js";import"./chunk-HBTSX4PH.js";import"./chunk-6VTALCLJ.js";import"./chunk-3HIJGZNS.js";import{g as H}from"./chunk-EENLBT3Q.js";import{b as _}from"./chunk-J73H6GVH.js";import"./chunk-HG2KJIXI.js";import"./chunk-VFHZC24D.js";import{H as v,T as B,V as D,bb as G,db as L,fb as K,qb as U,w as k}from"./chunk-DCCTWKN3.js";import"./chunk-SOAFUH3B.js";import"./chunk-OAP3SD3B.js";import{Y as F}from"./chunk-WGGLAIRF.js";import{C as M,Cd as O,Fb as u,Ne as j,Vb as m,X as g,Zc as E,_c as W,ac as $,ca as R,dd as N,f as w,fc as C,g as T,gc as f,hc as x,ia as o,jb as b,lc as I,pe as V,r as d,ra as h,sa as p,tc as S,uc as l,yb as A,ye as z}from"./chunk-6DJ64ZIX.js";import"./chunk-6WSAPZ5B.js";import{a as s,b as c}from"./chunk-QBCHIEM6.js";var y={title:"Wishlist",description:"Movies I want to Watch",followers:5,type:"movie",img:"https://via.placeholder.com/150",createdBy:{username:"alejandro"},items:[]},X=(()=>{class i{constructor(){this.env=o(v),this.authService=o(_),this.userInteractionService=o(Y),this.createdBySig=D(this.authService.$userStatus);}getCollection(){return this.userInteractionService.getWishList().pipe(d(t=>c(s({},y),{createdBy:this.createdBySig(),items:t})));}addItemToCollection(t){return this.userInteractionService.addMovieToWishList(t).pipe(d(e=>c(s({},y),{items:e,createdBy:this.createdBySig()})));}removeItemFromCollection(t){return this.userInteractionService.removeMovieFromWishList(t).pipe(d(e=>c(s({},y),{items:e,createdBy:this.createdBySig()})));}static{this.ɵfac=function(e){return new(e||i)();};}static{this.ɵprov=R({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();function ee(i,r){if(i&1){let t=I();C(0,"community-elements-ui-movie-card",4),S("statusChange",function(){let n=h(t).$implicit,a=l(3);return p(a.onMovieStatusChanged(n));}),f();}if(i&2){let t=r.$implicit;m("movie",t);}}function te(i,r){if(i&1){let t=I();C(0,"collection-page",3),S("itemAdded",function(n){h(t);let a=l(2);return p(a.addItemToCollection(n));})("removeItem",function(n){h(t);let a=l(2);return p(a.removeItemFromCollection(n));}),u(1,ee,1,1,"ng-template"),f();}if(i&2){let t=r.ngIf,e=l(2);m("collection",t)("addItem",!e.hideAddItem)("disableItemRemoval",e.hideDeleteItem);}}function ie(i,r){if(i&1&&(u(0,te,2,3,"collection-page",2),E(1,"async")),i&2){let t=l();m("ngIf",W(1,1,t.collection$));}}function oe(i,r){i&1&&x(0,"ush-loading-indicator",1),i&2&&m("fontSize","45px");}var Oe=(()=>{class i{constructor(t){this.env=t,this.collectionService=o(X),this.messageService=o(F),this.location=o(O),this.metatagsService=o(q),this.channelService=o(U),this.activatedRoute=o(k),this.cd=o(N),this.trackingService=o(H),this.authService=o(_),this.TRACKING_CATEGORY="Community",this.TRACKING_ON_SAVE_TO_WISHLIST="AddToWishlist",this.TRACKING_ON_REMOVE_FROM_WISHLIST="RemoveFromWishlist",this.loading=!1,this.collectionSubject=ne
1w T(null),this.collection$=this.collectionSubject.pipe(M(e=>!!e)),this.destroy$=new w(),this.hideAddItem=!0,this.hideDeleteItem=!0,this.loading=!0,this.collectionService.getCollection().pipe(B()).subscribe(e=>{this.collection=e,this.loading=!1,this.cd.detectChanges();});}ngOnInit(){this.hideAddItem=this.env?.communityConfig?.hideAddCtaButton,this.hideDeleteItem=this.env?.communityConfig?.hideDeleteCtaButton,this.setMetaTags();}addItemToCollection(t){this.collectionService.addItemToCollection(t.id).pipe(g(this.destroy$)).subscribe(e=>{this.collection=e,this.messageService.add({severity:"success",summary:"Success",detail:"Movie added to wishlist"}),this.trackEvent(this.TRACKING_ON_SAVE_TO_WISHLIST,t);},e=>{this.messageService.add({severity:"error",summary:"Error",detail:"Movie could not be added to wishlist"}),console.error(e);});}removeItemFromCollection(t){this.collectionService.removeItemFromCollection(t.id).pipe(g(this.destroy$)).subscribe(e=>{this.collection=e,this.messageService.add({severity:"success",summary:"Success",detail:"Movie removed from wishlist"}),this.trackEvent(this.TRACKING_ON_REMOVE_FROM_WISHLIST,t);},e=>{this.messageService.add({severity:"error",summary:"Error",detail:"Movie could not be added to wishlist"});});}set collection(t){this.collectionSubject.next(t);}get collection(){return this.collectionSubject.getValue();}onMovieStatusChanged(t){G(t)||(this.collection=c(s({},this.collection),{items:this.collection?.items.filter(e=>e.id!==t.id)||[]}));}setMetaTags(){let t=this.activatedRoute.snapshot.params.username,e=this.channelService.channel.name,n={url:this.location.path(),title:""+t+"'s Movie Wislist on "+e+"",description:"Explore "+t+"'s movie wishlist on "+e+". Browse through the list, mark movies as watched, or save them for later. Follow the list to stay updated with new additions and recommendations."};n.image=this.channelService.getDefaultImg("landscape"),this.metatagsService.setMetaTags(n);}trackEvent(t,e){this.trackingService.trackEvent({action:t,properties:{category:this.TRACKING_CATEGORY,movie:e.title||"",idMovie:e.id,imdb:e?.imdb,tagsMovie:L(e),genresMovie:K(e),user:this.username}});}get username(){return this.authService.getUserUsername();}static{this.ɵfac=function(e){return new(e||i)(b(v));};}static{this.ɵcmp=A({type:i,selectors:[["panoptico-wishlist-collection"]],decls:2,vars:1,consts:[[3,"collection","addItem","disableItemRemoval"],[3,"fontSize"],[3,"collection","addItem","disableItemRemoval","itemAdded","removeItem",4,"ngIf"],[3,"itemAdded","removeItem","collection","addItem","disableItemRemoval"],[3,"statusChange","movie"]],template:function(e,n){e&1&&u(0,ie,2,3,"collection-page",0)(1,oe,1,1,"ush-loading-indicator",1),e&2&&$(n.loading?1:0);},dependencies:[j,V,z,Q,J,P],styles:["ush-loading-indicator{display:block;margin-top:100px!important}[_nghost-%COMP%]{display:block;width:100%}"],changeDetection:0});}}return i;})();export{Oe as WishlistCollectionComponent};/**i18n:56baa791221b8bbb3094b78db02e63320fe1446ad30ff962e46d8a439f5f8c6f*/

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.