package config

// This is a first pass at providing a priority list for building out interstitial sizes.
// It is quite possible that different strategies may develop, requiring a configurable
// list to satisfy the needs of different hosting companies. So we start with a hardcoded
// list in the config module, to make it more straightforward to move to an actual
// configurable solution once the need develops and the use cases can be defined.

// InterstitialSize represents the width and height of an interstitial ad.
type InterstitialSize struct {
	Width  uint64
	Height uint64
}

// ResolvedInterstitialSizes is a list of sizes sorted by size (larger first) and frequency (more common sizes first)
// since that seemed like a reasonable weight balancing the two factors. Originally sources from AppNexus/Xandr stats.
var ResolvedInterstitialSizes = []InterstitialSize{
	{300, 250},
	{728, 90},
	{160, 600},
	{320, 50},
	{300, 600},
	{970, 250},
	{2000, 1400},
	{1920, 1200},
	{1800, 1000},
	{1920, 1080},
	{1600, 1150},
	{1696, 900},
	{1600, 900},
	{1270, 800},
	{970, 1000},
	{1920, 480},
	{320, 320},
	{1600, 500},
	{768, 1024},
	{1024, 768},
	{828, 910},
	{728, 970},
	{120, 600},
	{640, 960},
	{980, 600},
	{620, 891},
	{930, 600},
	{980, 552},
	{1272, 328},
	{300, 50},
	{500, 1000},
	{900, 550},
	{980, 500},
	{970, 500},
	{800, 600},
	{336, 280},
	{1250, 360},
	{980, 400},
	{320, 250},
	{320, 480},
	{980, 240},
	{580, 400},
	{970, 415},
	{480, 820},
	{620, 620},
	{980, 300},
	{970, 90},
	{600, 600},
	{1800, 200},
	{970, 310},
	{720, 480},
	{1295, 250},
	{300, 1050},
	{1272, 250},
	{300, 300},
	{640, 480},
	{320, 100},
	{580, 500},
	{1000, 300},
	{1250, 240},
	{600, 500},
	{300, 1000},
	{728, 410},
	{800, 250},
	{970, 300},
	{950, 300},
	{994, 250},
	{940, 300},
	{640, 320},
	{468, 600},
	{970, 200},
	{930, 180},
	{250, 600},
	{491, 555},
	{550, 480},
	{750, 300},
	{980, 250},
	{1000, 260},
	{980, 150},
	{350, 240},
	{970, 210},
	{640, 360},
	{580, 415},
	{480, 300},
	{750, 200},
	{360, 640},
	{624, 368},
	{900, 250},
	{468, 400},
	{608, 226},
	{690, 300},
	{605, 340},
	{320, 640},
	{450, 450},
	{300, 480},
	{250, 800},
	{640, 300},
	{320, 160},
	{980, 200},
	{950, 200},
	{480, 400},
	{740, 250},
	{336, 544},
	{303, 603},
	{320, 568},
	{301, 601},
	{300, 601},
	{600, 300},
	{180, 500},
	{980, 120},
	{950, 180},
	{935, 180},
	{994, 170},
	{468, 360},
	{320, 400},
	{320, 240},
	{320, 500},
	{316, 513},
	{630, 250},
	{480, 320},
	{320, 481},
	{520, 290},
	{250, 250},
	{300, 500},
	{1000, 150},
	{320, 460},
	{970, 150},
	{800, 180},
	{468, 60},
	{482, 282},
	{680, 200},
	{320, 416},
	{480, 280},
	{300, 431},
	{728, 180},
	{300, 430},
	{180, 701},
	{840, 150},
	{600, 200},
	{768, 150},
	{200, 600},
	{350, 350},
	{202, 600},
	{400, 300},
	{414, 286},
	{656, 180},
	{994, 118},
	{638, 180},
	{650, 170},
	{1000, 90},
	{300, 360},
	{600, 180},
	{240, 400},
	{161, 601},
	{610, 138},
	{164, 601},
	{980, 100},
	{970, 100},
	{468, 200},
	{250, 360},
	{320, 180},
	{605, 150},
	{600, 150},
	{980, 90},
	{750, 100},
	{150, 600},
	{630, 140},
	{696, 120},
	{307, 254},
	{303, 253},
	{703, 110},
	{550, 140},
	{300, 251},
	{298, 250},
	{500, 150},
	{413, 180},
	{728, 100},
	{269, 269},
	{640, 106},
	{768, 90},
	{320, 200},
	{728, 93},
	{729, 90},
	{727, 90},
	{640, 100},
	{720, 90},
	{300, 100},
	{970, 66},
	{480, 110},
	{300, 200},
	{707, 83},
	{900, 65},
	{467, 120},
	{200, 200},
	{450, 121},
	{320, 150},
	{600, 90},
	{300, 170},
	{468, 100},
	{300, 169},
	{500, 100},
	{300, 150},
	{990, 50},
	{140, 350},
	{160, 300},
	{300, 158},
	{190, 240},
	{180, 150},
	{300, 145},
	{310, 122},
	{468, 90},
	{594, 70},
	{480, 80},
	{600, 65},
	{484, 80},
	{320, 75},
	{335, 100},
	{375, 80},
	{300, 75},
	{120, 240},
	{480, 60},
	{300, 90},
	{120, 60},
	{100, 200},
	{320, 80},
	{160, 160},
	{400, 63},
	{300, 81},
	{1, 1},
	{300, 80},
	{375, 58},
	{232, 90},
	{321, 51},
	{320, 63},
	{319, 49},
	{300, 65},
	{360, 50},
	{125, 125},
	{298, 60},
	{300, 60},
	{299, 60},
	{301, 50},
	{234, 60},
	{280, 47},
	{120, 90},
	{13, 13},
	{17, 17},
	{168, 50},
	{140, 50},
	{120, 20},
}
