PageSourceSearch

https://app.dosconnect.es/9167.fe6af7e0df199881.js

js dosconnect.es collected 2026-10-02 01:04:44 UTC 26,176 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9167],{9167:(st,b,a)=>{a.r(b),a.d(b,{MyGiftsPageModule:()=>nt});var v=a(2200),x=a(9417),p=a(7343),P=a(3123),C=a(8132),k=a(4978),O=a(467),y=a(6467),_=a(207),t=a(3664),g=a(2615),I=a(7705),R=a(5035),j=a(1608),w=a(841),F=a(7375);const $=o=>({cost:o});function T(o,s){1&o&&(t.j41(0,"div",20),t.nrm(1,"ion-icon",21),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"transloco"),t.k0s(),t.j41(5,"p"),t.EFF(6),t.nI1(7,"transloco"),t.k0s()()),2&o&&(t.R7$(3),t.JRh(t.bMT(4,2,"myGifts.emptyReceivedTitle")),t.R7$(3),t.JRh(t.bMT(7,4,"myGifts.emptyReceivedHint")))}function S(o,s){if(1&o&&t.nrm(0,"app-gift-asset",30),2&o){const n=t.XpG().$implicit;t.Y8G("iconUrl",n.icon)("alt",n.name)("width",56)("height",56)}}function V(o,s){if(1&o&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&o){const n=t.XpG().$implicit;t.R7$(),t.JRh(n.icon)}}function E(o,s){if(1&o){const n=t.RV6();t.j41(0,"div",26),t.bIt("click",function(){const i=g.eBV(n).$implicit,r=t.XpG(4);return g.Njj(r.selectGift(i))}),t.j41(1,"div",27),t.DNE(2,S,1,4,"app-gift-asset",28)(3,V,2,1,"span",29),t.k0s()()}if(2&o){const n=s.$implicit;t.R7$(2),t.Y8G("ngIf","rive"===n.type||"image"===n.type),t.R7$(),t.Y8G("ngIf","emoji"===n.type)}}function U(o,s){if(1&o&&(t.j41(0,"div",22)(1,"h3",23),t.EFF(2),t.k0s(),t.j41(3,"div",24),t.DNE(4,E,4,2,"div",25),t.k0s()()),2&o){const n=s.$implicit;t.R7$(2),t.JRh(n.month),t.R7$(2),t.Y8G("ngForOf",n.gifts)}}function Y(o,s){if(1&o&&(t.j41(0,"div",17),t.DNE(1,T,8,6,"div",18)(2,U,5,2,"div",19),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",!n.isLoading&&0===n.receivedGiftsGrouped.length),t.R7$(),t.Y8G("ngForOf",n.receivedGiftsGrouped)}}function B(o,s){1&o&&(t.j41(0,"div",20),t.nrm(1,"ion-icon",21),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"transloco"),t.k0s(),t.j41(5,"p"),t.EFF(6),t.nI1(7,"transloco"),t.k0s()()),2&o&&(t.R
17$(3),t.JRh(t.bMT(4,2,"myGifts.emptySentTitle")),t.R7$(3),t.JRh(t.bMT(7,4,"myGifts.emptySentHint")))}function z(o,s){if(1&o&&t.nrm(0,"app-gift-asset",30),2&o){const n=t.XpG().$implicit;t.Y8G("iconUrl",n.icon)("alt",n.name)("width",56)("height",56)}}function N(o,s){if(1&o&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&o){const n=t.XpG().$implicit;t.R7$(),t.JRh(n.icon)}}function D(o,s){if(1&o){const n=t.RV6();t.j41(0,"div",26),t.bIt("click",function(){const i=g.eBV(n).$implicit,r=t.XpG(4);return g.Njj(r.selectGift(i))}),t.j41(1,"div",27),t.DNE(2,z,1,4,"app-gift-asset",28)(3,N,2,1,"span",29),t.k0s()()}if(2&o){const n=s.$implicit;t.R7$(2),t.Y8G("ngIf","rive"===n.type||"image"===n.type),t.R7$(),t.Y8G("ngIf","emoji"===n.type)}}function X(o,s){if(1&o&&(t.j41(0,"div",22)(1,"h3",23),t.EFF(2),t.k0s(),t.j41(3,"div",24),t.DNE(4,D,4,2,"div",25),t.k0s()()),2&o){const n=s.$implicit;t.R7$(2),t.JRh(n.month),t.R7$(2),t.Y8G("ngForOf",n.gifts)}}function A(o,s){if(1&o&&(t.j41(0,"div",17),t.DNE(1,B,8,6,"div",18)(2,X,5,2,"div",19),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",!n.isLoading&&0===n.sentGiftsGrouped.length),t.R7$(),t.Y8G("ngForOf",n.sentGiftsGrouped)}}function J(o,s){if(1&o){const n=t.RV6();t.j41(0,"div",12)(1,"div",13)(2,"button",14),t.bIt("click",function(){g.eBV(n);const i=t.XpG();return g.Njj(i.segment="received")}),t.EFF(3),t.nI1(4,"transloco"),t.k0s(),t.j41(5,"button",14),t.bIt("click",function(){g.eBV(n);const i=t.XpG();return g.Njj(i.segment="sent")}),t.EFF(6),t.nI1(7,"transloco"),t.k0s()(),t.DNE(8,Y,3,2,"div",15)(9,A,3,2,"div",15),t.j41(10,"p",16),t.EFF(11),t.nI1(12,"transloco"),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(2),t.AVh("active","received"===n.segment),t.R7$(),t.SpI(" ",t.bMT(4,9,"myGifts.received")," "),t.R7$(2),t.AVh("active","sent"===n.segment),t.R7$(),t.SpI(" ",t.bMT(7,11,"myGifts.sent")," "),t.R7$(2),t.Y8G("ngIf","received"===n.segment),t.R7$(),t.Y8G("ngIf","sent"===n.segment),t.R7$(2),t.SpI(" ",t.bMT(12,13,"myGifts.legalDisclaimer")," ")}}function H(o,s){if(1&o){const n=t.RV6();t.j41(0,"button",44),t.nI1(1,"transloco"),t.bIt("click",function(){g.eBV(n);const i=t.XpG(2);return g.Njj(i.openNoteChat())}),t.nrm(2,"ion-icon",45),t.k0s()}2&o&&t.BMQ("aria-label",t.bMT(1,1,"myGifts.ariaViewNote"))}function L(o,s){if(1&o&&t.nrm(0,"app-gift-asset",30),2&o){const n=t.XpG(2);t.Y8G("iconUrl",n.selectedGift.icon)("alt",n.selectedGift.name)("width",280)("height",280)}}function W(o,s){if(1&o&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.JRh(n.selectedGift.icon)}}function Q(o,s){1&o&&t.nrm(0,"app-premium-badge",46),2&o&&t.Y8G("size",14)}function K(o,s){1&o&&t.nrm(0,"app-premium-badge",46),2&o&&t.Y8G("size",14)}function Z(o,s){if(1&o){const n=t.RV6();t.j41(0,"div",31)(1,"div",32)(2,"div",33)(3,"span",34),t.EFF(4),t.k0s(),t.DNE(5,H,3,3,"button",35),t.k0s(),t.j41(6,"div",36),t.DNE(7,L,1,4,"app-gift-asset",28)(8,W,2,1,"span",29),t.k0s(),t.j41(9,"div",37)(10,"div",38)(11,"p"),t.EFF(12),t.nI1(13,"transloco"),t.k0s(),t.j41(14,"p"),t.EFF(15),t.nI1(16,"transloco"),t.j41(17,"span",39)(18,"strong"),t.EFF(19),t.k0s(),t.DNE(20,Q,1,1,"app-premium-badge",40)(21,K,1,1,"app-premium-badge",40),t.k0s()(),t.j41(22,"p"),t.EFF(23),t.nI1(24,"transloco"),t.k0s()(),t.j41(25,"div",41),t.nrm(26,"img",42),t.k0s()()(),t.j41(27,"button",43),t.bIt("click",function(){g.eBV(n);const i=t.XpG();return g.Njj(i.closeGift())}),t.EFF(28),t.nI1(29,"transloco"),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(4),t.JRh(n.selectedGift.name),t.R7$(),t.Y8G("ngIf","received"===n.segment&&n.selectedGift.senderId||"sent"===n.segment&&n.selectedGift.recipientId),t.R7$(2),t.Y8G("ngIf","rive"===n.selectedGift.type||"image"===n.selectedGift.type),t.R7$(),t.Y8G("ngIf","emoji"===n.selectedGift.type),t.R7$(4),t.Lme("",t.bMT(13,13,"received"===n.segment?"myGifts.receivedOn":"myGifts.sentOn")," ",n.selectedGift.date),t.R7$(3),t.SpI("",t.bMT(16,15,"received"===n.segment?"myGifts.sentBy":"myGifts.sentTo")," "),t.R7$(4),t.JRh("received"===n.segment?n.selectedGift.sender:n.selectedGift.recipient),t.R7$(),t.Y8G("ngIf","received"===n.segment&&n.selectedGift.senderIsVerified),t.R7$(),t.Y8G("ngIf","sent"===n.segment&&n.selectedGift.recipientIsVerified),t.R7$(2),t.JRh(t.i5U(24,17,"myGifts.cost",t.eq3(22,$,n.selectedGift.cost))),t.R7$(3),t.Y8G("src","received"===n.segment?n.selectedGift.senderImg:n.selectedGift.recipientImg,t.B4B),t.R7$(2),t.SpI(" ",t.bMT(29,20,"myGifts.viewAllBtn")," ")}}const q=[{path:"",component:(()=>{var o;class s{constructor(e,i,r,c,d,l){this.navCtrl=e,this.supabaseService=i,this.loadingController=r,this.cdr=c,this.transloco=d,this.complianceService=l,this.isHeaderVisible=!0,this.lastScrollTop=0,this.scrollThreshold=50,this.topThreshold=20,this.segment="received",this.receivedGiftsGrouped=[],this.sentGiftsGrouped=[],this.selectedGift=null,this.isLoading=!1,this.currentUserId=""}
1ionViewWillEnter(){this.complianceService.isReviewMode&&this.navCtrl.back()}ngOnInit(){var e=this;return(0,O.A)(function*(){e.complianceService.isReviewMode||(yield e.loadGifts())})()}ngAfterViewInit(){setTimeout(()=>{this.setupScrollListener()},100)}ngOnDestroy(){this.scrollSubscription&&this.scrollSubscription.unsubscribe()}loadGifts(){var e=this;return(0,O.A)(function*(){e.isLoading=!0;try{const{data:{user:i}}=yield e.supabaseService.client.auth.getUser();if(!i)return;e.currentUserId=i.id;const[r,c]=yield Promise.all([e.supabaseService.getUserReceivedGifts(e.currentUserId),e.supabaseService.getUserSentGifts(e.currentUserId)]),d=(r.data||[]).map(f=>f.sender?.id).filter(Boolean),l=(c.data||[]).map(f=>f.receiver?.id).filter(Boolean),h=[...new Set([...d,...l])],m=h.length>0?yield e.supabaseService.getShowPremiumBadgeForUsers(h):new Map;r.data&&(e.receivedGiftsGrouped=e.groupGiftsByMonth(r.data.map(f=>e.processReceivedGift(f,m)))),c.data&&(e.sentGiftsGrouped=e.groupGiftsByMonth(c.data.map(f=>e.processSentGift(f,m))))}catch(i){console.error("Error loading gifts:",i)}finally{e.isLoading=!1}})()}processReceivedGift(e,i){const r=new Date(e.created_at),c=this.getGiftIcon(e.gift),d=e.sender?.id,l=!i||!1!==i.get(d);return{id:e.id,name:e.gift?.name||this.transloco.translate("myGifts.defaultGiftName"),icon:c,type:_.I.isRiveUrl(c)?"rive":_.I.isImageUrl(c)?"image":"emoji",date:this.formatDate(r),sender:e.sender?.username||this.transloco.translate("myGifts.defaultUserName"),senderId:e.sender?.id,senderImg:e.sender?.profile_picture_url||"assets/img_profile/image-default.png",senderVerified:(0,y.O)(e.sender),senderPremium:!(!e.sender?.is_premium||!l),cost:this.formatCost(e.gift?.cost||0)}}processSentGift(e,i){const r=new Date(e.created_at),c=this.getGiftIcon(e.gift),d=e.receiver?.id,l=!i||!1!==i.get(d);return{id:e.id,name:e.gift?.name||this.transloco.translate("myGifts.defaultGiftName"),icon:c,type:_.I.isRiveUrl(c)?"rive":_.I.isImageUrl(c)?"image":"emoji",date:this.formatDate(r),recipient:e.receiver?.username||this.transloco.translate("myGifts.defaultUserName"),recipientId:e.receiver?.id,recipientImg:e.receiver?.profile_picture_url||"assets/img_profile/image-default.png",recipientVerified:(0,y.O)(e.receiver),recipientPremium:!(!e.receiver?.is_premium||!l),cost:this.formatCost(e.gift?.cost||0)}}getGiftIcon(e){if(!e?.icon_url)return"\u{1f381}";const i=e.icon_url.trim();return i.startsWith("http://")||i.startsWith("https://")?i:i.startsWith("/")||i.includes("assets/gifts")||i.endsWith(".riv")?_.I.normalizeLegacyGiftAssetPath(i):(i.includes(".svg")||i.includes(".png")||i.includes(".jpg")||i.includes(".jpeg")||i.includes(".gif")||i.includes(".webp"),i)}isImageUrl(e){return _.I.isImageUrl(e)}formatCost(e){return`${e.toFixed(2).replace(".",",")}\u20ac`}formatDate(e){return`${String(e.getDate()).padStart(2,"0")}/${String(e.getMonth()+1).padStart(2,"0")}/${e.getFullYear()}`}groupGiftsByMonth(e){const i={},r=this.transloco.getActiveLang()||"es";return e.forEach(d=>{const[l,h,m]=d.date.split("/"),f=new Date(parseInt(m),parseInt(h)-1,parseInt(l)),M=f.toLocaleDateString(r,{month:"long"}),u=`${M.charAt(0).toUpperCase()+M.slice(1)} ${f.getFullYear()}`;i[u]||(i[u]=[]),i[u].push(d)}),Object.keys(i).sort((d,l)=>{const[h,m]=d.split(" "),[f,M]=l.split(" ");if(m!==M)return parseInt(M)-parseInt(m);const G=i[d][0],u=i[l][0],[,it]=G.date.split("/"),[,ot]=u.date.split("/");return parseInt(ot)-parseInt(it)}).map(d=>({month:d,gifts:i[d]}))}setupScrollListener(){this.content&&(this.scrollSubscription=this.content.ionScroll.subscribe(e=>{this.handleScroll(e)}),this.content.getScrollElement().then(e=>{const i=()=>{this.handleScrollValue(e.scrollTop)};e.addEventListener("scroll",i,{passive:!0}),this.scrollSubscription?.add(()=>{e.removeEventListener("scroll",i)})}))}handleScroll(e){let i=0;e&&e.detail?i=e.detail.scrollTop||0:e&&e.target&&(i=e.target.scrollTop||0),this.handleScrollValue(i)}handleScrollValue(e){const i=this.isHeaderVisible;if(e<=this.topThreshold)return this.isHeaderVisible||(this.isHeaderVisible=!0),this.lastScrollTop=Math.max(0,e),void(this.isHeaderVisible!==i&&this.cdr.detectChanges());const c=e,d=c-this.lastScrollTop;d>5&&c>this.scrollThreshold?this.isHeaderVisible&&(this.isHeaderVisible=!1):d<-5&&(this.isHeaderVisible||(this.isHeaderVisible=!0)),this.lastScrollTop=c,this.isHeaderVisible!==i&&this.cdr.detectChanges()}goBack(){this.selectedGift?this.closeGift():this.navCtrl.back()}selectGift(e){this.selectedGift=e}closeGift(){this.selectedGift=null}openNoteChat(){if(!this.selectedGift)return;const e="received"===this.segment?this.selectedGift.senderId:this.selectedGift.recipientId;e&&this.navCtrl.navigateForward(`/tabs/chat/conversation/${e}`)}static#t=o=()=>(this.\u0275fac=function(i){return new(i||s)(t.rXU(R.q9),t.rXU(j.w),t.rXU(p.Xi),t.rXU(I.gRc),t.rXU(P.JO),t.rXU(w.S)
1)},this.\u0275cmp=t.VBU({type:s,selectors:[["app-my-gifts"]],viewQuery:function(i,r){if(1&i&&t.GBs(p.W9,5),2&i){let c;t.mGM(c=t.lsd())&&(r.content=c.first)}},standalone:!1,decls:15,vars:10,consts:[[1,"ion-no-border"],[1,"page-header"],["slot","start"],[3,"click"],["name","chevron-back-outline","slot","icon-only"],[1,"header-spacer"],[1,"my-gifts-content",3,"scrollEvents"],[1,"my-gifts-view"],[1,"content-wrapper"],[1,"view-container"],["class","list-view",4,"ngIf"],["class","detail-view",4,"ngIf"],[1,"list-view"],[1,"segments-container"],[1,"segment-btn",3,"click"],["class","gifts-list",4,"ngIf"],[1,"gifts-legal-disclaimer"],[1,"gifts-list"],["class","empty-state",4,"ngIf"],["class","month-group",4,"ngFor","ngForOf"],[1,"empty-state"],["name","gift-outline",1,"empty-icon"],[1,"month-group"],[1,"month-label"],[1,"gifts-grid"],["class","gift-card",3,"click",4,"ngFor","ngForOf"],[1,"gift-card",3,"click"],[1,"gift-icon"],[3,"iconUrl","alt","width","height",4,"ngIf"],[4,"ngIf"],[3,"iconUrl","alt","width","height"],[1,"detail-view"],[1,"gift-detail-card"],[1,"top-info"],[1,"gift-name"],["type","button","class","note-icon",3,"click",4,"ngIf"],[1,"gift-main-icon"],[1,"gift-footer"],[1,"gift-info-text"],[1,"name-with-badges"],["style","display: inline-flex; align-items: center; margin-left: 4px;",3,"size",4,"ngIf"],[1,"sender-avatar"],["alt","Avatar",3,"src"],[1,"close-detail-btn",3,"click"],["type","button",1,"note-icon",3,"click"],["name","reader"],[2,"display","inline-flex","align-items","center","margin-left","4px",3,"size"]],template:function(i,r){1&i&&(t.j41(0,"ion-header",0)(1,"div",1)(2,"ion-buttons",2)(3,"ion-button",3),t.bIt("click",function(){return r.goBack()}),t.nrm(4,"ion-icon",4),t.k0s()(),t.j41(5,"h1"),t.EFF(6),t.nI1(7,"transloco"),t.k0s(),t.nrm(8,"div",5),t.k0s()(),t.j41(9,"ion-content",6)(10,"div",7)(11,"div",8)(12,"div",9),t.DNE(13,J,13,15,"div",10)(14,Z,30,24,"div",11),t.k0s()()()()),2&i&&(t.AVh("header-hidden",!r.isHeaderVisible),t.R7$(6),t.JRh(t.bMT(7,8,"myGifts.title")),t.R7$(3),t.Y8G("scrollEvents",!0),t.R7$(3),t.AVh("detail-active",r.selectedGift),t.R7$(),t.Y8G("ngIf",!r.selectedGift),t.R7$(),t.Y8G("ngIf",r.selectedGift))},dependencies:[v.Sq,v.bT,p.Jm,p.QW,p.W9,p.eU,p.iq,F.a,_.I,P.Kj],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block;height:100%}.my-gifts-content[_ngcontent-%COMP%]{--background: #F0F1F5;--padding-top: 0;--padding-bottom: 0}ion-header.ion-no-border[_ngcontent-%COMP%]{--background: #F0F1F5 !important;--ion-background-color: #F0F1F5 !important;background:#f0f1f5!important;position:relative;top:0;left:0;right:0;z-index:10050;max-height:200px;overflow:visible;opacity:1;transition:max-height var(--header-collapse-duration, .58s) var(--header-collapse-ease, cubic-bezier(.33, 1, .68, 1)),padding-top var(--header-collapse-duration, .58s) var(--header-collapse-ease, cubic-bezier(.33, 1, .68, 1)),opacity var(--header-collapse-duration, .58s) var(--header-collapse-ease, cubic-bezier(.33, 1, .68, 1))}ion-header.ion-no-border[_ngcontent-%COMP%]::part(native){background:#f0f1f5!important}ion-header.ion-no-border[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]{background:#f0f1f5}.my-gifts-view[_ngcontent-%COMP%]{display:flex;flex-direction:column;background:#f0f1f5;padding-top:16px;padding-bottom:calc(100px + var(--ion-safe-area-bottom, 0))}.header-spacer[_ngcontent-%COMP%]{width:40px}.content-wrapper[_ngcontent-%COMP%]{padding:0 20px 20px;flex:1}.segments-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;background:transparent;margin-bottom:10px}.segment-btn[_ngcontent-%COMP%]{flex:1;padding:12px;background:transparent;border:none;border-radius:20px;color:#000;font-size:1rem;font-weight:500;transition:all .2s}.segment-btn.active[_ngcontent-%COMP%]{background:#fff;color:#000;font-weight:600}.segment-btn[_ngcontent-%COMP%]:first-child{margin-right:20px}.month-group[_ngcontent-%COMP%]{margin-bottom:30px}.month-group[_ngcontent-%COMP%]   .month-label[_ngcontent-%COMP%]{font-size:14px;font-weight:700;color:#333;margin-bottom:15px}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.empty-state[_ngcontent-%COMP%]   .empty-icon[_ngcontent-%COMP%]{font-size:80px;color:#0003;margin-bottom:20px}.empty-state[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:18px;font-weight:600;color:#000;margin-bottom:8px}.empty-state[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;color:#19163299;margin:0}.gifts-legal-disclaimer[_ngcontent-%COMP%]{margin:24px 0 0;padding:0 4px;font-size:12px;line-height:1.5;color:#888}.gifts-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.gifts-grid[_ngcontent-%COMP%]   .gift-card[_ngcontent-%COMP%]{aspect-ratio:1;background:#fff;border-radius:24px;display:flex;align-items:center;justify-content:center;box-shadow:none}.gifts-grid[_ngcontent-%COMP%]   .gift-card[_ngcontent-%COMP%]   .gift-icon[_ngcontent-%COMP%]{font-size:2rem;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.gifts-grid[_ngcontent-%COMP%]   .gift-card[_ngcontent-%COMP%]   .gift-icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:60%;height:60%;object-fit:contain}.gifts-grid[_ngcontent-%COMP%]   .gift-card[_ngcontent-%COMP%]   .gift-icon[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:2rem}.gifts-grid[_ngcontent-%COMP%]   .gift-card[_ngcontent-%COMP%]:active{transform:scale(.95)}.view-container[_ngcontent-%COMP%]{position:relative;width:100%}.list-view[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeIn .3s ease-out}.detail-view[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding-top:10px;animation:_ngcontent-%COMP%_expandDetail .5s cubic-bezier(.175,.885,.32,1.1) forwards}.gift-detail-card[_ngcontent-%COMP%]{width:100%;background:#fff;border-radius:60px;padding:35px;box-shadow:0 15px 40px #00000014;color:#000;position:relative;margin-bottom:30px}
1.gift-detail-card[_ngcontent-%COMP%]   .top-info[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.gift-detail-card[_ngcontent-%COMP%]   .top-info[_ngcontent-%COMP%]   .gift-name[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:800;color:#000}.gift-detail-card[_ngcontent-%COMP%]   .top-info[_ngcontent-%COMP%]   .note-icon[_ngcontent-%COMP%]{width:48px;height:48px;background:#757067;border:none;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;transform:rotate(-10deg);box-shadow:4px 4px 10px #0000001a;cursor:pointer;padding:0}.gift-detail-card[_ngcontent-%COMP%]   .top-info[_ngcontent-%COMP%]   .note-icon[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{font-size:24px}.gift-detail-card[_ngcontent-%COMP%]   .top-info[_ngcontent-%COMP%]   .note-icon[_ngcontent-%COMP%]:active{opacity:.9}.gift-detail-card[_ngcontent-%COMP%]   .gift-main-icon[_ngcontent-%COMP%]{font-size:clamp(160px,42vw,220px);text-align:center;margin:40px 0;filter:drop-shadow(0 15px 15px rgba(0,0,0,.1));display:flex;align-items:center;justify-content:center;min-height:min(320px,70vw)}.gift-detail-card[_ngcontent-%COMP%]   .gift-main-icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:min(280px,85vw);max-height:min(280px,85vw);width:auto;height:auto;object-fit:contain}.gift-detail-card[_ngcontent-%COMP%]   .gift-main-icon[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:inherit;line-height:1}.gift-detail-card[_ngcontent-%COMP%]   .gift-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-end}.gift-detail-card[_ngcontent-%COMP%]   .gift-footer[_ngcontent-%COMP%]   .gift-info-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:5px 0;font-size:1rem;color:#000;opacity:.85}.gift-detail-card[_ngcontent-%COMP%]   .gift-footer[_ngcontent-%COMP%]   .gift-info-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{opacity:1;font-weight:700}.gift-detail-card[_ngcontent-%COMP%]   .gift-footer[_ngcontent-%COMP%]   .sender-avatar[_ngcontent-%COMP%]{width:65px;height:65px;border-radius:50%;overflow:hidden;box-shadow:0 6px 15px #0000001a}.gift-detail-card[_ngcontent-%COMP%]   .gift-footer[_ngcontent-%COMP%]   .sender-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.close-detail-btn[_ngcontent-%COMP%]{background:#fff;color:#000;border:none;padding:16px 32px;border-radius:30px;font-size:1rem;font-weight:700;margin-top:10px;box-shadow:0 4px 15px #0000000d;transition:all .2s}.close-detail-btn[_ngcontent-%COMP%]:active{transform:scale(.95);background:#dbd2c3}@keyframes _ngcontent-%COMP%_expandDetail{0%{opacity:0;transform:scale(.9) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}body.dark[_nghost-%COMP%]   .my-gifts-content[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .my-gifts-content[_ngcontent-%COMP%]{--background: var(--ion-background-color, #0f0f12)}body.dark[_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%]{--background: var(--ion-background-color, #0f0f12) !important;--ion-background-color: var(--ion-background-color, #0f0f12) !important;background:var(--ion-background-color, #0f0f12)!important}body.dark[_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%]::part(native), body.dark   [_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%]::part(native){background:var(--ion-background-color, #0f0f12)!important}body.dark[_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]{background:var(--ion-background-color, #0f0f12)}body.dark[_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:var(--ion-text-color, #ffffff)}body.dark[_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   ion-header.ion-no-border[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]{color:var(--ion-text-color, #ffffff)}body.dark[_nghost-%COMP%]   .my-gifts-view[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .my-gifts-view[_ngcontent-%COMP%]{background:var(--ion-background-color, #0f0f12)}
1body.dark[_nghost-%COMP%]   .segment-btn[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .segment-btn[_ngcontent-%COMP%]{color:var(--ion-text-color, #ffffff)}body.dark[_nghost-%COMP%]   .segment-btn.active[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .segment-btn.active[_ngcontent-%COMP%]{background:var(--ion-card-background, #1b1b22);color:var(--brand-light-blue, #76ACFD)}body.dark[_nghost-%COMP%]   .month-group[_ngcontent-%COMP%]   .month-label[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .month-group[_ngcontent-%COMP%]   .month-label[_ngcontent-%COMP%]{color:var(--ion-text-color, #ffffff)}body.dark[_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   .empty-icon[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   .empty-icon[_ngcontent-%COMP%]{color:#ffffff26}body.dark[_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:var(--ion-text-color, #ffffff)}body.dark[_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#94a3b8}body.dark[_nghost-%COMP%]   .gifts-legal-disclaimer[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .gifts-legal-disclaimer[_ngcontent-%COMP%]{color:#64748b}body.dark[_nghost-%COMP%]   .gifts-grid[_ngcontent-%COMP%]   .gift-card[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .gifts-grid[_ngcontent-%COMP%]   .gift-card[_ngcontent-%COMP%]{background:var(--ion-card-background, #1b1b22);box-shadow:0 4px 12px #00000026}body.dark[_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%]{background:var(--ion-card-background, #1b1b22);box-shadow:0 15px 40px #00000059;border:1px solid rgba(255,255,255,.05)}body.dark[_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%]   .top-info[_ngcontent-%COMP%]   .gift-name[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%]   .top-info[_ngcontent-%COMP%]   .gift-name[_ngcontent-%COMP%]{color:var(--ion-text-color, #ffffff)}body.dark[_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%]   .top-info[_ngcontent-%COMP%]   .note-icon[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%]   .top-info[_ngcontent-%COMP%]   .note-icon[_ngcontent-%COMP%]{background:#3b3833;box-shadow:4px 4px 10px #0000004d}body.dark[_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%]   .gift-main-icon[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%]   .gift-main-icon[_ngcontent-%COMP%]{filter:drop-shadow(0 15px 15px rgba(0,0,0,.3))}body.dark[_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%]   .gift-footer[_ngcontent-%COMP%]   .gift-info-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .gift-detail-card[_ngcontent-%COMP%]   .gift-footer[_ngcontent-%COMP%]   .gift-info-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--ion-text-color, #ffffff)}body.dark[_nghost-%COMP%]   .close-detail-btn[_ngcontent-%COMP%], body.dark   [_nghost-%COMP%]   .close-detail-btn[_ngcontent-%COMP%]{background:var(--ion-card-background, #1b1b22);color:var(--ion-text-color, #ffffff);border:1px solid rgba(255,255,255,.05);box-shadow:0 4px 15px #00000040}body.dark[_nghost-%COMP%]   .close-detail-btn[_ngcontent-%COMP%]:active, body.dark   [_nghost-%COMP%]   .close-detail-btn[_ngcontent-%COMP%]:active{background:#2d2d39}']}))}return o(),s})(),canActivate:[k.q]}];let tt=(()=>{var o;class s{static#t=o=()=>(this.\u0275fac=function(i){return new(i||s)},this.\u0275mod=t.$C({type:s}),this.\u0275inj=g.G2t({imports:[C.iI.forChild(q),C.iI]}))}return o(),s})();var et=a(2883);let nt=(()=>{var o;class s{static#t=o=()=>(this.\u0275fac=function(i){return new(i||s)},this.\u0275mod=t.$C({type:s}),this.\u0275inj=g.G2t({imports:[v.MD,x.YN,p.bv,tt,et.u,P.Q8]}))}return o(),s})()}}]);

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.