// Date: 09/01/2025 // Publisher & Zone var innity_pub = innity_zone = 0; var innity_adZoneCb; innity_initAdmanager(); function innity_initAdmanager() { try { var admanagerConfig = document.querySelector('script[src*="admanager-config.js"]'); if (admanagerConfig == null) { var currentScript = document.currentScript; var admanagerConfig = document.createElement('script'); url = new URL(currentScript.src); urlWithoutParams = url.origin + url.pathname; filename = new URL(urlWithoutParams).pathname.split('/').pop(); innity_adZoneCb = url.searchParams.get("cb"); admanagerConfig.src = urlWithoutParams.replace(filename, '') + "admanager-config.js"; currentScript.parentNode.appendChild(admanagerConfig); admanagerConfig.addEventListener("load", function(){ this.dataset.readystate = "complete"; }); } } catch (e) {} } // Function: create ad slot function innity_adZone(pub, zone, settings) { if(zone == 112342){ console.log('innity_adZone') } var currentScript = document.currentScript; var version = 1; var output = this.get_output(); var viewport = this.get_viewport(); var isInIframe = self !== top; var level = top; try { level.document; isIframeBreakable = true; } catch(e) { isIframeBreakable = false; level = self; } // Prebid timeout var prebid = { timeout : 700 }; try { var admanagerConfig = document.querySelector('script[src*="admanager-config.js"]'); if (admanagerConfig.dataset.readystate == "complete") { _fireZonePixel(); } admanagerConfig.addEventListener("load", _fireZonePixel); function _fireZonePixel() { try { if (innity_debug_zone_id.includes(parseInt(zone))) { pixelUrl = "https://pixel.innity-asia.com/analytics/?adid=network_zone_" + zone + "&pubid=" + pub + "&zoneid=" + zone + "&refvar=0&error_code=1&msg=innity_adZone"; (new Image()).src = pixelUrl; } } catch (e) {} } } catch (e) {} // Default syndication URL this.syndURL = this.get_protocol() + "//as.innity.com/synd/?"; // Key value pairs this.keys = []; var iOptout = _iampt.getiOptout(); if (this.syndURL != "") { this.syndURL += "cb=" + new Date().getTime(); this.append_url("ver", version); this.append_url("pub", pub); this.append_url("zone", zone); this.append_url("output", output); this.append_url("flash", this.get_flash()); this.append_url("ios", this.is_ios()); if (isInIframe) { //this.append_url("iframe", "1"); if (!isIframeBreakable) { this.append_url("safeframe", "1"); } } settings.width ? (this.append_url("width", settings.width), this.append_url("height", settings.height)) : (this.append_url("width", "*"), this.append_url("height", "*")); settings.sub0 && this.append_url("sub0", encodeURIComponent(settings.sub0)); // Premium publisher can select channel on their own settings.channel && this.append_url("cat", settings.channel); // Prevent two overlay ads appear at same page this.collide = false; try { this.collide = top.document.iCollide ? true : false; } catch (e) { this.collide = document.iCollide ? true : false; } this.collide && this.append_url("collide", "1"); // Detect SafeFrame try { "undefined" != typeof $sf && this.append_url("sf", "1"); } catch(e) {} // Append viewport try { this.append_url("vpw", viewport[0]); this.append_url("vph", viewport[1]); } catch(e) {} // Append auction ID window.gInnity_auctionID = window.gInnity_auctionID || (Math.random().toString(16).substr(8) + "-" + Math.random().toString(16).substr(8)); this.append_url("auction", window.gInnity_auctionID); // Append iUUID if(iOptout != '1'){ this.append_url("iuuid", _iampt.getiUUIDCookie()); } // Append iOptout this.append_url("ioptout", iOptout); // Append referral url this.append_url("url", encodeURIComponent(this.get_url())); // Check for format cap this.get_format_cap(); // Process key value targeting this.do_targeting(); this.append_url("u", encodeURIComponent(this.get_full_url())); // Run debugging this.xdebug(); } try { window.gInnity_zone = window.gInnity_zone || {}; if (!window.gInnity_zone["z" + zone]) { // Run prebid prebid.handler = new innity_postbidWrapper(zone, {}); prebid.id = prebid.handler.get_request_id(); if (this.syndURL != "" && pub != 0 && zone != 0) { if (output == "js" || output == "js_framed") { // Register innity_pub & innity_zone for ad tracking innity_pub = pub; innity_zone = zone; settings.innity_pvu ? innity_pvu = settings.innity_pvu : ""; settings.innity_pcu ? innity_pcu = settings.innity_pcu : ""; settings.innity_peu ? innity_peu = settings.innity_peu : ""; settings.innity_balloon_pos ? innity_balloon_pos = settings.innity_balloon_pos : ""; if (prebid.id) { document.write(''); var self = this; function _write() { var res = prebid.handler.get_bid_response(prebid.id); if (res && res.result.cpm) { // Price is 4 decimal points (5725 = 0.5725) self.append_url("prebid", Math.round((parseInt(res.result.cpm) / 100))); self.append_url("bidID", prebid.id); } else { self.append_url("prebid", "0"); } self.write({url : self.syndURL, parentNode : "div-innity-" + prebid.id, zone : zone, width : settings.width, height : settings.height}); } window.setTimeout(_write, prebid.timeout); } else { this.write({url : this.syndURL}); } } else { // No prebid for HTML output ? innity_write_iframe(this.syndURL, settings); } // Block this zone from showing again window.gInnity_zone["z" + zone] = true; } } } catch (e) {} } innity_adZone.prototype.amp = function (data) { // Reserved for AMP } innity_adZone.prototype.append_url = function (key, value) { value && (this.syndURL += "&" + key + "=" + value); } innity_adZone.prototype.is_ios = function () { return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream ? 1 : 0; } innity_adZone.prototype.get_flash = function () { var fp = navigator.plugins["Shockwave Flash"]; if (fp && fp.description) { return "1"; } else if (window.ActiveXObject) { for (fp = 7; fp <= 100; fp++) { try { var oFlash = eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash." + fp + "');"); if (oFlash) { return "1"; break; } } catch (e) {} } } return "0"; } innity_adZone.prototype.get_format_cap = function () { var key = "innity.zone.cap.format", res = this.get_store(key), cap = [], now = new Date().getTime() / 1000; if (res) { res = JSON.parse(res); for (var id in res) { res[id] > now && (cap.push(id)); } } 0 < cap.length && (cap = cap.join(","), this.append_url("fcap", cap)); } innity_adZone.prototype.get_output = function () { try { var isInIframe = self !== top; if (isInIframe) { try { return top.document.domain === document.domain ? "js" : "js_framed"; } catch (e) { return "js_framed"; } } } catch (e) {} return "js"; } innity_adZone.prototype.get_protocol = function () { return "https:"; } innity_adZone.prototype.get_store = function (key) { try { return localStorage.getItem(key); } catch(e) { return false; } } innity_adZone.prototype.get_url = function () { var loc = window.location; if (loc.ancestorOrigins && loc.ancestorOrigins.length) { loc = loc.ancestorOrigins[loc.ancestorOrigins.length - 1] loc = new URL(loc); loc = loc.hostname; } else { try { loc = top.document.domain; } catch (e) { loc = document.referrer; try { loc = new URL(loc); loc = loc.hostname; } catch (e) { loc = encodeURIComponent(loc); } } } return loc; } innity_adZone.prototype.get_full_url = function () { var loc = window.location; var InnityUtil = {_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(input){var output="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;input=InnityUtil._utf8_encode(input);while(i>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;}output=output+this._keyStr.charAt(enc1)+this._keyStr.charAt(enc2)+this._keyStr.charAt(enc3)+this._keyStr.charAt(enc4);}return output;},_utf8_encode:function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128);}else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128);}}return utftext;}} var isInIframe = self !== top; if (isInIframe && (typeof window.location.ancestorOrigins != 'undefined' && window.location.ancestorOrigins.length > 1)) { if (window.location.ancestorOrigins.length > 1) { loc = InnityUtil.encode(window.location.ancestorOrigins[window.location.ancestorOrigins.length - 1]); } } else { try { loc = InnityUtil.encode(top.document.URL); } catch(e) { loc = InnityUtil.encode(document.referrer); } } return loc; } innity_adZone.prototype.get_viewport = function () { try { var doc = top.document.documentElement, g = (e = top.document.body) && top.document.clientWidth && top.document.clientHeight; } catch (e) { var doc = document.documentElement, g = (e = document.body) && document.clientWidth && document.clientHeight; } var vp = []; doc && doc.clientWidth && doc.clientHeight && ("CSS1Compat" === document.compatMode || !g) ? vp = [doc.clientWidth, doc.clientHeight] : g && (vp = [doc.clientWidth, doc.clientHeight]); return vp; } innity_adZone.prototype.set_format_cap = function (id, sec) { if (id) { var key = "innity.zone.cap.format", res = this.get_store(key), now = new Date().getTime() / 1000, data = {}; if (res) { data = JSON.parse(res); // Remove expired record for (var fid in data) { data[fid] < now && (delete data[fid]); } } data[id] = Math.round(now + sec); this.set_store(key, JSON.stringify(data)); } } innity_adZone.prototype.set_store = function (key, value) { if (value) { try { return localStorage.setItem(key, value); } catch(e) {} } } innity_adZone.prototype.set_targeting = function (key, value) { value && (this.keys.push(key + "=" + value)); } innity_adZone.prototype.do_targeting = function () { 0 < this.keys.length && (this.append_url("ext", encodeURIComponent(this.keys.join("~")))); } innity_adZone.prototype.write = function (data) { if (data && data.parentNode) { var obj = { src : "%3C!DOCTYPE%20html%3E%3Chtml%3E%3Chead%3E%3Cstyle%3Ebody%7Bmargin%3A0px%3B%7D%3C%2Fstyle%3E%3Cscript%3EinDapIF%3Dtrue%3Binnity_zone%3D%22" + data.zone + "%22%3B%3C%2Fscript%3E%3Cscript%20src%3D%22%2F%2Fssl-cdn.media.innity.net%2Flib%2Fframe_util.js%22%3E%3C%2Fscript%3E%3C%2Fhead%3E%3Cbody%3E%3Cscript%20charset%3D%22UTF-8%22%20src%3D%22" + data.url + "%22%3E%3C%2Fscript%3E%3C%2Fbody%3E%3C%2Fhtml%3E", width : data.width, height : data.height, el : data.parentNode }; return innity_append_iframe(obj); } else { console.log(data.url); document.write(''); } return; } innity_adZone.prototype.xdebug = function () { var url = document.URL; try { url = top.document.URL; } catch(e) { url = document.referrer; } // if (navigator.userAgent.toLowerCase().indexOf("innity bot") > 1) { var zone = decodeURIComponent((new RegExp("[?|&]innity_force_zone=" + "([^&;]+?)(&|#|;|$)").exec(url)||[,""])[1].replace(/\+/g, "%20"))||""; "" != zone && (this.append_url("innity_force_zone", zone)); var ad = decodeURIComponent((new RegExp("[?|&]innity_force_ad=" + "([^&;]+?)(&|#|;|$)").exec(url)||[,""])[1].replace(/\+/g, "%20"))||""; "" != ad && (this.append_url("innity_force_ad", ad)); // } } // Innity Prebid Wrapper function innity_postbidWrapper(zone, settings) { this.zoneInfo = this.get_store("innity.zone." + zone); this.zoneInfo = this.zoneInfo != null ? JSON.parse(this.zoneInfo) : ""; this.requestID = new Date().getTime() + Math.random().toString(16).substr(2); // Bid response window[this.requestID] = {}; // Run prebid request this.do_request_bid(); } innity_postbidWrapper.prototype.get_store = function (key) { try { return localStorage.getItem(key); } catch(e) { return false; } } innity_postbidWrapper.prototype.get_request_id = function () { return this.zoneInfo && new Date().getTime() / 1000 < this.zoneInfo.expiry ? this.requestID : false; } innity_postbidWrapper.prototype.get_bid_response = function (requestID) { return window[requestID].res ? window[requestID].res : false; } innity_postbidWrapper.prototype.set_apn_id = function (zone, id) { // Set AppNexus placement ID if (zone && id) { var data = { apnID : id, expiry : Math.round((new Date().getTime() / 1000) + 604800) }; this.set_store("innity.zone." + zone, JSON.stringify(data)); } } innity_postbidWrapper.prototype.set_store = function (key, value) { if (value) { try { return localStorage.setItem(key, value); } catch(e) {} } } innity_postbidWrapper.prototype.do_async_req = function (url) { var jScript = document.createElement("script"); jScript.async = true; jScript.type = "text/javascript"; jScript.src = url; var el = document.getElementsByTagName("head"); el = el.length ? el : document.getElementsByTagName("body"); if (el.length) { el = el[0]; el.insertBefore(jScript, el.firstChild); } } innity_postbidWrapper.prototype.do_request_bid = function () { var url = document.URL; try { url = top.document.URL; } catch(e) { url = document.referrer; } if (this.zoneInfo) { //this.do_async_req("//adnetwork-staging.innity.com:8080/appnexus.php?psa=0&id=" + this.zoneInfo.apnID + "&callback=innity_postbidWrapper.prototype.do_prebid_callback&callback_uid=" + this.requestID + "&referrer=" + encodeURIComponent(url)); this.do_async_req("//ib.adnxs.com/jpt?callback=innity_postbidWrapper.prototype.do_prebid_callback&callback_uid=" + this.requestID + "&psa=0&id=" + this.zoneInfo.apnID + "&referrer=" + encodeURIComponent(url)); } } innity_postbidWrapper.prototype.do_prebid_callback = function (data) { data && (window[data.callback_uid].res = data); } innity_postbidWrapper.prototype.write_prebid_ad = function (id, doc) { if (id) { // Lookup bid response by ID var width = window[id].res.result.width, height = window[id].res.result.height; doc.write(''); doc.close(); doc.defaultView && doc.defaultView.frameElement && (doc.defaultView.frameElement.width = width, doc.defaultView.frameElement.height = height); } } // Finger printing // !function(e,t,i){"use strict";"function"==typeof define&&define.amd?define(i):"undefined"!=typeof module&&module.exports?module.exports=i():t.exports?t.exports=i():t[e]=i()}("innity_fp",this,function(){"use strict";Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i;if(null==this)throw new TypeError("'this' is null or undefined");var a=Object(this),r=a.length>>>0;if(0===r)return-1;var n=+t||0;if(Math.abs(n)===1/0&&(n=0),n>=r)return-1;for(i=Math.max(n>=0?n:r-Math.abs(n),0);iscreen.width?[screen.height,screen.width]:[screen.width,screen.height],"undefined"!=typeof t&&e.push({key:"resolution",value:t}),e},availableScreenResolutionKey:function(e){return this.options.excludeAvailableScreenResolution?e:this.getAvailableScreenResolution(e)},getAvailableScreenResolution:function(e){var t;return screen.availWidth&&screen.availHeight&&(t=this.options.detectScreenOrientation?screen.availHeight>screen.availWidth?[screen.availHeight,screen.availWidth]:[screen.availWidth,screen.availHeight]:[screen.availHeight,screen.availWidth]),"undefined"!=typeof t&&e.push({key:"available_resolution",value:t}),e},timezoneOffsetKey:function(e){return this.options.excludeTimezoneOffset||e.push({key:"timezone_offset",value:(new Date).getTimezoneOffset()}),e},sessionStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasSessionStorage()&&e.push({key:"session_storage",value:1}),e},localStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasLocalStorage()&&e.push({key:"local_storage",value:1}),e},indexedDbKey:function(e){return!this.options.excludeIndexedDB&&this.hasIndexedDB()&&e.push({key:"indexed_db",value:1}),e},addBehaviorKey:function(e){return document.body&&!this.options.excludeAddBehavior&&document.body.addBehavior&&e.push({key:"add_behavior",value:1}),e},openDatabaseKey:function(e){return!this.options.excludeOpenDatabase&&window.openDatabase&&e.push({key:"open_database",value:1}),e},cpuClassKey:function(e){return this.options.excludeCpuClass||e.push({key:"cpu_class",value:this.getNavigatorCpuClass()}),e},platformKey:function(e){return this.options.excludePlatform||e.push({key:"navigator_platform",value:this.getNavigatorPlatform()}),e},doNotTrackKey:function(e){return this.options.excludeDoNotTrack||e.push({key:"do_not_track",value:this.getDoNotTrack()}),e},canvasKey:function(e){return!this.options.excludeCanvas&&this.isCanvasSupported()&&e.push({key:"canvas",value:this.getCanvasFp()}),e},webglKey:function(e){return this.options.excludeWebGL?e:this.isWebGlSupported()?(e.push({key:"webgl",value:this.getWebglFp()}),e):e},adBlockKey:function(e){return this.options.excludeAdBlock||e.push({key:"adblock",value:this.getAdBlock()}),e},hasLiedLanguagesKey:function(e){return this.options.excludeHasLiedLanguages||e.push({key:"has_lied_languages",value:this.getHasLiedLanguages()}),e},hasLiedResolutionKey:function(e){return this.options.excludeHasLiedResolution||e.push({key:"has_lied_resolution",value:this.getHasLiedResolution()}),e},hasLiedOsKey:function(e){return this.options.excludeHasLiedOs||e.push({key:"has_lied_os",value:this.getHasLiedOs()}),e},hasLiedBrowserKey:function(e){return this.options.excludeHasLiedBrowser||e.push({key:"has_lied_browser",value:this.getHasLiedBrowser()}),e},fontsKey:function(e,t){return this.options.excludeJsFonts?this.flashFontsKey(e,t):this.jsFontsKey(e,t)},flashFontsKey:function(e,t){return this.options.excludeFlashFonts?t(e):this.hasSwfObjectLoaded()&&this.hasMinFlashInstalled()?"undefined"==typeof this.options.swfPath?t(e):void this.loadSwfAndDetectFonts(function(i){e.push({key:"swf_fonts",value:i.join(";")}),t(e)}):t(e)},jsFontsKey:function(e,t){var i=this;return setTimeout(function(){var a=["monospace","sans-serif","serif"],r=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Garamond","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"],n=["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"];i.options.extendedJsFonts&&(r=r.concat(n)),r=r.concat(i.options.userDefinedFonts);var o="mmmmmmmmmmlli",s="72px",l=document.getElementsByTagName("body")[0],h=document.createElement("div"),u=document.createElement("div"),d={},c={},g=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize=s,e.style.lineHeight="normal",e.innerHTML=o,e},p=function(e,t){var i=g();return i.style.fontFamily="'"+e+"',"+t,i},f=function(){for(var e=[],t=0,i=a.length;tt.name?1:e.name=0?"Windows Phone":t.indexOf("win")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0?"iOS":t.indexOf("mac")>=0?"Mac":"Other";var r;if(r="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,r&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e)return!0;if("undefined"!=typeof i){if(i=i.toLowerCase(),i.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(i.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(i.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if(0===i.indexOf("win")&&0===i.indexOf("linux")&&i.indexOf("mac")>=0&&"other"!==e)return!0}return a.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((a.indexOf("linux")>=0||a.indexOf("android")>=0||a.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((a.indexOf("mac")>=0||a.indexOf("ipad")>=0||a.indexOf("ipod")>=0||a.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||(0===a.indexOf("win")&&0===a.indexOf("linux")&&a.indexOf("mac")>=0&&"other"!==e||"undefined"==typeof navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e)))},getHasLiedBrowser:function(){var e,t=navigator.userAgent.toLowerCase(),i=navigator.productSub;if(e=t.indexOf("firefox")>=0?"Firefox":t.indexOf("opera")>=0||t.indexOf("opr")>=0?"Opera":t.indexOf("chrome")>=0?"Chrome":t.indexOf("safari")>=0?"Safari":t.indexOf("trident")>=0?"Internet Explorer":"Other",("Chrome"===e||"Safari"===e||"Opera"===e)&&"20030107"!==i)return!0;var a=eval.toString().length;if(37===a&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===a&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===a&&"Chrome"!==e&&"Opera"!==e&&"Other"!==e)return!0;var r;try{throw"a"}catch(n){try{n.toSource(),r=!0}catch(o){r=!1}}return!(!r||"Firefox"===e||"Other"===e)},isCanvasSupported:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},isWebGlSupported:function(){if(!this.isCanvasSupported())return!1;var e,t=document.createElement("canvas");try{e=t.getContext&&(t.getContext("webgl")||t.getContext("experimental-webgl"))}catch(i){e=!1}return!!window.WebGLRenderingContext&&!!e},isIE:function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},hasSwfObjectLoaded:function(){return"undefined"!=typeof window.swfobject},hasMinFlashInstalled:function(){return swfobject.hasFlashPlayerVersion("9.0.0")},addFlashDivNode:function(){var e=document.createElement("div");e.setAttribute("id",this.options.swfContainerId),document.body.appendChild(e)},loadSwfAndDetectFonts:function(e){var t="___fp_swf_loaded";window[t]=function(t){e(t)};var i=this.options.swfContainerId;this.addFlashDivNode();var a={onReady:t},r={allowScriptAccess:"always",menu:"false"};swfobject.embedSWF(this.options.swfPath,i,"1","1","9.0.0",!1,a,r,{})},getWebglCanvas:function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(i){}return t||(t=null),t},each:function(e,t,i){if(null!==e)if(this.nativeForEach&&e.forEach===this.nativeForEach)e.forEach(t,i);else if(e.length===+e.length){for(var a=0,r=e.length;a>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var i=[0,0,0,0];return i[3]+=e[3]+t[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=e[2]+t[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=e[1]+t[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=e[0]+t[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]},x64Multiply:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var i=[0,0,0,0];return i[3]+=e[3]*t[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=e[2]*t[3],i[1]+=i[2]>>>16,i[2]&=65535,i[2]+=e[3]*t[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=e[1]*t[3],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=e[2]*t[2],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=e[3]*t[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]},x64Rotl:function(e,t){return t%=64,32===t?[e[1],e[0]]:t<32?[e[0]<>>32-t,e[1]<>>32-t]:(t-=32,[e[1]<>>32-t,e[0]<>>32-t])},x64LeftShift:function(e,t){return t%=64,0===t?e:t<32?[e[0]<>>32-t,e[1]<>>1]),e=this.x64Multiply(e,[4283543511,3981806797]),e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[3301882366,444984403]),e=this.x64Xor(e,[0,e[0]>>>1])},x64hash128:function(e,t){e=e||"",t=t||0;for(var i=e.length%16,a=e.length-i,r=[0,t],n=[0,t],o=[0,0],s=[0,0],l=[2277735313,289559509],h=[1291169091,658871167],u=0;u>>0).toString(16)).slice(-8)+("00000000"+(r[1]>>>0).toString(16)).slice(-8)+("00000000"+(n[0]>>>0).toString(16)).slice(-8)+("00000000"+(n[1]>>>0).toString(16)).slice(-8)}},e.VERSION="1.4.4",e}); // Function: append friendly iframe, used by ad script function innity_append_iframe(data) { /* src: encoded (encodeURIComponent) HTML content id: iFrame ID width: iFrame width height: iFrame height el: element to append */ if (typeof data == "object" && data.src) { var iframe = document.createElement("iframe"); iframe.id = data.zone ? "frame-innity-" + Math.random().toString(16).substr(2) + "/" + data.zone : "frame-innity-" + Math.random().toString(16).substr(2); iframe.src = "javascript:''"; iframe.width = data.width ? data.width : 0; iframe.height = data.height ? data.height : 0; iframe.style.width = data.width ? data.width + "px" : "0px"; iframe.style.height = data.height ? data.height + "px" : "0px"; iframe.frameBorder = iframe.marginWidth = iframe.marginHeight = 0; iframe.scrolling = "no"; iframe.style.border = "0px none"; iframe.style.display = "block"; try { if (data.el) { document.getElementById(data.el).appendChild(iframe); } else { document.getElementsByTagName("body")[0].appendChild(iframe); } var doc = iframe.contentDocument ? iframe.contentDocument : (iframe.contentWindow ? iframe.contentWindow.document : iframe.document); doc.open(); doc.write(decodeURIComponent(data.src)); doc.close(); return iframe; } catch (e) {} } return false; } // Function: write an iframe, used by ad script function innity_write_iframe(url, settings) { document.write(''); } // Function: write ad feedback div, used by ad script /*function innity_write_feedback(cid, settings) { try { var ref = encodeURIComponent(top.document.URL) || encodeURIComponent(document.referrer); var u = "https://www.advenueplatform.com/feedback/index/?c=" + cid + "&p=" + innity_pub + "&z=" + innity_zone + "&ref=" + ref; var w = typeof settings != "undefined" ? settings.width : innity_width; document.write(""); } catch (e) {} }*/ function innity_write_feedback(cid, settings) {} _iampt = { iampldomain: "https://avd.innity.com", iampuuid: "", setiUUIDCookie: function () { var tld_lev, iUUIDCookieName = "iUUID", iUUIDExpiryDays = 730, docDomain = document.domain, datenow = new Date(); datenow.setTime(datenow.getTime() + iUUIDExpiryDays * 24 * 60 * 60 * 1e3); var cookieExpires = "; expires=" + datenow.toGMTString(); var cookieAlwaysExpires = new Date(); cookieAlwaysExpires.setTime(cookieAlwaysExpires.getTime() - 86400 * 1e3); try { for ( tld_lev = docDomain.split(".").length - 2; tld_lev >= 0; tld_lev-- ) { var tld = docDomain .split(".") .slice(tld_lev) .join("."); document.cookie = iUUIDCookieName + "=" + this.iampuuid + cookieExpires + "; domain=" + tld + "; path=/; SameSite=None; Secure"; } } catch (catcherr) {} }, getiUUIDCookie: function () { var cookieName = "iUUID"; var cookieString = cookieName + "="; var docCookie = document.cookie.split(";"); var cookieiUUID = ""; for (var i = 0; i < docCookie.length; i++) { var c = docCookie[i]; while (c.charAt(0) === " ") c = c.substring(1, c.length); if (c.indexOf(cookieString) === 0) { cookieiUUID = c.substring(cookieString.length, c.length); if (cookieiUUID.length > 32) break; return cookieiUUID; } } this.checkiUUID(); return !1; }, checkiUUID: function () { var callBackURL = this.iampldomain + "/dc/cb/?mt=_iampt._cbUC"; this.util.doCallBack(callBackURL); }, doCallBack: function (callBackURL) { var as = document.createElement("script"); as.type = "text/javascript"; as.async = true; as.src = callBackURL; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(as, s); }, getiOptout: function () { var cookieName = "iOptout"; var cookieString = cookieName + "="; var docCookie = document.cookie.split(";"); var cookieiOptout = "0"; for (var i = 0; i < docCookie.length; i++) { var c = docCookie[i]; while (c.charAt(0) === " ") c = c.substring(1, c.length); if (c.indexOf(cookieString) === 0) { cookieiOptout = c.substring(cookieString.length, c.length); return cookieiOptout; } } return cookieiOptout; }, _cbUC: function (resp) { if (resp.hasOwnProperty("iuuid")) { this.iampuuid = resp["iuuid"]; this.setiUUIDCookie(); } } } /* utilities class */ _iampt.util = { doCallBack: function (callBackURL) { var as = document.createElement("script"); as.type = "text/javascript"; as.async = true; as.src = callBackURL; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(as, s); } };