PageSourceSearch

https://mentoga.com/chunk-PFIGNZIF.js

js mentoga.com collected 2026-10-09 01:16:04 UTC 9,096 bytes, 3 lines download raw bytes

1import{a as L,b as z,w as Y}from"./chunk-XTSDOJZY.js";import{a as j,b as F}from"./chunk-GAV3FHCZ.js";import{U as A}from"./chunk-TE27S34P.js";import{k as E,v as V}from"./chunk-66HRGNAO.js";import{Ab as s,Bb as h,Cc as f,Dc as g,Ec as I,Fa as R,Gb as k,Mc as O,Qa as c,Ra as d,Rb as v,Wb as p,ac as _,cc as x,dc as C,ec as y,fc as l,gc as m,h as S,hc as u,kc as b,pc as M,qc as r,wc as D,xc as T,yc as P}from"./chunk-D2DANOQX.js";var B=["parent"];function $(o,a){if(o&1&&(l(0,"div",3)(1,"div",4)(2,"p",5),f(3),m(),l(4,"div",6),u(5,"fa-icon",7),f(6),m()(),l(7,"p",8),f(8),m()()),o&2){let t=a.$implicit,n=a.$index,e=r(2);p("ngClass","r"+n),s(3),g(t==null?null:t.name),s(2),p("icon",e.faStar),s(),I(" ",t==null?null:t.rating," "),s(2),g(t==null?null:t.review)}}function Q(o,a){if(o&1){let t=b();l(0,"div",2,0),M("mousedown",function(e){c(t);let i=r();return d(i.startDragging(e,!1,i.slider))})("mouseup",function(e){c(t);let i=r();return d(i.stopDragging(e,!1))})("mouseleave",function(e){c(t);let i=r();return d(i.stopDragging(e,!1))})("mousemove",function(e){c(t);let i=r();return d(i.moveEvent(e,i.slider))}),C(2,$,9,5,"div",3,x),m()}if(o&2){let t=r();s(2),y(t.creatorReviews)}}function X(o,a){if(o&1&&(l(0,"div",11)(1,"div",4)(2,"div",13)(3,"div",14),u(4,"img",15),m(),l(5,"p",5),f(6),m()(),l(7,"div",6),u(8,"fa-icon",7),f(9),m()(),l(10,"p",8),f(11),m()()),o&2){let t=r().$implicit,n=r(2);s(4),p("useSrcset",!0)("lazyLoad",t==null?null:t.image),s(2),g(t==null?null:t.name),s(2),p("icon",n.faStar),s(),I(" ",t==null?null:t.rating," "),s(2),g(t==null?null:t.comment)}}function q(o,a){o&1&&u(0,"div",12)}function H(o,a){if(o&1&&v(0,X,12,6,"div",11)(1,q,1,0,"div",12),o&2){let t=r(2);_(t.loading?1:0)}}function J(o,a){o&1&&(l(0,"p",10),f(1,"No Reviews Yet"),m())}function N(o,a){if(o&1){let t=b();l(0,"div",9,0),M("mousedown",function(e){c(t);let i=r();return d(i.startDragging(e,!1,i.slider))})("mouseup",function(e){c(t);let i=r();return d(i.stopDragging(e,!1))})("mouseleave",function(e){c(t);let i=r();return d(i.stopDragging(e,!1))})("mousemove",function(e){c(t);let i=r();return d(i.moveEvent(e,i.slider))}),C(2,H,2,1,null,null,x),m(),v(4,J,2,0,"p",10)}if(o&2){let t=r();s(2),y(t.creatorReviews),s(2),_(t.creatorReviews!=null&&t.creatorReviews.length?-1:4)}}var oe=(()=>{let a=class a{constructor(n,e){this.http=n,this.renderer=e,this.creatorId=null,this.loading=!1,this.faStar=Y,this.mouseDown=!1,this.i=0,this.reviews=[{name:"Sarah Johnson",review:"Chatting with Mackenzie on Mentoga was an unforgettable experience. The personal insights and genuine conversation we had were incredible. Mentoga has truly redefined fan engagement for me.",rating:"4"},{name:"Ava Martinez",review:"Booking a one-on-one meeting with Jacob Sapochnick on Mentoga was enlightening. The platform's seamless interaction and the depth of our conversation were beyond my expectations. Mentoga is a game-changer.",rating:"5"},{name:"David Kim",review:"Mentoga has transformed how I interact with inspiring figures. The platform is intuitive, and the experience is beyond what I expected. It's not just a fan service; it's a community of meaningful engagement.",rating:"5"},{name:"Emily Patel",review:"I'm blown away by the depth of interaction Mentoga offers. It's not just about fan messages; it's about real connections. The chat feature is seamless and makes every conversation special.",rating:"4"},{name:"Alex Thompson",review:"Having the opportunity to express my appreciation to Daniel Martiz through Mentoga's Coffee feature was amazing. The platform's unique approach to fan-creator connections is unmatched. It's not just about following your favorites; it's about truly connecting with them.",rating:"5"},{name:"Michael Lee",review:"The personalized session I booked on Mentoga was both professional and heartwarming. It's rare to find a platform that offers such genuine interactions. Mentoga really understands what it means to connect.",rating:"4"},{name:"Jessica Smith",review:"The one-on-one session I had with Olivia Rose on Mentoga was transformative. The platform not only made it easy to connect but also ensured a meaningful and professional experience. Mentoga is at the forefront of the creator economy.",rating:"4"}],this.creatorReviews=this.reviews}ngOnInit(){this.page!=="home"&&this.loadData(),this.startAutoSlide()}ngOnDestroy(){clearInterval(this.autoSlideInterval)}loadData(){return S(this,null,function*(){try{if(!this.creatorId)return;this.loading=!0;let n=yield this.http.get(`api/MentorRating/mentor-review-listing?mentorid=${this.creatorId}`,!1,!1).toPromise();n.status?this.creatorReviews=n.modelList:this.creatorReviews=[]}catch(n){console.error("An error occurred while loading data:",n),this.creatorReviews=[]}finally{this.loading=!1}})}startDragging(n,e,i){this.mouseDown=!0,this.startX=n.pageX-i.nativeElement.offsetLeft,this.scrollLeft=i.nativeElement.scrollLeft}stopDragging(n,e){this.mouseDown=!1}moveEvent(n,e){if(n.preventDefault(),!this.mouseDown)return;let w=n.pageX-e.nativeElement.offsetLeft-this.startX;e.nativeElement.scrollLeft=this.scrollLeft-w}startAutoSlide(){this.autoSlideInterval=setInterval(()=>{this.i=(this.i+1)%this.creatorReviews.length,this.scrollToReview(this.i)},3e3)}scrollToReview(n){let e=this.slider.nativeElement.querySelectorAll(".reviewSec");if(e&&e.length>n){let i=e[n];this.renderer.setProperty(this.slider.nativeElement,"scrollLeft",i.offsetLeft)}}};a.\u0275fac=function(e){return new(e||a)(h(A),h(k))}
1,a.\u0275cmp=R({type:a,selectors:[["app-reviews"]],viewQuery:function(e,i){if(e&1&&D(B,5),e&2){let w;T(w=P())&&(i.slider=w.first)}},inputs:{creatorId:"creatorId",page:"page"},standalone:!0,features:[O],decls:2,vars:1,consts:[["parent",""],[1,"reviewContainer","d-flex"],[1,"reviewContainer","d-flex",3,"mousedown","mouseup","mouseleave","mousemove"],[1,"reviewSec","dCenter","flex-column",3,"ngClass"],[1,"head","w-100","mb-3","d-flex","justify-content-between","align-items-center"],[1,"gilroy-b","mb-0","wow","fadeInDown"],[1,"rating","dCenter"],[3,"icon"],[1,"gilroy-m","reviewP","mb-0","wow","fadeInDown"],["id","reviewContainer",1,"reviewContainer","d-flex",3,"mousedown","mouseup","mouseleave","mousemove"],[1,"text-center"],[1,"reviewSec","dCenter","flex-column"],[1,"reviewSec","skeleton"],[1,"leftSide","dCenter"],[1,"reviewBox","dCenter","oHideBox","rounded-circle"],["defaultImage","https://res.cloudinary.com/yfhy4efp/image/upload/v1701082076/comejoinus/new/brokenimg_1_r0bg15.webp","width","100%","height","100%","alt","Image",1,"lazyImage",3,"useSrcset","lazyLoad"]],template:function(e,i){e&1&&v(0,Q,4,0,"div",1)(1,N,5,1),e&2&&_(i.page=="home"?0:1)},dependencies:[z,L,F,j,V,E],styles:[`.animated[_ngcontent-%COMP%]{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.hinge[_ngcontent-%COMP%]{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes _ngcontent-%COMP%_fadeInDown{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes _ngcontent-%COMP%_fadeInDown{0%{opacity:0;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px)}to{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.fadeInDown[_ngcontent-%COMP%]{-webkit-animation-name:_ngcontent-%COMP%_fadeInDown;animation-name:_ngcontent-%COMP%_fadeInDown}.skeleton[_ngcontent-%COMP%]{background-color:#e2e5e7;background-image:linear-gradient(90deg,#fff0 0,#fff3 20%,#ffffff80 60%,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;animation:_ngcontent-%COMP%_shine 3s ease infinite}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}.reviewContainer[_ngcontent-%COMP%]{overflow-y:auto;align-items:flex-start;justify-content:flex-start;width:100%;cursor:all-scroll}.reviewContainer[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.reviewContainer[_ngcontent-%COMP%]{-ms-overflow-style:none;scrollbar-width:none}.reviewSec[_ngcontent-%COMP%]{min-width:30.303030303%;min-height:240px;margin:1rem 2rem;margin-left:7px;background-color:#fff;box-shadow:0 0 25px 2px #001a4d14;border-radius:16px;padding:25px;text-align:left;justify-content:flex-start}.reviewSec[_ngcontent-%COMP%]:last-child{margin-right:7px}.reviewSec.skeleton[_ngcontent-%COMP%]{background-color:#e2e5e7}fa-icon[_ngcontent-%COMP%]{color:#f6ad55;margin-right:4px}.reviewP[_ngcontent-%COMP%]{font-size:13px}.reviewBox[_ngcontent-%COMP%]{width:50px;height:50px;margin:auto 10px auto auto}@media only screen and (min-width: 1660px){.reviewSec[_ngcontent-%COMP%]{min-width:20.4081632653%;min-height:250px}}@media only screen and (max-width: 1024px){.reviewSec[_ngcontent-%COMP%]{min-width:43.4782608696%}}@media only screen and (max-width: 520px){.reviewSec[_ngcontent-%COMP%]{min-width:76.9230769231%;min-height:235px}}
2/*# sourceMappingURL=reviews.component-6FVDMA7R.css.map */`]});let o=a;return o}
2)();export{oe as a};
3//# sourceMappingURL=chunk-PFIGNZIF.js.map

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.