(self.webpackChunkbongacams=self.webpackChunkbongacams||[]).push([[297],{86208:function(e,t,n){var i={"./BFCMBarcode":[44875,495],"./BFCMBarcode.tsx":[44875,495],"./BFCMPackage":[70615,554],"./BFCMPackage.tsx":[70615,554],"./BctalkBikini":[50300,513],"./BctalkBikini.tsx":[50300,513],"./BctalkBlueQr":[71617,32,425],"./BctalkBlueQr.tsx":[71617,32,425],"./BctalkInfo":[85668,581],"./BctalkInfo.tsx":[85668,581],"./DiamondExclusiveMagnetGirlPopup":[84745,580],"./DiamondExclusiveMagnetGirlPopup.tsx":[84745,580],"./DiamondExclusivePurpleGirlPopup":[12161,375],"./DiamondExclusivePurpleGirlPopup.tsx":[12161,375],"./DiscountClickAway":[69190,552],"./DiscountClickAway.tsx":[69190,552],"./DiscountCountdownTimer10":[25414,442],"./DiscountCountdownTimer10.tsx":[25414,442],"./DiscountCountdownTimer20":[91208,587],"./DiscountCountdownTimer20.tsx":[91208,587],"./DiscountGoldDevil":[48220,508],"./DiscountGoldDevil.tsx":[48220,508],"./DiscountGoldDracula":[90120,585],"./DiscountGoldDracula.tsx":[90120,585],"./DiscountGoldNeon":[37896,476],"./DiscountGoldNeon.tsx":[37896,476],"./DiscountGoldSand":[93986,589],"./DiscountGoldSand.tsx":[93986,589],"./DiscountGoldTwoGirls":[14275,383],"./DiscountGoldTwoGirls.tsx":[14275,383],"./DiscountLastCall":[6590,339],"./DiscountLastCall.tsx":[6590,339],"./DiscountSandglass":[42058,486],"./DiscountSandglass.tsx":[42058,486],"./ExitTwoGirlsBlue":[98124,593],"./ExitTwoGirlsBlue.tsx":[98124,593],"./FirstPurchaseMobileBlonde":[41482,485],"./FirstPurchaseMobileBlonde.tsx":[41482,485],"./FirstPurchaseMobileBrand":[7435,345],"./FirstPurchaseMobileBrand.tsx":[7435,345],"./FirstPurchaseMobileBrunet":[90152,586],"./FirstPurchaseMobileBrunet.tsx":[90152,586],"./Flash20":[44499,494],"./Flash20.tsx":[44499,494],"./Flash5":[20836,426],"./Flash5.tsx":[20836,426],"./GoldBox":[17110,408],"./GoldBox.tsx":[17110,408],"./GoldDress":[1200,274],"./GoldDress.tsx":[1200,274],"./GoldDressLine":[52254,517],"./GoldDressLine.tsx":[52254,517],"./GoldGold":[46551,501],"./GoldGold.tsx":[46551,501],"./GoldPrivateMessage":[7447,346],"./GoldPrivateMessage.tsx":[7447,346],"./GoldRouletteV2":[39125,484],"./GoldRouletteV2.tsx":[39125,484],"./GoldSummerGuy":[75965,567],"./GoldSummerGuy.tsx":[75965,567],"./GoldUnderpants":[34717,437],"./GoldUnderpants.tsx":[34717,437],"./GoldWhiteChair":[67503,438],"./GoldWhiteChair.tsx":[67503,438],"./IceCream15":[65776,544],"./IceCream15.tsx":[65776,544],"./IceCream5":[26961,445],"./IceCream5.tsx":[26961,445],"./Initial100bigcoin":[9689,360],"./Initial100bigcoin.tsx":[9689,360],"./Initial100bike":[35345,472],"./Initial100bike.tsx":[35345,472],"./Initial100fantastic":[59651,535],"./Initial100fantastic.tsx":[59651,535],"./King":[56106,528],"./King.tsx":[56106,528],"./PinkSwan15":[58674,533],"./PinkSwan15.tsx":[58674,533],"./PlatinumUnlimitedPurplePopup":[64364,539],"./PlatinumUnlimitedPurplePopup.tsx":[64364,539],"./SapphireTitanKingPopup":[78254,573],"./SapphireTitanKingPopup.tsx":[78254,573],"./SignZero":[49882,512],"./SignZero.tsx":[49882,512],"./SpeedZero":[27172,446],"./SpeedZero.tsx":[27172,446],"./SummerBikini15":[42998,488],"./SummerBikini15.tsx":[42998,488],"./Surf20":[50765,514],"./Surf20.tsx":[50765,514],"./TranssexualGoldPanties":[11145,371],"./TranssexualGoldPanties.tsx":[11145,371],"./TranssexualGoldPink":[28917,449],"./TranssexualGoldPink.tsx":[28917,449],"./TranssexualGoldThrone":[14083,382],"./TranssexualGoldThrone.tsx":[14083,382],"./VioletNoTokens":[39041,479],"./VioletNoTokens.tsx":[39041,479],"./VipOnlyWeek":[18732,412],"./VipOnlyWeek.tsx":[18732,412]};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(9613),o=n(72418),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 fe}});var i=n(18697),o=n(547),a=n(19826),s=n(14210),r=n(26616),u=function(){function e(){this.enabled=!0,this.left=0,this.top=0,this.right=0,this.bottom=0,this.custom=null,this.onHover=r.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}(),c=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,s.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 r=e.areaList[a];r.isHover(e,t)&&r.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}(),l=n(36883),p=n(65575),d=n(52276),_=n(23385),f=n(28534),m=n(9853),h=n(33954),v=n(41669),I=function(){var e,t=a.A.getState().popupsConfig,n=_.X.instance;if(n){var i=[(null===(e=t[d.L.DISCOUNT_GOLD])||void 0===e?void 0:e.length)?d.L.DISCOUNT_GOLD:d.L.NP_DISCOUNT,d.L.EXIT].filter((function(e){return t[e]}));if(i.length){var o=(new c).newArea("default");o.custom=function(e,t){if(t.dirY>=0)return!1;var n=70+.08*(v(window).height()||0);if(t.clientY>n)return!1;var i=v(window).width()||0,o=170+.05*i,a=h.isRTLCulture?o:i-o;return h.isRTLCulture?t.clientXa},o.onHover=function(){var e=n.active,o=n.globalDelay;!e||o||(0,l.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 v('[data-type="'.concat(t,'"]:visible')).length}))){var n=+sv.storage.getItem("rotation_order")%1e3||m.o8.rangeInt(0,e.length),o=e[n%e.length];sv.storage.setItem("rotation_order",n+1),o&&(0,f.y)(o.type)}(0,p.H)()}()}}}},b=n(1579),E=n(6987),L=n(80554),g=(n(79959),n(56738)),T=n(41669),P=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(", ");T(document).on("keyup focus mouseup wheel touchstart",e,(0,g.n)((function(){var e;null===(e=_.X.instance)||void 0===e||e.setUserInteractionLock()}),500)),T(document).on("mousemove",(0,g.n)((function(t){var n,i=T(t.target);(document.activeElement&&T(document.activeElement).is(e)||i.closest(".js-filter_wrap, #fl_quick_search").length)&&(null===(n=_.X.instance)||void 0===n||n.setUserInteractionLock())}),500))},e}(),N=n(7187),A=n(41669),S=function(){var e,t=_.X.instance;t&&(A(document).on("click","a[data-click_track_url]",(function(e){var t=A(this),n=t.data("click_track_url");n&&(e.preventDefault(),A.get(n,(function(){var e=t.attr("href");e&&location.assign(e)})))})),A(document).on("click",".js-bt_popup_show",(function(){return t.open(d.L.BT_APP),!1})),A(document).on("chat:visibility",(function(e){var n=e.originalEvent.detail,i=a.A.getState().languageSwitcherPopupComponent;t.refreshList(),"visible"===n&&(i||E.A.instance.hideAlert("giveAwayAlert")),i||t.close(!1)})),A(document).on("click","a[data-popup_close]",(function(){var e;A(this).data("popup_close")&&(null===(e=o.s.instance)||void 0===e||e.hide())})),document.addEventListener(L.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)===d.L.NEWS_IM&&t.close(!1,!1)})),A(document).on("click",".popup_hide",(function(e){e.preventDefault(),(0,i._b)("Popups Effects hideClick").log(),t.close()})),A(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()})),b.c.on("newsIm",(function(){var e;null===(e=t.list.news_im)||void 0===e||e.refresh()})),b.c.on("isFullScreen",(function(){var e;null===(e=t.list.status)||void 0===e||e.refresh()})),b.c.on("fancyPopup",(function(){null==t||t.refreshList()})),(0,N.c5)(L.R.SPA_NAVIGATE_COMPLETE,(function(){null==t||t.refreshList()})),b.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(d.L.PUSH_NOTIFICATION_ALERT,180);break}})),document.addEventListener(L.R.NEWS_IM_CLOSE,(function(){return t.disableTask(d.L.NEWS_IM)})),P.attachHandlers())},O=n(15215),y=n(89836),C=n(23110),D=n(29388),w=n(91651),k=n(50172),M=n(17402),R=n(98614),x=n(62614),G=document.getElementById("popups_wrap")||document.body;function U(e){return(0,O.sH)(this,void 0,void 0,(function(){var t,i;return(0,O.YH)(this,(function(o){switch(o.label){case 0:if("number"==typeof(i=e.title))switch(i){case 7301:i="BctalkInfo";break;case 7303:i="BctalkBikini";break;case 7305:i="BctalkBlueQr";break;default:return[2]}else i=i.replace(/[%-]/g,"").replace(/\(Purchase\)|\(StatusPage\)/g,"");o.label=1;case 1:return o.trys.push([1,3,,4]),[4,n(86208)("./".concat(i))];case 2:return t=o.sent(),[3,4];case 3:return o.sent(),[3,4];case 4:return t&&G?[2,x.w.renderNode((0,k.h)(R.Kq,{store:a.A},(0,M.createElement)(t.default,{popupConfig:e})),G).element]:[2,null]}}))}))}var F,X=n(41669),B=function(e,t){var n,o;void 0===t&&(t=!0),(0,i._b)("Popups Effects afterClose").warn(e);var s=_.X.instance;if(s)if(e.name===d.L.MEMBER_CONFIRM_EMAIL&&a.A.setState({isShowConfirmEmailPopup:!1}),(null===(n=e.activeElement)||void 0===n?void 0:n.find("video").length)&&setTimeout((function(){X(".fancy_popup.__open").find("video").each((function(e,t){t.pause(),t.currentTime=0,X(t).show()}))}),1),[d.L.DISCOUNT_GOLD,d.L.NP_DISCOUNT].includes(e.name)&&(0,p.H)(),e.name===d.L.NEWS_IM)null===(o=s.list.news_im)||void 0===o||o.refresh();else if(t){if(e.name===d.L.BELGIUM_AND_SWITZERLAND_LANGUAGE_SWITCHER_POPUP)return;s.open(d.L.NEWS_IM)}},H=n(13907),Y=n(4645),V=n(41669),j=n(46140),W=n(71998),K=n(41669);!function(e){e.ARABIC_POPUPS="extra/arabic_popups.css",e.GUEST_POPUPS="extra/guest_popups.css",e.LOGGED_POPUPS="extra/logged_popups.css"}(F||(F={}));var J=function(){var e=_.X.instance;if(e){var t=a.A.getState(),n=t.popupsConfig,s=t.isAuthenticated,r={},u=null;e.onShow=function(t,c){return(0,O.sH)(void 0,void 0,void 0,(function(){var l,p,f,m,v,I,b,E,L,g,T,P,N,A,S,k,M;return(0,O.YH)(this,(function(R){switch(R.label){case 0:return l=c.customData,p=c.taskId,"function"!=typeof t.renderFn?[3,2]:((0,i._b)("Popups TM onShow external").warn({task:t}),[4,t.renderFn(t,l)]);case 1:return R.sent(),[2,!0];case 2:return K(".fancybox-overlay .fancybox-type-iframe").length||K(".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?l.href?((0,i._b)("Popups TM onShow").warn("iframe",{task:t}),[2,o.s.instance.show(t,{customData:l,taskId:p})]):[2,!1]:[4,(0,O.sH)(void 0,void 0,void 0,(function(){var t,n;return(0,O.YH)(this,(function(i){switch(i.label){case 0:return t=[],n=e.isDebug,(s||n)&&((0,D.A)([F.LOGGED_POPUPS],!0)||t.push((0,w.i)(F.LOGGED_POPUPS,void 0,{"data-exclude":!0}))),s&&!n||(0,D.A)([F.GUEST_POPUPS],!0)||t.push((0,w.i)(F.GUEST_POPUPS,void 0,{"data-exclude":!0})),h.isRTLCulture&&!(0,D.A)([F.ARABIC_POPUPS],!0)&&t.push((0,w.i)(F.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 R.sent(),[d.L.JOIN_POPUP,d.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,O.Cl)({isClick:!1},l),taskId:p})]):t.selector||n[t.name]?(f=a.A.getState(),(m=(0,y.pc)(f))===C.n.ALL&&(m=C.n.FEMALE),v=(0,O.Cl)((0,O.Cl)({},n),n.gold&&{gold:n.gold.filter((function(e){return(null==e?void 0:e.live_tab)===m}))}),I=null,b=sv.storage.getItem("viewedPopups")||"",E=[],(null===(M=v[t.name])||void 0===M?void 0:M.length)?(L=v[t.name].filter((function(e){var t=e.id;e.title;return t})),(null==l?void 0:l.debug)||L.forEach((function(e){var t=e.id;e.title;(0,j.u)(t)||r[t]||(b.indexOf(t)>=0?r[t]=!0:E.push(t))})),u&&(G=u,x.w.unmount(G)),L.length>1?((N=E.length)||(L.map((function(e){var t=e.id;e.title;b=b.replace("".concat(t," "),""),!(0,j.u)(t)&&r[t]&&(r[t]=!1)})),N=L.length),A=(p||0)%N,g=L.filter((function(e){var t=e.id;e.title;return!(0,j.u)(t)&&!r[t]})),(T=(null==l?void 0:l.debug)&&l.name?L.find((function(e){return e.id===l.name})):g[A])?[4,U(T)]:[2,!1]):[3,5]):[3,7]):((0,i._b)("Popups TM onShow skip").warn("unknown popup",{task:t}),[2,!1]);case 4:return(u=R.sent())&&(I=K(u),T.id&&!(null==l?void 0:l.debug)&&(b+="".concat(T.id," "),r[T.id]=!0,sv.storage.setItem("viewedPopups",b))),[3,7];case 5:return[4,U(L[0])];case 6:(u=R.sent())&&(I=K(u)),R.label=7;case 7:if(!I&&t.selector){if(!(P=K(t.selector).filter((function(){return Boolean(K(this).attr("id"))}))).length)return(0,i._b)("Popups TM onShow skip").warn("popup not found",{task:t}),[2,!1];E=[],K.each(P,(function(){var e=K(this).attr("id");(0,j.u)(e)||r[e]||(b.indexOf(e)>=0?r[e]=!0:E.push(e))})),P.length>1?((N=E.length)||(K.each(P,(function(){var e=K(this).attr("id");b=b.replace("".concat(e," "),""),!(0,j.u)(e)&&r[e]&&(r[e]=!1)})),N=P.length),A=(p||0)%N,S=P.filter((function(){var e=K(this).attr("id");return!(0,j.u)(e)&&!r[e]})),I=S.eq(A),k=I.attr("id"),(0,j.u)(k)||(b+="".concat(k," "),r[k]=!0,sv.storage.setItem("viewedPopups",b))):I=P}return I&&I.length?(t.activeElement=I,(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:p}),t.track&&function(e){if(e.activeElement.length&&_.X.instance&&!(_.X.instance.isDebug||_.X.instance.activeInfo&&_.X.instance.activeInfo.taskId===Number(sv.storage.getItem("tm_lastTrack")))){var t=_.X.instance.activeInfo?_.X.instance.activeInfo.taskId:0;sv.storage.setItem("tm_lastTrack",t);var n=e.activeElement.data("track_url");if(n){var i=(0,O.Cl)({},e.trackParams);V.get(n,i)}}}(t),t.event&&function(e){if(e.activeElement.length&&_.X.instance&&(!_.X.instance.activeInfo||_.X.instance.activeInfo.taskId!==Number(sv.storage.getItem("tm_lastEvent")))){var t=_.X.instance.activeInfo?_.X.instance.activeInfo.taskId:0;sv.storage.setItem("tm_lastEvent",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=V.extend({},{params:i,type:n},e.trackParams),s=(0,Y.Z)(a);V.ajax({data:s,type:"post",url:(0,H.ip)("@ajax_register_user_event")})}}}(t),t.name===d.L.BF_CM_AFTER_LOGIN&&K(t.activeElement).attr("data-track_url_after_login")&&K.get(K(t.activeElement).attr("data-track_url_after_login")),t.activeElement.find("video").length){var e=function(e){K(e.target).hide(),(0,W.iB)()&&(0,W.nv)(!1)};setTimeout((function(){K(".fancy_popup.__open").find("video").each((function(t,n){n.muted=!0,n.play(),setTimeout((function(){return K(n).on("ended",e)}),1)}))}),1)}},customData:l,taskId:p})]):((0,i._b)("Popups TM onShow skip").warn("popup not found",{task:t}),[2,!1])}var G}))}))},e.onClose=B}},q=a.A.action((function(e,t){return{popupsConfig:t}})),Z=n(67374),Q=n(9988),$=n(83714),z=n(9613),ee=n(72418),te=n(26580),ne=n(53336),ie=(0,R.Ng)((function(e){return{skinName:e.skinName}}))((0,M.memo)((function(e){var t=e.skinName,n=e.onSubscribe,i=void 0===n?r.noop:n,o=e.onCancel,a=void 0===o?r.noop:o;return(0,k.h)("div",{className:"bc_scroll_compensation push_notification_alert"},(0,k.h)(te.A,{group:"pna_icon",icon:"#svg_icon_push_alert",url:ne.ed}),(0,k.h)("p",{className:"pna_title"},__("Don't miss out the most important %skin% news!",{skin:t})),(0,k.h)("p",{className:"pna_desc"},__("Subscribe to push notifications and be among the first ones to learn about the biggest discounts and best offers.")),(0,k.h)("div",{className:"pna_active bc_flex bc_flex_justify_s_between"},(0,k.h)("button",{className:"pna_btn bt35 bt35_green",onClick:i},__("Subscribe")),(0,k.h)("button",{className:"pna_btn btn_silver",onClick:a},__("No, thanks"))))}))),oe=n(41669),ae=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,O.sH)(t,void 0,void 0,(function(){return(0,O.YH)(this,(function(e){switch(e.label){case 0:return x.w.unmount(this.rootElement),this.rootElement=null,_.X.instance.disableTask(d.L.PUSH_NOTIFICATION_ALERT),[4,this.subscribe()];case 1:return e.sent(),this.attachNotificationListener(),[2]}}))}))},this.handleCancel=function(){var e;x.w.unmount(t.rootElement),t.rootElement=null,null===(e=_.X.instance)||void 0===e||e.disableTask(d.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,O.sH)(this,arguments,void 0,(function(e){return void 0===e&&(e=!1),(0,O.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=x.w.append((0,k.h)(R.Kq,{store:a.A},(0,k.h)(ie,{onSubscribe:this.handleSubscribe,onCancel:this.handleCancel})),document.body))},e.prototype.hasSubscription=function(){return(0,O.sH)(this,void 0,void 0,(function(){var e,t,n;return(0,O.YH)(this,(function(i){switch(i.label){case 0:return e=this.pushInstance.getToken(),[4,Z.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,O.sH)(this,void 0,void 0,(function(){var e,t,n,o,a,s,r,u=this;return(0,O.YH)(this,(function(c){switch(c.label){case 0:return this.isPushAvailable?this.pushInstance?[3,2]:(e=this,[4,Q.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(),Z.I_.getInstance().setData(this.idbTrackUrlKey,(0,H.ip)("@track_site_push_notification")),this.pushInstance.onMessage((function(e){return(0,O.sH)(u,void 0,void 0,(function(){var t,n,i;return(0,O.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)||(null===(i=null==e?void 0:e.data)||void 0===i?void 0:i.type)!==$.A.SITE_NOTIFICATION?[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,O.sH)(this,void 0,void 0,(function(){var e,t=this;return(0,O.YH)(this,(function(n){switch(n.label){case 0:return[4,this.pushInstance.subscribe()];case 1:return(e=n.sent())?[2,oe.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}),Z.I_.getInstance().setData(t.idbKey,e)}})]:[2]}}))}))},e.prototype.track=function(e,t){oe.ajax({url:(0,H.ip)("@track_site_push_notification"),dataType:"json",type:"post",data:{type:e,id:t}})},e}(),se=n(31348),re=n(2597),ue=n(63059),ce=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={})[d.L.BF_CM_AFTER_LOGOUT]=(0,O.fX)((0,O.fX)((0,O.fX)([],n,!0),i,!0),[e.NOT_FOUND,e.ANOTHER_PROFILE_INNER_PAGES,e.CYBER_SALE],!1),t[d.L.GIVE_AWAY_BONUS]=(0,O.fX)([],i,!0),t[d.L.JOIN_POPUP]=(0,O.fX)((0,O.fX)((0,O.fX)([],n,!0),i,!0),[e.NOT_FOUND,e.ANOTHER_PROFILE_INNER_PAGES],!1),t[d.L.PUSH_NOTIFICATION_ALERT]=(0,O.fX)([],i,!0),t[d.L.SPOOF_IM]=(0,O.fX)((0,O.fX)([],i,!0),[e.CYBER_SALE],!1),t[d.L.BF_CM]=(0,O.fX)((0,O.fX)((0,O.fX)([],n,!0),o,!0),[e.NOT_FOUND,e.CYBER_SALE],!1),t[d.L.BF_CM_AFTER_LOGIN]=(0,O.fX)((0,O.fX)((0,O.fX)([],n,!0),o,!0),[e.NOT_FOUND,e.CYBER_SALE],!1),t[d.L.DISCOUNT_GOLD]=(0,O.fX)((0,O.fX)((0,O.fX)([],n,!0),[e.NOT_FOUND],!1),o,!0),t[d.L.EXIT]=(0,O.fX)((0,O.fX)((0,O.fX)([],n,!0),[e.NOT_FOUND],!1),o,!0),t[d.L.GOLD]=(0,O.fX)((0,O.fX)((0,O.fX)([],n,!0),[e.NOT_FOUND],!1),o,!0),t[d.L.NEWS_IM]=(0,O.fX)((0,O.fX)([],n,!0),[e.FREE_TOKENS_PAGES],!1),t[d.L.STATUS]=(0,O.fX)((0,O.fX)((0,O.fX)([],n,!0),[e.NOT_FOUND],!1),o,!0),t},le=n(41669),pe=function(){var e,t=_.X.instance;if(t){var i=a.A.getState(),o=i.alerts,s=i.languageSwitcherPopupComponent,r=i.loyaltyDiscountEnabled,u=i.popup,c=i.showRegistrationPopups,l=i.user,f=i.isAuthenticated,m=i.isAutoPurchaseTokensEnable,h=i.isShowConfirmEmailPopup,v=l.membership,I=o.giveAwayAlert||o.memberBonus,b=le("#member_join_popup_trigger"),g=!f&&b.length&&c,T=g&&b.data("timer_enabled"),P=(0,z.Hk)("bcnotokenssince"),N=null!==P;N&&(P=Math.floor((Date.now()/1e3-parseFloat(P))/60));var A=f&&v===re.A.FREE,S=f&&v===re.A.GOLD,y=f&&re.A.isHigherThanGold(v),C=f&&[re.A.DIAMOND,re.A.EXCLUSIVE].includes(v),D=!!document.querySelector(".vip_overview_page"),w=document.body.classList.contains("chat_visible"),k=(0,z.Hk)("ssp");t.setExcludedRoutesMap(ce),t.setTasks(((e={})[d.L.JOIN_POPUP]={available:T,order:k?-4:-2,sync:!0,timeLine:k?[{immediately:!0,time:1},{loop:!0,time:7}]:[{time:2},{loop:!0,time:7}]},e[d.L.GOLD]={order:12,selector:".gold_popup",sync:!0,timeLine:[{loop:!0,rand:3.9,time:6.5}],track:!0},e[d.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*(C?1.3:6.5)}],track:!0},e[d.L.BF_CM]={available:A,selector:".bf_cm_popup",sync:!0,timeLine:[{loop:!0,time:13}],track:!0},e[d.L.BF_CM_AFTER_LOGIN]={available:f&&!A,order:5,selector:".bf_cm_popup",sync:!0,timeLine:[{time:6.5}],track:!0},e[d.L.BF_CM_AFTER_LOGOUT]={available:!f,order:5,selector:".bf_cm_popup",sync:!1,timeLine:[{time:2.6},{loop:!0,time:9.1}],track:!0},e[d.L.BITCOIN_PAYPAL]={event:!0,order:40,selector:".bitcoin_paypal_popup",sync:!0,timeLine:[{time:y?0:2.6}],track:!0},e[d.L.INITIAL_BONUS]={event:!0,order:40,selector:".initial_bonus_popup",sync:!0,timeLine:[{time:y?0:2.6}],track:!0},e[d.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[d.L.NEW_MEMBER]={available:A,event:!0,order:6,selector:".js-new_member_popup",sync:!0,timeLine:[{immediately:!0,time:1}],track:!0},e[d.L.SBS_DISCOUNT]={order:10,selector:".sbs_discount_popup",sync:!0,timeLine:[{immediately:!0,time:1},{loop:!0,time:1152}],track:!0},e[d.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[d.L.NO_TOKENS]={available:!m&&N&&P>1440&&(y||S),condition:function(){return parseInt(le(".js-tokens").first().text()||"0",10)<=0},order:10,selector:".no_tokens_popup",sync:!0,timeLine:[{loop:!0,time:9.1}],track:!0},e[d.L.VIP]={available:S,enabled:!D,order:20,selector:".vip_popup",sync:!0,timeLine:N&&P<=1440?[{loop:!0,time:136.5}]:[{time:N&&P>=2880?45.5:65},{loop:!0,time:14040}],track:!0},e[d.L.VIP_PREMIUM]={available:y,enabled:!D,order:20,selector:".vip_popup",sync:!0,timeLine:N&&P<=1440?[{loop:!0,time:136.5}]:[{time:N&&P>=2880?45.5:65},{loop:!0,time:14040}],track:!0},e[d.L.GIFT_CARD_DEFAULT]={available:f,selector:".gc_default",sync:!0},e[d.L.GIFT_CARD_EXCLUSIVE]={available:f,selector:".gc_exclusive",sync:!1},e[d.L.VIP_GIFT_CARD]={available:f,selector:".gc_popup_vip",sync:!1},e[d.L.BT_POPUP]={event:!0,order:40,selector:".js-bt_popup",sync:!0,timeLine:[{time:A?2.6:0}]},e[d.L.BELGIUM_AND_SWITZERLAND_LANGUAGE_SWITCHER_POPUP]={available:Boolean(s),condition:function(){var e=a.A.getState().languageSwitcherPopupComponent;return Boolean(e)},order:-3,renderFn:function(){return n.e(420).then(n.bind(n,32498)).then((function(e){(0,e.attachLanguageSwitcherPopup)()}))},sync:!0,timeLine:[{immediately:!0,loop:!0,time:1}]},e[d.L.MEMBER_CONFIRM_EMAIL]={available:h,condition:function(){return!!a.A.getState().isShowConfirmEmailPopup},order:-2,renderFn:function(){return n.e(379).then(n.bind(n,12593)).then((function(e){(0,e.attachPopupConfirmEmail)()}))},sync:!0,timeLine:[{immediately:!0,loop:!0,time:1}]},e[d.L.NEWS_IM]={available:f,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 u=r?s.filter((function(e){var t=e.newsImId;return!r.includes(t)})):s;if(t){var c=[402,403,405];u=u.filter((function(e){var t=e.newsImId;return!c.includes(t)}))}return u.length>0},delay:60,order:7,renderFn:function(){document.dispatchEvent(new CustomEvent(L.R.NEWS_IM_OPEN,{detail:{force:!0}}))},sync:!1,timeLine:[{immediately:!0,loop:!0,time:1}]},e[d.L.NEW_RECORDED_VIDEOS]={available:f,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(489).then(n.bind(n,89396)).then((function(e){(0,e.attachVideoSuccessPopup)()}))},sync:!1,timeLine:[{immediately:!0,loop:!0,time:1}]},e[d.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)||document.body.classList.contains("chat_visible"))},order:8,renderFn:function(e){E.A.instance.showAlert("giveAwayAlert")||(t.close(void 0,!1),t.setTime(e.name,60),t.setGlobalDelay(0))},sync:!1,timeLine:[{immediately:!s&&!k,loop:!0,time:1}]},e[d.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){E.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[d.L.PUSH_NOTIFICATION_ALERT]={condition:function(){return ae.instance.isAvailable},order:9,renderFn:function(e){for(var n=[],i=1;i