PageSourceSearch

https://ourmayberry.com/9662.bb0ad44dd544c3c4.js

js ourmayberry.com collected 2026-10-04 15:38:23 UTC 6,812 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkom_app=self.webpackChunkom_app||[]).push([[9662],{3288:(y,d,r)=>{r.d(d,{j:()=>P,L:()=>m});var u=r(177),c=r(4182),a=r(5128),R=r(7673),o=r(6354),h=r(7647),t=r(4438),g=r(345);let C=(()=>{class n{constructor(s){this.domSanitizer=s}ngOnChanges(){this.safeHtml=this.domSanitizer.bypassSecurityTrustHtml(this.htmlString)}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(g.up))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["om-html-renderer"]],inputs:{htmlString:"htmlString"},standalone:!0,features:[t.OA$,t.aNF],decls:1,vars:1,consts:[[1,"email-template",3,"innerHTML"]],template:function(i,e){1&i&&t.nrm(0,"div",0),2&i&&t.Y8G("innerHTML",e.safeHtml,t.npT)},styles:["a[href*=UNSUBSCRIBE]{display:none}\n","img{max-width:100%}\n"],encapsulation:3,changeDetection:0})}}return n})();var E=r(5366),D=r(9860),F=r(4710);function T(n,p){if(1&n){const s=t.RV6();t.j41(0,"div",7)(1,"div",8)(2,"ion-button",9),t.nI1(3,"urlConverter"),t.nrm(4,"ion-icon",10),t.EFF(5," Back to Website "),t.k0s(),t.j41(6,"ion-button",11),t.bIt("click",function(){t.eBV(s);const e=t.sdS(11),f=t.XpG();return t.Njj(f.printReceipt(e))}),t.j41(7,"ion-label"),t.EFF(8,"Print receipt "),t.k0s(),t.nrm(9,"ion-icon",12),t.k0s()(),t.j41(10,"div",null,1),t.nrm(12,"om-html-renderer",13),t.k0s()()}if(2&n){const s=p.$implicit,i=t.XpG();t.R7$(2),t.Y8G("href",i.returnUrl?t.bMT(3,2,i.returnUrl):i.referrer),t.R7$(10),t.Y8G("htmlString",s)}}function l(n,p){if(1&n&&t.nrm(0,"om-ticket-card",14),2&n){const s=p.$implicit,i=t.XpG();t.Y8G("ticket",s)("generateQRCodeFn",i.generateQRCode)}}function v(n,p){1&n&&(t.j41(0,"div",15)(1,"span",16),t.EFF(2,"Loading receipt please wait"),t.k0s(),t.nrm(3,"ion-spinner",17),t.k0s())}var m=function(n){return n.Donation="donation",n.FundraiserTicket="fundraiserTicket",n.Ticket="ticket",n}(m||{});let P=(()=>{class n{constructor(s,i,e,f,k){this.route=s,this.customerDonatesToCampaignNotificationGQL=i,this.customerPurchasesCampaignEventTicketsNotificationGQL=e,this.ownerCampaignEventTicketPageGQL=f,this.customerPurchasesFundraisingTeamMembershipNotificationGQL=k,this.referrer=document.referrer?.includes("ourmayberry.com")?"/":document.referrer,this.tickets$=(0,R.of)([]),this.generateQRCode=(b,M)=>JSON.stringify({n:b,c:M}),this.receiptType=m.Donation,this.ReceiptType=m}ngOnInit(){this.returnUrl=this.route.snapshot.queryParams.returnUrl;const s=+this.route.snapshot.params.receiptId,i=this.route.snapshot.params.accessToken;switch(this.receiptType=this.route.snapshot.params.type,this.receiptType){case m.Donation:this.innerHtml$=this.customerDonatesToCampaignNotificationGQL.fetch({input:{campaignDonationId:s,campaignDonationAccessToken:i}}).pipe((0,o.T)(e=>e.data.customerDonatesToCampaign.body||""));break;case m.Ticket:this.innerHtml$=this.customerPurchasesCampaignEventTicketsNotificationGQL.fetch({input:{campaignEventPurchaseId:s,campaignEventPurchaseAccessToken:i}}).pipe((0,o.T)(e=>e.data.customerPurchasesCampaignEventTickets.body||"")),this.tickets$=this.ownerCampaignEventTicketPageGQL.fetch({orderBy:a.CNG.PurchasedAtDesc,filter:{campaignEventPurchaseAccessToken:i}}).pipe((0,h.u)(),(0,o.T)(e=>e.data.ownerCampaignEventTicketPage.items));break;case m.FundraiserTicket:this.innerHtml$=this.customerPurchasesFundraisingTeamMembershipNotificationGQL.fetch({input:{accessToken:i}}).pipe((0,o.T)(e=>e.data.customerPurchasesFundraisingTeamMembershipNotification.body||"")),this.tickets$=this.ownerCampaignEventTicketPageGQL.fetch({orderBy:a.CNG.PurchasedAtDesc,filter:{campaignEventPurchaseAccessToken:i}}).pipe((0,h.u)(),(0,o.T)(e=>e.data.ownerCampaignEventTicketPage.items))}}printReceipt(s){window.addEventListener("beforeprint",()=>{s.classList.add("print")},{once:!0}),window.addEventListener("afterprint",()=>{s.classList.remove("print")},{once:!0}),window.print()}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(F.nX),t.rXU(a.fZF),t.rXU(a.ZI8),t.rXU(a.tXN),t.rXU(a.rOT))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["ng-component"]],standalone:!0,features:[t.aNF],decls:11,vars:13,consts:[["spinner",""],["printable",""],[1,"ion-padding"],[1,"container","mt-6","pb-5"],[1,"row"],["class","mx-auto donation-container border p-4",4,"ngIf","ngIfElse"],["class","my-2",3,"ticket","generateQRCodeFn",4,"ngFor","ngForOf"],[1,"mx-auto","donation-container","border","p-4"],[1,"d-flex","justify-content-between","align-items-center","flex-wrap"],["color","primary","size","small","fill","clear","expand","block","target","_top",3,"href"],["slot","start","name","chevron-back-outline"],["color","secondary","size","small","fill","clear",3,"click"],["slot","end","name","print-outline"],[3,"htmlString"],[1,"my-2",3,"ticket","generateQRCodeFn"],[1,"flex-center-all","text-muted","p-3"],[1,"mr-2"],["name","dots","color","medium"]],template:function(i,e){if(1&i&&(t.j41(0,"ion-content",2)(1,"div",3)(2,"div",4)(3,"div"),t.DNE(4,T,13,4,"div",5),t.nI1(5,"async"),t.k0s(),t.j41(6,"div"),t.DNE(7,l,1,2,"om-ticket-card",6),t.nI1(8,"async"),t.k0s()()(),t.DNE(9,v,4,0,"ng-template",null,0,t.C5r),t.k0s()),2&i){const f=t.sdS(10);t.R7$(3),t.ZvI("col",e.receiptType!==e.ReceiptType.Donation?"-md-6":""," my-3"),t.R7$(),t.Y8G("ngIf",t.bMT(5,9,e.innerHtml$))("ngIfElse",f),t.R7$(2),t.ZvI("col",e.receiptType!==e.ReceiptType.Donation?"-md-6":"-auto"," my-3 mx-auto"),t.R7$(),t.Y8G("ngForOf",t.bMT(8,11,e.tickets$))}},dependencies:[c.bv,c.Jm,c.W9,c.iq,c.he,c.w2,u.bT,C,u.pM,D.QE,u.Jj,E.u],styles:[".donation-container[_ngcontent-%COMP%]{max-width:500px;background-color:#f7fafc}@media print{.print[_ngcontent-%COMP%]{zoom:.8}}"]})}}return n})()},9662:(y,d,r)=>{r.r(d),r.d(d,{default:()=>a,routes:()=>c});const c=[{path:"",component:r(3288).j}],a=c},5366:(y,d,r)=>{r.d(d,{u:()=>c});var u=r(4438);let c=(()=>{class a{transform(o){return!o||o.startsWith("https://")||o.startsWith("http://")?o:"//"+o}static{this.\u0275fac=function(h){return new(h||a)}}static{this.\u0275pipe=u.EJ8({name:"urlConverter",type:a,pure:!0,standalone:!0})}static{this.\u0275prov=u.jDH({token:a,factory:a.\u0275fac})}}return a})()},7647:(y,d,r)=>{r.d(d,{u:()=>o});var u=r(8750),c=r(1413),a=r(7707),R=r(9974);function o(t={}){const{connector:g=(()=>new c.B),resetOnError:C=!0,resetOnComplete:E=!0,resetOnRefCountZero:D=!0}=t;return F=>{let T,l,v,m=0,P=!1,n=!1;const p=()=>{l?.unsubscribe(),l=void 0},s=()=>{p(),T=v=void 0,P=n=!1},i=()=>{const e=T;s(),e?.unsubscribe()};return(0,R.N)((e,f)=>{m++,!n&&!P&&p();const k=v=v??g();f.add(()=>{m--,0===m&&!n&&!P&&(l=h(i,D))}),k.subscribe(f),!T&&m>0&&(T=new a.Ms({next:b=>k.next(b),error:b=>{n=!0,p(),l=h(s,C,b),k.error(b)},complete:()=>{P=!0,p(),l=h(s,E),k.complete()}}),(0,u.Tg)(e).subscribe(T))})(F)}}function h(t,g,...C){if(!0===g)return void t();if(!1===g)return;const E=new a.Ms({next:()=>{E.unsubscribe(),t()}});return(0,u.Tg)(g(...C)).subscribe(E)}}}]);

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