1 line
416 KiB
JavaScript
1 line
416 KiB
JavaScript
try { !function(){var e={9662:function(e,t,n){var r=n(7854),i=n(614),o=n(6330),a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a function")}},9483:function(e,t,n){var r=n(7854),i=n(4411),o=n(6330),a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a constructor")}},6077:function(e,t,n){var r=n(7854),i=n(614),o=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},1223:function(e,t,n){var r=n(5112),i=n(30),o=n(3070),a=r("unscopables"),l=Array.prototype;null==l[a]&&o.f(l,a,{configurable:!0,value:i(null)}),e.exports=function(e){l[a][e]=!0}},1530:function(e,t,n){"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:function(e,t,n){var r=n(7854),i=n(7976),o=r.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},9670:function(e,t,n){var r=n(7854),i=n(111),o=r.String,a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not an object")}},4019:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7556:function(e,t,n){var r=n(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},260:function(e,t,n){"use strict";var r,i,o,a=n(4019),l=n(9781),s=n(7854),c=n(614),d=n(111),u=n(2597),f=n(648),p=n(6330),h=n(8880),g=n(1320),m=n(3070).f,v=n(7976),y=n(9518),w=n(7674),b=n(5112),_=n(9711),x=s.Int8Array,z=x&&x.prototype,A=s.Uint8ClampedArray,S=A&&A.prototype,E=x&&y(x),I=z&&y(z),P=Object.prototype,C=s.TypeError,T=b("toStringTag"),k=_("TYPED_ARRAY_TAG"),O=_("TYPED_ARRAY_CONSTRUCTOR"),R=a&&!!w&&"Opera"!==f(s.opera),L=!1,D={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},M=function(e){if(!d(e))return!1;var t=f(e);return u(D,t)||u(N,t)};for(r in D)(o=(i=s[r])&&i.prototype)?h(o,O,i):R=!1;for(r in N)(o=(i=s[r])&&i.prototype)&&h(o,O,i);if((!R||!c(E)||E===Function.prototype)&&(E=function(){throw C("Incorrect invocation")},R))for(r in D)s[r]&&w(s[r],E);if((!R||!I||I===P)&&(I=E.prototype,R))for(r in D)s[r]&&w(s[r].prototype,I);if(R&&y(S)!==I&&w(S,I),l&&!u(I,T))for(r in L=!0,m(I,T,{get:function(){return d(this)?this[k]:void 0}}),D)s[r]&&h(s[r],k,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_CONSTRUCTOR:O,TYPED_ARRAY_TAG:L&&k,aTypedArray:function(e){if(M(e))return e;throw C("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!w||v(E,e)))return e;throw C(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(l){if(n)for(var i in D){var o=s[i];if(o&&u(o.prototype,e))try{delete o.prototype[e]}catch(n){try{o.prototype[e]=t}catch(e){}}}I[e]&&!n||g(I,e,n?t:R&&z[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(l){if(w){if(n)for(r in D)if((i=s[r])&&u(i,e))try{delete i[e]}catch(e){}if(E[e]&&!n)return;try{return g(E,e,n?t:R&&E[e]||t)}catch(e){}}for(r in D)!(i=s[r])||i[e]&&!n||g(i,e,t)}},isView:function(e){if(!d(e))return!1;var t=f(e);return"DataView"===t||u(D,t)||u(N,t)},isTypedArray:M,TypedArray:E,TypedArrayPrototype:I}},3331:function(e,t,n){"use strict";var r=n(7854),i=n(1702),o=n(9781),a=n(4019),l=n(6530),s=n(8880),c=n(2248),d=n(7293),u=n(5787),f=n(9303),p=n(7466),h=n(7067),g=n(1179),m=n(9518),v=n(7674),y=n(8006).f,w=n(3070).f,b=n(1285),_=n(1589),x=n(8003),z=n(9909),A=l.PROPER,S=l.CONFIGURABLE,E=z.get,I=z.set,P="ArrayBuffer",C="Wrong index",T=r.ArrayBuffer,k=T,O=k&&k.prototype,R=r.DataView,L=R&&R.prototype,D=Object.prototype,N=r.Array,M=r.RangeError,j=i(b),U=i([].reverse),q=g.pack,F=g.unpack,H=function(e){return[255&e]},B=function(e){return[255&e,e>>8&255]},V=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},G=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},W=function(e){return q(e,23,4)},J=function(e){return q(e,52,8)},$=function(e,t){w(e.prototype,t,{get:function(){return E(this)[t]}})},Y=function(e,t,n,r){var i=h(n),o=E(e);if(i+t>o.byteLength)throw M(C);var a=E(o.buffer).bytes,l=i+o.byteOffset,s=_(a,l,l+t);return r?s:U(s)},Q=function(e,t,n,r,i,o){var a=h(n),l=E(e);if(a+t>l.byteLength)throw M(C);for(var s=E(l.buffer).bytes,c=a+l.byteOffset,d=r(+i),u=0;u<t;u++)s[c+u]=d[o?u:t-u-1]};if(a){var K=A&&T.name!==P;if(d((function(){T(1)}))&&d((function(){new T(-1)}))&&!d((function(){return new T,new T(1.5),new T(NaN),K&&!S})))K&&S&&s(T,"name",P);else{(k=function(e){return u(this,O),new T(h(e))}).prototype=O;for(var X,Z=y(T),ee=0;Z.length>ee;)(X=Z[ee++])in k||s(k,X,T[X]);O.constructor=k}v&&m(L)!==D&&v(L,D);var te=new R(new k(2)),ne=i(L.setInt8);te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||c(L,{setInt8:function(e,t){ne(this,e,t<<24>>24)},setUint8:function(e,t){ne(this,e,t<<24>>24)}},{unsafe:!0})}else O=(k=function(e){u(this,O);var t=h(e);I(this,{bytes:j(N(t),0),byteLength:t}),o||(this.byteLength=t)}).prototype,L=(R=function(e,t,n){u(this,L),u(e,O);var r=E(e).byteLength,i=f(t);if(i<0||i>r)throw M("Wrong offset");if(i+(n=void 0===n?r-i:p(n))>r)throw M("Wrong length");I(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)}).prototype,o&&($(k,"byteLength"),$(R,"buffer"),$(R,"byteLength"),$(R,"byteOffset")),c(L,{getInt8:function(e){return Y(this,1,e)[0]<<24>>24},getUint8:function(e){return Y(this,1,e)[0]},getInt16:function(e){var t=Y(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Y(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return G(Y(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return G(Y(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return F(Y(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return F(Y(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){Q(this,1,e,H,t)},setUint8:function(e,t){Q(this,1,e,H,t)},setInt16:function(e,t){Q(this,2,e,B,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){Q(this,2,e,B,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){Q(this,4,e,V,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){Q(this,4,e,V,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){Q(this,4,e,W,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){Q(this,8,e,J,t,arguments.length>2?arguments[2]:void 0)}});x(k,P),x(R,"DataView"),e.exports={ArrayBuffer:k,DataView:R}},1048:function(e,t,n){"use strict";var r=n(7908),i=n(1400),o=n(6244),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),l=o(n),s=i(e,l),c=i(t,l),d=arguments.length>2?arguments[2]:void 0,u=a((void 0===d?l:i(d,l))-c,l-s),f=1;for(c<s&&s<c+u&&(f=-1,c+=u-1,s+=u-1);u-- >0;)c in n?n[s]=n[c]:delete n[s],s+=f,c+=f;return n}},1285:function(e,t,n){"use strict";var r=n(7908),i=n(1400),o=n(6244);e.exports=function(e){for(var t=r(this),n=o(t),a=arguments.length,l=i(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,c=void 0===s?n:i(s,n);c>l;)t[l++]=e;return t}},8533:function(e,t,n){"use strict";var r=n(2092).forEach,i=n(9341)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7745:function(e,t,n){var r=n(6244);e.exports=function(e,t){for(var n=0,i=r(t),o=new e(i);i>n;)o[n]=t[n++];return o}},8457:function(e,t,n){"use strict";var r=n(7854),i=n(9974),o=n(6916),a=n(7908),l=n(3411),s=n(7659),c=n(4411),d=n(6244),u=n(6135),f=n(8554),p=n(1246),h=r.Array;e.exports=function(e){var t=a(e),n=c(this),r=arguments.length,g=r>1?arguments[1]:void 0,m=void 0!==g;m&&(g=i(g,r>2?arguments[2]:void 0));var v,y,w,b,_,x,z=p(t),A=0;if(!z||this==h&&s(z))for(v=d(t),y=n?new this(v):h(v);v>A;A++)x=m?g(t[A],A):t[A],u(y,A,x);else for(_=(b=f(t,z)).next,y=n?new this:[];!(w=o(_,b)).done;A++)x=m?l(b,g,[w.value,A],!0):w.value,u(y,A,x);return y.length=A,y}},1318:function(e,t,n){var r=n(5656),i=n(1400),o=n(6244),a=function(e){return function(t,n,a){var l,s=r(t),c=o(s),d=i(a,c);if(e&&n!=n){for(;c>d;)if((l=s[d++])!=l)return!0}else for(;c>d;d++)if((e||d in s)&&s[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:function(e,t,n){var r=n(9974),i=n(1702),o=n(8361),a=n(7908),l=n(6244),s=n(5417),c=i([].push),d=function(e){var t=1==e,n=2==e,i=3==e,d=4==e,u=6==e,f=7==e,p=5==e||u;return function(h,g,m,v){for(var y,w,b=a(h),_=o(b),x=r(g,m),z=l(_),A=0,S=v||s,E=t?S(h,z):n||f?S(h,0):void 0;z>A;A++)if((p||A in _)&&(w=x(y=_[A],A,b),e))if(t)E[A]=w;else if(w)switch(e){case 3:return!0;case 5:return y;case 6:return A;case 2:c(E,y)}else switch(e){case 4:return!1;case 7:c(E,y)}return u?-1:i||d?d:E}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},6583:function(e,t,n){"use strict";var r=n(2104),i=n(5656),o=n(9303),a=n(6244),l=n(9341),s=Math.min,c=[].lastIndexOf,d=!!c&&1/[1].lastIndexOf(1,-0)<0,u=l("lastIndexOf"),f=d||!u;e.exports=f?function(e){if(d)return r(c,this,arguments)||0;var t=i(this),n=a(t),l=n-1;for(arguments.length>1&&(l=s(l,o(arguments[1]))),l<0&&(l=n+l);l>=0;l--)if(l in t&&t[l]===e)return l||0;return-1}:c},1194:function(e,t,n){var r=n(7293),i=n(5112),o=n(7392),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:function(e,t,n){"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},3671:function(e,t,n){var r=n(7854),i=n(9662),o=n(7908),a=n(8361),l=n(6244),s=r.TypeError,c=function(e){return function(t,n,r,c){i(n);var d=o(t),u=a(d),f=l(d),p=e?f-1:0,h=e?-1:1;if(r<2)for(;;){if(p in u){c=u[p],p+=h;break}if(p+=h,e?p<0:f<=p)throw s("Reduce of empty array with no initial value")}for(;e?p>=0:f>p;p+=h)p in u&&(c=n(c,u[p],p,d));return c}};e.exports={left:c(!1),right:c(!0)}},1589:function(e,t,n){var r=n(7854),i=n(1400),o=n(6244),a=n(6135),l=r.Array,s=Math.max;e.exports=function(e,t,n){for(var r=o(e),c=i(t,r),d=i(void 0===n?r:n,r),u=l(s(d-c,0)),f=0;c<d;c++,f++)a(u,f,e[c]);return u.length=f,u}},206:function(e,t,n){var r=n(1702);e.exports=r([].slice)},4362:function(e,t,n){var r=n(1589),i=Math.floor,o=function(e,t){var n=e.length,s=i(n/2);return n<8?a(e,t):l(e,o(r(e,0,s),t),o(r(e,s),t),t)},a=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},l=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,l=0;a<i||l<o;)e[a+l]=a<i&&l<o?r(t[a],n[l])<=0?t[a++]:n[l++]:a<i?t[a++]:n[l++];return e};e.exports=o},7475:function(e,t,n){var r=n(7854),i=n(3157),o=n(4411),a=n(111),l=n(5112)("species"),s=r.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,(o(t)&&(t===s||i(t.prototype))||a(t)&&null===(t=t[l]))&&(t=void 0)),void 0===t?s:t}},5417:function(e,t,n){var r=n(7475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},3411:function(e,t,n){var r=n(9670),i=n(9212);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},7072:function(e,t,n){var r=n(5112)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},4326:function(e,t,n){var r=n(1702),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},648:function(e,t,n){var r=n(7854),i=n(1694),o=n(614),a=n(4326),l=n(5112)("toStringTag"),s=r.Object,c="Arguments"==a(function(){return arguments}());e.exports=i?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),l))?n:c?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},5631:function(e,t,n){"use strict";var r=n(3070).f,i=n(30),o=n(2248),a=n(9974),l=n(5787),s=n(408),c=n(654),d=n(6340),u=n(9781),f=n(2423).fastKey,p=n(9909),h=p.set,g=p.getterFor;e.exports={getConstructor:function(e,t,n,c){var d=e((function(e,r){l(e,p),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),u||(e.size=0),null!=r&&s(r,e[c],{that:e,AS_ENTRIES:n})})),p=d.prototype,m=g(t),v=function(e,t,n){var r,i,o=m(e),a=y(e,t);return a?a.value=n:(o.last=a={index:i=f(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),u?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},y=function(e,t){var n,r=m(e),i=f(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(p,{clear:function(){for(var e=m(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,u?e.size=0:this.size=0},delete:function(e){var t=this,n=m(t),r=y(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),u?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=m(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),o(p,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),u&&r(p,"size",{get:function(){return m(this).size}}),d},setStrong:function(e,t,n){var r=t+" Iterator",i=g(t),o=g(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),d(t)}}},7710:function(e,t,n){"use strict";var r=n(2109),i=n(7854),o=n(1702),a=n(4705),l=n(1320),s=n(2423),c=n(408),d=n(5787),u=n(614),f=n(111),p=n(7293),h=n(7072),g=n(8003),m=n(9587);e.exports=function(e,t,n){var v=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),w=v?"set":"add",b=i[e],_=b&&b.prototype,x=b,z={},A=function(e){var t=o(_[e]);l(_,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(y&&!f(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return y&&!f(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!f(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!u(b)||!(y||_.forEach&&!p((function(){(new b).entries().next()})))))x=n.getConstructor(t,e,v,w),s.enable();else if(a(e,!0)){var S=new x,E=S[w](y?{}:-0,1)!=S,I=p((function(){S.has(1)})),P=h((function(e){new b(e)})),C=!y&&p((function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)}));P||((x=t((function(e,t){d(e,_);var n=m(new b,e,x);return null!=t&&c(t,n[w],{that:n,AS_ENTRIES:v}),n}))).prototype=_,_.constructor=x),(I||C)&&(A("delete"),A("has"),v&&A("get")),(C||E)&&A(w),y&&_.clear&&delete _.clear}return z[e]=x,r({global:!0,forced:x!=b},z),g(x,e),y||n.setStrong(x,e,v),x}},9920:function(e,t,n){var r=n(2597),i=n(3887),o=n(1236),a=n(3070);e.exports=function(e,t,n){for(var l=i(t),s=a.f,c=o.f,d=0;d<l.length;d++){var u=l[d];r(e,u)||n&&r(n,u)||s(e,u,c(t,u))}}},4964:function(e,t,n){var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8544:function(e,t,n){var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4230:function(e,t,n){var r=n(1702),i=n(4488),o=n(1340),a=/"/g,l=r("".replace);e.exports=function(e,t,n,r){var s=o(i(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+l(o(r),a,""")+'"'),c+">"+s+"</"+t+">"}},4994:function(e,t,n){"use strict";var r=n(3383).IteratorPrototype,i=n(30),o=n(9114),a=n(8003),l=n(7497),s=function(){return this};e.exports=function(e,t,n,c){var d=t+" Iterator";return e.prototype=i(r,{next:o(+!c,n)}),a(e,d,!1,!0),l[d]=s,e}},8880:function(e,t,n){var r=n(9781),i=n(3070),o=n(9114);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:function(e,t,n){"use strict";var r=n(4948),i=n(3070),o=n(9114);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},654:function(e,t,n){"use strict";var r=n(2109),i=n(6916),o=n(1913),a=n(6530),l=n(614),s=n(4994),c=n(9518),d=n(7674),u=n(8003),f=n(8880),p=n(1320),h=n(5112),g=n(7497),m=n(3383),v=a.PROPER,y=a.CONFIGURABLE,w=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,_=h("iterator"),x="keys",z="values",A="entries",S=function(){return this};e.exports=function(e,t,n,a,h,m,E){s(n,t,a);var I,P,C,T=function(e){if(e===h&&D)return D;if(!b&&e in R)return R[e];switch(e){case x:case z:case A:return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",O=!1,R=e.prototype,L=R[_]||R["@@iterator"]||h&&R[h],D=!b&&L||T(h),N="Array"==t&&R.entries||L;if(N&&(I=c(N.call(new e)))!==Object.prototype&&I.next&&(o||c(I)===w||(d?d(I,w):l(I[_])||p(I,_,S)),u(I,k,!0,!0),o&&(g[k]=S)),v&&h==z&&L&&L.name!==z&&(!o&&y?f(R,"name",z):(O=!0,D=function(){return i(L,this)})),h)if(P={values:T(z),keys:m?D:T(x),entries:T(A)},E)for(C in P)(b||O||!(C in R))&&p(R,C,P[C]);else r({target:t,proto:!0,forced:b||O},P);return o&&!E||R[_]===D||p(R,_,D,{name:h}),g[t]=D,P}},7235:function(e,t,n){var r=n(857),i=n(2597),o=n(6061),a=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},9781:function(e,t,n){var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(e,t,n){var r=n(7854),i=n(111),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},8324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(e,t,n){var r=n(317)("span").classList,i=r&&r.constructor&&r.constructor.prototype;e.exports=i===Object.prototype?void 0:i},8886:function(e,t,n){var r=n(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7871:function(e){e.exports="object"==typeof window},256:function(e,t,n){var r=n(8113);e.exports=/MSIE|Trident/.test(r)},1528:function(e,t,n){var r=n(8113),i=n(7854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},6833:function(e,t,n){var r=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:function(e,t,n){var r=n(4326),i=n(7854);e.exports="process"==r(i.process)},1036:function(e,t,n){var r=n(8113);e.exports=/web0s(?!.*chrome)/i.test(r)},8113:function(e,t,n){var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:function(e,t,n){var r,i,o=n(7854),a=n(8113),l=o.process,s=o.Deno,c=l&&l.versions||s&&s.version,d=c&&c.v8;d&&(i=(r=d.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},8008:function(e,t,n){var r=n(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),i=n(1236).f,o=n(8880),a=n(1320),l=n(3505),s=n(9920),c=n(4705);e.exports=function(e,t){var n,d,u,f,p,h=e.target,g=e.global,m=e.stat;if(n=g?r:m?r[h]||l(h,{}):(r[h]||{}).prototype)for(d in t){if(f=t[d],u=e.noTargetGet?(p=i(n,d))&&p.value:n[d],!c(g?d:h+(m?".":"#")+d,e.forced)&&void 0!==u){if(typeof f==typeof u)continue;s(f,u)}(e.sham||u&&u.sham)&&o(f,"sham",!0),a(n,d,f,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:function(e,t,n){"use strict";n(4916);var r=n(1702),i=n(1320),o=n(2261),a=n(7293),l=n(5112),s=n(8880),c=l("species"),d=RegExp.prototype;e.exports=function(e,t,n,u){var f=l(e),p=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!p||!h||n){var g=r(/./[f]),m=t(f,""[e],(function(e,t,n,i,a){var l=r(e),s=t.exec;return s===o||s===d.exec?p&&!a?{done:!0,value:g(t,n,i)}:{done:!0,value:l(n,t,i)}:{done:!1}}));i(String.prototype,e,m[0]),i(d,f,m[1])}u&&s(d[f],"sham",!0)}},6677:function(e,t,n){var r=n(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:function(e){var t=Function.prototype,n=t.apply,r=t.bind,i=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)})},9974:function(e,t,n){var r=n(1702),i=n(9662),o=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?o(e,t):function(){return e.apply(t,arguments)}}},6916:function(e){var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},6530:function(e,t,n){var r=n(9781),i=n(2597),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=i(o,"name"),s=l&&"something"===function(){}.name,c=l&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:l,PROPER:s,CONFIGURABLE:c}},1702:function(e){var t=Function.prototype,n=t.bind,r=t.call,i=n&&n.bind(r,r);e.exports=n?function(e){return e&&i(e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:function(e,t,n){var r=n(7854),i=n(614),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},1246:function(e,t,n){var r=n(648),i=n(8173),o=n(7497),a=n(5112)("iterator");e.exports=function(e){if(null!=e)return i(e,a)||i(e,"@@iterator")||o[r(e)]}},8554:function(e,t,n){var r=n(7854),i=n(6916),o=n(9662),a=n(9670),l=n(6330),s=n(1246),c=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return a(i(n,e));throw c(l(e)+" is not iterable")}},8173:function(e,t,n){var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},647:function(e,t,n){var r=n(1702),i=n(7908),o=Math.floor,a=r("".charAt),l=r("".replace),s=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,u,f){var p=n+e.length,h=r.length,g=d;return void 0!==u&&(u=i(u),g=c),l(f,g,(function(i,l){var c;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,n);case"'":return s(t,p);case"<":c=u[s(l,1,-1)];break;default:var d=+l;if(0===d)return i;if(d>h){var f=o(d/10);return 0===f?i:f<=h?void 0===r[f-1]?a(l,1):r[f-1]+a(l,1):i}c=r[d-1]}return void 0===c?"":c}))}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(e,t,n){var r=n(1702),i=n(7908),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},3501:function(e){e.exports={}},842:function(e,t,n){var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:function(e,t,n){var r=n(5005);e.exports=r("document","documentElement")},4664:function(e,t,n){var r=n(9781),i=n(7293),o=n(317);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1179:function(e,t,n){var r=n(7854).Array,i=Math.abs,o=Math.pow,a=Math.floor,l=Math.log,s=Math.LN2;e.exports={pack:function(e,t,n){var c,d,u,f=r(n),p=8*n-t-1,h=(1<<p)-1,g=h>>1,m=23===t?o(2,-24)-o(2,-77):0,v=e<0||0===e&&1/e<0?1:0,y=0;for((e=i(e))!=e||e===1/0?(d=e!=e?1:0,c=h):(c=a(l(e)/s),e*(u=o(2,-c))<1&&(c--,u*=2),(e+=c+g>=1?m/u:m*o(2,1-g))*u>=2&&(c++,u/=2),c+g>=h?(d=0,c=h):c+g>=1?(d=(e*u-1)*o(2,t),c+=g):(d=e*o(2,g-1)*o(2,t),c=0));t>=8;)f[y++]=255&d,d/=256,t-=8;for(c=c<<t|d,p+=t;p>0;)f[y++]=255&c,c/=256,p-=8;return f[--y]|=128*v,f},unpack:function(e,t){var n,r=e.length,i=8*r-t-1,a=(1<<i)-1,l=a>>1,s=i-7,c=r-1,d=e[c--],u=127&d;for(d>>=7;s>0;)u=256*u+e[c--],s-=8;for(n=u&(1<<-s)-1,u>>=-s,s+=t;s>0;)n=256*n+e[c--],s-=8;if(0===u)u=1-l;else{if(u===a)return n?NaN:d?-1/0:1/0;n+=o(2,t),u-=l}return(d?-1:1)*n*o(2,u-t)}}},8361:function(e,t,n){var r=n(7854),i=n(1702),o=n(7293),a=n(4326),l=r.Object,s=i("".split);e.exports=o((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?s(e,""):l(e)}:l},9587:function(e,t,n){var r=n(614),i=n(111),o=n(7674);e.exports=function(e,t,n){var a,l;return o&&r(a=t.constructor)&&a!==n&&i(l=a.prototype)&&l!==n.prototype&&o(e,l),e}},2788:function(e,t,n){var r=n(1702),i=n(614),o=n(5465),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},2423:function(e,t,n){var r=n(2109),i=n(1702),o=n(3501),a=n(111),l=n(2597),s=n(3070).f,c=n(8006),d=n(1156),u=n(2050),f=n(9711),p=n(6677),h=!1,g=f("meta"),m=0,v=function(e){s(e,g,{value:{objectID:"O"+m++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=c.f,t=i([].splice),n={};n[g]=1,e(n).length&&(c.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===g){t(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:d.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!l(e,g)){if(!u(e))return"F";if(!t)return"E";v(e)}return e[g].objectID},getWeakData:function(e,t){if(!l(e,g)){if(!u(e))return!0;if(!t)return!1;v(e)}return e[g].weakData},onFreeze:function(e){return p&&h&&u(e)&&!l(e,g)&&v(e),e}};o[g]=!0},9909:function(e,t,n){var r,i,o,a=n(8536),l=n(7854),s=n(1702),c=n(111),d=n(8880),u=n(2597),f=n(5465),p=n(6200),h=n(3501),g="Object already initialized",m=l.TypeError,v=l.WeakMap;if(a||f.state){var y=f.state||(f.state=new v),w=s(y.get),b=s(y.has),_=s(y.set);r=function(e,t){if(b(y,e))throw new m(g);return t.facade=e,_(y,e,t),t},i=function(e){return w(y,e)||{}},o=function(e){return b(y,e)}}else{var x=p("state");h[x]=!0,r=function(e,t){if(u(e,x))throw new m(g);return t.facade=e,d(e,x,t),t},i=function(e){return u(e,x)?e[x]:{}},o=function(e){return u(e,x)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},7659:function(e,t,n){var r=n(5112),i=n(7497),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:function(e){e.exports=function(e){return"function"==typeof e}},4411:function(e,t,n){var r=n(1702),i=n(7293),o=n(614),a=n(648),l=n(5005),s=n(2788),c=function(){},d=[],u=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),h=!f.exec(c),g=function(e){if(!o(e))return!1;try{return u(c,d,e),!0}catch(e){return!1}},m=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(f,s(e))}catch(e){return!0}};m.sham=!0,e.exports=!u||i((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?m:g},4705:function(e,t,n){var r=n(7293),i=n(614),o=/#|\.prototype\./,a=function(e,t){var n=s[l(e)];return n==d||n!=c&&(i(t)?r(t):!!t)},l=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",d=a.POLYFILL="P";e.exports=a},5988:function(e,t,n){var r=n(111),i=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&i(e)===e}},111:function(e,t,n){var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:function(e){e.exports=!1},7850:function(e,t,n){var r=n(111),i=n(4326),o=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},2190:function(e,t,n){var r=n(7854),i=n(5005),o=n(614),a=n(7976),l=n(3307),s=r.Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&a(t.prototype,s(e))}},408:function(e,t,n){var r=n(7854),i=n(9974),o=n(6916),a=n(9670),l=n(6330),s=n(7659),c=n(6244),d=n(7976),u=n(8554),f=n(1246),p=n(9212),h=r.TypeError,g=function(e,t){this.stopped=e,this.result=t},m=g.prototype;e.exports=function(e,t,n){var r,v,y,w,b,_,x,z=n&&n.that,A=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),I=i(t,z),P=function(e){return r&&p(r,"normal",e),new g(!0,e)},C=function(e){return A?(a(e),E?I(e[0],e[1],P):I(e[0],e[1])):E?I(e,P):I(e)};if(S)r=e;else{if(!(v=f(e)))throw h(l(e)+" is not iterable");if(s(v)){for(y=0,w=c(e);w>y;y++)if((b=C(e[y]))&&d(m,b))return b;return new g(!1)}r=u(e,v)}for(_=r.next;!(x=o(_,r)).done;){try{b=C(x.value)}catch(e){p(r,"throw",e)}if("object"==typeof b&&b&&d(m,b))return b}return new g(!1)}},9212:function(e,t,n){var r=n(6916),i=n(9670),o=n(8173);e.exports=function(e,t,n){var a,l;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===t)throw n;if(l)throw a;return i(a),n}},3383:function(e,t,n){"use strict";var r,i,o,a=n(7293),l=n(614),s=n(30),c=n(9518),d=n(1320),u=n(5112),f=n(1913),p=u("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):h=!0),null==r||a((function(){var e={};return r[p].call(e)!==e}))?r={}:f&&(r=s(r)),l(r[p])||d(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:function(e){e.exports={}},6244:function(e,t,n){var r=n(7466);e.exports=function(e){return r(e.length)}},5948:function(e,t,n){var r,i,o,a,l,s,c,d,u=n(7854),f=n(9974),p=n(1236).f,h=n(261).set,g=n(6833),m=n(1528),v=n(1036),y=n(5268),w=u.MutationObserver||u.WebKitMutationObserver,b=u.document,_=u.process,x=u.Promise,z=p(u,"queueMicrotask"),A=z&&z.value;A||(r=function(){var e,t;for(y&&(e=_.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},g||y||v||!w||!b?!m&&x&&x.resolve?((c=x.resolve(void 0)).constructor=x,d=f(c.then,c),a=function(){d(r)}):y?a=function(){_.nextTick(r)}:(h=f(h,u),a=function(){h(r)}):(l=!0,s=b.createTextNode(""),new w(r).observe(s,{characterData:!0}),a=function(){s.data=l=!l})),e.exports=A||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},3366:function(e,t,n){var r=n(7854);e.exports=r.Promise},133:function(e,t,n){var r=n(7392),i=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},590:function(e,t,n){var r=n(7293),i=n(5112),o=n(1913),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(e,t,n){var r=n(7854),i=n(614),o=n(2788),a=r.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},8523:function(e,t,n){"use strict";var r=n(9662),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},3929:function(e,t,n){var r=n(7854),i=n(7850),o=r.TypeError;e.exports=function(e){if(i(e))throw o("The method doesn't accept regular expressions");return e}},7023:function(e,t,n){var r=n(7854).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},1574:function(e,t,n){"use strict";var r=n(9781),i=n(1702),o=n(6916),a=n(7293),l=n(1956),s=n(5181),c=n(5296),d=n(7908),u=n(8361),f=Object.assign,p=Object.defineProperty,h=i([].concat);e.exports=!f||a((function(){if(r&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||l(f({},t)).join("")!=i}))?function(e,t){for(var n=d(e),i=arguments.length,a=1,f=s.f,p=c.f;i>a;)for(var g,m=u(arguments[a++]),v=f?h(l(m),f(m)):l(m),y=v.length,w=0;y>w;)g=v[w++],r&&!o(p,m,g)||(n[g]=m[g]);return n}:f},30:function(e,t,n){var r,i=n(9670),o=n(6048),a=n(748),l=n(3501),s=n(490),c=n(317),d=n(6200)("IE_PROTO"),u=function(){},f=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},h=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;h="undefined"!=typeof document?document.domain&&r?p(r):((t=c("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):p(r);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};l[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=i(e),n=new u,u.prototype=null,n[d]=e):n=h(),void 0===t?n:o.f(n,t)}},6048:function(e,t,n){var r=n(9781),i=n(3353),o=n(3070),a=n(9670),l=n(5656),s=n(1956);t.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=l(t),i=s(t),c=i.length,d=0;c>d;)o.f(e,n=i[d++],r[n]);return e}},3070:function(e,t,n){var r=n(7854),i=n(9781),o=n(4664),a=n(3353),l=n(9670),s=n(4948),c=r.TypeError,d=Object.defineProperty,u=Object.getOwnPropertyDescriptor;t.f=i?a?function(e,t,n){if(l(e),t=s(t),l(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=u(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return d(e,t,n)}:d:function(e,t,n){if(l(e),t=s(t),l(n),o)try{return d(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),i=n(6916),o=n(5296),a=n(9114),l=n(5656),s=n(4948),c=n(2597),d=n(4664),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=l(e),t=s(t),d)try{return u(e,t)}catch(e){}if(c(e,t))return a(!i(o.f,e,t),e[t])}},1156:function(e,t,n){var r=n(4326),i=n(5656),o=n(8006).f,a=n(1589),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"==r(e)?function(e){try{return o(e)}catch(e){return a(l)}}(e):o(i(e))}},8006:function(e,t,n){var r=n(6324),i=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},9518:function(e,t,n){var r=n(7854),i=n(2597),o=n(614),a=n(7908),l=n(6200),s=n(8544),c=l("IE_PROTO"),d=r.Object,u=d.prototype;e.exports=s?d.getPrototypeOf:function(e){var t=a(e);if(i(t,c))return t[c];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof d?u:null}},2050:function(e,t,n){var r=n(7293),i=n(111),o=n(4326),a=n(7556),l=Object.isExtensible,s=r((function(){l(1)}));e.exports=s||a?function(e){return!!i(e)&&(!a||"ArrayBuffer"!=o(e))&&(!l||l(e))}:l},7976:function(e,t,n){var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:function(e,t,n){var r=n(1702),i=n(2597),o=n(5656),a=n(1318).indexOf,l=n(3501),s=r([].push);e.exports=function(e,t){var n,r=o(e),c=0,d=[];for(n in r)!i(l,n)&&i(r,n)&&s(d,n);for(;t.length>c;)i(r,n=t[c++])&&(~a(d,n)||s(d,n));return d}},1956:function(e,t,n){var r=n(6324),i=n(748);e.exports=Object.keys||function(e){return r(e,i)}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:function(e,t,n){var r=n(1702),i=n(9670),o=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},4699:function(e,t,n){var r=n(9781),i=n(1702),o=n(1956),a=n(5656),l=i(n(5296).f),s=i([].push),c=function(e){return function(t){for(var n,i=a(t),c=o(i),d=c.length,u=0,f=[];d>u;)n=c[u++],r&&!l(i,n)||s(f,e?[n,i[n]]:i[n]);return f}};e.exports={entries:c(!0),values:c(!1)}},288:function(e,t,n){"use strict";var r=n(1694),i=n(648);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},2140:function(e,t,n){var r=n(7854),i=n(6916),o=n(614),a=n(111),l=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&o(n=e.toString)&&!a(r=i(n,e)))return r;if(o(n=e.valueOf)&&!a(r=i(n,e)))return r;if("string"!==t&&o(n=e.toString)&&!a(r=i(n,e)))return r;throw l("Can't convert object to primitive value")}},3887:function(e,t,n){var r=n(5005),i=n(1702),o=n(8006),a=n(5181),l=n(9670),s=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(l(e)),n=a.f;return n?s(t,n(e)):t}},857:function(e,t,n){var r=n(7854);e.exports=r},2534:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9478:function(e,t,n){var r=n(9670),i=n(111),o=n(8523);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},8572:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},2248:function(e,t,n){var r=n(1320);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},1320:function(e,t,n){var r=n(7854),i=n(614),o=n(2597),a=n(8880),l=n(3505),s=n(2788),c=n(9909),d=n(6530).CONFIGURABLE,u=c.get,f=c.enforce,p=String(String).split("String");(e.exports=function(e,t,n,s){var c,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,g=!!s&&!!s.noTargetGet,m=s&&void 0!==s.name?s.name:t;i(n)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||d&&n.name!==m)&&a(n,"name",m),(c=f(n)).source||(c.source=p.join("string"==typeof m?m:""))),e!==r?(u?!g&&e[t]&&(h=!0):delete e[t],h?e[t]=n:a(e,t,n)):h?e[t]=n:l(t,n)})(Function.prototype,"toString",(function(){return i(this)&&u(this).source||s(this)}))},7651:function(e,t,n){var r=n(7854),i=n(6916),o=n(9670),a=n(614),l=n(4326),s=n(2261),c=r.TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var r=i(n,e,t);return null!==r&&o(r),r}if("RegExp"===l(e))return i(s,e,t);throw c("RegExp#exec called on incompatible receiver")}},2261:function(e,t,n){"use strict";var r,i,o=n(6916),a=n(1702),l=n(1340),s=n(7066),c=n(2999),d=n(2309),u=n(30),f=n(9909).get,p=n(9441),h=n(7168),g=d("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,v=m,y=a("".charAt),w=a("".indexOf),b=a("".replace),_=a("".slice),x=(i=/b*/g,o(m,r=/a/,"a"),o(m,i,"a"),0!==r.lastIndex||0!==i.lastIndex),z=c.BROKEN_CARET,A=void 0!==/()??/.exec("")[1];(x||A||z||p||h)&&(v=function(e){var t,n,r,i,a,c,d,p=this,h=f(p),S=l(e),E=h.raw;if(E)return E.lastIndex=p.lastIndex,t=o(v,E,S),p.lastIndex=E.lastIndex,t;var I=h.groups,P=z&&p.sticky,C=o(s,p),T=p.source,k=0,O=S;if(P&&(C=b(C,"y",""),-1===w(C,"g")&&(C+="g"),O=_(S,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==y(S,p.lastIndex-1))&&(T="(?: "+T+")",O=" "+O,k++),n=new RegExp("^(?:"+T+")",C)),A&&(n=new RegExp("^"+T+"$(?!\\s)",C)),x&&(r=p.lastIndex),i=o(m,P?n:p,O),P?i?(i.input=_(i.input,k),i[0]=_(i[0],k),i.index=p.lastIndex,p.lastIndex+=i[0].length):p.lastIndex=0:x&&i&&(p.lastIndex=p.global?i.index+i[0].length:r),A&&i&&i.length>1&&o(g,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&I)for(i.groups=c=u(null),a=0;a<I.length;a++)c[(d=I[a])[0]]=i[d[1]];return i}),e.exports=v},7066:function(e,t,n){"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:function(e,t,n){var r=n(7293),i=n(7854).RegExp,o=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),l=o||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:o}},9441:function(e,t,n){var r=n(7293),i=n(7854).RegExp;e.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:function(e,t,n){var r=n(7293),i=n(7854).RegExp;e.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:function(e,t,n){var r=n(7854).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},1150:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},3505:function(e,t,n){var r=n(7854),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6340:function(e,t,n){"use strict";var r=n(5005),i=n(3070),o=n(5112),a=n(9781),l=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[l]&&n(t,l,{configurable:!0,get:function(){return this}})}},8003:function(e,t,n){var r=n(3070).f,i=n(2597),o=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},6200:function(e,t,n){var r=n(2309),i=n(9711),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},5465:function(e,t,n){var r=n(7854),i=n(3505),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},2309:function(e,t,n){var r=n(1913),i=n(5465);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.20.2",mode:r?"pure":"global",copyright:"© 2022 Denis Pushkarev (zloirock.ru)"})},6707:function(e,t,n){var r=n(9670),i=n(9483),o=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},3429:function(e,t,n){var r=n(7293);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},8710:function(e,t,n){var r=n(1702),i=n(9303),o=n(1340),a=n(4488),l=r("".charAt),s=r("".charCodeAt),c=r("".slice),d=function(e){return function(t,n){var r,d,u=o(a(t)),f=i(n),p=u.length;return f<0||f>=p?e?"":void 0:(r=s(u,f))<55296||r>56319||f+1===p||(d=s(u,f+1))<56320||d>57343?e?l(u,f):r:e?c(u,f,f+2):d-56320+(r-55296<<10)+65536}};e.exports={codeAt:d(!1),charAt:d(!0)}},4986:function(e,t,n){var r=n(8113);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},6650:function(e,t,n){var r=n(1702),i=n(7466),o=n(1340),a=n(8415),l=n(4488),s=r(a),c=r("".slice),d=Math.ceil,u=function(e){return function(t,n,r){var a,u,f=o(l(t)),p=i(n),h=f.length,g=void 0===r?" ":o(r);return p<=h||""==g?f:((u=s(g,d((a=p-h)/g.length))).length>a&&(u=c(u,0,a)),e?f+u:u+f)}};e.exports={start:u(!1),end:u(!0)}},3197:function(e,t,n){"use strict";var r=n(7854),i=n(1702),o=2147483647,a=/[^\0-\u007E]/,l=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",c=r.RangeError,d=i(l.exec),u=Math.floor,f=String.fromCharCode,p=i("".charCodeAt),h=i([].join),g=i([].push),m=i("".replace),v=i("".split),y=i("".toLowerCase),w=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),r+=36;return u(r+36*e/(e+38))},_=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=p(e,n++);if(i>=55296&&i<=56319&&n<r){var o=p(e,n++);56320==(64512&o)?g(t,((1023&i)<<10)+(1023&o)+65536):(g(t,i),n--)}else g(t,i)}return t}(e);var n,r,i=e.length,a=128,l=0,d=72;for(n=0;n<e.length;n++)(r=e[n])<128&&g(t,f(r));var m=t.length,v=m;for(m&&g(t,"-");v<i;){var y=o;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<y&&(y=r);var _=v+1;if(y-a>u((o-l)/_))throw c(s);for(l+=(y-a)*_,a=y,n=0;n<e.length;n++){if((r=e[n])<a&&++l>o)throw c(s);if(r==a){for(var x=l,z=36;;){var A=z<=d?1:z>=d+26?26:z-d;if(x<A)break;var S=x-A,E=36-A;g(t,f(w(A+S%E))),x=u(S/E),z+=36}g(t,f(w(x))),d=b(l,_,v==m),l=0,v++}}l++,a++}return h(t,"")};e.exports=function(e){var t,n,r=[],i=v(m(y(e),l,"."),".");for(t=0;t<i.length;t++)n=i[t],g(r,d(a,n)?"xn--"+_(n):n);return h(r,".")}},8415:function(e,t,n){"use strict";var r=n(7854),i=n(9303),o=n(1340),a=n(4488),l=r.RangeError;e.exports=function(e){var t=o(a(this)),n="",r=i(e);if(r<0||r==1/0)throw l("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},6091:function(e,t,n){var r=n(6530).PROPER,i=n(7293),o=n(1361);e.exports=function(e){return i((function(){return!!o[e]()||"
"!=="
"[e]()||r&&o[e].name!==e}))}},3111:function(e,t,n){var r=n(1702),i=n(4488),o=n(1340),a=n(1361),l=r("".replace),s="["+a+"]",c=RegExp("^"+s+s+"*"),d=RegExp(s+s+"*$"),u=function(e){return function(t){var n=o(i(t));return 1&e&&(n=l(n,c,"")),2&e&&(n=l(n,d,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},261:function(e,t,n){var r,i,o,a,l=n(7854),s=n(2104),c=n(9974),d=n(614),u=n(2597),f=n(7293),p=n(490),h=n(206),g=n(317),m=n(6833),v=n(5268),y=l.setImmediate,w=l.clearImmediate,b=l.process,_=l.Dispatch,x=l.Function,z=l.MessageChannel,A=l.String,S=0,E={};try{r=l.location}catch(e){}var I=function(e){if(u(E,e)){var t=E[e];delete E[e],t()}},P=function(e){return function(){I(e)}},C=function(e){I(e.data)},T=function(e){l.postMessage(A(e),r.protocol+"//"+r.host)};y&&w||(y=function(e){var t=h(arguments,1);return E[++S]=function(){s(d(e)?e:x(e),void 0,t)},i(S),S},w=function(e){delete E[e]},v?i=function(e){b.nextTick(P(e))}:_&&_.now?i=function(e){_.now(P(e))}:z&&!m?(a=(o=new z).port2,o.port1.onmessage=C,i=c(a.postMessage,a)):l.addEventListener&&d(l.postMessage)&&!l.importScripts&&r&&"file:"!==r.protocol&&!f(T)?(i=T,l.addEventListener("message",C,!1)):i="onreadystatechange"in g("script")?function(e){p.appendChild(g("script")).onreadystatechange=function(){p.removeChild(this),I(e)}}:function(e){setTimeout(P(e),0)}),e.exports={set:y,clear:w}},863:function(e,t,n){var r=n(1702);e.exports=r(1..valueOf)},1400:function(e,t,n){var r=n(9303),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},7067:function(e,t,n){var r=n(7854),i=n(9303),o=n(7466),a=r.RangeError;e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=o(t);if(t!==n)throw a("Wrong length or index");return n}},5656:function(e,t,n){var r=n(8361),i=n(4488);e.exports=function(e){return r(i(e))}},9303:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){var r=+e;return r!=r||0===r?0:(r>0?n:t)(r)}},7466:function(e,t,n){var r=n(9303),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(7854),i=n(4488),o=r.Object;e.exports=function(e){return o(i(e))}},4590:function(e,t,n){var r=n(7854),i=n(3002),o=r.RangeError;e.exports=function(e,t){var n=i(e);if(n%t)throw o("Wrong offset");return n}},3002:function(e,t,n){var r=n(7854),i=n(9303),o=r.RangeError;e.exports=function(e){var t=i(e);if(t<0)throw o("The argument can't be less than 0");return t}},7593:function(e,t,n){var r=n(7854),i=n(6916),o=n(111),a=n(2190),l=n(8173),s=n(2140),c=n(5112),d=r.TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,r=l(e,u);if(r){if(void 0===t&&(t="default"),n=i(r,e,t),!o(n)||a(n))return n;throw d("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},4948:function(e,t,n){var r=n(7593),i=n(2190);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},1694:function(e,t,n){var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:function(e,t,n){var r=n(7854),i=n(648),o=r.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},6330:function(e,t,n){var r=n(7854).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},9843:function(e,t,n){"use strict";var r=n(2109),i=n(7854),o=n(6916),a=n(9781),l=n(3832),s=n(260),c=n(3331),d=n(5787),u=n(9114),f=n(8880),p=n(5988),h=n(7466),g=n(7067),m=n(4590),v=n(4948),y=n(2597),w=n(648),b=n(111),_=n(2190),x=n(30),z=n(7976),A=n(7674),S=n(8006).f,E=n(7321),I=n(2092).forEach,P=n(6340),C=n(3070),T=n(1236),k=n(9909),O=n(9587),R=k.get,L=k.set,D=C.f,N=T.f,M=Math.round,j=i.RangeError,U=c.ArrayBuffer,q=U.prototype,F=c.DataView,H=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_CONSTRUCTOR,V=s.TYPED_ARRAY_TAG,G=s.TypedArray,W=s.TypedArrayPrototype,J=s.aTypedArrayConstructor,$=s.isTypedArray,Y="BYTES_PER_ELEMENT",Q="Wrong length",K=function(e,t){J(e);for(var n=0,r=t.length,i=new e(r);r>n;)i[n]=t[n++];return i},X=function(e,t){D(e,t,{get:function(){return R(this)[t]}})},Z=function(e){var t;return z(q,e)||"ArrayBuffer"==(t=w(e))||"SharedArrayBuffer"==t},ee=function(e,t){return $(e)&&!_(t)&&t in e&&p(+t)&&t>=0},te=function(e,t){return t=v(t),ee(e,t)?u(2,e[t]):N(e,t)},ne=function(e,t,n){return t=v(t),!(ee(e,t)&&b(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?D(e,t,n):(e[t]=n.value,e)};a?(H||(T.f=te,C.f=ne,X(W,"buffer"),X(W,"byteOffset"),X(W,"byteLength"),X(W,"length")),r({target:"Object",stat:!0,forced:!H},{getOwnPropertyDescriptor:te,defineProperty:ne}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",c="get"+e,u="set"+e,p=i[s],v=p,y=v&&v.prototype,w={},_=function(e,t){D(e,t,{get:function(){return function(e,t){var n=R(e);return n.view[c](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var i=R(e);n&&(r=(r=M(r))<0?0:r>255?255:255&r),i.view[u](t*a+i.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};H?l&&(v=t((function(e,t,n,r){return d(e,y),O(b(t)?Z(t)?void 0!==r?new p(t,m(n,a),r):void 0!==n?new p(t,m(n,a)):new p(t):$(t)?K(v,t):o(E,v,t):new p(g(t)),e,v)})),A&&A(v,G),I(S(p),(function(e){e in v||f(v,e,p[e])})),v.prototype=y):(v=t((function(e,t,n,r){d(e,y);var i,l,s,c=0,u=0;if(b(t)){if(!Z(t))return $(t)?K(v,t):o(E,v,t);i=t,u=m(n,a);var f=t.byteLength;if(void 0===r){if(f%a)throw j(Q);if((l=f-u)<0)throw j(Q)}else if((l=h(r)*a)+u>f)throw j(Q);s=l/a}else s=g(t),i=new U(l=s*a);for(L(e,{buffer:i,byteOffset:u,byteLength:l,length:s,view:new F(i)});c<s;)_(e,c++)})),A&&A(v,G),y=v.prototype=x(W)),y.constructor!==v&&f(y,"constructor",v),f(y,B,v),V&&f(y,V,s),w[s]=v,r({global:!0,forced:v!=p,sham:!H},w),Y in v||f(v,Y,a),Y in y||f(y,Y,a),P(s)}):e.exports=function(){}},3832:function(e,t,n){var r=n(7854),i=n(7293),o=n(7072),a=n(260).NATIVE_ARRAY_BUFFER_VIEWS,l=r.ArrayBuffer,s=r.Int8Array;e.exports=!a||!i((function(){s(1)}))||!i((function(){new s(-1)}))||!o((function(e){new s,new s(null),new s(1.5),new s(e)}),!0)||i((function(){return 1!==new s(new l(2),1,void 0).length}))},3074:function(e,t,n){var r=n(7745),i=n(6304);e.exports=function(e,t){return r(i(e),t)}},7321:function(e,t,n){var r=n(9974),i=n(6916),o=n(9483),a=n(7908),l=n(6244),s=n(8554),c=n(1246),d=n(7659),u=n(260).aTypedArrayConstructor;e.exports=function(e){var t,n,f,p,h,g,m=o(this),v=a(e),y=arguments.length,w=y>1?arguments[1]:void 0,b=void 0!==w,_=c(v);if(_&&!d(_))for(g=(h=s(v,_)).next,v=[];!(p=i(g,h)).done;)v.push(p.value);for(b&&y>2&&(w=r(w,arguments[2])),n=l(v),f=new(u(m))(n),t=0;n>t;t++)f[t]=b?w(v[t],t):v[t];return f}},6304:function(e,t,n){var r=n(260),i=n(6707),o=r.TYPED_ARRAY_CONSTRUCTOR,a=r.aTypedArrayConstructor;e.exports=function(e){return a(i(e,e[o]))}},9711:function(e,t,n){var r=n(1702),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},3307:function(e,t,n){var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,n){var r=n(9781),i=n(7293);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},6061:function(e,t,n){var r=n(5112);t.f=r},5112:function(e,t,n){var r=n(7854),i=n(2309),o=n(2597),a=n(9711),l=n(133),s=n(3307),c=i("wks"),d=r.Symbol,u=d&&d.for,f=s?d:d&&d.withoutSetter||a;e.exports=function(e){if(!o(c,e)||!l&&"string"!=typeof c[e]){var t="Symbol."+e;l&&o(d,e)?c[e]=d[e]:c[e]=s&&u?u(t):f(t)}return c[e]}},1361:function(e){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},9575:function(e,t,n){"use strict";var r=n(2109),i=n(1702),o=n(7293),a=n(3331),l=n(9670),s=n(1400),c=n(7466),d=n(6707),u=a.ArrayBuffer,f=a.DataView,p=f.prototype,h=i(u.prototype.slice),g=i(p.getUint8),m=i(p.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new u(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(l(this),e);for(var n=l(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),o=new(d(this,u))(c(i-r)),a=new f(this),p=new f(o),v=0;r<i;)m(p,v++,g(a,r++));return o}})},2222:function(e,t,n){"use strict";var r=n(2109),i=n(7854),o=n(7293),a=n(3157),l=n(111),s=n(7908),c=n(6244),d=n(6135),u=n(5417),f=n(1194),p=n(5112),h=n(7392),g=p("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",y=i.TypeError,w=h>=51||!o((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),b=f("concat"),_=function(e){if(!l(e))return!1;var t=e[g];return void 0!==t?!!t:a(e)};r({target:"Array",proto:!0,forced:!w||!b},{concat:function(e){var t,n,r,i,o,a=s(this),l=u(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(_(o=-1===t?a:arguments[t])){if(f+(i=c(o))>m)throw y(v);for(n=0;n<i;n++,f++)n in o&&d(l,f,o[n])}else{if(f>=m)throw y(v);d(l,f++,o)}return l.length=f,l}})},7327:function(e,t,n){"use strict";var r=n(2109),i=n(2092).filter;r({target:"Array",proto:!0,forced:!n(1194)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},9826:function(e,t,n){"use strict";var r=n(2109),i=n(2092).find,o=n(1223),a="find",l=!0;a in[]&&Array(1).find((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},1038:function(e,t,n){var r=n(2109),i=n(8457);r({target:"Array",stat:!0,forced:!n(7072)((function(e){Array.from(e)}))},{from:i})},6699:function(e,t,n){"use strict";var r=n(2109),i=n(1318).includes,o=n(1223);r({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},6992:function(e,t,n){"use strict";var r=n(5656),i=n(1223),o=n(7497),a=n(9909),l=n(3070).f,s=n(654),c=n(1913),d=n(9781),u="Array Iterator",f=a.set,p=a.getterFor(u);e.exports=s(Array,"Array",(function(e,t){f(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},9600:function(e,t,n){"use strict";var r=n(2109),i=n(1702),o=n(8361),a=n(5656),l=n(9341),s=i([].join),c=o!=Object,d=l("join",",");r({target:"Array",proto:!0,forced:c||!d},{join:function(e){return s(a(this),void 0===e?",":e)}})},1249:function(e,t,n){"use strict";var r=n(2109),i=n(2092).map;r({target:"Array",proto:!0,forced:!n(1194)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},7042:function(e,t,n){"use strict";var r=n(2109),i=n(7854),o=n(3157),a=n(4411),l=n(111),s=n(1400),c=n(6244),d=n(5656),u=n(6135),f=n(5112),p=n(1194),h=n(206),g=p("slice"),m=f("species"),v=i.Array,y=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,t){var n,r,i,f=d(this),p=c(f),g=s(e,p),w=s(void 0===t?p:t,p);if(o(f)&&(n=f.constructor,(a(n)&&(n===v||o(n.prototype))||l(n)&&null===(n=n[m]))&&(n=void 0),n===v||void 0===n))return h(f,g,w);for(r=new(void 0===n?v:n)(y(w-g,0)),i=0;g<w;g++,i++)g in f&&u(r,i,f[g]);return r.length=i,r}})},2707:function(e,t,n){"use strict";var r=n(2109),i=n(1702),o=n(9662),a=n(7908),l=n(6244),s=n(1340),c=n(7293),d=n(4362),u=n(9341),f=n(8886),p=n(256),h=n(7392),g=n(8008),m=[],v=i(m.sort),y=i(m.push),w=c((function(){m.sort(void 0)})),b=c((function(){m.sort(null)})),_=u("sort"),x=!c((function(){if(h)return h<70;if(!(f&&f>3)){if(p)return!0;if(g)return g<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort((function(e,t){return t.v-e.v})),r=0;r<m.length;r++)t=m[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:w||!b||!_||!x},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(x)return void 0===e?v(t):v(t,e);var n,r,i=[],c=l(t);for(r=0;r<c;r++)r in t&&y(i,t[r]);for(d(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}}(e)),n=i.length,r=0;r<n;)t[r]=i[r++];for(;r<c;)delete t[r++];return t}})},8309:function(e,t,n){var r=n(9781),i=n(6530).EXISTS,o=n(1702),a=n(3070).f,l=Function.prototype,s=o(l.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,d=o(c.exec);r&&!i&&a(l,"name",{configurable:!0,get:function(){try{return d(c,s(this))[1]}catch(e){return""}}})},5837:function(e,t,n){n(2109)({global:!0},{globalThis:n(7854)})},1532:function(e,t,n){"use strict";n(7710)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(5631))},9653:function(e,t,n){"use strict";var r=n(9781),i=n(7854),o=n(1702),a=n(4705),l=n(1320),s=n(2597),c=n(9587),d=n(7976),u=n(2190),f=n(7593),p=n(7293),h=n(8006).f,g=n(1236).f,m=n(3070).f,v=n(863),y=n(3111).trim,w="Number",b=i.Number,_=b.prototype,x=i.TypeError,z=o("".slice),A=o("".charCodeAt),S=function(e){var t=f(e,"number");return"bigint"==typeof t?t:E(t)},E=function(e){var t,n,r,i,o,a,l,s,c=f(e,"number");if(u(c))throw x("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=y(c),43===(t=A(c,0))||45===t){if(88===(n=A(c,2))||120===n)return NaN}else if(48===t){switch(A(c,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=(o=z(c,2)).length,l=0;l<a;l++)if((s=A(o,l))<48||s>i)return NaN;return parseInt(o,r)}return+c};if(a(w,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var I,P=function(e){var t=arguments.length<1?0:b(S(e)),n=this;return d(_,n)&&p((function(){v(n)}))?c(Object(t),n,P):t},C=r?h(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),T=0;C.length>T;T++)s(b,I=C[T])&&!s(P,I)&&m(P,I,g(b,I));P.prototype=_,_.constructor=P,l(i,w,P)}},5192:function(e,t,n){n(2109)({target:"Number",stat:!0},{isFinite:n(7023)})},3161:function(e,t,n){n(2109)({target:"Number",stat:!0},{isInteger:n(5988)})},6977:function(e,t,n){"use strict";var r=n(2109),i=n(7854),o=n(1702),a=n(9303),l=n(863),s=n(8415),c=n(7293),d=i.RangeError,u=i.String,f=Math.floor,p=o(s),h=o("".slice),g=o(1..toFixed),m=function(e,t,n){return 0===t?n:t%2==1?m(e,t-1,n*e):m(e*e,t/2,n)},v=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=f(i/1e7)},y=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=f(r/t),r=r%t*1e7},w=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=u(e[t]);n=""===n?r:n+p("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:c((function(){return"0.000"!==g(8e-5,3)||"1"!==g(.9,0)||"1.25"!==g(1.255,2)||"1000000000000000128"!==g(0xde0b6b3a7640080,0)}))||!c((function(){g({})}))},{toFixed:function(e){var t,n,r,i,o=l(this),s=a(e),c=[0,0,0,0,0,0],f="",g="0";if(s<0||s>20)throw d("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return u(o);if(o<0&&(f="-",o=-o),o>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*m(2,69,1))-69)<0?o*m(2,-t,1):o/m(2,t,1),n*=4503599627370496,(t=52-t)>0){for(v(c,0,n),r=s;r>=7;)v(c,1e7,0),r-=7;for(v(c,m(10,r,1),0),r=t-1;r>=23;)y(c,1<<23),r-=23;y(c,1<<r),v(c,1,1),y(c,2),g=w(c)}else v(c,0,n),v(c,1<<-t,0),g=w(c)+p("0",s);return s>0?f+((i=g.length)<=s?"0."+p("0",s-i)+g:h(g,0,i-s)+"."+h(g,i-s)):f+g}})},9601:function(e,t,n){var r=n(2109),i=n(1574);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},9720:function(e,t,n){var r=n(2109),i=n(4699).entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},3371:function(e,t,n){var r=n(2109),i=n(6677),o=n(7293),a=n(111),l=n(2423).onFreeze,s=Object.freeze;r({target:"Object",stat:!0,forced:o((function(){s(1)})),sham:!i},{freeze:function(e){return s&&a(e)?s(l(e)):e}})},5003:function(e,t,n){var r=n(2109),i=n(7293),o=n(5656),a=n(1236).f,l=n(9781),s=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!l||s,sham:!l},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},9337:function(e,t,n){var r=n(2109),i=n(9781),o=n(3887),a=n(5656),l=n(1236),s=n(6135);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=l.f,c=o(r),d={},u=0;c.length>u;)void 0!==(n=i(r,t=c[u++]))&&s(d,t,n);return d}})},6210:function(e,t,n){var r=n(2109),i=n(7293),o=n(1156).f;r({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},7941:function(e,t,n){var r=n(2109),i=n(7908),o=n(1956);r({target:"Object",stat:!0,forced:n(7293)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},1539:function(e,t,n){var r=n(1694),i=n(1320),o=n(288);r||i(Object.prototype,"toString",o,{unsafe:!0})},2479:function(e,t,n){var r=n(2109),i=n(4699).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},7727:function(e,t,n){"use strict";var r=n(2109),i=n(1913),o=n(3366),a=n(7293),l=n(5005),s=n(614),c=n(6707),d=n(9478),u=n(1320);if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,l("Promise")),n=s(e);return this.then(n?function(n){return d(t,e()).then((function(){return n}))}:e,n?function(n){return d(t,e()).then((function(){throw n}))}:e)}}),!i&&s(o)){var f=l("Promise").prototype.finally;o.prototype.finally!==f&&u(o.prototype,"finally",f,{unsafe:!0})}},8674:function(e,t,n){"use strict";var r,i,o,a,l=n(2109),s=n(1913),c=n(7854),d=n(5005),u=n(6916),f=n(3366),p=n(1320),h=n(2248),g=n(7674),m=n(8003),v=n(6340),y=n(9662),w=n(614),b=n(111),_=n(5787),x=n(2788),z=n(408),A=n(7072),S=n(6707),E=n(261).set,I=n(5948),P=n(9478),C=n(842),T=n(8523),k=n(2534),O=n(8572),R=n(9909),L=n(4705),D=n(5112),N=n(7871),M=n(5268),j=n(7392),U=D("species"),q="Promise",F=R.getterFor(q),H=R.set,B=R.getterFor(q),V=f&&f.prototype,G=f,W=V,J=c.TypeError,$=c.document,Y=c.process,Q=T.f,K=Q,X=!!($&&$.createEvent&&c.dispatchEvent),Z=w(c.PromiseRejectionEvent),ee="unhandledrejection",te=!1,ne=L(q,(function(){var e=x(G),t=e!==String(G);if(!t&&66===j)return!0;if(s&&!W.finally)return!0;if(j>=51&&/native code/.test(e))return!1;var n=new G((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[U]=r,!(te=n.then((function(){}))instanceof r)||!t&&N&&!Z})),re=ne||!A((function(e){G.all(e).catch((function(){}))})),ie=function(e){var t;return!(!b(e)||!w(t=e.then))&&t},oe=function(e,t){var n,r,i,o=t.value,a=1==t.state,l=a?e.ok:e.fail,s=e.resolve,c=e.reject,d=e.domain;try{l?(a||(2===t.rejection&&de(t),t.rejection=1),!0===l?n=o:(d&&d.enter(),n=l(o),d&&(d.exit(),i=!0)),n===e.promise?c(J("Promise-chain cycle")):(r=ie(n))?u(r,n,s,c):s(n)):c(o)}catch(e){d&&!i&&d.exit(),c(e)}},ae=function(e,t){e.notified||(e.notified=!0,I((function(){for(var n,r=e.reactions;n=r.get();)oe(n,e);e.notified=!1,t&&!e.rejection&&se(e)})))},le=function(e,t,n){var r,i;X?((r=$.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!Z&&(i=c["on"+e])?i(r):e===ee&&C("Unhandled promise rejection",n)},se=function(e){u(E,c,(function(){var t,n=e.facade,r=e.value;if(ce(e)&&(t=k((function(){M?Y.emit("unhandledRejection",r,n):le(ee,n,r)})),e.rejection=M||ce(e)?2:1,t.error))throw t.value}))},ce=function(e){return 1!==e.rejection&&!e.parent},de=function(e){u(E,c,(function(){var t=e.facade;M?Y.emit("rejectionHandled",t):le("rejectionhandled",t,e.value)}))},ue=function(e,t,n){return function(r){e(t,r,n)}},fe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ae(e,!0))},pe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw J("Promise can't be resolved itself");var r=ie(t);r?I((function(){var n={done:!1};try{u(r,t,ue(pe,n,e),ue(fe,n,e))}catch(t){fe(n,t,e)}})):(e.value=t,e.state=1,ae(e,!1))}catch(t){fe({done:!1},t,e)}}};if(ne&&(W=(G=function(e){_(this,W),y(e),u(r,this);var t=F(this);try{e(ue(pe,t),ue(fe,t))}catch(e){fe(t,e)}}).prototype,(r=function(e){H(this,{type:q,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:0,value:void 0})}).prototype=h(W,{then:function(e,t){var n=B(this),r=Q(S(this,G));return n.parent=!0,r.ok=!w(e)||e,r.fail=w(t)&&t,r.domain=M?Y.domain:void 0,0==n.state?n.reactions.add(r):I((function(){oe(r,n)})),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=F(e);this.promise=e,this.resolve=ue(pe,t),this.reject=ue(fe,t)},T.f=Q=function(e){return e===G||e===o?new i(e):K(e)},!s&&w(f)&&V!==Object.prototype)){a=V.then,te||(p(V,"then",(function(e,t){var n=this;return new G((function(e,t){u(a,n,e,t)})).then(e,t)}),{unsafe:!0}),p(V,"catch",W.catch,{unsafe:!0}));try{delete V.constructor}catch(e){}g&&g(V,W)}l({global:!0,wrap:!0,forced:ne},{Promise:G}),m(G,q,!1,!0),v(q),o=d(q),l({target:q,stat:!0,forced:ne},{reject:function(e){var t=Q(this);return u(t.reject,void 0,e),t.promise}}),l({target:q,stat:!0,forced:s||ne},{resolve:function(e){return P(s&&this===o?G:this,e)}}),l({target:q,stat:!0,forced:re},{all:function(e){var t=this,n=Q(t),r=n.resolve,i=n.reject,o=k((function(){var n=y(t.resolve),o=[],a=0,l=1;z(e,(function(e){var s=a++,c=!1;l++,u(n,t,e).then((function(e){c||(c=!0,o[s]=e,--l||r(o))}),i)})),--l||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=Q(t),r=n.reject,i=k((function(){var i=y(t.resolve);z(e,(function(e){u(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},4603:function(e,t,n){var r=n(9781),i=n(7854),o=n(1702),a=n(4705),l=n(9587),s=n(8880),c=n(3070).f,d=n(8006).f,u=n(7976),f=n(7850),p=n(1340),h=n(7066),g=n(2999),m=n(1320),v=n(7293),y=n(2597),w=n(9909).enforce,b=n(6340),_=n(5112),x=n(9441),z=n(7168),A=_("match"),S=i.RegExp,E=S.prototype,I=i.SyntaxError,P=o(h),C=o(E.exec),T=o("".charAt),k=o("".replace),O=o("".indexOf),R=o("".slice),L=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,N=/a/g,M=new S(D)!==D,j=g.MISSED_STICKY,U=g.UNSUPPORTED_Y;if(a("RegExp",r&&(!M||j||x||z||v((function(){return N[A]=!1,S(D)!=D||S(N)==N||"/a/i"!=S(D,"i")}))))){for(var q=function(e,t){var n,r,i,o,a,c,d=u(E,this),h=f(e),g=void 0===t,m=[],v=e;if(!d&&h&&g&&e.constructor===q)return e;if((h||u(E,e))&&(e=e.source,g&&(t="flags"in v?v.flags:P(v))),e=void 0===e?"":p(e),t=void 0===t?"":p(t),v=e,x&&"dotAll"in D&&(r=!!t&&O(t,"s")>-1)&&(t=k(t,/s/g,"")),n=t,j&&"sticky"in D&&(i=!!t&&O(t,"y")>-1)&&U&&(t=k(t,/y/g,"")),z&&(o=function(e){for(var t,n=e.length,r=0,i="",o=[],a={},l=!1,s=!1,c=0,d="";r<=n;r++){if("\\"===(t=T(e,r)))t+=T(e,++r);else if("]"===t)l=!1;else if(!l)switch(!0){case"["===t:l=!0;break;case"("===t:C(L,R(e,r+1))&&(r+=2,s=!0),i+=t,c++;continue;case">"===t&&s:if(""===d||y(a,d))throw new I("Invalid capture group name");a[d]=!0,o[o.length]=[d,c],s=!1,d="";continue}s?d+=t:i+=t}return[i,o]}(e),e=o[0],m=o[1]),a=l(S(e,t),d?this:E,q),(r||i||m.length)&&(c=w(a),r&&(c.dotAll=!0,c.raw=q(function(e){for(var t,n=e.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(t=T(e,r))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+T(e,++r);return i}(e),n)),i&&(c.sticky=!0),m.length&&(c.groups=m)),e!==v)try{s(a,"source",""===v?"(?:)":v)}catch(e){}return a},F=function(e){e in q||c(q,e,{configurable:!0,get:function(){return S[e]},set:function(t){S[e]=t}})},H=d(S),B=0;H.length>B;)F(H[B++]);E.constructor=q,q.prototype=E,m(i,"RegExp",q)}b("RegExp")},4916:function(e,t,n){"use strict";var r=n(2109),i=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},9714:function(e,t,n){"use strict";var r=n(1702),i=n(6530).PROPER,o=n(1320),a=n(9670),l=n(7976),s=n(1340),c=n(7293),d=n(7066),u="toString",f=RegExp.prototype,p=f.toString,h=r(d),g=c((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),m=i&&p.name!=u;(g||m)&&o(RegExp.prototype,u,(function(){var e=a(this),t=s(e.source),n=e.flags;return"/"+t+"/"+s(void 0===n&&l(f,e)&&!("flags"in f)?h(e):n)}),{unsafe:!0})},189:function(e,t,n){"use strict";n(7710)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(5631))},5218:function(e,t,n){"use strict";var r=n(2109),i=n(4230);r({target:"String",proto:!0,forced:n(3429)("anchor")},{anchor:function(e){return i(this,"a","name",e)}})},2023:function(e,t,n){"use strict";var r=n(2109),i=n(1702),o=n(3929),a=n(4488),l=n(1340),s=n(4964),c=i("".indexOf);r({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~c(l(a(this)),l(o(e)),arguments.length>1?arguments[1]:void 0)}})},8783:function(e,t,n){"use strict";var r=n(8710).charAt,i=n(1340),o=n(9909),a=n(654),l="String Iterator",s=o.set,c=o.getterFor(l);a(String,"String",(function(e){s(this,{type:l,string:i(e),index:0})}),(function(){var e,t=c(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},9254:function(e,t,n){"use strict";var r=n(2109),i=n(4230);r({target:"String",proto:!0,forced:n(3429)("link")},{link:function(e){return i(this,"a","href",e)}})},6373:function(e,t,n){"use strict";var r=n(2109),i=n(7854),o=n(6916),a=n(1702),l=n(4994),s=n(4488),c=n(7466),d=n(1340),u=n(9670),f=n(4326),p=n(7976),h=n(7850),g=n(7066),m=n(8173),v=n(1320),y=n(7293),w=n(5112),b=n(6707),_=n(1530),x=n(7651),z=n(9909),A=n(1913),S=w("matchAll"),E="RegExp String Iterator",I=z.set,P=z.getterFor(E),C=RegExp.prototype,T=i.TypeError,k=a(g),O=a("".indexOf),R=a("".matchAll),L=!!R&&!y((function(){R("a",/./)})),D=l((function(e,t,n,r){I(this,{type:E,regexp:e,string:t,global:n,unicode:r,done:!1})}),"RegExp String",(function(){var e=P(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=x(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""===d(r[0])&&(t.lastIndex=_(n,c(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),N=function(e){var t,n,r,i,o,a,l=u(this),s=d(e);return t=b(l,RegExp),void 0===(n=l.flags)&&p(C,l)&&!("flags"in C)&&(n=k(l)),r=void 0===n?"":d(n),i=new t(t===RegExp?l.source:l,r),o=!!~O(r,"g"),a=!!~O(r,"u"),i.lastIndex=c(l.lastIndex),new D(i,s,o,a)};r({target:"String",proto:!0,forced:L},{matchAll:function(e){var t,n,r,i,a=s(this);if(null!=e){if(h(e)&&(t=d(s("flags"in C?e.flags:k(e))),!~O(t,"g")))throw T("`.matchAll` does not allow non-global regexes");if(L)return R(a,e);if(void 0===(r=m(e,S))&&A&&"RegExp"==f(e)&&(r=N),r)return o(r,e,a)}else if(L)return R(a,e);return n=d(a),i=new RegExp(e,"g"),A?o(N,i,n):i[S](n)}}),A||S in C||v(C,S,N)},4723:function(e,t,n){"use strict";var r=n(6916),i=n(7007),o=n(9670),a=n(7466),l=n(1340),s=n(4488),c=n(8173),d=n(1530),u=n(7651);i("match",(function(e,t,n){return[function(t){var n=s(this),i=null==t?void 0:c(t,e);return i?r(i,t,n):new RegExp(t)[e](l(n))},function(e){var r=o(this),i=l(e),s=n(t,r,i);if(s.done)return s.value;if(!r.global)return u(r,i);var c=r.unicode;r.lastIndex=0;for(var f,p=[],h=0;null!==(f=u(r,i));){var g=l(f[0]);p[h]=g,""===g&&(r.lastIndex=d(i,a(r.lastIndex),c)),h++}return 0===h?null:p}]}))},3112:function(e,t,n){"use strict";var r=n(2109),i=n(6650).start;r({target:"String",proto:!0,forced:n(4986)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},5306:function(e,t,n){"use strict";var r=n(2104),i=n(6916),o=n(1702),a=n(7007),l=n(7293),s=n(9670),c=n(614),d=n(9303),u=n(7466),f=n(1340),p=n(4488),h=n(1530),g=n(8173),m=n(647),v=n(7651),y=n(5112)("replace"),w=Math.max,b=Math.min,_=o([].concat),x=o([].push),z=o("".indexOf),A=o("".slice),S="$0"==="a".replace(/./,"$0"),E=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(e,t,n){var o=E?"$":"$0";return[function(e,n){var r=p(this),o=null==e?void 0:g(e,y);return o?i(o,e,r,n):i(t,f(r),e,n)},function(e,i){var a=s(this),l=f(e);if("string"==typeof i&&-1===z(i,o)&&-1===z(i,"$<")){var p=n(t,a,l,i);if(p.done)return p.value}var g=c(i);g||(i=f(i));var y=a.global;if(y){var S=a.unicode;a.lastIndex=0}for(var E=[];;){var I=v(a,l);if(null===I)break;if(x(E,I),!y)break;""===f(I[0])&&(a.lastIndex=h(l,u(a.lastIndex),S))}for(var P,C="",T=0,k=0;k<E.length;k++){for(var O=f((I=E[k])[0]),R=w(b(d(I.index),l.length),0),L=[],D=1;D<I.length;D++)x(L,void 0===(P=I[D])?P:String(P));var N=I.groups;if(g){var M=_([O],L,R,l);void 0!==N&&x(M,N);var j=f(r(i,void 0,M))}else j=m(O,l,R,L,N,i);R>=T&&(C+=A(l,T,R)+j,T=R+O.length)}return C+A(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!S||E)},4765:function(e,t,n){"use strict";var r=n(6916),i=n(7007),o=n(9670),a=n(4488),l=n(1150),s=n(1340),c=n(8173),d=n(7651);i("search",(function(e,t,n){return[function(t){var n=a(this),i=null==t?void 0:c(t,e);return i?r(i,t,n):new RegExp(t)[e](s(n))},function(e){var r=o(this),i=s(e),a=n(t,r,i);if(a.done)return a.value;var c=r.lastIndex;l(c,0)||(r.lastIndex=0);var u=d(r,i);return l(r.lastIndex,c)||(r.lastIndex=c),null===u?-1:u.index}]}))},3123:function(e,t,n){"use strict";var r=n(2104),i=n(6916),o=n(1702),a=n(7007),l=n(7850),s=n(9670),c=n(4488),d=n(6707),u=n(1530),f=n(7466),p=n(1340),h=n(8173),g=n(1589),m=n(7651),v=n(2261),y=n(2999),w=n(7293),b=y.UNSUPPORTED_Y,_=4294967295,x=Math.min,z=[].push,A=o(/./.exec),S=o(z),E=o("".slice),I=!w((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=p(c(this)),a=void 0===n?_:n>>>0;if(0===a)return[];if(void 0===e)return[o];if(!l(e))return i(t,o,e,a);for(var s,d,u,f=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,y=new RegExp(e.source,h+"g");(s=i(v,y,o))&&!((d=y.lastIndex)>m&&(S(f,E(o,m,s.index)),s.length>1&&s.index<o.length&&r(z,f,g(s,1)),u=s[0].length,m=d,f.length>=a));)y.lastIndex===s.index&&y.lastIndex++;return m===o.length?!u&&A(y,"")||S(f,""):S(f,E(o,m)),f.length>a?g(f,0,a):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:i(t,this,e,n)}:t,[function(t,n){var r=c(this),a=null==t?void 0:h(t,e);return a?i(a,t,r,n):i(o,p(r),t,n)},function(e,r){var i=s(this),a=p(e),l=n(o,i,a,r,o!==t);if(l.done)return l.value;var c=d(i,RegExp),h=i.unicode,g=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),v=new c(b?"^(?:"+i.source+")":i,g),y=void 0===r?_:r>>>0;if(0===y)return[];if(0===a.length)return null===m(v,a)?[a]:[];for(var w=0,z=0,A=[];z<a.length;){v.lastIndex=b?0:z;var I,P=m(v,b?E(a,z):a);if(null===P||(I=x(f(v.lastIndex+(b?z:0)),a.length))===w)z=u(a,z,h);else{if(S(A,E(a,w,z)),A.length===y)return A;for(var C=1;C<=P.length-1;C++)if(S(A,P[C]),A.length===y)return A;z=w=I}}return S(A,E(a,w)),A}]}),!I,b)},6755:function(e,t,n){"use strict";var r,i=n(2109),o=n(1702),a=n(1236).f,l=n(7466),s=n(1340),c=n(3929),d=n(4488),u=n(4964),f=n(1913),p=o("".startsWith),h=o("".slice),g=Math.min,m=u("startsWith");i({target:"String",proto:!0,forced:!(!f&&!m&&(r=a(String.prototype,"startsWith"),r&&!r.writable)||m)},{startsWith:function(e){var t=s(d(this));c(e);var n=l(g(arguments.length>1?arguments[1]:void 0,t.length)),r=s(e);return p?p(t,r,n):h(t,n,n+r.length)===r}})},3210:function(e,t,n){"use strict";var r=n(2109),i=n(3111).trim;r({target:"String",proto:!0,forced:n(6091)("trim")},{trim:function(){return i(this)}})},1817:function(e,t,n){"use strict";var r=n(2109),i=n(9781),o=n(7854),a=n(1702),l=n(2597),s=n(614),c=n(7976),d=n(1340),u=n(3070).f,f=n(9920),p=o.Symbol,h=p&&p.prototype;if(i&&s(p)&&(!("description"in h)||void 0!==p().description)){var g={},m=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:d(arguments[0]),t=c(h,this)?new p(e):void 0===e?p():p(e);return""===e&&(g[t]=!0),t};f(m,p),m.prototype=h,h.constructor=m;var v="Symbol(test)"==String(p("test")),y=a(h.toString),w=a(h.valueOf),b=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);u(h,"description",{configurable:!0,get:function(){var e=w(this),t=y(e);if(l(g,e))return"";var n=v?x(t,7,-1):_(t,b,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:m})}},2165:function(e,t,n){n(7235)("iterator")},2526:function(e,t,n){"use strict";var r=n(2109),i=n(7854),o=n(5005),a=n(2104),l=n(6916),s=n(1702),c=n(1913),d=n(9781),u=n(133),f=n(7293),p=n(2597),h=n(3157),g=n(614),m=n(111),v=n(7976),y=n(2190),w=n(9670),b=n(7908),_=n(5656),x=n(4948),z=n(1340),A=n(9114),S=n(30),E=n(1956),I=n(8006),P=n(1156),C=n(5181),T=n(1236),k=n(3070),O=n(6048),R=n(5296),L=n(206),D=n(1320),N=n(2309),M=n(6200),j=n(3501),U=n(9711),q=n(5112),F=n(6061),H=n(7235),B=n(8003),V=n(9909),G=n(2092).forEach,W=M("hidden"),J="Symbol",$=q("toPrimitive"),Y=V.set,Q=V.getterFor(J),K=Object.prototype,X=i.Symbol,Z=X&&X.prototype,ee=i.TypeError,te=i.QObject,ne=o("JSON","stringify"),re=T.f,ie=k.f,oe=P.f,ae=R.f,le=s([].push),se=N("symbols"),ce=N("op-symbols"),de=N("string-to-symbol-registry"),ue=N("symbol-to-string-registry"),fe=N("wks"),pe=!te||!te.prototype||!te.prototype.findChild,he=d&&f((function(){return 7!=S(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=re(K,t);r&&delete K[t],ie(e,t,n),r&&e!==K&&ie(K,t,r)}:ie,ge=function(e,t){var n=se[e]=S(Z);return Y(n,{type:J,tag:e,description:t}),d||(n.description=t),n},me=function(e,t,n){e===K&&me(ce,t,n),w(e);var r=x(t);return w(n),p(se,r)?(n.enumerable?(p(e,W)&&e[W][r]&&(e[W][r]=!1),n=S(n,{enumerable:A(0,!1)})):(p(e,W)||ie(e,W,A(1,{})),e[W][r]=!0),he(e,r,n)):ie(e,r,n)},ve=function(e,t){w(e);var n=_(t),r=E(n).concat(_e(n));return G(r,(function(t){d&&!l(ye,n,t)||me(e,t,n[t])})),e},ye=function(e){var t=x(e),n=l(ae,this,t);return!(this===K&&p(se,t)&&!p(ce,t))&&(!(n||!p(this,t)||!p(se,t)||p(this,W)&&this[W][t])||n)},we=function(e,t){var n=_(e),r=x(t);if(n!==K||!p(se,r)||p(ce,r)){var i=re(n,r);return!i||!p(se,r)||p(n,W)&&n[W][r]||(i.enumerable=!0),i}},be=function(e){var t=oe(_(e)),n=[];return G(t,(function(e){p(se,e)||p(j,e)||le(n,e)})),n},_e=function(e){var t=e===K,n=oe(t?ce:_(e)),r=[];return G(n,(function(e){!p(se,e)||t&&!p(K,e)||le(r,se[e])})),r};if(u||(X=function(){if(v(Z,this))throw ee("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?z(arguments[0]):void 0,t=U(e),n=function(e){this===K&&l(n,ce,e),p(this,W)&&p(this[W],t)&&(this[W][t]=!1),he(this,t,A(1,e))};return d&&pe&&he(K,t,{configurable:!0,set:n}),ge(t,e)},D(Z=X.prototype,"toString",(function(){return Q(this).tag})),D(X,"withoutSetter",(function(e){return ge(U(e),e)})),R.f=ye,k.f=me,O.f=ve,T.f=we,I.f=P.f=be,C.f=_e,F.f=function(e){return ge(q(e),e)},d&&(ie(Z,"description",{configurable:!0,get:function(){return Q(this).description}}),c||D(K,"propertyIsEnumerable",ye,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:X}),G(E(fe),(function(e){H(e)})),r({target:J,stat:!0,forced:!u},{for:function(e){var t=z(e);if(p(de,t))return de[t];var n=X(t);return de[t]=n,ue[n]=t,n},keyFor:function(e){if(!y(e))throw ee(e+" is not a symbol");if(p(ue,e))return ue[e]},useSetter:function(){pe=!0},useSimple:function(){pe=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!d},{create:function(e,t){return void 0===t?S(e):ve(S(e),t)},defineProperty:me,defineProperties:ve,getOwnPropertyDescriptor:we}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:be,getOwnPropertySymbols:_e}),r({target:"Object",stat:!0,forced:f((function(){C.f(1)}))},{getOwnPropertySymbols:function(e){return C.f(b(e))}}),ne&&r({target:"JSON",stat:!0,forced:!u||f((function(){var e=X();return"[null]"!=ne([e])||"{}"!=ne({a:e})||"{}"!=ne(Object(e))}))},{stringify:function(e,t,n){var r=L(arguments),i=t;if((m(t)||void 0!==e)&&!y(e))return h(t)||(t=function(e,t){if(g(i)&&(t=l(i,this,e,t)),!y(t))return t}),r[1]=t,a(ne,null,r)}}),!Z[$]){var xe=Z.valueOf;D(Z,$,(function(e){return l(xe,this)}))}B(X,J),j[W]=!0},2990:function(e,t,n){"use strict";var r=n(1702),i=n(260),o=r(n(1048)),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(e,t){return o(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},8927:function(e,t,n){"use strict";var r=n(260),i=n(2092).every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},3105:function(e,t,n){"use strict";var r=n(260),i=n(6916),o=n(1285),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){var t=arguments.length;return i(o,a(this),e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}))},5035:function(e,t,n){"use strict";var r=n(260),i=n(2092).filter,o=n(3074),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=i(a(this),e,arguments.length>1?arguments[1]:void 0);return o(this,t)}))},7174:function(e,t,n){"use strict";var r=n(260),i=n(2092).findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},4345:function(e,t,n){"use strict";var r=n(260),i=n(2092).find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},2846:function(e,t,n){"use strict";var r=n(260),i=n(2092).forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},4731:function(e,t,n){"use strict";var r=n(260),i=n(1318).includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},7209:function(e,t,n){"use strict";var r=n(260),i=n(1318).indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},6319:function(e,t,n){"use strict";var r=n(7854),i=n(7293),o=n(1702),a=n(260),l=n(6992),s=n(5112)("iterator"),c=r.Uint8Array,d=o(l.values),u=o(l.keys),f=o(l.entries),p=a.aTypedArray,h=a.exportTypedArrayMethod,g=c&&c.prototype,m=!i((function(){g[s].call([1])})),v=!!g&&g.values&&g[s]===g.values&&"values"===g.values.name,y=function(){return d(p(this))};h("entries",(function(){return f(p(this))}),m),h("keys",(function(){return u(p(this))}),m),h("values",y,m||!v,{name:"values"}),h(s,y,m||!v,{name:"values"})},8867:function(e,t,n){"use strict";var r=n(260),i=n(1702),o=r.aTypedArray,a=r.exportTypedArrayMethod,l=i([].join);a("join",(function(e){return l(o(this),e)}))},7789:function(e,t,n){"use strict";var r=n(260),i=n(2104),o=n(6583),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return i(o,a(this),t>1?[e,arguments[1]]:[e])}))},3739:function(e,t,n){"use strict";var r=n(260),i=n(2092).map,o=n(6304),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(o(e))(t)}))}))},4483:function(e,t,n){"use strict";var r=n(260),i=n(3671).right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},9368:function(e,t,n){"use strict";var r=n(260),i=n(3671).left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},2056:function(e,t,n){"use strict";var r=n(260),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var e,t=this,n=i(t).length,r=a(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},3462:function(e,t,n){"use strict";var r=n(7854),i=n(6916),o=n(260),a=n(6244),l=n(4590),s=n(7908),c=n(7293),d=r.RangeError,u=r.Int8Array,f=u&&u.prototype,p=f&&f.set,h=o.aTypedArray,g=o.exportTypedArrayMethod,m=!c((function(){var e=new Uint8ClampedArray(2);return i(p,e,{length:1,0:3},1),3!==e[1]})),v=m&&o.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new u(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));g("set",(function(e){h(this);var t=l(arguments.length>1?arguments[1]:void 0,1),n=s(e);if(m)return i(p,this,n,t);var r=this.length,o=a(n),c=0;if(o+t>r)throw d("Wrong length");for(;c<o;)this[t+c]=n[c++]}),!m||v)},678:function(e,t,n){"use strict";var r=n(260),i=n(6304),o=n(7293),a=n(206),l=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(l(this),e,t),r=i(this),o=0,s=n.length,c=new r(s);s>o;)c[o]=n[o++];return c}),o((function(){new Int8Array(1).slice()})))},7462:function(e,t,n){"use strict";var r=n(260),i=n(2092).some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},3824:function(e,t,n){"use strict";var r=n(7854),i=n(1702),o=n(7293),a=n(9662),l=n(4362),s=n(260),c=n(8886),d=n(256),u=n(7392),f=n(8008),p=r.Array,h=s.aTypedArray,g=s.exportTypedArrayMethod,m=r.Uint16Array,v=m&&i(m.prototype.sort),y=!(!v||o((function(){v(new m(2),null)}))&&o((function(){v(new m(2),{})}))),w=!!v&&!o((function(){if(u)return u<74;if(c)return c<67;if(d)return!0;if(f)return f<602;var e,t,n=new m(516),r=p(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(v(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));g("sort",(function(e){return void 0!==e&&a(e),w?v(this,e):l(h(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!w||y)},5021:function(e,t,n){"use strict";var r=n(260),i=n(7466),o=n(1400),a=n(6304),l=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=l(this),r=n.length,s=o(e,r);return new(a(n))(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,i((void 0===t?r:o(t,r))-s))}))},2974:function(e,t,n){"use strict";var r=n(7854),i=n(2104),o=n(260),a=n(7293),l=n(206),s=r.Int8Array,c=o.aTypedArray,d=o.exportTypedArrayMethod,u=[].toLocaleString,f=!!s&&a((function(){u.call(new s(1))}));d("toLocaleString",(function(){return i(u,f?l(c(this)):c(this),l(arguments))}),a((function(){return[1,2].toLocaleString()!=new s([1,2]).toLocaleString()}))||!a((function(){s.prototype.toLocaleString.call([1,2])})))},5016:function(e,t,n){"use strict";var r=n(260).exportTypedArrayMethod,i=n(7293),o=n(7854),a=n(1702),l=o.Uint8Array,s=l&&l.prototype||{},c=[].toString,d=a([].join);i((function(){c.call({})}))&&(c=function(){return d(this)});var u=s.toString!=c;r("toString",c,u)},9135:function(e,t,n){n(9843)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},2472:function(e,t,n){n(9843)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},5743:function(e,t,n){n(5837)},3728:function(e,t,n){n(6373)},4747:function(e,t,n){var r=n(7854),i=n(8324),o=n(8509),a=n(8533),l=n(8880),s=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in i)i[c]&&s(r[c]&&r[c].prototype);s(o)},3948:function(e,t,n){var r=n(7854),i=n(8324),o=n(8509),a=n(6992),l=n(8880),s=n(5112),c=s("iterator"),d=s("toStringTag"),u=a.values,f=function(e,t){if(e){if(e[c]!==u)try{l(e,c,u)}catch(t){e[c]=u}if(e[d]||l(e,d,t),i[t])for(var n in a)if(e[n]!==a[n])try{l(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var p in i)f(r[p]&&r[p].prototype,p);f(o,"DOMTokenList")},1637:function(e,t,n){"use strict";n(6992);var r=n(2109),i=n(7854),o=n(5005),a=n(6916),l=n(1702),s=n(590),c=n(1320),d=n(2248),u=n(8003),f=n(4994),p=n(9909),h=n(5787),g=n(614),m=n(2597),v=n(9974),y=n(648),w=n(9670),b=n(111),_=n(1340),x=n(30),z=n(9114),A=n(8554),S=n(1246),E=n(5112),I=n(4362),P=E("iterator"),C="URLSearchParams",T="URLSearchParamsIterator",k=p.set,O=p.getterFor(C),R=p.getterFor(T),L=o("fetch"),D=o("Request"),N=o("Headers"),M=D&&D.prototype,j=N&&N.prototype,U=i.RegExp,q=i.TypeError,F=i.decodeURIComponent,H=i.encodeURIComponent,B=l("".charAt),V=l([].join),G=l([].push),W=l("".replace),J=l([].shift),$=l([].splice),Y=l("".split),Q=l("".slice),K=/\+/g,X=Array(4),Z=function(e){return X[e-1]||(X[e-1]=U("((?:%[\\da-f]{2}){"+e+"})","gi"))},ee=function(e){try{return F(e)}catch(t){return e}},te=function(e){var t=W(e,K," "),n=4;try{return F(t)}catch(e){for(;n;)t=W(t,Z(n--),ee);return t}},ne=/[!'()~]|%20/g,re={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ie=function(e){return re[e]},oe=function(e){return W(H(e),ne,ie)},ae=function(e,t){if(e<t)throw q("Not enough arguments")},le=f((function(e,t){k(this,{type:T,iterator:A(O(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),se=function(e){this.entries=[],this.url=null,void 0!==e&&(b(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===B(e,0)?Q(e,1):e:_(e)))};se.prototype={type:C,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,l,s,c=S(e);if(c)for(n=(t=A(e,c)).next;!(r=a(n,t)).done;){if(o=(i=A(w(r.value))).next,(l=a(o,i)).done||(s=a(o,i)).done||!a(o,i).done)throw q("Expected sequence with length 2");G(this.entries,{key:_(l.value),value:_(s.value)})}else for(var d in e)m(e,d)&&G(this.entries,{key:d,value:_(e[d])})},parseQuery:function(e){if(e)for(var t,n,r=Y(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Y(t,"="),G(this.entries,{key:te(J(n)),value:te(V(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],G(n,oe(e.key)+"="+oe(e.value));return V(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ce=function(){h(this,de);var e=arguments.length>0?arguments[0]:void 0;k(this,new se(e))},de=ce.prototype;if(d(de,{append:function(e,t){ae(arguments.length,2);var n=O(this);G(n.entries,{key:_(e),value:_(t)}),n.updateURL()},delete:function(e){ae(arguments.length,1);for(var t=O(this),n=t.entries,r=_(e),i=0;i<n.length;)n[i].key===r?$(n,i,1):i++;t.updateURL()},get:function(e){ae(arguments.length,1);for(var t=O(this).entries,n=_(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){ae(arguments.length,1);for(var t=O(this).entries,n=_(e),r=[],i=0;i<t.length;i++)t[i].key===n&&G(r,t[i].value);return r},has:function(e){ae(arguments.length,1);for(var t=O(this).entries,n=_(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){ae(arguments.length,1);for(var n,r=O(this),i=r.entries,o=!1,a=_(e),l=_(t),s=0;s<i.length;s++)(n=i[s]).key===a&&(o?$(i,s--,1):(o=!0,n.value=l));o||G(i,{key:a,value:l}),r.updateURL()},sort:function(){var e=O(this);I(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=O(this).entries,r=v(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),c(de,P,de.entries,{name:"entries"}),c(de,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),u(ce,C),r({global:!0,forced:!s},{URLSearchParams:ce}),!s&&g(N)){var ue=l(j.has),fe=l(j.set),pe=function(e){if(b(e)){var t,n=e.body;if(y(n)===C)return t=e.headers?new N(e.headers):new N,ue(t,"content-type")||fe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:z(0,_(n)),headers:z(0,t)})}return e};if(g(L)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return L(e,arguments.length>1?pe(arguments[1]):{})}}),g(D)){var he=function(e){return h(this,M),new D(e,arguments.length>1?pe(arguments[1]):{})};M.constructor=he,he.prototype=M,r({global:!0,forced:!0},{Request:he})}}e.exports={URLSearchParams:ce,getState:O}},285:function(e,t,n){"use strict";n(8783);var r,i=n(2109),o=n(9781),a=n(590),l=n(7854),s=n(9974),c=n(1702),d=n(6048).f,u=n(1320),f=n(5787),p=n(2597),h=n(1574),g=n(8457),m=n(1589),v=n(8710).codeAt,y=n(3197),w=n(1340),b=n(8003),_=n(1637),x=n(9909),z=x.set,A=x.getterFor("URL"),S=_.URLSearchParams,E=_.getState,I=l.URL,P=l.TypeError,C=l.parseInt,T=Math.floor,k=Math.pow,O=c("".charAt),R=c(/./.exec),L=c([].join),D=c(1..toString),N=c([].pop),M=c([].push),j=c("".replace),U=c([].shift),q=c("".split),F=c("".slice),H=c("".toLowerCase),B=c([].unshift),V="Invalid scheme",G="Invalid host",W="Invalid port",J=/[a-z]/i,$=/[\d+-.a-z]/i,Y=/\d/,Q=/^0x/i,K=/^[0-7]+$/,X=/^\d+$/,Z=/^[\da-f]+$/i,ee=/[\0\t\n\r #%/:<>?@[\\\]^|]/,te=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,re=/[\t\n\r]/g,ie=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)B(t,e%256),e=T(e/256);return L(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=D(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},oe={},ae=h({},oe,{" ":1,'"':1,"<":1,">":1,"`":1}),le=h({},ae,{"#":1,"?":1,"{":1,"}":1}),se=h({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ce=function(e,t){var n=v(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ue=function(e,t){var n;return 2==e.length&&R(J,O(e,0))&&(":"==(n=O(e,1))||!t&&"|"==n)},fe=function(e){var t;return e.length>1&&ue(F(e,0,2))&&(2==e.length||"/"===(t=O(e,2))||"\\"===t||"?"===t||"#"===t)},pe=function(e){return"."===e||"%2e"===H(e)},he={},ge={},me={},ve={},ye={},we={},be={},_e={},xe={},ze={},Ae={},Se={},Ee={},Ie={},Pe={},Ce={},Te={},ke={},Oe={},Re={},Le={},De=function(e,t,n){var r,i,o,a=w(e);if(t){if(i=this.parse(a))throw P(i);this.searchParams=null}else{if(void 0!==n&&(r=new De(n,!0)),i=this.parse(a,null,r))throw P(i);(o=E(new S)).bindURL(this),this.searchParams=o}};De.prototype={type:"URL",parse:function(e,t,n){var i,o,a,l,s,c=this,d=t||he,u=0,f="",h=!1,v=!1,y=!1;for(e=w(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=j(e,ne,"")),e=j(e,re,""),i=g(e);u<=i.length;){switch(o=i[u],d){case he:if(!o||!R(J,o)){if(t)return V;d=me;continue}f+=H(o),d=ge;break;case ge:if(o&&(R($,o)||"+"==o||"-"==o||"."==o))f+=H(o);else{if(":"!=o){if(t)return V;f="",d=me,u=0;continue}if(t&&(c.isSpecial()!=p(de,f)||"file"==f&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=f,t)return void(c.isSpecial()&&de[c.scheme]==c.port&&(c.port=null));f="","file"==c.scheme?d=Ie:c.isSpecial()&&n&&n.scheme==c.scheme?d=ve:c.isSpecial()?d=_e:"/"==i[u+1]?(d=ye,u++):(c.cannotBeABaseURL=!0,M(c.path,""),d=Oe)}break;case me:if(!n||n.cannotBeABaseURL&&"#"!=o)return V;if(n.cannotBeABaseURL&&"#"==o){c.scheme=n.scheme,c.path=m(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,d=Le;break}d="file"==n.scheme?Ie:we;continue;case ve:if("/"!=o||"/"!=i[u+1]){d=we;continue}d=xe,u++;break;case ye:if("/"==o){d=ze;break}d=ke;continue;case we:if(c.scheme=n.scheme,o==r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.query=n.query;else if("/"==o||"\\"==o&&c.isSpecial())d=be;else if("?"==o)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.query="",d=Re;else{if("#"!=o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.path.length--,d=ke;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.query=n.query,c.fragment="",d=Le}break;case be:if(!c.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,d=ke;continue}d=ze}else d=xe;break;case _e:if(d=xe,"/"!=o||"/"!=O(f,u+1))continue;u++;break;case xe:if("/"!=o&&"\\"!=o){d=ze;continue}break;case ze:if("@"==o){h&&(f="%40"+f),h=!0,a=g(f);for(var b=0;b<a.length;b++){var _=a[b];if(":"!=_||y){var x=ce(_,se);y?c.password+=x:c.username+=x}else y=!0}f=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()){if(h&&""==f)return"Invalid authority";u-=g(f).length+1,f="",d=Ae}else f+=o;break;case Ae:case Se:if(t&&"file"==c.scheme){d=Ce;continue}if(":"!=o||v){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()){if(c.isSpecial()&&""==f)return G;if(t&&""==f&&(c.includesCredentials()||null!==c.port))return;if(l=c.parseHost(f))return l;if(f="",d=Te,t)return;continue}"["==o?v=!0:"]"==o&&(v=!1),f+=o}else{if(""==f)return G;if(l=c.parseHost(f))return l;if(f="",d=Ee,t==Se)return}break;case Ee:if(!R(Y,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()||t){if(""!=f){var z=C(f,10);if(z>65535)return W;c.port=c.isSpecial()&&z===de[c.scheme]?null:z,f=""}if(t)return;d=Te;continue}return W}f+=o;break;case Ie:if(c.scheme="file","/"==o||"\\"==o)d=Pe;else{if(!n||"file"!=n.scheme){d=ke;continue}if(o==r)c.host=n.host,c.path=m(n.path),c.query=n.query;else if("?"==o)c.host=n.host,c.path=m(n.path),c.query="",d=Re;else{if("#"!=o){fe(L(m(i,u),""))||(c.host=n.host,c.path=m(n.path),c.shortenPath()),d=ke;continue}c.host=n.host,c.path=m(n.path),c.query=n.query,c.fragment="",d=Le}}break;case Pe:if("/"==o||"\\"==o){d=Ce;break}n&&"file"==n.scheme&&!fe(L(m(i,u),""))&&(ue(n.path[0],!0)?M(c.path,n.path[0]):c.host=n.host),d=ke;continue;case Ce:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&ue(f))d=ke;else if(""==f){if(c.host="",t)return;d=Te}else{if(l=c.parseHost(f))return l;if("localhost"==c.host&&(c.host=""),t)return;f="",d=Te}continue}f+=o;break;case Te:if(c.isSpecial()){if(d=ke,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(d=ke,"/"!=o))continue}else c.fragment="",d=Le;else c.query="",d=Re;break;case ke:if(o==r||"/"==o||"\\"==o&&c.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(s=H(s=f))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==o||"\\"==o&&c.isSpecial()||M(c.path,"")):pe(f)?"/"==o||"\\"==o&&c.isSpecial()||M(c.path,""):("file"==c.scheme&&!c.path.length&&ue(f)&&(c.host&&(c.host=""),f=O(f,0)+":"),M(c.path,f)),f="","file"==c.scheme&&(o==r||"?"==o||"#"==o))for(;c.path.length>1&&""===c.path[0];)U(c.path);"?"==o?(c.query="",d=Re):"#"==o&&(c.fragment="",d=Le)}else f+=ce(o,le);break;case Oe:"?"==o?(c.query="",d=Re):"#"==o?(c.fragment="",d=Le):o!=r&&(c.path[0]+=ce(o,oe));break;case Re:t||"#"!=o?o!=r&&("'"==o&&c.isSpecial()?c.query+="%27":c.query+="#"==o?"%23":ce(o,oe)):(c.fragment="",d=Le);break;case Le:o!=r&&(c.fragment+=ce(o,ae))}u++}},parseHost:function(e){var t,n,r;if("["==O(e,0)){if("]"!=O(e,e.length-1))return G;if(t=function(e){var t,n,r,i,o,a,l,s=[0,0,0,0,0,0,0,0],c=0,d=null,u=0,f=function(){return O(e,u)};if(":"==f()){if(":"!=O(e,1))return;u+=2,d=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=n=0;n<4&&R(Z,f());)t=16*t+C(f(),16),u++,n++;if("."==f()){if(0==n)return;if(u-=n,c>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;u++}if(!R(Y,f()))return;for(;R(Y,f());){if(o=C(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;u++}s[c]=256*s[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(u++,!f())return}else if(f())return;s[c++]=t}else{if(null!==d)return;u++,d=++c}}if(null!==d)for(a=c-d,c=7;0!=c&&a>0;)l=s[c],s[c--]=s[d+a-1],s[d+--a]=l;else if(8!=c)return;return s}(F(e,1,-1)),!t)return G;this.host=t}else if(this.isSpecial()){if(e=y(e),R(ee,e))return G;if(t=function(e){var t,n,r,i,o,a,l,s=q(e,".");if(s.length&&""==s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=s[r]))return e;if(o=10,i.length>1&&"0"==O(i,0)&&(o=R(Q,i)?16:8,i=F(i,8==o?1:2)),""===i)a=0;else{if(!R(10==o?X:8==o?K:Z,i))return e;a=C(i,o)}M(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=k(256,5-t))return null}else if(a>255)return null;for(l=N(n),r=0;r<n.length;r++)l+=n[r]*k(256,3-r);return l}(e),null===t)return G;this.host=t}else{if(R(te,e))return G;for(t="",n=g(e),r=0;r<n.length;r++)t+=ce(n[r],oe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(de,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&ue(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,l=e.query,s=e.fragment,c=t+":";return null!==i?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=ie(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"",null!==l&&(c+="?"+l),null!==s&&(c+="#"+s),c},setHref:function(e){var t=this.parse(e);if(t)throw P(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Ne(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ie(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",he)},getUsername:function(){return this.username},setUsername:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=ce(t[n],se)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=ce(t[n],se)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ie(e):ie(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":ie(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Se)},getPort:function(){var e=this.port;return null===e?"":w(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=w(e))?this.port=null:this.parse(e,Ee))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Te))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=w(e))?this.query=null:("?"==O(e,0)&&(e=F(e,1)),this.query="",this.parse(e,Re)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=w(e))?("#"==O(e,0)&&(e=F(e,1)),this.fragment="",this.parse(e,Le)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ne=function(e){var t=f(this,Me),n=arguments.length>1?arguments[1]:void 0,r=z(t,new De(e,!1,n));o||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Me=Ne.prototype,je=function(e,t){return{get:function(){return A(this)[e]()},set:t&&function(e){return A(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&d(Me,{href:je("serialize","setHref"),origin:je("getOrigin"),protocol:je("getProtocol","setProtocol"),username:je("getUsername","setUsername"),password:je("getPassword","setPassword"),host:je("getHost","setHost"),hostname:je("getHostname","setHostname"),port:je("getPort","setPort"),pathname:je("getPathname","setPathname"),search:je("getSearch","setSearch"),searchParams:je("getSearchParams"),hash:je("getHash","setHash")}),u(Me,"toJSON",(function(){return A(this).serialize()}),{enumerable:!0}),u(Me,"toString",(function(){return A(this).serialize()}),{enumerable:!0}),I){var Ue=I.createObjectURL,qe=I.revokeObjectURL;Ue&&u(Ne,"createObjectURL",s(Ue,I)),qe&&u(Ne,"revokeObjectURL",s(qe,I))}b(Ne,"URL"),i({global:!0,forced:!a,sham:!o},{URL:Ne})},5666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),l=new C(r||[]);return i(a,"_invoke",{value:S(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var f="suspendedStart",p="executing",h="completed",g={};function m(){}function v(){}function y(){}var w={};c(w,a,(function(){return this}));var b=Object.getPrototypeOf,_=b&&b(b(T([])));_&&_!==n&&r.call(_,a)&&(w=_);var x=y.prototype=m.prototype=Object.create(w);function z(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function n(i,o,a,l){var s=u(e[i],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,l)}))}l(s.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function S(e,t,n){var r=f;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return k()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var l=E(a,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=u(e,t,n);if("normal"===s.type){if(r=n.done?h:"suspendedYield",s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}function E(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function T(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:k}}function k(){return{value:t,done:!0}}return v.prototype=y,i(x,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:v,configurable:!0}),v.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},z(A.prototype),c(A.prototype,l,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new A(d(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},z(x),c(x,s,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=T,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return l.type="throw",l.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],l=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(5666),n(2222),n(6699),n(2023),n(1539),n(4747),n(4916),n(4723),n(8674),n(3210),n(9826),n(7941),n(2707),n(1249),n(9653),n(6755),n(3161),n(1038),n(8783),n(7327),n(2526),n(1817),n(2165),n(6992),n(3948),n(7042),n(8309),n(9600),n(6977);var i=["color: white","padding: 1px 2px","border-radius: 2px","font-weight: bold"],o={event:[].concat(i,["background: #000000"]).join(";"),warn:[].concat(i,["background: #e59c36"]).join(";"),error:[].concat(i,["background: #d93025"]).join(";"),default:[].concat(i,["background: #5fa624"]).join(";")},a=/%c/g,l="color: inherit; background: transparent; font: inherit";function s(e,n){var r=["%cEZJS%c"],i=t([o[n]||o.default,l]),s=[];e.forEach((function(e){"string"==typeof e?r.push(e):(r.push("%o"),s.push(e))}));var c,d=r.join(" "),u=(c=d.match(a))?c.length:0;if(i.length<u)for(;i.length<u;)i.push(l);else i.length>u&&(i=i.slice(0,u));return[d].concat(t(i),s)}var c=Date.now();function d(){var e=((Date.now()-c)/1e3).toFixed(3);return"[+".concat(e,"s]")}function u(){var n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=function(e){var r;if(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];(r=console).log.apply(r,t(s([d()].concat(o),e)))}},i=function(t,n){window.ezJsDebug||(window.ezJsDebug=[]);for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];var a=i.map((function(t){if("string"==typeof t)return t;if("object"===e(t))try{return JSON.stringify(t)}catch(e){return String(t)}return String(t)})).join(" ");window.ezJsDebug.push({type:t,context:"Ezoic JS",message:a,timestamp:Date.now()/1e3,position_id:n||""}),window.dispatchEvent(new CustomEvent("ezDebugDataUpdated"))};return{log:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(void 0,["default"].concat(t))},event:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(void 0,["event"].concat(t))},warn:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n&&r("warn",e),i("warn",t,e)},error:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n&&r("error",e),i("error",t,e)}}}function f(e){if(e)if("function"!=typeof e.setConfig){if("function"==typeof e.pubads){var t=e.pubads();t&&"function"==typeof t.disableInitialLoad&&t.disableInitialLoad()}}else e.setConfig({disableInitialLoad:!0})}function p(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){p(o,r,i,a,l,"next",e)}function l(e){p(o,r,i,a,l,"throw",e)}a(void 0)}))}}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var m=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.statistics=!1,this.marketing=!1,this.ads=!1,this.initialized=!1,this.onChange=null,this._init()}var t,n,r,i;return t=e,n=[{key:"_init",value:function(){var e=this;void 0!==window.__tcfapi?(this.tcfAPI=window.__tcfapi,this.tcfAPI("addEventListener",2,this._handleTCFData.bind(this))):setTimeout((function(){e._init()}),100)}},{key:"_handleTCFData",value:function(e,t){if(t&&("useractioncomplete"===e.eventStatus||"tcloaded"===e.eventStatus)){if(this.initialized=!0,this.ads=!1,this.statistics=!1,this.marketing=!1,!1===e.gdprApplies)return this.ads=!0,this.statistics=!0,this.marketing=!0,void this._notifyChange();var n=!0===e.vendor.consents[347],r=!0===e.vendor.legitimateInterests[347];n||r?(e.purpose.consents[1]&&(this._purposeAllowed(e,"2")&&(this.ads=!0),this._purposeAllowed(e,"10")&&this._purposeAllowed(e,"7")&&this._purposeAllowed(e,"8")&&(this.statistics=!0),this._purposeAllowed(e,"2")&&this._purposeAllowed(e,"3")&&this._purposeAllowed(e,"4")&&(this.marketing=!0)),this._notifyChange()):this._notifyChange()}}},{key:"_purposeAllowed",value:function(e,t){return e.purpose.consents[t]||e.purpose.legitimateInterests[t]}},{key:"_notifyChange",value:function(){"function"==typeof this.onChange&&this.onChange(this)}},{key:"waitForInitialization",value:(i=h(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.initialized){e.next=5;break}return e.next=3,new Promise((function(e){return setTimeout(e,100)}));case 3:e.next=0;break;case 5:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"handleConsent",value:(r=h(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.waitForInitialization();case 2:this.ads&&this.marketing||(window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.adsbygoogle=window.adsbygoogle||[]),this.ads||(googletag.cmd.push((function(){f(googletag)})),adsbygoogle.pauseAdRequests=1),this.marketing||(googletag.cmd.push((function(){googletag.pubads().setRequestNonPersonalizedAds(1)})),adsbygoogle.requestNonPersonalizedAds=1,window.ezstandalone.setDisablePersonalizedAds(!this.marketing)),this.statistics||window.ezstandalone.setDisablePersonalizedStatistics(!this.statistics);case 6:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})}],n&&g(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),v=m;function y(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(6210),n(5306),n(9575),n(2472),n(2990),n(8927),n(3105),n(5035),n(4345),n(7174),n(2846),n(4731),n(7209),n(6319),n(8867),n(7789),n(3739),n(9368),n(4483),n(2056),n(3462),n(678),n(7462),n(3824),n(5021),n(2974),n(5016),n(9714),n(9601),n(5218),n(285),n(1637),n(4603),n(9720),n(3728),n(3123);var b=["ez","lp_","active_template"];function _(){var e,t,n,r=[],i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(document.cookie.split(";"));try{for(i.s();!(e=i.n()).done;){var o=(t=e.value.trim().split("="),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return o}}(t,n)||y(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],l=o[1];x(a)&&r.push("".concat(a,"=").concat(l))}}catch(e){i.e(e)}finally{i.f()}return r.join("; ")}function x(e){return b.some((function(t){return e===t||e.startsWith(t)}))}function z(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=A(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function A(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P(e,t){if(!e)return!0;var n="";try{n=new URL(e).hostname.toLowerCase()}catch(e){return!0}return!n||n===t}var C=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.standalone=t,this.wc=null,this._execMode=null}var t,n;return t=e,n=[{key:"initSaDebugger",value:function(){var e="ez_js_debugger",t="ez_js_preview";if("1"!==this.standalone.getQueryParam(e)&&"1"!==this.standalone.getCookie(e)&&"1"!==this.standalone.getQueryParam(t)&&"1"!==this.standalone.getCookie(t))return!1;var n=document.createElement("script");n.src="https://www.ezojs.com/ezoic/sad.min.js";var r=this;return n.onload=function(){if("function"==typeof window.__ez_add_saDebugger){var n="1"===r.standalone.getQueryParam(e)||"1"===r.standalone.getCookie(e)||"1"!==r.standalone.getQueryParam(t)&&"1"!==r.standalone.getCookie(t)?void 0:{collapsed:!0,title:"JavaScript Integration Preview"};r.standalone.saDebugger=window.__ez_add_saDebugger(r.standalone,n)}else console.error("Debugger function not found"),r.standalone.saDebuggerOpen=!1},n.onerror=function(){console.error("Failed to load debugger script"),r.standalone.saDebuggerOpen=!1},document.head.appendChild(n),"1"===this.standalone.getQueryParam(e)&&this.standalone.setCookie(e,"1",1),this.wrapPublicStandaloneFns(),!0}},{key:"wrapPublicStandaloneFns",value:function(){var e=this,t=window.ezstandalone,n=["fireEvent","isEzoicUser"],r=function(r){if("function"==typeof t[r]&&!n.includes(r)){var i=t[r],o=e;t[r]=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var l=n.map((function(e){return Array.isArray(e)?e.map((function(e){return o.formatArgForDebugger(e)})).join(", "):o.formatArgForDebugger(e)})).join(", "),s={method:r,arguments:l.length>0?l:void 0,timestamp:(new Date).toLocaleTimeString("en-US",{hour12:!1})};return o.standalone.debugData.apiCalls.push(s),o.standalone.saDebugger&&o.standalone.saDebugger.appendAPICallToTable(s),i.apply(t,n)}}};for(var i in t)r(i)}},{key:"formatArgForDebugger",value:function(e){if(null===e)return"null";if("object"===E(e)&&null!==e){var t=Object.entries(e);return"{ ".concat(t.map((function(e){var t,n,r=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return o}}(t,n)||A(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=r[0],o=r[1];return"".concat(i,": ").concat(JSON.stringify(o))})).join(", ")," }")}return e}},{key:"updateAdReqDebugInfo",value:function(e){this.standalone.saDebuggerOpen&&(this.standalone.debugData.adReq.errStatusCode=e.status,this.standalone.debugData.adReq.noPlaceholdersSelected=function(e){return e&&400===e.status&&"string"==typeof e.responseText&&-1!==e.responseText.indexOf("None of the placeholders sent were chosen")}(e),e.responseText&&e.responseText.toLowerCase().includes("monetization")?this.standalone.debugData.adReq.monetizationNotAllowed=!0:this.standalone.debugData.adReq.monetizationNotAllowed=!1,this.checkDebuggerAndRender())}},{key:"resetAdReqDebugInfo",value:function(){this.standalone.saDebuggerOpen&&(this.standalone.debugData.adReq.reqSeen=!1,this.standalone.debugData.adReq.monetizationNotAllowed=!1,this.standalone.debugData.adReq.errStatusCode="",this.standalone.debugData.adReq.noPlaceholdersSelected=!1)}},{key:"checkDebuggerAndRender",value:function(){var e=this,t=setInterval((function(){e.standalone.saDebuggerOpen?e.standalone.saDebuggerOpen&&e.standalone.saDebugger&&(e.standalone.saDebugger.renderStaticDebugData(),clearInterval(t)):clearInterval(t)}),200)}},{key:"_detectExecMode",value:function(){if(this._execMode)return this._execMode;var e="__gexec__"+Math.random().toString(36).slice(2);return this._execMode=(function(){try{(0,eval)("window.".concat(e,"=1"));var t=1===window[e];return delete window[e],t}catch(e){return!1}}()?"indirect":function(){try{var t=document.createElement("script");t.text="window.".concat(e,"=2"),(document.head||document.documentElement).appendChild(t),t.remove();var n=2===window[e];return delete window[e],n}catch(e){return!1}}()&&"inline")||function(){try{var t=new Blob(["window.".concat(e,"=3")],{type:"text/javascript"}),n=URL.createObjectURL(t),r=document.createElement("script");r.src=n,(document.head||document.documentElement).appendChild(r),r.remove(),URL.revokeObjectURL(n);var i=3===window[e];return delete window[e],i}catch(e){return!1}}()&&"blob"||"none",this._execMode}},{key:"_execGlobal",value:function(e,t,n){var r="\n//# sourceURL=".concat(t,".js");switch(n){case"indirect":return void(0,eval)(String(e)+r);case"inline":var i=document.createElement("script");return i.text=String(e)+r,(document.head||document.documentElement).appendChild(i),void i.remove();case"blob":var o=new Blob([String(e)+r],{type:"text/javascript"}),a=URL.createObjectURL(o),l=document.createElement("script");return l.src=a,(document.head||document.documentElement).appendChild(l),l.remove(),void URL.revokeObjectURL(a);default:return void eval.call(window,String(e)+r)}}},{key:"evalScript",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.name,i=void 0===r?"ez-standalone":r;if(!e||0===e.length)return!0;try{var o=this._detectExecMode();return this._execGlobal(e,i,o),!0}catch(e){return"function"==typeof t&&t(e),console.error(e),!1}}},{key:"gatherPageData",value:function(){var e={};return e.metas=this.gatherMetaTags(),e.authorLink=this.getAuthorLink(),e.spans=this.gatherSpans(),e.scripts=this.gatherPubAdTargeting(),e.jsonLd=this.gatherJSONLDScripts(),e.cookies=this.standalone&&this.standalone._config&&this.standalone._config.limitCookies?_():document.cookie,e}},{key:"gatherMetaTags",value:function(){var e=[];return document.querySelectorAll("meta").forEach((function(t){for(var n={},r=0;r<t.attributes.length;r++)n[t.attributes[r].name]=t.attributes[r].value;e.push(n)})),e}},{key:"getAuthorLink",value:function(){var e=document.querySelector("a[rel=author]");return e?e.innerText:""}},{key:"gatherSpans",value:function(){for(var e={},t=document.querySelectorAll("span[hidden][class=ezTargeting]"),n=0;n<t.length;n++){var r=t[n],i=r.getAttribute("name"),o=r.getAttribute("value");i&&o&&(i in e?e[i].push(o):e[i]=[o])}return e}},{key:"gatherPubAdTargeting",value:function(){for(var e={},t=document.querySelectorAll("script"),n=/googletag\.pubads\(\)\.setTargeting\(\s*["'](.*)['"]\s*,\s*["'](.*)['"]\s*\)/g,r=0;r<t.length;r++){var i=t[r];if(""!==i.innerHTML){var o,a=z(i.innerHTML.matchAll(n));try{for(a.s();!(o=a.n()).done;){var l=o.value;if(!(l.length<3)){var s=l[1],c=l[2];""!==s&&""!==c&&(s in e?e[s].push(c):e[s]=[c])}}}catch(e){a.e(e)}finally{a.f()}}}return e}},{key:"gatherJSONLDScripts",value:function(){for(var e=[],t=document.querySelectorAll('script[type="application/ld+json"]'),n=0;n<t.length;n++){var r=t[n];if(""!==r.innerHTML)try{var i=JSON.parse(r.innerHTML);e.push(i)}catch(e){}}return e}},{key:"getAdsenseLoaded",value:function(){return!!window.adsbygoogle&&!!window.adsbygoogle.loaded&&"undefined"!=typeof ezasLoaded}},{key:"setWordCount",value:function(e){this.wc=e}},{key:"getWordCount",value:function(e){var t=this;return e||null===this.wc?"loading"===document.readyState?(document.addEventListener("readystatechange",(function(){"loading"!==document.readyState&&t.getWordCount()}),!1),-1):(this.wc=document.body.innerText.replace(/(\r\n|\n|\r)/gm," ").split(/\s+/).length,this.wc):this.wc}},{key:"updateCookies",value:function(e){if(void 0!==e){var t=JSON.parse(e);if(Array.isArray(t))for(var n=0;n<t.length;n++){var r=t[n].replace(/\|/g,'"');document.cookie=r}}}},{key:"anchorAdExists",value:function(){var e;return null!==document.getElementById("ezmobfooter")||null!==document.getElementById("ezmobfooter-top")||null!=(null===(e=window.ezOrca)||void 0===e?void 0:e.anchor)}},{key:"isOnUrl",value:function(e){return"undefined"!=typeof _ezaq?e===window.location.href&&e===_ezaq.url:e===window.location.href}},{key:"sendRequestAsync",value:function(e,t){return new Promise((function(n,r){var i=new XMLHttpRequest;i.open("POST",e,!0),i.setRequestHeader("Content-Type","text/plain"),i.withCredentials=!0,i.onload=function(){n(i)},i.onerror=function(){r(i)},i.send(t)}))}}],n&&I(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),T=C;function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var R=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.standalone=t,this.IGNORED_PARAMS=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","gclid","dclid","fbclid","msclkid","twclid","epik","cid","icid","ref","referrer","aff_id","aff_sub","campaign","sessionid","trk","trackid","mc_cid","mc_eid"],this.currentURL=this.getNormalizedURL(),this.debounceTimeout=null}var t,n;return t=e,n=[{key:"getNormalizedURL",value:function(){var e,t=new URL(location.href),n=t.protocol+"//"+t.host+t.pathname,r=t.searchParams,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(this.IGNORED_PARAMS);try{for(i.s();!(e=i.n()).done;){var o=e.value;r.delete(o)}}catch(e){i.e(e)}finally{i.f()}var a=new URLSearchParams;Array.from(r.keys()).sort().forEach((function(e){a.set(e,r.get(e))}));var l=a.toString();return l?"".concat(n,"?").concat(l):n}},{key:"handleURLChange",value:function(){var e=this.getNormalizedURL();if(e!==this.currentURL){if(this.currentURL=e,void 0!==window.__ezDataCollector&&window.__ezDataCollector.addFormEventListeners(),this.standalone.urlChangeDetectionDisabled)return void this.standalone.logger.event("URL changed to "+e+" — detection disabled, skipping newPage");this.standalone.logger.event("URL changed to "+this.currentURL),this.standalone.setIsSinglePageApplication(!0),this.standalone.newPage()}}},{key:"scheduleURLChange",value:function(){var e=this;null===this.debounceTimeout&&(this.debounceTimeout=setTimeout((function(){e.debounceTimeout=null,e.handleURLChange()}),1e3))}},{key:"monitorURLChanges",value:function(){var e=this;window.addEventListener("popstate",(function(){e.scheduleURLChange()})),window.addEventListener("hashchange",(function(){e.scheduleURLChange()}));var t=history.pushState,n=history.replaceState,r=this;history.pushState=function(){var e=t.apply(history,arguments);return r.scheduleURLChange(),e},history.replaceState=function(){var e=n.apply(history,arguments);return r.scheduleURLChange(),e},void 0!==window.navigation&&window.navigation.addEventListener("navigatesuccess",(function(){e.scheduleURLChange()}))}},{key:"init",value:function(){this.monitorURLChanges()}}],n&&O(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),L=R;function D(e,t){if(e){if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(e,t):void 0}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function M(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,i)}function j(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){M(o,r,i,a,l,"next",e)}function l(e){M(o,r,i,a,l,"throw",e)}a(void 0)}))}}function U(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var q=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.logger=t}var t,n,r,i,o,a;return t=e,n=[{key:"fetchAndCachePrivacyUrl",value:(a=j(regeneratorRuntime.mark((function e(){var t,n,r,i,o,a,l,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="ezoic_publisher_privacy_url",e.prev=1,!(n=localStorage.getItem(t))){e.next=6;break}return this.logger.log("Using cached privacy URL"),e.abrupt("return",n);case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),this.logger.warn("Unable to access localStorage:",e.t0);case 11:return r=window.location.href,i={url:r,configs:["publisher_privacy_url"]},e.prev=13,e.next=16,fetch("https://g.ezoic.net/detroitchicago/ezconfig",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});case 16:if((a=e.sent).ok){e.next=20;break}return this.logger.error("Failed to fetch privacy config:",a.statusText),e.abrupt("return",null);case 20:return e.next=22,a.json();case 22:if(l=e.sent,s=null===(o=l.values)||void 0===o?void 0:o.publisher_privacy_url){e.next=27;break}return this.logger.log("No publisher_privacy_url configured"),e.abrupt("return",null);case 27:try{localStorage.setItem(t,s),this.logger.log("Cached privacy URL")}catch(e){this.logger.warn("Unable to cache privacy URL:",e)}return e.abrupt("return",s);case 31:return e.prev=31,e.t1=e.catch(13),this.logger.error("Error fetching privacy policy config:",e.t1),e.abrupt("return",null);case 35:case"end":return e.stop()}}),e,this,[[1,8],[13,31]])}))),function(){return a.apply(this,arguments)})},{key:"isPrivacyPolicyPage",value:(o=j(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetchAndCachePrivacyUrl();case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return",!1);case 5:return e.abrupt("return",this.urlsMatch(window.location.href,t));case 6:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"urlsMatch",value:function(e,t){var n,r,i=function(e){return e.hostname.toLowerCase().replace(/^www\./,"")+e.pathname.toLowerCase().replace(/\/+$/,"")};try{n=new URL(e),r=new URL(t)}catch(e){return this.logger.warn("Unable to parse URL for privacy match:",e),!1}if(i(n)!==i(r))return!1;var o,a,l,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=D(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(r.searchParams);try{for(s.s();!(o=s.n()).done;){var c=(a=o.value,l=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return o}}(a,l)||D(a,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=c[0],u=c[1];if(n.searchParams.get(d)!==u)return!1}}catch(e){s.e(e)}finally{s.f()}return!0}},{key:"hasEzoicPrivacyPolicy",value:function(){return document.querySelectorAll('a[href*="ezoic.com/privacy"]').length>0}},{key:"fetchPrivacyPolicyHtml",value:(i=j(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=window.location.href.split("#")[0],e.next=5,fetch("//g.ezoic.net/sa-privacy-policy.go",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:t})});case 5:if((n=e.sent).ok){e.next=9;break}return this.logger.error("Failed to fetch privacy policy HTML: ".concat(n.status)),e.abrupt("return",null);case 9:return e.next=11,n.text();case 11:return e.abrupt("return",e.sent);case 14:return e.prev=14,e.t0=e.catch(0),this.logger.error("Error fetching privacy policy HTML:",e.t0),e.abrupt("return",null);case 18:case"end":return e.stop()}}),e,this,[[0,14]])}))),function(){return i.apply(this,arguments)})},{key:"findInsertionPoint",value:function(){for(var e=0,t=["article",".content",".main-content","#content","#main-content",".post-content",".entry-content",".page-content",'[role="main"]',"main"];e<t.length;e++){var n=t[e],r=document.querySelector(n);if(r)return this.logger.log("Found insertion point: ".concat(n)),r}return this.logger.log("No specific content container found, using body"),document.body}},{key:"processHtmlForInsertion",value:function(e){var t=(new DOMParser).parseFromString(e,"text/html"),n=t.querySelectorAll("style");n.forEach((function(e){var t=e.textContent;t=(t=(t=t.replace(/font-family:\s*['"][^'"]+['"]/gi,"")).replace(/color:\s*#[0-9a-f]{3,6}/gi,"color: inherit")).replace(/margin:\s*2rem\s+0/gi,"margin: 1rem 0"),e.textContent=t}));var r=t.querySelector(".privacy-headline"),i=t.querySelector(".privacy-content"),o=t.querySelector("script"),a="";return n.length>0&&(a+=n[0].outerHTML),r&&(a+=r.outerHTML),i&&(a+=i.outerHTML),o&&(a+=o.outerHTML),a||e}},{key:"insertPrivacyPolicyHtml",value:function(e){var t=this;if(e){var n=function(){var n=t.processHtmlForInsertion(e),r=document.getElementById("ezoic-privacy-policy-embed");if(r&&!r.querySelector("#ezoic-privacy-policy-container"))return r.innerHTML=n,void t.logger.log("Privacy policy inserted into #ezoic-privacy-policy-embed");var i=t.findInsertionPoint();if(i){var o=document.createElement("div");if(o.id="ezoic-privacy-policy-container",o.style.cssText="margin: 2rem 0; padding: 1rem 0;",o.innerHTML=n,i===document.body){var a=document.querySelector("footer");if(a)a.parentNode.insertBefore(o,a),t.logger.log("Privacy policy inserted before footer");else{var l=Array.from(i.children),s=Math.max(0,l.length-3);l[s]?(l[s].parentNode.insertBefore(o,l[s].nextSibling),t.logger.log("Privacy policy inserted in middle of body")):(i.appendChild(o),t.logger.log("Privacy policy inserted at end of body"))}}else i.appendChild(o),t.logger.log("Privacy policy inserted into main content area")}else t.logger.error("Could not find suitable insertion point")};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n()}else this.logger.warn("No HTML to insert for privacy policy")}},{key:"handle",value:(r=j(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.logger.log("Checking for privacy policy page..."),e.next=3,this.isPrivacyPolicyPage();case 3:if(e.sent){e.next=6;break}return this.logger.log("Not a privacy policy page, skipping privacy policy check"),e.abrupt("return");case 6:this.logger.log("Privacy policy page detected"),t=function(){var e=j(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.hasEzoicPrivacyPolicy()){e.next=3;break}return n.logger.log("Ezoic privacy policy link already exists on page"),e.abrupt("return");case 3:return n.logger.log("Ezoic privacy policy link not found, fetching and inserting..."),e.next=6,n.fetchPrivacyPolicyHtml();case 6:(t=e.sent)&&n.insertPrivacyPolicyHtml(t);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t();case 9:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})}],n&&U(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),F=q;function H(e,t){var n=e&&e.display?e.display.maxItems:void 0;return Number.isInteger(n)&&n>0?n:t}n(189),n(2479),n(7727),n(1532),n(5192),n(9254),n(3112),n(5743);var B={destination_tips:V,things_to_do:G,where_to_stay:J,accommodation_specific:$,search_accommodations:Y,search_cars:Y,search_flights:Q};function V(e,t){var n=he(e,t).slice(0,H(e,3));if(0===n.length)return null;var r=function(e,t){var n=e&&e.data?e.data:{},r=t.normalizeText(n.sectionTitle||n.heading||n.headline);if(r)return ze(r);var i=ze(t.normalizeText(n.location||n.destination));return i?"Top Tips For Traveling To "+i:""}(e,t);if(!r)return null;var i=ge(e,"ez-affiliate-widget-tips");i.style.cssText="box-sizing:border-box;margin:28px auto;max-width:920px;width:100%;clear:both;font-family:inherit;line-height:1.55;";var o=document.createElement("h2");o.style.cssText="margin:0 0 24px;font-size:34px;font-weight:500;line-height:1.12;text-transform:uppercase;font-family:Georgia,'Times New Roman',serif;",o.textContent=r,i.appendChild(o);var a=document.createElement("ul");return a.className="ez-affiliate-widget-tips-list",a.style.cssText="margin:0;padding-left:24px;font-size:20px;",n.forEach((function(n,r){var i=le(e,n,r,"tip",t);i&&a.appendChild(i)})),0===a.childNodes.length?null:(i.appendChild(a),ye(i,t),i)}function G(e,t){var n=he(e,t).slice(0,H(e,3));if(0===n.length)return null;var r=ve(e,t);if(!r)return null;var i=ge(e,"ez-affiliate-widget-things-to-do");i.style.cssText="box-sizing:border-box;margin:28px auto;max-width:920px;width:100%;clear:both;font-family:inherit;",i.appendChild(me(r,!0));var o=document.createElement("div");return o.className="ez-affiliate-widget-recommendation-list",o.style.cssText="margin:0;font-size:20px;line-height:1.55;",n.forEach((function(n,r){var i=function(e,t,n,r){var i=document.createElement("p");i.className="ez-affiliate-widget-recommendation-item",i.style.cssText="margin:0 0 10px;";var o=de(e,t,n,r);if(!o)return null;var a=document.createElement("a");a.className="ez-affiliate-widget-title-link",a.target="_blank",a.rel="nofollow sponsored noopener",a.style.cssText="font-weight:800;text-decoration:underline;",a.textContent=t.title,r.decorateAffiliateAnchor(a,o,e,n),r.appendExternalIcon(a),i.appendChild(a);var l=r.normalizeText(t.description);return l&&i.appendChild(document.createTextNode(" - "+l)),i}(e,n,r,t);i&&o.appendChild(i)})),0===o.childNodes.length?null:(i.appendChild(o),ye(i,t),i)}function W(e,t){var n=he(e,t).slice(0,H(e,3));if(0===n.length)return null;var r=ve(e,t);if(!r)return null;var i=ge(e,"ez-affiliate-widget-things-to-do");i.style.cssText="box-sizing:border-box;margin:28px auto;max-width:920px;width:100%;clear:both;font-family:inherit;",i.appendChild(me(r,!0));var o=document.createElement("ul");return o.className="ez-affiliate-widget-recommendation-list",o.style.cssText="margin:0;padding-left:38px;font-size:20px;line-height:1.55;",n.forEach((function(n,r){var i=le(e,n,r,"recommendation",t);i&&o.appendChild(i)})),0===o.childNodes.length?null:(i.appendChild(o),ye(i,t),i)}function J(e,t){var n=he(e,t).slice(0,H(e,2));if(0===n.length)return null;var r=ve(e,t);if(!r)return null;var i=ge(e,"ez-affiliate-widget-where-to-stay");i.style.cssText="box-sizing:border-box;margin:28px auto;max-width:920px;width:100%;clear:both;font-family:inherit;color:#161616;",i.appendChild(me(r));var o=document.createElement("div");return o.className="ez-affiliate-widget-card-grid",o.style.cssText="display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px 46px;",n.forEach((function(n,r){var i=function(e,t,n,r){var i=document.createElement("div");i.className="ez-affiliate-widget-editorial-card",i.style.cssText="box-sizing:border-box;border:1px solid #e0e0e0;border-radius:10px;background:#fff;padding:24px;box-shadow:0 1px 4px rgba(0,0,0,0.06);line-height:1.45;";var o=document.createElement("div");o.className="ez-affiliate-widget-editorial-card-title",o.style.cssText="margin:0 0 14px;font-size:18px;font-weight:800;text-transform:uppercase;letter-spacing:.01em;color:#1b1b1b;",o.textContent=t.title,i.appendChild(o),se(i,t,"display:block;width:100%;height:260px;object-fit:cover;margin:0 0 22px;background:#f1f5f9;",r);var a=ce(i,e,t,n,r,"display:inline-block;margin:0 0 20px;color:#303f9f;font-size:18px;font-weight:800;text-decoration:underline;");ue(i,t,"margin:0 0 24px;font-size:17px;color:#222;");var l=fe(i,e,t,n,r,"display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:26px;");return a||l?i:null}(e,n,r,t);i&&o.appendChild(i)})),0===o.childNodes.length?null:(i.appendChild(o),ye(i,t),i)}function $(e,t){var n=he(e,t)[0];if(!n)return null;var r=ge(e,"ez-affiliate-widget-single-place");r.style.cssText="box-sizing:border-box;margin:28px auto;padding:24px;max-width:920px;width:100%;clear:both;border:1px solid #e0e0e0;border-radius:10px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,0.06);font-family:inherit;color:#161616;line-height:1.5;";var i=document.createElement("div");i.className="ez-affiliate-widget-editorial-card-title",i.style.cssText="margin:0 0 24px;font-size:17px;font-weight:800;text-transform:uppercase;letter-spacing:.01em;color:#1b1b1b;",i.textContent=n.title,r.appendChild(i),se(r,n,"display:block;width:100%;max-height:620px;object-fit:cover;margin:0 0 18px;background:#f1f5f9;",t);var o=ce(r,e,n,0,t,"display:inline-block;margin:0 0 16px;color:#303f9f;font-size:18px;font-weight:800;text-decoration:underline;");ue(r,n,"margin:0 0 22px;font-size:17px;color:#222;");var a=fe(r,e,n,0,t,"display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin-top:24px;");return o||a?(ye(r,t),r):null}function Y(e,t){var n=function(e,t,n){var r=[],i={},o=e&&e.data?e.data:{},a=n.normalizeText(o.cta)||"";return t.forEach((function(t,o){if(!(r.length>=3))for(var l=n.offerItemCTAs(t,e,o),s=0;s<l.length&&(l[s].widgetCta=a,!pe(r,i,l[s],n));s++);})),n.cardCTAs(e).forEach((function(e){r.length<3&&(e.widgetCta=a,pe(r,i,e,n))})),r.slice(0,3)}(e,he(e,t),t);if(0===n.length)return null;var r=ve(e,t);if(!r)return null;var i=ge(e,"ez-affiliate-widget-search-panel");i.style.cssText="box-sizing:border-box;margin:30px auto;padding:28px 36px 38px;max-width:920px;width:100%;clear:both;border-radius:12px;background:#f5f5f5;box-shadow:0 6px 16px rgba(0,0,0,0.12);font-family:inherit;color:#111;";var o=document.createElement("h2");o.style.cssText="margin:0 0 26px;font-size:38px;font-weight:500;line-height:1.15;font-family:Georgia,'Times New Roman',serif;color:#111;",o.textContent=r,i.appendChild(o);var a=document.createElement("div");return a.className="ez-affiliate-widget-search-actions",a.style.cssText="box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:center;gap:18px;padding:24px 20px;background:#fff;box-shadow:0 14px 22px rgba(0,0,0,0.18);",n.forEach((function(n,r){var i=document.createElement("a");i.className="ez-affiliate-widget-cta",i.target="_blank",i.rel="nofollow sponsored noopener",i.style.cssText="display:inline-block;min-width:180px;border-radius:999px;background:#bf3f38;color:#fff;text-align:center;text-decoration:none;font-size:14px;font-weight:800;text-transform:uppercase;padding:14px 24px;box-shadow:0 2px 5px rgba(0,0,0,0.16);",i.textContent=n.label,t.decorateAffiliateAnchor(i,n,e,r),a.appendChild(i)})),i.appendChild(a),ye(i,t),i}function Q(e,t){var n=function(e,t){for(var n=null,r=0;r<t.length;r++){for(var i=t[r]||{},o=Array.isArray(i.links)?i.links:[],a=0;a<o.length;a++){var l=ee(o[a]);if(l)return{link:l,parentItem:i,itemIndex:r,linkIndex:a}}if(!n){var s=ee(i);s&&(n={link:s,parentItem:i,itemIndex:r,linkIndex:0})}}return n}(0,he(e,t));if(!n)return null;var r=n.link,i=n.parentItem,o=e&&e.data||{},a=String(r.flightDestinationIata||r.flightDestinationIATA||i.flightDestinationIata||i.flightDestinationIATA||"").trim().toUpperCase(),l=t.normalizeText(o.destinationLocation||o.destination_location||r.flightDestinationCity||r.flightDestinationCITY||i.flightDestinationCity||i.flightDestinationCITY||(r.flightOriginIata||i.flightOriginIata?"":o.location||o.destination||"")),s=String(r.flightOriginIata||r.flightOriginIATA||i.flightOriginIata||i.flightOriginIATA||"").trim().toUpperCase(),c=t.normalizeText(o.originLocation||o.origin_location||r.flightOriginCity||r.flightOriginCITY||i.flightOriginCity||i.flightOriginCITY||"");if(!(l||a||c||s))return null;var d=ge(e,"ez-affiliate-widget-flight-search");d.style.cssText="box-sizing:border-box;margin:30px auto;padding:22px 26px 26px;max-width:920px;width:100%;clear:both;border-radius:14px;background:linear-gradient(135deg,#1d3557 0%,#2563eb 100%);color:#f8fafc;font-family:inherit;box-shadow:0 12px 28px rgba(15,23,42,0.22);";var u=document.createElement("h2");u.style.cssText="margin:0 0 18px;font-size:26px;font-weight:700;line-height:1.2;font-family:Georgia,'Times New Roman',serif;color:#f8fafc;",u.textContent="Find Flights",d.appendChild(u);var f=document.createElement("form");f.className="ez-affiliate-widget-flight-form",f.style.cssText="display:flex;flex-direction:column;gap:14px;background:#ffffff;color:#1f2937;padding:18px;border-radius:10px;";var p=document.createElement("div");p.style.cssText="display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;";var h=te("From","ez-affiliate-flight-origin","1 1 200px"),g=ae({id:"ez-affiliate-flight-origin-"+e.widgetId,name:"origin",placeholder:"City or airport",initialIATA:s||Z()||"",initialCity:c});h.appendChild(g.wrapper),p.appendChild(h);var m=te("To","ez-affiliate-flight-dest","1 1 200px"),v=ae({id:"ez-affiliate-flight-dest-"+e.widgetId,name:"destination",placeholder:"City or airport",initialIATA:a||"",initialCity:l});m.appendChild(v.wrapper),p.appendChild(m);var y=te("Depart","ez-affiliate-flight-depart","1 1 150px"),w=document.createElement("input");w.type="date",w.name="departDate",w.value=ne(45),w.min=ne(0),w.style.cssText="padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px;color:#0f172a;background:#ffffff;line-height:1.2;width:100%;box-sizing:border-box;font-family:inherit;",y.appendChild(w),p.appendChild(y);var b=te("Return","ez-affiliate-flight-return","1 1 150px"),_=document.createElement("input");_.type="date",_.name="returnDate",_.value=ne(52),_.min=ne(1),_.style.cssText="padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px;color:#0f172a;background:#ffffff;line-height:1.2;width:100%;box-sizing:border-box;font-family:inherit;",b.appendChild(_),p.appendChild(b);var x=te("Passengers","ez-affiliate-flight-adults","0 0 140px"),z=document.createElement("select");z.name="adults",z.style.cssText="box-sizing:border-box;width:100%;padding:10px 32px 10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px;font-family:inherit;color:#0f172a;background:#ffffff;line-height:1.4;min-height:40px;appearance:auto;-webkit-appearance:auto;-moz-appearance:auto;cursor:pointer;";for(var A=1;A<=8;A++){var S=document.createElement("option");S.value=String(A),S.textContent=A+" "+(1===A?"Adult":"Adults"),z.appendChild(S)}z.value="1",x.appendChild(z),p.appendChild(x),f.appendChild(p);var E=document.createElement("label");E.style.cssText="display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#334155;cursor:pointer;user-select:none;";var I=document.createElement("input");I.type="checkbox",I.name="oneWay",I.style.cssText="width:16px;height:16px;cursor:pointer;",I.addEventListener("change",(function(){_.disabled=I.checked,b.style.opacity=I.checked?"0.45":"1"})),E.appendChild(I),E.appendChild(document.createTextNode("One-way trip")),f.appendChild(E);var P=document.createElement("div");P.style.cssText="display:flex;justify-content:center;margin-top:6px;";var C=document.createElement("button");return C.type="submit",C.className="ez-affiliate-widget-cta",C.textContent="Search Flights",C.style.cssText="display:inline-block;min-width:220px;border:0;border-radius:999px;background:#f97316;color:#fff;text-align:center;font-size:16px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:14px 32px;cursor:pointer;box-shadow:0 4px 10px rgba(0,0,0,0.18);",P.appendChild(C),f.appendChild(P),d.appendChild(f),f.addEventListener("submit",(function(r){r.preventDefault(),function(e,t,n,r){var i=(e.widgetId||"affiliate-flight")+"-flight-"+n.itemIndex+"-"+n.linkIndex,o=t.affiliateActionForLink(n.link,e,i,n.parentItem,r);if(o){var a=document.createElement("a");a.style.cssText="position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;",a.target="_blank",a.rel="nofollow sponsored noopener",a.textContent="Search Flights",document.body.appendChild(a),t.decorateAffiliateAnchor(a,o,e,n.itemIndex),a.click(),setTimeout((function(){a.parentNode&&a.parentNode.removeChild(a)}),0)}}(e,t,n,{origin:g.getValue(),destination:v.getValue(),departDate:w.value,returnDate:I.checked?"":_.value,adults:z.value})})),ye(d,t),d}function K(e){var t=ze(String(e||"")).trim();if(!t)return"";for(var n=t.replace(/\s*\([A-Za-z]{3}\)\s*$/i,"").trim(),r=[/ international airport$/i,/ regional airport$/i,/ intl airport$/i,/ airport$/i],i=0;i<r.length;i++)if(r[i].test(n)){n=n.replace(r[i],"").trim();break}return n||t}var X={"America/New_York":"NYC","America/Detroit":"DTW","America/Toronto":"YTO","America/Montreal":"YUL","America/Chicago":"CHI","America/Denver":"DEN","America/Phoenix":"PHX","America/Los_Angeles":"LAX","America/Vancouver":"YVR","America/Anchorage":"ANC","Pacific/Honolulu":"HNL","America/Halifax":"YHZ","America/Edmonton":"YEG","America/Winnipeg":"YWG","America/Mexico_City":"MEX","America/Sao_Paulo":"SAO","America/Argentina/Buenos_Aires":"BUE","Europe/London":"LON","Europe/Dublin":"DUB","Europe/Paris":"PAR","Europe/Madrid":"MAD","Europe/Lisbon":"LIS","Europe/Rome":"ROM","Europe/Amsterdam":"AMS","Europe/Berlin":"BER","Europe/Vienna":"VIE","Europe/Zurich":"ZRH","Europe/Brussels":"BRU","Europe/Copenhagen":"CPH","Europe/Stockholm":"STO","Europe/Oslo":"OSL","Europe/Helsinki":"HEL","Europe/Warsaw":"WAW","Europe/Prague":"PRG","Europe/Budapest":"BUD","Europe/Athens":"ATH","Europe/Istanbul":"IST","Europe/Moscow":"MOW","Asia/Dubai":"DXB","Asia/Tokyo":"TYO","Asia/Shanghai":"SHA","Asia/Hong_Kong":"HKG","Asia/Singapore":"SIN","Asia/Bangkok":"BKK","Asia/Seoul":"SEL","Asia/Taipei":"TPE","Asia/Manila":"MNL","Asia/Kolkata":"DEL","Australia/Sydney":"SYD","Australia/Melbourne":"MEL","Australia/Brisbane":"BNE","Australia/Perth":"PER","Pacific/Auckland":"AKL"};function Z(){try{if("undefined"==typeof Intl||"function"!=typeof Intl.DateTimeFormat)return"";var e=Intl.DateTimeFormat().resolvedOptions().timeZone;return e&&X[e]||""}catch(e){return""}}function ee(e){return e&&(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl)?e:null}function te(e,t,n){var r=document.createElement("div");r.className=t,r.style.cssText="display:flex;flex-direction:column;gap:4px;flex:"+n+";min-width:0;";var i=document.createElement("label");return i.style.cssText="font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#475569;",i.textContent=e,r.appendChild(i),r}function ne(e){var t=new Date;return t.setDate(t.getDate()+e),t.toISOString().slice(0,10)}var re=null,ie=null;function oe(e,t){if(!e||!t)return!1;for(var n=e.split(/[\s\-\/.,()]+/),r=0;r<n.length;r++)if(0===n[r].indexOf(t))return!0;return!1}function ae(e){var t=document.createElement("div");t.style.cssText="position:relative;width:100%;";var n=document.createElement("input");n.type="text",n.id=e.id,n.name=e.name,n.autocomplete="off",n.spellcheck=!1,n.placeholder=e.placeholder||"City or airport",n.style.cssText="padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px;color:#0f172a;background:#ffffff;line-height:1.2;width:100%;box-sizing:border-box;font-family:inherit;";var r=String(e.initialIATA||"").trim().toUpperCase().slice(0,3),i=null;r&&e.initialCity?n.value=K(e.initialCity)+" ("+r+")":n.value=r||"",t.appendChild(n);var o=document.createElement("div");o.style.cssText="position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:9999;max-height:280px;overflow-y:auto;background:#ffffff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 8px 20px rgba(15,23,42,0.18);display:none;",t.appendChild(o);var a=[],l=-1,s=!!re;function c(){return s?Promise.resolve(re):(re?Promise.resolve(re):ie||(ie=fetch("https://aff.ezodn.com/affiliate-airports/v1/airports.json",{credentials:"omit"}).then((function(e){if(!e||!e.ok)throw new Error("airports fetch failed: "+(e&&e.status));return e.json()})).then((function(e){return re=Array.isArray(e)?e:[]})).catch((function(e){throw ie=null,e})))).then((function(e){return s=!0,e}))}function d(e){if(l=-1,!(a=e||[]).length)return o.style.display="none",void(o.innerHTML="");o.innerHTML="";for(var t=0;t<a.length;t++)o.appendChild(u(a[t],t));o.style.display="block"}function u(e,t){var n=document.createElement("div");n.dataset.index=String(t),n.style.cssText="padding:9px 12px;cursor:pointer;font-size:14px;color:#0f172a;border-bottom:1px solid #f1f5f9;line-height:1.3;";var r=document.createElement("div");r.style.cssText="display:flex;justify-content:space-between;gap:8px;font-weight:600;";var i=document.createElement("span");i.textContent=K(e.c||e.n||"");var o=document.createElement("span");o.style.cssText="color:#475569;font-variant-numeric:tabular-nums;letter-spacing:.04em;",o.textContent=e.i,r.appendChild(i),r.appendChild(o),n.appendChild(r);var a=document.createElement("div");a.style.cssText="font-size:12px;color:#64748b;margin-top:2px;";var l=[];return e.n&&l.push(e.n),e.cc&&l.push(e.cc),a.textContent=l.join(" • "),n.appendChild(a),n.addEventListener("mousedown",(function(t){t.preventDefault(),p(e)})),n.addEventListener("mouseenter",(function(){f(t)})),n}function f(e){for(var t=o.children,n=0;n<t.length;n++)t[n].style.background=n===e?"#eef2ff":"#ffffff";l=e}function p(e){i=e,r=String(e.i||"").toUpperCase(),n.value=K(e.c||e.n||"")+" ("+r+")",o.style.display="none",o.innerHTML=""}function h(){if(s){var e=n.value.trim();if(i&&e===K(i.c||i.n||"")+" ("+i.i+")")d([]);else{var t=e.replace(/\s*\([A-Za-z]{0,3}\)\s*$/i,"").trim();d(function(e,t,n){var r=n>0?n:8,i=String(t||"").trim().toLowerCase();if(!e||!e.length)return[];if(!i){var o=e.filter((function(e){return e&&2===e.p})),a=e.filter((function(e){return e&&2!==e.p}));return o.concat(a).slice(0,r)}for(var l=[],s=0;s<e.length;s++){var c=e[s];if(c&&c.i){var d=String(c.i).toLowerCase(),u=String(c.c||"").toLowerCase(),f=String(c.n||"").toLowerCase(),p=0;if(d===i?p=1:0===d.indexOf(i)?p=2:u===i||0===u.indexOf(i+" ")?p=3:0===u.indexOf(i)?p=4:oe(u,i)?p=5:oe(f,i)?p=6:(u.indexOf(i)>=0||f.indexOf(i)>=0)&&(p=7),0!==p){var h=1e3*p-10*(2===c.p?2:1===c.p?1:0);l.push({score:h,city:c.c||"",iata:c.i,row:c})}}}l.sort((function(e,t){return e.score!==t.score?e.score-t.score:e.city!==t.city?e.city<t.city?-1:1:e.iata<t.iata?-1:1}));for(var g=[],m=0;m<l.length&&g.length<r;m++)g.push(l[m].row);return g}(re,t,10))}}}return n.addEventListener("focus",(function(){c().then(h).catch((function(){}))})),n.addEventListener("input",(function(){i=null,s?h():c().then(h).catch((function(){}))})),n.addEventListener("keydown",(function(e){if("ArrowDown"===e.key){if(e.preventDefault(),!a.length)return;f((l+1)%a.length)}else if("ArrowUp"===e.key){if(e.preventDefault(),!a.length)return;f((l-1+a.length)%a.length)}else"Enter"===e.key?l>=0&&l<a.length?(e.preventDefault(),p(a[l])):a.length&&(e.preventDefault(),p(a[0])):"Escape"===e.key&&(o.style.display="none",o.innerHTML="")})),n.addEventListener("blur",(function(){setTimeout((function(){o.style.display="none"}),150)})),{wrapper:t,input:n,getValue:function(){if(i&&i.i)return i.i;var e=String(n.value||"").trim();if(!e)return"";var t=e.match(/\(([A-Za-z]{3})\)\s*$/);if(t)return t[1].toUpperCase();var r=e.toUpperCase().replace(/[^A-Z]/g,"");if(3===r.length&&re)for(var o=0;o<re.length;o++)if(re[o]&&re[o].i===r)return r;return r.slice(0,3)}}}function le(e,t,n,r,i){var o=document.createElement("li");o.className="ez-affiliate-widget-"+r+"-item",o.style.cssText="margin:0 0 8px;padding-left:2px;";var a=de(e,t,n,i);if(!a)return null;var l=document.createElement("a");l.className="ez-affiliate-widget-title-link",l.target="_blank",l.rel="nofollow sponsored noopener",l.style.cssText="font-weight:800;text-decoration:underline;",l.textContent=t.title,i.decorateAffiliateAnchor(l,a,e,n),i.appendExternalIcon(l),o.appendChild(l);var s=i.normalizeText(t.description);return s&&o.appendChild(document.createTextNode(" - "+s)),o}function se(e,t,n,r){if(r.safeImageURL(t.imageUrl)){var i=document.createElement("img");i.className="ez-affiliate-widget-image",i.alt="",i.loading="lazy",r.removeBrokenImageOnError(i),i.src=t.imageUrl,i.style.cssText=n,e.appendChild(i)}}function ce(e,t,n,r,i,o){var a=de(t,n,r,i);if(!a)return!1;var l=document.createElement("a");return l.className="ez-affiliate-widget-title-link",l.target="_blank",l.rel="nofollow sponsored noopener",l.style.cssText=o,l.textContent=n.title,i.decorateAffiliateAnchor(l,a,t,0),e.appendChild(l),!0}function de(e,t,n,r){var i=r.offerItemAction(e,t,n,0);if(i)return i;for(var o=Array.isArray(t&&t.links)?t.links:[],a=0;a<o.length;a++){var l=r.offerItemAction(e,o[a],n,a,t);if(l)return l}return null}function ue(e,t,n){var r=t.description||"";if(r){var i=document.createElement("p");i.className="ez-affiliate-widget-description",i.style.cssText=n,i.textContent=r,e.appendChild(i)}}function fe(e,t,n,r,i,o){var a=document.createElement("div");return a.className="ez-affiliate-widget-actions",a.style.cssText=o,i.offerItemCTAs(n,t,r).forEach((function(e,n){var r=document.createElement("a");r.className="ez-affiliate-widget-cta",r.target="_blank",r.rel="nofollow sponsored noopener",r.style.cssText="display:inline-block;min-width:180px;border-radius:999px;background:#bf3f38;color:#fff;text-align:center;text-decoration:none;font-size:14px;font-weight:800;text-transform:uppercase;padding:13px 22px;box-shadow:0 2px 5px rgba(0,0,0,0.16);",r.textContent=e.label,i.decorateAffiliateAnchor(r,e,t,n),a.appendChild(r)})),a.childNodes.length>0&&(e.appendChild(a),!0)}function pe(e,t,n,r){var i=function(e,t){return xe(t.normalizeText(e&&(e.merchantLabel||e.label)))}(n,r);if(!i)return!1;var o=i.toLowerCase();if(t[o])return!1;t[o]=!0;var a=function(e){var t=xe(e);return t?/^(search|find|read|get|shop|buy|compare|reserve|explore|see|learn|visit|open)\b/i.test(t)&&!/(\.com\b|\bexpedia\b)/i.test(t)?t:"View":""}(n.widgetCta);return n.label=a||n.label||"View",e.push(n),!0}function he(e,t){var n=e&&e.data?e.data:{};return(Array.isArray(n.offerItems)?n.offerItems:[]).filter((function(e){return e&&t.normalizeText(e.title)&&function(e,t){return!!t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl)||(Array.isArray(e.links)?e.links:[]).some((function(e){return t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl)}))}(e,t)}))}function ge(e,t){var n=document.createElement("section");return n.className="ez-affiliate-widget "+t,n.setAttribute("data-ez-affiliate-widget-id",e.widgetId),n.setAttribute("data-ez-affiliate-widget-type",e.type||""),n.setAttribute("data-ez-affiliate-owned","true"),n}function me(e,t){var n=document.createElement("div");n.className="ez-affiliate-widget-section-heading",n.style.cssText="display:flex;align-items:center;gap:14px;margin:0 0 22px;";var r=document.createElement("h2");r.style.cssText=t?"margin:0;font-size:28px;font-weight:500;line-height:1.2;font-family:Georgia,'Times New Roman',serif;":"margin:0;font-size:28px;font-weight:500;line-height:1.2;font-family:Georgia,'Times New Roman',serif;color:#111;",r.textContent=e;var i=document.createElement("div");return i.style.cssText=t?"height:1px;flex:1;background:currentColor;opacity:.25;":"height:1px;flex:1;background:#111;opacity:.85;",n.appendChild(r),n.appendChild(i),n}function ve(e,t){var n=e&&e.data?e.data:{},r=t.normalizeText(n.sectionTitle||n.heading||n.headline||n.title);if(r)return ze(r);var i=ze(t.normalizeText(n.location||n.destination)),o=we(e&&e.type),a=be(e);if("search_accommodations"===o&&("accommodation_cards"===a||"single_place"===a))return i?"Where To Stay In "+i:"";switch(o){case"where_to_stay":case"accommodation_specific":return i?"Where To Stay In "+i:"";case"search_accommodations":return i?"Search Accommodation In "+i:"";case"things_to_do":return i?"Things To Do In "+i:"";case"search_cars":return i?"Transportation Options In "+i:"";case"search_flights":return i?"Flight Options For "+i:"";default:return i?"Recommended Picks For "+i:""}}function ye(e,t){t.protectAffiliateWidgetFromAds(e),t.trackAffiliateRendered(e)}function we(e){return String(e||"").trim().toLowerCase()}function be(e){var t=e&&e.data?e.data:{};return _e(t.render_size||t.renderSize||e&&(e.render_size||e.renderSize||e.size))||_e(t.renderMode||t.renderType||e&&(e.renderMode||e.renderType))}function _e(e){switch(we(e)){case"accommodation_cards":case"card_2up":case"card_3up":case"cards":return"accommodation_cards";case"single_place":case"single":case"card_1up":return"single_place";case"search_panel":case"search":return"search_panel";case"recommendation_list":return"recommendation_list";case"tips":return"tips";default:return""}}function xe(e){return String(e||"").trim()}function ze(e){return String(e||"").replace(/\b[a-z][a-z']*\b/g,(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}))}function Ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Se(e,t){var n=e&&e.display?e.display.maxItems:void 0;return Number.isInteger(n)&&n>0?n:t}var Ee={product_comparison:function(e,t){var n=Te(e,t).slice(0,Se(e,4));if(0===n.length)return null;var r=Ce(e,t,"Compare Products"),i=Re(e,"ez-affiliate-widget-product-comparison");i.style.cssText="box-sizing:border-box;margin:28px auto;max-width:960px;width:100%;clear:both;font-family:inherit;color:#161616;",i.appendChild(Pe(r));var o=document.createElement("div");return o.className="ez-affiliate-widget-comparison-grid",o.style.cssText="display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;",n.forEach((function(n,r){var i=function(e,t,n,r){var i=r.normalizeText(t.title);if(!i)return null;var o=document.createElement("div");o.className="ez-affiliate-widget-product-card",o.style.cssText="box-sizing:border-box;border:1px solid #e0e0e0;border-radius:10px;padding:20px;background:#fff;display:flex;flex-direction:column;align-items:center;text-align:center;";var a=Oe(t,r);if(a){var l=document.createElement("img");l.src=a,l.alt=i,l.style.cssText="width:140px;height:140px;object-fit:contain;margin-bottom:14px;border-radius:6px;",l.loading="lazy",o.appendChild(l)}var s=document.createElement("h3");s.style.cssText="margin:0 0 8px;font-size:17px;font-weight:600;line-height:1.3;color:#111;",s.textContent=i,o.appendChild(s);var c=r.normalizeText(t.price||t.priceDisplay);if(c){var d=document.createElement("div");d.style.cssText="margin-bottom:12px;font-size:18px;font-weight:700;color:#1a73e8;",d.textContent=c,o.appendChild(d)}var u=ke(t,r);if(u){var f=Ie(e,t,u,n,r,"View Product");o.appendChild(f)}return o}(e,n,r,t);i&&o.appendChild(i)})),0===o.childNodes.length?null:(i.appendChild(o),Le(i,e,t),i)},deal_spotlight:function(e,t){var n=Te(e,t).slice(0,Se(e,1));if(0===n.length)return null;var r=n[0],i=Ce(e,t,"Featured Deal"),o=Re(e,"ez-affiliate-widget-deal-spotlight");o.style.cssText="box-sizing:border-box;margin:28px auto;padding:28px 32px;max-width:720px;width:100%;clear:both;border:2px solid #1a73e8;border-radius:12px;background:linear-gradient(135deg,#f8fbff 0%,#eef4ff 100%);font-family:inherit;color:#161616;",o.appendChild(Pe(i));var a=document.createElement("div");a.className="ez-affiliate-widget-deal-content",a.style.cssText="display:flex;gap:24px;align-items:center;flex-wrap:wrap;";var l=Oe(r,t);if(l){var s=document.createElement("img");s.src=l,s.alt=t.normalizeText(r.title)||"Product",s.style.cssText="width:180px;height:180px;object-fit:contain;border-radius:8px;background:#fff;padding:8px;flex-shrink:0;",s.loading="lazy",a.appendChild(s)}var c=document.createElement("div");c.style.cssText="flex:1;min-width:200px;";var d=document.createElement("h3");d.style.cssText="margin:0 0 8px;font-size:22px;font-weight:600;line-height:1.3;color:#111;",d.textContent=t.normalizeText(r.title),c.appendChild(d);var u=t.normalizeText(r.description||r.snippet);if(u){var f=document.createElement("p");f.style.cssText="margin:0 0 12px;font-size:15px;color:#444;line-height:1.5;",f.textContent=u,c.appendChild(f)}var p=t.normalizeText(r.price||r.priceDisplay);if(p){var h=document.createElement("span");h.style.cssText="display:inline-block;margin-bottom:12px;font-size:20px;font-weight:700;color:#1a73e8;",h.textContent=p,c.appendChild(h)}var g=ke(r,t);if(g){var m=Ie(e,r,g,0,t,"View Deal");c.appendChild(m)}return a.appendChild(c),o.appendChild(a),Le(o,e,t),o},category_picks:function(e,t){var n=Te(e,t).slice(0,Se(e,5));if(0===n.length)return null;var r=Ce(e,t,"Top Picks"),i=Re(e,"ez-affiliate-widget-category-picks");i.style.cssText="box-sizing:border-box;margin:28px auto;max-width:920px;width:100%;clear:both;font-family:inherit;color:#161616;",i.appendChild(Pe(r));var o=document.createElement("ol");return o.className="ez-affiliate-widget-picks-list",o.style.cssText="margin:0;padding-left:28px;font-size:17px;line-height:1.6;color:#222;list-style-type:decimal;",n.forEach((function(n,r){var i=function(e,t,n,r){var i=r.normalizeText(t.title);if(!i)return null;var o=document.createElement("li");o.style.cssText="margin-bottom:10px;";var a=ke(t,r);if(a){var l=r.offerItemClickBinding(e,t,n,a),s=document.createElement("a");s.href=l.href,s.target="_blank",s.rel="noopener sponsored",s.style.cssText="color:#1a73e8;text-decoration:none;font-weight:600;",s.textContent=i,r.bindAffiliateClickTracking(s,l.data),o.appendChild(s)}else{var c=document.createElement("span");c.style.cssText="font-weight:600;",c.textContent=i,o.appendChild(c)}var d=r.normalizeText(t.description||t.snippet);if(d){var u=document.createElement("span");u.style.cssText="color:#555;margin-left:6px;",u.textContent="— "+d,o.appendChild(u)}return o}(e,n,r,t);i&&o.appendChild(i)})),0===o.childNodes.length?null:(i.appendChild(o),Le(i,e,t),i)}};function Ie(e,t,n,r,i,o){var a,l=i.normalizeText(t.cta||t.ctaText)||function(e,t){var n=e&&e.data?e.data:{};return t.normalizeText(n.cta||n.ctaText||n.cta_text)}(e,i),s=l?(a=String(l||"").trim())?/^(search|find|read|get|shop|buy|compare|reserve|explore|see|learn|visit|open)\b/i.test(a)&&!/(\.com\b|\bexpedia\b)/i.test(a)?a:"View":"":o,c=i.offerItemClickBinding(e,t,r,n),d=document.createElement("a");return d.href=c.href,d.target="_blank",d.rel="noopener sponsored",d.className="ez-affiliate-widget-cta",d.style.cssText="display:inline-block;padding:10px 24px;border-radius:6px;background:#1a73e8;color:#fff;font-size:14px;font-weight:600;text-decoration:none;text-align:center;cursor:pointer;transition:background 0.2s;",d.textContent=s,d.addEventListener("mouseenter",(function(){d.style.background="#1557b0"})),d.addEventListener("mouseleave",(function(){d.style.background="#1a73e8"})),i.bindAffiliateClickTracking(d,c.data),d}function Pe(e){var t=document.createElement("div");t.className="ez-affiliate-widget-section-heading",t.style.cssText="display:flex;align-items:center;gap:14px;margin:0 0 22px;";var n=document.createElement("h2");n.style.cssText="margin:0;font-size:26px;font-weight:600;line-height:1.2;color:#111;",n.textContent=e;var r=document.createElement("div");return r.style.cssText="height:2px;flex:1;background:linear-gradient(90deg,#1a73e8 0%,transparent 100%);",t.appendChild(n),t.appendChild(r),t}function Ce(e,t,n){var r=e&&e.data?e.data:{},i=t.normalizeText(r.sectionTitle||r.heading||r.headline||r.title);return i?String(i||"").replace(/\b[a-z][a-z']*\b/g,(function(e){return e.charAt(0).toUpperCase()+e.slice(1)})):n}function Te(e,t){var n=e&&e.data?e.data:{};return(Array.isArray(n.offerItems)?n.offerItems:[]).filter((function(e){return e&&t.normalizeText(e.title)&&function(e,t){return!!t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl)||(Array.isArray(e.links)?e.links:[]).some((function(e){return t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl)}))}(e,t)}))}function ke(e,t){var n=t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl);if(n)return n;var r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ae(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(Array.isArray(e.links)?e.links:[]);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=t.normalizeText(o.modified_href||o.modifiedHref||o.ezoic_affiliate_url||o.ezoicAffiliateUrl);if(a)return a}}catch(e){i.e(e)}finally{i.f()}return""}function Oe(e,t){var n=t.normalizeText(e.imageUrl||e.image_url||e.image||"");return t.safeImageURL(n)?n:""}function Re(e,t){var n=document.createElement("section");return n.className="ez-affiliate-widget "+t,n.setAttribute("data-ez-affiliate-widget-id",e.widgetId),n.setAttribute("data-ez-affiliate-widget-type",e.type||""),n.setAttribute("data-ez-affiliate-owned","true"),n}function Le(e,t,n){!function(e,t){if(e&&function(e){var t=e&&e.data?e.data:{};return(Array.isArray(t.offerItems)?t.offerItems:[]).some((function(e){return!!De(e&&e.network)||(e&&Array.isArray(e.links)?e.links:[]).some((function(e){return De(e&&e.network)}))}))}(t)){var n=document.createElement("div");n.className="ez-affiliate-amazon-disclosure",n.style.cssText="margin:12px 0 0;font-size:12px;line-height:1.4;color:#767676;font-style:italic;text-align:center;",n.textContent="As an Amazon Associate I earn from qualifying purchases.",e.appendChild(n)}}(e,t),n.protectAffiliateWidgetFromAds(e),n.trackAffiliateRendered(e)}function De(e){return"amazon"===String(e||"").trim().toLowerCase()}function Ne(e){return String(e||"").trim().toLowerCase()}function Me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var je={recipe_picks:function(e,t){return Ue(e,t,{maxItems:5,fallbackTitle:"Recipe Picks",containerClass:"ez-affiliate-widget-recipe-picks",gridClass:"ez-affiliate-widget-recipe-picks-grid"})},cookware_inline:function(e,t){return Ue(e,t,{maxItems:5,fallbackTitle:"Shop the kit",containerClass:"ez-affiliate-widget-cookware-inline",gridClass:"ez-affiliate-widget-cookware-inline-grid"})}};function Ue(e,t,n){var r=function(e,t){var n=e&&e.data?e.data:{};return(Array.isArray(n.offerItems)?n.offerItems:[]).filter((function(e){return e&&t.normalizeText(e.title)&&function(e,t){return!!t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl)||(Array.isArray(e.links)?e.links:[]).some((function(e){return t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl)}))}(e,t)}))}(e,t).filter((function(e){return qe(e,t)})).slice(0,function(e,t){var n=e&&e.display?e.display.maxItems:void 0;return Number.isInteger(n)&&n>0?n:t}(e,n.maxItems));if(0===r.length)return null;var i=function(e,t,n){var r=e&&e.data?e.data:{},i=t.normalizeText(r.sectionTitle||r.heading||r.headline||r.title);return i?String(i||"").replace(/\b[a-z][a-z']*\b/g,(function(e){return e.charAt(0).toUpperCase()+e.slice(1)})):n}(e,t,n.fallbackTitle),o=function(e,t){var n=document.createElement("section");return n.className="ez-affiliate-widget "+t,n.setAttribute("data-ez-affiliate-widget-id",e.widgetId),n.setAttribute("data-ez-affiliate-widget-type",e.type||""),n.setAttribute("data-ez-affiliate-owned","true"),n}(e,n.containerClass);o.style.cssText="box-sizing:border-box;margin:28px auto;max-width:920px;width:100%;clear:both;font-family:inherit;color:#1b1b1b;",o.appendChild(function(e){var t=document.createElement("div");t.className="ez-affiliate-widget-section-heading",t.style.cssText="display:flex;align-items:center;gap:14px;margin:0 0 22px;";var n=document.createElement("h2");n.style.cssText="margin:0;font-size:26px;font-weight:600;line-height:1.2;color:#111;",n.textContent=e;var r=document.createElement("div");return r.style.cssText="height:2px;flex:1;background:linear-gradient(90deg,#c0392b 0%,transparent 100%);",t.appendChild(n),t.appendChild(r),t}(i));var a=document.createElement("div");return a.className=n.gridClass,a.style.cssText="display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:28px 46px;",r.forEach((function(n,r){var i=function(e,t,n,r){var i=r.normalizeText(t.title);if(!i)return null;var o=document.createElement("div");o.className="ez-affiliate-widget-recipe-pick-card",o.style.cssText="box-sizing:border-box;flex:1 1 240px;max-width:340px;border:1px solid #e3e3e3;border-radius:10px;padding:18px;background:#fff;display:flex;flex-direction:column;align-items:center;text-align:center;";var a=qe(t,r);if(a){var l=document.createElement("img");l.src=a,l.alt=i,l.style.cssText="width:140px;height:140px;object-fit:contain;margin-bottom:14px;border-radius:6px;",l.loading="lazy",o.appendChild(l)}var s=document.createElement("h3");s.style.cssText="margin:0 0 8px;font-size:17px;font-weight:600;line-height:1.3;color:#111;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;",s.title=i,s.textContent=i,o.appendChild(s);var c=r.normalizeText(t.price||t.priceDisplay);if(c){var d=document.createElement("div");d.style.cssText="margin-bottom:12px;font-size:18px;font-weight:700;color:#c0392b;",d.textContent=c,o.appendChild(d)}var u=function(e,t){var n=t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl);if(n)return n;var r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Me(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(Array.isArray(e.links)?e.links:[]);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=t.normalizeText(o.modified_href||o.modifiedHref||o.ezoic_affiliate_url||o.ezoicAffiliateUrl);if(a)return a}}catch(e){i.e(e)}finally{i.f()}return""}(t,r);if(u){var f=function(e,t,n,r,i,o){var a,l=i.normalizeText(t.cta||t.ctaText)||function(e,t){var n=e&&e.data?e.data:{};return t.normalizeText(n.cta||n.ctaText||n.cta_text)}(e,i),s=l?(a=String(l||"").trim())?/^(search|find|read|get|shop|buy|compare|reserve|explore|see|learn|visit|open)\b/i.test(a)&&!/(\.com\b|\bamazon\b)/i.test(a)?a:"Shop now":"":"Shop now",c=i.offerItemClickBinding(e,t,r,n),d=document.createElement("a");return d.href=c.href,d.target="_blank",d.rel="noopener sponsored",d.className="ez-affiliate-widget-cta",d.style.cssText="display:inline-block;padding:10px 24px;border-radius:6px;background:#c0392b;color:#fff;font-size:14px;font-weight:600;text-decoration:none;text-align:center;cursor:pointer;transition:background 0.2s;",d.textContent=s,d.addEventListener("mouseenter",(function(){d.style.background="#9e2f23"})),d.addEventListener("mouseleave",(function(){d.style.background="#c0392b"})),i.bindAffiliateClickTracking(d,c.data),d}(e,t,u,n,r);f.style.marginTop="auto",o.appendChild(f)}return o}(e,n,r,t);i&&a.appendChild(i)})),0===a.childNodes.length?null:(o.appendChild(a),function(e,t,n){(function(e,t){if(e&&function(e){var t=e&&e.data?e.data:{};return(Array.isArray(t.offerItems)?t.offerItems:[]).some((function(e){return!!Fe(e&&e.network)||(e&&Array.isArray(e.links)?e.links:[]).some((function(e){return Fe(e&&e.network)}))}))}(t)){var n=document.createElement("div");n.className="ez-affiliate-amazon-disclosure",n.style.cssText="margin:12px 0 0;font-size:12px;line-height:1.4;color:#767676;font-style:italic;text-align:center;",n.textContent="As an Amazon Associate I earn from qualifying purchases.",e.appendChild(n)}})(e,t),n.protectAffiliateWidgetFromAds&&n.protectAffiliateWidgetFromAds(e),n.trackAffiliateWidgetRendered?n.trackAffiliateWidgetRendered(t,e):n.trackAffiliateRendered&&n.trackAffiliateRendered(e)}(o,e,t),o)}function qe(e,t){var n=t.normalizeText(e.imageUrl||e.image_url||e.image||"");return t.safeImageURL(n)?n:""}function Fe(e){return"amazon"===String(e||"").trim().toLowerCase()}function He(e){return String(e||"").trim().toLowerCase()}function Be(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ve={game_picks:function(e,t){return function(e,t,n){var r=function(e,t){var n=e&&e.data?e.data:{};return(Array.isArray(n.offerItems)?n.offerItems:[]).filter((function(e){return e&&t.normalizeText(e.title)&&function(e,t){return!!t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl)||(Array.isArray(e.links)?e.links:[]).some((function(e){return t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl)}))}(e,t)}))}(e,t).filter((function(e){return Ge(e,t)})).slice(0,function(e,t){var n=e&&e.display?e.display.maxItems:void 0;return Number.isInteger(n)&&n>0?n:t}(e,n.maxItems));if(0===r.length)return null;var i=function(e,t,n){var r=e&&e.data?e.data:{},i=t.normalizeText(r.sectionTitle||r.heading||r.headline||r.title);return i?String(i||"").replace(/\b[a-z][a-z']*\b/g,(function(e){return e.charAt(0).toUpperCase()+e.slice(1)})):n}(e,t,n.fallbackTitle),o=function(e,t){var n=document.createElement("section");return n.className="ez-affiliate-widget "+t,n.setAttribute("data-ez-affiliate-widget-id",e.widgetId),n.setAttribute("data-ez-affiliate-widget-type",e.type||""),n.setAttribute("data-ez-affiliate-owned","true"),n}(e,n.containerClass);o.style.cssText="box-sizing:border-box;margin:28px auto;max-width:920px;width:100%;clear:both;font-family:inherit;color:#1b1b1b;",o.appendChild(function(e){var t=document.createElement("div");t.className="ez-affiliate-widget-section-heading",t.style.cssText="display:flex;align-items:center;gap:14px;margin:0 0 22px;";var n=document.createElement("h2");n.style.cssText="margin:0;font-size:26px;font-weight:600;line-height:1.2;color:#111;",n.textContent=e;var r=document.createElement("div");return r.style.cssText="height:2px;flex:1;background:linear-gradient(90deg,#4f46e5 0%,transparent 100%);",t.appendChild(n),t.appendChild(r),t}(i));var a=document.createElement("div");return a.className=n.gridClass,a.style.cssText="display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:28px 46px;",r.forEach((function(n,r){var i=function(e,t,n,r){var i=r.normalizeText(t.title);if(!i)return null;var o=document.createElement("div");o.className="ez-affiliate-widget-game-pick-card",o.style.cssText="box-sizing:border-box;flex:1 1 240px;max-width:340px;border:1px solid #e3e3e3;border-radius:10px;padding:18px;background:#fff;display:flex;flex-direction:column;align-items:center;text-align:center;";var a=Ge(t,r);if(a){var l=document.createElement("img");l.src=a,l.alt=i,l.style.cssText="width:100%;max-width:240px;height:150px;object-fit:cover;margin-bottom:14px;border-radius:8px;",l.loading="lazy",o.appendChild(l)}var s=document.createElement("h3");s.style.cssText="margin:0 0 12px;font-size:17px;font-weight:600;line-height:1.3;color:#111;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;",s.title=i,s.textContent=i,o.appendChild(s);var c=function(e,t){var n=t.normalizeText(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl);if(n)return n;var r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Be(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Be(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(Array.isArray(e.links)?e.links:[]);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=t.normalizeText(o.modified_href||o.modifiedHref||o.ezoic_affiliate_url||o.ezoicAffiliateUrl);if(a)return a}}catch(e){i.e(e)}finally{i.f()}return""}(t,r);if(c){var d=function(e,t,n,r,i,o){var a=i.normalizeText(t.cta||t.ctaText||t.cta_text)||function(e,t){var n=e&&e.data?e.data:{};return t.normalizeText(n.cta||n.ctaText||n.cta_text)}(e,i)||"Play now",l=i.offerItemClickBinding(e,t,r,n),s=document.createElement("a");return s.href=l.href,s.target="_blank",s.rel="noopener sponsored",s.className="ez-affiliate-widget-cta",s.style.cssText="display:inline-block;padding:10px 24px;border-radius:6px;background:#4f46e5;color:#fff;font-size:14px;font-weight:600;text-decoration:none;text-align:center;cursor:pointer;transition:background 0.2s;",s.textContent=a,s.addEventListener("mouseenter",(function(){s.style.background="#4338ca"})),s.addEventListener("mouseleave",(function(){s.style.background="#4f46e5"})),i.bindAffiliateClickTracking(s,l.data),s}(e,t,c,n,r);d.style.marginTop="auto",o.appendChild(d)}return o}(e,n,r,t);i&&a.appendChild(i)})),0===a.childNodes.length?null:(o.appendChild(a),function(e,t,n){n.protectAffiliateWidgetFromAds&&n.protectAffiliateWidgetFromAds(e),n.trackAffiliateWidgetRendered?n.trackAffiliateWidgetRendered(t,e):n.trackAffiliateRendered&&n.trackAffiliateRendered(e)}(o,e,t),o)}(e,t,{maxItems:5,fallbackTitle:"Play a quick game",containerClass:"ez-affiliate-widget-game-picks",gridClass:"ez-affiliate-widget-game-picks-grid"})}};function Ge(e,t){var n=t.normalizeText(e.imageUrl||e.image_url||e.image||"");return t.safeImageURL(n)?n:""}function We(e){return String(e||"").trim().toLowerCase()}function Je(e){return Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Je(e)}function $e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return o}}(e,t)||Ye(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ye(e,t){if(e){if("string"==typeof e)return Qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qe(e,t):void 0}}function Qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ke={travel:{check:function(e){return!!B[we(e)]},render:function(e,t){var n=function(e){var t=we(e&&e.type),n=be(e);return"search_accommodations"===t&&"accommodation_cards"===n?J:"search_accommodations"===t&&"single_place"===n?$:"search_flights"===t?Q:"search_panel"===n?Y:"recommendation_list"===n&&"things_to_do"!==t?W:"recommendation_list"===n?G:"tips"===n?V:B[t]}(e);return n?n(e,t||{}):null}},retail:{check:function(e){return!!Ee[Ne(e)]},render:function(e,t){var n=function(e){var t=Ne(e&&e.type);return Ee[t]||null}(e);return n?n(e,t||{}):null}},food:{check:function(e){return!!je[He(e)]},render:function(e,t){var n=function(e){var t=He(e&&e.type);return je[t]||null}(e);return n?n(e,t||{}):null}},games:{check:function(e){return!!Ve[We(e)]},render:function(e,t){var n=function(e){var t=We(e&&e.type);return Ve[t]||null}(e);return n?n(e,t||{}):null}}},Xe=new Set(["inline_links","broad_offers","games_inline","gossip_offers","people_search_offers","news_offers"]);function Ze(e){for(var t=0,n=Object.values(Ke);t<n.length;t++)if(n[t].check(e))return!0;return!1}var et=6e3,tt=/(?:[\u200D\u20E3\u2600-\u27BF\u2B00-\u2BFF\uFE0E\uFE0F]|[\uD83C\uD83D][\uDC00-\uDFFF]|\uD83E[\uDC00-\uDEFF])/,nt=null,rt=0,it=!1,ot=!1;function at(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ut();if(t&&t.configUrl){if(st(),!(ot||t._affiliateFetchStarted||window.__ezAffiliateWidgetFetchStarted)){ot=!0,window.__ezAffiliateWidgetFetchStarted=!0,t._affiliateFetchStarted=!0,_r(t,"loaded");var n=e.fetchTimeoutMs||et,r=xt(t),i=gt(t.configUrl,n),o=r?gt(r,n).catch((function(){return null})):Promise.resolve(null);return Promise.all([i,o]).then((function(e){var r=$e(e,2),i=r[0],o=r[1];return o&&"object"===Je(o)&&(t.offerSets=o),vt(i),mt(t,i)?i.widgets&&0!==i.widgets.length?bt(t,i,n).then((function(e){t._affiliateConfig=e,kt(t),Ct(t,e,0)})):(_r(t,"no-config"),void Zn("empty_config")):(_r(t,"invalid-config"),void Zn("invalid_config"))})).catch((function(e){_r(t,"fetch-error",{message:e&&e.message?e.message:String(e)}),Zn("config_fetch_error"+(e&&e.ezAfwCode?"_"+e.ezAfwCode:""))}))}}else{if(ct(e))return;lt(e)}}function lt(e){if(!nt){var t=Date.now();rt||(rt=t+5e3),t>=rt?rt=0:nt=setTimeout((function(){nt=null,at(e)}),100)}}function st(){nt&&(clearTimeout(nt),nt=null),rt=0}function ct(e){if(it||window.__ezAffiliateWidgetRouteDiscoveryStarted||!function(e){var t,n;try{t=new URL(e||"")}catch(e){return!1}return"1"===(n=t.searchParams.get("ez_affiliate_widgets"))||"true"===n||"TRUE"===n||"yes"===n}(window.location&&window.location.href))return!1;var t=function(e){if(!e||!e.hostname)return null;var t=String(e.hostname).trim().toLowerCase();if(!t)return null;var n=function(e){try{if("function"==typeof btoa)return btoa(unescape(encodeURIComponent(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"");if("undefined"!=typeof Buffer)return Buffer.from(e,"utf8").toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}catch(e){return""}return""}(function(e){var t=String(e||"/").trim();for(t||(t="/"),"/"!==t.charAt(0)&&(t="/"+t);t.length>1&&"/"===t.charAt(t.length-1);)t=t.slice(0,-1);return t}(e.pathname||"/"));return n?"".concat("https://aff.ezodn.com/affiliate-widget-routes/v1","/host=").concat(encodeURIComponent(t),"/path_b64=").concat(n,".json"):null}(window.location);return!!t&&(it=!0,window.__ezAffiliateWidgetRouteDiscoveryStarted=!0,pt(t,e.fetchTimeoutMs||et).then((function(t){if(!ot&&!window.__ezAffiliateWidgetFetchStarted){var n=function(e){if(!e||1!==e.version||!e.configUrl)return null;var t=ft(e.configUrl,!0);return t&&t.did===e.domainId&&t.umgh===e.urlMatchGroupHash?(t.preview=!0,t.routeDiscovered=!0,t):null}(t);n&&(dt(n),at(e))}})).catch((function(){lt(e)})),!0)}function dt(e){if(window.__ez=window.__ez||{},window.__ez.afw)for(var t=window.__ez.afw,n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];void 0===t[i]&&(t[i]=e[i])}else window.__ez.afw=e}function ut(){if(window.__ez&&window.__ez.afw)return window.__ez.afw;var e=function(e){var t;try{t=new URL(e||"")}catch(e){return null}var n=t.searchParams.get("ez_affiliate_widget_config_url");return n?ft(n,!0):null}(window.location&&window.location.href);return e?(dt(e),window.__ez.afw):null}function ft(e,t){var n;try{n=new URL(e)}catch(e){return null}if("https:"!==n.protocol)return null;var r=n.hostname.toLowerCase();if("aff.ezodn.com"!==r&&"assets-dev.bidsystem.ai"!==r)return null;var i=n.pathname.match(/^\/affiliate-widgets\/v1\/domain_id=(\d+)\/url_match_group_hash=([a-f0-9]{64})\.json$/);return i?{v:1,did:Number(i[1]),umgh:i[2],configUrl:n.href,preview:!!t}:null}function pt(e,t){if("function"!=typeof fetch)return Promise.reject(ht(new Error("fetch is unavailable"),"unsupported"));var n=null,r=null,i=!1,o={credentials:"omit",cache:"no-store"};return"undefined"!=typeof AbortController&&(r=new AbortController,o.signal=r.signal,n=setTimeout((function(){i=!0,r.abort()}),t)),fetch(function(e){try{var t="undefined"!=typeof window&&window.location?window.location.href:void 0,n=new URL(e,t);return n.searchParams.set("_ez_afw_cb",String(Date.now())),n.href}catch(t){return e}}(e),o).then((function(e){if(!e.ok)throw ht(new Error("widget config returned HTTP "+e.status),"http_"+e.status);return e.json().catch((function(e){throw ht(e,"parse")}))})).catch((function(e){throw ht(e,i?"timeout":"network")})).finally((function(){n&&clearTimeout(n)}))}function ht(e,t){var n=e instanceof Error?e:new Error(String(e));return n.ezAfwCode||(n.ezAfwCode=t),n}function gt(e,t){return pt(e,t).catch((function(n){var r=n&&n.ezAfwCode?n.ezAfwCode:"";if("unsupported"===r||0===r.indexOf("http_4"))throw n;return pt(e,t)}))}function mt(e,t){return t&&1===t.version&&t.domainId===e.did&&t.urlMatchGroupHash===e.umgh&&(Array.isArray(t.widgets)||Array.isArray(t.offers))}function vt(e){var t,n,r;return e&&!Array.isArray(e.widgets)&&Array.isArray(e.offers)&&(e.widgets=(t=e.offers,n=[],r={},t.forEach((function(e,t){if(e&&"object"===Je(e)){var i=gr(e.widgetId)||"affiliate-offer-"+t,o=gr(e.widgetType||e.type);if(o){var a=gr(e.matchKey),l=i+"\0"+a+"\0"+o;r[l]||(r[l]={widgetId:i,matchKey:a,type:o,contentType:gr(e.contentType),size:e.renderSize||e.render_size||e.size||"medium",placement:e.placement,data:yt(e)},n.push(r[l])),function(e,t){(Array.isArray(t&&t.links)&&t.links.length>0?t.links:[t]).forEach((function(n){var r=gr(n&&(n.label||n.title||t.title)),i=gr(n&&(n.cta||t.cta||t.cta_text||t.ctaText)),o=gr(n&&(n.modified_href||n.modifiedHref||t.modified_href||t.modifiedHref)),a=gr(n&&(n.ezoic_affiliate_url||n.ezoicAffiliateUrl||t.ezoic_affiliate_url||t.ezoicAffiliateUrl));if(o||a){var l=r+"\0"+i+"\0"+o+"\0"+a;e.offerLinks.some((function(e){return(e.label||"")+"\0"+(e.cta||"")+"\0"+(e.modified_href||"")+"\0"+(e.ezoic_affiliate_url||"")===l}))||e.offerLinks.push({label:r,url:gr(n&&(n.url||t.url)),modified_href:o,ezoic_affiliate_url:a,is_ezoic_affiliate_modified:!(!n||!n.is_ezoic_affiliate_modified&&!n.isEzoicAffiliateModified)||!!a,cta:i,affiliateGeneratedLinkId:gr(n&&(n.affiliateGeneratedLinkId||t.affiliateGeneratedLinkId)),affiliateOfferId:gr(n&&(n.affiliateOfferId||t.affiliateOfferId)),network:gr(n&&(n.network||t.network)),statSourceId:gr(n&&(n.statSourceId||t.statSourceId)),hotelPropertyId:gr(n&&(n.hotelPropertyId||t.hotelPropertyId)),hotelCityName:gr(n&&(n.hotelCityName||t.hotelCityName)),flightSearchProvider:gr(n&&(n.flightSearchProvider||t.flightSearchProvider)),flightDestinationIata:gr(n&&(n.flightDestinationIata||t.flightDestinationIata)),flightDestinationCity:gr(n&&(n.flightDestinationCity||t.flightDestinationCity)),flightDestinationCountry:gr(n&&(n.flightDestinationCountry||t.flightDestinationCountry))})}}))}(r[l].data,e),function(e,t){var n=gr(t&&t.title);if(n&&!e.offerItems.some((function(e){return(e.title||"")===n}))){var r=Array.isArray(t&&t.links)&&t.links.length>0?t.links:[t];e.offerItems.push({title:n,description:gr(t&&(t.summary||t.description)),imageUrl:or(gr(t&&t.imageUrl)),cta:gr(t&&(t.cta||t.cta_text||t.ctaText)),url:gr(t&&t.url),modified_href:gr(t&&(t.modified_href||t.modifiedHref)),ezoic_affiliate_url:gr(t&&(t.ezoic_affiliate_url||t.ezoicAffiliateUrl)),is_ezoic_affiliate_modified:!(!t||!t.is_ezoic_affiliate_modified&&!t.isEzoicAffiliateModified),affiliateGeneratedLinkId:gr(t&&t.affiliateGeneratedLinkId),affiliateOfferId:gr(t&&t.affiliateOfferId),network:gr(t&&t.network),statSourceId:gr(t&&t.statSourceId),hotelPropertyId:gr(t&&t.hotelPropertyId),hotelCityName:gr(t&&t.hotelCityName),flightSearchProvider:gr(t&&t.flightSearchProvider),flightDestinationIata:gr(t&&t.flightDestinationIata),flightDestinationCity:gr(t&&t.flightDestinationCity),flightDestinationCountry:gr(t&&t.flightDestinationCountry),links:r.map((function(e){return{label:gr(e&&(e.label||e.title||t.title)),url:gr(e&&(e.url||t.url)),modified_href:gr(e&&(e.modified_href||e.modifiedHref||t.modified_href||t.modifiedHref)),ezoic_affiliate_url:gr(e&&(e.ezoic_affiliate_url||e.ezoicAffiliateUrl||t.ezoic_affiliate_url||t.ezoicAffiliateUrl)),is_ezoic_affiliate_modified:!(!e||!e.is_ezoic_affiliate_modified&&!e.isEzoicAffiliateModified)||!(!t||!t.is_ezoic_affiliate_modified&&!t.isEzoicAffiliateModified),cta:gr(e&&(e.cta||t.cta||t.cta_text||t.ctaText)),affiliateGeneratedLinkId:gr(e&&(e.affiliateGeneratedLinkId||t.affiliateGeneratedLinkId)),affiliateOfferId:gr(e&&(e.affiliateOfferId||t.affiliateOfferId)),network:gr(e&&(e.network||t.network)),statSourceId:gr(e&&(e.statSourceId||t.statSourceId)),hotelPropertyId:gr(e&&(e.hotelPropertyId||t.hotelPropertyId)),hotelCityName:gr(e&&(e.hotelCityName||t.hotelCityName)),flightSearchProvider:gr(e&&(e.flightSearchProvider||t.flightSearchProvider)),flightDestinationIata:gr(e&&(e.flightDestinationIata||t.flightDestinationIata)),flightDestinationCity:gr(e&&(e.flightDestinationCity||t.flightDestinationCity)),flightDestinationCountry:gr(e&&(e.flightDestinationCountry||t.flightDestinationCountry))}})).filter((function(e){return e.modified_href||e.ezoic_affiliate_url}))})}}(r[l].data,e)}}})),n)),e&&Array.isArray(e.widgets)&&e.widgets.forEach((function(t){t&&!t.contentType&&e.contentType&&(t.contentType=e.contentType)})),e}function yt(e){var t=e&&"object"===Je(e.data)&&e.data?e.data:{},n=Object.assign({},t);return Ze(gr(e&&(e.widgetType||e.type)))||wt(n,"title",e.title),wt(n,"description",e.summary||e.description),wt(n,"imageUrl",or(e.imageUrl)),wt(n,"location",e.destination||e.location),wt(n,"renderType",e.renderType),wt(n,"renderSize",e.renderSize||e.render_size||e.size),wt(n,"cta_text",e.cta||e.cta_text||e.ctaText),wt(n,"modified_href",e.modified_href||e.modifiedHref),wt(n,"ezoic_affiliate_url",e.ezoic_affiliate_url||e.ezoicAffiliateUrl),wt(n,"affiliateGeneratedLinkId",e.affiliateGeneratedLinkId),wt(n,"affiliateOfferId",e.affiliateOfferId),wt(n,"network",e.network),wt(n,"statSourceId",e.statSourceId),wt(n,"hotelPropertyId",e.hotelPropertyId),wt(n,"hotelCityName",e.hotelCityName),wt(n,"flightSearchProvider",e.flightSearchProvider),wt(n,"flightDestinationIata",e.flightDestinationIata),wt(n,"flightDestinationCity",e.flightDestinationCity),wt(n,"flightDestinationCountry",e.flightDestinationCountry),["rating","ratingCount","priceAmount","priceCurrency","priceCategory"].forEach((function(t){wt(n,t,e[t])})),Array.isArray(n.offerLinks)||(n.offerLinks=[]),Array.isArray(n.offerItems)||(n.offerItems=[]),n}function wt(e,t,n){if(void 0===e[t]||null===e[t]||""===e[t]){var r=gr(n);r&&(e[t]=r)}}function bt(e,t,n){var r=At(e);return 0!==Object.keys(r).length||e.offerSets?function(e,t,n){var r=At(e),i=function(e){var t=e&&e.offerSets;if(!t||"object"!==Je(t))return[];var n=[];return Object.keys(t).forEach((function(e){(Array.isArray(t[e])?t[e]:[]).forEach((function(t){t&&cr(t.detailUrl)&&n.push({matchKey:e,detailUrl:t.detailUrl,setId:t.setId||"",offerVariantId:t.offerVariantId||""})}))})),n}(e);return 0===i.length?(zt(e,t)&&(t.widgets=t.widgets.filter((function(e){return!_t(e,"offer_sets_missing")}))),Promise.resolve(t)):Promise.all(i.map((function(e){return gt(e.detailUrl,n).then((function(t){return{ref:e,detail:t}})).catch((function(){return null}))}))).then((function(n){return function(e,t,n,r){if(!e||!Array.isArray(e.widgets)||!Array.isArray(t)||0===t.length)return n&&e&&Array.isArray(e.widgets)&&(e.widgets=e.widgets.filter((function(e){var t=e&&e.matchKey;return!t||(n[t]?!_t(e,"offer_details_missing"):(r||St(e),!0))}))),e;var i={};return t.forEach((function(e){var t;e&&e.ref&&e.ref.matchKey&&e.detail&&(t=e.detail)&&1===t.version&&"string"==typeof t.title&&(i[e.ref.matchKey]||(i[e.ref.matchKey]=[]),i[e.ref.matchKey].push(e.detail))})),e.widgets=e.widgets.filter((function(e){var t=e&&e.matchKey,o=t?i[t]:null;if(!o||0===o.length){if(t&&n){if(n[t])return!_t(e,"offer_details_missing");r||St(e)}return!0}return e.data=e.data||{},Ze(e&&e.type)?function(e,t){e&&e.data&&t&&(t.renderType&&(e.data.renderType=t.renderType),(t.renderSize||t.render_size||t.size)&&(e.data.renderSize=t.renderSize||t.render_size||t.size))}(e,o[0]):function(e,t){e.data=e.data||{},e.data.title=t.title,t.summary&&(e.data.description=t.summary),t.imageUrl&&(e.data.imageUrl=or(t.imageUrl)),t.renderType&&(e.data.renderType=t.renderType),["rating","ratingCount","priceAmount","priceCurrency","priceCategory"].forEach((function(n){t[n]&&(e.data[n]=t[n])})),Array.isArray(t.links)&&t.links.length>0&&(e.data.offerLinks=t.links.map((function(e){return{label:gr(e&&e.label),url:gr(e&&e.url),modified_href:gr(e&&(e.modified_href||e.modifiedHref)),ezoic_affiliate_url:gr(e&&(e.ezoic_affiliate_url||e.ezoicAffiliateUrl)),is_ezoic_affiliate_modified:!(!e||!e.is_ezoic_affiliate_modified&&!e.isEzoicAffiliateModified),cta:gr(e&&e.cta),affiliateGeneratedLinkId:gr(e&&e.affiliateGeneratedLinkId),affiliateOfferId:gr(e&&e.affiliateOfferId),network:gr(e&&e.network),statSourceId:gr(e&&e.statSourceId),hotelPropertyId:gr(e&&e.hotelPropertyId),hotelCityName:gr(e&&e.hotelCityName),flightSearchProvider:gr(e&&e.flightSearchProvider),flightDestinationIata:gr(e&&e.flightDestinationIata),flightDestinationCity:gr(e&&e.flightDestinationCity),flightDestinationCountry:gr(e&&e.flightDestinationCountry)}})).filter((function(e){return e.modified_href||e.ezoic_affiliate_url}))),(t.cta_text||t.ctaText)&&(e.data.cta_text=t.cta_text||t.ctaText),e.data.modified_href=t.modified_href||t.modifiedHref,e.data.ezoic_affiliate_url=t.ezoic_affiliate_url||t.ezoicAffiliateUrl,e.data.is_ezoic_affiliate_modified=!(!t.is_ezoic_affiliate_modified&&!t.isEzoicAffiliateModified),e.data.affiliateGeneratedLinkId=t.affiliateGeneratedLinkId,e.data.affiliateOfferId=t.affiliateOfferId,e.data.network=t.network,e.data.statSourceId=t.statSourceId,t.hotelPropertyId&&(e.data.hotelPropertyId=t.hotelPropertyId),t.hotelCityName&&(e.data.hotelCityName=t.hotelCityName),t.flightSearchProvider&&(e.data.flightSearchProvider=t.flightSearchProvider),t.flightDestinationIata&&(e.data.flightDestinationIata=t.flightDestinationIata),t.flightDestinationCity&&(e.data.flightDestinationCity=t.flightDestinationCity),t.flightDestinationCountry&&(e.data.flightDestinationCountry=t.flightDestinationCountry)}(e,o[0]),function(e,t){e&&e.data&&Array.isArray(t)&&0!==t.length&&(e.data.offerItems=t.map((function(e){return{title:gr(e&&e.title),description:gr(e&&(e.summary||e.description)),imageUrl:or(gr(e&&e.imageUrl)),cta:gr(e&&(e.cta||e.cta_text||e.ctaText)),modified_href:gr(e&&(e.modified_href||e.modifiedHref)),ezoic_affiliate_url:gr(e&&(e.ezoic_affiliate_url||e.ezoicAffiliateUrl)),is_ezoic_affiliate_modified:!(!e||!e.is_ezoic_affiliate_modified&&!e.isEzoicAffiliateModified),affiliateGeneratedLinkId:gr(e&&e.affiliateGeneratedLinkId),affiliateOfferId:gr(e&&e.affiliateOfferId),network:gr(e&&e.network),statSourceId:gr(e&&e.statSourceId),hotelPropertyId:gr(e&&e.hotelPropertyId),hotelCityName:gr(e&&e.hotelCityName),flightSearchProvider:gr(e&&e.flightSearchProvider),flightDestinationIata:gr(e&&e.flightDestinationIata),flightDestinationCity:gr(e&&e.flightDestinationCity),flightDestinationCountry:gr(e&&e.flightDestinationCountry),links:Array.isArray(e&&e.links)?e.links.map((function(t){return{label:gr(t&&(t.label||t.title)),url:gr(t&&t.url),modified_href:gr(t&&(t.modified_href||t.modifiedHref)),ezoic_affiliate_url:gr(t&&(t.ezoic_affiliate_url||t.ezoicAffiliateUrl)),is_ezoic_affiliate_modified:!(!t||!t.is_ezoic_affiliate_modified&&!t.isEzoicAffiliateModified),cta:gr(t&&t.cta),affiliateGeneratedLinkId:gr(t&&t.affiliateGeneratedLinkId),affiliateOfferId:gr(t&&t.affiliateOfferId),network:gr(t&&t.network),statSourceId:gr(t&&t.statSourceId),hotelPropertyId:gr(t&&(t.hotelPropertyId||e&&e.hotelPropertyId)),hotelCityName:gr(t&&(t.hotelCityName||e&&e.hotelCityName)),flightSearchProvider:gr(t&&(t.flightSearchProvider||e&&e.flightSearchProvider)),flightDestinationIata:gr(t&&(t.flightDestinationIata||e&&e.flightDestinationIata)),flightDestinationCity:gr(t&&(t.flightDestinationCity||e&&e.flightDestinationCity)),flightDestinationCountry:gr(t&&(t.flightDestinationCountry||e&&e.flightDestinationCountry))}})).filter((function(e){return e.modified_href||e.ezoic_affiliate_url})):[]}})).filter(Et))}(e,o),e._offerCount=o.length,!(pr(e)&&(function(e,t){var n=e&&e.data&&Array.isArray(e.data.links)?e.data.links:[];if(0!==n.length){var r=function(e){if(!Array.isArray(e))return[];var t=[];return e.forEach((function(e){(Array.isArray(e&&e.links)?e.links:[]).forEach((function(e){var n=function(e){var t=gr(e&&(e.modified_href||e.modifiedHref)),n=gr(e&&(e.ezoic_affiliate_url||e.ezoicAffiliateUrl)),r=t||n,i=gr(e&&e.cta);return lr(r)&&i?{label:Pt(e&&e.label),title:gr(e&&e.title),modifiedHref:t,ezoicAffiliateURL:n,isEzoicAffiliateModified:!(!e||!e.is_ezoic_affiliate_modified&&!e.isEzoicAffiliateModified),cta:i,affiliateGeneratedLinkId:gr(e&&e.affiliateGeneratedLinkId),affiliateOfferId:gr(e&&e.affiliateOfferId),network:gr(e&&e.network),statSourceId:gr(e&&e.statSourceId),hotelPropertyId:gr(e&&e.hotelPropertyId),hotelCityName:gr(e&&e.hotelCityName),flightSearchProvider:gr(e&&e.flightSearchProvider),flightDestinationIata:gr(e&&e.flightDestinationIata),flightDestinationCity:gr(e&&e.flightDestinationCity),flightDestinationCountry:gr(e&&e.flightDestinationCountry)}:null}(e);n&&t.push(n)}))})),t}(t);e.data.links=n.map((function(e){var t=function(e,t){var n=Pt(e&&e.phrase);return n&&t.find((function(e){return e.label===n}))||null}(e,r);return t?{phrase:gr(e&&e.phrase),title:gr(e&&e.title)||t.title,modified_href:t.modifiedHref,ezoic_affiliate_url:t.ezoicAffiliateURL,is_ezoic_affiliate_modified:t.isEzoicAffiliateModified,affiliateGeneratedLinkId:t.affiliateGeneratedLinkId,affiliateOfferId:t.affiliateOfferId,network:t.network,statSourceId:t.statSourceId,cta:t.cta,hotelPropertyId:t.hotelPropertyId,hotelCityName:t.hotelCityName,flightSearchProvider:t.flightSearchProvider,flightDestinationIata:t.flightDestinationIata,flightDestinationCity:t.flightDestinationCity,flightDestinationCountry:t.flightDestinationCountry}:null})).filter(Boolean)}}(e,o),!e.data||!Array.isArray(e.data.links)||0===e.data.links.length)&&(Kn(e,"inline_links_unhydrated"),1))})),e}(t,n.filter(Boolean),r,!(!e||!e.preview))}))}(e,t,n):(zt(e,t)&&(t.widgets=t.widgets.filter((function(e){return!_t(e,"offer_sets_missing")}))),Promise.resolve(t))}function _t(e,t){return!(!e||!e.matchKey||(Kn(e,t),0))}function xt(e){var t=e&&e.configUrl;if(!t||"string"!=typeof t)return null;var n=".json",r=t.lastIndexOf(n);if(r<0)return null;var i=t.substring(0,r)+"_offer_sets"+n;return cr(i)?i:null}function zt(e,t){return!(!e||e.preview||!t||!Array.isArray(t.widgets))&&t.widgets.some((function(e){return e&&e.matchKey}))}function At(e){var t=e&&e.offerSets;if(!t||"object"!==Je(t))return{};var n={};return Object.keys(t).forEach((function(e){var r=Array.isArray(t[e])?t[e]:[];r.length>0&&(n[e]=r.length)})),n}function St(e){e._unrenderable=!0,Dt(e,"offer_set_entry_missing")}function Et(e){return!(!e||!gr(e.title))&&(!!It(e)||(Array.isArray(e.links)?e.links:[]).some((function(e){return!!It(e)})))}function It(e){return gr(e&&(e.modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl))}function Pt(e){return gr(e).toLowerCase()}function Ct(e,t,n){var r=Lt(t);_r(e,"placement-attempt",r),Tt(t)?Ot(e):(r.pending||r.anchorNotFound>0)&&n+1<48?setTimeout((function(){return Ct(e,t,n+1)}),500):Tt(t)||(_r(e,"placement-exhausted",r),e._affiliateObserver||Rt(e))}function Tt(e){if(!e||!Array.isArray(e.widgets))return!0;for(var t=0;t<e.widgets.length;t++){var n=e.widgets[t];if(n&&n.widgetId&&!n._unrenderable&&!Ht(n.widgetId))return!1}return!0}function kt(e){if(function(e){e&&!e._affiliatePagehideBound&&"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(e._affiliatePagehideBound=!0,window.addEventListener("pagehide",(function(t){if(!t||!t.persisted)try{Rt(e,{reason:"early_leave"})}catch(e){}})))}(e),"undefined"!=typeof MutationObserver&&document.body&&!e._affiliateObserver){var t=null,n=function(){e._affiliateConfig&&(t&&clearTimeout(t),t=setTimeout((function(){if(t=null,e._affiliateObserverDebounce=null,e._affiliateConfig)if(Tt(e._affiliateConfig))Ot(e);else{var n=Lt(e._affiliateConfig);_r(e,"placement-attempt",n),Tt(e._affiliateConfig)&&Ot(e)}}),200),e._affiliateObserverDebounce=t)},r=new MutationObserver(n);r.observe(document.body,{childList:!0,subtree:!0}),e._affiliateObserver=r,e._affiliateObserverDeadline=setTimeout((function(){return Ot(e)}),9e4),n()}}function Ot(e){e&&(e._affiliateObserverDebounce&&(clearTimeout(e._affiliateObserverDebounce),e._affiliateObserverDebounce=null),e._affiliateObserver&&(e._affiliateObserver.disconnect(),e._affiliateObserver=null),e._affiliateObserverDeadline&&(clearTimeout(e._affiliateObserverDeadline),e._affiliateObserverDeadline=null),Rt(e))}function Rt(e,t){if(e&&!e._affiliateLossFinalized){e._affiliateLossFinalized=!0;var n=e._affiliateConfig;if(n&&Array.isArray(n.widgets)){var r=t&&t.reason;n.widgets.forEach((function(e){e&&e.widgetId&&(e._placed||Ht(e.widgetId)||Kn(e,r||e._lastLossReason||"not_rendered"))}))}}}function Lt(e){var t=Wt(document.body||document.documentElement),n={inserted:0,anchorNotFound:0,noEligibleAd:0,renderError:0,pending:!1},r=function(){var e=Array.from(document.querySelectorAll(".ezoic-ad, [id^='ezoic-pub-ad-placeholder-'], [class*='ezoic-pub-ad-placeholder']")),t=[];return e.forEach((function(e){var n=Qt(e);!n||t.indexOf(n)>=0||!function(e){if(!e||br(e))return!1;var t=((e.id||"")+" "+(e.className||"")).toLowerCase();return!/(anchor|adhesion|sticky|floating|side[-_ ]?rail|sidebar|bottom_floating|top_floating)/.test(t)}(n)||t.push(n)})),t}(),i=function(e){var t=new Map;return e.forEach((function(e){return t.set(e,Ft())})),Array.from(document.querySelectorAll("[data-ez-affiliate-widget-id]")).filter(Bt).forEach((function(n){var r=function(e,t){for(var n=e.nextElementSibling;n&&n.getAttribute&&n.getAttribute("data-ez-affiliate-widget-id");)n=n.nextElementSibling;var r=Qt(n);return t.indexOf(r)>=0?r:null}(n,e);r&&qt(t,r,{type:n.getAttribute("data-ez-affiliate-widget-type")||""})})),t}(r),o=function(e){var t=e&&e.display&&e.display.maxWidgetsPerPlacement;return Number.isInteger(t)&&t>0?t:2}(e),a=[];e.widgets.forEach((function(e){if(e&&e.widgetId&&!e._unrenderable&&!e._placed&&!Ht(e.widgetId))if(pr(e))try{!function(e,t){var n=pn(e);if(0===n.length)return!1;for(var r=Wt(document.body||document.documentElement),i=e&&e.placement&&e.placement.lowerOnly?.5*r.text.length:0,o=[],a=0;a<n.length;a++){var l=vn(n[a],e,a),s=hn(r,n[a].phrase,undefined,i);l&&s&&o.push({node:s.node,offset:s.offset,actualPhrase:s.actualPhrase,href:l.href,action:l,link:n[a],index:a})}if(0===o.length)return!1;var c=function(e){var t=[];return e.forEach((function(e){for(var n=null,r=0;r<t.length;r++)if(t[r].node===e.node){n=t[r];break}n||(n={node:e.node,replacements:[]},t.push(n)),n.replacements.push(e)})),t}(o),d=0;return c.forEach((function(t){gn(t)&&function(e,t,n){if(!gn({node:e,replacements:t}))return!1;var r=e.nodeValue||"",i=e.parentNode,o=0;return t.slice().sort((function(e,t){return e.offset-t.offset})).forEach((function(t){var a=t.actualPhrase||"";t.offset>o&&i.insertBefore(document.createTextNode(r.slice(o,t.offset)),e);var l=document.createElement("a");l.textContent=r.slice(t.offset,t.offset+a.length),function(e,t,n,r,i){var o,a,l;e.className=(o=e.className,a="ez-affiliate-inline-link",(l=String(o||"").split(/\s+/).filter(Boolean)).indexOf(a)<0&&l.push(a),l.join(" ")),e.setAttribute("target","_blank"),e.setAttribute("rel","nofollow sponsored noopener"),r.title&&e.setAttribute("title",r.title),qn(e,t,n,i),t&&t.data&&(nr(t.data,e.href),Fn(t.data,"viewed"),Jn(t.data,i,1),$n(t.data,i,1,"loaded","true"),$n(t.data,i,1,"viewed","true"))}(l,t.action,n,t.link,t.index),i.insertBefore(l,e),o=t.offset+a.length})),o<r.length&&i.insertBefore(document.createTextNode(r.slice(o)),e),i.removeChild(e),!0}(t.node,t.replacements,e)&&(d+=t.replacements.length)})),d>0}(e)?(n.renderError++,Dt(e,"inline_no_phrase_match")):(n.inserted++,e._placed=!0)}catch(t){n.renderError++,Dt(e,"render_error")}else if(hr(e))try{!function(e){if(!document.body)return!1;var t=ln(e);if(!t){var n=new Error(e.widgetId+" leaving modal has no renderable offer data");throw n.ezAfwNoRender=!0,n}return document.body.appendChild(t),function(e){if(e&&"undefined"!=typeof window&&"function"==typeof window.addEventListener){var t=function t(){var n,r,i,o,a,l=e.getAttribute("data-ez-affiliate-slideout-state");"dismissed"!==l&&"hidden"===l&&(n=document.documentElement||{},r=document.body||{},i=window.pageYOffset||n.scrollTop||r.scrollTop||0,o=window.innerHeight||n.clientHeight||r.clientHeight||0,!((a=Math.max(r.scrollHeight||0,n.scrollHeight||0,r.offsetHeight||0,n.offsetHeight||0,r.clientHeight||0,n.clientHeight||0)-o)<=0)&&i>=.75*a)&&(function(e){sn(e),e.setAttribute("data-ez-affiliate-slideout-state","visible"),e.style.transform="translateY(0)",e.style.opacity="1",e.style.pointerEvents="auto"}(e),window.removeEventListener("scroll",t))};window.addEventListener("scroll",t,!1),window.addEventListener("resize",(function(){"dismissed"!==e.getAttribute("data-ez-affiliate-slideout-state")&&sn(e)})),sn(e),t()}}(t),!0}(e)?(n.renderError++,Dt(e,"render_error")):(n.inserted++,e._placed=!0)}catch(t){n.renderError++,t&&t.ezAfwNoRender?(e._unrenderable=!0,Dt(e,"no_renderable_offer")):Dt(e,"render_error")}else{var i=e.placement&&e.placement.anchorText;if(gr(i)){var o=function(e,t,n){var r=gr(t);if(!r)return null;var i=mr(e.text,r);if(i.length>0)return yr(e,vr(i,n||0));for(var o=$t(r),a=0;a<o.length;a++){var l=mr(e.text,o[a]);if(l.length>0)return yr(e,vr(l,n||0))}return function(e,t,n){var r=Jt(t).text.trim();if(r===t&&!tt.test(e.text))return null;var i=e._emojiStripped||(e._emojiStripped=Jt(e.text));if(r.length>=40){var o=mr(i.text,r);if(o.length>0)return yr(e,vr(o.map((function(e){return i.map[e]})),n||0))}for(var a=$t(r),l=0;l<a.length;l++){var s=mr(i.text,a[l]);if(s.length>0)return yr(e,vr(s.map((function(e){return i.map[e]})),n||0))}return null}(e,r,n)}(t,i,e.placement&&e.placement.normalizedPageOffset);if(!o)return e.placement&&e.placement.lowerOnly?void a.push({widget:e,candidates:Nt(t,r,e),anchorOffset:null,done:!1}):(n.anchorNotFound++,void Dt(e,"anchor_not_found"));a.push({widget:e,candidates:Yt(r,o.node),anchorOffset:o.offset,done:!1})}else a.push({widget:e,candidates:Nt(t,r,e),anchorOffset:null,done:!1})}}));var l=function(e){for(var t=e&&e.segments||[],n=0;n<t.length;n++)if(!Xt(t[n].node))return t[n].node;return null}(t),s=function(e){var t=e&&e.segments||[];if(0===t.length)return null;for(var n=.5*e.text.length,r=0;r<t.length;r++)if(t[r].start>=n)return t[r].node;return t[t.length-1].node}(t);return a.forEach((function(e){e.phases=function(e,t){var n=[];e.primary&&n.push(e.primary),(e.secondary||[]).forEach((function(e){return n.push(e)}));var r=[],i=[];n.forEach((function(e){(Kt(e)?i:r).push(e)}));var o=[],a=[];return(e.unusedAbove||[]).forEach((function(e){t&&!wr(e,t)||(Kt(e)?a:o).push(e)})),{afterNonSidebar:r,afterSidebar:i,aboveNonSidebar:o,aboveSidebar:a}}(e.candidates,l),function(e,t){if(e&&e.widget&&e.widget.placement&&e.widget.placement.lowerOnly&&t){var n=function(e){return wr(e,t)};e.phases.afterNonSidebar=e.phases.afterNonSidebar.filter(n),e.phases.afterSidebar=e.phases.afterSidebar.filter(n),e.phases.aboveNonSidebar=e.phases.aboveNonSidebar.filter(n),e.phases.aboveSidebar=e.phases.aboveSidebar.filter(n)}}(e,s),e.phases.primaryNonSidebar=function(e,t){var n=e.phases&&e.phases.afterNonSidebar||[],r=e.phases&&e.phases.aboveNonSidebar||[];if(null==e.anchorOffset||0===r.length)return n.map((function(e){return{placement:e,requireUnused:!1}})).concat(r.map((function(e){return{placement:e,requireUnused:!1}})));var i=e.anchorOffset,o=[];return n.forEach((function(e){var n=Math.max(0,Mt(t,e)-i);o.push({placement:e,requireUnused:!1,isAbove:0,distance:n,score:n,order:o.length})})),r.forEach((function(e){var n=Math.max(0,i-Mt(t,e));o.push({placement:e,requireUnused:!1,isAbove:1,distance:n,score:n+900,order:o.length})})),o.sort((function(e,t){return e.score!==t.score?e.score-t.score:e.isAbove!==t.isAbove?e.isAbove-t.isAbove:e.distance!==t.distance?e.distance-t.distance:e.order-t.order})),o.map((function(e){return{placement:e.placement,requireUnused:e.requireUnused}}))}(e,t)})),jt(a,i,n,(function(e){return e.phases.primaryNonSidebar[0]?[e.phases.primaryNonSidebar[0]]:[]}),o),jt(a,i,n,(function(e){return e.phases.primaryNonSidebar.slice(1)}),o),jt(a,i,n,(function(e){return e.phases.afterSidebar.map((function(e){return{placement:e,requireUnused:!1}}))}),o),jt(a,i,n,(function(e){return e.phases.aboveSidebar.map((function(e){return{placement:e,requireUnused:!0}}))}),o),a.forEach((function(e){e.done||(n.noEligibleAd++,n.pending=!0,Dt(e.widget,"no_eligible_placement"))})),n}function Dt(e,t){e&&!e._placed&&(e._lastLossReason=t)}function Nt(e,t,n){var r=function(e,t){for(var n=pn(t),r=0;r<n.length;r++){var i=hn(e,n[r].phrase,0);if(i)return i.node}return e.segments.length>0?e.segments[0].node:null}(e,n);if(!r)return{primary:t[0]||null,secondary:t.slice(1),unusedAbove:[]};var i=Yt(t,r);return{primary:i.primary,secondary:i.secondary,unusedAbove:[]}}function Mt(e,t){for(var n=e&&e.segments||[],r=0;r<n.length;r++)if(!wr(t,n[r].node))return n[r].start;return e&&e.text?e.text.length:0}function jt(e,t,n,r,i){e.forEach((function(e){if(!e.done)for(var o=r(e)||[],a=0;a<o.length;a++){var l=o[a].placement;if(Ut(t,l,e.widget,o[a].requireUnused,i)){try{Zt(l,e.widget),qt(t,l,e.widget),n.inserted++,e.widget._placed=!0}catch(t){n.renderError++,t&&t.ezAfwNoRender?(e.widget._unrenderable=!0,Dt(e.widget,"no_renderable_offer")):Dt(e.widget,"render_error")}return void(e.done=!0)}}}))}function Ut(e,t,n,r,i){var o=e.get(t)||Ft();if(r&&o.count>0)return!1;var a=Number.isInteger(i)&&i>0?i:2;return!(o.count>=a||o.types.has(Vt(n)))}function qt(e,t,n){var r=e.get(t)||Ft();r.count++,r.types.add(Vt(n)),e.set(t,r)}function Ft(){return{count:0,types:new Set}}function Ht(e){for(var t=Array.from(document.querySelectorAll("[data-ez-affiliate-widget-id]")),n=0;n<t.length;n++)if(Bt(t[n])&&t[n].getAttribute("data-ez-affiliate-widget-id")===String(e))return t[n];return null}function Bt(e){var t=String(e&&e.className||"").split(/\s+/);return t.indexOf("ez-affiliate-widget")>=0||e&&e.getAttribute&&e.getAttribute("data-ez-affiliate-widget-id")&&e.getAttribute("data-ez-affiliate-widget-type")&&t.indexOf("ez-affiliate-widget-cta")<0&&t.indexOf("ez-affiliate-widget-title-link")<0&&t.indexOf("ez-affiliate-inline-link")<0}function Vt(e){return String(e&&e.type||"").trim().toLowerCase()}var Gt=new Set(["P","DIV","LI","UL","OL","BR","TR","TD","TH","TABLE","THEAD","TBODY","TFOOT","H1","H2","H3","H4","H5","H6","SECTION","ARTICLE","HEADER","FOOTER","BLOCKQUOTE","PRE","FIGURE","FIGCAPTION","ASIDE","NAV","MAIN","FORM","DL","DT","DD","HR","ADDRESS","DETAILS","SUMMARY"]);function Wt(e){var t=[],n="",r=!1;return function e(i){if(i&&!br(i))if(3!==i.nodeType){var o=function(e){return!!(e&&e.tagName&&Gt.has(String(e.tagName).toUpperCase()))}(i);o&&(r=!0);for(var a=i.childNodes||[],l=0;l<a.length;l++)e(a[l]);o&&(r=!0)}else!function(e,i){var o=String(i||""),a=gr(o);if(a){var l=r||/^\s/.test(o);n&&" "!==n[n.length-1]&&l&&(n+=" ");var s=n.length;n+=a,t.push({start:s,end:n.length,node:e}),r=/\s$/.test(o)}else/\s/.test(o)&&(r=!0)}(i,i.nodeValue||"")}(e),{text:n,segments:t}}function Jt(e){var t,n="",r=[],i=0,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ye(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(String(e||""));try{for(o.s();!(t=o.n()).done;){var a=t.value;if(tt.test(a))i+=a.length;else if(" "!==a||0!==n.length&&" "!==n[n.length-1]){for(var l=0;l<a.length;l++)r[n.length+l]=i+l;n+=a,i+=a.length}else i+=a.length}}catch(e){o.e(e)}finally{o.f()}return{text:n,map:r}}function $t(e){for(var t=[],n=0,r=0;r<e.length;r++)if("."===e[r]||"!"===e[r]||"?"===e[r]){var i=gr(e.slice(n,r+1));i.length>=40&&t.push(i),n=r+1}var o=gr(e.slice(n));return o.length>=40&&t.push(o),t}function Yt(e,t){var n=[],r=[];return e.forEach((function(e){wr(e,t)?n.push(e):wr(t,e)&&r.push(e)})),{primary:n[0]||null,secondary:n.slice(1),unusedAbove:r.reverse()}}function Qt(e){for(var t=e;t&&t!==document.body&&t!==document.documentElement;){var n=((t.id||"")+" "+(t.className||"")).toLowerCase();if(/ezoic-pub-ad-placeholder/.test(n))return t;t=t.parentNode}return e}function Kt(e){for(var t=e;t&&t!==document.body&&t!==document.documentElement;){for(var n=((t.id||"")+" "+(t.className||"")).split(/\s+/),r=0;r<n.length;r++){var i=n[r];if(/(side[-_]?rail|sidebar)/i.test(i)&&!/^(has|no|with|without|hide|show)[-_]/i.test(i))return!0}t=t.parentNode}return!1}function Xt(e){for(var t=e&&3===e.nodeType?e.parentNode:e;t&&t!==document.body&&t!==document.documentElement;){var n=(t.tagName||"").toUpperCase();if("HEADER"===n||"NAV"===n)return!0;var r="function"==typeof t.getAttribute?t.getAttribute("role"):null;if("banner"===r||"navigation"===r)return!0;t=t.parentNode}return!1}function Zt(e,t){var n=function(e){if(pr(e))return function(e){var t=document.createElement("span");return t.className="ez-affiliate-widget ez-affiliate-widget-inline-links",t.setAttribute("data-ez-affiliate-widget-id",e.widgetId),t.setAttribute("data-ez-affiliate-widget-type",e.type||""),t.style.cssText="display:none;",t}(e);if(hr(e))return ln(e);var t=function(e){var t=gr(e&&e.contentType).toLowerCase(),n=Vt(e);if(t&&Ke[t])return t;for(var r=0,i=Object.entries(Ke);r<i.length;r++){var o=$e(i[r],2),a=o[0];if(o[1].check(n))return a}return"generic"}(e),n=Ke[t];if(n){var r=n.render(e,{normalizeText:gr,safeImageURL:wn,removeBrokenImageOnError:bn,decorateAffiliateAnchor:qn,appendExternalIcon:mn,offerItemCTAs:en,offerItemAction:tn,cardCTAs:yn,protectAffiliateWidgetFromAds:_n,trackAffiliateRendered:er,trackAffiliateWidgetRendered:tr,trackAffiliateClickAction:on,bindAffiliateClickTracking:an,offerItemClickBinding:rn,affiliateActionForLink:xn});if(!r){var i=new Error(t+" affiliate widget has no renderable offer data");throw i.ezAfwNoRender=!0,i}return r}return function(e){var t=e.data||{},n=gr(t.title||t.location),r=yn(e);if(!n||0===r.length)return null;var i,o=document.createElement("div");o.className="ez-affiliate-widget ez-affiliate-widget-"+(i=e.size||"default",String(i||"").replace(/[^a-zA-Z0-9_-]/g,"_")),o.setAttribute("data-ez-affiliate-widget-id",e.widgetId),o.setAttribute("data-ez-affiliate-widget-type",e.type||""),o.setAttribute("data-ez-affiliate-owned","true"),o.style.cssText="box-sizing:border-box;margin:22px auto;padding:0;max-width:760px;width:100%;clear:both;font-family:inherit;color:#1f2933;";var a=t.description||"",l=document.createElement("div");if(l.className="ez-affiliate-widget-card",l.style.cssText="box-sizing:border-box;border:1px solid #d7e3f0;border-radius:14px;background:#ffffff;box-shadow:0 6px 18px rgba(15,23,42,0.12);padding:18px 20px;line-height:1.45;",wn(t.imageUrl)){var s=document.createElement("img");s.className="ez-affiliate-widget-image",s.alt="",s.loading="lazy",bn(s),s.src=t.imageUrl,s.style.cssText="display:block;width:100%;max-height:260px;object-fit:cover;border-radius:12px;margin:0 0 14px;background:#f1f5f9;",l.appendChild(s)}var c,d=document.createElement("div");d.className="ez-affiliate-widget-eyebrow",d.style.cssText="margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#2563eb;",d.textContent=(c=e.type,String(c||"").replace(/_/g," ")),l.appendChild(d);var u=document.createElement("div");if(u.className="ez-affiliate-widget-title",u.style.cssText="margin:0 0 6px;font-size:20px;font-weight:700;color:#111827;",u.textContent=n,l.appendChild(u),a){var f=document.createElement("div");f.className="ez-affiliate-widget-description",f.style.cssText="margin:0;font-size:16px;color:#374151;",f.textContent=a,l.appendChild(f)}if(Array.isArray(t.keywords)&&t.keywords.length>0){var p=document.createElement("div");p.className="ez-affiliate-widget-keywords",p.style.cssText="display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;",t.keywords.slice(0,4).forEach((function(e){var t=document.createElement("span");t.className="ez-affiliate-widget-keyword",t.style.cssText="display:inline-block;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:600;padding:4px 9px;",t.textContent=e,p.appendChild(t)})),l.appendChild(p)}if(r.length>0){var h=document.createElement("div");h.className="ez-affiliate-widget-actions",h.style.cssText="display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;",r.forEach((function(t,n){var r=document.createElement("a");r.className="ez-affiliate-widget-cta",r.target="_blank",r.rel="nofollow sponsored noopener",r.style.cssText="display:inline-block;border-radius:999px;background:#bf3f38;color:#fff;text-decoration:none;font-size:14px;font-weight:700;padding:9px 18px;box-shadow:0 2px 5px rgba(0,0,0,0.16);",r.textContent=t.label,qn(r,t,e,n),h.appendChild(r)})),l.appendChild(h)}return o.appendChild(l),_n(o),er(o),o}(e)}(t),r=Qt(e);r.parentNode.insertBefore(n,r)}function en(e,t,n){return(Array.isArray(e.links)&&e.links.length>0?e.links:[e]).slice(0,3).map((function(r,i){var o=tn(t,r,n,i,e);return o?(o.merchantLabel=ur(gr(r.label||r.title)),o.label=fr(r.cta||r.label||e.cta),o.label?o:null):null})).filter(Boolean)}function tn(e,t,n,r,i,o){return xn(t,e,(e.widgetId||"affiliate-offer")+"-offer-"+n+"-"+r,i,o)}function nn(e){return Nn(e,"")||e}function rn(e,t,n,r){if(!e||!t)return{href:nn(r),data:null};var i=tn(e,(Array.isArray(t.links)&&t.links.length>0?t.links:[t])[0],"number"==typeof n?n:0,0,t);return i?{href:i.modifiedHref,data:i.data}:{href:nn(r),data:null}}function on(e){e&&Fn(e,"click")}function an(e,t){if(e&&"function"==typeof e.addEventListener){var n=function(){on(t)};e.addEventListener("click",n),e.addEventListener("auxclick",(function(e){e&&1===e.button&&n()}))}}function ln(e){var t=e&&e.data?e.data:{},n=gr(t.headline||t.title),r=yn(e)[0];if(!n||!r||!r.label)return null;var i=function(e){var t=gr(e&&e.imageUrl);if(wn(t))return t;for(var n=Array.isArray(e&&e.offerItems)?e.offerItems:[],r=0;r<n.length;r++){var i=gr(n[r]&&n[r].imageUrl);if(wn(i))return i}return""}(t),o=document.createElement("div");o.className="ez-affiliate-widget ez-affiliate-widget-leaving-modal",o.setAttribute("data-ez-affiliate-widget-id",e.widgetId),o.setAttribute("data-ez-affiliate-widget-type",e.type||""),o.setAttribute("data-ez-affiliate-slideout-state","hidden"),o.style.cssText="position:fixed;left:16px;right:16px;bottom:16px;z-index:2147483000;box-sizing:border-box;max-width:520px;margin:0 auto;font-family:inherit;color:#111827;transform:translateY(130%);opacity:0;pointer-events:none;transition:transform .28s ease,opacity .28s ease,bottom .28s ease;will-change:transform,opacity;";var a=document.createElement("div");a.className="ez-affiliate-widget-slideout-card",a.style.cssText="position:relative;box-sizing:border-box;border:1px solid #d7e3f0;border-radius:16px;background:#ffffff;box-shadow:0 12px 34px rgba(15,23,42,0.24);padding:18px 48px 18px 20px;line-height:1.45;";var l=document.createElement("button");if(l.type="button",l.className="ez-affiliate-widget-slideout-close",l.setAttribute("aria-label","Close travel recommendation"),l.style.cssText="position:absolute;top:10px;right:10px;border:0;background:transparent;color:#64748b;font-size:24px;line-height:1;cursor:pointer;padding:4px 8px;",l.textContent="×",l.addEventListener("click",(function(){return(e=o).setAttribute("data-ez-affiliate-slideout-state","dismissed"),e.style.transform="translateY(130%)",e.style.opacity="0",void(e.style.pointerEvents="none");var e})),a.appendChild(l),i){var s=document.createElement("img");s.className="ez-affiliate-widget-image",s.alt="",s.loading="lazy",bn(s),s.src=i,s.style.cssText="display:block;width:100%;max-height:190px;object-fit:cover;border-radius:12px;margin:0 0 14px;background:#f1f5f9;",a.appendChild(s)}var c=document.createElement("div");c.className="ez-affiliate-widget-eyebrow",c.style.cssText="margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#2563eb;",c.textContent="Travel recommendation",a.appendChild(c);var d=document.createElement("div");if(d.className="ez-affiliate-widget-title",d.style.cssText="margin:0 0 6px;font-size:20px;font-weight:700;color:#111827;",d.textContent=n,a.appendChild(d),t.description){var u=document.createElement("div");u.className="ez-affiliate-widget-description",u.style.cssText="margin:0;font-size:15px;color:#374151;",u.textContent=t.description,a.appendChild(u)}if(r){var f=document.createElement("a");f.className="ez-affiliate-widget-cta",f.target="_blank",f.rel="nofollow sponsored noopener",f.style.cssText="display:inline-block;margin-top:14px;border-radius:999px;background:#2563eb;color:#fff;text-decoration:none;font-size:14px;font-weight:700;padding:9px 14px;",f.textContent=r.label,qn(f,r,e,0),a.appendChild(f)}return o.appendChild(a),er(o),o}function sn(e){e.style.bottom=("undefined"!=typeof document&&document.body&&"undefined"!=typeof window?window.__ezOutstream&&window.__ezOutstream.vatc&&!0===window.__ezOutstream.vatc.aot||"top"===window.gamAnchorPosition?16:function(){var e,t=(e=window.__ezOutstream&&window.__ezOutstream.ocaac)?"string"==typeof e?cn(e,!0):Array.isArray(e)?un(e.filter((function(e){return"string"==typeof e&&""!==e.trim()})).map((function(e){return cn(e,!0)}))):0:0;if(t>0)return t;var n=function(){if("function"!=typeof document.querySelectorAll)return 0;var e=Array.from(document.querySelectorAll('[id*="adhesion-bar"]'));return 0===e.length?0:un(e.map((function(e){return dn(e,!0)})))}();if(n>0)return n;var r=cn("ezmob-footer");return r>0?r:function(){if("function"!=typeof document.querySelector)return 0;var e=document.querySelector('[data-anchor-status="displayed"]');if(!e||!fn(e))return 0;if("bottom"===window.gamAnchorPosition){var t=parseFloat(window.getComputedStyle&&window.getComputedStyle(e).bottom||"0")||0;return(e.clientHeight||0)+t+15}return Math.max(e.scrollHeight||0,e.clientHeight||0,e.offsetHeight||0)}()}()+16:16)+"px"}function cn(e,t){var n=function(e){var t=String(e||"").trim();if(!t)return[];if("#"===t.charAt(0)){if("function"!=typeof document.getElementById)return[];var n=document.getElementById(t.substring(1));return n?[n]:[]}return"function"!=typeof document.getElementsByClassName?[]:Array.from(document.getElementsByClassName(t))}(e);return 0===n.length?0:un(n.map((function(e){return dn(e,!!t)})))}function dn(e,t){var n=fn(e);if(!n)return 0;var r=[e.scrollHeight||0,e.clientHeight||0,e.offsetHeight||0];return t&&r.push(n.viewportHeight-n.rect.top),Math.max.apply(null,r)}function un(e){var t=e.filter((function(e){return e>0}));return t.length>0?Math.max.apply(null,t):0}function fn(e){if(!e||!e.getBoundingClientRect||function(e){return((e.id||"")+" "+(e.className||"")).toLowerCase().indexOf("ez-affiliate-widget-leaving-modal")>=0}(e))return null;var t=window.getComputedStyle?window.getComputedStyle(e):e.style||{};if("none"===t.display||"hidden"===t.visibility||"0"===t.opacity)return null;var n=e.getBoundingClientRect();if(!n||0===n.width&&0===n.height)return null;var r=window.innerWidth||document.documentElement&&document.documentElement.clientWidth||0,i=window.innerHeight||document.documentElement&&document.documentElement.clientHeight||0;return n.bottom<0||n.right<0||n.left>r||n.top>i?null:{rect:n,viewportHeight:i}}function pn(e){var t=e&&e.data?e.data:{};if(Array.isArray(t.links)){if(t.links.length>100)return[];for(var n=[],r=0;r<t.links.length;r++){var i=t.links[r];if(!i||"object"!==Je(i))return[];var o=gr(i.phrase||i.label||i.text||i.anchorText);if(!o)return[];n.push({phrase:o,title:gr(i&&i.title),url:gr(i&&(i.url||i.href)),modified_href:gr(i&&(i.modified_href||i.modifiedHref)),ezoic_affiliate_url:gr(i&&(i.ezoic_affiliate_url||i.ezoicAffiliateUrl)),affiliateGeneratedLinkId:gr(i&&i.affiliateGeneratedLinkId),affiliateOfferId:gr(i&&i.affiliateOfferId),network:gr(i&&i.network),statSourceId:gr(i&&i.statSourceId),hotelPropertyId:gr(i&&i.hotelPropertyId),hotelCityName:gr(i&&i.hotelCityName),flightSearchProvider:gr(i&&i.flightSearchProvider),flightDestinationIata:gr(i&&i.flightDestinationIata),flightDestinationCity:gr(i&&i.flightDestinationCity),flightDestinationCountry:gr(i&&i.flightDestinationCountry)})}return function(e){for(var t=e.map((function(e){return e.phrase.toLowerCase()})),n=0;n<t.length;n++)for(var r=n+1;r<t.length;r++)if(t[n]===t[r]||t[n].indexOf(t[r])>=0||t[r].indexOf(t[n])>=0)return[];return e}(n)}return[]}function hn(e,t,n,r){var i=gr(t);if(!e||!i)return null;var o=Number.isFinite(r)?r:0,a=i.toLowerCase(),l=[];return e.segments.forEach((function(e){var t=e.node&&e.node.nodeValue?e.node.nodeValue:"";if(!dr(e.node,"a")&&!dr(e.node,"[data-ez-affiliate-widget-id]")){var r=function(e){for(var t=String(e||""),n=[],r=[],i="",o=-1,a=0;a<t.length;a++){var l=t.charAt(a);/\s/.test(l)?o<0&&(o=a):(o>=0&&i.length>0&&(i+=" ",n.push(o),r.push(a)),i+=l,n.push(a),r.push(a+1),o=-1)}return{text:i,rawStart:n,rawEnd:r}}(t);if(r.text)for(var s=r.text.toLowerCase(),c=0;c<=s.length;){var d=s.indexOf(a,c);if(d<0)return;if(!(e.start+d<o)){var u=r.rawStart[d],f=r.rawEnd[d+i.length-1];if(void 0===u||void 0===f||f<=u)return;return void l.push({node:e.node,distance:Math.abs(e.start+d-(n||0)),actualPhrase:String(t||"").slice(u,f),offset:u})}c=d+a.length}}})),0===l.length?null:(l.sort((function(e,t){return e.distance-t.distance})),l[0].actualPhrase?l[0]:null)}function gn(e){var t=e&&e.node,n=e&&e.replacements;if(!t||3!==t.nodeType||!t.parentNode||!Array.isArray(n)||0===n.length)return!1;for(var r=t.nodeValue||"",i=0,o=n.slice().sort((function(e,t){return e.offset-t.offset})),a=0;a<o.length;a++){var l=o[a],s=l.actualPhrase||"",c=l.offset,d=c+s.length;if(c<i||d>r.length||r.slice(c,d).toLowerCase()!==s.toLowerCase()||!sr(l.href))return!1;i=d}return!0}function mn(e){return e}function vn(e,t,n){return xn(e,t,(t.widgetId||"affiliate-inline")+"-inline-"+n)||null}function yn(e){var t=e&&e.data?e.data:{},n=Array.isArray(t.offerLinks)?t.offerLinks:[],r=[],i=function(e){return{title:gr((e=e||{}).title),label:gr(e.label),headline:gr(e.headline)}}(t);if(n.slice(0,3).forEach((function(t,n){var o=xn(t,e,(e.widgetId||"affiliate-cta")+"-offer-"+n,i);o&&(o.merchantLabel=ur(gr(t.label||t.title)),o.label=fr(t.cta||t.label),o.label&&r.push(o))})),0===r.length){var o=function(e){var t,n,r=e&&e.data?e.data:{},i=xn(r,e,(e.widgetId||"affiliate-cta")+"-cta");return i?(i.label=(t=r.cta_text||r.ctaText,(n=ur(gr(t)))?function(e){return/^(search|find|read|get|shop|buy|compare|reserve|explore|see|learn|visit|open)\b/i.test(e)&&!/(\.com\b|\bexpedia\b)/i.test(e)}(n)?n:"View":""),i):null}(e);o&&o.label&&r.push(o)}return r}function wn(e){var t=gr(e);if(!t||t.length>2048)return!1;try{return"https:"===new URL(t,window.location&&window.location.href).protocol}catch(e){return!1}}function bn(e){if(e){var t=function(){e.parentNode&&e.parentNode.removeChild(e)};e.addEventListener("error",t),setTimeout((function(){e.complete&&"number"==typeof e.naturalWidth&&0===e.naturalWidth&&t()}),0)}}function _n(e){if(e&&"function"==typeof e.querySelectorAll){var t=function(){Array.from(e.querySelectorAll(".ezoic-ad, [id^='ezoic-pub-ad-placeholder-'], [class*='ezoic-pub-ad-placeholder'], ins.adsbygoogle, [data-ad-client]")).forEach((function(t){t!==e&&t.parentNode&&t.parentNode.removeChild(t)}))};if(t(),"undefined"!=typeof MutationObserver){var n=new MutationObserver(t);n.observe(e,{childList:!0,subtree:!0}),setTimeout((function(){return n.disconnect()}),3e4)}}}function xn(e,t,n,r,i){r=r||{};var o=gr((e=e||{}).modified_href||e.modifiedHref||e.ezoic_affiliate_url||e.ezoicAffiliateUrl||r.modified_href||r.modifiedHref||r.ezoic_affiliate_url||r.ezoicAffiliateUrl);if(!lr(o))return null;var a,l,s=(a=new Uint8Array(16),(l="undefined"!=typeof window&&window.crypto||"undefined"!=typeof globalThis&&globalThis.crypto)&&"function"==typeof l.getRandomValues?(l.getRandomValues(a),Array.from(a).map((function(e){return e.toString(16).padStart(2,"0")})).join("")):"");if(!s)return null;var c=Rn();if(!c)return null;var d=Nn(o,s);if(!d)return null;var u=function(e,t,n,r){var i=String(e||"");if(!i)return e;if(i.indexOf("{EXPEDIA_DEST}")>=0){var o=function(e,t){var n=String(Cn(e,t,"hotelPropertyId")||"").trim(),r=String(Cn(e,t,"hotelCityName")||"").trim(),i="daysInFuture=45&stayLength=3";return n?"https://www.expedia.com/go/hotel/search/pinned/"+encodeURIComponent(n)+"/0/0?"+i:r?"https://www.expedia.com/go/hotel/search/Destination?SearchType=Destination&CityName="+encodeURIComponent(r)+"&"+i+"&NumRoom=1&NumAdult-Room1=2":""}(t,n);i=o?i.replace("{EXPEDIA_DEST}",encodeURIComponent(o)):jn(i,"EXPEDIA_DEST")}if(i.indexOf("{FLIGHT_SEARCH_DEST}")>=0){var a=function(e,t,n){var r=String(Cn(e,t,"flightSearchProvider")||"").trim().toLowerCase();if(!r)return"";var i=Mn[r];return"function"!=typeof i?"":i(e,t,n)}(t,n,r);i=a?i.replace("{FLIGHT_SEARCH_DEST}",encodeURIComponent(a)):jn(i,"FLIGHT_SEARCH_DEST")}return i}(d,e,r,i);if(!u||!lr(u))return null;var f=function(e,t){var n=function(e){if(!e)return!1;try{var t=new URL(e,window.location&&window.location.href),n=window.location&&window.location.hostname?window.location.hostname.toLowerCase():"";return("http:"===t.protocol||"https:"===t.protocol)&&t.hostname.toLowerCase()===n}catch(e){return!1}}(e)?String(e).trim():"";return n&&!function(e){try{var t=new URL(e,window.location&&window.location.href),n=new URL(window.location&&window.location.href?window.location.href:"");return t.origin.toLowerCase()===n.origin.toLowerCase()&&zn(t.pathname)===zn(n.pathname)}catch(e){return!1}}(n)?n:lr(t)?String(t).trim():""}(e.url||e.href||r.url||r.href,u);if(!f)return null;var p=function(e,t,n,r,i,o){e=e||{},o=o||{};var a=ar(),l=t&&t.domainId?t.domainId:window.__ez&&window.__ez.afw&&window.__ez.afw.did,s=Tn(Cn(e,o,"affiliateGeneratedLinkId")),c=Tn(Cn(e,o,"affiliateOfferId")),d=function(e,t){var n=En(e),r=In(n&&n.id)||t||"",i=(n&&n.adUnit?String(n.adUnit):"")||An(e);return{impressionID:r,adUnit:i,groupID:(n&&n.groupId?String(n.groupId):"")||Pn(i,r)}}(t,i),u=d.adUnit,f=d.groupID,p=d.impressionID;return{type:"affiliate",impression_id:p||"0",affiliate_impression_id:p||"",affiliate_generated_link_id:s,affiliate_offer_id:c,ezoic_click_id:r||"",network:String(Cn(e,o,"network")||""),stat_source_id:Tn(Cn(e,o,"statSourceId")),domain_id:l?String(l):"0",unit:u,ad_type:"affiliate",ad_size:String(t&&t._offerCount||0),placement_type:t&&t.type||"",lineitem_id:c,t_epoch:kn(),pageview_id:a,group_id:f,placement_id:n||"",page_url:On()}}(e,t,n,s,c,r);return{href:f,modifiedHref:u,clickID:s,impressionID:p.impression_id||c,placementID:n,data:p}}function zn(e){return String(e||"/").replace(/\/+$/g,"")||"/"}function An(e){var t,n=(t=(window.location&&window.location.hostname?String(window.location.hostname):"").toLowerCase().replace(/^www\./,""))?t.replace(/[^a-z0-9]/g,"_"):"",r=function(e){var t=e&&e.matchKey?String(e.matchKey):"";return t?Sn(t):e&&e.type?String(e.type):""}(e);return n&&r?n+"-"+r+"-"+function(e,t){var n=window.__ez&&window.__ez.afw&&window.__ez.afw.offerSets,r=e&&e.matchKey?String(e.matchKey):"";if(r&&n&&"object"===Je(n))for(var i=Object.keys(n).sort(),o=0,a=0;a<i.length;a++)if(Sn(i[a])===t&&(o++,i[a]===r))return o;var l=/-(\d+)$/.exec(e&&e.widgetId?String(e.widgetId):"");return l?parseInt(l[1],10):1}(e,r):e&&e.widgetId?String(e.widgetId):"affiliate-widget"}function Sn(e){var t=e.indexOf("-");return t<0?e:e.substring(0,t)}function En(e){var t=window.__ez&&window.__ez.afw&&window.__ez.afw.impressions;if(!t||!e)return null;for(var n=[e.matchKey,e.widgetId],r=0;r<n.length;r++){var i=n[r]?String(n[r]):"";if(i&&t[i])return t[i]}return null}function In(e){var t=String(e||"").replace(/\D/g,"");return"0"===t?"":t}function Pn(e,t){var n=new Date;return e+"/"+(n.getFullYear()+"-"+String(n.getMonth()+1).padStart(2,"0")+"-"+String(n.getDate()).padStart(2,"0"))+"/"+(String(t||"").replace(/\D/g,"")||"0")}function Cn(e,t,n){return e&&void 0!==e[n]&&null!==e[n]&&""!==e[n]?e[n]:t&&void 0!==t[n]&&null!==t[n]&&""!==t[n]?t[n]:""}function Tn(e){var t=parseInt(e,10);return isNaN(t)?0:t}function kn(){return window.__ez&&window.__ez.dot&&"function"==typeof window.__ez.dot.getEpoch?window.__ez.dot.getEpoch(Math.floor(Date.now()/1e3)):Math.floor(Date.now()/1e3)}function On(){try{var e=new URL(window.location&&window.location.href?window.location.href:"");return e.hash="",e.href.slice(0,512)}catch(e){return""}}function Rn(){for(var e="undefined"==typeof window?{}:(window.__ezAffiliateImpressionIDs=window.__ezAffiliateImpressionIDs||{},window.__ezAffiliateImpressionIDs),t=0;t<5;t++){var n=Ln();if(n&&"0"!==n&&!e[n])return e[n]=!0,n}var r=Dn();return e[r]=!0,r}function Ln(){var e="undefined"!=typeof window&&window.crypto||"undefined"!=typeof globalThis&&globalThis.crypto;if(!e||"function"!=typeof e.getRandomValues)return"";var t=new Uint8Array(8);return e.getRandomValues(t),t[0]=127&t[0],function(e){var t=[0];return Array.from(e||[]).forEach((function(e){for(var n=e,r=0;r<t.length;r++){var i=256*t[r]+n;t[r]=i%10,n=Math.floor(i/10)}for(;n>0;)t.push(n%10),n=Math.floor(n/10)})),t.reverse().join("").replace(/^0+/,"")}(t)}function Dn(){return"undefined"==typeof window?String(Date.now())+"000001":(window.__ezAffiliateImpressionCounter=(window.__ezAffiliateImpressionCounter||0)+1,String(Date.now())+String(window.__ezAffiliateImpressionCounter%1e6).padStart(6,"0"))}function Nn(e,t){var n=["{EZOIC_CLICK_ID}","%7BEZOIC_CLICK_ID%7D","%7bezoic_click_id%7d"],r=0;if(n.forEach((function(t){r+=String(e).split(t).length-1})),0===r)return e;if(1!==r)return"";for(var i=0;i<n.length;i++)if(String(e).indexOf(n[i])>=0)return String(e).replace(n[i],encodeURIComponent(t));return""}var Mn={justfly:function(e,t,n){var r=n||{},i=String(r.destination||Cn(e,t,"flightDestinationIata")||"").trim().toUpperCase();if(!i)return"";var o,a,l,s=String(r.origin||Cn(e,t,"flightOriginIata")||"").trim().toUpperCase(),c=String(Cn(e,t,"flightDestinationCountry")||"US").trim().toUpperCase(),d=(o=r.adults,a=Math.floor(Number(o)),isFinite(a)?a<1?1:a>8?8:a:1),u=Un(r.departDate)?r.departDate:(45,(l=new Date).setDate(l.getDate()+45),l.toISOString().slice(0,10)),f=Un(r.returnDate)?r.returnDate:"",p=[];return p.push("seg0_date="+encodeURIComponent(u)),s&&p.push("seg0_from="+encodeURIComponent(s)),p.push("seg0_to="+encodeURIComponent(i)),f&&(p.push("seg1_date="+encodeURIComponent(f)),p.push("seg1_from="+encodeURIComponent(i)),s&&p.push("seg1_to="+encodeURIComponent(s))),p.push("num_adults="+d),p.push("num_children=0"),p.push("num_infants=0"),p.push("num_infants_lap=0"),p.push("country="+("CA"===c?"CA":"US")),"https://www.justfly.com/fares/search?"+p.join("&")}};function jn(e,t){var n=("{"+t+"}").replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp("[?&]url="+n,"g"),i=new RegExp(n,"g");return String(e).replace(r,(function(e){return"?"===e.charAt(0)?"?":""})).replace(i,"").replace(/\?&/,"?").replace(/\?$/,"")}function Un(e){return"string"==typeof e&&/^\d{4}-\d{2}-\d{2}$/.test(e)}function qn(e,t,n,r){if(e&&t&&t.href){var i=t.modifiedHref||t.href,o=t.href,a=e.textContent?e.textContent.replace(/[^\w\s-]/g,"").trim():"",l="";if(a){var s=a.replace(/[\s_]+/g,"-");s&&(l="/"+s)}var c=l||o;e.href=c,e.setAttribute("data-modified-href",i),e.setAttribute("data-ez-affiliate-url",i),e.setAttribute("data-ez-affiliate-modified",i!==c?"true":"false"),l&&e.setAttribute("data-ez-affiliate-display-href",l),e.setAttribute("data-ez-affiliate-widget-id",n&&n.widgetId?n.widgetId:""),e.setAttribute("data-ez-affiliate-widget-type",n&&n.type||""),e.setAttribute("data-ez-affiliate-link-index",String(r)),e.setAttribute("data-ez-affiliate-placement-id",t.placementID||""),t.data&&(e.setAttribute("data-ez-affiliate-impression-id",t.data.impression_id||""),e.setAttribute("data-ez-affiliate-group-id",t.data.group_id||""),e.setAttribute("data-ez-affiliate-click-id",t.data.ezoic_click_id||""),e.setAttribute("data-ez-affiliate-unit",t.data.unit||""),e.setAttribute("data-ez-affiliate-generated-link-id",t.data.affiliate_generated_link_id||""),e.setAttribute("data-ez-affiliate-offer-id",t.data.affiliate_offer_id||""),e.setAttribute("data-ez-affiliate-network",t.data.network||""),e.setAttribute("data-ez-affiliate-stat-source-id",String(t.data.stat_source_id||0)),e.setAttribute("data-ez-affiliate-offer-count",t.data.ad_size||"0"),nr(t.data,i));var d=function(n){Fn(t.data,"click"),n&&"function"==typeof n.stopImmediatePropagation?n.stopImmediatePropagation():n&&"function"==typeof n.stopPropagation&&n.stopPropagation(),i&&i!==e.href&&(n&&"function"==typeof n.preventDefault&&n.preventDefault(),"function"==typeof window.open?window.open(i,e.target||"_blank","noopener"):void 0!==window.location&&(window.location.href=i))};e.addEventListener("click",d,!0),e.addEventListener("auxclick",(function(e){e&&1===e.button&&d(e)}),!0)}}function Fn(e,t){if(e&&t){var n="loaded"===t||"viewed"===t,r=Object.assign({},e,{type:n?"impression":e.type,t_epoch:kn(),data:[{name:t,val:"1"}],is_orig:!!(window.__ez&&window.__ez.template&&window.__ez.template.isOrig)});"click"===t&&(r.t_click_offset=function(){if("undefined"==typeof window||!window.performance||"function"!=typeof window.performance.now)return 0;var e=window.performance.now();if("number"!=typeof e||!isFinite(e)||e<0)return 0;var t=Math.floor(e/1e3);return t>43200?0:t}());var i=function(){(function(e){if(!window.__ez||!window.__ez.dot||"function"!=typeof window.__ez.dot.Fire||"function"!=typeof window.__ez.dot.getURL)return!1;var t=Hn([e]);if(!t)return!1;var n=window.__ez&&window.__ez.template&&!0===window.__ez.template.isOrig?1:0,r=window.__ez.dot.getURL("/porpoiseant/army.gif")+"?orig="+n+"&sts="+encodeURIComponent(t);return window.__ez.dot.Fire(r),!0})(r)||window.__ez&&window.__ez.pel&&"function"==typeof window.__ez.pel.AddCustomPixel&&(window.__ez.pel.AddCustomPixel(r),"function"==typeof window.__ez.pel._fire?window.__ez.pel._fire(!0):"function"==typeof window.__ez.pel.Fire&&window.__ez.pel.Fire())};window.__ez&&window.__ez.dot&&"function"==typeof window.__ez.dot.Fire||window.__ez&&window.__ez.pel&&"function"==typeof window.__ez.pel.AddCustomPixel?i():(window.ez_pel_cmd=window.ez_pel_cmd||[],window.ez_pel_cmd.push(i))}}function Hn(e){if("function"!=typeof btoa)return"";var t=JSON.stringify(e);if("function"==typeof TextEncoder){var n=(new TextEncoder).encode(t),r="";return n.forEach((function(e){r+=String.fromCharCode(e)})),btoa(r)}return btoa(unescape(encodeURIComponent(t)))}function Bn(){return"undefined"==typeof window?{opportunity:{},event:{}}:(window.__ezAffiliateAdopEmitted=window.__ezAffiliateAdopEmitted||{},window.__ezAffiliateAdopEmitted.opportunity=window.__ezAffiliateAdopEmitted.opportunity||{},window.__ezAffiliateAdopEmitted.event=window.__ezAffiliateAdopEmitted.event||{},window.__ezAffiliateAdopEmitted)}function Vn(e){try{return new Date(1e3*e).toLocaleString("sv",{timeZone:"America/Chicago"})}catch(e){return""}}function Gn(e){if(!Array.isArray(e)||0===e.length)return!1;if(!window.__ez||!window.__ez.dot||"function"!=typeof window.__ez.dot.Fire||"function"!=typeof window.__ez.dot.getURL)return!1;var t=Hn(e);if(!t)return!1;var n=window.__ez&&window.__ez.template&&!0===window.__ez.template.isOrig?1:0,r=window.__ez.dot.getURL("/porpoiseant/adop.gif")+"?orig="+n+"&sts="+encodeURIComponent(t);return window.__ez.dot.Fire(r),!0}function Wn(e,t,n){if(!e)return null;var r=e.group_id?String(e.group_id):"",i=e.pageview_id?String(e.pageview_id):"",o=e.unit?String(e.unit):"",a=Tn(e.domain_id);if(!(r&&i&&o&&a))return null;var l=parseInt(t,10),s=parseInt(n,10);return{group_id:r,attempt_number:!isNaN(s)&&s>0?s:1,ad_slot_index:!isNaN(l)&&l>=0?l:0,pageview_id:i,domain_id:a,ad_unit:o}}function Jn(e,t,n){var r=Wn(e,t,n);if(!r)return!1;var i=Bn(),o=r.group_id+"|"+r.ad_slot_index+"|"+r.attempt_number;if(i.opportunity[o])return!1;var a=kn(),l=Vn(a);if(!l)return!1;var s=Object.assign({},r,{record_type:"opportunity",ad_type:"affiliate",ad_source:"affiliate",fetch_epoch:a,t_time:l,version:1}),c=Tn(e.stat_source_id);c&&(s.stat_source_id=c);var d=Tn(e.affiliate_offer_id);d&&(s.lineitem_id=d);var u=Tn(e.affiliate_generated_link_id);return u&&(s.creative_id=u),!!Gn([s])&&(i.opportunity[o]=!0,!0)}function $n(e,t,n,r,i){if(!r)return!1;var o=Wn(e,t,n);if(!o)return!1;var a=Bn(),l=o.group_id+"|"+o.ad_slot_index+"|"+o.attempt_number+"|"+r;if(a.event[l])return!1;var s=function(){if(window.__ez&&window.__ez.dot&&"function"==typeof window.__ez.dot.generateUUID){var e=window.__ez.dot.generateUUID();return e?String(e):""}return""}();if(!s)return!1;var c=kn(),d=Vn(c);return!!d&&!!Gn([Object.assign({},o,{record_type:"custom_event",event_id:s,event_name:String(r),event_val:null==i?"true":String(i),event_epoch:c,t_time:d})])&&(a.event[l]=!0,!0)}function Yn(){return window.__ez&&window.__ez.afw&&window.__ez.afw.did?Tn(window.__ez.afw.did):window._ezaq&&window._ezaq.domain_id?Tn(window._ezaq.domain_id):0}function Qn(e,t){if(!e||!t)return!1;var n=In(e.id),r=e.adUnit?String(e.adUnit):"";if(!n||!r)return!1;var i=e.groupId?String(e.groupId):Pn(r,n);if(Bn().opportunity[i+"|0|1"])return!1;var o={group_id:i,pageview_id:ar(),unit:r,domain_id:Yn()},a=Jn(o,0,1),l=$n(o,0,1,"no_fill_reason",t);return a||l}function Kn(e,t){return Qn(En(e)||Xn(e),t)}function Xn(e){if(e&&e._lossFallbackIdentity)return e._lossFallbackIdentity;var t={id:Dn(),adUnit:An(e)};return e&&(e._lossFallbackIdentity=t),t}function Zn(e){var t=window.__ez&&window.__ez.afw&&window.__ez.afw.impressions;t&&Object.keys(t).forEach((function(n){return Qn(t[n],e)}))}function er(e){var t,n=(t=[],function e(n){n&&n.childNodes&&(n.getAttribute&&n.getAttribute("data-ez-affiliate-url")&&t.push(n),Array.from(n.childNodes||[]).forEach(e))}(e),t),r={},i={},o=0;n.forEach((function(e){var t=rr(e),n=t.impression_id||t.placement_id||e.href;n&&!r[n]&&(r[n]=!0,i[n]=o++,nr(t,e.href),Jn(t,i[n],1),$n(t,i[n],1,"loaded","true"))}));var a=function(){Object.keys(r).forEach((function(e){var t=n.find((function(t){var n=rr(t);return(n.impression_id||n.placement_id||t.href)===e}));if(t){var r=rr(t);Fn(r,"viewed"),$n(r,i[e],1,"viewed","true")}}))};if("function"==typeof IntersectionObserver&&e){var l=!1,s=new IntersectionObserver((function(e){l||e.some((function(e){return e&&e.isIntersecting}))&&(l=!0,s.disconnect(),a())}),{threshold:.25});s.observe(e)}else a()}function tr(e,t){var n=En(e)||Xn(e),r=In(n.id),i=n.adUnit?String(n.adUnit):"";if(r&&i){var o={group_id:n.groupId?String(n.groupId):Pn(i,r),pageview_id:ar(),unit:i,domain_id:Yn()};Jn(o,0,1),$n(o,0,1,"loaded","true");var a=function(){$n(o,0,1,"viewed","true")};if("function"==typeof IntersectionObserver&&t){var l=!1,s=new IntersectionObserver((function(e){l||e.some((function(e){return e&&e.isIntersecting}))&&(l=!0,s.disconnect(),a())}),{threshold:.25});s.observe(t)}else a()}}function nr(e,t){var n=function(e,t){return e?String(e.impression_id||e.placement_id||t||""):""}(e,t);n&&(window.__ezAffiliateLoadedPixels=window.__ezAffiliateLoadedPixels||{},window.__ezAffiliateLoadedPixels[n]||(window.__ezAffiliateLoadedPixels[n]=!0,Fn(e,"loaded")))}function rr(e){var t=e.getAttribute("data-ez-affiliate-widget-id")||"affiliate-widget",n=e.getAttribute("data-ez-affiliate-unit")||t,r=e.getAttribute("data-ez-affiliate-widget-type")||"",i=Tn(e.getAttribute("data-ez-affiliate-generated-link-id")),o=Tn(e.getAttribute("data-ez-affiliate-offer-id")),a=e.getAttribute("data-ez-affiliate-impression-id")||"";a||(a=Rn())&&e.setAttribute("data-ez-affiliate-impression-id",a);var l=e.getAttribute("data-ez-affiliate-group-id")||"";return l||(l=Pn(n,a))&&e.setAttribute("data-ez-affiliate-group-id",l),{type:"affiliate",impression_id:a||"0",affiliate_impression_id:a||"",affiliate_generated_link_id:i,affiliate_offer_id:o,ezoic_click_id:e.getAttribute("data-ez-affiliate-click-id")||"",network:e.getAttribute("data-ez-affiliate-network")||"",stat_source_id:Tn(e.getAttribute("data-ez-affiliate-stat-source-id")),domain_id:t&&window.__ez&&window.__ez.afw&&window.__ez.afw.did?String(window.__ez.afw.did):window._ezaq&&window._ezaq.domain_id?String(window._ezaq.domain_id):"0",unit:n,ad_type:"affiliate",ad_size:e.getAttribute("data-ez-affiliate-offer-count")||"0",placement_type:r,lineitem_id:o,t_epoch:kn(),pageview_id:ar(),group_id:l,placement_id:e.getAttribute("data-ez-affiliate-placement-id")||"",page_url:On()}}var ir={"images.trvl-media.com":function(e){return/_t\.jpg$/i.test(e.pathname)&&(e.pathname=e.pathname.replace(/_t\.jpg$/i,"_b.jpg")),e}};function or(e){var t=gr(e);if(!t)return"";try{var n=new URL(t),r=ir[n.hostname.toLowerCase()];if(r)return r(n).href}catch(e){return t}return t}function ar(){return window._ezaq&&window._ezaq.page_view_id?String(window._ezaq.page_view_id):window.ezstandalone&&window.ezstandalone._pageViewId?String(window.ezstandalone._pageViewId):window._ezStandalonePageViewId?String(window._ezStandalonePageViewId):""}function lr(e){if(!e)return!1;var t=String(e).trim();if(!/^https:\/\//i.test(t))return!1;try{var n=new URL(t);return"https:"===n.protocol&&!!n.hostname}catch(e){return!1}}function sr(e){if(!e)return!1;try{var t=new URL(e,window.location&&window.location.href);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}}function cr(e){if(!e||!/^https:\/\//i.test(e))return!1;try{var t=new URL(e),n=t.hostname.toLowerCase();return("aff.ezodn.com"===n||"assets-dev.bidsystem.ai"===n)&&/\.json$/i.test(t.pathname)}catch(e){return!1}}function dr(e,t){for(var n=e&&3===e.nodeType?e.parentNode:e,r=/^\[([^\]=]+)\]$/.exec(String(t||"")),i=r?r[1]:null,o=i?null:String(t||"").toLowerCase();n&&n!==document.body&&n!==document.documentElement;){if(i){if(n.getAttribute&&n.getAttribute(i))return n}else if((n.tagName||"").toLowerCase()===o)return n;n=n.parentNode}return null}function ur(e){return String(e||"").trim()}function fr(e){return ur(gr(e))?"View":""}function pr(e){return Xe.has(Vt(e))}function hr(e){return"leaving_modal"===Vt(e)}function gr(e){return String(e||"").replace(/\s+/g," ").trim()}function mr(e,t){var n=[];if(!t)return n;for(var r=0;r<e.length;){var i=e.indexOf(t,r);if(-1===i)break;n.push(i),r=i+t.length}return n}function vr(e,t){for(var n=e[0],r=Math.abs(n-t),i=1;i<e.length;i++){var o=Math.abs(e[i]-t);o<r&&(n=e[i],r=o)}return n}function yr(e,t){for(var n=0;n<e.segments.length;n++){var r=e.segments[n];if(t>=r.start&&t<r.end)return{offset:t,node:r.node}}return null}function wr(e,t){var n=e&&3===e.nodeType?e.parentNode:e,r=t&&3===t.nodeType?t.parentNode:t;return!(!n||!r||n===r||"function"==typeof r.compareDocumentPosition&&!(4&r.compareDocumentPosition(n)))}function br(e){if(!e)return!0;if(1===e.nodeType){var t=(e.tagName||"").toLowerCase();if("script"===t||"style"===t||"noscript"===t||"template"===t)return!0;if(e.hidden||e.getAttribute&&"true"===e.getAttribute("aria-hidden"))return!0;if(e.style&&("none"===e.style.display||"hidden"===e.style.visibility))return!0;if("undefined"!=typeof window&&"function"==typeof window.getComputedStyle)try{var n=window.getComputedStyle(e);if(n&&("none"===n.display||"hidden"===n.visibility))return!0}catch(e){}}return!1}function _r(e,t,n){e.events=e.events||[],e.events.push({event:t,detail:n||null,ts:Date.now()})}function xr(e){return xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xr(e)}var zr=100;function Ar(e){e._reservePlaceholderSpaceEnabled=!0===e._reservePlaceholderSpaceQueryEnabled||!0===e._config.reservePlaceholderSpace}function Sr(){this._reservePlaceholderSpaceQueryEnabled="1"===this.getQueryParam("ez_reserve_placeholders"),Ar(this)}function Er(){return"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=(15&crypto.getRandomValues(new Uint8Array(1))[0])>>("x"===e?0:2);return("x"===e?t:3&t|8).toString(16)}))}function Ir(){if(this._pageViewId)return this._pageViewId;if("undefined"!=typeof window){if(void 0!==window._ezaq&&window._ezaq.page_view_id)return this._pageViewId=window._ezaq.page_view_id,this._pageViewId;if(window._ezStandalonePageViewId)return this._pageViewId=window._ezStandalonePageViewId,this._pageViewId}return""}function Pr(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Ir.call(this))return n>=2e3?(this._pageViewId="function"==typeof this._generatePageViewId?this._generatePageViewId():Er(),"undefined"!=typeof window&&(window._ezStandalonePageViewId=this._pageViewId),void e()):void setTimeout((function(){Pr.call(t,e,n+zr)}),zr);e()}function Cr(e){return(e=(e=Tr(e)).map((function(e){return parseInt(e)}))).filter((function(e){return!isNaN(e)}))}function Tr(e){return 1===(e=[].slice.call(e)).length&&null!==e[0]&&e[0].constructor===Array&&(e=e[0]),e.filter((function(e){return null!==e&&!isNaN(e)}))}function kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Or(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(n),!0).forEach((function(t){Rr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lr(e){return Lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lr(e)}function Dr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nr(e){return function(e){if(Array.isArray(e))return Mr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Mr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mr(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jr(e){var t=String(e||"").match(/^(\d+(?:\.\d+)?)px$/);return t?parseFloat(t[1]):0}function Ur(e,t,n){!n||n<=function(e,t){var n=jr(e.style[t]);if("undefined"==typeof window||"function"!=typeof window.getComputedStyle)return n;var r=window.getComputedStyle(e);return r?Math.max(n,jr(r[t])):n}(e,t)||(e.style[t]=n+"px")}function qr(e){!function(e){e.initialShowAdsBatchTimeout&&(clearTimeout(e.initialShowAdsBatchTimeout),e.initialShowAdsBatchTimeout=null),e.initialShowAdsReadyStateHandler&&"undefined"!=typeof document&&(document.removeEventListener("readystatechange",e.initialShowAdsReadyStateHandler,!1),e.initialShowAdsReadyStateHandler=null)}(e),e.showAds()}function Fr(e,t){e&&e._ezbsads&&e._ezbsads.slots&&Array.isArray(t)&&t.forEach((function(t){t&&e._ezbsads.slots[t]&&delete e._ezbsads.slots[t]}))}function Hr(e){var t=new Set;return e&&Array.isArray(e.ez_ad_units)?(e.ez_ad_units.forEach((function(n){if(Array.isArray(n)&&!(n.length<3)){var r=n[2],i=e[r];if(i&&"function"==typeof i.getSlotElementId){var o=i.getSlotElementId();o&&t.add(o)}}})),t):t}function Br(e,t,n){e&&e.slots&&t&&t.slots&&n&&"function"==typeof n.has&&Object.keys(e.slots).forEach((function(r){n.has(r)&&!(r in t.slots)&&(t.slots[r]=e.slots[r])}))}n(5003),n(9337);var Vr="tcf",Gr=null,Wr=null,Jr=[],$r=[];function Yr(e){return{source:Vr,found:!0,initialized:e,ads:!1,statistics:!1,marketing:!1}}function Qr(e,t){var n=e&&e.purpose?e.purpose:{},r=n.consents||{},i=n.legitimateInterests||{};return!0===r[t]||!0===i[t]}function Kr(){return"undefined"!=typeof window&&"function"==typeof window.__tcfapi}function Xr(){return"undefined"!=typeof window&&void 0!==window.ezCMPQueue&&!window.__tcfapi}function Zr(){Gr!==window.__tcfapi&&(Gr=null,Wr=null,Jr=[],$r=[])}function ei(e,t){var n=function(e,t){if(!t||!e)return null;if("useractioncomplete"!==e.eventStatus&&"tcloaded"!==e.eventStatus)return null;if(!1===e.gdprApplies)return{source:Vr,found:!0,initialized:!0,ads:!0,statistics:!0,marketing:!0};var n=e.vendor||{},r=n.consents||{},i=n.legitimateInterests||{},o=!0===r[347],a=!0===i[347];if(!o&&!a)return Yr(!0);var l=Yr(!0);return Qr(e,"1")&&(l.ads=Qr(e,"2"),l.statistics=Qr(e,"10")&&Qr(e,"7")&&Qr(e,"8"),l.marketing=Qr(e,"2")&&Qr(e,"3")&&Qr(e,"4")),l}(e,t);if(n){Wr=n;var r=Jr;Jr=[],r.forEach((function(e){return e(n)})),$r.forEach((function(e){return e(n)}))}}function ti(){return!!Kr()&&(Zr(),Gr||(Gr=window.__tcfapi)("addEventListener",2,ei),!0)}var ni={name:Vr,isAvailable:Kr,getConsentState:function e(){return Kr()&&Zr(),Wr&&Kr()?Promise.resolve(Wr):Xr()?new Promise((function(t){window.ezCMPQueue.push((function(){e().then(t)}))})):ti()?Wr?Promise.resolve(Wr):new Promise((function(e){Jr.push(e)})):Promise.resolve({source:Vr,found:!1,initialized:!1,ads:!1,statistics:!1,marketing:!1})},onChange:function(e){return!(!Kr()||"function"!=typeof e||(ti(),$r.push(e),0))},waitForAvailability:function(e){if(Kr()||Xr())return Promise.resolve(!0);if(e<=0)return Promise.resolve(!1);var t=0;return new Promise((function(n){setTimeout((function r(){Kr()||Xr()?n(!0):(t+=25)>=e?n(!1):setTimeout(r,25)}),25)}))}},ri="cookieyes",ii=["cookieyes_banner_load","cookieyes_consent_update"];function oi(){return"undefined"!=typeof window&&"function"==typeof window.getCkyConsent}function ai(){return!("undefined"==typeof document||!document.scripts)&&Array.from(document.scripts).some((function(e){var t=e&&e.src?e.src:"";return/cookieyes/i.test(t)}))}function li(){return"undefined"!=typeof document&&"function"==typeof document.addEventListener}function si(){var e=function(){if("undefined"==typeof window||"function"!=typeof window.getCkyConsent)return null;try{return window.getCkyConsent()}catch(e){return null}}();if(!e)return{source:ri,found:oi()||ai(),initialized:!1,ads:!1,statistics:!1,marketing:!1};var t=e.categories||{},n=!0===t.advertisement;return{source:ri,found:!0,initialized:!0,ads:n,statistics:!0===t.analytics||!0===t.performance,marketing:n}}var ci={name:ri,isAvailable:oi,getConsentState:si,onChange:function(e){return!(!li()||"function"!=typeof e||(ii.forEach((function(t){document.addEventListener(t,(function(){e(si())}))})),0))},waitForAvailability:function(e){if(oi())return Promise.resolve(!0);if(!ai())return Promise.resolve(!1);if(e<=0)return Promise.resolve(!0);var t=0;return new Promise((function(n){var r=!1,i=null,o=function(e){r||(r=!0,i&&clearTimeout(i),li()&&"function"==typeof document.removeEventListener&&ii.forEach((function(e){document.removeEventListener(e,a)})),n(e))},a=function n(){oi()?o(!0):(t+=25)>=e?o(ai()):i=setTimeout(n,25)};li()&&ii.forEach((function(e){document.addEventListener(e,a)})),i=setTimeout(a,25)}))}};function di(e){return e&&e.includeNonTcfProviders?[ci]:[]}function ui(e,t){if("function"==typeof e.waitForAvailability)return Promise.resolve(e.waitForAvailability(t)).then((function(t){return t?e:null}));if(e.isAvailable())return Promise.resolve(e);if(t<=0)return Promise.resolve(null);var n=0;return new Promise((function(r){setTimeout((function i(){e.isAvailable()?r(e):(n+=25)>=t?r(null):setTimeout(i,25)}),25)}))}function fi(e,t,n){return Object.freeze({id:e,width:t,sizes:Object.freeze(n.slice())})}n(3371);var pi=Object.freeze({sidebar_300:fi("sidebar_300",300,["160x600","300x600"]),gutter_300:fi("gutter_300",300,["160x600","300x600"]),gutter_250:fi("gutter_250",250,["160x600","250x250","250x360"]),overlay_300:fi("overlay_300",300,["160x600","300x600"]),overlay_250:fi("overlay_250",250,["160x600","250x250","250x360"]),overlay_160:fi("overlay_160",160,["160x600"])});function hi(e){return!!e&&Number.isFinite(e.left)&&Number.isFinite(e.top)&&Number.isFinite(e.right)&&Number.isFinite(e.bottom)&&Number.isFinite(e.width)&&Number.isFinite(e.height)&&e.width>0&&e.height>0&&e.right>e.left&&e.bottom>e.top}function gi(e,t){return Array.isArray(e)&&e.some((function(e){return e&&e.id===t.id&&Number(e.width)===t.width}))}function mi(e){return"string"==typeof e&&pi[e]||null}function vi(e,t){return!Array.isArray(t)||!t.some((function(t){return hi(t)&&(r=t,(n=e).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top);var n,r}))}function yi(e,t){return e.left>=t.left+Math.round(.5*t.width)&&e.right<=t.right-24}function wi(e,t,n,r){if(!hi(t)||t.width<e.width||!yi(t,n))return null;var i={left:t.left,top:t.top,right:t.left+e.width,bottom:t.bottom,width:e.width,height:t.height};return vi(i,r)?{profile:e,railRect:i,source:"sidebar"}:null}function bi(e,t,n,r){var i=function(e,t,n){if(!hi(e)||!t)return 0;var r=Number.isFinite(t.margin)?Math.max(0,t.margin):0,i=Number.isFinite(n)&&n>0?n:1200;if(e.width<i)return 0;var o=Number.isFinite(t.minPageWidth)?t.minPageWidth:0,a=Math.max(0,e.width-160-r),l=Math.min(o,a);return Math.max(0,e.width-l-r)}(t,n,r);if(e.width>i)return null;var o=Number.isFinite(n.margin)?Math.max(0,n.margin):0;return{profile:e,railRect:{left:t.right-o-e.width,top:t.top,right:t.right-o,bottom:t.bottom,width:e.width,height:t.height},source:"overlay"}}function _i(e,t,n,r){for(var i=[pi.overlay_300,pi.overlay_250,pi.overlay_160],o=0;o<i.length;o++){var a=i[o];if(gi(e,a)){var l=bi(a,t,n,r);if(l)return l}}return null}function xi(e,t,n){var r={left:t.right-24-e.width,top:t.top,right:t.right-24,bottom:t.bottom,width:e.width,height:t.height};return yi(r,t)&&vi(r,n)?{profile:e,railRect:r,source:"gutter"}:null}function zi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.advertisedProfiles,n=e.viewport,r=e.sidebarRect,i=e.contentRects,o=e.placementMode,a=e.overlay,l=e.minViewportWidth;if(!hi(n))return null;if("overlay"===o&&a)return _i(t,n,a,l);var s=pi.sidebar_300;if(gi(t,s)){var c=wi(s,r,n,i);if(c)return c}for(var d=[pi.gutter_300,pi.gutter_250],u=0;u<d.length;u++){var f=d[u];if(gi(t,f)){var p=xi(f,n,i);if(p)return p}}return null}function Ai(e){if(!Array.isArray(e)||0===e.length)return!1;for(var t=new Set,n=0;n<e.length;n++){var r=e[n];if(!Number.isInteger(r)||r<590||r>599||t.has(r))return!1;t.add(r)}return!0}function Si(e){return Si="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Si(e)}var Ei=160,Ii=300,Pi=24,Ci="main, article, [role='main'], #content, .content, .entry-content, .post-content, [id^=ezoic-pub-ad-placeholder-]",Ti=".td-pb-row, .td-container, .td-post-template-default, .td-main-content-wrap, .container, .container-fluid",ki=".ez-sidebar-wall",Oi="#qubit-floating-sidebar-wrapper, .qubit-floating-sidebar-wrapper";function Ri(e){return e?Array.isArray(e.contractPlaceholders)&&e.contractPlaceholders.length>0?e.contractPlaceholders:Array.isArray(e.placeholders)?e.placeholders:[]:[]}function Li(e,t){return!(!e||!Array.isArray(e.loadedPlaceholderIds))&&-1!==e.loadedPlaceholderIds.indexOf(t)}function Di(e,t){e&&Number.isInteger(t)&&(Array.isArray(e.loadedPlaceholderIds)||(e.loadedPlaceholderIds=[]),-1===e.loadedPlaceholderIds.indexOf(t)&&e.loadedPlaceholderIds.push(t),e.pendingScrollRailLoads&&e.pendingScrollRailLoads.delete(t))}function Ni(e,t){if(e&&t)for(var n=Ri(t.config),r=0;r<n.length;r++){var i=n[r];e.selectedPlaceholders&&!0===e.selectedPlaceholders[i]&&Di(t,i)}}function Mi(e,t,n){if(e&&t&&t.initialized&&"function"==typeof e.displayMore){Ni(e,t);for(var r=Ri(t.config),i=function(e,t){var n=Ri(e.config);if(0===n.length)return 0;var r=Number.isFinite(t)&&t>=0?t:0;return Math.min(n.length,Math.max(2,r+2))}(t,n),o=[],a=0;a<i&&a<r.length;a++){var l=r[a];Li(t,l)||t.pendingScrollRailLoads&&t.pendingScrollRailLoads.has(l)||o.push(l)}if(0!==o.length){t.pendingScrollRailLoads||(t.pendingScrollRailLoads=new Set);for(var s=0;s<o.length;s++)t.pendingScrollRailLoads.add(o[s]);e.displayMore(o,"scrollRail")}}}function ji(){return"undefined"!=typeof window&&window.__ez&&window.__ez.scrollRail?window.__ez.scrollRail:null}function Ui(e,t){if("undefined"!=typeof window){var n=function(){if(window.__ez&&window.__ez.ce&&"function"==typeof window.__ez.ce.AddPageviewEvent)try{window.__ez.ce.AddPageviewEvent(e,String(t))}catch(e){}};if(window.__ez&&window.__ez.ce&&"function"==typeof window.__ez.ce.AddPageviewEvent)n();else try{window.ez_ce_cmd&&"function"==typeof window.ez_ce_cmd.push||(window.ez_ce_cmd=[]),window.ez_ce_cmd.push(n)}catch(e){}}}function qi(e){var t=ji();t&&!0===t.enabled&&e&&!0!==window.__ez.__scrollRailClientOutcomeReported&&(window.__ez.__scrollRailClientOutcomeReported=!0,Ui("scroll_rail_client_outcome",e))}function Fi(e,t){if("undefined"!=typeof window&&window.__ez&&e&&t){var n=e+":"+t;window.__ez.__scrollRailProfileOutcomeReported=window.__ez.__scrollRailProfileOutcomeReported||{},!0!==window.__ez.__scrollRailProfileOutcomeReported[n]&&(window.__ez.__scrollRailProfileOutcomeReported[n]=!0,Ui("scroll_rail_profile_outcome",n))}}function Hi(e){"undefined"!=typeof window&&window.__ez&&e&&(window.__ez.__scrollRailPlacementModeReported=window.__ez.__scrollRailPlacementModeReported||{},!0!==window.__ez.__scrollRailPlacementModeReported[e]&&(window.__ez.__scrollRailPlacementModeReported[e]=!0,Ui("scroll_rail_placement_mode",e)))}function Bi(e){var t=Number(e);return Number.isFinite(t)?t:null}function Vi(e,t){var n=e&&"object"===Si(e)?e:{},r=parseInt(n.minPageWidth,10),i=parseInt(n.margin,10),o=parseInt(n.zIndex,10);return{minPageWidth:Number.isFinite(r)&&r>0?r:parseInt(t.minViewportWidth,10)||0,margin:Number.isFinite(i)&&i>=0?i:15,zIndex:Number.isFinite(o)&&o>0?o:900}}function Gi(e){return!(!e||"overlay"!==e.placementMode)}function Wi(){return"undefined"==typeof window?0:window.innerWidth||document.documentElement.clientWidth||0}function Ji(){return"undefined"==typeof window?0:window.innerHeight||document.documentElement.clientHeight||0}function $i(){if("undefined"==typeof document)return 0;var e=document.body||{},t=document.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function Yi(e){if(!e||"function"!=typeof e.getBoundingClientRect)return null;var t=e.getBoundingClientRect();if(!t||!Number.isFinite(t.top))return null;var n=window.pageYOffset||window.scrollY||document.documentElement.scrollTop||0;return Math.max(0,Math.round(t.top+n))}function Qi(e){if(!e||"function"!=typeof e.getBoundingClientRect)return null;var t=e.getBoundingClientRect();if(!t||!Number.isFinite(t.right))return null;var n=window.pageXOffset||window.scrollX||document.documentElement.scrollLeft||0;return Math.max(0,Math.round(t.right+n))}function Ki(e){if(!e||"function"!=typeof e.getBoundingClientRect)return null;var t=e.getBoundingClientRect();if(!t||!Number.isFinite(t.left))return null;var n=window.pageXOffset||window.scrollX||document.documentElement.scrollLeft||0;return Math.max(0,Math.round(t.left+n))}function Xi(e){if(!e||"function"!=typeof e.getBoundingClientRect)return null;var t=e.getBoundingClientRect();return t&&Number.isFinite(t.width)?Math.max(0,Math.round(t.width)):null}function Zi(e){for(var t=e;t;t=t.parentElement)if("function"==typeof t.getAttribute&&"true"===t.getAttribute("data-ez-scroll-rail-container"))return!0;return!1}function eo(e,t){return-1!==function(e){return(e&&e.className?String(e.className):"").split(/\s+/)}(e).indexOf(t)}function to(e){return e&&"function"==typeof e.getAttribute?e.getAttribute("role"):e&&e.attributes?e.attributes.role:void 0}function no(e){return!!e&&("MAIN"===e.tagName||"ARTICLE"===e.tagName||"main"===to(e)||"content"===e.id||eo(e,"content")||eo(e,"entry-content")||eo(e,"post-content"))}function ro(e,t){if(function(e){for(var t=e?e.parentElement:null;t;t=t.parentElement)if(no(t))return!0;return!1}(e))return!1;if(function(e){return!!e&&("FOOTER"===e.tagName||"contentinfo"===to(e)||"footer"===e.id||"colophon"===e.id||eo(e,"site-footer")||eo(e,"td-footer-wrapper")||eo(e,"td-footer-container"))}(e))return!0;if(!eo(e,"footer"))return!1;var n=Math.min(600,Math.round(.5*Wi()));return t&&Number.isFinite(t.width)&&t.width>=n}function io(){if("undefined"==typeof document||"function"!=typeof document.querySelectorAll)return Ei;for(var e=document.querySelectorAll(Ci),t=Math.max(Ji(),Ei),n=0;n<e.length;n++)if(!Zi(e[n])){var r=Yi(e[n]);if(null!==r&&r>=88&&r<=t)return r}return Ei}function oo(){if("undefined"==typeof document||"function"!=typeof document.querySelectorAll)return null;for(var e,t=[].concat(Array.from(document.querySelectorAll(Ti))).concat(Array.from(document.querySelectorAll(Ci))),n=Wi(),r=Math.max(Ji(),Ei),i=null,o=0;o<t.length;o++)if(!Zi(t[o])){var a=Yi(t[o]);if(!(null!==a&&a>r)){var l=Xi(t[o]);if(!(null===l||l<320)){var s=Qi(t[o]);null===s||s<=0||s+Pi+Ii>n-Pi||(!(e=t[o])||"string"!=typeof e.id||0!==e.id.indexOf("ezoic-pub-ad-placeholder-")||go(s+Pi,n))&&(i=null===i?s:Math.max(i,s))}}}return i}function ao(e){if("undefined"==typeof document||"function"!=typeof document.querySelectorAll)return null;for(var t=parseInt(e,10)||0,n=document.querySelectorAll("footer, [role='contentinfo'], #footer, #colophon, .footer, .site-footer, .td-footer-wrapper, .td-footer-container"),r=null,i=0;i<n.length;i++)if(!Zi(n[i])){var o="function"==typeof n[i].getBoundingClientRect?n[i].getBoundingClientRect():null;if(o&&Number.isFinite(o.height)&&!(o.height<=0)&&ro(n[i],o)){var a=Yi(n[i]);null===a||a<=t||(r=null===r?a:Math.min(r,a))}}return r}function lo(e){var t=$i(),n=ao(e);return null===n?t:Math.min(n,t)}function so(e){var t=parseInt(e,10)||0,n=ao(t);return null!==n?Math.max(Math.min(n,$i())-t,0):Math.max($i()-t,Ji())}function co(e,t){e.style.minHeight=so(t)+"px"}function uo(e){if(!e||!Number.isFinite(e.left))return!1;var t=Number.isFinite(e.width)&&e.width>0?e.width:Ii,n=Wi();if(e.left<=0||e.left+t>n)return!1;if(!go(e.left,n))return!1;var r=oo();return null===r||e.left>=r+Pi}function fo(e,t){if("undefined"==typeof document||"function"!=typeof document.querySelectorAll)return!0;for(var n=e+(Number.isFinite(t)&&t>0?t:Ii),r=io(),i=r+Ji(),o=[].concat(Array.from(document.querySelectorAll(Ti))).concat(Array.from(document.querySelectorAll(Ci))),a=0;a<o.length;a++){var l=o[a];if(!Zi(l)){var s=Yi(l),c="function"==typeof l.getBoundingClientRect?l.getBoundingClientRect():null,d=Ki(l),u=Qi(l);if(!(null===s||!c||!Number.isFinite(c.height)||s+c.height<=r||s>=i||null===d||null===u||u<=e||d>=n))return!0}}return!1}function po(e,t){return!(!Gi(e)&&e&&"guarded"===e.selectionMode&&!function(){var e=bo();if(e&&uo(e)&&!fo(e.left,e.width))return!0;var t=oo();if(null===t||!Number.isFinite(t))return!1;var n=Wi(),r=t+Pi;return ho(r,n)&&r+Ii<=n-Pi&&!fo(r)}()&&(t.log("Scroll rail guarded preflight skipped: no safe right gutter anchor"),1))}function ho(e,t){return e>=Math.round(.5*t)}function go(e,t){return e>=Math.round(.65*t)}function mo(e,t){var n=t.overlay,r=t&&Number.isFinite(t.railWidth)&&t.railWidth>0?t.railWidth:Ii,i=function(e){var t=e&&e.overlay?e.overlay:{},n=Number.isFinite(t.margin)?t.margin:15;return Math.max(n,88)}(t);e.style.position="fixed",e.style.left="",e.style.right=n.margin+"px",e.style.width=r+"px",e.style.top=i+"px",e.style.zIndex=String(n.zIndex),co(e,i)}function vo(e,t,n){var r=uo(t)?t:{top:io(),right:oo()},i=n&&Number.isFinite(n.railWidth)&&n.railWidth>0?n.railWidth:Ii;e.style.top=r.top+"px",e.style.width=(Number.isFinite(r.width)&&r.width>0?r.width:i)+"px",co(e,r.top),function(e,t,n){if(uo(t))return e.style.left=t.left+"px",void(e.style.right="");var r=t&&t.right,i=Wi();if(null!==r&&Number.isFinite(r)){var o=r+Pi,a=Number.isFinite(n)&&n>0?n:Ii;if(ho(o,i)&&o+a<=i-Pi)return e.style.left=o+"px",void(e.style.right="")}e.style.left="",e.style.right="0px"}(e,r,i)}function yo(e){if(e&&e.style&&"string"==typeof e.style.top){var t=parseInt(e.style.top,10);if(Number.isFinite(t))return t}return io()}function wo(e,t){var n=document.getElementById(e.containerId);return n?(Gi(e)?mo(n,e):vo(n,t,e),n):((n=document.createElement("div")).setAttribute("id",e.containerId),n.setAttribute("class","ez-scroll-rail-floating-sidebar-wrapper"),n.setAttribute("data-ez-scroll-rail-container","true"),n.setAttribute("data-ez-scroll-rail-wrapper","true"),Gi(e)?mo(n,e):(n.style.position="absolute",vo(n,t,e),n.style.zIndex=String(900)),document.body.appendChild(n),n)}function bo(){if("undefined"==typeof document||"function"!=typeof document.querySelectorAll)return null;for(var e=document.querySelectorAll(Oi),t=0;t<e.length;t++){var n=e[t],r=n.getBoundingClientRect();if(!(!r||!Number.isFinite(r.top)||!Number.isFinite(r.left)||!Number.isFinite(r.width)||!Number.isFinite(r.height)||r.top<=0||r.left<=0||r.width<=0||r.height<=0)){var i=Yi(n),o=Ki(n);if(null!==i&&null!==o)return{top:i,left:o,width:Math.round(r.width)}}}return null}function _o(){return{left:0,top:0,right:Wi(),bottom:Ji(),width:Wi(),height:Ji()}}function xo(e){if(!e||"function"!=typeof e.getBoundingClientRect)return null;var t=e.getBoundingClientRect();return t&&Number.isFinite(t.left)&&Number.isFinite(t.top)&&Number.isFinite(t.right)&&Number.isFinite(t.bottom)&&Number.isFinite(t.width)&&Number.isFinite(t.height)?{left:t.left,top:t.top,right:t.right,bottom:t.bottom,width:t.width,height:t.height}:null}function zo(){if("undefined"==typeof document||"function"!=typeof document.querySelectorAll)return[];for(var e=[].concat(Array.from(document.querySelectorAll(Ti))).concat(Array.from(document.querySelectorAll(Ci))),t=[],n=0;n<e.length;n++)if(!Zi(e[n])&&!Ro(e[n])){var r=xo(e[n]);r&&t.push(r)}return t}function Ao(){if("undefined"==typeof document)return null;if("function"==typeof document.getElementById){var e=document.getElementById("ez-sidebar-wall-right");if(e&&eo(e,"ez-sidebar-wall"))return e}if("function"!=typeof document.querySelectorAll)return null;for(var t=Wi(),n=document.querySelectorAll(ki),r=0;r<n.length;r++){var i=n[r],o=xo(i);if(!(!o||o.width<=0||o.height<=0)&&ho(o.left,t))return i}return null}function So(e){var t=window.pageYOffset||window.scrollY||document.documentElement.scrollTop||0,n=window.pageXOffset||window.scrollX||document.documentElement.scrollLeft||0;return{top:Math.max(0,Math.round(e.top+t)),left:Math.max(0,Math.round(e.left+n)),width:Math.max(0,Math.round(e.width))}}function Eo(e){if(!e||!e.element||!e.element.style)return!1;try{return!e.element.parentNode&&e.parent&&"function"==typeof e.parent.appendChild&&e.parent.appendChild(e.element),e.element.style.display=e.display,e.element.style.visibility=e.visibility,!0}catch(e){return!1}}function Io(e,t,n){if(!e||"function"!=typeof e.displayMore)return!1;var r=e._scrollRailProfileState;if(r&&!0===r.requested)return!1;Gi(t)&&Hi("overlay");var i=function(e){var t=function(){if("undefined"==typeof document||"function"!=typeof document.querySelectorAll)return null;for(var e=[].concat(Array.from(document.querySelectorAll(Oi))).concat(Array.from(document.querySelectorAll(ki))),t=0;t<e.length;t++){var n=xo(e[t]);if(!(!n||n.left<=0||n.top<0||n.width<=0||n.height<=0))return{element:e[t],rect:n}}return null}(),n=zi({advertisedProfiles:e.deferredProfiles,viewport:_o(),sidebarRect:t?t.rect:null,contentRects:zo(),placementMode:e.placementMode,overlay:e.overlay,minViewportWidth:e.minViewportWidth});return n?{decision:n,sidebarCandidate:"sidebar"===n.source?t:null}:null}(t);if(!i)return Gi(t)?(n.log("Scroll rail overlay preflight skipped: no eligible overlay profile"),qi("invalid_config")):(n.log("Scroll rail guarded preflight skipped: no safe deferred profile"),qi("guarded_preflight_rejected")),!1;var o,a,l,s,c=(o=i.decision.profile,a=t.deferredProfiles,s=t.placeholders,l=Array.isArray(s)&&0!==s.length?s.slice(0,Math.min(2,s.length)):[],o&&mi(o.id)===o&&gi(a,o)&&Ai(l)?{scrollRailProfile:o.id,placeholders:l.slice()}:null);if(!c)return qi("invalid_config"),!1;var d,u=i.decision.profile.id;return e._scrollRailProfileState={requested:!0,request:c,advertisedProfiles:t.deferredProfiles,config:Object.assign({},t,{contractPlaceholders:t.placeholders.slice()}),logger:n,profileDecision:i.decision,loadMoreRequestState:"pending",capturedSideRail:(d=Gi(t)?Ao():i.sidebarCandidate?i.sidebarCandidate.element:null,d?{element:d,parent:d.parentNode||null,nextSibling:Ko(d),display:d.style?d.style.display:"",visibility:d.style?d.style.visibility:""}:null)},function(e){"undefined"!=typeof window&&window.__ez&&e&&(window.__ez.__scrollRailProfileReported=window.__ez.__scrollRailProfileReported||{},!0!==window.__ez.__scrollRailProfileReported[e]&&(window.__ez.__scrollRailProfileReported[e]=!0,Ui("scroll_rail_profile",e)))}(u),e.displayMore(c.placeholders,"scrollRailProfile",{scrollRailProfileRequest:c}),Fi("requested",u),!0}function Po(){"undefined"!=typeof document&&document.body&&"function"==typeof document.querySelectorAll&&(function(){for(var e=document.querySelectorAll(ki),t=0;t<e.length;t++){var n=e[t];n&&n.id&&"undefined"!=typeof window&&"function"==typeof window.__ez_close_rail&&(window.__ez_close_rail(n.id),!n.parentNode)||ko(n)}}(),Co())}function Co(){for(var e=document.querySelectorAll(Oi),t=0;t<e.length;t++)ko(e[t])}function To(e){if("undefined"!=typeof document&&"function"==typeof document.querySelectorAll){var t=e&&e.element;Co();for(var n=document.querySelectorAll(ki),r=Wi(),i=0;i<n.length;i++){var o=n[i];if(o!==t){var a=xo(o);a&&ho(a.left,r)&&(o&&o.id&&"undefined"!=typeof window&&"function"==typeof window.__ez_close_rail&&(window.__ez_close_rail(o.id),!o.parentNode)||ko(o))}}}}function ko(e){e&&e.parentNode&&"function"==typeof e.parentNode.removeChild&&e.parentNode.removeChild(e)}function Oo(e,t){return!(!e||"string"!=typeof e.className)&&-1!==e.className.split(/\s+/).indexOf(t)}function Ro(e){if(!e)return!1;if(Oo(e,"ez-sidebar-wall")||function(e){return!!e&&("qubit-floating-sidebar-wrapper"===e.id||Oo(e,"qubit-floating-sidebar-wrapper"))}(e))return!0;if(!e.children||0===e.children.length)return!1;for(var t=0;t<e.children.length;t++)if(Ro(e.children[t]))return!0;return!1}function Lo(e,t){t&&!t.sideRailReplacementObserver&&"undefined"!=typeof window&&"function"==typeof window.MutationObserver&&"undefined"!=typeof document&&document.body&&(t.sideRailReplacementObserver=new window.MutationObserver((function(n){if(function(e){if(!Array.isArray(e))return!1;for(var t=0;t<e.length;t++)for(var n=e[t]&&e[t].addedNodes?e[t].addedNodes:[],r=0;r<n.length;r++)if(Ro(n[r]))return!0;return!1}(n)){if(Gi(t.config))return t.profileLifecycle&&t.profileLifecycle.capturedSideRail?To(t.profileLifecycle.capturedSideRail):Po(),void(t.container&&(mo(t.container,t.config),Jo(t),Go(e,t)));var r=bo();Po(),r&&t.container&&(t.replacementAnchor=r,vo(t.container,t.replacementAnchor,t.config),Jo(t),Go(e,t))}})),t.sideRailReplacementObserver.observe(document.body,{childList:!0,subtree:!0}))}function Do(e,t){var n="ezoic-pub-ad-placeholder-"+t,r=document.getElementById(n);return r||((r=document.createElement("span")).setAttribute("id",n),r.setAttribute("class","ezoic-ad ez-scroll-rail-slot"),r.setAttribute("data-ez-ph-id",String(t)),r.setAttribute("data-ez-scroll-rail-slot","true"),r.setAttribute("data-ez-scroll-rail-slot-id",e.slotIdPrefix+"-"+t),r.style.position="sticky",r.style.top="88px",r.style.display="block",r.style.width=(Number.isFinite(e.railWidth)&&e.railWidth>0?e.railWidth:Ii)+"px",r.style.minHeight="250px",r)}function No(e,t){var n=Ji(),r=so(t),i=null!==ao(t),o=e.placeholders.length;if(o<=0)return[];for(var a=Math.max(n,1e3),l=Math.max(Math.floor(r/o),a),s=[],c=0,d=0;d<o;d++)if(d<o-1){var u=l;i&&(u=Math.max(Math.min(u,r-c),0)),s.push(u),c+=u}else{var f=Math.max(r-c,0);s.push(i?f:Math.max(f,a))}return s}function Mo(e,t){e.style.height=t+"px",e.setAttribute("data-ez-scroll-rail-renderable",t>=600?"true":"false"),t>=Ji()?e.style.minHeight=t+"px":e.style.minHeight=""}function jo(e,t,n){var r=Do(e.config,t),i=e.sectionElements[t];return i||(i=function(e,t,n){var r=document.createElement("div");return r.setAttribute("id",e.slotIdPrefix+"-section-"+t),r.setAttribute("data-ez-scroll-rail-section","true"),r.setAttribute("data-ez-scroll-rail-section-placeholder",String(t)),r.style.position="relative",Mo(r,n),r}(e.config,t,e.sectionHeights[n]),e.sectionElements[t]=i,e.container.appendChild(i)),r.parentNode!==i&&i.appendChild(r),e.slotElements[t]=r,r}function Uo(e){var t=e&&e._scrollRailProfileStaging;if(t&&t.container){var n=e._scrollRailState;n&&n.container===t.container||t.container.parentNode&&"function"==typeof t.container.parentNode.removeChild&&t.container.parentNode.removeChild(t.container),e._scrollRailProfileStaging=null}}function qo(e,t){var n=e&&e._scrollRailProfileState;if(!n||!0!==n.requested)return!1;var r=n.request&&n.request.scrollRailProfile;return Eo(n.capturedSideRail),Uo(e),e._scrollRailProfileState=null,r&&Fi(t||"canceled",r),!0}function Fo(e){return e&&e.request&&Array.isArray(e.request.placeholders)?e.request.placeholders.map((function(e){return parseInt(e,10)})).filter(Number.isInteger):[]}function Ho(e){return!(Wi()<function(e){return Gi(e)?e.overlay.minPageWidth||e.minViewportWidth||0:e.minViewportWidth||0}(e)||$i()<e.minDocumentHeight||Ji()<e.minViewportHeight)}function Bo(e){if(!e||!Array.isArray(e.sectionHeights)||0===e.sectionHeights.length)return 0;for(var t=Math.max(0,function(){if("undefined"==typeof window||"undefined"==typeof document)return 0;var e=document.documentElement||{};return window.pageYOffset||window.scrollY||e.scrollTop||0}()-yo(e.container)),n=0,r=0;r<e.sectionHeights.length;r++)if(t<(n+=Math.max(parseInt(e.sectionHeights[r],10)||0,0)))return r;return e.sectionHeights.length-1}function Vo(e,t){e.style.display!==t&&(e.style.display=t)}function Go(e,t){Ni(e,t);for(var n,r=Ri(t.config),i=Gi(t.config)?Bo(t):-1,o=0;o<r.length;o++){var a=r[o],l=t.sectionElements[a];if(l){var s=Li(t,a),c=e&&e.selectedPlaceholders&&!0===e.selectedPlaceholders[a],d=!!(n=t.slotElements[a])&&(!!(n.children&&n.children.length>0)||"string"==typeof n.innerHTML&&""!==n.innerHTML.trim()),u="false"!==l.getAttribute("data-ez-scroll-rail-renderable");Vo(l,s&&(c||d)&&u&&(i<0||i===o)?"":"none")}}}function Wo(e,t,n){t&&t.initialized&&(Ho(t.config)?function(e){if(!e||!e.profileLifecycle||!e.profileDecision)return!0;var t=zi({advertisedProfiles:[e.profileDecision.profile],viewport:_o(),sidebarRect:"sidebar"===e.profileDecision.source?e.profileDecision.railRect:null,contentRects:zo(),placementMode:e.config.placementMode,overlay:e.config.overlay,minViewportWidth:e.config.minViewportWidth});return!!t&&t.profile.id===e.profileDecision.profile.id&&t.source===e.profileDecision.source}(t)?t.profileLifecycle||po(t.config,t.logger)?(Gi(t.config)?mo(t.container,t.config):vo(t.container,t.replacementAnchor,t.config),Jo(t),t.lastRailEndTop=lo(yo(t.container)),Go(e,t)):ra(e):ra(e,"retired_unsafe"):n&&ra(e))}function Jo(e){var t=Ri(e.config);e.sectionHeights=No(Object.assign({},e.config,{placeholders:t}),yo(e.container));for(var n=0;n<t.length;n++){var r=t[n],i=e.sectionElements[r];i&&Mo(i,e.sectionHeights[n])}}function $o(e,t){t.listenersRegistered||"undefined"==typeof window||(t.onResize=function(){!function(e){var t=e&&e._scrollRailState;t&&t.initialized&&Wo(e,t,!0)}(e)},window.addEventListener("resize",t.onResize,{passive:!0}),t.onScroll=function(){!function(e,t){if(t&&t.initialized&&!t.sectionSyncScheduled){var n=function(){if(t.sectionSyncScheduled=!1,t.initialized){var n=Bo(t);Mi(e,t,n),Go(e,t)}};if("undefined"!=typeof window&&"function"==typeof window.requestAnimationFrame)return t.sectionSyncScheduled=!0,void window.requestAnimationFrame(n);n()}}(e,t)},window.addEventListener("scroll",t.onScroll,{passive:!0}),t.listenersRegistered=!0)}function Yo(e,t){if(t&&t.initialized&&!t.layoutRefreshScheduled){t.layoutRefreshScheduled=!0;var n=function(){t.layoutRefreshScheduled=!1,t.initialized&&Wo(e,t,!1)};"undefined"==typeof window||"function"!=typeof window.requestAnimationFrame?n():window.requestAnimationFrame(n)}}function Qo(e,t){if(t&&!t.layoutRefreshesRegistered&&"undefined"!=typeof window){if("function"==typeof window.ResizeObserver&&"undefined"!=typeof document){t.layoutResizeObserver=new window.ResizeObserver((function(){Yo(e,t)}));var n=new Set,r=function(e){e&&!n.has(e)&&(n.add(e),t.layoutResizeObserver.observe(e))};r(document.body),r(document.documentElement);for(var i=[].concat(Array.from(document.querySelectorAll(Ti))).concat(Array.from(document.querySelectorAll(Ci))),o=0;o<i.length;o++)r(i[o])}"function"==typeof window.setTimeout&&(t.layoutRefreshTimeouts=[500,1500,3e3,6e3].map((function(n){return window.setTimeout((function(){Yo(e,t)}),n)}))),t.layoutRefreshesRegistered=!0}}function Ko(e){if(!e)return null;if(e.nextElementSibling)return e.nextElementSibling;var t=e.parentElement||e.parentNode;if(!t||!t.children)return null;for(var n=0;n<t.children.length-1;n++)if(t.children[n]===e)return t.children[n+1];return null}function Xo(e){if(!e)return!1;if(Ro(e))return!1;var t=String(e.tagName||"").toLowerCase(),n=String(e.className||"").toLowerCase(),r=String(e.id||"").toLowerCase(),i="".concat(r," ").concat(n);return"aside"===t||-1!==i.indexOf("sidebar")||-1!==i.indexOf("side-bar")||-1!==i.indexOf("columna-publicidad")}function Zo(e,t){var n=e&&e._scrollRailProfileState;return!!n&&!0===n.requested&&n.request===t}function ea(e,t,n){if(!Zo(e,n))return!1;var r=e._scrollRailProfileState,i=r.request.scrollRailProfile;if(!function(e,t,n){if(!e||!t||"string"!=typeof t.scrollRailProfile)return!1;var r,i,o=mi(t.scrollRailProfile);return!!(o&&gi(n,o)&&e.scrollRailProfile===o.id&&Number(e.scrollRailWidth)===o.width&&(r=e.scrollRailAllowedSizes,i=o.sizes,Array.isArray(r)&&Array.isArray(i)&&r.length===i.length&&r.every((function(e,t){return e===i[t]})))&&function(e,t){if(!Array.isArray(e)||0===e.length||!Array.isArray(t)||0===t.length||!Ai(e))return!1;for(var n=0,r=0;r<e.length;r++){for(var i=e[r],o=!1;n<t.length;){if(t[n]===i){o=!0,n++;break}n++}if(!o)return!1}return!0}(e.scrollRailSelectedPlaceholders,t.placeholders))}(t,r.request,r.advertisedProfiles))return Eo(r.capturedSideRail),Uo(e),Fi("restored_no_inventory",i),e._scrollRailProfileState=null,!1;var o,a=Ri(r.config),l=Object.assign({},r.config,{contractPlaceholders:a.slice(),placeholders:a.slice(),sizes:t.scrollRailAllowedSizes.slice(),maxSlots:a.length,railWidth:Number(t.scrollRailWidth)}),s=Gi(l)?null:So(r.profileDecision.railRect);Fi("admitted",i),(o=r.capturedSideRail)&&o.element&&o.element.style&&(o.element.style.display="none"),Gi(l)&&To(r.capturedSideRail);for(var c=wo(l,s),d={initialized:!0,config:l,container:c,slotElements:{},sectionElements:{},sectionHeights:No(l,yo(c)),logger:r.logger,listenersRegistered:!1,sideRailReplacementObserver:null,layoutResizeObserver:null,layoutRefreshTimeouts:[],layoutRefreshScheduled:!1,layoutRefreshesRegistered:!1,lastDocumentHeight:$i(),lastRailEndTop:lo(yo(c)),replacementAnchor:s,profileDecision:r.profileDecision,profileLifecycle:{profileId:i,capturedSideRail:r.capturedSideRail},loadedPlaceholderIds:t.scrollRailSelectedPlaceholders.slice(),pendingScrollRailLoads:new Set},u=new Set(t.scrollRailSelectedPlaceholders),f=0;f<a.length;f++)jo(d,a[f],f);return function(e,t,n){if(e&&"undefined"!=typeof document)for(var r=0;r<n.length;r++){var i=n[r];if(!t.has(i)){var o=document.getElementById("ezoic-pub-ad-placeholder-"+i);o&&o.parentNode&&"function"==typeof o.parentNode.removeChild&&o.parentNode.removeChild(o)}}}(c,u,Fo(r)),"function"==typeof c.removeAttribute&&c.removeAttribute("data-ez-scroll-rail-profile-staging"),Go(e,d),e._scrollRailState=d,e._scrollRailProfileState=null,e._scrollRailProfileStaging=null,$o(e,d),Lo(e,d),Qo(e,d),Mi(e,d,0),Fi("mounted",i),!0}function ta(e){if("undefined"==typeof window||"undefined"==typeof document||!document.body)return!1;var t=function(e){return e&&e.logger?e.logger:{log:function(){},warn:function(){},error:function(){}}}(e),n=ji();if(!n||!0!==n.enabled)return!1;var r=function(e){if(!e||!0!==e.enabled)return null;var t=Array.isArray(e.placeholders)?e.placeholders.map((function(e){return parseInt(e,10)})).filter(Number.isInteger):[],n=Array.isArray(e.checkpointViewportMultiples)?e.checkpointViewportMultiples.map(Bi).filter((function(e){return null!==e})):[],r=Math.min(parseInt(e.maxSlots,10)||t.length,t.length);if("standalone_right"!==e.mode||"right"!==e.side||"string"!=typeof e.containerId||""===e.containerId||"string"!=typeof e.slotIdPrefix||""===e.slotIdPrefix||0===t.length||n.length<t.length||r<1)return!1;var i="string"==typeof e.placementMode?e.placementMode:"";return("overlay"!==i||"right"===e.side)&&{enabled:!0,mode:e.mode,side:e.side,placementMode:i,overlay:Vi(e.overlay,e),abTest:"string"==typeof e.abTest?e.abTest:"",selectionMode:"string"==typeof e.selectionMode?e.selectionMode:"allow",containerId:e.containerId,slotIdPrefix:e.slotIdPrefix,placeholders:t.slice(0,r),sizes:Array.isArray(e.sizes)?e.sizes.slice():[],deferredProfiles:Array.isArray(e.deferredProfiles)?e.deferredProfiles.slice():[],railWidth:parseInt(e.scrollRailWidth,10)||Ii,minViewportWidth:parseInt(e.minViewportWidth,10)||0,minViewportHeight:parseInt(e.minViewportHeight,10)||0,minDocumentHeight:parseInt(e.minDocumentHeight,10)||0,checkpointViewportMultiples:n.slice(0,r),maxSlots:r}}(n);if(!r)return!1===r&&(t.warn("Scroll rail invalid config"),qi("invalid_config")),!1;if(!Ho(r))return qi("viewport_rejected"),!1;if(function(){if("undefined"==typeof document||"function"!=typeof document.querySelectorAll)return!1;for(var e=document.querySelectorAll("[id^=ezoic-pub-ad-placeholder-]"),t=0;t<e.length;t++)for(var n=Ko(e[t]),r=0;n&&r<3;r++){if(Xo(n))return!0;n=Ko(n)}return!1}())return ra(e),qi("publisher_sidebar_rejected"),!1;var i=e._scrollRailState;if(i&&i.initialized&&i.config.containerId===r.containerId){var o=i.profileLifecycle?null:bo();return i.profileLifecycle||Po(),na(e),Gi(i.config)?(mo(i.container,i.config),Jo(i),Go(e,i)):o&&(i.replacementAnchor=o,vo(i.container,i.replacementAnchor,i.config),Jo(i),Go(e,i)),$o(e,i),Lo(e,i),qi("rendered"),!0}if(function(e){return e&&Array.isArray(e.deferredProfiles)&&e.deferredProfiles.length>0&&("guarded"===e.selectionMode||Gi(e))}(r))return Io(e,r,t),!1;if(!po(r,t))return qi("guarded_preflight_rejected"),!1;r.abTest&&e&&"function"==typeof e.setABTest&&e.setABTest(r.abTest),Gi(r)&&Hi("overlay");var a=bo();Po();for(var l=r.placeholders.slice(),s=wo(r,a),c={initialized:!0,config:Object.assign({},r,{contractPlaceholders:l}),container:s,slotElements:{},sectionElements:{},sectionHeights:No(Object.assign({},r,{placeholders:l}),yo(s)),logger:t,listenersRegistered:!1,sideRailReplacementObserver:null,layoutResizeObserver:null,layoutRefreshTimeouts:[],layoutRefreshScheduled:!1,layoutRefreshesRegistered:!1,lastDocumentHeight:$i(),lastRailEndTop:lo(yo(s)),replacementAnchor:a,loadedPlaceholderIds:[],pendingScrollRailLoads:new Set},d=0;d<l.length;d++)jo(c,l[d],d);return Ni(e,c),Go(e,c),e._scrollRailState=c,$o(e,c),Lo(e,c),Qo(e,c),Mi(e,c,0),qi("rendered"),!0}function na(e){var t=e&&e._scrollRailState;return!(!t||!t.initialized||(Mi(e,t,Bo(t)),Go(e,t),Yo(e,t),0))}function ra(e,t){var n=e&&e._scrollRailState;if(!n)return qo(e,t);for(var r=Object.keys(n.slotElements),i=0;i<r.length;i++)ia(e,n,parseInt(r[i],10));if(n.listenersRegistered&&"undefined"!=typeof window&&(window.removeEventListener("resize",n.onResize),n.onScroll&&window.removeEventListener("scroll",n.onScroll)),n.sideRailReplacementObserver&&"function"==typeof n.sideRailReplacementObserver.disconnect&&n.sideRailReplacementObserver.disconnect(),n.layoutResizeObserver&&"function"==typeof n.layoutResizeObserver.disconnect&&n.layoutResizeObserver.disconnect(),Array.isArray(n.layoutRefreshTimeouts)&&"undefined"!=typeof window&&"function"==typeof window.clearTimeout)for(var o=0;o<n.layoutRefreshTimeouts.length;o++)window.clearTimeout(n.layoutRefreshTimeouts[o]);return n.container&&n.container.parentNode&&"function"==typeof n.container.parentNode.removeChild&&n.container.parentNode.removeChild(n.container),n.profileLifecycle&&(Eo(n.profileLifecycle.capturedSideRail),t&&Fi(t,n.profileLifecycle.profileId)),e._scrollRailState=null,n.profileLifecycle&&t||qi("retired"),qo(e,t),!0}function ia(e,t,n){var r=t.slotElements[n];if(r&&(r.style.display="none"),delete t.slotElements[n],e&&"function"==typeof e.destroyPlaceholders){e._scrollRailRetiring=!0;try{e.destroyPlaceholders(n)}finally{e._scrollRailRetiring=!1}}}function oa(e){return oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oa(e)}var aa="ezoic-pub-ad-placeholder-",la="sa-idless",sa="data-ez-idless-consumed",ca="__ezAnchorScript",da=/showAds\s*\(\s*\{\s*(?!["']?id["']?\s*:)/;function ua(e){return"object"===oa(e)&&null!==e&&!Array.isArray(e)&&(void 0===e.id||null===e.id)}function fa(e){for(var t=0;t<e.length;t++){var n=e[t];if(Array.isArray(n)){for(var r=0;r<n.length;r++)if(ua(n[r]))return!0}else if(ua(n))return!0}return!1}function pa(e,t){return!(!(e&&"function"==typeof e.querySelector&&e.querySelector('[data-method="placement-service"]')&&t)||t.ezFinishedStatic)}function ha(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function ga(e,t){for(var n=function(e){return ua(e)&&!Object.prototype.hasOwnProperty.call(e,ca)},r=0;r<e.length;r++){var i=e[r];if(Array.isArray(i))for(var o=null,a=0;a<i.length;a++)n(i[a])&&(o||(o=i.slice(),e[r]=o),o[a]=ha(o[a]),o[a][ca]=t||null);else n(i)&&(e[r]=ha(i),e[r][ca]=t||null)}}function ma(e){return"number"==typeof e.offsetHeight&&e.offsetHeight>0||!!e.offsetParent}function va(e,t){return e&&"function"==typeof e.getElementsByTagName?Array.prototype.slice.call(e.getElementsByTagName(t)):[]}function ya(e,t,n){if("function"==typeof e.compareDocumentPosition)return 4==(4&e.compareDocumentPosition(t));var r=va(n,"*");return r.indexOf(e)<r.indexOf(t)}function wa(e){var t=[];if(t.push.apply(t,va(e,"main")),t.push.apply(t,va(e,"article")),"function"==typeof e.querySelector){var n=e.querySelector('[role="main"]');n&&t.push(n)}else for(var r=va(e,"*"),i=0;i<r.length;i++){var o=r[i];o.getAttribute&&"main"===o.getAttribute("role")&&t.push(o)}for(var a=["content","main-content","primary"],l=0;l<a.length;l++){var s=e.getElementById?e.getElementById(a[l]):null;s&&t.push(s)}for(var c=["entry-content","post-content","article-content","content"],d=0;d<c.length;d++)if("function"==typeof e.getElementsByClassName){var u=e.getElementsByClassName(c[d]);u&&u.length>0&&t.push(u[0])}for(var f=0;f<t.length;f++)if(t[f]&&ma(t[f]))return t[f];return e.body||null}function ba(e){for(var t=[],n=va(e,"p"),r=0;r<n.length;r++){var i=n[r];String(i.textContent||"").trim().length>=40&&ma(i)&&t.push(i)}return t}function _a(e){try{if(e._ezaq&&void 0!==e._ezaq.form_factor_id)return 2==e._ezaq.form_factor_id}catch(e){}return(e.innerWidth||0)<768}var xa=/(^|[-_])(no|non|not|without|hide|hidden|has|disable|disabled)[-_]sidebar/;function za(e){for(var t=(String(e.id||"")+" "+String(e.className||"")).toLowerCase().split(/\s+/),n=0;n<t.length;n++)if(-1!==t[n].indexOf("sidebar")&&!xa.test(t[n]))return!0;return!1}function Aa(e){if(e&&"function"==typeof e.getBoundingClientRect){var t=e.getBoundingClientRect();if(t&&(t.width>0||t.right>t.left))return t}return null}function Sa(e,t,n){if(!ma(e))return!1;var r=t.innerWidth||0,i=0,o=0,a=Aa(e);if(a&&(i=a.width||0,o=a.height||0),i||"number"!=typeof e.offsetWidth||(i=e.offsetWidth),o||"number"!=typeof e.offsetHeight||(o=e.offsetHeight),i<120||r>0&&i>.45*r)return!1;if(a){var l=(a.left+a.right)/2;if(n){if(l>n.left&&l<n.right)return!1}else if(r>0&&l>r/3&&l<2*r/3)return!1}return o>i||o>=200}function Ea(e,t){return e?(void 0===e.root&&(e.root=wa(t)),e.root):wa(t)}function Ia(e,t){return e?(void 0===e.paragraphs&&(e.paragraphs=ba(Ea(e,t))),e.paragraphs):ba(wa(t))}function Pa(e,t,n){if(n&&void 0!==n.contentRect)return n.contentRect;var r=t.innerWidth||0,i=Aa(Ea(n,e)),o=i&&r>0&&i.width>0&&i.width<.9*r?i:null;return n&&(n.contentRect=o),o}function Ca(e,t){e.childNodes&&e.childNodes.length>0?e.insertBefore(t,e.childNodes[0]):e.appendChild(t)}function Ta(e,t){var n=e.parentNode;if(!n)return!1;var r=e.nextSibling;return r?n.insertBefore(t,r):n.appendChild(t),!0}function ka(e){return!(!e||1!==e.nodeType||0!==String(e.id||"").indexOf(aa))}function Oa(e,t){if(0===e.length)return-1;var n=Math.floor(e.length*t);return n>=e.length&&(n=e.length-1),n}function Ra(e,t){var n=t.body;if(!n)return!1;for(var r=e;r;){if(r===n)return!0;r=r.parentNode}return!1}function La(e,t,n,r){if(!_a(n))for(var i=Pa(t,n,r),o=e;o&&o!==t.body;){if(("ASIDE"===o.tagName||za(o))&&Sa(o,n,i))return"sidebar";o=o.parentNode}var a=Ia(r,t);if(0===a.length)return"top_of_page";for(var l=0,s=0;s<a.length;s++)ya(a[s],e,t)&&l++;if(0===l){var c=va(t,"h1");return c.length>0&&ya(c[0],e,t)?"under_page_title":"top_of_page"}if(1===l)return"under_first_paragraph";if(2===l)return"under_second_paragraph";if(l>=a.length)return"bottom_of_page";var d=l/a.length;return d<=.55?"mid_content":d<=.75?"long_content":d<=.9?"longer_content":"longest_content"}var Da=0;function Na(e,t,n){var r=t.doc,i=t.win,o=t.logger,a=t.idAliases||{};void 0!==e.required&&null!==e.required||(e.required=!0);var l=e.location;"string"==typeof l&&a[l]&&(l=a[l]),"string"==typeof l&&0!==l.length||(l=null);var s=!0===e.into;delete e.into;var c=function(e,t,n){var r=t.doc,i=e.anchor;if(delete e.anchor,"string"==typeof i&&i&&"function"==typeof r.querySelector&&(i=r.querySelector(i)),i&&1===i.nodeType&&Ra(i,r))return i;var o=null;return Object.prototype.hasOwnProperty.call(e,ca)&&(o=e[ca],delete e[ca]),o&&function(e,t){if(!e||1!==e.nodeType||!Ra(e,t))return!1;var n=String(e.src||"");return!n||!/ezojs\.com|ezoic|sa\.min\.js/i.test(n)}(o,r)?o:(void 0===n.scanAnchor&&(n.scanAnchor=function(e){for(var t=va(e,"script"),n=0;n<t.length;n++){var r=t[n];if(!r.src&&(!r.getAttribute||!r.getAttribute(sa))&&da.test(String(r.textContent||r.text||""))&&Ra(r,e))return r}return null}(r)),n.scanAnchor)}(e,t,n);c&&"function"==typeof c.setAttribute&&c.setAttribute(sa,"1"),s&&c&&"SCRIPT"===String(c.tagName).toUpperCase()&&(s=!1);var d=null;if(c&&s){for(var u=c.childNodes||[],f=0;f<u.length;f++)if(ka(u[f])){o.warn("showAds: multiple id-less placements in one host — ads cannot stack");break}d=function(e){return c.appendChild(e),!0},l||(l=La(c,r,i,n))}else c?(ka(c.nextSibling)&&o.warn("showAds: multiple id-less placements from one spot — ads cannot stack"),d=function(e){for(var t=c;t.nextSibling&&ka(t.nextSibling);)t=t.nextSibling;return Ta(t,e)},l||(l=La(c,r,i,n))):l&&(d=function(e,t,n,r){var i=Ea(r,t);if(!i)return null;var o=Ia(r,t),a=function(e){return e<0||e>=o.length?null:function(t){return Ta(o[e],t)}},l=/^incontent_(\d+)$/.exec(e);if(l){var s=(parseInt(l[1],10)-5+1)/85;return a(Oa(o,Math.min(s,1)))}switch(e){case"top_of_page":return function(e){return Ca(i,e),!0};case"under_page_title":var c=va(t,"h1");return c.length>0?function(e){return Ta(c[0],e)}:null;case"under_first_paragraph":return a(0);case"under_second_paragraph":return a(1);case"mid_content":return a(Oa(o,.5));case"long_content":return a(Oa(o,.7));case"longer_content":return a(Oa(o,.85));case"longest_content":return a(o.length-1);case"bottom_of_page":return function(e){return i.appendChild(e),!0}}if(0===e.indexOf("sidebar")){var d=function(e,t,n){if(_a(t))return null;for(var r=Pa(e,t,n),i=va(e,"aside"),o=0;o<i.length;o++)if(Sa(i[o],t,r))return i[o];for(var a=va(e,"*"),l=0;l<a.length;l++){var s=a[l];if(za(s)&&Sa(s,t,r))return s}return null}(t,n,r);return d?"sidebar"===e||"sidebar_floating_1"===e?function(e){return Ca(d,e),!0}:"sidebar_middle"===e?function(e){var t=d.childNodes||[],n=Math.floor(t.length/2);return t.length>0&&t[n]?d.insertBefore(e,t[n]):d.appendChild(e),!0}:function(e){return d.appendChild(e),!0}:null}return null}(l,r,i,n));if(!d){var p=Ea(n,r);l||(l="bottom_of_page"),d=function(e){return!!p&&(p.appendChild(e),!0)}}var h=parseInt(t.getId(l),10);if(isNaN(h)||h<1||h>999){var g=function(e,t,n){for(var r=function(e){for(var t=[],n=va(e,"*"),r=0;r<n.length;r++){var i=n[r];i.getAttribute&&i.getAttribute("data-inserter")===la&&t.push(i)}return t.sort((function(e,t){return parseInt(e.getAttribute("data-ez-idless-seq"),10)-parseInt(t.getAttribute("data-ez-idless-seq"),10)})),t}(e),i=0;i<r.length;i++){var o=r[i];if(!n||!n[o.getAttribute("data-ez-idless-seq")]){var a=parseInt(String(o.id||"").slice(aa.length),10);if(!isNaN(a))return"function"==typeof t.destroy&&t.destroy(a),o.parentNode&&"function"==typeof o.parentNode.removeChild&&o.parentNode.removeChild(o),"function"==typeof t.clearIdState&&t.clearIdState(a),t.logger.log("showAds: all placements in use — recycled oldest id-less placeholder "+a),a}}return null}(r,t,n.minted);null!==g&&g>=1&&g<=999&&(h=g)}if((isNaN(h)||h<1||h>999)&&(o.error("showAds: no servable generated id for location '"+l+"', falling back to 902"),h=902),function(e,t){return!(!e.getElementById||!e.getElementById(aa+t))}(r,h))return o.warn("showAds: id-less item merged into existing placeholder "+h+" — no new div inserted"),e.id=h,delete e.class,delete e.className,void delete e.style;var m=String(Da++),v=r.createElement("div");v.id=aa+h,"function"==typeof v.setAttribute&&(v.setAttribute("data-inserter",la),v.setAttribute("data-ez-idless-location",l),v.setAttribute("data-ez-idless-seq",m));var y="string"==typeof e.class?e.class:e.className;if("string"==typeof y&&y&&(v.className=y),"string"==typeof e.style&&e.style&&"function"==typeof v.setAttribute&&v.setAttribute("style",e.style),delete e.class,delete e.className,delete e.style,n.minted[m]=!0,!d(v)){var w=r.body||r.documentElement;w?w.appendChild(v):o.error("showAds: no element to hold placeholder "+h)}e.id=h,o.log("showAds: id-less item resolved to id "+h+" at location '"+l+"'")}function Ma(e,t){(t=t||{}).logger=t.logger||{log:function(){},warn:function(){},error:function(){}};for(var n={root:void 0,paragraphs:void 0,contentRect:void 0,scanAnchor:void 0,minted:{}},r=0;r<e.length;r++){var i=e[r];if(Array.isArray(i))for(var o=null,a=0;a<i.length;a++)ua(i[a])&&(o||(o=i.slice(),e[r]=o),o[a]=ha(o[a]),Na(o[a],t,n));else ua(i)&&(e[r]=ha(i),Na(e[r],t,n))}return e}function ja(e,t){t=t||{log:function(){},warn:function(){},error:function(){}};for(var n=[],r=function(e){if("object"===oa(e)&&null!==e&&!Array.isArray(e)&&Object.prototype.hasOwnProperty.call(e,"flyingCarpet")){var r=!0===e.flyingCarpet;if(delete e.flyingCarpet,r){var i=parseInt(e.id,10);isNaN(i)||i<1||i>999?t.warn("showAds: flyingCarpet requested on a descriptor without a valid placeholder id — ignoring"):n.push(i)}}},i=0;i<e.length;i++){var o=e[i];if(Array.isArray(o))for(var a=0;a<o.length;a++)r(o[a]);else r(o)}return 0===n.length?null:(n.length>1&&t.warn("showAds: multiple flyingCarpet placements requested in one call — honoring placeholder "+n[0]+" and ignoring the rest"),n[0])}function Ua(e){return Ua="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ua(e)}n(9135);var qa=/^\d{1,10}$/;function Fa(){return window.__ez&&"object"===Ua(window.__ez)||(window.__ez={}),window.__ez}function Ha(){if(window.__ez&&"string"==typeof window.__ez.fss&&window.__ez.fss)return window.__ez.fss;var e=function(){var e;try{e=document.cookie}catch(e){return""}if(!e||"string"!=typeof e)return"";for(var t=e.split(";"),n=0;n<t.length;n++){var r=t[n],i=r.indexOf("=");if(-1!==i&&0===r.slice(0,i).trim().indexOf("ezfs_")){var o,a=r.slice(i+1).trim();try{o=decodeURIComponent(a)}catch(e){continue}if(qa.test(o)&&!(Number(o)>4294967295))return o}}return""}();if(e)return Fa().fss=e,e;var t,n=(t="undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues&&"function"==typeof Uint32Array?crypto.getRandomValues(new Uint32Array(1))[0]:Math.floor(4294967296*Math.random()),String(t>>>0));return Fa().fss=n,n}function Ba(e){return function(e){if(Array.isArray(e))return Va(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Va(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Va(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Va(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ga(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,i)}function Wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ja(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wa(Object(n),!0).forEach((function(t){$a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ya(e){return Ya="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ya(e)}function Qa(e){e.pageUtil&&"function"==typeof e.pageUtil.resetAdReqDebugInfo?e.pageUtil.resetAdReqDebugInfo():e.saDebuggerOpen&&e.debugData&&e.debugData.adReq&&(e.debugData.adReq.reqSeen=!1,e.debugData.adReq.monetizationNotAllowed=!1,e.debugData.adReq.errStatusCode="",e.debugData.adReq.noPlaceholdersSelected=!1)}function Ka(e){return e?"granted":"denied"}function Xa(e){"undefined"!=typeof gtag&>ag("consent","update",{analytics_storage:Ka(e&&e.statistics),ad_storage:Ka(e&&e.ads),ad_user_data:Ka(e&&e.marketing),ad_personalization:Ka(e&&e.marketing)})}function Za(e){return Promise.resolve(e.consentManager.handleConsent()).then((function(){Xa(e.consentManager)}))}function el(e){e.consentManager&&!e.consentManager._ezStandaloneConsentChangeRegistered&&(e.consentManager._ezStandaloneConsentChangeRegistered=!0,e.consentManager.onChange=function(){Za(e)})}function tl(e,t){var n=t&&!0===t.ads,r=t&&!0===t.marketing,i=t&&!0===t.statistics;e.thirdPartyConsentAllowAds=n,e._thirdPartyConsentState={ads:n,marketing:r,statistics:i},n&&r||(window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.adsbygoogle=window.adsbygoogle||[]),window.adsbygoogle&&(window.adsbygoogle.pauseAdRequests=n?0:1,window.adsbygoogle.requestNonPersonalizedAds=r?0:1),!n&&window.googletag&&window.googletag.cmd&&window.googletag.cmd.push((function(){e._thirdPartyConsentState&&!1===e._thirdPartyConsentState.ads&&f(window.googletag)})),window.googletag&&window.googletag.cmd&&window.googletag.cmd.push((function(){var t=e._thirdPartyConsentState||{};window.googletag.pubads().setRequestNonPersonalizedAds(!0===t.marketing?0:1)})),"function"==typeof e.setDisablePersonalizedAds?e.setDisablePersonalizedAds(!r):window.ezstandalone&&"function"==typeof window.ezstandalone.setDisablePersonalizedAds&&window.ezstandalone.setDisablePersonalizedAds(!r),"function"==typeof e.setDisablePersonalizedStatistics?e.setDisablePersonalizedStatistics(!i):window.ezstandalone&&"function"==typeof window.ezstandalone.setDisablePersonalizedStatistics&&window.ezstandalone.setDisablePersonalizedStatistics(!i),Xa(t)}function nl(e,t,n,r){return function(e,t){return function(e){return e?Promise.resolve(e.getConsentState()):Promise.resolve(null)}(t).then((function(t){return tl(e,t),t}))}(e,t).then((function(i){return function(e,t){if(t&&(e._thirdPartyConsentProviderChangeRegistered=e._thirdPartyConsentProviderChangeRegistered||{},!e._thirdPartyConsentProviderChangeRegistered[t.name])){var n=function(t,n){return!(!t||"function"!=typeof t.onChange)&&t.onChange((function(t){tl(e,t)}))}(t);n&&(e._thirdPartyConsentProviderChangeRegistered[t.name]=!0)}}(e,t),i&&!0===i.ads&&(e.thirdPartyConsentAllowAds=!0),il(e,n,r)}))}function rl(e,t,n){var r,i=(r=ul(e),ni.isAvailable()?ni:function(e){return di(e).find((function(e){return e.isAvailable()}))||null}(r));return i?nl(e,i,t,n):e.insertCMPScripts().then((function(){return e.logger.log("handling standalone consent"),el(e),Za(e).then((function(){return il(e,t,n)}))}))}function il(e,t,n){return Promise.resolve(e.onStandaloneLoadEvent(e.scriptType.load,t,!0,e.numPlacementGroups,n)).then((function(){e.runLoadingStatusEventQueue(),e.initializeMissingAdChecker()}))}function ol(e,t){e.loadingStatus="COMPLETE",t===e.scriptType.load&&(e.initialLoadInFlight=!1)}var al={747694:!0,747690:!0},ll=null,sl=null;function cl(e,t){var n=new Set;if(!Array.isArray(t)||0===t.length||"undefined"==typeof window)return n;if(function(){if("undefined"!=typeof window&&ll===window&&null!==sl)return sl;var e=function(){if("undefined"!=typeof _ezaq&&_ezaq){var e=_ezaq.domain_id;if(e)return String(e)}if("undefined"!=typeof window&&window._ezaq){var t=window._ezaq.domain_id;if(t)return String(t)}return""}();return""!==e&&(ll="undefined"!=typeof window?window:null,sl=!0===al[e])}())return t.forEach((function(e){n.add(e)})),n;var r,i=(r=window)&&r.ezOrca?r.ezOrca:r&&r.__ez&&r.__ez.orca?r.__ez.orca:"undefined"!=typeof ezOrca?ezOrca:"undefined"!=typeof __ez&&__ez.orca?__ez.orca:null;return i?"function"!=typeof i.getByPlaceholderId?(e&&e.logger&&"function"==typeof e.logger.warn&&e.logger.warn("Could not verify stale Orca slots before loadMore reuse: getByPlaceholderId unavailable"),n):(t.forEach((function(t){var r=i.getByPlaceholderId(t);if(r&&r.id)if("function"==typeof i.destroySlots)try{var o=i.destroySlots([r.id]),a=i.getByPlaceholderId(t);if(!0===o&&!a)return void n.add(t);e&&e.logger&&"function"==typeof e.logger.warn&&e.logger.warn("Could not destroy stale Orca slot before loadMore reuse: "+r.id+" result="+o)}catch(t){e&&e.logger&&"function"==typeof e.logger.error&&e.logger.error("Error destroying stale Orca slots before loadMore reuse",t)}else e&&e.logger&&"function"==typeof e.logger.warn&&e.logger.warn("Could not destroy stale Orca slot before loadMore reuse: destroySlots unavailable for "+r.id);else n.add(t)})),n):(t.forEach((function(e){n.add(e)})),n)}function dl(){return void 0!==window.ezConsentRequired&&!0===window.ezConsentRequired}function ul(e){var t="number"==typeof e.tcfApiWaitMs?e.tcfApiWaitMs:void 0;return{includeNonTcfProviders:void 0!==window.ezConsentThirdPartySettingVal&&!0===window.ezConsentThirdPartySettingVal,timeoutMs:t}}function fl(e){return function(e){if(Array.isArray(e))return pl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return pl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pl(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hl(){return"undefined"!=typeof window?window:null}function gl(){var e,t=(e=hl())&&e.ezOrca?e.ezOrca:e&&e.__ez&&e.__ez.orca?e.__ez.orca:"undefined"!=typeof ezOrca?ezOrca:"undefined"!=typeof __ez&&__ez.orca?__ez.orca:null,n=t&&t.interstitial?t.interstitial:null;n&&(n.id&&"function"==typeof t.destroySlots?t.destroySlots([n.id]):n.gam&&n.gam.slot&&"undefined"!=typeof googletag&&"function"==typeof googletag.destroySlots&&(googletag.destroySlots([n.gam.slot]),t.interstitial===n&&(t.interstitial=null)));var r=function(){var e=hl();return e&&e.__ez&&e.__ez.fads&&e.__ez.fads.hbVignette?e.__ez.fads.hbVignette:"undefined"!=typeof __ez&&__ez.fads&&__ez.fads.hbVignette?__ez.fads.hbVignette:null}();r&&"function"==typeof r.destroyInterstitial&&r.destroyInterstitial()}function ml(e){return ml="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ml(e)}n(4765);var vl=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,yl={766209:!0,732819:!0,732818:!0,732817:!0,722677:!0,722506:!0,699603:!0,684897:!0,604386:!0};function wl(){return!("undefined"==typeof _ezaq||!_ezaq.domain_id)&&!0===yl[String(_ezaq.domain_id)]}function bl(e,t,n){e&&(e[t]=n),void 0!==window.ezstandalone&&(window.ezstandalone[t]=n)}var _l=["ezidentity","ezfp","ezoawesome_","ezouid_","ezppid_ck","ezdg","AMZN-Token"],xl=["ez_pubsite","ez_rdr","ez_lrd_count","ezCMPCookieConsent","cookielawinfo-checkbox-necessary","__cfduid","__utmt_e","__utmt_f","PHPSESSID","wordpress_test_cookie","__utmt","cf_ob_info","cf_use_ob","OSTSESSION","OSTSESSID","ez_view_original_only","speed_no_process","sitespeed_preview","ez_ad_position_version","ezpicker_showall","ezpicker_nocache","ezpicker","ez_view_optimized_only","_atuvc","atsc","GED_PLAYLIST_ACTIVITY","SL_wptGlobTipTmp","SL_GWPT_Show_Hide_tmp","_atuvs","ezosuigenis","ezds","AMP_CID_EZOIC","ez_recommended_pages","ezohw","ezopv","ezouspva","ezouspvw","ezouspvh","_ga","__utma","__utmz","_gid","_gat","__utmb","_gca","ezdg","__gads","__unam","cto_lwid","cto_idcpy","_gcl_aw","_ym_uid","ezidentity","ezfp","ezppid_ck","AMZN-Token"];function zl(){!function(){try{if(window.ezoicIdentity&&"function"==typeof window.ezoicIdentity.deleteIdentity)return void window.ezoicIdentity.deleteIdentity();window.ezoicIdentity=window.ezoicIdentity||{},window.ezoicIdentity.queue&&"function"==typeof window.ezoicIdentity.queue.push||(window.ezoicIdentity.queue=[]),window.ezoicIdentity.queue.push((function(){window.ezoicIdentity&&"function"==typeof window.ezoicIdentity.deleteIdentity&&window.ezoicIdentity.deleteIdentity()}))}catch(e){}}(),function(){try{var e=function(e){for(var t=0;t<n.length;t++)for(var r=0;r<i.length;r++){var o=n[t]?";domain="+n[t]:"";document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path="+i[r]+o}},t=window.location.hostname,n=["",t],r=t.split(".");r.length>2?n.push("."+r.slice(-2).join(".")):n.push("."+t);for(var i=["/",window.location.pathname],o=0;o<xl.length;o++)e(xl[o]);for(var a=["ezoawesome_","ezouid_","bfp_sn_rm"],l=document.cookie.split(";"),s=0;s<l.length;s++)for(var c=l[s].split("=")[0].trim(),d=0;d<a.length;d++)0===c.indexOf(a[d])&&e(c)}catch(e){}}()}var Al=["ezidentity","ez_idgraph","ezuid2","ezeuid","ezoid"];function Sl(){if(void 0!==window.__ez&&window.__ez.ce&&"function"==typeof window.__ez.ce.AddPageviewEvent){var e=[];try{for(var t=document.cookie||"",n=0;n<_l.length;n++){var r=_l[n];-1!==t.indexOf(r)&&e.push(r)}}catch(e){}window.__ez.ce.AddPageviewEvent("gpp_optout_cookies_found",String(e.length)),e.length>0&&window.__ez.ce.AddPageviewEvent("gpp_optout_cookie_names",e.join(","));var i=[];try{if("undefined"!=typeof localStorage)for(var o=0;o<Al.length;o++){var a=Al[o];null!==localStorage.getItem(a)&&i.push(a)}}catch(e){}window.__ez.ce.AddPageviewEvent("gpp_optout_storage_found",String(i.length)),i.length>0&&window.__ez.ce.AddPageviewEvent("gpp_optout_storage_names",i.join(","))}}function El(){return"undefined"!=typeof window&&void 0!==window._ezaq&&window._ezaq.page_view_id?window._ezaq.page_view_id:""}function Il(){var e;return"undefined"==typeof window?null:window.ezOrca||(null===(e=window.__ez)||void 0===e?void 0:e.orca)||null}function Pl(e,t){if("undefined"!=typeof document&&document.body){if(t)return e._interstitialGoogleAttrSnapshot||(e._interstitialGoogleAttrSnapshot={hadValue:document.body.hasAttribute("data-google-interstitial"),value:document.body.getAttribute("data-google-interstitial")}),void document.body.setAttribute("data-google-interstitial","false");var n=e._interstitialGoogleAttrSnapshot;n?(n.hadValue?document.body.setAttribute("data-google-interstitial",n.value):document.body.removeAttribute("data-google-interstitial"),e._interstitialGoogleAttrSnapshot=null):"false"===document.body.getAttribute("data-google-interstitial")&&document.body.removeAttribute("data-google-interstitial")}}var Cl=[[970,250],[970,90],[728,90],[580,400],[468,60],[336,280],[320,100],[320,50],[300,600],[300,250],[300,100],[300,50],[250,250],[234,60],[200,200],[160,600],[125,125],[120,600]];function Tl(e,t){var n=Cl.filter((function(n){return n[0]<=e&&n[1]<=t})).sort((function(e,t){return t[0]*t[1]-e[0]*e[1]})).map((function(e){return e[0]+"x"+e[1]})),r=e+"x"+t;return-1===n.indexOf(r)&&n.unshift(r),n}var kl=new Map;function Ol(e,t){Ll.call(this,e);var n=t.width,r=t.height,i="top"===t.anchor?"top":"bottom",o=parseInt(window.ezstandalone.GetGeneratedId("incontent_5"),10),a=document.createElement("div");a.id="ez-game-sdk-banner-"+o,a.style.cssText="position:absolute;z-index:2147483000;width:"+n+"px;min-height:"+r+"px;pointer-events:auto;";var l=document.createElement("div");l.id="ezoic-pub-ad-placeholder-"+o,a.appendChild(l),document.body.appendChild(a);var s=function(){if(document.body.contains(e)){var t=function(e,t,n,r){var i=e.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft||0,a=window.pageYOffset||document.documentElement.scrollTop||0,l=o+i.left+(i.width-t)/2,s="top"===r?a+i.top:a+i.bottom-n;return{left:Math.max(0,Math.round(l)),top:Math.max(0,Math.round(s))}}(e,n,r,i);a.style.left=t.left+"px",a.style.top=t.top+"px"}};return s(),window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s),kl.set(e,{placeholderId:o,wrapper:a,reposition:s}),this.selectedPlaceholders&&delete this.selectedPlaceholders[o],window.ezstandalone.showAds({id:o,required:!0,sizes:Tl(n,r)}),this.logger.log("game-sdk: banner shown, placeholder",o,i,n+"x"+r),{placeholderId:o}}function Rl(e,t){var n=this,r=kl.get(e);if(!r)return Promise.resolve("replaced");var i=r.placeholderId,o=Date.now()+t;return new Promise((function(t){!function a(){if(kl.get(e)===r){var l=n.selectedPlaceholders?n.selectedPlaceholders[i]:void 0;!0!==l?!1===l||Date.now()>=o?t("unfilled"):setTimeout(a,250):t("filled")}else t("replaced")}()}))}function Ll(e){var t=kl.get(e);if(!t)return!1;kl.delete(e),window.removeEventListener("scroll",t.reposition),window.removeEventListener("resize",t.reposition);try{window.ezstandalone.destroyPlaceholders(t.placeholderId)}catch(e){this.logger.warn("game-sdk: destroyPlaceholders failed",e)}return t.wrapper&&t.wrapper.parentNode&&t.wrapper.parentNode.removeChild(t.wrapper),this.logger.log("game-sdk: banner hidden, placeholder",t.placeholderId),!0}var Dl="ez-rewarded-modal",Nl={width:700,height:420},Ml={width:360,height:300};function jl(){var e=window._ezaq&&window._ezaq.form_factor_id;return 2===e||3===e}function Ul(e){return Ul="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ul(e)}function ql(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fl="ezGameSdk",Hl="adBreakStart",Bl="unfilled",Vl="disabled",Gl="internal";function Wl(e){return new Promise((function(t,n){if(window.ezRewardedAds&&window.ezRewardedAds.ready)t(window.ezRewardedAds);else{window.ezRewardedAds=window.ezRewardedAds||{},window.ezRewardedAds.cmd=window.ezRewardedAds.cmd||[];var r=!1,i=function(e,t){r||(r=!0,clearTimeout(o),e(t))},o=setTimeout((function(){var e=!!document.querySelector('script[src*="ezadloadrewarded"]');i(n,{code:Gl,message:e?"rewarded ads script did not initialize":"rewarded ads script not loaded on this page — ensure ezstandalone.showAds() runs on the parent page"})}),e);window.ezRewardedAds.cmd.push((function(){i(t,window.ezRewardedAds)}))}}))}function Jl(e,t){try{window.__ez&&window.__ez.ce&&"function"==typeof window.__ez.ce.AddPageviewEvent&&window.__ez.ce.AddPageviewEvent(e,t)}catch(e){}}function $l(e){for(var t=document.querySelectorAll("iframe"),n=0;n<t.length;n++)try{if(t[n].contentWindow===e)return t[n]}catch(e){}return null}window._ez=window._ez||{},function(){try{var e="ez_integration_beacon",t=parseInt(localStorage.getItem(e))||0,n=Date.now();n-t>864e5&&((new Image).src="//g.ezoic.net/ezintegration?d="+encodeURIComponent(window.location.hostname)+"&ts="+n,localStorage.setItem(e,n))}catch(e){}}();var Yl={DEBUG:!1,logger:u(!1),_config:{anchorAdPosition:"bottom",disableVideo:!1,disableInterstitial:!1,disableLeftSideRail:!1,disableRightSideRail:!1,disableSidebarFloating:!1,reservePlaceholderSpace:!1,limitCookies:!1,gameSdk:!0,anchorAdExpansion:void 0,vignetteDesktop:void 0,vignetteMobile:void 0,vignetteTablet:void 0},adCheckerInitialized:!1,deviceWidth:0,useHost:!1,scriptsLoaded:!1,standaloneAnalyticsLoaded:!1,hasDisplayedAds:!1,saDebugger:null,saDebuggerOpen:!1,debugData:{apiCalls:[],adReq:{reqSeen:!1,monetizationNotAllowed:!1,errStatusCode:"",noPlaceholdersSelected:!1},wordCount:0},placeholders:[],requiredPlaceholderIds:[],placeholderSizes:{},placeholderFluid:{},queuedPlaceholders:[],videoPlaceholders:[],placements:{},displayCode:{},cmd:void 0===window.ezstandalone?[]:window.ezstandalone.cmd||[],cbs:void 0===window.ezstandalone?[]:window.ezstandalone.cbs||[],initialized:!1,findingPlaceholders:!1,enabled:!1,interstitial_placeholder_id:6,isPWA:0,isSinglePageApplication:!1,isForAll:!1,restrictedDataProcessing:!1,loadingStatus:"",loadMoreStatus:"",callDisplay:!1,templateId:0,templateName:"",collapseEmptyDiv:!1,selectedPlaceholders:{},wc:null,disablePersonalizedStatistics:!1,disablePersonalizedAds:!1,isRefreshing:!1,refreshCalled:!1,isDestroyingSlots:!1,destroyedSlots:0,eventQueue:[],loadingStatusTimeoutEventQueue:[],ltCacheLevel:0,lastUrl:"",bsclid:"",hasBadWords:!1,worstBadWordRank:0,abTest:"",autoRefresh:!1,renewalTimerId:null,RENEWAL_INTERVAL_MS:12e5,allPlaceholdersDestroyedPending:!1,numPlacementGroups:0,numCallbacks:0,targetingMap:{},useEzoicAnchorAd:!0,showAdsTimeout:null,showAdsTimer:null,showAdsCount:0,showAdsNewPageview:!1,urlChangeDetectionDisabled:!1,initialShowAdsBatchTimeout:null,initialShowAdsReadyStateHandler:null,initialLoadStarted:!1,initialLoadInFlight:!1,outstreamAllowed:!0!==window.__ezDisableFloatingOutstream,interstitialAllowed:!0!==window.__ezDisableInterstitial,measurePerformance:void 0!==window.performance&&void 0!==window.performance.now,scriptType:{load:1,loadMore:2,dynamic:3},scriptStart:{1:0,2:0,3:0},analyticsLoaded:{page:!1,display:!1,video:!1,outstream:!1,adsense:!1},manageConsent:!1,thirdPartyConsentAllowAds:!1,consentManager:new v,spaMonitor:null,pageUtil:null,privacyPolicy:null,ezdomain:null,_identityCacheApplied:!1,_fpjsResult:null,_fpjsPromise:null,_gppConsentStatus:null,_legacyUSPConsentStatus:null,_reservePlaceholderSpaceQueryEnabled:!1,_reservePlaceholderSpaceEnabled:!1,flyingCarpetPositions:{},init:function(){var e=this;if(window._ez_sa=!0,this.initialized=!0,this.DEBUG=this.hasQueryParamOrCookie("ez_standalone_debug"),this.logger=u(this.DEBUG),Sr.call(this),at({logger:this.logger}),this.pageUtil=new T(this),this.saDebuggerOpen=this.pageUtil.initSaDebugger(),this.spaMonitor=new L(this),this.spaMonitor.init(),this.privacyPolicy=new F(this.logger),Array.from(document.scripts).some((function(e){return e.src&&e.src.includes("ezoicanalytics.com/analytics.js")})))var t=setInterval((function(){void 0!==window._ezaq&&Object.getOwnPropertyNames(window._ezaq).length>0&&(clearInterval(t),e._continueInit())}),100);else this._continueInit()},_generatePageViewId:Er,_resolvePageViewId:Ir,_waitForPageViewId:Pr,_continueInit:function(){var e=this;this.preloadEzorcaScript(),Ir.call(this)||(this._pageViewId=this._generatePageViewId(),window._ezStandalonePageViewId=this._pageViewId),this.loadFingerprint();var t=this.getEzStandaloneUserCookie();if(""!==t&&this.addAnalytics(t),Array.isArray(this.cmd))for(var n=0;n<this.cmd.length;n++)"function"==typeof this.cmd[n]?this.cmd[n]():window.console.warn("[EzoicAds JS]: Command queued to ezstandalone.cmd is not a function");this.cmd={push:function(e){"function"==typeof e?e():window.console.warn("[EzoicAds JS]: Command queued to ezstandalone.cmd is not a function")}},setInterval((function(){e.processEventQueue()}),500),this.loadIdentityScript(),this.handleManageConsent(),this.listenForGPPConsent(),this.listenForLegacyUSPConsent(),this.privacyPolicy.handle(),this.initGameBridge()},config:function(e){return 0===arguments.length?Object.assign({},this._config):this.updateConfig(e)},updateConfig:function(e){if("object"!==xr(e)||null===e)return this.logger.error("Invalid config options"),this._config;for(var t in e)e.hasOwnProperty(t)&&(this._config.hasOwnProperty(t)?(this._config[t]=e[t],"reservePlaceholderSpace"===t&&Ar(this),this.logger.log("Updated config option: "+t+" to "+e[t])):this.logger.error("Invalid config option: "+t));return this._config},preloadEzorcaScript:function(){if(!window.__ezOrcaPreloaded){window.__ezOrcaPreloaded=!0;var e=document.createElement("link");e.rel="preload",e.as="script",e.href="https://www.ezojs.com/ezoic/ezorca.min.js",document.head.appendChild(e)}},loadIdentityScript:function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://g.ezoic.net",document.head.appendChild(e);var t=document.createElement("script");t.defer=!0,t.src="https://www.ezojs.com/identity.js",document.head.appendChild(t)},handleManageConsent:function(){Array.from(document.scripts).some((function(e){return"https://the.gatekeeperconsent.com/cmp.min.js"===e.src||"https://cmp.gatekeeperconsent.com/min.js"===e.src}))&&(this.manageConsent=!0,this.logger.log("Detected Gatekeeper consent scripts. Managing consent."))},reinitializeGroupVars:function(){this.numPlacementGroups=0,this.displayCode={}},setTemplateInfo:function(e,t){this.templateId=e,this.templateName=t},enable:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"enable";this.logger.log("enable() called with srcFunc: "+e);var t=this;if(1==this.findingPlaceholders)return t.logger.log("findingPlaceholders is true in enable"),void setTimeout((function(){return t.enable()}),50);if(this.enabled)return console.error("[EzoicAds JS]: Enable should only ever be called once."),void t.logger.error("Enable should only ever be called once.");this.enabled=!0,this.clearPlaceholderElems(),this.logger.log("in enable. document readyState: "+document.readyState+", loadingStatus: "+this.loadingStatus);var n="undefined"==typeof _ezaq||0===Object.getOwnPropertyNames(_ezaq).length||!_ezaq.page_view_id;this.initialLoadStarted=!0,this.initialLoadInFlight=!0,this.load(this.placeholders,this.videoPlaceholders,!1,n,e)},setIsPWA:function(){this.isPWA=1},setIsSinglePageApplication:function(e){this.isSinglePageApplication=!!e},setDisableUrlChangeDetection:function(e){this.urlChangeDetectionDisabled=!!e},setCollapseEmptyDiv:function(e){this.collapseEmptyDiv=e},setLTCacheLevel:function(e){this.ltCacheLevel=e},setHasBadWords:function(e){this.hasBadWords=e},setWorstBadWordRank:function(e){this.worstBadWordRank=e},setABTest:function(e){this.abTest=e},setAutoRefresh:function(e){this.autoRefresh=!!e},initRewardedAds:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{anchor:!0,interstitial:!0,video:!0,sideRails:!0},n=void 0===t.anchor||t.anchor,r=void 0===t.interstitial||t.interstitial,i=void 0===t.video||t.video,o=void 0===t.sideRails||t.sideRails;if(this.setEzoicAnchorAd(n),this._config.disableInterstitial=!r,"function"==typeof this.setInterstitialAllowed&&this.setInterstitialAllowed(r,{reason:"rewarded-ads"}),"function"==typeof this.setOutstreamAllowed){var a=this.setOutstreamAllowed(i,{reason:"rewarded-ads"});a&&"function"==typeof a.catch&&a.catch((function(){}))}else window.__ezDisableFloatingOutstream=!i,this.outstreamAllowed=i;this._config.disableLeftSideRail=!o,this._config.disableRightSideRail=!o,Pr.call(this,(function(){e.showAds([12])}))},initScrollRail:function(){return ta(this)},syncScrollRailSlots:function(){return na(this)},destroyScrollRail:function(){return ra(this)},define:function(){this.clear();var e=Cr(arguments);this.appendPlaceholders(e)},defineVideo:function(){this.clearVideo();var e=Tr(arguments);this.appendVideoPlaceholders(e)},definePlacements:function(e){var t=Object.keys(e);this.clear(),this.appendPlaceholders(t),this.placements=e},appendPlaceholders:function(e){for(var t=new Set(this.placeholders),n=0;n<e.length;n++){var r=e[n],i=parseInt(r,10);isNaN(i)?console.warn("[EzoicAds JS]: Placeholder is in incorrect format: ",r):t.add(i)}this.placeholders=Array.from(t),this.placeholders.length>0&&(this.allPlaceholdersDestroyedPending=!1)},appendVideoPlaceholders:function(e){var t=(e=e.map((function(e){return"object"===Lr(e)?e:{divID:e}}))).filter((function(e){return"string"!=typeof e.divID||0===e.divID.length}));t.length>0&&console.warn("[EzoicAds JS]: the following video placeholders don't define divID properly: "+JSON.stringify(t));var n=e.filter((function(e){return null===document.getElementById(e.divID)}));n.length>0&&console.warn("[EzoicAds JS]: the following video placeholders don't exist on the page: "+JSON.stringify(n)),e=e.filter((function(e){return"string"==typeof e.divID&&e.divID.length>0&&null!==document.getElementById(e.divID)})),this.logger.log("appendVideoPlaceholders rawVideoPlaceholders: "+JSON.stringify(e));var r=new Set;this.videoPlaceholders.forEach((function(e){r.add(e.divID)}));for(var i=[],o=0;o<e.length;o++){var a=e[o].divID;r.has(a)?console.warn("[EzoicAds JS]: Placeholder Id "+a+" has already been defined."):(r.add(e[o].divID),i.push(e[o]))}return 0===i.length?(this.logger.warn("No valid placeholders for loadMoreVideo"),null):(this.videoPlaceholders=this.videoPlaceholders.concat(i),i)},findAll:function(){var e=this;if(this.findingPlaceholders=!0,"loading"===document.readyState)return this.initialized=!1,void document.addEventListener("readystatechange",(function(){"loading"!==document.readyState&&e.findAll()}),!1);this.initialized=!0;for(var t="ezoic-pub-ad-placeholder-".length,n=this.getPlaceholderElems(),r=0;r<n.length;r++){var i=n[r],o=parseInt(i.id.substring(t),10);o>=1&&o<=999&&this.placeholders.push(o)}this.findingPlaceholders=!1},getAllAvailablePlaceholdersOnPage:function(){var e=this;if(this.findingPlaceholders=!0,"loading"===document.readyState)return document.addEventListener("readystatechange",(function(){"loading"!==document.readyState&&e.getAllAvailablePlaceholdersOnPage()}),!1),[];for(var t=[],n="ezoic-pub-ad-placeholder-".length,r=this.getPlaceholderElems(),i=0;i<r.length;i++){var o=r[i],a=parseInt(o.id.substring(n),10);a>=1&&a<=999&&t.push(a)}return this.findingPlaceholders=!1,t},clear:function(){this.placeholders=[],this.selectedPlaceholders={}},clearVideo:function(){this.videoPlaceholders=[]},queuePlaceholders:function(e){var t,n;(t=this.queuedPlaceholders).push.apply(t,function(e){if(Array.isArray(e))return Dr(e)}(n=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return Dr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dr(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},dequeuePlaceholders:function(){var e=this.queuedPlaceholders;return this.queuedPlaceholders=[],e},removePlaceholders:function(e){var t=new Set;e.forEach((function(e){t.add(parseInt(e))})),this.placeholders=this.placeholders.filter((function(e){return!t.has(e)}));var n=this;t.forEach((function(e){e in n.selectedPlaceholders&&delete n.selectedPlaceholders[e]})),this.requiredPlaceholderIds=this.requiredPlaceholderIds.filter((function(e){return!t.has(e)})),0!==this.placeholders.length||"undefined"==typeof _ezaq||this.isRefreshing||this.allPlaceholdersDestroyedPending||this._scrollRailRetiring||(this.allPlaceholdersDestroyedPending=!0,this.logger.log("All placeholders destroyed — triggering new pageview"),this.reload("allPlaceholdersDestroyed"))},processPlaceholderItem:function(e,t){if("object"!==Lr(e)||isNaN(e.id))if("number"==typeof e||"string"==typeof e){var n=parseInt(e,10);Number.isInteger(n)?t.push({id:n,required:!1,sizes:[]}):this.logger.warn("Invalid ID: ".concat(e," for showAds() - Skipping"))}else this.logger.warn("Invalid argument: ".concat(e," for showAds() - Skipping"));else e.id=parseInt(e.id,10),t.push(e)},setRequiredPlaceholderIds:function(e){var t=new Set(this.requiredPlaceholderIds);e.forEach((function(e){e.required&&t.add(e.id)})),this.requiredPlaceholderIds=Array.from(t),this.logger.log("Placeholders Required set: ",this.requiredPlaceholderIds)},setPlaceholderSizes:function(e){var t=Or({},this.placeholderSizes);e.forEach((function(e){if(e.sizes){var n=t[e.id]||[];(Array.isArray(e.sizes)?e.sizes:[e.sizes]).forEach((function(e){e&&!n.includes(e)&&n.push(e)})),n.length>0&&(t[e.id]=n)}})),this.placeholderSizes=t,this.logger.log("Placeholder Sizes set: ",this.placeholderSizes)},setPlaceholderFluid:function(e){var t=Or({},this.placeholderFluid),n=!1;e.forEach((function(e){"boolean"==typeof e.fluid&&(t[e.id]=e.fluid,n=!0)})),n&&(this.placeholderFluid=t,this.logger.log("Placeholder fluid overrides set: ",this.placeholderFluid))},getPlaceholderElems:function(){return document.querySelectorAll("[id^=ezoic-pub-ad-placeholder-]")},getPlaceholderIdFromElement:function(e){var t="ezoic-pub-ad-placeholder-".length,n=parseInt(e.id.substring(t),10);return n>=1&&n<=999?n:null},addEzPhIdTags:function(){document.querySelectorAll('div[id^="ezoic-pub-ad-placeholder-"]').forEach((function(e){var t=e.id.match(/ezoic-pub-ad-placeholder-(\d+)/);if(t){var n,r=t[1];if(!(null===(n=e.nextElementSibling)||void 0===n?void 0:n.matches('span[data-ez-ph-id="'.concat(r,'"]')))){var i=document.createElement("span");i.setAttribute("data-ez-ph-id",r),e.parentNode.insertBefore(i,e.nextSibling)}}}))},findUninitializedAdPlaceholders:function(){var e=[];return Array.from(document.querySelectorAll("span.ezoic-ad[id]")).filter((function(e){return 0===e.children.length})).forEach((function(t){for(var n=t.parentElement;n;){var r,i=null===(r=n.id)||void 0===r?void 0:r.match(/^ezoic-pub-ad-placeholder-(\d+)$/);if(i){e.push(Number(i[1]));break}n=n.parentElement}})),e},initializeMissingAdChecker:function(){var e=this;this.adCheckerInitialized||(this.adCheckerInitialized=!0,setInterval((function(){var t=e.findUninitializedAdPlaceholders();t.length>0&&(e.logger.log("[Ezoic Ad Tracker] uninitialized ad(s) found proceeding to refresh them:",t),e.refreshAds(t))}),28e3))},_waitForLoadingStatus:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7e3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,r=0,i=this,o=setInterval((function(){"LOADING"!==i.loadingStatus?(clearInterval(o),e(null)):r>=t&&(clearInterval(o),e(new Error("Timeout"))),r+=n}),n)},display:function(e,t,n){var r=this;if(this.logger.log("Loading status in display() is: ",this.loadingStatus),"LOADING"===this.loadingStatus)return this._waitForLoadingStatus((function(i){if(i)return r.logger.error("Timed out waiting for loadingStatus to change from LOADING"),r.loadingStatusTimeoutEventQueue.push((function(){return r.display(e,t,n)})),!1;r.display(e,t,n)})),!1;if(e>this.numPlacementGroups)return this.logger.warn("Cannot display group id",e,"only",this.numPlacementGroups,"have been loaded"),!1;if(!0===this.collapseEmptyDiv){if(Object.keys(this.selectedPlaceholders).length>0)for(var i in this.selectedPlaceholders)null===(a=document.getElementById("ezoic-pub-ad-placeholder-"+i))?this.logger.error("Could not find element with id: ezoic-pub-ad-placeholder-"+i):a.style.display="inline-block";else this.logger.warn("No placeholders selected to display");if(this.placeholders.length>0)for(var o=0;o<this.placeholders.length;o++){var a,l=!1;for(var i in this.selectedPlaceholders)if(this.placeholders[o]==i){l=!0;break}0==l&&(null===(a=document.getElementById("ezoic-pub-ad-placeholder-"+this.placeholders[o]))?this.logger.error("Could not find element with id: ezoic-pub-ad-placeholder-"+this.placeholders[o]):a.style.display="none")}}if(void 0===e&&(e=0),!this.displayCode.hasOwnProperty(e))return"COMPLETE"!==this.loadingStatus?this.logger.warn("Display called for group "+e+" before load complete: "+this.loadingStatus):0===Object.keys(this.displayCode).length?this.logger.log("No display code loaded - no ads selected"):this.logger.warn("Missing display code for group "+e+". Available: "+Object.keys(this.displayCode).join(", ")),!1;var s=this.displayCode[e];if(s.length>0){if("function"==typeof t){var c="ezsa_cb_"+this.numCallbacks;this.numCallbacks++,this.logger.log("attaching callback to display js using event name: "+c+", groupId "+e),document.addEventListener(c,(function(){googletag.cmd.push(t)})),s+='ezstandalone.fireEvent(document, "'+c+'");'}if(!this.pageUtil.evalScript(s,(function(e){r.logScriptError("displayScript",e)})))return!1;this.displayCode[e]=""}else this.logger.log("No displayCode for: "+n),this.loadMoreStatus="COMPLETE";return this.saDebuggerOpen&&this.pageUtil.checkDebuggerAndRender(),this.hasDisplayedAds=!0,!0},canDisplayMore:function(){return!("complete"!==document.readyState&&"interactive"!==document.readyState||"LOADING"===this.loadMoreStatus||this.isDestroyingSlots||this.isRefreshing)&&this.getPagelevelScriptsLoadedStatus()},displayMore:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"displayMore",n=arguments.length>2?arguments[2]:void 0;if(!this.canDisplayMore())return this.logger.log("Can't run displayMore yet, adding to event queue for placeholders: ".concat(e)),void this.queueEvent(this.loadMore.bind(this,e,t,n));this.loadMore(e,t,n)},displayMoreVideo:function(){var e=Tr(arguments);if(!this.canDisplayMore())return this.logger.log("Adding to load more video queue"),void this.queueEvent(this.loadMoreVideo.bind(this,e));this.loadMoreVideo(e)},showAds:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.logger.log("showAds() called with defined placeholders: ",e);var t=this.showAdsNewPageview;if(this.showAdsNewPageview&&(this.logger.log("showAds() called on a new pageview, clearing placeholders: ",this.placeholders),"function"==typeof this.destroyScrollRail&&this.destroyScrollRail(),this.clear(),this.showAdsNewPageview=!1),e.push.apply(e,Nr(this.dequeuePlaceholders())),this.showAdsCount++,this.isSinglePageApplication&&!this.enabled)return this.logger.log("showAds() called on a SPA, calling refresh()"),this.appendPlaceholders(e),void this.refresh();!this.initialLoadInFlight||"LOADING"!==this.loadingStatus||t?this.enabled||window.ezFinishedStatic?this.displayMore(e,"showAds"):(this.appendPlaceholders(e),this.enable("showAds"),this.display()):this.displayMore(e,"showAdsInitialLoadInFlight")},showAdsWithDebounce:function(e){var t=this;!0===this._reservePlaceholderSpaceEnabled&&function(e){"undefined"!=typeof document&&"function"==typeof document.getElementById&&Array.isArray(e)&&e.forEach((function(e){if(e&&Number.isInteger(e.id)){var t=document.getElementById("ezoic-pub-ad-placeholder-"+e.id);if(t&&t.style){var n=0,r=0;(Array.isArray(e.sizes)?e.sizes:[]).forEach((function(e){var t=function(e){if("string"!=typeof e)return null;var t=e.match(/^(\d+)x(\d+)$/);return t?{width:parseInt(t[1],10),height:parseInt(t[2],10)}:null}(e);t&&(n=Math.max(n,t.height),r=Math.max(r,t.width))})),Ur(t,"minHeight",n||280),Ur(t,"minWidth",r),t.style.display||(t.style.display="block"),t.style.textAlign||(t.style.textAlign="center")}}}))}(e),this.setRequiredPlaceholderIds(e),this.setPlaceholderSizes(e),this.setPlaceholderFluid(e);var n=e.map((function(e){return e.id}));if(this.queuePlaceholders(n),function(e){return!e.enabled&&!e.initialLoadStarted&&"undefined"!=typeof document&&"loading"===document.readyState}(this))!function(e){e.initialShowAdsBatchTimeout||(e.initialShowAdsReadyStateHandler=function(){"loading"!==document.readyState&&qr(e)},document.addEventListener("readystatechange",e.initialShowAdsReadyStateHandler,!1),e.initialShowAdsBatchTimeout=setTimeout((function(){qr(e)}),500))}(this);else{var r=[200,400,800],i=r[this.showAdsCount>r.length-1?r.length-1:this.showAdsCount];this.showAdsTimeout&&clearTimeout(this.showAdsTimeout),this.showAdsTimeout=setTimeout((function(){t.showAds(),t.showAdsTimeout=null}),i)}},addSelectedPlaceholders:function(e){for(var t in e)this.selectedPlaceholders[t]=e[t],e[t]||this.collapseQubitWrapper(parseInt(t,10))},collapseQubitWrapper:function(e){var t=document.getElementById("ezoic-pub-ad-placeholder-"+e);if(t&&"qubit"===t.getAttribute("data-creator")){var n=t.closest(".ezoic-ad-wrapper");n?n.style.display="none":t.style.display="none"}},collapseQubitWrappers:function(e){for(var t=0;t<e.length;t++)this.collapseQubitWrapper(e[t])},setTargeting:function(e,t){"string"==typeof t||"number"==typeof t?("number"==typeof t&&(t=t.toString()),this.targetingMap[e]=t):this.logger.warn("Only strings and numbers are allowed as values for targeting")},setEzoicAnchorAd:function(e){this.useEzoicAnchorAd=!!e},removeTargeting:function(e){delete this.targetingMap[e]},setTargetingMap:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)this.setTargeting(t[n],e[t[n]])},load:function(e,t,n,r,i){this.logger.log("load() called with defined placeholderIds: ",e),this.loadingStatus="LOADING",this.lastUrl=window.location.href.split("#")[0];var o=this,a=new Promise((function(e){setTimeout((function(){e(null)}),400)}));Promise.race([o.loadFingerprint(),a]).then((function(a){o._doLoad(e,t,n,r,i,a)})).catch((function(){o._doLoad(e,t,n,r,i,null)}))},_doLoad:function(e,t,n,r,i,o){var a=this,l=a.generateStandaloneScriptURL(a.scriptType.load);Qa(a);var s=a.applyLocalIdentity(),c=a.generateStandaloneContext(e,t,a.scriptType.load,a.numPlacementGroups,r,o),d=a.pageUtil.gatherPageData(),u=Ja(Ja({},c),{},{pd:d,sf:i,idp:window.ezOrca&&window.ezOrca.getIdentityProviders?window.ezOrca.getIdentityProviders():{}});s&&(u.idgraph_cached=!0);var f=function(){a.loadingStatus="COMPLETE",a.isRefreshing=!1,a.initialLoadInFlight=!1,a.allPlaceholdersDestroyedPending=!1,a.schedulePageviewRenewal()};this.sendRequest(l,JSON.stringify(u),(function(t){if(a.saDebuggerOpen&&(a.debugData.adReq.reqSeen=!0),t.status>=400)return console.error("[EzoicAds JS]: bad response. Status; ".concat(t.status," Response: ").concat(t.responseText)),a.logger.error("bad response. Status; ".concat(t.status," Response: ").concat(t.responseText)),a.saDebuggerOpen&&a.pageUtil.updateAdReqDebugInfo(t),a.collapseQubitWrappers(e),void f();if(a.pageUtil.evalScript(t.response,(function(e){a.logScriptError("load resp",e),a.isRefreshing=!1,a.schedulePageviewRenewal()}))){if(r){var i;if("function"==typeof window.epbjsRefreshRouteConfig)try{window.epbjsRefreshRouteConfig()}catch(e){a.logger.warn("failed to refresh Prebid route config for new pageview")}if("function"==typeof(null===(i=window.epbjs)||void 0===i?void 0:i.refreshPageViewId))try{window.epbjs.refreshPageViewId()}catch(e){a.logger.warn("failed to refresh Prebid page view id for new pageview")}}if(a.isRefreshing=!1,a.allPlaceholdersDestroyedPending=!1,a.schedulePageviewRenewal(),a._identityCacheApplied||a.applyLocalIdentity(),a.manageConsent&&dl())a.logger.log("handling standalone consent"),el(a),Za(a).then((function(){il(a,n,r)}));else{if(!dl())return a.manageConsent&&"undefined"!=typeof gtag&>ag("consent","update",{analytics_storage:"granted",ad_storage:"granted",ad_user_data:"granted",ad_personalization:"granted"}),a.thirdPartyConsentAllowAds=!0,void il(a,n,r);(o=ul(a),l=o&&"number"==typeof o.timeoutMs?o.timeoutMs:750,ui(ni,l).then((function(e){return e||function(e,t){var n=di(e);return 0===n.length?Promise.resolve(null):n.reduce((function(e,n){return e.then((function(e){return e||ui(n,t)}))}),Promise.resolve(null))}(o,l)}))).then(function(){var e,t=(e=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=3;break}return rl(a,n,r),e.abrupt("return");case 3:return e.next=5,nl(a,t,n,r);case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Ga(o,r,i,a,l,"next",e)}function l(e){Ga(o,r,i,a,l,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()).catch((function(){rl(a,n,r)}))}return a.numPlacementGroups}var o,l;f()}),null,!0),a.measurePerformance&&(a.scriptStart[a.scriptType.load]=performance.now())},loadMore:function(e,t,n){this.logger.log("Load More Standalone Script Called"),this.logger.log("loadmore rawPlaceholderIds: "+JSON.stringify(e));var r=new Set;this.placeholders.forEach((function(e){r.add(e)})),Object.keys(this.selectedPlaceholders).forEach((function(e){r.add(parseInt(e,10))}));for(var i=[],o=[],a=0;a<e.length;a++){var l=parseInt(e[a],10);if(r.has(l)){var s=document.getElementById("ezoic-pub-ad-placeholder-"+l);s&&""!==s.innerHTML.trim()?(console.warn("[EzoicAds JS]: Placeholder Id "+l+" has already been defined."),this.logger.warn("Placeholder Id "+l+" has already been defined.")):(o.push(l),i.push(l))}else i.push(l)}if(o.length>0){var c=cl(this,o),d=new Set(o.filter((function(e){return!c.has(e)})));d.size>0&&(i=i.filter((function(e){return!d.has(e)}))),this.placeholders=this.placeholders.filter((function(e){return!c.has(e)}));for(var u=0;u<o.length;u++)c.has(o[u])&&delete this.selectedPlaceholders[o[u]]}if(0!==i.length){this.loadingStatus="LOADING",this.loadMoreStatus="LOADING";var f=this,p=n&&n.scrollRailProfileRequest?n.scrollRailProfileRequest:null;p&&function(e,t){Zo(e,t)&&(e._scrollRailProfileState.loadMoreRequestState="in_flight")}(f,p);var h=function(){window.__ez&&(window.__ez.scrollRailProfileResponse=null)},g=function(e){return!p||ea(f,e,p)},m=function(){f.isRefreshing=!1,f.loadMoreStatus="COMPLETE",f.loadingStatus="COMPLETE"},v=function(){return!(!p||Zo(f,p)||(function(e){var t=e&&e._scrollRailProfileState;return!t||!0!==t.requested||"in_flight"!==t.loadMoreRequestState}(f)&&(m(),"function"==typeof f.processEventQueue&&f.processEventQueue()),0))},y="";Qa(f);try{y=f.generateStandaloneScriptURL(f.scriptType.loadMore),p&&h();var w=f.generateStandaloneContext(i,[],f.scriptType.loadMore,f.numPlacementGroups,!1);f._identityCacheApplied||f.applyLocalIdentity();var b=Ja(Ja({},w),{},{pd:{cookies:this._config.limitCookies?_():document.cookie},sf:t});p&&"string"==typeof p.scrollRailProfile&&(b.scrollRailProfile=p.scrollRailProfile),f._identityCacheApplied&&(b.idgraph_cached=!0),this.sendRequest(y,JSON.stringify(b),(function(e){var t;if(!v()){if(f.saDebuggerOpen&&(f.debugData.adReq.reqSeen=!0),e.status>=400)return console.error("[EzoicAds JS]: bad response. Status; ".concat(e.status," Response: ").concat(e.responseText)),f.logger.error("bad response. Status; ".concat(e.status," Response: ").concat(e.responseText)),f.saDebuggerOpen&&f.pageUtil.updateAdReqDebugInfo(e),f.collapseQubitWrappers(i),g(null),void m();var n=window._ezbsads;if(p&&function(e){var t=e&&e._scrollRailProfileState;if(!t||!0!==t.requested)return!1;if(e._scrollRailState&&e._scrollRailState.initialized)return na(e),!0;if("undefined"==typeof document||!document.body)return!1;var n=Fo(t);if(0===n.length)return!1;var r=function(e,t){var n=e&&e.profileDecision?e.profileDecision.profile:null;return Object.assign({},e.config,{placeholders:t.slice(),sizes:n&&Array.isArray(n.allowedSizes)?n.allowedSizes.slice():e.config.sizes.slice(),maxSlots:t.length,railWidth:n?Number(n.width):e.config.railWidth})}(t,n),i=wo(r,Gi(r)?null:So(t.profileDecision.railRect));i.setAttribute("data-ez-scroll-rail-profile-staging","true");for(var o=0;o<n.length;o++){var a=Do(r,n[o]);a.parentNode!==i&&i.appendChild(a)}e._scrollRailProfileStaging={container:i}}(f),!f.pageUtil.evalScript(e.response,(function(e){f.logScriptError("loadMore resp",e)})))return g(null),void m();Br(n,window._ezbsads,Hr(window));var r=window.__ez&&window.__ez.scrollRailProfileResponse?window.__ez.scrollRailProfileResponse:null;if(p&&h(),g(r)){var o=i,a=p&&r&&Array.isArray(r.scrollRailSelectedPlaceholders)&&r.scrollRailSelectedPlaceholders.length>0,l=null,s=null;a&&(o=r.scrollRailSelectedPlaceholders.slice(),l=new Set(r.scrollRailSelectedPlaceholders.map((function(e){return parseInt(e,10)}))),s=new Set(p.placeholders.map((function(e){return parseInt(e,10)})))),a&&function(e,t){"undefined"!=typeof window&&window.ezSelectedPlaceholdersMap&&"object"===Ya(window.ezSelectedPlaceholdersMap)&&Object.keys(window.ezSelectedPlaceholdersMap).forEach((function(n){var r=parseInt(n,10);e.has(r)&&!t.has(r)&&delete window.ezSelectedPlaceholdersMap[n]}))}(s,l),(t=f.placeholders).push.apply(t,Ba(o)),f.onStandaloneLoadEvent(f.scriptType.loadMore,!0,!0,f.numPlacementGroups,!1),a&&(f.placeholders=f.placeholders.filter((function(e){var t=parseInt(e,10);return!s.has(t)||l.has(t)})),Object.keys(f.selectedPlaceholders).forEach((function(e){var t=parseInt(e,10);s.has(t)&&!l.has(t)&&delete f.selectedPlaceholders[e]})))}else m()}}),(function(){v()||(g(null),m())}),!0),f.measurePerformance&&(f.scriptStart[f.scriptType.loadMore]=performance.now())}catch(e){console.error("[EzoicAds JS]: loadMore failed before request",e),f.logger.error("[EzoicAds JS]: loadMore failed before request: "+(e&&e.message?e.message:String(e))),g(null),m()}}else this.logger.error("No valid placeholders for loadMore")},loadMoreVideo:function(e){this.logger.log("Load More Video Standalone Script Called");var t=this.appendVideoPlaceholders(e);if(t){this.loadingVideoStatus="LOADING",this.loadMoreVideoStatus="LOADING";var n=this,r=n.generateStandaloneScriptURL(n.scriptType.loadMore),i=n.generateStandaloneContext([],t,n.scriptType.loadMore,n.numPlacementGroups,!1);n._identityCacheApplied||n.applyLocalIdentity(),n._identityCacheApplied&&(i.idgraph_cached=!0);var o=JSON.stringify(i),a=function(){n.isRefreshing=!1,n.loadMoreVideoStatus="COMPLETE",n.loadingVideoStatus="COMPLETE"};this.sendRequest(r,o,(function(e){var r,i=window._ezbsads;n.pageUtil.evalScript(e.response,(function(e){n.logScriptError("loadMoreVideo resp",e)}))?(Br(i,window._ezbsads,Hr(window)),a(),(r=n.videoPlaceholders).push.apply(r,Ba(t)),n.onStandaloneLoadEvent(n.scriptType.loadMoreVideo,!1,!0,n.numPlacementGroups,!1,null)):a()}),(function(){a()}),!0),n.measurePerformance&&(n.scriptStart[n.scriptType.loadMoreVideo]=performance.now())}else this.logger.log("No valid placeholders for loadMoreVideo")},sendRequest:function(e,t,n,r,i){var o=new XMLHttpRequest;o.open("POST",e,i),o.setRequestHeader("Content-Type","text/plain"),o.withCredentials=!0,o.onload=function(){n(o)};var a=this;o.onerror="function"==typeof r?r.bind(this,o):function(){a.isRefreshing=!1,a.schedulePageviewRenewal()},o.send(t)},sendRequestAsync:function(e,t){return new Promise((function(n,r){var i=new XMLHttpRequest;i.open("POST",e,!0),i.setRequestHeader("Content-Type","text/plain"),i.withCredentials=!0,i.onload=function(){n(i)},i.onerror=function(){r(i)},i.send(t)}))},generateStandaloneScriptURL:function(e){var t=window.location.host;!1===this.useHost&&(t="g.ezoic.net");var n=this.getQueryParam("ez_standalone_dynamic");null!==n&&1==n&&(e=this.scriptType.dynamic);var r="//"+t;return e===this.scriptType.load?r+="/sa.go":e===this.scriptType.loadMore?r+="/samo.go":e===this.scriptType.dynamic&&(r+="/sadynamic.go"),r},generateStandaloneContext:function(e,t,n,r,i,o){var a={sv:{},asl:{}};a.url=this.appendBsclidToUrl(window.location.href.split("#")[0]),a.wc=this.getWC(i),this.saDebuggerOpen&&(this.debugData.wordCount=a.wc),a.dbg=this.saDebuggerOpen,a.ez_pwa=this.isPWA,a.sal=this.getStandaloneAnalyticsLoadedStatus(),a.dps=this.disablePersonalizedStatistics,a.dpa=this.disablePersonalizedAds,a.group=r,a.t=this.targetingMap,a.a=this.useEzoicAnchorAd,a.ap=this._config.anchorAdPosition,a.ae=this.pageUtil.anchorAdExists(),a.mc=this.manageConsent,a.dv=this._config.disableVideo,a.di=this._config.disableInterstitial,a.drr=this._config.disableRightSideRail,a.dlr=this._config.disableLeftSideRail,a.dsf=this._config.disableSidebarFloating,a.dw=this.getDeviceWidth(),a.dh=this.getDeviceHeight(),a.vpw=this.getViewportWidth(),a.vph=this.getViewportHeight(),a.doch=this.getDocHeight(),a.fp=this.collectFingerprint(o),a.ezoid=this.getCookie("ezoid")||"",a.cid=window.ez__clusterId||"",a.fs_seed=Ha(),void 0!==this._config.vignetteDesktop&&(!0!==this._config.vignetteDesktop&&!1!==this._config.vignetteDesktop||(a.vd=this._config.vignetteDesktop)),void 0!==this._config.vignetteMobile&&(!0!==this._config.vignetteMobile&&!1!==this._config.vignetteMobile||(a.vm=this._config.vignetteMobile)),void 0!==this._config.vignetteTablet&&(!0!==this._config.vignetteTablet&&!1!==this._config.vignetteTablet||(a.vt=this._config.vignetteTablet)),void 0!==this._config.anchorAdExpansion&&(!0===this._config.anchorAdExpansion||!1===this._config.anchorAdExpansion?a.aae=this._config.anchorAdExpansion:console.error("[EzoicAds JS]: anchorAdExpansion must be a boolean value.")),a.b=!1,e.length>0&&(a.d=e,a.rid=this.requiredPlaceholderIds,a.ps=this.placeholderSizes,this.placeholderFluid&&Object.keys(this.placeholderFluid).length>0&&(a.pfl=this.placeholderFluid)),t.length>0&&(a.o=t),a.fa=this.isForAll,a.uh=this.useHost,a.rdp=this.restrictedDataProcessing,""===this.abTest&&"undefined"!=typeof _ezaq&&_ezaq.hasOwnProperty("domain_id")&&(this.abTest=this.getCookie("ezoab_"+_ezaq.domain_id)),a.abt=this.abTest;var l=this.getQueryParam("ez_force_pos");if(null!==l&&/^\d+$/.test(l)){var s=parseInt(l,10);a.efp=s}var c=this.getQueryParam("ez_force_size");null!==c&&(a.efs=c);var d=this.getQueryParam("ez_force_flying_carpet");if(null!==d&&(a.effc=!0,/^\d+$/.test(d))){var u=parseInt(d,10);u>1&&(a.effcp=u)}var f=this.getQueryParam("ez_force_flying_carpet_position");if(null!==f&&/^\d+$/.test(f)){var p=parseInt(f,10);p>0&&(a.effcp=p)}if(!0!==a.effc){var h=function(e,t,n){if(!t||!e||0===e.length)return null;n=n||{log:function(){},warn:function(){},error:function(){}};for(var r=null,i=!1,o=0;o<e.length;o++){var a=parseInt(e[o],10);isNaN(a)||t[a]&&(null===r?r=a:i=!0)}return null!==r&&i&&n.warn("showAds: multiple flyingCarpet placements in one ad request — honoring placeholder "+r+" and ignoring the rest"),r}(e,this.flyingCarpetPositions,this.logger);null!==h&&(a.effc=!0,a.effcp=h)}if(this.templateId>0&&""!==this.templateName&&(a.tid=this.templateId,a.tname=this.templateName),i?(a.ltcl=this.ltCacheLevel,a.bw=this.hasBadWords,a.wbr=this.worstBadWordRank,a.npv=!0,a.pid=this._pageViewId):a.pid=_ezaq.page_view_id,a.ref=function(){var e="";try{e=document.referrer||""}catch(t){e=""}var t="";try{t=(window.location&&window.location.hostname||"").toLowerCase()}catch(e){t=""}if(!P(e,t))return e;var n=function(){try{var e=document.cookie.match(new RegExp("(?:^|;\\s*)ezrefcap=([^;]+)"));if(e&&e[1])return decodeURIComponent(e[1])}catch(e){}return""}();return n&&!P(n,t)?n:e}(),this.hasQueryParamOrCookie("ezvideomagic")&&(a.vm+="&fvm=1"),n===this.scriptType.loadMore){var g=[];if(0===Object.keys(this.selectedPlaceholders).length&&void 0!==window.ezOrca&&window.ezOrca.slotsRegistered){this.logger.log("scriptType is 'loadMore': making all ezOrca slot placeholders: true");var m=window.ezOrca.slotsRegistered;for(var v in m){var y=m[v];if(void 0!==y&&"function"==typeof y.getTargeting){var w=y.getTargeting("ap");if(""!==w&&void 0!==w){var b=parseInt(w)%1e3;this.selectedPlaceholders[b]=!0,g.push(b)}}else this.logger.error("[Orca] slot for placeholder id "+v+" does not exist or does not have getTargeting function")}}else for(var b in this.selectedPlaceholders)!0===this.selectedPlaceholders[b]&&g.push(parseInt(b));a.dc=g}this.destroyedSlots>0&&(a.ds=this.destroyedSlots),a.msn=this.getMaxSlotNumber(),a.mt={},Array.from(document.getElementsByTagName("meta")).forEach((function(e){var t=e.getAttribute("name")||e.getAttribute("property"),n=e.getAttribute("content");n||(n=""),t&&(a.mt[t]=n)}));var _=this.getCurrentAdUnits();if(this.logger.log("current ad units: ",_),null!==_){var x={},z={};_.forEach((function(e){return x[e]=!0})),_.forEach((function(e){void 0===z[e]&&(z[e]=0),z[e]++})),a.sv.cau=x,a.sv.cauc=z;var A=Object.keys(_).length;a.msn<A-1&&(a.msn=A-1)}this.updateAllScriptsStatus(),a.asl=this.analyticsLoaded;var S=!!document.querySelector('script[src*="open.video/video.js"]')||!!document.querySelector('script[src*="humix.com/video.js"]');return(window.humixPlayers||S)&&(this.logger.log("found humix embeds"),a.hmxe=!0),a},onStandaloneLoadEvent:function(e,t,n,r,i){var o=this,a=this.getQueryParam("ez_standalone_dynamic");if(null!==a&&1==a&&(e=o.scriptType.dynamic),"loading"===document.readyState)return o.logger.log("adding display to event listener"),document.addEventListener("readystatechange",(function a(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",a,!1),o.onStandaloneLoadEvent(e,t,n,r,i))}),!1),!1;if(e===o.scriptType.dynamic&&o.addEzPhIdTags(),o.logger.log("in onStandaloneLoadEvent. scriptType: "+e+" callDisplay: "+t+" groupId: "+r+" newPageview: "+i),o.measurePerformance){var l=Math.round(performance.now()-o.scriptStart[e]);o.logger.log("performance measure in onStandaloneLoadEvent: loading complete for scriptType: "+e+". Took: "+l+"ms"),e===o.scriptType.load&&"undefined"!=typeof _ezaq&&_ezaq.hasOwnProperty("page_view_id")&&"undefined"!=typeof __ez&&void 0!==__ez.bit&&__ez.bit.Add(_ezaq.page_view_id,[new __ezDotData("standalone_load_time",l)])}if(o.pageUtil.updateCookies(window.ezStandaloneCookies),"undefined"!=typeof ezStandaloneDisplay&&(o.displayCode[r]=window.ezStandaloneDisplay),"undefined"!=typeof ezCoreJS){this.logger.log("onStandaloneLoadEvent: calling core js (window.ezCoreJS)");var s=ezCoreJS;if(!o.pageUtil.evalScript(s,(function(e){o.logScriptError("coreJS",e)})))return ol(o,e),o.logger.warn("onStandaloneLoadEvent: failed ezCoreJS, made loadingStatus complete"),!1;"undefined"!=typeof ezDisableAutoAnchorHTML&&ezDisableAutoAnchorHTML&&!document.getElementById("inhibads_top")&&document.body&&document.body.insertAdjacentHTML("afterbegin",ezDisableAutoAnchorHTML)}else if(n){this.logger.log("onStandaloneLoadEvent: calling define script (window.ezStandaloneDefine)");var c=window.ezStandaloneDefine;if(!o.pageUtil.evalScript(c,(function(e){o.logScriptError("defineScript",e)})))return ol(o,e),o.logger.warn("onStandaloneLoadEvent: failed defineScript, made loadingStatus complete"),!1;"undefined"!=typeof ezDisableAutoAnchorHTML&&ezDisableAutoAnchorHTML&&!document.getElementById("inhibads_top")&&document.body&&document.body.insertAdjacentHTML("afterbegin",ezDisableAutoAnchorHTML)}if("undefined"!=typeof ezDynamicScript){this.logger.log("onStandaloneLoadEvent: calling ezDynamicScript (window.ezDynamicScript)");var d=ezDynamicScript.match(/<script[^>]*>([\s\S]*?)<\/script>/)[1];if(!o.pageUtil.evalScript(d,(function(e){o.logScriptError("dynamicJs",e)})))return ol(o,e),o.logger.warn("onStandaloneLoadEvent: failed ezDynamicScript, made loadingStatus complete"),!1}if("undefined"!=typeof ezaqJS&&(this.logger.log("onStandaloneLoadEvent: calling ezaq js (window.ezaqJS)"),!o.pageUtil.evalScript(ezaqJS,(function(e){o.logScriptError("ezaqJS",e)}))))return ol(o,e),o.logger.warn("onStandaloneLoadEvent: failed ezaqJS, made loadingStatus complete"),!1;if("undefined"!=typeof ezVideoJS&&(this.logger.log("onStandaloneLoadEvent: calling core js (window.ezVideoJS)"),!o.pageUtil.evalScript(ezVideoJS,(function(e){o.logScriptError("ezVideoJS",e)}))))return ol(o,e),o.logger.warn("onStandaloneLoadEvent: failed ezVideoJS, made loadingStatus complete"),!1;if(void 0!==window.ezSelectedPlaceholdersMap&&o.addSelectedPlaceholders(window.ezSelectedPlaceholdersMap),ta(o),"undefined"!=typeof ezHtmlAddJS&&(this.logger.log("onStandaloneLoadEvent: calling core js (window.ezHtmlAddJS)"),!o.pageUtil.evalScript(ezHtmlAddJS,(function(e){o.logScriptError("ezHtmlAddJS",e)}))))return ol(o,e),o.logger.warn("onStandaloneLoadEvent: failed ezHtmlAddJS, made loadingStatus complete"),!1;if(ol(o,e),o.logger.log("onStandaloneLoadEvent: made loadingStatus complete"),ta(o),na(o),!0!==t&&!0!==o.callDisplay||(this.logger.log("onStandaloneLoadEvent: calling display()"),e===o.scriptType.load&&(o.callDisplay=!1,o.isRefreshing=!1),o.display(r,(function(){var t;(t=window.__ez&&window.__ez.afw)&&t._affiliateConfig&&(kt(t),_r(t,"placement-attempt",Lt(t._affiliateConfig)),Tt(t._affiliateConfig)&&Ot(t)),e===o.scriptType.loadMore&&(o.logger.log("Setting load more status to complete"),o.loadMoreStatus="COMPLETE")}),e)),e===o.scriptType.load&&at({logger:o.logger}),e===o.scriptType.load&&o.isForAll&&o.addCacheToEzaq(),o.cbs.length>0)for(var u=0;u<o.cbs.length;u++)"function"==typeof o.cbs[u]&&o.cbs[u]();o.cbs={push:function(e){e()}}},addCacheToEzaq:function(){if(void 0!==window._ezaq&&void 0!==window.timeCreated){var e=_ezaq.t_epoch-timeCreated;_ezaq.cdn_browser_cache=e>120?1:0}},destroy:function(){this.cancelPageviewRenewal(),this.placeholders=[],this.clearPlaceholderElems()},clearPlaceholderElems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];if(0===e.length)gl(),t=this.getPlaceholderElems();else{this.logger.log("clearing placeholders: "+e.join(","));for(var n=0;n<e.length;n++){var r=e[n],i="ezoic-pub-ad-placeholder-"+r,o=document.getElementById(i);null!==o&&t.push(o)}}for(n=0;n<t.length;n++){var a=this.getPlaceholderIdFromElement(t[n]);if(a&&"undefined"!=typeof ezOrca){var l=ezOrca.getByPlaceholderId(a);l&&ezOrca.destroySlots([l.id])}t[n].innerHTML=""}0===e.length&&"function"==typeof __ez_close_anchor&&__ez_close_anchor()},clearVideoPlaceholderElems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];0===e.length&&(t=this.videoPlaceholders.map((function(e){return e.divID}))),t.forEach((function(e){var t=document.getElementById(e);null!==t&&(t.innerHTML="")}))},destroyAll:function(){var e=this;this.logger.log("destroyAll() called"),"undefined"!=typeof __ez_close_anchor&&__ez_close_anchor(),"undefined"!=typeof __ez_outstream_float_destroy&&__ez_outstream_float_destroy(),window.ezOutstreamPlayer&&window.ezOutstreamPlayer.Destroy&&window.ezOutstreamPlayer.Destroy(),"undefined"!=typeof __ez_close_rail&&(__ez_close_rail("ez-sidebar-wall-left"),__ez_close_rail("ez-sidebar-wall-right"));var t=Object.keys(this.selectedPlaceholders).filter((function(t){return e.selectedPlaceholders[t]})).map((function(e){return parseInt(e)}));this.destroyPlaceholders(t)},destroyPlaceholdersOrca:function(e){for(var t=this,n={},r=[],i=!1,o=[],a=0;a<e.length;a++){var l,s=e[a];if(s in this.selectedPlaceholders)if(s!=this.interstitial_placeholder_id)if(null!==(l=__ez.orca.getByPlaceholderId(s)))if(void 0!==l.id&&null!==l.id){if(n[s]=l.id,l.isAnchor&&(i=!0),"function"==typeof l.getTargeting){var c=parseInt(l.getTargeting("al"))%1e3;38===c&&o.push("ez-rail-close-left"),39===c&&o.push("ez-rail-close-right")}}else this.logger.error("[Orca] slot for placeholder id "+s+" has no id"),r.push(s);else this.logger.error("[Orca] no slot found for placeholder id "+s),r.push(s);else null===(l=__ez.orca.interstitial)||null!=l.placeholderId&&l.placeholderId!=s||(n[s]=l.id);else t.logger.error("ID not in selected placeholders",s),r.push(s)}for(r.length>0&&(t.logger.warn("Removing only placeholders: ",JSON.stringify(r)),t.removePlaceholders(r)),this.isDestroyingSlots=!0,__ez.orca.destroySlots(Object.values(n)),Fr(window,Object.values(n)),this.removePlaceholders(e),this.clearPlaceholderElems(e),i&&"function"==typeof __ez_close_anchor&&__ez_close_anchor(),a=0;a<o.length;a++){var d=document.getElementById(o[a]);d&&(d.style.display="none")}this.isDestroyingSlots=!1,this.destroyedSlots+=Object.keys(n).length},destroyPlaceholders:function(){this.logger.log("destroyPlaceholders() called");var e=Cr(arguments);if(e&&0!==e.length)if("undefined"==typeof __ez||void 0===__ez.orca){for(var t=this,n={},r=[],i=[],o=[],a=[],l=0;l<e.length;l++){var s=e[l];if(s in this.selectedPlaceholders){if("undefined"==typeof ez_ad_units)return void this.logger.error("Cannot destroy placeholder if ez_ad_unit not defined");var c=ez_ad_units.filter((function(e){return e.length>=4&&s===e[3]}));0!==c.length?(c.length>1&&this.logger.warn("There are multiple slots for placeholder "+s+", destroying all",s),c.forEach((function(e){var i=e[2];if(void 0===window[i])return t.logger.error("Slot "+i+" is undefined."),void a.push(i);if(r.push(e),s in n)n[s].push(i);else{n[s]=[i];var l=window[i].getSlotElementId();o.push(l)}})),s in n||i.push(s)):(this.logger.warn("There isn't an ad unit for placeholder "+s,s),this.logger.log("ez_ad_units: ",JSON.stringify(ez_ad_units)),i.push(s))}else t.logger.error("ID not in selected placeholders",s),i.push(s)}i.length>0&&(t.logger.warn("Removing only placeholders: ",JSON.stringify(i)),t.removePlaceholders(i)),a.length>0&&(t.logger.warn("Removing undefined slots: ",JSON.stringify(a)),t.removeSlots(a));var d=[];if(Object.keys(n).forEach((function(e){d.push.apply(d,fl(n[e]))})),0!==d.length){t.logger.log("ad units about to be deleted: ",JSON.stringify(r)),this.isDestroyingSlots=!0;var u=d.map((function(e){return window[e]})),f=(r.map((function(e){var t=e[2];return void 0!==window[t]?window[t].getAdUnitPath():""})).filter((function(e){return""!==e})),function(e){if(void 0!==e)return t.logger.error("There was an error destroying slots. ERROR: ",e),void(t.isDestroyingSlots=!1);t.removePlaceholders(Object.keys(n));var i=window.ez_ad_units.length;t.removeSlots(d),void 0!==window._ezim_d&&r.forEach((function(e){e.length>=2&&e[1]in window._ezim_d&&delete window._ezim_d[e[1]]})),Fr(window,o);var a=window.ez_ad_units.length;if(t.logger.log("ezadunits prelen: "+i+" postLen: "+a+" are equal: "+(i===a)),t.clearPlaceholderElems(Object.keys(n)),!googletag.destroySlots(u))return console.error("[EzoicAds JS]: Could not destroy slots "+d.join(",")),void(t.isDestroyingSlots=!1);for(var l=0;l<d.length;l++)delete window[d[l]];t.isDestroyingSlots=!1,t.destroyedSlots+=Object.keys(n).length});f()}else this.logger.error("There aren't any slots to destroy.")}else this.destroyPlaceholdersOrca(e);else this.logger.log("No placeholders provided to destroy. call destroyAll to destroy all placeholders")},destroyVideoPlaceholders:function(){var e=this,t=new Set(arguments),n=this.videoPlaceholders.map((function(e){return e.divID})),r=[];t.forEach((function(t){n.includes(t)?document.getElementById(t)?r.push(t):e.logger.warn("unknown video placeholder element ID"):e.logger.warn("id is not a known video placeholder",t)})),r.length<1||("undefined"!=typeof __ezcnxPlayer&&__ezcnxPlayer&&"function"==typeof __ezcnxPlayer.destroy&&__ezcnxPlayer.destroy(),r.forEach((function(e){document.getElementById(e).innerHTML=""})),this.videoPlaceholders=this.videoPlaceholders.filter((function(e){return!r.includes(e.divID)})))},removeSlots:function(e){var t=this;if(Array.isArray(e)){var n=new Set;e.forEach((function(e){n.add(e)})),window.ez_ad_units=window.ez_ad_units.filter((function(e){return e.length>=3&&!n.has(e[2])||(t.logger.log("removing adUnit from ez_ad_unit: ",JSON.stringify(e)),!1)}))}},addHistoryOverwrites:function(){!function(e,t){var n=e.pushState,r=e.replaceState,i=null,o=function(){null===i&&(i=setTimeout((function(){i=null,t.urlChangeDetectionDisabled||t.newPage()}),1e3))};e.pushState=function(){t.logger.event("in history push state");var r=n.apply(e,arguments);return o(),r},e.replaceState=function(){t.logger.event("in history replace state");var n=r.apply(e,arguments);return o(),n},window.addEventListener("popstate",(function(){t.logger.event("in popstate"),o()})),void 0!==window.navigation&&window.navigation.addEventListener("navigatesuccess",(function(){t.logger.event("in navigation event"),o()}))}(window.history,this)},newPage:function(){"undefined"!=typeof _ezaq&&(_ezaq.newPagePending=!0),setTimeout((function(){"undefined"!=typeof _ezaq&&(_ezaq.newPagePending=!1)}),2e3),this.showAdsNewPageview=!0,this.enabled&&(this.isSinglePageApplication&&(this.enabled=!1),this.autoRefresh&&(this.fireEvent(document,"ezPageUnload"),this.clearPlaceholderElems(),this.clearVideoPlaceholderElems(),this.dequeuePlaceholders()))},refresh:function(){if(this.logger.log("Refresh() called with defined placeholders: ",this.placeholders),0===this.placeholders.length&&(console.warn("[EzoicAds JS]: No placeholder Ids are currently defined for Refresh(). If Destroy methods were called previously, please Define() placeholder Ids before calling Refresh()."),this.logger.warn("no placeholders are currently defined in Refresh()")),this.enabled)return console.warn("[EzoicAds JS]: cannot call refresh on the same page enable was called on"),void this.logger.warn("cannot call refresh on the same page enable was called on");this.eventQueue=[],this.isRefreshing||"LOADING"===this.loadingStatus||"LOADING"===this.loadingVideoStatus?this.queueEvent(this.refresh.bind(this)):(this.enabled=!0,this.reload())},reload:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"reload";this.cancelPageviewRenewal(),this.refreshCalled=!0,this.isRefreshing=!0,this.fireEvent(document,"ezPageUnload"),this._pageViewId=this._generatePageViewId(),window._ezStandalonePageViewId=this._pageViewId,"function"==typeof this.destroyScrollRail&&this.destroyScrollRail(),this.clearPlaceholderElems(),this.clearVideoPlaceholderElems(),this.standaloneAnalyticsLoaded=!1,this._fireGPPPageviewEvent(),this.load(this.placeholders,this.videoPlaceholders,!0,!0,e)},schedulePageviewRenewal:function(){if(null!==this.renewalTimerId&&clearTimeout(this.renewalTimerId),0!==this.placeholders.length){var e=this;this.renewalTimerId=setTimeout((function(){e.renewalTimerId=null,0!==e.placeholders.length&&(e.logger.log("Pageview renewal timer fired — triggering reload"),e.reload("pageviewRenewal"))}),this.RENEWAL_INTERVAL_MS)}else this.renewalTimerId=null},cancelPageviewRenewal:function(){null!==this.renewalTimerId&&(clearTimeout(this.renewalTimerId),this.renewalTimerId=null)},refreshAds:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0===e.length)return console.error("[EzoicAds JS]: refreshAds called with no placeholders."),void this.logger.error("refreshAds called with no placeholders.");"undefined"==typeof __ez||void 0===__ez.orca||e.forEach((function(e){__ez.orca.requestBidsAndFetchAds(__ez.orca.getByPlaceholderId(e),!0)}))},getEzOutstreamObject:function(){var e=!!this.restrictedDataProcessing;return new Promise((function(t){var n=function(){if(void 0!==window.__ezOutstream)return t(!0),!0;if(void 0===window._ezaq||0===Object.getOwnPropertyNames(window._ezaq).length)return!1;var n={pageview_id:window._ezaq.page_view_id,pv_ep:window._ezaq.t_epoch};void 0!==window._ezaq&&window._ezaq.hasOwnProperty("url")&&(n.parent_url=window._ezaq.url),"string"==typeof adUnit&&(n.ad_unit=adUnit),void 0!==window.__ezOutstream&&(n.is_first_break=1),n.is_backfill_mode=1,void 0!==window._ezaq&&window._ezaq.hasOwnProperty("ab_test_id")&&(n.mod=window._ezaq.ab_test_id),n.restricted_data_processing=e?1:0;var r=new URL("/ezoic/video/outstream/config.go","https://g.ezoic.net");r.search=new URLSearchParams(n);var i=new XMLHttpRequest;i.open("GET",r.toString(),!1);try{if(i.send(),200!==i.status)return console.error("Error:",i.statusText),t(!1),!0;var o=JSON.parse(i.responseText);return o&&0!==o.length?(window.__ezOutstream=o,t(!0),!0):(console.error("No breaks receieved. Not bidding."),t(!1),!0)}catch(e){return console.error("Error:",e),t(!1),!0}};if(!n())var r=0,i=setInterval((function(){(n()||++r>=10)&&(clearInterval(i),r>=10&&(console.warn("Timed out waiting for _ezaq variable"),t(!1)))}),Math.min(100*Math.pow(1.5,r),2e3))}))},getEzInstreamObject:function(){var e=!!this.restrictedDataProcessing;return new Promise((function(t){var n=function(){if("undefined"!=typeof __ezInstream)return t(!0),!0;if("undefined"==typeof _ezaq||0===Object.getOwnPropertyNames(_ezaq).length)return!1;var n={pageview_id:_ezaq.page_view_id,pv_ep:_ezaq.t_epoch};"undefined"!=typeof _ezaq&&_ezaq.hasOwnProperty("url")&&(n.parent_url=_ezaq.url),n.is_backfill_mode=1,"undefined"!=typeof _ezaq&&_ezaq.hasOwnProperty("ab_test_id")&&(n.mod=_ezaq.ab_test_id),n.restricted_data_processing=e?1:0;var r=new URL("/ezoic/video/instream/config.go","https://g.ezoic.net");r.search=new URLSearchParams(n);var i=new XMLHttpRequest;i.open("GET",r.toString(),!1);try{if(i.send(),200!==i.status)return console.error("Error:",i.statusText),t(!1),!0;var o=JSON.parse(i.responseText);return o&&0!==o.length?(window.__ezInstream=o,t(!0),!0):(console.error("No breaks receieved. Not bidding."),t(!1),!0)}catch(e){return console.error("Error:",e),t(!1),!0}};if(!n())var r=0,i=setInterval((function(){(n()||++r>=10)&&(clearInterval(i),r>=10&&(console.warn("Timed out waiting for _ezaq variable"),t(!1)))}),Math.min(100*Math.pow(1.5,r),2e3))}))},getBackfillVAST:function(e){return new Promise((function(t){var n=function(){return!("undefined"==typeof _ezaq||0===Object.getOwnPropertyNames(_ezaq).length||!window.__ez||"function"!=typeof window.__ez.runEzoicVideoAuction||!("object"==ml(window.__ezOutstream)&&e.plcmt>=3||"object"==ml(window.__ezInstream)&&e.plcmt<3)||(e.hasOwnProperty("minLength")||(e.minLength=5),e.hasOwnProperty("maxLength")||(e.maxLength=30),window.__ez.runEzoicVideoAuction(e).then((function(e){return t(e)})).catch((function(e){console.error("Error running video auction:",e),t(null)})),0))};if(!n())var r=0,i=setInterval((function(){(n()||++r>=12)&&(clearInterval(i),r>=12&&(console.warn("Timed out waiting for _ezaq and other variables"),t(null)))}),Math.min(100*Math.pow(1.5,r),2500))}))},setOutstreamAllowed:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Boolean(e);return this.outstreamAllowed=n,window.ezOutstreamPlayer&&"function"==typeof window.ezOutstreamPlayer.SetAllowed?window.ezOutstreamPlayer.SetAllowed(n,t):(window.__ezDisableFloatingOutstream=!n,Promise.resolve(n))},isOutstreamAllowed:function(){return window.ezOutstreamPlayer&&"function"==typeof window.ezOutstreamPlayer.IsAllowed?window.ezOutstreamPlayer.IsAllowed():"boolean"==typeof window.__ezDisableFloatingOutstream?!0!==window.__ezDisableFloatingOutstream:"boolean"==typeof this.outstreamAllowed?this.outstreamAllowed:!0!==window.__ezDisableFloatingOutstream},setInterstitialAllowed:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Boolean(e);this.interstitialAllowed=i,this._config=this._config||{},this._config.disableInterstitial=!i;var o=Il();if(o&&"function"==typeof o.setInterstitialAllowed)return o.setInterstitialAllowed(i,r);window.__ezDisableInterstitial=!i,Pl(this,!i);var a=null===(t=window.__ez)||void 0===t||null===(n=t.fads)||void 0===n?void 0:n.hbVignette;return!i&&a&&"function"==typeof a.destroyInterstitial&&a.destroyInterstitial(),i},isInterstitialAllowed:function(){var e,t=Il();return t&&"function"==typeof t.isInterstitialAllowed?t.isInterstitialAllowed():"boolean"==typeof window.__ezDisableInterstitial?!0!==window.__ezDisableInterstitial:!0!==(null===(e=this._config)||void 0===e?void 0:e.disableInterstitial)&&("boolean"!=typeof this.interstitialAllowed||this.interstitialAllowed)},initGameBridge:function(){if(!window.__ezGameBridgeInstalled){window.__ezGameBridgeInstalled=!0;var e=this,t={source:null,origin:null,frameEl:null,prevInterstitialAllowed:null};window.addEventListener("message",(function(a){var l=a.data;if(l&&"object"===Ul(l)&&1===l.ezGameSdk&&"request"===l.kind&&"string"==typeof l.method)if("handshake"!==l.method){if(t.source&&a.source===t.source&&a.origin===t.origin)switch(l.method){case"commercialBreak":!function(e){var t=e.payload&&"preroll"===e.payload.position?"preroll":"midgame",i=e.payload&&e.payload.format,a="display"===i||"video"===i?i:"auto",l=e.payload&&e.payload.cooldownSec,s="number"==typeof l&&isFinite(l)&&l>=0?Math.min(l,3600):void 0,c=o();Wl(15e3).then((function(i){"function"==typeof i.adBreak?i.adBreak((function(t){t&&t.status?c((function(){return n(e.id,{watched:!!t.watched})})):c((function(){return n(e.id,null,{code:t&&t.code||Bl,message:t&&t.msg||"ad break failed"})}))}),{position:t,format:a,cooldownSec:s,onShowStart:function(){return r(Hl)}}):c((function(){return n(e.id,null,{code:Gl,message:"ad break unit unavailable"})}))})).catch((function(t){c((function(){return n(e.id,null,{code:Gl,message:t&&t.message})}))}))}(l);break;case"rewardedBreak":!function(e){var t=e.payload&&"string"==typeof e.payload.rewardName?e.payload.rewardName:"",i=o();Wl(15e3).then((function(o){o.request((function(a){if(a&&a.status)r(Hl),o.show((function(t){t&&t.status?i((function(){return n(e.id,{rewarded:!!t.reward})})):i((function(){return n(e.id,null,{code:Gl,message:t&&t.msg||"rewarded show failed"})}))}),{rewardName:t});else{var l=a&&a.msg||"rewarded request failed",s=-1!==l.indexOf("in progress")?"busy":Bl;i((function(){return n(e.id,null,{code:s,message:l})}))}}),{})})).catch((function(t){i((function(){return n(e.id,null,{code:Gl,message:t&&t.message})}))}))}(l);break;case"showBanner":!function(r){if(t.frameEl&&document.body.contains(t.frameEl)||(t.frameEl=$l(t.source)),t.frameEl){var i=r.payload||{},o="number"==typeof i.width&&i.width>0?Math.floor(i.width):320,a="number"==typeof i.height&&i.height>0?Math.floor(i.height):50;o=Math.min(o,970),a=Math.min(a,250);var l="top"===i.anchor?"top":"bottom";try{var s=Ol.call(e,t.frameEl,{width:o,height:a,anchor:l}),c=t.frameEl;Rl.call(e,c,12e3).then((function(t){if("filled"!==t)return"unfilled"===t&&Ll.call(e,c),void n(r.id,null,{code:Bl,message:"no ad filled the "+o+"x"+a+" banner box on this device"});Jl("game_sdk","banner_show"),n(r.id,{placeholderId:s.placeholderId,filled:!0})}))}catch(t){e.logger.warn("game-sdk: showBanner failed",t),n(r.id,null,{code:Gl,message:String(t&&t.message||t)})}}else n(r.id,null,{code:Gl,message:"game frame element not found"})}(l);break;case"hideBanner":!function(r){try{var i=Ll.call(e,t.frameEl);i&&Jl("game_sdk","banner_hide"),n(r.id,{removed:i})}catch(t){e.logger.warn("game-sdk: hideBanner failed",t),n(r.id,null,{code:Gl,message:String(t&&t.message||t)})}}(l);break;case"gameplayStart":!function(r){null===t.prevInterstitialAllowed&&(t.prevInterstitialAllowed=e.isInterstitialAllowed()),e.setInterstitialAllowed(!1),Jl("game_sdk","gameplay_start"),e.logger.log("game-sdk: gameplay started, interstitials suppressed"),n(r.id,{})}(l);break;case"gameplayStop":!function(r){null!==t.prevInterstitialAllowed&&(e.setInterstitialAllowed(t.prevInterstitialAllowed),t.prevInterstitialAllowed=null),Jl("game_sdk","gameplay_stop"),e.logger.log("game-sdk: gameplay stopped, interstitial state restored"),n(r.id,{})}(l);break;case"hasAdBlock":!function(e){new Promise((function(e){var t=document.createElement("div");t.className="adsbox ad-banner ad-placement textads banner-ads",t.style.cssText="position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;",t.innerHTML=" ",document.body.appendChild(t),setTimeout((function(){var n=0===t.offsetHeight||null===t.offsetParent||"none"===window.getComputedStyle(t).display;t.parentNode&&t.parentNode.removeChild(t),e(n)}),100)})).then((function(t){n(e.id,{adBlock:t})}))}(l);break;default:n(l.id,null,{code:Gl,message:"unknown method: "+l.method})}}else!function(r,o){if(e._config&&!1===e._config.gameSdk)i(r,o,Vl,"game sdk disabled by publisher config");else{var a=$l(r.source);if(!a||!a.hasAttribute("data-ez-game"))return e.logger.log("game-sdk: handshake rejected — frame missing data-ez-game attribute",r.origin),void i(r,o,Vl,"game frame not authorized: add the data-ez-game attribute to the game iframe");t.source=r.source,t.origin=r.origin,t.frameEl=a,e.logger.log("game-sdk: handshake from",r.origin),Jl("game_sdk","handshake"),n(o.id,{breakCooldownSec:5})}}(a,l)}))}function n(n,r,i){var o;if(t.source){var a=(ql(o={},Fl,1),ql(o,"kind","response"),ql(o,"id",n),ql(o,"payload",r||{}),o);i&&(a.error=i);try{t.source.postMessage(a,t.origin)}catch(t){e.logger.warn("game-sdk: postMessage reply failed",t)}}}function r(n,r){if(t.source)try{var i;t.source.postMessage((ql(i={},Fl,1),ql(i,"kind","event"),ql(i,"method",n),ql(i,"payload",r||{}),i),t.origin)}catch(t){e.logger.warn("game-sdk: postMessage event failed",t)}}function i(e,t,n,r){try{var i;e.source.postMessage((ql(i={},Fl,1),ql(i,"kind","response"),ql(i,"id",t.id),ql(i,"payload",{}),ql(i,"error",{code:n,message:r}),i),e.origin)}catch(e){}}function o(){t.frameEl&&document.body.contains(t.frameEl)||(t.frameEl=$l(t.source));var n=null;if(t.frameEl)try{n=function(e){var t=null,n=null,r=document.getElementById(Dl);function i(){if(t){try{t.style.cssText=n}catch(e){}t=null,n=null}}function o(){var o=document.getElementById(Dl);if(o&&o!==r&&"fixed"===o.style.position){if(e&&document.documentElement.contains(e)){var a=e.getBoundingClientRect(),l=jl()?Ml:Nl;a.width<l.width||a.height<l.height||!function(e,t){var n=e.firstElementChild;if(!n||"function"!=typeof n.getBoundingClientRect)return!0;var r=n.getBoundingClientRect();if(!r.width||!r.height)return!0;var i=jl()?96:24;return r.width+16<=t.width&&r.height+i<=t.height}(o,a)?t===o&&i():(t!==o&&(t=o,n=o.style.cssText),o.style.top=a.top+"px",o.style.left=a.left+"px",o.style.width=a.width+"px",o.style.height=a.height+"px",o.style.overflow="hidden",o.style.transform="translateZ(0)")}}else t&&t!==o&&(t=null,n=null)}var a="function"==typeof MutationObserver?new MutationObserver(o):null;a&&(a.observe(document.documentElement,{childList:!0}),document.body&&a.observe(document.body,{childList:!0})),window.addEventListener("scroll",o,!0),window.addEventListener("resize",o),o();var l=!1;function s(){l||(l=!0,clearTimeout(c),a&&a.disconnect(),window.removeEventListener("scroll",o,!0),window.removeEventListener("resize",o),i())}var c=setTimeout(s,3e5);return s}(t.frameEl)}catch(t){e.logger.warn("game-sdk: modal scoping failed",t)}return function(e){if(n){try{n()}catch(e){}n=null}e()}}},isEzoicUser:function(e,t){null==e&&(e=0);var n=this.getEzStandaloneUserCookie(),r=this.getQueryParam("ez_standalone_force");if(null!==r&&("1"===r?n=!0:"0"===r&&(n=!1)),""===n){var i=100*Math.random();n=void 0!==window.ezoicTestActive||e>i,this.addAnalytics(n)}var o="ezstandaloneuser="+n+";path=/;max-age=172800";return document.cookie=o,"function"==typeof t&&t(n),n},getEzStandaloneUserCookie:function(){var e=this.getCookie("ezstandaloneuser");return""!==e&&"string"==typeof e?"true"===e:e},addAnalytics:function(e){if(this.logger.log("addAnalytics isEzoicUser="+e+" called"),!this.getStandaloneAnalyticsLoadedStatus()&&!this.getDisplayScriptsLoadedStatus()){var t=this,n={url:window.location.href.split("#")[0],wc:this.getWC(!0),npv:!0,pid:this._pageViewId,asl:this.analyticsLoaded,orig:!e,pd:this.pageUtil.gatherPageData(),sf:"addAnalytics",rdp:this.restrictedDataProcessing};n.fs_seed=Ha(),this.sendRequest("//g.ezoic.net/saa.go",JSON.stringify(n),(function(n){200===n.status?(eval.call(window,n.response),eval.call(window,ezAnalyticsDefine),t.pageUtil.updateCookies(window.ezStandaloneCookies),t.standaloneAnalyticsLoaded=!0,t.logger.log("analytics isEzoicUser="+e+" added")):t.logger.error("analytics isEzoicUser="+e+" failed")}),null,!1)}},waitForAllTCData:function(){var e=this;return this.logger.log("called waitForAllTCData"),void 0===window.ezCMPQueue||window.__tcfapi?window.__tcfapi?this.waitForTCData():this.waitForTCFAPI().then((function(t){return!!t&&e.waitForTCData()})):new Promise((function(t){var n=e;window.ezCMPQueue.push((function(){t(n.waitForTCData())}))}))},waitForTCFAPI:function(){if(window.__tcfapi)return Promise.resolve(!0);var e="number"==typeof this.tcfApiWaitMs?this.tcfApiWaitMs:750;if(e<=0)return Promise.resolve(!1);var t=0;return new Promise((function(n){setTimeout((function r(){window.__tcfapi?n(!0):(t+=25)>=e?n(!1):setTimeout(r,25)}),25)}))},waitForTCData:function(){var e=this;return window.__tcfapi?new Promise((function(t,n){window.__tcfapi("addEventListener",2,(function(r,i){if(i&&r){if(!r.gdprApplies)return e.logger.log("GDPR does not apply"),void t(!0);"useractioncomplete"!==r.eventStatus&&"tcloaded"!==r.eventStatus||(r.purpose.consents[1]||r.purpose.legitimateInterests[1]?(e.logger.log("GDPR consent granted"),t(!0)):(console.warn("Consent not granted."),n(new Error("Purpose not allowed"))))}}))})):Promise.resolve(!1)},insertCMPScripts:function(){var e=this;return this.logger.log("Inserting CMP scripts"),Promise.all(["https://cmp.gatekeeperconsent.com/min.js","https://the.gatekeeperconsent.com/cmp.min.js"].map((function(t){return new Promise((function(n,r){var i=document.createElement("script");i.src=t,i.dataset.cfasync="false",!0===window.ezGppSuppressBanner&&(i.dataset.ezGppSuppressBanner="true"),i.async=!1,i.onload=function(){e.logger.log("Loaded script: ".concat(t)),n()},i.onerror=function(){e.logger.error("Failed to load script: ".concat(t)),r(new Error("Failed to load ".concat(t)))},document.head.appendChild(i)}))})))},enableConsent:function(){this.manageConsent=!0},setCookie:function(e,t,n){var r=new Date;r.setTime(r.getTime()+60*n*60*1e3);var i=e+"="+t+"; expires="+r.toGMTString()+"; path=/";""!=this.get_ez_domain()&&(i=i+"; domain=."+this.ezdomain),document.cookie=i},getCookie:function(e){for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var i=n[r];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return""},syncCookies:function(){var e,t="http:";"https:"==document.location.protocol&&(t=document.location.protocol);var n=t+"//g.ezoic.net/ezoic/gc.php?rdp="+(this.restrictedDataProcessing?"1":"0");e=this.getCORS("GET",n);var r=this;e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){var t=e.responseText,n=JSON.parse(t);for(var i in n){var o;o=void 0===n[i]?"":n[i],r.setCookie(i,o,r.cookieExp(i))}}},e.send()},cookieExp:function(e){return 0===e.indexOf("ezoawesome")||0===e.indexOf("ezouid")?730:2},hasAnchorAdBeenClosed:function(){var e="ez_anchor_closed",t=this.getCookie(e);return""!==t&&(this.setCookie(e,t,2),"true"===t)},setDisablePersonalizedStatistics:function(e){this.disablePersonalizedStatistics=e},setDisablePersonalizedAds:function(e){this.disablePersonalizedAds=e},getLocalIdentity:function(){try{var e=JSON.parse(localStorage.getItem("ez_idgraph"));if(e&&e.ts&&Date.now()-e.ts<36e5)return e}catch(e){}return null},_registerSecureSignal:function(e,t){function n(){window.googletag=window.googletag||{cmd:[]},window.googletag.secureSignalProviders=window.googletag.secureSignalProviders||[],window.googletag.secureSignalProviders.push({id:e,collectorFunction:function(){return window.__ez&&!0===window.__ez.disableAdxEmailIdentitySignals?Promise.resolve(""):Promise.resolve(t)}})}t&&(window.__ez&&!0===window.__ez.disableAdxEmailIdentitySignals||("function"==typeof window.__tcfapi?window.__tcfapi("addEventListener",2,(function(e,t){t&&e&&("tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus)&&(!e.gdprApplies||e.purpose&&e.purpose.consents&&e.purpose.consents[1])&&n()})):n()))},applyLocalIdentity:function(){if(window.__ez&&!0===window.__ez.identityGraphOptedOut||"optout"===this._gppConsentStatus||"optout"===this._legacyUSPConsentStatus){try{localStorage.removeItem("ez_idgraph"),localStorage.removeItem("ezoid")}catch(e){}return this._identityCacheApplied=!1,!1}if(this.backupRestoreEzoid(),!this._gppConsentStatus||!this._legacyUSPConsentStatus)return!1;var e=this.getLocalIdentity();return!!e&&(e.clusterId&&(window.ez__clusterId=e.clusterId),e.uid2&&(window.ez__enrichedUid2=e.uid2,this._registerSecureSignal("uidapi.com",e.uid2)),e.euid&&(window.ez__enrichedEuid=e.euid,this._registerSecureSignal("euid.eu",e.euid)),e.liveRamp&&(window.ez__enrichedLiveRamp=e.liveRamp,this._registerSecureSignal("liveramp.com",e.liveRamp)),e.id5&&(window.ez__enrichedId5=e.id5,this._registerSecureSignal("id5-sync.com",e.id5)),e.hem&&(window.ez__clusterHem=e.hem),(e.uid2||e.euid||e.liveRamp||e.id5)&&(window.ez__identityGraphEnriched=!0),e.clusterId&&(document.cookie="ezppid_ck="+e.clusterId+"; path=/; max-age=23328000; secure; samesite=strict"),this._identityCacheApplied=!0,!0)},backupRestoreEzoid:function(){var e=this.getCookie("ezoid");try{if(e)return void(localStorage.getItem("ezoid")!==e&&localStorage.setItem("ezoid",e));var t=localStorage.getItem("ezoid");t&&vl.test(t)&&(document.cookie="ezoid="+t+"; path=/; max-age=31536000; secure; samesite=none")}catch(e){}},loadFingerprint:function(){if(this._fpjsPromise)return this._fpjsPromise;if(this.getCookie("ezoid"))return this._fpjsPromise=Promise.resolve(null),this._fpjsPromise;var e=this;return this._fpjsPromise=new Promise((function(t){if(e._fpjsResult)t(e._fpjsResult);else{var n=document.createElement("script");n.src="https://www.ezojs.com/detroitchicago/columbus.js",n.onload=function(){try{if("undefined"==typeof FingerprintJS||!FingerprintJS||"function"!=typeof FingerprintJS.load)return void t(null);FingerprintJS.load().then((function(e){return e.get()})).then((function(n){e._fpjsResult=n,t(n)})).catch((function(){t(null)}))}catch(e){t(null)}},n.onerror=function(){t(null)},document.head.appendChild(n)}})),this._fpjsPromise},collectFingerprint:function(e){var t={};try{t.pr=window.devicePixelRatio||0,t.hc=navigator.hardwareConcurrency||0,t.dm=navigator.deviceMemory||0;var n=document.createElement("canvas"),r=n.getContext("2d");r&&(r.textBaseline="top",r.font="14px 'Arial'",r.fillStyle="#f60",r.fillRect(125,1,62,20),r.fillStyle="#069",r.fillText("Ezoic fp",2,15),r.fillStyle="rgba(102, 204, 0, 0.7)",r.fillText("Ezoic fp",4,17),t.ch=n.toDataURL().length.toString());var i=n.getContext("webgl")||n.getContext("experimental-webgl");if(i){var o=i.getExtension("WEBGL_debug_renderer_info");o&&(t.wr=i.getParameter(o.UNMASKED_RENDERER_WEBGL)||"",t.wv=i.getParameter(o.UNMASKED_VENDOR_WEBGL)||"")}try{var a=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,44100,44100);a&&a.createOscillator&&(t.af="")}catch(e){t.af=""}if(e&&e.components){var l=e.components;l.canvas&&l.canvas.value&&l.canvas.value.text&&(t.ch=l.canvas.value.text),l.webGlBasics&&l.webGlBasics.value&&(t.wr=l.webGlBasics.value.rendererUnmasked||l.webGlBasics.value.renderer||t.wr||"",t.wv=l.webGlBasics.value.vendorUnmasked||l.webGlBasics.value.vendor||t.wv||""),l.audio&&void 0!==l.audio.value&&(t.af=String(l.audio.value)),l.hardwareConcurrency&&l.hardwareConcurrency.value&&(t.hc=l.hardwareConcurrency.value),l.fonts&&l.fonts.value&&(t.ft=l.fonts.value.join(","))}}catch(e){}return t},showOneTap:function(){return!(!window.ezgoogleOneTap||"function"!=typeof window.ezgoogleOneTap.showPrompt)&&window.ezgoogleOneTap.showPrompt()},listenForGPPConsent:function(){var e=this,t=0;!function n(){if("function"==typeof window.__gpp)try{window.__gpp("addEventListener",(function(t,n){if(n&&t){var r=t.pingData||t;r.signalStatus&&"ready"!==r.signalStatus||(bl(e,"_gppConsentStatus",function(e){var t=e.parsedSections||{},n=!1;for(var r in t)if(0===r.indexOf("us")){n=!0;break}if(!n)return"na";function i(e){return!0===e||1===e||"1"===e||"Y"===e||"y"===e}for(var o in t)if(0===o.indexOf("us")){var a=t[o],l=i(a.SaleOptOut)||i(a.saleOptOut)||i(a.DoNotSell),s=i(a.SharingOptOut)||i(a.sharingOptOut)||i(a.DoNotShare),c=i(a.TargetedAdvertisingOptOut)||i(a.targetedAdvertisingOptOut),d=i(a.Gpc)||i(a.GPC);if(l||s||c||d)return"optout"}return"consent"}(r)),i=function(){e._fireGPPPageviewEvent(),"na"===e._gppConsentStatus&&function(e){var t=0;!function n(){if(void 0!==window.__ez&&window.__ez.ce&&"function"==typeof window.__ez.ce.AddPageviewEvent){var r=(e.sectionList||[]).join(",")||"empty";window.__ez.ce.AddPageviewEvent("gpp_na_section_list",r);var i=Object.keys(e.parsedSections||{}).join(",")||"empty";window.__ez.ce.AddPageviewEvent("gpp_na_parsed_keys",i);var o=e.gppString&&e.gppString.length>0?"1":"0";window.__ez.ce.AddPageviewEvent("gpp_na_has_string",o);var a=e.cmpStatus||"unknown";window.__ez.ce.AddPageviewEvent("gpp_na_cmp_status",a)}else t++<50&&setTimeout(n,200)}()}(r)},o=0,function e(){wl()?i():("undefined"==typeof _ezaq||!_ezaq.domain_id)&&o++<20&&setTimeout(e,300)}(),"optout"===e._gppConsentStatus&&(zl(),setTimeout(Sl,3e3)))}var i,o}))}catch(e){}else t++<50?setTimeout(n,100):bl(e,"_gppConsentStatus","na")}()},listenForLegacyUSPConsent:function(){var e=this,t=0;!function n(){if("function"==typeof window.__uspapi)try{window.__uspapi("getUSPData",1,(function(t,n){n&&t&&t.uspString?function(e){if("string"!=typeof e||e.length<3)return!1;var t=e.charAt(2);return"Y"===t||"y"===t}(t.uspString)?(bl(e,"_legacyUSPConsentStatus","optout"),zl(),setTimeout(Sl,3e3)):bl(e,"_legacyUSPConsentStatus","consent"):bl(e,"_legacyUSPConsentStatus","na")}))}catch(e){}else t++<50?setTimeout(n,100):bl(e,"_legacyUSPConsentStatus","na")}()},_fireGPPPageviewEvent:function(){if(this._gppConsentStatus&&wl()){var e=this._gppConsentStatus,t=0;!function n(){void 0!==window.__ez&&window.__ez.ce&&"function"==typeof window.__ez.ce.AddPageviewEvent?window.__ez.ce.AddPageviewEvent("gpp_consent_status",e):t++<50&&setTimeout(n,200)}()}},setWC:function(e){this.pageUtil.setWordCount(e)},getWC:function(e){return this.pageUtil.getWordCount(e)},get_ez_domain:function(){if(null==this.ezdomain){if("undefined"!=typeof ezdomain)return this.ezdomain=ezdomain,this.ezdomain;var e=document.evaluate("//script[contains(text(), 'ezdomain')]",document.documentElement).iterateNext();if(e){var t=e.innerHTML.match(/ezdomain\s*=\s*['"]([^'"]*)['"]\s*;/);t&&(this.ezdomain=t[1])}return null==this.ezdomain&&(this.ezdomain=""),this.ezdomain}return"undefined"!=typeof ezdomain&&this.ezdomain!==ezdomain&&(this.ezdomain=ezdomain),this.ezdomain},getDeviceWidth:function(){return 0!=this.deviceWidth||(this.deviceWidth=document.documentElement.clientWidth||window.innerWidth),this.deviceWidth},getDeviceHeight:function(){return window.screen.height||0},getViewportWidth:function(){return window.innerWidth||document.documentElement.clientWidth||0},getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||0},getDocHeight:function(){return Math.max(document.body&&document.body.scrollHeight||0,document.documentElement&&document.documentElement.scrollHeight||0,document.body&&document.body.offsetHeight||0,document.documentElement&&document.documentElement.offsetHeight||0,document.body&&document.body.clientHeight||0,document.documentElement&&document.documentElement.clientHeight||0)},getScriptsLoadedStatus:function(){return!!this.scriptsLoaded||!!("undefined"!=typeof _ezaq&&Object.getOwnPropertyNames(_ezaq).length>0&&"undefined"!=typeof _ezim_d&&this.googleExists())&&(this.scriptsLoaded=!0,!0)},googleExists:function(){return void 0!==window.googletag&&!(Object.keys(window.googletag).length<=1)},getStandaloneAnalyticsLoadedStatus:function(){var e=El.call(this);return(!this._pageViewId||!e||this._pageViewId===e)&&(!!this.standaloneAnalyticsLoaded||("undefined"!=typeof ezanalytics&&ezanalytics.analyticsFired()||!(!e||this._pageViewId&&this._pageViewId!==e||!this.getPagelevelScriptsLoadedStatus()||this.getDisplayScriptsLoadedStatus()))&&(this.standaloneAnalyticsLoaded=!0,!0))},updateAllScriptsStatus:function(){this.getPagelevelScriptsLoadedStatus(),this.getDisplayScriptsLoadedStatus(),this.getVideoScriptsLoadedStatus(),this.getOutstreamScriptsLoadedStatus(),this.getAdsenseScriptsLoadedStatus()},getPagelevelScriptsLoadedStatus:function(){return!!this.analyticsLoaded.page||(void 0!==window._ezaq&&Object.getOwnPropertyNames(window._ezaq).length>0||!!Array.from(document.scripts).some((function(e){return e.src&&e.src.includes("ezoicanalytics.com/analytics.js")})))&&(this.analyticsLoaded.page=!0,!0)},getDisplayScriptsLoadedStatus:function(){return!!this.analyticsLoaded.display||!!("undefined"!=typeof _ezaq&&Object.getOwnPropertyNames(_ezaq).length>0&&"undefined"!=typeof __ez&&void 0!==__ez.orca&&"undefined"!=typeof _ezim_d&&this.googleExists())&&(this.analyticsLoaded.display=!0,!0)},getVideoScriptsLoadedStatus:function(){return!!this.analyticsLoaded.video||"undefined"!=typeof _ezaq&&Object.getOwnPropertyNames(_ezaq).length>0&&(void 0!==window.ezvideo||void 0!==window.cnx)&&(this.analyticsLoaded.video=!0,!0)},getOutstreamScriptsLoadedStatus:function(){return!!this.analyticsLoaded.outstream||!(void 0===window.__cnxiid&&void 0===window.cnx&&!window.__ezOutstream||(this.analyticsLoaded.outstream=!0,0))},getAdsenseScriptsLoadedStatus:function(){return!!this.analyticsLoaded.adsense||(this.analyticsLoaded.adsense=this.pageUtil.getAdsenseLoaded(),this.analyticsLoaded.adsense)},getMaxSlotNumber:function(){return-1},getCurrentAdUnits:function(){var e=[];if("undefined"!=typeof ezOrca){for(var t=0;t<window.ezOrca.slots.length;t++)if(l=window.ezOrca.slots[t].raw.dfpsn){var n=l.indexOf("/"),r=l.indexOf("/",n+1),i=-1!==r?l.slice(r+1):l,o=i.indexOf("-"),a=-1!==o?i.slice(o+1):i;e.push(a)}return e}if(void 0===window.ez_ad_units||!Array.isArray(window.ez_ad_units))return null;for(t=0;t<window.ez_ad_units.length;t++){var l,s=(l=window.ez_ad_units[t][1]).indexOf("-")+1;a=l.slice(s),e.push(a)}return e},runLoadingStatusEventQueue:function(){for(;this.loadingStatusTimeoutEventQueue.length>0;)this.loadingStatusTimeoutEventQueue.shift()()},processEventQueue:function(){var e=this;if(this.getPagelevelScriptsLoadedStatus()&&0!==this.eventQueue.length&&!this.isDestroyingSlots&&!this.isRefreshing&&("complete"===document.readyState||"interactive"===document.readyState)&&"LOADING"!==this.loadingStatus&&"LOADING"!==this.loadMoreStatus){var t=this.eventQueue.shift();"function"==typeof t&&t(),this.eventQueue.length>0&&setTimeout((function(){return e.processEventQueue()}),0)}},queueEvent:function(e){this.eventQueue.push(e),this.processEventQueue()},getSlotsFromPlaceholderId:function(e){if("undefined"!=typeof ez_ad_units){var t=[],n=ez_ad_units.filter((function(t){return t.length>=4&&e===t[3]})),r=this;return n.forEach((function(e){var n=e[2];if(void 0!==window[n]){var i=window[n].getSlotElementId();t.push(i)}else r.logger.error("Slot "+n+" is undefined.")})),t}this.logger.error("Cannot get slot from placeholder if ez_ad_unit not defined")},fireEvent:function(e,t){var n;"createEvent"in document?((n=document.createEvent("HTMLEvents")).initEvent(t,!1,!0),e.dispatchEvent(n)):((n=document.createEventObject()).eventType=t,e.fireEvent("on"+n.eventType,n))},getQueryParam:function(e){return new URL(document.location).searchParams.get(e)},appendBsclidToUrl:function(e){if(!this.bsclid||/[?&]bsclid=/.test(e))return e;var t=e.indexOf("#"),n=-1===t?e:e.slice(0,t),r=-1===t?"":e.slice(t);return(n+=(-1===n.indexOf("?")?"?":"&")+"bsclid="+encodeURIComponent(this.bsclid))+r},hasQueryParamOrCookie:function(e){var t=this.getQueryParam(e);return"1"===t?(this.setCookie(e,"1",1),!0):"0"==t?(this.setCookie(e,"0",0),!1):"1"===this.getCookie(e)},getCORS:function(e,t){var n;window.XMLHttpRequest?void 0!==(n=new XMLHttpRequest).withCredentials?n.open("GET",t,!0):"undefined"!=typeof XDomainRequest&&(n=new XDomainRequest).open("GET",t):(n=new ActiveXObject("Microsoft.XMLHTTP")).open("GET",t);try{n.withCredentials=!0}catch(e){}return n},logScriptError:function(e,t){this.logger.error("script: "+e+" failed. Error: ",t)}};try{var Ql=Yl.getQueryParam("bsclid");Ql&&(Yl.bsclid=Ql)}catch(e){}var Kl=Yl;function Xl(e){return Xl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xl(e)}var Zl={3:!0,5:!0,7:!0};function es(e){try{if(e._ezaq&&void 0!==e._ezaq.form_factor_id){var t=parseInt(e._ezaq.form_factor_id,10);if(!isNaN(t)&&t>0)return t}}catch(e){}return(e.innerWidth||0)<768?2:1}function ts(e,t,n){var r=function(e){var t=es(e);return 2===t?"mobile":Zl[t]?"tablet":"desktop"}(t);function i(e){if("object"!==Xl(e)||null===e||Array.isArray(e)||void 0===e.devices)return!0;var t=e.devices;return Array.isArray(t)&&0!==t.length?function(e,t){for(var n=0;n<e.length;n++){var r=String(e[n]).toLowerCase();if("phone"===r&&(r="mobile"),r===t)return!0}return!1}(t,r)?(delete e.devices,!0):(n&&n.log("showAds: placement skipped on "+r+" (devices: "+t.join(",")+")"),!1):(n&&n.warn("showAds: devices must be a non-empty array — ignoring"),delete e.devices,!0)}for(var o=[],a=0;a<e.length;a++){var l=e[a];if(Array.isArray(l)){for(var s=[],c=0;c<l.length;c++)i(l[c])&&s.push(l[c]);s.length>0&&o.push(s)}else i(l)&&o.push(l)}return o}function ns(e,t,n){return void 0!==e[t]?e[t]:e[n]}function rs(e,t){if("object"!==Xl(e)||null===e)return e;var n=ns(e,"mobile_sizes","mobileSizes"),r=ns(e,"desktop_sizes","desktopSizes"),i=ns(e,"tablet_sizes","tabletSizes");if(void 0===n&&void 0===r&&void 0===i)return e;var o,a=es(t);return null!=(o=2===a?n:Zl[a]&&void 0!==i?i:r)&&(e.sizes=o),delete e.mobile_sizes,delete e.mobileSizes,delete e.desktop_sizes,delete e.desktopSizes,delete e.tablet_sizes,delete e.tabletSizes,e}var is="data-ez-idless-host";function os(e){return"string"==typeof e&&e.trim().length>0&&!/^[\d\s,]+$/.test(e)}function as(e){for(var t=0;t<e.length;t++)if(os(e[t]))return!0;return!1}function ls(e,t){if("function"==typeof e.getAttribute){var n=e.getAttribute("data-"+t);return null==n&&t.indexOf("_")>=0&&(n=e.getAttribute("data-"+t.replace(/_/g,"-"))),null==n?void 0:String(n)}}function ss(e){if("string"==typeof e){for(var t=e.split(","),n=[],r=0;r<t.length;r++){var i=t[r].trim();i&&n.push(i)}return n.length>0?n:void 0}}function cs(e){if("string"==typeof e){var t=e.trim().toLowerCase();return""===t||"true"===t||"1"===t||"false"!==t&&"0"!==t&&void 0}}function ds(e){for(var t={anchor:e,into:!0},n=["sizes","mobile_sizes","desktop_sizes","tablet_sizes","devices"],r=0;r<n.length;r++){var i=ss(ls(e,n[r]));i&&(t[n[r]]=i)}var o=cs(ls(e,"fluid"));"boolean"==typeof o&&(t.fluid=o);var a=cs(ls(e,"required"));"boolean"==typeof a&&(t.required=a);var l=ls(e,"location");return l&&(t.location=l),t}function us(e,t,n){for(var r=[],i=0;i<e.length;i++){var o=e[i];if(os(o)){var a;try{a=t.querySelectorAll(o)}catch(e){n&&n.warn("showAds: invalid selector '"+o+"' — skipping");continue}for(var l=0,s=0;s<a.length;s++){var c=a[s];"function"==typeof c.getAttribute&&c.getAttribute(is)||("function"==typeof c.setAttribute&&c.setAttribute(is,"1"),r.push(ds(c)),l++)}0===l&&n&&n.log("showAds: selector '"+o+"' matched no new elements")}else r.push(o)}return r}function fs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ps(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,i)}function hs(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){ps(o,r,i,a,l,"next",e)}function l(e){ps(o,r,i,a,l,"throw",e)}a(void 0)}))}}function gs(e){return gs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gs(e)}window.__ezStandaloneMessageListenerAdded||(window.__ezStandaloneMessageListenerAdded=!0,window.addEventListener("message",(function(e){if(e.data&&"object"===gs(e.data))if("ezoic_backfill_ad"===e.data.type&&"LoadFallbackAd"===e.data.method){if(window.ezstandalone=window.ezstandalone||{},window.ezstandalone.cmd=window.ezstandalone.cmd||[],1!=window.ezstandalone.enabled&&1!=window.ezstandalonestartenabled&&(window.ezstandalonestartenabled=!0,window.ezstandalone.enable(),window.ezstandalone.display()),"undefined"==typeof __ez||void 0===__ez.orca||void 0===__ez.orca.cmd)return void setTimeout((function(){e.data.attempts=(e.data.attempts||0)+1,window.postMessage(e.data,"*")}),100);__ez.orca.cmd.push((function(){__ez.orca.loadBackfill(e.data.data.ezoicPlaceholderId,e.data.data.adUnit)}))}else if(e.data&&"EzQubitLoader"===e.data.type&&(e.data.id||e.data.did))try{var t=!!e.data.id,n=t?"id":"did",r=t?e.data.id:e.data.did;console.log("Received EzQubitLoader message with ".concat(n,":"),r),encodeURIComponent(window.location.href);var i;i=void 0!==window._ezaq&&void 0!==window._ezaq.form_factor_id?2==window._ezaq.form_factor_id:window.innerWidth<768;var o="test=1&";e.data.live&&(o="",window.ezstandalone&&"function"==typeof window.ezstandalone.destroyAll&&(console.log("Destroying all ezstandalone ads"),window.ezstandalone.destroyAll()));var a=document.createElement("script");a.src="https://go.ezodn.com/porpoiseant/qubit.js?".concat(o).concat(n,"=").concat(r,"&isMobile=").concat(i),a.type="text/javascript",a.async=!0,a.onerror=function(t){var n={type:"EzQubitError",error:{message:"Failed to load qubit.js script",event:"script.onerror",src:a.src}};e.data.id&&(n.id=e.data.id),e.data.did&&(n.did=e.data.did),window.postMessage(n,"*"),console.error("Error loading qubit script:",n)};var l=window.onerror;window.onerror=function(t,n,r,i,o){if(n&&n.includes("qubit.js")){var a={type:"EzQubitError",error:{message:t,source:n,lineno:r,colno:i,stack:o&&o.stack}};e.data.id&&(a.id=e.data.id),e.data.did&&(a.did=e.data.did),window.postMessage(a,"*"),console.error("Runtime error in qubit script:",a)}return"function"==typeof l&&l(t,n,r,i,o)},document.head.appendChild(a)}catch(t){var s={type:"EzQubitError",error:{message:t.message,stack:t.stack}};e.data.id&&(s.id=e.data.id),e.data.did&&(s.did=e.data.did),window.postMessage(s,"*"),console.error("Exception while setting up qubit script:",t)}})));var ms,vs,ys,ws={enabled:!1,initialized:!1,_gppConsentStatus:null,_legacyUSPConsentStatus:null,cmd:{push:function(e){Kl.cmd.push(e)}},cbs:{push:function(e){Kl.cbs.push(e)}},idToLocation:{900:"top_of_page",901:"under_page_title",902:"bottom_of_page",903:"sidebar",904:"sidebar_middle",905:"sidebar_middle",906:"sidebar_middle",907:"sidebar_bottom",908:"sidebar_floating_1",909:"under_first_paragraph",910:"under_second_paragraph",911:"mid_content",912:"long_content",913:"longer_content",914:"longest_content",915:"incontent_5",916:"incontent_6",917:"incontent_7",918:"incontent_8",919:"incontent_9",920:"incontent_10",921:"incontent_11",922:"incontent_12",923:"incontent_13",924:"incontent_14",925:"incontent_15",926:"incontent_16",927:"incontent_17",928:"incontent_18",929:"incontent_19",930:"incontent_20",931:"incontent_21",932:"incontent_22",933:"incontent_23",934:"incontent_24",935:"incontent_25",936:"incontent_26",937:"incontent_27",938:"incontent_28",939:"incontent_29",940:"incontent_30",941:"incontent_31",942:"incontent_32",943:"incontent_33",944:"incontent_34",945:"incontent_35",946:"incontent_36",947:"incontent_37",948:"incontent_38",949:"incontent_39",950:"incontent_40",951:"incontent_41",952:"incontent_42",953:"incontent_43",954:"incontent_44",955:"incontent_45",956:"incontent_46",957:"incontent_47",958:"incontent_48",959:"incontent_49",960:"incontent_50",962:"incontent_51",963:"incontent_52",964:"incontent_53",965:"incontent_54",966:"incontent_55",967:"incontent_56",968:"incontent_57",969:"incontent_58",970:"incontent_59",971:"incontent_60",972:"incontent_61",973:"incontent_62",974:"incontent_63",975:"incontent_64",976:"incontent_65",977:"incontent_66",978:"incontent_67",979:"incontent_68",980:"incontent_69",981:"incontent_70",982:"incontent_71",983:"incontent_72",984:"incontent_73",985:"incontent_74",986:"incontent_75",987:"incontent_76",988:"incontent_77",989:"incontent_78",990:"incontent_79",991:"incontent_80",992:"incontent_81",993:"incontent_82",994:"incontent_83",995:"incontent_84",996:"incontent_85",997:"incontent_86",998:"incontent_87",999:"incontent_88"},idAliases:{incontent_0:"under_second_paragraph",incontent_1:"mid_content",incontent_2:"long_content",incontent_3:"longer_content",incontent_4:"longest_content",sidebar_floating:"sidebar_floating_1",sidebar_floating_2:"sidebar_middle",sidebar_floating_3:"sidebar_bottom"},CleanupGhostPlaceholdersOrca:(ys=hs(regeneratorRuntime.mark((function e(){var t,n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[],n=0;case 2:if(!(n<ezOrca.slots.length)){e.next=9;break}if(ezOrca.slots[n].raw){e.next=5;break}return e.abrupt("continue",6);case 5:t.push(ezOrca.slots[n].raw);case 6:n++,e.next=2;break;case 9:r=document.querySelectorAll('[data-method="ai-placeholders"], [data-method="placement-service"], [data-inserter-version]'),i=0,r.forEach((function(e){var n=e.id.match(/ezoic-pub-ad-placeholder-(\d+)/);if(n){var r=parseInt(n[1],10);t.some((function(e){var t=parseInt(e.ap,10);return!isNaN(t)&&t%1e3===r}))||(e.remove(),i++)}})),i>0&&console.log("qubit: Cleaned up ".concat(i," ghost placeholder(s)"));case 13:case"end":return e.stop()}}),e)}))),function(){return ys.apply(this,arguments)}),CleanupGhostPlaceholders:(vs=hs(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.CleanupGhostPlaceholdersOrca());case 1:case"end":return e.stop()}}),e,this)}))),function(){return vs.apply(this,arguments)}),waitForPlacementService:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:40,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return new Promise((function(n){var r=0,i=setInterval((function(){document.querySelector('[data-method="placement-service"]')&&window.ezFinishedStatic&&(clearInterval(i),n(!0)),++r>=e&&(clearInterval(i),n(!1))}),t)}))},GetGeneratedIdAsync:(ms=hs(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!document.querySelector('[data-method="placement-service"]')||window.ezFinishedStatic){e.next=9;break}return e.prev=1,e.next=4,this.waitForPlacementService();case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.warn("waitForPlacementService threw:",e.t0);case 9:return e.abrupt("return",this.GetGeneratedId(t));case 10:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(e){return ms.apply(this,arguments)}),GetGeneratedId:function(e){var t=window.ezstandalone;if(e||(e="unknown_location"),!t.idToLocation)return 945;t.idAliases&&t.idAliases[e]&&(e=t.idAliases[e]);var n=function(e){var t=document.getElementById("ezoic-pub-ad-placeholder-"+e);return!t||(0===t.offsetHeight&&t.innerHTML.trim(),!1)},r=Object.keys(t.idToLocation).find((function(n){return t.idToLocation[n]===e}));if(r&&n(r))return r;for(var i=e.toLowerCase().includes("sidebar"),o=Object.keys(t.idToLocation).map(Number).sort((function(e,t){return e-t})),a=0;a<o.length;a++){var l=o[a],s=t.idToLocation[l];if(n(l))if(i){if(s&&s.toLowerCase().includes("sidebar"))return l}else if(s&&s.startsWith("incontent_"))return l}var c,d=Math.max.apply(Math,function(e){if(Array.isArray(e))return fs(e)}(c=o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||function(e,t){if(e){if("string"==typeof e)return fs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fs(e,t):void 0}}(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())+1,u=e;return i||e.startsWith("incontent_")||"bottom_of_page"===e||(u="incontent_dynamic_"+d),t.idToLocation[d]=u,console.log("[God Mode] Created new ID: ".concat(d," for ").concat(e)),d},init:function(){if(void 0!==window.ezstandalone&&Object.prototype.hasOwnProperty.call(window.ezstandalone,"initialized")&&window.ezstandalone.initialized)return console.warn("ezstandalone has already been initialized"),void Kl.logger.error("ezstandalone has already been initialized");window.ezstandalone=this,Kl.init(),this.initialized=!0},config:function(e){Kl.config(e)},define:function(){Kl.define.apply(Kl,arguments)},defineVideo:function(){Kl.defineVideo.apply(Kl,arguments)},findAll:function(){Kl.findAll()},display:function(){Kl.display()},enable:function(){this.enabled=!0,Kl.enable()},displayMore:function(){var e=Cr(arguments);if(0===e.length)return console.error("must pass in placeholder Ids to displayMore"),void Kl.logger.error("must pass in placeholder Ids to displayMore");var t=arguments.length>1?arguments[arguments.length-1]:void 0,n="string"!=typeof t||Number.isInteger(parseInt(t,10))?void 0:t;Kl.displayMore(e,n)},displayMoreVideo:function(){Kl.displayMoreVideo.apply(Kl,arguments)},initScrollRail:function(){return Kl.initScrollRail()},showAds:function(){var e=Array.from(arguments);if(0!==e.length||(e=Kl.getAllAvailablePlaceholdersOnPage(),"loading"!==document.readyState)){if(as(e)){if("loading"===document.readyState)return void document.addEventListener("readystatechange",(function t(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",t,!1),window.ezstandalone.showAds.apply(window.ezstandalone,e))}),!1);if(0===(e=us(e,document,Kl.logger)).length)return}if(!(e.length>0&&0===(e=ts(e,window,Kl.logger)).length)){if(fa(e)){if(ga(e,document.currentScript),"loading"===document.readyState)return void document.addEventListener("readystatechange",(function t(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",t,!1),window.ezstandalone.showAds.apply(window.ezstandalone,e))}),!1);var t=window.ezstandalone||this,n={doc:document,win:window,getId:t.GetGeneratedId.bind(t),destroy:t.destroyPlaceholders.bind(t),clearIdState:function(e){delete Kl.placeholderSizes[e],delete Kl.flyingCarpetPositions[e]},idAliases:t.idAliases,logger:Kl.logger};if(pa(document,window)&&"function"==typeof t.waitForPlacementService)return void t.waitForPlacementService().then((function(){window.ezstandalone.showAds.apply(window.ezstandalone,Ma(e,n))}));e=Ma(e,n)}var r=ja(e,Kl.logger);null!==r&&(Kl.flyingCarpetPositions[r]=!0);var i=[];e.forEach((function(e){Array.isArray(e)?e.forEach((function(e){return Kl.processPlaceholderItem(e,i)})):Kl.processPlaceholderItem(e,i)})),i.forEach((function(e){rs(e,window),e.required=e.required||!1;var t=Array.isArray(e.sizes)?e.sizes:e.sizes?[e.sizes]:[];e.sizes=t.filter((function(t){var n=/^\d+x\d+$/.test(t);return n||Kl.logger.warn("Invalid Size: ".concat(t," for showAds() Id: ").concat(e.id," - Skipping")),n}))})),Kl.showAdsWithDebounce(i)}}else document.addEventListener("readystatechange",(function e(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",e,!1),window.ezstandalone.showAds())}),!1)},refreshAds:function(){var e=Cr(arguments);if(0===e.length)return console.error("must pass in placeholder Ids to refreshAds"),void Kl.logger.error("must pass in placeholder Ids to refreshAds");Kl.refreshAds(e)},refresh:function(){Kl.refresh()},setEzoicAnchorAd:function(e){Kl.setEzoicAnchorAd(e)},hasAnchorAdBeenClosed:function(){return Kl.hasAnchorAdBeenClosed()},destroyAll:function(){Kl.destroyAll()},destroyPlaceholders:function(){Kl.destroyPlaceholders.apply(Kl,arguments)},destroyVideoPlaceholders:function(){Kl.destroyVideoPlaceholders.apply(Kl,arguments)},hasAnalyticsLoaded:function(){return Kl.getStandaloneAnalyticsLoadedStatus()},setDisablePersonalizedStatistics:function(e){Kl.setDisablePersonalizedStatistics(e)},setDisablePersonalizedAds:function(e){Kl.setDisablePersonalizedAds(e)},isEzoicUser:function(e,t){return Kl.isEzoicUser(e,t)},newPage:function(){Kl.newPage()},setIsPWA:function(){Kl.setIsPWA()},setIsSinglePageApplication:function(e){Kl.setIsSinglePageApplication(e)},setDisableUrlChangeDetection:function(e){Kl.setDisableUrlChangeDetection(e)},setAutoRefresh:function(e){Kl.setAutoRefresh(e)},fireEvent:function(e,t){Kl.fireEvent(e,t)},enableConsent:function(){Kl.enableConsent()},getSelectedPlaceholders:function(){return Kl.selectedPlaceholders},initRewardedAds:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{anchor:!0,interstitial:!0,video:!0,sideRails:!0};Kl.initRewardedAds(e)},getBackfillVAST:function(e){return e&&e.plcmt<=2?Kl.getEzInstreamObject():Kl.getEzOutstreamObject(),Kl.getBackfillVAST(e)},setOutstreamAllowed:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Kl.setOutstreamAllowed(e,t)},isOutstreamAllowed:function(){return Kl.isOutstreamAllowed()},showOneTap:function(){return Kl.showOneTap()},setInterstitialAllowed:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Kl.setInterstitialAllowed(e,t)},isInterstitialAllowed:function(){return Kl.isInterstitialAllowed()}};"undefined"!=typeof runEzoicStandalone&&!0!==runEzoicStandalone||ws.init()}()}();} catch(err) {var hREED = function(er) {return function() {reportEzError(er, "sa.min.js")}}; typeof reportEzError==="function"?reportEzError(err, "sa.min.js"):window.addEventListener('reportEzErrorDefined',hREED(err), {once: true}); console.error(err);} |