"use strict";(self.webpackChunkbongacams=self.webpackChunkbongacams||[]).push([[686,592],{53013:function(e,n,t){t.d(n,{a:function(){return a}});var i=t(15215),o=t(27510),a=t(19826).A.action((function(e,n){return[o.j.PRIVATE_CHAT,o.j.FULL_PRIVATE_CHAT].includes(n)&&localStorage.setItem("lastPrivateType",n),{chatInternalState:(0,i.Cl)((0,i.Cl)({},e.chatInternalState),{paidShowPopup:(0,i.Cl)((0,i.Cl)({},e.chatInternalState.paidShowPopup),{type:n})})}}))},40742:function(e,n,t){t.r(n),t.d(n,{InvitePopup:function(){return N},default:function(){return k}});var i=t(22078),o=t(50172),a=function(e){var n=e.onClick;return(0,o.h)("div",{className:"invite-action"},(0,o.h)("button",{className:"mls_btn mls_btn_green","data-testid":"accept-button",onClick:n},__("Start Private Chat")))},l=t(68811),r=t(13907),s=t(53013),c=t(77482),u=t(19826),d=t(26616),_=t(17402),p=t(80554),h=t(98614),m=t(8546),v=t(2268),f=function(e){var n=e.private_chat;return void 0===n||n&&void 0===n.privateChatTokensPerMinute?null:(0,o.h)(_.Fragment,null," (",(0,o.h)("span",{className:(0,m.n)({ip_custom:n.isPrivateChatPriceChanged})},n.privateChatTokensPerMinute," ",v.kX.pluralise("tokens",n.privateChatTokensPerMinute))," ".concat(__("per minute"),")"))},b=function(e){var n=e.children;return(0,o.h)("span",{className:"invite_price"},(0,o.h)("span",{className:"bc_bold"},__("%_tmp_%Private Chat")),n)},g=function(e){var n=e.private_chat;return void 0===n||n&&void 0===n.privateChatTokensPerMinute?null:(0,o.h)(b,null,(0,o.h)("span",{className:"ip_custom_wrap"},(0,o.h)(f,{private_chat:n})))},C=function(e){var n=e.private_chat;return void 0===n||n&&void 0===n.privateChatTokensPerMinute?null:(0,o.h)(b,null,(0,o.h)(f,{private_chat:n}))},N=(0,h.Ng)((function(e){return{privatePopupOptions:e.privatePopupOptions}}))((function(e){var n=e.privatePopupOptions,t=n.chat_show_invite,h=n.private_chat,m=n.privateChatInvitationSettings,v=e.isShow;if(!(0,i.j)(t)||void 0===h)return null;var f=function(e){var n=e.isShow,t=void 0!==n&&n,i=e.id,o=e.source,a=e.displayName,h=e.privateChatInvitationSettings,m=void 0===h?"all":h,v=e.accept,f=void 0===v?d.noop:v,b=e.decline,g=void 0===b?d.noop:b,C=(0,_.useState)(!1),N=C[0],k=C[1],P=(0,_.useRef)(!1),w=(0,_.useRef)(null),y=(0,_.useRef)(null),A=(0,_.useCallback)((function(e){var n,t;y.current&&w.current&&w.current.abort(),w.current=new AbortController;var a=(0,r.Go)((0,r.ip)("@track_url"),{csiid:i,source:o,act:e}),l={cache:"no-cache",method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}};(null===(n=w.current)||void 0===n?void 0:n.signal)&&(l.signal=w.current.signal),y.current=!0,null===(t=window.fetch)||void 0===t||t.call(window,a,l).then((function(){y.current=!1}))}),[i,o]),S=function(){var e,n;if(!P.current&&"none"!==m){var t=u.A.getState().isFloatingPlayer;if("friends"===m){if(!u.A.getState().isFollowingsLoaded)return void(0,l.n)(S);if(!(0,c.qs)(null===(n=null===(e=null===window||void 0===window?void 0:window.chat)||void 0===e?void 0:e.performerData)||void 0===n?void 0:n.username))return}t?A("show"):((0,s.a)(null),A("show"),P.current=!0,k(!0))}};return(0,_.useEffect)((function(){return function(){var e;w.current&&(null===(e=w.current)||void 0===e||e.abort()),P.current=!1,k(!1)}}),[a]),(0,_.useEffect)((function(){return t&&S(),document.addEventListener(p.R.INVITE_POPUP_SHOW,S),function(){document.removeEventListener(p.R.INVITE_POPUP_SHOW,S)}}),[]),(0,_.useEffect)((function(){var e=function(){P.current&&(P.current=!1,k(!1),g())},n=function(){P.current&&(P.current=!1,k(!1))};return N&&(document.addEventListener(p.R.INVITE_POPUP_CANCEL,e),document.addEventListener(p.R.INVITE_POPUP_CANCEL_MODEL,n)),function(){document.removeEventListener(p.R.INVITE_POPUP_CANCEL,e),document.removeEventListener(p.R.INVITE_POPUP_CANCEL_MODEL,n)}}),[N,g]),(0,_.useEffect)((function(){var e=0;return N&&(e=window.setTimeout((function(){P.current=!1,k(!1),g()}),6e4)),function(){clearTimeout(e)}}),[N,g]),{show:N,declineInvite:function(){A("close"),P.current=!1,k(!1),g()},acceptInvite:function(){A("click"),P.current=!1,k(!1),f()}}}({isShow:v,id:t.chatShowInvitationVersion,source:t.sourceType,displayName:t.displayName,privateChatInvitationSettings:m,accept:function(){var e;return null===(e=null===window||void 0===window?void 0:window.chat)||void 0===e?void 0:e.acceptInvite()},decline:function(){var e;return null===(e=null===window||void 0===window?void 0:window.chat)||void 0===e?void 0:e.declineInvite()}}),b=f.show,N=f.declineInvite,k=f.acceptInvite;if(!b)return null;var P=trans("%modelname% invites you to Private Chat!",{modelname:''.concat(t.displayName,"
")});return(0,o.h)(_.Fragment,null,3===t.chatShowInvitationVersion&&(0,o.h)("div",{id:"bInvitePopup",className:"private-invite invite-dark-panel",style:{display:"block"},"data-testid":"bInvitePopup"},(0,o.h)("span",{className:"close","data-testid":"bInvitePopup-close-btn",onClick:N}),(0,o.h)("div",{className:"invite-title"},(0,o.h)("div",{className:"invite-avatar",style:{backgroundImage:"url('".concat(t.avatarUrl,"')")}}),P),(0,o.h)("div",{className:"invite-body"},(0,o.h)("p",null,__("Let's get naughly right now!")),(0,o.h)("p",null,__("I want to chat with you one-on-one...")),(0,o.h)(C,{private_chat:h})),(0,o.h)(a,{onClick:k})),1===t.chatShowInvitationVersion&&(0,o.h)("div",{id:"bInvitePopup",className:"private-invite-popup bongacams_popup_v2",style:{display:"block"},"data-testid":"bInvitePopup"},(0,o.h)("div",{className:"popup_header"},(0,o.h)("div",{className:"popup_close close","data-testid":"bInvitePopup-close-btn",onClick:N},(0,o.h)("div",{className:"popup_close_arrow"}))),(0,o.h)("div",{className:"popup_content"},(0,o.h)("div",{className:"private-invite invite-popup _avatar_left"},(0,o.h)("div",{className:"invite-title"},P),(0,o.h)("div",{className:"invite-body"},(0,o.h)("div",{className:"invite-avatar",style:{backgroundImage:"url('".concat(t.avatarUrl,"')")}}),(0,o.h)("p",{className:"title"},__("Let's get naughly right now!")),(0,o.h)("p",null,__("I want to chat with you one-on-one..."))),(0,o.h)(C,{private_chat:h}),(0,o.h)(a,{onClick:k})))),2===t.chatShowInvitationVersion&&(0,o.h)("div",{id:"bInvitePopup",className:"private-invite-popup bongacams_popup_v2",style:{display:"block"},"data-testid":"bInvitePopup"},(0,o.h)("div",{className:"popup_header"},(0,o.h)("div",{className:"popup_close close","data-testid":"bInvitePopup-close-btn",onClick:N},(0,o.h)("div",{className:"popup_close_arrow"}))),(0,o.h)("div",{className:"popup_content"},(0,o.h)("div",{className:"private-invite invite-popup _avatar_top"},(0,o.h)("div",{className:"invite-title"},(0,o.h)("div",{className:"invite-avatar",style:{backgroundImage:"url('".concat(t.avatarUrl,"')")}}),(0,o.h)("div",{className:"invite-text"},P)),(0,o.h)("div",{className:"invite-body"},(0,o.h)("div",{className:"invite-body_wrp bc_flex"},(0,o.h)("div",{className:"invite-body_left"},(0,o.h)("div",{className:"invite-avatar",style:{backgroundImage:"url('".concat(t.avatarUrl,"')")}}),(0,o.h)("p",{className:"invite-model"},(0,o.h)("span",{className:"invite-model_inner"},t.displayName))),(0,o.h)("div",{className:"invite-body_right"},(0,o.h)("p",{className:"title"},__("I'm already so wet...")),(0,o.h)("p",null,__("Let's get some privacy!")))),(0,o.h)(g,{private_chat:h})),(0,o.h)(a,{onClick:k})))))})),k=N},33840:function(e,n,t){t.r(n),t.d(n,{MemberChatLayout:function(){return gi}});var i=t(50172),o=t(17402),a=t(46517),l=t(19826),r=t(35626),s=t(9445),c=t(16994),u=t(40172),d=t(22078),_=t(37733),p=t(85730),h=t(57733),m=t(26580),v=t(47885),f=(0,o.memo)((function(){var e=(0,a.d4)(u.U7),n=(0,o.useCallback)((function(){h.A.instance.open?h.A.instance.closePanel():h.A.instance.openPanel()}),[]);return e?(0,i.h)("div",{className:"chfs_btn __icon chfs_btn_chat_panel",onClick:n},(0,i.h)(m.A,{group:"chfs_icon __quote",icon:"#svg_ch_fs_quote",url:v.g5}),(0,i.h)(m.A,{group:"chfs_icon __cross",icon:"#svg_ch_fs_cross",url:v.g5})):null})),b=t(80877),g=t(15215),C=t(8546),N=t(5117),k=t(33954),P=t(15564),w=function(){return(0,i.h)("div",(0,g.Cl)({id:"mnw",className:"what"},(0,P.A)({baseId:"chat_model_navigation_hint"})),(0,i.h)(m.A,{group:"mn_w_icon",icon:"#svg_icon_help",url:N.z}),(0,i.h)("div",{className:"navigatorHint"},(0,i.h)("div",{className:"block popover-light"},(0,i.h)("div",{className:"corner top"}),(0,i.h)("div",{className:"inner popover-light-inner"},(0,i.h)("div",{className:"closeBtn popover-light-close"}),k.isRTLCulture&&(0,i.h)(i.FK,null,(0,i.h)("div",{className:"prev text"},__("Next Model"),(0,i.h)("span",null,__("(left arrow key)"))),(0,i.h)(m.A,{group:"block_bg",icon:"#svg_ch_stream_arrow",url:v.g5}),(0,i.h)("div",{className:"next text"},__("Previous Model"),(0,i.h)("span",null,__("(right arrow key)")))),!k.isRTLCulture&&(0,i.h)(i.FK,null,(0,i.h)("div",{className:"prev text"},__("Previous Model"),(0,i.h)("span",null,__("(left arrow key)"))),(0,i.h)(m.A,{group:"block_bg",icon:"#svg_ch_stream_arrow",url:v.g5}),(0,i.h)("div",{className:"next text"},__("Next Model"),(0,i.h)("span",null,__("(right arrow key)"))))))))},y=t(62271),A=function(){var e=(0,a.d4)(u._T).promoEmbedChat;return(0,i.h)("div",{className:"memberNavigation"},(0,i.h)("div",{id:"bModelNavigator",className:(0,C.n)({promoVisible:e})},(0,i.h)("div",{id:"navigator_wrapper",className:"navigator_wrapper"},(0,i.h)("a",(0,g.Cl)({id:"bCamControlsPrevRoom",className:(0,C.n)({mn_link:!0,"js-prev_chat_room":e}),onClick:function(e){e.preventDefault(),y.h.instance.prevRoom()}},(0,P.A)({baseId:"bCamControlsPrevRoom"})),(0,i.h)("span",{className:"prev mn_arrow"})," ",(0,i.h)("span",{className:"nav_text"},(0,i.h)("span",{className:"std"},__("Previous model")),(0,i.h)("span",{className:"sm"},__("Previous%_model_%"))))," ",(0,i.h)(w,null)," ",(0,i.h)("a",(0,g.Cl)({id:"bCamControlsNextRoom",className:(0,C.n)({mn_link:!0,"js-next_chat_room":e}),onClick:function(e){e.preventDefault(),y.h.instance.nextRoom()}},(0,P.A)({baseId:"bCamControlsNextRoom"})),(0,i.h)("span",{className:"nav_text"},(0,i.h)("span",{className:"std"},__("Next model")),(0,i.h)("span",{className:"sm"},__("Next%_model_%")))," ",(0,i.h)("span",{className:"next mn_arrow"})))))},S=t(41042),T=t(65771),B=(0,o.memo)((function(){var e=(0,a.d4)(S.BH);return(0,i.h)(T.M,{className:(0,C.n)({chat_tabs_scroll:!e,__chat_control_panel_bng18409:e}),contentClassName:(0,C.n)({chat_tabs_scroll_content:!e}),wrapperClassName:(0,C.n)({chat_tabs_scroll_wrapper:!e}),name:"chat_tabs_scroll",withScrollPanel:!0,isHideBarOutside:!0,isNativeScroll:!e,isOutWrapBar:!0},(0,i.h)("div",{className:"chat_users_container"},(0,i.h)("div",{className:"users modelUsers chat_users js-chat_tab_content"})))})),L=t(41669),x=function(e){var n=e.children,t=(0,o.useRef)(null),a=(0,o.useMemo)((function(){return L(document)}),[]);return(0,o.useEffect)((function(){a.triggerHandler("onRoomReady",[L(t.current)])}),[t]),(0,i.h)("div",{id:"bChat",ref:t},n)},E=t(87276),M=t(63065),I=t(58927),R=t(40793);function O(e){var n;return null===(n=(0,R.c)(e))||void 0===n?void 0:n.profileDetails}function H(e){return Boolean(O(e))}function D(e){var n;return null===(n=O(e))||void 0===n?void 0:n.onlineText}function F(e){var n;return null===(n=O(e))||void 0===n?void 0:n.offlineText}function j(e){var n;return null===(n=(0,R.c)(e))||void 0===n?void 0:n.tags}function U(e){return Boolean(j(e))}var V=t(13907),W=(0,o.memo)((function(e){var n=e.items,t=(0,o.useMemo)((function(){return Array.isArray(n)?null==n?void 0:n.map((function(e,t){return(0,i.h)(i.FK,{key:e.title},(0,i.h)("span",{className:"mplg_li_item"},(0,i.h)("span",{className:"mplg_caption"},e.title,!e.withFlag&&t!==n.length-1&&","),e.withFlag&&(0,i.h)("img",{className:"mplg_flag",alt:"",src:(0,V.oF)("sprite/bc/model_flags_atlas2.svg#svg_".concat(e.code))})))})):null}),[n]);return(0,i.h)(i.FK,null,t)})),q=function(e,n){var t,i;if(!(null===(i=null===(t=e.miniProfile.profileDetails)||void 0===t?void 0:t.items)||void 0===i?void 0:i.length))return e;var o=e.miniProfile.profileDetails.items.map((function(e){return"lastBroadcast"===e.id?(0,g.Cl)((0,g.Cl)({},e),{value:[n]}):e}));return{miniProfile:(0,g.Cl)((0,g.Cl)({},e.miniProfile),{profileDetails:(0,g.Cl)((0,g.Cl)({},e.miniProfile.profileDetails),{items:o})})}},z=t(39222),G=t(7526),Y=(0,o.memo)((function(){var e,n,t,l=(0,a.d4)(O);if(e=(0,a.wA)(),n=(0,a.d4)(D),t=(0,a.d4)(F),(0,o.useEffect)((function(){G.I.on("ServerMessageEvent:PERFORMER_STATUS_CHANGE",(function(i){var o=[z.Q.STATUS_PUBLIC].includes(i);e(q)(o?n:t)}))}),[e,n,t]),!(0,d.j)(l))return null;var r=l.items;return(0,i.h)("div",{className:"mplg_i_list mplg_details"},null==r?void 0:r.map((function(e){var n="languages"===e.id,t="name"===e.id;return e.value?(0,i.h)("div",{key:e.label,className:"mplg_list_row"},(0,i.h)("div",{className:"mplg_list_item __title"},e.label),(0,i.h)("div",{className:(0,C.n)({mplg_list_item:!0,__name:t})},!n&&Array.isArray(e.value)&&e.value.join(", "),n&&(0,i.h)(W,{items:e.value}))):null})))})),K=t(19223),X=t(53336),J=t(26616),Z="MiniProfileTagsModal_AllLink",$="MiniProfileTagsModal_CheckboxDontShow",Q="MiniProfileTagsModal_CloseBtn",ee="MiniProfileTagsModal_Modal",ne=t(65362),te=t(43921),ie="MiniProfileTagsModalFullPrivateChatButton_BTN",oe=t(27510),ae=(0,o.memo)((function(e){var n=(e||{}).text,t=void 0===n?"":n,a=function(e){void 0===e&&(e={});var n=(e||{}).handleClose,t=void 0===n?J.noop:n;return{handleClickFullPrivateChat:(0,o.useCallback)((function(e){return e.preventDefault(),chat.paidShowPopup(oe.j.FULL_PRIVATE_CHAT,!0),window.scrollTo(0,0),t(),!1}),[t])}}(e).handleClickFullPrivateChat;return(0,i.h)(te.$,{className:"__full_private",hint:t,iconType:"#svg_btna_mpl_full_private",testId:ie,wrapClass:"__full_private",handler:a})})),le="MiniProfileTagsModalImButton_BTN",re=function(e){void 0===e&&(e={});var n=(e||{}).handleClose,t=void 0===n?J.noop:n;return{handleClickImButton:(0,o.useCallback)((function(){return chat.sendPM(!0),t(),!1}),[t])}},se=t(74213),ce=t(99353),ue=(0,ce.s)((function(){return se.M.reportEvent(57)}),1e3,!0),de="MiniProfileProfileActionsImButtonBase_BTN",_e=function(e){var n=e.privateMessageButton,t=void 0===n?{}:n,o=e.isDisabled,a=void 0!==o&&o,l=e.isSmall,r=void 0!==l&&l,s=e.handleClickImButton,c=void 0===s?J.noop:s,u=t||{},_=u.hint,p=void 0===_?"":_,h=u.isBadgeNew,m=void 0!==h&&h;return(0,d.j)(t)?(0,i.h)(te.$,{className:"__im",hint:p,iconType:"#svg_btna_send_message",testId:de,isDisabled:a,isSmall:r,handler:c},m&&(0,i.h)("span",{className:"mplg_btn_badge"},(0,i.h)("img",{className:"mplg_btnb_icon",alt:"",src:(0,V.oF)("svg/bc/icon/icon_new_OS_8_white.svg")}))):null},pe=function(e){var n,t=e.privateMessageButton,a=void 0===t?{}:t,l=e.isDisabled,r=void 0!==l&&l,s=e.isSmall,c=void 0!==s&&s,u=(n=re().handleClickImButton,{handleClickImButton:(0,o.useCallback)((function(e){return se.M.hasEvent(57)&&ue(),n(e)}),[n])}).handleClickImButton;return(0,i.h)(_e,{privateMessageButton:a,isDisabled:r,isSmall:c,handleClickImButton:u})},he=re,me=(0,o.memo)((function(e){var n=(e||{}).text,t=void 0===n?"":n,o=he(e).handleClickImButton;return(0,i.h)(te.$,{className:"__im",hint:t,iconType:"#svg_btna_send_message",testId:le,wrapClass:"__im",handler:o})})),ve="MiniProfileTagsModalPrivateChatButton_BTN",fe=function(e){var n=e.text,t=void 0===n?"":n,a=function(e){var n=(e||{}).handleClose,t=void 0===n?J.noop:n;return{handleClickPrivateChat:(0,o.useCallback)((function(e){return e.preventDefault(),chat.paidShowPopup(oe.j.PRIVATE_CHAT,!0),window.scrollTo(0,0),t(),!1}),[t])}}(e).handleClickPrivateChat;return(0,i.h)(te.$,{className:"__private",hint:t,iconType:"#svg_btna_mpl_private",testId:ve,wrapClass:"__private",handler:a})},be="MiniProfileTagsModalTipButton_BTN",ge=function(e){var n=(e||{}).text,t=void 0===n?"":n,a=function(e){void 0===e&&(e={});var n=(e||{}).handleClose,t=void 0===n?J.noop:n;return{handleClickSendTipModel:(0,o.useCallback)((function(e){return e.preventDefault(),chat.tipPopup(),window.scrollTo(0,0),t(),!1}),[t])}}(e).handleClickSendTipModel;return(0,i.h)(te.$,{className:"__tip",hint:t,iconType:"#svg_btna_send_tip",testId:be,wrapClass:"__tip",handler:a})},Ce=function(e){var n,t,a=e.modalArrowRef,l=void 0===a?(0,i._3)():a,r=e.modalRef,s=void 0===r?(0,i._3)():r,c=e.modalData,u=e.positionModal,d=e.isOpen,p=void 0!==d&&d,h=e.handleClickLinkAllModels,f=void 0===h?J.noop:h,b=e.handleClose,N=void 0===b?J.noop:b,k=e.handleDontShowAgain,w=void 0===k?J.noop:k,y=e.handlePositionModal,A=void 0===y?J.noop:y,S=e.handleTransitionEnd,T=void 0===S?J.noop:S,B=u||{},L=B.marginModalBetweenBtn,x=void 0===L?0:L,E=B.modal,M=B.modalArrow,I=B.isTopModalPosition,R=void 0!==I&&I,O=E||{},H=O.left,D=void 0===H?0:H,F=O.top,j=void 0===F?0:F,U=(M||{}).left,V=void 0===U?0:U,W=function(e){var n=e.handleDontShowAgain,t=void 0===n?J.noop:n,i=e.handlePositionModal,a=void 0===i?J.noop:i,l=(0,o.useState)(!1),r=l[0],s=l[1],c=(0,o.useRef)(!1),u=(0,o.useCallback)((function(e){return e.preventDefault(),s((function(e){var n=!e;return c.current=n,n})),!1}),[]);return(0,o.useEffect)((function(){return function(){c.current&&t()}}),[t]),(0,o.useEffect)((function(){a()}),[a]),{isCheckedDontShow:r,handleClickCheckDontShow:u}}({handleDontShowAgain:w,handlePositionModal:A}),q=W.isCheckedDontShow,z=W.handleClickCheckDontShow,G=c.actions,Y=c.content,X=c.footer,te=G||{},ie=te.allModelsByTagLink,oe=te.fullPrivateChatButton,le=void 0===oe?null:oe,re=te.privateChatButton,se=void 0===re?null:re,ce=te.privateMessageButton,ue=te.sendTipButton,de=Y.profileLink,_e=Y.profilePhoto,pe=Y.tag,he=Y.textInfo,ve=void 0===he?null:he,be=X.closeButton,Ce=X.dontShowAgain,Ne=void 0===Ce?{}:Ce,ke=Boolean(ve),Pe=(0,K.FC)(de.url);return(0,ne.j)({ref:s,callback:N}),(0,i.h)("div",(0,g.Cl)({ref:s,className:(0,C.n)({"mplg_tags_modal popover-light":!0,__show:p}),style:{left:"".concat(D?"".concat(D,"px"):""),marginTop:"".concat(R?"-":"").concat(x,"px"),top:"".concat(j?"".concat(j,"px"):"")},onTransitionEnd:T},(0,P.A)({baseId:ee})),(0,i.h)("div",{ref:l,className:(0,C.n)({bot:R,corner:!0,top:!R}),style:{left:V}}),(0,i.h)("div",{className:"mplg_tm_inner popover-light-inner"},(0,i.h)("div",{className:"mplg_tm_title"},trans("Tag information: %tag%",{tag:''.concat(pe,"")})),(0,i.h)("div",{className:"mplg_tm_text"},trans("If you want to see %s1%«%tag%»%s2% performed by %a1%%avatar% %displayname%%a_cl%, invite the model to a private chat or send generous tips, telling about your wish in a free chat or in a private message.",{a1:''),a_cl:"",avatar:"').concat(null===(t=null==_e?void 0:_e.image)||void 0===t?void 0:t.alt,''),displayname:(0,K.b8)(null==de?void 0:de.text),s1:'',s2:"",tag:pe})),ke&&(0,i.h)("div",{className:"mplg_tm_text __info"},ve),(0,i.h)("div",{className:"mplg_tm_action bc_flex bc_flex_wrap"},ue&&!ue.disabled&&(0,i.h)(ge,{text:ue.text,handleClose:N}),se&&!se.disabled&&(0,i.h)(fe,{text:se.text,handleClose:N}),le&&!le.disabled&&(0,i.h)(ae,{text:le.text,handleClose:N}),ce&&!ce.disabled&&(0,i.h)(me,{text:ce.text,handleClose:N})),(0,i.h)("div",{className:"mplg_tm_link_wrp"},(0,i.h)("a",(0,g.Cl)({className:"mplg_tm_link bc_bold",href:(0,K.FC)(null==ie?void 0:ie.url),rel:"noopener noreferrer",target:"_blank",onClick:f},(0,P.A)({baseId:Z})),(0,K.b8)(null==ie?void 0:ie.text))),(0,i.h)("div",{className:"mplg_tm_footer bc_flex bc_flex_justify_s_between bc_flex_items_center"},(0,i.h)("span",(0,g.Cl)({className:"mplg_tm_label bc_flex bc_flex_items_center",onClick:z},(0,P.A)({baseId:$})),(0,i.h)("span",{className:(0,C.n)({"mplg_tm_mark bc_flex bc_flex_full_center":!0,__select:q})},(0,i.h)(m.A,{group:"mplg_tm_arrow",icon:"#svg_mpl_checkbox_arrow",url:v.sS})),(0,K.b8)(null==Ne?void 0:Ne.label)),(0,i.h)("button",(0,g.Cl)({className:"bt30 bt30 bt30_grey mplg_tm_btn",onClick:N},(0,P.A)({baseId:Q})),(0,K.b8)(null==be?void 0:be.text)))))},Ne=((0,t(72418).getRealDomain)(),"MINI_PROFILE_TAG_ITEM"),ke="MINI_PROFILE_TAG_WRAP",Pe="MINI_PROFILE_TAGS_ROOT",we=t(15051),ye=function(e,n){void 0===n&&(n=we.a);var t=(0,o.useState)(e),i=t[0],a=t[1];return[i,(0,o.useCallback)((function(e){a((function(t){var i=e instanceof Function?e(t):e;return n(t,i)?t:i}))}),[n])]},Ae=t(95290),Se=t(83966),Te=t(85340),Be=t(92340),Le=(0,o.memo)((function(){var e=(0,a.d4)(j),n=e||{},t=n.header,l=void 0===t?{}:t,r=n.modelName,s=void 0===r?"":r,c=n.tags,u=void 0===c?[]:c,_=n.isTagPopupAvailable,p=function(e){var n=e.modelName,t=void 0===n?"":n,i=e.tags,a=void 0===i?[]:i,l=e.isTagPopupAvailable,r=void 0!==l&&l,s=(0,o.useState)(!1),c=s[0],u=s[1],d=ye(null),_=d[0],p=d[1],h=(0,o.useState)(!1),m=h[0],v=h[1],f=(0,o.useState)(!1),b=f[0],C=f[1],N=(0,o.useState)(r),P=N[0],w=N[1],y=(0,o.useState)(!1),A=y[0],S=y[1],T=ye({tagsBtn:null,tagsWrp:null}),B=T[0],L=T[1],x=ye({marginModalBetweenBtn:0,modal:{left:null,top:null},modalArrow:{left:0},isTopModalPosition:!1}),E=x[0],M=x[1],I=(0,o.useRef)(null),R=(0,o.useRef)(null),O=(0,o.useRef)(null),H=(0,o.useRef)(null),D=(0,o.useRef)(null),F=(0,o.useRef)(0),j=(0,o.useRef)(0),U=(0,o.useRef)(!1),V=ye(null),W=V[0],q=V[1],z=(0,Te.f)().sendRequest,G=(0,o.useCallback)((function(e){return(0,g.sH)(void 0,void 0,void 0,(function(){var n;return(0,g.YH)(this,(function(t){switch(t.label){case 0:return[4,z(e,{method:"GET"})];case 1:return(n=t.sent()).errors?[2,!1]:(q(n.data),[2,!0])}}))}))}),[z,q]);(0,o.useEffect)((function(){if(null!==_)return clearTimeout(j.current),clearTimeout(F.current),F.current=window.setTimeout((function(){return(0,g.sH)(void 0,void 0,void 0,(function(){var e,n;return(0,g.YH)(this,(function(t){switch(t.label){case 0:return[4,G(_.popupApiUrl)];case 1:return t.sent()&&(u(!0),L({tagsBtn:null===(e=null==D?void 0:D.current)||void 0===e?void 0:e.getBoundingClientRect(),tagsWrp:null===(n=null==R?void 0:R.current)||void 0===n?void 0:n.getBoundingClientRect()}),j.current=window.setTimeout((function(){return v(!0)}),Ae.d)),C(!1),U.current=!1,[2]}}))}))}),200),function(){clearTimeout(F.current),clearTimeout(j.current)}}),[G,_,L]);var Y=(0,o.useCallback)((function(e){return function(n){return n.preventDefault(),v(!1),C(!0),U.current=!0,p(e),!1}}),[p]),K=(0,o.useCallback)((function(){var e=B.tagsBtn,n=B.tagsWrp,t=O.current.getBoundingClientRect(),i=0,o=e.left-n.left+e.width+40,a=0,l=0,r=e.top+e.height+t.height+15>window.innerHeight&&e.top+e.height>t.height+15,s=0;s=r?e.top-n.top-t.height:e.top-n.top+e.height,k.isRTLCulture?(e.left-n.left<40?a=e.left-n.left:(i=40,a=e.left-n.left-i),l=e.width/2+i-7):(o>n.width?a=e.left-n.left-(t.width-e.width):(i=40,a=e.left-n.left-(t.width-e.width)+i),l=t.width-e.width/2-i-7),M({marginModalBetweenBtn:15,modal:{left:a,top:s},modalArrow:{left:l},isTopModalPosition:r})}),[B,M]),X=(0,o.useCallback)((function(){m||(A&&W&&S(!1),u(!1))}),[A,m,W]),J=(0,o.useCallback)((function(){U.current||(0,o.unstable_batchedUpdates)((function(){p(null),v(!1),D.current=null,U.current=!1}))}),[p]),Z=(0,o.useCallback)((function(){S(!0),J()}),[J]),$=(0,o.useCallback)((function(){Be.A.registerEvent(Se.A.MINI_PROFILE_TAG_POPUP),w(!1),p(null)}),[p]);return(0,o.useEffect)((function(){W&&W.content&&W.content.profileLink&&W.content.profileLink.text!==t&&J()}),[J,W,t]),(0,o.useEffect)((function(){return window.addEventListener("resize",J),function(){window.removeEventListener("resize",J)}}),[J]),(0,o.useEffect)((function(){var e,n,t;null===(t=null===(n=null===(e=null==I?void 0:I.current)||void 0===e?void 0:e.scrollContentEl)||void 0===n?void 0:n.scrollTo)||void 0===t||t.call(n,0,0)}),[a]),{miniProfileTagsRef:R,modalArrowRef:H,modalRef:O,scrollRef:I,selectedItemRef:D,modalData:W,positionModal:E,selectItem:_,isLoadingModal:b,isModalTagAvailable:P,isOpen:m,isShowModal:c,handleClickLinkAllModels:Z,handleClickMiniProfileTagsItem:Y,handleCloseModal:J,handleDontShowAgain:$,handlePositionModal:K,handleTransitionEnd:X}}({modelName:s,tags:u,isTagPopupAvailable:void 0!==_&&_}),h=p.miniProfileTagsRef,v=p.modalArrowRef,f=p.modalRef,b=p.scrollRef,N=p.selectedItemRef,w=p.modalData,y=p.positionModal,A=p.selectItem,S=p.isLoadingModal,B=p.isModalTagAvailable,L=p.isOpen,x=p.isShowModal,E=p.handleClickLinkAllModels,M=p.handleClickMiniProfileTagsItem,I=p.handleCloseModal,R=p.handleDontShowAgain,O=p.handlePositionModal,H=p.handleTransitionEnd;if(!(0,d.j)(e))return null;var D=B&&x&&Boolean(w);return(0,i.h)("div",(0,g.Cl)({ref:h,className:"mplg_tags bc_flex bc_flex_column"},(0,P.A)({baseId:Pe})),(0,i.h)("h2",{className:"mplg_t_title"},l),(0,i.h)(T.M,{ref:b,className:"mplg_scroll",isScrollPositionClassNameEnabled:!0,blockedScroll:B&&(S||x),classBarHiddenName:"bc_scroll_hidden",isOutWrapBar:!0},(0,i.h)("div",{className:"mplg_t_list bc_flex bc_flex_wrap"},u.map((function(e){var n,t,o,a,l=(null==A?void 0:A.popupApiUrl)===(null==e?void 0:e.popupApiUrl)&&B,r=(0,K.FC)(null===(t=null==e?void 0:e.link)||void 0===t?void 0:t.url),s=(0,K.b8)(null===(o=null==e?void 0:e.link)||void 0===o?void 0:o.text);return(0,i.h)("div",(0,g.Cl)({key:r,className:"mplg_t_wrp bc_flex"},(0,P.A)({baseId:ke})),(0,i.h)("a",(0,g.Cl)({ref:l?N:null,className:(0,C.n)((n={},n.__select=l,n.mplg_t_item=!0,n)),href:r,target:null===(a=e.link)||void 0===a?void 0:a.target,title:s,onClick:B?M(e):J.noop},(0,P.A)({baseId:Ne})),(0,i.h)("span",{itemProp:"makesOffer"},s),B&&l&&S&&(0,i.h)("span",{className:"bc_spinner_wrp mplg_btn_spinner __show"},(0,i.h)(m.A,{group:"bc_spinner",icon:"#svg_ui_circle_loader",url:X.Jp}))))})))),D&&(0,i.h)(Ce,{modalArrowRef:v,modalRef:f,modalData:w,positionModal:y,isOpen:L,handleClickLinkAllModels:E,handleClose:I,handleDontShowAgain:R,handlePositionModal:O,handleTransitionEnd:H}))})),xe=(0,o.memo)((function(){var e=(0,a.d4)(H),n=(0,a.d4)(U);return e||n?(0,i.h)("div",{className:"mplg_about_wrp bc_flex bc_flex_justify_s_between"},(0,i.h)(Y,null),(0,i.h)(Le,null)):null})),Ee=t(61710),Me=t(25260),Ie=(0,o.memo)((function(){var e=(0,a.d4)(Ee.G),n=e||{},t=n.albums,o=void 0===t?[]:t,l=n.label,r=void 0===l?"":l,s=n.showMoreLink,c=void 0===s?null:s,u=n.isAuthenticated,_=void 0!==u&&u;return(0,d.j)(e)&&o.length?(0,i.h)("div",{className:"mplg_list_row __picture"},(0,i.h)("div",{className:"mplg_list_item __title"},r),(0,i.h)("div",{className:"mplg_list_item bc_flex_column"},(0,i.h)("div",{className:"mplg_l_pic_wrp bc_media_thumb_wrp bc_flex bc_flex_wrap"},o.map((function(e){return(0,i.h)(Me.gE,(0,g.Cl)({key:e.albumId},e,{isAuthenticated:_}))}))),!!(null==c?void 0:c.url)&&(0,i.h)("div",{className:"mplg_l_link"},(0,i.h)("a",{href:(0,K.FC)(c.url),rel:null==c?void 0:c.rel,target:null==c?void 0:c.target,title:(0,K.b8)(c.title)},(0,K.b8)(null==c?void 0:c.text))))):null})),Re=t(42481),Oe=t(47077);function He(e){var n;return null===(n=(0,R.c)(e))||void 0===n?void 0:n.showFullProfileButton}var De=(0,o.memo)((function(){var e=(0,a.d4)(He),n=e||{},t=n.badgeNew,o=n.link;return(0,d.j)(e)?(0,i.h)("div",{className:"mplg_action_wrp bc_flex bc_flex_justify_center"},Boolean(o)&&(0,i.h)("a",{className:"mplg_p_btn bc_inline_flex bc_flex_full_center",href:null==o?void 0:o.url,rel:null==o?void 0:o.rel,target:null==o?void 0:o.target,title:null==o?void 0:o.title},(0,i.h)(m.A,{group:"mplg_pbtn_icon",icon:"#svg_mpl_people",url:v.sS}),t&&(0,i.h)(Oe.E,{classModifier:"mplg_pbtn_badge",icon:Re.S.NEW}),null==o?void 0:o.text)):null})),Fe=t(28610);function je(e){var n;return null===(n=(0,R.c)(e))||void 0===n?void 0:n.fanBoost}var Ue=t(19846),Ve=t(152),We=t(93956),qe=t(27705),ze=function(e){var n=e.firstPlaceButtonBoostTimeLeft,t=void 0!==n&&n,o=e.testIdButton,a=void 0===o?"FanBoostButtonTestID":o,l=e.isActiveAnimation,r=void 0!==l&&l,s=e.onFanBoostClick,c=void 0===s?J.noop:s;return(0,i.h)("button",(0,g.Cl)({className:(0,C.n)({raise_model_btn:!0,__active:r}),onClick:c},(0,P.A)({baseId:a})),(0,i.h)(qe.u,{isFanBoosted:t}))},Ge="FAN_BOOST_TEST_ID_BUTTON",Ye="FAN_BOOST_TEST_ID_BUTTON_HINT",Ke="FAN_BOOST_TEST_ID_WRAPPER",Xe=function(e){var n=e.balance,t=void 0===n?0:n,o=e.fanBoost,a=e.isAuthenticated,l=void 0!==a&&a,r=e.isPaymentsDisabled,s=void 0!==r&&r,c=e.isVip,u=void 0!==c&&c,d=o.modelDisplayName,_=void 0===d?"":d,p=o.isMemberAvailable,h=void 0!==p&&p,v=o.isModelAvailable,f=void 0!==v&&v,b=(0,Fe.Ux)({balance:t,fanBoost:o,isAuthenticated:l,isPaymentsDisabled:s}),k=b.firstPlaceButtonBoostTimeLeft,w=b.timeout,y=b.isFanBoostAvailable,A=b.isOpenBuyPopup,S=b.isOpenHint,T=b.handleBuy,B=b.handleCloseBuy,L=b.handleCloseHint,x=b.handleFanBoostClick,E=b.handleToggleHint;return(0,i.h)("div",(0,g.Cl)({className:(0,C.n)({raise_model:!0,__raise_buy:h})},(0,P.A)({baseId:Ke})),(0,i.h)("div",{className:"raise_model_link"},(0,i.h)(ze,{firstPlaceButtonBoostTimeLeft:k,testIdButton:Ge,isActiveAnimation:y,onFanBoostClick:x}),(0,i.h)("div",(0,g.Cl)({className:"raise_what_link",onClick:E},(0,P.A)({baseId:Ye})),(0,i.h)(m.A,{group:"raise_what",icon:"#svg_icon_help",url:N.z})),S&&(0,i.h)(We.Z,{displayName:_,timeout:w,isVipAvailable:u,handleClose:L}),A&&(0,i.h)(Ve.x,{disabled:!f,displayName:_,handleBuy:T,handleClose:B})))},Je=(0,o.memo)((function(){var e=(0,a.d4)(je),n=(0,a.d4)(Fe.Et),t=(0,a.d4)(Ue.R1);return(0,d.j)(e)?(0,i.h)(Xe,{balance:t,fanBoost:n,isAuthenticated:e.isRiseAllowed,isPaymentsDisabled:e.isPaymentsDisabled,isVip:e.isVip}):null}));function Ze(e){var n;return null===(n=(0,R.c)(e))||void 0===n?void 0:n.header}var $e=(0,o.memo)((function(){var e=(0,a.d4)(Ze),n=e||{},t=n.gender,o=n.text;return(0,d.j)(e)?(0,i.h)("div",{className:"mplg_name_wrp bc_flex bc_flex_items_center"},Boolean(o)&&(0,i.h)("div",{className:"mplg_name",title:o},o),Boolean(t)&&(0,i.h)("img",{className:"mplg_g_icon",alt:"",src:(0,V.oF)("svg/bc/icon/icon_gender_".concat(t,".svg"))})):null})),Qe=t(96773),en=t(75015),nn=t(91196),tn=t(85855),on=t(32542),an=t(89347),ln="MiniProfileProfileActionsTipModelButtonBase_BTN",rn=function(e){var n=e.sendTipButton,t=void 0===n?{}:n,o=e.isSmall,a=void 0!==o&&o,l=e.handleSendTip,r=void 0===l?J.noop:l,s=(t||{}).hint,c=void 0===s?"":s;return(0,d.j)(t)?(0,i.h)(te.$,{className:"__tip",hint:c,iconType:"#svg_btna_send_tip",testId:ln,wrapClass:"__tip",isSmall:a,handler:r}):null},sn=(0,ce.s)((function(){return se.M.reportEvent(58)}),1e3,!0),cn=function(e){var n=e||{},t=n.sendTipButton,a=void 0===t?{}:t,l=n.isSmall,r=void 0!==l&&l,s=(0,o.useCallback)((function(e){return chat.tipPopup(!1,!1),se.M.hasEvent(58)&&sn(),!1}),[]);return(0,i.h)(rn,{sendTipButton:a,isSmall:r,handleSendTip:s})},un=t(42809),dn=t(74566),_n=(0,t(16516).J)(),pn=(0,o.memo)((function(){var e=(0,a.d4)(Qe.PE),n=e||{},t=n.followButton,l=n.pinModelButton,r=n.privateMessageButton,s=n.sendTipButton,c=n.subscribeOnlineNotificationButton,u=void 0===c?{}:c,_=u.username,p=u.isSubscribedForEmail,h=u.isSubscribedForPush,m=function(){var e=(0,a.d4)(S.Ml),n=(0,a.d4)((function(e){return e.isMemberKicked})),t=(0,o.useRef)(null),i=(0,o.useRef)(null),l=(0,o.useState)(!1),r=l[0],s=l[1],c=(0,o.useState)(!0),u=c[0],d=c[1],_=(0,o.useState)(null),p=_[0],h=_[1],m=(0,o.useCallback)((function(e){e&&h(e)}),[]);return(0,o.useEffect)((function(){var n;return e&&p?!i.current&&_n?(i.current=new IntersectionObserver((function(e){var n=e.some((function(e){return e.isIntersecting&&e.intersectionRatio<1&&e.intersectionRect.width}));d(n),s(!0)}),{root:t.current,threshold:[0,1]}),i.current&&p&&i.current.observe(p)):i.current||s(!0):(s(!1),null===(n=i.current)||void 0===n||n.disconnect(),i.current=null),function(){var e;null===(e=i.current)||void 0===e||e.disconnect()}}),[e,p]),{buttonsRef:t,setWidthHolderRef:m,isMemberKicked:n,isShown:r,isSmallButtons:u}}(),v=m.buttonsRef,f=m.setWidthHolderRef,b=m.isMemberKicked,g=m.isShown,N=m.isSmallButtons,k=(0,nn.t)({modelUsername:_,isSubscribedForEmail:p,isSubscribedForPush:h}),P=k.actions,w=P.handleCloseNotificationPopup,y=P.handleGetNotificationWithModernWrapper,A=k.states,T=A.contentPopoverNotificationData,B=A.isAnyNotificationSubscriptionActive;return(0,d.j)(e)?(0,i.h)("div",{ref:v,className:(0,C.n)({"mplg_prf_actions bc_flex bc_flex_items_center bc_flex_justify_f_end":!0,__show:g})},g&&(0,i.h)(o.Fragment,null,(0,d.j)(t)&&(0,i.h)(tn.MiniProfileFollowButton,{isSmall:N}),(0,d.j)(l)&&(0,i.h)(on.MiniProfilePinButton,{isSmall:N}),(0,i.h)(en.y,{className:"popover_online_notification",content:function(e){var n=e.setPopoverClose;return(0,i.h)(nn.o,{data:T,onCloseClick:n})},trigger:(0,i.h)(an.y,{subscribeOnlineNotificationButton:u,isSmall:N,isSubscribed:B}),onBeforeOpen:y,onClose:w}),(0,d.j)(r)&&(0,i.h)(pe,{privateMessageButton:r,isDisabled:b,isSmall:N}),(0,d.j)(s)&&(0,i.h)(cn,{sendTipButton:s}),(0,d.j)(s)&&(0,i.h)("div",{className:"bc_new_tip_modal __mini_profile js-new_tip_modal","data-holder":"mini_profile_holder"})),(0,i.h)("div",{ref:f,className:"mplg_btn_hidden bc_flex bc_flex_items_center bc_flex_justify_f_end"},(0,i.h)(un.b,{followButton:t,isHoldingWidth:!0}),(0,i.h)(dn.T,{pinButton:l,isHoldingWidth:!0}),(0,i.h)(an.y,{subscribeOnlineNotificationButton:u,isHoldingWidth:!0,isSubscribed:B}),(0,i.h)(_e,{privateMessageButton:r}),(0,i.h)(rn,{sendTipButton:s}))):null})),hn=t(21492),mn=(0,o.memo)((function(){return(0,a.d4)((function(e){return e.chatShowStatusOptions.isOffline}))?null:(0,i.h)(m.A,{group:"mplg_status_icon",icon:"#svg_onst_live",url:X.P1})}));function vn(e){var n;return null===(n=(0,R.c)(e))||void 0===n?void 0:n.profilePhoto}var fn,bn=t(90894),gn=(0,o.memo)((function(){var e=function(){var e=(0,a.d4)(vn),n=e||{},t=n.profileLink,i=n.isMale,o=void 0!==i&&i,l=n.isTrans,r=void 0!==l&&l;return{image:(0,bn.z)({image:null==e?void 0:e.image,username:null==e?void 0:e.username}).image,profileLink:t,isAvailable:(0,d.j)(e),isMale:o,isTrans:r}}(),n=e.image,t=e.profileLink;return e.isAvailable?(0,i.h)("a",{className:"mplg_profile_photo",href:(0,K.FC)(null==t?void 0:t.url),rel:null==t?void 0:t.rel,target:null==t?void 0:t.target,title:null==t?void 0:t.title},(0,i.h)(hn.h,{className:"mplg_pp_img_wrp __round",image:n}),(0,i.h)(mn,null)):null})),Cn=(0,o.memo)((function(){return(0,i.h)("div",{className:"mplg_header bc_flex bc_flex_items_center bc_flex_justify_s_between"},(0,i.h)("div",{className:"mplg_h_info bc_flex bc_flex_items_center"},(0,i.h)(gn,null),(0,i.h)($e,null),(0,i.h)(Je,null)),(0,i.h)(pn,null))})),Nn=t(3949),kn=t(19537),Pn=t(2268),wn=t(54022),yn=t(91651),An=t(88481),Sn=t(53445),Tn=t(41966),Bn=function(e){var n=e.id,i=e.balance,a=void 0===i?0:i,l=e.buyTokensLink,r=e.getSocialProfilePopupDataApiUrl,s=e.price,c=e.type,u=e.isBuyTokenRequired,d=e.onClickBuyTokensLink,_=void 0===d?J.noop:d,p=e.onClickSignupLink,h=void 0===p?J.noop:p,m=e.onClickSocialProfileLink,v=void 0===m?J.noop:m,f=(0,o.useState)(u),b=f[0],g=f[1],C=function(e){var n=e.dataApiUrl,i=e.popupProps;return{openMiniProfileBuyedSocialPopup:(0,Sn.e)({fancyOptions:{wrapClassName:"bongacams_popup __open __social_by_popup",border:"none",closeBtn:!1,closeClick:!0,closeEsc:!0,outerCSS:{background:"transparent"},padding:0},loader:function(e){var i=[An.Ye.EXTRA_SOCIAL_BY_POPUP,k.isRTLCulture?An.Ye.EXTRA_SOCIAL_BY_POPUP_RTL:null].filter(Boolean);return Promise.all([(0,wn.AT)(n,{abortController:e}),t.e(694).then(t.bind(t,25894)),i.map((function(e){(0,yn.i)(e,document.head,{"data-exclude":!0},(0,Tn.j)())}))])},popupProps:i}).openLoadPopupFancybox}}({dataApiUrl:(0,V.ip)("@api_get_purchased_social_profile_link_data?id=".concat(n)),popupProps:{id:n}}).openMiniProfileBuyedSocialPopup,N=function(e){var n=e.dataApiUrl,i=e.socialProfileId,o=e.socialProfileType;return{openMiniProfileBuySocialPopup:(0,Sn.e)({fancyOptions:{wrapClassName:"bongacams_popup __open __social_by_popup",border:"none",closeBtn:!1,closeClick:!0,closeEsc:!0,outerCSS:{background:"transparent"},padding:0},loader:function(e){var i=[An.Ye.EXTRA_SOCIAL_BY_POPUP,k.isRTLCulture?An.Ye.EXTRA_SOCIAL_BY_POPUP_RTL:null].filter(Boolean);return Promise.all([(0,wn.AT)(n,{abortController:e}),t.e(695).then(t.bind(t,60395)),i.map((function(e){(0,yn.i)(e,document.head,{"data-exclude":!0},(0,Tn.j)())}))])},popupProps:{socialProfileId:i,socialProfileType:o}}).openLoadPopupFancybox}}({dataApiUrl:r,popupProps:{id:n},socialProfileId:n,socialProfileType:c}).openMiniProfileBuySocialPopup;(0,o.useEffect)((function(){g(Boolean(l)&&a'.concat((0,kn.$)(d),""),tokens_plural:''.concat(Pn.kX.pluralise("tokens",d),"")}):E||(x=__("For Free%_social_link_%"));var D=Boolean(s)&&s;return(0,i.h)("div",{className:(0,C.n)({"mplg_soc_item bc_flex bc_flex_item_center":!0,__hint:D})},(0,i.h)("img",{className:"mplg_soc_icon",alt:null==u?void 0:u.alt,src:null==u?void 0:u.src}),E&&[(0,i.h)("a",{className:O,href:(0,K.FC)(null==h?void 0:h.url),rel:h.rel,target:h.target,onClick:L}),(0,i.h)("a",{className:H,href:(0,K.FC)(null==h?void 0:h.url),rel:null==h?void 0:h.rel,target:null==h?void 0:h.target,onClick:L},(0,i.h)("span",{className:"mplg_b_inner",title:(0,K.b8)(h.text)},h.text),g&&(0,i.h)(m.A,{group:"mplg_badge_mark",icon:"#svg_icon_arrow_mark",url:X.ed}))],!E&&M&&[(0,i.h)("span",{className:O,onClick:B}),(0,i.h)("span",{className:H,onClick:B},(0,i.h)("span",{className:"mplg_link_price",dangerouslySetInnerHTML:{__html:x}}))],!E&&A&&I&&[(0,i.h)("a",{className:O,href:(0,K.FC)(null==r?void 0:r.url),rel:null==r?void 0:r.rel,onClick:T}),(0,i.h)("a",{className:H,href:(0,K.FC)(null==r?void 0:r.url),rel:null==r?void 0:r.rel,onClick:T},(0,i.h)("span",{className:"mplg_link_price",dangerouslySetInnerHTML:{__html:x}}))],!E&&R&&[(0,i.h)("a",{className:O,target:l.target,onClick:S}),(0,i.h)("a",{className:H,target:l.target,onClick:S},(0,i.h)("span",{className:"mplg_link_price",dangerouslySetInnerHTML:{__html:x}}))],D&&(0,i.h)("div",{className:"mplg_soc_hint_wrp"},(0,i.h)("div",{className:"mplg_soc_hint"},s)))})),xn=t(73467),En=t(42338),Mn=t(88488),In=t(12341),Rn=t(79007),On=t(41669),Hn=function(){var e=(0,a.d4)(Nn.B),n=(0,a.d4)(Ue.R1),t=function(){(0,Rn.A)({onEvent:function(e){l.A.action(Mn.wl)(e.data.balance)}}),(0,o.useEffect)((function(){In.U.instance.setHandler(In.B.MINI_PROFILE,(function(e){var n=e.id,t=e.forwardLink;l.A.action(Mn.fM)(n,t)}))}),[]),(0,o.useEffect)((function(){return function(){(0,xn.e9)()}}),[]);var e=(0,o.useCallback)((function(){On.signupEvent&&On.signupEvent.call(void 0)}),[]),n=(0,o.useCallback)((function(e){void 0===e&&(e=null),(0,En.q)({url:e,isBuyTokens:!0})}),[]);return{onClickBuyTokensLinkBuilder:function(e){return function(){var t;return n((0,K.FC)(null===(t=null==e?void 0:e.buyTokensLink)||void 0===t?void 0:t.url))}},onClickSignupLinkBuilder:function(){return e}}}(),r=t.onClickBuyTokensLinkBuilder,s=t.onClickSignupLinkBuilder,c=e||{},u=c.groups,_=c.header,p=void 0===_?"":_;return(0,d.j)(e)?(0,i.h)("div",{className:"mplg_list_row __social mplg_social"},(0,i.h)("div",{className:"mplg_list_item __title"},p),(0,i.h)("div",{className:"mplg_list_item __social bc_flex bc_flex_wrap bc_flex_item_center"},u.map((function(e){return(0,i.h)(i.FK,null,e.items.map((function(t){return(0,i.h)(Ln,(0,g.Cl)({key:t.id,hasMultipleItems:e.hasMultipleItems},t,{balance:n,onClickBuyTokensLink:r(t),onClickSignupLink:s()}))})))})))):null},Dn=t(91363),Fn=(0,o.memo)((function(){var e=(0,a.d4)(R.r),n=(0,a.d4)(s.b5);return e?(0,i.h)("div",{id:"profile-content",className:"bc_mp_lg"},(0,i.h)(Cn,null),(0,i.h)("div",{className:"mplg_base_info_wrp"},(0,i.h)("div",{className:"mplg_info_container bc_flex bc_flex_column"},(0,i.h)(xe,null),(0,i.h)(Hn,null)),(0,i.h)(Ie,null),(0,i.h)(Dn.V,null)),(0,i.h)(De,null),(null==n?void 0:n.username)&&(0,i.h)(I.v,{galleryKey:(0,M.o)(n.username)})):null})),jn=t(97037),Un=t(18697),Vn=t(38654),Wn=t(14811),qn=t(96688),zn=t(75290),Gn=t(27297),Yn=t(39682),Kn=t(17266),Xn=(0,o.memo)((function(){var e=function(){(0,a.d4)(u.Oz),(0,a.d4)(S.Ml),(0,Kn.S)();var e=l.A.getState(),n=(0,u.Hz)(e),t=n.sizeHolderHeight,i=n.sizeHolderWidth,o=n.isMobileStream,r=n.isVideoHd;return{height:t,width:i,isAvailable:(0,d.j)(n),isMobileStream:o,isVideoHd:r}}(),n=e.height,t=e.width,o=e.isAvailable,r=e.isMobileStream,s=e.isVideoHd;return o?(0,i.h)("svg",{className:(0,C.n)({"video_size_holder js-video_size_holder":!0,__hd:s,__mobile:r}),height:n,width:t,xmlns:"http://www.w3.org/2000/svg"}):null})),Jn=function(e){var n=e.tokensPerMinute;return(0,i.h)("button",{className:"bc_btn bc_btn_private __two_rows bc_flex_column bc_flex_full_center",onClick:function(e){e.preventDefault(),chat.gotoGroupChat()}},__("Join Group Chat!"),(0,i.h)("span",{className:"btpr_info js-btpr_info"},"(",__("%tokens% %tokens_plural% per minute",{tokens:n,tokens_plural:Pn.kX.pluralise("tokens",n)}),")"),(0,i.h)("span",{className:"btn_animation"}))},Zn=function(e){var n=e.tokensPerMinute;return(0,i.h)("button",{className:"bc_btn bc_btn_private __two_rows bc_flex_column bc_flex_full_center"},__("Spy Private Chat!"),(0,i.h)("span",{className:"btpr_info js-btpr_info"},"(",__("%tokens% %tokens_plural% per minute",{tokens:n,tokens_plural:Pn.kX.pluralise("tokens",n)}),")"),(0,i.h)("span",{className:"btn_animation"}))},$n=function(e){var n=e.chatLocalData,t=n.groupChatTokensPerMinute,o=n.voyeurChatTokensPerMinute;return(0,i.h)(i.FK,null,(0,i.h)("div",{id:"bGotoGroup2",className:"private_btn_wrp __two_rows"},(0,i.h)(Jn,{tokensPerMinute:t})),(0,i.h)("div",{id:"bGotoVoyeur2",className:"private_btn_wrp __two_rows"},(0,i.h)(Zn,{tokensPerMinute:o})))},Qn=t(80554),et=t(98614),nt=(0,et.Ng)((function(e){return{privatePopupOptions:e.privatePopupOptions}}))((function(e){var n=e.privatePopupOptions.chat_show_invite;return function(){var e=(0,o.useState)(!1),n=e[0],t=e[1],i=function(){t(!0)};return(0,o.useEffect)((function(){return document.addEventListener(Qn.R.INVITE_POPUP_SHOW,i),function(){return document.removeEventListener(Qn.R.INVITE_POPUP_SHOW,i)}}),[]),{mount:n}}().mount&&(0,d.j)(n)?(0,i.h)(E.N,{getComponent:function(){return Promise.resolve().then(t.bind(t,40742))},props:{isShow:!0}}):null})),tt=(t(40742),t(45070)),it=t(21110),ot=t(49635),at=t(6086),lt=function(e){var n=function(e){var n=e.balance,t=(0,a.d4)(ot.R1),i=n||t;return{amount:(0,at.Z)(i),tokensPlural:Pn.kX.pluralise("tokens",i)}}(e),t=n.amount,o=n.tokensPlural;return(0,i.h)("span",{dangerouslySetInnerHTML:{__html:__("You have %s1%%amount% %tokens_plural%%s_end%.",{s1:"",amount:''.concat(t,""),tokens_plural:''.concat(o,""),s_end:""})}})},rt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,g.C6)(n,e),n.prototype.render=function(){var e=this.props,n=e.rel,t=e.link,o=e.children,a=(0,g.Tt)(e,["rel","link","children"]);return(0,i.h)("a",(0,g.Cl)({href:t,rel:n},a),o)},n}(i.uA),st=rt,ct=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,g.C6)(n,e),n.prototype.render=function(){var e=(0,g.Cl)((0,g.Cl)({},this.props),{className:"buy_tokens",id:"bBuyTokens"});return(0,i.h)(st,(0,g.Cl)({},e),__("Buy more Tokens!"))},n}(i.uA),ut=ct,dt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,g.C6)(n,e),n.prototype.render=function(){var e=(0,g.Cl)((0,g.Cl)({},this.props),{id:"bSignup",target:"_blank"});return(0,i.h)(st,(0,g.Cl)({},e),__("Click here to join for FREE!"))},n}(i.uA),_t=dt,pt=(0,o.memo)((function(){var e=(0,a.d4)(u.UQ),n=(0,a.d4)(u.pU)||{},t=n.balance,o=n.buyTokens,l=n.buyVip,r=n.paidButtonCells,s=n.signup,c=it.q.isEnabled(tt.i.DESKTOP_CHAT_JOIN_BUTTON_TEXT);return(0,i.h)("div",{className:"memberBalance"},(0,i.h)("table",null,(0,i.h)("tbody",null,(0,d.j)(r)&&(0,i.h)("tr",null,(0,i.h)("td",{id:"bPaidButtonsCell"}),(0,i.h)("td",{id:"bTipButtonCell"})),(e||(0,d.j)(t)||(0,d.j)(o)||(0,d.j)(l))&&(0,i.h)("tr",null,(0,i.h)("td",{colSpan:2},(0,i.h)("div",{id:"bMemberBalance"},(0,i.h)(lt,(0,g.Cl)({},t)),(0,d.j)(o)&&(0,i.h)(i.FK,null," ",(0,i.h)(ut,(0,g.Cl)({},o))),(0,d.j)(l)&&(0,i.h)("a",{id:"bBuyVip",href:null==l?void 0:l.link,rel:null==l?void 0:l.rel,style:{display:"none"}})))),(0,d.j)(s)&&!c&&(0,i.h)("tr",null,(0,i.h)("td",{colSpan:2},(0,i.h)("div",{id:"bMemberBalance"},(0,i.h)(_t,(0,g.Cl)({},s))))))))})),ht=function(e){function n(n){var t=e.call(this,n)||this;return t.state={},t}return(0,g.C6)(n,e),n.prototype.getModelStatus=function(e){var n={modelname:''.concat(e.displayName,"")};return e.isOffline?trans("%modelname% is offline",n):e.isPrivateChat?trans("%modelname% is in a private chat",n):e.isFullPrivateChat?trans("%modelname% is in a full private chat",n):e.isGroupChat?trans("%modelname% is in a group chat",n):e.isVipShow?trans("%modelname% is in a vip chat",n):trans("%modelname% is in a public chat",n)},n.prototype.render=function(){var e=this.props.chatShowStatusOptions;return(0,i.h)("div",{className:"chatType"},(0,d.j)(e)&&this.getModelStatus(e))},n.defaultProps={},n}(i.uA),mt=ht,vt=function(e){function n(n){return e.call(this,n)||this}return(0,g.C6)(n,e),n.prototype.render=function(){var e=this.props.chatShowStatusOptions;return(0,i.h)("div",{id:"bCamStatus",className:(0,C.n)({column_header_info:!0,bc_flex:!0,hidden:!(0,d.j)(e)})},(0,i.h)(mt,{chatShowStatusOptions:e}))},n.defaultProps={},n=(0,g.Cg)([(0,et.Ng)((function(e){return{chatShowStatusOptions:e.chatShowStatusOptions}}))],n)}(i.uA),ft=t(36980),bt=function(e){function n(n){var t=e.call(this,n)||this;return t.onStopPaidShow=function(e){e.preventDefault(),chat.askStopPaidShow()},t.onTipPopup=function(e){e.preventDefault(),(0,ft.i)()},t.state={},t}return(0,g.C6)(n,e),n.prototype.render=function(){return(0,i.h)("div",{id:"bPaidButtonTopRow"},(0,i.h)("div",{id:"bPaidButtonGroup",className:"pbg_anim_wrp bc_flex"},(0,i.h)("button",{id:"bGotoGroup",className:"pbg_btn __group __first mls_btn mls_btn_dark_green","data-position":"start"},(0,i.h)("span",{className:"pbg_inner_container"},(0,i.h)("span",{className:"pbg_icon_hidden"}),(0,i.h)("span",{className:"pbg_container_text","data-text-before":__("Send Tip"),"data-text-after":__("%_tmp_%Private Chat")},(0,i.h)("span",{className:"pbg_text js-pbg_text","data-text-before":__("%_tmp_%Group Chat")},(0,i.h)(m.A,{group:"pbg_icon",icon:"#svg_ch_group_chat",url:v.g5}),(0,i.h)("span",{className:"js-pbg_text_inner"},__("%_tmp_%Group Chat")))))),(0,i.h)("button",{id:"bGotoPrivate",className:"pbg_btn __private mls_btn mls_btn_dark_green __middle"},(0,i.h)("span",{className:"pbg_inner_container"},(0,i.h)("span",{className:"pbg_icon_hidden"}),(0,i.h)("span",{className:"pbg_container_text","data-text-before":__("%_tmp_%Group Chat"),"data-text-after":__("Send Tip")},(0,i.h)("span",{className:"pbg_text js-pbg_text","data-text-before":__("%_tmp_%Private Chat")},(0,i.h)(m.A,{group:"pbg_icon",icon:"#svg_ch_private_chat",url:v.g5}),(0,i.h)("span",{className:"js-pbg_text_inner"},__("%_tmp_%Private Chat")))))),(0,i.h)("button",{id:"bGotoVoyeur",className:"pbg_btn __voyeur __middle mls_btn mls_btn_red"},__("Spy Private Chat")),(0,i.h)("button",{id:"bStopShow",className:"pbg_btn __stop __middle mls_btn mls_btn_red","data-position":"start",onClick:this.onStopPaidShow},__("Stop Show")),(0,i.h)("button",{id:"bTip",className:"pbg_btn __tip mls_btn mls_btn_dark_green","data-position":"end",onClick:this.onTipPopup},(0,i.h)("span",{className:"pbg_inner_container"},(0,i.h)("span",{className:"pbg_icon_hidden"}),(0,i.h)("span",{className:"pbg_container_text","data-text-before":__("%_tmp_%Private Chat"),"data-text-after":__("%_tmp_%Group Chat")},(0,i.h)("span",{className:"pbg_text","data-text-before":__("Send Tip")},(0,i.h)(m.A,{group:"pbg_icon",icon:"#svg_ch_send_tip",url:v.g5}),__("Send Tip")))))))},n.defaultProps={},n}(i.uA),gt=bt,Ct=t(7635),Nt=t(63658),kt=t(50445),Pt=function(e){var n=e.isLover,t=e.onFadeOut,o=e.isFading;return n?(0,i.h)("span",{className:"lb_icon_wrp"},(0,i.h)(m.A,{group:(0,C.n)({lb_icon:!0,__love:n}),icon:"#svg_ch_count_love",url:v.g5})):(0,i.h)("span",{className:(0,C.n)({lb_icon_wrp:!0,__hide:o}),onAnimationEnd:t},(0,i.h)(m.A,{group:"lb_icon",icon:"#svg_ch_count_love_add",url:v.g5}))},wt=t(98768),yt=(0,o.memo)((function(e){var n=e.children,t=e.isPlaying,a=function(e){var n=e.props,t=n.onAnimationEnd,i=n.onAnimationReady,a=n.isPlaying,l=(0,o.useRef)(null),r=(0,wt.eT)({path:(0,V.oF)("svg_json/lovers_button/lb_icon.json",!0)}),s=r.loadAnimation,c=r.animInstance,u=r.isLoaded,d=r.isInitialized;return(0,o.useEffect)((function(){d&&((0,Un._b)("Chat Lovers Anim loadAnimation").log(l.current),s({container:l.current,loop:!1}))}),[s,d]),(0,o.useEffect)((function(){u&&i()}),[u,i]),(0,o.useEffect)((function(){a&&c&&c.addEventListener("complete",t)}),[c,a,t]),(0,o.useMemo)((function(){a&&c&&((0,Un._b)("Chat Lovers Anim play").log(),c.goToAndPlay(0,!0))}),[a,c]),{svgAnimationRef:l}}({props:e}).svgAnimationRef;return(0,i.h)(i.FK,null,(0,i.h)("span",{className:(0,C.n)({lb_icon_wrp:!0,bc_hide:!t})},(0,i.h)("span",{className:"lb_icon",ref:a})),!t&&n)})),At=t(38588);!function(e){e[e.STOP=0]="STOP",e[e.PENDING=1]="PENDING",e[e.RESIZE=2]="RESIZE",e[e.PLAY=3]="PLAY",e[e.DONE=4]="DONE"}(fn||(fn={}));var St=t(8269),Tt=t(25551),Bt=t(21755),Lt=t(41669),xt=function(e){var n=function(e){var n=e.props.loversButton||{},t=n.username,i=n.isLover,a=n.isAuthenticated,l=n.isFreeMember,r=it.q.isEnabled(tt.i.CHAT_LOVERS_ANIMATION),s=(0,o.useState)(fn.STOP),c=s[0],u=s[1],d=(0,o.useState)(!1),_=d[0],p=d[1],h=(0,o.useRef)(!1),m=(0,o.useRef)(!1),v=[fn.PLAY,fn.DONE].includes(c),f=m.current&&c===fn.RESIZE,b=[fn.RESIZE,fn.PENDING].includes(c),g=r&&(v||b),C=!g&&!i&&a&&!l,N=(0,o.useCallback)((function(){(0,Un._b)("Chat Lovers Anim prepareAnimation").log(),u((function(e){return e===fn.STOP?fn.PENDING:e}))}),[]),k=(0,o.useCallback)((function(){p(!0),h.current=!0,m.current=!0,(0,Un._b)("Chat Lovers Anim startAnimation").log(),u((function(e){return e===fn.STOP?fn.PENDING:e}))}),[]),P=(0,o.useCallback)((function(){(0,Un._b)("Chat Lovers Anim onAnimationReady").log(),u((function(e){return e===fn.PENDING?fn.RESIZE:e}))}),[]),w=(0,o.useCallback)((function(){(0,Un._b)("Chat Lovers Anim onResizeEnd").log(),u((function(e){return e===fn.RESIZE?fn.PLAY:e}))}),[]),y=(0,o.useCallback)((function(){(0,Un._b)("Chat Lovers Anim onAnimationEnd").log(),u((function(e){return e===fn.PLAY?h.current?fn.DONE:fn.STOP:e}))}),[]),A=(0,o.useCallback)((function(){p(!1),h.current=!1,(0,Un._b)("Chat Lovers Anim onRequestEnd").log(),u((function(e){return e===fn.DONE?fn.STOP:e}))}),[]);return(0,At.A)((function(){u(fn.STOP)}),[t]),(0,At.A)((function(){u((function(e){return e===fn.DONE?fn.STOP:e}))}),[i,_]),(0,o.useEffect)((function(){c===fn.STOP&&(m.current=!1)}),[c]),{isAnimPlay:v,isAnimResize:f,isAnimating:g,isAnimatingAvailable:C,onAnimationEnd:y,onResizeEnd:w,onAnimationReady:P,onRequestEnd:A,startAnimation:k,prepareAnimation:N}}({props:e}),t=n.isAnimPlay,r=n.isAnimResize,c=n.isAnimating,u=n.isAnimatingAvailable,d=n.startAnimation,_=n.prepareAnimation,p=n.onAnimationReady,h=n.onAnimationEnd,m=n.onResizeEnd,v=function(e,n,t){var i=e.loversButton,r=i.apiUrl,c=i.loversCount,u=i.isLover,d=i.isAuthenticated,_=i.isFreeMember,p=i.isInChat,h=(0,o.useState)(u),m=h[0],v=h[1],f=(0,a.d4)(s.i4),b=(0,o.useMemo)((function(){var e=St.O[f];return Tt.g[e]}),[f]),g=(0,o.useCallback)((function(){var e;l.A.getState().isChatPopup?chat.signupPopup():null===(e=Lt.signupEvent)||void 0===e||e.call(void 0)}),[]),C=(0,Bt.J)({apiUrl:r,isAuthenticated:d,isFreeMember:_,isInChat:p,onNotIsAuthenticated:g,onIsNeedBuyToken:function(){if(_){var e=__('Only members with Gold status or higher can send "Love" to a model. %a1%Buy Tokens!%a2%',{a1:''),a2:""});return chat.addServiceMessage(e,"alert")}},onBeforeRequest:n,onSuccess:function(e){var n=e.loversCount,i=e.message;n&&i&&!u?(chat.addServiceMessage(i,"service"),v(!1)):chat.addServiceMessage(i,"alert"),t()}}).handleLoversClick;return(0,o.useEffect)((function(){return document.addEventListener(Qn.R.LOVERS_CLICK,C),function(){document.removeEventListener(Qn.R.LOVERS_CLICK,C)}}),[C]),{loversCount:c,tooltipText:b,isAddedLoverHintVisible:m,isLover:u,handleLoversClick:C,onMouseLeaveHandler:function(){u&&!m&&v(!0)}}}(e,d,n.onRequestEnd),f=v.loversCount,b=v.tooltipText,g=v.isAddedLoverHintVisible,N=v.isLover,k=v.handleLoversClick,P=v.onMouseLeaveHandler,w=(0,Ct.n)(N,c),y=(0,Ct.n)(f,c);return(0,i.h)("div",{className:(0,C.n)({underChatButton:!0,underChatButtonHasHint:!w||w&&g}),id:"bLoversButton",onMouseLeave:P,onMouseEnter:(0,kt.s)(_,u)},(0,i.h)("a",{id:"bLovers",className:(0,C.n)({chatBtn:!0,__disabled:w}),onClick:k},c&&(0,i.h)(yt,{onAnimationEnd:h,onAnimationReady:p,isPlaying:t},(0,i.h)(Pt,{isLover:!1,isFading:r,onFadeOut:m})),!c&&(0,i.h)(Pt,{isLover:w}),Nt.K.SPACE,(0,i.h)("span",{key:Date.now(),id:"sLovers"},__("%count% lovers%_lowercase_%",{count:(0,at.Z)(y,{thousandSeparator:","})}))),w&&g&&(0,i.h)("span",{className:"underChatButtonHint"},__("You already sent love!")),!w&&(0,i.h)("span",{className:"underChatButtonHint"},b))},Et=(0,et.Ng)((function(e){return{loversButton:e.loversButton}}))((function(e){var n=e.loversButton;return(0,i.h)(xt,{loversButton:(0,g.Cl)((0,g.Cl)({},n),{isInChat:!0})})})),Mt=t(43674),It=function(){return(0,i.h)("div",{className:"js-cht_qoq_wrp cht_qoq_wrp"},(0,i.h)("div",{className:"cht_qoq_hint"},(0,i.h)("div",{className:"cht_qoq_inner"},(0,Mt.p)("Last week's %s1%winner%s2% of the Queen of Queens contest!",{s1:'',s2:""})),(0,i.h)("div",{className:"cht_qoq_arrow"})),(0,i.h)("img",{className:"cht_qoq_icon",src:(0,V.oF)("svg/bc/chat/ch_win_qoq.svg"),alt:""}))},Rt=t(32502),Ot=function(){var e,n=(e=(0,a.d4)(Rt.ad),{state:{isAvailable:(null==e?void 0:e.isQoQWinner)||!1}}).state.isAvailable;return void 0!==n&&n?(0,i.h)(It,null):null},Ht=function(e){var n=e.profileLink,t=void 0===n?"":n,o=e.profileImage,a=void 0===o?"":o,l=e.displayName,r=void 0===l?"":l;return(0,i.h)("a",{href:t,className:"column_header_avatar_link",target:"_blank",rel:"profile noreferrer"},(0,i.h)("img",{className:"column_header_avatar",src:a,alt:r}))},Dt=t(42940),Ft=function(){var e=function(){var e=(0,a.d4)(u.U7),n=(0,a.d4)(Dt.C),t=(0,a.d4)(r.S),i=e&&(null==n?void 0:n.isAvatarAvailable),o=(0,d.j)(n),l=o&&e,s=o&&!e,c=o&&(null==t?void 0:t.isNewModel);return{state:{chatHeaderOptions:n,profileLinkURL:(0,_.U)(null==n?void 0:n.profileLink),isShowBadgeNew:c,isShowFullscreenAvatar:i,isShowFullscreenTitle:l,isShowTitle:s}}}().state,n=e.chatHeaderOptions,t=e.profileLinkURL,o=e.isShowBadgeNew,l=e.isShowFullscreenAvatar,s=e.isShowFullscreenTitle,c=e.isShowTitle;return(0,i.h)(i.FK,null,l&&(0,i.h)(Ht,{displayName:null==n?void 0:n.displayName,profileImage:null==n?void 0:n.profileImage,profileLink:t}),(0,i.h)("h1",{id:"bChatRoomTitle",className:"bc_flex bc_flex_items_center"},s&&(0,i.h)("a",{className:"chat_title_link cr_name",href:t,rel:"profile noreferrer",target:"_blank"}," ".concat(null==n?void 0:n.displayName," ")),c&&(0,i.h)("span",{className:"cr_name"},null==n?void 0:n.displayName),o&&(0,i.h)(Oe.E,{classModifier:"__secondary",icon:Re.S.NEW_LARGE})))},jt=t(84078),Ut=function(){var e=function(){var e=(0,jt.v)("chatPopupBody"),n=(0,jt.v)("embed_chat"),t=(0,a.d4)(Dt.C),i=(0,a.d4)(s.b5),o=e&&n?(null==t?void 0:t.profileLinkPrefix)+encodeURIComponent("".concat(window.location.protocol,"://").concat(window.location.host,"/profile/").concat((0,M.o)(i.username))):null==t?void 0:t.profileLink,l=(0,_.U)(o);return{state:{profileLinkPrefix:null==t?void 0:t.profileLinkPrefix,profileLinkURL:l}}}().state,n=e.profileLinkPrefix,t=e.profileLinkURL,o=__("Profile");return(0,i.h)("div",{className:"underChatButton underChatProfileButton"},(0,i.h)("a",{id:"bUnderChatViewProfile",className:"chatBtn bUnderChatViewProfile chatProfileLink","data-url_prefix":n,href:t,rel:"profile noreferrer",target:"_blank",title:o},(0,i.h)(m.A,{group:"cpl_icon",icon:"#svg_ch_profile",url:v.g5}),o))},Vt=function(){var e=(0,a.d4)(Dt.C);return(0,d.j)(e)?(0,i.h)("div",{className:"column-header"},(0,i.h)("div",{className:"column-header-title"},(0,i.h)(Ft,null),(0,i.h)(Ot,null),(0,i.h)(E.N,{getComponent:function(){return t.e(703).then(t.bind(t,99127))}})),(0,i.h)("div",{className:"column-header-buttons"},(0,i.h)(Ut,null),(0,i.h)(Et,null))):null},Wt=function(){return(0,i.h)(i.FK,null,(0,i.h)("a",{id:"bTipModel",onClick:function(e){return e.preventDefault()},style:{visibility:"hidden"}}),(0,i.h)("a",{id:"bTipModelFromMiniProfile",onClick:function(e){return e.preventDefault()},style:{visibility:"hidden"}}),(0,i.h)("a",{id:"bTipModelFromTipKing",onClick:function(e){return e.preventDefault()},style:{visibility:"hidden"}}))},qt=function(){return(0,i.h)(m.A,{group:"scc_icon __off",icon:"#svg_ch_stop_webcam",url:v.g5})},zt=function(e){var n=e.children;return(0,i.h)("span",{className:"txt __off"},n)},Gt=function(){return(0,i.h)(m.A,{group:"scc_icon __on",icon:"#svg_ch_start_webcam",url:v.g5})},Yt=function(e){var n=e.children;return(0,i.h)("span",{className:"txt __on"},n)},Kt=function(e){function n(n){var t=e.call(this,n)||this;return t.showShareCam=function(){t.setState({isShow:!0})},t.hideShareCam=function(){t.setState({isShow:!1})},t.handleClick=function(e){(0,t.props.onClick)(e)},t.state={isShow:!1},t}return(0,g.C6)(n,e),n.prototype.componentDidMount=function(){document.addEventListener(Qn.R.SHARE_CAM_SHOW,this.showShareCam),document.addEventListener(Qn.R.SHARE_CAM_HIDE,this.hideShareCam)},n.prototype.componentWillUnmount=function(){document.removeEventListener(Qn.R.SHARE_CAM_SHOW,this.showShareCam),document.removeEventListener(Qn.R.SHARE_CAM_HIDE,this.hideShareCam)},n.prototype.render=function(){var e=this.props,n=e.onShowIconComponent,t=e.onShowTextComponent,o=e.onHideIconComponent,a=e.onHideTextComponent,l=this.state.isShow;return(0,i.h)("a",{className:(0,C.n)({on:!l,off:l}),title:l?__("Stop your webcam"):__("Start your webcam"),onClick:this.handleClick},!l&&n,!l&&t,l&&o,l&&a)},n.defaultProps={onClick:J.noop,onShowTextComponent:null,onShowIconComponent:null,onHideIconComponent:null,onHideTextComponent:null},n}(i.uA),Xt=Kt,Jt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,g.C6)(n,e),n.prototype.render=function(){var e=this.props.onClick;return(0,i.h)(Xt,{onClick:e,onShowIconComponent:(0,i.h)(Gt,null),onHideIconComponent:(0,i.h)(qt,null),onShowTextComponent:(0,i.h)(Yt,null,__("Start your webcam")),onHideTextComponent:(0,i.h)(zt,null,__("Stop your webcam"))})},n.defaultProps={onClick:J.noop},n}(i.uA),Zt=Jt,$t=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,g.C6)(n,e),n.prototype.render=function(){var e=this.props.onClick;return(0,i.h)(Xt,{onClick:e,onShowIconComponent:(0,i.h)(Gt,null),onHideIconComponent:(0,i.h)(qt,null),onShowTextComponent:(0,i.h)(Yt,null,__("%_small_%Start your webcam")),onHideTextComponent:(0,i.h)(zt,null,__("%_small_%Stop your webcam"))})},n.defaultProps={onClick:J.noop},n}(i.uA),Qt=$t;function ei(e){return{chatOptionsNew:e.chatOptionsNew}}var ni=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,g.C6)(n,e),n.prototype.render=function(){var e=this.props.chatOptionsNew;if(!(null==e?void 0:e.isShareCamControlsEnabled))return null;var n=this.props.children;return(0,i.h)("div",{className:"bShareCamControls chatBtn js-share-cam-controls"},n)},n=(0,g.Cg)([(0,et.Ng)(ei)],n)}(i.uA),ti=ni,ii=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,g.C6)(n,e),n.prototype.render=function(){var e=this.props.onClick;return(0,i.h)(Xt,{onClick:e,onShowIconComponent:(0,i.h)(Gt,null),onHideIconComponent:(0,i.h)(qt,null)})},n.defaultProps={onClick:J.noop},n}(i.uA),oi=ii,ai="js-total-users",li=".".concat(ai),ri=t(72374),si=t(99263),ci=t(12348),ui="__show",di=t(57321),_i=function(){var e,n,t,a,l,r,s,c,u,d,_;n=(0,o.useRef)(0),t=(0,o.useRef)(!1),a=(0,o.useRef)(!1),l=(0,o.useRef)(null),r=(0,o.useRef)(null),s=(0,o.useCallback)((function(){t.current||(r.current.classList.add(ui),t.current=!0)}),[]),c=(0,o.useCallback)((function(){t.current&&(r.current.classList.remove(ui),t.current=!1)}),[]),u=(0,o.useCallback)((function(e){if(n.current!==e&&(n.current=e,r.current)){if(0===e)return r.current.innerText="",void c();s(),r.current.innerText=(0,di.q)(e)}}),[c,s]),d=(0,o.useCallback)((function(){l.current&&(l.current.cancelAnimation(),l.current=null)}),[]),_=(0,o.useCallback)((function(e){e!==n.current&&(d(),l.current=(0,ci.a)({animationDuration:5e3,from:n.current,to:e,onStepAnimate:u}),l.current.startAnimation())}),[u,d]),(0,o.useEffect)((function(){var e=function(e,t,i){void 0===i&&(i=!1);var o=((null==t?void 0:t.totalUsers)||0)+((null==t?void 0:t.totalGuests)||0),l=i&&!o;if(o!==n.current){var r=a.current;if(a.current=!l,i||!r)return d(),void u(o);_(o)}};return G.I.on("syncUserList",e),function(){G.I.off("syncUserList",e)}}),[u,d,_]),(0,ri.A)((function(){r.current=document.querySelector(li)})),(0,si.A)((function(){d()}));var p=(0,C.n)(((e={bChatUsersCount:!0,chat_users_count:!0})[ai]=!0,e));return(0,i.h)("a",null,trans("Users %num%",{num:'')}))},pi=(0,o.memo)((function(e){var n=e.children;return(0,i.h)("div",{className:"chat_tabs_container"},(0,i.h)("ul",{className:"mls_tabs js-tab-button-container"},(0,i.h)("li",{"data-tab":"history",className:"tab_history selected"},(0,i.h)("a",null,__("Chat"))),(0,i.h)("li",{"data-tab":"users",className:"tab_users"},(0,i.h)(_i,null))),(0,i.h)("div",{className:"tab_controls"},n))})),hi=t(53864),mi=function(){return t.e(697).then(t.bind(t,34083))},vi=function(){return t.e(699).then(t.bind(t,41961))},fi=function(){return t.e(704).then(t.bind(t,99524))},bi=function(){return t.e(700).then(t.bind(t,43926))},gi=function(){var e,n=l.A.getState(),t=(0,s.b5)(n),h=(0,c.e)(n),v=(0,u.Hz)(n),g=(0,u.OD)(n),N=(0,u.UQ)(n),k=(0,u.K5)(n),P=(0,u.uD)(n),w=(0,r.L)(n),y=(0,a.d4)(u.U7);(0,o.useEffect)((function(){var e;return(0,Un._b)("Chat MemberChatLayout create").info(),null===(e=chat.setChatHeight)||void 0===e||e.call(chat),l.A.setState({isChatMounted:!0}),function(){return l.A.setState({isChatMounted:!1})}}),[]);var S=(chat.localData||{}).isTPLU,T=(0,Wn.Z)((0,V.ip)("@common_profile?username=".concat((0,M.o)(null==t?void 0:t.username)),!0)),L=P?(0,Wn.Z)(""):"",I=Boolean(null==v?void 0:v.isMobileStream),R=(0,d.j)(g),O=Vn.h.isEnabled("disable_vip"),H=w&&!y;return(0,i.h)("div",{id:"mls_chatconsole",className:"innerchat",style:t?void 0:{display:"none"}},(0,i.h)("div",{id:"chatContainer",className:(0,C.n)({chatContainer:!0,cc_amp:S,full_mobile:k})},(0,i.h)(f,null),H&&(0,i.h)(Yn.e,null),(0,i.h)("div",{id:"js-cc_inner",className:"cc_inner"},(0,i.h)("div",{className:"cam-column js-cam_column"},(0,i.h)("div",{id:"chat_resizable_wrp",className:"chat_resizable_wrp js-chat_resizable_wrp"},(0,i.h)("div",{id:"ResizablePane",className:(0,C.n)((e={"video_resizable_wrp js-video_resizable_wrp":!0},e.__mobile=I,e))},(0,i.h)(Xn,null),(0,i.h)("div",{id:"EmbedSWFHolder"},(0,i.h)(nt,null),(0,i.h)(zn.default,null,(0,Gn.q)()),(0,i.h)("div",{id:"bChatFloatPlayerControl"}))),(0,i.h)(qn.default,null)),(0,i.h)(gt,null),(0,i.h)($n,{chatLocalData:h}),!O&&(0,i.h)("div",{id:"bBuyVip2"},(0,i.h)("button",{id:"bBuyVip2_btn",className:"bt35 bt35_green",onClick:function(e){e.preventDefault(),chat.buyVipPopup()}},__("Buy VIP Status"))),(0,i.h)(pt,null),(0,i.h)(A,null)),(0,i.h)("div",{className:"chat-wrapper"},(0,i.h)("div",{className:"chat-column bc_full_size"},!H&&(0,i.h)(o.Fragment,null,(0,i.h)(Vt,null),(0,i.h)(vt,null),(0,i.h)(Yn.N,null),(0,i.h)("div",{className:"tip_king_wrp js-tip_king_wrp"})),(0,i.h)(x,null,N&&(0,i.h)(Wt,null),(0,i.h)("div",{id:"public-chat",className:"chat-tab"},(0,i.h)(pi,null,(0,i.h)("div",{className:"tc_item __empty"}),(0,i.h)("div",{className:"tc_wrp"},(0,i.h)("div",{className:"tc_wrp_inner"},(0,i.h)("div",{className:"tc_item __empty"}),(0,i.h)("div",{className:"tc_wrp_inner_small"},(0,i.h)("div",{className:"tc_item __small"},(0,i.h)(ti,null,(0,i.h)(oi,{onClick:hi.t}))),(0,i.h)("div",{className:"tc_item"},(0,i.h)(ti,null,(0,i.h)(Qt,{onClick:hi.t}))))),(0,i.h)("div",{className:"tc_item"},(0,i.h)(ti,null,(0,i.h)(Zt,{onClick:hi.t}))))),(0,i.h)("div",{className:"chat_tabs_content js-chat_tabs_content ".concat(jn.h)},(0,i.h)("div",{className:"chat_tabs_item js-chat_tabs_item_history","data-tab":"history"},H&&(0,i.h)(Yn.N,{isInChat:!0}),(0,i.h)(b.D,null)),(0,i.h)("div",{className:"chat_tabs_item","data-tab":"users",style:{display:"none"}},(0,i.h)(B,null)),(0,i.h)("div",{className:"notificationContainer"},(0,i.h)("div",{className:"notificationContainerWrapper js-notificationMessages"}))),(0,i.h)("div",{className:"bc_new_tip_modal __fixed_tip js-new_tip_modal","data-holder":"chat_holder"}),(0,i.h)("div",{className:"bc_new_tip_modal __fixed_tip js-new_tip_modal","data-holder":"tip_king_holder"})),(0,i.h)(p.c,null)),(0,i.h)("div",{className:"stream-controls right-panel fs-chat-divider"},(0,i.h)("div",{className:"controls-row"},(0,i.h)("div",{className:"stream-control stream-volume"},(0,i.h)("div",{className:"input-range"},(0,i.h)("input",{defaultValue:"75",type:"range"}))),N&&(0,i.h)("button",{id:"cast-button-fs",className:"stream-control cast-control cast-button",style:{display:"none"},is:"google-cast-button"}),(0,i.h)("div",{className:"stream-control stream-fullscreen pl-fullscreen-button"}),(0,i.h)("a",{className:"stream-control stream-profile bUnderChatViewProfile","data-url_prefix":L,href:(0,_.U)(T),rel:"profile noreferrer",target:"_blank",title:__("Profile")}),(0,i.h)("div",{className:"stream-control stream-mycam",onClick:hi.t})),(0,i.h)("div",{className:"controls-row bottom"},(0,i.h)("button",{className:"send-tip",onClick:function(e){e.preventDefault(),chat.tipPopup()}},__("Send Tip"))))))),(0,i.h)(Fn,null)),R&&(0,i.h)(E.N,{getComponent:mi}),N&&(0,i.h)(E.N,{getComponent:vi,props:{key:"tapTL",loader:bi}}),N&&(0,i.h)(E.N,{getComponent:vi,props:{key:"tapPL",loader:fi}}),(0,i.h)("div",{id:"bFontSizeTipHolder",style:{display:"none"}},(0,i.h)("div",{id:"bFontSizeTip"},(0,i.h)("span",{className:"fs-btn dec"},(0,i.h)(m.A,{group:"fs_icon_symbol",icon:"#svg_icon_font_size_minus",url:X.ed}))," ",(0,i.h)("span",{className:"fs-btn inc"},(0,i.h)(m.A,{group:"fs_icon_symbol",icon:"#svg_icon_font_size_plus",url:X.ed}))," ",(0,i.h)("span",{className:"sf-ico"},(0,i.h)("div",{className:"fs_icon_text_overlay"}),(0,i.h)(m.A,{group:"fs_icon_text",icon:"#svg_icon_font_size_text",url:X.ed})))))}},152:function(e,n,t){t.d(n,{x:function(){return u}});var i=t(65362),o=t(8546),a=t(50172),l=t(13907),r=t(2268),s=t(67356),c=t(17402),u=function(e){var n=e.displayName,t=e.handleBuy,u=e.handleClose,d=e.disabled,_=(0,c.useRef)(null);return(0,i.j)({ref:_,callback:u}),(0,a.h)("div",{ref:_,className:"popover-light raise_buy_modal"},(0,a.h)("div",{className:"corner top"}),(0,a.h)("div",{className:"inner popover-light-inner"},(0,a.h)("div",{className:"rb_m_close",onClick:u},"×"),(0,a.h)("div",{className:"rb_m_inner bc_flex bc_flex_column"},(0,a.h)("img",{className:"rb_m_icon bc_flex_item_center",src:(0,l.oF)("svg/bc/icon/icon_fan_boost.svg"),alt:""}),(0,a.h)("div",{className:"rb_m_title_wrp"},(0,a.h)("div",{className:"rb_m_title"},__("Buy Fan Boost")),(0,a.h)("div",{className:"rb_m_sub_title"},trans("Price: %amount% %tokens_plural%",{amount:s.K,tokens_plural:''.concat(r.kX.pluralise("tokens",s.K),"")}))),trans("%st%By activating Fan Boost you will move%st_cl% %displayname% %st%model to the %b%1st place%b_cl% of the website homepage for %b%%seconds% seconds.%b_cl%%st_cl%",{displayname:''.concat(n,""),seconds:s.r,st:'',st_cl:"",b:'',b_cl:""})),(0,a.h)("div",{className:"rb_m_action"},(0,a.h)("button",{className:(0,o.n)({"mls_btn bt30_green rb_m_btn":!0,__disabled:d}),onClick:t},__("Buy and Activate")))))}},93956:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(65362),o=t(53336),a=t(8546),l=t(50172),r=t(13907),s=t(26580),c=t(2597),u=t(2268),d=t(77679),_=t(17402),p=function(e){var n=e.timeout,t=e.displayName,p=e.isVipAvailable,h=e.handleClose,m=(0,_.useRef)(null),v=(0,r.ip)("@member_account_vip_overview"),f=(0,r.ip)("@member_account_membership");return(0,i.j)({ref:m,callback:h}),(0,l.h)("div",{ref:m,className:(0,a.n)({"raise_what_popover popover-light":!0,__vip:p})},(0,l.h)("div",{className:"corner top"}),(0,l.h)("div",{className:"inner popover-light-inner"},(0,l.h)("div",{className:"raise_what_close popover-light-close",onClick:h}),(0,l.h)("div",{className:"raise_popover_text_wrp"},(0,l.h)("p",{className:"raise_popover_title bc_bold"},__("Raise model to 1st position")),(0,l.h)(d.A,{time:n}),(0,l.h)("p",{className:"raise_popover_text"},__("By clicking the button, you will be raising %display_name% to the first position on the main page for 60 seconds. During this time the model's chat room will become much more visible and incredibly popular! A notification about your action will appear in the chat, visible to the model and the other chat users. %display_name% will be sure to appreciate this gesture and be immeasurably grateful to you!",{display_name:t})),(0,l.h)("p",null,__("Only premium users can take advantage of this feature:"))),(0,l.h)("div",{className:"bc_flex"},p&&(0,l.h)("div",{className:"raise_popover_status bc_flex bc_flex_column bc_flex_items_center"},(0,l.h)("a",{className:"bc_flex",href:v,target:"_blank"},(0,l.h)(s.A,{group:"rps_icon",icon:"#svg_msp_vip",url:o.z1})),(0,l.h)("a",{className:"rps_link",href:v,target:"_blank"},__("Vip")),(0,l.h)("p",{className:"rps_info"},__("Once every %count% %days%",{count:10,days:u.kX.pluralise("days",10)}))),(0,l.h)("div",{className:"raise_popover_status bc_flex bc_flex_column bc_flex_items_center"},(0,l.h)("a",{className:"bc_flex",href:f,target:"_blank"},(0,l.h)(s.A,{group:"rps_icon",icon:"#svg_msp_"+c.A.SAPPHIRE,url:o.z1})),(0,l.h)("a",{className:"rps_link",href:f,target:"_blank"},c.A.getTitle(c.A.SAPPHIRE)),(0,l.h)("p",{className:"rps_info"},__("Once every %count% %days%",{count:7,days:u.kX.pluralise("days",7)}))),(0,l.h)("div",{className:"raise_popover_status bc_flex bc_flex_column bc_flex_items_center"},(0,l.h)("a",{className:"bc_flex",href:f,target:"_blank"},(0,l.h)(s.A,{group:"rps_icon",icon:"#svg_msp_"+c.A.TITAN,url:o.z1})),(0,l.h)("a",{className:"rps_link",href:f,target:"_blank"},c.A.getTitle(c.A.TITAN)),(0,l.h)("p",{className:"rps_info"},__("Once every %count% %days%",{count:3,days:u.kX.pluralise("days",3)}))),(0,l.h)("div",{className:"raise_popover_status bc_flex bc_flex_column bc_flex_items_center"},(0,l.h)("a",{className:"bc_flex",href:f,target:"_blank"},(0,l.h)(s.A,{group:"rps_icon",icon:"#svg_msp_"+c.A.DIAMOND,url:o.z1})),(0,l.h)("a",{className:"rps_link",href:f,target:"_blank"},c.A.getTitle(c.A.DIAMOND)),(0,l.h)("p",{className:"rps_info"},__("Once every day"))),(0,l.h)("div",{className:"raise_popover_status bc_flex bc_flex_column bc_flex_items_center"},(0,l.h)("a",{className:"bc_flex",href:f,target:"_blank"},(0,l.h)(s.A,{group:"rps_icon",icon:"#svg_msp_"+c.A.EXCLUSIVE,url:o.z1})),(0,l.h)("a",{className:"rps_link",href:f,target:"_blank"},c.A.getTitle(c.A.EXCLUSIVE)),(0,l.h)("p",{className:"rps_info"},__("%count% times per day",{count:3}))))))}},28610:function(e,n,t){t.d(n,{Et:function(){return C},Ux:function(){return m}});var i=t(98614),o=t(152),a=t(27705),l=t(93956),r=t(25383),s=t(67356),c=t(81444),u=t(13907),d=t(73324),_=t(4645),p=t(17402),h=t(41669),m=function(e){var n=e.isPaymentsDisabled,t=e.isAuthenticated,i=e.balance,o=e.fanBoost,a=(0,p.useState)(!1),l=a[0],m=a[1],v=(0,p.useState)(!1),f=v[0],b=v[1],g=(0,p.useState)(Math.ceil((0,c.ju)(o)/1e3)),C=g[0],N=g[1],k=(0,p.useState)((0,c.Rh)(o)),P=k[0],w=k[1],y=(0,p.useState)(t&&(0,c.J8)(o)),A=y[0],S=y[1];(0,p.useEffect)((function(){N(Math.ceil((0,c.ju)(o)/1e3)),w((0,c.Rh)(o))}),[o]),(0,p.useEffect)((function(){S(t&&(0,c.J8)(o))}),[t,o]);var T=(0,p.useCallback)((function(){if(n)h('a[rel="webcamsupport"]').click();else{var e=o.isMemberAvailable,a=o.isModelAvailable,l=o.modelUsername;if(!(t&&a&&!e))throw b(!1),new Error("[FanBoostWidget] buy not available: "+[+t,+a,+!e].join(""));if(i0&&(t.timer=window.setTimeout((function(){t.setState({timeout:t.state.timeout-1},(function(){t.state.timeout>0&&t.processTimer()}))}),1e3))},t.state={timeout:n.time},t}return(0,i.C6)(n,e),n.prototype.componentDidMount=function(){this.startFanBoostTimer(this.props.time)},n.prototype.shouldComponentUpdate=function(e,n){return e.time!==this.props.time||n.timeout!==this.state.timeout},n.prototype.render=function(){var e=this.props.isMobile,n=this.state.timeout;if(!n||n<=0)return null;var t=Math.floor(n%60),i=Math.floor(n/60%60),l=Math.floor(n/60/60%24),r={days:Math.floor(n/60/60/24),hours:l,minutes:("0"+i).slice(-2),seconds:("0"+t).slice(-2)},s=r.days>0?__("The button will become active in %days% d %hours% h %minutes% m %seconds% s.",r):__("The button will become active in %countdown%.",{countdown:"".concat(r.hours,":").concat(r.minutes,":").concat(r.seconds)});return(0,a.h)("p",{className:(0,o.n)({bcc_text_group:e,"raise_popover_text no_raise_text":!e})},"".concat(__("You used this feature the allowed number of times.")," ").concat(s))},n}(a.uA);n.A=l},34587:function(e,n,t){t.d(n,{Oi:function(){return s},WT:function(){return i},_6:function(){return r},cO:function(){return o},hx:function(){return a},iC:function(){return u},lC:function(){return l},tJ:function(){return c}});var i="#initialFanBoostData",o=".js-raise_model",a=".js-raise_model_btn",l=".js-fba_text_wrapper",r=".js-raise_buy",s=".js-rb_popup_wrp",c=".js-raise_what_link",u=".js-raise_what_popup_wrp"},56754:function(e,n,t){t.r(n),t.d(n,{FanBoostWidget:function(){return N},init:function(){return k}});var i=t(15215),o=t(59256),a=t(19826),l=t(39222),r=t(13907),s=t(63065),c=t(41669),u=!1;var d=t(1579),_=t(32892),p=t(50172),h=t(25383),m=t(67780),v=t(81444),f=t(34587),b=a.A.action((function(e){var n=e.fanBoost,t=n.isMemberAvailable,i=n.isModelAvailable,o=n.boostTimeLeftDate,a=e.isAuthenticated&&(0,v.J8)(e.fanBoost),l=document.querySelector(f.cO),r=document.querySelector(f.hx),s=document.querySelector(f._6),c=document.querySelector(f.lC);null==l||l.classList.toggle("__raise_buy",!t),null==r||r.classList.toggle("__active",a),null==s||s.classList.toggle("__show",!t),null==s||s.classList.toggle("__disabled",!i),null==c||c.classList.toggle("__active",o&&Date.now()\n ').concat(__("Online"),"\n "))}p||m.html('
'.concat(o.profileWall.lastBroadcastRecentlyText,"
")),h.toggle(p),m.toggle(!p)}}({data:t.data}),(0,m.gt)({isModelAvailable:h})}break;case"fb":t.model===_&&(0,m.gt)({boostTimeLeftDate:Date.now()+1e3*g.r})}}))}},this.showWhatPopup=function(){t.e(259).then(t.bind(t,33552)).then((function(e){var n=e.FanBoostWhatPopupContainer,t=document.querySelector(f.iC);o.w.instance.attachPopup((function(){return(0,p.h)(n,{handleClose:o.w.instance.detachPopup})}),t)}))},this.showBuyPopup=function(){t.e(390).then(t.bind(t,49483)).then((function(e){var n=e.FanBoostBuyPopupContainer,t=document.querySelector(f.Oi);o.w.instance.attachPopup((function(){return(0,p.h)(n,{handleClose:o.w.instance.detachPopup})}),t)}))},this.updateFanBoostState=function(e){var n,t,o=null===(n=document.querySelector(f.WT))||void 0===n?void 0:n.textContent;if(e){var a=document.createElement("div");a.innerHTML=e,o=null===(t=a.querySelector(f.WT))||void 0===t?void 0:t.textContent}if(o){var l=JSON.parse(o,(function(e,n){return"string"==typeof n&&/^\d+$/g.test(n)?Number(n):n}));l&&(0,m.gt)((0,i.Cl)({serverTimeDelta:Math.max(300,Date.now()-1e3*Number(l.serverTime)-2e3),boostTimeLeftDate:l.boostTimeLeftTimeout>0?Date.now()+l.boostTimeLeftTimeout:null},l.fanBoost))}},this.updateBoostedTimer=function(){if(e.boostedTimer&&window.clearTimeout(e.boostedTimer),e.currentFanBoostState.boostTimeLeftDate){var n=(0,v.p$)(e.currentFanBoostState);e.boostedTimer=window.setTimeout((function(){(0,m.gt)({boostTimeLeftDate:null})}),n)}}}return Object.defineProperty(e,"instance",{get:function(){return this._instance||(this._instance=new this)},enumerable:!1,configurable:!0}),e.prototype.init=function(){if(!this.isInitialized){var e=a.A.getState().isAuthenticated;this.isInitialized=!0,this.isAuthenticated=e,this.initListeners(),this.updateFanBoostState()}},e}();function k(){N.instance.init()}},81444:function(e,n,t){function i(e){return Math.max(0,e.nextAvailableDate-Date.now()+e.serverTimeDelta||0)}function o(e){return e.isMemberAvailable&&e.isModelAvailable&&i(e)<=0}function a(e){return e.boostTimeLeftDate-Date.now()}function l(e){return e.boostTimeLeftDate&&Date.now()(0,o.c)(F):!P;return(0,i.h)("div",{ref:t,className:(0,s.n)({"mplg_btn bc_flex":!0,__no_hint:N,__pin_animation:f&&X,__small:y}),onMouseEnter:M,onMouseLeave:R},(0,i.h)(l.$,{animationContainerRef:n,className:(0,s.n)({"mplg_btn_icon_wrp __animated":!0,__pin:X,__pinned:!X}),hint:X===f?F:H,iconType:X?"#svg_btna_mpl_pin":"#svg_btna_mpl_pinned",testId:X?u.CU.PIN:u.CU.UNPIN,isAnimPlay:f,isInner:!0,isSmall:y,isWithAnimation:!0,handler:X?B:x,onMouseEnter:(0,c.s)(S,m)}),d)}},32542:function(e,n,t){t.r(n),t.d(n,{MiniProfilePinButton:function(){return k},updateMiniProfilePinButton:function(){return o}});var i=t(15215),o=function(e,n){var t,o=e.miniProfile;return o?{miniProfile:(0,i.Cl)((0,i.Cl)({},o),{actions:(0,i.Cl)((0,i.Cl)({},o.actions),{pinModelButton:(0,i.Cl)((0,i.Cl)({},null===(t=o.actions)||void 0===t?void 0:t.pinModelButton),n)})})}:e},a=t(50172),l=t(46517),r=t(89836),s=t(7635),c=t(96773),u=t(92227),d=t(12307),_=t(15514),p=t(39255),h=t(98768),m=t(74566),v=t(70509),f=t(17402),b=t(38588),g=t(80554),C=t(29622),N=t(26616),k=function(e){var n=e.isSmall,t=void 0!==n&&n,o=(0,l.d4)(c.pJ),k=(0,l.d4)(r.Hh),P=(0,l.d4)(p.i),w=(0,h.Rf)({logGroup:"pinButton",isAvailable:(null==o?void 0:o.isAuthenticated)&&!(null==o?void 0:o.isFreeMember)}),y=w.isAnimating,A=w.isAnimatingAvailable,S=w.isPlaying,T=w.prepareAnimation,B=w.resetAnimation,L=w.startAnimation,x=w.onAnimationEnd,E=w.onAnimationReady,M=w.onRequestEnd,I=(0,s.n)((null==o?void 0:o.isPinned)||!1,y),R=(0,h.zK)({path:I?v.E_:v.Rm,isPlaying:S,onAnimationEnd:x,onAnimationReady:E}).animationContainerRef,O=function(e){var n=e.liveTab,t=e.pinButton,o=e.isWithPinHint,a=void 0!==o&&o,l=e.onChatHostChange,r=void 0===l?N.noop:l,s=e.onError,c=void 0===s?N.noop:s,u=e.onRequest,d=void 0===u?N.noop:u,_=e.onResponse,p=void 0===_?N.noop:_,h=(0,f.useRef)(null),m=(0,C.co)((0,i.Cl)((0,i.Cl)({},t),{liveTab:n,pinUserHintEventAvailable:a,useHandlePin:C.uG,useHandleUnPin:C.Pc,onRequest:d,onSuccessPin:p,onSuccessUnPin:p,onError:c,onNotIsAuthenticated:function(){chat.addServiceMessage(__("Pin a model feature is for premium members only"),"alert")},onIsNeedBuyToken:function(){chat.addServiceMessage("".concat(__("Pin a model feature is for premium members only"),". ").concat(__("To become a premium (GOLD) member for life and unlock this feature, all you have to do is buy any amount of tokens one time!")),"alert")}})),v=m.isAvailableHintExplanation,k=m.isAvailableShowHintTooMany,P=m.isHideHint,w=m.isHideHintTooMany,y=m.isShowHintExplanation,A=m.isShowHintTooMany,S=m.handleCloseHint,T=m.handleCloseHintTooMany,B=m.handleHideHintExplanation,L=m.handlePinModel,x=m.handleShowHintExplanation,E=m.handleUnPinModel,M=(0,f.useCallback)((function(){var e=h.current;if(e){var n=e.offsetWidth,t=n?"".concat(n,"px"):"unset";e.style.setProperty("--mplg-btn-width",t)}}),[]),I=(0,f.useCallback)((function(e){M(),L(e)}),[L,M]),R=(0,f.useCallback)((function(e){M(),E(e)}),[E,M]);return(0,f.useEffect)((function(){return document.addEventListener(g.R.PIN_CLICK,I),document.addEventListener(g.R.PIN_CLOSE_HINT,T),function(){document.removeEventListener(g.R.PIN_CLICK,I),document.removeEventListener(g.R.PIN_CLOSE_HINT,T)}}),[T,I]),(0,b.A)((function(){r()}),[null==t?void 0:t.username]),{pinButtonWrapRef:h,isAvailableHintExplanation:v,isAvailableShowHintTooMany:k,isHideHint:P,isHideHintTooMany:w,isShowHintExplanation:y,isShowHintTooMany:A,handleCloseHint:S,handleCloseHintTooMany:T,handleHideHintExplanation:B,handlePin:I,handleShowHintExplanation:x,handleUnpin:R}}({liveTab:k,pinButton:o,isWithPinHint:P,onChatHostChange:B,onError:function(){M(!1)},onRequest:L,onResponse:M}),H=O.pinButtonWrapRef,D=O.isAvailableHintExplanation,F=O.isAvailableShowHintTooMany,j=O.isHideHint,U=O.isHideHintTooMany,V=O.isShowHintExplanation,W=O.isShowHintTooMany,q=O.handleCloseHint,z=O.handleCloseHintTooMany,G=O.handleHideHintExplanation,Y=O.handlePin,K=O.handleShowHintExplanation,X=O.handleUnpin,J=D&&V,Z=F&&W;return(0,a.h)(m.T,{animationContainerRef:R,pinButtonWrapRef:H,pinButton:o,prepareAnimation:T,isAnimatingAvailable:A,isAnimPlay:S,isNoHint:j||U||D,isPinned:I,isSmall:t,handlePin:Y,handleUnpin:X,onMouseEnter:K,onMouseLeave:G},J&&(0,a.h)(u.R,{pinHintType:d.Y.EXPLANATION,placementType:_.p.MINI_PROFILE,onClose:q}),Z&&(0,a.h)(u.R,{pinHintType:d.Y.TOO_MANY_PINS,placementType:_.p.MINI_PROFILE,onClose:z}))}},84408:function(e,n,t){t.d(n,{V:function(){return c}});var i=t(50172),o=t(17402),a=t(22078),l=t(19223),r=t(61093),s=t(17551),c=(0,o.memo)((function(){var e=(0,s.i)(),n=e.actions.handleOpenGallery,t=e.states.miniProfileVideos,o=t||{},c=o.label,u=void 0===c?"":c,d=o.showMoreLink,_=void 0===d?null:d,p=o.videos,h=void 0===p?[]:p;return(0,a.j)(t)&&h.length?(0,i.h)("div",{className:"mplg_list_row __video"},(0,i.h)("div",{className:"mplg_list_item __title"},u),(0,i.h)("div",{className:"mplg_list_item bc_flex_column"},(0,i.h)("div",{className:"mplg_l_video_wrp bc_media_thumb_wrp bc_flex bc_flex_wrap"},h.map((function(e){return(0,i.h)(r.Id,{key:e.thumbImage.src,data:e,onOpenGallery:n})}))),!!(null==_?void 0:_.url)&&(0,i.h)("div",{className:"mplg_l_link"},(0,i.h)("a",{href:(0,l.FC)(_.url),rel:_.rel,target:_.target,title:(0,l.b8)(_.title)},(0,l.b8)(_.text))))):null}))},3949:function(e,n,t){t.d(n,{B:function(){return o}});var i=t(40793),o=function(e){var n;return null===(n=(0,i.c)(e))||void 0===n?void 0:n.socialProfiles}},59256:function(e,n,t){t.d(n,{w:function(){return c}});var i=t(62614),o=t(50172),a=t(79276),l=t(19826),r=t(98614),s=t(41669),c=function(){function e(){var e=this;this.attachPopup=function(n,t){if(e.wrapperElement)return e.detachPopup();e.isMobile?(0,a.JX)("injectable_popup",n):t&&(e.wrapperElement=document.createElement("div"),t.appendChild(e.wrapperElement),i.w.append((0,o.h)(r.Kq,{store:l.A},n()),e.wrapperElement))},this.detachPopup=function(){e.isMobile?(0,a.Jw)():e.wrapperElement&&(i.w.unmount(e.wrapperElement),e.wrapperElement=null)},this.handleClickOutside=function(n){e.wrapperElement&&!e.wrapperElement.contains(n.target)&&e.detachPopup()},this.isMobile=l.A.getState().isMobile,this.isMobile||s(document).on("click",(function(n){e.handleClickOutside(n)}))}return Object.defineProperty(e,"instance",{get:function(){return this._instance=this._instance||new this},enumerable:!1,configurable:!0}),e}()},97037:function(e,n,t){t.d(n,{h:function(){return i}});var i="js-instruction-step-5"},72374:function(e,n,t){var i=t(17402);n.A=function(e){(0,i.useEffect)((function(){e()}),[])}},99263:function(e,n,t){var i=t(17402);n.A=function(e){(0,i.useEffect)((function(){return function(){e()}}),[])}},58927:function(e,n,t){t.d(n,{v:function(){return m}});var i=t(50172),o=t(17402),a=t(15215),l=t(842),r=t(91651),s=t(41966),c=t(33954),u=function(){var e=[(0,r.i)(l.Y.GALLERY,document.head,null,(0,s.j)())];return c.isRTLCulture&&e.push((0,r.i)(l.Y.GALLERY_RTL,document.head)),e},d=t(46517),_=t(10733),p=(0,o.lazy)((function(){return(0,a.sH)(void 0,void 0,void 0,(function(){var e;return(0,a.YH)(this,(function(n){switch(n.label){case 0:return e=(0,a.fX)((0,a.fX)([Promise.all([t.e(11),t.e(3),t.e(17),t.e(104),t.e(56),t.e(109),t.e(81),t.e(92),t.e(62),t.e(72)]).then(t.bind(t,17310))],u(),!0),[(0,r.i)(l.Y.VIDEO_PLAYER,document.head,null,(0,s.j)())],!1),[4,Promise.all(e)];case 1:return[2,n.sent()[0]]}}))}))})),h=(0,o.lazy)((function(){return(0,a.sH)(void 0,void 0,void 0,(function(){var e;return(0,a.YH)(this,(function(n){switch(n.label){case 0:return e=(0,a.fX)([Promise.all([t.e(11),t.e(118),t.e(3),t.e(17),t.e(102),t.e(104),t.e(56),t.e(135),t.e(92),t.e(62),t.e(100)]).then(t.bind(t,92825))],u(),!0),[4,Promise.all(e)];case 1:return[2,n.sent()[0]]}}))}))})),m=(0,o.memo)((function(e){var n,t,a=e.galleryKey,l=function(e){var n=e.galleryKey,t=(0,d.d4)(_.Qi);return{states:{currentGallery:(0,o.useMemo)((function(){return(null==t?void 0:t[n])||null}),[t,n])}}}(e).states.currentGallery;return(null==l?void 0:l.isPhotoOpen)&&(null===(n=l.photoList)||void 0===n?void 0:n.length)?(0,i.h)(o.Suspense,{fallback:null},(0,i.h)(h,{currentItemIndex:l.currentItemIndex,galleryKey:a,photoList:l.photoList})):(null==l?void 0:l.isVideoOpen)&&(null===(t=l.videoList)||void 0===t?void 0:t.length)?(0,i.h)(o.Suspense,{fallback:null},(0,i.h)(p,{currentItemIndex:l.currentItemIndex,galleryKey:a,pager:l.pager,videoList:l.videoList})):null}))},90894:function(e,n,t){t.d(n,{z:function(){return r}});var i=t(15215),o=t(17402),a=t(26616),l=t(41669),r=function(e){var n=e.username,t=e.image,r=e.linkApiUrl,s=void 0===r?"":r,c=(0,o.useState)(t),u=c[0],d=c[1],_=(0,o.useState)(s),p=_[0],h=_[1];return function(e){var n=e.replacer,t=void 0===n?function(e){return e.replace("_avatarm","_profile_s")}:n,i=e.username,r=e.onChangePhoto,s=void 0===r?a.noop:r;(0,o.useEffect)((function(){var e=function(e,n){if(n&&"user"===n.type&&n.data&&3===n.data.type&&n.data.data&&i===n.data.data.username){var o=t(n.data.data.url);s(o,n.data.data.apiUrl)}};return l(document).on("onNoticeSocketMessage",e),function(){l(document).off("onNoticeSocketMessage",e)}}),[s,t,i])}({username:n,onChangePhoto:(0,o.useCallback)((function(e,n){d((function(n){return(0,i.Cl)((0,i.Cl)({},n),{src:e})})),h(n)}),[])}),(0,o.useEffect)((function(){d((function(e){return(0,i.Cl)((0,i.Cl)({},e),{src:null==t?void 0:t.src})}))}),[null==t?void 0:t.src]),{image:u,linkApiUrl:p}}},80643:function(e,n,t){t.d(n,{Y:function(){return _}});var i=t(50172),o=t(21492),a=t(59992),l=t(83223),r=t(26580),s=t(47885),c=t(53336),u=t(26616),d=t(8546),_=function(e){var n,t=e.className,_=e.addPhotosText,p=void 0===_?null:_,h=e.counter,m=e.deleteAlbumApiUrl,v=e.noPhotosText,f=void 0===v?null:v,b=e.photosCount,g=e.thumbImage,C=e.title,N=e.variant,k=e.viewsCount,P=void 0===k?null:k,w=e.isAccessGranted,y=e.isLoading,A=e.isModelsSkin,S=e.isProtected,T=e.handleClickAlbum,B=void 0===T?u.noop:T,L=e.handleClickAlbumDelete,x=void 0===L?u.noop:L,E=e.handleClickPhoto,M=void 0===E?u.noop:E,I=!w&&(A||S),R=Boolean(b&&b>0),O=!R,H="modern"===N;return(0,i.h)("div",{className:(0,d.n)((n={"bc_media_thumb __picture":!0},n[String(t)]=Boolean(t),n["__".concat(N)]=Boolean(N),n))},(0,i.h)("div",{className:(0,d.n)({bc_flex_justify_center:R,"bc_flex mt_body":!0,"__empty __e_model bc_flex_column bc_flex_full_center":A&&O,"__empty bc_flex_column bc_flex_items_center bc_flex_justify_s_around":!A&&O}),onClick:M},R&&(0,i.h)(o.h,{className:(0,d.n)({"mt_img plt_content_loader_wrp":!0,__loading:y,__protected:I}),image:g,type:"__photo"}),O&&(0,i.h)(i.FK,null,(0,i.h)(r.A,{group:"mt_empty_icon",icon:"#svg_pfm_empty_plus",url:s.YZ}),Boolean(f)&&(0,i.h)("div",{className:"mt_empty_desc"},f),Boolean(p)&&(0,i.h)("div",{className:"mt_empty_link"},p)),I&&(0,i.h)(r.A,{group:"mt_status_icon",icon:"#svg_pfm_lock",url:s.YZ}),m&&(0,i.h)("div",{className:"mt_close",onClick:x},(0,i.h)(r.A,{group:"mt_close_icon",icon:"#svg_pfm_bubble_close",url:s.YZ})),H&&(0,i.h)(a.j,{count:b,type:l.w.PHOTO}),y&&(0,i.h)("span",{className:"bc_spinner_wrp __show __sp_filling"},(0,i.h)(r.A,{group:"bc_spinner",icon:"#svg_ui_circle_loader",url:c.Jp}))),(0,i.h)("div",{className:"mt_footer"},(0,i.h)("span",{className:"mt_item __title",onClick:B},C),H&&(0,i.h)(a.j,{count:P,type:l.w.VIEWS}),!H&&(0,i.h)(a.j,{count:h,type:l.w.EMPTY})))}},49441:function(e,n,t){t.d(n,{o:function(){return p}});var i=t(15215),o=t(842),a=t(97280),l=t(91651),r=t(2e3),s=t(88481),c=t(26616),u=t(41966),d=t(33954),_=t(71423),p=function(e){var n=e.imageLoader,p=e.photoPopupDataApiUrl,h=e.onClose,m=void 0===h?c.noop:h,v=e.onDeletePhoto,f=(0,s.ey)({fancyOptions:{wrapClassName:"bc_profile_popup_wrp __prf_single",border:"none",closeBtn:!1,closeClick:!0,closeEsc:!0,padding:0},loader:function(e){return(0,i.sH)(void 0,void 0,void 0,(function(){var c,h,v,f;return(0,i.YH)(this,(function(i){switch(i.label){case 0:return r.x.instance.navigateRequest(window.location.href),c=[s.Ye.PROFILE_POPUP,d.isRTLCulture?s.Ye.ARABIC_PROFILE_POPUP:null,o.Y.PHOTO_COMMENT].filter(Boolean),[4,(0,_.U)({abortController:e,imageLoader:n,photoPopupDataApiUrl:p})];case 1:return(null==(h=i.sent())?void 0:h.errors)?((0,a._)(null===(v=null==h?void 0:h.errors.global)||void 0===v?void 0:v[0]).error(),m(),[2,Promise.reject(null===(f=null==h?void 0:h.errors.global)||void 0===f?void 0:f[0])]):[2,Promise.all([h,Promise.all([t.e(11),t.e(44),t.e(118),t.e(102),t.e(135),t.e(94)]).then(t.bind(t,96017)),c.map((function(e){return(0,l.i)(e,document.head,{"data-exclude":!0},(0,u.j)())}))])]}}))}))},popupProps:{onClose:m,onDeletePhoto:v}}).openLoadPopupFancybox;return{openAlbumImagePopup:f}}},19846:function(e,n,t){t.d(n,{Py:function(){return o},R1:function(){return a}});var i=function(e){return e.user},o=function(e){var n;return null===(n=i(e))||void 0===n?void 0:n.username},a=function(e){var n;return(null===(n=i(e))||void 0===n?void 0:n.balance)||0}},39255:function(e,n,t){t.d(n,{i:function(){return o}});var i=t(83966),o=function(e){return function(e){return e.userEvents||{}}(e)[i.A.PIN_USER_HINT]||!1}},96688:function(e,n,t){t.r(n);var i=t(15215),o=t(50172),a=t(98614),l=t(87276),r=function(){return Promise.all([t.e(11),t.e(322)]).then(t.bind(t,4329))},s=function(e){function n(n){var t=e.call(this,n)||this;return t.state={isOverlayAlreadyLoaded:!1},t}return(0,i.C6)(n,e),n.prototype.onLoadHandler=function(){this.setState((function(e){return(0,i.Cl)((0,i.Cl)({},e),{isOverlayAlreadyLoaded:!0})}))},n.prototype.render=function(){var e=this,n=this.props,t=n.isModerator,i=n.instantBuy,a=this.state.isOverlayAlreadyLoaded;return(0,o.h)("div",{id:"stream-additional-container"},!t&&((null==i?void 0:i.isVisible)||a)&&(0,o.h)(l.N,{getComponent:r,onLoad:function(){return e.onLoadHandler()}}))},n=(0,i.Cg)([(0,a.Ng)(["isModerator","instantBuy"])],n)}(o.uA);n.default=s},16994:function(e,n,t){t.d(n,{e:function(){return i}});var i=function(e){return e.chatLocalData}},16516:function(e,n,t){t.d(n,{J:function(){return i}});var i=function(){return Boolean(window.IntersectionObserver)}}}]);