PageSourceSearch

https://static-prod.mightycause.com/mc-client/chunk-4M5MWCKD.js

js mightycause.com collected 2026-09-24 07:16:17 UTC 39,022 bytes, 8 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e661a781-539a-57ff-bd7a-1adb3f0695e8")}catch(e){}}();
3import{a as _e}from"./chunk-BHLBXEGJ.js";import{a as lt}from"./chunk-B7XOMD4F.js";import{a as Te}from"./chunk-CMSUN764.js";import{a as ge}from"./chunk-6H5XAIK2.js";import"./chunk-5UK6QKW4.js";import{a as at}from"./chunk-F7R2ZQNL.js";import{a as ot}from"./chunk-PVICISUF.js";import{a as rt}from"./chunk-O5N53BEO.js";import{a as Me}from"./chunk-W7NCBQUV.js";import{a as ue}from"./chunk-6HTRP6U7.js";import"./chunk-BSKHYKXK.js";import"./chunk-I5X7DE55.js";import"./chunk-ETZRMDHS.js";import"./chunk-NPR23P7I.js";import"./chunk-BVS47MGJ.js";import"./chunk-WDJPTZC5.js";import"./chunk-XZFXRJRY.js";import"./chunk-AAFBOZHS.js";import"./chunk-T5Q4IEHB.js";import"./chunk-A7W5NRHC.js";import"./chunk-NTJ4CINI.js";import"./chunk-6UNLROVI.js";import{a as Ze,b as et}from"./chunk-XBHOMARE.js";import"./chunk-DSHWJW7U.js";import{a as it}from"./chunk-FLZNG7WM.js";import{b as tt}from"./chunk-Y53ZYOIU.js";import"./chunk-3YM57F2T.js";import{a as nt}from"./chunk-4MMRLOE7.js";import"./chunk-4OKMPB3H.js";import{a as me,b as de,c as pe}from"./chunk-HJXQJEZE.js";import{b as fe,c as Xe}from"./chunk-I664YVIA.js";import"./chunk-YSTTJCSR.js";import"./chunk-CN4EGA4I.js";import"./chunk-Z5M2FKAZ.js";import"./chunk-5NDSS4DO.js";import"./chunk-TTUVP5SZ.js";import"./chunk-5CMUHLSG.js";import"./chunk-TNAGEFXD.js";import"./chunk-YH4N3M4B.js";import"./chunk-BHOSW24E.js";import"./chunk-56LBQIQP.js";import"./chunk-IKWIL4NU.js";import{a as Y}from"./chunk-5K5PYV5V.js";import{a as L}from"./chunk-TDGVUJZJ.js";import{a as F,b as G,d as Ge,e as k,f as V,g as D,h as O,i as A}from"./chunk-MWF7JXGK.js";import"./chunk-UJXOZNZV.js";import{a as $e,b as Ke}from"./chunk-KS3Q7H57.js";import"./chunk-DAOAKQM2.js";import"./chunk-MGCQ5S6F.js";import"./chunk-MJXNRHWH.js";import{a as ae,b as re,c as le}from"./chunk-BUOPWRDV.js";import{d as J,e as q}from"./chunk-UQU3EU23.js";import"./chunk-346ISJSG.js";import{b as He,d as Qe}from"./chunk-CNRKNNWP.js";import{d as W}from"./chunk-L6Z7ZO7O.js";import"./chunk-TLCCWCNW.js";import{a as z}from"./chunk-5SJALNJN.js";import{a as j,b as ye,c as ne,d as oe,i as U}from"./chunk-XEY266ER.js";import"./chunk-SEDEP525.js";import"./chunk-SECBI6OV.js";import"./chunk-LXBG4CPT.js";import"./chunk-56KVT3OQ.js";import{A as Je,C as xe,G as qe,H as ie,I as Ye,b as be,d as Ne,g as N,h as We,n as te,o as je,r as Ue,u as ze}from"./chunk-MF7VZYLI.js";import{a as B,b as P,e as R}from"./chunk-NFMDOWTR.js";import"./chunk-QE6DXY66.js";import{a as ce,b as se}from"./chunk-B5YZVWIB.js";import"./chunk-HCSN2NMS.js";import"./chunk-FDIRDMLL.js";import"./chunk-XQLUXGKM.js";import"./chunk-3JHJJCIF.js";import"./chunk-J4X36CU5.js";import"./chunk-X3ZU2Z3D.js";import"./chunk-QZXCI4ZV.js";import"./chunk-VO633UWN.js";import{f as I}from"./chunk-XIKGSSI2.js";import"./chunk-MNZQGPDO.js";import{g as Pe,j as Se,k as Re,p as Le}from"./chunk-NK2KZLT6.js";import"./chunk-MU5APV2L.js";import"./chunk-KRFZY2QT.js";import"./chunk-DFSGG2NH.js";import"./chunk-MREDPIUE.js";import"./chunk-BWICLBYB.js";import"./chunk-TYTNPDEC.js";import"./chunk-WAPZ5LEW.js";import{L as ve}from"./chunk-746D4QTP.js";import{Ac as h,Dc as s,Ib as b,M as X,Nc as H,Pc as x,Qc as Ae,R as Z,Sc as l,Ua as he,Uc as S,Yc as T,Zc as E,_c as w,c as K,cc as m,dc as d,ec as ee,fc as De,gc as y,hc as M,hd as Be,ic as f,jc as n,kc as o,lc as C,oc as Oe,qa as p,qb as r,uc as v,va as g,wa as _}from"./chunk-BZJI6Z2X.js";import{a as Q,b as $}from"./chunk-CS7K6LXP.js";function _t(t,c){if(t&1&&(n(0,"div",2)(1,"span",5),C(2,"i",6),o(),n(3,"span",5),C(4,"i",6),o(),n(5,"span",5),C(6,"i",6),o()()),t&2){let e=s();r(),x("active",e.currentStep===1),r(2),x("active",e.currentStep===2),r(2),x("active",e.currentStep===3)}}function ft(t,c){t&1&&(n(0,"span"),l(1,"Create a Fundraising Event"),o())}function Ct(t,c){t&1&&(n(0,"span"),l(1,"Where will the funds go?"),o())}function ht(t,c){t&1&&(n(0,"span"),l(1,"Build your Event"),o())}function vt(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",7)(1,"p",8),l(2," Events give you all the tools you need to coordinate large-scale peer-to-peer (P2P) fundraising campaigns involving multiple fundraising Teams, multiple solo fundraisers, or both. You also get tons of powerful, event-specific features designed for managing, monitoring, and maximizing impact. "),o()(),n(3,"mat-dialog-actions",9)(4,"button",10),l(5," Other solutions "),o(),n(6,"button",11),h("click",function(){g(e);let i=s();return _(i.onStepOneSubmit())}),l(7," Get started "),o()()}t&2&&(r(4),f("mat-dialog-close","otherSolutions"))}function St(t,c){if(t&1){let e=v();n(0,"div",17)(1,"app-ms-toggle",19),w("ngModelChange",function(i){g(e);let u=s(2);return E(u.isMultiCauseCfr,i)||(u.isMultiCauseCfr=i),_(i)}),l(2," Charitable causes only "),o()()}if(t&2){let e=s(2);r(),T("ngModel",e.isMultiCauseCfr)}}function bt(t,c){t&1&&(n(0,"mat-hint"),l(1,"Sorry, we couldn't find anything"),o())}function xt(t,c){if(t&1&&(n(0,"mat-option",23),C(1,"app-org-suggestion-label",24),o()),t&2){let e=c.$implicit;f("value",e),r(),f("title",e.title)("details",e.details)}}function yt(t,c){if(t&1){let e=v();n(0,"mat-form-field")(1,"mat-label"),l(2,"Cause"),o(),n(3,"input",20),h("input",function(i){g(e);let u=s(3);return _(u.onSearchInputChange(i.target.value))}),o(),C(4,"mat-icon",21),m(5,bt,2,0,"mat-hint"),n(6,"mat-autocomplete",22,0),h("optionSelected",function(i){g(e);let u=s(3);return _(u.onOptionSelected(i))}),y(8,xt,2,3,"mat-option",23,ee),o()()}if(t&2){let e=H(7),a=s(3);r(3),f("matAutocomplete",e),r(2),d(a.search.resultEmpty?5:-1),r(3),M(a.search.orgSuggestions)}}function Mt(t,c){if(t&1){let e=v();
3n(0,"div")(1,"p",25),l(2,"Your event will benefit:"),o(),n(3,"div",26)(4,"p",27),l(5),o(),n(6,"span",28)(7,"button",29),h("click",function(){g(e);let i=s(3);return _(i.org=null)}),C(8,"i",30),o()()()()}if(t&2){let e=s(3);r(5),S(" ",e.org.title," ")}}function Tt(t,c){if(t&1&&(n(0,"div"),m(1,yt,10,2,"mat-form-field")(2,Mt,9,1,"div"),o()),t&2){let e=s(2);r(),d(e.org?2:1)}}function Et(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",7)(1,"p",8),l(2,"Choose a beneficiary for the funds raised through your event."),o(),n(3,"mat-radio-group",12),w("ngModelChange",function(i){g(e);let u=s();return E(u.beneficiary,i)||(u.beneficiary=i),_(i)}),n(4,"div",13)(5,"div",14)(6,"mat-radio-button",15),l(7," Single beneficiary "),o()(),n(8,"div",14)(9,"mat-radio-button",16),l(10," Multiple beneficiaries "),o()()()(),m(11,St,3,1,"div",17),m(12,Tt,3,1,"div"),o(),n(13,"mat-dialog-actions",9)(14,"button",18),h("click",function(){g(e);let i=s();return _(i.currentStep=3)}),l(15," Continue "),o()()}if(t&2){let e=s();r(3),T("ngModel",e.beneficiary),r(8),d(e.beneficiary==="multiple"&&e.brand.enable_personal_fundraising?11:-1),r(),d(e.beneficiary==="single"?12:-1),r(2),f("disabled",e.beneficiary==="single"&&!(e.org!=null&&e.org.id))}}function wt(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",7)(1,"p",8),l(2," Customize your campaign page to show your passion for your cause, and start raising funds. "),o()(),n(3,"mat-dialog-actions",9)(4,"button",31),h("click",function(){g(e);let i=s();return _(i.create())}),l(5," Launch page manager "),o()()}if(t&2){let e=s();r(4),f("active",e.processing)}}var mt=(()=>{class t{appService=p(I);searchService=p(ue);teamService=p(_e);dialogRef=p(F);currentStep=1;brand;beneficiary="single";isMultiCauseCfr=!0;org;search={params:{per_page:10,searchSortOrder:"title",type:"orgPicker"},orgSuggestions:[],resultEmpty:!1};processing=!1;inputChangeObserver;data=p(G);constructor(){this.brand=this.appService.currentBrand}onSearchInputChange(e){this.inputChangeObserver||new K(a=>{this.inputChangeObserver=a}).pipe(X(500)).pipe(Z()).subscribe(a=>{a===""?(this.search.resultEmpty=!1,this.search.orgSuggestions=[]):this.updateResults(a)}),this.inputChangeObserver.next(e)}onOptionSelected(e){this.org=e.option.value}onStepOneSubmit(){this.data?.orgId?(this.org={id:this.data.orgId},this.currentStep=3):this.currentStep=2}create(){this.processing=!0;let e={kind:"event",allow_team_participants:!0};this.beneficiary==="single"?(e.org_id=this.org.id,e.campaign_type="single_c
3ause_org"):this.isMultiCauseCfr?e.campaign_type="multi_cause_cfr":e.campaign_type="multi_cause",this.teamService.createTeam(e).subscribe(a=>{this.processing=!1,this.dialogRef.close(a)},()=>{this.processing=!1})}updateResults(e){let a=$(Q({},this.search.params),{term:e});this.searchService.suggestStory(a).subscribe(i=>{this.search.orgSuggestions=i,this.search.orgSuggestions.length===0?this.search.resultEmpty=!0:this.search.resultEmpty=!1})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=b({type:t,selectors:[["app-create-event"]],decls:10,vars:7,consts:[["orgAutocomplete","matAutocomplete"],["mat-dialog-title",""],[1,"d-flex","justify-content-center","progress-dots"],["mat-dialog-close","","mat-icon-button","","aria-label","close",1,"dialog-close"],[1,"fa-solid","fa-times"],[1,"mx-1"],[1,"fa-solid","fa-circle"],["appDialogScroll",""],[1,"mt-2"],["align","end"],["mat-button","","color","accent","type","button",1,"custom","auto",3,"mat-dialog-close"],["mat-button","","color","primary","type","button",1,"custom","auto",3,"click"],["aria-label","Select beneficiary",3,"ngModelChange","ngModel"],[1,"row"],[1,"col-12","col-md-6"],["value","single","color","primary"],["value","multiple","color","primary"],[1,"text-center","bg-light","rounded","p-2","mt-3"],["mat-button","","color","primary","type","button",1,"custom","auto",3,"click","disabled"],[3,"ngModelChange","ngModel"],["type","text","placeholder","Search nonprofits by name or EIN","aria-label","Search nonprofits by name or EIN","matInput","",3,"input","matAutocomplete"],["matPrefix","","fontSet","fa-solid","fontIcon","fa-search"],[3,"optionSelected"],[1,"multi-line",3,"value"],[3,"title","details"],[1,"overline","mt-3","mb-0","text-center"],[1,"d-flex","align-items-center","justify-content-center"],[1,"mb-0"],[1,"ms-1"],["mat-icon-button","","color","accent","aria-label","remove","type","button",3,"click"],[1,"fa-solid","fa-times-circle"],["mat-button","","color","primary","type","button","appLoadingBtn","",1,"custom","auto",3,"click","active"]],template:function(a,i){a&1&&(n(0,"h3",1),m(1,_t,7,6,"div",2),m(2,ft,2,0,"span"),m(3,Ct,2,0,"span"),m(4,ht,2,0,"span"),o(),n(5,"button",3),C(6,"i",4),o(),m(7,vt,8,1),m(8,Et,16,4),m(9,wt,6,1)),a&2&&(r(),d(i.data!=null&&i.data.orgId?-1:1),r(),d(i.currentStep===1?2:-1),r(),d(i.currentStep===2?3:-1),r(),d(i.currentStep===3?4:-1),r(3),d(i.currentStep===1?7:-1),r(),d(i.currentStep===2?8:-1),r(),d(i.currentStep===3?9:-1))},dependencies:[ie,N,te,le,ae,W,re,R,P,B,A,k,V,O,D,z,U,j,ne,oe,se,ce,q,J,pe,me,de,Me,L,Y,ge],styles:[".progress-dots[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;font-size:8px;color:rgba(var(--mc-secondary-500),.2)}.progress-dots[_ngcontent-%COMP%]   span.active[_ngcontent-%COMP%]{color:var(--mc-secondary-500)}"]})}return t})();function It(t,c){if(t&1&&(n(0,"div",2)(1,"span",5),C(2,"i",6),o(),n(3,"span",5),C(4,"i",6),o(),n(5,"span",5),C(6,"i",6),o()()),t&2){let e=s();r(),x("active",e.currentStep===1),r(2),x("active",e.currentStep===2),r(2),x("active",e.currentStep===3)}}function Ft(t,c){t&1&&(n(0,"span"),l(1,"Create a Fundraiser"),o())}function kt(t,c){t&1&&(n(0,"span"),l(1,"Where will the funds go?"),o())}function Vt(t,c){t&1&&(n(0,"span"),l(1,"Build your fundraiser"),o())}function Dt(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",7)(1,"p",8),l(2," Fundraisers are the easiest way to raise money online. A simple, modern, and mobile-friendly donation website. Customize it to your heart's content and share with your friends, family, and networks. "),o()(),n(3,"mat-dialog-actions",9)(4,"button",10),l(5," Other solutions "),o(),n(6,"button",11),h("click",function(){g(e);let i=s();return _(i.onStepOneSubmit())}),l(7," Get started "),o()()}t&2&&(r(4),f("mat-dialog-close","otherSolutions"))}function Ot(t,c){t&1&&(n(0,"div",8)(1,"p"),l(2,"You can raise money for any eligible certified nonprofit organization."),o()())}function At(t,c){if(t&1){let e=v();n(0,"div",8)(1,"p"),l(2,"You can raise money for certified nonprofit organizations or personal causes."),o(),n(3,"p",14),l(4,"Cause type"),o(),n(5,"mat-radio-group",15),w("ngModelChange",function(i){g(e);let u=s(2);return E(u.type,i)||(u.type=i),_(i)}),n(6,"div",16)(7,"div",17)(8,"mat-radio-button",18),l(9," Nonprofit organization "),o()(),n(10,"div",17)(11,"mat-radio-button",19),l(12," Personal cause "),o()()()()()}if(t&2){let e=s(2);r(5),T("ngModel",e.type)}}function Bt(t,c){t&1&&(n(0,"div",12)(1,"p",20),l(2," Personal cause fundraisers require a valid bank account in order to receive the funds raised. "),o()())}function Pt(t,c){t&1&&(n(0,"mat-hint"),l(1,"Sorry, we couldn't find anything"),o())}function Rt(t,c){if(t&1&&(n(0,"mat-option",24),C(1,"app-org-suggestion-label",25),o()),t&2){let e=c.$implicit;f("value",e),r(),f("title",e.title)("details",e.details)}}function Lt(t,c){if(t&1){let e=v();n(0,"mat-form-field")(1,"mat-label"),l(2,"Cause"),o(),n(3,"input",21),h("input",function(i){g(e);let u=s(3);return _(u.onSearchInputChange(i.target.value))}),o(),C(4,"mat-icon",22),m(5,Pt,2,0,"mat-hint"),n(6,"mat-autocomplete",23,0),h("optionSelected",function(i){g(e);let u=s(3);return _(u.onOptionSelected(i))}),y(8,Rt,2,3,"mat-option",24,ee),o()()}if(t&2){let e=H(7),a=s(3);r(3),f("matAutocomplete",e),r(2),d(a.search.resultEmpty?5:-1),r(3),M(a.search.orgSuggestions)}}function Gt(t,c){if(t&1){let e=v();n(0,"div")(1,"p",26),l(2,"Selected nonprofit"),o(),n(3,"div",27)(4,"p",20),l(5),o(),n(6,"span",28)(7,"button",29),h("click",function(){g(e);let i=s(3);return _(i.org=null)}),C(8,"i",30),o()()()()}if(t&2){let e=s(3);r(5),S(" ",e.org.title," ")}}function Nt(t,c){if(t&1&&(n(0,"div"),m(1,Lt,10,2,"mat-form-field")(2,Gt,9,1,"div"),o()),t&2){let e=s(2);r(),d(e.org?2:1)}}function Wt(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",7),m(1,Ot,3,0,"div",8),m(2,At,13,1,"div",8),m(3,Bt,3,0,"div",12),m(4,Nt,3,1,"div"),o(),n(5,"mat-dialog-actions",9)(6,"button",13),h("click",function(){g(e);let i=s();return _(i.currentStep=3)}),l(7," Continue "),o()()}if(t&2){let e=s();r(),d(!(e.brand!=null&&e.brand.enable_personal_fundraising)||!e.causeTypeSelector?1:-1),r(),d(e.brand!=null&&e.brand.enable_personal_fundraising&&e.causeTypeSelector?2:-1),r(),d(e.type==="personal"?3:-1),r(),d(e.type==="nonprofit"?4:-1),r(2),f("disabled",e.type==="nonprofit"&&!(e.org!=null&&e.org.id))}}function jt(t,c){if(t&1){let e=v();n(0,"div",32)(1,"mat-checkbox",34),w("ngModelChange",function(i){g(e);let u=s(2);return E(u.createFromTemplate,i)||(u.createFromTemplate=i),_(i)}),l(2),o(),n(3,"span",35),C(4,"i",36),o()()}if(t&2){let e=s(2);r(),T("ngModel",e.createFromTemplate),r(),S(" Use template provided by ",(e.data==null?null:e.data.kind)||"organization"," "),r(),f("matTooltip",`Select this option to start your fundraiser from a template provided by the ${(e.data==null?null:e.data.kind)||"organization"}.`)}}function Ut(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",31),h("appOnInit",function(){g(e);let i=s();return _(i.onStepThreeInit())}),n(1,"p",8),l(2," Customize your campaign page to show your passion for your cause, and start raising funds. "),o(),m(3,jt,5,3,"div",32),o(),n(4,"mat-dialog-actions",9)(5,"button",33),h("click",function(){g(e);let i=s();return _(i.create())}),l(6," Launch page manager "),o()()}if(t&2){let e=s();r(3),d(e.activeTemplate&&!(e.data!=null&&e.data.useTemplateId)?3:-1),r(2),f("disabled",e.loadingActiveTemplate)("active",e.processing)}}var dt=(()=>{class t{appService=p(I);searchService=p(ue);storyService=p(Te);frTemplateService=p(lt);dialogRef=p(F);currentStep=1;brand;type="nonprofit";causeTypeSelector=!0;org;campaignUrn=null;activeTemplate=!1;createFromTemplate=!1;search={params:{per_page:10,searchSortOrder:"title",type:"orgPicker"},orgSuggestions:[],resultEmpty:!1};loadingActiveTemplate=!1;processing=!1;inputChangeObserver;data=p(G);constructor(){this.brand=this.appService.currentBrand,this.data?.campaignUrn&&(this.campaignUrn=this.data.campaignUrn,this.data?.campaignType==="single_c
3ause_org"&&this.data?.orgId?(this.org={id:this.data.orgId,urn:this.data.orgUrn,title:this.data.orgName},this.currentStep=3):(this.causeTypeSelector=this.data.campaignType!=="multi_cause_cfr",this.currentStep=2))}onStepOneSubmit(){this.data?.orgId?(this.org={id:this.data.orgId,urn:this.data.orgUrn,title:this.data.orgName},this.currentStep=3):this.currentStep=2}onStepThreeInit(){if(this.campaignUrn||this.org?.urn){if(this.data?.useTemplateId)return;this.loadingActiveTemplate=!0,this.frTemplateService.activeTemplate(this.campaignUrn?this.campaignUrn:this.org.urn).subscribe(e=>{this.activeTemplate=e.active_template,this.activeTemplate&&(this.createFromTemplate=!0),this.loadingActiveTemplate=!1},()=>{this.loadingActiveTemplate=!1})}}onSearchInputChange(e){this.inputChangeObserver||new K(a=>{this.inputChangeObserver=a}).pipe(X(500)).pipe(Z()).subscribe(a=>{a===""?(this.search.resultEmpty=!1,this.search.orgSuggestions=[]):this.updateResults(a)}),this.inputChangeObserver.next(e)}onOptionSelected(e){this.org=e.option.value}create(){this.processing=!0;let e={};this.type==="personal"?(e.type="pfr",e.pfr_type="myself"):(e.type="npo",e.org_id=this.org.id,e.create_from_template=this.data?.useTemplateId?!0:this.createFromTemplate,e.use_template_id=this.data?.useTemplateId?this.data.useTemplateId:null),this.campaignUrn&&(e.campaign_urn=this.campaignUrn),this.storyService.createStory(e).subscribe(a=>{this.processing=!1,this.dialogRef.close(a)},()=>{this.processing=!1})}updateResults(e){let a=$(Q({},this.search.params),{term:e});this.searchService.suggestStory(a).subscribe(i=>{this.search.orgSuggestions=i,this.search.orgSuggestions.length===0?this.search.resultEmpty=!0:this.search.resultEmpty=!1})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=b({type:t,selectors:[["app-create-fundraiser"]],decls:10,vars:7,consts:[["orgAutocomplete","matAutocomplete"],["mat-dialog-title",""],[1,"d-flex","justify-content-center","progress-dots"],["mat-dialog-close","","mat-icon-button","","aria-label","close",1,"dialog-close"],[1,"fa-solid","fa-times"],[1,"mx-1"],[1,"fa-solid","fa-circle"],["appDialogScroll",""],[1,"mt-2"],["align","end"],["mat-button","","color","accent","type","button",1,"custom","auto",3,"mat-dialog-close"],["mat-button","","color","primary","type","button",1,"custom","auto",3,"click"],[1,"text-center","bg-light","rounded","p-2","mt-3"],["mat-button","","color","primary","type","button",1,"custom","auto",3,"click","disabled"],[1,"overline","mb-0"],["aria-label","Select Cause type",3,"ngModelChange","ngModel"],[1,"row"],[1,"col-12","col-md-6"],["value","nonprofit","color","primary"],["value","personal","color","primary"],[1,"mb-0"],["type","text","placeholder","Search nonprofits by name or EIN","aria-label","Search nonprofits by name or EIN","matInput","",3,"input","matAutocomplete"],["matPrefix","","fontSet","fa-solid","fontIcon","fa-search"],[3,"optionSelected"],[1,"multi-line",3,"value"],[3,"title","details"],[1,"overline","mt-3","mb-0","text-center"],[1,"d-flex","align-items-center","justify-content-center"],[1,"ms-1"],["mat-icon-button","","color","accent","aria-label","remove","type","button",3,"click"],[1,"fa-solid","fa-times-circle"],["appDialogScroll","",3,"appOnInit"],[1,"text-center"],["mat-button","","color","primary","type","button","appLoadingBtn","",1,"custom","auto",3,"click","disabled","active"],["color","primary",3,"ngModelChange","ngModel"],["matTooltipClass","tooltip shadow-sm",1,"ms-1",3,"matTooltip"],[1,"fa-light","fa-circle-info"]],template:function(a,i){a&1&&(n(0,"h3",1),m(1,It,7,6,"div",2),m(2,Ft,2,0,"span"),m(3,kt,2,0,"span"),m(4,Vt,2,0,"span"),o(),n(5,"button",3),C(6,"i",4),o(),m(7,Dt,8,1),m(8,Wt,8,5),m(9,Ut,7,3)),a&2&&(r(),d(i.data!=null&&i.data.orgId?-1:1),r(),d(i.currentStep===1?2:-1),r(),d(i.currentStep===2?3:-1),r(),d(i.currentStep===3?4:-1),r(3),d(i.currentStep===1?7:-1),r(),d(i.currentStep===2?8:-1),r(),d(i.currentStep===3?9:-1))},dependencies:[ie,N,te,le,ae,W,re,R,P,B,et,Ze,A,k,V,O,D,z,U,j,ne,oe,se,ce,q,J,pe,me,de,it,tt,L,Y,at,ge],styles:[".progress-dots[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;font-size:8px;color:rgba(var(--mc-secondary-500),.2)}.progress-dots[_ngcontent-%COMP%]   span.active[_ngcontent-%COMP%]{color:var(--mc-secondary-500)}"]})}return t})();var zt=()=>["/fundraise/solutions"],Jt=(t,c)=>c.value;function qt(t,c){if(t&1&&(n(0,"span"),l(1),o()),t&2){let e=s();r(),S(" This page will be featured on the ",e.brand.giving_event_details.name," event page. ")}}function Yt(t,c){t&1&&(n(0,"mat-error"),l(1," Group name is "),n(2,"strong"),l(3,"required"),o()())}function Ht(t,c){if(t&1&&(n(0,"mat-option",10),l(1),o()),t&2){let e=c.$implicit;f("value",e.value),r(),S(" ",e.viewValue," ")}}function Qt(t,c){if(t&1&&(n(0,"div")(1,"mat-form-field")(2,"mat-label"),l(3,"Group Type"),o(),n(4,"mat-select",9),y(5,Ht,2,2,"mat-option",10,Jt),o()()()),t&2){let e=s();r(5),M(e.typeLabelItems)}}var pt=(()=>{class t{appService=p(I);fb=p(qe);groupService=p(ot);dialogRef=p(F);brand;typeLabelItems=[];processing=!1;createGroupForm=this.fb.group({name:["",Ne.required],type:[""]});platformId=p(he);constructor(){this.brand=this.appService.currentBrand}ngOnInit(){ve(this.platformId)&&this.fetchTypeLables()}
3create(){if(this.createGroupForm.invalid)return;this.processing=!0;let e={group:{title:this.createGroupForm.value.name,type_label:this.createGroupForm.value.type,kind:"group"}};this.groupService.create(e).subscribe(a=>{this.processing=!1,this.dialogRef.close(a)},()=>{this.processing=!1})}fetchTypeLables(){this.groupService.fetchTypeLabels().subscribe(e=>{e.forEach(a=>{this.typeLabelItems.push({value:a,viewValue:a})})})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=b({type:t,selectors:[["app-create-group"]],decls:20,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-close","","mat-icon-button","","aria-label","close",1,"dialog-close"],[1,"fa-solid","fa-times"],[3,"ngSubmit","formGroup"],["appDialogScroll",""],["type","text","id","groupName","matInput","","formControlName","name","autocomplete","off","maxlength","75"],["align","end"],["mat-button","","color","accent",1,"custom","auto",3,"routerLink"],["mat-raised-button","","color","primary","appLoadingBtn","",1,"custom","auto",3,"active"],["formControlName","type"],[3,"value"]],template:function(a,i){a&1&&(n(0,"h3",0),l(1,"Make a Group Giving Page"),o(),n(2,"button",1),C(3,"i",2),o(),n(4,"form",3),h("ngSubmit",function(){return i.create()}),n(5,"mat-dialog-content",4)(6,"p"),l(7," You are about to start a group giving page! You can send your colleagues here to participate in charitable giving as a group. "),m(8,qt,2,1,"span"),o(),n(9,"mat-form-field")(10,"mat-label"),l(11,"Group Name"),o(),C(12,"input",5),m(13,Yt,4,0,"mat-error"),o(),m(14,Qt,7,0,"div"),o(),n(15,"mat-dialog-actions",6)(16,"a",7),l(17," Other solutions "),o(),n(18,"button",8),l(19," Continue "),o()()()),a&2&&(r(4),f("formGroup",i.createGroupForm),r(4),d(i.brand.giving_event_details!=null&&i.brand.giving_event_details.name?8:-1),r(5),d(i.createGroupForm.controls.name.errors&&i.createGroupForm.controls.name.errors.required?13:-1),r(),d(i.typeLabelItems.length>0?14:-1),r(2),f("routerLink",Be(6,zt)),r(2),f("active",i.processing))},dependencies:[Ye,je,be,N,We,xe,Ue,ze,Le,Re,R,P,B,A,k,V,O,D,z,U,j,ye,q,J,Qe,He,W,L,Y],encapsulation:2})}return t})();function $t(t,c){if(t&1&&(n(0,"div",3)(1,"span",7),C(2,"i",8),o(),n(3,"span",7),C(4,"i",8),o(),n(5,"span",7),C(6,"i",8),o()()),t&2){let e=s();r(),x("active",e.currentStep===1),r(2),x("active",e.currentStep===2),r(2),x("active",e.currentStep===3)}}function Kt(t,c){t&1&&(n(0,"p",4),l(1,"Create a Fundraising Team"),o())}function Xt(t,c){t&1&&(n(0,"p",4),l(1,"Where will the funds go?"),o())}function Zt(t,c){t&1&&(n(0,"p",4),l(1,"Name your Team"),o())}function ei(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",9)(1,"p",10),l(2," Teams bring individual fundraisers together on one page. Ideal for organizing a group of people fundraising toward a collective goal, Teams come with a leaderboard for tracking progress among members (and inspiring friendly competition). "),o(),n(3,"p",11),l(4,"Teams are for fundraising together."),o()(),n(5,"mat-dialog-actions",12)(6,"button",13),l(7," Other solutions "),o(),n(8,"button",14),h("click",function(){g(e);let i=s();return _(i.onStepOneSubmit())}),l(9," Get started "),o()()}t&2&&(r(6),f("mat-dialog-close","otherSolutions"))}function ti(t,c){if(t&1){let e=v();n(0,"div",21)(1,"app-ms-toggle",23),w("ngModelChange",function(i){g(e);let u=s(2);return E(u.isMultiCauseCfr,i)||(u.isMultiCauseCfr=i),_(i)}),l(2," Charitable causes only "),o()()}if(t&2){let e=s(2);r(),T("ngModel",e.isMultiCauseCfr)}}function ii(t,c){t&1&&(n(0,"mat-hint"),l(1,"Sorry, we couldn't find anything"),o())}function ni(t,c){if(t&1&&(n(0,"mat-option",27),C(1,"app-org-suggestion-label",28),o()),t&2){let e=c.$implicit;f("value",e),r(),f("title",e.title)("details",e.details)}}function oi(t,c){if(t&1){let e=v();n(0,"mat-form-field")(1,"mat-label"),l(2,"Cause"),o(),n(3,"input",24),h("input",function(i){g(e);let u=s(3);return _(u.onSearchInputChange(i.target.value))}),o(),C(4,"mat-icon",25),m(5,ii,2,0,"mat-hint"),n(6,"mat-autocomplete",26,0),h("optionSelected",function(i){g(e);let u=s(3);return _(u.onOptionSelected(i))}),y(8,ni,2,3,"mat-option",27,ee),o()()}if(t&2){let e=H(7),a=s(3);r(3),f("matAutocomplete",e),r(2),d(a.search.resultEmpty?5:-1),r(3),M(a.search.orgSuggestions)}}function ai(t,c){if(t&1){let e=v();
3n(0,"div")(1,"p",29),l(2,"Your team will benefit:"),o(),n(3,"div",30)(4,"p",4),l(5),o(),n(6,"span",31)(7,"button",32),h("click",function(){g(e);let i=s(3);return _(i.org=null)}),C(8,"i",33),o()()()()}if(t&2){let e=s(3);r(5),S(" ",e.org.title," ")}}function ri(t,c){if(t&1&&(n(0,"div"),m(1,oi,10,2,"mat-form-field")(2,ai,9,1,"div"),o()),t&2){let e=s(2);r(),d(e.org?2:1)}}function li(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",9)(1,"p",15),l(2," Choose the beneficiary for the funds you raise. By default, everyone who joins your Team as a fundraiser will raise money for the same cause "),o(),n(3,"mat-radio-group",16),w("ngModelChange",function(i){g(e);let u=s();return E(u.beneficiary,i)||(u.beneficiary=i),_(i)}),n(4,"div",17)(5,"div",18)(6,"mat-radio-button",19),l(7," Single beneficiary "),o()(),n(8,"div",18)(9,"mat-radio-button",20),l(10," Multiple beneficiaries "),o()()()(),m(11,ti,3,1,"div",21),m(12,ri,3,1,"div"),o(),n(13,"mat-dialog-actions",12)(14,"button",22),h("click",function(){g(e);let i=s();return _(i.currentStep=3)}),l(15," Continue "),o()()}if(t&2){let e=s();r(3),T("ngModel",e.beneficiary),r(8),d(e.beneficiary==="multiple"&&e.brand.enable_personal_fundraising?11:-1),r(),d(e.beneficiary==="single"?12:-1),r(2),f("disabled",e.beneficiary==="single"&&!(e.org!=null&&e.org.id))}}function ci(t,c){t&1&&(n(0,"mat-error"),l(1," Enter a Team name. You can change this later. "),o())}function si(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",9)(1,"div",15)(2,"div",34)(3,"mat-form-field")(4,"mat-label"),l(5,"Team Name"),o(),n(6,"input",35,1),w("ngModelChange",function(i){g(e);let u=s();return E(u.teamName,i)||(u.teamName=i),_(i)}),o(),n(8,"mat-hint",12),l(9),o(),m(10,ci,2,0,"mat-error"),o()(),n(11,"p",15),l(12," Customize your campaign page to show your passion for your cause, and start raising funds. "),o()()(),n(13,"mat-dialog-actions",12)(14,"button",36),h("click",function(){g(e);let i=s();return _(i.create())}),l(15," Launch page manager "),o()()}if(t&2){let e=H(7),a=s();r(6),T("ngModel",a.teamName),r(3),S("",(a.teamName==null?null:a.teamName.length)||0,"/50"),r(),d(e.invalid&&e.touched?10:-1),r(4),f("disabled",e.invalid)("active",a.processing)}}var ut=(()=>{class t{appService=p(I);searchService=p(ue);teamService=p(_e);dialogRef=p(F);currentStep=1;brand;beneficiary="single";isMultiCauseCfr=!0;org;search={params:{per_page:10,searchSortOrder:"title",type:"orgPicker"},orgSuggestions:[],resultEmpty:!1};processing=!1;inputChangeObserver;teamName="";data=p(G);constructor(){this.brand=this.appService.currentBrand}onSearchInputChange(e){this.inputChangeObserver||new K(a=>{this.inputChangeObserver=a}).pipe(X(500)).pipe(Z()).subscribe(a=>{a===""?(this.search.resultEmpty=!1,this.search.orgSuggestions=[]):this.updateResults(a)}),this.inputChangeObserver.next(e)}onOptionSelected(e){this.org=e.option.value}onStepOneSubmit(){this.data?.orgId?(this.org={id:this.data.orgId},this.currentStep=3):this.currentStep=2}create(){this.processing=!0;let e={kind:"team",title:this.teamName};this.beneficiary==="single"?(e.org_id=this.org.id,e.campaign_type="single_c
3ause_org"):this.isMultiCauseCfr?e.campaign_type="multi_cause_cfr":e.campaign_type="multi_cause",this.data?.campaignUrn&&(e.event_urn=this.data.campaignUrn),this.teamService.createTeam(e).subscribe(a=>{this.processing=!1,this.dialogRef.close(a)},()=>{this.processing=!1})}updateResults(e){let a=$(Q({},this.search.params),{term:e});this.searchService.suggestStory(a).subscribe(i=>{this.search.orgSuggestions=i,this.search.orgSuggestions.length===0?this.search.resultEmpty=!0:this.search.resultEmpty=!1})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=b({type:t,selectors:[["app-create-team"]],decls:10,vars:7,consts:[["orgAutocomplete","matAutocomplete"],["teamNameInput","ngModel"],["mat-dialog-title",""],[1,"d-flex","justify-content-center","progress-dots"],[1,"mb-0"],["mat-dialog-close","","mat-icon-button","","aria-label","close",1,"dialog-close"],[1,"fa-solid","fa-times"],[1,"mx-1"],[1,"fa-solid","fa-circle"],["appDialogScroll",""],[1,"mb-4","mt-2"],[1,"text-center","mb-4"],["align","end"],["mat-button","","color","accent","type","button",1,"custom","auto",3,"mat-dialog-close"],["mat-button","","color","primary","type","button",1,"custom","auto",3,"click"],[1,"mt-2"],["aria-label","Select beneficiary",3,"ngModelChange","ngModel"],[1,"row"],[1,"col-12","col-md-6"],["value","single","color","primary"],["value","multiple","color","primary"],[1,"text-center","bg-light","rounded","p-2","mt-3"],["mat-button","","color","primary","type","button",1,"custom","auto",3,"click","disabled"],[3,"ngModelChange","ngModel"],["type","text","placeholder","Search nonprofits by name or EIN","aria-label","Search nonprofits by name or EIN","matInput","",3,"input","matAutocomplete"],["matPrefix","","fontSet","fa-solid","fontIcon","fa-search"],[3,"optionSelected"],[1,"multi-line",3,"value"],[3,"title","details"],[1,"overline","mt-3","mb-0","text-center"],[1,"d-flex","align-items-center","justify-content-center"],[1,"ms-1"],["mat-icon-button","","color","accent","aria-label","remove","type","button",3,"click"],[1,"fa-solid","fa-times-circle"],[1,"col-12"],["name","teamName","maxlength","50","type","text","required","","matInput","",3,"ngModelChange","ngModel"],["mat-button","","color","primary","type","button","appLoadingBtn","",1,"custom","auto",3,"click","disabled","active"]],template:function(a,i){a&1&&(n(0,"h3",2),m(1,$t,7,6,"div",3),m(2,Kt,2,0,"p",4),m(3,Xt,2,0,"p",4),m(4,Zt,2,0,"p",4),o(),n(5,"button",5),C(6,"i",6),o(),m(7,ei,10,1),m(8,li,16,4),m(9,si,16,5)),a&2&&(r(),d(i.data!=null&&i.data.orgId?-1:1),r(),d(i.currentStep===1?2:-1),r(),d(i.currentStep===2?3:-1),r(),d(i.currentStep===3?4:-1),r(3),d(i.currentStep===1?7:-1),r(),d(i.currentStep===2?8:-1),r(),d(i.currentStep===3?9:-1))},dependencies:[ie,be,N,Je,xe,te,le,ae,W,re,R,P,B,A,k,V,O,D,z,U,j,ne,ye,oe,se,ce,q,J,pe,me,de,Me,L,Y,ge],styles:[".progress-dots[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;font-size:8px;color:rgba(var(--mc-secondary-500),.2)}.progress-dots[_ngcontent-%COMP%]   span.active[_ngcontent-%COMP%]{color:var(--mc-secondary-500)}"]})}return t})();function mi(t,c){t&1&&(n(0,"span"),l(1,"Start a fundraiser"),o())}function di(t,c){t&1&&(n(0,"span"),l(1,"Join this Team"),o())}function pi(t,c){if(t&1){let e=v();n(0,"mat-dialog-content",3)(1,"p"),l(2),o()(),n(3,"mat-dialog-actions",4)(4,"button",5),h("click",function(){g(e);let i=s();return _(i.onStepOneSubmit())}),l(5," Get started "),o()()}if(t&2){let e=s();r(2),S(" Get your own simple, modern, and mobile-friendly donation page you can use to participate in ",e.data.title,". Customize to your heart's content, then publish and share your fundraiser with friends, family, and social networks. "),r(2),f("disabled",e.loading)}}function ui(t,c){if(t&1){let e=v();n(0,"div",7)(1,"app-horizontal-tile",10),h("selectEvent",function(i){g(e);let u=s(2);return _(u.joinSelectedCampaign(i))}),o()()}if(t&2){let e=c.$implicit;r(),f("preventLink",!0)("badge",e)}}function gi(t,c){t&1&&(n(0,"div",8)(1,"div",11),C(2,"mat-spinner",12),o()())}function _i(t,c){if(t&1&&(n(0,"mat-dialog-content",3)(1,"p"),l(2," You have existing campaigns that can be added to this Team! Click an existing campaign to join this team with, or start a new campaign. "),o(),n(3,"div",6),y(4,ui,2,2,"div",7,De),m(6,gi,3,0,"div",8),o()(),n(7,"mat-dialog-actions",4)(8,"button",9),l(9," Create a new fundraiser "),o()()),t&2){let e=s();r(4),M(e.eligibleMembers),r(2),d(e.joining?6:-1),r(2),f("mat-dialog-close","createFundraiser")}}var gt=(()=>{class t{teamService=p(_e);storyService=p(Te);router=p(Se);dialogRef=p(F);currentStep=1;eligibleMembers=[];joining=!1;loading=!0;data=p(G);ngOnInit(){this.teamService.getEligibleMembers(this.data.urn).subscribe({next:e=>{this.eligibleMembers=e,this.loading=!1},error:()=>{this.loading=!1}})}onStepOneSubmit(){this.eligibleMembers.length>0?this.currentStep=2:this.dialogRef.close("createFundraiser")}
3joinSelectedCampaign(e){this.joining=!0,this.storyService.joinTeamOrEvent(e.urn,this.data.urn).subscribe({next:()=>{this.dialogRef.close(!0),this.router.navigate(["/story",e.urn])},error:()=>{this.joining=!1}})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=b({type:t,selectors:[["app-join-team-event"]],decls:7,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-close","","mat-icon-button","","aria-label","close",1,"dialog-close"],[1,"fa-solid","fa-times"],["appDialogScroll",""],["align","end"],["mat-button","","color","primary","type","button",1,"custom","auto",3,"click","disabled"],[1,"position-relative","mt-4"],[1,"w-75","m-auto"],[1,"update-overlay"],["mat-button","","color","primary",1,"custom","auto",3,"mat-dialog-close"],[3,"selectEvent","preventLink","badge"],[1,"spinner"],["diameter","50"]],template:function(a,i){a&1&&(n(0,"h3",0),m(1,mi,2,0,"span"),m(2,di,2,0,"span"),o(),n(3,"button",1),C(4,"i",2),o(),m(5,pi,6,2),m(6,_i,10,2)),a&2&&(r(),d(i.currentStep===1?1:-1),r(),d(i.currentStep===2?2:-1),r(3),d(i.currentStep===1?5:-1),r(),d(i.currentStep===2?6:-1))},dependencies:[R,P,B,A,k,V,O,D,Ke,$e,L,rt],encapsulation:2})}return t})();var Co=(()=>{class t{appService=p(I);brandNavService=p(nt);route=p(Pe);router=p(Se);dialog=p(Ge);webAnalyticsService=p(Xe);brand;redirectPath;background;platformId=p(he);constructor(){this.appService.header=!0,this.appService.footer=!1,this.brandNavService.configuration={color:"dark"},this.brand=this.appService.currentBrand,this.appService.currentBrandObservable.subscribe(()=>{let e=this.brand.brand_details.primary_color;this.background={"background-color":"#ffffff",opacity:"0.4",background:`radial-gradient(circle, transparent 20%, #ffffff 20%, #ffffff 80%, transparent 80%, transparent),
4          radial-gradient(circle, transparent 20%, #ffffff 20%, #ffffff 80%, transparent 80%, transparent) 15px 15px,
5          linear-gradient(${e} 1.2000000000000002px, transparent 1.2000000000000002px) 0 -0.6000000000000001px,
6          linear-gradient(90deg, ${e} 1.2000000000000002px, #ffffff 1.2000000000000002px) -0.6000000000000001px 0`,"background-size":"30px 30px, 30px 30px, 15px 15px, 15px 15px"}})}ngAfterViewInit(){ve(this.platformId)&&this.route.queryParams.subscribe(e=>{setTimeout(()=>{this.handleQueryParams(e)},0)})}ngOnDestroy(){this.dialog.closeAll()}handleQueryParams(e){if(e.redirect_path&&(this.redirectPath=e.redirect_path),e.campaign&&e.campaign_title&&e.campaign_type){let a={urn:e.campaign,title:e.campaign_title,campaignType:e.campaign_type,kind:"team"};this.dialog.open(gt,{disableClose:!0,hasBackdrop:!1,data:a}).afterClosed().subscribe(u=>{u||this.redirectToCaller(),u==="createFundraiser"&&this.createFundraiser({campaignUrn:e.campaign,campaignType:e.campaign_type,orgId:e.org_id})})}else if(e.flow_type){let a={};switch(e.org_id&&e.org_urn&&e.org_name&&(a={orgId:e.org_id,orgUrn:e.org_urn,orgName:e.org_name}),e.kind&&(a.kind=e.kind),e.use_template_id&&(a.useTemplateId=e.use_template_id),e?.campaign&&(a.campaignUrn=e.campaign),e.campaign_type&&(a.campaignType=e.campaign_type),e.flow_type){case"team":this.createTeam(a);break;case"event":this.createEvent(a);break;case"group":this.createGroup();break;default:this.createFundraiser(a)}}}createFundraiser(e){this.dialog.open(dt,{disableClose:!0,hasBackdrop:!1,data:e}).afterClosed().subscribe(i=>{i?i==="otherSolutions"?this.navigateToOtherSolutions():(this.webAnalyticsService.trackEvent(fe.campaignCreation,{event_action:"Create Fundraiser",event_category:"Campaign Creation Flow"}),this.router.navigate([`/story/${i.urn}`])):this.redirectToCaller()})}createTeam(e){this.dialog.open(ut,{disableClose:!0,hasBackdrop:!1,data:e}).afterClosed().subscribe(i=>{i?i==="otherSolutions"?this.navigateToOtherSolutions():(this.webAnalyticsService.trackEvent(fe.campaignCreation,{event_action:"Create Team",event_category:"Campaign Creation Flow"}),this.router.navigate([`/${i.kind}/${i.urn}`],{queryParams:{newTeam:"true"}})):this.redirectToCaller()})}createEvent(e){this.dialog.open(mt,{disableClose:!0,hasBackdrop:!1,data:e}).afterClosed().subscribe(i=>{i?i==="otherSolutions"?this.navigateToOtherSolutions():(this.webAnalyticsService.trackEvent(fe.campaignCreation,{event_action:"Create Event",event_category:"Campaign Creation Flow"}),this.router.navigate([`/${i.kind}/${i.urn}`])):this.redirectToCaller()})}createGroup(){this.dialog.open(pt,{disableClose:!0,hasBackdrop:!1}).afterClosed().subscribe(a=>{a?(this.webAnalyticsService.trackEvent(fe.campaignCreation,{event_action:"Create Group",event_category:"Campaign Creation Flow"}),this.router.navigate([`/${a.kind}/${a.urn}`])):this.redirectToCaller()})}redirectToCaller(){this.redirectPath?this.router.navigate([this.redirectPath]):this.router.navigate(["fundraise/solutions"])}navigateToOtherSolutions(){this.router.navigate(["fundraise/solutions"],{queryParams:{flow_type:null},queryParamsHandling:"merge"})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=b({type:t,selectors:[["app-start"]],decls:1,vars:2,consts:[["id","fundraise-start",1,"min-vh-100"]],template:function(a,i){a&1&&Oe(0,"div",0),a&2&&Ae(i.background)},encapsulation:2})}return t})();export{Co as StartComponent};
7
8//# debugId=e661a781-539a-57ff-bd7a-1adb3f0695e8

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.