PageSourceSearch

https://transplantcompare.org/1504.6f0ecbd924fad6b1.js

js transplantcompare.org collected 2026-10-07 11:18:21 UTC 25,845 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1504],{1504:(je,f,c)=>{c.r(f),c.d(f,{ComparePageModule:()=>Ge});var d=c(177),R=c(4341),a=c(7343),m=c(8986),p=c(467),u=c(1071),b=c(5892),e=c(3953),C=c(4582),E=c(2219),G=c(5032),$=c(1455),j=c(5337),x=c(5529);const I=["checkboxes"],S=()=>["/search"],y=()=>["/facility"],D=t=>({id:t}),h=()=>["criteria-"],g=()=>["requirement-"],v=()=>["statistic-"],k=()=>["service-"],F=t=>({"show-info":t}),w=t=>({"compared-item":!0,"data-grid":!0,even:t});function T(t,n){1&t&&(e.j41(0,"div",6),e.nrm(1,"ion-spinner",14)(2,"br"),e.EFF(3," Loading... "),e.k0s())}function M(t,n){if(1&t&&(e.j41(0,"div",15)(1,"p",16),e.EFF(2,"There was an error attempting to reach the server for measure data. "),e.k0s(),e.j41(3,"div",16),e.EFF(4," Error:"),e.nrm(5,"br"),e.j41(6,"p",16),e.EFF(7),e.k0s(),e.j41(8,"p",16),e.EFF(9),e.k0s(),e.j41(10,"p",16),e.EFF(11),e.k0s(),e.j41(12,"p",16),e.EFF(13),e.k0s()()()),2&t){const i=e.XpG();e.R7$(7),e.SpI(" Response: ",i.errorText.message," "),e.R7$(2),e.SpI(" Error Message: ",i.errorText.error.message," "),e.R7$(2),e.SpI(" File: ",i.errorText.error.file," "),e.R7$(2),e.SpI(" Line: ",i.errorText.error.line," ")}}function P(t,n){1&t&&(e.j41(0,"ion-card",27)(1,"ion-card-header")(2,"ion-card-title"),e.EFF(3,"You have no saved centers"),e.k0s()(),e.j41(4,"ion-card-content"),e.EFF(5," Find some centers to compare in the "),e.j41(6,"a",28),e.EFF(7,"Search page"),e.k0s(),e.EFF(8,". "),e.k0s()()),2&t&&(e.R7$(6),e.Y8G("routerLink",e.lJ4(1,S)))}function A(t,n){if(1&t){const i=e.RV6();e.j41(0,"div")(1,"ion-item",30)(2,"ion-label",31),e.EFF(3),e.k0s(),e.j41(4,"a",32),e.EFF(5," Center Details "),e.j41(6,"span",22),e.EFF(7),e.k0s()(),e.j41(8,"ion-button",33),e.bIt("click",function(){const r=e.eBV(i).$implicit,s=e.XpG(3);return e.Njj(s.deleteAlert(r.id,r.name))}),e.nrm(9,"ion-icon",34),e.k0s()()()}if(2&t){const i=n.$implicit;e.R7$(3),e.SpI(" ",i.name," "),e.R7$(),e.Y8G("routerLink",e.lJ4(4,y))("queryParams",e.eq3(5,D,i.id)),e.R7$(3),e.SpI("for ",i.name,"")}}function N(t,n){if(1&t&&(e.j41(0,"div"),e.DNE(1,A,10,7,"div",29),e.k0s()),2&t){const i=e.XpG(2);e.R7$(),e.Y8G("ngForOf",i.savedFacilities)}}function Y(t,n){if(1&t){const i=e.RV6();e.j41(0,"ion-icon",37),e.bIt("click",function(){e.eBV(i);const r=e.XpG(3);return e.Njj(r.showDescriptionsForTag("criteria"))}),e.k0s()}}function V(t,n){if(1&t){const i=e.RV6();e.j41(0,"div")(1,"ion-item")(2,"label",38),e.EFF(3),e.k0s(),e.j41(4,"input",39,0),e.bIt("click",function(r){e.eBV(i);const s=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.updateMeasuresToCompare(s.id,r))}),e.k0s()()()}if(2&t){const i=e.XpG().$implicit;e.R7$(2),e.Y8G("for",e.lJ4(4,h)+i.id),e.R7$(),e.SpI("",i.name," "),e.R7$(),e.Y8G("id",e.lJ4(5,h)+i.id)("checked",i.isChecked)}}function X(t,n){if(1&t&&(e.j41(0,"div"),e.DNE(1,V,6,6,"div",10),e.k0s()),2&t){const i=n.$implicit;e.R7$(),e.Y8G("ngIf","criteria"==i.tag)}}function O(t,n){if(1&t&&(e.j41(0,"ion-list",35)(1,"ion-list-header")(2,"ion-label")(3,"span"),e.EFF(4,"Compare Medical Exclusion Criteria:"),e.k0s(),e.DNE(5,Y,1,0,"ion-icon",36),e.k0s()(),e.DNE(6,X,2,1,"div",29),e.k0s()),2&t){const i=e.XpG(2);e.R7$(5),e.Y8G("ngIf",i.showCriteriaDescription),e.R7$(),e.Y8G("ngForOf",i.filterableMeasuresArray)}}function B(t,n){if(1&t){const i=e.RV6();e.j41(0,"ion-icon",37),e.bIt("click",function(){e.eBV(i);const r=e.XpG(3);return e.Njj(r.showDescriptionsForTag("requirement"))}),e.k0s()}}function z(t,n){if(1&t){const i=e.RV6();e.j41(0,"div")(1,"ion-item")(2,"label",38),e.EFF(3),e.k0s(),e.j41(4,"input",39,0),e.bIt("click",function(r){e.eBV(i);const s=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.updateMeasuresToCompare(s.id,r))}),e.k0s()()()}if(2&t){const i=e.XpG().$implicit;e.R7$(2),e.Y8G("for",e.lJ4(4,g)+i.id),e.R7$(),e.JRh(i.name),e.R7$(),e.Y8G("id",e.lJ4(5,g)+i.id)("checked",i.isChecked)}}function J(t,n){if(1&t&&(e.j41(0,"div"),e.DNE(1,z,6,6,"div",10),e.k0s()),2&t){const i=n.$implicit;e.R7$(),e.Y8G("ngIf","requirement"==i.tag)}}function L(t,n){if(1&t&&(e.j41(0,"ion-list",35)(1,"ion-list-header")(2,"ion-label")(3,"span"),e.EFF(4,"Compare Additional Requirements:"),e.k0s(),e.DNE(5,B,1,0,"ion-icon",36),e.k0s()(),e.DNE(6,J,2,1,"div",29),e.k0s()),2&t){const i=e.XpG(2);e.R7$(5),e.Y8G("ngIf",i.showRequirementDescription),e.R7$(),e.Y8G("ngForOf",i.filterableMeasuresArray)}}function U(t,n){if(1&t){const i=e.RV6();e.j41(0,"ion-icon",37),e.bIt("click",function(){e.eBV(i);const r=e.XpG(3);return e.Njj(r.showDescriptionsForTag("statistic"))}),e.k0s()}}function W(t,n){if(1&t){const i=e.RV6();e.j41(0,"div")(1,"ion-item")(2,"label",38),e.EFF(3),e.k0s(),e.j41(4,"input",39,0),e.bIt("click",function(r){e.eBV(i);const s=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.updateMeasuresToCompare(s.id,r))}),e.k0s()()()}if(2&t){const i=e.XpG().$implicit;e.R7$(2),e.Y8G("for",e.lJ4(4,v)+i.id),e.R7$(),e.JRh(i.name),e.R7$(),e.Y8G("id",e.lJ4(5,v)+i.id)("checked",i.isChecked)}}function q(t,n){if(1&t&&(e.j41(0,"div"),e.DNE(1,W,6,6,"div",10),e.k0s()),2&t){const i=n.$implicit;e.R7$(),e.Y8G("ngIf","statistic"==i.tag)}}
1function K(t,n){if(1&t&&(e.j41(0,"ion-list",35)(1,"ion-list-header")(2,"ion-label")(3,"span"),e.EFF(4,"Compare Statistics:"),e.k0s(),e.DNE(5,U,1,0,"ion-icon",36),e.k0s()(),e.DNE(6,q,2,1,"div",29),e.k0s()),2&t){const i=e.XpG(2);e.R7$(5),e.Y8G("ngIf",i.showStatisticDescription),e.R7$(),e.Y8G("ngForOf",i.filterableMeasuresArray)}}function Z(t,n){if(1&t){const i=e.RV6();e.j41(0,"ion-icon",37),e.bIt("click",function(){e.eBV(i);const r=e.XpG(3);return e.Njj(r.showDescriptionsForTag("service"))}),e.k0s()}}function H(t,n){if(1&t){const i=e.RV6();e.j41(0,"div")(1,"ion-item")(2,"label",38),e.EFF(3),e.k0s(),e.j41(4,"input",39,0),e.bIt("click",function(r){e.eBV(i);const s=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.updateMeasuresToCompare(s.id,r))}),e.k0s()()()}if(2&t){const i=e.XpG().$implicit;e.R7$(2),e.Y8G("for",e.lJ4(4,k)+i.id),e.R7$(),e.JRh(i.name),e.R7$(),e.Y8G("id",e.lJ4(5,k)+i.id)("checked",i.isChecked)}}function Q(t,n){if(1&t&&(e.j41(0,"div"),e.DNE(1,H,6,6,"div",10),e.k0s()),2&t){const i=n.$implicit;e.R7$(),e.Y8G("ngIf","service"==i.tag)}}function ee(t,n){if(1&t&&(e.j41(0,"ion-col",17)(1,"ion-list",35)(2,"ion-list-header")(3,"ion-label")(4,"span"),e.EFF(5,"Support Services:"),e.k0s(),e.DNE(6,Z,1,0,"ion-icon",36),e.k0s()(),e.DNE(7,Q,2,1,"div",29),e.k0s()()),2&t){const i=e.XpG(2);e.R7$(6),e.Y8G("ngIf",i.showServiceDescription),e.R7$(),e.Y8G("ngForOf",i.filterableMeasuresArray)}}function ie(t,n){if(1&t){const i=e.RV6();e.j41(0,"ion-grid")(1,"ion-row")(2,"ion-col",17)(3,"ion-list",18)(4,"ion-list-header"),e.EFF(5," My Saved Centers: "),e.k0s(),e.DNE(6,P,9,2,"ion-card",19)(7,N,2,1,"div",10),e.k0s(),e.j41(8,"div",20)(9,"ion-button",21),e.bIt("click",function(){e.eBV(i);const r=e.XpG();return e.Njj(r.filterReset("mark"))}),e.EFF(10," Check all checkboxes "),e.j41(11,"span",22),e.EFF(12,"for comparison filters on this page."),e.k0s(),e.nrm(13,"ion-icon",23),e.k0s(),e.j41(14,"ion-button",21),e.bIt("click",function(){e.eBV(i);const r=e.XpG();return e.Njj(r.filterReset("clear"))}),e.EFF(15," Clear all checkboxes "),e.j41(16,"span",22),e.EFF(17,"from comparison filters on this page."),e.k0s(),e.nrm(18,"ion-icon",24),e.k0s()(),e.DNE(19,O,7,2,"ion-list",25)(20,L,7,2,"ion-list",25)(21,K,7,2,"ion-list",25),e.k0s(),e.DNE(22,ee,8,2,"ion-col",26),e.k0s()()}if(2&t){const i=e.XpG();e.R7$(6),e.Y8G("ngIf",!i.savedFacilities||0===i.savedFacilities.length),e.R7$(),e.Y8G("ngIf",i.savedFacilities&&i.savedFacilities.length>0),e.R7$(12),e.Y8G("ngIf",i.showCriteriaMeasures),e.R7$(),e.Y8G("ngIf",i.showRequirementMeasures),e.R7$(),e.Y8G("ngIf",i.showStatisticMeasures),e.R7$(),e.Y8G("ngIf",i.showServiceMeasures)}}
1function te(t,n){1&t&&(e.j41(0,"div",6),e.nrm(1,"ion-spinner",14)(2,"br"),e.EFF(3," Loading... "),e.k0s())}function re(t,n){1&t&&(e.j41(0,"div",6),e.nrm(1,"ion-icon",40),e.EFF(2," Please select some Criteria, Requirements, Statistics, or Services to compare for your saved centers. "),e.k0s())}function oe(t,n){if(1&t&&(e.j41(0,"div")(1,"ion-row",49)(2,"ion-col",50)(3,"strong"),e.EFF(4),e.k0s()(),e.j41(5,"ion-col",51),e.EFF(6),e.k0s(),e.j41(7,"ion-col",52),e.EFF(8),e.k0s()()()),2&t){const i=n.$implicit;e.R7$(4),e.JRh(i.name),e.R7$(2),e.SpI(" ",i.state," "),e.R7$(2),e.SpI(" ",i.zip," ")}}function ne(t,n){if(1&t&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&t){const i=n.$implicit;e.R7$(),e.SpI(" ",i.name," ")}}function se(t,n){1&t&&e.nrm(0,"ion-icon",55)}function ae(t,n){if(1&t&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&t){const i=e.XpG(4);e.R7$(),e.SpI("",i.specialWordingText," ")}}function ce(t,n){if(1&t&&(e.j41(0,"td"),e.DNE(1,ae,2,1,"span",10),e.nrm(2,"app-icon",56),e.k0s()),2&t){const i=n.$implicit,o=e.XpG().index,r=e.XpG(2);e.R7$(),e.Y8G("ngIf",r.checkForSpecialWording(i.currentMeasureAnswers[o])),e.R7$(),e.Y8G("textValue",i.currentMeasureAnswers[o].answer)}}function le(t,n){if(1&t){const i=e.RV6();e.j41(0,"tr")(1,"td",53),e.bIt("click",function(){const r=e.eBV(i).$implicit,s=e.XpG(2);return e.Njj(s.displayMeasureDescription(r))}),e.j41(2,"span"),e.EFF(3),e.k0s(),e.DNE(4,se,1,0,"ion-icon",54),e.k0s(),e.DNE(5,ce,3,2,"td",29),e.k0s()}if(2&t){const i=n.$implicit,o=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.eq3(4,F,i.description&&""!=i.description&&null!=i.description)),e.R7$(2),e.JRh(i.name),e.R7$(),e.Y8G("ngIf",o.checkIfDescriptionExists(i.description)),e.R7$(),e.Y8G("ngForOf",o.comparisonDataArray)}}function _e(t,n){if(1&t){const i=e.RV6();e.j41(0,"div",57)(1,"ion-button",58),e.bIt("click",function(){e.eBV(i);const r=e.XpG(2);return e.Njj(r.openPrintView())}),e.EFF(2," Print Comparison Information "),e.nrm(3,"ion-icon",59),e.k0s()()}}function pe(t,n){1&t&&e.nrm(0,"ion-icon",55)}function de(t,n){if(1&t&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&t){const i=e.XpG(4);e.R7$(),e.SpI("",i.specialWordingText," ")}}function me(t,n){if(1&t&&(e.j41(0,"div")(1,"ion-row")(2,"ion-col",62),e.EFF(3),e.k0s(),e.j41(4,"ion-col",63),e.DNE(5,de,2,1,"span",10),e.nrm(6,"app-icon",56),e.k0s()()()),2&t){const i=n.$implicit,o=e.XpG().index,r=e.XpG(2);e.R7$(3),e.JRh(i.name),e.R7$(2),e.Y8G("ngIf",r.checkForSpecialWording(i.currentMeasureAnswers[o])),e.R7$(),e.Y8G("textValue",i.currentMeasureAnswers[o].answer)}}function fe(t,n){if(1&t){const i=e.RV6();e.j41(0,"div")(1,"ion-grid",60)(2,"ion-row",53),e.bIt("click",function(){const r=e.eBV(i).$implicit,s=e.XpG(2);return e.Njj(s.displayMeasureDescription(r))}),e.j41(3,"ion-col",61)(4,"span"),e.EFF(5),e.k0s(),e.DNE(6,pe,1,0,"ion-icon",54),e.k0s()(),e.DNE(7,me,7,3,"div",29),e.k0s()()}if(2&t){const i=n.$implicit,o=n.index,r=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.eq3(5,w,o%2==0)),e.R7$(),e.Y8G("ngClass",e.eq3(7,F,i.description&&""!=i.description&&null!=i.description)),e.R7$(3),e.JRh(i.name),e.R7$(),e.Y8G("ngIf",r.checkIfDescriptionExists(i.description)),e.R7$(),e.Y8G("ngForOf",r.comparisonDataArray)}}function ue(t,n){if(1&t&&(e.j41(0,"ion-grid",41)(1,"ion-row")(2,"ion-col",42)(3,"h2"),e.EFF(4,"Basic Information:"),e.k0s(),e.j41(5,"ion-grid",43)(6,"ion-row")(7,"ion-col",44),e.EFF(8,"Name"),e.k0s(),e.j41(9,"ion-col",45),e.EFF(10,"State"),e.k0s(),e.j41(11,"ion-col",46),e.EFF(12,"Zip Code"),e.k0s()(),e.DNE(13,oe,9,3,"div",29),e.k0s(),e.j41(14,"h2"),e.EFF(15,"Comparison of Selected Measures:"),e.k0s(),e.j41(16,"div",47)(17,"table")(18,"thead")(19,"tr"),e.nrm(20,"th"),e.DNE(21,ne,2,1,"th",29),e.k0s()(),e.j41(22,"tbody"),e.DNE(23,le,6,6,"tr",29),e.k0s()()(),e.DNE(24,_e,4,0,"div",48)(25,fe,8,9,"div",29),e.k0s()()()),2&t){const i=e.XpG();e.R7$(13),e.Y8G("ngForOf",i.comparisonDataArray),e.R7$(8),e.Y8G("ngForOf",i.comparisonDataArray),e.R7$(2),e.Y8G("ngForOf",i.comparisonDataArray[0].currentMeasureAnswers),e.R7$(),e.Y8G("ngIf",i.desktopPlatform),e.R7$(),e.Y8G("ngForOf",i.comparisonDataArray[0].currentMeasureAnswers)}}function he(t,n){if(1&t&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td"),e.EFF(4),e.k0s(),e.j41(5,"td"),e.EFF(6),e.k0s()()),2&t){const i=n.$implicit;e.R7$(2),e.SpI(" ",i.name," "),e.R7$(2),e.SpI(" ",i.state," "),e.R7$(2),e.SpI(" ",i.zip," ")}}function ge(t,n){if(1&t&&(e.j41(0,"span",69),e.EFF(1),e.k0s()),2&t){const i=e.XpG().$implicit;e.R7$(),e.SpI(" (",i.description,")")}}function ve(t,n){if(1&t&&(e.j41(0,"tr",70)(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td"),e.EFF(4),e.k0s()()),2&t){const i=n.$implicit,o=e.XpG().index;e.R7$(2),e.SpI(" ",i.name,": "),e.R7$(2),e.SpI(" ",i.currentMeasureAnswers[o].answer," ")}}function ke(t,n){if(1&t&&(e.j41(0,"div")(1,"table",65)(2,"thead")(3,"tr")(4,"th",66)(5,"u"),e.EFF(6),e.k0s(),e.DNE(7,ge,2,1,"span",67),e.k0s()()(),e.j41(8,"tbody"),e.DNE(9,ve,5,2,"tr",68),e.k0s()()()),2&t){const i=n.$implicit,o=e.XpG(2);e.R7$(6),e.JRh(i.name),e.R7$(),e.Y8G("ngIf",i.description),e.R7$(2),e.Y8G("ngForOf",o.comparisonDataArray)}}function Fe(t,n){if(1&t&&(e.j41(0,"div",64),e.EFF(1," Basic Information: "),e.j41(2,"table")(3,"thead")(4,"tr")(
15,"th"),e.EFF(6,"Name"),e.k0s(),e.j41(7,"th"),e.EFF(8,"State"),e.k0s(),e.j41(9,"th"),e.EFF(10,"Zip Code"),e.k0s()()(),e.j41(11,"tbody"),e.DNE(12,he,7,3,"tr",29),e.k0s()(),e.nrm(13,"br"),e.EFF(14," Comparison of Selected Measures: "),e.DNE(15,ke,10,3,"div",29),e.k0s()),2&t){const i=e.XpG();e.R7$(12),e.Y8G("ngForOf",i.comparisonDataArray),e.R7$(3),e.Y8G("ngForOf",i.comparisonDataArray[0].currentMeasureAnswers)}}const Re=[{path:"",component:(()=>{class t{constructor(i,o,r,s,l){this.apiFetchService=i,this.localVarStorageService=o,this.alertController=r,this.platform=s,this.modalCtrl=l,this.pageName="Compare Saved Centers",this.pageStatus="loading",this.errorText="",this.filterableMeasuresArray=[],this.compareGridStatus="hide",this.comparisonDataArray=[],this.savedFacilities=[],this.desktopPlatform=!1,this.showRequirementMeasures=!1,this.showStatisticMeasures=!1,this.showCriteriaMeasures=!1,this.showServiceMeasures=!1,this.showRequirementDescription=!1,this.showStatisticDescription=!1,this.showCriteriaDescription=!1,this.showServiceDescription=!1}ngOnInit(){this.platform.is("desktop")&&0==this.platform.is("android")&&(this.desktopPlatform=!0)}ionViewDidEnter(){this.pageStatus="loading",this.getSavedFacilities(),this.getFilterableMeasures(),this.getMeasures()}getSavedFacilities(){var i=this;return(0,p.A)(function*(){let o=yield i.localVarStorageService.getStoredVar("savedFacilities");o&&(i.savedFacilities=o)})()}getFilterableMeasures(){var i=this;return(0,p.A)(function*(){(yield i.localVarStorageService.getStoredVar("filterableMeasures"))&&(i.filterableMeasuresArray=yield i.localVarStorageService.getStoredVar("filterableMeasures"))})()}getMeasures(){this.apiFetchService.getAllMeasures().subscribe(i=>{this.pageStatus="complete",this.findMeasuresAvailable(i.measures),this.removeSavedDeletedMeasures(i.measures)},i=>{console.error("Error when attempting to reach server for measure data at: "+u.b.API_URL),console.error(i),this.errorText=i,this.pageStatus="error"})}findMeasuresAvailable(i){i.forEach(o=>{let r=this.checkIfMeasureStored(o);1==o.filterable&&1==o.is_active?(this.updateMeasureDisplayOptions(o.tag,o.description),-1==r?(o.isChecked=!0,this.filterableMeasuresArray.push(o)):(this.filterableMeasuresArray[r].name=o.name,this.filterableMeasuresArray[r].description=o.description,this.filterableMeasuresArray[r].tag=o.tag)):r>=0&&this.filterableMeasuresArray.splice(r,1)})}checkIfMeasureStored(i){return this.filterableMeasuresArray?this.filterableMeasuresArray.findIndex(o=>o.id==i.id):-1}updateMeasureDisplayOptions(i,o){"service"==i?(this.showServiceMeasures=!0,0==this.showServiceDescription&&(this.showServiceDescription=this.checkIfDescriptionExists(o))):"requirement"==i?(this.showRequirementMeasures=!0,0==this.showRequirementDescription&&(this.showRequirementDescription=this.checkIfDescriptionExists(o))):"criteria"==i?(this.showCriteriaMeasures=!0,0==this.showCriteriaDescription&&(this.showCriteriaDescription=this.checkIfDescriptionExists(o))):"statistic"==i?(this.showStatisticMeasures=!0,0==this.showStatisticDescription&&(this.showStatisticDescription=this.checkIfDescriptionExists(o))):console.error("Unknown measure tag found: "+i)}checkIfDescriptionExists(i){return!(!i||null===i||""===i)}removeSavedDeletedMeasures(i){let o=[];this.filterableMeasuresArray.forEach(r=>{-1==i.findIndex(s=>s.id==r.id)&&o.push(this.filterableMeasuresArray.indexOf(r))});for(let r=0;r<o.length;r++)this.filterableMeasuresArray.splice(o[r],1);this.localVarStorageService.setVar("filterableMeasures",this.filterableMeasuresArray)}updateMeasuresToCompare(i,o){let r=this.filterableMeasuresArray.findIndex(s=>s.id==i);this.filterableMeasuresArray[r].isChecked=1==o.target.checked,this.localVarStorageService.setVar("filterableMeasures",this.filterableMeasuresArray)}getComparisonData(){if(this.filterableMeasuresArray.findIndex(i=>i.isChecked)<0)this.showComparisonArea("noMeasures");else if(this.savedFacilities.length<=0)this.showComparisonArea("noFacilities");else{this.compareGridStatus="loading";let i=this.savedFacilities.map(r=>r.id);this.comparisonDataArray=[];let o={id:null,name:null,currentMeasureAnswers:[]};
1i.forEach(r=>{this.apiFetchService.getOneFacility(r).subscribe(s=>{o={id:s.facility.id,name:s.facility.name,zip:s.facility.zip,state:s.facility.state,currentMeasureAnswers:[]},this.filterableMeasuresArray.forEach(l=>{s.facility.measures.forEach(_=>{l.id==_.id&&1==l.isChecked&&o.currentMeasureAnswers.push(null==_._joinData.answer?{id:_.id,name:_.name,answer:"",description:_.description}:{id:_.id,name:_.name,answer:_._joinData.answer,description:_.description})})}),this.comparisonDataArray.push(o),this.comparisonDataArray.length>=i.length&&this.showComparisonArea("allItemsLoaded")},s=>{console.error("Error when attempting to reach server for measure data at: "+u.b.API_URL),console.error(s),this.errorText=s,this.pageStatus="error"})})}}showComparisonArea(i){"allItemsLoaded"==i?this.compareGridStatus="show":"noFacilities"==i?this.compareGridStatus="noFacilitiesError":"noMeasures"==i&&(this.compareGridStatus="noMeasuresError"),this.scrollToResultsArea()}getResultsScrollPosition(){this.$compareButton=document.querySelector(".compare-button"),this.$compareButton instanceof HTMLElement&&(this.compareButtonDistance=this.$compareButton.offsetTop)}scrollToResultsArea(){this.content.scrollToPoint(0,this.compareButtonDistance+40,400)}filterReset(i){var o;let r,s;"mark"==i?o=!0:"clear"==i?o=!1:console.error("Error clearing/setting all checkboxes. Unknown value to set to: "+i),this.checkboxes.forEach(l=>{if(l.nativeElement.checked!=o){r=l.nativeElement.id,s=parseInt(r.substring(r.indexOf("-")+1));let _=this.filterableMeasuresArray.findIndex($e=>$e.id==s);this.filterableMeasuresArray[_].isChecked=o}}),this.localVarStorageService.setVar("filterableMeasures",this.filterableMeasuresArray)}deleteAlert(i,o){var r=this;return(0,p.A)(function*(){yield(yield r.alertController.create({header:"Do you want to remove "+o+" from your saved centers?",buttons:[{text:"Cancel",role:"cancel",handler:()=>{}},{text:"Remove",role:"confirm",handler:()=>{r.removeSavedFacility(i,o)}}]})).present()})()}removeSavedFacility(i,o){var r=this;return(0,p.A)(function*(){let s=r.savedFacilities.map(l=>l.id).indexOf(i);r.savedFacilities.splice(s,1),yield r.localVarStorageService.setVar("savedFacilities",r.savedFacilities)})()}checkForSpecialWording(i){return 38==i.id?!!this.isANumber(i.answer)&&(this.specialWordingText="Not Allowed Older Than ",!0):!(52!=i.id||!this.isANumber(i.answer)||(this.specialWordingText="Not Allowed Above ",0))}isANumber(i){return!isNaN(parseInt(i))}showDescriptionsForTag(i){let o=[];this.filterableMeasuresArray.forEach(r=>{r.tag==i&&r.description&&null!==r.description&&""!==r.description&&o.push({measureName:r.name,description:r.description})}),this.openModal(o)}openModal(i){var o=this;return(0,p.A)(function*(){(yield o.modalCtrl.create({component:b.Z,id:"info-modal",componentProps:{measuresToShow:i}})).present()})()}displayMeasureDescription(i){i.description&&null!==i.description&&""!==i.description&&this.openModal([{measureName:i.name,description:i.description}])}openPrintView(){const i=document.querySelector("#compare-print-view"),o=window.open("","","width=1024,height=772,toolbar=0,status=0");o.document.write(i.innerHTML);const r=setInterval(()=>{"complete"===document.readyState&&(o.document.close(),o.focus(),o.print(),clearInterval(r))},200)}static#e=this.\u0275fac=function(o){return new(o||t)(e.rXU(C._),e.rXU(E.z),e.rXU(a.hG),e.rXU(G.OD),e.rXU(a.W3))};static#i=this.\u0275cmp=e.VBU({type:t,selectors:[["app-compare"]],viewQuery:function(o,r){if(1&o&&(e.GBs(a.W9,5),e.GBs(I,5)),2&o){let s;e.mGM(s=e.lsd())&&(r.content=s.first),e.mGM(s=e.lsd())&&(r.checkboxes=s)}},decls:22,vars:11,consts:[["checkboxes",""],[3,"pageName"],[3,"ionScrollEnd","scrollEvents"],[1,"content-wrap"],[1,"pageTitleArea"],["src","./assets/images/mobile-compare-saved-transplant-facilities.png","alt","icon for Compare Saved Centers"],[1,"ion-text-center"],[1,"page-description"],["class","ion-text-center",4,"ngIf"],["class","error-box",4,"ngIf"],[4,"ngIf"],["expand","block",1,"compare-button",3,"click","disabled"],["class","comparison-grid",4,"ngIf"],["id","compare-print-view",4,"ngIf"],[1,"ion-margin"],[1,"error-box"],["color","danger"],["size","12","size-lg","6"],[1,"saved-facilities-list"],["class","ion-text-center no-data-warning",4,"ngIf"],[1,"filter-button-wrap"],[1,"filter-button",3,"click"],[1,"sr-only"],["aria-hidden","true","name","checkbox-outline","slot","end"],["aria-hidden","true","name","close-circle-outline","slot","end"],["class","measure-list",4,"ngIf"],["size","12","size-lg","6",4,"ngIf"],[1,"ion-text-center","no-data-warning"],[3,"routerLink"],[4,"ngFor","ngForOf"],[1,"facility-list-item"],[1,"ion-text-wrap"],["size","default",1,"button-style-link","facility-button",3,"routerLink","queryParams"],["slot","end","fill","outline",1,"delete-button",3,"click"],["slot","icon-only","aria-label","Remove this center from comparison","name","close-circle"],[1,"measure-list"],["class","info-icon","name","information-circle",3,"click",4,"ngIf"],["name","information-circle",1,"info-icon",3,"click"],[1,"ion-text-wrap","measure-label",3,"for"],["type","checkbox","slot","end",3,"click","id","checked"],["name","warning",1,"warning-icon"],[1,"comparison-grid"],["size","12","size-lg","12"],[1,"compared-item"],["size","5",1,"measure-col"],["size","4",1,"measure-col"],["size","3",1,"measure-col"],[1,"desktop-comparison-grid","hide-for-print"],["class","ion-text-center ion-margin-top",4,"ngIf"],[1,"basic-info-row"],["size","5"],["size","4"],["size","3"],[3,"click","ngClass"],["class","info-icon","name","information-circle",4,"ngIf"],["name","information-circle",1,"info-icon"],[3,"textValue"],[1,"ion-text-center","ion-margin-top"],[3,"click"],["aria-hidden","true","slot","end","name","print-outline"],[3,"ngClass"],["size","12",1,"measure-col"],["size","6",1,"facility-col"],["size","6",1,"value-col"],["id","compare-print-view"],[2,"border","1p
1x solid black","border-collapse","collapse","margin-bottom","1em"],["colspan","2"],["style","font-weight: normal;",4,"ngIf"],["style","border-bottom: 1px solid black;",4,"ngFor","ngForOf"],[2,"font-weight","normal"],[2,"border-bottom","1px solid black"]],template:function(o,r){1&o&&(e.nrm(0,"app-topnav",1),e.j41(1,"ion-content",2),e.bIt("ionScrollEnd",function(){return r.getResultsScrollPosition()}),e.j41(2,"div",3),e.nrm(3,"app-breadcrumb",1),e.j41(4,"div",4),e.nrm(5,"ion-img",5),e.j41(6,"h1",6),e.EFF(7," Compare Saved Centers "),e.k0s()(),e.j41(8,"p",7),e.EFF(9," Use this tool to compare your saved centers. Keep all boxes checked to compare all information available about the transplant centers."),e.nrm(10,"br")(11,"br"),e.EFF(12," Once you or your family member decide to pursue a transplant, it is important to pick the transplant center that is right for you. The Kidney Transplant Compare Tool allows you to compare information that patients with kidney disease have voiced are important in choosing their transplant center. In this tool, you can see an overview of each center's medical exclusion criteria, key patient chosen outcomes from the SRTR (Scientific Registry for Transplant Recipients), and a listing of what support services each center offers to help those who are in their program. Once you find the transplant center that is right for you, talk to your nephrologist or dialysis social worker to get started on the referral process. In some cases, you can self-refer by calling the transplant center at the number provided in the compare tool. "),e.k0s(),e.DNE(13,T,4,0,"div",8)(14,M,14,4,"div",9)(15,ie,23,6,"ion-grid",10),e.j41(16,"ion-button",11),e.bIt("click",function(){return r.getComparisonData()}),e.EFF(17," Compare "),e.k0s(),e.DNE(18,te,4,0,"div",8)(19,re,3,0,"div",8)(20,ue,26,5,"ion-grid",12),e.k0s(),e.DNE(21,Fe,16,2,"div",13),e.k0s()),2&o&&(e.Y8G("pageName",r.pageName),e.R7$(),e.Y8G("scrollEvents",!0),e.R7$(2),e.Y8G("pageName",r.pageName),e.R7$(10),e.Y8G("ngIf","loading"==r.pageStatus),e.R7$(),e.Y8G("ngIf","error"==r.pageStatus),e.R7$(),e.Y8G("ngIf","complete"==r.pageStatus),e.R7$(),e.Y8G("disabled",0==r.savedFacilities.length),e.R7$(2),e.Y8G("ngIf","loading"==r.compareGridStatus),e.R7$(),e.Y8G("ngIf","noMeasuresError"==r.compareGridStatus),e.R7$(),e.Y8G("ngIf","show"==r.compareGridStatus),e.R7$(),e.Y8G("ngIf","show"==r.compareGridStatus&&r.desktopPlatform))},dependencies:[d.YU,d.Sq,d.bT,a.Jm,a.b_,a.I9,a.ME,a.tN,a.hU,a.W9,a.lO,a.iq,a.KW,a.uz,a.he,a.nf,a.AF,a.ln,a.w2,a.oY,m.Wk,$.o,j.D,x.R]})}return t})()}];let be=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#i=this.\u0275mod=e.$C({type:t});static#t=this.\u0275inj=e.G2t({imports:[m.iI.forChild(Re),m.iI]})}return t})();var Ce=c(9034),Ee=c(5542);let Ge=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#i=this.\u0275mod=e.$C({type:t});static#t=this.\u0275inj=e.G2t({imports:[d.MD,R.YN,a.bv,be,Ce.G,Ee.M]})}return t})()}}]);

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.