{"content function(omidGlobal) {\n var m;function aa(a){var b=0;return function {return b<a.length?{done:!1,value:a[b done:!0}}}function p(a){var b='undefined'!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if('number'==typeof a.length)return{next:aa(a)};throw Error(String(a)+' is not an iterable or ArrayLike');}function q(a){if(!(a instanceof Array)){a=p(a);for(var b,c b=a.next .done;)c.push(b.value);a=c}return a}\nvar ba='function'==typeof Object.create?Object.create:function(a){function b {}b.prototype=a;return new b},r='function'==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype a==Object.prototype)return a;a[b]=c.value;return a};\nfunction ca(a){a=['object'==typeof globalThis&&globalThis,a,'object'==typeof window&&window,'object'==typeof self&&self,'object'==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error('Cannot find global object');}var da=ca(this);function u(a,b){if(b)a:{var c=da;a=a.split ;for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&r(c,a,{configurable:!0,writable:!0,value:b})}}var ea;\nif('function'==typeof Object.setPrototypeOf)ea=Object.setPrototypeOf;else{var fa;a:{var ha={a:!0},ia try{ia.__proto__=ha;fa=ia.a;break a}catch(a){}fa=!1}ea=fa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+' is not extensible');return a}:null}var ja=ea;\nfunction v(a,b){a.prototype=ba(b.prototype);a.prototype.constructor=a;if(ja)ja(a,b);else for(var c in b)if('prototype'!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Ia=b.prototype}function w {for(var a=Number(this),b c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}function x(a,b){return Object.prototype.hasOwnProperty.call(a,b)}\nvar ka='function'==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)x(d,e)&&(a[e]=d[e])}return a};u('Object.assign',function(a){return a ka});\nu('Symbol',function(a){function b(f){if(this instanceof b)throw new TypeError('Symbol is not a constructor');return new c(d+(f )+'_'+e++,f)}function c(f,k){this.g=f;r(this,'description',{configurable:!0,writable:!0,value:k})}if(a)return a;c.prototype.toString=function {return this.g};var d='jscomp_symbol_'+(1E9*Math.random >>>0)+'_',e=0;return b});\nu('Symbol.iterator',function(a){if(a)return a;a=Symbol('Symbol.iterator');for(var b='Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array'.split,c=0;c<b.length;c++){var d=da[b[c function typeof d&&'function'!=typeof d.prototype[a]&&r(d.prototype,a,{configurable:!0,writable:!0,value:function {return la(aa(this))}})}return a});function la(a){a={next:a};a[Symbol.iterator]=function {return this};return a}\nu('WeakMap',function(a){function b(h){this.g=(g+=Math.random +1).toString ;if(h){h=p(h);for(var l;!(l=h.next .done;)l=l.value,this.set(l[0],l[1])}}function c {}function d(h){var l=typeof h;return'object l&&null!==h 'function l}function e(h){if(!x(h,k)){var l=new c;r(h,k,{value:l})}}function f(h){var l=Object[h];l&&(Object[h]=function(n){if(n instanceof c)return n;Object.isExtensible(n)&&e(n);return l(n)})}if(function {if(!a !Object.seal)return!1;try{var h=Object.seal,l=Object.seal,\nn=new a([[h,2],[l,3]]);if(2!=n.get(h) 3!=n.get(l))return!1;n.delete(h);n.set(l,4);return!n.has(h)&&4==n.get(l)}catch(t){return!1}} return a;var k='$jscomp_hidden_'+Math.random ;f('freeze');f('preventExtensions');f('seal');var g=0;b.prototype.set=function(h,l){if(!d(h))throw Error('Invalid WeakMap key');e(h);if(!x(h,k))throw Error('WeakMap key fail: '+h);h[k][this.g]=l;return this};b.prototype.get=function(h){return d(h)&&x(h,k)?h[k][this.g]:void 0};b.prototype.has=function(h){return d(h)&&x(h,\nk)&&x(h[k],this.g)};b.prototype.delete=function(h){return d(h)&&x(h,k)&&x(h[k],this.g)?delete h[k][this.g]:!1};return b});\nu('Map',function(a){function b {var g return g.H=g.next=g.head=g}function c(g,h){var l=g.g;return la(function {if(l){for(;l.head!=g.g;)l=l.H;for(;l.next!=l.head;)return l=l.next,{done:!1,value:h(l)};l=null}return{done:!0,value:void 0}})}function d(g,h){var l=h&&typeof h;'object'==l 'function'==l?f.has(h)?l=f.get(h):(l ++k,f.set(h,l)):l='p_'+h;var n=g.h[l];if(n&&x(g.h,l))for(g=0;g<n.length;g++){var t=n[g];if(h!==h&&t.key!==t.key h===t.key)return{id:l,list:n,index:g,B:t}}return{id:l,list:n,\nindex:-1,B:void 0}}function e(g){this.h this.g=b ;this.size=0;if(g){g=p(g);for(var h;!(h=g.next .done;)h=h.value,this.set(h[0],h[1])}}if(function {if(!a 'function'!=typeof a !a.prototype.entries 'function'!=typeof Object.seal)return!1;try{var g=Object.seal({x:4}),h=new a(p([[g,'s']]));if('s'!=h.get(g) 1!=h.size h.get({x:4}) h.set({x:4},'t')!=h 2!=h.size)return!1;var l=h.entries,n=l.next ;if(n.done n.value[0]!=g 's'!=n.value[1])return!1;n=l.next ;return n.done 4!=n.value[0].x \n't'!=n.value[1 l.next .done?!1:!0}catch(t){return!1}} return a;var f=new WeakMap;e.prototype.set=function(g,h){g=0===g?0:g;var l=d(this,g);l.list (l.list=this.h[l.id );l.B?l.B.value=h:(l.B={next:this.g,H:this.g.H,head:this.g,key:g,value:h},l.list.push(l.B),this.g.H.next=l.B,this.g.H=l.B,this.size++);return this};e.prototype.delete=function(g){g=d(this,g);return g.B&&g.list?(g.list.splice(g.index,1),g.list.length delete this.h[g.id],g.B.H.next=g.B.next,g.B.next.H=g.B.H,g.B.head=null,this.size n!0):!1};e.prototype.clear=function {this.h this.g=this.g.H=b ;this.size=0};e.prototype.has=function(g){return!d(this,g).B};e.prototype.get=function(g){return(g=d(this,g).B)&&g.value};e.prototype.entries=function {return c(this,function(g){return[g.key,g.value]})};e.prototype.keys=function {return c(this,function(g){return g.key})};e.prototype.values=function {return c(this,function(g){return g.value})};e.prototype.forEach=function(g,h){for(var l=this.entries,n;!(n=l.next .done;)n=n.value,\ng.call(h,n[1],n[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var k=0;return e});u('Object.values',function(a){return a?a:function(b){var c d;for(d in b)x(b,d)&&c.push(b[d]);return c}});function ma(a,b){a instanceof String&&(a );var c=0,d=!1,e={next:function {if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0 e[Symbol.iterator]=function {return e};return e}u('Array.prototype.keys',function(a){return a?a:function {return ma(this,function(b){return b})}});\nu('Set',function(a){function b(c){this.g=new Map;if(c){c=p(c);for(var d;!(d=c.next .done;)this.add(d.value)}this.size=this.g.size}if(function {if(!a 'function'!=typeof a !a.prototype.entries 'function'!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(p([c]));if(!d.has(c) 1!=d.size d.add(c)!=d 1!=d.size d.add({x:4})!=d 2!=d.size)return!1;var e=d.entries,f=e.next ;if(f.done f.value[0]!=c f.value[1]!=c)return!1;f=e.next ;return f.done f.value[0]==c 4!=f.value[0].x \nf.value[1]!=f.value[0]?!1:e.next .done}catch(k){return!1}} return a;b.prototype.add=function(c){c=0===c?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function {this.g.clear ;this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function {return this.g.entries };b.prototype.values=function {return this.g.values };b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=\nb.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});u('Object.is',function(a){return a?a:function(b,c){return b===c?0!==b 1\/b===1\/c:b!==b&&c!==c}});u('Array.prototype.includes',function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c 0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b Object.is(f,b))return!0}return!1}});\nu('String.prototype.includes',function(a){return a?a:function(b,c){if(null==this)throw new TypeError(\"The 'this' value for String.prototype.includes must not be null or undefined\");if(b instanceof RegExp)throw new TypeError('First argument to String.prototype.includes must not be a regular expression');return-1!==this.indexOf(b,c 0)}});u('Object.entries',function(a){return a?a:function(b){var c d;for(d in b)x(b,d)&&c.push([d,b[d]]);return c}});\nu('Array.prototype.values',function(a){return a?a:function {return ma(this,function(b,c){return c})}});\nvar z={wa:'loaded',Da:'start',qa:'firstQuartile',ya:'midpoint',Ea:'thirdQuartile',oa:'complete',za:'pause',Ba:'resume',na:'bufferStart',ma:'bufferFinish',Ca:'skipped',Ga:'volumeChange',Aa:'playerStateChange',ja:'adUserInteraction'},na={ta:'generic',Fa:'video',xa:'media'},oa={ba:'native',ua:'html',V:'javascript'},pa={ba:'native',V:'javascript',NONE:'none'},qa={sa:'full',pa:'domain',va:'limited'},ra={la:'backgrounded',ra:'foregrounded'},sa={ka:'app',Ha:'web'};function A(a,b){this.x=null!=a.x?a.x:a.left;this.y=null!=a.y?a.y:a.top;this.width=a.width;this.height=a.height;this.endX=this.x+this.width;this.endY=this.y+this.height;this.adSessionId=a.adSessionId void 0;this.isFriendlyObstructionFor=a.isFriendlyObstructionFor this.h=a.friendlyObstructionClass void 0;this.i=a.friendlyObstructionPurpose void 0;this.j=a.friendlyObstructionReason void 0;this.clipsToBounds=void 0!==a.clipsToBounds?!0===a.clipsToBounds:!0;this.m=void 0!==a.hasWindowFocus?!0 na.hasWindowFocus:!0;this.notVisibleReason=a.notVisibleReason void 0;this.noOutputDevice=a.noOutputDevice void 0;this.childViews=a.childViews this.isCreative=a.isCreative !1;this.g=b}function ta(a){var b return b.width=a.width,b.height=a.height,b}function C(a){var b return Object.assign ta(a),(b.x=a.x,b.y=a.y,b))}function E(a){var b=C(a),c return Object.assign b,(c.endX=a.endX,c.endY=a.endY,c))}function ua(a,b,c){a.x+=b;a.y+=c;a.endX+=b;a.endY+=c}\nA.prototype.M=function(a){if(null==a)return!1;a=C(a);var b=a.y,c=a.width,d=a.height;return this.x===a.x&&this.y===b&&this.width===c&&this.height===d};function va(a){return a.width*a.height}function H(a){return 0===a.width 0===a.height};function wa(a,b){a=C(a);for(var c d e=0;e<b.length;e++){var f=C(b[e]);f=xa(a,f);I(c,f.x);I(c,f.endX);I(d,f.y);I(d,f.endY)}c=c.sort(function(k,g){return k-g});d=d.sort(function(k,g){return k-g});return{ha:c,ia:d}}function xa(a,b){return{x:Math.max(a.x,b.x),y:Math.max(a.y,b.y),endX:Math.min(a.x+a.width,b.x+b.width),endY:Math.min(a.y+a.height,b.y+b.height)}}function I(a,b){-1===a.indexOf(b)&&a.push(b)};function J {this.h=this.g=this.D=this.u=this.m=this.s=void 0;this.A=0;this.l this.v this.C=0;this.o this.j this.i J.prototype.M=function(a){return null==a?!1:JSON.stringify(ya(this))===JSON.stringify(ya(a))};\nfunction ya(a){var b c d={viewport:a.s,adView:{percentageInView:a.A,pixelsInView:a.C,reasons:a.i},declaredFriendlyObstructions:a.l.length};if(void 0!==a.g){d.adView.geometry=C(a.g);d.adView.geometry.pixels=va(a.g);d.adView.onScreenGeometry=C(a.h);d.adView.onScreenGeometry.pixels=za(a);for(var e=0;e<a.j.length;e++)b.push(C(a.j[e]));for(e=0;e<a.v.length;e++){var f=a.v[e],k=f,g k.h&&(g.obstructionClass=k.h);k.i&&(g.obstructionPurpose=k.i);k.j&&(g.obstructionReason=k.j);f=xa(a.g,f);c.push(Object.assign n{x:f.x,y:f.y,width:f.endX-f.x,height:f.endY-f.y},g))}d.adView.onScreenGeometry.obstructions=b;d.adView.onScreenGeometry.friendlyObstructions=c;void 0!==a.u&&void 0!==a.D&&(d.adView.containerGeometry=C(a.u),d.adView.onScreenContainerGeometry=C(a.D),d.adView.measuringElement=!0)}return d}function Aa(a,b){b=ta(b);a.s a.s.width=b.width;a.s.height=b.height;a.m a.m.x=0;a.m.y=0;a.m.width=b.width;a.m.height=b.height;a.m.endX=b.width;a.m.endY=b.height}\nfunction Ba {return{x:0,y:0,endX:0,endY:0,width:0,height:0}}function Ca(a,b){var c c.x=Math.max(a.x,b.x);c.y=Math.max(a.y,b.y);c.endX=Math.min(a.endX,b.endX);c.endY=Math.min(a.endY,b.endY);c.width=Math.max(0,c.endX-c.x);c.height=Math.max(0,c.endY-c.y);return c}function Da(a,b){return.01<b.width-a.width .01<b.height-a.height}function Ea(a){if(-1!==a.i.indexOf('backgrounded'))a.A=0,a.C=0;else{var b=va(a.g);if(0!==b){var c=za(a);a.A=Math.round(c\/b*100);a.C=c nfunction Fa(a,b){if(H(b) !a.h)b=!1;else{var c=E(a.h),d=c.y,e=c.endX;a=c.endY;var f=b.endX;c=c.x;(f=f<c .01>Math.abs(f-c)) (f=b.x,f=f>e .01>Math.abs(f-e));(e=f) (e=b.endY,e=e<d .01>Math.abs(e-d));(d=e) (b=b.y,d=b>a .01>Math.abs(b-a));b=!d}return b}function K(a,b){for(var c=!1,d=0;d<a.i.length;d++)a.i[d b&&(c=!0);c a.i.push(b)}\nfunction za(a){var b=Math,c=b.max,d=va(a.h),e=a.j,f=0;if(0<e.length){var k=wa(a.h,e);a=k.ha;k=k.ia;for(var g=0;g<a.length-1;g++)for(var h=(a[g]+(a[g]+1))\/2,l=a[g+1]-a[g],n=0;n<k.length-1;n++){for(var t=(k[n]+(k[n]+1))\/2,B=k[n+1]-k[n],y=!1,F=0;F<e.length;F++){var G=C(e[F]);if(G.x<h&&G.x+G.width>h&&G.y<t&&G.y+G.height>t){y=!0;break}}y&&(f+=Math.round(l)*Math.round(B))}}return c.call(b,0,d-f)};function Ga {};function Ha {}\nfunction Ia(a,b,c,d,e){var f=new J;b=new A(b,!1);Aa(f,b);Ja(a,b,f,d);if(!e)return f.i=['unmeasurable'],f.s=void 0,f.A=0,f.j f.g&&(a=f.g,c a=new A((c.x=0,c.y=0,c.width=a.width,c.height=a.height,c),a.g),f.g=a),f.h=Ba,f;b.noOutputDevice&&(K(f,'backgrounded'),K(f,'noOutputDevice'));if('backgrounded c)K(f,'backgrounded');else if(void 0!==f.g){for(a=0;a<f.l.length;a++)Fa(f,f.l[a])&&f.v.push(f.l[a]);for(a=0;a<f.o.length;a++){if(c=Fa(f,f.o[a])){a:{c=f.o[a];for(d=0;d<f.j.length;d++)if(f.j[d].M(c)){c=!0;\nbreak a}c=!1}c=!c}c&&(K(f,'obstructed'),f.j.push(f.o[a]))}Ea(f)}else K(f,'notFound');return f}\nfunction Ja(a,b,c,d){var e=b.isCreative?!0:b.adSessionId===d;if(e){c.g=b;var f=E(c.g);a=Ca(c.m,f);var k=c.g;'notAttached k.notVisibleReason 'noWindowFocus k.notVisibleReason 'noAdView k.notVisibleReason?(K(c,'notFound'),c.h=new A(Ba,!1)):(k=c.g,'viewInvisible k.notVisibleReason 'viewGone k.notVisibleReason 'viewNotVisible k.notVisibleReason 'viewAlphaZero k.notVisibleReason 'viewHidden k.notVisibleReason void 0!==c.g.notVisibleReason H(c.g)?(K(c,'hidden'),c.h=new A(Ba,\n!1)):(c.g.m (K(c,'backgrounded'),K(c,'noWindowFocus')),Da(a,f)&&K(c,'clipped'),c.h=new A(a,!1)))}else if(f=!0,b.g&&(f=-1!==b.isFriendlyObstructionFor.indexOf(d)?!1:!1===b.clipsToBounds),f){k=b.childViews;for(var g=0;g<k.length;g++)f=void 0!==c.g,Ja(a,new A(k[g],f),c,d)}e void 0===c.g (b.g?-1!==b.isFriendlyObstructionFor.indexOf(d)?c.l.push(b):c.o.push(b):(e=E(b),d=E(c.h),C(c.h),!H(c.h)&&b.clipsToBounds&&(b=Ca(d,e),Da(b,d)&&(K(c,'clipped'),c.h=new A(b,!1)))))};function Ka {this.h=new Map;this.g=null}function La {Ma (Ma=new Ka);return Ma}var Ma=null;function Na(a,b){this.y=this.x=0;this.width=a;this.height=b};function Oa {this.adSessionId=null;this.o={apiVersion:'1.0',accessMode:'limited',environment:'app',omidJsInfo:{omidImplementer:'omsdk',serviceVersion:'1.4.8-iab4174 this.C=null;this.A='foregrounded';this.u=this.l='none';this.s=this.j=this.i=this.m=this.h=this.g=this.J=this.D=null;this.I=!0;this.v=new Map};var L=function {if('undefined typeof omidGlobal&&omidGlobal)return omidGlobal;if('undefined typeof global&&global)return global;if('undefined typeof window&&window)return window;if('undefined typeof globalThis&&globalThis)return globalThis;var a=Function('return this') ;if(a)return a;throw Error('Could not determine global object context.');} ;function Pa(a,b){this.g=a;this.h=b}da.Object.defineProperties(Pa.prototype,{event:{configurable:!0,enumerable:!0,get:function {return this.g}},origin:{configurable:!0,enumerable:!0,get:function {return this.h}}});function M {var a=w.apply(0,arguments);Qa(function {throw new (Function.prototype.bind.apply(Error,[null,'Could not complete the test successfully - '].concat(q(a))));},function {return console.error.apply(console,q(a))})}function Ra {var a=w.apply(0,arguments);Qa(function {},function {return console.error.apply(console,q(a))})}function Qa(a,b){'undefined typeof jasmine&&jasmine?a :'undefined typeof console&&console&&console.error&&b };function Sa(a){this.g=a;this.m this.i this.j this.l this.o function Ta(a,b){if(void 0!==a.g&&a.g.adSessionId&&!1!==Ua(a,b)){var c=b.event;a.j.filter(function(d){return d.type===c.type}).forEach(function(d){a.h(d.G,c)})}}function Va(a,b){a.m.push(b);Ta(a,b)}function Wa(a,b,c){void 0!==a.g&&a.g.adSessionId&&a.m.filter(function(d){return d.event.type===b&&Ua(a,d)}).map(function(d){return d.event}).forEach(function(d){a.h(c.G,d)})}\nfunction Ua(a,b){var c=b.event.type,d=-1!==Object.values(z).indexOf(c)&&'volumeChange c;return'impression c 'loaded c&&a.g.h?b.origin===a.g.u:d?b.origin===a.g.l:!0}function Xa(a,b,c){Object.keys(z).forEach(function(d){d=z[d];var e={type:d,P:c,G:b};a.j.push(e);Wa(a,d,e)})}function Ya(a,b,c,d){var e={U:c,P:d,G:b};a.l.push(e);a.i.forEach(function(f){var k=Za(f);'sessionStart f.event.type&&$a(a,k,e);a.h(e.G,k)})}\nfunction ab(a,b,c){var d=N(a,'sessionError','native',{errorType:b,message:c});a.i.push(d);a.l.forEach(function(e){a.h(e.G,d.event)})}function bb(a,b){a.o=Object.assign(a.o,b);b=a.g.o;if(void 0!==b){b=Object.assign cb(db(a,eb(a,{context:b}),!0)),{supportsLoadedEvent:!a.g.h 'video'==a.g.g});Object.assign(b,{pageUrl:null,contentUrl:a.g.C});var c=N(a,'sessionStart','native',b);a.i.push(c);a.l.forEach(function(d){var e=Za(c);$a(a,e,d);a.h(d.G,e)},a);fb(a)}}\nfunction $a(a,b,c){c.U&&(b.data.verificationParameters=a.o[c.U]);c.P&&(c=a.g.v.get(c.P))&&(b.data.verificationParameters=c.verificationParameters,b.data.context.accessMode=c.accessMode,'full c.accessMode&&(a.g.j&&(b.data.context.videoElement=a.g.j),a.g.i&&(b.data.context.slotElement=a.g.i)))}function gb(a){var b=N(a,'sessionFinish','native');a.i.push(b);a.l.forEach(function(c){a.h(c.G,b.event)})}Sa.prototype.h=function(a){var b=w.apply(1,arguments);try{a.apply(null,q(b))}catch(c){Ra(c) nfunction hb(a,b){var c=(c=a.g.K)?ya(c):null;c=db(a,eb(a,c));Va(a,N(a,'impression',b,c))}function ib(a,b,c){if(a.g.h 'display'!=a.g.g)b=N(a,'loaded',b,db(a,eb(a,void 0===c?null:c))),Va(a,b)}\nfunction jb(a,b,c,d){'start b&&'volumeChange b null!=(d&&d.deviceVolume) (d.deviceVolume=a.g.D);if(d start b 'volumeChange b)){var e=d.videoPlayerVolume,f=d.mediaPlayerVolume;null!=e?(Object.assign(d,{mediaPlayerVolume:e}),a.g.J=e):null!=f&&(Object.assign(d,{videoPlayerVolume:f}),a.g.J=f)}Va(a,N(a,b,c,d))}\nfunction fb(a){var b=a.m.filter(function(f){return Object.values(z).includes(f.event.type)&&'video'==a.g.g&&f.origin===a.g.l 'loaded'==f.event.type&&'display'==a.g.g&&f.origin===a.g.u?!0:!1}).map(function(f){return f.event}),c=a.g.adSessionId d b=p(b);for(var e=b.next ;!e.done;d={F:d.F},e=b.next {d.F=e.value;d.F.adSessionId (d.F.adSessionId=c);if('loaded'==d.F.type){if(!a.g.h&&'display'==a.g.g)continue;d.F.data=db(a,eb(a,d.F.data))}a.j.filter(function(f){return function(k){return k.type nf.F.type}}(d)).forEach(function(f){return function(k){return k.G(f.F)}}(d))}}function kb(a,b,c){a:{c=new Set(c);a=p(a.m.concat(a.i));for(var d=a.next ;!d.done;d=a.next if(d=d.value,c.has(d.event.type)&&d.origin!=b){b=!0;break a}b=!1}return b?(M('Event owner cannot be registered after its events have already been published.'),!1):!0}function lb(a,b){kb(a,b,Object.values(z))&&mb(a,b)&&(a.g.l=b)}function nb(a,b){kb(a,b,['impression'])&&ob(a,b)&&(a.g.u=b)}\nfunction ob(a,b){var c=a.g.u;return'none'!=c&&c!=b?(M('Impression event is owned by '+(a.g.u+', not ')+(b )),!1):!0}function mb(a,b){var c=a.g.l;return'none'!=c&&c!=b?(M('Media events are owned by '+(a.g.l+', not '+b )),!1):!0}function db(a,b,c){c=void 0===c?!1:c;b=Object.assign b);a.g.g&&Object.assign(b,{mediaType:a.g.g});a.g.h&&(c 'definedByJavaScript a.g.h)&&Object.assign(b,{creativeType:a.g.h});return b}function cb(a){var b=La .g;return b?Object.assign a,{lastActivity:b}):a}\nfunction eb(a,b){return a.g.m?Object.assign b,{impressionType:a.g.m}):b}function N(a,b,c,d){return new Pa({adSessionId:a.g.adSessionId timestamp:(new Date).getTime,type:b,data:d},c)}function Za(a){a=a.event;var b=a.data?Object.assign a.data):void 0;'sessionStart a.type&&(b.context=Object.assign b.context));return{adSessionId:a.adSessionId,timestamp:a.timestamp,type:a.type,data:b}};function pb(a,b,c){this.h=a;this.i=b;this.g=c}\nfunction qb(a,b,c){'container b&&void 0!==a.g.L&&void 0!==a.g&&null!=a.g.adSessionId&&(a.g.N=Ia(a.i,a.g.L,a.g.A,a.g.adSessionId,!0));b=a.g;var d=b.N,e=b.O;if(d)if(e){b=new J;var f=d.s,k=d.g,g=d.h,h=e.g,l=e.h;f&&k&&g&&h&&l&&(Aa(b,f),b.u=new A(k,!1),b.D=new A(g,!1),b.o=Object.assign d.o),b.j=Object.assign d.j),b.l=Object.assign d.l),b.v=Object.assign d.v),b.i=Object.assign e.i,d.i),d=b.u.x,e=b.u.y,h=new A(h,!1),l=new A(l,!1),ua(h,d,e),ua(l,d,e),b.g=h,b.h=Ca(l,g),Ea(b))}else b=d;else b=\nnull;g=a.g.K;if(b&&!b.M(g) c)g=ya(b),c&&(g.adView.reasons=g.adView.reasons [c]),c=a.h,'audio'!=c.g.h&&Va(c,N(c,'geometryChange','native',g)),a.g.K=b};function rb(a,b,c){return sb(a,'setInterval')(b,c)}function tb(a,b){sb(a,'clearInterval')(b)}function ub(a,b){sb(a,'clearTimeout')(b)}function sb(a,b){return a.g&&a.g[b]?a.g[b]:vb(a,b)}\nfunction wb(a,b,c,d){if(a.g.document&&a.g.document.body){var e=a.g.document.createElement('img');e.width=1;e.height=1;e.style.display='none';e.src=b;c&&e.addEventListener('load',function {return c ;d&&e.addEventListener('error',function {return d ;a.g.document.body.appendChild(e)}else vb(a,'sendUrl')(b,c,d)}function vb(a,b){if(a.g&&a.g.omidNative&&a.g.omidNative[b])return a.g.omidNative[b].bind(a.g.omidNative);throw Error('Native interface method b not found.');};function O(a){return'object typeof a}function P(a){return'number typeof a&&!isNaN(a)&&0<=a}function Q(a){return'string typeof a}function R(a,b){return Q(a)&&-1!==Object.values(b).indexOf(a)}function xb(a){return!(!a !a.tagName 'iframe a.tagName.toLowerCase };function S(a,b,c,d,e){this.m=a;this.aa=b;this.L=c;this.i=d;this.T=e;this.h=null;this.g=this.j=this.D=void 0;this.O=!0;this.J=void 0;yb(this)}\nfunction yb(a){if(!a.h){var b;a:{if((b=a.m.document)&&b.getElementsByClassName&&(b=b.getElementsByClassName('omid-element'))){if(1==b.length){b=b[0];break a}1<b.length&&a.O&&(ab(a.L,'generic More than one element with 'omid-element' class name.\"),a.O=!1)}b=null}if(b&&b.tagName&&'video b.tagName.toLowerCase a.i.j=b;else if(b&&b.tagName)a.i.i=b;else return;zb(a)}}function zb(a){a.i.j?(a.h=a.i.j,a.o :a.i.i&&(a.h=a.i.i,xb(a.h)?a.i.s&&a.o :a.o }\nfunction Ab(a){a.g&&(xb(a.h)?a.i.s&&(a.K,Bb(a)):(a.K,Bb(a)))}S.prototype.A=function {this.J&&(this.m.document.removeEventListener('visibilitychange',this.J),this.J=void 0)};S.prototype.o=function {};function Bb(a){a.D&&(a.i.O=a.D,qb(a.aa,'creative'))}function Cb(a){if(a.g&&a.i.s){var b=new A(a.i.s,!1);ua(b,a.g.x,a.g.y);b.clipsToBounds=!0;return b}};function T(a,b,c,d,e,f){S.call(this,a,c,d,e,f);this.s=b;this.l=void 0}v(T,S);T.prototype.A=function {void 0!==this.l&&(tb(this.T,this.l),this.l=void 0);S.prototype.A.call(this)};T.prototype.o=function {var a=this;S.prototype.o.call(this);null==this.h?this.l=void 0:void 0===this.l&&(this.l=rb(this.T,function {return Db(a)},200),Db(this))};\nT.prototype.K=function {if(this.j){var a=Cb(this);if(a){this.g.isCreative=!1;a.isCreative=!0;for(var b=!1,c=0;c<this.g.childViews.length;c++)if(this.g.childViews[c].isCreative){this.g.childViews[c]=a;b=!0;break}b this.g.childViews.push(a)}else this.g.isCreative=!0;this.D=Ia(this.s,this.j,this.i.A,this.i.adSessionId,this.I }};T.prototype.I=function {return!0};\nfunction Db(a){if(void 0!==a.l){b:{try{var b=a.m.top;var c=0<=b.innerHeight&&0<=b.innerWidth;break b}catch(d){}c=!1}c?(c=a.m.top,c=new A(new Na(c.innerWidth,c.innerHeight),!1)):c=new A(new Na(0,0),!1);b=a.h.getBoundingClientRect ;if(null==b.x isNaN(b.x))b.x=b.left;if(null==b.y isNaN(b.y))b.y=b.top;b=new A(b,!1);c.M(a.j)&&b.M(a.g) (a.g=b,a.g.clipsToBounds=!0,a.j=c,a.j.childViews.push(a.g),Ab(a))}};function U(a,b,c,d,e,f){S.call(this,a,c,d,e,f);this.v=this.s=this.u=this.l=void 0;this.N=!1;this.C=void 0}v(U,S);U.prototype.A=function {this.l&&this.l.disconnect ;Eb(this);S.prototype.A.call(this)};U.prototype.o=function {S.prototype.o.call(this);if(this.h&&(this.l (this.l=Fb(this)),Gb(this),Hb(this.h)&&Ib(this),'backgrounded this.i.A)){var a=Jb(new Na(0,0));this.C=this.g=this.j=a;Ab(this) nU.prototype.K=function {if(this.g&&this.C){var a=Cb(this);if(a){var b=a;var c=this.C;var d=Math.max(a.x,c.x);var e=Math.max(a.y,c.y),f=Math.min(a.endX,c.endX);a=Math.min(a.endY,c.endY);f<=d a<=e?d=null:(c d=new A((c.x=d,c.y=e,c.width=Math.abs(f-d),c.height=Math.abs(a-e),c),!1));d (d=new A({x:0,y:0,width:0,height:0},!1))}else b=this.g,d=this.C;e=new J;this.j&&Aa(e,this.j);e.g=b;e.h=d;Ea(e);this.N?H(e.g)?K(e,'hidden'):100===e.A K(e,'clipped'):K(e,'viewport');this.D=e}};U.prototype.I=function {return!0};\nfunction Eb(a){a.u&&(a.u.disconnect,a.u=void 0);a.s&&(a.s.disconnect,a.s=void 0);a.v 0,a.m.removeEventListener)('resize',a.v),a.v=void 0)}function Gb(a){a.l&&a.h&&(a.l.unobserve(a.h),a.l.observe(a.h))}function Hb(a){a=a.getBoundingClientRect ;return 0==a.width 0==a.height}\nfunction Fb(a){return new a.m.IntersectionObserver(function(b){try{if(b.length){for(var c,d=b[0],e=1;e<b.length;e++)b[e].time>d.time&&(d=b[e]);c=d;a.j=Jb(c.rootBounds);a.g=Jb(c.boundingClientRect);a.C=Jb(c.intersectionRect);a.N=!c.isIntersecting;Ab(a)}}catch(f){a.A,ab(a.L,'generic','Problem handling IntersectionObserver callback: '+f.message) root:null,rootMargin:'0px',threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})}\nfunction Ib(a){a.m.ResizeObserver?a.u (a.u=Lb(a,function {return Mb(a)}),a.u.observe(a.h)):(a.v (a.v=function {return Mb(a)},(0,a.m.addEventListener)('resize',a.v)),a.s (a.s=new MutationObserver(function {return Mb(a)}),a.s.observe(a.h,{childList:!1,attributes:!0,subtree:!1})))}function Mb(a){a.h&&!Hb(a.h)&&(Gb(a),Eb(a))}function Lb(a,b){return new a.m.ResizeObserver(b)}function Jb(a){if(a&&null!==a.x&&null!==a.y&&null!==a.width&&null!==a.height)return new A(a,!1)};function Nb(a,b){this.h=a;this.g=b};function Ob {return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace xy]\/g,function(a){var b=16*Math.random 0;return'y a?(b&3 8).toString(16):b.toString(16)})};function Pb(a,b){var c=void 0===c?L:c;this.j=a;this.g=c;this.i=b;this.h nfunction Qb(a){if(!a.g !a.g.document)throw Error('OMID Service Script is not running within a window.');var b=a.h;a.h b.forEach(function(c){try{var d=a.i.I?'limited':'full',e=R(c.accessMode,qa)?c.accessMode:null;var f=e?'full'==e&&'limited'==d?d:'domain'==e?'limited':e:d;c.accessMode=f;a:{var k=c.resourceUrl,g=a.g.location.origin;try{var h=new URL(k,g);break a}catch(F){}try{h=new URL(k);break a}catch(F){}h=null}if(d=h){var l=Ob,n=a.g.document,t=n.createElement('iframe');t.id='omid-verification-script-frame nl;t.style.display='none full','limited'].includes(f)?t.srcdoc html><head>\\n<script type text\/javascript window['omidVerificationProperties'] = {\\n'serviceWindow': window.parent,\\n'injectionSource': 'app n'injectionId': l n x3c\/script>\\n<script type=\"text\/javascript\" src )+d.href x3c\/script>\\n<\/head><body body html domain'==f&&(t.src=Rb(a,l,d).href);['domain','limited'].includes(f)&&(t.sandbox='allow-scripts');n.body.appendChild(t);La .h.set(l,t);var B=c.vendorKey,\ny=c.verificationParameters;B=void 0===B B;y=void 0===y y;B&&'string typeof B B&&y&&'string typeof y y&&(a.j.o[B]=y);a.i.v.set(l,c)}}catch(F){Ra('OMID verification script '+c.resourceUrl+' failed to load: '+F)}})}\nfunction Rb(a,b,c){var d well-known\/omid\/omloader-v1.html new Map verificationScriptUrl',c.href injectionId',b]])).forEach(function(e,f){d+=encodeURIComponent(f) encodeURIComponent(e) );b=null;try{b=new URL(d,a.g.parent.location.origin)}catch(e){throw Error('OMID Service Script cannot access the parent window.');}return b};function Sb(a,b,c,d,e,f){var k=this;this.g=a;this.h=b;this.j=c;this.i=d;this.l=e;this.o=f;this.m=!1;Tb(this,function(g){if('sessionStart g.type){k.m=!0;try{Qb(k.l)}catch(h){M(h.message)}}'sessionFinish g.type&&(k.m=!1)})}function Tb(a,b,c,d){Ya(a.h,b,c,d)}m=Sb.prototype;m.setSlotElement=function(a){a&&a.tagName?(this.g.i=a,this.i&&zb(this.i)):M('setSlotElement called with a non-HTMLElement. It will be ignored.')};m.setElementBounds=function(a){this.g.s=a;this.i&&zb(this.i);this.i&&Ab(this.i)};\nm.error=function(a,b){ab(this.h,a,b)};m.injectVerificationScriptResources=function(a){var b=this.l;b.h.push.apply(b.h,q(a));if(this.m)try{Qb(this.l)}catch(c){M(c.message)}};m.setCreativeType=function(a,b){b=void 0===b?null:b;if(!this.g.g this.g.h)this.g.h=a,'video'==a 'audio'==a?this.g.g='video':'htmlDisplay'==a 'nativeDisplay'==a?this.g.g='display':'definedByJavaScript'==a&&b&&(this.g.g='none'==b?'display':'video')};m.setImpressionType=function(a){if(!this.g.g this.g.h)this.g.m=a};\nm.setClientInfo=function(a,b,c){var d=this.g.o d.omidJsInfo=Object.assign d.omidJsInfo,{sessionClientVersion:a,partnerName:b,partnerVersion:c});this.g.o=d;return this.g.o.omidJsInfo.serviceVersion};function Ub(a,b){if(!b)return a.g;for(var c=p(a.h.values,d=c.next ;!d.done;d=c.next if(d=d.value,d.g.v.has(b))return d;return a.g}function V(a,b){return null==b?a.g:a.h.get(b) a.g}function Vb(a){var b=new Oa,c=new Sa(b),d=new Ga,e=new Ha,f=new pb(c,e,b);a=a.i;var k=omidGlobal;d=k?k.IntersectionObserver&&(k.MutationObserver k.ResizeObserver)?new U(k,d,f,c,b,a):new T(k,e,f,c,b,a):null;return new Sb(b,c,f,d,new Pb(c,b),new Nb(c,b))};function Wb(a){return a&&O(a)?Object.entries(a).reduce(function(b,c){var d=p(c);c=d.next .value;d=d.next .value;return b&&Q(c)&&null!=d&&O(d)&&Q(d.resourceUrl)},!0):!1};function W(a,b,c,d){this.h=a;this.method=b;this.version=c;this.g=d}function Xb(a){return!a&&void 0!==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!==a.omid_message_version&&'string typeof a.omid_message_guid&&'string typeof a.omid_message_method&&'string typeof a.omid_message_version&&(void 0===a.omid_message_args void 0!==a.omid_message_args)}function Yb(a){return new W(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_args)}\nfunction Zb(a){var b b=(b.omid_message_guid=a.h,b.omid_message_method=a.method,b.omid_message_version=a.version,b);void 0!==