1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1351],{38873:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/room/history-list",function(){return n(62833)}])},47344:function(e,t,n){"use strict";var s=n(85893),r=n(41609),i=n.n(r),o=n(45697),a=n.n(o),c=n(9008),l=n.n(c),u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=e.description,r=e.url,o=e.image,a=e.options,c=function(){return i()(a)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("meta",{property:"og:site_name",content:"R50 Time"}),(0,s.jsx)("meta",{property:"og:locale",content:"vi_VN"}),(0,s.jsx)("meta",{property:"og:locale:alternate",content:"en_US"}),(0,s.jsx)("meta",{property:"og:locale:alternate",content:"ja_JP"}),(0,s.jsx)("meta",{property:"og:locale:alternate",content:"zh_TW"})]}):a};return(0,s.jsxs)(l(),{children:[(0,s.jsx)("title",{children:t}),n&&(0,s.jsx)("meta",{name:"description",content:n}),o&&(0,s.jsx)("meta",{property:"og:image",content:o}),r&&(0,s.jsx)("meta",{property:"og:url",content:r}),c()]})};u.propTypes={title:a().string.isRequired,description:a().string,image:a().string,url:a().string,options:a().node},t.Z=u},16198:function(e,t,n){"use strict";n.d(t,{h4:function(){return s.Z},W_:function(){return p},ow:function(){return v}});var s=n(13596),r=n(67573),i=n(85893),o=n(24278),a=n(80931),c=n(94184),l=n.n(c),u=n(72439),d=n(11163),x=n(79352),f=n(63165),h=n(50682),m=n.n(h),p=function(){var e=(0,o.Yp)(),t=e.conversationUnread,n=e.unreadFootprint,s=e.notiUnread,c=Number(s+n),h=t>99?"99+":t,p=c>99?"99+":c,g=(0,o.po)().pathProfileMe,j=(0,u.Z)(),b=(0,d.useRouter)(),v=[{route:f.Z5.HOME,title:j("bottom_tabs.home"),icon:function(e){return e?(0,i.jsx)(x.FXV,{}):(0,i.jsx)(x.eT8,{})}},{route:f.Z5.CONVERSATION.LIST,title:j("bottom_tabs.message"),icon:function(e){return e?(0,i.jsx)(x.WhK,{}):(0,i.jsx)(x.Fyy,{})},badge:t>0&&h},{route:f.Z5.ROOM.LIST,title:j("bottom_tabs.discuss"),icon:function(e){return e?(0,i.jsx)(x.IGw,{}):(0,i.jsx)(x.pbY,{})}},{route:g,title:j("bottom_tabs.profile"),icon:function(e){return e?(0,i.jsx)(x.EZi,{}):(0,i.jsx)(x.m7f,{})},badge:c>0&&p}];return(0,i.jsx)(a.nj,{activeKey:b.pathname,onChange:function(e){return b.replace(e)},className:l()("h-[60px] px-5",m().navigation),safeArea:!0,children:v.map((function(e){var t=b.asPath===e.route||b.pathname===e.route||b.asPath.substring(1).split("/")[0]===e.route.substring(1).split("/")[0];return(0,i.jsx)(a.nj.Item,{icon:e.icon,title:e.title,badge:e.badge,className:l()("relative !py-2.5",(0,r.Z)({},m().activeTab,t))},e.route)}))})},g=n(31368),j=n(52241),b=n.n(j),v=function(e){var t=e.children;return(0,i.jsx)("div",{className:(0,g.cn)("fixed bottom-0 left-1/2 z-50 mx-auto w-full max-w-[440px] -translate-x-1/2 bg-white px-3 pb-3 pt-2 shadow-md",b().shadow),children:t})}},25513:function(e,t,n){"use strict";var s=n(85893),r=n(27564),i=n(27354),o=n(80931),a=n(94184),c=n.n(a),l=n(27484),u=n.n(l),d=n(72439);t.Z=function(e){var t=e.className,n=e.status,a=e.item,l=e.onPress,x=e.inDetail,f=void 0!==x&&x,h=(0,d.Z)(),m=a||{},p=m.name,g=m.startAt,j=m.endAt,b=n?r.LV.EXPIRED===n:u()().isAfter(j,"minute"),v=n?r.LV.ACTIVE===n:u()().isBetween(g,j,"minute","[]");return(0,s.jsx)(i.sh,{onPress:function(){u()().isAfter(g)?null===l||void 0===l||l(a):o.u_.alert({content:(0,s.jsx)("span",{className:"flex w-full justify-center text-lg",children:h("code_error.CHATROOM_HAS_NOT_START")}),closeOnMaskClick:!0,confirmText:h("common.agree")})},className:c()("px-4 py-3",t),children:(0,s.jsx)("div",{className:c()({"border border-light-green-1 bg-light-green-4 text-sub"
1:b,"border-2 border-primary bg-light-green-2":v,"border border-primary text-main ":!b&&!v},"space-y-3 rounded-lg border-solid shadow-drop"),children:(0,s.jsx)("div",{className:"min-h-[24px]",children:(0,s.jsx)("span",{className:c()({"line-clamp-2":f},"min-w-0 break-words text-center text-xl font-bold leading-7"),children:p})})})})}},59563:function(e,t,n){"use strict";var s=n(85893),r=n(94184),i=n.n(r),o=n(45697),a=n.n(o),c=n(67294),l=n(16198),u=n(3683),d=(0,c.forwardRef)((function(e,t){var n=e.children,r=e.title,o=e.onBack,a=e.onMore,c=e.leftHeader,d=e.rightHeader,x=e.mainCls,f=e.showFooter,h=void 0===f||f;return(0,s.jsx)(u.Z,{children:(0,s.jsxs)(s.Fragment,{children:[r&&(0,s.jsx)(l.h4,{onBack:o,onMore:a,title:r,leftHeader:c,rightHeader:d}),(0,s.jsx)("main",{ref:t,className:i()("relative flex flex-1 flex-col overflow-y-auto overscroll-y-contain",x),children:n}),h&&(0,s.jsx)("footer",{className:"h-[60px] w-full flex-shrink-0 shadow-md",children:(0,s.jsx)(l.W_,{})})]})})}));d.propTypes={onBack:a().string,children:a().node,title:a().any,leftHeader:a().any,rightHeader:a().any,onMore:a().func,mainCls:a().string,app:a().any},t.Z=d},62833:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return g},default:function(){return j}});var s=n(85893),r=n(59563),i=n(27564),o=n(72439),a=n(11163),c=n(67294),l=n(97650),u=n(51278),d=n(13596),x=n(25513),f=n(63165),h=n(37640),m=n(15432),p=function(){var e=(0,l.YD)(),t=e.ref,n=e.inView,r=(0,a.useRouter)(),p=(0,o.Z)(),g=(0,h.il)({filter:i.mG.PAST}),j=g.data,b=g.isLoading,v=g.hasNextPage,y=g.isFetchingNextPage,_=g.fetchMore;(0,c.useEffect)((function(){n&&_()}),[n]);var w=function(e){r.replace("".concat(f.Z5.ROOM.LIST,"/").concat(null===e||void 0===e?void 0:e.id,"?redirect=").concat(f.Z4))};return(0,s.jsxs)("div",{className:"relative flex h-full w-full flex-col",children:[(0,s.jsx)(d.Z,{title:p("discuss.past_lounges"),onBack:function(){return r.replace(f.Z5.ROOM.LIST)}}),(0,s.jsxs)("div",{className:"flex-1 overflow-x-hidden overflow-y-scroll px-4 pb-20 pt-3",children:[b&&!y?(0,s.jsx)("div",{className:"flex-center",children:(0,s.jsx)(u.yC,{})}):(0,s.jsx)("div",{className:"space-y-2",children:null===j||void 0===j?void 0:j.map((function(e){return(0,s.jsx)("div",{children:(0,s.jsx)(x.Z,{status:i.LV.EXPIRED,onPress:w,item:e},e.id)},e.id)}))}),v&&(0,s.jsx)("div",{ref:t,className:"flex w-full justify-center py-4",children:y&&(0,s.jsx)(u.yC,{})})]}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 z-20 w-full bg-white py-2.5 px-4",children:(0,s.jsx)(m.Z,{})})]})},g=!0,j=function(){return(0,s.jsx)(r.Z,{children:(0,s.jsx)(p,{})})}},15432:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var s=n(80969),r=n(85893),i=n(24278),o=n(80931),a=n(45697),c=n.n(a),l=n(72439),u=n(11163),d=n(67294),x=n(51278),f=n(63165),h=n(37640),m=n(83541),p=n(27354),g=n(94184),j=n.n(g),b=n(41609),v=n.n(b),y=n(87536),_=n(5434),w=n(47344),N=n(3432),k=n(13596),P="title",Z=function(e){var t,n,s=e.doPostSubject,i=e.loading,o=e.onBack,a=(0,l.Z)(),c=(0,h.hs)(),u=(0,y.cI)({defaultValues:{title:""}}),d=u.control,f=u.handleSubmit,m=u.reset,g=null===(t=(0,u.watch)(P))||void 0===t||null===(n=t.trim)||void 0===n?void 0:n.call(t);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w.Z,{title:a("subject.lounge")}),(0,r.jsx)(k.Z,{leftHeader:(0,r.jsx)(p.sh,{onPress:o,children:(0,r.jsx)("div",{children:(0,r.jsx)(_.rpj,{size:18})})}),title:a("subject.lounge"),className:"!h-9 !px-1"}),(0,r.jsxs)("form",{className:"flex h-full flex-col",children:[(0,r.jsx)("main",{className:"relative flex h-full flex-1 flex-col bg-white shadow-drop",children:(0,r.jsxs)("div",{className:"absolute inset-0 h-full w-full overflow-y-auto overscroll-contain px-4 py-2 pt-[66px]",children:[(0,r.jsx)("h3",{className:"text-center text-lg font-bold",children:a("subject.themed")}),(0,r.jsxs)("div",{className:"mt-7",children:[(0,r.jsx)(N.oi,{name:P,control:d,maxLength:60,placeholder:a("subject.input_placehoder_submit_subject",{length:60})}),(0,r.jsx)("div",{className:"ml-4 text-sm font-normal text-gray",children:a("subject.description_title",{max:60})})]})]})}),(0,r.jsx)("footer",{className:j()("absolute bottom-0 h-[68px] w-full flex-shrink-0 p-4 pt-3 shadow-bottom",c?"hidden":"block"),children:(0,r.jsx)(x.zx,{type:"submit",disabled:v()(g),onPress:f((function(e){var t=e.title;try{s({title:t},{onSuccess:function(){m()}})}catch(n){}})),children:a("subject.recruitment")})})]}),(0,r.jsx)(x.d0,{visible:i})]})};Z.propTypes={doPostSubject:c().any,loading:c().bool,onBack:c().func};var S=Z,T=n(25675),R=n.n(T),V=function(e){var t=e.onBack,n=(0,l.Z)();return(0,r.jsxs)("div",{className:"px-4 pt-[146px] text-center",children:[(0,r.jsx)("p",{className:"mb-[48px] text-lg font-bold",children:n("subject.app_completed")}),(0,r.jsx)("div",{children:(0,r.jsx)(R(),{width:120,height:120,src:"/images/StarGreen.png"})}),(0,r.jsx)("p",{className:"mt-[40px] whitespace-pre-line text-[18px]",children:n("subject.thanks_you_app")}),(0,r.jsx)(x.zx,{className:"mt-6",onPress:t,children:(0,r.jsx)("p",{children:n("subject.back_to_common_room")})})]})};V.propTypes={onBack:c().func};var O=V,C=function(e){var t=e.className,n=(0,i.po)(),a=n.me,c=n.isFemale,p=n.isMale,g=a||{},j=g.isAgeVerified,b=g.isPremium,v=(0,u.useRouter)(),y=(0,l.Z)(),_=(0,d.useState)(!1),w=_[0],N=_[1],k=(0,s.Z)((0,h.P5)(!1),3),P=k[0],Z=k[1],T=k[2],R=(0,s.Z)((0,i.hq)({onSuccess:function(){return N(!0)}}),2),V=R[0],C=R[1],I=(0,m.a9)().doPostPremiumRoute;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:t,children:(0,r.jsx)(x.zx,{onPress:function(){p&&!b||c&&!j?function(){var e=y(p?"message.paid_member_function":"discuss.your_safety"),t=y(p?"discuss.paid_to_request":"discuss.must_verify_your_id"),n=y(p?"message.become_paid_member":"discuss.age_verify_btn"),s=o.u_.show({title:e,forceRender:!0,bodyStyle:{width:"343px"},content:(0,r.jsxs)("div",{className:" px-5",children:[(0,r.jsx)("p",{className:"text-center text-lg leading-6 tracking-[1px]",children:t}),(0,r.jsx)(x.zx,{onPress:function(){I(f.IC.CHAT_ROOM),v.replace("/profile/member-status?redirect=".concat(v.asPath)),s.close()},className:"mt-5 shadow-drop",children:n}),(0,r.jsx)(x.zx,{variant:"secondary",onPress:function(){return s.close()},style:{boxShadow:"0px 4px 10px 4px rgba(85, 155, 235, 0.2)"},className:"mt-5 shadow-drop",children:y("common.cancel")})]}),closeOnMaskClick:!0})}():Z()},children:y("discuss.recruiment")})}),(0,r.jsx)(o.GI,{bodyStyle:{width:"100vw",maxWidth:396},visible:P,onMaskClick:T,onClose:function(){T(),N(!1)},position:"right",children:P&&(0,r.jsx)(r.Fragment,{children:w?(0,r.jsx)(O,{onBack:function(){T(),N(!1)}}):(0,r.jsx)(S,{doPostSubject:V,loading:"loading"===C,onBack:T})})})]})};C.propTypes={className:c().string};var I=C},50682:function(e){e.exports={navigation:"styles_navigation__HKVzN",activeTab:"styles_activeTab__VEJ17"}},52241:function(e){e.exports={shadow:"styles_shadow__ey1gR"}},9008:function(e,t,n){e.exports=n(5443)},97650:function(e,t,n){"use strict";n.d(t,{YD:function(){return u}});var s=n(67294);const r=new Map,i=new WeakMap;let o,a=0;function c(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(i.has(n)||(a+=1,i.set(n,a.toString())),i.get(n)):"0"):e[t]}`;var n})).toString()}function l(e,t,n={},s=o){if("undefined"===typeof window.IntersectionObserver&&void 0!==s){const r=e.getBoundingClientRect();return t(s,{isIntersecting:s,target:e,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}const{id:i,observer:a,elements:l}=function(e){let t=c(e),n=r.get(t);if(!n){const s=new Map;let i;const o=new IntersectionObserver((t=>{t.forEach((t=>{var n;const r=t.isIntersecting&&i.some((e=>t.intersectionRatio>=e));e.trackVisibility&&"undefined"===typeof t.isVisible&&(t.isVisible=r),null==(n=s.get(t.target))||n.forEac
1h((e=>{e(r,t)}))}))}),e);i=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:s},r.set(t,n)}return n}(n);let u=l.get(e)||[];return l.has(e)||l.set(e,u),u.push(t),a.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(l.delete(e),a.unobserve(e)),0===l.size&&(a.disconnect(),r.delete(i))}}s.Component;function u({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:i,triggerOnce:o,skip:a,initialInView:c,fallbackInView:u,onChange:d}={}){var x;const[f,h]=s.useState(null),m=s.useRef(),[p,g]=s.useState({inView:!!c,entry:void 0});m.current=d,s.useEffect((()=>{if(a||!f)return;let s=l(f,((e,t)=>{g({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&o&&s&&(s(),s=void 0)}),{root:i,rootMargin:r,threshold:e,trackVisibility:n,delay:t},u);return()=>{s&&s()}}),[Array.isArray(e)?e.toString():e,f,i,r,o,a,n,u,t]);const j=null==(x=p.entry)?void 0:x.target;s.useEffect((()=>{f||!j||o||a||g({inView:!!c,entry:void 0})}),[f,j,o,a,c]);const b=[h,p.inView,p.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}}},function(e){e.O(0,[3683,9774,2888,179],(function(){return t=38873,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.