1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9894],{864:function(e,i,t){t.d(i,{OB:function(){return c},R2:function(){return d},e5:function(){return h},yX:function(){return r}});var l=t(19985);let a=["isLibIncluded","membershipIncluded"],n=async function(e){let{limit:i,lastCursor:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=await l.F.model("Book"),n=[],s=t,r=!0;for(;r;){let h=await a.find({where:{[e]:!0},limit:i||200,lastCursor:s}),o=(null==h?void 0:h.items)??[];n.push(...o),r=!i&&200===o.length&&!!(null==h?void 0:h.lastCursor),s=null==h?void 0:h.lastCursor}return{books:n,lastCursor:s}},s=e=>(null==e?void 0:e.status)==="Published"&&!(null==e?void 0:e.isFree)&&((null==e?void 0:e.isLibIncluded)===!0||(null==e?void 0:e.membershipIncluded)===!0),r=async function(){let{limitPerField:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=await Promise.all(a.map(i=>n(i,{limit:e}))),t={};return i.flatMap(e=>e.books).filter(s).forEach(e=>{t[String(e.id??e._id)]=e}),Object.values(t)},h=async function(){let{limit:e=20,lastCursor:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(null==i?void 0:i.cursorByField)||{},l=(null==i?void 0:i.doneByField)||{},r=new Set((null==i?void 0:i.seenIds)||[]),o=await Promise.all(a.map(async i=>{if(l[i])return{field:i,books:[],lastCursor:t[i],done:!0};let a=await n(i,{limit:e,lastCursor:t[i]});return{field:i,...a,done:a.books.length<e||!a.lastCursor}})),c={};o.flatMap(e=>e.books).filter(s).forEach(e=>{let i=String(e.id??e._id);r.has(i)||(c[i]=e)});let d=Object.fromEntries(o.map(e=>[e.field,e.lastCursor])),C=Object.fromEntries(o.map(e=>[e.field,e.done])),x=o.some(e=>!e.done),u=[...r,...Object.keys(c)];return x&&!Object.keys(c).length?h({limit:e,lastCursor:{cursorByField:d,doneByField:C,seenIds:u}}):{items:Object.values(c),lastCursor:x?{cursorByField:d,doneByField:C,seenIds:u}:void 0}},o=e=>(Number((null==e?void 0:e.bookContentReview)||0)+Number((null==e?void 0:e.voiceReview)||0))/2,c=e=>[...e].sort((e,i)=>{let t=o(i)-o(e);return 0!==t?t:Number((null==i?void 0:i.reviewTotal)||0)-Number((null==e?void 0:e.reviewTotal)||0)}),d=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20,l=c(e).slice(0,t);for(let a=l.length-1;a>0;a-=1){let n=Math.floor(Math.random()*(a+1));[l[a],l[n]]=[l[n],l[a]]}return l.slice(0,i)}},356:function(e,i,t){t.d(i,{Z:function(){return Z}});var l=t(85893),a=t(9008),n=t.n(a),s=t(63472),r=t(44043),h=t(10334),o=t(18452),c=t(97927),d=t(68623),C=t(82488),x=t(3609),u=t(66749),f=t(33170),p=t(78414),g=t.n(p);let m={[h.oZ.EBOOK]:{src:"/_next/static/media/ebook_banner.1b058514.webp",height:1435,width:1201,blurDataURL:"data:image/webp;base64,UklGRrYAAABXRUJQVlA4WAoAAAAQAAAABgAABwAAQUxQSDkAAAAAAEbJXpROCUC9//j//8Xq///2//+H1P//////Mrz/////3Aek/////48Ojf//7fI+BWfq1XoGAgAAVlA4IFYAAADwAQCdASoHAAgAAkA4JYwCdAEPDzlR3gAA/rf0iSuQy37YWn4/6v8aAuZ6P3MJx10JJdnEUA/eG2Ca3ovrntr/YZUjVzawA+pw1QVbO3zALIlXZcAAAA==",blurWidth:7,blurHeight:8},[h.oZ.BOOK_SUMMARY]:{src:"/_next/static/media/summary_banner.be595fd0.webp",height:1435,width:1201,blurDataURL:"data:image/webp;base64,UklGRr4AAABXRUJQVlA4WAoAAAAQAAAABgAABwAAQUxQSDkAAAAAAEbJXpROCUC9//j//8Xq///2//+H1P//////Mrz/////3Aek/////48Ojf//7fI+BWfq1XoGAgAAVlA4IF4AAABQAgCdASoHAAgAAkA4JYgCdEcAZIACh8WvJsAA8p/00RApKaHOY/+j3vIi3fprXh+zffH9jqIYB/0VR5uIhg9cEfrzO5qHxsyNu13QXz6WXTuSY6GunXizfvnN0AAA",blurWidth:7,blurHeight:8},[h.oZ.ENG_BOOK]:{src:"/_next/static/media/english_banner.3bfe2a06.webp",height:1435,width:1201,blurDataURL:"data:image/webp;base64,UklGRroAAABXRUJQVlA4WAoAAAAQAAAABgAABwAAQUxQSDkAAAAAAEbJXpROCUC9//j//8Xq///2//+H1P//////Mrz/////3Aek/////48Ojf//7fI+BWfq1XoGAgAAVlA4IFoAAADQAQCdASoHAAgAAkA4JZQCdADzetFcAAD8tPxH4ORU4SHQkGP/0HQg9UIlUoaiQN+tC57DvbjOWuhhPjxWJ1Hn7e62ZjxkfUUR5PuMxQIn0TbOSSv76QAAAAA=",blurWidth:7,blurHeight:8},[h.oZ.PODCOURSE]:u.Z},A={[h.oZ.BOOK]:{title:"S\xe1ch N\xf3i Bestseller & Äá»c Quyá»n",subtitle:"Ứng dụng S\xe1ch n\xf3i #1 Viá»t Nam. Má»i chương Äầu Äá»u miá»
n ph\xed."},[h.oZ.ENG_BOOK]:{title:"S\xe1ch Tiếng Anh Từ Oxford University Press",subtitle:"Há»c tiếng Anh qua bá» s\xe1ch chuẩn từ Oxford c\xf9ng phụ Äá» song ngữ."},[h.oZ.BOOK_SUMMARY]:{title:"T\xf3m Tắt S\xe1ch Cho Ngưá»i Báºn Rá»n",subtitle:"Nắm \xfd ch\xednh trong v\xe0i ph\xfat, gi\xfap bạn há»c nhanh v\xe0 \xe1p dụng ngay."},[h.oZ.EBOOK]:{title:"Ebook 100% C\xf3 Bản Quyá»n",subtitle:"Äá»c h\xe0ng ng\xe0n ebook chất lượng, má»i l\xfac má»i nÆ¡i tr\xean Fonos."},[h.oZ.MUSIC]:{title:"\xc2m Nhạc Thư Gi\xe3n",subtitle:"Thưá»ng thức \xe2m nhạc gi\xfap táºp trung, thư gi\xe3n v\xe0 n\xe2ng cao nÄng suất."},[h.oZ.SLEEP_STORY]:{title:"Truyá»n Ngá»§",subtitle:"Những c\xe2u chuyá»n nhẹ nh\xe0ng gi\xfap bạn thư gi\xe3n v\xe0 dá»
Äi v\xe0o giấc ngá»§."}
1,[h.oZ.MEDITATION]:{title:"Thiá»n Äá»nh",subtitle:"C\xe1c b\xe0i thiá»n Äá»nh gi\xfap giảm cÄng thẳng, táºp trung v\xe0 c\xe2n bằng t\xe2m tr\xed."},course:{title:"PodCourse Từ C\xe1c Chuy\xean Gia H\xe0ng Äầu",subtitle:"Há»c từ những ngưá»i giá»i nhất, trá» th\xe0nh phi\xean bản tá»t nhất."}},b=()=>(0,l.jsx)("a",{href:"/goi-hoi-vien/",className:g().promoLink,children:"ÄÄng k\xfd Há»i vi\xean"}),j={[h.oZ.EBOOK]:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b,{})," Äá» Äá»c miá»
n ph\xed má»i Ebook tr\xean Fonos, chá» từ"," ",(0,l.jsx)("strong",{children:"42.000Ä"}),"/th\xe1ng."]}),[h.oZ.BOOK_SUMMARY]:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b,{})," Äá» nghe & Äá»c miá»
n ph\xed má»i T\xf3m tắt s\xe1ch tr\xean Fonos, chá» từ ",(0,l.jsx)("strong",{children:"42.000Ä"}),"/th\xe1ng."]}),[h.oZ.ENG_BOOK]:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b,{})," Äá» nghe miá»
n ph\xed má»i S\xe1ch tiếng Anh tr\xean Fonos, chá» từ ",(0,l.jsx)("strong",{children:"42.000Ä"}),"/th\xe1ng."]})},w=()=>(0,l.jsxs)("svg",{width:"22",height:"42",viewBox:"0 0 22 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M13.0158 0.160181C11.6476 0.631802 10.7414 1.54835 10.7236 2.4738C10.7236 2.70516 10.7503 2.94542 10.7858 3.00771C10.9013 3.19458 11.6565 3.13229 12.1362 2.89203C12.998 2.4649 13.9753 1.228 14.2596 0.195775C14.3129 0.00890589 14.2863 7.39098e-06 13.8865 7.39098e-06C13.6555 0.00890589 13.2557 0.0711954 13.0158 0.160181Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M9.08881 0.88985C7.9605 1.57504 7.29417 2.94541 7.40078 4.36027C7.45409 5.07215 7.68508 5.96201 7.81835 5.96201C7.86277 5.96201 8.13818 5.73954 8.43137 5.46369C9.36422 4.60053 9.84398 3.35474 9.74625 2.04666C9.69294 1.35257 9.54191 0.71188 9.4353 0.71188C9.39976 0.71188 9.24872 0.791966 9.08881 0.88985Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M5.19745 4.45816C4.74435 4.96538 4.46894 5.61497 4.37121 6.38914C4.22906 7.59934 4.49559 8.79174 5.0553 9.44133L5.35737 9.79727L5.5706 9.59261C5.93485 9.25446 6.38796 8.20444 6.50345 7.44806C6.67225 6.35354 6.34353 4.8497 5.80159 4.25349C5.60613 4.03103 5.5706 4.03993 5.19745 4.45816Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M10.8653 4.40476C9.89693 4.67172 9.02627 5.25012 8.76862 5.81073C8.53763 6.30905 8.54651 6.42473 8.83969 6.51371C9.27503 6.63829 10.4122 6.6116 11.0252 6.45142C12.0469 6.18447 13.1575 5.46369 13.5306 4.823L13.6817 4.55604L13.2641 4.41366C12.7488 4.23569 11.505 4.23569 10.8653 4.40476Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M8.27142 7.61714C7.4274 7.91969 6.71666 8.56928 6.3524 9.37905C5.99702 10.171 5.99702 10.1888 6.66335 10.2155C7.73836 10.2689 8.72452 9.93076 9.47969 9.22777C10.1194 8.64047 10.6258 7.63494 10.3326 7.52816C10.0661 7.42137 8.65344 7.48366 8.27142 7.61714Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M2.36332 8.73833C1.92799 9.39682 1.75919 10.5981 1.94576 11.6126C2.08791 12.4134 2.57655 13.33 3.14515 13.8639C3.41168 14.1219 3.67821 14.3266 3.73151 14.3266C3.89143 14.3266 4.16685 13.5969 4.28234 12.8583C4.5311 11.2744 3.97139 9.70827 2.84308 8.80952L2.49659 8.53366L2.36332 8.73833Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M7.09865 11.3011C5.64161 11.5503 4.73541 12.5647 4.63768 14.0508L4.59326 14.7093L5.06413 14.6559C6.49451 14.4868 8.04927 13.0363 8.29803 11.6482C8.35134 11.3278 8.35134 11.3278 8.02262 11.2655C7.64059 11.2032 7.65836 11.2032 7.09865 11.3011Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M0.701919 13.944C0.542 14.3266 0.497579 15.5635 0.621959 16.133C0.897374 17.4856 2.04345 18.936 3.09181 19.2564C3.26949 19.3187 3.31392 19.2742 3.47383 18.9004C3.63375 18.5534 3.66041 18.3487 3.62487 17.6725C3.59821 16.9428 3.55379 16.7915 3.22507 16.1063C2.7009 15.0296 1.69697 13.9707 1.00399 13.7571C0.835184 13.7037 0.781878 13.7393 0.701919 13.944Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M6.68084 15.5279C5.63249 15.7593 4.86844 16.3644 4.40645 17.3432C4.17546 17.8326 4.13104 18.064 4.10439 18.7225L4.06885 19.5144L4.45087 19.4521C5.36596 19.3098 6.46762 18.4466 6.91184 17.5123C7.25833 16.8004 7.52486 15.3766 7.31163 15.4033C7.26721 15.4033 6.98291 15.4656 6.68084 15.5279Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M6.71677 19.6212C5.09094 20.3331 4.44238 21.1429 4.44238 22.4777C4.44238 23.065 4.56676 23.8035 4.70891 24.0171C4.84218 24.2485 5.44631 23.9815 6.03268 23.4476C6.91223 22.6289 7.4986 21.1429 7.44529 19.8793L7.41864 19.3098L6.71677 19.6212Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M0 20.0395C0 21.2497 0.524176 22.5132 1.36819 23.3586C2.00786 23.9993 2.60311 24.3018 3.3494 24.3641L3.90023 24.4086L3.96242 24.0705C4.22006 22.6734 2.94072 20.7068 1.21716 19.8615C0.906203
119.7102 0.506408 19.5589 0.328721 19.5322L0 19.47V20.0395Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M7.77376 23.4209C6.51218 24.0705 5.56156 26.046 5.85474 27.4074C5.96135 27.9325 6.28119 28.5732 6.45887 28.6354C6.64545 28.6888 7.58719 27.6655 7.84483 27.1227C8.23574 26.2951 8.37789 25.5299 8.32459 24.5154C8.29793 24.026 8.24463 23.5366 8.20021 23.4298L8.12913 23.2429L7.77376 23.4209Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M0.799805 25.2985C0.799805 25.3786 0.844226 25.6544 0.897532 25.9125C1.3151 27.9058 3.59837 29.6321 5.23309 29.1871L5.61512 29.0893L5.57958 28.6176C5.52628 27.968 5.20644 27.354 4.62007 26.7845C3.74941 25.9303 2.53225 25.3519 1.35952 25.2184C0.879764 25.165 0.799805 25.1828 0.799805 25.2985Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M9.49727 27.2651C9.08859 27.5498 8.75986 27.9858 8.41338 28.7244C8.18238 29.2227 8.12908 29.4541 8.10242 30.1304C8.07577 30.6465 8.10242 31.0736 8.1735 31.2872C8.31565 31.7232 8.7421 32.355 8.98197 32.4885C9.39954 32.711 10.0836 31.6253 10.359 30.3262C10.59 29.2583 10.4035 27.9147 9.9326 27.2473L9.80822 27.0604L9.49727 27.2651Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M11.7362 30.077C11.3009 30.6821 11.0877 31.3584 11.0344 32.266C10.9722 33.5741 11.3898 34.5885 12.2426 35.1936L12.6247 35.4606L12.7935 35.2381C13.3887 34.4728 13.5486 32.7109 13.1311 31.5363C12.9179 30.9312 12.3937 30.0325 12.1272 29.81C12.0294 29.7299 11.9495 29.7833 11.7362 30.077Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M3.00313 30.6287C2.81656 30.6821 2.66553 30.7533 2.66553 30.7978C2.66553 31.0202 3.08309 31.6609 3.46512 32.0347C3.97153 32.5241 5.0643 33.1203 5.82835 33.3161C6.74344 33.5563 7.78291 33.4762 8.21824 33.1559C8.39593 33.0224 8.38704 33.0135 8.13828 32.5241C7.69407 31.6698 6.76121 31.0291 5.43744 30.691C4.71781 30.5041 3.57173 30.4774 3.00313 30.6287Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M15.121 32.5152C14.1704 33.9123 14.3481 35.9767 15.512 37.009C15.9917 37.4272 16.818 37.7386 16.9868 37.5696C17.0489 37.5073 17.1023 37.0623 17.1289 36.4661C17.1911 34.8288 16.8268 33.7165 15.9117 32.7288C15.6541 32.444 15.4142 32.2127 15.3787 32.2127C15.352 32.2127 15.2365 32.3461 15.121 32.5152Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M19.1992 34.5529C18.7194 35.336 18.6306 36.742 18.9948 37.7119C19.3502 38.6552 20.1676 39.3226 21.1093 39.4738L21.4736 39.5272L21.5358 38.9488C21.669 37.7742 21.2426 36.1636 20.5763 35.247C20.2475 34.8021 19.6434 34.2593 19.4746 34.2593C19.4213 34.2593 19.2969 34.3928 19.1992 34.5529Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M7.49841 34.8644C6.9387 35.0335 6.41452 35.3182 6.21018 35.5585C6.10357 35.692 6.1391 35.7543 6.47671 36.0479C7.68498 37.1246 10.4569 37.2314 11.9139 36.2615C12.2604 36.039 12.2604 36.0301 12.1183 35.8076C11.9139 35.5051 11.3364 35.1136 10.7945 34.9267C10.1282 34.6864 8.21804 34.6508 7.49841 34.8644Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M13.0688 37.5518C12.5535 37.6585 11.6651 38.0857 11.3008 38.3971C11.1409 38.5306 10.9277 38.7975 10.8299 38.9844L10.6611 39.3315L10.9987 39.5005C12.3403 40.1857 15.1566 39.8031 16.1517 38.8064L16.4626 38.495L16.0895 38.1658C15.8851 37.9789 15.5298 37.7653 15.2988 37.6852C14.8012 37.5073 13.6107 37.4361 13.0688 37.5518Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M18.0618 39.6073C17.3511 39.7319 16.6581 40.0255 16.1783 40.4082C15.7252 40.7552 15.2277 41.4849 15.3165 41.6362C15.3521 41.6807 15.5742 41.7874 15.8318 41.8764C16.507 42.0989 18.0973 42.0099 19.0568 41.6985C19.8742 41.4315 20.6383 40.9599 20.8337 40.5772C20.9581 40.3281 20.9581 40.3192 20.7005 40.1323C20.0164 39.6429 18.9947 39.4382 18.0618 39.6073Z",fill:"white",fillOpacity:"0.6"})]}),O=()=>(0,l.jsxs)("svg",{width:"22",height:"42",viewBox:"0 0 22 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M7.30281 0.192554C7.61372 1.25133 8.5642 2.47026 9.41698 2.89734C9.90555 3.13756 10.6606 3.19984 10.7761 3.013C10.8116 2.95072 10.8383 2.71049 10.8383 2.47916C10.8294 1.97202 10.5185 1.39369 10.0388 0.984415C9.47028 0.512857 8.46649 0.076889 7.81803 0.0235052C7.24063 -0.02098
113 7.24063 -0.0209813 7.30281 0.192554Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M11.9753 1.04671C11.8065 1.58055 11.7532 2.66602 11.8687 3.23545C12.0464 4.054 12.5172 4.90814 13.1301 5.46867C13.4233 5.74449 13.6986 5.96692 13.743 5.96692C13.8763 5.96692 14.1072 5.07719 14.1605 4.3654C14.2405 3.21765 13.8763 2.18556 13.1123 1.4204C12.7926 1.10009 12.2596 0.717508 12.1352 0.717508C12.1086 0.717508 12.0375 0.868762 11.9753 1.04671Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M15.5994 4.51667C14.8621 5.69111 14.8088 7.41719 15.475 8.76958C15.6349 9.11657 15.8748 9.49026 15.9903 9.59703L16.2034 9.80167L16.5055 9.44577C17.0207 8.84965 17.1628 8.31582 17.1628 6.99012C17.1628 5.91354 17.1451 5.79788 16.9141 5.29963C16.6831 4.80138 16.1146 4.09849 15.9458 4.09849C15.9014 4.09849 15.7504 4.28534 15.5994 4.51667Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M8.25297 4.42769L7.87988 4.56115L8.03089 4.82807C8.42175 5.49537 9.70091 6.29612 10.6958 6.50076C11.2554 6.62532 12.81 6.58084 12.9343 6.45628C13.0587 6.31392 12.881 5.85126 12.5524 5.46867C12.1882 5.0416 11.4065 4.60564 10.678 4.4099C10.0207 4.24085 8.75931 4.24974 8.25297 4.42769Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M11.1492 7.52392C11.0693 7.6129 11.2114 8.05776 11.469 8.49373C11.7888 9.03647 12.4284 9.5881 13.1035 9.9084C13.6365 10.1575 13.7786 10.1842 14.5869 10.1931C15.422 10.1931 15.4753 10.1842 15.4486 10.0152C15.3864 9.61479 14.9245 8.83183 14.507 8.41365C13.8141 7.71966 13.3611 7.54172 12.1885 7.49723C11.6555 7.47944 11.1847 7.48833 11.1492 7.52392Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M18.5132 9.0009C17.5449 9.86393 17.0741 11.332 17.2785 12.8356C17.385 13.583 17.6604 14.3304 17.8292 14.3304C17.8825 14.3304 18.149 14.1257 18.4155 13.8677C18.984 13.3339 19.4726 12.4175 19.6147 11.6167C19.7568 10.8604 19.668 9.75717 19.4282 9.19664C19.1261 8.49375 19.0906 8.48485 18.5132 9.0009Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M13.4498 11.2786C13.2188 11.3142 13.2099 11.3409 13.2632 11.6434C13.5119 13.0403 15.0665 14.4905 16.4966 14.6596L16.9674 14.713L16.923 14.0546C16.8164 12.4708 15.7949 11.4298 14.187 11.2875C13.9206 11.2608 13.583 11.2608 13.4498 11.2786Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M20.1743 13.9656C18.9218 14.6952 17.918 16.4213 17.918 17.8715C17.9269 18.7612 18.1578 19.3574 18.4687 19.2595C18.8951 19.1349 19.2149 18.9125 19.6946 18.432C20.5651 17.5512 21.0359 16.3857 21.0182 15.1311C21.0093 14.4461 20.8671 13.7876 20.7161 13.7343C20.6628 13.7254 20.423 13.8232 20.1743 13.9656Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M14.2138 15.9497C14.3826 17.7292 15.6173 19.2239 17.1097 19.4552L17.5006 19.5175L17.4561 18.7257C17.3762 17.053 16.4435 15.8874 14.9067 15.5404C14.5603 15.4603 14.2582 15.3981 14.2227 15.3981C14.1872 15.3981 14.1872 15.6472 14.2138 15.9497Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M14.0981 19.9179C14.0981 21.2436 14.6667 22.6405 15.5106 23.4323C16.0879 23.9573 16.7186 24.242 16.8519 24.0196C16.994 23.806 17.1184 23.0676 17.1184 22.4803C17.1184 21.0924 16.3544 20.2026 14.5423 19.4908L14.0981 19.3129V19.9179Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M20.7428 19.7043C19.9878 20.0158 19.517 20.3183 19.0017 20.8254C17.9091 21.902 17.3673 23.2366 17.6249 24.1975C17.6782 24.3932 17.7048 24.4021 18.22 24.3665C18.9573 24.3043 19.5525 24.0017 20.1921 23.3611C21.036 22.5159 21.5601 21.2525 21.5601 20.0513C21.5601 19.3929 21.5245 19.384 20.7428 19.7043Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M13.3521 23.4323C13.3166 23.5391 13.2722 24.0284 13.2455 24.5178C13.1833 25.5321 13.3166 26.2884 13.7163 27.1247C13.9739 27.6674 14.9155 28.6906 15.1021 28.6372C15.2797 28.575 15.5995 27.9344 15.7061 27.4094C15.9993 26.0392 15.0399 24.0729 13.7696 23.4234L13.4054 23.2366L13.3521 23.4323Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M19.6145 25.3186C18.7351 25.5143 17.6425 26.1015 17.0029 26.7332C16.3633 27.356 16.0346 27.9522 15.9813 28.6195L15.9458 29.0821L16.2745 29.1889C16.7719 29.3579 17.5892 29.2423 18.2554 28.9131C18.9838 28.5572 19.8543 27.7297 20.2097 27.0713C20.4762 26.5731 20.7604 25.6834 20.7604 25.3453C20.7604 25.1495 20.4406 25.1406 19.6145 25.3186Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M11.54 27.4005C11.4334 27.5874 11.2824 28.0145 11.2025 28.3526C10.8915 29.6783 11.3357 31.5823 12.1263 32.3296C12.455 32.6411 12.6326 32.5788 13.0146 32.0093C13.4055 31.4399 13.5032 31.0484 13.4588 30.132C13.4321 29.4469 13.3788 29.2245 13.139 28.7084C12.8103 27.9967 12.375 27.4361 11.993 27.2137L11.7266 27.0624L11.54 27.4005Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M9.23928 30.0519C8.83066 30.5858 8.61746 30.9683 8.40427 31.5912C8.0223 32.7211 8.19108 34.4917 8.76848 35.2391L8.93725 35.4615L9.31922 35.1946C10.0921 34.6518 10.5451 33.6642 10.5451 32.5254C10.5451 31.5289 10.1365 30.2922 9.65678 29.8562C9.51465 29.7227 9.47912 29.7405 9.23928 30.0519Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M16.0882 30.7014C14.8002 31.0395 13.8586 31.6801 13.4233 32.5254C13.1746 33.0147 13.1657 33.0236 13.3433 33.1571C13.7697 33.4774 14.8535 33.5575 15.724 33.3261C16.9054 33.0147 18.229 32.125 18.6554 31.342C18.7887 31.1018 18.8953 30.8616 18.8953 30.8082C18.8953 30.5146 17.0742 30.4434 16.0882 30.7014Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M5.64161 32.7389C4.73554 33.7087 4.37133 34.8298 4.43351 36.4669C4.46016 37.063 4.51346 37.5079 4.57564 37.5701C4.74442 37.7392 5.57055 37.4278 6.05023 37.0096C7.0096 36.1644 7.32939 34.6073 6.81417 33.255C6.6454 32.8101 6.28119 32.214 6.18348 32.214C6.14794 32.214 5.9081 32.4453 5.64161 32.7389Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M1.59979 34.5718C0.551595 35.4526 -0.150167 37.4278 0.0274945 38.9848L0.0896759 39.5276L0.453881 39.4742C1.03128 39.3852 1.71527 39.0026 2.0706 38.5755C2.71906 37.7748 2.96779 36.5114 2.69241 35.4259C2.53252 34.812 2.24826 34.2604 2.07948 34.2604C2.0173 34.2604 1.80411 34.4027 1.59979 34.5718Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M11.0781 34.8298C10.1809 35.0878 9.34587 35.6839 9.40805 36.0131C9.44359 36.2178 10.1898 36.6181 10.856 36.7961C12.3039 37.1698 14.4447 36.7516 15.2087 35.9419L15.4752 35.6661L15.1643 35.4081C14.5958 34.9277 14.0095 34.7675 12.677 34.7408C11.8775 34.723 11.3446 34.7497 11.0781 34.8298Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M6.54766 37.5968C6.01468 37.7481 5.74818 37.8993 5.3751 38.2463L5.13525 38.4688L5.30403 38.709C5.51723 39.0115 6.35223 39.4564 7.03623 39.6343C8.28874 39.9546 9.78109 39.9012 10.5628 39.5009L10.9092 39.3229L10.7049 38.9492C10.1009 37.8638 8.02225 37.1876 6.54766 37.5968Z",fill:"white",fillOpacity:"0.6"}),(0,l.jsx)("path",{d:"M2.09729 39.5987C1.67979 39.6699 1.26229 39.8479 0.844782 40.1504C0.60494 40.3194 0.60494 40.3283 0.729302 40.5774C0.924729 40.96 1.68867 41.4316 2.50591 41.6985C3.46528 42.0099 5.05535 42.0989 5.73046 41.8764C5.98807 41.7875 6.21015 41.6807 6.24568 41.6362C6.33451 41.485 5.83706 40.7554 5.38402 40.4084C4.87769 39.9991 4.21146 39.7322 3.42087 39.5987C2.79905 39.5009 2.68357 39.5009 2.09729 39.5987Z",fill:"white",fillOpacity:"0.6"})]}),v=[{value:"4.7",label:"Äiá»m rating"},{value:"34K+",label:"Ä\xe1nh gi\xe1"},{value:"3.5M+",label:"Lượt tải"},],y=e=>{let{title:i,subtitle:t,breadcrumbs:a,mediaType:u=h.oZ.BOOK,variant:p,benefits:b=[],benefitsIntro:y,hideStats:Z=!1,hideDownload:L=!1,promoContent:M,bannerImage:B}=e,N=A[u]??A[h.oZ.BOOK],k=i??N.title,S=t??N.subtitle,I=m[u]??o.Z,R=u===h.oZ.BOOK,U=B??(R?C.Z:I),E=B??(R?c.Z:I),Q=B?B.src:R?`${C.Z.src} 1x, ${x.Z.src}
1 2x`:I.src,T=B?B.src:R?`${c.Z.src} 1x, ${d.Z.src} 2x`:I.src;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n(),{children:[(0,l.jsx)("link",{rel:"preload",as:"image",href:U.src,imagesrcset:Q,imagesizes:"201px",media:"(max-width: 39.999em)",fetchpriority:"high"}),(0,l.jsx)("link",{rel:"preload",as:"image",href:E.src,imagesrcset:T,imagesizes:"293px",media:"(min-width: 40em)",fetchpriority:"high"})]}),(0,l.jsxs)("div",{"data-media-type":"memberLibrary"===p?void 0:u,className:`${g().banner} ${["audiobook","memberLibrary"].includes(p)?g().audiobookBanner:""} ${"memberLibrary"===p?g().memberLibraryBanner:""}`,children:[(0,l.jsxs)("div",{className:g().inner,children:[(0,l.jsxs)("div",{className:g().left,children:[(0,l.jsxs)("div",{className:g().titleGroup,children:[a&&a.length>0&&(0,l.jsx)("nav",{"aria-label":"Breadcrumb",className:g().breadcrumb,children:(0,l.jsx)("ol",{style:{listStyle:"none",padding:0,margin:0,display:"flex",alignItems:"center",flexWrap:"wrap"},children:a.map((e,i)=>(0,l.jsxs)("li",{style:{display:"flex",alignItems:"center"},children:[i>0&&(0,l.jsx)("span",{className:g().breadcrumbSep,"aria-hidden":"true",children:"/"}),e.href?(0,l.jsx)(s.Z,{href:e.href,className:g().breadcrumbLink,prefetch:!1,children:e.label}):(0,l.jsx)("span",{className:g().breadcrumbCurrent,"aria-current":"page",children:e.label})]},i))})}),(0,l.jsx)("h1",{className:g().title,children:k}),b.length>0?(0,l.jsxs)("div",{className:g().benefits,children:[y&&(0,l.jsx)("p",{className:g().benefitsIntro,children:y}),(0,l.jsx)("ul",{className:g().benefitList,children:b.map(e=>(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{className:g().benefitIcon,"aria-hidden":"true",children:(0,l.jsx)(r.Z,{src:"/icons/payment/check-success.svg",alt:"",width:15,height:12})}),(0,l.jsx)("span",{children:e})]},e))})]}):(0,l.jsx)("p",{className:g().subtitle,children:S}),!Z&&(0,l.jsxs)("div",{className:g().stats,children:[(0,l.jsx)(w,{}),v.map(e=>(0,l.jsxs)("div",{className:g().statItem,children:[(0,l.jsx)("span",{className:g().statValue,children:e.value}),(0,l.jsx)("span",{className:g().statLabel,children:e.label})]},e.label)),(0,l.jsx)(O,{})]})]}),!L&&(0,l.jsx)(f.Z,{compact:["audiobook","memberLibrary"].includes(p)})]}),(0,l.jsx)("div",{className:g().right,children:(0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{media:"(max-width: 39.999em)",srcSet:Q,width:201,height:240,sizes:"201px"}),(0,l.jsx)("img",{src:E.src,srcSet:T,alt:"",className:g().phoneImg,fetchpriority:"high",loading:"eager",width:293,height:350,sizes:"(max-width: 39.999em) 201px, 293px"})]})})]}),(0,l.jsx)("p",{className:g().promo,children:M??(u===h.oZ.BOOK?(0,l.jsxs)(l.Fragment,{children:["Ưu Ä\xe3i:"," ",(0,l.jsx)(s.Z,{href:"/goi-hoi-vien/thanh-toan/",className:g().promoLink,prefetch:!1,children:"ÄÄng k\xfd Há»i vi\xean"})," ","ngay tr\xean web Äá» mua s\xe1ch vá»i gi\xe1 chá» ",(0,l.jsx)("strong",{children:"75.000Ä"}),"/cuá»n."]}):j[u]??(0,l.jsxs)(l.Fragment,{children:["Ưu Ä\xe3i:"," ",(0,l.jsx)("a",{href:"/goi-hoi-vien/",className:g().promoLink,children:"ÄÄng k\xfd Há»i vi\xean ngay tr\xean web"})," ","vá»i gi\xe1 chá» từ ",(0,l.jsx)("strong",{children:"69.000Ä"}),"/th\xe1ng. Há»§y bất cứ l\xfac n\xe0o."]}))})]})]})};var Z=y},1929:function(e,i,t){var l=t(85893),a=t(67294),n=t(88767),s=t(42401),r=t(10334),h=t(74580),o=t(31238),c=t(864),d=t(79941),C=t(93184),x=t.n(C);let u=()=>(0,l.jsx)("img",{src:"/images/audiobook-page/included.svg",width:"24",height:"24",alt:""}),f=e=>{let{mediaRoute:i,title:t="Miá»
n Ph\xed Cho Há»i Vi\xean",viewAllHref:C,viewAllLabel:f,viewAllAriaLabel:p,sessionShuffleKey:g,initialBooks:m=[]}=e,A=m.length>0,{data:b=[],isLoading:j}=(0,n.useQuery)(["included-audiobooks-with-reviews"],async()=>{let e=await (0,c.yX)({limitPerField:20}),i=await o.default.getBookContentReviewsByIds(e.map(e=>e.id??e._id));return e.map(e=>({...e,...(null==i?void 0:i[e.id])||(null==i?void 0:i[String(e.id)])||{}}))},{staleTime:3e5,cacheTime:6e5,refetchOnWindowFocus:!1,retry:0,enabled:!A,initialData:A?m:void 0}),w=A?m:b,O=(0,a.useMemo)(()=>(0,c.OB)(w).slice(0,20),[w]),v=(0,h.Z)(O,g,10),y=g?v:A?O.slice(0,10):(0,c.R2)(b);return j&&!y.length?(0,l.jsx)(d.Z,{title:t,titleIcon:(0,l.jsx)(u,{})}):y.length?(0,l.jsx)("div",{className:x().audiobookCarousel,children:(0,l.jsx)(s.ZP,{title:t,titleIcon:(0,l.jsx)(u,{}),books:y,viewAllLabel:f,viewAllAriaLabel:p,viewAllHref:C||`${i}/view-all/?type=included&title=${encodeURIComponent(t)}
1`,mediaType:r.oZ.BOOK})}):null};i.Z=f},19456:function(e,i,t){var l=t(85893),a=t(67294),n=t(88767),s=t(42401),r=t(10334),h=t(81960),o=t(79941),c=t(87939),d=t(93184),C=t.n(d);let x=[r.oZ.EBOOK,r.oZ.ENG_BOOK,r.oZ.BOOK_SUMMARY,],u={[r.oZ.BOOK]:"S\xe1ch N\xf3i Phá» Biến",[r.oZ.EBOOK]:"Ebook Phá» Biến",[r.oZ.BOOK_SUMMARY]:"T\xf3m Tắt S\xe1ch Phá» Biến",[r.oZ.ENG_BOOK]:"S\xe1ch Tiếng Anh Phá» Biến"},f=()=>(0,l.jsx)("img",{src:"/images/audiobook-page/trending.svg",width:"24",height:"24",alt:""}),p=e=>{try{let i=localStorage.getItem(e);if(!i)return;let{data:t,ts:l}=JSON.parse(i);if(Date.now()-l>6e5){localStorage.removeItem(e);return}return t}catch{return}},g=(e,i)=>{try{localStorage.setItem(e,JSON.stringify({data:i,ts:Date.now()}))}catch{}},m=e=>{let{mediaType:i,carouselCategoryId:d,enabled:m,mediaRoute:A,categoryName:b,categoryParam:j,viewAllHref:w,variant:O="topsale",titleIcon:v=(0,l.jsx)(f,{}),showDivider:y=!0,fallbackBooks:Z=[],reviewsEnabled:L=!0,title:M,useLocalCache:B=!0,sessionShuffleKey:N,freezeFallback:k=!1}=e,S=`topSales_${i}_${d??"all"}`,I=x.includes(i),R=k&&Z.length>0,{data:U=[],isLoading:E}=(0,n.useQuery)(["topSales",i,d??null],async()=>{if(I){let{default:e}=await t.e(7449).then(t.bind(t,77449)),{service:l}=e(i),a=await l.getTopSales({...d&&{categoryId:d}}),n=(null==a?void 0:a.items)??[];return g(S,n),n}let[{default:s},{default:r}]=await Promise.all([Promise.resolve().then(t.bind(t,23513)),Promise.resolve().then(t.bind(t,48559)),]),h=await s.getTopSales({...d&&{categoryId:d}}),o=Array.isArray(h)?h:(null==h?void 0:h.data)??[],c=o.map(e=>{let{id:i}=e;return i}).filter(Boolean),C=await r.findByIds(c),x=C.filter(Boolean).reduce((e,i)=>({...e,[String(i._id??i.id)]:i}),{}),u=c.map(e=>x[String(e)]).filter(Boolean).reverse();return g(S,u),u},{staleTime:3e5,cacheTime:6e5,enabled:m&&!R&&(i===r.oZ.BOOK||I),refetchOnWindowFocus:!1,initialData:()=>R?Z:B?p(S):void 0}),Q=R?Z:U.length?U:Z,{data:T}=(0,n.useQuery)(["contentReviews",i],async()=>{let{default:e}=await Promise.resolve().then(t.bind(t,31238));return e.getContentReview({mediaType:i})},{enabled:L&&!R,staleTime:3e5,refetchOnWindowFocus:!1,retry:0}),_=(0,a.useMemo)(()=>T?Q.map(e=>{let i=T[e.id]||T[String(e.id)]||void 0,t=Number((null==i?void 0:i.rating)||0);return{...e,...i,...I&&t>0?{bookContentReview:t,voiceReview:t}:{}}}):Q,[I,T,Q]),P=E&&!Z.length,F=(0,a.useMemo)(()=>d?_.filter(e=>{var i;let t=e.categories_id??(null===(i=e.categories)||void 0===i?void 0:i.map(e=>e.id))??[];return t.map(Number).includes(Number(d))}):_,[_,d]),H=(0,a.useMemo)(()=>N?(0,h.Z)(F,N).map((e,i)=>({...e,id:`${e.id??e._id??e.slug??e.title}-${i}`})):F,[F,N]);if(!P&&!H.length)return null;let K=M??(b?u[i]:I?u[i]:"B\xe1n Chạy Nhất Má»i Thá»i Äại"),X=b?(0,l.jsx)(c.Z,{title:K,categoryName:b}):K;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:i===r.oZ.BOOK||I?C().audiobookCarousel:"",children:P?(0,l.jsx)(o.Z,{title:X,titleIcon:v}):(0,l.jsx)(s.ZP,{title:X,titleIcon:v,books:H,viewAllHref:w||`${A}/view-all/?type=topSales${j}&title=${encodeURIComponent(K)}`,variant:O,mediaType:i,viewAllAriaLabel:b?`Xem tất cả ${K} - Chá»§ Äá» ${b}`:void 0})}),y&&(0,l.jsx)("hr",{className:C().divider})]})};i.Z=m},20367:function(e,i,t){var l=t(85893);let{useState:a,useRef:n,useEffect:s}=t(67294);i.Z=function(e){let{children:i}=e,[t,r]=a(!1),h=n(null);return s(()=>{let e=new IntersectionObserver(e=>{let[i]=e;i.isIntersecting&&r(!0)});return h.current&&e.observe(h.current),()=>e.disconnect()},[]),(0,l.jsx)("div",{ref:h,children:t&&i})}}}]);
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.