@beamimpact/web-sdk 1.29.0-beta.2 → 1.29.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/chunks/{_share-dialog-dependencies-rhp3w_bc.esm.js → _share-dialog-dependencies-U6xmvwbS.esm.js} +2 -2
  2. package/dist/chunks/_share-dialog-dependencies-U6xmvwbS.esm.js.map +1 -0
  3. package/dist/chunks/{_share-dialog-dependencies-SPLB_3ny.esm.js → _share-dialog-dependencies-atazwFLD.esm.js} +2 -2
  4. package/dist/chunks/_share-dialog-dependencies-atazwFLD.esm.js.map +1 -0
  5. package/dist/chunks/index-3t5Lk3no.esm.js +2 -0
  6. package/dist/chunks/index-3t5Lk3no.esm.js.map +1 -0
  7. package/dist/chunks/index-88dvwYfV.esm.js +2 -0
  8. package/dist/chunks/index-88dvwYfV.esm.js.map +1 -0
  9. package/dist/chunks/index-EtzJh88T.esm.js +2 -0
  10. package/dist/chunks/index-EtzJh88T.esm.js.map +1 -0
  11. package/dist/chunks/index-Win_94pf.esm.js +2 -0
  12. package/dist/chunks/index-Win_94pf.esm.js.map +1 -0
  13. package/dist/chunks/index-WxO-fsYo.esm.js +2 -0
  14. package/dist/chunks/index-WxO-fsYo.esm.js.map +1 -0
  15. package/dist/chunks/{order-page-0Hp4NoQq.esm.js → order-page-XgvorZM6.esm.js} +2 -2
  16. package/dist/chunks/{order-page-0Hp4NoQq.esm.js.map → order-page-XgvorZM6.esm.js.map} +1 -1
  17. package/dist/chunks/{order-page-a46zvUZT.esm.js → order-page-zaTU61Qf.esm.js} +2 -2
  18. package/dist/chunks/{order-page-a46zvUZT.esm.js.map → order-page-zaTU61Qf.esm.js.map} +1 -1
  19. package/dist/chunks/{routes-MZb9Fq0P.esm.js → routes-gjAehped.esm.js} +2 -2
  20. package/dist/chunks/{routes-MZb9Fq0P.esm.js.map → routes-gjAehped.esm.js.map} +1 -1
  21. package/dist/chunks/{update-cart-vHXpyCQh.esm.js → update-cart-LUZkuQL3.esm.js} +2 -2
  22. package/dist/chunks/{update-cart-vHXpyCQh.esm.js.map → update-cart-LUZkuQL3.esm.js.map} +1 -1
  23. package/dist/components/community-impact.esm.js +1 -1
  24. package/dist/components/community-impact.js +1 -1
  25. package/dist/components/cumulative-impact.esm.js +1 -1
  26. package/dist/components/cumulative-impact.js +1 -1
  27. package/dist/components/impact-overview.esm.js +17 -17
  28. package/dist/components/impact-overview.esm.js.map +1 -1
  29. package/dist/components/impact-overview.js +17 -17
  30. package/dist/components/impact-overview.js.map +1 -1
  31. package/dist/components/index.esm.js +1 -1
  32. package/dist/components/index.js +1 -1
  33. package/dist/components/post-purchase.esm.js +1 -1
  34. package/dist/components/post-purchase.js +1 -1
  35. package/dist/components/redeem-transaction.esm.js +1 -1
  36. package/dist/components/redeem-transaction.js +1 -1
  37. package/dist/components/select-nonprofit.esm.js +1 -1
  38. package/dist/components/select-nonprofit.js +1 -1
  39. package/dist/components/shopify.esm.js +1 -1
  40. package/dist/components/shopify.js +1 -1
  41. package/dist/index.esm.js +1 -1
  42. package/dist/index.js +1 -1
  43. package/dist/integrations/cart.esm.js +1 -1
  44. package/dist/integrations/cart.js +1 -1
  45. package/dist/integrations/index.esm.js +1 -1
  46. package/dist/integrations/index.js +1 -1
  47. package/dist/integrations/shopify.esm.js +1 -1
  48. package/dist/integrations/shopify.js +1 -1
  49. package/dist/react/community-impact.esm.js +1 -1
  50. package/dist/react/community-impact.js +1 -1
  51. package/dist/react/cumulative-impact.esm.js +1 -1
  52. package/dist/react/cumulative-impact.js +1 -1
  53. package/dist/react/impact-overview.esm.js +1 -1
  54. package/dist/react/impact-overview.js +1 -1
  55. package/dist/react/index.esm.js +1 -1
  56. package/dist/react/index.js +1 -1
  57. package/dist/react/post-purchase.esm.js +1 -1
  58. package/dist/react/post-purchase.js +1 -1
  59. package/dist/react/redeem-transaction.esm.js +1 -1
  60. package/dist/react/redeem-transaction.js +1 -1
  61. package/dist/react/select-nonprofit.esm.js +1 -1
  62. package/dist/react/select-nonprofit.js +1 -1
  63. package/package.json +1 -1
  64. package/dist/chunks/_share-dialog-dependencies-SPLB_3ny.esm.js.map +0 -1
  65. package/dist/chunks/_share-dialog-dependencies-rhp3w_bc.esm.js.map +0 -1
  66. package/dist/chunks/index-B6ZVcw-2.esm.js +0 -2
  67. package/dist/chunks/index-B6ZVcw-2.esm.js.map +0 -1
  68. package/dist/chunks/index-IeUA7g43.esm.js +0 -2
  69. package/dist/chunks/index-IeUA7g43.esm.js.map +0 -1
  70. package/dist/chunks/index-k7UbsAvh.esm.js +0 -2
  71. package/dist/chunks/index-k7UbsAvh.esm.js.map +0 -1
  72. package/dist/chunks/index-nrUfRMjl.esm.js +0 -2
  73. package/dist/chunks/index-nrUfRMjl.esm.js.map +0 -1
  74. package/dist/chunks/index-zaXXznPD.esm.js +0 -2
  75. package/dist/chunks/index-zaXXznPD.esm.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import{h as x,f as l,g as w,y as b,p as k,m as z,k as $}from"../chunks/lit-h1W25hjN.esm.js";import{c as L,u as m,d as D,e as u,A as S,b as p,f as A,a as E,_ as y,i as d}from"../chunks/localize-e-mss8ya.esm.js";import{D as T,c as B,d as P,S as U}from"../chunks/routes-MZb9Fq0P.esm.js";import{p as F}from"../chunks/progress-bar-w3yfrrxD.esm.js";import{c as W}from"../chunks/local-storage-Rrnk_Dg-.esm.js";import{a as N,B as C}from"../chunks/events-rRSQYdP1.esm.js";import{a as v}from"../chunks/cookies-BnIoXWd0.esm.js";import{c as M}from"../chunks/responsive-Rehmv-eo.esm.js";import{B as O}from"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";const h={en:{beamAttribution:()=>"Powered by Beam",ctaTitle:()=>"Choose your impact",ctaMessage:({donationPercentage:r="1"}={})=>`Select a nonprofit and ${r}% of your purchase will be donated, at no extra cost.`,inlineSeparator:()=>": "},fr:{beamAttribution:()=>"Optimis\xE9 par Beam",ctaTitle:()=>"Choisissez votre cause",ctaMessage:({donationPercentage:r="1"}={})=>`Choisissez un organisme \xE0 but non lucratif et ${r} % lui sera vers\xE9 en votre nom, sans frais suppl\xE9mentaires.`,inlineSeparator:()=>" : "},de:{beamAttribution:()=>"Unterst\xFCtzt von Beam",ctaTitle:()=>"W\xE4hle deinen Impact",ctaMessage:({donationPercentage:r="1"}={})=>`W\xE4hle eine der gemeinn\xFCtzigen Organisationen und spende ${r}% deines Einkaufs ohne zus\xE4tzliche Kosten`,inlineSeparator:()=>": "},es:{beamAttribution:()=>"Ofrecido por Beam",ctaTitle:()=>"Elige tu contribuci\xF3n",ctaMessage:({donationPercentage:r="1"}={})=>`Elige una organizaci\xF3n sin fines de lucro y donaremos ${r}% de tu compra sin coste adicional.`,inlineSeparator:()=>": "},it:{beamAttribution:()=>"Gestito da Beam",ctaTitle:()=>"Scegli dove fare la differenza",ctaMessage:({donationPercentage:r="1"}={})=>`Seleziona un'organizzazione no-profit a cui devolvere l\u2019${r}% del tuo acquisto, senza costi aggiuntivi`,inlineSeparator:()=>": "},pl:{beamAttribution:()=>"Wspierany przez Beam",ctaTitle:()=>"Wybierz inicjatyw\u0119, kt\xF3r\u0105 chcesz wesprze\u0107",ctaMessage:({donationPercentage:r="1"}={})=>`Wybierz organizacj\u0119, kt\xF3rej przeka\u017Cesz ${r}% warto\u015Bci Twoich zakup\xF3w \u2013 bez \u017Cadnych dodatkowych koszt\xF3w!`,inlineSeparator:()=>": "}};var R=Object.defineProperty,K=Object.getOwnPropertyDescriptor,c=(r,t,e,i)=>{for(var n=i>1?void 0:i?K(t,e):t,a=r.length-1,o;a>=0;a--)(o=r[a])&&(n=(i?o(t,e,n):o(n))||n);return i&&n&&R(t,e,n),n};class s extends w{constructor(){super(...arguments),this.baseUrl=T,this.selectedNonprofitId=null,this.lang="en",this.debug=!1,this.enableNonprofitDeselection=!1,this.getChainNonprofits=async()=>{u(["apiKey","chainId"],this);const t=this.cart?.schema?{schema:this.cart?.schema,content:this.cart?.content}:void 0,e=await B({baseUrl:this.baseUrl,apiRoot:"/api/v3",headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{chainId:this.chainId,storeId:this.storeId,widgetName:"select-nonprofit",postalCode:this.postalCode,countryCode:this.countryCode,version:"1.0.0",lang:this.configLang,cart:t}});return this.enableNonprofitDeselection=!!e.config.enableNonprofitDeselection,this.selectedNonprofitId&&!e.nonprofits.map(i=>i.nonprofit.id).includes(this.selectedNonprofitId)&&(this.selectedNonprofitId=null,this.dispatchEvent(new N({selectedNonprofitId:this.selectedNonprofitId,selectionId:this.selectionId,nonprofitName:null}))),e.store?.id&&e.store.id!==this.storeId&&(this.storeId=e.store.id),this.localStorage.setItemJson("chainNonprofits",{createdAt:new Date,data:e}),e},this.postSelectNonprofit=async({selectedNonprofitId:t})=>{u(["apiKey","chainId","storeId"],this);const e=this.getExternalCartId(),i=this.getBeamCartId(),n=await P({baseUrl:this.baseUrl,headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{nonprofitId:t,selectionId:this.selectionId,storeId:this.storeId,cartId:e,beamCartId:i}});this.selectionId=n?.selectionId,this.localStorage.setItem("transaction",this.selectionId),this.localStorage.setItem("nonprofit",t),await this.updateComplete;const a=this.getNonprofitById(t);this.dispatchEvent(new N({selectedNonprofitId:t,selectionId:this.selectionId,nonprofitName:a?.nonprofit?.name}))},this.nonprofitListDataController=new S(this,this.getChainNonprofits),this.selectionDataController=new S(this,this.postSelectNonprofit),this.localStorage=W(this),this.handleCartChange=t=>{this.cart=t.detail},this.makeHandleSelect=(t,e,i)=>async n=>{const a=this.selectedNonprofitId;if(n instanceof KeyboardEvent){let o=null;switch(n.key){case"ArrowUp":case"ArrowLeft":e===0?o=i[i.length-1]:o=i[e-1],n.preventDefault();break;case"ArrowRight":case"ArrowDown":e===i.length-1?o=i[0]:o=i[e+1],n.preventDefault();break;case"Enter":case" ":n.preventDefault();break;default:return}if(o){a!=null&&(this.selectedNonprofitId=o.nonprofit.id);const f=this.renderRoot.querySelector(`[data-value="${o.nonprofit.id}"]`);f!==null&&(f.tabIndex=0,f.focus());return}}if(n.currentTarget instanceof HTMLElement)if(a===t)if(this.enableNonprofitDeselection)this.selectedNonprofitId=null;else return;else this.selectedNonprofitId=t;await this.selectionDataController.exec({selectedNonprofitId:this.selectedNonprofitId})}}get configLang(){return U[this.lang]||"en"}getNonprofitById(t){return t?this.nonprofitListDataController?.data?.nonprofits.find(e=>e.nonprofit.id===t):null}async willUpdate(t){const e=["chainId","baseUrl","storeId","apiKey","countryCode","postalCode","cart","lang"];for(const i of e)if(t.has(i)){await this.nonprofitListDataController.exec();break}}async firstUpdated(t){await this.restoreStateFromCache()}connectedCallback(){super.connectedCallback(),window.addEventListener(C.eventName,this.handleCartChange)}disconnectedCallback(){window.removeEventListener(C.eventName,this.handleCartChange),super.disconnectedCallback()}getExternalCartId(){return this.localStorage.getItemJson("cart")?.cartId??v("cart")}getBeamCartId(){return v(O)}async restoreStateFromCache(){u(["apiKey","chainId","storeId"],this);try{this.selectedNonprofitId=parseInt(this.localStorage.getItem("nonprofit")||"")||null,this.selectionId=this.localStorage.getItem("transaction")??void 0,this.cart=this.localStorage.getItemJson("cart")??void 0;const{createdAt:t=0,data:e}=this.localStorage.getItemJson("chainNonprofits")||{},i=2*60*60*1e3;if(new Date(t).valueOf()+i>new Date().valueOf()&&(this.nonprofitListDataController.data=e,this.nonprofitListDataController.loading=!1),this.selectedNonprofitId&&!this.selectionId&&await this.selectionDataController.exec({selectedNonprofitId:this.selectedNonprofitId}),this.selectedNonprofitId){const n=this.getNonprofitById(this.selectedNonprofitId);this.dispatchEvent(new N({selectedNonprofitId:this.selectedNonprofitId,selectionId:this.selectionId,nonprofitName:n?.nonprofit?.name}))}}catch{}}get cssVariables(){const t={"--beam-fontFamily":"inherit","--beam-fontSize":"inherit","--beam-textColor":"inherit","--beam-backgroundColor":"inherit",...F,"--beam-SelectNonprofit-title-textAlign":"inherit","--beam-SelectNonprofit-description-textAlign":"inherit","--beam-SelectNonprofit-maxWidth":"800px","--beam-SelectNonprofit-options-marginTop":"0px","--beam-SelectNonprofit-options-iconHeight":"24px","--beam-SelectNonprofit-options-padding":"10px","--beam-SelectNonprofit-options-borderRadius":"0px","--beam-SelectNonprofit-options-borderColor":"currentColor","--beam-SelectNonprofit-options--selected-borderColor":"currentColor","--beam-SelectNonprofit-options-backgroundColor":"transparent","--beam-SelectNonprofit-options-gap":"8px","--beam-SelectNonprofit-options--selected-backgroundColor":"currentColor","--beam-SelectNonprofit-details-marginTop":"10px","--beam-SelectNonprofit-details-borderRadius":"0px","--beam-SelectNonprofit-details-borderColor":"currentColor","--beam-SelectNonprofit-details-backgroundColor":"inherit",...p("--beam-SelectNonprofit-title",{fontSize:"1.25em",fontWeight:"bold"}),...p("--beam-SelectNonprofit-title-inline",{fontWeight:"bold"}),"--beam-SelectNonprofit-title-inline-textTransform":"none",...p("--beam-SelectNonprofit-description",{marginTop:"0.5em"}),...p("--beam-SelectNonprofit-description-inline"),...p("--beam-SelectNonprofit-details-cause",{fontSize:"0.85em",fontWeight:"bold"}),...p("--beam-SelectNonprofit-details-beamAttribution",{fontSize:"0.85em"}),...p("--beam-SelectNonprofit-details-impactDescription",{fontSize:"1em",marginTop:"10px"}),"--beam-SelectNonprofit-details-nonprofitName-fontWeight":"bold","--beam-SelectNonprofit-details-nonprofitName-fontStyle":"inherit","--beam-SelectNonprofit-details-fundingProgress-marginTop":"10px",...p("--beam-SelectNonprofit-details-fundingProgressLabel",{fontSize:"0.85em"})},e=this.nonprofitListDataController?.data?.config?.web?.theme||{},i={...t,...e};return Object.assign(Object.create({toCSS(){return A(this)}}),i)}render(){const{selectedNonprofitId:t}=this,{data:e,loading:i}=this.nonprofitListDataController;if(i&&!e)return E();if(this.nonprofitListDataController.error)return this.debug?y({error:this.nonprofitListDataController.error}):"";if(this.selectionDataController.error&&this.debug)return y({error:this.selectionDataController.error});const n=e?.nonprofits||[],a=n.find(o=>o.nonprofit.id===t)||null;return b`
1
+ import{h as x,f as l,g as w,y as b,p as k,m as z,k as $}from"../chunks/lit-h1W25hjN.esm.js";import{c as L,u as m,d as D,e as u,A as S,b as p,f as A,a as E,_ as y,i as d}from"../chunks/localize-e-mss8ya.esm.js";import{D as T,c as B,d as P,S as U}from"../chunks/routes-gjAehped.esm.js";import{p as F}from"../chunks/progress-bar-w3yfrrxD.esm.js";import{c as W}from"../chunks/local-storage-Rrnk_Dg-.esm.js";import{a as N,B as C}from"../chunks/events-rRSQYdP1.esm.js";import{a as v}from"../chunks/cookies-BnIoXWd0.esm.js";import{c as M}from"../chunks/responsive-Rehmv-eo.esm.js";import{B as O}from"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";const h={en:{beamAttribution:()=>"Powered by Beam",ctaTitle:()=>"Choose your impact",ctaMessage:({donationPercentage:r="1"}={})=>`Select a nonprofit and ${r}% of your purchase will be donated, at no extra cost.`,inlineSeparator:()=>": "},fr:{beamAttribution:()=>"Optimis\xE9 par Beam",ctaTitle:()=>"Choisissez votre cause",ctaMessage:({donationPercentage:r="1"}={})=>`Choisissez un organisme \xE0 but non lucratif et ${r} % lui sera vers\xE9 en votre nom, sans frais suppl\xE9mentaires.`,inlineSeparator:()=>" : "},de:{beamAttribution:()=>"Unterst\xFCtzt von Beam",ctaTitle:()=>"W\xE4hle deinen Impact",ctaMessage:({donationPercentage:r="1"}={})=>`W\xE4hle eine der gemeinn\xFCtzigen Organisationen und spende ${r}% deines Einkaufs ohne zus\xE4tzliche Kosten`,inlineSeparator:()=>": "},es:{beamAttribution:()=>"Ofrecido por Beam",ctaTitle:()=>"Elige tu contribuci\xF3n",ctaMessage:({donationPercentage:r="1"}={})=>`Elige una organizaci\xF3n sin fines de lucro y donaremos ${r}% de tu compra sin coste adicional.`,inlineSeparator:()=>": "},it:{beamAttribution:()=>"Gestito da Beam",ctaTitle:()=>"Scegli dove fare la differenza",ctaMessage:({donationPercentage:r="1"}={})=>`Seleziona un'organizzazione no-profit a cui devolvere l\u2019${r}% del tuo acquisto, senza costi aggiuntivi`,inlineSeparator:()=>": "},pl:{beamAttribution:()=>"Wspierany przez Beam",ctaTitle:()=>"Wybierz inicjatyw\u0119, kt\xF3r\u0105 chcesz wesprze\u0107",ctaMessage:({donationPercentage:r="1"}={})=>`Wybierz organizacj\u0119, kt\xF3rej przeka\u017Cesz ${r}% warto\u015Bci Twoich zakup\xF3w \u2013 bez \u017Cadnych dodatkowych koszt\xF3w!`,inlineSeparator:()=>": "}};var R=Object.defineProperty,K=Object.getOwnPropertyDescriptor,c=(r,t,e,i)=>{for(var n=i>1?void 0:i?K(t,e):t,a=r.length-1,o;a>=0;a--)(o=r[a])&&(n=(i?o(t,e,n):o(n))||n);return i&&n&&R(t,e,n),n};class s extends w{constructor(){super(...arguments),this.baseUrl=T,this.selectedNonprofitId=null,this.lang="en",this.debug=!1,this.enableNonprofitDeselection=!1,this.getChainNonprofits=async()=>{u(["apiKey","chainId"],this);const t=this.cart?.schema?{schema:this.cart?.schema,content:this.cart?.content}:void 0,e=await B({baseUrl:this.baseUrl,apiRoot:"/api/v3",headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{chainId:this.chainId,storeId:this.storeId,widgetName:"select-nonprofit",postalCode:this.postalCode,countryCode:this.countryCode,version:"1.0.0",lang:this.configLang,cart:t}});return this.enableNonprofitDeselection=!!e.config.enableNonprofitDeselection,this.selectedNonprofitId&&!e.nonprofits.map(i=>i.nonprofit.id).includes(this.selectedNonprofitId)&&(this.selectedNonprofitId=null,this.dispatchEvent(new N({selectedNonprofitId:this.selectedNonprofitId,selectionId:this.selectionId,nonprofitName:null}))),e.store?.id&&e.store.id!==this.storeId&&(this.storeId=e.store.id),this.localStorage.setItemJson("chainNonprofits",{createdAt:new Date,data:e}),e},this.postSelectNonprofit=async({selectedNonprofitId:t})=>{u(["apiKey","chainId","storeId"],this);const e=this.getExternalCartId(),i=this.getBeamCartId(),n=await P({baseUrl:this.baseUrl,headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{nonprofitId:t,selectionId:this.selectionId,storeId:this.storeId,cartId:e,beamCartId:i}});this.selectionId=n?.selectionId,this.localStorage.setItem("transaction",this.selectionId),this.localStorage.setItem("nonprofit",t),await this.updateComplete;const a=this.getNonprofitById(t);this.dispatchEvent(new N({selectedNonprofitId:t,selectionId:this.selectionId,nonprofitName:a?.nonprofit?.name}))},this.nonprofitListDataController=new S(this,this.getChainNonprofits),this.selectionDataController=new S(this,this.postSelectNonprofit),this.localStorage=W(this),this.handleCartChange=t=>{this.cart=t.detail},this.makeHandleSelect=(t,e,i)=>async n=>{const a=this.selectedNonprofitId;if(n instanceof KeyboardEvent){let o=null;switch(n.key){case"ArrowUp":case"ArrowLeft":e===0?o=i[i.length-1]:o=i[e-1],n.preventDefault();break;case"ArrowRight":case"ArrowDown":e===i.length-1?o=i[0]:o=i[e+1],n.preventDefault();break;case"Enter":case" ":n.preventDefault();break;default:return}if(o){a!=null&&(this.selectedNonprofitId=o.nonprofit.id);const f=this.renderRoot.querySelector(`[data-value="${o.nonprofit.id}"]`);f!==null&&(f.tabIndex=0,f.focus());return}}if(n.currentTarget instanceof HTMLElement)if(a===t)if(this.enableNonprofitDeselection)this.selectedNonprofitId=null;else return;else this.selectedNonprofitId=t;await this.selectionDataController.exec({selectedNonprofitId:this.selectedNonprofitId})}}get configLang(){return U[this.lang]||"en"}getNonprofitById(t){return t?this.nonprofitListDataController?.data?.nonprofits.find(e=>e.nonprofit.id===t):null}async willUpdate(t){const e=["chainId","baseUrl","storeId","apiKey","countryCode","postalCode","cart","lang"];for(const i of e)if(t.has(i)){await this.nonprofitListDataController.exec();break}}async firstUpdated(t){await this.restoreStateFromCache()}connectedCallback(){super.connectedCallback(),window.addEventListener(C.eventName,this.handleCartChange)}disconnectedCallback(){window.removeEventListener(C.eventName,this.handleCartChange),super.disconnectedCallback()}getExternalCartId(){return this.localStorage.getItemJson("cart")?.cartId??v("cart")}getBeamCartId(){return v(O)}async restoreStateFromCache(){u(["apiKey","chainId","storeId"],this);try{this.selectedNonprofitId=parseInt(this.localStorage.getItem("nonprofit")||"")||null,this.selectionId=this.localStorage.getItem("transaction")??void 0,this.cart=this.localStorage.getItemJson("cart")??void 0;const{createdAt:t=0,data:e}=this.localStorage.getItemJson("chainNonprofits")||{},i=2*60*60*1e3;if(new Date(t).valueOf()+i>new Date().valueOf()&&(this.nonprofitListDataController.data=e,this.nonprofitListDataController.loading=!1),this.selectedNonprofitId&&!this.selectionId&&await this.selectionDataController.exec({selectedNonprofitId:this.selectedNonprofitId}),this.selectedNonprofitId){const n=this.getNonprofitById(this.selectedNonprofitId);this.dispatchEvent(new N({selectedNonprofitId:this.selectedNonprofitId,selectionId:this.selectionId,nonprofitName:n?.nonprofit?.name}))}}catch{}}get cssVariables(){const t={"--beam-fontFamily":"inherit","--beam-fontSize":"inherit","--beam-textColor":"inherit","--beam-backgroundColor":"inherit",...F,"--beam-SelectNonprofit-title-textAlign":"inherit","--beam-SelectNonprofit-description-textAlign":"inherit","--beam-SelectNonprofit-maxWidth":"800px","--beam-SelectNonprofit-options-marginTop":"0px","--beam-SelectNonprofit-options-iconHeight":"24px","--beam-SelectNonprofit-options-padding":"10px","--beam-SelectNonprofit-options-borderRadius":"0px","--beam-SelectNonprofit-options-borderColor":"currentColor","--beam-SelectNonprofit-options--selected-borderColor":"currentColor","--beam-SelectNonprofit-options-backgroundColor":"transparent","--beam-SelectNonprofit-options-gap":"8px","--beam-SelectNonprofit-options--selected-backgroundColor":"currentColor","--beam-SelectNonprofit-details-marginTop":"10px","--beam-SelectNonprofit-details-borderRadius":"0px","--beam-SelectNonprofit-details-borderColor":"currentColor","--beam-SelectNonprofit-details-backgroundColor":"inherit",...p("--beam-SelectNonprofit-title",{fontSize:"1.25em",fontWeight:"bold"}),...p("--beam-SelectNonprofit-title-inline",{fontWeight:"bold"}),"--beam-SelectNonprofit-title-inline-textTransform":"none",...p("--beam-SelectNonprofit-description",{marginTop:"0.5em"}),...p("--beam-SelectNonprofit-description-inline"),...p("--beam-SelectNonprofit-details-cause",{fontSize:"0.85em",fontWeight:"bold"}),...p("--beam-SelectNonprofit-details-beamAttribution",{fontSize:"0.85em"}),...p("--beam-SelectNonprofit-details-impactDescription",{fontSize:"1em",marginTop:"10px"}),"--beam-SelectNonprofit-details-nonprofitName-fontWeight":"bold","--beam-SelectNonprofit-details-nonprofitName-fontStyle":"inherit","--beam-SelectNonprofit-details-fundingProgress-marginTop":"10px",...p("--beam-SelectNonprofit-details-fundingProgressLabel",{fontSize:"0.85em"})},e=this.nonprofitListDataController?.data?.config?.web?.theme||{},i={...t,...e};return Object.assign(Object.create({toCSS(){return A(this)}}),i)}render(){const{selectedNonprofitId:t}=this,{data:e,loading:i}=this.nonprofitListDataController;if(i&&!e)return E();if(this.nonprofitListDataController.error)return this.debug?y({error:this.nonprofitListDataController.error}):"";if(this.selectionDataController.error&&this.debug)return y({error:this.selectionDataController.error});const n=e?.nonprofits||[],a=n.find(o=>o.nonprofit.id===t)||null;return b`
2
2
  <style>
3
3
  :host {
4
4
  ${this.cssVariables.toCSS()}
@@ -1,4 +1,4 @@
1
- import{h as x,f as l,g as w,y as b,p as k,m as z,k as $}from"../chunks/lit-h1W25hjN.esm.js";import{c as L,u as m,d as D,e as u,A as S,b as p,f as A,a as E,_ as y,i as d}from"../chunks/localize-e-mss8ya.esm.js";import{D as T,c as B,d as P,S as U}from"../chunks/routes-MZb9Fq0P.esm.js";import{p as F}from"../chunks/progress-bar-w3yfrrxD.esm.js";import{c as W}from"../chunks/local-storage-Rrnk_Dg-.esm.js";import{a as N,B as C}from"../chunks/events-rRSQYdP1.esm.js";import{a as v}from"../chunks/cookies-BnIoXWd0.esm.js";import{c as M}from"../chunks/responsive-Rehmv-eo.esm.js";import{B as O}from"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";const h={en:{beamAttribution:()=>"Powered by Beam",ctaTitle:()=>"Choose your impact",ctaMessage:({donationPercentage:r="1"}={})=>`Select a nonprofit and ${r}% of your purchase will be donated, at no extra cost.`,inlineSeparator:()=>": "},fr:{beamAttribution:()=>"Optimis\xE9 par Beam",ctaTitle:()=>"Choisissez votre cause",ctaMessage:({donationPercentage:r="1"}={})=>`Choisissez un organisme \xE0 but non lucratif et ${r} % lui sera vers\xE9 en votre nom, sans frais suppl\xE9mentaires.`,inlineSeparator:()=>" : "},de:{beamAttribution:()=>"Unterst\xFCtzt von Beam",ctaTitle:()=>"W\xE4hle deinen Impact",ctaMessage:({donationPercentage:r="1"}={})=>`W\xE4hle eine der gemeinn\xFCtzigen Organisationen und spende ${r}% deines Einkaufs ohne zus\xE4tzliche Kosten`,inlineSeparator:()=>": "},es:{beamAttribution:()=>"Ofrecido por Beam",ctaTitle:()=>"Elige tu contribuci\xF3n",ctaMessage:({donationPercentage:r="1"}={})=>`Elige una organizaci\xF3n sin fines de lucro y donaremos ${r}% de tu compra sin coste adicional.`,inlineSeparator:()=>": "},it:{beamAttribution:()=>"Gestito da Beam",ctaTitle:()=>"Scegli dove fare la differenza",ctaMessage:({donationPercentage:r="1"}={})=>`Seleziona un'organizzazione no-profit a cui devolvere l\u2019${r}% del tuo acquisto, senza costi aggiuntivi`,inlineSeparator:()=>": "},pl:{beamAttribution:()=>"Wspierany przez Beam",ctaTitle:()=>"Wybierz inicjatyw\u0119, kt\xF3r\u0105 chcesz wesprze\u0107",ctaMessage:({donationPercentage:r="1"}={})=>`Wybierz organizacj\u0119, kt\xF3rej przeka\u017Cesz ${r}% warto\u015Bci Twoich zakup\xF3w \u2013 bez \u017Cadnych dodatkowych koszt\xF3w!`,inlineSeparator:()=>": "}};var R=Object.defineProperty,K=Object.getOwnPropertyDescriptor,c=(r,t,e,i)=>{for(var n=i>1?void 0:i?K(t,e):t,a=r.length-1,o;a>=0;a--)(o=r[a])&&(n=(i?o(t,e,n):o(n))||n);return i&&n&&R(t,e,n),n};class s extends w{constructor(){super(...arguments),this.baseUrl=T,this.selectedNonprofitId=null,this.lang="en",this.debug=!1,this.enableNonprofitDeselection=!1,this.getChainNonprofits=async()=>{u(["apiKey","chainId"],this);const t=this.cart?.schema?{schema:this.cart?.schema,content:this.cart?.content}:void 0,e=await B({baseUrl:this.baseUrl,apiRoot:"/api/v3",headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{chainId:this.chainId,storeId:this.storeId,widgetName:"select-nonprofit",postalCode:this.postalCode,countryCode:this.countryCode,version:"1.0.0",lang:this.configLang,cart:t}});return this.enableNonprofitDeselection=!!e.config.enableNonprofitDeselection,this.selectedNonprofitId&&!e.nonprofits.map(i=>i.nonprofit.id).includes(this.selectedNonprofitId)&&(this.selectedNonprofitId=null,this.dispatchEvent(new N({selectedNonprofitId:this.selectedNonprofitId,selectionId:this.selectionId,nonprofitName:null}))),e.store?.id&&e.store.id!==this.storeId&&(this.storeId=e.store.id),this.localStorage.setItemJson("chainNonprofits",{createdAt:new Date,data:e}),e},this.postSelectNonprofit=async({selectedNonprofitId:t})=>{u(["apiKey","chainId","storeId"],this);const e=this.getExternalCartId(),i=this.getBeamCartId(),n=await P({baseUrl:this.baseUrl,headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{nonprofitId:t,selectionId:this.selectionId,storeId:this.storeId,cartId:e,beamCartId:i}});this.selectionId=n?.selectionId,this.localStorage.setItem("transaction",this.selectionId),this.localStorage.setItem("nonprofit",t),await this.updateComplete;const a=this.getNonprofitById(t);this.dispatchEvent(new N({selectedNonprofitId:t,selectionId:this.selectionId,nonprofitName:a?.nonprofit?.name}))},this.nonprofitListDataController=new S(this,this.getChainNonprofits),this.selectionDataController=new S(this,this.postSelectNonprofit),this.localStorage=W(this),this.handleCartChange=t=>{this.cart=t.detail},this.makeHandleSelect=(t,e,i)=>async n=>{const a=this.selectedNonprofitId;if(n instanceof KeyboardEvent){let o=null;switch(n.key){case"ArrowUp":case"ArrowLeft":e===0?o=i[i.length-1]:o=i[e-1],n.preventDefault();break;case"ArrowRight":case"ArrowDown":e===i.length-1?o=i[0]:o=i[e+1],n.preventDefault();break;case"Enter":case" ":n.preventDefault();break;default:return}if(o){a!=null&&(this.selectedNonprofitId=o.nonprofit.id);const f=this.renderRoot.querySelector(`[data-value="${o.nonprofit.id}"]`);f!==null&&(f.tabIndex=0,f.focus());return}}if(n.currentTarget instanceof HTMLElement)if(a===t)if(this.enableNonprofitDeselection)this.selectedNonprofitId=null;else return;else this.selectedNonprofitId=t;await this.selectionDataController.exec({selectedNonprofitId:this.selectedNonprofitId})}}get configLang(){return U[this.lang]||"en"}getNonprofitById(t){return t?this.nonprofitListDataController?.data?.nonprofits.find(e=>e.nonprofit.id===t):null}async willUpdate(t){const e=["chainId","baseUrl","storeId","apiKey","countryCode","postalCode","cart","lang"];for(const i of e)if(t.has(i)){await this.nonprofitListDataController.exec();break}}async firstUpdated(t){await this.restoreStateFromCache()}connectedCallback(){super.connectedCallback(),window.addEventListener(C.eventName,this.handleCartChange)}disconnectedCallback(){window.removeEventListener(C.eventName,this.handleCartChange),super.disconnectedCallback()}getExternalCartId(){return this.localStorage.getItemJson("cart")?.cartId??v("cart")}getBeamCartId(){return v(O)}async restoreStateFromCache(){u(["apiKey","chainId","storeId"],this);try{this.selectedNonprofitId=parseInt(this.localStorage.getItem("nonprofit")||"")||null,this.selectionId=this.localStorage.getItem("transaction")??void 0,this.cart=this.localStorage.getItemJson("cart")??void 0;const{createdAt:t=0,data:e}=this.localStorage.getItemJson("chainNonprofits")||{},i=2*60*60*1e3;if(new Date(t).valueOf()+i>new Date().valueOf()&&(this.nonprofitListDataController.data=e,this.nonprofitListDataController.loading=!1),this.selectedNonprofitId&&!this.selectionId&&await this.selectionDataController.exec({selectedNonprofitId:this.selectedNonprofitId}),this.selectedNonprofitId){const n=this.getNonprofitById(this.selectedNonprofitId);this.dispatchEvent(new N({selectedNonprofitId:this.selectedNonprofitId,selectionId:this.selectionId,nonprofitName:n?.nonprofit?.name}))}}catch{}}get cssVariables(){const t={"--beam-fontFamily":"inherit","--beam-fontSize":"inherit","--beam-textColor":"inherit","--beam-backgroundColor":"inherit",...F,"--beam-SelectNonprofit-title-textAlign":"inherit","--beam-SelectNonprofit-description-textAlign":"inherit","--beam-SelectNonprofit-maxWidth":"800px","--beam-SelectNonprofit-options-marginTop":"0px","--beam-SelectNonprofit-options-iconHeight":"24px","--beam-SelectNonprofit-options-padding":"10px","--beam-SelectNonprofit-options-borderRadius":"0px","--beam-SelectNonprofit-options-borderColor":"currentColor","--beam-SelectNonprofit-options--selected-borderColor":"currentColor","--beam-SelectNonprofit-options-backgroundColor":"transparent","--beam-SelectNonprofit-options-gap":"8px","--beam-SelectNonprofit-options--selected-backgroundColor":"currentColor","--beam-SelectNonprofit-details-marginTop":"10px","--beam-SelectNonprofit-details-borderRadius":"0px","--beam-SelectNonprofit-details-borderColor":"currentColor","--beam-SelectNonprofit-details-backgroundColor":"inherit",...p("--beam-SelectNonprofit-title",{fontSize:"1.25em",fontWeight:"bold"}),...p("--beam-SelectNonprofit-title-inline",{fontWeight:"bold"}),"--beam-SelectNonprofit-title-inline-textTransform":"none",...p("--beam-SelectNonprofit-description",{marginTop:"0.5em"}),...p("--beam-SelectNonprofit-description-inline"),...p("--beam-SelectNonprofit-details-cause",{fontSize:"0.85em",fontWeight:"bold"}),...p("--beam-SelectNonprofit-details-beamAttribution",{fontSize:"0.85em"}),...p("--beam-SelectNonprofit-details-impactDescription",{fontSize:"1em",marginTop:"10px"}),"--beam-SelectNonprofit-details-nonprofitName-fontWeight":"bold","--beam-SelectNonprofit-details-nonprofitName-fontStyle":"inherit","--beam-SelectNonprofit-details-fundingProgress-marginTop":"10px",...p("--beam-SelectNonprofit-details-fundingProgressLabel",{fontSize:"0.85em"})},e=this.nonprofitListDataController?.data?.config?.web?.theme||{},i={...t,...e};return Object.assign(Object.create({toCSS(){return A(this)}}),i)}render(){const{selectedNonprofitId:t}=this,{data:e,loading:i}=this.nonprofitListDataController;if(i&&!e)return E();if(this.nonprofitListDataController.error)return this.debug?y({error:this.nonprofitListDataController.error}):"";if(this.selectionDataController.error&&this.debug)return y({error:this.selectionDataController.error});const n=e?.nonprofits||[],a=n.find(o=>o.nonprofit.id===t)||null;return b`
1
+ import{h as x,f as l,g as w,y as b,p as k,m as z,k as $}from"../chunks/lit-h1W25hjN.esm.js";import{c as L,u as m,d as D,e as u,A as S,b as p,f as A,a as E,_ as y,i as d}from"../chunks/localize-e-mss8ya.esm.js";import{D as T,c as B,d as P,S as U}from"../chunks/routes-gjAehped.esm.js";import{p as F}from"../chunks/progress-bar-w3yfrrxD.esm.js";import{c as W}from"../chunks/local-storage-Rrnk_Dg-.esm.js";import{a as N,B as C}from"../chunks/events-rRSQYdP1.esm.js";import{a as v}from"../chunks/cookies-BnIoXWd0.esm.js";import{c as M}from"../chunks/responsive-Rehmv-eo.esm.js";import{B as O}from"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";const h={en:{beamAttribution:()=>"Powered by Beam",ctaTitle:()=>"Choose your impact",ctaMessage:({donationPercentage:r="1"}={})=>`Select a nonprofit and ${r}% of your purchase will be donated, at no extra cost.`,inlineSeparator:()=>": "},fr:{beamAttribution:()=>"Optimis\xE9 par Beam",ctaTitle:()=>"Choisissez votre cause",ctaMessage:({donationPercentage:r="1"}={})=>`Choisissez un organisme \xE0 but non lucratif et ${r} % lui sera vers\xE9 en votre nom, sans frais suppl\xE9mentaires.`,inlineSeparator:()=>" : "},de:{beamAttribution:()=>"Unterst\xFCtzt von Beam",ctaTitle:()=>"W\xE4hle deinen Impact",ctaMessage:({donationPercentage:r="1"}={})=>`W\xE4hle eine der gemeinn\xFCtzigen Organisationen und spende ${r}% deines Einkaufs ohne zus\xE4tzliche Kosten`,inlineSeparator:()=>": "},es:{beamAttribution:()=>"Ofrecido por Beam",ctaTitle:()=>"Elige tu contribuci\xF3n",ctaMessage:({donationPercentage:r="1"}={})=>`Elige una organizaci\xF3n sin fines de lucro y donaremos ${r}% de tu compra sin coste adicional.`,inlineSeparator:()=>": "},it:{beamAttribution:()=>"Gestito da Beam",ctaTitle:()=>"Scegli dove fare la differenza",ctaMessage:({donationPercentage:r="1"}={})=>`Seleziona un'organizzazione no-profit a cui devolvere l\u2019${r}% del tuo acquisto, senza costi aggiuntivi`,inlineSeparator:()=>": "},pl:{beamAttribution:()=>"Wspierany przez Beam",ctaTitle:()=>"Wybierz inicjatyw\u0119, kt\xF3r\u0105 chcesz wesprze\u0107",ctaMessage:({donationPercentage:r="1"}={})=>`Wybierz organizacj\u0119, kt\xF3rej przeka\u017Cesz ${r}% warto\u015Bci Twoich zakup\xF3w \u2013 bez \u017Cadnych dodatkowych koszt\xF3w!`,inlineSeparator:()=>": "}};var R=Object.defineProperty,K=Object.getOwnPropertyDescriptor,c=(r,t,e,i)=>{for(var n=i>1?void 0:i?K(t,e):t,a=r.length-1,o;a>=0;a--)(o=r[a])&&(n=(i?o(t,e,n):o(n))||n);return i&&n&&R(t,e,n),n};class s extends w{constructor(){super(...arguments),this.baseUrl=T,this.selectedNonprofitId=null,this.lang="en",this.debug=!1,this.enableNonprofitDeselection=!1,this.getChainNonprofits=async()=>{u(["apiKey","chainId"],this);const t=this.cart?.schema?{schema:this.cart?.schema,content:this.cart?.content}:void 0,e=await B({baseUrl:this.baseUrl,apiRoot:"/api/v3",headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{chainId:this.chainId,storeId:this.storeId,widgetName:"select-nonprofit",postalCode:this.postalCode,countryCode:this.countryCode,version:"1.0.0",lang:this.configLang,cart:t}});return this.enableNonprofitDeselection=!!e.config.enableNonprofitDeselection,this.selectedNonprofitId&&!e.nonprofits.map(i=>i.nonprofit.id).includes(this.selectedNonprofitId)&&(this.selectedNonprofitId=null,this.dispatchEvent(new N({selectedNonprofitId:this.selectedNonprofitId,selectionId:this.selectionId,nonprofitName:null}))),e.store?.id&&e.store.id!==this.storeId&&(this.storeId=e.store.id),this.localStorage.setItemJson("chainNonprofits",{createdAt:new Date,data:e}),e},this.postSelectNonprofit=async({selectedNonprofitId:t})=>{u(["apiKey","chainId","storeId"],this);const e=this.getExternalCartId(),i=this.getBeamCartId(),n=await P({baseUrl:this.baseUrl,headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{nonprofitId:t,selectionId:this.selectionId,storeId:this.storeId,cartId:e,beamCartId:i}});this.selectionId=n?.selectionId,this.localStorage.setItem("transaction",this.selectionId),this.localStorage.setItem("nonprofit",t),await this.updateComplete;const a=this.getNonprofitById(t);this.dispatchEvent(new N({selectedNonprofitId:t,selectionId:this.selectionId,nonprofitName:a?.nonprofit?.name}))},this.nonprofitListDataController=new S(this,this.getChainNonprofits),this.selectionDataController=new S(this,this.postSelectNonprofit),this.localStorage=W(this),this.handleCartChange=t=>{this.cart=t.detail},this.makeHandleSelect=(t,e,i)=>async n=>{const a=this.selectedNonprofitId;if(n instanceof KeyboardEvent){let o=null;switch(n.key){case"ArrowUp":case"ArrowLeft":e===0?o=i[i.length-1]:o=i[e-1],n.preventDefault();break;case"ArrowRight":case"ArrowDown":e===i.length-1?o=i[0]:o=i[e+1],n.preventDefault();break;case"Enter":case" ":n.preventDefault();break;default:return}if(o){a!=null&&(this.selectedNonprofitId=o.nonprofit.id);const f=this.renderRoot.querySelector(`[data-value="${o.nonprofit.id}"]`);f!==null&&(f.tabIndex=0,f.focus());return}}if(n.currentTarget instanceof HTMLElement)if(a===t)if(this.enableNonprofitDeselection)this.selectedNonprofitId=null;else return;else this.selectedNonprofitId=t;await this.selectionDataController.exec({selectedNonprofitId:this.selectedNonprofitId})}}get configLang(){return U[this.lang]||"en"}getNonprofitById(t){return t?this.nonprofitListDataController?.data?.nonprofits.find(e=>e.nonprofit.id===t):null}async willUpdate(t){const e=["chainId","baseUrl","storeId","apiKey","countryCode","postalCode","cart","lang"];for(const i of e)if(t.has(i)){await this.nonprofitListDataController.exec();break}}async firstUpdated(t){await this.restoreStateFromCache()}connectedCallback(){super.connectedCallback(),window.addEventListener(C.eventName,this.handleCartChange)}disconnectedCallback(){window.removeEventListener(C.eventName,this.handleCartChange),super.disconnectedCallback()}getExternalCartId(){return this.localStorage.getItemJson("cart")?.cartId??v("cart")}getBeamCartId(){return v(O)}async restoreStateFromCache(){u(["apiKey","chainId","storeId"],this);try{this.selectedNonprofitId=parseInt(this.localStorage.getItem("nonprofit")||"")||null,this.selectionId=this.localStorage.getItem("transaction")??void 0,this.cart=this.localStorage.getItemJson("cart")??void 0;const{createdAt:t=0,data:e}=this.localStorage.getItemJson("chainNonprofits")||{},i=2*60*60*1e3;if(new Date(t).valueOf()+i>new Date().valueOf()&&(this.nonprofitListDataController.data=e,this.nonprofitListDataController.loading=!1),this.selectedNonprofitId&&!this.selectionId&&await this.selectionDataController.exec({selectedNonprofitId:this.selectedNonprofitId}),this.selectedNonprofitId){const n=this.getNonprofitById(this.selectedNonprofitId);this.dispatchEvent(new N({selectedNonprofitId:this.selectedNonprofitId,selectionId:this.selectionId,nonprofitName:n?.nonprofit?.name}))}}catch{}}get cssVariables(){const t={"--beam-fontFamily":"inherit","--beam-fontSize":"inherit","--beam-textColor":"inherit","--beam-backgroundColor":"inherit",...F,"--beam-SelectNonprofit-title-textAlign":"inherit","--beam-SelectNonprofit-description-textAlign":"inherit","--beam-SelectNonprofit-maxWidth":"800px","--beam-SelectNonprofit-options-marginTop":"0px","--beam-SelectNonprofit-options-iconHeight":"24px","--beam-SelectNonprofit-options-padding":"10px","--beam-SelectNonprofit-options-borderRadius":"0px","--beam-SelectNonprofit-options-borderColor":"currentColor","--beam-SelectNonprofit-options--selected-borderColor":"currentColor","--beam-SelectNonprofit-options-backgroundColor":"transparent","--beam-SelectNonprofit-options-gap":"8px","--beam-SelectNonprofit-options--selected-backgroundColor":"currentColor","--beam-SelectNonprofit-details-marginTop":"10px","--beam-SelectNonprofit-details-borderRadius":"0px","--beam-SelectNonprofit-details-borderColor":"currentColor","--beam-SelectNonprofit-details-backgroundColor":"inherit",...p("--beam-SelectNonprofit-title",{fontSize:"1.25em",fontWeight:"bold"}),...p("--beam-SelectNonprofit-title-inline",{fontWeight:"bold"}),"--beam-SelectNonprofit-title-inline-textTransform":"none",...p("--beam-SelectNonprofit-description",{marginTop:"0.5em"}),...p("--beam-SelectNonprofit-description-inline"),...p("--beam-SelectNonprofit-details-cause",{fontSize:"0.85em",fontWeight:"bold"}),...p("--beam-SelectNonprofit-details-beamAttribution",{fontSize:"0.85em"}),...p("--beam-SelectNonprofit-details-impactDescription",{fontSize:"1em",marginTop:"10px"}),"--beam-SelectNonprofit-details-nonprofitName-fontWeight":"bold","--beam-SelectNonprofit-details-nonprofitName-fontStyle":"inherit","--beam-SelectNonprofit-details-fundingProgress-marginTop":"10px",...p("--beam-SelectNonprofit-details-fundingProgressLabel",{fontSize:"0.85em"})},e=this.nonprofitListDataController?.data?.config?.web?.theme||{},i={...t,...e};return Object.assign(Object.create({toCSS(){return A(this)}}),i)}render(){const{selectedNonprofitId:t}=this,{data:e,loading:i}=this.nonprofitListDataController;if(i&&!e)return E();if(this.nonprofitListDataController.error)return this.debug?y({error:this.nonprofitListDataController.error}):"";if(this.selectionDataController.error&&this.debug)return y({error:this.selectionDataController.error});const n=e?.nonprofits||[],a=n.find(o=>o.nonprofit.id===t)||null;return b`
2
2
  <style>
3
3
  :host {
4
4
  ${this.cssVariables.toCSS()}
@@ -1,2 +1,2 @@
1
- import{w as t}from"../chunks/network-listeners-CEOxhlYW.esm.js";import{i as b}from"../chunks/network-listeners-CEOxhlYW.esm.js";import{g as r,a as o}from"../chunks/cookies-BnIoXWd0.esm.js";import{e as A}from"../chunks/events-rRSQYdP1.esm.js";import{h as L,C as O,B as P,s as T,N as W}from"../chunks/order-page-0Hp4NoQq.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-vHXpyCQh.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"./post-purchase.esm.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"./redeem-transaction.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"./beam-partner-logos.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"./impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";const i={waitForElement:t,getCookieMap:r,getCookieValue:o};export{L as addBeamAttributesToCart,A as events,O as getCurrentCart,b as initNetworkListeners,P as registerCartIntegration,T as showBeamOrderPageWidgets,W as trackCart,i as utils};
1
+ import{w as t}from"../chunks/network-listeners-CEOxhlYW.esm.js";import{i as b}from"../chunks/network-listeners-CEOxhlYW.esm.js";import{g as r,a as o}from"../chunks/cookies-BnIoXWd0.esm.js";import{e as A}from"../chunks/events-rRSQYdP1.esm.js";import{h as L,C as O,B as P,s as T,N as W}from"../chunks/order-page-XgvorZM6.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-LUZkuQL3.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"./post-purchase.esm.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"./redeem-transaction.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"./beam-partner-logos.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"./impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";const i={waitForElement:t,getCookieMap:r,getCookieValue:o};export{L as addBeamAttributesToCart,A as events,O as getCurrentCart,b as initNetworkListeners,P as registerCartIntegration,T as showBeamOrderPageWidgets,W as trackCart,i as utils};
2
2
  //# sourceMappingURL=shopify.esm.js.map
@@ -1,2 +1,2 @@
1
- import{w as t}from"../chunks/network-listeners-CEOxhlYW.esm.js";import{i as b}from"../chunks/network-listeners-CEOxhlYW.esm.js";import{g as r,a as o}from"../chunks/cookies-BnIoXWd0.esm.js";import{e as A}from"../chunks/events-rRSQYdP1.esm.js";import{h as L,C as O,B as P,s as T,N as W}from"../chunks/order-page-a46zvUZT.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-vHXpyCQh.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"./post-purchase.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"./redeem-transaction.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"./beam-partner-logos.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"./impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";const i={waitForElement:t,getCookieMap:r,getCookieValue:o};export{L as addBeamAttributesToCart,A as events,O as getCurrentCart,b as initNetworkListeners,P as registerCartIntegration,T as showBeamOrderPageWidgets,W as trackCart,i as utils};
1
+ import{w as t}from"../chunks/network-listeners-CEOxhlYW.esm.js";import{i as b}from"../chunks/network-listeners-CEOxhlYW.esm.js";import{g as r,a as o}from"../chunks/cookies-BnIoXWd0.esm.js";import{e as A}from"../chunks/events-rRSQYdP1.esm.js";import{h as L,C as O,B as P,s as T,N as W}from"../chunks/order-page-zaTU61Qf.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-LUZkuQL3.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"./post-purchase.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"./redeem-transaction.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"./beam-partner-logos.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"./impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";const i={waitForElement:t,getCookieMap:r,getCookieValue:o};export{L as addBeamAttributesToCart,A as events,O as getCurrentCart,b as initNetworkListeners,P as registerCartIntegration,T as showBeamOrderPageWidgets,W as trackCart,i as utils};
2
2
  //# sourceMappingURL=shopify.js.map
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import{i as L}from"./chunks/index-aGYbEHXq.esm.js";import{i as N}from"./chunks/index-k7UbsAvh.esm.js";import{i as P}from"./chunks/index-K9rDxqim.esm.js";import"./components/community-impact.esm.js";import"./chunks/lit-h1W25hjN.esm.js";import"./chunks/progress-bar-w3yfrrxD.esm.js";import"./components/beam-partner-logos.esm.js";import"./chunks/localize-e-mss8ya.esm.js";import"./chunks/beam-errors-l02WBee5.esm.js";import"./chunks/logger-ad87ovol.esm.js";import"./chunks/routes-MZb9Fq0P.esm.js";import"./chunks/css-card-grid-RRkoiUTl.esm.js";import"./components/cumulative-impact.esm.js";import"./chunks/lodash-ZxBiuGue.esm.js";import"./chunks/is-all-html-elements-SdSkxirh.esm.js";import"./components/impact-overview.esm.js";import"./chunks/vendor-IGhQoYCM.esm.js";import"./chunks/responsive-Rehmv-eo.esm.js";import"./components/select-nonprofit.esm.js";import"./chunks/local-storage-Rrnk_Dg-.esm.js";import"./chunks/events-rRSQYdP1.esm.js";import"./chunks/cookies-BnIoXWd0.esm.js";import"./chunks/cart-contents-h60geKWa.esm.js";import"./components/redeem-transaction.esm.js";import"./components/post-purchase.esm.js";import"./chunks/index--XzN0d8d.esm.js";import"./chunks/network-listeners-CEOxhlYW.esm.js";import"./chunks/remote-session-mmQFfNd6.esm.js";import"./chunks/index-B6ZVcw-2.esm.js";import"./chunks/order-page-0Hp4NoQq.esm.js";import"./chunks/update-cart-vHXpyCQh.esm.js";import"./chunks/index-IXwIgGSV.esm.js";import"./chunks/index-nrUfRMjl.esm.js";import"./react/community-impact.esm.js";import"react";import"./react/cumulative-impact.esm.js";import"./react/impact-overview.esm.js";import"./react/select-nonprofit.esm.js";import"./react/redeem-transaction.esm.js";import"./react/post-purchase.esm.js";export{N as Integrations,P as ReactComponents,L as WebComponents};
1
+ import{i as L}from"./chunks/index-aGYbEHXq.esm.js";import{i as N}from"./chunks/index-WxO-fsYo.esm.js";import{i as P}from"./chunks/index-K9rDxqim.esm.js";import"./components/community-impact.esm.js";import"./chunks/lit-h1W25hjN.esm.js";import"./chunks/progress-bar-w3yfrrxD.esm.js";import"./components/beam-partner-logos.esm.js";import"./chunks/localize-e-mss8ya.esm.js";import"./chunks/beam-errors-l02WBee5.esm.js";import"./chunks/logger-ad87ovol.esm.js";import"./chunks/routes-gjAehped.esm.js";import"./chunks/css-card-grid-RRkoiUTl.esm.js";import"./components/cumulative-impact.esm.js";import"./chunks/lodash-ZxBiuGue.esm.js";import"./chunks/is-all-html-elements-SdSkxirh.esm.js";import"./components/impact-overview.esm.js";import"./chunks/vendor-IGhQoYCM.esm.js";import"./chunks/responsive-Rehmv-eo.esm.js";import"./components/select-nonprofit.esm.js";import"./chunks/local-storage-Rrnk_Dg-.esm.js";import"./chunks/events-rRSQYdP1.esm.js";import"./chunks/cookies-BnIoXWd0.esm.js";import"./chunks/cart-contents-h60geKWa.esm.js";import"./components/redeem-transaction.esm.js";import"./components/post-purchase.esm.js";import"./chunks/index--XzN0d8d.esm.js";import"./chunks/network-listeners-CEOxhlYW.esm.js";import"./chunks/remote-session-mmQFfNd6.esm.js";import"./chunks/index-88dvwYfV.esm.js";import"./chunks/order-page-XgvorZM6.esm.js";import"./chunks/update-cart-LUZkuQL3.esm.js";import"./chunks/index-IXwIgGSV.esm.js";import"./chunks/index-3t5Lk3no.esm.js";import"./react/community-impact.esm.js";import"react";import"./react/cumulative-impact.esm.js";import"./react/impact-overview.esm.js";import"./react/select-nonprofit.esm.js";import"./react/redeem-transaction.esm.js";import"./react/post-purchase.esm.js";export{N as Integrations,P as ReactComponents,L as WebComponents};
2
2
  //# sourceMappingURL=index.esm.js.map
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{i as L}from"./chunks/index-bo9Yq4jd.esm.js";import{i as N}from"./chunks/index-IeUA7g43.esm.js";import{i as P}from"./chunks/index-JL12lEnO.esm.js";import"./components/community-impact.js";import"./chunks/lit-h1W25hjN.esm.js";import"./chunks/progress-bar-w3yfrrxD.esm.js";import"./components/beam-partner-logos.js";import"./chunks/localize-e-mss8ya.esm.js";import"./chunks/beam-errors-l02WBee5.esm.js";import"./chunks/logger-ad87ovol.esm.js";import"./chunks/routes-MZb9Fq0P.esm.js";import"./chunks/css-card-grid-RRkoiUTl.esm.js";import"./components/cumulative-impact.js";import"./chunks/lodash-ZxBiuGue.esm.js";import"./chunks/is-all-html-elements-SdSkxirh.esm.js";import"./components/impact-overview.js";import"./chunks/vendor-IGhQoYCM.esm.js";import"./chunks/responsive-Rehmv-eo.esm.js";import"./components/select-nonprofit.js";import"./chunks/local-storage-Rrnk_Dg-.esm.js";import"./chunks/events-rRSQYdP1.esm.js";import"./chunks/cookies-BnIoXWd0.esm.js";import"./chunks/cart-contents-h60geKWa.esm.js";import"./components/redeem-transaction.js";import"./components/post-purchase.js";import"./chunks/index--XzN0d8d.esm.js";import"./chunks/network-listeners-CEOxhlYW.esm.js";import"./chunks/remote-session-mmQFfNd6.esm.js";import"./chunks/index-zaXXznPD.esm.js";import"./chunks/order-page-a46zvUZT.esm.js";import"./chunks/update-cart-vHXpyCQh.esm.js";import"./chunks/index-IXwIgGSV.esm.js";import"./chunks/index-nrUfRMjl.esm.js";import"./react/community-impact.js";import"react";import"./react/cumulative-impact.js";import"./react/impact-overview.js";import"./react/select-nonprofit.js";import"./react/redeem-transaction.js";import"./react/post-purchase.js";export{N as Integrations,P as ReactComponents,L as WebComponents};
1
+ import{i as L}from"./chunks/index-bo9Yq4jd.esm.js";import{i as N}from"./chunks/index-EtzJh88T.esm.js";import{i as P}from"./chunks/index-JL12lEnO.esm.js";import"./components/community-impact.js";import"./chunks/lit-h1W25hjN.esm.js";import"./chunks/progress-bar-w3yfrrxD.esm.js";import"./components/beam-partner-logos.js";import"./chunks/localize-e-mss8ya.esm.js";import"./chunks/beam-errors-l02WBee5.esm.js";import"./chunks/logger-ad87ovol.esm.js";import"./chunks/routes-gjAehped.esm.js";import"./chunks/css-card-grid-RRkoiUTl.esm.js";import"./components/cumulative-impact.js";import"./chunks/lodash-ZxBiuGue.esm.js";import"./chunks/is-all-html-elements-SdSkxirh.esm.js";import"./components/impact-overview.js";import"./chunks/vendor-IGhQoYCM.esm.js";import"./chunks/responsive-Rehmv-eo.esm.js";import"./components/select-nonprofit.js";import"./chunks/local-storage-Rrnk_Dg-.esm.js";import"./chunks/events-rRSQYdP1.esm.js";import"./chunks/cookies-BnIoXWd0.esm.js";import"./chunks/cart-contents-h60geKWa.esm.js";import"./components/redeem-transaction.js";import"./components/post-purchase.js";import"./chunks/index--XzN0d8d.esm.js";import"./chunks/network-listeners-CEOxhlYW.esm.js";import"./chunks/remote-session-mmQFfNd6.esm.js";import"./chunks/index-Win_94pf.esm.js";import"./chunks/order-page-zaTU61Qf.esm.js";import"./chunks/update-cart-LUZkuQL3.esm.js";import"./chunks/index-IXwIgGSV.esm.js";import"./chunks/index-3t5Lk3no.esm.js";import"./react/community-impact.js";import"react";import"./react/cumulative-impact.js";import"./react/impact-overview.js";import"./react/select-nonprofit.js";import"./react/redeem-transaction.js";import"./react/post-purchase.js";export{N as Integrations,P as ReactComponents,L as WebComponents};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import{x as s}from"../chunks/update-cart-vHXpyCQh.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";export{s as updateCart};
1
+ import{x as s}from"../chunks/update-cart-LUZkuQL3.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";export{s as updateCart};
2
2
  //# sourceMappingURL=cart.esm.js.map
@@ -1,2 +1,2 @@
1
- import{x as s}from"../chunks/update-cart-vHXpyCQh.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";export{s as updateCart};
1
+ import{x as s}from"../chunks/update-cart-LUZkuQL3.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";export{s as updateCart};
2
2
  //# sourceMappingURL=cart.js.map
@@ -1,2 +1,2 @@
1
- import{i as u}from"../chunks/index--XzN0d8d.esm.js";import{i as w}from"../chunks/index-B6ZVcw-2.esm.js";import{i as A}from"../chunks/index-IXwIgGSV.esm.js";import{i as D}from"../chunks/index-nrUfRMjl.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/network-listeners-CEOxhlYW.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"../chunks/order-page-0Hp4NoQq.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-vHXpyCQh.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";export{D as Cart,A as Session,w as Shopify,u as Utils};
1
+ import{i as u}from"../chunks/index--XzN0d8d.esm.js";import{i as w}from"../chunks/index-88dvwYfV.esm.js";import{i as A}from"../chunks/index-IXwIgGSV.esm.js";import{i as D}from"../chunks/index-3t5Lk3no.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/network-listeners-CEOxhlYW.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"../chunks/order-page-XgvorZM6.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-LUZkuQL3.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";export{D as Cart,A as Session,w as Shopify,u as Utils};
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1,2 +1,2 @@
1
- import{i as u}from"../chunks/index--XzN0d8d.esm.js";import{i as w}from"../chunks/index-zaXXznPD.esm.js";import{i as A}from"../chunks/index-IXwIgGSV.esm.js";import{i as D}from"../chunks/index-nrUfRMjl.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/network-listeners-CEOxhlYW.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"../chunks/order-page-a46zvUZT.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-vHXpyCQh.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../components/post-purchase.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";export{D as Cart,A as Session,w as Shopify,u as Utils};
1
+ import{i as u}from"../chunks/index--XzN0d8d.esm.js";import{i as w}from"../chunks/index-Win_94pf.esm.js";import{i as A}from"../chunks/index-IXwIgGSV.esm.js";import{i as D}from"../chunks/index-3t5Lk3no.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/network-listeners-CEOxhlYW.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"../chunks/order-page-zaTU61Qf.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-LUZkuQL3.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../components/post-purchase.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";export{D as Cart,A as Session,w as Shopify,u as Utils};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import{h as N,C as O,B as P,s as T,N as W}from"../chunks/order-page-0Hp4NoQq.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/network-listeners-CEOxhlYW.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-vHXpyCQh.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";export{N as addBeamAttributesToCart,O as getCurrentCart,P as registerCartIntegration,T as showBeamOrderPageWidgets,W as trackCart};
1
+ import{h as N,C as O,B as P,s as T,N as W}from"../chunks/order-page-XgvorZM6.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/network-listeners-CEOxhlYW.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-LUZkuQL3.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";export{N as addBeamAttributesToCart,O as getCurrentCart,P as registerCartIntegration,T as showBeamOrderPageWidgets,W as trackCart};
2
2
  //# sourceMappingURL=shopify.esm.js.map
@@ -1,2 +1,2 @@
1
- import{h as N,C as O,B as P,s as T,N as W}from"../chunks/order-page-a46zvUZT.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/network-listeners-CEOxhlYW.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-vHXpyCQh.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"../components/post-purchase.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";export{N as addBeamAttributesToCart,O as getCurrentCart,P as registerCartIntegration,T as showBeamOrderPageWidgets,W as trackCart};
1
+ import{h as N,C as O,B as P,s as T,N as W}from"../chunks/order-page-zaTU61Qf.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/network-listeners-CEOxhlYW.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-LUZkuQL3.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/remote-session-mmQFfNd6.esm.js";import"../components/post-purchase.js";import"../chunks/lit-h1W25hjN.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";export{N as addBeamAttributesToCart,O as getCurrentCart,P as registerCartIntegration,T as showBeamOrderPageWidgets,W as trackCart};
2
2
  //# sourceMappingURL=shopify.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as a}from"../chunks/lit-h1W25hjN.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=a({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
1
+ import o from"react";import{l as a}from"../chunks/lit-h1W25hjN.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=a({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
2
2
  //# sourceMappingURL=community-impact.esm.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as a}from"../chunks/lit-h1W25hjN.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=a({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
1
+ import o from"react";import{l as a}from"../chunks/lit-h1W25hjN.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=a({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
2
2
  //# sourceMappingURL=community-impact.js.map
@@ -1,2 +1,2 @@
1
- import a from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
1
+ import a from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
2
2
  //# sourceMappingURL=cumulative-impact.esm.js.map
@@ -1,2 +1,2 @@
1
- import a from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
1
+ import a from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
2
2
  //# sourceMappingURL=cumulative-impact.js.map
@@ -1,2 +1,2 @@
1
- import r from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
1
+ import r from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
2
2
  //# sourceMappingURL=impact-overview.esm.js.map
@@ -1,2 +1,2 @@
1
- import r from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.js";import"../chunks/responsive-Rehmv-eo.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
1
+ import r from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.js";import"../chunks/responsive-Rehmv-eo.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
2
2
  //# sourceMappingURL=impact-overview.js.map
@@ -1,2 +1,2 @@
1
- import{BeamCommunityImpact as O}from"./community-impact.esm.js";import{BeamCumulativeImpact as S}from"./cumulative-impact.esm.js";import{BeamImpactOverview as b}from"./impact-overview.esm.js";import{BeamSelectNonprofit as j}from"./select-nonprofit.esm.js";import{BeamRedeemTransaction as q}from"./redeem-transaction.esm.js";import{BeamPostPurchase as A}from"./post-purchase.esm.js";import"react";import"../chunks/lit-h1W25hjN.esm.js";import"../components/community-impact.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/cumulative-impact.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/select-nonprofit.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../components/redeem-transaction.esm.js";import"../components/post-purchase.esm.js";export{O as BeamCommunityImpact,S as BeamCumulativeImpact,b as BeamImpactOverview,A as BeamPostPurchase,q as BeamRedeemTransaction,j as BeamSelectNonprofit};
1
+ import{BeamCommunityImpact as O}from"./community-impact.esm.js";import{BeamCumulativeImpact as S}from"./cumulative-impact.esm.js";import{BeamImpactOverview as b}from"./impact-overview.esm.js";import{BeamSelectNonprofit as j}from"./select-nonprofit.esm.js";import{BeamRedeemTransaction as q}from"./redeem-transaction.esm.js";import{BeamPostPurchase as A}from"./post-purchase.esm.js";import"react";import"../chunks/lit-h1W25hjN.esm.js";import"../components/community-impact.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/cumulative-impact.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/select-nonprofit.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../components/redeem-transaction.esm.js";import"../components/post-purchase.esm.js";export{O as BeamCommunityImpact,S as BeamCumulativeImpact,b as BeamImpactOverview,A as BeamPostPurchase,q as BeamRedeemTransaction,j as BeamSelectNonprofit};
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1,2 +1,2 @@
1
- import{BeamCommunityImpact as O}from"./community-impact.js";import{BeamCumulativeImpact as S}from"./cumulative-impact.js";import{BeamImpactOverview as b}from"./impact-overview.js";import{BeamSelectNonprofit as j}from"./select-nonprofit.js";import{BeamRedeemTransaction as q}from"./redeem-transaction.js";import{BeamPostPurchase as A}from"./post-purchase.js";import"react";import"../chunks/lit-h1W25hjN.esm.js";import"../components/community-impact.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/cumulative-impact.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/select-nonprofit.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../components/redeem-transaction.js";import"../components/post-purchase.js";export{O as BeamCommunityImpact,S as BeamCumulativeImpact,b as BeamImpactOverview,A as BeamPostPurchase,q as BeamRedeemTransaction,j as BeamSelectNonprofit};
1
+ import{BeamCommunityImpact as O}from"./community-impact.js";import{BeamCumulativeImpact as S}from"./cumulative-impact.js";import{BeamImpactOverview as b}from"./impact-overview.js";import{BeamSelectNonprofit as j}from"./select-nonprofit.js";import{BeamRedeemTransaction as q}from"./redeem-transaction.js";import{BeamPostPurchase as A}from"./post-purchase.js";import"react";import"../chunks/lit-h1W25hjN.esm.js";import"../components/community-impact.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/cumulative-impact.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/select-nonprofit.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../components/redeem-transaction.js";import"../components/post-purchase.js";export{O as BeamCommunityImpact,S as BeamCumulativeImpact,b as BeamImpactOverview,A as BeamPostPurchase,q as BeamRedeemTransaction,j as BeamSelectNonprofit};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-h1W25hjN.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-h1W25hjN.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
2
2
  //# sourceMappingURL=post-purchase.esm.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-h1W25hjN.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../components/redeem-transaction.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-h1W25hjN.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../components/redeem-transaction.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
2
2
  //# sourceMappingURL=post-purchase.js.map
@@ -1,2 +1,2 @@
1
- import m from"react";import{l as o}from"../chunks/lit-h1W25hjN.esm.js";import{a as r}from"../chunks/events-rRSQYdP1.esm.js";import{BeamRedeemTransaction as e}from"../components/redeem-transaction.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=o({tagName:e.tagName,elementClass:e,react:m,events:{onNonprofitSelect:r.eventName}});export{t as BeamRedeemTransaction,t as default};
1
+ import m from"react";import{l as o}from"../chunks/lit-h1W25hjN.esm.js";import{a as r}from"../chunks/events-rRSQYdP1.esm.js";import{BeamRedeemTransaction as e}from"../components/redeem-transaction.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=o({tagName:e.tagName,elementClass:e,react:m,events:{onNonprofitSelect:r.eventName}});export{t as BeamRedeemTransaction,t as default};
2
2
  //# sourceMappingURL=redeem-transaction.esm.js.map
@@ -1,2 +1,2 @@
1
- import m from"react";import{l as o}from"../chunks/lit-h1W25hjN.esm.js";import{a as r}from"../chunks/events-rRSQYdP1.esm.js";import{BeamRedeemTransaction as e}from"../components/redeem-transaction.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=o({tagName:e.tagName,elementClass:e,react:m,events:{onNonprofitSelect:r.eventName}});export{t as BeamRedeemTransaction,t as default};
1
+ import m from"react";import{l as o}from"../chunks/lit-h1W25hjN.esm.js";import{a as r}from"../chunks/events-rRSQYdP1.esm.js";import{BeamRedeemTransaction as e}from"../components/redeem-transaction.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=o({tagName:e.tagName,elementClass:e,react:m,events:{onNonprofitSelect:r.eventName}});export{t as BeamRedeemTransaction,t as default};
2
2
  //# sourceMappingURL=redeem-transaction.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{a as m}from"../chunks/events-rRSQYdP1.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
1
+ import o from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{a as m}from"../chunks/events-rRSQYdP1.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
2
2
  //# sourceMappingURL=select-nonprofit.esm.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{a as m}from"../chunks/events-rRSQYdP1.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-MZb9Fq0P.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
1
+ import o from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{a as m}from"../chunks/events-rRSQYdP1.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
2
2
  //# sourceMappingURL=select-nonprofit.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beamimpact/web-sdk",
3
3
  "private": false,
4
- "version": "1.29.0-beta.2",
4
+ "version": "1.29.0-beta.3",
5
5
  "main": "dist/index.esm.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "engines": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"_share-dialog-dependencies-SPLB_3ny.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"_share-dialog-dependencies-rhp3w_bc.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{h as e,C as r,B as t,s as a,N as o}from"./order-page-0Hp4NoQq.esm.js";var s=Object.freeze({__proto__:null,addBeamAttributesToCart:e,getCurrentCart:r,registerCartIntegration:t,showBeamOrderPageWidgets:a,trackCart:o});export{s as i};
2
- //# sourceMappingURL=index-B6ZVcw-2.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-B6ZVcw-2.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{i}from"./index--XzN0d8d.esm.js";import{i as o}from"./index-zaXXznPD.esm.js";import{i as r}from"./index-IXwIgGSV.esm.js";import{i as e}from"./index-nrUfRMjl.esm.js";var t=Object.freeze({__proto__:null,Cart:e,Session:r,Shopify:o,Utils:i});export{t as i};
2
- //# sourceMappingURL=index-IeUA7g43.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-IeUA7g43.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{i}from"./index--XzN0d8d.esm.js";import{i as o}from"./index-B6ZVcw-2.esm.js";import{i as r}from"./index-IXwIgGSV.esm.js";import{i as e}from"./index-nrUfRMjl.esm.js";var t=Object.freeze({__proto__:null,Cart:e,Session:r,Shopify:o,Utils:i});export{t as i};
2
- //# sourceMappingURL=index-k7UbsAvh.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-k7UbsAvh.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{x as e}from"./update-cart-vHXpyCQh.esm.js";var r=Object.freeze({__proto__:null,updateCart:e});export{r as i};
2
- //# sourceMappingURL=index-nrUfRMjl.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-nrUfRMjl.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{h as e,C as r,B as t,s as a,N as o}from"./order-page-a46zvUZT.esm.js";var s=Object.freeze({__proto__:null,addBeamAttributesToCart:e,getCurrentCart:r,registerCartIntegration:t,showBeamOrderPageWidgets:a,trackCart:o});export{s as i};
2
- //# sourceMappingURL=index-zaXXznPD.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-zaXXznPD.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}