Von Sprachanfängern geliebt, von Experten unterstützt.
Auf dem Weg zur Perfektion: Das sagen Millionen von Sprachenthusiasten über Mondly.
',ee(t,"class","flex h-96 items-center justify-center rounded-lg bg-gray-100")},m(e,i){U(e,t,i)},p:g,i:g,o:g,d(e){e&&H(t)}}}function tr(e){let t,i,n,a,r;return n=new at({props:{data:ct}}),{c(){t=Y("div"),i=Y("div"),qe(n.$$.fragment),a=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){U(e,t,s),O(t,i),Ke(n,i,null),O(i,a),r=!0},p:g,i(e){r||(Ge(n.$$.fragment,e),r=!0)},o(e){De(n.$$.fragment,e),r=!1},d(e){e&&H(t),Ze(n)}}}function ir(e){let t,i,n,a,r;return n=new at({props:{data:st}}),{c(){t=Y("div"),i=Y("div"),qe(n.$$.fragment),a=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){U(e,t,s),O(t,i),Ke(n,i,null),O(i,a),r=!0},p:g,i(e){r||(Ge(n.$$.fragment,e),r=!0)},o(e){De(n.$$.fragment,e),r=!1},d(e){e&&H(t),Ze(n)}}}function nr(e){let t,i,n,a,r;const s=[rr,ar],o=[];function l(e,t){return e[21]||e[20]?0:1}t=l(e),i=o[t]=s[t](e);let d=e[22]&&$r();return{c(){i.c(),n=Z(),d&&d.c(),a=X()},m(e,i){o[t].m(e,i),U(e,n,i),d&&d.m(e,i),U(e,a,i),r=!0},p(e,r){let c=t;t=l(e),t===c?o[t].p(e,r):(Ne(),De(o[c],1,1,()=>{o[c]=null}),Oe(),i=o[t],i?i.p(e,r):(i=o[t]=s[t](e),i.c()),Ge(i,1),i.m(n.parentNode,n)),e[22]?d||(d=$r(),d.c(),d.m(a.parentNode,a)):d&&(d.d(1),d=null)},i(e){r||(Ge(i),r=!0)},o(e){De(i),r=!1},d(e){e&&(H(n),H(a)),o[t].d(e),d&&d.d(e)}}}function ar(e){let t,i,n,a,r,s,o,l,d,c,u,p,m,g,f=e[5]&&e[18]?.review?.rating&&sr(e),h=e[4]&&e[18]?.review?.title&&or(e);function w(e,t){return e[9]?dr:lr}c=new at({props:{data:ht,fill:"currentColor",size:32,class:"text-white"}});let v=w(e),b=v(e);return{c(){t=Y("img"),n=Z(),a=Y("button"),r=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(),j(t.src,i=e[36])||ee(t,"src",i),ee(t,"alt",""),ee(t,"class","absolute inset-0 h-full w-full object-cover"),ee(r,"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(a,"class","absolute flex h-full w-full flex-col justify-between px-4 py-4")},m(i,w){U(i,t,w),U(i,n,w),U(i,a,w),O(a,r),f&&f.m(r,null),O(r,s),h&&h.m(r,null),O(a,o),O(a,l),O(l,d),Ke(c,d,null),O(a,u),b.m(a,null),p=!0,m||(g=Q(a,"click",e[11]),m=!0)},p(e,n){(!p||32&n[1]&&!j(t.src,i=e[36]))&&ee(t,"src",i),e[5]&&e[18]?.review?.rating?f?(f.p(e,n),262176&n[0]&&Ge(f,1)):(f=sr(e),f.c(),Ge(f,1),f.m(r,s)):f&&(Ne(),De(f,1,1,()=>{f=null}),Oe()),e[4]&&e[18]?.review?.title?h?h.p(e,n):(h=or(e),h.c(),h.m(r,null)):h&&(h.d(1),h=null),v===(v=w(e))&&b?b.p(e,n):(b.d(1),b=v(e),b&&(b.c(),b.m(a,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(n),H(a)),f&&f.d(),h&&h.d(),Ze(c),b.d(),m=!1,g()}}}function rr(e){let t,i,n,a,r,s,o,l,d=e[20]&&ur(e),c=e[33].length>0&&Ar(e),u=e[23]&&e[17]?.form_question?.title&&kr(e);return{c(){t=Y("video"),i=Y("track"),n=Z(),d&&d.c(),a=Z(),c&&c.c(),r=Z(),s=Y("div"),u&&u.c(),ee(i,"kind","captions"),t.playsInline=!0,ee(t,"webkit-playsinline",""),ee(t,"poster",e[36]),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[23]&&e[17]?.form_question?.title)},m(p,m){U(p,t,m),O(t,i),e[70](t),U(p,n,m),d&&d.m(p,m),U(p,a,m),c&&c.m(p,m),U(p,r,m),U(p,s,m),u&&u.m(s,null),o||(l=[Q(t,"ended",e[52]),Q(t,"play",e[53]),Q(t,"pause",e[54]),Q(t,"timeupdate",e[71]),Q(t,"loadedmetadata",e[72])],o=!0)},p(e,i){32&i[1]&&ee(t,"poster",e[36]),e[20]?d?d.p(e,i):(d=ur(e),d.c(),d.m(a.parentNode,a)):d&&(d.d(1),d=null),e[33].length>0?c?c.p(e,i):(c=Ar(e),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null),e[23]&&e[17]?.form_question?.title?u?u.p(e,i):(u=kr(e),u.c(),u.m(s,null)):u&&(u.d(1),u=null),8519680&i[0]&&le(s,"opacity-100",e[23]&&e[17]?.form_question?.title)},i:g,o:g,d(i){i&&(H(t),H(n),H(a),H(r),H(s)),e[70](null),d&&d.d(i),c&&c.d(i),u&&u.d(),o=!1,b(l)}}}function sr(e){let t,i,n;return i=new _n({props:{rating:e[18].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,a){U(e,t,a),Ke(i,t,null),n=!0},p(e,t){const n={};262144&t[0]&&(n.rating=e[18].review.rating),64&t[0]&&(n.color=e[6]),128&t[0]&&(n.strokeWidth=e[7]),256&t[0]&&(n.stroke=e[8]),i.$set(n)},i(e){n||(Ge(i.$$.fragment,e),n=!0)},o(e){De(i.$$.fragment,e),n=!1},d(e){e&&H(t),Ze(i)}}}function or(e){let t,i,n=e[18].review.title+"";return{c(){t=Y("div"),i=K(n),ee(t,"class","mb-2 text-base font-semibold text-white")},m(e,n){U(e,t,n),O(t,i)},p(e,t){262144&t[0]&&n!==(n=e[18].review.title+"")&&re(i,n)},d(e){e&&H(t)}}}function lr(e){let t;return{c(){t=Y("div"),ee(t,"class","w-full")},m(e,i){U(e,t,i)},p:g,d(e){e&&H(t)}}}function dr(e){let t,i,n,a,r=(e[18]?.customer?.name??"Unnamed")+"",s=Gn(e[18]?.review),o=s&&cr(e);return{c(){t=Y("div"),i=Y("div"),n=K(r),a=Z(),o&&o.c(),ee(i,"class","text-xl text-white"),ee(t,"class","w-full text-left text-white")},m(e,r){U(e,t,r),O(t,i),O(i,n),O(t,a),o&&o.m(t,null)},p(e,i){262144&i[0]&&r!==(r=(e[18]?.customer?.name??"Unnamed")+"")&&re(n,r),262144&i[0]&&(s=Gn(e[18]?.review)),s?o?o.p(e,i):(o=cr(e),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(e){e&&H(t),o&&o.d()}}}function cr(e){let t,i,n=Gn(e[18]?.review)+"";return{c(){t=Y("div"),i=K(n),ee(t,"class","text-sm text-white opacity-80")},m(e,n){U(e,t,n),O(t,i)},p(e,t){262144&t[0]&&n!==(n=Gn(e[18]?.review)+"")&&re(i,n)},d(e){e&&H(t)}}}function ur(e){let t,i,n,a,r,s,o,l,d,c,u,p,m,g,f,h,w,v,y,x,A,j,k=[],$=new Map,S=_r(e[42])+"",_=_r(e[35])+"",T=e[25]&&null!==e[24]&&"compact"!==e[3]&&pr(e),E=Ue(e[43]);const z=e=>e[102];for(let t=0;t
1&&e[43][e[24]].customerName&&mr(e);return{c(){t=Y("div"),c&&c.c(),i=Z(),n=Y("div"),a=K(l),r=Z(),s=Y("div"),o=K(d),ee(n,"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[26]/e[29]*100+"%"),oe(t,"transform","translateX(-50%)")},m(e,l){U(e,t,l),c&&c.m(t,null),O(t,i),O(t,n),O(n,a),O(t,r),O(t,s),O(s,o)},p(e,n){e[19].length>1&&e[43][e[24]].customerName?c?c.p(e,n):(c=mr(e),c.c(),c.m(t,i)):c&&(c.d(1),c=null),16777216&n[0]|4096&n[1]&&l!==(l=e[43][e[24]].title+"")&&re(a,l),603979776&n[0]|16&n[1]&&d!==(d=_r(e[26]/e[29]*e[35])+"")&&re(o,d),603979776&n[0]&&oe(t,"left",e[26]/e[29]*100+"%")},d(e){e&&H(t),c&&c.d()}}}function mr(e){let t,i,n=e[43][e[24]].customerName+"";return{c(){t=Y("div"),i=K(n),ee(t,"class","text-xs text-gray-400")},m(e,n){U(e,t,n),O(t,i)},p(e,t){16777216&t[0]|4096&t[1]&&n!==(n=e[43][e[24]].customerName+"")&&re(i,n)},d(e){e&&H(t)}}}function gr(e,t){let i,n,a;function r(...e){return t[73](t[102],...e)}return{key:e,first:null,c(){i=Y("div"),ee(i,"class","absolute cursor-pointer rounded transition-opacity"),oe(i,"left","calc("+(t[35]>0?t[103].startTime/t[35]*100:0)+"% + "+("compact"===t[3]?"2px":"4px")+")"),oe(i,"width","calc("+(t[35]>0?(t[103].endTime-t[103].startTime)/t[35]*100:0)+"% - "+("compact"===t[3]?"4px":"8px")+")"),oe(i,"background-color",t[12]===t[102]?t[44]:t[44]+"80"),oe(i,"height",t[12]===t[102]?"100%":"50%"),oe(i,"top",t[12]===t[102]?"0":"25%"),this.first=i},m(e,s){U(e,i,s),n||(a=[Q(i,"mouseenter",r),Q(i,"mouseleave",t[74])],n=!0)},p(e,n){t=e,8&n[0]|4112&n[1]&&oe(i,"left","calc("+(t[35]>0?t[103].startTime/t[35]*100:0)+"% + "+("compact"===t[3]?"2px":"4px")+")"),8&n[0]|4112&n[1]&&oe(i,"width","calc("+(t[35]>0?(t[103].endTime-t[103].startTime)/t[35]*100:0)+"% - "+("compact"===t[3]?"4px":"8px")+")"),4096&n[0]|12288&n[1]&&oe(i,"background-color",t[12]===t[102]?t[44]:t[44]+"80"),4096&n[0]|4096&n[1]&&oe(i,"height",t[12]===t[102]?"100%":"50%"),4096&n[0]|4096&n[1]&&oe(i,"top",t[12]===t[102]?"0":"25%")},d(e){e&&H(i),n=!1,b(a)}}}function fr(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,n){U(e,t,n),O(t,i)},d(e){e&&H(t)}}}function hr(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,n){U(e,t,n),O(t,i)},d(e){e&&H(t)}}}function wr(e){let t,i,n,a,r,s,o,l;function d(e,t){return 0===e[30]||e[31]?yr:e[30]<.5 c='d(e),u=c(e);return{c(){t=Y("div"),i=Y("button"),u.c(),a=Z(),r=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 vr t br yr xr subtitles on off ar map l="e=">e[102];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){U(e,t,i)},d(e){e&&H(t)}}}function Sr(e){let t,i,n,a;const r=[er,Ja],s=[];function o(e,t){return 0===e[16].length?0:1}return i=o(e),n=s[i]=r[i](e),{c(){t=Y("div"),n.c(),ee(t,"class","flex flex-col gap-4")},m(e,n){U(e,t,n),s[i].m(t,null),a=!0},p(e,a){let l=i;i=o(e),i===l?s[i].p(e,a):(Ne(),De(s[l],1,1,()=>{s[l]=null}),Oe(),n=s[i],n?n.p(e,a):(n=s[i]=r[i](e),n.c()),Ge(n,1),n.m(t,null))},i(e){a||(Ge(n),a=!0)},o(e){De(n),a=!1},d(e){e&&H(t),s[i].d()}}}function _r(e){if(!e||isNaN(e))return"0:00";return`${Math.floor(e/60)}:${Math.floor(e%60).toString().padStart(2,"0")}`}function Tr(e,t,i){let n,a,r,s,o,l,d,c,u,p,m,g,f,h,w,v,b,y;k(e,qa,e=>i(67,y=e));let x,A,{review:j}=t,{reviews:$=[]}=t,{customer:S}=t,{customers:_=[]}=t,{selectedResponseMap:T={}}=t,{brandColors:E=null}=t,{subtitleFontSize:z="text-xl"}=t,{subtitlePosition:M="bottom-[10%]"}=t,{questionOverlayFontSize:C="text-sm md:text-xl lg:text-xl"}=t,{questionOverlayPadding:L="px-4 py-3 md:px-4 md:py-3"}=t,{aspectRatioOverride:P}=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,{maxHeight:W}=t,U=0,H=!1,V=!1,Y=null,q=null,K=!1,Z=null,X=null,Q=!1,J=0,ee=0,te=0,ie=!1,ne=0,ae=1,re=!1,se=1,oe=!1,le=!0,de=[],ce=null,ue=!1;function pe(e){return e?.media_asset?function(e){if(!e)return null;const t=function(e){var t,i;const n=null==e?void 0:e.metadata;return(null==n?void 0:n.playback_ids)?null!==(i=null===(t=n.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 me(e){const t=e.currentTarget.getBoundingClientRect();i(26,J=e.clientX-t.left),i(29,ne=t.width)}function ge(e){if(!oe)return;const t=e instanceof TouchEvent?e.touches[0]?.clientX:e.clientX;void 0!==t&&function(e){if(!A||!d)return;const t=A.getBoundingClientRect(),n=Math.max(0,Math.min(1,(e-t.left)/t.width))*d;let a=0;for(let e=0;e