1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[747],{30718:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var i=n(27925),r=n(76746),s=n(14180);function o(e,t,n){var o=(0,r.x)(null==n?void 0:n.in,e,t),d=(0,i.A)(o,2),c=d[0],l=d[1],u=a(c,l),p=Math.abs((0,s.m)(c,l));c.setDate(c.getDate()-u*p);var m=Number(a(c,l)===-u),f=u*(p-m);return 0===f?0:f}function a(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},33874:(e,t,n)=>{"use strict";n.d(t,{A:()=>r}),n(14232);var i=n(37876);let r=function(){return(0,i.jsx)("div",{id:"skip-target",tabIndex:-1,"data-testid":"skip-target"})}},37596:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var i=n(89099),r=n(5720),s=n(50433),o=n(42969),a=n(63857),d=n(60180),c=n.n(d),l=n(14232),u=n(74359),p=n(26900),m=n(44398),f=n(86241),g=n(53403),h=n(17651),y=n(90316),b=n(48278),v=n(41745),_=n(43526),w=n(49272),x=n(13706),z=n(5646),k=z.Ay.div.withConfig({componentId:"sc-1n2gfa1-0"})(function(e){var t=e.theme;return(0,z.AH)(["",";color:",";@media (max-width:","){margin-top:",";}"],t.typography.heading.mobile.xs,t.co.secondary50,t.sz.md,t.sz.s4)}),j=z.Ay.div.withConfig({componentId:"sc-1n2gfa1-1"})(function(e){var t=e.theme;return(0,z.AH)(["margin:"," auto 0 auto;width:",";"],t.sz.s32,t.sz.s20)}),A=n(37876);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var O=(0,r.YK)({title:{id:"learnq_lessons_preview_title_review"},description:{id:"learnq_lessons_preview_description_review"},subtitle:{id:"learnq_previewScreen_review_title"}}),H=function(e){var t,n,i,s=e.backHref,d=e.embedded,z=(0,r.tz)(),H=(0,b.S)(),I=(0,l.useState)(null),P=I[0],U=I[1],S=(0,f.B)({tokenType:"review_classic"}),T=(0,f.B)({tokenType:"review_speed"}),E=(0,f.B)({tokenType:"review_difficult_words"}),L=(0,u.I)({queryKey:["practice",H],queryFn:(t=(0,a.A)(c().mark(function e(){return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",p.fR.getPractice(H));case 1:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),enabled:!!H}),M=L.data,R=L.isError,D=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({language_pair_id:H},s?{back:s}:{});return R||S.isError||T.isError||E.isError?(0,A.jsx)(h.H,{}):!M||S.isLoading||T.isLoading||E.isLoading?(0,A.jsx)(j,{children:(0,A.jsx)(y.A,{})}):(0,A.jsxs)(m.T,{title:z.formatMessage(O.title),description:z.formatMessage(O.description),iconName:"idea",iconColor:"success40",backHref:s,embedded:void 0!==d&&d,children:[(0,A.jsx)(k,{children:z.formatMessage(O.subtitle)}),(0,A.jsx)(w.v,{count:null==(n=M.review)?void 0:n.count,reviewUrl:(0,_.f)(g.b.aprender.review,D),speedReviewUrl:(0,_.f)(g.b.aprender.speed,D),nothingLearnedYet:M.nothingLearnedYet,isReviewLocked:S.isLocked,isSpeedReviewLocked:T.isLocked,onLockedClick:function(e){return U("review"===e?"review_classic":"review_speed")},hideLearnButton:!0}),(0,A.jsx)(x.m,{count:null==(i=M.difficultWords)?void 0:i.count,difficultWordsReviewUrl:(0,_.f)(g.b.aprender.difficult,D),isLocked:E.isLocked,onLockedClick:function(){return U("review_difficult_words")}}),P&&(0,A.jsx)(v.d,{tokenType:P,onClose:function(){return U(null)}})]})},I=n(64191),P=n(80654),U=(0,r.YK)({title:{id:"web_ls_review"}}),S=function(){var e=(0,r.tz)(),t=(0,i.useRouter)().query,n=t.back?String(t.back):g.b.dashboard;return(0,A.jsx)(I.co,{children:(0,A.jsx)(s.A,{pageScreenName:P.J.REVIEW,pageTitle:e.formatMessage(U.title),sidebarUrl:n,children:(0,A.jsx)(H,{backHref:n,embedded:!0})})})}},41745:(e,t,n)=>{"use strict";n.d(t,{d:()=>z});var i=n(42969),r=n(14232),s=n(5720),o=n(82742),a=n(25493),d=n(53403),c=n(99634),l=n(26900),u=n(48278),p=n(5646),m=n(2553),f=p.Ay.div.withConfig({componentId:"sc-p9il9z-0"})(function(e){var t=e.theme;return(0,p.AH)(["display:flex;flex-direction:column;align-items:center;padding:",";@media (max-width:","){padding:",";}
1"],t.sz.s8,t.sz.s,t.sz.s4)}),g=p.Ay.img.withConfig({componentId:"sc-p9il9z-1"})(function(e){var t=e.theme;return(0,p.AH)(["height:",";padding:",";width:auto;margin-bottom:",";@media (max-width:","){margin-bottom:",";}"],t.sz.s26,t.sz.s4,t.sz.s6,t.sz.s,t.sz.s3)}),h=p.Ay.h1.withConfig({componentId:"sc-p9il9z-2"})(function(e){var t=e.theme;return(0,p.AH)(["",";color:",";text-align:center;margin:"," "," ",";"],t.typography.heading.desktop.m,t.co.secondary0,t.sz.s0,t.sz.s0,t.sz.s3)}),y=p.Ay.p.withConfig({componentId:"sc-p9il9z-3"})(function(e){var t=e.theme;return(0,p.AH)(["",";color:",";text-align:center;margin:"," "," ",";"],t.typography.paragraph.base,t.co.secondary20,t.sz.s0,t.sz.s0,t.sz.s6)}),b=(0,p.Ay)(m.A).withConfig({componentId:"sc-p9il9z-4"})(function(e){var t=e.theme;return(0,p.AH)(["font-size:",";padding-bottom:",";margin-right:",";"],t.sz.s5,t.sz.s05,t.sz.s2)}),v=n(37876);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var w=(0,s.YK)({description:{id:"monetisation_Upsell_text_LimitReached"},cta:{id:"immerse_businessmodel_upsell_upgrade_cta"}}),x=(0,s.YK)({videos:{id:"monetisation_VideosUpsell_title"},conversations:{id:"monetisation_ConversationsUpsell_title"},review_classic:{id:"monetisation_ClassicReviewUpsell_title"},review_speed:{id:"monetisation_SpeedReviewUpsell_title"},review_difficult_words:{id:"monetisation_DifficultWordsUpsell_title"},pronunciation_from_my_words:{id:"monetisation_PronunciationUpsell_title"},presentation_screen_pronunciation:{id:"monetisation_PronunciationUpsell_title"},buddy_type_pronunciation:{id:"monetisation_PronunciationUpsell_title"},buddy_type_sentence_builder:{id:"monetisation_SentenceBuilderUpsell_title"},buddy_type_grammar:{id:"monetisation_GrammarUpsell_title"},buddy_type_roleplay:{id:"monetisation_RolePlayUpsell_title"},buddy_type_translator:{id:"monetisation_TranslatorUpsell_title"},buddy_type_culture:{id:"monetisation_CultureBuddyUpsell_title"},buddy_type_conjugation:{id:"monetisation_ConjugationUpsell_title"},wordlist_bulk_create_learnables_with_ai:{id:"monetisation_WordlistBulkCreateLearnablesWithAiUpsell_title"}}),z=function(e){var t=e.tokenType,n=e.buddyId,p=e.onClose,m=(0,s.tz)(),z=(0,c.u)().user,k=(0,u.S)(),j=x[t];(0,r.useEffect)(function(){l.mq.trackUserAction("screen_viewed","upsell_screen",k,!!(null!=z&&z.isPro),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({feature:t},n&&{buddy_id:n}))},[]);var A=(0,r.useCallback)(function(){l.mq.trackUserAction("clicked_upsell_upgrade_button","upsell_screen",k,!!(null!=z&&z.isPro),{feature:t})},[t,z,k]),C=(0,r.useCallback)(function(){l.mq.trackUserAction("paywall_dismissed","upsell_screen",k,!!(null!=z&&z.isPro),{feature:t}),p()},[t,z,k,p]);return(0,v.jsx)(o.a,{isOpen:!0,darkCloseIcon:!0,handleClose:C,children:(0,v.jsxs)(f,{"data-testid":"featureUpsellModal",children:[(0,v.jsx)(g,{src:"/_next/static/images/55b8f77cb5c155b2906f557d470068c2.png",alt:""}),j&&(0,v.jsx)(h,{children:m.formatMessage(j)}),(0,v.jsx)(y,{children:m.formatMessage(w.description)}),(0,v.jsxs)(a.z,{buttonType:"primary",buttonSize:"large",wide:!0,href:{pathname:d.b.payment.plans,query:{upsellTokenType:t}},onClick:A,children:[(0,v.jsx)(b,{name:"padlock"}),m.formatMessage(w.cta)]})]})})}},44398:(e,t,n)=>{"use strict";n.d(t,{T:()=>k});var i=n(2553),r=n(85499),s=n(33874),o=n(61542),a=n(5646),d=a.Ay.div.withConfig({componentId:"sc-1yakgnh-0"})(function(e){var t=e.theme;return(0,a.AH)(["z-index:",";position:fixed;width:100%;"],t.zi.z6)}),c=a.Ay.div.withConfig({componentId:"sc-1yakgnh-1"})(function(e){var t=e.theme,n=e.$embedded;return(0,a.AH)(["width:100%;display:flex;justify-content:center;",""],n?(0,a.AH)(["min-height:0;padding:0;background-color:transparent;"]):(0,a.AH)(["min-height:100vh;padding:"," "," "," ",";background-color:",";@media (max-width:","){padding:",";background-color:",";}
1"],t.sz.s24,t.sz.s4,t.sz.s0,t.sz.s4,t.co.primary98,t.sz.md,t.sz.s4,t.co.neutral99))}),l=a.Ay.div.withConfig({componentId:"sc-1yakgnh-2"})(function(e){var t=e.theme;return(0,a.AH)(["width:100%;max-width:",";display:flex;flex-direction:column;"],t.sz.md)}),u=a.Ay.div.withConfig({componentId:"sc-1yakgnh-3"})(function(e){var t=e.theme;return(0,a.AH)(["position:relative;background-color:",";padding:"," "," "," ",";border-radius:",";display:flex;flex-direction:column;margin-bottom:",";@media (max-width:","){padding:"," ",";margin:"," -"," "," -",";border-radius:0;background-color:",";}"],t.co.primary60,t.sz.s2,t.sz.s5,t.sz.s5,t.sz.s5,t.sz.s3,t.sz.s5,t.sz.md,t.sz.s5,t.sz.s4,t.sz.s2,t.sz.s4,t.sz.s2,t.sz.s4,t.co.primary98)}),p=a.Ay.div.withConfig({componentId:"sc-1yakgnh-4"})(function(e){var t=e.theme;return(0,a.AH)(["display:flex;align-items:baseline;gap:",";"],t.sz.s1)}),m=a.Ay.div.withConfig({componentId:"sc-1yakgnh-5"})(function(e){var t=e.theme,n=e.$color;return(0,a.AH)(["margin-bottom:",";color:",";font-size:",";"],t.sz.s2,t.co[n],t.sz.s8)}),f=a.Ay.h1.withConfig({componentId:"sc-1yakgnh-6"})(function(e){var t=e.theme;return(0,a.AH)(["",";color:",";margin:0;@media (max-width:","){",";}"],t.typography.heading.desktop.s,t.co.secondary20,t.sz.md,t.typography.heading.mobile.s)}),g=a.Ay.p.withConfig({componentId:"sc-1yakgnh-7"})(function(e){var t=e.theme;return(0,a.AH)(["",";color:",";margin:0;z-index:",";@media (max-width:","){",";}"],t.typography.paragraph.base,t.co.secondary20,t.zi.z1,t.sz.md,t.typography.paragraph.m)}),h=a.Ay.div.withConfig({componentId:"sc-1yakgnh-8"})(function(e){var t=e.theme;return(0,a.AH)(["display:flex;flex-direction:column;gap:",";background-color:",";padding:",";border-radius:",";@media (max-width:","){padding:0;}"],t.sz.s6,t.co.neutral99,t.sz.s6,t.sz.s5,t.sz.md)}),y=a.Ay.div.withConfig({componentId:"sc-1yakgnh-9"})(function(e){var t=e.theme;return(0,a.AH)(["position:sticky;bottom:",";padding:",";background-color:",";display:flex;justify-content:center;margin:0 -",";gap:",";@media (max-width:","){flex-direction:column;background-color:",";padding:"," 0;}"],t.sz.s0,t.sz.s5,t.co.primary98,t.sz.s05,t.sz.s3,t.sz.md,t.co.neutral99,t.sz.s4)}),b=a.Ay.div.withConfig({componentId:"sc-1yakgnh-10"})(function(e){var t=e.theme;return(0,a.AH)(["display:flex;flex-direction:column;gap:",";@media (min-width:","){button{padding-left:",";padding-right:",";}}"],t.sz.s4,t.sz.md,t.sz.s12,t.sz.s12)}),v=(0,a.Ay)(i.A).withConfig({componentId:"sc-1yakgnh-11"})(function(e){var t=e.theme;return(0,a.AH)(["margin-right:",";margin-bottom:",";"],t.sz.s1,t.sz.s05)}),_=a.Ay.div.withConfig({componentId:"sc-1yakgnh-12"})(function(e){var t=e.theme;return(0,a.AH)(["display:flex;align-items:center;gap:",";"],t.sz.s4)}),w=a.Ay.div.withConfig({componentId:"sc-1yakgnh-13"})(function(){return(0,a.AH)(["display:flex;flex-direction:column;flex:1;min-width:0;"])}),x=a.Ay.div.withConfig({componentId:"sc-1yakgnh-14"})(function(e){var t=e.theme;return(0,a.AH)(["flex-shrink:0;width:",";@media (max-width:","){width:",";}"],t.sz.s24,t.sz.md,t.sz.s20)}),z=n(37876),k=function(e){var t=e.title,n=e.description,a=e.iconName,k=e.iconColor,j=e.children,A=e.onClick,C=e.buttonText,O=e.hideButtonIcon,H=e.buddyIcon,I=e.media,P=e.backHref,U=e.embedded,S=void 0!==U&&U,T=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(p,{children:[a&&(0,z.jsx)(m,{$color:void 0===k?"neutral0":k,children:(0,z.jsx)(i.A,{name:a})}),(0,z.jsx)(f,{children:t})]}),(0,z.jsx)(g,{children:n})]});return(0,z.jsxs)(z.Fragment,{children:[P&&!S&&(0,z.jsx)(d,{children:(0,z.jsx)(r.t,{href:P})}),(0,z.jsx)(s.A,{}),(0,z.jsx)(c,{$embedded:S,children:(0,z.jsxs)(l,{children:[(0,z.jsx)(u,{children:I?(0,z.jsxs)(_,{children:[(0,z.jsx)(w,{children:T}),(0,z.jsx)(x,{children:I})]}):(0,z.jsxs)(z.Fragment,{children:[T,H]})}),(0,z.jsx)(h,{children:j}),C&&(0,z.jsx)(y,{children:(0,z.jsx)(b,{children:(0,z.jsxs)(o.$n,{"data-testid":"start_of_session_primary_cta",buttonType:"primary",buttonSize:"large",onClick:A,wide:!0,children:[!(void 0!==O&&O)&&(0,z.jsx)(v,{name:"playFilled"}),C]})})})]})})]})}}
1,71098:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/aprender/select-review",function(){return n(37596)}])},73933:(e,t,n)=>{"use strict";n.d(t,{j:()=>f});var i=n(14232),r=n(53590),s=n(5720),o=n(14780),a=n(2553),d=n(5646),c=n(66185),l=d.Ay.button.withConfig({componentId:"sc-bt31n8-0"})(function(e){var t=e.theme;return(0,d.AH)(["margin-left:",";background:none;border:none;padding:0;cursor:pointer;font-size:",";display:inline-flex;align-items:center;gap:",";color:inherit;svg{transform:scaleX(",");}"],t.sz.s3,t.sz.s6,t.sz.s1,(0,c.g)(t))}),u=d.Ay.span.withConfig({componentId:"sc-bt31n8-1"})(function(e){var t=e.theme;return(0,d.AH)(["",";color:inherit;"],t.typography.paragraph.s)}),p=n(37876),m=(0,s.YK)({info:{id:"card_statistics_link_see_more"}}),f=function(e){var t=e.tooltip,n=e.label,d=(0,i.useState)(!1),c=d[0],f=d[1],g=(0,i.useRef)(null);(0,r.fy)("esc",function(){return f(!1)}),(0,r.c7)(g,function(){return f(!1)});var h=(0,s.tz)().formatMessage(m.info);return(0,p.jsx)("div",{ref:g,"aria-label":h,children:(0,p.jsx)(o.m,{tooltip:t,forceShow:c,tooltipStyle:"hint",children:(0,p.jsxs)(l,{title:h,onClick:function(){return f(!c)},children:[(0,p.jsx)(a.A,{name:"infoOutline"}),n&&(0,p.jsx)(u,{children:n})]})})})}},86241:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var i=n(14232),r=n(74359),s=n(26900),o=n(4285),a=n(99634),d=n(48278),c=function(e){var t=e.enabled||!("enabled"in e),n=e.tokenType,c=(0,a.u)().user,l=(0,d.S)(),u=(0,o.hF)().experienceType,p=(0,i.useRef)(!1),m=t&&"2025"===u&&!(null!=c&&c.isPro)&&!!n,f=!!l&&m,g=(0,r.I)({queryKey:["getFeaturesTokensAvailability",l],queryFn:function(){return s.lt.getFeaturesTokensAvailability(l)},enabled:f}),h=g.data,y=g.isError,b=(0,i.useMemo)(function(){if(!h)return null;var e=null==h?void 0:h.find(function(e){return e.type===n});return e?e.available?"available":"not-available":"not-found"},[h,n]),v=(0,i.useCallback)(function(){!p.current&&m&&"available"===b&&(p.current=!0,s.lt.consumeFeatureToken(l,n))},[l,m,b,n]),_=f&&y,w=!m||_||null!=b;return{isLoading:!!t&&"2024"!==u&&!w,isError:_,isLocked:"not-available"===b,isRationed:m,onActivityEngagement:v}}}},e=>{e.O(0,[5687,4202,2673,433,2683,6593,636,8792],()=>e(e.s=71098)),_N_E=e.O()}]); 2//# sourceMappingURL=select-review-b4743ef7d52413a9.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.