(self.webpackChunkbongacams=self.webpackChunkbongacams||[]).push([[171],{86208:function(e,t,n){var i={"./BFCMBarcode":[44875,454],"./BFCMBarcode.tsx":[44875,454],"./BFCMPackage":[70615,530],"./BFCMPackage.tsx":[70615,530],"./BctalkBikini":[50300,480],"./BctalkBikini.tsx":[50300,480],"./BctalkBlueQr":[71617,28,352],"./BctalkBlueQr.tsx":[71617,28,352],"./BctalkInfo":[85668,558],"./BctalkInfo.tsx":[85668,558],"./DiamondExclusiveMagnetGirlPopup":[84745,556],"./DiamondExclusiveMagnetGirlPopup.tsx":[84745,556],"./DiamondExclusivePurpleGirlPopup":[12161,277],"./DiamondExclusivePurpleGirlPopup.tsx":[12161,277],"./DiscountClickAway":[69190,527],"./DiscountClickAway.tsx":[69190,527],"./DiscountCountdownTimer10":[25414,379],"./DiscountCountdownTimer10.tsx":[25414,379],"./DiscountCountdownTimer20":[91208,565],"./DiscountCountdownTimer20.tsx":[91208,565],"./DiscountGoldDevil":[48220,472],"./DiscountGoldDevil.tsx":[48220,472],"./DiscountGoldDracula":[90120,562],"./DiscountGoldDracula.tsx":[90120,562],"./DiscountGoldNeon":[37896,428],"./DiscountGoldNeon.tsx":[37896,428],"./DiscountGoldSand":[93986,569],"./DiscountGoldSand.tsx":[93986,569],"./DiscountGoldTwoGirls":[14275,290],"./DiscountGoldTwoGirls.tsx":[14275,290],"./DiscountLastCall":[6590,222],"./DiscountLastCall.tsx":[6590,222],"./DiscountSandglass":[42058,444],"./DiscountSandglass.tsx":[42058,444],"./ExitTwoGirlsBlue":[98124,574],"./ExitTwoGirlsBlue.tsx":[98124,574],"./FirstPurchaseMobileBlonde":[41482,442],"./FirstPurchaseMobileBlonde.tsx":[41482,442],"./FirstPurchaseMobileBrand":[7435,232],"./FirstPurchaseMobileBrand.tsx":[7435,232],"./FirstPurchaseMobileBrunet":[90152,563],"./FirstPurchaseMobileBrunet.tsx":[90152,563],"./Flash20":[44499,452],"./Flash20.tsx":[44499,452],"./Flash5":[20836,353],"./Flash5.tsx":[20836,353],"./GoldBox":[17110,324],"./GoldBox.tsx":[17110,324],"./GoldDress":[1200,129],"./GoldDress.tsx":[1200,129],"./GoldDressLine":[52254,485],"./GoldDressLine.tsx":[52254,485],"./GoldGold":[46551,465],"./GoldGold.tsx":[46551,465],"./GoldPrivateMessage":[7447,233],"./GoldPrivateMessage.tsx":[7447,233],"./GoldRouletteV2":[39125,438],"./GoldRouletteV2.tsx":[39125,438],"./GoldSummerGuy":[75965,541],"./GoldSummerGuy.tsx":[75965,541],"./GoldUnderpants":[34717,375],"./GoldUnderpants.tsx":[34717,375],"./GoldWhiteChair":[67503,376],"./GoldWhiteChair.tsx":[67503,376],"./IceCream15":[65776,518],"./IceCream15.tsx":[65776,518],"./IceCream5":[26961,383],"./IceCream5.tsx":[26961,383],"./Initial100bigcoin":[9689,254],"./Initial100bigcoin.tsx":[9689,254],"./Initial100bike":[35345,419],"./Initial100bike.tsx":[35345,419],"./Initial100fantastic":[59651,507],"./Initial100fantastic.tsx":[59651,507],"./King":[56106,497],"./King.tsx":[56106,497],"./PinkSwan15":[58674,505],"./PinkSwan15.tsx":[58674,505],"./PlatinumUnlimitedPurplePopup":[64364,513],"./PlatinumUnlimitedPurplePopup.tsx":[64364,513],"./SapphireTitanKingPopup":[78254,547],"./SapphireTitanKingPopup.tsx":[78254,547],"./SignZero":[49882,479],"./SignZero.tsx":[49882,479],"./SpeedZero":[27172,384],"./SpeedZero.tsx":[27172,384],"./SummerBikini15":[42998,448],"./SummerBikini15.tsx":[42998,448],"./Surf20":[50765,482],"./Surf20.tsx":[50765,482],"./TranssexualGoldPanties":[11145,263],"./TranssexualGoldPanties.tsx":[11145,263],"./TranssexualGoldPink":[28917,387],"./TranssexualGoldPink.tsx":[28917,387],"./TranssexualGoldThrone":[14083,289],"./TranssexualGoldThrone.tsx":[14083,289],"./TranssexualGoldYellow":[18505,335],"./TranssexualGoldYellow.tsx":[18505,335],"./VioletNoTokens":[39041,433],"./VioletNoTokens.tsx":[39041,433],"./VipOnlyWeek":[18732,336],"./VipOnlyWeek.tsx":[18732,336]};function o(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n(o)})}o.keys=function(){return Object.keys(i)},o.id=86208,e.exports=o},31348:function(e,t,n){"use strict";n.d(t,{Cb:function(){return s},I$:function(){return r}});var i=n(51310),o=n(31279),a="spoof",s=function(){var e={index:"FIRST",time:Date.now()},t=(0,i.Ri)(a);if(t){var n=JSON.parse(t).index;e.index="FIRST"===n?"SECOND":"THIRD"}(0,i.TV)(a,JSON.stringify(e),{expires:1,expiresType:"day",domain:(0,o.getRealDomain)()})},r=function(){var e=(0,i.Ri)(a),t=3e4;if(e){var n=JSON.parse(e),o=n.index,s=n.time,r=Date.now()-s;t="FIRST"===o?r<18e4?18e4-r:3e4:"SECOND"===o?r<3e5?3e5-r:3e4:r<864e5?864e5-r:864e5}return Math.floor(t/1e3)}},63059:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var i=function(e){return[e.CONTENT_REMOVAL,e.DMCA,e.PRIVACY_POLICY,e.REVIEWS,e.SITEMAP,e.CONCIERGE_SERVICE,e.COMPLIANCE_NOTICE_2257,e.TERMS_AND_CONDITIONS,e.CONTACT_SUPPORT,e.COOKIES_POLICY,e.IMPRESSUM,e.PARENTAL_CONTROL_GUIDANCE,e.PRICES,e.DIGITAL_SERVICES]}},53671:function(e,t,n){"use strict";n.r(t),n.d(t,{init:function(){return he}});var i=n(44198),o=n(547),a=n(99525),s=n(8119),r=n(76294),l=n(14210),c=n(73437),u=function(){function e(){this.enabled=!0,this.left=0,this.top=0,this.right=0,this.bottom=0,this.custom=null,this.onHover=c.noop}return e.prototype.isHover=function(e,t){if(!this.enabled)return!1;if(this.custom)return this.custom(this,t,e);var n=e.pageX,i=e.pageY;return n>=this.left&&n<=this.right&&i>=this.top&&i<=this.bottom},e}(),p=function(){function e(){var e=this;this.areaList={},this.prevX=-1,this.prevY=-1,this.pageX=0,this.pageY=0,this.dirX=0,this.dirY=0,this.moveX=0,this.moveY=0,this.prev_dt=0,this._handleMouseMove=function(t){if((0,l.G)()){if(e._predict(t),null===t.pageX&&null!==t.clientX){var n=t.target&&t.target.ownerDocument||document,i=n.documentElement,o=n.body;e.pageX=t.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)}else e.pageX=t.pageX,e.pageY=t.pageY;for(var a in e.areaList){var s=e.areaList[a];s.isHover(e,t)&&s.onHover(t,e)}}},document.addEventListener("mousemove",this._handleMouseMove,!1)}return e.prototype._predict=function(e){var t=Math.floor(e.clientX),n=Math.floor(e.clientY);if(this.prevX!==t||this.prevY!==n){var i=Date.now();i-this.prev_dt>300&&(this.prevX=-1,this.prevY=-1),this.prev_dt=i,this.dirX=t-this.prevX,this.dirY=n-this.prevY,this.moveX=t+this.dirX,this.moveY=n+this.dirY,this.prevX=t,this.prevY=n}},e.prototype.newArea=function(e){var t=new u;return this.areaList[e]=t,t},e}(),d=n(36883),_=n(65575),f=n(52276),m=n(23385),h=n(28534),v=n(80742),I=n(72983),E=n(41669),b=function(){var e,t=a.A.getState().popupsConfig,n=m.X.instance;if(n){var i=[(null===(e=t[f.L.DISCOUNT_GOLD])||void 0===e?void 0:e.length)?f.L.DISCOUNT_GOLD:f.L.NP_DISCOUNT,f.L.EXIT].filter(function(e){return t[e]});if(i.length){var o=(new p).newArea("default");o.custom=function(e,t){if(t.dirY>=0)return!1;var n=70+.08*(E(window).height()||0);if(t.clientY>n)return!1;var i=E(window).width()||0,o=170+.05*i,a=I.isRTLCulture?o:i-o;return I.isRTLCulture?t.clientXa},o.onHover=function(){var e=n.active,o=n.globalDelay;!e||o||(0,d.r)()||n.isStopped||function(){var e=[];if(i.map(function(n){t[n].map(function(t){e.push({popupConfig:t,type:n})})}),e.length&&!e.some(function(e){var t=e.type;return E('[data-type="'.concat(t,'"]:visible')).length})){var n=+r.DT.getItem(s.Z.ROTATION_ORDER)%1e3||v.Random.rangeInt(0,e.length),o=e[n%e.length];r.DT.setItem(s.Z.ROTATION_ORDER,"".concat(n+1)),o&&(0,h.y)(o.type)}(0,_.H)()}()}}}},T=n(5985),L=n(63002),g=n(80554),P=n(48529),N=(n(48398),n(41669)),A=function(){function e(){}return e.attachHandlers=function(){var e=[".login_form input",".js-filter_wrap","#fl_quick_search",".remote_popup_form input",".remote_popup_form textarea",".remote_popup_form .cszb_select","#bChat .js-chat_msg_input",".gift_wrapper textarea",".js-tip_model input","#tip_model_popup_container label","#tip_model_popup_container textarea",".js-tip_panel_radio",".js-tip_panel_input",".js-new_message_form input",".js-new_message_form textarea",".js-im_form_reply textarea",".bc_popalert",".bcf-popup",".ui-icon-closethick",".ui-icon-close",".add_profile_comment .pm_close","#bongacams_popup .popup_close","#tip_model_popup_input_message","#tip_model_popup_input_amount"].join(", ");N(document).on("keyup focus mouseup wheel touchstart",e,(0,P.n)(function(){var e;null===(e=m.X.instance)||void 0===e||e.setUserInteractionLock()},500)),N(document).on("mousemove",(0,P.n)(function(t){var n,i=N(t.target);(document.activeElement&&N(document.activeElement).is(e)||i.closest(".js-filter_wrap, #fl_quick_search").length)&&(null===(n=m.X.instance)||void 0===n||n.setUserInteractionLock())},500))},e}(),S=n(24899),O=n(41669),D=function(){var e,t=m.X.instance;t&&(O(document).on("click","a[data-click_track_url]",function(e){var t=O(this),n=t.data("click_track_url");n&&(e.preventDefault(),O.get(n,function(){var e=t.attr("href");e&&location.assign(e)}))}),O(document).on("click",".js-bt_popup_show",function(){return t.open(f.L.BT_APP),!1}),O(document).on("chat:visibility",function(e){var n=e.originalEvent.detail,i=a.A.getState().languageSwitcherPopupComponent;t.refreshList(),"visible"===n&&(i||L.A.instance.hideAlert("giveAwayAlert")),i||t.close(!1)}),O(document).on("click","a[data-popup_close]",function(){var e;O(this).data("popup_close")&&(null===(e=o.s.instance)||void 0===e||e.hide())}),document.addEventListener(g.R.NEWS_IM_CLOSE,function(){var e;(0,i._b)("Popups Effects nimClose").warn(),(null===(e=t.activeTask)||void 0===e?void 0:e.name)===f.L.NEWS_IM&&t.close(!1,!1)}),O(document).on("click",".popup_hide",function(e){e.preventDefault(),(0,i._b)("Popups Effects hideClick").log(),t.close()}),O(document).on("click",".js-popup_hide, .js-popup_hide_manual",function(e){var n=e.currentTarget.classList.contains("js-popup_hide_manual"),o=e.currentTarget.getAttribute("href"),a="A"===e.currentTarget.tagName.toUpperCase()&&o&&"#"!==o&&!o.startsWith("javascript");a||e.preventDefault(),(0,i._b)("Popups Effects hideClickJS").log({gotoLink:a,isManual:n}),t.close(void 0,!n&&!a)}),null===(e=o.s.instance)||void 0===e||e.on("onClose",function(e,n){var o=t.activeInfo;(0,i._b)("Popups Dialog onClose").log([null==o?void 0:o.name,null==o?void 0:o.taskId],[e,n]),o&&o.taskId===n&&o.name===e&&t.close()}),T.c.on("newsIm",function(){var e;null===(e=t.list.news_im)||void 0===e||e.refresh()}),T.c.on("isFullScreen",function(){var e;null===(e=t.list.status)||void 0===e||e.refresh()}),T.c.on("fancyPopup",function(){null==t||t.refreshList()}),(0,S.c5)(g.R.SPA_NAVIGATE_COMPLETE,function(){null==t||t.refreshList()}),T.c.on("alerts",function(e,n){var i,o;if(null===(i=t.list.member_bonus)||void 0===i||i.refresh(),null===(o=t.list.give_away_bonus)||void 0===o||o.refresh(),e.alerts&&n.alerts)for(var a in e.alerts)if(["giveAwayAlert","memberBonus"].includes(a)&&!e.alerts[a]&&n.alerts[a]){t.setTime(f.L.PUSH_NOTIFICATION_ALERT,180);break}}),document.addEventListener(g.R.NEWS_IM_CLOSE,function(){return t.disableTask(f.L.NEWS_IM)}),A.attachHandlers())},C=n(15215),y=n(89836),w=n(842),k=n(23110),M=n(29388),R=n(91651),x=n(74848),G=n(16053),U=n(99128);function X(e){return(0,C.sH)(this,void 0,void 0,function(){var t,o,s;return(0,C.YH)(this,function(r){switch(r.label){case 0:if("number"==typeof(t=e.title))switch(t){case 7301:t="BctalkInfo";break;case 7303:t="BctalkBikini";break;case 7305:t="BctalkBlueQr";break;default:return[2,null]}else t=t.replace(/[%-]/g,"").replace(/\(Purchase\)|\(StatusPage\)/g,"");r.label=1;case 1:return r.trys.push([1,3,,4]),[4,n(86208)("./".concat(t))];case 2:return o=r.sent().default,[2,U.w.renderToString((0,x.jsx)(G.Kq,{store:a.A,children:(0,x.jsx)(o,{popupConfig:e})}))||null];case 3:return s=r.sent(),(0,i._b)("PopupsLoader catch").error({e:s,n:t,popupConfig:e}),[3,4];case 4:return[2,null]}})})}var F=n(41669),B=function(e,t){var n,o;void 0===t&&(t=!0),(0,i._b)("Popups Effects afterClose").warn(e);var s=m.X.instance;if(s)if(e.name===f.L.MEMBER_CONFIRM_EMAIL&&a.A.setState({isShowConfirmEmailPopup:!1}),(null===(n=e.activeElement)||void 0===n?void 0:n.find("video").length)&&setTimeout(function(){F(".fancy_popup.__open").find("video").each(function(e,t){t.pause(),t.currentTime=0,F(t).show()})},1),[f.L.DISCOUNT_GOLD,f.L.NP_DISCOUNT].includes(e.name)&&(0,_.H)(),e.name===f.L.NEWS_IM)null===(o=s.list.news_im)||void 0===o||o.refresh();else if(t){if(e.name===f.L.BELGIUM_AND_SWITZERLAND_LANGUAGE_SWITCHER_POPUP)return;s.open(f.L.NEWS_IM)}},H=n(63861),Y=n(88526),j=n(41669),V=n(46140),W=n(80669),K=n(61681),Z=n(41669),J=function(){var e=m.X.instance;if(e){var t=a.A.getState(),n=t.popupsConfig,l=t.isAuthenticated,c={};e.onShow=function(t,u){return(0,C.sH)(void 0,void 0,void 0,function(){var p,d,_,h,v,E,b,T,L,g,P,N,A,S,O,D,x,G;return(0,C.YH)(this,function(U){switch(U.label){case 0:return p=u.customData,d=u.taskId,"function"!=typeof t.renderFn?[3,2]:((0,i._b)("Popups TM onShow external").warn({task:t}),[4,t.renderFn(t,p)]);case 1:return U.sent(),[2,!0];case 2:return Z(".fancybox-overlay .fancybox-type-iframe").length||Z(".fancy_popup.__open .video_ls_popup").length||!o.s.instance?((0,i._b)("Popups TM onShow skip").warn("container not found",{task:t}),[2,!1]):t.iframe?p.href?((0,i._b)("Popups TM onShow").warn("iframe",{task:t}),[2,o.s.instance.show(t,{customData:p,taskId:d})]):[2,!1]:[4,(0,C.sH)(void 0,void 0,void 0,function(){var t,n;return(0,C.YH)(this,function(i){switch(i.label){case 0:return t=[],n=e.isDebug,(l||n)&&((0,M.A)([w.Y.LOGGED_POPUPS],!0)||t.push((0,R.i)(w.Y.LOGGED_POPUPS,void 0,{"data-exclude":!0},(0,K.j)()))),l&&!n||(0,M.A)([w.Y.GUEST_POPUPS],!0)||t.push((0,R.i)(w.Y.GUEST_POPUPS,void 0,{"data-exclude":!0},(0,K.j)())),I.isRTLCulture&&!(0,M.A)([w.Y.ARABIC_POPUPS],!0)&&t.push((0,R.i)(w.Y.ARABIC_POPUPS,void 0,{"data-exclude":!0})),t.length?[4,Promise.all(t)]:[3,2];case 1:i.sent(),i.label=2;case 2:return[2]}})})];case 3:return U.sent(),[f.L.JOIN_POPUP,f.L.JOIN_POPUP_MANUAL].includes(t.name)?((0,i._b)("Popups TM onShow").warn("signup",{task:t}),[2,o.s.instance.show(t,{customData:(0,C.Cl)({isClick:!1},p),taskId:d})]):t.selector||n[t.name]?(_=a.A.getState(),(h=(0,y.pc)(_))===k.n.ALL&&(h=k.n.FEMALE),v=(0,C.Cl)((0,C.Cl)({},n),n.gold&&{gold:n.gold.filter(function(e){return(null==e?void 0:e.live_tab)===h})}),E=null,b=r.DT.getItem(s.Z.VIEWED_POPUPS)||"",T=[],(null===(G=v[t.name])||void 0===G?void 0:G.length)?(L=v[t.name].filter(function(e){var t=e.id;e.title;return t}),(null==p?void 0:p.debug)||L.forEach(function(e){var t=e.id;e.title;(0,V.u)(t)||c[t]||(b.indexOf(t)>=0?c[t]=!0:T.push(t))}),L.length>1?((S=T.length)||(L.map(function(e){var t=e.id;e.title;b=b.replace("".concat(t," "),""),!(0,V.u)(t)&&c[t]&&(c[t]=!1)}),S=L.length),O=(d||0)%S,g=L.filter(function(e){var t=e.id;e.title;return!(0,V.u)(t)&&!c[t]}),(P=(null==p?void 0:p.debug)&&p.name?L.find(function(e){return e.id===p.name}):g[O])?[4,X(P)]:[2,!1]):[3,5]):[3,7]):((0,i._b)("Popups TM onShow skip").warn("unknown popup",{task:t}),[2,!1]);case 4:return(N=U.sent())&&(E=Z(N),P.id&&!(null==p?void 0:p.debug)&&(b+="".concat(P.id," "),c[P.id]=!0,r.DT.setItem(s.Z.VIEWED_POPUPS,b))),[3,7];case 5:return[4,X(L[0])];case 6:(N=U.sent())&&(E=Z(N)),U.label=7;case 7:if(!E&&t.selector){if(!(A=Z(t.selector).filter(function(){return Boolean(Z(this).attr("id"))})).length)return(0,i._b)("Popups TM onShow skip").warn("popup not found",{task:t}),[2,!1];T=[],Z.each(A,function(){var e=Z(this).attr("id");(0,V.u)(e)||c[e]||(b.indexOf(e)>=0?c[e]=!0:T.push(e))}),A.length>1?((S=T.length)||(Z.each(A,function(){var e=Z(this).attr("id");b=b.replace("".concat(e," "),""),!(0,V.u)(e)&&c[e]&&(c[e]=!1)}),S=A.length),O=(d||0)%S,D=A.filter(function(){var e=Z(this).attr("id");return!(0,V.u)(e)&&!c[e]}),E=D.eq(O),x=E.attr("id"),(0,V.u)(x)||(b+="".concat(x," "),c[x]=!0,r.DT.setItem(s.Z.VIEWED_POPUPS,b))):E=A}return E&&E.length?(t.activeElement=E,(0,i._b)("Popups TM onShow").warn({task:t}),[2,o.s.instance.show(t,{afterShow:function(){if((0,i._b)("Popups Dialog afterShow").log({task:t,taskId:d}),t.track&&function(e){if(e.activeElement.length&&m.X.instance&&!(m.X.instance.isDebug||m.X.instance.activeInfo&&m.X.instance.activeInfo.taskId===Number(r.DT.getItem(s.Z.TIMER_MANAGER_LAST_TRACK)))){var t=m.X.instance.activeInfo?m.X.instance.activeInfo.taskId:0;r.DT.setItem(s.Z.TIMER_MANAGER_LAST_TRACK,"".concat(t,"}"));var n=e.activeElement.data("track_url");if(n){var i=(0,C.Cl)({},e.trackParams);j.get(n,i)}}}(t),t.event&&function(e){if(e.activeElement.length&&m.X.instance&&(!m.X.instance.activeInfo||m.X.instance.activeInfo.taskId!==Number(r.DT.getItem(s.Z.TIMER_MANAGER_LAST_EVENT)))){var t=m.X.instance.activeInfo?m.X.instance.activeInfo.taskId:0;r.DT.setItem(s.Z.TIMER_MANAGER_LAST_EVENT,"".concat(t));var n=e.activeElement.data("event_name");if(n){var i={},o=e.activeElement.data("popup_id");o&&(i.popup_id=o);var a=j.extend({},{params:i,type:n},e.trackParams),l=(0,Y.Z)(a);j.ajax({data:l,type:"post",url:(0,H.ip)("@ajax_register_user_event")})}}}(t),t.name===f.L.BF_CM_AFTER_LOGIN&&Z(t.activeElement).attr("data-track_url_after_login")&&Z.get(Z(t.activeElement).attr("data-track_url_after_login")),t.activeElement.find("video").length){var e=function(e){Z(e.target).hide(),(0,W.iB)()&&(0,W.nv)(!1)};setTimeout(function(){Z(".fancy_popup.__open").find("video").each(function(t,n){n.muted=!0,n.play(),setTimeout(function(){return Z(n).on("ended",e)},1)})},1)}},customData:p,taskId:d})]):((0,i._b)("Popups TM onShow skip").warn("popup not found",{task:t}),[2,!1])}})})},e.onClose=B}},q=a.A.action(function(e,t){return{popupsConfig:t}}),Q=n(67374),$=n(1292),z=n(51310),ee=n(31279),te=n(96540),ne=n(26580),ie=n(53336),oe=(0,G.Ng)(function(e){return{skinName:e.skinName}})((0,te.memo)(function(e){var t=e.skinName,n=e.onSubscribe,i=void 0===n?c.noop:n,o=e.onCancel,a=void 0===o?c.noop:o;return(0,x.jsxs)("div",{className:"bc_scroll_compensation push_notification_alert",children:[(0,x.jsx)(ne.A,{group:"pna_icon",icon:"#svg_icon_push_alert",url:ie.ed}),(0,x.jsx)("p",{className:"pna_title",children:__("Don't miss out the most important %skin% news!",{skin:t})}),(0,x.jsx)("p",{className:"pna_desc",children:__("Subscribe to push notifications and be among the first ones to learn about the biggest discounts and best offers.")}),(0,x.jsxs)("div",{className:"pna_active bc_flex bc_flex_justify_s_between",children:[(0,x.jsx)("button",{className:"pna_btn bt35 bt35_green",onClick:i,children:__("Subscribe")}),(0,x.jsx)("button",{className:"pna_btn btn_silver",onClick:a,children:__("No, thanks")})]})]})})),ae=n(41669),se=function(){function e(){var e,t=this;this.idbKey="pnd",this.idbTrackUrlKey="pntu",this.deferDelay=7776e3,this.forceDisabled=!1,this.isModerator="moderator"===(null===(e=a.A.getState().user)||void 0===e?void 0:e.role),this.handleSubscribe=function(){return(0,C.sH)(t,void 0,void 0,function(){return(0,C.YH)(this,function(e){switch(e.label){case 0:return U.w.unmount(this.rootElement),this.rootElement=null,m.X.instance.disableTask(f.L.PUSH_NOTIFICATION_ALERT),[4,this.subscribe()];case 1:return e.sent(),this.attachNotificationListener(),[2]}})})},this.handleCancel=function(){var e;U.w.unmount(t.rootElement),t.rootElement=null,null===(e=m.X.instance)||void 0===e||e.disableTask(f.L.PUSH_NOTIFICATION_ALERT),(0,z.TV)("pnd","1",{expires:t.deferDelay})},this.attachNotificationListener()}return Object.defineProperty(e,"instance",{get:function(){return this._instance=this._instance||new this},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAvailable",{get:function(){return!this.forceDisabled&&(!!document.querySelector(".page_header")&&(!(0,z.Ri)("pnd")&&(!(0,z.Ri)("pnex")&&this.isPushAvailable)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPushAvailable",{get:function(){var e;return!this.isModerator&&(!(!window.Notification||"denied"===(null===(e=window.Notification)||void 0===e?void 0:e.permission))&&![(0,H.ip)("@member_buy_tokens"),(0,H.ip)("@member_buy_vip"),(0,H.ip)("@member_buy_invisibility")].includes(location.pathname))},enumerable:!1,configurable:!0}),e.prototype.mount=function(){return(0,C.sH)(this,arguments,void 0,function(e){return void 0===e&&(e=!1),(0,C.YH)(this,function(t){switch(t.label){case 0:return e?[3,2]:this.isAvailable?[4,this.hasSubscription()]:((0,i._b)("PushNewsModule mount failed").log("unavailable"),[2,!1]);case 1:if(t.sent()[0])return(0,i._b)("PushNewsModule mount failed").log("not sub"),[2,!1];t.label=2;case 2:return(0,i._b)("PushNewsModule mount success").log(),this.renderComponent(),[2,!0]}})})},e.prototype.renderComponent=function(){this.rootElement||((0,i._b)("PushNewsModule renderComponent").log(),this.rootElement=U.w.append((0,x.jsx)(G.Kq,{store:a.A,children:(0,x.jsx)(oe,{onSubscribe:this.handleSubscribe,onCancel:this.handleCancel})}),document.body))},e.prototype.hasSubscription=function(){return(0,C.sH)(this,void 0,void 0,function(){var e,t,n;return(0,C.YH)(this,function(i){switch(i.label){case 0:return e=this.pushInstance.getToken(),[4,Q.I_.getInstance().getData(this.idbKey)];case 1:return t=i.sent(),n=Boolean(e&&t&&t===e),[2,[Boolean((0,z.Ri)("pnex"))||n,n]]}})})},e.prototype.attachNotificationListener=function(){return(0,C.sH)(this,void 0,void 0,function(){var e,t,n,o,a,s,r,l=this;return(0,C.YH)(this,function(c){switch(c.label){case 0:return this.isPushAvailable?this.pushInstance?[3,2]:(e=this,[4,$.k.getInstance()]):((0,i._b)("PushNewsModule attachNotificationListener failed").log("unavailable"),[2]);case 1:if(e.pushInstance=c.sent(),!this.pushInstance.isAvailable())return this.forceDisabled=!0,(0,i._b)("PushNewsModule attachNotificationListener failed").log("push unavailable"),[2];c.label=2;case 2:return[4,this.hasSubscription()];case 3:if(t=c.sent(),n=t[0],o=t[1],!n)return(0,i._b)("PushNewsModule attachNotificationListener failed").log("not sub"),[2];if(!o)return(0,i._b)("PushNewsModule attachNotificationListener failed").log("same domain"),[2];a="".concat(location.origin,"/sw/pn-messaging-sw.js"),c.label=4;case 4:return c.trys.push([4,6,,7]),[4,navigator.serviceWorker.register(a)];case 5:return s=c.sent(),[3,7];case 6:return r=c.sent(),(0,i._b)("PushNewsModule attachNotificationListener failed").error("register",r),[2];case 7:return(0,i._b)("PushNewsModule attachNotificationListener success").log(),Q.I_.getInstance().setData(this.idbTrackUrlKey,(0,H.ip)("@track_site_push_notification")),this.pushInstance.onMessage(function(e){return(0,C.sH)(l,void 0,void 0,function(){var t,n,i;return(0,C.YH)(this,function(o){switch(o.label){case 0:return"granted"!==(null===(n=null===window||void 0===window?void 0:window.Notification)||void 0===n?void 0:n.permission)||"siteNotification"!==(null===(i=null==e?void 0:e.data)||void 0===i?void 0:i.type)||"string"!=typeof e.data.title?[2]:(e.data.data=JSON.parse(JSON.stringify(e.data)),(t=e.data.message_mongo_id)&&!e.data.is_preview&&this.track("delivery",t),[4,s.showNotification(e.data.title,e.data)]);case 1:return o.sent(),[2]}})})}),[2]}})})},e.prototype.subscribe=function(){return(0,C.sH)(this,void 0,void 0,function(){var e,t=this;return(0,C.YH)(this,function(n){switch(n.label){case 0:return[4,this.pushInstance.subscribe()];case 1:return(e=n.sent())?[2,ae.ajax({url:(0,H.ip)("@subscribe_on_site_push_notifications"),dataType:"json",type:"post",data:{hash:e},success:function(){(0,z.TV)("pnex","1",{domain:(0,ee.getRealDomain)(),expires:t.deferDelay}),Q.I_.getInstance().setData(t.idbKey,e)}})]:[2]}})})},e.prototype.track=function(e,t){ae.ajax({url:(0,H.ip)("@track_site_push_notification"),dataType:"json",type:"post",data:{type:e,id:t}})},e}(),re=n(31348),le=n(2597),ce=n(8556),ue=n(63059),pe=function(e){var t,n=(0,ue.O)(e),i=[e.LOGIN,e.TFA_LOGIN,e.FORGOT_PASSWORD,e.RESET_PASSWORD,e.JOIN],o=[e.FREE_TOKENS_PAGES,e.CASHBACK_NFT,e.FOLLOWERS_PAGES,e.PINNED_MODELS,e.IM_PAGES,e.ACCOUNT_PAGES,e.MEMBER_ACCOUNT_VIP_OVERVIEW,e.MEMBER_ACCOUNT_INVISIBLE_MODE_OVERVIEW,e.MEMBER_ACCOUNT_MEMBERSHIP,e.MY_PROFILE_ALBUMS,e.MY_PROFILE_PAGE,e.ANOTHER_PROFILE_INNER_PAGES];return(t={})[f.L.BF_CM_AFTER_LOGOUT]=(0,C.fX)((0,C.fX)((0,C.fX)([],n,!0),i,!0),[e.NOT_FOUND,e.ANOTHER_PROFILE_INNER_PAGES,e.CYBER_SALE],!1),t[f.L.GIVE_AWAY_BONUS]=(0,C.fX)([],i,!0),t[f.L.JOIN_POPUP]=(0,C.fX)((0,C.fX)((0,C.fX)([],n,!0),i,!0),[e.NOT_FOUND,e.ANOTHER_PROFILE_INNER_PAGES],!1),t[f.L.PUSH_NOTIFICATION_ALERT]=(0,C.fX)([],i,!0),t[f.L.SPOOF_IM]=(0,C.fX)((0,C.fX)([],i,!0),[e.CYBER_SALE],!1),t[f.L.BF_CM]=(0,C.fX)((0,C.fX)((0,C.fX)([],n,!0),o,!0),[e.NOT_FOUND,e.CYBER_SALE],!1),t[f.L.BF_CM_AFTER_LOGIN]=(0,C.fX)((0,C.fX)((0,C.fX)([],n,!0),o,!0),[e.NOT_FOUND,e.CYBER_SALE],!1),t[f.L.DISCOUNT_GOLD]=(0,C.fX)((0,C.fX)((0,C.fX)([],n,!0),[e.NOT_FOUND],!1),o,!0),t[f.L.EXIT]=(0,C.fX)((0,C.fX)((0,C.fX)([],n,!0),[e.NOT_FOUND],!1),o,!0),t[f.L.GOLD]=(0,C.fX)((0,C.fX)((0,C.fX)([],n,!0),[e.NOT_FOUND],!1),o,!0),t[f.L.NEWS_IM]=(0,C.fX)((0,C.fX)([],n,!0),[e.FREE_TOKENS_PAGES],!1),t[f.L.STATUS]=(0,C.fX)((0,C.fX)((0,C.fX)([],n,!0),[e.NOT_FOUND],!1),o,!0),t},de=n(41669),_e=function(){var e,t=m.X.instance;if(t){var i=a.A.getState(),o=i.alerts,l=i.languageSwitcherPopupComponent,c=i.loyaltyDiscountEnabled,u=i.popup,p=i.showRegistrationPopups,d=i.user,h=i.isAuthenticated,v=i.isAutoPurchaseTokensEnable,I=i.isShowConfirmEmailPopup,E=d.membership,b=o.giveAwayAlert||o.memberBonus,T=de("#member_join_popup_trigger"),P=!h&&T.length&&p,N=P&&T.data("timer_enabled"),A=(0,z.Hk)("bcnotokenssince"),S=null!==A;S&&(A=Math.floor((Date.now()/1e3-parseFloat(A))/60));var O=h&&E===le.A.FREE,D=h&&E===le.A.GOLD,y=h&&le.A.isHigherThanGold(E),w=h&&[le.A.DIAMOND,le.A.EXCLUSIVE].includes(E),k=!!document.querySelector(".vip_overview_page"),M=(0,ce.isTokenInBodyClassList)("chat_visible"),R=(0,z.Hk)("ssp");t.setExcludedRoutesMap(pe),t.setTasks(((e={})[f.L.JOIN_POPUP]={available:N,order:R?-4:-2,sync:!0,timeLine:R?[{immediately:!0,time:1},{loop:!0,time:7}]:[{time:2},{loop:!0,time:7}]},e[f.L.GOLD]={order:12,selector:".gold_popup",sync:!0,timeLine:[{loop:!0,rand:3.9,time:6.5}],track:!0},e[f.L.STATUS]={condition:function(){return!a.A.getState().isFullScreen},order:11,selector:".status_popup",sync:!0,timeLine:[{time:u.statusPopupFirstTimeout||9.1},{loop:!0,time:720*(w?1.3:6.5)}],track:!0},e[f.L.BF_CM]={available:O,selector:".bf_cm_popup",sync:!0,timeLine:[{loop:!0,time:13}],track:!0},e[f.L.BF_CM_AFTER_LOGIN]={available:h&&!O,order:5,selector:".bf_cm_popup",sync:!0,timeLine:[{time:6.5}],track:!0},e[f.L.BF_CM_AFTER_LOGOUT]={available:!h,order:5,selector:".bf_cm_popup",sync:!1,timeLine:[{time:2.6},{loop:!0,time:9.1}],track:!0},e[f.L.BITCOIN_PAYPAL]={event:!0,order:40,selector:".bitcoin_paypal_popup",sync:!0,timeLine:[{time:y?0:2.6}],track:!0},e[f.L.INITIAL_BONUS]={event:!0,order:40,selector:".initial_bonus_popup",sync:!0,timeLine:[{time:y?0:2.6}],track:!0},e[f.L.FPM]={available:!location.pathname.includes("/mobile-campaign"),event:!0,order:40,selector:".fpm_popup",sync:!0,timeLine:[{immediately:!0,time:1}],track:!0},e[f.L.NEW_MEMBER]={available:O,event:!0,order:6,selector:".js-new_member_popup",sync:!0,timeLine:[{immediately:!0,time:1}],track:!0},e[f.L.SBS_DISCOUNT]={order:10,selector:".sbs_discount_popup",sync:!0,timeLine:[{immediately:!0,time:1},{loop:!0,time:1152}],track:!0},e[f.L.NPR_DISCOUNT]={event:!0,order:10,selector:".js-npr_discount_popup",sync:!0,timeLine:[{immediately:!0,time:1},{loop:!0,time:936}],track:!0},e[f.L.NO_TOKENS]={available:!v&&S&&A>1440&&(y||D),condition:function(){return parseInt(de(".js-tokens").first().text()||"0",10)<=0},order:10,selector:".no_tokens_popup",sync:!0,timeLine:[{loop:!0,time:9.1}],track:!0},e[f.L.VIP]={available:D,enabled:!k,order:20,selector:".vip_popup",sync:!0,timeLine:S&&A<=1440?[{loop:!0,time:136.5}]:[{time:S&&A>=2880?45.5:65},{loop:!0,time:14040}],track:!0},e[f.L.VIP_PREMIUM]={available:y,enabled:!k,order:20,selector:".vip_popup",sync:!0,timeLine:S&&A<=1440?[{loop:!0,time:136.5}]:[{time:S&&A>=2880?45.5:65},{loop:!0,time:14040}],track:!0},e[f.L.GIFT_CARD_DEFAULT]={available:h,selector:".gc_default",sync:!0},e[f.L.GIFT_CARD_EXCLUSIVE]={available:h,selector:".gc_exclusive",sync:!1},e[f.L.VIP_GIFT_CARD]={available:h,selector:".gc_popup_vip",sync:!1},e[f.L.BT_POPUP]={event:!0,order:40,selector:".js-bt_popup",sync:!0,timeLine:[{time:O?2.6:0}]},e[f.L.BELGIUM_AND_SWITZERLAND_LANGUAGE_SWITCHER_POPUP]={available:Boolean(l),condition:function(){var e=a.A.getState().languageSwitcherPopupComponent;return Boolean(e)},order:-3,renderFn:function(){return n.e(404).then(n.bind(n,32498)).then(function(e){(0,e.attachLanguageSwitcherPopup)()})},sync:!0,timeLine:[{immediately:!0,loop:!0,time:1}]},e[f.L.MEMBER_CONFIRM_EMAIL]={available:I,condition:function(){return!!a.A.getState().isShowConfirmEmailPopup},order:-2,renderFn:function(){return n.e(312).then(n.bind(n,37019)).then(function(e){(0,e.attachPopupConfirmEmail)()})},sync:!0,timeLine:[{immediately:!0,loop:!0,time:1}]},e[f.L.NEWS_IM]={available:h,condition:function(){var e=a.A.getState(),t=e.cyberSale,n=e.newsIm,i=void 0===n?{}:n,o=i.disabled,s=i.newsIms,r=i.showedNewsIms;if(o||!s)return!1;var l=r?s.filter(function(e){var t=e.newsImId;return!r.includes(t)}):s;if(t){var c=[402,403,405];l=l.filter(function(e){var t=e.newsImId;return!c.includes(t)})}return l.length>0},delay:60,order:7,renderFn:function(){document.dispatchEvent(new CustomEvent(g.R.NEWS_IM_OPEN,{detail:{force:!0}}))},sync:!1,timeLine:[{immediately:!0,loop:!0,time:1}]},e[f.L.NEW_RECORDED_VIDEOS]={available:h,condition:function(){var e=a.A.getState().user.newRecordedVideosIds;return!!(null==e?void 0:e.length)},delay:60,order:-1,renderFn:function(){return n.e(449).then(n.bind(n,89396)).then(function(e){(0,e.attachVideoSuccessPopup)()})},sync:!1,timeLine:[{immediately:!0,loop:!0,time:1}]},e[f.L.GIVE_AWAY_BONUS]={available:o.giveAwayAlert,condition:function(){var e;return!(!(null===(e=a.A.getState().alerts)||void 0===e?void 0:e.giveAwayAlert)||(0,ce.isTokenInBodyClassList)("chat_visible"))},order:8,renderFn:function(e){L.A.instance.showAlert("giveAwayAlert")||(t.close(void 0,!1),t.setTime(e.name,60),t.setGlobalDelay(0))},sync:!1,timeLine:[{immediately:!l&&!R,loop:!0,time:1}]},e[f.L.MEMBER_BONUS]={available:o.memberBonus,condition:function(){var e;return!!(null===(e=a.A.getState().alerts)||void 0===e?void 0:e.memberBonus)},order:8,renderFn:function(e){L.A.instance.showAlert("memberBonus")||(t.close(void 0,!1),t.setTime(e.name,60),t.setGlobalDelay(0))},sync:!1,timeLine:[{immediately:!0,loop:!0,time:1}]},e[f.L.PUSH_NOTIFICATION_ALERT]={condition:function(){return se.instance.isAvailable},order:9,renderFn:function(e){for(var n=[],i=1;i