PageSourceSearch

https://ttb.org/8266.9e02616ef84633b3.js

js ttb.org collected 2026-10-01 11:53:41 UTC 7,842 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8266],{28266(A,m,o){o.d(m,{GroupDetailPage:()=>L});var h=o(55537),a=o(83534),v=o(86234),d=o(49458),E=o(68554),D=o(47762),f=o(89988),P=o(99788),I=o(61e3),p=o(47415),M=o(85238),O=o(22322),l=o(85562),R=o(42989),c=o(30299),t=o(10599),b=o(20995);function G(n,r){if(1&n&&(t.j41(0,"div",24)(1,"div",25)(2,"div",26),t.nrm(3,"ion-icon",27),t.k0s()(),t.j41(4,"div",28)(5,"h3",29),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.j41(8,"p"),t.EFF(9),t.k0s()()()),2&n){const i=t.XpG(2);t.R7$(6),t.JRh(t.bMT(7,2,"GROUPS.location")),t.R7$(3),t.SpI(" ",i.group.address," ")}}function T(n,r){if(1&n&&(t.j41(0,"div",30)(1,"div",25)(2,"div",26),t.nrm(3,"ion-icon",31),t.k0s()(),t.j41(4,"div",28)(5,"h3",29),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.j41(8,"p"),t.EFF(9),t.k0s()()()),2&n){const i=t.XpG(2);t.R7$(6),t.SpI(" ",t.bMT(7,2,"GROUPS.date")," "),t.R7$(3),t.JRh(i.app_service.getDateFormat(i.group.start_date))}}function U(n,r){if(1&n&&(t.j41(0,"div",30)(1,"div",25)(2,"div",26),t.nrm(3,"ion-icon",32),t.k0s()(),t.j41(4,"div",28)(5,"h3",29),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.j41(8,"p"),t.EFF(9),t.k0s()()()),2&n){const i=t.XpG(2);t.R7$(6),t.SpI(" ",t.bMT(7,2,"GROUPS.time")," "),t.R7$(3),t.JRh(i.app_service.getTimeFormat(i.group.start_time))}}
1function B(n,r){1&n&&(t.j41(0,"span"),t.nrm(1,"ion-spinner",33),t.k0s())}function k(n,r){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){const i=t.XpG(2);t.SpI(" ",i.register_loading?"":t.bMT(1,1,"GROUPS.register")," ")}}function C(n,r){if(1&n){const i=t.RV6();t.j41(0,"ion-grid",11)(1,"ion-card",12)(2,"div",13),t.nrm(3,"img",14),t.k0s()(),t.j41(4,"div",15)(5,"h2"),t.EFF(6),t.k0s(),t.j41(7,"p"),t.EFF(8),t.k0s()(),t.j41(9,"ion-row")(10,"ion-col",16)(11,"ion-card",17)(12,"div",18),t.DNE(13,G,10,4,"div",19)(14,T,10,4,"div",20)(15,U,10,4,"div",20),t.k0s()(),t.j41(16,"div",21)(17,"ion-button",22),t.bIt("click",function(){c.eBV(i);const s=t.XpG();return c.Njj(s.registerGroup())}),t.DNE(18,B,2,0,"span",23)(19,k,2,3,"ng-template",null,1,t.C5r),t.k0s()()()()()}if(2&n){const i=t.sdS(20),e=t.XpG();t.R7$(3),t.Y8G("imgSrc",e.group&&e.group.group_image&&e.group.group_image.includes("https")?e.group.group_image:"assets/img/bg.jpg"),t.R7$(3),t.JRh(e.group?e.group.name:""),t.R7$(2),t.SpI(" ",e.group?e.group.description:""," "),t.R7$(2),t.Y8G("size",12)("sizeMd",6),t.R7$(3),t.Y8G("ngIf",e.group&&e.group.address),t.R7$(),t.Y8G("ngIf",e.group&&e.group.start_date),t.R7$(),t.Y8G("ngIf",e.group&&e.group.start_time),t.R7$(3),t.Y8G("ngIf",e.register_loading)("ngIfElse",i)}}function j(n,r){1&n&&t.nrm(0,"app-skeleton-loader",37),2&n&&t.Y8G("lines",20)("showImage",!0)}function x(n,r){if(1&n&&(t.j41(0,"div",35),t.DNE(1,j,1,2,"app-skeleton-loader",36),t.k0s()),2&n){const i=t.XpG(2);t.R7$(),t.Y8G("ngIf",i.loading)}}function F(n,r){if(1&n&&t.DNE(0,x,2,1,"div",34),2&n){const i=t.XpG();t.Y8G("ngIf",i.loading)}}(0,O.a)({"arrow-back":l.$$C,arrowBack:l.$$C,calendar:l.BJj,pin:l.y_k,time:l.kBw});let L=(()=>{class n{constructor(i,e,s,_,g,u,$){this.route=i,this.observable_service=e,this.common_component_service=s,this.group_service=_,this.auth_service=g,this.app_service=u,this.translate=$,this.group=null,this.loading=!1,this.register_loading=!1,this.account_donor_id="",this.is_logged_in=!1,this.client_id="",this.group_id="",this.station_id=""}ngOnInit(){const i=setInterval(()=>{this.translate.get(p.U7.ALERTS).subscribe(e=>{this.alert_message=e,clearInterval(i)})},200);this.route.queryParams.subscribe(e=>{0!==Object.keys(e).length&&this.observable_service.station_detail.subscribe(s=>{this.setPageData(s,e)})}),this.observable_service.user_login_status.subscribe(()=>{this.getUserData()})}setPageData(i,e){if(0!=i.design.station_id){this.station_id=i.design.station_id.toString(),this.client_id=i.design.client_id.toString();const s=e.id;s&&(this.group_id=s,this.getGroups(i.design.station_id.toString(),s))}}getUserData(){const i=this.auth_service.getUserData();i?(this.account_donor_id=i.id,this.is_logged_in=!0):(this.is_logged_in=!1,this.account_donor_id="")}getGroups(i,e){this.loading||(this.common_component_service.showLoading(),this.loading=!0,this.group_service.getAllGroups(i).subscribe(s=>{if(this.loading=!1,s.status){this.common_component_service.hideLoading();const g=s.groups.find(u=>u.id===e);g&&(this.group=g)}}))}formatDate(i){if(!i)return"N/A";const e=new Date(i);return isNaN(e.getTime())?"N/A":e.toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric"})}registerGroup(){if(!this.is_logged_in)return void this.common_component_service.presentToast("bottom",this.alert_message?this.alert_message.login_to_register_group:p.U7.LOGIN_TO_REGISTER_GROUP,"warning");const i={client_id:this.client_id,group_people_id:this.group_id,account_donor_id:this.account_donor_id,station_id:this.station_id};this.register_loading=!0,this.group_service.registerGroup(i,this.station_id).subscribe(e=>{this.register_loading=!1,e.status&&(this.common_component_service.presentToast("bottom",this.alert_message?this.alert_message.added_to_group:p.U7.ADDED_TO_GROUP,"success"),Promise.all([o.e(2635),o.e(8823)]).then(o.bind(o,52635)).then(({trackGroupJoined:s})=>{s(this.group_id)}).catch(()=>{}))})}onClickBackButton(){this.app_service.goBack()}static{this.\u0275fac=function(e){return new(e||n)(t.rXU(b.nX),t.rXU(E.s),t.rXU(D.F),t.rXU(f.U),t.rXU(P.u),t.rXU(I.d),t.rXU(d.c$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-group-detail"]],decls:18,vars:8,consts:[["noData",""],["postButtonContent",""],["no-border","",1,"innerPageHeader","innerPageHeader--mobile"],[1,"header--toolbar"],["slot","start"],["color","dark","fill","clear","size","small",3,"click"],["slot","start","name","arrow-back"],[1,"backBtn-wrapper","ion-hide-lg-down",3,"click"],["color","primary","shape","round"],[1,"page-wrapper"],["fixed","",4,"ngIf","ngIfElse"],["fixed",""],[1,"cCard"],[1,"cCard__imgDiv"],["alt","card-image",3,"imgSrc"],[1,"eventsDes"],[3,"size","sizeMd"],[1,"cCard","cCard--padding"],[1,"eventListing"],["class","ionMedia ion-align-items-center",4,"ngIf"],["class","ionMedia",4,"ngIf"],[1,"ion-margin-bottom"],["routerDirection","root","color","primary","size","large","expand","block",3,"click"],[4,"ngIf","ngIfElse"],[1,"ionMedia","ion-align-items-center"],[1,"ionMedia__item"],[1,"thumbnailBadge","thumbnailBadge--gray","thumbnailBadge--sm"],["name","pin","slot","start"],[1,"ionMedia__body"],[1,"ion-no-margin"],[1,"ionMedia"],["name","calendar"],["name","time","slot","start"],["name","crescent"],["class","commonIcon ion-margin-end ion-text-center",4,"ngIf"],[1,"commonIcon","ion-margin-end","ion-text-center"],["variant","article",3,"lines","showImage",4,"ngIf"],["variant","article",3,"lines","showImage"]],template:function(e,s){if(1&e){const _=t.RV6();t.j41(0,"ion-header",2)(1,"ion-toolbar",3)(2,"ion-buttons",4)(3,"ion-button",5),t.bIt("click",function(){return c.eBV(_),c.Njj(s.onClickBackButton())}),t.nrm(4,"ion-icon",6),t.EFF(5),t.nI1(6,"translate"),t.k0s()()()(),t.j41(7,"ion-content")(8,"div",7),t.bIt("click",function(){return c.eBV(_),c.Njj(s.onClickBackButton())}),t.j41(9,"ion-button",8),t.nrm(10,"ion-icon",6),t.EFF(11),t.nI1(12,"translate"),t.k0s()(),t.j41(13,"div",9),t.DNE(14,C,21,10,"ion-grid",10)(15,F,1,1,"ng-template",null,0,t.C5r),t.k0s(),t.nrm(17,"app-footer"),t.k0s()}if(2&e){const _=t.sdS(16);t.R7$(5),t.SpI(" ",t.bMT(6,4,"Back")," "),t.R7$(6),t.SpI(" ",t.bMT(12,6,"Back")," "),t.R7$(3),t.Y8G("ngIf",s.group)("ngIfElse",_)}},dependencies:[a.eU,a.ai,a.QW,a.Jm,a.iq,a.W9,a.lO,a.b_,a.ln,a.hU,a.w2,h.bT,v.n,d.h,M.W,R.v,d.D9],styles:[".eventListing[_ngcontent-%COMP%]{padding:16px 0}.eventListing[_ngcontent-%COMP%]   .ionMedia[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid rgba(0,0,0,.1);margin-bottom:16px;padding-bottom:16px}.eventsDes[_ngcontent-%COMP%]{margin-bottom:30px}"]})}}return n})()}}]);

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.