Learn languages for free

41 languages from your native language.
Anytime, anywhere, on any device.

I speak

English

I want to learn

Select language

App of the Year
Facebook
Apps We Love
Apple App Store
Editors' Choice
Google Play
Mondly languages app
Mondly languages app
Mondly languages app
Mondly Reviews

1 000 000+ Ratings

Mondly was named "Editors' Choice" in Google Play and "Best New App" by Apple.

Explore Mondly app in AppGalery

Mondly by Pearson is changing the way people learn new languages

more than 1000 language combinations so you can learn from your native language

50 topics to prepare you for the most common situations

41 real conversations to give you fluency

quick Daily Lessons for constant improvement

Loved by learners, supported by experts.

Here's what millions of learners say about their journey to fluency with Mondly.

',ee(t,"class","flex h-96 items-center justify-center rounded-lg bg-gray-100")},m(e,i){W(e,t,i)},p:g,i:g,o:g,d(e){e&&H(t)}}}function en(e){let t,i,a,r,n;return a=new rt({props:{data:ct}}),{c(){t=Y("div"),i=Y("div"),qe(a.$$.fragment),r=K("\n\t\t\t\t\t\t\tProcessing Video"),ee(i,"class","pointer-events-none flex animate-pulse items-center gap-2 rounded-md bg-amber-500/20 px-4 py-2 text-amber-500 shadow-2xl shadow-amber-500/40"),ee(t,"class","flex h-full w-full flex-col items-center justify-center rounded-md bg-slate-900")},m(e,s){W(e,t,s),O(t,i),Ke(a,i,null),O(i,r),n=!0},p:g,i(e){n||(Ge(a.$$.fragment,e),n=!0)},o(e){De(a.$$.fragment,e),n=!1},d(e){e&&H(t),Ze(a)}}}function tn(e){let t,i,a,r,n;return a=new rt({props:{data:st}}),{c(){t=Y("div"),i=Y("div"),qe(a.$$.fragment),r=K("\n\t\t\t\t\t\t\tError Processing Video"),ee(i,"class","pointer-events-none flex items-center gap-2 rounded-md bg-red-500/20 px-4 py-2 text-red-500 shadow-2xl shadow-red-500/40"),ee(t,"class","flex h-full w-full flex-col items-center justify-center rounded-md bg-slate-900")},m(e,s){W(e,t,s),O(t,i),Ke(a,i,null),O(i,r),n=!0},p:g,i(e){n||(Ge(a.$$.fragment,e),n=!0)},o(e){De(a.$$.fragment,e),n=!1},d(e){e&&H(t),Ze(a)}}}function an(e){let t,i,a,r,n;const s=[nn,rn],o=[];function l(e,t){return e[20]||e[19]?0:1}t=l(e),i=o[t]=s[t](e);let d=e[21]&&$n();return{c(){i.c(),a=Z(),d&&d.c(),r=X()},m(e,i){o[t].m(e,i),W(e,a,i),d&&d.m(e,i),W(e,r,i),n=!0},p(e,n){let c=t;t=l(e),t===c?o[t].p(e,n):(Ne(),De(o[c],1,1,()=>{o[c]=null}),Oe(),i=o[t],i?i.p(e,n):(i=o[t]=s[t](e),i.c()),Ge(i,1),i.m(a.parentNode,a)),e[21]?d||(d=$n(),d.c(),d.m(r.parentNode,r)):d&&(d.d(1),d=null)},i(e){n||(Ge(i),n=!0)},o(e){De(i),n=!1},d(e){e&&(H(a),H(r)),o[t].d(e),d&&d.d(e)}}}function rn(e){let t,i,a,r,n,s,o,l,d,c,u,p,m,g,f=e[5]&&e[17]?.review?.rating&&sn(e),h=e[4]&&e[17]?.review?.title&&on(e);function w(e,t){return e[9]?dn:ln}c=new rt({props:{data:ht,fill:"currentColor",size:32,class:"text-white"}});let v=w(e),b=v(e);return{c(){t=Y("img"),a=Z(),r=Y("button"),n=Y("div"),f&&f.c(),s=Z(),h&&h.c(),o=Z(),l=Y("div"),d=Y("span"),qe(c.$$.fragment),u=Z(),b.c(),A(t.src,i=e[35])||ee(t,"src",i),ee(t,"alt",""),ee(t,"class","absolute inset-0 h-full w-full object-cover"),ee(n,"class","w-full text-left text-white"),ee(d,"class","rounded-full bg-black/30 p-4 shadow-xl backdrop-blur-md"),ee(l,"class","flex w-full items-center justify-center"),ee(r,"class","absolute flex h-full w-full flex-col justify-between px-4 py-4")},m(i,w){W(i,t,w),W(i,a,w),W(i,r,w),O(r,n),f&&f.m(n,null),O(n,s),h&&h.m(n,null),O(r,o),O(r,l),O(l,d),Ke(c,d,null),O(r,u),b.m(r,null),p=!0,m||(g=Q(r,"click",e[10]),m=!0)},p(e,a){(!p||16&a[1]&&!A(t.src,i=e[35]))&&ee(t,"src",i),e[5]&&e[17]?.review?.rating?f?(f.p(e,a),131104&a[0]&&Ge(f,1)):(f=sn(e),f.c(),Ge(f,1),f.m(n,s)):f&&(Ne(),De(f,1,1,()=>{f=null}),Oe()),e[4]&&e[17]?.review?.title?h?h.p(e,a):(h=on(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),v===(v=w(e))&&b?b.p(e,a):(b.d(1),b=v(e),b&&(b.c(),b.m(r,null)))},i(e){p||(Ge(f),Ge(c.$$.fragment,e),p=!0)},o(e){De(f),De(c.$$.fragment,e),p=!1},d(e){e&&(H(t),H(a),H(r)),f&&f.d(),h&&h.d(),Ze(c),b.d(),m=!1,g()}}}function nn(e){let t,i,a,r,n,s,o,l,d=e[19]&&un(e),c=e[32].length>0&&jn(e),u=e[22]&&e[16]?.form_question?.title&&kn(e);return{c(){t=Y("video"),i=Y("track"),a=Z(),d&&d.c(),r=Z(),c&&c.c(),n=Z(),s=Y("div"),u&&u.c(),ee(i,"kind","captions"),t.playsInline=!0,ee(t,"webkit-playsinline",""),ee(t,"poster",e[35]),ee(t,"class","h-full w-full object-cover"),ee(s,"class","pointer-events-none absolute inset-x-0 top-0 z-20 bg-gradient-to-b from-black/90 via-black/60 to-transparent opacity-0 transition-opacity"),le(s,"opacity-100",e[22]&&e[16]?.form_question?.title)},m(p,m){W(p,t,m),O(t,i),e[69](t),W(p,a,m),d&&d.m(p,m),W(p,r,m),c&&c.m(p,m),W(p,n,m),W(p,s,m),u&&u.m(s,null),o||(l=[Q(t,"ended",e[51]),Q(t,"play",e[52]),Q(t,"pause",e[53]),Q(t,"timeupdate",e[70]),Q(t,"loadedmetadata",e[71])],o=!0)},p(e,i){16&i[1]&&ee(t,"poster",e[35]),e[19]?d?d.p(e,i):(d=un(e),d.c(),d.m(r.parentNode,r)):d&&(d.d(1),d=null),e[32].length>0?c?c.p(e,i):(c=jn(e),c.c(),c.m(n.parentNode,n)):c&&(c.d(1),c=null),e[22]&&e[16]?.form_question?.title?u?u.p(e,i):(u=kn(e),u.c(),u.m(s,null)):u&&(u.d(1),u=null),4259840&i[0]&&le(s,"opacity-100",e[22]&&e[16]?.form_question?.title)},i:g,o:g,d(i){i&&(H(t),H(a),H(r),H(n),H(s)),e[69](null),d&&d.d(i),c&&c.d(i),u&&u.d(),o=!1,b(l)}}}function sn(e){let t,i,a;return i=new Sa({props:{rating:e[17].review.rating,size:12,color:e[6],strokeWidth:e[7],stroke:e[8]}}),{c(){t=Y("div"),qe(i.$$.fragment),ee(t,"class","mb-1")},m(e,r){W(e,t,r),Ke(i,t,null),a=!0},p(e,t){const a={};131072&t[0]&&(a.rating=e[17].review.rating),64&t[0]&&(a.color=e[6]),128&t[0]&&(a.strokeWidth=e[7]),256&t[0]&&(a.stroke=e[8]),i.$set(a)},i(e){a||(Ge(i.$$.fragment,e),a=!0)},o(e){De(i.$$.fragment,e),a=!1},d(e){e&&H(t),Ze(i)}}}function on(e){let t,i,a=e[17].review.title+"";return{c(){t=Y("div"),i=K(a),ee(t,"class","mb-2 text-base font-semibold text-white")},m(e,a){W(e,t,a),O(t,i)},p(e,t){131072&t[0]&&a!==(a=e[17].review.title+"")&&ne(i,a)},d(e){e&&H(t)}}}function ln(e){let t;return{c(){t=Y("div"),ee(t,"class","w-full")},m(e,i){W(e,t,i)},p:g,d(e){e&&H(t)}}}function dn(e){let t,i,a,r,n=(e[17]?.customer?.name??"Unnamed")+"",s=Oa(e[17]?.review),o=s&&cn(e);return{c(){t=Y("div"),i=Y("div"),a=K(n),r=Z(),o&&o.c(),ee(i,"class","text-xl text-white"),ee(t,"class","w-full text-left text-white")},m(e,n){W(e,t,n),O(t,i),O(i,a),O(t,r),o&&o.m(t,null)},p(e,i){131072&i[0]&&n!==(n=(e[17]?.customer?.name??"Unnamed")+"")&&ne(a,n),131072&i[0]&&(s=Oa(e[17]?.review)),s?o?o.p(e,i):(o=cn(e),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(e){e&&H(t),o&&o.d()}}}function cn(e){let t,i,a=Oa(e[17]?.review)+"";return{c(){t=Y("div"),i=K(a),ee(t,"class","text-sm text-white opacity-80")},m(e,a){W(e,t,a),O(t,i)},p(e,t){131072&t[0]&&a!==(a=Oa(e[17]?.review)+"")&&ne(i,a)},d(e){e&&H(t)}}}function un(e){let t,i,a,r,n,s,o,l,d,c,u,p,m,g,f,h,w,v,y,x,j,A,k=[],$=new Map,S=_n(e[41])+"",_=_n(e[34])+"",T=e[24]&&null!==e[23]&&"compact"!==e[3]&&pn(e),E=We(e[42]);const M=e=>e[101];for(let t=0;t1&&e[42][e[23]].customerName&&mn(e);return{c(){t=Y("div"),c&&c.c(),i=Z(),a=Y("div"),r=K(l),n=Z(),s=Y("div"),o=K(d),ee(a,"class","font-medium"),ee(s,"class","mt-1 text-xs text-gray-300"),ee(t,"class","pointer-events-none absolute z-30 whitespace-nowrap rounded bg-gray-800 px-3 py-2 text-center text-xs font-medium text-white"),oe(t,"top","-75px"),oe(t,"left",e[25]/e[28]*100+"%"),oe(t,"transform","translateX(-50%)")},m(e,l){W(e,t,l),c&&c.m(t,null),O(t,i),O(t,a),O(a,r),O(t,n),O(t,s),O(s,o)},p(e,a){e[18].length>1&&e[42][e[23]].customerName?c?c.p(e,a):(c=mn(e),c.c(),c.m(t,i)):c&&(c.d(1),c=null),8388608&a[0]|2048&a[1]&&l!==(l=e[42][e[23]].title+"")&&ne(r,l),301989888&a[0]|8&a[1]&&d!==(d=_n(e[25]/e[28]*e[34])+"")&&ne(o,d),301989888&a[0]&&oe(t,"left",e[25]/e[28]*100+"%")},d(e){e&&H(t),c&&c.d()}}}function mn(e){let t,i,a=e[42][e[23]].customerName+"";return{c(){t=Y("div"),i=K(a),ee(t,"class","text-xs text-gray-400")},m(e,a){W(e,t,a),O(t,i)},p(e,t){8388608&t[0]|2048&t[1]&&a!==(a=e[42][e[23]].customerName+"")&&ne(i,a)},d(e){e&&H(t)}}}function gn(e,t){let i,a,r;function n(...e){return t[72](t[101],...e)}return{key:e,first:null,c(){i=Y("div"),ee(i,"class","absolute cursor-pointer rounded transition-opacity"),oe(i,"left","calc("+(t[34]>0?t[102].startTime/t[34]*100:0)+"% + "+("compact"===t[3]?"2px":"4px")+")"),oe(i,"width","calc("+(t[34]>0?(t[102].endTime-t[102].startTime)/t[34]*100:0)+"% - "+("compact"===t[3]?"4px":"8px")+")"),oe(i,"background-color",t[11]===t[101]?t[43]:t[43]+"80"),oe(i,"height",t[11]===t[101]?"100%":"50%"),oe(i,"top",t[11]===t[101]?"0":"25%"),this.first=i},m(e,s){W(e,i,s),a||(r=[Q(i,"mouseenter",n),Q(i,"mouseleave",t[73])],a=!0)},p(e,a){t=e,8&a[0]|2056&a[1]&&oe(i,"left","calc("+(t[34]>0?t[102].startTime/t[34]*100:0)+"% + "+("compact"===t[3]?"2px":"4px")+")"),8&a[0]|2056&a[1]&&oe(i,"width","calc("+(t[34]>0?(t[102].endTime-t[102].startTime)/t[34]*100:0)+"% - "+("compact"===t[3]?"4px":"8px")+")"),2048&a[0]|6144&a[1]&&oe(i,"background-color",t[11]===t[101]?t[43]:t[43]+"80"),2048&a[0]|2048&a[1]&&oe(i,"height",t[11]===t[101]?"100%":"50%"),2048&a[0]|2048&a[1]&&oe(i,"top",t[11]===t[101]?"0":"25%")},d(e){e&&H(i),a=!1,b(r)}}}function fn(e){let t,i;return{c(){t=q("svg"),i=q("path"),ee(i,"d","M8 5v14l11-7z"),ee(t,"xmlns","http://www.w3.org/2000/svg"),ee(t,"width","20"),ee(t,"height","20"),ee(t,"viewBox","0 0 24 24"),ee(t,"fill","currentColor"),ee(t,"class","text-white")},m(e,a){W(e,t,a),O(t,i)},d(e){e&&H(t)}}}function hn(e){let t,i;return{c(){t=q("svg"),i=q("path"),ee(i,"d","M6 4h4v16H6V4zm8 0h4v16h-4V4z"),ee(t,"xmlns","http://www.w3.org/2000/svg"),ee(t,"width","20"),ee(t,"height","20"),ee(t,"viewBox","0 0 24 24"),ee(t,"fill","currentColor"),ee(t,"class","text-white")},m(e,a){W(e,t,a),O(t,i)},d(e){e&&H(t)}}}function wn(e){let t,i,a,r,n,s,o,l;function d(e,t){return 0===e[29]||e[30]?yn:e[29]<.5 c='d(e),u=c(e);return{c(){t=Y("div"),i=Y("button"),u.c(),r=Z(),n=Y("input"),ee(i,"class","flex' items-center justify-center rounded p-1 transition-colors hover:bg-gray-700 h-1 cursor-pointer appearance-none rounded-lg bg-gray-600 svelte-l5nmg2 gap-2 vn t bn yn xn subtitles on off jn map l="e=">e[101];for(let t=0;tLoading...
',ee(t,"class","absolute inset-0 flex items-center justify-center bg-black/50 backdrop-blur-sm")},m(e,i){W(e,t,i)},d(e){e&&H(t)}}}function Sn(e){let t,i,a,r;const n=[Jr,Qr],s=[];function o(e,t){return 0===e[15].length?0:1}return i=o(e),a=s[i]=n[i](e),{c(){t=Y("div"),a.c(),ee(t,"class","flex flex-col gap-4")},m(e,a){W(e,t,a),s[i].m(t,null),r=!0},p(e,r){let l=i;i=o(e),i===l?s[i].p(e,r):(Ne(),De(s[l],1,1,()=>{s[l]=null}),Oe(),a=s[i],a?a.p(e,r):(a=s[i]=n[i](e),a.c()),Ge(a,1),a.m(t,null))},i(e){r||(Ge(a),r=!0)},o(e){De(a),r=!1},d(e){e&&H(t),s[i].d()}}}function _n(e){if(!e||isNaN(e))return"0:00";return`${Math.floor(e/60)}:${Math.floor(e%60).toString().padStart(2,"0")}`}function Tn(e,t,i){let a,r,n,s,o,l,d,c,u,p,m,g,f,h,w,v,b,y;k(e,Yr,e=>i(66,y=e));let x,j,{review:A}=t,{reviews:$=[]}=t,{customer:S}=t,{customers:_=[]}=t,{selectedResponseMap:T={}}=t,{brandColors:E=null}=t,{subtitleFontSize:M="text-xl"}=t,{subtitlePosition:C="bottom-[10%]"}=t,{questionOverlayFontSize:z="text-sm md:text-xl lg:text-xl"}=t,{questionOverlayPadding:P="px-4 py-3 md:px-4 md:py-3"}=t,{aspectRatioOverride:L}=t,{showNavigation:I=!0}=t,{volumeControlVariant:B="default"}=t,{showTitle:R=!1}=t,{showRating:N=!1}=t,{ratingColor:O="currentColor"}=t,{ratingStrokeWidth:G}=t,{ratingStroke:D}=t,{showCustomerInfo:F=!1}=t,U=0,W=!1,H=!1,V=null,Y=null,q=!1,K=null,Z=null,X=!1,Q=0,J=0,ee=0,te=!1,ie=0,ae=1,re=!1,ne=1,se=!1,oe=!0,le=[],de=null,ce=!1;function ue(e){return e?.media_asset?function(e){if(!e)return null;const t=function(e){var t,i;const a=null==e?void 0:e.metadata;return(null==a?void 0:a.playback_ids)?null!==(i=null===(t=a.playback_ids.find(e=>"public"===e.policy))||void 0===t?void 0:t.id)&&void 0!==i?i:"":null}(e);return t?`https://stream.mux.com/${t}.m3u8`:null}(e.media_asset)+"?max_resolution=1080p":null}function pe(e){const t=e.currentTarget.getBoundingClientRect();i(25,Q=e.clientX-t.left),i(28,ie=t.width)}function me(e){if(!se)return;const t=e instanceof TouchEvent?e.touches[0]?.clientX:e.clientX;void 0!==t&&function(e){if(!j||!d)return;const t=j.getBoundingClientRect(),a=Math.max(0,Math.min(1,(e-t.left)/t.width))*d;let r=0;for(let e=0;e{i(19,x.currentTime=a-r,x)})):i(19,x.currentTime=a-r,x));r+=t}const n=o.length-1;U!==n&&(i(11,U=n),he(n))}(t)}function ge(){se=!1}async function fe(e){if(e=o.length)return;const t=ue(o[e]);if(t)try{Y&&(Y.destroy(),Y=null);if(Er(document.createElement("video")))return;const e=await _r();e.isSupported()&&(Y=new e,Y.loadSource(t),Y.on(e.Events.ERROR,()=>{Y&&(Y.destroy(),Y=null)}))}catch(e){console.debug("Preload failed:",e)}}async function he(e){if(e=o.length)return;if(i(11,U=e),i(21,H=!0),await Te(),!x)return void i(21,H=!1);const t=ue(o[e]);if(t)if(V&&(V.destroy(),V=null),Er(x))i(19,x.src=t,x),x.load(),i(19,x.onloadedmetadata=async()=>{if(i(21,H=!1),x.duration&&!isNaN(x.duration)&&qr(e,x.duration),W)try{await x.play()}catch(e){console.error("Error playing video:",e)}},x);else{const a=await _r();a.isSupported()?(Y&&Y.url===t?(V=Y,Y=null):(V=new a,V.loadSource(t)),V.attachMedia(x),V.on(a.Events.MANIFEST_PARSED,()=>{i(21,H=!1)}),V.on(a.Events.ERROR,(e,t)=>{console.error("HLS error:",t),i(21,H=!1)}),i(19,x.onloadedmetadata=async()=>{if(x.duration&&!isNaN(x.duration)&&qr(e,x.duration),W)try{await x.play()}catch(e){console.error("Error playing video:",e)}},x)):(console.error("This browser doesn't support HLS"),i(21,H=!1))}else i(21,H=!1)}ve(()=>(document.addEventListener("mousemove",me),document.addEventListener("touchmove",me),document.addEventListener("mouseup",ge),document.addEventListener("touchend",ge),()=>{V&&V.destroy(),Y&&Y.destroy(),K&&clearTimeout(K),de&&clearTimeout(de),document.removeEventListener("mousemove",me),document.removeEventListener("touchmove",me),document.removeEventListener("mouseup",ge),document.removeEventListener("touchend",ge)}));return e.$$set=e=>{"review"in e&&i(54,A=e.review),"reviews"in e&&i(55,$=e.reviews),"customer"in e&&i(56,S=e.customer),"customers"in e&&i(57,_=e.customers),"selectedResponseMap"in e&&i(58,T=e.selectedResponseMap),"brandColors"in e&&i(59,E=e.brandColors),"subtitleFontSize"in e&&i(0,M=e.subtitleFontSize),"subtitlePosition"in e&&i(60,C=e.subtitlePosition),"questionOverlayFontSize"in e&&i(1,z=e.questionOverlayFontSize),"questionOverlayPadding"in e&&i(2,P=e.questionOverlayPadding),"aspectRatioOverride"in e&&i(61,L=e.aspectRatioOverride),"showNavigation"in e&&i(62,I=e.showNavigation),"volumeControlVariant"in e&&i(3,B=e.volumeControlVariant),"showTitle"in e&&i(4,R=e.showTitle),"showRating"in e&&i(5,N=e.showRating),"ratingColor"in e&&i(6,O=e.ratingColor),"ratingStrokeWidth"in e&&i(7,G=e.ratingStrokeWidth),"ratingStroke"in e&&i(8,D=e.ratingStroke),"showCustomerInfo"in e&&i(9,F=e.showCustomerInfo)},e.$$.update=()=>{if(268435456&e.$$.dirty[1]&&i(43,a=E?.find(e=>"primary"===e.name)?.color??"#6701E6"),25165824&e.$$.dirty[1]&&i(65,r=$.length>0?$:A?[A]:[]),100663296&e.$$.dirty[1]&&i(64,n=_.length>0?_:S?[S]:[]),134217728&e.$$.dirty[1]|12&e.$$.dirty[2]&&i(18,s=r.flatMap((e,t)=>{const i=n[t];if(!i)return[];let a=e.form_responses?.filter(t=>{const i="video"===t.type&&t.media_asset;return T[e.id]?.length?i&&T[e.id].includes(t.id):i}).sort((e,t)=>(e.form_question?.order??e.order)-(t.form_question?.order??t.order));return a?.map((a,r)=>({clip:a,review:e,customer:i,reviewIndex:t,clipIndexInReview:r}))??[]})),262144&e.$$.dirty[0]&&i(15,o=s.map(e=>e.clip)),32768&e.$$.dirty[0]&&o.length>0){const e=o.map(e=>e.media_asset?.metadata?.duration??0);Yr.set(e)}if(262144&e.$$.dirty[0]|16&e.$$.dirty[2]&&i(42,l=s.map((e,t)=>({index:t,title:e.clip.form_question?.title||`Clip ${t+1}`,customerName:e.customer.name,startTime:y.slice(0,t).reduce((e,t)=>e+t,0),endTime:y.slice(0,t+1).reduce((e,t)=>e+t,0)}))),16&e.$$.dirty[2]&&i(34,d=y.reduce((e,t)=>e+t,0)),6144&e.$$.dirty[0]|16&e.$$.dirty[2]&&i(41,c=y.slice(0,U).reduce((e,t)=>e+t,0)+J),264192&e.$$.dirty[0]&&i(17,u=s[U]),131072&e.$$.dirty[0]&&i(16,p=u?.clip),e.$$.dirty[0],16384&e.$$.dirty[0]|536870912&e.$$.dirty[1]&&i(40,m=ce?"bottom-2"===C?"bottom-16":"bottom-20":C),65536&e.$$.dirty[0]&&i(63,g=p?function(e){const t=null==e?void 0:e.metadata;if(!t)return 4/3;const i=t.aspect_ratio;if(!i)return 4/3;const[a,r]=i.split(":").map(e=>parseInt(e));return a/r}(p.media_asset):16/9),1073741824&e.$$.dirty[1]|2&e.$$.dirty[2]&&i(39,f=L??g),8&e.$$.dirty[0]&&i(37,w="compact"===B?"h-1 md:h-1.5":"h-2"),8&e.$$.dirty[0]&&i(36,v="compact"===B?"h-4 w-4":"h-5 w-5"),65536&e.$$.dirty[0]&&i(35,b=p?function(e,t){var i,a,r;const n=null==e?void 0:e.metadata;if(!(null==n?void 0:n.playback_ids))return null;const s=null!==(a=null===(i=(Array.isArray(n.playback_ids)?n.playback_ids:[]).find(e=>"public"===e.policy))||void 0===i?void 0:i.id)&&void 0!==a?a:"";if(!s)return null;const o=null==t?void 0:t.animated,l=o?`animated.${null!==(r=null==t?void 0:t.animatedFormat)&&void 0!==r?r:"webp"}`:"thumbnail.jpg",d=new URL(`https://image.mux.com/${s}/${l}`);return(null==t?void 0:t.width)&&d.searchParams.set("width",t.width.toString()),(null==t?void 0:t.fps)&&d.searchParams.set("fps",t.fps.toString()),o&&"number"==typeof(null==t?void 0:t.duration)?(d.searchParams.set("start","0"),d.searchParams.set("end",t.duration.toFixed(3))):!o&&"number"==typeof(null==t?void 0:t.time)&&t.time>=0&&d.searchParams.set("time",t.time.toFixed(3)),d.toString()}(p.media_asset):null),77824&e.$$.dirty[0])if(p?.media_asset?.captions?.words&&oe){const e=p.media_asset.captions.words,t=1e3*(J+(p?.start_time||0)),a=500,r=[];let n=e[0]?.start||0,s=[];e.forEach(e=>{e.start-n>a&&s.length>0&&(r.push({text:s.map(e=>e.text).join(" "),tokens:s}),n=e.start,s=[]),s.push({text:e.text,fromMs:e.start,toMs:e.end})}),s.length>0&&r.push({text:s.map(e=>e.text).join(" "),tokens:s});const o=r.find(e=>e.tokens.length>0&&e.tokens[0].fromMst);o?(i(32,le=o.tokens.map(e=>({text:e.text,active:e.fromMst}))),o.text):i(32,le=[])}else i(32,le=[])},i(38,h="w-20"),[M,z,P,B,R,N,O,G,D,F,async function(){i(11,U=0),i(20,W=!0),await he(0)},U,J,oe,ce,o,p,u,s,x,W,H,q,Z,X,Q,ee,te,ie,ae,re,j,le,de,d,b,v,w,"w-20",f,m,c,l,a,function(e){if(!x||!d)return;const t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width*d;let r=0;for(let e=0;e{i(19,x.currentTime=a-r,x)})):i(19,x.currentTime=a-r,x));r+=t}const n=o.length-1;U!==n&&(i(11,U=n),he(n))},pe,function(){se=!0},async function(){if(!x)return i(20,W=!0),void await he(U);if(W)x.pause();else try{await x.play()}catch(e){console.error("Error playing video:",e)}},function(){x&&(re?(i(19,x.volume=ne,x),i(29,ae=ne),i(30,re=!1)):(ne=ae,i(19,x.volume=0,x),i(29,ae=0),i(30,re=!0)))},function(e){const t=e.target,a=parseFloat(t.value);i(29,ae=a),x&&i(19,x.volume=a,x),i(30,re=0===a)},fe,function(){U{i(22,q=!1)},5e3)},function(){i(20,W=!1)},A,$,S,_,T,E,C,L,I,g,n,r,y,function(t){ye.call(this,e,t)},function(t){ye.call(this,e,t)},function(e){je[e?"unshift":"push"](()=>{x=e,i(19,x)})},()=>{i(12,J=x?.currentTime||0),i(26,ee=x?.duration||0),Yr[U]!==ee&&(Yr[U]=ee),U{fe(U+1),i(33,de=null)},100)))},()=>{i(26,ee=x?.duration||0),Yr[U]!==ee&&(Yr[U]=ee),x&&i(19,x.volume=ae,x)},(e,t)=>{i(23,Z=e),i(24,X=!0),i(25,Q=t.clientX)},()=>{i(23,Z=null),i(24,X=!1)},function(e){je[e?"unshift":"push"](()=>{j=e,i(31,j)})},e=>{pe(e),i(27,te=!0)},()=>i(27,te=!1),function(){ae=function(e){return""===e?null:+e}(this.value),i(29,ae)},()=>i(13,oe=!oe),()=>i(14,ce=!0),()=>i(14,ce=!1)]}class En extends Qe{constructor(e){super(),Xe(this,e,Tn,Sn,x,{review:54,reviews:55,customer:56,customers:57,selectedResponseMap:58,brandColors:59,subtitleFontSize:0,subtitlePosition:60,questionOverlayFontSize:1,questionOverlayPadding:2,aspectRatioOverride:61,showNavigation:62,volumeControlVariant:3,showTitle:4,showRating:5,ratingColor:6,ratingStrokeWidth:7,ratingStroke:8,showCustomerInfo:9,playFromStart:10},Kr,[-1,-1,-1,-1])}get playFromStart(){return this.$$.ctx[10]}}function Mn(e){G(e,"svelte-1dfnct6",".sj-avatar-container.svelte-1dfnct6.svelte-1dfnct6{border-radius:9999px;background-color:rgba(128, 128, 128, 0.14)}.sj-avatar-container.svelte-1dfnct6 img.svelte-1dfnct6{border-radius:9999px;object-fit:cover}.sj-avatar-container.svelte-1dfnct6 img.svelte-1dfnct6:after{display:none}")}function Cn(e){let t,i,a,r,n,s,o,l;return{c(){t=Y("div"),i=Y("img"),oe(i,"width",e[7]+"px"),oe(i,"height",e[7]+"px"),A(i.src,a=e[6])||ee(i,"src",a),ee(i,"alt",r=(e[0]??"")+" avatar"),ee(i,"class",n=z(e[2])+" svelte-1dfnct6"),ee(i,"loading","lazy"),ee(i,"referrerpolicy","no-referrer"),oe(i,"background-image",`url(${e[6]})`),oe(i,"background-size","cover"),ee(t,"class",s="sj-avatar-container "+e[3]+" svelte-1dfnct6")},m(a,r){W(a,t,r),O(t,i),o||(l=[P(e[5].call(null,i)),Q(i,"error",e[17])],o=!0)},p(e,[o]){128&o&&oe(i,"width",e[7]+"px"),128&o&&oe(i,"height",e[7]+"px"),64&o&&!A(i.src,a=e[6])&&ee(i,"src",a),1&o&&r!==(r=(e[0]??"")+" avatar")&&ee(i,"alt",r),4&o&&n!==(n=z(e[2])+" svelte-1dfnct6")&&ee(i,"class",n);const l=128&o;(l||192&o)&&oe(i,"background-image",`url(${e[6]})`),l&&oe(i,"background-size","cover"),8&o&&s!==(s="sj-avatar-container "+e[3]+" svelte-1dfnct6")&&ee(t,"class",s)},i:g,o:g,d(e){e&&H(t),o=!1,b(l)}}}function zn(e,t,i){let a,r,n,s,{src:o}=t,{size:l="40px"}=t,{imageSize:d}=t,{useSize:c=!0}=t,{gravatarHash:u}=t,{fallbackName:p}=t,{fallbackSrc:m}=t,{optimize:g=!0}=t,{lazyload:f=!0}=t,h=40,w=40,v=!1;let{class:b=""}=t,{outerClass:y=""}=t;return e.$$set=e=>{"src"in e&&i(9,o=e.src),"size"in e&&i(8,l=e.size),"imageSize"in e&&i(10,d=e.imageSize),"useSize"in e&&i(11,c=e.useSize),"gravatarHash"in e&&i(12,u=e.gravatarHash),"fallbackName"in e&&i(0,p=e.fallbackName),"fallbackSrc"in e&&i(1,m=e.fallbackSrc),"optimize"in e&&i(13,g=e.optimize),"lazyload"in e&&i(14,f=e.lazyload),"class"in e&&i(2,b=e.class),"outerClass"in e&&i(3,y=e.outerClass)},e.$$.update=()=>{if(256&e.$$.dirty)try{i(8,l=parseInt(`${l}`)),i(15,w=parseInt(`${l}`)),h=1.5*l}catch(e){console.warn("Error parsing size"),h=40}512&e.$$.dirty&&i(16,a=function(e){return e||(u?`https://www.gravatar.com/avatar/${u}?d=mp`:null!=m?m:Bi)}(o)),2304&e.$$.dirty&&i(7,r=c?l:void 0),107520&e.$$.dirty&&i(6,n=g?Je(a,{width:null!=d?d:1.5*w,height:null!=d?d:1.5*w,format:"webp"}):a),16384&e.$$.dirty&&i(5,s=f?Ta:()=>{})},[p,m,b,y,v,s,n,r,l,o,d,c,u,g,f,w,a,e=>{v||(e.target.src=m??Bi,i(4,v=!0))}]}class Pn extends Qe{constructor(e){super(),Xe(this,e,zn,Cn,x,{src:9,size:8,imageSize:10,useSize:11,gravatarHash:12,fallbackName:0,fallbackSrc:1,optimize:13,lazyload:14,class:2,outerClass:3},Mn)}}function Ln(e){G(e,"svelte-6vl4av",".sj-integration-fixed-icon{margin-top:0.25rem /* 4px */;align-self:flex-start}.sj-desc{color:var(--clr-text-lt);font-size:14px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.sj-integration-floating-icon{background:var(--clr-background);position:absolute;bottom:-0.375rem /* -6px */;right:-0.375rem /* -6px */;border-radius:9999px;padding:0.125rem /* 2px */}.sj-desc a:hover{opacity:0.8}.sj-spacer{flex-grow:1}.sj-endorser-view-container{display:flex;width:100%;align-items:center;gap:1rem}.sj-avatar-container{position:relative;flex-shrink:0}.sj-endorser-name{color:var(--clr-text);font-weight:500;font-size:16px;line-height:20px}")}function In(e){let t,i,a,r;i=new Pn({props:{fallbackName:e[9],size:"42px",src:e[10]}});let n=e[3]&&"floating"==e[2]&&Bn(e);return{c(){t=Y("div"),qe(i.$$.fragment),a=Z(),n&&n.c(),ee(t,"class","sj-avatar-container")},m(e,s){W(e,t,s),Ke(i,t,null),O(t,a),n&&n.m(t,null),r=!0},p(e,a){const r={};512&a&&(r.fallbackName=e[9]),1024&a&&(r.src=e[10]),i.$set(r),e[3]&&"floating"==e[2]?n?(n.p(e,a),12&a&&Ge(n,1)):(n=Bn(e),n.c(),Ge(n,1),n.m(t,null)):n&&(Ne(),De(n,1,1,()=>{n=null}),Oe())},i(e){r||(Ge(i.$$.fragment,e),Ge(n),r=!0)},o(e){De(i.$$.fragment,e),De(n),r=!1},d(e){e&&H(t),Ze(i),n&&n.d()}}}function Bn(e){let t,i,a=e[1].integration&&Rn(e);return{c(){a&&a.c(),t=X()},m(e,r){a&&a.m(e,r),W(e,t,r),i=!0},p(e,i){e[1].integration?a?(a.p(e,i),2&i&&Ge(a,1)):(a=Rn(e),a.c(),Ge(a,1),a.m(t.parentNode,t)):a&&(Ne(),De(a,1,1,()=>{a=null}),Oe())},i(e){i||(Ge(a),i=!0)},o(e){De(a),i=!1},d(e){e&&H(t),a&&a.d(e)}}}function Rn(e){let t,i=e[1].url?"a":"span",a=(e[1].url?"a":"span")&&Nn(e);return{c(){t=Y("div"),a&&a.c(),ee(t,"class","sj-integration-floating-icon")},m(e,i){W(e,t,i),a&&a.m(t,null)},p(e,r){e[1].url,i?x(i,e[1].url?"a":"span")?(a.d(1),a=Nn(e),i=e[1].url?"a":"span",a.c(),a.m(t,null)):a.p(e,r):(a=Nn(e),i=e[1].url?"a":"span",a.c(),a.m(t,null))},i:g,o(e){De(a,e)},d(e){e&&H(t),a&&a.d(e)}}}function Nn(e){let t,i,a;i=new Sr({props:{integration:e[1].integration,customPrefs:{twitter:{class:"text-sky-500",size:12},capterra:{class:"p-0.5"},...e[0]},size:14}});let r=[e[11](e[1].url??"")],n={};for(let e=0;e{a=null}),Oe())},i(e){i||(Ge(a),i=!0)},o(e){De(a),i=!1},d(e){e&&H(t),a&&a.d()}}}function Un(e){let t,i=e[1].url?"a":"span",a=(e[1].url?"a":"span")&&Wn(e);return{c(){a&&a.c(),t=X()},m(e,i){a&&a.m(e,i),W(e,t,i)},p(e,r){e[1].url,i?x(i,e[1].url?"a":"span")?(a.d(1),a=Wn(e),i=e[1].url?"a":"span",a.c(),a.m(t.parentNode,t)):a.p(e,r):(a=Wn(e),i=e[1].url?"a":"span",a.c(),a.m(t.parentNode,t))},i:g,o(e){De(a,e)},d(e){e&&H(t),a&&a.d(e)}}}function Wn(e){let t,i,a;i=new Sr({props:{integration:e[1].integration,size:20}});let r=[e[11](e[1].url??"")],n={};for(let e=0;e{m=null}),Oe()),(!p||512&l)&&ne(n,e[9]),(!p||64&l&&s!==(s="sj-endorser-name "+e[6].name))&&ee(r,"class",s),(!p||32&l&&o!==(o=e[5].name))&&ee(r,"style",o),e[8]?g?g.p(e,l):(g=On(e),g.c(),g.m(a,null)):g&&(g.d(1),g=null),e[3]&&"fixed"==e[2]?f?(f.p(e,l),12&l&&Ge(f,1)):(f=Fn(e),f.c(),Ge(f,1),f.m(t,null)):f&&(Ne(),De(f,1,1,()=>{f=null}),Oe())},i(e){p||(Ge(m),Ge(f),p=!0)},o(e){De(m),De(f),p=!1},d(e){e&&H(t),m&&m.d(),g&&g.d(),f&&f.d()}}}function Vn(e,t,i){let a,r,n,s,{review:o}=t,{integrationStyle:l="fixed"}=t,{showIntegration:d=!0}=t,{showAvatar:c=!0}=t;let{styles:u={name:"",title:""}}=t,{classes:p={name:"",title:""}}=t,{integrationCustomPrefs:m={}}=t,{blackAndWhiteIntegration:g=!1}=t;return g&&(m={...m,"*":{style:"filter: brightness(0);"},reddit:{style:"filter: grayscale(1) contrast(100) brightness(1)"},app_store:{style:""},facebook:{style:"filter: grayscale(1) contrast(100) brightness(1)"},g2:{size:28,style:"filter: grayscale(1) contrast(100) brightness(1)"}}),e.$$set=e=>{"review"in e&&i(1,o=e.review),"integrationStyle"in e&&i(2,l=e.integrationStyle),"showIntegration"in e&&i(3,d=e.showIntegration),"showAvatar"in e&&i(4,c=e.showAvatar),"styles"in e&&i(5,u=e.styles),"classes"in e&&i(6,p=e.classes),"integrationCustomPrefs"in e&&i(0,m=e.integrationCustomPrefs),"blackAndWhiteIntegration"in e&&i(12,g=e.blackAndWhiteIntegration)},e.$$.update=()=>{2&e.$$.dirty&&i(10,a=function(e){return e.customer?.avatar}(o)),2&e.$$.dirty&&i(9,r=function(e){return e.customer?.name}(o)),2&e.$$.dirty&&i(8,n=function(e){return Oa(e)}(o)),2&e.$$.dirty&&function(e){e.url}(o),2&e.$$.dirty&&i(7,s=function(e){return e.customer?.url}(o))},[m,o,l,d,c,u,p,s,n,r,a,function(e){return e?{href:e,target:"_blank",rel:"nofollow"}:{}},g,function(t){ye.call(this,e,t)}]}class Yn extends Qe{constructor(e){super(),Xe(this,e,Vn,Hn,x,{review:1,integrationStyle:2,showIntegration:3,showAvatar:4,styles:5,classes:6,integrationCustomPrefs:0,blackAndWhiteIntegration:12},Ln)}}function qn(e){G(e,"svelte-z7v0ch",".sj-card{background-color:var(--clr-background);box-shadow:var(--box-shadow);border-radius:var(--border-radius);box-sizing:border-box;overflow:hidden;position:relative;font-family:var(--font)}.sj-card .sj-card-details{color:var(--clr-text-lt);font-size:0.875rem /* 14px */;line-height:1.25rem /* 20px */}.sj-card .sj-text-card{padding:var(--padding);border-width:var(--border-width);box-shadow:var(--box-shadow);border-color:var(--clr-border);border-radius:var(--border-radius)}.sj-card .sj-video-card{border-radius:var(--border-radius);overflow:hidden;-webkit-mask-image:-webkit-radial-gradient(white, black)}.sj-card .sj-video-card .sj-card-content{border-color:var(--clr-border);border-left-width:var(--border-width);border-right-width:var(--border-width);border-bottom-width:var(--border-width);border-radius:0px 0px var(--border-radius) var(--border-radius)}.sj-card .sj-card-content{display:flex;flex-direction:column;gap:0.5rem}.sj-card .sj-content a{color:var(--clr-primary)}.sj-card .sj-content{font-size:16px;color:var(--clr-text);line-height:24px;letter-spacing:-0.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;white-space:pre-line !important;letter-spacing:-0.025em}.sj-card .sj-card .sj-heart{color:rgb(156 163 175)}.sj-card .sj-card .sj-heart:hover{fill:currentColor;color:rgb(248 113 113)}.sj-card .sj-card-details{align-items:center;font-size:0.875rem /* 14px */;line-height:1.25rem /* 20px */;gap:0.5rem /* 8px */;display:flex}.sj-card .sj-card-spacer{flex-grow:1}.sj-card .sj-card .sj-media{border-radius:0.25rem /* 4px */;width:100%}.sj-card mark{background-color:var(--clr-highlight);color:var(--clr-text);border-radius:0.25rem /* 4px */;padding-left:0.125rem /* 2px */;padding-right:0.125rem /* 2px */}")}function Kn(e){let t,i;return t=new Ai({props:{font:e[1].font}}),t.$on("fontsLoaded",e[27]),{c(){qe(t.$$.fragment)},m(e,a){Ke(t,e,a),i=!0},p(e,i){const a={};2&i[0]&&(a.font=e[1].font),t.$set(a)},i(e){i||(Ge(t.$$.fragment,e),i=!0)},o(e){De(t.$$.fragment,e),i=!1},d(e){Ze(t,e)}}}function Zn(e){let t,i,a,r,n,s,o=!e[22]&&function(e){let t,i,a;return{c(){t=Y("div"),i=Y("img"),ee(i,"class","h-full w-full object-cover opacity-40 blur-md"),A(i.src,a=Ga(e[0]))||ee(i,"src",a),ee(i,"alt",""),ee(t,"class","absolute inset-0")},m(e,a){W(e,t,a),O(t,i)},p(e,t){1&t[0]&&!A(i.src,a=Ga(e[0]))&&ee(i,"src",a)},d(e){e&&H(t)}}}(e);r=new Hr({props:{review:e[0],widgetId:e[2]?.id,containerWidth:e[10],$$slots:{controls:[rs,({loading:e,togglePlay:t,playing:i})=>({34:e,35:t,36:i}),({loading:e,togglePlay:t,playing:i})=>[0,(e?8:0)|(t?16:0)|(i?32:0)]]},$$scope:{ctx:e}}});let l=e[22]&&function(e){let t,i,a,r,n=e[0].title&&e[7]&&ns(e),s=(e[0].html??e[0].text)&&ss(e),o=(e[1].showDetails??!0)&&ls(e);return{c(){t=Y("div"),n&&n.c(),i=Z(),s&&s.c(),a=Z(),o&&o.c(),ee(t,"class","sj-card-content flex-grow text-left"),oe(t,"padding","var(--padding)")},m(e,l){W(e,t,l),n&&n.m(t,null),O(t,i),s&&s.m(t,null),O(t,a),o&&o.m(t,null),r=!0},p(e,r){e[0].title&&e[7]?n?n.p(e,r):(n=ns(e),n.c(),n.m(t,i)):n&&(n.d(1),n=null),e[0].html??e[0].text?s?(s.p(e,r),1&r[0]&&Ge(s,1)):(s=ss(e),s.c(),Ge(s,1),s.m(t,a)):s&&(Ne(),De(s,1,1,()=>{s=null}),Oe()),e[1].showDetails??1?o?o.p(e,r):(o=ls(e),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},i(e){r||(Ge(s),r=!0)},o(e){De(s),r=!1},d(e){e&&H(t),n&&n.d(),s&&s.d(),o&&o.d()}}}(e);return{c(){t=Y("div"),i=Y("div"),o&&o.c(),a=Z(),qe(r.$$.fragment),n=Z(),l&&l.c(),ee(i,"class",_i("bg-black",!e[22]&&"relative flex h-full w-full flex-col justify-center")),ee(t,"class","sj-video-card flex h-full w-full flex-col")},m(e,d){W(e,t,d),O(t,i),o&&o.m(i,null),O(i,a),Ke(r,i,null),O(t,n),l&&l.m(t,null),s=!0},p(e,t){e[22]||o.p(e,t);const i={};1&t[0]&&(i.review=e[0]),4&t[0]&&(i.widgetId=e[2]?.id),1024&t[0]&&(i.containerWidth=e[10]),3&t[0]|112&t[1]&&(i.$$scope={dirty:t,ctx:e}),r.$set(i),e[22]&&l.p(e,t)},i(e){s||(Ge(r.$$.fragment,e),Ge(l),s=!0)},o(e){De(r.$$.fragment,e),De(l),s=!1},d(e){e&&H(t),o&&o.d(),Ze(r),l&&l.d()}}}function Xn(e){let t,i,a,r,n,s,o,l,d,c,u,p,m;a=new Yn({props:{review:e[0],showAvatar:e[18],integrationStyle:"default"==e[1]?.integrationStyle?"fixed":"floating",blackAndWhiteIntegration:e[6]}});let g=e[0].rating&&e[19]&&ds(e),f=e[0].title&&e[7]&&cs(e);l=new Za({props:{text:e[1].readMoreText??"Read more",readLessText:e[1].readLessText??"Read less",enable:e[1].truncate??e[8],maxLines:e[1].maxLines??10,$$slots:{default:[us]},$$scope:{ctx:e}}}),l.$on("readMore",e[28]),l.$on("calculated",e[29]);let h=e[21]&&e[20]?.form_question?.label&&ps(e),w=e[5]&&ms(e),v=(e[1].showDetails??!0)&&vs(e);return{c(){t=Y("div"),i=Y("div"),qe(a.$$.fragment),r=Z(),g&&g.c(),n=Z(),f&&f.c(),s=Z(),o=Y("div"),qe(l.$$.fragment),d=Z(),h&&h.c(),c=Z(),w&&w.c(),u=Z(),v&&v.c(),ee(o,"class","sj-content text-left"),oe(o,"opacity",e[0].title&&e[7]?.9:1),ee(i,"class","sj-card-content h-full"),ee(t,"class",p="sj-text-card sj-endorser-layout-"+e[1].layout+" h-full")},m(e,p){W(e,t,p),O(t,i),Ke(a,i,null),O(i,r),g&&g.m(i,null),O(i,n),f&&f.m(i,null),O(i,s),O(i,o),Ke(l,o,null),O(i,d),h&&h.m(i,null),O(i,c),w&&w.m(i,null),O(i,u),v&&v.m(i,null),m=!0},p(e,r){const d={};1&r[0]&&(d.review=e[0]),2&r[0]&&(d.integrationStyle="default"==e[1]?.integrationStyle?"fixed":"floating"),64&r[0]&&(d.blackAndWhiteIntegration=e[6]),a.$set(d),e[0].rating&&e[19]?g?(g.p(e,r),1&r[0]&&Ge(g,1)):(g=ds(e),g.c(),Ge(g,1),g.m(i,n)):g&&(Ne(),De(g,1,1,()=>{g=null}),Oe()),e[0].title&&e[7]?f?f.p(e,r):(f=cs(e),f.c(),f.m(i,s)):f&&(f.d(1),f=null);const c={};2&r[0]&&(c.text=e[1].readMoreText??"Read more"),2&r[0]&&(c.readLessText=e[1].readLessText??"Read less"),258&r[0]&&(c.enable=e[1].truncate??e[8]),2&r[0]&&(c.maxLines=e[1].maxLines??10),65536&r[0]|64&r[1]&&(c.$$scope={dirty:r,ctx:e}),l.$set(c),129&r[0]&&oe(o,"opacity",e[0].title&&e[7]?.9:1),e[21]&&e[20]?.form_question?.label&&h.p(e,r),e[5]?w?(w.p(e,r),32&r[0]&&Ge(w,1)):(w=ms(e),w.c(),Ge(w,1),w.m(i,u)):w&&(Ne(),De(w,1,1,()=>{w=null}),Oe()),e[1].showDetails??1?v?(v.p(e,r),2&r[0]&&Ge(v,1)):(v=vs(e),v.c(),Ge(v,1),v.m(i,null)):v&&(Ne(),De(v,1,1,()=>{v=null}),Oe()),(!m||2&r[0]&&p!==(p="sj-text-card sj-endorser-layout-"+e[1].layout+" h-full"))&&ee(t,"class",p)},i(e){m||(Ge(a.$$.fragment,e),Ge(g),Ge(l.$$.fragment,e),Ge(w),Ge(v),m=!0)},o(e){De(a.$$.fragment,e),De(g),De(l.$$.fragment,e),De(w),De(v),m=!1},d(e){e&&H(t),Ze(a),g&&g.d(),f&&f.d(),Ze(l),h&&h.d(),w&&w.d(),v&&v.d()}}}function Qn(e){let t,i,a;return i=new En({props:{review:e[0],customer:e[0].customer,showNavigation:!e[1].truncate,questionOverlayPadding:"px-2 py-1.5 md:px-3 md:py-2",questionOverlayFontSize:"text-xs md:text-sm",aspectRatioOverride:e[11],showTitle:e[1].showTitles,showRating:e[1].showRating,ratingColor:"var(--clr-rating)",ratingStrokeWidth:e[1].colors?.ratingStroke?12:void 0,ratingStroke:e[1].colors?.ratingStroke??"currentColor"}}),{c(){t=Y("div"),qe(i.$$.fragment),ee(t,"class","w-full bg-black"),oe(t,"aspect-ratio",e[11]??void 0)},m(e,r){W(e,t,r),Ke(i,t,null),a=!0},p(e,a){const r={};1&a[0]&&(r.review=e[0]),1&a[0]&&(r.customer=e[0].customer),2&a[0]&&(r.showNavigation=!e[1].truncate),2048&a[0]&&(r.aspectRatioOverride=e[11]),2&a[0]&&(r.showTitle=e[1].showTitles),2&a[0]&&(r.showRating=e[1].showRating),2&a[0]&&(r.ratingStrokeWidth=e[1].colors?.ratingStroke?12:void 0),2&a[0]&&(r.ratingStroke=e[1].colors?.ratingStroke??"currentColor"),i.$set(r),2048&a[0]&&oe(t,"aspect-ratio",e[11]??void 0)},i(e){a||(Ge(i.$$.fragment,e),a=!0)},o(e){De(i.$$.fragment,e),a=!1},d(e){e&&H(t),Ze(i)}}}function Jn(e){let t,i,a;return i=new Sa({props:{rating:e[0].rating,size:12,color:"var(--clr-rating)",strokeWidth:e[1].colors?.ratingStroke?12:0,stroke:e[1].colors?.ratingStroke??"currentColor"}}),{c(){t=Y("div"),qe(i.$$.fragment),ee(t,"class","mb-1")},m(e,r){W(e,t,r),Ke(i,t,null),a=!0},p(e,t){const a={};1&t[0]&&(a.rating=e[0].rating),2&t[0]&&(a.strokeWidth=e[1].colors?.ratingStroke?12:0),2&t[0]&&(a.stroke=e[1].colors?.ratingStroke??"currentColor"),i.$set(a)},i(e){a||(Ge(i.$$.fragment,e),a=!0)},o(e){De(i.$$.fragment,e),a=!1},d(e){e&&H(t),Ze(i)}}}function es(e){let t,i;return t=new la({props:{tag:"a",condition:!!e[0].url,href:e[0].url,$$slots:{default:[ts]},$$scope:{ctx:e}}}),{c(){qe(t.$$.fragment)},m(e,a){Ke(t,e,a),i=!0},p(e,i){const a={};1&i[0]&&(a.condition=!!e[0].url),1&i[0]&&(a.href=e[0].url),1&i[0]|64&i[1]&&(a.$$scope={dirty:i,ctx:e}),t.$set(a)},i(e){i||(Ge(t.$$.fragment,e),i=!0)},o(e){De(t.$$.fragment,e),i=!1},d(e){Ze(t,e)}}}function ts(e){let t,i,a=Oa(e[0])+"";return{c(){t=Y("div"),i=K(a),ee(t,"class","text-sm text-white opacity-80")},m(e,a){W(e,t,a),O(t,i)},p(e,t){1&t[0]&&a!==(a=Oa(e[0])+"")&&ne(i,a)},d(e){e&&H(t)}}}function is(e){let t,i;return t=new rt({props:{data:ht,fill:"currentColor",class:"h-6 w-6"}}),{c(){qe(t.$$.fragment)},m(e,a){Ke(t,e,a),i=!0},i(e){i||(Ge(t.$$.fragment,e),i=!0)},o(e){De(t.$$.fragment,e),i=!1},d(e){Ze(t,e)}}}function as(e){let t,i;return t=new rt({props:{data:nt,fill:"currentColor",class:"h-6 w-6"}}),{c(){qe(t.$$.fragment)},m(e,a){Ke(t,e,a),i=!0},i(e){i||(Ge(t.$$.fragment,e),i=!0)},o(e){De(t.$$.fragment,e),i=!1},d(e){Ze(t,e)}}}function rs(e){let t,i,a,r,n,s,o,l,d,c,u,p,m,g,f,h,w,v=e[0].customer?.name+"",b=Oa(e[0]),x=e[0].rating&&e[19]&&Jn(e),j=b&&es(e);const A=[as,is],k=[];function $(e,t){return e[36]?0:1}return p=$(e),m=k[p]=A[p](e),{c(){t=Y("div"),i=Y("div"),a=Y("div"),x&&x.c(),r=Z(),n=Y("div"),s=K(v),o=Z(),j&&j.c(),l=Z(),d=Y("div"),c=Z(),u=Y("button"),m.c(),ee(n,"class","text-xl text-white"),ee(a,"class","text-white"),ee(d,"class","flex-grow"),ee(u,"aria-label",g=e[36]?"Pause":"Play"),ee(u,"aria-live","polite"),ee(u,"class","rounded p-1 text-white duration-200 hover:bg-white/20"),ee(i,"class","flex items-center gap-2"),ee(t,"slot","controls"),ee(t,"class","relative flex h-full w-full flex-col justify-end px-4 pb-4")},m(m,g){W(m,t,g),O(t,i),O(i,a),x&&x.m(a,null),O(a,r),O(a,n),O(n,s),O(a,o),j&&j.m(a,null),O(i,l),O(i,d),O(i,c),O(i,u),k[p].m(u,null),f=!0,h||(w=Q(u,"click",J(function(){y(e[35])&&e[35].apply(this,arguments)})),h=!0)},p(t,i){(e=t)[0].rating&&e[19]?x?(x.p(e,i),1&i[0]&&Ge(x,1)):(x=Jn(e),x.c(),Ge(x,1),x.m(a,r)):x&&(Ne(),De(x,1,1,()=>{x=null}),Oe()),(!f||1&i[0])&&v!==(v=e[0].customer?.name+"")&&ne(s,v),1&i[0]&&(b=Oa(e[0])),b?j?(j.p(e,i),1&i[0]&&Ge(j,1)):(j=es(e),j.c(),Ge(j,1),j.m(a,null)):j&&(Ne(),De(j,1,1,()=>{j=null}),Oe());let n=p;p=$(e),p!==n&&(Ne(),De(k[n],1,1,()=>{k[n]=null}),Oe(),m=k[p],m||(m=k[p]=A[p](e),m.c()),Ge(m,1),m.m(u,null)),(!f||32&i[1]&&g!==(g=e[36]?"Pause":"Play"))&&ee(u,"aria-label",g)},i(e){f||(Ge(x),Ge(j),Ge(m),f=!0)},o(e){De(x),De(j),De(m),f=!1},d(e){e&&H(t),x&&x.d(),j&&j.d(),k[p].d(),h=!1,w()}}}function ns(e){let t,i,a,r=e[0].title+"";return{c(){t=Y("div"),i=Y("h3"),a=K(r),ee(i,"class","sj-title text-base font-semibold tracking-tight"),oe(i,"color","var(--clr-text)")},m(e,r){W(e,t,r),O(t,i),O(i,a)},p(e,t){1&t[0]&&r!==(r=e[0].title+"")&&ne(a,r)},d(e){e&&H(t)}}}function ss(e){let t,i,a;return i=new Za({props:{text:e[1].readMoreText??"Read more",readLessText:e[1].readLessText??"Read less",enable:e[1].truncate??e[8],maxLines:e[1].maxLines??10,$$slots:{default:[os]},$$scope:{ctx:e}}}),i.$on("readMore",e[33]),{c(){t=Y("div"),qe(i.$$.fragment),ee(t,"class","sj-content")},m(e,r){W(e,t,r),Ke(i,t,null),a=!0},p(e,t){const a={};2&t[0]&&(a.text=e[1].readMoreText??"Read more"),2&t[0]&&(a.readLessText=e[1].readLessText??"Read less"),258&t[0]&&(a.enable=e[1].truncate??e[8]),2&t[0]&&(a.maxLines=e[1].maxLines??10),1&t[0]|64&t[1]&&(a.$$scope={dirty:t,ctx:e}),i.$set(a)},i(e){a||(Ge(i.$$.fragment,e),a=!0)},o(e){De(i.$$.fragment,e),a=!1},d(e){e&&H(t),Ze(i)}}}function os(e){let t,i,a=(e[0].html??e[0].text)+"";return{c(){t=new ce(!1),i=X(),t.a=i},m(e,r){t.m(a,e,r),W(e,i,r)},p(e,i){1&i[0]&&a!==(a=(e[0].html??e[0].text)+"")&&t.p(a)},d(e){e&&(H(i),t.d())}}}function ls(e){let t,i,a,r,n,s=As(e[0].date??"")+"";return{c(){t=Y("div"),i=Y("div"),a=K(s),r=Z(),n=Y("div"),oe(i,"opacity","70%"),ee(n,"class","flex-grow"),ee(t,"class","sj-card-details sj-sub mt-auto")},m(e,s){W(e,t,s),O(t,i),O(i,a),O(t,r),O(t,n)},p(e,t){1&t[0]&&s!==(s=As(e[0].date??"")+"")&&ne(a,s)},d(e){e&&H(t)}}}function ds(e){let t,i,a;return i=new Sa({props:{rating:e[0].rating,color:"var(--clr-rating)",strokeWidth:e[1].colors?.ratingStroke?12:0,stroke:e[1].colors?.ratingStroke??"currentColor"}}),{c(){t=Y("div"),qe(i.$$.fragment),ee(t,"class","my-1")},m(e,r){W(e,t,r),Ke(i,t,null),a=!0},p(e,t){const a={};1&t[0]&&(a.rating=e[0].rating),2&t[0]&&(a.strokeWidth=e[1].colors?.ratingStroke?12:0),2&t[0]&&(a.stroke=e[1].colors?.ratingStroke??"currentColor"),i.$set(a)},i(e){a||(Ge(i.$$.fragment,e),a=!0)},o(e){De(i.$$.fragment,e),a=!1},d(e){e&&H(t),Ze(i)}}}function cs(e){let t,i,a,r=e[0].title+"";return{c(){t=Y("div"),i=Y("h3"),a=K(r),ee(i,"class","sj-title text-base font-semibold tracking-tight"),oe(i,"color","var(--clr-text)")},m(e,r){W(e,t,r),O(t,i),O(i,a)},p(e,t){1&t[0]&&r!==(r=e[0].title+"")&&ne(a,r)},d(e){e&&H(t)}}}function us(e){let t,i;return{c(){t=new ce(!1),i=X(),t.a=i},m(a,r){t.m(e[16],a,r),W(a,i,r)},p(e,i){65536&i[0]&&t.p(e[16])},d(e){e&&(H(i),t.d())}}}function ps(e){let t,i;return{c(){t=Y("div"),i=Y("strong"),i.textContent=`${e[20].form_question.label}`,ee(t,"class","sj-form-question-label mb-2 mt-2 text-xs opacity-60")},m(e,a){W(e,t,a),O(t,i)},p:g,d(e){e&&H(t)}}}function ms(e){let t,i,a=e[12].length>0&&(e[1].includeAttachments??!0)&&gs(e);return{c(){a&&a.c(),t=X()},m(e,r){a&&a.m(e,r),W(e,t,r),i=!0},p(e,i){e[12].length>0&&(e[1].includeAttachments??1)?a?(a.p(e,i),4098&i[0]&&Ge(a,1)):(a=gs(e),a.c(),Ge(a,1),a.m(t.parentNode,t)):a&&(Ne(),De(a,1,1,()=>{a=null}),Oe())},i(e){i||(Ge(a),i=!0)},o(e){De(a),i=!1},d(e){e&&H(t),a&&a.d(e)}}}function gs(e){let t,i,a,r;const n=[ws,hs,fs],s=[];function o(e,t){return 1===e[15].length?0:e[15].length>1?1:"video"==e[14].type?2:-1}return~(i=o(e))&&(a=s[i]=n[i](e)),{c(){t=Y("div"),a&&a.c(),oe(t,"border-radius","calc(var(--border-radius) * 0.4)"),ee(t,"class","sj-attachment-container overflow-hidden")},m(e,a){W(e,t,a),~i&&s[i].m(t,null),r=!0},p(e,r){let l=i;i=o(e),i===l?~i&&s[i].p(e,r):(a&&(Ne(),De(s[l],1,1,()=>{s[l]=null}),Oe()),~i?(a=s[i],a?a.p(e,r):(a=s[i]=n[i](e),a.c()),Ge(a,1),a.m(t,null)):a=null)},i(e){r||(Ge(a),r=!0)},o(e){De(a),r=!1},d(e){e&&H(t),~i&&s[i].d()}}}function fs(e){let t,i;return{c(){t=Y("video"),t.controls=!0,ee(t,"class","sj-media"),A(t.src,i=e[14].url)||ee(t,"src",i)},m(e,i){W(e,t,i)},p(e,a){16384&a[0]&&!A(t.src,i=e[14].url)&&ee(t,"src",i)},i:g,o:g,d(e){e&&H(t)}}}function hs(e){let t,i;return t=new Ra({props:{images:e[15].map(e[31]),onLoad:e[32]}}),{c(){qe(t.$$.fragment)},m(e,a){Ke(t,e,a),i=!0},p(e,i){const a={};49152&i[0]&&(a.images=e[15].map(e[31])),t.$set(a)},i(e){i||(Ge(t.$$.fragment,e),i=!0)},o(e){De(t.$$.fragment,e),i=!1},d(e){Ze(t,e)}}}function ws(e){let t,i,a,r,n;return{c(){t=Y("img"),ee(t,"loading","lazy"),ee(t,"class","sj-media"),A(t.src,i=Je(e[14].url,{width:500}))||ee(t,"src",i),ee(t,"alt",a=e[14].alt)},m(i,a){W(i,t,a),r||(n=P(Ta.call(null,t,{onLoad:e[30]})),r=!0)},p(e,r){16384&r[0]&&!A(t.src,i=Je(e[14].url,{width:500}))&&ee(t,"src",i),16384&r[0]&&a!==(a=e[14].alt)&&ee(t,"alt",a)},i:g,o:g,d(e){e&&H(t),r=!1,n()}}}function vs(e){let t,i,a,r,n,s,o,l=As(e[0].date??"")+"",d="twitter"===e[0].integration&&bs(e);return{c(){t=Y("div"),d&&d.c(),i=Z(),a=Y("div"),r=K(l),n=Z(),s=Y("div"),oe(a,"opacity","70%"),ee(s,"class","flex-grow"),ee(t,"class","sj-card-details sj-sub mt-auto")},m(e,l){W(e,t,l),d&&d.m(t,null),O(t,i),O(t,a),O(a,r),O(t,n),O(t,s),o=!0},p(e,a){"twitter"===e[0].integration?d?(d.p(e,a),1&a[0]&&Ge(d,1)):(d=bs(e),d.c(),Ge(d,1),d.m(t,i)):d&&(Ne(),De(d,1,1,()=>{d=null}),Oe()),(!o||1&a[0])&&l!==(l=As(e[0].date??"")+"")&&ne(r,l)},i(e){o||(Ge(d),o=!0)},o(e){De(d),o=!1},d(e){e&&H(t),d&&d.d()}}}function bs(e){let t,i,a,r,n,s;i=new rt({props:{data:ut,class:"sj-heart",size:16}});let o=e[0]?.vanity_metrics?.likes&&ys(e);return{c(){t=Y("a"),qe(i.$$.fragment),r=Z(),o&&o.c(),n=X(),ee(t,"href",a=e[0].url),ee(t,"target","_blank"),oe(t,"opacity","70%")},m(e,a){W(e,t,a),Ke(i,t,null),W(e,r,a),o&&o.m(e,a),W(e,n,a),s=!0},p(e,i){(!s||1&i[0]&&a!==(a=e[0].url))&&ee(t,"href",a),e[0]?.vanity_metrics?.likes?o?o.p(e,i):(o=ys(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},i(e){s||(Ge(i.$$.fragment,e),s=!0)},o(e){De(i.$$.fragment,e),s=!1},d(e){e&&(H(t),H(r),H(n)),Ze(i),o&&o.d(e)}}}function ys(e){let t,i,a=e[0]?.vanity_metrics?.likes+"";return{c(){t=Y("div"),i=K(a),oe(t,"opacity","70%")},m(e,a){W(e,t,a),O(t,i)},p(e,t){1&t[0]&&a!==(a=e[0]?.vanity_metrics?.likes+"")&&ne(i,a)},d(e){e&&H(t)}}}function xs(e){let t,i,a;return i=new Pi({props:{design:e[1]}}),{c(){t=Y("div"),qe(i.$$.fragment),ee(t,"class","mt-2")},m(e,r){W(e,t,r),Ke(i,t,null),a=!0},p(e,t){const a={};2&t[0]&&(a.design=e[1]),i.$set(a)},i(e){a||(Ge(i.$$.fragment,e),a=!0)},o(e){De(i.$$.fragment,e),a=!1},d(e){e&&H(t),Ze(i)}}}function js(e){let t,i,a,r,n,s,o,l,d,c,u=!e[9]&&Kn(e);const p=[Qn,Xn,Zn],m=[];function g(e,t){return e[13]?0:"text"===e[0].type?1:2}r=g(e),n=m[r]=p[r](e);let f=e[3]&&xs(e);return{c(){u&&u.c(),t=Z(),i=Y("div"),a=Y("div"),n.c(),l=Z(),f&&f.c(),ee(a,"class",s="sj-card text-left "+(e[4]?"h-full":"")),ee(a,"style",o=e[9]?"":ia(e[1])),ee(i,"class",d=e[4]?"h-full w-full":"")},m(e,n){u&&u.m(e,n),W(e,t,n),W(e,i,n),O(i,a),m[r].m(a,null),O(i,l),f&&f.m(i,null),c=!0},p(e,l){e[9]?u&&(Ne(),De(u,1,1,()=>{u=null}),Oe()):u?(u.p(e,l),512&l[0]&&Ge(u,1)):(u=Kn(e),u.c(),Ge(u,1),u.m(t.parentNode,t));let h=r;r=g(e),r===h?m[r].p(e,l):(Ne(),De(m[h],1,1,()=>{m[h]=null}),Oe(),n=m[r],n?n.p(e,l):(n=m[r]=p[r](e),n.c()),Ge(n,1),n.m(a,null)),(!c||16&l[0]&&s!==(s="sj-card text-left "+(e[4]?"h-full":"")))&&ee(a,"class",s),(!c||514&l[0]&&o!==(o=e[9]?"":ia(e[1])))&&ee(a,"style",o),e[3]?f?(f.p(e,l),8&l[0]&&Ge(f,1)):(f=xs(e),f.c(),Ge(f,1),f.m(i,null)):f&&(Ne(),De(f,1,1,()=>{f=null}),Oe()),(!c||16&l[0]&&d!==(d=e[4]?"h-full w-full":""))&&ee(i,"class",d)},i(e){c||(Ge(u),Ge(n),Ge(f),c=!0)},o(e){De(u),De(n),De(f),c=!1},d(e){e&&(H(t),H(i)),u&&u.d(e),m[r].d(),f&&f.d()}}}function As(e){return new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function ks(e,t,i){let a,r,n,s,o,l,d,c,{review:u}=t,{design:p}=t,{widget:m}=t,{showAttribution:g=!0}=t,{fillHeight:f=!0}=t,{showAttachments:h=p.showAttachments??!0}=t,{blackAndWhiteIntegration:w=!1}=t,{showTitles:v=p.showTitles??!1}=t,{enableTruncation:b=!1}=t,{externalStyles:y=!1}=t,{containerWidth:x}=t,{multipartFilter:j}=t,{multiClipAspectRatio:A}=t;const k=be();let $=p.showAvatar??!0,S=p.showRating??!0;const _=u?._formResponseData,T=!!u?._formResponseId;let E="video"==u.type&&(u.html||u.text||"").trim().length>0&&(p.showVideoExcerpts??!0);return e.$$set=e=>{"review"in e&&i(0,u=e.review),"design"in e&&i(1,p=e.design),"widget"in e&&i(2,m=e.widget),"showAttribution"in e&&i(3,g=e.showAttribution),"fillHeight"in e&&i(4,f=e.fillHeight),"showAttachments"in e&&i(5,h=e.showAttachments),"blackAndWhiteIntegration"in e&&i(6,w=e.blackAndWhiteIntegration),"showTitles"in e&&i(7,v=e.showTitles),"enableTruncation"in e&&i(8,b=e.enableTruncation),"externalStyles"in e&&i(9,y=e.externalStyles),"containerWidth"in e&&i(10,x=e.containerWidth),"multipartFilter"in e&&i(23,j=e.multipartFilter),"multiClipAspectRatio"in e&&i(11,A=e.multiClipAspectRatio)},e.$$.update=()=>{1&e.$$.dirty[0]&&i(16,a=_?.text??u.html??u.text),1&e.$$.dirty[0]&&i(26,r=_?.media??u.media??[]),67108864&e.$$.dirty[0]&&i(12,n=r),4096&e.$$.dirty[0]&&i(15,s=n.filter(e=>"image"===e.type).map(e=>e.url)),4096&e.$$.dirty[0]&&i(14,o=(n??[])[0]),1&e.$$.dirty[0]&&i(24,l=u.form_responses?.filter(e=>"video"===e.type)??[]),8388612&e.$$.dirty[0]&&i(25,d=j??m?.filters?.multipart_filter),50331648&e.$$.dirty[0]&&i(13,c="multiclip"===d&&l.length>=2)},[u,p,m,g,f,h,w,v,b,y,x,A,n,c,o,s,a,k,$,S,_,T,E,j,l,d,r,()=>k("relayoutRequested"),()=>k("relayoutRequested"),()=>k("relayoutRequested"),()=>k("relayoutRequested"),e=>({url:e,alt:o.alt??""}),()=>k("relayoutRequested"),()=>k("relayoutRequested")]}class $s extends Qe{constructor(e){super(),Xe(this,e,ks,js,x,{review:0,design:1,widget:2,showAttribution:3,fillHeight:4,showAttachments:5,blackAndWhiteIntegration:6,showTitles:7,enableTruncation:8,externalStyles:9,containerWidth:10,multipartFilter:23,multiClipAspectRatio:11},qn,[-1,-1])}}function Ss(e){G(e,"svelte-bupeps",".sj-card-carousel .swiper-c{display:flex;flex-direction:row;justify-content:center;align-items:center}.sj-card-carousel .sj-swiper-nav{padding:4px;border-radius:999px;background-color:rgba(180, 180, 180, 0.5)}.sj-card-carousel .arrow{padding:8px;border-radius:999px;background-color:rgba(100, 100, 100, 0.5);@apply text-white shadow-md duration-200;}.sj-card-carousel .glide__bullet{@apply bg-gray-900;;transition:all 250ms ease-in-out;opacity:20%}.sj-card-carousel .glide__bullet--active{opacity:60%;transform:scale(1.2)}")}function _s(e,t,i){const a=e.slice();a[16]=t[i],a[19]=i;const r=function(e){const t="solid"==e.shadowStyle,i=e.shadow;let a=0,r=0;return i||(a=0),"sm"==i&&(a=2),"md"==i&&(a=4),"lg"==i&&(a=t?6:8),"xl"==i&&(a=t?8:16),"sm"!=i||t||(r=2),"md"!=i||t||(r=4),"lg"!=i||t||(r=6),"xl"!=i||t||(r=16),{paddingRight:a,paddingLeft:r}}(a[0].card);return a[17]=r,a}function Ts(e){let t,i,a,r,n,s,o=e[6]&&Ms(e),l=e[0].showArrows&&Ps(e);return{c(){t=Y("div"),i=Y("div"),a=Y("div"),o&&o.c(),r=Z(),l&&l.c(),ee(a,"class","swiper-wrapper w-full overflow-visible"),ee(i,"class","swiper w-full"),ee(t,"class",n="relative w-full "+(e[0].showArrows?"px-2":"px-0"))},m(n,d){W(n,t,d),O(t,i),O(i,a),o&&o.m(a,null),e[11](i),O(t,r),l&&l.m(t,null),s=!0},p(e,i){e[6]?o?(o.p(e,i),64&i&&Ge(o,1)):(o=Ms(e),o.c(),Ge(o,1),o.m(a,null)):o&&(Ne(),De(o,1,1,()=>{o=null}),Oe()),e[0].showArrows?l?(l.p(e,i),1&i&&Ge(l,1)):(l=Ps(e),l.c(),Ge(l,1),l.m(t,null)):l&&(Ne(),De(l,1,1,()=>{l=null}),Oe()),(!s||1&i&&n!==(n="relative w-full "+(e[0].showArrows?"px-2":"px-0")))&&ee(t,"class",n)},i(e){s||(Ge(o),Ge(l),s=!0)},o(e){De(o),De(l),s=!1},d(i){i&&H(t),o&&o.d(),e[11](null),l&&l.d()}}}function Es(e){let t,i;return t=new $s({props:{enableTruncation:!0,review:e[2][0],design:e[0].card,widget:e[1],externalStyles:!0,showAttribution:!1}}),{c(){qe(t.$$.fragment)},m(e,a){Ke(t,e,a),i=!0},p(e,i){const a={};4&i&&(a.review=e[2][0]),1&i&&(a.design=e[0].card),2&i&&(a.widget=e[1]),t.$set(a)},i(e){i||(Ge(t.$$.fragment,e),i=!0)},o(e){De(t.$$.fragment,e),i=!1},d(e){Ze(t,e)}}}function Ms(e){let t,i,a=We(e[6].slides),r=[];for(let t=0;tDe(r[e],1,1,()=>{r[e]=null});return{c(){for(let e=0;e{p[d]=null}),Oe(),n=p[r],n?n.p(e,i):(n=p[r]=u[r](e),n.c()),Ge(n,1),n.m(a,null)),(!c||1&i&&s!==(s=ia(e[0].card)))&&ee(a,"style",s),e[3]?g?(g.p(e,i),8&i&&Ge(g,1)):(g=Ls(e),g.c(),Ge(g,1),g.m(l.parentNode,l)):g&&(Ne(),De(g,1,1,()=>{g=null}),Oe())},i(e){c||(Ge(t.$$.fragment,e),Ge(n),Ge(g),Ge(d.$$.fragment,e),c=!0)},o(e){De(t.$$.fragment,e),De(n),De(g),De(d.$$.fragment,e),c=!1},d(n){n&&(H(i),H(a),H(o),H(l)),Ze(t,n),p[r].d(),e[12](null),g&&g.d(n),Ze(d,n)}}}function Bs(e,t,i){let a,r,n,{design:s}=t,{widget:o}=t,{reviews:l}=t,{showAttribution:d=!0}=t,c=null;function u(){const e={312:{slidesPerView:1},540:{slidesPerView:2},840:{slidesPerView:3},1280:{slidesPerView:4}};3===l.length?delete e[1280]:2==l.length&&(delete e[840],delete e[1280]);const t=s.maxColumns??4;for(let i in e)e[i].slidesPerView>t&&(e[i].slidesPerView=t);return e}function p(){if(!s.autoplay)return;const e=s.autoplaySpeed??0;return e>1e3?e:1e3*e}ve(()=>{vi.use([yi,bi]),c=new vi(r,{initialSlide:0,spaceBetween:16,slideVisibleClass:"sj-swiper-visible",autoplay:s.autoplay?{delay:p()}:void 0,breakpointsBase:"container",breakpoints:u(),virtual:{enabled:!0,slides:l,addSlidesAfter:6,addSlidesBefore:6,renderExternal:e=>{i(6,n=e)}}}),i(8,g=c.isBeginning),i(7,m=c.isEnd),c.on("slideChange",e=>{i(8,g=e.isBeginning),i(7,m=e.isEnd)}),requestAnimationFrame(()=>{c.update()})});let m=!1,g=!0;return e.$$set=e=>{"design"in e&&i(0,s=e.design),"widget"in e&&i(1,o=e.widget),"reviews"in e&&i(2,l=e.reviews),"showAttribution"in e&&i(3,d=e.showAttribution)},[s,o,l,d,a,r,n,m,g,function(){c?.slideNext()},function(){c?.slidePrev()},function(e){je[e?"unshift":"push"](()=>{r=e,i(5,r)})},function(e){je[e?"unshift":"push"](()=>{a=e,i(4,a)})}]}class Rs extends Qe{constructor(e){super(),Xe(this,e,Bs,Is,x,{design:0,widget:1,reviews:2,showAttribution:3},Ss)}}u("card_carousel",(e,t)=>{new Rs({target:e,props:t})})}(),(()=>{const e={id:"9b710a3b-a570-4b75-9912-6c375d01d9ce",config:{design:{card:{font:"DM Sans",type:"card",border:!0,colors:{text:"#ffffff",border:"#9b93df",rating:"#FBBF24",shadow:"#cccccc",primary:"#6701e6",background:"#5a4ac8",ratingStroke:"#5a4ac8"},layout:"default",shadow:"sm",maxLines:6,truncate:!0,showTitles:!0,borderWidth:1,showDetails:!0,borderRadius:"xl",readMoreText:"Read more",integrationStyle:"default"},type:"card_carousel",autoplay:!0,maxColumns:4,showArrows:!0,autoplaySpeed:6},version:"v2",fallbackAvatar:{type:"initials",colors:[{text:null,background:"#4c2db8"}],useGravatar:!0},targetLocation:"global",showAttribution:!1},filters:{type:"approved",languages:["en"]},name:"Home ENG Main",project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",source:"pinned",source_collection_id:null,testimonial_arrangement:{sort:"date",order:{direction:"desc"}},type:"v2.0",updated_at:"2026-01-04 08:12:07.365059+00",project:{config:{logo:"https://asset.brandfetch.io/idAsIaW8R3/idUZfi99GY.png",brandKit:{fonts:[{id:"0080f312-4d97-4d59-9a62-b6cf11932117",value:"Poppins"}],colors:[{id:"c1ad5442-edd4-4302-bd15-c7acd53b75a2",type:"primary",value:"#4C2DB8"},{id:"13a62fe5-6241-4040-a353-cab4e7bc7af4",type:"text",value:"#181D29"},{id:"9edabd4b-eb1c-4497-a51a-249902e550a0",type:"text",value:"#ffFFFF"},{id:"49f536d5-592c-49c8-bdff-5e4f887a08ac",type:"primary",value:"#D214E2"},{id:"9d8a5d3d-3a46-4fb2-933d-aa4100531e36",type:"rating",value:"#FBC75B"},{id:"4cfeb2fc-c4ed-48b1-98db-d83d86c307f7",type:"",value:"#F8F5FF"}]},socialIcon:"https://asset.brandfetch.io/idAsIaW8R3/id_kQFMDt5.jpeg"}}},t=[{id:"a3b9ea75-cd72-4e05-9ce6-f2b985e4ff38",created_at:"2025-07-30 17:57:02.829+00",date:"2025-07-26 19:12:48+00",lang:"en",media:[],text:"Covers all the aspects of a language learning",vanity_metrics:{likes:0,shares:0,comments:0},integration:"app_store",platform_id:"12939811826",title:"A very Good App",url:"https://apps.apple.com/in/app/id987873536?see-all=reviews",source:"dashboard",type:"text",rating:5,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"53b5b66e-c57b-4029-ab19-7b5414398389",name:"Sayed_Sayed",avatar:"https://ui-avatars.com/api/Sayed_Sayed/512/4c2db8/e0daf6/2/0.4",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"Covers all the aspects of a language learning"},{id:"e15c9055-ef1e-4d50-ac6b-9c973b84e45c",created_at:"2025-07-30 18:02:14.459+00",date:"2025-07-25 19:32:37+00",lang:"en",media:[],text:"Mondly is a good language-learning app. Even if the app design could use some work, I still give it five stars because it's helpful and doesn't give only one free lesson. Looking at you, Babbel.",vanity_metrics:{likes:0,shares:0,comments:0},integration:"play_store",platform_id:"b083c28a-d6f1-448e-aecc-25bf88f36a39",url:"https://play.google.com/store/apps/details?id=com.atistudios.mondly.languages&hl=en&hl=en-US",source:"dashboard",type:"text",rating:5,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"a6599982-52da-442f-a461-e6fcab1c85cb",name:"Daria POPESCU",avatar:"https://senja-io.s3.us-west-1.amazonaws.com/public/media/KjE6RSyxiHunYyWTkaCNsjic.jpeg",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"Mondly is a good language-learning app. Even if the app design could use some work, I still give it five stars because it's helpful and doesn't give only one free lesson. Looking at you, Babbel."},{id:"f87873af-d9a8-42a7-bde3-c0b93d2d5454",created_at:"2025-07-30 18:02:14.459+00",date:"2025-07-24 18:21:34+00",lang:"en",media:[],text:"very nice app for learning languages vetter than other popular app.but they are will add some languages too it will be nice",vanity_metrics:{likes:0,shares:0,comments:0},integration:"play_store",platform_id:"461027c7-557c-43e2-a096-2bb29f9cad82",url:"https://play.google.com/store/apps/details?id=com.atistudios.mondly.languages&hl=en&hl=tr",source:"dashboard",type:"text",rating:5,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"2186f60b-3271-4912-ada9-d99312f11c17",name:"Berat Bay",avatar:"https://ui-avatars.com/api/Berat Bay/512/4c2db8/e0daf6/2/0.4",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"very nice app for learning languages vetter than other popular app.but they are will add some languages too it will be nice"},{id:"a0225014-81f6-4955-b84d-2b7f780d8774",created_at:"2025-07-30 17:57:02.829+00",date:"2025-07-19 16:03:59+00",lang:"en",media:[],text:"It is perfect to learning foreign languages!A",vanity_metrics:{likes:0,shares:0,comments:0},integration:"app_store",platform_id:"12911150027",title:"Perfect to learning",url:"https://apps.apple.com/ro/app/id987873536?see-all=reviews",source:"dashboard",type:"text",rating:5,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"e596f5d0-d860-4cb4-9cee-33853b9cde90",name:"Utzu25",avatar:"https://ui-avatars.com/api/Utzu25/512/4c2db8/e0daf6/2/0.4",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"It is perfect to learning foreign languages!A"},{id:"4d8622b6-60a8-4036-958d-e780f5873d1e",created_at:"2025-07-30 17:57:02.829+00",date:"2025-07-17 01:29:57+00",lang:"en",media:[],text:"About the only one we could find with Latvian. Good variety of challenges and goals.",vanity_metrics:{likes:0,shares:0,comments:0},integration:"app_store",platform_id:"12900690248",title:"They have Latvian",url:"https://apps.apple.com/us/app/id987873536?see-all=reviews",source:"dashboard",type:"text",rating:5,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"5f729a32-5506-4b54-9ffa-ec1aeeeb03a6",name:"Paulashley.123",avatar:"https://ui-avatars.com/api/Paulashley.123/512/4c2db8/e0daf6/2/0.4",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"About the only one we could find with Latvian. Good variety of challenges and goals."},{id:"630d4a29-460e-4c17-904a-f443bf5977e3",created_at:"2025-07-30 18:02:14.459+00",date:"2025-07-15 04:24:26+00",lang:"en",media:[],text:"This is much better than any of the other apps so far. It starts conversational and it's easy to repeat phrases. I just wish the mic was accurate.",vanity_metrics:{likes:0,shares:0,comments:0},integration:"play_store",platform_id:"ba6e9336-18be-4b72-a4d6-48530d6b57b6",url:"https://play.google.com/store/apps/details?id=com.atistudios.mondly.languages&hl=en&hl=en-US",source:"dashboard",type:"text",rating:4,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"85d35bb5-095b-429d-8986-30c38eeb41ff",name:"C. N.",avatar:"https://senja-io.s3.us-west-1.amazonaws.com/public/media/4SurMWxC71VPVvWZ885Su3NR.jpeg",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"This is much better than any of the other apps so far. It starts conversational and it's easy to repeat phrases. I just wish the mic was accurate."},{id:"9e1c559e-eed0-48df-ab04-e06c320f1297",created_at:"2025-07-30 17:57:02.829+00",date:"2025-07-14 12:05:39+00",lang:"en",media:[],text:"I am currently learning thai and this app is so fun. I keep practicing everyday. I recommend this super helpful app",vanity_metrics:{likes:0,shares:0,comments:0},integration:"app_store",platform_id:"12890353637",title:"Great app",url:"https://apps.apple.com/th/app/id987873536?see-all=reviews",source:"dashboard",type:"text",rating:5,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"6644dcf6-9164-4c08-8999-ef892b17d687",name:"Yace iKan",avatar:"https://ui-avatars.com/api/Yace iKan/512/4c2db8/e0daf6/2/0.4",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"I am currently learning thai and this app is so fun. I keep practicing everyday. I recommend this super helpful app"},{id:"b19ea3d9-05a8-42dd-87b5-1e21f0ab2d18",created_at:"2025-07-30 18:02:14.459+00",date:"2025-07-12 12:46:56+00",lang:"en",media:[],text:"wow",vanity_metrics:{likes:0,shares:0,comments:0},integration:"play_store",platform_id:"adecbdc9-c1ec-4d67-b142-413131eee298",url:"https://play.google.com/store/apps/details?id=com.atistudios.mondly.languages&hl=en&hl=fr-FR",source:"dashboard",type:"text",rating:5,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"cead724d-5901-4217-a778-9d5d0a784941",name:"Nourhene Ghoul",avatar:"https://ui-avatars.com/api/Nourhene Ghoul/512/4c2db8/e0daf6/2/0.4",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"wow"},{id:"0d1041a0-19ce-4869-ae90-b8e9d0a86977",created_at:"2025-07-30 18:02:14.459+00",date:"2025-07-10 17:19:30+00",lang:"en",media:[],text:"Got other app going as well. This ones seem to be more gradual and easier going. Like it much!",vanity_metrics:{likes:0,shares:0,comments:0},integration:"play_store",platform_id:"64b47676-5262-45a8-80b9-1dc8ae6da552",url:"https://play.google.com/store/apps/details?id=com.atistudios.mondly.languages&hl=en&hl=en-US",source:"dashboard",type:"text",rating:5,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"be22d37a-d88e-4965-a874-59def3deeb5e",name:"Oleg Mouzitchka",avatar:"https://ui-avatars.com/api/Oleg Mouzitchka/512/4c2db8/e0daf6/2/0.4",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"Got other app going as well. This ones seem to be more gradual and easier going. Like it much!"},{id:"ee8614dd-09d8-4c46-bc09-80cd8ba1df17",created_at:"2025-07-30 17:57:02.829+00",date:"2025-05-05 17:37:36+00",lang:"en",media:[],text:"I love it it helped me with Spanish and now I can speak fluent Spanish. Thanks to this good app I think everybody should try it",vanity_metrics:{likes:0,shares:0,comments:0},integration:"app_store",platform_id:"12623107217",title:"I love it",url:"https://apps.apple.com/de/app/id987873536?see-all=reviews",source:"dashboard",type:"text",rating:5,project_id:"eeaa77c1-f312-4fe8-9933-e8ae45257d90",collection_items:[],translations:[],form_responses:[],customer:{id:"2b3c418f-46ba-49d9-aa5a-9438ba0d28ef",name:"4ram.g",avatar:"https://ui-avatars.com/api/4ram.g/512/4c2db8/e0daf6/2/0.4",tagline:null,company:null,company_logo:null,position:null,url:null,integrations:{},email_md5:null},html:"I love it it helped me with Spanish and now I can speak fluent Spanish. Thanks to this good app I think everybody should try it"}],i="9b710a3b-a570-4b75-9912-6c375d01d9ce",a={avg:{rating:4.9},count:10};function r(){Array.from(document.querySelectorAll(".senja-embed")).find(e=>"true"===e.getAttribute("data-lazyload")),function(){const r=new CustomEvent("senjaWidgetLoaded",{detail:{id:i,reviews:t,widget:e,designId:"card_carousel",aggregate:a}});window.dispatchEvent(r)}()}window.SenjaAffiliatePoweredBy=e?.project?.config?.affiliateLink,r(),document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&r()}),new MutationObserver(e=>{for(const t of e)if("childList"===t.type)for(const e of Array.from(t.addedNodes))if(e instanceof HTMLElement){if(e.classList.contains("senja-embed")){r();continue}e.getElementsByClassName("senja-embed").length>0&&r()}}).observe(document.body,{attributes:!1,childList:!0,characterData:!1,subtree:!0})})();

Language Learning Tips & Tricks Blog

100 Best English Tongue Twisters to Perfect Pronunciation
Ready to have a laugh and twist your tongue into a knot?
Why Being Multilingual Is the Ultimate Brain Booster
Unlock new opportunities by learning multiple languages!
English Accents: From Queen’s English to Aussie
What’s your English accent of choice? Pick your favorite.
50 Popular Latin Phrases to Impress Your Friends
Forget about ‘carpe diem’. It’s time to ‘veni, vidi, vici’ like a veritable Julius Caesar.
100+ Australian Slang Words to Help You Speak Like a True Aussie
Oi, mate! 🦘 Did you know that “barbie” is the Aussie slang for “barbecue”?
Languages Spoken in the Star Wars Universe
Use the Force to learn them all, young padawan.
Check our Blog
Explore Mondly app in AppGalery

Discover the full power of Mondly by Pearson.

World-class experts worked with award-winning technologies to create the language learning experiences of the future: Mondly and Mondly VR.

Mondly main appMondly main appMondly main appMondly main app

Mondly

Speak new languages like you never knew you could. Train with 40 practical topics designed to get you fluent fast, easily and effectively.

Discover more
Mondly VR appMondly VR appMondly VR appMondly VR app

Mondly VR

Experience the most advanced method to learn languages from the comfort of your couch.

Discover more

Mondly by Pearson for Business

The future of language learning software for businesses

Mondly by Pearson for WorkMondly by Pearson for Work

Increase customer satisfaction

Attract and retain top talent

Boost productivity and internal collaboration

Language learning backed by unparalleled global research

Mondly by Pearson is powered by Pearson's Global Scale of Languages, helping you to fast-track your learning and build your confidence in any language.
Global Scale of EnglishFind out more

Helping those who need it most

Mondly CARES

Universal access to education helps people thrive. This is why we are committed to making language learning accessible to everyone regardless of age, gender, race or income.

Mondly CARES

Mondly EDU

We at Mondly believe that education can change the world for the better. This is why we pledged to give students the tools to succeed and the opportunity to learn in ways they never could have imagined.

Mondly CARES