PageSourceSearch

https://melongaming.com/chunk-I5QDU7IA.js

js melongaming.com collected 2026-09-24 09:23:32 UTC 7,791 bytes, 1 lines download raw bytes

1import{a as $}from"./chunk-WCDYG5TL.js";import{Ab as c,Cb as G,Db as N,Eb as k,Fa as f,Fb as F,Ka as r,Lb as L,Mb as O,Nb as D,Ta as h,X as _,Y as m,Ya as E,Z as P,ea as v,fb as S,gb as l,hb as T,hc as R,jc as V,ob as o,pb as s,qb as p,rb as w,sb as I,tb as g,ub as b,vb as A,wb as C,xb as M,yb as x,zb as u}from"./chunk-VUXDCAZH.js";import"./chunk-SXLK7NMT.js";var z=["gamePreview"];function j(i,n){i&1&&(w(0),p(1,"i",23),I())}function X(i,n){i&1&&(P(),o(0,"svg",24),p(1,"circle",25)(2,"path",26),s())}function W(i,n){if(i&1){let e=g();o(0,"div",19),u("click",function(a){_(e);let d=c();return a.stopPropagation(),m(d.isVideoRendered=!0)}),p(1,"img",20)(2,"div",21),E(3,j,2,0,"ng-container",22)(4,X,3,0,"ng-template",null,0,D),s()}if(i&2){let e=F(5),t=c();r(),l("src",t.imageUrl,f)("width",t.coverWidth)("height",t.coverHeight),r(2),l("ngIf",!t.isVideoRendered)("ngIfElse",e)}}function H(i,n){if(i&1){let e=g();o(0,"video",27),u("playing",function(){_(e);let a=c();return m(a.isVideoPlaying=!0)})("click",function(a){return _(e),m(a.stopPropagation())}),p(1,"source",28),s()}if(i&2){let e=c();T("opacity-0",!e.isVideoPlaying)("opacity-100",e.isVideoPlaying),l("loop",!0)("playsInline",!0)("poster",e.imageUrl,f),r(),l("src",e.videoUrl,f)}}function B(i,n){if(i&1){let e=g();o(0,"a",29),u("click",function(a){_(e);let d=c();return a.stopPropagation(),m(d.playClicked.emit())}),p(1,"img",30),o(2,"span"),C(3,3),s()()}if(i&2){let e=c();S("data-umami-event","Games | "+e.title+" Browser Clicked")}}function Q(i,n){if(i&1){let e=g();o(0,"a",31),u("click",function(a){return _(e),m(a.stopPropagation())}),p(1,"i",32),o(2,"span"),C(3,4),s()()}i&2&&S("data-umami-event","Games | Sushi Grab Gamesnacks Clicked")}function q(i,n){if(i&1){let e=g();o(0,"a",33),u("click",function(a){return _(e),m(a.stopPropagation())}),p(1,"img",34),o(2,"span"),C(3,5),s()()}if(i&2){let e=c();l("href",e.playstoreLink,f),S("data-umami-event","Games | "+e.title+" Playstore Clicked")}}var U=class i{title="";description="";imageUrl="/img/index/Editor.webp";videoUrl="/video/Editor.mp4";tag="";websiteLink="";playstoreLink="";playClicked=new v;coverWidth=640;coverHeight=360;videoRef;isVideoRendered=!1;isVideoPlaying=!1;playVideoPreview(n){n&&n.play()}pauseVideoPreview(n){n.pause(),n.currentTime=0,n.load()}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=h({type:i,selectors:[["app-game-card-simple"]],viewQuery:function(e,t){if(e&1&&G(z,5),e&2){let a;N(a=k())&&(t.videoRef=a.first)}},inputs:{title:"title",description:"description",imageUrl:"imageUrl",videoUrl:"videoUrl",tag:"tag",websiteLink:"websiteLink",playstoreLink:"playstoreLink"},outputs:{playClicked:"playClicked"},decls:16,vars:10,consts:()=>{let n;n=$localize`:Game title@@game.title:${"\uFFFD#8\uFFFD"}:START_ITALIC_TEXT:${"\uFFFD/#8\uFFFD"}:CLOSE_ITALIC_TEXT: ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let e;e=$localize`:Game description@@game.description: ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let t;t=$localize`:CTA to play on website@@gameCardSimple.cta.playWebsite:Play on Website`;let a;a=$localize`:CTA to play Sushi Grab@@gameCardSimple.cta.playSushiGrab:Play on Gamesnacks`;let d;return d=$localize`:CTA to download on Playstore@@gameCardSimple.cta.playstore:Download on Playstore`,[["loadingSpinner",""],n,e,t,a,d,[1,"game-card","h-full","flex","flex-col","cursor-pointer","hover:-translate-y-1","rounded-xl","overflow-hidden","shadow-md","transition","duration-300","bg-[#062e75]/80","border","border-white/20","p-3"],[1,"relative","w-full","overflow-hidden"],[1,"relative","w-full","aspect-video","rounded-lg","overflow-hidden","bg-black"],["class","absolute inset-0 z-10 flex items-center justify-center cursor-pointer group transition-all duration-500",3,"click",4,"ngIf"],["autoplay","","controls","","preload","none","class","w-full h-full object-cover",3,"loop","playsInline","opacity-0","opacity-100","poster","playing","click",4,"ngIf"],[1,"pt-4","flex","flex-col","flex-grow"],[1,"text-lg","font-bold","mb-1","flex","items-center","gap-2","text-white"],[1,"uil","uil-analysis","text-main"],[1,"text-sm","text-white/80","flex-grow","whitespace-pre-line","text-justify"],[1,"mt-6","flex","flex-col","gap-2"],["href","javascript:void(0)","class","text-center mt-auto bg-primary hover:bg-secondary text-white py-2 rounded-lg font-medium transition duration-300 flex items-center gap-3 px-4 justify-center",3,"click",4,"ngIf"],["href","https://gamesnacks.com/embed/games/sushigrab","target","_blank","class","text-center mt-auto bg-primary hover:bg-secondary text-white py-2 rounded-lg font-medium transition duration-300 flex items-center gap-3 px-4 justify-center",3,"click",4,"ngIf"],["target","_blank","class","text-center bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-lg font-medium transition duration-300 flex items-center gap-3 px-4 justify-center",3,"href","click",4,"ngIf"],[1,"absolute","
1inset-0","z-10","flex","items-center","justify-center","cursor-pointer","group","transition-all","duration-500",3,"click"],["loading","lazy","decoding","async","fetchpriority","low","sizes","(max-width: 640px) 92vw, (max-width: 1024px) 46vw, 30vw","alt","",1,"absolute","inset-0","w-full","h-full","object-cover","opacity-70","group-hover:blur-0","group-hover:scale-105","group-hover:opacity-100","transition-all","duration-500",3,"src","width","height"],[1,"absolute","inset-0","bg-black/40","group-hover:bg-transparent","transition-colors","duration-500"],[4,"ngIf","ngIfElse"],[1,"uil","uil-play-circle","text-5xl","text-white","drop-shadow-md","group-hover:scale-110","transition-transform","duration-300","relative","z-20"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"animate-spin","text-white","w-12","h-12","relative","z-20"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",1,"opacity-75"],["autoplay","","controls","","preload","none",1,"w-full","h-full","object-cover",3,"playing","click","loop","playsInline","poster"],["type","video/mp4",3,"src"],["href","javascript:void(0)",1,"text-center","mt-auto","bg-primary","hover:bg-secondary","text-white","py-2","rounded-lg","font-medium","transition","duration-300","flex","items-center","gap-3","px-4","justify-center",3,"click"],["src","/img/index/Melon.webp","width","20","height","20","alt",""],["href","https://gamesnacks.com/embed/games/sushigrab","target","_blank",1,"text-center","mt-auto","bg-primary","hover:bg-secondary","text-white","py-2","rounded-lg","font-medium","transition","duration-300","flex","items-center","gap-3","px-4","justify-center",3,"click"],[1,"uil","uil-external-link-alt"],["target","_blank",1,"text-center","bg-blue-600","hover:bg-blue-700","text-white","py-2","rounded-lg","font-medium","transition","duration-300","flex","items-center","gap-3","px-4","justify-center",3,"click","href"],["src","/img/index/Google.webp","width","20","height","20","alt",""]]},template:function(e,t){e&1&&(o(0,"div",6)(1,"div",7)(2,"div",8),E(3,W,6,5,"div",9)(4,H,2,8,"video",10),s()(),o(5,"div",11)(6,"h3",12),b(7,1),p(8,"i",13),A(),s(),o(9,"p",14),C(10,2),L(11,"truncate"),s(),o(12,"div",15),E(13,B,4,1,"a",16)(14,Q,4,1,"a",17)(15,q,4,2,"a",18),s()()()),e&2&&(r(3),l("ngIf",!t.isVideoPlaying),r(),l("ngIf",t.isVideoRendered),r(4),M(t.title),x(7),r(3),M(O(11,7,t.description,120)),x(10),r(2),l("ngIf",t.websiteLink&&t.websiteLink!==""&&t.title!=="Blast-Off"&&t.title!=="Sushi Grab"),r(),l("ngIf",t.title==="Sushi Grab"),r(),l("ngIf",t.playstoreLink!=""))},dependencies:[V,R,$],styles:[".game-card[_ngcontent-%COMP%]{content-visibility:auto;contain-intrinsic-size:360px 520px}"],changeDetection:0})};export{U as GameCardSimpleComponent};

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.