{"version":3,"sources":["clientSideCoupon.js"],"names":["Sportsbook","CalculatedGroup","grouping","combinations","stakeForCombination","minPercentageBonus","maxPercentageBonus","minWinForUnit","maxWinForUnit","minBonusForUnit","maxBonusForUnit","this","Grouping","Combinations","StakeForCombination","MinPercentageBonus","MaxPercentageBonus","MinWinForUnit","MaxWinForUnit","MinBonusForUnit","MaxBonusForUnit","prototype","MinWin","NetStakeMinWin","StakeForCombinationTaxed","MaxWin","NetStakeMaxWin","MinBonus","MaxBonus","CalculatedCoupon","Groups","Array","getMaxAllowedStake","lossThreshold","stakeThreshold","maxGrouping","selectedGroupings","totalCouponCombinations","totalCurrentLossForUnit","getTotalWinForUnit","getTotalBonusForUnit","newTotalStake","Math","floor","length","filter","g","indexOf","sum","SlotKey","_matchId","_index","MatchId","Index","getKey","Combination","n","k","Error","data","i","successor","result","j","first","applyTo","array","choose","delta","iMax","FastCombination","CombinationFromSets","create2Darray","rows","arr","chooseFromSets","setSizes","m","y","x","take","reduce","product","next","a","b","CouponCalculation","getSlotKeyFromString","key","splitKey","split","matchId","parseInt","index","getOddsForSlotKeyMap","coupon","oddsForSlotKeyMap","Odds","odd","CompatibilityLevel","IncompatibleMarket","keys","slotKey","push","sk","currentSK","CompatibleMarket","MarketId","maxIndex","max","calcCombinations","maxCombinationForCoupon","min","BetCouponGlobalVariable","MaxCombinationsByGrouping","MaxCouponCombinations","o","Fixed","calculatedCouponGroups","bankers","nonBankers","slotKeyCount","integrale","numSelectionsPerEvent","firstGroup","groupIndex","group","combinationsCount","calcCombinationsForCrossCombinationsBetGroup","nc","maxPossibleGroupings","MaxGrouping","splice","calculatedCoupon","forEach","choosen","fastCombination","calcPotentialWins","bonusList","brandID","isRetailInstallation","taxModule","TaxationService","Instance","getModule","maxCombination","minCombination","nonBankerIndex","sortDesc","sortAsc","Groupings","betCouponGroup","stakeTaxed","Stake","taxConfiguration","TaxConfiguration","IsVirtualsInstallation","calculateTurnoverTax","TurnoverTaxParameter","Date","totalAfterTax","calculatedGroup","getStake","bankersValidEventForBonus","bankersTotalOdds","OddValue","Number","toFixed","MinBonusOdd","combination","validEventsForBonus","winForUnit","combOdds","l","percBonus","bonusPercentageFromNumberOfEvents","minEventForBonus","sortedMinComb","subSortedMinComb","minPercBonus","numberOfEvents","filteredBonusList","NumberOfEvents","item","Percentage","TaxBracket","init","maxAmount","undefined","validTo","$","extend","TaxMode","isVirtual","twoDecimalPrecision","date","stake","WithholdingTaxParameter","wonAmount","TaxDetail","TaxReason","TaxResult","details","totalTaxed","TaxInfo","unique","distinct","current","res","p","v","count","slice","sort","sortMultipleAsc","key1","key2","key3","cmp","remove","match","removeAll","find","predicate","TypeError","Object","len","thisArg","arguments","kValue","call","Dictionary","_keys","_values","add","value","toString","containsKey","values","AbstractFunction","__extends","d","__","constructor","hasOwnProperty","create","NoTaxFunction","_super","apply","taxMode","None","turnoverTaxFunction","taxBrackets","param","taxReason","TurnoverTax","withholdingTaxFunction","WithholdingTax","EthiopiaTaxFunction","_taxGate","TaxOnWinningsExclStake","taxPercentage","taxableAmount","taxedAmount","totalTaxedAmount","totalTaxableAmount","totalAfterTaxation","untaxedAmount","taxDetails","validTaxBrackets","type","TaxType","validFrom","tb","round","_this","GhanaTaxFunction","FunctionRepository","_withHoldingFuncs","_turnoverFuncs","_instance","initFunctions","noTaxFunction","tryAddFunction","ethiopiaTaxFunction","kenyaTaxFunction","KenyaTaxFunction","ghanaTaxFunction","mode","func","e","calculateWithholdingTax","funcItem","NoTaxModule","isRetail","EthiopiaTaxModule","taxationOrder","GhanaTaxModule","TaxModuleSelector","_taxModules","initModules","tryAddModule","KenyaTaxModule","moduleItem","getTaxModes","map","addModule","BetCouponResponse","responseStatus","betCoupon","ResponseStatus","BetCoupon","Bonus","CouponType","LimitItemType","SelectionNoWinValue","Selection","BetCouponOdd","s","IDSport","sportId","SportName","sportName","EventId","categoryId","EventName","categoryName","TournamentId","tournamentId","TournamentName","tournamentName","ProviderEventId","matchProviderId","MatchName","matchName","EventDate","matchDate","SelectionId","oddId","IDSelectionType","selectionTypeId","SelectionShortcut","selectionShortcut","marketId","MarketTypeId","marketTypeId","spreadRegex","matchMarketName","exec","marketName","matchSelectionName","selectionName","spreadInMarket","MarketName","replace","trim","spreadValue","SelectionName","oddValue","UnboostedOddValue","unboostedOddValue","SmartCode","smartBetCode","EventCategory","eventCategory","IDGroup","groupNo","GamePlay","combinability","IncompatibleEvents","incompatibleEvents","CompatibleMarkets","compatibleMarkets","BetCouponGroup","BetCouponGroupMissing","EvaluationMotivation","globalVariables","JSON","parse","sessionStorage","getItem","IsClientSideCoupon","CurrencyId","TaxPercentage","DefaultStakeGross","StakeGross","PossibleMissingGroupings","ret","MAX_VALUE","compatibleMarketsCount","incompatibleOdds","incompatibleMarketsEventCount","temp_ret","setAllowFixed","AllowFixed","setTotalOdds","TotalOdds","getTax","setTax","Tax","getStakeTaxed","setStakeTaxed","StakeTaxed","setStake","calculateAndSetTaxes","currDate","turnoverTax","minWinValues","wwt","MinWinNet","NetStake","winAfterTax","winTaxed","bonus","maxWinValues","MaxWinNet","total","currVal","minBonus","MinWithholdingTax","maxBonus","MaxWithholdingTax","AddOddResult","RemoveOddResult","ResponseStatusHelper","convertAddOddResult","status","Success","SuccessFollowMutiple","CouponContainsUniqueOddError","CannotInsertUniqueOddError","MaxNoOfSelectionsError","MaxNoOfEventsError","CannotInsertFixedOddOnCrossCombinationError","convertRemoveOddResult","OddNotExists","CannotRemoveOddError","CannotRemoveGroupingError","convertEvaluationMotivation","Ok","UnderMinBetStake","OverMaxBetStake","CouponLimitReached","UnderMinBetGroupStake","OverMaxBetGroupStake","LocalStorageManager","localStorageEnabled","setItem","stringify","getBonusList","setBonusList","getGlobalVariables","setGlobalVariables","variables","getMarketExceptionsList","setMarketExceptionsList","list","APIService","_apiURL","_localStorageManager","apiURL","apiToken","localStorageManager","setApiToken","_apiToken","populateGlobalVariables","populateBonusList","url","ajax","async","success","headers","Content-Type","populateMarketExceptionsList","getJSON","CouponEvaluator","evaluate","couponStake","betCouponGroups","couponGlobalVariable","MaxBetStake","MaxGroupingsBetStake","maxWin","CouponTypeId","SingleBet","MaxSingleBetWin","MultipleBet","MaxMultipleBetWin","CombinationsBet","MaxCombinationBetWin","getCouponType","Unknown","oddsForEventMap","maxGrp","countCompatible","countIncompatible","BetCouponExtension","addOdd","betCouponOdd","compatibleMarketSelection","previousMaxGrouping","eventOdds","isCompatible","existsIncompatibleMarket","isCouponOddCompatible","MaxNoOfSelections","MaxNoOfEvents","couponOdd","followMaxGrouping","couponEvaluator","eventOddsToCheck","OddsToCheck","every","removeOdd","idSelection","filterOdds","incEvents","removeOddInternal","maxGroup","addGroup","newGroup","removeGroup","getTotalCombinations","truncateLastRoundedDecimalValue","num","pointerIdx","precisionLength","substring","re","RegExp","parseFloat","setPossibleCouponStake","updateCouponWithNewValues","console","log","tempStakeTaxed","StakeMod0Single","modValue","divValue","rounded","MinBetStake","_i","_a","grpItem","tempStakeTaxedMultiple","StakeMod0Multiple","modValueMultiple","divValueMultiple","_b","_c","_d","_e","minInnerStakeAllowed","MinGroupingsBetStake","grpStakeRatio","StakeInnerMod0Combination","modValueItem","divValueItem","divValueItemMin","roundedMin","ceil","getMinWin","getNetStakeMinWin","getMaxWin","getNetStakeMaxWin","getMinBonus","getMaxBonus","getMinPercentageBonus","getMaxPercentageBonus","getMinOdd","minWinGroup","getMaxOdd","maxOddSum","acc","calculateAndUpdate","useInnerStake","couponCalculation","possibleMissingGrouping","validGroupings","lastGrouping","pop","newGrouping","TotalCombinations","stakePerCombination","previousStakeGross","newStakeGross","betCouponExtension","updateFromCalculatedCoupon","validate","MinOdd","MaxOdd","_eventOdds","newBetCouponOddCompatibilityLevel","CouponBuilder","_brandID","_isRetailInstallation","apiService","updateCoupon","convertBetCoupon","updateBetCoupon","UseGroupsStake","removeSelection","removeCouponOdd","addSelection","language","Language","getCouponOdd","addSelectionToCoupon","addOddStatus","responseStatusHelper","updateStatus","removeOddStatus","CurrentEvalMotivation","TaxOnStakeAndWinn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