PageSourceSearch

https://bcgame2.com/assets/tg-four-deposit-CwVNANvK.js

js bcgame2.com collected 2026-09-30 21:08:53 UTC 5,872 bytes, 1 lines download raw bytes

1var b=Object.defineProperty,h=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var k=(t,e,i)=>e in t?b(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,r=(t,e)=>{for(var i in e||(e={}))T.call(e,i)&&k(t,i,e[i]);if(f)for(var i of f(e))m.call(e,i)&&k(t,i,e[i]);return t},a=(t,e)=>h(t,C(e));import{b as y,m as v}from"./index-D5gHkNn-.js";import{a as S}from"./index-CgokGjYA.js";import{p as D}from"./deposit-offer-service-JuzE4tGx.js";(function(){try{var t=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};t.SENTRY_RELEASE={id:"8c3b9aa2b95acaad15d7da0cf7f36f5b8cfcd6d1"},t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=(function(e){for(var i=1;i<arguments.length;i++){var p=arguments[i];if(p!=null)for(var _ in p)p.hasOwnProperty(_)&&(e[_]=p[_])}return e})({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:playsmart-ai":!0})}catch(e){}})();const c={bannerShow:"bc_tgapp_fourdep_banner_show",bannerClick:"bc_tgapp_fourdep_banner_click",arrivalShow:"bc_tgapp_fourdep_arrival_show",arrivalClick:"bc_tgapp_fourdep_arrival_click",popupShow:"bc_tgapp_fourdep_popup_show",popupTabClick:"bc_tgapp_fourdep_popup_tab_click",popupDepositClick:"bc_tgapp_fourdep_popup_deposit_click",popupDetailClick:"bc_tgapp_fourdep_popup_detail_click",popupCloseClick:"bc_tgapp_fourdep_popup_close_click",infoTabClick:"fourdep_info_tab_click",infoStageCardShow:"fourdep_info_stagecard_show",infoStageCardClick:"fourdep_info_stagecard_click",infoDepositClick:"fourdep_info_deposit_click",infoRuleShow:"fourdep_info_rule_show",depositModuleShow:"fourdep_deposit_bonusmodule_show",depositTabClick:"fourdep_deposit_bonustab_click",depositDetailClick:"fourdep_deposit_bonusdetail_click",depositStackShow:"fourdep_deposit_bonusstack_show",popupTrigger:"fourdep_popup_trigger"},E="miniapp",A="unknown",P="active_cta",R="bonus_money";function M(){var i;const t=(i=globalThis.location)==null?void 0:i.pathname;if(!t)return"other";const e=v(t);return e==="/"?"home":e.startsWith("/deposit")?"deposit":"other"}function N(t){var e,i;return(i=(e=t.find(p=>!p.done))==null?void 0:e.seq)!=null?i:null}function u(t){return t==="sport"?"sports":"casino"}function B(t){const e=new Set(t.map(p=>p.selectedBonusType));if(e.size!==1)return"unknown";const[i]=e;return i==="casino"||i==="sport"?u(i):"unknown"}function n(t){var e,i,p;return{page_type:(e=t.page)!=null?e:M(),user_type:A,deposit_stage_next:t.stageNext!==void 0?t.stageNext:N((i=t.tiers)!=null?i:[]),package_type:t.viewing?u(t.viewing):B((p=t.tiers)!=null?p:[]),channel:E}}const s=(t,e)=>y.emit("track",{event:t,data:e});function Y(t){return a(r({},n({tiers:t})),{entry_state:P})}function G(t,e){return a(r({},n({tiers:t})),{button_text:e})}const g=()=>{var t,e;return(e=(t=D())==null?void 0:t.otherProgressList)!=null?e:[]};function I(t){return a(r({},n({tiers:g()})),{deposit_stage:t})}function x(t){return a(r({},n({tiers:g()})),{deposit_stage:t,reward_type:R})}function V(t){s(c.arrivalShow,I(t))}function K(t){s(c.arrivalClick,x(t))}const w="daily_first_open";let o=null;function W(t){o={openedAt:Date.now(),kind:t.kind,tiers:t.tiers,closedByCta:!1,closeMethod:"swipe_down"},s(c.popupShow,a(r({},n({tiers:t.tiers,viewing:t.kind})),{trigger_id:t.triggerId,trigger_scene:w}))}function j(t){var e;o&&(o.kind=t),s(c.popupTabClick,a(r({},n({tiers:(e=o==null?void 0:o.tiers)!=null?e:[],viewing:t})),{tab_name:u(t)}))}function z(t){var e;o&&(o.closedByCta=!0),s(c.popupDepositClick,n({tiers:(e=o==null?void 0:o.tiers)!=null?e:[],viewing:t}))}function H(t){var e;s(c.popupDetailClick,n({tiers:(e=o==null?void 0:o.tiers)!=null?e:[],viewing:t}))}const J=()=>Array.from(globalThis.crypto.getRandomValues(new Uint8Array(16)),t=>t.toString(16).padStart(2,"0")).join("");function Q(t,e,i){s(c.popupTrigger,a(r({},n({tiers:i})),{trigger_id:t,trigger_scene:w,is_eligible:e!=="ineligible",pass_frequency_control:e==="displayed",will_display:e==="displayed"}))}function X(t){o&&(o.closeMethod=t)}function Z(){const t=o;o=null,!(!t||t.closedByCta)&&s(c.popupCloseClick,a(r({},n({tiers:t.tiers,viewing:t.kind})),{close_method:t.closeMethod,dwell_ms:Date.now()-t.openedAt}))}const l="fourdep_info";function q(t,e){return t.done?"completed":t.seq===e?"current":"locked"}function $(t,e){s(c.infoTabClick,a(r({},n({tiers:t,viewing:e,page:l})),{tab_name:u(e)}))}function tt(t){return a(r({},n({tiers:t.tiers,viewing:t.kind,page:l})),{item_position:t.tier.seq,stage_status:q(t.tier,t.currentSeq)})}function et(t){s(c.infoDepositClick,a(r({},n({tiers:t.tiers,viewing:t.kind,page:l})),{input_amount:t.inputAmount}))}function it(t,e){return n({tiers:t,viewing:e,page:l})}const d=t=>n({stageNext:t.stageNext,viewing:t.kind,page:"deposit"});function ot(t){return d(t)}function nt(t){s(c.depositTabClick,a(r({},d(t)),{tab_name:u(t.kind)}))}function rt(t){s(c.depositDetailClick,d(t))}function at(t){var e,i;s(c.depositStackShow,a(r({},d(t)),{stack_variant:t.variant,session_id:(i=(e=S())==null?void 0:e.sessionId)!=null?i:""}))}
1export{c as FOURDEP_TRACK,x as arrivalClickTrackData,I as arrivalShowTrackData,G as bannerClickTrackData,Y as bannerShowTrackData,ot as depositModuleShowTrackData,it as infoRuleShowTrackData,tt as infoStageCardTrackData,X as markPopupCloseMethod,J as newPopupTriggerId,u as packageTypeOf,q as stageStatusOf,K as trackArrivalClick,V as trackArrivalShow,rt as trackDepositBonusDetailClick,at as trackDepositBonusStackShow,nt as trackDepositBonusTabClick,et as trackInfoDepositClick,$ as trackInfoTabClick,Z as trackPopupClose,z as trackPopupDepositClick,H as trackPopupDetailClick,W as trackPopupShow,j as trackPopupTabClick,Q as trackPopupTrigger};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.