!function(t){if("object"==typeof module&&"object"==typeof module.exports){var e=t(require,exports);void 0!==e&&(module.exports=e)}else"function"==typeof define&&define.amd&&define(["require","exports","angular","pitLS"],t)}((function(t,e){var i=t("angular"),r=t("polyfills");function n(t){return t||"None"}function s(t){var e=this;for(var n in this.eagle_data_offer=!1,this.sectiontype="",t)this[n]=t[n];if(e.Ej=null,"rew_redeem"in e&&(e.YA=e.rew_redeem),"YA"in e&&(e.Ej=e.YA,(e.Sz+"").indexOf("Gas")>-1&&(e.Ej+=" - Extra on Gas")),e.bF||(e.bF=""),"details_page"in e&&(e.bF=e.details_page),"DetailsHtmlPageName"in e&&(e.bF=e.DetailsHtmlPageName),"p_reg_apr_max"in e&&"p_reg_apr_min"in e&&(e.sU=[e.p_reg_apr_min,e.p_reg_apr_max]),"fk_card_class"in e&&(e.Nb=e.fk_card_class.join("; ")),"img_name"in e&&(e.gW=e.img_name),"ImageURL"in e&&(e.gW=e.ImageURL),"img_name_full"in e&&(e.IMAGE_NAME_FULL=e.img_name_full),"rating"in e&&(e.rG=e.rating),"votes"in e&&(e.vT=e.votes),"pdt_type"in e&&(e.BJ=e.pdt_type),"SecuredCardType"in e&&(e.BJ=e.SecuredCardType.toLowerCase()),"min_credit_reqd"in e&&(e.aR=(e.min_credit_reqd||[]).join(", ")),"MinCreditRequired"in e&&(e.aR=e.MinCreditRequired.toLowerCase()),"minimum_credit_texts"in e&&(e.MIN_CREDIT_TEXTS=(e.minimum_credit_texts||[]).join(", ")),"ots_fee"in e&&(e.bU=e.ots_fee),"TotalOneTimeFees"in e&&(e.bU=e.TotalOneTimeFees),"annl_fee"in e&&(e.Rb=e.annl_fee),"AnnualFee"in e&&(e.Rb=e.AnnualFee),"instant_approval"in e&&(e.iA="Y"==e.instant_approval),"mnth_fee"in e?e.pU=e.mnth_fee:"monthly_fee"in e?e.pU=e.monthly_fee:"MonthlyFee"in e&&(e.pU=e.MonthlyFee),"rew_earn_rt"in e&&(e.eR=e.rew_earn_rt),"EarnRate"in e&&(e.eR=e.EarnRate),"rew_earn_rt_linked"in e&&(e.Wz=e.rew_earn_rt_linked),"mon_url"in e&&(e.MO=e.mon_url),"rew_init_bns"in e&&(e.aa=e.rew_init_bns),"RewardsInitialBonus"in e&&(e.aa=e.RewardsInitialBonus),"offers_p_intro_apr"in e&&(e.bT="Y"==e.offers_p_intro_apr),"p_intro_apr"in e&&(e.tR=e.p_intro_apr),"p_intro_apr_combo"in e&&(this.Tw=e.p_intro_apr_combo),"p_intro_pd"in e&&null!=e.p_intro_pd&&(e.aL=e.p_intro_pd),"OffersIntroPchApr"in e&&(e.bT=e.OffersIntroPchApr),"PurchaseIntroAPR"in e&&(e.tR=e.PurchaseIntroAPR||"N/A"),"PurchaseIntroPeriod"in e&&null!=e.PurchaseIntroPeriod&&(e.aL=e.PurchaseIntroPeriod),"offers_bt_intro_apr"in e&&(e.fB="Y"==e.offers_bt_intro_apr),"bt_intro_apr"in e&&(e.Jz=e.bt_intro_apr),"bt_intro_apr_combo"in e&&(e.Pc=e.bt_intro_apr_combo),"bt_intro_pd"in e&&(e.cc=e.bt_intro_pd),"OffersIntroBalanceTransferApr"in e&&(e.fB=e.OffersIntroBalanceTransferApr),"BalanceTransferIntroAPR"in e&&(e.Jz=e.BalanceTransferIntroAPR||"N/A"),"BalanceTransferIntroPeriod"in e&&(e.cc=e.BalanceTransferIntroPeriod),"BalanceTransferFee"in e&&(e.Jc=e.BalanceTransferFee),"bt_fee"in e&&(e.Jc=e.bt_fee),"id"in e&&(e.aM=e.id),e.cs||(e.cs=""),"short_name"in e&&(e.cs=e.short_name),e.ca||(e.ca=""),"name"in e&&(e.ca=e.name),"Name"in e&&(e.ca=e.Name),"description"in e&&i.isString(e.description)){var s=e.description;s.lastIndexOf("__")==s.length-2&&(s=s.substring(0,s.length-2)),e.ac=s.split("__")}else"description"in e&&i.isArray(e.description)?e.ac=e.description:"Description"in e&&i.isString(e.Description)&&(e.ac=e.Description.split("__"));if(e.Qc=!("Qc"in e)||e.Qc,"Affiliate"in e&&(e.Qc=e.Affiliate),"min_sec_dep"in e&&(e.bM=e.min_sec_dep),"MinSecurityDeposit"in e&&(e.bM=e.MinSecurityDeposit),"p_reg_apr"in e&&(e.QM=e.p_reg_apr),"RegularPurchaseAPR"in e&&(e.QM=e.RegularPurchaseAPR),"rewards"in e&&(e.aB="Y"==e.rewards),"OffersRewards"in e&&(e.aB=e.OffersRewards),"network"in e&&(e.tY=e.network),"inst_name"in e&&(e.RC=e.inst_name),"CardIssuer"in e&&(e.RC=e.CardIssuer),e.xE||(e.xE=[]),"rew_dt"in e)if(i.isString(e.rew_dt)){var _=e.rew_dt;_.lastIndexOf("__")==_.length-2&&(_=_.substring(0,_.length-2)),e.xE=_.split("__")}else i.isArray(e.rew_dt)&&(e.xE=e.rew_dt);if("RewardsDetails"in e&&i.isString(e.RewardsDetails)&&(e.xE=e.RewardsDetails.split("_")),"rew_redeem"in e&&(e.YA=e.rew_redeem),"rew_cap"in e&&(e.Fs="Y"==e.rew_cap),"max_late_fee"in e&&(e.Tj=e.max_late_fee),"max_olmt_fee"in e&&(e.vc=e.max_olmt_fee),"default_apr"in e&&(e.Ub=e.default_apr),"cash_apr"in e&&(e.kY=e.cash_apr),"cash_advance_fee"in e&&(e.ea=e.cash_advance_fee),"it_fee"in e&&(e.bC=e.it_fee),"grace_period"in e&&(e.RY=e.grace_period),"rew_init_bns"in e&&(e.aa=e.rew_init_bns),e.ar=e.initializeRewardsCode("aa"),"rew_bs_earn_rt"in e&&(e.qP=e.rew_bs_earn_rt),e.bp=e.initializeRewardsCode("qP"),"rew_mx_earn_rt"in e&&(e.SN=e.rew_mx_earn_rt),e.dc=e.initializeRewardsCode("SN"),"emv_chip"in e&&(e.SMART_CHIP=e.emv_chip),e.SECONDARY_APPLY="secondary_apply"in e?e.secondary_apply:null,"last_updt"in e&&(e.UPDATED_ON=e.last_updt),"bonus_value"in e&&(e.BONUS_VALUE=e.bonus_value),"tracking_url"in e&&(this.TRACK_URL=e.tracking_url),"bt_allowed"in e&&(e.rZ=e.bt_allowed),"aff_inf_scope"in e&&(this.Xa=e.aff_inf_scope),e.ERs||(e.ERs=""),"editors_review_snippet"in e&&(e.ERs=e.editors_review_snippet),e.SRf||(e.SRf="N"),"show_rates_fees"in e&&(e.SRf=e.show_rates_fees),e.STy||(e.STy="N"),"show_terms_apply"in e&&(e.STy=e.show_terms_apply),"max_wh_rating"in e&&(e.MWR=e.max_wh_rating),"editors_rating"in e&&(e.ERA=e.editors_rating),"editors_rating_source"in e&&(e.ERO=e.editors_rating_source),"custom_rating"in e&&(e.CRA=e.custom_rating),e.RBt||(e.RBt=""),e.RRt||(e.RRt=[]),"rew_init_bns_tooltip"in e&&(e.RBt=e.rew_init_bns_tooltip),"rew_rate_tooltip"in e)if(i.isString(e.rew_rate_tooltip)){var o=e.rew_rate_tooltip;o.lastIndexOf("__")==o.length-2&&(o=o.substring(0,o.length-2)),e.RRt=o.split("__")}else i.isArray(e.rew_rate_tooltip)&&(e.RRt=e.rew_rate_tooltip);if("internalApprovalOdds"in e&&(e.INTERNAL_APPROVAL_ODDS=e.internalApprovalOdds),"overall_rating"in e&&(e.OVERALL_RATING=e.overall_rating),"ratings_info_str"in e&&(e.RTI=e.ratings_info_str),e.RTI&&"string"==typeof this.RTI){var R={},a=0,E="";for(var p of e.RTI.split(",")){var A=p.split(/\s*\|\s*/),T=R[A[0]]||{};T[A[1]]=A[2],R[A[0]]=T,"total"==A[1]&&Number(A[2])>a&&(a=Number(A[2]),E=A[0])}R.all=R[E]||{},R.all.need_name_alias=E,e.RTI=R,e.MWR=a}var I=[],u=[],h={rebuild:"Rebuild Damaged Credit",storeRebuild:"Rebuild Damaged Credit (Store Cards)",rebuildNB:"Rebuild Damaged Credit by Paying in Full Each Month",improving:"Improve Credit",improvingNB:"Improve Credit by Paying in Full Each Month",student:"Build Credit (Students)",studentNB:"Build Credit by Paying in Full Each Month (Students)",rewards:"Earn Rewards",travel:"Earn Travel Rewards",airline:"Earn Airline Rewards",hotel:"Earn Hotel Rewards",gas:"Earn Gas Rewards",storeRewards:"Earn Rewards (Store Cards)",financing:"Finance New Purchases",storeFinancing:"Finance New Purchases (Store Cards)",lowerDebt:"Lower Cost of Existing Debt",businessRebuild:"Business - Rebuild Damaged Credit",businessRebuildNB:"Business - Rebuild Damaged Credit by Paying in Full Each Month",businessImproving:"Business - Improve Credit",businessImprovingNB:"Business - Improve Credit by Paying in Full Each Month",businessRewards:"Business - Earn Rewards",businessTravel:"Business - Earn Travel Rewards",businessStoreRewards:"Business - Earn Rewards (Store Cards)",businessFinancing:"Business - Finance New Purchases",businessStoreFinancing:"Business - Finance New Purchases (Store Cards)",businessLoweringDebt:"Business - Lower Cost of Existing Debt"};if(e.WH_RATING_NEED="",e.wh_user_reviews=null,e.WH_MARKET_COMP=null,e.RTI&&e.RTI.all){var S=e.RTI.all;r.Object.isObject(S)&&(r.Object.forEach(S,(function(t,i){var n=i;i&&"need_name_alias"==i&&h[t]&&(e.WH_RATING_NEED=h[t]),i&&"need_name_alias"!=i&&"total"!=i&&("interest"==n?n="APR":"reviews"==n?(n="User Reviews",e.wh_user_reviews=r.Number.toNumber(t||"0.0").toFixed(1)):"otherFeatures"==n&&(n="Other Features"),"marketComparison"==n&&(e.WH_MARKET_COMP=r.Number.toNumber(t||"0.0").toFixed(1)),"marketComparison"!==n&&"editorsRating"!==n&&I.push({label:n,rating:r.Number.toNumber(t||"0.0").toFixed(1)}),"User Reviews"!==n&&"marketComparison"!==n&&"editorsRating"!==n&&u.push({label:n,rating:r.Number.toNumber(t||"0.0").toFixed(1)}))})),I=function(t,e,i){var r=t.findIndex((function(t){return t.label===e})),n=t.findIndex((function(t){return t.label===i}));if(-1!==r&&-1!==n){var s=t[r];t[r]=t[n],t[n]=s}return t}(I,"approval","User Reviews"))}return e.RTA=I,e.WH_COMP_ARRAY=u,e}return s.prototype.getMarketComparison=function(){return this.WH_MARKET_COMP||null},s.prototype.getUserReview=function(){return this.wh_user_reviews&&this.getVotes()>=10?this.wh_user_reviews:null},s.prototype.showFullRating=function(){return(!this.wh_user_reviews||this.getVotes()<10)&&!this.getEditorsRating()},s.prototype.getCompDistribution=function(){return this.WH_COMP_ARRAY},s.prototype.getDetailsPage=function(){return this.bF&&this.bF.indexOf("/d/")<0?"/d/"+this.bF:this.bF},s.prototype.getRatesLink=function(){return"/r/?id="+this.aM+"&rf=1"},s.prototype.getTrackLink=function(){return this.TRACK_URL},s.prototype.extractNumbers=function(t){if(null==t)return null;if("number"==typeof t)return[t];t===parseInt(t,10)&&(t+="");var e,i=t.replace(/,/g,"").match(/[0-9]*\.?[0-9]+/g);if(null==i||0==i.length)return null;for(e=0;e<i.length;e++)i[e]=parseFloat(i[e]);return i},s.prototype.initializeRewardsCode=function(t){if(t in this&&null!=this[t]){var e=this.extractNumbers(this[t]);if(null!=e&&e.length>0)return e[0]}return null},s.prototype.getRegularRate=function(){return i.isArray(this.sU)&&2==this.sU.length?this.sU[0]:null},s.prototype.getImageSrc=function(t){var e="";return t&&(e=t+"/"),this.gW&&this.gW.indexOf("//")>-1?this.gW:this.IMAGE_NAME_FULL?this.IMAGE_NAME_FULL:"gW"in this?(this.gW=this.gW.replace("creditcards/110/","creditcards/"),e+this.gW):"//cdn.wallethub.com/images/searchtool/card-cover_Vfb2e043_.png"},s.prototype.hideApprovalOddsByGroupID=function(){return!this.eagle_data_offer},s.prototype.getMinCreditRequiredClass=function(){var t=this.getMinCreditRequired()||"",e=t?t.toString().toLowerCase():"",i="ultra-appr";return"good credit"==e?i="high-appr":"fair credit"==e?i="med-appr":"bad credit"==e?i="low-appr":"excellent credit"!==e&&(i="limited-appr"),i},s.prototype.getImageAlt=function(){var t;if(t="gW"in this?this.gW:this.getName(!0)){var e=t.replace(/^\s+/,"").replace(/\s+$/,"");return e=(e=(e=e.substring(0,e.lastIndexOf("."))).replace(/[_-][0-9]+c$/,"")).replace(/[^a-z0-9]/g," ")}return"Card Image"},s.prototype.getStars=function(){var t,e=[],i=this.rG,r=i,n=parseInt(i),s=r-n;for(t=0;t<5;t++)t<n||t==n&&s>.87?e.push("bf-icon-star-twotone"):t==n&&s>.12&&s<.38?e.push("bf-icon-star-twotone-quarter"):t==n&&s>.37&&s<.63?e.push("bf-icon-star-twotone-half"):t==n&&s>.62&&s<.88?e.push("bf-icon-star-twotone-three-quarter"):e.push("bf-icon-star-twotone-empty");return e},s.prototype.setRating=function(t){this.rG=t},s.prototype.getRating=function(){var t=this.rG,e=t-parseInt(t+"");return e<=.12?Math.round(t):e>.12&&e<.38?Math.floor(10*t)/10:e>.37&&e<.4?Math.ceil(10*t)/10:e>.39&&e<.63?Math.round(10*t)/10:e>.62&&e<.7?Math.ceil(10*t)/10:e>.69&&e<.8?Math.round(10*t)/10:e>=.8&&e<.88?Math.floor(10*t)/10:Math.round(10*t)/10},s.prototype.setWHRating=function(t){this.MWR=t},s.prototype.getWHRating=function(){return this.MWR||null},s.prototype.setEditorsRating=function(t){this.ERA=t},s.prototype.getEditorsRating=function(){return this.ERA||null},s.prototype.setCustomRating=function(t){this.CRA=t},s.prototype.getCustomRating=function(){return this.CRA||null},s.prototype.setEditorsRatingSource=function(t){this.ERO=t},s.prototype.getEditorsRatingSource=function(){return this.ERO||null},s.prototype.isCustomEditorsRating=function(){return this.ERO&&"Custom"==this.ERO},s.prototype.finalWHRating=function(){var t=null;return this.ERO&&("Custom"==this.ERO&&this.CRA?t=this.CRA:"Custom"!=this.ERO&&this.MWR&&(t=this.MWR)),t},s.prototype.setWHRatingStr=function(t){this.RTI=t},s.prototype.getWHRatingStr=function(t){return t||(t="all"),this.RTI[t]||[]},s.prototype.getWHRatingDistribution=function(){return this.RTA},s.prototype.getVotes=function(){return this.vT},s.prototype.getVotesFormatted=function(){return r.Number.formatNumber(this.vT,1)},s.prototype.getVotesNumber=function(){return this.vT.formatMoney(0,"")},s.prototype.setVotes=function(t){this.vT=t},s.prototype.isSecured=function(){return/secured card/i.test(this.BJ)},s.prototype.isPrepaid=function(){return/prepaid card/i.test(this.BJ)},s.prototype.isLimitedUse=function(){return this.isSecured()||/bad/i.test(this.aR)},s.prototype.getOneTimeSetupFees=function(){return n(this.bU)},s.prototype.getAnnualFee=function(){return n(this.Rb)},s.prototype.getInstantApproval=function(){return this.iA?"Yes":"No"},s.prototype.getMonthlyFee=function(){return n(this.pU)},s.prototype.getRewardsEarnRate=function(t){return this.isLinkedRewardsRate()?this.eR?t?this.eR:"<span class='link' data-hm-options='{ direct : null, delay : 0 }' data-hm-tap='toggleDetails($event, card);' role='button' aria-label='"+this.eR+". Press to see more details.'>"+this.eR+"</span>":"None":n(this.eR)},s.prototype.getRewardsBaseEarnRate=function(){return this.qP},s.prototype.getRewardsMaxEarnRate=function(){return this.SN},s.prototype.getRewardsInitialBonus=function(){return n(this.aa)},s.prototype.getRawMinCreditRequired=function(){return"string"==typeof this.aR?this.aR.split(/\s*,\s*/):this.aR},s.prototype.getMinCreditTexts=function(t){if(void 0===t&&(t=!1),"MIN_CREDIT_TEXTS"in this&&"string"==typeof this.MIN_CREDIT_TEXTS)return this.MIN_CREDIT_TEXTS;for(var e=this.getRawMinCreditRequired()||[],i=["Excellent","Good","Fair","Limited History","Bad"],r=[],n=0;n<i.length;n++)if(e.indexOf(i[n])>-1){var s=i[n];-1!==i[n].indexOf("Limited")||t||(s+=" Credit"),r.push(s)}return r.join(", ")},s.prototype.getMinCreditRequired=function(t){var e,i=this.getRawMinCreditRequired(),r=["Bad","Limited History","Fair","Good","Excellent"];if(document.location.pathname.indexOf("no-credit")>-1&&(r[0]="Limited History",r[1]="Bad"),!i)return"";for(e=0;e<r.length;e++)if(i.indexOf(r[e])>-1){var n=r[e]+(r[e].indexOf("Limited")>-1?"":" Credit");return t&&(n=r[e]),this.MIN_CREDIT_REQUIRED_PARSED=n,n}n=i.join(", ");return this.MIN_CREDIT_REQUIRED_PARSED=n,n},s.prototype.hasPurchaseIntroApr=function(){return this.bT&&"tR"in this&&"N/A"!=this.tR},s.prototype.getPurchaseIntroApr=function(t,e){var i="Not Offered";if("PurchaseIntroAPRText"in this&&this.PurchaseIntroAPRText)i=this.PurchaseIntroAPRText;else if("Tw"in this&&this.Tw)i=this.Tw;else if(this.bT&&"tR"in this&&this.tR&&"N/A"!=this.tR){if(i="<span>"+this.tR+"</span>",t)return i;if("aL"in this)/^[0-9]+\s+/.test(this.aL)&&(i+=" for"),i+=" ",e&&(i=""),/20[0-9]{2}$/.test(this.aL)?i+=this.aL.replace(/(20[0-9]{2})$/,"<span>$1</span>"):i+=this.aL;else if(e)return"None"}return i},s.prototype.hasBtIntroApr=function(){return"BalanceTransferIntroAPRText"in this&&"Not Offered"!==this.BalanceTransferIntroAPRText||this.fB&&"Jz"in this&&"N/A"!=this.Jz},s.prototype.isBtAllowed=function(){return"rZ"in this&&(!0===this.rZ||!1===this.rZ?this.rZ:/^Y$/i.test(this.rZ))},s.prototype.getBtIntroApr=function(t,e,i,r){var n="Not Offered",s=!1;if("BalanceTransferIntroAPRText"in this&&this.BalanceTransferIntroAPRText)n=this.BalanceTransferIntroAPRText,this.BalanceTransferFee&&"Not Offered"!==n&&(n+="<span class='grey'>Transfer Fee:</span> <span class='grey'>","Jc"in this&&"None"!=this.Jc?n+=this.Jc:n+="No",n+="</span>");else if("Pc"in this&&this.Pc&&!e&&!i)n=this.Pc,t||(s=!0);else if(this.fB&&"Jz"in this&&this.Jz&&"N/A"!=this.Jz&&"Not Offered"!=this.Jz){if(n="<span>"+this.Jz+"</span>",t)return n;if("cc"in this&&!t&&(/^[0-9]+\s+/.test(this.cc)&&(n+=" for"),n+=" ",e&&(n=""),/20[0-9]{2}$/.test(this.cc)?n+=this.cc.replace(/(20[0-9]{2})$/,"<span>$1</span>"):n+=this.cc),e)return n;if(r)return n;i&&(n=""),s=!0}return s&&(n+="<span class='hide-mob'>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;</span>  <span class='grey'>Transfer Fee: ","Jc"in this&&"None"!=this.Jc?n+=this.Jc:n+="No",n+="</span>"),n},s.prototype.getRegularBtApr=function(){return this.yB||"N/A"},s.prototype.isTemplate=function(t){return this.SA==t},s.prototype.getTestTemplate=function(t){return this.isLimitedUse()||"nc"==t.mc?"bad":t.iw&&t.iw.pch?"pch":t.iw&&t.iw.bt?"bt":t.iw&&t.iw.reg?"reg":t.iw&&(t.iw.rw||"cs"==t.iam&&t.nw.am||"y"==t.chcrd||"y"==t.ft)?"rw":"def"},s.prototype.getId=function(){return this.aM},s.prototype.getName=function(t,e,i){t=t||!1,e=e||!1,i=i||!1;var r=this.ca;return i&&this.cs&&(r=this.cs),t?0===r.toLowerCase().indexOf("the ")?r:(e?"t":"T")+"he "+r:r},s.prototype.getNameVO=function(){return this.getName().replace(/®|™|&reg;|&trade;/g,"").replace("™","").replace("&reg;","").replace("&trade;","")},s.prototype.getDescriptionArray=function(){return this.ac},s.prototype.isAffiliateLink=function(t){if("Xa"in this){if("O"==this.Xa)return!t&&this.Qc;if("I"==this.Xa)return!!t&&this.Qc}return this.Qc},s.prototype.isSponsor=function(){return this.spnsrd&&"Y"==this.spnsrd},s.prototype.getMinSecurityDeposit=function(t){var e=this.bM;return"bM"in this&&""!=e?/^N\/A$/i.test(e)?"N/A":t?e:"Min Deposit of "+e:"None"},s.prototype.getBtFee=function(t,e,i){return this.isIssuerChase()||this.isIssuerBankOfAmerica()?t?n(this.Jc):"<a href='' hm-tap='openDetails($event, card);' class='link'>See Details"+(i?"":" for Transfer Fee")+"</a>":e&&"N/A"==this.Jc?"None":n(this.Jc)},s.prototype.getBtApr=function(){var t="Not Offered";return this.fB&&"Jz"in this&&"N/A"!=this.Jz&&(t=this.Jz),t},s.prototype.getBtPeriod=function(){var t="N/A";return"cc"in this&&"None"!=this.cc&&(t=this.cc),"None"!=this.getBtApr()&&this.getBtApr()&&"Not Offered"!=this.getBtApr()||(t=""),t},s.prototype.getTestBullets=function(){var t,e=[];if(this.aB)for(t=0;t<this.xE.length;t++)e.push(this.xE[t]);if(this.ac.length>0)for(t=0;t<this.ac.length;t++)e.push(this.ac[t]);return e.push("<a href='"+this.getDetailsPage()+"' target='_blank' class='link'>More Details &amp; Reviews About "+this.getName(!0)+"</span></a>"),e},s.prototype.getRegularPurchaseApr=function(){return this.QM},s.prototype.isChargeCard=function(){return/Charge Card/i.test(this.BJ)},s.prototype.hasRewards=function(){return this.aB},s.prototype.getNetwork=function(){return this.tY},s.prototype.getIssuer=function(){return this.RC},s.prototype.getRewards=function(){return this.xE},s.prototype.hasEditorsReviewSnippet=function(){return this.ERs&&""!=this.ERs.trim()},s.prototype.getEditorsReviewSnippet=function(t){if(!this.ERs)return"";var e=this.ERs.trim();return e.endsWith(".")&&t&&(e=e.slice(0,-1)),""!=e?e+(t?" ... <a href='"+this.getDetailsPage()+"' target='_blank' class='link link-grey' rel='nofollow'>show more</a>":""):""},s.prototype.hasInitialBonusTooltip=function(){return this.RBt&&""!=this.RBt.trim()},s.prototype.getInitialBonusTooltip=function(){return this.RBt?this.RBt.trim():""},s.prototype.hasRewardsRateTooltip=function(){return this.RRt&&this.RRt.length>0},s.prototype.getRewardsRateTooltip=function(){var t="";return this.RRt&&this.RRt.length&&(t+="<ul class='rewards-tip-list'>",r.Array.forEach(this.RRt,(function(e){t+="<li>",t+=e,t+="</li>"})),t+="</ul>"),t},s.prototype.hasPros=function(){return!!(this.EPS&&"SYSTEM"==this.EPS.toUpperCase()&&this.EPs&&this.EPs.length>0)||!!(this.EPS&&"CUSTOM"==this.EPS.toUpperCase()&&this.EP&&this.EP.length>0)},s.prototype.hasCons=function(){return!!(this.ECS&&"SYSTEM"==this.ECS.toUpperCase()&&this.ECs&&this.ECs.length>0)||!!(this.ECS&&"CUSTOM"==this.ECS.toUpperCase()&&this.EC&&this.EC.length>0)},s.prototype.getPros=function(){return this.EPS&&"SYSTEM"==this.EPS.toUpperCase()&&this.EPs&&this.EPs.length>0?this.EPs:this.EPS&&"CUSTOM"==this.EPS.toUpperCase()&&this.EP&&this.EP.length>0?this.EP:[]},s.prototype.getCons=function(){return this.ECS&&"SYSTEM"==this.ECS.toUpperCase()&&this.ECs&&this.ECs.length>0?this.ECs:this.ECS&&"CUSTOM"==this.ECS.toUpperCase()&&this.EC&&this.EC.length>0?this.EC:[]},s.prototype.getRwardsType=function(){return this.YA},s.prototype.isRewardCap=function(){return this.Fs},s.prototype.getMaxLateFee=function(){return this.Tj},s.prototype.getMaxOverlimitFee=function(){return this.vc},s.prototype.getDefaultApr=function(){return this.Ub},s.prototype.getCashApr=function(){return this.kY},s.prototype.getCashAdvanceFee=function(){return this.ea},s.prototype.getForeignTransactionFee=function(){return this.bC},s.prototype.getGracePeriod=function(){return this.RY},s.prototype.americanExpressWithMonitoringUrl=function(){return"American Express"==this.RC&&"MO"in this&&""!=this.MO},s.prototype.HSBCWithMonitoringUrl=function(){return("HSBC"==this.RC||0===(this.RC+"").indexOf("Discover")||"Barclays"==this.RC||"Wells Fargo"==this.RC||"U.S. Bank"==this.RC||"Marcus by Goldman Sachs"==this.RC)&&"MO"in this&&""!=this.MO},s.prototype.isIssuerChase=function(){return/Chase/i.test(this.RC)},s.prototype.isCapitalOne=function(){return/Capital One/i.test(this.RC)},s.prototype.isIssuerBankOfAmerica=function(){return"Bank of America"==this.RC},s.prototype.isLinkedRewardsRate=function(){return"boolean"==typeof this.Wz?this.Wz:!!this.Wz&&"Y"==this.Wz.toUpperCase()},s.prototype.isIssuerAmEx=function(){return"American Express"==this.RC},s.prototype.hasRates=function(t){var e=!1;"boolean"==typeof this.SRf?e=this.SRf:this.SRf&&(e="Y"==this.SRf.toUpperCase());var i="2156"==(this.aM||"").toString()||"1667"==(this.aM||"").toString()||"3292"==(this.aM||"").toString();return t&&t.skip?(t.skip.indexOf("american")>-1&&(i=!(!i||this.americanExpressWithMonitoringUrl())),t.skip.indexOf("hsbc")>-1&&(i=!(!i||this.HSBCWithMonitoringUrl()))):i=!!(this.americanExpressWithMonitoringUrl()||this.HSBCWithMonitoringUrl()||i||e),i},s.prototype.hasTerms=function(){var t=!1;return"boolean"==typeof this.STy?t=this.STy:this.STy&&(t="Y"==this.STy.toUpperCase()),!(!t&&!this.americanExpressWithMonitoringUrl())},s.prototype.ApprovalOds=function(t){var e=this.ApprovalOdds?this.ApprovalOdds.toString().toLowerCase():"",i="ultra-appr";return"very good"==e?i="high-appr":"good"==e?i="med-appr":"fair"==e?i="low-appr":"excellent"!==e&&"pre-selected"!==e&&"pre-approved"!==e&&"outstanding"!==e&&(i="limited-appr"),{text:this.ApprovalOdds,cls:i}},s.prototype.hasApprovalOds=function(){return"ApprovalOdds"in this&&void 0!==this.ApprovalOdds&&null!==this.ApprovalOdds&&!this.isIssuerAmEx()},s.prototype.getApprovalOdds=function(t){return this.hasApprovalOds()?this.ApprovalOdds:"N/A"},s.prototype.ApprovalOdsCCSearchtools=function(t,e){var i=this.getApprovalOdds(t),r=i?i.toString().toLowerCase():"",n="ultra-appr";return"very good"==r?n="high-appr":"good"==r?n="med-appr":"fair"==r?n="low-appr":"excellent"!==r&&(n="limited-appr"),{text:i,cls:n}},s.prototype.getOverlimit=function(){return this.vc},s.prototype.getLateFee=function(){return this.Tj},s.prototype.getSmartChip=function(){return this.SMART_CHIP},s.prototype.getUpdateDate=function(){return this.UPDATED_ON},s.prototype.getActivationFee=function(){return this.act_fee||"None"},s.prototype.getSignatureFee=function(){return this.sig_txn_fee||"Free"},s.prototype.getPINFee=function(){return this.pin_txn_fee||"Free"},s.prototype.getInATMFee=function(){return this.atm_fee_in||"$0"},s.prototype.getATMSize=function(){return this.in_network_atms_num},s.prototype.getOutATMFee=function(){return this.atm_fee||"$0"},s.prototype.getForeignATMFee=function(){return this.international_txn_fee},s.prototype.getLiveSupport=function(){return this.live_cust_svc||"Free"},s.prototype.getAutoSupport=function(){return this.auto_cust_svc||"Free"},s.prototype.getReloadOptions=function(){return this.reload_networks},s.prototype.getCancelFee=function(){return this.cancel_fee||"Free"},s.prototype.getInactivityFee=function(){return this.inact_fee||"None"},s.prototype.setAdID=function(t){this.ADID=t},s.prototype.getAdID=function(){return this.ADID},s.prototype.getBonusValue=function(){return this.BONUS_VALUE},s.TYPE=null,s}));