1import{a as D}from"./chunk-CENRA4FT.js";import{a as P}from"./chunk-A5S2WUE2.js";import"./chunk-SNFSRE5O.js";import{a as A}from"./chunk-OSZ67J3L.js";import{a as j}from"./chunk-ITHIMSZU.js";import"./chunk-HUJPMDRV.js";import"./chunk-CQPXX5FU.js";import"./chunk-MCUCE3YO.js";import"./chunk-GLBWNLTQ.js";import"./chunk-A7I7FZA5.js";import"./chunk-O32DOSVA.js";import{a as R}from"./chunk-P47LTXCB.js";import{l as M,o as N,s as T}from"./chunk-C25D627U.js";import"./chunk-4YRY4IP2.js";import"./chunk-GRPNCJIN.js";import{Eb as p,Ib as C,Qb as m,Ra as f,Sb as u,Tb as w,Wa as a,Xa as d,_b as S,ad as E,ca as g,ec as _,hd as L,jb as y,jc as k,kc as I,mb as l,oa as c,pa as v,rb as h,ub as b,vb as x,wb as o,xb as n,yb as s}from"./chunk-77E3GGME.js";import"./chunk-WWX6BADO.js";var B=(i,t)=>t.id,z=(i,t,e,r,q)=>({country_id:i,subcategory_id:t,year:e,country_name:r,category_name:q});function G(i,t){if(i&1&&(o(0,"a",6)(1,"article",7)(2,"div",8),s(3,"img",9)(4,"div",10)(5,"div",11)(6,"div",12),o(7,"div",13)(8,"h3",14),m(9),n()()(),o(10,"div",15)(11,"div",16)(12,"div",17),s(13,"div",18),o(14,"span",19),m(15),n()(),o(16,"div",20),c(),o(17,"svg",21),s(18,"path",22),n()()(),v(),s(19,"div",23),n()()()),i&2){let e=t.$implicit,r=p(2);l("queryParams",_(6,z,e.id,r.subcategoryId,r.year,e.name,r.subcategoryName)),a(3),C("alt","Top 100 ",e.name,""),l("src","images/favicon.svg",f),a(6),u(" ",e.name," "),a(6),u(" ",r.year," Rankings ")}}function H(i,t){if(i&1&&(o(0,"div",4),b(1,G,20,12,"a",6,B),n()),i&2){let e=p();a(),x(e.countries)}}function V(i,t){i&1&&(o(0,"div",5),c(),o(1,"svg",24)(2,"style"),m(3,".spinner_P7sC{transform-origin:center;animation:spinner_svv2 .75s infinite linear}@keyframes spinner_svv2{100%{transform:rotate(360deg)}}"),n(),s(4,"path",25),n()())}var F=class i{constructor(t,e,r){this.domainService=t;this.route=e;this.categoryService=r}category;subcategoryName="";subcategoryId="";countries=null;year=null;ngOnInit(){let t=this.domainService.getHost();this.category=t==="businesses"?"businesses":"leaders",this.route.queryParams.subscribe(e=>{this.year=e.year??this.year,this.subcategoryName=e.name??this.subcategoryName,this.subcategoryId=e.id,this.subcategoryId&&this.getCountries(this.subcategoryId)})}getCountries(t){this.categoryService.getCountries(t).subscribe({next:e=>{this.countries=e}})}static \u0275fac=function(e){return new(e||i)(d(R),d(M),d(D))};static \u0275cmp=g({type:i,selectors:[["app-countries-list"]],standalone:!0,features:[S],decls:10,vars:7,consts:[[1,"bg-white","mt-20"],[3,"category"],[1,"py-14","w-full","max-w-[1400px]","mx-auto","px-5","md:px-10"],[1,"mt-10","text-3xl","font-bold","text-center","text-gray-800","md:text-4xl"],[1,"mt-14","grid","grid-cols-1","gap-8","md:grid-cols-2","lg:grid-cols-3"],[1,"h-72","mb-20","flex","justify-center","items-center"],["routerLink","/winners/list",1,"group","block","cursor-pointer","transition-all","duration-500","hover:transform","hover:-translate-y-2","hover:shadow-2xl",3,"queryParams"],[1,"relative","overflow-hidden","rounded-2xl","bg-gradient-to-br","from-slate-50","to-white","shadow-lg","ring-1","ring-gray-100/50","transition-all","duration-500","group-hover:shadow-xl","group-hover:ring-gray-200/50"],[1,"relative","h-64","overflow-hidden","bg-gradient-to-br","from-green-600","via-emerald-600","to-teal-600"],["loading","lazy",1,"h-full","w-full","object-cover","opacity-20","transition-all","duration-700","group-hover:opacity-30","group-hover:scale-110",3,"src","alt"],[1,"absolute","inset-0","bg-gradient-to-t","from-black/20","via-transparent","to-transparent"],[1,"absolute","top-4","right-4","h-12","w-12","rounded-full","bg-white/10","backdrop-blur-sm"],[1,"absolute","bottom-6","left-6","h-8","w-8","rounded-full","bg-white/10","backdrop-blur-sm"],[1,"absolute","inset-0","flex","items-center","justify-center"],[1,"text-center","text-2xl","font-bold","text-white","drop-shadow-lg","transition-all","duration-500","group-hover:scale-105","group-hover:text-green-100"],[1,"relative","bg-gradient-to-r","from-white","to-gray-50","p-6"],[1,"flex","items-center","justify-between"],[1,"flex","items-center","gap-3"],[1,"h-3","w-3","rounded-full","bg-gradient-to-r","from-green-600","to-emerald-600","shadow-lg"],[1,"text-sm","font-medium","text-gray-600","group-hover:text-gray-800","transition-colors","duration-300"],[1,"rounded-full","bg-gradient-to-r","from-green-50","to-emerald-50","p-2","transition-all","duration-300","group-hover:scale-110","group-hover:shadow-md"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"h-4","w-4","text-green-700","transition-transform","duration-300","group-hover:translate-x-0.5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5l7 7-7 7"],[1,"absolute","bottom-0","left-0","h-1","w-full","bg-gradient-to-r","from-emerald-500","via-green-500","to-teal-500","opacity-60","transition-opacity","duration-300","group-hover:opacity-100"],["width","50","height","50","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"fill-green-800"],["d","M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z",1,"spinner_P7sC"]],template:function(e,r){e&1&&(o(0,"div",0),s(1,"app-nav",1),o(2,"section",2)(3,"h2",3),m(4),k(5,"titlecase"),n(),y(6,H,3,0,"div",4)(7,V,5,0,"div",5),n(),s(8,"a
1pp-newsletter-section")(9,"app-footer",1),n()),e&2&&(a(),l("category",r.category),a(3),w("",r.year," Top 100 ",I(5,5,r.subcategoryName),""),a(2),h(r.countries?6:7),a(3),l("category",r.category))},dependencies:[j,L,E,T,N,P,A]})};export{F as CountriesListComponent};
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.