1"use strict";(self.webpackChunkmy_app=self.webpackChunkmy_app||[]).push([[2495,1841],{2495:(w,C,a)=>{a.r(C),a.d(C,{SipStoryPitchCardComponent:()=>r});var p=a(1222),t=a(2560),f=a(4666),P=a(7837),O=a(1349),h=a(1322),_=a(4522),s=a(6257),c=a(1841),g=a(5660);function l(i,n){if(1&i&&t._UZ(0,"img",6),2&i){const o=t.oxw();t.Q6J("default",o.vars.defaultImg),t.uIk("data-src","/assets/images/sip-story/sip-story-02.png")}}function M(i,n){if(1&i&&t._UZ(0,"img",6),2&i){const o=t.oxw();t.Q6J("default",o.vars.defaultImg),t.uIk("data-src","/assets/images/sip-story/sip-story-01.png")}}function m(i,n){if(1&i){const o=t.EpF();t.TgZ(0,"div",19)(1,"button",20),t.NdJ("click",function(){t.CHM(o);const d=t.oxw();return t.KtG(d.donatenow())}),t._uU(2,"Let\u2019s do it "),t.TgZ(3,"em",21),t._uU(4,"arrow_forward_ios"),t.qZA()()()}}const y=function(i){return[i,"format","MMMM","month","1"]},v=function(i){return[i,"format","MMMM","month","2"]};let r=(()=>{class i{constructor(){(0,p.Z)(this,"vars",(0,t.f3M)(h.a)),(0,p.Z)(this,"util",(0,t.f3M)(O.f)),(0,p.Z)(this,"event",(0,t.f3M)(P.n)),(0,p.Z)(this,"currentDate",new Date)}checkVisibility(o){this.vars.isBrowser&&this.vars.isMobile&&(document.getElementById("dock-section").style.visibility=!0===o?.visible?"hidden":"unset")}donatenow(){this.event.sendSystemEvent({eventName:"sip_story_card"}).subscribe(o=>o),document.getElementById("donate-now-button")?.click()}}return(0,p.Z)(i,"\u0275fac",function(o){return new(o||i)}),(0,p.Z)(i,"\u0275cmp",t.Xpm({type:i,selectors:[["app-sip-story-pitch-card"]],standalone:!0,features:[t.jDz],decls:47,vars:33,consts:[["inViewport","",1,"sip-wrapper",3,"inViewportAction"],[1,"header"],[1,"desc"],[1,"title"],[1,"sub-title"],[1,"image"],["loading","lazy","appImgFallback","","alt","ketto",3,"default"],[1,"how-works"],[1,"dashed-line"],[1,"journey"],[1,"first"],["loading","lazy","appImgFallback","","alt","ketto",1,"boundry",3,"default"],["loading","lazy","appImgFallback","","alt","ketto",1,"avatar",3,"default"],[1,"text"],[1,"second"],[1,"third"],[1,"last"],["loading","lazy","appImgFallback","","alt","ketto",3,"default",4,"ngIf"],["class","btn",4,"ngIf"],[1,"btn"],["mat-button","",3,"click"],[1,"material-icons"]],template:function(o,e){1&o&&(t.TgZ(0,"div",0),t.NdJ("inViewportAction",function(u){return e.checkVisibility(u)}),t.TgZ(1,"div",1)(2,"div",2)(3,"div",3),t._uU(4,"Save A Life Every Month!"),t.qZA(),t.TgZ(5,"div",4),t._uU(6,"Join our monthly giving program today to gain tax benefits, earn rewards and allocate your funds."),t.qZA()(),t.TgZ(7,"div",5),t._UZ(8,"img",6),t.qZA()(),t.TgZ(9,"div",7)(10,"div",3),t._uU(11,"How it works?"),t.qZA(),t._UZ(12,"div",8),t.TgZ(13,"div",9)(14,"div",10)(15,"div",5),t._UZ(16,"img",11)(17,"img",12),t.qZA(),t.TgZ(18,"div",13),t._uU(19,"First Contribution to "),t.TgZ(20,"strong"),t._uU(21),t.qZA()()(),t.TgZ(22,"div",14)(23,"div",5),t._UZ(24,"img",6),t.qZA(),t.TgZ(25,"div",13),t._uU(26,"Next Contribution in "),t.TgZ(27,"strong"),t._uU(28),t.ALo(29,"customDate"),t.qZA()()(),t.TgZ(30,"div",15)(31,"div",5),t._UZ(32,"img",6),t.qZA(),t.TgZ(33,"div",13),t._uU(34,"Next Contribution in "),t.TgZ(35,"strong"),t._uU(36),t.ALo(37,"customDate"),t.qZA()()(),t.TgZ(38,"div",16)(39,"div",5),t.YNc(40,l,1,2,"img",17),t.YNc(41,M,1,2,"img",17),t.qZA(),t.TgZ(42,"div",13),t._uU(43,"Following contributions to "),t.TgZ(44,"strong"),t._uU(45),t.qZA()()()()(),t.YNc(46,m,5,0,"div",18),t.qZA()),2&o&&(t.xp6(8),t.Q6J("default",e.vars.defaultImg),t.uIk("data-src","/assets/images/sip-by-ketto.png"),t.xp6(8),t.Q6J("default",e.vars.defaultImg),t.uIk("data-src","/assets/images/sip-story/sip-story-circle.png"),t.xp6(1),t.Q6J("default",e.vars.defaultImg),t.uIk("data-src",(null==e.vars.fundraiser||null==e.vars.fundraiser.theater?null:e.vars.fundraiser.theater.cdn_path)||(null==e.vars.fundraiser||null==e.vars.fundraiser.leaderboard?null:e.vars.fundraiser.leaderboard.cdn_path)),t.xp6(4),t.Oqu(null==e.vars.beneficiary||null==e.vars.beneficiary.full_name?null:e.vars.beneficiary.full_name.trim()),t.xp6(3),t.Q6J("default",e.vars.defaultImg),t.uIk("data-src","/assets/images/sip-story/sip-story-04.png"),t.xp6(4),t.Oqu(t.G7q(29,17,t.VKq(29,y,e.currentDate))),t.xp6(4),t.Q6J("default",e.vars.defaultImg),t.uIk("data-src","/assets/images/sip-story/sip-story-03.png"),t.xp6(4),t.Oqu(t.G7q(37,23,t.VKq(31,v,e.currentDate))),t.xp6(4),t.Q6J("ngIf",!e.vars.isMobile),t.xp6(1),t.Q6J("ngIf",e.vars.isMobile),t.xp6(4),t.hij("other patients like ",null==e.vars.benef
1iciary||null==e.vars.beneficiary.full_name?null:e.vars.beneficiary.full_name.trim(),""),t.xp6(1),t.Q6J("ngIf",e.vars.isMobile))},dependencies:[f.O5,c.Z,g.F,_.ot,_.lW,s.Yn,s.wt],styles:[".sip-wrapper[_ngcontent-%COMP%]{width:100%;max-width:656px;padding:30px;background:#859ACA;border-radius:10px;font-family:Source Sans Pro;color:#fff}.sip-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:15px}.sip-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:28px;font-weight:700;line-height:33px}.sip-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{max-width:360px;font-size:17px;font-weight:400;line-height:150%;opacity:.85}.sip-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{margin-left:auto}.sip-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:88px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%]{position:relative}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:14px;font-size:17px;font-weight:700;line-height:27px;letter-spacing:1.5px;text-transform:uppercase}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .dashed-line[_ngcontent-%COMP%]{width:calc(100% - 100px);max-width:450px;height:2.3px;margin:auto;position:absolute;top:43%;left:90px;background:linear-gradient(to right,transparent 50%,#859ACA 50%),linear-gradient(to right,#f0f3f7,rgba(240,243,247,0));background-size:20px 2px,100% 2px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%]{display:flex;width:100%;position:relative;text-align:center}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .second[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .third[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .last[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .second[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .third[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .last[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{min-width:100px;height:63px;margin-bottom:12px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .second[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .third[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .last[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:62px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .second[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .third[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .last[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{max-width:100px;margin:auto;text-align:center;font-size:14px;font-weight:400;line-height:18px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] strong[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .second[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] strong[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .third[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] strong[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .last[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:block}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%]{margin-left:0}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img.boundry[_ngcontent-%COMP%]{height:77px;width:77px;position:absolute;top:-6px;left:49%;transform:translate(-50%)}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img.avatar[_ng
1content-%COMP%]{height:60px;width:60px;margin-top:3px;border-radius:50%}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .last[_ngcontent-%COMP%]{min-width:135px;margin-right:0}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .last[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:auto}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .last[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{max-width:150px}.sip-wrapper[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;padding:15px;background:#FFFFFF;border-radius:8px;font-size:20px;font-weight:700;line-height:30px;color:#667085}.sip-wrapper[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] button[_ngcontent-%COMP%] em.material-icons[_ngcontent-%COMP%]{margin-left:15px;margin-top:-3px;font-size:20px;font-weight:600;line-height:18px}@media only screen and (max-width: 991px){.sip-wrapper[_ngcontent-%COMP%]{padding:15px 20px 20px}.sip-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex}.sip-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:17px;font-weight:700;line-height:27px}.sip-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{max-width:199px;font-size:12px;font-weight:400;line-height:150%}.sip-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:60px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%]{margin-bottom:30px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:10px;font-size:12px;font-weight:700;line-height:27px;letter-spacing:1px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .dashed-line[_ngcontent-%COMP%]{max-width:140px;top:39%;left:80px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .second[_ngcontent-%COMP%], .sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .third[_ngcontent-%COMP%]{display:none}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{height:58px;margin-bottom:0}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img.boundry[_ngcontent-%COMP%]{width:58px;height:58px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .first[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img.avatar[_ngcontent-%COMP%]{width:45px;height:45px;margin-top:1px}.sip-wrapper[_ngcontent-%COMP%] .how-works[_ngcontent-%COMP%] .journey[_ngcontent-%COMP%] .last[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{height:47px}}"]})),i})()},1841:(w,C,a)=>{a.d(C,{Z:()=>f});var p=a(1222),t=a(2560);let f=(()=>{class P{constructor(){(0,p.Z)(this,"el",(0,t.f3M)(t.SBq)),(0,p.Z)(this,"src",""),(0,p.Z)(this,"default","/assets/images/fallback.svg"),(0,p.Z)(this,"hasError",!1)}ngOnChanges(h){h.src&&(this.hasError=!1,this.setImage(this.src))}onError(){!this.hasError&&this.default&&(this.hasError=!0,this.setImage(this.default))}setImage(h){this.el.nativeElement.src=h||this.default}}return(0,p.Z)(P,"\u0275fac",function(h){return new(h||P)}),(0,p.Z)(P,"\u0275dir",t.lG2({type:P,selectors:[["img","appImgFallback",""]],hostVars:1,hostBindings:function(h,_){1&h&&t.NdJ("error",function(){return _.onError()}),2&h&&t.Ikx("src",_.src,t.LSH)},inputs:{src:"src",default:"default"},standalone:!0,features:[t.TTD]})),P})()},5660:(w,C,a)=>{a.d(C,{F:()=>P});var p=a(1222),t=a(2560),f=a(2890);let P=(()=>{class O{constructor(){(0,p.Z)(this,"dateHelper",(0,t.f3M)(f.m))}transform(_="",...s){switch(s[0]){case"format":{const c={};return s?.[2]&&(c[`${s?.[2]}`]=Number(s?.[3])||0),s?.[4]&&(c[`${s?.[4]}
1`]=Number(s?.[5])||0),s?.[6]&&(c[`${s?.[4]}`]=Number(s?.[7])||0),this.dateHelper.formatDate(_,String(s?.[1]),c)}case"timeAgo":return this.dateHelper.getTimeAgo(_);case"diffInSec":return this.dateHelper.getRemainingTime("s",_,String(s?.[1]||""),+s?.[2]||0);case"diffInMins":return this.dateHelper.getRemainingTime("m",_,String(s?.[1]||""),+s?.[2]||0);case"diffInHrs":return this.dateHelper.getRemainingTime("H",_,String(s?.[1]||""),+s?.[2]||0);case"diffInDays":return this.dateHelper.getRemainingTime("D",_,String(s?.[1]||""),+s?.[2]||0);case"diffInMonths":return this.dateHelper.getRemainingTime("M",_,String(s?.[1]||""),+s?.[2]||0);case"remaingTime":{const c={};String(s?.[1]||"D-H-m-s").split("-").forEach(M=>c[M]=!0);let g=this.dateHelper.getRelativeTimeRemaining(_);c?.Y&&0===g?.Y&&(c.M=!0),c?.M&&0===g?.M&&(c.D=!0),c?.D&&0===g?.D&&(c.H=!0),c?.H&&0===g?.H&&(c.m=!0),c?.m&&0===g?.m&&(c.s=!0),g=this.dateHelper.getRelativeTimeRemaining(_,c);let l="";return c?.Y&&(l=`${l} ${g.Y} ${1===g.Y?"Year":"Years"}`),c?.M&&g.M&&(l=`${l} ${g.M} ${1===g.M?"Month":"Months"}`),c?.D&&g.D&&(l=`${l} ${g.D} ${1===g.D?"Day":"Days"}`),c?.H&&g.H&&(l=`${l} ${g.H} ${1===g.H?"Hour":"Hours"}`),c?.m&&g.m&&(l=`${l} ${g.m} ${1===g.m?"Minute":"Minutes"}`),c?.s&&g.s&&(l=`${l} ${g.s} ${1===g.s?"Second":"Seconds"}`),l=l.split(" ").map((M,m)=>(2!==m&&(M=M.toLowerCase()),M)).join(" "),l}case"isAfter":return this.dateHelper.getRemainingTime("ms",_,String(s?.[1]||""))>0}return""}}return(0,p.Z)(O,"\u0275fac",function(_){return new(_||O)}),(0,p.Z)(O,"\u0275pipe",t.Yjl({name:"customDate",type:O,pure:!0,standalone:!0})),O})()},6257:(w,C,a)=>{a.d(C,{Yn:()=>v,wt:()=>y});var p=a(4666),t=a(2560),f=a(253),P=a(116),O=a(8951);const h={BOTH:"both",VERTICAL:"vertical",HORIZONTAL:"horizontal"};let l=(()=>{class r{constructor(n){this._rootMargin="0px 0px 0px 0px",this._threshold=[...r.DEFAULT_THRESHOLD],this._partial=!0,this._direction=h.BOTH,"[object Object]"===Object.prototype.toString.call(n)&&["root","rootMargin","threshold","partial","direction","checkFn"].forEach(o=>{n.hasOwnProperty(o)&&(this[o]=n[o])}),this._hash=r.hash({rootMargin:this.rootMargin,threshold:this.threshold,partial:this.partial,direction:this.direction,checkFn:String(this.checkFn)})}static stringify(n){if(Array.isArray(n)){const o=[];for(let e=0;e<n.length;e++)o.push(r.stringify(n[e]));return`[${o.join(",")}]`}if("object"==typeof n&&null!==n){const o=[],e=Object.keys(n).sort();for(const d of e){const u=r.stringify(n[d]);o.push(`${d}:${u}`)}return o.join(r.STRINGIFY_DELIMITER)}return String(n)}static hash(n){return function s(r){return function _(){try{return typeof window<"u"&&this===window}catch{return!1}}()?function g(r){try{return typeof window<"u"&&window.btoa(r)}catch{return r}}(r):function c(r){try{return typeof global<"u"&&global.Buffer.from(r).toString("base64")}catch{return r}}(r)}(r.stringify(n))}get root(){return this._root}set root(n){this._root=n&&1===n.nodeType?n:void 0}get rootMargin(){return this._rootMargin}set rootMargin(n){if(n&&"string"==typeof n){const e=(n||"0px").split(new RegExp("\\s+")).map(d=>{const u=/^(-?\d*\.?\d+)(px|%)$/.exec(d);if(!u)throw new TypeError("rootMargin must be specified in pixels or percent");return`${u[1]}${u[2]}`});e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],this._rootMargin=e.join(" ")}else this._rootMargin="0px 0px 0px 0px"}get threshold(){return this._threshold}set threshold(n){let o=[];const e=d=>"number"==typeof d&&d>=0&&d<=1;e(n)?o=[n]:Array.isArray(n)&&n.length&&(o=n.filter(d=>e(d))),0===o.length&&(o=[...r.DEFAULT_THRESHOLD]),this._threshold=o}get partial(){return this._partial}set partial(n){this._partial=!!n}get direction(){return this._direction}set direction(n){this._direction=[h.BOTH,h.HORIZONTAL,h.VERTICAL].indexOf(n)>=0?n:h.BOTH}get hash(){return this._hash}get checkFn(){return this._checkFn}set checkFn(n){this._checkFn=n}}return r.DEFAULT_THRESHOLD=[0,1],r.STRINGIFY_DELIMITER="|",r})();class M{constructor(i){this.ngZone=i,this.trigger$=new f.x,this.registry=[]}emitTrigger(i){Array.isArray(i)&&i.length&&i.forEach(n=>this.trigger$.next(n))}getRootElement(i){return i&&i.nodeType===Node.ELEMENT_NODE?i:null}findEntry(i,n){return this.registry.find(o=>o.root===this.getRootElement(i)&&o.configHash===n)}register(i,n){this.ngZone.runOutsideAngular(()=>{const o=this.findEntry(n.root,n.hash);if(o&&!o.targets.has(i))o.targets.add(i),o.observer.observe(i);else{const e=this.getRootElement(n.root),d={root:null!==e?e:void 0,rootMargin:n.rootMargin,threshold:n.threshold},u={root:e,configHash:n.hash,targets:new Set([i]),observer:new IntersectionObserver(x=>this.ngZone.run(()=>this.emitTrigger(x)),d)};u.observer.observe(i),this.registry=[...this.registry,u]}})}unregister(i,n){this.ngZone.runOutsideAngular(()=>{const o=this.findEntry(n.root,n.hash);if(o){const{observer:e,targets:d}=o;d.has(i)&&(e.unobserve(i),d.delete(i)),0===d.size&&(e.disconnect(),this.registry=this.registry.filter(u=>u!==o))}})}}M.\u0275fac=function(i){return new(i||M)(t.LFG(t.R0b))},M.\u0275prov=t.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M.ngInjectableDef=(0,t.Ez6)({factory:function(){return new M((0,t.f3M)(t.R0b))},token:M,providedIn:"root"});const m=Symbol("InViewportMetadata");let y=(()=>
1{class r{constructor(n,o,e){this.platformId=n,this.elementRef=o,this.inViewport=e,this.config=new l,this.destroyed$=new f.x,this.inViewportAction=new t.vpe}set options(n){this.config=new l(n)}ngAfterViewInit(){(0,p.NF)(this.platformId)?(this.inViewport.register(this.elementRef.nativeElement,this.config),this.inViewport.trigger$.pipe((0,P.h)(n=>n&&n.target===this.elementRef.nativeElement),(0,O.R)(this.destroyed$)).subscribe(n=>{this.emitAction(n,!1)})):this.emitAction(void 0,!0)}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete(),(0,p.NF)(this.platformId)&&this.inViewport.unregister(this.elementRef.nativeElement,this.config)}check(n,o){const d=o||!n||(()=>this.config.partial?n.isIntersecting||n.intersectionRatio>0:n.intersectionRatio>=1)();return{[m]:{entry:n},target:this.elementRef.nativeElement,visible:d}}emitAction(n,o){const e=this.config.checkFn?this.config.checkFn(n,{force:o,config:this.config}):this.check(n,o);this.inViewportAction.emit(e)}}return r.\u0275fac=function(n){return new(n||r)(t.Y36(t.Lbi),t.Y36(t.SBq),t.Y36(M))},r.\u0275dir=t.lG2({type:r,selectors:[["","inViewport",""]],inputs:{options:["inViewportOptions","options"]},outputs:{inViewportAction:"inViewportAction"}}),r})(),v=(()=>{class r{}return r.\u0275fac=function(n){return new(n||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[p.ez]}),r})()}}]); 2//# sourceMappingURL=2495.8a4fa57fba593a48.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.