PageSourceSearch

https://lobby.hyperlucky.com/1DmNjjOw.js

js hyperlucky.com collected 2026-10-07 00:44:15 UTC 20,527 bytes, 15 lines download raw bytes

1import{fW as de,r as Y,R as Qe,j as y,s as k,H as Je,bf as Xe,J as Ye,h as Ge,dj as Ze,aM as $e,dl as Ke,P as en,k as nn}from"./BzwVwSBE.js";import{r as tn}from"./BLr9UT9i.js";var le={exports:{}},Oe;function rn(){return Oe||(Oe=1,(function(u){console.info(`
2IFRAME-RESIZER
3
4Iframe-Resizer 5 is now available via the following two packages:
5
6 * @iframe-resizer/parent
7 * @iframe-resizer/child
8
9Additionally their are also new versions of iframe-resizer for React, Vue, and jQuery.
10
11Version 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.
12
13Please see https://iframe-resizer.com/upgrade for more details.
14`),(function(w){if(typeof window>"u")return;var x=0,h,O=!1,N=!1,D="message",F=D.length,T="[iFrameSizer]",I=T.length,p=null,L=window.requestAnimationFrame,Pe=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),n={},Z=null,Q=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){A("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}});function ge(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function U(e,t,l){e.addEventListener(t,l,!1)}function Se(e,t,l){e.removeEventListener(t,l,!1)}function Ne(){var e=["moz","webkit","o","ms"],t;for(t=0;t<e.length&&!L;t+=1)L=window[e[t]+"RequestAnimationFrame"];L?L=L.bind(window):d("setup","RequestAnimationFrame not supported")}function Le(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}function We(e){return T+"["+Le(e)+"]"}function me(e){return n[e]?n[e].log:O}function d(e,t){$("log",e,t,me(e))}function he(e,t){$("info",e,t,me(e))}function A(e,t){$("warn",e,t,!0)}function $(e,t,l,o){o===!0&&typeof window.console=="object"&&console[e](We(t),l)}function He(e){function t(){function i(){xe(m),be(a),V("onResized",m)}f("Height"),f("Width"),Re(i,m,"init")}function l(){var i=j.slice(I).split(":"),c=i[1]?parseInt(i[1],10):0,b=n[i[0]]&&n[i[0]].iframe,v=getComputedStyle(b);return{iframe:b,id:i[0],height:c+o(v)+g(v),width:i[2],type:i[3]}}function o(i){if(i.boxSizing!=="border-box")return 0;var c=i.paddingTop?parseInt(i.paddingTop,10):0,b=i.paddingBottom?parseInt(i.paddingBottom,10):0;return c+b}function g(i){if(i.boxSizing!=="border-box")return 0;var c=i.borderTopWidth?parseInt(i.borderTopWidth,10):0,b=i.borderBottomWidth?parseInt(i.borderBottomWidth,10):0;return c+b}function f(i){var c=Number(n[a]["max"+i]),b=Number(n[a]["min"+i]),v=i.toLowerCase(),M=Number(m[v]);d(a,"Checking "+v+" is in range "+b+"-"+c),M<b&&(M=b,d(a,"Set "+v+" to min value")),M>c&&(M=c,d(a,"Set "+v+" to max value")),m[v]=""+M}function S(){function i(){function v(){var E=0,_=!1;for(d(a,"Checking connection is from allowed list of origins: "+b);E<b.length;E++)if(b[E]===c){_=!0;break}return _}function M(){var E=n[a]&&n[a].remoteHost;return d(a,"Checking connection is from: "+E),c===E}return b.constructor===Array?v():M()}var c=e.origin,b=n[a]&&n[a].checkOrigin;if(b&&""+c!="null"&&!i())throw new Error("Unexpected message received from: "+c+" for "+m.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function B(){return T===(""+j).slice(0,I)&&j.slice(I).split(":")[0]in n}function W(){var i=m.type in{true:1,false:1,undefined:1};return i&&d(a,"Ignoring init message from meta parent page"),i}function H(i){return j.slice(j.indexOf(":")+F+i)}function q(i){d(a,"onMessage passed: {iframe: "+m.iframe.id+", message: "+i+"}"),V("onMessage",{iframe:m.iframe,message:JSON.parse(i)}),d(a,"--")}function ie(){var i=document.body.getBoundingClientRect(),c=m.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:c.height,iframeWidth:c.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(c.top-i.top,10),offsetLeft:parseInt(c.left-i.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function J(i,c){function b(){P("Send Page Info","pageInfo:"+ie(),i,c)}qe(b,32,c)}function re(){function i(M,E){function _(){n[v]?J(n[v].iframe,v):c()}["scroll","resize"].forEach(function(ke){d(v,M+ke+" listener for sendPageInfo"),E(window,ke,_)})}function c(){i("Remove ",Se)}function b(){i("Add ",U)}var v=a;b(),n[v]&&(n[v].stopPageInfo=c)}function oe(){n[a]&&n[a].stopPageInfo&&(n[a].stopPageInfo(),delete n[a].stopPageInfo)}function se(){var i=!0;return m.iframe===null&&(A(a,"IFrame ("+m.id+") not found"),i=!1),i}function r(i){var c=i.getBoundingClientRect();return we(a),{x:Math.floor(Number(c.left)+Number(p.x)),y:Math.floor(Number(c.top)+Number(p.y))}}function s(i){function c(){p=E,R(),d(a,"--")}function b(){return{x:Number(m.width)+M.x,y:Number(m.height)+M.y}}function v(){window.parentIFrame?window.parentIFrame["scrollTo"+(i?"Offset":"")](E.x,E.y):A(a,"Unable to scroll to requested position, window.parentIFrame not found")}var M=i?r(m.iframe):{x:0,y:0},E=b();d(a,"Reposition requested from iFrame (offset x:"+M.x+" y:"+M.y+")"),window.top===window.self?c():v()}function R(){V("onScroll",p)===!1?ve():be(a)}function z(i){function c(){var _=r(E);d(a,"Moving to in page link (#"+v+") at x: "+_.x+" y: "+_.y),p={x:_.x,y:_.y},R(),d(a,"--")}function b(){window.parentIFrame?window.parentIFrame.moveToAnchor(v):d(a,"In page link #"+v+" not found and window.parentIFrame not found")}var v=i.split("#")[1]||"",M=decodeURIComponent(v),E=document.getElementById(M)||document.getElementsByName(M)[0];E?c():window.top===window.self?d(a,"In page link #"+v+" not found"):b()}function C(i){var c={};if(Number(m.width)===0&&Number(m.height)===0){var b=H(9).split(":");c={x:b[1],y:b[0]}}else c={x:m.width,y:m.height};V(i,{iframe:m.iframe,screenX:Number(c.x),screenY:Number(c.y),type:m.type})}function V(i,c){return K(a,i,c)}function X(){switch(n[a]&&n[a].firstRun&&ue(),m.type){case"close"
14:{ee(m.iframe);break}case"message":{q(H(6));break}case"mouseenter":{C("onMouseEnter");break}case"mouseleave":{C("onMouseLeave");break}case"autoResize":{n[a].autoResize=JSON.parse(H(9));break}case"scrollTo":{s(!1);break}case"scrollToOffset":{s(!0);break}case"pageInfo":{J(n[a]&&n[a].iframe,a),re();break}case"pageInfoStop":{oe();break}case"inPageLink":{z(H(9));break}case"reset":{ye(m);break}case"init":{t(),V("onInit",m.iframe);break}default:Number(m.width)===0&&Number(m.height)===0?A("Unsupported message received ("+m.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):t()}}function ae(i){var c=!0;return n[i]||(c=!1,A(m.type+" No settings for "+i+". Message was: "+j)),c}function ce(){for(var i in n)P("iFrame requested init",Me(i),n[i].iframe,i)}function ue(){n[a]&&(n[a].firstRun=!1)}var j=e.data,m={},a=null;j==="[iFrameResizerChild]Ready"?ce():B()?(m=l(),a=m.id,n[a]&&(n[a].loaded=!0),!W()&&ae(a)&&(d(a,"Received: "+j),se()&&S()&&X())):he(a,"Ignored: "+j)}function K(e,t,l){var o=null,g=null;if(n[e])if(o=n[e][t],typeof o=="function")g=o(l);else throw new TypeError(t+" on iFrame["+e+"] is not a function");return g}function pe(e){var t=e.id;delete n[t]}function ee(e){var t=e.id;if(K(t,"onClose",t)===!1){d(t,"Close iframe cancelled by onClose event");return}d(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(l){A(l)}K(t,"onClosed",t),d(t,"--"),pe(e),h&&(h.disconnect(),h=null)}function we(e){p===null&&(p={x:window.pageXOffset===w?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===w?document.documentElement.scrollTop:window.pageYOffset},d(e,"Get page position: "+p.x+","+p.y))}function be(e){p!==null&&(window.scrollTo(p.x,p.y),d(e,"Set page position: "+p.x+","+p.y),ve())}function ve(){p=null}function ye(e){function t(){xe(e),P("reset","reset",e.iframe,e.id)}d(e.id,"Size reset requested by "+(e.type==="init"?"host page":"iFrame")),we(e.id),Re(t,e,"reset")}function xe(e){function t(f){if(!e.id){d("undefined","messageData id not set");return}e.iframe.style[f]=e[f]+"px",d(e.id,"IFrame ("+g+") "+f+" set to "+e[f]+"px")}function l(f){!N&&e[f]==="0"&&(N=!0,d(g,"Hidden iFrame detected, creating visibility listener"),Be())}function o(f){t(f),l(f)}var g=e.iframe.id;n[g]&&(n[g].sizeHeight&&o("height"),n[g].sizeWidth&&o("width"))}function Re(e,t,l){l!==t.type&&L&&!window.jasmine?(d(t.id,"Requesting animation frame"),L(e)):e()}function P(e,t,l,o,g){function f(){var q=n[o]&&n[o].targetOrigin;d(o,"["+e+"] Sending msg to iframe["+o+"] ("+t+") targetOrigin: "+q),l.contentWindow.postMessage(T+t,q)}function S(){A(o,"["+e+"] IFrame("+o+") not found")}function B(){l&&"contentWindow"in l&&l.contentWindow!==null?f():S()}function W(){function q(){n[o]&&!n[o].loaded&&!H&&(H=!0,A(o,"IFrame has not responded within "+n[o].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}g&&n[o]&&n[o].warningTimeout&&(n[o].msgTimeout=setTimeout(q,n[o].warningTimeout))}var H=!1;o=o||l.id,n[o]&&(B(),W())}function Me(e){return e+":"+n[e].bodyMarginV1+":"+n[e].sizeWidth+":"+n[e].log+":"+n[e].interval+":"+n[e].enablePublicMethods+":"+n[e].autoResize+":"+n[e].bodyMargin+":"+n[e].heightCalculationMethod+":"+n[e].bodyBackground+":"+n[e].bodyPadding+":"+n[e].tolerance+":"+n[e].inPageLinks+":"+n[e].resizeFrom+":"+n[e].widthCalculationMethod+":"+n[e].mouseEvents}function _e(e){return typeof e=="number"}function Fe(e,t){function l(){function s(z){var C=n[r][z];C!==1/0&&C!==0&&(e.style[z]=_e(C)?C+"px":C,d(r,"Set "+z+" = "+e.style[z]))}function R(z){if(n[r]["min"+z]>n[r]["max"+z])throw new Error("Value for min"+z+" can not be greater than max"+z)}R("Height"),R("Width"),s("maxHeight"),s("minHeight"),s("maxWidth"),s("minWidth")}function o(){var s=t&&t.id||Q.id+x++;return document.getElementById(s)!==null&&(s+=x++),s}function g(s){if(typeof s!="string")throw new TypeError("Invaild id for iFrame. Expected String");return s===""&&(e.id=s=o(),O=(t||{}).log,d(s,"Added missing iframe ID: "+s+" ("+e.src+")")),s}function f(){switch(d(r,"IFrame scrolling "+(n[r]&&n[r].scrolling?"enabled":"disabled")+" for "+r),e.style.overflow=(n[r]&&n[r].scrolling)===!1?"hidden":"auto",n[r]&&n[r].scrolling){case"omit":break;case!0:{e.scrolling="yes";break}case!1:{e.scrolling="no";break}default:e.scrolling=n[r]?n[r].scrolling:"no"}}function S(){(typeof(n[r]&&n[r].bodyMargin)=="number"||(n[r]&&n[r].bodyMargin)==="0")&&(n[r].bodyMarginV1=n[r].bodyMargin,n[r].bodyMargin=""+n[r].bodyMargin+"px")}function B(){var s=n[r]&&n[r].firstRun,R=n[r]&&n[r].heightCalculationMethod in Pe;!s&&R&&ye({iframe:e,height:0,width:0,type:"init"})}function W(){n[r]&&(n[r].iframe.iFrameResizer={close:ee.bind(null,n[r].iframe),removeListeners:pe.bind(null,n[r].iframe),resize:P.bind(null,"Window resize","resize",n[r].iframe),moveToAnchor:function(s){P("Move to anchor","moveToAnchor:"+s,n[r].iframe,r)},sendMessage:function(s){s=JSON.stringify(s),P("Send Message","message:"+s,n[r].iframe,r)}})}function H(s){function R(){P("iFrame.onload",s,e,w,!0),B()}function z(V){if(!e.parentNode)return null;var X=new V(function(ae){ae.forEach(function(ce){var ue=Array.prototype.slice.call(ce.removedNodes
14);ue.forEach(function(j){j===e&&ee(e)})})});return X.observe(e.parentNode,{childList:!0}),X}var C=ge();C&&(h=z(C)),U(e,"load",R),P("init",s,e,w,!0)}function q(s){if(typeof s!="object")throw new TypeError("Options is not an object")}function ie(s){for(var R in Q)Object.prototype.hasOwnProperty.call(Q,R)&&(n[r][R]=Object.prototype.hasOwnProperty.call(s,R)?s[R]:Q[R])}function J(s){return s===""||s.match(/^(about:blank|javascript:|file:\/\/)/)!==null?"*":s}function re(s){var R=s.split("Callback");if(R.length===2){var z="on"+R[0].charAt(0).toUpperCase()+R[0].slice(1);this[z]=this[s],delete this[s],A(r,"Deprecated: '"+s+"' has been renamed '"+z+"'. The old method will be removed in the next major version.")}}function oe(s){s=s||{},n[r]=Object.create(null),n[r].iframe=e,n[r].firstRun=!0,n[r].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/"),q(s),Object.keys(s).forEach(re,s),ie(s),n[r]&&(n[r].targetOrigin=n[r].checkOrigin===!0?J(n[r].remoteHost):"*")}function se(){return r in n&&"iFrameResizer"in e}var r=g(e.id);se()?A(r,"Ignored iFrame, already setup."):(oe(t),f(),l(),S(),H(Me(r)),W())}function ne(e,t){Z===null&&(Z=setTimeout(function(){Z=null,e()},t))}var te={};function qe(e,t,l){te[l]||(te[l]=setTimeout(function(){te[l]=null,e()},t))}function Be(){function e(){function g(f){function S(W){return(n[f]&&n[f].iframe.style[W])==="0px"}function B(W){return W.offsetParent!==null}n[f]&&B(n[f].iframe)&&(S("height")||S("width"))&&P("Visibility change","resize",n[f].iframe,f)}Object.keys(n).forEach(function(f){g(f)})}function t(g){d("window","Mutation observed: "+g[0].target+" "+g[0].type),ne(e,16)}function l(){var g=document.querySelector("body"),f={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0},S=new o(t);S.observe(g,f)}var o=ge();o&&l()}function Ve(e){function t(){ze("Window "+e,"resize")}d("window","Trigger event: "+e),ne(t,16)}function Ie(){function e(){ze("Tab Visible","resize")}document.visibilityState!=="hidden"&&(d("document","Trigger event: Visibility change"),ne(e,16))}function ze(e,t){function l(o){return n[o]&&n[o].resizeFrom==="parent"&&n[o].autoResize&&!n[o].firstRun}Object.keys(n).forEach(function(o){l(o)&&P(e,t,n[o].iframe,o)})}function Ue(){U(window,"message",He),U(window,"resize",function(){Ve("resize")}),U(document,"visibilitychange",Ie),U(document,"-webkit-visibilitychange",Ie)}function Ee(){function e(o,g){function f(){if(g.tagName){if(g.tagName.toUpperCase()!=="IFRAME")throw new TypeError("Expected <IFRAME> tag, found <"+g.tagName+">")}else throw new TypeError("Object is not a valid DOM element")}g&&(f(),Fe(g,o),l.push(g))}function t(o){o&&o.enablePublicMethods&&A("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}var l;return Ne(),Ue(),function(g,f){switch(l=[],t(g),typeof f){case"undefined":case"string":{Array.prototype.forEach.call(document.querySelectorAll(f||"iframe"),e.bind(w,g));break}case"object":{e(g,f);break}default:throw new TypeError("Unexpected data type ("+typeof f+")")}return l}}function De(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(l){function o(g,f){Fe(f,l)}return this.filter("iframe").each(o).end()}):he("","Unable to bind to jQuery, it is not fully loaded.")}window.jQuery!==w&&De(window.jQuery),u.exports=Ee(),window.iFrameResize=window.iFrameResize||Ee()})()})(le)),le.exports}var on=rn();const sn=de(on);var an=tn();const cn=de(an);var fe,Te;function un(){if(Te)return fe;Te=1;var u=function(){};return fe=u,fe}var ln=un();const fn=de(ln);function G(){return G=Object.assign?Object.assign.bind():function(u){for(var w=1;w<arguments.length;w++){var x=arguments[w];for(var h in x)Object.prototype.hasOwnProperty.call(x,h)&&(u[h]=x[h])}return u},G.apply(this,arguments)}function Ce(u,w){if(u==null)return{};var x={};for(var h in u)if(Object.prototype.hasOwnProperty.call(u,h)){if(w.indexOf(h)>=0)continue;x[h]=u[h]}return x}var dn=["autoResize","bodyBackground","bodyMargin","bodyPadding","checkOrigin","inPageLinks","heightCalculationMethod","interval","log","maxHeight","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClosed","onInit","onMessage","onResized"],gn=(function(u){var w=Ce(u,dn);return w}),mn=["title","forwardRef"],je=function(w){var x=w.title,h=x===void 0?"iframe":x,O=w.forwardRef,N=Ce(w,mn),D=gn(N),F=Y.useRef(null),T=function(){var p;return fn(!(F!=null&&F.current),"[iframeSizerReact]["+(F==null||(p=F.current)==null?void 0:p.id)+"] Close event ignored, to remove the iframe update your React component"),!(F!=null&&F.current)};return Y.useEffect(function(){var I=F.current;return sn(G({},N,{onClose:T}),I),function(){var p;return I==null||(p=I.iFrameResizer)==null?void 0:p.removeListeners()}},[]),Y.useImperativeHandle(O,function(){return{getIframeElement:function(){return F.current},resize:function(){return F.current.iFrameResizer.resize()},moveToAnchor:function(p){return F.current.iFrameResizer.moveToAnchor(p)},sendMessage:function(p,L){F.current.iFrameResizer.sendMessage(p,L)}}}),Qe.createElement("iframe",G({title:h},D,{ref:F}))};
14je.propTypes={title:cn.string};const hn=k("div")({name:"StarsContainer",class:"s1lgypyc",propsAsIs:!1}),pn=k("div")({name:"StarContainer",class:"sn58nv7",propsAsIs:!1}),wn=(u,w)=>u>w,bn=u=>y.jsx(hn,{children:[...Array(5)].map((w,x)=>y.jsx(pn,{"data-active":wn(Number(u.ratingNumber),x),children:y.jsx("span",{children:"★"})},x))}),vn=k("div")({name:"StyledAffiliate",class:"s1twia9x",propsAsIs:!1}),yn=k("div")({name:"StyledAffiliateDetails",class:"s1iox35a",propsAsIs:!1}),xn=k("div")({name:"StyledHeading",class:"s1woxb3h",propsAsIs:!1}),Rn=k("img")({name:"PaymentLogoImage",class:"p1vr1zpf",propsAsIs:!1}),Mn=k("div")({name:"NewBadgeContainer",class:"nyyv8v4",propsAsIs:!1}),Fn=k("div")({name:"NewBadge",class:"n16wkidr",propsAsIs:!1}),In=k("div")({name:"TermsAndConditionsContainer",class:"tseqxdl",propsAsIs:!1}),zn=({affiliate:u,termsAndConditionsTranslation:w,newTranslation:x})=>{const h=u.image.url,O=u.paymentImage.url;return h?y.jsxs(vn,{children:[u.newCasino&&y.jsx(Mn,{children:y.jsx(Fn,{children:x})}),y.jsx("img",{alt:u.casinoName,src:h}),y.jsxs(yn,{children:[y.jsx(Je,{level:2,like:1,children:u.casinoName}),y.jsxs(xn,{children:[y.jsx("div",{children:u.title}),u.starsRating&&y.jsx(bn,{ratingNumber:u.starsRating})]}),y.jsx(Xe,{markup:u.content}),y.jsx("div",{children:y.jsx(Rn,{loading:"lazy",alt:u.title,src:O})}),y.jsx(Ye,{type:"button",onClick:()=>window.open(`https://${u.affiliateLink}`,"_blank"),variant:"primary","data-testid":"affiliate__linkButton",children:u.buttonText}),u.termsAndConditionsLink&&y.jsx(In,{"data-testid":"affiliate__linkContainer",children:y.jsx("a",{href:`https://${u.termsAndConditionsLink}`,target:"_blank",rel:"noopener noreferrer",children:w})})]})]}):null},En={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Affiliates_2UasCmUL"}}],loc:{source:{body:""}}},kn=k("div")({name:"StyledAffiliates",class:"s1kbgavm",propsAsIs:!1}),On=()=>je,Tn=k(On())({name:"StyledIframe",class:"s1vvg7kl",propsAsIs:!0}),An=k("div")({name:"NoAffiliatesContainer",class:"n1gaiw6q",propsAsIs:!1}),Cn=k("div")({name:"AffiliatesMessage",class:"ajoelem",propsAsIs:!1}),jn={query:En},Pn=(u,w)=>{const x=new URL(u);for(const[h,O]of Object.entries(w))O!==void 0&&x.searchParams.append(h,O);return x.toString()},Ae="affiliate-iframe",Ln=()=>{const[{data:u}]=Ge(jn),{accessToken:w}=Ze(),{path:x}=$e(),h=u?.root,O=h?.affiliates,N=`${h?.moreCasinoSettings?.iframeUrl}/${x}`,{playerId:D,sessionId:F}=Ke(w)||{};return Y.useEffect(()=>{const T=I=>{if(I.data==="beforeunload"){const p=document.getElementById(Ae);p&&(p.style.height="0px")}};return window.addEventListener("message",T),()=>{window.removeEventListener("message",T)}},[]),y.jsxs(en,{spacing:"vertical",children:[y.jsx(nn,{title:h?.MORE_CASINO_TITLE}),y.jsx(Cn,{children:h?.MORE_CASINO_MESSAGE}),!N&&!O&&y.jsx(An,{children:h?.NO_MORE_CASINOS_MESSAGE}),N?y.jsx(Tn,{id:Ae,src:Pn(N,{uid:D,sid:F}),frameBorder:"0"}):y.jsx(kn,{children:O?.map((T,I)=>y.jsx(zn,{affiliate:T,termsAndConditionsTranslation:h?.TERMS_AND_CONDITIONS||"Terms and conditions",newTranslation:h?.NEW||"NEW!"},I))})]})};export{Ln as default};
15//# sourceMappingURL=1DmNjjOw.js.map

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.