PageSourceSearch

https://assets.poker.org/prod/ArticleLoginRequired.c6d086036ecfdd0245ff.js

js poker.org collected 2026-10-02 04:10:01 UTC 4,641 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpoker_deliver=self.webpackChunkpoker_deliver||[]).push([[7765,6903],{"6w73":(e,t,r)=>{var n=r("2oZF");document.addEventListener("DOMContentLoaded",()=>{a();const e=document.querySelector(".giveaway-register-btn");e&&e.addEventListener("click",o);const t=document.querySelector(".opt-in-button:not(.giveaway-register-btn)");t&&!t.disabled&&t.addEventListener("click",s),document.addEventListener("click",async e=>{if(e.target.classList.contains("popup-x-mark")){const e=document.querySelector(".pop-up-wrapper");e&&e.classList.remove("modal-popup")}})});const o=async()=>{try{await(0,n.userJourneyCalls)({layout:"loginAndRegister"});const e=document.querySelector(".pop-up-wrapper");e&&e.classList.add("modal-popup"),a()}catch(e){console.error("Error opening registration popup:",e)}},s=async()=>{const e=document.querySelector(".opt-in-button:not(.giveaway-register-btn)"),t=document.querySelector(".opt-in-message"),r=e.getAttribute("data-nexa-group"),n=document.querySelector(".giveaway-actions"),o=null==n?void 0:n.getAttribute("data-already-opted-in"),s=null==n?void 0:n.getAttribute("data-enter-prize");if(!r)return console.error("No nexa group specified"),void(t&&(t.textContent="No group specified",t.style.display="block",t.style.color="red"));e.disabled=!0,e.textContent="Processing...";const a={nexaGroup:r};try{const r=await fetch("/api/napt-giveaway/opt-in/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),n=await r.json();n.success?(e.textContent=o,e.classList.add("opted-in"),t&&(t.textContent=n.message,t.style.display="block")):(e.disabled=!1,e.textContent=s,t&&(t.textContent=n.error,t.style.display="block"))}catch(r){e.disabled=!1,e.textContent=s,t&&(t.textContent="Error occurred",t.style.display="block",t.style.color="red")}},a=()=>{document.querySelectorAll(".input-wrapper").forEach(e=>{const t=e.querySelector(".sensitive-input"),r=e.querySelector("img.password-icon:nth-of-type(1)"),n=e.querySelector("img.password-icon:nth-of-type(2)");t&&r&&n&&(r.addEventListener("click",()=>{t.type="text",r.style.display="none",n.style.display="inline"}),n.addEventListener("click",()=>{t.type="password",n.style.display="none",r.style.display="inline"}))})}},je4i:(e,t,r)=>{e.exports=r("Bpvx")},Qfp6:(e,t,r)=>{var n,o,s,a=r("fqyn"),i="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function c(){s=!1}function u(e){if(e){if(e!==n){if(64!==e.length)throw new Error("Custom alphabet for shortid must be 64 unique characters. You submitted "+e.length+" characters: "+e);var t=e.split("").filter(function(e,t,r){return t!==r.lastIndexOf(e)});if(t.length)throw new Error("Custom alphabet for shortid must be 64 unique characters. These characters were not unique: "+t.join(", "));n=e,c()}}else n!==i&&(n=i,c())}function l(){return s||(s=function(){n||u(i);for(var e,t=n.split(""),r=[],o=a.nextValue();t.length>0;)o=a.nextValue(),e=Math.floor(o*t.length),r.push(t.splice(e,1)[0]);return r.join("")}())}e.exports={get:function(){return n||i},characters:function(e){return u(e),n},seed:function(e){a.seed(e),o!==e&&(c(),o=e)},lookup:function(e){return l()[e]},shuffled:l}},Pfkr:(e,t,r)=>{var n,o,s=r("vZIR");r("Qfp6");e.exports=function(e){var t="",r=Math.floor(.001*(Date.now()-1567752802062));return r===o?n++:(n=0,o=r),t+=s(7),t+=s(e),n>0&&(t+=s(n)),t+=s(r)}},vZIR:(e,t,r)=>{var n=r("Qfp6"),o=r("CR0S"),s=r("BNnt").NM;e.exports=function(e){for(var t,r=0,a="";!t;)a+=s(n.get(),1,o)(),t=e<Math.pow(16,r+1),r++;return a}},Bpvx:(e,t,r)=>{var n=r("Qfp6"),o=r("Pfkr"),s=r("3RSX"),a=r("n8Jw")||0;function i(){return o(a)}e.exports=i,e.exports.generate=i,e.exports.seed=function(t){return n.seed(t),e.exports},e.exports.worker=function(t){return a=t,e.exports},e.exports.characters=function(e){return void 0!==e&&n.characters(e),n.shuffled()},e.exports.isValid=s},"3RSX":(e,t,r)=>{var n=r("Qfp6");e.exports=function(e){return!(!e||"string"!=typeof e||e.length<6)&&!new RegExp("[^"+n.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(e)}},CR0S:e=>{var t,r="object"==typeof window&&(window.crypto||window.msCrypto);t=r&&r.getRandomValues?function(e){return r.getRandomValues(new Uint8Array(e))}:function(e){for(var t=[],r=0;r<e;
1r++)t.push(Math.floor(256*Math.random()));return t},e.exports=t},fqyn:e=>{var t=1;e.exports={nextValue:function(){return(t=(9301*t+49297)%233280)/233280},seed:function(e){t=e}}},n8Jw:e=>{e.exports=0},BNnt:(e,t,r)=>{r.d(t,{NM:()=>n});let n=(e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*n*t/e.length);return(s=t)=>{let a="";for(;;){let t=r(o),i=0|o;for(;i--;)if(a+=e[t[i]&n]||"",a.length===s)return a}}}}}]);

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.