"use strict";(self.webpackChunkbongacams=self.webpackChunkbongacams||[]).push([[107,108,162,115,109,118,44],{64862:function(n,t,e){var i;e.d(t,{S:function(){return i}}),function(n){n.HOT="#svg_tb_hot",n.LIVE="#svg_tb_live",n.NEW="#svg_tb_new",n.NEW_LARGE="#svg_tb_new_large",n.TRY_ME="#svg_tb_try_me"}(i||(i={}))},47077:function(n,t,e){e.d(t,{E:function(){return d}});var i,o=e(74848),r=e(26580),a=e(53336),s=e(15215),u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return(0,s.C6)(t,n),t.NEW="new",t.HOT="hot",t.CAPTION="caption",t.titles=((i={})[t.NEW]=__("new"),i[t.HOT]=__("hot"),i[t.CAPTION]=__("caption"),i),t}(e(53767).A),c=u,l=e(83375),d=function(n){var t=n.className,e=n.classModifier,i=n.data,s=n.icon,u=(0,l.jc)(t,e,"bc_text_badge");return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(function(){if(!(null==i?void 0:i.type))return(0,o.jsx)("span",{className:u,children:(0,o.jsx)(r.A,{group:"tb_icon",icon:s,url:a.s8})});switch(i.type){case c.CAPTION:var n=Boolean(t||e);return(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)("span",{className:u,children:i.text}),!n&&i.text]});case c.HOT:return(0,o.jsx)("span",{className:u,children:(0,o.jsx)(r.A,{group:"tb_icon",icon:"#svg_tb_hot",url:a.s8})});case c.NEW:return(0,o.jsx)("span",{className:u,children:(0,o.jsx)(r.A,{group:"tb_icon",icon:"#svg_tb_new",url:a.s8})});default:return null}},{})})}},35321:function(n,t,e){var i=e(15215),o=e(63861),r=e(80554),a=e(2597),s=e(99525),u=function(){function n(){var t;if(this.cdnPath=(0,o.ip)("@cdn_host"),this.soundsPath="".concat(this.cdnPath,"/sounds/"),this.volume=s.A.getState().instantMessages.imNotificationVolume,this.soundsOptions={preload:!0,multiplay:!1,volume:this.volume,sounds:[{alias:"empty",name:"empty",path:"".concat(this.cdnPath,"/sounds/")},{alias:"diamond",name:n.NEW_MESSAGE_DIAMOND,path:"".concat(this.cdnPath,"/sounds/im/")},{alias:"premium",name:n.NEW_MESSAGE_PREMIUM,path:"".concat(this.cdnPath,"/sounds/im/")},{alias:"common",name:n.NEW_MESSAGE_COMMON,path:"".concat(this.cdnPath,"/sounds/im/")}]},"bongacam_mobile"===(null===(t=window.chat)||void 0===t?void 0:t.encoderType))try{external.chatSoundAdd(null,null),console.log("use native lib"),window.ion=null}catch(n){console.log("use ion lib")}if(document.dispatchEvent(new CustomEvent(r.R.CHAT_SOUND_ADD,{detail:this.soundsOptions.sounds})),window.ion){window.ion.sound(this.soundsOptions);var e=function(){window.ion.sound.play("empty"),document.removeEventListener("mouseup",e),document.removeEventListener("touchend",e)};document.addEventListener("mouseup",e),document.addEventListener("touchend",e)}}return Object.defineProperty(n,"instance",{get:function(){return this._instance||(this._instance=new this)},enumerable:!1,configurable:!0}),n.getSoundAliasByMemberLevel=function(n){var t;switch(n){case a.A.PLATINUM:case a.A.UNLIMITED:t="premium";break;case a.A.SAPPHIRE:case a.A.TITAN:case a.A.DIAMOND:case a.A.EXCLUSIVE:t="diamond";break;default:t="common"}return t},n.prototype.play=function(n,t){var e=s.A.getState().instantMessages.imNotificationVolume,i=Math.max(0,null!=t?t:e);window.ion&&n&&i>0&&window.ion.sound.play(n,{volume:i}),document.dispatchEvent(new CustomEvent(r.R.CHAT_SOUND_PLAY,{detail:{soundName:n,soundVolume:i}}))},n.prototype.stop=function(n){window.ion&&n&&window.ion.sound.stop(n),document.dispatchEvent(new CustomEvent(r.R.CHAT_SOUND_STOP,{detail:n}))},n.prototype.add=function(n,t){var e=this,o=[];(t=t||"")[0]&&"/"===t[0]&&(t=t.substr(1));for(var a=0;a"),t.onlyImageList.forEach(function(e){n=n.replace(e.pattern,function(n,i,o){return t.isExistZWJ(n,i,o)?n:e.replacer(n,e,!0,!0)})}),n):n},this.getOutputText=function(n,e){return void 0===n&&(n=""),void 0===e&&(e=!0),n?(e||(n=(0,s._N)(n)),n=(n=n.replace(/\n/g,"
")).replace(t.combinedSmilePattern,function(n,e,i){if(t.isExistZWJ(n,e,i))return n;var o=t.list.find(function(t){return!!t.pattern&&new RegExp("^".concat(t.pattern.source,"$"),t.pattern.flags).test(n)});return(null==o?void 0:o.replacer)?o.replacer(n,o,!1,!0):n})):n},this.getClearText=function(n){return void 0===n&&(n=""),n=n.replace(/<(br|BR)( )?(\/)?>/g,""),n=(n=(0,s._N)(n)).replace((0,u.getUnicodeSmileysPattern)(),""),t.list.forEach(function(t){n=n.replace(t.pattern,function(n,t,e){var i=e.substr(t+n.length,1);return i&&!i.replace(/[a-z0-9-_]/g,"")?n:""})}),n.trim()},this.getSafeUnicodeSplitIndex=function(t,e){if(e<=0||e>=t.length)return e;for(var i=e,o=function(){var o=t.slice(i-1,e+1);if(!n.allUnicodeSmileCollection.some(function(n){return n.includes(o)}))return"break";i--};i>0;){if("break"===o())break}return i},n.smilesPath=(0,r.oF)(o.A.SRC),n.allUnicodeSmileCollection=(0,u.getAllUnicodeSmileys)(),this.list=(0,c.gB)(c.cM,{replacer:function(e,i,o,r){return void 0===o&&(o=!1),void 0===r&&(r=!1),t.getSmileImageWithUrl(n.smilesPath,e,i,o,r)},type:o.A.SMALL},this.list),this.list=(0,c.gB)(c.a_,{replacer:function(e,i,o,r){return void 0===o&&(o=!1),void 0===r&&(r=!1),t.getSmileImageWithUrl(n.smilesPath,e,i,o,r)},type:o.A.CUSTOM},this.list),this.onlyImageList=this.list.sort(function(n,t){return String(t.pattern).length-String(n.pattern).length});var e=this.onlyImageList.map(function(n){if(n.tokens.length>1){var t="";return n.tokens.forEach(function(n,e){t+=(0===e?"":"|")+(0,c.ns)(n)}),t}return(0,c.ns)(n.tokens[0])}).join("|");this.replaceChatSmileysListPattern=new RegExp(e,"g"),Object.keys(u.default).forEach(function(n){t.list=(0,c.d4)(u.default[n],{replacer:function(n,e){return t.getUnicodeSmileHTML(e)},type:o.A.UNICODE},t.list)}),this.list.sort(function(n,t){return String(t.pattern).length-String(n.pattern).length}),this.combinedSmilePattern=new RegExp(this.list.map(function(n){var t;return null===(t=n.pattern)||void 0===t?void 0:t.source}).filter(Boolean).join("|"),"g")}return n.getInstance=function(){return this.instance||(this.instance=new this)},n.prototype.isNextZWJ=function(n,t,e){return-1!==[e.substr(t+n.length,this.zwj.length),e.substr(t+n.length+1,this.zwj.length)].indexOf(this.zwj)},n.prototype.isExistZWJ=function(n,t,e){var i=e.substr(t-this.zwj.length,this.zwj.length);return this.isNextZWJ(n,t,e)||-1!==[i].indexOf(this.zwj)},n.prototype.getUnicodeSmileHTML=function(n){return''.concat(n.token,"")},n.prototype.getSmileImageWithUrl=function(n,t,e,o,r){return void 0===n&&(n=""),void 0===o&&(o=!1),void 0===r&&(r=!1),this.getSmileImage((0,i.Cl)((0,i.Cl)({},e),{src:"".concat(n).concat(e.src),staticSrc:e.staticSrc?"".concat(n).concat(e.staticSrc):void 0}),o,r)},n}()},94535:function(n,t,e){e.d(t,{Cp:function(){return s},Ih:function(){return u},wx:function(){return a}});var i=e(15215),o=e(57510),r=e(24629);function a(n,t){return{socialLinks:(0,i.Cl)((0,i.Cl)({},n.socialLinks),{isVisibleOnStream:t})}}function s(n,t,e){var r;if(!n.socialLinks)return n;var a=(0,i.fX)([],(null===(r=n.socialLinks)||void 0===r?void 0:r.socialProfiles)||[],!0);return(0,o.loopv)(a,function(n){(0,o.loopv)(n.items,function(n){n.id===t&&(n.isPurchased=!0,n.socialProfileLink=e)})}),{socialLinks:(0,i.Cl)((0,i.Cl)({},n.socialLinks),{socialProfiles:a})}}function u(n,t){var e=n.socialLinks,a=n.user,s=(void 0===a?{}:a).balance,u=n.lang===r.A.RU,c=(0,i.fX)([],e.socialProfiles,!0),l=new Set;return(0,o.loopv)(t,function(n){(0,o.loopv)(n,function(n,t){l.add(t)})}),(0,o.loopv)(c,function(n,t){var e=n.items,i=[];(0,o.loopv)(e,function(n){l.has(n.id)&&i.push(n)}),c[t].items=i}),c=c.filter(function(n){return n.items.length}),(0,o.loopv)(t,function(n,t){(0,o.loopv)(c,function(e,r){if(e.type===t){var a=[];(0,o.loopv)(e.items,function(t){(0,o.loopv)(n,function(n,e){if(t.id===e){var o=n.price,r=n.description,c=n.descriptionRu,l=n.urlHash;a.push((0,i.Cl)((0,i.Cl)({},t),{price:o,urlHash:l,description:u&&c?c:r,isBuyTokenRequired:s1,c[r].items=a}})}),{socialLinks:(0,i.Cl)((0,i.Cl)({},n.socialLinks),{socialProfiles:c})}}},87411:function(n,t,e){e.r(t),e.d(t,{init:function(){return u}});var i=e(51310),o=e(31279),r=e(48132),a=e(98928),s=e(41669);function u(){s(document).on("language:switch",function(){var n=new Date;n.setTime(n.getTime()+r._),(0,i.Hk)("pv","".concat(a.z.instance.volume),{path:"/",expires:n,expiresType:"day",domain:(0,o.getRealDomain)()})})}},88374:function(n,t,e){e.d(t,{P:function(){return o}});var i=e(15215),o=function(n,t){return{pageData:(0,i.Cl)((0,i.Cl)({},n.pageData),t)}}},36194:function(n,t,e){e.d(t,{md:function(){return c},q3:function(){return d},ql:function(){return l}});var i=e(15215),o=e(51823),r=e(34710),a=e(91287),s=e(80438),u=e(51310),c=function(n,t){var e,o=(0,a.QL)(n,t.groupId||t.username);return Object.keys(o).length>0?{instantMessages:(0,i.Cl)((0,i.Cl)({},n.instantMessages),{conversations:(0,i.Cl)((0,i.Cl)({},n.instantMessages.conversations),(e={},e[t.groupId||t.username]=(0,i.Cl)((0,i.Cl)({},o),{tip:t.tokens}),e))})}:n},l=function(n,t){var e,o=(0,a.QL)(n,t.groupId);return Object.keys(o).length>0?(delete o.tip,{instantMessages:(0,i.Cl)((0,i.Cl)({},n.instantMessages),{conversations:(0,i.Cl)((0,i.Cl)({},n.instantMessages.conversations),(e={},e[t.groupId]=(0,i.Cl)({},o),e))})}):n},d=function(n,t){var e,i=n.isMobile,a=t.groupId,c=t.text,l=t.tokens,d=t.username,f=t.onError,_=t.onFinally,p=t.onSuccess,h=t.layout||n.layout||102,m=t.source;m||(m=i?n.source:n.sourceType);var v={data:{first_visit:(0,u.Ri)("fv",""),layout:h,source:m||"regular",split_group:(0,u.Ri)("sg",""),sub_type:t.sub_type||o.A.MESSAGE,text:c,tokens:l,user_hash:(0,u.Ri)("uh","")},type:5};if(a?v.data.group_id=a:d&&(v.data.users=[d]),!a&&!d)return null==f||f(r.Rb),null==_||_(),n;var E={data:v,type:"im"};return e=window.setTimeout(function(){null==f||f(r.Rb),null==_||_()},1e4),(0,s.BT)(n,E,function(n){var t;clearTimeout(e);var i=(null===(t=n.data)||void 0===t?void 0:t.error)||null;i?(null==f||f(i),null==_||_()):(null==p||p(n),null==_||_())})}},80438:function(n,t,e){e.d(t,{BT:function(){return r},gg:function(){return c},lN:function(){return u},p:function(){return s},t4:function(){return a}});var i=e(15215),o=e(82267);function r(n,t,e){return o.s.instance.send(t,e),{socket:(0,i.Cl)((0,i.Cl)({},n.socket),{message:{}})}}function a(n){return{socket:(0,i.Cl)((0,i.Cl)({},n.socket),{connected:!0,message:""})}}function s(n){return{socket:(0,i.Cl)((0,i.Cl)({},n.socket),{connected:!1,message:""})}}function u(n){return{socket:(0,i.Cl)((0,i.Cl)({},n.socket),{connected:!1,message:""})}}function c(n,t){return{socket:(0,i.Cl)((0,i.Cl)({},n.socket),{message:t})}}},35626:function(n,t,e){e.d(t,{Hg:function(){return s},LT:function(){return l},Ld:function(){return c},Sp:function(){return a},pv:function(){return u}});var i=e(40172),o=e(45070),r=e(21110),a=function(n){return n.chatHeader},s=function(n){var t;return(null===(t=a(n))||void 0===t?void 0:t.tagsPopupLink)||void 0},u=function(n){var t;return(null===(t=a(n))||void 0===t?void 0:t.tagsLink)||void 0},c=function(n){var t;return null===(t=a(n))||void 0===t?void 0:t.isNewModel},l=function(n){return!(0,i.uD)(n)&&!(0,i.Iz)(n)&&!(0,i.d1)(n)&&!(0,i.P3)(n)&&r.q.isEnabled(o.i.CHAT_HEADER)}},42940:function(n,t,e){e.d(t,{C:function(){return i}});var i=function(n){return n.chatHeaderOptions}},9445:function(n,t,e){e.d(t,{Z4:function(){return r},b5:function(){return i},i4:function(){return o},oC:function(){return a}});var i=function(n){return n.chatHost},o=function(n){var t;return(null===(t=i(n))||void 0===t?void 0:t.gender)||""},r=function(n){var t;return(null===(t=i(n))||void 0===t?void 0:t.username)||""},a=function(n){return"private-chat"===function(n){var t;return null===(t=i(n))||void 0===t?void 0:t.chatType}(n)}},96575:function(n,t,e){e.d(t,{R:function(){return o}});var i=e(44198);function o(n,t){(0,i._b)("BCC bcAppDispatch").warn(n,{payload:t}),"function"==typeof window.bcAppDispatch&&window.bcAppDispatch(n,t)}Object.prototype.hasOwnProperty.call(window,"legacyAppDispatch")||(window.legacyAppDispatch=function(n,t){(0,i._b)("BCC legacyAppDispatch").warn(n,{payload:t}),document.dispatchEvent(new CustomEvent(n,{detail:t}))})},43284:function(n,t){t.A=function(n){return n.filter(function(n){return!!n}).join(" ")||void 0}},94140:function(n,t,e){e.d(t,{b:function(){return i}});var i=function(n,t,e){return!(isNaN(n)||isNaN(t)||isNaN(e))&&Math.abs(n-t)<=e}},74626:function(n,t){t.A=function(n){for(var t=[],e=1;eDate.now())return Promise.resolve()}catch(n){}return this.tokenPromise||(this.tokenPromise=new Promise(function(t,e){(0,o.mN)(n.jwtApiUrl).then(function(i){var o=i.data;o?n.parseJwtResponse(o,t,e):e()})}).then(function(){return n.tokenPromise=null},function(){return n.tokenPromise=null})),this.tokenPromise},n.prototype._translate=function(n,t){var e=this,i=t.targetLanguage;return"jw"===t.targetLanguage&&(i="iw"),new Promise(function(t,o){i&&"".concat(n).trim()?e.ajaxImplementation({url:e.translatorApiUrl,dataType:"json",type:"POST",method:"POST",headers:{Authorization:"Bearer ".concat(e.token)},credentials:"omit",contentType:"text/plain; charset=utf-8",data:JSON.stringify({text:n,to:i}),success:function(n){"text"in n?t(n):o()},error:o}):o()})},n.prototype.clearEmoji=function(n){return n.replace(/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,"").trim()},n.prototype.translate=function(n,t){return(0,i.sH)(this,void 0,void 0,function(){var e;return(0,i.YH)(this,function(i){switch(i.label){case 0:return this.cache[t.targetLanguage]||(this.cache[t.targetLanguage]={}),this.cache[t.targetLanguage][n]?[2,this.cache[t.targetLanguage][n]]:[4,this.renewToken()];case 1:return i.sent(),[4,this._translate(this.clearEmoji(n),t)];case 2:return e=i.sent(),this.cache[t.targetLanguage][n]=e.text,[2,e.text]}})})},n}(),a=e(63861),s=e(41669),u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return(0,i.C6)(t,n),Object.defineProperty(t,"instance",{get:function(){return this._instance?this._instance:this._instance=new this},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"jwtApiUrl",{get:function(){return(0,a.ip)("@api_chat_translator_authorization_token")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"translatorApiUrl",{get:function(){return(0,a.ip)("@api_translator")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ajaxImplementation",{get:function(){return s.ajax},enumerable:!1,configurable:!0}),t.prototype.parseJwtResponse=function(n,t,e){(null==n?void 0:n.token)?(this.token=n.token,t()):e()},t}(r),c=u},14811:function(n,t,e){e.d(t,{Z:function(){return r}});var i=e(63861),o=e(99525),r=function(n){return o.A.getState().isEmbed?(0,i.ip)("@hit_url?url=".concat(encodeURIComponent(n))):n}},80833:function(n,t,e){e.d(t,{J:function(){return i},b:function(){return o}});var i=1e3,o=100},14582:function(n,t,e){e.d(t,{T:function(){return o}});var i=e(80833),o=function(){return{height:screen.height-i.b,left:window.screenX+(window.innerWidth-i.J)/2,top:0,width:i.J}}},63658:function(n,t,e){var i;e.d(t,{K:function(){return i}}),function(n){n.SPACE=" ",n.NON_BREAKING_SPACE=" ",n.WBR="",n.BULL="•",n.RAQUO="»",n.LAQUO="«",n.M_DASH="—",n.N_DASH="–",n.COPY="©"}(i||(i={}))},62499:function(n,t,e){var i,o=e(15215),r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return(0,o.C6)(t,n),t.SMALL="small",t.CUSTOM="custom",t.BIG="big",t.TEXT="text",t.UNICODE="unicode",t.UNICODE_PEOPLE="unicode_people",t.UNICODE_NATURE="unicode_nature",t.UNICODE_FOOD="unicode_food",t.UNICODE_SYMBOLS="unicode_symbols",t.UNICODE_FLAGS="unicode_flags",t.SRC="chat/smiles/",t.titles=((i={})[t.SMALL]=__("Small Emoji"),i[t.CUSTOM]=__("Custom Emoji"),i[t.BIG]=__("Big Emoji"),i[t.TEXT]=__("Text Emoji"),i[t.UNICODE_PEOPLE]=__("Smileys & People"),i[t.UNICODE_NATURE]=__("Animals & Nature"),i[t.UNICODE_FOOD]=__("Food & Drink"),i[t.UNICODE_SYMBOLS]="Symbols",i[t.UNICODE_FLAGS]="Flags",i),t}(e(53767).A);t.A=r},71005:function(n,t,e){var i=e(15215),o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return(0,i.C6)(t,n),t.WAVING_HAND="1f44b",t.FIRE="1f525",t.HUGGING_FACE="1f917",t.SMIRKING_FACE="1f60f",t.GRINNING_FACE_WITH_STAR_EYES="1f929",t.CHRISTMAS_TREE="1f384",t.PARTY_POPPER="1f389",t.COLLISION="1f4a5",t.RAISING_HANDS="1f64c",t.CLINKING_GLASSES="1f942",t.FLAG_PORTUGAL="1f1f5-1f1f9",t.HIGH_VOLTAGE="26a1",t.MOBILE_PHONE="1f4f1",t.SUN="2600-fe0f",t.FLAG_UK="1f1ec-1f1e7",t.HEART="2764-fe0f",t.SPARKLING_HEART="1f496",t.SPARKLES="2728",t.SQUARED_NEW="1f195",t.RUSSIA_FLAG="1f1f7-1f1fa",t.MONEY_WITH_WINGS="1f4b8",t.BLACK_HEART="1f5a4",t.HEART_ON_FIRE="2764-fe0f-200d-1f525",t.SMILING_FACE_WITH_HEART_SHAPED_EYES="1f60d",t.HEART_WITH_ARROW="1f498",t.TULIP="1f337",t.NO_ENTRY_SIGN="1f6ab",t.WARNING_SIGN="26a0-fe0f",t.WHITE_HEAVY_CHECK_MARK="2705",t.WINK="1f609",t.RABBIT="1f407",t.GLOWING_STAR="1f31f",t.CRYING_FACE="1f622",t.THUMBS_UP_SIGN="1f44d",t.SPEECH_BALLOON="1f4ac",t.SMALL_ORANGE_DIAMOND="1f538",t.CROWN="1f451",t.MONEY_BAG="1f4b0",t.UNITED_STATES_FLAG="1f1fa-1f1f8",t}(e(53767).A);t.A=o},46017:function(n,t,e){var i=e(15215),o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return(0,i.C6)(t,n),t.isInputType=function(n){return-1!==[t.TEXT,t.TEXTAREA,t.TEXT_AREA,t.PASSWORD,t.NUMBER,t.TELEPHONE,t.EMAIL,t.SEARCH].indexOf(n)},t.isCheckType=function(n){return-1!==[t.RADIO,t.CHECKBOX].indexOf(n)},t.TEXT="text",t.PASSWORD="password",t.HIDDEN="hidden",t.TEXTAREA="textarea",t.TEXT_AREA="textArea",t.RADIO="radio",t.CHECKBOX="checkbox",t.NUMBER="number",t.TELEPHONE="tel",t.EMAIL="email",t.SEARCH="search",t}(e(53767).A);t.A=o},2597:function(n,t,e){var i,o=e(15215),r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return(0,o.C6)(t,n),t.FREE="free",t.GOLD="gold",t.PLATINUM="platinum",t.UNLIMITED="unlimited",t.SAPPHIRE="sapphire",t.TITAN="titan",t.DIAMOND="diamond",t.EXCLUSIVE="exclusive",t.titles=((i={})[t.DIAMOND]=__("Diamond"),i[t.EXCLUSIVE]=__("Exclusive"),i[t.FREE]=__("Free"),i[t.GOLD]=__("Gold"),i[t.PLATINUM]=__("Platinum"),i[t.SAPPHIRE]=__("Sapphire"),i[t.TITAN]=__("Titan"),i[t.UNLIMITED]=__("Unlimited"),i),t.isHigherThanFree=function(n){return[t.DIAMOND,t.EXCLUSIVE,t.GOLD,t.PLATINUM,t.SAPPHIRE,t.TITAN,t.UNLIMITED].includes(n)},t.isHigherThanGold=function(n){return[t.DIAMOND,t.EXCLUSIVE,t.PLATINUM,t.SAPPHIRE,t.TITAN,t.UNLIMITED].includes(n)},t.isHigherThanPlatinum=function(n){return[t.DIAMOND,t.EXCLUSIVE,t.SAPPHIRE,t.TITAN,t.UNLIMITED].includes(n)},t.isEliteMember=function(n){return[t.DIAMOND,t.EXCLUSIVE,t.SAPPHIRE,t.TITAN].includes(n)},t.getAsOrderedArray=function(){return[t.FREE,t.GOLD,t.PLATINUM,t.UNLIMITED,t.SAPPHIRE,t.TITAN,t.DIAMOND,t.EXCLUSIVE]},t}(e(53767).A);t.A=r},51823:function(n,t,e){var i,o=e(15215),r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return(0,o.C6)(t,n),t.CHAT="chat",t.MESSAGE="message",t.OFFLINE_CHAT="offline_chat",t.VIP_SHOW="vip_show",t.PRIVATE_SHOW="private_show",t.BONGATALK="bongatalk",t.CHAT_BOT_AUTO_DJ="chat_bot_auto_dj",t.AFTER_SHOW="after_show",t.SOCIAL_SUBSCRIPTION="social_subscription",t.SOCIAL_SUBSCRIPTION_OFFLINE="social_subscription_offline",t.VIBE_WITH_ME_CROWD="vibe_with_me_crowd",t.VIBE_WITH_ME_SINGLE="vibe_with_me_single",t.BECOME_NEW_TIP_KING="become_new_tip_king",t.CHAT_BOT_ROLL_DICE="chat_bot_roll_dice",t.CHAT_BOT_SPIN_WHEEL="chat_bot_spin_wheel",t.CHAT_BOT_TOKEN_KENO="chat_bot_token_keno",t.CHAT_BOT_SLOT_MACHINE="chat_bot_slot_machine",t.titles=((i={})[t.CHAT]=__("Public chat"),i[t.MESSAGE]=__("Message"),i[t.OFFLINE_CHAT]=__("Offline chat"),i[t.VIP_SHOW]=__("Vip show"),i[t.PRIVATE_SHOW]=__("Private chat"),i[t.BONGATALK]=__("BongaTalk"),i[t.CHAT_BOT_AUTO_DJ]=__("ChatBot (Auto DJ)"),i[t.AFTER_SHOW]=__("After show"),i[t.SOCIAL_SUBSCRIPTION]=__("Social subscription"),i[t.SOCIAL_SUBSCRIPTION_OFFLINE]=__("Social subscription (offline)"),i[t.VIBE_WITH_ME_CROWD]=__("Vibe With Me (Crowd)"),i[t.VIBE_WITH_ME_SINGLE]=__("Vibe With Me (Single)"),i[t.BECOME_NEW_TIP_KING]=__("Become New Tip King"),i[t.CHAT_BOT_ROLL_DICE]=__("Chatbot (Dice)"),i[t.CHAT_BOT_SPIN_WHEEL]=__("Chatbot (Wheel of Fortune)"),i[t.CHAT_BOT_TOKEN_KENO]=__("Chatbot (Bingo)"),i[t.CHAT_BOT_SLOT_MACHINE]=__("Chatbot (Slot Machine)"),i),t}(e(53767).A);t.A=r},46941:function(n,t,e){e.d(t,{D:function(){return o}});var i=e(71005),o=[{title:__("Text %s1%%modelname%!%s_end%"),subtitle:__("Tip%_im_%"),text:__("Greet the model and write your name %emoji% It'll be more interesting and enjoyable for %s1%%modelname%%s1_end% to chat with you, knowing your name."),emoji:i.A.WAVING_HAND,statsId:1},{title:__("Start a conversation with %s1%%modelname%!%s_end%"),subtitle:__("Tip%_im_%"),text:__("Send tips along with your message %emoji% This way, you will get %s2%%s1%%modelname%%s1_end%'s%s2_end% attention, and she will answer you much faster!"),emoji:i.A.HUGGING_FACE,statsId:2},{title:__("Text %s1%%modelname%!%s_end%"),subtitle:__("Tip%_im_%"),text:__("Models love emoticons %emoji% Add emojis to your messages to make them more colorful and %s2%interesting %emoji_fire%%s2_end%"),emoji:i.A.SMIRKING_FACE,emoji_fire:i.A.FIRE,statsId:3},{title:__("Start a conversation with %s1%%modelname%!%s_end%"),subtitle:__("Tip%_im_%"),text:__("Give %s1%%modelname%%s1_end% a compliment %emoji% This will win the model over, and your chat will be even more pleasurable."),emoji:i.A.GRINNING_FACE_WITH_STAR_EYES,statsId:4}]},91287:function(n,t,e){e.d(t,{Ev:function(){return u},Kw:function(){return r},Ni:function(){return c},QL:function(){return s},Xo:function(){return d},Y5:function(){return h},YQ:function(){return p},ah:function(){return v},e6:function(){return f},eH:function(){return m},h_:function(){return _},hn:function(){return l},hv:function(){return A},lS:function(){return a},oU:function(){return E}});var i=e(46941),o=e(57510),r=function(n){return n.instantMessages||{}},a=function(n){return r(n).conversations||{}},s=function(n,t){return a(n)[t]||{}},u=function(n,t){return s(n,t).messages||[]},c=function(n){return r(n).membershipAdvantages||{}},l=function(n){return r(n).users||{}},d=function(n){return n.lang},f=function(n){return r(n).groupIds||{}},_=function(n,t){return a(n)[f(n)[t]]||s(n,t)},p=function(n,t){var e=null;return(0,o.loopv)(a(n),function(n,i){n.rawData&&n.rawData.users&&1===n.rawData.users.length&&n.rawData.users[0].username===t&&(e=i)}),{groupId:e,conversation:e?s(n,e):{}}},h=function(n,t){var e,i=s(n,t),r=[];return(0,o.loopv)((null===(e=null==i?void 0:i.rawData)||void 0===e?void 0:e.users)||[],function(t){var e;r.push((null===(e=null==n?void 0:n.instantMessages)||void 0===e?void 0:e.users[t.username])||t)}),r},m=function(n,t){var e,i;return null===(i=null===(e=s(n,t))||void 0===e?void 0:e.rawData)||void 0===i?void 0:i.muted},v=function(n){var t=function(n){var t=r(n).tipBeforeStartIndex;return Number.isFinite(t)?t:null}(n);return i.D[t]||null},E=function(n){var t;return null===(t=v(n))||void 0===t?void 0:t.statsId},A=function(n){return n.user}},52804:function(n,t,e){if(e.d(t,{FQ:function(){return m},MR:function(){return f},No:function(){return d},XA:function(){return p},Yg:function(){return _},ic:function(){return v},vc:function(){return h}}),!/^(21|22|9)$/.test(e.j))var i=e(94140);var o=e(84435),r=e(41669),a=window.outerWidth||document.documentElement.offsetWidth||document.documentElement.clientWidth,s=window.outerHeight||document.documentElement.offsetHeight||document.documentElement.clientHeight,u=a>s,c=null,l=window.navigator.userAgent.toLowerCase().indexOf("windows phone 10")>=0||o.BrowserDetect.isIOS(),d=function(){return l?r(window).width():window.innerWidth},f=function(){return l?r(window).height():window.innerHeight},_=function(){var n,t,e=null===(t=null===(n=null===window||void 0===window?void 0:window.screen)||void 0===n?void 0:n.orientation)||void 0===t?void 0:t.type;return void 0===e||window.self!==window.top||o.BrowserDetect.isChrome_IOS()?d()>f():"landscape-primary"===e||"landscape-secondary"===e},p=function(n){var t=d(),e=f();if(n&&(c=null),(0,i.b)(a,t,5)&&s>=e)return c=null===c;var o=!(0,i.b)(t,a,5)||e>s;return a=t,s=e,c=null===c||(o||u!==t>e),u=t>e,c},h=function(){return _()?"landscape":"portrait"},m=function(){var n=document.activeElement;return n.isContentEditable||["input","textarea"].includes(n.tagName.toLowerCase())},v=function(){var n=document.activeElement;null==n||n.blur(),r("input").blur()}}}]);