HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/www/6757.272cbd5d165b2725.js
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6757,1519,3900,9138],{68053:(D,P,a)=>{a.d(P,{T:()=>y});var t=a(2978),l=a(77897),h=a(7125),d=a(56610),E=a(22882);function v(u,g){if(1&u&&t.nrm(0,"img",5),2&u){const m=t.XpG();t.FCK("src","",m.image,"?_dc=",m.time,"",t.B4B)}}function M(u,g){if(1&u&&t.nrm(0,"img",6),2&u){const m=t.XpG();t.yjJ("src","",m.cityProvider._urlGallery,"popups/",m.image,"?_dc=",m.time,"",t.B4B)}}let y=(()=>{class u{constructor(m,o){this.modalCtrl=m,this.cityProvider=o}ngOnInit(){this.time=(new Date).getTime()}cancel(){this.modalCtrl.dismiss()}static#t=this.\u0275fac=function(o){return new(o||u)(t.rXU(l.W3),t.rXU(h.h))};static#e=this.\u0275cmp=t.VBU({type:u,selectors:[["app-modal-inapp"]],decls:9,vars:5,consts:[[1,"content"],["onerror","this.style.display='none';","class","image_popup","alt","popup",3,"src",4,"ngIf"],["class","image_popup","alt","popup",3,"src",4,"ngIf"],[1,"ion-text-center"],["size","default",3,"click"],["onerror","this.style.display='none';","alt","popup",1,"image_popup",3,"src"],["alt","popup",1,"image_popup",3,"src"]],template:function(o,i){1&o&&(t.j41(0,"ion-content",0),t.DNE(1,v,1,2,"img",1),t.DNE(2,M,1,3,"img",2),t.k0s(),t.j41(3,"ion-footer")(4,"ion-item")(5,"ion-label",3)(6,"ion-button",4),t.bIt("click",function(){return i.cancel()}),t.EFF(7),t.nI1(8,"translate"),t.k0s()()()()),2&o&&(t.R7$(1),t.Y8G("ngIf",i.image.includes("http")),t.R7$(1),t.Y8G("ngIf",!i.image.includes("http")),t.R7$(5),t.JRh(t.bMT(8,3,"all.close")))},dependencies:[d.bT,l.Jm,l.W9,l.M0,l.uz,l.he,E.D9],styles:["ion-content[_ngcontent-%COMP%]{scrollbar-width:none!important}.content[_ngcontent-%COMP%]::-webkit-scrollbar{display:none;overflow:hidden}.image_popup[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-flow:column;margin:auto}"]})}return u})()},87445:(D,P,a)=>{a.d(P,{$:()=>c});var t=a(2978),l=a(77897),h=a(7125),d=a(26173),E=a(83254),v=a(56610),M=a(22882);function y(n,r){if(1&n&&(t.j41(0,"ion-title"),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(1),t.JRh(e.popup.title)}}function u(n,r){if(1&n){const e=t.RV6();t.j41(0,"img",12),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.openAction(s.popup))}),t.k0s()}if(2&n){const e=t.XpG();t.FCK("src","",e.popup.image,"?_dc=",e.time,"",t.B4B)}}function g(n,r){if(1&n){const e=t.RV6();t.j41(0,"img",13),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.openAction(s.popup))}),t.k0s()}if(2&n){const e=t.XpG();t.yjJ("src","",e.cityProvider._urlGallery,"popups/",e.popup.image,"?_dc=",e.time,"",t.B4B)}}function m(n,r){if(1&n&&(t.j41(0,"ion-text",14)(1,"h5",15),t.EFF(2),t.k0s()()),2&n){const e=t.XpG();t.R7$(2),t.JRh(e.popup.msj)}}function o(n,r){if(1&n){const e=t.RV6();t.j41(0,"ion-button",16),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.openAction(s.popup))}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG();t.R7$(1),t.SpI(" ",e.popup.text_button_ok," ")}}function i(n,r){if(1&n){const e=t.RV6();t.j41(0,"ion-button",16),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.openAction(s.popup))}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&n&&(t.R7$(1),t.SpI(" ",t.bMT(2,1,"all.open")," "))}function p(n,r){if(1&n){const e=t.RV6();t.j41(0,"ion-button",17),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.cancel())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&n&&(t.R7$(1),t.SpI(" ",t.bMT(2,1,"all.close")," "))}let c=(()=>{class n{constructor(e,_,s,f){this.modalCtrl=e,this.cityProvider=_,this.homeProvider=s,this.analyticsService=f}ngOnInit(){this.time=(new Date).getTime(),document.body.classList.add("modal-open")}cancel(e=!0){e&&this.analyticsService.logEvent("Popup Close: "+this.popup.title,"Popup","close",this.popup);let _=document.body.getElementsByClassName("modal-popup");(!_||1==_.length)&&document.body.classList.remove("modal-open"),this.modalCtrl.dismiss()}openAction(e){!e||!e.type_action_id||(this.analyticsService.logEvent("Popup Click: "+e.title,"Popup","click",e),this.homeProvider.openAction(e.type_action_id,e.value,e.target),this.cancel(!1))}static#t=this.\u0275fac=function(_){return new(_||n)(t.rXU(l.W3),t.rXU(h.h),t.rXU(d.X),t.rXU(E.c))};static#e=this.\u0275cmp=t.VBU({type:n,selectors:[["app-modal-popup"]],inputs:{popup:"popup"},decls:16,vars:7,consts:[[1,"ion-text-center"],[4,"ngIf"],["slot","end"],["expand","block","size","large","color","light",3,"click"],["name","close-circle-outline"],[1,"content"],[1,"container"],["onerror","this.style.display='none';","class","image-popup","alt","popup",3,"src","click",4,"ngIf"],["class","image-popup","alt","popup",3,"src","click",4,"ngIf"],["color","dark","class","ion-text-center",4,"ngIf"],["expand","block","size","default","class","press-effect",3,"click",4,"ngIf"],["expand","block","size","default",3,"click",4,"ngIf"],["onerror","this.style.display='none';","alt","popup",1,"image-popup",3,"src","click"],["alt","popup",1,"image-popup",3,"src","click"],["color","dark",1,"ion-text-center"],[1,"not-margin"],["expand","block","size","default",1,"press-effect",3,"click"],["expand","block","size","default",3,"click"]],template:function(_,s){1&_&&(t.j41(0,"ion-toolbar",0),t.DNE(1,y,2,1,"ion-title",1),t.j41(2,"ion-buttons",2)(3,"ion-button",3),t.bIt("click",function(){return s.cancel()}),t.nrm(4,"ion-icon",4),t.k0s()()(),t.j41(5,"ion-content",5)(6,"div",6),t.DNE(7,u,1,2,"img",7),t.DNE(8,g,1,3,"img",8),t.DNE(9,m,3,1,"ion-text",9),t.k0s()(),t.j41(10,"ion-footer")(11,"ion-item")(12,"ion-label",0),t.DNE(13,o,2,1,"ion-button",10),t.DNE(14,i,3,3,"ion-button",10),t.DNE(15,p,3,3,"ion-button",11),t.k0s()()()),2&_&&(t.R7$(1),t.Y8G("ngIf",!s.popup.hide_name),t.R7$(6),t.Y8G("ngIf",s.popup.image.includes("http")),t.R7$(1),t.Y8G("ngIf",!s.popup.image.includes("http")),t.R7$(1),t.Y8G("ngIf",s.popup.msj),t.R7$(4),t.Y8G("ngIf",s.popup.type_action_id&&s.popup.text_button_ok),t.R7$(1),t.Y8G("ngIf",s.popup.type_action_id&&!s.popup.text_button_ok),t.R7$(1),t.Y8G("ngIf",!s.popup.type_action_id))},dependencies:[v.bT,l.Jm,l.QW,l.W9,l.M0,l.iq,l.uz,l.he,l.IO,l.BC,l.ai,M.D9],styles:["ion-content[_ngcontent-%COMP%]{scrollbar-width:none!important}.content[_ngcontent-%COMP%]::-webkit-scrollbar{display:none;overflow:hidden}.container[_ngcontent-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center;height:100%;width:100%}.image-popup[_ngcontent-%COMP%]{width:100%;display:flex;flex-flow:column;margin:auto}"]})}return n})()},1519:(D,P,a)=>{a.d(P,{p:()=>u});var t=a(73308),l=a(87445),h=a(68053),d=a(2978),E=a(3366),v=a(57291),M=a(54171),y=a(77897);let u=(()=>{class g{constructor(o,i,p,c){this.api=o,this.storage=i,this.utilsService=p,this.modalController=c}getBookcase(o){return this.api.get("comms/bookcase_embed",o)}presentModal(o){var i=this;return(0,t.A)(function*(){return yield(yield i.modalController.create({component:l.$,cssClass:"modal-popup",showBackdrop:!1,swipeToClose:!1,backdropDismiss:!1,componentProps:{popup:o}})).present()})()}presentInapp(o){var i=this;return(0,t.A)(function*(){var p=i;p.closePopup(p.popup),p.modalController.create({component:h.T,cssClass:"modal-popup",showBackdrop:!1,swipeToClose:!1,backdropDismiss:!1,componentProps:{image:o.image}}).then(c=>{c.present(),c.addEventListener("ionModalDidPresent",n=>{n.target&&n.target.addEventListener("focusout",r=>{r.sourceCapabilities&&p.popup&&p.closePopup(p.popup)})}),p.popup=c})})()}presentPopup(o,i){var p=this;return(0,t.A)(function*(){var c=p;c.closePopup(c.popup),c.modalController.create({component:o,cssClass:"modal-popup",showBackdrop:!1,swipeToClose:!0,backdropDismiss:!0,componentProps:{object:i}}).then(n=>{n.present(),n.addEventListener("ionModalDidPresent",r=>{r.target&&r.target.addEventListener("focusout",e=>{e.sourceCapabilities&&c.popup&&c.closePopup(c.popup)})}),c.popup=n})})()}closePopup(o){o&&o.dismiss()}getRadio(o){return this.api.get("comms/radio_embed",o)}getSocialNetworkAccounts(o){return this.api.get("comms/social_network_accounts",o)}getTiktok(o){return this.api.get("comms/video_tiktok",o)}getYoutube(o,i){return this.api.get("comms/video_youtube"+(i?"/"+i:""),o)}getYoutubeData(){var o=this;return(0,t.A)(function*(){return new Promise(function(){var i=(0,t.A)(function*(p,c){(yield o.api.get("comms/video_youtube",yield o.utilsService.getAccessToken())).subscribe(r=>{p(r)},r=>{c(r)})});return function(p,c){return i.apply(this,arguments)}}())})()}getInstagram(o,i){return this.api.get("comms/photo_instagram"+(i?"/"+i:""),o)}getTwitter(o){return this.api.get("comms/official_twitter",o)}getFacebook(o){return this.api.get("comms/official_facebook",o)}getBanners(o){var i=this;return(0,t.A)(function*(){return new Promise(function(){var p=(0,t.A)(function*(c,n){(yield i.api.get("comms/getBanners/"+o,yield i.utilsService.getAccessToken())).subscribe({next:e=>{c(e)},error:e=>{n(e)},complete:()=>{}})});return function(c,n){return p.apply(this,arguments)}}())})()}getPopups(o){var i=this;return(0,t.A)(function*(){i.storage.get("popups").then(p=>new Promise(function(){var c=(0,t.A)(function*(n,r){let e=p||[];(yield i.api.get("comms/getPopups/"+o,yield i.utilsService.getAccessToken())).subscribe({next:s=>{s.forEach(f=>{if(0===f.frequency)i.openPopup(f);else{let I=e.find(b=>b.id===f.id);if(I&&I.views===I.frequency)return;I?I.views+=1:(f.views=1,e.push(f)),i.openPopup(f)}}),i.storage.set("popups",e),n(s)},error:s=>{r(s)},complete:()=>{}})});return function(n,r){return c.apply(this,arguments)}}()))})()}openPopup(o){this.presentModal(o)}static#t=this.\u0275fac=function(i){return new(i||g)(d.KVO(E.G),d.KVO(v.n),d.KVO(M.T),d.KVO(y.W3))};static#e=this.\u0275prov=d.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()}}]);