function loadHeatMap(e,t,n,a,l){if(!n)throw new Error("Simplemaps data is missing");if(!t)throw new Error("Simplemaps instance is missing");$.getJSON(e).done((function(e){var o=l?l(e):e;shadeAreas(n.state_specific,o,n.main_settings.state_color,a),t.load()}))}function shadeAreas(e,t,n,a){var l=_.mapValues(e,(function(e){var n=e.name.toLowerCase();return t[n]||0})),o=createColorGetter(_.max(_.values(l)),n);_.forEach(e,(function(t,n){var i=e[n],r=l[n];i.color=o(r),i.description=a(r)}))}function createColorGetter(e,t){var n=Math.log(e||10),a=t.match(/\w{2}/g).map((function(e){return parseInt(e,16)})),l=a.map((function(e){return.8*(255-e)}));return function(e){var t=e&&Math.log(e),o=n-t,i=o&&o/n;return"rgb("+_.zip(a,l).map((function(e){var t=e[0],n=e[1];return Math.round(t+n*i)})).join(",")+")"}}(function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["alerts/confetti_message"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="confetti-msg alert alert-dismissible fade show text-2xl text-center p-4" role="alert">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"message")||(null!=t?i(t,"message"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:l,loc:{start:{line:1,column:98},end:{line:1,column:111}}}):o)+'<button aria-label="Close" class="close" data-dismiss="alert" type="button"><span aria-hidden="true">&times;</span></button></div>'},useData:!0}),this.HandlebarsTemplates["alerts/confetti_message"]}).call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["alerts/error"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="alert"><img alt="" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"images"):t)?r(o,"error"):o,t))+'" /><p>'+(null!=(o="function"==typeof(i=null!=(i=r(n,"error")||(null!=t?r(t,"error"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"error",hash:{},data:l,loc:{start:{line:1,column:59},end:{line:1,column:70}}}):i)?o:"")+"</p></div>"},useData:!0}),this.HandlebarsTemplates["alerts/error"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["alerts/notification"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="alert-info" role="alert">'+(null!=(o="function"==typeof(i=null!=(i=r(n,"notification")||(null!=t?r(t,"notification"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"notification",hash:{},data:l,loc:{start:{line:1,column:37},end:{line:1,column:55}}}):i)?o:"")+"</div>"},useData:!0}),this.HandlebarsTemplates["alerts/notification"]}.call(this),function(){Handlebars.registerPartial("campaigns/_org_listing",Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="search-result"><a class="gg-branding-lead-link" href="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"path")||(null!=t?u(t,"path"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"path",hash:{},data:l,loc:{start:{line:1,column:83},end:{line:1,column:91}}}):s)+'"><img alt="" aria-hidden="true" class="search-result-image" src="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"logo")||(null!=t?u(t,"logo"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"logo",hash:{},data:l,loc:{start:{line:1,column:157},end:{line:1,column:165}}}):s)+'" /></a><div class="search-result-info"><h3 class="text-lg"><a class="gg-branding-lead-link" href="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"path")||(null!=t?u(t,"path"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"path",hash:{},data:l,loc:{start:{line:1,column:264},end:{line:1,column:272}}}):s)+'">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"name")||(null!=t?u(t,"name"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:274},end:{line:1,column:282}}}):s)+"</a>"+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?u(i[1],"dog"):i[1])?u(r,"charitable_id_enabled"):r,{name:"if",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:286},end:{line:1,column:602}}}))?r:"")+"</h3>"+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?u(i[1],"dogBreed"):i[1])?u(r,"university"):r,{name:"if",hash:{},fn:e.program(5,l,0,o,i),inverse:e.program(8,l,0,o,i),data:l,loc:{start:{line:1,column:607},end:{line:1,column:854}}}))?r:"")+'</div><div class="search-result-actions">'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?u(i[1],"dog"):i[1])?u(r,"donations_enabled"):r,{name:"if",hash:{},fn:e.program(11,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:895},end:{line:1,column:1289}}}))?r:"")+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"has_profile"):t,{name:"if",hash:{},fn:e.program(16,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:1289},end:{line:1,column:1427}}}))?r:"")+"</div></div>"},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"group"):t)?i(o,"charitable_id"):o,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:322},end:{line:1,column:595}}}))?o:""},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="ml-2" data-content="Registration ID: '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"group"):t)?i(o,"charitable_id"):o,t))+'" data-placement="bottom" data-trigger="focus hover" rel="popover" tabindex="0">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"gg-branding-lead info-icon",sprite:"info-2"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</span>"},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?i(t,"dog_campaign"):t,{name:"unless",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:637},end:{line:1,column:701}}}))?o:""},6:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<small>"+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"group"):t)?a(n,"name"):n,t))+"</small>"},8:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?s(i[1],"dogBreed"):i[1])?s(r,"location_search_enabled"):r,{name:"if",hash:{},fn:e.program(9,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:709},end:{line:1,column:847}}}))?r:""},9:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<small aria-hidden="true" class="text-muted">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"address"):t)?a(n,"city"):n,t))+", "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"address"):t)?a(n,"state"):n,t))+"</small>"},11:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"group_dog"):t)?s(r,"donatable"):r,{name:"if",hash:{},fn:e.program(12,l,0,o,i),inverse:e.program(14,l,0,o,i),data:l,loc:{start:{line:1,column:927},end:{line:1,column:1282}}}))?r:""},12:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a aria-label="'+e.escapeExpression(e.lambda(null!=(r=null!=i[1]?u(i[1],"customizations"):i[1])?u(r,"donate_text"):r,t))+'" class="btn gg-branding-lead-btn" href="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"donate_path")||(null!=t?u(t,"donate_path"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"donate_path",hash:{},data:l,loc:{start:{line:1,column:1043},end:{line:1,column:1058}}}):s)+'">'+e.escapeExpression(e.lambda(null!=(r=null!=i[1]?u(i[1],"customizations"):i[1])?u(r,"donate_text"):r,t))+"</a>"},14:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?s(i[1],"dog"):i[1])?s(r,"centrally_routed"):r,{name:"if",hash:{},fn:e.program(12,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:1097},end:{line:1,column:1275}}}))?r:""},16:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a aria-label="view profile" class="btn gg-branding-supporting-btn profile-btn" href="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"path")||(null!=t?i(t,"path"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"path",hash:{},data:l,loc:{start:{line:1,column:1394},end:{line:1,column:1402}}}):o)+'">View Profile</a>'},18:function(){return"<script>$('[rel=popover]').popover();</script>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"results"):t,{name:"each",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:1448}}}))?r:"")+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"dog"):t)?s(r,"charitable_id_enabled"):r,{name:"if",hash:{},fn:e.program(18,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:1448},end:{line:1,column:1534}}}))?r:"")},usePartial:!0,useData:!0,useDepths:!0}))}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["campaigns/boxes"]=Handlebars.template({1:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="mt-0 mb-4 text-center gg-branding-lead">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"settings"):t)?a(n,"heading"):n,t))+"</h2>"},3:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="campaign" href="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"path")||(null!=t?u(t,"path"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"path",hash:{},data:l,loc:{start:{line:1,column:233},end:{line:1,column:241}}}):s)+'"><h3 class="text-base gg-branding-lead m-2 mb-auto">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"name")||(null!=t?u(t,"name"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:294},end:{line:1,column:302}}}):s)+"</h3>"+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?u(i[1],"settings"):i[1])?u(r,"show_group_logos"):r,{name:"if",hash:{},fn:e.program(4,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:307},end:{line:1,column:412}}}))?r:"")+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?u(i[1],"settings"):i[1])?u(r,"show_stats"):r,{name:"if",hash:{},fn:e.program(6,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:412},end:{line:1,column:1186}}}))?r:"")+"</a>"},4:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img alt="" class="img-fluid my-2" src="'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"group"):t)?a(n,"logo_url"):n,t))+'" />'},6:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"with").call(null!=t?t:e.nullContext||{},null!=t?s(t,"stats"):t,{name:"with",hash:{},fn:e.program(7,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:442},end:{line:1,column:1179}}}))?r:""},7:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="stats-box mt-2">'+(null!=(r=(s(n,"ifIncludes")||t&&s(t,"ifIncludes")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(r=null!=(r=null!=i[2]?s(i[2],"customizations"):i[2])?s(r,"displayed_stats"):r)?s(r,"organizations"):r,"total_donations_count",{name:"ifIncludes",hash:{},fn:e.program(8,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:485},end:{line:1,column:698}}}))?r:"")+(null!=(r=(s(n,"ifIncludes")||t&&s(t,"ifIncludes")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(r=null!=(r=null!=i[2]?s(i[2],"customizations"):i[2])?s(r,"displayed_stats"):r)?s(r,"organizations"):r,"total_donors_count",{name:"ifIncludes",hash:{},fn:e.program(10,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:698},end:{line:1,column:906}}}))?r:"")+(null!=(r=(s(n,"ifIncludes")||t&&s(t,"ifIncludes")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(r=null!=(r=null!=i[2]?s(i[2],"customizations"):i[2])?s(r,"displayed_stats"):r)?s(r,"organizations"):r,"total_amount_raised",{name:"ifIncludes",hash:{},fn:e.program(12,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:906},end:{line:1,column:1164}}}))?r:"")+"</div>"},8:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="item">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"total_donations_count")||(null!=t?i(t,"total_donations_count"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"total_donations_count",hash:{},data:l,loc:{start:{line:1,column:593},end:{line:1,column:618}}}):o)+'<div class="description gg-branding-supporting">Gifts</div></div>'},10:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="item">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"total_donors_count")||(null!=t?i(t,"total_donors_count"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"total_donors_count",hash:{},data:l,loc:{start:{line:1,column:803},end:{line:1,column:825}}}):o)+'<div class="description gg-branding-supporting">Donors</div></div>'},12:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="item">'+e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"total_amount_raised"):t,{name:"centsToDollars",hash:{hide_cents:!0,dollar_sign:!0},data:l,loc:{start:{line:1,column:1012},end:{line:1,column:1083}}}))+'<div class="description gg-branding-supporting">Raised</div></div>'},14:function(){return'<div class="text-center mt-4"><a class="btn gg-branding-lead-btn" href="/search?show_all=true">View All</a></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="container section-wrapper section-space">'+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"settings"):t)?s(r,"heading"):r,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:53},end:{line:1,column:160}}}))?r:"")+'<div class="campaign-boxes">'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"campaigns"):t,{name:"each",hash:{},fn:e.program(3,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:188},end:{line:1,column:1199}}}))?r:"")+"</div>"+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"settings"):t)?s(r,"show_search_link"):r,{name:"if",hash:{},fn:e.program(14,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:1205},end:{line:1,column:1358}}}))?r:"")+"</div>"},useData:!0,useDepths:!0}),this.HandlebarsTemplates["campaigns/boxes"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["campaigns/fallbacks"]=Handlebars.template({1:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+e.escapeExpression(e.lambda(null!=t?a(t,"id"):t,t))+'">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"group"):t)?a(n,"name"):n,t))+"</option>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 class="gg-branding-lead text-center">'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?i(t,"customizations"):t)?i(o,"fallback_heading"):o)?i(o,"multiple_fallbacks"):o,t))+'</h3><div class="search-result"><a href="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" class="search-result-image" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"logo_url"):o,t))+'" /></a><div class="search-result-info center"><p>Choose a group and specify where to give on the '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"donation_noun"):o,t))+' form</p></div><div class="search-result-actions"><select class="fallback-select"><option value="">Select Other</option>'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"fallBacks"):t,{name:"each",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:472},end:{line:1,column:556}}}))?o:"")+'</select><br /><div class="btn gg-branding-lead-btn mt-3 hidden donate-fallback">'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"customizations"):t)?i(o,"donate_text"):o,t))+"</div></div></div>"},useData:!0}),this.HandlebarsTemplates["campaigns/fallbacks"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["campaigns/random"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<section class="random-orgs gg-branding-lead-bg"><div class="section-wrapper section-space container"><h3 class="text-center">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"random_orgs_header"):o,{name:"if",hash:{},fn:e.program(2,l,0),inverse:e.program(4,l,0),data:l,loc:{start:{line:1,column:143},end:{line:1,column:302}}}))?o:"")+'</h3><div class="participate-random-orgs"><a aria-label="Slide Left" class="random-org-nav" href="#" id="slide-left">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"left-arrow"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><div class="overflow-hidden"><div class="flex logos">'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"campaigns"):t,{name:"each",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:518},end:{line:1,column:663}}}))?o:"")+'</div></div><a aria-label="Slide Right" class="random-org-nav" href="#" id="slide-right">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"right-arrow"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><p><a href="/search?show_all=true">View All</a></p></div></section>'},2:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"random_orgs_header"):n,t))},4:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"Join These Awesome "+e.escapeExpression((i(n,"capitalizeAll")||t&&i(t,"capitalizeAll")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"org_label_set"):o)?i(o,"plural"):o,{name:"capitalizeAll",hash:{},data:l,loc:{start:{line:1,column:248},end:{line:1,column:295}}}))},6:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="flex-item"><a href="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"path")||(null!=t?i(t,"path"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"path",hash:{},data:l,loc:{start:{line:1,column:569},end:{line:1,column:577}}}):o)+'"><img alt="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"name")||(null!=t?i(t,"name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:589},end:{line:1,column:597}}}):o)+'" class="search-result-image" src="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"logo")||(null!=t?i(t,"logo"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"logo",hash:{},data:l,loc:{start:{line:1,column:632},end:{line:1,column:640}}}):o)+'" /></a></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"campaigns"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:879}}}))?o:""},usePartial:!0,useData:!0}),this.HandlebarsTemplates["campaigns/random"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["campaigns/search_list"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<nav aria-label="Search results pages" class="pager my-2"></nav><div aria-live="polite" class="org-results">'+(null!=(o=e.invokePartial(i(a,"campaigns/_org_listing"),t,{name:"campaigns/_org_listing",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</div><div id="fallback-results"></div><nav aria-label="Search results pages" class="pager my-2"></nav>'},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"fallback_enabled"):o,{name:"if",hash:{},fn:e.program(4,l,0),inverse:e.program(6,l,0),data:l,loc:{start:{line:1,column:262},end:{line:1,column:649}}}))?o:""},4:function(){return'<div id="fallback-results"></div>'},6:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div aria-live="assertive" class="no-results"><img alt="" src="'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"images"):t)?a(n,"noSearchResults"):n,t))+'" /><h3 class="gg-branding-lead">No '+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"org_label_set"):n)?a(n,"plural"):n,t))+" match your search criteria.</h3><p>Please try searching again or check out one of the suggested "+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"org_label_set"):n)?a(n,"plural"):n,t))+" below.</p><hr /></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"results"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:656}}}))?o:""},usePartial:!0,useData:!0}),this.HandlebarsTemplates["campaigns/search_list"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["campaigns/single_fallback"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=(o=null!=t?i(t,"fallBacks"):t)?i(o,"group_dog"):o)?i(o,"donatable"):o,{name:"if",hash:{},fn:e.program(2,l,0),inverse:e.program(4,l,0),data:l,loc:{start:{line:1,column:411},end:{line:1,column:803}}}))?o:""},2:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a aria-label="'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"donate_text"):n,t))+'" class="btn gg-branding-lead-btn" href="/donate?campaign_id='+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"fallBacks"):t)?a(n,"id"):n,t))+'">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"donate_text"):n,t))+"</a>"},4:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"centrally_routed"):o,{name:"if",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:606},end:{line:1,column:796}}}))?o:""},6:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a aria-label="view profile" class="btn gg-branding-supporting-btn" href="'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"fallBacks"):t)?a(n,"path"):n,t))+'">View Profile</a>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 class="gg-branding-lead text-center">'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?i(t,"customizations"):t)?i(o,"fallback_heading"):o)?i(o,"single_fallback"):o,t))+'</h3><div class="search-result"><a href="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"fallBacks"):t)?i(o,"path"):o,t))+'"><img alt="" class="search-result-image" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"fallBacks"):t)?i(o,"logo"):o,t))+'" /></a><div class="search-result-info"><h4 class="gg-branding-lead"><a href="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"fallBacks"):t)?i(o,"path"):o,t))+'">'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"fallBacks"):t)?i(o,"name"):o,t))+'</a></h4></div><div class="search-result-actions">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"donations_enabled"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:382},end:{line:1,column:810}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"fallBacks"):t)?i(o,"has_profile"):o,{name:"if",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:810},end:{line:1,column:956}}}))?o:"")+"</div></div>"},useData:!0}),this.HandlebarsTemplates["campaigns/single_fallback"]}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_ncstate2020",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="row"><div class="col-md-6"><div class="mb-2"><label for="primary-search-dropdown">Search for '+e.escapeExpression((o(n,"addArticle")||t&&o(t,"addArticle")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"org_label_set",{name:"addArticle",hash:{},data:l,loc:{start:{line:1,column:105},end:{line:1,column:135}}}))+'</label></div><select class="form-control primary-search-dropdown" id="primary-search-dropdown"></select></div><div class="col-md-6"><div class="mb-2"><label for="secondary-search-dropdown">Select a designation</label></div><select class="form-control secondary-search-dropdown" id="secondary-search-dropdown"></select></div></div>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue-fw2021",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue-fw2022",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue-fw2023",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue-fw2024",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue-nw2021",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue-nw2022",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue-nw2023",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue-nw2024",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue2021",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(){
return'<div class="row multigive__search"><div class="col-md-6"><div class="mb-2"><h4 class="multigive__search__heading">CHOOSE A UNIT</h4></div><select class="form-control primary-search-dropdown"></select></div><div class="col-md-6"><div class="mb-2"><h4 class="multigive__search__heading">CHOOSE A FUND</h4></div><select class="form-control secondary-search-dropdown"></select></div></div>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue2022",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue2023",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("custom/multigive_double_dropdown/_purdue2024",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"custom/multigive_double_dropdown/_purdue2021"),t,{name:"custom/multigive_double_dropdown/_purdue2021",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["custom/survey/austin"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group '+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"hidden"):t,{name:"if",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:42},end:{line:1,column:69}}}))?r:"")+'" data-id="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:80},end:{line:1,column:86}}}):s)+'">'+(null!=(r=u(n,"each").call(null!=t?t:e.nullContext||{},null!=t?u(t,"choices"):t,{name:"each",hash:{},fn:e.program(4,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:88},end:{line:1,column:323}}}))?r:"")+"</div>"},2:function(){return"hidden"},4:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-check"><label class="form-check-label"><input checked="" class="form-check-input custom-survey-question" id="survey_question_'+e.escapeExpression(e.lambda(null!=i[1]?s(i[1],"id"):i[1],t))+'" type="checkbox" value="'+e.escapeExpression("function"==typeof(r=null!=(r=s(n,"id")||(null!=t?s(t,"id"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:281},end:{line:1,column:287}}}):r)+' " />'+e.escapeExpression("function"==typeof(r=null!=(r=s(n,"body")||(null!=t?s(t,"body"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"body",hash:{},data:l,loc:{start:{line:1,column:292},end:{line:1,column:300}}}):r)+"</label></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"questions"):t,{name:"each",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:338}}}))?r:""},useData:!0,useDepths:!0}),this.HandlebarsTemplates["custom/survey/austin"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["dog_causes/campaigns"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="col-sm-6 col-md-4 mb-4 dog-cause-card"><div class="box-shadow-gray p-3"><a class="gg-branding-supporting-link" href="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"path")||(null!=t?u(t,"path"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"path",hash:{},data:l,loc:{start:{line:1,column:148},end:{line:1,column:156}}}):s)+'"><h2 class="h3 mt-0">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"name")||(null!=t?u(t,"name"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:178},end:{line:1,column:186}}}):s)+'</h2><img alt="" class="mw-100" src="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"cover_photo_url")||(null!=t?u(t,"cover_photo_url"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"cover_photo_url",hash:{},data:l,loc:{start:{line:1,column:223},end:{line:1,column:242}}}):s)+'" /></a><div class="d-flex justify-content-end mt-3">'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"has_profile"):t,{name:"if",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:295},end:{line:1,column:399}}}))?r:"")+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?u(i[1],"dog"):i[1])?u(r,"donations_enabled"):r,{name:"if",hash:{},fn:e.program(4,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:399},end:{line:1,column:713}}}))?r:"")+"</div></div></div>"},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="btn btn-sm gg-branding-supporting-btn mr-2" href="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"path")||(null!=t?i(t,"path"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"path",hash:{},data:l,loc:{start:{line:1,column:374},end:{line:1,column:382}}}):o)+'">View</a>'},4:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"group_dog"):t)?s(r,"donatable"):r,{name:"if",hash:{},fn:e.program(5,l,0,o,i),inverse:e.program(7,l,0,o,i),data:l,loc:{start:{line:1,column:431},end:{line:1,column:706}}}))?r:""},5:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="btn btn-sm gg-branding-lead-btn" href="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"donate_path")||(null!=t?u(t,"donate_path"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"donate_path",hash:{},data:l,loc:{start:{line:1,column:507},end:{line:1,column:522}}}):s)+'">'+e.escapeExpression(e.lambda(null!=(r=null!=i[1]?u(i[1],"customizations"):i[1])?u(r,"donate_text"):r,t))+"</a>"},7:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?s(i[1],"dog"):i[1])?s(r,"centrally_routed"):r,{name:"if",hash:{},fn:e.program(5,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:561},end:{line:1,column:699}}}))?r:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"campaigns"):t,{name:"each",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:740}}}))?r:""},useData:!0,useDepths:!0}),this.HandlebarsTemplates["dog_causes/campaigns"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["groups/custom_properties/custom_properties_content"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div aria-labelledby="'+e.escapeExpression((u(n,"kebabCase")||t&&u(t,"kebabCase")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?u(t,"name"):t,{name:"kebabCase",hash:{},data:l,loc:{start:{line:1,column:36},end:{line:1,column:54}}}))+'-tab" class="tab-pane col-12 col-md-7 col-lg-8 fade pt-3" data-section-name="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"name")||(null!=t?u(t,"name"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:131},end:{line:1,column:139}}}):s)+'" id="'+e.escapeExpression((u(n,"kebabCase")||t&&u(t,"kebabCase")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?u(t,"name"):t,{name:"kebabCase",hash:{},data:l,loc:{start:{line:1,column:145},end:{line:1,column:163}}}))+'" role="tabpanel">'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"subcategories"):t,{name:"if",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:181},end:{line:1,column:540}}}))?r:"")+"</div>"},2:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="mx-1em">'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"subcategories"):t,{name:"each",hash:{},fn:e.program(3,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:222},end:{line:1,column:527}}}))?r:"")+"</div>"},3:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=(s(n,"ifEqual")||t&&s(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?s(t,"display_format"):t,null,{name:"ifEqual",hash:{},fn:e.program(4,l,0,o,i),inverse:e.program(8,l,0,o,i),data:l,loc:{start:{line:1,column:245},end:{line:1,column:518}}}))?r:""},4:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"fields"):t,{name:"each",hash:{},fn:e.program(5,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:282},end:{line:1,column:442}}}))?r:""},5:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h4 class="gg-branding-lead">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"label")||(null!=t?u(t,"label"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:1,column:327},end:{line:1,column:336}}}):s)+"</h4>"+(null!=(r=u(n,"each").call(null!=t?t:e.nullContext||{},null!=t?u(t,"properties"):t,{name:"each",hash:{},fn:e.program(6,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:341},end:{line:1,column:433}}}))?r:"")},6:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+(null!=(r=e.invokePartial((s(n,"customPropertyDataTypePartial")||t&&s(t,"customPropertyDataTypePartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"data_type"):i[1],{name:"customPropertyDataTypePartial",hash:{},data:l,loc:{start:{line:1,column:368},end:{line:1,column:412}}}),null!=t?s(t,"value"):t,{data:l,helpers:n,partials:a,decorators:e.decorators}))?r:"")+"</p>"},8:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial((i(n,"customPropertyDisplayFormatPartial")||t&&i(t,"customPropertyDisplayFormatPartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"customPropertyDisplayFormatPartial",hash:{},data:l,loc:{start:{line:1,column:454},end:{line:1,column:490}}}),t,{hash:{fields:null!=t?i(t,"fields"):t},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r;return null!=(r=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:555}}}))?r:""},usePartial:!0,useData:!0,useDepths:!0}),this.HandlebarsTemplates["groups/custom_properties/custom_properties_content"]}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_boolean",Handlebars.template({1:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"yesNo")||t&&o(t,"yesNo")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"yesNo",hash:{},data:l,loc:{start:{line:1,column:12},end:{line:1,column:26}}}))},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:43}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_cents",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},(i(n,"centsToDollars")||t&&i(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:23},end:{line:1,column:44}}}),"$NaN",{name:"ifEqual",hash:{},fn:e.program(2,l,0),inverse:e.program(4,l,0),data:l,loc:{start:{line:1,column:12},end:{line:1,column:114}}}))?o:""},2:function(){return"--"},4:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"centsToDollars",hash:{hide_cents:!0},data:l,loc:{start:{line:1,column:63},end:{line:1,column:102}}}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(2,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:131}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_custom_select",Handlebars.template({1:function(e,t){return e.escapeExpression(e.lambda(t,t))},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:37}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_date",Handlebars.template({1:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"formatDateTextual")||t&&o(t,"formatDateTextual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"formatDateTextual",hash:{},data:l,loc:{start:{line:1,column:12},end:{line:1,column:38}}}))},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:55}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_decimal",Handlebars.template({1:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"formattedNum")||t&&o(t,"formattedNum")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"formattedNum",hash:{},data:l,loc:{start:{line:1,column:12},end:{line:1,column:33}}}))},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:50}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_document",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="'+e.escapeExpression(e.lambda(t,t))+'" target="_blank">Download'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"ml-1",sprite:"document-4"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:167}}}))?o:""},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_ein",Handlebars.template({1:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"insertChar")||t&&o(t,"insertChar")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,2,"-",{name:"insertChar",hash:{},data:l,loc:{start:{line:1,column:12},end:{line:1,column:37}}}))},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:54}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_integer",Handlebars.template({1:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"formattedNum")||t&&o(t,"formattedNum")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"formattedNum",hash:{},data:l,loc:{start:{line:1,column:12},end:{line:1,column:33}}}))},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:50}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_multi_select",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},l&&i(l,"first"),{name:"unless",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:45},end:{line:1,column:80}}}))?o:"")+e.escapeExpression(e.lambda(t,t))},2:function(){return"<br />"},4:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},(i(n,"formattedMultiSelectProperty")||t&&i(t,"formattedMultiSelectProperty")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"formattedMultiSelectProperty",hash:{},data:l,loc:{start:{line:1,column:8},end:{line:1,column:43}}}),{name:"each",hash:{},fn:e.program(1,l,0),inverse:e.program(4,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:107}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_percent",Handlebars.template({1:function(e,t){return e.escapeExpression(e.lambda(t,t))+"%"},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:38}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_text_long",Handlebars.template({1:function(e,t){return e.escapeExpression(e.lambda(t,t))},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:37}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_text_short",Handlebars.template({1:function(e,t){return e.escapeExpression(e.lambda(t,t))},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:37}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_url",Handlebars.template({1:function(e,t){return'<a target="_blank" href="'+e.escapeExpression(e.lambda(t,t))+'" >'+e.escapeExpression(e.lambda(t,t))+"</a>"},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:77}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/data_types/_year",Handlebars.template({1:function(e,t){return e.escapeExpression(e.lambda(t,t))},3:function(){return"--"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o;return null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"if").call(null!=t?t:e.nullContext||{},t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:37}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/display_format/_bar_graph",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="custom-data-field mb-4"><h4 class="gg-branding-lead">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"label")||(null!=t?i(t,"label"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:1,column:65},end:{line:1,column:74}}}):o)+'</h4><div class="bar-graph" id="'+e.escapeExpression((i(n,"kebabCase")||t&&i(t,"kebabCase")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"label"):t,{name:"kebabCase",hash:{},data:l,loc:{start:{line:1,column:106},end:{line:1,column:125}}}))+'"></div></div>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/display_format/_description_list",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h4 class="gg-branding-lead">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"label")||(null!=t?i(t,"label"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:1,column:73},end:{line:1,column:82}}}):o)+"</h4>"},3:function(){return'<div class="mt-4"></div>'},5:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<tr><th>"+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"label")||(null!=t?u(t,"label"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:1,column:217},end:{line:1,column:226}}}):s)+"</th>"+(null!=(r=u(n,"each").call(null!=t?t:e.nullContext||{},null!=t?u(t,"properties"):t,{name:"each",hash:{},fn:e.program(6,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:231},end:{line:1,column:325}}}))?r:"")+"</tr>"},6:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<td>"+(null!=(r=e.invokePartial((s(n,"customPropertyDataTypePartial")||t&&s(t,"customPropertyDataTypePartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"data_type"):i[1],{name:"customPropertyDataTypePartial",hash:{},data:l,loc:{start:{line:1,column:259},end:{line:1,column:303}}}),null!=t?s(t,"value"):t,{data:l,helpers:n,partials:a,decorators:e.decorators}))?r:"")+"</td>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="custom-data-field">'+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"label"):t,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.program(3,l,0,o,i),data:l,loc:{start:{line:1,column:31},end:{line:1,column:126}}}))?r:"")+'<table class="table table-responsive table-hover description-list">'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"fields"):t,{name:"each",hash:{},fn:e.program(5,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:193},end:{line:1,column:339}}}))?r:"")+"</table></div>"},usePartial:!0,useData:!0,useDepths:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/display_format/_pie_chart",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="custom-data-field mb-4"><h4 class="gg-branding-lead pie-label" data-pie="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"id")||(null!=t?i(t,"id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:85},end:{line:1,column:91}}}):o)+'">Expense Breakdown: '+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"year")||(null!=t?i(t,"year"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"year",hash:{},data:l,loc:{start:{line:1,column:112},end:{line:1,column:120}}}):o)+' (%)</h4><div class="pie-chart" data-id="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"id")||(null!=t?i(t,"id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:161},end:{line:1,column:167}}}):o)+'"></div></div>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/display_format/_program",Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"unless").call(null!=t?t:e.nullContext||{},l&&s(l,"first"),{name:"unless",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:188},end:{line:1,column:485}}}))?r:""},2:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<tr>"+(null!=(r=(s(n,"ifEqual")||t&&s(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},l&&s(l,"index"),1,{name:"ifEqual",hash:{},fn:e.program(3,l,0,o,i),inverse:e.program(6,l,0,o,i),data:l,loc:{start:{line:1,column:210},end:{line:1,column:469}}}))?r:"")+"</tr>"},3:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"properties"):t,{name:"each",hash:{},fn:e.program(4,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:231},end:{line:1,column:337}}}))?r:""},4:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<td colspan="2">'+(null!=(r=e.invokePartial((s(n,"customPropertyDataTypePartial")||t&&s(t,"customPropertyDataTypePartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"data_type"):i[1],{name:"customPropertyDataTypePartial",hash:{},data:l,loc:{start:{line:1,column:271},end:{line:1,column:315}}}),null!=t?s(t,"value"):t,{data:l,helpers:n,partials:a,decorators:e.decorators}))?r:"")+"</td>"},6:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<th>"+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"label")||(null!=t?u(t,"label"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:1,column:349},end:{line:1,column:358}}}):s)+"</th>"+(null!=(r=u(n,"each").call(null!=t?t:e.nullContext||{},null!=t?u(t,"properties"):t,{name:"each",hash:{},fn:e.program(7,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:363},end:{line:1,column:457}}}))?r:"")},7:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<td>"+(null!=(r=e.invokePartial((s(n,"customPropertyDataTypePartial")||t&&s(t,"customPropertyDataTypePartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"data_type"):i[1],{name:"customPropertyDataTypePartial",hash:{},data:l,loc:{start:{line:1,column:391},end:{line:1,column:435}}}),null!=t?s(t,"value"):t,{data:l,helpers:n,partials:a,decorators:e.decorators}))?r:"")+"</td>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="custom-data-field mb-5"><h4 class="gg-branding-lead">'+e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=(r=null!=(r=null!=t?s(t,"fields"):t)?s(r,"0"):r)?s(r,"properties"):r)?s(r,"0"):r)?s(r,"value"):r,t))+'</h4><table class="table table-responsive table-hover description-list">'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"fields"):t,{name:"each",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:172},end:{line:1,column:494}}}))?r:"")+"</table></div>"},usePartial:!0,useData:!0,useDepths:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/display_format/_table",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h4 class="gg-branding-lead">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"label")||(null!=t?i(t,"label"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:1,column:73},end:{line:1,column:82}}}):o)+"</h4>"},3:function(){return'<div class="mt-4"></div>'},5:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]}
;return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},l&&s(l,"first"),{name:"if",hash:{},fn:e.program(6,l,0,o,i),inverse:e.program(9,l,0,o,i),data:l,loc:{start:{line:1,column:216},end:{line:1,column:438}}}))?r:""},6:function(e,t,n,a,l){var o;return"<tr>"+(null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(7,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:234},end:{line:1,column:274}}}))?o:"")+"</tr>"},7:function(e,t){return"<th>"+e.escapeExpression(e.lambda(t,t))+"</th>"},9:function(e,t,n,a,l,o,i){var r;return"<tr>"+(null!=(r=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(10,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:291},end:{line:1,column:426}}}))?r:"")+"</tr>"},10:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<td>"+(null!=(r=e.invokePartial((s(n,"customPropertyDataTypePartial")||t&&s(t,"customPropertyDataTypePartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},s(n,"lookup").call(null!=t?t:e.nullContext||{},s(n,"lookup").call(null!=t?t:e.nullContext||{},null!=i[2]?s(i[2],"fields"):i[2],l&&s(l,"index"),{name:"lookup",hash:{},data:l,loc:{start:{line:1,column:352},end:{line:1,column:385}}}),"data_type",{name:"lookup",hash:{},data:l,loc:{start:{line:1,column:344},end:{line:1,column:398}}}),{name:"customPropertyDataTypePartial",hash:{},data:l,loc:{start:{line:1,column:313},end:{line:1,column:399}}}),null!=t?s(t,"value"):t,{data:l,helpers:n,partials:a,decorators:e.decorators}))?r:"")+"</td>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="custom-data-field">'+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"label"):t,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.program(3,l,0,o,i),data:l,loc:{start:{line:1,column:31},end:{line:1,column:126}}}))?r:"")+'<table class="table table-responsive table-hover">'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},(s(n,"invertCustomTableData")||t&&s(t,"invertCustomTableData")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?s(t,"fields"):t,{name:"invertCustomTableData",hash:{},data:l,loc:{start:{line:1,column:184},end:{line:1,column:214}}}),{name:"each",hash:{},fn:e.program(5,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:176},end:{line:1,column:447}}}))?r:"")+"</table></div>"},usePartial:!0,useData:!0,useDepths:!0}))}.call(this),function(){Handlebars.registerPartial("groups/custom_properties/display_format/_yoy_table",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h4 class="gg-branding-lead">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"label")||(null!=t?i(t,"label"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:1,column:73},end:{line:1,column:82}}}):o)+"</h4>"},3:function(){return'<div class="mt-4"></div>'},5:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},l&&s(l,"first"),{name:"if",hash:{},fn:e.program(6,l,0,o,i),inverse:e.program(9,l,0,o,i),data:l,loc:{start:{line:1,column:202},end:{line:1,column:495}}}))?r:""},6:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<tr><th>"+e.escapeExpression(e.lambda(null!=t?s(t,"label"):t,t))+"</th>"+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"properties"):t,{name:"each",hash:{},fn:e.program(7,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:243},end:{line:1,column:343}}}))?r:"")+"</tr>"},7:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<th>"+(null!=(r=e.invokePartial((s(n,"customPropertyDataTypePartial")||t&&s(t,"customPropertyDataTypePartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"data_type"):i[1],{name:"customPropertyDataTypePartial",hash:{},data:l,loc:{start:{line:1,column:276},end:{line:1,column:320}}}),null!=t?s(t,"value"):t,{data:l,helpers:n,partials:a,decorators:e.decorators}))?r:"")+"</th>"},9:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<tr><th>"+e.escapeExpression(e.lambda(null!=t?s(t,"label"):t,t))+"</th>"+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"properties"):t,{name:"each",hash:{},fn:e.program(10,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:383},end:{line:1,column:483}}}))?r:"")+"</tr>"},10:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<td>"+(null!=(r=e.invokePartial((s(n,"customPropertyDataTypePartial")||t&&s(t,"customPropertyDataTypePartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"data_type"):i[1],{name:"customPropertyDataTypePartial",hash:{},data:l,loc:{start:{line:1,column:416},end:{line:1,column:460}}}),null!=t?s(t,"value"):t,{data:l,helpers:n,partials:a,decorators:e.decorators}))?r:"")+"</td>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="custom-data-field">'+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"label"):t,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.program(3,l,0,o,i),data:l,loc:{start:{line:1,column:31},end:{line:1,column:126}}}))?r:"")+'<table class="table table-responsive table-hover yoy-table">'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"fields"):t,{name:"each",hash:{},fn:e.program(5,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:186},end:{line:1,column:504}}}))?r:"")+"</table></div>"},usePartial:!0,useData:!0,useDepths:!0}))}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["groups/searching"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="search-loader">'+(null!=(o=e.invokePartial(i(a,"shared/_loading_indicator"),t,{name:"shared/_loading_indicator",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["groups/searching"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["groups/suggested_orgs"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="gg-branding-lead">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"title")||(null!=t?i(t,"title"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:90},end:{line:1,column:99}}}):o)+"</h2><hr />"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div aria-live="polite" class="org-suggestions">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"title"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:48},end:{line:1,column:117}}}))?o:"")+'<nav aria-label="Search results pages" class="pager my-2"></nav>'+(null!=(o=e.invokePartial(i(a,"campaigns/_org_listing"),t,{name:"campaigns/_org_listing",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</div><nav aria-label="Search results pages" class="pager my-2"></nav>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["groups/suggested_orgs"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["highlighted_campaigns/highlighted_campaigns"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="container section-wrapper"><h2 class="no-margin-top text-center gg-branding-supporting">'+e.escapeExpression((s(n,"pluralize")||t&&s(t,"pluralize")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"highlightedCampaigns"):t)?s(r,"length"):r,null!=(r=null!=(r=null!=t?s(t,"customizations"):t)?s(r,"highlighted_campaigns_heading"):r)?s(r,"singular"):r,null!=(r=null!=(r=null!=t?s(t,"customizations"):t)?s(r,"highlighted_campaigns_heading"):r)?s(r,"plural"):r,{name:"pluralize",hash:{},data:l,loc:{start:{line:1,column:135},end:{line:1,column:282}}}))+'</h2><div class="highlighted-campaigns">'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"highlightedCampaigns"):t,{name:"each",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:322},end:{line:1,column:673}}}))?r:"")+"</div>"+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"viewMoreCampaigns"):t,{name:"if",hash:{},fn:e.program(4,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:679},end:{line:1,column:827}}}))?r:"")+"</div><script>$('[data-toggle=\"tooltip\"]').tooltip();</script>"},2:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="flex-campaign margin"><a class="gg-branding-lead-link" href="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"path")||(null!=t?u(t,"path"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"path",hash:{},data:l,loc:{start:{line:1,column:425},end:{line:1,column:433}}}):s)+'"><h3 class="nomargin">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"name")||(null!=t?u(t,"name"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:456},end:{line:1,column:464}}}):s)+'</h3><img alt="" src="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"logo")||(null!=t?u(t,"logo"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"logo",hash:{},data:l,loc:{start:{line:1,column:486},end:{line:1,column:494}}}):s)+'" /></a><div class="flex-end"><a class="btn gg-branding-lead-btn margin-left" href="/donate?campaign_id='+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"campaign_id")||(null!=t?u(t,"campaign_id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"campaign_id",hash:{},data:l,loc:{start:{line:1,column:598},end:{line:1,column:613}}}):s)+'">'+e.escapeExpression(e.lambda(null!=(r=null!=i[1]?u(i[1],"customizations"):i[1])?u(r,"donate_text"):r,t))+"</a></div></div>"},4:function(){return'<p class="margin-top-x text-center"><a class="gg-branding-white-link" href="/highlighted_campaigns">View all</a></p>'},6:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="container section-wrapper"><h2 class="no-margin-top text-center gg-branding-supporting">'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"customizations"):t)?a(n,"highlighted_campaigns_heading"):n)?a(n,"plural"):n,t))+'</h2><p class="text-center">We aren\'t currently featuring any community initiatives, but you can explore all initiatives <a class="gg-branding-lead-link" href="/search">here</a>.</p></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"highlightedCampaigns"):t)?s(r,"length"):r,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.program(6,l,0,o,i),data:l,loc:{start:{line:1,column:0},end:{line:1,column:1247}}}))?r:""},useData:!0,useDepths:!0}),this.HandlebarsTemplates["highlighted_campaigns/highlighted_campaigns"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leader_optout/cornell2021"]=Handlebars.template({1:function(){return'<h2 class="h4 gg-branding-supporting">Thank You!</h2>You have been opted out.'},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="h4 gg-branding-supporting">Would you like to stop receiving emails about Giving Day?</h2><div class="form-group"><input class="form-control" placeholder="Email" type="text" value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"email")||(null!=t?i(t,"email"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:l,loc:{start:{line:1,column:293},end:{line:1,column:302}}}):o)+'" /></div><div class="errors text-danger hidden">Please enter valid email.</div><p class="small">When opting out, please note that you may be contacted by other Cornell affiliates about Giving Day.</p><button class="btn gg-branding-lead-btn">Opt Out</button>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"opted_out"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:567}}}))?o:""},useData:!0}),this.HandlebarsTemplates["leader_optout/cornell2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leader_optout/cornell2022"]=Handlebars.template({1:function(){return'<h2 class="h4 gg-branding-supporting">Thank You!</h2>You have been opted out.'},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="h4 gg-branding-supporting">Would you like to stop receiving emails about Giving Day?</h2><div class="form-group"><input aria-label="Email" class="form-control" placeholder="Email" type="text" value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"email")||(null!=t?i(t,"email"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:l,loc:{start:{line:1,column:312},end:{line:1,column:321}}}):o)+'" /></div><div class="errors text-danger hidden">Please enter valid email.</div><p class="small">When opting out, please note that you may be contacted by other Cornell affiliates about Giving Day.</p><button class="btn gg-branding-lead-btn">Opt Out</button>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"opted_out"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:586}}}))?o:""},useData:!0}),this.HandlebarsTemplates["leader_optout/cornell2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leader_optout/cornell2023"]=Handlebars.template({1:function(){return'<h2 class="h4 gg-branding-supporting">Thank You!</h2>You have been opted out.'},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="h4 gg-branding-supporting">Would you like to stop receiving emails about Giving Day?</h2><div class="form-group"><input aria-label="Email" class="form-control" placeholder="Email" type="text" value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"email")||(null!=t?i(t,"email"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:l,loc:{start:{line:1,column:312},end:{line:1,column:321}}}):o)+'" /></div><div class="errors text-danger hidden">Please enter valid email.</div><p class="small">When opting out, please note that you may be contacted by other Cornell affiliates about Giving Day.</p><button class="btn gg-branding-lead-btn">Opt Out</button>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"opted_out"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:586}}}))?o:""},useData:!0}),this.HandlebarsTemplates["leader_optout/cornell2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leader_optout/cornell2024"]=Handlebars.template({1:function(){return'<h2 class="h4 gg-branding-supporting">Thank You!</h2>You have been opted out.'},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="h4 gg-branding-supporting">Would you like to stop receiving emails about Giving Day?</h2><div class="form-group"><input aria-describedby="invalid-email" aria-label="Email" class="form-control" placeholder="Email" type="text" value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"email")||(null!=t?i(t,"email"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:l,loc:{start:{line:1,column:345},end:{line:1,column:354}}}):o)+'" /></div><div class="errors text-danger hidden" id="invalid-email">Please enter valid email.</div><p class="small">When opting out, please note that you may be contacted by other Cornell affiliates about Giving Day.</p><button class="btn gg-branding-lead-btn">Opt Out</button>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"opted_out"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:638}}}))?o:""},useData:!0}),this.HandlebarsTemplates["leader_optout/cornell2024"]}.call(this),function(){Handlebars.registerPartial("leaderboards/_business_fundraisers",Handlebars.template({1:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"name"):n,t))},3:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/business_fundraisers/'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"id"):n,t))+"/"+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"slug"):n,t))+'">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"name"):n,t))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"leaderboards_dog_id"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:199}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("leaderboards/_dog_pack",Handlebars.template({1:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"dog_url")||(null!=t?r(t,"dog_url"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"dog_url",hash:{},data:l,loc:{start:{line:1,column:54},end:{line:1,column:65}}}):i)+'">'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"measurable"):t)?r(o,"title"):o,t))+"</a>"},3:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"title"):n,t))},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"dog_url"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:126}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("leaderboards/_donor_survey_question",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"body"):n,t))},useData:!0}))}.call(this),function(){Handlebars.registerPartial("leaderboards/_groups",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/organizations/'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"measurable"):t)?a(n,"group"):n)?a(n,"slug"):n,t))+'">'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"measurable"):t)?a(n,"group"):n)?a(n,"name"):n,t))+"</a>"},useData:!0}))}.call(this),function(){Handlebars.registerPartial("leaderboards/_p2p_fundraisers",Handlebars.template({1:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"name"):n,t))},3:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/p2p/'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"id"):n,t))+"/"+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"user_slug"):n,t))+'">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"name"):n,t))+"</a>"},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"single_org"):o,{name:"unless",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:211},end:{line:1,column:381}}}))?o:""},6:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<small class="d-block ml-4"><a class="gg-branding-lead-link" href="'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"fundable_profile"):t)?a(n,"url"):n,t))+'">('+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"fundable_profile"):t)?a(n,"title"):n,t))+")</a></small>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"leaderboards_dog_id"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:187}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"fundable_profile"):t,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:187},end:{line:1,column:388}}}))?o:"")},useData:!0}))}.call(this),function(){Handlebars.registerPartial("leaderboards/_raise_the_bar_leaderboard",Handlebars.template({1:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="current-bonus flex"><span class="emoji mr-2">\ud83c\udfc6</span><div><h2 class="h1 mt-0">'+e.escapeExpression((o(n,"formatDollars")||t&&o(t,"formatDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"bonusUnlocked"):t,{name:"formatDollars",hash:{hide_cents:!0},data:l,loc:{start:{line:1,column:143},end:{line:1,column:190}}}))+'</h2><h3 class="h4 mb-0">Bonus unlocked</h3></div></div>'},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h4 class="text-center gg-branding-lead">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"allCompleteCopy")||(null!=t?i(t,"allCompleteCopy"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"allCompleteCopy",hash:{},data:l,loc:{start:{line:1,column:313},end:{line:1,column:332}}}):o)+"</h4>"},5:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="next-bonus flex"><span class="emoji mr-2">\ud83d\udd12</span><h3 class="h4 mb-0">Next bonus: '+e.escapeExpression((o(n,"formatDollars")||t&&o(t,"formatDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"nextBonus"):t,{name:"formatDollars",hash:{hide_cents:!0},data:l,loc:{start:{line:1,column:440},end:{line:1,column:483}}}))+"</h3></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="raise-the-bar mt-2">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"numCompleted"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:32},end:{line:1,column:253}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"allComplete"):t,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:253},end:{line:1,column:501}}}))?o:"")+"</div>"},useData:!0}))}.call(this),function(){Handlebars.registerPartial("leaderboards/_reg_survey_filtered",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/organizations/'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"measurable"):t)?a(n,"group"):n)?a(n,"slug"):n,t))+'">'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"measurable"):t)?a(n,"group"):n)?a(n,"name"):n,t))+"</a>"},useData:!0}))}.call(this),function(){Handlebars.registerPartial("leaderboards/_registration_type_filtered",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/organizations/'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"measurable"):t)?a(n,"group"):n)?a(n,"slug"):n,t))+'">'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"measurable"):t)?a(n,"group"):n)?a(n,"name"):n,t))+"</a>"},useData:!0}))}.call(this),function(){Handlebars.registerPartial("leaderboards/_support_areas",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/campaigns/'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"slug"):n,t))+'">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"measurable"):t)?a(n,"title"):n,t))+"</a>"},useData:!0}))}.call(this),function(){Handlebars.registerPartial("leaderboards/_umbrella_dog",Handlebars.template({1:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<small class="text-muted"> ('+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"address"):t)?a(n,"city"):n,t))+", "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"address"):t)?a(n,"state"):n,t))+")</small>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"dog_url")||(null!=t?r(t,"dog_url"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"dog_url",hash:{},data:l,loc:{start:{line:1,column:39},end:{line:1,column:50}}}):i)+"/organizations/"+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?r(t,"measurable"):t)?r(o,"group"):o)?r(o,"slug"):o,t))+'">'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?r(t,"measurable"):t)?r(o,"group"):o)?r(o,"name"):o,t))+"</a>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"reveal_location_in_lbs"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:121},end:{line:1,column:245}}}))?o:"")},useData:!0}))}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leaderboards/dropdown_choices"]=Handlebars.template({1:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<label class="font-weight-bold mt-3 giving-copy" for="lb-selection">'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"customizations"):t)?a(n,"leaderboard_selector_header"):n)?a(n,"giving_copy"):n,t))+'</label><label class="font-weight-bold mt-3 success-copy" for="lb-selection">'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"customizations"):t)?a(n,"leaderboard_selector_header"):n)?a(n,"success_copy"):n,t))+"</label>"},3:function(){return'<label class="font-weight-bold mt-3" for="lb-selection">Select a leaderboard to view:</label>'},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option data-slug="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"slug")||(null!=t?i(t,"slug"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"slug",hash:{},data:l,loc:{start:{line:1,column:555},end:{line:1,column:563}}}):o)+'" value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"id")||(null!=t?i(t,"id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:572},end:{line:1,column:578}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"title")||(null!=t?i(t,"title"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:580},end:{line:1,column:589}}}):o)+"</option>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"leaderboard_selector_header"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:428}}}))?o:"")+'<select aria-label="Select a leaderboard" class="lb-selector custom-select" id="lb-selection">'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"data"):t,{name:"each",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:522},end:{line:1,column:607}}}))?o:"")+"</select>"},useData:!0}),this.HandlebarsTemplates["leaderboards/dropdown_choices"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leaderboards/filter_options"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<select class="m-2 filter-option leaderboard-filter">'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"options"):t,{name:"each",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:208},end:{line:1,column:345}}}))?r:"")+"</select>"},2:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:240},end:{line:1,column:246}}
}):s)+'" '+(null!=(r=(u(n,"ifIncludes")||t&&u(t,"ifIncludes")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[2]?u(i[2],"selectedFilters"):i[2],null!=t?u(t,"id"):t,{name:"ifIncludes",hash:{},fn:e.program(3,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:248},end:{line:1,column:318}}}))?r:"")+">"+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"name")||(null!=t?u(t,"name"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:319},end:{line:1,column:327}}}):s)+"</option>"},3:function(){return" selected=true "},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="leaderboard-filters d-flex flex-column flex-md-row justify-content-center align-items-center m-3"><p class="mb-0">Filters:</p>'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"filters"):t,{name:"each",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:138},end:{line:1,column:363}}}))?r:"")+"</div>"},useData:!0,useDepths:!0}),this.HandlebarsTemplates["leaderboards/filter_options"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leaderboards/leaderboard"]=Handlebars.template({1:function(){return"mt-4"},3:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o="function"==typeof(i=null!=(i=r(n,"description")||(null!=t?r(t,"description"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:l,loc:{start:{line:1,column:90},end:{line:1,column:107}}}):i)?o:""},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"leaderboards/_raise_the_bar_leaderboard"),t,{name:"leaderboards/_raise_the_bar_leaderboard",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},7:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'data-sort="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"leaderboard_type")||(null!=t?i(t,"leaderboard_type"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"leaderboard_type",hash:{},data:l,loc:{start:{line:1,column:399},end:{line:1,column:419}}}):o)+'"'},9:function(){return'class="gg-branding-lead"'},11:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="dark-gray-link" href="#">\n  '+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"contestant_header")||(null!=t?r(t,"contestant_header"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"contestant_header",hash:{},data:l,loc:{start:{line:4,column:2},end:{line:4,column:23}}}):i)+"\n"+(null!=(o=(r(n,"ifEqual")||t&&r(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"sortColumn"):t,null!=t?r(t,"leaderboard_type"):t,{name:"ifEqual",hash:{},fn:e.program(12,l,0),inverse:e.noop,data:l,loc:{start:{line:5,column:2},end:{line:7,column:14}}}))?o:"")+"</a>\n"},12:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'  <span class="sort-icon gg-branding-lead">'+(null!=(o="function"==typeof(i=null!=(i=r(n,"sortIcon")||(null!=t?r(t,"sortIcon"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"sortIcon",hash:{},data:l,loc:{start:{line:6,column:43},end:{line:6,column:57}}}):i)?o:"")+"</span>\n"},14:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=r(n,"contestant_header")||(null!=t?r(t,"contestant_header"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"contestant_header",hash:{},data:l,loc:{start:{line:10,column:0},end:{line:10,column:21}}}):i)+"\n"+(null!=(o=(r(n,"ifEqual")||t&&r(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"sortColumn"):t,null!=t?r(t,"leaderboard_type"):t,{name:"ifEqual",hash:{},fn:e.program(15,l,0),inverse:e.noop,data:l,loc:{start:{line:11,column:0},end:{line:13,column:12}}}))?o:"")},15:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="sort-icon gg-branding-lead">'+(null!=(o="function"==typeof(i=null!=(i=r(n,"sortIcon")||(null!=t?r(t,"sortIcon"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"sortIcon",hash:{},data:l,loc:{start:{line:12,column:41},end:{line:12,column:55}}}):i)?o:"")+"</span>\n"},17:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<th data-sort="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"name")||(null!=t?u(t,"name"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:14,column:56},end:{line:14,column:64}}}):s)+'" aria-sort="'+(null!=(r=(u(n,"ifEqual")||t&&u(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?u(i[1],"sortColumn"):i[1],null!=t?u(t,"name"):t,{name:"ifEqual",hash:{},fn:e.program(18,l,0,o,i),inverse:e.program(20,l,0,o,i),data:l,loc:{start:{line:14,column:77},end:{line:14,column:154}}}))?r:"")+'" scope="col">'+(null!=(r=(u(n,"ifEqual")||t&&u(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?u(i[1],"sortColumn"):i[1],null!=t?u(t,"name"):t,{name:"ifEqual",hash:{},fn:e.program(22,l,0,o,i),inverse:e.program(24,l,0,o,i),data:l,loc:{start:{line:14,column:168},end:{line:14,column:398}}}))?r:"")+"</th>"},18:function(e,t,n,a,l,o,i){var r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=i[1]?r(i[1],"sortDirection"):i[1],t))+'"'},20:function(){return"none"},22:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="#" role="button">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"label")||(null!=t?u(t,"label"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:14,column:255},end:{line:14,column:264}}}):s)+'<span class="sort-icon">'+(null!=(r=e.lambda(null!=i[1]?u(i[1],"sortIcon"):i[1],t))?r:"")+"</span></a>"},24:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="dark-gray-link" href="#" role="button">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"label")||(null!=t?i(t,"label"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:14,column:373},end:{line:14,column:382}}}):o)+"</a>"},26:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<tr><td scope="row">'+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"lbRankedByColumn"):i[1],{name:"if",hash:{},fn:e.program(27,l,0,o,i),inverse:e.program(29,l,0,o,i),data:l,loc:{start:{line:14,column:469},end:{line:14,column:749}}}))?r:"")+"</td>"+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"leaderboard_columns"):t,{name:"each",hash:{},fn:e.program(31,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:14,column:754},end:{line:14,column:837}}}))?r:"")+"</tr>"},27:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=e.invokePartial((s(n,"leaderboardEntryPartial")||t&&s(t,"leaderboardEntryPartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"leaderboard_type"):i[1],{name:"leaderboardEntryPartial",hash:{},data:l,loc:{start:{line:14,column:501},end:{line:14,column:546}}}),t,{hash:{customizations:null!=i[1]?s(i[1],"customizations"):i[1]},data:l,helpers:n,partials:a,decorators:e.decorators}))?r:""},29:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="lb-ranking">'+e.escapeExpression((s(n,"calculateRank")||t&&s(t,"calculateRank")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},l&&s(l,"index"),{name:"calculateRank",hash:{},data:l,loc:{start:{line:14,column:614},end:{line:14,column:638}}}))+". </span>"+(null!=(r=e.invokePartial((s(n,"leaderboardEntryPartial")||t&&s(t,"leaderboardEntryPartial")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"leaderboard_type"):i[1],{name:"leaderboardEntryPartial",hash:{},data:l,loc:{start:{line:14,column:651},end:{line:14,column:696}}}),t,{hash:{dog:null!=i[1]?s(i[1],"dog"):i[1],customizations:null!=i[1]?s(i[1],"customizations"):i[1]},data:l,helpers:n,partials:a,decorators:e.decorators}))?r:"")},31:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<td>"+e.escapeExpression((o(n,"formatLeaderboardValue")||t&&o(t,"formatLeaderboardValue")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},l&&o(l,"key"),t,{name:"formatLeaderboardValue",hash:{},data:l,loc:{start:{line:14,column:787},end:{line:14,column:823}}}))+"</td>"},33:function(){return'<div class="text-center margin-top"><button class="btn btn-sm gg-branding-lead-btn load-more">See More</button></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"description"):t,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:12},end:{line:1,column:42}}}))?r:"")+'" id="lb-'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:51},end:{line:1,column:57}}}):s)+'-description">'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"description"):t,{name:"if",hash:{},fn:e.program(3,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:71},end:{line:1,column:114}}}))?r:"")+"</div>"+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"raiseTheBarLb"):t,{name:"if",hash:{},fn:e.program(5,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:120},end:{line:1,column:193}}}))?r:"")+'<div class="table-responsive mt-4"><table aria-describedby="lb-'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:256},end:{line:1,column:262}}}):s)+'-description" class="table table-borderless table-striped"><thead><tr><th '+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?u(t,"customizations"):t)?u(r,"sortable_lb_contestant_header"):r,{name:"if",hash:{},fn:e.program(7,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:336},end:{line:1,column:427}}}))?r:"")+" "+(null!=(r=(u(n,"ifEqual")||t&&u(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?u(t,"sortColumn"):t,null!=t?u(t,"leaderboard_type"):t,{name:"ifEqual",hash:{},fn:e.program(9,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:428},end:{line:1,column:504}}}))?r:"")+' scope="col">\n'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?u(t,"customizations"):t)?u(r,"sortable_lb_contestant_header"):r,{name:"if",hash:{},fn:e.program(11,l,0,o,i),inverse:e.program(14,l,0,o,i),data:l,loc:{start:{line:2,column:0},end:{line:14,column:7}}}))?r:"")+"</th>"+(null!=(r=u(n,"each").call(null!=t?t:e.nullContext||{},null!=t?u(t,"leaderboard_columns"):t,{name:"each",hash:{},fn:e.program(17,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:14,column:12},end:{line:14,column:412}}}))?r:"")+"</tr></thead><tbody>"+(null!=(r=u(n,"each").call(null!=t?t:e.nullContext||{},null!=t?u(t,"results"):t,{name:"each",hash:{},fn:e.program(26,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:14,column:432},end:{line:14,column:851}}}))?r:"")+"</tbody></table></div>"+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"showSeeMore"):t,{name:"if",hash:{},fn:e.program(33,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:14,column:873},end:{line:14,column:1016}}}))?r:"")},usePartial:!0,useData:!0,useDepths:!0}),this.HandlebarsTemplates["leaderboards/leaderboard"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leaderboards/leaderboard_container"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="lb-'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"id")||(null!=t?r(t,"id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:12},end:{line:1,column:18}}}):i)+'"><div class="search-loader mx-auto">'+(null!=(o=e.invokePartial(r(a,"shared/_loading_indicator"),t,{name:"shared/_loading_indicator",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</div></div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["leaderboards/leaderboard_container"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leaderboards/prizes/multiple_prizes"]=Handlebars.template({1:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="mt-4">'+(null!=(o="function"==typeof(i=null!=(i=r(n,"description")||(null!=t?r(t,"description"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:l,loc:{start:{line:1,column:37},end:{line:1,column:54}}}):i)?o:"")+"</div>"},3:function(){return"<th><strong>Time</strong></th>"},5:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<tr>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"sponsor_name"):t,{name:"if",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:384},end:{line:1,column:472}}}))?o:"")+'<td class="size-12-xs">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"description")||(null!=t?r(t,"description"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:l,loc:{start:{line:1,column:495},end:{line:1,column:510}}}):i)+"</td><td>"+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"prize_text")||(null!=t?r(t,"prize_text"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"prize_text",hash:{},data:l,loc:{start:{line:1,column:519},end:{line:1,column:533}}}):i)+"</td><td>"+(null!=(o=r(n,"each").call(null!=t?t:e.nullContext||{},null!=t?r(t,"winners"):t,{name:"each",hash:{},fn:e.program(8,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:542},end:{line:1,column:826}}}))?o:"")+"</td></tr>"},6:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<td class="text-nowrap">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"sponsor_name")||(null!=t?i(t,"sponsor_name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"sponsor_name",hash:{},data:l,loc:{start:{line:1,column:428},end:{line:1,column:444}}}):o)+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"sponsor_link")||(null!=t?i(t,"sponsor_link"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"sponsor_link",hash:{},data:l,loc:{start:{line:1,column:444},end:{line:1,column:460}}}):o)+"</td>"},8:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"winner_type"):t,"Group",{name:"ifEqual",hash:{},fn:e.program(9,l,0),inverse:e.program(11,l,0),data:l,loc:{start:{line:1,column:559},end:{line:1,column:783}}}))?o:"")+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},l&&i(l,"last"),{name:"unless",hash:{},fn:e.program(13,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:783},end:{line:1,column:817}}}))?o:"")},9:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/organizations/'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"winner_id")||(null!=t?i(t,"winner_id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"winner_id",hash:{},data:l,loc:{start:{line:1,column:645},end:{line:1,column:658}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"winner_name")||(null!=t?i(t,"winner_name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"winner_name",hash:{},data:l,loc:{start:{line:1,column:660},end:{line:1,column:675}}}):o)+"</a>"},11:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/campaigns/'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"winner_id")||(null!=t?i(t,"winner_id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"winner_id",hash:{},data:l,loc:{start:{line:1,column:737},end:{line:1,column:750}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"winner_name")||(null!=t?i(t,"winner_name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"winner_name",hash:{},data:l,loc:{start:{line:1,column:752},end:{line:1,column:767}}}):o)+"</a>"},13:function(){return"<br />"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"description"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:67}}}))?o:"")+'<div class="table-responsive mt-4 '+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"cssClass")||(null!=t?r(t,"cssClass"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"cssClass",hash:{},data:l,loc:{start:{line:1,column:101},end:{line:1,column:113}}}):i)+'"><table class="table table-borderless table-striped"><thead><tr>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=(o=null!=t?r(t,"prizes"):t)?r(o,"0"):o)?r(o,"sponsor_name"):o,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:178},end:{line:1,column:246}}}))?o:"")+"<th><strong>Challenge</strong></th><th><strong>Bonus</strong></th><th><strong>Winner</strong></th></tr></thead><tbody>"+(null!=(o=r(n,"each").call(null!=t?t:e.nullContext||{},null!=t?r(t,"prizes"):t,{name:"each",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:364},end:{line:1,column:845}}}))?o:"")+"</tbody></table></div>"},useData:!0}),this.HandlebarsTemplates["leaderboards/prizes/multiple_prizes"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leaderboards/prizes/multiple_winners"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 class="gg-branding-lead">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"title")||(null!=t?u(t,"title"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:45},end:{line:1,column:54}}}):s)+"</h3><p>"+e.escapeExpression((u(n,"newlinesToHtml")||t&&u(t,"newlinesToHtml")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?u(t,"description"):t,{name:"newlinesToHtml",hash:{},data:l,loc:{start:{line:1,column:62},end:{line:1,column:92}}}))+'</p><div class="table-responsive mt-4 '+e.escapeExpression(e.lambda(null!=i[1]?u(i[1],"cssClass"):i[1],t))+'"><table class="table table-borderless table-striped"><thead><tr><th><strong>Winner</strong></th><th><strong>Bonus</strong></th></tr></thead><tbody>'+(null!=(r=u(n,"each").call(null!=t?t:e.nullContext||{},null!=t?u(t,"winners"):t,{name:"each",hash:{},fn:e.program(2,l,0,o,i),inverse:e.program(7,l,0,o,i),data:l,loc:{start:{line:1,column:293},end:{line:1,column:620}}}))?r:"")+"</tbody></table></div>"},2:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<tr><td>"+(null!=(o=(r(n,"ifEqual")||t&&r(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"winner_type"):t,"Group",{name:"ifEqual",hash:{},fn:e.program(3,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:318},end:{line:1,column:542}}}))?o:"")+"</td><td>"+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"winner_text")||(null!=t?r(t,"winner_text"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"winner_text",hash:{},data:l,loc:{start:{line:1,column:551},end:{line:1,column:566}}}):i)+"</td></tr>"},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/organizations/'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"winner_id")||(null!=t?i(t,"winner_id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"winner_id",hash:{},data:l,loc:{start:{line:1,column:404},end:{line:1,column:417}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"winner_name")||(null!=t?i(t,"winner_name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"winner_name",hash:{},data:l,loc:{start:{line:1,column:419},end:{line:1,column:434}}}):o)+"</a>"},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="/campaigns/'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"winner_id")||(null!=t?i(t,"winner_id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"winner_id",hash:{},data:l,loc:{start:{line:1,column:496},end:{line:1,column:509}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"winner_name")||(null!=t?i(t,"winner_name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"winner_name",hash:{},data:l,loc:{start:{line:1,column:511},end:{line:1,column:526}}}):o)+"</a>"},7:function(){return"<tr><td></td><td></td></tr>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"prizes"):t,{name:"each",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:651}}}))?r:""},useData:!0,useDepths:!0}),this.HandlebarsTemplates["leaderboards/prizes/multiple_winners"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["leaderboards/tabbed_choices"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li class="leaderboards-nav-item nav-item m-2">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"is_link"):t,{name:"if",hash:{},fn:e.program(2,l,0),inverse:e.program(4,l,0),data:l,loc:{start:{line:1,column:134},end:{line:1,column:443}}}))?o:"")+"</li>"},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="nav-link flex-sm-fill text-sm-center gg-branding-lead" data-simple-link="true" href="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"href")||(null!=t?i(t,"href"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"href",hash:{},data:l,loc:{start:{line:1,column:244},end:{line:1,column:252}}}):o)+'" role="button">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"title")||(null!=t?i(t,"title"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:268},end:{line:1,column:277}}}):o)+"</a>"},4:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="nav-link flex-sm-fill text-sm-center gg-branding-lead" data-lb="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"id")||(null!=t?i(t,"id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:363},end:{line:1,column:369}}}):o)+'" data-slug="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"slug")||(null!=t?i(t,"slug"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"slug",hash:{},data:l,loc:{start:{line:1,column:382},end:{line:1,column:390}}}):o)+'" href="#'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"slug")||(null!=t?i(t,"slug"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"slug",hash:{},data:l,loc:{start:{line:1,column:399},end:{line:1,column:407}}}):o)+'" role="button">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"title")||(null!=t?i(t,"title"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:423},end:{line:1,column:432}}}):o)+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul class="nav nav-pills justify-content-center flex-column flex-sm-row">'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"data"):t,{name:"each",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:73},end:{line:1,column:457}}}))?o:"")+"</ul>"},useData:!0}),this.HandlebarsTemplates["leaderboards/tabbed_choices"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates.login_modal=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="login-header gg-branding-backdrop-bg gg-branding-primary-bg"><div class="logo"><img alt="" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"images"):t)?r(o,"dogLogo"):o,t))+'" /></div></div><div class="modal-body"><div class="errors hidden" id="modal-errors"></div><h2 class="gg-branding-backdrop text-center">Welcome Back!</h2><form><div class="row"><div class="col-sm-8 offset-sm-2"><div class="form-group"><label for="donor-email-modal">Email</label><input autocomplete="off" class="form-control" id="donor-email-modal" required="required" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"donor_email")||(null!=t?r(t,"donor_email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"donor_email",hash:{},data:l,loc:{start:{line:1,column:514},end:{line:1,column:529}}}):i)+'" /></div><div class="form-group"><label for="password-prompt">Password</label><input class="form-control" id="password-prompt" name="password" required="required" type="password" /></div><div class="form-group margin-top-x"><button class="btn gg-branding-lead-btn" type="submit">Log In</button><button class="btn gg-branding-lead-btn margin-left" data-dismiss="modal">Cancel</button></div></div></div></form><div class="margin-top-x text-center"><a class="dark-gray-link" href="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"ggWebUrl")||(null!=t?r(t,"ggWebUrl"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"ggWebUrl",hash:{},data:l,loc:{start:{line:1,column:1008},end:{line:1,column:1020}}}):i)+'/password/new" target="_blank">Forgot your password?</a></div></div>'},useData:!0}),this.HandlebarsTemplates.login_modal}.call(this),function(){Handlebars.registerPartial("multigive/_anonymity_options",Handlebars.template({1:function(){return'<legend class="h6">Privacy Option(s)</legend>'},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group ml-4"><div class="form-check"><input id="anonymous" class="anonymous form-check-input" type="checkbox" '+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"anonymous"):t,{name:"if",hash:{},fn:e.program(4,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:369},end:{line:1,column:409}}}))?o:"")+' /><label class="form-check-label" for="anonymous">Please do not display a name publicly.</label></div></div>'},4:function(){return' checked="true" '},6:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group ml-4"><div class="form-check"><input id="hide-amount" class="hide-amount form-check-input" type="checkbox" '+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"hide_amount"):t,{name:"if",hash:{},fn:e.program(4,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:706},end:{line:1,column:748}}}))?o:"")+' /><label class="form-check-label" for="hide-amount">Please do not display the '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"donation_noun"):o,t))+" amount publicly.</label></div></div>"},8:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group ml-4"><div class="form-check"><input id="totally-anonymous" class="form-check-input totally-anonymous" type="checkbox" '+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"totally_anonymous"):t,{name:"if",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1077},end:{line:1,column:1126}}}))?o:"")+'><label class="form-check-label" for="totally-anonymous">Hide my name from this '+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"org_label_set"):o)?i(o,"singular"):o,t))+' and the public.<button aria-label="info-popover" class="ml-1 popover-info" data-content="'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"super_anonymous_help_copy"):o,{name:"if",hash:{},fn:e.program(11,l,0),inverse:e.program(13,l,0),data:l,loc:{start:{line:1,column:1331},end:{line:1,column:1734}}}))?o:"")+'" data-placement="bottom" data-trigger="focus hover" rel="popover">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"gg-branding-supporting info-icon",sprite:"info-2"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</button></label></div></div>"},9:function(){return'checked="checked"'},11:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"super_anonymous_help_copy"):n,t))},13:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"Your donor information will be hidden from both the public and the "+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"org_label_set"):o)?i(o,"singular"):o,t))+". Only "+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"super_anon_message_target"):o,{name:"if",hash:{},fn:e.program(14,l,0),inverse:e.program(16,l,0),data:l,loc:{start:{line:1,column:1540},end:{line:1,column:1664}}}))?o:"")+" will receive your information, which will remain confidential."},14:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"super_anon_message_target"):n,t))+" "},16:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]}
;return" "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"title"):n,t))+" "},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<fieldset>"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},(i(n,"or")||t&&i(t,"or")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"reveal_anonymous_checkbox"):o,(i(n,"or")||t&&i(t,"or")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"reveal_hide_amount_checkbox"):o,null!=(o=null!=t?i(t,"dog"):t)?i(o,"totally_anonymous_enabled"):o,{name:"or",hash:{},data:l,loc:{start:{line:1,column:61},end:{line:1,column:139}}}),{name:"or",hash:{},data:l,loc:{start:{line:1,column:16},end:{line:1,column:140}}}),{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:10},end:{line:1,column:194}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"reveal_anonymous_checkbox"):o,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:194},end:{line:1,column:525}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"reveal_hide_amount_checkbox"):o,{name:"if",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:525},end:{line:1,column:897}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"totally_anonymous_enabled"):o,{name:"if",hash:{},fn:e.program(8,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:897},end:{line:1,column:1922}}}))?o:"")+"</fieldset>"},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_business_fundraiser_confirm",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="fundraiser-box"><div class="flex">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"business"):t)?i(o,"logo_url"):o,{name:"if",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:76},end:{line:1,column:150}}}))?o:"")+'<div class="center"><p class="nomargin">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=(o=null!=(o=null!=t?i(t,"customizations"):t)?i(o,"bus_fund_copy"):o)?i(o,"multigive"):o)?i(o,"confirmation"):o,{name:"if",hash:{},fn:e.program(4,l,0),inverse:e.program(6,l,0),data:l,loc:{start:{line:1,column:190},end:{line:1,column:389}}}))?o:"")+" <strong>"+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"business"):t)?i(o,"name"):o,t))+".</strong> </p></div></div></div>"},2:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img alt="" src="'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"business"):t)?a(n,"logo_url"):n,t))+'" />'},4:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=(n=null!=t?a(t,"customizations"):t)?a(n,"bus_fund_copy"):n)?a(n,"multigive"):n)?a(n,"confirmation"):n,t))},6:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"Your "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"donation_noun"):n,t))+" will count towards employee giving for"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"business_fundraiser_id"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:455}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_credit_card_fields",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(){return'<div id="credit-card-fields"><div class="form-group"><label for="card-element">Credit Card Info</label><div aria-describedby="invalid-card-info" class="form-control" id="card-element"></div><div class="form-text invalid hidden" id="invalid-card-info" role="alert">Please enter credit card information.</div></div></div>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_daf_fields",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group"><label for="daf-foundation-name">Where are your funds held?</label><select class="custom-select" id="daf-foundation-name"><option value="">Choose One</option>'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"daf_foundations"):o,{name:"each",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:233},end:{line:1,column:313}}}))?o:"")+'</select><div class="form-text invalid hidden" role="alert">Please select a foundation.</div></div>'},2:function(e,t){return'<option value="'+e.escapeExpression(e.lambda(t,t))+'">'+e.escapeExpression(e.lambda(t,t))+"</option>"},4:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" at "+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"singleDafFoundationName")||(null!=t?i(t,"singleDafFoundationName"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"singleDafFoundationName",hash:{},data:l,loc:{start:{line:1,column:530},end:{line:1,column:557}}}):o)},6:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group"><label for="daf-fund-number">What is your fund number'+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?i(t,"multipleDafFoundations"):t,{name:"unless",hash:{},fn:e.program(4,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:898},end:{line:1,column:974}}}))?o:"")+'? (optional)</label><input autocomplete="off" class="form-control" id="daf-fund-number" type="text" value="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"daf_data"):t)?i(o,"fund_number"):o,t))+'" /></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="daf-fields">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"multipleDafFoundations"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:21},end:{line:1,column:419}}}))?o:"")+'<div class="form-group"><label for="daf-fund-name">What is your fund name'+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?i(t,"multipleDafFoundations"):t,{name:"unless",hash:{},fn:e.program(4,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:492},end:{line:1,column:568}}}))?o:"")+'?</label><input autocomplete="off" class="form-control" id="daf-fund-name" type="text" value="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"daf_data"):t)?i(o,"fund_name"):o,t))+'" /><div class="form-text invalid hidden" role="alert">Please enter fund name.</div></div>'+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"hide_daf_fund_number"):o,{name:"unless",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:774},end:{line:1,column:1126}}}))?o:"")+"</div>"},useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_dedication_fields",Handlebars.template({1:function(){return' checked="true" '},3:function(){return" hidden "},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-check"><label class="form-check-label" for="is-dedicated-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'"><input id="is-dedicated-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'" class="form-check-input is-dedicated" type="checkbox" '+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"is_dedicated"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:176},end:{line:1,column:219}}}))?o:"")+" />Make this "+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dogBreed"):t)?r(o,"donation_noun"):o,t))+' in honor of or in memory of someone.</label></div><div class="dedication-fields '+(null!=(o=r(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?r(t,"is_dedicated"):t,{name:"unless",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:339},end:{line:1,column:382}}}))?o:"")+'"><div class="form-group"><label for="dedication-type-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'">Select dedication type:</label><select class="dedication-type custom-select" id="dedication-type-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'"><option value="honor">In honor</option><option value="memory">In memory</option></select></div><div class="form-group"><label for="dedication-name-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'">Name:</label><input class="form-control dedication-name" id="dedication-name-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"dedication_name")||(null!=t?r(t,"dedication_name"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"dedication_name",hash:{},data:l,loc:{start:{line:1,column:824},end:{line:1,column:843}}}):i)+'" /><p class="form-text invalid hidden" role="alert">Please enter in honor/memory of dedication name.</p></div><div class="form-check"><label class="form-check-label" for="notify-honoree-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'"><input id="notify-honoree-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'" class="notify-honoree form-check-input" type="checkbox" '+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"notify_honoree"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1136},end:{line:1,column:1181}}}))?o:"")+' />Notify this individual or their family of my gift.<span data-content="The donor name that you enter will be revealed in the email that is sent to the honoree, regardless of any anonymity settings that are selected in the final step of this donation." data-placement="top" data-trigger="focus hover" rel="popover" tabindex="0">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"gg-branding-supporting info-icon",sprite:"info-2"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</span></label></div><div class="notify-honoree-info '+(null!=(o=r(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?r(t,"notify_honoree"):t,{name:"unless",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1648},end:{line:1,column:1693}}}))?o:"")+'"><div class="form-group"><label for="dedication-email-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'">Email:</label><input class="form-control dedication-email" id="dedication-email-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"dedication_email")||(null!=t?r(t,"dedication_email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"dedication_email",hash:{},data:l,loc:{start:{line:1,column:1871},end:{line:1,column:1891}}}):i)+'" /></div><div class="form-group"><label for="dedication-message-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'">Custom message (optional):<span data-content="This message will only be included in the dedication notification email. It will not be displayed publicly anywhere." data-placement="bottom" data-trigger="focus hover" rel="popover" tabindex="0">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"gg-branding-supporting info-icon",sprite:"info-2"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</span></label><input class="form-control dedication-message" id="dedication-message-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"dedication_message")||(null!=t?r(t,"dedication_message"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"dedication_message",hash:{},data:l,loc:{start:{line:1,column:2411},end:{line:1,column:2433}}}):i)+'" /></div></div></div>'},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_donation_step_ladder",Handlebars.template({1:function(){return"assertive"},3:function(){return"off"},5:function(){return"true"},7:function(){return"false"},9:function(){return"gg-branding-lead"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ol class="donation-steps m-0"><li aria-live="'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,1,{name:"ifEqual",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:46},end:{line:1,column:97}}}))?o:"")+'" class="donation-step"><button aria-current="'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,1,{name:"ifEqual",hash:{},fn:e.program(5,l,0),inverse:e.program(7,l,0),data:l,loc:{start:{line:1,column:143},end:{line:1,column:191}}}))?o:"")+'" aria-disabled="'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,1,{name:"ifEqual",hash:{},fn:e.program(5,l,0),inverse:e.program(7,l,0),data:l,loc:{start:{line:1,column:208},end:{line:1,column:256}}}))?o:"")+'" class="btn-with-icon step-choice '+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,1,{name:"ifEqual",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:291},end:{line:1,column:338}}}))?o:"")+'" data-wz="'+e.escapeExpression((i(n,"stepDistance")||t&&i(t,"stepDistance")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,1,{name:"stepDistance",hash:{},data:l,loc:{start:{line:1,column:349},end:{line:1,column:372}}}))+'"><span class="step-number">1</span><span class="step-title">Amount</span></button></li><li aria-live="'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,2,{name:"ifEqual",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:475},end:{line:1,column:526}}}))?o:"")+'" class="donation-step"><button aria-current="'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,2,{name:"ifEqual",hash:{},fn:e.program(5,l,0),inverse:e.program(7,l,0),data:l,loc:{start:{line:1,column:572},end:{line:1,column:620}}}))?o:"")+'" aria-disabled="'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,2,{name:"ifEqual",hash:{},fn:e.program(5,l,0),inverse:e.program(7,l,0),data:l,loc:{start:{line:1,column:637},end:{line:1,column:685}}}))?o:"")+'" class="btn-with-icon step-choice '+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,2,{name:"ifEqual",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:720},end:{line:1,column:767}}}))?o:"")+'" data-wz="'+e.escapeExpression((i(n,"stepDistance")||t&&i(t,"stepDistance")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,2,{name:"stepDistance",hash:{},data:l,loc:{start:{line:1,column:778},end:{line:1,column:801}}}))+'"><span class="step-number">2</span><span class="step-title">Payment</span></button></li><li aria-live="'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,3,{name:"ifEqual",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:905},end:{line:1,column:956}}}))?o:"")+'" class="donation-step"><button aria-current="'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,3,{name:"ifEqual",hash:{},fn:e.program(5,l,0),inverse:e.program(7,l,0),data:l,loc:{start:{line:1,column:1002},end:{line:1,column:1050}}}))?o:"")+'" aria-disabled="'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,2,{name:"ifEqual",hash:{},fn:e.program(7,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:1067},end:{line:1,column:1115}}}))?o:"")+'" class="btn-with-icon step-choice '+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,3,{name:"ifEqual",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1150},end:{line:1,column:1197}}}))?o:"")+'" data-wz="'+e.escapeExpression((i(n,"stepDistance")||t&&i(t,"stepDistance")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"step"):t,3,{name:"stepDistance",hash:{},data:l,loc:{start:{line:1,column:1208},end:{line:1,column:1231}}}))+'"><span class="step-number">3</span><span class="step-title">Confirmation</span></button></li></ol>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_e_card_fields",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="e-card-fields"><div class="form-group"><label for="e-card-number">eCard Number</label><input autocomplete="off" class="form-control" id="e-card-number" type="text" value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"e_card_number")||(null!=t?i(t,"e_card_number"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"e_card_number",hash:{},data:l,loc:{start:{line:1,column:180},end:{line:1,column:197}}}):o)+'" /><div class="form-text invalid hidden" role="alert">Please enter valid number.</div></div><div class="row"><div class="col-6"><div class="form-group"><label for="exp-month" id="exp-label">Expiration Date</label><span aria-describedby="exp-label" class="form-control d-inline-flex justify-content-center" id="exp-date"><input aria-label="Expiration Month" class="border-0 w-50" id="exp-month" pattern="^1[0-2]$|^0[1-9]$" placeholder="MM" type="text" /><span class="w-50">/</span><input aria-label="Expiration Year" class="border-0 w-50" id="exp-year" pattern="^[0-9]{2}$" placeholder="YY" type="text" /></span><div class="form-text invalid hidden" role="alert">Please enter valid expiration.</div></div></div><div class="col-6"><div class="form-group"><label for="pin-num">PIN</label><input class="form-control" id="pin-num" /><div class="form-text invalid hidden" role="alert">Please enter valid PIN.</div></div></div></div><div class="ecard-msg"></div></div>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_plaid_fields",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(){return'<div id="plaid-fields"><p>You\'ll be prompted for your bank account information once you click "Submit" on the next step.</p></div>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_post_donation_causes",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="col-sm-4"><a class="gg-branding-lead-link" href="/causes/'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"slug")||(null!=t?i(t,"slug"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"slug",hash:{},data:l,loc:{start:{line:1,column:133},end:{line:1,column:141}}}):o)+'"><h3>'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"name")||(null!=t?i(t,"name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:147},end:{line:1,column:155}}}):o)+'</h3><img alt="" class="mw-100" src="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"picture_url")||(null!=t?i(t,"picture_url"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"picture_url",hash:{},data:l,loc:{start:{line:1,column:192},end:{line:1,column:207}}}):o)+'" /></a></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3>More causes to support</h3><div class="row">'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"causes"):t,{name:"each",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:48},end:{line:1,column:230}}}))?o:"")+"</div>"},useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_recurring_fields",Handlebars.template({1:function(){return' checked="true" '},3:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' value="'+e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"recurring_max_amount"):t,{name:"centsToDollars",hash:{dollar_sign:!1},data:l,loc:{start:{line:1,column:1381},end:{line:1,column:1438}}}))+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-check"><label class="form-check-label" for="recurring-check-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'"><input id="recurring-check-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'" class="recurring-check form-check-input" type="checkbox" '+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"recurring"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:185},end:{line:1,column:225}}}))?o:"")+" />"+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"customizations"):t)?i(o,"recurring_checkbox_copy"):o,t))+'</label></div><div class="recurring-options hidden"><label for="recurring-frequency-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'">Select recurring donation frequency:</label><select class="custom-select recurring-frequency-dropdown" id="recurring-frequency-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'"><option value="monthly">Monthly</option><option value="quarterly">Quarterly</option></select><label class="mt-3" for="recurring-end-type-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'">Select recurring donation end type:</label><select class="custom-select recurring-end-dropdown" id="recurring-end-type-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'"><option value="">Until I cancel it</option><option value="date">Until a set date</option><option value="amount">Up to a set balance</option></select><label class="mt-3 hidden" for="recurring-max-amount-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'">Select maximum '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"donation_noun"):o,t))+' amount:</label><div class="input-group recurring-max hidden"><div class="input-group-prepend"><span class="input-group-text">$</span></div><input id="recurring-max-amount-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'" class="recurring-max-amount form-control" type="number" placeholder="Maximum '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"donation_noun"):o,t))+' amount" required '+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"recurring_max_amount"):t,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1345},end:{line:1,column:1446}}}))?o:"")+' /><div class="form-text w-100 invalid hidden" role="alert">Please enter recurring donation maximum amount.</div><div class="form-text w-100 text-muted">This must be more than the initial '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"donation_noun"):o,t))+'.</div></div><label class="mt-3 hidden" for="recurring-end-date-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'">Select recurring donation end date:</label><div class="input-group recurring-end-date hidden"><div class="input-group-prepend recurring-calendar" data-toggle="true"><span class="input-group-text">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"calendar-3"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</span></div><input autocomplete="off" class="recurring-end-date-picker form-control" data-input="true" id="recurring-end-date-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'" placeholder="Recurring donation end date" required="required" type="tel" /><div class="form-text w-100 invalid hidden" role="alert">Please enter recurring donation end date.</div></div></div>'},usePartial:!0,useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_save_source",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(){return'<div class="form-check ml-4"><input class="form-check-input" id="save-source" type="checkbox" /><label class="form-check-label" for="save-source">Save this payment information</label></div><div class="password-prompt form-group hidden"><label for="password-prompt">Please provide a password (required)</label><input autocomplete="off" class="form-control" id="password-prompt" type="password" /><span class="password-hint">8 characters are required. Use letters, at least one number and one special character (#$%&\'()*+,-./:;<=>?_!)</span></div>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_search_result",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(){return'<template v-slot:result-option="{ option }"><div class="multigive-search-listing media-flex"><div class="icon" v-if="!custom(&#39;hide_donation_search_result_logos&#39;)"><img :src="option.logo" alt="" /></div><div class="body-area"><h5 v-text="option.name"></h5><h6 v-if="dog.dog_breed.location_search_enabled" v-text="`${option.address.city}, ${option.address.state}`"></h6></div></div></template>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("multigive/_security",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="security-wrapper"><div>Securely processed with:</div><div class="security-container flex-wrap"><div class="security-item"><div class="security-image"><div class="lock"><img alt="" src="'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"images"):t)?a(n,"security"):n,t))+'" /></div></div><div class="security-type">SSL</div></div><div class="security-item"><div class="security-image"><div class="lock"><img alt="" src="'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"images"):t)?a(n,"security"):n,t))+'" /></div></div><div class="security-type">256 Bit Encryption</div></div><div class="security-item"><div class="security-image"><div class="lock"><img alt="" src="'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"images"):t)?a(n,"security"):n,t))+'" /></div></div><div class="security-type">reCAPTCHA</div></div></div><p class="mb-0"><a class="gg-branding-lead-link" href="https://policies.google.com/privacy" target="_blank">Google Privacy Policy</a> and <a class="gg-branding-lead-link" href="https://policies.google.com/terms" target="_blank">Terms of Service</a> apply.<br />Learn more about how your information is used following a '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"donation_noun"):n,t))+': <a class="gg-branding-lead-link" href="https://www.bonterratech.com/legal/privacy-policy">Privacy Policy</a>.</p></div>'},useData:!0}))}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/bus_fund_faf_dropdown"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="fundraiser-box margin-top-x"><div class="flex">'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"logo"):t,{name:"if",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:73},end:{line:1,column:121}}}))?r:"")+'<div class="center"><p>'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"prompt")||(null!=t?u(t,"prompt"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"prompt",hash:{},data:l,loc:{start:{line:1,column:144},end:{line:1,column:154}}}):s)+'</p><div class="text-center"><div class="form-inline flex-column flex-md-row justify-content-center"><label for="choose-'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"type")||(null!=t?u(t,"type"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"type",hash:{},data:l,loc:{start:{line:1,column:274},end:{line:1,column:282}}}):s)+'">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"label")||(null!=t?u(t,"label"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:l,loc:{start:{line:1,column:284},end:{line:1,column:293}}}):s)+':</label><select class="custom-select mx-sm-3" id="choose-'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"type")||(null!=t?u(t,"type"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"type",hash:{},data:l,loc:{start:{line:1,column:351},end:{line:1,column:359}}}):s)+'"><option value="">None</option>'+(null!=(r=u(n,"each").call(null!=t?t:e.nullContext||{},null!=t?u(t,"models"):t,{name:"each",hash:{},fn:e.program(4,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:391},end:{line:1,column:527}}}))?r:"")+"</select>(Optional)</div></div></div></div></div>"},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img alt="" src="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"logo")||(null!=t?i(t,"logo"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"logo",hash:{},data:l,loc:{start:{line:1,column:102},end:{line:1,column:110}}}):o)+'" />'},4:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:422},end:{line:1,column:428}}}):s)+'">'+(null!=(r=(u(n,"ifEqual")||t&&u(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?u(i[1],"type"):i[1],"free-agent",{name:"ifEqual",hash:{},fn:e.program(5,l,0,o,i),inverse:e.program(7,l,0,o,i),data:l,loc:{start:{line:1,column:430},end:{line:1,column:509}}}))?r:"")+"</option>"},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=i(n,"title")||(null!=t?i(t,"title"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:463},end:{line:1,column:472}}}):o)},7:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"business"):t)?a(n,"name"):n,t))},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]}
;return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"models"):t,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:583}}}))?r:""},useData:!0,useDepths:!0}),this.HandlebarsTemplates["multigive/bus_fund_faf_dropdown"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/campaigns_dropdown"]=Handlebars.template({1:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group"><label for="support-areas-'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"cId")||(null!=t?r(t,"cId"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"cId",hash:{},data:l,loc:{start:{line:1,column:67},end:{line:1,column:74}}}):i)+'">Select '+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"customizations"):t)?r(o,"support_area_heading"):o,t))+' (optional):</label><select class="custom-select choose-campaign" id="support-areas-'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"cId")||(null!=t?r(t,"cId"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"cId",hash:{},data:l,loc:{start:{line:1,column:206},end:{line:1,column:213}}}):i)+'"><option value="">Please select '+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"customizations"):t)?r(o,"support_area_heading"):o,t))+"</option>"+(null!=(o=r(n,"each").call(null!=t?t:e.nullContext||{},null!=t?r(t,"campaigns"):t,{name:"each",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:294},end:{line:1,column:363}}}))?o:"")+"</select></div>"},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"id")||(null!=t?i(t,"id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:328},end:{line:1,column:334}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"title")||(null!=t?i(t,"title"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:336},end:{line:1,column:345}}}):o)+"</option>"},4:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>No "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"support_area_heading"):n,t))+" found.</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"campaigns"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(4,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:449}}}))?o:""},useData:!0}),this.HandlebarsTemplates["multigive/campaigns_dropdown"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/confirm_item"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=(o=null!=t?i(t,"org"):t)?i(o,"group"):o)?i(o,"charitable_id"):o,{name:"if",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:198},end:{line:1,column:485}}}))?o:""},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="ml-1" data-content="Registration ID: '+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?i(t,"org"):t)?i(o,"group"):o)?i(o,"charitable_id"):o,t))+'" data-placement="bottom" data-trigger="focus hover" rel="popover" tabindex="0">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"gg-branding-supporting info-icon",sprite:"info-2"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</span>"},4:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"support_area"):t)?a(n,"title"):n,t))+"</p>"},6:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"subFund"):t)?a(n,"name"):n,t))+"</p>"},8:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>Recurring "+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"recurring_frequency")||(null!=t?r(t,"recurring_frequency"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"recurring_frequency",hash:{},data:l,loc:{start:{line:1,column:627},end:{line:1,column:650}}}):i)+"\n"+(null!=(o=(r(n,"ifEqual")||t&&r(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"recurring_end_type"):t,"date",{name:"ifEqual",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:2,column:0},end:{line:2,column:80}}}))?o:"")+"\n"+(null!=(o=(r(n,"ifEqual")||t&&r(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"recurring_end_type"):t,"amount",{name:"ifEqual",hash:{},fn:e.program(11,l,0),inverse:e.noop,data:l,loc:{start:{line:3,column:0},end:{line:3,column:99}}}))?o:"")+"</p>"},9:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" until "+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"recurring_end_date")||(null!=t?i(t,"recurring_end_date"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"recurring_end_date",hash:{},data:l,loc:{start:{line:2,column:45},end:{line:2,column:67}}}):o)+" "},11:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" up to "+e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"recurring_max_amount"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:3,column:47},end:{line:3,column:86}}}))+" "},13:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>Comment: "+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"donor_message")||(null!=t?i(t,"donor_message"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"donor_message",hash:{},data:l,loc:{start:{line:3,column:143},end:{line:3,column:160}}}):o)+"</p>"},15:function(){return'<span class="gg-branding-supporting">Distribution:</span> '},17:function(){return'<span class="gg-branding-supporting">Gift:</span> '},19:function(){return'<p class="small text-muted">Your payment method has been charged for this gift. You will not be charged again.</p>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-confirm-wrapper multigive-recipient"><div class="multigive-confirm-item multigive-key"><p class="text-base font-weight-bold">'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?r(t,"org"):t)?r(o,"group"):o)?r(o,"name"):o,t))+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"dog"):t)?r(o,"charitable_id_enabled"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:165},end:{line:1,column:492}}}))?o:"")+"</p>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"support_area"):t,{name:"if",hash:{},fn:e.program(4,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:496},end:{line:1,column:552}}}))?o:"")+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"subFund"):t,{name:"if",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:552},end:{line:1,column:597}}}))?o:"")+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"recurring"):t,{name:"if",hash:{},fn:e.program(8,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:597},end:{line:3,column:110}}}))?o:"")+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"donor_message"):t,{name:"if",hash:{},fn:e.program(13,l,0),inverse:e.noop,data:l,loc:{start:{line:3,column:110},end:{line:3,column:171}}}))?o:"")+'</div><div class="multigive-confirm-item multigive-value"><p class="text-base">'+(null!=(o=(r(n,"ifEqual")||t&&r(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"payment_method"):t,"daf",{name:"ifEqual",hash:{},fn:e.program(15,l,0),inverse:e.program(17,l,0),data:l,loc:{start:{line:3,column:250},end:{line:3,column:411}}}))?o:"")+'<span class="h3">'+e.escapeExpression((r(n,"centsToDollars")||t&&r(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"amount"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:3,column:428},end:{line:3,column:453}}}))+"</span></p>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"processed"):t,{name:"if",hash:{},fn:e.program(19,l,0),inverse:e.noop,data:l,loc:{start:{line:3,column:464},end:{line:3,column:602}}}))?o:"")+(null!=(o="function"==typeof(i=null!=(i=r(n,"status")||(null!=t?r(t,"status"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"status",hash:{},data:l,loc:{start:{line:3,column:602},end:{line:3,column:614}}}):i)?o:"")+"</div></div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/confirm_item"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/daf_confirm"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/_donation_step_ladder"),t,{name:"multigive/_donation_step_ladder",hash:{step:3},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},3:function(){return'<div class="steps">Step 3 of 3</div>'},5:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-confirm-item multigive-key"><p class="text-base">Foundation Name:</p></div><div class="multigive-confirm-item multigive-value"><p>'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"daf_data"):t)?a(n,"foundation_name"):n,t))+"</p></div>"},7:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-confirm-item multigive-key"><p class="text-base">Fund Number:</p></div><div class="multigive-confirm-item multigive-value"><p>'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"daf_data"):t)?a(n,"fund_number"):n,t))+"</p></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h1 class="h2 gg-branding-supporting">Confirm Your Distribution</h1>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donation_step_ladder"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:93},end:{line:1,column:231}}}))?o:"")+'</div><div class="multigive-donation-frame"><div class="daf-message"><p>'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"daf_confirmation_message")||(null!=t?r(t,"daf_confirmation_message"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"daf_confirmation_message",hash:{},data:l,loc:{start:{line:1,column:303},end:{line:1,column:331}}}):i)+'</p></div><div class="confirm-items"></div><div class="multigive-confirmation-info"><div class="multigive-confirm-wrapper"><div class="multigive-confirm-item multigive-key"><p class="text-base font-weight-bold">Email:</p></div><div class="multigive-confirm-item multigive-value"><p>'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"donor_email")||(null!=t?r(t,"donor_email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"donor_email",hash:{},data:l,loc:{start:{line:1,column:613},end:{line:1,column:628}}}):i)+'</p></div><div class="tip-the-host-donation"></div>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"daf_data"):t)?r(o,"foundation_name"):o,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:679},end:{line:1,column:908}}}))?o:"")+'<div class="multigive-confirm-item multigive-key"><p class="text-base">Fund Name:</p></div><div class="multigive-confirm-item multigive-value"><p>'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"daf_data"):t)?r(o,"fund_name"):o,t))+"</p></div>"+(null!=(o=r(n,"unless").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"hide_daf_fund_number"):o,{name:"unless",hash:{},fn:e.program(7,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1086},end:{line:1,column:1326}}}))?o:"")+'</div><div class="multigive-confirm-wrapper"><div class="multigive-confirm-item multigive-key"><p class="text-xl font-weight-bold">Total:</p></div><div class="multigive-confirm-item multigive-value"><p class="text-xl font-weight-bold total-charge"></p></div></div><i>'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"daf_legal_copy")||(null!=t?r(t,"daf_legal_copy"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"daf_legal_copy",hash:{},data:l,loc:{start:{line:1,column:1593},end:{line:1,column:1611}}}):i)+"</i></div>"+(null!=(o=e.invokePartial(r(a,"multigive/_anonymity_options"),t,{name:"multigive/_anonymity_options",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(r(a,"multigive/_business_fundraiser_confirm"),t,{name:"multigive/_business_fundraiser_confirm",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</div><div class="survey-container"></div><div aria-live="assertive" class="errors hidden"></div><div class="processing-container"></div><div class="controls"><button class="btn gg-branding-lead-btn" data-wz="back">Back</button><button class="btn gg-branding-lead-btn" id="submit-donations">Submit</button></div>'+(null!=(o=e.invokePartial(r(a,"multigive/_security"),t,{name:"multigive/_security",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/daf_confirm"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/donation_item"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=(o=null!=t?i(t,"org"):t)?i(o,"group"):o)?i(o,"charitable_id"):o,{name:"if",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:310},end:{line:1,column:574}}}))?o:""},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="ml-2" data-content="Registration ID: '+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?i(t,"org"):t)?i(o,"group"):o)?i(o,"charitable_id"):o,t))+'" data-placement="bottom" data-trigger="focus hover" rel="popover" tabindex="0">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"info-icon",sprite:"info-2"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</span>"},4:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="lead gg-branding-lead">Your '+e.escapeExpression((i(n,"centsToDollars")||t&&i(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"amount"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:682},end:{line:1,column:707}}}))+" "+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"donation_noun"):o,t))+" was successful!</p>"},6:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group"><label class="lead gg-branding-lead" for="amount-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'">Choose an amount to give:</label><div class="sr-only">In dollars</div><div class="input-group has-validation"><div class="input-group-prepend"><span class="input-group-text">$</span></div><input id="amount-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'" class="amount form-control" type="number" inputmode="decimal" aria-describedby="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+' invalid-amount" required '+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"amount"):t,{name:"if",hash:{},fn:e.program(7,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1181},end:{line:1,column:1271}}}))?o:"")+' /><div class="form-text w-100 invalid hidden" id="invalid-amount" role="alert">Amount must be at least '+e.escapeExpression((r(n,"centsToDollars")||t&&r(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"minDtnAmount"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:1375},end:{line:1,column:1406}}}))+".</div></div></div>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"showSALink"):t,{name:"if",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1425},end:{line:1,column:1609}}}))?o:"")+'<div class="campaigns-dropdown"></div><div class="sub-funds-dropdown"></div>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"showP2ps"):t,{name:"if",hash:{},fn:e.program(11,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1685},end:{line:1,column:1885}}}))?o:"")+(null!=(o=r(n,"unless").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"display_name_suppressed"):o,{name:"unless",hash:{},fn:e.program(13,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1885},end:{line:1,column:2231}}}))?o:"")+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"dog"):t)?r(o,"ask_new_donor_question"):o,{name:"if",hash:{},fn:e.program(15,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:2231},end:{line:1,column:2837}}}))?o:"")+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"dog"):t)?r(o,"recurring_donations_enabled"):o,{name:"if",hash:{},fn:e.program(18,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:2837},end:{line:1,column:2919}}}))?o:"")+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"dog"):t)?r(o,"dedications_enabled"):o,{name:"if",hash:{},fn:e.program(20,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:2919},end:{line:1,column:2993}}}))?o:"")+(null!=(o=r(n,"unless").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donor_message_suppressed"):o,{name:"unless",hash:{},fn:e.program(22,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:2993},end:{line:1,column:3498}}}))?o:"")+'<div class="form-group"><textarea class="fallback-message form-control hidden" maxlength="255" placeholder="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"customizations"):t)?r(o,"fallback_message_placeholder"):o,t))+'" rows="3">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"fallback_message")||(null!=t?r(t,"fallback_message"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"fallback_message",hash:{},data:l,loc:{start:{line:1,column:3664},end:{line:1,column:3684}}}):i)+"</textarea></div></div>"},7:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' value="'+e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"amount"):t,{name:"centsToDollars",hash:{dollar_sign:!1,add_commas:!1},data:l,loc:{start:{line:1,column:1203},end:{line:1,column:1263}}}))+'"'},9:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="add-campaign"><a class="gg-branding-lead-link" href="#" role="button">Check for additional '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"support_area_heading"):n,t))+" (optional)</a></p>"},11:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="add-user-campaign"><a class="gg-branding-lead-link" href="#" role="button">Add '+e.escapeExpression((o(n,"addArticle")||t&&o(t,"addArticle")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"fundraiser_label_set",{name:"addArticle",hash:{},data:l,loc:{start:{line:1,column:1790},end:{line:1,column:1827}}}))+'</a></p><div class="user-campaigns-dropdown"></div>'},13:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group"><label class="font-weight-bold" for="display-name-'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"org"):t)?a(n,"id"):n,t))+'">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"display_name_label"):n,t))+'</label><input class="form-control display-name" id="display-name-'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"org"):t)?a(n,"id"):n,t))+'" maxlength="100" placeholder="(Defaults to First and Last Name)" type="text" /></div>'},15:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-check"><label class="form-check-label" for="new-donor-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'"><input id="new-donor-'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'" class="new-donor form-check-input" type="checkbox" '+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"new_donor_to_group"):t,{name:"if",hash:{},fn:e.program(16,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:2432},end:{line:1,column:2481}}}))?o:"")+" />I am a new donor to this "+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"org_label_set"):o)?i(o,"singular"):o,t))+'.<button aria-label="info-popover" class="ml-1 popover-info" data-content="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"customizations"):t)?i(o,"new_donor_popover"):o,t))+'" data-placement="bottom" data-trigger="focus hover" rel="popover">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"gg-branding-supporting info-icon",sprite:"info-2"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</button></label></div>"},16:function(){return' checked="true" '},18:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(o=e.invokePartial(i(a,"multigive/_recurring_fields"),t,{name:"multigive/_recurring_fields",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+" "},20:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(o=e.invokePartial(i(a,"multigive/_dedication_fields"),t,{name:"multigive/_dedication_fields",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+" "},22:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="add-message"><a class="gg-branding-lead-link" href="#" role="button">Add a public message to this '+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dogBreed"):t)?r(o,"donation_noun"):o,t))+'</a></p><div class="form-group show-message hidden"><label class="font-weight-bold" for="donor-message-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'">Public message:</label><textarea class="donor-message form-control" id="donor-message-'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"org"):t)?r(o,"id"):o,t))+'" maxlength="255" placeholder="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"messagePlaceholder")||(null!=t?r(t,"messagePlaceholder"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"messagePlaceholder",hash:{},data:l,loc:{start:{line:1,column:3420},end:{line:1,column:3442}}}):i)+'" rows="3">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"donor_message")||(null!=t?r(t,"donor_message"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"donor_message",hash:{},data:l,loc:{start:{line:1,column:3453},end:{line:1,column:3470}}}):i)+"</textarea></div>"},24:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="text-center"><button aria-label="Remove '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"donation_noun"):n,t))+" to "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"org"):t)?a(n,"name"):n,t))+'" class="remove-donation btn gg-branding-supporting-btn">Remove this '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"donation_noun"):n,t))+"</button></p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-donation-item"><div class="flex"><div class="multigive-donation-item-info flex-item"><div class="media-flex"><div class="icon"><img alt="" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"logo"):o,t))+'" /></div><div class="body-area"><h1 class="h3 gg-branding-supporting" id="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"id"):o,t))+'">'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"name"):o,t))+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"charitable_id_enabled"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:277},end:{line:1,column:581}}}))?o:"")+'</h1></div></div></div><div class="flex-item">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"processed"):t,{name:"if",hash:{},fn:e.program(4,l,0),inverse:e.program(6,l,0),data:l,loc:{start:{line:1,column:627},end:{line:1,column:3714}}}))?o:"")+"</div>"+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"single_org"):o,{name:"unless",hash:{},fn:e.program(24,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:3720},end:{line:1,column:3957}}}))?o:"")+"</div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/donation_item"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/donations_not_opened"]=Handlebars.template({1:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(n=e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"donations_closed_message"):n,t))?n:""},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"It's not quite time to give for "+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+" yet. "+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"readable_date"):o,{name:"if",hash:{},fn:e.program(4,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:259},end:{line:1,column:333}}}))?o:"")},4:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"Please come back on "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"readable_date"):n,t))+"!"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="donations-not-opened"><div class="logo-in-page"><img alt="" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></div><p>'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"donations_closed_message"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:108},end:{line:1,column:340}}}))?o:"")+'</p><a class="btn gg-branding-lead-btn" href="/">Home</a></div>'},useData:!0}),this.HandlebarsTemplates["multigive/donations_not_opened"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/donor_address_fields"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group"><label for="mailing-address-state">Region</label><input autocomplete="address-level1" class="form-control" id="mailing-address-state" name="region" type="text" value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"mailing_address_state")||(null!=t?i(t,"mailing_address_state"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"mailing_address_state",hash:{},data:l,loc:{start:{line:1,column:1005},end:{line:1,column:1030}}}):o)+'" /></div>'},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<label for="mailing-address-state">State</label><select aria-describedby="invalid-state\noption value=" autocomplete="address-level1" class="custom-select" id="mailing-address-state" name="state" type="text">" Select State\n| '+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"stateSelectOptions")||(null!=t?i(t,"stateSelectOptions"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"stateSelectOptions",hash:{},data:l,loc:{start:{line:3,column:2},end:{line:3,column:24}}}):o)+"</select>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group"><label for="mailing-address-line-1">Street</label><input aria-describedby="invalid-address1" autocomplete="address-line1" class="form-control" id="mailing-address-line-1" name="address1" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"mailing_address_line_1")||(null!=t?r(t,"mailing_address_line_1"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"mailing_address_line_1",hash:{},data:l,loc:{start:{line:1,column:230},end:{line:1,column:256}}}):i)+'" /><div class="form-text invalid hidden" id="invalid-address1" role="alert">Please enter your street address.</div></div><div class="row"><div class="col-6"><div class="form-group"><label for="mailing-address-city">City</label><input aria-describedby="invalid-city" autocomplete="address-level2" class="form-control" id="mailing-address-city" name="city" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"mailing_address_city")||(null!=t?r(t,"mailing_address_city"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"mailing_address_city",hash:{},data:l,loc:{start:{line:1,column:631},end:{line:1,column:655}}}):i)+'" /><div class="form-text invalid hidden" id="invalid-city" role="alert">Please enter a city.</div></div></div><div class="col-6">'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"international_address"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:785},end:{line:3,column:40}}}))?o:"")+'<div class="form-text invalid hidden" id="invalid-state" role="alert">Please enter a state, region or province.</div></div></div><div class="row"><div class="col-md-6"><div class="form-group"><label for="mailing-address-postal-code">Mailing ZIP/Postal Code</label><input aria-describedby="invalid-zip" autocomplete="postal-code" class="form-control" id="mailing-address-postal-code" name="postal-code" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"mailing_address_postal_code")||(null!=t?r(t,"mailing_address_postal_code"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"mailing_address_postal_code",hash:{},data:l,loc:{start:{line:3,column:461},end:{
line:3,column:492}}}):i)+'" /><div class="form-text invalid hidden" id="invalid-zip" role="alert">Please enter a valid postal code.</div></div></div><div class="col-md-6"><div class="form-group"><label for="phone">Phone Number</label><input aria-describedby="invalid-phone" autocomplete="tel" class="form-control" id="phone" name="phone" type="tel" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"phone")||(null!=t?r(t,"phone"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"phone",hash:{},data:l,loc:{start:{line:3,column:822},end:{line:3,column:831}}}):i)+'" /><div class="form-text invalid hidden" id="invalid-phone" role="alert">Please enter a valid phone number.</div></div></div></div><div class="form-group"><label for="mailing-address-country">Country</label><select aria-describedby="invalid-country" autocomplete="country-name" class="custom-select" id="mailing-address-country" name="country" type="text">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"countrySelectOptions")||(null!=t?r(t,"countrySelectOptions"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"countrySelectOptions",hash:{},data:l,loc:{start:{line:3,column:1188},end:{line:3,column:1212}}}):i)+'</select><div class="form-text invalid hidden" id="invalid-country" role="alert">Please enter a your country of residence.</div></div>'},useData:!0}),this.HandlebarsTemplates["multigive/donor_address_fields"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/e_card_confirm"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/_donation_step_ladder"),t,{name:"multigive/_donation_step_ladder",hash:{step:3},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},3:function(){return'<div class="steps" role="alert">Step 3 of 3</div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h2 class="gg-branding-supporting">Confirm Your Gift</h2>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donation_step_ladder"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:82},end:{line:1,column:233}}}))?o:"")+'</div><div class="multigive-donation-frame"><div class="confirm-items"></div><div class="multigive-confirmation-info"><div class="multigive-confirm-wrapper"><div class="multigive-confirm-item multigive-key"><p class="text-base font-weight-bold">Email:</p></div><div class="multigive-confirm-item multigive-value"><p>'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"donor_email")||(null!=t?r(t,"donor_email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"donor_email",hash:{},data:l,loc:{start:{line:1,column:549},end:{line:1,column:564}}}):i)+'</p></div></div><div class="multigive-confirm-wrapper"><div class="multigive-confirm-item multigive-key"><p class="text-xl font-weight-bold">Total:</p></div><div class="multigive-confirm-item multigive-value"><p class="text-xl font-weight-bold">'+e.escapeExpression((r(n,"centsToDollars")||t&&r(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"total_donation"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:809},end:{line:1,column:842}}}))+"</p></div></div></div>"+(null!=(o=e.invokePartial(r(a,"multigive/_business_fundraiser_confirm"),t,{name:"multigive/_business_fundraiser_confirm",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</div><div class="survey-container"></div><div aria-live="assertive" class="errors hidden"></div><div class="processing-container"></div><div class="controls"><button class="btn gg-branding-lead-btn" data-wz="back">Back</button><button class="btn gg-branding-lead-btn" id="submit-donations">Submit</button></div>'+(null!=(o=e.invokePartial(r(a,"multigive/_security"),t,{name:"multigive/_security",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/e_card_confirm"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/e_card_fetch_result"]=Handlebars.template({1:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-text" role="alert">Amount remaining: '+e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"amount_remaining"):t,{name:"centsToDollars",hash:{dollar_sign:!0},data:l,loc:{start:{line:1,column:78},end:{line:1,column:130}}}))+"</div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"amount_remaining"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:143}}}))?o:""},useData:!0}),this.HandlebarsTemplates["multigive/e_card_fetch_result"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/cornell2021"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},3:function(){return'<a class="btn gg-branding-lead-btn" href="/">Home</a>'},5:function(){return'<h4>Become a Giving Day Champion</h4><p>Make an even bigger difference this Giving Day by becoming a fundraiser for Cornell.</p><a class="btn gg-branding-lead-btn" href="/fundraisers">Become a fundraiser</a>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div><h2 class="gg-branding-supporting">Thank you for making an early gift for '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+"!</h2><p>Your gift does more than change Cornell\u2019s future\u2014it changes the future of the world through Cornell.</p><hr />"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:336},end:{line:1,column:439}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"stats_enabled"):o,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:439},end:{line:1,column:739}}}))?o:"")+"</div><script>$('[data-toggle=\"tooltip\"]').tooltip();</script>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/cornell2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/cornell2022"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},3:function(){return'<a class="btn gg-branding-lead-btn" href="/">Home</a>'},5:function(){return'<h4>Become a Giving Day Champion</h4><p>Make an even bigger difference this Giving Day by becoming a fundraiser for Cornell.</p><a class="btn gg-branding-lead-btn" href="/fundraisers">Become a fundraiser</a>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div><h2 class="gg-branding-supporting">Thank you for making an early gift for '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+"!</h2><p>Your gift helps Cornell continue <strong>to do the greatest good</strong>.</p><hr />"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:310},end:{line:1,column:413}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"stats_enabled"):o,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:413},end:{line:1,column:713}}}))?o:"")+"</div><script>$('[data-toggle=\"tooltip\"]').tooltip();</script>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/cornell2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/cornell2023"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},3:function(){return'<a class="btn gg-branding-lead-btn" href="/">Home</a>'},5:function(){return'<h4>Become a Giving Day Champion</h4><p>Make an even bigger difference this Giving Day by becoming a fundraiser for Cornell.</p><a class="btn gg-branding-lead-btn" href="/fundraisers">Become a fundraiser</a>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div><h2 class="gg-branding-supporting">Thank you for making an early gift for '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+" 2023!</h2><p>Your gift helps Cornell continue <strong>to do the greatest good</strong>.</p><hr />"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:315},end:{line:1,column:418}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"stats_enabled"):o,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:418},end:{line:1,column:718}}}))?o:"")+"</div><script>$('[data-toggle=\"tooltip\"]').tooltip();</script>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/cornell2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/cornell2024"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},3:function(){return'<a class="btn gg-branding-lead-btn" href="/">Home</a>'},5:function(){return'<h4>Become a Giving Day Champion</h4><p>Make an even bigger difference this Giving Day by becoming a fundraiser for Cornell.</p><a class="btn gg-branding-lead-btn" href="/fundraisers">Become a fundraiser</a>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div><h2 class="gg-branding-supporting">Thank you for making an early gift for '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+" 2024!</h2><p>Your gift helps Cornell continue <strong>to do the greatest good</strong>.</p><hr />"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:315},end:{line:1,column:418}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"stats_enabled"):o,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:418},end:{line:1,column:718}}}))?o:"")+"</div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/cornell2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue-fw2021"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for Making Your Mark on this Day of Giving for Purdue Fort Wayne!</h3><p>On April 28, let\u2019s show the world what can happen when the Mastodon community comes together to make big things happen on our campus, in Fort Wayne, and beyond.</p><p>Share #PurdueFWDayofGiving to your family and friends on social media and let them know that they too can change the lives of students today. Just copy and paste the following message on your social networks, or click the buttons below:</p><p class="mb-0"><strong>It\u2019s your turn to #MakeYourMark to support our Mastodons and Purdue Fort Wayne on #PurdueFWDayofGiving. Give now at: <a href="https://dayofgiving.pfw.edu">https://dayofgiving.pfw.edu</a></strong></p><div class="social-container"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?text=It%E2%80%99s%20your%20turn%20to%20%23MakeYourMark%20to%20support%20our%20Mastodons%20and%20Purdue%20Fort%20Wayne%20on%20%23PurdueFWDayofGiving.%20Give%20now%20at%3A%20dayofgiving.pfw.edu%20" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Twitter</p></div></div></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue-fw2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue-fw2024"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for supporting the Purdue Fort Wayne Mastodons on Day of Giving!</h3><p>Your generosity will help our students pursue their passion and make a big impact in our communities and around the world.</p><p>There is still one more way you can help Purdue Fort Wayne today. Let your family and friends know they too can change the lives of students <strong>by sharing #PFWDayofGiving on social media.</strong> Just copy and paste the following message on your social networks, or click the buttons below:</p><p class="mb-0">It\u2019s your turn to support Purdue Fort Wayne Mastodons during #TheBigGive. Give now at:<br /><a href="https://dayofgiving.pfw.edu">dayofgiving.pfw.edu</a></p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Share on X" data-toggle="tooltip" href="https://twitter.com/intent/tweet?url=https://dayofgiving.pfw.edu/&amp;text=Purdue%20Fort%20Wayne%20Mastodons%20%23HerdTogether%20to%20support%20students%20during%20%23PFWDayofGiving.%20Learn%20more%20at%20dayofgiving.pfw.edu" title="Share on X">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on X</p></div></div></div><p class="mb-0">To learn more about Purdue Fort Wayne Day of Giving efforts and the impact of your donations, visit <a href="https://www.pfw.edu/development">www.pfw.edu/development</a>.</p></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue-fw2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue-nw2021"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for helping us Power Onward during PNW Day of Giving!</h3><p>Your gift makes a huge impact in the lives of our students.<br />Thanks to your generosity PNW students are able to pursue their educational goals and become a force for change in the world.</p><p>We are grateful to you and the community as you have come together to support PNW students.</p><p>Help us spread the word by letting your friends and family know how they, too, can make a difference in the lives of our students. On April 28, copy and paste the following message on your social media channels and let others know how they can join in supporting PNW students:</p><p class="mb-0"><strong>Join me in powering onward to help PNW students on #PNWDayofGiving. Give now at <a href="https://dayofgiving.pnw.edu">https://dayofgiving.pnw.edu</a></strong></p><div class="social-container"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?text=Join%20me%20in%20powering%20onward%20to%20help%20PNW%20students%20on%20%23PNWDayofGiving.%E2%80%AF%E2%80%AF%20%20%20Give%20now%20at%20dayofgiving.pnw.edu%20" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Twitter</p></div></div></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue-nw2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue-nw2024"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for helping students <strong>Power Onward</strong></h3><p>You are helping PNW students realize their true capabilities!</p><p>Often the first in their family to attend college, PNW students are accustomed to pushing themselves to new and often unexpected levels. Together, we empower our students to ignite change and become forward-thinking leaders, because inside each one of them is the strength to <strong>Power Onward</strong>.</p><p class="mb-0">Spread the word to your family and friends to let them know that they too can give back today! Feature #PNWDayofGiving on social media and give online at <a href="https://dayofgiving.pnw.edu">dayofgiving.pnw.edu</a></p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Share on X" data-toggle="tooltip" href="https://twitter.com/intent/tweet?url=https://dayofgiving.pnw.edu/&amp;text=Purdue%20Northwest%20students%20are%20%23PoweringOnward%20with%20your%20help%20during%20%23PNWDayOfGiving.%20Learn%20more%20at%20dayofgiving.pnw.edu" title="Share on X">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on X</p></div><div class="social-share-icon"><a aria-label="Share on Instagram" data-toggle="tooltip" href="https://www.instagram.com/'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?i(t,"dog"):t)?i(o,"dog_breed"):o)?i(o,"instagram_page"):o,t))+'" title="Share on Instagram">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"instagram"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Instagram</p></div></div></div></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue-nw2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue2021"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for being part of Purdue Day of Giving!</h3><p>Let\u2019s show the world what can happen when the entire Purdue community works together\u2014please use your own voice to help spread the word about Purdue Day of Giving by decking out your social profiles with this ambassador toolkit: <a href="https://dayofgiving.purdue.edu/info/toolkit">https://dayofgiving.purdue.edu/toolkit</a>.</p><div class="social-container"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?text=%23IGave%20to%20help%20Purdue%20take%20its%20next%20giant%20leap%20through%20%23PurdueDayofGiving!%20%23WeArePurdue%20Give%20now%20at%20purdue.university%2FIGave" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Twitter</p></div></div></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue2022"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">THANK YOU FOR YOUR GENEROUS GIFT TO LEAD THE WAY ON PURDUE DAY OF GIVING!</h3><p>Your early support is essential to help Purdue continue to innovate as one of the leading academic institutions in the world.</p><p>Be sure to come back on April 27 to see how your favorite unit is stacking up on the <a href="https://dayofgiving.purdue.edu/leaderboards">leaderboards</a>.</p><p>Let\'s show the world what can happen when the entire Purdue community comes together - please use your own voice to help spread the word about Purdue Day of Giving by decking out your social profiles with this ambassador toolkit:\n<a href="https://dayofgiving.purdue.edu/info/social-toolkit" >dayofgiving.purdue.edu/info/social-toolkit</a></p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?url=https://dayofgiving.purdue.edu/&amp;text=Help%20power%20Purdue%E2%80%99s%20next%20giant%20leap%20on%20April%2027,%20%23PurdueDayofGiving" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a></div></div><b>SHARE ON FACEBOOK AND TWITTER</b></div></div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue2023"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(){return'<div class="text-center"><h3 class="thank-you-heading">Thank you for leading the way on the 10th anniversary of Purdue Day of Giving!</h3><p>Your generous support is more than one small step. Because of important donors like you, Purdue University is able to grant opportunities across our entire community while continuing to innovate as one of the leading academic institutions in the world.</p><p>Please be sure to check out <a href="https://dayofgiving.purdue.edu">dayofgiving.purdue.edu</a> on April 26 to see how your favorite participating unit is doing in our hourly and full-day challenges.</p><p>Let\'s show the world what can happen when the entire Boilermaker community helps power Purdue\'s <i>next</i> giant leap \u2014 please help spread the word about Purdue Day of Giving by decking out your social profiles using this <a href="https://dayofgiving.purdue.edu/info/social-toolkit">ambassador toolkit</a>.</p><p class="font-weight-bold gg-branding-lead mb-4">We sincerely appreciate your incredible generosity!</p><p class="small pt-5">Purdue Research Foundation acknowledges that, unless stated, no goods or services were provided in return for this gift. Please retain this receipt for tax records. Please note: If your gift was to Athletics, for federal tax purposes, the IRS may limit the charitable deduction. Please consult your tax advisor regarding deductibility.</p><p class="small mb-0">For further information regarding your gift, please call the Purdue for Life Foundation at 1-800-319-2199 or email <a href="mailto:gifts@purdueforlife.org">gifts@purdueforlife.org</a> if you have questions.</p></div>'},useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue2024"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(){return'<div class="text-center"><h3 class="thank-you-heading">Thank you for leading the way as we rally toward our 2024 Purdue Day of Giving!</h3><p>Because of donors like you who take giant leaps of generosity, we will be able to demonstrate what\u2019s possible <i> in just one day </i> when Boilermakers rally together for Purdue. </p><p class="mb-0"><strong>And make sure you share <i>why</i> you rally!</strong> Spread the word about #PurdueDayofGiving on your social profiles using our <a href="https://dayofgiving.purdue.edu/toolkit">ambassador toolkit</a>.</p><p>We are ever grateful for you!</p></div>'},useData:!0}),this.HandlebarsTemplates["multigive/early_giving_thank_you/purdue2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/fundraiser_item"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-fundraiser-item mx-auto"><div class="card text-center px-3 py-4"><h3 class="gg-branding-supporting mt-0">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"name")||(null!=t?r(t,"name"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:127},end:{line:1,column:135}}}):i)+"</h3><p>"+e.escapeExpression((r(n,"capitalizeAll")||t&&r(t,"capitalizeAll")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=(o=null!=t?r(t,"dogBreed"):t)?r(o,"fundraiser_label_set"):o)?r(o,"singular"):o,{name:"capitalizeAll",hash:{},data:l,loc:{start:{line:1,column:143},end:{line:1,column:199}}}))+": "+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"name")||(null!=t?r(t,"name"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:201},end:{line:1,column:209}}}):i)+'</p><a class="remove-fundraiser" href="#">Remove this '+e.escapeExpression((r(n,"capitalizeAll")||t&&r(t,"capitalizeAll")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=(o=null!=t?r(t,"dogBreed"):t)?r(o,"fundraiser_label_set"):o)?r(o,"singular"):o,{name:"capitalizeAll",hash:{},data:l,loc:{start:{line:1,column:263},end:{line:1,column:319}}}))+"</a></div></div>"},useData:!0}),this.HandlebarsTemplates["multigive/fundraiser_item"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/info"]=Handlebars.template({1:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"heading_donation"):n,t))},3:function(e,t){
var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"Thank you for supporting "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"title"):n,t))+"!"},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/_donation_step_ladder"),t,{name:"multigive/_donation_step_ladder",hash:{step:1},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},7:function(){return'<div class="steps" role="alert">Step 1 of 3</div>'},9:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="basket-msg margin-bottom hidden"><h4 class="center">You currently have no '+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"org_label_set"):n)?a(n,"plural"):n,t))+" in your gift basket</h4></div>"},11:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="search-form"><double-dropdown v-if="custom(\'multigive_double_dropdown\')" :multi-dtn="donationModel" :fallBacks="fallbacks" ></double-dropdown><donation-search-autocomplete v-else="" :multi-dtn="donationModel" :fallBacks="fallbacks">'+(null!=(o=e.invokePartial(i(a,"multigive/_search_result"),t,{name:"multigive/_search_result",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</donation-search-autocomplete></div><div class="text-center call-to-action"><span class="giftbasket-full-msg" data-content="Your gift basket is already full!" data-placement="top" data-trigger="focus hover" rel="popover"><button class="add-donation btn gg-branding-lead-btn hidden">+ Add Another '+e.escapeExpression((i(n,"capitalizeAll")||t&&i(t,"capitalizeAll")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"org_label_set"):o)?i(o,"singular"):o,{name:"capitalizeAll",hash:{},data:l,loc:{start:{line:1,column:1316},end:{line:1,column:1365}}}))+"</button></span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h1 class="h2 gg-branding-supporting">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"heading_donation"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:63},end:{line:1,column:191}}}))?o:"")+"</h1>"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"donation_step_ladder"):o,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.program(7,l,0),data:l,loc:{start:{line:1,column:196},end:{line:1,column:347}}}))?o:"")+'</div><hr /><div class="errors" role="alert"></div><div aria-live="polite" class="notice alert-info hidden"></div>'+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"single_org"):o,{name:"unless",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:461},end:{line:1,column:648}}}))?o:"")+'<div class="donation-items"></div><div class="free-agent mb-3"></div>'+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"single_org"):o,{name:"unless",hash:{},fn:e.program(11,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:717},end:{line:1,column:1398}}}))?o:"")+'<div class="fundraiser-dropdowns"><div class="dropdown-business-fundraiser"></div><div class="dropdown-free-agent"></div></div><div class="controls"><a class="btn gg-branding-lead-btn" href="javascript:history.back();">Back</a><button class="btn gg-branding-lead-btn" data-wz="next">Next</button></div>'+(null!=(o=e.invokePartial(i(a,"multigive/_security"),t,{name:"multigive/_security",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/info"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/info_error"]=Handlebars.template({1:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"Please choose "+e.escapeExpression((o(n,"addArticle")||t&&o(t,"addArticle")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"org_label_set",{name:"addArticle",hash:{},data:l,loc:{start:{line:1,column:32},end:{line:1,column:62}}}))+" before proceeding."},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"duplicateDonations"):t,{name:"if",hash:{},fn:e.program(4,l,0),inverse:e.program(6,l,0),data:l,loc:{start:{line:1,column:81},end:{line:1,column:445}}}))?o:""},4:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"You have added multiple "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"donation_noun"):n,t))+"s for the same "+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"org_label_set"):n)?a(n,"singular"):n,t))+" in your basket. Please remove any duplicate "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"donation_noun"):n,t))+"s so that a single "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"donation_noun"):n,t))+" is made to the "+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"org_label_set"):n)?a(n,"singular"):n,t))+"."},6:function(){return"Please enter valid information for the highlighted fields."},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"noOrgFound"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:452}}}))?o:""},useData:!0}),this.HandlebarsTemplates["multigive/info_error"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/listing"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="container section-wrapper"><h2 class="gg-branding-supporting text-center text-lg-left">Recent Gifts</h2><ul class="list-unstyled">'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"donations"):t,{name:"each",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:159},end:{line:1,column:1247}}}))?r:"")+'</ul><div class="text-center margin-bottom"><button class="btn gg-branding-lead-btn btn-sm show-more-donations hidden">See more donations</button></div></div>'+(null!=(r=s(n,"unless").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"dog"):t)?s(r,"show_prizes"):r,{name:"unless",hash:{},fn:e.program(23,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:1405},end:{line:1,column:1449}}}))?r:"")},2:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li class="donation-list-item"><blockquote><p class="gg-branding-supporting">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"public_name")||(null!=t?u(t,"public_name"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"public_name",hash:{},data:l,loc:{start:{line:1,column:255},end:{line:1,column:270}}}):s)+" "+(null!=(r=u(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?u(t,"hide_amount"):t,{name:"unless",hash:{},fn:e.program(3,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:271},end:{line:1,column:345}}}))?r:"")+'</p><div class="subtext">A donation supporting '+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"campaign"):t,{name:"if",hash:{},fn:e.program(5,l,0,o,i),inverse:e.program(11,l,0,o,i),data:l,loc:{start:{line:1,column:392},end:{line:1,column:937}}}))?r:"")+"</div>"+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=i[1]?u(i[1],"customizations"):i[1])?u(r,"include_recent_donor_matches"):r,{name:"if",hash:{},fn:e.program(17,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:943},end:{line:1,column:1180}}}))?r:"")+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"message"):t,{name:"if",hash:{},fn:e.program(21,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:1180},end:{line:1,column:1220}}}))?r:"")+"</blockquote></li>"},3:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" - "+e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"intended_donation"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:297},end:{line:1,column:333}}}))+" "},5:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"campaign"):t)?s(r,"dog_campaign"):r,{name:"if",hash:{},fn:e.program(6,l,0,o,i),inverse:e.program(9,l,0,o,i),data:l,loc:{start:{line:1,column:408},end:{line:1,column:709}}}))?r:""},6:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="'+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"isAlphaDog"):i[1],{name:"if",hash:{},fn:e.program(7,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:476},end:{line:1,column:515}}}))?r:"")+"/organizations/"+e.escapeExpression(e.lambda(null!=(r=null!=t?s(t,"group"):t)?s(r,"slug"):r,t))+'">'+e.escapeExpression(e.lambda(null!=(r=null!=t?s(t,"group"):t)?s(r,"name"):r,t))+"</a>"},7:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"url"):n,t))},9:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="gg-branding-lead-link" href="'+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"isAlphaDog"):i[1],{name:"if",hash:{},fn:e.program(7,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:611},end:{line:1,column:650}}}))?r:"")+"/campaigns/"+e.escapeExpression(e.lambda(null!=(r=null!=t?s(t,"campaign"):t)?s(r,"slug"):r,t))+'">'+e.escapeExpression(e.lambda(null!=(r=null!=t?s(t,"campaign"):t)?s(r,"title"):r,t))+"</a>"},11:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"group"):t,{name:"if",hash:{},fn:e.program(6,l,0,o,i),inverse:e.program(12,l,0,o,i),data:l,loc:{start:{line:1,column:709},end:{line:1,column:930}}}))?r:""},12:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=i[1]?s(i[1],"isAlphaDog"):i[1],{name:"if",hash:{},fn:e.program(13,l,0,o,i),inverse:e.program(15,l,0,o,i),data:l,loc:{start:{line:1,column:861},end:{line:1,column:930}}}))?r:""},13:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"title"):n,t))+" "},15:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression(e.lambda(null!=(r=null!=i[1]?s(i[1],"dog"):i[1])?s(r,"title"):r,t))+" "},17:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"matched_amount"):t,{name:"if",hash:{},fn:e.program(18,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:997},end:{line:1,column:1173}}}))?o:""},18:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="matched-by pl-2 mt-2"><span class="pr-2">\u2795</span>Matched '+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?i(t,"hide_amount"):t,{name:"unless",hash:{},fn:e.program(19,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1088},end:{line:1,column:1160}}}))?o:"")+"</div>"},19:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"with "+e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"matched_amount"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:1116},end:{line:1,column:1149}}}))},21:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"message")||(null!=t?i(t,"message"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:l,loc:{start:{line:1,column:1198},end:{line:1,column:1209}}}):o)+"</p>"},23:function(){return"<hr />"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"donations"):t,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:1456}}}))?r:""},useData:!0,useDepths:!0}),this.HandlebarsTemplates["multigive/listing"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/online_confirm"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/_donation_step_ladder"),t,{name:"multigive/_donation_step_ladder",hash:{step:3},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},3:function(){return'<div class="steps" role="alert">Step 3 of 3</div>'},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-confirm-item multigive-key"><p class="text-base font-weight-bold">Email:</p></div><div class="multigive-confirm-item multigive-value"><p>'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"donor_email")||(null!=t?i(t,"donor_email"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"donor_email",hash:{},data:l,loc:{start:{line:1,column:568},end:{line:1,column:583}}}):o)+"</p></div>"},7:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"allow_donors_to_cover_fees"):o,{name:"if",hash:{},fn:e.program(8,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:677},end:{line:1,column:921}}}))?o:""},8:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-confirm-item multigive-key"><p class="text-base">Fees:</p></div><div class="multigive-confirm-item multigive-value"><p class="total-fees">'+e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"total_fees"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:875},end:{line:1,column:904}}}))+"</p></div>"},10:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="gg-tip-container"><gg-tip :total-dtn="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"total_donation")||(null!=t?i(t,"total_donation"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"total_donation",hash:{},data:l,loc:{start:{line:1,column:1020},end:{line:1,column:1038}}}):o)+'"></gg-tip></div>'},12:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"allow_donors_to_cover_fees"):o,{name:"if",hash:{},fn:e.program(13,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1055},end:{line:1,column:2237}}}))?o:""},13:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-muted">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"fee_hover_copy"):o,{name:"if",hash:{},fn:e.program(14,l,0),inverse:e.program(16,l,0),data:l,loc:{start:{line:1,column:1121},end:{line:1,column:1974}}}))?o:"")+'</div><div class="form-group ml-4"><div class="form-check"><input id="cover-fees" class="form-check-input" type="checkbox" '+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"donor_covered_fees"):t,{name:"if",hash:{},fn:e.program(18,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:2097},end:{line:1,column:2147}}}))?o:"")+'><label class="form-check-label" for="cover-fees">I\'ll cover the fees!</label></div></div>'},14:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'What\'s with these fees?<button aria-label="info-popover" class="ml-1 popover-info" data-content="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"customizations"):t)?i(o,"fee_hover_copy"):o,t))+'" data-placement="bottom" data-trigger="focus hover" rel="popover">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"gg-branding-supporting info-icon",sprite:"info-2"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</button>"},16:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'What\'s with these fees?<button aria-label="info-popover" class="ml-1 popover-info" data-content="Every transaction incurs a technology fee and a credit card ('+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"stripe_fee_percentage")||(null!=t?r(t,"stripe_fee_percentage"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"stripe_fee_percentage",hash:{},data:l,loc:{start:{line:1,column:1615},end:{line:1,column:1640}}}):i)+'% + $0.30) or ACH processing fee in order to support the costs of running a giving event and site. Please see the FAQs posted on the giving site for a full breakdown." data-placement="bottom" data-trigger="focus hover" rel="popover">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"gg-branding-supporting info-icon",sprite:"info-2"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</button>"},18:function(){return'checked="checked"'},20:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?i(t,"source_for_payment"):t,{name:"unless",hash:{},fn:e.program(21,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:2288},end:{line:1,column:2357}}}))?o:""},21:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/_save_source"),t,{name:"multigive/_save_source",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},23:function(){return'<div id="payment-request-button"></div>'},25:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"usePaypal"):t,{name:"if",hash:{},fn:e.program(26,l,0),inverse:e.program(28,l,0),data:l,loc:{start:{line:1,column:3026},end:{line:1,column:3163}}}))?o:""},26:function(){return'<div id="paypal-button"></div>'},28:function(){return'<button class="btn gg-branding-lead-btn" id="submit-donations">Submit</button>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h2 class="gg-branding-supporting">Confirm Your Gift</h2>'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"donation_step_ladder"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:82},end:{line:1,column:233}}}))?o:"")+'</div><div class="multigive-donation-frame"><div class="confirm-items"></div><div class="multigive-confirmation-info"><div class="multigive-confirm-wrapper">'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"donor_email"):t,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:390},end:{line:1,column:600}}}))?o:"")+'<div class="tip-the-host-donation"></div>'+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"gg_tip_model_enabled"):o,{name:"unless",hash:{},fn:e.program(7,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:641},end:{line:1,column:932}}}))?o:"")+"</div>"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"gg_tip_model_enabled"):o,{name:"if",hash:{},fn:e.program(10,l,0),inverse:e.program(12,l,0),data:l,loc:{start:{line:1,column:938},end:{line:1,column:2244}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"saved_payment_methods"):o,{name:"if",hash:{},fn:e.program(20,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:2244},end:{line:1,column:2364}}}))?o:"")+(null!=(o=e.invokePartial(i(a,"multigive/_anonymity_options"),t,{name:"multigive/_anonymity_options",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'<div class="multigive-confirm-wrapper"><div class="multigive-confirm-item multigive-key"><p class="text-xl font-weight-bold">Total:</p></div><div class="multigive-confirm-item multigive-value"><p class="text-xl font-weight-bold total-charge"></p></div></div></div>'+(null!=(o=e.invokePartial(i(a,"multigive/_business_fundraiser_confirm"),t,{name:"multigive/_business_fundraiser_confirm",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</div><div class="survey-container"></div><div aria-live="assertive" class="errors hidden"></div><div class="processing-container"></div><div class="controls"><button class="btn gg-branding-lead-btn" data-wz="back">Back</button>'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"payment_method"):t,"stripe_payment_request",{name:"ifEqual",hash:{},fn:e.program(23,l,0),inverse:e.program(25,l,0),data:l,loc:{start:{line:1,column:2935},end:{line:1,column:3175}}}))?o:"")+"</div>"+(null!=(o=e.invokePartial(i(a,"multigive/_security"),t,{name:"multigive/_security",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/online_confirm"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/org_not_donatable"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"Gift(s) to "+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"orgNames")||(null!=t?i(t,"orgNames"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"orgNames",hash:{},data:l,loc:{start:{line:1,column:11},end:{line:1,column:23}}}):o)+" were removed. Organization(s) cannot receive gifts at this time."},useData:!0}),this.HandlebarsTemplates["multigive/org_not_donatable"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/payment"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/_donation_step_ladder"),t,{name:"multigive/_donation_step_ladder",hash:{step:2},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},3:function(){return'<div class="steps" role="alert">Step 2 of 3</div>'},5:function(){return'<div class="payment-methods"></div>'},7:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"payment_info_step_copy"):n,t))+"</p>"},9:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="col-2"><div class="form-group"><label for="prefix">Title</label><select class="custom-select" id="prefix">'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"donor_prefix"):o,{name:"each",hash:{},fn:e.program(10,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:901},end:{line:1,column:989}}}))?o:"")+'</select><div class="form-text invalid hidden" role="alert">Please enter your title.</div></div></div>'},10:function(e,t){return'<option value="'+e.escapeExpression(e.lambda(t,t))+'">'+e.escapeExpression(e.lambda(t,t))+"</option>"},12:function(){return"col-5"},14:function(){return"col-6"},16:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="col-sm-6"><label class="add-middle-name mb-2"><a href="#" role="button">+ Add middle name</a></label><div class="middle-name-row hidden"><div class="form-group"><label for="middle-name">Middle Name</label><input autocomplete="additional-name" class="form-control" id="middle-name" name="mname" type="text" value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"middle_name")||(null!=t?i(t,"middle_name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"middle_name",hash:{},data:l,loc:{start:{line:1,column:2347},end:{line:1,column:2362}}}):o)+'" /></div></div></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h1 class="h2 gg-branding-supporting">'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"customizations"):t)?r(o,"payment_step_heading"):o,t))+"</h1>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donation_step_ladder"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:107},end:{line:1,column:258}}}))?o:"")+'<p class="text-lg mt-2">Your <span class="total-intended-amount gg-branding-supporting"></span> Gift</p>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"saved_payment_methods"):o,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:362},end:{line:1,column:448}}}))?o:"")+'</div><hr /><div class="row"><div class="col-lg-8 offset-lg-2"><div aria-live="assertive" class="errors hidden"></div>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"payment_info_step_copy"):o,{name:"if",hash:{},fn:e.program(7,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:566},end:{line:1,column:666}}}))?o:"")+'<div class="payment-options"></div><div id="payment-form-fields"><div class="row">'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donor_prefix"):o,{name:"if",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:748},end:{line:1,column:1098}}}))?o:"")+'<div class="'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donor_prefix"):o,{name:"if",hash:{},fn:e.program(12,l,0),inverse:e.program(14,l,0),data:l,loc:{start:{line:1,column:1110},end:{line:1,column:1170}}}))?o:"")+'"><div class="form-group"><label for="first-name">'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donation_form_first_name_label"):o,t))+'</label><input aria-describedby="invalid-fname" autocomplete="given-name" class="form-control" id="first-name" name="fname" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"first_name")||(null!=t?r(t,"first_name"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"first_name",hash:{},data:l,loc:{start:{line:1,column:1412},end:{line:1,column:1426}}}):i)+'" /><div class="form-text invalid hidden" id="invalid-fname" role="alert">Please enter first name.</div></div></div><div class="'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donor_prefix"):o,{name:"if",hash:{},fn:e.program(12,l,0),inverse:e.program(14,l,0),data:l,loc:{start:{line:1,column:1554},end:{line:1,column:1614}}}))?o:"")+'"><div class="form-group"><label for="last-name">'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donation_form_last_name_label"):o,t))+'</label><input aria-describedby="invalid-lname" autocomplete="family-name" class="form-control" id="last-name" name="lname" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"last_name")||(null!=t?r(t,"last_name"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"last_name",hash:{},data:l,loc:{start:{line:1,column:1854},end:{line:1,column:1867}}}):i)+'" /><div class="form-text invalid hidden" id="invalid-lname" role="alert">Please enter last name.</div></div></div>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"donor_middle_name"):o,{name:"if",hash:{},fn:e.program(16,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1982},end:{line:1,column:2391}}}))?o:"")+'</div><div class="credit_card payment-method">'+(null!=(o=e.invokePartial(r(a,"multigive/_credit_card_fields"),t,{name:"multigive/_credit_card_fields",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</div><div class="daf payment-method">'+(null!=(o=e.invokePartial(r(a,"multigive/_daf_fields"),t,{name:"multigive/_daf_fields",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</div><div class="e_card payment-method">'+(null!=(o=e.invokePartial(r(a,"multigive/_e_card_fields"),t,{name:"multigive/_e_card_fields",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</div><div class="plaid payment-method">'+(null!=(o=e.invokePartial(r(a,"multigive/_plaid_fields"),t,{name:"multigive/_plaid_fields",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</div><div class="donor-email-field"><email-suggestions></email-suggestions></div><div class="form-group hidden"><label for="confirm-email">Confirm Email</label><input autocomplete="off" class="form-control" id="confirm-email" name="confirmemail" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"confirm_email")||(null!=t?r(t,"confirm_email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"confirm_email",hash:{},data:l,loc:{start:{line:1,column:2943},end:{line:1,column:2960}}}):i)+'" /></div><hr /><h3 class="gg-branding-supporting">Mailing Address</h3><div class="mailing-address-container"></div></div></div></div><div class="controls"><button class="btn gg-branding-lead-btn" data-wz="back">Back</button><button class="btn gg-branding-lead-btn" data-wz="next">Next</button></div>'+(null!=(o=e.invokePartial(r(a,"multigive/_security"),t,{name:"multigive/_security",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/payment"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/payment_sources"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]}
;return'<h3 class="text-center">You are now logged in as '+e.escapeExpression(e.lambda(null!=(r=null!=t?s(t,"user"):t)?s(r,"first_name"):r,t))+" "+e.escapeExpression(e.lambda(null!=(r=null!=t?s(t,"user"):t)?s(r,"last_name"):r,t))+'!</h3><div class="row sources-section"><div class="col-sm-6 offset-sm-3"><h4 class="margin-top-x">'+(null!=(r=e.invokePartial(s(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"wallet-1"},data:l,helpers:n,partials:a,decorators:e.decorators}))?r:"")+' Available Payment Methods</h4><div class="processing-methods">'+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"sources"):t,{name:"if",hash:{},fn:e.program(2,l,0,o,i),inverse:e.program(10,l,0,o,i),data:l,loc:{start:{line:1,column:416},end:{line:1,column:944}}}))?r:"")+"</div></div></div>"},2:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"sources"):t,{name:"each",hash:{},fn:e.program(3,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:431},end:{line:1,column:885}}}))?r:""},3:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="gg-radio"><input class="check-source" type=\'radio\' name="source" id=\''+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:529},end:{line:1,column:535}}}):s)+"' "+(null!=(r=(u(n,"ifEqual")||t&&u(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?u(t,"id"):t,null!=(r=null!=i[1]?u(i[1],"source_for_payment"):i[1])?u(r,"id"):r,{name:"ifEqual",hash:{},fn:e.program(4,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:537},end:{line:1,column:596}}}))?r:"")+'/><label class="margin-left" for="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:630},end:{line:1,column:636}}}):s)+'"><strong class="margin-right-small">'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"brand"):t,{name:"if",hash:{},fn:e.program(6,l,0,o,i),inverse:e.program(8,l,0,o,i),data:l,loc:{start:{line:1,column:673},end:{line:1,column:727}}}))?r:"")+" ending in:</strong>"+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"last4")||(null!=t?u(t,"last4"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"last4",hash:{},data:l,loc:{start:{line:1,column:747},end:{line:1,column:756}}}):s)+'</label></div><div class="text-center"><a id="clear-selection"><strong>Use a different payment method</strong></a></div>'},4:function(){return"checked"},6:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"brand")||(null!=t?i(t,"brand"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"brand",hash:{},data:l,loc:{start:{line:1,column:687},end:{line:1,column:696}}}):o)+" "},8:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"bank_name")||(null!=t?i(t,"bank_name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"bank_name",hash:{},data:l,loc:{start:{line:1,column:706},end:{line:1,column:719}}}):o)+" "},10:function(){return"<p>You have no card information on file.</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><a class="btn btn-sm gg-branding-supporting-btn" href="#" id="login-btn">Login</a></div>'+(null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"logged_in"):t,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:113},end:{line:1,column:969}}}))?r:"")},usePartial:!0,useData:!0,useDepths:!0}),this.HandlebarsTemplates["multigive/payment_sources"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/payment_tiles"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"disabled"):t,{name:"if",hash:{},fn:e.program(2,l,0),inverse:e.program(7,l,0),data:l,loc:{start:{line:1,column:157},end:{line:1,column:1270}}}))?o:""},2:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="custom-control custom-radio" data-content="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"errorMsg")||(null!=t?r(t,"errorMsg"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"errorMsg",hash:{},data:l,loc:{start:{line:1,column:228},end:{line:1,column:240}}}):i)+'" data-html="true" data-placement="bottom" data-trigger="focus hover" rel="popover" tabindex="0"><input disabled="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"disabled")||(null!=t?r(t,"disabled"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"disabled",hash:{},data:l,loc:{start:{line:1,column:354},end:{line:1,column:366}}}):i)+'" id="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"value")||(null!=t?r(t,"value"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"value",hash:{},data:l,loc:{start:{line:1,column:372},end:{line:1,column:381}}}):i)+'" name="paymentMethod" type="radio" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"value")||(null!=t?r(t,"value"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"value",hash:{},data:l,loc:{start:{line:1,column:424},end:{line:1,column:433}}}):i)+'" /><label for="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"value")||(null!=t?r(t,"value"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"value",hash:{},data:l,loc:{start:{line:1,column:449},end:{line:1,column:458}}}):i)+'">'+(null!=(o=(r(n,"ifEqual")||t&&r(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"value"):t,"paypal",{name:"ifEqual",hash:{},fn:e.program(3,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:460},end:{line:1,column:678}}}))?o:"")+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"check-icon",sprite:"expired-x"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</label></div>"},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img alt="PayPal" src="https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png" />'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"text")||(null!=t?i(t,"text"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"text",hash:{},data:l,loc:{start:{line:1,column:581},end:{line:1,column:589}}}):o)},5:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:null!=t?r(t,"imageName"):t,sprite:null!=t?r(t,"imageName"):t},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"text")||(null!=t?r(t,"text"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"text",hash:{},data:l,loc:{start:{line:1,column:658},end:{line:1,column:666}}}):i)},7:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="custom-control custom-radio"><input id="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"value")||(null!=t?r(t,"value"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"value",hash:{},data:l,loc:{start:{line:1,column:818},end:{line:1,column:827}}}):i)+'" name="paymentMethod" type="radio" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"value")||(null!=t?r(t,"value"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"value",hash:{},data:l,loc:{start:{line:1,column:870},end:{line:1,column:879}}}):i)+'" /><label class="gg-branding-lead-link gg-branding-lead-border" for="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"value")||(null!=t?r(t,"value"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"value",hash:{},data:l,loc:{start:{line:1,column:949},end:{line:1,column:958}}}):i)+'">'+(null!=(o=(r(n,"ifEqual")||t&&r(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"value"):t,"paypal",{name:"ifEqual",hash:{},fn:e.program(3,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:960},end:{line:1,column:1178}}}))?o:"")+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"check-icon",sprite:"approved-check"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</label></div>"},9:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="m-2"><i>'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"customizations"):t)?a(n,"saved_payment_methods"):n)?a(n,"prompt"):n,t))+"</i></p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<fieldset><legend class="h6">Payment Method <em>(Click on one of the following)</em></legend><div class="d-flex flex-wrap" id="payment-method">'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"data"):t,{name:"each",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:143},end:{line:1,column:1279}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"saved_payment_methods"):o,{name:"if",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1279},end:{line:1,column:1403}}}))?o:"")+"</div></fieldset>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/payment_tiles"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/processing"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-status" role="alert"><h3>Processing</h3><div aria-hidden="true" class="icon">'+(null!=(o=e.invokePartial(i(a,"shared/_loading_indicator"),t,{name:"shared/_loading_indicator",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</div></div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/processing"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/single_txn_processing"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="flex" role="alert"><h4>Processing</h4>'+(null!=(o=e.invokePartial(i(a,"shared/_loading_indicator"),t,{name:"shared/_loading_indicator",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/single_txn_processing"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/sub_funds_dropdown"]=Handlebars.template({1:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group"><label class="gg-branding-lead" for="sub-funds-'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"campaignId")||(null!=t?r(t,"campaignId"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"campaignId",hash:{},data:l,loc:{start:{line:1,column:87},end:{line:1,column:101}}}):i)+'">'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"customizations"):t)?r(o,"sub_fund_dropdown_label"):o,t))+'</label><select class="sub-fund-select custom-select" id="sub-funds-'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"campaignId")||(null!=t?r(t,"campaignId"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"campaignId",hash:{},data:l,loc:{start:{line:1,column:213},end:{line:1,column:227}}}):i)+'"><option value="">None</option>'+(null!=(o=r(n,"each").call(null!=t?t:e.nullContext||{},null!=t?r(t,"subFunds"):t,{name:"each",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:259},end:{line:1,column:326}}}))?o:"")+"</select></div>"},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"id")||(null!=t?i(t,"id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:292},end:{line:1,column:298}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"name")||(null!=t?i(t,"name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:300},end:{line:1,column:308}}}):o)+"</option>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"subFunds"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:348}}}))?o:""},useData:!0}),this.HandlebarsTemplates["multigive/sub_funds_dropdown"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/success"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-status"><h4 class="h5">Success!</h4><div class="icon gg-branding-supporting">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"checkmark"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</div></div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/success"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you"]=Handlebars.template({1:function(){return'<h1 class="gg-branding-lead">Thank you for your support</h1>'},3:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h1 class="gg-branding-lead">Thank you</h1><h2 class="gg-branding-supporting">for supporting '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"title"):n,t))+".</h2>"},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="multigive-thank-you text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div>'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"everyday_giving"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:150},end:{line:1,column:364}}}))?o:"")+"<p>"+e.escapeExpression((i(n,"newlinesToHtml")||t&&i(t,"newlinesToHtml")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"dtn_thx_msg"):o,{name:"newlinesToHtml",hash:{},data:l,loc:{start:{line:1,column:367},end:{line:1,column:401}}}))+"</p><hr />"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:411},end:{line:1,column:514}}}))?o:"")+'<h3 class="h4">Now, help spread the word about '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' or tell your friends about the causes you just supported!</h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((i(n,"twitterShareButton")||t&&i(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:871},end:{line:1,column:908}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you"]}.call(this),function(){Handlebars.registerPartial("multigive/thank_you/_sanantonio",Handlebars.template({1:function(){return'<h1 class="gg-branding-lead">Thank you for your support</h1>'},3:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h1 class="gg-branding-lead">Thank you</h1><h2 class="gg-branding-supporting">for supporting '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"title"):n,t))+".</h2>"},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"title"):o,t))+' Logo" src="https://gg-day-of-giving.s3.amazonaws.com/sanantonio2020/app/images/pepper.gif" /></a></div>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"dog"):t)?r(o,"everyday_giving"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:190},end:{line:1,column:404}}}))?o:"")+"<p>"+e.escapeExpression((r(n,"newlinesToHtml")||t&&r(t,"newlinesToHtml")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"dog"):t)?r(o,"dtn_thx_msg"):o,{name:"newlinesToHtml",hash:{},data:l,loc:{start:{line:1,column:407},end:{line:1,column:441}}}))+'</p><hr /><a class="btn gg-branding-backdrop-bg" href="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"surveyLink")||(null!=t?r(t,"surveyLink"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"surveyLink",hash:{},data:l,loc:{start:{line:1,column:496},end:{line:1,column:510}}}):i)+'" target="_blank">Take Our Donor Survey</a>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:553},end:{line:1,column:656}}}))?o:"")+'<h3 class="h4">Now, help spread the word about <span class="highlight">'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dogBreed"):t)?r(o,"hashtag"):o,t))+'</span> or tell your friends about the causes you just supported! </h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((r(n,"twitterShareButton")||t&&r(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:1052},end:{line:1,column:1089}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}))}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/cornell2021"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div><h2 class="gg-branding-supporting">Thank you for supporting '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+"!</h2><p>Your gift does more than change Cornell\u2019s future\u2014it changes the future of the world through Cornell.</p><hr />"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:322},end:{line:1,column:425}}}))?o:"")+'<h3>Share your Big Red Giving Day spirit on social media!</h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((i(n,"twitterShareButton")||t&&i(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:721},end:{line:1,column:758}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/cornell2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/cornell2022"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div><h2 class="gg-branding-supporting">Thank you for supporting '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+"!</h2><p>Your gift helps Cornell continue to do the greatest good.</p><hr />"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:279},end:{line:1,column:382}}}))?o:"")+'<h3>Share your Big Red Giving Day spirit on social media!</h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((i(n,"twitterShareButton")||t&&i(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:678},end:{line:1,column:715}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/cornell2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/cornell2023"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div><h2 class="gg-branding-supporting">Thank you for supporting '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+" 2023!</h2><p>Your gift helps Cornell continue <strong>to do the greatest good.</strong></p><hr />"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:301},end:{line:1,column:404}}}))?o:"")+'<h3>Share your Big Red Giving Day spirit on social media!</h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((i(n,"twitterShareButton")||t&&i(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:700},end:{line:1,column:737}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/cornell2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/cornell2024"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(i(a,"multigive/_post_donation_causes"),t,{name:"multigive/_post_donation_causes",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"<hr />"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div><h2 class="gg-branding-supporting">Thank you for supporting '+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+" 2024!</h2><p>Your gift helps Cornell continue <strong>to do the greatest good.</strong></p><hr />"+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"show_dog_causes_after_donation"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:301},end:{line:1,column:404}}}))?o:"")+'<h3>Share your Big Red Giving Day spirit on social media!</h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((i(n,"twitterShareButton")||t&&i(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:700},end:{line:1,column:737}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/cornell2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/lancaster2020"]=Handlebars.template({1:function(){return'<h1 class="gg-branding-lead">Thank you for your support</h1>'},3:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h1 class="gg-branding-lead">Thank You</h1><h2 class="gg-branding-supporting">for supporting '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"title"):n,t))+".</h2>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div>'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"everyday_giving"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:130},end:{line:1,column:344}}
}))?o:"")+'<p>Thank you for your donation to Extraordinary Give. A tax acknowledgement has been emailed to you. You will want to keep that document for your records, as it is necessary to claim any available Federal tax deductions.</p><hr /><h3 class="h4">Now, help spread the word about <span class="highlight">'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"hashtag"):o,t))+'</span> or tell your friends about the causes you just supported! </h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((i(n,"twitterShareButton")||t&&i(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:970},end:{line:1,column:1007}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/lancaster2020"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/lancaster2021"]=Handlebars.template({1:function(){return'<h1 class="gg-branding-lead">Thank you for your support</h1>'},3:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h1 class="gg-branding-lead">Thank You</h1><h2 class="gg-branding-supporting">for supporting '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"title"):n,t))+".</h2>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div>'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"everyday_giving"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:130},end:{line:1,column:344}}}))?o:"")+'<p>Thank you for your donation to Extraordinary Give. A tax acknowledgement has been emailed to you. You will want to keep that document for your records, as it is necessary to claim any available Federal tax deductions.</p><hr /><h3 class="h4">Now, help spread the word about <span class="highlight">'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"hashtag"):o,t))+'</span> or tell your friends about the causes you just supported! </h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((i(n,"twitterShareButton")||t&&i(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:970},end:{line:1,column:1007}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/lancaster2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/lancaster2022"]=Handlebars.template({1:function(){return'<h1 class="gg-branding-lead">Thank you for your support</h1>'},3:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h1 class="gg-branding-lead">Thank You</h1><h2 class="gg-branding-supporting">for supporting '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"title"):n,t))+".</h2>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div>'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"everyday_giving"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:130},end:{line:1,column:344}}}))?o:"")+'<p>Thank you for your donation to ExtraGive. A tax acknowledgement has been emailed to you. You will want to keep that document for your records, as it is necessary to claim any available Federal tax deductions.</p><hr /><h3 class="h4">Now, help spread the word about <span class="highlight">'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"hashtag"):o,t))+'</span> or tell your friends about the causes you just supported! </h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((i(n,"twitterShareButton")||t&&i(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:961},end:{line:1,column:998}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/lancaster2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/lancaster2023"]=Handlebars.template({1:function(){return'<h1 class="gg-branding-lead">Thank you for your support</h1>'},3:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h1 class="gg-branding-lead">Thank You</h1><h2 class="gg-branding-supporting">for supporting '+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dog"):t)?a(n,"title"):n,t))+".</h2>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"images"):t)?i(o,"dogLogo"):o,t))+'" /></a></div>'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dog"):t)?i(o,"everyday_giving"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:130},end:{line:1,column:344}}}))?o:"")+'<p>Thank you for your donation to ExtraGive. A tax acknowledgement has been emailed to you. You will want to keep that document for your records, as it is necessary to claim any available Federal tax deductions.</p><hr /><h3 class="h4">Now, help spread the word about <span class="highlight">'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"hashtag"):o,t))+'</span> or tell your friends about the causes you just supported! </h3><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((i(n,"twitterShareButton")||t&&i(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:961},end:{line:1,column:998}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/lancaster2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/notredame2020"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"images"):t)?r(o,"dogLogo"):o,t))+'" /></a></div><h1 class="gg-branding-lead">Thank you for your gift!</h1><p>Today, you made a student\u2019s experience on campus better. Thank you for joining in on the excitement of Notre Dame Day 2020! Don\u2019t forget the fun doesn\u2019t stop here\u2014tune in to the broadcast at <a href="/">notredameday.nd.edu</a>.</p><br /><strong>Up for a challenge? Try your hand at our 2020 Referral Link Challenge.</strong><p><a href="/info/challenges">We have some awesome prizes up for grabs</a>\u2014and every member of the Notre Dame family who refers five or more people to make their first gift on Notre Dame Day will be entered to win! To enter, share your unique link below with friends and family and encourage them to make a gift towards a cause that matters to them.</p><strong>Your unique referral link:</strong><p><a href="https://notredameday.nd.edu/?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:1,column:964},end:{line:1,column:975}}}):i)+'">https://notredameday.nd.edu/?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:1,column:1018},end:{line:1,column:1029}}}):i)+'</a></p><hr /><strong>Share on social</strong><p>Now, help spread the word about #NDday and tell your friends about the causes that matter most to you!</p><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((r(n,"twitterShareButton")||t&&r(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:1,column:1418},end:{line:1,column:1455}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/notredame2020"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/notredame2021"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"images"):t)?r(o,"dogLogo"):o,t))+'" /></a></div><h1 class="gg-branding-lead">Today, you did good in the world!</h1><p>Thank you for joining in on the excitement of Notre Dame Day 2021! Don\'t forget the fun\ndoesn\'t stop here\u2014tune in to the broadcast at <a href="/">notredameday.nd.edu</a>.</p><br /><strong>Up for a challenge? Try your hand at our 2021 Referral Link Challenge.</strong><p><a href="/info/challenges">We have some awesome prizes up for grabs</a>\u2014and every member of\nthe Notre Dame family who refers five or more people to make their first gift on Notre Dame\nDay will be entered to win! To enter, share your unique link below with friends and family and\nencourage them to make a gift towards a cause that matters to them.</p><strong>Your unique referral link:</strong><p><a href="/donate?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:5,column:146},end:{line:5,column:157}}}):i)+'">https://notredameday.nd.edu/donate?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:5,column:206},end:{line:5,column:217}}}):i)+'</a></p><hr /><strong>Share on social</strong><p>Now, help spread the word about #NDday and tell your friends about your favorite causes!</p><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((r(n,"twitterShareButton")||t&&r(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:5,column:592},end:{line:5,column:629}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/notredame2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/notredame2022"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"images"):t)?r(o,"dogLogo"):o,t))+'" /></a></div><h1 class="gg-branding-lead">Wow! Thank you for your Notre Dame Day gift!</h1><p>Thank you for joining in on the excitement of Notre Dame Day 2022! The fun doesn\u2019t \nstop here&mdash;tune in to the broadcast at <a href="/">notredameday.nd.edu</a>.</p><br /><strong>Up for a challenge? Try your hand at our 2022 Referral Link Challenge.</strong><p>Refer five or more people to make their first gift on Notre Dame Day using your unique \nreferral link below and you\'ll be entered to win amazing prizes, such as premium football \ntickets and bookstore gift cards! Enter the 2022 Referral Link Challenge by sharing your \nunique link below with friends and family and encouraging them to make a gift towards a \ncause that matters to them. <a href="/info/referral-link-challenge">More details &rarr;</a></p><strong>Your unique referral link:</strong><p><a href="/donate?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:6,column:170},end:{line:6,column:181}}}):i)+'">https://notredameday.nd.edu/donate?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:6,column:230},end:{line:6,column:241}}}):i)+'</a></p><p><i>(Psst! A copy of your unique referral link is included in your gift confirmation email.)</i></p><hr /><strong>Share on social</strong><p>Spread the word about #NDday and tell your friends about your favorite causes!</p><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((r(n,"twitterShareButton")||t&&r(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:6,column:708},end:{line:6,column:745}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/notredame2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/notredame2023"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"images"):t)?r(o,"dogLogo"):o,t))+'" /></a></div><h1 class="gg-branding-lead">Wow! Thank you for your Notre Dame Day gift!</h1><p>Thank you for joining in on the excitement of Notre Dame Day 2023! The fun doesn\u2019t\nstop here&mdash;tune in to the broadcast at <a href="/">notredameday.nd.edu</a>.</p><br /><strong>Up for a challenge? Try your hand at our 2023 Referral Link Challenge.</strong><p>Refer five or more people to make their first gift on Notre Dame Day using your unique\nreferral link below and you\'ll be entered to win amazing prizes, such as premium football\ntickets and bookstore gift cards! Enter the 2023 Referral Link Challenge by sharing your\nunique link below with friends and family and encouraging them to make a gift towards a\ncause that matters to them. <a href="/info/referral-link-challenge">More details &rarr;</a></p><strong>Your unique referral link:</strong><p><a href="/donate?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:6,column:170},end:{line:6,column:181}}}):i)+'">https://notredameday.nd.edu/donate?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:6,column:230},end:{line:6,column:241}}}):i)+'</a></p><p><i>(Psst! A copy of your unique referral link is included in your gift confirmation email.)</i></p><hr /><strong>Share on social</strong><p>Spread the word about #NDday and tell your friends about your favorite causes!</p><div class="social-container gg-branding-white-link"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"url"):o,t))+'" href="#" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"+e.escapeExpression((r(n,"twitterShareButton")||t&&r(t,"twitterShareButton")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dogShareData",{name:"twitterShareButton",hash:{},data:l,loc:{start:{line:6,column:708},end:{line:6,column:745}}}))+'</div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/notredame2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/notredame2024"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><div class="logo-in-page"><a href="/"><img alt="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"title"):o,t))+' Logo" src="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"images"):t)?r(o,"dogLogo"):o,t))+'" /></a></div><h1 class="gg-branding-lead">Thank you for your Notre Dame Day gift!</h1><p>Thank you for joining the excitement of Notre Dame Day 2024! The fun doesn\u2019t\nstop here&mdash;view leaderboards, learn about challenges, and tune in to the broadcast at <a href="/">notredameday.nd.edu</a>.</p><br /><strong>Want to win prizes? Try your hand at our 2024 Referral Link Challenge.</strong><p>Refer five or more people to make their first gift on Notre Dame Day using your unique\nreferral link below, and you\'ll be entered to win amazing prizes, such as premium football\ntickets and Notre Dame gear! <a href="/prizes">More details &rarr;</a></p><strong>Your unique referral link:</strong><p><a href="/donate?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:4,column:149},end:{line:4,column:160}}}):i)+'">https://notredameday.nd.edu/donate?referral_id='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"user_id")||(null!=t?r(t,"user_id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"user_id",hash:{},data:l,loc:{start:{line:4,column:209},end:{line:4,column:220}}}):i)+'</a></p><p><i>(Psst! A copy of your unique referral link is included in your gift confirmation email.)</i></p><hr /><strong>Share on social</strong><p>Spread the word about #NDday and tell your friends about a cause close to your heart.</p><div class="social-container gg-branding-white-link"><a aria-label="Instagram" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"url"):o,t))+'" href="https://www.instagram.com/'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?r(t,"dog"):t)?r(o,"dog_breed"):o)?r(o,"instagram_page"):o,t))+'/" target="_blank" title="Connect with Instagram to share">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"instagram"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><a aria-label="Facebook" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"url"):o,t))+'" href="https://www.facebook.com/'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?r(t,"dog"):t)?r(o,"dog_breed"):o)?r(o,"facebook_page"):o,t))+'" target="_blank" title="Connect with Facebook to share">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><a aria-label="Twitter" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"url"):o,t))+'" href="https://www.twitter.com/'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?r(t,"dog"):t)?r(o,"dog_breed"):o)?r(o,"twitter_page"):o,t))+'" target="_blank" title="Connect with X to share">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><a class="btn gg-branding-lead-btn" href="/">Home</a></div><script>$(\'[data-toggle="tooltip"]\').tooltip();</script>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/notredame2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue-fw2021"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for Making Your Mark on this Day of Giving for Purdue Fort Wayne!</h3><p>Now let\u2019s show the world what can happen when the Mastodon community comes together to make big things happen on our campus, in Fort Wayne, and beyond.</p><p>Share <b>#PurdueFWDayofGiving</b> to your family and friends on social media and let them know that they too can change the lives of students today. Just copy and paste the following message on your social networks, or click the buttons below:</p><p class="mb-0"><strong>It\u2019s your turn to #MakeYourMark to support our Mastodons and Purdue Fort Wayne on #PurdueFWDayofGiving. Give now at: <a href="https://dayofgiving.pfw.edu">https://dayofgiving.pfw.edu</a></strong></p><div class="social-container"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?text=It%E2%80%99s%20your%20turn%20to%20%23MakeYourMark%20to%20support%20our%20Mastodons%20and%20Purdue%20Fort%20Wayne%20on%20%23PurdueFWDayofGiving.%20Give%20now%20at%3A%20dayofgiving.pfw.edu%20" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Twitter</p></div></div></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue-fw2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue-fw2022"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">THANK YOU FOR MAKING YOUR MARK ON PURDUE FORT WAYNE ON DAY OF GIVING!</h3><p>Your generosity will help our Mastodons pursue their passion and make big things happen on \nour campus, in Fort Wayne, and around the world.</p><p>There is still one more way you can help Purdue Fort Wayne today. Let your family and friends \nknow they too can change the lives of students by sharing #PurdueFWDayofGiving on social \nmedia. Just copy and paste the following message on your social networks, or click the \nbuttons below:</p><p class="mb-0"><h3 class="social-sharing__message">It\u2019s your turn to #MakeYourMark and support Purdue Fort Wayne on #PFWDayofGiving.<br>\nGive now at: <a href="https://dayofgiving.pfw.edu">dayofgiving.pfw.edu</a></h3></p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?text=%23IGave%20to%20help%20Purdue%20take%20its%20next%20giant%20leap%20through%20%23PurdueDayofGiving!%20%23WeArePurdue%20Give%20now%20at%20purdue.university%2FIGave" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div></div><b>SHARE ON FACEBOOK AND TWITTER</b></div><p class="tax-copy">Purdue for Life Foundation acknowledges that, unless stated, no goods or services were \nprovided in return for this gift. Please retain this receipt for tax records. Please note: \nif your gift was to athletics, for federal tax purposes, the IRS may limit the charitable \ndeduction. Please consult your tax advisor regarding deductibility. For further information \nregarding your gift, please call the Purdue for Life Foundation at 1-260-481-6962 or email \ngiving@pfw.edu if you have questions.</p></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue-fw2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue-fw2023"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for supporting the Purdue Fort Wayne Mastodons on Day of Giving!</h3><p>Your generosity will help our students pursue their passion and make a big impact in our\ncommunities and around the world.</p><p>There is still one more way you can help Purdue Fort Wayne today. Let your family and friends\nknow they too can change the lives of students by sharing #PFWDayofGiving on social media.\nJust copy and paste the following message on your social networks, or click the buttons below:</p><p class="font-weight-bold gg-branding-lead mb-0">It\'s your turn to #HerdTogether and support Purdue Fort Wayne Mastodons on #PFWDayofGiving.\nGive now at: <a href="https://dayofgiving.pfw.edu">dayofgiving.pfw.edu</a> </p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?url=https://dayofgiving.pfw.edu/&amp;text=Purdue%20Fort%20Wayne%20Mastodons%20%23HerdTogether%20to%20support%20students%20during%20%23PFWDayofGiving.%20Learn%20more%20at%20dayofgiving.pfw.edu" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div></div></div><p class="font-weight-bold gg-branding-lead">Share on Facebook and Twitter</p><p>To learn more about Purdue Fort Wayne Day of Giving efforts and the impact of your donations,\nvisit <a href="https://www.pfw.edu/dayofgiving">www.pfw.edu/dayofgiving</a>.</p></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue-fw2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),
this.HandlebarsTemplates["multigive/thank_you/purdue-fw2024"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for supporting the Purdue Fort Wayne Mastodons on Day of Giving!</h3><p>Your generosity will help our students pursue their passion and make a big impact in our communities and around the world.</p><p>There is still one more way you can help Purdue Fort Wayne today. Let your family and friends know they too can change the lives of students <strong>by sharing #PFWDayofGiving on social media.</strong> Just copy and paste the following message on your social networks, or click the buttons below:</p><p class="mb-0">It\u2019s your turn to support Purdue Fort Wayne Mastodons during #TheBigGive. Give now at:<br /><a href="https://dayofgiving.pfw.edu">dayofgiving.pfw.edu</a></p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Share on X" data-toggle="tooltip" href="https://twitter.com/intent/tweet?url=https://dayofgiving.pfw.edu/&amp;text=Purdue%20Fort%20Wayne%20Mastodons%20%23HerdTogether%20to%20support%20students%20during%20%23PFWDayofGiving.%20Learn%20more%20at%20dayofgiving.pfw.edu" title="Share on X">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on X</p></div></div></div><p class="mb-0">To learn more about Purdue Fort Wayne Day of Giving efforts and the impact of your donations, visit <a href="https://www.pfw.edu/development">www.pfw.edu/development</a>.</p></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue-fw2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue-nw2021"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for helping us Power Onward during PNW Day of Giving!</h3><p>Your gift makes a huge impact in the lives of our students.<br />Thanks to your generosity PNW students are able to pursue their educational goals and become a force for change in the world.</p><p>We are grateful to you and the community as you have come together to support PNW students.</p><p>Help us spread the word by letting your friends and family know how they, too, can make a difference in the lives of our students. Copy and paste the following message on your social media channels and let others know how they can join in supporting PNW students:</p><p class="mb-0"><strong>Join me in powering onward to help PNW students on #PNWDayofGiving. Give now at <a href="https://dayofgiving.pnw.edu">https://dayofgiving.pnw.edu</a></strong></p><div class="social-container"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?text=Join%20me%20in%20powering%20onward%20to%20help%20PNW%20students%20on%20%23PNWDayofGiving.%E2%80%AF%E2%80%AF%20%20%20Give%20now%20at%20dayofgiving.pnw.edu%20" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Twitter</p></div></div></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue-nw2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue-nw2022"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">THANK YOU FOR BEING PART OF PURDUE DAY OF GIVING!</h3><p>Thank you for helping us Roar Ahead on PNW Day of Giving!<br />This year, we are celebrating the fifth anniversary of the establishment of Purdue Northwest \nand the 75th anniversaries of our legacy institutions, Purdue Calumet and Purdue North \nCentral. With your help, you are contributing to making PNW students\u2019 futures even brighter. \nSpread the word to your family and friends to let them know that they too can give back today!</p><p class="mb-0"><h3 class="social-sharing__message">Feature #PNWDayofGiving on social media and give online at  <a href="https://dayofgiving.pnw.edu">https://dayofgiving.pnw.edu</a></h3></p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?text=%23IGave%20to%20help%20Purdue%20take%20its%20next%20giant%20leap%20through%20%23PurdueDayofGiving!%20%23WeArePurdue%20Give%20now%20at%20purdue.university%2FIGave" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div></div><b>SHARE ON FACEBOOK AND TWITTER</b></div><p class="tax-copy">Purdue for Life Foundation acknowledges that, unless stated, no goods or services were \nprovided in return for this gift. Please retain this receipt for tax records. Please note: \nif your gift was to athletics, for federal tax purposes, the IRS may limit the charitable \ndeduction. Please consult your tax advisor regarding deductibility. For further information \nregarding your gift, please call the Purdue for Life Foundation at 1-219-989-3252 or email \npnwdayofgiving@pnw.edu if you have questions.</p></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue-nw2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue-nw2023"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for helping students Power Onward during PNW Day of Giving!  </h3><p>You are helping PNW students realize their true capability! Often the first in their\nfamily to attend college, PNW students are accustomed to pushing themselves to new and\noften unexpected levels. Together, we help our resilient students reach their goals and\n<b>Power Onward</b> to a future like no other. <br />Spread the word to your family and friends to let them know that they too can give back\ntoday! Feature #PNWDayofGiving on social media and give online at\n<a href="https://dayofgiving.pnw.edu">dayofgiving.pnw.edu</a>.</p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?url=https://dayofgiving.pnw.edu/&amp;text=Purdue%20Northwest%20students%20are%20%23PoweringOward%20with%20your%20help%20during%20%23PNWDayOfGiving.%20Learn%20more%20at%20dayofgiving.pnw.edu" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div></div></div><p class="font-weight-bold gg-branding-lead">Share on Facebook and Twitter</p></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue-nw2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue-nw2024"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for helping students <strong>Power Onward</strong></h3><p>You are helping PNW students realize their true capabilities!</p><p>Often the first in their family to attend college, PNW students are accustomed to pushing themselves to new and often unexpected levels. Together, we empower our students to ignite change and become forward-thinking leaders, because inside each one of them is the strength to <strong>Power Onward</strong>.</p><p class="mb-0">Spread the word to your family and friends to let them know that they too can give back today! Feature #PNWDayofGiving on social media and give online at <a href="https://dayofgiving.pnw.edu">dayofgiving.pnw.edu</a></p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Share on X" data-toggle="tooltip" href="https://twitter.com/intent/tweet?url=https://dayofgiving.pnw.edu/&amp;text=Purdue%20Northwest%20students%20are%20%23PoweringOnward%20with%20your%20help%20during%20%23PNWDayOfGiving.%20Learn%20more%20at%20dayofgiving.pnw.edu" title="Share on X">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on X</p></div><div class="social-share-icon"><a aria-label="Share on Instagram" data-toggle="tooltip" href="https://www.instagram.com/'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?i(t,"dog"):t)?i(o,"dog_breed"):o)?i(o,"instagram_page"):o,t))+'" title="Share on Instagram">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"instagram"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Instagram</p></div></div></div></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue-nw2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue2021"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for being part of Purdue Day of Giving!</h3><p>But there\u2019s one more thing you can do to help&#8212;let\u2019s show the world what can happen when the entire Purdue community works together. Please let your family and friends know they too can give back today by sharing <b>#PurdueDayofGiving</b> on social media. You can even help your favorite unit win $1,250 in bonus funds through the <b>#IGave</b> challenge! Just copy and paste the following message on your social networks, or click the buttons below:</p><p class="mb-0"><b>We Are Purdue! I\u2019m Proud to say #IGave to help Purdue students on #PurdueDayofGiving. <a href="https://bit.ly/PUGave">https://bit.ly/PUGave</a></b></p><div class="social-container"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Facebook</p></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?text=%23IGave%20to%20help%20Purdue%20take%20its%20next%20giant%20leap%20through%20%23PurdueDayofGiving!%20%23WeArePurdue%20Give%20now%20at%20purdue.university%2FIGave" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a><p class="margin-top">Share on Twitter</p></div></div></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue2022"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for being part of Purdue Day of Giving!</h3><p>Your generous gift to Purdue will help provide affordable and accessible education at one of the leading academic institutions in the world.</p><P>But there\u2019s one more thing you can do to help\u2014let\u2019s show the world what can happen when the entire Purdue community works together. Please let your family and friends know they too can give back today by sharing #PurdueDayofGiving on social media.</P><p>You can even help your favorite unit win bonus funds through the #IGave challenge! Just copy and paste the following message on your social networks, or click the buttons below:</p><p class="mb-0"><h3 class="social-sharing__message">#IGave to help power Purdue\u2019s next giant leap through #PurdueDayofGiving!<br>\nGive now at <a href="https://bit.ly/PUGave">purdue.university/IGave.</a></h3></p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?text=%23IGave%20to%20help%20Purdue%20take%20its%20next%20giant%20leap%20through%20%23PurdueDayofGiving!%20%23WeArePurdue%20Give%20now%20at%20purdue.university%2FIGave" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a></div></div><b>SHARE ON FACEBOOK AND TWITTER</b></div></div>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue2023"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for being part of the 10th anniversary of Purdue Day of Giving!</h3><p>Your generous gift to Purdue will help provide affordable and accessible education at one of the leading academic institutions in the world.</p><P>But there\'s one more thing you can do to help \u2014 let\'s show the world what can happen when the entire Purdue community works together. Please let your family and friends know they too can give back today by sharing #PurdueDayofGiving on social media. You can even help your favorite unit win bonus funds through the #IGave challenge! Just copy and paste the following message on your social networks, or click the buttons below:</P><p class="font-weight-bold gg-branding-lead mb-0">#IGave to help power Purdue\'s next giant leap through #PurdueDayofGiving!<br>\nGive now at <a href="https://bit.ly/PUGave">purdue.university/IGave</a>.</p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><div class="social-share-icon"><a aria-label="Twitter" data-toggle="tooltip" href="https://twitter.com/intent/tweet?url=https://purdue.university/IGave&amp;text=%23IGave%20to%20help%20power%20Purdue%E2%80%99s%20next%20giant%20leap%20through%20#PurdueDayofGiving!%20Give%20now%20at%20purdue.university/IGave" title="Share to Twitter">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div></div></div><p class="font-weight-bold gg-branding-lead">Share on Facebook and Twitter</p></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/purdue2024"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center"><h3 class="thank-you-heading">Thank you for being part of Purdue Day of Giving! Through your generosity, we are demonstrating what\u2019s possible <i> in just one day </i> when Boilermakers rally together for Purdue.</h3><p class="font-weight-bold">Now share <i>why</i> you rally!</p><p>Copy and paste the following message on your social networks, or click the buttons below:</p><p>#IGave on #PurdueDayofGiving because I believe Purdue can change the world when we rally together! Make your difference now by giving at  <a href="https://purdue.university/IGave">purdue.university/IGave</a>.</p><div class="social-container"><div class="social-share-icons"><div class="social-share-icon"><a aria-label="Facebook" class="fb-share-url" data-toggle="tooltip" data-url="'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"dog"):t)?i(o,"url"):o,t))+'" href="#" title="Share to Facebook">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"facebook"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div><div class="social-share-icon"><a aria-label="Share on X" data-toggle="tooltip" href="https://twitter.com/intent/tweet?url=https://purdue.university/IGave&amp;text=%23IGave%20to%20help%20power%20Purdue%E2%80%99s%20next%20giant%20leap%20through%20#PurdueDayofGiving!%20Give%20now%20at%20purdue.university/IGave" title="Share on X">'+(null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+'</a></div></div></div><p class="font-weight-bold gg-branding-lead">Share on Facebook and X</p></div>'},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/purdue2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2020"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/thank_you/_sanantonio"),t,{name:"multigive/thank_you/_sanantonio",hash:{surveyLink:"https://www.surveymonkey.com/r/89TR5DW"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2020"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2021"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/thank_you/_sanantonio"),t,{name:"multigive/thank_you/_sanantonio",hash:{surveyLink:"https://www.surveymonkey.com/r/D7F9JLS"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2021"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2022"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/thank_you/_sanantonio"),t,{name:"multigive/thank_you/_sanantonio",hash:{surveyLink:"https://docs.google.com/forms/d/e/1FAIpQLScFRJSihZQ4oCn-4QtOqjC6FrwM7bJIxfZBpBzgVP5EdXXiOg/viewform"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2022"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2023"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/thank_you/_sanantonio"),t,{name:"multigive/thank_you/_sanantonio",hash:{surveyLink:"https://forms.gle/VDzT5s346gXDCsvS9"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2023"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2024"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"multigive/thank_you/_sanantonio"),t,{name:"multigive/thank_you/_sanantonio",hash:{surveyLink:"https://docs.google.com/forms/d/e/1FAIpQLSfZIqherV_Z68BBBdzVAZuYNAbfIx7OublQ26Si84dZrvKNPA/viewform"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}),this.HandlebarsTemplates["multigive/thank_you/sanantonio2024"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/tip_the_host_donation"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"id")||(null!=t?i(t,"id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:822},end:{line:1,column:828}}}):o)+'">'+e.escapeExpression((i(n,"centsToDollars")||t&&i(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"amount"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:830},end:{line:1,column:855}}}))+"</option>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="gray-box mb-4"><div class="d-flex flex-column flex-sm-row align-items-center mb-4"><img alt="" class="img-100 mb-3 mb-sm-0 mr-sm-3" src="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"logo")||(null!=t?r(t,"logo"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"logo",hash:{},data:l,loc:{start:{line:1,column:149},end:{line:1,column:157}}}):i)+'" /><p class="mb-0">'+e.escapeExpression(e.lambda(null!=(o=null!=t?r(t,"dog"):t)?r(o,"tth_tagline"):o,t))+'</p></div><div class="current-tip"></div><div aria-hidden="true" class="select-amount-modal modal fade" data-backdrop="static" data-keyboard="false" role="dialog" tabindex="-1"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-body"><button aria-label="Close" class="close" data-dismiss="modal" type="button"><span alt="" aria-hidden="true">&times;</span></button><div class="row"><div class="col-sm-6"><div class="form-group"><label for="tth-donation-select">Select amount</label><select class="form-control custom-select" id="tth-donation-select">'+(null!=(o=r(n,"each").call(null!=t?t:e.nullContext||{},null!=t?r(t,"donation_levels"):t,{name:"each",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:782},end:{line:1,column:873}}}))?o:"")+'<option value="other">Other</option></select></div></div><div class="col-sm-6 tth-donation-other-container"></div></div><div class="tth-donation-error hidden"></div><div class="modal-footer justify-content-between"><button class="btn bg-secondary" data-dismiss="modal">Cancel</button><button class="btn gg-branding-lead-btn add-host-dtn">Confirm</button></div></div></div></div></div></div>'},useData:!0}),this.HandlebarsTemplates["multigive/tip_the_host_donation"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/tip_the_host_donation_current_tip"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="row"><div class="col-sm-6"><h4>'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"org"):t)?i(o,"name"):o,t))+'</h4></div><div class="col-sm-6"><h4 class="text-sm-right">'+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"payment_method"):t,"daf",{name:"ifEqual",hash:{},fn:e.program(2,l,0),inverse:e.program(4,l,0),data:l,loc:{start:{line:1,column:128},end:{line:1,column:289}}}))?o:"")+'<span class="h3">'+e.escapeExpression((i(n,"centsToDollars")||t&&i(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"amount"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:306},end:{line:1,column:331}}}))+'</span></h4></div></div><div class="d-flex justify-content-between"><button class="btn btn-sm bg-secondary remove-host-dtn">Remove</button><button class="btn btn-sm gg-branding-lead-btn open-amount-modal">Edit</button></div>'},2:function(){return'<span class="gg-branding-supporting">Distribution:</span> '},4:function(){return'<span class="gg-branding-supporting">Gift:</span> '},6:function(){return'<button class="btn gg-branding-lead-btn d-block mx-auto open-amount-modal">Select an amount</button>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"amount"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(6,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:670}}}))?o:""},useData:!0}),this.HandlebarsTemplates["multigive/tip_the_host_donation_current_tip"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/tip_the_host_donation_custom_amount"]=Handlebars.template({1:function(){return"hidden"},3:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"amount"):t,{name:"centsToDollars",hash:{dollar_sign:!1,add_commas:!1},data:l,loc:{start:{line:1,column:317},end:{line:1,column:377}}}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group '+(null!=(o=i(n,"unless").call(null!=t?t:e.nullContext||{},null!=t?i(t,"visible"):t,{name:"unless",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:23},end:{line:1,column:59}}}))?o:"")+'"><label for="tth-donation-other">Amount</label><div class="input-group"><div class="input-group-prepend"><span class="input-group-text">$</span></div><input class="form-control" id="tth-donation-other" inputmode="decimal" type="number" value="'+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"amount"):t,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:303},end:{line:1,column:384}}}))?o:"")+'" /></div></div>'},useData:!0}),this.HandlebarsTemplates["multigive/tip_the_host_donation_custom_amount"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/total"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"centsToDollars")||t&&o(t,"centsToDollars")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"total"):t,{name:"centsToDollars",hash:{},data:l,loc:{start:{line:1,column:0},end:{line:1,column:24}}}))},useData:!0}),this.HandlebarsTemplates["multigive/total"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["multigive/user_campaigns_dropdown"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="">Please select '+e.escapeExpression((s(n,"addArticle")||t&&s(t,"addArticle")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"fundraiser_label_set",{name:"addArticle",hash:{},data:l,loc:{start:{line:1,column:256},end:{line:1,column:293}}}))+"</option>"+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"user_campaigns"):t,{name:"each",hash:{},fn:e.program(2,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:302},end:{line:1,column:424}}}))?r:"")},2:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:341},end:{line:1,column:347}}
}):s)+'" '+(null!=(r=(u(n,"ifEqual")||t&&u(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=i[1]?u(i[1],"selected"):i[1],null!=t?u(t,"id"):t,{name:"ifEqual",hash:{},fn:e.program(3,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:349},end:{line:1,column:396}}}))?r:"")+">"+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"title")||(null!=t?u(t,"title"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:397},end:{line:1,column:406}}}):s)+"</option>"},3:function(){return"selected"},5:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="">No '+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"fundraiser_label_set"):n)?a(n,"plural"):n,t))+" found.</option>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group"><label for="user-campaigns-'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"cId")||(null!=t?u(t,"cId"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"cId",hash:{},data:l,loc:{start:{line:1,column:51},end:{line:1,column:58}}}):s)+'">Select '+e.escapeExpression((u(n,"addArticle")||t&&u(t,"addArticle")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"fundraiser_label_set",{name:"addArticle",hash:{},data:l,loc:{start:{line:1,column:67},end:{line:1,column:104}}}))+' (optional):</label><select class="custom-select user-campaign-choice" id="user-campaigns-'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"cId")||(null!=t?u(t,"cId"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"cId",hash:{},data:l,loc:{start:{line:1,column:194},end:{line:1,column:201}}}):s)+'">'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"user_campaigns"):t,{name:"if",hash:{},fn:e.program(1,l,0,o,i),inverse:e.program(5,l,0,o,i),data:l,loc:{start:{line:1,column:203},end:{line:1,column:515}}}))?r:"")+"</select></div>"},useData:!0,useDepths:!0}),this.HandlebarsTemplates["multigive/user_campaigns_dropdown"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates.pager=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul class="pagination justify-content-center"><li class="page-item"><a aria-label="Previous" class="prev-btn page-link gg-branding-lead-link" href="#">&laquo; Prev</a></li><li aria-current="page" class="page-item disabled"><span class="page-link">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"page")||(null!=t?i(t,"page"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"page",hash:{},data:l,loc:{start:{line:1,column:247},end:{line:1,column:255}}}):o)+'<span class="sr-only">(current)</span></span></li><li class="page-item"><a aria-label="Next" class="next-btn page-link gg-branding-lead-link" href="#"> Next &raquo;</a></li></ul><p aria-live="assertive" class="text-center">Page '+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"page")||(null!=t?i(t,"page"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"page",hash:{},data:l,loc:{start:{line:1,column:483},end:{line:1,column:491}}}):o)+" of "+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"pages")||(null!=t?i(t,"pages"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"pages",hash:{},data:l,loc:{start:{line:1,column:495},end:{line:1,column:504}}}):o)+"</p>"},useData:!0}),this.HandlebarsTemplates.pager}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["prizes/current_challenges"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"highlighted_prizes"):t,{name:"each",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:39},end:{line:1,column:205}}}))?o:""},2:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=r(n,"unless").call(null!=t?t:e.nullContext||{},l&&r(l,"first"),{name:"unless",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:67},end:{line:1,column:115}}}))?o:"")+'<h3 class="mt-0">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"title")||(null!=t?r(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:132},end:{line:1,column:141}}}):i)+'</h3><p class="mb-0">'+e.escapeExpression((r(n,"newlinesToHtml")||t&&r(t,"newlinesToHtml")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"description"):t,{name:"newlinesToHtml",hash:{},data:l,loc:{start:{line:1,column:162},end:{line:1,column:192}}}))+"</p>"},3:function(){return'<hr class="my-4" />'},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"highlighted_prizes"):t,{name:"each",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:213},end:{line:1,column:1253}}}))?o:""},6:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},l&&i(l,"first"),{name:"if",hash:{},fn:e.program(7,l,0),inverse:e.program(10,l,0),data:l,loc:{start:{line:1,column:241},end:{line:1,column:1244}}}))?o:""},7:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="text-lg"><strong>Current Hourly Challenge: <span class="text-nowrap">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"start_time")||(null!=t?r(t,"start_time"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"start_time",hash:{},data:l,loc:{start:{line:1,column:334},end:{line:1,column:348}}}):i)+":00 "+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"start_meridiem")||(null!=t?r(t,"start_meridiem"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"start_meridiem",hash:{},data:l,loc:{start:{line:1,column:352},end:{line:1,column:370}}}):i)+' EDT</span></strong></p><h3 class="mt-0">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"title")||(null!=t?r(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:411},end:{line:1,column:420}}}):i)+"</h3>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"prize_text"):t,{name:"if",hash:{},fn:e.program(8,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:425},end:{line:1,column:556}}}))?o:"")+'<p class="mb-0">'+e.escapeExpression((r(n,"newlinesToHtml")||t&&r(t,"newlinesToHtml")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"description"):t,{name:"newlinesToHtml",hash:{},data:l,loc:{start:{line:1,column:572},end:{line:1,column:602}}}))+'</p><p class="margin-bottom deadline"><strong>Deadline: <span class="text-nowrap">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"end_time")||(null!=t?r(t,"end_time"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"end_time",hash:{},data:l,loc:{start:{line:1,column:684},end:{line:1,column:696}}}):i)+":00 "+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"end_meridiem")||(null!=t?r(t,"end_meridiem"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"end_meridiem",hash:{},data:l,loc:{start:{line:1,column:700},end:{line:1,column:716}}}):i)+" EDT</span></strong></p>"},8:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="prize-value"><div class="text-xl font-weight-bold gg-branding-lead">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"prize_text")||(null!=t?i(t,"prize_text"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"prize_text",hash:{},data:l,loc:{start:{line:1,column:523},end:{line:1,column:537}}}):o)+"</div></div>"},10:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<hr class="my-4" /><div class="next-challenge"><p class="text-lg">Next Hourly Challenge: <span class="text-nowrap">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"start_time")||(null!=t?r(t,"start_time"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"start_time",hash:{},data:l,loc:{start:{line:1,column:863},end:{line:1,column:877}}}):i)+":00 "+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"start_meridiem")||(null!=t?r(t,"start_meridiem"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"start_meridiem",hash:{},data:l,loc:{start:{line:1,column:881},end:{line:1,column:899}}}):i)+' EDT</span></p><h3 class="mt-0">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"title")||(null!=t?r(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:931},end:{line:1,column:940}}}):i)+"</h3>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"prize_text"):t,{name:"if",hash:{},fn:e.program(8,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:945},end:{line:1,column:1076}}}))?o:"")+'<p class="mb-0">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"description")||(null!=t?r(t,"description"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:l,loc:{start:{line:1,column:1092},end:{line:1,column:1107}}}):i)+'</p><p class="deadline"><strong>Deadline: <span class="text-nowrap">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"end_time")||(null!=t?r(t,"end_time"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"end_time",hash:{},data:l,loc:{start:{line:1,column:1175},end:{line:1,column:1187}}}):i)+":00 "+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"end_meridiem")||(null!=t?r(t,"end_meridiem"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"end_meridiem",hash:{},data:l,loc:{start:{line:1,column:1191},end:{line:1,column:1207}}}):i)+" EDT</span></strong></p></div>"},12:function(){return'<a class="btn btn-lg gg-branding-lead-btn gg-branding-white text-uppercase" href="/leaderboards?title=challenges">View All Challenges</a><a class="btn btn-lg gg-branding-lead-btn gg-branding-white text-uppercase" href="/leaderboards">View Leaderboards</a>'},14:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"name"):o,"ucentralfl",{name:"ifEqual",hash:{},fn:e.program(15,l,0),inverse:e.program(17,l,0),data:l,loc:{start:{line:1,column:1556},end:{line:1,column:1991}}}))?o:""},15:function(){return'<a class="btn btn-lg gg-branding-lead-btn gg-branding-white text-uppercase" href="/prizes">View All Challenges</a><a class="btn btn-lg gg-branding-lead-btn gg-branding-white text-uppercase" href="/leaderboards">View Leaderboards</a>'},17:function(){return'<a class="btn btn-lg gg-branding-lead-btn gg-branding-white text-uppercase" href="/leaderboards?title=hourly-fullday-challenges">View All Challenges</a>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"name"):o,"ucentralfl",{name:"ifEqual",hash:{},fn:e.program(1,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:1265}}}))?o:"")+(null!=(o=(i(n,"ifEqual")||t&&i(t,"ifEqual")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"dogBreed"):t)?i(o,"name"):o,"ncstate",{name:"ifEqual",hash:{},fn:e.program(12,l,0),inverse:e.program(14,l,0),data:l,loc:{start:{line:1,column:1265},end:{line:1,column:2003}}}))?o:"")},useData:!0}),this.HandlebarsTemplates["prizes/current_challenges"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["prizes/highlighted_prizes"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="flex prizes">'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"highlighted_prizes"):t,{name:"each",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:51},end:{line:1,column:241}}}))?o:"")+"</div>"},2:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="flex-item"><h3>'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"title")||(null!=t?r(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:106},end:{line:1,column:115}}}):i)+"</h3><article>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"prize_text"):t,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:129},end:{line:1,column:177}}}))?o:"")+"<p>"+(null!=(o=(r(n,"newlinesToHtml")||t&&r(t,"newlinesToHtml")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"description"):t,{name:"newlinesToHtml",hash:{},data:l,loc:{start:{line:1,column:180},end:{line:1,column:212}}}))?o:"")+"</p></article></div>"},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h3>"+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"prize_text")||(null!=t?i(t,"prize_text"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"prize_text",hash:{},data:l,loc:{start:{line:1,column:151},end:{line:1,column:165}}}):o)+"</h3>"},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"prizes_landing_copy"):o,{name:"if",hash:{},fn:e.program(6,l,0),inverse:e.program(8,l,0),data:l,loc:{start:{line:1,column:255},end:{line:1,column:534}}}))?o:""},6:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(n=e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"prizes_landing_copy"):n,t))?n:""},8:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h1>Increase Your Impact</h1><p>You could be the lucky winner! If your donation qualifies, your favorite "+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"org_label_set"):n)?a(n,"singular"):n,t))+" could win a "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"dogBreed"):t)?a(n,"prize_label"):n,t))+".</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"highlighted_prizes"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(5,l,0),data:l,loc:{start:{line:1,column:0},end:{line:1,column:541}}}))?o:""},useData:!0}),this.HandlebarsTemplates["prizes/highlighted_prizes"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["prizes/lb_next_challenge"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="text-lg font-weight-bold">Next Hourly Challenge: <span class="text-nowrap">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"challenge"):t)?a(n,"start_time"):n,t))+":00 "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"challenge"):t)?a(n,"start_meridiem"):n,t))+' EDT</span></p><h3 class="mt-0">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"challenge"):t)?a(n,"title"):n,t))+'</h3><p class="mb-0">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"challenge"):t)?a(n,"description"):n,t))+'</p><p><strong>Deadline: <span class="text-nowrap">'+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"challenge"):t)?a(n,"end_time"):n,t))+":00 "+e.escapeExpression(e.lambda(null!=(n=null!=t?a(t,"challenge"):t)?a(n,"end_meridiem"):n,t))+" EDT</span></strong></p>"},useData:!0}),this.HandlebarsTemplates["prizes/lb_next_challenge"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["prizes/listing"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img alt="" src="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"image_url")||(null!=t?i(t,"image_url"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"image_url",hash:{},data:l,loc:{start:{line:1,column:171},end:{line:1,column:184}}}):o)+'" />'},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="prize-value"><div class="text-xl font-weight-bold gg-branding-lead">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"prize_text")||(null!=t?i(t,"prize_text"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"prize_text",hash:{},data:l,loc:{start:{line:1,column:364},end:{line:1,column:378}}}):o)+"</div></div>"},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="prize-wrapper"><h3 class="gg-branding-lead">'+e.escapeExpression(e.lambda(null!=(o=null!=t?i(t,"winners"):t)?i(o,"length"):o,t))+" "+e.escapeExpression((i(n,"pluralize")||t&&i(t,"pluralize")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"winners"):t)?i(o,"length"):o,"Winner","Winners",{name:"pluralize",hash:{},data:l,loc:{start:{line:1,column:542},end:{line:1,column:589}}}))+'</h3><ul class="list-group list-unstyled">'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"winners"):t,{name:"each",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:631},end:{line:1,column:871}}}))?o:"")+"</ul></div>"},6:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li class="list-group-item list-group-item-action flex-column align-items-start">'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"winner_text"):t,{name:"if",hash:{},fn:e.program(7,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:729},end:{line:1,column:782}}}))?o:"")+'<a class="gg-branding-lead-link" href="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"winner_link")||(null!=t?r(t,"winner_link"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"winner_link",hash:{},data:l,loc:{start:{line:1,column:821},end:{line:1,column:836}}}):i)+'">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"winner_name")||(null!=t?r(t,"winner_name"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"winner_name",hash:{},data:l,loc:{start:{line:1,column:838},end:{line:1,column:853}}}):i)+"</a></li>"},7:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h4>"+(null!=(o="function"==typeof(i=null!=(i=r(n,"winner_text")||(null!=t?r(t,"winner_text"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"winner_text",hash:{},data:l,loc:{start:{line:1,column:752},end:{line:1,column:769}}}):i)?o:"")+":</h4>"},9:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="card-footer"><span>Sponsored by<a class="gg-branding-lead-link" href="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"sponsor_link")||(null!=t?i(t,"sponsor_link"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"sponsor_link",hash:{},data:l,loc:{start:{line:1,column:997},end:{line:1,column:1013}}}):o)+'" target="_blank">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"sponsor_name")||(null!=t?i(t,"sponsor_name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"sponsor_name",hash:{},data:l,loc:{start:{line:1,column:1031},end:{line:1,column:1047}}}):o)+"</a></span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="card-header"><h2 class="text-2xl card-title">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"award"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"title")||(null!=t?r(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:94},end:{line:1,column:103}}}):i)+'</h2></div><div class="card-body">'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"has_image"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:137},end:{line:1,column:195}}}))?o:"")+'<div aria-label="prize description" class="prize-description"><article>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"prize_text"):t,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:266},end:{line:1,column:397}}}))?o:"")+"<p>"+(null!=(o=(r(n,"newlinesToHtml")||t&&r(t,"newlinesToHtml")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?r(t,"description"):t,{name:"newlinesToHtml",hash:{},data:l,loc:{start:{line:1,column:400},end:{line:1,column:432}}}))?o:"")+"</p></article></div>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"winners"):t,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:452},end:{line:1,column:889}}}))?o:"")+"</div>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"sponsor_name"):t,{name:"if",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:895},end:{line:1,column:1071}}}))?o:"")},usePartial:!0,useData:!0}),this.HandlebarsTemplates["prizes/listing"]}.call(this),function(){Handlebars.registerPartial("shared/_causes",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="gg-branding-white">Causes:'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"causes"):t,{name:"each",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:50},end:{line:1,column:146}}}))?o:"")+"</p>"},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <a class="gg-branding-white-link" href="/causes/'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"slug")||(null!=t?i(t,"slug"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"slug",hash:{},data:l,loc:{start:{line:1,column:115},end:{line:1,column:123}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"name")||(null!=t?i(t,"name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:125},end:{line:1,column:133}}}):o)+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"causes"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:157}}}))?o:""},useData:!0}))}.call(this),function(){Handlebars.registerPartial("shared/_loading_indicator",Handlebars.template({1:function(){return"gg-branding-white"},3:function(){return"gg-branding-lead"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div aria-hidden="true" class="loading-pulse '+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"white"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l,loc:{start:{line:1,column:45},end:{line:1,column:106}}}))?o:"")+'"><div></div><div></div><div></div></div>'},useData:!0}))}.call(this),function(){Handlebars.registerPartial("shared/_sprite",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<svg alt="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"customAlt")||(null!=t?i(t,"customAlt"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"customAlt",hash:{},data:l,loc:{start:{line:1,column:10},end:{line:1,column:23}}}):o)+'" class="icon-sprite '+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"customClass")||(null!=t?i(t,"customClass"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"customClass",hash:{},data:l,loc:{start:{line:1,column:44},end:{line:1,column:59}}}):o)+'"><use xlink:href="'+e.escapeExpression((i(n,"spriteUrl")||t&&i(t,"spriteUrl")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?i(t,"sprite"):t,{name:"spriteUrl",hash:{},data:l,loc:{start:{line:1,column:78},end:{line:1,column:98}}}))+'"></use></svg>'},useData:!0}))}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["shared/donations_scroller_item"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h4 class="gg-branding-supporting">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"public_name")||(null!=t?i(t,"public_name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"public_name",hash:{},data:l,loc:{start:{line:1,column:85},end:{line:1,column:100}}}):o)+"</h4>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div><img src="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"logo_url")||(null!=t?r(t,"logo_url"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"logo_url",hash:{},data:l,loc:{start:{line:1,column:15},end:{line:1,column:27}}}):i)+'" />'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"public_name"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:31},end:{line:1,column:112}}}))?o:"")+"</div>"},useData:!0}),this.HandlebarsTemplates["shared/donations_scroller_item"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["shared/empty_modal"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(){return'<div class="modal fade" role="dialog" tabindex="-1"><div class="modal-dialog" role="document"><div class="modal-content"></div></div></div>'},useData:!0}),this.HandlebarsTemplates["shared/empty_modal"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["shared/option_tags"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"value")||(null!=t?i(t,"value"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"value",hash:{},data:l,loc:{start:{line:1,column:29},end:{line:1,column:38}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"text")||(null!=t?i(t,"text"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"text",hash:{},data:l,loc:{start:{line:1,column:40},end:{line:1,column:48}}}):o)+"</option>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"data"):t,{name:"each",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:66}}}))?o:""},useData:!0}),this.HandlebarsTemplates["shared/option_tags"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["shared/search_sprite"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{sprite:"search"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}),this.HandlebarsTemplates["shared/search_sprite"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["sharing/twitter_button"]=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a aria-label="Share on X" data-toggle="tooltip" href="https://www.twitter.com/intent/tweet?text='+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"text")||(null!=t?r(t,"text"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"text",hash:{},data:l,loc:{start:{line:1,column:97},end:{line:1,column:105}}}):i)+"&amp;url="+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"share_url")||(null!=t?r(t,"share_url"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"share_url",hash:{},data:l,loc:{start:{line:1,column:114},end:{line:1,column:127}}}):i)+'" target="_blank" title="Share on X">'+(null!=(o=e.invokePartial(r(a,"shared/_sprite"),t,{name:"shared/_sprite",hash:{customClass:"",sprite:"twitter"},data:l,helpers:n,partials:a,decorators:e.decorators}))?o:"")+"</a>"},usePartial:!0,useData:!0}),this.HandlebarsTemplates["sharing/twitter_button"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["sponsors/list"]=Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<section class="partners"><div class="container">'+(null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"groupedSponsors"):t,{name:"each",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:72},end:{line:1,column:322}}}))?o:"")+(null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?i(t,"customizations"):t)?i(o,"random_sponsors"):o,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:322},end:{line:1,column:528}}}))?o:"")+"</div></section>"},2:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="gg-branding-supporting">'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"heading")||(null!=t?r(t,"heading"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"heading",hash:{},data:l,loc:{start:{line:1,column:132},end:{line:1,column:143}}}):i)+'</h2><div class="flex logos">'+(null!=(o=r(n,"each").call(null!=t?t:e.nullContext||{},null!=t?r(t,"sponsors"):t,{name:"each",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:172},end:{line:1,column:307}}}))?o:"")+"</div>"},3:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="flex-item"><a href="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"url")||(null!=t?i(t,"url"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"url",hash:{},data:l,loc:{start:{line:1,column:222},
end:{line:1,column:229}}}):o)+'" target="_blank"><img alt="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"name")||(null!=t?i(t,"name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:l,loc:{start:{line:1,column:257},end:{line:1,column:265}}}):o)+'" src="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"logo_url")||(null!=t?i(t,"logo_url"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"logo_url",hash:{},data:l,loc:{start:{line:1,column:272},end:{line:1,column:284}}}):o)+'" /></a></div>'},5:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="text-center margin-top-x"><a class="btn gg-branding-lead-btn btn-sm" href="'+e.escapeExpression(e.lambda(null!=(n=null!=(n=null!=t?a(t,"customizations"):t)?a(n,"random_sponsors"):n)?a(n,"see_all_url"):n,t))+'">See All Sponsors</a></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"groupedSponsors"):t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:551}}}))?o:""},useData:!0}),this.HandlebarsTemplates["sponsors/list"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["support_areas/index"]=Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="col-sm-6 col-md-4 mb-4"><div class="box-shadow-gray p-3"><a class="gg-branding-lead-link" href="/campaigns/'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"slug")||(null!=t?u(t,"slug"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"slug",hash:{},data:l,loc:{start:{line:1,column:142},end:{line:1,column:150}}}):s)+'"><h3 class="text-center mt-0">'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"title")||(null!=t?u(t,"title"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:181},end:{line:1,column:190}}}):s)+'</h3><img alt="'+(null!=(r=u(n,"if").call(null!=t?t:e.nullContext||{},null!=t?u(t,"has_profile"):t,{name:"if",hash:{},fn:e.program(2,l,0,o,i),inverse:e.program(4,l,0,o,i),data:l,loc:{start:{line:1,column:205},end:{line:1,column:280}}}))?r:"")+'" class="mw-100" src="'+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"story_image_url")||(null!=t?u(t,"story_image_url"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"story_image_url",hash:{},data:l,loc:{start:{line:1,column:302},end:{line:1,column:321}}}):s)+'" /></a><div class="text-center mt-3"><a class="btn gg-branding-lead-btn" href="/donate?campaign_id='+e.escapeExpression("function"==typeof(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:421},end:{line:1,column:427}}}):s)+'">'+e.escapeExpression(e.lambda(null!=(r=null!=i[1]?u(i[1],"customizations"):i[1])?u(r,"donate_text"):r,t))+"</a></div></div></div>"},2:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"View "+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"title")||(null!=t?i(t,"title"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:229},end:{line:1,column:238}}}):o)+" profile"},4:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"Donate to "+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"title")||(null!=t?i(t,"title"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:264},end:{line:1,column:273}}}):o)},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"support_areas"):t,{name:"each",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:493}}}))?r:""},useData:!0,useDepths:!0}),this.HandlebarsTemplates["support_areas/index"]}.call(this),function(){Handlebars.registerPartial("surveys/_multi_response",Handlebars.template({1:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-check"><label class="form-check-label"><input class="form-check-input" id="survey_question_'+e.escapeExpression(e.lambda(null!=i[1]?s(i[1],"id"):i[1],t))+'" type="checkbox" value="'+e.escapeExpression("function"==typeof(r=null!=(r=s(n,"id")||(null!=t?s(t,"id"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:159},end:{line:1,column:165}}}):r)+'" />'+e.escapeExpression("function"==typeof(r=null!=(r=s(n,"body")||(null!=t?s(t,"body"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"body",hash:{},data:l,loc:{start:{line:1,column:169},end:{line:1,column:177}}}):r)+"</label></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"choices"):t,{name:"each",hash:{},fn:e.program(1,l,0,o,i),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:200}}}))?r:""},useData:!0,useDepths:!0}))}.call(this),function(){Handlebars.registerPartial("surveys/_single_response",Handlebars.template({1:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"id")||(null!=t?i(t,"id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:116},end:{line:1,column:122}}}):o)+'">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"body")||(null!=t?i(t,"body"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"body",hash:{},data:l,loc:{start:{line:1,column:124},end:{line:1,column:132}}}):o)+"</option>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<select class="custom-select" id="survey_question_'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"id")||(null!=t?r(t,"id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:50},end:{line:1,column:56}}}):i)+'"><option value=""></option>'+(null!=(o=r(n,"each").call(null!=t?t:e.nullContext||{},null!=t?r(t,"choices"):t,{name:"each",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:84},end:{line:1,column:150}}}))?o:"")+"</select>"},useData:!0}))}.call(this),function(){Handlebars.registerPartial("surveys/_text_response",Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input class="form-control text-question" id="survey_question_'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"id")||(null!=t?i(t,"id"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:62},end:{line:1,column:68}}}):o)+'" type="text">'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"answer_body")||(null!=t?i(t,"answer_body"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"answer_body",hash:{},data:l,loc:{start:{line:1,column:82},end:{line:1,column:97}}}):o)+"</input>"},useData:!0}))}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["surveys/survey"]=Handlebars.template({1:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group '+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"hidden"):t,{name:"if",hash:{},fn:e.program(2,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:42},end:{line:1,column:69}}}))?o:"")+'" data-id="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"id")||(null!=t?r(t,"id"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:l,loc:{start:{line:1,column:80},end:{line:1,column:86}}}):i)+'"><label>'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"body")||(null!=t?r(t,"body"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"body",hash:{},data:l,loc:{start:{line:1,column:95},end:{line:1,column:103}}}):i)+" "+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"required"):t,{name:"if",hash:{},fn:e.program(4,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:104},end:{line:1,column:136}}}))?o:"")+"</label>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"single_response"):t,{name:"if",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:144},end:{line:1,column:204}}}))?o:"")+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"many_response"):t,{name:"if",hash:{},fn:e.program(8,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:204},end:{line:1,column:261}}}))?o:"")+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"open_ended"):t,{name:"if",hash:{},fn:e.program(10,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:261},end:{line:1,column:315}}}))?o:"")+"</div>"},2:function(){return"hidden"},4:function(){return"*required"},6:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"surveys/_single_response"),t,{name:"surveys/_single_response",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},8:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"surveys/_multi_response"),t,{name:"surveys/_multi_response",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},10:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(i(a,"surveys/_text_response"),t,{name:"surveys/_text_response",data:l,helpers:n,partials:a,decorators:e.decorators}))?o:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=i(n,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"questions"):t,{name:"each",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:0},end:{line:1,column:330}}}))?o:""},usePartial:!0,useData:!0}),this.HandlebarsTemplates["surveys/survey"]}.call(this),function(){return this.HandlebarsTemplates||(this.HandlebarsTemplates={}),this.HandlebarsTemplates["user_campaigns/creation_modal"]=Handlebars.template({1:function(e,t){var n,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="help-block">'+(null!=(n=e.lambda(null!=(n=null!=t?a(t,"customizations"):t)?a(n,"fundraiser_sign_up_info"):n,t))?n:"")+"</div><hr />"},3:function(){return'<div class="campaign-search form-group"><campaign-search-autocomplete :user-campaign="userCampaign"><template v-slot:result-option="{ option }"><span v-text="option.name"></span><span class="text-xs text-muted" v-if="!option.dog_campaign" v-text="` at ${option.group.name}`"></span></template></campaign-search-autocomplete></div>'},5:function(e,t,n,a,l){var o,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input name="picture" type="hidden" value="'+e.escapeExpression("function"==typeof(o=null!=(o=i(n,"picture")||(null!=t?i(t,"picture"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"picture",hash:{},data:l,loc:{start:{line:1,column:2264},end:{line:1,column:2275}}}):o)+'" />'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,l){var o,i,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="modal-header gg-branding-supporting-bg flex"><img alt="" class="org-logo" src="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"logo_url")||(null!=t?r(t,"logo_url"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"logo_url",hash:{},data:l,loc:{start:{line:1,column:91},end:{line:1,column:103}}}):i)+'" /><div class="flex-item gg-branding-white center"><h3>Become '+e.escapeExpression((r(n,"addArticle")||t&&r(t,"addArticle")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"fundraiser_label_set",{name:"addArticle",hash:{},data:l,loc:{start:{line:1,column:166},end:{line:1,column:203}}}))+" for</h3><h4>"+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"title")||(null!=t?r(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:l,loc:{start:{line:1,column:216},end:{line:1,column:225}}}):i)+'</h4></div></div><form><div class="modal-body">'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?r(t,"customizations"):t)?r(o,"fundraiser_sign_up_info"):o,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:272},end:{line:1,column:405}}}))?o:"")+'<div class="row"><div class="col-sm-6"><div class="form-group"><label for="first-name">First Name</label><input class="form-control" id="first-name" name="first_name" required="required" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"first_name")||(null!=t?r(t,"first_name"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"first_name",hash:{},data:l,loc:{start:{line:1,column:611},end:{line:1,column:625}}}):i)+'" /></div></div><div class="col-sm-6"><div class="form-group"><label for="last-name">Last Name</label><input class="form-control" id="last-name" name="last_name" required="required" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"last_name")||(null!=t?r(t,"last_name"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"last_name",hash:{},data:l,loc:{start:{line:1,column:826},end:{line:1,column:839}}}):i)+'" /></div></div></div><div class="form-group"><label for="fundraiser_title">Campaign Name (optional)</label><input aria-describedby="campaign-name-help" class="form-control" id="fundraiser_title" name="fundraiser_title" type="text" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"fundraiser_title")||(null!=t?r(t,"fundraiser_title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"fundraiser_title",hash:{},data:l,loc:{start:{line:1,column:1078},end:{line:1,column:1098}}}):i)+'" /><div class="help-block" id="campaign-name-help">If you\'d like your '+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?r(t,"dogBreed"):t)?r(o,"fundraiser_label_set"):o)?r(o,"singular"):o,t))+" page name to be something other than your first and last name, enter that here.</div></div>"+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"allow_campaign_selection"):t,{name:"if",hash:{},fn:e.program(3,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:1303},end:{line:1,column:1672}}}))?o:"")+'<div class="form-group"><label for="email">Email</label><input class="form-control" id="email" name="email" required="required" type="email" value="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"email")||(null!=t?r(t,"email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:l,loc:{start:{line:1,column:1820},end:{line:1,column:1829}}}):i)+'" /></div><div class="form-group"><label for="password-prompt">Password</label><input aria-describedby="password-help" class="form-control" id="password-prompt" name="password" required="required" type="password" /><div class="help-block" id="password-help">New passwords must be 8 characters and include a letter, a number and a special character (e.g. !,?, or $).</div></div>'+(null!=(o=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"picture"):t,{name:"if",hash:{},fn:e.program(5,l,0),inverse:e.noop,data:l,loc:{start:{line:1,column:2206},end:{line:1,column:2286}}}))?o:"")+'<a class="link-blue" href="'+e.escapeExpression("function"==typeof(i=null!=(i=r(n,"ggWebUrl")||(null!=t?r(t,"ggWebUrl"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"ggWebUrl",hash:{},data:l,loc:{start:{line:1,column:2313},end:{line:1,column:2325}}}):i)+'/password/new" target="_blank">Forgot your Password?</a><div aria-live="assertive" class="errors hidden text-danger"></div></div><div class="modal-footer center padding-x"><div class="flex"><button class="btn btn-lg gg-branding-supporting-btn flex-item margin-right" data-dismiss="modal" type="button">Cancel</button><button class="btn btn-lg gg-branding-lead-btn flex-item" type="submit">Submit</button></div></div></form>'},useData:!0}),this.HandlebarsTemplates["user_campaigns/creation_modal"]}.call(this),app.custom=function(e){return app.customizations[e]},app.template=function(e,t){return(t=t||{}).dog=app.dog,t.dogBreed=app.dogBreed,t.ggWebUrl=app.ggWebUrl,t.images=app.images,t.customizations=app.customizations,HandlebarsTemplates[e](t)},app.utils={dollarsToCents:function(e){return Math.round(100*parseFloat(e.replace(/\$|,/g,"")))},formatNumCommas:function(e){if(null===e)return"";var t=e<0,n=e.toString().split("."),a=_.toArray(n[0]),l="";if(t&&a.shift(),_.forEach(a,(function(e,t){l+=e,(a.length-t-1)%3==0&&(l+=",")})),l=_.trim(l,","),n[1]){var o=""===n[0]?"0.":".";l+=o+n[1]}return t&&(l="-"+l),l},getDecodedUrlParam:function(e){return decodeURIComponent((app.utils.getUrlParam(e)||"").replace(/\+/g," "))},getUrlParam:function(e){return new URLSearchParams(window.location.search).get(e)},getUrlParams:function(){const e={};for(const[t,n]of new URLSearchParams(window.location.search))e[t]=n;return e},isPresent:function(e){return""!==$.trim($(e).val())},minDtnAmount:()=>"daf"==app.dog.payment_methods&&app.custom("daf_minimum")>app.dog.min_donation_cents?app.custom("daf_minimum"):app.dog.min_donation_cents,monthName:function(e){return["January","February","March","April","May","June","July","August","September","October","November","December"][e]},percent:function(e,t){return 0===parseFloat(t)?0:Math.round(parseFloat(e)/parseFloat(t)*100)},showRecentDonor:function(){var e=app.dog.donations_enabled||app.landingSuccess;return app.customizations.tie_profile_recent_donor_to_stats?e&&app.dog.stats_enabled:e},skipRecaptcha:()=>app.skipRecaptcha||app.utils.getUrlParam("phone_bank_code"),validPassword:function(e){var t,n=e.$("#password-prompt"),a=n.val(),l=function(e){return e.match(/[A-Za-z]/)&&e.match(/\d/)&&e.match(/[#$%&'()*+,-./:;<=>?_!]/)};if(a)if(function(e){return e.length>=8}(a)){if(l(a))return n.removeClass("is-invalid"),!0;t="Password must include at least one letter, number and special character"}else t="Password must be at least 8 characters.";else t="This field is required.";return n.addClass("is-invalid"),e.error(t),!1},validAmount:function(e){return!(isNaN(e)||e<app.utils.minDtnAmount()||e>1e8)}},app.statesArray=[["Alabama","AL"],["Alaska","AK"],["Arizona","AZ"],["Arkansas","AR"],["California","CA"],["Colorado","CO"],["Connecticut","CT"],["Delaware","DE"],["District of Columbia","DC"],["Florida","FL"],["Georgia","GA"],["Hawaii","HI"],["Idaho","ID"],["Illinois","IL"],["Indiana","IN"],["Iowa","IA"],["Kansas","KS"],["Kentucky","KY"],["Louisiana","LA"],["Maine","ME"],["Maryland","MD"],["Massachusetts","MA"],["Michigan","MI"],["Minnesota","MN"],["Mississippi","MS"],["Missouri","MO"],["Montana","MT"],["Nebraska","NE"],["Nevada","NV"],["New Hampshire","NH"],["New Jersey","NJ"],["New Mexico","NM"],["New York","NY"],["North Carolina","NC"],["North Dakota","ND"],["Ohio","OH"],["Oklahoma","OK"],["Oregon","OR"],["Pennsylvania","PA"],["Puerto Rico","PR"],["Rhode Island","RI"],["South Carolina","SC"],["South Dakota","SD"],["Tennessee","TN"],["Texas","TX"],["U.S. Armed Forces \u2013 Americas","AA"],["U.S. Armed Forces \u2013 Europe","AE"],["U.S. Armed Forces \u2013 Pacific","AP"],["Utah","UT"],["Vermont","VT"],["Virginia","VA"],["Washington","WA"],["West Virginia","WV"],["Wisconsin","WI"],["Wyoming","WY"]],app.storage=function(){var e=function(e){try{var t=window[e],n="__storage_test__";return t.setItem(n,n),t.removeItem(n),!0}catch(e){return!1}},t=function(e){return app.dog.name+"_"+e};return{get:function(n){if(e("sessionStorage"))return sessionStorage.getItem(t(n))},remove:function(n){e("sessionStorage")&&sessionStorage.removeItem(t(n))},set:function(n,a){e("sessionStorage")&&sessionStorage.setItem(t(n),a)}}}(),app.alerts={error:function(e){return app.template("alerts/error",{error:e})},notify:function(e){return app.template("alerts/notification",{notification:e})}},app.confetti={celebrate:_.throttle(((e,t)=>{if("false"===app.storage.get("animation"))return;if(app.confetti.onDonationForm())return;t&&app.confetti.showMessage(e,t);const n=Date.now()+1e3*e,a={colors:[app.dog.lead_color,app.dog.supporting_color],disableForReducedMotion:!0,particleCount:3,spread:55};!function e(){confetti({...a,angle:60,origin:{x:0}}),confetti({...a,angle:120,origin:{x:1}}),Date.now()<n&&requestAnimationFrame(e)}()}),5e3),showMessage(e,t){const n=e<10?10:e,a=$(app.template("alerts/confetti_message",{message:t}));$("body").append(a),$("#back-to-top").hide(),setTimeout((()=>{a.alert("close"),$("#back-to-top").show()}),1e3*n)},checkMilestones(e){void 0===app.confetti.nextInterval?app.confetti.setNextInterval(e):e[app.confetti.stat]>=app.confetti.nextInterval&&(app.confetti.setNextInterval(e),app.confetti.celebrate(app.confetti.seconds,app.confetti.message))},onDonationForm:()=>["donate","early-give","ecards","give-again","international","leader","multigive","vip"].some((e=>location.pathname.startsWith(e,1))),setNextInterval(e){const t=e[app.confetti.stat];app.confetti.nextInterval=t-t%app.confetti.interval+app.confetti.interval}};const confettiSettings=app.custom("confetti_celebration_settings");confettiSettings&&(app.confetti.stat=confettiSettings.type,app.confetti.seconds=confettiSettings.seconds,app.confetti.interval=confettiSettings.interval,app.confetti.message=confettiSettings.message),app.getCookie=function(e){for(var t,n=document.cookie.split("; "),a=0;a<n.length;a++)if((t=n[a].split("="))[0]===e)return decodeURIComponent(t[1]);return null},app.removeCookie=function(e){var t=new Date(0).toUTCString();document.cookie=e+"=; expires="+t+"; domain="+window.location.hostname+"; path=/"},app.setCookie=function(e,t){if(app.removeCookie(e),null!=t){var n=new Date(Date.now()+31536e6).toUTCString();t=encodeURIComponent(t),document.cookie=e+"="+t+"; expires="+n+"; domain="+window.location.hostname+"; path=/"}},app.countriesArray=[["US","United States"],["AF","Afghanistan"],["AX","\xc5land Islands"],["AL","Albania"],["DZ","Algeria"],["AS","American Samoa"],["AD","Andorra"],["AO","Angola"],["AI","Anguilla"],["AQ","Antarctica"],["AG","Antigua and Barbuda"],["AR","Argentina"],["AM","Armenia"],["AW","Aruba"],["AU","Australia"],["AT","Austria"],["AZ","Azerbaijan"],["BS","Bahamas"],["BH","Bahrain"],["BD","Bangladesh"],["BB","Barbados"],["BY","Belarus"],["BE","Belgium"],["BZ","Belize"],["BJ","Benin"],["BM","Bermuda"],["BT","Bhutan"],["BO","Bolivia"],["BA","Bosnia and Herzegovina"],["BW","Botswana"],["BV","Bouvet Island"],["BR","Brazil"],["IO","British Indian Ocean Territory"],["BN","Brunei Darussalam"],["BG","Bulgaria"],["BF","Burkina Faso"],["BI","Burundi"],["KH","Cambodia"],["CM","Cameroon"],["CA","Canada"],["CV","Cape Verde"],["KY","Cayman Islands"],["CF","Central African Republic"],["TD","Chad"],["CL","Chile"],["CN","China"],["CX","Christmas Island"],["CC","Cocos (Keeling) Islands"],["CO","Colombia"],["KM","Comoros"],["CG","Congo"],["CD","Congo, The Democratic Republic of The"],["CK","Cook Islands"],["CR","Costa Rica"],["CI","Cote D'ivoire"],["HR","Croatia"],["CU","Cuba"],["CY","Cyprus"],["CZ","Czechia"],["DK","Denmark"],["DJ","Djibouti"],["DM","Dominica"],["DO","Dominican Republic"],["EC","Ecuador"],["EG","Egypt"],["SV","El Salvador"],["GQ","Equatorial Guinea"],["ER","Eritrea"],["EE","Estonia"],["ET","Ethiopia"],["FK","Falkland Islands (Malvinas)"],["FO","Faroe Islands"],["FJ","Fiji"],["FI","Finland"],["FR","France"],["GF","French Guiana"],["PF","French Polynesia"],["TF","French Southern Territories"],["GA","Gabon"],["GM","Gambia"],["GE","Georgia"],["DE","Germany"],["GH","Ghana"],["GI","Gibraltar"],["GR","Greece"],["GL","Greenland"],["GD","Grenada"],["GP","Guadeloupe"],["GU","Guam"],["GT","Guatemala"],["GG","Guernsey"],["GN","Guinea"],["GW","Guinea-bissau"],["GY","Guyana"],["HT","Haiti"],["HM","Heard Island and Mcdonald Islands"],["VA","Holy See (Vatican City State)"],["HN","Honduras"],["HK","Hong Kong"],["HU","Hungary"],["IS","Iceland"],["IN","India"],["ID","Indonesia"],["IR","Iran, Islamic Republic of"],["IQ","Iraq"],["IE","Ireland"],["IM","Isle of Man"],["IL","Israel"],["IT","Italy"],["JM","Jamaica"],["JP","Japan"],["JE","Jersey"],["JO","Jordan"],["KZ","Kazakhstan"],["KE","Kenya"],["KI","Kiribati"],["KP","Korea, Democratic People's Republic of"],["KR","Korea, Republic of"],["KW","Kuwait"],["KG","Kyrgyzstan"],["LA","Lao People's Democratic Republic"],["LV","Latvia"],["LB","Lebanon"],["LS","Lesotho"],["LR","Liberia"],["LY","Libyan Arab Jamahiriya"],["LI","Liechtenstein"],["LT","Lithuania"],["LU","Luxembourg"],["MO","Macao"],["MK","Macedonia, The Former Yugoslav Republic of"],["MG","Madagascar"],["MW","Malawi"],["MY","Malaysia"],["MV","Maldives"],["ML","Mali"],["MT","Malta"],["MH","Marshall Islands"],["MQ","Martinique"],["MR","Mauritania"],["MU","Mauritius"],["YT","Mayotte"],["MX","Mexico"],["FM","Micronesia, Federated States of"],["MD","Moldova, Republic of"],["MC","Monaco"],["MN","Mongolia"],["ME","Montenegro"],["MS","Montserrat"],["MA","Morocco"],["MZ","Mozambique"],["MM","Myanmar"],["NA","Namibia"],["NR","Nauru"],["NP","Nepal"],["NL","Netherlands"],["AN","Netherlands Antilles"],["NC","New Caledonia"],["NZ","New Zealand"],["NI","Nicaragua"],["NE","Niger"],["NG","Nigeria"],["NU","Niue"],["NF","Norfolk Island"],["MP","Northern Mariana Islands"],["NO","Norway"],["OM","Oman"],["PK","Pakistan"],["PW","Palau"],["PS","Palestine, State of"],["PA","Panama"],["PG","Papua New Guinea"],["PY","Paraguay"],["PE","Peru"],["PH","Philippines"],["PN","Pitcairn"],["PL","Poland"],["PT","Portugal"],["PR","Puerto Rico"],["QA","Qatar"],["RE","Reunion"],["RO","Romania"],["RU","Russian Federation"],["RW","Rwanda"],["SH","Saint Helena"],["KN","Saint Kitts and Nevis"],["LC","Saint Lucia"],["PM","Saint Pierre and Miquelon"],["VC","Saint Vincent and The Grenadines"],["WS","Samoa"],["SM","San Marino"],["ST","Sao Tome and Principe"],["SA","Saudi Arabia"],["SN","Senegal"],["RS","Serbia"],["SC","Seychelles"],["SL","Sierra Leone"],["SG","Singapore"],["SK","Slovakia"],["SI","Slovenia"],["SB","Solomon Islands"],["SO","Somalia"],["ZA","South Africa"],["GS","South Georgia and The South Sandwich Islands"],["ES","Spain"],["LK","Sri Lanka"],["SD","Sudan"],["SR","Suriname"],["SJ","Svalbard and Jan Mayen"],["SZ","Swaziland"],["SE","Sweden"],["CH","Switzerland"],["SY","Syrian Arab Republic"],["TW","Taiwan"],["TJ","Tajikistan"],["TZ","Tanzania, United Republic of"],["TH","Thailand"],["TL","Timor-leste"],["TG","Togo"],["TK","Tokelau"],["TO","Tonga"],["TT","Trinidad and Tobago"],["TN","Tunisia"],["TR","Turkey"],["TM","Turkmenistan"],["TC","Turks and Caicos Islands"],["TV","Tuvalu"],["UG","Uganda"],["UA","Ukraine"],["AE","United Arab Emirates"],["GB","United Kingdom"],["UM","United States Minor Outlying Islands"],["UY","Uruguay"],["UZ","Uzbekistan"],["VU","Vanuatu"],["VE","Venezuela"],["VN","Viet Nam"],["VG","Virgin Islands, British"],["VI","Virgin Islands, U.S."],["WF","Wallis and Futuna"],["EH","Western Sahara"],["YE","Yemen"],["ZM","Zambia"],["ZW","Zimbabwe"]],app.createPaypalButton=function(e,t){var n=function(e){var t={charge_id:_.get(e,"purchase_units[0].payments.captures[0].id"),order_id:e.id};if(app.dog.always_collect_donor_data)return t;var n=_.get(e,"purchase_units[0].shipping.address",{});return{donor_email:_.get(e,"payer.email_address"),first_name:_.get(e,"payer.name.given_name"),last_name:_.get(e,"payer.name.surname"),mailing_address_line_1:n.address_line_1,mailing_address_country:n.country_code,mailing_address_city:n.admin_area_2,mailing_address_postal_code:n.postal_code,mailing_address_state:n.admin_area_1}};return paypal.Buttons({fundingSource:e,createOrder:function(e,n){return n.order.create({purchase_units:[{amount:{value:t.model.totalCharge()/100},custom_id:t.model.donations.pluck("id").join("-")}]})},onApprove:function(e,a){return a.order.capture().then((function(e){t.model.set(n(e)),grecaptcha.ready((function(){let e=e=>{e?.id&&t.model.set({user_id:e.id}),t.model.trigger("paypalSuccess",t.model.donations.toJSON())};t.model.userModel.findOrCreate(t.model.userInfo()).then(e,e)}))}))},onCancel:function(){},onClick:function(e,n){return t.validate()?(app.donationAnalytics.transactionId=Date.now().toString(),t.model.donations.toJSON().every((e=>e.id))?n.resolve():app.singleTransaction.create(t.model).then((e=>(t.model.donations.reset(e),n.resolve())),(e=>(t.model.trigger("paypalError",e),n.reject())))):(t.showErrors(),n.reject())}})},app.donationAnalytics={transactionId:null,sendECommerceTransaction:function(e,t){if("undefined"!=typeof fbq&&e>0&&fbq("track","Purchase",{value:e/100,currency:"USD"}),"undefined"!=typeof gtag&&e>0){const n=t.map((e=>({item_id:e.id,item_name:e.group.name,item_category:"Donation",price:(e.intended_donation/100).toString(),quantity:1})));gtag("event","purchase",{transaction_id:app.donationAnalytics.transactionId,value:(e/100).toString(),currency:"USD",items:n})}}},app.fb={initShareButtons:function(){$("body").on("click",".fb-share-url",(function(e){e.preventDefault(),app.fb.shareUrl($(this).data("url"))}))},shareUrl:function(e){FB.ui({href:e,method:"share"},(function(){}))}},app.twitter={dogShareData(){const e=app.dog.everyday_giving?"Join me in supporting our community!":`Join me in ${app.dog.title}!`;return{text:encodeURIComponent(e),share_url:app.dog.url}},orgShareData(e){let t;return t=app.dog.everyday_giving?`Learn more about ${e.name} at`:app.dog.dog_date?`Support ${e.name} during ${app.dog.title} on ${app.dog.readable_date}. Learn more at`:`Support ${e.name} during ${app.dog.title}. Learn more at`,{text:encodeURIComponent(t),share_url:`${app.dog.url}/organizations/${e.slug}`}},supportAreaShareData(e){let t;return t=app.dog.everyday_giving?`Learn more about ${e.title} at`:app.dog.dog_date?`Support ${e.title} during ${app.dog.title} on ${app.dog.readable_date}. Learn more at`:`Support ${e.title} during ${app.dog.title}. Learn more at`,{text:encodeURIComponent(t),share_url:`${app.dog.url}/campaigns/${e.slug}`}},p2pShareData:e=>({text:encodeURIComponent(`Help ${e.title}'s ${app.dogBreed.fundraiser_label_set.singular} efforts for ${e.fundable_name}`),share_url:e.url})},app.giftBasket={add:function(e){if(app.giftBasket.items().length>=app.multigiveLimit)$(".giftbasket-full.modal.fade").modal("show");else{var t=app.giftBasket.items();e.unique_id=Date.now()+Math.random(),t.push(e),app.storage.set("giftBasket",JSON.stringify(t)),app.giftBasket.renderBasket(!0),app.eventDispatcher.trigger("basketUpdated",t)}},animate:function(e){$(".gift-basket-count").one("animationend",(function(){$(".gift-basket-count").removeClass(e),0===app.giftBasket.items().length&&$(".gift-basket-count").text(app.giftBasket.items().length).addClass("hidden")})),$(".gift-basket-count").addClass(e)},empty:function(){var e=[];app.storage.set("giftBasket",JSON.stringify(e)),app.giftBasket.renderBasket(!1),app.eventDispatcher.trigger("basketUpdated",e)},items:function(){return JSON.parse(app.storage.get("giftBasket"))||[]},removeItem:function(e){var t=app.giftBasket.items();t.splice(e,1),app.storage.set("giftBasket",JSON.stringify(t)),app.giftBasket.renderBasket(!1),app.eventDispatcher.trigger("basketUpdated",t)},renderBasket:function(e,t){var n=t?"":app.giftBasket.determineAnimation(e);app.giftBasket.items().length>0&&$(".gift-basket-count").text(app.giftBasket.items().length).removeClass("hidden"),
app.giftBasket.animate(n)},determineAnimation:function(e){switch(app.giftBasket.items().length){case 0:return"disappear";case 1:return!0===e?"appear":"decrement";default:return!0===e?"increment":"decrement"}}},app.usePagination=function(e,t){_.assign(e,{nextPage:function(n){if(!(this.collection.page>=this.collection.meta.pages)){n.preventDefault(),this.collection.page++;var a=location.pathname+location.search,l=app.utils.getUrlParam("page")?a.replace(/(page=)[0-9]/,"page="+this.collection.page):a;app.router.navigate(l),this[t]().done((function(){e.trigger("pageChange")}))}},previousPage:function(n){if(!(this.collection.page<=1)){n.preventDefault(),this.collection.page--;var a=location.pathname+location.search,l=app.utils.getUrlParam("page")?a.replace(/(page=)[0-9]/,"page="+this.collection.page):a;app.router.navigate(l),this[t]().done((function(){e.trigger("pageChange")}))}},updatePager:function(){this.collection.meta.pages>1?(this.$(".pager").html(app.template("pager",this.collection.meta)),this.collection.page<=1&&this.$(".prev-btn").parent().prop("disabled",!0).addClass("disabled"),this.collection.page>=this.collection.meta.pages&&this.$(".next-btn").parent().prop("disabled",!0).addClass("disabled")):this.$(".pager").empty()}}),e.collection.page=e.collection.page||1,_.bindAll(e,"nextPage","previousPage","updatePager"),e.delegate("click",".next-btn",e.nextPage),e.delegate("click",".prev-btn",e.previousPage),e.listenTo(e.collection,"sync",e.updatePager)},app.setTrafficSourceCookies=function(){var e=app.utils.getUrlParam("utm_campaign"),t=app.utils.getUrlParam("utm_content"),n=app.utils.getUrlParam("utm_medium"),a=app.utils.getUrlParam("utm_source"),l=app.utils.getUrlParam("utm_term");if(e||t||n||a||l)app.setCookie("utm_campaign",e),app.setCookie("utm_content",t),app.setCookie("utm_medium",n),app.setCookie("utm_source",a),app.setCookie("utm_term",l);else if(document.referrer){var o=document.createElement("a");o.href=document.referrer,o.hostname&&-1===o.hostname.indexOf(window.location.hostname)&&(app.setCookie("utm_source",o.hostname),app.setCookie("utm_medium","referral"),app.removeCookie("utm_campaign"))}if(app.customizations.google_analytics){var i=_.values(app.customizations.google_analytics);_.forEach(i,(function(e){var t=app.utils.getUrlParam(e);t&&app.setCookie(e,t)}))}},app.customTrafficSourceData=function(){if(app.customizations.google_analytics){var e={},t=app.customizations.google_analytics;return _.forEach(_.keys(t),(function(n){_.set(e,n,app.getCookie(_.get(t,n)))})),e}},app.trafficSourceData=function(){return{utm_campaign:app.getCookie("utm_campaign"),utm_content:app.getCookie("utm_content"),utm_medium:app.getCookie("utm_medium"),utm_source:app.getCookie("utm_source"),utm_term:app.getCookie("utm_term")}},Handlebars.registerHelper({addArticle:function(e,t){var n=app.dogBreed[e];return n.article+" "+(!0===t?_.startCase(n.singular):n.singular)},breaklines:function(e){return e=(e=Handlebars.Utils.escapeExpression(e)).replace(/(\r\n|\n|\r)/gm,"<br>"),new Handlebars.SafeString(e)},calculateRank:function(e){return e+1},capitalize:function(e){return _.capitalize(e)},capitalizeAll:function(e){return _.startCase(e)},causesString:function(e){return _.map(e,"name").join(", ")},centsToDollars:function(e,t){var n=e<0;n&&(e*=-1);var a=t.hash.hide_cents;"auto"===a&&(a=e%100==0);var l=(parseFloat(e)/100).toFixed(a?0:2);return!1!==t.hash.add_commas&&(l=app.utils.formatNumCommas(l)),!1!==t.hash.dollar_sign&&(l="$"+l),n&&(l="-"+l),l},countrySelectOptions:function(){var e=_.map(app.countriesArray,(function(e){return{value:e[1],text:e[1]}})),t=app.template("shared/option_tags",{data:e});return new Handlebars.SafeString(t)},customDogPartial:function(e){return e+"/_"+app.dog.name},customPropertyDataTypePartial:function(e){return"groups/custom_properties/data_types/_"+e},customPropertyDisplayFormatPartial:function(){return"groups/custom_properties/display_format/_"+this.display_format},formatDollars:function(e,t){return Handlebars.helpers.centsToDollars(100*parseFloat(e),t)},formatLeaderboardValue:function(e,t,n){const a=n.data.index,{format:l,decimal_places:o}=n.data.root.leaderboard_columns[a];if("dollars"==l)return 0===o&&(n.hash.hide_cents=!0),t?Handlebars.helpers.centsToDollars(t,n):"";if("number"===l)return app.utils.formatNumCommas(t);if("donors_remaining"==e)return t>0?app.utils.formatNumCommas(t):"\ud83c\udfc6";if("percent"===l){const e=app.utils.formatNumCommas(_.round(t,o))+"%";return t<=0&&app.custom("hide_negative_percents_on_leaderboards")?"":e}return t},formattedMultiSelectProperty:function(e){return e.length?e.split(/\\\,/):e},formattedNum:function(e){return app.utils.formatNumCommas(e)},ifEqual:function(e,t,n){return e===t?n.fn(this):n.inverse(this)},ifIncludes:function(e,t,n){return _.includes(e,t)?n.fn(this):n.inverse(this)},ifPersistedCustomer:function(e){return app.storage.get("customer_id")?e.fn(this):e.inverse(this)},insertChar:function(e,t,n){return(e=_.toString(e)).substring(0,t)+n+e.substring(t)},invertCustomTableData:function(e){var t=e.map((function(e){return e.properties.map((function(e){return e.ordinal}))}));t=_.uniq(_.flatten(t));var n=[];return _.times(t.length+1,(function(){n.push([])})),_.each(e,(function(e){n[0].push(e.label),_.each(t,(function(t,a){var l={value:""};_.each(e.properties,(function(e){e.ordinal==t&&(l=e)})),n[a+1].push(l)}))})),n},kebabCase:function(e){return _.kebabCase(e)},leaderboardEntryPartial:function(e){return"leaderboards/_"+e},newlinesToHtml:function(e){return e=e||"",new Handlebars.SafeString(e.replace(/\r\n|\r|\n/g,"<br>"))},oppDate:function(e,t,n){var a=new Date(e);switch(n){case"one_time":return app.utils.monthName(a.getMonth())+" "+a.getDate()+", "+a.getFullYear();case"multi_day":var l=new Date(t);return app.utils.monthName(a.getMonth())+" "+a.getDate()+" - "+(app.utils.monthName(l.getMonth())+" "+l.getDate()+", "+l.getFullYear())}return"Ongoing"},or:function(e,t){return e||t},persistedCustomer:function(){return app.storage.get("customer_id")},pluralize:function(e,t,n){return 1===e?t:n},spriteUrl:function(e){return app.images.sprite+"#"+e},stateSelectOptions:function(){var e=_.map(app.statesArray,(function(e){return{value:e[0],text:e[0]}})),t=app.template("shared/option_tags",{data:e});return new Handlebars.SafeString(t)},stepDistance:function(e,t){const n=t-e;let a="";return 1===n?a="next":-1===n?a="back":-2===n&&(a="back-twice"),a},twitterShareButton:function(e){var t=app.template("sharing/twitter_button",app.twitter[e](this));return new Handlebars.SafeString(t)},yesNo:function(e){return"false"===e?"No":e?"Yes":"No"},formatDateTextual:function(e){var t=new Date(e),n=new Date(Date.parse(t)+60*t.getTimezoneOffset()*1e3);return app.utils.monthName(n.getMonth())+" "+n.getDate()+", "+n.getFullYear()}}),app.Router=Backbone.Router.extend({routes:{search:"showResults"}}),$((function(){app.router=new app.Router,$("html.msie").length>0&&svg4everybody(),app.fb.initShareButtons(),$('[data-toggle="tooltip"]').tooltip(),$("body").on("click",".support-link",(function(){return Intercom("showNewMessage",$(this).data("msg")),!1})).on("focus",".select-text",(function(){$(this).select()})),app.giftBasketActive&&app.giftBasket.renderBasket(!1,!0),null==app.storage.get("animation")&&app.storage.set("animation",!0)})),app.BusinessFundraiser=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/business_fundraisers",parse:function(e){return e.cover_photo=_.get(e,"business.cover_photo_url")||app.dog.business_cover_photo_url,e.incentives=(e.matches?.prize_amount||0)+(e.matches?.sponsor_amount||0),e}}),app.Campaign=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/campaigns",parse:function(e){return e.campaign_id=e.id,e.dog_url=e.dog_url||"",e.donate_path=e.dog_url+"/donate?campaign_id="+e.id,e.dog_campaign?this.buildGroup(e):this.buildSupportArea(e)},buildGroup:function(e){return e.logo=app.custom("profile_logo_override")||e.group.logo_url,e.name=e.group.name,e.path=e.dog_url+"/organizations/"+e.group.slug,e},buildSupportArea:function(e){return e.logo=app.custom("profile_logo_override")||(app.dogBreed.university?e.group.logo_url:e.story_image_url),e.name=e.title,e.path=e.dog_url+"/campaigns/"+e.slug,e}}),app.DogInterest=Backbone.Model.extend({defaults:{dog_name:app.dog.name},urlRoot:app.ggApiUrl+"v1/dog_interests"}),app.Donation=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/donations",defaults:{amount:"",currency:app.customizations.currency,ga_sent:!1,give_again:!1,new_donor_to_group:!1,processed:!1,recurring:!1,recurring_end_date:null,recurring_end_type:"",recurring_frequency:"monthly",recurring_max_amount:null,tip_the_host:!1,user_campaign_id:null},campaignId:function(){var e=this.toJSON();return e.support_area?e.support_area.id:e.org.id},creationParams:function(){var e=this.toJSON(),t=_.pick(e,["amount","currency","display_name","donation_level_id","donor_covered_fees","fallback_message","give_again","tip_the_host"]);return _.assign(t,{campaign_id:this.campaignId(),dedication_info:this.dedicationInfo(),dog_id:app.dogBreed.donations_dog_id,group_id:_.get(e.org,"group_id",_.get(e.org,"group.id")),initial_recurring_dtn:e.recurring,message:e.donor_message,new_donor_to_group:this.newDonor(),platform:"Giving Day - "+app.dog.name,referral_id:app.getCookie("referralId"),sub_fund_id:_.get(e.subFund,"id"),user_campaign_id:this.userCampaign()},app.trafficSourceData())},dedicationInfo:function(){if(!this.get("is_dedicated"))return{};var e={is_dedicated:!0,name:this.get("dedication_name"),type:this.get("dedication_type")};return this.get("notify_honoree")&&_.assign(e,{email:this.get("dedication_email"),notify_honoree:!0,message:this.get("dedication_message")}),e},isForFallback:function(){return this.get("org").fallback||_.get(this.get("support_area"),"fallback")},newDonor:function(){return app.dog.ask_new_donor_question?this.get("new_donor_to_group"):null},recurringInfo:function(){var e=this.toJSON();return{end_date:new Date(e.recurring_end_date),end_type:e.recurring_end_type||null,frequency:e.recurring_frequency,max_amount:e.recurring_max_amount}},userCampaign:function(){return this.toJSON().user_campaign_id||app.storage.get("freeAgentId")||null}}),app.DonationFee=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/donation_fees",fetchFee:function(e,t,n){return this.save({dog_id:app.dog.id,donor_covered_fees:!0,paypal:n,plaid_authorized:t,user_entered_amount:e})}}),app.ECard=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/e_cards",idAttribute:"card_number",defaults:{dog_id:app.dog.id},authenticate:function(){return this.fetch({data:{dog_id:app.dog.id,exp:this.get("exp_m")+"/20"+this.get("exp_y"),pin:this.get("pin"),with:"amount_remaining"}})},validate:function(e){var t=[],n="Please enter a valid ",a=new Date,l=_.range(1,13,1).map((function(e){return _.padStart(e,2,"0")})),o=_.range(a.getFullYear(),a.getFullYear()+3,1).map((function(e){return e.toString().slice(-2)}));if(e.responseError&&t.push({el:"#e-card-number",message:e.responseError}),e.card_number&&10!=e.card_number.length&&t.push({el:"#e-card-number",message:n+"10 digit card number."}),e.pin&&4!=e.pin.length&&t.push({el:"#pin-num",message:n+"4 digit PIN number."}),e.exp_m&&!_.includes(l,e.exp_m)&&t.push({el:"#exp-date",message:n+"expiration month."}),e.exp_y&&!_.includes(o,e.exp_y)&&t.push({el:"#exp-date",message:n+"expiration year."}),e.exp_m&&e.exp_y&&a>new Date("20"+e.exp_y+"-"+e.exp_m)&&t.push({el:"#exp-date",message:n+"future expiration date."}),e.e_card_id&&e.total_donation>e.amount_remaining&&t.push({el:"#e-card-number",message:"eCard does not have sufficient funds."}),e.e_card_id&&e.amount_remaining-e.total_donation<app.dog.min_donation_cents&&e.amount_remaining-e.total_donation!=0&&t.push({el:"#e-card-number",message:"Note: The remaining balance on the eCard will be lower than the minimum donation amount, and will not be usable."}),t.length>0)return t}}),app.Group=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/groups"}),app.Leader=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/day_of_giving/optouts",optOut:function(){this.save().done(function(){this.set("opted_out",!0),app.storage.set("leaderOptedOut",!0)}.bind(this))}}),app.MatchCommitment=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/match_commitments",parse:function(e){if(!e.owner_info)return e;switch(e.owner_type){case"Group":return this.buildGroup(e);case"Campaign":return this.buildCampaign(e);case"BusinessFundraiser":return this.buildBusinessFundraiser(e);case"Dog":return this.buildDog(e);default:return e}},buildBusinessFundraiser:function(e){return e.donation_path="/donate?business_fundraiser_id="+e.owner_info.id,e.profile_path="/business_fundraisers/"+e.owner_info.id+"/"+e.owner_info.business.slug,e.owner_name=e.owner_info.business.name,e},buildGroup:function(e){return e.donation_path="/donate?campaign_id="+e.owner_info.dog_campaign_id,e.profile_path="/organizations/"+e.owner_info.slug,e.owner_name=e.owner_info.name,app.dog.charitable_id_enabled&&e.owner_info.charitable_id&&(e.charitable_id=e.owner_info.charitable_id),e},buildCampaign:function(e){return e.donation_path="/donate?campaign_id="+e.owner_info.id,e.profile_path="/campaigns/"+e.owner_info.slug,e.owner_name=e.owner_info.title,e},buildDog:function(e){e.owner_name=e.owner_info.title;const t=e.single_eligible_profile;if(null==t)return e;e.owner_name="group"===t.profile_type?t.name:t.title,e.profile_path=("group"===t.profile_type?"/organizations/":"/campaigns/")+t.slug;const n="group"===t.profile_type?t.dog_campaign_id:t.id;return e.donation_path="/donate?campaign_id="+n,e}}),app.MultiDonation=Backbone.Model.extend({initialize:function(){this.userModel=new app.User,this.set("anonymous",app.custom("anonymous_default")),this.set("donor_covered_fees",app.dog.precheck_cover_fees&&app.dog.allow_donors_to_cover_fees),this.set("hasRecurring",!1),this.set("hide_amount",app.custom("hide_amount_default")),this.set("payment_method",app.paymentMethods[0]),this.set("total_gg_tip",0),this.set("totally_anonymous",app.custom("super_anonymous_default")),this.donations=new app.Donations,this.listenTo(this.donations,"add remove change:amount",this.setTotalDonation),this.listenTo(this,"change:payment_method",this.fetchFees)},canSkipPaymentStep:function(){return!app.dog.always_collect_donor_data&&(this.paymentMethodIs("stripe_payment_request")||this.isUsingPaypal())},fetchFees:function(){var e=this.paymentMethodIs("daf")||this.paymentMethodIs("e_card");this.get("total_donation")>0&&!e&&(app.dog.centrally_routed?app.singleTransaction.fetchFees(this):app.multiTransaction.fetchFees(this))},isUsingPaypal:function(){return!!window.paypal&&(this.paymentMethodIs("paypal")||this.paymentMethodIs("venmo"))},paymentMethodIs:function(e){return this.get("payment_method")===e},readyForPayment:function(){return this.has("source_for_payment")||this.has("payment_token")},sendECommerceData:function(){var e=this.donations.where({processed:!0,ga_sent:!1}),t=_.sumBy(e,(function(e){return e.get("amount")}));const n=e.map((e=>{const t=e.toJSON();return{id:t.id,group:t.org,intended_donation:t.amount}}));app.donationAnalytics.sendECommerceTransaction(t,n),_.each(e,(function(e){e.set("ga_sent",!0)}))},setMobilePaymentAddress:function(e){if(!app.dog.always_collect_donor_data){var t=e.payerName.split(" "),n=t.shift(),a=_.get(e,"token.card",{});this.set({donor_email:e.payerEmail,first_name:n,last_name:t.join(" "),mailing_address_line_1:a.address_line1,mailing_address_city:a.address_city,mailing_address_postal_code:a.address_zip,mailing_address_state:a.address_state,mailing_address_country:a.country,phone:e.payerPhone})}},setTotalDonation:function(){var e=_.filter(this.donations.toJSON(),["processed",!1]);this.set("total_donation",_.sumBy(e,"amount"))},splitTip:function(e){var t=this.get("total_gg_tip"),n=this.donations.models,a=Math.floor(t/n.length);return e===_.last(n)&&(a+=t%n.length),a},totalCharge:function(){var e=this.get("total_donation"),t=this.get("total_gg_tip");return this.get("donor_covered_fees")?e+this.get("total_fees"):e+t},donationAddress:function(){return{address1:this.get("mailing_address_line_1"),city:this.get("mailing_address_city"),postal_code:this.get("mailing_address_postal_code"),state:this.get("mailing_address_state"),country:this.get("mailing_address_country")}},donationPhone:function(){var e=this.get("phone");return e?e.trim():null},duplicateDonations:function(){const e=[];for(let t of this.donations.models){const{user_campaign_id:n,support_area:a,subFund:l,org:{campaign_id:o}}=t.attributes,i={user_campaign_id:n,org_campaign_id:o,sa_campaign_id:a?.campaign_id,subFund_id:l?.id};if(_.find(e,i))return!0;e.push(i)}return!1},userInfo:function(){var e={email:this.get("donor_email"),external_id:app.getCookie("emplid"),first_name:this.get("first_name"),last_name:this.get("last_name")};return app.customizations.donor_middle_name&&(e.middle_name=this.get("middle_name")),e}}),app.OrgSearch=Backbone.Model.extend({defaults:{query:"",radius:app.defaultSearchRadius,page:1},hasLatLng:function(){return this.get("lat")&&this.get("lng")},hasDoGCauseIdEdcg:function(){return!0===app.dog.everyday_giving&&this.get("dog_cause_id")},validate:function(){if("true"!==app.utils.getUrlParam("show_all")&&!(this.get("query").length>2||this.hasLatLng())){var e=["dog_cause_id","dog_custom_field_id","tag_id","filter_opps","group_id"];app.custom("search")&&app.custom("search").parameters&&(e=e.concat(_.keys(app.custom("search").parameters)));var t=_.values(this.pick(e));return _.some(t)?void 0:"invalid"}}}),app.Prize=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/dog_prizes",parse:function(e){return e.winners&&e.winners.forEach((function(e){var t="Group"===e.winner_type?"/organizations/":"/campaigns/";e.winner_link=t+e.winner_slug})),e}}),app.DogStats=Backbone.Model.extend({url:function(){var e=app.customizations.umbrella_stats?"/stats/umbrella_stats":"/stats";return app.ggStatsApiUrl+"v1/giving_days/"+app.dog.id+e}}),app.User=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/users",create:function(e){return $.post(this.urlRoot,{user:e})},findByEmail:function(e){var t=this.urlRoot+"/find_by_email";return $.getJSON(t,{email:e})},findOrCreate:function(e){return app.utils.skipRecaptcha()?$.post(this.urlRoot+"/find_or_create",{...e,dog_id:app.dogBreed.donations_dog_id,phone_bank_code:app.utils.getUrlParam("phone_bank_code")}):grecaptcha.execute(app.recaptchaV3PublicKey,{action:"findOrCreate"}).then(function(t){return e.recaptcha_token=t,$.post(this.urlRoot+"/find_or_create",e)}.bind(this))}}),app.UserCampaign=Backbone.Model.extend({urlRoot:app.ggApiUrl+"v1/user_campaigns",charitableId:function(e){const t=e.group.charitable_id;return app.dog.charitable_id_enabled&&t?t:null},donationPath:function(e){return"Campaign"===e.fundable_type?"/donate?campaign_id="+e.campaign.id+"&user_campaign_id="+e.id:"/donate?faf_id="+e.id},fundableName:function(e){return e.campaign.dog_campaign?e.group.name:e.campaign.title},fundablePath:function(e){return e.campaign.dog_campaign?"/organizations/"+e.group.slug:"/campaigns/"+e.campaign.slug},parse:function(e){return e.donation_path=this.donationPath(e),e.title=e.fundraiser_title||e.name,"Campaign"===e.fundable_type?_.assign(e,{charitable_id:this.charitableId(e),cover_photo_url:e.campaign.cover_photo_url,fundable_name:this.fundableName(e),fundable_path:this.fundablePath(e),free_agent:!1,logo_url:app.custom("profile_logo_override")||e.group.logo_url}):"Dog"===e.fundable_type&&_.assign(e,{charitable_id:null,cover_photo_url:e.dog.faf_cover_photo_url,fundable_name:app.dog.title,fundable_path:app.dog.url,free_agent:!0,logo_url:e.dog.logo_url}),e}}),app.BusinessFundraisers=Backbone.Collection.extend({url:app.ggApiUrl+"v1/business_fundraisers",parse:function(e){return this.meta=e._meta,e.business_fundraisers}}),app.Businesses=Backbone.Collection.extend({url:app.ggApiUrl+"v1/businesses",parse:function(e){return this.meta=e._meta,e.businesses}}),app.Campaigns=Backbone.Collection.extend({model:app.Campaign,url:app.ggApiUrl+"v1/campaigns",initialize:function(){this.page=app.utils.getUrlParam("page"),this.searchParams={donatable:this.donatableParam(),dog_campaign:!app.dogBreed.support_area_search_enabled||"",dog_id:app.dog.id,visible_only:!0,with:"address,dog_url,group_dog,has_profile,story_image_url"},app.dog.id===app.dog.alpha_dog_id&&(this.searchParams.alpha_dog_search=!0)},donatableParam:function(){return app.dog.everyday_giving||app.dog.centrally_routed?"":!!app.dog.donations_enabled||""},loadAll:function(){return this.search({sort_column:"alpha",sort_order:"asc"})},parse:function(e){return this.meta=e._meta,e.campaigns},random:function(e){e=e||{};var t={dog_campaign:!0,donatable:this.donatableParam(),per_page:e.per_page||5,random:!0,require_logo:e.require_logo,visible_only:!0};return this.search(t)},search:function(e){return e=e||{},_.extend(this.searchParams,e),this.searchParams.page=this.page,this.fetch({data:this.searchParams})}}),app.DonationLevels=Backbone.Collection.extend({url:app.ggApiUrl+"v1/donation_levels"}),app.Donations=Backbone.Collection.extend({model:app.Donation,url:app.ggApiUrl+"v1/donations",parse:function(e){return e.donations}}),app.Groups=Backbone.Collection.extend({model:app.Group,url:app.ggApiUrl+"v1/groups",parse:function(e){return this.meta=e._meta,e.groups}}),app.Leaderboards=Backbone.Collection.extend({}),app.MatchCommitments=Backbone.Collection.extend({model:app.MatchCommitment,url:app.ggApiUrl+"v1/match_commitments",initialize:function(){this.baseParams={current_only:app.custom("current_matches_only"),dog_id:app.dog.id,exclude_archived:!0,cache_for:app.matchIndexCacheTime}},parse:function(e){return this.meta=e._meta,e.match_commitments},loadAllActiveMatches:function(e){return this.fetch({data:_.assign(e,this.baseParams)})}}),app.PaymentSources=Backbone.Collection.extend({url:app.ggApiUrl+"v1/payment_methods"}),app.Prizes=Backbone.Collection.extend({model:app.Prize,url:app.ggApiUrl+"v1/dog_prizes"}),app.Sponsors=Backbone.Collection.extend({url:app.ggApiUrl+"v1/sponsors",initialize:function(e){this.requestView=e.requestView},parse:function(e){var t=_.uniq(_.map(e,"sponsor_level")),n=_.map(t,(function(t){return{heading:t,sponsors:_.filter(e,{sponsor_level:t})}}));if(app.customizations.random_sponsors&&"landing"===this.requestView){var a=_.find(n,(function(e){return e.heading===app.customizations.random_sponsors.sponsor_set}));a&&(n={heading:app.customizations.random_sponsors.heading||a.heading,sponsors:_.sampleSize(a.sponsors,app.customizations.random_sponsors.count)})}return n}}),app.SubFunds=Backbone.Collection.extend({url:app.ggApiUrl+"v1/sub_funds",parse:function(e){return this.meta=e._meta,e.sub_funds}}),app.UserCampaigns=Backbone.Collection.extend({model:app.UserCampaign,url:app.ggApiUrl+"v1/user_campaigns",parse:function(e){return this.meta=e._meta,e.user_campaigns}}),app.CoreView=Backbone.View.extend({events:{},bindCheckbox:function(e,t){var n=function(e){this.model.set(t,$(e.target).prop("checked"))};this.delegate("change",e,_.bind(n,this))},bindInput:function(e,t,n){(n=n||{}).event=n.event||"change",n.parseFn=n.parseFn||function(e){return e};var a=function(e){this.model.set(t,n.parseFn($(e.target).val()))};this.delegate(n.event,e,_.bind(a,this))},error:function(e){this.$(".errors").html(app.alerts.error(e)).removeClass("hidden")},tmpl:function(){var e,t,n=arguments;if(!this.template&&!n.length)throw new Error("Template not found");return"string"==typeof n[0]?(t=n[0],e=n[1]):(t=n[1],e=n[0]),t||(t=this.template),app.template(t,e)}}),app.CollectionView=app.CoreView.extend({initialize:function(e){this.initCollection(e),this.listenTo(this.collection,"sync",this.render),this.loadCollection()},initCollection:_.noop,loadCollection:function(){var e={dog_name:app.dog.name};this.collection.fetch({data:_.assign(e,this.params)})},render:function(){return this.$el.html(app.template(this.template,this.templateData())),this.$("[rel=popover]").popover(),this},templateData:function(){var e={};return e[this.collectionName]=this.collection.toJSON(),e}}),app.DonationsScrollerView=app.CoreView.extend({el:"#donations-scroller",initialize:function(){this.listenTo(app.eventDispatcher,"pusher:donation-created",this.addDonationToQueue),_.bindAll(this,"addDonationToDOM"),this.donationsQueue=[],this.placeholderLogos=[{logo_url:"https://s3.amazonaws.com/gg-day-of-giving/austin2020/scroller_logos/Images+For+Scroller-01.png"},{logo_url:"https://s3.amazonaws.com/gg-day-of-giving/austin2020/scroller_logos/Images+For+Scroller-02.png"},{logo_url:"https://s3.amazonaws.com/gg-day-of-giving/austin2020/scroller_logos/Images+For+Scroller-03.png"},{logo_url:"https://s3.amazonaws.com/gg-day-of-giving/austin2020/scroller_logos/Images+For+Scroller-04.png"},{logo_url:"https://s3.amazonaws.com/gg-day-of-giving/austin2020/scroller_logos/Images+For+Scroller-05.png"},{logo_url:"https://s3.amazonaws.com/gg-day-of-giving/austin2020/scroller_logos/Images+For+Scroller-06.png"},{logo_url:"https://s3.amazonaws.com/gg-day-of-giving/austin2020/scroller_logos/Images+For+Scroller-07.png"},{logo_url:"https://s3.amazonaws.com/gg-day-of-giving/austin2020/scroller_logos/Images+For+Scroller-08.png"}],this.currentPlaceholderIndex=0;var e=this;this.$el.on("afterChange",(function(t,n,a){n.slideCount-(a+1+n.slickGetOption("slidesToShow"))<5&&(e.donationsQueue.length?e.updateVisibleDonations(a):e.addPlaceholderLogo())})),this.preloadPlaceholderLogos()},addDonationToDOM:function(e){this.$el.slick("slickAdd",app.template("shared/donations_scroller_item",e))},addDonationToQueue:function(e){if(!_.includes(app.customizations.scroller_exclusions,e.group.id)&&e.group.logo&&e.online){var t={logo_url:e.group.logo,public_name:e.public_name};this.donationsQueue.unshift(t)}},addPlaceholderLogo:function(){var e=this,t=e.placeholderLogos[e.currentPlaceholderIndex%e.placeholderLogos.length];e.addDonationToDOM(t),e.currentPlaceholderIndex++},preloadPlaceholderLogos:function(){var e=this;_.each(e.placeholderLogos,(function(t){e.addDonationToDOM(t)}))},removeSeenDonations:function(e){var t=this;_.times(e-3,t.$el.slick("slickRemove",!0))},updateVisibleDonations:function(e){var t=this;t.$el.slick("slickPause");var n=50,a=this.donationsQueue.splice(-n,n).reverse();_.each(a,(function(e){t.addDonationToDOM(e)})),e>40&&t.removeSeenDonations(e),t.$el.slick("slickPlay")}}),app.AddressView=app.CoreView.extend({events:{"change #mailing-address-country":"updateCountry"},initialize:function(){this.listenTo(this.model,"change:international_address",this.render),this.model.set({mailing_address_country:app.custom("default_country"),international_address:"United States"!==app.custom("default_country")})},bindEvents:function(){return this.bindInput("#mailing-address-line-1","mailing_address_line_1"),this.bindInput("#mailing-address-city","mailing_address_city"),this.bindInput("#mailing-address-state","mailing_address_state"),this.bindInput("#mailing-address-postal-code","mailing_address_postal_code",{parseFn:function(e){return e.trim()}}),this.bindInput("#phone","phone",{parseFn:function(e){return e.trim()}}),this},fillFromGoogle:function(){this.address=this.autocomplete.getPlace().address_components,$("#mailing-address-country").val(this.findPlaceValue("country")).prop("selected",!0).trigger("change"),$("#mailing-address-line-1").val(this.findPlaceValue("street_number")+" "+this.findPlaceValue("route")).trigger("change"),$("#mailing-address-city").val(this.findPlaceValue("locality")).trigger("change"),$("#mailing-address-state").val(this.findPlaceValue("administrative_area_level_1")).trigger("change"),$("#mailing-address-postal-code").val(this.findPlaceValue("postal_code")).trigger("change")},findPlaceValue:function(e){var t=_.find(this.address,(function(t){return t.types[0]==e}));return t?t.long_name:""},initAutocomplete:function(){this.autocomplete=new google.maps.places.Autocomplete($("#mailing-address-line-1")[0],{types:["geocode"]}),this.autocomplete.setFields(["address_component"]),this.autocomplete.addListener("place_changed",this.fillFromGoogle.bind(this))},invalidFields:function(){var e=[],t=this.model.toJSON();t.mailing_address_state=$("#mailing-address-state").val();var n="United States"===t.mailing_address_country;(t.mailing_address_line_1||e.push("#mailing-address-line-1"),t.mailing_address_city||e.push("#mailing-address-city"),t.mailing_address_state||e.push("#mailing-address-state"),t.mailing_address_postal_code||e.push("#mailing-address-postal-code"),t.mailing_address_country||e.push("#mailing-address-country"),n&&t.mailing_address_postal_code)&&(t.mailing_address_postal_code.match(/^\d{5}(-\d{4})?$/)||e.push("#mailing-address-postal-code"));n&&(app.custom("validate_phone_presence")||t.phone)&&(t.phone&&t.phone.match(/^(1\s?)?(\(([0-9]{3})\)|([0-9]{3}))[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4}$/)||e.push("#phone"));return e},render:function(){return this.$el.html(app.template("multigive/donor_address_fields",this.model.toJSON())),this.$("#mailing-address-country").val(this.model.get("mailing_address_country")),this.model.get("international_address")||this.$("#mailing-address-state").val(this.model.get("mailing_address_state")),this},updateCountry:function(e){var t=$(e.currentTarget).val(),n="United States"!==t;n!==this.model.get("international_address")&&this.model.set({mailing_address_state:null}),this.model.set({mailing_address_country:t,international_address:n})}}),app.DafView=app.CoreView.extend({initialize:function(){this.model.set({daf_confirmation_message:app.dog.daf_confirmation_message,daf_legal_copy:app.dog.daf_legal_copy,multipleDafFoundations:app.dog.daf_foundations.length>1,singleDafFoundationName:app.dog.daf_foundations[0]})},invalidFields:function(){var e=this.model.get("daf_data")||{},t=[];return e.fund_name||t.push("#daf-fund-name"),this.model.get("multipleDafFoundations")&&!e.foundation_name&&t.push("#daf-foundation-name"),t},render:function(){this.setElement("#daf-fields")},updateModel:function(){this.model.set("daf_data",{foundation_name:this.$("#daf-foundation-name").val(),fund_name:this.$("#daf-fund-name").val(),fund_number:this.$("#daf-fund-number").val()})}}),app.DonationsView=app.CollectionView.extend({el:"#donations-listing",template:"multigive/listing",collectionName:"donations",params:{dog_id:app.dog.id,per_page:4,exclude_matches:!0,use_new_search:!0},events:{"click .show-more-donations":"loadMore"},initCollection:function(){this.collection=new app.Donations,this.isAlphaDog=app.dog.id===app.dog.alpha_dog_id;var e=["group","message","public_name"];app.custom("include_recent_donor_matches")&&e.push("matched_amount"),this.isAlphaDog&&(e.push("dog"),this.params.umbrella_donations=!0),app.dog.support_areas_enabled&&e.push("campaign"),this.params.with=e.join(",")},loadMore:function(){this.params.per_page+=8,this.loadCollection()},render:function(){return this.$el.html(app.template(this.template,this.templateData())),this.collection.length===this.params.per_page&&$(".show-more-donations").removeClass("hidden"),this},templateData:function(){return{donations:this.collection.toJSON(),isAlphaDog:this.isAlphaDog}}}),app.ECardView=app.CoreView.extend({events:{"input span input":"triggerInput"},initialize:function(e){this.eCard=e.eCard,this.listenTo(this.model,"change:total_donation",this.updateDtnAmt),this.listenTo(this.eCard,"change:amount_remaining",this.updateECardAmt),this.listenTo(this.eCard,"invalid",this.showErrors)},eCardError:function(e){var t="Sorry, something went wrong. Please try again later.";this.eCard.set({responseError:_.get(e,"responseJSON.errors",t)},{validate:!0})},eCardSuccess:function(e){this.eCard.set({amount_remaining:e.amount_remaining,e_card_id:e.id}),this.eCard.isValid()&&(this.hideErrors(),this.setDtnModel())},hasChanged:function(){return this.eCard.hasChanged("card_number")||this.eCard.hasChanged("exp_m")||this.eCard.hasChanged("exp_y")||this.eCard.hasChanged("pin")},hideErrors:function(){this.$(".is-invalid").removeClass("is-invalid").attr("aria-invalid","false").next(".invalid").addClass("hidden")},invalidFields:function(){return _.map(this.eCard.validationError,"el")||[]},render:function(){this.setElement("#e-card-fields")},setDtnModel:function(){this.model.set({e_card_exp:this.eCard.get("exp_m")+"/20"+this.eCard.get("exp_y"),e_card_id:this.eCard.get("e_card_id"),e_card_number:this.eCard.get("card_number"),e_card_pin:this.eCard.get("pin")})},setECard:function(){this.eCard.set({card_number:this.$("#e-card-number").val(),exp_m:this.$("#exp-month").val(),exp_y:this.$("#exp-year").val(),pin:this.$("#pin-num").val(),total_donation:this.model.get("total_donation")})},showErrors:function(){_.isEmpty(this.invalidFields())||this.eCard.validationError.forEach((function(e){this.$(e.el).addClass("is-invalid").attr("aria-invalid","true").next(".invalid").text(e.message).removeClass("hidden")}),this)},
triggerInput:function(){this.$("#exp-date").trigger("input")},updateDtnAmt:function(){this.eCard.set({total_donation:this.model.get("total_donation")}),this.eCard.isValid()&&this.hideErrors()},updateECardAmt:function(){this.$(".ecard-msg").html(app.template("multigive/e_card_fetch_result",this.eCard.toJSON()))},updateModel:function(){if(this.setECard(),this.hasChanged()){this.eCard.set({amount_remaining:void 0,e_card_id:void 0},{unset:!0});var e=_.compact(_.values(this.eCard.pick("card_number","exp_m","exp_y","pin")));this.eCard.isValid()&&4===e.length&&this.eCard.authenticate().then(this.eCardSuccess.bind(this),this.eCardError.bind(this))}}}),app.PlaidView=app.CoreView.extend({initialize:function(){"undefined"!=typeof Plaid&&(this.plaidConnection=this.createPlaidConnection())},createPlaidConnection:function(){var e=this;return Plaid.create({env:app.plaidEnv,clientName:"GiveGab",key:app.plaidPublicKey,product:["auth"],selectAccount:!0,onSuccess:function(t,n){e.exchangePlaidToken(t,n.account_id)},onExit:function(t){e.model.trigger("promptErrorPlaid",t)}})},exchangePlaidToken:function(e,t){var n=this;$.post(app.ggApiUrl+"v1/plaid_links",{plaid_link_token:e,account_id:t},null,"json").then(this.savePlaidTokenToModel.bind(this),(function(){n.model.trigger("promptErrorPlaid",{plaid_error:!0})}))},invalidFields:function(){return[]},plaidLinkHandler:function(){this.plaidConnection.open()},render:function(){this.setElement("#plaid-fields")},savePlaidTokenToModel:function(e){this.model.set("payment_token",e.bank_account_token)},updateModel:function(){}}),app.StripeCreditCardView=app.CoreView.extend({initialize:function(e){this.stripe=e.stripe,this.cardElement=this.stripe.elements.create("card",{style:{base:{fontSize:"16px"}}}),this.cardElement.on("change",this.handleCardEvent)},createAndSaveToken:function(){var e=this.model,t=e.get("first_name")||$("#first-name").val(),n=e.get("last_name")||$("#last-name").val(),a=t+" "+n;if(_.isUndefined(t)||_.isUndefined(n)){var l=JSON.stringify(this);app.honeybadgerNotifications("Card name undefined","undefinedNameError",l)}this.stripe.client.createToken(this.cardElement,{name:a}).then((function(t){t.error?e.trigger("tokenError",t.error):e.set("payment_token",t.token.id)}))},handleCardEvent:function(e){var t=this.$("#card-element");t.trigger("change",e),e.error?t.addClass("is-invalid").attr("aria-invalid","true").next(".form-text").removeClass("hidden").text(e.error.message):e.complete&&t.next(".form-text").addClass("hidden")},invalidFields:function(){if(this.model.get("stripe_customer_id")||this.model.get("source_for_payment"))return[];var e=[];return $("#card-element").hasClass("StripeElement--complete")||e.push("#card-element"),e},render:function(){this.setElement("#credit-card-fields"),this.cardElement.mount("#card-element")},updateModel:function(){}}),app.TipTheHostDonationView=app.CoreView.extend({events:{"click .add-host-dtn":"confirmAmount","click .remove-host-dtn":"removeDonation","click .open-amount-modal":"showModal","change select":"selectDonationLvl"},initialize:function(e){this.wizard=e.wizard,this.campaignId=app.dog.tth_campaign_id,this.enabled=!!app.dog.tth_tagline},addOrUpdateDonation:function(e,t){var n=this.donation();n?n.set({amount:e,donation_level_id:t}):(this.model.set({amount:e,donation_level_id:t,tip_the_host:!0}),app.giftBasketActive&&app.giftBasket.add(this.model.toJSON()),this.wizard.steps[0].addDonation(this.model.toJSON(),{focus:!0})),this.renderCustomAmountBox(),this.wizard.model.fetchFees(),this.$(".select-amount-modal").modal("hide"),this.renderCurrentTip()},confirmAmount:function(){var e=$("#tth-donation-select").val();if("other"===e)this.setCustomAmount();else{var t=_.find(this.model.get("donation_levels"),{id:parseInt(e)});this.addOrUpdateDonation(t.amount,t.id)}},donation:function(){return this.wizard.model.donations.find("tip_the_host")},isDonatingToHostCampaign:function(){return this.wizard.model.donations.some(function(e){return e.get("org").campaign_id===parseInt(this.campaignId)}.bind(this))},removeDonation:function(){var e=this.donation();e&&(app.giftBasketActive&&app.giftBasket.removeItem(e.collection.indexOf(e)),e.collection.remove(e),this.wizard.model.fetchFees(),this.renderCurrentTip())},render:function(){var e=this.donation();if(this.$el.html(app.template("multigive/tip_the_host_donation",this.model.toJSON())),this.renderCurrentTip(),e)this.$("select").val(e.get("donation_level_id")||"other");else{var t=this.model.get("donation_levels")[1]||this.model.get("donation_levels")[0];this.$("select").val(_.get(t,"id","other"))}this.renderCustomAmountBox()},renderCurrentTip:function(){var e=this.donation(),t=e?e.toJSON():{};this.$(".current-tip").html(app.template("multigive/tip_the_host_donation_current_tip",t))},renderCustomAmountBox:function(){var e=this.donation(),t={amount:e?e.get("amount"):null,visible:e&&!e.get("donation_level_id")||"other"===$("#tth-donation-select").val()};this.$(".tth-donation-other-container").html(app.template("multigive/tip_the_host_donation_custom_amount",t))},setCustomAmount:function(){var e=parseFloat(this.$("#tth-donation-other").val());if(isNaN(e))this.showError("Please enter a valid amount.");else{var t=Math.round(100*e),n=app.dog.min_donation_cents;t<n?this.showError("Amount must be at least "+Handlebars.helpers.centsToDollars(n,{hash:{}})+"."):(this.$(".tth-donation-error").addClass("hidden"),this.addOrUpdateDonation(t,null))}},selectDonationLvl:function(e){e.preventDefault(),"other"===$(e.currentTarget).val()?this.$(".tth-donation-other-container .form-group").removeClass("hidden"):(this.$(".tth-donation-other-container .form-group").addClass("hidden"),this.$(".tth-donation-error").addClass("hidden"))},shouldShow:function(){return this.enabled&&(this.donation()||!this.isDonatingToHostCampaign())},showError:function(e){this.$(".tth-donation-error").text(e).removeClass("hidden")},showModal:function(){this.$(".select-amount-modal").modal("show")}}),app.LeaderOptOutView=app.CoreView.extend({el:".leader-optout-container",events:{"click button":"optOut"},initialize:function(){this.model=new app.Leader,this.listenTo(this.model,"change:opted_out",this.render)},render:function(){this.$el.html(app.template("leader_optout/"+app.dog.name,this.model.toJSON()))},optOut:function(e){e.preventDefault();var t=this.$("input").val(),n=this.$(".form-control"),a=this.$(".errors");app.emailRegex.test(t)?(n.removeClass("is-invalid"),a.addClass("hidden"),this.updateModel(),this.model.optOut()):(n.addClass("is-invalid"),a.removeClass("hidden"))},updateModel:function(){this.model.set({email:this.$("input").val(),early_give:app.storage.get("earlyGive")||!1,international:app.storage.get("international")||!1,opted_out:app.storage.get("leaderOptedOut")})}}),app.LeaderboardSelectorView=app.CoreView.extend({events:{"change select.lb-selector":"changeLeaderboard","click .nav-link":"changeLeaderboard"},initialize:function(){this.activeLbViews=[],this.render(),this.setInitialLeaderboard(),this.toggleActiveLb(),this.renderLeaderboardView()},activeLbId:function(){return this.currentLeaderboard.id},changeLeaderboard:function(e){e.preventDefault(),_.each(this.activeLbViews,(function(e){e.remove()})),this.currentLeaderboard=app.customizations.tabbed_leaderboards?this.collection.get($(e.target).attr("data-lb")):this.collection.get(this.$("select").val()),app.router.navigate("/leaderboards?title="+this.currentLeaderboard.get("slug")),this.toggleActiveLb(),this.renderLeaderboardView()},lbOptions:function(){return{data:this.collection.toJSON()}},render:function(){return this.collection.length>1&&(app.customizations.tabbed_leaderboards?this.$el.prepend(app.template("leaderboards/tabbed_choices",this.lbOptions())):this.$el.prepend(app.template("leaderboards/dropdown_choices",this.lbOptions()))),this},renderLeaderboardView:function(){var e=this.currentLeaderboard;this.$(".leaderboard-set").append(app.template("leaderboards/leaderboard_container",{id:e.cid}));var t={el:"#lb-"+e.cid,model:e};e.get("parameters").raise_the_bar_data?this.activeLbViews.push(new app.RtbLeaderboardView(t)):this.activeLbViews.push(new app.LeaderboardView(t))},setInitialLeaderboard:function(){var e=this.collection.find({slug:app.utils.getUrlParam("title")});this.currentLeaderboard=e||this.collection.first()},toggleActiveLb:function(){var e=this.activeLbId();app.customizations.tabbed_leaderboards?(this.$(".nav-link").removeClass("active"),this.$(".nav-link[data-lb='"+e+"']").addClass("active")):this.$("select.lb-selector").val(e)}}),app.CustomOptionsLeaderboardSelectorView=app.LeaderboardSelectorView.extend({initialize:function(){this.customOptions=app.customizations.leaderboard_selector_options,this.activeLbViews=[],this.prizesCollection=new app.Prizes,this.prizesCollection.fetch({data:{dog_id:app.dog.id,with:"winners"}}).then(function(){this.render(),this.setInitialLeaderboard(),this.renderLeaderboardViews(),app.customizations.show_next_hourly_challenge&&this.showNextHourlyChallenge()}.bind(this))},changeLeaderboard:function(e){if(!$(e.target).attr("data-simple-link")){e.preventDefault(),_.each(this.activeLbViews,(function(e){e.remove()})),$(".leaderboard-set-container .leaderboard-set").empty();var t=app.customizations.tabbed_leaderboards?$(e.target).attr("data-slug"):this.$("select option:selected").attr("data-slug"),n=_.find(this.customOptions,{slug:t});this.activeLbModels=n.prizes_lb?[n]:this.filterCollectionByIds(n.id),this.updateUrlTitle(t),this.toggleActiveLb(t),this.renderLeaderboardViews()}},filterCollectionByIds:function(e){return this.collection.filter((function(t){return _.includes(e,t.id)}))},lbOptions:function(){return{data:this.customOptions}},renderLeaderboardViews:function(){_.each(this.activeLbModels,function(e){if(e.prizes_lb){var t=e.slug;Array.isArray(e.id[0])?e.id.forEach(function(n,a){this.renderPrizesLb(n,e.template[a],e.description[a],t+"-"+a)}.bind(this)):this.renderPrizesLb(e.id,e.template,e.description,t)}else{this.$(".leaderboard-set").append(app.template("leaderboards/leaderboard_container",{id:e.cid}));var n={el:"#lb-"+e.cid,model:e};e.get("parameters").raise_the_bar_data?this.activeLbViews.push(new app.RtbLeaderboardView(n)):this.activeLbViews.push(new app.LeaderboardView(n))}}.bind(this))},renderPrizesLb:function(e,t,n,a){var l=this.prizesCollection.filter((function(t){return _.includes(e,t.id)})),o={description:n,prizes:l=_.map(l,(function(e){return e.toJSON()})),cssClass:a},i=app.template("leaderboards/prizes/"+t,o);$(".leaderboard-set-container .leaderboard-set").append(i)},setInitialLeaderboard:function(){var e=app.utils.getUrlParam("title"),t=_.find(this.customOptions,{slug:e}),n=t||this.customOptions[0];t||(e=this.customOptions[0].slug),this.activeLbModels=n.prizes_lb?[n]:this.filterCollectionByIds(n.id),this.toggleActiveLb(e)},showNextHourlyChallenge:function(){var e=_.map(this.prizesCollection.where({highlight:!0}),(function(e){return e.toJSON()}))[1];if(e){if(e.start_time=parseInt(e.sponsor_name),e.start_meridiem=e.sponsor_link.toLowerCase(),e.end_time=e.start_time+1,e.end_time>12&&(e.end_time=e.end_time-12),12===e.end_time){var t=e.start_meridiem;e.end_meridiem=t.indexOf("a")>-1?t.replace("a","p"):t.replace("p","a")}else e.end_meridiem=e.start_meridiem;var n=app.template("prizes/lb_next_challenge",{challenge:e});$("#next-challenge").html(n)}},toggleActiveLb:function(e){app.customizations.tabbed_leaderboards?(this.$(".nav-link").removeClass("active"),this.$(".nav-link[data-slug='"+e+"']").addClass("active")):this.$("select.lb-selector option[data-slug="+e+"]").prop("selected",!0)},updateUrlTitle:function(e){app.router.navigate("/leaderboards?title="+e)}}),app.FilteredLeaderboardSelectorView=app.LeaderboardSelectorView.extend({events:_.merge(app.LeaderboardSelectorView.prototype.events,{"change .leaderboard-filters select":"filterCurrentLb"}),initialize:function(e){this.filterCollection=e.filterCollection,app.LeaderboardSelectorView.prototype.initialize.call(this,_.pull(e,"filterCollection")),this.setFilters()},activeLbId:function(){var e=this.currentLeaderboard.get("parameters");return e.isFilter?e.parentId:this.currentLeaderboard.id},changeLeaderboard:function(e){app.LeaderboardSelectorView.prototype.changeLeaderboard.call(this,e),this.setFilters()},filterCurrentLb:function(){var e=_.compact($("select.filter-option").map((function(){return parseInt($(this).val())})).toArray().sort());e.length?this.currentLeaderboard=this.filterCollection.find((function(t){var n=_.flatten([t.get("parameters").survey_choice_id]).sort();return _.isEqual(n,e)})):this.currentLeaderboard=this.collection.get(this.currentLeaderboard.get("parameters").parentId),app.router.navigate("/leaderboards?title="+this.currentLeaderboard.get("slug")),_.each(this.activeLbViews,(function(e){e.remove()})),this.renderLeaderboardView()},setFilters:function(){var e=this.currentLeaderboard.get("parameters"),t=e.filters;if(this.$(".leaderboard-filters").remove(),t){var n=e.isFilter?_.flatten([e.survey_choice_id]):[],a=app.template("leaderboards/filter_options",{filters:t,selectedFilters:n});this.$(".leaderboard-set").before(a)}},setInitialLeaderboard:function(){var e=app.utils.getUrlParam("title"),t=this.collection.find({slug:e})||this.filterCollection.find({slug:e});this.currentLeaderboard=t||this.collection.first()}}),app.LeaderboardView=app.CoreView.extend({events:{"click th[data-sort]":"changeSort","click button[data-sort]":"changeSort","click .load-more":"loadMore"},initialize:function(e){this.limit=e.limit||this.model.get("initial_load"),this.maxResults=Math.min(this.model.get("max_load"),app.maxLeaderboardResults),this.setSort(...this.initialSort()),this.preventSeeMore=e.preventSeeMore,this.model.set({lbRankedByColumn:this.checkForRankedColumn()}),this.loadLbResults()},changeSort:function(e){e.preventDefault();var t,n=$(e.currentTarget).data("sort");t=this.model.get("sortColumn")===n?"ascending"===this.model.get("sortDirection")?"descending":"ascending":this.model.get("leaderboard_type")===n?"ascending":"descending",this.setSort(n,t),this.loadLbResults()},checkForRankedColumn(){return this.model.get("leaderboard_columns").some((({name:e})=>"ranked_total_donations_count"===e||"ranked_total_amount_raised"===e))},initialSort(){return[this.model.get("initial_sort_column"),this.model.get("sort_direction")]},loadMore:function(){this.limit+=this.model.get("increment_load"),this.loadLbResults()},loadLbResults:function(){var e=app.leaderboardApiUrl+"v1/leaderboards/"+this.model.get("id")+"/results",t={dog_id:app.custom("leaderboards_dog_id")||app.dog.id,per_page:Math.min(this.limit,this.maxResults),sort_column:this.model.get("sortColumn"),sort_direction:"ascending"==this.model.get("sortDirection")?"asc":"desc",with:"measurable"};$.getJSON(e,t).done(function(e){this.model.set("showSeeMore",this.showSeeMore(e)),this.model.set("results",e.results),this.render()}.bind(this))},render:function(){return this.$el.html(app.template("leaderboards/leaderboard",this.model.toJSON())),this},setSort:function(e,t){this.model.set({sortColumn:e,sortIcon:"ascending"===t?" &#9650;":" &#9660;",sortDirection:t})},showSeeMore:function(e){var t=e.results.length;return!this.preventSeeMore&&t<e._meta.total&&t<this.maxResults}}),app.RtbLeaderboardView=app.LeaderboardView.extend({raiseTheBarInfo:function(e){const t=this.model.get("parameters").raise_the_bar_data,n={raiseTheBarLb:!0,allCompleteCopy:t.all_complete_copy||"All bonuses unlocked! All colleges and units raised the bar!",numCompleted:_.filter(e,(function(e){return e.leaderboard_columns.donors_remaining<=0})).length};return n.bonusUnlocked=n.numCompleted?t.first_bonus+n.numCompleted*t.bonus_increment:0,n.nextBonus=n.numCompleted?n.bonusUnlocked+t.bonus_increment:t.first_bonus,n.allComplete=n.numCompleted===e.length,n},render:function(){const e=_.merge(this.model.toJSON(),this.raiseTheBarInfo(this.model.get("results"))),t="leaderboards/leaderboard";return this.$el.html(app.template(t,e)),this}}),app.LoginView=app.CoreView.extend({events:{"hidden.bs.modal":"remove","submit form":"submitLogin"},initialize:function(){_.bindAll(this,"onError","onSuccess"),this.setElement(app.template("shared/empty_modal"))},onError:function(e){this.$("input[type=submit]").prop("disabled",!1);var t=_.get(e,"responseJSON.errors");$("#modal-errors").html(app.alerts.error(t)).removeClass("hidden")},onSuccess:function(e){this.$el.modal("hide"),e.logged_in=!0,this.model.userModel.set("id",e.user_id),this.model.set(e),this.model.trigger("loggedIn")},render:function(){return this.$(".modal-content").html(app.template("login_modal")),this.$el.modal("show"),this},submitLogin:function(e){e.preventDefault(),$("#modal-errors").html("").addClass("hidden"),this.$("input[type=submit]").prop("disabled",!0);var t=app.ggApiUrl+"v1/login",n={email:this.$("#donor-email-modal").val(),password:this.$("#password-prompt").val()};$.post(t,n,null,"json").then(this.onSuccess,this.onError)}}),app.MultigiveBusFundFafView=app.CoreView.extend({template:"multigive/bus_fund_faf_dropdown",el:".fundraiser-dropdowns",events:{"change .custom-select":"setModelInfo"},initialize:function(e){app.dog.business_fundraisers_enabled&&this.initBusFunds(e.busFunds),app.dog.faf_enabled&&!app.dog.p2ps_enabled&&this.initFreeAgents(e.freeAgents)},initBusFunds:function(e){this.businessFundraisers=new app.BusinessFundraisers,this.listenTo(this.model,"change:business_fundraiser_id",this.renderBusinessFundraisers),this.businessFundraisers.set(e,{parse:!0});var t=app.utils.getUrlParam("business_fundraiser_id");t&&this.setBusFundInfo(t)},initFreeAgents:function(e){this.freeAgents=new app.UserCampaigns,this.listenTo(this.model,"change:free_agent_id",this.renderFreeAgents),this.freeAgents.set(e,{parse:!0});var t=app.storage.get("freeAgentId");t&&this.setFreeAgentInfo(t)},render:function(){app.dog.business_fundraisers_enabled&&this.renderBusinessFundraisers(),app.dog.faf_enabled&&!app.dog.p2ps_enabled&&this.renderFreeAgents()},renderBusinessFundraisers:function(){this.renderFundraiserType({label:app.custom("bus_fund_copy").multigive.dropdown_text,logo:_.get(this.model.get("business"),"logo_url"),models:this.businessFundraisers.toJSON(),prompt:app.custom("bus_fund_copy").multigive.prompt,type:"business-fundraiser"})},renderFreeAgents:function(){var e=app.dogBreed.fundraiser_label_set.singular,t=app.dogBreed.fundraiser_label_set.article;this.renderFundraiserType({label:`Select ${t} ${_.startCase(e)}`,logo:_.get(this.model.get("freeAgent"),"logo_url"),models:this.freeAgents.toJSON(),prompt:app.custom("faf_donation_prompt")||`Would you like to attribute this gift to a Free Agent ${_.upperFirst(e)}?`,type:"free-agent"})},renderFundraiserType:function(e){var t=e.type;this.$(".dropdown-"+t).html(this.tmpl(e)),this.$("#choose-"+t).val(this.model.get(_.snakeCase(t)+"_id"))},setBusFundInfo:function(e){var t=this.businessFundraisers.get(e);this.model.set({business_fundraiser_id:e,business:t.get("business")})},setFreeAgentInfo:function(e){var t=this.freeAgents.get(e);app.storage.set("freeAgentId",e),this.model.set({free_agent_id:e,freeAgent:t.toJSON()})},setModelInfo:function(e){var t=e.target.id.includes("free-agent"),n=e.target.value;""===n?t?this.unsetFreeAgentInfo():this.unsetBusFundInfo():t?this.setFreeAgentInfo(n):this.setBusFundInfo(n)},unsetBusFundInfo:function(){this.model.set({business_fundraiser_id:void 0,business:void 0},{unset:!0})},unsetFreeAgentInfo:function(){this.model.set({free_agent_id:void 0,freeAgent:void 0},{unset:!0})}}),app.MultigiveConfirmItemView=app.CoreView.extend({template:"multigive/confirm_item",initialize:function(e){this.payment_method=e.payment_method,this.listenTo(this.model,"change",this.render)},render:function(){var e=this.model.toJSON();return e.payment_method=this.payment_method,this.$el.html(this.tmpl(e)),this}}),app.WizardStepView=app.CoreView.extend({initialize:function(e){_.bindAll(this,"advance","goBack","goBackTwice"),this.delegate("click","[data-wz=back]",this.goBack),this.delegate("click","[data-wz=next]",this.advance),this.delegate("click","[data-wz=back-twice]",this.goBackTwice),this.onInitialize(e)},render:function(){return this.$el.html(this.tmpl(this.templateData())),this},advance:function(e){return e&&e.preventDefault(),this.validate()?(this.trigger("advance"),this.wizard.changeStep(this.stepIncrement())):this.showErrors(),!1},goBack:function(e,t=this.stepDecrement()){e&&e.preventDefault(),this.trigger("goBack"),this.wizard.changeStep(t)},goBackTwice:function(e){this.goBack(e,-2)},hide:function(){this.$el.addClass("hidden")},templateData:function(){return this.model.toJSON()},onInitialize:function(){},onRender:function(){},onShow:function(){},showErrors:function(){},stepDecrement:_.constant(-1),stepIncrement:_.constant(1),validate:_.constant(!0)}),app.MultigiveConfirmStep=app.WizardStepView.extend({el:".multigive-confirm-step",events:{"click #submit-donations":"submit"},onInitialize:function(e){this.stripe=e.stripe,_.bindAll(this,"processSingleTransaction","processMultipleTransactions","singleTransactionSuccess","singleTransactionError","dtnSuccess","dtnError"),this.listenTo(this.model,"change:donor_covered_fees change:total_fees",this.updateFees),this.listenTo(this.model,"change:donor_covered_fees change:total_donation change:total_fees",this.updateTotal),this.listenTo(this.model,"change:payment_token",this.prepareStripeTransaction),this.listenTo(this.model,"paypalError",this.singleTransactionError),this.listenTo(this.model,"paypalSuccess",this.singleTransactionSuccess),this.listenTo(this.model,"change:plaid_account_token",this.submitPlaid),this.listenTo(this.model,"change:save_source",this.promptPassword),this.listenTo(this.model,"promptErrorPlaid",this.errorPlaid),this.listenTo(this.model,"change:total_gg_tip",this.updateTotal),this.listenTo(this.model,"change:total_gg_tip",this.updateStripePaymentRequestTotal),this.listenTo(this.model,"tokenError",this.displayTokenError),this.bindCheckbox(".anonymous","anonymous"),this.bindCheckbox("#cover-fees","donor_covered_fees"),this.bindCheckbox(".hide-amount","hide_amount"),this.bindCheckbox("#save-source","save_source"),this.bindCheckbox(".totally-anonymous","totally_anonymous"),this.stripe.paymentRequest.on("token",this.paymentRequestSubmitted.bind(this)),app.dog.gg_tip_model_enabled&&app.createGgTipComponent()},render:function(){return this},onShow:function(){var e=this.model.paymentMethodIs("daf")?"daf_confirm":this.model.paymentMethodIs("e_card")?"e_card_confirm":"online_confirm";this.$el.html(app.template("multigive/"+e,this.templateData())),this.model.donations.each(this.renderDonation.bind(this)),this.updateTotal(),this.wizard.surveyView.setElement(this.$(".survey-container")).render(),this.wizard.tthView.shouldShow()&&this.wizard.tthView.setElement(this.$(".tip-the-host-donation")).render(),this.$("[rel=popover]").popover(),this.model.paymentMethodIs("stripe_payment_request")?this.stripe.prButton.mount("#payment-request-button"):this.model.paymentMethodIs("paypal")?this.wizard.paypalBtn.render("#paypal-button"):this.model.paymentMethodIs("venmo")&&this.wizard.venmoBtn.render("#paypal-button"),app.dog.gg_tip_model_enabled&&!this.model.paymentMethodIs("daf")&&this.renderGgTipComponent()},renderGgTipComponent:function(){new Vue({el:".gg-tip-container",data:{donationModel:this.model}})},displayTokenError:function(e){this.$(".btn").prop("disabled",!1).removeClass("disabled"),"card_error"===e.type?this.error(e.message):this.error("Sorry, an error occurred. Please try again later.")},errorPlaid:function(e){this.$(".btn").prop("disabled",!1).removeClass("disabled"),null!==e&&this.error("An error occured. Please try again later.")},multiTransactionSuccess:function(){app.custom("google_tag_manager")&&app.productionEnv&&dataLayer.push({event:"completedTransaction",transactionTotal:this.model.totalCharge()/100}),this.showThankYou(),app.giftBasketActive&&app.giftBasket.empty(),app.dog.faf_enabled&&app.storage.remove("freeAgentId"),app.removeCookie("referralId"),this.wizard.surveyView.saveAnswers(this.model.donations.map("id")),this.model.sendECommerceData()},singleTransactionError:function(e){this.$(".processing-container").empty(),this.model.unset("payment_token",{silent:!0}),this.error(_.get(e,"responseJSON.error","Sorry, an error occurred. Please contact support to ensure that your donation(s) went through.")),_.get(e,"responseJSON.card_error",!1)&&this.$(".btn").prop("disabled",!1).removeClass("disabled")},singleTransactionSuccess:function(e){app.custom("google_tag_manager")&&app.productionEnv&&dataLayer.push({event:"completedTransaction",transactionTotal:this.model.totalCharge()/100}),this.showThankYou(),app.giftBasketActive&&app.giftBasket.empty(),app.dog.faf_enabled&&app.storage.remove("freeAgentId"),app.removeCookie("referralId"),this.wizard.surveyView.saveAnswers(_.map(e,"id")),app.donationAnalytics.sendECommerceTransaction(this.model.get("total_donation"),e)},processSingleTransaction:function(){var e=this;app.utils.skipRecaptcha()?e.sendSingleTransaction():grecaptcha.ready((function(){grecaptcha.execute(app.recaptchaV3PublicKey,{action:"donateDog"+app.dog.id}).then((function(t){e.model.set("recaptcha_token",t),e.sendSingleTransaction()}))}))},sendSingleTransaction:function(){this.$(".processing-container").html(app.template("multigive/single_txn_processing")),app.singleTransaction.create(this.model).then(this.singleTransactionSuccess,this.singleTransactionError)},processMultipleTransactions:function(){var e=this.model.donations.findWhere({processed:!1});e?this.processOneDonation(e):this.multiTransactionSuccess()},processOneDonation:function(e){var t=this;app.utils.skipRecaptcha()?t.sendOneDonation(e):grecaptcha.ready((function(){grecaptcha.execute(app.recaptchaV3PublicKey,{action:"donateDog"+app.dog.id}).then((function(n){t.model.set("recaptcha_token",n),t.sendOneDonation(e)}))}))},sendOneDonation:function(e){var t=this;e.set("status",app.template("multigive/processing")),app.multiTransaction.create(this.model,e).then((function(n){t.dtnSuccess(n,e)}),(function(n){t.dtnError(n,e)}))},promptPassword:function(){this.model.get("ask_for_password")&&(this.model.get("save_source")?($(".password-prompt").removeClass("hidden"),this.model.set("save_password",!0)):($(".password-prompt").addClass("hidden"),this.model.unset("save_password")))},markProcessed:function(e,t){t.set({id:e,processed:!0,status:app.template("multigive/success")})},userInfoWithPassword:function(){var e=$("#password-prompt").val();return _.merge(this.model.userInfo(),{password:e,password_confirmation:e})},dtnError:function(e,t){this.model.sendECommerceData(),this.model.unset("payment_token",{silent:!0});var n=_.result(e,"responseJSON.error","Sorry, an error occurred. Please contact support to ensure that your donation(s) went through.");_.get(e,"responseJSON.card_error",!1)&&this.$(".btn").prop("disabled",!1).removeClass("disabled"),t.set("status",n)},dtnSuccess:function(e,t){this.model.set({source_for_payment:{id:e.source_id},stripe_customer_id:e.stripe_customer_id}),this.markProcessed(e.id,t),this.processMultipleTransactions(null)},showThankYou:function(){var e=app.custom("show_dog_causes_after_donation")?_.sampleSize(this.wizard.causes,3):[],t=`Your receipt, along with a thank you message, has been sent to ${this.model.get("donor_email")}`;this.wizard.$el.html(app.template(this.thankYouTemplate(),{causes:e,user_id:this.model.get("user_id")})).prepend(app.alerts.notify(t)),this.wizard.scrollToTop()},renderDonation:function(e){if(!e.get("tip_the_host")){var t=new app.MultigiveConfirmItemView({model:e,payment_method:this.model.get("payment_method")});this.$(".confirm-items").append(t.render().$el)}},prepareStripeTransaction:function(){if(this.model.get("confirm_email")&&app.dtnHoneypotEnabled)app.honeybadgerNotifications("Dog Donation Honeypot","DogDtnHoneypot",this.model.toJSON()),this.$(".processing-container").empty(),this.error("Sorry, an error has occurred.");else if(this.model.readyForPayment())this.submitTransaction();else{var e=this.model.get("payment_method");"credit_card"===e?this.wizard.paymentViews.credit_card.createAndSaveToken():"plaid"===e&&this.wizard.paymentViews.plaid.plaidLinkHandler()}},submitTransaction:function(){app.dog.centrally_routed?this.processSingleTransaction():this.processMultipleTransactions()},submitDaf:function(){this.$(".processing-container").html(app.template("multigive/single_txn_processing")),app.dafTransaction.create(this.model).then(this.singleTransactionSuccess,this.singleTransactionError)},beforeSubmit:function(){if(this.validate())return app.donationAnalytics.transactionId=Date.now().toString(),this.$(".btn").prop("disabled",!0).addClass("disabled"),app.dog.centrally_routed||this.model.paymentMethodIs("daf")||this.wizard.scrollToTop(),!0;this.showErrors()},submit:function(){this.beforeSubmit()&&this.findOrCreateUser()},paymentRequestSubmitted:function(e){this.beforeSubmit()?(this.model.setMobilePaymentAddress(e),e.complete("success"),this.findOrCreateUser(e.token.id)):e.complete("fail")},findOrCreateUser:function(e){var t=this;grecaptcha.ready((function(){(function(e){return e?t.model.userModel.create(t.userInfoWithPassword()):t.model.userModel.findOrCreate(t.model.userInfo())})(t.model.get("save_password")).then((function(n){t.model.set({user_id:n.id}),e?t.model.set("payment_token",e):t.model.paymentMethodIs("daf")?t.submitDaf():t.model.paymentMethodIs("e_card")||t.model.isUsingPaypal()?t.submitTransaction():t.prepareStripeTransaction()}),(function(){t.$(".btn").prop("disabled",!1).removeClass("disabled"),t.error("Sorry, an error occurred. Please try again later.")}))}))},templateData:function(){var e=this.model.toJSON();return e.stripe_fee_percentage=null!==app.dog.rate_stripe_bss_pts?app.dog.rate_stripe_bss_pts/100:2.2,e.usePaypal=this.model.isUsingPaypal(),e},thankYouTemplate:function(){var e="true"===app.storage.get("earlyGive"),t="true"===app.storage.get("international"),n="true"===app.storage.get("leader");return app.custom("early_giving_thank_you")&&(n||t||e)?"multigive/early_giving_thank_you/"+app.dog.name:app.custom("thank_you")?"multigive/thank_you/"+app.dog.name:"multigive/thank_you"},updateFees:function(){var e=app.template("multigive/total",{total:this.model.get("total_fees")});this.$(".total-fees").text(e),this.updateStripePaymentRequestTotal()},updateStripePaymentRequestTotal:function(){this.stripe.paymentRequest.update({total:{label:app.dog.title,amount:this.model.totalCharge()||0}})},updateTotal:function(){var e=this.model.paymentMethodIs("daf")?this.model.get("total_donation"):this.model.totalCharge(),t=app.template("multigive/total",{total:e});this.$(".total-charge").text(t)},validate:function(){return this.$(".errors").addClass("hidden"),this.wizard.surveyView.validate()&&(!this.model.get("save_password")||app.utils.validPassword(this))}}),app.MultigiveDonationItemView=app.CoreView.extend({template:"multigive/donation_item",events:{"click .add-campaign":"loadCampaigns","click .add-message":"showMessage","click .add-user-campaign":"loadUserCampaigns","click .remove-donation":"removeDonation","change .choose-campaign":"setSupportArea","change .recurring-check":"setRecurring","change .recurring-end-dropdown":"setRecurringEnd","change .recurring-end-field":"setRecurringEnd","change .sub-fund-select":"setSubFund"},initialize:function(){this.listenTo(this.model,"change:amount",_.debounce(this.validateAmount,300)),this.listenTo(this.model,"change:dedication_name",this.validateDedicationName),this.listenTo(this.model,"change:is_dedicated",this.toggleDedicationFields),this.listenTo(this.model,"change:notify_honoree",this.toggleNotifyHonoreeInfoFields),this.listenTo(this.model,"invalidAmount",this.highlightAmount),this.listenTo(this.model,"invalidDedicationName",this.highlightDedicationName),this.listenTo(this.model,"invalidEndDate",this.highlightEndDate),this.listenTo(this.model,"emptyFallbackMsg",this.highlightFallbackMessage),this.listenTo(this.model,"invalidMaxAmount",this.highlightMaxAmount),this.listenTo(this.model,"change:support_area",this.resetUserCampaign),this.listenTo(this.model,"change:support_area",this.loadSubFunds),this.campaigns=new app.Campaigns,this.subFunds=new app.SubFunds,this.userCampaigns=new app.UserCampaigns,app.dog.recurring_donations_enabled&&app.custom("recurring_donations_default")&&this.model.set({recurring:!0})},displayFallbackMsgInput:function(){var e=this.$(".fallback-message"),t=app.utils.getDecodedUrlParam("fallback_message"),n=parseInt(app.utils.getDecodedUrlParam("campaign_id"));e.removeClass("hidden"),t&&n&&n===this.model.campaignId()&&e.val(t).trigger("change")},highlightAmount:function(){this.$(".amount").addClass("is-invalid").attr("aria-invalid","true").next(".invalid").removeClass("hidden")},
highlightDedicationName:function(){this.$(".dedication-name").addClass("is-invalid").attr("aria-invalid","true").next(".invalid").removeClass("hidden")},highlightEndDate:function(){this.$(".recurring-end-date-picker").addClass("is-invalid").attr("aria-invalid","true").next(".invalid").removeClass("hidden")},highlightFallbackMessage:function(){this.$(".fallback-message").addClass("is-invalid")},highlightMaxAmount:function(){this.$(".recurring-max-amount").attr("aria-invalid","true"),this.$(".recurring-max").addClass("is-invalid").find(".invalid").first().removeClass("hidden").next().removeClass("text-muted").attr({class:"invalid",role:"alert"})},loadCampaigns:function(e){e.preventDefault(),this.$(".add-campaign").addClass("hidden");var t='<div class="loading-indicator gg-branding-lead-border"></div>';this.$(".campaigns-dropdown").html(t);var n={group_id:this.model.get("org").group_id||this.model.get("org").group.id,dog_id:app.dogBreed.donations_dog_id,dog_campaign:!1,with:"fallback",per_page:app.custom("campaign_select_limit")};return this.campaigns.fetch({data:n}).then(this.renderCampaigns.bind(this))},loadSubFunds:function(){if(app.custom("sub_funds_enabled")){this.model.set("subFund",null);var e={campaign_id:this.model.campaignId(),per_page:300};return this.subFunds.fetch({data:e}).done(this.renderSubFunds.bind(this))}},loadUserCampaigns:function(e){if(e&&e.preventDefault(),!app.storage.get("freeAgentId")){this.$(".add-user-campaign").addClass("hidden");var t='<div class="loading-indicator gg-branding-lead-border"</div>';this.$(".user-campaigns-dropdown").html(t),this.userCampaigns.fetch({data:{campaign_id:this.model.campaignId(),per_page:app.custom("fundraiser_select_limit"),searchable:!0,with:"campaign,group"}}).done(this.renderUserCampaigns.bind(this))}},messagePlaceholder:function(e){return app.custom("donor_message_placeholder")||"For example: I'm proud to give to "+e+" because..."},render:function(){var e=this.model.toJSON();return e.minDtnAmount=app.utils.minDtnAmount(),e.showSALink=this.model.get("org").dog_campaign&&app.dog.support_areas_enabled&&!this.model.has("user_campaign_id"),e.messagePlaceholder=this.messagePlaceholder(e.org.name),e.showP2ps=app.dog.p2ps_enabled&&app.custom("show_p2p_dropdown")&&!app.storage.get("freeAgentId"),this.setElement(this.tmpl(e)),this.bindInput(".amount","amount",{event:"input",parseFn:app.utils.dollarsToCents}),this.bindCheckbox(".is-dedicated","is_dedicated"),this.bindInput(".dedication-email","dedication_email"),this.bindInput(".dedication-message","dedication_message"),this.bindInput(".dedication-name","dedication_name",{event:"input"}),this.bindInput(".dedication-type","dedication_type"),this.bindInput(".display-name","display_name"),this.bindInput(".donor-message","donor_message"),this.bindInput(".fallback-message","fallback_message"),this.bindCheckbox(".new-donor","new_donor_to_group"),this.bindCheckbox(".notify-honoree","notify_honoree"),this.bindCheckbox(".recurring-check","recurring"),this.bindInput(".recurring-end-dropdown","recurring_end_type"),this.bindInput(".recurring-frequency-dropdown","recurring_frequency"),this.bindInput(".recurring-max-amount","recurring_max_amount",{event:"keyup",parseFn:app.utils.dollarsToCents}),this.bindInput(".recurring-end-date","recurring_end_date"),this.bindInput(".user-campaign-choice","user_campaign_id"),this.model.get("is_dedicated")&&this.$(".dedication-type").val(this.model.get("dedication_type")),(this.model.get("donor_message")||app.customizations.donor_message_opened)&&this.showMessage(),this.model.isForFallback()&&this.displayFallbackMsgInput(),this.loadSubFunds(),this.model.get("user_campaign_id")&&this.loadUserCampaigns(),this.renderRecurring(),this.$("[rel=popover]").popover(),this},renderCampaigns:function(){var e=app.template("multigive/campaigns_dropdown",{campaigns:this.campaigns.toJSON(),cId:this.model.campaignId()});this.$(".campaigns-dropdown").html(e)},renderFlatPickr:function(){var e={dateFormat:"n/j/Y",minDate:new Date,wrap:!0};this.recurringDatePickr=flatpickr(this.$(".recurring-end-date")[0],e)},renderRecurring:function(){app.dog.recurring_donations_enabled&&this.renderFlatPickr(),this.$(".recurring-end-dropdown").val(this.model.get("recurring_end_type")),this.$(".recurring-end-date-picker").val(this.model.get("recurring_end_date")),this.$(".recurring-frequency-dropdown").val(this.model.get("recurring_frequency")),this.setRecurring(),this.setRecurringEnd()},renderSubFunds:function(){this.$(".sub-funds-dropdown").html(app.template("multigive/sub_funds_dropdown",{campaignId:this.model.campaignId(),subFunds:this.subFunds.toJSON()}))},renderUserCampaigns:function(){var e=this.model.get("user_campaign_id");this.$(".user-campaigns-dropdown").html(app.template("multigive/user_campaigns_dropdown",{cId:this.model.campaignId(),selected:e,user_campaigns:this.userCampaigns.toJSON()}))},removeDonation:function(e){e.preventDefault(),$(this.el).addClass("deleting");var t=this.model.collection.indexOf(this.model);if(app.giftBasketActive&&app.giftBasket.removeItem(t),t===this.model.collection.length-1){var n=".multigive-donation-item:nth-child("+(t=0===t?1:t)+")";1!==this.model.collection.length?$("body, html").animate({scrollTop:$(n).offset().top-98},500):$("body, html").animate({scrollTop:$(".multigive-wrapper").offset().top-70},500)}var a=this;$(this.el).slideUp(500,(function(){a.model.trigger("destroy",a.model),a.remove()}))},resetUserCampaign:function(){app.storage.get("freeAgentId")||(this.model.set({user_campaign_id:null}),this.userCampaigns.reset(),this.$(".user-campaigns-dropdown").empty(),this.$(".add-user-campaign").removeClass("hidden"))},setRecurring:function(e){e&&this.model.set("recurring",this.$(".recurring-check").prop("checked")),this.$(".recurring-options").toggleClass("hidden",!this.model.get("recurring"))},setRecurringEnd:function(e){if(e){var t=this.$(".recurring-max-amount").val();this.model.set("recurring_end_type",this.$(".recurring-end-dropdown").val()),this.model.set("recurring_end_date",this.$(".recurring-end-field").val()),this.model.set("recurring_max_amount",t&&t>this.model.get("amount")?t:null)}var n=this.model.get("recurring_end_type");this.$(".recurring-end-date").toggleClass("hidden",!("date"==n)),this.$(".recurring-end-date").prev("label").toggleClass("hidden",!("date"==n)),this.$(".recurring-max").toggleClass("hidden",!("amount"==n)),this.$(".recurring-max").prev("label").toggleClass("hidden",!("amount"==n))},setSubFund:function(){var e=this.$(".sub-fund-select").val();this.model.set("subFund",e?this.subFunds.get(e).toJSON():null)},setSupportArea:function(){var e=this.$(".choose-campaign").val(),t=this.campaigns.get(e);this.model.set("support_area",e?t.toJSON():null),this.$(".fallback-message").toggleClass("hidden",!this.model.isForFallback())},showMessage:function(e){e&&e.preventDefault(),this.$(".show-message").removeClass("hidden"),this.$(".add-message").addClass("hidden")},toggleDedicationFields:function(){this.$(".dedication-fields").toggleClass("hidden",!this.model.get("is_dedicated")),this.$(".dedication-type").trigger("change")},toggleNotifyHonoreeInfoFields:function(){this.$(".notify-honoree-info").toggleClass("hidden",!this.model.get("notify_honoree"))},unhighlightAmount:function(){this.$(".amount").removeClass("is-invalid").removeAttr("aria-invalid").next(".invalid").addClass("hidden")},unhighlightDedicationName(){this.$(".dedication-name").removeClass("is-invalid").removeAttr("aria-invalid").next(".invalid").addClass("hidden")},validateAmount:function(){var e=this.model.get("amount");app.utils.validAmount(e)?this.unhighlightAmount():this.highlightAmount()},validateDedicationName:function(){this.model.get("is_dedicated")&&""===this.model.get("dedication_name")?this.highlightDedicationName():this.unhighlightDedicationName()}}),app.MultigiveFundraiserView=app.CoreView.extend({el:".free-agent",template:"multigive/fundraiser_item",events:{"click .remove-fundraiser":"removeFundraiser"},initialize:function(e){this.donations=e.donations,_.bindAll(this,"removeFundraiser"),this.listenTo(this.model,"sync",this.render);var t={with:"campaign,dog,group"};this.model.fetch({data:t})},render:function(){return this.$el.html(this.tmpl(this.model.toJSON())),this},removeFundraiser:function(e){e.preventDefault(),$(this.el).addClass("deleting"),app.storage.remove("freeAgentId"),$(this.el).slideUp(500,(function(){this.remove()}))}}),app.MultigiveInfoStep=app.WizardStepView.extend({el:".multigive-info-step",template:"multigive/info",events:{"click .add-donation":"showSearch"},onInitialize:function(e){this.donations=this.model.donations,this.fallbacks=e.fallbackCampaigns,this.notDonatableOrgNames=[],this.listenTo(this.donations,"add",this.renderDonation),this.listenTo(this.donations,"destroy",this.donationRemoved),this.listenTo(this.model,"selectedCampaign",this.addSelectedCampaign)},addDonation:function(e,t={}){if((e.group_dog.donatable||app.dog.centrally_routed)&&e.group_dog.visible){const{amount:t,donation_level_id:n,give_again:a,user_campaign_id:l,tip_the_host:o,...i}=e;this.donations.add({amount:t,donation_level_id:n,give_again:a,org:i,support_area:i.dog_campaign?null:i,tip_the_host:o,user_campaign_id:l})}else this.notDonatableOrgNames.push(e.name),app.giftBasket.removeItem(_.indexOf(app.giftBasket.items(),e));t.focus&&this.$(".amount:last").focus(),this.hideSearch(),this.toggleGiftBasketFull()},addSelectedCampaign:function(e){var t=new app.Campaign(e,{parse:!0}).toJSON();app.giftBasketActive&&app.giftBasket.add(t),this.$(".basket-msg").addClass("hidden"),this.addDonation(t,{focus:!0})},alertForNotDonatable:function(){if(this.notDonatableOrgNames.length>0){this.wizard.scrollToTop();var e=new Handlebars.SafeString(this.notDonatableOrgNames.join(", "));this.error(app.template("multigive/org_not_donatable",{orgNames:e}))}},donationRemoved:function(e){var t=app.dogBreed.donation_noun,n=`${t.substr(0,1).toUpperCase()+t.substr(1)} to ${_.get(e.get("org"),"name")} removed.`;this.toggleGiftBasketFull(),this.donations.size()||(this.showSearch(),n+=" Gift basket is now empty."),this.$(".notice").html(n).removeClass("hidden"),setTimeout((()=>{this.$(".notice").addClass("hidden")}),5e3)},donationsAllowed:function(){var e=app.utils.getUrlParam("override_code")===app.dog.name,t=app.custom("leaders_enabled")||!_.isEmpty(app.custom("vip_message"));return app.dog.donations_enabled||e||t&&app.storage.get("leader")||app.custom("international_enabled")&&app.storage.get("international")||app.custom("early_give_enabled")&&app.storage.get("earlyGive")||app.custom("custom_donation_slugs").includes(app.storage.get("earlyGiveSlug"))},errorText:function(){return app.template("multigive/info_error",{noOrgFound:!this.donations.size(),duplicateDonations:this.model.duplicateDonations()})},hideSearch:function(){this.$(".search-form select").val(null).trigger("change"),this.$(".search-form").addClass("hidden"),this.$(".add-donation").removeClass("hidden")},onRender:function(){if(this.toggleGiftBasketFull(),this.donationsAllowed()){if(new Vue({el:".search-form",data:{donationModel:this.model,fallbacks:this.fallbacks}}),this.donations.each(this.renderDonation,this),this.renderFreeAgent(),app.giftBasketActive){var e=app.giftBasket.items();app.utils.getUrlParam("gift_basket")&&0===e.length&&this.$(".basket-msg").removeClass("hidden")}this.renderFundraiserSelectors()}else this.showDonationsNotOpened()},onShow:function(){$(".leader-message").removeClass("hidden"),$(".international-message").removeClass("hidden"),$(".multigive-bottom-message").removeClass("hidden")},renderDonation:function(e){if(!e.get("tip_the_host")){var t=new app.MultigiveDonationItemView({model:e});this.$(".donation-items").append(t.render().$el)}},renderFreeAgent:function(){app.storage.get("freeAgentId")&&app.dog.p2ps_enabled&&new app.MultigiveFundraiserView({model:new app.UserCampaign({id:app.storage.get("freeAgentId")})})},renderFundraiserSelectors:function(){(app.dog.business_fundraisers_enabled||app.dog.faf_enabled&&!app.dog.p2ps_enabled)&&new app.MultigiveBusFundFafView({busFunds:this.wizard.busFunds,freeAgents:this.wizard.freeAgentFundraisers,model:this.model}).render()},requiresFallbackMsg:function(e){return app.custom("fallback_message_required")&&!e.get("fallback_message")&&e.isForFallback()},showErrors:function(){this.wizard.scrollToTop(),this.error(this.errorText())},showDonationsNotOpened:function(){this.wizard.$el.html(app.template("multigive/donations_not_opened"))},showSearch:function(){this.$(".add-donation").addClass("hidden"),this.$(".search-form").removeClass("hidden")},toggleGiftBasketFull:function(){this.donations.length>=app.multigiveLimit?(this.$(".add-donation").prop("disabled",!0),this.$(".add-donation").css("pointer-events","none"),this.$(".giftbasket-full-msg").popover("enable")):(this.$(".add-donation").prop("disabled",!1),this.$(".add-donation").css("pointer-events","auto"),this.$(".giftbasket-full-msg").popover("disable"))},validate:function(){var e=!0;if(this.$(".errors").addClass("hidden"),this.$("input, select, textarea").removeClass("is-invalid").removeAttr("aria-invalid").next(".invalid").addClass("hidden"),!this.donations.size())return!1;if(!app.custom("allow_multiple_gifts_to_group")&&this.model.duplicateDonations())return!1;var t=this;return this.donations.each((function(n){var a=n.get("amount");app.utils.validAmount(a)||(n.trigger("invalidAmount"),e=!1),n.get("is_dedicated")&&!_.trim(n.get("dedication_name"))&&(n.trigger("invalidDedicationName"),e=!1),n.get("recurring")&&!t.validateRecurring(n)&&(e=!1),t.requiresFallbackMsg(n)&&(n.trigger("emptyFallbackMsg"),e=!1)})),this.model.set("hasRecurring",_.some(this.donations.models,(function(e){return!0===e.get("recurring")}))),e},validateRecurring:function(e){var t=!0,n=e.get("amount"),a=e.get("recurring_end_type"),l=e.get("recurring_max_amount");return"date"!==a||e.get("recurring_end_date")?"amount"===a&&(isNaN(l)||l<=n)&&(e.trigger("invalidMaxAmount"),t=!1):(e.trigger("invalidEndDate"),t=!1),t}}),app.MultigivePaymentStep=app.WizardStepView.extend({el:".multigive-payment-step",template:"multigive/payment",events:{"click .add-middle-name":"showMiddleName","click #login-btn":"openLoginModal","input span":"validate","input input":"validate","change select":"validate","change #card-element":"validate"},onInitialize:function(e){this.mailingAddressView=new app.AddressView({model:this.model}),app.customizations.donor_middle_name&&this.bindInput("#middle-name","middle_name"),app.customizations.saved_payment_methods&&(this.paymentSourcesView=new app.PaymentSourcesView({parentView:this,model:this.model})),this.bindInput("#payment-method","payment_method"),this.bindInput("#prefix","prefix"),this.listenTo(this,"advance",this.userNeedsPassword),this.listenTo(this.model,"change:hasRecurring",this.renderPaymentOptions),this.listenTo(this.model,"change:total_donation",this.renderPaymentOptions),this.listenTo(this.model,"change:total_donation",this.validate),this.listenTo(this.model,"change:payment_method",this.updatePaymentMethod),this.listenTo(this.model,"change:stripe_payment_request_enabled",this.renderPaymentOptions);var t=this;this.stripe=e.stripe,this.stripe.paymentRequest.canMakePayment().then((function(e){t.model.set("stripe_payment_request_enabled",!!e),_.includes(app.paymentMethods,"stripe_payment_request")&&e&&(t.model.set("payment_method","stripe_payment_request"),t.model.set("stripe_options",e),t.renderPaymentOptions())}))},errorText:function(){return"Please enter valid information for the highlighted fields."},invalidFields:function(){var e=[],t=this.model.get("payment_method");app.customizations.donor_prefix&&(this.model.get("prefix")||e.push("#prefix")),this.model.get("first_name")||e.push("#first-name"),this.model.get("last_name")||e.push("#last-name");var n=this.model.get("donor_email");return app.emailRegex.test(n)||e.push("#donor-email"),app.customizations.invalid_email_regex&&new RegExp(app.customizations.invalid_email_regex.join("|")).test(n)&&e.push("#donor-email"),["stripe_payment_request","paypal","venmo"].includes(t)||(e=_.concat(e,this.wizard.paymentViews[t].invalidFields())),e=_.concat(e,this.mailingAddressView.invalidFields())},lockEmail:function(){$("#donor-email").val(this.model.get("donor_email")).prop("disabled",!0)},onRender:function(){_.values(this.wizard.paymentViews).forEach((function(e){e.render()})),app.customizations.saved_payment_methods&&this.paymentSourcesView.setElement(this.$(".payment-methods")).render(),new Vue({el:".donor-email-field"}),this.model.get("logged_in")&&this.lockEmail(),this.updatePaymentMethod(),this.mailingAddressView.setElement(this.$(".mailing-address-container")).bindEvents().render(),app.customizations.address_autocomplete_enabled&&this.mailingAddressView.initAutocomplete()},onShow:function(){this.$("[rel=popover]").popover(),$(".leader-message").addClass("hidden"),$(".international-message").addClass("hidden"),$(".multigive-bottom-message").addClass("hidden");var e=this.model.get("total_donation");e<app.plaidMinimumAmount&&this.model.paymentMethodIs("plaid")&&this.model.set("payment_method","credit_card");var t=app.template("multigive/total",{total:e});this.$(".total-intended-amount").text(t),this.model.fetchFees()},openLoginModal:function(){this.loginModal=new app.LoginView({model:this.model}).render()},renderPaymentOptions:function(){var e=app.paymentMethodOptions(this.wizard);e.length>1?(this.$(".payment-options").html(app.template("multigive/payment_tiles",{data:e})),this.$("#payment-method input[name='paymentMethod']").val([this.model.get("payment_method")])):this.$(".payment-options").empty()},showErrors:function(){this.wizard.scrollToTop(),this.error(this.errorText());var e=this,t=this.invalidFields();_.each(t,(function(t){e.$(t).addClass("is-invalid").attr("aria-invalid","true").next(".invalid").removeClass("hidden")}))},showMiddleName:function(){this.$(".add-middle-name").addClass("hidden"),this.$(".middle-name-row").removeClass("hidden")},updateModel:function(){var e=this.model.get("payment_method");["stripe_payment_request","paypal","venmo"].includes(e)||this.wizard.paymentViews[e].updateModel(),this.model.set({donor_email:this.$("#donor-email").val().trim(),confirm_email:this.$("#confirm-email").val(),first_name:this.$("#first-name").val(),last_name:this.$("#last-name").val()})},updatePaymentMethod:function(){this.$("#payment-form-fields").removeClass("hidden"),this.$(".payment-method").addClass("hidden"),this.$(".payment-method."+this.model.get("payment_method")).removeClass("hidden"),this.model.canSkipPaymentStep()&&this.$("#payment-form-fields").addClass("hidden")},userNeedsPassword:function(){if(!this.model.canSkipPaymentStep()){var e=this;this.model.userModel.findByEmail(this.model.get("donor_email")).then((function(t){e.model.set("ask_for_password",!t.user_exists)}))}},hideErrors:function(e){this.$(e.target).removeClass("is-invalid").removeAttr("aria-invalid").next(".invalid").addClass("hidden")},validate:function(e){if(this.model.canSkipPaymentStep())return!0;e&&this.hideErrors(e),this.updateModel();var t=_.concat(this.invalidFields(),this.mailingAddressView.invalidFields());return t.length<=0&&this.$(".errors").addClass("hidden"),0===t.length}}),app.WizardView=app.CoreView.extend({initialize:function(e){this.currentStepIndex=0,this.hasRendered=!1,this.onInitialize(e),this.initializeSteps()},changeStep:function(e){this.currentStep().hide(),this.currentStepIndex+=e,this.render()},currentStep:function(){return this.steps[this.currentStepIndex]},initializeSteps:function(){this.steps=this.stepArray();var e=this;_.each(this.steps,(function(t){t.wizard=e,e.$el.append(t.render().$el),t.onRender()}))},onInitialize:function(){},render:function(){var e=this.currentStep();return e.$el.removeClass("hidden"),e.onShow(),this.hasRendered&&this.scrollToTop(),this.hasRendered=!0,this},scrollToTop:function(){$("body, html").animate({scrollTop:0})}}),app.MultigiveWizardView=app.WizardView.extend({el:".multigive-wrapper",onInitialize:function(e){this.busFunds=e.busFunds,this.causes=e.causes,this.fallbackCampaigns=e.fallbackCampaigns,this.freeAgentFundraisers=e.freeAgents,this.initStripeElements(),this.paymentViews={credit_card:new app.StripeCreditCardView({model:this.model,stripe:this.stripe}),daf:new app.DafView({model:this.model}),e_card:new app.ECardView({model:this.model,eCard:new app.ECard}),plaid:new app.PlaidView({model:this.model})},this.surveyView=new app.SurveyView({model:this.model,survey:e.survey}),this.initTipTheHost(e.tipTheHostCampaign)},initPaypal(){window.paypal&&(app.paymentMethods.includes("paypal")&&(this.paypalBtn=app.createPaypalButton(paypal.FUNDING.PAYPAL,this.steps[2])),app.paymentMethods.includes("venmo")&&(this.venmoBtn=app.createPaypalButton(paypal.FUNDING.VENMO,this.steps[2])))},initStripeElements:function(){var e=new Stripe(app.stripeApiKey),t=e.elements(),n=e.paymentRequest({country:"US",currency:app.customizations.currency,requestPayerEmail:!0,requestPayerName:!0,requestPayerPhone:!0,total:{label:app.dog.title,amount:this.model.totalCharge()||0}}),a=t.create("paymentRequestButton",{paymentRequest:n});this.stripe={client:e,elements:t,paymentRequest:n,prButton:a}},initTipTheHost:function(e){var t=e?new app.Campaign(e,{parse:!0}):new app.Campaign;this.tthView=new app.TipTheHostDonationView({model:t,wizard:this})},stepArray:function(){var e={model:this.model,stripe:this.stripe,fallbackCampaigns:this.fallbackCampaigns};return[new app.MultigiveInfoStep(e),new app.MultigivePaymentStep(e),new app.MultigiveConfirmStep(e)]}}),app.PaymentSourcesView=app.CoreView.extend({events:{"click #clear-selection":"resetPaymentSource","change .check-source":"usePaymentSource"},initialize:function(e){this.paymentSources=new app.PaymentSources,this.parentView=e.parentView,this.listenTo(this.model,"loggedIn",this.getUserInfo),this.listenTo(this.paymentSources,"sync",this.setPaymentSources)},getPaymentSources:function(){this.$(".processing-methods").html(app.template("multigive/single_txn_processing")),this.paymentSources.fetch({data:{jwt_token:this.model.get("jwt_token")}})},getUserInfo:function(){this.model.get("sources")&&this.resetPaymentSource(),this.model.userModel.fetch({data:{jwt_token:this.model.get("jwt_token"),with:"address,phone"}}).then(this.setUser.bind(this))},populateFields:function(){var e=this.model.get("user");this.model.set({donor_email:e.email,first_name:e.first_name,last_name:e.last_name,mailing_address_line_1:e.address.address1,mailing_address_city:e.address.city,mailing_address_state:e.address.state,mailing_address_postal_code:e.address.postal_code,mailing_address_country:e.address.country,phone:e.phone}),this.parentView.render().onRender(),this.parentView.lockEmail()},render:function(){this.$el.html(app.template("multigive/payment_sources",this.model.toJSON()))},resetPaymentSource:function(){this.model.unset("source_for_payment"),this.model.set("payment_method",app.paymentMethods[0]),this.parentView.wizard.paymentViews.credit_card.cardElement.mount("#card-element"),$("#credit-card-fields").removeClass("hidden"),$(".sources-section").addClass("hidden"),this.parentView.renderPaymentOptions()},setPaymentSources:function(){var e=this.paymentSources.toJSON();this.model.set("sources",e),e.length>0&&(this.parentView.wizard.paymentViews.credit_card.cardElement.unmount(),$("#credit-card-fields").addClass("hidden")),this.render()},setUser:function(e){this.model.set("user",e.user),this.populateFields(),this.getPaymentSources()},usePaymentSource:function(e){var t=_.find(this.model.get("sources"),["id",e.currentTarget.id]),n={card:"credit_card",bank_account:"plaid"}[t.object];this.model.set({source_for_payment:t,payment_method:n}),this.model.trigger("change:payment_method")}}),app.SuggestedOrgsView=app.CollectionView.extend({el:".suggested-orgs-container",template:"groups/suggested_orgs",title:"Here are some participating "+app.dogBreed.org_label_set.plural+"!",initCollection:function(){this.collection=new app.Campaigns,this.on("pageChange",this.scrollToTop)},scrollToTop:function(){var e=$(".org-search").position();$("html, body").animate({scrollTop:e.top-70})},templateData:function(){return{results:this.collection.toJSON(),title:this.title}}}),app.AllOrgsView=app.SuggestedOrgsView.extend({title:"",loadCollection:function(){return this.collection.loadAll()}}),app.CampaignBoxesView=app.CoreView.extend({el:".campaign-boxes-container",initialize:function(e){e.campaigns_count=e.campaigns_count||10,e.pinned_campaign_ids=e.pinned_campaign_ids||[],this.settings=e,this.withParam=this.settings.show_stats?"dog_url,stats":"dog_url",this.pinnedCampaigns=new app.Campaigns,this.unpinnedCampaigns=new app.Campaigns},loadCampaigns:function(){this.settings.pinned_campaign_ids.length>0?this.loadPinnedCampaigns().done(function(){var e=this.settings.campaigns_count-this.pinnedCampaigns.length;e>0?this.loadUnpinnedCampaigns(e).done(this.render.bind(this)):this.render()}.bind(this)):this.loadUnpinnedCampaigns(this.settings.campaigns_count).done(this.render.bind(this))},loadPinnedCampaigns:function(){return this.pinnedCampaigns.search({ids:this.settings.pinned_campaign_ids,per_page:this.settings.campaigns_count,sort_column:"strict",sort_direction:"asc",with:this.withParam})},loadUnpinnedCampaigns:function(e){return this.unpinnedCampaigns.search({dog_campaign:!0,exclusion_ids:this.settings.pinned_campaign_ids,per_page:e,random:"random"===this.settings.ordering,sort_column:"alpha",sort_direction:"asc",with:this.withParam})},render:function(){var e=this.pinnedCampaigns.toJSON().concat(this.unpinnedCampaigns.toJSON());return this.$el.html(app.template("campaigns/boxes",{campaigns:e,settings:this.settings})),this}}),app.HighlightedCampaignsView=app.CollectionView.extend({el:".highlighted-campaigns-container",template:"highlighted_campaigns/highlighted_campaigns",collectionName:"highlightedCampaigns",params:{dog_id:app.dog.id,highlighted:!0,with:"dog_url,story_image_url"},initCollection:function(e){this.params.per_page=e.per_page,this.collection=new app.Campaigns}}),app.HighlightedCampaignsLandingView=app.HighlightedCampaignsView.extend({render:function(){if(this.collection.meta.total>0){var e=app.template("highlighted_campaigns/highlighted_campaigns",{highlightedCampaigns:this.collection.toJSON(),viewMoreCampaigns:this.collection.meta.total>this.params.per_page});$(".highlighted-campaigns-container").html(e)}}}),app.LandingRandomOrgsView=app.CollectionView.extend({collectionName:"campaigns",events:{"click .random-org-nav":"slide"},isMoving:!1,initCollection:function(e){this.template=e.tmpl,this.collection=new app.Campaigns,this.per_page=e.per_page},loadCollection:function(){return this.collection.random({require_logo:!0,per_page:this.per_page})},slide:function(e){e.preventDefault();var t=this;if(!t.isMoving){var n=e.currentTarget.id,a=$(".random-orgs .flex.logos").css("left");a=parseInt(a.slice(0,a.length-2));var l=$(".random-orgs .flex-item").css("width");l=parseInt(l.slice(0,l.length-2));var o=$(".overflow-hidden").width(),i=$(".participate-random-orgs .flex-item").length,r=Math.round(o/l);"slide-right"===n?this.slideRight(t,a,l,i,r):this.slideLeft(t,a,l)}},slideLeft:function(e,t,n){t<0?$(".random-orgs .flex.logos").animate({left:t+n},{duration:200,start:function(){e.isMoving=!0},done:function(){e.isMoving=!1}}):this.shake("left")},slideRight:function(e,t,n,a,l){t>-n*(a-l)?$(".random-orgs .flex.logos").animate({left:t-n},{duration:200,start:function(){e.isMoving=!0},done:function(){e.isMoving=!1}}):this.shake("right")},shake:function(e){$(".random-orgs .flex.logos").addClass("shake-"+e),setTimeout((function(){$(".random-orgs .flex.logos").removeClass("shake-"+e)}),200)}}),app.PresetOrgsView=app.SuggestedOrgsView.extend({loadCollection:function(){if(app.custom("search_result_placeholder").campaigns.length>0){var e={per_page:app.custom("search_result_placeholder").campaigns.length,ids:app.custom("search_result_placeholder").campaigns,sort_column:app.custom("search_result_placeholder").sort_order,sort_direction:"asc"};return this.collection.search(e)}this.collection.trigger("sync")}}),app.RandomOrgsView=app.SuggestedOrgsView.extend({loadCollection:function(){return this.collection.random()}}),app.FallbacksView=app.CoreView.extend({el:"#fallback-results",events:{"change .fallback-select":"showDonateBtn","click .donate-fallback":"donateToFallback"},initialize:function(e){this.fallBacks=e.fallbacks,this.temp=1==this.fallBacks.length?"campaigns/single_fallback":"campaigns/fallbacks",this.render()},render:function(){var e=1==this.fallBacks.length?new app.Campaign(this.fallBacks[0],{parse:!0}).toJSON():this.fallBacks;this.$el.html(app.template(this.temp,{fallBacks:e}))},donateToFallback:function(e){e.preventDefault();var t=this.$(".fallback-select").val();window.location="/donate?campaign_id="+t},showDonateBtn:function(){this.$(".donate-fallback").removeClass("hidden")}}),app.LocationSearchView=app.CoreView.extend({el:"#search-orgs-form",events:{"keyup #location":"geocode"},initialize:function(){this.listenTo(this.model,"change:location",this.geocode),_.bindAll(this,"setLatLng"),this.geocoder=new google.maps.Geocoder},geocode:_.debounce((function(){var e=this.$("#location").val();this.model.set("location",e),e?(app.dogBreed.search_region&&(e+=", "+app.dogBreed.search_region),this.geocoder.geocode({address:e},this.setLatLng)):this.model.set({lat:"",lng:""})}),1e3),setLatLng:function(e,t){if(t===google.maps.GeocoderStatus.OK){var n=e[0].geometry.location;this.model.set({lat:n.lat(),lng:n.lng()})}}}),app.ResultsView=app.CoreView.extend({el:"#np-results",initialize:function(e){this.fallBackCampaigns=e.fallbacks,this.listenTo(this.collection,"request",this.showSpinner),this.listenTo(this.collection,"sync",this.render),this.on("pageChange",this.scrollToTop),this.template=e.tmpl,app.usePagination(this,"loadOrgs")},lastPage:function(){var e=this.collection.meta,t=this.collection.page;return e.pages<t||e.pages===t},loadOrgs:function(){return this.collection.search()},render:function(){$(".empty-results").removeClass("hidden");var e=this.collection;e.size()&&$(".empty-results").addClass("hidden"),this.$el.html(this.tmpl({results:e.toJSON()})),this.shouldRenderFallbacks()&&new app.FallbacksView({fallbacks:this.fallBackCampaigns})},scrollToTop:function(){var e=$(".org-search").position();$("html, body").animate({scrollTop:e.top-70})},shouldRenderFallbacks:function(){return app.dog.fallback_enabled&&this.fallBackCampaigns&&this.collection instanceof app.Campaigns&&this.lastPage()},showSpinner:function(){this.$el.html(this.tmpl("groups/searching"))}}),app.SearchView=app.CoreView.extend({el:"#search-orgs-form",validParams:["alpha_dog_search","dog_cause_id","filter_opps","group_id","lat","lng","location","page","per_page","query","scoped_dog_id","show_all","tag_id"],events:{"change #scoped_dog_id":"toggleSearchableDog","change #dog_custom_field_filter":"toggleCustomFieldFilter","click #p2p-search":"searchP2ps",submit:"search"},initialize:function(){if(_.bindAll(this,"setAttrsFromUrl"),app.custom("search")&&app.custom("search").parameters){this.customParams=_.keys(app.custom("search").parameters),this.validParams=_.concat(this.validParams,this.customParams);var e=this;_.forEach(this.customParams,(function(t){var n="#"+t;e.bindInput(n,t)}))}this.bindInput("#dog_cause_id","dog_cause_id"),this.bindInput("#query","query"),this.bindInput("#scoped_dog_id","scoped_dog_id"),this.bindInput("#tag_id","tag_id"),this.bindCheckbox("#vol_opps_chkbx","filter_opps"),$("#scoped_dog_id").val(app.utils.getUrlParam("scoped_dog_id")),this.setAlphaSearch(app.utils.getUrlParam("scoped_dog_id")),app.router.on("route:showResults",this.setAttrsFromUrl),this.listenTo(this.model,"change:query",this.updateSearchInput),this.listenTo(this.model,"change:lat",this.search)},updateSearchInput:function(e,t){this.$("#query").val(t)},reset:function(){$("#np-results").empty(),$(".empty-results").removeClass("hidden")},search:function(){if(document.activeElement.blur(),this.model.isValid()){var e=_.pick(this.model.toJSON(),this.validParams);this.model.changedAttributes().page||(e.page=1),this.collection.page=e.page,app.router.navigate(location.pathname+"?"+$.param(e)),this.model.unset("show_all"),this.setDogCauseSortAlpha();var t=this.model.toJSON();app.custom("search")&&"survey_question"===app.custom("search").type&&(t.survey_choice_ids=_.values(_.pick(t,this.customParams))),this.collection.search(t)}else this.reset();if(app.utils.getUrlParam("show_all")){t=window.location.search.substring(1).replace("&show_all=true","");window.history.pushState({},document.title,window.location.pathname+"?"+t)}return!1},setDogCauseSortAlpha:function(){
this.model.hasDoGCauseIdEdcg()&&(this.collection.searchParams.sort_column="group_name")},searchP2ps:function(){window.location.href="/fundraisers?search_term="+this.model.get("query")},setAlphaSearch:function(e){app.dog.id===app.dog.alpha_dog_id&&(this.collection.searchParams.alpha_dog_search=!e,this.collection.searchParams.dog_id=e||app.dog.id)},setAttrsFromUrl:function(e){var t={};e=e||"",_.forEach(e.split("&"),(function(e){var n=e.split("=");t[n[0]]=decodeURIComponent(n[1]).replace("+"," ")})),this.collection.page=t.page,this.model.set(_.pick(t,this.validParams)),t.show_all||this.search()},toggleCustomFieldFilter:function(e){var t=$(e.currentTarget).prop("checked");this.model.set({dog_custom_field_id:t?app.custom("search").boolean_custom_field_id:null,custom_prop_value:!!t||null})},toggleSearchableDog:function(e){this.setAlphaSearch($(e.currentTarget).val()),this.search()}}),app.PrizesView=app.CoreView.extend({initialize:function(){this.collection=new app.Prizes,this.listenTo(this.collection,"sync",this.render),_.bindAll(this,"render")},loadPrizes:function(){var e={dog_id:app.dog.id,sort_column:"highlight",sort_direction:"desc",with:"winners"};this.collection.fetch({data:e})},render:function(){this.collection.each((function(e,t){t%2==0&&$("#prizes-list").append("<div class='w-100 d-none d-md-block'/>"),$("#prizes-list").append(new app.PrizeView({model:e}).render().$el)})),$(".search-loader").remove()}}),app.PrizesLandingView=app.PrizesView.extend({loadPrizes:function(){this.collection.fetch({data:{dog_id:app.dog.id,highlighted:!0}})},render:function(){var e=app.template("prizes/highlighted_prizes",{highlighted_prizes:this.collection.toJSON()});$("#highlighted-prizes").html(e)}}),app.CurrentChallengesLandingView=app.PrizesLandingView.extend({render:function(){var e=this.collection.toJSON();e=_.each(e,(function(e){if(e.start_time=parseInt(e.sponsor_name),e.start_meridiem=e.sponsor_link.trim().toLowerCase(),e.end_time=e.start_time+1,e.end_time>12&&(e.end_time=e.end_time-12),12===e.end_time){var t=e.start_meridiem;e.end_meridiem=t.indexOf("a")>-1?t.replace("a","p"):t.replace("p","a")}else e.end_meridiem=e.start_meridiem}));var t=app.template("prizes/current_challenges",{highlighted_prizes:e});$("#challenge-central").html(t)}}),app.PrizeView=app.CoreView.extend({tagName:"section",className:function(){return this.model.get("highlight")?"highlighted gg-branding-lead-border prize card":"prize card"},initialize:function(){_.bindAll(this,"render")},render:function(){return this.model.set("has_image",!this.model.get("image_url").match(/fallback/)),this.$el.html(app.template("prizes/listing",this.model.toJSON())),this}}),app.SponsorsView=app.CollectionView.extend({el:".sponsors-container",template:"sponsors/list",collectionName:"groupedSponsors",params:{dog_id:app.dog.id},initCollection:function(e){this.collection=new app.Sponsors(e)}}),app.DogStatsView=app.CoreView.extend({initialize:function(){this.model=new app.DogStats,this.listenTo(app.eventDispatcher,"pusher:donation-created",this.rollStats),this.listenTo(app.eventDispatcher,"pusher:stats-updated",this.updateStats),this.listenTo(this.model,"sync change",this.render),this.model.fetch(),this.confettiIntervalEnabled=!_.isEmpty(app.custom("confetti_celebration_settings"))},render:function(){var e=_.pick(this.stats(),app.custom("displayed_stats").overall);return this.$el.each((function(){$(this).find(".num_donors").html(e.total_donors_count),$(this).find(".num_donations").html(e.total_donations_count),$(this).find(".raised").html(e.total_amount_raised),$(this).find(".p2p_dollars_raised").html(e.fundraiser_total_amount_raised),$(this).find(".p2p_num_donors").html(e.fundraiser_total_donors_count),$(this).find(".num_receiving_orgs").html(e.num_receiving_orgs)})),this.confettiIntervalEnabled&&app.confetti.checkMilestones(e),this},updateStats:function(e){this.model.set(_.pick(e,app.custom("displayed_stats").overall))},rollStats:function(e){this.model.set({total_amount_raised:this.model.get("total_amount_raised")+e.intended_amount,total_donations_count:this.model.get("total_donations_count")+1})},stats:function(){return{total_amount_raised:app.dog.frozen_stats.total_amount_raised||(parseFloat(this.model.get("total_amount_raised"))/100).toFixed(),total_donations_count:app.dog.frozen_stats.total_donations_count||this.model.get("total_donations_count"),total_donors_count:app.dog.frozen_stats.total_donors_count||this.model.get("total_donors_count"),num_receiving_orgs:app.dog.frozen_stats.num_receiving_orgs||this.model.get("num_receiving_orgs"),fundraiser_total_amount_raised:app.dog.frozen_stats.fundraiser_total_amount_raised||(parseFloat(this.model.get("fundraiser_total_amount_raised"))/100).toFixed(),fundraiser_total_donors_count:app.dog.frozen_stats.fundraiser_total_donors_count||this.model.get("fundraiser_total_donors_count")}}}),app.ThermometerView=app.CoreView.extend({initialize:function(){this.model=new app.DogStats,this.settings=app.custom("thermometer_stats_settings"),this.listenTo(this.model,"sync change",this.render),this.listenTo(app.eventDispatcher,"pusher:donation-created",this.rollStats),this.listenTo(app.eventDispatcher,"pusher:stats-updated",this.updateStats),this.model.fetch()},render:function(){_.forEach(app.dog.frozen_stats,(function(e,t){_.isEmpty(app.dog.frozen_stats[t])&&delete app.dog.frozen_stats[t]}));var e=_.assign(this.model.toJSON(),app.dog.frozen_stats)[this.settings.type];"total_amount_raised"===this.settings.type&&(app.dog.frozen_stats.total_amount_raised||(e/=100),e=Math.round(e));var t=Math.round(100*e/this.settings.goal),n=Math.min(t,100);return this.$el.each((function(){$(this).find(".thermometer-value").html(e),$(this).find(".thermometer-percentage").css({width:n+"%"}),$(this).find(".thermometer-progress-percentage").html(t),t>100&&$(this).find(".thermometer").addClass("thermometer-crashed")})),this},updateStats:function(e){var t=["num_receiving_orgs","total_amount_raised","total_donations_count","total_donors_count"];this.model.set(_.pick(e,t))},rollStats:function(e){this.model.set({total_amount_raised:this.model.get("total_amount_raised")+e.intended_amount})}}),app.SurveyView=Backbone.View.extend({events:{"change select":"setQuestionAnswer","change input.form-check-input":"setCheckQuestions","change .text-question":"setQuestionAnswer"},initialize:function(e){e.survey&&(this.questions=e.survey.ordered_questions,this.manyResponseHash={},this.hiddenQuestions=[],this.requiredQuestions=[],this.initQuestionTypes())},initQuestionTypes:function(){this.questions.forEach((function(e){e.visible_if.length&&(e.hidden=!0,this.hiddenQuestions.push(e)),e.required&&this.requiredQuestions.push(e),e.many_response&&this.model.set("question_"+e.id,[])}),this)},render:function(){if(this.questions){var e=app.customizations.survey_partial?"custom/survey/"+app.dogBreed.name:"surveys/survey";return this.$el.html(app.template(e,{questions:this.questions})),this.selectCurrentAnswers(),this.afterRender(),this}},afterRender:function(){app.customizations.survey_partial&&this.setCheckQuestions({currentTarget:"input.custom-survey-question"})},currentAnswers:function(){var e={};return this.questions.forEach((function(t){e["question_"+t.id]=this.model.get("question_"+t.id)}),this),e},currentChoice:function(e){var t=e.currentTarget.value;return _.isNaN(parseInt(t))?t:parseInt(t)},currentQuestion:function(e){return $(e.currentTarget).closest(".form-group").data("id")},formGroup:function(e){return this.$(".form-group[data-id="+e+"]")},hideQuestion:function(e){this.model.unset("question_"+e.id);var t=e.many_response?[]:"";this.updateFormFields(e,t),this.formGroup(e.id).addClass("hidden").removeAttr("role","alert"),e.hidden=!0},updateFormFields:function(e,t){var n=this.formGroup(e.id);e.single_response?n.find("select").val(t):e.many_response?e.choices.forEach((function(e){var a=_.includes(t,e.id);n.find(":checkbox[value="+e.id+"]").prop("checked",a)})):n.find(".text-question").val(t)},saveAnswers:function(e){if(this.questions){var t={answers:this.currentAnswers(),dog_id:app.dogBreed.donations_dog_id,donation_ids:e,user_id:this.model.get("user_id")};$.post(app.ggApiUrl+"v1/day_of_giving/survey_response",t,null,"json")}},selectCurrentAnswers:function(){this.questions.forEach((function(e){var t=this.model.get("question_"+e.id);t&&this.updateFormFields(e,t)}),this),this.toggleVisibility()},setCheckQuestions:function(e){var t=$(e.currentTarget).closest(".form-group").find("input[type=checkbox]:checked").map((function(){return parseInt(this.value)})).get();this.model.set("question_"+this.currentQuestion(e),t),this.toggleVisibility()},setQuestionAnswer:function(e){this.model.set("question_"+this.currentQuestion(e),this.currentChoice(e)),this.toggleVisibility()},showQuestion:function(e){this.formGroup(e.id).removeClass("hidden").attr("role","alert"),e.hidden=!1},toggleVisibility:function(){var e=_.compact(_.flattenDeep(_.values(this.currentAnswers())));this.hiddenQuestions.forEach((function(t){_.intersection(t.visible_if,e).length?this.showQuestion(t):this.hideQuestion(t)}),this)},validate:function(){if(!this.questions)return!0;$("label").removeClass("text-danger");var e=!0;return this.requiredQuestions.forEach((function(t){if(!t.hidden){var n=this.model.get("question_"+t.id);(!n||_.isArray(n)&&_.isEmpty(n))&&(this.formGroup(t.id).find("label").first().addClass("text-danger"),e=!1)}}),this),e}}),app.CreateFundraiserView=app.CoreView.extend({events:{"submit form":"validateFormData","hidden.bs.modal":"onModalClose","shown.bs.modal":"focusInput"},initialize:function(e){_.bindAll(this,"createFundraiser","findOrRegisterUser","login","onError","onSuccess"),this.logo_url=app.custom("profile_logo_override")||e.logo_url,this.title=e.title,this.allow_campaign_selection=e.allow_campaign_selection;var t=e.dog_id?{dog_id:e.dog_id}:{campaign_id:e.campaign_id};this.model=new app.UserCampaign(t),this.userModel=new app.User,this.setElement(app.template("shared/empty_modal"))},validateFormData:function(e){e.preventDefault(),this.campaignSelected()&&this.checkUsersExistence()},checkUsersExistence:function(){this.$("input[type=submit]").prop("disabled",!0),this.$(".errors").addClass("hidden"),this.userModel.findByEmail(this.$("#email").val()).then(this.findOrRegisterUser,this.onError)},campaignSelected:function(){return!!app.dog.faf_enabled||(!!this.model.attributes.campaign_id||(this.error(`Please select ${app.dogBreed.org_label_set.article} ${app.dogBreed.org_label_set.singular}`),this.$("input[type=submit]").prop("disabled",!1),!1))},createFundraiser:function(e){var t={fundraiser_title:this.$("#fundraiser_title").val(),jwt_token:e.jwt_token,user_id:e.user_id,with:"campaign,dog,group"};this.model.save(t).then(this.onSuccess,this.onError)},findOrRegisterUser:function(e){e.user_exists?this.login():app.utils.validPassword(this)?this.userModel.create(this.formData()).then(this.login,this.onError):this.$("input[type=submit]").prop("disabled",!1)},focusInput:function(){this.$("input").first().focus()},formData:function(){return _.assign(this.$("form").serializeObject(),{password_confirmation:this.$("#password-prompt").val()})},login:function(){var e={email:this.$("#email").val(),password:this.$("#password-prompt").val()};$.post(app.ggApiUrl+"v1/login",e,null,"json").then(this.createFundraiser,this.onError)},onError:function(e){this.$("input[type=submit]").prop("disabled",!1);var t=_.get(e,"responseJSON.errors","Sorry, an error occurred. Please try again later."),n="www.givegab.com/users/sign_up";t.includes(n)&&(t=t.replace(n,"<a href='https://"+n+"' target='_blank'>"+n+"</a>")),this.error(t)},onModalClose:function(){this.remove(),$(".create-fundraiser").first().focus()},onSuccess:function(){window.location="/p2p/"+this.model.get("id")+"/"+this.model.get("user_slug")+"?created_p2p=true"},render:function(){var e=_.assign(this.model.toJSON(),{logo_url:this.logo_url,title:this.title,allow_campaign_selection:this.allow_campaign_selection});return this.$(".modal-content").html(app.template("user_campaigns/creation_modal",e)),this.$el.modal("show"),this.$el.on("shown.bs.modal",(()=>{this.allow_campaign_selection&&new Vue({el:".campaign-search",data:{userCampaign:this.model}})})),this}}),app.algoliaSearch={created:function(){app.custom("use_algolia_search")&&(this.searchIndex=this.initIndex())},methods:{defaultFilters:function(){var e={"group_dog.visible":!0,searchable:!0};return e[app.dog.id===app.dog.alpha_dog_id?"alpha_dog_id":"dog_id"]=app.dog.id,app.dog.everyday_giving||app.dog.centrally_routed||app.custom("umbrella_search_centrally_routed_orgs")||(e["group_dog.donatable"]=!0),app.dogBreed.support_area_search_enabled||(e.dog_campaign=!0),e},createSubQuery:function(e,t){return e.map(function(e){return this.filterPairToString(e,t)}.bind(this)).join(" AND ")},filterPairToString:function(e,t){return _.isArray(e)?this.createSubQuery(e,t):t+":"+e},initIndex:function(){return algoliasearch(app.algolia.appId,app.algolia.apiKey).initIndex(app.algolia.indexName)},parseCampaign:function(e){return new app.Campaign(e,{parse:!0}).toJSON()}}},app.autoComplete={template:"#autocomplete-search-template",data:()=>({arrowCounter:-1,labelObj:"",loading:!1,open:!1,preloadOptions:!0,results:[],search_term:"",selected:null,showViewAllLink:!1,textAttr:"text"}),computed:{collectionType(){return _.kebabCase(this.labelObj)},formattedOptions(){return this.results},searchLabel(){return`Search for a ${this.labelObj}`}},beforeMount(){this.preloadOptions&&this.loadResults()},mounted(){document.addEventListener("click",this.closeIfClickOutside)},destroyed(){document.removeEventListener("click",this.closeIfClickOutside)},methods:{ajaxSearch:_.debounce((function(){this.open=!0,this.loadResults()}),500),clear(){this.arrowCounter=-1,this.selected=null,this.search_term=""},closeIfClickOutside(e){this.$el.contains(e.target)||(this.open=!1)},onArrowDown(){this.arrowCounter<this.results.length&&(this.arrowCounter=this.arrowCounter+1,this.open=!0)},onArrowUp(){this.arrowCounter>0&&(this.arrowCounter=this.arrowCounter-1)},onEnter(){this.arrowCounter>=0&&this.selectOption(this.formattedOptions[this.arrowCounter],-1)},selectOption(e,t){this.arrowCounter=t,e?(this.search_term=e[this.textAttr],this.selected=e,this.triggerSelectEvent()):this.open=!1},loadResults(){},triggerSelectEvent(){},viewAll(){}}},app.ecardsShared={data:function(){return{}},computed:{eCardsTotal:function(){return _.sumBy(this.ecards,"total_amount")},transactionFees:function(){return _.sumBy(this.ecards,"totalFees")},transactionTotal:function(){return this.eCardsTotal+this.transactionFees}},methods:{invalidClass:function(e){return _.includes(this.errors,e)?"is-invalid":""}}},"undefined"!=typeof Vue&&Vue.mixin({computed:{dog:function(){return app.dog},images:function(){return app.images},statsEnabled:function(){return app.dog.stats_enabled}},methods:{custom:function(e){return app.custom(e)}}}),app.profileDonorWall={props:{businessFundraiserId:Number,campaignId:Number,orgId:Number,perPage:Number,showRecentDonors:Boolean,userCampaignId:Number},data:function(){var e="message,public_name";return app.custom("include_recent_donor_matches")&&(e+=",matched_amount"),{collection:new app.Donations,donations:[],params:{dog_id:app.dog.id,exclude_matches:!0,per_page:this.perPage,campaign_id:this.campaignId,group_id:this.orgId,business_fundraiser_id:this.businessFundraiserId,use_new_search:!0,user_campaign_id:this.userCampaignId,with:e}}},computed:{showSection:function(){return this.donations.length>0}},created:function(){this.showRecentDonors&&this.loadCollection()},methods:{loadCollection:function(){return this.collection.fetch({data:this.params}).done(function(e){this.donations=e.donations}.bind(this))},loadMore:function(){this.params.per_page+=this.perPage,this.loadCollection()}}},app.profileLinks={computed:{sectionLinks:function(){var e=_.filter(this.linkData,"visible");return _.sortBy(e,["ordinal"])}},methods:{setPossibleLinks:function(){var e=[{name:"fundraisers",title:"Top "+_.startCase(app.dogBreed.fundraiser_label_set.plural),visible:!1},{name:"matches",title:this.custom("match_copy").profile_header,visible:!1},{name:"recent-donors",title:"Recent Donors",visible:!1},{name:"recent-donors-double",title:"Recent Donors",visible:!1},{name:"story",title:"Our Story",visible:!1},{name:"support-areas",title:this.custom("support_area_heading"),visible:!1},{name:"support-area-leaderboard",title:"Support Area Leaderboard",visible:!1}],t={"business-profile":this.custom("business_profile_sections"),"org-profile":this.custom("org_profile_sections"),"support-area-profile":this.custom("support_area_profile_sections"),"user-campaign-profile":this.custom("fundraiser_profile_sections")};return _.flatMapDeep(t[this.$options.name],(function(e){return e.rows})).forEach((function(t,n){var a=_.find(e,{name:t});a&&(a.ordinal=n,app.customizations.profile_nav_highlighting&&(a.active=!1))})),e},updateLinks:function(e){var t=e.componentName.replace("profile-","");_.find(this.linkData,{name:t}).visible=e.visible}}},app.customizations.profile_nav_highlighting&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&(app.profileLinks=_.merge(app.profileLinks,{data:function(){return{observer:new IntersectionObserver(this.observerCallback,{rootMargin:"-15% 0px -85% 0px"})}},methods:{observerCallback:function(e){_.each(e,function(e){var t=_.find(this.linkData,{name:e.target.id.replace("profile-","")});t&&(t.active=e.isIntersecting)}.bind(this))},updateLinks:function(e){var t=e.componentName.replace("profile-","");_.find(this.linkData,{name:t}).visible=e.visible,this.observer.observe(document.getElementById(e.componentName))}}})),app.profileSectionToggle={methods:{toggleSectionVisibility:function(e){this.$emit("profile-section-rendered",{componentName:this.$options.name,visible:e})}},watch:{showSection:function(e){this.$nextTick((()=>this.toggleSectionVisibility(e)))}}},app.statsComponentMethods={props:{isPrizeWinner:{type:Boolean},profileType:{type:String,required:!0},statsId:{type:Number,required:!0}},data:function(){return{goal:null,percent_raised:null,total_amount_raised:null,total_donations_count:null,total_donors_count:null,fundraiser_total_amount_raised:null,fundraiser_total_donors_count:null}},computed:{includedStats:function(){var e={group:"organizations",campaign:"support_areas",fundraiser:"p2p_fundraisers"};return app.custom("displayed_stats")[e[this.profileType]].concat(["percent_raised"])},showSection:function(){return app.dog.stats_enabled||this.custom("always_show_profile_stats")},url:function(){var e={business:"v1/business_fundraisers/",campaign:"v1/campaigns/",fundraiser:"v1/user_campaigns/",group:"v1/group_dogs/"};return app.ggStatsApiUrl+e[this.profileType]+this.statsId+"/stats"}},created:function(){this.loadStats()},methods:{loadStats:function(){$.getJSON(this.url,{with:"goal,percent_raised"}).done(this.setStats)},setStats(e){_.assign(this.$data,_.pick(e,this.includedStats))}}},app.stepNavigation={data:function(){return{currentStep:null}},created:function(){this.currentStep=this.steps[0]},computed:{showBack:function(){return 0!==_.indexOf(this.steps,this.currentStep)},showNext:function(){return _.indexOf(this.steps,this.currentStep)+1!==this.steps.length}},methods:{changeStep:function(e){var t=_.indexOf(this.steps,this.currentStep),n=this.$refs.activeComponent[t],a=t+e,l=this.$refs.activeComponent[a];n.submitted=1===e,(-1===e||n.valid())&&(n.active=!1,l.active=!0,this.currentStep=this.steps[a]),$("body, html").animate({scrollTop:0})}}},app.createProfileStore=function(){return new Vuex.Store({state:{onDataTab:!1,org:null},mutations:{setOrg:function(e,t){e.org=t},toggleDataTab:function(e,t){e.onDataTab=t}}})},app.createSearchStore=function(){return new Vuex.Store({state(){const e={},t={},n=app.utils.getUrlParams();let{causeId:a,tag_id:l,dog_cause_id:o,scoped_dog_id:i}=n;a=a||l||o||"";const r=i||"",s={survey_choice_checkboxes:"choice_",survey_choice_filters:"question_",search_custom_fields:"field_"};return Object.entries(s).forEach((([e,a])=>{app.custom(e).forEach((({id:e})=>{const l=`${a}${e}`;t[l]=n[l]||""}))})),app.custom("match_search_filter")&&(t.has_match=!1),app.custom("volunteer_opportunity_filter")&&(t.has_opp=!1),{causeId:a,customFieldSelects:e,customFilters:t,dogScopeId:r}},mutations:{setCauseId:(e,t)=>e.causeId=t,setCustomFieldSelects:(e,t)=>e.customFieldSelects=t,setDogScopeId:(e,t)=>e.dogScopeId=t,updateCustomFilters:(e,t)=>{e.customFilters=Object.assign(e.customFilters,t)}},actions:{fetchCustomFieldSelects:({commit:e})=>$.getJSON(`${app.ggApiUrl}v1/dog_custom_data/search_filters`,{dog_custom_field_ids:app.custom("search_custom_fields").map((e=>e.id))}).done((t=>{e("setCustomFieldSelects",t)}))}})},Vue.component("active-index-match",{template:"#active-index-match-template",props:{match:{type:Object,required:!0}},data:()=>({donationNoun:app.dogBreed.donation_noun}),computed:{progressBarLabel(){return"dollar_match"===this.match.match_type?"match progress":"challenge progress"}},mounted(){this.match.charitable_id&&$("[rel=popover]").popover()}}),Vue.component("algolia-custom-search-filters",{template:"#algolia-custom-search-filters-template",computed:Vuex.mapState(["customFieldSelects","customFilters"]),methods:{unsetFilter(e){const t=!("has_match"===e||"has_opp"===e||e.startsWith("choice_"))&&"";this.updateCustomFilter(e,t)},updateCustomFilter(e,t){this.$store.commit("updateCustomFilters",{[e]:t})}}}),Vue.component("algolia-location-search-input",{template:"#algolia-location-search-input-template",props:{location:Object},created:function(){this.geocoder=new google.maps.Geocoder,this.location.text&&this.geocode()},computed:{locationQuery:function(){return _.compact([this.location.text,app.dogBreed.search_region]).join(", ")}},methods:{geocode:function(){this.geocoder.geocode({address:this.locationQuery},this.setLatLng)},setLatLng:function(e,t){if(t===google.maps.GeocoderStatus.OK){var n=e[0].geometry.location;this.location.latLng=`${n.lat()}, ${n.lng()}`}}},watch:{"location.text":_.debounce((function(){this.location.text?this.geocode():this.location.latLng=null}),500)}}),app.baseSearch={data:function(){return{hasSearched:!1,loading:!1,page:parseInt(app.utils.getUrlParam("page"))||1,pages:1,results:[],search_term:app.utils.getDecodedUrlParam("search_term")||app.utils.getDecodedUrlParam("query")||"",totalResults:0}},created:function(){window.addEventListener("popstate",function(e){_.assign(this.$data,e.state),this.loadResults()}.bind(this))},methods:{clearSearch:function(){this.search_term="",this.search(!0)},goToPage:function(e){this.page=e,this.search(!1)},loadResults:function(){this.loading=!0,this.collection.fetch({data:this.searchParams()}).done(function(){this.loading=!1,this.results=this.collection.toJSON(),this.page=this.collection.meta.page,this.pages=this.collection.meta.pages,this.totalResults=this.collection.meta.total,this.hasSearched=!0,this.scrollToTop()}.bind(this))},scrollToTop:function(){var e=this.$el.offsetTop-100;window.scrollY-e>100&&window.scroll({top:e,behavior:"smooth"})},search:function(e){e&&(this.page=1),this.updateUrlParams(),this.loadResults()},updateUrlParams:function(){var e=_.pick(this.$data,this.filter_params);history.pushState(e,"","?"+$.param(e))}}},Vue.component("algolia-campaign-search",{template:"#algolia-campaign-search-template",mixins:[app.algoliaSearch],extends:app.baseSearch,props:{anySearchFilters:Boolean,causes:Array,dogPackMembers:Array},data:function(){return{filter_params:["causeId","page","search_term"],location:{latLng:null,text:app.utils.getDecodedUrlParam("location")},random:!1,showSuccessMsg:!1,sidebar:window.innerWidth>767&&this.anySearchFilters}},created:function(){this.shouldSearchOnInit?this.loadResults():app.custom("disable_search_suggestions")?this.results=[]:app.custom("search_result_placeholder")?this.loadPlaceholderResults():this.loadRandomOrgs()},mounted(){$(this.$el).find(".arrow").popover({placement:"left",trigger:"hover"}),this.$store.dispatch("fetchCustomFieldSelects")},computed:{activeFilters(){return{causeId:this.causeId,dogScopeId:this.dogScopeId,location:this.location.text}},causeId:{get(){return this.$store.state.causeId},set(e){this.$store.commit("setCauseId",e)}},dogScopeId:{get(){return this.$store.state.dogScopeId||""},set(e){this.$store.commit("setDogScopeId",e)}},displayFallback(){return this.usingFallback&&this.hasSearched&&(this.pages===this.page||0===this.pages)},emptyOnLoad:function(){return app.custom("disable_search_suggestions")&&!this.search_term},filterString:function(){const e=_.pick(this.customFilters,this.validFilterKeys()),t=Object.assign(this.defaultFilters(),e,this.arrayFilterStrings());if(this.causeId){t[app.custom("use_dog_causes")?"dog_cause_ids":"cause_ids"]=this.causeId}return app.dog.id===app.dog.alpha_dog_id&&(this.dogScopeId?t.dog_id=this.dogScopeId:delete t.dog_id),_.map(t,this.filterPairToString).join(" AND ")},hasSelectedFilters(){return this.search_term.length>=3||this.causeId||this.dogScopeId||Object.values(this.customFilters).some((e=>e))},numResultsMessage(){return this.results.length>0?`${this.totalResults} Results`:"No results found, please try searching again"},shouldSearchOnInit:function(){return this.hasSelectedFilters||app.custom("search_view_all_by_default")||"true"===app.utils.getUrlParam("show_all")},showNumResultsMessage(){return this.hasSearched&&!(this.usingFallback&&0===this.totalResults)},showViewAllBtn:function(){return app.custom("search_page_view_all_btn")&&!this.search_term&&"true"!==app.utils.getUrlParam("show_all")},usingFallback:function(){return app.dog.fallback_enabled&&!app.custom("disable_search_page_fallback")},...Vuex.mapState(["customFieldSelects","customFilters"])},methods:{arrayFilterStrings(){const e=[],t=[];Object.entries(this.customFilters).forEach((([n,a])=>{if(!a&&0!==a)return;const[l,o]=n.split("_");"field"===l?e.push(`${o}_${a}`):"question"===l?t.push(a):"choice"===l&&t.push(o)}));const n={};return e.length&&(n.custom_fields=e),t.length&&(n.reg_survey_choice_ids=t),n},flashMessage:function(){this.showSuccessMsg=!0,setTimeout((()=>{this.showSuccessMsg=!1}),8e3)},loadPlaceholderResults:function(){this.random=!1;var e=new app.Campaigns;if(app.custom("search_result_placeholder").campaigns.length>0){var t={per_page:app.custom("search_result_placeholder").campaigns.length,ids:app.custom("search_result_placeholder").campaigns,sort_column:app.custom("search_result_placeholder").sort_order,sort_direction:"asc"};e.search(t).done(function(){this.loading=!1,this.results=e.toJSON()}.bind(this))}},loadRandomOrgs:function(){this.random=!0,this.loading=!0;var e=new app.Campaigns;e.random().done(function(){this.loading=!1,this.results=e.toJSON()}.bind(this))},loadResults:function(){this.random=!1,this.loading=!0,this.searchIndex.search(this.search_term,this.searchParams()).then(this.setAlgoliaResults.bind(this))},setAlgoliaResults:function(e){this.loading=!1,this.results=e.hits.map(this.parseCampaign),this.pages=e.nbPages,this.totalResults=e.nbHits,this.hasSearched=!0,this.scrollToTop()},searchFundraisers:function(){window.location.href="/fundraisers?search_term="+this.search_term},searchParams:function(){var e={attributesToHighlight:[],filters:this.filterString,hitsPerPage:app.dog.tth_search_custom_btn_path?23:24,page:this.page-1};return this.location.latLng&&(e.aroundLatLng=this.location.latLng),e},unsetFilter(e){"causeId"===e?this.causeId="":"location"===e?this.location.text="":"dogScopeId"===e?this.dogScopeId="":this.$refs.customFiltersComponent.unsetFilter(e)},validFilterKeys(){return Object.keys(this.customFilters).filter((e=>!(e.startsWith("field_")||e.startsWith("question_")||e.startsWith("choice_"))&&this.customFilters[e]))}},watch:{filterString:function(){this.search(!0)},"location.latLng":function(){this.search(!0)},search_term:_.debounce((function(){this.search_term.length>=3&&this.search(!0)}),500)}}),Vue.component("algolia-campaign-search-result",{template:"#algolia-campaign-search-result-template",props:{campaign:Object},computed:{showDonateButton:function(){return app.dog.donations_enabled&&(this.campaign.group_dog.donatable||app.dog.centrally_routed||app.custom("umbrella_search_centrally_routed_orgs"))},showGroupName:function(){return app.dogBreed.university&&!this.campaign.dog_campaign}}}),Vue.component("algolia-fallback-result",{template:"#algolia-fallback-result-template",mixins:[app.algoliaSearch],data:function(){return{fallbacks:[],selected:null}},created:function(){this.loadFallbacks()},computed:{filterString:function(){var e={dog_id:app.dog.id,fallback:!0,"group_dog.visible":!0};return app.dog.everyday_giving||app.dog.centrally_routed||(e["group_dog.donatable"]=!0),_.map(e,this.filterPairToString).join(" AND ")}},methods:{loadFallbacks:function(){this.searchIndex.search("",{filters:this.filterString,optionalFilters:["searchable:true"]}).then(function(e){this.fallbacks=e.hits.map(this.parseCampaign)}.bind(this))}}}),Vue.component("bfr-registration-search",{template:"#bfr-registration-search-template",extends:app.baseSearch,data:function(){return{filter_params:["page","search_term"],registerableDogId:app.dogBreed.registerable_dog_id||app.dog.id}},computed:{newBusinessLink:function(){return app.ggWebUrl+"/businesses/new?dog_id="+this.registerableDogId}},created:function(){this.collection=new app.Businesses,this.loadResults()},methods:{debouncedSearch:_.debounce((function(){this.search(!0)}),300),registerLink:function(e){return app.ggWebUrl+"/business_fundraisers/new?business_id="+e.id+"&dog_id="+this.registerableDogId},searchParams:function(){return{dog_breed_id:app.dogBreed.id,excluded_dog_id:this.registerableDogId,page:this.page,search_term:this.search_term}}}}),Vue.component("business-fundraiser-search",{template:"#business-fundraiser-search-template",extends:app.baseSearch,data:function(){return{filter_params:["page","search_term"]}},created:function(){this.collection=new app.BusinessFundraisers,this.loadResults()},methods:{searchParams:function(){return{dog_id:app.dogBreed.donations_dog_id,name_search:this.search_term,page:this.page,sort_column:"name",with:"business,stats"}}}}),Vue.component("business-fundraiser-search-result",{template:"#business-fundraiser-search-result-template",props:["business_fundraiser"],computed:{business:function(){return this.business_fundraiser.business},profile_url:function(){return"/business_fundraisers/"+this.business_fundraiser.id+"/"+this.business.slug}}}),Vue.component("business-profile",{template:"#business-profile-template",mixins:[app.profileLinks],props:{busFund:{type:Object,required:!0}},data(){return{linkData:this.setPossibleLinks(),profileComponents:this.custom("business_profile_sections")}},methods:{sectionProps(e){switch(e){case"business-stats":return{busFund:this.busFund,profileType:"business",statsId:this.busFund.id};case"header":return{busFund:this.busFund,coverPhotoUrl:this.busFund.cover_photo,logo:this.busFund.business.logo_url,profileType:"business"};case"matches":return{ownerId:this.busFund.id,ownerName:this.busFund.business.name,ownerType:"BusinessFundraiser"};case"recent-donors":return{businessFundraiserId:this.busFund.id,showRecentDonors:app.utils.showRecentDonor()};case"section-links":return{sectionLinks:this.sectionLinks};case"story":return{profileType:"business",story:this.busFund.description,video:null};default:return{}}}}}),Vue.component("cart-summary-item",{template:"#cart-summary-item-template",props:{campaign:Object,index:Number},methods:{removeDonation:function(){app.giftBasket.removeItem(this.index)}}}),Vue.component("cart-summary-modal",{template:"#cart-summary-modal-template",data:function(){return{items:[]}},created:function(){this.items=app.giftBasket.items().map((e=>e)),app.eventDispatcher.on("basketUpdated",(e=>{this.items=e}))},methods:{hideModal:function(){$("#cart-modal").collapse("hide")},preventCollapse(e){e.stopPropagation()}}}),Vue.component("donor-feed",{template:"#donor-feed-template",data:()=>({animationDuration:60,donations:[],opacity:1,params:{dog_id:app.dog.id,exclude_matches:!0,per_page:20,with:"public_name"},paused:"true"!==app.storage.get("animation")}),computed:{feedStyle(){return{animationDuration:`${this.animationDuration}s`,opacity:this.opacity}}},created(){this.listenToAnimationPreference(),this.collection=new app.Donations,this.loadDonations(),setInterval(this.refreshDonations,6e4)},methods:{listenToAnimationPreference(){app.eventDispatcher.on("toggle-animation",(e=>this.paused=!e))},loadDonations(){this.collection.fetch({data:this.params}).done((e=>{this.donations=e.donations,this.animationDuration=Math.max(3*this.donations.length,10),this.opacity=1}))},refreshDonations(){this.opacity=0,
setTimeout(this.loadDonations,2e3)}}}),Vue.component("ecards-wizard",{template:"#ecards-wizard-template",mixins:[app.ecardsShared,app.stepNavigation],data:function(){return{cardError:!1,ecards:[],errorMsg:null,purchasing_user_id:null,steps:["ecards-info","ecards-payment","ecards-confirm"],token:null,transactionSuccessful:!1,transactionSubmitted:!1,user_info:{email:null,first_name:null,last_name:null}}},computed:{showErrorBanner:function(){return this.errorMsg&&"ecards-confirm"===this.currentStep}},methods:{ecardError:function(e,t){var n=_.result(e,"responseJSON.error","Sorry, an error occurred. Please contact support to ensure that your ecard(s) went through."),a=_.result(e,"responseJSON.card_error",!1);t.errorMsg=n,t.status="error",this.errorMsg=n,this.cardError=a},ecardSuccces:function(e,t){t.status="success",this.submitTransactions()},processOneTransaction:function(e){e.status="processing",e.purchasing_user_id=this.purchasing_user_id;var t={ecard:e,token:this.token};return $.post(app.ggApiUrl+"v1/e_cards",t,null,"json")},setToken:function(e){this.token=e},resetTransaction:function(){this.cardError&&(this.transactionSubmitted=!1,this.cardError=!1,this.errorMsg=null,_.forEach(this.ecards,(function(e){"error"===e.status&&(e.status="unprocessed",e.errorMsg=null)})))},submit:function(){this.transactionSubmitted=!0;var e=_.find(this.$children,(function(e){return"ecards-payment"===e.$options.name}));_.find(e.$children,(function(e){return"stripe-card"===e.$options.name})).getToken()},submitTransactions:function(){var e=this,t=_.find(this.ecards,(function(e){return"unprocessed"===e.status}));t?this.processOneTransaction(t).then((function(n){e.ecardSuccces(n,t)}),(function(n){e.ecardError(n,t)})):this.transactionSuccessful=!0}},watch:{eCardsTotal:function(){this.eCardsTotal<=0||this.ecards.map((function(e){(new app.DonationFee).fetchFee(e.total_amount,!1).then((function(t){e.totalFees=t.fee_bp+t.fee_gg+t.fee_host}))}))},token:function(){grecaptcha.ready(function(){(new app.User).findOrCreate(this.user_info).then(function(e){this.purchasing_user_id=e.id,this.submitTransactions()}.bind(this))}.bind(this))}}}),Vue.component("ecard-item",{template:"#ecard-item-template",mixins:[app.ecardsShared],props:["ecard","submitted"],data:function(){return{errors:[]}},computed:{recipientFields:function(){return[this.ecard.recipient_email,this.ecard.recipient_message,this.ecard.recipient_name]}},methods:{checkForErrors:function(){this.errors=[],this.ecard.total_amount<app.dog.min_donation_cents&&this.errors.push(".amount"),this.ecard.hasRecipient&&(this.ecard.recipient_name||this.errors.push("#recipient-name"),this.ecard.recipient_email&&app.emailRegex.test(this.ecard.recipient_email)||this.errors.push("#recipient-email"))},removeEcard:function(){this.$emit("remove-ecard",this.ecard.vueId)},updateTotalAmount:function(e){this.ecard.total_amount=100*parseInt(e.srcElement.value)||0},valid:function(){return this.checkForErrors(),0===this.errors.length}},watch:{ecard:{handler:function(){this.submitted&&this.checkForErrors()},deep:!0},recipientFields:{handler:function(){this.ecard.hasRecipient=_.some(this.recipientFields,(function(e){return!(_.isNull(e)||""===e)}))},deep:!0}}}),Vue.component("ecards-confirm",{template:"#ecards-confirm-template",mixins:[app.ecardsShared],props:["ecards","user_info"],data:function(){return{active:!1,submitted:!1}},computed:{popoverContent:function(){return"Every transaction incurs a technology fee and a credit card ("+(null!==this.dog.rate_stripe_bss_pts?this.dog.rate_stripe_bss_pts/100:2.2)+"% + $0.30) or ACH processing fee in order to support the costs of running a giving event and site.       Please see the FAQs posted on the giving site for a full breakdown."}}}),Vue.component("ecards-info",{template:"#ecards-info-template",props:["ecards"],data:function(){return{active:!0,submitted:!1}},created:function(){this.addEcard()},methods:{addEcard:function(){this.ecards.push({vueId:Date.now(),dog_id:app.dog.id,hasRecipient:!1,recipient_email:null,recipient_message:null,recipient_name:null,status:"unprocessed",total_amount:null,totalFees:null})},removeEcard:function(e){this.ecards.splice(_.findIndex(this.ecards,{vueId:e}),1)},valid:function(){return _.every(this.$children,(function(e){return e.valid()}))}}}),Vue.component("ecards-payment",{template:"#ecards-payment-template",mixins:[app.ecardsShared],props:["ecards","user_info"],data:function(){return{active:!1,errors:[],submitted:!1}},methods:{checkForErrors:function(){this.errors=[];var e=this;_.forEach(this.user_info,(function(t,n){t||e.errors.push("#donor-"+n.split("_").join("-"))})),this.user_info.email&&!app.emailRegex.test(this.user_info.email)&&this.errors.push("#donor-email")},passToken:function(e){this.$emit("set-token",e)},valid:function(){return this.checkForErrors(),!(!_.find(this.$children,(function(e){return"stripe-card"===e.$options.name})).valid()||0!==this.errors.length)&&(this.$parent.resetTransaction(),!0)}},watch:{user_info:{handler:function(){this.submitted&&this.checkForErrors()},deep:!0}}}),Vue.component("ecards-thank-you",{template:"#ecards-thank-you-template",mounted:function(){$('[data-toggle="tooltip"]').tooltip()},computed:{altString:function(){return this.dog.title+" Logo"},newlinesToHtml:function(){return this.dog.dtn_thx_msg.replace(/\r\n|\r|\n/g,"<br>")},twitterUrl:function(){var e=app.twitter.dogShareData();return"https://www.twitter.com/intent/tweet?text="+e.text+"&url="+e.share_url}},methods:{}}),Vue.component("email-suggestions",{template:"#email-suggestions-template",data:function(){return{donorEmail:"",domains:app.custom("donor_email_suggested_domains")}},computed:{emailDomain:function(){return this.donorEmail.split("@")[1]},emailPrefix:function(){return this.donorEmail.split("@")[0]},showEmailOptions:function(){return _.includes(this.donorEmail,"@")&&this.validAutocompleteDomains.length&&this.emailPrefix.length},validAutocompleteDomains:function(){return _.filter(this.domains,function(e){var t=this.emailDomain.toLowerCase();return _.startsWith(e,t)&&e!==t}.bind(this))}},methods:{completeEmail:function(e){this.donorEmail=this.emailPrefix+"@"+e}}}),app.createGgTipComponent=function(){Vue.component("gg-tip",{template:"#gg-tip-template",props:{totalDtn:{type:Number,required:!0}},data:function(){var e=app.custom("gg_tip_suggested_levels");return{description:app.custom("gg_tip_description")||"GiveGab, "+app.dog.title+"'s technology partner, has a 0% platform fee for nonprofits and relies on the generosity of donors to operate our platform.",heading:app.custom("gg_tip_heading"),otherTipDollars:null,selectedTipLevel:e[1],suggestedLevels:e}},computed:{tipCents:function(){return this.selectedTipLevel?Math.round(parseFloat(this.selectedTipLevel)/100*this.totalDtn):Math.round(100*this.otherTipDollars)||0}},methods:{calculatedTip:function(e){return Math.round(parseFloat(e)/100*this.totalDtn)},focusInput:function(){this.selectedTipLevel||this.$nextTick((function(){this.$refs.otherTip.focus()}))}},mounted:function(){this.$root.donationModel.set("total_gg_tip",this.tipCents)},watch:{tipCents:function(e){this.$root.donationModel.set("total_gg_tip",e)}}})},Vue.component("give-again-campaign",{template:"#give-again-campaign-template",props:{item:Object},data:function(){return{amountInDollars:this.item.amount/100,campaign:this.item.campaign,initialAmount:this.item.amount,isValid:!0,minimumAmount:app.dog.min_donation_cents,percentIncrease:0}},created:function(){this.increaseAmount(10)},methods:{increaseAmount:function(e){this.percentIncrease=e;const t=1+e/100;this.amountInDollars=Math.round(this.initialAmount*t)/100},percentBtnClass:function(e){const t=this.percentIncrease===e;return{"gg-branding-lead-btn":!t,"gg-branding-supporting-btn":t}},remove:function(){confirm(`Are you sure you want to remove this ${app.dogBreed.org_label_set.singular}?`)&&this.$emit("campaign-removed",{campaignId:this.campaign.id})}},watch:{amountInDollars:function(){this.item.amount=100*this.amountInDollars,this.isValid=app.utils.validAmount(this.item.amount),this.percentIncrease=Math.round(100*(this.item.amount/this.initialAmount-1))}}}),Vue.component("give-again-page",{template:"#give-again-page-template",props:{items:Array,user:Object},created(){for(const e of this.items)e.campaign=new app.Campaign(e.campaign,{parse:!0}).toJSON()},computed:{allValid:function(){return this.items.every((e=>app.utils.validAmount(e.amount)))}},methods:{addItemsToBasket:function(){this.allValid?(this.items.forEach((e=>{e.campaign.amount=e.amount,e.campaign.give_again=!0,app.giftBasket.add(e.campaign)})),window.location.href="/donate"):(window.scrollTo({top:0,behavior:"smooth"}),$(".alert").removeClass("hidden"))},removeCampaign(e){const t=this.items.findIndex((t=>t.campaign.id===e.campaignId));this.items.splice(t,1)}}}),Vue.component("vip-message",{template:"#vip-message-template",props:{leftColumn:{type:String},rightColumn:{type:String}},data:function(){var e=app.custom("vip_message");return{heading:e.heading,showImage:e.show_image,subHeading:e.sub_heading}},computed:{rightColumnClasses:function(){return this.showImage?["col-sm-6","mx-auto","text-center"]:[]}}}),Vue.component("new-algolia-campaign-search-result",{template:"#new-algolia-campaign-search-result-template",props:{campaign:Object},mounted:function(){this.charitableId&&$("[rel=popover]").popover()},data:()=>({showDonationModal:!1}),computed:{charitableId:function(){const e=this.campaign.group.charitable_id;return app.dog.charitable_id_enabled&&e?e:null},showDonateButton:function(){return app.dog.donations_enabled&&(this.campaign.group_dog.donatable||app.dog.centrally_routed)},showGroupName:function(){return app.dogBreed.university&&!this.campaign.dog_campaign}}}),Vue.component("org-profile",{template:"#org-profile-template",mixins:[app.profileLinks],props:{org:{type:Object,required:!0}},data:function(){return{campaign:this.org.campaign,customFields:this.org.custom_fields,hiddenOnDataTabs:["causes","contact-info","donation-levels","fundraisers","recent-donors","story","support-areas","volunteer-opportunities"],linkData:this.setPossibleLinks(),profileComponents:this.custom("org_profile_sections")}},computed:{activeProfileComponents:function(){var e=this;return this.onDataTab?this.profileComponents.map((function(t){var n=t.rows.map((function(t){return _.reject(t,(function(t){return _.includes(e.hiddenOnDataTabs,t)}))}));return _.assign({},t,{rows:n})})):this.profileComponents},onDataTab:function(){return this.$store.state.onDataTab}},created:function(){this.$store.commit("setOrg",this.org)},methods:{sectionProps:function(e){switch(e){case"causes":var t=this.custom("use_dog_causes")?this.campaign.dog_causes:this.org.causes;return{causes:app.dogBreed.cause_search_enabled&&t?t:[]};case"contact-info":return{orgName:this.org.name,address:this.org.address,contact:this.org.contact,website:this.org.website};case"contact-austin":return{address:this.org.address,contact:this.org.contact,ein:this.org.ein,website:this.org.website};case"custom-data":return{customFields:this.customFields};case"document":return{orgId:this.org.id};case"donation-levels":case"fundraisers":return{campaignId:this.campaign.id};case"header":return{approvalStatus:this.org.group_dog.approval_status,campaign:_.assign(this.campaign,{group_dog:this.org.group_dog}),coverPhotoUrl:this.org.campaign.cover_photo_url,logo:this.org.logo,profileType:"group"};case"juicer-feed":return{juicerId:_.get(this.custom("profile_juicer_feed"),this.campaign.id,null)};case"matches":return{campaignId:this.campaign.id,orgId:this.org.id,ownerId:this.org.id,ownerName:this.org.name,ownerType:"Group"};case"mobilize-volunteer-events":return{campaignCoverPhotoUrl:this.campaign.cover_photo_url,campaignId:this.campaign.id,mobilizeOrgId:parseInt(this.org.mobilize_org_id)};case"rankings":return{measurableId:this.org.group_dog.id,measurableType:"GroupDog"};case"recent-donors":return{campaignId:this.campaign.id,orgId:this.org.id,perPage:5,showRecentDonors:app.utils.showRecentDonor()};case"recent-donors-double":return{campaignId:this.campaign.id,orgId:this.org.id,perPage:10,showRecentDonors:app.utils.showRecentDonor()};case"related-dog-causes":return{causes:this.campaign.dog_causes||[]};case"secondary-donate-button":return{fundableId:this.campaign.id,profileType:"group"};case"section-links":return{sectionLinks:this.sectionLinks};case"stats":return{isPrizeWinner:this.org.prize_winner,profileType:"group",statsId:this.org.group_dog.id};case"story":return{profileType:"group",story:this.campaign.story,video:this.campaign.video_embed_code};case"support-areas":return{orgId:this.org.id,supportAreas:this.org.support_areas,showMoreSupportAreas:this.org.showMoreSupportAreas};case"support-area-leaderboard":return{leaderboard:this.org.support_area_lb};case"volunteer-opportunities":return{opps:this.org.opps,slug:this.org.slug};case"volunteermatch-results":return{volunteermatch_results:this.org.volunteermatch_results||""};default:return{}}}}}),Vue.component("page-controls",{template:"#page-controls-template",props:["page","pages"],computed:{onFirstPage:function(){return this.page<=1},onLastPage:function(){return this.page>=this.pages}},methods:{nextPage:function(){this.onLastPage||this.$emit("page-change",this.page+1)},previousPage:function(){this.onFirstPage||this.$emit("page-change",this.page-1)}}}),Vue.component("page-links",{template:"#page-links-template",props:["page","pages"],computed:{nearbyPages(){return[this.page-1,this.page,this.page+1].filter((e=>e>0&&e<=this.pages))},onFirstPage(){return this.page<=1},onLastPage(){return this.page>=this.pages}},methods:{boldIfCurrent(e){return{"font-weight-bold":e===this.page}},changePage(e){this.$emit("page-change",e)},nextPage(){this.onLastPage||this.changePage(this.page+1)},previousPage(){this.onFirstPage||this.changePage(this.page-1)}}}),Vue.component("profile-business-stats",{template:"#profile-business-stats-template",mixins:[app.statsComponentMethods],props:{busFund:{type:Object,required:!0}},data:()=>({amount_raised_with_incentives:null,copy:app.custom("bus_fund_copy").profile,dollar_goal:null,donor_goal:null,matches_incentives:null,percentComplete:null,percent_donors:null,percent_employees:null,percent_raised:null}),computed:{goalLabel(){return this.donor_goal?this.copy.percent_donors:"Dollar Goal"},showProgressBar(){return this.donor_goal||this.dollar_goal}},methods:{loadStats(){$.getJSON(this.url,{with:"goal,percent_raised,match_amount_raised"}).done(this.setStats)},setStats(e){const t=app.custom("business_fundraiser_included_stats");Object.assign(e,_.pick(this.busFund,["dollar_goal","donor_goal","num_employees"])),Object.assign(this.$data,_.pick(e,t));const n=app.utils.percent(e.total_donors_count,this.donor_goal);t.includes("amount_raised_with_incentives")&&(this.amount_raised_with_incentives=parseInt(e.match_amount_raised)+parseInt(e.online_amount_raised)+parseInt(this.busFund.incentives)),t.includes("matches_incentives")&&(this.matches_incentives=parseInt(e.match_amount_raised)+parseInt(this.busFund.incentives)),t.includes("percent_donors")&&(this.percent_donors=n),t.includes("percent_employees")&&(this.percent_employees=Math.min(app.utils.percent(e.total_donors_count,e.num_employees),100)),this.showProgressBar&&(this.percentComplete=this.dollar_goal?this.percent_raised:n)}}}),Vue.component("profile-causes",{template:"#profile-causes-template",props:{causes:Array},computed:{showSection:function(){return this.causes.length>0},searchUrlBase:function(){var e="/search?";return e+=this.custom("use_dog_causes")?"dog_cause_id=":"tag_id="}}}),Vue.component("profile-contact-info",{template:"#profile-contact-info-template",props:{orgName:{type:String,required:!0},address:{type:Object,required:!0},contact:{type:Object},website:{type:String}}}),Vue.component("profile-contact-austin",{template:"#profile-contact-austin-template",props:{address:{type:Object},contact:{type:Object},ein:{type:String},website:{type:String}}}),Vue.component("profile-custom-data",{template:"#profile-custom-data-template",props:{customFields:{type:Array}},data:function(){return{activeTab:"profile",charts:[],chartOpts:{is3D:!0,height:360,legend:{position:"top",alignment:"center",maxLines:3},tooltip:{isHtml:!0}},formattedCustomFields:[],graphOpts:{chartArea:{width:"80%"},height:360,legend:{position:"bottom",maxLines:2},tooltip:{isHtml:!0},vAxis:{format:"short"}}}},computed:{categoriesHtml:function(){return app.template("groups/custom_properties/custom_properties_content",this.formattedCustomFields)},onDataTab:function(){return"profile"!==this.activeTab},org:function(){return this.$store.state.org},showSection:function(){return this.customFields&&this.customFields.length>0}},created:function(){this.formattedCustomFields=this.formatCustomData(this.customFields),this.charts=this.getCharts(),this.formatCharts(),this.formatDetailedObjects()},mounted:function(){(this.charts.pies.length||this.charts.bars.length)&&this.loadGoogleCharts(this.drawCharts)},methods:{drawBarGraph:function(e){new google.visualization.ColumnChart(document.querySelector(".bar-graph#"+_.kebabCase(e.label))).draw(google.visualization.arrayToDataTable(e.fields),this.graphOpts)},drawCharts:function(){this.setColors(),setTimeout(function(){this.charts.bars.forEach(this.drawBarGraph.bind(this)),this.charts.pies.forEach(this.drawPieChart.bind(this))}.bind(this),200)},drawPieChart:function(e){_.compact(e.fields).length>1?new google.visualization.PieChart(document.querySelector(".pie-chart[data-id='"+e.id+"']")).draw(google.visualization.arrayToDataTable(e.fields),this.chartOpts):this.$(".pie-label[data-pie='"+e.id+"']").remove()},formatCharts:function(){_.each(this.charts.bars,(function(e){var t=[];_.times(e.fields[1].properties.length+1,(function(){t.push([])})),_.each(e.fields,(function(e){t[0].push(e.label),_.each(e.properties,(function(n,a){if(a+1<t.length){var l="year"===e.data_type?n.value:parseInt(n.value,10)/100;t[a+1].push(l)}}))})),e.fields=t})),_.each(this.charts.pies,function(e,t){e.fields.shift();var n=this.yearOrdinals[t]||{ordinal:t,year:null};e.year=n.year,e.fields=_.map(e.fields,(function(e){var t=_.find(e.properties,{year:n.year})||_.find(e.properties,{ordinal:n.ordinal});if(t)return[e.label,parseInt(t.value,10)/100]})),e.fields.unshift(["Name","Value"]),e.fields=_.compact(e.fields)}.bind(this))},formatCustomData:function(e){return this.removeEmptyCharts(e).forEach((function(e){var t=_.find(e.subcategories,["display_format","yoy_table"]);t&&this.setYoyTableYears(t),e.subcategories.forEach((function(e){_.includes(["yoy_table","bar_graph"],e.display_format)&&this.padSubcatProperties(e)}),this)}),this),e},formatDetailedObjects:function(){var e=_.find(this.customFields,(function(e){return _.some(e.subcategories,{display_format:"program"})}));if(e&&!_.isEmpty(e.subcategories)){var t=e.subcategories[0],n=[],a=t.fields.map((function(e){return e.properties.map((function(e){return e.ordinal}))}));a=_.uniq(_.flatten(a)).sort((function(e,t){return e-t}));var l=_.map(t.fields,(function(e){return _.pick(e,["data_type","label","ordinal"])}));a.forEach((function(e,a){n.push({display_format:t.display_format,ordinal:e,fields:_.cloneDeep(l)}),t.fields.forEach((function(t,l){var o=_.find(t.properties,["ordinal",e]),i=_.get(o,"value","");n[a].fields[l].properties=[{value:i}]}))})),e.subcategories=n}},getCharts:function(){var e=_.flatten(_.map(this.formattedCustomFields,"subcategories"));return{pies:_.filter(e,{display_format:"pie_chart"}),bars:_.filter(e,{display_format:"bar_graph"})}},loadGoogleCharts:function(e){var t=document.createElement("script");t.src="https://www.gstatic.com/charts/loader.js",t.onload=function(){google.charts.load("current",{packages:["corechart"]}),google.charts.setOnLoadCallback((function(){e(),$("a.nav-link[role=tab]").click(e),$(".custom-select").change(e),window.onresize=e}))},document.body.appendChild(t)},padSubcatProperties:function(e){e.fields.forEach((function(e){e.properties=this.yearOrdinals.map((function(t){return _.find(e.properties,{year:t.year,ordinal:t.ordinal})||{value:"",ordinal:t.ordinal,year:t.year}}))}),this)},removeEmptyCharts:function(e){return e.map((function(e){return _.remove(e.subcategories,function(e){return _.includes(["pie_chart","bar_graph"],e.display_format)&&this.subcatIsEmpty(e)}.bind(this)),e}),this)},setColors:function(){var e=app.custom("chart_colors");_.isEmpty(e)||(this.graphOpts.colors=e,this.chartOpts.colors=e)},setYoyTableYears:function(e){var t=_.find(e.fields,["data_type","year"]).properties.map((function(e){return{ordinal:e.ordinal,year:e.year}}));this.yearOrdinals=_.orderBy(t.splice(0,3),["year"],["desc"])},subcatIsEmpty:function(e){return _.every(e.fields,(function(e){return 0==_.compact(e.properties.map((function(t){if("year"!=e.data_type)return t.value}))).length}))},updateActiveTab:function(e){this.activeTab=_.kebabCase(e)}},watch:{activeTab:function(e){$('#customPropertiesTabs li a[href="#'+e+'"]').tab("show")},onDataTab:function(e){this.$store.commit("toggleDataTab",e)}}}),Vue.component("profile-document",{template:"#profile-document-template",props:{orgId:Number},data:function(){return{document:null,settings:app.custom("public_group_document")}},computed:{showSection:function(){return this.document}},created:function(){var e={document_request_id:this.settings.document_request_id,group_id:this.orgId};$.getJSON(app.ggApiUrl+"v1/dog_documents/show",e).done(function(e){this.document=e}.bind(this))}}),Vue.component("profile-donation-levels",{template:"#profile-donation-levels-template",props:{campaignId:{type:Number},userCampaignId:{type:Number,default:null}},data:function(){return{levels:[]}},computed:{baseUrl:function(){var e="/donate?campaign_id="+this.campaignId;return this.userCampaignId&&(e+="&user_campaign_id="+this.userCampaignId),e},showSection:function(){return app.dog.donation_levels_enabled&&!this.custom("enterprise_donation_form_enabled")&&this.levels.length>0}},created:function(){this.campaignId&&(new app.DonationLevels).fetch({data:{campaign_id:this.campaignId}}).done(function(e){this.levels=e}.bind(this))}}),Vue.component("profile-fundraiser-story",{template:"#profile-fundraiser-story-template",props:{userCampaign:{type:Object,required:!0}}}),Vue.component("profile-fundraisers",{template:"#profile-fundraisers-template",mixins:[app.profileSectionToggle],props:{campaignId:{type:Number,required:!0}},data:function(){return{collection:new app.UserCampaigns,fundraisers:[],params:{campaign_id:this.campaignId,dog_name:app.dog.name,per_page:5,sort_column:"amount_raised",sort_direction:"desc",with:"campaign,group,stats"},showLoadMore:!1}},computed:{showSection:function(){return this.fundraisers.length>0}},created:function(){app.dog.p2ps_enabled&&this.fetchFundraisers()},methods:{fetchFundraisers:function(){this.collection.fetch({data:this.params}).done(function(){this.showLoadMore=this.collection.length===this.params.per_page,this.fundraisers=this.collection.toJSON()}.bind(this))},loadMore:function(){this.params.per_page+=5,this.fetchFundraisers()}}}),Vue.component("profile-header",{template:"#profile-header-template",props:{busFund:{type:Object},campaign:{type:Object},coverPhotoUrl:{type:String,required:!0},logo:{type:String},profileType:{type:String,required:!0},userCampaign:{type:Object}},mounted:function(){$('[data-toggle="tooltip"]').tooltip(),this.charitableId&&$(this.$el).find("[rel=popover]").popover()},computed:{charitableId:function(){return app.dog.charitable_id_enabled?this.isType("fundraiser")?"Campaign"===this.userCampaign.fundable_type?this.userCampaign.group.charitable_id:null:this.isType("business")?null:this.campaign.group.charitable_id:null},coverPhotoBackgroundStyle(){return`background-image: url("${this.coverPhotoUrl}")`},donatePath:function(){return this.isType("business")?null:this.isType("fundraiser")?this.userCampaign.donation_path:"/donate?campaign_id="+this.campaign.id},isDonatable:function(){return!this.isType("business")&&(!!app.dog.centrally_routed||(this.isType("fundraiser")?_.get(this.userCampaign.group,"donatable",!0):this.campaign.group_dog.donatable))},profileTitle:function(){return this.isType("fundraiser")?null:this.isType("group")?this.campaign.group.name:this.isType("business")?this.busFund.business.name:this.campaign.title},shareUrl:function(){const e=app.dog.url;return this.isType("fundraiser")?`${e}/p2p/${this.userCampaign.id}/${this.userCampaign.user_slug}`:this.isType("group")?`${e}/organizations/${this.campaign.group.slug}`:this.isType("business")?`${e}/business_fundraisers/${this.busFund.id}/${this.busFund.business.slug}`:`${e}/campaigns/${this.campaign.slug}`},showFundraiseButton:function(){return!this.isType("business")&&(!this.isType("fundraiser")&&app.dog.p2ps_enabled&&this.campaign.allow_p2p_campaigns&&this.isDonatable)},showGiftBasket:function(){return!this.isType("business")&&(this.isType("fundraiser")?app.giftBasketActive&&!this.userCampaign.free_agent:app.giftBasketActive)},showStatusSticker:function(){return this.isType("group")&&app.custom("profile_status_sticker")},twitterData:function(){return this.isType("fundraiser")?app.twitter.p2pShareData(this.userCampaign):this.isType("group")?app.twitter.orgShareData(this.campaign.group):app.twitter.supportAreaShareData(this.campaign)}},methods:{addToBasket:function(){var e={};this.isType("campaign")?e=this.campaign:this.isType("group")?(e=_.assign({campaign_id:this.campaign.id},this.campaign,_.pick(this.campaign.group,["name"]))).logo=app.custom("profile_logo_override")||this.campaign.group.logo_url:this.isType("fundraiser")&&(e=_.assign(this.campaign,{campaign_id:this.campaign.id,group:this.userCampaign.group,group_dog:this.userCampaign.group_dog,group_id:this.userCampaign.group.id,logo:app.custom("profile_logo_override")||this.userCampaign.logo_url,name:this.userCampaign.fundable_name,user_campaign_id:this.userCampaign.id})),app.giftBasket.add(e),$("#cart-modal").collapse("show")},isType(e){return this.profileType===e},openFundraiserModal:function(){var e={campaign_id:this.campaign.id,logo_url:app.custom("profile_logo_override")||this.campaign.group.logo_url,title:this.isType("group")?this.campaign.group.name:this.campaign.title};new app.CreateFundraiserView(e).render()},showSharingModal:function(){$(".sharing-modal").modal("show")}}}),Vue.component("profile-section-links",{template:"#profile-section-links-template",props:{sectionLinks:{type:Array}}}),Vue.component("profile-matches",{template:"#profile-matches-template",mixins:[app.profileSectionToggle],props:{campaignId:{type:Number,default:null},orgId:{type:Number,default:null},ownerId:{type:Number,required:!0},ownerName:{type:String,default:null},ownerType:{type:String,required:!0}},data:function(){return{collection:new app.MatchCommitments,donationNoun:app.dogBreed.donation_noun,matches:[],popover:this.custom("match_copy").profile_popover}},computed:{onBusFundProfile:function(){return"BusinessFundraiser"===this.ownerType},showSection:function(){return this.matches.length>0},viewAllUrl:function(){return"/matches?campaign_id="+this.campaignId+"&group_id="+this.orgId+"&owner_id="+this.ownerId+"&owner_type="+this.ownerType+"&owner_name="+encodeURIComponent(this.ownerName)}},created:function(){this.loadRelevantMatches()},methods:{initPopover:function(){this.matches.length&&this.popover&&Vue.nextTick((function(){$("[rel=popover]").popover()}))},loadRelevantMatches:function(){var e={eligible_campaign_id:this.campaignId,eligible_group_id:this.orgId,include_dog_and_owner:!this.onBusFundProfile,sort_column:app.custom("show_dog_matches_first")?"dog_matches_first":"group_matches_first",owner_id:this.ownerId,owner_type:this.ownerType,per_page:3};return this.collection.loadAllActiveMatches(e).done(function(){this.matches=this.collection.toJSON(),this.initPopover()}.bind(this))},progressBarLabel:e=>"dollar_match"===e.match_type?"match progress":"challenge progress"}}),Vue.component("profile-mobilize-volunteer-events",{template:"#profile-mobilize-volunteer-events-template",props:{campaignCoverPhotoUrl:String,campaignId:Number,mobilizeOrgId:Number},data:()=>({events:[]}),computed:{filteredEvents(){return this.events.filter((e=>"FUNDRAISER"!=e.event_type)).slice(0,4)},showSection(){return this.events.length>0}},created(){Number.isNaN(this.mobilizeOrgId)||$.getJSON(`https://api.mobilize.us/v1/organizations/${this.mobilizeOrgId}/events?timeslot_start=gte_now&is_virtual=false`,{per_page:10}).then((e=>{this.events=e.data.reverse()}))},methods:{slotsFilled:e=>e.timeslots.every((e=>e.is_full)),displayLocation:({location:e})=>e?.locality,displayTime({timeslots:e}){const t={weekday:"short",year:"numeric",month:"long",day:"numeric",timeZone:"UTC"};return`${new Date(1e3*e[0].start_date).toLocaleDateString("en-US",t)}`},eventLink({browser_url:e}){return`${e}?source=givegab_campaign_${this.campaignId}`},eventImage({featured_image_url:e}){return e||this.campaignCoverPhotoUrl},truncate:(e,t)=>(e=e||"").substring(0,t)+(e.length>t?"...":"")}}),Vue.component("profile-juicer-feed",{template:"#profile-juicer-feed-template",props:{juicerId:{type:String,required:!0}},computed:{showSection:function(){return this.juicerId}}}),Vue.component("profile-sticker",{template:"#profile-sticker-template",props:{campaign:{type:Object}},data(){return{statusSticker:app.custom("profile_status_sticker"),approval_status:this.campaign.group_dog.approval_status,group_dog:this.campaign.group_dog}},mounted(){this.hoverMessage&&$(this.$el).find("[rel=popover]").popover()},computed:{hoverMessage(){return this.statusSticker?.hover_message?.[this.approval_status]},sticker(){return this.statusSticker?.sticker?.[this.approval_status]},stickerCopy(){return this.statusSticker?.sticker_copy?.[this.approval_status]},eventDate(){const e=[];if(this.statusSticker?.display_profile_expiration_date&&this.group_dog.expiration_date&&e.push(this.expirationDateCopy()),this.statusSticker?.display_last_submitted_at&&this.group_dog.last_submitted_at&&e.push(this.lastSubmittedAt()),0===e.length)return"";const t=e.join(" & ");return this.stickerCopy?` (${t})`:t}},methods:{expirationDateCopy(){return`Profile Expiration Date: ${Handlebars.helpers.formatDateTextual(this.group_dog.expiration_date)}`},lastSubmittedAt(){return`Profile Last Updated: ${Handlebars.helpers.formatDateTextual(this.group_dog.last_submitted_at)}`}}}),Vue.component("profile-rankings",{template:"#profile-rankings-template",props:{measurableId:{type:Number,required:!0},measurableType:{type:String,required:!0}},data:function(){return{rankingNames:{total_donors_count:"Overall leaderboard ranking",total_amount_raised:"Donation Rank",total_donations_count:"Participation Rank"},rankings:[]}},computed:{params:function(){return{dog_id:app.dog.id,measurable_id:this.measurableId,measurable_type:this.measurableType}},showSection:function(){return this.statsEnabled&&this.rankings.length>0}},created:function(){this.loadRankings()},methods:{loadRankings:function(){$.getJSON(app.leaderboardApiUrl+"v1/leaderboard_rankings",this.params).done(function(e){this.rankings=this.parseRankings(e)}.bind(this))},parseRankings:function(e){return _.each(e,function(e){if(e.name=this.rankingNames[e.ranked_by_column],e.previous_rank&&e.previous_rank!=e.rank){var t=e.rank<e.previous_rank?{changeIcon:" &#9650;",iconClass:"up-arrow"}:{changeIcon:" &#9660;",iconClass:"down-arrow"};_.assign(e,t)}}.bind(this)),e}}}),Vue.component("profile-recent-donors",{template:"#profile-recent-donors-template",mixins:[app.profileDonorWall,app.profileSectionToggle]}),Vue.component("profile-recent-donors-double",{template:"#profile-recent-donors-double-template",mixins:[app.profileDonorWall,app.profileSectionToggle]}),Vue.component("profile-related-dog-causes",{template:"#profile-related-dog-causes-template",props:{causes:Array},computed:{showSection:function(){return this.causes.length>0}},methods:{causeBackgroundCss:function(e){return`<style type="text/css">\n        .cause-${e.id}-bg {\n          background-image: url("${e.picture_thumb_url}");\n        }\n        @media (min-width: 433px) and (max-width: 767px) {\n          .cause-${e.id}-bg {\n            background-image: url("${e.picture_medium_url}");\n          }\n        }\n        </style>`}}}),Vue.component("profile-secondary-donate-button",{template:"#profile-secondary-donate-button-template",props:{fundableId:{type:Number,required:!0},profileType:{type:String,required:!0},userCampaign:{type:Object}},computed:{donatePath:function(){return"fundraiser"===this.profileType?this.userCampaign.donation_path:"/donate?campaign_id="+this.fundableId}}}),Vue.component("profile-stats",{template:"#profile-stats-template",mixins:[app.statsComponentMethods]}),Vue.component("search-results-stats",{template:"#search-results-stats-template",
mixins:[app.statsComponentMethods]}),Vue.component("profile-story",{template:"#profile-story-template",mixins:[app.profileSectionToggle],props:{profileType:{type:String},story:{type:String},video:{type:String}},computed:{showSection:function(){return this.story||this.video}},mounted:function(){this.showSection&&this.toggleSectionVisibility(!0)}}),Vue.component("profile-support-area-leaderboard",{template:"#profile-support-area-leaderboard-template",mixins:[app.profileSectionToggle],props:{leaderboard:{type:Object,required:!1}},data:function(){return{results:[]}},computed:{showSection:function(){return!!this.leaderboard}},created:function(){this.showSection&&this.loadResults()},mounted:function(){this.showSection&&this.toggleSectionVisibility(!0)},methods:{formatLeaderboardValue:function(e,t,n){return Handlebars.helpers.formatLeaderboardValue(e,t,{data:{index:n,root:this.leaderboard},hash:{}})},loadResults:function(){const e=this.leaderboard.initial_sort_column;var t={dog_id:app.dog.id,per_page:100,sort_column:e,sort_direction:"desc",with:"measurable"};$.getJSON(app.leaderboardApiUrl+"v1/leaderboards/"+this.leaderboard.id+"/results",t).done(function(e){this.results=e.results}.bind(this))}}}),Vue.component("profile-support-areas",{template:"#profile-support-areas-template",mixins:[app.profileSectionToggle],props:{showMoreSupportAreas:{type:Boolean,default:!0},supportAreas:{type:Array,default:[]},orgId:{type:Number,required:!0}},computed:{showSection:function(){return this.supportAreas.length>0}},mounted:function(){this.showSection&&this.toggleSectionVisibility(!0)}}),Vue.component("profile-volunteer-opportunities",{template:"#profile-volunteer-opportunities-template",props:{opps:Array,slug:String},computed:{limitedOpps:function(){return this.opps.slice(0,5)},allOppsUrl:function(){return app.ggWebUrl+"/nonprofits/"+this.slug+"/opportunities"},showSection:function(){return this.opps.length>0}},methods:{oppDate:function(e){return Handlebars.helpers.oppDate(e.startTime,e.endTime,e.dateType)}}}),Vue.component("profile-volunteermatch-results",{template:"#profile-volunteermatch-results-template",props:{volunteermatch_results:{type:String,required:!0}},data:function(){return{oppsJson:this.volunteermatch_results?JSON.parse(this.volunteermatch_results).data.searchOpportunities:{}}},computed:{limitedResults:function(){return _.get(this.oppsJson,"opportunities",[]).slice(0,5)},numberOfResults:function(){return _.get(this.oppsJson,"resultsSize",0)},showSection:function(){return this.numberOfResults>0}},methods:{location:function(e){var t=e.location;return e.location.virtual?"This is a virtual opportunity.":t.city&&t.postalCode&&t.region?t.city+", "+t.region+" "+t.postalCode:void 0},url:function(e){return e.url+"?_sid=ilhigh"}}}),Vue.component("progress-bar",{template:"#progress-bar-template",props:{backgroundColor:{type:String,default:app.dog.supporting_color},label:{type:String,default:"progress to goal"},percentComplete:{type:[Number,String],required:!0},showPercent:{type:Boolean,default:!0}},computed:{barStyle:function(){return"width: "+this.percentComplete+"%; background-color: "+this.backgroundColor+";"}}}),Vue.component("registration-search",{template:"#registration-search-template",extends:app.baseSearch,data:function(){return{filter_params:["page","search_term"]}},created:function(){this.collection=new app.Groups,this.search_term&&this.loadResults()},methods:{searchParams:function(){var e={dog_id:app.dogBreed.registerable_dog_id||app.dog.id,eligible_for_dog:!0,page:this.page,query:this.search_term,with:"address,has_admin,has_bank_account,registered_for_dog"};return app.dog.dog_breed_only_registration_enabled&&(e.dog_breed=app.dogBreed.id),e}},watch:{search_term:_.debounce((function(){this.search_term.length>=3&&this.search(!0)}),300)}}),Vue.component("registration-search-result",{template:"#registration-search-result-template",props:{group:Object},computed:{claimGroupMessage:function(){return'Hi! I would like to claim and register "'+this.group.name+'" for the big day.'},requestAccessUrl:function(){var e=app.dogBreed.registerable_dog_id||app.dog.name;return app.ggWebUrl+"/nonprofits/"+this.group.slug+"/request_admin_access?dog_name="+e},showParticipateButton:function(){return app.dog.registration_links_enabled&&this.group.has_admin}}}),Vue.component("campaign-search-autocomplete",{mixins:[app.autoComplete],props:{userCampaign:{type:Object,required:!0}},data:()=>({textAttr:"name"}),created(){this.collection=new app.Campaigns},computed:{searchLabel(){const e=_.startCase(app.dogBreed.org_label_set.singular);return app.dog.faf_enabled?`Select ${e} (optional)`:`Select ${e}`}},methods:{apiParams(){return{p2p_enabled:!0,query:this.search_term,dog_id:app.dog.id,visible_only:!0}},loadResults(){this.loading=!0,this.collection.fetch({data:this.apiParams()}).then(this.setResults)},setResults(){this.loading=!1,this.results=this.collection.toJSON()},closeIfClickOutside(e){if(this.open&&!this.$el.contains(e.target)){null==this.formattedOptions.find((e=>e.name===this.$refs.input.value))&&(this.userCampaign.unset("campaign_id"),this.selected=null),this.open=!1}},triggerSelectEvent(){null!==this.selected&&(this.$refs.input.value=this.selected.name,this.userCampaign.set({campaign_id:this.selected.id})),this.open=!1}}}),app.donationSearch=Vue.component("donation-search-autocomplete",{mixins:[app.autoComplete,app.algoliaSearch],props:{fallbacks:{type:Array,default:[]},multiDtn:{type:Object,required:!0}},data:()=>({labelObj:app.dogBreed.org_label_set.singular,showViewAllLink:!0,textAttr:"name"}),computed:{filterString(){var e=this.defaultFilters();return app.custom("disable_umbrella_search_for_donations")&&(this.dogScopeId=app.dog.id),app.dog.id===app.dog.alpha_dog_id&&(this.dogScopeId?e.dog_id=this.dogScopeId:delete e.dog_id),_.map(e,this.filterPairToString).join(" AND ")},formattedOptions:function(){return app.custom("use_algolia_search")?this.results.map(this.parseCampaign):this.results},searchLabel(){return app.custom("donation_search_label")||`Choose ${app.dogBreed.org_label_set.article} ${this.labelObj}`}},methods:{algoliaParams(){return{attributesToHighlight:[],filters:this.filterString,hitsPerPage:25,page:0}},algoliaResults(){this.search_term.length>=3?this.searchIndex.search(this.search_term,this.algoliaParams()).then(this.setResults):this.loading=!1},apiParams(){return{alpha_dog_id:app.dog.id===app.dog.alpha_dog_id?app.dog.alpha_dog_id:"",query:this.search_term,dog_id:app.dog.id,dog_campaign:!app.dogBreed.support_area_search_enabled||"",visible_only:"true",with:"address,dog_url,fallback,group_dog,story_image_url"}},apiResults(){this.collection=new app.Campaigns,this.collection.fetch({data:this.apiParams()}).then(this.setResults)},setResults(e){this.loading=!1;const t=app.custom("use_algolia_search")?e.hits:this.collection.toJSON();this.results=t.concat(this.fallbacks.map(this.parseCampaign))},loadResults(){this.loading=!0,app.custom("use_algolia_search")?this.algoliaResults():this.apiResults()},triggerSelectEvent(){null!==this.selected&&this.multiDtn.trigger("selectedCampaign",this.selected),this.open=!1},viewAll(){if(this.loading=!0,this.search_term="",this.open=!0,app.custom("use_algolia_search")){const e={...this.algoliaParams(),hitsPerPage:1e3};this.searchIndex.search(this.search_term,e).then(this.setResults)}else this.apiResults()}},watch:{open(){this.open||this.clear()}}}),Vue.component("double-dropdown",{template:"#double-dropdown-template",data:()=>({groupId:null}),props:{fallbacks:{type:Array,default:[]},multiDtn:{type:Object,required:!0}},methods:{setGroup(e){this.groupId=e?.group?.id||null}}});const doubleDropShared={data:()=>({preloadOptions:!0}),methods:{baseApiParams(){return{alpha_dog_id:app.dog.id===app.dog.alpha_dog_id?app.dog.alpha_dog_id:"",dog_id:app.dog.id,donatable:!0,query:this.search_term,visible_only:"true",with:"address,dog_url,fallback,group_dog,story_image_url"}},baseAlgoliaParams(e="",t=25){return{attributesToHighlight:[],filters:this.filterString+e,hitsPerPage:t,page:0}},clearDoubleDrop(){this.arrowCounter=-1,this.selected=null,this.search_term="",this.results=[]}}};Vue.component("primary-dropdown",{extends:app.donationSearch,mixins:[doubleDropShared],props:{groupId:Number},mounted(){const e=app.utils.getUrlParam("campaign_id");e&&this.prefillPrimary(e)},methods:{algoliaParams(){const e=[" AND dog_campaign:true"];return app.custom("double_dropdown_primary_results_count")&&e.push(app.custom("double_dropdown_primary_results_count")),this.baseAlgoliaParams(...e)},apiParams(){return Object.assign({dog_campaign:!0},this.baseApiParams())},clear(){},prefillPrimary(e){const t=new app.Campaign({id:e});t.fetch({data:{with:"fallback,group_dog,story_image_url"}}).then((()=>{let e=t.toJSON();e.dog_campaign&&(this.results=[e],this.selectOption(e,0))}))},triggerSelectEvent(){this.$emit("set-group",this.selected)}},watch:{groupId(){this.groupId?this.open=!1:(this.clearDoubleDrop(),this.preloadOptions&&this.loadResults())}}}),Vue.component("secondary-dropdown",{extends:app.donationSearch,mixins:[doubleDropShared],props:{groupId:Number},data:()=>({labelObj:app.custom("support_area_heading")}),methods:{algoliaParams(){const e=` AND dog_campaign:false AND group.id:${this.groupId}`;return this.baseAlgoliaParams(e,app.custom("campaign_select_limit"))},apiParams(){return Object.assign({dog_campaign:!1,group_id:this.groupId,per_page:app.custom("campaign_select_limit")},this.baseApiParams())},triggerSelectEvent(){null!==this.selected&&(this.multiDtn.trigger("selectedCampaign",this.selected),this.clearDoubleDrop(),this.$emit("unset-group"),this.open=!1)}},watch:{groupId(){this.groupId&&new Promise(this.loadResults).then((()=>this.$refs.input.focus()))}}}),Vue.component("search-filter-pills",{template:"#search-filter-pills-template",props:{causes:Array,dogPackMembers:Array,filters:Object},computed:{activePills(){const e=_.pickBy({...this.filters,...this.customFilters},(e=>e||0===e));return delete e.reg_survey_choice_ids,e},...Vuex.mapState(["customFieldSelects","customFilters"])},created(){this.choices={},app.custom("survey_choice_checkboxes").forEach((({id:e,label:t})=>this.choices[`choice_${e}`]=t)),app.custom("survey_choice_filters").forEach((e=>{e.choices.forEach((({id:e,body:t})=>this.choices[`${e}`]=t))}))},methods:{pillText(e,t){if("causeId"===e)return this.causes.find((e=>e[1]===parseInt(t)))[0];if("location"===e)return t;if("dogScopeId"===e)return this.dogPackMembers.find((e=>e[1]===parseInt(t)))[0];if("has_match"===e)return"Matching";if("has_opp"===e)return"Volunteering";if(e.startsWith("choice_"))return this.choices[e];if(e.startsWith("question_"))return this.choices[t];if(e.startsWith("field_")){const n=e.split("_")[1];return this.customFieldSelects[n]?.custom_select_options[t]}}}}),Vue.component("search-donation-modal",{template:"#search-donation-modal-template",props:{campaign:Object,open:Boolean},data:function(){return{customAmount:null,donationAmount:null,donationLevelId:null,donationLevels:[{amount:2500},{amount:5e3},{amount:1e4}],isValid:!0,loadedDonationLevels:!1,showAmountInput:!1}},mounted(){this.charitableId&&$("[rel=popover]").popover(),$(this.$el).on("hide.bs.modal",(()=>this.$emit("close")))},computed:{charitableId(){const e=this.campaign.group.charitable_id;return app.dog.charitable_id_enabled&&e?e:null},profileType(){return this.campaign.dog_campaign?"group":"campaign"},profileId(){return this.campaign.dog_campaign?this.campaign.group_dog.id:this.campaign.id}},methods:{addItemsToBasket:function(){app.giftBasket.add(this.campaign),this.$emit("close"),this.$emit("success-message"),$("#cart-modal").collapse("show")},amountBtnClass:function(e){return{"translucent-lead-bg-40":this.donationAmount===e}},hideCustomAmount(){this.showAmountInput=!1},loadDonationLevels:async function(){const e=await(new app.DonationLevels).fetch({data:{campaign_id:this.campaign.id}});e.length>0&&(this.donationLevels=e),this.loadedDonationLevels=!0},setAmount(e){this.donationAmount=e.amount,this.donationLevelId=e.id,this.showAmountInput=!1},showCustomAmount(){this.showAmountInput=!0,$(".amount-btn").removeClass("translucent-lead-bg-40")}},watch:{customAmount(){this.donationAmount=100*this.customAmount},donationAmount:function(){this.campaign.amount=this.donationAmount,this.campaign.donation_level_id=this.donationLevelId,this.isValid=app.utils.validAmount(this.campaign.amount)},open(){this.loadedDonationLevels||this.loadDonationLevels(),setTimeout((()=>{this.open?$(this.$el).modal("show"):$(this.$el).modal("hide")}),100)}}}),Vue.component("html-partial",{functional:!0,props:["html"],render:function(e,t){return new Vue({beforeCreate:function(){this.$createElement=e},template:"<div>"+t.props.html+"</div>"}).$mount()._vnode.children}}),Vue.component("info-popover",{template:"#info-popover-template",props:{content:{type:String,default:""},trigger:{type:String,default:"hover focus"}},mounted:function(){$(this.$el).find('[data-toggle="popover"]').popover()}}),Vue.component("stripe-card",{template:"#stripe-card-template",mixins:[app.ecardsShared],props:["user_info"],data:function(){return{errors:[]}},created:function(){this.stripe=new Stripe(app.stripeApiKey),this.elements=this.stripe.elements()},mounted:function(){this.cardElement=this.elements.create("card",{style:{base:{fontSize:"16px"}}}),this.cardElement.mount(this.$refs.cardEl)},methods:{checkForErrors:function(){this.errors=[],_.includes(this.$refs.cardEl.classList,"StripeElement--complete")||this.errors.push("#card-element")},getToken:function(){var e=this.user_info.first_name+" "+this.user_info.last_name;this.stripe.createToken(this.cardElement,{name:e}).then(function(e){e.error?console.log(e.error):this.$emit("pass-token",e.token.id)}.bind(this))},valid:function(){return this.checkForErrors(),0===this.errors.length}}}),Vue.component("sharing-modal",{template:"#sharing-modal-template",props:{pathName:String,slug:String,url:String},computed:{fullUrl:function(){return this.url?this.url:app.dog.url+"/"+this.pathName+"/"+this.slug}},mounted:function(){$(".sharing-modal").on("hidden.bs.modal",(()=>$(".sharing-modal-toggle").focus()))}}),Vue.component("support-area-profile",{template:"#support-area-profile-template",mixins:[app.profileLinks],props:{campaign:{type:Object,required:!0}},data:function(){return{linkData:this.setPossibleLinks(),profileComponents:this.custom("support_area_profile_sections")}},methods:{sectionProps:function(e){switch(e){case"donation-levels":case"fundraisers":return{campaignId:this.campaign.id};case"header":return{campaign:this.campaign,coverPhotoUrl:this.campaign.cover_photo_url,logo:this.campaign.logo,profileType:"campaign"};case"matches":return{campaignId:this.campaign.id,orgId:this.campaign.group.id,ownerId:this.campaign.id,ownerName:this.campaign.title,ownerType:"Campaign"};case"recent-donors":return{campaignId:this.campaign.id,orgId:this.campaign.group.id,perPage:5,showRecentDonors:app.utils.showRecentDonor()};case"recent-donors-double":return{campaignId:this.campaign.id,orgId:this.campaign.group.id,perPage:10,showRecentDonors:app.utils.showRecentDonor()};case"related-dog-causes":return{causes:this.campaign.dog_causes||[]};case"secondary-donate-button":return{fundableId:this.campaign.id,profileType:"campaign"};case"section-links":return{sectionLinks:this.sectionLinks};case"stats":return{isPrizeWinner:this.campaign.prize_winner,profileType:"campaign",statsId:this.campaign.id};case"story":return{profileType:"campaign",story:this.campaign.story,video:this.campaign.video_embed_code};default:return{}}}}}),Vue.component("user-campaign-profile",{template:"#user-campaign-profile-template",mixins:[app.profileLinks],props:{userCampaign:{type:Object,required:!0}},data:function(){return{linkData:this.setPossibleLinks(),p2pDashboardUrl:app.ggWebUrl+"/user_campaigns/"+this.userCampaign.id+"/edit",profileComponents:this.custom("fundraiser_profile_sections"),userHasPhoto:_.includes(this.userCampaign.user_picture_url,"/uploads/user/picture")}},computed:{profileLogo:function(){return this.userHasPhoto?this.userCampaign.user_picture_url:this.userCampaign.logo_url}},methods:{sectionProps:function(e){switch(e){case"donation-levels":return{campaignId:this.userCampaign.free_agent?null:this.userCampaign.fundable_id,userCampaignId:this.userCampaign.id};case"fundraiser-story":return{userCampaign:this.userCampaign};case"header":var t={campaign:this.userCampaign.campaign,coverPhotoUrl:this.userCampaign.cover_photo_url,profileType:"fundraiser",userCampaign:this.userCampaign};return this.profileLogo&&(t.logo=this.profileLogo),t;case"recent-donors":return{userCampaignId:this.userCampaign.id,showRecentDonors:app.utils.showRecentDonor()};case"secondary-donate-button":return{fundableId:this.userCampaign.fundable_id,profileType:"fundraiser",userCampaign:this.userCampaign};case"section-links":return{sectionLinks:this.sectionLinks};case"stats":return{profileType:"fundraiser",statsId:this.userCampaign.id};case"story":return{profileType:"fundraiser",story:this.userCampaign.campaign?.story,video:this.userCampaign.campaign?.video_embed_code};default:return{}}}}}),Vue.component("user-campaign-search",{template:"#user-campaign-search-template",extends:app.baseSearch,data:function(){return{filter_params:["page","search_term"]}},created:function(){this.collection=new app.UserCampaigns,this.loadResults()},methods:{searchParams:function(){return{dog_id:app.dog.id,name_search:this.search_term,page:this.page,searchable:!0,with:"campaign,dog,group,stats"}}}}),Vue.component("user-campaign-search-result",{template:"#user-campaign-search-result-template",props:["fundraiser"],mounted(){this.fundraiser.charitable_id&&$("[rel=popover]").popover()},computed:{profileUrl:function(){return"/p2p/"+this.fundraiser.id+"/"+this.fundraiser.user_slug}}}),"undefined"!=typeof Vue&&_.forEach({centsToDollars:(e,t,n)=>"number"!=typeof e?"":Handlebars.helpers.centsToDollars(e,{hash:{hide_cents:t,dollar_sign:n}}),formatDollars:(e,t,n)=>Handlebars.helpers.centsToDollars(100*parseFloat(e),{hash:{hide_cents:t,dollar_sign:n}}),pluralize:(e,t,n)=>Handlebars.helpers.pluralize(e,t,n)},(function(e,t){Vue.filter(t,e)})),app.initActiveMatchesPage=function(e){new Vue({el:".active-matches-page",data:{matches:[],page:parseInt(app.utils.getUrlParam("page"))||1,pages:1},created:function(){this.matchCollection=new app.MatchCommitments,this.matchLoadMethod=e.owner_id?this.getOwnerAndDogMatches:this.loadAllMatches,this.matchLoadMethod()},computed:{defaultParams:function(){return{with:"owner_info,single_eligible_profile",page:this.page}}},methods:{getOwnerAndDogMatches:function(){var t=_.assign(this.defaultParams,{include_dog_and_owner:!0,eligible_campaign_id:e.campaign_id,eligible_group_id:e.group_id,sort_column:app.custom("show_dog_matches_first")?"dog_matches_first":"progress",owner_type:e.owner_type,owner_id:e.owner_id});this.matchCollection.loadAllActiveMatches(t).done(this.setMatches.bind(this))},goToPage:function(e){this.page=e,this.matchLoadMethod()},loadAllMatches:function(){var e=this.defaultParams;e.sort_column=app.custom("show_dog_matches_first")?"dog_matches_first":"progress",app.custom("suppress_business_fundraiser_matches_on_index")&&(e.remove_owner_type="BusinessFundraiser"),this.matchCollection.loadAllActiveMatches(e).done(this.setMatches.bind(this))},setMatches:function(){this.matches=this.matchCollection.toJSON(),this.pages=this.matchCollection.meta.pages}}})},app.countdowns={initAlertText:function(){setInterval((function(){var e=$(".countdown .days").text(),t=$(".countdown .hours").text()+" hours, "+$(".countdown .minutes").text()+" minutes, "+$(".countdown .seconds").text()+" seconds remaining.";t=""!==e?"There are "+e+" days, "+t:"There are "+t,$("#countdown-alert").text(t)}),6e4)},timeUntilStart:function(){app.dog.dog_date&&($(".time-until").downCount({date:app.dog.start_of_day,offset:-1*app.dog.countdown_offset}),app.countdowns.initAlertText())},timeLeft:function(){app.dog.dog_date&&($(".time-left").downCount({date:app.dog.end_of_day,offset:-1*app.dog.countdown_offset},(function(){$(".time-left").hide()})),app.countdowns.initAlertText())}},app.dafTransaction={create:function(e){var t=app.dafTransaction.data(e);return $.ajax({type:"POST",url:app.ggApiUrl+"v1/daf",dataType:"json",contentType:"application/json",data:JSON.stringify(t)})},data:function(e){var t=e.donations.map((function(t){return _.assign(t.creationParams(),{anonymous:e.get("anonymous"),first_name:e.get("first_name"),hide_amount:e.get("hide_amount"),last_name:e.get("last_name"),middle_name:app.customizations.donor_middle_name?e.get("middle_name"):null,prefix:app.customizations.donor_prefix?e.get("prefix"):null,phone:e.donationPhone(),totally_anonymous:e.get("totally_anonymous")})}));return{address:e.donationAddress(),donation_info:_.pick(e.get("daf_data"),["foundation_name","fund_name","fund_number"]),donations:t,dog_id:app.dogBreed.donations_dog_id,user:e.userInfo(),with:"group"}}},function(){"use strict";var e=window.document,t=window.navigator.userAgent,n="list"in e.createElement("input")&&Boolean(e.createElement("datalist")&&window.HTMLDataListElement),a=Boolean(t.match(/MSIE\s1[01]./)||t.match(/rv:11./)),l=Boolean(-1!==t.indexOf("Edge/"));if(n&&!a&&!l)return!1;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector);var o=!1,i=["text","email","number","search","tel","url"];window.addEventListener("touchstart",(function e(){o=!0,window.removeEventListener("touchstart",e)}));var r,s=window.MutationObserver||window.WebKitMutationObserver;void 0!==s&&(r=new s((function(t){var n=!1;if(t.forEach((function(e){e.target instanceof HTMLElement&&"datalist"===e.target.tagName.toLowerCase()&&e.addedNodes.length>1&&(n=e.target)})),n){var a=e.querySelector('input[list="'+n.id+'"]');""!==g(a)&&x(_(n,a).length,n.getElementsByClassName("polyfilling")[0])}})));var u=function(e){var t=e.target,n=t.list,i=38===e.keyCode||40===e.keyCode;if("input"===t.tagName.toLowerCase()&&null!==n)if(a||l)""===g(t)||i||13===e.keyCode||27===e.keyCode||!a&&"text"!==t.type||(c(t,n),t.focus());else{var r=!1,s=n.getElementsByClassName("polyfilling")[0]||v(t,n);if(27!==e.keyCode&&13!==e.keyCode&&(""!==g(t)||i)&&void 0!==s){_(n,t).length>0&&(r=!0);var u=s.options.length-1;o?s.selectedIndex=0:i&&"number"!==t.getAttribute("type")&&(s.selectedIndex=38===e.keyCode?u:0,s.focus())}x(r,s)}},c=function(e,t){var n=g(e);Array.prototype.slice.call(t.options,0).forEach((function(e){var t=e.getAttribute("data-originalvalue"),a=t||e.value;t||e.setAttribute("data-originalvalue",a),e.label||e.text||(e.label=a),e.value=d(e,n)?n+"###[P0LYFlLLed]###"+a.toLowerCase():a}))},p=function(e){var t=e.target,n=t.list;if(t.matches("input[list]")&&t.matches(".polyfilled")&&n){var a=n.querySelector('option[value="'+g(t).replace(/\\([\s\S])|(")/g,"\\$1$2")+'"]');a&&a.getAttribute("data-originalvalue")&&f(t,a.getAttribute("data-originalvalue"))}},d=function(e,t){var n=e.value.toLowerCase(),a=t.toLowerCase(),l=e.getAttribute("label"),o=e.text.toLowerCase();return Boolean(!1===e.disabled&&(""!==n&&-1!==n.indexOf(a)||l&&-1!==l.toLowerCase().indexOf(a)||""!==o&&-1!==o.indexOf(a)))},h=function(e){if(e.target.matches("input[list]")){var t=e.target,n=t.list;if("input"===t.tagName.toLowerCase()&&null!==n){if(t.matches(".polyfilled")||m(t,e.type),l&&"focusin"===e.type){var o=t.list.options[0];o.value=o.value}if(!a&&!l){var i=n.getElementsByClassName("polyfilling")[0]||v(t,n),r=i&&i.querySelector("option:not(:disabled)")&&("focusin"===e.type&&""!==g(t)||e.relatedTarget&&e.relatedTarget===i);x(r,i)}}}},m=function(e,t){e.setAttribute("autocomplete","off"),e.setAttribute("role","textbox"),e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-autocomplete","list"),e.setAttribute("aria-owns",e.getAttribute("list")),"focusin"===t?(e.addEventListener("keyup",u),e.addEventListener("focusout",h,!0),(a||l&&"text"===e.type)&&e.addEventListener("input",p)):"blur"===t&&(e.removeEventListener("keyup",u),e.removeEventListener("focusout",h,!0),(a||l&&"text"===e.type)&&e.removeEventListener("input",p)),e.className+=" polyfilled"},g=function(e){return"email"===e.getAttribute("type")&&null!==e.getAttribute("multiple")?e.value.slice(Math.max(0,e.value.lastIndexOf(",")+1)):e.value},f=function(e,t){var n;e.value="email"===e.getAttribute("type")&&null!==e.getAttribute("multiple")&&(n=e.value.lastIndexOf(","))>-1?e.value.slice(0,n)+","+t:t};if(e.addEventListener("focusin",h,!0),!a&&!l){var b,_=function(t,n){void 0!==r&&r.disconnect();var a=t.getElementsByClassName("polyfilling")[0]||v(n,t),l=g(n),i=e.createDocumentFragment(),s=e.createDocumentFragment();Array.prototype.slice.call(t.querySelectorAll("option:not(:disabled)")).sort((function(e,t){var a=e.value,l=t.value;return"url"===n.getAttribute("type")&&(a=a.replace(/(^\w+:|^)\/\//,""),l=l.replace(/(^\w+:|^)\/\//,"")),a.localeCompare(l)})).forEach((function(e){var t=e.value,n=e.getAttribute("label"),a=e.text;if(d(e,l)){var o=a.slice(0,t.length+3);a&&!n&&a!==t&&o!==t+" / "?e.textContent=t+" / "+a:e.text||(e.textContent=n||t),i.appendChild(e)}else s.appendChild(e)})),a.appendChild(i);var u=a.options.length;return a.size=u>10?10:u,a.multiple=!o&&u<2,(t.getElementsByClassName("ie9_fix")[0]||t).appendChild(s),void 0!==r&&r.observe(t,{childList:!0}),a.options},v=function(t,n){if(!(t.getAttribute("type")&&-1===i.indexOf(t.getAttribute("type"))||null===n)){var a=t.getClientRects(),l=window.getComputedStyle(t),r=e.createElement("select");if(r.setAttribute("class","polyfilling"),r.style.position="absolute",x(!1,r),r.setAttribute("tabindex","-1"),r.setAttribute("aria-live","polite"),r.setAttribute("role","listbox"),o||r.setAttribute("aria-multiselectable","false"),"block"===l.getPropertyValue("display"))r.style.marginTop="-"+l.getPropertyValue("margin-bottom");else{var s="rtl"===l.getPropertyValue("direction")?"right":"left";r.style.setProperty("margin-"+s,"-"+(a[0].width+parseFloat(l.getPropertyValue("margin-"+s)))+"px"),r.style.marginTop=parseInt(a[0].height+(t.offsetTop-n.offsetTop),10)+"px"}if(r.style.borderRadius=l.getPropertyValue("border-radius"),r.style.minWidth=a[0].width+"px",o){var u=e.createElement("option");u.textContent=n.title,u.disabled=!0,u.setAttribute("class","message"),r.appendChild(u)}return n.appendChild(r),o?r.addEventListener("change",w):r.addEventListener("click",w),r.addEventListener("blur",w),r.addEventListener("keydown",w),r.addEventListener("keypress",y),r}},y=function(t){var n=t.target,a=n.parentNode,l=e.querySelector('input[list="'+a.id+'"]');"select"===n.tagName.toLowerCase()&&null!==l&&(!t.key||"Backspace"!==t.key&&1!==t.key.length||(l.focus(),"Backspace"===t.key?(l.value=l.value.slice(0,-1),k(l)):l.value+=t.key,_(a,l)))},w=function(t){var n=t.currentTarget,a=n.parentNode,l=e.querySelector('input[list="'+a.id+'"]');if("select"===n.tagName.toLowerCase()&&null!==l){var o=t.type,i="keydown"===o&&13!==t.keyCode&&27!==t.keyCode;("change"===o||"click"===o||"keydown"===o&&(13===t.keyCode||"Tab"===t.key))&&n.value.length>0&&n.value!==a.title?(f(l,n.value),k(l),"Tab"!==t.key&&l.focus(),13===t.keyCode&&t.preventDefault(),i=!1):"keydown"===o&&27===t.keyCode&&l.focus(),x(i,n)}},k=function(t){var n;"function"==typeof Event?n=new Event("input",{bubbles:!0}):(n=e.createEvent("Event")).initEvent("input",!0,!1),t.dispatchEvent(n)},x=function(t,n){t?n.removeAttribute("hidden"):n.setAttributeNode(e.createAttribute("hidden")),n.setAttribute("aria-hidden",(!t).toString())};(b=window.HTMLInputElement)&&b.prototype&&void 0===b.prototype.list&&Object.defineProperty(b.prototype,"list",{get:function(){var t=e.getElementById(this.getAttribute("list"));return"object"==typeof this&&this instanceof b&&t&&t.matches("datalist")?t:null}}),function(e){e&&e.prototype&&void 0===e.prototype.options&&Object.defineProperty(e.prototype,"options",{get:function(){return"object"==typeof this&&this instanceof e?this.getElementsByTagName("option"):null}})}(window.HTMLElement)}}(),app.loadStateHeatMap=function(){var e=function(e){return e?app.utils.formatNumCommas(e)+" gifts":"No Gifts"},t=function(e){return e.reduce((function(e,t){return t.state&&(e[t.state.toLowerCase()]=t.donor_count),e}),{})};loadHeatMap(app.ggApiUrl+"v1/donation_reports/donors_by_state?dog_name="+app.dog.name,window.simplemaps_usmap,window.simplemaps_usmap_mapdata,e,t)},app.loadCountyHeatMap=function(e){var t=function(e){return e?Handlebars.helpers.centsToDollars(e,{hash:{hide_cents:!0}}):"No Gifts"};loadHeatMap(app.ggApiUrl+"v1/county_donations/"+app.dog.id+"/"+e,window.simplemaps_statemap,window.simplemaps_statemap_mapdata,t)},app.honeybadgerNotifications=function(e,t,n){var a={error_message:e,error_class:t,context:n};return $.post(app.ggApiUrl+"v1/honeybadger_notifications",a,null,"json")},app.landingPageScrollEvents=function(){app.custom("hide_back_to_top_btn")?$(window).scroll(_.throttle((function(){fadeHeaderBgColor()}),100)):($(window).scroll(_.throttle((function(){fadeBackToTopBtn(),fadeHeaderBgColor()}),100)),$("#back-to-top").click((function(){$("html, body").animate({scrollTop:0},500)})))};var fadeBackToTopBtn=function(){var e=$(this).scrollTop()>500?1:0;$("#back-to-top").css("opacity",e)},fadeHeaderBgColor=function(){$("header").toggleClass("transparent",$(this).scrollTop()<=0)};app.lazyLoadSection=(e,t,n="30%")=>{if(app.custom("disable_lazy_loading"))t();else{let a=(e,n)=>{e.forEach((e=>{e.isIntersecting&&(t(),n.unobserve(e.target))}))};new IntersectionObserver(a,{rootMargin:`${n} 0px`}).observe(document.querySelector(e))}},app.initLeaderboardSelector=function(e){var t=new app.Leaderboards(_.remove(e,(function(e){return e.parameters.isFilter}))),n={collection:new app.Leaderboards(e),el:".leaderboard-set-container"};app.customizations.leaderboard_selector_options?new app.CustomOptionsLeaderboardSelectorView(n):t.length?new app.FilteredLeaderboardSelectorView(_.merge(n,{filterCollection:t})):new app.LeaderboardSelectorView(n)},app.multiTransaction={create:function(e,t){var n=app.multiTransaction.data(e,t);return $.post(t.url(),n,null,"json")},data:function(e,t){var n=_.assign(t.creationParams(),{anonymous:e.get("anonymous"),donor_covered_fees:e.get("donor_covered_fees"),first_name:e.get("first_name"),hide_amount:e.get("hide_amount"),last_name:e.get("last_name"),middle_name:app.customizations.donor_middle_name?e.get("middle_name"):null,phone:e.donationPhone(),prefix:app.customizations.donor_prefix?e.get("prefix"):null}),a={address:e.donationAddress(),amount:n.amount,dog_id:app.dogBreed.donations_dog_id,donation:n,e_card_exp:e.get("e_card_exp"),e_card_id:e.get("e_card_id"),e_card_number:e.get("e_card_number"),e_card_pin:e.get("e_card_pin"),gg_tip:e.splitTip(t),payment_method:e.get("payment_method"),phone_bank_code:app.utils.getUrlParam("phone_bank_code"),plaid:e.paymentMethodIs("plaid"),recaptcha_token:e.get("recaptcha_token"),recaptcha_v3:!0,recurring_info:t.recurringInfo(),save_source:e.get("save_source"),source_id:_.get(e.get("source_for_payment"),"id"),stripe_customer_id:e.get("stripe_customer_id"),total_gg_tip:e.get("total_gg_tip"),totally_anonymous:e.get("totally_anonymous"),uri:e.get("payment_token"),user:e.userInfo()},l=e.get("business_fundraiser_id");return l&&(a.donation.business_fundraiser_id=l),a},fetchFees:function(e){var t=e.paymentMethodIs("plaid"),n=this,a=e.donations.map((function(e){return(new app.DonationFee).fetchFee(e.get("amount"),t,!1)}));$.when.apply($,a).then((function(){var t=1===e.donations.length?[arguments]:arguments,a=0;if(_.forEach(t,(function(e){var t=e[0];a+=t.fee_bp+t.fee_gg+t.fee_host})),a>e.get("total_donation")/2){var l={total_fees:a,data:e.donations.toJSON()};app.honeybadgerNotifications("Fee Calculations error","FeeError",l),n.fetchFees(e)}else e.set("total_fees",a)}))}},app.paymentMethodOptions=function(e){const t=e.model;var n={value:"credit_card",text:"Credit Card",imageName:"creditcard",disabled:!1},a={value:"daf",text:"Donor Advised Fund",imageName:"daf",disabled:t.get("total_donation")<app.custom("daf_minimum")||t.get("hasRecurring"),errorMsg:t.get("hasRecurring")?"Donor Advised Fund cannot be used with recurring "+app.dogBreed.donation_noun+"s":"Payment via Donor Advised Fund requires a minimum total "+app.dogBreed.donation_noun+" amount of "+Handlebars.helpers.centsToDollars(app.custom("daf_minimum"),{hash:{dollar_sign:!0}})},l={value:"e_card",text:"eCard",imageName:"ecard",disabled:t.get("hasRecurring"),errorMsg:"eCards cannot be used with recurring "+app.dogBreed.donation_noun+"s"},o=function(){if(!t.get("stripe_payment_request_enabled"))return!1;var e=t.get("stripe_options"),n="Mobile Pay";return e&&e.applePay?n="Apple Pay":e&&e.googlePay&&(n="Google Pay"),{value:"stripe_payment_request",text:n,imageName:"mobilepay",disabled:!1}},i=n=>{const a="paypal"===n?e.paypalBtn:e.venmoBtn
;if(!a||!app.dog.centrally_routed)return!1;const l=_.startCase(n);return{value:n,text:l,imageName:n,disabled:t.get("hasRecurring")||!a.isEligible(),errorMsg:t.get("hasRecurring")?`${l} cannot be used with recurring ${app.dogBreed.donation_noun}'s`:`${l} is not available on this browser.`}},r={value:"plaid",text:"Bank Account",imageName:"bank",disabled:t.get("total_donation")<app.plaidMinimumAmount,errorMsg:"Payment via Bank Account requires a minimum total "+app.dogBreed.donation_noun+" amount of "+Handlebars.helpers.centsToDollars(app.plaidMinimumAmount,{hash:{dollar_sign:!0}})};return[o(),n,a,l,r,i("paypal"),i("venmo")].filter((e=>e&&app.paymentMethods.includes(e.value)))},app.search={initGivingSearch:function(e,t){var n=new app.OrgSearch,a=new app.Campaigns;new app.SearchView({model:n,collection:a}),app.dogBreed.location_search_enabled&&new app.LocationSearchView({model:n}),e?app.usePagination(new app.AllOrgsView,"loadCollection"):app.customizations.search_result_placeholder?new app.PresetOrgsView:new app.RandomOrgsView,new app.ResultsView({collection:a,fallbacks:t,tmpl:"campaigns/search_list"}),app.custom("search_exporter")&&app.search.initSearchExport(a)},initSearchExport:function(e){$("#export-search-results").on("click",(function(){var t=$("#email"),n=t.val();if(app.emailRegex.test(n)){t.removeClass("is-invalid"),$(".form-text").show().text("Thank you! Your report will be sent to "+n+".");var a=e.searchParams;a.email=n,$.get(app.ggApiUrl+"/v1/csv_exports/dogs/sarasota_search",a)}else t.addClass("is-invalid"),$(".form-text").show().text("Please enter your email address.").fadeOut(2e3)}))}},app.singleTransaction={create:function(e){var t=app.singleTransaction.data(e);return $.ajax({type:"POST",url:app.ggApiUrl+"v1/multi_donations",dataType:"json",contentType:"application/json",data:JSON.stringify(t)})},data:function(e){var t=e.donations.map((function(t){return _.assign(t.creationParams(),{anonymous:e.get("anonymous"),first_name:e.get("first_name"),gg_tip:e.splitTip(t),hide_amount:e.get("hide_amount"),last_name:e.get("last_name"),middle_name:app.customizations.donor_middle_name?e.get("middle_name"):null,phone:e.donationPhone(),prefix:app.customizations.donor_prefix?e.get("prefix"):null,recurring_info:t.recurringInfo()})})),n=e.get("totally_anonymous"),a=_.sumBy(t,"amount"),l={address:e.donationAddress(),card_token:e.get("payment_token"),charge_amount:a,dog_id:app.dogBreed.donations_dog_id,donations:t,donor_covered_fees:e.get("donor_covered_fees"),payment_method:e.get("payment_method"),phone_bank_code:app.utils.getUrlParam("phone_bank_code"),plaid:e.paymentMethodIs("plaid"),recaptcha_token:e.get("recaptcha_token"),recaptcha_v3:!0,save_source:e.get("save_source"),source_id:_.get(e.get("source_for_payment"),"id"),total_gg_tip:e.get("total_gg_tip"),totally_anonymous:n,user:e.userInfo(),with:"group"},o=e.get("business_fundraiser_id");return o&&l.donations.forEach((function(e){e.business_fundraiser_id=o})),l},fetchFees:function(e){var t=e.get("total_donation"),n=e.isUsingPaypal(),a=e.paymentMethodIs("plaid"),l=this;(new app.DonationFee).fetchFee(t,a,n).then((function(n){var a=n.fee_bp+n.fee_gg+n.fee_host;if(a>t/2){var o={total_fees:a,data:e.donations.toJSON()};app.honeybadgerNotifications("Fee Calculations error","FeeError",o),l.fetchFees(e)}else e.set("total_fees",a)}))}},app.eventDispatcher=_.extend({},Backbone.Events),app.realTimeStats={connect:function(){var e=new Pusher(app.pusher.key,{cluster:app.pusher.cluster,forceTLS:!0});app.realTimeStats.openChannel(e)},openChannel:function(e){var t=e.subscribe(app.pusher.channel),n=app.custom("umbrella_stats")?"umbrella-"+app.dog.name+":stats-updated":app.dog.name+":stats-updated";t.bind(n,(function(e){"false"!==app.storage.get("animation")&&app.eventDispatcher.trigger("pusher:stats-updated",e)})),(app.dog.dog_pack_members_info&&app.dog.dog_pack_members_info.length>0?_.map(app.dog.dog_pack_members_info,(function(e){return e.name})):[app.dog.name]).forEach((function(e){t.bind(e+":donation-created",(function(e){"false"!==app.storage.get("animation")&&app.eventDispatcher.trigger("pusher:donation-created",e)}))})),t.bind(`${app.dog.name}:celebrate`,(e=>{"false"!==app.storage.get("animation")&&app.eventDispatcher.trigger("pusher:celebrate",e)}))}};