PageSourceSearch

https://www.norsk-tipping.no/ow/1390-34a338fccb0053ba28dd.js

js norsk-tipping.no collected 2026-10-01 10:40:25 UTC 17,344 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1390],{86579(e,n,a){a.d(n,{T:()=>i});var t=a(60666),o=a.n(t),r=a(79057);o().get(r.tj).match(/^(dev|qa)/);const i={}},61351(e,n,a){a.d(n,{TB:()=>s,X0:()=>r,Y4:()=>i,pf:()=>t,s9:()=>o});let t=function(e){return e.kongkasino="kongkasino",e.flax="flax",e.bingoria="bingoria",e.yezz="yezz",e}({}),o=function(e){return e.casino="casino",e.scratch="scratch",e.bingo="bingo",e.yezz="yezz",e}({}),r=function(e){return e.EM="EM",e.ITF="ITF",e}({}),i=function(e){return e.GAME="GAME",e.VIDEO="VIDEO",e.NONE="NONE",e}({}),s=function(e){return e.Bingoria="Bingoria",e.KongKasino="KongKasino",e.Yezz="Yezz!",e.Flax="Flax",e}({})},53570(e,n,a){a.d(n,{Kc:()=>i,L7:()=>c,kr:()=>r,u8:()=>s});var t=a(26588),o=a(61351);const r={[o.s9.casino]:o.pf.kongkasino,[o.s9.scratch]:o.pf.flax,[o.s9.bingo]:o.pf.bingoria,[o.s9.yezz]:o.pf.yezz},i={[o.s9.casino]:t.Ft.KongKasino,[o.s9.scratch]:t.Ft.EFlax,[o.s9.bingo]:t.Ft.Bingoria,[o.s9.yezz]:t.Ft.Yezz},s={[o.pf.kongkasino]:t.Ft.KongKasino,[o.pf.flax]:t.Ft.EFlax,[o.pf.bingoria]:t.Ft.Bingoria,[o.pf.yezz]:t.Ft.Yezz},c={[o.pf.kongkasino]:o.TB.KongKasino,[o.pf.flax]:o.TB.Flax,[o.pf.bingoria]:o.TB.Bingoria,[o.pf.yezz]:o.TB.Yezz}},60066(e,n,a){a.d(n,{v:()=>o});var t=a(74879);function o(e,n){let{openHour:a,closeHour:o}=n;if(!e)return{type:"closedNoServerTime",isOpen:!1};const r=e.toLocaleTimeString("nb-NO",{timeZone:"Europe/Oslo",hour:"2-digit",hour12:!1}),i=parseInt(r,10);if(i>=a&&i<o)return{type:"isOpen",isOpen:!0};let s=0,c=0;i<a?(s=a-i,c=o-i):(s=a+(24-i),c=o+(24-i));return{type:"closed",isOpen:!1,localOpeningHour:(0,t.A)(new Date,s).getHours(),localClosingHour:(0,t.A)(new Date,c).getHours()}}},44739(e,n,a){a.d(n,{XC:()=>r,dB:()=>t,lE:()=>o});const t="NT",o="*",r={GAME:"GAME",VIDEO:"VIDEO",NONE:"NONE"}},47970(e,n,a){a.d(n,{x:()=>i});var t=a(39249),o=a(44739);const r={lastGameQuitTime:null,isUrlReady:!1,isGameReady:!1,isInProgress:!1,showConfirmPlayWithMoneyModal:!1,hasGameLaunchInfoError:!1,info:{demoType:o.XC.GAME,isDark:!1,useClock:!0,buttons:[],targetOrigin:o.lE,url:"",platformParameters:{},gameDimension:void 0}},i=(0,t.m)({state:e=>{let{mutate:n,set:a}=e;return{...r,error(){n(e=>{e.hasGameLaunchInfoError=!0})},resetGameState(){a(r)},prepareLaunch(){n(e=>{e.isInProgress=!0,e.isUrlReady=!1})},ready(e){n(n=>{n.isInProgress=!1,n.isUrlReady=!0,n.info=e})},setGameDimensions(e){let{height:a,width:t}=e;n(e=>{e.info.gameDimension={height:a,width:t}})},gameHasLoaded(){n(e=>{e.isGameReady=!0})},quit(e){a({...r,lastGameQuitTime:e})}}}})},91390(e,n,a){a.d(n,{J:()=>ae});var t=a(71098),o=a(48431),r=a(63616),i=a.n(r),s=a(36954),c=a(26946),l=a(40375),u=a(40071),d=a(81008),m=a(53570),g=a(78450),f=a(77176),h=a(64684),p=a(80146),v=a(32591),w=a(41624),y=a(12714),k=a(55382),E=a(86453);class b extends Error{constructor(e){super(e.errorType),this.instaLaunchError=e}}const C=i()("nt:insta:launcher:validator");function D(e){let n,a;const t=function(n,a){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(t&&!t(e))return null;const[,o]=e.match(n)||[],r=Number(o);return r?{version:r,cutOfVersion:a,showWarning:!a||r<=a}:null};switch(!0){case!!(n=(e=>{let{cutOff:n}=e;return t(/CriOS\/(\d+)/,n,e=>e.match(/CriOS/)&&e.match(/Safari\/\d/))})({cutOff:75})):case!!(n=(e=>{let{cutOff:n}=e;return t(/(?:iPhone|iPad); CPU(?: iPhone)? OS (\d{2})_/,n)})({cutOff:11})):a="ios";break;case!!(n=(e=>{let{cutOff:n}=e;return t(/Version\/(\d{2})\./,n,e=>e.match(/Safari\/\d/)&&!e.match(/Chrome|Chromium/))})({cutOff:11})):case!!(n=(e=>{let{cutOff:n}=e;return t(/Chrome\/(\d+)\.\d\.\d+/,n)})({cutOff:71})):case!!(n=(e=>{let{cutOff:n}=e;return t(/Firefox\/(\d+)/,n,e=>e.match(/Gecko\/\d+/))})({cutOff:78})):case!!(n=(e=>{let{cutOff:n}=e;return t(/Edge\/(\d)\.\d\.\d+/,n)})({cutOff:9999})):case!!(n=(e=>{let{cutOff:n}=e;return t(/Version\/(\d+)\.\d+/,n,e=>e.includes("Presto"))})({cutOff:9999})):a="other";break;default:a="unknown",n={version:0,cutOfVersion:0,showWarning:!1}}return C("Browser check result: %o",{variant:a,...n}),{...n,variant:a}}const T=i()("nt:insta:launcher:validator");const G=i()("nt:insta:launcher:validator");var O=a(60525),S=a(34306),A=a(26588);const M=i()("nt:insta:launcher:validator:api"),P=(e,n)=>
1(0,O.RJ)(S.E8.url("/validate/instaspill"),e,{token:n,headers:{Accept:"application/json","Accept-Language":"no"}}),R=async e=>{let{ntToken:n,game:a,gamePrice:t,isDemoMode:o,gameDomain:r,isUnfinishedGame:i=!1,validateInstaspillBet:s=P}=e;if(!n)throw M("✖ User is not logged in."),new b({errorType:E.E.NotLoggedIn});const c=((e,n)=>e.tags.includes("alias_required")||n===A.Ft.Bingoria)(a,r);try{const{ntGameId:e}=a;await s({ntGameId:e,minAmount:t,demo:o,nickNameRequired:c,isUnfinishedGame:i},n)}catch(e){var l,u,d;if((null===(l=e.body)||void 0===l?void 0:l.errorCode)===E.U.InsufficientBalance)throw M("✖ Insufficient funds"),new b({errorType:E.E.InsufficientFunds});if((null===(u=e.body)||void 0===u?void 0:u.errorCode)===E.U.MissingNickname)throw M("✖ Missing nickname"),new b({errorType:E.E.MissingNickname});if((null===(d=e.body)||void 0===d?void 0:d.errorCode)===E.U.RgValidationFailed){var m,g;if(M("✖ RG validation failed"),"LIMIT_NOT_SET"===(null===(m=e.body)||void 0===m?void 0:m.rgErrorCodeName)||"TIME_LIMIT_NOT_SET"===(null===(g=e.body)||void 0===g?void 0:g.rgErrorCodeName))throw new b({...e.body,errorCodeName:e.body.rgErrorCodeName,errorType:E.E.LimitsNotSet});throw new b({...e.body,errorCodeName:e.body.rgErrorCodeName,errorType:E.E.RgValidationFailed})}throw M("✖ Unhandled exception:",e),new b({errorType:E.E.UnknownError})}return M("✓ Insta purchase validation ok."),null},I=i()("nt:insta:launcher:validator");var F=a(78455),L=a(86579),N=a(60066);const z=i()("nt:insta:launcher:validator");const B=i()("nt:insta:launcher:validator");const U=i()("nt:insta:launcher:validator");async function _(e){let{ntToken:n,game:a,gamePrice:t,isDemoMode:o,gameDomain:r,isUnfinishedGame:i,hasCheckedSpillepuls:s,hasCheckedGameSpendingReminder:c}=e;var l;return U("Start insta validation"),await function(){let{checkBrowserHelper:e=D}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((n,a)=>{if("1"===p.s.get(k.Cv))return T("✓ User has dismissed browser support warning, skipping."),void n(null);const{showWarning:t}=e(window.navigator.userAgent);t?(T("✖ Browser is not supported."),a(new b({errorType:E.E.UnsupportedBrowser}))):(T("✓ Browser is supported."),n(null))})}(),i||await(l=a.gameRef,new Promise((e,n)=>{const a=L.T[l];a?(0,F.Z5)(S.Gg.url("/servertime")).then(e=>new Date(e.data.timeStamp)).then(t=>{(0,N.v)(t,a).isOpen?e(null):(z("✖ gamesWithSpecificOpeningHours: Game Closed."),n(new b({errorType:E.E.GameClosed})))}).catch(()=>{z("✖ gamesWithSpecificOpeningHours: API call to serverTime failed."),n(new b({errorType:E.E.UnknownError}))}):e(null)})),await function(e){return new Promise((n,a)=>{e?(G("✓ User is logged in."),n(null)):(G("✖ User is not logged in."),a(new b({errorType:E.E.NotLoggedIn})))})}(n),await function(e){let{hasCheckedSpillepuls:n}=e;return new Promise((e,a)=>{if(n)return B("✓ Spillepuls messages already checked."),void e(null);B("✖ Must finish checking spillepuls messages."),a(new b({errorType:E.E.CheckSpillepuls}))})}({hasCheckedSpillepuls:s}),await function(e){let{hasCheckedGameSpendingReminder:n}=e;return new Promise((e,a)=>{if(n)return I("✓ Game spending reminder already checked."),void e(null);I("✖ Must finish checking game spending reminder."),a(new b({errorType:E.E.CheckGameSpendingReminder}))})}({hasCheckedGameSpendingReminder:c}),await R({ntToken:n,game:a,gamePrice:t,isDemoMode:o,gameDomain:r,isUnfinishedGame:i}),null}var x=a(41670),V=a(95844),K=a(47970),H=a(71700),q=a(98021);const W=["home","clock","panic","playwithmoney","transfer","nickname"],Y="fullscreen",Q={basePortrait:{},baseLandscape:{},footerPortrait:{home:"A10",fullscreen:"B10",clock:"C10",panic:"E10",playwithmoney:"D10"},footerLandscape:{home:"A6",fullscreen:"B6",clock:"F6",panic:"K6",playwithmoney:"J6"},bingoriaLandscape:{home:"A6",clock:"F6",panic:"J6",playwithmoney:"K6",transfer:"K6",nickname:"B6"},bingoriaPortrait:{home:"A10",clock:"C10",panic:"D10",playwithmoney:"E10",transfer:"E10",nickname:"B10"}};var X=a(44739);const j=!0;function Z(e){var n,a,t,o;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>3?arguments[3]:void 0;const s=[(arguments.length>2?arguments[2]:void 0)[e],i[e]];var c,l;null!=r&&null!==(n=r.portrait)&&void 0!==n&&null!==(a=n.placement)&&void 0!==a&&a[e]&&(s[0]=null===(c=r.portrait.placement[e])||void 0===c?void 0:c.toUpperCase());null!=r&&null!==(t=r.landscape)&&void 0!==t&&null!==(o=t.placement)&&void 0!==o&&o[e]&&(s[1]=null===(l=r.landscape.placement[e])||void 0===l?void 0:l.toUpperCase());return s}function J(e,n,a,t){if(a){const a=t?"?back=".concat(t):"",o="".concat(window.location.protocol,"//").concat(window.location.host),r="".concat(o,"/").concat("kongkasino").concat(a),i="".concat(o,"/").concat("insta/game-launch/external-menu","/").concat(n),s=H.stringify({NST1_homeurl:r,NST1_contenturl:i});return"".concat(e,"&").concat(s)}return e}async function $(e){let{gameId:n,instaSection:a,isDemoMode:t,device:o,token:r,nativeBack:i}=e;const s=o?"&device=".concat(o):"",c=S.AO.url("/games/".concat(n,"/launchinfo?demoMode=").concat(t).concat(s)),l=function(e){let{c
1onfig:n,instaSection:a,nativeBack:t,buttonList:o=W,baseConfig:r=Q}=e;const{mobileGrid:i,mobileLaunchStrategy:s,url:c="",clock:l=j,dimensions:u,demoType:d=X.XC.GAME,targetOrigin:m=X.lE,platformParameters:g={}}=n,f="REDIRECT"===s,h=(0,q.Hq)(),p=h&&!f;return p&&!o.includes(Y)?o.push(Y):!h&&o.includes(Y)&&(o=o.filter(e=>e!==Y)),o=o.map(e=>e.toLowerCase()),{url:J(c,a,f,t),isLaunchRedirect:f,hasFullscreenButton:p,isDark:(null==i?void 0:i.dark)||!1,useClock:l,gameDimension:u,demoType:d,targetOrigin:m,platformParameters:g,buttons:o.map(e=>{var n,a;return{name:e,placement:Z(e,i,r["".concat((null==i||null===(n=i.portrait)||void 0===n?void 0:n.baseGrid)||"base","Portrait")],r["".concat((null==i||null===(a=i.landscape)||void 0===a?void 0:a.baseGrid)||"base","Landscape")])}})}}({config:await(0,F.Z5)(c,{token:r}),instaSection:a,nativeBack:i});return Object.assign({},l,{isDemoMode:t})}var ee=a(92125);const ne=i()("nt:insta:launcher");function ae(){const{instaGameStatus:e,previousLaunchParams:n,reset:a,launching:r,idle:i,ingame:k,launchedGame:C,isDemoMode:D}=(0,x.O$)(),{instaValidationError:T,newError:G,resetError:O}=(0,x.WU)(),{hasCheckedSpillepuls:S}=(0,d.K)(),{hasCheckedGameSpendingReminder:A}=(0,g.F)(),{token:M}=(0,s.A)(),P=(0,w.A)(),R=(0,c.d4)(v.QN),I=(0,l.W6)(),{revalidateBalance:F}=(0,u.A)({ready:!1}),L=(0,y.A)(),N=(0,c.d4)(v.Pf),{isGameReady:z,isInProgress:B,isUrlReady:U,resetGameState:H,prepareLaunch:q,ready:W,quit:Y}=(0,K.x)(),Q=(0,o.useCallback)(async e=>{const{game:{id:n,category:a},isDemoMode:t}=e,o=m.kr[a];q();const r=await $({gameId:n,instaSection:o,isDemoMode:t,device:N,token:M,nativeBack:L}),{isLaunchRedirect:i}=r;if((P||R)&&i)return(0,f.xA)(M),void(window.location=r.url);W(r)},[q,W,M,N,L,P,R]),X=(0,o.useCallback)(e=>{Q(e),k()},[k,Q]),{setPreventGameClose:j}=(0,V.V)(),Z=!B&&U&&z,J=(0,o.useCallback)(async e=>{if(ne("Launch insta game",e),(0,ee.g7)(),Z&&H(),!e||!e.game)return ne("✖ No game given to insta purchase validator."),void G({errorType:E.E.MissingLaunchParams});r(e),O(),e.fromDemoMode||I.push("".concat(I.location.pathname).concat(I.location.search,"#").concat(e.game.gameRef));try{var n;await _({ntToken:M,game:e.game,gamePrice:e.gamePrice,isDemoMode:e.isDemoMode,gameDomain:e.gameDomain,hasCheckedSpillepuls:S,hasCheckedGameSpendingReminder:A,...e.isUnfinishedGame?{isUnfinishedGame:!0}:{}}),(0,ee.Kc)({gameDomain:e.gameDomain,gameRef:null===(n=e.game)||void 0===n?void 0:n.gameRef,isDemoMode:e.isDemoMode}),X({game:e.game,isDemoMode:e.isDemoMode,gamePrice:e.gamePrice})}catch(n){var a;const o=n instanceof b?n.instaLaunchError.errorType:E.E.UnknownError;(0,ee.Xt)({gameDomain:e.gameDomain,gameRef:null===(a=e.game)||void 0===a?void 0:a.gameRef,isDemoMode:e.isDemoMode,code:String(o)}),t.unstable_batchedUpdates(()=>{i(),G(n instanceof b?n.instaLaunchError:{errorType:E.E.UnknownError})})}},[A,i,H,X,S,I,Z,r,G,O,M]),ae=(0,o.useCallback)(async e=>{J({...e,isUnfinishedGame:!0})},[J]),te=(0,o.useCallback)(async e=>{J({...e})},[J]),oe=(0,o.useCallback)(()=>{ne("Abort insta launch"),a(),O(),window.location.hash==="#".concat(null==C?void 0:C.gameRef)&&I.replace("".concat(I.location.pathname).concat(I.location.search))},[I,null==C?void 0:C.gameRef,a,O]),re=(0,o.useCallback)(async()=>{O(),n?(ne("Relaunching insta validation."),await J(n)):ne("Missing previous insta validation.")},[J,n,O]),ie=(0,o.useCallback)(async()=>{O(),n?(ne("Relaunching dangerous insta validation."),await ae(n)):ne("Missing previous insta validation.")},[ae,n,O]),se=(0,o.useCallback)(()=>{ne("Quit insta game"),j(!1),p.s.remove(h.Zy),a(),O(),Y(Date.now()),F(),window.location.hash==="#".concat(null==C?void 0:C.gameRef)&&I.replace("".concat(I.location.pathname).concat(I.location.search))},[j,a,Y,O,F,null==C?void 0:C.gameRef,I]);return{instaGameStatus:e,instaValidationError:T,launchedGame:C,isDemoMode:D,isInstaGameActive:Z,launchGame:te,relaunchInstaValidation:re,dangerouslyLaunchGame:ae,relaunchDangerousInstaValidation:ie,quitGame:se,abortInstaLaunch:oe}}},95844(e,n,a){a.d(n,{V:()=>c});var t=a(39249),o=a(63616);const r=a.n(o)()("nt:insta-next:instaPayment"),i={transferAmount:0,view:"start",transferType:"toPlayerAccount",amountError:"",loading:!1,transferFailed:!1,preventGameClose:!1},s=(0,t.m)({state:e=>{let{mutate:n}=e;return{...i,setTransferFailed(e){r("Transfer failed: ",e),n(n=>{n.transferFailed=e})},setTransferAmount(e){r("Transfer amount set to: ",e),n(n=>{n.transferAmount=e})}
1,setView(e){r("View set to: ",e),n(n=>{n.previousView=n.view,n.view=e})},setPreviousView(e){r("Previous view set to: ",e),n(n=>{n.previousView=e})},setTransferType(e){r("Transfer type set to: ",e),n(n=>{n.transferType=e})},setLoading(e){r("Payment is loading: ",e),n(n=>{n.loading=e})},setCustomAmountError(e){r("Custom amount error set to: ",e),n(n=>{n.amountError=e})},resetTransferState(){r("Transfer State has been reset"),n(e=>{Object.entries(i).forEach(n=>{let[a,t]=n;e[a]=t})})},setPreventGameClose(e){r("Prevent game close: ",e),n(n=>{n.preventGameClose=e})}}}}),c=()=>s()},92125(e,n,a){a.d(n,{DY:()=>g,Kc:()=>u,PY:()=>m,Xt:()=>d,g7:()=>s});var t=a(7923);const o="unknown";function r(e){return e?{attributes:{nt_payload:e}}:void 0}let i;function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();i=e}function c(){i=void 0}function l(e){return e?"provespill":"spillstart"}function u(e){(0,t.v0)(function(e){let{gameDomain:n,isDemoMode:a}=e;return"".concat(n||o,"-").concat(l(a),"-ok")}(e),r(e.gameRef))}function d(e){c(),(0,t.v0)(function(e){let{gameDomain:n,isDemoMode:a,code:t}=e;return"".concat(n||o,"-").concat(l(a),"-avvist-").concat(t)}(e),r(e.gameRef))}function m(e){(0,t.v0)(function(e){let{gameDomain:n,type:a,detail:t}=e;const r=t?"-".concat(t):"";return"".concat(n||o,"-ingame-").concat(a).concat(r)}(e),r(e.gameRef))}function g(e){let{gameDomain:n,gameRef:a,isDemoMode:s}=e;const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();if(void 0!==i&&!(e-i>3e5))return i}();c(),(0,t.v0)(function(e){let{gameDomain:n,isDemoMode:a}=e;return"".concat(n||o,"-").concat(l(a),"-lastet")}({gameDomain:n,isDemoMode:s}),{...r(a),...u?{startTime:u}:{}})}},64684(e,n,a){a.d(n,{Zy:()=>t});const t="gameBackgroundImageUrl"},10301(e,n,a){a.d(n,{Q:()=>t,v:()=>o});const t=()=>{const{userAgent:e}=window.navigator,n=/Android/.test(e),a=/AppleWebKit/.test(e),t=/Gecko\) Chrome\/[.0-9]/.test(e),o=/OPR[.0-9]\./.test(e);if(!(n&&a)||t||o)return!1;try{const n=/Android [\d+.]{3,5}/,a=e.match(n)[0].replace("Android ",""),t=parseInt(a.substr(0,1),10),o=parseInt(a.substr(2,1),10);return t>4||4===t&&o>=4}catch(e){return!1}},o=()=>{window.location.href="intent:".concat(window.location.href).concat("#Intent;package=com.android.chrome;end")}},98021(e,n,a){a.d(n,{Hq:()=>g,Nc:()=>p,ju:()=>h});var t=a(10301);const o=/Chrome/,r=/Android/,i=/Chrome\/([0-9]+\.)*[0-9]+/,s="webkit",c="ms",l="moz",u=e=>{switch(e){case s:return"webkitExitFullscreen";case l:return"mozCancelFullScreen";case c:return"msExitFullscreen";default:return"exitFullscreen"}},d=e=>{switch(e){case s:return"webkitRequestFullscreen";case l:return"mozRequestFullScreen";case c:return"msRequestFullscreen";default:return"requestFullscreen"}},m=e=>{switch(e){case s:return"webkitFullscreenElement";case l:return"mozFullScreenElement";case c:return"msFullscreenElement";default:return"fullscreenElement"}},g=()=>{const e=o.test(window.navigator.userAgent)&&!(0,t.Q)(),n=r.test(window.navigator.userAgent);if(!e||!n||!(d()in document.body||d(s)in document.body||d(l)in document.body||d(c)in document.body))return!1;try{return parseInt(window.navigator.userAgent.match(i)[0].split("/")[1].split(".")[0],10)>28}catch(e){return!1}},f=()=>{let e;return d(s)in document.body?e=s:d(l)in document.body?e=l:d(c)in document.body&&(e=c),e},h=()=>{(e=>{const n=m(e),a=d(e),t=u(e);document[n]?document[t]():document.body[a]()})(f())},p=()=>{const e=f(),n=m(e);document[n]&&document[u(e)]()}}}]);
2//# sourceMappingURL=1390-34a338fccb0053ba28dd.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.