PageSourceSearch

https://garissacoach.co.ke/chunk-M5YJ7NQC.js

js garissacoach.co.ke collected 2026-10-02 01:59:19 UTC 15,473 bytes, 1 lines download raw bytes

1import{a as _}from"./chunk-PH7XW4QD.js";import"./chunk-7QWKB3DQ.js";import{C as O,i as S,j as I,k as u,v as g}from"./chunk-X5IAYWVZ.js";import{Cb as p,Db as k,Eb as f,Hb as w,Ib as y,Nb as l,Ob as o,Pb as r,Qb as n,Za as d,cc as a,da as v,nc as b,ob as h,ub as c,vb as s}from"./chunk-VD5HMREA.js";import"./chunk-WWX6BADO.js";var E=()=>[import("./chunk-EWAMY4HD.js").then(e=>e.SearchFormComponent)];function F(e,i){if(e&1&&n(0,"img",5),e&2){let t=a(2);l("ngSrc",t.currentImage)}}function H(e,i){if(e&1&&n(0,"img",6),e&2){let t=a(2);l("ngSrc",t.currentImage)}}function G(e,i){if(e&1&&(o(0,"div",4),w(1,F,1,1,"img",5)(2,H,1,1,"img",6),r()),e&2){let t=a();d(),y(t.currentImageIndex===0?1:2)}}function z(e,i){e&1&&n(0,"app-shared-search")}function N(e,i){e&1&&n(0,"div",7)}var x=class e{configService=v(_);carouselImages=[];currentImageIndex=0;intervalId;ngOnInit(){this.carouselImages=this.configService.settings?.images?.heroCarousel||[],this.carouselImages.length>1&&this.startCarousel()}startCarousel(){this.intervalId=setInterval(()=>{this.currentImageIndex=(this.currentImageIndex+1)%this.carouselImages.length},5e3)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}get currentImage(){return this.carouselImages[this.currentImageIndex]||""}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=h({type:e,selectors:[["app-hero-section"]],decls:8,vars:1,consts:[[1,"hero-section"],["class","hero-carousel",4,"ngIf"],[1,"hero-form"],[1,"container-fluid"],[1,"hero-carousel"],["fill","","priority","","fetchpriority","high","alt","Travel inspiration",1,"carousel-image","active",3,"ngSrc"],["fill","","fetchpriority","low","alt","Travel inspiration",1,"carousel-image","active",3,"ngSrc"],[1,"search-form-placeholder"]],template:function(t,m){t&1&&(o(0,"section",0),c(1,G,3,1,"div",1),o(2,"div",2)(3,"div",3),s(4,z,1,0)(5,N,1,0),p(6,4,E,null,5),k(),r()()()),t&2&&(d(),l("ngIf",m.currentImage))},dependencies:[g,u,O],styles:['.hero-section[_ngcontent-%COMP%]{width:100%;height:400px;margin-bottom:48px;position:relative;z-index:500}.hero-carousel[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;z-index:-1}.hero-carousel[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to bottom,#0000004d,#0000001a);z-index:1}.hero-carousel[_ngcontent-%COMP%]   .carousel-image[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1s ease-in-out;z-index:0}.hero-carousel[_ngcontent-%COMP%]   .carousel-image.active[_ngcontent-%COMP%]{opacity:1;transition:opacity .5s ease-in-out}.hero-image[_ngcontent-%COMP%]{width:100%;height:180px;position:relative}.hero-form[_ngcontent-%COMP%]{position:absolute;bottom:-40px;left:0;width:100%;z-index:510}.search-form-placeholder[_ngcontent-%COMP%]{min-height:104px;border-radius:.75rem;background:#ffffffeb;box-shadow:0 .5rem 1rem #0000001f}.typeahead-dropdown[_ngcontent-%COMP%], .dropdown-menu[_ngcontent-%COMP%]{position:absolute;z-index:520}.text-color[_ngcontent-%COMP%]{color:#fff;font-size:1.5rem}.px-3[_ngcontent-%COMP%]{position:relative;z-index:10}.px-3[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.5)}@media (min-width: 992px){.hero-form[_ngcontent-%COMP%]{bottom:-60px}}@media (max-width: 768px){.hero-section[_ngcontent-%COMP%]{height:auto;margin-bottom:12px}.hero-carousel[_ngcontent-%COMP%]{display:none}.hero-image[_ngcontent-%COMP%]{height:100px}.image[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:cover}.hero-form[_ngcontent-%COMP%]{position:static;bottom:unset;margin-top:1rem}.text-color[_ngcontent-%COMP%]{color:var(--primary-color-900);font-size:1.5rem}.px-3[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--primary-color-900);text-shadow:none}}.typewriter[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{width:fit-content;color:#fff;font-family:monospace;overflow:hidden;border-right:.15em solid white;white-space:nowrap;margin:0 auto;animation:_ngcontent-%COMP%_typing 2.5s steps(20,end),_ngcontent-%COMP%_blink-caret .5s step-end infinite}@keyframes _ngcontent-%COMP%_typing{0%{width:0}to{width:fit-content}}@keyframes _ngcontent-%COMP%_blink-caret{0%,to{border-color:transparent}50%{border-color:var(--secondary-color)}}']})};function A(e,i){e&1&&n(0,"div",14)}function j(e,i){if(e&1&&(o(0,"div",11),n(1,"div",12),c(2,A,1,0,"div",13),r()),e&2){let t=a();d(2),l("ngIf",t.config.showSubtitle)}}function q(e,i){e&1&&(o(0,"div",15)(1,"div",16)(2,"div",17),n(3,"div",18)(4,"div",19),r(),o(5,"div",20),n(6,"div",21),o(7,"div",22)(8,"div",23),n(9,"div",24)(10,"div",25),r()()(),o(11,"div",20),n(12,"div",26),o(13,"div",22)(14,"div",23),n(15,"div",24)(16,"div",27),r()()(),o(17,"div",20),n(18,"div",28),o(19,"div",22),n(20,"div",29),o(21,"div",30),n(22,"div",31)(23,"div",32)(24,"div",33)(25,"div",34),r()()(),n(26,"div",35),r()())}function B(e,i){e&1&&n(0,"div",47)}function V(e,i){e&1&&(o(0,"div",48),n(1,"div",49),r())}function R(e,i){if(e&1&&(o(0,"div",38)(1,"div",39)(2,"div",40)(3,"div",41),n(4,"div",42)(5,"div",43)(6,"div",44),r(),c(7,B,1,0,"div",45),r(),c(8,V,2,0,"div",46),r()()),e&2){let t=a(2);d(7),l("ngIf",t.config.hasImage),d(),l("ngIf",t.config.hasButton)}}function J(e,i){if(e&1&&(o(0,"div",36),c(1,R,9,2,"div",37),r()),e&2){let t=a();d(),l("ngForOf",t.getItemsArray())}}function K(e,i){e&1&&(o(0,"div",53),n(1,"div",54),r())}function L(e,i){if(e&1&&(o(0,"div",50)(1,"div",51),c(2,K,2,0,"div",52),r()()),e&2){let t=a();d(2),l("ngForOf",t.getItemsArray())}}function Q(e,i){e&1&&(o(0,"div",65),n(1,"div",66)(2,"div",67),r())}function U(e,i){if(e&1&&(o(0,"div",55)(1,"div",11),n(2,"div",56)(3,"div",57)(4,"div",58),r(),o(5,"div",11),n(6,"div",59),c(7,Q,3,0,"div",60),r(),o(8,"div",61),n(9,"div",62),r(),o(10,"div",63),n(11,"div",64)(12,"div",64),r()()),e&2){let t=a();d(7),l("ngForOf",t.getItemsArray())}}function W(e,i){e&1&&(o(0,"div",70),n(1,"div",71),o(2,"div",41),n(3,"div",72)(4,"div",73),r()())}function X(e,i){if(e&1&&(o(0,"div",68),c(1,W,5,0,"div",69),r()),e&2){let t=a();d(),l("ngForOf",t.getItemsArray())}}function Y(e,i){e&1&&(o(0,"div",38)(1,"div",39)(2,"div",75),n(3,"div",76),o(4,"div",41),n(5,"div",77)(6,"div",78),r()(),n(7,"div",79)(8,"div",80),r()())}function Z(e,i){if(e&1&&(o(0,"div",74),c(1,Y,9,0,"div",37),r()),e&2){let t=a();d(),l("ngForOf",t.getItemsArray())}}function $(e,i){e&1&&(o(0,"div",83)(1,"div",84)(2,"div",85),n(3,"div",86)(4,"div",87),r()()())}function ee(e,i){if(e&1&&(o(0,"div",81),c(1,$,5,0,"div",82),r()),e&2){let t=a();d(),l("ngForOf",t.getItemsArray())}}function te(e,i){e&1&&(o(0,"div",83)(1,"div",39)(2,"div",75),n(3,"div",76),o(4,"div",41),n(5,"div",77)(6,"div",78),r()(),n(7,"div",79)(8,"div",80),r()())}function ne(e,i){if(e&1&&(o(0,"div",88),c(1,te,9,0,"div",82),r()),e&2){let t=a();d(),l("ngForOf",t.getItemsArray())}}
1var C=class e{config={type:"cards",showTitle:!0,itemsCount:3,height:"md",columns:3,hasImage:!0,hasButton:!0};getItemsArray(){return Array(this.config.itemsCount||3).fill(0).map((i,t)=>t)}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=h({type:e,selectors:[["app-generic-skeleton"]],inputs:{config:"config"},decls:11,vars:12,consts:[[3,"ngClass"],[1,"container","px-3"],["class","mb-4",4,"ngIf"],["class","hero-skeleton",4,"ngIf"],["class","cards-skeleton",4,"ngIf"],["class","partners-skeleton",4,"ngIf"],["class","apps-skeleton",4,"ngIf"],["class","list-skeleton",4,"ngIf"],["class","testimonials-skeleton",4,"ngIf"],["class","faqs-skeleton",4,"ngIf"],["class","cta-skeleton",4,"ngIf"],[1,"mb-4"],[1,"skeleton-placeholder","rounded","mb-2",2,"height","1.5rem","width","160px"],["class","skeleton-placeholder rounded","style","height: 1rem; width: 240px;",4,"ngIf"],[1,"skeleton-placeholder","rounded",2,"height","1rem","width","240px"],[1,"hero-skeleton"],[1,"bg-white","rounded-4","shadow","p-3","mb-3"],[1,"d-flex","gap-3","mb-3","pb-2","border-bottom"],[1,"skeleton-placeholder","rounded-pill",2,"height","1.2rem","width","80px"],[1,"skeleton-placeholder","rounded-pill",2,"height","1.2rem","width","95px"],[1,"mb-3"],[1,"skeleton-placeholder","rounded","mb-2",2,"height","0.7rem","width","40px"],[1,"border","rounded-3","p-3"],[1,"d-flex","align-items-center","gap-2"],[1,"skeleton-placeholder","rounded-circle",2,"width","18px","height","18px"],[1,"skeleton-placeholder","rounded",2,"height","1.2rem","width","60%"],[1,"skeleton-placeholder","rounded","mb-2",2,"height","0.7rem","width","25px"],[1,"skeleton-placeholder","rounded",2,"height","1.2rem","width","65%"],[1,"skeleton-placeholder","rounded","mb-2",2,"height","0.7rem","width","90px"],[1,"skeleton-placeholder","rounded","mb-2",2,"height","1rem","width","100px"],[1,"d-flex","gap-2","flex-wrap"],[1,"skeleton-placeholder","rounded-pill",2,"height","1.8rem","width","60px"],[1,"skeleton-placeholder","rounded-pill",2,"height","1.8rem","width","80px"],[1,"skeleton-placeholder","rounded-pill",2,"height","1.8rem","width","75px"],[1,"skeleton-placeholder","rounded-pill",2,"height","1.8rem","width","70px"],[1,"skeleton-placeholder","rounded-pill",2,"height","3rem","width","100%","background","linear-gradient(90deg, #2937f0 25%, #1e2bbd 50%, #2937f0 75%)","background-size","200% 100%"],[1,"cards-skeleton"],["class","card border-0 rounded-4 shadow-sm mb-3",4,"ngFor","ngForOf"],[1,"card","border-0","rounded-4","shadow-sm","mb-3"],[1,"card-body","p-3"],[1,"d-flex","align-items-start","gap-3"],[1,"flex-grow-1"],[1,"skeleton-placeholder","rounded-pill","mb-2",2,"height","1.2rem","width","80px","background-color","#dc3545"],[1,"skeleton-placeholder","rounded","mb-2",2,"height","1.3rem","width","90%"],[1,"skeleton-placeholder","rounded",2,"height","0.9rem","width","70px"],["class","skeleton-placeholder rounded-3","style","width: 80px; height: 80px;",4,"ngIf"],["class","mt-3",4,"ngIf"],[1,"skeleton-placeholder","rounded-3",2,"width","80px","height","80px"],[1,"mt-3"],[1,"skeleton-placeholder","rounded-pill",2,"height","2rem","width","100px"],[1,"partners-skeleton"],[1,"row","g-3"],["class","col-3",4,"ngFor","ngForOf"],[1,"col-3"],[1,"skeleton-placeholder","rounded-circle","mx-auto",2,"width","70px","height","70px"],[1,"apps-skeleton"],[1,"skeleton-placeholder","rounded","mb-3",2,"height","1.8rem","width","80%"],[1,"skeleton-placeholder","rounded","mb-2",2,"height","1rem"],[1,"skeleton-placeholder","rounded",2,"height","1rem","width","90%"],[1,"skeleton-placeholder","rounded","mb-3",2,"height","1.3rem","width","60%"],["class","d-flex gap-2 mb-2",4,"ngFor","ngForOf"],[1,"text-center","mb-4"],[1,"skeleton-placeholder","rounded-4","mx-auto",2,"height","300px","width","180px"],[1,"d-flex","flex-column","gap-3","mb-4"],[1,"skeleton-placeholder","rounded-3",2,"height","50px"],[1,"d-flex","gap-2","mb-2"],[1,"skeleton-placeholder","rounded",2,"width","6px","height","6px","margin-top","8px"],[1,"skeleton-placeholder","rounded","flex-grow-1",2,"height","1rem"],[1,"list-skeleton"],["class","d-flex align-items-center gap-3 mb-3 p-3 bg-white rounded-3 shadow-sm",4,"ngFor","ngForOf"],[1,"d-flex","align-items-center","gap-3","mb-3","p-3","bg-white","rounded-3","shadow-sm"],[1,"skeleton-placeholder","rounded-circle",2,"width","50px","height","50px"],[1,"skeleton-placeholder","rounded","mb-2",2,"height","1.1rem","width","75%"],[1,"skeleton-placeholder","rounded",2,"height","0.9rem","width","90%"],[1,"testimonials-skeleton"],[1,"d-flex","align-items-center","gap-2","mb-3"],[1,"skeleton-placeholder","rounded-circle",2,"width","45px","height","45px"],[1,"skeleton-placeholder","rounded","mb-1",2,"height","1rem","width","50%"],[1,"skeleton-placeholder","rounded",2,"height","0.8rem","width","35%"],[1,"skeleton-placeholder","rounded","mb-2",2,"height","0.9rem"],[1,"skeleton-placeholder","rounded",2,"height","0.9rem","width","85%"],[1,"faqs-skeleton"],["class","card border-0 rounded-3 shadow-sm mb-3",4,"ngFor","ngForOf"],[1,"card","border-0","rounded-3","shadow-sm","mb-3"],[1,"card-header","bg-white","border-0","p-3"],[1,"d-flex","justify-content-between","align-items-center"],[1,"skeleton-placeholder","rounded","flex-grow-1","me-3",2,"height","1.1rem"],[1,"skeleton-placeholder","rounded",2,"width","24px","height","24px"],[1,"cta-skeleton"]],template:function(t,m){t&1&&(o(0,"div",0)(1,"div",1),c(2,
1j,3,1,"div",2)(3,q,27,0,"div",3)(4,J,2,1,"div",4)(5,L,3,1,"div",5)(6,U,13,1,"div",6)(7,X,2,1,"div",7)(8,Z,2,1,"div",8)(9,ee,2,1,"div",9)(10,ne,2,1,"div",10),r()()),t&2&&(b("bg-light",m.config.type==="testimonials"||m.config.type==="faqs"),l("ngClass",m.config.containerClass||"py-4"),d(2),l("ngIf",m.config.showTitle&&m.config.type!=="hero"),d(),l("ngIf",m.config.type==="hero"),d(),l("ngIf",m.config.type==="cards"),d(),l("ngIf",m.config.type==="partners"),d(),l("ngIf",m.config.type==="apps"),d(),l("ngIf",m.config.type==="list"),d(),l("ngIf",m.config.type==="testimonials"),d(),l("ngIf",m.config.type==="faqs"),d(),l("ngIf",m.config.type==="cta"))},dependencies:[g,S,I,u],styles:[".skeleton-placeholder[_ngcontent-%COMP%]{background:linear-gradient(90deg,#f3f3f7 25%,#e7e7ef,#f3f3f7 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 2s infinite}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.hero-skeleton[_ngcontent-%COMP%], .cards-skeleton[_ngcontent-%COMP%], .partners-skeleton[_ngcontent-%COMP%], .apps-skeleton[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeIn .3s ease-in}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}"]})};var oe=()=>[import("./chunk-AJ2BA6XP.js").then(e=>e.Features)],ie=()=>[import("./chunk-ML7E4LPB.js").then(e=>e.CtaComponent)],re=()=>[import("./chunk-BTCWGROR.js").then(e=>e.TopRoutesComponent)],le=()=>[import("./chunk-T6JNHFDK.js").then(e=>e.AppsComponent)];function de(e,i){e&1&&n(0,"app-features")}function ae(e,i){if(e&1&&n(0,"app-generic-skeleton",1),e&2){let t=a();l("config",t.skeletonConfigs.cta)}}function me(e,i){e&1&&n(0,"app-home-cta")}function ce(e,i){if(e&1&&n(0,"app-generic-skeleton",1),e&2){let t=a();l("config",t.skeletonConfigs.cta)}}function se(e,i){e&1&&n(0,"app-home-top-routes")}function pe(e,i){if(e&1&&n(0,"app-generic-skeleton",1),e&2){let t=a();l("config",t.skeletonConfigs.cta)}}function he(e,i){e&1&&n(0,"app-apps")}function ge(e,i){if(e&1&&n(0,"app-generic-skeleton",1),e&2){let t=a();l("config",t.skeletonConfigs.apps)}}var T=class e{configService=v(_);animate2=[];skeletonConfigs={hero:{type:"hero",showTitle:!1,showReturnDate:!0,height:"lg",containerClass:"py-4"},coupons:{type:"cards",showTitle:!0,itemsCount:3,columns:3,hasImage:!1,hasButton:!0,height:"md",containerClass:"py-5 bg-light"},partners:{type:"partners",showTitle:!0,itemsCount:6,columns:6,hasImage:!0,hasButton:!1,height:"sm"},apps:{type:"apps",showTitle:!0,itemsCount:2,height:"md"},cta:{type:"cta",showTitle:!0,itemsCount:2,height:"md"}};ngOnInit(){}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=h({type:e,selectors:[["app-view-home"]],decls:20,vars:0,consts:[[1,"component-container"],[3,"config"]],template:function(t,m){t&1&&(o(0,"div",0),n(1,"app-hero-section"),r(),o(2,"div",0),s(3,de,1,0)(4,ae,1,1),p(5,3,oe,null,4),f(0,-1),r(),s(7,me,1,0)(8,ce,1,1),p(9,7,ie,null,8),f(0,-1),s(11,se,1,0)(12,pe,1,1),p(13,11,re,null,12),f(0,-1),o(15,"div",0),s(16,he,1,0)(17,ge,1,1),p(18,16,le,null,17),f(0,-1),r())},dependencies:[x,C,g],styles:[".dropdown-menu[_ngcontent-%COMP%]{z-index:1000}.home-hero[_ngcontent-%COMP%]{z-index:99999}"]})};export{T as HomeComponent};

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.