
/*! For license information please see 4c76237d2c95.embed.js.LICENSE.txt */
(()=>{var e,t,n,i,o={"../../clickhouse/mapper/index.js":(e,t,n)=>{var i=n("../../clickhouse/mapper/clickhouseDictionary.json");e.exports={compressPayload:function(e){var t={};return Object.keys(i).forEach((function(n){var o=n,r=i[n];t[o]=e[r]})),t},expandPayload:function(e){var t={},n=["up"],o=Object.keys(e).filter((function(e){return-1===Object.keys(i).indexOf(e)&&!n.includes(e)}));return o.length&&(t.UNMATCHED={},o.forEach((function(n){t.UNMATCHED[n]=e[n]})),t.invalid=!0),Object.keys(i).forEach((function(o){if(!n.includes(o)){var r=o,s=i[o];e[r]&&(t[s]=e[r])}})),t}}},"./src/helpers/parseHref.ts":(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n("./src/helpers/parseQueryParams.ts");const o=/#([^?&]+)/;function r(e){if(!e)return null;if(!o.test(e))return null;const t=/(#.+?)$/.exec(e);if(!t)return null;const n=t[0],r=o.exec(n);if(!r)return null;const s=r[1],a=(0,i.U)(n),c={key:s};return Object.assign(c,a),c}},"./src/helpers/parseQueryParams.ts":(e,t,n)=>{"use strict";function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return{};const n=/([^=&#?]+)=([^=&#?]+)/gi,i={};for(;;){const o=n.exec(e);if(!o)break;const[,r,s]=o;try{t?i[decodeURIComponent(r)]=decodeURIComponent(s):i[r]=s}catch(e){console.error(e)}}return i}n.d(t,{U:()=>i})},"./src/splitTesting/getTLD.ts":(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var i=n("../fun-storage/dist/webpack/funSessionKeys.js");function o(e,t,n){t||(t=window.location.hostname);const o=t.split("."),r=e.getField(i.p.TOP_LEVEL_DOMAIN);if(r)return r;let s="";if(1===o.length&&(s=o[0]),2===o.length&&(s="."+o.join(".")),3===o.length&&"www"===o[0]&&(s="."+o.slice(-2).join(".")),s)return e.setData({[i.p.TOP_LEVEL_DOMAIN]:s},{domain:s}),s;s=o.splice(-1).join();for(let t=o.length;t>0;t--)if(s=o.splice(-1).join()+"."+s,e.setData({[i.p.TOP_LEVEL_DOMAIN]:"."+s},{domain:"."+s}),!e.available||e.getField(i.p.TOP_LEVEL_DOMAIN)||n&&!(null==n?void 0:n.get()))return"."+s}},"../../node_modules/.pnpm/css-loader@6.10.0_webpack@5.90.3/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js!./src/preloader/backdrop.css":(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n("../../node_modules/.pnpm/css-loader@6.10.0_webpack@5.90.3/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=n.n(i),r=n("../../node_modules/.pnpm/css-loader@6.10.0_webpack@5.90.3/node_modules/css-loader/dist/runtime/api.js"),s=n.n(r)()(o());s.push([e.id,".fun-widget-backdrop-holder {\n  left: 0 !important;\n  top: 0 !important;\n  bottom: 0 !important;\n  right: 0 !important;\n  width: 100% !important;\n  height: 100% !important;\n  display: block !important;\n  position: fixed !important;\n  z-index: 2147483646 !important;\n  transition: opacity 0.2s ease-in-out !important;\n  transform: translateZ(99px) !important;\n  animation: fun-widget-backdrop 0.2s ease-in-out !important;\n}\n\n.fun-widget-backdrop {\n  position: absolute !important;\n  left: 50% !important;\n  top: 50% !important;\n  animation:\n    fun-widget-backdrop-rotate 1.5s infinite linear,\n    fun-widget-backdrop-fadein 0.6s ease-in-out !important;\n  padding: 0 !important;\n  margin: -30px 0 0 -30px !important;\n  width: 60px !important;\n  min-width: 60px !important;\n  max-width: 60px !important;\n  height: 60px !important;\n  min-height: 60px !important;\n  max-height: 60px !important;\n  border-radius: 50% !important;\n  border: 4px solid !important;\n  border-color: #e3e3e3 #e3e3e3 #666666 #666666 !important;\n}\n\n@keyframes fun-widget-backdrop {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n@keyframes fun-widget-backdrop-fadein {\n  0% {\n    opacity: 0;\n  }\n  33% {\n    opacity: 0;\n  }\n  66% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n@keyframes fun-widget-backdrop-rotate {\n  0% {\n    rotate: 0deg;\n  }\n  100% {\n    rotate: 359deg;\n  }\n}\n","",{version:3,sources:["webpack://./src/preloader/backdrop.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;EACpB,mBAAmB;EACnB,sBAAsB;EACtB,uBAAuB;EACvB,yBAAyB;EACzB,0BAA0B;EAC1B,8BAA8B;EAC9B,+CAA+C;EAC/C,sCAAsC;EACtC,0DAA0D;AAC5D;;AAEA;EACE,6BAA6B;EAC7B,oBAAoB;EACpB,mBAAmB;EACnB;;0DAEwD;EACxD,qBAAqB;EACrB,kCAAkC;EAClC,sBAAsB;EACtB,0BAA0B;EAC1B,0BAA0B;EAC1B,uBAAuB;EACvB,2BAA2B;EAC3B,2BAA2B;EAC3B,6BAA6B;EAC7B,4BAA4B;EAC5B,wDAAwD;AAC1D;;AAEA;EACE;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;AACF;;AAEA;EACE;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;AACF;;AAEA;EACE;IACE,YAAY;EACd;EACA;IACE,cAAc;EAChB;AACF",sourcesContent:[".fun-widget-backdrop-holder {\n  left: 0 !important;\n  top: 0 !important;\n  bottom: 0 !important;\n  right: 0 !important;\n  width: 100% !important;\n  height: 100% !important;\n  display: block !important;\n  position: fixed !important;\n  z-index: 2147483646 !important;\n  transition: opacity 0.2s ease-in-out !important;\n  transform: translateZ(99px) !important;\n  animation: fun-widget-backdrop 0.2s ease-in-out !important;\n}\n\n.fun-widget-backdrop {\n  position: absolute !important;\n  left: 50% !important;\n  top: 50% !important;\n  animation:\n    fun-widget-backdrop-rotate 1.5s infinite linear,\n    fun-widget-backdrop-fadein 0.6s ease-in-out !important;\n  padding: 0 !important;\n  margin: -30px 0 0 -30px !important;\n  width: 60px !important;\n  min-width: 60px !important;\n  max-width: 60px !important;\n  height: 60px !important;\n  min-height: 60px !important;\n  max-height: 60px !important;\n  border-radius: 50% !important;\n  border: 4px solid !important;\n  border-color: #e3e3e3 #e3e3e3 #666666 #666666 !important;\n}\n\n@keyframes fun-widget-backdrop {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n@keyframes fun-widget-backdrop-fadein {\n  0% {\n    opacity: 0;\n  }\n  33% {\n    opacity: 0;\n  }\n  66% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n@keyframes fun-widget-backdrop-rotate {\n  0% {\n    rotate: 0deg;\n  }\n  100% {\n    rotate: 359deg;\n  }\n}\n"],sourceRoot:""}]);const a=s},"../../node_modules/.pnpm/css-loader@6.10.0_webpack@5.90.3/node_modules/css-loader/dist/runtime/api.js":e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,o,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);i&&s[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},"../../node_modules/.pnpm/css-loader@6.10.0_webpack@5.90.3/node_modules/css-loader/dist/runtime/sourceMaps.js":e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),r="/*# ".concat(o," */");return[t].concat([r]).join("\n")}return[t].join("\n")}},"./src/preloader/backdrop.css":(e,t,n)=>{var i=n("../../node_modules/.pnpm/css-loader@6.10.0_webpack@5.90.3/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js!./src/preloader/backdrop.css");i&&i.__esModule&&(i=i.default),e.exports="string"==typeof i?i:i.toString()},"../fun-storage/dist/webpack/funCookiesKeys.js":(e,t,n)=>{"use strict";var i;n.d(t,{e:()=>i}),function(e){e.SESSION="fundraiseup_session",e.FUNC="fundraiseup_func",e.PERFORMANCE="fundraiseup_stat",e.CONSENT="fundraiseup_consent",e.MARKETING="fundraiseup_mark",e.CID="fundraiseup_cid",e.DEBUG="fundraiseup_debug",e.EXPERIMENTS="fundraiseup_experiments",e.FUN_AB_STORAGE="fundraiseup_ab_test",e.DEV_MODE="developmentMode"}(i||(i={}))},"../fun-storage/dist/webpack/funSessionKeys.js":(e,t,n)=>{"use strict";var i;n.d(t,{p:()=>i}),function(e){e.TOP_LEVEL_DOMAIN="topLevelDomain",e.INTENT="intent",e.MESSAGE_BAR="messageBar",e.SOCIAL_PROOF="socialProof",e.POPUP="popup",e.SESSION_AT="sessionAt",e.SESSION_PAGE="sessionPage",e.X_FACTOR="xFactor",e.LIGHTBOX="lightbox",e.LAST_SUCCESS_DONATION_AT="lastSuccessDonationAt",e.FLOATING_BUTTON_POPUP_SHOWN="floatingButtonPopupShown"}(i||(i={}))},"../murmur/dist/src/murmur.js":(e,t)=>{"use strict";t.A=function(e,t=0){let n,i,o,r,s,a,c,l;for(n=3&e.length,i=e.length-n,o=t,s=3432918353,a=461845907,l=0;l<i;)c=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24,++l,c=(65535&c)*s+(((c>>>16)*s&65535)<<16)&4294967295,c=c<<15|c>>>17,c=(65535&c)*a+(((c>>>16)*a&65535)<<16)&4294967295,o^=c,o=o<<13|o>>>19,r=5*(65535&o)+((5*(o>>>16)&65535)<<16)&4294967295,o=27492+(65535&r)+((58964+(r>>>16)&65535)<<16);switch(c=0,n){case 3:c^=(255&e.charCodeAt(l+2))<<16;break;case 2:c^=(255&e.charCodeAt(l+1))<<8;break;case 1:c^=255&e.charCodeAt(l),c=(65535&c)*s+(((c>>>16)*s&65535)<<16)&4294967295,c=c<<15|c>>>17,c=(65535&c)*a+(((c>>>16)*a&65535)<<16)&4294967295,o^=c}return o^=e.length,o^=o>>>16,o=2246822507*(65535&o)+((2246822507*(o>>>16)&65535)<<16)&4294967295,o^=o>>>13,o=3266489909*(65535&o)+((3266489909*(o>>>16)&65535)<<16)&4294967295,o^=o>>>16,o>>>0}},"../../shared/dist/webpack/common/debug/Debug.js":(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var i=n("../murmur/dist/src/murmur.js"),o=n("../fun-storage/dist/webpack/funCookiesKeys.js"),r=n("../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.mjs");class s{constructor(e,t=null){this.codes=t,this.expose=void 0!==r.A.get(o.e.DEBUG),this.prefix=e}createInstance(e){return new s(e,this.codes)}stringToColor(e){const t=(0,i.A)(e);let n="#";for(let e=0;e<3;e++)n+=("00"+(t>>8*e&255).toString(16)).substr(-2);return n}log(e,...t){this.expose&&(e=this.prefix?`${this.prefix}:${e}`:e,console.groupCollapsed("%c"+(new Date).toISOString().slice(11,-1)+" %c"+e,"color:grey;","font-weight:700;color:white;border-radius: 2px;padding:2px 5px;background-color:"+this.stringToColor(e)),console.log(...t),console.groupEnd(),this.push(e,...t))}logCode(e,...t){const n=this.codes?this.codes[e]:String(e),i=t.map((e=>"number"!=typeof e?e:this.codes&&this.codes[e]||e));this.log(n,...i)}isExpose(){return this.expose}push(e,...t){const n=window;Array.isArray(n.FUN_DEBUG_LOGS)&&n.FUN_DEBUG_LOGS.push({name:e,content:t})}}},"../../shared/dist/webpack/common/embed/getSharedContainer.js":(e,t,n)=>{"use strict";n.d(t,{F:()=>o});var i=n("../../shared/dist/webpack/common/embed/serviceContainer.js");function o(){return window.FUN_SERVICE_CONTAINER||(window.FUN_SERVICE_CONTAINER=new i.T),window.FUN_SERVICE_CONTAINER}},"../../shared/dist/webpack/common/embed/helpers.js":(e,t,n)=>{"use strict";n.d(t,{Ru:()=>r,UA:()=>o,cH:()=>s,dy:()=>a,i:()=>c});const i=/#(.+?)(&|$)/;function o(e,t=!0){if(!e)return{};const n=/([^=&#?]+)=([^=&#?]+)/gi,i={};for(;;){const o=n.exec(e);if(!o)break;const[,r,s]=o;try{t?i[decodeURIComponent(r)]=decodeURIComponent(s):i[r]=s}catch(e){console.error(e)}}return i}function r(e,t){let n=e;for(;;){if(t(n))return n;if(!n.parentNode)return;n=n.parentNode}}function s(e,t){if(e.getAttribute)return e.getAttribute("data-"+t)||void 0}function a(e){if(!e)return null;if(!i.test(e))return null;const t=/(#.+?)$/.exec(e);if(!t)return null;const n=t[0],r=i.exec(n);if(!r)return null;const s=r[1],a=o(n),c={key:s};return Object.assign(c,a),c}function c(e){const t=[];for(const[n,i]of e)t.push(`${encodeURIComponent(n)}=${encodeURIComponent(i)}`);return t.join("&")}},"../../shared/dist/webpack/common/embed/serviceContainer.js":(e,t,n)=>{"use strict";n.d(t,{T:()=>i});class i{constructor(){this.providers=new Map,this.cache=new Map}get(e,t=!0){const n=this.providers.get(e);if(!n)throw new Error(`${String(e)} is not provided`);if(t&&this.cache.has(e))return this.cache.get(e);const i=n();return t?(this.cache.has(e)||this.cache.set(e,i),i):i}provide(e,t){return this.providers.has(e)?(console.warn(`14 ${String(e)}`),this):(this.providers.set(e,t),this)}}},"../../shared/dist/webpack/common/embed/splitTesting/constants.js":(e,t,n)=>{"use strict";n.d(t,{$m:()=>o,AC:()=>i,_Q:()=>r});const i="fun_test",o="fun_variant",r=2},"../../shared/dist/webpack/common/embed/tracking/constants.js":(e,t,n)=>{"use strict";n.d(t,{v:()=>i});const i="clientId"},"../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.mjs":(e,t,n)=>{"use strict";function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}n.d(t,{A:()=>o});var o=function e(t,n){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=i({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in r)r[a]&&(s+="; "+a,!0!==r[a]&&(s+="="+r[a].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+s}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],i={},o=0;o<n.length;o++){var r=n[o].split("="),s=r.slice(1).join("=");try{var a=decodeURIComponent(r[0]);if(i[a]=t.read(s,a),e===a)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){o(e,"",i({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,i({},this.attributes,t))},withConverter:function(t){return e(i({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},"../../clickhouse/mapper/clickhouseDictionary.json":e=>{"use strict";e.exports=JSON.parse('{"u":"URL","ck":"companyKey","cm":"checkoutCompanyKey","cd":"clientId","ct":"clientTime","cz":"clientTimeZone","lo":"clientLocale","ek":"elementKey","el":"elementLocale","er":"elementReminderKey","ey":"elementType","ep":"elementParams","et":"eventType","te":"customEventType","ev":"customEventData","ed":"elementData","eg":"eventTags","pv":"pageViewId","pl":"pageViewLifetime","r":"referer","rh":"resolutionHeight","rw":"resolutionWidth","t":"title","hl":"uaHistoryLength","wk":"widgetKey","wh":"windowHeight","wx":"windowScrollX","wy":"windowScrollY","ww":"windowWidth","cv":"checkoutViewId","ce":"checkoutError","co":"checkoutOpenTime","cl":"checkoutLifetime","cs":"checkoutScreen","sd":"checkoutScreenData","cc":"checkoutClickElement","cf":"checkoutFrequency","fp":"clickDOMPath","fh":"clickAHref","ft":"clickText","dk":"chargeCampaignKey","dd":"chargeKey","du":"chargeInUSDAmount","di":"chargeInDefaultCurrencyAmount","da":"chargeAmount","dc":"chargeCurrency","df":"chargeFeeCovered","dm":"chargePaymentMethod","dr":"chargeIsRecurring","dn":"chargeHasComment","dh":"chargeHasTribute","dg":"chargeGoal","st":"splitTestName","sv":"splitTestVariant","pm":"paymentMethod","ws":"widgetSession","lm":"livemode","fv":"funSnippetVersion","fe":"funEmbedRelease","vf":"isFundraiseupVisitor","lc":"checkoutLocale","cr":"checkoutIsRecurring","cy":"checkoutCurrency","ca":"checkoutAmount","cu":"checkoutInUSDAmount","yr":"checkoutCurrencyRate","fa":"checkoutDefaultAmount","cp":"checkoutPresets","ps":"pageScripts","ol":"clientOnLine","dt":"clientDoNotTrack","pr":"clientDevicePixelRatio","rm":"clientDeviceMemory","hc":"clientHardwareConcurrency","nt":"clientConnectionType","nd":"clientConnectionDownlink","nr":"clientConnectionRTT","ne":"clientConnectionEffectiveType","bc":"clientBatteryCharging","bt":"clientBatteryChargingTime","bd":"clientBatteryDischargingTime","bl":"clientBatteryLevel","de":"dataLayerEventName","dp":"dataLayerParams","fn":"pixelEventName","fs":"pixelEventData","gk":"fundraisingGroupKey","pk":"fundraisingPageKey","pc":"fundraisingPageCustomerKey","ec":"eventComment","ba":"uaIsInApp","uw":"uaWebdriver","rd":"duration","se":"source","sk":"supporterKey","ak":"agentKey","pu":"pointingDeviceIsUsed","fo":"donationType","cn":"clientCookieConsent","tt":"checkoutType","pi":"paymentIntentId","ds":"donationItems"}')}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,exports:{}};return o[e].call(n.exports,n,n.exports,s),n.exports}s.m=o,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var o=Object.create(null);s.r(o);var r={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>r[e]=()=>n[e]));return r.default=()=>n,s.d(o,r),o},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>e+"."+{31:"bf6411e5e3cd",604:"86944dd3462a",707:"88e4fa231e20"}[e]+"."+(707===e?"SplitTesting":e)+".js",s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},i="@fundraiseup/embed:",s.l=(e,t,o,r)=>{if(n[e])n[e].push(t);else{var a,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var u=l[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==i+o){a=u;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",i+o),a.src=e),n[e]=[t];var p=(t,i)=>{a.onerror=a.onload=null,clearTimeout(h);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(i))),t)return t(i)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.p="https://static.fundraiseup.com/",(()=>{if(void 0!==s){var e=s.u,t=s.e,n={},i={};s.u=function(t){return e(t)+(n.hasOwnProperty(t)?"?"+n[t]:"")},s.e=function(o){return t(o).catch((function(t){var r=i.hasOwnProperty(o)?i[o]:3;if(r<1){var a=e(o);throw t.message="Loading chunk "+o+" failed after 3 retries.\n("+a+")",t.request=a,t}return new Promise((function(e){var t=3-r+1;setTimeout((function(){var a="cache-bust=true&retry-attempt="+t;n[o]=a,i[o]=r-1,e(s.e(o))}),0)}))}))}}})(),(()=>{var e={722:0};s.f.j=(t,n)=>{var i=s.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise(((n,o)=>i=e[t]=[n,o]));n.push(i[2]=o);var r=s.p+s.u(t),a=new Error;s.l(r,(n=>{if(s.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+r+")",a.name="ChunkLoadError",a.type=o,a.request=r,i[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var i,o,[r,a,c]=n,l=0;if(r.some((t=>0!==e[t]))){for(i in a)s.o(a,i)&&(s.m[i]=a[i]);c&&c(s)}for(t&&t(n);l<r.length;l++)o=r[l],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.funEmbed=self.funEmbed||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";var e=s("../../shared/dist/webpack/common/debug/Debug.js");const t={};function n(e){return function(e){const i=t[e];if(i)return i;const o=new Promise((function(t,i){setTimeout((()=>{const o=window.document.createElement("script");o.type="text/javascript",o.charset="UTF-8",o.async=!0,o.onerror=function(e){i(e)},o.onload=function(){t(!0)},o.src=e,window.document.documentElement.appendChild(o),n._immedeatly&&t(!0)}),0)}));return t[e]=o,o}(e)}var i;n._immedeatly=!1,function(e){e.DUMMY_EXPERIMENT="DummyExperiment",e.CHECKOUT_BUNDLE_EXPERIMENT="CheckoutBundleExperiment",e.DONOR_PORTAL_TEST_EXPERIMENT="DonorPortalTestExperiment",e.CAMPAIGN_PAGE_TEST_EXPERIMENT="CampaignPageTestExperiment",e.EMBED_TEST_EXPERIMENT="EmbedTestExperiment",e.UPGRADE_LINKS_IN_INSTALLMENT_EMAILS_AI_V2_EXPERIMENT="UpgradeLinksInInstallmentEmailsAIv2Experiment",e.ML_POST_DONATION_UPSELL_CHECKOUT_EXPERIMENT="MlPostDonationUpsellCheckoutExperiment",e.ML_POST_DONATION_UPSELL_CAMPAIGN_PAGES_EXPERIMENT="MlPostDonationUpsellCampaignPagesExperiment",e.CHECKOUT_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT="CheckoutWithoutPreDonationUpsellExperiment",e.CAMPAIGN_PAGES_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT="CampaignPagesWithoutPreDonationUpsellExperiment",e.SMART_COVERING_FEE_CHECKOUT_V_2_EXPERIMENT="SmartCoveringFeeSuggestionCheckoutExperimentV2",e.SMART_COVERING_FEE_CAMPAIGN_PAGES_V_2_EXPERIMENT="SmartCoveringFeeSuggestionCampaignPagesExperimentV2",e.AA_CHECKOUT_EXPERIMENT="AACheckoutExperiment",e.SMART_POST_DONATION_UPSELL_CHECKOUT_V_2_EXPERIMENT="SmartPostDonationUpsellCheckoutV2Experiment",e.SMART_POST_DONATION_UPSELL_CAMPAIGN_PAGES_V_2_EXPERIMENT="SmartPostDonationUpsellCampaignPagesV2Experiment",e.UPSELL_AMOUNTS_DATASET_MODAL_EXPERIMENT="UpsellAmountsDatasetModalExperiment",e.UPSELL_AMOUNTS_DATASET_PAGES_EXPERIMENT="UpsellAmountsDatasetPagesExperiment",e.UPGRADE_LINKS_PAGE_AI_V_2_EXPERIMENT="UpgradeLinksPageAIv2Experiment",e.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT="SteplessMobileCheckoutExperiment",e.COLLECT_DATASET_POST_DONATION_UPSELL_AMOUNT_CHECKOUT_V_3_EXPERIMENT="CollectDatasetPostDonationUpsellAmountCheckoutV3Experiment",e.COLLECT_DATASET_POST_DONATION_UPSELL_AMOUNT_CAMPAIGN_PAGES_V_3_EXPERIMENT="CollectDatasetPostDonationUpsellAmountCampaignPagesV3Experiment",e.UPSELL_AMOUNTS_SUGGESTION_MODAL_EXPERIMENT="UpsellAmountsSuggestionModalExperiment",e.UPSELL_AMOUNTS_SUGGESTION_PAGES_EXPERIMENT="UpsellAmountsSuggestionPagesExperiment",e.SMART_PDU_CHECKOUT_V_3_EXPERIMENT="SmartPDUCheckoutV3Experiment",e.SMART_PDU_CAMPAIGN_PAGES_V_3_EXPERIMENT="SmartPDUCampaignPagesV3Experiment",e.RECURRING_FREQUENCY_HINT_CAMPAIGN_PAGES_EXPERIMENT="RecurringFrequencyHintCampaignPagesExperiment",e.RECURRING_FREQUENCY_HINT_CHECKOUT_DESKTOP_EXPERIMENT="RecurringFrequencyHintCheckoutDesktopExperiment",e.RECURRING_FREQUENCY_HINT_CHECKOUT_MOBILE_EXPERIMENT="RecurringFrequencyHintCheckoutMobileExperiment",e.CHECKOUT_STEPS_CAMPAIGN_PAGES_EXPERIMENT="CheckoutStepsCampaignPagesExperiment",e.CHECKOUT_STEPS_CHECKOUT_MODAL_EXPERIMENT="CheckoutStepsCheckoutModalExperiment",e.DONOR_RATING_CHECKOUT_EXPERIMENT="DonorRatingCheckoutExperiment",e.DONOR_RATING_CAMPAIGN_PAGES_EXPERIMENT="DonorRatingCampaignPagesExperiment",e.ML_DONATION_RETRY_V_3_EXPERIMENT="MlDonationRetryV3Experiment",e.UPSELL_SCREEN_DATA_COLLECT_CAMPAIGN_PAGES_EXPERIMENT="UpsellScreenDataCollectCampaignPagesExperiment",e.UPSELL_SCREEN_DATA_COLLECT_CHECKOUT_EXPERIMENT="UpsellScreenDataCollectCheckoutExperiment",e.AMOUNT_PRESETS_CHECKOUT_V_4_EXPERIMENT="AmountPresetsCheckoutV4Experiment",e.AMOUNT_PRESETS_PAGES_V_4_EXPERIMENT="AmountPresetsPagesV4Experiment",e.AMOUNT_PRESETS_DONATION_FORM_V_4_EXPERIMENT="AmountPresetsDonationFormV4Experiment",e.AVERAGE_DONATION_HINT_EXPERIMENT="AverageDonationHintExperiment",e.AVERAGE_DONATION_HINT_CAMPAIGN_PAGES_EXPERIMENT="AverageDonationHintCampaignPagesExperiment",e.FAST_TRACK_CAMPAIGN_PAGES_EXPERIMENT="FastTrackCampaignPagesExperiment",e.FAST_TRACK_CHECKOUT_EXPERIMENT="FastTrackCheckoutExperiment",e.UPGRADE_LINKS_IN_DP_REVERSE_EXPERIMENT="UpgradeLinksInDPReverseExperiment",e.UPGRADE_LINKS_IN_EMAILS_REVERSE_EXPERIMENT="UpgradeLinksInEmailsReverseExperiment",e.SMART_COVERING_FEE_CHECKOUT_V_4_EXPERIMENT="SmartCoveringFeeCheckoutV4Experiment",e.SMART_COVERING_FEE_CAMPAIGN_PAGES_V_4_EXPERIMENT="SmartCoveringFeeCampaignPagesV4Experiment",e.MULTIPLE_RECURRING_PLAN_CHECKOUT_EXPERIMENT="MultipleRecurringPlanCheckoutExperiment",e.MULTIPLE_RECURRING_PLAN_CAMPAIGN_PAGES_EXPERIMENT="MultipleRecurringPlanCampaignPagesExperiment",e.AMOUNT_PRESETS_CHECKOUT_V_5_EXPERIMENT="AmountPresetsCheckoutV5Experiment",e.AMOUNT_PRESETS_PAGES_V_5_EXPERIMENT="AmountPresetsPagesV5Experiment",e.AMOUNT_PRESETS_DONATION_FORM_V_5_EXPERIMENT="AmountPresetsDonationFormV5Experiment",e.DONATE_FROM_LOGIN_PAGE_EXPERIMENT="DonateFromLoginPageExperiment",e.STRIPE_LINK_CHECKOUT_EXPERIMENT="StripeLinkCheckoutExperiment",e.STRIPE_LINK_PAGES_EXPERIMENT="StripeLinkPagesExperiment",e.FEE_COVERAGE_SELECTION_MODAL_EXPERIMENT="FeeCoverageSelectionModalExperiment",e.FEE_COVERAGE_SELECTION_PAGES_EXPERIMENT="FeeCoverageSelectionPagesExperiment",e.DONATE_BY_VOICE_EXPERIMENT="DonateByVoiceExperiment",e.DONOR_PORTAL_COLORFUL_DONATE_BUTTON_EXPERIMENT="DonorPortalColorfulDonateButtonExperiment",e.UPSELL_SCREEN_CAMPAIGN_PAGE_V_3_EXPERIMENT="UpsellScreenCampaingPageV3Experiment"}(i||(i={}));const o={[i.DUMMY_EXPERIMENT]:"33802",[i.CHECKOUT_BUNDLE_EXPERIMENT]:"61172",[i.DONOR_PORTAL_TEST_EXPERIMENT]:"68092",[i.CAMPAIGN_PAGE_TEST_EXPERIMENT]:"68383",[i.EMBED_TEST_EXPERIMENT]:"65492",[i.ML_POST_DONATION_UPSELL_CHECKOUT_EXPERIMENT]:"70084",[i.ML_POST_DONATION_UPSELL_CAMPAIGN_PAGES_EXPERIMENT]:"71732",[i.CHECKOUT_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT]:"73814",[i.CAMPAIGN_PAGES_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT]:"73816",[i.SMART_COVERING_FEE_CHECKOUT_V_2_EXPERIMENT]:"82767-modal",[i.SMART_COVERING_FEE_CAMPAIGN_PAGES_V_2_EXPERIMENT]:"82767-pages",[i.AA_CHECKOUT_EXPERIMENT]:"77715",[i.SMART_POST_DONATION_UPSELL_CHECKOUT_V_2_EXPERIMENT]:"79870-modal",[i.SMART_POST_DONATION_UPSELL_CAMPAIGN_PAGES_V_2_EXPERIMENT]:"79870-pages",[i.UPSELL_AMOUNTS_DATASET_MODAL_EXPERIMENT]:"87159-modal",[i.UPSELL_AMOUNTS_DATASET_PAGES_EXPERIMENT]:"87159-pages",[i.UPGRADE_LINKS_IN_INSTALLMENT_EMAILS_AI_V2_EXPERIMENT]:"87202",[i.UPGRADE_LINKS_PAGE_AI_V_2_EXPERIMENT]:"87190",[i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT]:"60395",[i.COLLECT_DATASET_POST_DONATION_UPSELL_AMOUNT_CHECKOUT_V_3_EXPERIMENT]:"89924-modal",[i.COLLECT_DATASET_POST_DONATION_UPSELL_AMOUNT_CAMPAIGN_PAGES_V_3_EXPERIMENT]:"89924-pages",[i.UPSELL_AMOUNTS_SUGGESTION_MODAL_EXPERIMENT]:"89701-modal",[i.UPSELL_AMOUNTS_SUGGESTION_PAGES_EXPERIMENT]:"89701-pages",[i.SMART_PDU_CHECKOUT_V_3_EXPERIMENT]:"89260-modal",[i.SMART_PDU_CAMPAIGN_PAGES_V_3_EXPERIMENT]:"89260-pages",[i.RECURRING_FREQUENCY_HINT_CAMPAIGN_PAGES_EXPERIMENT]:"59392-pages",[i.RECURRING_FREQUENCY_HINT_CHECKOUT_DESKTOP_EXPERIMENT]:"59392-desktop",[i.RECURRING_FREQUENCY_HINT_CHECKOUT_MOBILE_EXPERIMENT]:"59392-mobile",[i.CHECKOUT_STEPS_CAMPAIGN_PAGES_EXPERIMENT]:"59119-pages",[i.CHECKOUT_STEPS_CHECKOUT_MODAL_EXPERIMENT]:"59119-modal",[i.DONOR_RATING_CHECKOUT_EXPERIMENT]:"99706-modal",[i.DONOR_RATING_CAMPAIGN_PAGES_EXPERIMENT]:"99706-pages",[i.ML_DONATION_RETRY_V_3_EXPERIMENT]:"99145",[i.UPSELL_SCREEN_DATA_COLLECT_CAMPAIGN_PAGES_EXPERIMENT]:"112996-pages",[i.UPSELL_SCREEN_DATA_COLLECT_CHECKOUT_EXPERIMENT]:"112996-modal",[i.AMOUNT_PRESETS_CHECKOUT_V_4_EXPERIMENT]:"126493-modal",[i.AMOUNT_PRESETS_PAGES_V_4_EXPERIMENT]:"126493-pages",[i.AMOUNT_PRESETS_DONATION_FORM_V_4_EXPERIMENT]:"126493-DF",[i.AMOUNT_PRESETS_DONATION_FORM_V_5_EXPERIMENT]:"115114-DF",[i.AVERAGE_DONATION_HINT_EXPERIMENT]:"101523-modal",[i.AVERAGE_DONATION_HINT_CAMPAIGN_PAGES_EXPERIMENT]:"101523-pages",[i.FAST_TRACK_CAMPAIGN_PAGES_EXPERIMENT]:"101284-pages",[i.FAST_TRACK_CHECKOUT_EXPERIMENT]:"101284-modal",[i.UPGRADE_LINKS_IN_DP_REVERSE_EXPERIMENT]:"116912-DP",[i.UPGRADE_LINKS_IN_EMAILS_REVERSE_EXPERIMENT]:"116912-Email",[i.SMART_COVERING_FEE_CAMPAIGN_PAGES_V_4_EXPERIMENT]:"113277-pages",[i.SMART_COVERING_FEE_CHECKOUT_V_4_EXPERIMENT]:"113277-modal",[i.MULTIPLE_RECURRING_PLAN_CHECKOUT_EXPERIMENT]:"114635-modal",[i.MULTIPLE_RECURRING_PLAN_CAMPAIGN_PAGES_EXPERIMENT]:"114635-pages",[i.AMOUNT_PRESETS_CHECKOUT_V_5_EXPERIMENT]:"115114-modal",[i.AMOUNT_PRESETS_PAGES_V_5_EXPERIMENT]:"115114-pages",[i.DONATE_FROM_LOGIN_PAGE_EXPERIMENT]:"124886",[i.DONOR_PORTAL_COLORFUL_DONATE_BUTTON_EXPERIMENT]:"120437",[i.STRIPE_LINK_CHECKOUT_EXPERIMENT]:"115596-modal",[i.STRIPE_LINK_PAGES_EXPERIMENT]:"115596-pages",[i.FEE_COVERAGE_SELECTION_MODAL_EXPERIMENT]:"101219-modal",[i.FEE_COVERAGE_SELECTION_PAGES_EXPERIMENT]:"101219-pages",[i.DONATE_BY_VOICE_EXPERIMENT]:"133232",[i.UPSELL_SCREEN_CAMPAIGN_PAGE_V_3_EXPERIMENT]:"118987"};var r,a,c,l,d,u,p,h,m,g,E,f,T,v,y,_,w,S,A,N,C,O,I,b,P,R,L,k,D,M,x,U,F,K,G,B,V,H,j,X,z,W,Y,$,q,J,Z,Q,ee,te,ne,ie,oe,re,se,ae,ce,le,de,ue,pe,he,me,ge,Ee,fe,Te,ve;Object.values(o),function(e){e.BILLING="billing",e.EMBED="embed",e.CAMPAIGN_PAGES="campaignPages",e.DONOR_PORTAL="donorPortal",e.EMAILS="emails"}(r||(r={})),function(e){e.CONTROL="control",e.TEST="test"}(a||(a={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3"}(c||(c={})),function(e){e.CONTROL="control",e.TEST="test"}(l||(l={})),function(e){e.CONTROL="control",e.TEST="test"}(d||(d={})),function(e){e.CONTROL="control",e.TEST="test"}(u||(u={})),function(e){e.CONTROL="control",e.TEST="test"}(p||(p={})),function(e){e.CONTROL="control",e.TEST="test"}(h||(h={})),function(e){e.CONTROL="control",e.TEST="test"}(m||(m={})),function(e){e.CONTROL="control",e.TEST="test"}(g||(g={})),function(e){e.CONTROL="control",e.TEST="test"}(E||(E={})),function(e){e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3"}(f||(f={})),function(e){e.CONTROL="control",e.TEST="test"}(T||(T={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(v||(v={})),function(e){e.CONTROL="control",e.TEST="test"}(y||(y={})),function(e){e.CONTROL="control",e.TEST="test"}(_||(_={})),function(e){e.CONTROL="control",e.TEST="test"}(w||(w={})),function(e){e.CONTROL="control",e.TEST="test"}(S||(S={})),function(e){e.CONTROL="control",e.TEST="test"}(A||(A={})),function(e){e.CONTROL="control",e.TEST="test"}(N||(N={})),function(e){e.CONTROL="control",e.TEST="test"}(C||(C={})),function(e){e.CONTROL="control",e.TEST="test"}(O||(O={})),function(e){e.CONTROL="control",e.TEST="test"}(I||(I={})),function(e){e.CONTROL="control",e.TEST="test"}(b||(b={})),function(e){e.CONTROL="control",e.TEST="test"}(P||(P={})),function(e){e.CONTROL="control",e.TEST="test"}(R||(R={})),function(e){e.CONTROL="control",e.TEST="test"}(L||(L={})),function(e){e.CONTROL="control",e.TEST="test"}(k||(k={})),function(e){e.CONTROL="control",e.TEST="test"}(D||(D={})),function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing"}(M||(M={})),function(e){e.CONTROL="control",e.TEST="test"}(x||(x={})),function(e){e.CONTROL="control",e.TEST="test"}(U||(U={})),function(e){e.CONTROL="control",e.TEST="test"}(F||(F={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(K||(K={})),function(e){e.CONTROL="control",e.TEST="test"}(G||(G={})),function(e){e.CONTROL="control",e.TEST="test"}(B||(B={})),function(e){e.CONTROL="control",e.TEST="test"}(V||(V={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(H||(H={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(j||(j={})),function(e){e.CONTROL="control",e.TEST="test"}(X||(X={})),function(e){e.CONTROL="control",e.TEST="test"}(z||(z={})),function(e){e.CONTROL="control",e.TEST="test"}(W||(W={})),function(e){e.CONTROL="control",e.TEST="test"}(Y||(Y={})),function(e){e.CONTROL="control",e.TEST="test"}($||($={})),function(e){e.CONTROL="control",e.TEST="test"}(q||(q={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3",e.TEST_4="test-4"}(J||(J={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3"}(Z||(Z={})),function(e){e.CONTROL="control",e.TEST="test"}(Q||(Q={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(ee||(ee={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(te||(te={})),function(e){e.CONTROL="control",e.TEST="test"}(ne||(ne={})),function(e){e.CONTROL="control",e.TEST="test"}(ie||(ie={})),function(e){e.CONTROL="control",e.TEST="test"}(oe||(oe={})),function(e){e.CONTROL="control",e.TEST="test"}(re||(re={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(se||(se={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(ae||(ae={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3",e.TEST_4="test-4"}(ce||(ce={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3",e.TEST_4="test-4"}(le||(le={})),function(e){e.CONTROL="control",e.TEST="test"}(de||(de={})),function(e){e.CONTROL="control",e.TEST="test"}(ue||(ue={})),function(e){e.CONTROL="control",e.TEST="test"}(pe||(pe={})),function(e){e.CONTROL="control",e.TEST="test"}(he||(he={})),function(e){e.CONTROL="control",e.TEST="test"}(me||(me={})),function(e){e.CONTROL="control",e.TEST="test"}(ge||(ge={})),function(e){e.CONTROL="control",e.TEST="test"}(Ee||(Ee={})),function(e){e.CONTROL="control",e.TEST="test"}(fe||(fe={})),function(e){e.AUSTRALIA="AU",e.AUSTRIA="AT",e.BELGIUM="BE",e.BRAZIL="BR",e.BULGARIA="BG",e.CANADA="CA",e.CROATIA="HR",e.CYPRUS="CY",e.CZECH_REPUBLIC="CZ",e.DENMARK="DK",e.ESTONIA="EE",e.FINLAND="FI",e.FRANCE="FR",e.GERMANY="DE",e.GREECE="GR",e.HONG_KONG="HK",e.HUNGARY="HU",e.INDIA="IN",e.INDONESIA="ID",e.IRELAND="IE",e.ITALY="IT",e.JAPAN="JP",e.LATVIA="LV",e.LITHUANIA="LT",e.LUXEMBOURG="LU",e.MALAYSIA="MY",e.MALTA="MT",e.MEXICO="MX",e.NETHERLANDS="NL",e.NEW_ZEALAND="NZ",e.NORWAY="NO",e.POLAND="PL",e.PORTUGAL="PT",e.ROMANIA="RO",e.SINGAPORE="SG",e.SLOVAKIA="SK",e.SLOVENIA="SI",e.SPAIN="ES",e.SWEDEN="SE",e.SWITZERLAND="CH",e.THAILAND="TH",e.UNITED_ARAB_EMIRATES="AE",e.UNITED_KINGDOM="GB",e.UNITED_STATES="US",e.GIBRALTAR="GI",e.LIECHTENSTEIN="LI",e.PHILIPPINES="PH",e.ISRAEL="IL"}(Te||(Te={})),function(e){e.V5_1="v5.1",e.V5_2="v5.2",e.V5_3="v5.3",e.V5_4="v5.4"}(ve||(ve={}));const ye=/^E[A-Z\d]{7}$/,_e="/api/session";var we,Se,Ae,Ne,Ce;J.TEST_1,ve.V5_1,J.TEST_2,ve.V5_2,J.TEST_3,ve.V5_3,J.TEST_4,ve.V5_4,function(e){e.REMINDER="reminder",e.DONATE_BUTTON="donateButton",e.STICKY_BUTTON="stickyButton",e.IMAGE_CARD="imageCard",e.TEXT_LINK="textLink",e.DONATION_FORM="donationForm",e.SIMPLE_FORM="simpleForm",e.GOAL_METER="goalMeter",e.STAT_COUNTER="statCounter",e.IMPACT_SLIDER="impactSlider",e.DONATION_LEVELS="donationLevels",e.BUTTON_GROUP="buttonGroup",e.FLOATING_BUTTON="floatingButton",e.MESSAGE_BAR="messageBar",e.TOP_SUPPORTERS="topSupporters",e.TOP_LOCATIONS="topLocations",e.SOCIAL_PROOF="socialProof",e.QR_CODE="qrCode",e.RECENT_DONATIONS="recentDonations",e.P2P_BUTTON="p2pButton",e.P2P_LINK="p2pLink",e.TOP_FUNDRAISERS="topFundraisers",e.DONOR_MAP="donorMap",e.LIGHTBOX="lightbox",e.FUNDRAISING_PAGE_LINK="fundraisingPageLink",e.FUNDRAISING_PAGE_INVITE_LINK="fundraisingPageInviteLink",e.LINK="link",e.DIRECT_LINK="direct",e.DEBUG_PANEL="debugPanel",e.TEST_MODE_PANEL="testModePanel",e.SPLIT_TESTING="splitTesting",e.JS_API="jsApi"}(we||(we={})),function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing"}(Se||(Se={})),function(e){e.type="type",e.recurring="recurring",e.amount="amount",e.modifyAmount="modifyAmount",e.designationId="designationId",e.fundraiser="fundraiser",e.modifyDesignation="modifyDesignation",e.firstName="firstName",e.lastName="lastName",e.email="email",e.fundraiseupLivemode="fundraiseupLivemode"}(Ae||(Ae={})),function(e){e.ELEMENTS="ELEMENTS",e.CHECKOUT="CHECKOUT"}(Ne||(Ne={})),function(e){e.POPUP="POPUP",e.CHECKOUT="CHECKOUT",e.P2P_FORM="P2P_FORM"}(Ce||(Ce={}));const Oe=[Te.UNITED_KINGDOM,Te.CANADA,Te.GERMANY],Ie=e=>!Oe.includes(e),be=(e,t)=>{const{disabledAccounts:n,enabledAccounts:i}=e;if(null==n?void 0:n.find((e=>e===t)))return!1;const o=null==i?void 0:i.find((e=>e===t));return!((null==i?void 0:i.length)&&!o)};class Pe extends Error{constructor(e){super(`4 - ${e}`)}}class Re extends Error{constructor(e){super(`6 - ${e}`)}}class Le extends Error{constructor(e){super(`8 - ${e}`)}}class ke extends Error{constructor(e){super(`5 - ${e}`)}}class De extends Error{constructor(e){super(`9 - ${e}`)}}class Me{constructor(e){this.excluded=!1,this.isInitialized=!1,this.isActive=!1;const{settings:t,companyKey:n,widgetKey:i,tracker:o,funStorage:r,user:s,parentCompanyKey:a,infrastructureParams:c,sentry:l,distribution:d,allowExperiments:u=!0}=e;this.sentry=l,this.companyKey=n,this.parentCompanyKey=a,this.widgetKey=i,this.tracker=o,this.funStorage=r,this.user=s,this.infrastructureParams=c;const{experimentId:p,name:h,disabledAccounts:m,enabledAccounts:g,enabled:E,enabledWidgets:f}=t;this.name=h,this.experimentId=p,this.disabledAccounts=m,this.enabledAccounts=g,this.enabledWidgets=f,this.disabledWidgets=t.disabledWidgets,this.settings=t,this.enabled=E,this.distribution=d;const T=Array.isArray(window.FUN_DISABLED_EXPERIMENTS)?window.FUN_DISABLED_EXPERIMENTS:[];this.globalDisabled=!u||window.FUN_DISABLE_EXPERIMENTS||-1!==T.indexOf(p)}get isExperimentEnabled(){return((e,t)=>{var n;if(!t)return!1;const{enabled:i,experimentId:o}=t,r=e.get(),s=r&&(null===(n=r.settings[o])||void 0===n?void 0:n.enabled);return i||Boolean(s)})(this.funStorage,this.settings)}getDebugPanelEnabled(){var e,t;const n=null===(e=this.funStorage.get())||void 0===e?void 0:e.settings;return Boolean(n&&(null===(t=n[this.experimentId])||void 0===t?void 0:t.enabled))}get active(){return this.isActive}get variantName(){return this.distribution.currentVariantName}get variantKey(){return this.distribution.currentVariantKey}start(e){if(!this.checkDisabled()&&(this.isInitialized=this.init(),this.isInitialized)){this.activate();const e=this.getTags();this.tracker.setEventTags(e)}}getTags(){const e=[this.experimentId,`${this.experimentId}-${this.variantName}`];return this.excluded&&e.push(`${this.experimentId}-exclusion`),e}isVariant(e){return this.variantKey===e}setVariant(e,t=!0){this.distribution.setVariant(e),this.excluded=t;const n=[this.experimentId];this.tracker.removeEventTags(n);const i=this.getTags();this.tracker.setEventTags(i)}restoreVariant(){this.distribution.previousVariantName&&this.setVariant(this.distribution.previousVariantName,!1)}exposure(){this.isActive&&this.tracker.customTrack({type:"testGroupExposed",data:{exclusion:this.excluded,experimentId:this.experimentId,variantName:this.variantName}})}init(){var e,t,n,i;const o=this.getDebugPanelVariant();if(o.variant&&o.enabled)return this.setVariant(o.variant),!0;if(o.enabled&&!o.variant&&(this.excluded=!0),!be(this.settings,this.companyKey))return!1;const r=null===(e=this.enabledWidgets)||void 0===e?void 0:e.find((e=>e===this.widgetKey));if((null===(t=this.enabledWidgets)||void 0===t?void 0:t.length)&&!r)return!1;const s=null===(n=this.disabledWidgets)||void 0===n?void 0:n.find((e=>e===this.widgetKey));return!((null===(i=this.disabledWidgets)||void 0===i?void 0:i.length)&&s||(this.distribution.initCurrentVariantName(),0))}activate(){this.isActive?this.sentry.captureException(new Pe(this.name)):this.isActive=!0}checkDisabled(){const e=this.getDebugPanelExperimentsSettings();if(e){const t=e[this.experimentId];if(t&&t.enabled)return!1}return!this.enabled||this.globalDisabled}getDebugPanelExperimentsSettings(){const e=this.funStorage.get();return"object"!=typeof e?(this.sentry.captureException(new Re(e)),null):(null==e?void 0:e.settings)||null}getDebugPanelVariant(){var e;const t=null===(e=this.funStorage.get())||void 0===e?void 0:e.settings;if(!t)return{enabled:!1};const n=t[this.experimentId];return n&&(null==n?void 0:n.enabled)?{enabled:!0,variant:n.variant}:{enabled:!1}}}var xe,Ue,Fe,Ke,Ge,Be,Ve,He,je,Xe,ze,We,Ye,$e,qe,Je,Ze,Qe,et,tt,nt;(nt=xe||(xe={})).CARD="creditCard",nt.APPLE_PAY="applePay",nt.GOOGLE_PAY="googlePay",nt.CLICK_TO_PAY="clickToPay",nt.ACH="ach",nt.PLAID="plaid",nt.PAYPAL="paypal",nt.VENMO="venmo",nt.AU_BECS="auBecsDebit",nt.UK_BACS="ukBacs",nt.ACSS="acss",nt.SEPA="sepa",nt.IDEAL="ideal",nt.CRYPTO="crypto",nt.STOCK="stock",nt.US_BANK_ACCOUNT="usBankAccount",function(e){e.PAN_ONLY="PAN_ONLY",e.CRYPTOGRAM_3DS="CRYPTOGRAM_3DS"}(Ue||(Ue={})),function(e){e.AMEX="AMEX",e.DISCOVER="DISCOVER",e.JCB="JCB",e.MASTERCARD="MASTERCARD",e.VISA="VISA"}(Fe||(Fe={})),function(e){e.DEFAULT_MONTHLY="defaultMonthly",e.ONLY_MONTHLY="onlyMonthly",e.DEFAULT_ONETIME="defaultOnetime",e.ONLY_ONETIME="onlyOnetime"}(Ke||(Ke={})),function(e){e.FUNDRAISING_PAGE="fundraisingPage",e.REDIRECT="redirect",e.THANK_YOU_SCREEN="thankYouScreen"}(Ge||(Ge={})),function(e){e.NONE="none",e.GENERAL="general",e.CUSTOMIZED="customized"}(Be||(Be={})),function(e){e.ADAPTIVE_COST_COVERAGE="adaptiveCostCoverage",e.PRE_DONATION_UPSELL="preDonationUpsell",e.POST_DONATION_UPSELL="postDonationUpsell"}(Ve||(Ve={})),function(e){e.GENERAL="general",e.CUSTOMIZED="customized"}(He||(He={})),function(e){e.EMAIL="email",e.POSTAL_MAIL="postalMail",e.SMS="sms",e.PHONE_CALLS="phoneCalls",e.SOCIAL_MEDIA="socialMedia"}(je||(je={})),function(e){e.NOT_SUBMITTED="notSubmitted",e.OPTED_IN="optedIn",e.OPTED_OUT="optedOut"}(Xe||(Xe={})),function(e){e.EMAIL="email",e.SMS="sms",e.PHONE_CALLS="phoneCalls",e.POSTAL_MAIL="postalMail",e.SOCIAL_MEDIA="socialMedia"}(ze||(ze={})),function(e){e.DESKTOP="desktop",e.MOBILE="mobile"}(We||(We={})),function(e){e.DISABLED="disabled",e.DRY_RUN="dry-run",e.ENABLED="enabled"}(Ye||(Ye={})),function(e){e.LIVE="live",e.TEST="test"}($e||($e={})),function(e){e.TEXT="text",e.EMAIL="email"}(qe||(qe={})),function(e){e.WEBSITE="website",e.CAMPAIGN_PAGE="campaignPage",e.VIRTUAL_TERMINAL="virtualTerminal",e.DONOR_PORTAL="donorPortal",e.DASHBOARD="dashboard",e.RECURRING_MIGRATION="recurringMigration",e.API="api"}(Je||(Je={})),function(e){e.DAY_7="7d",e.MONTH="1m",e.MONTH_3="3m",e.YEAR_TO_DAY="ytd",e.YEAR="1y",e.YEAR_5="5y"}(Ze||(Ze={})),function(e){e.FULL="full",e.CHUNK="chunk"}(Qe||(Qe={})),function(e){e.CHARGES="charges",e.COMPANIES="companies",e.CUSTOMERS="customers",e.ELEMENTS="elements",e.SUBSCRIPTIONS="subscriptions",e.WIDGETS="widgets",e.FUNDRAISING_PAGES="fundraisingpages",e.USERS="users"}(et||(et={})),function(e){e.FULL="full",e.FROM="from"}(tt||(tt={})),Ze.DAY_7,Ze.MONTH,Ze.MONTH_3,Ze.YEAR_TO_DAY,Ze.YEAR,Ze.YEAR_5;const it=[xe.CARD,xe.APPLE_PAY,xe.GOOGLE_PAY,xe.PAYPAL,xe.VENMO,xe.US_BANK_ACCOUNT,xe.CRYPTO];class ot extends Me{tryStart(e){this.isActive||this.canBeStarted(e)&&super.start()}canBeStarted(e){let{isMobile:t,company:n,resolveData:i}=e;const{campaign:o,company:r}=i;return!(!t||!Ie(n.country)||o.config.showMailing||o.config.showDouble||o.config.donationTypes.crypto.enabled||!(e=>{const t=Object.keys(e).filter((t=>e[t]));return!!t.length&&t.every((e=>it.includes(e)))})(r.paymentOptions)||i.fundraisingPage||o.config.consent.type===Be.CUSTOMIZED)}get isTestGroup(){return this.isActive&&this.isVariant(b.TEST)}tryTrackStart(){this.isActive&&this.tracker.customTrack({type:"steplessCheckoutExperimentStarted",data:{variantName:this.variantName,exclusion:this.excluded}})}}var rt;!function(e){e.IN_HONOR_MEMORY="inHonorMemory",e.DEDICATION="dedication"}(rt||(rt={}));const st=e=>"string"==typeof e&&""!==e.trim()?e:void 0,at=e=>"no"!==e.fundraiseupLivemode&&("boolean"!=typeof window.fundraiseup_livemode||window.fundraiseup_livemode);function ct(e,t){let n=t;return e.isWidgetCustomHash(t)&&(n=e.getWidgetKeyByCustomHash(t)||t),n.toUpperCase()}const lt="pageView",dt="pageLeave",ut="customEvent",pt="dataLayer";var ht;!function(e){e.REMINDER="reminder",e.DONATE_BUTTON="donateButton",e.STICKY_BUTTON="stickyButton",e.IMAGE_CARD="imageCard",e.TEXT_LINK="textLink",e.DONATION_FORM="donationForm",e.SIMPLE_FORM="simpleForm",e.GOAL_METER="goalMeter",e.STAT_COUNTER="statCounter",e.IMPACT_SLIDER="impactSlider",e.DONATION_LEVELS="donationLevels",e.BUTTON_GROUP="buttonGroup",e.FLOATING_BUTTON="floatingButton",e.MESSAGE_BAR="messageBar",e.TOP_SUPPORTERS="topSupporters",e.TOP_LOCATIONS="topLocations",e.SOCIAL_PROOF="socialProof",e.QR_CODE="qrCode",e.RECENT_DONATIONS="recentDonations",e.P2P_BUTTON="p2pButton",e.P2P_LINK="p2pLink",e.TOP_FUNDRAISERS="topFundraisers",e.DONOR_MAP="donorMap",e.LIGHTBOX="lightbox",e.FUNDRAISING_PAGE_LINK="fundraisingPageLink",e.FUNDRAISING_PAGE_INVITE_LINK="fundraisingPageInviteLink",e.LINK="link",e.DIRECT_LINK="direct",e.DEBUG_PANEL="debugPanel",e.TEST_MODE_PANEL="testModePanel",e.SPLIT_TESTING="splitTesting",e.JS_API="jsApi"}(ht||(ht={}));class mt{constructor(){this.payload={}}merge(e){const t={};for(const n in e)t[n]=e[n];for(const e in this.payload)t[e]=this.payload[e];var n;!e.elementType||(n=e.elementType)&&Object.values(ht).includes(n)||delete t.elementType,this.payload=t,e.eventComment&&this.mergeEventComment(e.eventComment)}validate(){return!(!this.payload.companyKey||8!==this.payload.companyKey.length||!this.payload.clientId||!this.eventType)}toObject(){const e={};for(const t in this.payload)e[t]=this.payload[t];return this.payload.eventComment&&(e.eventComment=JSON.stringify(this.payload.eventComment)),e.eventType=this.eventType,e}mergeEventComment(e){this.payload.eventComment||(this.payload.eventComment={}),Object.assign(this.payload.eventComment,e)}}class gt extends mt{constructor(e){if(super(),this.payload={widgetKey:e.widgetKey,elementKey:e.elementKey,elementType:e.elementType,elementLocale:e.elementLocale,elementReminderKey:e.elementReminderKey,splitTestName:e.splitTestName,splitTestVariant:e.splitTestVariant,fundraisingPageKey:e.fundraisingPageKey,fundraisingPageCustomerKey:e.fundraisingPageCustomerKey,eventComment:e.eventComment},e.getElementTrackingData){const t=e.getElementTrackingData();t&&(this.payload.elementData=JSON.stringify(t))}else e.elementData&&(this.payload.elementData=JSON.stringify(e.elementData))}}class Et extends gt{get eventType(){return"elementOpenCheckout"}}class ft extends gt{constructor(e,t){super(e),t&&t.elementPartName&&this.merge({eventComment:{source:t.elementPartName}})}get eventType(){return"elementClick"}}class Tt extends mt{constructor(e){super(),this.merge({customEventType:e.customEventType,customEventData:JSON.stringify(e.customEventData)})}get eventType(){return ut}}function vt(e){let{tracker:t,keysKeeper:n,widgetKey:i,splitTestVariant:o,splitTestName:r,elementKey:s,elementType:a}=e;return t.track(new Et({widgetKey:n?ct(n,i):i,splitTestName:r,elementKey:s,elementType:a,splitTestVariant:o}))}var yt,_t=s("../fun-storage/dist/webpack/funSessionKeys.js");!function(e){e.EN_US="en-US",e.EN_GB="en-GB",e.EN_CA="en-CA",e.FR_CA="fr-CA",e.FR_FR="fr-FR",e.ES="es",e.NL="nl",e.NO="no",e.DE="de",e.FI_FI="fi-FI",e.AR_001="ar-001",e.SV="sv",e.IT="it",e.PT_PT="pt-PT",e.PT_BR="pt-BR",e.ZH_CN="zh-CN",e.ZH_TW="zh-TW",e.JA="ja",e.KO="ko",e.HU="hu",e.DA="da",e.RU_RU="ru-RU",e.ES_US="es-US",e.PL_PL="pl-PL"}(yt||(yt={}));const wt=[yt.EN_US,yt.EN_GB,yt.EN_CA,yt.FR_CA,yt.FR_FR,yt.ES,yt.NL,yt.NO,yt.DE,yt.FI_FI,yt.SV,yt.IT,yt.PT_PT,yt.PT_BR,yt.AR_001,yt.ZH_CN,yt.ZH_TW,yt.JA,yt.KO,yt.HU,yt.DA,yt.ES_US,yt.PL_PL,yt.RU_RU],St=[yt.AR_001];var At,Nt;function Ct(e){return e.split("-")[0]}(Nt=At||(At={})).LTR="ltr",Nt.RTL="rtl";const Ot={"&amp;":"&"};function It(e){let t=e;for(const o in Ot)Object.prototype.hasOwnProperty.call(Ot,o)&&e.includes(o)&&(n=o,i=Ot[o],t=t.replace(new RegExp(n,"g"),i));var n,i;return t}function bt(e,t=!1){return!t&&function(e){return St.includes(e)}(e)?At.RTL:At.LTR}var Pt=s("../../shared/dist/webpack/common/embed/helpers.js");const Rt="_lang";var Lt,kt,Dt;!function(e){e.URL="URL",e.WINDOW="WINDOW",e.URL_MATCHING="URL_MATCHING",e.BROWSER="BROWSER"}(Lt||(Lt={}));class Mt{constructor(e){this.checkoutTypes=e.checkoutTypes,this.donorPortalUrl=e.donorPortalUrl,this.window=e.window,this.campaignKey=e.campaignKey,this.customHash=e.customHash,this.hasBenefit=!!e.hasBenefit}shouldRedirect(){var e,t;return!(!this.donorPortalUrl||!(null===(e=this.checkoutTypes)||void 0===e?void 0:e.campaignPage)||!this.hasBenefit&&(null===(t=this.checkoutTypes)||void 0===t?void 0:t.checkoutModal))}getCampaignPageUrl(){return this.donorPortalUrl?function(e,t,n){const i=new URL(`${e}/page/${t}`);return i.toString()}(this.donorPortalUrl,this.customHash||this.campaignKey):""}async openCampaignPage(e){const{searchParams:t,elementType:n,element:i,checkoutData:o,checkoutIntent:r,elementTitle:s,elementName:a}=e||{},c=this.getCampaignPageUrl();if(!c)return;const l=new URL(c),d=null!=t?t:new URLSearchParams;d.set("embedClientId",e.clientId),d.set("eventTags",e.tags.join(",")),n&&d.set("elementType",n),s&&d.set("elementTitle",s),a&&d.set("elementName",a),i&&d.set("element",i),(null==o?void 0:o.fundraiser)&&d.set("fundraiser",o.fundraiser),o&&d.set("elementCheckoutData",this.encodeCheckoutData(o)),r&&d.set("checkoutIntent",this.encodeCheckoutData(r)),this.donorPortalUrl===this.window.location.origin&&d.set("fromDonorPortal","1"),e.locale.source&&[Lt.URL,Lt.WINDOW].includes(e.locale.source)&&d.set(Rt,e.locale.code);const u=l.toString(),p=(0,Pt.i)(d),h=p?`?${p}`:"";(function(){const e=/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent);return Boolean(e)})()&&await new Promise((e=>setTimeout(e,200))),this.window.location.href=`${u}${h}`}encodeCheckoutData(e){const t=JSON.stringify(e),n=encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,((e,t)=>{const n=parseInt(t,16);return String.fromCharCode(n)}));return btoa(n)}}let xt;function Ut(){return void 0===xt&&(xt=!1),xt}!function(e){e.ONLY_CAMPAIGN_PAGES="onlyCampaignPages",e.ONLY_CHECKOUT_MODAL="onlyCheckoutModal",e.BOTH_TYPES="bothTypes"}(kt||(kt={})),function(e){e.NOWHERE="nowhere",e.WIDGET="widget",e.URL="url"}(Dt||(Dt={}));var Ft=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}))};const Kt=(e,t,r,s,a,c,l,d,u,p,h,m,g,E,f)=>{let T=null;h.register(i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT,ot);const v=h.get(i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT);let y=!1,_=null;const w=e=>!!(r.inactiveWidgets||[]).find((t=>{let[n,i]=t;return n===e||i===e})),S=t=>Ft(void 0,void 0,void 0,(function*(){return e.needResolve(t)?(600,new Promise((e=>{setTimeout(e,600)}))):Promise.resolve()})),A=(e,t,n,i,o)=>Ft(void 0,void 0,void 0,(function*(){try{yield Promise.all([I(e,t,n,i,o),S(t)])}catch(e){y=!1,F(),console.error(e)}})),N=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return Ft(void 0,[e,...n],void 0,(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return function*(){var i,o,s;if(y)return;const a=at(r.queryParams||{}),l=Date.now();_=l;const d=null===(s=null===(o=null===(i=t.launcher)||void 0===i?void 0:i.checkoutInitialData)||void 0===o?void 0:o.campaign)||void 0===s?void 0:s.fundraiser,u=ct(c,e),p=[u,d].filter((e=>Boolean(e)));return B(p)?""===e&&d?((e,t,n,i)=>Ft(void 0,void 0,void 0,(function*(){y=!0,U("",t),yield A("",e,t,n,i)})))([d],a,t,l):((e,t,n,i,o,r,s)=>Ft(void 0,void 0,void 0,(function*(){w(e)?D(r,e):K(e)?yield b(e,i,s):(y=!0,U(e,n),yield A(e,t,n,i,o))})))(u,p,a,t,l,r.currentCompany,n):void 0}()}))},C=(t,n,i)=>Ft(void 0,void 0,void 0,(function*(){var o;const r=yield e.resolveKeys({keys:t,livemode:n,externalQueryParams:i.queryParams});if(null===(o=null==r?void 0:r.campaign)||void 0===o?void 0:o.key){const e=r.campaign.key;if(r.forceCampaignPageOpen||K(e)){const t=new URLSearchParams(i.queryParams||{});return t.delete("form"),void(yield b(e,i,t))}}return r})),O=e=>Ut()?E().load({widgetKey:e,locale:r.locale.code,source:Ne.CHECKOUT}):null,I=(e,n,i,o,s)=>Ft(void 0,void 0,void 0,(function*(){var a;const[h]=yield Promise.all([C(n,i,o)]),E=V(h)||H();v.tryTrackStart();const T=E?R:P,y=E?g:m;yield T(),d.emit("checkoutBeforeOpen",void 0);const _=yield y()(l,t,c,d,p,{resolvedConfig:h,trackingUrls:r.server.trackingUrls,currencyRates:r.data.currencyRates,env:r.server.env,pendingRequests:{goals:O(e)},paymentMethods:r.paymentMethods,livemode:r.livemode,isMobile:r.isMobile,isMobileSafari16:r.deviceData.isMobileSafari16,showcase:!1,externalParams:o,integrations:r.integrations,localeCode:r.locale.code,userMeta:null===(a=r.meta)||void 0===a?void 0:a.user,infrastructureQueryParams:null==r?void 0:r.queryParams,checkoutOpenTimestamp:s,htmlElementStyleManager:u,embedVersion:r.version,mainDomain:r.server.mainDomain,experimentsConfig:r.experimentsConfig,browserData:r.browserData,isDebugMode:r.isDebugMode,isFundraiseupVisitor:r.isFundraiseupVisitor,isAbTestMode:r.abTestDemoMode,steplessCheckoutExperimentVariant:v.variantName,steplessCheckoutExperimentExcluded:v.excluded,fromDonorPortal:r.fromDonorPortal,initialMarketingCookieConsent:f.getUserSessionConsent()});_&&k({checkoutApi:_,key:e,options:o,isLivemode:i})})),b=(e,t,n)=>Ft(void 0,void 0,void 0,(function*(){var i,o,s,a,c,d,u,p,h,m,g;const E=n||new URL(window.location.href).searchParams,f=new Mt({donorPortalUrl:r.staticConfig.donorPortalUrl,window,campaignKey:e}),T=null===(s=null===(o=null===(i=t.launcher)||void 0===i?void 0:i.checkoutInitialData)||void 0===o?void 0:o.campaign)||void 0===s?void 0:s.fundraiser,v=T?{checkoutData:{fundraiser:T}}:void 0;yield f.openCampaignPage(Object.assign({elementType:null===(c=null===(a=null==t?void 0:t.launcher)||void 0===a?void 0:a.element)||void 0===c?void 0:c.type,elementTitle:null===(u=null===(d=null==t?void 0:t.launcher)||void 0===d?void 0:d.element)||void 0===u?void 0:u.title,elementName:null===(h=null===(p=null==t?void 0:t.launcher)||void 0===p?void 0:p.element)||void 0===h?void 0:h.name,element:null===(g=null===(m=null==t?void 0:t.launcher)||void 0===m?void 0:m.element)||void 0===g?void 0:g.key,checkoutIntent:null==t?void 0:t.intent,searchParams:E,clientId:l.clientId,tags:l.getTags(),locale:r.locale},v))})),P=()=>Ft(void 0,void 0,void 0,(function*(){const e=r.server.checkoutAssets.scripts.filter((e=>!(e.includes("checkout-rtl-styles")&&L()===At.LTR||e.includes("checkout-styles")&&L()===At.RTL)));yield Promise.all(e.map((e=>n(e))))})),R=()=>Ft(void 0,void 0,void 0,(function*(){const e=r.server.checkoutSteplessAssets.scripts.filter((e=>!(e.includes("checkout-stepless-rtl-styles")&&L()===At.LTR||e.includes("checkout-stepless-styles")&&L()===At.RTL)));yield Promise.all(e.map((e=>n(e))))})),L=()=>bt(r.locale.code),k=e=>{const{checkoutApi:t,key:n,options:i}=e;t.on("close",(e=>{const{shouldReopen:t,tributeSelected:o}=e,r=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}(e,["shouldReopen","tributeSelected"]);y=!1,M("checkoutClose",r),t?window.setTimeout((()=>{var e,t,r;const s=Object.assign(Object.assign({},i),{launcher:Object.assign(Object.assign({},i.launcher),{checkoutInitialData:Object.assign(Object.assign({},null===(e=i.launcher)||void 0===e?void 0:e.checkoutInitialData),{tribute:Object.assign(Object.assign({},null===(r=null===(t=i.launcher)||void 0===t?void 0:t.checkoutInitialData)||void 0===r?void 0:r.tribute),{isSelected:o})})})});N(n,s)}),300):s.remove()})),t.on("checkoutIntent",(e=>{M("checkoutIntent",e)})),t.on("donationComplete",(e=>{M("donationComplete",e),x()}));const o=t.getOpenParams();M("checkoutOpen",o),setTimeout((()=>{F()}),150)},D=(e,t)=>{const n=e.disabledWidgets.redirectTo;if(n===Dt.WIDGET)return w(e.disabledWidgets.widgetKey)?void s.remove(!0):void N(e.disabledWidgets.widgetKey);n===Dt.URL&&window.location.assign(e.disabledWidgets.url),s.remove(!0),console.warn(`Campaign is not active | Widget ${t} is archived`)},M=(e,n)=>{t.logCode(7,{event:e,payload:n}),setTimeout((()=>{try{d.emit(e,n)}catch(e){console.error(e)}}),0)},x=()=>{p.setField(_t.p.LAST_SUCCESS_DONATION_AT,Date.now())},U=(e,t)=>{const n=bt(r.locale.code)===At.RTL;s.render({source:Ce.CHECKOUT}),a.render({campaignKey:e,isMobile:r.isMobile,isLivemode:t,isRtl:n})},F=()=>{a.hide()},K=e=>!!G(e),G=e=>c.getCheckoutType(e)===kt.ONLY_CAMPAIGN_PAGES,B=e=>e.some((e=>c.exists("WIDGET",e)||c.exists("FUNDRAISING_PAGE",e))),V=e=>(v.tryStart({isMobile:r.isMobile,company:r.currentCompany,resolveData:e}),v.isTestGroup),H=()=>r.server.env!==Se.PRODUCTION&&"true"===new URL(window.location.href).searchParams.get("stepless");return{getLatestStartOpenCheckoutTimestamp:()=>_,open:N,createShowcase:(e,n,i,o,s)=>(e.config.cryptoCurrencies=n,P().then((()=>{var n;return m()(l,t,c,d,p,{trackingUrls:r.server.trackingUrls,env:r.server.env,resolvedConfig:e,currencyRates:r.data.currencyRates,paymentMethods:r.paymentMethods,integrations:r.integrations,localeCode:r.locale.code,userMeta:null===(n=r.meta)||void 0===n?void 0:n.user,infrastructureQueryParams:null==r?void 0:r.queryParams,showcase:!0,isMobile:!1,isMobileSafari16:!1,livemode:!1,externalParams:{},checkoutOpenTimestamp:0,node:o,initialScreen:s,htmlElementStyleManager:u,embedVersion:r.version,mainDomain:r.server.mainDomain,experimentsConfig:{experiments:[]},browserData:r.browserData,isDebugMode:r.isDebugMode,isFundraiseupVisitor:r.isFundraiseupVisitor,isAbTestMode:r.abTestDemoMode,fromDonorPortal:r.fromDonorPortal},i)}))),preloadCheckout:()=>{window.FUN_DISABLE_PRELOADING||(()=>{const e=r.experimentsConfig.experiments.find((e=>e.experimentId===o[i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT]));return function(e,t,n,i){if(!i||!i.enabled)return!1;const o=be(i,e),r=Ie(t);return o&&n&&r}(r.currentCompany.key,r.currentCompany.country,r.isMobile,e)?()=>Promise.all([P(),R()]).then():P})()()},on:(e,t)=>{d.on(e,t)},emit:M,openCheckout:(e,t)=>{const{checkoutExternalParams:n,campaignPageSearchParams:i}=(e=>{var t,n,i,o,r,s,a,c,l,d,u;if(!e)return{checkoutExternalParams:{launcher:{element:{type:we.JS_API}}}};const p=e.customFields,h=st(e.fundraiser),m=st(null===(t=e.donation)||void 0===t?void 0:t.recurring),g=st(null===(n=e.donation)||void 0===n?void 0:n.currency),E="number"==typeof(f=null===(i=e.donation)||void 0===i?void 0:i.amount)&&Number.isFinite(f)?f:void 0;var f;const T=null===(o=e.config)||void 0===o?void 0:o.modifyAmount,v=st(null===(s=null===(r=e.designations)||void 0===r?void 0:r[0])||void 0===s?void 0:s.id),y=null===(a=e.config)||void 0===a?void 0:a.modifyDesignation,_=st(null===(c=e.tribute)||void 0===c?void 0:c.honoree),w=st(null===(l=e.supporter)||void 0===l?void 0:l.firstName),S=st(null===(d=e.supporter)||void 0===d?void 0:d.lastName),A=st(null===(u=e.supporter)||void 0===u?void 0:u.email),N={queryParams:{fundraiser:h},launcher:{element:{type:we.JS_API,customFields:p?Object.entries(p).map((e=>{let[t,n]=e;return{name:t,value:n}})):void 0},checkoutInitialData:{campaign:{fundraiser:h},donation:{frequency:m,currency:g,amount:void 0!==E?Math.round(100*E):void 0,isAmountEditable:T},designation:{id:v,isEditable:y},tribute:{inHonorOf:_,labelType:_?rt.IN_HONOR_MEMORY:void 0},supporter:{firstName:w,lastName:S,email:A}}}},C=new URLSearchParams;if(h&&C.set("fundraiser",h),m&&C.set("recurring",m),g&&C.set("currency",g),void 0!==E&&C.set("amount",E.toString()),void 0!==T&&C.set("modifyAmount",T?"yes":"no"),v&&C.set("designationId",v),void 0!==y&&C.set("modifyDesignation",y?"yes":"no"),_&&C.set("tributeHonoree",_),w&&C.set("firstName",w),S&&C.set("lastName",S),A&&C.set("email",A),p)for(const[e,t]of Object.entries(p))C.set(e,t);return{checkoutExternalParams:N,campaignPageSearchParams:C}})(t);vt({tracker:l,widgetKey:e,keysKeeper:c,elementType:we.JS_API,elementKey:"",splitTestName:"",splitTestVariant:""}),N(e,n,i)},setOpenedCheckoutElementId:e=>{T=e},getLastOpenedCheckoutElementId:()=>T}},Gt="test";class Bt{static isLocaleCode(e){return void 0!==e&&wt.includes(e)}constructor(e,t,n,i,o,r,s){this.translationService=e,this.dateFormatter=t,this.currencyFormatter=n,this.numberFormatter=i,this.company=o,this.donateToPayTokens=r,this._locale=Bt.DEFAULT_LOCALE,this.availableLocales=s.availableLocales,this.locale=s.locale,this.company=o,this.donateToPayTokens=r,this.dateFormatter.intl=this}get locale(){return this._locale}get language(){return this.locale.split("-")[0]}getCurrencyFormat(){return this.currencyFormatter.getFormat()}setLocale(e){const t=this.locale;this.locale=e;const n=[this.translationService.changeLocale(this.locale)];return Promise.all(n).then((()=>this.locale)).catch((e=>(this.locale=t,Promise.reject(e)))).finally((()=>{this.dateFormatter.changeLocale(this.locale),this.currencyFormatter.changeLocale(this.locale),this.numberFormatter.changeLocale(this.locale)}))}translate(e,t){const n=It(this.translationService.translate(e,t));return this.replaceDonateToPay(e,n)}safeTranslate(e,t){const n=It(this.translationService.safeTranslate(e,t));return this.replaceDonateToPay(e,n)}formatDate(e,t){return this.dateFormatter.format(e,t)}formatCurrency(e,t){return this.currencyFormatter.format(e,t)}formatSymbol(e,t){return this.currencyFormatter.formatCurrencySymbol(e,t)}formatNumber(e,t){return this.numberFormatter.format(e,t)}isLocaleAvailable(e){return this.availableLocales.some((t=>t===e))}replaceDonateToPay(e,t){if("AFJCHFEK"===this.company&&this.locale===yt.EN_US&&this.donateToPayTokens.includes(e)){const e={donation:"payment",Donation:"Payment",Donate:"Pay",donate:"pay",donating:"paying"};return t.replace(/donation|Donation|Donate|donate|donating/g,(t=>e[t]))}return t}set locale(e){this.isLocaleAvailable(e)?this._locale=e:this._locale=Bt.DEFAULT_LOCALE}}function Vt(e,t){if(e===Gt)return Ht();const n=Bt.isLocaleCode(e);return{code:n?e:Bt.DEFAULT_LOCALE,source:n?t:void 0,isTest:!1}}function Ht(){return{code:Bt.DEFAULT_LOCALE,isTest:Ut()}}function jt(e,t){return{code:e,source:t,isTest:!1}}var Xt,zt,Wt;Bt.DEFAULT_LOCALE=yt.EN_US,function(e){e.DONOR="donor",e.EMBED="embed",e.TEST="test"}(Xt||(Xt={}));class Yt{static get(e){switch(e){case Xt.DONOR:return Vt;case Xt.EMBED:return jt;case Xt.TEST:return Ht;default:throw new Error(`13 ${e}`)}}}function $t(e){const t="^"+e.replace(/([[\]{}()+?.^$|\\/])/g,"\\$1").replace(/\*/g,".*")+"$";return new RegExp(t)}class qt{constructor(e,t){this.locale=e,this.localizationConfig=t,this.next=null}setNext(e){this.next=e}handle(){return this.retrieveLocale()||(this.next?this.next.handle():null)}}class Jt extends qt{retrieveLocale(){return-1!==this.localizationConfig.interfaceLocales.indexOf(this.locale)?(e=this.locale,wt.includes(e)?this.locale:null):null;var e}}class Zt extends qt{retrieveLocale(){var e;return(e=this.locale,this.localizationConfig.interfaceLocales.find((t=>Ct(e)===Ct(t))))||null}}class Qt extends qt{retrieveLocale(){return Ct(this.locale)===Ct(this.localizationConfig.defaultLocale)?this.localizationConfig.defaultLocale:null}}!function(e){e.EN="en",e.ES="es",e.FR="fr",e.NL="nl",e.NO="no",e.DE="de",e.FI="fi",e.AR="ar",e.SV="sv",e.IT="it",e.PT="pt",e.ZH="zh",e.JA="ja",e.KO="ko",e.HU="hu",e.DA="da",e.RU="ru",e.PL="pl"}(zt||(zt={}));class en extends qt{retrieveLocale(){return Ct(this.localizationConfig.defaultLocale)===zt.EN?this.localizationConfig.defaultLocale:null}}class tn extends qt{retrieveLocale(){return this.localizationConfig.interfaceLocales.find((e=>Ct(e)===zt.EN))||null}}!function(e){e.HA="ha",e.IU="iu",e.GD="gd",e.CY="cy",e.BR="br",e.SQ="sq",e.SC="sc",e.NB="nb",e.NN="nn",e.HY="hy",e.AZ="az",e.BE="be",e.CE="ce",e.ET="et",e.KK="kk",e.KY="ky",e.LV="lv",e.LT="lt",e.MN="mn",e.TG="tg",e.UK="uk",e.UZ="uz",e.EU="eu",e.CA="ca",e.GL="gl"}(Wt||(Wt={}));class nn extends qt{retrieveLocale(){const e=nn.fallbackLocales.get(this.locale);return e&&-1!==this.localizationConfig.interfaceLocales.indexOf(e)?e:null}}nn.fallbackLocales=new Map([[Wt.HA,yt.AR_001],[Wt.IU,yt.EN_CA],[Wt.GD,yt.EN_GB],[Wt.CY,yt.EN_GB],[Wt.BR,yt.FR_FR],[Wt.SQ,yt.IT],[Wt.SC,yt.IT],[Wt.NB,yt.NO],[Wt.NN,yt.NO],[Wt.HY,yt.RU_RU],[Wt.AZ,yt.RU_RU],[Wt.BE,yt.RU_RU],[Wt.CE,yt.RU_RU],[Wt.ET,yt.RU_RU],[Wt.KK,yt.RU_RU],[Wt.KY,yt.RU_RU],[Wt.LV,yt.RU_RU],[Wt.LT,yt.RU_RU],[Wt.MN,yt.RU_RU],[Wt.TG,yt.RU_RU],[Wt.UK,yt.RU_RU],[Wt.UZ,yt.RU_RU],[Wt.EU,yt.ES],[Wt.CA,yt.ES],[Wt.GL,yt.ES]]);class on extends qt{retrieveLocale(){return this.localizationConfig.defaultLocale}handle(){return this.retrieveLocale()}}function rn(e,t,n){const i=new Qt(e,t),o=new Jt(e,t),r=new Zt(e,t),s=new nn(e,t),a=new tn(e,t),c=new on(e,t),l=new en(e,t);return o.setNext(i),i.setNext(r),r.setNext(s),n&&(s.setNext(l),l.setNext(a),a.setNext(c)),o}class sn{constructor(e,t){this.locales=e,this.companyLocalizationConfig=t}getUILocale(){const e=new on(this.locales[0]||"",this.companyLocalizationConfig);if(!this.locales.length)return e.handle();return function(e,t){if(!e.length)return null;for(let n=0;n<e.length;n++){const i=rn(e[n],t,n===e.length-1).handle();if(i)return i}return null}(this.locales,this.companyLocalizationConfig)||e.handle()}}class an{constructor(e){this.companyLocalizationSettings=e.companyLocalizationSettings,this.localeDetector=function(e){const t=e.currentUrl,n=e.queryParams,i=e.companyLocalizationSettings;return{detect:()=>{let o=n[Rt],r=o?Lt.URL:void 0;return o||(o=e.window[Rt],r=o?Lt.WINDOW:void 0),!o&&i.matchURL&&(o=(()=>{let e;return i.urlRules.forEach((n=>{const i=$t(n.url).test(t);!e&&i&&(e=n.locale)})),e})(),r=o?Lt.URL_MATCHING:void 0),!o&&i.matchBrowserLocale&&(o=e.window.navigator.languages?[...e.window.navigator.languages]:e.window.navigator.language,r=o?Lt.BROWSER:void 0),{locale:(Array.isArray(o)?o:[o]).filter(Boolean),source:r}}}}({window:e.window,currentUrl:e.window.location.href,queryParams:e.queryParams,companyLocalizationSettings:e.companyLocalizationSettings})}getConfig(){const{source:e,locale:t}=this.localeDetector.detect();if(t.includes(Gt))return Yt.get(Xt.TEST)();const n=(i=t).filter((e=>{if(!e.includes("-")){const t=Ct(e);return!i.some((n=>n!==e&&Ct(n)===t&&n.includes("-")))}return!0}));var i;const o=new sn(n,this.companyLocalizationSettings).getUILocale(),r=t.includes(o)?e:void 0;return Yt.get(Xt.EMBED)(o,r)}}var cn=s("../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.mjs"),ln=s("../fun-storage/dist/webpack/funCookiesKeys.js"),dn=s("./src/helpers/parseQueryParams.ts");function un(){return"loading"!==document.readyState?Promise.resolve():new Promise((e=>{document.addEventListener("DOMContentLoaded",(()=>e()))}))}const pn=e=>{let t=null,n=[],i=0;const o=t=>{[].forEach.call(t,(t=>{const o=r(t);if(o&&o.length){if(n.push(...o),i)return;i=window.setTimeout((()=>{i=0,e(n),n=[]}),50)}}))},r=e=>{const t=[];return e.addedNodes?([].forEach.call(e.addedNodes,(e=>{if("A"===e.tagName)return void t.push(e);if(e.classList&&e.classList.contains("fun-widget"))return void t.push(e);if(!e.querySelectorAll)return;const n=e.querySelectorAll(".fun-widget, [href]");n&&[].forEach.call(n,(e=>t.push(e)))})),t):t};return{run:()=>{try{t=new MutationObserver(o),t.observe(document.documentElement,{childList:!0,subtree:!0})}catch(e){console.error(e)}}}},hn=[ht.STICKY_BUTTON,ht.MESSAGE_BAR,ht.LIGHTBOX,ht.FLOATING_BUTTON];var mn;!function(e){e.ALL="all",e.DESKTOP_ONLY="desktopOnly",e.MOBILE_ONLY="mobileOnly"}(mn||(mn={}));const gn=["/","*"];function En(e){let t=e.replace(/(\?.*)/,"").replace(/(#.*)/,"");const n=t.charAt(t.length-1);return-1===gn.indexOf(n)&&(t+="/"),t}const fn=[ht.MESSAGE_BAR,ht.LIGHTBOX];const Tn=e=>{const t=document.createElement("link");t.rel="preload",t.as="script",t.href=e,document.head.appendChild(t);const n=document.createElement("script");n.src=e,n.async=!0,document.head.appendChild(n),n.onload=()=>{document.head.removeChild(t),document.head.removeChild(n)},n.onerror=()=>{document.head.removeChild(t),document.head.removeChild(n)}},vn="XFUNDEBUGPANEL";var yn=s("../../shared/dist/webpack/common/embed/serviceContainer.js");function _n(){return window.FUN_SERVICE_CONTAINER||(window.FUN_SERVICE_CONTAINER=new yn.T),window.FUN_SERVICE_CONTAINER}let wn=null;function Sn(){if(wn)return Promise.resolve(wn);const e=_n();return n(e.get(2).elementsApiScriptUrl).then((()=>(wn=e.get(18),wn)))}const An=[ht.FUNDRAISING_PAGE_LINK,ht.FUNDRAISING_PAGE_INVITE_LINK,ht.LINK,ht.DIRECT_LINK,ht.DEBUG_PANEL,ht.TEST_MODE_PANEL,ht.SPLIT_TESTING,ht.JS_API];var Nn=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}))};function Cn(e,t,n,i,o,r,s,a){var c=this;const l=i.server.elementsUrl,d=[],u=new Map,p=new Map;let h=[];const m=()=>{window.addEventListener("popstate",y),window.addEventListener("hashchange",y);const e=history.pushState,t=history.replaceState;history.pushState=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];const o=e.apply(this,n);return y(),o},history.replaceState=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];const o=t.apply(this,n);return y(),o}},g=()=>{const n=e.findElements();n.forEach((e=>{const t=u.get(e.key)||[];u.set(e.key,[...t,e]),E(e)}));const i=n.map((e=>{let{key:t}=e;return t}));t.addFundraisersKeys(i),S(n),_(i)},E=e=>{const i=t.exists("WIDGET",e.key||"");if(e.type!==we.LINK||!e.node||!i)return;const o=i=>{var s,a,c,l,d,u,p;null===(s=e.node)||void 0===s||s.removeEventListener("click",o);const h=i.target;if(h){const e=h.getAttribute("href");e&&function(e){let{tracker:t,href:n}=e;t.track(new Tt({customEventType:"urlOpenCheckout",customEventData:{href:n}}))}({tracker:r,href:e})}if(!(null===(a=e.node)||void 0===a?void 0:a.__funElement)&&(i.preventDefault(),i.stopPropagation(),e.key)){const i={queryParams:e.queryParams};if(e.node){const{test:t,variant:n}=(null===(c=window.FUN.splitTesting)||void 0===c?void 0:c.inspect(e.node))||{};t&&n&&(i.launcher={element:{splitTestName:t,splitTestVariant:n}})}const o={tracker:r,widgetKey:e.key,keysKeeper:t,elementKey:"",elementType:we.LINK,splitTestVariant:(null===(d=null===(l=i.launcher)||void 0===l?void 0:l.element)||void 0===d?void 0:d.splitTestVariant)||"",splitTestName:(null===(p=null===(u=i.launcher)||void 0===u?void 0:u.element)||void 0===p?void 0:p.splitTestName)||""};!function(e){let{tracker:t,keysKeeper:n,widgetKey:i,splitTestVariant:o,splitTestName:r,elementKey:s="",elementType:a=we.LINK}=e;t.track(new ft({widgetKey:n?ct(n,i):i,elementKey:s,elementType:a,splitTestName:r,splitTestVariant:o}))}(o),vt(o),n.open(e.key,i).catch((e=>console.error(e)))}};e.node.addEventListener("click",o)},f=(e,t)=>Sn().then((o=>{var r,s;o.addElements({elements:null!==(r=null==t?void 0:t.elements)&&void 0!==r?r:[],nodes:e,globalElements:null!==(s=null==t?void 0:t.globalElements)&&void 0!==s?s:[]}).then((()=>{i.disablePreloading||n.preloadCheckout()}))})),T=e=>Nn(this,void 0,void 0,(function*(){const t=s.getUrlParamsForElement(e),n=Object.assign(Object.assign({},e),{externalConfig:t,data:null});(function(e){return!An.includes(e.type)})(e)&&(n.data=i.livemode?e.data.live:e.data.test);const r=[n],a={params:[e.key]};o.logCode(8,{elements:r,info:a});const c=u.get(e.key);return c&&c.length?f(c,{elements:r}).then((()=>{u.delete(e.key),d.forEach((e=>e({elements:r},a)))})):(d.forEach((e=>e({elements:r},a))),Promise.resolve())})),v=e=>{const t=i.deviceData.isMobileOrTablet;h.length||(h=e);const n=e.filter((e=>{const n=function(e,t){if(function(e){return-1!==hn.indexOf(e.type)}(e)){if(e.config.deviceRestriction===mn.DESKTOP_ONLY&&t)return!1;if(e.config.deviceRestriction===mn.MOBILE_ONLY&&!t)return!1}return!0}(e,t),i=function(e,t=[],n=[]){const i=En(e),o=0===t.length||t.some((e=>$t(En(e)).test(i))),r=n.some((e=>$t(En(e)).test(i)));return o&&!r}(window.location.href,e.config.urlAllow,e.config.urlBlock),o=function(e){if(function(e){return-1!==fn.indexOf(e.type)}(e)){const{displayStartDate:t,displayEndDate:n}=e.data.live;if(!t&&!n)return!0;const i=Date.now(),o=t?Date.parse(t):null,r=n?Date.parse(n):null;if(o&&!r)return i>=o;if(!o&&r)return i<=r;if(o&&r)return i>=o&&i<r}return!0}(e),r=n&&i&&o;return r&&p.set(e.key,e),r})).map((e=>Object.assign(Object.assign({},e),{data:i.livemode?e.data.live:e.data.test})));return o.logCode(9,{globalElements:n}),i.livemode||n.push(Object.assign(Object.assign({},A()),{data:null})),d.forEach((e=>e({elements:[],globalElements:n}))),f([],{elements:[],globalElements:n})},y=()=>Nn(this,void 0,void 0,(function*(){try{if(!h.length)return;const e=h.filter((e=>!p.has(e.key)));if(!e.length)return;return o.logCode(10,{globalElements:e}),v(e)}catch(e){}})),_=e=>{-1!==e.indexOf(vn)&&T({key:vn,type:we.DEBUG_PANEL,name:"",config:{},data:{live:null,test:null}});const n=e.filter((e=>t.exists("ELEMENT",e)&&e!==vn)).map((e=>({key:e,type:t.getElementType(e)})));return!!n.length&&(n.forEach((e=>{let{key:t}=e;return w(t)})),!0)},w=e=>{Tn(`${l}elements/${e}.js`)},S=e=>{-1!==e.map((e=>{let{key:t}=e;return t})).indexOf(vn)&&T({key:vn,type:we.DEBUG_PANEL,name:"",config:{},data:{live:null,test:null}}),e.forEach((e=>{let{type:t,key:n}=e;t!==we.LINK&&t!==we.FUNDRAISING_PAGE_LINK&&t!==we.FUNDRAISING_PAGE_INVITE_LINK||T({key:n,type:t,name:"",config:{},data:{live:null,test:null}})}))},A=()=>({type:we.TEST_MODE_PANEL,key:"test-panel",name:"test-panel",config:{}});return{elementsUrl:l,initialize:()=>(pn((()=>{var e,t;null===(e=window.FUN.splitTesting)||void 0===e||e.init(),o.logCode(19),g(),null===(t=window.FUN.splitTesting)||void 0===t||t.reset()})).run(),window.FUN_DISABLE_GLOBAL_ELEMENTS||Tn(`${l}elements-global/${i.currentCompanyKey}.js`),un().then((()=>m())).then((()=>g())).catch((e=>console.error(e)))),createElement:function(e,t,n){for(var i=arguments.length,o=new Array(i>3?i-3:0),r=3;r<i;r++)o[r-3]=arguments[r];return Nn(c,[e,t,n,...o],void 0,(function(e,t,n){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return function*(){return(yield Sn()).createElementByType(e,t,i,n)}()}))},onElementsLoad:e=>{d.push(e)},addElementContent:T,addGlobalElementsContent:v,getElements:_,getElementInstance:e=>Sn().then((t=>t.getElementInstance(e))),getRenderedElementsByType:e=>Sn().then((t=>t.getRenderedElementsByType(e))),checkWasOpenedByDirectUrl:()=>a().wasOpenedByDirectUrl}}function On(e){return new Promise((function(t,n){In(e,t,n)}))}function In(e,t,n){const i=new XMLHttpRequest;i.open(e.method||"GET",e.url),i.withCredentials=!("withCredentials"in e)||Boolean(e.withCredentials),i.onload=function(){if(this.status>=200&&this.status<300){const e=i.getResponseHeader("content-type");if(e&&-1!==e.indexOf("application/json"))try{return t(JSON.parse(i.response))}catch(e){n(e)}t(i.response)}else{if(e.validStatuses&&-1!==e.validStatuses.indexOf(this.status))return t();n(new Error(`[Shared]: Server ${e.method} response status ${this.status} for url ${e.url}, ${i.statusText}`))}},i.onerror=function(){n({status:this.status,statusText:i.statusText})};const o=e.headers;o&&Object.keys(o).forEach((function(e){i.setRequestHeader(e,o[e])}));let r=e.params;return r&&"object"==typeof r&&(r=JSON.stringify(r)),i.send(r),{abort(){i.abort()}}}const bn=window.FUN_HOST||"https://api.fundraiseup.com",Pn=(window.FUN_CDN,window.FUN_STATIC),Rn=window.FUN_STATIC_S3||"https://static.fundraiseup.com";s.p=Pn||s.p;const Ln="/elements";var kn,Dn,Mn;function xn(e,t){return`${e}${Ln}${t}`}!function(e){e.DATA="/data",e.DONATION_FORM_PRESETS="/default/predict_default_amounts/v4",e.DONATION_FORM_PRESETS_V5="/donationFormPresets/v5",e.DEFAULT_FREQUENCY="/getDefaultFrequency/v3",e.GOALS="/goals"}(kn||(kn={})),function(e){e.ONCE="once",e.DAILY="daily",e.WEEKLY="weekly",e.BIWEEKLY="biweekly",e.EVERY_4_WEEKS="every4weeks",e.MONTHLY="monthly",e.BIMONTHLY="bimonthly",e.QUARTERLY="quarterly",e.SEMIANNUAL="semiannual",e.ANNUAL="annual"}(Dn||(Dn={})),function(e){e.ELEMENT_ID="elementId",e.ELEMENT_KEY="elementKey",e.FORM="form",e.AMOUNT="amount",e.CURRENCY="currency",e.RECURRING="recurring",e.MODIFY_DESIGNATION="modifyDesignation",e.FIRST_NAME="firstName",e.LAST_NAME="lastName",e.EMAIL="email",e.DESIGNATION="designationId",e.TRIBUTE="tributeHonoree"}(Mn||(Mn={}));const Un=[we.DONATION_FORM];we.DONATION_FORM;const Fn=/\/-\/(X[\dA-Z]{7})/,Kn=/^X[\dA-Z]{7}/,Gn=new RegExp("\\/-\\/(N[\\dA-Z]{7})"),Bn=new RegExp(`${Gn.source}(?!\\/join)`),Vn=new RegExp(`${Gn.source}\\/join`),Hn=/^N[\dA-Z]{7}/i,jn=/^[\dA-Z_-]{1,25}$/i,Xn=/#?(FUN.{8})/i;var zn=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}))};function Wn(e){return(0,dn.U)(window.location.search.substring(1))[e]}var Yn=s("../murmur/dist/src/murmur.js");function $n(e){let{elementKey:t,elementType:n,widgetKey:i,queryParams:o}=e;return t&&n?Object.assign(Object.assign({},o),{type:n,elementKey:t,key:i}):Object.assign(Object.assign({},o),{type:we.DIRECT_LINK,elementKey:"",key:i})}function qn(e){const t={elementType:we.DIRECT_LINK,splitTestName:"",splitTestVariant:"",widgetKey:""};return e.elementKey&&e.type?Object.assign(Object.assign(Object.assign({},t),e),{elementType:e.type,widgetKey:e.key}):t}const Jn=/#([\da-z_-]{1,25})(\?|&|$)/i;function Zn(e){const t=Jn.exec(e);return t&&t[1]?t[1]:""}class Qn extends mt{constructor(e){super(),this.payload={duration:e.duration,eventComment:{widgets:e.widgets}}}get eventType(){return"checkoutResolve"}}class ei extends mt{get eventType(){return dt}}var ti=s("../../shared/dist/webpack/common/embed/splitTesting/constants.js");class ni extends mt{constructor(e){super();const t=(0,Pt.UA)(location.href);t[ti.AC]&&(this.payload.splitTestName=t[ti.AC]),t[ti.$m]&&(this.payload.splitTestVariant=t[ti.AC]),e&&(this.payload.eventComment={...this.payload.eventComment,...e})}get eventType(){return lt}}class ii extends mt{constructor(e,t){super(),this.payload={splitTestName:e,splitTestVariant:t}}get eventType(){return"testVariantSelected"}}const oi=(e,t,n,i,o,r,a,c,l,d,u,p,h,m)=>{let g,E=!1,f=!1;const T=o.fromDonorPortal,v=()=>{l.logCode(2,3);const t=[window.location.href];window.FundraiseUp.h&&window.FundraiseUp.h.match(/^https?:\/\/.+\..+\//)&&t.push(window.FundraiseUp.h);for(let i=0;i<t.length;i++){const o=t[i];l.logCode(2,4,o);const s=(0,dn.U)(o),a=s.form,d=Zn(o),u={queryParams:s},p=c.exists("WIDGET",a),h=c.exists("WIDGET",d),m=p&&a||h&&d;if(m){const t=$n({elementType:c.getElementType(s.element),elementKey:s.element,widgetKey:m,queryParams:s}),n=qn(t);vt({tracker:r,widgetKey:m,keysKeeper:c,elementType:t.type,elementKey:t.elementKey,splitTestName:"",splitTestVariant:""});const i=Object.assign(Object.assign({},u),{launcher:{element:{key:n.elementKey,type:n.elementType}}});return f=!0,e.open(m,i)}const g=c.getElementType(a);if(g===we.P2P_BUTTON||g===we.P2P_LINK)return l.logCode(2,5),f=!0,n.open(a);if(Hn.test(a))return l.logCode(2,6),f=!0,n.open(a);if(a&&jn.test(a))return l.logCode(2,6),f=!0,n.openByFundraiserSlug(a)}return Promise.resolve()},y=()=>{!function(e,t){if(t.get()||t.set({disableIsFundraiseupVisitor:!1,elements:{showAllGlobalElementsInTestEnv:!1},settings:{}},{path:e.location.pathname}),e.querySelector(`iframe#${vn}`))return;const n="#"+vn,i=e.createElement("a");i.setAttribute("href",n),i.style.display="none",e.body.appendChild(i)}(document,d)},_=()=>{return e=void 0,t=void 0,i=function*(){if(!o.abTestMode)return;const{SplitTesting:e}=yield s.e(707).then(s.bind(s,"./src/splitTesting/SplitTesting.ts"));g=new e({keysKeeper:c,clientId:r.clientId,api:window.FundraiseUp,companyKey:o.currentCompanyKey,demoMode:o.abTestDemoMode,onVariantSelect:e=>{let{testName:t,variantName:n}=e;r.track(new ii(t,n))},onReset:()=>{g.allVariantNodes.forEach((e=>{const t=[].slice.call(e.querySelectorAll('a[href^="#X"],a[href^="#x"]')).some((e=>c.exists("ELEMENT",e.hash.replace("#",""))));if(t)return void l.log("Split Testing: on reset",{hasElement:t});const n=u.getNodeParams(e),i=u.extractNodeParams(e)||n,o=null==i?void 0:i.key;o&&c.exists(["WIDGET","ELEMENT"],o)?l.log("Split Testing: known key",{key:o}):Sn().then((t=>t.createElementByType(we.SPLIT_TESTING,{elementKey:"",elementType:we.SPLIT_TESTING,elementName:we.SPLIT_TESTING,config:{},elementFoundTimestamp:Date.now()},!1,e).catch((e=>console.error(e)))))}))}}),g.init()},new((n=void 0)||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}));var e,t,n,i},w={get experiments(){return h},get splitTesting(){return g},get livemode(){return o.livemode},get version(){return o.version},get initialized(){return E},get wasOpenedByDirectUrl(){return f},init:()=>E?(l.logCode(1),Promise.resolve()):(p.incrementSession(),document.head.insertAdjacentHTML("beforeend",'<link href="https://ucarecdn.com/" rel="dns-prefetch">'),function(e){if(window.FUN_WIDGET_KEYS){e.addWidgetKeys(window.FUN_WIDGET_KEYS);const t=window.FUN_WIDGET_KEYS.push;window.FUN_WIDGET_KEYS.push=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e.addWidgetKeys(i),t.apply(window.FUN_WIDGET_KEYS,i)}}}(c),function(e){window.FUN_ELEMENT_KEYS={add(t,n){e.addElementKeys(t,n)}}}(c),(()=>{const e=function(e){return{gaDetectResult:{gtag:Boolean(e.gtag),ga:Boolean(e.ga&&e.ga.create),ga4:Boolean(e.dataLayer)}}}(window),t=function(e){return e.matchMedia&&e.matchMedia("(prefers-color-scheme: dark)").matches}(window);r.track(new ni(Object.assign(Object.assign({},e),{darkMode:t}))),window.addEventListener("beforeunload",(()=>{r.track(new ei)})),a.onResolve(((e,t)=>{r.track(new Qn({widgets:[e.campaign.key],fundraisingPages:e.fundraisingPage?[e.fundraisingPage.key]:[],duration:t.duration}))}))})(),function(e,t){const n=(e,n)=>"string"!=typeof e?e[0](t):t[e](...[].slice.call(n));return{init:()=>{e.l.forEach((e=>{n(...e)})),e.l.push=e=>(n(...e),e.length)}}}(window.FundraiseUp,e).init(),Promise.all([_(),t.initialize(),v(),T?Promise.resolve():function(){if("yes"===Wn("fundraiseupDebug")){const e=prompt("");if(e)return 1648622467===(0,Yn.A)(e)}return"yes"===Wn("fundraiseupABTestDebug")}()?un().then((()=>y())):Promise.resolve()]).then((()=>{E=!0,window.FUN_STARTUP_HOOK&&window.FUN_STARTUP_HOOK(),null==g||g.reset()}))),checkout:e,elements:t,forms:n,services:i,config:o,tracker:r,debug:function(){const e=new Date;e.setFullYear(e.getFullYear()+5),m.set(!0,{expires:e})}};return T||(w.showDebugPanel=y),w};function ri(e){return e.map((e=>({...e,key:e.name})))}const si={experimentId:o[i.CHECKOUT_BUNDLE_EXPERIMENT],name:i.CHECKOUT_BUNDLE_EXPERIMENT,enabled:!1,scope:r.EMBED,variants:[{name:c.CONTROL,weight:33},{name:c.TEST_1,weight:33},{name:c.TEST_2,weight:33},{name:c.TEST_3,weight:1}]},ai={experimentId:o[i.EMBED_TEST_EXPERIMENT],name:i.EMBED_TEST_EXPERIMENT,enabled:!1,scope:r.EMBED,variants:[{name:p.CONTROL,weight:1},{name:p.TEST,weight:1}]},ci={experimentId:o[i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT],name:i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT,enabled:!1,scope:r.EMBED,variants:[{name:b.CONTROL,weight:1},{name:b.TEST,weight:1}]},li={experimentId:o[i.AMOUNT_PRESETS_DONATION_FORM_V_4_EXPERIMENT],name:i.AMOUNT_PRESETS_DONATION_FORM_V_4_EXPERIMENT,enabled:!1,scope:r.EMBED,variants:[{name:q.CONTROL,weight:1},{name:q.TEST,weight:1}],blockers:[o[i.AMOUNT_PRESETS_DONATION_FORM_V_5_EXPERIMENT]]},di={experimentId:o[i.AMOUNT_PRESETS_DONATION_FORM_V_5_EXPERIMENT],name:i.AMOUNT_PRESETS_DONATION_FORM_V_5_EXPERIMENT,enabled:!1,scope:r.EMBED,variants:[{name:J.CONTROL,weight:1},{name:J.TEST_1,weight:1},{name:J.TEST_2,weight:1},{name:J.TEST_3,weight:1},{name:J.TEST_4,weight:1}],blockers:[o[i.AMOUNT_PRESETS_DONATION_FORM_V_4_EXPERIMENT]]};const ui=function(e){return[si,ai,ci,li,di].map((e=>({...e,variants:ri(e.variants)}))).map((t=>{const n=e.find((e=>e.experimentId===t.experimentId));return n?{experimentId:n.experimentId,enabledWidgets:n.enabledWidgets,disabledWidgets:n.disabledWidgets,scope:n.scope,name:n.name,enabled:n.enabled,variants:ri(n.variants),disabledAccounts:n.disabledAccounts,enabledAccounts:n.enabledAccounts}:t}))};class pi{constructor({distributionId:e,name:t,variants:n,sentry:i}){this.variants=new Map,this.distributionId=e,this.name=t,this.sentry=i,n.forEach((e=>{this.variants.set(e.name,{name:e.name,key:e.key,weight:e.weight})})),this.variantSelectors=this.getDistributedSelectors()}get currentVariantName(){return this._currentVariantName}get currentVariantKey(){var e;return this._currentVariantName?null===(e=this.variants.get(this._currentVariantName))||void 0===e?void 0:e.key:void 0}get previousVariantName(){return this._previousVariantName}initCurrentVariantName(){var e;const t=this.getSelection(),n=[];this.variantSelectors.forEach(((e,t)=>{n.push([t,e])})),this.currentVariantName=null===(e=n.find((([,[e,n]])=>t>=e&&t<n)))||void 0===e?void 0:e[0]}setVariant(e){this.variants.has(e)?this.currentVariantName=e:this.sentry.captureException(new ke(this.name))}set currentVariantName(e){this._previousVariantName=this._currentVariantName,this._currentVariantName=e}getSelection(){const e=this.getMaxDistributionValue();return Number((0,Yn.A)(`${this.distributionId}:${this.name}`)%e)}getDistributedSelectors(){let e=0;const t=new Map;return this.assertVariantsWithWeight(this.variants),this.variants.forEach((({weight:n},i)=>{const o=this.getWeightSum(),r=this.getMaxDistributionValue()/o;t.set(i,[e,e+r*n]),e+=r*n})),t}getWeightSum(){let e=0;return this.assertVariantsWithWeight(this.variants),this.variants.forEach((({weight:t})=>e+=t)),e}getMaxDistributionValue(){return 100*this.variants.size}assertVariantsWithWeight(e){if(![...e.entries()].every((([,{weight:e}])=>void 0!==e)))throw new Error("Every variant should have weight")}}class hi{constructor(e){this.experiments=new Map;const{experimentsSettings:t,tracker:n,funStorage:i,companyKey:o,widgetKey:r,user:s,parentCompanyKey:a,infrastructureParams:c,sentry:l,distributionId:d,isDebugMode:u,isFundraiseupVisitor:p,isAbTestMode:h=!1}=e;if(this.experimentsSettings=t,this.tracker=n,this.funStorage=i,this.companyKey=o,this.parentCompanyKey=a,this.widgetKey=r,this.user=s,this.infrastructureParams=c,this.sentry=l,this.distributionId=d,this.isDebugMode=u,this.isFundraiseupVisitor=p,this.isAbTestMode=h,!this.distributionId)throw new Error("ExperimentController: Distribution ID is required")}get allowExperiments(){return!!this.isDebugMode||!this.isFundraiseupVisitor&&!this.isAbTestMode}register(e,t){if(this.experiments.has(e))return;const n=this.createExperiment(e,t);n&&this.experiments.set(e,n)}get(e){if(!this.experiments.has(e)){const t=new De(e);throw this.sentry.captureException(t),t}return this.experiments.get(e)}registerAndGet(e,t){return this.register(e,t),this.get(e)}has(e){return this.experiments.has(e)}createExperiment(e,t){const n=o[e];if(!n)throw new Error(`ExperimentController: Experiment ID not found for experiment ${e}`);const i=this.experimentsSettings.find((e=>e.experimentId===n));if(!i)return this.sentry.captureException(new Le(e)),null;const r=this.getDistributionExperimentName(i),s=new pi({distributionId:this.distributionId,name:r,variants:i.variants,sentry:this.sentry});return new t({settings:i,companyKey:this.companyKey,parentCompanyKey:this.parentCompanyKey,tracker:this.tracker,funStorage:this.funStorage,user:this.user,widgetKey:this.widgetKey,infrastructureParams:this.infrastructureParams,sentry:this.sentry,distribution:s,allowExperiments:this.allowExperiments})}getDistributionExperimentName(e){return e.experimentId===o[i.AMOUNT_PRESETS_DONATION_FORM_V_4_EXPERIMENT]||e.experimentId===o[i.AMOUNT_PRESETS_PAGES_V_4_EXPERIMENT]?i.AMOUNT_PRESETS_CHECKOUT_V_4_EXPERIMENT:e.experimentId===o[i.AMOUNT_PRESETS_DONATION_FORM_V_5_EXPERIMENT]?i.AMOUNT_PRESETS_CHECKOUT_V_5_EXPERIMENT:e.name}}class mi extends hi{register(e,t,n){const i=this.getExperimentKey(e,n),o=this.createExperiment(e,t);o&&this.experiments.set(i,o)}get(e,t){const n=this.getExperimentKey(e,t);return super.get(n)}registerAndGet(e,t,n){return this.register(e,t,n),this.get(e,n)}has(e,t){const n=this.getExperimentKey(e,t);return super.has(n)}getExperimentKey(e,t){return t?`${e}_${t}`:e}}function gi(e){return null!=e}var Ei=s("./src/helpers/parseHref.ts");const fi=(e,t)=>{const n=new WeakMap,i=i=>{if("fun"===i.getAttribute("data-ignore"))return null;const o=i.getAttribute("href")||"";let r=(0,Ei.d)(o);const s=(0,dn.U)(o);if(Fn.test(o)){const e=Fn.exec(o);if(e&&e[1]){const t=e[1];r||(r={}),r.key=t,r.type=we.TEXT_LINK}}if(Bn.test(o)){const e=Bn.exec(o);if(e&&e[1]){const t=e[1];r||(r={}),r.key=t,r.type=we.FUNDRAISING_PAGE_LINK}}if(Vn.test(o)){const e=Vn.exec(o);if(e&&e[1]){const t=e[1];r||(r={}),r.key=t,r.type=we.FUNDRAISING_PAGE_INVITE_LINK}}o==="#"+vn&&(r||(r={}),r.key=vn,r.type=we.DEBUG_PANEL),s.form&&(r||(r={}),r.key=s.form,Object.assign(r,s));const a={type:we.LINK,key:"",elementFoundTimestamp:0};if(r){const t=r.type||function(e,t,n){if(/^[#?]/.test(n))return!0;const i=e.split("#")[0],o=t.split("#")[0],r=t.split("?")[0];return i===o||i===r||e.split("?")[0]===r}(i.href,window.location.href,o);if(!t)return null;a.key=r.key;const n=r.type||e.getElementType(a.key);a.type=n||we.LINK}else a.key=function(e,t){if(e.getAttribute)return e.getAttribute("data-key")||void 0}(i)||"";return-1!==[we.LINK,we.FUNDRAISING_PAGE_LINK,we.FUNDRAISING_PAGE_INVITE_LINK,we.TEXT_LINK].indexOf(a.type)&&(a.queryParams=s),a.key&&(a.type!==we.LINK||e.exists("ELEMENT",a.key)||e.exists("WIDGET",a.key))?(r&&r.designationId&&(c=r.designationId)&&ye.test(c)&&(a.designationId=r.designationId),a.key=ct(e,a.key),a.node=i,a.elementFoundTimestamp=Date.now(),t.logCode(12,{params:a}),n.set(a.node,a),a):null;var c};return{getNodeParams:e=>n.get(e),findElements:()=>{const e=document.querySelectorAll(".fun-widget, a[href]");return t.logCode(11,{primaryNodes:e}),o=[].slice.call(e),t.logCode(13,{nodes:o}),o.filter((e=>!n.has(e))).filter((e=>(e=>"function"!=typeof document.contains||document.contains(e))(e))).map((e=>i(e))).filter(gi);var o},extractNodeParams:i}},Ti=e=>e&&"object"==typeof e&&"consent"===e[0],vi=e=>Ti(e)&&"default"===e[1],yi=e=>Ti(e)&&"update"===e[1],_i=(e,t)=>({checkHasDefaultConsent:()=>{var e;return Boolean((null===(e=t.dataLayer)||void 0===e?void 0:e.length)&&t.dataLayer.some(vi))},initialize:()=>{t.dataLayer=t.dataLayer||[];const n=t.dataLayer.push;t.dataLayer.forEach((t=>{vi(t)&&e.emit("consentDefault",t[2]),yi(t)&&e.emit("consentUpdate",t[2])})),((t,n)=>{t.push=function(){for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return o.forEach((t=>{yi(t)&&e.emit("consentUpdate",t[2])})),n.apply(t,o)}})(t.dataLayer,n)}});var wi;function Si(e,t,n,i,o,r){let s=!1;const a=i=>{try{e.logCode(21,{consent:i}),"granted"===i.functionality_storage&&o.initializeFuncStorage(),"denied"===i.functionality_storage&&o.deniedWriteToFuncStorage(),"granted"===i.analytics_storage&&o.initializeStatStorage(),i.ad_user_data&&(s="granted"===i.ad_user_data,n.emit(wi.UPDATE,{marketingCookieConsent:s}))}catch(n){e.logCode(23,{error:n}),t.captureException(new Error(`Consent API error: ${n.message}`))}},c=e=>{e.region||a(e)},l=e=>{a(e)};return{getUserSessionConsent:()=>s,initialize:()=>{i.checkHasDefaultConsent()?(n.on("consentDefault",c),n.on("consentUpdate",l),i.initialize(),e.logCode(20,{dataLayer:window.dataLayer})):(r.setupFuncCookie(),o.initialize(),o.allowWriteToFuncStorage(),e.logCode(22,{dataLayer:window.dataLayer}))}}}!function(e){e.UPDATE="sessionConsentUpdate"}(wi||(wi={}));class Ai{constructor(){this.events=new Map}on(e,t){const n=this.events.get(e)||[];n.push(t),this.events.set(e,n)}off(e,t){const n=(this.events.get(e)||[]).filter((e=>e!==t));this.events.set(e,n)}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];(this.events.get(e)||[]).forEach((e=>e(...n)))}}const Ni=["APZMZAGU","AZFMPNQE","ARVHGABZ","AGSTXLKM"];var Ci=s("./src/preloader/backdrop.css"),Oi=s.n(Ci);function Ii(e,t){if(e.body)return t();setTimeout(Ii.bind(null,e,t),10)}const bi="fun-widget-backdrop-spinner";class Pi{constructor(e,t,n){this.targetWindow=e,this.scrollLocker=t,this.eventEmitter=n,this.isExists=!1,this.container=null,this.activeSource=null,this.targetWindow=e,this.setStyle()}render(e){let{showSpinner:t=!1,source:n}=e;return this.isExists=!0,this.targetWindow.document.getElementById(Pi.styleId)||this.setStyle(),this.activeSource=n,this.container||(this.container=this.targetWindow.document.createElement("div"),this.container.__funIgnoreInViewportTracker=!0,this.container.classList.add("fun-widget-backdrop-holder"),this.container.style.setProperty("background","rgba(57, 58, 63, 0.85)","important"),t&&this.showSpinner(),this.targetWindow.document.body?(this.targetWindow.document.body.appendChild(this.container),this.scrollLocker.lock()):Ii(this.targetWindow.document,(()=>{this.container&&(this.targetWindow.document.body.appendChild(this.container),this.scrollLocker.lock())})),this.eventEmitter.emit("backdropOpen",void 0)),this}setStyle(){this.targetWindow.document.head.insertAdjacentHTML("afterbegin",`<style id="${Pi.styleId}">${Oi()}</style>`)}remove(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.isExists=!1,this.scrollLocker.unlock(),this.container?e?(this.removeContainer(),this.notifyBackdropClosed(),this):(this.container.style.transition="opacity .2s ease",this.container.addEventListener("transitionend",(()=>{this.container&&(this.removeContainer(),this.notifyBackdropClosed())})),this.container.style.opacity="0",this):this}removeContainer(){this.container&&(this.container.remove(),this.container=null)}notifyBackdropClosed(){this.activeSource=null,this.eventEmitter.emit("backdropClose",null)}hideSpinner(){if(!this.container)return console.warn(3),this;const e=this.container.querySelector(`#${bi}`);return e&&e.remove(),this}showSpinner(){return this.container?(this.container.insertAdjacentHTML("afterbegin",`<div id=${bi} class="fun-widget-backdrop" />`),this):(console.warn(3),this)}getActiveSource(){return this.activeSource}}var Ri;Pi.styleId="__funBackdropStyles",function(e){e.WITH_ASK_PAGE="withAskPage",e.NO_ASK_PAGE="noAskPage"}(Ri||(Ri={}));const Li=(e,t,n)=>n.indexOf(e)===t,ki=Symbol("CUSTOM_FINGERPRINT");var Di;Symbol("EXTRA"),Symbol("TAGS"),function(e){e.COMMON="common",e.ADMIN="admin",e.DASHBOARD="dashboard",e.DONOR_PORTAL="donorPortal",e.CAMPAIGN_PAGE="campaign-page",e.INTEGRATION="integration",e.BILLING="billing",e.CHECKOUT="checkout",e.CHECKOUT_STEPLESS="checkout-stepless",e.EMAILS="emails"}(Di||(Di={}));const Mi=new Map;async function xi(e){const t=new Ui(e),n=Mi.get(e.url);e.cancelSimilar&&n&&n(),Mi.set(e.url,t.abort.bind(t));try{const n=await t.send();return Mi.delete(e.url),n}catch(t){throw"AbortError"!==(null==t?void 0:t.originalErrorName)&&Mi.delete(e.url),t}}class Ui{constructor(e){this.options=e,this.abortController=function(){try{return void 0!==window.AbortController}catch{return!1}}()?new AbortController:null}abort(){var e;null===(e=this.abortController)||void 0===e||e.abort()}async send(){var e,t;const n=this.getUrl(),i=this.getHeaders(),o=this.getBody(),r=this.getCredentials();let s;try{s=await fetch(n,{method:this.options.method,signal:null===(e=this.abortController)||void 0===e?void 0:e.signal,headers:i,credentials:r,body:o})}catch(e){const t=e instanceof Error?e.message:"Network Error";throw new Fi(0,t,this.options.method,this.options.url,null==e?void 0:e.name,this.options.setCustomFingerprint)}const a=s.status;let c;const l=s.headers.get("content-type");if(c=(null==l?void 0:l.includes("application/json"))?await s.json():await s.text(),a>=500&&this.options.rejectOnInvalid)throw new Fi(a,s.statusText,this.options.method,this.options.url,"",this.options.setCustomFingerprint);const d=a>=200&&a<400||(null===(t=this.options.validStatuses)||void 0===t?void 0:t.includes(a));return{data:c,valid:Boolean(d)}}getHeaders(){const e=new Headers,t=this.options.headers;return t&&Object.keys(t).forEach((n=>{const i=t[n];void 0!==i&&e.append(n,i)})),e}getBody(){return void 0!==this.options.params&&"GET"!==this.options.method?JSON.stringify(this.options.params):null}getUrl(){let e=this.options.url;if("GET"===this.options.method&&this.options.params){const t=new URLSearchParams;for(const e of Object.keys(this.options.params))void 0!==this.options.params[e]&&t.set(e,String(this.options.params[e]));e+=`?${t.toString()}`}return e}getCredentials(){return"withCredentials"in this.options?this.options.withCredentials?"include":"omit":"include"}}class Fi extends Error{constructor(e,t,n,i,o,r){super(`[Checkout Shared]: Server ${n} response status ${e}, ${t} for url ${i}`),this.originalErrorName=o,r&&(this[ki]=[i,t]),this.statusCode=e}}Error;const Ki=(e,t,n,i,o)=>{const r=t.filter((t=>e.exists("WIDGET",t))),s=t.filter((t=>e.itLooksLikeKey("FUNDRAISING_PAGE",t))),a={campaign:r[0],fundraisingPage:void 0,locale:n,pageViewId:i},c=null==o?void 0:o.fundraiser;if(c){const e=(d=l=c,Hn.test(d)?l.toUpperCase():(e=>jn.test(e))(l)?l:"");if(e)return a.fundraisingPage=e,a}var l,d;return s.length&&(a.fundraisingPage=s[0]),a};var Gi,Bi,Vi,Hi=s("../../shared/dist/webpack/common/embed/getSharedContainer.js"),ji=s("./src/splitTesting/getTLD.ts");function Xi(e,t){return function(e){return e!==Gi.TESTING}(e)?{domain:t,sameSite:"None",secure:!0}:{domain:t}}!function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing"}(Gi||(Gi={})),function(e){e.STRING="string",e.OBJECT="object"}(Bi||(Bi={})),function(e){e.ENABLED="1"}(Vi||(Vi={}));class zi{constructor(e,t,n,i,o){this.funSessionStorage=e,this.funStatStorage=t,this.topLevelDomain=n,this.env=i,this.disableNewCookies=o}initialize(){if(this.disableNewCookies)return;const e=Xi(this.env,this.topLevelDomain);this.isStatStorageInitialized||this.funStatStorage.set(e),this.isFuncStorageInitialized||this.funSessionStorage.initialize(this.topLevelDomain,e)}initializeStatStorage(){const e=Xi(this.env,this.topLevelDomain);this.isStatStorageInitialized||this.funStatStorage.set(e)}initializeFuncStorage(){this.allowWriteToFuncStorage(),this.funSessionStorage.setInMemoryDataToStorage()}allowWriteToFuncStorage(){this.funSessionStorage.allowWrite=!0}deniedWriteToFuncStorage(){this.funSessionStorage.allowWrite=!1}get isStatStorageInitialized(){return null!==this.funStatStorage.get()}get isFuncStorageInitialized(){return this.funSessionStorage.isFuncStorageInitialized}}class Wi{constructor(e,t,n,i){this.env=e,this.topLevelDomain=t,this.storage=n,this.options=i}setupFuncCookie(){var e,t;if(null===(e=this.options)||void 0===e?void 0:e.disableNewCookies)return;const n=this.getCookie(ln.e.FUNC),i=this.getCookie(ln.e.SESSION);!n&&i&&(this.setCookie(ln.e.FUNC,i),(null===(t=this.options)||void 0===t?void 0:t.removeLegacyCookies)&&this.removeLegacyCookie())}removeLegacyCookie(){this.removeCookie(ln.e.SESSION)}get cookieAttributes(){return Xi(this.env,this.topLevelDomain)}getCookie(e){return this.storage.get(e)}setCookie(e,t){this.storage.set(e,t,this.cookieAttributes)}removeCookie(e){this.storage.remove(e,this.cookieAttributes)}}class Yi{constructor(e,t){this.STORAGE_KEY=e,this.storage=t}get(){return null!==this.storage.get(this.STORAGE_KEY)}set(e,t){e?this.storage.set(this.STORAGE_KEY,"",t):this.remove(t)}remove(e){this.storage.remove(this.STORAGE_KEY,e)}}class $i extends Yi{constructor(e){super(ln.e.DEBUG,e),this.storage=e}}function qi(){const e=[],t=window.location.hostname.split(".");let n=t.splice(-1).join();for(let i=t.length;i>0;i--)n=t.splice(-1).join()+"."+n,e.push(n);return e}const Ji=(e,t=cn.A)=>{function n(e,n){t.remove(e,n)}function i(e){return!!window.FUN_DO_NOT_TRACK||!!window.FUN_ONLY_STRICTLY_NECESSARY_COOKIES&&e!==ln.e.CID}return window.FUN_DO_NOT_TRACK&&qi().forEach((e=>{n(ln.e.CID,{domain:e}),n(ln.e.SESSION,{domain:e}),n(ln.e.FUNC,{domain:e}),n(ln.e.PERFORMANCE,{domain:e})})),window.FUN_ONLY_STRICTLY_NECESSARY_COOKIES&&qi().forEach((e=>{n(ln.e.SESSION,{domain:e}),n(ln.e.FUNC,{domain:e}),n(ln.e.PERFORMANCE,{domain:e})})),{get:function(n){if(i(n))return null;const o=t.get(n);if(!o)return null;if(e===Bi.OBJECT){let e=null;return e=JSON.parse(o),e}return o},set:function(n,o,r){i(n)||(e===Bi.OBJECT&&(o=JSON.stringify(o)),t.set(n,o,r))},remove:n}};class Zi{constructor(e,t){this.field=e,this.storage=t}get(){return this.storage.get(this.field)}set(e,t){this.storage.set(this.field,e,t)}remove(e){this.storage.remove(this.field,e)}}var Qi;!function(e){e.STRING="string",e.OBJECT="object"}(Qi||(Qi={}));const eo="UNSUPPORTED_TYPE_OF_STORAGE";function to(e,t){if(!Object.keys(Qi).find((e=>Qi[e]===t)))throw new Error(`${eo} ${t}`);return new Zi(e,Ji(t))}class no{constructor(e){this.topLevelDomain=e,this.storage=to(ln.e.PERFORMANCE,Qi.STRING)}get(){return this.storage.get()}set(e={}){this.storage.set(Vi.ENABLED,e)}}class io{constructor(e){this.dictionary=new Map,this.reverseDictionary=new Map;for(const t in e){if(!Object.prototype.hasOwnProperty.call(e,t))continue;const n=e[t];this.dictionary.set(t,n),this.reverseDictionary.set(n,t)}}zip(e){return this.zipKeys(this.toFlatData(e))}unzip(e){return this.fromFlatData(this.unzipKeys(e))}unzipKeys(e){const t={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const i=this.dictionary.get(n);i?t[i]=e[n]:console.error(`The key for the "${n}" field was not found`)}return t}zipKeys(e){const t={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const i=this.reverseDictionary.get(n);i?t[i]=e[n]:console.error(`The minification key for the "${n}" field was not found`)}return t}toFlatData(e){const t={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const i=e[n];if(oo(i)){t[n]=i;continue}const o=this.toFlatData(i);for(const i in o)Object.prototype.hasOwnProperty.call(e,n)&&(t[n+"."+i]=o[i])}return t}fromFlatData(e){let t={};return Object.keys(e).forEach((n=>{const i=e[n],o=n.split("."),r={};let s;o.forEach(((e,n)=>{if(o.length===n+1)return s?void(s[e]=i):void(r[e]=i);const a=e;if(t[a])s=t[a];else{if(s)return s[e]||(s[e]={}),void(s=s[e]);r[e]={},s=r[e]}})),t=Object.assign({},t,r)})),t}}function oo(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e||Array.isArray(e)}class ro{constructor(e,t,n){this.storage=e,this.zipper=t,this.disableNewCookies=n}getData(){const e=this.storage.get(this.key);return e?this.zipper.unzip(e):{}}setData(e,t){const n=this.zipper.zip(e);this.storage.set(this.key,n,t)}removeData(e){this.storage.remove(this.key,e)}}class so extends ro{constructor(){super(...arguments),this.key=ln.e.FUNC}get available(){if(this.disableNewCookies)return!1;const e=Boolean(this.storage.get(ln.e.CID));return!e||e&&Boolean(this.storage.get(this.key))}}class ao extends ro{constructor(){super(...arguments),this.key=ln.e.SESSION}get available(){return!!this.disableNewCookies||Boolean(this.storage.get(ln.e.CID))&&Boolean(this.storage.get(this.key))}}const co={topLevelDomain:"topLevelDomain",t:"topLevelDomain",ida:"intent.donation.amount",idc:"intent.donation.currency",idr:"intent.donation.recurring",idf:"intent.donation.frequency",idh:"intent.donation.selectedHintId",idi:"intent.donation.donationItems",isf:"intent.supporter.firstName",isl:"intent.supporter.lastName",ise:"intent.supporter.email",ici:"intent.campaign.id",iek:"intent.element.key",iet:"intent.element.type",ic:"intent.comment",it:"intent.tribute",itt:"intent.tribute.type",iti:"intent.tribute.inHonorOf",itl:"intent.tribute.labelType",icd:"intent.checkoutSettings.designation",icc:"intent.checkoutSettings.customFields",icma:"intent.checkoutSettings.modifyAmount",icmd:"intent.checkoutSettings.modifyDesignation",ift:"intent.flowType",ifk:"intent.fundraisingPage.key",ifc:"intent.fundraisingPage.customerKey",ife:"intent.feeCovered",mm:"messageBar.manuallyClosed",pi:"popup.interactionAt",fbp:"floatingButtonPopupShown",sl:"socialProof.lastChargeAt",si:"socialProof.interactionAt",sls:"socialProof.lastShownCharge",nsa:"socialProof.nextShowAt",li:"lightbox.interactionAt",lsda:"lastSuccessDonationAt",s:"sessionAt",sp:"sessionPage",x:"xFactor"};class lo{constructor(e,t,n){this.funLegacyStorage=e,this.funFuncStorage=t,this.disableNewCookies=n}get available(){return this.disableNewCookies?this.funLegacyStorage.available:this.funFuncStorage.available}get isFuncStorageInitialized(){const e=this.funFuncStorage.getData();return!!Object.keys(e).length}getData(){return this.funFuncStorage.available&&this.isFuncStorageInitialized?this.funFuncStorage.getData():this.funLegacyStorage.getData()}initialize(e,t){this.funFuncStorage.setData(e,t)}setData(e,t){this.funFuncStorage.available&&this.funFuncStorage.setData(e,t),this.funLegacyStorage.available&&this.funLegacyStorage.setData(e,t)}initFuncStorage(e,t){this.funFuncStorage.setData(e,t)}removeData(e){this.funFuncStorage.available&&this.funFuncStorage.removeData(e),this.funLegacyStorage.available&&this.funLegacyStorage.removeData(e)}}class uo{constructor(e){this.topLevelDomain=e,this.storage=to(ln.e.CID,Qi.STRING)}get(){return this.storage.get()}set(e,t={}){this.storage.set(e,t)}remove(e){this.storage.remove({domain:e})}}var po=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}))};class ho{constructor(e){this.apiUrl=e,this.data={}}load(e){return po(this,void 0,void 0,(function*(){const{source:t,widgetKey:n,locale:i}=e,o=`${n}-${i}`;if(this.data[o])return this.data[o];const r=t===Ne.ELEMENTS?yield this.downloadFromElements(e):yield this.downloadFromCheckout(e);return this.data[o]=r,r}))}downloadFromElements(e){return po(this,arguments,void 0,(function(e){var t=this;let{widgetKey:n,locale:i}=e;return function*(){return(yield xi({method:"GET",url:xn(t.apiUrl,kn.GOALS),params:{widgetKey:n,locale:i}})).data}()}))}downloadFromCheckout(e){return po(this,arguments,void 0,(function(e){var t=this;let{widgetKey:n,locale:i}=e;return function*(){return(yield xi({method:"POST",url:`${t.apiUrl}/checkout/getGoals`,params:{widgetKey:n,locale:i}})).data}()}))}}const mo="dataLayerEventTracked",go="pageViewed";class Eo{constructor(e){this.name=go,this.properties={},e&&(this.properties={legacy:{event:{comment:JSON.stringify(e)}}})}}class fo{constructor(e,t,n){this.window=e,this.newTracker=t,this.localeCode=n,this.isPingAvailable=!1,this.ping=()=>{},this.debug=void 0,this.page=void 0,this.source=void 0}get clientId(){return this.newTracker.clientId}get companyKey(){return this.newTracker.companyKey}get livemode(){return this.newTracker.livemode}get clientLocale(){return this.localeCode}track(e,t){var n;const i=e,o=i.getPayload?i.getPayload():{};if("pageView"===i.eventType){const e=null===(n=null==o?void 0:o.event)||void 0===n?void 0:n.comment;this.newTracker.track(new Eo(e?JSON.parse(e):void 0))}}initializePointerUsageTracking(e){this.newTracker.initializePointerUsageTracking(e||this.window)}subscribe(e,t){this.newTracker.subscribe((t=>e(t)),t)}addEventTags(){}removeEventTags(){}getEventTags(){return new Set}customTrack(e){}getTags(){return[]}setEventTags(e){}}class To extends mt{get eventType(){return"ping"}}class vo{constructor(e){this.tags=new Set,this.tracker=e}get companyKey(){return this.tracker.companyKey}get clientId(){return this.tracker.clientId}get livemode(){return this.tracker.livemode}get clientLocale(){return this.tracker.clientLocale}get debug(){return this.tracker.debug}get page(){return this.tracker.page}get isPingAvailable(){return this.tracker.isPingAvailable}getTags(){return Array.from(this.tags)}customTrack(e){return this.tracker.customTrack(e)}track(e,t){return this.tracker.track(e,t)}ping(e,t){const n=e||new To;this.tracker.ping(n,t)}initializePointerUsageTracking(){this.tracker.initializePointerUsageTracking()}subscribe(e,t){return this.tracker.subscribe(e,t)}setEventTags(e){e.forEach((e=>this.tags.add(e)))}removeEventTags(e){this.tags.forEach((t=>{e.some((e=>t.substring(0,e.length)===e))&&this.tags.delete(t)}))}mergeEventTags(e){let t=[];e.payload.eventTags&&(t=e.payload.eventTags.slice()),this.tags.forEach((e=>{-1===t.indexOf(e)&&t.push(e)})),e.payload.eventTags=t}}class yo extends vo{constructor(e,t){let{funEmbedRelease:n,isFundraiseupVisitor:i}=t;super(e),this.funEmbedRelease=n,this.isFundraiseupVisitor=i}track(e,t){this.addTrackerData(e),this.tracker.track(e,t)}addTrackerData(e){e.merge({funEmbedRelease:this.funEmbedRelease,isFundraiseupVisitor:this.isFundraiseupVisitor}),this.mergeEventTags(e)}customTrack(e){this.track(new Tt({customEventType:e.type,customEventData:e.data}))}}class _o extends Error{constructor(e){super(e),this.name=this.constructor.name}}class wo extends _o{constructor(e){super(`Invalid client ID: ${e}`),this.name="InvalidClientIdError"}}class So extends _o{constructor(e){super(`Event validation failed: ${e}`),this.name="EventValidationError"}}function Ao(e=19){const t=window.crypto||window.msCrypto;let n="";if(t&&"function"==typeof t.getRandomValues){const i=new Uint8Array(e);t.getRandomValues(i),n=[].slice.call(i).map((e=>e%10)).join("")}else for(let t=0;t<e;t++)n+=Math.floor(10*Math.random()).toString();return"0"!==n[0]?n:Ao(e)}function No(e){return!!e&&20===e.length&&!/[^\d]/.test(e)}function Co(){return(Date.now().toString()+Ao(20)).slice(0,20)}class Oo{constructor(e,t,n){this.clientId="",this.storage=e,this.window=t,this.serverClientId=n}initialize(){this.clientId=this.readClientId()}getClientId(){if(!No(this.clientId))throw new wo(this.clientId);return this.clientId}readClientId(){const e=function(e,t=!0){if(!e)return{};const n=/([^=&#?]+)=([^=&#?]+)/gi,i={};for(;;){const o=n.exec(e);if(!o)break;const[,r,s]=o;try{t?i[decodeURIComponent(r)]=decodeURIComponent(s):i[r]=s}catch(e){console.error(e)}}return i}(this.window.location.href).clientId||"";if(No(e))return this.storage.set(e),e;const t=this.storage.get()||"";if(No(t))return this.storage.set(t),t;if(No(this.serverClientId))return this.storage.set(this.serverClientId),this.serverClientId;const n=Co();return this.storage.set(n),n}}var Io;!function(e){e[e.FOUR_HUNDRED_DAYS=400]="FOUR_HUNDRED_DAYS"}(Io||(Io={}));class bo{constructor(e){this.funTrackerStorage=e}get(){return this.funTrackerStorage.get()}set(e){this.funTrackerStorage.set(e,{expires:Io.FOUR_HUNDRED_DAYS,domain:this.funTrackerStorage.topLevelDomain,sameSite:"Lax"})}}const Po=[/^gtm\..*$/,/^__cmp.*$/,/^optimize\..*$/,/^setPromo$/,/^trackOptanonEvent$/,/^consentDataForTheRecord$/,/^optanonConsentUpdated$/,/^nextroll-consent$/,/^FundraiseUp\./,/^youtube/i];class Ro{constructor(){this.ignoredEventPatterns=Po,this.isInitialized=!1,this.isABTestMode=!1}initializeTracking(e,t){this.isInitialized||(this.isABTestMode=t,this.isInitialized=!0,this.setupDataLayer(e))}shouldTrackEvent(e){return!(!this.isABTestMode||!e||this.ignoredEventPatterns.some((t=>t.test(e))))}trackEvent(e,t){this.shouldTrackEvent(e)&&this.onEventCallback&&this.onEventCallback(e,t)}getIgnoredEventPatterns(){return[...this.ignoredEventPatterns]}setEventCallback(e){this.onEventCallback=e}setupDataLayer(e){if(e.dataLayer||(e.dataLayer=[]),!Array.isArray(e.dataLayer))return;const t=e.dataLayer;t.forEach((e=>{this.processDataLayerItem(e)}));const n=t.push;t.push=(...e)=>(e.length>0&&this.processDataLayerItem(e[0]),n.apply(t,e))}processDataLayerItem(e){const t=this.extractEventName(e);t&&this.trackEvent(t,e)}extractEventName(e){return(Array.isArray(e)||e&&"object"==typeof e&&"number"==typeof e.length)&&e.length>=3&&"event"===e[0]&&"string"==typeof e[1]?e[1]:"object"!=typeof e||Array.isArray(e)||"string"!=typeof e.event?null:e.event}}class Lo{constructor(){this._isPointingDeviceUsed=!1}isPointingDeviceUsed(){return this._isPointingDeviceUsed}initializeTracking(e){if(this._isPointingDeviceUsed)return;const t=()=>{this.setPointingDeviceUsed(),e.removeEventListener("pointermove",t),e.removeEventListener("pointerdown",t),e.removeEventListener("pointerup",t)};e.addEventListener("pointermove",t),e.addEventListener("pointerdown",t),e.addEventListener("pointerup",t)}setPointingDeviceUsed(){this._isPointingDeviceUsed=!0}reset(){this._isPointingDeviceUsed=!1}}class ko{constructor(){this.subscribers=new Map}subscribe(e,t){this.subscribers.set(t,e)}publish(e){this.subscribers.forEach((t=>{try{t(e)}catch(e){console.error("Error in subscriber callback",e)}}))}}function Do(){return function(){if(!function(){try{return void 0!==window.Intl&&window.Intl&&"object"==typeof window.Intl&&"function"==typeof window.Intl.DateTimeFormat}catch(e){return!1}}())return;const e=new window.Intl.DateTimeFormat("en-US");if("object"!=typeof e)return;const t="function"==typeof e.resolvedOptions&&e.resolvedOptions();if("object"!=typeof t)return;return t.timeZone||void 0}()||function(){const e=-(new Date).getTimezoneOffset()/60;return e>=0?`UTC+${e}`:`UTC${e}`}()}class Mo{constructor(e){this.window=e}build(){const{navigator:e}=this.window;return{language:e.language,timezone:Do(),userAgent:e.userAgent,doNotTrack:"1"===e.doNotTrack,history:{length:this.window.history.length},webdriver:!!e.webdriver,window:{inner:{width:this.window.innerWidth,height:this.window.innerHeight},scroll:{scrollX:Math.max(this.window.scrollX||this.window.pageXOffset||0,0),scrollY:Math.max(this.window.scrollY||this.window.pageYOffset||0,0)}}}}}class xo{constructor(e,t){this.clientIdManager=e,this.clientConsentService=t}build(){return{id:this.clientIdManager.getClientId(),consents:this.clientConsentService.getConsents()}}}class Uo{constructor(e,t,n){this.window=e,this.connectionFormatter=t,this.batteryInfoService=n}build(){var e;const{screen:t,navigator:n}=this.window,i=n.connection||n.mozConnection||n.webkitConnection,o=this.batteryInfoService.getBatteryInfo();return{dateTime:(new Date).toISOString(),memory:n.deviceMemory,cores:"number"==typeof n.hardwareConcurrency?n.hardwareConcurrency:void 0,screen:{orientation:(null===(e=t.orientation)||void 0===e?void 0:e.type)||"unknown",width:t.width,height:t.height,pixelRatio:this.window.devicePixelRatio||1},battery:o,connection:i?{online:n.onLine,type:i.type,downlink:this.connectionFormatter.formatDownlink(i.downlink),effectiveType:i.effectiveType,roundTripTime:i.rtt}:void 0}}}class Fo{constructor(e,t){this.window=e,this.pageViewId=t}buildPage(){return{url:this.window.location.href,title:this.window.document.title}}buildPageView(e){return{id:this.pageViewId,referrer:e&&this.window.document.referrer||void 0}}}class Ko{formatDownlink(e){if(void 0===e)return;const t=e||0;return"string"==typeof t?parseFloat(t)||0:t}}class Go{constructor(e){this.window=e,this.updateBatteryInfo()}getBatteryInfo(){return this.batteryInfo}updateBatteryInfo(){const e=this.window.navigator;"function"==typeof e.getBattery&&e.getBattery().then((e=>{this.batteryInfo={charging:e.charging,chargingTime:e.chargingTime!==1/0?e.chargingTime:void 0,dischargingTime:e.dischargingTime!==1/0?e.dischargingTime:void 0,level:"number"==typeof e.level?e.level:void 0}})).catch((()=>{this.batteryInfo=void 0}))}}class Bo{constructor(e){this.window=e}getConsents(){return this.window.document.cookie.split(";").filter((e=>-1!==e.indexOf("fundraiseup_"))).map((e=>e.split("=")[0].trim()))}}let Vo;const Ho=new Uint8Array(16);function jo(){if(!Vo){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Vo=crypto.getRandomValues.bind(crypto)}return Vo(Ho)}const Xo=[];for(let e=0;e<256;++e)Xo.push((e+256).toString(16).slice(1));const zo={};function Wo(e,t,n,i,o=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(i){if(o<0||o+16>i.length)throw new RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`)}else i=new Uint8Array(16),o=0;return t??=Date.now(),n??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],i[o++]=t/1099511627776&255,i[o++]=t/4294967296&255,i[o++]=t/16777216&255,i[o++]=t/65536&255,i[o++]=t/256&255,i[o++]=255&t,i[o++]=112|n>>>28&15,i[o++]=n>>>20&255,i[o++]=128|n>>>14&63,i[o++]=n>>>6&255,i[o++]=n<<2&255|3&e[10],i[o++]=e[11],i[o++]=e[12],i[o++]=e[13],i[o++]=e[14],i[o++]=e[15],i}const Yo=function(e,t,n){let i;if(e)i=Wo(e.random??e.rng?.()??jo(),e.msecs,e.seq,t,n);else{const e=Date.now(),o=jo();!function(e,t,n){e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=n[6]<<23|n[7]<<16|n[8]<<8|n[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++)}(zo,e,o),i=Wo(o,zo.msecs,zo.seq,t,n)}return t??function(e,t=0){return(Xo[e[t+0]]+Xo[e[t+1]]+Xo[e[t+2]]+Xo[e[t+3]]+"-"+Xo[e[t+4]]+Xo[e[t+5]]+"-"+Xo[e[t+6]]+Xo[e[t+7]]+"-"+Xo[e[t+8]]+Xo[e[t+9]]+"-"+Xo[e[t+10]]+Xo[e[t+11]]+Xo[e[t+12]]+Xo[e[t+13]]+Xo[e[t+14]]+Xo[e[t+15]]).toLowerCase()}(i)};class $o{generate(){return Yo()}}class qo{constructor(e,t,n,i,o,r){this.appContext=e,this.browserContextBuilder=t,this.clientContextBuilder=n,this.deviceContextBuilder=i,this.pageContextBuilder=o,this.supporterId=r}setSupporterId(e){this.supporterId=e}getSupporterId(){return this.supporterId}getContext(e){return{app:this.appContext,browser:this.browserContextBuilder.build(),client:this.clientContextBuilder.build(),device:this.deviceContextBuilder.build(),page:this.pageContextBuilder.buildPage(),pageView:this.pageContextBuilder.buildPageView(null==e?void 0:e.withReferrer),supporter:this.supporterId?{id:this.supporterId}:void 0}}getEventContext(){const e=this.getContext();return{app:{id:e.app.id,version:e.app.version,livemode:e.app.livemode},browser:{language:e.browser.language,timezone:e.browser.timezone,userAgent:e.browser.userAgent,doNotTrack:e.browser.doNotTrack,history:e.browser.history,webdriver:e.browser.webdriver,window:{inner:{width:e.browser.window.inner.width,height:e.browser.window.inner.height},scroll:{x:e.browser.window.scroll.scrollX,y:e.browser.window.scroll.scrollY}}},client:{id:e.client.id,consents:e.client.consents},device:{ip:e.device.ip,memory:e.device.memory,cores:e.device.cores,screen:e.device.screen,battery:e.device.battery,connection:e.device.connection},page:{url:e.page.url,title:e.page.title,debugPanel:e.page.debugPanel},pageView:{id:e.pageView.id,referrer:e.pageView.referrer},legacy:{event:{},checkout:{}}}}}class Jo{static create(e,t,n,i){const o=new $o,r=new Go(t),s=new Bo(t),a=new Ko,c=o.generate(),l=new Mo(t),d=new xo(e,s),u=new Uo(t,a,r),p=new Fo(t,c);return new qo(n,l,d,u,p,i)}}class Zo{constructor(e){this.timeoutInstance=0,this.items=[],this.timeout=e.timeout||1e3,this.limit=e.limit||30,this.onFlush=e.onFlush,this.resetTimeout()}push(e,t){this.items.push(e),(t||this.items.length>=this.limit)&&this.flush()}flush(){this.items.length?(this.onFlush(this.items),this.items=[],this.resetTimeout()):this.resetTimeout()}resetTimeout(){this.timeoutInstance&&clearTimeout(this.timeoutInstance),this.timeoutInstance=window.setTimeout((()=>{this.flush()}),this.timeout)}}const Qo=[go],er=["Failed to fetch","NetworkError when attempting to fetch resource.","Load failed"];function tr(e){return new Promise((function(t,n){!function(e,t,n){const i=new XMLHttpRequest;i.open(e.method||"GET",e.url),i.withCredentials=!("withCredentials"in e)||Boolean(e.withCredentials),i.onload=function(){if(this.status>=200&&this.status<300){const e=i.getResponseHeader("content-type");if(e&&-1!==e.indexOf("application/json"))try{return t(JSON.parse(i.response))}catch(e){n(e)}t(i.response)}else{if(e.validStatuses&&-1!==e.validStatuses.indexOf(this.status))return t();n(new Error(`[Tracker]: Server ${e.method} response status ${this.status} for url ${e.url}, ${i.statusText}`))}},i.onerror=function(){n({status:this.status,statusText:i.statusText})};const o=e.headers;o&&Object.keys(o).forEach((function(e){i.setRequestHeader(e,o[e])}));let r=e.params;r&&"object"==typeof r&&(r=JSON.stringify(r)),i.send(r)}(e,t,n)}))}const nr={};Object.entries({name:"n",id:"i",accountId:"aid",dateTime:"dt","properties.app.id":"ai","properties.app.version":"av","properties.app.livemode":"al","properties.browser.language":"bl","properties.browser.timezone":"bt","properties.browser.userAgent":"bu","properties.browser.doNotTrack":"bd","properties.browser.history.length":"bh","properties.browser.webdriver":"bw","properties.browser.window.inner.width":"bww","properties.browser.window.inner.height":"bwh","properties.browser.window.scroll.scrollX":"bsx","properties.browser.window.scroll.scrollY":"bsy","properties.client.id":"ci","properties.client.consents":"cc","properties.device.ip":"di","properties.device.dateTime":"ddt","properties.device.memory":"dm","properties.device.cores":"dc","properties.device.screen.orientation":"dso","properties.device.screen.width":"dsw","properties.device.screen.height":"dsh","properties.device.screen.pixelRatio":"dsp","properties.device.battery.charging":"dbc","properties.device.battery.chargingTime":"dbct","properties.device.battery.dischargingTime":"dbdt","properties.device.battery.level":"dbl","properties.device.connection.online":"dco","properties.device.connection.type":"dct","properties.device.connection.downlink":"dcd","properties.device.connection.effectiveType":"dcet","properties.device.connection.roundTripTime":"dcr","properties.page.url":"pu","properties.page.title":"pt","properties.page.debugPanel":"pd","properties.pageView.id":"pvi","properties.pageView.referrer":"pvr","properties.supporter.id":"si"}).forEach((([e,t])=>{nr[t]=e}));class ir{constructor(e,t){this.requestHandler=e,this.possibleAdBlockersErrorMessages=t}sendRequests(e){const t=function(e){const t=new Map;return e.forEach((e=>{t.has(e.url)||t.set(e.url,[]),t.get(e.url).push(e.payload)})),t}(e);t.forEach(((e,t)=>{const n=JSON.stringify(e);this.sendRequest(t,n)}))}sendRequest(e,t){let n=!1;try{this.sendFetchRequest(e,t)}catch(e){n=!0}n&&this.requestHandler({method:"POST",url:e,params:t}).catch(console.warn)}sendFetchRequest(e,t){fetch(e,{method:"POST",body:t,keepalive:!0}).catch((e=>{if(console.warn(e),!this.possibleAdBlockersErrorMessages.some((t=>e.message.includes(t))))throw e}))}}var or;!function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing"}(or||(or={}));class rr{constructor(e){this.window=e.window,this.url=e.url,this.trackingTarget=e.trackingTarget,this.env=e.env,this.bulk=e.bulk}send(e,t){return n=this,i=void 0,r=function*(){if(this.window.FUN_DO_NOT_TRACK||this.isBlockedByDomain())return;let t=!1;e.name&&-1!==Qo.indexOf(e.name)&&(t=!0),e.name===mo&&-1!==this.window.location.href.indexOf("alz.org")&&(t=!0),this.bulk.push({url:this.url+this.trackingTarget,payload:e},t)},new((o=void 0)||(o=Promise))((function(e,t){function s(e){try{c(r.next(e))}catch(e){t(e)}}function a(e){try{c(r.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(s,a)}c((r=r.apply(n,i||[])).next())}));var n,i,o,r}getTrackingUrl(){return this.url}isReady(){return!0}isBlockedByDomain(){return this.env===or.PRODUCTION&&(!!this.window.location.protocol.includes("file")||/127\.0|192\.168|localhost|localtest\.me/.test(this.window.location.hostname))}}class sr{constructor(e){this.validatorPromise=e}validate(e){return t=this,n=void 0,o=function*(){const t=yield this.validatorPromise;if(!t)return;const n=t.validate(e);if(n)throw new So(n.message)},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{c(o.next(e))}catch(e){r(e)}}function a(e){try{c(o.throw(e))}catch(e){r(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}c((o=o.apply(t,n||[])).next())}));var t,n,i,o}}var ar=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((i=i.apply(e,t||[])).next())}))};class cr{constructor(e,t){this.name=mo,this.properties={legacy:{dataLayerEventName:e,customEvent:{type:"dataLayer",data:t}}}}}class lr{constructor(e,t,n,i,o,r,s,a,c){this.window=e,this.trackerPageContext=t,this.client=n,this.companyKey=i,this.subscriberService=o,this.pointerUsageTracker=r,this.isABTestMode=s,this.eventValidator=a,this.dataLayerTracker=c}get clientId(){return this.trackerPageContext.getContext().client.id}get livemode(){return this.trackerPageContext.getContext().app.livemode}track(e){return t=this,n=void 0,o=function*(){const t=this.trackerPageContext.getContext(),n=this.trackerPageContext.getEventContext(),i={name:e.name,id:t.pageView.id,accountId:this.companyKey,dateTime:t.device.dateTime,properties:Object.assign(Object.assign({},n),"object"==typeof e.properties&&null!==e.properties?e.properties:{})};try{yield this.eventValidator.validate(i)}catch(e){if(e instanceof So)return void console.error(e.message);throw e}this.client.send(i),this.publish(i)},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{c(o.next(e))}catch(e){r(e)}}function a(e){try{c(o.throw(e))}catch(e){r(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}c((o=o.apply(t,n||[])).next())}));var t,n,i,o}subscribe(e,t){this.subscriberService.subscribe(e,t)}publish(e){this.subscriberService.publish(e)}initializeTracking(){this.initializeDataLayerTracking(this.window,this.isABTestMode),this.pointerUsageTracker.initializeTracking(this.window)}initializePointerUsageTracking(e){this.pointerUsageTracker.initializeTracking(e)}initializeDataLayerTracking(e,t){this.dataLayerTracker&&(this.dataLayerTracker.setEventCallback(((e,t)=>{this.track(new cr(e,t))})),this.dataLayerTracker.initializeTracking(e,t))}reset(){this.pointerUsageTracker.reset()}setSupporterId(e){this.trackerPageContext.setSupporterId(e)}}class dr{constructor(){this.subscribers={}}publish(e,t){this.subscribers[e]&&this.subscribers[e].forEach((e=>new Promise((()=>e(t)))))}subscribe(e,t){return this.subscribers[e]||(this.subscribers[e]=[]),this.subscribers[e].push(t),!0}}class ur extends mt{constructor(e,t){super(),this.payload={dataLayerEventName:e,dataLayerParams:JSON.stringify(t)}}get eventType(){return pt}}var pr=s("../../clickhouse/mapper/index.js");function hr(e,t){return t.encode?t.strict?encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):encodeURIComponent(e):e}function mr(e=19){const t=window.crypto||window.msCrypto;let n="";if(t&&"function"==typeof t.getRandomValues){const i=new Uint8Array(e);t.getRandomValues(i),n=[].slice.call(i).map((e=>e%10)).join("")}else for(let t=0;t<e;t++)n+=Math.floor(10*Math.random()).toString();return"0"!==n[0]?n:mr(e)}function gr(e){return!!e&&20===e.length&&!/[^\d]/.test(e)}class Er extends Error{constructor(e){super(e),this.name=this.constructor.name}}class fr extends Er{constructor(e){super(`Invalid client ID: ${e}`),this.name="InvalidClientIdError"}}class Tr{constructor(){this.subscribers=[]}publish(e){this.subscribers.forEach((t=>{t.callback(e)}))}subscribe(e,t){this.subscribers.find((e=>e.name===t))||this.subscribers.push({callback:e,name:t})}}function vr(){const e=function(){if(!function(){try{return void 0!==window.Intl}catch{return!1}}())return;const e=window.Intl;if(e&&"object"==typeof e&&"function"==typeof e.DateTimeFormat){const t=new e.DateTimeFormat("en-US");if("object"!=typeof t)return;const n="function"==typeof t.resolvedOptions&&t.resolvedOptions();if("object"!=typeof n)return;const i=n.timeZone;if(!i)return;return i}}();return e||function(){const e=-(new Date).getTimezoneOffset()/60;return e>=0?`UTC+${e}`:`UTC${e}`}()}class yr{constructor(e,t){var n;this.window=e,this.publicApi=t,this._pageScripts=[],this.sideLibrariesLookupTries=1,this.launchedSiteScripts=[],this.clientCookieConsent=[],this.pageViewId=mr(),this.pageViewTimeCreate=this.publicApi&&this.publicApi.s||Date.now(),this.resolutionWidth=0,this.resolutionHeight=0,this.window.screen&&(this.resolutionWidth=this.window.screen.width,this.resolutionHeight=this.window.screen.height),this.funSnippetVersion=this.publicApi&&this.publicApi.v||"0",this.pageViewId=`${n=this.pageViewId.slice(0,-1)}${function(e){const t=e.toString().replace(/[^0-9]/g,""),n={0:0,1:2,2:4,3:6,4:8,5:1,6:3,7:5,8:7,9:9};let i=0,o=1;for(let e=t.length-1;e>-1;e-=1)i+=o?n[t[e]]:parseFloat(t[e]),o^=1,i>0xffffffffffff&&(i%=10);return(10-i%10).toString().slice(-1)}(n)}`,this.searchedLibraries={ga:this.getGoogleAnalytics.bind(this),gtm:this.getGoogleTagManager.bind(this),fbpx:this.getFacebookPixel.bind(this),gtag:this.getGlobalSiteTagManager.bind(this),optimizely:this.getOptimizely.bind(this),"adobe.target":this.getAdobeTarget.bind(this),goptimize:this.getGoogleOptimize.bind(this),unbounce:this.getUnbounce.bind(this),hotjar:this.getHotjar.bind(this),nextjs:this.getNextJs.bind(this),wix:this.getWix.bind(this)},this.applyNavigatorVariables(navigator),this.collectPageScripts()}get pageScripts(){return this._pageScripts.length<Object.keys(this.searchedLibraries).length&&this.sideLibrariesLookupTries<=10&&this.collectPageScripts(),this._pageScripts}getSideLibraryByScriptSource(e){return this.launchedSiteScripts.some((({src:t})=>t&&!!t.match(e)))}collectFunCookies(){const e=this.window.document.cookie.split(";").filter((e=>-1!==e.indexOf("fundraiseup_")));this.clientCookieConsent=e.map((e=>e.split("=")[0].trim()))}collectPageScripts(){this.sideLibrariesLookupTries+=1;const e=this.window.document.querySelectorAll("script");this.launchedSiteScripts=[].slice.call(e),Object.keys(this.searchedLibraries).forEach((e=>{const t=this.searchedLibraries[e];-1===this._pageScripts.indexOf(e)&&t()&&this._pageScripts.push(e)}))}toObject(){return this.collectFunCookies(),{pageViewId:this.pageViewId,pageViewTimeCreate:this.pageViewTimeCreate,pageViewLifetime:Math.max(Date.now()-this.pageViewTimeCreate,0),clientTimeZone:vr(),clientTime:Date.now(),URL:this.window.location.href,referer:this.window.document.referrer||void 0,title:this.window.document.title,uaHistoryLength:this.window.history.length,uaWebdriver:this.window.navigator.webdriver?1:0,resolutionWidth:Math.max(this.resolutionWidth,0),resolutionHeight:Math.max(this.resolutionHeight,0),windowWidth:Math.max(this.window.innerWidth,0),windowHeight:Math.max(this.window.innerHeight,0),windowScrollY:Math.max(this.window.scrollY||this.window.pageYOffset||0,0),windowScrollX:Math.max(this.window.scrollX||this.window.pageXOffset||0,0),pageScripts:this.pageScripts,clientOnLine:this.clientOnLine,clientDoNotTrack:this.clientDoNotTrack,clientDevicePixelRatio:this.clientDevicePixelRatio,clientDeviceMemory:this.clientDeviceMemory,clientHardwareConcurrency:this.clientHardwareConcurrency,clientConnectionType:this.clientConnectionType,clientConnectionDownlink:this.clientConnectionDownlink,clientConnectionRTT:this.clientConnectionRTT,clientConnectionEffectiveType:this.clientConnectionEffectiveType,clientBatteryCharging:this.clientBatteryCharging,clientBatteryChargingTime:this.clientBatteryChargingTime,clientBatteryDischargingTime:this.clientBatteryDischargingTime,clientBatteryLevel:this.clientBatteryLevel,funSnippetVersion:this.funSnippetVersion,funEmbedRelease:window.FUN?window.FUN.version:"",clientCookieConsent:this.clientCookieConsent}}applyNavigatorVariables(e){var t;const n=e.connection||e.mozConnection||e.webkitConnection;window.Navigator&&window.navigator instanceof window.Navigator&&"function"==typeof e.getBattery&&(null===(t=e.getBattery())||void 0===t||t.then((e=>{this.clientBatteryCharging=e.charging?1:0,this.clientBatteryChargingTime=e.chargingTime,this.clientBatteryDischargingTime=e.dischargingTime,this.clientBatteryLevel="number"==typeof e.level?e.level:0})).catch((e=>{console.warn(e),this.clientBatteryCharging=0,this.clientBatteryChargingTime=0,this.clientBatteryDischargingTime=0,this.clientBatteryLevel=0}))),this.clientOnLine=e.onLine?1:0,this.clientDoNotTrack="1"===e.doNotTrack?1:0,this.clientDevicePixelRatio=window.devicePixelRatio,this.clientDeviceMemory=e.deviceMemory,this.clientHardwareConcurrency="number"!=typeof e.hardwareConcurrency?0:e.hardwareConcurrency,n&&(this.clientConnectionType=n.type,this.clientConnectionDownlink=this.formatConnectionDownlink(n.downlink),this.clientConnectionRTT=n.rtt,this.clientConnectionEffectiveType=n.effectiveType)}getGoogleAnalytics(){return"function"==typeof this.window.ga}getGoogleTagManager(){return this.getSideLibraryByScriptSource(/gtm.js[?]id=([^=&]*)/)}getFacebookPixel(){return"function"==typeof this.window.fbq}getGlobalSiteTagManager(){return"function"==typeof this.window.gtag}getOptimizely(){return this.window.optimizely}getAdobeTarget(){return this.window.adobe&&this.window.adobe.target}getGoogleOptimize(){return!!this.window.google_optimize}getUnbounce(){return this.window.ube&&this.window.ube.init}getHotjar(){return this.window.hj&&this.window._hjSettings}getNextJs(){var e;return window.next||window.__next_f||(null===(e=this.window.document)||void 0===e?void 0:e.querySelector('[src*="_next/static/"]'))}getWix(){return window.wixCustomElements||window.wixEmbedsAPI||window.wixTagManager}formatConnectionDownlink(e){const t=e||0;return"string"==typeof t?parseFloat(t)||0:t}}const _r=[/FBAV|FBAN|FBSV|FBID|FBBV\/([0-9.]+)/,/Instagram\s([0-9.]+)/,/Snapchat\/([0-9.]+)/,/MicroMessenger\/([0-9.]+)/,/Twitter for iPhone[/]?([\d.]+)?/,/TikTok[/ ](\d+\.(?:[.\d]+))?/,/bytedance/i,/musical_ly/i,/LinkedInApp/i,/gsa/i,/;\s*wv\)/];var wr=s("../../shared/dist/webpack/common/embed/tracking/constants.js");const Sr=[/^gtm\..*$/,/^__cmp.*$/,/^optimize\..*$/,/^setPromo$/,/^trackOptanonEvent$/,/^consentDataForTheRecord$/,/^optanonConsentUpdated$/,/^nextroll-consent$/,/^FundraiseUp\./,/^youtube/i];class Ar{constructor({window:e,companyKey:t,storage:n,trackerClient:i,source:o,supporterKey:r,agentKey:s,livemode:a,localeCode:c,isFundraiseupVisitor:l,shadowUserKey:d,shadowAdminId:u,isABTestMode:p,fromDonorPortal:h,serverClientId:m}){var g;this.observer=new dr,this.tags=new Set,this.uaIsInApp=!1,this.pointingDeviceIsUsed=!1,this.trackerEventClick=null,this._clientId="",this.eventSent=Date.now(),this.cookiesUnsetable=!1,this.started=!1,this.pingDelay=15e3,this.isTouchDevice=!1,this.window=e,this.trackerClient=i,this.livemode=a,this.companyKey=t,this.CIDStorage=n,this.subscriberStorage=new Tr,this.uaIsInApp=(g=e.navigator.userAgent,_r.some((e=>e.exec(g)))),this.source=o,this.supporterKey=r,this.agentKey=s,this.clientLocale=c,this.isFundraiseupVisitor=l,this.shadowUserKey=d,this.shadowAdminId=u,this.isABTestMode=p,this.fromDonorPortal=h,this.serverClientId=m}get page(){return this._page}get clientId(){if(this._clientId&&!gr(this._clientId))throw new fr(this._clientId);return this._clientId}get isPingAvailable(){return Date.now()-this.eventSent>this.pingDelay}start(){if(this.preStartOptionsValidation(),this.started)throw new Error("16");this._page=new yr(this.window,this.window.FundraiseUp),this.setupCookies(),this.started=!0,this.isTouchDevice="ontouchstart"in window||!!navigator.maxTouchPoints,this.initializeHandleClick(),this.initializeDataLayerTracking(),this.initializePointerUsageTracking()}preStartOptionsValidation(){if(!this.companyKey)throw new Error("15")}setupCookies(){this.cookiesUnsetable||(this.read(),this.refresh())}subscribe(e,t){this.subscriberStorage.subscribe(e,t)}setEventTags(e){e.forEach((e=>this.tags.add(e)))}getTags(){return Array.from(this.tags)}removeEventTags(e){this.tags.forEach((t=>{e.some((e=>t.substring(0,e.length)===e))&&this.tags.delete(t)}))}ping(e,t){if(!this.isPingAvailable)return;const n=e||new To;this.track(n,t)}customTrack(e){this.track(new Tt({customEventType:e.type,customEventData:e.data}))}track(e,t){if(!this.started)return;const n=this.page&&this.page.toObject()||{},i={...this.trackerPayloadPartial};if(Object.keys(n).forEach((e=>{i[e]=n[e]})),i.livemode=this.livemode?1:0,e.merge(i),this.mergeEventTags(e),!e.validate())return;const o=e.toObject();o.source=this.source,this.observer.publish(e.eventType,o),this.trackerClient.send(o,t),this.eventSent=Date.now(),this.publishData(o)}initializePointerUsageTracking(e){if(this.pointingDeviceIsUsed)return;const t=e||this.window,n=()=>{this.pointingDeviceIsUsed=!0,t.removeEventListener("pointermove",n),t.removeEventListener("pointerdown",n),t.removeEventListener("pointerup",n)};t.addEventListener("pointermove",n),t.addEventListener("pointerdown",n),t.addEventListener("pointerup",n)}initializeHandleClick(){const e=this.trackerEventClick;e&&this.window.addEventListener("click",(t=>{t.target&&this.track(new e(t.target))}))}get trackerPayloadPartial(){const e={clientId:this.clientId,companyKey:this.companyKey,supporterKey:this.supporterKey,clientLocale:this.clientLocale,pointingDeviceIsUsed:this.pointingDeviceIsUsed?1:0,isFundraiseupVisitor:this.isFundraiseupVisitor,uaIsInApp:this.uaIsInApp?1:0};return this.fromDonorPortal&&(e.eventComment={fromDonorPortal:1}),e}refresh(){this._clientId||this.createOrSetClientId(this.CIDStorage.get()),this.write()}createOrSetClientId(e){this._clientId=e&&"undefined"!==e&&20===e.length?e:(Date.now().toString()+mr(20)).slice(0,20)}write(){this._clientId&&this.CIDStorage.set(this.clientId,{expires:400,domain:this.CIDStorage.topLevelDomain,sameSite:"Lax"})}read(){const e=(0,Pt.UA)(this.window.location.href)[wr.v]||"",t=this.CIDStorage.get()||"";gr(e)?this._clientId=e:gr(t)?this._clientId=t:gr(this.serverClientId)?this._clientId=this.serverClientId:this._clientId=""}initializeDataLayerTracking(){if(this.window.dataLayer||(this.window.dataLayer=[]),!Array.isArray(this.window.dataLayer))return;const e=this.window.dataLayer,t=e=>(Array.isArray(e)||e&&"object"==typeof e&&"number"==typeof e.length)&&e.length>=3&&"event"===e[0]&&"string"==typeof e[1]?e[1]:"object"!=typeof e||Array.isArray(e)||"string"!=typeof e.event?null:e.event,n=e=>{if(!this.isABTestMode)return!1;const n=t(e);return!!n&&!Sr.some((e=>e.test(n)))},i=e=>{if(n(e)){const n=t(e);this.track(new ur(n,e))}};e.forEach(i);const o=e.push;e.push=function(...t){return i(t[0]),o.apply(e,t)}}publishData(e){this.subscriberStorage.publish(e)}mergeEventTags(e){let t=[];e.payload.eventTags&&(t=e.payload.eventTags.slice()),this.tags.forEach((e=>{-1===t.indexOf(e)&&t.push(e)})),e.payload.eventTags=t}}class Nr{constructor(e){this.timeoutInstance=0,this.items=[],this.timeout=e.timeout||1e3,this.limit=e.limit||30,this.onFlush=e.onFlush,this.resetTimeout()}push(e,t){this.items.push(e),(t||this.items.length>=this.limit)&&this.flush()}flush(){this.items.length?(this.onFlush(this.items),this.items=[],this.resetTimeout()):this.resetTimeout()}resetTimeout(){this.timeoutInstance&&clearTimeout(this.timeoutInstance),this.timeoutInstance=window.setTimeout((()=>{this.flush()}),this.timeout)}}var Cr,Or;!function(e){e.CHECKOUT="checkout"}(Cr||(Cr={})),function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing"}(Or||(Or={}));const Ir=[dt,"click",lt,"checkoutClose",ut];class br{constructor(e){this.request=On,this.possibleAdBlockersErrorMessages=["Failed to fetch","NetworkError when attempting to fetch resource.","Load failed"],this.window=e.window,this.url=e.url,this.trackingTarget=e.trackingTarget,this.env=e.env,this.bulk=new Nr({limit:30,onFlush:e=>this.sendRequests(e)})}send(e,t){if((window.FUN_DO_NOT_TRACK||this.isBlockedByDomain())&&(!t||t&&t.trackerType!==Cr.CHECKOUT))return;const n=function(e){return function(e,t={}){const n={encode:!0,strict:!0,arrayFormat:"none"};Object.assign(n,t),!1===n.sort&&(n.sort=function(){});const i=function(e){return function(t,n){return null===n?hr(t,e):[hr(t,e),"=",hr(n,e)].join("")}}(n);return e?Object.keys(e).sort(n.sort).map((function(t){const o=e[t];if(void 0===o)return"";if(null===o)return hr(t,n);if(Array.isArray(o)){const e=[];return o.slice().forEach((function(n){void 0!==n&&e.push(i(t,n,e.length))})),e.join("&")}return hr(t,n)+"="+hr(o,n)})).filter((function(e){return e.length>0})).join("&"):""}((0,pr.compressPayload)(e))}(e),i=(null==t?void 0:t.url)||this.url;let o=-1!==Ir.indexOf(e.eventType);e.eventType===pt&&-1!==this.window.location.href.indexOf("alz.org")&&(o=!0),this.bulk.push({url:i+this.trackingTarget,payload:n},o)}isBlockedByDomain(){return this.env===Or.PRODUCTION&&(!!window.location.protocol.includes("file")||/127\.0|192\.168|localhost|localtest\.me/.test(window.location.hostname))}sendRequests(e){const t=function(e){const t=new Map;return e.forEach((({url:e,payload:n})=>{const i=t.get(e)||[];i.push(n),t.set(e,i)})),t}(e);t.forEach(((e,t)=>{const n=JSON.stringify(e);this.sendRequest(t,n)}))}sendRequest(e,t){let n=!1;try{this.sendFetchRequest(e,t)}catch(e){n=!0}n&&this.request({method:"POST",url:e,params:t}).catch(console.warn)}sendFetchRequest(e,t){fetch(e,{method:"POST",body:t,keepalive:!0}).catch((e=>{if(console.warn(e),!this.possibleAdBlockersErrorMessages.some((t=>e.message.includes(t))))throw e}))}}function Pr(e){return Ut()&&window.FUN_DEV_NEW_TRACKING?function(e){let t;if(e.funTracker)t=e.funTracker;else{const n=e.funTrackerStorage.topLevelDomain;t=function(e){const{companyKey:t,appContext:n,env:i,logger:o,window:r,topLevelDomain:a,isABTestMode:c,trackingConfig:l,serverClientId:d}=e,u=new uo(a),p=new bo(u),h=new Oo(p,r,d);h.initialize();const m=Jo.create(h,r,n),g=function(e){var t,n;const i=new ir(e.requestHandler||tr,er),o=new Zo({limit:(null===(t=e.bulkConfig)||void 0===t?void 0:t.limit)||30,timeout:(null===(n=e.bulkConfig)||void 0===n?void 0:n.timeout)||1e3,onFlush:e=>i.sendRequests(e)});return new rr({window:e.window,url:e.url,trackingTarget:e.trackingTarget,env:e.env,bulk:o})}({window:r,url:l.url,trackingTarget:l.trackingTarget,env:i}),E=new ko,f=new Lo,T=function(e,t){const n=(()=>ar(this,void 0,void 0,(function*(){if(e!==or.PRODUCTION&&e!==or.STAGING)try{const{TrackingEventValidator:e}=yield Promise.all([s.e(31),s.e(604)]).then(s.t.bind(s,"../tracking-migration-converter/dist/index.js",23));return new e}catch(e){return void t.error({msg:"Failed to create TrackingEventsValidator",error:e instanceof Error?e.message:String(e)})}})))();return new sr(n)}(i,o),v=new Ro;return new lr(r,m,g,t,E,f,c,T,v)}({companyKey:e.embedConfig.currentCompanyKey,appContext:{id:"embed",version:e.embedConfig.version,livemode:e.embedConfig.livemode},env:e.env,logger:{error:e.debug.log},window:e.window,topLevelDomain:n,isABTestMode:e.embedConfig.abTestMode,trackingConfig:{url:e.globalURL,trackingTarget:_e},serverClientId:e.embedConfig.clientId}),t.subscribe((t=>e.debug.log(t.name||"",t)),"debug"),t.initializeTracking()}const n=new fo(window,t,e.embedConfig.locale.code);return new yo(n,{funEmbedRelease:e.funEmbedRelease,isFundraiseupVisitor:e.isFundraiseupVisitor})}(e):function(e){let t;if(e.funTracker)t=e.funTracker;else{const n=new br({window:e.window,url:e.globalURL,trackingTarget:"/tb",env:e.env});t=new Ar({trackerClient:n,window:e.window,companyKey:e.embedConfig.currentCompanyKey,storage:e.funTrackerStorage,localeCode:e.embedConfig.locale.code,livemode:e.embedConfig.livemode,isABTestMode:e.embedConfig.abTestMode,source:e.source,serverClientId:e.embedConfig.clientId}),t.subscribe((t=>e.debug.log(t.eventType||"",t)),"debug"),t.start()}return new yo(t,{funEmbedRelease:e.funEmbedRelease,isFundraiseupVisitor:e.isFundraiseupVisitor})}(e)}var Rr,Lr,kr;!function(e){e[e.CHECKOUT=13]="CHECKOUT",e[e.PRODUCT=12]="PRODUCT"}(Rr||(Rr={})),function(e){e.EMBED_WORKER="embedWorker",e.EMBED="embed"}(Lr||(Lr={}));class Dr{constructor(e,t,n,i,o,r){this.requester=e,this.apiKey=t,this.scope=n,this.release=i,this.environment=o,this.url=`https://sentry.fundraiseup.com/api/${r}/envelope/?sentry_key=${this.apiKey}`}captureException(e,t){this.isIgnoredException(e)||this.requester(this.url,{method:"POST",body:this.getBody(e,t),headers:{"content-type":"text/plain; charset=utf-8"}}),console.error(e)}getEnrichData(e,t={}){return{exception:{values:[{type:"Error",value:e.message,stacktrace:{frames:[]}}]},level:"error",platform:"javascript",timestamp:Date.now()/1e3,environment:this.environment,release:this.release,tags:{...t,scope:this.scope}}}getBody(e,t){return JSON.stringify(this.getInfo())+"\n"+JSON.stringify(this.getType())+"\n"+JSON.stringify(this.getEnrichData(e,t))}getInfo(){return{sent_at:(new Date).toISOString()}}getType(){return{type:"event"}}isIgnoredException(e){return 0===e.statusCode}}class Mr extends Dr{constructor(e,t,n,i,o,r,s){super(e,t,n,i,o,r),this.embedConfig=s,this.ignoreErrors=[/Failed to fetch$/,/Loading chunk \d{3,5} failed/,/The operation is insecure\.$/,/parameter 1 is not of type ['"]?Element['"]?/,/Maximum call stack size exceeded/,/2 is not provided/,/elm.events.push is not a function/]}getTagsFromConfig(){var e,t,n,i,o,r;return{userCountry:null===(t=null===(e=this.embedConfig.meta)||void 0===e?void 0:e.user.location)||void 0===t?void 0:t.country,isFundraiseupVisitor:this.embedConfig.isFundraiseupVisitor,isMobile:this.embedConfig.deviceData.isMobile,isMobileOrTablet:this.embedConfig.deviceData.isMobileOrTablet,osName:null===(i=null===(n=this.embedConfig.browserData)||void 0===n?void 0:n.os)||void 0===i?void 0:i.name,osVersion:null===(r=null===(o=this.embedConfig.browserData)||void 0===o?void 0:o.os)||void 0===r?void 0:r.version,companyKey:this.embedConfig.currentCompanyKey,isInAppBrowser:this.embedConfig.browserData.isInAppBrowser}}getBrowserTags(){var e,t;return{server_name:window.location.origin,platform:window.navigator.platform,cookieEnabled:window.navigator.cookieEnabled,language:window.navigator.language,connectionType:null===(e=window.navigator.connection)||void 0===e?void 0:e.effectiveType,downlink:null===(t=window.navigator.connection)||void 0===t?void 0:t.downlink}}getBrowserExtra(){return{userAgent:window.navigator.userAgent,href:window.location.href}}getEnrichData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=super.getEnrichData(e);return Object.assign(Object.assign({},n),{tags:Object.assign(Object.assign(Object.assign(Object.assign({},n.tags),this.getTagsFromConfig()),this.getBrowserTags()),t),extra:Object.assign(Object.assign(Object.assign({},n.extra||{}),this.getBrowserExtra()),{stacktrace:e.stack})})}isIgnoredException(e){const t=!this.embedConfig.browserData.isSupported,n=""===window.navigator.userAgent||0===(null===(i=window.navigator.languages)||void 0===i?void 0:i.length)||window.navigator.webdriver;var i;const o=this.ignoreErrors.some((t=>t.test(e.message))),r=window.location.origin.includes("hubspotpreview");return t||n||o||r||super.isIgnoredException(e)}}class xr{constructor(e,t){this.funStorageAdapter=e,this._inMemoryStorage={},this.env=t.env,this._allowWrite=t.allowWrite,this.inMemoryStorage=this.funStorageAdapter.getData()}get available(){return this.funStorageAdapter.available}get isFuncStorageInitialized(){return this.funStorageAdapter.isFuncStorageInitialized}get allowWrite(){return this._allowWrite}set allowWrite(e){this._allowWrite=e}getData(){return this.inMemoryStorage}setData(e,t){this.inMemoryStorage=e,this.allowWrite&&this.funStorageAdapter.setData(e,t)}removeData(e){}initialize(e,t){this.funStorageAdapter.initialize({[_t.p.TOP_LEVEL_DOMAIN]:e},t)}getField(e){const t=this.getData();return t&&e in t?t[e]:null}setField(e,t){const n=this.getData()||{};n[e]=t;const i=Xi(this.env,n[_t.p.TOP_LEVEL_DOMAIN]);this.setData(n,i)}removeField(e){const t=this.getData();delete t[e];const n=Xi(this.env,t[_t.p.TOP_LEVEL_DOMAIN]);this.setData(t,n)}setInMemoryDataToStorage(){if(!this.allowWrite)throw new Error("Session Storage error - Cannot save data to storage when write is not allowed");if(!this.inMemoryStorage[_t.p.TOP_LEVEL_DOMAIN])return void console.error("Session Storage error - Top level domain is not set");const e=Xi(this.env,this.inMemoryStorage[_t.p.TOP_LEVEL_DOMAIN]);this.funStorageAdapter.initFuncStorage(this.inMemoryStorage,e)}get inMemoryStorage(){return Object.assign({},this._inMemoryStorage)}set inMemoryStorage(e){this._inMemoryStorage=e}}class Ur{constructor(e,t){this.storage=e,this.initAt=t||(new Date).getTime(),this.read()}incrementSession(){this.sessionPage++,this.refresh()}refresh(){this.sessionAt||this.addSession(),this.write()}addSession(){this.sessionAt=this.initAt}write(){this.storage.setField(_t.p.SESSION_AT,this.sessionAt.toString(10)),this.storage.setField(_t.p.SESSION_PAGE,this.sessionPage)}read(){this.sessionAt=Number(this.storage.getField(_t.p.SESSION_AT))||0,this.sessionPage=Number(this.storage.getField(_t.p.SESSION_PAGE))||0}}!function(e){e.DONOR_PORTAL="donorPortal",e.DASHBOARD="dashboard",e.DASHBOARD_USER="dashboardUser"}(kr||(kr={}));class Fr{constructor(e){this.window=e}saveDocumentOriginalStyles(){const e=()=>{this.saveOriginalStyles(this.window.document.body),this.saveOriginalStyles(this.window.document.documentElement)};if(this.window.document.body)return e();Ii(this.window.document,e)}setStyle(e,t){t.setAttribute("style",e)}appendStyle(e,t){const n=(t.getAttribute("style")||"")+e;t.setAttribute("style",n)}restoreOriginalStyles(e){let t="";this.originalStyles.has(e)&&(t=this.originalStyles.get(e)),e.setAttribute("style",t),this.originalStyles.delete(e)}saveOriginalStyles(e){if(this.originalStyles.has(e))return;const t=e.getAttribute("style")||"";this.originalStyles.set(e,t)}get originalStyles(){return this._originalStyles||(this._originalStyles=new WeakMap),this._originalStyles}}class Kr{constructor(e,t){this.window=e,this.isMobile=t,this.isLocked=!1}lock(){this.isLocked||(this.saveDefaultStyles(),this.bodyStyle.setProperty(Kr.overflowStyleProp,"hidden","important"),this.isMobile||(this.bodyStyle.setProperty(Kr.heightStyleProp,"auto","important"),this.bodyStyle.setProperty(Kr.minHeightStyleProp,"100%","important")),this.isLocked=!0)}unlock(){this.isLocked&&this.overflow&&(this.restoreDefaultStyles(),this.isLocked=!1)}get bodyStyle(){return this.window.document.body.style}saveDefaultStyles(){this.overflow={value:this.bodyStyle.getPropertyValue(Kr.overflowStyleProp),priority:this.bodyStyle.getPropertyPriority(Kr.overflowStyleProp)},this.isMobile||(this.height={value:this.bodyStyle.getPropertyValue(Kr.heightStyleProp),priority:this.bodyStyle.getPropertyPriority(Kr.heightStyleProp)},this.minHeight={value:this.bodyStyle.getPropertyValue(Kr.minHeightStyleProp),priority:this.bodyStyle.getPropertyPriority(Kr.minHeightStyleProp)})}restoreDefaultStyles(){var e,t,n;(null===(e=this.overflow)||void 0===e?void 0:e.value)?this.bodyStyle.setProperty(Kr.overflowStyleProp,this.overflow.value,this.overflow.priority):this.bodyStyle.removeProperty(Kr.overflowStyleProp),this.isMobile||((null===(t=this.height)||void 0===t?void 0:t.value)?this.bodyStyle.setProperty(Kr.heightStyleProp,this.height.value,this.height.priority):this.bodyStyle.removeProperty(Kr.heightStyleProp),(null===(n=this.minHeight)||void 0===n?void 0:n.value)?this.bodyStyle.setProperty(Kr.minHeightStyleProp,this.minHeight.value,this.minHeight.priority):this.bodyStyle.removeProperty(Kr.minHeightStyleProp))}}Kr.overflowStyleProp="overflow",Kr.heightStyleProp="height",Kr.minHeightStyleProp="min-height";class Gr{constructor(e){var t;this.customHashToKeyIndex=new Map,this.keyToCustomHashIndex=new Map,this.originalKeyIndex=new Map,this.elementsMap=new Map,this.fundraisersMap=new Map,this.campaignGroupMap=new Map,this.campaignSubGroupMap=new Map,this.index=new Map,this.processCampaignsKeys([...(t=e.campaignKeyGroups,Object.values(t).map((e=>Object.values(e))).flatMap((e=>e)).flatMap((e=>e))),...e.inactiveWidgets]),this.processCampaignsKeyGroups(e.campaignKeyGroups),this.processElementKeys(e.elements)}processCampaignsKeys(e=[]){e.forEach((e=>{const[t,n]=e,i=this.normalize(t);if(this.index.set(i,"WIDGET"),this.originalKeyIndex.set(i,t),n){const e=this.normalize(n);this.index.set(e,"WIDGET"),this.customHashToKeyIndex.set(e,t),this.keyToCustomHashIndex.set(i,n),this.originalKeyIndex.set(e,n)}}))}processCampaignsKeyGroups(e){Object.entries(e).forEach((([e,t])=>{Object.entries(t).forEach((([t,n])=>{n.forEach((n=>{const[i]=n,o=this.normalize(i);this.campaignGroupMap.set(o,e),this.campaignSubGroupMap.set(o,t)}))}))}))}processElementKeys(e){Object.keys(e).forEach((t=>{e[t].forEach((e=>{this.index.set(this.normalize(e),"ELEMENT"),this.elementsMap.set(this.normalize(e),t)}))})),this.index.set(this.normalize(vn),"ELEMENT"),this.elementsMap.set(this.normalize(vn),ht.DEBUG_PANEL)}exists(e,t){return("string"==typeof e?[e]:e).some((e=>this.index.get(this.normalize(t))===e))}itLooksLikeKey(e,t){return"WIDGET"===e?Xn.test(this.normalize(t)):"ELEMENT"===e?Kn.test(t):Hn.test(t)}normalize(e){if(!e)return"";const t=e.slice("#"===e[0]?1:0);return Xn.test(t)||Kn.test(t)||Hn.test(t)?t.toUpperCase():t.toLowerCase()}getElementType(e){return this.elementsMap.get(e)}checkElementType(e,t){return this.getElementType(t)===e}addWidgetKeys(e){e.forEach((e=>{if(this.exists("WIDGET",e))return;const t=this.normalize(e);this.index.set(e,"WIDGET"),this.originalKeyIndex.set(t,t)}))}addFundraisersKeys(e){e.filter((e=>Hn.test(e))).forEach((e=>{if(this.exists("FUNDRAISING_PAGE",e))return;const t=this.normalize(e);this.exists("WIDGET",t)||(this.index.set(t,"FUNDRAISING_PAGE"),this.fundraisersMap.set(t,t))}))}getFundraisersKeys(){return[...this.fundraisersMap.keys()]}addElementKeys(e,t){this.index.set(this.normalize(t),"ELEMENT"),this.elementsMap.set(this.normalize(t),e)}getWidgetCustomHash(e){return this.keyToCustomHashIndex.get(this.normalize(e))}isWidgetCustomHash(e){return this.customHashToKeyIndex.has(this.normalize(e))}getOriginalWidgetKey(e){return this.originalKeyIndex.get(this.normalize(e))}getWidgetKeyByCustomHash(e){return this.customHashToKeyIndex.get(this.normalize(e))}getCheckoutType(e){return this.campaignGroupMap.get(this.normalize(e))}getAskPageType(e){return this.campaignSubGroupMap.get(this.normalize(e))}}function Br(t){const n=_n(),i=function(e){let{trackingUrls:t,isAbTestMode:n,donorPortalUrl:i,companyKey:o}=e;if(n){const e=Ni.includes(o)?"https://fundraiseupobjects.com":i;return{checkout:e,global:e}}return t}({trackingUrls:t.trackingUrls,isAbTestMode:t.staticConfig.abTestMode,donorPortalUrl:t.staticConfig.donorPortalUrl,companyKey:t.company.key});return n.provide(2,(()=>Object.freeze(t.staticConfig))).provide(7,(()=>Object.freeze(i))).provide(20,(()=>new Fr(window))).provide(13,(()=>function(e,t,n,i,o,r,s,a,c,l){const d=(0,dn.U)(window.FundraiseUp.h||window.location.href),u=at(d),p=void 0!==cn.A.get(ln.e.DEBUG),h=a.get(),m=(null==h?void 0:h.disableIsFundraiseupVisitor)||!1,g=n.clientId,E={version:o,livemode:u,locale:new an({window,queryParams:d,companyLocalizationSettings:t.localization}).getConfig(),currentCompanyKey:t.key,currentCompany:t,loadedTimestamp:i,meta:c,queryParams:d,staticConfig:n,inactiveWidgets:l,clientId:g,get isMobile(){return window.FUN_FORCE_MOBILE||E.deviceData.isMobile},get deviceData(){const e=n.deviceData;return{isMobile:e.isMobile,isMobileOrTablet:e.isMobileOrTablet,isMobileSafari16:e.isMobileSafari16}},get fontsAssets(){return n.fontsAssets},get browserData(){return n.browserData},get paymentMethods(){return{stripePublicKey:Object.assign({},n.stripePublicKey),paypalClientId:n.paypalClientId,googlePayInfo:Object.assign({},n.googlePayInfo)}},get integrations(){return{uploadcareKey:n.uploadcareKey,dtdEnabled:n.integrations.dtd,sentryUri:n.sentryUri}},get server(){return{mainDomain:n.mainDomain,env:n.env,elementsApiScriptUrl:n.elementsApiScriptUrl,trackingUrls:Object.assign({},e),resolveUrl:`${r}/checkout/resolve?key=${t.key}`,checkoutAssets:n.checkoutAssets,checkoutSteplessAssets:n.checkoutSteplessAssets,elementsUrl:`${s}/embed-data/`}},get data(){return{currencyRates:Object.assign({},n.currencyRates)}},get isDebugMode(){return p},get isFundraiseupVisitor(){return Boolean(n.isFundraiseupVisitor&&!m)},get disablePreloading(){return n.disablePreloading},get experimentsConfig(){return{experiments:n.experimentsConfig.experiments||[]}},get abTestMode(){return n.abTestMode},get abTestDemoMode(){return window.FUN_AB_TEST_DEMO_MODE||!1},get fromDonorPortal(){return n.fromDonorPortal}};return E}(n.get(7),t.company,n.get(2),t.loadedTimestamp,t.version,bn,Rn,n.get(15),t.meta,t.knownKeys.inactiveWidgets))).provide(1,(()=>new Pi(window,new Kr(window,t.staticConfig.deviceData.isMobile),n.get(19)))).provide(29,(()=>((e,t)=>{let n;const i=e=>e?'<div class="fru-wmb">\n    <div class="fru-sg"></div>\n\n    <div class="fru-ch" data-qa="msh">\n    <div class="fru-sm" style="width: 121px !important; height: 32px !important; margin: 0 auto !important"></div>\n  </div>\n    <div data-qa="msa">\n    <div class="fru-cim"></div>\n    <div class="fru-cbm">\n      <div class="fru-fcm">\n        <div class="fru-sm" style="width: 251px !important; height: 24px !important; margin: 0 auto !important"></div>\n        <div class="fru-sm" style="height: 40px !important; margin-top: 16px !important"></div>\n      </div>\n    </div>\n  </div>\n    <div class="fru-wfm" data-qa="msf">\n    <div class="fru-fcm">\n      <div class="fru-sm" style="width: 187px; height: 28px; margin: 0 auto"></div>\n      <div class="fru-sm" style="height: 44px !important; margin-top: 28px !important"></div>\n      <div class="fru-sm" style="height: 160px !important; margin-top: 16px !important"></div>\n      <div class="fru-sm" style="height: 66px !important; margin-top: 24px !important"></div>\n      <div class="fru-sm" style="height: 20px !important; margin-top: 24px !important"></div>\n      <div class="fru-sm" style="width: 121px !important; height: 20px !important; margin-top: 12px !important"></div>\n      <div class="fru-sm" style="height: 48px !important; margin-top: 24px !important"></div>\n    </div>\n  </div>\n  <div class="fru-wftm">\n    <div class="fru-fcm">\n      <div class="fru-sm" style="width: 212px !important; height: 24px !important"></div>\n      <div class="fru-sm" style="width: 271px !important; height: 76px !important; margin-top: 12px !important"></div>\n      <div class="fru-sm" style="height: 46px !important; margin-top: 12px !important"></div>\n    </div>\n  </div>\n  </div>':'<div class="fru-wmb">\n    <div class="fru-sg"></div>\n\n    <div class="fru-ch" data-qa="msh">\n    <div class="fru-sm" style="width: 121px !important; height: 32px !important; margin: 0 auto !important"></div>\n  </div>\n    <div class="fru-wfm" data-qa="msf">\n    <div class="fru-fcm">\n      <div class="fru-sm" style="width: 187px; height: 28px; margin: 0 auto"></div>\n      <div class="fru-sm" style="height: 44px !important; margin-top: 28px !important"></div>\n      <div class="fru-sm" style="height: 160px !important; margin-top: 16px !important"></div>\n      <div class="fru-sm" style="height: 66px !important; margin-top: 24px !important"></div>\n      <div class="fru-sm" style="height: 20px !important; margin-top: 24px !important"></div>\n      <div class="fru-sm" style="width: 121px !important; height: 20px !important; margin-top: 12px !important"></div>\n      <div class="fru-sm" style="height: 48px !important; margin-top: 24px !important"></div>\n    </div>\n  </div>\n  <div class="fru-wftm">\n    <div class="fru-fcm">\n      <div class="fru-sm" style="width: 212px !important; height: 24px !important"></div>\n      <div class="fru-sm" style="width: 271px !important; height: 76px !important; margin-top: 12px !important"></div>\n      <div class="fru-sm" style="height: 46px !important; margin-top: 12px !important"></div>\n    </div>\n  </div>\n  </div>',o=e=>e?'<div class="fru-wd">\n    <div class="fru-wmd">\n      <div class="fru-wcd" data-qa="dsa">\n    <div class="fru-sg fru-sgc"></div>\n\n    <div class="fru-cid"></div>\n    <div class="fru-cbd">\n      <div class="fru-sd" style="width: 116px !important; height: 50px !important"></div>\n      <div class="fru-sd" style="height: 24px !important; margin-top: 16px !important"></div>\n      <div class="fru-sd" style="height: 120px !important; margin-top: 12px !important"></div>\n      <div class="fru-sd" style="width: 206px !important; height: 16px !important; margin-top: auto !important"></div>\n    </div>\n  </div>\n      <div class="fru-wfd" data-qa="dsf">\n    <div class="fru-sg fru-sgf"></div>\n\n    <div class="fru-fcd">\n      <div class="fru-sd" style="width: 188px !important; height: 32px !important; margin: 0 auto !important"></div>\n      <div class="fru-sd" style="height: 40px !important; margin-top: 22px !important"></div>\n      <div class="fru-sd" style="height: 90px !important; margin-top: 12px !important"></div>\n      <div class="fru-sd" style="height: 52px !important; margin-top: 10px !important"></div>\n      <div class="fru-sd" style="width: 189px !important; height: 18px !important; margin-top: 25px !important"></div>\n      <div class="fru-sd" style="width: 221px !important; height: 18px !important; margin-top: auto !important"></div>\n      <div class="fru-sd" style="width: 89px !important; height: 18px !important; margin-top: 13px !important"></div>\n      <div class="fru-sd" style="height: 48px !important; margin-top: 21px !important"></div>\n    </div>\n  </div>\n    </div>\n  </div>':'<div class="fru-wd">\n    <div class="fru-wmd">\n      <div class="fru-wfd" data-qa="dsf">\n    <div class="fru-sg fru-sgf"></div>\n\n    <div class="fru-fcd">\n      <div class="fru-sd" style="width: 188px !important; height: 32px !important; margin: 0 auto !important"></div>\n      <div class="fru-sd" style="height: 40px !important; margin-top: 22px !important"></div>\n      <div class="fru-sd" style="height: 90px !important; margin-top: 12px !important"></div>\n      <div class="fru-sd" style="height: 52px !important; margin-top: 10px !important"></div>\n      <div class="fru-sd" style="width: 189px !important; height: 18px !important; margin-top: 25px !important"></div>\n      <div class="fru-sd" style="width: 221px !important; height: 18px !important; margin-top: auto !important"></div>\n      <div class="fru-sd" style="width: 89px !important; height: 18px !important; margin-top: 13px !important"></div>\n      <div class="fru-sd" style="height: 48px !important; margin-top: 21px !important"></div>\n    </div>\n  </div>\n    </div>\n  </div>';return{render:r=>{const s=(a=r.campaignKey,t.getAskPageType(a)===Ri.WITH_ASK_PAGE);var a;n=e.document.createElement("div"),n.classList.add("fru-m"),s&&n.classList.add("fru-hc"),r.isLivemode||n.classList.add("fru-nlm"),r.isRtl&&n.setAttribute("dir","rtl"),e.document.body?e.document.body.appendChild(n):Ii(e.document,(()=>{e.document.body.appendChild(n)})),n.innerHTML=(e=>{let{isMobile:t,showAskPage:n}=e;return t?i(n):o(n)})({isMobile:r.isMobile,showAskPage:s}),(()=>{if(!n)return;const t=e.document.createElement("style");t.appendChild(e.document.createTextNode("\n  [class^='fru-'] {\n    all: initial;\n    display: block !important;\n    box-sizing: border-box !important;\n  }\n\n  .fru-sd {\n    width: 100% !important;\n    background: #f3f4fa !important; /* gray-10 */\n    border-radius: 6px !important;\n  }\n\n  .fru-sm {\n    width: 100% !important;\n    background: #f3f4fa !important; /* gray-10 */\n    border-radius: 4px !important;\n  }\n\n  .fru-sg {\n    position: absolute !important;\n    inset: 0 !important;\n    z-index: 1 !important;\n\n    background: linear-gradient(90deg, #FFFFFF00 35%, #FFFFFFE6 50%, #FFFFFF00 65%) 0 0 / 300% 100%;\n    animation: fru-ld 1s linear infinite !important;\n  }\n\n  [dir='rtl'] .fru-sg {\n    animation-name: fru-ld-rtl !important;\n  }\n\n  @keyframes fru-ld {\n    0% {\n      background-position: 100% 50%;\n    }\n    30% {\n      background-position: 0 50%;\n    }\n    100% {\n      background-position: 0 50%;\n    }\n  }\n\n  @keyframes fru-ld-rtl {\n    0% {\n      background-position: 0 50%;\n    }\n    30% {\n      background-position: 100% 50%;\n    }\n    100% {\n      background-position: 100% 50%;\n    }\n  }\n\n  .fru-m {\n    position: fixed !important;\n    inset: 0 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    align-items: flex-start !important;\n    overflow-x: hidden !important;\n    overflow-y: auto !important;\n    z-index: 2147483647 !important;\n    translate: 0 0 100px !important;\n    overscroll-behavior-y: none !important;\n  }\n\n  .fru-m-a {\n    animation: fru-fade-out 0.15s forwards !important;\n  }\n\n  @keyframes fru-fade-out {\n    to {\n      opacity: 0 !important;\n    }\n  }\n\n  .fru-wd {\n    display: flex !important;\n    flex-direction: column !important;\n    width: 100% !important;\n    max-width: 376px !important;\n    padding: 16px 8px !important;\n    margin: auto !important;\n  }\n\n  .fru-wmb {\n    flex-grow: 1 !important;\n    width: 100% !important;\n    position: relative !important;\n    background: #fff !important;\n  }\n\n  .fru-wmd {\n    min-height: 0 !important;\n    flex-grow: 1 !important;\n    flex-shrink: 0 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    border-radius: 16px !important;\n    box-shadow: 0 8px 16px #393A3F38, 0 0 4px #393A3F0A !important;\n    margin-bottom: 60px !important;\n  }\n\n  .fru-wcd {\n    flex-shrink: 0 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    position: relative !important;\n    width: 100% !important;\n    height: 640px !important;\n    background: #fff !important;\n    border-radius: 16px 16px 0 0 !important;\n    overflow: hidden !important;\n  }\n\n  .fru-ch {\n    padding: 8px 44px !important;\n  }\n\n  .fru-cid {\n    width: 100% !important;\n    height: 202px !important;\n    background: #f3f4fa !important; /* gray-10 */\n    border-radius: 16px 16px 0 0 !important;\n  }\n\n  .fru-cim {\n    width: 100% !important;\n    height: 59vw !important;\n    background: #f3f4fa !important; /* gray-10 */\n  }\n\n  .fru-cbd {\n    flex-grow: 1 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    padding: 20px 28px 28px !important;\n  }\n\n  .fru-cbm {\n    padding: 24px 20px !important;\n  }\n\n  .fru-wfd {\n    flex-shrink: 0 !important;\n    flex-grow: 1 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    position: relative !important;\n    height: 640px !important;\n    background: #fff !important;\n    padding: 28px 32px !important;\n    border-radius: 16px !important;\n    border-top: 1px solid #c7cdd6 !important;\n    overflow: hidden !important;\n  }\n\n  .fru-hc .fru-wfd {\n    border-radius: 0 0 16px 16px !important;\n  }\n\n  .fru-wfm {\n    padding: 32px 20px 40px !important;\n    border-top: 1px solid #c7cdd6 !important;\n  }\n\n  .fru-wftm {\n    background: #fff !important;\n    padding: 24px 20px 60px !important;\n    border-top: 1px solid #c7cdd6 !important;\n  }\n\n  .fru-fcd {\n    min-height: 0 !important;\n    flex-grow: 1 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    width: 100% !important;\n    max-width: 296px !important;\n    margin: auto !important;\n  }\n\n  .fru-fcm {\n    width: 100% !important;\n    max-width: 390px !important;\n    margin: auto !important;\n  }\n\n  .fru-nlm {\n    margin-bottom: 40pxpx !important;\n  }\n\n  @media (min-width: 536px) {\n    .fru-wd {\n      width: 360px !important;\n      max-width: none !important;\n      padding-inline-start: 0 !important;\n      padding-inline-end: 0 !important;\n    }\n\n    .fru-hc .fru-wd {\n      width: 516px !important;\n    }\n\n    .fru-cid {\n      height: 289px !important;\n    }\n  }\n\n  @media (min-width: 1128px) {\n    .fru-hc .fru-wd {\n      width: calc(516px + 20px + 360px) !important;\n    }\n\n    .fru-sgc {\n      animation-delay: 0.1s !important;\n    }\n\n    .fru-sgf {\n      animation-delay: 0.25s !important;\n    }\n\n    .fru-wmd {\n      flex-direction: row !important;\n      border-radius: 0 !important;\n      box-shadow: none !important;\n    }\n\n    .fru-hc .fru-wmd {\n      margin-bottom: 34px !important;\n    }\n\n    .fru-wcd {\n      width: 516px !important;\n      border-radius: 16px !important;\n      box-shadow: 0 8px 16px #393A3F38, 0 0 4px #393A3F0A !important;\n      margin-inline-end: 20px !important;\n    }\n\n    .fru-wfd {\n      border-top: 0 !important;\n      box-shadow: 0 8px 16px #393A3F38, 0 0 4px #393A3F0A !important;\n    }\n\n    .fru-hc .fru-wfd {\n      width: 360px !important;\n      border-radius: 16px !important;\n    }\n  }\n")),n.prepend(t)})()},hide:()=>{n&&(n.classList.add("fru-m-a"),n.remove())}}})(window,n.get(3)))).provide(27,(()=>{return e=n.get(2),i=n.get(13),o=t.version,new Mr(((e,t)=>fetch(e,t)),e.sentryApiKey,Lr.EMBED,o,e.env,Rr.CHECKOUT,i);var e,i,o})).provide(6,(()=>new e.y("embed",t.debugLogCodes))).provide(3,(()=>new Gr(t.knownKeys))).provide(8,(()=>new xr(function(){const e=Ji(Bi.OBJECT),t=new io(co),n=new ao(e,t,window.FUN_DISABLE_NEW_COOKIES),i=new so(e,t,window.FUN_DISABLE_NEW_COOKIES);return new lo(n,i,window.FUN_DISABLE_NEW_COOKIES)}(),{env:t.staticConfig.env,allowWrite:!1}))).provide(25,(()=>new Ur(n.get(8)))).provide(24,(()=>function(e,t,n,i){const o=(0,Hi.F)().get(8),r=(0,ji.f)(o);return new zi(e,t,r,n,i)}(n.get(8),n.get(22),t.staticConfig.env,window.FUN_DISABLE_NEW_COOKIES))).provide(22,(()=>function(){const e=(0,Hi.F)().get(8),t=(0,ji.f)(e);return new no(t)}())).provide(21,(()=>function(){const e=(0,Hi.F)().get(8),t=(0,ji.f)(e);return new uo(t)}())).provide(23,(()=>function(e,t){const n=(0,Hi.F)().get(8),i=(0,ji.f)(n);return new Wi(e,i,cn.A,{disableNewCookies:t})}(t.staticConfig.env,window.FUN_DISABLE_NEW_COOKIES))).provide(14,(()=>Pr({window,funEmbedRelease:t.version,embedConfig:n.get(13),debug:n.get(6).createInstance("Tracking"),globalURL:i.global,funTracker:window.FUN_TRACKER,isFundraiseupVisitor:t.staticConfig.isFundraiseupVisitor?1:0,funTrackerStorage:n.get(21),source:t.staticConfig.fromDonorPortal?kr.DONOR_PORTAL:void 0,env:t.staticConfig.env}))).provide(28,(()=>{return e=n.get(13),t=n.get(14),i=n.get(15),new mi({companyKey:e.currentCompanyKey,parentCompanyKey:(null===(o=e.currentCompany)||void 0===o?void 0:o.parentKey)||null,tracker:t,experimentsSettings:ui(e.experimentsConfig.experiments),funStorage:i,sentry:{captureException:e=>console.error(e),getCurrentScope:()=>null},isDebugMode:e.isDebugMode,isFundraiseupVisitor:e.isFundraiseupVisitor,isAbTestMode:e.abTestMode,distributionId:t.clientId});var e,t,i,o})).provide(4,(()=>fi(n.get(3),n.get(6).createInstance("Collector")))).provide(5,(()=>function(e,t,n,i,o){const r=[],s=new Map,a=!0===window.FUN_DASHBOARD,c=c=>{return p=this,h=[c],g=function(c){let{keys:p,livemode:h,externalQueryParams:m}=c;return function*(){var c;const g=Object.assign(e.queryParams||{},m),E=Ki(t,p,e.locale.code,null===(c=i.page)||void 0===c?void 0:c.pageViewId,g);if(l(E))return n.logCode(16),Promise.resolve();n.logCode(17,E);const f=u(h),T=Date.now();let v;const y=d(E),_=s.get(y);_&&!a?v=_:(v=yield xi({method:"POST",url:f,headers:{"content-type":"text/plain; charset=utf-8"},params:E}).then((e=>e.data)).catch((e=>{throw o.captureException(e),e})),s.set(y,v));const w={params:p,duration:Date.now()-T};return r.forEach((e=>e(v,w))),n.logCode(18,{data:v,info:w}),v}()},new((m=void 0)||(m=Promise))((function(e,t){function n(e){try{o(g.next(e))}catch(e){t(e)}}function i(e){try{o(g.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):(o=t.value,o instanceof m?o:new m((function(e){e(o)}))).then(n,i)}o((g=g.apply(p,h||[])).next())}));var p,h,m,g},l=e=>!e.campaign&&!e.fundraisingPage,d=e=>{const t=[];return e.campaign&&t.push(e.campaign),e.fundraisingPage&&t.push(e.fundraisingPage),t.join("_")},u=t=>{const n=null!=t?t:e.livemode;return`${e.server.resolveUrl}&livemode=${n?"true":"false"}`};return{resolveFundraisingPages:e=>(n.logCode(14,e),c({keys:e})),resolveKeys:e=>{let{keys:i,livemode:o,externalQueryParams:r}=e;const s=i.filter(Li).filter((e=>(e=>t.exists("WIDGET",e)||t.itLooksLikeKey("FUNDRAISING_PAGE",e))(e)));return s.length?(n.logCode(15,{keys:i}),c({keys:s,livemode:o,externalQueryParams:r})):Promise.resolve()},onResolve:e=>{r.push(e)},needResolve:e=>!s.has(e.join("_"))}}(n.get(13),n.get(3),n.get(6).createInstance("CommonResolver"),n.get(14),n.get(27)))).provide(9,(()=>Cn(n.get(4),n.get(3),n.get(10),n.get(13),n.get(6),n.get(14),n.get(30),(()=>n.get(11))))).provide(30,(()=>function(e){const t=function(e){const t=e.get(Mn.ELEMENT_KEY),n=e.get(Mn.ELEMENT_ID),i=e.get(Mn.FORM);if(!t&&!n||i)return null;const o=Number(e.get(Mn.AMOUNT)),r=o?100*o:null,s=(e.get(Mn.CURRENCY)||"").toUpperCase(),a=e.get(Mn.RECURRING),c=e.get(Mn.MODIFY_DESIGNATION),l="yes"===c||"no"===c,d=Object.values(Dn);return{elementKey:t||n,amount:r,currency:s,recurring:a&&d.includes(a)?a:null,modifyDesignation:l?"yes"===c:null,firstName:e.get(Mn.FIRST_NAME),lastName:e.get(Mn.LAST_NAME),email:e.get(Mn.EMAIL),designationId:e.get(Mn.DESIGNATION),tributeHonoree:e.get(Mn.TRIBUTE)}}(new URLSearchParams(e.location.search)),n=(e,n)=>Un.includes(n)&&e===(null==t?void 0:t.elementKey);return{getUrlParamsForElement:e=>n(e.key,e.type)?t:null,checkAmountInUrlApiForElement:(e,i)=>n(e,i)&&Boolean(null==t?void 0:t.amount)}}(window))).provide(17,(()=>function(e){let t=null;const n=(n,i)=>(i&&t&&t(),new Promise(((i,o)=>{const{abort:r}=In({method:"POST",url:`${xn(bn,kn.DATA)}?key=${e.currentCompanyKey}&livemode=${e.livemode}`,headers:{"content-type":"text/plain; charset=utf-8"},params:n},(e=>{e&&i(e)}),o);t=r})));return{config:e,getData:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const i=e.map((e=>({key:e})));return n(i,t)},searchData:function(e,t){return n([{key:e,params:t}],!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}}}(n.get(13)))).provide(10,(()=>Kt(n.get(5),n.get(6),n.get(13),n.get(1),n.get(29),n.get(3),n.get(14),n.get(19),n.get(20),n.get(8),n.get(28),(()=>n.get(16)),(()=>n.get(31)),(()=>n.get(33)),n.get(32)))).provide(12,(()=>((e,t)=>{const n=e=>zn(void 0,void 0,void 0,(function*(){const t=yield Sn(),n=yield i(e);if(n){const e=_n().get(3),t=n.widgetKey;if(!e.exists("WIDGET",t))return}t.emitEvent("backdropWillOpen"),yield t.formOpener.openForm(e,"p2p",{fundraisingPage:n})})),i=e=>zn(void 0,void 0,void 0,(function*(){return new Promise(((n,i)=>{In({method:"POST",url:`${bn}/p2p/fundraiser/${e}/resolve`,headers:{"content-type":"application/json"},params:JSON.stringify({companyKey:t.currentCompanyKey})},(e=>{e&&n(e)}),i)}))}));return{open:t=>Hn.test(t)?n(t):(t=>Sn().then((n=>{e.getElements([t]),n.emitEvent("backdropWillOpen"),e.onElementsLoad((e=>{const i=e.elements.find((e=>e.key===t));if(i)return n.addElements({nodes:[],elements:[i],globalElements:e.globalElements}),n.formOpener.openForm(t,"p2p",{fundraisingPage:null})}))})))(t),openByFundraiserSlug:e=>n(e)}})(n.get(9),n.get(13)))).provide(11,(()=>oi(n.get(10),n.get(9),n.get(12),n,n.get(13),n.get(14),n.get(5),n.get(3),n.get(6).createInstance("InternalApi"),n.get(15),n.get(4),n.get(25),n.get(28),n.get(26)))).provide(15,(()=>to(ln.e.EXPERIMENTS,Qi.OBJECT))).provide(19,(()=>new Ai)).provide(26,(()=>function(){const e=Ji(Bi.STRING);return new $i(e)}())).provide(32,(()=>((e,t,n,i,o,r)=>Si(t,n,i,_i(i,e),o,r))(window,n.get(6).createInstance("Consent API Manager"),n.get(27),n.get(19),n.get(24),n.get(23)))).provide(33,(()=>new ho(n.get(2).apiUrl)))}function Vr(e,t){if(e.body)return t();setTimeout(Vr.bind(null,e,t),10)}function Hr(e){return t=this,n=void 0,o=function*(){return new Promise((t=>{const n=e.document.createElement("iframe");n.style.display="none",Vr(e.document,(()=>{const i=(()=>{try{e.document.body.appendChild(n);const t=n.contentWindow;if(!t)return!1;const i=t.Date.now,o=t.Array.prototype.push,r=t.Object.keys,s=t.Map.prototype.set,a=t.String.prototype.replace;document.body.removeChild(n);const c=o.toString()===Array.prototype.push.toString(),l=r.toString()===Object.keys.toString(),d=s.toString()===Map.prototype.set.toString(),u=i.toString()===Date.now.toString(),p=a.toString()===String.prototype.replace.toString();return!(c&&l&&d&&u&&p)}catch(e){return!0}})();t(i)}))}))},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{c(o.next(e))}catch(e){r(e)}}function a(e){try{c(o.throw(e))}catch(e){r(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}c((o=o.apply(t,n||[])).next())}));var t,n,i,o}const jr=new e.y("Embed");!function(){var e,t;if(Hr(window).then((e=>{window.FUN_IS_MALFORMED_ENV=e})),!window.Set||!window.WeakMap)return void(window.console&&window.console.warn&&window.console.warn("init","legacy browser, skip processing"));if(null===(e=window.FUN)||void 0===e?void 0:e.initialized)return void jr.log("init","already initialized, skip processing");jr.log("init","initialization has started"),function(e,t){const n=function(e){return"function"==typeof e?n.l.push([arguments])&&n:function(){return n.l.push([e,arguments])&&n}};n.h=e.location.href,n.s=Date.now(),n.v="0",n.l=[];const i="call,catch,on,once,set,then,track,openCheckout".split(",");for(let e=0;e<8;e++)n[i[e]]=n(i[e]);e[t]=e[t]||n}(window,"FundraiseUp");const n=Br({loadedTimestamp:Date.now(),trackingUrls:{"global":"https://fndrsp.net","checkout":"https://fndrsp-checkout.net"},staticConfig:{"elementsApiScriptUrl":"https://static.fundraiseup.com/3b37b1336900.elementsApi.js","checkoutAssets":{"scripts":["https://static.fundraiseup.com/checkout.97264f4b5a70e583cad5.js","https://static.fundraiseup.com/checkout-vendors.e2dd2efe6089bd7f9051.js","https://static.fundraiseup.com/checkout-rtl-styles.9aff93bc211d9b79d8d3.js","https://static.fundraiseup.com/checkout-styles.81e2e1aa77a6c224bdd9.js","https://static.fundraiseup.com/checkout-sentry-vendor.eca33c87a99b49ba29e6.js","https://static.fundraiseup.com/sentry.ba2a698bfa509ee8739e.js"]},"checkoutSteplessAssets":{"scripts":["https://static.fundraiseup.com/checkout-stepless.d14a47c17ef679701bf3.js","https://static.fundraiseup.com/checkout-stepless-vendors.ab84e6077c56c4f5a473.js","https://static.fundraiseup.com/cs.checkout-stepless-rtl-styles.813909220c11d352b621.js","https://static.fundraiseup.com/cs.checkout-stepless-styles.83f2aed882adf921861e.js","https://static.fundraiseup.com/cs.checkout-stepless-sentry-vendor.832d3bfe2963125413a9.js","https://static.fundraiseup.com/sentry.ba2a698bfa509ee8739e.js"]},"currencyRates":{"rates":{"SHP":0.785843,"EUR":0.845585,"AED":3.672499,"AFN":67.999865,"XCD":2.70255,"ALL":81.809351,"AMD":382.940315,"AOA":916.999672,"ARS":1473.812299,"USD":1,"AUD":1.503364,"ANG":1.790403,"AWG":1.8025,"AZN":1.699887,"BAM":1.652067,"BBD":2.013684,"INR":87.91155,"PKR":281.511502,"BDT":121.729949,"XOF":554.087933,"BGN":1.653799,"BHD":0.376974,"BIF":2942.5,"BMD":1,"MYR":4.193495,"BND":1.276513,"BOB":6.909369,"BRL":5.310697,"BSD":0.999789,"BTN":87.785057,"NOK":9.818935,"ZAR":17.389625,"BWP":14.174386,"BYN":3.386916,"BZD":2.010974,"CAD":1.376801,"CDF":2825.000219,"XAF":554.132401,"CHF":0.788575,"NZD":1.68843,"CLP":952.559809,"CNY":7.103597,"COP":3877,"CRC":503.86451,"CVE":93.484438,"CZK":20.566984,"DJF":177.719628,"DKK":6.31228,"DOP":62.496856,"DZD":129.146742,"EGP":48.138296,"MAD":8.962505,"ETB":144.894678,"FJD":2.23975,"FKP":0.732451,"JPY":146.915503,"GBP":0.73382,"GEL":2.700265,"GHS":12.260074,"GIP":0.732451,"GMD":72.000081,"GNF":8660.000043,"GTQ":7.658909,"GYD":209.190246,"HKD":7.776345,"HNL":26.216159,"HRK":6.374202,"HTG":130.827385,"HUF":329.902495,"IDR":16451,"ILS":3.34403,"ISK":120.759786,"JMD":160.42573,"JOD":0.708976,"KES":129.500729,"KGS":87.449827,"KHR":4008.000098,"KMF":414.99992,"KRW":1382.909419,"KWD":0.30512,"KYD":0.833281,"KZT":541.784406,"LAK":21649.999893,"LBP":89549.999549,"LKR":301.744309,"LRD":176.978442,"LSL":17.340237,"MDL":16.483141,"MGA":4392.800875,"MKD":52.075928,"MMK":2099.648647,"MNT":3597.429174,"MOP":8.008836,"MUR":45.060405,"MVR":15.31038,"MWK":1736.999702,"MXN":18.312199,"MZN":63.909803,"NAD":17.340068,"XPF":100.739114,"NGN":1496.30994,"NIO":36.795202,"SEK":9.295325,"NPR":140.445158,"OMR":0.384497,"PAB":0.999869,"PEN":3.479008,"PGK":4.179901,"PHP":56.890441,"PLN":3.60405,"PYG":7134.349791,"QAR":3.64075,"RON":4.285098,"RSD":99.043014,"RUB":84.004972,"RWF":1449.370858,"SAR":3.751105,"SBD":8.217066,"SCR":14.245332,"SGD":1.278125,"SLL":20969.503664,"SLE":23.310131,"SOS":570.426997,"SRD":38.238502,"STD":20697.981008,"SVC":8.748575,"SZL":17.38113,"THB":31.839547,"TJS":9.423994,"TND":2.894117,"TOP":2.342106,"TRY":41.305197,"TTD":6.782954,"TWD":30.110398,"TZS":2469.999655,"UAH":41.229219,"UYU":40.202406,"UZS":12283.739947,"VND":26375,"VUV":118.610162,"WST":2.654417,"YER":239.549925,"ZMW":23.422076},"id":"68cb59903d2b5e7ee2370089"},"campaignPageAssets":{"scripts":{"main":"https://static.fundraiseup.com/campaignPages.d11110a1b36d93aff51b.js","vendors":"https://static.fundraiseup.com/campaignPagesVendors.a07f50c3a45805562984.js"},"css":{"ltr":"https://static.fundraiseup.com/campaignPages.ff81df8a903b32bffdd6.css","rtl":"https://static.fundraiseup.com/campaignPages.ff81df8a903b32bffdd6.rtl.css"},"fonts":{"ibmPlexSans400":"https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-400.woff2","ibmPlexSans500":"https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-500.woff2","ibmPlexSans600":"https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-600.woff2","ibmPlexSans700":"https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-700.woff2","ibmPlexSansArabic600":"https://static.fundraiseup.com/common-fonts/ibm-plex-sans-arabic/ibmplexsans-arabic-v12-600.woff2","ibmPlexSansArabic700":"https://static.fundraiseup.com/common-fonts/ibm-plex-sans-arabic/ibmplexsans-arabic-v12-700.woff2","verveine400":"https://static.fundraiseup.com/common-fonts/verveine/verveine-400.woff2"}},"apiUrl":"https://api.fundraiseup.com","staticUrl":"https://static.fundraiseup.com","trackingUrl":"https://fndrsp.net","donorPortalUrl":"https://kennedykrieger.donorsupport.co","stripePublicKey":{"live":"pk_live_9RzCojmneCvL31GhYTknluXp","test":"pk_test_PIcNaumXzkrpufsvKlKULLIZ"},"paypalClientId":"Afbm69ig8nMRLmZKS-QoONq7qIHPqlpYJ1l3vyxE_la-UZPU_eEkKH2HRpHFkl7SNJ8a_eKvDkcT9-My","googlePayInfo":{"stripeAPIVersion":"2023-10-16","allowedCardNetworks":["AMEX","DISCOVER","JCB","MASTERCARD","VISA"],"allowedAuthMethods":["PAN_ONLY","CRYPTOGRAM_3DS"],"merchantId":"BCR2DN6T7OI7T6IH"},"env":"production","sentryUri":"https://029bbf62e26bb7f41266caac0259d41b@sentry.fundraiseup.com/13","uploadcareKey":"5a1e3737b731e848bee9","mainDomain":"fundraiseup.com","integrations":{"dtd":true},"sentryApiKey":"029bbf62e26bb7f41266caac0259d41b","isFundraiseupVisitor":false,"disablePreloading":false,"deviceData":{"isMobile":false,"isMobileOrTablet":false,"isMobileSafari16":false},"experimentsConfig":{"experiments":[{"name":"DummyExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"33802","enabledAccounts":[],"disabledAccounts":[],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"LessPaymentOptionsExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":1},{"name":"test-3","key":"test-3","weight":1},{"name":"test-4","key":"test-4","weight":1}],"experimentId":"40193","enabledAccounts":[],"disabledAccounts":["AEJGNVQN","AFHQHUFB","AGSTXLKM","AJGERPHC","ALCUDRVC","APZMZAGU","ARVHGABZ","AUPRPMUE","AVALTECL","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"CheckoutModalVsCampaignPagesExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"58415","enabledAccounts":[],"disabledAccounts":[],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"MatchDonationInSocialProofExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":1}],"experimentId":"59325","enabledAccounts":[],"disabledAccounts":["AEJGNVQN","AFHQHUFB","AGSTXLKM","AJGERPHC","ALCUDRVC","APZMZAGU","ARVHGABZ","AUPRPMUE","AVALTECL","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"SteplessMobileCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"60395","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AEJGNVQN","AFHQHUFB","AGSTXLKM","AJGERPHC","ALCUDRVC","APZMZAGU","ARVHGABZ","AUPRPMUE","AVALTECL","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"UpsellScreenV3Experiment","enabled":true,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"65613","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"MlPostDonationUpsellCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"70084","enabledAccounts":[],"disabledAccounts":["AEJGNVQN","AGSTXLKM","APZMZAGU","ARVHGABZ","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"CheckoutWithoutPreDonationUpsellExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"73814","enabledAccounts":[],"disabledAccounts":["AEJGNVQN","AGSTXLKM","APZMZAGU","ARVHGABZ","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"MlPresetsInDonationFormV2Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"82987","enabledAccounts":[],"disabledAccounts":["AEJGNVQN","AFHQHUFB","AGSTXLKM","AJGERPHC","ALCUDRVC","APZMZAGU","ARVHGABZ","AUPRPMUE","AVALTECL","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"SendBeaconVsFetchKeepAliveExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":80},{"name":"test","key":"test","weight":20}],"experimentId":"87177","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AEJGNVQN","AFHQHUFB","AGSTXLKM","AJGERPHC","ALCUDRVC","APZMZAGU","ARVHGABZ","AUPRPMUE","AVALTECL","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"PresetsInDonationFormV3Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"92387","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"PresetsInDonationFormV31Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"107996","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"DonateByVoiceExperiment","enabled":true,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"133232","enabledAccounts":[],"disabledAccounts":[],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"FeeCoverageSelectionModalExperiment","enabled":true,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"101219-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AJZSDMZE","AKVYFUBL","ARNXLWYU","ASPUXQFL","AUPRPMUE","AVLMPSRU","AYXSFGEE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountPresetsDonationFormV5Experiment","enabled":true,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":1},{"name":"test-3","key":"test-3","weight":0},{"name":"test-4","key":"test-4","weight":1}],"experimentId":"115114-DF","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AKVYFUBL","ARNXLWYU","ASPUXQFL","AUPRPMUE","AVLMPSRU","AYXSFGEE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"MultipleRecurringPlanCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":1}],"experimentId":"114635-modal","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AAMRKAJS","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFHQHUFB","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMUMMYDJ","ANCBYMWS","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPUXQFL","ASPZKMDK","ASQMJVUY","AUPRPMUE","AUVYPFTF","AVCYLAJJ","AVLMPSRU","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA","AYXSFGEE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"StripeLinkCheckoutExperiment","enabled":true,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"115596-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AJZSDMZE","AKVYFUBL","ARNXLWYU","ASPUXQFL","AUPRPMUE","AVLMPSRU","AYXSFGEE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountPresetsCheckoutV5Experiment","enabled":true,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":1},{"name":"test-3","key":"test-3","weight":0},{"name":"test-4","key":"test-4","weight":1}],"experimentId":"115114-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AKVYFUBL","ARNXLWYU","ASPUXQFL","AUPRPMUE","AVLMPSRU","AYXSFGEE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"FastTrackCheckoutExperiment_fixed","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":1}],"experimentId":"101284-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AJZSDMZE","AKVYFUBL","ARNXLWYU","ASPUXQFL","AUPRPMUE","AVLMPSRU","AYXSFGEE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"SmartCoveringFeeCheckoutV4Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"113277-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AJZSDMZE","AKVYFUBL","AUPRPMUE","AVLMPSRU","AYXSFGEE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountPresetsCheckoutV4Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":9},{"name":"test","key":"test","weight":1}],"experimentId":"126493-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AJZSDMZE","AKVYFUBL","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountPresetsDonationFormV4Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":9},{"name":"test","key":"test","weight":1}],"experimentId":"126493-DF","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AJZSDMZE","AKVYFUBL","AUPRPMUE","AVLMPSRU","AYXSFGEE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AverageDonationHintExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":0},{"name":"test-2","key":"test-2","weight":0},{"name":"test-3","key":"test-3","weight":1}],"experimentId":"101523-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AJGEZYBE","AJZSDMZE","AKVYFUBL","AUPRPMUE","AVLMPSRU","AYXSFGEE","ASNVRJLX"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountsOnUpsellV2CheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":0},{"name":"test-2","key":"test-2","weight":1},{"name":"test-3","key":"test-3","weight":0}],"experimentId":"104387-modal","enabledAccounts":[],"disabledAccounts":[],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountPresetsDonationFormV4Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"110192-DF","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AJZSDMZE","AKVYFUBL","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"UpsellScreenDataCollectCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":70},{"name":"test","key":"test","weight":29}],"experimentId":"112996-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AJZSDMZE","AKVYFUBL","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"DefaultFrequencyV3ModalExperiment","enabled":true,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"103991-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"MlDefaultFrequencyInDonationFormV3Experiment","enabled":true,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"103991-df","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountPresetsCheckoutV31Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"108741-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"CheckoutWithoutPresetsExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":1}],"experimentId":"59097-modal","enabledAccounts":[],"disabledAccounts":["ABLAYHFK","ABXQVBCC","ACACYXKN","ACYYCJSS","AERPMFNV","AFHDMWFQ","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJQQEYDC","ALGWNCES","ALJRVDPY","ALNSLQRP","ANCBYMWS","APKJZMBK","AQEGFEES","ARHVGWAD","ARPSFYJG","ASQMJVUY","AUVYPFTF","AVCYLAJJ","AVRUAVBN","AWFXWKCB","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"CheckoutStepsCheckoutModalExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"59119-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"DonorRatingCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":0}],"experimentId":"99706-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"RecurringFrequencyHintCheckoutDesktopExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":1}],"experimentId":"59392-desktop","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","ADQRERLU","AFHQHUFB","AJZSDMZE","AKVYFUBL","ARMPCVPV","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"RecurringFrequencyHintCheckoutMobileExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"59392-mobile","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","ADQRERLU","AFHQHUFB","AJZSDMZE","AKVYFUBL","ARMPCVPV","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"SmartPDUCheckoutV3Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"89260-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmazonPayCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"87699-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"BirthdayDonationCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"84301-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU","AVYLHELK"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"UpsellAmountsSuggestionModalExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"89701-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"CollectDatasetPostDonationUpsellAmountCheckoutV3Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"89924-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"UpsellAmountsDatasetModalExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"87159-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AEJGNVQN","AFHQHUFB","AGSTXLKM","AJGERPHC","ALCUDRVC","APZMZAGU","ARVHGABZ","AUPRPMUE","AVALTECL","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountPresetsCheckoutV3Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"107649-modal","enabledAccounts":[],"disabledAccounts":["AAMRKAJS","AFHQHUFB","AUPRPMUE","AVLMPSRU"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"SmartPostDonationUpsellCheckoutV2Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"79870-modal","enabledAccounts":[],"disabledAccounts":["AEJGNVQN","AFHQHUFB","AGSTXLKM","AJGERPHC","ALCUDRVC","APZMZAGU","ARVHGABZ","AUPRPMUE","AVALTECL","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"FloatingLabelsCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1},{"name":"test-2","key":"test-2","weight":1}],"experimentId":"60368-modal","enabledAccounts":[],"disabledAccounts":["AEJGNVQN","AFHQHUFB","AGSTXLKM","AJGERPHC","ALCUDRVC","APZMZAGU","ARVHGABZ","AUPRPMUE","AVALTECL","AVLMPSRU","AZFMPNQE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"}]},"abTestMode":false,"browserData":{"browser":{"name":"Firefox","version":"60.0","major":"60"},"device":{},"engine":{"name":"Gecko","version":"60.0"},"os":{"name":"Windows","version":"7"},"isSupported":false,"isCommonBrowser":true,"isInAppBrowser":false},"fontsAssets":["https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-400.woff2","https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-500.woff2","https://static.fundraiseup.com/common-fonts/ibm-plex-sans/ibmplexsans-v19-600.woff2"],"fromDonorPortal":false,"currentCompanyKey":"ACDKZLNU","clientId":"17582293981208279329"},knownKeys:{campaignKeyGroups:{"onlyCampaignPages":{"withAskPage":[["FUNPALJGGKS"],["FUNTLZWQXTN"],["FUNRVNNZKYA"]],"noAskPage":[]},"onlyCheckoutModal":{"withAskPage":[["FUNLMVMGKEZ","MainForm"],["FUNSQYKMGGG"],["FUNCRKGGWCH","Tributes"],["FUNMBCEMJKF","Society"],["FUNXLCWHSEM","Monthly"],["FUNMSTWJHXZ","FestivalOfTrees"],["FUNKQPQQLMD","Sturge-Weber"],["FUNUZGZHWCU","ICSCI"],["FUNVNBATHWJ","CARD"],["FUNTWJJWTKE","PCS"],["FUNKNKPQNLZ","LBSL"],["FUNHDTCBEVQ","EndofYear"],["FUNFEJNWVHY"],["FUNCJHRENAP","NDW"],["FUNZPLURUSM"],["FUNZKZMKQZE"],["FUNXTCNYKFY","EDEC"],["FUNAFJYQJPR","Schools"],["FUNGMPJSMAP"],["FUNGBMWFQDR","HELP"],["FUNQJRMYXMM","ALD"],["FUNHHALCDRA"],["FUNTUMPQFHK"],["FUNCKCGUGZQ"],["FUNVHLHUMFF"],["FUNSXMLTUKM"],["FUNERQGMWNS"],["FUNWGQELSFH"],["FUNPVXFGJWP"],["FUNPMEJSDKT"],["FUNMCSEHDZS"],["FUNJSACHGED"],["FUNYVDEBCJS"],["FUNULDDSULE"],["FUNNSQGXTMT"],["FUNKHEXVPMX"],["FUNUFKMSHWZ"],["FUNKBHSVRGD"],["FUNQKMDRQEZ"],["FUNPKYUERLA"],["FUNRECPXEGC"],["FUNQXRLVQVZ"],["FUNRBEFQLJJ"],["FUNZBRLWAHX"],["FUNBQJRELRJ"],["FUNPHBSEQVN"],["FUNCULLPFVP"],["FUNYZWMSZAP"],["FUNATUGKFUJ"],["FUNDFWEAKFC"],["FUNNEJHLNEB"],["FUNSYZTGASC"],["FUNTSNBKUQW","HelpKids"],["FUNABHFJRKA"],["FUNBXGWPLDK"]],"noAskPage":[]},"bothTypes":{"withAskPage":[["FUNDBYHZSZZ"],["FUNFHQFVYNZ"],["FUNCEMGFRJW"]],"noAskPage":[]}},elements:{"reminder":["XKPCSUAD","XBRPVPNK","XMNNYJVK","XQKZUKMD","XWBJNRMY","XPBMFCNQ"],"donationForm":["XYEDULRZ","XXPYJMMZ","XPMZYTBN","XRRMRSSN","XAPBPLGC","XGNAKYQY","XGAVSRVT","XDSAZPDN","XMALXFQC","XQBFBNKV","XPLNWUMV","XRSYXEJR"],"textLink":["XPESBLQU","XSJNRSEH","XQFUMJNQ","XCFANKBS","XKYCZQFT","XNGKJXDP","XGDRCGLW","XYAWDHXL","XKAERHRB","XZPTNGHT","XRWTJBFK","XXVQJSXM","XLQZDFBF","XDWYRNRV","XPTLVTVU","XQPJDVQH","XBGJBJBK","XBLYUAJE","XGYCZMRN","XYJUGYDC","XRGJMDYP","XNLYXRHW","XHQSREQP","XNCZKGBY","XGCYXSFE","XRKCVNDX","XTYXGHGF","XBDNEENQ","XYLXTVWC","XMEHSFVJ","XLSTNZPQ","XFUZRTDC","XKXAXVRU","XNLYFAWL","XEDTSPVG","XFAJVSUC","XZWUZTKW","XPDJKUGA","XRENYUMV","XMCGQCCJ","XNYLHMVM","XJTEDKZH","XQAXFLDU","XCLKBSYV","XMWNMKDY","XNUNNCGQ","XRRSVZZL","XCDGKQJW","XNDULDWA","XMGWRKGF","XCMKCAPG","XTQXFEHA","XTTFYFKS","XDHYEEKB","XHBDLSWR","XFTCQYMD","XGEDRAAP","XGUXUWRG","XRFLQTJD","XELBABZJ","XQGXMNGF","XLHPASMW","XYNNJFMX","XTALRRWW","XABZCTGV","XHDJWHKY","XFALUJYS","XAWYBCSF","XAJMKULK","XPWTLJCV","XQNZKGPP","XYDVRLVS","XPPQKCGR","XADHVSAG","XNRJXZEJ","XNQSQBXK","XTPPJMZH","XEHPLDNL","XRXZTNEZ","XHEHJTRX","XKKXMXSL","XBPKFLVG","XMRZTCTD","XDLBVCJJ","XAUJHQFP","XKUBJEVP","XRTSXPNT","XZKPHEQD","XUKULUKJ","XXRHYJQH","XBBFABSS","XBNXLFQL","XTALBKBK","XAGADJGR","XAJZCCTJ","XBGGAAUP","XQRTLWGC","XCXYMLUX","XLRPGCKQ","XFFNXRGT","XBBCBEJB","XQWWDPNA","XZCEYJKY","XMRFETHC","XRSUYMXQ","XSNALZGL","XBHQETVE","XWTXPMBU","XAUEBTGA","XWXDEZCQ","XFVDNVBW","XVDYKYXS","XEVQKUTH","XHVULRAZ","XUDMAHQH","XZJPQEYB","XZEWBTQS","XFFKFJFR","XGCVVLSM","XRGLGKJF","XAAPHRKA","XFQFWGXS","XUUAEEDH","XTQBTVMP","XQCNGLKB","XDEUAGBR","XTTVREQE","XVNAGTQV","XEHHJPGN","XFERYPWN","XYJJBQMZ","XLDEJNXQ","XJLVXFQF","XPNAGCMJ","XKDSSVXN","XJXHSZWJ","XCALJYZA","XVTCQWVH","XQAVVHRR","XHSEKKTY","XKKPABNW","XLEZNWZL","XAPGCSEW","XXUGLQMP","XULPKZUU","XPGGSBFS","XMWJFUUN","XFTTPXBP","XWJLFZXM","XJLWCGBA","XCNUWLDM","XCGWCZJD","XGECQJXH","XWUETZZR","XUMBDCWN","XKDAEUJZ","XTMXQEWS","XMSAXFVE","XUBVZJSH","XNAFLSJH","XHJZVSFP","XVMWKKMJ","XUYZRWXL","XFZGGQEV","XMLPCYZE","XYSDAJZZ","XFZEZWDD","XYLYZBLB","XZPMVZAE","XKTRYCUV","XXDWHDAY","XYSSLAGQ","XRQSCRCK","XTYWJBAA","XDGJGZJG","XVTZVNUK","XNXTBDXQ","XMMPSMJP","XPQKEMCS","XXMAHXVQ","XAPMRGQL","XKLEAWVE","XDYGEWCW","XSUZLKYM","XPDKQPPT","XUAHBARK","XBMKRMNF","XFGWLLFE","XSXGTKRZ","XQKNAYZX","XHTCYNRE","XFTUNHGG","XSWEUHCB","XXNHBVUE","XVJCEMZZ","XLTAJZXL","XMLTHCQM","XBCGATGE","XCZYDWJQ","XQXAVNQB","XLVEZSVN","XNGWNVQY","XESPAUZF","XGWZWGMZ","XYDCSLNS","XMHGWTGK","XCGWCGNZ","XRPEENJK","XEYBZCYX","XZEFEFYW","XPYWHMVC","XVQZQSDL","XRCKZQDB","XVSFRHWN","XDAJMJMB","XFFQHZVF","XKYWKCPV","XABESHLF","XRKXDSPL","XCLQZUDF","XAMCJBGQ","XGSUUJSY","XGCLBSZQ","XFFBDSVQ","XUMUGHXT","XYDHDPFQ","XDTDYFQL","XXTKGTZV","XBHRKMSF","XEZHCLVJ","XFCWTKXW","XXLNJLDA","XJQJQEXL","XUUYWMYA","XWCABVNA","XGDSVMSH","XRLZHNZT","XWMZWLVN","XNFGKBXP","XQZKZKKE","XZYMQMPJ","XUSNKXXZ","XPRBHZUN","XUUQFWDZ","XADXQXHS","XLKBYBYL","XQLHREEY","XMPPAZKN","XHABUSXB","XBSMNCZK","XKFUJLXZ","XGYTCWXS","XMMJJHCB","XQNYKXLV","XFJTPJGE","XRMTTKNP","XNVRYPYA","XJUTBDAU","XCRKDQUW","XEXDTXWQ","XHYSDXAE","XLNWRVVV","XXKAYKGA","XZHNEXYQ","XPRHXQJN","XBNENLNZ","XSTFGGEU","XNLSURUE","XTCWALFK","XVCZMDQB","XZJTRXTV","XFNLHPEP","XXUJQRRS","XAJBTQFH","XBWMWEEA","XGBDMBNT","XYRTKVZQ","XPETWSWT","XZLYHGYW","XKVGEASA","XYSETSMY","XKQNZXEF","XHDQMRKX","XPVQVVDM","XQBRVCSL","XUPHDJKL","XHXNQBHG","XTKWZDNW","XTMXAHQH","XNCVNHEP","XBQUGGPW","XBQFKDYS","XGSWWFWN","XWEDCQFY","XFXVRAYR","XNBPCCUW","XMCURHAR","XCNTWNWH","XBRXKHHD","XHTCRMRN","XYXJMBUU","XFKQVYKF","XSEBXRMU","XLMDUUZE","XXZCJXST","XSLHETVP","XQQWPZYA","XLJEGWBJ","XVFDPHGP","XUESWWQY","XPPRHLFK","XCQUSYEG","XNQKVRPB","XWKFQNAG","XWRDJWPR","XEULEGUB","XXYDCLSW","XWZPCLKL","XJXZLYQV","XYDZBQTL","XLGACSPS","XMCQMZNQ","XHSPKCDE","XABNEGQF","XSFRHTNR","XHTYZZYG","XFUAQRLV","XFLABPWJ","XMGDSLBK","XMLMTXDM","XCCZCDAN","XBUTRZJD","XVMZRQQH"],"stickyButton":["XDMLVXHX","XJVZFGME","XJLNZMHH","XGBKAPDS","XVQSTDVX","XZMLMCNH","XPBRZADM","XFEWRTBK"],"qrCode":["XUDKXQSL","XXAXTYHZ","XMFCEDAT","XKFECPEP","XPXYQQSW","XWFLNQVG","XYTMSKNT","XGLFQMCN","XUTHNAJE","XDDMKCHN","XQSKTYZE","XRHZBGHD","XCGBGDJY","XXTDSGHB","XHHRFWMX","XSPTBBEQ","XUHVWQPJ","XNSJSKKX","XZDGSSMS","XJWFWJXS","XCQRBQLK","XPMLZRTU","XKLBHXDF","XGNMFCCD","XTJTEQZX","XVBBEPCM","XLNFTSXM","XSPNPRAU","XZTTBLLG","XNQVXYAM","XRLVFART","XUDQYJLW","XTWEXWUF","XZMJJQSA","XEZKLMNZ","XWHNYEDG","XGFTQQMJ","XPHTMNKG","XZSVRVVD","XLQPHDBG","XKZZLRMP","XBHUUYFQ","XJWDATSP","XMSRJTFE","XZREYNHE","XZSXYKZW","XFKULQDM","XKPYVUYV","XJHMPYRZ","XFYPNFJW","XRJKHTYQ","XTEDFWSS","XPJBQEYB","XZHDCPSU","XKVJQRNX","XSWZLPPU","XQGAKQKU","XQESLZMD","XUKSTESS","XHPMPYGA","XFTYEMCR"],"goalMeter":["XZYSJDHQ","XKCLVHRW","XZRTSKPB","XWVXJTWX","XSEGVTJP"],"imageCard":["XKWLGMLB","XHAXCHDZ","XWKMVEKJ","XDQRGQGL","XUSXBDFM","XUXHBUYR","XNGPTHZB","XHLKHMWQ","XLNYYZTA","XKKSTLML","XPSZNTDD","XJZRUDEJ","XAMAQRBE","XSLNFMUT","XPHXUQLW","XKMYRXVT","XRTGPPGC","XUCUDPBC","XQCUYBBT","XPSVABTX","XRXXPYCH","XPXTBDNB","XSYAHBYM","XTQAHPEL","XDWXMUUS","XGVEUCNG","XCGYMPUY","XGGLVLLN","XVGPAASH","XLEKSPBD","XDDJERAD","XFJBBGYA","XJPBHTFZ"],"simpleForm":["XZTNDELG"],"donationLevels":["XEMRXLWG"],"socialProof":["XNTXLFWE","XLPQRQGX","XNTFCNLG","XJABSTAB","XKTKJEPF","XTDBMGJE"],"donateButton":["XABRDPMM","XVKNCCTB","XJBXNLAA","XRQDQDTU","XWMXPFZW","XEPPJELR","XPQUPZDA"],"recentDonations":["XUSEVDFF","XGKHCVYT"],"lightbox":["XVLLBLNV"]},inactiveWidgets:[]},company:{"key":"ACDKZLNU","disabledWidgets":{"redirectTo":"widget","url":"","widgetKey":"FUNLMVMGKEZ"},"localization":{"defaultLocale":"en-US","interfaceLocales":["ar-001","zh-CN","zh-TW","da","nl","en-CA","en-GB","en-US","fi-FI","fr-CA","fr-FR","de","hu","it","ja","ko","no","pt-BR","pt-PT","ru-RU","es","sv"],"matchBrowserLocale":true,"matchURL":false,"urlRules":[]},"parentKey":null,"country":"US"},version:'250918-0951',meta:null}),i=n.get(13),o=n.get(11),r=n.get(32);(e=>{const t=e.get();t&&!("settings"in t)&&cn.A.remove(ln.e.EXPERIMENTS,{path:window.location.pathname})})(n.get(15)),r.initialize(),i.fromDonorPortal&&(null===(t=window.FUN)||void 0===t?void 0:t.showDebugPanel)&&(o.showDebugPanel=window.FUN.showDebugPanel),window.FUN=o,window.FUN.init().then((()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"FundraiseUp.optimize.activate"}),jr.log("initialized")})).catch((e=>{console.error(e)}))}()})()})();
