PageSourceSearch

https://www.ketto.org/new/4612.1b5f22d35d7d4af9.js

js ketto.org collected 2026-09-24 17:19:31 UTC 22,614 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmy_app=self.webpackChunkmy_app||[]).push([[4612],{7199:(b,P,r)=>{r.d(P,{Y:()=>M});var o=r(1222),n=r(2560),C=r(4666),t=r(7139),w=r(253),v=r(2340),y=r(1322);const E=["captchaTemp"];function x(_,g){1&_&&(n.TgZ(0,"small",4),n._uU(1,"Waiting for Captcha Verification..."),n.qZA())}function m(_,g){1&_&&(n.TgZ(0,"small",4),n._uU(1,"Captcha validation failed"),n.qZA())}let M=(()=>{class _{constructor(){(0,o.Z)(this,"vars",(0,n.f3M)(y.a)),(0,o.Z)(this,"control",void 0),(0,o.Z)(this,"type",void 0),(0,o.Z)(this,"size",void 0),(0,o.Z)(this,"execute",void 0),(0,o.Z)(this,"captchaRef",void 0),(0,o.Z)(this,"captchaTemp",void 0),(0,o.Z)(this,"dataEmit",new n.vpe),(0,o.Z)(this,"challengePopup",void 0),(0,o.Z)(this,"siteKey",void 0),(0,o.Z)(this,"captchaResolvedObs",new w.x)}ngOnInit(){this.siteKey="invisible"===this.size?v.N.invisible_captcha:v.N.gcaptcha}ngAfterViewInit(){this.checkForChallengePopup(),this.execute&&this.executeCaptcha()}resetCaptcha(){this.captchaRef.reset()}executeCaptcha(){this.captchaRef.execute()}resolved(d){d&&(this.control.setValue(d),this.captchaResolvedObs.next(d),this.dataEmit.emit(d))}checkForChallengePopup(){if(this.type?.match("dialog|sheet")&&this.vars.isBrowser){const d=this.vars.document.getElementsByTagName("html")[0],f=document.querySelectorAll('iframe[src^="https://www.google.com/recaptcha"][src*="bframe"]');this.challengePopup=Array.prototype.filter.call(f,s=>"visible"===s.parentElement.parentElement.style.visibility),this.challengePopup?.length?"sheet"===this.type?this.challengePopup[0].parentElement.style.top="-60px":d.style.top="0px":setTimeout(()=>{this.checkForChallengePopup()},2e3)}}clickout(d){document.querySelector('iframe[src^="https://www.google.com/recaptcha"][src*="bframe"]')&&this.captchaResolvedObs.next(null)}}return(0,o.Z)(_,"\u0275fac",function(d){return new(d||_)}),(0,o.Z)(_,"\u0275cmp",n.Xpm({type:_,selectors:[["app-captcha-input"]],viewQuery:function(d,f){if(1&d&&(n.Gf(t.h,7),n.Gf(E,7)),2&d){let s;n.iGM(s=n.CRH())&&(f.captchaRef=s.first),n.iGM(s=n.CRH())&&(f.captchaTemp=s.first)}},hostBindings:function(d,f){1&d&&n.NdJ("click",function(l){return f.clickout(l)},!1,n.evT)},inputs:{control:"control",type:"type",size:"size",execute:"execute"},outputs:{dataEmit:"dataEmit"},standalone:!0,features:[n.jDz],decls:5,vars:4,consts:[[1,"captcha"],["captchaTemp",""],[1,"g-recaptcha",3,"size","siteKey","onResolve"],["class","error-message",4,"ngIf"],[1,"error-message"]],template:function(d,f){1&d&&(n.TgZ(0,"div",0,1)(2,"app-captcha",2),n.NdJ("onResolve",function(l){return f.resolved(l)}),n.qZA(),n.YNc(3,x,2,0,"small",3),n.YNc(4,m,2,0,"small",3),n.qZA()),2&d&&(n.xp6(2),n.Q6J("size","invisible"===f.size?f.size:"")("siteKey",f.siteKey),n.xp6(1),n.Q6J("ngIf",(null==f.control?null:f.control.hasError("required"))&&f.control.touched),n.xp6(1),n.Q6J("ngIf",null==f.control?null:f.control.hasError("failed")))},dependencies:[C.O5,t.h],styles:[".captcha[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:column;align-items:center}"]})),_})()},5330:(b,P,r)=>{r.d(P,{d:()=>p});var o=r(1222),n=r(1322),C=r(3328),t=r(2560),w=r(4666),v=r(7837),y=r(1349),E=r(1484),x=r(7799),m=r(5511),M=r(3547),_=r(6257),g=r(3411);const d=["videoPlayer"];function f(c,h){if(1&c&&(t.TgZ(0,"div",16)(1,"div",17),t._UZ(2,"img",18),t.qZA(),t.TgZ(3,"div",19)(4,"span",20),t._uU(5),t.qZA(),t.TgZ(6,"span",21),t._uU(7),t.qZA()()()),2&c){const i=h.$implicit;t.xp6(2),t.Q6J("src",null==i?null:i.icon,t.LSH),t.xp6(3),t.hij(" ",null==i?null:i.title," "),t.xp6(2),t.hij(" ",null==i?null:i.desc," ")}}function s(c,h){if(1&c){const i=t.EpF();t.TgZ(0,"div",2)(1,"div",3)(2,"h2"),t._uU(3),t.qZA()(),t.TgZ(4,"div",4)(5,"div",5),t.YNc(6,f,8,3,"div",6),t.qZA(),t.TgZ(7,"div",7),t.NdJ("inViewportAction",function(O){t.CHM(i);const T=t.oxw();return t.KtG(T.playVideo(O))}),t._UZ(8,"img",8),t.TgZ(9,"video",9,10),t._UZ(11,"source",11)(12,"source",12),t.TgZ(13,"p"),t._uU(14,"Your browser doesn't support HTML5 video. Here is a "),t.TgZ(15,"a",13),t._uU(16,"link to the video"),t.qZA(),t._uU(17," instead. "),t.qZA()()()(),t.TgZ(18,"div",14),t._UZ(19,"app-startfundraiser-button",15),t.qZA()()}if(2&c){const i=t.oxw();
1t.xp6(3),t.Oqu(i.title),t.xp6(3),t.Q6J("ngForOf",i.steps),t.xp6(2),t.s9C("src",i.vars.defaultBlurImg,t.LSH),t.Q6J("hidden",!i.imgLoader),t.xp6(4),t.Q6J("src","/assets/videos/screen_recording.mp4#t=0.001",t.LSH),t.xp6(7),t.Q6J("width",i.isMobile?"100%":"290px")}}function l(c,h){if(1&c&&(t.TgZ(0,"div",16)(1,"div",17),t._UZ(2,"img",18),t.qZA(),t.TgZ(3,"div",19)(4,"span",20),t._uU(5),t.qZA(),t.TgZ(6,"span",21),t._uU(7),t.qZA()()()),2&c){const i=h.$implicit;t.xp6(2),t.Q6J("src",null==i?null:i.icon,t.LSH),t.xp6(3),t.hij(" ",null==i?null:i.title," "),t.xp6(2),t.hij(" ",null==i?null:i.desc," ")}}function e(c,h){if(1&c){const i=t.EpF();t.TgZ(0,"div",7),t.NdJ("inViewportAction",function(O){t.CHM(i);const T=t.oxw(2);return t.KtG(T.playVideo(O))}),t._UZ(1,"img",25),t.TgZ(2,"video",26,10),t._UZ(4,"source",11)(5,"source",12),t.TgZ(6,"p"),t._uU(7,"Your browser doesn't support HTML5 video. Here is a "),t.TgZ(8,"a",13),t._uU(9,"link to the video"),t.qZA(),t._uU(10," instead. "),t.qZA()()()}if(2&c){const i=t.oxw(2);t.xp6(1),t.s9C("src",i.vars.defaultBlurImg,t.LSH),t.Q6J("hidden",!i.imgLoader),t.xp6(4),t.Q6J("src","/assets/videos/screen_recording.mp4#t=0.001",t.LSH)}}function a(c,h){if(1&c&&(t.TgZ(0,"div",22)(1,"div",3)(2,"h2"),t._uU(3),t.qZA()(),t.TgZ(4,"div",4)(5,"div",23),t.YNc(6,l,8,3,"div",6),t.qZA(),t.YNc(7,e,11,3,"div",24),t.qZA(),t.TgZ(8,"div",14),t._UZ(9,"app-startfundraiser-button",15),t.qZA()()),2&c){const i=t.oxw();t.xp6(3),t.Oqu(i.mobileTitle),t.xp6(3),t.Q6J("ngForOf",i.steps),t.xp6(1),t.Q6J("ngIf",i.showMWebMobile),t.xp6(2),t.Q6J("width",i.isMobile?"100%":"290px")}}let p=(()=>{class c{constructor(){(0,o.Z)(this,"dialog",(0,t.f3M)(E.uw)),(0,o.Z)(this,"util",(0,t.f3M)(y.f)),(0,o.Z)(this,"events",(0,t.f3M)(v.n)),(0,o.Z)(this,"signupService",(0,t.f3M)(m.O)),(0,o.Z)(this,"storage",(0,t.f3M)(C.V)),(0,o.Z)(this,"renderer",(0,t.f3M)(t.Qsj)),(0,o.Z)(this,"vars",(0,t.f3M)(n.a)),(0,o.Z)(this,"router",(0,t.f3M)(M.F0)),(0,o.Z)(this,"title",void 0),(0,o.Z)(this,"mobileTitle",void 0),(0,o.Z)(this,"showMWebMobile",!1),(0,o.Z)(this,"steps",[{icon:"/assets/images/home-v2/volunteer.png",title:"Start your fundraiser",desc:"It'll take only 2 minutes. Just tell us a few details about you and the ones you are raising funds for."},{icon:"/assets/images/home-v2/share_reviews.png",title:"Share your fundraiser",desc:"All you need to do is share the fundraiser with your friends and family. In no time, support will start pouring in."},{icon:"/assets/images/home-v2/monetization.png",title:"Withdraw Funds",desc:"The funds raised can be withdrawn without any hassle directly to your bank account."}]),(0,o.Z)(this,"videoplayer",void 0),(0,o.Z)(this,"imgLoader",!0),(0,o.Z)(this,"isMobile",this.vars.isMobile)}playVideo(i){if(this.vars.isBrowser){const u=this.videoplayer.nativeElement;this.renderer.setStyle(u,"display","none"),u.muted=!0,!0===i.visible?(this.imgLoader=!1,u.play(),this.renderer.setStyle(u,"display","block")):(u.pause(),this.renderer.setStyle(u,"display","block"))}else!0===i.visible&&(this.imgLoader=!0)}pushBodyButton(i){const u={eventName:"start_a_campaign_initiated",event_type:"campaign",page_name:this.vars.pageName||"home",info_1:"type",info_2:"crowdfunding"===this.vars.pageName?"home_5":"home_2"},O=`${this.vars.domainData.url}/${i}`;this.events.sendSystemEvent(u).subscribe(()=>{}),this.storage.checkFromSession("sac-initiated",u),this.vars.loginType="signup",this.signupService.startFR(O)}openDialogTalkToUs(){this.events.sendSystemEvent({eventName:"talk_to_us",event_type:"campaign",page_name:this.vars.pageName||"home",info_1:"type",info_2:"home_1"}).subscribe(()=>{}),this.dialog.open(x.m,{maxWidth:"100vw",width:"519px",panelClass:"talk-to-us-modal"})}routeTo(i){this.router.navigate([i]),this.events.sendSystemEvent({eventName:"medical_cost_calculator",event_type:"campaign",info_1:"step",info_2:"1",page_name:this.vars.pageName||"home"}).subscribe(O=>O)}}return(0,o.Z)(c,"\u0275fac",function(i){return new(i||c)}),(0,o.Z)(c,"\u0275cmp",t.Xpm({type:c,selectors:[["app-sacflow-v2"]],viewQuery:function(i,u){if(1&i&&t.Gf(d,5),2&i){let O;t.iGM(O=t.CRH())&&(u.videoplayer=O.first)}},inputs:{title:"title",mobileTitle:"mobileTitle",showMWebMobile:"showMWebMobile",steps:"steps"},standalone:!0,features:[t.jDz],decls:2,vars:2,consts:[["class","sac-flow-wrapper",4,"ngIf"],["class","sac-flow-wrapper-mobile",4,"ngIf"],[1,"sac-flow-wrapper"],[1,"heading"],[1,"content-container"],[1,"left-section"],["class","cards",4,"ngFor","ngForOf"],["inViewport","",1,"right-section",3,"inViewportAction"],["loading","lazy","width","270","height","550","alt","Default image",3,"src","hidden"],["width","270","height","550","muted","","loop","","playsinline",""],["videoPlayer",""],["src","'/assets/videos/screen_recording.webm'+'#t=0.001'","type","video/webm"],["type","video/mp4",3,"src"],["href","https://d1vdjc70h9nzd9.cloudfront.net/videos/screen_recording.webm"],[1,"call-to-action","text-center"],["label","Start a Fundraiser for FREE","pageName","home","info2","home_2","height","51px",3,"width"],[1,"cards"],[1,"icon"],[3,"src"],[1,"data"],[1,"title"],[1,"desc"],[1,"sac-flow-wrapper-mobile"],[1,"mobile-wrapper"],["class","right-section","inViewport","",3,"inViewportAction",4,"ngIf"],["loading","lazy","width","124","height","251","alt","Default image",3,"src","hidden"],["width","124","height","251","muted","","loop","","playsinline",""]],template:function(i,u){1&i&&(t.YNc(0,s,20,6,"div",0),t.YNc(1,a,10,4,"div",1)),2&i&&(t.Q6J("ngIf",!u.isMobile),t.xp6(1),t.Q6J("ngIf",u.isMobile))},dependencies:[w.ax,w.O5,_.Yn,_.wt,g.b],styles:[".sac-flow-wrapper[_ngcontent-%COMP%]{color:#444;display:flex;width:100%;flex-direction:column}.sac-flow-wrapper[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{color:#404040}.sac-flow-wrapper[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:28px;font-style:normal;font-weight:700;line-height:100%;letter-spacing:-.56px}.sac-flow-wrapper[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:17px;line-height:22px;
1color:#777;width:754px;margin:0 auto}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-top:28px;max-width:73%}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .left-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .left-section[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:22.909px;padding:31px 154px 40px 16.091px;border-radius:16px;background:linear-gradient(90deg,#F0F6F3 0%,#FFF 100%)}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .left-section[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:78.961px;height:78.961px;flex-shrink:0;background:#FCFCFC;border-radius:100%}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .left-section[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:45px;height:45px}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .left-section[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .left-section[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#404040;font-size:24px;font-style:normal;font-weight:700;line-height:32px}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .left-section[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{color:#737373;font-size:17px;font-style:normal;font-weight:400;line-height:24px}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .right-section[_ngcontent-%COMP%]{padding-left:102px;position:relative}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .right-section[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:45px}.sac-flow-wrapper[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .right-section[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{position:absolute;clip:rect(1px,311px,620px,0px);display:none}.sac-flow-wrapper[_ngcontent-%COMP%]   .call-to-action[_ngcontent-%COMP%]{margin-top:48px;display:flex;align-items:baseline;justify-content:space-evenly;width:60%}.sac-flow-wrapper-mobile[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{color:#404040}.sac-flow-wrapper-mobile[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:17px;font-style:normal;font-weight:700;line-height:24px}.sac-flow-wrapper-mobile[_ngcontent-%COMP%]   .mobile-wrapper[_ngcontent-%COMP%]{margin-top:21px;display:flex;flex-direction:column;gap:16px}.sac-flow-wrapper-mobile[_ngcontent-%COMP%]   .mobile-wrapper[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:22.909px;border-radius:16px}.sac-flow-wrapper-mobile[_ngcontent-%COMP%]   .mobile-wrapper[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:60px;height:60px;flex-shrink:0;background:#FCFCFC;border:1.875px solid #F3F3F3;border-radius:100%}.sac-flow-wrapper-mobile[_ngcontent-%COMP%]   .mobile-wrapper[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:27.692px;height:27.692px}.sac-flow-wrapper-mobile[_ngcontent-%COMP%]   .mobile-wrapper[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px;width:65%;justify-content:center}.sac-flow-wrapper-mobile[_ngcontent-%COMP%]   .mobile-wrapper[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#394556;font-size:14px;font-style:normal;font-weight:700;line-height:20px}.sac-flow-wrapper-mobile[_ngcontent-%COMP%]   .mobile-wrapper[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{color:#667085;font-size:10px;font-style:normal;font-weight:400;line-height:16px}@media (max-width: 768px){app-startfundraiser-button[_ngcontent-%COMP%]{margin-top:29px;display:block;width:100%}}"]})),c})()},3411:(b,P,r)=>{r.d(P,{b:()=>x});var o=r(1222),n=r(2560),C=r(4666),t=r(4522),w=r(5511),v=r(3328),y=r(7837);function E(m,M){1&m&&(n.TgZ(0,"p",2),n._uU(1,"Ketto\u2019s "),n.TgZ(2,"span")(3,"span",3),n._uU(4,"0"),n.qZA(),n._uU(5,"% Platform fees*"),n.qZA(),n._uU(6," ensures maximum funds for you"),n.qZA())}let x=(()=>{class m{constructor(){(0,o.Z)(this,"signupService",(0,n.f3M)(w.O)),(0,o.Z)(this,"storage",(0,n.f3M)(v.V)),(0,o.Z)(this,"events",(0,n.f3M)(y.n)),(0,o.Z)(this,"pageName",void 0),(0,o.Z)(this,"info2",void 0),(0,o.Z)(this,"info",void 0),(0,o.Z)(this,"width",void 0),(0,o.Z)(this,"height",void 0),(0,o.Z)(this,"font",void 0),(0,o.Z)(this,"lineHeight",void 0),(0,o.Z)(this,"label",void 0),(0,o.Z)(this,"platformFee",void 0)}sendEvent(_){this.storage.add("language",_),this.events.userGTMEvents({event:"start_fundraiser",event_category:"cta",event_action:"start a fundraiser",event_label:`${this.label}|${window.location.href}`}),"Hindi"===_&&(this.pageName="home",this.info2="home_1_hindi");const g={eventName:"start_a_campaign_initiated",event_type:"campaign",page_name:this.pageName,info_1:"type",info_2:this.info2};this.events.sendSystemEvent(g).subscribe(d=>d),this.storage.checkFromSession("sac-initiated",g),this.signupService.startFR()}}return(0,o.Z)(m,"\u0275fac",function(_){return new(_||m)}),(0,o.Z)(m,"\u0275cmp",n.Xpm({type:m,selectors:[["app-startfundraiser-button"]],inputs:{pageName:"pageName",info2:"info2",info:"info",width:"width",height:"height",font:"font",lineHeight:"lineHeight",label:"label",platformFee:"platformFee"},standalone:!0,features:[n.jDz],decls:2,vars:10,consts:[["class","platform-fee",4,"ngIf"],["mat-raised-button","",1,"start-fundraiser-btn",3,"innerHTML","click"],[1,"platform-fee"],[1,"font-s"]],template:function(_,g){1&_&&(n.YNc(0,E,7,0,"p",0),n.TgZ(1,"button",1),n.NdJ("
1click",function(){return g.sendEvent("English")}),n.qZA()),2&_&&(n.Q6J("ngIf",g.platformFee),n.xp6(1),n.Udp("width",g.width)("height",g.height)("font-size",g.font)("line-height",g.lineHeight),n.Q6J("innerHTML",g.label,n.oJD))},dependencies:[C.O5,t.ot,t.lW],styles:[".start-fundraiser-btn[_ngcontent-%COMP%]{background:#01BFBD;box-shadow:0 4px 8px #01bfbd4d;border-radius:4px;color:#fff;font-weight:700;font-size:17px;line-height:21px;text-align:center;max-width:100%}.start-fundraiser-btn[_ngcontent-%COMP%]:hover{text-decoration:none;background-color:#039695}.platform-fee[_ngcontent-%COMP%]{color:#039695}.platform-fee[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:700}@media (min-width: 767px){.platform-fee[_ngcontent-%COMP%]{font-size:20px;line-height:30px;margin-bottom:20px}.platform-fee[_ngcontent-%COMP%]   .font-s[_ngcontent-%COMP%]{font-size:40px}}@media (max-width: 768px){.platform-fee[_ngcontent-%COMP%]{font-size:14px;line-height:20px;margin-bottom:10px}.platform-fee[_ngcontent-%COMP%]   .font-s[_ngcontent-%COMP%]{font-size:20px}}"]})),m})()},6257:(b,P,r)=>{r.d(P,{Yn:()=>f,wt:()=>d});var o=r(4666),n=r(2560),C=r(253),t=r(116),w=r(8951);const v={BOTH:"both",VERTICAL:"vertical",HORIZONTAL:"horizontal"};let M=(()=>{class s{constructor(e){this._rootMargin="0px 0px 0px 0px",this._threshold=[...s.DEFAULT_THRESHOLD],this._partial=!0,this._direction=v.BOTH,"[object Object]"===Object.prototype.toString.call(e)&&["root","rootMargin","threshold","partial","direction","checkFn"].forEach(a=>{e.hasOwnProperty(a)&&(this[a]=e[a])}),this._hash=s.hash({rootMargin:this.rootMargin,threshold:this.threshold,partial:this.partial,direction:this.direction,checkFn:String(this.checkFn)})}static stringify(e){if(Array.isArray(e)){const a=[];for(let p=0;p<e.length;p++)a.push(s.stringify(e[p]));return`[${a.join(",")}]`}if("object"==typeof e&&null!==e){const a=[],p=Object.keys(e).sort();for(const c of p){const h=s.stringify(e[c]);a.push(`${c}:${h}`)}return a.join(s.STRINGIFY_DELIMITER)}return String(e)}static hash(e){return function E(s){return function y(){try{return typeof window<"u"&&this===window}catch{return!1}}()?function m(s){try{return typeof window<"u"&&window.btoa(s)}catch{return s}}(s):function x(s){try{return typeof global<"u"&&global.Buffer.from(s).toString("base64")}catch{return s}}(s)}(s.stringify(e))}get root(){return this._root}set root(e){this._root=e&&1===e.nodeType?e:void 0}get rootMargin(){return this._rootMargin}set rootMargin(e){if(e&&"string"==typeof e){const p=(e||"0px").split(new RegExp("\\s+")).map(c=>{const h=/^(-?\d*\.?\d+)(px|%)$/.exec(c);if(!h)throw new TypeError("rootMargin must be specified in pixels or percent");return`${h[1]}${h[2]}`});p[1]=p[1]||p[0],p[2]=p[2]||p[0],p[3]=p[3]||p[1],this._rootMargin=p.join(" ")}else this._rootMargin="0px 0px 0px 0px"}get threshold(){return this._threshold}set threshold(e){let a=[];const p=c=>"number"==typeof c&&c>=0&&c<=1;p(e)?a=[e]:Array.isArray(e)&&e.length&&(a=e.filter(c=>p(c))),0===a.length&&(a=[...s.DEFAULT_THRESHOLD]),this._threshold=a}get partial(){return this._partial}set partial(e){this._partial=!!e}get direction(){return this._direction}set direction(e){this._direction=[v.BOTH,v.HORIZONTAL,v.VERTICAL].indexOf(e)>=0?e:v.BOTH}get hash(){return this._hash}get checkFn(){return this._checkFn}set checkFn(e){this._checkFn=e}}return s.DEFAULT_THRESHOLD=[0,1],s.STRINGIFY_DELIMITER="|",s})();class _{constructor(l){this.ngZone=l,this.trigger$=new C.x,this.registry=[]}emitTrigger(l){Array.isArray(l)&&l.length&&l.forEach(e=>this.trigger$.next(e))}getRootElement(l){return l&&l.nodeType===Node.ELEMENT_NODE?l:null}findEntry(l,e){return this.registry.find(a=>a.root===this.getRootElement(l)&&a.configHash===e)}register(l,e){this.ngZone.runOutsideAngular(()=>{const a=this.findEntry(e.root,e.hash);if(a&&!a.targets.has(l))a.targets.add(l),a.observer.observe(l);else{const p=this.getRootElement(e.root),c={root:null!==p?p:void 0,rootMargin:e.rootMargin,threshold:e.threshold},h={root:p,configHash:e.hash,targets:new Set([l]),observer:new IntersectionObserver(i=>this.ngZone.run(()=>this.emitTrigger(i)),c)};h.observer.observe(l),this.registry=[...this.registry,h]}})}unregister(l,e){this.ngZone.runOutsideAngular(()=>{const a=this.findEntry(e.root,e.hash);if(a){const{observer:p,targets:c}=a;c.has(l)&&(p.unobserve(l),c.delete(l)),0===c.size&&(p.disconnect(),this.registry=this.registry.filter(h=>h!==a))}})}}_.\u0275fac=function(l){return new(l||_)(n.LFG(n.R0b))},_.\u0275prov=n.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_.ngInjectableDef=(0,n.Ez6)({factory:function(){return new _((0,n.f3M)(n.R0b))},token:_,providedIn:"root"});const g=Symbol("InViewportMetadata");let d=(()=>{class s{constructor(e,a,p){this.platformId=e,this.elementRef=a,this.inViewport=p,this.config=new M,this.destroyed$=new C.x,this.inViewportAction=new n.vpe}set options(e){this.config=new M(e)}ngAfterViewInit(){(0,o.NF)(this.platformId)?(this.inViewport.register(this.elementRef.nativeElement,this.config),this.inViewport.trigger$.pipe((0,t.h)(e=>e&&e.target===this.elementRef.nativeElement),(0,w.R)(this.destroyed$)).subscribe(e=>{this.emitAction(e,!1)})):this.emitAction(void 0,!0)}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete(),(0,o.NF)(this.platformId)&&this.inViewport.unregister(this.elementRef.nativeElement,this.config)}check(e,a){const c=a||!e||(()=>this.config.partial?e.isIntersecting||e.intersectionRatio>0:e.intersectionRatio>=1)();return{[g]:{entry:e},target:this.elementRef.nativeElement,visible:c}}emitAction(e,a){const p=this.config.checkFn?this.config.checkFn(e,{force:a,config:this.config}):this.check(e,a);this.inViewportAction.emit(p)}}return s.\u0275fac=function(e){return new(e||s)(n.Y36(n.Lbi),n.Y36(n.SBq),n.Y36(_))},s.\u0275dir=n.lG2({type:s,selectors:[["","inViewport",""]],inputs:{options:["inViewportOptions","options"]},outputs:{inViewportAction:"inViewportAction"}}),s})(),f=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=n.oAB({type:s}),s.\u0275inj=n.cJS({imports:[o.ez]}),s})()}}]);
2//# sourceMappingURL=4612.1b5f22d35d7d4af9.js.map

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.