/*! For license information please see onetag.js.LICENSE.txt */ var CJApi;!function(){var e={301:function(e,t,r){r(147),e.exports=self.fetch.bind(self)},412:function(e,t,r){"use strict";r.r(t);var n=function(e){var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){return t.reject(r)}))}))},o=function(e){return new this((function(t,r){if(!e||void 0===e.length)return r(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var n=Array.prototype.slice.call(e);if(0===n.length)return t([]);var o=n.length;function i(e,r){if(r&&("object"==typeof r||"function"==typeof r)){var a=r.then;if("function"==typeof a)return void a.call(r,(function(t){i(e,t)}),(function(r){n[e]={status:"rejected",reason:r},0==--o&&t(n)}))}n[e]={status:"fulfilled",value:r},0==--o&&t(n)}for(var a=0;a0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]t.getTime()}(e.loyaltyExpiration,t)||e.dtmConsent==i.CONFIRMED||e.dtmConsent!=i.DECLINED&&e.isInterimPeriod}(n,t),r=p(n),b=y(m,r),[2,Promise.resolve(b)];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,(0,a.fetchPolicy)(g)];case 2:switch((w=o.sent())._tag){case"Ok":return[2,v(w.ok,t,e)];case"Err":j=(_=w.err).type,C=_.message,s.reporter.send({tag:"consentForAdvertiser".concat((0,c.capitalize)(j)),payload:C,logLevel:"ERROR"});break;default:return[2,w]}return[3,4];case 3:return E=o.sent(),s.reporter.send({tag:"consentForAdvertiserUnexpectedError",payload:"Unexpected error: ".concat((0,c.errorMessage)(E)),logLevel:"ERROR"}),[3,4];case 4:return[2,y(!1)]}var _,j,C}))}))}},357:function(e,t,r){"use strict";t.__esModule=!0,t.addCookie=t.getCookieUriDecoded=t.getCookie=t.COOKIE_LIFETIME_MILLIS=void 0;var n=r(569);function o(e,t){var r,o=e+"=";return null===(r=t.cookie.split("; ").find((function(e){return(0,n.startsWith)(o,e)})))||void 0===r?void 0:r.substring(o.length)}t.COOKIE_LIFETIME_MILLIS=34128e6,t.getCookie=o,t.getCookieUriDecoded=function(e,t){var r=o(e,t);return r?decodeURIComponent(r):r},t.addCookie=function(e,r,n,i){return function a(s){if(!(s>3)){var c=e.location.hostname;!function(e,r,n,o,i){var a=function(e,r,n,o,i){var a="expires="+new Date(r.getTime()+t.COOKIE_LIFETIME_MILLIS).toUTCString(),s="".concat(n,"=").concat(o,";").concat(a,";path=/");return"https:"===i&&(s+=";secure"),""!==e&&(s+=";domain="+e),s}(e,o,r,i,n.location.protocol);!function(e,t){e.cookie=t}(n.document,a)}("localhost"===c?"localhost":".".concat(c.split(".").splice(-s).join(".")),n,e,r,i);var u=o(n,e.document);return u===i?u:a(s+1)}}(2)}},868:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=function(e,t){return r=new Date(e),n=t,(o=new Date(r)).setDate(r.getDate()+n),o;var r,n,o}(n,r)}(i,r,s),n?[4,p(r,i,c)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,!1]}}))}))}t.shouldCallLiveRamp=h,t.liverampWorkflow=function(e,t,r){return n(this,void 0,void 0,(function(){var n;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,h(e.flags.callLiveRamp,t,e.win,e.date,e.liveRampPeriodInDays,e.liveRampTimeout)];case 1:return o.sent()?(s=e.date,l=e.win,d=s.toISOString(),(0,a.addCookie)(l,s,f,d),function(e,t){var r,n,o="https://idsync.rlcdn.com/".concat("711037",".gif?partner_uid=").concat(e);r=t.document,n=o,(0,i.addPixelToDom)(r,n,"liveRampPixel")}(r,e.win),[2,{isCalled:!0}]):[2,{isCalled:!1}];case 2:return n=o.sent(),c.reporter.send({tag:"liverampWorkflow-Error",payload:(0,u.errorMessage)(n),logLevel:"ERROR"}),[2,{isCalled:!1}];case 3:return[2]}var s,l,d}))}))}},489:function(e,t,r){"use strict";t.__esModule=!0,t.setStorageItem=t.getStorageItem=t.getPersistedCjEvents=t.CjEventKeys=void 0;var n,o=r(357);function i(e,t){return t&&t.getItem(e)}!function(e){e.DocumentCookie="cjevent_dc",e.SetCookie="cjevent_sc",e.LocalStorage="cjevent",e.SessionStorage="cjevent",e.ClientServerCookie="cje"}(n=t.CjEventKeys||(t.CjEventKeys={})),t.getPersistedCjEvents=function(e,t,r){return{clientServerCookie:(0,o.getCookieUriDecoded)(n.ClientServerCookie,e),documentCookie:(0,o.getCookieUriDecoded)(n.DocumentCookie,e),serverSetCookie:(0,o.getCookieUriDecoded)(n.SetCookie,e),localStorage:i(n.LocalStorage,t),sessionStorage:i(n.SessionStorage,r)}},t.getStorageItem=i,t.setStorageItem=function(e,t,r){return r&&r.setItem(e,t)}},189:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1&&void 0!==arguments[1]?arguments[1]:0,r=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r},p=0,h=0,v=function(e,t,r){var n=t&&r||0,o=t||new Array(16),a=(e=e||{}).node||f,s=void 0!==e.clockseq?e.clockseq:l;if(null==a||null==s){var c=e.random||(e.rng||i)();null==a&&(a=f=[1|c[0],c[1],c[2],c[3],c[4],c[5]]),null==s&&(s=l=16383&(c[6]<<8|c[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),v=void 0!==e.nsecs?e.nsecs:h+1,y=u-p+(v-h)/1e4;if(y<0&&void 0===e.clockseq&&(s=s+1&16383),(y<0||u>p)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");p=u,h=v,l=s;var g=(1e4*(268435455&(u+=122192928e5))+v)%4294967296;o[n++]=g>>>24&255,o[n++]=g>>>16&255,o[n++]=g>>>8&255,o[n++]=255&g;var m=u/4294967296*1e4&268435455;o[n++]=m>>>8&255,o[n++]=255&m,o[n++]=m>>>24&15|16,o[n++]=m>>>16&255,o[n++]=s>>>8|128,o[n++]=255&s;for(var b=0;b<6;++b)o[n+b]=a[b];return t||d(o)},y=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r},g="6ba7b810-9dad-11d1-80b4-00c04fd430c8",m="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function b(e,t,r){function n(e,n,o,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r>>9<<4)+1}function E(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function _(e,t,r,n,o,i){return E((a=E(E(t,e),E(n,i)))<<(s=o)|a>>>32-s,r);var a,s}function j(e,t,r,n,o,i,a){return _(t&r|~t&n,e,t,o,i,a)}function C(e,t,r,n,o,i,a){return _(t&n|r&~n,e,t,o,i,a)}function S(e,t,r,n,o,i,a){return _(t^r^n,e,t,o,i,a)}function O(e,t,r,n,o,i,a){return _(r^(t|~n),e,t,o,i,a)}var P=b("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r>5]>>>o%32&255,a=parseInt(n.charAt(i>>>4&15)+n.charAt(15&i),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<>>32-t}var U=b("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var o=0;o>>0;b=m,m=g,g=I(y,30)>>>0,y=v,v=_}r[0]=r[0]+v>>>0,r[1]=r[1]+y>>>0,r[2]=r[2]+g>>>0,r[3]=r[3]+m>>>0,r[4]=r[4]+b>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]})),T="00000000-0000-0000-0000-000000000000",D=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},147:function(e,t,r){"use strict";r.r(t),r.d(t,{DOMException:function(){return E},Headers:function(){return f},Request:function(){return g},Response:function(){return b},fetch:function(){return _}});var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n&&n,o={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(e){return e&&i.indexOf(Object.prototype.toString.call(e))>-1};function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o.iterable&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function d(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function p(e){var t=new FileReader,r=d(t);return t.readAsArrayBuffer(e),r}function h(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():o.arrayBuffer&&o.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=h(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||a(e))?this._bodyArrayBuffer=h(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(p)}),this.text=function(){var e,t,r,n=l(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,r=d(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function m(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function b(e,t){if(!(this instanceof b))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},v.call(g.prototype),v.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},b.error=function(){var e=new b(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];b.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new b(null,{status:t,headers:{location:e}})};var E=n.DOMException;try{new E}catch(e){(E=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),E.prototype.constructor=E}function _(e,t){return new Promise((function(r,i){var a=new g(e,t);if(a.signal&&a.signal.aborted)return i(new E("Aborted","AbortError"));var s=new XMLHttpRequest;function u(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;setTimeout((function(){r(new b(o,n))}),0)},s.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},s.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},s.onabort=function(){setTimeout((function(){i(new E("Aborted","AbortError"))}),0)},s.open(a.method,function(e){try{return""===e&&n.location.href?n.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&(o.blob?s.responseType="blob":o.arrayBuffer&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof f?a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){s.setRequestHeader(e,c(t.headers[e]))})),a.signal&&(a.signal.addEventListener("abort",u),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",u)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}_.polyfill=!0,n.fetch||(n.fetch=_,n.Headers=f,n.Request=g,n.Response=b)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n=r(868);CJApi=n}(); var cjApi = CJApi.default({ win: this.window, date: new Date(), integrationDomain: "www.emjcd.com", integrationType: 1, tagId: "369405283983", path: "", reporterType: "ERROR_ONLY", flags: { callLiveRamp: true }, liveRampPeriodInDays: 5, countryCode: "NG" });