1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2779],{21761:e=>{e.exports={learnersSec:"satisfieddemo_learnersSec__IhDc6",hrule:"satisfieddemo_hrule__VBO4i",slidercontent:"satisfieddemo_slidercontent__ocUA6",learners_video:"satisfieddemo_learners_video__ft_YX",poster:"satisfieddemo_poster__nfqQA",playButton:"satisfieddemo_playButton__isZYg",controls:"satisfieddemo_controls__NQrQt"}},95160:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>x});var i=t(37876),n=t(14232),l=t(19357);t(6104),t(65776);var a=t(54587),r=t.n(a),o=t(21761),c=t.n(o),d=t(14568),h=t.n(d),m=t(44263),u=t(40876),f=t(71209),_=t(8754),p=t(45052),v=t(71277);let x=e=>{let{satisfiedData:s}=e,[t,a]=(0,n.useState)(void 0),[o,d]=(0,n.useState)(void 0),x=(0,n.useRef)(null),w=(0,n.useRef)(null),[g,j]=(0,n.useState)(""),[N,S]=(0,n.useState)(!1),[k,y]=(0,n.useState)(!0),[b,T]=(0,n.useState)(0);console.log(b,"idx");let A=()=>{y(e=>!e)},C=(e,s)=>{let t=new URL(window.location.href),i={page:"/"===t.pathname?"Home":t.pathname,section:"YouInspireUs",element:"Video Play Button",label:"Play Video",video:e,activeSlide:s};(0,v.T)("element_click",i),S(!0),j(e),T(s)},I=()=>{S(!1)};(0,n.useEffect)(()=>{x.current&&w.current&&(a(x.current),d(w.current))},[]);let B=e=>{let s=new URL(window.location.href),t={page:"/"===s.pathname?"Home":s.pathname,section:"YouInspireUs",element:"".concat(e," Arrow"),direction:e,activeSlide:b,href:s.href};(0,v.T)("element_click",t)};(0,_.A)([{selector:".satisified-element",yOffset:100,duration:1.5,delay:.5}]);let L=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(!L.current)return;let e=document.querySelector(".imgs_vdo_swiper .slick-slide.slick-current .vdo_height");e&&L.current&&e.appendChild(L.current)},[b,g]),(0,i.jsx)("section",{className:"secPad ".concat(c().learnersSec," satisified-element"),children:(0,i.jsxs)(u.A,{children:[(0,i.jsx)("h3",{className:"text-center ft_64 raleway-ff fw-semibold",dangerouslySetInnerHTML:{__html:(0,p.D)(s.heading)}}),(0,i.jsx)("hr",{className:c().hrule}),(0,i.jsxs)("div",{className:"satisfied_slider",children:[(0,i.jsxs)("div",{className:"d-flex align-content-center justify-content-center justify-content-md-end mb-4 md-mb-0 gap-3",children:[(0,i.jsx)("div",{className:"custom-arrow-satisfied pointer custom-prev-satisfied d-flex align-content-center pointer",children:(0,i.jsx)(r(),{src:f.A,alt:"Arrow",height:18,width:40,onClick:()=>{var e;B("Left"),null==(e=x.current)||e.slickPrev(),I()}})})," ",(0,i.jsx)("div",{className:"custom-arrow-satisfied pointer custom-next-satisfied d-flex align-content-center pointer",children:(0,i.jsx)(r(),{src:f.A,alt:"Arrow",height:18,width:40,onClick:()=>{var e;B("Right"),null==(e=x.current)||e.slickNext(),I()}})})]}),(0,i.jsx)(l.A,{className:"content_swiper",ref:x,asNavFor:o,arrows:!0,infinite:!0,speed:1500,initialSlide:0,children:s&&s.testimonial_posts.map((e,s)=>(0,i.jsxs)("div",{className:"content ".concat(c().slidercontent),children:[(0,i.jsx)("h5",{className:"fs-36 raleway-ff fw-medium",dangerouslySetInnerHTML:{__html:(0,p.D)("#".concat(s+1," ").concat(e.post_title))}}),(0,i.jsx)("h6",{className:"fs-20 poppins-400 mb-3",dangerouslySetInnerHTML:{__html:(0,p.D)(e.sub_description)}}),(0,i.jsx)("p",{className:"fs-14",dangerouslySetInnerHTML:{__html:(0,p.D)(e.content)}})]},s))}),(0,i.jsx)(l.A,{ref:w,asNavFor:t,slidesToShow:5,speed:900,focusOnSelect:!0,className:"imgs_vdo_swiper pointer",arrows:!1,initialSlide:0,beforeChange:(e,s)=>T(s),responsive:[{breakpoint:1024,settings:{slidesToShow:5,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2.8,slidesToScroll:1,centerMode:!0}},{breakpoint:480,settings:{slidesToShow:1.1,slidesToScroll:1,centerMode:!0}}],children:s&&s.testimonial_posts.map((e,s)=>(0,i.jsx)("div",{className:"h-100 w-100",children:(0,i.jsxs)("div",{className:"vdo_height h-100 ".concat(c().learners_video),children:[g!==e.video_link?(0,i.jsxs)("div",{className:"posterthumb w-100 ".concat(c().poster),onClick:()=>C(e.video_link,s),children:[(0,i.jsx)(r(),{src:e.featured_image,alt:"Video Thumbnail",className:"img-fluid object-fit-cover h-100 ".concat(c().posterImage),height:200,width:350}),e.video_link&&(0,i.jsx)("div",{className:"playIcon ".concat(c().playButton),children:(0,i.jsx)(r(),{src:m.A,alt:"Play Icon",height:48,width:48,className:"img-fluid"})})]}):null,g===e.video_link&&b===s&&N&&(0,i.jsxs)("div",{className:"d-flex ".concat(c().controls),children:[(0,i.jsx)("div",{onClick:I,className:c().controlButton,children:"â
1â"}),(0,i.jsx)("div",{onClick:A,className:c().controlButton,children:k?"\uD83D\uDD07":"\uD83D\uDD0A"})]})]})},s))})]}),(0,i.jsx)("div",{ref:L,style:{width:"100%",height:"100%"},className:"react-player-wrapper",onClick:()=>C(g,b),children:g&&(0,i.jsx)(h(),{url:g,playing:N,muted:k,controls:!1,width:"100%",height:"100%",onPause:I,className:c().r_videoPlayer})})]})})}}}]);
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.