
/*! For license information please see 31435a808bf7.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/serviceContainer/getFrontendContainer.ts":(e,t,n)=>{"use strict";n.d(t,{w:()=>o});class i{constructor(){this.providers=new Map,this.cache=new Map}get(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];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)}}function o(){return window.FUN_SERVICE_CONTAINER||(window.FUN_SERVICE_CONTAINER=new i),window.FUN_SERVICE_CONTAINER}},"./src/shared/common/debug/Debug.ts":(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var i=n("../murmur/dist/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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]: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){if(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));for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];console.log(...n),console.groupEnd(),this.push(e,...n)}}logCode(e){const t=this.codes?this.codes[e]:String(e);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];const r=i.map(e=>"number"!=typeof e?e:this.codes&&this.codes[e]||e);this.log(t,...r)}push(e){const t=window;if(Array.isArray(t.FUN_DEBUG_LOGS)){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t.FUN_DEBUG_LOGS.push({name:e,content:i})}}}},"./src/shared/common/embed/helpers.ts":(e,t,n)=>{"use strict";n.d(t,{Ru:()=>o,cH:()=>r,dy:()=>s,i:()=>a});const i=/#(.+?)(&|$)/;function o(e,t){let n=e;for(;;){if(t(n))return n;if(!n.parentNode)return;n=n.parentNode}}function r(e,t){if(e.getAttribute)return e.getAttribute("data-"+t)||void 0}function s(e){if(!e)return null;if(!i.test(e))return null;const t=/(#.+?)$/.exec(e);if(!t)return null;const n=t[0],o=i.exec(n);if(!o)return null;const r=o[1],s=function(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),a={key:r};return Object.assign(a,s),a}function a(e){const t=[];for(const[n,i]of e)t.push(`${encodeURIComponent(n)}=${encodeURIComponent(i)}`);return t.join("&")}},"./src/shared/types/embed/frontendEmbedService.ts":(e,t,n)=>{"use strict";var i;n.d(t,{i:()=>i}),function(e){e[e.BACKDROP=1]="BACKDROP",e[e.STATIC_CONFIG=2]="STATIC_CONFIG",e[e.KEYS_KEEPER=3]="KEYS_KEEPER",e[e.COLLECTOR=4]="COLLECTOR",e[e.RESOLVER=5]="RESOLVER",e[e.DEBUG=6]="DEBUG",e[e.TRACKING_URLS=7]="TRACKING_URLS",e[e.FUN_SESSION_STORAGE=8]="FUN_SESSION_STORAGE",e[e.EMBED_ELEMENTS_API=9]="EMBED_ELEMENTS_API",e[e.EMBED_CHECKOUT_API=10]="EMBED_CHECKOUT_API",e[e.EMBED_INTERNAL_API=11]="EMBED_INTERNAL_API",e[e.EMBED_FORMS_API=12]="EMBED_FORMS_API",e[e.EMBED_CONFIG=13]="EMBED_CONFIG",e[e.EMBED_TRACKER=14]="EMBED_TRACKER",e[e.FUN_EXPERIMENTS_STORAGE=15]="FUN_EXPERIMENTS_STORAGE",e[e.CHECKOUT=16]="CHECKOUT",e[e.EMBED_ELEMENTS_SERVICE=17]="EMBED_ELEMENTS_SERVICE",e[e.ELEMENTS_API=18]="ELEMENTS_API",e[e.EVENT_EMITTER=19]="EVENT_EMITTER",e[e.HTML_ELEMENT_STYLE_MANAGER=20]="HTML_ELEMENT_STYLE_MANAGER",e[e.FUN_TRACKER_STORAGE=21]="FUN_TRACKER_STORAGE",e[e.FUN_STAT_STORAGE=22]="FUN_STAT_STORAGE",e[e.FUN_COOKIES_MIGRATOR=23]="FUN_COOKIES_MIGRATOR",e[e.FUN_COOKIES_MANAGER=24]="FUN_COOKIES_MANAGER",e[e.USER_SESSION=25]="USER_SESSION",e[e.FUN_DEBUG_STORAGE=26]="FUN_DEBUG_STORAGE",e[e.SENTRY_CLIENT=27]="SENTRY_CLIENT",e[e.EXPERIMENTS_CONTROLLER=28]="EXPERIMENTS_CONTROLLER",e[e.CHECKOUT_SKELETON=29]="CHECKOUT_SKELETON",e[e.EMBED_ELEMENTS_URL_API=30]="EMBED_ELEMENTS_URL_API",e[e.CHECKOUT_STEPLESS=31]="CHECKOUT_STEPLESS",e[e.GIFT_CATALOG_CHECKOUT=32]="GIFT_CATALOG_CHECKOUT",e[e.CONSENT_MANAGER_API=33]="CONSENT_MANAGER_API",e[e.GOALS_LOADER=34]="GOALS_LOADER",e[e.EMBED_GIFT_CATALOG_API=35]="EMBED_GIFT_CATALOG_API",e[e.GIFT_CATALOG_CART=36]="GIFT_CATALOG_CART",e[e.GIFT_CATALOG_API=37]="GIFT_CATALOG_API",e[e.EMBED_GIFT_CATALOG_CHECKOUT_API=38]="EMBED_GIFT_CATALOG_CHECKOUT_API",e[e.GIFT_CATALOG_CHECKOUT_SKELETON=39]="GIFT_CATALOG_CHECKOUT_SKELETON",e[e.GIFT_CATALOG_CART_COOKIE_SERVICE=40]="GIFT_CATALOG_CART_COOKIE_SERVICE",e[e.FUN_GIFT_STORAGE=41]="FUN_GIFT_STORAGE",e[e.GIFT_ITEM_DESCRIPTION=42]="GIFT_ITEM_DESCRIPTION",e[e.GIVING_CART_BASKET_BUTTON=43]="GIVING_CART_BASKET_BUTTON",e[e.GIVING_CART_BASKET_API=44]="GIVING_CART_BASKET_API",e[e.GIVING_CART_VALIDATION_POPUP=45]="GIVING_CART_VALIDATION_POPUP"}(i||(i={}))},"../../node_modules/.pnpm/css-loader@6.10.0_@rspack+core@1.7.6_@swc+helpers@0.5.19__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_@rspack+core@1.7.6_@swc+helpers@0.5.19__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_@rspack+core@1.7.6_@swc+helpers@0.5.19__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_@rspack+core@1.7.6_@swc+helpers@0.5.19__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_@rspack+core@1.7.6_@swc+helpers@0.5.19__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_@rspack+core@1.7.6_@swc+helpers@0.5.19__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={}))},"../murmur/dist/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)+(((r>>>16)+58964&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}},"../../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:"a53ef4858ac6",604:"9d96d1760445",707:"08a92940aa82"}[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(m);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(i)),t)return t(i)},m=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("./src/shared/common/debug/Debug.ts");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.CHECKOUT_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT="CheckoutWithoutPreDonationUpsellExperiment",e.CAMPAIGN_PAGES_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT="CampaignPagesWithoutPreDonationUpsellExperiment",e.AA_CHECKOUT_EXPERIMENT="AACheckoutExperiment",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.DONOR_RATING_CHECKOUT_EXPERIMENT="DonorRatingCheckoutExperiment",e.DONOR_RATING_CAMPAIGN_PAGES_EXPERIMENT="DonorRatingCampaignPagesExperiment",e.ML_DONATION_RETRY_V_3_EXPERIMENT="MlDonationRetryV3Experiment",e.AVERAGE_DONATION_HINT_EXPERIMENT="AverageDonationHintExperiment",e.AVERAGE_DONATION_HINT_CAMPAIGN_PAGES_EXPERIMENT="AverageDonationHintCampaignPagesExperiment",e.FAST_TRACK_CAMPAIGN_PAGES_EXPERIMENT="FastTrackCampaignPagesExperiment",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.AMOUNT_PRESETS_CHECKOUT_V_5_EXPERIMENT="AmountPresetsCheckoutV5Experiment",e.AMOUNT_PRESETS_DONATION_FORM_V_5_EXPERIMENT="AmountPresetsDonationFormV5Experiment",e.DONATE_BY_VOICE_V2_MODAL_EXPERIMENT="DonateByVoiceV2ModalExperiment",e.DONATE_BY_VOICE_V2_PAGES_EXPERIMENT="DonateByVoiceV2PagesExperiment",e.LAPSED_DONOR_REENGAGEMENT_EXPERIMENT="LapsedDonorReengagementExperiment",e.SOFT_UPGRADE_LINKS_EXPERIMENT="SoftUpgradeLinksExperiment",e.DONOR_PORTAL_DONATION_SHARING_BUTTON_EXPERIMENT="DonorPortalDonationSharingButtonExperiment",e.QUARTERLY_UPSELL_MODAL_EXPERIMENT="QuarterlyUpsellModalExperiment",e.QUARTERLY_UPSELL_PAGES_EXPERIMENT="QuarterlyUpsellPagesExperiment",e.MOBILE_FIRST_STEP_PAGES_EXPERIMENT="MobileFirstStepPagesExperiment",e.CLOUDFLARE_WORKER_STRATEGY_FOR_ELEMENTS_EXPERIMENT="CloudflareWorkerStrategyForElementsExperiment",e.CHECKOUT_CAPTCHA_MODAL_EXPERIMENT="CheckoutCaptchaModalExperiment",e.CHECKOUT_CAPTCHA_PAGES_EXPERIMENT="CheckoutCaptchaPagesExperiment",e.CAMPAIGN_UPSELL_CHECKOUT_EXPERIMENT="CampaignUpsellCheckoutExperiment",e.CAMPAIGN_UPSELL_PAGES_EXPERIMENT="CampaignUpsellPagesExperiment",e.PRE_DONATION_UPSELL_PERSONALIZATION_CHECKOUT_EXPERIMENT="PreDonationUpsellPersonalizationCheckoutExperiment",e.FAST_TRACK_CAMPAIGN_PAGES_V_2_EXPERIMENT="FastTrackCampaignPagesV2Experiment",e.CAMPAIGN_UPSELL_BLOCK_EMAILS_EXPERIMENT="CampaignUpsellBlockEmailsExperiment",e.CAMPAIGN_UPSELL_BLOCK_DP_EXPERIMENT="CampaignUpsellBlockDPExperiment",e.FAST_TRACK_FIRST_SCREEN_CHECKOUT_EXPERIMENT="FastTrackFirstScreenCheckoutExperiment",e.CAMPAIGN_UPSELL_VS_PDU_CHECKOUT_EXPERIMENT="CampaignUpsellVsPduCheckoutExperiment",e.ML_IMPACT_DESCRIPTIONS_CHECKOUT_EXPERIMENT="MLImpactDescriptionsCheckoutExperiment",e.ML_IMPACT_DESCRIPTIONS_CAMPAIGN_PAGES_EXPERIMENT="MLImpactDescriptionsCampaignPagesExperiment",e.AMOUNT_PRESETS_PAGES_V_7_EXPERIMENT="AmountPresetsPagesV7Experiment",e.ML_IMPACT_DESCRIPTIONS_DONATION_FORM_EXPERIMENT="MLImpactDescriptionsDonationFormExperiment",e.AMOUNT_PRESETS_CHECKOUT_V_7_EXPERIMENT="AmountPresetsCheckoutV7Experiment",e.CHECKOUT_UNIVERSAL_STYLE_EXPERIMENT="CheckoutUniversalStyleExperiment",e.SOCIAL_PROOF_RECURRING_HIGHLIGHT_EXPERIMENT="SocialProofRecurringHighlightExperiment"}(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.CHECKOUT_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT]:"73814",[i.CAMPAIGN_PAGES_WITHOUT_PRE_DONATION_UPSELL_EXPERIMENT]:"73816",[i.AA_CHECKOUT_EXPERIMENT]:"77715",[i.UPSELL_AMOUNTS_DATASET_MODAL_EXPERIMENT]:"87159-modal",[i.UPSELL_AMOUNTS_DATASET_PAGES_EXPERIMENT]:"87159-pages",[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.DONOR_RATING_CHECKOUT_EXPERIMENT]:"99706-modal",[i.DONOR_RATING_CAMPAIGN_PAGES_EXPERIMENT]:"99706-pages",[i.ML_DONATION_RETRY_V_3_EXPERIMENT]:"99145",[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.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.AMOUNT_PRESETS_CHECKOUT_V_5_EXPERIMENT]:"115114-modal",[i.DONATE_BY_VOICE_V2_MODAL_EXPERIMENT]:"138976-modal",[i.DONATE_BY_VOICE_V2_PAGES_EXPERIMENT]:"138976-pages",[i.LAPSED_DONOR_REENGAGEMENT_EXPERIMENT]:"120522",[i.SOFT_UPGRADE_LINKS_EXPERIMENT]:"124937",[i.DONOR_PORTAL_DONATION_SHARING_BUTTON_EXPERIMENT]:"119139",[i.QUARTERLY_UPSELL_MODAL_EXPERIMENT]:"133727-modal",[i.QUARTERLY_UPSELL_PAGES_EXPERIMENT]:"133727-pages",[i.MOBILE_FIRST_STEP_PAGES_EXPERIMENT]:"141253",[i.CLOUDFLARE_WORKER_STRATEGY_FOR_ELEMENTS_EXPERIMENT]:"143564",[i.CHECKOUT_CAPTCHA_MODAL_EXPERIMENT]:"138382-modal",[i.CHECKOUT_CAPTCHA_PAGES_EXPERIMENT]:"138382-pages",[i.CAMPAIGN_UPSELL_CHECKOUT_EXPERIMENT]:"99700-modal",[i.CAMPAIGN_UPSELL_PAGES_EXPERIMENT]:"99700-pages",[i.PRE_DONATION_UPSELL_PERSONALIZATION_CHECKOUT_EXPERIMENT]:"118659-modal",[i.FAST_TRACK_CAMPAIGN_PAGES_V_2_EXPERIMENT]:"142680-pages",[i.CAMPAIGN_UPSELL_BLOCK_EMAILS_EXPERIMENT]:"118132",[i.CAMPAIGN_UPSELL_BLOCK_DP_EXPERIMENT]:"118325",[i.FAST_TRACK_FIRST_SCREEN_CHECKOUT_EXPERIMENT]:"141536",[i.CAMPAIGN_UPSELL_VS_PDU_CHECKOUT_EXPERIMENT]:"156882-modal",[i.ML_IMPACT_DESCRIPTIONS_CHECKOUT_EXPERIMENT]:"122570",[i.ML_IMPACT_DESCRIPTIONS_CAMPAIGN_PAGES_EXPERIMENT]:"122570-pages",[i.AMOUNT_PRESETS_PAGES_V_7_EXPERIMENT]:"151699",[i.ML_IMPACT_DESCRIPTIONS_DONATION_FORM_EXPERIMENT]:"122570-df",[i.AMOUNT_PRESETS_CHECKOUT_V_7_EXPERIMENT]:"151661",[i.CHECKOUT_UNIVERSAL_STYLE_EXPERIMENT]:"136199",[i.SOCIAL_PROOF_RECURRING_HIGHLIGHT_EXPERIMENT]:"149381"};var r,a,c,l,d,u,p,m,h,g,E,f,T,y,_,v,A,C,S,w,I,N,O,b,R,P,L,D,k,M,x,U,G,F,K,B,V,H,z,j,Y,X,W,$,q,Z,J,Q,ee,te,ne,ie,oe,re,se,ae,ce,le,de;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"}(m||(m={})),function(e){e.CONTROL="control",e.TEST="test"}(h||(h={})),function(e){e.CONTROL="control",e.TEST="test"}(g||(g={})),function(e){e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3"}(E||(E={})),function(e){e.CONTROL="control",e.TEST="test"}(f||(f={})),function(e){e.CONTROL="control",e.TEST="test"}(T||(T={})),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"}(v||(v={})),function(e){e.CONTROL="control",e.TEST="test"}(A||(A={})),function(e){e.CONTROL="control",e.TEST="test"}(C||(C={})),function(e){e.CONTROL="control",e.TEST="test"}(S||(S={})),function(e){e.CONTROL="control",e.TEST="test"}(w||(w={})),function(e){e.CONTROL="control",e.TEST="test"}(I||(I={})),function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing",e.LOAD="load"}(N||(N={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(O||(O={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(b||(b={})),function(e){e.CONTROL="control",e.TEST="test"}(R||(R={})),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"}(P||(P={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2",e.TEST_3="test-3"}(L||(L={})),function(e){e.CONTROL="control",e.TEST="test"}(D||(D={})),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"}(M||(M={})),function(e){e.CONTROL="control",e.TEST="test"}(x||(x={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(U||(U={})),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"}(G||(G={})),function(e){e.CONTROL="control",e.TEST="test"}(F||(F={})),function(e){e.CONTROL="control",e.TEST="test"}(K||(K={})),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="test"}(H||(H={})),function(e){e.CONTROL="control",e.TEST="test"}(z||(z={})),function(e){e.CONTROL="control",e.TEST="test"}(j||(j={})),function(e){e.CONTROL="control",e.TEST="test"}(Y||(Y={})),function(e){e.CONTROL="control",e.TEST_1="test-1"}(X||(X={})),function(e){e.CONTROL="control",e.TEST="test"}(W||(W={})),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="test"}(Z||(Z={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(J||(J={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(Q||(Q={})),function(e){e.CONTROL="control",e.TEST_1="test-1"}(ee||(ee={})),function(e){e.CONTROL="control",e.TEST="test"}(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="test"}(se||(se={})),function(e){e.CONTROL="control",e.TEST="test"}(ae||(ae={})),function(e){e.CONTROL="control",e.TEST_1="test-1",e.TEST_2="test-2"}(ce||(ce={})),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"}(le||(le={})),function(e){e.V5_1="v5.1",e.V5_2="v5.2",e.V5_3="v5.3",e.V5_4="v5.4"}(de||(de={}));const ue=/^E[A-Z\d]{7}$/;P.TEST_1,de.V5_1,P.TEST_2,de.V5_2,P.TEST_3,de.V5_3,P.TEST_4,de.V5_4;var pe,me,he,ge,Ee,fe=s("./src/shared/types/embed/frontendEmbedService.ts");!function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing",e.LOAD="load"}(pe||(pe={})),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"}(me||(me={})),function(e){e.ELEMENTS="ELEMENTS",e.CHECKOUT="CHECKOUT"}(he||(he={})),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.P2P_FUNDRAISING_BUTTON="p2pFundraisingButton",e.TOP_FUNDRAISERS="topFundraisers",e.DONOR_MAP="donorMap",e.LIGHTBOX="lightbox",e.ZAKAT_CALCULATOR="zakatCalculator",e.AI_ASSISTANT="aiAssistant",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"}(ge||(ge={})),function(e){e.POPUP="POPUP",e.AI_ASSISTANT="AI_ASSISTANT",e.CHECKOUT="CHECKOUT",e.P2P_FORM="P2P_FORM",e.P2P_REGISTRATION_FORM="P2P_REGISTRATION_FORM",e.GIFT_CATALOG="GIFT_CATALOG",e.ZAKAT_CALCULATOR="ZAKAT_CALCULATOR"}(Ee||(Ee={}));const Te=[le.UNITED_KINGDOM,le.CANADA,le.GERMANY],ye=e=>!Te.includes(e),_e=(e,t)=>{const{disabledAccounts:n,enabledAccounts:i}=e,o=n?.find(e=>e===t);if(o)return!1;const r=i?.find(e=>e===t);return!(i?.length&&!r)};class ve extends Error{constructor(e){super(`4 - ${e}`)}}class Ae extends Error{constructor(e){super(`6 - ${e}`)}}class Ce extends Error{constructor(e){super(`8 - ${e}`)}}class Se extends Error{constructor(e){super(`5 - ${e}`)}}class we extends Error{constructor(e){super(`9 - ${e}`)}}class Ie{name;experimentId;excluded=!1;isInitialized=!1;tracker;funStorage;companyKey;parentCompanyKey;widgetKey;globalDisabled;user;featureConfig;enabled;infrastructureParams;enabledWidgets;disabledWidgets;sentry;settings;isActive=!1;disabledAccounts;enabledAccounts;distribution;constructor(e){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:m,disabledAccounts:h,enabledAccounts:g,enabled:E,enabledWidgets:f}=t;this.name=m,this.experimentId=p,this.disabledAccounts=h,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)=>{if(!t)return!1;const{enabled:n,experimentId:i}=t,o=e.get(),r=o&&o.settings[i]?.enabled;return n||Boolean(r)})(this.funStorage,this.settings)}getDebugPanelEnabled(){const e=this.funStorage.get()?.settings;return Boolean(e&&e[this.experimentId]?.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(){const e=this.getDebugPanelVariant();if(e.variant&&e.enabled)return this.setVariant(e.variant),!0;if(e.enabled&&!e.variant&&(this.excluded=!0),!_e(this.settings,this.companyKey))return!1;const t=this.enabledWidgets?.find(e=>e===this.widgetKey);if(this.enabledWidgets?.length&&!t)return!1;const n=this.disabledWidgets?.find(e=>e===this.widgetKey);return!(this.disabledWidgets?.length&&n||(this.distribution.initCurrentVariantName(),0))}activate(){this.isActive?this.sentry.captureException(new ve(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 Ae(e)),null):e?.settings||null}getDebugPanelVariant(){const e=this.funStorage.get()?.settings;if(!e)return{enabled:!1};const t=e[this.experimentId];return t&&t?.enabled?{enabled:!0,variant:t.variant}:{enabled:!1}}}var Ne,Oe,be,Re,Pe,Le;(Le=Ne||(Ne={})).CARD="creditCard",Le.APPLE_PAY="applePay",Le.GOOGLE_PAY="googlePay",Le.CLICK_TO_PAY="clickToPay",Le.ACH="ach",Le.PLAID="plaid",Le.PAYPAL="paypal",Le.VENMO="venmo",Le.AU_BECS="auBecsDebit",Le.UK_BACS="ukBacs",Le.ACSS="acss",Le.SEPA="sepa",Le.IDEAL="ideal",Le.CRYPTO="crypto",Le.STOCK="stock",Le.US_BANK_ACCOUNT="usBankAccount",function(e){e.PAN_ONLY="PAN_ONLY",e.CRYPTOGRAM_3DS="CRYPTOGRAM_3DS"}(Oe||(Oe={})),function(e){e.AMEX="AMEX",e.DISCOVER="DISCOVER",e.JCB="JCB",e.MASTERCARD="MASTERCARD",e.VISA="VISA"}(be||(be={})),function(e){e.FUNDRAISING_PAGE="fundraisingPage",e.REDIRECT="redirect",e.THANK_YOU_SCREEN="thankYouScreen"}(Re||(Re={})),function(e){e.NONE="none",e.GENERAL="general",e.CUSTOMIZED="customized"}(Pe||(Pe={}));const De=[Ne.CARD,Ne.APPLE_PAY,Ne.GOOGLE_PAY,Ne.PAYPAL,Ne.VENMO,Ne.US_BANK_ACCOUNT,Ne.CRYPTO];class ke extends Ie{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||!ye(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=>De.includes(e))})(r.paymentOptions)||i.fundraisingPage||o.config.consent.type===Pe.CUSTOMIZED)}get isTestGroup(){return this.isActive&&this.isVariant(C.TEST)}tryTrackStart(){this.isActive&&this.tracker.customTrack({type:"steplessCheckoutExperimentStarted",data:{variantName:this.variantName,exclusion:this.excluded}})}}const Me=JSON.parse('{"SHP":{"name":"St. Helena Pound","code":"SHP","symbol":"£","digits":2},"EUR":{"name":"Euro","code":"EUR","symbol":"€","digits":2},"AED":{"name":"United Arab Emirates Dirham","code":"AED","symbol":"","digits":2},"AFN":{"name":"Afghan Afghani","code":"AFN","symbol":"؋","digits":2},"XCD":{"name":"East Caribbean Dollar","code":"XCD","symbol":"$","digits":2},"ALL":{"name":"Albanian Lek","code":"ALL","symbol":"","digits":2},"AMD":{"name":"Armenian Dram","code":"AMD","symbol":"֏","digits":2},"AOA":{"name":"Angolan Kwanza","code":"AOA","symbol":"Kz","digits":2},"ARS":{"name":"Argentine Peso","code":"ARS","symbol":"$","digits":2},"USD":{"name":"US Dollar","code":"USD","symbol":"$","digits":2},"AUD":{"name":"Australian Dollar","code":"AUD","symbol":"$","digits":2},"ANG":{"name":"Netherlands Antillean Guilder","code":"ANG","symbol":"","digits":2},"AWG":{"name":"Aruban Florin","code":"AWG","symbol":"","digits":2},"AZN":{"name":"Azerbaijani Manat","code":"AZN","symbol":"₼","digits":2},"BAM":{"name":"Bosnia-Herzegovina Convertible Mark","code":"BAM","symbol":"KM","digits":2},"BBD":{"name":"Barbadian Dollar","code":"BBD","symbol":"$","digits":2},"INR":{"name":"Indian Rupee","code":"INR","symbol":"₹","digits":2},"PKR":{"name":"Pakistani Rupee","code":"PKR","symbol":"Rs","digits":2},"BDT":{"name":"Bangladeshi Taka","code":"BDT","symbol":"৳","digits":2},"XOF":{"name":"West African CFA Franc","code":"XOF","symbol":"","digits":0},"BGN":{"name":"Bulgarian Lev","code":"BGN","symbol":"","digits":2},"BHD":{"name":"Bahraini Dinar","code":"BHD","symbol":"","digits":2},"BIF":{"name":"Burundian Franc","code":"BIF","symbol":"","digits":0},"BMD":{"name":"Bermudan Dollar","code":"BMD","symbol":"$","digits":2},"MYR":{"name":"Malaysian Ringgit","code":"MYR","symbol":"RM","digits":2},"BND":{"name":"Brunei Dollar","code":"BND","symbol":"$","digits":2},"BOB":{"name":"Bolivian Boliviano","code":"BOB","symbol":"Bs","digits":2},"BRL":{"name":"Brazilian Real","code":"BRL","symbol":"R$","digits":2},"BSD":{"name":"Bahamian Dollar","code":"BSD","symbol":"$","digits":2},"BTN":{"name":"Bhutanese Ngultrum","code":"BTN","symbol":"","digits":2},"NOK":{"name":"Norwegian Krone","code":"NOK","symbol":"kr","digits":2},"ZAR":{"name":"South African Rand","code":"ZAR","symbol":"R","digits":2},"BWP":{"name":"Botswanan Pula","code":"BWP","symbol":"P","digits":2},"BYN":{"name":"Belarusian Ruble","code":"BYN","symbol":"","digits":2},"BZD":{"name":"Belize Dollar","code":"BZD","symbol":"$","digits":2},"CAD":{"name":"Canadian Dollar","code":"CAD","symbol":"$","digits":2},"CDF":{"name":"Congolese Franc","code":"CDF","symbol":"","digits":2},"XAF":{"name":"Central African CFA Franc","code":"XAF","symbol":"","digits":0},"CHF":{"name":"Swiss Franc","code":"CHF","symbol":"","digits":2},"NZD":{"name":"New Zealand Dollar","code":"NZD","symbol":"$","digits":2},"CLP":{"name":"Chilean Peso","code":"CLP","symbol":"$","digits":0},"CNY":{"name":"Chinese Yuan","code":"CNY","symbol":"¥","digits":2},"COP":{"name":"Colombian Peso","code":"COP","symbol":"$","digits":2},"CRC":{"name":"Costa Rican Colón","code":"CRC","symbol":"₡","digits":2},"CVE":{"name":"Cape Verdean Escudo","code":"CVE","symbol":"","digits":2},"CZK":{"name":"Czech Koruna","code":"CZK","symbol":"Kč","digits":2},"DJF":{"name":"Djiboutian Franc","code":"DJF","symbol":"","digits":0},"DKK":{"name":"Danish Krone","code":"DKK","symbol":"kr","digits":2},"DOP":{"name":"Dominican Peso","code":"DOP","symbol":"$","digits":2},"DZD":{"name":"Algerian Dinar","code":"DZD","symbol":"","digits":2},"EGP":{"name":"Egyptian Pound","code":"EGP","symbol":"E£","digits":2},"MAD":{"name":"Moroccan Dirham","code":"MAD","symbol":"","digits":2},"ETB":{"name":"Ethiopian Birr","code":"ETB","symbol":"","digits":2},"FJD":{"name":"Fijian Dollar","code":"FJD","symbol":"$","digits":2},"FKP":{"name":"Falkland Islands Pound","code":"FKP","symbol":"£","digits":2},"JPY":{"name":"Japanese Yen","code":"JPY","symbol":"¥","digits":0},"GBP":{"name":"British Pound","code":"GBP","symbol":"£","digits":2},"GEL":{"name":"Georgian Lari","code":"GEL","symbol":"₾","digits":2},"GHS":{"name":"Ghanaian Cedi","code":"GHS","symbol":"GH₵","digits":2},"GIP":{"name":"Gibraltar Pound","code":"GIP","symbol":"£","digits":2},"GMD":{"name":"Gambian Dalasi","code":"GMD","symbol":"","digits":2},"GNF":{"name":"Guinean Franc","code":"GNF","symbol":"FG","digits":0},"GTQ":{"name":"Guatemalan Quetzal","code":"GTQ","symbol":"Q","digits":2},"GYD":{"name":"Guyanaese Dollar","code":"GYD","symbol":"$","digits":2},"HKD":{"name":"Hong Kong Dollar","code":"HKD","symbol":"$","digits":2},"HNL":{"name":"Honduran Lempira","code":"HNL","symbol":"L","digits":2},"HRK":{"name":"Croatian Kuna","code":"HRK","symbol":"kn","digits":2},"HTG":{"name":"Haitian Gourde","code":"HTG","symbol":"","digits":2},"HUF":{"name":"Hungarian Forint","code":"HUF","symbol":"Ft","digits":2},"IDR":{"name":"Indonesian Rupiah","code":"IDR","symbol":"Rp","digits":2},"ILS":{"name":"Israeli New Shekel","code":"ILS","symbol":"₪","digits":2},"ISK":{"name":"Icelandic Króna","code":"ISK","symbol":"kr","digits":2},"JMD":{"name":"Jamaican Dollar","code":"JMD","symbol":"$","digits":2},"JOD":{"name":"Jordanian Dinar","code":"JOD","symbol":"","digits":2},"KES":{"name":"Kenyan Shilling","code":"KES","symbol":"","digits":2},"KGS":{"name":"Kyrgystani Som","code":"KGS","symbol":"","digits":2},"KHR":{"name":"Cambodian Riel","code":"KHR","symbol":"៛","digits":2},"KMF":{"name":"Comorian Franc","code":"KMF","symbol":"CF","digits":0},"KRW":{"name":"South Korean Won","code":"KRW","symbol":"₩","digits":0},"KWD":{"name":"Kuwaiti Dinar","code":"KWD","symbol":"","digits":2},"KYD":{"name":"Cayman Islands Dollar","code":"KYD","symbol":"$","digits":2},"KZT":{"name":"Kazakhstani Tenge","code":"KZT","symbol":"₸","digits":2},"LAK":{"name":"Laotian Kip","code":"LAK","symbol":"₭","digits":2},"LBP":{"name":"Lebanese Pound","code":"LBP","symbol":"L£","digits":2},"LKR":{"name":"Sri Lankan Rupee","code":"LKR","symbol":"Rs","digits":2},"LRD":{"name":"Liberian Dollar","code":"LRD","symbol":"$","digits":2},"LSL":{"name":"Lesotho Loti","code":"LSL","symbol":"","digits":2},"MDL":{"name":"Moldovan Leu","code":"MDL","symbol":"","digits":2},"MGA":{"name":"Malagasy Ariary","code":"MGA","symbol":"Ar","digits":0},"MKD":{"name":"Macedonian Denar","code":"MKD","symbol":"","digits":2},"MMK":{"name":"Myanmar Kyat","code":"MMK","symbol":"K","digits":2},"MNT":{"name":"Mongolian Tugrik","code":"MNT","symbol":"₮","digits":2},"MOP":{"name":"Macanese Pataca","code":"MOP","symbol":"","digits":2},"MRO":{"name":"Mauritanian Ouguiya (1973–2017)","code":"MRO","symbol":"","digits":2},"MUR":{"name":"Mauritian Rupee","code":"MUR","symbol":"Rs","digits":2},"MVR":{"name":"Maldivian Rufiyaa","code":"MVR","symbol":"","digits":2},"MWK":{"name":"Malawian Kwacha","code":"MWK","symbol":"","digits":2},"MXN":{"name":"Mexican Peso","code":"MXN","symbol":"$","digits":2},"MZN":{"name":"Mozambican Metical","code":"MZN","symbol":"","digits":2},"NAD":{"name":"Namibian Dollar","code":"NAD","symbol":"$","digits":2},"XPF":{"name":"CFP Franc","code":"XPF","symbol":"","digits":0},"NGN":{"name":"Nigerian Naira","code":"NGN","symbol":"₦","digits":2},"NIO":{"name":"Nicaraguan Córdoba","code":"NIO","symbol":"C$","digits":2},"SEK":{"name":"Swedish Krona","code":"SEK","symbol":"kr","digits":2},"NPR":{"name":"Nepalese Rupee","code":"NPR","symbol":"Rs","digits":2},"OMR":{"name":"Omani Rial","code":"OMR","symbol":"","digits":2},"PAB":{"name":"Panamanian Balboa","code":"PAB","symbol":"","digits":2},"PEN":{"name":"Peruvian Sol","code":"PEN","symbol":"","digits":2},"PGK":{"name":"Papua New Guinean Kina","code":"PGK","symbol":"","digits":2},"PHP":{"name":"Philippine Peso","code":"PHP","symbol":"₱","digits":2},"PLN":{"name":"Polish Zloty","code":"PLN","symbol":"zł","digits":2},"PYG":{"name":"Paraguayan Guarani","code":"PYG","symbol":"₲","digits":0},"QAR":{"name":"Qatari Riyal","code":"QAR","symbol":"","digits":2},"RON":{"name":"Romanian Leu","code":"RON","symbol":"lei","digits":2},"RSD":{"name":"Serbian Dinar","code":"RSD","symbol":"","digits":2},"RUB":{"name":"Russian Ruble","code":"RUB","symbol":"₽","digits":2},"RWF":{"name":"Rwandan Franc","code":"RWF","symbol":"RF","digits":0},"SAR":{"name":"Saudi Riyal","code":"SAR","symbol":"","digits":2},"SBD":{"name":"Solomon Islands Dollar","code":"SBD","symbol":"$","digits":2},"SCR":{"name":"Seychellois Rupee","code":"SCR","symbol":"","digits":2},"SGD":{"name":"Singapore Dollar","code":"SGD","symbol":"$","digits":2},"SLL":{"name":"Sierra Leonean Leone (1964—2022)","code":"SLL","symbol":"","digits":2},"SLE":{"name":"Sierra Leonean Leone","code":"SLE","symbol":"","digits":2},"SOS":{"name":"Somali Shilling","code":"SOS","symbol":"","digits":2},"SRD":{"name":"Surinamese Dollar","code":"SRD","symbol":"$","digits":2},"STD":{"name":"São Tomé & Príncipe Dobra (1977–2017)","code":"STD","symbol":"","digits":2},"SVC":{"name":"Salvadoran Colón","code":"SVC","symbol":"","digits":2},"SZL":{"name":"Swazi Lilangeni","code":"SZL","symbol":"","digits":2},"THB":{"name":"Thai Baht","code":"THB","symbol":"฿","digits":2},"TJS":{"name":"Tajikistani Somoni","code":"TJS","symbol":"","digits":2},"TND":{"name":"Tunisian Dinar","code":"TND","symbol":"","digits":2},"TOP":{"name":"Tongan Paʻanga","code":"TOP","symbol":"T$","digits":2},"TRY":{"name":"Turkish Lira","code":"TRY","symbol":"₺","digits":2},"TTD":{"name":"Trinidad & Tobago Dollar","code":"TTD","symbol":"$","digits":2},"TWD":{"name":"New Taiwan Dollar","code":"TWD","symbol":"$","digits":2},"TZS":{"name":"Tanzanian Shilling","code":"TZS","symbol":"","digits":2},"UAH":{"name":"Ukrainian Hryvnia","code":"UAH","symbol":"₴","digits":2},"UYU":{"name":"Uruguayan Peso","code":"UYU","symbol":"$","digits":2},"UZS":{"name":"Uzbekistani Som","code":"UZS","symbol":"","digits":2},"VND":{"name":"Vietnamese Dong","code":"VND","symbol":"₫","digits":0},"VUV":{"name":"Vanuatu Vatu","code":"VUV","symbol":"","digits":0},"WST":{"name":"Samoan Tala","code":"WST","symbol":"","digits":2},"YER":{"name":"Yemeni Rial","code":"YER","symbol":"","digits":2},"ZMW":{"name":"Zambian Kwacha","code":"ZMW","symbol":"ZK","digits":2}}');var xe;!function(e){e.IN_HONOR_MEMORY="inHonorMemory",e.DEDICATION="dedication"}(xe||(xe={}));const Ue=e=>"string"==typeof e&&""!==e.trim()?e:void 0,Ge=e=>"no"!==e.fundraiseupLivemode&&("boolean"!=typeof window.fundraiseup_livemode||window.fundraiseup_livemode);function Fe(e,t){let n=t;return e.isWidgetCustomHash(t)&&(n=e.getWidgetKeyByCustomHash(t)||t),n.toUpperCase()}const Ke="pageView",Be="pageLeave",Ve="customEvent",He="dataLayer",ze="fun_test";var je,Ye,Xe;!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.P2P_FUNDRAISING_BUTTON="p2pFundraisingButton",e.TOP_FUNDRAISERS="topFundraisers",e.DONOR_MAP="donorMap",e.LIGHTBOX="lightbox",e.ZAKAT_CALCULATOR="zakatCalculator",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.AI_ASSISTANT="aiAssistant",e.SPLIT_TESTING="splitTesting",e.JS_API="jsApi"}(je||(je={}));class We{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(je).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 $e extends We{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 qe extends $e{get eventType(){return"elementOpenCheckout"}}class Ze extends $e{constructor(e,t){super(e),t&&t.elementPartName&&this.merge({eventComment:{source:t.elementPartName}})}get eventType(){return"elementClick"}}class Je extends We{constructor(e){super(),this.merge({customEventType:e.customEventType,customEventData:JSON.stringify(e.customEventData)})}get eventType(){return Ve}}function Qe(e){let{tracker:t,keysKeeper:n,widgetKey:i,splitTestVariant:o,splitTestName:r,elementKey:s,elementType:a}=e;return t.track(new qe({widgetKey:n?Fe(n,i):i,splitTestName:r,elementKey:s,elementType:a,splitTestVariant:o}))}!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",e.GIFT_CATALOG_CART_ITEMS="giftsCatalogCartItems",e.GIFT_CATALOG_CHECKOUT="giftsCatalogCheckout",e.ZAKAT_CALCULATOR="zakatCalculator",e.GIVING_CART_STATE="givingCartState"}(Ye||(Ye={})),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.DE_X_INFORMAL="de-x-informal",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"}(Xe||(Xe={}));const et=[Xe.EN_US,Xe.EN_GB,Xe.EN_CA,Xe.FR_CA,Xe.FR_FR,Xe.ES,Xe.NL,Xe.NO,Xe.DE,Xe.FI_FI,Xe.SV,Xe.IT,Xe.PT_PT,Xe.PT_BR,Xe.AR_001,Xe.ZH_CN,Xe.ZH_TW,Xe.JA,Xe.KO,Xe.HU,Xe.DA,Xe.ES_US,Xe.PL_PL,Xe.DE_X_INFORMAL,Xe.RU_RU],tt=[Xe.AR_001];var nt,it;function ot(e,t,n){return e.replace(new RegExp(t,"g"),n)}function rt(e){return e.split("-")[0]}(it=nt||(nt={})).LTR="ltr",it.RTL="rtl";const st={"&amp;":"&"};function at(e){let t=e;for(const n in st)Object.prototype.hasOwnProperty.call(st,n)&&e.includes(n)&&(t=ot(t,n,st[n]));return t}function ct(e,t=!1){return!t&&function(e){return tt.includes(e)}(e)?nt.RTL:nt.LTR}function lt(e){const t=e.split("-");if(t.length<2)return!1;const n=t.indexOf("x");return-1===n||n>1}var dt=s("./src/shared/common/embed/helpers.ts");const ut="_lang";var pt;!function(e){e.URL="URL",e.WINDOW="WINDOW",e.URL_MATCHING="URL_MATCHING",e.BROWSER="BROWSER"}(pt||(pt={}));var mt,ht,gt;class Et{constructor(e){this.checkoutTypes=e.checkoutTypes,this.donorPortalUrl=e.donorPortalUrl,this.window=e.window,this.campaignKey=e.campaignKey,this.customHash=e.customHash,this.hasBenefits=e.hasBenefits||!1}shouldRedirect(){var e,t;return!(!this.donorPortalUrl||!(null===(e=this.checkoutTypes)||void 0===e?void 0:e.campaignPage)||!this.hasBenefits&&(null===(t=this.checkoutTypes)||void 0===t?void 0:t.checkoutModal))}getCampaignPageUrl(){if(!this.donorPortalUrl)return"";const e=this.customHash||this.campaignKey;return function(e,t){const n=new URL(`${e}/page/${t}`);return n.toString()}(this.donorPortalUrl,e)}openCampaignPage(e){return t=this,n=void 0,o=function*(){const{searchParams:t,elementType:n,element:i,checkoutData:o,checkoutIntent:r,elementTitle:s,elementName:a,elementLocale:c}=e||{},l=this.getCampaignPageUrl();if(!l)return;const d=new URL(l),u=null!=t?t:new URLSearchParams;u.set("embedClientId",e.clientId),u.set("eventTags",e.tags.join(",")),n&&u.set("elementType",n),s&&u.set("elementTitle",s),a&&u.set("elementName",a),c&&u.set("elementLocale",c),i&&u.set("element",i),(null==o?void 0:o.fundraiser)&&u.set("fundraiser",o.fundraiser),o&&u.set("elementCheckoutData",this.encodeCheckoutData(o)),r&&u.set("checkoutIntent",this.encodeCheckoutData(r)),this.donorPortalUrl===this.window.location.origin&&u.set("fromDonorPortal","1"),e.locale.source&&[pt.URL,pt.WINDOW].includes(e.locale.source)&&u.set(ut,e.locale.code);const p=d.toString(),m=(0,dt.i)(u),h=m?`?${m}`:"";(function(){const e=/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent);return Boolean(e)})()&&(yield new Promise(e=>setTimeout(e,200))),this.window.location.href=`${p}${h}`},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}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)}}!function(e){e[e.INTERNAL_API_INITIALIZED=1]="INTERNAL_API_INITIALIZED",e[e.INIT=2]="INIT",e[e.TRY_TO_OPEN_BY_DIRECT_LINK=3]="TRY_TO_OPEN_BY_DIRECT_LINK",e[e.TRY_TO_OPEN_BY_URL=4]="TRY_TO_OPEN_BY_URL",e[e.TRY_TO_OPEN_BY_ELEMENT_KEY_URL=5]="TRY_TO_OPEN_BY_ELEMENT_KEY_URL",e[e.TRY_TO_OPEN_BY_FUNDRAISER_KEY_URL=6]="TRY_TO_OPEN_BY_FUNDRAISER_KEY_URL",e[e.EMIT_EVENT=7]="EMIT_EVENT",e[e.GOT_ELEMENT_RESPONSE=8]="GOT_ELEMENT_RESPONSE",e[e.GOT_GLOBAL_ELEMENTS_RESPONSE=9]="GOT_GLOBAL_ELEMENTS_RESPONSE",e[e.TRY_TO_RENDER_NON_RENDERED_GLOBAL_ELEMENTS=10]="TRY_TO_RENDER_NON_RENDERED_GLOBAL_ELEMENTS",e[e.FIND_ELEMENTS=11]="FIND_ELEMENTS",e[e.EXTRACT_NODE_PARAMS=12]="EXTRACT_NODE_PARAMS",e[e.CREATE_ELEMENTS_PARAMS=13]="CREATE_ELEMENTS_PARAMS",e[e.RESOLVE_FUNDRAISING_PAGE=14]="RESOLVE_FUNDRAISING_PAGE",e[e.RESOLVE_KEYS=15]="RESOLVE_KEYS",e[e.EMPTY_RESOLVE_REQUEST=16]="EMPTY_RESOLVE_REQUEST",e[e.SEND_RESOLVE_REQUEST=17]="SEND_RESOLVE_REQUEST",e[e.GOT_RESOLVE_RESPONSE=18]="GOT_RESOLVE_RESPONSE",e[e.DOM_OBSERVER_INIT=19]="DOM_OBSERVER_INIT",e[e.CONSENT_API_INITIALIZED=20]="CONSENT_API_INITIALIZED",e[e.CONSENT_API_UPDATE=21]="CONSENT_API_UPDATE",e[e.CONSENT_API_DISABLED=22]="CONSENT_API_DISABLED",e[e.CONSENT_API_ERROR=23]="CONSENT_API_ERROR",e[e.FIND_GIFT_CATALOGS=24]="FIND_GIFT_CATALOGS",e[e.LOADED_GIFT_CATALOG=25]="LOADED_GIFT_CATALOG",e[e.OPEN_GIFT_CART=26]="OPEN_GIFT_CART",e[e.OPEN_GIFT_CHECKOUT=27]="OPEN_GIFT_CHECKOUT"}(mt||(mt={})),function(e){e.ONLY_CAMPAIGN_PAGES="onlyCampaignPages",e.ONLY_CHECKOUT_MODAL="onlyCheckoutModal",e.BOTH_TYPES="bothTypes",e.ONLY_GIFT_CATALOGS="onlyGiftCatalogs"}(ht||(ht={})),function(e){e.WIDGET="widget",e.URL="url",e.NOWHERE="nowhere"}(gt||(gt={}));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 Tt=(e,t,r,s,a,c,l,d,u,p,m,h,g,E,f)=>{let T=null;m.register(i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT,ke);const y=m.get(i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT);let _=!1,v=null;const A=e=>!!(r.inactiveWidgets||[]).find(t=>{let[n,i]=t;return n===e||i===e}),C=t=>ft(void 0,void 0,void 0,function*(){return e.needResolve(t)?new Promise(e=>{setTimeout(e,600)}):Promise.resolve()}),S=(e,t,n,i,o)=>ft(void 0,void 0,void 0,function*(){try{yield Promise.all([O(e,t,n,i,o),C(t)])}catch(e){_=!1,G(),console.error(e)}}),w=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(_)return;const a=Ge(r.queryParams||{}),l=Date.now();v=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=Fe(c,e),p=[u,d].filter(e=>Boolean(e));return c.isWidgetKeyExists(p)?""===e&&d?((e,t,n,i)=>ft(void 0,void 0,void 0,function*(){_=!0,U("",t),yield S("",e,t,n,i)}))([d],a,t,l):((e,t,n,i,o,r,s)=>ft(void 0,void 0,void 0,function*(){A(e)?k(r,e,i):F(e)?yield b(e,i,s):(_=!0,U(e,n),yield S(e,t,n,i,o))}))(u,p,a,t,l,r.currentCompany,n):void 0}()})},I=(t,n,i)=>ft(void 0,void 0,void 0,function*(){var o,r,s;const a=(null===(r=null===(o=i.launcher)||void 0===o?void 0:o.element)||void 0===r?void 0:r.type)===ge.DIRECT_LINK,c=yield e.resolveKeys({keys:t,livemode:n,externalQueryParams:i.queryParams,isDirectOpen:a});if(null===(s=null==c?void 0:c.campaign)||void 0===s?void 0:s.key){const e=c.campaign.key;if(c.forceCampaignPageOpen||F(e)){const t=new URLSearchParams(i.queryParams||{});return t.delete("form"),yield b(e,i,t),c}}return c}),N=e=>E().load({widgetKey:e,locale:r.locale.code,source:he.CHECKOUT}),O=(e,t,n,i,o)=>ft(void 0,void 0,void 0,function*(){var s;const[a]=yield Promise.all([I(t,n,i)]),m=B(a)||V();y.tryTrackStart();let E=R,T=h;m&&(E=P,T=g),yield E(),d.emit("checkoutBeforeOpen",void 0);const _=yield T()(l,c,d,p,{resolvedConfig:a,trackingUrls:r.server.trackingUrls,currencyRates:r.data.currencyRates,env:r.server.env,pendingRequests:{goals:N(a.campaign.key)},paymentMethods:r.paymentMethods,livemode:r.livemode,isMobile:r.isMobile,isMobileSafari16:r.deviceData.isMobileSafari16,showcase:!1,externalParams:i,integrations:r.integrations,localeCode:r.locale.code,userMeta:null===(s=r.meta)||void 0===s?void 0:s.user,infrastructureQueryParams:null==r?void 0:r.queryParams,checkoutOpenTimestamp:o,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:y.variantName,steplessCheckoutExperimentExcluded:y.excluded,fromDonorPortal:r.fromDonorPortal,initialMarketingCookieConsent:f.getUserSessionConsent()});_&&D({checkoutApi:_,key:e,options:i,isLivemode:n})}),b=(e,t,n)=>ft(void 0,void 0,void 0,function*(){var i,o,s,a,c,d,u,p,m,h,g,E,f,T,y;const _=n||new URL(window.location.href).searchParams,v=null===(o=null===(i=t.launcher)||void 0===i?void 0:i.element)||void 0===o?void 0:o.customHash,A=new Et({donorPortalUrl:r.staticConfig.donorPortalUrl,window,campaignKey:e,customHash:v}),C=null===(c=null===(a=null===(s=t.launcher)||void 0===s?void 0:s.checkoutInitialData)||void 0===a?void 0:a.campaign)||void 0===c?void 0:c.fundraiser,S=C?{checkoutData:{fundraiser:C}}:void 0;yield A.openCampaignPage(Object.assign({elementType:null===(u=null===(d=null==t?void 0:t.launcher)||void 0===d?void 0:d.element)||void 0===u?void 0:u.type,elementTitle:null===(m=null===(p=null==t?void 0:t.launcher)||void 0===p?void 0:p.element)||void 0===m?void 0:m.title,elementName:null===(g=null===(h=null==t?void 0:t.launcher)||void 0===h?void 0:h.element)||void 0===g?void 0:g.name,elementLocale:null===(f=null===(E=null==t?void 0:t.launcher)||void 0===E?void 0:E.element)||void 0===f?void 0:f.locale,element:null===(y=null===(T=null==t?void 0:t.launcher)||void 0===T?void 0:T.element)||void 0===y?void 0:y.key,checkoutIntent:null==t?void 0:t.intent,searchParams:_,clientId:l.clientId,tags:l.getTags(),locale:r.locale},S))}),R=()=>ft(void 0,void 0,void 0,function*(){const e=r.server.checkoutAssets.scripts.filter(e=>!(e.includes("checkout-rtl-styles")&&L()===nt.LTR||e.includes("checkout-styles")&&L()===nt.RTL));yield Promise.all(e.map(e=>n(e)))}),P=()=>ft(void 0,void 0,void 0,function*(){const e=r.server.checkoutSteplessAssets.scripts.filter(e=>!(e.includes("checkout-stepless-rtl-styles")&&L()===nt.LTR||e.includes("checkout-stepless-styles")&&L()===nt.RTL));yield Promise.all(e.map(e=>n(e)))}),L=()=>ct(r.locale.code),D=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"]);_=!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})})})});w(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(()=>{G()},150)},k=(e,t,n)=>{const i=e.disabledWidgets.redirectTo;if(i===gt.WIDGET){if(A(e.disabledWidgets.widgetKey))return void s.remove(!0);const t=(null==n?void 0:n.launcher)?{launcher:{element:n.launcher.element,elementTrackingData:n.launcher.elementTrackingData}}:void 0;return void w(e.disabledWidgets.widgetKey,t)}i===gt.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(mt.EMIT_EVENT,{event:e,payload:n}),setTimeout(()=>{try{d.emit(e,n)}catch(e){console.error(e)}},0)},x=()=>{p.setField(Ye.LAST_SUCCESS_DONATION_AT,Date.now())},U=(e,t)=>{const n=ct(r.locale.code)===nt.RTL;s.render({source:Ee.CHECKOUT}),a.render({campaignKey:e,isMobile:r.isMobile,isLivemode:t,isRtl:n})},G=()=>{a.hide()},F=e=>!!K(e),K=e=>c.getCheckoutType(e)===ht.ONLY_CAMPAIGN_PAGES,B=e=>(y.tryStart({isMobile:r.isMobile,company:r.currentCompany,resolveData:e}),y.isTestGroup),V=()=>r.server.env!==pe.PRODUCTION&&"true"===new URL(window.location.href).searchParams.get("stepless");return{getLatestStartOpenCheckoutTimestamp:()=>v,open:w,createShowcase:(e,t,n,i,o)=>(e.config.cryptoCurrencies=t,R().then(()=>{var t;return h()(l,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===(t=r.meta)||void 0===t?void 0:t.user,infrastructureQueryParams:null==r?void 0:r.queryParams,showcase:!0,isMobile:!1,isMobileSafari16:!1,livemode:!1,externalParams:{},checkoutOpenTimestamp:0,node:i,initialScreen:o,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},n)})),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=_e(i,e),r=ye(t);return o&&n&&r}(r.currentCompany.key,r.currentCompany.country,r.isMobile,e)?()=>Promise.all([R(),P()]).then():R})()()},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:ge.JS_API}}}};const p=e.customFields,m=Ue(e.fundraiser),h=Ue(null===(t=e.donation)||void 0===t?void 0:t.recurring),g=Ue(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,y=Ue(null===(s=null===(r=e.designations)||void 0===r?void 0:r[0])||void 0===s?void 0:s.id),_=null===(a=e.config)||void 0===a?void 0:a.modifyDesignation,v=Ue(null===(c=e.tribute)||void 0===c?void 0:c.honoree),A=Ue(null===(l=e.supporter)||void 0===l?void 0:l.firstName),C=Ue(null===(d=e.supporter)||void 0===d?void 0:d.lastName),S=Ue(null===(u=e.supporter)||void 0===u?void 0:u.email),w=g?(e=>{var t;const n=e.toUpperCase(),i=Me[n];return null!==(t=null==i?void 0:i.digits)&&void 0!==t?t:2})(g):2,I=void 0!==E?Math.round(E*Math.pow(10,w)):void 0,N={queryParams:{fundraiser:m},launcher:{element:{type:ge.JS_API,customFields:p?Object.entries(p).map(e=>{let[t,n]=e;return{name:t,value:n}}):void 0},checkoutInitialData:{campaign:{fundraiser:m},donation:{frequency:h,currency:g,amount:I,isAmountEditable:T},designation:{id:y,isEditable:_},tribute:{inHonorOf:v,labelType:v?xe.IN_HONOR_MEMORY:void 0},supporter:{firstName:A,lastName:C,email:S}}}},O=new URLSearchParams;if(m&&O.set("fundraiser",m),h&&O.set("recurring",h),g&&O.set("currency",g),void 0!==E&&O.set("amount",E.toString()),void 0!==T&&O.set("modifyAmount",T?"yes":"no"),y&&O.set("designationId",y),void 0!==_&&O.set("modifyDesignation",_?"yes":"no"),v&&O.set("tributeHonoree",v),A&&O.set("firstName",A),C&&O.set("lastName",C),S&&O.set("email",S),p)for(const[e,t]of Object.entries(p))O.set(e,t);return{checkoutExternalParams:N,campaignPageSearchParams:O}})(t);Qe({tracker:l,widgetKey:e,keysKeeper:c,elementType:ge.JS_API,elementKey:"",splitTestName:"",splitTestVariant:""}),w(e,n,i)},setOpenedCheckoutElementId:e=>{T=e},getLastOpenedCheckoutElementId:()=>T}},yt=[Xe.DE_X_INFORMAL],_t={[Xe.DE]:Xe.DE_X_INFORMAL},vt={[Xe.DE_X_INFORMAL]:Xe.DE},At=["HRMEIGNS","ASMHWLHL","ACQQJBWP"];class Ct{static initializeUserLocales(e,t){return e.map(e=>this.initializeUserLocale(e,t))}static initializeUserLocale(e,t){const n=At.includes(t.companyKey);if(yt.includes(e))return n?e:vt[e];const i=_t[e];return i&&n?i:e}static getOriginalLocale(e){return e&&vt[e]?vt[e]:e}static isPrivateUseLocale(e){return yt.includes(e)}static stripPrivateUse(e){return this.getOriginalLocale(e)}}class St{static isLocaleCode(e){return void 0!==e&&et.includes(e)}constructor(e,t,n,i,o,r){this.translationService=e,this.dateFormatter=t,this.currencyFormatter=n,this.numberFormatter=i,this.company=o,this._locale=St.DEFAULT_LOCALE,this._translationLocale=St.DEFAULT_LOCALE,this._donateToPayCompanyKeys=["AFJCHFEK","APRQUTCN","AFPEVBKG","AMRQSLUN"],this.availableLocales=r.availableLocales,this.locale=r.locale,this.company=o,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,n=this._translationLocale;this.locale=e;const i=[this.translationService.changeLocale(this._translationLocale)];return Promise.all(i).then(()=>this.locale).catch(e=>(this.locale=t,this._translationLocale=n,Promise.reject(e))).finally(()=>{this.dateFormatter.changeLocale(this.locale),this.currencyFormatter.changeLocale(this.locale),this.numberFormatter.changeLocale(this.locale)})}translate(e,t){const n=at(this.translationService.translate(e,t));return this.replaceDonateToPay(n)}safeTranslate(e,t){const n=at(this.translationService.safeTranslate(e,t));return this.replaceDonateToPay(n)}formatDate(e,t){return this.dateFormatter.format(e,t)}formatCurrency(e,t){return this.currencyFormatter.format(e,t)}formatAmount(e){return this.currencyFormatter.formatAmount(e)}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){if(this._donateToPayCompanyKeys.includes(this.company)&&this.locale===Xe.EN_US){const t=/donations|Donations|Donating|donating|donation|Donation|Donate|donate/g;if(!t.test(e))return e;const n={donations:"payments",Donations:"Payments",Donating:"Paying",donating:"paying",donation:"payment",Donation:"Payment",Donate:"Pay",donate:"pay"};return e.replace(t,e=>n[e])}return e}set locale(e){if(!this.isLocaleAvailable(e))return this._locale=St.DEFAULT_LOCALE,void(this._translationLocale=St.DEFAULT_LOCALE);this._locale=Ct.stripPrivateUse(e),this._translationLocale=this.company?Ct.initializeUserLocale(e,{companyKey:this.company}):e}}let wt;function It(e,t){if("test"===e)return Nt();const n=St.isLocaleCode(e);return{code:n?e:St.DEFAULT_LOCALE,source:n?t:void 0,isTest:!1}}function Nt(){return{code:St.DEFAULT_LOCALE,isTest:(void 0===wt&&(wt=!1),wt)}}function Ot(e,t){return{code:e,source:t,isTest:!1}}var bt,Rt,Pt;St.DEFAULT_LOCALE=Xe.EN_US,function(e){e.DONOR="donor",e.EMBED="embed",e.TEST="test"}(bt||(bt={}));class Lt{static get(e){switch(e){case bt.DONOR:return It;case bt.EMBED:return Ot;case bt.TEST:return Nt;default:throw new Error(`13 ${e}`)}}}function Dt(e){const t="^"+e.replace(/([[\]{}()+?.^$|\\/])/g,"\\$1").replace(/\*/g,".*")+"$";return new RegExp(t)}class kt{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 Mt extends kt{retrieveLocale(){if(e=this.locale,!et.includes(e))return null;var e;if(this.localizationConfig.interfaceLocales.includes(this.locale))return this.locale;if(Ct.isPrivateUseLocale(this.locale)){const e=Ct.getOriginalLocale(this.locale);if(e&&this.localizationConfig.interfaceLocales.includes(e))return this.locale}return null}}class xt extends kt{retrieveLocale(){var e;return(e=this.locale,this.localizationConfig.interfaceLocales.find(t=>rt(e)===rt(t)))||null}}class Ut extends kt{retrieveLocale(){return rt(this.locale)===rt(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"}(Rt||(Rt={}));class Gt extends kt{retrieveLocale(){return rt(this.localizationConfig.defaultLocale)===Rt.EN?this.localizationConfig.defaultLocale:null}}class Ft extends kt{retrieveLocale(){return this.localizationConfig.interfaceLocales.find(e=>rt(e)===Rt.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"}(Pt||(Pt={}));class Kt extends kt{retrieveLocale(){const e=Kt.fallbackLocales.get(this.locale);return e&&-1!==this.localizationConfig.interfaceLocales.indexOf(e)?e:null}}Kt.fallbackLocales=new Map([[Pt.HA,Xe.AR_001],[Pt.IU,Xe.EN_CA],[Pt.GD,Xe.EN_GB],[Pt.CY,Xe.EN_GB],[Pt.BR,Xe.FR_FR],[Pt.SQ,Xe.IT],[Pt.SC,Xe.IT],[Pt.NB,Xe.NO],[Pt.NN,Xe.NO],[Pt.HY,Xe.RU_RU],[Pt.AZ,Xe.RU_RU],[Pt.BE,Xe.RU_RU],[Pt.CE,Xe.RU_RU],[Pt.ET,Xe.RU_RU],[Pt.KK,Xe.RU_RU],[Pt.KY,Xe.RU_RU],[Pt.LV,Xe.RU_RU],[Pt.LT,Xe.RU_RU],[Pt.MN,Xe.RU_RU],[Pt.TG,Xe.RU_RU],[Pt.UK,Xe.RU_RU],[Pt.UZ,Xe.RU_RU],[Pt.EU,Xe.ES],[Pt.CA,Xe.ES],[Pt.GL,Xe.ES]]);class Bt extends kt{retrieveLocale(){return this.localizationConfig.defaultLocale}handle(){return this.retrieveLocale()}}function Vt(e,t,n){const i=new Ut(e,t),o=new Mt(e,t),r=new xt(e,t),s=new Kt(e,t),a=new Ft(e,t),c=new Bt(e,t),l=new Gt(e,t);return o.setNext(i),i.setNext(r),r.setNext(s),n&&(s.setNext(l),l.setNext(a),a.setNext(c)),o}class Ht{constructor(e,t){this.locales=e,this.companyLocalizationConfig=t}getUILocale(){const e=new Bt(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=Vt(e[n],t,n===e.length-1).handle();if(i)return i}return null}(this.locales,this.companyLocalizationConfig)||e.handle()}}class zt{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[ut],r=o?pt.URL:void 0;return o||(o=e.window[ut],r=o?pt.WINDOW:void 0),!o&&i.matchURL&&(o=(()=>{let e;return i.urlRules.forEach(n=>{const i=Dt(n.url).test(t);!e&&i&&(e=n.locale)}),e})(),r=o?pt.URL_MATCHING:void 0),!o&&i.matchBrowserLocale&&(o=e.window.navigator.languages?[...e.window.navigator.languages]:e.window.navigator.language,r=o?pt.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("test"))return Lt.get(bt.TEST)();const n=(i=t).filter(e=>{if(!lt(e)){const t=rt(e);return!i.some(n=>n!==e&&rt(n)===t&&(lt(n)||n.includes("-")))}return!0});var i;const o=new Ht(n,this.companyLocalizationSettings).getUILocale(),r=t.includes(o)?e:void 0;return Lt.get(bt.EMBED)(o,r)}}var jt=s("../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.mjs"),Yt=s("../fun-storage/dist/webpack/funCookiesKeys.js"),Xt=s("./src/helpers/parseQueryParams.ts");function Wt(){return"loading"!==document.readyState?Promise.resolve():new Promise(e=>{document.addEventListener("DOMContentLoaded",()=>e())})}const $t=[ge.STICKY_BUTTON,ge.MESSAGE_BAR,ge.LIGHTBOX,ge.FLOATING_BUTTON];var qt;!function(e){e.ALL="all",e.DESKTOP_ONLY="desktopOnly",e.MOBILE_ONLY="mobileOnly"}(qt||(qt={}));const Zt=["/","*"];function Jt(e){let t=e.replace(/(\?.*)/,"").replace(/(#.*)/,"");const n=t.charAt(t.length-1);return-1===Zt.indexOf(n)&&(t+="/"),t}const Qt=[ge.MESSAGE_BAR,ge.LIGHTBOX];const en=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)}},tn="XFUNDEBUGPANEL";class nn extends Ie{constructor(){super(...arguments),this.baseUrl=""}isTestGroup(){return this.isActive&&this.isVariant(X.TEST_1)}tryStart(e){this.baseUrl=e.elementsUrl,this.isActive||(super.start(),this.tryExpose())}getElementUrl(e){return this.isActive&&this.isTestGroup()?`${window.FUN_CDN||this.baseUrl.replace("static","cdn").replace(/\/embed-data\/?$/,"")}/elements-data/${e}.js`:`${this.baseUrl}elements/${e}.js`}tryExpose(){this.isActive&&this.exposure()}}var on=s("./src/serviceContainer/getFrontendContainer.ts");let rn=null;function sn(){if(rn)return Promise.resolve(rn);const e=(0,on.w)();return n(e.get(fe.i.STATIC_CONFIG).elementsApiScriptUrl).then(()=>(rn=e.get(fe.i.ELEMENTS_API),rn))}const an=[ge.FUNDRAISING_PAGE_LINK,ge.FUNDRAISING_PAGE_INVITE_LINK,ge.LINK,ge.DIRECT_LINK,ge.DEBUG_PANEL,ge.TEST_MODE_PANEL,ge.AI_ASSISTANT,ge.SPLIT_TESTING,ge.JS_API];class cn extends We{constructor(e){super(),this.payload.eventComment={elementsKeys:e.elementsKeys}}get eventType(){return"elementsDataLoadingError"}}var ln=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 dn(e,t,n,o,r,s,a,c){var l=this;const d=o.server.elementsUrl,u=[],p=new Map,m=new Map;let h=[];const g=new Map,E=[];let f;const T=()=>{window.addEventListener("popstate",S),window.addEventListener("hashchange",S);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 S(),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 S(),o}},y=()=>{const n=e.findElements();n.forEach(e=>{const t=p.get(e.key)||[];p.set(e.key,[...t,e]),_(e)});const i=n.map(e=>{let{key:t}=e;return t});t.addFundraisersKeys(i),N(n),w(i)},_=e=>{const i=t.exists("WIDGET",e.key||"");if(e.type!==ge.LINK||!e.node||!i)return;const o=i=>{var r,a,c,l,d,u,p;null===(r=e.node)||void 0===r||r.removeEventListener("click",o);const m=i.target;if(m){const e=m.getAttribute("href");e&&function(e){let{tracker:t,href:n}=e;t.track(new Je({customEventType:"urlOpenCheckout",customEventData:{href:n}}))}({tracker:s,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:s,widgetKey:e.key,keysKeeper:t,elementKey:"",elementType:ge.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=ge.LINK}=e;t.track(new Ze({widgetKey:n?Fe(n,i):i,elementKey:s,elementType:a,splitTestName:r,splitTestVariant:o}))}(o),Qe(o),n.open(e.key,i).catch(e=>console.error(e))}};e.node.addEventListener("click",o)},v=(e,t)=>sn().then(i=>{var r,s;i.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(()=>{o.disablePreloading||n.preloadCheckout()})}),A=e=>ln(this,void 0,void 0,function*(){const t=a.getUrlParamsForElement(e),n=Object.assign(Object.assign({},e),{externalConfig:t,data:null});(function(e){return!an.includes(e.type)})(e)&&(n.data=o.livemode?e.data.live:e.data.test);const i=[n],s={params:[e.key]};r.logCode(mt.GOT_ELEMENT_RESPONSE,{elements:i,info:s});const c=p.get(e.key);return c&&c.length?v(c,{elements:i}).then(()=>{p.delete(e.key),u.forEach(e=>e({elements:i},s))}):(u.forEach(e=>e({elements:i},s)),Promise.resolve())}),C=e=>{const t=o.deviceData.isMobileOrTablet;h.length||(h=e);const n=e.filter(e=>{const n=function(e,t){if(function(e){return-1!==$t.indexOf(e.type)}(e)){if(e.config.deviceRestriction===qt.DESKTOP_ONLY&&t)return!1;if(e.config.deviceRestriction===qt.MOBILE_ONLY&&!t)return!1}return!0}(e,t),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const i=Jt(e),o=0===t.length||t.some(e=>Dt(Jt(e)).test(i)),r=n.some(e=>Dt(Jt(e)).test(i));return o&&!r}(window.location.href,e.config.urlAllow,e.config.urlBlock),o=function(e){if(function(e){return-1!==Qt.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&&m.set(e.key,e),r}),i=n.map(e=>Object.assign(Object.assign({},e),{data:o.livemode?e.data.live:e.data.test}));return r.logCode(mt.GOT_GLOBAL_ELEMENTS_RESPONSE,{globalElements:i}),o.livemode||i.push(Object.assign(Object.assign({},O()),{data:null})),L()&&i.push(Object.assign(Object.assign({},P()),{data:null})),u.forEach(e=>e({elements:[],globalElements:i})),v([],{elements:[],globalElements:i})},S=()=>ln(this,void 0,void 0,function*(){try{if(!h.length)return;const e=h.filter(e=>!m.has(e.key));if(!e.length)return;return r.logCode(mt.TRY_TO_RENDER_NON_RENDERED_GLOBAL_ELEMENTS,{globalElements:e}),C(e)}catch(e){}}),w=e=>{-1!==e.indexOf(tn)&&A({key:tn,type:ge.DEBUG_PANEL,name:"",config:{},data:{live:null,test:null}});const n=e.filter(e=>t.exists("ELEMENT",e)&&e!==tn).map(e=>({key:e,type:t.getElementType(e)}));return!!n.length&&(n.forEach(e=>{let{key:t}=e;return I(t)}),!0)},I=e=>{f||b(),f.tryStart({elementsUrl:d}),(e=>{const{src:t,onSuccess:n,onFail:i}=e,o=Date.now(),r=document.createElement("link");r.rel="preload",r.as="script",r.href=t,document.head.appendChild(r);const s=document.createElement("script");s.src=t,s.async=!0,document.head.appendChild(s),s.onload=()=>{const e=Date.now()-o;document.head.removeChild(r),document.head.removeChild(s),n&&n(e)},s.onerror=()=>{document.head.removeChild(r),document.head.removeChild(s),i&&i()}})({src:f.getElementUrl(e),onSuccess:t=>{g.set(e,t)},onFail:()=>{E.push(e)}})},N=e=>{-1!==e.map(e=>{let{key:t}=e;return t}).indexOf(tn)&&A({key:tn,type:ge.DEBUG_PANEL,name:"",config:{},data:{live:null,test:null}}),e.forEach(e=>{let{type:t,key:n}=e;t!==ge.LINK&&t!==ge.FUNDRAISING_PAGE_LINK&&t!==ge.FUNDRAISING_PAGE_INVITE_LINK||A({key:n,type:t,name:"",config:{},data:{live:null,test:null}})})},O=()=>({type:ge.TEST_MODE_PANEL,key:"test-panel",name:"test-panel",config:{}}),b=()=>{const e=c().experiments;f=e.registerAndGet(i.CLOUDFLARE_WORKER_STRATEGY_FOR_ELEMENTS_EXPERIMENT,nn),setTimeout(()=>{R()},2e4)},R=()=>{E.length&&s.track(new cn({elementsKeys:E}))},P=()=>{const e=window.funAiAssistant||{},t={apiKey:e.apiKey,personaId:e.personaId,replicaId:e.replicaId,campaignsList:e.campaignsList,defaultCampaignKey:e.defaultCampaignKey,isTestMode:e.isTestMode,maxCallDuration:e.maxCallDuration,participantLeftTimeout:e.participantLeftTimeout,participantAbsentTimeout:e.participantAbsentTimeout};return{type:ge.AI_ASSISTANT,key:"ai-assistant",name:"ai-assistant",config:t}},L=()=>!!window.funAiAssistant;return{elementsUrl:d,initialize:()=>(b(),(()=>{let e=null,t=[],n=0;const i=e=>{[].forEach.call(e,e=>{const i=o(e);if(i&&i.length){if(t.push(...i),n)return;n=window.setTimeout(()=>{var e,i;n=0,null===(e=window.FUN.splitTesting)||void 0===e||e.init(),r.logCode(mt.DOM_OBSERVER_INIT),y(),null===(i=window.FUN.splitTesting)||void 0===i||i.reset(),t=[]},50)}})},o=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{e=new MutationObserver(i),e.observe(document.documentElement,{childList:!0,subtree:!0})}catch(e){console.error(e)}}}})().run(),window.FUN_DISABLE_GLOBAL_ELEMENTS||en(`${d}elements-global/${o.currentCompanyKey}.js`),Wt().then(()=>T()).then(()=>y()).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 ln(l,[e,t,n,...o],void 0,function(e,t,n){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return function*(){try{const o=yield sn();return yield o.createElementByType(e,t,i,n)}catch(e){if("IframeRemovedError"===(null==e?void 0:e.name))return void console.warn("Element creation cancelled: iframe was removed from DOM");throw console.error("Error while creating element",e),e}}()})},onElementsLoad:e=>{u.push(e)},addElementContent:A,addGlobalElementsContent:C,getElements:w,getElementInstance:e=>sn().then(t=>t.getElementInstance(e)),getRenderedElementsByType:e=>sn().then(t=>t.getRenderedElementsByType(e)),checkWasOpenedByDirectUrl:()=>c().wasOpenedByDirectUrl,getElementDataLoadTime:e=>{var t;return null!==(t=g.get(e))&&void 0!==t?t:null}}}const un=window.FUN_HOST||"https://api.fundraiseup.com",pn=window.FUN_STATIC,mn=window.FUN_STATIC_S3||"https://static.fundraiseup.com";var hn,gn,En;function fn(e,t){return`${e}/elements${t}`}function Tn(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()}}}s.p=pn||s.p,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",e.DONATION_FORM_AMOUNT_HINTS="/donationFormAmountHints",e.AI_ASSISTANT_CONFIG="/ai-assistant/config"}(hn||(hn={})),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"}(gn||(gn={})),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"}(En||(En={}));const yn=[ge.DONATION_FORM];ge.DONATION_FORM;const _n=/\/-\/(X[\dA-Z]{7})/,vn=/^X[\dA-Z]{7}/,An=new RegExp("\\/-\\/(N[\\dA-Z]{7})"),Cn=new RegExp(`${An.source}(?!\\/join)`),Sn=new RegExp(`${An.source}\\/join`),wn=/^N[\dA-Z]{7}/i,In=/^[\dA-Z_-]{1,25}$/i,Nn=/#?(FUN.{8})/i,On=/(#FUN[\dA-Z]{8})/;var bn;!function(e){e.P2P="p2p",e.P2P_REGISTRATION="p2pRegistration"}(bn||(bn={}));var Rn=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 Pn(e){return(0,Xt.U)(window.location.search.substring(1))[e]}var Ln=s("../murmur/dist/murmur.js");function Dn(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:ge.DIRECT_LINK,elementKey:"",key:i})}function kn(e){const t={elementType:ge.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 Mn=/#([\da-z_-]{1,25})(\?|&|$)/i;function xn(e){const t=Mn.exec(e);return t&&t[1]?t[1]:""}class Un extends We{constructor(e){super(),this.payload={duration:e.duration,eventComment:{widgets:e.widgets}}}get eventType(){return"checkoutResolve"}}class Gn extends We{get eventType(){return Be}}function Fn(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}class Kn extends We{constructor(e){super();const t=Fn(location.href);t[ze]&&(this.payload.splitTestName=t[ze]),t.fun_variant&&(this.payload.splitTestVariant=t[ze]),e&&(this.payload.eventComment={...this.payload.eventComment,...e})}get eventType(){return Ke}}class Bn extends We{constructor(e,t){super(),this.payload={splitTestName:e,splitTestVariant:t}}get eventType(){return"testVariantSelected"}}let Vn;function Hn(){return void 0===Vn&&(Vn=!1),Vn}const zn=(e,t,n,i,o,r,a,c,l,d,u,p,m,h,g)=>{let E,f=!1,T=!1;const y=o.fromDonorPortal,_=()=>{l.logCode(mt.INIT,mt.TRY_TO_OPEN_BY_DIRECT_LINK);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(mt.INIT,mt.TRY_TO_OPEN_BY_URL,o);const s=(0,Xt.U)(o),a=s.form,d=xn(o),u={queryParams:s},p=c.exists("WIDGET",a),m=c.exists("WIDGET",d),h=p&&a||m&&d;if(h){const t=Dn({elementType:c.getElementType(s.element),elementKey:s.element,widgetKey:h,queryParams:s}),n=kn(t);Qe({tracker:r,widgetKey:h,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 T=!0,c.getCheckoutType(h)===ht.ONLY_GIFT_CATALOGS?g.openCheckoutByUrl(h,i):e.open(h,i)}const E=c.getElementType(a);if(E===ge.P2P_BUTTON||E===ge.P2P_LINK)return l.logCode(mt.INIT,mt.TRY_TO_OPEN_BY_ELEMENT_KEY_URL),T=!0,n.open(a);if(wn.test(a))return l.logCode(mt.INIT,mt.TRY_TO_OPEN_BY_FUNDRAISER_KEY_URL),T=!0,n.open(a);if(a&&In.test(a))return l.logCode(mt.INIT,mt.TRY_TO_OPEN_BY_FUNDRAISER_KEY_URL),T=!0,n.openByFundraiserSlug(a)}return Promise.resolve()},v=()=>{!function(e,t){if(t.get()||t.set({disableIsFundraiseupVisitor:!1,elements:{showAllGlobalElementsInTestEnv:!1},settings:{}},{path:e.location.pathname}),e.querySelector(`iframe#${tn}`))return;const n="#"+tn,i=e.createElement("a");i.setAttribute("href",n),i.style.display="none",e.body.appendChild(i)}(document,d)},A=()=>{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"));E=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 Bn(t,n))},onReset:()=>{E.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.extractElementNodeParams(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(ge.SPLIT_TESTING,{elementKey:"",elementType:ge.SPLIT_TESTING,elementName:ge.SPLIT_TESTING,config:{},elementFoundTimestamp:Date.now()},!1,e).catch(e=>console.error(e)))})}}),E.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},C={get experiments(){return m},get splitTesting(){return E},get livemode(){return o.livemode},get version(){return o.version},get initialized(){return f},get wasOpenedByDirectUrl(){return T},init:()=>{if(f)return l.logCode(mt.INTERNAL_API_INITIALIZED),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 Kn(Object.assign(Object.assign({},e),{darkMode:t}))),window.addEventListener("beforeunload",()=>{r.track(new Gn)}),a.onResolve((e,t)=>{r.track(new Un({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();const n=[A(),t.initialize(),_(),y?Promise.resolve():function(){if("yes"===Pn("fundraiseupDebug")){const e=prompt("");if(e)return 1648622467===(0,Ln.A)(e)}return"yes"===Pn("fundraiseupABTestDebug")}()?Wt().then(()=>v()):Promise.resolve()];return Hn()&&n.push(g.initialize()),Promise.all(n).then(()=>{f=!0,window.FUN_STARTUP_HOOK&&window.FUN_STARTUP_HOOK(),null==E||E.reset()})},checkout:e,elements:t,giftCatalogs:g,forms:n,services:i,config:o,tracker:r,debug:function(){const e=new Date;e.setFullYear(e.getFullYear()+5),h.set(!0,{expires:e})}};return y||(C.showDebugPanel=v),C};function jn(e){return e.map(e=>({...e,key:e.name}))}const Yn={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}]},Xn={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}]},Wn={experimentId:o[i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT],name:i.STEPLESS_MOBILE_CHECKOUT_EXPERIMENT,enabled:!1,scope:r.EMBED,variants:[{name:C.CONTROL,weight:1},{name:C.TEST,weight:1}]},$n={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:P.CONTROL,weight:1},{name:P.TEST_1,weight:1},{name:P.TEST_2,weight:1},{name:P.TEST_3,weight:1},{name:P.TEST_4,weight:1}]},qn={experimentId:o[i.CLOUDFLARE_WORKER_STRATEGY_FOR_ELEMENTS_EXPERIMENT],name:i.CLOUDFLARE_WORKER_STRATEGY_FOR_ELEMENTS_EXPERIMENT,enabled:!1,scope:r.EMBED,variants:[{name:X.CONTROL,weight:1},{name:X.TEST_1,weight:1}],documentationUrl:"https://www.notion.so/fundraiseup/Experiment-Cloudflare-Worker-strategy-for-Elements-29a7e95f5bc58097a2e6f304c1e4dc2b",featureUrl:"https://fundraiseup.tpondemand.com/entity/143564-experiment-cloudflare-worker-strategy-for-elements"},Zn={experimentId:o[i.ML_IMPACT_DESCRIPTIONS_DONATION_FORM_EXPERIMENT],name:i.ML_IMPACT_DESCRIPTIONS_DONATION_FORM_EXPERIMENT,enabled:!1,scope:r.EMBED,variants:[{name:re.CONTROL,weight:1},{name:re.TEST,weight:1}],documentationUrl:"https://www.notion.so/fundraiseup/ML-Experiment-Impact-Descriptions-2177e95f5bc5807d9be5e3ef4e0c542a",featureUrl:"https://fundraiseup.tpondemand.com/entity/138337-develements-experiment-impact-descriptions"},Jn={experimentId:o[i.SOCIAL_PROOF_RECURRING_HIGHLIGHT_EXPERIMENT],name:i.SOCIAL_PROOF_RECURRING_HIGHLIGHT_EXPERIMENT,enabled:!1,scope:r.EMBED,variants:[{name:ce.CONTROL,weight:1},{name:ce.TEST_1,weight:1},{name:ce.TEST_2,weight:1}],featureUrl:"https://fundraiseup.tpondemand.com/entity/149396-dev-experiment-highlight-recurring-donations"};const Qn=function(e){return[Yn,Xn,Wn,$n,qn,Zn,Jn].map(e=>({...e,variants:jn(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:jn(n.variants),disabledAccounts:n.disabledAccounts,enabledAccounts:n.enabledAccounts}:t})};class ei{distributionId;name;variants=new Map;variantSelectors;sentry;_currentVariantName;_previousVariantName;constructor({distributionId:e,name:t,variants:n,sentry:i}){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(){return this._currentVariantName?this.variants.get(this._currentVariantName)?.key:void 0}get previousVariantName(){return this._previousVariantName}initCurrentVariantName(){const e=this.getSelection(),t=[];this.variantSelectors.forEach((e,n)=>{t.push([n,e])}),this.currentVariantName=t.find(([,[t,n]])=>e>=t&&e<n)?.[0]}setVariant(e){this.variants.has(e)?this.currentVariantName=e:this.sentry.captureException(new Se(this.name))}set currentVariantName(e){this._previousVariantName=this._currentVariantName,this._currentVariantName=e}getSelection(){const e=this.getMaxDistributionValue();return Number((0,Ln.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 ti{experimentsSettings;tracker;funStorage;experiments=new Map;companyKey;parentCompanyKey;sentry;widgetKey;user;infrastructureParams;distributionId;isDebugMode;isFundraiseupVisitor;isAbTestMode;constructor(e){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:m=!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=m,!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 we(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 Ce(e)),null;const r=this.getDistributionExperimentName(i),s=new ei({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_5_EXPERIMENT]?i.AMOUNT_PRESETS_CHECKOUT_V_5_EXPERIMENT:e.name}}class ni extends ti{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 ii(e){return null!=e}var oi=s("./src/helpers/parseHref.ts");const ri=e=>"function"!=typeof document.contains||document.contains(e),si=(e,t)=>{const n=new WeakMap,i=i=>{if("fun"===i.getAttribute("data-ignore"))return null;const o=i.getAttribute("href")||"";let r=(0,oi.d)(o);const s=(0,Xt.U)(o);if(_n.test(o)){const e=_n.exec(o);if(e&&e[1]){const t=e[1];r||(r={}),r.key=t,r.type=ge.TEXT_LINK}}if(Cn.test(o)){const e=Cn.exec(o);if(e&&e[1]){const t=e[1];r||(r={}),r.key=t,r.type=ge.FUNDRAISING_PAGE_LINK}}if(Sn.test(o)){const e=Sn.exec(o);if(e&&e[1]){const t=e[1];r||(r={}),r.key=t,r.type=ge.FUNDRAISING_PAGE_INVITE_LINK}}if(o==="#"+tn&&(r||(r={}),r.key=tn,r.type=ge.DEBUG_PANEL),On.test(o)){const t=On.exec(o),n=(0,oi.d)(o);if(t&&(null==n?void 0:n.key)&&e.getCheckoutType(null==n?void 0:n.key)===ht.ONLY_GIFT_CATALOGS)return null}s.form&&(r||(r={}),r.key=s.form,Object.assign(r,s));const a={type:ge.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||ge.LINK}else a.key=function(e){if(e.getAttribute)return e.getAttribute("data-key")||void 0}(i)||"";return-1!==[ge.LINK,ge.FUNDRAISING_PAGE_LINK,ge.FUNDRAISING_PAGE_INVITE_LINK,ge.TEXT_LINK].indexOf(a.type)&&(a.queryParams=s),a.key?e.exists("ELEMENT",a.key)&&s.form===a.key?null:a.type!==ge.LINK||e.exists("ELEMENT",a.key)||e.exists("WIDGET",a.key)?(r&&r.designationId&&(c=r.designationId)&&ue.test(c)&&(a.designationId=r.designationId),a.key=Fe(e,a.key),a.node=i,a.elementFoundTimestamp=Date.now(),t.logCode(mt.EXTRACT_NODE_PARAMS,{params:a}),n.set(a.node,a),a):null:null;var c};return{getNodeParams:e=>n.get(e),findElements:()=>{const e=document.querySelectorAll(".fun-widget, a[href]");return t.logCode(mt.FIND_ELEMENTS,{primaryNodes:e}),o=[].slice.call(e),t.logCode(mt.CREATE_ELEMENTS_PARAMS,{nodes:o}),o.filter(e=>!n.has(e)).filter(e=>ri(e)).map(e=>i(e)).filter(ii);var o},findGiftCatalogs:()=>{const i=[...document.querySelectorAll("a[href]")];return t.logCode(mt.FIND_GIFT_CATALOGS,{primaryNodes:i}),i.filter(e=>!n.has(e)).filter(e=>ri(e)).map(n=>(n=>{if("fun"===n.getAttribute("data-ignore"))return null;const i=n.getAttribute("href")||"",o=(0,oi.d)(i);if(!On.test(i)||!(null==o?void 0:o.key))return null;if(e.getCheckoutType(o.key)!==ht.ONLY_GIFT_CATALOGS)return null;const r={key:o.key,giftCatalogFoundTimestamp:Date.now(),node:n};return t.logCode(mt.EXTRACT_NODE_PARAMS,{params:r}),r})(n)).filter(ii)},extractElementNodeParams:i}},ai=e=>e&&"object"==typeof e&&"consent"===e[0],ci=e=>ai(e)&&"default"===e[1],li=e=>ai(e)&&"update"===e[1],di=(e,t)=>({checkHasDefaultConsent:()=>{var e;return Boolean((null===(e=t.dataLayer)||void 0===e?void 0:e.length)&&t.dataLayer.some(ci))},initialize:()=>{t.dataLayer=t.dataLayer||[];const n=t.dataLayer.push;t.dataLayer.forEach(t=>{ci(t)&&e.emit("consentDefault",t[2]),li(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=>{li(t)&&e.emit("consentUpdate",t[2])}),n.apply(t,o)}})(t.dataLayer,n)}});var ui;function pi(e,t,n,i,o,r){let s=!1;const a=i=>{try{e.logCode(mt.CONSENT_API_UPDATE,{consent:i}),"granted"===i.functionality_storage&&(o.initializeFuncStorage(),r.setupFuncCookie()),"denied"===i.functionality_storage&&o.deniedWriteToFuncStorage(),"granted"===i.analytics_storage&&o.initializeStatStorage(),i.ad_user_data&&(s="granted"===i.ad_user_data,n.emit(ui.UPDATE,{marketingCookieConsent:s}))}catch(n){e.logCode(mt.CONSENT_API_ERROR,{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:t=>{i.checkHasDefaultConsent()?(o.topLevelDomain=t,r.topLevelDomain=t,r.initialize(),n.on("consentDefault",c),n.on("consentUpdate",l),i.initialize(),e.logCode(mt.CONSENT_API_INITIALIZED,{dataLayer:window.dataLayer})):(o.allowWriteToFuncStorage(),o.topLevelDomain=t,o.initialize(),r.topLevelDomain=t,r.initialize(),r.setupFuncCookie(),e.logCode(mt.CONSENT_API_DISABLED,{dataLayer:window.dataLayer}))}}}!function(e){e.UPDATE="sessionConsentUpdate"}(ui||(ui={}));class mi{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 hi=["APZMZAGU","AZFMPNQE","ARVHGABZ","AGSTXLKM"];var gi=s("./src/preloader/backdrop.css"),Ei=s.n(gi);function fi(e,t){if(e.body)return t();setTimeout(fi.bind(null,e,t),10)}const Ti="fun-widget-backdrop-spinner";class yi{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(yi.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()):fi(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="${yi.styleId}">${Ei()}</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(`#${Ti}`);return e&&e.remove(),this}showSpinner(){return this.container?(this.container.insertAdjacentHTML("afterbegin",`<div id=${Ti} class="fun-widget-backdrop" />`),this):(console.warn(3),this)}getActiveSource(){return this.activeSource}}yi.styleId="__funBackdropStyles";const _i="40px",vi=`\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: ${_i}px !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: 916px) {\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`;var Ai;!function(e){e.WITH_ASK_PAGE="withAskPage",e.NO_ASK_PAGE="noAskPage"}(Ai||(Ai={}));const Ci=`\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;\n    border-radius: 6px !important;\n  }\n\n  .fru-sm {\n    width: 100% !important;\n    background: #f3f4fa !important;\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    background: #fff !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    padding: 0 !important;\n    margin: 0 !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    width: 100% !important;\n    border-radius: 0 !important;\n    box-shadow: none !important;\n    margin: 0 !important;\n  }\n\n  .fru-ch {\n    padding: 8px 44px !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: 0 !important;\n    overflow: hidden !important;\n  }\n\n  .fru-cid {\n    width: 100% !important;\n    height: 202px !important;\n    background: #f3f4fa !important;\n    border-radius: 0 !important;\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-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    min-height: 0 !important;\n    background: #fff !important;\n    padding: 28px 32px !important;\n    border-radius: 0 !important;\n    border-top: 0 !important;\n    overflow: hidden !important;\n    width: 100% !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: 360px !important;\n    margin: 0 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: ${_i}px !important;\n  }\n\n  @media (min-width: 536px) {\n    .fru-wd {\n      width: 100% !important;\n      padding: 0 !important;\n    }\n  }\n\n  @media (min-width: 916px) {\n    .fru-sgf {\n      animation-delay: 0.25s !important;\n    }\n\n    .fru-sgc {\n      animation-delay: 0.1s !important;\n    }\n\n    .fru-wmd {\n      flex-direction: row !important;\n      align-items: flex-start !important;\n      padding-top: 20px !important;\n    }\n\n    .fru-wfd {\n      width: 50% !important;\n      display: flex !important;\n      justify-content: flex-end !important;\n      padding-right: 32px !important;\n      padding-left: 32px !important;\n    }\n\n    .fru-wcd {\n      width: 50% !important;\n      display: flex !important;\n      justify-content: flex-start !important;\n      padding-left: 32px !important;\n      padding-right: 32px !important;\n      height: auto !important;\n    }\n\n    .fru-cid {\n      height: 289px !important;\n    }\n\n    .fru-fcd {\n      max-width: 360px !important;\n    }\n  }\n`,Si=(e,t,n)=>n.indexOf(e)===t,wi=Symbol("CUSTOM_FINGERPRINT");Symbol("EXTRA"),Symbol("TAGS");var Ii=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 Ni=new Map;function Oi(e){return Ii(this,void 0,void 0,function*(){const t=new bi(e),n=Ni.get(e.url);e.cancelSimilar&&n&&n(),Ni.set(e.url,t.abort.bind(t));try{const n=yield t.send();return Ni.delete(e.url),n}catch(t){throw"AbortError"!==(null==t?void 0:t.originalErrorName)&&Ni.delete(e.url),t}})}class bi{constructor(e){this.options=e,this.abortController=function(){try{return void 0!==window.AbortController}catch(e){return!1}}()?new AbortController:null}abort(){var e;null===(e=this.abortController)||void 0===e||e.abort()}send(){return Ii(this,void 0,void 0,function*(){var e,t;const n=this.getUrl(),i=this.getHeaders(),o=this.getBody(),r=this.getCredentials();let s;try{s=yield 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 Ri(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"))?yield s.json():yield s.text(),a>=500&&this.options.rejectOnInvalid)throw new Ri(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 Ri extends Error{constructor(e,t,n,i,o,r){super(`[Checkout Shared]: Server ${n} response status ${e}, ${t} for url ${i}`),this.originalErrorName=o,this.isRequestError=!0,r&&(this[wi]=[i,t]),this.statusCode=e}}var Pi,Li,Di,ki=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 Mi(e,t,n,i,o){const r=[],s=new Map,a=!0===window.FUN_DASHBOARD,c=c=>ki(this,[c],void 0,function(c){let{keys:p,livemode:m,externalQueryParams:h,isDirectOpen:g}=c;return function*(){var c;const E=g?e.queryParams:(0,Xt.U)(window.location.href),f=Object.assign(E||{},h),T=((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,wn.test(d)?l.toUpperCase():(e=>In.test(e))(l)?l:"");if(e)return a.fundraisingPage=e,a}var l,d;return s.length&&(a.fundraisingPage=s[0]),a})(t,p,e.locale.code,null===(c=i.page)||void 0===c?void 0:c.pageViewId,f);if(l(T))return n.logCode(mt.EMPTY_RESOLVE_REQUEST),Promise.resolve();n.logCode(mt.SEND_RESOLVE_REQUEST,T);const y=u(m),_=Date.now();let v;const A=d(T),C=s.get(A);C&&!a?v=C:(v=yield Oi({method:"POST",url:y,headers:{"content-type":"text/plain; charset=utf-8"},params:T}).then(e=>e.data).catch(e=>{throw o.captureException(e),e}),s.set(A,v));const S={params:p,duration:Date.now()-_};return r.forEach(e=>e(v,S)),n.logCode(mt.GOT_RESOLVE_RESPONSE,{data:v,info:S}),v}()}),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(mt.RESOLVE_FUNDRAISING_PAGE,e),c({keys:e})),resolveKeys:e=>{let{keys:i,livemode:o,externalQueryParams:r,isDirectOpen:s}=e;const a=i.filter(Si).filter(e=>(e=>t.exists("WIDGET",e)||t.itLooksLikeKey("FUNDRAISING_PAGE",e))(e));return a.length?(n.logCode(mt.RESOLVE_KEYS,{keys:i}),c({keys:a,livemode:o,externalQueryParams:r,isDirectOpen:s})):Promise.resolve()},onResolve:e=>{r.push(e)},needResolve:e=>!s.has(e.join("_")),resolveGiftCatalogCart:(t,n)=>ki(this,void 0,void 0,function*(){try{return(yield Oi({method:"POST",url:e.server.giftCatalogResolveUrl,headers:{"content-type":"text/plain; charset=utf-8"},params:{campaign:t,items:n||[],locale:e.locale.code}})).data}catch(e){throw o.captureException(e),e}}),resolveGiftCheckout:(t,n)=>ki(this,void 0,void 0,function*(){try{const i=`${e.server.giftCheckoutResolveUrl}?key=${e.currentCompanyKey}`;return(yield Oi({method:"POST",url:i,headers:{"content-type":"text/plain; charset=utf-8"},params:{campaign:t,items:n||[],locale:e.locale.code}})).data}catch(e){throw o.captureException(e),e}})}}function xi(e,t){return function(e){return e!==Pi.TESTING}(e)?{domain:t,sameSite:"None",secure:!0}:{domain:t}}!function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing",e.LOAD="load"}(Pi||(Pi={})),function(e){e.STRING="string",e.OBJECT="object"}(Li||(Li={})),function(e){e.ENABLED="1"}(Di||(Di={}));class Ui{funSessionStorage;funStatStorage;env;disableNewCookies;topLevelDomain="";constructor(e,t,n,i){this.funSessionStorage=e,this.funStatStorage=t,this.env=n,this.disableNewCookies=i}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 Gi{env;storage;options;topLevelDomain="";cookieAttributes;constructor(e,t,n){this.env=e,this.storage=t,this.options=n}initialize(){this.cookieAttributes=xi(this.env,this.topLevelDomain)}setupFuncCookie(){if(this.options?.disableNewCookies)return;const e=this.getCookie(Yt.e.FUNC),t=this.getCookie(Yt.e.SESSION);!e&&t&&(this.setCookie(Yt.e.FUNC,t),this.options?.removeLegacyCookies&&this.removeLegacyCookie())}removeLegacyCookie(){this.removeCookie(Yt.e.SESSION)}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 Fi{STORAGE_KEY;storage;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 Ki extends Fi{storage;constructor(e){super(Yt.e.DEBUG,e),this.storage=e}}function Bi(){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 Vi=(e,t=jt.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!==Yt.e.CID}return window.FUN_DO_NOT_TRACK&&Bi().forEach(e=>{n(Yt.e.CID,{domain:e}),n(Yt.e.SESSION,{domain:e}),n(Yt.e.FUNC,{domain:e}),n(Yt.e.PERFORMANCE,{domain:e})}),window.FUN_ONLY_STRICTLY_NECESSARY_COOKIES&&Bi().forEach(e=>{n(Yt.e.SESSION,{domain:e}),n(Yt.e.FUNC,{domain:e}),n(Yt.e.PERFORMANCE,{domain:e})}),{get:function(n){if(i(n))return null;const o=t.get(n);if(!o)return null;if(e===Li.OBJECT){let e=null;return e=JSON.parse(o),e}return o},set:function(n,o,r){i(n)||(e===Li.OBJECT&&(o=JSON.stringify(o)),t.set(n,o,r))},remove:n}};class Hi{field;storage;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 zi;function ji(e,t){if(!Object.keys(zi).find(e=>zi[e]===t))throw new Error(`UNSUPPORTED_TYPE_OF_STORAGE ${t}`);return new Hi(e,Vi(t))}!function(e){e.STRING="string",e.OBJECT="object"}(zi||(zi={}));class Yi{storage=ji(Yt.e.PERFORMANCE,zi.STRING);get(){return this.storage.get()}set(e={}){this.storage.set(Di.ENABLED,e)}}class Xi{dictionary=new Map;reverseDictionary=new Map;constructor(e){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(Wi(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 Wi(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e||Array.isArray(e)}class $i{storage;zipper;disableNewCookies;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 qi extends $i{key=Yt.e.FUNC;get available(){if(this.disableNewCookies)return!1;const e=Boolean(this.storage.get(Yt.e.CID));return!e||e&&Boolean(this.storage.get(this.key))}}class Zi extends $i{key=Yt.e.SESSION;get available(){return!!this.disableNewCookies||Boolean(this.storage.get(Yt.e.CID))&&Boolean(this.storage.get(this.key))}}const Ji={topLevelDomain:"topLevelDomain",t:"topLevelDomain",gciw:"giftsCatalogCartItems.widgetKey",gcic:"giftsCatalogCartItems.currency",gcid:"giftsCatalogCartItems.items",gccw:"giftsCatalogCheckout.widgetKey",gccc:"giftsCatalogCheckout.currency",gccd:"giftsCatalogCheckout.donationItems",gsw:"givingCartState.widgetKey",gsq:"givingCartState.searchQuery",gsp:"givingCartState.currentPage",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",zccs:"zakatCalculator.currentStep",zccc:"zakatCalculator.currentCurrency",zcic:"zakatCalculator.initCurrency",zccm:"zakatCalculator.currentMetal",zcza:"zakatCalculator.zakatAmount",zcob:"zakatCalculator.ownsBusiness",zcbi:"zakatCalculator.businessInventory",zcbr:"zakatCalculator.businessAccountsReceivable",zcbc:"zakatCalculator.businessCashInAccounts",zcbl:"zakatCalculator.businessShortTermLiabilities",zcch:"zakatCalculator.cashOnHand",zcbb:"zakatCalculator.bankBalances",zccv:"zakatCalculator.cryptocurrencyValue",zcgm:"zakatCalculator.goldMode",zcgg:"zakatCalculator.goldGrams",zcgv:"zakatCalculator.goldValueManual",zcsm:"zakatCalculator.silverMode",zcsg:"zakatCalculator.silverGrams",zcsv:"zakatCalculator.silverValueManual",zcre:"zakatCalculator.resaleAssetsEnabled",zche:"zakatCalculator.holdingAssetsEnabled",zcti:"zakatCalculator.tradingInvestmentsAmount",zcrr:"zakatCalculator.realEstateForResaleAmount",zchs:"zakatCalculator.holdingStockAmount",zcrf:"zakatCalculator.retirementFundsAmount",zcrt:"zakatCalculator.receivablesTotal",zcce:"zakatCalculator.currentExpenses",zcab:"zakatCalculator.accruedBills",zctx:"zakatCalculator.taxes",zcdo:"zakatCalculator.debtsOwed",zcld:"zakatCalculator.longtermDebts"};class Qi{funLegacyStorage;funFuncStorage;disableNewCookies;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()}getPersistedData(){if(this.funFuncStorage.available){const e=this.funFuncStorage.getData();if(Object.keys(e).length>0)return e}return 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 eo{topLevelDomain="";storage=ji(Yt.e.CID,zi.STRING);constructor(e){this.topLevelDomain=e||""}get(){return this.storage.get()}set(e,t={}){this.storage.set(e,t)}remove(e){this.storage.remove({domain:e})}}var to=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 no{constructor(e){this.apiUrl=e,this.data={}}load(e){return to(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===he.ELEMENTS?yield this.downloadFromElements(e):yield this.downloadFromCheckout(e);return this.data[o]=r,r})}downloadFromElements(e){return to(this,arguments,void 0,function(e){var t=this;let{widgetKey:n,locale:i}=e;return function*(){const e=new URL(fn(t.apiUrl,hn.GOALS));e.searchParams.set("widgetKey",n),e.searchParams.set("locale",i);const o=e.toString();let r;try{r=yield fetch(o,{method:"GET"})}catch(e){const t=e instanceof Error?e.message:"Network Error";throw new Ri(0,t,"GET",o,e instanceof Error?e.name:void 0)}if(!r.ok)throw new Ri(r.status,r.statusText,"GET",o);return r.json()}()})}downloadFromCheckout(e){return to(this,arguments,void 0,function(e){var t=this;let{widgetKey:n,locale:i}=e;return function*(){return(yield Oi({method:"POST",url:`${t.apiUrl}/checkout/getGoals`,params:{widgetKey:n,locale:i}})).data}()})}}const io="dataLayerEventTracked",oo="pageViewed";class ro{constructor(e){this.name=oo,this.properties={},e&&(this.properties={legacy:{event:{comment:JSON.stringify(e)}}})}}class so{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 ro(e?JSON.parse(e):void 0))}}initializePointerUsageTracking(e){this.newTracker.initializePointerUsageTracking(e||this.window)}subscribe(e,t){this.newTracker.subscribe(t=>e(t),t)}removeEventTags(){}customTrack(){}getTags(){return[]}getTLD(){return""}setEventTags(){}}class ao extends We{get eventType(){return"ping"}}class co{tags=new Set;tracker;constructor(e){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}getTLD(){return this.tracker.getTLD()}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 ao;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 lo extends co{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 Je({customEventType:e.type,customEventData:e.data}))}}class uo extends Error{constructor(e){super(e),this.name=this.constructor.name}}class po extends uo{constructor(e){super(`Invalid client ID: ${e}`),this.name="InvalidClientIdError"}}class mo extends uo{constructor(e){super(`Event validation failed: ${e}`),this.name="EventValidationError"}}function ho(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:ho(e)}function go(e){return!!e&&20===e.length&&!/[^\d]/.test(e)}function Eo(){return(Date.now().toString()+ho(20)).slice(0,20)}class fo{constructor(e,t,n){this.clientId="",this.storage=e,this.window=t,this.serverClientId=n}initialize(){this.clientId=this.readClientId()}getClientId(){if(!go(this.clientId))throw new po(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(go(e))return this.storage.set(e),e;const t=this.storage.get()||"";if(go(t))return this.storage.set(t),t;if(go(this.serverClientId))return this.storage.set(this.serverClientId),this.serverClientId;const n=Eo();return this.storage.set(n),n}}var To;!function(e){e[e.FOUR_HUNDRED_DAYS=400]="FOUR_HUNDRED_DAYS"}(To||(To={}));class yo{constructor(e){this.funTrackerStorage=e}get(){return this.funTrackerStorage.get()}set(e){this.funTrackerStorage.set(e,{expires:To.FOUR_HUNDRED_DAYS,domain:this.funTrackerStorage.topLevelDomain,sameSite:"Lax"})}}const _o=[/^gtm\..*$/,/^__cmp.*$/,/^optimize\..*$/,/^setPromo$/,/^trackOptanonEvent$/,/^consentDataForTheRecord$/,/^optanonConsentUpdated$/,/^nextroll-consent$/,/^FundraiseUp\./,/^youtube/i];class vo{constructor(){this.ignoredEventPatterns=_o,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 Ao{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 Co{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 So(){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 wo{constructor(e){this.window=e}build(){const{navigator:e}=this.window;return{language:e.language,timezone:So(),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 Io{constructor(e,t){this.clientIdManager=e,this.clientConsentService=t}build(){return{id:this.clientIdManager.getClientId(),consents:this.clientConsentService.getConsents()}}}class No{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 Oo{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 bo{formatDownlink(e){if(void 0===e)return;const t=e||0;return"string"==typeof t?parseFloat(t)||0:t}}class Ro{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 Po{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 Lo;const Do=new Uint8Array(16);function ko(){if(!Lo){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Lo=crypto.getRandomValues.bind(crypto)}return Lo(Do)}const Mo=[];for(let e=0;e<256;++e)Mo.push((e+256).toString(16).slice(1));const xo={};function Uo(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 Go=function(e,t,n){let i;if(e)i=Uo(e.random??e.rng?.()??ko(),e.msecs,e.seq,t,n);else{const e=Date.now(),o=ko();!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++)}(xo,e,o),i=Uo(o,xo.msecs,xo.seq,t,n)}return t??function(e,t=0){return(Mo[e[t+0]]+Mo[e[t+1]]+Mo[e[t+2]]+Mo[e[t+3]]+"-"+Mo[e[t+4]]+Mo[e[t+5]]+"-"+Mo[e[t+6]]+Mo[e[t+7]]+"-"+Mo[e[t+8]]+Mo[e[t+9]]+"-"+Mo[e[t+10]]+Mo[e[t+11]]+Mo[e[t+12]]+Mo[e[t+13]]+Mo[e[t+14]]+Mo[e[t+15]]).toLowerCase()}(i)};class Fo{generate(){return Go()}}class Ko{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 Bo{static create(e,t,n,i){const o=new Fo,r=new Ro(t),s=new Po(t),a=new bo,c=o.generate(),l=new wo(t),d=new Io(e,s),u=new No(t,a,r),p=new Oo(t,c);return new Ko(n,l,d,u,p,i)}}class Vo{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 Ho=[oo],zo=["Failed to fetch","NetworkError when attempting to fetch resource.","Load failed"];function jo(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 Yo={};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])=>{Yo[t]=e});class Xo{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 Wo;!function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing",e.LOAD="load"}(Wo||(Wo={}));class $o{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!==Ho.indexOf(e.name)&&(t=!0),e.name===io&&-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===Wo.PRODUCTION&&(!!this.window.location.protocol.includes("file")||/127\.0|192\.168|localhost|localtest\.me/.test(this.window.location.hostname))}}class qo{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 mo(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}}class Zo{constructor(e,t){this.name=io,this.properties={legacy:{dataLayerEventName:e,customEvent:{type:"dataLayer",data:t}}}}}class Jo{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 mo)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 Zo(e,t))}),this.dataLayerTracker.initializeTracking(e,t))}reset(){this.pointerUsageTracker.reset()}setSupporterId(e){this.trackerPageContext.setSupporterId(e)}}function Qo(e){const{companyKey:t,appContext:n,env:i,logger:o,window:r,topLevelDomain:a,isABTestMode:c,trackingConfig:l,serverClientId:d}=e,u=new eo,p=new yo(u),m=new fo(p,r,d);m.initialize();const h=Bo.create(m,r,n),g=function(e){var t,n;const i=new Xo(e.requestHandler||jo,zo),o=new Vo({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 $o({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 Co,f=new Ao,T=function(e,t){const n=(()=>{return n=this,i=void 0,r=function*(){if(e!==Wo.PRODUCTION&&e!==Wo.STAGING&&e!==Wo.LOAD)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)})}},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})();return new qo(n)}(i,o),y=new vo;return new Jo(r,h,g,t,E,f,c,T,y)}class er extends We{constructor(e,t){super(),this.payload={dataLayerEventName:e,dataLayerParams:JSON.stringify(t)}}get eventType(){return He}}var tr=s("../../clickhouse/mapper/index.js");function nr(e,t){return t.encode?t.strict?encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):encodeURIComponent(e):e}function ir(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:ir(e)}function or(e){return!!e&&20===e.length&&!/[^\d]/.test(e)}class rr extends Error{name;constructor(e){super(`Invalid client ID: ${e}`),this.name="InvalidClientIdError"}}class sr{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 ar(){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 cr{window;publicApi;pageViewTimeCreate;resolutionWidth;resolutionHeight;pageViewId;_pageScripts=[];sideLibrariesLookupTries=1;launchedSiteScripts=[];searchedLibraries;funSnippetVersion;clientOnLine;clientDoNotTrack;clientDevicePixelRatio;clientDeviceMemory;clientHardwareConcurrency;clientConnectionType;clientConnectionDownlink;clientConnectionRTT;clientConnectionEffectiveType;clientBatteryCharging;clientBatteryChargingTime;clientBatteryDischargingTime;clientBatteryLevel;clientCookieConsent=[];constructor(e,t){var n;this.window=e,this.publicApi=t,this.pageViewId=ir(),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:ar(),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){const t=e.connection||e.mozConnection||e.webkitConnection;window.Navigator&&window.navigator instanceof window.Navigator&&"function"==typeof e.getBattery&&e.getBattery()?.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,t&&(this.clientConnectionType=t.type,this.clientConnectionDownlink=this.formatConnectionDownlink(t.downlink),this.clientConnectionRTT=t.rtt,this.clientConnectionEffectiveType=t.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(){return window.next||window.__next_f||this.window.document?.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 lr=[/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\)/];class dr{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}}const ur=[/^gtm\..*$/,/^__cmp.*$/,/^optimize\..*$/,/^setPromo$/,/^trackOptanonEvent$/,/^consentDataForTheRecord$/,/^optanonConsentUpdated$/,/^nextroll-consent$/,/^FundraiseUp\./,/^youtube/i];class pr{source;observer=new dr;debug;livemode;clientLocale;companyKey;supporterKey;agentKey;isFundraiseupVisitor;shadowUserKey;shadowAdminId;tags=new Set;uaIsInApp=!1;pointingDeviceIsUsed=!1;trackerEventClick=null;window;_clientId="";_page;eventSent=Date.now();cookiesUnsetable=!1;started=!1;pingDelay=15e3;isTouchDevice=!1;trackerClient;CIDStorage;subscriberStorage;isABTestMode;fromDonorPortal;serverClientId;sessionStorage;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:m,serverClientId:h,sessionStorage:g}){var E;this.window=e,this.trackerClient=i,this.livemode=a,this.companyKey=t,this.CIDStorage=n,this.subscriberStorage=new sr,this.uaIsInApp=(E=e.navigator.userAgent,lr.some(e=>e.exec(E))),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=m,this.serverClientId=h,this.sessionStorage=g}get page(){return this._page}get clientId(){if(this._clientId&&!or(this._clientId))throw new rr(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 cr(this.window,this.window.FundraiseUp),this.setupCookies(),this.started=!0,this.isTouchDevice="ontouchstart"in window||!!navigator.maxTouchPoints,this.initializeHandleClick(),this.initializeDataLayerTracking(),this.initializePointerUsageTracking()}initializeCidTLD(){if(!this.sessionStorage)throw new Error("Must provide Session Storage");this.read(),this._clientId||this.createOrSetClientId(this.CIDStorage.get());const e=function(e,t,n,i){const o=i.split("."),r=t.getPersistedField(Ye.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.set(n,{expires:400,domain:s,sameSite:"Lax"}),t.setData({[Ye.TOP_LEVEL_DOMAIN]:s},{domain:s}),s;s=o.splice(-1).join();for(let i=o.length;i>0;i--){const i=o.splice(-1).join();if("www"===i)return"."+s;if(s=i+"."+s,e.set(n,{expires:400,domain:s,sameSite:"Lax"}),e.get())return t.setData({[Ye.TOP_LEVEL_DOMAIN]:"."+s},{domain:"."+s}),"."+s}}(this.CIDStorage,this.sessionStorage,this.clientId,this.window.location.hostname);this.CIDStorage.topLevelDomain=e??""}getTLD(){return this.CIDStorage.topLevelDomain}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 ao;this.track(n,t)}customTrack(e){this.track(new Je({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()+ir(20)).slice(0,20)}write(){this._clientId&&this.CIDStorage.set(this.clientId,{expires:400,domain:this.CIDStorage.topLevelDomain,sameSite:"Lax"})}read(){const e=Fn(this.window.location.href).clientId||"",t=this.CIDStorage.get()||"";or(e)?this._clientId=e:or(t)?this._clientId=t:or(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&&!ur.some(e=>e.test(n))},i=e=>{if(n(e)){const n=t(e);this.track(new er(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 mr{timeout;limit;timeoutInstance=0;items=[];onFlush;constructor(e){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 hr,gr,Er;function fr(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(`[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;r&&"object"==typeof r&&(r=JSON.stringify(r)),i.send(r)}(e,t,n)})}!function(e){e.CHECKOUT="checkout"}(hr||(hr={})),function(e){e.TOP="top",e.LEFT="left",e.FOREGROUND="foreground"}(gr||(gr={})),function(e){e.DEVELOPMENT="development",e.PRODUCTION="production",e.STAGING="staging",e.TESTING="testing",e.LOAD="load"}(Er||(Er={}));const Tr=[Be,"click",Ke,"checkoutClose",Ve];class yr{bulk;request=fr;window;url;trackingTarget;env;possibleAdBlockersErrorMessages=["Failed to fetch","NetworkError when attempting to fetch resource.","Load failed"];constructor(e){this.window=e.window,this.url=e.url,this.trackingTarget=e.trackingTarget,this.env=e.env,this.bulk=new mr({limit:30,onFlush:e=>this.sendRequests(e)})}send(e,t){if((window.FUN_DO_NOT_TRACK||this.isBlockedByDomain())&&(!t||t&&t.trackerType!==hr.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?nr(t,e):[nr(t,e),"=",nr(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 nr(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 nr(t,n)+"="+nr(o,n)}).filter(function(e){return e.length>0}).join("&"):""}((0,tr.compressPayload)(e))}(e),i=t?.url||this.url;let o=-1!==Tr.indexOf(e.eventType);e.eventType===He&&-1!==this.window.location.href.indexOf("alz.org")&&(o=!0),this.bulk.push({url:i+this.trackingTarget,payload:n},o)}isBlockedByDomain(){return this.env===Er.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})}}var _r,vr,Ar;!function(e){e[e.CHECKOUT=13]="CHECKOUT"}(_r||(_r={})),function(e){e.EMBED="embed"}(vr||(vr={}));class Cr{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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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:Object.assign(Object.assign({},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 Sr extends Cr{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/,/Load failed/]}getTagsFromConfig(){var e,t,n,i,o,r;return Object.assign(Object.assign({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},void 0!==this.embedConfig.verifiedBot&&{verifiedBot:this.embedConfig.verifiedBot}),void 0!==this.embedConfig.clientASNIsBot&&{clientASNIsBot:this.embedConfig.clientASNIsBot})}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 wr{funStorageAdapter;env;_allowWrite;_inMemoryStorage={};constructor(e,t){this.funStorageAdapter=e,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({[Ye.TOP_LEVEL_DOMAIN]:e},t)}getField(e){const t=this.getData();return t&&e in t?t[e]:null}getPersistedField(e){const t=this.funStorageAdapter.getPersistedData();return t&&e in t?t[e]:null}setField(e,t){const n=this.getData()||{};n[e]=t;const i=xi(this.env,n[Ye.TOP_LEVEL_DOMAIN]);this.setData(n,i)}removeField(e){const t=this.getData();delete t[e];const n=xi(this.env,t[Ye.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[Ye.TOP_LEVEL_DOMAIN])return void console.error("Session Storage error: Top level domain is not set");const e=xi(this.env,this.inMemoryStorage[Ye.TOP_LEVEL_DOMAIN]);this.funStorageAdapter.initFuncStorage(this.inMemoryStorage,e)}get inMemoryStorage(){return{...this._inMemoryStorage}}set inMemoryStorage(e){this._inMemoryStorage=e}}class Ir{storage;sessionPage;sessionAt;initAt;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(Ye.SESSION_AT,this.sessionAt.toString(10)),this.storage.setField(Ye.SESSION_PAGE,this.sessionPage)}read(){this.sessionAt=Number(this.storage.getField(Ye.SESSION_AT))||0,this.sessionPage=Number(this.storage.getField(Ye.SESSION_PAGE))||0}}!function(e){e.DONOR_PORTAL="donorPortal",e.DASHBOARD="dashboard",e.DASHBOARD_USER="dashboardUser"}(Ar||(Ar={}));class Nr{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();fi(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 Or{constructor(e,t){this.window=e,this.isMobile=t,this.isLocked=!1}lock(){this.isLocked||(this.saveDefaultStyles(),this.bodyStyle.setProperty(Or.overflowStyleProp,"hidden","important"),this.isMobile||(this.bodyStyle.setProperty(Or.heightStyleProp,"auto","important"),this.bodyStyle.setProperty(Or.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(Or.overflowStyleProp),priority:this.bodyStyle.getPropertyPriority(Or.overflowStyleProp)},this.isMobile||(this.height={value:this.bodyStyle.getPropertyValue(Or.heightStyleProp),priority:this.bodyStyle.getPropertyPriority(Or.heightStyleProp)},this.minHeight={value:this.bodyStyle.getPropertyValue(Or.minHeightStyleProp),priority:this.bodyStyle.getPropertyPriority(Or.minHeightStyleProp)})}restoreDefaultStyles(){var e,t,n;(null===(e=this.overflow)||void 0===e?void 0:e.value)?this.bodyStyle.setProperty(Or.overflowStyleProp,this.overflow.value,this.overflow.priority):this.bodyStyle.removeProperty(Or.overflowStyleProp),this.isMobile||((null===(t=this.height)||void 0===t?void 0:t.value)?this.bodyStyle.setProperty(Or.heightStyleProp,this.height.value,this.height.priority):this.bodyStyle.removeProperty(Or.heightStyleProp),(null===(n=this.minHeight)||void 0===n?void 0:n.value)?this.bodyStyle.setProperty(Or.minHeightStyleProp,this.minHeight.value,this.minHeight.priority):this.bodyStyle.removeProperty(Or.minHeightStyleProp))}}Or.overflowStyleProp="overflow",Or.heightStyleProp="height",Or.minHeightStyleProp="min-height";class br{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(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).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=>{let[t,n]=e;Object.entries(n).forEach(e=>{let[n,i]=e;i.forEach(e=>{const[i]=e,o=this.normalize(i);this.campaignGroupMap.set(o,t),this.campaignSubGroupMap.set(o,n)})})})}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(tn),"ELEMENT"),this.elementsMap.set(this.normalize(tn),ge.DEBUG_PANEL)}exists(e,t){const n="string"==typeof e?[e]:e,i=this.normalize(t);return n.some(e=>this.index.get(i)===e)}isWidgetKeyExists(e){const t=e=>this.exists("WIDGET",e)||this.exists("FUNDRAISING_PAGE",e);return"string"==typeof e?t(e):e.some(e=>t(e))}itLooksLikeKey(e,t){return"WIDGET"===e?Nn.test(this.normalize(t)):"ELEMENT"===e?vn.test(t):wn.test(t)}normalize(e){if(!e)return"";const t=e.slice("#"===e[0]?1:0);return Nn.test(t)||vn.test(t)||wn.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=>wn.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))}}let Rr=null,Pr=null;function Lr(){if(Rr)return Promise.resolve(Rr);if(Pr)return Pr;const e=(0,on.w)(),t=e.get(fe.i.STATIC_CONFIG);return Pr=Promise.all([n(t.giftItemDescriptionApiScriptUrl),n(t.giftCatalogApiScriptUrl),n(t.givingCartBasketButtonScriptUrl)]).then(()=>{const t=e.get(fe.i.GIFT_CATALOG_API);if(!t)throw new Error("Gift Catalog API not found in container");return Rr=t,t}).catch(e=>{throw Pr=null,e}),Pr}const Dr="giftCatalogCartItemsCountUpdated",kr="givingCartValidationError",Mr=e=>"string"==typeof e&&""!==e.trim()?e:void 0,xr=e=>{if(!(e=>!!e&&(e=>void 0!==e.designations&&Array.isArray(e.designations)&&e.designations.length>0)(e)&&(e=>{var t;return void 0!==(null===(t=e.donation)||void 0===t?void 0:t.donationItems)&&Array.isArray(e.donation.donationItems)&&e.donation.donationItems.length>0})(e)&&(e=>void 0!==e.donation&&void 0!==e.donation.currency)(e))(e))return{checkoutExternalParams:{launcher:{element:{type:ge.JS_API}}}};const t=e.designations.filter(e=>!Mr(e.key));if(t.length>0)throw new Error(`Invalid designations: each designation must have a valid key. Found ${t.length} invalid designation(s).`);const n=e.donation.donationItems.filter(e=>"number"!=typeof e.amount||!e.frequency||!Mr(e.goalKey));if(n.length>0)throw new Error(`Invalid donationItems: each donationItem must have required fields (amount, frequency, goalKey). Found ${n.length} invalid donationItem(s).`);const i=e.designations.map(e=>{var t,n,i;return{id:Mr(e.id),isEditable:e.isEditable,key:Mr(e.key),code:Mr(e.code),repeat:e.repeat,default:null!==(t=e.default)&&void 0!==t?t:null,localization:e.localization,frequency:null!==(n=e.frequency)&&void 0!==n?n:null,image:null!==(i=e.image)&&void 0!==i?i:null}}),o=e.donation.donationItems.map(e=>({amount:e.amount,frequency:e.frequency,goalKey:Mr(e.goalKey)})),r={currency:Mr(e.donation.currency),shouldApplyDonationItems:e.donation.shouldApplyDonationItems,donationItems:o};return{checkoutExternalParams:{launcher:{element:{type:ge.JS_API},checkoutInitialData:{designations:i,donation:r}}}}};var Ur=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 Gr=(e,t,i,o,r,s,a,c,l,d)=>{const u=new Map;let p=null,m=null,h=0;const g=()=>Promise.all([n(r.server.givingCartBasketButtonScriptUrl),...r.server.giftCatalogCartAssets.scripts.map(e=>n(e))]),E=()=>n(r.server.givingCartValidationPopupScriptUrl).catch(e=>(console.error("Failed to load gift catalog validation popup script:",e),!1)),f=(n,i,o)=>Ur(void 0,void 0,void 0,function*(){s.logCode(mt.OPEN_GIFT_CART);const c=++h,d=l.getDataByWidget(n),u=o&&o.length?o:d.items;if(yield Promise.all([g().catch(e=>{throw new Error(`Unable to load Cart for widget ${n}: ${e}`)}),E()]),c!==h)return;const p=yield e.resolveGiftCatalogCart(n,u).catch(e=>{throw new Error(`Unable to load Cart for widget ${n}: ${e}`)});c===h&&(m=a()(t,r.locale.code,r.data.currencyRates.rates),m.openCart(n,i,d.currency,p.items.upsell,p.items.cart))});return t.on("openGiftCatalogCheckout",e=>{let{widgetKey:t,currency:n,donationItems:i}=e;l.saveCheckoutState(t,n,i);const o={launcher:{checkoutInitialData:{donation:{currency:n,shouldApplyDonationItems:!0,donationItems:i}}}};c.open(t,o)}),t.on("openGiftCatalogCheckoutFromCatalog",e=>{l.saveCheckoutState(e.widgetKey,e.currency,e.donationItems);const t={launcher:{checkoutInitialData:{donation:{currency:e.currency,shouldApplyDonationItems:!0,donationItems:e.donationItems}}}};c.open(e.widgetKey,t)}),t.on("openGiftCatalogCartFromCatalog",e=>{let{widgetKey:t,currency:n,items:i}=e;f(t,n,i)}),{initialize:()=>Wt().then(()=>Ur(void 0,void 0,void 0,function*(){const e=i.findGiftCatalogs();e.forEach(e=>{const t=u.get(e.key)||[];u.set(e.key,[...t,e])});const t=e.map(e=>{let{key:t}=e;return t}).filter(e=>o.exists("WIDGET",e));if(!t.length)return;yield g(),E();(e=>{const t=r.server.giftCatalogsUrl;en(`${t}/${e}.js`)})(t[0])})).catch(e=>console.error(e)),addCatalogContent:e=>{s.logCode(mt.LOADED_GIFT_CATALOG,{catalog:e});const t=e.data;if(!t)return Promise.resolve();const n={key:e.key,config:e.config,data:t};if(p)return Promise.resolve();const i=u.get(e.key);return i&&i.length?(p=e.key,((e,t)=>Lr().then(n=>(n.initialize(t.config,t.data),n.renderGiftCatalog(e.node))))(i[0],n).then(()=>{u.delete(e.key)})):Promise.resolve()},createShowcase:(e,t,n,i)=>Ur(void 0,void 0,void 0,function*(){if(null==n?void 0:n.signal.aborted)return Promise.resolve();const o=yield Lr();return(null==n?void 0:n.signal.aborted)?Promise.resolve():(o.initialize(t.config,t.data),yield o.renderGiftCatalog(e),(null==n?void 0:n.signal.aborted)?Promise.resolve():(i&&o.openItemDescription(i),o))}),openCart:f,openCartPreview:(e,n,i,o)=>Ur(void 0,void 0,void 0,function*(){s.logCode(mt.OPEN_GIFT_CART);const c=++h;yield g().catch(t=>{throw new Error(`Unable to load Cart for widget ${e}: ${t}`)}),c===h&&(m=a()(t,r.locale.code,r.data.currencyRates.rates),m.openCart(e,n,null,o,i))}),closeCart:()=>{h+=1,null==m||m.closeCart()},openCheckout:(e,t)=>{s.logCode(mt.OPEN_GIFT_CHECKOUT);const{checkoutExternalParams:n}=xr(t);return c.open(e,n),Promise.resolve()},openCheckoutByUrl:(e,t)=>{var n;s.logCode(mt.OPEN_GIFT_CHECKOUT);const i=d.getCheckoutState();if(!i||i.widgetKey!==e)return Promise.resolve();const o=t||{},r=i.donationItems.map(e=>({amount:e.amount,frequency:e.frequency,goalKey:e.goalKey}));return o.launcher=Object.assign(Object.assign({},o.launcher),{checkoutInitialData:Object.assign(Object.assign({},null===(n=o.launcher)||void 0===n?void 0:n.checkoutInitialData),{donation:{currency:i.currency,shouldApplyDonationItems:!0,donationItems:r}})}),c.open(e,o),Promise.resolve()}}};const Fr=e=>{let t=0;for(const n of e)t+=n.amount;return t},Kr=(e,t,n,i)=>{return o=void 0,r=void 0,a=function*(){const o=(e=>{const t=(0,Xt.U)(window.location.href),n=Object.assign(Object.assign({},null==e?void 0:e.queryParams),t);return{queryParams:n,hasRestoreToken:Boolean(n.restoreToken&&n.clientId)}})(t),r=((e,t)=>{var n,i,o;const r=null===(o=null===(i=null===(n=e.launcher)||void 0===n?void 0:n.checkoutInitialData)||void 0===i?void 0:i.donation)||void 0===o?void 0:o.donationItems;if(!t&&!(null==r?void 0:r.length))throw new Error("Donation items are missing");return r||[]})(i,o.hasRestoreToken),s=yield n.resolveGiftCheckout(e,r),a=((e,t,n)=>{const i=e.launcher||{},o=i.checkoutInitialData||{},r=o.donation||{};return n||(r.donationItems=t.catalog.donationItems,r.shouldApplyDonationItems=!0),o.designations=t.catalog.goals,o.donation=r,i.checkoutInitialData=o,i})(i,s,o.hasRestoreToken);return{infrastructureQueryParams:o.queryParams,resolveData:s,launcher:a}},new((s=void 0)||(s=Promise))(function(e,t){function n(e){try{c(a.next(e))}catch(e){t(e)}}function i(e){try{c(a.throw(e))}catch(e){t(e)}}function c(t){var o;t.done?e(t.value):(o=t.value,o instanceof s?o:new s(function(e){e(o)})).then(n,i)}c((a=a.apply(o,r||[])).next())});var o,r,s,a};var Br=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 Vr=(e,t,i,o,r,s,a,c,l,d,u,p)=>{let m=!1;const h=ct(i.locale.code)===nt.RTL,g=()=>{o.hide()},E=e=>{const{checkoutApi:t,key:n}=e;t.on("close",()=>{m=!1}),t.on("donationComplete",()=>{const e=p.getCheckoutState();(null==e?void 0:e.widgetKey)===n&&p.clearCheckoutState()})},f=()=>Br(void 0,void 0,void 0,function*(){const e=i.server.giftCatalogCheckoutAssets.scripts.filter(e=>!(!h&&e.includes("gift-catalog-checkout-rtl-styles")||h&&e.includes("gift-catalog-checkout-styles")));yield Promise.all(e.map(e=>n(e)))});return{loadGiftCatalogCheckoutScripts:f,open:function(t){for(var n=arguments.length,p=new Array(n>1?n-1:0),T=1;T<n;T++)p[T-1]=arguments[T];return Br(void 0,[t,...p],void 0,function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){if(m)return;if(!r.isWidgetKeyExists(t))return;const p=Ge(i.queryParams||{}),T=Date.now();return m=!0,((e,t)=>{o.render({campaignKey:e,isMobile:i.isMobile,isLivemode:t,isRtl:h})})(t,p),((t,n,o,p)=>Br(void 0,void 0,void 0,function*(){try{const m=yield Kr(t,i,e,o);o.launcher=m.launcher,yield((e,t,n,o,p,m)=>Br(void 0,void 0,void 0,function*(){var h;yield f(),a.emit("checkoutBeforeOpen",void 0);const g=yield d()(s,r,a,l,{resolvedConfig:n,trackingUrls:i.server.trackingUrls,currencyRates:i.data.currencyRates,env:i.server.env,pendingRequests:{goals:new Promise(e=>e(null))},paymentMethods:i.paymentMethods,livemode:i.livemode,isMobile:i.isMobile,isMobileSafari16:i.deviceData.isMobileSafari16,showcase:!1,externalParams:t,integrations:i.integrations,localeCode:i.locale.code,userMeta:null===(h=i.meta)||void 0===h?void 0:h.user,infrastructureQueryParams:o,checkoutOpenTimestamp:p,htmlElementStyleManager:c,embedVersion:i.version,mainDomain:i.server.mainDomain,experimentsConfig:i.experimentsConfig,browserData:i.browserData,isDebugMode:i.isDebugMode,isFundraiseupVisitor:i.isFundraiseupVisitor,isAbTestMode:i.abTestDemoMode,steplessCheckoutExperimentVariant:"",steplessCheckoutExperimentExcluded:!0,fromDonorPortal:i.fromDonorPortal,initialMarketingCookieConsent:u.getUserSessionConsent()});g&&E({checkoutApi:g,key:e,options:t,isLivemode:m})}))(t,o,m.resolveData,m.infrastructureQueryParams,p,n),setTimeout(()=>{g()},150)}catch(e){throw m=!1,g(),console.error(e),e}}))(t,p,n,T)}()})}}};function Hr(e){return{goalKey:e.goalKey,amount:e.amount,frequency:e.frequency}}var zr;!function(e){e.ITEMS_LIMIT_EXCEEDED="ITEMS_LIMIT_EXCEEDED",e.AMOUNT_LIMIT_EXCEEDED="AMOUNT_LIMIT_EXCEEDED"}(zr||(zr={}));function jr(e){if(!e)return[];const t=[],n=e.split(";");for(const e of n){if(!e)continue;const n=e.split(",");if(3!==n.length)continue;const[i,o,r]=n;if(!i||!r||!o||""===o.trim())continue;const s=Number(o);Number.isFinite(s)&&t.push({goalKey:i,amount:s,frequency:r})}return t}function Yr(e){let t="";for(const n of e)t+=`${n.goalKey},${n.amount},${n.frequency};`;return t}class Xr{funSessionStorage;constructor(e){this.funSessionStorage=e}getDataByWidget(e){const t=this.getCartStateByWidget(e);return{items:t?jr(t.items):[],currency:t?t.currency:null}}addItem(e,t,n){const i=this.getCartStateByWidget(e),o=i?[...jr(i.items),n]:[n];this.saveCartState({widgetKey:e,currency:t,items:Yr(o)})}resetItemsByWidget(e,t,n){n.length?this.saveCartState({widgetKey:e,currency:t,items:Yr(n)}):this.clear(e)}clear(e){const t=this.getCartState();t&&t.widgetKey===e&&this.funSessionStorage.removeField(Ye.GIFT_CATALOG_CART_ITEMS)}getItemCount(e){return this.getDataByWidget(e).items.length}setCheckoutState(e,t,n){this.funSessionStorage.setField(Ye.GIFT_CATALOG_CHECKOUT,{widgetKey:e,currency:t,donationItems:Yr(n)})}getCheckoutState(){const e=this.funSessionStorage.getField(Ye.GIFT_CATALOG_CHECKOUT);return function(e){if(!e||"object"!=typeof e)return!1;const t=e;return Boolean(t.widgetKey&&t.currency&&"string"==typeof t.donationItems&&t.donationItems.length)}(e)?{...e,donationItems:jr(e.donationItems)}:null}clearCheckoutState(){this.funSessionStorage.removeField(Ye.GIFT_CATALOG_CHECKOUT)}getCartState(){const e=this.funSessionStorage.getField(Ye.GIFT_CATALOG_CART_ITEMS);return e?Array.isArray(e)?null:e:null}getCartStateByWidget(e){const t=this.funSessionStorage.getField(Ye.GIFT_CATALOG_CART_ITEMS);return t?Array.isArray(t)?null:t.widgetKey===e?t:null:null}saveCartState(e){this.funSessionStorage.setField(Ye.GIFT_CATALOG_CART_ITEMS,e)}}function Wr(t){const n=(0,on.w)(),i=function(e){let{trackingUrls:t,isAbTestMode:n,donorPortalUrl:i,companyKey:o}=e;if(n){const e=hi.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(fe.i.STATIC_CONFIG,()=>Object.freeze(t.staticConfig)).provide(fe.i.TRACKING_URLS,()=>Object.freeze(i)).provide(fe.i.HTML_ELEMENT_STYLE_MANAGER,()=>new Nr(window)).provide(fe.i.EMBED_CONFIG,()=>function(e,t,n,i,o,r,s,a,c,l){const d=(0,Xt.U)(window.FundraiseUp.h||window.location.href),u=Ge(d),p=void 0!==jt.A.get(Yt.e.DEBUG),m=a.get(),h=(null==m?void 0:m.disableIsFundraiseupVisitor)||!1,g=n.clientId,E=new zt({window,queryParams:d,companyLocalizationSettings:t.localization,companyKey:t.key}).getConfig(),f=`${r}/gift-cart/resolve`,T=`${r}/gift-checkout/resolve`,y=window.FUN_CDN||`https://cdn.${n.mainDomain}`,_={version:o,livemode:u,locale:E,currentCompanyKey:t.key,currentCompany:t,loadedTimestamp:i,meta:c,queryParams:d,staticConfig:n,inactiveWidgets:l,clientId:g,get isMobile(){return window.FUN_FORCE_MOBILE||_.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,turnstileSiteKey:n.turnstileSiteKey}},get server(){return{mainDomain:n.mainDomain,env:n.env,elementsApiScriptUrl:n.elementsApiScriptUrl,giftCatalogApiScriptUrl:n.giftCatalogApiScriptUrl,giftItemDescriptionApiScriptUrl:n.giftItemDescriptionApiScriptUrl,trackingUrls:Object.assign({},e),resolveUrl:`${r}/checkout/resolve?key=${t.key}`,giftCatalogResolveUrl:f,giftCheckoutResolveUrl:T,checkoutAssets:n.checkoutAssets,givingCartBasketButtonScriptUrl:n.givingCartBasketButtonScriptUrl,givingCartValidationPopupScriptUrl:n.givingCartValidationPopupScriptUrl,giftCatalogCartAssets:n.giftCatalogCartAssets,checkoutSteplessAssets:n.checkoutSteplessAssets,giftCatalogCheckoutAssets:n.giftCatalogCheckoutAssets,elementsUrl:`${s}/embed-data/`,giftCatalogsUrl:`${y}/gift-catalogs`}},get data(){return{currencyRates:Object.assign({},n.currencyRates)}},get isDebugMode(){return p},get isFundraiseupVisitor(){return Boolean(n.isFundraiseupVisitor&&!h)},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},get verifiedBot(){return n.verifiedBot},get clientASNIsBot(){return n.clientASNIsBot}};return _}(n.get(fe.i.TRACKING_URLS),t.company,n.get(fe.i.STATIC_CONFIG),t.loadedTimestamp,t.version,un,mn,n.get(fe.i.FUN_EXPERIMENTS_STORAGE),t.meta,t.knownKeys.inactiveWidgets)).provide(fe.i.BACKDROP,()=>new yi(window,new Or(window,t.staticConfig.deviceData.isMobile),n.get(fe.i.EVENT_EMITTER))).provide(fe.i.CHECKOUT_SKELETON,()=>((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)===Ai.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):fi(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(vi)),n.prepend(t)})()},hide:()=>{n&&(n.classList.add("fru-m-a"),n.remove())}}})(window,n.get(fe.i.KEYS_KEEPER))).provide(fe.i.GIFT_CATALOG_CHECKOUT_SKELETON,()=>(e=>{let t;return{render:n=>{try{t=e.document.createElement("div"),t.classList.add("fru-m"),n.isLivemode||t.classList.add("fru-nlm"),n.isRtl&&t.setAttribute("dir","rtl"),e.document.body?e.document.body.appendChild(t):fi(e.document,()=>{t&&e.document.body.appendChild(t)}),t.innerHTML=(e=>{let{isMobile:t}=e;return t?'<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>':'<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 class="fru-wcd" data-qa="dsc">\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>\n  </div>'})({isMobile:n.isMobile}),(()=>{if(!t)return;const n=e.document.createElement("style");n.appendChild(e.document.createTextNode(Ci)),t.prepend(n)})()}catch(e){console.error("Error rendering gift catalog checkout skeleton:",e)}},hide:()=>{t&&(t.classList.add("fru-m-a"),t.remove())}}})(window)).provide(fe.i.SENTRY_CLIENT,()=>{return e=n.get(fe.i.STATIC_CONFIG),i=n.get(fe.i.EMBED_CONFIG),o=t.version,new Sr((e,t)=>fetch(e,t),e.sentryApiKey,vr.EMBED,o,e.env,_r.CHECKOUT,i);var e,i,o}).provide(fe.i.DEBUG,()=>new e.y("embed",t.debugLogCodes)).provide(fe.i.KEYS_KEEPER,()=>new br(t.knownKeys)).provide(fe.i.FUN_SESSION_STORAGE,()=>new wr(function(){const e=Vi(Li.OBJECT),t=new Xi(Ji),n=new Zi(e,t,window.FUN_DISABLE_NEW_COOKIES),i=new qi(e,t,window.FUN_DISABLE_NEW_COOKIES);return new Qi(n,i,window.FUN_DISABLE_NEW_COOKIES)}(),{env:t.staticConfig.env,allowWrite:!1})).provide(fe.i.USER_SESSION,()=>new Ir(n.get(fe.i.FUN_SESSION_STORAGE))).provide(fe.i.FUN_COOKIES_MANAGER,()=>{return e=n.get(fe.i.FUN_SESSION_STORAGE),i=n.get(fe.i.FUN_STAT_STORAGE),o=t.staticConfig.env,r=window.FUN_DISABLE_NEW_COOKIES,new Ui(e,i,o,r);var e,i,o,r}).provide(fe.i.FUN_STAT_STORAGE,()=>new Yi).provide(fe.i.FUN_TRACKER_STORAGE,()=>new eo).provide(fe.i.FUN_COOKIES_MIGRATOR,()=>{return e=t.staticConfig.env,n=window.FUN_DISABLE_NEW_COOKIES,new Gi(e,jt.A,{disableNewCookies:n});var e,n}).provide(fe.i.EMBED_TRACKER,()=>function(e){return Hn()&&window.FUN_DEV_NEW_TRACKING?function(e){let t;if(e.funTracker)t=e.funTracker;else{const n=e.funTrackerStorage.topLevelDomain;t=Qo({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:"/api/session"},serverClientId:e.embedConfig.clientId}),t.subscribe(t=>e.debug.log(t.name||"",t),"debug"),t.initializeTracking()}const n=new so(window,t,e.embedConfig.locale.code);return new lo(n,{funEmbedRelease:e.funEmbedRelease,isFundraiseupVisitor:e.isFundraiseupVisitor})}(e):function(e){let t;if(e.funTracker)t=e.funTracker;else{const n=new yr({window:e.window,url:e.globalURL,trackingTarget:"/tb",env:e.env});t=new pr({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,sessionStorage:e.sessionStorage}),t.initializeCidTLD(),t.subscribe(t=>e.debug.log(t.eventType||"",t),"debug"),t.start()}return new lo(t,{funEmbedRelease:e.funEmbedRelease,isFundraiseupVisitor:e.isFundraiseupVisitor})}(e)}({window,funEmbedRelease:t.version,embedConfig:n.get(fe.i.EMBED_CONFIG),debug:n.get(fe.i.DEBUG).createInstance("Tracking"),globalURL:i.global,funTracker:window.FUN_TRACKER,isFundraiseupVisitor:t.staticConfig.isFundraiseupVisitor?1:0,funTrackerStorage:n.get(fe.i.FUN_TRACKER_STORAGE),source:t.staticConfig.fromDonorPortal?Ar.DONOR_PORTAL:void 0,env:t.staticConfig.env,sessionStorage:n.get(fe.i.FUN_SESSION_STORAGE)})).provide(fe.i.EXPERIMENTS_CONTROLLER,()=>{return e=n.get(fe.i.EMBED_CONFIG),t=n.get(fe.i.EMBED_TRACKER),i=n.get(fe.i.FUN_EXPERIMENTS_STORAGE),new ni({companyKey:e.currentCompanyKey,parentCompanyKey:(null===(o=e.currentCompany)||void 0===o?void 0:o.parentKey)||null,tracker:t,experimentsSettings:Qn(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(fe.i.COLLECTOR,()=>si(n.get(fe.i.KEYS_KEEPER),n.get(fe.i.DEBUG).createInstance("Collector"))).provide(fe.i.RESOLVER,()=>Mi(n.get(fe.i.EMBED_CONFIG),n.get(fe.i.KEYS_KEEPER),n.get(fe.i.DEBUG).createInstance("CommonResolver"),n.get(fe.i.EMBED_TRACKER),n.get(fe.i.SENTRY_CLIENT))).provide(fe.i.EMBED_ELEMENTS_API,()=>dn(n.get(fe.i.COLLECTOR),n.get(fe.i.KEYS_KEEPER),n.get(fe.i.EMBED_CHECKOUT_API),n.get(fe.i.EMBED_CONFIG),n.get(fe.i.DEBUG),n.get(fe.i.EMBED_TRACKER),n.get(fe.i.EMBED_ELEMENTS_URL_API),()=>n.get(fe.i.EMBED_INTERNAL_API))).provide(fe.i.EMBED_GIFT_CATALOG_CHECKOUT_API,()=>Vr(n.get(fe.i.RESOLVER),n.get(fe.i.DEBUG),n.get(fe.i.EMBED_CONFIG),n.get(fe.i.GIFT_CATALOG_CHECKOUT_SKELETON),n.get(fe.i.KEYS_KEEPER),n.get(fe.i.EMBED_TRACKER),n.get(fe.i.EVENT_EMITTER),n.get(fe.i.HTML_ELEMENT_STYLE_MANAGER),n.get(fe.i.FUN_SESSION_STORAGE),()=>n.get(fe.i.GIFT_CATALOG_CHECKOUT),n.get(fe.i.CONSENT_MANAGER_API),n.get(fe.i.FUN_GIFT_STORAGE))).provide(fe.i.EMBED_GIFT_CATALOG_API,()=>Gr(n.get(fe.i.RESOLVER),n.get(fe.i.EVENT_EMITTER),n.get(fe.i.COLLECTOR),n.get(fe.i.KEYS_KEEPER),n.get(fe.i.EMBED_CONFIG),n.get(fe.i.DEBUG),()=>n.get(fe.i.GIFT_CATALOG_CART),n.get(fe.i.EMBED_GIFT_CATALOG_CHECKOUT_API),n.get(fe.i.GIFT_CATALOG_CART_COOKIE_SERVICE),n.get(fe.i.FUN_GIFT_STORAGE))).provide(fe.i.FUN_GIFT_STORAGE,()=>{return e=n.get(fe.i.FUN_SESSION_STORAGE),new Xr(e);var e}).provide(fe.i.GIFT_CATALOG_CART_COOKIE_SERVICE,()=>((e,t)=>{const n=(n,i,o)=>{const r=o.map(e=>Hr(e));t.resetItemsByWidget(n,i,r),e.emit(Dr,{widgetKey:n,itemsCount:r.length})},i=e=>{const n=t.getDataByWidget(e),i=function(e){return e.map(e=>({amount:e.amount,goalKey:e.goalKey,frequency:e.frequency}))}(n.items);return{items:i,currency:n.currency,itemsCount:i.length,totalAmount:Fr(i)}};return{addItem:(n,i,o)=>{const r=Hr(o);t.addItem(n,i,r);const s=t.getItemCount(n);e.emit(Dr,{widgetKey:n,itemsCount:s})},resetItemsByWidget:n,removeItemByIndex:(e,t,o)=>{const r=i(e).items;if(o<0||o>=r.length)return;const s=r.filter((e,t)=>t!==o);n(e,t,s)},getItemsCount:e=>t.getItemCount(e),getDataByWidget:i,saveCheckoutState:(e,n,i)=>{const o=i.map(e=>({amount:e.amount,frequency:e.frequency,goalKey:e.goalKey}));t.setCheckoutState(e,n,o)}}})(n.get(fe.i.EVENT_EMITTER),n.get(fe.i.FUN_GIFT_STORAGE))).provide(fe.i.GIVING_CART_BASKET_API,()=>((e,t)=>{const n=(t,n)=>!(n>50&&(e.emit(kr,{widgetKey:t,errorType:zr.ITEMS_LIMIT_EXCEEDED,maxAllowed:50}),1)),i=(t,n,i,o)=>{const r=function(e){const t=function(e){return"IDR"===e?12:8}(e),n="9".repeat(t);return parseInt(n,10)}(n);return!(i+o>r&&(e.emit(kr,{widgetKey:t,errorType:zr.AMOUNT_LIMIT_EXCEEDED,maxAllowed:r,currency:n}),1))};return{addItem:(e,o,r)=>{const s=t.getDataByWidget(e);return!!n(e,s.itemsCount+1)&&!!i(e,o,s.totalAmount,r.amount)&&(t.addItem(e,o,r),!0)},removeItem:(e,n,i)=>{t.removeItemByIndex(e,n,i)},resetItems:(e,o,r)=>{const s=Fr(r);return!!n(e,r.length)&&!!i(e,o,0,s)&&(t.resetItemsByWidget(e,o,r),!0)},getCartState:e=>t.getDataByWidget(e)}})(n.get(fe.i.EVENT_EMITTER),n.get(fe.i.GIFT_CATALOG_CART_COOKIE_SERVICE))).provide(fe.i.EMBED_ELEMENTS_URL_API,()=>function(e){const t=function(e){const t=e.get(En.ELEMENT_KEY),n=e.get(En.ELEMENT_ID),i=e.get(En.FORM);if(!t&&!n||i)return null;const o=Number(e.get(En.AMOUNT)),r=o?100*o:null,s=(e.get(En.CURRENCY)||"").toUpperCase(),a=e.get(En.RECURRING),c=e.get(En.MODIFY_DESIGNATION),l="yes"===c||"no"===c,d=Object.values(gn);return{elementKey:t||n,amount:r,currency:s,recurring:a&&d.includes(a)?a:null,modifyDesignation:l?"yes"===c:null,firstName:e.get(En.FIRST_NAME),lastName:e.get(En.LAST_NAME),email:e.get(En.EMAIL),designationId:e.get(En.DESIGNATION),tributeHonoree:e.get(En.TRIBUTE)}}(new URLSearchParams(e.location.search)),n=(e,n)=>yn.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(fe.i.EMBED_ELEMENTS_SERVICE,()=>function(e){let t=null;const n=(n,i)=>(i&&t&&t(),new Promise((i,o)=>{const{abort:r}=Tn({method:"POST",url:`${fn(un,hn.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(fe.i.EMBED_CONFIG))).provide(fe.i.EMBED_CHECKOUT_API,()=>Tt(n.get(fe.i.RESOLVER),n.get(fe.i.DEBUG),n.get(fe.i.EMBED_CONFIG),n.get(fe.i.BACKDROP),n.get(fe.i.CHECKOUT_SKELETON),n.get(fe.i.KEYS_KEEPER),n.get(fe.i.EMBED_TRACKER),n.get(fe.i.EVENT_EMITTER),n.get(fe.i.HTML_ELEMENT_STYLE_MANAGER),n.get(fe.i.FUN_SESSION_STORAGE),n.get(fe.i.EXPERIMENTS_CONTROLLER),()=>n.get(fe.i.CHECKOUT),()=>n.get(fe.i.CHECKOUT_STEPLESS),()=>n.get(fe.i.GOALS_LOADER),n.get(fe.i.CONSENT_MANAGER_API))).provide(fe.i.EMBED_FORMS_API,()=>((e,t)=>{const n=e=>Rn(void 0,void 0,void 0,function*(){const t=yield sn(),n=yield i(e);if(n){const e=(0,on.w)().get(fe.i.KEYS_KEEPER),t=n.widgetKey;if(!e.exists("WIDGET",t))return}t.emitEvent("backdropWillOpen"),yield t.formOpener.openForm(e,bn.P2P,{fundraisingPage:n})}),i=e=>Rn(void 0,void 0,void 0,function*(){return new Promise((n,i)=>{Tn({method:"POST",url:`${un}/p2p/fundraiser/${e}/resolve`,headers:{"content-type":"application/json"},params:JSON.stringify({companyKey:t.currentCompanyKey})},e=>{e&&n(e)},i)})});return{open:t=>wn.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,bn.P2P,{fundraisingPage:null})})}))(t),openByFundraiserSlug:e=>n(e)}})(n.get(fe.i.EMBED_ELEMENTS_API),n.get(fe.i.EMBED_CONFIG))).provide(fe.i.EMBED_INTERNAL_API,()=>zn(n.get(fe.i.EMBED_CHECKOUT_API),n.get(fe.i.EMBED_ELEMENTS_API),n.get(fe.i.EMBED_FORMS_API),n,n.get(fe.i.EMBED_CONFIG),n.get(fe.i.EMBED_TRACKER),n.get(fe.i.RESOLVER),n.get(fe.i.KEYS_KEEPER),n.get(fe.i.DEBUG).createInstance("InternalApi"),n.get(fe.i.FUN_EXPERIMENTS_STORAGE),n.get(fe.i.COLLECTOR),n.get(fe.i.USER_SESSION),n.get(fe.i.EXPERIMENTS_CONTROLLER),n.get(fe.i.FUN_DEBUG_STORAGE),n.get(fe.i.EMBED_GIFT_CATALOG_API))).provide(fe.i.FUN_EXPERIMENTS_STORAGE,()=>ji(Yt.e.EXPERIMENTS,zi.OBJECT)).provide(fe.i.EVENT_EMITTER,()=>new mi).provide(fe.i.FUN_DEBUG_STORAGE,()=>function(){const e=Vi(Li.STRING);return new Ki(e)}()).provide(fe.i.CONSENT_MANAGER_API,()=>((e,t,n,i,o,r)=>pi(t,n,i,di(i,e),o,r))(window,n.get(fe.i.DEBUG).createInstance("Consent API Manager"),n.get(fe.i.SENTRY_CLIENT),n.get(fe.i.EVENT_EMITTER),n.get(fe.i.FUN_COOKIES_MANAGER),n.get(fe.i.FUN_COOKIES_MIGRATOR))).provide(fe.i.GOALS_LOADER,()=>new no(n.get(fe.i.STATIC_CONFIG).apiUrl))}function $r(e){return t=this,n=void 0,o=function*(){return new Promise(t=>{const n=e.document.createElement("iframe");n.style.display="none",fi(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 qr=new e.y("Embed");!function(){var e,t;if($r(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 qr.log("init","already initialized, skip processing");qr.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=Wr({loadedTimestamp:Date.now(),trackingUrls:{"global":"https://fndrsp.net","checkout":"https://fndrsp-checkout.net"},staticConfig:{"elementsApiScriptUrl":"https://static.fundraiseup.com/3cde7769421d.elementsApi.js","giftCatalogApiScriptUrl":"https://static.fundraiseup.com/afd1880a94d8.giftCatalogApi.js","giftItemDescriptionApiScriptUrl":"https://static.fundraiseup.com/5ec849e1852d.givingCartItemModal.js","checkoutAssets":{"scripts":["https://static.fundraiseup.com/checkout.0b8fab4a297bc650.js","https://static.fundraiseup.com/checkout-vendors.d66ef5aa7e9dffec.js","https://static.fundraiseup.com/checkout-rtl-styles.fd06b09ed043d4ee.js","https://static.fundraiseup.com/checkout-styles.2c4f8fa84c41b87c.js","https://static.fundraiseup.com/checkout-sentry-vendor.76aaffd3128b91c4.js"]},"checkoutSteplessAssets":{"scripts":["https://static.fundraiseup.com/checkout-stepless.d8dda24027ee65ec7d5e.js","https://static.fundraiseup.com/checkout-stepless-vendors.45f34f5d9b15f026084e.js","https://static.fundraiseup.com/cs.checkout-stepless-rtl-styles.1cf671b8e3840c031d17.js","https://static.fundraiseup.com/cs.checkout-stepless-styles.7b7a655ef2688042d9ea.js","https://static.fundraiseup.com/cs.checkout-stepless-sentry-vendor.def2ef0542f5459375c5.js"]},"giftCatalogCheckoutAssets":{"scripts":["https://static.fundraiseup.com/giving-cart-checkout.e916f753b6585e45a8bd.js","https://static.fundraiseup.com/giving-cart-checkout-vendors.aa524d4fbb5b3ac72156.js","https://static.fundraiseup.com/giving-cart-checkout-rtl-styles.907e9d89d156eeecf4ae.js","https://static.fundraiseup.com/giving-cart-checkout-styles.fde780ea721a3277bf0b.js","https://static.fundraiseup.com/giving-cart-checkout-sentry-vendor.b6f29b6dd7c48e43efb9.js"]},"givingCartBasketButtonScriptUrl":"https://static.fundraiseup.com/4b615b327f47.floatingCartButton.js","givingCartValidationPopupScriptUrl":"https://static.fundraiseup.com/8dc57bbdfabf.givingCartValidationPopup.js","giftCatalogCartAssets":{"scripts":["https://static.fundraiseup.com/givingCartBasketApi.c45f0b36338389e21f3b.js"]},"currencyRates":{"rates":{"SHP":0.750259,"EUR":0.86771,"AED":3.672498,"AFN":62.503741,"XCD":2.70255,"ALL":83.495795,"AMD":378.359602,"AOA":917.000308,"ARS":1395.4879,"USD":1,"AUD":1.41131,"ANG":1.789924,"AWG":1.80125,"AZN":1.702067,"BAM":1.698406,"BBD":2.02118,"INR":92.39035,"PKR":280.33737,"BDT":123.138379,"XOF":569.627156,"BGN":1.697561,"BHD":0.377583,"BIF":2979.015331,"BMD":1,"MYR":3.930499,"BND":1.279314,"BOB":6.934132,"BRL":5.2463,"BSD":1.003513,"BTN":92.440222,"NOK":9.6942,"ZAR":16.751008,"BWP":13.527795,"BYN":2.958521,"BZD":2.018314,"CAD":1.362565,"CDF":2177.99992,"XAF":569.627156,"CHF":0.785185,"NZD":1.70796,"CLP":916.195457,"CNY":6.868998,"COP":3694.31,"CRC":473.012579,"CVE":95.75355,"CZK":21.200798,"DJF":178.706184,"DKK":6.483398,"DOP":61.299721,"DZD":132.111019,"EGP":52.334098,"MAD":9.404368,"ETB":156.642279,"FJD":2.21097,"FKP":0.746092,"JPY":159.102008,"GBP":0.748305,"GEL":2.715041,"GHS":10.873171,"GIP":0.746092,"GMD":72.999811,"GNF":8797.669239,"GTQ":7.694846,"GYD":209.951804,"HKD":7.82726,"HNL":26.564081,"HRK":6.539498,"HTG":131.448346,"HUF":340.144497,"IDR":16913.6,"ILS":3.13271,"ISK":125.299774,"JMD":157.06588,"JOD":0.709036,"KES":129.609861,"KGS":87.449518,"KHR":4027.597466,"KMF":427.99966,"KRW":1489.809767,"KWD":0.30702,"KYD":0.836264,"KZT":491.216187,"LAK":21498.849377,"LBP":89866.484883,"LKR":311.996874,"LRD":183.647329,"LSL":16.578018,"MDL":17.426002,"MGA":4159.592898,"MKD":53.487282,"MMK":2100.020186,"MNT":3570.143099,"MOP":8.089966,"MUR":45.909924,"MVR":15.459943,"MWK":1740.168728,"MXN":17.81866,"MZN":63.902627,"NAD":16.57809,"XPF":103.564761,"NGN":1398.739949,"NIO":36.932669,"SEK":9.341895,"NPR":147.904355,"OMR":0.384499,"PAB":1.003517,"PEN":3.434067,"PGK":4.328061,"PHP":59.529963,"PLN":3.70686,"PYG":6497.301475,"QAR":3.658721,"RON":4.420098,"RSD":101.896845,"RUB":79.502462,"RWF":1467.146597,"SAR":3.752544,"SBD":8.05166,"SCR":15.134008,"SGD":1.278165,"SLL":20969.503567,"SLE":24.597181,"SOS":572.530187,"SRD":37.366497,"STD":20697.981008,"SVC":8.781208,"SZL":16.582795,"THB":32.119978,"TJS":9.618948,"TND":2.950371,"TOP":2.40776,"TRY":44.192989,"TTD":6.809952,"TWD":31.906902,"TZS":2607.346017,"UAH":44.434525,"UYU":40.128522,"UZS":12178.368286,"VND":26275,"VUV":119.598123,"WST":2.714424,"YER":238.549885,"ZMW":19.493641,"XAU":0.000196,"XAG":0.011762},"id":"69b36190b993df351052e01f"},"campaignPageAssets":{"scripts":{"main":"https://static.fundraiseup.com/campaignPages.0943b8bdec09e1416e51.js","vendors":"https://static.fundraiseup.com/campaignPagesVendors.6b7a05a95459944d0793.js"},"css":{"ltr":"https://static.fundraiseup.com/campaignPages.478ec6b3b3bc99ebdf8d.css","rtl":"https://static.fundraiseup.com/campaignPages.478ec6b3b3bc99ebdf8d.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"}},"apiUrl":"https://api.fundraiseup.com","staticUrl":"https://static.fundraiseup.com","trackingUrl":"https://fndrsp.net","donorPortalUrl":"https://giving.unfpa.org","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","turnstileSiteKey":"0x4AAAAAACDCEZe9fmRZ3DCX","integrations":{"dtd":false},"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":false,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"133232","enabledAccounts":[],"disabledAccounts":[],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"NewFontForHintToRecurringExperiment","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}],"experimentId":"141481","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AHZRYCRW","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMNBTWFT","AMUMMYDJ","ANCBYMWS","ANEQYMCP","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","AUAEBSYG","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"FastTrackFirstScreenCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test-1","key":"test-1","weight":1}],"experimentId":"141536","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AETRGCDZ","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJAQPESZ","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKFWLEML","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMNBTWFT","AMUMMYDJ","ANCBYMWS","ANKNPFPV","ANNGWHAL","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","ASYNMFUG","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXHKZRYW","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"CloudflareWorkerStrategyForElementsExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":50},{"name":"test-1","key":"test-1","weight":50}],"experimentId":"143564","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKFWLEML","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMUMMYDJ","ANCBYMWS","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"CampaignUpsellVsPduCheckoutExperiment","enabled":true,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"156882-modal","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJEJDSBJ","AJGEZYBE","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKFWLEML","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMUMMYDJ","ANCBYMWS","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":["FUNJGHTKYEU"],"scope":"embed"},{"name":"PreDonationUpsellPersonalizationCheckoutExperiment","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":"118659-modal","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKFWLEML","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMUMMYDJ","ANCBYMWS","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"QuarterlyUpsellModalExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"133727-modal","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKFWLEML","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMUMMYDJ","ANCBYMWS","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"CampaignUpsellCheckoutExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"99700-modal","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKFWLEML","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMUMMYDJ","ANCBYMWS","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":["FUNJGHTKYEU"],"scope":"embed"},{"name":"CheckoutCaptchaModalExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"138382-modal","enabledAccounts":[],"disabledAccounts":[],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountPresetsCheckoutV5Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":50},{"name":"test-1","key":"test-1","weight":0},{"name":"test-2","key":"test-2","weight":50},{"name":"test-3","key":"test-3","weight":0},{"name":"test-4","key":"test-4","weight":0}],"experimentId":"115114-modal","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKFWLEML","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMUMMYDJ","ANCBYMWS","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"AmountPresetsDonationFormV5Experiment","enabled":false,"variants":[{"name":"control","key":"control","weight":50},{"name":"test-1","key":"test-1","weight":0},{"name":"test-2","key":"test-2","weight":50},{"name":"test-3","key":"test-3","weight":0},{"name":"test-4","key":"test-4","weight":0}],"experimentId":"115114-DF","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKFWLEML","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMUMMYDJ","ANCBYMWS","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"CheckoutStepsCheckoutModalExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"133620-modal","enabledAccounts":[],"disabledAccounts":["AALSWZAG","AATLURDD","ABLAYHFK","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHLNTGLT","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEVJHVM","AKFWLEML","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMUMMYDJ","ANCBYMWS","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARNXLWYU","ARPSFYJG","ASPZKMDK","ASQMJVUY","AUVYPFTF","AVCYLAJJ","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"PreDonationAmounts100200USDModalExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"135267-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":"DonateByVoiceV2ModalExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":0},{"name":"test","key":"test","weight":1}],"experimentId":"138976-modal","enabledAccounts":[],"disabledAccounts":["AAKBXMSJ","AALSWZAG","AAMRKAJS","AAPLWWEJ","AATLURDD","ABLAYHFK","ABWDLBTL","ABXBVMVA","ABXQVBCC","ACACYXKN","ACHHVGHA","ACYYCJSS","ADHFKQJG","ADQRERLU","ADVFEVBX","AERPMFNV","AFHDMWFQ","AFHQHUFB","AFKFMCXG","AGNTWTBJ","AGSVAXHS","AHEZTVBW","AHLNTGLT","AHZRYCRW","AJEJDSBJ","AJQQEYDC","AJVWXWBG","AJZSDMZE","AKEQKCVG","AKEVJHVM","AKVYFUBL","ALGWNCES","ALJRVDPY","ALNSLQRP","AMNBTWFT","AMUMMYDJ","ANCBYMWS","ANEQYMCP","ANKNPFPV","APKJZMBK","APZLZNWC","AQEGFEES","ARHVGWAD","ARMPCVPV","ARNXLWYU","ARPSFYJG","ASNVRJLX","ASPUXQFL","ASPZKMDK","ASQMJVUY","AUAEBSYG","AUPRPMUE","AUVYPFTF","AVCYLAJJ","AVLMPSRU","AVPGEGCH","AVRUAVBN","AWPTDYZS","AWWXMPZR","AXLVWKZF","AXLWVTGK","AXTLMAMD","AYSXGFLA","AYXSFGEE"],"enabledWidgets":[],"disabledWidgets":[],"scope":"embed"},{"name":"FeeCoverageSelectionModalExperiment","enabled":false,"variants":[{"name":"control","key":"control","weight":1},{"name":"test","key":"test","weight":1}],"experimentId":"101219-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":false,"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":"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":"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":{},"device":{},"engine":{},"os":{},"isSupported":false,"isCommonBrowser":false,"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":"ACSRWCJP","clientId":"17735303645666937634","verifiedBot":false,"clientASNIsBot":true},knownKeys:{campaignKeyGroups:{"onlyCampaignPages":{"withAskPage":[["FUNYKUPGMQD","Gaza-Supporter"]],"noAskPage":[]},"onlyCheckoutModal":{"withAskPage":[["FUNDURLMTND","Haiti"],["FUNPDNBUKQZ"],["FUNZBNFNKEG","EmergencyBirthKit"],["FUNEFCJFDGZ","EmergencyBirthKit2"],["FUNFEDZVEBS","covid19-appeal"],["FUNUMHWQYBV","end-sexual-violence"],["FUNMCMUFYGB","EmergencyBirthKit3"],["FUNUPUTSDTX","monthly"],["FUNJCVJTJUT","fundraise"],["FUNVJKSGUUQ","end-sexual-violence-m"],["FUNCQNVSYGW"],["FUNJVTTGHUS","Dignity-Kits"],["FUNULMMRTBC","EmergencyBirthKit-Diwali"],["FUNWJRXFJUK","SupportMidwives"],["FUNHCRCFRBN","FundClinics"],["FUNLTQPXLPH","EBKit-winter"],["FUNYYKJXQGP","MamaKit-winter"],["FUNXFDFXRTS","EBKit-Yemen"],["FUNYPNCDFEQ","EBKit-Yemen-GT"],["FUNKSFEWNZY","EBKit-Yemen-Hanukkah"],["FUNHNVCGHCC","EBKit-Haiti"],["FUNCRLXXTKH","EBKit-Haiti-GT"],["FUNQPTGLLTK","MamaKit-Yemen"],["FUNHQFLPETF","MamaKit-Yemen-GT"],["FUNQDSFEJLV","MamaKit-Haiti"],["FUNENZYGDCB","MamaKit-Haiti-GT"],["FUNXQKDDFKE","MamaKit"],["FUNUQJZZETQ","YemenClinics"],["FUNHKQJCMLP"],["FUNXYSXMWUG","Support-Midwives-h"],["FUNTFYMFUCM","Support-Midwives-c"],["FUNQTRUWRCZ","EBKit-h"],["FUNNFLNFTMP","EBKit-c"],["FUNMCUFMCVG","Support-Midwives-h3"],["FUNSDLCPHXC","Support-Midwives-c3"],["FUNRJNRDJAM","EBKit-h3"],["FUNACNQUNTQ","EBKit-c3"],["FUNLKVMJJUH","TyphoonOdette-1"],["FUNDATXNSGB","Yemen"],["FUNKPFWKYAB"],["FUNPDKYERFD","midwives"],["FUNUYWPLKEP"],["FUNJARRWQZS","EBKit-a"],["FUNWNRPYQHV","Yemen-EBKit"],["FUNUJASQFHR","Tsunami-response"],["FUNGGGSELGY","end-sexual-violence1"],["FUNUJUTQDCZ","Yemen-EBKit-a"],["FUNEVCQNXFE","Yemen-EBKit-b"],["FUNCFCERNXV","childmarriage-sf"],["FUNMGXQPWTG","childmarriage-sf2"],["FUNYSEBCXGS","childmarriage"],["FUNLFDFWSSB","EBKit-3"],["FUNMBCGANTB","EmergencyAppeal"],["FUNBGBDENCC","MamaKit-winter-syria"],["FUNDEBHWGPB","UkraineAppeal"],["FUNUZYQYBWF","UkraineAppeal-u"],["FUNNKGEZAPK","EBKit-Ramadan22-y"],["FUNCTUKBQVC","UkraineAppeal-a"],["FUNRMSZTUGZ","UkraineAppeal-b"],["FUNFHWDDQPA","MamaKit-Easter22"],["FUNTHRLBCVK","EBKit-Easter22"],["FUNFSHZSDGB","YemenClinics-Ramadan22"],["FUNUZUFKPHY","EBKit-Ramadan22"],["FUNRTQMDMPX","EBKit-Ramadan22-cb1"],["FUNRXJNKTFJ","EBKit-Ramadan22-cb2"],["FUNFYFGDTWG","EBKit-Ramadan22-ss1"],["FUNKYJWLPPV","EBKit-Ramadan22-ss2"],["FUNUWTMQRMF","EBKit-Ramadan22-2"],["FUNSCSWDTJJ","EBKit-Ramadan22-y2"],["FUNCTUVWRPQ","EBKit-Ramadan22-3"],["FUNJPGBMFVD","EBKit-Ramadan22-y3"],["FUNPFZALMVR","EBKit-Ramadan22-cb3"],["FUNCHTYQQMN","EBKit-Ramadan22-ss3"],["FUNXRKNABSA","EBKit-MothersDay22"],["FUNXSXXWUEE","clinics-Nabiilabee"],["FUNRHKHWNEJ","clinics-Bibianayetty"],["FUNADNLMAJJ","Clinics-rsfamilyx"],["FUNFDDCGJJF","EBKit-Ramadan22-y-nop"],["FUNCMMSRLCL","EBKit-Ramadan22-y-nop2"],["FUNBDPXCUPQ","Noura"],["FUNUKZESHHM","EBKit-Ramadan22-y-eid"],["FUNWZBTRAUR","EBKit-Ramadan22-y-eid2"],["FUNVLJMEZTW","EndFistula"],["FUNHRREELQD","Clinics-influencers"],["FUNSHWMBSEQ","EndFistula-1"],["FUNSTAZXVNZ","EndFistula-2"],["FUNLCVZLVBL","Yemen-Swarovski22"],["FUNEJQLAJZT","EndFistula-3"],["FUNKPBPYBZM","EndFistula-4"],["FUNZUKXQJCC","YemenResponse"],["FUNYPEURAFM","refugees"],["FUNCRVYFVZA","UkraineAppeal-m"],["FUNFAXEYQYA","EBKit-Eid-al-Adha22"],["FUNAYRGJRZA","EBKit-Eid-al-Adha22-a"],["FUNGPZMGHKM","UkraineAppeal-m2"],["FUNGLCLGRZS","Ramadan-Appeal"],["FUNJKSMJGCS","Mobile-Clinics-UKR"],["FUNXMXKCLJZ","Syria"],["FUNGVUZDJAQ","Ethiopia"],["FUNQNVPDTNY","Coxs-Bazar"],["FUNPELHZHZE","Afghanistan"],["FUNLUYZHHGF","EndFistula-a"],["FUNNKYSVAJL","MaternalHealth"],["FUNKKPYDYEP","FamilyPlanning"],["FUNPAETLHXB","tribute"],["FUNCYSYRBBL","SriLanka"],["FUNKFFLTPMC","EBKit-HornofAfrica-JnJ"],["FUNMAMFAGKX","EBKit-Yemen-JnJ"],["FUNRCYWUDJM","EBKit-JnJ"],["FUNQXJDFACS","Clinic-Yemen-JnJ"],["FUNYDWCPQPU","MaternalHealth-JnJ"],["FUNMMAJZCYB","Afghanistan2"],["FUNXTVMRESQ","ClimateChangeResponse-2"],["FUNRDLPYGYK"],["FUNDFGFRDPD"],["FUNLWSMCKRB","Pakistan-Floods"],["FUNMKEVSYRZ","Afghanistan-Clinics"],["FUNKVYQURAA","DignityKits-2"],["FUNUHUEMDVU"],["FUNJTCJMTBA"],["FUNHQXKHEPD"],["FUNYFUAEMJD"],["FUNBAUDGPLN"],["FUNXKBRJCSR"],["FUNYJTSAXWS"],["FUNMCEFTEME"],["FUNYMQVAZYK"],["FUNMUVQNJTH"],["FUNXEMSCUML"],["FUNXKXLSEAW"],["FUNCUNBALQB","childmarriage-DoGc"],["FUNEPGUBKTQ","DoGC-2"],["FUNAATPWCTT","DoGC-1"],["FUNBYWZNZUF"],["FUNLFUBQHCE","childmarriage-DoGC-4"],["FUNKPNQSUCC"],["FUNLFHMVWWR"],["FUNUNJBDKFS"],["FUNCHLPCDMK"],["FUNHSCURJYZ"],["FUNLVJSHYHJ"],["FUNCUJNZUVF"],["FUNMMGHQLDD"],["FUNUDQGYJRZ"],["FUNLHPWWGYY"],["FUNUXUCLXEU"],["FUNSTLUDZZU","Somalia"],["FUNZTWHKYQP"],["FUNMBUEZRXQ"],["FUNJXPUNEMM"],["FUNAPFXZHZS"],["FUNXMMTGSXA"],["FUNZCKHDLUL"],["FUNSMQGUARH"],["FUNFLWYPEPE"],["FUNDMSJMEAQ"],["FUNVMEFFXMF"],["FUNCGBLCRUW"],["FUNHKFFBUSD"],["FUNCMPWBLDY","Somalia-FamineWarning"],["FUNRMBBAQWN","emergencies"],["FUNYDSWUNCC","SomaliaFamine"],["FUNZYZUPCZY","FamineWarning"],["FUNWVPKHTRL","HornOfAfrica"],["FUNANFGKFMK","FamineWarning-GT"],["FUNZQRHSWED","FamineWarning-BF"],["FUNCUSGHEJP","MobileClinics-GT"],["FUNESGUDACK","MobileClinics-BF"],["FUNBUTZSSKE","EBKit-GT"],["FUNHPJSUHKM","EBKit-BF"],["FUNHXUZPDPZ","EBKit-Winter-22"],["FUNRZQBPPLR","MobileClinics-Winter"],["FUNQNQFTPNP","EBKit-Winter-22-2"],["FUNUFMXSPZR","SomaliaFamine-2"],["FUNQPVBCKGF","FamineWarning-GTx2"],["FUNHURXVQCS","FamineWarning-GTx3"],["FUNMCTMJRRH","MobileClinics-GTX2"],["FUNWNSDLNXK","MobileClinics-GTX3"],["FUNDPAWDZSN","EBKit-GTX2"],["FUNZMTVQRAS","EBKit-GTX3"],["FUNFRCNYTAJ","SaveLives-GTX3"],["FUNBNEQPKFU","SaveLives-GTX2"],["FUNAYUUCCFV","SaveLives-GW"],["FUNAARCKXNJ","SaveLives-BF"],["FUNPCTVFVZE"],["FUNEZGKTDHP","Christmas22-EBKit-Winter"],["FUNVXRLJQRB","Christmas22-Clinic-Winter"],["FUNQBXMFGLW","C22-EBKit-Winter-X3"],["FUNYKAGGYEB","C22-EBKit-Winter-X5"],["FUNNEUSBVTF","C22-EBKit-Famine"],["FUNAKYTMDGJ","H22-EBKit-Famine"],["FUNUYUQHHDU","H22-EBkit-Winter"],["FUNZNUUJVWS","K22-EBKit-Famine-X2"],["FUNJBAEJJSN","K22-EBKit-Famine-X3"],["FUNQXHAJRDR","K22-EBKit-Famine-X5"],["FUNNHDVCXMQ","H22-EBKit-Winter-X3"],["FUNRYRGKNWD","C22-Clinic-Winter-X3"],["FUNCYVHATJQ","H22-Clinic-Winter-X3"],["FUNZNSYRAQQ","H22-EBKit-Winter-X5"],["FUNRPDURLYA","C22-Clinic-Winter-X5"],["FUNTNMHBNKE","H22-Clinic-Winter-X5"],["FUNRMTCXPVZ","C22-EBKit-Famine-X3"],["FUNKSWTPPPW","Christmas23-EBKit"],["FUNLFJCYGZQ","H22-EBKit-Famine-X3"],["FUNPCKFGWSW","H22-EBKit-Famine-X5"],["FUNBYKEJHRK","H22-MaternityClinics-X2"],["FUNHHCZRDQL","H22-MaternityClinics-X3"],["FUNHGABJETJ","H22-MaternityClinics-X5"],["FUNBNXLFCHE","Hanukkah22-EBKit-X2"],["FUNPKSFFHQN","Hanukkah22-EBKit-X3"],["FUNMENLAMPL","Hanukkah22-EBKit-X5"],["FUNHTWQRQFL","H22-EBkit-WinterX3"],["FUNZAKGDVYC","H22-EBkit-WinterX5"],["FUNPUTKQRLU","H22-Ukraine-Winter-X3"],["FUNTUACAEKT","EOY-MatchX3"],["FUNWHYAXLRY","Midwives-X3"],["FUNVSRNKEBH","Thailand"],["FUNDKMKHKTQ","EOY-MatchX5"],["FUNYFNXLSXD","H22-Ukraine-WinterX5"],["FUNRLBEZSGZ","EOY-MatchX5-Monthly"],["FUNQJZJTLSA","Somalia1"],["FUNSHNCLNFN"],["FUNPYUBPTMP","SyriaEarthquake"],["FUNLFATUBJT","Valentine23"],["FUNWCEAMWRT"],["FUNHQYZKZTT","Turkiye"],["FUNHESJQCFE","Turkiye-Syria"],["FUNSXFJAFRM","Turkiye-Earthquake"],["FUNFSVXSFQJ","Turkiye-Earthquake-TR"],["FUNXJXDVJRP","Ukraine-1year"],["FUNDBNJCPCP","TurkiyeSyriaResponseStaff"],["FUNMMAWEDAM","Turkiye-Syria-CF"],["FUNXSLUWYEK","RoadOfChoices"],["FUNMCMNHVQJ","Syria-Quadruplets"],["FUNQVSBXRLZ","Turkiye-Hatice"],["FUNQHMUZGKP","TRSYEarthquake-Ramadan23"],["FUNUHVMEWHJ","Ramadan23_general"],["FUNWEBMFTJB","MothersDay2023"],["FUNYHUPGUBG","Ramadan23"],["FUNMFLGPKDS"],["FUNHWULSKDE","ukraine-1-year-CF"],["FUNCMLAWQTC","Ramadan-Email"],["FUNQNGWPVGP","Ramadan23-Email2"],["FUNTAPKUNSV","Sudan-Appeal"],["FUNEQXULHYV"],["FUNUBPUBSYK","Mariarosa-Michael"],["FUNHHTBLVKP","monthly-UA"],["FUNTSNGCTUC","monthly-default-UA"],["FUNWAEAWXTD","UA-DamDestruction"],["FUNUCKYNATZ","EBKit-Refugee"],["FUNASTRBHGR","Goodman"],["FUNTXCMQZSF","PapuaNewGuinea"],["FUNPEGVLQBK","eid-aladha-23"],["FUNUUJUHMJG","Eid-Adha-23"],["FUNWNJCCLZH","Maldives-Donate"],["FUNPRUQYTNF","Myanmar-Cyclone"],["FUNMPNFPRPW","EBKit-Heatwave"],["FUNGTMWTCEA","ClimateCrisis-HoA"],["FUNJQNRETQC","SY-TR-Earthquake-6m"],["FUNMQUYPGHU","Alliance-Membership"],["FUNLLZJQFFT","Annual-Forum-2023"],["FUNWLWFKMVR","Cervical-Cancer"],["FUNYNPUXEVY"],["FUNMBWTRBMM","Morocco-Earthquake"],["FUNXNXNSMKP","Natural-Disasters"],["FUNYGNPMXYV","LibyaFloodResponse"],["FUNWFYHBNVC"],["FUNDGQBZSZV"],["FUNZPXLMHNV"],["FUNJGBQZNWP"],["FUNHHFTRDGK"],["FUNBNSKQBGC"],["FUNXUUCZTPN"],["FUNLZKLLVML"],["FUNEAGFJEKL"],["FUNSQXLPBTZ"],["FUNDTNRCGHR"],["FUNMRSZNJXF"],["FUNRCTRZTSJ"],["FUNVBNNWNBN"],["FUNZVUMCPCF"],["FUNSBXKKPKC"],["FUNWXAGMCEE"],["FUNBHGYRJKQ"],["FUNJJMGMJVF"],["FUNPZCWMXQU"],["FUNVZWHLGAW"],["FUNETEXTQRG"],["FUNLLGDBMPV"],["FUNQSCQAFTG"],["FUNYLASNKKG"],["FUNKXFAYECV"],["FUNYBSKKZTD"],["FUNBLJMMVKP"],["FUNPHHSHHDV"],["FUNWHMGGXZB"],["FUNQRKEBFEA"],["FUNKYCUBWMG"],["FUNTLMNQEWN"],["FUNYWMMFJXE"],["FUNDZQPUJQG"],["FUNFGLPNMBT"],["FUNVMTKADWD"],["FUNPKMFKJHW"],["FUNYBAJKPDX"],["FUNSDUUAKRB"],["FUNADQZQSTA"],["FUNLWSCZBHA"],["FUNZBVEVRRG"],["FUNHPRFGGTB","ArmenianRefugees"],["FUNGWHQSRCT","DoGC23"],["FUNKGZZKCSW","Afghanistan-Earthquake"],["FUNSQCGCAMF","GazaAppeal"],["FUNSMFZXFJQ","Flo"],["FUNJCFGFTKL","NoMatterWhat"],["FUNEBAQZEBV","BF-23-1"],["FUNAANWNGQC","BF-23-2"],["FUNGRAFRBRQ","GT-23-1"],["FUNKYVMHHYT","GT-23-2"],["FUNRVQMJQQQ"],["FUNCCXVNFFX"],["FUNPAJRYHAF"],["FUNYVNYWXAB","EBK-monthly"],["FUNTFFVBQHB"],["FUNPAZUBGSL","MothersDay23"],["FUNKEKQPSQK","EBK"],["FUNHQDGTQKL","Sadaqah"],["FUNQGQGXGYF","Fidya"],["FUNPTEZNRMP","Sadaqah-Gaza"],["FUNDMPBBDVW","Zakat-Gaza"],["FUNVKBCBDYN","Amma"],["FUNYEBBYETJ"],["FUNMLQLEAJV","Eid-al-Adha"],["FUNCHESAMES","Zakat-Yemen"],["FUNRFMTNSLR"],["FUNFGYWSVWU"],["FUNTYFBJNWU","FUNTYFBJNWU-1"],["FUNTGVPYJUJ"],["FUNYBAGXHHZ"],["FUNVBJCUTSP"],["FUNHHFQYLKV","FUNTYFBJNWU"],["FUNRYFNPSWR","Displacement"],["FUNYBYTFCUW"],["FUNDFRHQLBL"],["FUNRAWGPAXX"],["FUNSQZJDSFA","FGM"],["FUNZAYQDPGZ","DoGC24"],["FUNHBHPZFJJ","Lebanon"],["FUNANUAHMXL","Zakat-Gaza-One-Year"],["FUNJBETRGQL"],["FUNHRXVFFBV"],["FUNQFHCMUZJ"],["FUNSXMUBKYE"],["FUNNXCBEYET"],["FUNCCCEVMJJ"],["FUNACJZNBTS"],["FUNXQCCYQLT"],["FUNASGSSDAU"],["FUNLDKPNVEH"],["FUNWTXNPAZX"],["FUNUKZZPSNQ"],["FUNDRQMMHHG","NoMatterWhat1"],["FUNEHNCAACE","EmergencyinX"],["FUNNUWVQXQG"],["FUNFDXMAGFQ"],["FUNUPCGXYCW"],["FUNSBWPVWBV"],["FUNDFVHVGSL"],["FUNCVWKRCBG"],["FUNFLKCEJZM"],["FUNBVKQZYWK"],["FUNVBGDLTTW"],["FUNLZPXWXWN"],["FUNESPXNFCY"],["FUNFJWDGHZN"],["FUNMDRAXETJ"],["FUNMPHDXDDW"],["FUNLBKDUKXN"],["FUNEYTAANKT"],["FUNMEVYMSGJ"],["FUNHMKBTNNE"],["FUNAXLFBRTG"],["FUNMASJLDYM"],["FUNLJVGPQHM"],["FUNTZTMSHPF"],["FUNTXVDCMBM"],["FUNRRSDZGTC"],["FUNAKKPPFQL"],["FUNFUQTPGLG","myanmarearthquake"],["FUNABUXAWDR"],["FUNFBBDTYEQ"],["FUNKCABNJXQ"],["FUNBBDNGFSS"],["FUNUCHKUKWK"],["FUNNQKVUEZX"],["FUNATTWVYQU"],["FUNCPEFZNXQ"],["FUNTKPEFFTZ"],["FUNVMPRZYHN"],["FUNAEQXWELC"],["FUNAPEWAMRJ"],["FUNVWGBMKDM"],["FUNEQKAPGST","fathersday"],["FUNRQMKYDHQ","dontletlightsgoout"],["FUNYKVKHDDV"],["FUNDVAAAUBM"],["FUNMYLNZKBQ"],["FUNSKWWSCRF","FUNSKWWSCRF"],["FUNSMSSRUAY"],["FUNYCLWVJEZ"],["FUNTMCSKFXE"],["FUNNCCHPGNU"],["FUNXJZSDGJZ"],["FUNFGHXGCGK"],["FUNQMTLEMHW"],["FUNTJWYHLWH"],["FUNKEWCRLEG"],["FUNTGDXUCHZ"],["FUNGQLGSNJU"],["FUNKSBXQWNV"],["FUNHPLHGFXZ"],["FUNFVSMSMQV"],["FUNNJVYELHR"],["FUNJXKCTWME"],["FUNSNKPYLJD"],["FUNGFJFHBWC"],["FUNWHYJPNTU"],["FUNXPSMNGMR"],["FUNAHNWAWFJ"],["FUNRJJMUQTN"]],"noAskPage":[]},"bothTypes":{"withAskPage":[["FUNBJGUDYZC","General"],["FUNKTPBBJMX"],["FUNEEGJNRMB"],["FUNGKUZXJML"],["FUNYNSZADWD"],["FUNUVDJFWVB"],["FUNMXRTHJKQ"],["FUNZJVMNWNG"]],"noAskPage":[]},"onlyGiftCatalogs":{"withAskPage":[],"noAskPage":[]}},elements:{"donateButton":["XPWENZLF","XRXLMXTS","XHQUZPMK","XCFJGKBM","XVCLMWJJ","XMBMTRKR","XDDHCZDT","XZJSKVSM","XHQHHDWM","XQNNVFVG","XZXTUUEM","XSTKFPKU","XTWPZHSB","XHXBMWKF","XKDBGNPE","XPZVPKCN","XHEXLJHY","XXNYKTTR","XUGYMYGV","XUCDEBZT","XTGCEMXR","XVXDHXDQ","XDUCQUBL","XKPTBQYE","XGTSGCEB","XHDSSJQY","XZEKMFEJ","XRXGTGXS","XTDCEQPD","XJXETNJD","XUQJRBJM","XEDMJGVQ","XSYFXZFH","XKKVXZXT","XGXWGPVF","XFEXRQTZ","XBQJCKVF","XEZMRBQY","XTRJQBZF","XWHTTUTR","XFGPULFT","XEJYQNXT","XQFCHRCH","XQLPNFBB","XDVZCMDG","XUPHPXLR","XTRHYBCP","XVNWQRAH","XDNHTJBZ","XMSZZSFC","XZBGNMBF","XHAQVACL","XDTUVAVJ","XQRKDSPG","XCVKFEZE","XQQLSEPH","XPFJGQMG","XQMXBAWK","XMZQFHPU","XFEPNWGG","XNAYMNUC","XQPNDPKQ","XMQHGDNA","XXWSDWUE","XYGFQXCP","XPKRKXMF","XPNPGLKF","XLGFAYPJ","XGKMGJNA","XHPDTRJR","XZTVQNTQ","XVJCUUWR","XBJWPZLJ","XEFWTBCS","XBKZGLPP","XWEKRUGK","XJDBNHNA","XFJRARMZ","XHHNTPXZ","XBFQEAWK","XXNVYDTA","XHJXAJWK","XJAZWJVX","XDCUFTLP","XYYJVXSD","XBNXLKWN","XLXPYPCE","XXSCHSWJ","XVSQVVZW","XXUALKBQ","XBBGPPYJ","XYDCKNNT","XQYVMNQJ","XVLEJBDG","XMFGTAZB","XLBRSTDE","XLXABFHA","XGFYCVYA","XWCFBPCD","XTYSAUHU","XDSRTRXX","XXXTLUJK","XEVDKNDP","XGJVFWXA","XAQWHPXP","XRTMWFXV","XLRZCTED","XXTHXXKA","XTQNZGNS","XBEQJMMM","XLVLZEPH","XCEDVXFL","XLGARPGE","XRNFQLKT","XFJBLWNK","XCRXVBRZ","XRHZLJPM","XYMXMFAN","XTEGHYET","XSHYQRMB","XQMQGPKT","XHHFWYEV","XDMUXVMN","XLTCAMHY","XXBNWVXE","XTRRYHQY","XCZZLTKB","XMWHLNKB","XEXYNXXD","XDAUWHUF","XFUSQEQZ","XNPARQES","XXWPYWEU","XPJRVSCX","XRNNFPVU","XDDEZBXL","XBXAJDXG","XDQLUBEG","XWNDKNCD","XWPMTQCM","XWWJUUBT","XHLNZNJZ","XNHAWKYD","XXHTPZAL","XXMHEQHE","XGSSQHGK","XZNUDWCG","XLGACBVF","XGKRJGCB","XYTXYHDH","XELBFXHT","XUSGALNF","XPJNFTSG","XJGXNHZU","XWZMGKEB","XTGTVCLQ","XCXPBAAK","XWJZCPWY","XGESVPYT","XVKNGBRR","XAHCMPGV","XWHBZZEG","XXGGNCET","XVXARTUT","XDQTSRUH","XDRAVDKT","XFRSFWGJ","XHYFGQCD","XCXNQCZL","XLAKZJVN","XVECYMJD","XSAKWYDK","XYRZUFXM","XFJBEWPF","XQBXXECY","XQTWNGKP","XUQLXWQG","XGPHLFSV","XTJQKRBR","XYFBRDUL","XJMNXCZT","XEAYQTMG","XQXMDGBM","XEEBFFUZ","XDZHDDHY","XZLHPCSD","XGUVHWDX","XEAASHAF","XZAMXUDQ","XDVYYJQE","XJXPYRME","XYLVNQZQ","XGSCJFMS","XFXETCHQ","XXEQBCYM","XATBXMFK","XSMVSFAG","XSCUGDQP","XKPANVJB","XSFPPFCW","XQDQFEEE","XQCDTDBA","XYRFVHBJ","XQLMQKFG","XVGVYPWT","XEWYCYES","XBZMKSHB","XTXAPEKE","XECUFKVS","XYVVGRSP","XLLQVRXM","XXABZWLV","XLUJHVQM","XTVLKCLV","XYSTKBZR","XMCKLDZQ","XYADPDAR","XSZUXHTP","XGCTPXLD","XACRENMQ","XCUEPYKE","XZZSESYF","XDYBKBKQ","XSWDFXVH","XTVTTQER","XKGSMCLX","XTABRSMY","XGAGUZGC","XWUUHAXT","XEDSZPTD","XFYAXUPD","XUAAWKPJ","XQRAYEZX","XBCYYDHE","XYCWAMPB","XSXLAUGP","XGEGFPGX","XQJTUCRS","XTCVRJNU","XCFAWTKR","XPYYACBN","XRETEJPH","XHPPRRWP","XMVPGQBX","XPCLGHYG","XHYVYFCC","XANRCXMN","XWNZJHSE","XSDEMLJM","XXUQPYFN","XAYXLKEV","XEHBYHMU","XAKFDKFN","XWXCTUDP","XWLAYYKD","XBUHCYGF","XYQTSEYQ","XGKJWDVF","XTEGSAZJ","XBRMKLVQ","XVCZWHTQ","XZVGZEJZ","XXJMDWYE","XVHNNCZW","XWFKSPZD","XRMSEURB","XBWCDDGC","XSVWFXCQ","XJWULNRY","XFUUJFKZ","XHHWGTMV","XCMBCPFT","XVUQGLYL","XWHEXWQP","XDGEUGXT","XQVLXWTY","XFQNXQQB","XJWECGXY","XVQUDUVR","XAZHLAEZ","XUGGXZGU","XMDNZZSW","XPVAZQQU","XSCYPXBH","XXGRNSBG","XSAAZDWF","XGMUUCEW","XNZWTTBF","XQZTKVMH","XSUXCQXV","XVJRKZYX","XSBCHJER","XFEZARJL","XRUFHCHP","XNAHJMXX","XMVYUBWV","XPFCSVSY","XDFUVFTY","XNMGHLAJ","XRKTTFTN","XRMTQVCF","XDGGBGGZ","XDUFEHKQ","XKKQUQMR","XRQLVSMD","XEZDDDNG","XECVHWXD","XEVGXJVV","XEHWJJHR","XVPKHWCY","XDBNTQHC","XWZCXFMM","XBHZDSRE","XCALZZRT","XJPMZNAK","XRXGAPEZ","XGHWYLZW","XVRJJRWC","XTTBGCPB","XXAADUMK","XQUPPAJY","XWURXLPS","XWYQMVGR","XYHSDULV","XXBPSHZS","XFRAGRWN","XYHRTSFB","XNAFBEHA","XKAXVQBH","XKGNZKZZ","XNYUDMTZ","XJUNVVKZ","XYVZUHFZ","XJQSXSEG","XBFFLBVL","XWXWLWNG","XJBAKAMH","XWBTLGYN","XKNAKZTS","XEJFBLPW","XFQATLMJ","XTDTUNRR","XTPTHBXW","XUJXUABE","XYFLSHMT","XCTKHRLK","XZMVHSQY","XFEQFRFN","XXSFEVQT","XYWWLUMU","XFMHKNJA","XEQPESUW","XLZSTKLB","XDXNKNYS","XLZNFNKN","XQQTFUWP","XFKWFDKB","XVFMFFXZ","XMKJXZRE","XUYQCQAP","XMPSNTPH","XHNCCYTE","XKMVGBYK","XNLBAPTG","XEHJQWUY","XBSPBCDS","XJDMMUGU","XRVXTAPU","XLUFRKRD","XUWPRRBK","XMCQGHQE","XFCMKFEC","XCFEXLXH","XWHCLNUN","XKUZASPH","XGEGEWVV","XZDNKRNN","XJPEFYFH","XQFLRQHQ","XHUVGJEK","XYYEDNXV","XTWHYSZQ","XZSEZTJH","XGREWZWK","XNPQDBHE","XLJYPPEG","XYFSWVNS","XYFDQZDB","XEYBKSPJ","XXRAJGSA","XVDXCNKX","XNTLPYXZ","XQAHCEDR","XDRSZCSA","XXJRRJFV","XVKJHTGA","XWYZEQJQ","XMHMKGXY","XDUCKJUU","XDRNRZMZ","XBKZLGHC","XKQJEFMQ","XLLDVDFL","XLACXHEN","XDSCAZTT","XSCYMWBJ","XPZRKEXA","XNQPDCXV","XVANSAGV","XJCAAQLB","XZQDFCYP","XNBARXNN","XDTZYCEX","XNXQYKJH","XKURVNPL","XAWVRVDA","XZJGMLEL","XNKJLBZJ","XFGUPHDP","XTWHPJCC","XUJRQVTC","XATSHMDK","XFJMDNPH","XEZHHWCU","XYTUJGZS","XPDYGJND","XMEVSKUF","XMQSAEVS","XACXWSGH","XZNPKATC","XKAYQFMU","XPTTJVDL","XVPHHAXS","XJKPVBDU","XPQXDHWF","XHFQBBDE","XBQXFHPM","XFTKFNWJ","XHQHWQVT","XTYMYUZK","XEQLQLGL","XRGLJWUA","XYZEESJG","XQYUMWDJ","XVVPUQDD","XYNURELJ","XUTXAHNC","XQDYAVZQ","XDBDAFWQ","XKWDJLKH","XLEPLLLN","XBWPCCRW","XVUYRFGV"],"donationForm":["XGXEQPJW","XNZGYRWU","XVBTKFYC","XDKLDVJJ","XBZHKYBF","XMFSJUTG","XKJNPNUK","XXWYKUCE","XKXKFKBM","XSNSMNMT","XYQBUXYE","XDWTTXLF","XLHAPVUE","XMFDPJBQ","XKWHHBFG","XEVFNNAQ","XXBWXQPD","XRKHCNVD","XQCJYCAE","XJCUFHHR","XSUQGCTU","XZLYHBCN","XFYXRCXG","XEUHDDCT","XPGZFGGZ","XJWGTWSL","XXFJHETF","XKSSDKYY","XBSHEKKN","XMWPVTNS","XRQHDPRH","XUUBASUF","XSKPEUHY","XWMHUNBX","XLWNNHAA","XXRKFNVP","XGSMZLNG","XHXGRJJC","XALQFBXR","XXHWBNVZ","XNCHNHNQ","XSNAWESG","XNFVRAPY","XVYQDANM","XTNMTQZG","XKBXDUYF","XRHEXPLB","XAQRPGPV","XRSYLRWX","XTTFMFDY","XDLZJCWH","XXWZMYKF","XZKKRZEE","XCQQBSXU","XRFRLSFY","XBLRXGCW","XSHACSPM","XVGADSQA","XUREMBNR","XGEUNCLA","XRUAJHVQ","XAUCHPVK","XLLEWLZJ","XRRJHERL","XUQQWGAK","XPSFLMYN","XGTFYMVT","XMMPXFUA","XRUSWSLJ","XMSUYKFZ","XYGQZANT","XJVDLTSK","XBFHUZKE","XQPGTDEZ","XRWKHEKH","XSVQXLVQ","XUELYSVP","XDQTPYNW","XDVBMCEP","XFRZVTXF","XDKDKNWQ","XLKNFEHA","XYJXCVRT","XBRSDDFD","XHLHYEJM","XFQYEPBV","XEUDTYRS","XQAQYDFJ","XDXHMMGN","XSQJPXQY","XHSPDTMZ","XTSJNJGN","XZYXCJMK","XEEVUTZQ","XHMWMUTP","XHAMYUPY","XHPSADBR","XRLHFCSN","XJWMDRJF","XDZMXUVW","XQNEGDNQ","XVPFLCDM","XXNDZWYS","XQWLKZMH","XJXBQMHT","XGFEJPQK","XUDUHAUH","XHXPNTEN","XRDJFUJP","XGZACMLU","XYNHHEGX","XMUXHWFS","XEKABPFR","XPJTCQVU","XNPNRVSS","XLVLBBEP","XSLPXTVU","XVNQPXBS","XTDJLFHX","XVYJBVKL","XQCMEYKS","XQFQXGRG","XPNBYBCQ","XUEAFRBS","XVMAMPXK","XDZVWFFJ","XEDEFJYL","XUAFQMAR","XSTKPSBT","XTAZHADJ","XKLAMFRY","XWURHFFM","XYPPZGYV","XAEWZMCP","XQFEQNXD","XGFGCQHG","XLQCBHUV","XXWFUBCG","XCSCZUMN","XXWRLMSL","XYUFWMSU","XDTXCZTA","XEWWSHNG","XPBGMDSK","XFKTXGCN","XLNWRVFA","XYYMKMJV","XJREZRFU","XBJVJRVT","XYQAYLRC","XFWHSZBZ","XFBQMCRT","XFZJTXHD","XTEUZNNC","XHARNKNK","XHBBTNFE","XHVXKJPG","XSPJYGQK","XLKKMZEQ","XWYYQYWQ","XFEAJYVA","XRNBTSKZ","XHDVXHSA","XNWTCJDK","XGRRWTGU","XGQKHAFJ","XLBEYTCX","XJSRBREA","XRSKPQFX","XQTVZXTT","XANUGZKL","XLKWGHUP","XTHSEJDY","XZXUTPTN","XQTVHFSJ","XLWRYFHZ","XEQCLGDV","XPYYCYKF","XBCABJNQ","XMRQVXRQ","XKZSMFTG","XJWGCGAR","XPEWQGLV","XHCLDSWG","XEBLUCHT","XSJCZXUP","XQFKGUZU","XXLGQKJD","XEVFAFQX","XRVFWAEH","XWPMSDFD","XFSZVVMA","XPUYLCVM","XXEXNFPR","XRJQYWFA","XMPTLXVY","XKJEYWJT","XKTDCWBT","XNUDCPBN","XAHRJVWS","XVPAHLEV","XPANTVKL","XMLAHNCK","XPTCBCCP","XTCLDUCS","XVMSWNPC","XQFPKQFG","XSHGPGJR","XUDMGNJP","XBDPKYGN","XPNMMKDF","XARSVFJH","XZXGMQDV","XETWLZYX","XZTVWFUV","XJFSQJNP","XZYKCSCG","XRPLPWGD","XQCMHXGF","XLFHNECW","XJEALRJR","XPTLUPMM","XPPWNRWW","XSVZSKZC","XBSMJWHC","XFKLBGLC","XNXVEKUH","XFQTJRDF","XEECBPWH","XXFVEYCF","XGCDCQQZ","XAUWTCRR","XETKHDPE","XCANNSLP","XEUKEFPP","XDRLZAYY","XMQULWNY","XFVVMNBP","XREEMFJM","XQLKDJCC","XSFVTRMQ","XPCLXJKE","XKDSDDXL","XMTMCMHD","XDZLKALY","XUNLJGLM","XJWMKMQW","XDKEHDKN","XWNCBHVB","XCGZDNEH","XCHVDFQP","XXSHCGBL","XQUHVDBF","XRBPVEDQ","XSRFZNKM","XESDMXWW","XMMSFFVQ","XCMVEMSL","XVWXSMJB","XRXKTFKR","XQTGBXZC","XDGXXQSM","XULEEJFE","XPPQSYRH","XUYCULEZ","XJEUMLCH","XWNMZKEK","XGSNYKEE","XBYASCEN","XEJLBVHZ"],"textLink":["XVQZMMSR","XQXVTPWB","XGGQEKZH","XYNJNSLN","XMEKMZDD","XFTRNKUD","XRFYVFHC","XDJWHMJH","XJFJENQZ","XYXSUYSU","XBVWRZDK","XRMPUXXC","XTCQEZLF","XHBMKGZS","XHXCXQYL","XVQRGJBV","XGAXFCTW","XQNGAXWL","XWUBNEAX","XGAKXCVD","XJNTXPJV","XZABDTRL","XRPNCQUN","XYRUUQWL","XQHDYZBC","XQYTKFUM","XEDXWFYM","XAJVMFLJ","XKJMGDPG","XFCZJDMH","XDCTYBEF","XUJRHQHM","XKVRUMCY","XFRGHTEB","XYLZSSKY","XTRWSNVP","XZQGQXBU","XWLYRHXL","XKRNFWKQ","XTVKUTAD","XWEEARLP","XVZRFVHY","XUHKLNAB","XKTKAQHF","XHDCFBYK","XKFXXRYV","XKGDFMUV","XGTZESUU","XPQZELCQ","XWRLEFUK","XRKHVWZV","XGJEDTPB","XNWMFGQW","XKRBFQRG","XLCNZNXC","XWDBEFBJ","XNQMZFSV","XMFTKYYY","XSLYBHYR","XQUYFLQC","XRSEFDWX","XPXSEWZP","XAJRFTHX","XQJLUAUE","XUHZEDMK","XMEAJTQX","XPZQEQMR","XBXAZTGG","XDDUSYSR","XRNLZTUA","XVHRJHBH","XQLKJARU","XBLTSCSW","XHVWMYRE","XQKLDSAP","XVQVSYRK","XKWJNHTJ","XYTBSKPX","XXVCQUTB","XBMXKKWS"],"imageCard":["XKNKFCUR","XJSNWSPS","XFRVTHSF","XBPLHMYE","XHPBUFGX","XNMNRUMG","XHUYYZKM","XWDMGEPD","XEPSTYRY","XUCVEMLZ","XXSBPXCX","XZBDFTBJ","XRVMSHNK","XLPHMVNS","XPYPVQGB","XHLGNURF","XLRWEMYP","XVWSSVMX","XXGZDXMG","XDPYYWLY","XDQWFWQM","XGWBXJBL","XZZLBTTZ","XJCKMNRD","XDXHQFPW","XWQGCMRT","XVRQJUBP","XCZQKUMM","XKCKERUW","XDXMEJHN","XPENJBDU","XRPHPWVM","XXDPWWGK","XPLNGRZM","XQRCRVXX","XMKTWKUZ","XPPHWMDZ","XSMMNCVX","XUJWMYKB","XWFEXGNM","XDBNLGET","XCHRYLXB","XTJNSVVR","XYVYGERH","XWXPFVCX","XUDAZSLE","XUQMADTP","XMDZRDNP","XZVQQLSC","XNUAHFGQ","XXHMUHVG","XQREYZEC","XCKGRVFY","XQFMWXSY","XJAGHTRD","XLASPEWU","XTUCKTVA","XTSZTDSM","XTZBDGTT","XFJPHRCX","XVARNSTK","XNHLFJLJ","XJZPLWCR","XBRRCCHJ","XYZKNRMG","XXYASQSX","XKGGTGZX","XGXLQELF","XUCGQGJN","XGQAJXMK","XFDFAJTJ","XYUCECEB","XNQKTNMP","XURVAYNY","XEBCVJYA","XKTHSAUC","XSNMNYGC","XJQWGWUJ","XRPJCJEB","XSVTSSSF","XDPBDDCM","XRDXAMSV","XGNCDZAW","XWYMNCMF","XQKYDVFW","XSKAMLBM","XEYJMJMT","XTKAPXSU","XFTZSUTR","XBPYJHRZ","XDYYABAV","XULFVSVN","XWDGYGFX","XAYYCZHV","XDUFAAJU","XBLSTHAU","XLASHNSG","XDZADJWG","XFJNGQHA","XSMWQQUY","XKWDYFEA","XKTKQBEQ","XYBFZGGV","XBSNHUYQ","XGAEXBGE","XBYVRDBY","XAXLSDDV","XEZMSCZX","XAJWRBWU","XUYDYWDT","XLKUUVXR","XZZCQRWX","XEYNWJGG","XHWJRTWR","XFEPLWWV","XVWDABUG","XNBYTNYQ","XHAHAWWB","XYWJBRRS","XDPVGMFB","XDJHTZXS","XAWYLEQT","XTKQRHHN","XWYPCKVZ","XFDLHMTT","XHNGSTJV","XQUMZJGZ","XJNJBMSZ","XDHJQPZB","XNHUSQRT","XDQCYUQS","XNAESHEL","XQXSXDFX","XSQXZRDS","XUSTSDNS","XRDZLLXK","XQPAWGJT","XYSDSAYM","XSNYTERK","XDDTRCAH","XCWMJMYM","XGJBVRTC","XLPQELAV","XPRTJYYM","XSLAPMSJ","XJVTYXAF","XGMMPDZZ","XBEHWLYK","XTGAUPFQ","XFHPXBPJ","XSKHEDKE","XRBXNWQG","XHFZHCRU","XALPXDTT","XSXYJNXD","XLVMSEAK","XFBLRFYP","XLETYRJA","XEUZLZBA","XEYCYPKD","XCMLKEUX","XUNCZNRR","XRTBDZCL","XAKJBHUR","XEUTJZRA","XUEGHBEA","XDNRUULE","XHDXVRWL","XHAASBTF","XUKXXTJD","XDZKHRGE","XDQYSHNE","XBRWXNEP","XJELNPJP","XWMCTGNR","XUDVGCKD","XRZKCAXV","XZMALEPY","XUEGYPRE","XSTETTWL","XEJPERQH","XBVZFRAD","XSGQDRLY","XRPCRUJS","XGXXJETP","XQWGNEXG","XGFKPLUJ","XEEMVAKW","XHRCKJDP","XEUTUJZY","XJBTLFBD","XAZAGRMA","XBVECJUG","XRHRQTMX","XHWMYSJU","XDDNEGJZ","XCVZWWPP","XQGLCVGH","XXVEQHBT","XBDMKHLA","XNQXZLHQ","XUJWNEQK","XPKLFWWE","XSNMDQLY","XDDXRXYX","XRAPTEBC","XUZJHLZM","XDMLAAAC","XUETDMAB","XYHBFJEY","XMRMBXDG","XYXKFUEU","XHWHQEBE","XCVSFFHX","XSDPATHS","XMCCLKTP","XVAHNPPL","XYMABUVV","XXUYVFCD","XMJFVSNH","XBRJHFAP","XDFLEFXS","XXZSYLEQ","XRWWZKSW","XQKTDXAR","XGRXDEKS","XQVQFAHJ","XESUZGSR","XGHUQUAC","XJVXHFMY","XANXCNMQ","XNNKFHLC","XNRTGWUQ","XFJKGGXW","XLUZRBUF","XLYWYAXG","XXWMKHCB","XTKVDYEG","XHMQEDGD","XEVNMDVV","XUDGCGTQ","XTKVGLVQ","XFLSJMGH","XEDBEGJR","XSVZARKE","XFRVBKXW","XDUXBSQJ","XPBKJSUP","XKWYRWUD","XHCRZKSV","XLNEPMNR","XWZPRZNT","XEJZFPGF","XWVBMVVX","XQMNRHBE","XDVQZCLE","XASGAXPA","XPQLXQSF","XYMZCKQW","XJVJTDNV","XTVKUSHS","XGCYAVCQ","XWSHCRGK","XPXQRKHY","XPYSGQTT","XPCUXSND","XULMXJWJ","XEKWNJES","XCVNZHBE","XZZVPQDA","XJCYNCCU","XSNRVSMG","XBAWSWJU","XYFKBCSJ","XANRJYUZ","XSTKYBMQ","XKQVQQHG","XBGAABXM","XVTNYPWA","XFZTWQYW","XUCCKFAK","XHSBFUST","XSZHXNDR","XACAYKEA","XJUKLUES","XTKNHQLS","XFQYDQRG","XTQVCDFS","XJCQBZPY","XAEEPYYY","XJQZGGEW","XMTKJZFA","XWKGVNKQ","XEBYQTFD","XLHEGXRW","XXUFZSUT","XCKQQJJX","XAADSWHV","XXQJLASL","XTUCGTJS","XBWQFUJP","XXMACUWE","XZRMJMVR","XZUZEANE","XDYCEWZN","XKSEUZJK","XZZXWUFF","XNNHSVAR","XZUFYUVD","XTVEDUUT","XQYZUKVZ","XYPTCQLH","XVYHBUJC","XEJFXQHD","XUGJBKZE","XSCDQGXY","XTPUVAZT","XCMJYMEP","XKSDCVHP","XZNKETBX","XHWCTGPZ","XFQPYBDY","XNAZYJJH","XFYJGXZB","XNYPZWNW","XFDSDJAD","XFPPWJGX","XAQCYHAD","XCYLAWRT","XVDMURQC","XDLMCHNN","XKQHVZCN","XDZUVYUM","XVQEDHTJ","XCYQUCKT","XWLWLZCR","XRWEYYPD","XBLUAPXP","XHPNSQAP","XYHDEXEQ","XFPRWALE","XHBTUUQM","XZHHGXUH","XWNTRSUK","XKRQAMRP","XQNBKDFQ","XUYCLYCY","XKYJXQRP","XJGDVRBZ","XEMTKTEN","XQXDFLPM","XCGRBEMW","XDXUSXDU","XMJQHFEA","XMAAWNAX","XENBDUMM","XFWXKDSN","XJZFTUKX","XBJMQPLM","XTADFPCL","XPPNDREK","XACCDBFW","XADTJGXL","XQFJJPUY","XTRFWUHY","XAJPFHVE","XAPRKPPQ","XRJKTKUP","XNRUHQMB","XNGWKHAM","XDNNRQYS","XAGBSUTB","XDZFXUZR","XTGQFGNT","XPRKXXCN","XJJQWYGQ","XVPSSSBY","XSUWCFGD","XVMPKMFS","XHCDXNCR","XXUBPVQX","XDTWYVHW","XNTVQMXH","XNRQUSVF","XEQDCEYU","XFCZCAJY","XWVWBWMD","XHPTWGQE","XPBXPKJS","XTDCTDAJ","XVGBKWRF","XTLTNZBV","XCQNFMGD","XNVWTXCA","XMSCKPRV","XKYZTBGZ","XDNAMGAL","XDZSGEHB","XHQVSGXW","XKGCSCBZ","XRTEHXVF","XPFNGPKM","XZZMXWZW","XGQATEQY","XZLHHGPJ","XMZJUQUM","XNQSCFCL","XAKFCQHE","XQHFYACV","XKYDHJYC","XSQSTRRK","XVUTCWZU","XSWJDTBT","XZUQBNSS","XPYPPZLH","XAGBFXHR","XXPHQRMH","XHGGQZHV","XJJBMPKZ","XAURLVAY","XALXYJVD","XWSFQHWS","XDDJHVPQ","XFNWPTZU","XSDJEPGN","XBMLYXND","XFQCVHHQ","XXHZQLUT","XLQTMGPP","XSEPVKPR","XPFJQJJH","XABCSCYD","XNGYYLFW","XHQZCEJC","XQJGYBHP","XKQNEGFM","XUWPKMFQ","XBHXGUKN","XCMJMCMW","XEQBPNRV","XFGSKKEM","XRBMSCSQ","XJNLMZVY","XCVPREQY","XKFMMZUF","XQYTHUJK","XXGPPUGD","XAHSWLPE","XAULQWNK","XFELZYXG","XBYDNNZU","XSSZFEQK","XDEHHKPK","XRKGLFLK","XQCAPBQF","XKBAVLYE","XPEJCUEP","XNBKQWTE","XCBEFGGB","XVCQKJPU","XQJFGFVR","XWBMZTXD","XUFTEJUE","XZNZGMKY","XEBUTMJN","XRBNQEDQ","XEHGLFAH","XNKMZNHL","XXBPVWAB","XGKCSHJB","XDMAKLUP","XLLVUSVM","XFFWJPMJ","XLBQYZKZ","XUTXQUAX","XKFPBMBY","XMQECDAK","XKJFKYYL","XPJXKWRR","XNQWNQMZ","XCEWCDVQ","XSZXZYJE","XDTAMLVW","XTPCZBWM","XLVKFVYQ","XYVQELGD","XAHUWLAH","XZWRJNBT","XUPEBSJC","XCLTCWNP","XNHLUVUQ","XMHVPMRT","XCDWXNCH","XPHACRCJ","XRYGDDQL","XLJRJVGF","XLQNQUZF","XLNDXVSH","XMDQCJWD","XKERZKVK","XATKRJQY","XPFVBMLG","XYXHNASB","XXKNHXYK","XJGELKKT","XVTQKFJZ","XYBXMKCL","XAMBXTLG","XCXCGSZJ","XEGKEAFG","XQEPUMEX","XNSEZFZC","XVXBDELF","XCYQQSRU","XKNGBVXV","XWWPGBXF","XHJZEVZJ","XZJHABVL","XDPKKRZX","XKWABDYA","XXGDYLHU"],"impactSlider":["XFZBFYRK","XTTZQYHH","XWWGBYMQ","XMCFTDUC","XHQCUGLG","XECZESGS","XBWBSMCH","XHDTDLVC","XXNPRYBX","XBZDFFMJ","XWFFCRDM","XZYHTMZB","XUHHZPGX","XPKBCDHV","XWEHFHBH","XJWRNXFF","XDSZKSUZ","XVQFKFBY","XWPMEZQL","XBCEYDDT","XGAGREGW","XMWKFJAG","XKPZHETT","XPSYJMDG","XYEKUNAE","XJAMXXKP","XQYGGZNF","XSBNDCCK","XNPXYZVJ","XCCLPXNG","XNVCTYDD","XYANNFQC","XHJGXWTK","XKLHTTWM","XLFGJGKA","XTSHYZPT","XTEUXPDR","XTRLPNMD","XZYCCMYJ","XMBELZGP","XNBCPHNC","XFWLDRFV","XXDZXVCE","XSENSASJ","XNUARGWC","XEPCVHVG","XYBHHMMY","XYXDTKUK","XKZMFFHD","XMSYXBET","XEKLSRBB","XSEPMCLV","XKRWWSSJ","XZBNEBFY","XMRYGSMS","XBDYVDYP","XVXZPTRR","XHHARYXD","XNPQPNNS","XBENGNNE","XNJZHRYL","XEEEYGFP","XRGQKXAH","XKWNCVRV","XFSRLVDU","XBJUDPGT","XWPQNRVJ","XXRMLDHA","XPVRHEHZ","XBKQCSYX","XYEZJXTR","XQFZBHLC","XTZNECNX","XHYKEEYA","XGZGWSHS","XZFJMMKJ","XVTMMVAM","XZKZUWZQ","XFKKCZTG","XNFYKTPU","XNXBTJEW","XKRARGRU","XXEESEGA","XJJUGFDL","XSQMVAHJ","XTBHTZEW","XPGEYPBM","XKSSVTMU","XKDPLZVX","XUBTBMYA","XNLPGXQV","XYFZDZNB","XHZUTZED","XEDKPPQF","XRCGVGAA","XWFNYEZN","XCMDTPHY","XFWKPHMH","XRJSJDSW","XKNUHDJZ","XJHDRBWJ","XFWQETWU","XLHZAXQL","XWXHLXAF","XQFAQDCY","XXVURGJZ","XTSFEDRC","XPBUYQYM","XUYPNTQS","XNXEDMZF","XUMGXDAP","XQQPWFRZ","XRXRPLVY","XLWUBEBR","XZQSBZVR","XEZESXWV","XNHZLZVE","XHEAQRKU","XCRQABRH","XQLZGSNU","XHDSFZGW","XCBPGMLJ","XXAFLKHE","XYATFQTJ","XLSBMUCA","XGQFWYMU","XABUWKWQ","XVLGTGHV","XSHDDNDN","XJMPYVET","XSRNLHMN","XPKBAWNG","XGGWDVNC","XKENXGAD","XMFKYTHT","XGVBLBGW","XPHYRFUD","XTZKJMEY","XDBRGLYV","XMNECLNK","XSZLBPEP","XFNUEWAW","XPYYYZHY","XDQCBGVG","XMTQGAWX","XDYFQQBW","XULJUKFX","XLLHPATM","XUEDRKBN","XMVSFTJZ","XRCZEQFZ","XFEZSAAB","XJQLANHZ","XSLFBNZU"],"stickyButton":["XSLBGLMZ","XTWUWSRF","XKUXQCPB","XNCFZQXD","XAWFZKKV","XSPLKJFH","XZFQANEZ","XFDCFTXH","XJXXAJYB","XERBUQXQ","XBJWEHQX","XSHETEBZ","XQUJUKHR","XGCWXZWD","XBTQCKRJ","XJBHRYND","XYRVJRZG","XSXBYYMF","XLNPAVSN","XBDTJWMR","XCKCQWNV","XHCSZSJD","XNDHTUDX","XBXQCZLT","XENEACUH","XYSTXMDC","XDPMGCUK","XKHMJDHM","XPYZJNDL","XWSGURMH","XFDUDGAZ","XQEMDGRP","XYDDAZGF","XJYKZFWH","XFAAHLTZ","XPFYADMU","XFSWFFWU"],"reminder":["XCRTNKHU"],"p2pLink":["XZXHBDNQ","XPVLZFYS","XHYPCJNL","XUQKUEEP","XNRZDURR","XRLXCTVB","XCHEENDM","XWJEZADM","XMCRZKHC","XYQFNXUY"],"donationLevels":["XUWUZMJJ","XRJTCFSY","XMNTZKJQ","XYYTPHMJ","XGSXWWQD","XBQKACSD","XLDMSGMP","XEGXESAC","XPKVCWTK","XMCDVUML","XQUPZBND","XBJFLWGX"],"statCounter":["XHJEJXPC"],"p2pButton":["XFWKPXZK","XDRBNYTX","XCNWEWEY","XEYKKXGJ","XGCLCNLR","XJDCGRCK"],"topFundraisers":["XDRYMLJX","XBUFVGLX"],"goalMeter":["XXBMHYBF","XFAWYSRW","XCFTMPCN","XQWRPNUV","XFUWDKKD","XPXKNLSN"],"qrCode":["XEBSGDEL","XBXPJQCD","XNYPYMHG","XKTHSDTT","XQSNECBF","XAWQGLVD"],"donorMap":["XPPNBWHH"],"topSupporters":["XRUWFNGU"],"socialProof":["XMFYYJXP"]},inactiveWidgets:[],giftCatalogs:[]},company:{"key":"ACSRWCJP","disabledWidgets":{"redirectTo":"widget","url":"","widgetKey":"FUNBJGUDYZC"},"localization":{"defaultLocale":"en-US","interfaceLocales":["ar-001","en-US","fr-FR","de","it","pt-BR","es"],"matchBrowserLocale":true,"matchURL":true,"urlRules":[{"url":"https://www.unfpa.org/de*","locale":"de"},{"url":"https://www.unfpa.org/es*","locale":"es"},{"url":"https://www.unfpa.org/fr*","locale":"fr-FR"},{"url":"https://www.unfpa.org/it*","locale":"it"},{"url":"https://www.unfpa.org/ar*","locale":"ar-001"},{"url":"https://www.unfpa.org/it/RoadtripOfChoices","locale":"it"},{"url":"https://www.unfpa.org/donate/ramadan23/a*","locale":"ar-001"},{"url":"https://www.unfpa.org/sudan-armed-clashes-are-putting-women-and-girls-risk*","locale":"ar-001"},{"url":"unfpa.org/ch*","locale":"zh-TW"},{"url":"https://www.unfpa.org/pt*","locale":"pt-BR"}]},"parentKey":null,"country":"US"},version:'260313-1127',meta:{"user":{"location":{"countryCode":"US","city":"Ashburn","country":"United States of America"},"langCurrencies":["USD"],"countryCurrencies":["USD"]}}}),i=n.get(fe.i.EMBED_TRACKER).getTLD();n.get(fe.i.CONSENT_MANAGER_API).initialize(i);const o=n.get(fe.i.EMBED_CONFIG),r=n.get(fe.i.EMBED_INTERNAL_API);o.fromDonorPortal&&(null===(t=window.FUN)||void 0===t?void 0:t.showDebugPanel)&&(r.showDebugPanel=window.FUN.showDebugPanel),window.FUN=r,window.FUN.init().then(()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"FundraiseUp.optimize.activate"}),qr.log("initialized")}).catch(e=>{console.error(e)})}()})()})();
