PageSourceSearch

https://www.kissfm.ro/2530.177e8b30174445bd.js

js kissfm.ro collected 2026-09-24 08:41:24 UTC 35,382 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkkissfm=self.webpackChunkkissfm||[]).push([[2530],{2530(ft,C,a){a.d(C,{HitsterModule:()=>pt});var p=a(9769),d=a(1391),x=a(3887),g=a(3049),t=a(5547),o=a(5802),v=a(177),b=a(7705),u=a(3794),M=a(289),k=a(1617);let y=(()=>{class i{constructor(e,n){this.httpClient=e,this.localstorageService=n,this.server=M.o.settings.server}authHeaders(){const e=this.localstorageService.getItem("access_token");return(new u.Lr).set("Cache-Control","no-cache").set("Authorization","Bearer "+e)}getData(){return this.httpClient.get(this.server.url+"/hitster",{headers:this.authHeaders()})}getStats(){return this.httpClient.get(this.server.url+"/hitster/stats",{headers:this.authHeaders()})}startGame(){return this.httpClient.post(this.server.url+"/hitster/start",{},{headers:this.authHeaders()})}submitGame(e){return this.httpClient.post(this.server.url+"/hitster/submit",e,{headers:this.authHeaders()})}static{this.\u0275fac=function(n){return new(n||i)(o.KVO(u.Qq),o.KVO(k.m))}}static{this.\u0275prov=o.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var P=a(3273),O=a(4317),F=a(2177),S=a(6408),T=a(7889),j=a(6043),E=a(7702),R=a(5647);const m=(i,r)=>r.id;function w(i,r){if(1&i&&(t.j41(0,"div",9),t.EFF(1),t.k0s()),2&i){const e=t.XpG();t.R7$(),t.JRh(e.errorMessage)}}function H(i,r){if(1&i&&(t.j41(0,"div",10),t.nrm(1,"h2",6),t.j41(2,"div",18),t.nrm(3,"app-box-form",19),t.k0s(),t.nrm(4,"div",5),t.k0s()),2&i){const e=t.XpG();t.R7$(),t.Y8G("innerHTML",e.texts.form_title||"\xcenscriere concurs radio",t.npT),t.R7$(2),t.Y8G("formData",e.formInscriere)("isSubmitted",e.formInscriere.isSubmitted),t.R7$(),t.Y8G("innerHTML",e.texts.form_description||"",t.npT)}}function I(i,r){if(1&i&&t.eu8(0,27),2&i){t.XpG(4);const e=t.sdS(24);t.Y8G("ngTemplateOutlet",e)}}function $(i,r){if(1&i&&t.nrm(0,"p",28),2&i){const e=t.XpG(4);t.Y8G("innerHTML",e.texts.logged_in_note||"E\u0219ti logat \u2014 \xee\u021bi salv\u0103m scorul \u0219i ai acces la statisticile tale.",t.npT)}}function G(i,r){if(1&i){const e=t.RV6();t.nVh(0,I,1,1,"ng-container",27)(1,$,1,1,"p",28),t.j41(2,"button",29),t.bIt("click",function(){o.eBV(e);const s=t.XpG(3);return o.Njj(s.startGame())}),t.EFF(3),t.k0s()}if(2&i){const e=t.XpG(3);t.vxM(e.stats&&e.stats.games_played>0?0:1),t.R7$(2),t.Y8G("disabled",e.loading),t.R7$(),t.SpI(" ",e.loading?"Se amestec\u0103 piesele\u2026":"Start joc"," ")}}function L(i,r){if(1&i){const e=t.RV6();t.j41(0,"div",26)(1,"div",30)(2,"button",29),t.bIt("click",function(){o.eBV(e);const s=t.XpG(3);return o.Njj(s.openLogin())}),t.EFF(3),t.k0s(),t.nrm(4,"span",31),t.k0s(),t.j41(5,"span",32),t.EFF(6,"sau"),t.k0s(),t.j41(7,"div",30)(8,"button",33),t.bIt("click",function(){o.eBV(e);const s=t.XpG(3);return o.Njj(s.startGame())}),t.EFF(9),t.k0s(),t.nrm(10,"span",31),t.k0s()()}if(2&i){const e=t.XpG(3);t.R7$(2),t.Y8G("disabled",e.loading),t.R7$(),t.SpI(" ",e.texts.login_cta||"Intr\u0103 \xeen cont"," "),t.R7$(),t.Y8G("innerHTML",e.texts.login_note||"\xce\u021bi salv\u0103m scorul \u0219i vezi statisticile tale.",t.npT),t.R7$(4),t.Y8G("disabled",e.loading),t.R7$(),t.SpI(" ",e.loading?"Se amestec\u0103 piesele\u2026":e.texts.guest_cta||"Start joc"," "),t.R7$(),t.Y8G("innerHTML",e.texts.guest_note||"Joci ca invitat, f\u0103r\u0103 statistici salvate.",t.npT)}}function z(i,r){if(1&i&&t.nVh(0,G,4,3)(1,L,11,6,"div",26),2&i){const e=t.XpG(2);t.vxM(e.isLoggedIn?0:1)}}function D(i,r){1&i&&(t.j41(0,"p",25),t.EFF(1,"Jocul nu este disponibil momentan. Revino mai t\xe2rziu!"),t.k0s())}function V(i,r){if(1&i&&(t.j41(0,"div",11)(1,"h2",20),t.EFF(2,"Cum te antrenezi?"),t.k0s(),t.j41(3,"div",21)(4,"div",22)(5,"span",23),t.EFF(6,"\u{1f3a7}"),t.k0s(),t.j41(7,"div")(8,"strong",24),t.EFF(9,"ASCULT\u0102"),t.k0s(),t.j41(10,"p"),t.EFF(11,"Prime\u0219ti 3 fragmente din melodii pe care sigur le-ai mai auzit."),t.k0s()()(),t.j41(12,"div",22)(13,"span",23),t.EFF(14,"\u{1f914}"),t.k0s(),t.j41(15,"div")(16,"strong",24),t.EFF(17,"GHICE\u0218TE"),t.k0s(),t.j41(18,"p"),t.EFF(19,"\xcen ce ordine au ap\u0103rut? Care e cea mai veche? Care e cea mai nou\u0103?"),t.k0s()()(),t.j41(20,"div",22)(21,"span",23),t.EFF(22,"\u{1f3af}"),t.k0s(),t.j41(23,"div")(24,"strong",24),t.EFF(25,"ARANJEAZ\u0102"),t.k0s(),t.j41(26,"p"),t.EFF(27,"Trage piesele \xeen ordinea corect\u0103 \u0219i vezi dac\u0103 instinctul t\u0103u muzical chiar func\u021bioneaz\u0103."),t.k0s()()()(),t.nVh(28,z,2,1)(29,D,2,0,"p",25),t.k0s()),2&i){const e=t.XpG();t.R7$(28),t.vxM(e.canPlay?28:29)}}function X(i,r){if(1&i&&(t.j41(0,"div",43)(1,"span",44),t.EFF(2,"Timp r\u0103mas"),t.k0s(),t.j41(3,"span",45),t.EFF(4),t.k0s()()),2&i){const e=t.XpG(3);t.AVh("is-low",e.timeLeft<=15),t.R7$(4),t.JRh(e.timerLabel)}}function A(i,r){if(1&i&&(t.j41(0,"p",41),t.EFF(1,"Apas\u0103 play, apoi trage cardurile \xeen ordinea corect\u0103."),t.k0s(),t.nVh(2,X,5,3,"div",42)),2&i){const e=t.XpG(2);t.R7$(2),t.vxM(e.timerStarted?2:-1)}}function B(i,r){1&i&&(t.j41(0,"strong"),t.EFF(1,"Corect!"),t.k0s(),t.j41(2,"span"),t.EFF(3,"Ai urechea muzical\u0103 perfect\u0103."),t.k0s())}function Y(i,r){1&i&&(t.j41(0,"strong"),t.EFF(1,"Incorect!"),t.k0s(),t.j41(2,"span"),t.EFF(3,"Vezi mai jos ordinea corect\u0103 a anilor."),t.k0s())}function U(i,r){1&i&&(t.j41(0,"p",25),t.EFF(1,"Timpul a expirat \u2014 ordinea a fost trimis\u0103 automat."),t.k0s())}function J(i,r){if(1&i&&(t.j41(0,"div",46),t.nVh(1,B,4,0)(2,Y,4,0),t.nVh(3,U,2,0,"p",25),t.k0s()),2&i){const e=t.XpG(2);t.AVh("is-correct",e.isCorrect)("is-wrong",!e.isCorrect),t.R7$(),t.vxM(e.isCorrect?1:2),t.R7$(2),t.vxM(e.timedOut?3:-1)}}function N(i,r){1&i&&(t.j41(0,"span",53),t.nrm(1,"i")(2,"i")(3,"i"),t.k0s())}function K(i,r){1&i&&t.nrm(0,"span",54)}function Z(i,r){1&i&&(t.j41(0,"span",55),t.EFF(1,"Se red\u0103\u2026"),t.k0s())}function Q(i,r){1&i&&(t.j41(0,"span",55),t.EFF(1,"Ascult\u0103 piesa"),t.k0s())}function W(i,r){1&i&&(t.j41(0,"span",55),t.EFF(1,"Ascult\u0103 din nou"),t.k0s())}function q(i,r){1&i&&t.nrm(0,"div",62)}function tt(i,r){if(1&i){const e=t.RV6();t.j41(0,"div",39)(1,"div",47)(2,"div",48)(3,"span",49),t.EFF(4),t.k0s(),t.j41(5,"div",50),t.bIt("click",function(){const s=o.eBV(e).$implicit,l=t.XpG(2);return o.Njj(l.playCard(s))}),t.j41(6,"div",51)(7,"div",52),t.nVh(8,N,4,0,"span",53)(9,K,1,0,"span",54),t.k0s()()(),t.nVh(10,Z,2,0,"span",55)(11,Q,2,0,"span",55)(12,W,2,0,"span",55),t.k0s(),t.j41(13,"div",56)(14,"span",57),t.EFF(15),t.k0s(),t.j41(16,"span",58),t.EFF(17),t.k0s(),t.j41(18,"span",59),t.EFF(19),t.k0s(),t.j41(20,"span",60),t.EFF(21),t.k0s()()(),t.DNE(22,q,1,0,"div",61),t.k0s()}if(2&i){const e=r.$implicit,n=t.XpG(2);t.Y8G("cdkDragDisabled","playing"!==n.state),t.R7$(),t.AVh("is-flipped",e.revealed)("is-playing",e.playing)("is-ok","result"===n.state&&e.inCorrectSpot)("is-ko","result"===n.state&&!e.inCorrectSpot),t.Y8G("ngClass","hitster__card--tone-"+e.tone),t.R7$(3),t.SpI("Piesa ",e.label),t.R7$(4),t.vxM(e.playing?8:9),t.R7$(2),t.vxM(e.playing?10:e.played?12:11),t.R7$(5),t.JRh(e.label),t.R7$(2),t.JRh(e.title),t.R7$(2),t.JRh(e.year),t.R7$(2),t.JRh(e.artist)}}function et(i,r){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const e=r.$index;t.R7$(),t.JRh(e+1)}}function it(i,r){1&i&&(t.j41(0,"p",25),t.EFF(1,"Po\u021bi trimite \u0219i f\u0103r\u0103 s\u0103 ascul\u021bi tot, dar\u2026 succes a\u0219a!"),t.k0s())}function nt(i,r){if(1&i){const e=t.RV6();t.j41(0,"button",29),t.bIt("click",function(){o.eBV(e);const s=t.XpG(2);return o.Njj(s.submitGame())}),t.EFF(1),t.k0s(),t.nVh(2,it,2,0,"p",25)}if(2&i){const e=t.XpG(2);t.Y8G("disabled",e.loading),t.R7$(),t.SpI(" ",e.loading?"Se verific\u0103\u2026":"Asta e ordinea!"," "),t.R7$(),t.vxM(e.allPlayed?-1:2)}}function st(i,r){if(1&i){const e=t.RV6();t.j41(0,"button",29),t.bIt("click",function(){o.eBV(e);const s=t.XpG(2);return o.Njj(s.playAgain())}),t.EFF(1),t.k0s(),t.eu8(2,27)}if(2&i){const e=t.XpG(2),n=t.sdS(24);t.Y8G("disabled",e.loading),t.R7$(),t.SpI(" ",e.loading?"Se amestec\u0103 piesele\u2026":"Joac\u0103 din nou"," "),t.R7$(),t.Y8G("ngTemplateOutlet",n)}}function rt(i,r){if(1&i){const e=t.RV6();t.j41(0,"div",34),t.nVh(1,A,3,1),t.nVh(2,J,4,6,"div",35),t.j41(3,"div",36)(4,"span"),t.EFF(5,"Cea mai veche"),t.k0s(),t.nrm(6,"span",37),t.j41(7,"span"),t.EFF(8,"Cea mai nou\u0103"),t.k0s()(),t.j41(9,"div",38),t.bIt("cdkDropListDropped",function(s){o.eBV(e);const l=t.XpG();return o.Njj(l.drop(s))}),t.Z7z(10,tt,23,17,"div",39,m),t.k0s(),t.j41(12,"div",40),t.Z7z(13,et,2,1,"span",null,m),t.k0s(),t.nVh(15,nt,3,3),t.nVh(16,st,3,3),t.k0s()}if(2&i){const e=t.XpG();t.AVh("is-result","result"===e.state),t.R7$(),t.vxM("playing"===e.state?1:-1),t.R7$(),t.vxM("result"===e.state?2:-1),t.R7$(7),t.Y8G("cdkDropListDisabled","playing"!==e.state),t.R7$(),t.Dyx(e.cards),t.R7$(3),t.Dyx(e.cards),t.R7$(2),t.vxM("playing"===e.state?15:-1),t.R7$(),t.vxM("result"===e.state?16:-1)}}function at(i,r){if(1&i&&t.nrm(0,"div",17),2&i){const e=t.XpG();t.Y8G("innerHTML",e.texts.rules_html,t.npT)}}function ot(i,r){if(1&i&&(t.j41(0,"span",66),t.EFF(1),t.k0s()),2&i){const e=t.XpG(3);t.R7$(),t.Lme("Locul ",e.stats.rank.position," din ",e.stats.rank.total_players)}}function ct(i,r){if(1&i&&(t.j41(0,"div",63)(1,"div",64)(2,"span",65),t.EFF(3,"Statisticile tale"),t.k0s(),t.nVh(4,ot,2,2,"span",66),t.k0s(),t.j41(5,"div",67)(6,"div",68)(7,"span",69),t.EFF(8),t.k0s(),t.j41(9,"span",70),t.EFF(10,"Jocuri"),t.k0s()(),t.j41(11,"div",68)(12,"span",69),t.EFF(13),t.k0s(),t.j41(14,"span",70),t.EFF(15,"Acurate\u021be"),t.k0s()(),t.j41(16,"div",68)(17,"span",69),t.EFF(18),t.k0s(),t.j41(19,"span",70),t.EFF(20,"Serie curent\u0103"),t.k0s()(),t.j41(21,"div",68)(22,"span",69),t.EFF(23),t.k0s(),t.j41(24,"span",70),t.EFF(25,"Record serie"),t.k0s()(),t.j41(26,"div",68)(27,"span",69),t.EFF(28),t.k0s(),t.j41(29,"span",70),t.EFF(30,"Cel mai rapid"),t.k0s()(),t.j41(31,"div",68)(32,"span",69),t.EFF(33),t.k0s(),t.j41(34,"span",70),t.EFF(35,"Piese descoperite"),t.k0s()()()()),2&i){const e=t.XpG(2);t.R7$(4),t.vxM(e.stats.rank?4:-1),t.R7$(4),t.JRh(e.stats.games_played),t.R7$(5),t.SpI("",e.stats.accuracy,"%"),t.R7$(3),t.AVh("is-streak",e.stats.current_streak>0),t.R7$(2),t.JRh(e.stats.current_streak),t.R7$(5),t.JRh(e.stats.best_streak),t.R7$(5),t.JRh(e.formatDuration(e.stats.best_time_seconds)),t.R7$(5),t.JRh(e.stats.songs_discovered)}}function lt(i,r){if(1&i&&t.nVh(0,ct,36,9,"div",63),2&i){const e=t.XpG();t.vxM(e.stats&&e.stats.games_played>0?0:-1)}}const dt=[{path:"",component:(()=>{class i{constructor(e,n,s,l,c,h,_,ht,gt,ut,f,mt){this.hitsterService=e,this.userService=n,this.metaService=s,this.mediaCoordinatorService=l,this.appModalService=c,this.authUiService=h,this.dataService=_,this.route=ht,this.renderer=gt,this.cdr=ut,this.platformId=f,this.document=mt,this.isPlatformBrowser=!1,this.state="intro",this.canPlay=!0,this.loading=!1,this.errorMessage=null,this.texts={},this.gameId=null,this.cards=[],this.isCorrect=!1,this.timerSeconds=120,this.timeLeft=this.timerSeconds,this.timerStarted=!1,this.timedOut=!1,this.token="",this.isLoggedIn=!1,this.stats=null,this.audio=null,this.timerInterval=null,this.surfaceId="hitster-game",this.isPlatformBrowser=(0,v.UE)(f),this.isPlatformBrowser&&(this.renderer.addClass(this.document.body,"aw-page-campaign"),this.renderer.addClass(this.document.body,"aw-page-campaign-hitster"),this.mediaCoordinatorService.registerSurface({surfaceId:this.surfaceId,surfaceType:"audio",controlLevel:"full",state:"idle",pause:()=>{this.stopAudio(),this.cdr.detectChanges()},stop:()=>{this.stopAudio(),this.cdr.detectChanges()}}))}ngOnInit(){this.isPlatformBrowser&&(this.isLoggedIn=this.userService.hasUserData(),this.authSub=this.authUiService.loggedIn$.subscribe(e=>{const n=e||this.userService.hasUserData(),s=n&&!this.isLoggedIn;this.isLoggedIn=n,s&&!this.stats&&this.loadStats(),this.cdr.detectChanges()}),this.dataSub=this.dataService.data.subscribe(e=>{"formSubmitStatus"===e.event&&e.formId===this.formInscriere?.id&&(this.formInscriere.isSubmitted=!0,this.cdr.detectChanges())}),this.paramSub=this.route.paramMap.subscribe(e=>{const n=e.get("token");!n||n===this.token||(this.token=n,this.loginSub?.unsubscribe(),this.loginSub=this.userService.tokenLogin(n).subscribe({error:()=>{console.log("Failed to login by token.")}}))})),this.hitsterService.getData().subscribe({next:e=>{const n=e?.data??e;this.canPlay=!!n?.can_play,this.texts=n?.texts||{},this.stats=n?.stats??null,this.formInscriere=this.getFormBySlug(n?.forms,"form_inscriere"),this.formInscriere&&(this.formInscriere.isSubmitted=this.dataService.formsSubmitted.includes(this.formInscriere.id)),n?.meta&&(this.meta=n.meta,this.metaService.addMeta(this.meta)),this.cdr.detectChanges()},error:()=>{}})}ngOnDestroy(){this.isPlatformBrowser&&(this.renderer.removeClass(this.document.body,"aw-page-campaign"),this.renderer.removeClass(this.document.body,"aw-page-campaign-hitster"),this.mediaCoordinatorService.unregisterSurface(this.surfaceId)),this.stopAudio(),this.clearTimer(),this.paramSub?.unsubscribe(),this.loginSub?.unsubscribe(),this.authSub?.unsubscribe(),this.statsSub?.unsubscribe(),this.dataSub?.unsubscribe()}openLogin(){this.isPlatformBrowser&&(window.Android?.openLogin?window.Android.openLogin():window.webkit?.messageHandlers?.native?window.webkit.messageHandlers.native.postMessage("open_login"):this.appModalService.openLogin().result.then(()=>this.cdr.detectChanges(),()=>{}))}loadStats(){this.statsSub?.unsubscribe(),this.statsSub=this.hitsterService.getStats().subscribe({next:e=>{const n=e?.data??e;this.stats=n?.stats??null,this.cdr.detectChanges()},error:()=>{}})}getFormBySlug(e,n){return e?.find(l=>l.slug===n)?.form}startGame(){this.loading||(this.loading=!0,this.errorMessage=null,this.stopAudio(),this.hitsterService.startGame().subscribe({next:e=>{this.loading=!1;const n=e?.data??e;n?.game_id&&n?.cards?.length?(this.gameId=n.game_id,this.cards=n.cards.map((s,l)=>({id:s.id,audio_url:s.audio_url,seconds_length:s.seconds_length,label:String.fromCharCode(65+l),tone:l,played:!1,playing:!1,revealed:!1})),this.state="playing"):this.errorMessage=e?.message||"Jocul nu a putut fi pornit. \xcencearc\u0103 din nou.",this.cdr.detectChanges()},error:e=>{this.loading=!1,this.errorMessage=e?.error?.message||"Jocul nu a putut fi pornit. \xcencearc\u0103 din nou.",this.cdr.detectChanges()}}))}playCard(e){!this.isPlatformBrowser||!e.audio_url||"playing"!==this.state||(this.stopAudio(),this.startTimer(),e.played=!0,e.playing=!0,this.mediaCoordinatorService.requestPlay({originSurfaceId:this.surfaceId,reason:"hitster-song-play"}),this.mediaCoordinatorService.updateState(this.surfaceId,"playing"),this.audio=new Audio(e.audio_url),this.audio.onended=()=>{e.playing=!1,this.mediaCoordinatorService.updateState(this.surfaceId,"ended"),this.cdr.detectChanges()},this.audio.play().catch(()=>{e.playing=!1,this.mediaCoordinatorService.updateState(this.surfaceId,"paused"),this.cdr.detectChanges()}))}drop(e){(0,d.HD)(this.cards,e.previousIndex,e.currentIndex)}submitGame(){!this.gameId||this.loading||"playing"!==this.state||(this.loading=!0,this.errorMessage=null,this.hitsterService.submitGame({game_id:this.gameId,order:this.cards.map(e=>e.id)}).subscribe({next:e=>{this.loading=!1;const n=e?.data??e;if(n?.songs?.length){this.stopAudio(),this.clearTimer(),this.stats=n.stats??this.stats,this.isCorrect=!!n.correct;const s=new Map(n.songs.map(c=>[c.id,c])),l=n.correct_order??[];this.cards.forEach((c,h)=>{const _=s.get(c.id);c.artist=_?.artist,c.title=_?.title,c.year=_?.year,c.playing=!1,
1c.inCorrectSpot=l[h]===c.id}),this.state="result",setTimeout(()=>{this.cards.forEach(c=>c.revealed=!0),this.cdr.detectChanges()},150)}else this.errorMessage=e?.message||"R\u0103spunsul nu a putut fi trimis. \xcencearc\u0103 din nou.";this.cdr.detectChanges()},error:e=>{this.loading=!1,this.errorMessage=e?.error?.message||"R\u0103spunsul nu a putut fi trimis. \xcencearc\u0103 din nou.",this.cdr.detectChanges()}}))}playAgain(){this.state="intro",this.cards=[],this.gameId=null,this.isCorrect=!1,this.errorMessage=null,this.clearTimer(),this.timerStarted=!1,this.timedOut=!1,this.timeLeft=this.timerSeconds,this.startGame()}get timerLabel(){const e=Math.floor(this.timeLeft/60),n=this.timeLeft%60;return`${String(e).padStart(2,"0")}:${String(n).padStart(2,"0")}`}formatDuration(e){if(null===e||e<0)return"\u2013";const n=Math.floor(e/60),s=e%60;return n>0?`${n}m ${String(s).padStart(2,"0")}s`:`${s}s`}startTimer(){if(!this.isPlatformBrowser||this.timerStarted)return;this.timerStarted=!0;const e=Date.now()+1e3*this.timerSeconds;this.timerInterval=setInterval(()=>{this.timeLeft=Math.max(0,Math.ceil((e-Date.now())/1e3)),this.timeLeft<=0&&(this.clearTimer(),"playing"===this.state&&(this.timedOut=!0,this.submitGame())),this.cdr.detectChanges()},250)}clearTimer(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=null)}get allPlayed(){return this.cards.length>0&&this.cards.every(e=>e.played)}stopAudio(){this.audio&&(this.audio.pause(),this.audio.onended=null,this.audio=null,this.mediaCoordinatorService.updateState(this.surfaceId,"paused")),this.cards.forEach(e=>e.playing=!1)}static{this.\u0275fac=function(n){return new(n||i)(t.rXU(y),t.rXU(P.D),t.rXU(O.R),t.rXU(F.C),t.rXU(S.g),t.rXU(T.I),t.rXU(j.u),t.rXU(E.nX),t.rXU(t.sFG),t.rXU(b.gRc),t.rXU(t.Agw),t.rXU(o.qQL))}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["app-hitster"]],standalone:!1,decls:25,vars:12,consts:[["statsCard",""],[1,"hitster"],[1,"hitster__hero"],[1,"container"],["src","assets/campaigns/kissfm/2026/hitster/hitster-logo.png","alt","Hitster"],[3,"innerHTML"],[1,"hitster__subtitle",3,"innerHTML"],[1,"hitster__description",3,"innerHTML"],[1,"container","hitster__body"],[1,"hitster__error"],[1,"hitster__panel","hitster__panel--form"],[1,"hitster__panel","hitster__panel--intro"],[1,"hitster__board",3,"is-result"],[1,"hitster__panel","hitster__panel--description"],[2,"text-align","center"],["src","assets/campaigns/kissfm/2026/hitster/hitster-box.png","alt","Hitster",2,"max-height","400px"],["src","assets/campaigns/kissfm/2026/hitster/hitster-logo.png","alt","Hitster",2,"scale","0.5"],[1,"hitster__panel","hitster__panel--rules",3,"innerHTML"],[1,"hitster__form-body"],[3,"formData","isSubmitted"],[1,"hitster__subtitle"],[1,"hitster__steps"],[1,"hitster__step"],[1,"hitster__step-icon"],[1,"hitster__step-title"],[1,"hitster__note"],[1,"hitster__auth"],[3,"ngTemplateOutlet"],[1,"hitster__note","hitster__note--logged",3,"innerHTML"],["type","button",1,"btn","btn-primary","btn-lg",3,"click","disabled"],[1,"hitster__auth-option"],[1,"hitster__auth-hint",3,"innerHTML"],[1,"hitster__auth-or"],["type","button",1,"btn","btn-ghost","btn-lg",3,"click","disabled"],[1,"hitster__board"],[1,"hitster__verdict",3,"is-correct","is-wrong"],[1,"hitster__timeline"],[1,"hitster__timeline-arrow"],["cdkDropList","","cdkDropListOrientation","horizontal",1,"hitster__cards",3,"cdkDropListDropped","cdkDropListDisabled"],["cdkDrag","",1,"hitster__card-slot",3,"cdkDragDisabled"],[1,"hitster__positions"],[1,"hitster__hint"],[1,"hitster__timer",3,"is-low"],[1,"hitster__timer"],[1,"hitster__timer-label"],[1,"hitster__timer-value"],[1,"hitster__verdict"],[1,"hitster__card",3,"ngClass"],[1,"hitster__card-face","hitster__card-face--front"],[1,"hitster__card-letter"],[1,"hitster__vinyl",3,"click"],[1,"hitster__vinyl-disc"],[1,"hitster__vinyl-label"],[1,"hitster__eq"],[1,"hitster__play-icon"],[1,"hitster__card-cta"],[1,"hitster__card-face","hitster__card-face--back"],[1,"hitster__card-letter","hitster__card-letter--back"],[1,"hitster__card-title"],[1,"hitster__card-year"],[1,"hitster__card-artist"],["class","hitster__card-slot-placeholder",4,"cdkDragPlaceholder"],[1,"hitster__card-slot-placeholder"],[1,"hitster__stats"],[1,"hitster__stats-head"],[1,"hitster__stats-title"],[1,"hitster__stats-rank"],[1,"hitster__stats-grid"],[1,"hitster__stat"],[1,"hitster__stat-value"],[1,"hitster__stat-label"]],template:function(n,s){1&n&&(t.j41(0,"section",1)(1,"div",2)(2,"div",3),t.nrm(3,"img",4)(4,"h1",5)(5,"h2",6)(6,"div",7),t.k0s()(),t.j41(7,"div",8),t.nVh(8,w,2,1,"div",9),t.nVh(9,H,5,4,"div",10),t.nVh(10,V,30,1,"div",11),t.nVh(11,rt,17,7,"div",12),t.j41(12,"div",13)(13,"div",14),t.nrm(14,"img",15)(15,"h1",5)(16,"div",5),t.k0s()(),t.j41(17,"div",2)(18,"div",3),t.nrm(19,"h1",5)(20,"h2",6)(21,"img",16),t.k0s()(),t.nVh(22,at,1,1,"div",17),t.k0s(),t.DNE(23,lt,1,1,"ng-template",null,0,t.C5r),t.k0s()),2&n&&(t.R7$(4),t.Y8G("innerHTML",s.texts.title||"Hitster",t.npT),t.R7$(),t.Y8G("innerHTML",s.texts.subtitle||"Ascult\u0103 piesele \u0219i a\u0219az\u0103-le \xeen ordinea apari\u02
11biei. Ai 2 minute de la prima ascultare!",t.npT),t.R7$(),t.Y8G("innerHTML",s.texts.description||"Descoper\u0103 piesele \u0219i a\u0219az\u0103-le \xeen ordinea corect\u0103 a anilor!",t.npT),t.R7$(2),t.vxM(s.errorMessage?8:-1),t.R7$(),t.vxM(s.formInscriere&&1===s.formInscriere.active?9:-1),t.R7$(),t.vxM("intro"===s.state?10:-1),t.R7$(),t.vxM("playing"===s.state||"result"===s.state?11:-1),t.R7$(4),t.Y8G("innerHTML",s.texts["game-title"],t.npT),t.R7$(),t.Y8G("innerHTML",s.texts["game-description"],t.npT),t.R7$(3),t.Y8G("innerHTML",s.texts.end_title||"PREG\u0102TIT PENTRU APEL?",t.npT),t.R7$(),t.Y8G("innerHTML",s.texts.end_subtitle||"Intr\u0103 \xeen joc. Antreneaz\u0103-te. Ascult\u0103 Kiss FM. \u0218i \u021bine telefonul aproape. S-ar putea ca urm\u0103toarea provocare HITSTER s\u0103 fie pentru tine. \xcen direct, la Kiss FM.",t.npT),t.R7$(2),t.vxM(s.texts.rules_html?22:-1))},dependencies:[p.YU,p.T3,d.O7,d.T1,d.EM,R.L],styles:['@font-face{font-family:Bebas Neue;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/bebasneue/v16/JTUSjIg69CK48gW7PXooxW4.ttf) format("truetype")}.hitster[_ngcontent-%COMP%]{--kiss-red: #ff0000;--cream: #f6f0e4;--ink: #161616;--ok: #2ecc71;--ko: #ff4d4d;--display-font: "Bebas Neue", "Arial Narrow", sans-serif;background:radial-gradient(ellipse 80% 50% at 50% -10%,rgba(255,0,0,.35),transparent 70%),radial-gradient(ellipse 60% 40% at 80% 110%,rgba(255,0,0,.15),transparent 70%),#0d0d0f;color:#fff;min-height:100vh;padding-bottom:80px;font-size:18px}.hitster__hero[_ngcontent-%COMP%]{padding:70px 0 30px;text-align:center}.hitster__hero[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{max-width:960px}.hitster__hero[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-bottom:18px}.hitster__hero[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:var(--display-font);font-size:clamp(2.8rem,9.6vw,5.6rem);line-height:.9;margin:0 0 12px;letter-spacing:.04em;text-transform:uppercase;text-shadow:4px 4px 0 rgba(255,0,0,.55)}.hitster__subtitle[_ngcontent-%COMP%]{font-family:var(--display-font);font-size:clamp(1.6rem,4vw,2.8rem);line-height:1;letter-spacing:.03em;text-shadow:3px 3px 0 rgba(255,0,0,.45);text-transform:none;opacity:.9;max-width:780px;margin:0 auto 14px}.hitster__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:24px;max-width:860px;margin-top:16px}.hitster__error[_ngcontent-%COMP%]{color:#ff8da3;background:#ff4d4d1f;border:1px solid rgba(255,77,77,.35);padding:12px 18px;border-radius:10px;text-align:center}.hitster__panel[_ngcontent-%COMP%]{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:36px 32px;text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);width:100%}.hitster__panel--description[_ngcontent-%COMP%], .hitster__panel--rules[_ngcontent-%COMP%]{text-align:left;font-size:.95rem;opacity:.92}.hitster__form-body[_ngcontent-%COMP%]{text-align:left}.hitster__steps[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:32px;text-align:center}.hitster__step[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;opacity:.9;font-size:.95rem}.hitster__step-title[_ngcontent-%COMP%]{display:block;font-family:var(--display-font);font-size:1.5rem;line-height:1;letter-spacing:.04em;margin-bottom:8px;color:#fff;text-shadow:3px 3px 0 rgba(255,0,0,.55)}.hitster__step-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:2rem;line-height:1;margin-bottom:12px}.hitster__board[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;align-items:center;gap:22px}.hitster__hint[_ngcontent-%COMP%]{margin:0;opacity:.8;text-align:center}.hitster__verdict[_ngcontent-%COMP%]{text-align:center;animation:_ngcontent-%COMP%_hitster-pop .45s cubic-bezier(.18,1.4,.4,1)}.hitster__verdict[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-family:var(--display-font);display:block;font-size:clamp(2.4rem,7vw,4rem);line-height:1;letter-spacing:.05em;text-transform:uppercase}.hitster__verdict[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{opacity:.85}
1.hitster__verdict.is-correct[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--ok)}.hitster__verdict.is-wrong[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--ko)}.hitster__timer[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:12px;border:1px solid rgba(255,255,255,.18);background:#0006;border-radius:999px;padding:8px 22px}.hitster__timer-label[_ngcontent-%COMP%]{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;opacity:.7}.hitster__timer-value[_ngcontent-%COMP%]{font-family:var(--display-font);font-size:1.5rem;line-height:1;letter-spacing:.08em;min-width:64px;text-align:center}.hitster__timer.is-low[_ngcontent-%COMP%]{border-color:var(--ko);animation:_ngcontent-%COMP%_hitster-pulse 1s ease-in-out infinite}.hitster__timer.is-low[_ngcontent-%COMP%]   .hitster__timer-value[_ngcontent-%COMP%]{color:var(--ko)}.hitster__timeline[_ngcontent-%COMP%]{width:100%;max-width:700px;display:flex;align-items:center;gap:14px;font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;opacity:.7;white-space:nowrap}.hitster__timeline-arrow[_ngcontent-%COMP%]{flex:1;height:2px;background:linear-gradient(90deg,rgba(255,255,255,.2),var(--kiss-red));position:relative}.hitster__timeline-arrow[_ngcontent-%COMP%]:after{content:"";position:absolute;right:-1px;top:-4px;border:5px solid transparent;border-left-color:var(--kiss-red)}.hitster__cards[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:18px;width:100%;max-width:700px}.hitster__card-slot[_ngcontent-%COMP%]{flex:1;max-width:220px;cursor:grab}.hitster__card-slot[_ngcontent-%COMP%]:active{cursor:grabbing}.hitster__card-slot-placeholder[_ngcontent-%COMP%]{height:100%;min-height:220px;border:2px dashed rgba(255,255,255,.35);border-radius:16px;background:#ffffff0a}.hitster__card[_ngcontent-%COMP%]{position:relative;aspect-ratio:3 / 4.2;perspective:900px;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.4,0,.2,1);--tone: var(--kiss-red);--tone-ink: var(--kiss-red)}.hitster__card--tone-0[_ngcontent-%COMP%]{--tone: #ff2d2d;--tone-ink: #e00000}.hitster__card--tone-1[_ngcontent-%COMP%]{--tone: #ffc83d;--tone-ink: #cc8a00}.hitster__card--tone-2[_ngcontent-%COMP%]{--tone: #38b6ff;--tone-ink: #1278b8}.hitster__card.is-flipped[_ngcontent-%COMP%]{transform:rotateY(180deg)}.hitster__card-face[_ngcontent-%COMP%]{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 14px 30px #00000080}.hitster__card-face--front[_ngcontent-%COMP%]{background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.07),transparent 55%),linear-gradient(160deg,#1d1d22,#121214);border:1px solid rgba(255,255,255,.12);border-top:5px solid var(--tone);gap:14px}.hitster__card-face--back[_ngcontent-%COMP%]{background:var(--cream);color:var(--ink);transform:rotateY(180deg);border:6px solid #fff;padding:18px 12px;justify-content:space-between;text-align:center}.hitster__card-letter[_ngcontent-%COMP%]{position:absolute;top:12px;left:0;right:0;text-align:center;font-family:var(--display-font);font-size:1.15rem;letter-spacing:.12em;text-transform:uppercase;color:var(--tone)}.hitster__card-letter--back[_ngcontent-%COMP%]{top:8px;left:10px;right:auto;font-size:1rem;color:var(--tone-ink);opacity:.65}.hitster__vinyl[_ngcontent-%COMP%]{width:62%;cursor:pointer}.hitster__vinyl-disc[_ngcontent-%COMP%]{aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle,#1a1a1a 0 3px,#232323 3px 6px);border:1px solid #000;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px #0009}.is-playing[_ngcontent-%COMP%]   .hitster__vinyl-disc[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_hitster-spin 2.4s linear infinite}.hitster__vinyl-label[_ngcontent-%COMP%]{width:46%;aspect-ratio:1;border-radius:50%;background:var(--tone, var(--kiss-red));display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 2px #00000040}.hitster__play-icon[_ngcontent-%COMP%]{display:block;width:0;height:0;margin-left:4px;border:11px solid transparent;border-left:17px solid #fff;border-right-width:0}.hitster__played-check[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:700;color:#fff}.hitster__eq[_ngcontent-%COMP%]{display:flex;align-items:flex-end;
1gap:3px;height:20px}.hitster__eq[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{width:4px;background:#fff;border-radius:2px;animation:_ngcontent-%COMP%_hitster-eq .8s ease-in-out infinite}.hitster__eq[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(1){animation-delay:0s}.hitster__eq[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(2){animation-delay:.25s}.hitster__eq[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(3){animation-delay:.5s}.hitster__card-cta[_ngcontent-%COMP%]{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;opacity:.85}.hitster__card-cta.is-done[_ngcontent-%COMP%]{opacity:.45}.hitster__card-title[_ngcontent-%COMP%]{font-weight:700;font-size:.95rem;line-height:1.25}.hitster__card-year[_ngcontent-%COMP%]{font-family:var(--display-font);font-size:clamp(2.6rem,8vw,4.2rem);line-height:1;color:var(--tone-ink, var(--kiss-red))}.hitster__card-artist[_ngcontent-%COMP%]{font-size:.85rem;opacity:.75}.is-result[_ngcontent-%COMP%]   .hitster__card.is-ok[_ngcontent-%COMP%]   .hitster__card-face--back[_ngcontent-%COMP%]{border-color:var(--ok)}.is-result[_ngcontent-%COMP%]   .hitster__card.is-ko[_ngcontent-%COMP%]   .hitster__card-face--back[_ngcontent-%COMP%]{border-color:var(--ko)}.hitster__positions[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:18px;width:100%;max-width:700px;margin-top:-8px}.hitster__positions[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{flex:1;max-width:220px;text-align:center;font-family:var(--display-font);font-size:1.1rem;opacity:.45;letter-spacing:.1em}.hitster__note[_ngcontent-%COMP%]{margin:0;font-size:.9rem;opacity:.65;text-align:center}.hitster__note--logged[_ngcontent-%COMP%]{margin-top:16px;opacity:.8}.hitster__auth[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:18px 28px}.hitster__auth-option[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:280px}.hitster__auth-hint[_ngcontent-%COMP%]{font-size:.85rem;line-height:1.35;opacity:.7;max-width:240px}.hitster__auth-or[_ngcontent-%COMP%]{align-self:center;font-family:var(--display-font);font-size:1.25rem;letter-spacing:.12em;text-transform:uppercase;opacity:.45}.hitster__stats[_ngcontent-%COMP%]{width:100%;max-width:520px;margin:0 auto 26px;padding:22px 24px;border-radius:16px;background:#00000047;border:1px solid rgba(255,255,255,.1)}.hitster__stats-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.hitster__stats-title[_ngcontent-%COMP%]{font-family:var(--display-font);font-size:1.4rem;letter-spacing:.06em;text-transform:uppercase}.hitster__stats-rank[_ngcontent-%COMP%]{font-size:.78rem;font-weight:700;letter-spacing:.04em;padding:6px 12px;border-radius:999px;background:var(--kiss-red);color:#fff;white-space:nowrap;box-shadow:0 6px 16px #ff00004d}.hitster__stats-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hitster__stat[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 6px;border-radius:12px;background:#ffffff0a}.hitster__stat.is-streak[_ngcontent-%COMP%]{background:#ff000029;border:1px solid rgba(255,0,0,.4)}.hitster__stat-value[_ngcontent-%COMP%]{font-family:var(--display-font);font-size:2rem;line-height:1}.hitster__stat-label[_ngcontent-%COMP%]{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;opacity:.65;text-align:center}.hitster[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{display:inline-block;padding:14px 34px;border-radius:12px;border:none;cursor:pointer;font-weight:700;font-size:1.05rem;text-transform:uppercase;letter-spacing:.06em;transition:transform .15s ease,opacity .15s ease}.hitster[_ngcontent-%COMP%]   .btn.btn-primary[_ngcontent-%COMP%]{background:var(--kiss-red);color:#fff;box-shadow:0 10px 24px #ff000059}.hitster[_ngcontent-%COMP%]   .btn.btn-ghost[_ngcontent-%COMP%]{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4)}.hitster[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover:not(:disabled){transform:translateY(-2px)}.hitster[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}.hitster__card-slot.cdk-drag-preview[_ngcontent-%COMP%]{overflow:visible;color:#fff}.hitster__card-slot.cdk-drag-preview[_ngcontent-%COMP%]   .hitster__card-face--front[_ngcontent-%COMP%]{box-shadow:0 24px 50px #000000b3;transform:scale(1.04) rotate(2deg)}.hitster__cards.cdk-drop-list-dragging[_ngcontent-%COMP%]   .hitster__card-slot[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}@keyframes _ngcontent-%COMP%_hitster-spin{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_hitster-eq{0%,to{height:6px}50%{height:20px}}@keyframes _ngcontent-%COMP%_hitster-pop{0%{transform:scale(.6);opacity:0}
1to{transform:scale(1);opacity:1}}@keyframes _ngcontent-%COMP%_hitster-pulse{50%{transform:scale(1.06)}}@media(max-width:600px){.hitster[_ngcontent-%COMP%]{font-size:15px}.hitster__hero[_ngcontent-%COMP%]{padding:50px 0 20px}.hitster__panel[_ngcontent-%COMP%]{padding:26px 18px}.hitster__auth[_ngcontent-%COMP%]{flex-direction:column;align-items:center;gap:14px}.hitster__stats[_ngcontent-%COMP%]{padding:18px 16px}.hitster__stats-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.hitster__stat-value[_ngcontent-%COMP%]{font-size:1.7rem}.hitster__steps[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:14px;text-align:left}.hitster__steps[_ngcontent-%COMP%]   .hitster__step[_ngcontent-%COMP%]{display:flex;align-items:center;gap:14px}.hitster__steps[_ngcontent-%COMP%]   .hitster__step[_ngcontent-%COMP%]   .hitster__step-icon[_ngcontent-%COMP%]{margin-bottom:0;flex-shrink:0}.hitster__cards[_ngcontent-%COMP%], .hitster__positions[_ngcontent-%COMP%]{gap:8px}.hitster__card-letter[_ngcontent-%COMP%]{font-size:.8rem}.hitster__card-cta[_ngcontent-%COMP%]{font-size:.62rem}.hitster__card-title[_ngcontent-%COMP%]{font-size:.72rem}.hitster__card-artist[_ngcontent-%COMP%]{font-size:.66rem}}']})}}return i})()}];let _t=(()=>{class i{static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275mod=t.$C({type:i})}static{this.\u0275inj=o.G2t({imports:[g.iI.forChild(dt),g.iI]})}}return i})(),pt=(()=>{class i{static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275mod=t.$C({type:i})}static{this.\u0275inj=o.G2t({imports:[p.MD,d.ad,_t,x.G]})}}return i})()}}]);

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.